	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function tree_reopen
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_tree_reopen:                           ## @tree_reopen
	.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	%rsi, %r14
	movq	%rdi, %rbx
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	movq	_needsRestoreTimes@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_2:
	movq	_onInitialDir@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, 120(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 72(%rbx)
	movups	%xmm0, 88(%rbx)
	movups	%xmm0, 104(%rbx)
	movq	_INVALID_DIR_HANDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%rbx)
	movl	60(%rbx), %eax
	movl	%eax, 64(%rbx)
	leaq	56(%rbx), %rdi
	callq	_archive_string_empty
	movq	$-1, (%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_tree_push
	movq	_needsFirstVisit@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	32(%rbx), %rcx
	movl	%eax, (%rcx)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 8(%rbx)
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movq	_O_CLOEXEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_open
	movq	%rax, 16(%rbx)
	movq	%rax, %rdi
	callq	___archive_ensure_cloexec_flag
	movq	16(%rbx), %rdi
	callq	_tree_dup
	movl	%eax, 24(%rbx)
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_needsRestoreTimes,4,2          ## @needsRestoreTimes
	.comm	_onInitialDir,4,2               ## @onInitialDir
	.comm	_INVALID_DIR_HANDLE,4,2         ## @INVALID_DIR_HANDLE
	.comm	_needsFirstVisit,4,2            ## @needsFirstVisit
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"."

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_O_CLOEXEC,4,2                  ## @O_CLOEXEC
	.comm	_O_EXEC,4,2                     ## @O_EXEC
	.comm	_O_PATH,4,2                     ## @O_PATH
	.comm	_O_SEARCH,4,2                   ## @O_SEARCH
	.no_dead_strip	_tree_reopen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tree_reopen
_tree_reopen:                           ; @tree_reopen
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _needsRestoreTimes@GOTPAGE
Lloh1:
	ldr	x8, [x8, _needsRestoreTimes@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w2, #0
	csel	w8, wzr, w8, eq
Lloh3:
	adrp	x9, _onInitialDir@GOTPAGE
Lloh4:
	ldr	x9, [x9, _onInitialDir@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x0, #120]
	movi.2d	v0, #0000000000000000
	stur	q0, [x0, #72]
	stur	q0, [x0, #88]
Lloh6:
	adrp	x8, _INVALID_DIR_HANDLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INVALID_DIR_HANDLE@GOTPAGEOFF]
	stur	q0, [x0, #104]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x0, #60]
	stp	w9, w8, [x0, #64]
	add	x0, x0, #56
	bl	_archive_string_empty
	stp	xzr, xzr, [x19, #40]
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x19]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	x5, #0
	bl	_tree_push
Lloh9:
	adrp	x8, _needsFirstVisit@GOTPAGE
Lloh10:
	ldr	x8, [x8, _needsFirstVisit@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	x9, [x19, #32]
	str	w8, [x9]
	movi.2s	v0, #1
Lloh12:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
	str	d0, [x19, #8]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _O_CLOEXEC@GOTPAGE
Lloh16:
	ldr	x9, [x9, _O_CLOEXEC@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	bl	_open
	str	x0, [x19, #16]
	bl	___archive_ensure_cloexec_flag
	ldr	x0, [x19, #16]
	bl	_tree_dup
	str	w0, [x19, #24]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_needsRestoreTimes,4,2          ; @needsRestoreTimes
	.comm	_onInitialDir,4,2               ; @onInitialDir
	.comm	_INVALID_DIR_HANDLE,4,2         ; @INVALID_DIR_HANDLE
	.comm	_needsFirstVisit,4,2            ; @needsFirstVisit
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"."

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_O_CLOEXEC,4,2                  ; @O_CLOEXEC
	.comm	_O_EXEC,4,2                     ; @O_EXEC
	.comm	_O_PATH,4,2                     ; @O_PATH
	.comm	_O_SEARCH,4,2                   ; @O_SEARCH
	.no_dead_strip	_tree_reopen
.subsections_via_symbols
