	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function parse_frame_header
LCPI0_0:
	.long	0                               ## 0x0
	.long	2                               ## 0x2
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_parse_frame_header:                    ## @parse_frame_header
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	addq	$216, %rdi
	leaq	-88(%rbp), %rsi
	callq	_ff_ac3_parse_header
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	movl	-12(%rbp), %eax
	movl	%eax, 204(%rbx)
	movl	-88(%rbp), %eax
	movl	%eax, (%rbx)
	movl	-16(%rbp), %ecx
	movl	%ecx, 212(%rbx)
	movl	-20(%rbp), %ecx
	movl	%ecx, 208(%rbx)
	movq	-80(%rbp), %rcx
	movq	%rcx, 8(%rbx)
	movl	-24(%rbp), %edx
	movl	%edx, 200(%rbx)
	movl	-28(%rbp), %edx
	movl	%edx, 196(%rbx)
	movl	-32(%rbp), %edx
	movl	%edx, 192(%rbx)
	movq	-72(%rbp), %rdx
	movq	%rdx, 16(%rbx)
	subq	%rcx, %rdx
	movq	%rdx, 24(%rbx)
	leaq	1(%rdx), %rsi
	movq	%rsi, 32(%rbx)
	movq	-40(%rbp), %rsi
	movq	%rsi, 184(%rbx)
	addl	%esi, 180(%rbx)
	movq	_AC3_DMIXMOD_NOTINDICATED@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, 176(%rbx)
	movl	-44(%rbp), %esi
	movl	%esi, 172(%rbx)
	movl	$4, 40(%rbx)
	movl	-48(%rbp), %esi
	movl	%esi, 168(%rbx)
	movl	$4, 44(%rbx)
	movq	$0, 160(%rbx)
	movups	-64(%rbp), %xmm0
	movups	%xmm0, 144(%rbx)
	movq	_AC3_DSUREXMOD_NOTINDICATED@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, 140(%rbx)
	movq	_AC3_DHEADPHONMOD_NOTINDICATED@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, 136(%rbx)
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	movq	128(%rbx), %rax
	movq	$0, 8(%rax,%rdx,8)
	movq	32(%rbx), %rax
	movq	48(%rbx), %rcx
	movl	$7, (%rcx,%rax,4)
	movq	56(%rbx), %rcx
	movl	$2, (%rcx,%rax,4)
	movq	120(%rbx), %rcx
	movq	$0, (%rcx,%rax,8)
	movl	(%rbx), %eax
LBB0_3:
	cmpl	$10, %eax
	jg	LBB0_5
## %bb.4:
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,2,1,1]
	movups	%xmm0, 64(%rbx)
	movl	$1, 80(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 104(%rbx)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 84(%rbx)
	movl	96(%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%rbx, %rdi
	callq	_ac3_parse_header
	jmp	LBB0_8
LBB0_5:
	movq	_CONFIG_EAC3_DECODER@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.6:
	movl	$1, 64(%rbx)
	movq	%rbx, %rdi
	callq	_ff_eac3_parse_header
	jmp	LBB0_8
LBB0_7:
	movl	92(%rbx), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_8:
	addq	$88, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AC3_DMIXMOD_NOTINDICATED,4,2   ## @AC3_DMIXMOD_NOTINDICATED
	.comm	_AC3_DSUREXMOD_NOTINDICATED,4,2 ## @AC3_DSUREXMOD_NOTINDICATED
	.comm	_AC3_DHEADPHONMOD_NOTINDICATED,4,2 ## @AC3_DHEADPHONMOD_NOTINDICATED
	.comm	_CONFIG_EAC3_DECODER,8,3        ## @CONFIG_EAC3_DECODER
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"E-AC-3 support not compiled in\n"

	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.no_dead_strip	_parse_frame_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function parse_frame_header
lCPI0_0:
	.long	0                               ; 0x0
	.long	2                               ; 0x2
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_parse_frame_header:                    ; @parse_frame_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x0, x0, #216
	mov	x1, sp
	bl	_ff_ac3_parse_header
	cbnz	w0, LBB0_8
; %bb.1:
	ldr	w9, [sp, #76]
	ldr	w8, [sp]
	str	w8, [x19]
	ldur	d0, [sp, #68]
	str	d0, [x19, #208]
	ldr	w10, [sp, #64]
	stp	w10, w9, [x19, #200]
	ldr	d0, [sp, #56]
	str	d0, [x19, #192]
	ldp	x10, x9, [sp, #8]
	stp	x10, x9, [x19, #8]
	sub	x11, x9, x10
	add	x9, x11, #1
	stp	x11, x9, [x19, #24]
	ldr	x11, [sp, #48]
	str	x11, [x19, #184]
	ldr	w12, [x19, #180]
	add	w11, w12, w11
Lloh0:
	adrp	x12, _AC3_DMIXMOD_NOTINDICATED@GOTPAGE
Lloh1:
	ldr	x12, [x12, _AC3_DMIXMOD_NOTINDICATED@GOTPAGEOFF]
Lloh2:
	ldr	w12, [x12]
	stp	w12, w11, [x19, #176]
	ldr	d0, [sp, #40]
	str	d0, [x19, #168]
	movi.2s	v0, #4
	str	d0, [x19, #40]
	str	xzr, [x19, #160]
	ldur	q0, [sp, #24]
	str	q0, [x19, #144]
Lloh3:
	adrp	x11, _AC3_DSUREXMOD_NOTINDICATED@GOTPAGE
Lloh4:
	ldr	x11, [x11, _AC3_DSUREXMOD_NOTINDICATED@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
Lloh6:
	adrp	x12, _AC3_DHEADPHONMOD_NOTINDICATED@GOTPAGE
Lloh7:
	ldr	x12, [x12, _AC3_DHEADPHONMOD_NOTINDICATED@GOTPAGEOFF]
Lloh8:
	ldr	w12, [x12]
	stp	w12, w11, [x19, #136]
	cbz	x10, LBB0_3
; %bb.2:
	ldr	x8, [x19, #128]
	str	xzr, [x8, x9, lsl #3]
	ldr	x8, [x19, #48]
	ldr	x9, [x19, #32]
	lsl	x10, x9, #2
	mov	w11, #7
	str	w11, [x8, x10]
	ldr	x8, [x19, #56]
	mov	w11, #2
	str	w11, [x8, x10]
	ldr	x8, [x19, #120]
	str	xzr, [x8, x9, lsl #3]
	ldr	w8, [x19]
LBB0_3:
	cmp	w8, #10
	b.gt	LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, lCPI0_0@PAGE
Lloh10:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [x19, #64]
	stp	xzr, xzr, [x19, #104]
	movi.2s	v0, #1
	str	d0, [x19, #80]
	mov	w8, #1
	str	w8, [x19, #88]
	ldr	w0, [x19, #96]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x19
	bl	_ac3_parse_header
	b	LBB0_8
LBB0_5:
Lloh11:
	adrp	x8, _CONFIG_EAC3_DECODER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CONFIG_EAC3_DECODER@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
	mov	w8, #1
	str	w8, [x19, #64]
	mov	x0, x19
	bl	_ff_eac3_parse_header
	b	LBB0_8
LBB0_7:
	ldr	w0, [x19, #92]
Lloh14:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x2, l_.str@PAGE
Lloh18:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
Lloh19:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_8:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_AC3_DMIXMOD_NOTINDICATED,4,2   ; @AC3_DMIXMOD_NOTINDICATED
	.comm	_AC3_DSUREXMOD_NOTINDICATED,4,2 ; @AC3_DSUREXMOD_NOTINDICATED
	.comm	_AC3_DHEADPHONMOD_NOTINDICATED,4,2 ; @AC3_DHEADPHONMOD_NOTINDICATED
	.comm	_CONFIG_EAC3_DECODER,8,3        ; @CONFIG_EAC3_DECODER
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"E-AC-3 support not compiled in\n"

	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.no_dead_strip	_parse_frame_header
.subsections_via_symbols
