	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function ff_amr_set_fixed_gain
LCPI0_0:
	.quad	0x3fa999999999999a              ## double 0.050000000000000003
LCPI0_2:
	.quad	0x4034000000000000              ## double 20
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_1:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ff_amr_set_fixed_gain
	.p2align	4, 0x90
_ff_amr_set_fixed_gain:                 ## @ff_amr_set_fixed_gain
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movss	%xmm2, -16(%rbp)                ## 4-byte Spill
	movq	%rdi, %rbx
	movaps	%xmm1, -32(%rbp)                ## 16-byte Spill
	movss	%xmm0, -12(%rbp)                ## 4-byte Spill
	movq	%rsi, %rdi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_avpriv_scalarproduct_float_c
	addss	-16(%rbp), %xmm0                ## 4-byte Folded Reload
	cvtss2sd	%xmm0, %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	callq	_ff_exp10
	mulss	-12(%rbp), %xmm0                ## 4-byte Folded Reload
	movaps	%xmm0, %xmm3
	xorps	%xmm0, %xmm0
	movaps	-32(%rbp), %xmm1                ## 16-byte Reload
	cmpneqss	%xmm1, %xmm0
	andps	%xmm0, %xmm1
	movaps	%xmm1, %xmm2
	movss	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	andnps	%xmm1, %xmm0
	orps	%xmm2, %xmm0
	sqrtss	%xmm0, %xmm0
	divss	%xmm0, %xmm3
	movss	%xmm3, -32(%rbp)                ## 4-byte Spill
	leaq	4(%rbx), %rsi
	movq	%rbx, %rdi
	movl	$12, %edx
	callq	_memmove
	movss	-12(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_log10f
	mulsd	LCPI0_2(%rip), %xmm0
	cvtsd2ss	%xmm0, %xmm0
	movss	%xmm0, 12(%rbx)
	movss	-32(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_amr_set_fixed_gain          ; -- Begin function ff_amr_set_fixed_gain
	.p2align	2
_ff_amr_set_fixed_gain:                 ; @ff_amr_set_fixed_gain
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	.cfi_offset b10, -56
	.cfi_offset b11, -64
	fmov	s8, s2
	mov	x19, x0
	fmov	s9, s1
	fmov	s10, s0
	mov	x0, x1
	mov	x1, x19
	mov	w2, #4
	bl	_avpriv_scalarproduct_float_c
	fadd	s0, s0, s8
	fcvt	d0, s0
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #16297, lsl #48
	fmov	d1, x8
	fmul	d0, d0, d1
	bl	_ff_exp10
	fmul	s0, s0, s10
	fcmp	s9, #0.0
	fmov	s1, #1.00000000
	fcsel	s1, s9, s1, ne
	fsqrt	s1, s1
	fdiv	s8, s0, s1
	add	x1, x19, #4
	mov	x0, x19
	mov	w2, #12
	bl	_memmove
	fmov	s0, s10
	bl	_log10f
	fmov	d1, #20.00000000
	fmul	d0, d0, d1
	fcvt	s0, d0
	str	s0, [x19, #12]
	fmov	s0, s8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
