	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crc_final
_crc_final:                             ## @crc_final
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	(%rdi), %ebx
	movl	$1, %edi
	callq	_UTCRC_C
                                        ## kill: def $eax killed $eax def $rax
	movl	4(%r15), %edx
	leal	-1(%rdx), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	leal	(%rax,%rax), %r13d
	decl	%r13d
	andl	%ebx, %r13d
	cmpq	$0, 16(%r15)
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_6
## %bb.1:
	cmpl	$2, %edx
	jl	LBB0_6
## %bb.2:
	xorl	%r12d, %r12d
	movl	$-1, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%r12d
	movl	%edx, %eax
	sarl	%eax
	decl	%r14d
	cmpl	%eax, %r12d
	jge	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %eax
	movl	%r12d, %ecx
	shrl	%cl, %eax
	leal	(%rdx,%r14), %ecx
	movl	%r13d, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %esi
	xorl	%eax, %esi
	testb	$1, %sil
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %edi
	callq	_UTCRC_C
	movl	%eax, %ebx
	movl	%r12d, %ecx
	shll	%cl, %ebx
	movl	$1, %edi
	callq	_UTCRC_C
	movl	4(%r15), %edx
	leal	(%r14,%rdx), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	xorl	%r13d, %ebx
	xorl	%eax, %ebx
	movl	%ebx, %r13d
	jmp	LBB0_5
LBB0_6:
	xorl	8(%r15), %r13d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r13d, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_crc_final
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crc_final
_crc_final:                             ; @crc_final
	.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	x19, x1
	mov	x20, x0
	ldr	w21, [x0]
	mov	w0, #1
	bl	_UTCRC_C
	ldr	w8, [x20, #4]
	sub	w9, w8, #1
	lsl	w9, w0, w9
	lsl	w9, w9, #1
	sub	w9, w9, #1
	and	w21, w9, w21
	ldr	x9, [x20, #16]
	cmp	x9, #0
	ccmp	w8, #2, #8, ne
	b.ge	LBB0_2
LBB0_1:
	ldr	w8, [x20, #8]
	eor	w8, w8, w21
	str	w8, [x19]
	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_2:
	mov	w22, #0
	mov	w23, #-1
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w22, w22, #1
	sub	w23, w23, #1
	cmp	w22, w8, asr #1
	b.ge	LBB0_1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w9, w21, w22
	add	w10, w8, w23
	lsr	w10, w21, w10
	eor	w9, w10, w9
	tbz	w9, #0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
	bl	_UTCRC_C
	lsl	w24, w0, w22
	mov	w0, #1
	bl	_UTCRC_C
	ldr	w8, [x20, #4]
	add	w9, w23, w8
	lsl	w9, w0, w9
	eor	w10, w24, w21
	eor	w21, w10, w9
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_crc_final
.subsections_via_symbols
