	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _zip_file_exists
__zip_file_exists:                      ## @_zip_file_exists
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movl	%esi, %ebx
	leaq	-24(%rbp), %rsi
	callq	_stat
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_ZIP_CREATE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	testl	%ebx, (%rcx)
	jne	LBB0_9
## %bb.4:
	movq	_ZIP_ER_OPEN@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_1:
	movq	_ZIP_ER_INVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_ZIP_EXCL@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.7:
	movq	_ZIP_ER_EXISTS@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_set_error
	movl	$-1, %eax
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movl	$1, %eax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_ZIP_ER_INVAL,4,2               ## @ZIP_ER_INVAL
	.comm	_ZIP_CREATE,4,2                 ## @ZIP_CREATE
	.comm	_ZIP_ER_OPEN,4,2                ## @ZIP_ER_OPEN
	.comm	_ZIP_EXCL,4,2                   ## @ZIP_EXCL
	.comm	_ZIP_ER_EXISTS,4,2              ## @ZIP_ER_EXISTS
	.no_dead_strip	__zip_file_exists
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _zip_file_exists
__zip_file_exists:                      ; @_zip_file_exists
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x1
	add	x1, sp, #8
	bl	_stat
	cbz	x0, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _ZIP_CREATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZIP_CREATE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_7
; %bb.3:
	mov	w0, #0
	b	LBB0_9
LBB0_4:
Lloh3:
	adrp	x8, _ZIP_ER_INVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ZIP_ER_INVAL@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh5:
	adrp	x8, _ZIP_EXCL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ZIP_EXCL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_10
; %bb.6:
Lloh8:
	adrp	x8, _ZIP_ER_EXISTS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ZIP_ER_EXISTS@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh10:
	adrp	x8, _ZIP_ER_OPEN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ZIP_ER_OPEN@GOTPAGEOFF]
LBB0_8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, #0
	bl	_set_error
	mov	w0, #-1
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_10:
	mov	w0, #1
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ZIP_ER_INVAL,4,2               ; @ZIP_ER_INVAL
	.comm	_ZIP_CREATE,4,2                 ; @ZIP_CREATE
	.comm	_ZIP_ER_OPEN,4,2                ; @ZIP_ER_OPEN
	.comm	_ZIP_EXCL,4,2                   ; @ZIP_EXCL
	.comm	_ZIP_ER_EXISTS,4,2              ; @ZIP_ER_EXISTS
	.no_dead_strip	__zip_file_exists
.subsections_via_symbols
