	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sid_gain_to_lsp_index
_sid_gain_to_lsp_index:                 ## @sid_gain_to_lsp_index
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %eax
	cmpl	$15, %edi
	jg	LBB0_2
## %bb.1:
	shll	$6, %eax
	popq	%rbp
	retq
LBB0_2:
	cmpl	$31, %eax
	ja	LBB0_4
## %bb.3:
	shll	$7, %eax
	addl	$-1024, %eax                    ## imm = 0xFC00
	popq	%rbp
	retq
LBB0_4:
	shll	$8, %eax
	addl	$-5120, %eax                    ## imm = 0xEC00
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sid_gain_to_lsp_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sid_gain_to_lsp_index
_sid_gain_to_lsp_index:                 ; @sid_gain_to_lsp_index
	.cfi_startproc
; %bb.0:
	mov	w8, #-5120
	add	w8, w8, w0, lsl #8
	lsl	w9, w0, #7
	sub	w9, w9, #1024
	cmp	w0, #31
	csel	w8, w8, w9, hi
	lsl	w9, w0, #6
	cmp	w0, #15
	csel	w0, w8, w9, gt
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sid_gain_to_lsp_index
.subsections_via_symbols
