	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zip_source_open                ## -- Begin function zip_source_open
	.p2align	4, 0x90
_zip_source_open:                       ## @zip_source_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpl	$0, (%rdi)
	je	LBB0_5
## %bb.1:
	movq	_ZIP_LES_INVAL@GOTPCREL(%rip), %rax
LBB0_2:
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
LBB0_3:
	movl	$-1, %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.6:
	callq	_zip_source_open
	testl	%eax, %eax
	js	LBB0_9
## %bb.7:
	movq	16(%rbx), %rdi
	movl	24(%rbx), %esi
	movq	_ZIP_SOURCE_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	*40(%rbx)
	testq	%rax, %rax
	jns	LBB0_11
## %bb.8:
	movq	%rax, %r14
	movq	16(%rbx), %rdi
	callq	_zip_source_close
	movq	_ZIP_SOURCE_ERR_LOWER@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_13
LBB0_9:
	movq	_ZIP_LES_LOWER@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_10:
	movl	24(%rbx), %edi
	movq	_ZIP_SOURCE_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	*32(%rbx)
	testq	%rax, %rax
	js	LBB0_3
LBB0_11:
	movl	$1, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_13:
	movq	_ZIP_LES_UPPER@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_ZIP_LES_INVAL,8,3              ## @ZIP_LES_INVAL
	.comm	_ZIP_SOURCE_OPEN,4,2            ## @ZIP_SOURCE_OPEN
	.comm	_ZIP_LES_LOWER,8,3              ## @ZIP_LES_LOWER
	.comm	_ZIP_SOURCE_ERR_LOWER,8,3       ## @ZIP_SOURCE_ERR_LOWER
	.comm	_ZIP_LES_UPPER,8,3              ## @ZIP_LES_UPPER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zip_source_open                ; -- Begin function zip_source_open
	.p2align	2
_zip_source_open:                       ; @zip_source_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	w8, [x0]
	cbz	w8, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _ZIP_LES_INVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZIP_LES_INVAL@GOTPAGEOFF]
LBB0_2:
	ldr	x8, [x8]
	str	x8, [x19, #8]
LBB0_3:
	mov	w0, #-1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_10
; %bb.6:
	bl	_zip_source_open
	tbnz	w0, #31, LBB0_9
; %bb.7:
	ldr	x8, [x19, #40]
	ldr	x0, [x19, #16]
	ldr	w1, [x19, #24]
Lloh2:
	adrp	x9, _ZIP_SOURCE_OPEN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ZIP_SOURCE_OPEN@GOTPAGEOFF]
Lloh4:
	ldr	w4, [x9]
	mov	x2, #0
	mov	w3, #0
	blr	x8
	tbz	x0, #63, LBB0_11
; %bb.8:
	mov	x20, x0
	ldr	x0, [x19, #16]
	bl	_zip_source_close
Lloh5:
	adrp	x8, _ZIP_SOURCE_ERR_LOWER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ZIP_SOURCE_ERR_LOWER@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_12
LBB0_9:
Lloh8:
	adrp	x8, _ZIP_LES_LOWER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ZIP_LES_LOWER@GOTPAGEOFF]
	b	LBB0_2
LBB0_10:
	ldr	x8, [x19, #32]
	ldr	w0, [x19, #24]
Lloh10:
	adrp	x9, _ZIP_SOURCE_OPEN@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ZIP_SOURCE_OPEN@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x9]
	mov	x1, #0
	mov	w2, #0
	blr	x8
	tbnz	x0, #63, LBB0_3
LBB0_11:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_4
LBB0_12:
Lloh13:
	adrp	x8, _ZIP_LES_UPPER@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ZIP_LES_UPPER@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ZIP_LES_INVAL,8,3              ; @ZIP_LES_INVAL
	.comm	_ZIP_SOURCE_OPEN,4,2            ; @ZIP_SOURCE_OPEN
	.comm	_ZIP_LES_LOWER,8,3              ; @ZIP_LES_LOWER
	.comm	_ZIP_SOURCE_ERR_LOWER,8,3       ; @ZIP_SOURCE_ERR_LOWER
	.comm	_ZIP_LES_UPPER,8,3              ; @ZIP_LES_UPPER
.subsections_via_symbols
