	.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_pred
LCPI0_0:
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
	.long	4                               ## 0x4
LCPI0_1:
	.long	5                               ## 0x5
	.long	6                               ## 0x6
	.long	7                               ## 0x7
	.long	8                               ## 0x8
LCPI0_2:
	.long	9                               ## 0x9
	.long	10                              ## 0xa
	.long	11                              ## 0xb
	.long	12                              ## 0xc
LCPI0_3:
	.long	13                              ## 0xd
	.long	14                              ## 0xe
	.long	15                              ## 0xf
	.long	16                              ## 0x10
LCPI0_4:
	.long	17                              ## 0x11
	.long	18                              ## 0x12
	.long	19                              ## 0x13
	.long	20                              ## 0x14
LCPI0_5:
	.long	21                              ## 0x15
	.long	22                              ## 0x16
	.long	23                              ## 0x17
	.long	24                              ## 0x18
LCPI0_6:
	.long	25                              ## 0x19
	.long	26                              ## 0x1a
	.long	27                              ## 0x1b
	.long	28                              ## 0x1c
LCPI0_7:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ff_aac_search_for_pred
	.p2align	4, 0x90
_ff_aac_search_for_pred:                ## @ff_aac_search_for_pred
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	72(%rsi), %edi
	movq	_ff_aac_pred_sfb_max@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %esi
	callq	_FFMIN
	movl	%eax, %r13d
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	32(%rbx), %rax
	movq	(%rax), %rax
	movq	_EIGHT_SHORT_SEQUENCE@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	cmpq	(%rcx), %rax
	je	LBB0_54
## %bb.1:
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %r14
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, 44(%rax)
	jne	LBB0_3
## %bb.2:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	96(%r15), %edi
	callq	_reset_all_predictors
	movl	$1, 44(%r15)
	movq	(%r15), %rdi
	movq	8(%r15), %rsi
	movl	$4096, %edx                     ## imm = 0x1000
	callq	_memcpy
	movq	48(%r15), %rax
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,2,3,4]
	movups	%xmm0, 4(%rax)
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [5,6,7,8]
	movups	%xmm0, 20(%rax)
	movaps	LCPI0_2(%rip), %xmm0            ## xmm0 = [9,10,11,12]
	movups	%xmm0, 36(%rax)
	movaps	LCPI0_3(%rip), %xmm0            ## xmm0 = [13,14,15,16]
	movups	%xmm0, 52(%rax)
	movaps	LCPI0_4(%rip), %xmm0            ## xmm0 = [17,18,19,20]
	movups	%xmm0, 68(%rax)
	movaps	LCPI0_5(%rip), %xmm0            ## xmm0 = [21,22,23,24]
	movups	%xmm0, 84(%rax)
	movaps	LCPI0_6(%rip), %xmm0            ## xmm0 = [25,26,27,28]
	movups	%xmm0, 100(%rax)
	movabsq	$128849018909, %rcx             ## imm = 0x1E0000001D
	movq	%rcx, 116(%rax)
LBB0_3:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_update_pred_resets
	movq	16(%r15), %rdi
	movq	24(%r15), %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	_PRED_SFB_START@GOTPCREL(%rip), %rax
	movslq	(%rax), %r9
	cmpl	%r13d, %r9d
	jge	LBB0_54
## %bb.4:
	leaq	512(%r14), %rax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	leaq	1024(%r14), %rax
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	leaq	1536(%r14), %rax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	leaq	2048(%r14), %rax
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$64, %rax
	movq	%rax, -208(%rbp)                ## 8-byte Spill
	movslq	%r13d, %r8
	xorl	%eax, %eax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	_MAX_PREDICTORS@GOTPCREL(%rip), %r11
	movl	$0, -64(%rbp)                   ## 4-byte Folded Spill
	xorl	%r10d, %r10d
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movl	%r13d, -100(%rbp)               ## 4-byte Spill
	movq	%r8, -136(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
LBB0_45:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-108(%rbp), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	16(%rcx), %rcx
	movl	%ebx, (%rcx,%rdi,4)
LBB0_46:                                ##   in Loop: Header=BB0_5 Depth=1
	addl	%eax, %r10d
LBB0_47:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%r8, %r9
	je	LBB0_48
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
                                        ##     Child Loop BB0_23 Depth 2
                                        ##     Child Loop BB0_28 Depth 2
                                        ##     Child Loop BB0_38 Depth 2
                                        ##     Child Loop BB0_41 Depth 2
	movq	%r9, %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	88(%rax), %rax
	movq	(%rax,%r9,8), %rax
	movl	$0, %edi
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	24(%rcx), %rcx
	movl	(%rcx,%rbx,4), %edi
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%esi, %esi
	testq	%rax, %rax
	sete	%cl
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_RESERVED_BT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	56(%rax), %rax
	leaq	1(%rbx), %r9
	movl	4(%rax,%rbx,4), %edx
	cmpl	(%r11), %edx
	jg	LBB0_47
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%edx, %r15d
	movb	%cl, -160(%rbp)                 ## 1-byte Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	%esi, -104(%rbp)                ## 4-byte Spill
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	16(%r12), %rsi
	testq	%rsi, %rsi
	setne	%dil
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	24(%rcx), %rdx
	movl	(%rdx,%rbx,4), %edx
	movq	_INTENSITY_BT2@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edx
	setge	%cl
	testb	%cl, %dil
	jne	LBB0_47
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_NOISE_BT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edx
	je	LBB0_47
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r9, -152(%rbp)                 ## 8-byte Spill
	movl	%r10d, -60(%rbp)                ## 4-byte Spill
	movslq	(%rax,%rbx,4), %rcx
	subl	%ecx, %r15d
	movl	%r15d, %edx
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	movq	40(%r12), %rax
	movq	(%rax,%rsi,8), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	leaq	(,%rcx,4), %r15
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	8(%r13), %rsi
	addq	%r15, %rsi
	movq	%r14, %rdi
	callq	*32(%r12)
	movq	8(%r13), %rcx
	movq	%r15, -224(%rbp)                ## 8-byte Spill
	addq	%r15, %rcx
	movq	%rbx, %r15
	movq	80(%r13), %rax
	movl	(%rax,%rbx,4), %r10d
	movl	24(%r12), %eax
	cltd
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	idivl	(%rsi,%rbx,4)
                                        ## kill: def $eax killed $eax def $rax
	movq	_INFINITY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r11d
	subq	$8, %rsp
	movq	%r12, %rdi
	movl	-68(%rbp), %r12d                ## 4-byte Reload
	xorl	%esi, %esi
	movq	%rcx, %rdx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	movl	%r12d, %r9d
	pushq	$0
	pushq	$0
	leaq	-108(%rbp), %rbx
	pushq	%rbx
	pushq	%r11
	pushq	%rax
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	%r10
	callq	_quantize_and_encode_band_cost
	addq	$64, %rsp
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	addl	-108(%rbp), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	%r12d, %r13d
	testl	%r12d, %r12d
	movq	-200(%rbp), %rsi                ## 8-byte Reload
	movq	-176(%rbp), %rbx                ## 8-byte Reload
	jle	LBB0_24
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r8
	movq	8(%rax), %r9
	cmpl	$8, %r12d
	jae	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_22
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, %eax
	andl	$-8, %eax
	leaq	-8(%rax), %rcx
	movq	%rcx, %r10
	shrq	$3, %r10
	incq	%r10
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r10, %rdi
	andq	$-2, %rdi
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	leaq	(%r8,%rcx,4), %rdx
	addq	$48, %rdx
	leaq	(%r9,%rcx,4), %rcx
	addq	$48, %rcx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	-48(%rcx,%rbx,4), %xmm3
	movdqu	-32(%rcx,%rbx,4), %xmm1
	movdqu	-48(%rdx,%rbx,4), %xmm2
	psubd	%xmm2, %xmm3
	movdqu	-32(%rdx,%rbx,4), %xmm2
	psubd	%xmm2, %xmm1
	cvtdq2ps	%xmm3, %xmm2
	cvtdq2ps	%xmm1, %xmm1
	movups	%xmm2, 1024(%r14,%rbx,4)
	movups	%xmm1, 1040(%r14,%rbx,4)
	movdqu	-16(%rcx,%rbx,4), %xmm3
	movdqu	(%rcx,%rbx,4), %xmm1
	movdqu	-16(%rdx,%rbx,4), %xmm2
	psubd	%xmm2, %xmm3
	movdqu	(%rdx,%rbx,4), %xmm2
	psubd	%xmm2, %xmm1
	cvtdq2ps	%xmm3, %xmm2
	cvtdq2ps	%xmm1, %xmm1
	movups	%xmm2, 1056(%r14,%rbx,4)
	movups	%xmm1, 1072(%r14,%rbx,4)
	addq	$16, %rbx
	addq	$-2, %rdi
	jne	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	testb	$1, %r10b
	je	LBB0_21
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	addq	%rbx, %rcx
	movdqu	(%r9,%rcx,4), %xmm3
	movdqu	16(%r9,%rcx,4), %xmm1
	movdqu	(%r8,%rcx,4), %xmm2
	psubd	%xmm2, %xmm3
	movdqu	16(%r8,%rcx,4), %xmm2
	psubd	%xmm2, %xmm1
	cvtdq2ps	%xmm3, %xmm2
	cvtdq2ps	%xmm1, %xmm1
	movups	%xmm2, (%rsi,%rbx,4)
	movups	%xmm1, 16(%rsi,%rbx,4)
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%r13, %rax
	movq	-176(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_24
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	leaq	(%r9,%rdx,4), %rcx
	leaq	(%r8,%rdx,4), %rdx
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rcx,%rax,4), %edi
	subl	(%rdx,%rax,4), %edi
	xorps	%xmm1, %xmm1
	cvtsi2ss	%edi, %xmm1
	movss	%xmm1, (%rsi,%rax,4)
	incq	%rax
	cmpq	%rax, %r13
	jne	LBB0_23
LBB0_24:                                ##   in Loop: Header=BB0_5 Depth=1
	movss	%xmm0, -56(%rbp)                ## 4-byte Spill
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movb	-160(%rbp), %cl                 ## 1-byte Reload
	movb	%cl, %al
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	%r12d, %edx
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	callq	*32(%r12)
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, %edx
	movq	_RESERVED_BT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jge	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	movq	%rbx, %rdx
	callq	_find_max_val
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	80(%rcx), %rcx
	movl	(%rcx,%r15,4), %esi
	movl	%eax, %edi
	callq	_find_min_book
	movl	%eax, %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	-104(%rbp), %edx                ## 4-byte Reload
	callq	_av_clip
	movl	%eax, %edx
LBB0_26:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rdx, -216(%rbp)                ## 8-byte Spill
	movq	-48(%rbp), %r11                 ## 8-byte Reload
	movq	80(%r11), %rax
	movl	(%rax,%r15,4), %eax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movl	24(%r12), %eax
	cltd
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	idivl	(%rcx,%r15,4)
                                        ## kill: def $eax killed $eax def $rax
	movq	_INFINITY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	subq	$8, %rsp
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	-200(%rbp), %rdx                ## 8-byte Reload
	movq	-192(%rbp), %rcx                ## 8-byte Reload
	movq	%rbx, %r8
	movl	-68(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %r9d
	pushq	$0
	pushq	$0
	leaq	-164(%rbp), %rbx
	pushq	%rbx
	pushq	%r10
	movq	%r11, %r12
	pushq	%rax
	pushq	-216(%rbp)                      ## 8-byte Folded Reload
	pushq	-160(%rbp)                      ## 8-byte Folded Reload
	callq	_quantize_and_encode_band_cost
	addq	$64, %rsp
	movq	(%r12), %rax
	movq	-192(%rbp), %rbx                ## 8-byte Reload
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rax,%rcx,4), %rsi
	testl	%r15d, %r15d
	movq	-184(%rbp), %rdi                ## 8-byte Reload
	jle	LBB0_31
## %bb.27:                              ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_28 Depth=2
	xorps	%xmm1, %xmm1
	cvtsi2ssl	(%rsi,%rax,4), %xmm1
	addss	%xmm0, %xmm1
	cvttss2si	%xmm1, %ecx
	movl	%ecx, (%rsi,%rax,4)
	incq	%rax
	cmpq	%rax, %r13
	je	LBB0_31
LBB0_28:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	(%rbx,%rax,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	xorps	%xmm0, %xmm0
	ucomiss	%xmm0, %xmm1
	jne	LBB0_29
	jnp	LBB0_30
LBB0_29:                                ##   in Loop: Header=BB0_28 Depth=2
	xorps	%xmm0, %xmm0
	cvtsi2ssl	(%rsi,%rax,4), %xmm0
	subss	%xmm1, %xmm0
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%r15d, %edx
	movq	%rdi, %rbx
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	callq	*32(%r12)
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, %r9d
	movq	_RESERVED_BT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	jge	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edi
	movl	%r15d, %esi
	movq	%rbx, %rdx
	callq	_find_max_val
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	80(%rcx), %rcx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rcx,%rdx,4), %esi
	movl	%eax, %edi
	callq	_find_min_book
	movl	%eax, %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	-104(%rbp), %edx                ## 4-byte Reload
	callq	_av_clip
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %r9d
LBB0_33:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, %r8
	movq	-224(%rbp), %rbx                ## 8-byte Reload
	addq	(%rax), %rbx
	movq	80(%rax), %rax
	movl	(%rax,%rdi,4), %ecx
	movl	24(%r12), %eax
	cltd
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	idivl	(%rsi,%rdi,4)
	movq	_INFINITY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	subq	$64, %rsp
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rsp)
	movl	%edx, 24(%rsp)
	movl	%eax, 16(%rsp)
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movl	%r9d, 8(%rsp)
	movl	%ecx, (%rsp)
	movl	$0, 48(%rsp)
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	movl	%r15d, %r9d
	callq	_quantize_and_encode_band_cost
	addq	$64, %rsp
	testl	%r15d, %r15d
	jle	LBB0_34
## %bb.35:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	-1(%r13), %rcx
	movl	%r13d, %eax
	andl	$3, %eax
	cmpq	$3, %rcx
	jae	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_5 Depth=1
	xorps	%xmm1, %xmm1
	xorl	%ecx, %ecx
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	-136(%rbp), %r8                 ## 8-byte Reload
	movq	_MAX_PREDICTORS@GOTPCREL(%rip), %r11
	movl	-60(%rbp), %r10d                ## 4-byte Reload
	movq	-152(%rbp), %r9                 ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movss	-56(%rbp), %xmm4                ## 4-byte Reload
                                        ## xmm4 = mem[0],zero,zero,zero
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_39
LBB0_34:                                ##   in Loop: Header=BB0_5 Depth=1
	xorps	%xmm1, %xmm1
	movl	-100(%rbp), %r13d               ## 4-byte Reload
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	-136(%rbp), %r8                 ## 8-byte Reload
	movq	_MAX_PREDICTORS@GOTPCREL(%rip), %r11
	movl	-60(%rbp), %r10d                ## 4-byte Reload
	movq	-152(%rbp), %r9                 ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movss	-56(%rbp), %xmm4                ## 4-byte Reload
                                        ## xmm4 = mem[0],zero,zero,zero
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_42
LBB0_37:                                ##   in Loop: Header=BB0_5 Depth=1
	andl	$-4, %r13d
	xorps	%xmm1, %xmm1
	xorl	%ecx, %ecx
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	-136(%rbp), %r8                 ## 8-byte Reload
	movq	_MAX_PREDICTORS@GOTPCREL(%rip), %r11
	movl	-60(%rbp), %r10d                ## 4-byte Reload
	movq	-152(%rbp), %r9                 ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movss	-56(%rbp), %xmm4                ## 4-byte Reload
                                        ## xmm4 = mem[0],zero,zero,zero
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_38:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	(%r14,%rcx,4), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	movss	4(%r14,%rcx,4), %xmm3           ## xmm3 = mem[0],zero,zero,zero
	subss	512(%r14,%rcx,4), %xmm2
	mulss	%xmm2, %xmm2
	addss	%xmm1, %xmm2
	subss	516(%r14,%rcx,4), %xmm3
	mulss	%xmm3, %xmm3
	addss	%xmm2, %xmm3
	movss	8(%r14,%rcx,4), %xmm2           ## xmm2 = mem[0],zero,zero,zero
	subss	520(%r14,%rcx,4), %xmm2
	mulss	%xmm2, %xmm2
	addss	%xmm3, %xmm2
	movss	12(%r14,%rcx,4), %xmm1          ## xmm1 = mem[0],zero,zero,zero
	subss	524(%r14,%rcx,4), %xmm1
	mulss	%xmm1, %xmm1
	addss	%xmm2, %xmm1
	addq	$4, %rcx
	cmpq	%rcx, %r13
	jne	LBB0_38
LBB0_39:                                ##   in Loop: Header=BB0_5 Depth=1
	testq	%rax, %rax
	movl	-100(%rbp), %r13d               ## 4-byte Reload
	je	LBB0_42
## %bb.40:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-184(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rcx,4), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_41:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	-512(%rcx,%rdx,4), %xmm2        ## xmm2 = mem[0],zero,zero,zero
	subss	(%rcx,%rdx,4), %xmm2
	mulss	%xmm2, %xmm2
	addss	%xmm2, %xmm1
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_41
LBB0_42:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	24(%r12), %eax
	cltd
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	idivl	(%rcx,%rdi,4)
	xorps	%xmm2, %xmm2
	cvtsi2ss	%eax, %xmm2
	mulss	%xmm1, %xmm2
	addss	%xmm2, %xmm0
	ucomiss	%xmm0, %xmm4
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	jb	LBB0_45
## %bb.43:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%esi, %ebx
	jg	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-164(%rbp), %eax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	64(%rdx), %rcx
	movl	$1, (%rcx,%rdi,4)
	movq	16(%rdx), %rcx
	movl	%esi, (%rcx,%rdi,4)
	movq	24(%rdx), %rcx
	movl	%ebx, (%rcx,%rdi,4)
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	incl	%ecx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	jmp	LBB0_46
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%ebx, %ebx
	testb	$1, %r10b
	jne	LBB0_20
	jmp	LBB0_21
LBB0_48:
	cmpl	$0, -144(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_49
## %bb.50:
	movl	$1, %r12d
	cmpl	%r10d, -64(%rbp)                ## 4-byte Folded Reload
	movq	_PRED_SFB_START@GOTPCREL(%rip), %rax
	jge	LBB0_54
## %bb.51:
	movl	(%rax), %ebx
	cmpl	%r13d, %ebx
	jge	LBB0_53
	.p2align	4, 0x90
LBB0_52:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_RESTORE_PRED
	incl	%ebx
	cmpl	%ebx, %r13d
	jne	LBB0_52
LBB0_53:
	xorl	%r12d, %r12d
	movq	-208(%rbp), %rdi                ## 8-byte Reload
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	jmp	LBB0_54
LBB0_49:
	xorl	%r12d, %r12d
LBB0_54:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r12d, 40(%rax)
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_aac_pred_sfb_max,8,3        ## @ff_aac_pred_sfb_max
	.comm	_EIGHT_SHORT_SEQUENCE,8,3       ## @EIGHT_SHORT_SEQUENCE
	.comm	_PRED_SFB_START,4,2             ## @PRED_SFB_START
	.comm	_RESERVED_BT,4,2                ## @RESERVED_BT
	.comm	_MAX_PREDICTORS,4,2             ## @MAX_PREDICTORS
	.comm	_INTENSITY_BT2,4,2              ## @INTENSITY_BT2
	.comm	_NOISE_BT,4,2                   ## @NOISE_BT
	.comm	_INFINITY,4,2                   ## @INFINITY
.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_pred
lCPI0_0:
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.long	4                               ; 0x4
lCPI0_1:
	.long	5                               ; 0x5
	.long	6                               ; 0x6
	.long	7                               ; 0x7
	.long	8                               ; 0x8
lCPI0_2:
	.long	9                               ; 0x9
	.long	10                              ; 0xa
	.long	11                              ; 0xb
	.long	12                              ; 0xc
lCPI0_3:
	.long	13                              ; 0xd
	.long	14                              ; 0xe
	.long	15                              ; 0xf
	.long	16                              ; 0x10
lCPI0_4:
	.long	17                              ; 0x11
	.long	18                              ; 0x12
	.long	19                              ; 0x13
	.long	20                              ; 0x14
lCPI0_5:
	.long	21                              ; 0x15
	.long	22                              ; 0x16
	.long	23                              ; 0x17
	.long	24                              ; 0x18
lCPI0_6:
	.long	25                              ; 0x19
	.long	26                              ; 0x1a
	.long	27                              ; 0x1b
	.long	28                              ; 0x1c
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_7:
	.long	29                              ; 0x1d
	.long	30                              ; 0x1e
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ff_aac_search_for_pred
	.p2align	2
_ff_aac_search_for_pred:                ; @ff_aac_search_for_pred
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #320
	.cfi_def_cfa_offset 320
	stp	d9, d8, [sp, #208]              ; 16-byte Folded Spill
	stp	x28, x27, [sp, #224]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #240]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #256]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #272]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #288]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #304]            ; 16-byte Folded Spill
	add	x29, sp, #304
	.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
	mov	x19, x1
	mov	x21, x0
	ldr	w0, [x1, #72]
Lloh0:
	adrp	x8, _ff_aac_pred_sfb_max@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_aac_pred_sfb_max@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x21]
	ldr	w1, [x8, x9, lsl #2]
	bl	_FFMIN
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _EIGHT_SHORT_SEQUENCE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EIGHT_SHORT_SEQUENCE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_47
; %bb.1:
	str	x0, [sp, #48]                   ; 8-byte Folded Spill
	ldr	x8, [x21, #8]
	str	x8, [sp, #152]                  ; 8-byte Folded Spill
	ldr	w8, [x19, #44]
	cbnz	w8, LBB0_3
; %bb.2:
	ldr	w0, [x19, #96]
	bl	_reset_all_predictors
	mov	w8, #1
	str	w8, [x19, #44]
	ldp	x0, x1, [x19]
	mov	w2, #4096
	bl	_memcpy
	ldr	x8, [x19, #48]
Lloh6:
	adrp	x9, lCPI0_0@PAGE
Lloh7:
	ldr	q0, [x9, lCPI0_0@PAGEOFF]
	stur	q0, [x8, #4]
Lloh8:
	adrp	x9, lCPI0_1@PAGE
Lloh9:
	ldr	q0, [x9, lCPI0_1@PAGEOFF]
	stur	q0, [x8, #20]
Lloh10:
	adrp	x9, lCPI0_2@PAGE
Lloh11:
	ldr	q0, [x9, lCPI0_2@PAGEOFF]
	stur	q0, [x8, #36]
Lloh12:
	adrp	x9, lCPI0_3@PAGE
Lloh13:
	ldr	q0, [x9, lCPI0_3@PAGEOFF]
	stur	q0, [x8, #52]
Lloh14:
	adrp	x9, lCPI0_4@PAGE
Lloh15:
	ldr	q0, [x9, lCPI0_4@PAGEOFF]
	stur	q0, [x8, #68]
Lloh16:
	adrp	x9, lCPI0_5@PAGE
Lloh17:
	ldr	q0, [x9, lCPI0_5@PAGEOFF]
	stur	q0, [x8, #84]
Lloh18:
	adrp	x9, lCPI0_6@PAGE
Lloh19:
	ldr	q0, [x9, lCPI0_6@PAGEOFF]
	stur	q0, [x8, #100]
Lloh20:
	adrp	x9, lCPI0_7@PAGE
Lloh21:
	ldr	d0, [x9, lCPI0_7@PAGEOFF]
	stur	d0, [x8, #116]
LBB0_3:
	mov	x0, x19
	bl	_update_pred_resets
	ldp	x0, x1, [x19, #16]
	mov	w2, #8
	bl	_memcpy
Lloh22:
	adrp	x8, _PRED_SFB_START@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PRED_SFB_START@GOTPAGEOFF]
Lloh24:
	ldrsw	x26, [x8]
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	cmp	w26, w8
	b.ge	LBB0_47
; %bb.4:
	str	wzr, [sp, #84]                  ; 4-byte Folded Spill
	mov	w13, #0
	mov	w14, #0
	ldr	x9, [sp, #152]                  ; 8-byte Folded Reload
	add	x10, x9, #512
	stur	x10, [x29, #-128]               ; 8-byte Folded Spill
	add	x10, x9, #1024
	str	x10, [sp, #144]                 ; 8-byte Folded Spill
	add	x10, x9, #1536
	stur	x10, [x29, #-136]               ; 8-byte Folded Spill
	add	x10, x9, #2048
	str	x10, [sp, #88]                  ; 8-byte Folded Spill
	add	x10, x19, #64
	sxtw	x15, w8
	add	x8, x9, #1072
	stp	x10, x8, [sp, #32]              ; 16-byte Folded Spill
Lloh25:
	adrp	x25, _RESERVED_BT@GOTPAGE
Lloh26:
	ldr	x25, [x25, _RESERVED_BT@GOTPAGEOFF]
Lloh27:
	adrp	x16, _MAX_PREDICTORS@GOTPAGE
Lloh28:
	ldr	x16, [x16, _MAX_PREDICTORS@GOTPAGEOFF]
Lloh29:
	adrp	x17, _INTENSITY_BT2@GOTPAGE
Lloh30:
	ldr	x17, [x17, _INTENSITY_BT2@GOTPAGEOFF]
Lloh31:
	adrp	x0, _NOISE_BT@GOTPAGE
Lloh32:
	ldr	x0, [x0, _NOISE_BT@GOTPAGEOFF]
	add	x8, x9, #1024
	stp	x8, x15, [sp, #56]              ; 16-byte Folded Spill
	str	x21, [sp, #72]                  ; 8-byte Folded Spill
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldur	w8, [x29, #-108]
	ldr	x9, [x19, #16]
	str	w28, [x9, x26, lsl #2]
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w13, w11, w13
	add	w14, w8, w14
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x26, x1
	cmp	x1, x15
	b.eq	LBB0_42
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
                                        ;     Child Loop BB0_27 Depth 2
                                        ;     Child Loop BB0_36 Depth 2
                                        ;     Child Loop BB0_39 Depth 2
	ldr	x8, [x19, #88]
	ldr	x8, [x8, x26, lsl #3]
	cbz	x8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w2, #0
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x9, [x19, #24]
	ldr	w2, [x9, x26, lsl #2]
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	cmp	x8, #0
	cset	w3, eq
	ldr	w8, [x25]
	csel	w4, w8, wzr, eq
	ldr	x8, [x19, #56]
	add	x1, x26, #1
	ldr	w9, [x8, x1, lsl #2]
	ldr	w10, [x16]
	cmp	w9, w10
	b.gt	LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x10, [x19, #24]
	ldr	w11, [x10, x26, lsl #2]
	ldr	x10, [x21, #16]
	ldr	w12, [x17]
	cmp	w11, w12
	ccmp	x10, #0, #4, ge
	ldr	w12, [x0]
	ccmp	w11, w12, #4, eq
	b.eq	LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	stp	w13, w4, [sp, #120]             ; 8-byte Folded Spill
	str	x1, [sp, #104]                  ; 8-byte Folded Spill
	str	w14, [sp, #116]                 ; 4-byte Folded Spill
	ldrsw	x11, [x8, x26, lsl #2]
	str	w3, [sp, #128]                  ; 4-byte Folded Spill
	sub	w24, w9, w11
	ldp	x9, x8, [x21, #32]
	ldr	x23, [x8, x10, lsl #3]
	ldr	x8, [x19, #8]
	stur	x11, [x29, #-144]               ; 8-byte Folded Spill
	lsl	x28, x11, #2
	add	x1, x8, x28
	str	w2, [sp, #132]                  ; 4-byte Folded Spill
	mov	x22, x25
	ldr	x27, [sp, #152]                 ; 8-byte Folded Reload
	mov	x0, x27
	mov	x2, x24
	blr	x9
	ldr	x8, [x19, #8]
	ldr	x9, [x19, #80]
	lsl	x10, x26, #2
	ldr	w6, [x9, x10]
	add	x2, x8, x28
	ldr	w8, [x21, #24]
	str	x10, [sp, #136]                 ; 8-byte Folded Spill
	stur	x23, [x29, #-120]               ; 8-byte Folded Spill
	ldr	w9, [x23, x10]
Lloh33:
	adrp	x10, _INFINITY@GOTPAGE
Lloh34:
	ldr	x10, [x10, _INFINITY@GOTPAGEOFF]
Lloh35:
	ldr	w10, [x10]
	sdiv	w8, w8, w9
	str	wzr, [sp, #24]
	sub	x9, x29, #108
	stp	x9, xzr, [sp, #8]
	stp	w8, w10, [sp]
	mov	x0, x21
	mov	x1, #0
	mov	x3, #0
	mov	x4, x27
	ldr	w22, [sp, #132]                 ; 4-byte Folded Reload
	mov	x5, x24
	mov	x7, x22
	bl	_quantize_and_encode_band_cost
	ldr	w27, [sp, #128]                 ; 4-byte Folded Reload
	fmov	s8, s0
	ldur	w8, [x29, #-108]
	str	w8, [sp, #100]                  ; 4-byte Folded Spill
	cmp	w24, #1
	b.lt	LBB0_21
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	ldp	x8, x9, [x19]
	cmp	w24, #16
	b.hs	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x10, #0
	b	LBB0_19
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	and	x10, x24, #0xfffffff0
	add	x11, x8, x28
	add	x11, x11, #32
	add	x12, x9, x28
	add	x12, x12, #32
	ldr	x13, [sp, #40]                  ; 8-byte Folded Reload
	mov	x14, x10
LBB0_17:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	ldp	q4, q5, [x11, #-32]
	ldp	q6, q7, [x11], #64
	sub.4s	v0, v0, v4
	sub.4s	v1, v1, v5
	sub.4s	v2, v2, v6
	sub.4s	v3, v3, v7
	scvtf.4s	v0, v0
	scvtf.4s	v1, v1
	scvtf.4s	v2, v2
	scvtf.4s	v3, v3
	stp	q0, q1, [x13, #-48]
	stp	q2, q3, [x13, #-16]
	add	x13, x13, #64
	subs	x14, x14, #16
	b.ne	LBB0_17
; %bb.18:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	x10, x24
	b.eq	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_8 Depth=1
	ldur	x11, [x29, #-144]               ; 8-byte Folded Reload
	add	x11, x10, x11
	lsl	x11, x11, #2
	add	x9, x9, x11
	add	x8, x8, x11
	ldr	x11, [sp, #56]                  ; 8-byte Folded Reload
	add	x11, x11, x10, lsl #2
	sub	x10, x24, x10
LBB0_20:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w12, [x9], #4
	ldr	w13, [x8], #4
	sub	w12, w12, w13
	scvtf	s0, w12
	str	s0, [x11], #4
	subs	x10, x10, #1
	b.ne	LBB0_20
LBB0_21:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x21, [sp, #72]                  ; 8-byte Folded Reload
	ldr	x8, [x21, #32]
	ldur	x0, [x29, #-136]                ; 8-byte Folded Reload
	ldr	x1, [sp, #144]                  ; 8-byte Folded Reload
	mov	x2, x24
	blr	x8
	ldr	w8, [x25]
	mov	x7, x22
	cmp	w22, w8
	b.ge	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #1
	mov	x1, x24
	ldur	x2, [x29, #-136]                ; 8-byte Folded Reload
	bl	_find_max_val
	ldr	x8, [x19, #80]
	ldr	w1, [x8, x26, lsl #2]
	bl	_find_min_book
	mov	x1, x27
	ldr	w2, [sp, #124]                  ; 4-byte Folded Reload
	bl	_av_clip
	mov	x7, x0
LBB0_23:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19, #80]
	ldp	x23, x2, [sp, #136]             ; 16-byte Folded Reload
	ldr	w6, [x8, x23]
	ldr	w8, [x21, #24]
	ldur	x9, [x29, #-120]                ; 8-byte Folded Reload
	ldr	w9, [x9, x23]
Lloh36:
	adrp	x10, _INFINITY@GOTPAGE
Lloh37:
	ldr	x10, [x10, _INFINITY@GOTPAGEOFF]
Lloh38:
	ldr	w10, [x10]
	sdiv	w8, w8, w9
	str	wzr, [sp, #24]
	sub	x9, x29, #112
	stp	x9, xzr, [sp, #8]
	stp	w8, w10, [sp]
	mov	x0, x21
	mov	x1, #0
	ldr	x3, [sp, #88]                   ; 8-byte Folded Reload
	ldur	x4, [x29, #-136]                ; 8-byte Folded Reload
	mov	x5, x24
	bl	_quantize_and_encode_band_cost
	ldr	x8, [x19]
	cmp	w24, #1
	ldur	x13, [x29, #-144]               ; 8-byte Folded Reload
	b.lt	LBB0_29
; %bb.24:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x9, x8, x13, lsl #2
	mov	x10, x24
	ldr	x11, [sp, #88]                  ; 8-byte Folded Reload
	b	LBB0_27
LBB0_25:                                ;   in Loop: Header=BB0_27 Depth=2
	ldr	s1, [x9]
	scvtf	s1, s1
	fsub	s0, s1, s0
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=2
	ldr	s1, [x9]
	scvtf	s1, s1
	fadd	s0, s0, s1
	fcvtzs	w12, s0
	str	w12, [x9], #4
	add	x11, x11, #4
	subs	x10, x10, #1
	b.eq	LBB0_29
LBB0_27:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	s0, [x11]
	fcmp	s0, #0.0
	b.ne	LBB0_25
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=2
	movi	d0, #0000000000000000
	b	LBB0_26
LBB0_29:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x9, [x21, #32]
	add	x1, x8, x13, lsl #2
	ldur	x0, [x29, #-128]                ; 8-byte Folded Reload
	mov	x2, x24
	mov	x20, x13
	blr	x9
	ldr	w8, [x25]
	mov	x28, x22
	cmp	w22, w8
	b.ge	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #1
	mov	x1, x24
	ldur	x2, [x29, #-128]                ; 8-byte Folded Reload
	bl	_find_max_val
	ldr	x8, [x19, #80]
	ldr	w1, [x8, x26, lsl #2]
	bl	_find_min_book
	mov	x1, x27
	ldr	w2, [sp, #124]                  ; 4-byte Folded Reload
	bl	_av_clip
	mov	x28, x0
LBB0_31:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x19, #80]
	ldr	w6, [x9, x23]
	add	x2, x8, x20, lsl #2
	ldr	w8, [x21, #24]
	ldur	x9, [x29, #-120]                ; 8-byte Folded Reload
	ldr	w9, [x9, x23]
Lloh39:
	adrp	x10, _INFINITY@GOTPAGE
Lloh40:
	ldr	x10, [x10, _INFINITY@GOTPAGEOFF]
Lloh41:
	ldr	w10, [x10]
	sdiv	w8, w8, w9
	stp	xzr, xzr, [sp, #8]
	str	wzr, [sp, #24]
	stp	w8, w10, [sp]
	mov	x0, x21
	mov	x1, #0
	mov	x3, #0
	ldur	x4, [x29, #-128]                ; 8-byte Folded Reload
	mov	x5, x24
	mov	x7, x28
	bl	_quantize_and_encode_band_cost
	cmp	w24, #1
	b.lt	LBB0_34
; %bb.32:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	w24, #16
	b.hs	LBB0_35
; %bb.33:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x8, #0
	movi	d1, #0000000000000000
	ldp	w14, w13, [sp, #116]            ; 8-byte Folded Reload
	ldr	x15, [sp, #64]                  ; 8-byte Folded Reload
Lloh42:
	adrp	x16, _MAX_PREDICTORS@GOTPAGE
Lloh43:
	ldr	x16, [x16, _MAX_PREDICTORS@GOTPAGEOFF]
Lloh44:
	adrp	x17, _INTENSITY_BT2@GOTPAGE
Lloh45:
	ldr	x17, [x17, _INTENSITY_BT2@GOTPAGEOFF]
Lloh46:
	adrp	x0, _NOISE_BT@GOTPAGE
Lloh47:
	ldr	x0, [x0, _NOISE_BT@GOTPAGEOFF]
	ldr	x1, [sp, #104]                  ; 8-byte Folded Reload
	ldr	w11, [sp, #100]                 ; 4-byte Folded Reload
	b	LBB0_38
LBB0_34:                                ;   in Loop: Header=BB0_8 Depth=1
	movi	d1, #0000000000000000
	ldp	w14, w13, [sp, #116]            ; 8-byte Folded Reload
	ldr	x15, [sp, #64]                  ; 8-byte Folded Reload
Lloh48:
	adrp	x16, _MAX_PREDICTORS@GOTPAGE
Lloh49:
	ldr	x16, [x16, _MAX_PREDICTORS@GOTPAGEOFF]
Lloh50:
	adrp	x17, _INTENSITY_BT2@GOTPAGE
Lloh51:
	ldr	x17, [x17, _INTENSITY_BT2@GOTPAGEOFF]
Lloh52:
	adrp	x0, _NOISE_BT@GOTPAGE
Lloh53:
	ldr	x0, [x0, _NOISE_BT@GOTPAGEOFF]
	ldr	x1, [sp, #104]                  ; 8-byte Folded Reload
	ldr	w11, [sp, #100]                 ; 4-byte Folded Reload
	b	LBB0_40
LBB0_35:                                ;   in Loop: Header=BB0_8 Depth=1
	and	x8, x24, #0xfffffff0
	movi	d1, #0000000000000000
	mov	x9, x8
	ldr	x10, [sp, #152]                 ; 8-byte Folded Reload
LBB0_36:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q2, q3, [x10]
	ldp	q4, q5, [x10, #32]
	ldp	q6, q7, [x10, #512]
	ldp	q16, q17, [x10, #544]
	fsub.4s	v2, v2, v6
	fsub.4s	v3, v3, v7
	fsub.4s	v4, v4, v16
	fsub.4s	v5, v5, v17
	fmul.4s	v2, v2, v2
	mov	s6, v2[3]
	mov	s7, v2[2]
	mov	s16, v2[1]
	fmul.4s	v3, v3, v3
	mov	s17, v3[3]
	mov	s18, v3[2]
	mov	s19, v3[1]
	fmul.4s	v4, v4, v4
	mov	s20, v4[3]
	mov	s21, v4[2]
	mov	s22, v4[1]
	fmul.4s	v5, v5, v5
	mov	s23, v5[3]
	mov	s24, v5[2]
	mov	s25, v5[1]
	fadd	s1, s1, s2
	fadd	s1, s1, s16
	fadd	s1, s1, s7
	fadd	s1, s1, s6
	fadd	s1, s1, s3
	fadd	s1, s1, s19
	fadd	s1, s1, s18
	fadd	s1, s1, s17
	fadd	s1, s1, s4
	fadd	s1, s1, s22
	fadd	s1, s1, s21
	fadd	s1, s1, s20
	fadd	s1, s1, s5
	fadd	s1, s1, s25
	fadd	s1, s1, s24
	fadd	s1, s1, s23
	add	x10, x10, #64
	subs	x9, x9, #16
	b.ne	LBB0_36
; %bb.37:                               ;   in Loop: Header=BB0_8 Depth=1
	cmp	x8, x24
	ldp	w14, w13, [sp, #116]            ; 8-byte Folded Reload
	ldr	x15, [sp, #64]                  ; 8-byte Folded Reload
Lloh54:
	adrp	x16, _MAX_PREDICTORS@GOTPAGE
Lloh55:
	ldr	x16, [x16, _MAX_PREDICTORS@GOTPAGEOFF]
Lloh56:
	adrp	x17, _INTENSITY_BT2@GOTPAGE
Lloh57:
	ldr	x17, [x17, _INTENSITY_BT2@GOTPAGEOFF]
Lloh58:
	adrp	x0, _NOISE_BT@GOTPAGE
Lloh59:
	ldr	x0, [x0, _NOISE_BT@GOTPAGEOFF]
	ldr	x1, [sp, #104]                  ; 8-byte Folded Reload
	ldr	w11, [sp, #100]                 ; 4-byte Folded Reload
	b.eq	LBB0_40
LBB0_38:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x9, [sp, #152]                  ; 8-byte Folded Reload
	add	x9, x9, x8, lsl #2
	sub	x8, x24, x8
LBB0_39:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	s2, [x9]
	ldr	s3, [x9, #512]
	fsub	s2, s2, s3
	fmadd	s1, s2, s2, s1
	add	x9, x9, #4
	subs	x8, x8, #1
	b.ne	LBB0_39
LBB0_40:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x21, #24]
	ldur	x9, [x29, #-120]                ; 8-byte Folded Reload
	ldr	w9, [x9, x26, lsl #2]
	sdiv	w8, w8, w9
	scvtf	s2, w8
	fmul	s1, s1, s2
	fadd	s0, s0, s1
	fcmp	s0, s8
	ccmp	w28, w22, #0, ls
	b.gt	LBB0_5
; %bb.41:                               ;   in Loop: Header=BB0_8 Depth=1
	ldur	w8, [x29, #-112]
	ldr	x9, [x19, #64]
	mov	w10, #1
	str	w10, [x9, x23]
	ldp	x9, x10, [x19, #16]
	str	w22, [x9, x23]
	str	w28, [x10, x23]
	ldr	w9, [sp, #84]                   ; 4-byte Folded Reload
	add	w9, w9, #1
	str	w9, [sp, #84]                   ; 4-byte Folded Spill
	b	LBB0_6
LBB0_42:
	ldr	w8, [sp, #84]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_48
; %bb.43:
	cmp	w13, w14
	b.ge	LBB0_49
; %bb.44:
Lloh60:
	adrp	x8, _PRED_SFB_START@GOTPAGE
Lloh61:
	ldr	x8, [x8, _PRED_SFB_START@GOTPAGEOFF]
Lloh62:
	ldr	w20, [x8]
	ldr	x21, [sp, #48]                  ; 8-byte Folded Reload
	cmp	w20, w21
	b.ge	LBB0_46
LBB0_45:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_RESTORE_PRED
	add	w20, w20, #1
	cmp	w21, w20
	b.ne	LBB0_45
LBB0_46:
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	w1, #0
	mov	w2, #8
	bl	_memset
LBB0_47:
	mov	w8, #0
LBB0_48:
	str	w8, [x19, #40]
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #272]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #256]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #240]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #224]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #208]              ; 16-byte Folded Reload
	add	sp, sp, #320
	ret
LBB0_49:
	mov	w8, #1
	b	LBB0_48
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh20, Lloh21
	.loh AdrpAdrp	Lloh18, Lloh20
	.loh AdrpLdr	Lloh18, Lloh19
	.loh AdrpAdrp	Lloh16, Lloh18
	.loh AdrpLdr	Lloh16, Lloh17
	.loh AdrpAdrp	Lloh14, Lloh16
	.loh AdrpLdr	Lloh14, Lloh15
	.loh AdrpAdrp	Lloh12, Lloh14
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpAdrp	Lloh10, Lloh12
	.loh AdrpLdr	Lloh10, Lloh11
	.loh AdrpAdrp	Lloh8, Lloh10
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpAdrp	Lloh6, Lloh8
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_aac_pred_sfb_max,8,3        ; @ff_aac_pred_sfb_max
	.comm	_EIGHT_SHORT_SEQUENCE,8,3       ; @EIGHT_SHORT_SEQUENCE
	.comm	_PRED_SFB_START,4,2             ; @PRED_SFB_START
	.comm	_RESERVED_BT,4,2                ; @RESERVED_BT
	.comm	_MAX_PREDICTORS,4,2             ; @MAX_PREDICTORS
	.comm	_INTENSITY_BT2,4,2              ; @INTENSITY_BT2
	.comm	_NOISE_BT,4,2                   ; @NOISE_BT
	.comm	_INFINITY,4,2                   ; @INFINITY
.subsections_via_symbols
