	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_aac_ac3_parse               ## -- Begin function ff_aac_ac3_parse
	.p2align	4, 0x90
_ff_aac_ac3_parse:                      ## @ff_aac_ac3_parse
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movq	%r8, -96(%rbp)
	movl	%r9d, -44(%rbp)
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movq	8(%rdi), %r12
	leaq	64(%r12), %rdi
	movq	_END_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%r12), %r15d
	cmpl	%r9d, %r15d
	jle	LBB0_2
## %bb.1:
	movl	(%rax), %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_6
LBB0_2:
	leaq	56(%r12), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	testl	%r15d, %r15d
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	je	LBB0_5
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r13d, -68(%rbp)                ## 4-byte Spill
	cmpl	%r9d, %r15d
	jge	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r15d, %r13
	movslq	%r9d, %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	incl	%r15d
	movl	%r15d, %ebx
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	4(%r12), %edi
	shll	$8, %edi
	movq	%r8, %r14
	addl	(%r8,%r13,4), %edi
	movl	%edi, 4(%r12)
	movq	%r12, %rsi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	leaq	-72(%rbp), %rcx
	callq	*8(%r12)
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	incq	%r13
	incl	%ebx
	cmpq	-120(%rbp), %r13                ## 8-byte Folded Reload
	movq	%r14, %r8
	jl	LBB0_10
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	jle	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r15d
	movq	%r14, %r8
	movl	$0, 4(%r12)
	movl	16(%r12), %eax
	movl	%r15d, (%r12)
	cmpl	$0, -72(%rbp)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %ecx
	subl	%eax, %ecx
	movslq	%ecx, %rcx
	addq	(%rdi), %rcx
	jg	LBB0_18
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	subl	%eax, %r15d
	addl	%ebx, %r15d
	movl	%r15d, (%r12)
	movl	-44(%rbp), %r9d
	movl	$1, %r13d
	cmpl	%r9d, %r15d
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jle	LBB0_3
## %bb.17:
	movq	_END_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	$1, %r13d
	jmp	LBB0_6
LBB0_13:
	movq	_END_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	-68(%rbp), %r13d                ## 4-byte Reload
LBB0_6:
	leaq	-96(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movl	%r15d, %esi
	callq	_ff_combine_frame
	testq	%rax, %rax
	js	LBB0_7
## %bb.21:
	movq	-96(%rbp), %rax
	movq	%rax, (%rbx)
	movl	-44(%rbp), %eax
	movl	%eax, (%r14)
	movq	24(%r12), %rax
	testq	%rax, %rax
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	je	LBB0_23
## %bb.22:
	movq	%rax, (%rsi)
LBB0_23:
	testl	%r13d, %r13d
	je	LBB0_31
## %bb.24:
	movq	(%rsi), %rax
	movq	_AV_CODEC_ID_AAC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_26
## %bb.25:
	movq	_AV_CODEC_ID_EAC3@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_30
	jmp	LBB0_31
LBB0_7:
	movl	(%r12), %edi
	movl	-44(%rbp), %esi
	callq	_FFMIN
	subl	%eax, (%r12)
	movq	$0, (%rbx)
	movl	$0, (%r14)
	movl	-44(%rbp), %r15d
	jmp	LBB0_31
LBB0_26:
	movl	52(%r12), %ecx
	movl	%ecx, 24(%rsi)
	movq	_AV_CODEC_ID_EAC3@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	je	LBB0_28
## %bb.27:
	movl	48(%r12), %edx
	movl	%edx, 20(%rsi)
	movl	44(%r12), %edx
	movl	%edx, 16(%rsi)
LBB0_28:
	movl	40(%r12), %edx
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	%edx, (%rdi)
	movl	36(%r12), %edx
	movl	%edx, 12(%rsi)
	cmpq	%rcx, %rax
	je	LBB0_31
LBB0_30:
	movl	32(%r12), %eax
	movl	%eax, 8(%rsi)
LBB0_31:
	movl	%r15d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	$0, (%r12)
	jmp	LBB0_6
LBB0_18:
	movl	%ebx, %ecx
	subl	%eax, %ecx
	movl	$1, %r13d
	jns	LBB0_19
## %bb.20:
	subl	%eax, %r15d
	addl	%ebx, %r15d
	movl	%r15d, (%r12)
LBB0_19:
	movl	%ecx, %r15d
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_END_NOT_FOUND,4,2              ## @END_NOT_FOUND
	.comm	_AV_CODEC_ID_AAC,8,3            ## @AV_CODEC_ID_AAC
	.comm	_AV_CODEC_ID_EAC3,8,3           ## @AV_CODEC_ID_EAC3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_aac_ac3_parse               ; -- Begin function ff_aac_ac3_parse
	.p2align	2
_ff_aac_ac3_parse:                      ; @ff_aac_ac3_parse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
                                        ; kill: def $w5 killed $w5 def $x5
	mov	x23, x3
	mov	x27, x2
	mov	x20, x1
	mov	x21, x0
	str	x4, [sp, #40]
	str	w5, [sp, #36]
	ldr	x19, [x0, #8]
	mov	x25, x19
	ldr	w24, [x25], #64
Lloh0:
	adrp	x8, _END_NOT_FOUND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _END_NOT_FOUND@GOTPAGEOFF]
	cmp	w24, w5
	b.le	LBB0_2
; %bb.1:
	mov	w28, #0
	ldr	w24, [x8]
	b	LBB0_16
LBB0_2:
	mov	x26, x4
	stp	x27, x23, [sp, #8]              ; 16-byte Folded Spill
	str	x21, [sp, #24]                  ; 8-byte Folded Spill
	mov	w28, #0
	add	x27, x19, #56
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	cbz	w24, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x27]
	cbz	w8, LBB0_28
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w24, w5
	b.ge	LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x23, w24
	sxtw	x21, w5
	add	w22, w24, #1
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x19, #4]
	ldr	w9, [x26, x23, lsl #2]
	add	w0, w9, w8, lsl #8
	str	w0, [x19, #4]
	ldr	x8, [x19, #8]
	add	x3, sp, #32
	mov	x1, x19
	mov	x2, x27
	blr	x8
	cbnz	w0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x23, x23, #1
	add	w22, w22, #1
	cmp	x23, x21
	b.lt	LBB0_7
	b	LBB0_14
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #0
	b.le	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19, #16]
	stp	w0, wzr, [x19]
	ldr	w9, [sp, #32]
	cbz	w9, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	sub	w9, w22, w8
	ldr	x10, [x25]
	add	x9, x10, w9, sxtw
	cmp	x9, #0
	b.gt	LBB0_29
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w8, w0, w8
	add	w24, w8, w22
	str	w24, [x19]
	ldr	w5, [sp, #36]
	mov	w28, #1
	cmp	w24, w5
	b.le	LBB0_3
; %bb.13:
Lloh2:
	adrp	x8, _END_NOT_FOUND@GOTPAGE
Lloh3:
	ldr	x8, [x8, _END_NOT_FOUND@GOTPAGEOFF]
Lloh4:
	ldr	w24, [x8]
	mov	w28, #1
	b	LBB0_15
LBB0_14:
Lloh5:
	adrp	x8, _END_NOT_FOUND@GOTPAGE
Lloh6:
	ldr	x8, [x8, _END_NOT_FOUND@GOTPAGEOFF]
Lloh7:
	ldr	w24, [x8]
LBB0_15:
	ldp	x23, x21, [sp, #16]             ; 16-byte Folded Reload
	ldr	x27, [sp, #8]                   ; 8-byte Folded Reload
LBB0_16:
	add	x2, sp, #40
	add	x3, sp, #36
	mov	x0, x25
	mov	x1, x24
	bl	_ff_combine_frame
	tbnz	x0, #63, LBB0_22
; %bb.17:
	ldr	x8, [sp, #40]
	str	x8, [x27]
	ldr	w8, [sp, #36]
	str	w8, [x23]
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_19
; %bb.18:
	str	x8, [x20]
LBB0_19:
	cbz	w28, LBB0_27
; %bb.20:
	ldr	x8, [x20]
Lloh8:
	adrp	x9, _AV_CODEC_ID_AAC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AV_CODEC_ID_AAC@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.21:
Lloh11:
	adrp	x9, _AV_CODEC_ID_EAC3@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AV_CODEC_ID_EAC3@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_26
	b	LBB0_27
LBB0_22:
	ldr	w0, [x19]
	ldr	w1, [sp, #36]
	bl	_FFMIN
	ldr	w8, [x19]
	sub	w8, w8, w0
	str	w8, [x19]
	str	xzr, [x27]
	str	wzr, [x23]
	ldr	w24, [sp, #36]
	b	LBB0_27
LBB0_23:
	ldr	w9, [x19, #52]
	str	w9, [x20, #24]
Lloh14:
	adrp	x9, _AV_CODEC_ID_EAC3@GOTPAGE
Lloh15:
	ldr	x9, [x9, _AV_CODEC_ID_EAC3@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_25
; %bb.24:
	ldur	d0, [x19, #44]
	str	d0, [x20, #16]
LBB0_25:
	ldr	w10, [x19, #40]
	str	w10, [x21]
	ldr	w10, [x19, #36]
	str	w10, [x20, #12]
	cmp	x8, x9
	b.eq	LBB0_27
LBB0_26:
	ldr	w8, [x19, #32]
	str	w8, [x20, #8]
LBB0_27:
	mov	x0, x24
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_28:
	str	wzr, [x19]
	b	LBB0_15
LBB0_29:
	subs	w24, w22, w8
	ldp	x23, x21, [sp, #16]             ; 16-byte Folded Reload
	ldr	x27, [sp, #8]                   ; 8-byte Folded Reload
	b.pl	LBB0_31
; %bb.30:
	sub	w8, w0, w8
	add	w8, w8, w22
	str	w8, [x19]
LBB0_31:
	mov	w28, #1
	b	LBB0_16
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_END_NOT_FOUND,4,2              ; @END_NOT_FOUND
	.comm	_AV_CODEC_ID_AAC,8,3            ; @AV_CODEC_ID_AAC
	.comm	_AV_CODEC_ID_EAC3,8,3           ; @AV_CODEC_ID_EAC3
.subsections_via_symbols
