Fight can go both ways but ultimately I think Khabib will win because he has more winning opportunities.
-Mcgregor can only win by KO. However, Khabib can win by clinch, ground, or by decision if the fight goes the distance because McGregor doesn't have the stamina.
-If they fight standing up, McGregor has so many limitations because his fear of being taken down. He won't be kicking as much to keep the distance because Khabib can easily catch his kick and shoot for the takedown and mcgregor cannot throw reckless punches because Khabib can slip and go for a takedown as well. Mcgregor can only throw counter punches if Khabib ever comes close.
-Mcgregor is also going to keep his distance from khabib to avoid any takedown attempts but during the press conference, khabib said he'll put the pressure on mcgregor so imagine mcgregor being backed up to the cage. Khabib with the easy clinch, takedown, and ground and pound near the cage.
I am not underestimating mcgregors left hand and his accuracy, but if we were to analyze all the different scenarios that each fighter can win, khabib has the upperhand.