1 # __clone(func, stack, flags, arg, ptid, tls, ctid)
2 # a0, a1, a2, a3, a4, a5, a6
4 # syscall(SYS_clone, flags, stack, ptid, tls, ctid)
5 # a7 a0, a1, a2, a3, a4
8 .type __clone, %function
10 # Save func and arg to stack
20 li a7
, 220 # SYS_clone