	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function ff_aac_search_for_tns
LCPI0_0:
	.long	0x80000000                      ## float -0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ff_aac_search_for_tns
	.p2align	4, 0x90
_ff_aac_search_for_tns:                 ## @ff_aac_search_for_tns
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_LPC_ORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -144(%rbp)                ## 8-byte Spill
	movl	92(%rbx), %esi
	movl	96(%rbx), %edi
	callq	_FFMIN
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	%eax, %r14d
	movq	64(%rbx), %rax
	movq	(%rax), %rcx
	movq	_EIGHT_SHORT_SEQUENCE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%eax, %eax
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	cmpq	%rdx, %rcx
	sete	%cl
	jne	LBB0_1
## %bb.2:
	movq	_TNS_Q_BITS_IS8@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
LBB0_1:
	movq	_TNS_Q_BITS@GOTPCREL(%rip), %rdx
LBB0_3:
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
	cmpl	$4, (%rdx)
	sete	%r15b
	movq	_tns_min_sfb@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movb	%cl, %al
	movq	(%rdx,%rax,8), %rax
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_av_clip
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	72(%rax), %edi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_av_clip
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	$7, -52(%rbp)                   ## 4-byte Folded Spill
	movq	-120(%rbp), %rax                ## 8-byte Reload
	cmpq	%rax, -128(%rbp)                ## 8-byte Folded Reload
	je	LBB0_6
## %bb.4:
	movq	8(%r13), %rax
	movq	_FF_PROFILE_AAC_LOW@GOTPCREL(%rip), %rcx
	movl	$12, -52(%rbp)                  ## 4-byte Folded Spill
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.5:
	movq	_TNS_MAX_ORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
LBB0_6:
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	64(%r8), %rax
	movq	80(%r8), %rcx
	movq	(%rax), %rax
	movq	_LONG_START_SEQUENCE@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	cmpq	(%rdx), %rax
	setne	%sil
	movq	_LONG_STOP_SEQUENCE@GOTPCREL(%rip), %rdx
	addl	%esi, %esi
	cmpq	(%rdx), %rax
	movl	$1, %eax
	cmovnel	%esi, %eax
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movslq	%esi, %rax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movl	(%rcx,%rax,4), %edi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movslq	%edx, %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movl	(%rcx,%rax,4), %eax
	subl	%eax, %edi
	movl	%edi, -108(%rbp)                ## 4-byte Spill
	jle	LBB0_41
## %bb.7:
	subl	%edx, %esi
	movl	%esi, -64(%rbp)                 ## 4-byte Spill
	testl	%esi, %esi
	jle	LBB0_41
## %bb.8:
	cmpl	$0, 88(%r8)
	jle	LBB0_9
## %bb.10:
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	movb	%r15b, %cl
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	shrl	%ecx
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	addl	%r15d, %ecx
	leaq	24(%r13), %rdx
	movq	%rdx, -160(%rbp)                ## 8-byte Spill
	movslq	%ecx, %rcx
	movq	%rcx, -184(%rbp)                ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movss	LCPI0_0(%rip), %xmm5            ## xmm5 = mem[0],zero,zero,zero
	xorl	%r14d, %r14d
	movl	$0, -84(%rbp)                   ## 4-byte Folded Spill
	movl	-56(%rbp), %r12d                ## 4-byte Reload
	movq	%r13, -152(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_28 Depth 2
	movq	$0, -96(%rbp)
	movslq	72(%r8), %rcx
	cmpl	%ecx, %r15d
	jge	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	%r15d, %r12d
	jl	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movslq	-104(%rbp), %rsi                ## 4-byte Folded Reload
	movq	16(%r13), %rdi
	movq	32(%r13), %rbx
	movl	%r14d, %edx
	shlq	$3, %rsi
	addq	(%rbx,%rdi,8), %rsi
	xorps	%xmm0, %xmm0
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	xorps	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorps	%xmm3, %xmm3
	cvtsi2ssq	(%rsi,%rbx,8), %xmm3
	movaps	%xmm3, %xmm2
	cmpq	-184(%rbp), %rbx                ## 8-byte Folded Reload
	jg	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	movaps	%xmm5, %xmm2
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=2
	movaps	%xmm5, %xmm4
	jg	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=2
	movaps	%xmm3, %xmm4
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=2
	addss	%xmm4, %xmm1
	addss	%xmm2, %xmm0
	leaq	1(%rbx), %rdi
	cmpq	%rcx, %rdi
	jge	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_15 Depth=2
	cmpq	-176(%rbp), %rbx                ## 8-byte Folded Reload
	movq	%rdi, %rbx
	jl	LBB0_15
LBB0_21:                                ##   in Loop: Header=BB0_11 Depth=1
	movss	%xmm1, -96(%rbp)
	movss	%xmm0, -92(%rbp)
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	%r14d, %edx
LBB0_22:                                ##   in Loop: Header=BB0_11 Depth=1
	shll	$7, %edx
	addl	%edx, %eax
	movslq	%eax, %rsi
	shlq	$2, %rsi
	addq	56(%r8), %rsi
	movq	-160(%rbp), %rdi                ## 8-byte Reload
	movl	-108(%rbp), %edx                ## 4-byte Reload
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %ecx
	movq	-144(%rbp), %r8                 ## 8-byte Reload
	callq	_ff_lpc_calc_ref_coefs_f
	testl	%ebx, %ebx
	je	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_11 Depth=1
	movsd	%xmm0, -168(%rbp)               ## 8-byte Spill
	callq	_isfinite
	testl	%eax, %eax
	je	LBB0_23
## %bb.25:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_TNS_GAIN_THRESHOLD_LOW@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	movsd	-168(%rbp), %xmm1               ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	ucomisd	%xmm1, %xmm0
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movss	LCPI0_0(%rip), %xmm5            ## xmm5 = mem[0],zero,zero,zero
	ja	LBB0_38
## %bb.26:                              ##   in Loop: Header=BB0_11 Depth=1
	movapd	%xmm1, %xmm0
	movq	_TNS_GAIN_THRESHOLD_HIGH@GOTPCREL(%rip), %rax
	ucomisd	(%rax), %xmm1
	ja	LBB0_38
## %bb.27:                              ##   in Loop: Header=BB0_11 Depth=1
	xorl	%eax, %eax
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movq	_TNS_MAX_ORDER@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	sete	%al
	orl	$2, %eax
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	cmpq	%rcx, -128(%rbp)                ## 8-byte Folded Reload
	movl	$1, %ecx
	cmovel	%ecx, %eax
	movq	8(%r8), %rdx
	leaq	(%rdx,%r14,4), %rcx
	movl	%eax, (%rdx,%r14,4)
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_28 Depth=2
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	subl	%r13d, %eax
LBB0_36:                                ##   in Loop: Header=BB0_28 Depth=2
	movq	32(%r8), %rcx
	movq	(%rcx,%r14,8), %rcx
	movl	%eax, (%rcx,%r15,4)
	movslq	%r12d, %rax
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,8), %rdi
	movq	40(%r8), %rax
	movq	48(%r8), %rcx
	movq	(%rcx,%r14,8), %rcx
	movl	(%rcx,%r15,4), %esi
	movq	(%rax,%r14,8), %rax
	movl	(%rax,%r15,4), %edx
	movl	(%rbx,%r15,4), %ecx
	movl	-68(%rbp), %r8d                 ## 4-byte Reload
	callq	_quantize_coefs
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	8(%r8), %rax
	movq	24(%r8), %rcx
	movq	(%rcx,%r14,8), %rcx
	addl	(%rcx,%r15,4), %r12d
	movq	32(%r8), %rcx
	movq	(%rcx,%r14,8), %rcx
	addl	(%rcx,%r15,4), %r13d
	incq	%r15
	leaq	(%rax,%r14,4), %rcx
	movslq	(%rax,%r14,4), %rax
	cmpq	%rax, %r15
	movss	LCPI0_0(%rip), %xmm5            ## xmm5 = mem[0],zero,zero,zero
	jge	LBB0_37
LBB0_28:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-112(%rbp), %edx                ## 4-byte Reload
	movl	%edx, %eax
	cmpl	$2, %edx
	jne	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=2
	xorl	%eax, %eax
	testq	%r15, %r15
	sete	%al
	movss	-96(%rbp,%rax,4), %xmm0         ## xmm0 = mem[0],zero,zero,zero
	xorl	%eax, %eax
	ucomiss	-96(%rbp,%r15,4), %xmm0
	seta	%al
LBB0_30:                                ##   in Loop: Header=BB0_28 Depth=2
	movq	16(%r8), %rdx
	movq	(%rdx,%r14,8), %rdx
	movl	%eax, (%rdx,%r15,4)
	movslq	(%rcx), %rsi
	cmpq	%rsi, %r15
	jge	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_28 Depth=2
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	cltd
	idivl	%esi
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_28 Depth=2
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	subl	%r12d, %eax
LBB0_33:                                ##   in Loop: Header=BB0_28 Depth=2
	movq	24(%r8), %rdx
	movq	(%rdx,%r14,8), %rbx
	movl	%eax, (%rbx,%r15,4)
	movslq	(%rcx), %rcx
	cmpq	%rcx, %r15
	jge	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_28 Depth=2
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	cltd
	idivl	%ecx
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movss	LCPI0_0(%rip), %xmm5            ## xmm5 = mem[0],zero,zero,zero
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_11 Depth=1
	incl	-84(%rbp)                       ## 4-byte Folded Spill
	movq	-152(%rbp), %r13                ## 8-byte Reload
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	movl	-56(%rbp), %r12d                ## 4-byte Reload
LBB0_38:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%r14
	movslq	88(%r8), %rax
	cmpq	%rax, %r14
	jge	LBB0_39
## %bb.43:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	80(%r8), %rax
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	movl	(%rax,%rcx,4), %eax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	addl	$16, %ecx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_11
LBB0_39:
	movl	-84(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_40
LBB0_9:
	xorl	%eax, %eax
LBB0_40:
	xorl	%r12d, %r12d
	testl	%eax, %eax
	setne	%r12b
LBB0_41:
	movl	%r12d, (%r8)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_44
## %bb.42:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_44:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_LPC_ORDER,4,2              ## @MAX_LPC_ORDER
	.comm	_EIGHT_SHORT_SEQUENCE,8,3       ## @EIGHT_SHORT_SEQUENCE
	.comm	_TNS_Q_BITS_IS8,4,2             ## @TNS_Q_BITS_IS8
	.comm	_TNS_Q_BITS,4,2                 ## @TNS_Q_BITS
	.comm	_tns_min_sfb,8,3                ## @tns_min_sfb
	.comm	_FF_PROFILE_AAC_LOW,8,3         ## @FF_PROFILE_AAC_LOW
	.comm	_TNS_MAX_ORDER,4,2              ## @TNS_MAX_ORDER
	.comm	_LONG_STOP_SEQUENCE,8,3         ## @LONG_STOP_SEQUENCE
	.comm	_LONG_START_SEQUENCE,8,3        ## @LONG_START_SEQUENCE
	.comm	_TNS_GAIN_THRESHOLD_LOW,8,3     ## @TNS_GAIN_THRESHOLD_LOW
	.comm	_TNS_GAIN_THRESHOLD_HIGH,8,3    ## @TNS_GAIN_THRESHOLD_HIGH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function ff_aac_search_for_tns
lCPI0_0:
	.quad	0                               ; 0x0
	.quad	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ff_aac_search_for_tns
	.p2align	2
_ff_aac_search_for_tns:                 ; @ff_aac_search_for_tns
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	sub	sp, sp, #240
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-112]
Lloh3:
	adrp	x8, _MAX_LPC_ORDER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_LPC_ORDER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	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, #0xffffffff0
	sub	x8, x9, x8
	stur	x8, [x29, #-128]                ; 8-byte Folded Spill
	mov	sp, x8
	ldp	w1, w0, [x1, #92]
	bl	_FFMIN
	mov	x24, x0
	ldr	x8, [x19, #64]
	ldr	x20, [x8]
Lloh8:
	adrp	x8, _EIGHT_SHORT_SEQUENCE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EIGHT_SHORT_SEQUENCE@GOTPAGEOFF]
Lloh10:
	ldr	x22, [x8]
Lloh11:
	adrp	x8, _TNS_Q_BITS_IS8@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TNS_Q_BITS_IS8@GOTPAGEOFF]
Lloh13:
	adrp	x9, _TNS_Q_BITS@GOTPAGE
Lloh14:
	ldr	x9, [x9, _TNS_Q_BITS@GOTPAGEOFF]
	cmp	x20, x22
	csel	x8, x8, x9, eq
	cset	w9, eq
	ldr	w8, [x8]
	cmp	w8, #4
	cset	w8, eq
	stur	w8, [x29, #-132]                ; 4-byte Folded Spill
Lloh15:
	adrp	x8, _tns_min_sfb@GOTPAGE
Lloh16:
	ldr	x8, [x8, _tns_min_sfb@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	x8, [x8, w9, uxtw #3]
	ldr	x9, [x21]
	ldr	w0, [x8, x9, lsl #2]
	mov	w1, #0
	mov	x2, x24
	bl	_av_clip
	mov	x23, x0
	ldr	w0, [x19, #72]
	mov	w1, #0
	mov	x2, x24
	bl	_av_clip
	mov	x24, x0
	sub	x8, x29, #16
	stur	x20, [x8, #-256]                ; 8-byte Folded Spill
	sub	x8, x29, #24
	stur	x22, [x8, #-256]                ; 8-byte Folded Spill
	cmp	x20, x22
	b.ne	LBB0_2
; %bb.1:
	mov	w25, #7
	b	LBB0_3
LBB0_2:
	ldr	x8, [x21, #8]
Lloh18:
	adrp	x9, _FF_PROFILE_AAC_LOW@GOTPAGE
Lloh19:
	ldr	x9, [x9, _FF_PROFILE_AAC_LOW@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
Lloh21:
	adrp	x10, _TNS_MAX_ORDER@GOTPAGE
Lloh22:
	ldr	x10, [x10, _TNS_MAX_ORDER@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	cmp	x8, x9
	mov	w8, #12
	csel	w25, w8, w10, eq
LBB0_3:
	ldr	x8, [x19, #64]
	ldr	x8, [x8]
Lloh24:
	adrp	x9, _LONG_START_SEQUENCE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _LONG_START_SEQUENCE@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w9, ne
Lloh27:
	adrp	x10, _LONG_STOP_SEQUENCE@GOTPAGE
Lloh28:
	ldr	x10, [x10, _LONG_STOP_SEQUENCE@GOTPAGEOFF]
Lloh29:
	ldr	x10, [x10]
	lsl	w9, w9, #1
	cmp	x8, x10
	csinc	w28, w9, wzr, ne
	ldr	x8, [x19, #80]
	ldr	w9, [x8, w24, sxtw #2]
	sub	w20, w24, w23
	ldr	w8, [x8, w23, sxtw #2]
	sub	w22, w9, w8
	cmp	w22, #1
	ccmp	w20, #1, #8, ge
	b.ge	LBB0_5
; %bb.4:
	mov	w8, #0
	b	LBB0_29
LBB0_5:
	ldr	w9, [x19, #88]
	cmp	w9, #1
	b.lt	LBB0_27
; %bb.6:
	mov	w9, #0
	mov	x27, #0
	stur	wzr, [x29, #-244]               ; 4-byte Folded Spill
	sxtw	x16, w24
	sxtw	x11, w23
	add	w10, w23, w20, lsr #1
	add	x12, x21, #24
	stur	x12, [x29, #-168]               ; 8-byte Folded Spill
	sxtw	x17, w10
	mvn	x10, x11
	stur	x10, [x29, #-256]               ; 8-byte Folded Spill
	sub	x10, x16, x11
	sub	x12, x29, #8
	stur	x10, [x12, #-256]               ; 8-byte Folded Spill
	stur	x11, [x29, #-152]               ; 8-byte Folded Spill
	dup.2d	v0, x11
Lloh30:
	adrp	x10, lCPI0_0@PAGE
Lloh31:
	ldr	q1, [x10, lCPI0_0@PAGEOFF]
	dup.2d	v27, x17
	add.2d	v0, v0, v1
	sub	x10, x29, #80
	stur	q0, [x10, #-256]                ; 16-byte Folded Spill
	mov	w0, #2
	mov	w10, #4
	dup.2d	v28, x10
	mov	w10, #6
	dup.2d	v29, x10
	mov	w10, #8
	dup.2d	v30, x10
	movi.2s	v9, #128, lsl #24
	stur	x16, [x29, #-160]               ; 8-byte Folded Spill
	stur	x17, [x29, #-176]               ; 8-byte Folded Spill
	stp	q28, q27, [x29, #-208]          ; 32-byte Folded Spill
	stp	q30, q29, [x29, #-240]          ; 32-byte Folded Spill
	sub	x10, x29, #32
	stur	x21, [x10, #-256]               ; 8-byte Folded Spill
	sub	x10, x29, #40
	stur	x23, [x10, #-256]               ; 8-byte Folded Spill
	sub	x10, x29, #48
	stur	x24, [x10, #-256]               ; 8-byte Folded Spill
	sub	x10, x29, #52
	stur	w22, [x10, #-256]               ; 4-byte Folded Spill
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_14 Depth 2
                                        ;     Child Loop BB0_21 Depth 2
	sxtw	x1, w9
	stur	xzr, [x29, #-120]
	ldrsw	x9, [x19, #72]
	cmp	w23, w9
	ccmp	w24, w23, #8, lt
	stur	x1, [x29, #-144]                ; 8-byte Folded Spill
	b.ge	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w26, #2
	b	LBB0_17
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x10, [x21, #32]
	ldr	x11, [x21, #16]
	ldr	x11, [x10, x11, lsl #3]
	ldur	x10, [x29, #-256]               ; 8-byte Folded Reload
	add	x10, x10, x9
	sub	x12, x29, #8
	ldur	x12, [x12, #-256]               ; 8-byte Folded Reload
	cmp	x12, x10
	csel	x12, x12, x10, lo
	cmp	x10, #0
	mov	w10, #1
	csinc	x12, x10, x12, eq
	movi	d0, #0000000000000000
	ldur	x10, [x29, #-152]               ; 8-byte Folded Reload
	movi	d1, #0000000000000000
	cmp	x12, #8
	b.lo	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldur	x10, [x29, #-152]               ; 8-byte Folded Reload
	add	x14, x10, x1
	and	x13, x12, #0xfffffffffffffff8
	add	x10, x13, x10
	add	x14, x11, x14, lsl #3
	add	x14, x14, #32
	movi	d0, #0000000000000000
	mov	x15, x13
	sub	x26, x29, #80
	ldur	q2, [x26, #-256]                ; 16-byte Folded Reload
	movi	d1, #0000000000000000
LBB0_11:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	dup.2d	v3, x0
	add.2d	v3, v2, v3
	add.2d	v4, v2, v28
	add.2d	v5, v2, v29
	cmgt.2d	v6, v2, v27
	xtn.2s	v6, v6
	cmgt.2d	v3, v3, v27
	xtn.2s	v3, v3
	cmgt.2d	v4, v4, v27
	xtn.2s	v4, v4
	cmgt.2d	v5, v5, v27
	xtn.2s	v5, v5
	ldp	q7, q16, [x14, #-32]
	ldp	q17, q18, [x14], #64
	scvtf.2d	v7, v7
	fcvtn	v7.2s, v7.2d
	scvtf.2d	v16, v16
	fcvtn	v16.2s, v16.2d
	scvtf.2d	v17, v17
	fcvtn	v17.2s, v17.2d
	scvtf.2d	v18, v18
	fcvtn	v18.2s, v18.2d
	mov.8b	v19, v6
	bsl.8b	v19, v7, v9
	mov	s20, v19[1]
	mov.8b	v21, v3
	bsl.8b	v21, v16, v9
	mov	s22, v21[1]
	mov.8b	v23, v4
	bsl.8b	v23, v17, v9
	mov	s24, v23[1]
	mov.8b	v25, v5
	bsl.8b	v25, v18, v9
	mov	s26, v25[1]
	fadd	s0, s0, s19
	fadd	s0, s0, s20
	fadd	s0, s0, s21
	fadd	s0, s0, s22
	fadd	s0, s0, s23
	fadd	s0, s0, s24
	fadd	s0, s0, s25
	fadd	s0, s0, s26
	bsl.8b	v6, v9, v7
	mov	s7, v6[1]
	bsl.8b	v3, v9, v16
	mov	s16, v3[1]
	bsl.8b	v4, v9, v17
	mov	s17, v4[1]
	bsl.8b	v5, v9, v18
	mov	s18, v5[1]
	fadd	s1, s1, s6
	fadd	s1, s1, s7
	fadd	s1, s1, s3
	fadd	s1, s1, s16
	fadd	s1, s1, s4
	fadd	s1, s1, s17
	fadd	s1, s1, s5
	fadd	s1, s1, s18
	add.2d	v2, v2, v30
	subs	x15, x15, #8
	b.ne	LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	x12, x13
	b.eq	LBB0_16
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x11, x11, x1, lsl #3
LBB0_14:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x12, [x11, x10, lsl #3]
	scvtf	s2, x12
	cmp	x10, x17
	fcsel	s3, s2, s9, gt
	fadd	s0, s0, s3
	fcsel	s2, s9, s2, gt
	fadd	s1, s1, s2
	add	x12, x10, #1
	cmp	x12, x9
	b.ge	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	cmp	x10, x16
	mov	x10, x12
	b.lt	LBB0_14
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w26, #2
	stp	s1, s0, [x29, #-120]
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x19, #56]
	add	w8, w8, w27, lsl #7
	add	x1, x9, w8, sxtw #2
	ldur	x0, [x29, #-168]                ; 8-byte Folded Reload
	mov	x2, x22
	mov	x3, x25
	ldur	x4, [x29, #-128]                ; 8-byte Folded Reload
	bl	_ff_lpc_calc_ref_coefs_f
	cbz	w25, LBB0_24
; %bb.18:                               ;   in Loop: Header=BB0_7 Depth=1
	fmov	d8, d0
	bl	_isfinite
Lloh32:
	adrp	x8, _TNS_GAIN_THRESHOLD_LOW@GOTPAGE
Lloh33:
	ldr	x8, [x8, _TNS_GAIN_THRESHOLD_LOW@GOTPAGEOFF]
Lloh34:
	ldr	d0, [x8]
Lloh35:
	adrp	x8, _TNS_GAIN_THRESHOLD_HIGH@GOTPAGE
Lloh36:
	ldr	x8, [x8, _TNS_GAIN_THRESHOLD_HIGH@GOTPAGEOFF]
Lloh37:
	ldr	d1, [x8]
	cmp	w0, #0
	fccmp	d8, d0, #8, ne
	fccmp	d8, d1, #0, pl
	b.gt	LBB0_24
; %bb.19:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x24, #0
	mov	w22, #0
	mov	w21, #0
Lloh38:
	adrp	x8, _TNS_MAX_ORDER@GOTPAGE
Lloh39:
	ldr	x8, [x8, _TNS_MAX_ORDER@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	cmp	w25, w8
	cinc	w8, w26, eq
	sub	x9, x29, #16
	ldur	x9, [x9, #-256]                 ; 8-byte Folded Reload
	sub	x10, x29, #24
	ldur	x10, [x10, #-256]               ; 8-byte Folded Reload
	cmp	x9, x10
	csinc	w9, w8, wzr, ne
	ldr	x8, [x19, #8]
	add	x8, x8, x27, lsl #2
	str	w9, [x8]
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=2
	ldr	x10, [x19, #16]
	ldr	x10, [x10, x27, lsl #3]
	str	w9, [x10, x24, lsl #2]
	ldrsw	x9, [x8]
	sub	w10, w25, w21
	sdiv	w11, w25, w9
	cmp	x24, x9
	csel	w9, w10, w11, ge
	ldr	x10, [x19, #24]
	ldr	x10, [x10, x27, lsl #3]
	str	w9, [x10, x24, lsl #2]
	ldrsw	x8, [x8]
	sub	w9, w20, w22
	sdiv	w11, w20, w8
	cmp	x24, x8
	csel	w8, w9, w11, ge
	ldr	x9, [x19, #32]
	lsl	x26, x27, #3
	ldr	x9, [x9, x26]
	lsl	x23, x24, #2
	str	w8, [x9, x23]
	ldur	x8, [x29, #-128]                ; 8-byte Folded Reload
	add	x0, x8, w21, sxtw #3
	ldp	x9, x8, [x19, #40]
	ldr	x8, [x8, x26]
	ldr	w1, [x8, x23]
	ldr	x8, [x9, x26]
	ldr	w2, [x8, x23]
	ldr	w3, [x10, x23]
	ldur	w4, [x29, #-132]                ; 4-byte Folded Reload
	bl	_quantize_coefs
	ldp	x8, x9, [x19, #24]
	ldr	x8, [x8, x26]
	ldr	w8, [x8, x23]
	add	w21, w8, w21
	ldr	x8, [x9, x26]
	ldr	w8, [x8, x23]
	add	w22, w8, w22
	add	x24, x24, #1
	ldr	x8, [x19, #8]
	add	x8, x8, x27, lsl #2
	ldrsw	x9, [x8]
	cmp	x24, x9
	b.ge	LBB0_23
LBB0_21:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x9, x28
	cmp	w28, #2
	b.ne	LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=2
	sub	x9, x29, #120
	ldr	s0, [x9, x24, lsl #2]
	cmp	x24, #0
	cset	w9, eq
	sub	x10, x29, #120
	bfi	x10, x9, #2, #1
	ldr	s1, [x10]
	fcmp	s0, s1
	cset	w9, mi
	b	LBB0_20
LBB0_23:                                ;   in Loop: Header=BB0_7 Depth=1
	ldur	w8, [x29, #-244]                ; 4-byte Folded Reload
	add	w8, w8, #1
	stur	w8, [x29, #-244]                ; 4-byte Folded Spill
	sub	x8, x29, #32
	ldur	x21, [x8, #-256]                ; 8-byte Folded Reload
	sub	x8, x29, #40
	ldur	x23, [x8, #-256]                ; 8-byte Folded Reload
	sub	x8, x29, #48
	ldur	x24, [x8, #-256]                ; 8-byte Folded Reload
	sub	x8, x29, #52
	ldur	w22, [x8, #-256]                ; 4-byte Folded Reload
LBB0_24:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x27, x27, #1
	ldrsw	x8, [x19, #88]
	cmp	x27, x8
	ldur	x16, [x29, #-160]               ; 8-byte Folded Reload
	ldur	x17, [x29, #-176]               ; 8-byte Folded Reload
	ldp	q28, q27, [x29, #-208]          ; 32-byte Folded Reload
	ldp	q30, q29, [x29, #-240]          ; 32-byte Folded Reload
	ldur	x10, [x29, #-144]               ; 8-byte Folded Reload
	b.ge	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #80]
	ldur	x9, [x29, #-152]                ; 8-byte Folded Reload
	ldr	w8, [x8, x9, lsl #2]
	add	w9, w10, #16
	mov	w0, #2
	b	LBB0_7
LBB0_26:
	ldur	w8, [x29, #-244]                ; 4-byte Folded Reload
	b	LBB0_28
LBB0_27:
	mov	w8, #0
LBB0_28:
	cmp	w8, #0
	cset	w8, ne
LBB0_29:
	str	w8, [x19]
	ldur	x8, [x29, #-112]
Lloh41:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh42:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.30:
	sub	sp, x29, #96
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
LBB0_31:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdr	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_LPC_ORDER,4,2              ; @MAX_LPC_ORDER
	.comm	_EIGHT_SHORT_SEQUENCE,8,3       ; @EIGHT_SHORT_SEQUENCE
	.comm	_TNS_Q_BITS_IS8,4,2             ; @TNS_Q_BITS_IS8
	.comm	_TNS_Q_BITS,4,2                 ; @TNS_Q_BITS
	.comm	_tns_min_sfb,8,3                ; @tns_min_sfb
	.comm	_FF_PROFILE_AAC_LOW,8,3         ; @FF_PROFILE_AAC_LOW
	.comm	_TNS_MAX_ORDER,4,2              ; @TNS_MAX_ORDER
	.comm	_LONG_STOP_SEQUENCE,8,3         ; @LONG_STOP_SEQUENCE
	.comm	_LONG_START_SEQUENCE,8,3        ; @LONG_START_SEQUENCE
	.comm	_TNS_GAIN_THRESHOLD_LOW,8,3     ; @TNS_GAIN_THRESHOLD_LOW
	.comm	_TNS_GAIN_THRESHOLD_HIGH,8,3    ; @TNS_GAIN_THRESHOLD_HIGH
.subsections_via_symbols
