	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__zip_source_file_or_p          ## -- Begin function _zip_source_file_or_p
	.p2align	4, 0x90
__zip_source_file_or_p:                 ## @_zip_source_file_or_p
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	jne	LBB0_4
## %bb.1:
	testq	%r14, %r14
	jne	LBB0_4
## %bb.2:
	movq	_ZIP_ER_INVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movl	%r8d, -60(%rbp)                 ## 4-byte Spill
	movl	$40, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r13
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rbx
	xorl	%r12d, %r12d
	movq	$0, 16(%r13)
	testq	%r15, %r15
	je	LBB0_7
## %bb.10:
	movq	%r15, %rdi
	callq	_strdup
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	jne	LBB0_8
## %bb.11:
	movq	_ZIP_ER_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	__zip_error_set
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_15
LBB0_5:
	movq	_ZIP_ER_MEMORY@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	__zip_error_set
LBB0_15:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	movq	16(%rbp), %rsi
	movq	%r14, 32(%rbx)
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 24(%rbx)
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	cmpl	$1, %ecx
	sbbl	%r12d, %r12d
	orl	%ecx, %r12d
	testq	%rax, %rax
	movl	$1, %eax
	cmovel	-52(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%r12d, (%rbx)
	movl	%eax, 4(%rbx)
	addq	$8, %r13
	movq	%r13, %rdi
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.9:
	movl	$4, %edx
	callq	_memcpy
	jmp	LBB0_13
LBB0_12:
	callq	_zip_stat_init
LBB0_13:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	_read_file@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_zip_source_function
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:
	movq	%rbx, %rdi
	callq	_free
	xorl	%r14d, %r14d
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_ZIP_ER_INVAL,4,2               ## @ZIP_ER_INVAL
	.comm	_ZIP_ER_MEMORY,4,2              ## @ZIP_ER_MEMORY
	.comm	_read_file,4,2                  ## @read_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__zip_source_file_or_p          ; -- Begin function _zip_source_file_or_p
	.p2align	2
__zip_source_file_or_p:                 ; @_zip_source_file_or_p
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x6
	mov	x22, x5
	mov	x23, x4
	mov	x24, x3
	mov	x25, x2
	mov	x26, x1
	mov	x19, x0
	cbnz	x1, LBB0_3
; %bb.1:
	cbnz	x25, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _ZIP_ER_INVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZIP_ER_INVAL@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
	mov	w0, #40
	bl	_malloc
	cbz	x0, LBB0_7
; %bb.4:
	mov	x20, x0
	str	xzr, [x0, #16]
	cbz	x26, LBB0_11
; %bb.5:
	mov	x0, x26
	bl	_strdup
	str	x0, [x20, #16]
	cbnz	x0, LBB0_12
; %bb.6:
Lloh2:
	adrp	x8, _ZIP_ER_MEMORY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ZIP_ER_MEMORY@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	__zip_error_set
	b	LBB0_16
LBB0_7:
Lloh5:
	adrp	x8, _ZIP_ER_MEMORY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ZIP_ER_MEMORY@GOTPAGEOFF]
LBB0_8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	__zip_error_set
LBB0_9:
	mov	x0, #0
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x0, #0
LBB0_12:
	str	x25, [x20, #32]
	str	w24, [x20, #24]
	cmp	w23, #0
	csinv	w8, w23, wzr, ne
	cmp	x0, #0
	csinc	w9, w22, wzr, eq
	stp	w8, w9, [x20]
	add	x0, x20, #8
	cbz	x21, LBB0_14
; %bb.13:
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
	b	LBB0_15
LBB0_14:
	bl	_zip_stat_init
LBB0_15:
Lloh7:
	adrp	x8, _read_file@GOTPAGE
Lloh8:
	ldr	x8, [x8, _read_file@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_zip_source_function
	cbnz	x0, LBB0_10
LBB0_16:
	mov	x0, x20
	bl	_free
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ZIP_ER_INVAL,4,2               ; @ZIP_ER_INVAL
	.comm	_ZIP_ER_MEMORY,4,2              ; @ZIP_ER_MEMORY
	.comm	_read_file,4,2                  ; @read_file
.subsections_via_symbols
