	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_read_disk_descend      ## -- Begin function archive_read_disk_descend
	.p2align	4, 0x90
_archive_read_disk_descend:             ## @archive_read_disk_descend
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rbx
	movq	_ARCHIVE_READ_DISK_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ARCHIVE_STATE_HEADER@GOTPCREL(%rip), %rax
	movq	_ARCHIVE_STATE_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	callq	_archive_check_magic
	movq	(%rbx), %rax
	movq	_TREE_REGULAR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.1:
	cmpq	$0, 8(%rbx)
	je	LBB0_10
## %bb.2:
	movq	%rbx, %rdi
	callq	_tree_current_is_physical_dir
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	36(%rbx), %edx
	movl	40(%rbx), %esi
	movl	48(%rbx), %ecx
	movl	44(%rbx), %r8d
	leaq	24(%rbx), %r9
	movq	%rbx, %rdi
	callq	_tree_push
	movq	16(%rbx), %rax
	movq	8(%rax), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_7
## %bb.4:
	movq	_isDir@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_5:
	movq	%rbx, %rdi
	callq	_tree_current_is_dir
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movl	40(%rbx), %esi
	movl	36(%rbx), %edx
	movl	28(%rbx), %r8d
	movl	32(%rbx), %ecx
	leaq	24(%rbx), %r9
	movq	%rbx, %rdi
	callq	_tree_push
	movq	16(%rbx), %rax
LBB0_7:
	movq	_isDirLink@GOTPCREL(%rip), %rcx
LBB0_8:
	movl	(%rcx), %ecx
	orl	%ecx, (%rax)
LBB0_9:
	movq	$0, 8(%rbx)
LBB0_10:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_READ_DISK_MAGIC,4,2    ## @ARCHIVE_READ_DISK_MAGIC
	.comm	_ARCHIVE_STATE_HEADER,4,2       ## @ARCHIVE_STATE_HEADER
	.comm	_ARCHIVE_STATE_DATA,4,2         ## @ARCHIVE_STATE_DATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"archive_read_disk_descend"

	.comm	_TREE_REGULAR,8,3               ## @TREE_REGULAR
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_isDir,4,2                      ## @isDir
	.comm	_isDirLink,4,2                  ## @isDirLink
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_read_disk_descend      ; -- Begin function archive_read_disk_descend
	.p2align	2
_archive_read_disk_descend:             ; @archive_read_disk_descend
	.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
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _ARCHIVE_READ_DISK_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_READ_DISK_MAGIC@GOTPAGEOFF]
Lloh2:
	adrp	x9, _ARCHIVE_STATE_HEADER@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ARCHIVE_STATE_HEADER@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _ARCHIVE_STATE_DATA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ARCHIVE_STATE_DATA@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh9:
	adrp	x3, l_.str@PAGE
Lloh10:
	add	x3, x3, l_.str@PAGEOFF
	bl	_archive_check_magic
	ldr	x8, [x19]
Lloh11:
	adrp	x9, _TREE_REGULAR@GOTPAGE
Lloh12:
	ldr	x9, [x9, _TREE_REGULAR@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.1:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_8
; %bb.2:
	mov	x0, x19
	bl	_tree_current_is_physical_dir
	cbz	x0, LBB0_4
; %bb.3:
	ldp	w2, w1, [x19, #36]
	add	x5, x19, #24
	ldp	w4, w3, [x19, #44]
	mov	x0, x19
	bl	_tree_push
	ldr	x8, [x19, #16]
	ldr	x9, [x8, #8]
	ldr	x9, [x9]
Lloh14:
	adrp	x10, _isDir@GOTPAGE
Lloh15:
	ldr	x10, [x10, _isDir@GOTPAGEOFF]
Lloh16:
	adrp	x11, _isDirLink@GOTPAGE
Lloh17:
	ldr	x11, [x11, _isDirLink@GOTPAGEOFF]
	cmp	x9, #0
	csel	x9, x11, x10, eq
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_tree_current_is_dir
	cbz	x0, LBB0_7
; %bb.5:
	ldp	w2, w1, [x19, #36]
	add	x5, x19, #24
	ldp	w4, w3, [x19, #28]
	mov	x0, x19
	bl	_tree_push
	ldr	x8, [x19, #16]
Lloh18:
	adrp	x9, _isDirLink@GOTPAGE
Lloh19:
	ldr	x9, [x9, _isDirLink@GOTPAGEOFF]
LBB0_6:
	ldr	w9, [x9]
	ldr	w10, [x8]
	orr	w9, w10, w9
	str	w9, [x8]
LBB0_7:
	str	xzr, [x19, #8]
LBB0_8:
Lloh20:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_READ_DISK_MAGIC,4,2    ; @ARCHIVE_READ_DISK_MAGIC
	.comm	_ARCHIVE_STATE_HEADER,4,2       ; @ARCHIVE_STATE_HEADER
	.comm	_ARCHIVE_STATE_DATA,4,2         ; @ARCHIVE_STATE_DATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"archive_read_disk_descend"

	.comm	_TREE_REGULAR,8,3               ; @TREE_REGULAR
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_isDir,4,2                      ; @isDir
	.comm	_isDirLink,4,2                  ; @isDirLink
.subsections_via_symbols
