	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _zip_read_eocd
__zip_read_eocd:                        ## @_zip_read_eocd
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	_EOCDLEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	%rdi, %rax
	addq	%rsi, %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_3
LBB0_1:
	movq	_ZIP_ER_INCONS@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	leaq	8(%rdi), %rax
	movq	%rax, -56(%rbp)
	leaq	-56(%rbp), %r15
	movq	%r15, %rdi
	callq	__zip_read2
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	__zip_read2
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	cmpq	%r14, %rax
	jne	LBB0_4
## %bb.5:
	leaq	-56(%rbp), %r15
	movq	%r15, %rdi
	callq	__zip_read4
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	__zip_read4
	movq	%rax, %r15
	movq	_ZIP_OFF_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	cmpq	%rcx, %r14
	jg	LBB0_8
## %bb.6:
	cmpq	%rcx, %r15
	jg	LBB0_8
## %bb.7:
	leaq	(%r15,%r14), %rax
	cmpq	%rcx, %rax
	jle	LBB0_9
LBB0_8:
	movq	_ZIP_ER_SEEK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EFBIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	__zip_error_set
	xorl	%ebx, %ebx
	jmp	LBB0_15
LBB0_4:
	movq	_ZIP_ER_NOZIP@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	__zip_error_set
LBB0_15:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	subq	%r13, %rbx
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	addq	%rbx, %rsi
	cmpq	%rsi, %rax
	jg	LBB0_1
## %bb.10:
	movq	_ZIP_CHECKCONS@GOTPCREL(%rip), %rcx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, (%rcx)
	je	LBB0_12
## %bb.11:
	cmpq	%rsi, %rax
	jne	LBB0_1
LBB0_12:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	__zip_cdir_new
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	movq	%rax, %rbx
	movq	%r14, 8(%rax)
	movq	%r15, (%rax)
	jmp	LBB0_15
LBB0_13:
	xorl	%ebx, %ebx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_EOCDLEN,4,2                    ## @EOCDLEN
	.comm	_ZIP_ER_INCONS,4,2              ## @ZIP_ER_INCONS
	.comm	_ZIP_ER_NOZIP,4,2               ## @ZIP_ER_NOZIP
	.comm	_ZIP_OFF_MAX,8,3                ## @ZIP_OFF_MAX
	.comm	_ZIP_ER_SEEK,4,2                ## @ZIP_ER_SEEK
	.comm	_EFBIG,4,2                      ## @EFBIG
	.comm	_ZIP_CHECKCONS,4,2              ## @ZIP_CHECKCONS
	.no_dead_strip	__zip_read_eocd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _zip_read_eocd
__zip_read_eocd:                        ; @_zip_read_eocd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x5
Lloh0:
	adrp	x8, _EOCDLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOCDLEN@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	add	x8, x0, x8
	add	x9, x1, x3
	cmp	x8, x9
	b.ls	LBB0_2
LBB0_1:
Lloh3:
	adrp	x8, _ZIP_ER_INCONS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ZIP_ER_INCONS@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
	mov	x20, x4
	mov	x21, x2
	mov	x22, x1
	mov	x24, x0
	add	x8, x0, #8
	str	x8, [sp, #8]
	add	x0, sp, #8
	bl	__zip_read2
	mov	x23, x0
	add	x0, sp, #8
	bl	__zip_read2
	cmp	x0, x23
	b.ne	LBB0_5
; %bb.3:
	add	x0, sp, #8
	bl	__zip_read4
	mov	x25, x0
	add	x0, sp, #8
	bl	__zip_read4
Lloh5:
	adrp	x8, _ZIP_OFF_MAX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ZIP_OFF_MAX@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x8]
	cmp	x25, x9
	ccmp	x0, x9, #0, le
	add	x8, x0, x25
	ccmp	x8, x9, #0, le
	b.le	LBB0_9
; %bb.4:
Lloh8:
	adrp	x8, _ZIP_ER_SEEK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ZIP_ER_SEEK@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _EFBIG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EFBIG@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	b	LBB0_7
LBB0_5:
Lloh14:
	adrp	x8, _ZIP_ER_NOZIP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ZIP_ER_NOZIP@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
LBB0_7:
	bl	__zip_error_set
	mov	x0, #0
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_9:
	sub	x9, x24, x22
	add	x9, x21, x9
	cmp	x8, x9
	b.gt	LBB0_1
; %bb.10:
Lloh16:
	adrp	x10, _ZIP_CHECKCONS@GOTPAGE
Lloh17:
	ldr	x10, [x10, _ZIP_CHECKCONS@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	and	w10, w10, w20
	cmp	w10, #0
	ccmp	x8, x9, #4, ne
	b.ne	LBB0_1
; %bb.11:
	mov	x26, x0
	mov	x0, x23
	mov	x1, x19
	bl	__zip_cdir_new
	cbz	x0, LBB0_8
; %bb.12:
	stp	x26, x25, [x0]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_EOCDLEN,4,2                    ; @EOCDLEN
	.comm	_ZIP_ER_INCONS,4,2              ; @ZIP_ER_INCONS
	.comm	_ZIP_ER_NOZIP,4,2               ; @ZIP_ER_NOZIP
	.comm	_ZIP_OFF_MAX,8,3                ; @ZIP_OFF_MAX
	.comm	_ZIP_ER_SEEK,4,2                ; @ZIP_ER_SEEK
	.comm	_EFBIG,4,2                      ; @EFBIG
	.comm	_ZIP_CHECKCONS,4,2              ; @ZIP_CHECKCONS
	.no_dead_strip	__zip_read_eocd
.subsections_via_symbols
