	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qscale2qlog
_qscale2qlog:                           ## @qscale2qlog
	.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
	movq	_QROOT@GOTPCREL(%rip), %r14
	cvtsi2ss	%edi, %xmm0
	movq	_FF_QP2LAMBDA@GOTPCREL(%rip), %rax
	cvtsi2ssq	(%rax), %xmm1
	movl	(%r14), %ebx
	divss	%xmm1, %xmm0
	cvttss2si	%xmm0, %edi
	callq	_log2
	imull	%eax, %ebx
	movl	%ebx, %edi
	callq	_lrint
	imull	$61, (%r14), %ecx
	leal	7(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$3, %edx
	addl	%edx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QROOT,4,2                      ## @QROOT
	.comm	_FF_QP2LAMBDA,8,3               ## @FF_QP2LAMBDA
	.no_dead_strip	_qscale2qlog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qscale2qlog
_qscale2qlog:                           ; @qscale2qlog
	.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
Lloh0:
	adrp	x19, _QROOT@GOTPAGE
Lloh1:
	ldr	x19, [x19, _QROOT@GOTPAGEOFF]
	ldr	w20, [x19]
	scvtf	s0, w0
Lloh2:
	adrp	x8, _FF_QP2LAMBDA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FF_QP2LAMBDA@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	scvtf	s1, x8
	fdiv	s0, s0, s1
	fcvtzs	w0, s0
	bl	_log2
	mul	w0, w0, w20
	bl	_lrint
	ldr	w8, [x19]
	mov	w9, #61
	mul	w8, w8, w9
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	add	w0, w0, w8, asr #3
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_QROOT,4,2                      ; @QROOT
	.comm	_FF_QP2LAMBDA,8,3               ; @FF_QP2LAMBDA
	.no_dead_strip	_qscale2qlog
.subsections_via_symbols
