GPT and diabetes mellitus: Notably, duration of diabetes became statistically significant in the final model (OR = 1.119, 95% CI: 1.008–1.241, p = 0.035), while HOMA-IR (OR = 1.099, 95% CI: 1.013–1.194, p = 0.024), total protein (OR = 0.830, 95% CI: 0.737–0.934, p = 0.002), ALT (OR = 1.025, 95% CI: 1.004–1.047, p = 0.022) and ALP (OR = 0.979, 95% CI: 0.962–0.995, p = 0.011) remained significant predictors.