	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__zip_filerange_crc             ## -- Begin function _zip_filerange_crc
	.p2align	4, 0x90
__zip_filerange_crc:                    ## @_zip_filerange_crc
	.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
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BUFSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_Z_NULL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_crc32
	movq	%rax, (%r15)
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_fseeko
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	_ZIP_ER_SEEK@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	__zip_error_set
	movl	$-1, %eax
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_BUFSIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdx
	cmpq	%rdx, %r13
	cmovlq	%r13, %rdx
	movq	%r14, %rdi
	movl	$1, %esi
	movq	%r12, %rcx
	callq	_fread
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rbx
	movq	(%r15), %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_crc32
	movq	%rax, (%r15)
	subq	%rbx, %r13
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r13, %r13
	jg	LBB0_2
## %bb.7:
	xorl	%eax, %eax
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_10
## %bb.9:
                                        ## kill: def $eax killed $eax killed $rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_ZIP_ER_READ@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFSIZE,4,2                    ## @BUFSIZE
	.comm	_Z_NULL,8,3                     ## @Z_NULL
	.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
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__zip_filerange_crc             ; -- Begin function _zip_filerange_crc
	.p2align	2
__zip_filerange_crc:                    ; @_zip_filerange_crc
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x24, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x25, _BUFSIZE@GOTPAGE
Lloh4:
	ldr	x25, [x25, _BUFSIZE@GOTPAGEOFF]
	ldr	w8, [x25]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
Lloh7:
	adrp	x8, _Z_NULL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _Z_NULL@GOTPAGEOFF]
Lloh9:
	ldr	x1, [x8]
	mov	x0, #0
	mov	w2, #0
	bl	_crc32
	str	x0, [x20]
Lloh10:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x22
	mov	x1, x24
	bl	_fseeko
	cbz	x0, LBB0_3
; %bb.1:
Lloh13:
	adrp	x8, _ZIP_ER_SEEK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ZIP_ER_SEEK@GOTPAGEOFF]
LBB0_2:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _errno@GOTPAGE
Lloh16:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	bl	__zip_error_set
	mov	w0, #-1
	b	LBB0_7
LBB0_3:
	cmp	x21, #1
	b.lt	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x25]
	cmp	x21, x8
	csel	x2, x21, x8, lt
	mov	x0, x23
	mov	w1, #1
	mov	x3, x22
	bl	_fread
	cbz	x0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x0
	ldr	x0, [x20]
	mov	x1, x23
	mov	x2, x24
	bl	_crc32
	str	x0, [x20]
	sub	x21, x21, x24
	cmp	x21, #0
	b.gt	LBB0_4
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldur	x8, [x29, #-72]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.8:
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh21:
	adrp	x8, _ZIP_ER_READ@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ZIP_ER_READ@GOTPAGEOFF]
	b	LBB0_2
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFSIZE,4,2                    ; @BUFSIZE
	.comm	_Z_NULL,8,3                     ; @Z_NULL
	.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
.subsections_via_symbols
