	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function list_tree
_list_tree:                             ## @list_tree
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_nr_trees@GOTPCREL(%rip), %r14
	movq	_MAX_UNPACK_TREES@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	cmpq	%rsi, (%r14)
	jl	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_die
LBB0_2:
	movq	%rbx, %rdi
	callq	_parse_tree_indirect
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	_trees@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r14), %rdx
	leaq	1(%rdx), %rsi
	movq	%rsi, (%r14)
	movq	%rax, (%rcx,%rdx,8)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_3:
	movl	$-1, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nr_trees,8,3                   ## @nr_trees
	.comm	_MAX_UNPACK_TREES,8,3           ## @MAX_UNPACK_TREES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"I cannot read more than %d trees"

	.comm	_trees,8,3                      ## @trees
	.no_dead_strip	_list_tree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function list_tree
_list_tree:                             ; @list_tree
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _nr_trees@GOTPAGE
Lloh1:
	ldr	x20, [x20, _nr_trees@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _MAX_UNPACK_TREES@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MAX_UNPACK_TREES@GOTPAGEOFF]
Lloh4:
	ldr	x1, [x9]
	cmp	x8, x1
	b.lt	LBB0_2
; %bb.1:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_2:
	mov	x0, x19
	bl	_parse_tree_indirect
	cbz	x0, LBB0_4
; %bb.3:
	mov	x8, x0
	mov	w0, #0
Lloh7:
	adrp	x9, _trees@GOTPAGE
Lloh8:
	ldr	x9, [x9, _trees@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	ldr	x10, [x20]
	add	x11, x10, #1
	str	x11, [x20]
	str	x8, [x9, x10, lsl #3]
	b	LBB0_5
LBB0_4:
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_nr_trees,8,3                   ; @nr_trees
	.comm	_MAX_UNPACK_TREES,8,3           ; @MAX_UNPACK_TREES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"I cannot read more than %d trees"

	.comm	_trees,8,3                      ; @trees
	.no_dead_strip	_list_tree
.subsections_via_symbols
