	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function noise_enhancer
LCPI0_0:
	.long	0x3f572000                      ## float 0.840332031
LCPI0_1:
	.long	0x3e429000                      ## float 0.190002441
LCPI0_2:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_3:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_noise_enhancer:                        ## @noise_enhancer
	.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
	movss	%xmm1, -12(%rbp)                ## 4-byte Spill
	movq	%rdi, %rbx
	movaps	%xmm0, %xmm2
	movss	(%rdi), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	ucomiss	%xmm2, %xmm0
	movss	%xmm2, -20(%rbp)                ## 4-byte Spill
	jbe	LBB0_2
## %bb.1:
	movss	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm1
	addss	%xmm2, %xmm1
	callq	_FFMIN
	jmp	LBB0_3
LBB0_2:
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm1
	callq	_FFMAX
LBB0_3:
	movss	LCPI0_2(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	movaps	%xmm2, %xmm1
	subss	-12(%rbp), %xmm1                ## 4-byte Folded Reload
	cvtss2sd	%xmm1, %xmm1
	mulsd	LCPI0_3(%rip), %xmm1
	movss	-16(%rbp), %xmm3                ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
	cvtss2sd	%xmm3, %xmm3
	mulsd	%xmm1, %xmm3
	xorps	%xmm1, %xmm1
	cvtsd2ss	%xmm3, %xmm1
	movss	%xmm0, (%rbx)
	subss	%xmm1, %xmm2
	mulss	-20(%rbp), %xmm2                ## 4-byte Folded Reload
	mulss	%xmm0, %xmm1
	addss	%xmm2, %xmm1
	movaps	%xmm1, %xmm0
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_noise_enhancer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function noise_enhancer
_noise_enhancer:                        ; @noise_enhancer
	.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	s9, s2
	fmov	s10, s1
	mov	x19, x0
	fmov	s8, s0
	ldr	s0, [x0]
	fcmp	s0, s8
	b.le	LBB0_2
; %bb.1:
	mov	w8, #36864
	movk	w8, #15938, lsl #16
	fmov	s1, w8
	fmadd	s1, s8, s1, s8
	bl	_FFMIN
	b	LBB0_3
LBB0_2:
	mov	w8, #8192
	movk	w8, #16215, lsl #16
	fmov	s1, w8
	fmul	s1, s8, s1
	bl	_FFMAX
LBB0_3:
	fmov	s1, #1.00000000
	fsub	s2, s1, s10
	fcvt	d2, s2
	fmov	d3, #0.50000000
	fmul	d2, d2, d3
	fcvt	d3, s9
	fmul	d2, d2, d3
	fcvt	s2, d2
	str	s0, [x19]
	fsub	s1, s1, s2
	fmul	s1, s1, s8
	fmadd	s0, s2, s0, s1
	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
	.no_dead_strip	_noise_enhancer
.subsections_via_symbols
