Genetic factors, specifically the PNPLA3 genotype, combined with diabetes, play a significant role in predicting the risk of cirrhosis in patients with NAFLD.