Hard-boiled or noir, or both?
Given this definition of hard-boiled from Encyclopedia Britannica: Hard-boiled fiction, a tough, unsentimental style of American crime writing that brought a new tone of earthy realism or naturalism to the field of detective fiction. Hard-boiled fiction used graphic sex and violence, vivid but often sordid urban backgrounds, and fast-paced, slangy dialogue.
And this definition of noir fiction from Wikipedia: Noir fiction (or roman noir) is a subgenre of crime fiction. In this subgenre, right and wrong are not clearly defined, while the protagonists are seriously and often tragically flawed.
I'd say it fits squarely in both. But I'll let the reader decide.