ref: 58a13c39b7f3e6ab0bf950908e98b9f0dfb7c951
dir: /lib/thread/exit+freebsd-x64.s/
/* const thread.exit : (stacksz : std.size -> void) */ .globl thread$exit thread$exit: /* munmap(base, size) */ movq $73,%rax /* munmap */ movq %fs:0x08,%rdi /* base */ movq %fs:0x10,%rsi /* stksz */ syscall /* thr_exit(null) */ movq $431,%rax /* exit */ xorq %rdi,%rdi /* 0 */ syscall