	.file	"extr_copyfast-engine-data.c_add_child.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	add_child
	.type	add_child, @function
add_child:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	edi, 48
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	zmalloc@PLT
	mov	edi, ebp
	mov	rbx, rax
	mov	rax, QWORD PTR RELATIVES[rip+40]
	mov	QWORD PTR 40[rbx], rax
	lea	rax, RELATIVES[rip]
	mov	QWORD PTR 32[rbx], rax
	mov	QWORD PTR RELATIVES[rip+40], rbx
	mov	rax, QWORD PTR 40[rbx]
	mov	QWORD PTR 32[rax], rbx
	mov	QWORD PTR 8[rbx], rbp
	sar	rbp, 32
	mov	QWORD PTR 24[rbx], 0
	call	ntohl@PLT
	xor	esi, esi
	lea	rdi, default_child[rip]
	mov	DWORD PTR default_child[rip], ebp
	mov	DWORD PTR 4[rsp], eax
	mov	DWORD PTR default_child[rip+4], eax
	call	create_target@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR host[rip]
	mov	DWORD PTR 16[rbx], eax
	call	link_color@PLT
	mov	rdx, QWORD PTR STATS[rip]
	mov	QWORD PTR [rbx], rax
	mov	rcx, QWORD PTR 8[rdx]
	add	DWORD PTR [rcx+rax*4], 1
	add	DWORD PTR [rdx], 1
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	add_child, .-add_child
	.comm	host,4,4
	.comm	default_child,8,8
	.comm	STATS,8,8
	.comm	RELATIVES,48,32
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_copyfast-engine-data.c_add_child.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	add_child
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_child, %function
add_child:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	sub	sp, sp, #20
	mov	r5, sp
	stm	r5, {r0, r1}
	ldr	r3, .L6
	mov	r0, #28
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	zmalloc
	mov	r4, r0
	ldm	r5, {r0, r1}
	mov	r5, #0
	ldr	r3, .L6+4
	ldr	r2, [r3, #24]
	str	r3, [r4, #20]
	str	r2, [r4, #24]
	str	r4, [r3, #24]
	ldr	r3, [r4, #24]
	str	r4, [r3, #20]
	stmib	r4, {r0, r1}
	str	r5, [r4, #16]
	ldr	r0, [sp]
	bl	ntohl
	mov	r3, r0
	ldr	r2, [sp, #4]
	ldr	r0, .L6+8
	mov	r1, r5
	stm	r0, {r2, r3}
	str	r3, [sp, #8]
	bl	create_target
	ldr	r3, .L6+12
	str	r0, [r4, #12]
	ldr	r1, [r3]
	ldr	r0, [r4, #4]
	bl	link_color
	ldr	r3, .L6+16
	str	r0, [r4]
	ldr	r3, [r3]
	ldr	r1, [r3, #4]
	ldr	r2, [r1, r0, lsl #2]
	add	r2, r2, #1
	str	r2, [r1, r0, lsl #2]
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	RELATIVES
	.word	default_child
	.word	host
	.word	STATS
	.size	add_child, .-add_child
	.comm	host,4,4
	.comm	default_child,8,4
	.comm	STATS,4,4
	.comm	RELATIVES,28,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
