	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__zip_read_local_ef             ## -- Begin function _zip_read_local_ef
	.p2align	4, 0x90
__zip_read_local_ef:                    ## @_zip_read_local_ef
	.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	%rdi, %rbx
	cmpq	%rsi, (%rdi)
	jle	LBB0_1
## %bb.3:
	movq	%rsi, %r14
	movq	16(%rbx), %r13
	shlq	$4, %r14
	movq	8(%r13,%r14), %rax
	testq	%rax, %rax
	je	LBB0_19
## %bb.4:
	cmpl	$0, (%rax)
	je	LBB0_5
LBB0_19:
	xorl	%r15d, %r15d
	jmp	LBB0_20
LBB0_1:
	addq	$8, %rbx
	movq	_ZIP_ER_INVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
LBB0_2:
	callq	__zip_error_set
	movl	$-1, %r15d
LBB0_20:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	12(%rbx), %edi
	movl	8(%rax), %esi
	addl	$26, %esi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_fseeko
	testq	%rax, %rax
	js	LBB0_6
## %bb.8:
	movl	12(%rbx), %ecx
	leaq	-68(%rbp), %r15
	movq	%r15, %rdi
	movl	$4, %esi
	movl	$1, %edx
	callq	_fread
	cmpl	$1, %eax
	jne	LBB0_9
## %bb.10:
	leaq	(%r14,%r13), %rax
	addq	$8, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)
	leaq	-64(%rbp), %r12
	movq	%r12, %rdi
	callq	__zip_read2
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	__zip_read2
	testq	%rax, %rax
	jle	LBB0_11
## %bb.12:
	movq	%rax, %r12
	movl	12(%rbx), %edi
	movq	_SEEK_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_fseek
	testq	%rax, %rax
	js	LBB0_6
## %bb.13:
	movl	12(%rbx), %esi
	addq	$8, %rbx
	xorl	%edi, %edi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	__zip_read_data
	movl	$-1, %r15d
	testq	%rax, %rax
	je	LBB0_20
## %bb.14:
	movq	_ZIP_EF_LOCAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rsi
	movq	%rbx, %rcx
	callq	__zip_ef_parse
	movq	%rax, %rbx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	testq	%rbx, %rbx
	je	LBB0_20
## %bb.15:
	movq	%rbx, %rdi
	callq	__zip_ef_remove_internal
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rcx
	movl	4(%rcx), %edi
	movq	%rax, %rsi
	callq	__zip_ef_merge
	movq	(%rbx), %rcx
	movl	%eax, 4(%rcx)
	jmp	LBB0_16
LBB0_6:
	addq	$8, %rbx
	movq	_ZIP_ER_SEEK@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_9:
	addq	$8, %rbx
	movq	_ZIP_ER_READ@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	jmp	LBB0_2
LBB0_11:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rcx
LBB0_16:
	movl	$1, (%rcx)
	movq	(%r13,%r14), %rax
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	cmpl	$0, (%rax)
	jne	LBB0_19
## %bb.18:
	movl	4(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movl	$1, (%rax)
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_ZIP_ER_INVAL,4,2               ## @ZIP_ER_INVAL
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_ZIP_ER_SEEK,4,2                ## @ZIP_ER_SEEK
	.comm	_errno,4,2                      ## @errno
	.comm	_ZIP_ER_READ,4,2                ## @ZIP_ER_READ
	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
	.comm	_ZIP_EF_LOCAL,4,2               ## @ZIP_EF_LOCAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__zip_read_local_ef             ; -- Begin function _zip_read_local_ef
	.p2align	2
__zip_read_local_ef:                    ; @_zip_read_local_ef
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x0
	ldr	x8, [x0]
	cmp	x8, x1
	b.le	LBB0_4
; %bb.1:
	mov	x19, x1
	ldr	x23, [x20, #16]
	add	x24, x23, x1, lsl #4
	ldr	x8, [x24, #8]!
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w9, [x8]
	cbz	w9, LBB0_8
LBB0_3:
	mov	w0, #0
	b	LBB0_7
LBB0_4:
	add	x0, x20, #8
Lloh0:
	adrp	x8, _ZIP_ER_INVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZIP_ER_INVAL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
LBB0_5:
	bl	__zip_error_set
LBB0_6:
	mov	w0, #-1
LBB0_7:
	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
	add	sp, sp, #80
	ret
LBB0_8:
	ldr	w0, [x20, #12]
	ldr	w8, [x8, #8]
	add	w1, w8, #26
Lloh3:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_fseeko
	tbnz	x0, #63, LBB0_15
; %bb.9:
	ldr	w3, [x20, #12]
	add	x21, sp, #12
	add	x0, sp, #12
	mov	w1, #4
	mov	w2, #1
	bl	_fread
	cmp	w0, #1
	b.ne	LBB0_16
; %bb.10:
	str	x21, [sp]
	mov	x0, sp
	bl	__zip_read2
	mov	x22, x0
	mov	x0, sp
	bl	__zip_read2
	cmp	x0, #0
	b.le	LBB0_18
; %bb.11:
	mov	x21, x0
	ldr	w0, [x20, #12]
Lloh6:
	adrp	x8, _SEEK_CUR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SEEK_CUR@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_fseek
	tbnz	x0, #63, LBB0_15
; %bb.12:
	ldr	w1, [x20, #12]
	add	x20, x20, #8
	mov	x0, #0
	mov	x2, x21
	mov	w3, #0
	mov	x4, x20
	bl	__zip_read_data
	cbz	x0, LBB0_6
; %bb.13:
	mov	x22, x0
Lloh9:
	adrp	x8, _ZIP_EF_LOCAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ZIP_EF_LOCAL@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x1, x21
	mov	x3, x20
	bl	__zip_ef_parse
	mov	x20, x0
	mov	x0, x22
	bl	_free
	cbz	x20, LBB0_6
; %bb.14:
	mov	x0, x20
	bl	__zip_ef_remove_internal
	mov	x1, x0
	ldr	x8, [x24]
	ldr	w0, [x8, #4]
	bl	__zip_ef_merge
	ldr	x8, [x24]
	str	w0, [x8, #4]
	b	LBB0_19
LBB0_15:
	add	x0, x20, #8
Lloh12:
	adrp	x8, _ZIP_ER_SEEK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ZIP_ER_SEEK@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:
	add	x0, x20, #8
Lloh14:
	adrp	x8, _ZIP_ER_READ@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ZIP_ER_READ@GOTPAGEOFF]
LBB0_17:
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _errno@GOTPAGE
Lloh17:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	b	LBB0_5
LBB0_18:
	ldr	x8, [x24]
LBB0_19:
	mov	w9, #1
	str	w9, [x8]
	lsl	x9, x19, #4
	ldr	x9, [x23, x9]
	cbz	x9, LBB0_3
; %bb.20:
	ldr	w10, [x9]
	cbnz	w10, LBB0_3
; %bb.21:
	mov	w0, #0
	ldr	w8, [x8, #4]
	mov	w10, #1
	stp	w10, w8, [x9]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ZIP_ER_INVAL,4,2               ; @ZIP_ER_INVAL
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_ZIP_ER_SEEK,4,2                ; @ZIP_ER_SEEK
	.comm	_errno,4,2                      ; @errno
	.comm	_ZIP_ER_READ,4,2                ; @ZIP_ER_READ
	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
	.comm	_ZIP_EF_LOCAL,4,2               ; @ZIP_EF_LOCAL
.subsections_via_symbols
