4 %include "arch/x86_64/include/common.inc.asm"
15 [global NewTaskHeader]
42 ; Quit thread with RAX as the return code
58 ; Return RSI as the RSP value
68 mov rsp, [rsp-0x60] ; Restore RSP from the saved value
69 mov [rsp], rax ; Restore return address