	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_read_disk_entry_setup_path ## -- Begin function archive_read_disk_entry_setup_path
	.p2align	4, 0x90
_archive_read_disk_entry_setup_path:    ## @archive_read_disk_entry_setup_path
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_archive_entry_sourcepath
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movq	16(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.2:
	callq	*(%r14)
	testq	%rax, %rax
	je	LBB0_5
LBB0_3:
	movq	%r12, %rdi
	callq	_archive_entry_pathname
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
LBB0_5:
	testq	%r15, %r15
	je	LBB0_12
## %bb.6:
	cmpl	$0, (%r15)
	jns	LBB0_12
## %bb.7:
	movq	16(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.8:
	cmpq	$0, 24(%r14)
	jne	LBB0_11
## %bb.9:
	movq	%r12, %rdi
	callq	_archive_entry_filetype
	movq	_AE_IFLNK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.10:
	movq	16(%r14), %rdi
LBB0_11:
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movq	_O_NONBLOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rsi
	callq	*8(%r14)
	movl	%eax, (%r15)
	jmp	LBB0_12
LBB0_4:
	addq	$32, %r14
	movq	_ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_archive_set_error
	xorl	%ebx, %ebx
LBB0_12:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_ERRNO_MISC,4,2         ## @ARCHIVE_ERRNO_MISC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Couldn't determine path"

	.comm	_AE_IFLNK,8,3                   ## @AE_IFLNK
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_O_NONBLOCK,4,2                 ## @O_NONBLOCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_read_disk_entry_setup_path ; -- Begin function archive_read_disk_entry_setup_path
	.p2align	2
_archive_read_disk_entry_setup_path:    ; @archive_read_disk_entry_setup_path
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	mov	x0, x1
	bl	_archive_entry_sourcepath
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x0, [x21, #16]
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x21]
	blr	x8
	cbz	x0, LBB0_4
LBB0_3:
	mov	x0, x22
	bl	_archive_entry_pathname
	mov	x19, x0
	cbz	x0, LBB0_11
LBB0_4:
	cbz	x20, LBB0_12
; %bb.5:
	ldr	w8, [x20]
	tbz	w8, #31, LBB0_12
; %bb.6:
	ldr	x0, [x21, #16]
	cbz	x0, LBB0_12
; %bb.7:
	ldr	x8, [x21, #24]
	cbnz	x8, LBB0_10
; %bb.8:
	mov	x0, x22
	bl	_archive_entry_filetype
Lloh0:
	adrp	x8, _AE_IFLNK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AE_IFLNK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_12
; %bb.9:
	ldr	x0, [x21, #16]
LBB0_10:
Lloh3:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
	ldr	x9, [x21, #8]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x10, _O_NONBLOCK@GOTPAGE
Lloh7:
	ldr	x10, [x10, _O_NONBLOCK@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w2, w10, w8
	mov	x1, x19
	blr	x9
	str	w0, [x20]
	b	LBB0_12
LBB0_11:
	add	x0, x21, #32
Lloh9:
	adrp	x8, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	bl	_archive_set_error
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_ERRNO_MISC,4,2         ; @ARCHIVE_ERRNO_MISC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Couldn't determine path"

	.comm	_AE_IFLNK,8,3                   ; @AE_IFLNK
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_O_NONBLOCK,4,2                 ; @O_NONBLOCK
.subsections_via_symbols
