	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function coef2maxsf
_coef2maxsf:                            ## @coef2maxsf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_log2f
	shll	$2, %eax
	cltq
	movq	_SCALE_ONE_POS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_SCALE_DIV_512@GOTPCREL(%rip), %rdx
	subq	(%rdx), %rcx
	leaq	(%rax,%rcx), %rdi
	addq	$6, %rdi
	popq	%rbp
	jmp	_av_clip_uint8                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SCALE_ONE_POS,8,3              ## @SCALE_ONE_POS
	.comm	_SCALE_DIV_512,8,3              ## @SCALE_DIV_512
	.no_dead_strip	_coef2maxsf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function coef2maxsf
_coef2maxsf:                            ; @coef2maxsf
	.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
	bl	_log2f
	lsl	w8, w0, #2
	add	w8, w8, #6
Lloh0:
	adrp	x9, _SCALE_ONE_POS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SCALE_ONE_POS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _SCALE_DIV_512@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SCALE_DIV_512@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	sub	x9, x9, x10
	add	x0, x9, w8, sxtw
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_av_clip_uint8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SCALE_ONE_POS,8,3              ; @SCALE_ONE_POS
	.comm	_SCALE_DIV_512,8,3              ; @SCALE_DIV_512
	.no_dead_strip	_coef2maxsf
.subsections_via_symbols
