AIP and diabetes mellitus: RCS analyses assessed the linear relationship between AIP, used as a continuous variable, and prediabetes and diabetes (Figure 1A).