1 .globl call_func 2 .def call_func; .scl 2; .type 32; .endef 3 .seh_proc call_func 4call_func: 5 subq $32, %rsp 6 .seh_stackalloc 32 7 .seh_endprologue 8 call realign_stack 9 addq $32, %rsp 10 ret 11 .seh_endproc 12 13 .globl realign_stack 14 .def realign_stack; .scl 2; .type 32; .endef 15 .seh_proc realign_stack 16realign_stack: 17 subq $32, %rsp 18 .seh_stackalloc 32 19 .seh_endprologue 20 movq %rcx, %rax 21 movl %edx, %ecx 22 call *%rax 23 addq $32, %rsp 24 ret 25 .seh_endproc 26