• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1.syntax unified
2.text
3.global __clone
4.hidden __clone
5.type   __clone,%function
6.cfi_startproc
7__clone:
8	stmfd sp!,{r4,r5,r6,r7}
9	.cfi_def_cfa_offset 16
10	.cfi_rel_offset r4, 0
11	.cfi_rel_offset r5, 4
12	.cfi_rel_offset r6, 8
13	.cfi_rel_offset r7, 12
14	mov r7,#120
15	mov r6,r3
16	mov r5,r0
17	mov r0,r2
18	and r1,r1,#-16
19	ldr r2,[sp,#16]
20	ldr r3,[sp,#20]
21	ldr r4,[sp,#24]
22	svc 0
23	tst r0,r0
24	beq 1f
25	ldmfd sp!,{r4,r5,r6,r7}
26	.cfi_def_cfa_offset 0
27	bx lr
28
291:	mov r0,r6
30	bl 3f
312:	mov r7,#1
32	svc 0
33	b 2b
34
353:	bx r5
36.cfi_endproc