	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function bit_allocation
LCPI0_0:
	.long	0x3e800000                      ## float 0.25
LCPI0_6:
	.long	0xe0ad78ec                      ## float -1.00000002E+20
LCPI0_7:
	.long	0xc0000000                      ## float -2
LCPI0_11:
	.long	0x501502f9                      ## float 1.0E+10
LCPI0_12:
	.long	0x40000000                      ## float 2
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.long	0xe0ad78ec                      ## float -1.00000002E+20
	.long	0xe0ad78ec                      ## float -1.00000002E+20
	.long	0xe0ad78ec                      ## float -1.00000002E+20
	.long	0xe0ad78ec                      ## float -1.00000002E+20
LCPI0_3:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
LCPI0_10:
	.long	0x60ad78ec                      ## float 1.00000002E+20
	.long	0x60ad78ec                      ## float 1.00000002E+20
	.long	0x60ad78ec                      ## float 1.00000002E+20
	.long	0x60ad78ec                      ## float 1.00000002E+20
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_2:
	.quad	0x3fe0000000000000              ## double 0.5
LCPI0_4:
	.quad	0xc415af1d78b58c40              ## double -1.0E+20
LCPI0_5:
	.quad	0xbfda8f5c28f5c28f              ## double -0.41499999999999998
LCPI0_8:
	.quad	0x4415af1d78b58c40              ## double 1.0E+20
LCPI0_9:
	.quad	0x3ff95c28f5c28f5c              ## double 1.585
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_bit_allocation:                        ## @bit_allocation
	.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	$216, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%r8, -192(%rbp)                 ## 8-byte Spill
	movl	%ecx, -180(%rbp)                ## 4-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BANDS@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	testl	%edx, %edx
	jle	LBB0_1
## %bb.4:
	movq	%rdi, %r14
	xorps	%xmm0, %xmm0
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movss	(%rax,%rbx,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	callq	_FFMAX
	incq	%rbx
	movslq	(%r15), %rdx
	cmpq	%rdx, %rbx
	jl	LBB0_5
## %bb.2:
	cmpl	$1, %edx
	jle	LBB0_3
## %bb.6:
	movq	%r14, %rbx
	movss	%xmm0, -184(%rbp)               ## 4-byte Spill
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%r14,8), %rcx
	testq	%rcx, %rcx
	jle	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	24(%r13), %rax
	movss	(%rax,%r14,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -224(%rbp)               ## 4-byte Spill
	movq	%rcx, %rdi
	callq	_log2f
	movss	-224(%rbp), %xmm1               ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movq	16(%r13), %rcx
	movss	%xmm1, (%rcx,%r14,4)
	incq	%r14
	movslq	(%r15), %rdx
	leaq	-1(%rdx), %r9
	cmpq	%r9, %r14
	jl	LBB0_7
## %bb.10:
	movl	%r9d, %eax
	movl	%r9d, -224(%rbp)                ## 4-byte Spill
	movss	-184(%rbp), %xmm0               ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	jmp	LBB0_11
LBB0_1:
	xorps	%xmm0, %xmm0
LBB0_3:
	leal	-1(%rdx), %eax
	movq	16(%r13), %rcx
	movl	%eax, -224(%rbp)                ## 4-byte Spill
	movslq	%eax, %r9
LBB0_11:
	movl	$-525502228, (%rcx,%r9,4)       ## imm = 0xE0AD78EC
	testl	%edx, %edx
	jle	LBB0_18
## %bb.12:
	mulss	LCPI0_0(%rip), %xmm0
	movq	_band_tab@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	32(%r13), %r11
	movq	_xTab@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rax
	movl	%edx, %r15d
	movl	(%rsi), %r10d
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %r14
	movl	%r10d, %edx
	movl	4(%rsi,%rdi,4), %r10d
	movl	%r10d, %r13d
	subl	%edx, %r13d
	movl	(%r11,%rdi,4), %edx
	xorl	%r8d, %r8d
	cmpl	%edx, %r13d
	setne	%r8b
	negl	%r8d
	cmpl	%edx, %r13d
	movl	$1, %ebx
	cmovgl	%ebx, %r8d
	movl	%r13d, %ebx
	shrl	$31, %ebx
	addl	%r13d, %ebx
	sarl	%ebx
	cmpl	%edx, %ebx
	movl	$2, %edx
	cmovgel	%edx, %r8d
	cmpl	$-1, %r8d
	je	LBB0_14
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r14, %r13
	movq	(%r14), %rdx
	xorl	%ebx, %ebx
	ucomiss	(%rdx,%rdi,4), %xmm0
	seta	%bl
	movq	-192(%rbp), %rdx                ## 8-byte Reload
	leal	(%rdx,%r8,4), %edx
	leal	(%rdx,%rbx,2), %edx
	movslq	%edx, %rdx
	xorps	%xmm1, %xmm1
	cvtsi2ssq	(%rax,%rdx,8), %xmm1
	addss	(%rcx,%rdi,4), %xmm1
	movss	%xmm1, (%rcx,%rdi,4)
	leaq	1(%rdi), %rdx
	movq	%rdx, %rdi
	cmpq	%rdx, %r15
	jne	LBB0_13
LBB0_18:
	movl	%r12d, %r10d
	andl	$2, %r10d
	je	LBB0_20
## %bb.19:
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [-1.00000002E+20,-1.00000002E+20,-1.00000002E+20,-1.00000002E+20]
	movups	%xmm0, (%rcx)
LBB0_20:
	leal	(%r10,%r10), %eax
	movl	%eax, -196(%rbp)                ## 4-byte Spill
	movl	-224(%rbp), %edx                ## 4-byte Reload
	cmpl	%edx, %eax
	movq	_BANDS@GOTPCREL(%rip), %r8
	jge	LBB0_14
## %bb.21:
	movl	%edx, %eax
	movq	32(%r13), %rsi
	addl	%r12d, %r12d
	andl	$4, %r12d
	movl	%edx, %edi
	xorps	%xmm0, %xmm0
	xorl	%edx, %edx
	movq	%r12, %rbx
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rbx,4), %eax
	xorps	%xmm1, %xmm1
	cvtsi2ss	%eax, %xmm1
	mulss	(%rcx,%rbx,4), %xmm1
	addl	%eax, %edx
	addss	%xmm1, %xmm0
	incq	%rbx
	cmpq	%rbx, %rdi
	jne	LBB0_22
## %bb.23:
	testl	%edx, %edx
	je	LBB0_14
## %bb.24:
	movq	%r12, -232(%rbp)                ## 8-byte Spill
	movq	%r10, -240(%rbp)                ## 8-byte Spill
	movq	32(%r13), %rax
	movl	$0, (%rax,%r9,4)
	movl	(%r8), %eax
	xorl	%r15d, %r15d
	cmpl	$2, %eax
	jl	LBB0_31
## %bb.25:
	cvtss2sd	%xmm0, %xmm0
	movl	$8, %esi
	movl	-180(%rbp), %ecx                ## 4-byte Reload
	xorps	%xmm1, %xmm1
	cvtsi2sd	%ecx, %xmm1
	mulsd	LCPI0_2(%rip), %xmm0
	cvtsi2sd	%edx, %xmm2
	subsd	%xmm1, %xmm0
	divsd	%xmm2, %xmm0
	cvtsd2ss	%xmm0, %xmm0
	movss	%xmm0, -192(%rbp)               ## 4-byte Spill
	subl	%ecx, %esi
	movq	%rsi, -248(%rbp)                ## 8-byte Spill
	movl	$1, %r8d
	movsd	LCPI0_2(%rip), %xmm2            ## xmm2 = mem[0],zero
	xorl	%edi, %edi
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_26 Depth=1
	xorl	%ecx, %ecx
	movl	%r15d, %edx
	subl	-180(%rbp), %edx                ## 4-byte Folded Reload
	setle	%cl
	leal	(%rcx,%rcx), %r8d
	decl	%r8d
	movl	-184(%rbp), %edi                ## 4-byte Reload
	testl	%edi, %edi
	movl	-200(%rbp), %ecx                ## 4-byte Reload
	cmovel	%r8d, %ecx
	xorl	%esi, %esi
	cmpl	%r8d, %ecx
	setne	%sil
	xorps	%xmm0, %xmm0
	cvtsi2ss	%edx, %xmm0
	movq	-256(%rbp), %rcx                ## 8-byte Reload
	leal	(%rcx,%rsi), %edx
	incl	%edx
	imull	%r14d, %edx
	xorps	%xmm1, %xmm1
	cvtsi2ss	%edx, %xmm1
	leal	(%rcx,%rsi), %edx
	divss	%xmm1, %xmm0
	movss	-192(%rbp), %xmm1               ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm1
	movss	%xmm1, -192(%rbp)               ## 4-byte Spill
	incl	%edi
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	sarl	%esi
                                        ## kill: def $edx killed $edx def $rdx
	cmpl	%esi, %edi
	movq	%rbx, %r13
	jge	LBB0_31
LBB0_26:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_29 Depth 2
	movq	-248(%rbp), %rcx                ## 8-byte Reload
	addl	%r15d, %ecx
	cmpl	$17, %ecx
	jb	LBB0_31
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	movl	%r8d, -200(%rbp)                ## 4-byte Spill
	movq	%rdx, -256(%rbp)                ## 8-byte Spill
	movl	%edi, -184(%rbp)                ## 4-byte Spill
	xorl	%r14d, %r14d
	movl	$0, %r15d
	cmpl	%eax, -196(%rbp)                ## 4-byte Folded Reload
	movq	%r13, %rbx
	movq	_BANDS@GOTPCREL(%rip), %r12
	jge	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_26 Depth=1
	movss	-192(%rbp), %xmm0               ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	cvtss2sd	%xmm0, %xmm0
	xorps	LCPI0_3(%rip), %xmm0
	movaps	%xmm0, -224(%rbp)               ## 16-byte Spill
	xorl	%r15d, %r15d
	movq	-232(%rbp), %r13                ## 8-byte Reload
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_29:                                ##   Parent Loop BB0_26 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%rbx), %rax
	movss	(%rax,%r13,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	cvtss2sd	%xmm0, %xmm0
	mulsd	%xmm2, %xmm0
	addsd	-224(%rbp), %xmm0               ## 16-byte Folded Reload
	addsd	%xmm2, %xmm0
	xorl	%edi, %edi
	movl	$6, %esi
	callq	_av_clipf
	movsd	LCPI0_2(%rip), %xmm2            ## xmm2 = mem[0],zero
	xorl	%esi, %esi
	movq	40(%rbx), %rcx
	movl	%eax, (%rcx,%r13,4)
	movq	32(%rbx), %rcx
	movl	(%rcx,%r13,4), %ecx
	movl	%ecx, %edx
	imull	%eax, %edx
	addl	%edx, %r15d
	testl	%eax, %eax
	cmovlel	%esi, %ecx
	addl	%ecx, %r14d
	incq	%r13
	movl	(%r12), %eax
	cmpl	%r13d, %eax
	jg	LBB0_29
	jmp	LBB0_30
LBB0_31:
	cmpl	%eax, -196(%rbp)                ## 4-byte Folded Reload
	jge	LBB0_38
## %bb.32:
	movq	_band_tab@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r9
	movq	-232(%rbp), %rcx                ## 8-byte Reload
	movl	(%r9,%rcx,4), %r8d
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_35 Depth=1
	movslq	%eax, %rdx
	movl	%edi, %r8d
	cmpq	%rdx, %rcx
	jge	LBB0_38
LBB0_35:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_37 Depth 2
	movq	%rcx, %rdx
	incq	%rcx
	movl	4(%r9,%rdx,4), %edi
	cmpl	%edi, %r8d
	jge	LBB0_34
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=1
	movq	40(%r13), %rax
	movq	48(%r13), %rsi
	movslq	%r8d, %rbx
	.p2align	4, 0x90
LBB0_37:                                ##   Parent Loop BB0_35 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rax,%rdx,4), %edi
	movl	%edi, (%rsi,%rbx,4)
	incq	%rbx
	movslq	(%r9,%rcx,4), %rdi
	cmpq	%rdi, %rbx
	jl	LBB0_37
## %bb.33:                              ##   in Loop: Header=BB0_35 Depth=1
	movq	_BANDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_34
LBB0_38:
	movl	-180(%rbp), %r10d               ## 4-byte Reload
	cmpl	%r10d, %r15d
	jge	LBB0_63
## %bb.39:
	testl	%eax, %eax
	jle	LBB0_44
## %bb.40:
	movq	40(%r13), %rcx
	movl	%eax, %eax
	xorl	%edx, %edx
	movsd	LCPI0_4(%rip), %xmm0            ## xmm0 = mem[0],zero
	movsd	LCPI0_5(%rip), %xmm1            ## xmm1 = mem[0],zero
	jmp	LBB0_41
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_41 Depth=1
	cvtsd2ss	%xmm2, %xmm2
	movss	%xmm2, -176(%rbp,%rdx,4)
	incq	%rdx
	cmpq	%rdx, %rax
	je	LBB0_44
LBB0_41:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rdx,4), %esi
	movapd	%xmm0, %xmm2
	cmpl	$6, %esi
	je	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_41 Depth=1
	addl	%esi, %esi
	negl	%esi
	xorps	%xmm2, %xmm2
	cvtsi2ss	%esi, %xmm2
	movq	16(%r13), %rsi
	addss	(%rsi,%rdx,4), %xmm2
	cvtss2sd	%xmm2, %xmm2
	addsd	%xmm1, %xmm2
	jmp	LBB0_43
LBB0_8:
	movl	(%rbx), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
LBB0_14:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_16
## %bb.92:
	addq	$216, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_44:
	movq	_band_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	xorps	%xmm3, %xmm3
	movsd	LCPI0_4(%rip), %xmm0            ## xmm0 = mem[0],zero
	movss	LCPI0_6(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movss	LCPI0_7(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	jmp	LBB0_45
	.p2align	4, 0x90
LBB0_62:                                ##   in Loop: Header=BB0_45 Depth=1
	cmpl	%r10d, %r15d
	jge	LBB0_63
LBB0_45:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_51 Depth 2
                                        ##     Child Loop BB0_53 Depth 2
                                        ##     Child Loop BB0_60 Depth 2
	cvtss2sd	%xmm3, %xmm3
	ucomisd	%xmm3, %xmm0
	jae	LBB0_63
## %bb.46:                              ##   in Loop: Header=BB0_45 Depth=1
	movq	_BANDS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%edi, %edi
	jle	LBB0_47
## %bb.48:                              ##   in Loop: Header=BB0_45 Depth=1
	leaq	-1(%rdi), %rdx
	movl	%edi, %ecx
	andl	$3, %ecx
	cmpq	$3, %rdx
	jae	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_45 Depth=1
	xorl	%edx, %edx
	xorl	%esi, %esi
	movaps	%xmm1, %xmm4
	jmp	LBB0_52
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_45 Depth=1
	xorl	%esi, %esi
	movaps	%xmm1, %xmm3
	jmp	LBB0_54
	.p2align	4, 0x90
LBB0_50:                                ##   in Loop: Header=BB0_45 Depth=1
	andl	$-4, %edi
	xorl	%edx, %edx
	xorl	%esi, %esi
	movaps	%xmm1, %xmm4
	.p2align	4, 0x90
LBB0_51:                                ##   Parent Loop BB0_45 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	-176(%rbp,%rdx,4), %xmm3        ## xmm3 = mem[0],zero,zero,zero
	ucomiss	%xmm4, %xmm3
	cmoval	%edx, %esi
	movss	-172(%rbp,%rdx,4), %xmm5        ## xmm5 = mem[0],zero,zero,zero
	maxss	%xmm4, %xmm3
	ucomiss	%xmm3, %xmm5
	leal	1(%rdx), %ebx
	cmovbel	%esi, %ebx
	maxss	%xmm3, %xmm5
	movss	-168(%rbp,%rdx,4), %xmm3        ## xmm3 = mem[0],zero,zero,zero
	ucomiss	%xmm5, %xmm3
	leal	2(%rdx), %eax
	cmovbel	%ebx, %eax
	maxss	%xmm5, %xmm3
	movss	-164(%rbp,%rdx,4), %xmm4        ## xmm4 = mem[0],zero,zero,zero
	ucomiss	%xmm3, %xmm4
	leal	3(%rdx), %esi
	cmovbel	%eax, %esi
	maxss	%xmm3, %xmm4
	addq	$4, %rdx
	cmpq	%rdi, %rdx
	jne	LBB0_51
LBB0_52:                                ##   in Loop: Header=BB0_45 Depth=1
	movaps	%xmm4, %xmm3
	testq	%rcx, %rcx
	je	LBB0_54
	.p2align	4, 0x90
LBB0_53:                                ##   Parent Loop BB0_45 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	-176(%rbp,%rdx,4), %xmm3        ## xmm3 = mem[0],zero,zero,zero
	ucomiss	%xmm4, %xmm3
	cmoval	%edx, %esi
	maxss	%xmm4, %xmm3
	incq	%rdx
	movaps	%xmm3, %xmm4
	decq	%rcx
	jne	LBB0_53
LBB0_54:                                ##   in Loop: Header=BB0_45 Depth=1
	xorps	%xmm4, %xmm4
	cvtss2sd	%xmm3, %xmm4
	ucomisd	%xmm0, %xmm4
	jbe	LBB0_62
## %bb.55:                              ##   in Loop: Header=BB0_45 Depth=1
	movslq	%esi, %rcx
	movss	-176(%rbp,%rcx,4), %xmm4        ## xmm4 = mem[0],zero,zero,zero
	addss	%xmm2, %xmm4
	movss	%xmm4, -176(%rbp,%rcx,4)
	movq	40(%r13), %rax
	movl	(%rax,%rcx,4), %edx
	incl	%edx
	movl	%edx, (%rax,%rcx,4)
	cmpl	$6, %edx
	jne	LBB0_57
## %bb.56:                              ##   in Loop: Header=BB0_45 Depth=1
	movl	$-525502228, -176(%rbp,%rcx,4)  ## imm = 0xE0AD78EC
LBB0_57:                                ##   in Loop: Header=BB0_45 Depth=1
	movslq	(%r8,%rcx,4), %rdx
	cmpl	4(%r8,%rcx,4), %edx
	jge	LBB0_62
## %bb.58:                              ##   in Loop: Header=BB0_45 Depth=1
	cmpl	%r10d, %r15d
	jge	LBB0_62
## %bb.59:                              ##   in Loop: Header=BB0_45 Depth=1
	incq	%rcx
	movq	48(%r13), %rsi
	incq	%rdx
	.p2align	4, 0x90
LBB0_60:                                ##   Parent Loop BB0_45 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incl	-4(%rsi,%rdx,4)
	incl	%r15d
	movslq	(%r8,%rcx,4), %rax
	cmpq	%rax, %rdx
	jge	LBB0_62
## %bb.61:                              ##   in Loop: Header=BB0_60 Depth=2
	incq	%rdx
	cmpl	%r10d, %r15d
	jl	LBB0_60
	jmp	LBB0_62
LBB0_63:
	xorl	%eax, %eax
	cmpl	%r10d, %r15d
	jle	LBB0_15
## %bb.64:
	movq	_BANDS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_69
## %bb.65:
	movq	40(%r13), %rax
	xorl	%ecx, %ecx
	movsd	LCPI0_8(%rip), %xmm0            ## xmm0 = mem[0],zero
	movsd	LCPI0_9(%rip), %xmm1            ## xmm1 = mem[0],zero
	jmp	LBB0_66
	.p2align	4, 0x90
LBB0_68:                                ##   in Loop: Header=BB0_66 Depth=1
	cvtsd2ss	%xmm2, %xmm2
	movss	%xmm2, -176(%rbp,%rcx,4)
	incq	%rcx
	cmpq	%rcx, %rdx
	je	LBB0_69
LBB0_66:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rcx,4), %esi
	movapd	%xmm0, %xmm2
	testl	%esi, %esi
	je	LBB0_68
## %bb.67:                              ##   in Loop: Header=BB0_66 Depth=1
	addl	%esi, %esi
	negl	%esi
	xorps	%xmm2, %xmm2
	cvtsi2ss	%esi, %xmm2
	movq	16(%r13), %rsi
	addss	(%rsi,%rcx,4), %xmm2
	cvtss2sd	%xmm2, %xmm2
	addsd	%xmm1, %xmm2
	jmp	LBB0_68
LBB0_69:
	cmpl	$0, -240(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_71
## %bb.70:
	movapd	LCPI0_10(%rip), %xmm0           ## xmm0 = [1.00000002E+20,1.00000002E+20,1.00000002E+20,1.00000002E+20]
	movapd	%xmm0, -176(%rbp)
LBB0_71:
	movq	40(%r13), %r8
	movq	_band_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movss	LCPI0_11(%rip), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	movss	LCPI0_12(%rip), %xmm1           ## xmm1 = mem[0],zero,zero,zero
	testl	%edx, %edx
	jle	LBB0_76
	.p2align	4, 0x90
LBB0_77:
	movl	%edx, %eax
	leaq	-1(%rax), %rsi
	movl	%eax, %edx
	andl	$3, %edx
	cmpq	$3, %rsi
	jae	LBB0_79
## %bb.78:
	xorl	%esi, %esi
	xorl	%edi, %edi
	movaps	%xmm0, %xmm2
	jmp	LBB0_81
	.p2align	4, 0x90
LBB0_76:
	xorl	%edi, %edi
	movaps	%xmm0, %xmm3
	jmp	LBB0_83
	.p2align	4, 0x90
LBB0_79:
	andl	$-4, %eax
	xorl	%esi, %esi
	xorl	%edi, %edi
	movaps	%xmm0, %xmm2
	.p2align	4, 0x90
LBB0_80:                                ## =>This Inner Loop Header: Depth=1
	movss	-176(%rbp,%rsi,4), %xmm3        ## xmm3 = mem[0],zero,zero,zero
	ucomiss	%xmm3, %xmm2
	cmoval	%esi, %edi
	movss	-172(%rbp,%rsi,4), %xmm4        ## xmm4 = mem[0],zero,zero,zero
	minss	%xmm2, %xmm3
	ucomiss	%xmm4, %xmm3
	leal	1(%rsi), %ebx
	cmovbel	%edi, %ebx
	minss	%xmm3, %xmm4
	movss	-168(%rbp,%rsi,4), %xmm3        ## xmm3 = mem[0],zero,zero,zero
	ucomiss	%xmm3, %xmm4
	leal	2(%rsi), %ecx
	cmovbel	%ebx, %ecx
	minss	%xmm4, %xmm3
	movss	-164(%rbp,%rsi,4), %xmm2        ## xmm2 = mem[0],zero,zero,zero
	ucomiss	%xmm2, %xmm3
	leal	3(%rsi), %edi
	cmovbel	%ecx, %edi
	minss	%xmm3, %xmm2
	addq	$4, %rsi
	cmpq	%rax, %rsi
	jne	LBB0_80
LBB0_81:
	movaps	%xmm2, %xmm3
	testq	%rdx, %rdx
	je	LBB0_83
	.p2align	4, 0x90
LBB0_82:                                ## =>This Inner Loop Header: Depth=1
	movss	-176(%rbp,%rsi,4), %xmm3        ## xmm3 = mem[0],zero,zero,zero
	ucomiss	%xmm3, %xmm2
	cmoval	%esi, %edi
	minss	%xmm2, %xmm3
	incq	%rsi
	movaps	%xmm3, %xmm2
	decq	%rdx
	jne	LBB0_82
LBB0_83:
	addss	%xmm1, %xmm3
	movslq	%edi, %rdx
	movss	%xmm3, -176(%rbp,%rdx,4)
	decl	(%r8,%rdx,4)
	jne	LBB0_85
## %bb.84:
	movl	$1621981420, -176(%rbp,%rdx,4)  ## imm = 0x60AD78EC
LBB0_85:
	movslq	(%r9,%rdx,4), %rax
	movl	4(%r9,%rdx,4), %esi
	cmpl	%esi, %eax
	jge	LBB0_72
## %bb.86:
	cmpl	%r10d, %r15d
	jle	LBB0_72
## %bb.87:
	incq	%rdx
	movq	48(%r13), %rdi
	incq	%rax
	.p2align	4, 0x90
LBB0_88:                                ## =>This Inner Loop Header: Depth=1
	movl	-4(%rdi,%rax,4), %ebx
	testl	%ebx, %ebx
	jle	LBB0_90
## %bb.89:                              ##   in Loop: Header=BB0_88 Depth=1
	decl	%ebx
	movl	%ebx, -4(%rdi,%rax,4)
	decl	%r15d
	movl	(%r9,%rdx,4), %esi
LBB0_90:                                ##   in Loop: Header=BB0_88 Depth=1
	movslq	%esi, %rcx
	cmpq	%rcx, %rax
	jge	LBB0_72
## %bb.91:                              ##   in Loop: Header=BB0_88 Depth=1
	incq	%rax
	cmpl	%r10d, %r15d
	jg	LBB0_88
LBB0_72:
	cmpl	%r10d, %r15d
	jle	LBB0_73
## %bb.74:
	movq	_BANDS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	jg	LBB0_77
	jmp	LBB0_76
LBB0_73:
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BANDS,4,2                      ## @BANDS
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"flcoeffs5 %f invalid\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_band_tab,8,3                   ## @band_tab
	.comm	_xTab,8,3                       ## @xTab
	.no_dead_strip	_bit_allocation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bit_allocation
_bit_allocation:                        ; @bit_allocation
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #288
	.cfi_def_cfa_offset 288
	stp	d11, d10, [sp, #160]            ; 16-byte Folded Spill
	stp	d9, d8, [sp, #176]              ; 16-byte Folded Spill
	stp	x28, x27, [sp, #192]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #208]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #224]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #240]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #256]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #272]            ; 16-byte Folded Spill
	add	x29, sp, #272
	.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
	mov	x22, x4
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-128]
Lloh3:
	adrp	x24, _BANDS@GOTPAGE
Lloh4:
	ldr	x24, [x24, _BANDS@GOTPAGEOFF]
	ldr	w10, [x24]
	cmp	w10, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x23, x0
	mov	x25, #0
	movi	d8, #0000000000000000
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	s1, [x8, x25, lsl #2]
	fmov	s0, s8
	bl	_FFMAX
	fmov	s8, s0
	add	x25, x25, #1
	ldrsw	x10, [x24]
	cmp	x25, x10
	b.lt	LBB0_2
; %bb.3:
	cmp	w10, #1
	b.le	LBB0_9
; %bb.4:
	mov	x25, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x3, [x8, x25, lsl #3]
	cmp	x3, #0
	b.le	LBB0_19
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20, #24]
	lsl	x26, x25, #2
	ldr	s9, [x8, x26]
	mov	x0, x3
	bl	_log2f
	fsub	s0, s9, s0
	ldr	x9, [x20, #16]
	str	s0, [x9, x26]
	add	x25, x25, #1
	ldrsw	x10, [x24]
	sub	x8, x10, #1
	cmp	x25, x8
	b.lt	LBB0_5
; %bb.7:
                                        ; kill: def $w10 killed $w10 killed $x10 def $x10
	mov	x11, x8
	b	LBB0_10
LBB0_8:
	movi	d8, #0000000000000000
LBB0_9:
	sub	w11, w10, #1
	ldr	x9, [x20, #16]
	sxtw	x8, w11
LBB0_10:
	mov	w12, #30956
	movk	w12, #57517, lsl #16
	str	w12, [x9, x8, lsl #2]
	cmp	w10, #1
	b.lt	LBB0_14
; %bb.11:
	mov	x12, #0
	fmov	s0, #0.25000000
	fmul	s0, s8, s0
Lloh5:
	adrp	x13, _band_tab@GOTPAGE
Lloh6:
	ldr	x13, [x13, _band_tab@GOTPAGEOFF]
Lloh7:
	ldr	x13, [x13]
	ldr	x14, [x20, #32]
Lloh8:
	adrp	x15, _xTab@GOTPAGE
Lloh9:
	ldr	x15, [x15, _xTab@GOTPAGEOFF]
Lloh10:
	ldr	x15, [x15]
	mov	w10, w10
	ldr	w0, [x13], #4
	lsl	x10, x10, #2
	mov	w16, #2
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w17, [x13, x12]
	ldr	w1, [x14, x12]
	sub	w0, w17, w0
	cmp	w0, w1
	csetm	w2, ne
	csinc	w2, w2, wzr, le
	cmp	w0, #0
	cinc	w0, w0, lt
	cmp	w1, w0, asr #1
	csel	w0, w2, w16, gt
	cmn	w0, #1
	b.eq	LBB0_28
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x1, [x20]
	ldr	s1, [x1, x12]
	fcmp	s1, s0
	cset	w1, mi
	add	w0, w22, w0, lsl #2
	add	w0, w0, w1, lsl #1
	ldr	x0, [x15, w0, sxtw #3]
	scvtf	s1, x0
	ldr	s2, [x9, x12]
	fadd	s1, s2, s1
	str	s1, [x9, x12]
	add	x12, x12, #4
	mov	x0, x17
	cmp	x10, x12
	b.ne	LBB0_12
LBB0_14:
	and	w0, w21, #0x2
	tbz	w21, #1, LBB0_16
; %bb.15:
	mov	w10, #30956
	movk	w10, #57517, lsl #16
	dup.4s	v0, w10
	str	q0, [x9]
LBB0_16:
	lsl	w1, w0, #1
	cmp	w1, w11
	b.ge	LBB0_28
; %bb.17:
	ldr	x10, [x20, #32]
	lsl	w12, w21, #1
	and	w28, w12, #0x4
	mov	w11, w11
	sub	x13, x11, x28
	cmp	x13, #16
	b.hs	LBB0_20
; %bb.18:
	mov	w15, #0
	movi	d0, #0000000000000000
	mov	x12, x28
	b	LBB0_23
LBB0_19:
	ldr	w0, [x23]
Lloh11:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
	b	LBB0_28
LBB0_20:
	mov	x15, #0
	and	x14, x13, #0xfffffffffffffff0
	orr	x12, x14, x28
	movi	d0, #0000000000000000
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
	movi.2d	v4, #0000000000000000
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	orr	x16, x15, x28
	lsl	x16, x16, #2
	add	x17, x10, x16
	ldp	q5, q6, [x17]
	ldp	q7, q16, [x17, #32]
	add.4s	v1, v5, v1
	add.4s	v2, v6, v2
	add.4s	v3, v7, v3
	add.4s	v4, v16, v4
	scvtf.4s	v5, v5
	scvtf.4s	v6, v6
	scvtf.4s	v7, v7
	scvtf.4s	v16, v16
	add	x16, x9, x16
	ldp	q17, q18, [x16]
	ldp	q19, q20, [x16, #32]
	fmul.4s	v5, v17, v5
	mov	s17, v5[3]
	mov	s21, v5[2]
	mov	s22, v5[1]
	fmul.4s	v6, v18, v6
	mov	s18, v6[3]
	mov	s23, v6[2]
	mov	s24, v6[1]
	fmul.4s	v7, v19, v7
	mov	s19, v7[3]
	mov	s25, v7[2]
	mov	s26, v7[1]
	fmul.4s	v16, v20, v16
	mov	s20, v16[3]
	mov	s27, v16[2]
	mov	s28, v16[1]
	fadd	s0, s0, s5
	fadd	s0, s0, s22
	fadd	s0, s0, s21
	fadd	s0, s0, s17
	fadd	s0, s0, s6
	fadd	s0, s0, s24
	fadd	s0, s0, s23
	fadd	s0, s0, s18
	fadd	s0, s0, s7
	fadd	s0, s0, s26
	fadd	s0, s0, s25
	fadd	s0, s0, s19
	fadd	s0, s0, s16
	fadd	s0, s0, s28
	fadd	s0, s0, s27
	fadd	s0, s0, s20
	add	x15, x15, #16
	cmp	x14, x15
	b.ne	LBB0_21
; %bb.22:
	add.4s	v1, v2, v1
	add.4s	v1, v3, v1
	add.4s	v1, v4, v1
	addv.4s	s1, v1
	fmov	w15, s1
	cmp	x13, x14
	b.eq	LBB0_25
LBB0_23:
	lsl	x13, x12, #2
	add	x9, x9, x13
	add	x10, x10, x13
	sub	x11, x11, x12
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10], #4
	add	w15, w12, w15
	scvtf	s1, w12
	ldr	s2, [x9], #4
	fmadd	s0, s1, s2, s0
	subs	x11, x11, #1
	b.ne	LBB0_24
LBB0_25:
	cbz	w15, LBB0_28
; %bb.26:
	str	w0, [sp]                        ; 4-byte Folded Spill
	ldr	x9, [x20, #32]
	str	wzr, [x9, x8, lsl #2]
	ldr	w9, [x24]
	cmp	w9, #2
	b.lt	LBB0_38
; %bb.27:
	mov	w26, #0
	mov	w21, #0
	mov	w27, #0
	fcvt	d0, s0
	mov	w8, #8
	sub	w12, w8, w19
	scvtf	d1, w19
	fmov	d8, #0.50000000
	fnmsub	d0, d0, d8, d1
	scvtf	d1, w15
	fdiv	d0, d0, d1
	fcvt	s9, d0
	mov	w11, #1
	mov	w13, #-1
	stp	w12, w1, [sp, #4]               ; 8-byte Folded Spill
	b	LBB0_33
LBB0_28:
Lloh16:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
LBB0_29:
	ldur	x8, [x29, #-128]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_91
; %bb.30:
	ldp	x29, x30, [sp, #272]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #256]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #240]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #224]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #208]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #192]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #176]              ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #288
	ret
LBB0_31:                                ;   in Loop: Header=BB0_33 Depth=1
	mov	w25, #0
	mov	w21, #0
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=1
	subs	w8, w21, w19
	cneg	w10, w13, le
	cmp	w26, #0
	csel	w11, w10, w11, eq
	cmp	w11, w10
	cinc	w27, w27, ne
	scvtf	s0, w8
	madd	w8, w25, w27, w25
	scvtf	s1, w8
	fdiv	s0, s0, s1
	fadd	s9, s9, s0
	add	w26, w26, #1
	cmp	w9, #0
	cinc	w8, w9, lt
	cmp	w26, w8, asr #1
	mov	x11, x10
	b.ge	LBB0_39
LBB0_33:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_36 Depth 2
	add	w8, w12, w21
	cmp	w8, #17
	b.lo	LBB0_39
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=1
	cmp	w1, w9
	b.ge	LBB0_31
; %bb.35:                               ;   in Loop: Header=BB0_33 Depth=1
	str	w11, [sp, #12]                  ; 4-byte Folded Spill
	mov	w21, #0
	mov	w25, #0
	fcvt	d0, s9
	fneg	d10, d0
	mov	x23, x28
LBB0_36:                                ;   Parent Loop BB0_33 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #16]
	mov	x22, x24
	lsl	x24, x23, #2
	ldr	s0, [x8, x24]
	fcvt	d0, s0
	fmadd	d0, d0, d8, d10
	fadd	d0, d0, d8
	mov	w0, #0
	mov	w1, #6
	bl	_av_clipf
	ldr	x8, [x20, #40]
	str	w0, [x8, x24]
	ldr	x8, [x20, #32]
	ldr	w8, [x8, x24]
	mov	x24, x22
	madd	w21, w8, w0, w21
	cmp	w0, #0
	csel	w8, w8, wzr, gt
	add	w25, w8, w25
	add	x23, x23, #1
	ldr	w9, [x22]
	cmp	w9, w23
	b.gt	LBB0_36
; %bb.37:                               ;   in Loop: Header=BB0_33 Depth=1
	ldp	w12, w1, [sp, #4]               ; 8-byte Folded Reload
	mov	w13, #-1
	ldr	w11, [sp, #12]                  ; 4-byte Folded Reload
	b	LBB0_32
LBB0_38:
	mov	w21, #0
LBB0_39:
Lloh22:
	adrp	x8, _band_tab@GOTPAGE
Lloh23:
	ldr	x8, [x8, _band_tab@GOTPAGEOFF]
	cmp	w1, w9
	b.ge	LBB0_46
; %bb.40:
	ldr	x10, [x8]
	ldr	w12, [x10, x28, lsl #2]
	ldr	w0, [sp]                        ; 4-byte Folded Reload
	b	LBB0_42
LBB0_41:                                ;   in Loop: Header=BB0_42 Depth=1
	cmp	x28, w9, sxtw
	mov	x12, x13
	b.ge	LBB0_47
LBB0_42:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_44 Depth 2
	mov	x11, x28
	add	x28, x28, #1
	ldr	w13, [x10, x28, lsl #2]
	cmp	w12, w13
	b.ge	LBB0_41
; %bb.43:                               ;   in Loop: Header=BB0_42 Depth=1
	ldp	x9, x14, [x20, #40]
	sxtw	x12, w12
LBB0_44:                                ;   Parent Loop BB0_42 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w13, [x9, x11, lsl #2]
	str	w13, [x14, x12, lsl #2]
	add	x12, x12, #1
	ldrsw	x13, [x10, x28, lsl #2]
	cmp	x12, x13
	b.lt	LBB0_44
; %bb.45:                               ;   in Loop: Header=BB0_42 Depth=1
	ldr	w9, [x24]
	b	LBB0_41
LBB0_46:
	ldr	w0, [sp]                        ; 4-byte Folded Reload
LBB0_47:
	cmp	w21, w19
	b.ge	LBB0_67
; %bb.48:
	cmp	w9, #1
	b.lt	LBB0_54
; %bb.49:
	mov	x10, #0
	ldr	x11, [x20, #40]
	mov	w9, w9
	lsl	x9, x9, #2
	add	x12, sp, #16
	mov	x13, #49807
	movk	x13, #10485, lsl #16
	movk	x13, #36700, lsl #32
	movk	x13, #49114, lsl #48
	b	LBB0_52
LBB0_50:                                ;   in Loop: Header=BB0_52 Depth=1
	neg	w14, w14, lsl #1
	scvtf	s0, w14
	ldr	x14, [x20, #16]
	ldr	s1, [x14, x10]
	fadd	s0, s1, s0
	fcvt	d0, s0
	fmov	d1, x13
	fadd	d0, d0, d1
LBB0_51:                                ;   in Loop: Header=BB0_52 Depth=1
	fcvt	s0, d0
	str	s0, [x12, x10]
	add	x10, x10, #4
	cmp	x9, x10
	b.eq	LBB0_54
LBB0_52:                                ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x11, x10]
	cmp	w14, #6
	b.ne	LBB0_50
; %bb.53:                               ;   in Loop: Header=BB0_52 Depth=1
	mov	x14, #35904
	movk	x14, #30901, lsl #16
	movk	x14, #44829, lsl #32
	movk	x14, #50197, lsl #48
	fmov	d0, x14
	b	LBB0_51
LBB0_54:
	ldr	x9, [x8]
	movi	d1, #0000000000000000
	mov	x10, #35904
	movk	x10, #30901, lsl #16
	movk	x10, #44829, lsl #32
	movk	x10, #50197, lsl #48
	add	x11, sp, #16
	fmov	s0, #-2.00000000
	mov	w12, #30956
	movk	w12, #57517, lsl #16
	b	LBB0_56
LBB0_55:                                ;   in Loop: Header=BB0_56 Depth=1
	cmp	w21, w19
	b.ge	LBB0_67
LBB0_56:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_59 Depth 2
                                        ;     Child Loop BB0_66 Depth 2
	fcvt	d1, s1
	fmov	d2, x10
	fcmp	d1, d2
	b.ls	LBB0_67
; %bb.57:                               ;   in Loop: Header=BB0_56 Depth=1
	ldr	w14, [x24]
	cmp	w14, #1
	b.lt	LBB0_60
; %bb.58:                               ;   in Loop: Header=BB0_56 Depth=1
	mov	x15, #0
	mov	w13, #0
	mov	w16, #30956
	movk	w16, #57517, lsl #16
	fmov	s1, w16
LBB0_59:                                ;   Parent Loop BB0_56 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	s2, [x11, x15, lsl #2]
	fcmp	s2, s1
	fcsel	s1, s2, s1, gt
	csel	w13, w15, w13, gt
	add	x15, x15, #1
	cmp	x14, x15
	b.ne	LBB0_59
	b	LBB0_61
LBB0_60:                                ;   in Loop: Header=BB0_56 Depth=1
	mov	w13, #0
	mov	w14, #30956
	movk	w14, #57517, lsl #16
	fmov	s1, w14
LBB0_61:                                ;   in Loop: Header=BB0_56 Depth=1
	fcvt	d2, s1
	fmov	d3, x10
	fcmp	d2, d3
	b.le	LBB0_55
; %bb.62:                               ;   in Loop: Header=BB0_56 Depth=1
	sxtw	x14, w13
	sbfiz	x13, x13, #2, #32
	ldr	s2, [x11, x13]
	fadd	s2, s2, s0
	str	s2, [x11, x13]
	ldr	x15, [x20, #40]
	ldr	w16, [x15, x13]
	add	w16, w16, #1
	str	w16, [x15, x13]
	cmp	w16, #6
	b.ne	LBB0_64
; %bb.63:                               ;   in Loop: Header=BB0_56 Depth=1
	str	w12, [x11, x14, lsl #2]
LBB0_64:                                ;   in Loop: Header=BB0_56 Depth=1
	ldrsw	x13, [x9, x14, lsl #2]
	add	x14, x14, #1
	ldr	w15, [x9, x14, lsl #2]
	cmp	w13, w15
	ccmp	w21, w19, #0, lt
	b.ge	LBB0_55
; %bb.65:                               ;   in Loop: Header=BB0_56 Depth=1
	ldr	x15, [x20, #48]
LBB0_66:                                ;   Parent Loop BB0_56 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x16, x13, #2
	ldr	w17, [x15, x16]
	add	w17, w17, #1
	str	w17, [x15, x16]
	add	w21, w21, #1
	add	x13, x13, #1
	ldrsw	x16, [x9, x14, lsl #2]
	cmp	x13, x16
	ccmp	w21, w19, #0, lt
	b.lt	LBB0_66
	b	LBB0_55
LBB0_67:
	cmp	w21, w19
	b.le	LBB0_90
; %bb.68:
	ldr	w12, [x24]
	cmp	w12, #1
	b.lt	LBB0_74
; %bb.69:
	mov	x9, #0
	ldr	x10, [x20, #40]
	lsl	x11, x12, #2
	add	x13, sp, #16
	mov	x14, #36700
	movk	x14, #62914, lsl #16
	movk	x14, #23592, lsl #32
	movk	x14, #16377, lsl #48
	b	LBB0_72
LBB0_70:                                ;   in Loop: Header=BB0_72 Depth=1
	mov	x15, #35904
	movk	x15, #30901, lsl #16
	movk	x15, #44829, lsl #32
	movk	x15, #17429, lsl #48
	fmov	d0, x15
LBB0_71:                                ;   in Loop: Header=BB0_72 Depth=1
	fcvt	s0, d0
	str	s0, [x13, x9]
	add	x9, x9, #4
	cmp	x11, x9
	b.eq	LBB0_74
LBB0_72:                                ; =>This Inner Loop Header: Depth=1
	ldr	w15, [x10, x9]
	cbz	w15, LBB0_70
; %bb.73:                               ;   in Loop: Header=BB0_72 Depth=1
	neg	w15, w15, lsl #1
	scvtf	s0, w15
	ldr	x15, [x20, #16]
	ldr	s1, [x15, x9]
	fadd	s0, s1, s0
	fcvt	d0, s0
	fmov	d1, x14
	fadd	d0, d0, d1
	b	LBB0_71
LBB0_74:
	cbz	w0, LBB0_76
; %bb.75:
	mov	w9, #30956
	movk	w9, #24749, lsl #16
	dup.4s	v0, w9
	str	q0, [sp, #16]
LBB0_76:
	ldr	x9, [x20, #40]
	ldr	x8, [x8]
	add	x10, sp, #16
	fmov	s0, #2.00000000
	mov	w11, #30956
	movk	w11, #24749, lsl #16
	cmp	w12, #1
	b.ge	LBB0_79
	b	LBB0_78
LBB0_77:
	ldr	w12, [x24]
	cmp	w12, #1
	b.ge	LBB0_79
LBB0_78:
	mov	w13, #0
	mov	w12, #761
	movk	w12, #20501, lsl #16
	fmov	s1, w12
	b	LBB0_81
LBB0_79:
	mov	x14, #0
	mov	w13, #0
	mov	w12, w12
	mov	w15, #761
	movk	w15, #20501, lsl #16
	fmov	s1, w15
LBB0_80:                                ; =>This Inner Loop Header: Depth=1
	ldr	s2, [x10, x14, lsl #2]
	fcmp	s2, s1
	fcsel	s1, s2, s1, mi
	csel	w13, w14, w13, mi
	add	x14, x14, #1
	cmp	x12, x14
	b.ne	LBB0_80
LBB0_81:
	fadd	s1, s1, s0
	sbfiz	x12, x13, #2, #32
	str	s1, [x10, x12]
	sxtw	x13, w13
	ldr	w14, [x9, x12]
	subs	w14, w14, #1
	str	w14, [x9, x12]
	b.ne	LBB0_83
; %bb.82:
	str	w11, [x10, x13, lsl #2]
LBB0_83:
	ldrsw	x12, [x8, x13, lsl #2]
	add	w14, w13, #1
	ldr	w13, [x8, w14, sxtw #2]
	cmp	w12, w13
	ccmp	w21, w19, #4, lt
	b.le	LBB0_89
; %bb.84:
	sxtw	x14, w14
	ldr	x15, [x20, #48]
LBB0_85:                                ; =>This Inner Loop Header: Depth=1
	ldr	w16, [x15, x12, lsl #2]
	subs	w16, w16, #1
	b.lt	LBB0_87
; %bb.86:                               ;   in Loop: Header=BB0_85 Depth=1
	str	w16, [x15, x12, lsl #2]
	sub	w21, w21, #1
	ldr	w13, [x8, x14, lsl #2]
LBB0_87:                                ;   in Loop: Header=BB0_85 Depth=1
	add	x12, x12, #1
	cmp	x12, w13, sxtw
	b.ge	LBB0_89
; %bb.88:                               ;   in Loop: Header=BB0_85 Depth=1
	cmp	w21, w19
	b.gt	LBB0_85
LBB0_89:
	cmp	w21, w19
	b.gt	LBB0_77
LBB0_90:
	mov	w0, #0
	b	LBB0_29
LBB0_91:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_BANDS,4,2                      ; @BANDS
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"flcoeffs5 %f invalid\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_band_tab,8,3                   ; @band_tab
	.comm	_xTab,8,3                       ; @xTab
	.no_dead_strip	_bit_allocation
.subsections_via_symbols
