	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zip_source_read                ## -- Begin function zip_source_read
	.p2align	4, 0x90
_zip_source_read:                       ## @zip_source_read
	.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
	cmpl	$0, 32(%rdi)
	je	LBB0_4
## %bb.1:
	movq	%rdx, %rax
	movq	_ZIP_INT64_MAX@GOTPCREL(%rip), %rcx
	cmpq	%rdx, (%rcx)
	jl	LBB0_4
## %bb.2:
	movq	%rsi, %rdx
	testq	%rsi, %rsi
	jne	LBB0_5
## %bb.3:
	testq	%rax, %rax
	jle	LBB0_5
LBB0_4:
	movq	_ZIP_LES_INVAL@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	$-1, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.6:
	movl	4(%rbx), %esi
	movq	_ZIP_SOURCE_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	%rax, %rcx
	callq	*24(%rbx)
	testl	%eax, %eax
	jns	LBB0_11
## %bb.7:
	movq	_ZIP_SOURCE_ERR_LOWER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.8:
	movq	_ZIP_LES_LOWER@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_12:
	movq	16(%rbx), %r8
	movl	4(%rbx), %edi
	movq	_ZIP_SOURCE_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rdx, %rsi
	movq	%rax, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmpq	*%r8                            ## TAILCALL
LBB0_9:
	movq	_ZIP_LES_UPPER@GOTPCREL(%rip), %rax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_ZIP_INT64_MAX,8,3              ## @ZIP_INT64_MAX
	.comm	_ZIP_LES_INVAL,4,2              ## @ZIP_LES_INVAL
	.comm	_ZIP_SOURCE_READ,4,2            ## @ZIP_SOURCE_READ
	.comm	_ZIP_SOURCE_ERR_LOWER,4,2       ## @ZIP_SOURCE_ERR_LOWER
	.comm	_ZIP_LES_LOWER,4,2              ## @ZIP_LES_LOWER
	.comm	_ZIP_LES_UPPER,4,2              ## @ZIP_LES_UPPER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_zip_source_read                ; -- Begin function zip_source_read
	.p2align	2
_zip_source_read:                       ; @zip_source_read
	.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	x8, x2
	mov	x19, x0
	ldr	w9, [x0, #32]
Lloh0:
	adrp	x10, _ZIP_INT64_MAX@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ZIP_INT64_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	w9, #0
	ccmp	x10, x2, #8, ne
	b.lt	LBB0_3
; %bb.1:
	mov	x2, x1
	cbnz	x1, LBB0_6
; %bb.2:
	cmp	x8, #1
	b.lt	LBB0_6
LBB0_3:
Lloh3:
	adrp	x8, _ZIP_LES_INVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ZIP_LES_INVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_10
; %bb.7:
	ldr	x9, [x19, #24]
	ldr	w1, [x19, #4]
Lloh5:
	adrp	x10, _ZIP_SOURCE_READ@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ZIP_SOURCE_READ@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x10]
	mov	x3, x8
	blr	x9
	tbz	w0, #31, LBB0_5
; %bb.8:
Lloh8:
	adrp	x8, _ZIP_SOURCE_ERR_LOWER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ZIP_SOURCE_ERR_LOWER@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.9:
Lloh11:
	adrp	x8, _ZIP_LES_LOWER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ZIP_LES_LOWER@GOTPAGEOFF]
	b	LBB0_4
LBB0_10:
	ldr	x4, [x19, #16]
Lloh13:
	adrp	x9, _ZIP_SOURCE_READ@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ZIP_SOURCE_READ@GOTPAGEOFF]
	ldr	w0, [x19, #4]
Lloh15:
	ldr	w3, [x9]
	mov	x1, x2
	mov	x2, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x4
LBB0_11:
Lloh16:
	adrp	x8, _ZIP_LES_UPPER@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ZIP_LES_UPPER@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ZIP_INT64_MAX,8,3              ; @ZIP_INT64_MAX
	.comm	_ZIP_LES_INVAL,4,2              ; @ZIP_LES_INVAL
	.comm	_ZIP_SOURCE_READ,4,2            ; @ZIP_SOURCE_READ
	.comm	_ZIP_SOURCE_ERR_LOWER,4,2       ; @ZIP_SOURCE_ERR_LOWER
	.comm	_ZIP_LES_LOWER,4,2              ; @ZIP_LES_LOWER
	.comm	_ZIP_LES_UPPER,4,2              ; @ZIP_LES_UPPER
.subsections_via_symbols
