	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_log2_q15                    ## -- Begin function ff_log2_q15
	.p2align	4, 0x90
_ff_log2_q15:                           ## @ff_log2_q15
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	callq	_av_log2
	movb	$31, %cl
	subb	%al, %cl
	shll	%cl, %ebx
	movl	%ebx, %ecx
	shrl	$26, %ecx
	andl	$31, %ecx
	shrl	$11, %ebx
	andl	$32767, %ebx                    ## imm = 0x7FFF
	movq	_tab_log2@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rdx,%rcx,4), %esi
	movl	4(%rdx,%rcx,4), %ecx
	subl	%esi, %ecx
	imull	%ebx, %ecx
	sarl	$15, %ecx
	shll	$15, %eax
	addl	%esi, %eax
	addl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tab_log2,8,3                   ## @tab_log2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_log2_q15                    ; -- Begin function ff_log2_q15
	.p2align	2
_ff_log2_q15:                           ; @ff_log2_q15
	.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
	mov	x19, x0
	bl	_av_log2
	mvn	w8, w0
	lsl	w8, w19, w8
	ubfx	w9, w8, #26, #5
Lloh0:
	adrp	x10, _tab_log2@GOTPAGE
Lloh1:
	ldr	x10, [x10, _tab_log2@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	ldr	w11, [x10, w9, uxtw #2]
	add	w9, w9, #1
	ldr	w9, [x10, w9, uxtw #2]
	ubfx	w8, w8, #11, #15
	sub	w9, w9, w11
	mul	w8, w8, w9
	add	w9, w11, w0, lsl #15
	add	w0, w9, w8, asr #15
	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_log2,8,3                   ; @tab_log2
.subsections_via_symbols
