	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__zip_read_data                 ## -- Begin function _zip_read_data
	.p2align	4, 0x90
__zip_read_data:                        ## @_zip_read_data
	.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	%ecx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %r14
	xorl	%r15d, %r15d
	testq	%rdx, %rdx
	jne	LBB0_2
## %bb.1:
	testl	%r12d, %r12d
	je	LBB0_33
LBB0_2:
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	cmpl	$1, %r12d
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rdi
	sbbq	$-1, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rbx
	testq	%r14, %r14
	je	LBB0_30
## %bb.5:
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_memcpy
	addq	%r15, (%r14)
	jmp	LBB0_6
LBB0_3:
	movq	_ZIP_ER_MEMORY@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_30:
	movq	%rbx, %rdi
	movl	$1, %esi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	%r13, %rcx
	callq	_fread
	cmpq	%r15, %rax
	jae	LBB0_6
## %bb.31:
	movq	%rbx, %rdi
	callq	_free
	movq	%r13, %rdi
	callq	_ferror
	xorl	%r15d, %r15d
	testq	%rax, %rax
	movq	_errno@GOTPCREL(%rip), %rax
	cmovnel	(%rax), %r15d
	movq	_ZIP_ER_READ@GOTPCREL(%rip), %rax
	cmoveq	_ZIP_ER_INCONS@GOTPCREL(%rip), %rax
LBB0_32:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rax), %esi
	movl	%r15d, %edx
	callq	__zip_error_set
LBB0_33:
	xorl	%ebx, %ebx
LBB0_74:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	testl	%r12d, %r12d
	je	LBB0_74
## %bb.7:
	movb	$0, (%rbx,%r15)
	testq	%r15, %r15
	jle	LBB0_74
## %bb.8:
	addq	%rbx, %r15
	leaq	1(%rbx), %rax
	cmpq	%rax, %r15
	cmovaq	%r15, %rax
	subq	%rbx, %rax
	movq	%rbx, %rdx
	cmpq	$8, %rax
	jb	LBB0_71
## %bb.9:
	cmpq	$16, %rax
	jae	LBB0_34
## %bb.10:
	xorl	%ecx, %ecx
LBB0_11:
	movq	%rax, %rsi
	andq	$-8, %rsi
	movq	%rbx, %rdx
	addq	%rsi, %rdx
	pxor	%xmm0, %xmm0
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_12 Depth=1
	addq	$8, %rcx
	cmpq	%rcx, %rsi
	je	LBB0_29
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%rcx), %xmm1              ## xmm1 = mem[0],zero
	pcmpeqb	%xmm0, %xmm1
	movd	%xmm1, %edi
	testb	$1, %dil
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movb	$32, (%rbx,%rcx)
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	pextrb	$1, %xmm1, %edi
	testb	$1, %dil
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movb	$32, 1(%rbx,%rcx)
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	pextrb	$2, %xmm1, %edi
	testb	$1, %dil
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	movb	$32, 2(%rbx,%rcx)
LBB0_18:                                ##   in Loop: Header=BB0_12 Depth=1
	pextrb	$3, %xmm1, %edi
	testb	$1, %dil
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_12 Depth=1
	movb	$32, 3(%rbx,%rcx)
LBB0_20:                                ##   in Loop: Header=BB0_12 Depth=1
	pextrb	$4, %xmm1, %edi
	testb	$1, %dil
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_12 Depth=1
	movb	$32, 4(%rbx,%rcx)
LBB0_22:                                ##   in Loop: Header=BB0_12 Depth=1
	pextrb	$5, %xmm1, %edi
	testb	$1, %dil
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_12 Depth=1
	movb	$32, 5(%rbx,%rcx)
LBB0_24:                                ##   in Loop: Header=BB0_12 Depth=1
	pextrb	$6, %xmm1, %edi
	testb	$1, %dil
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_12 Depth=1
	movb	$32, 6(%rbx,%rcx)
LBB0_26:                                ##   in Loop: Header=BB0_12 Depth=1
	pextrb	$7, %xmm1, %edi
	testb	$1, %dil
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_12 Depth=1
	movb	$32, 7(%rbx,%rcx)
	jmp	LBB0_28
LBB0_29:
	cmpq	%rsi, %rax
	jne	LBB0_71
	jmp	LBB0_74
LBB0_34:
	movq	%rax, %rcx
	andq	$-16, %rcx
	xorl	%edx, %edx
	pxor	%xmm0, %xmm0
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_67:                                ##   in Loop: Header=BB0_35 Depth=1
	addq	$16, %rdx
	cmpq	%rdx, %rcx
	je	LBB0_68
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rbx,%rdx), %xmm1
	pcmpeqb	%xmm0, %xmm1
	movd	%xmm1, %esi
	testb	$1, %sil
	je	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=1
	movb	$32, (%rbx,%rdx)
LBB0_37:                                ##   in Loop: Header=BB0_35 Depth=1
	pextrb	$1, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_35 Depth=1
	movb	$32, 1(%rbx,%rdx)
LBB0_39:                                ##   in Loop: Header=BB0_35 Depth=1
	pextrb	$2, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_35 Depth=1
	movb	$32, 2(%rbx,%rdx)
LBB0_41:                                ##   in Loop: Header=BB0_35 Depth=1
	pextrb	$3, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_35 Depth=1
	movb	$32, 3(%rbx,%rdx)
LBB0_43:                                ##   in Loop: Header=BB0_35 Depth=1
	pextrb	$4, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_35 Depth=1
	movb	$32, 4(%rbx,%rdx)
LBB0_45:                                ##   in Loop: Header=BB0_35 Depth=1
	pextrb	$5, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_35 Depth=1
	movb	$32, 5(%rbx,%rdx)
LBB0_47:                                ##   in Loop: Header=BB0_35 Depth=1
	pextrb	$6, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_49
## %bb.48:                              ##   in Loop: Header=BB0_35 Depth=1
	movb	$32, 6(%rbx,%rdx)
LBB0_49:                                ##   in Loop: Header=BB0_35 Depth=1
	pextrb	$7, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_51
## %bb.50:                              ##   in Loop: Header=BB0_35 Depth=1
	movb	$32, 7(%rbx,%rdx)
LBB0_51:                                ##   in Loop: Header=BB0_35 Depth=1
	pextrb	$8, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_53
## %bb.52:                              ##   in Loop: Header=BB0_35 Depth=1
	movb	$32, 8(%rbx,%rdx)
LBB0_53:                                ##   in Loop: Header=BB0_35 Depth=1
	pextrb	$9, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_55
## %bb.54:                              ##   in Loop: Header=BB0_35 Depth=1
	movb	$32, 9(%rbx,%rdx)
LBB0_55:                                ##   in Loop: Header=BB0_35 Depth=1
	pextrb	$10, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_57
## %bb.56:                              ##   in Loop: Header=BB0_35 Depth=1
	movb	$32, 10(%rbx,%rdx)
LBB0_57:                                ##   in Loop: Header=BB0_35 Depth=1
	pextrb	$11, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_59
## %bb.58:                              ##   in Loop: Header=BB0_35 Depth=1
	movb	$32, 11(%rbx,%rdx)
LBB0_59:                                ##   in Loop: Header=BB0_35 Depth=1
	pextrb	$12, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_61
## %bb.60:                              ##   in Loop: Header=BB0_35 Depth=1
	movb	$32, 12(%rbx,%rdx)
LBB0_61:                                ##   in Loop: Header=BB0_35 Depth=1
	pextrb	$13, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_63
## %bb.62:                              ##   in Loop: Header=BB0_35 Depth=1
	movb	$32, 13(%rbx,%rdx)
LBB0_63:                                ##   in Loop: Header=BB0_35 Depth=1
	pextrb	$14, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_65
## %bb.64:                              ##   in Loop: Header=BB0_35 Depth=1
	movb	$32, 14(%rbx,%rdx)
LBB0_65:                                ##   in Loop: Header=BB0_35 Depth=1
	pextrb	$15, %xmm1, %esi
	testb	$1, %sil
	je	LBB0_67
## %bb.66:                              ##   in Loop: Header=BB0_35 Depth=1
	movb	$32, 15(%rbx,%rdx)
	jmp	LBB0_67
LBB0_68:
	cmpq	%rcx, %rax
	je	LBB0_74
## %bb.69:
	testb	$8, %al
	jne	LBB0_11
## %bb.70:
	movq	%rbx, %rdx
	addq	%rcx, %rdx
	jmp	LBB0_71
	.p2align	4, 0x90
LBB0_73:                                ##   in Loop: Header=BB0_71 Depth=1
	incq	%rdx
	cmpq	%r15, %rdx
	jae	LBB0_74
LBB0_71:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%rdx)
	jne	LBB0_73
## %bb.72:                              ##   in Loop: Header=BB0_71 Depth=1
	movb	$32, (%rdx)
	jmp	LBB0_73
	.cfi_endproc
                                        ## -- End function
	.comm	_ZIP_ER_MEMORY,4,2              ## @ZIP_ER_MEMORY
	.comm	_ZIP_ER_READ,4,2                ## @ZIP_ER_READ
	.comm	_errno,4,2                      ## @errno
	.comm	_ZIP_ER_INCONS,4,2              ## @ZIP_ER_INCONS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__zip_read_data                 ; -- Begin function _zip_read_data
	.p2align	2
__zip_read_data:                        ; @_zip_read_data
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x4
	mov	x22, x3
	mov	x21, x2
	mov	x23, x1
	mov	x24, x0
	cbnz	x2, LBB0_2
; %bb.1:
	cbz	w22, LBB0_9
LBB0_2:
	cmp	w22, #0
	cinc	x0, x21, ne
	bl	_malloc
	cbz	x0, LBB0_5
; %bb.3:
	mov	x19, x0
	cbz	x24, LBB0_6
; %bb.4:
	ldr	x1, [x24]
	mov	x0, x19
	mov	x2, x21
	bl	_memcpy
	ldr	x8, [x24]
	add	x8, x8, x21
	str	x8, [x24]
	b	LBB0_11
LBB0_5:
	mov	w2, #0
Lloh0:
	adrp	x8, _ZIP_ER_MEMORY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZIP_ER_MEMORY@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	mov	x0, x19
	mov	w1, #1
	mov	x2, x21
	mov	x3, x23
	bl	_fread
	cmp	x0, x21
	b.hs	LBB0_11
; %bb.7:
	mov	x0, x19
	bl	_free
	mov	x0, x23
	bl	_ferror
Lloh2:
	adrp	x8, _errno@GOTPAGE
Lloh3:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh4:
	adrp	x9, _ZIP_ER_READ@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ZIP_ER_READ@GOTPAGEOFF]
Lloh6:
	ldr	w10, [x8]
Lloh7:
	adrp	x8, _ZIP_ER_INCONS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ZIP_ER_INCONS@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	csel	w2, wzr, w10, eq
LBB0_8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	__zip_error_set
LBB0_9:
	mov	x19, #0
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
	cbz	w22, LBB0_10
; %bb.12:
	add	x8, x19, x21
	strb	wzr, [x8]
	cmp	x21, #1
	b.lt	LBB0_10
; %bb.13:
	add	x9, x19, #1
	cmp	x8, x9
	csinc	x9, x8, x19, hi
	sub	x10, x9, x19
	mov	x9, x19
	cmp	x10, #8
	b.lo	LBB0_33
; %bb.14:
	mov	x12, #0
	and	x11, x10, #0xfffffffffffffff8
	add	x9, x19, x11
	mov	w13, #32
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x12, x12, #8
	cmp	x11, x12
	b.eq	LBB0_32
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x19, x12]
	cmeq.8b	v0, v0, #0
	umov.b	w14, v0[0]
	tbnz	w14, #0, LBB0_24
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	umov.b	w14, v0[1]
	tbnz	w14, #0, LBB0_25
LBB0_18:                                ;   in Loop: Header=BB0_16 Depth=1
	umov.b	w14, v0[2]
	tbnz	w14, #0, LBB0_26
LBB0_19:                                ;   in Loop: Header=BB0_16 Depth=1
	umov.b	w14, v0[3]
	tbnz	w14, #0, LBB0_27
LBB0_20:                                ;   in Loop: Header=BB0_16 Depth=1
	umov.b	w14, v0[4]
	tbnz	w14, #0, LBB0_28
LBB0_21:                                ;   in Loop: Header=BB0_16 Depth=1
	umov.b	w14, v0[5]
	tbnz	w14, #0, LBB0_29
LBB0_22:                                ;   in Loop: Header=BB0_16 Depth=1
	umov.b	w14, v0[6]
	tbnz	w14, #0, LBB0_30
LBB0_23:                                ;   in Loop: Header=BB0_16 Depth=1
	umov.b	w14, v0[7]
	tbz	w14, #0, LBB0_15
	b	LBB0_31
LBB0_24:                                ;   in Loop: Header=BB0_16 Depth=1
	strb	w13, [x19, x12]
	umov.b	w14, v0[1]
	tbz	w14, #0, LBB0_18
LBB0_25:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x14, x19, x12
	strb	w13, [x14, #1]
	umov.b	w14, v0[2]
	tbz	w14, #0, LBB0_19
LBB0_26:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x14, x19, x12
	strb	w13, [x14, #2]
	umov.b	w14, v0[3]
	tbz	w14, #0, LBB0_20
LBB0_27:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x14, x19, x12
	strb	w13, [x14, #3]
	umov.b	w14, v0[4]
	tbz	w14, #0, LBB0_21
LBB0_28:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x14, x19, x12
	strb	w13, [x14, #4]
	umov.b	w14, v0[5]
	tbz	w14, #0, LBB0_22
LBB0_29:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x14, x19, x12
	strb	w13, [x14, #5]
	umov.b	w14, v0[6]
	tbz	w14, #0, LBB0_23
LBB0_30:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x14, x19, x12
	strb	w13, [x14, #6]
	umov.b	w14, v0[7]
	tbz	w14, #0, LBB0_15
LBB0_31:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x14, x19, x12
	strb	w13, [x14, #7]
	b	LBB0_15
LBB0_32:
	cmp	x10, x11
	b.eq	LBB0_10
LBB0_33:
	mov	w10, #32
	b	LBB0_35
LBB0_34:                                ;   in Loop: Header=BB0_35 Depth=1
	add	x9, x9, #1
	cmp	x9, x8
	b.hs	LBB0_10
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x9]
	cbnz	w11, LBB0_34
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=1
	strb	w10, [x9]
	b	LBB0_34
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ZIP_ER_MEMORY,4,2              ; @ZIP_ER_MEMORY
	.comm	_ZIP_ER_READ,4,2                ; @ZIP_ER_READ
	.comm	_errno,4,2                      ; @errno
	.comm	_ZIP_ER_INCONS,4,2              ; @ZIP_ER_INCONS
.subsections_via_symbols
