	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_compute_crc32                  ## -- Begin function compute_crc32
	.p2align	4, 0x90
_compute_crc32:                         ## @compute_crc32
	.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
	pushq	%rax
	movl	$4104, %eax                     ## imm = 0x1008
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rsi, %r15
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movl	%eax, %edx
	callq	_fseek
	testq	%r15, %r15
	je	LBB0_10
## %bb.1:
	movq	%r15, %rdi
	callq	_feof
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	leaq	-4144(%rbp), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_ferror
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$4096, %r13                     ## imm = 0x1000
	jb	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$4096, %edx                     ## imm = 0x1000
	movq	%r12, %rdi
	movl	$4, %esi
	movq	%r15, %rcx
	callq	_fread
	movq	%rax, %rbx
	movl	%r14d, %edi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_cyg_crc32_accumulate
	movl	%eax, %r14d
	subq	%rbx, %r13
	movq	%r15, %rdi
	callq	_feof
	testl	%eax, %eax
	je	LBB0_3
LBB0_6:
	movq	%r15, %rdi
	callq	_feof
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	movq	%r15, %rdi
	callq	_ferror
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:
	testq	%r13, %r13
	je	LBB0_10
## %bb.9:
	leaq	-4144(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$4, %esi
	movq	%r13, %rdx
	movq	%r15, %rcx
	callq	_fread
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_cyg_crc32_accumulate
	movl	%eax, %r14d
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	%r14d, %eax
	addq	$4104, %rsp                     ## imm = 0x1008
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_compute_crc32                  ; -- Begin function compute_crc32
	.p2align	2
_compute_crc32:                         ; @compute_crc32
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -56
	.cfi_offset w28, -64
	mov	w9, #4112
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #16
	mov	x20, x3
	mov	x8, x2
	mov	x21, x1
	mov	x19, x0
Lloh2:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	stur	x9, [x29, #-56]
Lloh5:
	adrp	x9, _SEEK_SET@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SEEK_SET@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x9]
	mov	x0, x1
	mov	x1, x8
	bl	_fseek
	cbz	x21, LBB0_9
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_feof
	cbnz	w0, LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	bl	_ferror
	cbnz	w0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	x20, #1, lsl #12                ; =4096
	b.lo	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x0, sp, #8
	mov	w1, #4
	mov	w2, #4096
	mov	x3, x21
	bl	_fread
	mov	x22, x0
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x22
	bl	_cyg_crc32_accumulate
	mov	x19, x0
	sub	x20, x20, x22
	b	LBB0_1
LBB0_5:
	mov	x0, x21
	bl	_feof
	cbnz	w0, LBB0_9
; %bb.6:
	mov	x0, x21
	bl	_ferror
	cbnz	w0, LBB0_9
; %bb.7:
	cbz	x20, LBB0_9
; %bb.8:
	add	x0, sp, #8
	mov	w1, #4
	mov	x2, x20
	mov	x3, x21
	bl	_fread
	mov	x2, x0
	add	x1, sp, #8
	mov	x0, x19
	bl	_cyg_crc32_accumulate
	mov	x19, x0
LBB0_9:
	ldur	x8, [x29, #-56]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x19
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #16
	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	x28, x27, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
.subsections_via_symbols
