	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tree_next
_tree_next:                             ## @tree_next
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rdi
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.1:
	movq	_INVALID_DIR_HANDLE@GOTPCREL(%rip), %r13
	movq	_needsFirstVisit@GOTPCREL(%rip), %r15
	movq	_needsOpen@GOTPCREL(%rip), %r12
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%rdi)
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_tree_dir_next_posix
	testl	%eax, %eax
	jne	LBB0_9
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	cmpq	(%r13), %rax
	jne	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rdi), %eax
	testl	%eax, (%r15)
	jne	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_needsDescent@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r12), %ecx
	testl	%eax, %ecx
	jne	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_needsAscent@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_tree_pop
	movq	_hasLstat@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_hasStat@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	andl	%eax, 12(%rbx)
	jmp	LBB0_3
LBB0_9:
	movl	%eax, %r14d
	jmp	LBB0_20
LBB0_12:
	movq	%rdi, 24(%rbx)
	movl	4(%rdi), %r14d
	addq	$4, %rdi
	callq	_archive_strlen
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_tree_append
	movl	(%r15), %eax
	notl	%eax
	movq	16(%rbx), %rcx
	andl	%eax, (%rcx)
	movq	_TREE_REGULAR@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_13:
	movq	%rdi, 24(%rbx)
	movl	4(%rdi), %r14d
	addq	$4, %rdi
	callq	_archive_strlen
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_tree_append
	movq	_needsDescent@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	16(%rbx), %rcx
	andl	%eax, (%rcx)
	movq	%rbx, %rdi
	callq	_tree_descent
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_tree_pop
	jmp	LBB0_19
LBB0_15:
	movq	_TREE_POSTDESCENT@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_16:
	movq	%rbx, %rdi
	callq	_tree_ascend
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_tree_pop
	testl	%r14d, %r14d
	jne	LBB0_19
## %bb.17:
	movq	_TREE_POSTASCENT@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %r14d
LBB0_19:
	movl	%r14d, 8(%rbx)
LBB0_20:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INVALID_DIR_HANDLE,8,3         ## @INVALID_DIR_HANDLE
	.comm	_needsFirstVisit,4,2            ## @needsFirstVisit
	.comm	_TREE_REGULAR,4,2               ## @TREE_REGULAR
	.comm	_needsDescent,4,2               ## @needsDescent
	.comm	_TREE_POSTDESCENT,4,2           ## @TREE_POSTDESCENT
	.comm	_needsOpen,4,2                  ## @needsOpen
	.comm	_needsAscent,4,2                ## @needsAscent
	.comm	_TREE_POSTASCENT,4,2            ## @TREE_POSTASCENT
	.comm	_hasLstat,4,2                   ## @hasLstat
	.comm	_hasStat,4,2                    ## @hasStat
	.no_dead_strip	_tree_next
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tree_next
_tree_next:                             ; @tree_next
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x0, [x0, #16]
	cbz	x0, LBB0_11
; %bb.1:
Lloh0:
	adrp	x23, _INVALID_DIR_HANDLE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _INVALID_DIR_HANDLE@GOTPAGEOFF]
Lloh2:
	adrp	x21, _needsFirstVisit@GOTPAGE
Lloh3:
	ldr	x21, [x21, _needsFirstVisit@GOTPAGEOFF]
Lloh4:
	adrp	x22, _needsDescent@GOTPAGE
Lloh5:
	ldr	x22, [x22, _needsDescent@GOTPAGEOFF]
Lloh6:
	adrp	x24, _needsOpen@GOTPAGE
Lloh7:
	ldr	x24, [x24, _needsOpen@GOTPAGEOFF]
Lloh8:
	adrp	x25, _needsAscent@GOTPAGE
Lloh9:
	ldr	x25, [x25, _needsAscent@GOTPAGEOFF]
Lloh10:
	adrp	x26, _hasLstat@GOTPAGE
Lloh11:
	ldr	x26, [x26, _hasLstat@GOTPAGEOFF]
Lloh12:
	adrp	x27, _hasStat@GOTPAGE
Lloh13:
	ldr	x27, [x27, _hasStat@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	bic	w8, w8, w9
	str	w8, [x0]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_tree_dir_next_posix
	cbnz	w0, LBB0_14
; %bb.4:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x0]
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x22]
	tst	w9, w8
	b.ne	LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x24]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x25]
	mov	x0, x19
	tst	w9, w8
	b.ne	LBB0_18
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	bl	_tree_pop
	ldr	w8, [x26]
	ldr	w9, [x19, #12]
	ldr	w10, [x27]
	orr	w8, w8, w10
	bic	w8, w9, w8
	str	w8, [x19, #12]
	ldr	x0, [x19, #16]
	cbnz	x0, LBB0_5
LBB0_11:
	mov	w20, #0
LBB0_12:
	str	w20, [x19, #8]
LBB0_13:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_14:
	mov	x20, x0
	b	LBB0_13
LBB0_15:
	str	x0, [x19, #24]
	ldr	w20, [x0, #4]!
	bl	_archive_strlen
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_tree_append
	ldr	w8, [x21]
	ldr	x9, [x19, #16]
	ldr	w10, [x9]
	bic	w8, w10, w8
	str	w8, [x9]
Lloh14:
	adrp	x8, _TREE_REGULAR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TREE_REGULAR@GOTPAGEOFF]
Lloh16:
	ldr	w20, [x8]
	b	LBB0_12
LBB0_16:
	str	x0, [x19, #24]
	ldr	w20, [x0, #4]!
	bl	_archive_strlen
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_tree_append
	ldr	w8, [x22]
	ldr	x9, [x19, #16]
	ldr	w10, [x9]
	bic	w8, w10, w8
	str	w8, [x9]
	mov	x0, x19
	bl	_tree_descent
	cbz	w0, LBB0_19
; %bb.17:
	mov	x20, x0
	mov	x0, x19
	bl	_tree_pop
	b	LBB0_12
LBB0_18:
	bl	_tree_ascend
	mov	x20, x0
	mov	x0, x19
	bl	_tree_pop
Lloh17:
	adrp	x8, _TREE_POSTASCENT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TREE_POSTASCENT@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	w20, #0
	csel	w20, w8, w20, eq
	b	LBB0_12
LBB0_19:
Lloh20:
	adrp	x8, _TREE_POSTDESCENT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TREE_POSTDESCENT@GOTPAGEOFF]
Lloh22:
	ldr	w20, [x8]
	b	LBB0_12
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_INVALID_DIR_HANDLE,8,3         ; @INVALID_DIR_HANDLE
	.comm	_needsFirstVisit,4,2            ; @needsFirstVisit
	.comm	_TREE_REGULAR,4,2               ; @TREE_REGULAR
	.comm	_needsDescent,4,2               ; @needsDescent
	.comm	_TREE_POSTDESCENT,4,2           ; @TREE_POSTDESCENT
	.comm	_needsOpen,4,2                  ; @needsOpen
	.comm	_needsAscent,4,2                ; @needsAscent
	.comm	_TREE_POSTASCENT,4,2            ; @TREE_POSTASCENT
	.comm	_hasLstat,4,2                   ; @hasLstat
	.comm	_hasStat,4,2                    ; @hasStat
	.no_dead_strip	_tree_next
.subsections_via_symbols
