add the asm template for function return of our own version