Alright maybe I'm stupid but I could have sworn that more than
square(int): # @square(int)
xor eax, eax
ret
is required to perform this, what's going on?