Garp has more experience, likely has better physical stats and Haki mastery, and could pretty evenly fight Aokiji.
Luffy could barely tie with Kizaru, who I think we can all agree is weaker than Aokiji by both portrayal and feats.
I think Garp takes it, even if it’s just because of G5’s time limit