	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_child_list
_add_child_list:                        ## @add_child_list
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rsi), %rcx
	leaq	8(%rdi), %r8
	movq	8(%rdi), %rdx
	testq	%rdx, %rdx
	je	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %rax
	movq	8(%rdx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_5
## %bb.6:
	addq	$8, %rax
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.7:
	movq	%rcx, %rdx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, (%rdx)
	movq	8(%rdx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_8
	jmp	LBB0_9
LBB0_1:
	movq	%r8, %rax
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.2:
	movq	%rcx, %rax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, (%rax)
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	%r8, %rax
LBB0_9:
	movq	%rcx, (%rax)
	movq	$0, 8(%rsi)
	movq	(%r8), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rax
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_11
	jmp	LBB0_12
LBB0_10:
	xorl	%eax, %eax
LBB0_12:
	movq	%rax, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_add_child_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_child_list
_add_child_list:                        ; @add_child_list
	.cfi_startproc
; %bb.0:
	ldr	x9, [x1, #8]
	mov	x8, x0
	ldr	x10, [x8, #8]!
	cbz	x10, LBB0_5
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x11, x10
	ldr	x10, [x10, #8]
	cbnz	x10, LBB0_1
; %bb.2:
	add	x10, x11, #8
	cbz	x9, LBB0_9
; %bb.3:
	mov	w11, #1
	mov	x12, x9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	str	w11, [x12]
	ldr	x12, [x12, #8]
	cbnz	x12, LBB0_4
	b	LBB0_9
LBB0_5:
	mov	x10, x8
	cbz	x9, LBB0_9
; %bb.6:
	mov	w10, #1
	mov	x11, x9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	str	w10, [x11]
	ldr	x11, [x11, #8]
	cbnz	x11, LBB0_7
; %bb.8:
	mov	x10, x8
LBB0_9:
	str	x9, [x10]
	str	xzr, [x1, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_10
; %bb.11:
	str	x9, [x0]
	ret
LBB0_12:
	str	xzr, [x0]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_add_child_list
.subsections_via_symbols
