.set noreorder .global __clone .hidden __clone .type __clone,@function __clone: # Save function pointer and argument pointer on new thread stack and 5,ドル 5,ドル -8 subu 5,ドル 5,ドル 16 sw 4,ドル 0(5ドル) sw 7,ドル 4(5ドル) # Shuffle (fn,sp,fl,arg,ptid,tls,ctid) to (fl,sp,ptid,tls,ctid) move 4,ドル 6ドル lw 6,ドル 16($sp) lw 7,ドル 20($sp) lw 9,ドル 24($sp) subu $sp, $sp, 16 sw 9,ドル 16($sp) li 2,ドル 4120 syscall beq 7,ドル 0,ドル 1f nop addu $sp, $sp, 16 jr $ra subu 2,ドル 0,ドル 2ドル 1: beq 2,ドル 0,ドル 1f nop addu $sp, $sp, 16 jr $ra nop 1: move $fp, 0ドル lw 25,ドル 0($sp) lw 4,ドル 4($sp) jalr 25ドル nop move 4,ドル 2ドル li 2,ドル 4001 syscall