Both PreDM and T2DM groups demonstrated significant differences in AIP and CMI values when classified according to WHR quartiles, with the AIP (p = 0.04) and CMI (p = 0.02) showing significance in the PreDM cohort, while the T2DM cohort exhibited significance in the AIP (p = 0.001) and CMI (p = 0.03). This evidence concerns the gene AIP and type 2 diabetes mellitus.