	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vp8_decode_frame_header
_vp8_decode_frame_header:               ## @vp8_decode_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rdi, %rbx
	movq	112(%rdi), %rdi
	cmpl	$2, %edx
	jg	LBB0_4
## %bb.1:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movl	%r12d, %ecx
LBB0_2:
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_3
LBB0_4:
	movq	%rsi, %r15
	movl	(%rdi), %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	4(%rdi), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %eax
	notl	%eax
	andl	$1, %eax
	movl	%eax, (%rbx)
	movl	(%rsi), %eax
	shrl	%eax
	andl	$7, %eax
	movl	%eax, 4(%rbx)
	xorl	%eax, %eax
	testb	$16, (%rsi)
	sete	%al
	movl	%eax, 8(%rbx)
	movq	%rsi, %rdi
	callq	_AV_RL24
	movl	%eax, %r13d
	sarl	$5, %r13d
	leal	-3(%r12), %r14d
	movl	%r13d, 12(%rbx)
	movl	4(%rbx), %ecx
	cmpl	$4, %ecx
	jl	LBB0_6
## %bb.5:
	movq	112(%rbx), %rdi
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
	movl	4(%rbx), %ecx
LBB0_6:
	xorl	%eax, %eax
	testl	%ecx, %ecx
	sete	%al
	movl	232(%rbx), %edi
	movl	224(%rbx,%rax,4), %esi
	movl	$4, %edx
	callq	_memcpy
	movl	(%rbx), %eax
	leal	(,%rax,8), %ecx
	movl	%eax, %edx
	subl	%ecx, %edx
	addl	%r14d, %edx
	cmpl	%edx, %r13d
	jle	LBB0_9
## %bb.7:
	movq	112(%rbx), %rdi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_8
LBB0_9:
	movl	%r14d, %ecx
	leaq	12(%r15), %r14
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	movq	%r14, %rdi
	callq	_AV_RL24
	cmpl	$2752925, %eax                  ## imm = 0x2A019D
	jne	LBB0_12
## %bb.13:
	leaq	24(%r15), %rdi
	callq	_AV_RL16
	movl	%eax, %r14d
	leaq	32(%r15), %rdi
	callq	_AV_RL16
                                        ## kill: def $eax killed $eax def $rax
	cmpl	$63, 28(%r15)
	ja	LBB0_15
## %bb.14:
	cmpl	$64, 36(%r15)
	jb	LBB0_16
LBB0_15:
	movq	112(%rbx), %rdi
	leaq	L_.str.4(%rip), %rsi
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	_avpriv_request_sample
	movq	-56(%rbp), %rax                 ## 8-byte Reload
LBB0_16:
	andl	$16383, %r14d                   ## imm = 0x3FFF
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	andl	$16383, %eax                    ## imm = 0x3FFF
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	addq	$40, %r15
	addl	$-10, %r12d
	movq	_VP56_FRAME_CURRENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 216(%rbx)
	movl	%eax, 220(%rbx)
	movq	%rbx, %rdi
	callq	_vp78_reset_probability_tables
	movq	80(%rbx), %rax
	movl	40(%rax), %edi
	movq	_vp8_pred16x16_prob_inter@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_memcpy
	movq	80(%rbx), %rax
	movl	36(%rax), %edi
	movq	_vp8_pred8x8c_prob_inter@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_memcpy
	movq	80(%rbx), %rax
	movl	32(%rax), %edi
	movq	_vp8_mv_default_prob@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_memcpy
	leaq	176(%rbx), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	leaq	128(%rbx), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	%r12d, %eax
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	%r15, %r14
	jmp	LBB0_17
LBB0_10:
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
LBB0_17:
	leaq	32(%rbx), %r12
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	callq	_ff_vp56_init_range_decoder
	testl	%eax, %eax
	js	LBB0_47
## %bb.18:
	cmpl	$0, (%rbx)
	je	LBB0_22
## %bb.19:
	movq	%r12, %rdi
	callq	_vp8_rac_get
	movq	%rax, 208(%rbx)
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	112(%rbx), %rdi
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
LBB0_21:
	movq	%r12, %rdi
	callq	_vp8_rac_get
	movq	%rax, 200(%rbx)
LBB0_22:
	movslq	%r13d, %r15
	movq	%r12, %rdi
	callq	_vp8_rac_get
	movq	%rax, 184(%rbx)
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	movq	%rbx, %rdi
	callq	_parse_segment_info
	jmp	LBB0_25
LBB0_12:
	movq	112(%rbx), %r15
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_AV_RL24
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %ecx
	jmp	LBB0_2
LBB0_24:
	movq	$0, 192(%rbx)
LBB0_25:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	leaq	(%r14,%r15,4), %r14
	subl	%r13d, %eax
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_vp8_rac_get
	movq	%rax, 168(%rbx)
	movq	%r12, %rdi
	movl	$6, %esi
	callq	_vp8_rac_get_uint
	movq	%rax, 160(%rbx)
	movq	%r12, %rdi
	movl	$3, %esi
	callq	_vp8_rac_get_uint
	movq	%rax, 152(%rbx)
	movq	%r12, %rdi
	callq	_vp8_rac_get
	movq	%rax, 136(%rbx)
	testq	%rax, %rax
	je	LBB0_28
## %bb.26:
	movq	%r12, %rdi
	callq	_vp8_rac_get
	movq	%rax, 128(%rbx)
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:
	movq	%rbx, %rdi
	callq	_update_lf_deltas
LBB0_28:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_setup_partitions
	testq	%rax, %rax
	je	LBB0_30
## %bb.29:
	movq	112(%rbx), %rdi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdx
LBB0_8:
	xorl	%eax, %eax
	callq	_av_log
LBB0_3:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_47:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	cmpl	$0, 120(%rbx)
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_35
## %bb.31:
	movq	112(%rbx), %rax
	cmpl	(%rax), %esi
	jne	LBB0_35
## %bb.32:
	cmpl	4(%rax), %edx
	jne	LBB0_35
## %bb.33:
	leal	15(%rsi), %eax
	leal	30(%rsi), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$4, %ecx
	cmpl	16(%rbx), %ecx
	jne	LBB0_35
## %bb.34:
	leal	15(%rdx), %eax
	leal	30(%rdx), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$4, %ecx
	cmpl	20(%rbx), %ecx
	je	LBB0_36
LBB0_35:
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_vp8_update_dimensions
	testl	%eax, %eax
	js	LBB0_47
LBB0_36:
	movq	%rbx, %rdi
	callq	_vp8_get_quants
	cmpl	$0, (%rbx)
	jne	LBB0_38
## %bb.37:
	movq	%rbx, %rdi
	callq	_update_refs
	movq	%r12, %rdi
	callq	_vp8_rac_get
	movq	104(%rbx), %rcx
	movq	_VP56_FRAME_GOLDEN@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rax, (%rcx,%rdx,8)
	movq	%r12, %rdi
	callq	_vp8_rac_get
	movq	104(%rbx), %rcx
	movq	_VP56_FRAME_GOLDEN2@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rax, (%rcx,%rdx,8)
LBB0_38:
	movq	%r12, %rdi
	callq	_vp8_rac_get
	movq	%rax, 96(%rbx)
	testq	%rax, %rax
	jne	LBB0_40
## %bb.39:
	movq	80(%rbx), %rax
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movups	32(%rax), %xmm2
	movups	%xmm2, 80(%rax)
	movups	%xmm1, 64(%rax)
	movups	%xmm0, 48(%rax)
LBB0_40:
	movl	$1, %ecx
	cmpl	$0, (%rbx)
	jne	LBB0_42
## %bb.41:
	movq	%r12, %rdi
	callq	_vp8_rac_get
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
LBB0_42:
	movl	%ecx, 24(%rbx)
	movq	%rbx, %rdi
	callq	_vp78_update_probability_tables
	movq	%r12, %rdi
	callq	_vp8_rac_get
	movq	%rax, 88(%rbx)
	testq	%rax, %rax
	je	LBB0_44
## %bb.43:
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_vp8_rac_get_uint
	movq	80(%rbx), %rcx
	movq	%rax, 24(%rcx)
LBB0_44:
	cmpl	$0, (%rbx)
	jne	LBB0_46
## %bb.45:
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_vp8_rac_get_uint
	movq	80(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_vp8_rac_get_uint
	movq	80(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_vp8_rac_get_uint
	movq	80(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	_VP8_MVC_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_vp78_update_pred16x16_pred8x8_mvc_probabilities
LBB0_46:
	movq	%r12, %rdi
	callq	_vp56_rac_renorm
	movl	%eax, 32(%rbx)
	movq	48(%rbx), %rcx
	movl	36(%rbx), %edx
	movl	40(%rbx), %r8d
	leal	7(%rdx), %esi
	testl	%edx, %edx
	cmovnsl	%edx, %esi
	movl	%esi, %edi
	sarl	$3, %edi
	negl	%edi
	movslq	%edi, %rdi
	subq	%rdi, %rcx
	movq	%rcx, 72(%rbx)
	movl	%r8d, 64(%rbx)
	sarl	$16, %eax
	movl	%eax, 56(%rbx)
	andl	$-8, %esi
	subl	%edx, %esi
	movl	%esi, 60(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_47
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Insufficent data (%d) for header\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.1:                               ## @.str.1
	.asciz	"Unknown profile %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Header size larger than data provided\n"

L_.str.3:                               ## @.str.3
	.asciz	"Invalid start code 0x%x\n"

L_.str.4:                               ## @.str.4
	.asciz	"Upscaling"

	.comm	_VP56_FRAME_CURRENT,4,2         ## @VP56_FRAME_CURRENT
	.comm	_vp8_pred16x16_prob_inter,4,2   ## @vp8_pred16x16_prob_inter
	.comm	_vp8_pred8x8c_prob_inter,4,2    ## @vp8_pred8x8c_prob_inter
	.comm	_vp8_mv_default_prob,4,2        ## @vp8_mv_default_prob
L_.str.5:                               ## @.str.5
	.asciz	"Unspecified colorspace\n"

L_.str.6:                               ## @.str.6
	.asciz	"Invalid partitions\n"

	.comm	_VP56_FRAME_GOLDEN,8,3          ## @VP56_FRAME_GOLDEN
	.comm	_VP56_FRAME_GOLDEN2,8,3         ## @VP56_FRAME_GOLDEN2
	.comm	_VP8_MVC_SIZE,4,2               ## @VP8_MVC_SIZE
	.no_dead_strip	_vp8_decode_frame_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vp8_decode_frame_header
_vp8_decode_frame_header:               ; @vp8_decode_frame_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x22, x2
	mov	x19, x0
	ldr	x0, [x0, #112]
	subs	w26, w2, #3
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	str	x22, [sp]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_26
LBB0_2:
	mov	x25, x1
	ldp	w20, w21, [x0]
	ldr	w8, [x1]
	mvn	w8, w8
	and	w8, w8, #0x1
	str	w8, [x19]
	ldr	w8, [x1]
	ubfx	w8, w8, #1, #3
	str	w8, [x19, #4]
	mov	x24, x1
	ldr	w8, [x24], #12
	mov	w9, #1
	bic	w8, w9, w8, lsr #4
	str	w8, [x19, #8]
	mov	x0, x1
	bl	_AV_RL24
	asr	w23, w0, #5
	str	w23, [x19, #12]
	ldr	w8, [x19, #4]
	cmp	w8, #3
	b.le	LBB0_4
; %bb.3:
	ldr	x0, [x19, #112]
Lloh5:
	adrp	x9, _AV_LOG_WARNING@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x9]
	str	x8, [sp]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_av_log
	ldr	w8, [x19, #4]
LBB0_4:
	ldr	w0, [x19, #232]
	cmp	w8, #0
	mov	w8, #224
	mov	w9, #228
	csel	x8, x9, x8, eq
	ldr	w1, [x19, x8]
	mov	w2, #4
	bl	_memcpy
	ldr	w8, [x19]
	sub	w9, w8, w8, lsl #3
	add	w9, w9, w26
	cmp	w23, w9
	b.le	LBB0_6
; %bb.5:
	ldr	x0, [x19, #112]
Lloh10:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x2, l_.str.2@PAGE
Lloh14:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_26
LBB0_6:
	cbz	w8, LBB0_12
; %bb.7:
	mov	x0, x24
	bl	_AV_RL24
	sub	w8, w0, #672, lsl #12           ; =2752512
	cmp	w8, #413
	b.ne	LBB0_19
; %bb.8:
	add	x0, x25, #24
	bl	_AV_RL16
	and	w20, w0, #0x3fff
	add	x0, x25, #32
	bl	_AV_RL16
	and	w21, w0, #0x3fff
	ldr	w8, [x25, #28]
	add	x24, x25, #40
	sub	w26, w22, #10
	cmp	w8, #63
	b.hi	LBB0_10
; %bb.9:
	ldr	w8, [x25, #36]
	cmp	w8, #64
	b.lo	LBB0_11
LBB0_10:
	ldr	x0, [x19, #112]
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_avpriv_request_sample
LBB0_11:
Lloh17:
	adrp	x8, _VP56_FRAME_CURRENT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _VP56_FRAME_CURRENT@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	stp	w8, w8, [x19, #216]
	mov	x0, x19
	bl	_vp78_reset_probability_tables
	ldr	x8, [x19, #80]
	ldr	w0, [x8, #40]
Lloh20:
	adrp	x8, _vp8_pred16x16_prob_inter@GOTPAGE
Lloh21:
	ldr	x8, [x8, _vp8_pred16x16_prob_inter@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x19, #80]
	ldr	w0, [x8, #36]
Lloh23:
	adrp	x8, _vp8_pred8x8c_prob_inter@GOTPAGE
Lloh24:
	ldr	x8, [x8, _vp8_pred8x8c_prob_inter@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x19, #80]
	ldr	w0, [x8, #32]
Lloh26:
	adrp	x8, _vp8_mv_default_prob@GOTPAGE
Lloh27:
	ldr	x8, [x8, _vp8_mv_default_prob@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_memcpy
	add	x0, x19, #176
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	add	x0, x19, #128
	mov	w1, #0
	mov	w2, #24
	bl	_memset
LBB0_12:
	add	x22, x19, #32
	mov	x0, x22
	mov	x1, x24
	mov	x2, x23
	bl	_ff_vp56_init_range_decoder
	tbnz	w0, #31, LBB0_27
; %bb.13:
	ldr	w8, [x19]
	cbz	w8, LBB0_17
; %bb.14:
	mov	x0, x22
	bl	_vp8_rac_get
	str	x0, [x19, #208]
	cbz	x0, LBB0_16
; %bb.15:
	ldr	x0, [x19, #112]
Lloh29:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh30:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
Lloh32:
	adrp	x2, l_.str.5@PAGE
Lloh33:
	add	x2, x2, l_.str.5@PAGEOFF
	bl	_av_log
LBB0_16:
	mov	x0, x22
	bl	_vp8_rac_get
	str	x0, [x19, #200]
LBB0_17:
	add	x24, x24, w23, sxtw #2
	sub	w23, w26, w23
	mov	x0, x22
	bl	_vp8_rac_get
	str	x0, [x19, #184]
	cbz	x0, LBB0_20
; %bb.18:
	mov	x0, x19
	bl	_parse_segment_info
	b	LBB0_21
LBB0_19:
	ldr	x19, [x19, #112]
Lloh34:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh35:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh36:
	ldr	w20, [x8]
	mov	x0, x24
	bl	_AV_RL24
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh37:
	adrp	x2, l_.str.3@PAGE
Lloh38:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	b	LBB0_26
LBB0_20:
	str	xzr, [x19, #192]
LBB0_21:
	mov	x0, x22
	bl	_vp8_rac_get
	str	x0, [x19, #168]
	mov	x0, x22
	mov	w1, #6
	bl	_vp8_rac_get_uint
	str	x0, [x19, #160]
	mov	x0, x22
	mov	w1, #3
	bl	_vp8_rac_get_uint
	str	x0, [x19, #152]
	mov	x0, x22
	bl	_vp8_rac_get
	str	x0, [x19, #136]
	cbz	x0, LBB0_24
; %bb.22:
	mov	x0, x22
	bl	_vp8_rac_get
	str	x0, [x19, #128]
	cbz	x0, LBB0_24
; %bb.23:
	mov	x0, x19
	bl	_update_lf_deltas
LBB0_24:
	mov	x0, x19
	mov	x1, x24
	mov	x2, x23
	bl	_setup_partitions
	cbz	x0, LBB0_28
; %bb.25:
	ldr	x0, [x19, #112]
Lloh39:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh40:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
Lloh42:
	adrp	x2, l_.str.6@PAGE
Lloh43:
	add	x2, x2, l_.str.6@PAGEOFF
LBB0_26:
	bl	_av_log
Lloh44:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh45:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
LBB0_27:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_28:
	ldr	w8, [x19, #120]
	cbz	w8, LBB0_33
; %bb.29:
	ldr	x8, [x19, #112]
	ldr	w9, [x8]
	cmp	w20, w9
	b.ne	LBB0_33
; %bb.30:
	ldr	w8, [x8, #4]
	cmp	w21, w8
	b.ne	LBB0_33
; %bb.31:
	add	w8, w20, #15
	add	w9, w20, #30
	cmp	w8, #0
	csel	w8, w9, w8, lt
	ldr	w9, [x19, #16]
	cmp	w9, w8, asr #4
	b.ne	LBB0_33
; %bb.32:
	add	w8, w21, #15
	add	w9, w21, #30
	cmp	w8, #0
	csel	w8, w9, w8, lt
	ldr	w9, [x19, #20]
	cmp	w9, w8, asr #4
	b.eq	LBB0_34
LBB0_33:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_vp8_update_dimensions
	tbnz	w0, #31, LBB0_27
LBB0_34:
	mov	x0, x19
	bl	_vp8_get_quants
	ldr	w8, [x19]
	cbnz	w8, LBB0_36
; %bb.35:
	mov	x0, x19
	bl	_update_refs
	mov	x0, x22
	bl	_vp8_rac_get
	ldr	x8, [x19, #104]
Lloh47:
	adrp	x9, _VP56_FRAME_GOLDEN@GOTPAGE
Lloh48:
	ldr	x9, [x9, _VP56_FRAME_GOLDEN@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	str	x0, [x8, x9, lsl #3]
	mov	x0, x22
	bl	_vp8_rac_get
	ldr	x8, [x19, #104]
Lloh50:
	adrp	x9, _VP56_FRAME_GOLDEN2@GOTPAGE
Lloh51:
	ldr	x9, [x9, _VP56_FRAME_GOLDEN2@GOTPAGEOFF]
Lloh52:
	ldr	x9, [x9]
	str	x0, [x8, x9, lsl #3]
LBB0_36:
	mov	x0, x22
	bl	_vp8_rac_get
	str	x0, [x19, #96]
	cbnz	x0, LBB0_38
; %bb.37:
	ldr	x8, [x19, #80]
	ldp	q0, q1, [x8]
	stp	q0, q1, [x8, #48]
	ldr	q0, [x8, #32]
	str	q0, [x8, #80]
LBB0_38:
	ldr	w8, [x19]
	cbz	w8, LBB0_40
; %bb.39:
	mov	w8, #1
	b	LBB0_41
LBB0_40:
	mov	x0, x22
	bl	_vp8_rac_get
	cmp	x0, #0
	cset	w8, ne
LBB0_41:
	str	w8, [x19, #24]
	mov	x0, x19
	bl	_vp78_update_probability_tables
	mov	x0, x22
	bl	_vp8_rac_get
	str	x0, [x19, #88]
	cbz	x0, LBB0_43
; %bb.42:
	mov	x0, x22
	mov	w1, #8
	bl	_vp8_rac_get_uint
	ldr	x8, [x19, #80]
	str	x0, [x8, #24]
LBB0_43:
	ldr	w8, [x19]
	cbnz	w8, LBB0_45
; %bb.44:
	mov	x0, x22
	mov	w1, #8
	bl	_vp8_rac_get_uint
	ldr	x8, [x19, #80]
	str	x0, [x8, #16]
	mov	x0, x22
	mov	w1, #8
	bl	_vp8_rac_get_uint
	ldr	x8, [x19, #80]
	str	x0, [x8, #8]
	mov	x0, x22
	mov	w1, #8
	bl	_vp8_rac_get_uint
	ldr	x8, [x19, #80]
	str	x0, [x8]
Lloh53:
	adrp	x8, _VP8_MVC_SIZE@GOTPAGE
Lloh54:
	ldr	x8, [x8, _VP8_MVC_SIZE@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_vp78_update_pred16x16_pred8x8_mvc_probabilities
LBB0_45:
	mov	x0, x22
	bl	_vp56_rac_renorm
	mov	x8, x0
	mov	w0, #0
	ldr	x9, [x19, #48]
	ldp	w10, w11, [x19, #36]
	add	w12, w10, #7
	cmp	w10, #0
	csel	w12, w12, w10, lt
	neg	w12, w12, asr #3
	sub	x9, x9, w12, sxtw
	str	x9, [x19, #72]
	str	w8, [x19, #32]
	asr	w8, w8, #16
	negs	w9, w10
	and	w9, w9, #0x7
	and	w10, w10, #0x7
	csneg	w9, w10, w9, mi
	neg	w9, w9
	str	w8, [x19, #56]
	stp	w9, w11, [x19, #60]
	b	LBB0_27
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Insufficent data (%d) for header\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.1:                               ; @.str.1
	.asciz	"Unknown profile %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Header size larger than data provided\n"

l_.str.3:                               ; @.str.3
	.asciz	"Invalid start code 0x%x\n"

l_.str.4:                               ; @.str.4
	.asciz	"Upscaling"

	.comm	_VP56_FRAME_CURRENT,4,2         ; @VP56_FRAME_CURRENT
	.comm	_vp8_pred16x16_prob_inter,4,2   ; @vp8_pred16x16_prob_inter
	.comm	_vp8_pred8x8c_prob_inter,4,2    ; @vp8_pred8x8c_prob_inter
	.comm	_vp8_mv_default_prob,4,2        ; @vp8_mv_default_prob
l_.str.5:                               ; @.str.5
	.asciz	"Unspecified colorspace\n"

l_.str.6:                               ; @.str.6
	.asciz	"Invalid partitions\n"

	.comm	_VP56_FRAME_GOLDEN,8,3          ; @VP56_FRAME_GOLDEN
	.comm	_VP56_FRAME_GOLDEN2,8,3         ; @VP56_FRAME_GOLDEN2
	.comm	_VP8_MVC_SIZE,4,2               ; @VP8_MVC_SIZE
	.no_dead_strip	_vp8_decode_frame_header
.subsections_via_symbols
