	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function bit_allocate
LCPI0_0:
	.long	3072                            ## 0xc00
	.long	3072                            ## 0xc00
	.long	3072                            ## 0xc00
	.long	3072                            ## 0xc00
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_bit_allocate:                          ## @bit_allocate
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -96(%rbp)                 ## 4-byte Spill
	movq	%r8, -144(%rbp)                 ## 8-byte Spill
	movq	%rcx, %r13
	movl	%edx, -72(%rbp)                 ## 4-byte Spill
	movl	%esi, %ebx
	movl	%edi, %r14d
	movslq	24(%rbp), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movslq	16(%rbp), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_BIAS_EXP@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	shlq	$2, %r15
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r15, %rax
	movq	-104(%rbp), %r15                ## 8-byte Reload
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rsi
	movq	_dc_code_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	-72(%rbp), %rcx                 ## 4-byte Folded Reload
	movslq	-4(%rax,%rcx,4), %rax
	movq	_ht_code_tab@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movslq	-4(%rdx,%rcx,4), %rcx
	movq	_fast_gain_tab@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rdx,%rdi,4), %edi
	movq	_misc_decay_tab@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%ebx, -108(%rbp)                ## 4-byte Spill
	movslq	%ebx, %rbx
	movq	(%rdx,%rbx,8), %rdx
	movq	(%rdx,%rax,8), %rdx
	movl	(%rdx,%r15,4), %edx
	movl	%edx, -76(%rbp)                 ## 4-byte Spill
	movq	_hearing_thresh_tab@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movq	(%rdx,%rbx,8), %rdx
	movq	(%rdx,%rcx,8), %rcx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movl	%r14d, %edx
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	testl	%r14d, %r14d
	movq	%rsi, -128(%rbp)                ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%edi, -56(%rbp)                 ## 4-byte Spill
	jle	LBB0_13
## %bb.1:
	movq	_slow_decay_tab@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %r8
	movq	_slow_gain_tab@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	-120(%rbp), %r14                ## 8-byte Reload
	movq	(%rcx,%r14,8), %r9
	movq	_fast_decay_tab@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%r14,8), %rcx
	movq	(%rcx,%rax,8), %r11
	movq	_fast_gain_adj_tab@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%r14,8), %rcx
	movq	(%rcx,%rax,8), %r10
	cmpl	$8, -88(%rbp)                   ## 4-byte Folded Reload
	jae	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	jmp	LBB0_10
LBB0_3:
	movl	%edx, %edi
	andl	$-8, %edi
	leaq	-8(%rdi), %rax
	movq	%rax, %rcx
	shrq	$3, %rcx
	incq	%rcx
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rcx, %rax
	andq	$-2, %rax
	xorl	%ebx, %ebx
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [3072,3072,3072,3072]
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%r13,%rbx,4), %xmm1
	movdqu	16(%r13,%rbx,4), %xmm2
	pslld	$6, %xmm1
	movdqa	%xmm0, %xmm3
	psubd	%xmm1, %xmm3
	pslld	$6, %xmm2
	movdqa	%xmm0, %xmm1
	psubd	%xmm2, %xmm1
	movdqa	%xmm3, (%rsi,%rbx,4)
	movdqa	%xmm1, 16(%rsi,%rbx,4)
	movdqu	32(%r13,%rbx,4), %xmm1
	movdqu	48(%r13,%rbx,4), %xmm2
	pslld	$6, %xmm1
	movdqa	%xmm0, %xmm3
	psubd	%xmm1, %xmm3
	pslld	$6, %xmm2
	movdqa	%xmm0, %xmm1
	psubd	%xmm2, %xmm1
	movdqa	%xmm3, 32(%rsi,%rbx,4)
	movdqa	%xmm1, 48(%rsi,%rbx,4)
	addq	$16, %rbx
	addq	$-2, %rax
	jne	LBB0_6
## %bb.7:
	testb	$1, %cl
	je	LBB0_9
LBB0_8:
	movdqu	(%r13,%rbx,4), %xmm0
	movdqu	16(%r13,%rbx,4), %xmm1
	pslld	$6, %xmm0
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [3072,3072,3072,3072]
	movdqa	%xmm2, %xmm3
	psubd	%xmm0, %xmm3
	pslld	$6, %xmm1
	psubd	%xmm1, %xmm2
	movdqa	%xmm3, (%rsi,%rbx,4)
	movdqa	%xmm2, 16(%rsi,%rbx,4)
LBB0_9:
	cmpq	%rdx, %rdi
	je	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%rdi,4), %eax
	shll	$6, %eax
	movl	$3072, %ecx                     ## imm = 0xC00
	subl	%eax, %ecx
	movl	%ecx, (%rsi,%rdi,4)
	incq	%rdi
	cmpq	%rdi, %rdx
	jne	LBB0_10
LBB0_11:
	movl	(%r8,%r15,4), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	(%r9,%r15,8), %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	(%r11,%r15,8), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_band_ofs_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r14,8), %rax
	movslq	-96(%rbp), %rcx                 ## 4-byte Folded Reload
	movslq	(%rax,%rcx,4), %rax
	leaq	(%r10,%rax,4), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	subl	-60(%rbp), %ebx                 ## 4-byte Folded Reload
	movq	-104(%rbp), %rax                ## 8-byte Reload
	subl	(%rax,%r14,4), %r13d
	movl	(%rsi,%r14,4), %r15d
	movl	%r15d, %esi
	subl	%edi, %esi
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	addl	(%rax,%r14,4), %esi
	movl	%r13d, %edi
	callq	_log_add
	movl	%eax, %r13d
	movq	-152(%rbp), %rax                ## 8-byte Reload
	subl	(%rax,%r14,4), %r15d
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_log_add
	movl	%eax, %ebx
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_FFMAX
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movl	%eax, (%r12,%r14,4)
	incq	%r14
	cmpq	%r14, -72(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_12
LBB0_13:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	decl	%eax
	movq	_band_low_tab@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	-120(%rbp), %r13                ## 8-byte Reload
	cmpl	(%rcx,%r13,4), %eax
	movl	-76(%rbp), %ecx                 ## 4-byte Reload
	jle	LBB0_16
## %bb.14:
	movq	%rsi, %r14
	movslq	%eax, %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	subl	%ecx, %ebx
	movl	(%r14,%r15,4), %esi
	subl	%edi, %esi
	movl	%ebx, %edi
	callq	_log_add
	movl	%eax, %ebx
	movl	(%r12,%r15,4), %edi
	movl	%eax, %esi
	callq	_FFMAX
	movq	_band_low_tab@GOTPCREL(%rip), %rcx
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, (%r12,%r15,4)
	decq	%r15
	movq	(%rcx), %rax
	movl	-76(%rbp), %ecx                 ## 4-byte Reload
	movslq	(%rax,%r13,4), %rax
	cmpq	%rax, %r15
	jg	LBB0_15
LBB0_16:
	cmpl	$0, -88(%rbp)                   ## 4-byte Folded Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	-136(%rbp), %r15                ## 8-byte Reload
	jle	LBB0_19
## %bb.17:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rbx,4), %edi
	movl	(%r15,%rbx,4), %esi
	callq	_FFMAX
	movl	%eax, (%r12,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_18
LBB0_19:
	cmpl	$0, -108(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_21
## %bb.20:
	movq	%r12, %rdi
	callq	_calc_lowcomp
LBB0_21:
	cmpl	$0, -88(%rbp)                   ## 4-byte Folded Reload
	movq	-144(%rbp), %r8                 ## 8-byte Reload
	movq	-128(%rbp), %r14                ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jle	LBB0_24
## %bb.22:
	movq	%r12, %r15
	movl	32(%rbp), %edi
	shll	$4, %edi
	addl	$-1024, %edi                    ## imm = 0xFC00
	movl	%edi, -60(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%rbx,4), %edi
	addl	-60(%rbp), %edi                 ## 4-byte Folded Reload
	subl	(%r15,%rbx,4), %edi
	sarl	$5, %edi
	movq	_bap_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$6, %esi
	movq	%r8, %r12
	callq	_av_clip_uintp2
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rdi,%rax,4), %eax
	movl	%eax, (%r12,%rbx,4)
	movq	%r12, %r8
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_23
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_26
## %bb.25:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	xorl	%ebx, %ebx
	testb	$1, %cl
	jne	LBB0_8
	jmp	LBB0_9
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_BIAS_EXP,4,2               ## @MAX_BIAS_EXP
	.comm	_dc_code_tab,8,3                ## @dc_code_tab
	.comm	_ht_code_tab,8,3                ## @ht_code_tab
	.comm	_fast_gain_tab,8,3              ## @fast_gain_tab
	.comm	_slow_decay_tab,8,3             ## @slow_decay_tab
	.comm	_misc_decay_tab,8,3             ## @misc_decay_tab
	.comm	_slow_gain_tab,8,3              ## @slow_gain_tab
	.comm	_fast_decay_tab,8,3             ## @fast_decay_tab
	.comm	_fast_gain_adj_tab,8,3          ## @fast_gain_adj_tab
	.comm	_hearing_thresh_tab,8,3         ## @hearing_thresh_tab
	.comm	_band_ofs_tab,8,3               ## @band_ofs_tab
	.comm	_band_low_tab,8,3               ## @band_low_tab
	.comm	_bap_tab,8,3                    ## @bap_tab
	.no_dead_strip	_bit_allocate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bit_allocate
_bit_allocate:                          ; @bit_allocate
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #96
                                        ; kill: def $w7 killed $w7 def $x7
	stur	x4, [x29, #-144]                ; 8-byte Folded Spill
                                        ; kill: def $w1 killed $w1 def $x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAX_BIAS_EXP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_BIAS_EXP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	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	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x9, x9, x12
	stur	x9, [x29, #-104]                ; 8-byte Folded Spill
	mov	sp, x9
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x8, x8, x12
	stur	x8, [x29, #-112]                ; 8-byte Folded Spill
	mov	sp, x8
Lloh10:
	adrp	x8, _dc_code_tab@GOTPAGE
Lloh11:
	ldr	x8, [x8, _dc_code_tab@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	sub	w9, w2, #1
	sbfiz	x9, x9, #2, #32
	ldrsw	x8, [x8, x9]
Lloh13:
	adrp	x10, _ht_code_tab@GOTPAGE
Lloh14:
	ldr	x10, [x10, _ht_code_tab@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	ldrsw	x9, [x10, x9]
Lloh16:
	adrp	x10, _fast_gain_tab@GOTPAGE
Lloh17:
	ldr	x10, [x10, _fast_gain_tab@GOTPAGEOFF]
Lloh18:
	ldr	x10, [x10]
	ldr	w10, [x10, w6, sxtw #2]
	stur	w10, [x29, #-92]                ; 4-byte Folded Spill
	lsl	x10, x8, #3
	sbfiz	x8, x7, #2, #32
Lloh19:
	adrp	x11, _misc_decay_tab@GOTPAGE
Lloh20:
	ldr	x11, [x11, _misc_decay_tab@GOTPAGEOFF]
Lloh21:
	ldr	x12, [x11]
	sbfiz	x11, x1, #3, #32
	ldr	x12, [x12, x11]
	ldr	x12, [x12, x10]
	stur	x1, [x29, #-152]                ; 8-byte Folded Spill
	sxtw	x13, w1
	stur	x13, [x29, #-136]               ; 8-byte Folded Spill
	ldr	w12, [x12, x8]
	stur	w12, [x29, #-156]               ; 4-byte Folded Spill
Lloh22:
	adrp	x12, _hearing_thresh_tab@GOTPAGE
Lloh23:
	ldr	x12, [x12, _hearing_thresh_tab@GOTPAGEOFF]
Lloh24:
	ldr	x12, [x12]
	ldr	x12, [x12, x11]
	ldr	x27, [x12, x9, lsl #3]
	mov	w9, w0
	stur	x9, [x29, #-128]                ; 8-byte Folded Spill
	stur	w0, [x29, #-116]                ; 4-byte Folded Spill
	subs	w9, w0, #1
	stur	x9, [x29, #-168]                ; 8-byte Folded Spill
	b.lt	LBB0_10
; %bb.1:
Lloh25:
	adrp	x9, _slow_decay_tab@GOTPAGE
Lloh26:
	ldr	x9, [x9, _slow_decay_tab@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	ldr	x9, [x9, x10]
Lloh28:
	adrp	x12, _slow_gain_tab@GOTPAGE
Lloh29:
	ldr	x12, [x12, _slow_gain_tab@GOTPAGEOFF]
Lloh30:
	ldr	x12, [x12]
	ldr	x12, [x12, x11]
	sbfiz	x13, x7, #3, #32
	ldr	x21, [x12, x13]
Lloh31:
	adrp	x12, _fast_decay_tab@GOTPAGE
Lloh32:
	ldr	x12, [x12, _fast_decay_tab@GOTPAGEOFF]
Lloh33:
	ldr	x12, [x12]
	ldr	x12, [x12, x11]
	ldr	x12, [x12, x10]
	ldr	x22, [x12, x13]
Lloh34:
	adrp	x12, _fast_gain_adj_tab@GOTPAGE
Lloh35:
	ldr	x12, [x12, _fast_gain_adj_tab@GOTPAGEOFF]
Lloh36:
	ldr	x12, [x12]
	ldr	x11, [x12, x11]
	ldr	x10, [x11, x10]
	ldur	w11, [x29, #-116]               ; 4-byte Folded Reload
	cmp	w11, #16
	b.hs	LBB0_3
; %bb.2:
	mov	x11, #0
	ldur	x25, [x29, #-112]               ; 8-byte Folded Reload
	ldur	x26, [x29, #-128]               ; 8-byte Folded Reload
	b	LBB0_6
LBB0_3:
	ldur	x26, [x29, #-128]               ; 8-byte Folded Reload
	and	x11, x26, #0xfffffff0
	ldur	x25, [x29, #-112]               ; 8-byte Folded Reload
	add	x12, x25, #32
	add	x13, x3, #32
	movi.4s	v0, #12, lsl #8
	mov	x14, x11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x13, #-32]
	ldp	q3, q4, [x13], #64
	shl.4s	v1, v1, #6
	sub.4s	v1, v0, v1
	shl.4s	v2, v2, #6
	sub.4s	v2, v0, v2
	shl.4s	v3, v3, #6
	sub.4s	v3, v0, v3
	shl.4s	v4, v4, #6
	sub.4s	v4, v0, v4
	stp	q1, q2, [x12, #-32]
	stp	q3, q4, [x12], #64
	subs	x14, x14, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x11, x26
	b.eq	LBB0_8
LBB0_6:
	lsl	x13, x11, #2
	add	x12, x25, x13
	add	x13, x3, x13
	sub	x11, x26, x11
	mov	w14, #3072
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w15, [x13], #4
	sub	w15, w14, w15, lsl #6
	str	w15, [x12], #4
	subs	x11, x11, #1
	b.ne	LBB0_7
LBB0_8:
	mov	w24, #0
	mov	w23, #0
	ldr	w8, [x9, x8]
	stur	w8, [x29, #-96]                 ; 4-byte Folded Spill
Lloh37:
	adrp	x8, _band_ofs_tab@GOTPAGE
Lloh38:
	ldr	x8, [x8, _band_ofs_tab@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
	ldur	x9, [x29, #-136]                ; 8-byte Folded Reload
	ldr	x8, [x8, x9, lsl #3]
	ldrsw	x8, [x8, w5, sxtw #2]
	add	x28, x10, x8, lsl #2
	ldur	x20, [x29, #-104]               ; 8-byte Folded Reload
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22], #4
	sub	w0, w24, w8
	ldr	w19, [x25], #4
	ldr	w8, [x28], #4
	ldur	w9, [x29, #-92]                 ; 4-byte Folded Reload
	sub	w9, w19, w9
	add	w1, w9, w8
	bl	_log_add
	mov	x24, x0
	ldur	w8, [x29, #-96]                 ; 4-byte Folded Reload
	sub	w0, w23, w8
	ldr	w8, [x21], #4
	sub	w1, w19, w8
	bl	_log_add
	mov	x23, x0
	mov	x0, x24
	mov	x1, x23
	bl	_FFMAX
	str	w0, [x20], #4
	subs	x26, x26, #1
	b.ne	LBB0_9
LBB0_10:
Lloh40:
	adrp	x20, _band_low_tab@GOTPAGE
Lloh41:
	ldr	x20, [x20, _band_low_tab@GOTPAGEOFF]
	ldr	x8, [x20]
	ldur	x26, [x29, #-136]               ; 8-byte Folded Reload
	ldr	w8, [x8, x26, lsl #2]
	ldur	x9, [x29, #-168]                ; 8-byte Folded Reload
	cmp	w9, w8
	ldp	x25, x24, [x29, #-112]          ; 16-byte Folded Reload
	ldur	w22, [x29, #-92]                ; 4-byte Folded Reload
	ldur	w28, [x29, #-156]               ; 4-byte Folded Reload
	b.le	LBB0_13
; %bb.11:
	mov	x8, x9
	mov	w23, #0
	sxtw	x21, w9
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	sub	w0, w23, w28
	lsl	x19, x21, #2
	ldr	w8, [x25, x19]
	sub	w1, w8, w22
	bl	_log_add
	mov	x23, x0
	ldr	w0, [x24, x19]
	mov	x1, x23
	bl	_FFMAX
	str	w0, [x24, x19]
	sub	x21, x21, #1
	ldr	x8, [x20]
	ldrsw	x8, [x8, x26, lsl #2]
	cmp	x21, x8
	b.gt	LBB0_12
LBB0_13:
	ldur	w19, [x29, #-116]               ; 4-byte Folded Reload
	cmp	w19, #1
	ldur	x23, [x29, #-128]               ; 8-byte Folded Reload
	b.lt	LBB0_16
; %bb.14:
	mov	x20, x23
	mov	x21, x24
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	ldr	w1, [x27], #4
	bl	_FFMAX
	str	w0, [x21], #4
	subs	x20, x20, #1
	b.ne	LBB0_15
LBB0_16:
	ldp	x8, x22, [x29, #-152]           ; 16-byte Folded Reload
	cbnz	w8, LBB0_18
; %bb.17:
	mov	x0, x24
	bl	_calc_lowcomp
LBB0_18:
	cmp	w19, #1
	b.lt	LBB0_21
; %bb.19:
	ldr	w8, [x29, #16]
	lsl	w8, w8, #4
	sub	w20, w8, #1024
Lloh42:
	adrp	x21, _bap_tab@GOTPAGE
Lloh43:
	ldr	x21, [x21, _bap_tab@GOTPAGEOFF]
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x25], #4
	ldr	w9, [x24], #4
	add	w8, w20, w8
	sub	w8, w8, w9
	asr	w0, w8, #5
	ldr	x19, [x21]
	mov	w1, #6
	bl	_av_clip_uintp2
	ldr	w8, [x19, x0, lsl #2]
	str	w8, [x22], #4
	subs	x23, x23, #1
	b.ne	LBB0_20
LBB0_21:
	ldur	x8, [x29, #-88]
Lloh44:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh45:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.22:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_BIAS_EXP,4,2               ; @MAX_BIAS_EXP
	.comm	_dc_code_tab,8,3                ; @dc_code_tab
	.comm	_ht_code_tab,8,3                ; @ht_code_tab
	.comm	_fast_gain_tab,8,3              ; @fast_gain_tab
	.comm	_slow_decay_tab,8,3             ; @slow_decay_tab
	.comm	_misc_decay_tab,8,3             ; @misc_decay_tab
	.comm	_slow_gain_tab,8,3              ; @slow_gain_tab
	.comm	_fast_decay_tab,8,3             ; @fast_decay_tab
	.comm	_fast_gain_adj_tab,8,3          ; @fast_gain_adj_tab
	.comm	_hearing_thresh_tab,8,3         ; @hearing_thresh_tab
	.comm	_band_ofs_tab,8,3               ; @band_ofs_tab
	.comm	_band_low_tab,8,3               ; @band_low_tab
	.comm	_bap_tab,8,3                    ; @bap_tab
	.no_dead_strip	_bit_allocate
.subsections_via_symbols
