	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function build_frame_code
LCPI0_0:
	.long	4294967294                      ## 0xfffffffe
	.long	4294967295                      ## 0xffffffff
	.long	1                               ## 0x1
	.long	3                               ## 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_build_frame_code:                      ## @build_frame_code
	.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	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	16(%rdi), %r9
	movl	(%rdi), %edx
	movq	(%r9), %rsi
	movq	_FLAG_CODED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rsi)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 36(%rsi)
	cmpl	$3, %edx
	jl	LBB0_2
## %bb.1:
	movq	_FLAG_STREAM_ID@GOTPCREL(%rip), %rax
	movq	_FLAG_SIZE_MSB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_FLAG_CODED_PTS@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 64(%rsi)
	movl	$1, 68(%rsi)
	movl	$3, %r8d
	jmp	LBB0_3
LBB0_2:
	movl	$2, %r8d
	testl	%edx, %edx
	jle	LBB0_33
LBB0_3:
	movl	$254, %eax
	subl	%r8d, %eax
	movl	%eax, -200(%rbp)                ## 4-byte Spill
	xorl	%ebx, %ebx
	movl	%edx, -196(%rbp)                ## 4-byte Spill
	movl	%edx, %ecx
	movq	%rdi, -152(%rbp)                ## 8-byte Spill
	movq	%r9, -128(%rbp)                 ## 8-byte Spill
	movl	%r8d, -164(%rbp)                ## 4-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movslq	(%rdi), %rcx
	movq	-208(%rbp), %rax                ## 8-byte Reload
	movq	%rax, %rbx
	cmpq	%rcx, %rax
	movl	-164(%rbp), %r8d                ## 4-byte Reload
	jge	LBB0_32
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_25 Depth 2
                                        ##       Child Loop BB0_27 Depth 3
	movl	-200(%rbp), %esi                ## 4-byte Reload
	movl	%esi, %eax
	imull	%ebx, %eax
	cltd
	idivl	%ecx
	movl	%eax, %r12d
	addl	%r8d, %r12d
	leaq	1(%rbx), %rax
	movq	%rax, -208(%rbp)                ## 8-byte Spill
                                        ## kill: def $eax killed $eax killed $rax
	imull	%esi, %eax
	cltd
	idivl	%ecx
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movq	8(%rdi), %rax
	movq	(%rax,%rbx,8), %rax
	movq	8(%rax), %rdi
	movq	(%rdi), %rdx
	movq	_AVMEDIA_TYPE_AUDIO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$0, -100(%rbp)                  ## 4-byte Folded Spill
	movq	%rdx, -160(%rbp)                ## 8-byte Spill
	movq	%rcx, -184(%rbp)                ## 8-byte Spill
	cmpq	%rcx, %rdx
	sete	%r14b
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	jne	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	xorl	%esi, %esi
	callq	_av_get_audio_frame_duration2
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	8(%rsi), %rcx
	testl	%eax, %eax
	movl	$64, %edi
	cmovnel	%eax, %edi
	movq	_AV_CODEC_ID_VORBIS@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	cmovnel	%eax, %edi
	movq	%rdi, -144(%rbp)                ## 8-byte Spill
	testl	%edi, %edi
	sete	%r15b
	cmpl	$2, -196(%rbp)                  ## 4-byte Folded Reload
	jle	LBB0_7
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-128(%rbp), %r9                 ## 8-byte Reload
	movq	_FLAG_KEY@GOTPCREL(%rip), %r8
	movq	_FLAG_SIZE_MSB@GOTPCREL(%rip), %rdi
	movq	-136(%rbp), %r11                ## 8-byte Reload
	movq	-160(%rbp), %rdx                ## 8-byte Reload
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rax), %edi
	callq	_av_inv_q
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movq	8(%rcx), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_av_div_q
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	%rax, %rdx
	shrq	$32, %rdx
	testl	%edx, %edx
	movl	$0, %ecx
	cmovsl	%ecx, %edx
	cmpl	$1, %eax
	cmovnel	%ecx, %edx
	movq	%rdx, -144(%rbp)                ## 8-byte Spill
	testl	%edx, %edx
	sete	%r15b
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%r15d, %r13d
	movl	%r14d, %r15d
	movq	-128(%rbp), %r9                 ## 8-byte Reload
	movq	%r12, %rax
	movq	(%r9), %r12
	movq	%rax, %r14
	movslq	%eax, %rbx
	shlq	$5, %rbx
	movl	$0, (%r12,%rbx)
	movq	_FLAG_SIZE_MSB@GOTPCREL(%rip), %rdi
	movl	(%rdi), %eax
	movq	_FLAG_CODED_PTS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r12,%rbx)
	movq	-136(%rbp), %r11                ## 8-byte Reload
	movl	%r11d, 12(%r12,%rbx)
	movl	$1, 4(%r12,%rbx)
	movq	-160(%rbp), %rdx                ## 8-byte Reload
	cmpq	-184(%rbp), %rdx                ## 8-byte Folded Reload
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movl	$-1, %edx
	xorl	%ecx, %ecx
	callq	_find_header_idx
	movq	-160(%rbp), %rdx                ## 8-byte Reload
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	-136(%rbp), %r11                ## 8-byte Reload
	movq	_FLAG_SIZE_MSB@GOTPCREL(%rip), %rdi
	movq	-128(%rbp), %r9                 ## 8-byte Reload
	movq	%rax, 24(%r12,%rbx)
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %r12
	incl	%r12d
	movq	_FLAG_KEY@GOTPCREL(%rip), %r8
	movl	%r15d, %r14d
	movl	%r13d, %r15d
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-100(%rbp), %eax                ## 4-byte Reload
	movb	%r14b, %al
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	movq	(%r9), %r14
	movslq	%r12d, %rbx
	movl	(%r8), %eax
	shlq	$5, %rbx
	movl	%eax, (%r14,%rbx)
	orl	(%rdi), %eax
	movq	_FLAG_CODED_PTS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r14,%rbx)
	movl	%r11d, 12(%r14,%rbx)
	movl	$1, 4(%r14,%rbx)
	cmpq	-184(%rbp), %rdx                ## 8-byte Folded Reload
	jne	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-152(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	movl	$-1, %edx
	movl	$1, %ecx
	callq	_find_header_idx
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	%rax, 24(%r14,%rbx)
	leal	1(%r12), %ebx
	testb	%r15b, %r15b
	movl	$1, %eax
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	cmovnel	%eax, %ecx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	movl	16(%rsi), %r14d
	testl	%r14d, %r14d
	movq	%r13, %rdi
	movq	%r12, -176(%rbp)                ## 8-byte Spill
	jg	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rdi, %r14
	movq	%rsi, %rdi
	xorl	%esi, %esi
	callq	_av_get_audio_frame_duration2
	movq	%r14, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	imull	32(%rsi), %eax
	movl	20(%rsi), %ecx
	shll	$3, %ecx
	cltd
	idivl	%ecx
	movl	%eax, %r14d
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	leal	2(%r14), %r13d
	movslq	%ebx, %rbx
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %r12
	movq	_FLAG_KEY@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	shlq	$5, %rbx
	movl	%eax, (%r12,%rbx)
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movl	%eax, 12(%r12,%rbx)
	movl	%r13d, 4(%r12,%rbx)
	movl	%r13d, -120(%rbp)               ## 4-byte Spill
	movl	%r14d, 16(%r12,%rbx)
	movl	$0, 8(%r12,%rbx)
	movl	%r14d, %edx
	movl	-100(%rbp), %ecx                ## 4-byte Reload
	callq	_find_header_idx
	movq	%rax, 24(%r12,%rbx)
	movq	-128(%rbp), %r15                ## 8-byte Reload
	movq	(%r15), %r12
	movq	_FLAG_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx,%r12)
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movl	%eax, 44(%rbx,%r12)
	movl	%r13d, 36(%rbx,%r12)
	leal	1(%r14), %edx
	movl	%edx, -192(%rbp)                ## 4-byte Spill
	movl	%edx, 48(%rbx,%r12)
	movl	$0, 40(%rbx,%r12)
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movl	-100(%rbp), %r13d               ## 4-byte Reload
	movl	%r13d, %ecx
	callq	_find_header_idx
	movq	%rax, 56(%rbx,%r12)
	movq	-176(%rbp), %rax                ## 8-byte Reload
	addl	$3, %eax
	movslq	%eax, %rbx
	movq	(%r15), %r12
	movq	_FLAG_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$5, %rbx
	movl	%eax, (%r12,%rbx)
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movl	%eax, 12(%r12,%rbx)
	movl	-120(%rbp), %eax                ## 4-byte Reload
	movl	%eax, 4(%r12,%rbx)
	movl	%r14d, 16(%r12,%rbx)
	movq	-144(%rbp), %r15                ## 8-byte Reload
	movl	%r15d, 8(%r12,%rbx)
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movl	%r14d, %edx
	movl	%r13d, %ecx
	callq	_find_header_idx
	movq	%rax, 24(%r12,%rbx)
	movq	-128(%rbp), %r13                ## 8-byte Reload
	movq	(%r13), %r14
	movq	_FLAG_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx,%r14)
	movq	-136(%rbp), %r12                ## 8-byte Reload
	movl	%r12d, 44(%rbx,%r14)
	movl	-120(%rbp), %eax                ## 4-byte Reload
	movl	%eax, 36(%rbx,%r14)
	movl	-192(%rbp), %edx                ## 4-byte Reload
	movl	%edx, 48(%rbx,%r14)
	movl	%r15d, 40(%rbx,%r14)
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movl	-100(%rbp), %ecx                ## 4-byte Reload
	callq	_find_header_idx
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	%r12, %r11
	movq	_FLAG_KEY@GOTPCREL(%rip), %r8
	movq	%r13, %r9
	movq	%rax, 56(%rbx,%r14)
	movl	$5, %eax
	movq	_FLAG_SIZE_MSB@GOTPCREL(%rip), %rdi
	movq	-176(%rbp), %r12                ## 8-byte Reload
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	testb	%r15b, %r15b
	movl	$1, %eax
	movq	-144(%rbp), %r15                ## 8-byte Reload
	cmovnel	%eax, %r15d
	movq	(%r9), %rax
	movl	(%rdi), %ecx
	orl	(%r8), %ecx
	movl	%ecx, 32(%rbx,%rax)
	movl	%r11d, 44(%rbx,%rax)
	movl	$1, 36(%rbx,%rax)
	movl	%r15d, 40(%rbx,%rax)
	movl	$2, %eax
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-116(%rbp), %ecx                ## 4-byte Reload
	addl	-164(%rbp), %ecx                ## 4-byte Folded Reload
	movl	%ecx, -116(%rbp)                ## 4-byte Spill
	addl	%eax, %r12d
	cmpq	$0, 24(%rsi)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [4294967294,4294967295,1,3]
	movaps	%xmm0, -96(%rbp)
	movl	$4, -80(%rbp)
	movl	$5, %eax
	movl	$-2, %r13d
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rsi), %rax
	movq	_AV_CODEC_ID_VORBIS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	movabsq	$38654705666, %rax              ## imm = 0x900000002
	movq	%rax, -96(%rbp)
	movl	$16, -88(%rbp)
	movl	$3, %eax
	movl	$2, %r13d
	jmp	LBB0_22
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, -96(%rbp)
	movl	$1, %r13d
	movl	$1, %eax
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, -176(%rbp)                ## 8-byte Spill
	subl	%r12d, -116(%rbp)               ## 4-byte Folded Spill
	movl	%eax, %ecx
	xorl	%ebx, %ebx
	movq	%r15, -144(%rbp)                ## 8-byte Spill
	movq	%rcx, -216(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_25:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_27 Depth 3
	movl	-116(%rbp), %r14d               ## 4-byte Reload
	movl	%r14d, %eax
	imull	%ebx, %eax
	cltd
	idivl	%ecx
	movl	%eax, %r10d
	leaq	1(%rbx), %rax
	movq	%rax, -224(%rbp)                ## 8-byte Spill
                                        ## kill: def $eax killed $eax killed $rax
	imull	%r14d, %eax
	cltd
	idivl	%ecx
	imull	%r15d, %r13d
	movl	%r13d, -120(%rbp)               ## 4-byte Spill
	movl	%r13d, -96(%rbp,%rbx,4)
	cmpl	%r10d, %eax
	movq	-160(%rbp), %rcx                ## 8-byte Reload
	movq	-184(%rbp), %rdx                ## 8-byte Reload
	jle	LBB0_23
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=2
	movl	%eax, %r14d
	movq	-176(%rbp), %rax                ## 8-byte Reload
	addl	%eax, %r14d
	addl	%eax, %r10d
	movslq	%r14d, %rax
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	subl	%r10d, %r14d
	movslq	%r10d, %rbx
	movq	%rbx, %r13
	shlq	$5, %r13
	xorl	%r15d, %r15d
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_27 Depth=3
	addq	$32, %r13
	leaq	(%rbx,%r15), %rax
	incq	%rax
	incq	%r15
	cmpq	-192(%rbp), %rax                ## 8-byte Folded Reload
	jge	LBB0_23
LBB0_27:                                ##   Parent Loop BB0_5 Depth=1
                                        ##     Parent Loop BB0_25 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	xorl	%eax, %eax
	cmpq	%rdx, %rcx
	jne	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=3
	movl	(%r8), %eax
LBB0_29:                                ##   in Loop: Header=BB0_27 Depth=3
	movq	(%r9), %r12
	movl	%eax, (%r12,%r13)
	orl	(%rdi), %eax
	movl	%eax, (%r12,%r13)
	movl	%r11d, 12(%r12,%r13)
	movl	%r14d, 4(%r12,%r13)
	movl	%r15d, 16(%r12,%r13)
	movl	-120(%rbp), %eax                ## 4-byte Reload
	movl	%eax, 8(%r12,%r13)
	cmpq	%rdx, %rcx
	jne	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_27 Depth=3
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movl	$-1, %edx
	movl	-100(%rbp), %ecx                ## 4-byte Reload
	callq	_find_header_idx
	movq	-184(%rbp), %rdx                ## 8-byte Reload
	movq	-160(%rbp), %rcx                ## 8-byte Reload
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	-136(%rbp), %r11                ## 8-byte Reload
	movq	_FLAG_SIZE_MSB@GOTPCREL(%rip), %rdi
	movq	_FLAG_KEY@GOTPCREL(%rip), %r8
	movq	-128(%rbp), %r9                 ## 8-byte Reload
	movq	%rax, 24(%r12,%r13)
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_25 Depth=2
	movq	-216(%rbp), %rcx                ## 8-byte Reload
	movq	-224(%rbp), %rbx                ## 8-byte Reload
	cmpq	%rcx, %rbx
	je	LBB0_4
## %bb.24:                              ##   in Loop: Header=BB0_25 Depth=2
	movl	-96(%rbp,%rbx,4), %r13d
	movq	-144(%rbp), %r15                ## 8-byte Reload
	jmp	LBB0_25
LBB0_32:
	movq	(%r9), %rsi
LBB0_33:
	movq	%r9, %rbx
	leaq	2528(%rsi), %rdi
	addq	$2496, %rsi                     ## imm = 0x9C0
	movl	$5664, %edx                     ## imm = 0x1620
	callq	_memmove
	movq	_FLAG_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	movl	%eax, 2496(%rcx)
	movl	%eax, 8160(%rcx)
	movl	%eax, (%rcx)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_35
## %bb.34:
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_35:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAG_CODED,4,2                 ## @FLAG_CODED
	.comm	_FLAG_STREAM_ID,4,2             ## @FLAG_STREAM_ID
	.comm	_FLAG_SIZE_MSB,4,2              ## @FLAG_SIZE_MSB
	.comm	_FLAG_CODED_PTS,4,2             ## @FLAG_CODED_PTS
	.comm	_AVMEDIA_TYPE_AUDIO,8,3         ## @AVMEDIA_TYPE_AUDIO
	.comm	_AV_CODEC_ID_VORBIS,8,3         ## @AV_CODEC_ID_VORBIS
	.comm	_FLAG_KEY,4,2                   ## @FLAG_KEY
	.comm	_FLAG_INVALID,4,2               ## @FLAG_INVALID
	.no_dead_strip	_build_frame_code
.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 build_frame_code
lCPI0_0:
	.long	4294967294                      ; 0xfffffffe
	.long	4294967295                      ; 0xffffffff
	.long	1                               ; 0x1
	.long	3                               ; 0x3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_1:
	.long	2                               ; 0x2
	.long	9                               ; 0x9
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_build_frame_code:                      ; @build_frame_code
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #304
	.cfi_def_cfa_offset 304
	stp	d9, d8, [sp, #192]              ; 16-byte Folded Spill
	stp	x28, x27, [sp, #208]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #224]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #240]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #256]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #272]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #288]            ; 16-byte Folded Spill
	add	x29, sp, #288
	.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
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-112]
	ldr	x13, [x0, #16]
	ldr	w11, [x0]
	ldr	x8, [x13]
Lloh3:
	adrp	x9, _FLAG_CODED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FLAG_CODED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	str	w9, [x8, #32]
	movi.2s	v0, #1
	stur	d0, [x8, #36]
Lloh6:
	adrp	x10, _FLAG_SIZE_MSB@GOTPAGE
Lloh7:
	ldr	x10, [x10, _FLAG_SIZE_MSB@GOTPAGEOFF]
Lloh8:
	adrp	x21, _FLAG_CODED_PTS@GOTPAGE
Lloh9:
	ldr	x21, [x21, _FLAG_CODED_PTS@GOTPAGEOFF]
	cmp	w11, #3
	b.lt	LBB0_2
; %bb.1:
Lloh10:
	adrp	x9, _FLAG_STREAM_ID@GOTPAGE
Lloh11:
	ldr	x9, [x9, _FLAG_STREAM_ID@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	ldr	w10, [x10]
	orr	w9, w10, w9
	ldr	w10, [x21]
	orr	w9, w9, w10
	mov	w10, #1
	stp	w9, w10, [x8, #64]
	mov	w28, #3
	b	LBB0_4
LBB0_2:
	cmp	w11, #1
	b.lt	LBB0_31
; %bb.3:
	mov	w28, #2
LBB0_4:
	mov	x20, #0
	mov	w8, #254
	sub	w9, w8, w28
	mov	w24, #1
Lloh13:
	adrp	x8, lCPI0_1@PAGE
Lloh14:
	ldr	d8, [x8, lCPI0_1@PAGEOFF]
Lloh15:
	adrp	x8, lCPI0_0@PAGE
Lloh16:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [sp, #16]                   ; 16-byte Folded Spill
	str	w11, [sp, #12]                  ; 4-byte Folded Spill
	mov	x10, x11
	str	x23, [sp, #88]                  ; 8-byte Folded Spill
	str	x13, [sp, #112]                 ; 8-byte Folded Spill
	str	w28, [sp, #44]                  ; 4-byte Folded Spill
	str	w9, [sp, #56]                   ; 4-byte Folded Spill
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x23, [sp, #88]                  ; 8-byte Folded Reload
	ldrsw	x10, [x23]
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	mov	x20, x8
	cmp	x8, x10
Lloh17:
	adrp	x21, _FLAG_CODED_PTS@GOTPAGE
Lloh18:
	ldr	x21, [x21, _FLAG_CODED_PTS@GOTPAGEOFF]
	ldr	w28, [sp, #44]                  ; 4-byte Folded Reload
	ldr	w9, [sp, #56]                   ; 4-byte Folded Reload
	mov	w24, #1
	b.ge	LBB0_30
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_23 Depth 2
                                        ;       Child Loop BB0_26 Depth 3
	mul	w8, w9, w20
	str	x10, [sp, #72]                  ; 8-byte Folded Spill
	sdiv	w9, w8, w10
	ldr	x8, [x23, #8]
	ldr	x8, [x8, x20, lsl #3]
	add	w26, w9, w28
	ldr	x27, [x8, #8]
	ldr	x10, [x27]
Lloh19:
	adrp	x9, _AVMEDIA_TYPE_AUDIO@GOTPAGE
Lloh20:
	ldr	x9, [x9, _AVMEDIA_TYPE_AUDIO@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	str	x10, [sp, #120]                 ; 8-byte Folded Spill
	mov	x22, x9
	cmp	x10, x9
	cset	w9, eq
	str	w9, [sp, #108]                  ; 4-byte Folded Spill
	str	x20, [sp, #96]                  ; 8-byte Folded Spill
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x27
	mov	w1, #0
	bl	_av_get_audio_frame_duration2
	ldr	x8, [x27, #8]
Lloh22:
	adrp	x9, _AV_CODEC_ID_VORBIS@GOTPAGE
Lloh23:
	ldr	x9, [x9, _AV_CODEC_ID_VORBIS@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	w0, #0
	ccmp	x8, x9, #0, eq
	mov	w8, #64
	csel	w25, w0, w8, ne
	cmp	w25, #0
	cset	w19, eq
	mov	x8, x26
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w9, #2
	ldr	x13, [sp, #112]                 ; 8-byte Folded Reload
Lloh25:
	adrp	x14, _FLAG_SIZE_MSB@GOTPAGE
Lloh26:
	ldr	x14, [x14, _FLAG_SIZE_MSB@GOTPAGEOFF]
	mov	x15, x20
Lloh27:
	adrp	x16, _FLAG_KEY@GOTPAGE
Lloh28:
	ldr	x16, [x16, _FLAG_KEY@GOTPAGEOFF]
	b.le	LBB0_9
	b	LBB0_12
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x8]
	bl	_av_inv_q
	ldr	x19, [sp, #112]                 ; 8-byte Folded Reload
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x20, lsl #3]
	ldr	w1, [x8]
	bl	_av_div_q
	mov	x13, x19
	lsr	x8, x0, #32
	cmp	w8, #0
	ccmp	w0, #1, #0, gt
	csel	w25, w8, wzr, eq
	cmp	w25, #0
	cset	w19, eq
Lloh29:
	adrp	x14, _FLAG_SIZE_MSB@GOTPAGE
Lloh30:
	ldr	x14, [x14, _FLAG_SIZE_MSB@GOTPAGEOFF]
	mov	x15, x20
Lloh31:
	adrp	x16, _FLAG_KEY@GOTPAGE
Lloh32:
	ldr	x16, [x16, _FLAG_KEY@GOTPAGEOFF]
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x13]
	sxtw	x9, w26
	add	x20, x8, x9, lsl #5
	str	wzr, [x20]
	ldr	w8, [x14]
	ldr	w9, [x21]
	orr	w8, w8, w9
	str	w15, [x20, #12]
	stp	w8, w24, [x20]
	ldr	x8, [sp, #120]                  ; 8-byte Folded Reload
	cmp	x8, x22
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	mov	x1, x27
	mov	w2, #-1
	mov	w3, #0
	bl	_find_header_idx
Lloh33:
	adrp	x16, _FLAG_KEY@GOTPAGE
Lloh34:
	ldr	x16, [x16, _FLAG_KEY@GOTPAGEOFF]
	ldr	x15, [sp, #96]                  ; 8-byte Folded Reload
Lloh35:
	adrp	x14, _FLAG_SIZE_MSB@GOTPAGE
Lloh36:
	ldr	x14, [x14, _FLAG_SIZE_MSB@GOTPAGEOFF]
	ldr	x13, [sp, #112]                 ; 8-byte Folded Reload
	str	x0, [x20, #24]
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w8, w26, #1
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x13]
	sxtw	x2, w8
	ldr	w8, [x16]
	add	x20, x9, x2, lsl #5
	str	w8, [x20]
	ldr	w9, [x14]
	ldr	w10, [x21]
	orr	w8, w9, w8
	orr	w8, w8, w10
	str	w15, [x20, #12]
	stp	w8, w24, [x20]
	ldr	x8, [sp, #120]                  ; 8-byte Folded Reload
	cmp	x8, x22
	b.ne	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x21, x2
	mov	x0, x23
	mov	x1, x27
	mov	w2, #-1
	mov	w3, #1
	bl	_find_header_idx
	str	x0, [x20, #24]
	cmp	w19, #0
	csinc	w8, w25, wzr, eq
	str	w8, [sp, #84]                   ; 4-byte Folded Spill
	ldr	w19, [x27, #16]
	cmp	w19, #0
	mov	x28, x23
	b.gt	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x27
	mov	w1, #0
	bl	_av_get_audio_frame_duration2
	ldr	w8, [x27, #32]
	mul	w8, w0, w8
	ldr	w9, [x27, #20]
	lsl	w9, w9, #3
	sdiv	w19, w8, w9
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	str	x21, [sp, #64]                  ; 8-byte Folded Spill
	add	x8, x21, #1
	add	w26, w19, #2
	ldr	x9, [sp, #112]                  ; 8-byte Folded Reload
	ldr	x9, [x9]
	mov	x23, x27
Lloh37:
	adrp	x27, _FLAG_KEY@GOTPAGE
Lloh38:
	ldr	x27, [x27, _FLAG_KEY@GOTPAGEOFF]
	ldr	w10, [x27]
	lsl	x20, x8, #5
	add	x21, x9, x20
	stp	w10, w26, [x21]
	ldr	x25, [sp, #96]                  ; 8-byte Folded Reload
	stp	w25, w19, [x21, #12]
	str	wzr, [x21, #8]
	mov	x0, x28
	mov	x1, x23
	mov	x2, x19
	ldr	w24, [sp, #108]                 ; 4-byte Folded Reload
	mov	x3, x24
	bl	_find_header_idx
	str	x0, [x21, #24]
	ldr	x21, [sp, #112]                 ; 8-byte Folded Reload
	ldr	x8, [x21]
	ldr	w9, [x27]
	add	x20, x20, x8
	stp	w9, w26, [x20, #32]
	str	w26, [sp, #48]                  ; 4-byte Folded Spill
	add	w2, w19, #1
	str	w2, [sp, #60]                   ; 4-byte Folded Spill
	stp	w25, w2, [x20, #44]
	str	wzr, [x20, #40]
	mov	x0, x28
	mov	x1, x23
	mov	x3, x24
	bl	_find_header_idx
	str	x0, [x20, #56]
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	add	w8, w8, #3
	ldr	x9, [x21]
	mov	x24, x21
	ldr	w10, [x27]
	sbfiz	x20, x8, #5, #32
	add	x21, x9, x20
	stp	w10, w26, [x21]
	stp	w25, w19, [x21, #12]
	ldr	w26, [sp, #84]                  ; 4-byte Folded Reload
	str	w26, [x21, #8]
	mov	x0, x28
	mov	x1, x23
	mov	x2, x19
	ldr	w19, [sp, #108]                 ; 4-byte Folded Reload
	mov	x3, x19
	bl	_find_header_idx
	str	x0, [x21, #24]
	ldr	x8, [x24]
	ldr	w9, [x27]
	add	x20, x20, x8
	ldr	w8, [sp, #48]                   ; 4-byte Folded Reload
	stp	w9, w8, [x20, #32]
	ldr	w2, [sp, #60]                   ; 4-byte Folded Reload
	stp	w25, w2, [x20, #44]
	str	w26, [x20, #40]
	mov	x0, x28
	mov	x1, x23
	mov	x3, x19
	bl	_find_header_idx
	mov	x16, x27
	mov	x27, x23
	mov	x15, x25
	mov	x13, x24
	str	x0, [x20, #56]
	mov	w8, #5
Lloh39:
	adrp	x14, _FLAG_SIZE_MSB@GOTPAGE
Lloh40:
	ldr	x14, [x14, _FLAG_SIZE_MSB@GOTPAGEOFF]
	ldr	w28, [sp, #44]                  ; 4-byte Folded Reload
	ldr	w12, [sp, #56]                  ; 4-byte Folded Reload
	ldp	x2, x0, [sp, #64]               ; 16-byte Folded Reload
	mov	x1, x26
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w19, #0
	csinc	w1, w25, wzr, eq
	ldr	x8, [x13]
	ldr	w9, [x16]
	ldr	w10, [x14]
	orr	w9, w10, w9
	add	x8, x8, x2, lsl #5
	stp	w9, w24, [x8, #32]
	stp	w1, w15, [x8, #40]
	mov	w8, #2
	ldr	w12, [sp, #56]                  ; 4-byte Folded Reload
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x27, #24]
	add	x17, sp, #128
	cbz	x9, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x23, x27
	ldr	q0, [sp, #16]                   ; 16-byte Folded Reload
	str	q0, [sp, #128]
	mov	w9, #4
	str	w9, [sp, #144]
	mov	w11, #5
	mov	w9, #-2
	b	LBB0_22
LBB0_19:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x27, #8]
Lloh41:
	adrp	x10, _AV_CODEC_ID_VORBIS@GOTPAGE
Lloh42:
	ldr	x10, [x10, _AV_CODEC_ID_VORBIS@GOTPAGEOFF]
Lloh43:
	ldr	x10, [x10]
	mov	x23, x27
	cmp	x9, x10
	b.ne	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
	str	d8, [sp, #128]
	mov	w9, #16
	str	w9, [sp, #136]
	mov	w11, #3
	mov	w9, #2
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w9, #1
	str	w9, [sp, #128]
	mov	w11, #1
LBB0_22:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x10, #0
	add	x3, x15, #1
	str	x3, [sp, #48]                   ; 8-byte Folded Spill
	mul	w12, w12, w3
	sdiv	w12, w12, w0
	add	w12, w12, w28
	add	w8, w2, w8
	str	w8, [sp, #60]                   ; 4-byte Folded Spill
	sub	w8, w12, w8
	str	w8, [sp, #72]                   ; 4-byte Folded Spill
	mov	w12, w11
	str	w1, [sp, #84]                   ; 4-byte Folded Spill
	str	x12, [sp, #64]                  ; 8-byte Folded Spill
LBB0_23:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_26 Depth 3
	ldr	w11, [sp, #72]                  ; 4-byte Folded Reload
	mul	w8, w11, w10
	sdiv	w8, w8, w12
	add	x26, x10, #1
	mul	w11, w11, w26
	mul	w25, w9, w1
	str	w25, [x17, x10, lsl #2]
	sdiv	w9, w11, w12
	cmp	w9, w8
	b.le	LBB0_28
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=2
	mov	x28, #0
	ldr	w10, [sp, #60]                  ; 4-byte Folded Reload
	add	w9, w9, w10
	add	w8, w8, w10
	sub	w21, w9, w8
	sxtw	x20, w8
	sxtw	x19, w9
	sbfiz	x24, x8, #5, #32
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=3
	add	x28, x28, #1
	add	x24, x24, #32
	add	x8, x20, x28
	cmp	x8, x19
	b.ge	LBB0_28
LBB0_26:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_23 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x8, [x13]
	ldr	w9, [x16]
	ldr	x10, [sp, #120]                 ; 8-byte Folded Reload
	cmp	x10, x22
	csel	w9, w9, wzr, eq
	add	x27, x8, x24
	str	w9, [x27]
	ldr	w8, [x14]
	orr	w8, w8, w9
	stp	w8, w21, [x27]
	stp	w15, w28, [x27, #12]
	str	w25, [x27, #8]
	b.ne	LBB0_25
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=3
	ldr	x0, [sp, #88]                   ; 8-byte Folded Reload
	mov	x1, x23
	mov	w2, #-1
	ldr	w3, [sp, #108]                  ; 4-byte Folded Reload
	bl	_find_header_idx
Lloh44:
	adrp	x16, _FLAG_KEY@GOTPAGE
Lloh45:
	ldr	x16, [x16, _FLAG_KEY@GOTPAGEOFF]
	ldr	x15, [sp, #96]                  ; 8-byte Folded Reload
Lloh46:
	adrp	x14, _FLAG_SIZE_MSB@GOTPAGE
Lloh47:
	ldr	x14, [x14, _FLAG_SIZE_MSB@GOTPAGEOFF]
	ldr	x13, [sp, #112]                 ; 8-byte Folded Reload
	str	x0, [x27, #24]
	b	LBB0_25
LBB0_28:                                ;   in Loop: Header=BB0_23 Depth=2
	ldr	x12, [sp, #64]                  ; 8-byte Folded Reload
	cmp	x26, x12
	b.eq	LBB0_5
; %bb.29:                               ;   in Loop: Header=BB0_23 Depth=2
	add	x17, sp, #128
	ldr	w9, [x17, x26, lsl #2]
	mov	x10, x26
	ldr	w1, [sp, #84]                   ; 4-byte Folded Reload
	b	LBB0_23
LBB0_30:
	ldr	x8, [x13]
LBB0_31:
	add	x0, x8, #2528
	add	x1, x8, #2496
	mov	w2, #5664
	mov	x19, x13
	bl	_memmove
Lloh48:
	adrp	x8, _FLAG_INVALID@GOTPAGE
Lloh49:
	ldr	x8, [x8, _FLAG_INVALID@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	ldr	x9, [x19]
	str	w8, [x9, #2496]
	str	w8, [x9, #8160]
	str	w8, [x9]
	ldur	x8, [x29, #-112]
Lloh51:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh52:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh53:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.32:
	ldp	x29, x30, [sp, #288]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #272]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #256]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #240]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #224]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #208]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #192]              ; 16-byte Folded Reload
	add	sp, sp, #304
	ret
LBB0_33:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdr	Lloh15, Lloh16
	.loh AdrpAdrp	Lloh13, Lloh15
	.loh AdrpLdr	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAG_CODED,4,2                 ; @FLAG_CODED
	.comm	_FLAG_STREAM_ID,4,2             ; @FLAG_STREAM_ID
	.comm	_FLAG_SIZE_MSB,4,2              ; @FLAG_SIZE_MSB
	.comm	_FLAG_CODED_PTS,4,2             ; @FLAG_CODED_PTS
	.comm	_AVMEDIA_TYPE_AUDIO,8,3         ; @AVMEDIA_TYPE_AUDIO
	.comm	_AV_CODEC_ID_VORBIS,8,3         ; @AV_CODEC_ID_VORBIS
	.comm	_FLAG_KEY,4,2                   ; @FLAG_KEY
	.comm	_FLAG_INVALID,4,2               ; @FLAG_INVALID
	.no_dead_strip	_build_frame_code
.subsections_via_symbols
