	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_pack_crc                 ## -- Begin function check_pack_crc
	.p2align	4, 0x90
_check_pack_crc:                        ## @check_pack_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
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %rbx
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_crc32
	movq	%rax, %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_crc32
	movq	%rax, %r12
	movq	-48(%rbp), %rax
	addq	%rax, %r13
	subq	%rax, %rbx
	je	LBB0_4
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	leaq	-48(%rbp), %rcx
	callq	_use_pack
	movq	-48(%rbp), %rdx
	cmpq	%rbx, %rdx
	jbe	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, -48(%rbp)
	movq	%rbx, %rdx
	jmp	LBB0_3
LBB0_4:
	movq	(%r15), %rax
	movq	_the_hash_algo@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %ecx
	leal	3(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$2, %edx
	imull	8(%r15), %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addl	%edx, %ecx
	addl	$258, %ecx                      ## imm = 0x102
	movq	(%rax,%rcx,8), %rdi
	callq	_ntohl
	xorl	%ecx, %ecx
	cmpq	%rax, %r12
	setne	%cl
	movl	%ecx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_the_hash_algo,8,3              ## @the_hash_algo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_pack_crc                 ; -- Begin function check_pack_crc
	.p2align	2
_check_pack_crc:                        ; @check_pack_crc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x4
	mov	x21, x3
	mov	x23, x2
	mov	x24, x1
	mov	x22, x0
	mov	x0, #0
	mov	x1, #0
	mov	x2, #0
	bl	_crc32
	mov	x20, x0
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_crc32
	mov	x20, x0
	ldr	x8, [sp, #8]
	add	x23, x8, x23
	subs	x21, x21, x8
	b.eq	LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x24
	mov	x2, x23
	bl	_use_pack
	mov	x1, x0
	ldr	x2, [sp, #8]
	cmp	x2, x21
	b.ls	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	str	x21, [sp, #8]
	mov	x2, x21
	b	LBB0_1
LBB0_4:
	ldr	x8, [x22]
	ldr	w9, [x22, #8]
Lloh0:
	adrp	x10, _the_hash_algo@GOTPAGE
Lloh1:
	ldr	x10, [x10, _the_hash_algo@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	ldr	w10, [x10]
	add	w11, w10, #3
	cmp	w10, #0
	csel	w10, w11, w10, lt
	asr	w10, w10, #2
	madd	w9, w10, w9, w19
	add	w9, w9, #258
	ldr	x0, [x8, w9, uxtw #3]
	bl	_ntohl
	cmp	x20, x0
	cset	w0, ne
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_the_hash_algo,8,3              ; @the_hash_algo
.subsections_via_symbols
