	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_tak_check_crc               ## -- Begin function ff_tak_check_crc
	.p2align	4, 0x90
_ff_tak_check_crc:                      ## @ff_tak_check_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$3, %esi
	jbe	LBB0_2
## %bb.1:
	movl	%esi, %ebx
	movq	%rdi, %r14
	addl	$-3, %ebx
	leaq	(%rdi,%rbx,4), %rdi
	callq	_AV_RB24
	movq	%rax, %r15
	movq	_AV_CRC_24_IEEE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_av_crc_get_table
	movl	%eax, %edi
	movl	$13501623, %esi                 ## imm = 0xCE04B7
	movq	%r14, %rdx
	movl	%ebx, %ecx
	callq	_av_crc
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	%rcx, %r15
	je	LBB0_3
LBB0_2:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_CRC_24_IEEE,4,2             ## @AV_CRC_24_IEEE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_tak_check_crc               ; -- Begin function ff_tak_check_crc
	.p2align	2
_ff_tak_check_crc:                      ; @ff_tak_check_crc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	subs	w20, w1, #3
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_3
LBB0_2:
	mov	x19, x0
	add	x0, x0, w20, uxtw #2
	bl	_AV_RB24
	mov	x21, x0
Lloh3:
	adrp	x8, _AV_CRC_24_IEEE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_CRC_24_IEEE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_av_crc_get_table
	mov	w1, #1207
	movk	w1, #206, lsl #16
	mov	x2, x19
	mov	x3, x20
	bl	_av_crc
Lloh6:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	x21, x0
	csel	w0, wzr, w8, eq
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_CRC_24_IEEE,4,2             ; @AV_CRC_24_IEEE
.subsections_via_symbols
