	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_ac3_group_exponents         ## -- Begin function ff_ac3_group_exponents
	.p2align	4, 0x90
_ff_ac3_group_exponents:                ## @ff_ac3_group_exponents
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %r8d
	testl	%r8d, %r8d
	jle	LBB0_11
## %bb.1:
	movl	4(%rdi), %eax
	xorl	%esi, %esi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rdi), %r8d
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	movslq	%r8d, %rdx
	cmpq	%rdx, %rsi
	jge	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##       Child Loop BB0_7 Depth 3
	movq	24(%rdi), %rdx
	movq	%rsi, %rcx
	shlq	$5, %rcx
	movl	24(%rdx,%rcx), %r9d
	xorl	%ebx, %ebx
	testl	%r9d, %r9d
	sete	%bl
	cmpl	%ebx, %eax
	jl	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r8d, %r8d
	testl	%r9d, %r9d
	sete	%r8b
	leaq	(%rdx,%rcx), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rdx,%rcx), %r9
	addq	$16, %r9
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=2
	leaq	1(%r8), %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movslq	4(%rdi), %rax
	cmpq	%rax, %r8
	movq	%rcx, %r8
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	jge	LBB0_9
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_7 Depth 3
	movq	8(%rdi), %rax
	movq	(%rax,%r8,8), %rax
	movslq	(%rax,%rsi,4), %rax
	movq	_EXP_REUSE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	_CPL_CH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%esi, %esi
	cmpq	%rcx, %r8
	sete	%sil
	movq	_EXP_D45@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_exponent_group_tab@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	(%rdx,%rsi,8), %rdx
	movq	-8(%rdx,%rax,8), %rdx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rdi
	movq	(%rdi,%r8,8), %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %rbx
	movq	(%rbx,%r8,8), %r12
	subq	%r12, %rdi
	movl	(%rdx,%rdi,4), %ebx
	movq	(%r9), %rdx
	movslq	(%rdx,%r8,4), %rdx
	subq	%rsi, %r12
	movl	(%r12,%rdx), %edi
	movq	-8(%r9), %rsi
	movq	(%rsi,%r8,8), %rsi
	movl	%edi, (%rsi)
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	testl	%ebx, %ebx
	jle	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	addq	%rdx, %r12
	addq	$4, %r12
	xorl	%edx, %edx
	cmpl	%ecx, %eax
	sete	%dl
	addl	%eax, %edx
	movslq	%edx, %rax
	incq	-64(%rbp)                       ## 8-byte Folded Spill
	shlq	$2, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	$1, %r15d
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%r12), %ebx
	movl	%ebx, %eax
	subl	%edi, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	addl	$2, %eax
	xorl	%edi, %edi
	cmpl	$5, %eax
	setb	%dil
	callq	_av_assert2
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movl	(%r12,%r13), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	addq	%r13, %r12
	movl	%eax, %r14d
	subl	%ebx, %r14d
	leal	2(%r14), %eax
	xorl	%edi, %edi
	cmpl	$5, %eax
	setb	%dil
	callq	_av_assert2
	movl	(%r13,%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	addq	%r13, %r12
	movl	%eax, %ebx
	subl	-48(%rbp), %ebx                 ## 4-byte Folded Reload
	leal	2(%rbx), %eax
	xorl	%edi, %edi
	cmpl	$5, %eax
	setb	%dil
	callq	_av_assert2
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	-88(%rbp), %r9                  ## 8-byte Reload
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	movq	-112(%rbp), %rax                ## 8-byte Reload
	leal	(%rax,%rax,4), %eax
	addl	%r14d, %eax
	leal	(%rax,%rax,4), %eax
	addl	%ebx, %eax
	addl	$62, %eax
	movq	-8(%r9), %rcx
	movq	(%rcx,%r8,8), %rcx
	movl	%eax, (%rcx,%r15,4)
	incq	%r15
	addq	%r13, %r12
	cmpq	%r15, -64(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_7
	jmp	LBB0_8
LBB0_11:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXP_REUSE,4,2                  ## @EXP_REUSE
	.comm	_CPL_CH,4,2                     ## @CPL_CH
	.comm	_EXP_D45,4,2                    ## @EXP_D45
	.comm	_exponent_group_tab,8,3         ## @exponent_group_tab
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_ac3_group_exponents         ; -- Begin function ff_ac3_group_exponents
	.p2align	2
_ff_ac3_group_exponents:                ; @ff_ac3_group_exponents
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	ldr	w9, [x0]
	cmp	w9, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x12, #0
	ldr	w8, [x0, #4]
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x0]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x12, x12, #1
	cmp	x12, w9, sxtw
	b.ge	LBB0_11
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_10 Depth 3
	ldr	x10, [x0, #24]
	add	x13, x10, x12, lsl #5
	ldr	w10, [x13, #24]
	cmp	w10, #0
	cset	w11, eq
	cmp	w8, w11
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w10, #0
	cset	w26, eq
	add	x8, x13, #16
	stp	x8, x13, [sp]                   ; 16-byte Folded Spill
	add	x28, x13, #8
	str	x12, [sp, #16]                  ; 8-byte Folded Spill
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x9, x26, #1
	ldp	x12, x0, [sp, #16]              ; 16-byte Folded Reload
	ldrsw	x8, [x0, #4]
	cmp	x26, x8
	mov	x26, x9
	b.ge	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_10 Depth 3
	ldr	x8, [x0, #8]
	ldr	x8, [x8, x26, lsl #3]
	ldr	w8, [x8, x12, lsl #2]
Lloh0:
	adrp	x9, _EXP_REUSE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EXP_REUSE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
Lloh3:
	adrp	x9, _CPL_CH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CPL_CH@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	x26, x9
	cset	w11, eq
Lloh6:
	adrp	x9, _exponent_group_tab@GOTPAGE
Lloh7:
	ldr	x9, [x9, _exponent_group_tab@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	x9, [x9, w11, uxtw #3]
	sub	w10, w8, #1
	ldr	x9, [x9, w10, sxtw #3]
	ldp	x14, x10, [sp]                  ; 16-byte Folded Reload
	ldr	x10, [x10]
	lsl	x12, x26, #3
	ldr	x10, [x10, x12]
	ldr	x13, [sp, #24]                  ; 8-byte Folded Reload
	ldr	x13, [x13, #16]
	ldr	x13, [x13, x12]
	sub	x10, x10, x13
	ldr	w9, [x9, x10, lsl #2]
Lloh9:
	adrp	x10, _EXP_D45@GOTPAGE
Lloh10:
	ldr	x10, [x10, _EXP_D45@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	ldr	x14, [x14]
	ldrsw	x14, [x14, x26, lsl #2]
	sub	x11, x13, x11
	add	x11, x11, x14
	ldr	w21, [x11]
	ldr	x13, [x28]
	ldr	x12, [x13, x12]
	str	w21, [x12]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x27, x11, #4
	cmp	w8, w10
	cinc	w8, w8, eq
	lsl	x9, x9, #2
	add	x22, x9, #4
	sbfiz	x23, x8, #2, #32
	mov	w24, #4
LBB0_10:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w25, [x27]
	sub	w20, w25, w21
	add	w8, w20, #2
	cmp	w8, #5
	cset	w0, lo
	bl	_av_assert2
	add	x21, x27, x23
	ldr	w27, [x21]
	sub	w25, w27, w25
	add	w8, w25, #2
	cmp	w8, #5
	cset	w0, lo
	bl	_av_assert2
	add	x19, x21, x23
	ldr	w21, [x19]
	sub	w27, w21, w27
	add	w8, w27, #2
	cmp	w8, #5
	cset	w0, lo
	bl	_av_assert2
	add	w8, w20, w20, lsl #2
	add	w8, w25, w8
	add	w8, w8, w8, lsl #2
	add	w8, w27, w8
	ldr	x9, [x28]
	ldr	x9, [x9, x26, lsl #3]
	add	w8, w8, #62
	str	w8, [x9, x24]
	add	x24, x24, #4
	add	x27, x19, x23
	cmp	x22, x24
	b.ne	LBB0_10
	b	LBB0_6
LBB0_11:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EXP_REUSE,4,2                  ; @EXP_REUSE
	.comm	_CPL_CH,4,2                     ; @CPL_CH
	.comm	_EXP_D45,4,2                    ; @EXP_D45
	.comm	_exponent_group_tab,8,3         ; @exponent_group_tab
.subsections_via_symbols
