	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il3945_calc_db_from_ratio      ## -- Begin function il3945_calc_db_from_ratio
	.p2align	4, 0x90
_il3945_calc_db_from_ratio:             ## @il3945_calc_db_from_ratio
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$60, %eax
	cmpl	$999, %edi                      ## imm = 0x3E7
	jg	LBB0_6
## %bb.1:
	cmpl	$100, %edi
	jl	LBB0_3
## %bb.2:
	movq	_ratio2dB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movzwl	%di, %ecx
	imull	$52429, %ecx, %ecx              ## imm = 0xCCCD
	shrl	$19, %ecx
	movl	(%rax,%rcx,8), %eax
	addl	$20, %eax
	popq	%rbp
	retq
LBB0_3:
	testl	%edi, %edi
	jle	LBB0_4
## %bb.5:
	movq	_ratio2dB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edi, %ecx
	movl	(%rax,%rcx,8), %eax
LBB0_6:
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ratio2dB,8,3                   ## @ratio2dB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il3945_calc_db_from_ratio      ; -- Begin function il3945_calc_db_from_ratio
	.p2align	2
_il3945_calc_db_from_ratio:             ; @il3945_calc_db_from_ratio
	.cfi_startproc
; %bb.0:
	cmp	w0, #999
	b.le	LBB0_2
; %bb.1:
	mov	w0, #60
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_2:
	cmp	w0, #100
	b.lt	LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _ratio2dB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ratio2dB@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	and	w9, w0, #0xffff
	mov	w10, #52429
	mul	w9, w9, w10
	lsr	w9, w9, #19
	ldr	x8, [x8, w9, uxtw #3]
	add	w0, w8, #20
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_4:
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.5:
Lloh3:
	adrp	x8, _ratio2dB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ratio2dB@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x0, [x8, w0, uxtw #3]
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_6:
	mov	w0, #0
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ratio2dB,8,3                   ; @ratio2dB
.subsections_via_symbols
