Are you kidding? Aladdin not had his magic nullified even by thousands of beings attacking him with blows that reduce everything to vanity, including magic.
Btw, how does Asta respond to Aladdin rewriting the laws of physics and change his body's direction of movement sending him flying to the space for all eternity? Or how does he respond to having his body destroyed at the atomic level? Or be vectorly paralyzed? How does he respond to Aladdin shoving thousands of images into his mind in a single second? How would he respond to Aladdin vaporizing all the water in his body? Anti-Magic would be useless, Asta never would been able to keep up a fight against a wizard who has mastered the magics of two universes, especially when that same can process
more than 1 million information at the same time. Aladdin could do everything I mentioned above at the same time.
Just to remember that Asta would need reach Aladdin, draw his long sword from the grimoire, and then attack. Aladdin only needs to move one finger to paralyze him through the vectors in reality and then kills.