	.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	%rdx, %rbx
	movq	%rsi, %r15
	movl	%edi, %r13d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.1:
	cmpq	$4096, %rbx                     ## imm = 0x1000
	jb	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$4096, %edx                     ## imm = 0x1000
	movl	%ecx, %edi
	leaq	-4144(%rbp), %rsi
	movl	%ecx, %r14d
	movq	%r15, %rcx
	callq	_pread
	movq	%rax, %r12
	movl	%r13d, %edi
	leaq	-4144(%rbp), %rsi
	movq	%rax, %rdx
	callq	_crc32
	movl	%r14d, %ecx
	movl	%eax, %r13d
	subq	%r12, %rbx
	addq	%r12, %r15
	cmpq	$4095, %rbx                     ## imm = 0xFFF
	ja	LBB0_2
LBB0_3:
	testl	%ecx, %ecx
	je	LBB0_6
## %bb.4:
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.5:
	leaq	-4144(%rbp), %r12
	movl	%ecx, %edi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_pread
	movl	%r13d, %edi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_crc32
	movl	%eax, %r13d
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movl	%r13d, %eax
	addq	$4104, %rsp                     ## imm = 0x1008
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.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	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	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	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	cbz	w3, LBB0_3
; %bb.1:
	cmp	x21, #1, lsl #12                ; =4096
	b.lo	LBB0_3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #4096
	mov	x3, x22
	bl	_pread
	mov	x23, x0
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x23
	bl	_crc32
	mov	x19, x0
	sub	x21, x21, x23
	add	x22, x23, x22
	cmp	x21, #4095
	b.hi	LBB0_2
LBB0_3:
	cbz	w20, LBB0_6
; %bb.4:
	cbz	x21, LBB0_6
; %bb.5:
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x21
	mov	x3, x22
	bl	_pread
	mov	x2, x0
	add	x1, sp, #8
	mov	x0, x19
	bl	_crc32
	mov	x19, x0
LBB0_6:
	ldur	x8, [x29, #-56]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	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	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
