	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ff_cos
_ff_cos:                                ## @ff_cos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movslq	%edi, %rbx
	movl	%ebx, %eax
	sarl	$8, %eax
	movslq	%eax, %r14
	xorl	%edi, %edi
	cmpl	$16384, %ebx                    ## imm = 0x4000
	setl	%dil
	callq	_av_assert2
	movq	_tab_cos@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r14,8), %rcx
	movq	8(%rax,%r14,8), %rax
	subq	%rcx, %rax
	imulq	%rbx, %rax
	shrq	$8, %rax
	addq	%rcx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tab_cos,8,3                    ## @tab_cos
	.no_dead_strip	_ff_cos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ff_cos
_ff_cos:                                ; @ff_cos
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x19, w0
	asr	w20, w0, #8
	cmp	w0, #4, lsl #12                 ; =16384
	cset	w0, lt
	bl	_av_assert2
Lloh0:
	adrp	x8, _tab_cos@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tab_cos@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x8, x8, w20, sxtw #3
	ldp	x9, x8, [x8]
	sub	x8, x8, x9
	mul	x8, x8, x19
	add	x0, x9, x8, lsr #8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_tab_cos,8,3                    ; @tab_cos
	.no_dead_strip	_ff_cos
.subsections_via_symbols
