	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_child                      ## -- Begin function add_child
	.p2align	4, 0x90
_add_child:                             ## @add_child
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	%rdi, %r15
	shrq	$32, %r15
	movl	$48, %edi
	callq	_zmalloc
	movq	%rax, %rbx
	movq	_RELATIVES@GOTPCREL(%rip), %rax
	movq	40(%rax), %rcx
	movq	%rcx, 40(%rbx)
	movq	%rax, 32(%rbx)
	movq	%rbx, 40(%rax)
	movq	40(%rbx), %rax
	movq	%rbx, 32(%rax)
	movl	%r14d, 8(%rbx)
	movl	%r15d, 12(%rbx)
	movq	$0, 24(%rbx)
	movl	%r14d, %edi
	callq	_ntohl
	movq	_default_child@GOTPCREL(%rip), %rdi
	movl	%eax, 4(%rdi)
	movl	%r15d, (%rdi)
	xorl	%esi, %esi
	callq	_create_target
	movl	%eax, 16(%rbx)
	movl	8(%rbx), %edi
	movq	_host@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_link_color
	movq	%rax, (%rbx)
	movq	_STATS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	8(%rcx), %rdx
	incl	(%rdx,%rax,4)
	incl	(%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RELATIVES,48,3                 ## @RELATIVES
	.comm	_default_child,8,2              ## @default_child
	.comm	_host,4,2                       ## @host
	.comm	_STATS,8,3                      ## @STATS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_child                      ; -- Begin function add_child
	.p2align	2
_add_child:                             ; @add_child
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	lsr	x21, x0, #32
	mov	w0, #48
	bl	_zmalloc
	mov	x20, x0
Lloh0:
	adrp	x8, _RELATIVES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RELATIVES@GOTPAGEOFF]
	ldr	x9, [x8, #40]
	stp	x8, x9, [x0, #32]
	str	x0, [x8, #40]
	ldr	x8, [x0, #40]
	str	x0, [x8, #32]
	stp	w19, w21, [x0, #8]
	str	xzr, [x0, #24]
	mov	x0, x19
	bl	_ntohl
Lloh2:
	adrp	x8, _default_child@GOTPAGE
Lloh3:
	ldr	x8, [x8, _default_child@GOTPAGEOFF]
	stp	w21, w0, [x8]
	mov	x0, x8
	mov	w1, #0
	bl	_create_target
	str	w0, [x20, #16]
	ldr	w0, [x20, #8]
Lloh4:
	adrp	x8, _host@GOTPAGE
Lloh5:
	ldr	x8, [x8, _host@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	bl	_link_color
Lloh7:
	adrp	x8, _STATS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _STATS@GOTPAGEOFF]
	str	x0, [x20]
Lloh9:
	ldr	x8, [x8]
	ldr	x9, [x8, #8]
	lsl	x10, x0, #2
	ldr	w11, [x9, x10]
	add	w11, w11, #1
	str	w11, [x9, x10]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RELATIVES,48,3                 ; @RELATIVES
	.comm	_default_child,8,2              ; @default_child
	.comm	_host,4,2                       ; @host
	.comm	_STATS,8,3                      ; @STATS
.subsections_via_symbols
