CD4 and tuberculosis: Higher treatment failure odds were linked to smear-negative TB, high viral load, and hypertension–diabetes comorbidity, while CD4 count and HIV treatment status showed no independent effects.