	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ff_dca_check_crc
_ff_dca_check_crc:                      ## @ff_dca_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
                                        ## kill: def $edx killed $edx def $rdx
	movq	_AV_EF_CRCCHECK@GOTPCREL(%rip), %r8
	movq	_AV_EF_CAREFUL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r8), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
## %bb.2:
	movl	$-1, %eax
	testl	%edx, %edx
	js	LBB0_7
## %bb.3:
	movl	%ecx, %r8d
	orl	%edx, %r8d
	andl	$7, %r8d
	jne	LBB0_7
## %bb.4:
	cmpl	%ecx, (%rsi)
	jl	LBB0_7
## %bb.5:
	subl	%edx, %ecx
	cmpl	$16, %ecx
	jl	LBB0_7
## %bb.6:
	movq	8(%rdi), %rax
	movl	(%rax), %edi
	shrl	$3, %edx
	addq	8(%rsi), %rdx
	shrl	$3, %ecx
	movl	$65535, %esi                    ## imm = 0xFFFF
	callq	_av_crc
	movq	%rax, %rcx
	xorl	%eax, %eax
	negq	%rcx
	sbbl	%eax, %eax
LBB0_7:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_EF_CRCCHECK,4,2             ## @AV_EF_CRCCHECK
	.comm	_AV_EF_CAREFUL,4,2              ## @AV_EF_CAREFUL
	.no_dead_strip	_ff_dca_check_crc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ff_dca_check_crc
_ff_dca_check_crc:                      ; @ff_dca_check_crc
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _AV_EF_CRCCHECK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_EF_CRCCHECK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _AV_EF_CAREFUL@GOTPAGE
Lloh4:
	ldr	x10, [x10, _AV_EF_CAREFUL@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_6
; %bb.1:
	mov	w8, #-1
	tbnz	w2, #31, LBB0_7
; %bb.2:
	orr	w9, w3, w2
	and	w9, w9, #0x7
	cbnz	w9, LBB0_7
; %bb.3:
	ldr	w8, [x1]
	cmp	w8, w3
	b.lt	LBB0_5
; %bb.4:
	sub	w8, w3, w2
	cmp	w8, #16
	b.ge	LBB0_8
LBB0_5:
	mov	w8, #-1
	b	LBB0_7
LBB0_6:
	mov	w8, #0
LBB0_7:
	mov	x0, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	x9, [x0, #8]
	ldr	w0, [x9]
	ldr	x9, [x1, #8]
	lsr	w10, w2, #3
	add	x2, x9, x10
	lsr	w3, w8, #3
	mov	w1, #65535
	bl	_av_crc
	cmp	x0, #0
	csetm	w8, ne
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_EF_CRCCHECK,4,2             ; @AV_EF_CRCCHECK
	.comm	_AV_EF_CAREFUL,4,2              ; @AV_EF_CAREFUL
	.no_dead_strip	_ff_dca_check_crc
.subsections_via_symbols
