	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_sf_linear_to_log           ## -- Begin function snd_sf_linear_to_log
	.p2align	4, 0x90
_snd_sf_linear_to_log:                  ## @snd_sf_linear_to_log
	.cfi_startproc
## %bb.0:
	xorl	%eax, %eax
	cmpl	$2, %edi
	jb	LBB0_5
## %bb.1:
	movl	$24, %eax
	testl	%edi, %edi
	js	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	addl	%edi, %edi
	decl	%eax
	testl	%edi, %edi
	jns	LBB0_2
LBB0_4:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %ecx
	shrl	$24, %ecx
	andl	$127, %ecx
	shrl	$16, %edi
	movzbl	%dil, %r8d
	movq	_log_tbl@GOTPCREL(%rip), %rdi
	movq	(%rdi), %r9
	movl	4(%r9,%rcx,4), %r10d
	movl	$256, %edi                      ## imm = 0x100
	subl	%r8d, %edi
	imull	(%r9,%rcx,4), %edi
	imull	%r8d, %r10d
	addl	%r10d, %edi
	sarl	$8, %edi
	subl	%esi, %edi
	imull	%edx, %edi
	sarl	$16, %edi
	imull	%edx, %eax
	addl	%edi, %eax
	popq	%rbp
LBB0_5:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_log_tbl,8,3                    ## @log_tbl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_sf_linear_to_log           ; -- Begin function snd_sf_linear_to_log
	.p2align	2
_snd_sf_linear_to_log:                  ; @snd_sf_linear_to_log
	.cfi_startproc
; %bb.0:
	cmp	w0, #2
	b.hs	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
	mov	w8, #24
	tbnz	w0, #31, LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w0, w0, #1
	sub	w8, w8, #1
	tbz	w0, #31, LBB0_3
LBB0_4:
	ubfx	w9, w0, #24, #7
Lloh0:
	adrp	x10, _log_tbl@GOTPAGE
Lloh1:
	ldr	x10, [x10, _log_tbl@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	add	w11, w9, #1
	ldr	w11, [x10, w11, uxtw #2]
	ubfx	w12, w0, #16, #8
	mul	w11, w11, w12
	ldr	w9, [x10, w9, uxtw #2]
	mov	w10, #256
	sub	w10, w10, w12
	madd	w9, w9, w10, w11
	asr	w9, w9, #8
	sub	w9, w9, w1
	mul	w9, w9, w2
	mul	w8, w8, w2
	add	w0, w8, w9, asr #16
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_log_tbl,8,3                    ; @log_tbl
.subsections_via_symbols
