	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function output_gain
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
LCPI0_1:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_output_gain:                           ## @output_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	%r14
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	movsd	%xmm7, -72(%rbp)                ## 8-byte Spill
	movsd	%xmm6, -80(%rbp)                ## 8-byte Spill
	movsd	%xmm5, -32(%rbp)                ## 8-byte Spill
	movsd	%xmm4, -56(%rbp)                ## 8-byte Spill
	movsd	%xmm3, -48(%rbp)                ## 8-byte Spill
	movsd	%xmm2, -64(%rbp)                ## 8-byte Spill
	movsd	%xmm1, -40(%rbp)                ## 8-byte Spill
	callq	_log
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	mulsd	LCPI0_0(%rip), %xmm0
LBB0_2:
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	movsd	-40(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_IS_FAKE_INFINITY
	xorpd	%xmm6, %xmm6
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movsd	-24(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	movsd	-64(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	jmp	LBB0_5
LBB0_4:
	movsd	-24(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	movapd	%xmm1, %xmm2
	movsd	-64(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	subsd	%xmm0, %xmm2
	movsd	-40(%rbp), %xmm3                ## 8-byte Reload
                                        ## xmm3 = mem[0],zero
	divsd	%xmm3, %xmm2
	addsd	%xmm2, %xmm0
	movsd	LCPI0_1(%rip), %xmm6            ## xmm6 = mem[0],zero
	divsd	%xmm3, %xmm6
LBB0_5:
	movsd	-56(%rbp), %xmm3                ## 8-byte Reload
                                        ## xmm3 = mem[0],zero
	testl	%r14d, %r14d
	je	LBB0_9
## %bb.6:
	movsd	-48(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	ucomisd	LCPI0_1(%rip), %xmm2
	jbe	LBB0_13
## %bb.7:
	ucomisd	%xmm3, %xmm1
	jbe	LBB0_13
## %bb.8:
	movsd	LCPI0_1(%rip), %xmm5            ## xmm5 = mem[0],zero
	movapd	%xmm1, %xmm0
	movsd	-32(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	movapd	%xmm3, %xmm2
	movapd	%xmm1, %xmm3
	movsd	-80(%rbp), %xmm4                ## 8-byte Reload
                                        ## xmm4 = mem[0],zero
	jmp	LBB0_12
LBB0_9:
	movsd	-48(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	ucomisd	LCPI0_1(%rip), %xmm2
	jbe	LBB0_13
## %bb.10:
	movsd	-32(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	ucomisd	%xmm1, %xmm2
	jbe	LBB0_13
## %bb.11:
	movsd	LCPI0_1(%rip), %xmm5            ## xmm5 = mem[0],zero
	movapd	%xmm1, %xmm0
	movapd	%xmm3, %xmm1
	movsd	-32(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	movsd	-72(%rbp), %xmm4                ## 8-byte Reload
                                        ## xmm4 = mem[0],zero
LBB0_12:
	callq	_hermite_interpolation
	movsd	-24(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
LBB0_13:
	subsd	%xmm1, %xmm0
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_exp                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_output_gain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function output_gain
_output_gain:                           ; @output_gain
	.cfi_startproc
; %bb.0:
	stp	d15, d14, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	d13, d12, [sp, #16]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #32]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset b12, -72
	.cfi_offset b13, -80
	.cfi_offset b14, -88
	.cfi_offset b15, -96
	mov	x19, x1
	mov	x20, x0
	fmov	d11, d7
	fmov	d13, d6
	fmov	d8, d5
	fmov	d10, d4
	fmov	d14, d3
	fmov	d12, d2
	fmov	d15, d1
	bl	_log
	fmov	d1, #0.50000000
	fmul	d1, d0, d1
	cmp	w20, #0
	fcsel	d9, d0, d1, eq
	fmov	d0, d15
	bl	_IS_FAKE_INFINITY
	movi	d6, #0000000000000000
	cbnz	x0, LBB0_2
; %bb.1:
	fsub	d0, d9, d12
	fdiv	d0, d0, d15
	fadd	d12, d0, d12
	fmov	d0, #1.00000000
	fdiv	d6, d0, d15
LBB0_2:
	fmov	d0, #1.00000000
	fcmp	d14, d0
	cbz	w19, LBB0_5
; %bb.3:
	fccmp	d9, d10, #4, gt
	b.le	LBB0_8
; %bb.4:
	fmov	d5, #1.00000000
	fmov	d0, d9
	fmov	d1, d8
	fmov	d2, d10
	fmov	d3, d8
	fmov	d4, d13
	b	LBB0_7
LBB0_5:
	fccmp	d9, d8, #0, gt
	b.pl	LBB0_8
; %bb.6:
	fmov	d5, #1.00000000
	fmov	d0, d9
	fmov	d1, d10
	fmov	d2, d8
	fmov	d3, d10
	fmov	d4, d11
LBB0_7:
	bl	_hermite_interpolation
	fmov	d12, d0
LBB0_8:
	fsub	d0, d12, d9
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #32]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #16]             ; 16-byte Folded Reload
	ldp	d15, d14, [sp], #96             ; 16-byte Folded Reload
	b	_exp
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_output_gain
.subsections_via_symbols
