	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function remove_doubling
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
LCPI0_2:
	.long	0x3f333333                      ## float 0.699999988
LCPI0_3:
	.long	0x3e99999a                      ## float 0.300000012
LCPI0_4:
	.long	0x3f666666                      ## float 0.899999976
LCPI0_5:
	.long	0x3f59999a                      ## float 0.850000023
LCPI0_6:
	.long	0x3ecccccd                      ## float 0.400000006
LCPI0_7:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_remove_doubling:                       ## @remove_doubling
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movss	%xmm0, -100(%rbp)               ## 4-byte Spill
	movl	%r9d, %r12d
	movq	%r8, %r14
	movl	%ecx, %r13d
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%rsp, -216(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PITCH_MAX_PERIOD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdx
	movl	%r15d, %esi
	shrl	$31, %esi
	addl	%r15d, %esi
	sarl	%esi
	movl	%ebx, %eax
	shrl	$31, %eax
	movl	%ebx, -132(%rbp)                ## 4-byte Spill
	addl	%ebx, %eax
	sarl	%eax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movl	(%r14), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	%r12d, %eax
	shrl	$31, %eax
	addl	%r12d, %eax
	sarl	%eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	%r13d, %ebx
	shrl	$31, %ebx
	addl	%r13d, %ebx
	movq	%rdx, %r13
	sarl	%ebx
	movl	%esi, -144(%rbp)                ## 4-byte Spill
	movslq	%esi, %r12
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12,4), %rdi
	leal	-1(%r12), %esi
	cmpl	%r12d, %ecx
	cmovll	%ecx, %esi
	movslq	%esi, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	(,%rax,4), %rax
	movq	%rdi, %rdx
	subq	%rax, %rdx
	movq	%r14, -224(%rbp)                ## 8-byte Spill
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	movl	%esi, (%r14)
	leaq	-68(%rbp), %r8
	leaq	-52(%rbp), %r9
	movq	%rdi, -168(%rbp)                ## 8-byte Spill
	movq	%rdi, %rsi
	movl	%ebx, %ecx
	callq	_dual_inner_prod
	movss	-68(%rbp), %xmm1                ## xmm1 = mem[0],zero,zero,zero
	movss	%xmm1, (%r13)
	cmpl	$2, %r15d
	movl	%ebx, -104(%rbp)                ## 4-byte Spill
	jl	LBB0_4
## %bb.1:
	movslq	%ebx, %r14
	leal	1(%r12), %r15d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12,4), %r12
	addq	$-4, %r12
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movss	(%r12), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm2
	addss	%xmm1, %xmm2
	movss	(%r12,%r14,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm0
	subss	%xmm0, %xmm2
	movss	%xmm2, -64(%rbp)                ## 4-byte Spill
	xorps	%xmm0, %xmm0
	movaps	%xmm2, %xmm1
	callq	_FFMAX
	movss	%xmm0, (%r13,%rbx,4)
	incq	%rbx
	addq	$-4, %r12
	movss	-64(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	cmpq	%rbx, %r15
	jne	LBB0_2
## %bb.3:
	movss	-68(%rbp), %xmm1                ## xmm1 = mem[0],zero,zero,zero
LBB0_4:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	negl	%eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movss	(%r13,%rbx,4), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	movss	-52(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -88(%rbp)                ## 4-byte Spill
	movss	%xmm2, -92(%rbp)                ## 4-byte Spill
	callq	_compute_pitch_gain
	addl	%ebx, %ebx
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	-100(%rbp), %xmm1               ## 4-byte Folded Reload
	movss	%xmm1, -136(%rbp)               ## 4-byte Spill
	movq	-176(%rbp), %rax                ## 8-byte Reload
	leal	(%rax,%rax,2), %ecx
	movl	%ecx, -152(%rbp)                ## 4-byte Spill
	addl	%eax, %eax
	movl	%eax, -140(%rbp)                ## 4-byte Spill
	movl	$2, %r12d
	movl	$10, %eax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	movl	$4, %r14d
	movaps	%xmm0, %xmm1
	mulss	LCPI0_2(%rip), %xmm1
	movss	%xmm1, -148(%rbp)               ## 4-byte Spill
	movss	%xmm0, -96(%rbp)                ## 4-byte Spill
	movss	%xmm0, -84(%rbp)                ## 4-byte Spill
	movq	-120(%rbp), %rax                ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax def $rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r12
	addq	$5, -184(%rbp)                  ## 8-byte Folded Spill
	addl	$2, %r14d
	cmpq	$16, %r12
	je	LBB0_21
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addl	%r12d, %eax
	cltd
	idivl	%r14d
	cmpl	-176(%rbp), %eax                ## 4-byte Folded Reload
	jl	LBB0_21
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %r15d
	movq	%r13, %rbx
	cmpq	$2, %r12
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-120(%rbp), %rax                ## 8-byte Reload
	leal	(%r15,%rax), %r13d
	cmpl	-144(%rbp), %r13d               ## 4-byte Folded Reload
	cmovgl	%eax, %r13d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_second_check@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r12,4), %eax
	imull	-80(%rbp), %eax                 ## 4-byte Folded Reload
	addl	%r12d, %eax
	cltd
	idivl	%r14d
	movl	%eax, %r13d
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%r15d, %eax
	negl	%eax
	cltq
	movq	-168(%rbp), %rdi                ## 8-byte Reload
	leaq	(%rdi,%rax,4), %rsi
	movl	%r13d, %eax
	negl	%eax
	cltq
	leaq	(%rdi,%rax,4), %rdx
	movl	-104(%rbp), %ecx                ## 4-byte Reload
	leaq	-52(%rbp), %r8
	leaq	-160(%rbp), %r9
	callq	_dual_inner_prod
	movss	-52(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	addss	-160(%rbp), %xmm0
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm0
	movss	%xmm0, -52(%rbp)
	movslq	%r15d, %rax
	movss	(%rbx,%rax,4), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	movslq	%r13d, %rax
	movq	%rbx, %r13
	addss	(%rbx,%rax,4), %xmm2
	mulss	%xmm1, %xmm2
	movss	-68(%rbp), %xmm1                ## xmm1 = mem[0],zero,zero,zero
	movss	%xmm2, -156(%rbp)               ## 4-byte Spill
	callq	_compute_pitch_gain
	movss	%xmm0, -64(%rbp)                ## 4-byte Spill
	movq	-128(%rbp), %rax                ## 8-byte Reload
	leal	(%r15,%rax), %ebx
	movl	%ebx, %edi
	callq	_FFABS
	movss	-100(%rbp), %xmm0               ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	cmpl	$2, %eax
	jl	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %edi
	callq	_FFABS
	xorps	%xmm0, %xmm0
	cmpl	$2, %eax
	jg	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-184(%rbp), %rax                ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	imull	%r12d, %eax
	movss	-136(%rbp), %xmm0               ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	cmpl	%eax, -120(%rbp)                ## 4-byte Folded Reload
	jg	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	xorps	%xmm0, %xmm0
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movss	-148(%rbp), %xmm1               ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	xorps	LCPI0_1(%rip), %xmm0
	movaps	%xmm0, -208(%rbp)               ## 16-byte Spill
	movss	LCPI0_3(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	callq	_FFMAX
	cmpl	-152(%rbp), %r15d               ## 4-byte Folded Reload
	jge	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movss	-96(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	mulss	LCPI0_5(%rip), %xmm1
	addss	-208(%rbp), %xmm1               ## 16-byte Folded Reload
	movss	LCPI0_6(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movaps	-208(%rbp), %xmm2               ## 16-byte Reload
	cmpl	-140(%rbp), %r15d               ## 4-byte Folded Reload
	jge	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	movss	-96(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	mulss	LCPI0_4(%rip), %xmm1
	addss	%xmm2, %xmm1
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	callq	_FFMAX
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	movss	-64(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	movss	-52(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -88(%rbp)                ## 4-byte Spill
                                        ## kill: def $r15d killed $r15d killed $r15 def $r15
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	movss	%xmm1, -84(%rbp)                ## 4-byte Spill
	movss	-156(%rbp), %xmm0               ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -92(%rbp)                ## 4-byte Spill
	jmp	LBB0_20
LBB0_21:
	xorps	%xmm0, %xmm0
	movss	-88(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	callq	_FFMAX
	movss	-92(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	movl	-104(%rbp), %r14d               ## 4-byte Reload
	jae	LBB0_22
## %bb.23:
	addss	LCPI0_7(%rip), %xmm1
	divss	%xmm1, %xmm0
	jmp	LBB0_24
LBB0_22:
	movq	_Q15ONE@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
LBB0_24:
	movss	%xmm0, -64(%rbp)                ## 4-byte Spill
	movq	-112(%rbp), %r12                ## 8-byte Reload
	leal	-1(%r12), %eax
	cltq
	shlq	$2, %rax
	movq	-168(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rsi
	subq	%rax, %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_celt_inner_prod
	movss	%xmm0, -208(%rbp)               ## 4-byte Spill
	movslq	%r12d, %r15
	leaq	(,%r15,4), %rax
	movq	%rbx, %rsi
	subq	%rax, %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_celt_inner_prod
	movss	%xmm0, -80(%rbp)                ## 4-byte Spill
	incl	%r15d
	movslq	%r15d, %rax
	shlq	$2, %rax
	movq	%rbx, %rsi
	subq	%rax, %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_celt_inner_prod
	movss	-80(%rbp), %xmm4                ## 4-byte Reload
                                        ## xmm4 = mem[0],zero,zero,zero
	movss	-208(%rbp), %xmm3               ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
	movaps	%xmm0, %xmm1
	movaps	%xmm4, %xmm2
	subss	%xmm3, %xmm2
	mulss	LCPI0_2(%rip), %xmm2
	subss	%xmm3, %xmm1
	movl	$1, %eax
	ucomiss	%xmm2, %xmm1
	ja	LBB0_26
## %bb.25:
	subss	%xmm0, %xmm4
	mulss	LCPI0_2(%rip), %xmm4
	subss	%xmm0, %xmm3
	xorl	%eax, %eax
	ucomiss	%xmm4, %xmm3
	seta	%al
	negl	%eax
LBB0_26:
	leal	(%rax,%r12,2), %eax
	movl	-132(%rbp), %ecx                ## 4-byte Reload
	cmpl	%ecx, %eax
	cmovgl	%eax, %ecx
	movq	-224(%rbp), %rax                ## 8-byte Reload
	movl	%ecx, (%rax)
	movq	-216(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	movss	-64(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	jne	LBB0_28
## %bb.27:
	movss	-84(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	minss	%xmm1, %xmm0
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PITCH_MAX_PERIOD,4,2           ## @PITCH_MAX_PERIOD
	.comm	_second_check,8,3               ## @second_check
	.comm	_Q15ONE,4,2                     ## @Q15ONE
	.no_dead_strip	_remove_doubling
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remove_doubling
_remove_doubling:                       ; @remove_doubling
	.cfi_startproc
; %bb.0:
	stp	d15, d14, [sp, #-160]!          ; 16-byte Folded Spill
	.cfi_def_cfa_offset 160
	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	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	.cfi_offset b12, -136
	.cfi_offset b13, -144
	.cfi_offset b14, -152
	.cfi_offset b15, -160
	sub	sp, sp, #96
	fmov	s8, s0
	mov	x24, x1
	mov	x23, x0
	mov	x8, sp
	stur	x8, [x29, #-240]                ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-160]
Lloh3:
	adrp	x8, _PITCH_MAX_PERIOD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PITCH_MAX_PERIOD@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w8, w8, #1
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x26, x9, x8
	mov	sp, x26
	cmp	w1, #0
	cinc	w8, w1, lt
	asr	w9, w8, #1
	cmp	w2, #0
	stur	w2, [x29, #-228]                ; 4-byte Folded Spill
	cinc	w10, w2, lt
	asr	w10, w10, #1
	stur	w10, [x29, #-176]               ; 4-byte Folded Spill
	ldr	w10, [x4]
	cmp	w10, #0
	cinc	w10, w10, lt
	asr	w10, w10, #1
	cmp	w5, #0
	cinc	w19, w5, lt
	cmp	w3, #0
	cinc	w11, w3, lt
	asr	w21, w11, #1
	sbfx	x27, x8, #1, #31
	add	x22, x0, w9, sxtw #2
	sub	w8, w9, #1
	cmp	w10, w9
	csel	w25, w10, w8, lt
	stur	x4, [x29, #-224]                ; 8-byte Folded Spill
	str	w25, [x4]
	sxtw	x20, w25
	sub	x2, x22, w25, sxtw #2
	sub	x4, x29, #168
	sub	x5, x29, #164
	mov	x0, x22
	mov	x1, x22
	mov	x3, x21
	bl	_dual_inner_prod
	ldur	s11, [x29, #-168]
	str	s11, [x26]
	cmp	w24, #2
	stur	x21, [x29, #-184]               ; 8-byte Folded Spill
	stur	x27, [x29, #-208]               ; 8-byte Folded Spill
	b.lt	LBB0_4
; %bb.1:
	sxtw	x21, w21
	add	w8, w27, #1
	add	x9, x23, x27, lsl #2
	sub	x23, x9, #4
	add	x24, x26, #4
	sub	x27, x8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x23]
	fmadd	s0, s0, s0, s11
	ldr	s1, [x23, x21, lsl #2]
	fmsub	s11, s1, s1, s0
	movi	d0, #0000000000000000
	fmov	s1, s11
	bl	_FFMAX
	str	s0, [x24], #4
	sub	x23, x23, #4
	subs	x27, x27, #1
	b.ne	LBB0_2
; %bb.3:
	ldur	s11, [x29, #-168]
LBB0_4:
	ldr	s9, [x26, x20, lsl #2]
	ldur	s10, [x29, #-164]
	neg	w8, w19, asr #1
	stur	w8, [x29, #-188]                ; 4-byte Folded Spill
	fmov	s0, s10
	fmov	s1, s11
	fmov	s2, s9
	bl	_compute_pitch_gain
	fmov	s11, s0
	lsl	w20, w25, #1
	fmov	s15, #0.50000000
	fmul	s0, s8, s15
	stur	s0, [x29, #-212]                ; 4-byte Folded Spill
	ldur	w8, [x29, #-176]                ; 4-byte Folded Reload
	lsl	w9, w8, #1
	stur	w9, [x29, #-216]                ; 4-byte Folded Spill
	add	w8, w9, w8
	stp	w25, w8, [x29, #-196]           ; 8-byte Folded Spill
	mov	w24, #4
	mov	w21, #2
	mov	w27, #10
	stur	s11, [x29, #-200]               ; 4-byte Folded Spill
	mov	x8, x25
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #1
	add	x27, x27, #5
	add	w24, w24, #2
	cmp	x21, #16
	b.eq	LBB0_19
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	w8, w20, w21
	sdiv	w19, w8, w24
	ldur	w8, [x29, #-176]                ; 4-byte Folded Reload
	cmp	w19, w8
	b.lt	LBB0_19
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	x21, #2
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w8, w19, w25
	ldur	x9, [x29, #-208]                ; 8-byte Folded Reload
	cmp	w8, w9
	csel	w8, w25, w8, gt
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
Lloh8:
	adrp	x8, _second_check@GOTPAGE
Lloh9:
	ldr	x8, [x8, _second_check@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	w8, [x8, x21, lsl #2]
	madd	w8, w20, w8, w21
	sdiv	w8, w8, w24
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	sbfiz	x23, x19, #2, #32
	sub	x1, x22, x23
	sbfiz	x28, x8, #2, #32
	sub	x2, x22, x28
	sub	x4, x29, #164
	sub	x5, x29, #172
	mov	x0, x22
	ldur	x3, [x29, #-184]                ; 8-byte Folded Reload
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_dual_inner_prod
	ldur	s0, [x29, #-164]
	ldur	s1, [x29, #-172]
	fadd	s0, s0, s1
	fmul	s0, s0, s15
	ldr	s1, [x26, x23]
	stur	s0, [x29, #-164]
	ldr	s2, [x26, x28]
	fadd	s1, s1, s2
	fmul	s12, s1, s15
	ldur	s1, [x29, #-168]
	fmov	s2, s12
	bl	_compute_pitch_gain
	fmov	s13, s0
	ldur	w8, [x29, #-188]                ; 4-byte Folded Reload
	add	w23, w19, w8
	mov	x0, x23
	bl	_FFABS
	fmov	s0, s8
	cmp	w0, #2
	b.lt	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	bl	_FFABS
	mul	w8, w27, w21
	cmp	w25, w8
	ldur	s0, [x29, #-212]                ; 4-byte Folded Reload
	movi	d1, #0000000000000000
	fcsel	s0, s0, s1, gt
	cmp	w0, #2
	fcsel	s0, s1, s0, gt
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	fneg	s14, s0
	mov	w8, #13107
	movk	w8, #16179, lsl #16
	fmov	s1, w8
	fnmsub	s1, s11, s1, s0
	mov	w8, #39322
	movk	w8, #16025, lsl #16
	fmov	s0, w8
	bl	_FFMAX
	ldur	w8, [x29, #-192]                ; 4-byte Folded Reload
	cmp	w19, w8
	b.ge	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #39322
	movk	w8, #16217, lsl #16
	fmov	s0, w8
	fmadd	s1, s11, s0, s14
	mov	w8, #52429
	movk	w8, #16076, lsl #16
	fmov	s0, w8
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	w8, [x29, #-216]                ; 4-byte Folded Reload
	cmp	w19, w8
	b.ge	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #26214
	movk	w8, #16230, lsl #16
	fmov	s0, w8
	fmadd	s1, s11, s0, s14
	fmov	s0, #0.50000000
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_FFMAX
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	fcmp	s13, s0
	b.le	LBB0_5
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	s10, [x29, #-164]
	mov	x8, x19
	stur	w19, [x29, #-196]               ; 4-byte Folded Spill
	stur	s13, [x29, #-200]               ; 4-byte Folded Spill
	fmov	s9, s12
	b	LBB0_5
LBB0_19:
	movi	d0, #0000000000000000
	fmov	s1, s10
	bl	_FFMAX
	fcmp	s9, s0
	ldur	x19, [x29, #-184]               ; 8-byte Folded Reload
	b.ls	LBB0_21
; %bb.20:
	fmov	s1, #1.00000000
	fadd	s1, s9, s1
	fdiv	s10, s0, s1
	b	LBB0_22
LBB0_21:
Lloh11:
	adrp	x8, _Q15ONE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _Q15ONE@GOTPAGEOFF]
Lloh13:
	ldr	s10, [x8]
LBB0_22:
	ldur	w20, [x29, #-196]               ; 4-byte Folded Reload
	sub	w8, w20, #1
	sub	x1, x22, w8, sxtw #2
	mov	x0, x22
	mov	x2, x19
	bl	_celt_inner_prod
	fmov	s8, s0
	sub	x1, x22, w20, sxtw #2
	mov	x0, x22
	mov	x2, x19
	bl	_celt_inner_prod
	fmov	s9, s0
	add	w8, w20, #1
	sub	x1, x22, w8, sxtw #2
	mov	x0, x22
	mov	x2, x19
	bl	_celt_inner_prod
	fsub	s1, s0, s8
	fsub	s2, s9, s8
	mov	w8, #13107
	movk	w8, #16179, lsl #16
	fmov	s3, w8
	fmul	s2, s2, s3
	mov	w8, #1
	fsub	s3, s8, s0
	fsub	s0, s9, s0
	mov	w9, #13107
	movk	w9, #16179, lsl #16
	fmov	s4, w9
	fmul	s0, s0, s4
	fcmp	s3, s0
	csetm	w9, gt
	fcmp	s1, s2
	csel	w8, w8, w9, gt
	ldur	s0, [x29, #-200]                ; 4-byte Folded Reload
	fcmp	s10, s0
	fcsel	s0, s0, s10, gt
	add	w8, w8, w20, lsl #1
	ldur	w9, [x29, #-228]                ; 4-byte Folded Reload
	cmp	w8, w9
	csel	w8, w8, w9, gt
	ldur	x9, [x29, #-224]                ; 8-byte Folded Reload
	str	w8, [x9]
	ldur	x8, [x29, #-240]                ; 8-byte Folded Reload
	mov	sp, x8
	ldur	x8, [x29, #-160]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.23:
	sub	sp, x29, #144
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [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], #160            ; 16-byte Folded Reload
	ret
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_PITCH_MAX_PERIOD,4,2           ; @PITCH_MAX_PERIOD
	.comm	_second_check,8,3               ; @second_check
	.comm	_Q15ONE,4,2                     ; @Q15ONE
	.no_dead_strip	_remove_doubling
.subsections_via_symbols
