There is a positive association between elevated HbA1c and ALT levels in T2DM patients with NAFLD. Here, GPT is linked to type 2 diabetes mellitus.