	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _archive_read_disk_open
__archive_read_disk_open:               ## @_archive_read_disk_open
	.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	8(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	_ARCHIVE_READDISK_RESTORE_ATIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	(%rbx), %edx
	callq	_tree_reopen
	jmp	LBB0_3
LBB0_2:
	movl	16(%rbx), %eax
	movq	_ARCHIVE_READDISK_RESTORE_ATIME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	(%rbx), %edx
	movq	%rsi, %rdi
	movl	%eax, %esi
	callq	_tree_open
LBB0_3:
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	_ARCHIVE_STATE_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	leaq	4(%rbx), %rdi
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_archive_set_error
	movq	_ARCHIVE_STATE_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_READDISK_RESTORE_ATIME,4,2 ## @ARCHIVE_READDISK_RESTORE_ATIME
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't allocate tar data"

	.comm	_ARCHIVE_STATE_FATAL,4,2        ## @ARCHIVE_STATE_FATAL
	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_ARCHIVE_STATE_HEADER,4,2       ## @ARCHIVE_STATE_HEADER
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.no_dead_strip	__archive_read_disk_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _archive_read_disk_open
__archive_read_disk_open:               ; @_archive_read_disk_open
	.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
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _ARCHIVE_READDISK_RESTORE_ATIME@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ARCHIVE_READDISK_RESTORE_ATIME@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w2, w9, w8
	bl	_tree_reopen
	str	x0, [x19, #8]
	cbz	x0, LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _ARCHIVE_STATE_HEADER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARCHIVE_STATE_HEADER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #4]
Lloh6:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	ldr	w8, [x19, #16]
	ldr	w9, [x19]
Lloh8:
	adrp	x10, _ARCHIVE_READDISK_RESTORE_ATIME@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ARCHIVE_READDISK_RESTORE_ATIME@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	and	w2, w10, w9
	mov	x0, x1
	mov	x1, x8
	bl	_tree_open
	str	x0, [x19, #8]
	cbnz	x0, LBB0_2
LBB0_4:
	add	x0, x19, #4
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	bl	_archive_set_error
Lloh16:
	adrp	x8, _ARCHIVE_STATE_FATAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ARCHIVE_STATE_FATAL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x19, #4]
Lloh19:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_READDISK_RESTORE_ATIME,4,2 ; @ARCHIVE_READDISK_RESTORE_ATIME
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't allocate tar data"

	.comm	_ARCHIVE_STATE_FATAL,4,2        ; @ARCHIVE_STATE_FATAL
	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_ARCHIVE_STATE_HEADER,4,2       ; @ARCHIVE_STATE_HEADER
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.no_dead_strip	__archive_read_disk_open
.subsections_via_symbols
