	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ff_eac3_decode_transform_coeffs_aht_ch
_ff_eac3_decode_transform_coeffs_aht_ch: ## @ff_eac3_decode_transform_coeffs_aht_ch
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	40(%rdi), %rbx
	movq	_AC3_MAX_COEFS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_get_bits
	movl	%eax, %esi
	xorl	%eax, %eax
	cmpl	$2, %esi
	setge	%al
	leal	(%rax,%rax,4), %eax
	addl	$12, %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	_EAC3_GAQ_12@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, -92(%rbp)                 ## 4-byte Spill
	je	LBB0_12
## %bb.1:
	movq	_EAC3_GAQ_14@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	je	LBB0_12
## %bb.2:
	movq	_EAC3_GAQ_124@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	jne	LBB0_18
## %bb.3:
	movslq	%r14d, %r13
	movq	(%r12), %rcx
	movq	8(%r12), %rax
	movslq	(%rcx,%r13,4), %rbx
	movl	(%rax,%r13,4), %edx
	cmpl	%edx, %ebx
	jge	LBB0_20
## %bb.4:
	movl	$2, %ecx
	movq	%r13, %rsi
	xorl	%r13d, %r13d
	leaq	L_.str(%rip), %r14
	movq	_ff_ac3_ungroup_3_in_5_bits_tab@GOTPCREL(%rip), %r12
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r12), %rcx
	cltq
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %ecx
	movslq	%r13d, %rdx
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	%ecx, (%rsi,%rdx,4)
	movl	4(%rax), %ecx
	movl	%ecx, 4(%rsi,%rdx,4)
	movl	8(%rax), %eax
	leal	3(%rdx), %r13d
	movl	%eax, 8(%rsi,%rdx,4)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	xorl	%ecx, %ecx
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movq	%r15, %rsi
	movslq	(%rax,%r15,4), %rdx
	cmpq	%rdx, %rbx
	jge	LBB0_19
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	16(%rdx), %rdx
	movq	%rsi, %r15
	movq	(%rdx,%rsi,8), %rdx
	movl	(%rdx,%rbx,4), %edx
	addl	$-8, %edx
	cmpl	$8, %edx
	ja	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$2, %ecx
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	$5, %esi
	callq	_get_bits
	cmpl	$27, %eax
	jl	LBB0_5
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	36(%rax), %edi
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_av_log
	movl	$26, %eax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	incl	%ecx
	jmp	LBB0_6
LBB0_12:
	movslq	%r14d, %r13
	movq	(%r12), %rcx
	movq	8(%r12), %rax
	movslq	(%rcx,%r13,4), %rbx
	movl	(%rax,%r13,4), %edx
	cmpl	%edx, %ebx
	jge	LBB0_20
## %bb.13:
	movl	%esi, %r14d
	decl	%r14d
	xorl	%r15d, %r15d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=1
	incq	%rbx
	movslq	(%rax,%r13,4), %rdx
	cmpq	%rdx, %rbx
	jge	LBB0_20
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %rcx
	movq	(%rcx,%r13,8), %rcx
	movl	(%rcx,%rbx,4), %ecx
	cmpl	$8, %ecx
	jl	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpl	-68(%rbp), %ecx                 ## 4-byte Folded Reload
	jge	LBB0_14
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_bits1
	movl	%r14d, %ecx
	shll	%cl, %eax
	movslq	%r15d, %rcx
	incl	%r15d
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rdx,%rcx,4)
	movq	8(%r12), %rax
	jmp	LBB0_14
LBB0_18:
	movq	8(%r12), %rax
	movslq	%r14d, %r13
	movl	(%rax,%r13,4), %edx
	jmp	LBB0_20
LBB0_19:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%rsi, %r13
LBB0_20:
	movq	(%r12), %rax
	movslq	(%rax,%r13,4), %rbx
	cmpl	%edx, %ebx
	jge	LBB0_44
## %bb.21:
	leaq	32(%r12), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	-136(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	callq	_av_lfg_get
	andl	$8388607, %eax                  ## imm = 0x7FFFFF
	addl	$-4194304, %eax                 ## imm = 0xFFC00000
	movq	24(%r12), %rcx
	movq	(%rcx,%r14,8), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movl	%eax, (%rcx)
	movq	%r15, %rdi
	callq	_av_lfg_get
	andl	$8388607, %eax                  ## imm = 0x7FFFFF
	addl	$-4194304, %eax                 ## imm = 0xFFC00000
	movq	24(%r12), %rcx
	movq	(%rcx,%r14,8), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movl	%eax, 4(%rcx)
	movq	%r15, %rdi
	callq	_av_lfg_get
	andl	$8388607, %eax                  ## imm = 0x7FFFFF
	addl	$-4194304, %eax                 ## imm = 0xFFC00000
	movq	24(%r12), %rcx
	movq	(%rcx,%r14,8), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movl	%eax, 8(%rcx)
	movq	%r15, %rdi
	callq	_av_lfg_get
	andl	$8388607, %eax                  ## imm = 0x7FFFFF
	addl	$-4194304, %eax                 ## imm = 0xFFC00000
	movq	24(%r12), %rcx
	movq	(%rcx,%r14,8), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movl	%eax, 12(%rcx)
	movq	%r15, %rdi
	callq	_av_lfg_get
	andl	$8388607, %eax                  ## imm = 0x7FFFFF
	addl	$-4194304, %eax                 ## imm = 0xFFC00000
	movq	24(%r12), %rcx
	movq	(%rcx,%r14,8), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movl	%eax, 16(%rcx)
	movq	%r15, %rdi
	callq	_av_lfg_get
	andl	$8388607, %eax                  ## imm = 0x7FFFFF
	addl	$-4194304, %eax                 ## imm = 0xFFC00000
	movq	24(%r12), %rcx
	movq	(%rcx,%r14,8), %rcx
	movq	(%rcx,%rbx,8), %rdi
	movq	%r14, %r13
LBB0_23:                                ##   in Loop: Header=BB0_25 Depth=1
	movl	%eax, 20(%rdi)
LBB0_24:                                ##   in Loop: Header=BB0_25 Depth=1
	callq	_idct6
	incq	%rbx
	movq	8(%r12), %rax
	movslq	(%rax,%r13,4), %rax
	cmpq	%rax, %rbx
	jge	LBB0_44
LBB0_25:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_37 Depth 2
	movq	16(%r12), %rax
	movq	(%rax,%r13,8), %rax
	movq	%r13, %r14
	movslq	(%rax,%rbx,4), %r13
	testq	%r13, %r13
	je	LBB0_22
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	_ff_eac3_bits_vs_hebap@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r13,4), %esi
	cmpl	$7, %r13d
	jg	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_get_bits
	movq	_ff_eac3_mantissa_vq@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%r13,8), %rcx
	cltq
	movq	(%rcx,%rax,8), %rax
	movq	24(%r12), %rcx
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	(%rcx,%r13,8), %rcx
	movq	(%rcx,%rbx,8), %rdi
	movl	(%rax), %ecx
	shll	$8, %ecx
	movl	%ecx, (%rdi)
	movl	4(%rax), %ecx
	shll	$8, %ecx
	movl	%ecx, 4(%rdi)
	movl	8(%rax), %ecx
	shll	$8, %ecx
	movl	%ecx, 8(%rdi)
	movl	12(%rax), %ecx
	shll	$8, %ecx
	movl	%ecx, 12(%rdi)
	movl	16(%rax), %ecx
	shll	$8, %ecx
	movl	%ecx, 16(%rdi)
	movl	20(%rax), %eax
	shll	$8, %eax
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_25 Depth=1
	xorl	%r12d, %r12d
	movq	_EAC3_GAQ_NO@GOTPCREL(%rip), %rax
	movl	-92(%rbp), %ecx                 ## 4-byte Reload
	cmpl	(%rax), %ecx
	je	LBB0_32
## %bb.29:                              ##   in Loop: Header=BB0_25 Depth=1
	cmpl	-68(%rbp), %r13d                ## 4-byte Folded Reload
	jge	LBB0_32
## %bb.30:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	%rbx, %r15
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movslq	%ecx, %rax
	incl	%ecx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %r12d
	jmp	LBB0_33
LBB0_32:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	%rbx, %r15
LBB0_33:                                ##   in Loop: Header=BB0_25 Depth=1
	movl	%esi, %ebx
	subl	%r12d, %ebx
	leal	-1(%rbx), %ecx
	movl	$-1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	movl	$24, %eax
	subl	%esi, %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	$26, %ecx
	subl	%esi, %ecx
	subl	%r12d, %ecx
	movl	%ecx, -104(%rbp)                ## 4-byte Spill
	leal	(%rsi,%r12), %eax
	addl	$-2, %eax
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	addl	$-8, %r13d
	leal	-1(%r12), %eax
	cltq
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movb	$23, %cl
	subb	%r12b, %cl
	movl	$1, %eax
	shll	%cl, %eax
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_37 Depth=2
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	movq	_ff_eac3_gaq_remap_1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%r13,4), %ecx
	imull	%eax, %ecx
	sarl	$15, %ecx
LBB0_35:                                ##   in Loop: Header=BB0_37 Depth=2
	addl	%ecx, %eax
LBB0_36:                                ##   in Loop: Header=BB0_37 Depth=2
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	24(%rcx), %rcx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rcx,%rdx,8), %rcx
	movq	(%rcx,%r15,8), %rdi
	movl	%eax, (%rdi,%r14,4)
	incq	%r14
	cmpq	$6, %r14
	je	LBB0_43
LBB0_37:                                ##   Parent Loop BB0_25 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_get_sbits
	testl	%r12d, %r12d
	je	LBB0_34
## %bb.38:                              ##   in Loop: Header=BB0_37 Depth=2
	cmpl	-108(%rbp), %eax                ## 4-byte Folded Reload
	jne	LBB0_42
## %bb.39:                              ##   in Loop: Header=BB0_37 Depth=2
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-100(%rbp), %esi                ## 4-byte Reload
	callq	_get_sbits
	movl	-104(%rbp), %ecx                ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	movl	-96(%rbp), %ecx                 ## 4-byte Reload
	testl	%eax, %eax
	jns	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_37 Depth=2
	movq	_ff_eac3_gaq_remap_2_4_b@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%r13,8), %rcx
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	movl	(%rcx,%rdx,4), %ecx
	shll	$8, %ecx
LBB0_41:                                ##   in Loop: Header=BB0_37 Depth=2
	movq	_ff_eac3_gaq_remap_2_4_a@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx,%r13,8), %rdx
	addl	%eax, %ecx
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	imull	(%rdx,%rsi,4), %eax
	sarl	$15, %eax
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_37 Depth=2
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	%r15, %rbx
	jmp	LBB0_24
LBB0_44:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_46
## %bb.45:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_46:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AC3_MAX_COEFS,4,2              ## @AC3_MAX_COEFS
	.comm	_EAC3_GAQ_12,4,2                ## @EAC3_GAQ_12
	.comm	_EAC3_GAQ_14,4,2                ## @EAC3_GAQ_14
	.comm	_EAC3_GAQ_124,4,2               ## @EAC3_GAQ_124
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GAQ gain group code out-of-range\n"

	.comm	_ff_ac3_ungroup_3_in_5_bits_tab,8,3 ## @ff_ac3_ungroup_3_in_5_bits_tab
	.comm	_ff_eac3_bits_vs_hebap,8,3      ## @ff_eac3_bits_vs_hebap
	.comm	_ff_eac3_mantissa_vq,8,3        ## @ff_eac3_mantissa_vq
	.comm	_EAC3_GAQ_NO,4,2                ## @EAC3_GAQ_NO
	.comm	_ff_eac3_gaq_remap_2_4_b,8,3    ## @ff_eac3_gaq_remap_2_4_b
	.comm	_ff_eac3_gaq_remap_2_4_a,8,3    ## @ff_eac3_gaq_remap_2_4_a
	.comm	_ff_eac3_gaq_remap_1,8,3        ## @ff_eac3_gaq_remap_1
	.no_dead_strip	_ff_eac3_decode_transform_coeffs_aht_ch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ff_eac3_decode_transform_coeffs_aht_ch
_ff_eac3_decode_transform_coeffs_aht_ch: ; @ff_eac3_decode_transform_coeffs_aht_ch
	.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, #80
	mov	x22, x1
	mov	x26, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	add	x0, x0, #40
Lloh3:
	adrp	x8, _AC3_MAX_COEFS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AC3_MAX_COEFS@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	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x27, x9, x8
	mov	sp, x27
	stur	x0, [x29, #-96]                 ; 8-byte Folded Spill
	mov	w1, #2
	bl	_get_bits
	mov	w8, #17
	mov	w9, #12
	cmp	w0, #2
	csel	w25, w9, w8, lt
Lloh8:
	adrp	x8, _EAC3_GAQ_12@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EAC3_GAQ_12@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _EAC3_GAQ_14@GOTPAGE
Lloh12:
	ldr	x9, [x9, _EAC3_GAQ_14@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	stp	w0, w25, [x29, #-136]           ; 8-byte Folded Spill
	stur	x27, [x29, #-152]               ; 8-byte Folded Spill
	b.ne	LBB0_6
; %bb.1:
	sxtw	x11, w22
	sbfiz	x9, x22, #2, #32
	ldp	x10, x8, [x26]
	ldrsw	x19, [x10, x9]
	ldr	w10, [x8, x9]
	cmp	w19, w10
	b.ge	LBB0_19
; %bb.2:
	mov	w21, #0
	sub	w20, w0, #1
	mov	x22, x11
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x19, x19, #1
	ldrsw	x10, [x8, x22, lsl #2]
	cmp	x19, x10
	b.ge	LBB0_20
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x26, #16]
	ldr	x9, [x9, x22, lsl #3]
	ldr	w9, [x9, x19, lsl #2]
	cmp	w9, #8
	ccmp	w9, w25, #0, ge
	b.ge	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	x0, [x29, #-96]                 ; 8-byte Folded Reload
	bl	_get_bits1
	lsl	w8, w0, w20
	str	w8, [x27, w21, sxtw #2]
	add	w21, w21, #1
	ldr	x8, [x26, #8]
	b	LBB0_3
LBB0_6:
Lloh14:
	adrp	x8, _EAC3_GAQ_124@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EAC3_GAQ_124@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_16
; %bb.7:
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	sxtw	x19, w22
	sbfiz	x8, x22, #2, #32
	ldp	x10, x9, [x26]
	ldrsw	x21, [x10, x8]
	ldr	w10, [x9, x8]
	cmp	w21, w10
	b.ge	LBB0_17
; %bb.8:
	mov	w23, #0
	mov	w8, #2
Lloh17:
	adrp	x24, _AV_LOG_WARNING@GOTPAGE
Lloh18:
	ldr	x24, [x24, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh19:
	adrp	x25, _ff_ac3_ungroup_3_in_5_bits_tab@GOTPAGE
Lloh20:
	ldr	x25, [x25, _ff_ac3_ungroup_3_in_5_bits_tab@GOTPAGEOFF]
Lloh21:
	adrp	x22, l_.str@PAGE
Lloh22:
	add	x22, x22, l_.str@PAGEOFF
	mov	x11, x19
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	mov	w8, #0
	ldr	x9, [x25]
	ldr	x9, [x9, w0, sxtw #3]
	ldr	x10, [x9]
	add	x11, x27, w23, sxtw #2
	str	x10, [x11]
	ldr	w9, [x9, #8]
	add	w23, w23, #3
	str	w9, [x11, #8]
	ldr	x9, [x26, #8]
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x21, x21, #1
	mov	x11, x19
	ldrsw	x10, [x9, x19, lsl #2]
	cmp	x21, x10
	b.ge	LBB0_18
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x26, #16]
	ldr	x10, [x10, x11, lsl #3]
	ldr	w10, [x10, x21, lsl #2]
	sub	w10, w10, #8
	cmp	w10, #8
	b.hi	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	w8, #2
	b.ne	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldur	x0, [x29, #-96]                 ; 8-byte Folded Reload
	mov	w1, #5
	bl	_get_bits
	cmp	w0, #27
	b.lt	LBB0_9
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x26, #36]
	ldr	w1, [x24]
	mov	x2, x22
	bl	_av_log
	mov	w0, #26
	b	LBB0_9
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=1
	add	w8, w8, #1
	b	LBB0_10
LBB0_16:
	ldr	x8, [x26, #8]
	mov	x9, x22
	sxtw	x9, w9
	ldr	w10, [x8, w22, sxtw #2]
	mov	x22, x9
	b	LBB0_20
LBB0_17:
	mov	x22, x19
	b	LBB0_20
LBB0_18:
                                        ; kill: def $w10 killed $w10 killed $x10 def $x10
	ldur	w25, [x29, #-132]               ; 4-byte Folded Reload
LBB0_19:
	mov	x22, x11
LBB0_20:
	ldr	x8, [x26]
	ldrsw	x28, [x8, x22, lsl #2]
	cmp	w28, w10
	b.ge	LBB0_41
; %bb.21:
	stur	wzr, [x29, #-140]               ; 4-byte Folded Spill
	add	x8, x26, #32
	stur	x8, [x29, #-120]                ; 8-byte Folded Spill
Lloh23:
	adrp	x27, _ff_eac3_bits_vs_hebap@GOTPAGE
Lloh24:
	ldr	x27, [x27, _ff_eac3_bits_vs_hebap@GOTPAGEOFF]
	lsl	x8, x22, #3
	stur	x8, [x29, #-128]                ; 8-byte Folded Spill
	mov	x24, x26
	mov	x20, x22
	b	LBB0_25
LBB0_22:                                ;   in Loop: Header=BB0_25 Depth=1
	ldur	x21, [x29, #-120]               ; 8-byte Folded Reload
	mov	x0, x21
	bl	_av_lfg_get
	and	w8, w0, #0x7fffff
	sub	w8, w8, #1024, lsl #12          ; =4194304
	ldr	x9, [x26, #24]
	ldur	x23, [x29, #-128]               ; 8-byte Folded Reload
	ldr	x9, [x9, x23]
	lsl	x19, x28, #3
	ldr	x9, [x9, x19]
	str	w8, [x9]
	mov	x0, x21
	bl	_av_lfg_get
	and	w8, w0, #0x7fffff
	sub	w8, w8, #1024, lsl #12          ; =4194304
	ldr	x9, [x26, #24]
	ldr	x9, [x9, x23]
	ldr	x9, [x9, x19]
	str	w8, [x9, #4]
	mov	x0, x21
	bl	_av_lfg_get
	and	w8, w0, #0x7fffff
	sub	w8, w8, #1024, lsl #12          ; =4194304
	ldr	x9, [x26, #24]
	ldr	x9, [x9, x23]
	ldr	x9, [x9, x19]
	str	w8, [x9, #8]
	mov	x0, x21
	bl	_av_lfg_get
	and	w8, w0, #0x7fffff
	sub	w8, w8, #1024, lsl #12          ; =4194304
	ldr	x9, [x26, #24]
	ldr	x9, [x9, x23]
	ldr	x9, [x9, x19]
	str	w8, [x9, #12]
	mov	x0, x21
	bl	_av_lfg_get
	and	w8, w0, #0x7fffff
	sub	w8, w8, #1024, lsl #12          ; =4194304
	ldr	x9, [x26, #24]
	ldr	x9, [x9, x23]
	ldr	x9, [x9, x19]
	str	w8, [x9, #16]
	mov	x0, x21
	bl	_av_lfg_get
	and	w8, w0, #0x7fffff
	sub	w8, w8, #1024, lsl #12          ; =4194304
	ldr	x9, [x26, #24]
	ldr	x9, [x9, x23]
	ldr	x0, [x9, x19]
LBB0_23:                                ;   in Loop: Header=BB0_25 Depth=1
	str	w8, [x0, #20]
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	bl	_idct6
	add	x28, x28, #1
	ldr	x8, [x26, #8]
	ldrsw	x8, [x8, x22, lsl #2]
	cmp	x28, x8
	b.ge	LBB0_41
LBB0_25:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_34 Depth 2
	ldr	x8, [x26, #16]
	ldr	x8, [x8, x22, lsl #3]
	ldrsw	x19, [x8, x28, lsl #2]
	cbz	w19, LBB0_22
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	x8, [x27]
	ldr	w1, [x8, x19, lsl #2]
	cmp	w19, #7
	b.gt	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=1
	ldur	x0, [x29, #-96]                 ; 8-byte Folded Reload
	bl	_get_bits
Lloh25:
	adrp	x8, _ff_eac3_mantissa_vq@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ff_eac3_mantissa_vq@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	ldr	x8, [x8, x19, lsl #3]
	ldr	x8, [x8, w0, sxtw #3]
	ldr	x9, [x26, #24]
	ldr	x9, [x9, x22, lsl #3]
	ldr	x0, [x9, x28, lsl #3]
	ldr	w9, [x8]
	lsl	w9, w9, #8
	str	w9, [x0]
	ldr	w9, [x8, #4]
	lsl	w9, w9, #8
	str	w9, [x0, #4]
	ldr	w9, [x8, #8]
	lsl	w9, w9, #8
	str	w9, [x0, #8]
	ldr	w9, [x8, #12]
	lsl	w9, w9, #8
	str	w9, [x0, #12]
	ldr	w9, [x8, #16]
	lsl	w9, w9, #8
	str	w9, [x0, #16]
	ldr	w8, [x8, #20]
	lsl	w8, w8, #8
	b	LBB0_23
LBB0_28:                                ;   in Loop: Header=BB0_25 Depth=1
Lloh28:
	adrp	x8, _EAC3_GAQ_NO@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EAC3_GAQ_NO@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	ldur	w9, [x29, #-136]                ; 4-byte Folded Reload
	cmp	w9, w8
	ccmp	w19, w25, #0, ne
	b.lt	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	w26, #0
	b	LBB0_31
LBB0_30:                                ;   in Loop: Header=BB0_25 Depth=1
	ldur	x8, [x29, #-152]                ; 8-byte Folded Reload
	ldur	w9, [x29, #-140]                ; 4-byte Folded Reload
	ldr	w26, [x8, w9, sxtw #2]
	add	w8, w9, #1
	stur	w8, [x29, #-140]                ; 4-byte Folded Spill
LBB0_31:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	x25, #0
	sub	w23, w1, w26
	sub	w8, w23, #1
	mov	w9, #-1
	lsl	w22, w9, w8
	mov	w8, #24
	sub	w21, w8, w1
	add	w8, w1, w26
	mov	w9, #26
	sub	w9, w9, w8
	sub	w8, w8, #2
	stp	w8, w9, [x29, #-104]            ; 8-byte Folded Spill
	sub	w27, w19, #8
	sub	w8, w26, #1
	sxtw	x19, w8
	mov	w8, #23
	sub	w8, w8, w26
	mov	w9, #1
	lsl	w8, w9, w8
	stur	w8, [x29, #-108]                ; 4-byte Folded Spill
	b	LBB0_34
LBB0_32:                                ;   in Loop: Header=BB0_34 Depth=2
	lsl	w8, w0, w21
Lloh31:
	adrp	x9, _ff_eac3_gaq_remap_1@GOTPAGE
Lloh32:
	ldr	x9, [x9, _ff_eac3_gaq_remap_1@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	ldr	w9, [x9, x27, lsl #2]
	mul	w9, w9, w8
	add	w8, w8, w9, asr #15
LBB0_33:                                ;   in Loop: Header=BB0_34 Depth=2
	ldr	x9, [x24, #24]
	ldr	x9, [x9, x20, lsl #3]
	ldr	x0, [x9, x28, lsl #3]
	str	w8, [x0, x25]
	add	x25, x25, #4
	cmp	x25, #24
	b.eq	LBB0_40
LBB0_34:                                ;   Parent Loop BB0_25 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	x0, [x29, #-96]                 ; 8-byte Folded Reload
	mov	x1, x23
	bl	_get_sbits
	cbz	w26, LBB0_32
; %bb.35:                               ;   in Loop: Header=BB0_34 Depth=2
	cmp	w0, w22
	b.ne	LBB0_39
; %bb.36:                               ;   in Loop: Header=BB0_34 Depth=2
	ldur	x0, [x29, #-96]                 ; 8-byte Folded Reload
	ldur	w1, [x29, #-104]                ; 4-byte Folded Reload
	bl	_get_sbits
	ldur	w8, [x29, #-100]                ; 4-byte Folded Reload
	lsl	w8, w0, w8
	ldur	w9, [x29, #-108]                ; 4-byte Folded Reload
	tbz	w8, #31, LBB0_38
; %bb.37:                               ;   in Loop: Header=BB0_34 Depth=2
Lloh34:
	adrp	x9, _ff_eac3_gaq_remap_2_4_b@GOTPAGE
Lloh35:
	ldr	x9, [x9, _ff_eac3_gaq_remap_2_4_b@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	ldr	x9, [x9, x27, lsl #3]
	ldr	w9, [x9, x19, lsl #2]
	lsl	w9, w9, #8
LBB0_38:                                ;   in Loop: Header=BB0_34 Depth=2
Lloh37:
	adrp	x10, _ff_eac3_gaq_remap_2_4_a@GOTPAGE
Lloh38:
	ldr	x10, [x10, _ff_eac3_gaq_remap_2_4_a@GOTPAGEOFF]
Lloh39:
	ldr	x10, [x10]
	ldr	x10, [x10, x27, lsl #3]
	ldr	w10, [x10, x19, lsl #2]
	mul	w10, w10, w8
	add	w8, w9, w8
	add	w8, w8, w10, asr #15
	b	LBB0_33
LBB0_39:                                ;   in Loop: Header=BB0_34 Depth=2
	lsl	w8, w0, w21
	b	LBB0_33
LBB0_40:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	x26, x24
	ldur	w25, [x29, #-132]               ; 4-byte Folded Reload
	mov	x22, x20
Lloh40:
	adrp	x27, _ff_eac3_bits_vs_hebap@GOTPAGE
Lloh41:
	ldr	x27, [x27, _ff_eac3_bits_vs_hebap@GOTPAGEOFF]
	b	LBB0_24
LBB0_41:
	ldur	x8, [x29, #-88]
Lloh42:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh43:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_43
; %bb.42:
	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_43:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_AC3_MAX_COEFS,4,2              ; @AC3_MAX_COEFS
	.comm	_EAC3_GAQ_12,4,2                ; @EAC3_GAQ_12
	.comm	_EAC3_GAQ_14,4,2                ; @EAC3_GAQ_14
	.comm	_EAC3_GAQ_124,4,2               ; @EAC3_GAQ_124
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GAQ gain group code out-of-range\n"

	.comm	_ff_ac3_ungroup_3_in_5_bits_tab,8,3 ; @ff_ac3_ungroup_3_in_5_bits_tab
	.comm	_ff_eac3_bits_vs_hebap,8,3      ; @ff_eac3_bits_vs_hebap
	.comm	_ff_eac3_mantissa_vq,8,3        ; @ff_eac3_mantissa_vq
	.comm	_EAC3_GAQ_NO,4,2                ; @EAC3_GAQ_NO
	.comm	_ff_eac3_gaq_remap_2_4_b,8,3    ; @ff_eac3_gaq_remap_2_4_b
	.comm	_ff_eac3_gaq_remap_2_4_a,8,3    ; @ff_eac3_gaq_remap_2_4_a
	.comm	_ff_eac3_gaq_remap_1,8,3        ; @ff_eac3_gaq_remap_1
	.no_dead_strip	_ff_eac3_decode_transform_coeffs_aht_ch
.subsections_via_symbols
