	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crc_read
_crc_read:                              ## @crc_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	%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
                                        ## kill: def $r8d killed $r8d def $r8
	addl	$-128, %r8d
	cmpl	$5, %r8d
	ja	LBB0_14
## %bb.1:
	movq	%rdx, %rbx
	movq	%rsi, %r15
	xorl	%r14d, %r14d
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r8,4), %rdx
	addq	%rax, %rdx
	jmpq	*%rdx
LBB0_19:
	cmpl	$0, (%r15)
	je	LBB0_23
## %bb.20:
	movl	16(%r15), %eax
	movl	%eax, 24(%rbx)
	movq	24(%r15), %rcx
	movq	%rcx, 16(%rbx)
	movl	%eax, 12(%rbx)
	movq	_ZIP_CM_STORE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_ZIP_EM_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_ZIP_STAT_SIZE@GOTPCREL(%rip), %rax
	movq	_ZIP_STAT_CRC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_ZIP_STAT_COMP_SIZE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_ZIP_STAT_COMP_METHOD@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_ZIP_STAT_ENCRYPTION_METHOD@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	orl	%ecx, (%rbx)
	jmp	LBB0_23
LBB0_3:
	testl	%ecx, %ecx
	je	LBB0_23
## %bb.4:
	cmpl	$0, (%r15)
	jne	LBB0_23
## %bb.5:
	movq	%rdi, %r12
	movq	%rbx, %rsi
	movl	%ecx, %edx
	callq	_zip_source_read
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	je	LBB0_8
## %bb.18:
	movl	%eax, %r13d
	addl	%eax, 16(%r15)
	movq	24(%r15), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_crc32
	cltq
	movq	%rax, 24(%r15)
	movl	%r13d, %r14d
	jmp	LBB0_23
LBB0_2:
	movl	$0, (%r15)
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_crc32
	cltq
	movq	%rax, 24(%r15)
	movl	$0, 16(%r15)
	jmp	LBB0_23
LBB0_22:
	movq	%r15, %rdi
	callq	_free
	jmp	LBB0_23
LBB0_21:
	movq	8(%r15), %rsi
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_memcpy
	jmp	LBB0_23
LBB0_8:
	movl	$1, (%r15)
	cmpl	$0, 32(%r15)
	je	LBB0_23
## %bb.9:
	leaq	-72(%rbp), %rsi
	movq	%r12, %rdi
	callq	_zip_source_stat
	testl	%eax, %eax
	js	LBB0_6
## %bb.10:
	movl	-72(%rbp), %eax
	movq	_ZIP_STAT_CRC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
## %bb.11:
	movq	-56(%rbp), %rcx
	cmpq	24(%r15), %rcx
	je	LBB0_15
## %bb.12:
	movq	_ZIP_ER_CRC@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_6:
	movq	_ZIP_SOURCE_ERR_LOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_23
LBB0_15:
	movq	_ZIP_STAT_SIZE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_23
## %bb.16:
	movl	-48(%rbp), %eax
	cmpl	16(%r15), %eax
	je	LBB0_23
## %bb.17:
	movq	_ZIP_ER_INCONS@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
	movq	8(%r15), %rcx
	movl	%eax, (%rcx)
	movl	$0, 4(%rcx)
LBB0_14:
	movl	$-1, %r14d
LBB0_23:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
LJTI0_0:
	.long	L0_0_set_19
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_22
	.long	L0_0_set_21
	.long	L0_0_set_23
	.end_data_region
                                        ## -- End function
	.comm	_ZIP_SOURCE_ERR_LOWER,4,2       ## @ZIP_SOURCE_ERR_LOWER
	.comm	_ZIP_STAT_CRC,4,2               ## @ZIP_STAT_CRC
	.comm	_ZIP_ER_CRC,4,2                 ## @ZIP_ER_CRC
	.comm	_ZIP_STAT_SIZE,4,2              ## @ZIP_STAT_SIZE
	.comm	_ZIP_ER_INCONS,4,2              ## @ZIP_ER_INCONS
	.comm	_ZIP_CM_STORE,4,2               ## @ZIP_CM_STORE
	.comm	_ZIP_EM_NONE,4,2                ## @ZIP_EM_NONE
	.comm	_ZIP_STAT_COMP_SIZE,4,2         ## @ZIP_STAT_COMP_SIZE
	.comm	_ZIP_STAT_COMP_METHOD,4,2       ## @ZIP_STAT_COMP_METHOD
	.comm	_ZIP_STAT_ENCRYPTION_METHOD,4,2 ## @ZIP_STAT_ENCRYPTION_METHOD
	.no_dead_strip	_crc_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crc_read
_crc_read:                              ; @crc_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	sub	w8, w4, #128
	cmp	w8, #5
	b.hi	LBB0_23
; %bb.1:
	mov	x21, x2
	mov	x19, x1
	mov	w20, #0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x19]
	cbz	w8, LBB0_12
; %bb.3:
	mov	w20, #0
	ldr	w8, [x19, #16]
	str	w8, [x21, #24]
	ldr	x9, [x19, #24]
Lloh2:
	adrp	x10, _ZIP_CM_STORE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _ZIP_CM_STORE@GOTPAGEOFF]
	str	x9, [x21, #16]
Lloh4:
	ldr	w9, [x10]
	stp	w9, w8, [x21, #8]
Lloh5:
	adrp	x8, _ZIP_STAT_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ZIP_STAT_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _ZIP_STAT_CRC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ZIP_STAT_CRC@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, _ZIP_STAT_COMP_SIZE@GOTPAGE
Lloh12:
	ldr	x10, [x10, _ZIP_STAT_COMP_SIZE@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh13:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh14:
	adrp	x9, _ZIP_STAT_COMP_METHOD@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ZIP_STAT_COMP_METHOD@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh17:
	adrp	x9, _ZIP_STAT_ENCRYPTION_METHOD@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ZIP_STAT_ENCRYPTION_METHOD@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldr	w9, [x21]
	orr	w8, w8, w9
Lloh20:
	adrp	x9, _ZIP_EM_NONE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ZIP_EM_NONE@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	stp	w8, w9, [x21]
	b	LBB0_24
LBB0_4:
	mov	w20, #0
	cbz	w3, LBB0_24
; %bb.5:
	ldr	w8, [x19]
	cbnz	w8, LBB0_24
; %bb.6:
	mov	x22, x0
	mov	x1, x21
	mov	x2, x3
	bl	_zip_source_read
	tbnz	w0, #31, LBB0_18
; %bb.7:
	mov	x20, x0
	cbz	w0, LBB0_13
; %bb.8:
	ldr	w8, [x19, #16]
	add	w8, w8, w20
	str	w8, [x19, #16]
	ldr	x0, [x19, #24]
	mov	x1, x21
	mov	x2, x20
	bl	_crc32
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x8, [x19, #24]
	b	LBB0_24
LBB0_9:
	str	wzr, [x19]
	mov	x0, #0
	mov	x1, #0
	mov	w2, #0
	bl	_crc32
                                        ; kill: def $w0 killed $w0 def $x0
	mov	w20, #0
	sxtw	x8, w0
	str	x8, [x19, #24]
	str	wzr, [x19, #16]
	b	LBB0_24
LBB0_10:
	mov	x0, x19
	bl	_free
	b	LBB0_12
LBB0_11:
	ldr	x1, [x19, #8]
	mov	x0, x21
	mov	w2, #8
	bl	_memcpy
LBB0_12:
	mov	w20, #0
	b	LBB0_24
LBB0_13:
	mov	w8, #1
	str	w8, [x19]
	ldr	w8, [x19, #32]
	cbz	w8, LBB0_12
; %bb.14:
	mov	x1, sp
	mov	x0, x22
	bl	_zip_source_stat
	tbnz	w0, #31, LBB0_18
; %bb.15:
	ldr	w8, [sp]
Lloh23:
	adrp	x9, _ZIP_STAT_CRC@GOTPAGE
Lloh24:
	ldr	x9, [x9, _ZIP_STAT_CRC@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.16:
	ldr	x9, [sp, #16]
	ldr	x10, [x19, #24]
	cmp	x9, x10
	b.eq	LBB0_19
; %bb.17:
Lloh26:
	adrp	x8, _ZIP_ER_CRC@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ZIP_ER_CRC@GOTPAGEOFF]
	b	LBB0_22
LBB0_18:
Lloh28:
	adrp	x8, _ZIP_SOURCE_ERR_LOWER@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ZIP_SOURCE_ERR_LOWER@GOTPAGEOFF]
Lloh30:
	ldr	w20, [x8]
	b	LBB0_24
LBB0_19:
Lloh31:
	adrp	x9, _ZIP_STAT_SIZE@GOTPAGE
Lloh32:
	ldr	x9, [x9, _ZIP_STAT_SIZE@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.20:
	ldr	w8, [sp, #24]
	ldr	w9, [x19, #16]
	cmp	w8, w9
	b.eq	LBB0_12
; %bb.21:
Lloh34:
	adrp	x8, _ZIP_ER_INCONS@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ZIP_ER_INCONS@GOTPAGEOFF]
LBB0_22:
	ldr	w8, [x8]
	ldr	x9, [x19, #8]
	stp	w8, wzr, [x9]
LBB0_23:
	mov	w20, #-1
LBB0_24:
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_24-LBB0_2)>>2
                                        ; -- End function
	.comm	_ZIP_SOURCE_ERR_LOWER,4,2       ; @ZIP_SOURCE_ERR_LOWER
	.comm	_ZIP_STAT_CRC,4,2               ; @ZIP_STAT_CRC
	.comm	_ZIP_ER_CRC,4,2                 ; @ZIP_ER_CRC
	.comm	_ZIP_STAT_SIZE,4,2              ; @ZIP_STAT_SIZE
	.comm	_ZIP_ER_INCONS,4,2              ; @ZIP_ER_INCONS
	.comm	_ZIP_CM_STORE,4,2               ; @ZIP_CM_STORE
	.comm	_ZIP_EM_NONE,4,2                ; @ZIP_EM_NONE
	.comm	_ZIP_STAT_COMP_SIZE,4,2         ; @ZIP_STAT_COMP_SIZE
	.comm	_ZIP_STAT_COMP_METHOD,4,2       ; @ZIP_STAT_COMP_METHOD
	.comm	_ZIP_STAT_ENCRYPTION_METHOD,4,2 ; @ZIP_STAT_ENCRYPTION_METHOD
	.no_dead_strip	_crc_read
.subsections_via_symbols
