master
1.text
2.global __clone
3.hidden __clone
4.type __clone,@function
5__clone:
6 xor %eax,%eax
7 mov $56,%al
8 mov %rdi,%r11
9 mov %rdx,%rdi
10 mov %r8,%rdx
11 mov %r9,%r8
12 mov 8(%rsp),%r10
13 mov %r11,%r9
14 and $-16,%rsi
15 sub $8,%rsi
16 mov %rcx,(%rsi)
17 syscall
18 test %eax,%eax
19 jz 1f
20 ret
211: xor %ebp,%ebp
22 pop %rdi
23 call *%r9
24 mov %eax,%edi
25 xor %eax,%eax
26 mov $60,%al
27 syscall
28 hlt