	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function pitch_enhancer
LCPI0_0:
	.long	0x3f800000                      ## float 1
LCPI0_1:
	.long	0xbe000000                      ## float -0.125
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_pitch_enhancer:                        ## @pitch_enhancer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	addss	LCPI0_0(%rip), %xmm0
	movss	(%rdi), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	mulss	LCPI0_1(%rip), %xmm0
	movss	4(%rdi), %xmm2                  ## xmm2 = mem[0],zero,zero,zero
	movaps	%xmm0, %xmm3
	mulss	%xmm2, %xmm3
	addss	%xmm1, %xmm3
	movss	%xmm3, (%rdi)
	movq	_AMRWB_SFR_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	-1(%rax), %r9d
	cmpl	$3, %eax
	jl	LBB0_8
## %bb.1:
	movl	%r9d, %ecx
	leaq	-1(%rcx), %r8
	movl	$1, %edx
	cmpq	$8, %r8
	jb	LBB0_6
## %bb.2:
	movq	%r8, %rsi
	andq	$-8, %rsi
	leaq	1(%rsi), %rdx
	shufps	$0, %xmm2, %xmm2                ## xmm2 = xmm2[0,0,0,0]
	shufps	$0, %xmm1, %xmm1                ## xmm1 = xmm1[0,0,0,0]
	movaps	%xmm0, %xmm3
	shufps	$0, %xmm0, %xmm3                ## xmm3 = xmm3[0,0],xmm0[0,0]
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movups	8(%rdi,%rax,4), %xmm4
	blendps	$7, %xmm4, %xmm2                ## xmm2 = xmm4[0,1,2],xmm2[3]
	shufps	$147, %xmm2, %xmm2              ## xmm2 = xmm2[3,0,1,2]
	blendps	$7, %xmm2, %xmm1                ## xmm1 = xmm2[0,1,2],xmm1[3]
	shufps	$147, %xmm1, %xmm1              ## xmm1 = xmm1[3,0,1,2]
	addps	%xmm4, %xmm1
	mulps	%xmm3, %xmm1
	addps	%xmm2, %xmm1
	movups	24(%rdi,%rax,4), %xmm2
	movaps	%xmm2, %xmm5
	blendps	$8, %xmm4, %xmm5                ## xmm5 = xmm5[0,1,2],xmm4[3]
	shufps	$147, %xmm5, %xmm5              ## xmm5 = xmm5[3,0,1,2]
	shufps	$78, %xmm2, %xmm4               ## xmm4 = xmm4[2,3],xmm2[0,1]
	addps	%xmm2, %xmm4
	mulps	%xmm3, %xmm4
	addps	%xmm5, %xmm4
	movups	%xmm1, 4(%rdi,%rax,4)
	movups	%xmm4, 20(%rdi,%rax,4)
	addq	$8, %rax
	movaps	%xmm5, %xmm1
	cmpq	%rax, %rsi
	jne	LBB0_3
## %bb.4:
	movaps	%xmm2, %xmm1
	unpckhpd	%xmm2, %xmm1                    ## xmm1 = xmm1[1],xmm2[1]
	cmpq	%rsi, %r8
	je	LBB0_8
## %bb.5:
	shufps	$255, %xmm2, %xmm2              ## xmm2 = xmm2[3,3,3,3]
LBB0_6:
	movaps	%xmm1, %xmm3
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movaps	%xmm2, %xmm1
	movss	4(%rdi,%rdx,4), %xmm2           ## xmm2 = mem[0],zero,zero,zero
	addss	%xmm2, %xmm3
	mulss	%xmm0, %xmm3
	addss	%xmm1, %xmm3
	movss	%xmm3, (%rdi,%rdx,4)
	leaq	1(%rdx), %rax
	movq	%rax, %rdx
	movaps	%xmm1, %xmm3
	cmpq	%rax, %rcx
	jne	LBB0_7
LBB0_8:
	movslq	%r9d, %rax
	mulss	%xmm1, %xmm0
	addss	(%rdi,%rax,4), %xmm0
	movss	%xmm0, (%rdi,%rax,4)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AMRWB_SFR_SIZE,4,2             ## @AMRWB_SFR_SIZE
	.no_dead_strip	_pitch_enhancer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pitch_enhancer
_pitch_enhancer:                        ; @pitch_enhancer
	.cfi_startproc
; %bb.0:
	fmov	s1, #1.00000000
	fadd	s0, s0, s1
	ldp	s1, s2, [x0]
	fmov	s3, #-0.12500000
	fmul	s0, s0, s3
	fmadd	s3, s0, s2, s1
	str	s3, [x0]
Lloh0:
	adrp	x8, _AMRWB_SFR_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AMRWB_SFR_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	sub	w8, w9, #1
	cmp	w9, #3
	b.lt	LBB0_9
; %bb.1:
	sub	x10, x8, #1
	cmp	x10, #16
	b.hs	LBB0_3
; %bb.2:
	mov	w9, #1
	b	LBB0_7
LBB0_3:
	and	x11, x10, #0xfffffffffffffff0
	orr	x9, x11, #0x1
	dup.4s	v2, v2[0]
	dup.4s	v3, v1[0]
	dup.4s	v1, v0[0]
	add	x12, x0, #36
	mov	x13, x11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	q4, [x12, #-28]
	ldur	q5, [x12, #-12]
	ldur	q6, [x12, #4]
	ext.16b	v7, v2, v4, #12
	ldur	q2, [x12, #20]
	ext.16b	v16, v4, v5, #12
	ext.16b	v17, v5, v6, #12
	ext.16b	v18, v6, v2, #12
	ext.16b	v3, v3, v7, #12
	ext.16b	v19, v7, v16, #12
	ext.16b	v20, v16, v17, #12
	ext.16b	v21, v17, v18, #12
	fadd.4s	v3, v3, v4
	fadd.4s	v4, v19, v5
	fadd.4s	v5, v20, v6
	fadd.4s	v6, v21, v2
	fmla.4s	v7, v3, v1
	fmla.4s	v16, v4, v1
	fmla.4s	v17, v5, v1
	mov.16b	v3, v18
	stp	q7, q16, [x12, #-32]
	fmla.4s	v18, v6, v1
	stp	q17, q18, [x12], #64
	subs	x13, x13, #16
	b.ne	LBB0_4
; %bb.5:
	mov	s1, v2[2]
	cmp	x10, x11
	b.eq	LBB0_9
; %bb.6:
	mov	s2, v2[3]
LBB0_7:
	add	x10, x0, x9, lsl #2
	add	x10, x10, #4
	sub	x9, x8, x9
	fmov	s3, s1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	fmov	s1, s2
	ldr	s2, [x10]
	fadd	s3, s3, s2
	fmadd	s3, s0, s3, s1
	stur	s3, [x10, #-4]
	add	x10, x10, #4
	fmov	s3, s1
	subs	x9, x9, #1
	b.ne	LBB0_8
LBB0_9:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	sbfiz	x8, x8, #2, #32
	ldr	s2, [x0, x8]
	fmadd	s0, s0, s1, s2
	str	s0, [x0, x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AMRWB_SFR_SIZE,4,2             ; @AMRWB_SFR_SIZE
	.no_dead_strip	_pitch_enhancer
.subsections_via_symbols
