I see Gates starting to beat madara but he ends up running out of juice.
We were told "temporary powers" and i think we are gonna see that exactly. Guy winning but him not able to keep it up.
I don't believe Gai x Kakashi x Minato team will be able to do too much to Madera BUT it will give time for at least Naruto's recovery. Obito and Naruto will fight Madera and a random asspull from Sasuke to enter the battle.
Kishi "I hinted back at the start of the series that 8 gates would make a shinobi stronger than the Hokage but I have never found the right place to let someone use the technique, and now its getting near the end of the series... whatever I will just let Guy use it to brawl against Madara for a chapter, no one gives a shit if he dies, no one really gave a shit when Neji died."