1 // __clone(func, stack, flags, arg, ptid, tls, ctid)
2 // x0, x1, w2, x3, x4, x5, x6
4 // syscall(SYS_clone, flags, stack, ptid, tls, ctid)
5 // x8, x0, x1, x2, x3, x4
9 .type __clone,%function
11 // align stack and save func,arg
20 mov x8,#220 // SYS_clone
29 mov x8,#93 // SYS_exit