	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vp6_parse_coeff_models
_vp6_parse_coeff_models:                ## @vp6_parse_coeff_models
	.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
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	56(%rdi), %r13
	movq	48(%rdi), %r15
	leaq	-96(%rbp), %rdi
	movl	$128, %esi
	movl	$44, %edx
	callq	_memset
	xorl	%ebx, %ebx
	movq	_vp6_dccv_pct@GOTPCREL(%rip), %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	movl	$7, %esi
	callq	_vp56_rac_gets_nn
	movl	%eax, -96(%rbp,%rbx,4)
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r15), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx,%rbx,4)
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	cmpq	$11, %rbx
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r13, %rdi
	callq	_vp56_rac_get_prob_branchy
	testq	%rax, %rax
	jne	LBB0_1
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	40(%r12), %rax
	movq	_VP56_FRAME_CURRENT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-96(%rbp,%rbx,4), %eax
	jmp	LBB0_2
LBB0_7:
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_11 Depth=1
	movq	%r13, %rdi
	movl	$7, %esi
	callq	_vp56_rac_gets_nn
	movl	%eax, -96(%rbp,%rbx,4)
LBB0_9:                                 ##   in Loop: Header=BB0_11 Depth=1
	movq	(%r15), %rcx
	movq	8(%rcx), %rcx
	movl	%eax, (%rcx,%rbx,4)
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rbx
	cmpq	$11, %rbx
	je	LBB0_14
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	8(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r13, %rdi
	callq	_vp56_rac_get_prob_branchy
	testq	%rax, %rax
	jne	LBB0_8
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	40(%r12), %rax
	movq	_VP56_FRAME_CURRENT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	-96(%rbp,%rbx,4), %eax
	jmp	LBB0_9
LBB0_14:
	movq	%r13, %rdi
	callq	_vp56_rac_get
	testq	%rax, %rax
	je	LBB0_20
## %bb.15:
	movl	$1, %ebx
	movq	_vp6_coeff_reorder_pct@GOTPCREL(%rip), %r14
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	%rbx
	cmpq	$64, %rbx
	je	LBB0_19
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r13, %rdi
	callq	_vp56_rac_get_prob_branchy
	testq	%rax, %rax
	je	LBB0_16
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%r13, %rdi
	movl	$4, %esi
	callq	_vp56_rac_gets
	movq	32(%r15), %rcx
	movl	%eax, (%rcx,%rbx,4)
	jmp	LBB0_16
LBB0_19:
	movq	%r12, %rdi
	callq	_vp6_coeff_order_table_init
LBB0_20:
	xorl	%ebx, %ebx
	movq	_vp6_runv_pct@GOTPCREL(%rip), %r14
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_22 Depth=1
	incq	%rbx
	cmpq	$14, %rbx
	je	LBB0_24
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r13, %rdi
	callq	_vp56_rac_get_prob_branchy
	testq	%rax, %rax
	je	LBB0_21
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%r13, %rdi
	movl	$7, %esi
	callq	_vp56_rac_gets_nn
	movq	8(%r15), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx,%rbx,4)
	jmp	LBB0_21
LBB0_24:
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	xorl	%ebx, %ebx
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_26 Depth=1
	incq	%rbx
	cmpq	$14, %rbx
	je	LBB0_28
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	8(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r13, %rdi
	callq	_vp56_rac_get_prob_branchy
	testq	%rax, %rax
	je	LBB0_25
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	movq	%r13, %rdi
	movl	$7, %esi
	callq	_vp56_rac_gets_nn
	movq	8(%r15), %rcx
	movq	8(%rcx), %rcx
	movl	%eax, (%rcx,%rbx,4)
	jmp	LBB0_25
LBB0_28:
	xorl	%r12d, %r12d
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_30 Depth=1
	incq	%r12
	cmpq	$3, %r12
	je	LBB0_48
LBB0_30:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_32 Depth 2
                                        ##       Child Loop BB0_36 Depth 3
                                        ##     Child Loop BB0_41 Depth 2
                                        ##       Child Loop BB0_45 Depth 3
	xorl	%r14d, %r14d
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_32 Depth=2
	incq	%r14
	cmpq	$6, %r14
	je	LBB0_39
LBB0_32:                                ##   Parent Loop BB0_30 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_36 Depth 3
	xorl	%ebx, %ebx
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_36 Depth=3
	movq	%r13, %rdi
	movl	$7, %esi
	callq	_vp56_rac_gets_nn
	movl	%eax, -96(%rbp,%rbx,4)
LBB0_34:                                ##   in Loop: Header=BB0_36 Depth=3
	movq	16(%r15), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%r12,8), %rcx
	movq	(%rcx,%r14,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
LBB0_35:                                ##   in Loop: Header=BB0_36 Depth=3
	incq	%rbx
	cmpq	$11, %rbx
	je	LBB0_31
LBB0_36:                                ##   Parent Loop BB0_30 Depth=1
                                        ##     Parent Loop BB0_32 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	_vp6_ract_pct@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r12,8), %rax
	movq	(%rax), %rax
	movq	(%rax,%r14,8), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r13, %rdi
	callq	_vp56_rac_get_prob_branchy
	testq	%rax, %rax
	jne	LBB0_33
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=3
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	40(%rax), %rax
	movq	_VP56_FRAME_CURRENT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	cmpq	$0, (%rax)
	je	LBB0_35
## %bb.38:                              ##   in Loop: Header=BB0_36 Depth=3
	movl	-96(%rbp,%rbx,4), %eax
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_39:                                ##   in Loop: Header=BB0_30 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_41
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_41 Depth=2
	incq	%r14
	cmpq	$6, %r14
	je	LBB0_29
LBB0_41:                                ##   Parent Loop BB0_30 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_45 Depth 3
	xorl	%ebx, %ebx
	jmp	LBB0_45
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_45 Depth=3
	movq	%r13, %rdi
	movl	$7, %esi
	callq	_vp56_rac_gets_nn
	movl	%eax, -96(%rbp,%rbx,4)
LBB0_43:                                ##   in Loop: Header=BB0_45 Depth=3
	movq	16(%r15), %rcx
	movq	8(%rcx), %rcx
	movq	(%rcx,%r12,8), %rcx
	movq	(%rcx,%r14,8), %rcx
	movl	%eax, (%rcx,%rbx,4)
LBB0_44:                                ##   in Loop: Header=BB0_45 Depth=3
	incq	%rbx
	cmpq	$11, %rbx
	je	LBB0_40
LBB0_45:                                ##   Parent Loop BB0_30 Depth=1
                                        ##     Parent Loop BB0_41 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	_vp6_ract_pct@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r12,8), %rax
	movq	8(%rax), %rax
	movq	(%rax,%r14,8), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r13, %rdi
	callq	_vp56_rac_get_prob_branchy
	testq	%rax, %rax
	jne	LBB0_42
## %bb.46:                              ##   in Loop: Header=BB0_45 Depth=3
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	40(%rax), %rax
	movq	_VP56_FRAME_CURRENT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	cmpq	$0, (%rax)
	je	LBB0_44
## %bb.47:                              ##   in Loop: Header=BB0_45 Depth=3
	movl	-96(%rbp,%rbx,4), %eax
	jmp	LBB0_43
LBB0_48:
	movq	-104(%rbp), %r12                ## 8-byte Reload
	cmpq	$0, 32(%r12)
	je	LBB0_62
## %bb.49:
	movb	$1, %al
	xorl	%r13d, %r13d
	movq	_vp6_huff_coeff_map@GOTPCREL(%rip), %rcx
	movq	%r15, %r14
LBB0_50:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_53 Depth 2
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	movq	(%r14), %rax
	movq	(%rax,%r13,8), %rsi
	movl	(%rcx), %edx
	leaq	(,%r13,4), %rbx
	movq	24(%r12), %r8
	addq	%rbx, %r8
	movq	%r12, %rdi
	movl	$12, %ecx
	callq	_vp6_build_huff_tree
	movl	$-1, %ecx
	testq	%rax, %rax
	jne	LBB0_72
## %bb.51:                              ##   in Loop: Header=BB0_50 Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%r13,8), %rsi
	movq	_vp6_huff_run_map@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addq	16(%r12), %rbx
	movq	%r12, %rdi
	movl	$9, %ecx
	movq	%rbx, %r8
	callq	_vp6_build_huff_tree
	testq	%rax, %rax
	jne	LBB0_71
## %bb.52:                              ##   in Loop: Header=BB0_50 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_53:                                ##   Parent Loop BB0_50 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r14), %rax
	movq	(%rax,%r13,8), %rax
	movq	(%rax,%rbx), %rax
	movq	(%rax), %rsi
	movq	_vp6_huff_coeff_map@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	8(%r12), %rax
	movq	(%rax,%r13,8), %rax
	movq	(%rax,%rbx), %r8
	movq	%r12, %rdi
	movl	$12, %ecx
	callq	_vp6_build_huff_tree
	testq	%rax, %rax
	jne	LBB0_71
## %bb.54:                              ##   in Loop: Header=BB0_53 Depth=2
	movq	16(%r14), %rax
	movq	(%rax,%r13,8), %rax
	movq	(%rax,%rbx), %rax
	movq	8(%rax), %rsi
	movl	(%r15), %edx
	movq	8(%r12), %rax
	movq	(%rax,%r13,8), %rax
	movq	(%rax,%rbx), %r8
	addq	$4, %r8
	movq	%r12, %rdi
	movl	$12, %ecx
	callq	_vp6_build_huff_tree
	testq	%rax, %rax
	jne	LBB0_71
## %bb.55:                              ##   in Loop: Header=BB0_53 Depth=2
	movq	16(%r14), %rax
	movq	(%rax,%r13,8), %rax
	movq	(%rax,%rbx), %rax
	movq	16(%rax), %rsi
	movl	(%r15), %edx
	movq	8(%r12), %rax
	movq	(%rax,%r13,8), %rax
	movq	(%rax,%rbx), %r8
	addq	$8, %r8
	movq	%r12, %rdi
	movl	$12, %ecx
	callq	_vp6_build_huff_tree
	testq	%rax, %rax
	jne	LBB0_71
## %bb.56:                              ##   in Loop: Header=BB0_53 Depth=2
	movq	16(%r14), %rax
	movq	(%rax,%r13,8), %rax
	movq	(%rax,%rbx), %rax
	movq	24(%rax), %rsi
	movl	(%r15), %edx
	movq	8(%r12), %rax
	movq	(%rax,%r13,8), %rax
	movq	(%rax,%rbx), %r8
	addq	$12, %r8
	movq	%r12, %rdi
	movl	$12, %ecx
	callq	_vp6_build_huff_tree
	testq	%rax, %rax
	jne	LBB0_71
## %bb.57:                              ##   in Loop: Header=BB0_53 Depth=2
	movq	16(%r14), %rax
	movq	(%rax,%r13,8), %rax
	movq	(%rax,%rbx), %rax
	movq	32(%rax), %rsi
	movl	(%r15), %edx
	movq	8(%r12), %rax
	movq	(%rax,%r13,8), %rax
	movq	(%rax,%rbx), %r8
	addq	$16, %r8
	movq	%r12, %rdi
	movl	$12, %ecx
	callq	_vp6_build_huff_tree
	testq	%rax, %rax
	jne	LBB0_71
## %bb.58:                              ##   in Loop: Header=BB0_53 Depth=2
	movq	16(%r14), %rax
	movq	(%rax,%r13,8), %rax
	movq	(%rax,%rbx), %rax
	movq	40(%rax), %rsi
	movl	(%r15), %edx
	movq	8(%r12), %rax
	movq	(%rax,%r13,8), %rax
	movq	(%rax,%rbx), %r8
	addq	$20, %r8
	movq	%r12, %rdi
	movl	$12, %ecx
	callq	_vp6_build_huff_tree
	testq	%rax, %rax
	jne	LBB0_71
## %bb.59:                              ##   in Loop: Header=BB0_53 Depth=2
	addq	$8, %rbx
	cmpq	$24, %rbx
	jne	LBB0_53
## %bb.60:                              ##   in Loop: Header=BB0_50 Depth=1
	movl	$1, %r13d
	testb	$1, -108(%rbp)                  ## 1-byte Folded Reload
	movl	$0, %eax
	movq	_vp6_huff_coeff_map@GOTPCREL(%rip), %rcx
	jne	LBB0_50
## %bb.61:
	movq	(%r12), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	xorl	%ecx, %ecx
	jmp	LBB0_72
LBB0_71:
	movl	$-1, %ecx
	jmp	LBB0_72
LBB0_62:
	movb	$1, %r14b
	xorl	%r12d, %r12d
	movq	_vp6_dccv_lc@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_63:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_64 Depth 2
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_64:                                ##   Parent Loop BB0_63 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r15), %rax
	movq	(%rax,%r12,8), %rax
	movq	(%r13), %rcx
	movq	(%rcx,%rbx), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %edi
	imull	(%rax), %edi
	subl	$-128, %edi
	sarl	$8, %edi
	addl	4(%rcx), %edi
	movl	$1, %esi
	movl	$255, %edx
	callq	_av_clip
	movq	24(%r15), %rcx
	movq	(%rcx,%r12,8), %rcx
	movq	(%rcx,%rbx), %rcx
	movl	%eax, (%rcx)
	movq	(%r15), %rax
	movq	(%rax,%r12,8), %rax
	movq	(%r13), %rcx
	movq	(%rcx,%rbx), %rcx
	movq	8(%rcx), %rcx
	movl	(%rcx), %edi
	imull	4(%rax), %edi
	subl	$-128, %edi
	sarl	$8, %edi
	addl	4(%rcx), %edi
	movl	$1, %esi
	movl	$255, %edx
	callq	_av_clip
	movq	24(%r15), %rcx
	movq	(%rcx,%r12,8), %rcx
	movq	(%rcx,%rbx), %rcx
	movl	%eax, 4(%rcx)
	movq	(%r15), %rax
	movq	(%rax,%r12,8), %rax
	movq	(%r13), %rcx
	movq	(%rcx,%rbx), %rcx
	movq	16(%rcx), %rcx
	movl	(%rcx), %edi
	imull	8(%rax), %edi
	subl	$-128, %edi
	sarl	$8, %edi
	addl	4(%rcx), %edi
	movl	$1, %esi
	movl	$255, %edx
	callq	_av_clip
	movq	24(%r15), %rcx
	movq	(%rcx,%r12,8), %rcx
	movq	(%rcx,%rbx), %rcx
	movl	%eax, 8(%rcx)
	movq	(%r15), %rax
	movq	(%rax,%r12,8), %rax
	movq	(%r13), %rcx
	movq	(%rcx,%rbx), %rcx
	movq	24(%rcx), %rcx
	movl	(%rcx), %edi
	imull	12(%rax), %edi
	subl	$-128, %edi
	sarl	$8, %edi
	addl	4(%rcx), %edi
	movl	$1, %esi
	movl	$255, %edx
	callq	_av_clip
	movq	24(%r15), %rcx
	movq	(%rcx,%r12,8), %rcx
	movq	(%rcx,%rbx), %rcx
	movl	%eax, 12(%rcx)
	movq	(%r15), %rax
	movq	(%rax,%r12,8), %rax
	movq	(%r13), %rcx
	movq	(%rcx,%rbx), %rcx
	movq	32(%rcx), %rcx
	movl	(%rcx), %edi
	imull	16(%rax), %edi
	subl	$-128, %edi
	sarl	$8, %edi
	addl	4(%rcx), %edi
	movl	$1, %esi
	movl	$255, %edx
	callq	_av_clip
	movq	24(%r15), %rcx
	movq	(%rcx,%r12,8), %rcx
	movq	(%rcx,%rbx), %rcx
	movl	%eax, 16(%rcx)
	addq	$8, %rbx
	cmpq	$24, %rbx
	jne	LBB0_64
## %bb.65:                              ##   in Loop: Header=BB0_63 Depth=1
	xorl	%ecx, %ecx
	movl	$1, %r12d
	testb	$1, %r14b
	movl	$0, %r14d
	jne	LBB0_63
LBB0_72:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_75
## %bb.73:
	movl	%ecx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_75:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_vp6_dccv_pct,8,3               ## @vp6_dccv_pct
	.comm	_VP56_FRAME_CURRENT,8,3         ## @VP56_FRAME_CURRENT
	.comm	_vp6_coeff_reorder_pct,8,3      ## @vp6_coeff_reorder_pct
	.comm	_vp6_runv_pct,8,3               ## @vp6_runv_pct
	.comm	_vp6_ract_pct,8,3               ## @vp6_ract_pct
	.comm	_vp6_huff_coeff_map,4,2         ## @vp6_huff_coeff_map
	.comm	_vp6_huff_run_map,4,2           ## @vp6_huff_run_map
	.comm	_vp6_dccv_lc,8,3                ## @vp6_dccv_lc
	.no_dead_strip	_vp6_parse_coeff_models
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vp6_parse_coeff_models
_vp6_parse_coeff_models:                ; @vp6_parse_coeff_models
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	add	x20, x0, #56
	ldr	x21, [x0, #48]
	add	x24, sp, #12
	add	x0, sp, #12
	mov	w1, #128
	mov	w2, #44
	bl	_memset
	mov	x25, #0
Lloh3:
	adrp	x23, _vp6_dccv_pct@GOTPAGE
Lloh4:
	ldr	x23, [x23, _vp6_dccv_pct@GOTPAGEOFF]
Lloh5:
	adrp	x22, _VP56_FRAME_CURRENT@GOTPAGE
Lloh6:
	ldr	x22, [x22, _VP56_FRAME_CURRENT@GOTPAGEOFF]
	b	LBB0_4
LBB0_1:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	w1, #7
	bl	_vp56_rac_gets_nn
	str	w0, [x24, x25]
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8]
	str	w0, [x8, x25]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #4
	cmp	x25, #44
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8]
	ldr	w1, [x8, x25]
	mov	x0, x20
	bl	_vp56_rac_get_prob_branchy
	cbnz	x0, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #40]
	ldr	x9, [x22]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x24, x25]
	b	LBB0_2
LBB0_7:
	mov	x24, #0
	add	x25, sp, #12
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x20
	mov	w1, #7
	bl	_vp56_rac_gets_nn
	str	w0, [x25, x24]
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	str	w0, [x8, x24]
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x24, x24, #4
	cmp	x24, #44
	b.eq	LBB0_14
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8, #8]
	ldr	w1, [x8, x24]
	mov	x0, x20
	bl	_vp56_rac_get_prob_branchy
	cbnz	x0, LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x19, #40]
	ldr	x9, [x22]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x25, x24]
	b	LBB0_9
LBB0_14:
	mov	x0, x20
	bl	_vp56_rac_get
	cbz	x0, LBB0_20
; %bb.15:
	mov	w23, #4
Lloh7:
	adrp	x24, _vp6_coeff_reorder_pct@GOTPAGE
Lloh8:
	ldr	x24, [x24, _vp6_coeff_reorder_pct@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x23, x23, #4
	cmp	x23, #256
	b.eq	LBB0_19
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	w1, [x8, x23]
	mov	x0, x20
	bl	_vp56_rac_get_prob_branchy
	cbz	x0, LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x20
	mov	w1, #4
	bl	_vp56_rac_gets
	ldr	x8, [x21, #32]
	str	w0, [x8, x23]
	b	LBB0_16
LBB0_19:
	mov	x0, x19
	bl	_vp6_coeff_order_table_init
LBB0_20:
	mov	x24, #0
Lloh9:
	adrp	x23, _vp6_runv_pct@GOTPAGE
Lloh10:
	ldr	x23, [x23, _vp6_runv_pct@GOTPAGEOFF]
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	add	x24, x24, #4
	cmp	x24, #56
	b.eq	LBB0_24
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8]
	ldr	w1, [x8, x24]
	mov	x0, x20
	bl	_vp56_rac_get_prob_branchy
	cbz	x0, LBB0_21
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	x0, x20
	mov	w1, #7
	bl	_vp56_rac_gets_nn
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	str	w0, [x8, x24]
	b	LBB0_21
LBB0_24:
	mov	x24, #0
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=1
	add	x24, x24, #4
	cmp	x24, #56
	b.eq	LBB0_28
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8, #8]
	ldr	w1, [x8, x24]
	mov	x0, x20
	bl	_vp56_rac_get_prob_branchy
	cbz	x0, LBB0_25
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	mov	x0, x20
	mov	w1, #7
	bl	_vp56_rac_gets_nn
	ldr	x8, [x21, #8]
	ldr	x8, [x8, #8]
	str	w0, [x8, x24]
	b	LBB0_25
LBB0_28:
	mov	x23, #0
Lloh11:
	adrp	x24, _vp6_ract_pct@GOTPAGE
Lloh12:
	ldr	x24, [x24, _vp6_ract_pct@GOTPAGEOFF]
	add	x25, sp, #12
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=1
	add	x23, x23, #1
	cmp	x23, #3
	b.eq	LBB0_48
LBB0_30:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_32 Depth 2
                                        ;       Child Loop BB0_36 Depth 3
                                        ;     Child Loop BB0_41 Depth 2
                                        ;       Child Loop BB0_45 Depth 3
	mov	x26, #0
	b	LBB0_32
LBB0_31:                                ;   in Loop: Header=BB0_32 Depth=2
	add	x26, x26, #1
	cmp	x26, #6
	b.eq	LBB0_39
LBB0_32:                                ;   Parent Loop BB0_30 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_36 Depth 3
	mov	x27, #0
	b	LBB0_36
LBB0_33:                                ;   in Loop: Header=BB0_36 Depth=3
	mov	x0, x20
	mov	w1, #7
	bl	_vp56_rac_gets_nn
	str	w0, [x25, x27]
LBB0_34:                                ;   in Loop: Header=BB0_36 Depth=3
	ldr	x8, [x21, #16]
	ldr	x8, [x8]
	ldr	x8, [x8, x23, lsl #3]
	ldr	x8, [x8, x26, lsl #3]
	str	w0, [x8, x27]
LBB0_35:                                ;   in Loop: Header=BB0_36 Depth=3
	add	x27, x27, #4
	cmp	x27, #44
	b.eq	LBB0_31
LBB0_36:                                ;   Parent Loop BB0_30 Depth=1
                                        ;     Parent Loop BB0_32 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x8, [x24]
	ldr	x8, [x8, x23, lsl #3]
	ldr	x8, [x8]
	ldr	x8, [x8, x26, lsl #3]
	ldr	w1, [x8, x27]
	mov	x0, x20
	bl	_vp56_rac_get_prob_branchy
	cbnz	x0, LBB0_33
; %bb.37:                               ;   in Loop: Header=BB0_36 Depth=3
	ldr	x8, [x19, #40]
	ldr	x9, [x22]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x8, [x8]
	cbz	x8, LBB0_35
; %bb.38:                               ;   in Loop: Header=BB0_36 Depth=3
	ldr	w0, [x25, x27]
	b	LBB0_34
LBB0_39:                                ;   in Loop: Header=BB0_30 Depth=1
	mov	x26, #0
	b	LBB0_41
LBB0_40:                                ;   in Loop: Header=BB0_41 Depth=2
	add	x26, x26, #1
	cmp	x26, #6
	b.eq	LBB0_29
LBB0_41:                                ;   Parent Loop BB0_30 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_45 Depth 3
	mov	x27, #0
	b	LBB0_45
LBB0_42:                                ;   in Loop: Header=BB0_45 Depth=3
	mov	x0, x20
	mov	w1, #7
	bl	_vp56_rac_gets_nn
	str	w0, [x25, x27]
LBB0_43:                                ;   in Loop: Header=BB0_45 Depth=3
	ldr	x8, [x21, #16]
	ldr	x8, [x8, #8]
	ldr	x8, [x8, x23, lsl #3]
	ldr	x8, [x8, x26, lsl #3]
	str	w0, [x8, x27]
LBB0_44:                                ;   in Loop: Header=BB0_45 Depth=3
	add	x27, x27, #4
	cmp	x27, #44
	b.eq	LBB0_40
LBB0_45:                                ;   Parent Loop BB0_30 Depth=1
                                        ;     Parent Loop BB0_41 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x8, [x24]
	ldr	x8, [x8, x23, lsl #3]
	ldr	x8, [x8, #8]
	ldr	x8, [x8, x26, lsl #3]
	ldr	w1, [x8, x27]
	mov	x0, x20
	bl	_vp56_rac_get_prob_branchy
	cbnz	x0, LBB0_42
; %bb.46:                               ;   in Loop: Header=BB0_45 Depth=3
	ldr	x8, [x19, #40]
	ldr	x9, [x22]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x8, [x8]
	cbz	x8, LBB0_44
; %bb.47:                               ;   in Loop: Header=BB0_45 Depth=3
	ldr	w0, [x25, x27]
	b	LBB0_43
LBB0_48:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_63
; %bb.49:
	mov	x22, #0
	mov	w8, #1
Lloh13:
	adrp	x20, _vp6_huff_coeff_map@GOTPAGE
Lloh14:
	ldr	x20, [x20, _vp6_huff_coeff_map@GOTPAGEOFF]
Lloh15:
	adrp	x23, _vp6_huff_run_map@GOTPAGE
Lloh16:
	ldr	x23, [x23, _vp6_huff_run_map@GOTPAGEOFF]
LBB0_50:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_53 Depth 2
	mov	x24, x8
	ldr	x8, [x21]
	ldr	x1, [x8, x22, lsl #3]
	ldr	w2, [x20]
	ldr	x8, [x19, #24]
	add	x4, x8, x22, lsl #2
	mov	x0, x19
	mov	w3, #12
	bl	_vp6_build_huff_tree
	cbnz	x0, LBB0_62
; %bb.51:                               ;   in Loop: Header=BB0_50 Depth=1
	ldr	x8, [x21, #8]
	ldr	x1, [x8, x22, lsl #3]
	ldr	w2, [x23]
	ldr	x8, [x19, #16]
	add	x4, x8, x22, lsl #2
	mov	x0, x19
	mov	w3, #9
	bl	_vp6_build_huff_tree
	cbnz	x0, LBB0_62
; %bb.52:                               ;   in Loop: Header=BB0_50 Depth=1
	mov	x25, #0
LBB0_53:                                ;   Parent Loop BB0_50 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x21, #16]
	lsl	x26, x22, #3
	ldr	x8, [x8, x26]
	ldr	x8, [x8, x25]
	ldr	x1, [x8]
	ldr	w2, [x20]
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x26]
	ldr	x4, [x8, x25]
	mov	x0, x19
	mov	w3, #12
	bl	_vp6_build_huff_tree
	cbnz	x0, LBB0_62
; %bb.54:                               ;   in Loop: Header=BB0_53 Depth=2
	ldr	x8, [x21, #16]
	ldr	x8, [x8, x26]
	ldr	x8, [x8, x25]
	ldr	x1, [x8, #8]
	ldr	w2, [x20]
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x26]
	ldr	x8, [x8, x25]
	add	x4, x8, #4
	mov	x0, x19
	mov	w3, #12
	bl	_vp6_build_huff_tree
	cbnz	x0, LBB0_62
; %bb.55:                               ;   in Loop: Header=BB0_53 Depth=2
	ldr	x8, [x21, #16]
	ldr	x8, [x8, x26]
	ldr	x8, [x8, x25]
	ldr	x1, [x8, #16]
	ldr	w2, [x20]
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x26]
	ldr	x8, [x8, x25]
	add	x4, x8, #8
	mov	x0, x19
	mov	w3, #12
	bl	_vp6_build_huff_tree
	cbnz	x0, LBB0_62
; %bb.56:                               ;   in Loop: Header=BB0_53 Depth=2
	ldr	x8, [x21, #16]
	ldr	x8, [x8, x26]
	ldr	x8, [x8, x25]
	ldr	x1, [x8, #24]
	ldr	w2, [x20]
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x26]
	ldr	x8, [x8, x25]
	add	x4, x8, #12
	mov	x0, x19
	mov	w3, #12
	bl	_vp6_build_huff_tree
	cbnz	x0, LBB0_62
; %bb.57:                               ;   in Loop: Header=BB0_53 Depth=2
	ldr	x8, [x21, #16]
	ldr	x8, [x8, x26]
	ldr	x8, [x8, x25]
	ldr	x1, [x8, #32]
	ldr	w2, [x20]
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x26]
	ldr	x8, [x8, x25]
	add	x4, x8, #16
	mov	x0, x19
	mov	w3, #12
	bl	_vp6_build_huff_tree
	cbnz	x0, LBB0_62
; %bb.58:                               ;   in Loop: Header=BB0_53 Depth=2
	ldr	x8, [x21, #16]
	ldr	x8, [x8, x26]
	ldr	x8, [x8, x25]
	ldr	x1, [x8, #40]
	ldr	w2, [x20]
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x26]
	ldr	x8, [x8, x25]
	add	x4, x8, #20
	mov	x0, x19
	mov	w3, #12
	bl	_vp6_build_huff_tree
	cbnz	x0, LBB0_62
; %bb.59:                               ;   in Loop: Header=BB0_53 Depth=2
	add	x25, x25, #8
	cmp	x25, #24
	b.ne	LBB0_53
; %bb.60:                               ;   in Loop: Header=BB0_50 Depth=1
	mov	w8, #0
	mov	w22, #1
	tbnz	w24, #0, LBB0_50
; %bb.61:
	ldr	x0, [x19]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	b	LBB0_67
LBB0_62:
	mov	w0, #-1
	b	LBB0_68
LBB0_63:
	mov	x20, #0
	mov	w8, #1
Lloh17:
	adrp	x19, _vp6_dccv_lc@GOTPAGE
Lloh18:
	ldr	x19, [x19, _vp6_dccv_lc@GOTPAGEOFF]
	orr	w22, wzr, #0x80
LBB0_64:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_65 Depth 2
	mov	x24, #0
	mov	x23, x8
LBB0_65:                                ;   Parent Loop BB0_64 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x21]
	lsl	x25, x20, #3
	ldr	x8, [x8, x25]
	ldr	x9, [x19]
	ldr	x9, [x9, x24]
	ldr	w8, [x8]
	ldr	x9, [x9]
	ldp	w10, w9, [x9]
	madd	w8, w10, w8, w22
	add	w0, w9, w8, asr #8
	mov	w1, #1
	mov	w2, #255
	bl	_av_clip
	ldr	x8, [x21, #24]
	ldr	x8, [x8, x25]
	ldr	x8, [x8, x24]
	str	w0, [x8]
	ldr	x8, [x21]
	ldr	x8, [x8, x25]
	ldr	x9, [x19]
	ldr	x9, [x9, x24]
	ldr	w8, [x8, #4]
	ldr	x9, [x9, #8]
	ldp	w10, w9, [x9]
	madd	w8, w10, w8, w22
	add	w0, w9, w8, asr #8
	mov	w1, #1
	mov	w2, #255
	bl	_av_clip
	ldr	x8, [x21, #24]
	ldr	x8, [x8, x25]
	ldr	x8, [x8, x24]
	str	w0, [x8, #4]
	ldr	x8, [x21]
	ldr	x8, [x8, x25]
	ldr	x9, [x19]
	ldr	x9, [x9, x24]
	ldr	w8, [x8, #8]
	ldr	x9, [x9, #16]
	ldp	w10, w9, [x9]
	madd	w8, w10, w8, w22
	add	w0, w9, w8, asr #8
	mov	w1, #1
	mov	w2, #255
	bl	_av_clip
	ldr	x8, [x21, #24]
	ldr	x8, [x8, x25]
	ldr	x8, [x8, x24]
	str	w0, [x8, #8]
	ldr	x8, [x21]
	ldr	x8, [x8, x25]
	ldr	x9, [x19]
	ldr	x9, [x9, x24]
	ldr	w8, [x8, #12]
	ldr	x9, [x9, #24]
	ldp	w10, w9, [x9]
	madd	w8, w10, w8, w22
	add	w0, w9, w8, asr #8
	mov	w1, #1
	mov	w2, #255
	bl	_av_clip
	ldr	x8, [x21, #24]
	ldr	x8, [x8, x25]
	ldr	x8, [x8, x24]
	str	w0, [x8, #12]
	ldr	x8, [x21]
	ldr	x8, [x8, x25]
	ldr	x9, [x19]
	ldr	x9, [x9, x24]
	ldr	w8, [x8, #16]
	ldr	x9, [x9, #32]
	ldp	w10, w9, [x9]
	madd	w8, w10, w8, w22
	add	w0, w9, w8, asr #8
	mov	w1, #1
	mov	w2, #255
	bl	_av_clip
	ldr	x8, [x21, #24]
	ldr	x8, [x8, x25]
	ldr	x8, [x8, x24]
	str	w0, [x8, #16]
	add	x24, x24, #8
	cmp	x24, #24
	b.ne	LBB0_65
; %bb.66:                               ;   in Loop: Header=BB0_64 Depth=1
	mov	w8, #0
	mov	w20, #1
	tbnz	w23, #0, LBB0_64
LBB0_67:
	mov	w0, #0
LBB0_68:
	ldr	x8, [sp, #56]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_70
; %bb.69:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_70:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_vp6_dccv_pct,8,3               ; @vp6_dccv_pct
	.comm	_VP56_FRAME_CURRENT,8,3         ; @VP56_FRAME_CURRENT
	.comm	_vp6_coeff_reorder_pct,8,3      ; @vp6_coeff_reorder_pct
	.comm	_vp6_runv_pct,8,3               ; @vp6_runv_pct
	.comm	_vp6_ract_pct,8,3               ; @vp6_ract_pct
	.comm	_vp6_huff_coeff_map,4,2         ; @vp6_huff_coeff_map
	.comm	_vp6_huff_run_map,4,2           ; @vp6_huff_run_map
	.comm	_vp6_dccv_lc,8,3                ; @vp6_dccv_lc
	.no_dead_strip	_vp6_parse_coeff_models
.subsections_via_symbols
