	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_crc                         ## -- Begin function av_crc
	.p2align	4, 0x90
_av_crc:                                ## @av_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r14
	leaq	(%rdx,%rcx,8), %r12
	cmpl	$0, 1024(%rdi)
	jne	LBB0_9
## %bb.1:
	testb	$3, %r15b
	je	LBB0_5
## %bb.2:
	testq	%rcx, %rcx
	jle	LBB0_5
## %bb.3:
	leaq	8(%r15), %rax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ebx, %rbx
	movq	(%r15), %rcx
	xorq	%rbx, %rcx
	addq	$8, %r15
	sarl	$8, %ebx
	xorl	(%r14,%rcx,4), %ebx
	testb	$3, %al
	je	LBB0_5
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	addq	$8, %rax
	cmpq	%r12, %r15
	jb	LBB0_4
LBB0_5:
	leaq	-24(%r12), %r13
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r13, %r15
	jae	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r15), %edi
	callq	_av_le2ne32
	xorl	%ebx, %eax
	addq	$32, %r15
	movzbl	%al, %ecx
	orl	$768, %ecx                      ## imm = 0x300
	movzbl	%ah, %edx
	orl	$512, %edx                      ## imm = 0x200
	movl	(%r14,%rdx,4), %ebx
	xorl	(%r14,%rcx,4), %ebx
	movl	%eax, %ecx
	shrl	$16, %ecx
	movzbl	%cl, %ecx
	orl	$256, %ecx                      ## imm = 0x100
	xorl	(%r14,%rcx,4), %ebx
	sarl	$24, %eax
	cltq
	xorl	(%r14,%rax,4), %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	movslq	%ebx, %rbx
	movq	(%r15), %rax
	xorq	%rbx, %rax
	addq	$8, %r15
	sarl	$8, %ebx
	xorl	(%r14,%rax,4), %ebx
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r12, %r15
	jb	LBB0_8
## %bb.10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_crc                         ; -- Begin function av_crc
	.p2align	2
_av_crc:                                ; @av_crc
	.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, x2
	mov	x21, x1
	mov	x20, x0
	add	x22, x2, x3, lsl #3
	ldr	w8, [x0, #1024]
	cbz	w8, LBB0_4
LBB0_1:
	mov	x0, x21
	cmp	x19, x22
	b.hs	LBB0_3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19], #8
	sxtw	x9, w0
	eor	x8, x8, x9
	ldr	w8, [x20, x8, lsl #2]
	eor	w0, w8, w0, asr #8
	cmp	x19, x22
	b.lo	LBB0_2
LBB0_3:
                                        ; kill: def $w0 killed $w0 killed $x0
	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_4:
	tst	x19, #0x3
	b.eq	LBB0_9
; %bb.5:
	cmp	x3, #1
	b.lt	LBB0_9
; %bb.6:
	add	x8, x19, #8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19], #8
	sxtw	x10, w21
	eor	x9, x9, x10
	ldr	w9, [x20, x9, lsl #2]
	eor	w21, w9, w21, asr #8
	tst	x8, #0x3
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x8, x8, #8
	cmp	x19, x22
	b.lo	LBB0_7
LBB0_9:
	sub	x23, x22, #24
	cmp	x19, x23
	b.hs	LBB0_1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19], #32
	bl	_av_le2ne32
	eor	w8, w0, w21
	mov	w9, #768
	bfxil	w9, w8, #0, #8
	ldr	w9, [x20, w9, uxtw #2]
	mov	w10, #512
	bfxil	w10, w8, #8, #8
	ldr	w10, [x20, w10, uxtw #2]
	eor	w9, w10, w9
	mov	w10, #256
	bfxil	w10, w8, #16, #8
	ldr	w10, [x20, w10, uxtw #2]
	eor	w9, w9, w10
	asr	w8, w8, #24
	ldr	w8, [x20, w8, sxtw #2]
	eor	w21, w9, w8
	cmp	x19, x23
	b.lo	LBB0_10
	b	LBB0_1
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
