	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rv10_decode_packet
_rv10_decode_packet:                    ## @rv10_decode_packet
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movq	%rsi, %r15
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r12
	leaq	80(%r12), %rbx
	movl	%edx, %r13d
	movl	%edx, %edi
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %esi
	callq	_FFMAX
                                        ## kill: def $eax killed $eax def $rax
	leal	(,%rax,8), %edx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_init_get_bits
	movq	(%r12), %rax
	movq	_AV_CODEC_ID_RV10@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	callq	_rv10_decode_picture_header
	jmp	LBB0_3
LBB0_2:
	movq	%r12, %rdi
	callq	_rv20_decode_picture_header
LBB0_3:
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_4
## %bb.8:
	movl	8(%r12), %ecx
	movl	12(%r12), %edx
	movl	16(%r12), %r8d
	cmpl	%edx, %ecx
	jge	LBB0_10
## %bb.9:
	movl	20(%r12), %eax
	cmpl	%eax, %r8d
	jge	LBB0_10
## %bb.12:
	movl	%r8d, %esi
	imull	%edx, %esi
	imull	%edx, %eax
	addl	%ecx, %esi
	movl	%eax, %edx
	subl	%esi, %edx
	cmpl	%edx, %r15d
	jle	LBB0_14
## %bb.13:
	movq	72(%r12), %rdi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_6
LBB0_10:
	movq	72(%r12), %rdi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_11:
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_7
LBB0_4:
	movq	_ERROR_SKIP_FRAME@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	je	LBB0_7
## %bb.5:
	movq	72(%r12), %rdi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
LBB0_6:
	xorl	%eax, %eax
	callq	_av_log
LBB0_7:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_62:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	leal	7(%rax), %edx
	testl	%eax, %eax
	cmovnsl	%eax, %edx
	sarl	$3, %edx
	cmpl	%r14d, %edx
	jg	LBB0_7
## %bb.15:
	orl	%r8d, %ecx
	movq	152(%r12), %rax
	jne	LBB0_16
## %bb.19:
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	leaq	48(%r12), %rdi
	callq	_ff_er_frame_end
	movq	%r12, %rdi
	callq	_ff_mpv_frame_end
	movq	$0, 24(%r12)
	movl	$0, 16(%r12)
	movl	$0, 8(%r12)
	jmp	LBB0_21
LBB0_16:
	testq	%rax, %rax
	je	LBB0_21
## %bb.17:
	movq	(%rax), %rax
	movq	(%rax), %rax
	cmpq	32(%r12), %rax
	je	LBB0_24
## %bb.18:
	movq	72(%r12), %rdi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_6
LBB0_21:
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_ff_mpv_frame_start
	testl	%eax, %eax
	js	LBB0_22
## %bb.23:
	movq	%r12, %rdi
	callq	_ff_mpeg_er_frame_start
LBB0_24:
	movl	120(%r12), %edx
	leaq	L_.str.4(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_ff_dlog
	movq	(%r12), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_27
## %bb.25:
	movl	16(%r12), %eax
	testl	%eax, %eax
	jne	LBB0_28
## %bb.26:
	movl	$1, 40(%r12)
	xorl	%eax, %eax
	jmp	LBB0_28
LBB0_27:
	movl	$1, 40(%r12)
	movl	8(%r12), %ecx
	movl	16(%r12), %eax
	movl	%ecx, 24(%r12)
LBB0_28:
	movl	8(%r12), %ebx
	movl	%eax, 28(%r12)
	cmpq	$0, 144(%r12)
	jne	LBB0_29
## %bb.30:
	movq	_ff_mpeg1_dc_scale_table@GOTPCREL(%rip), %rax
	jmp	LBB0_31
LBB0_29:
	movq	_ff_aic_dc_scale_table@GOTPCREL(%rip), %rax
LBB0_31:
	movl	(%rax), %eax
	movl	%eax, 136(%r12)
	movl	%eax, 140(%r12)
	cmpq	$0, 128(%r12)
	je	LBB0_33
## %bb.32:
	movq	_ff_h263_chroma_qscale_table@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 124(%r12)
LBB0_33:
	shll	$3, %r13d
	movl	120(%r12), %esi
	movq	%r12, %rdi
	callq	_ff_set_qscale
	movq	112(%r12), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	movq	$0, 16(%rax)
	movq	96(%r12), %rax
	movd	104(%r12), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqu	%xmm0, (%rax)
	movl	92(%r12), %ecx
	movl	%ecx, 20(%rax)
	movl	%ecx, 16(%rax)
	movq	%r12, %rdi
	callq	_ff_init_block_index
	movl	%r15d, 44(%r12)
	testl	%r15d, %r15d
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	je	LBB0_34
## %bb.35:
	shll	$3, -44(%rbp)                   ## 4-byte Folded Spill
	movq	_SLICE_ERROR@GOTPCREL(%rip), %rcx
	movl	%r13d, -68(%rbp)                ## 4-byte Spill
	movl	%r13d, %r14d
	movq	%rcx, %r13
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_ff_update_block_index
	movl	8(%r12), %edx
	movl	16(%r12), %ecx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.5(%rip), %rsi
	callq	_ff_tlog
	movq	_MV_DIR_FORWARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%r12)
	movq	_MV_TYPE_16X16@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 84(%r12)
	movl	64(%r12), %esi
	movq	%r12, %rdi
	callq	_ff_h263_decode_mb
	movl	%eax, %r15d
	cmpl	(%r13), %eax
	jne	LBB0_37
LBB0_43:                                ##   in Loop: Header=BB0_36 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpl	(%r13), %r15d
	jne	LBB0_45
	jmp	LBB0_48
LBB0_37:                                ##   in Loop: Header=BB0_36 Depth=1
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_get_bits_count
	cmpl	%eax, %r14d
	jge	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_36 Depth=1
	movq	%r13, %rbx
	movq	_SLICE_ERROR@GOTPCREL(%rip), %r13
	cmpl	(%r13), %r15d
	je	LBB0_48
LBB0_45:                                ##   in Loop: Header=BB0_36 Depth=1
	movq	%rbx, %rdi
	callq	_get_bits_count
	cmpl	%eax, %r14d
	jge	LBB0_48
## %bb.46:                              ##   in Loop: Header=BB0_36 Depth=1
	movq	%rbx, %rdi
	callq	_get_bits_count
	cmpl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	jl	LBB0_48
## %bb.47:                              ##   in Loop: Header=BB0_36 Depth=1
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.6(%rip), %rdx
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %r8d
	xorl	%eax, %eax
	callq	_av_log
	movq	_SLICE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_48:                                ##   in Loop: Header=BB0_36 Depth=1
	cmpl	(%r13), %r15d
	je	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_36 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_bits_count
	cmpl	%eax, %r14d
	jl	LBB0_50
## %bb.51:                              ##   in Loop: Header=BB0_36 Depth=1
	movq	32(%r12), %rax
	movq	_AV_PICTURE_TYPE_B@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_53
## %bb.52:                              ##   in Loop: Header=BB0_36 Depth=1
	movq	%r12, %rdi
	callq	_ff_h263_update_motion_val
LBB0_53:                                ##   in Loop: Header=BB0_36 Depth=1
	movl	64(%r12), %esi
	movq	%r12, %rdi
	callq	_ff_mpv_reconstruct_mb
	cmpq	$0, 56(%r12)
	je	LBB0_55
## %bb.54:                              ##   in Loop: Header=BB0_36 Depth=1
	movq	%r12, %rdi
	callq	_ff_h263_loop_filter
LBB0_55:                                ##   in Loop: Header=BB0_36 Depth=1
	movl	8(%r12), %ecx
	incl	%ecx
	movl	%ecx, 8(%r12)
	cmpl	12(%r12), %ecx
	jne	LBB0_57
## %bb.56:                              ##   in Loop: Header=BB0_36 Depth=1
	movl	$0, 8(%r12)
	incl	16(%r12)
	movq	%r12, %rdi
	callq	_ff_init_block_index
	movl	8(%r12), %ecx
LBB0_57:                                ##   in Loop: Header=BB0_36 Depth=1
	cmpl	24(%r12), %ecx
	jne	LBB0_59
## %bb.58:                              ##   in Loop: Header=BB0_36 Depth=1
	movl	$0, 40(%r12)
LBB0_59:                                ##   in Loop: Header=BB0_36 Depth=1
	movq	_SLICE_END@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	je	LBB0_61
## %bb.60:                              ##   in Loop: Header=BB0_36 Depth=1
	movl	44(%r12), %eax
	leal	-1(%rax), %edx
	movl	%edx, 44(%r12)
	cmpl	$1, %eax
	jg	LBB0_36
	jmp	LBB0_61
LBB0_39:                                ##   in Loop: Header=BB0_36 Depth=1
	movq	%r13, %rdi
	movl	$16, %esi
	callq	_show_bits
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_get_bits_count
	addl	$16, %eax
	cmpl	%r14d, %eax
	jle	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_36 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_bits_count
                                        ## kill: def $eax killed $eax def $rax
	subl	%r14d, %eax
	leal	16(%rax), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %ebx
LBB0_41:                                ##   in Loop: Header=BB0_36 Depth=1
	testl	%ebx, %ebx
	movq	_SLICE_ERROR@GOTPCREL(%rip), %r13
	jne	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_36 Depth=1
	movq	_SLICE_END@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_43
LBB0_22:
	movl	%eax, %r14d
	jmp	LBB0_62
LBB0_34:
	movl	8(%r12), %ecx
	movl	%r13d, %r14d
LBB0_61:
	leaq	48(%r12), %rdi
	movl	16(%r12), %r8d
	movl	28(%r12), %edx
	decl	%ecx
	movq	_ER_MB_END@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	-72(%rbp), %esi                 ## 4-byte Reload
	callq	_ff_er_add_slice
	jmp	LBB0_62
LBB0_50:
	movq	72(%r12), %rdi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r12), %ecx
	movl	16(%r12), %r8d
	leaq	L_.str.7(%rip), %rdx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_CODEC_ID_RV10,8,3           ## @AV_CODEC_ID_RV10
	.comm	_ERROR_SKIP_FRAME,4,2           ## @ERROR_SKIP_FRAME
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HEADER ERROR\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
L_.str.1:                               ## @.str.1
	.asciz	"POS ERROR %d %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"COUNT ERROR\n"

L_.str.3:                               ## @.str.3
	.asciz	"Slice type mismatch\n"

L_.str.4:                               ## @.str.4
	.asciz	"qscale=%d\n"

	.comm	_ff_aic_dc_scale_table,4,2      ## @ff_aic_dc_scale_table
	.comm	_ff_mpeg1_dc_scale_table,4,2    ## @ff_mpeg1_dc_scale_table
	.comm	_ff_h263_chroma_qscale_table,4,2 ## @ff_h263_chroma_qscale_table
L_.str.5:                               ## @.str.5
	.asciz	"**mb x=%d y=%d\n"

	.comm	_MV_DIR_FORWARD,4,2             ## @MV_DIR_FORWARD
	.comm	_MV_TYPE_16X16,4,2              ## @MV_TYPE_16X16
	.comm	_SLICE_ERROR,4,2                ## @SLICE_ERROR
	.comm	_SLICE_END,4,2                  ## @SLICE_END
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
L_.str.6:                               ## @.str.6
	.asciz	"update size from %d to %d\n"

	.comm	_SLICE_OK,4,2                   ## @SLICE_OK
L_.str.7:                               ## @.str.7
	.asciz	"ERROR at MB %d %d\n"

	.comm	_AV_PICTURE_TYPE_B,8,3          ## @AV_PICTURE_TYPE_B
	.comm	_ER_MB_END,4,2                  ## @ER_MB_END
	.no_dead_strip	_rv10_decode_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rv10_decode_packet
_rv10_decode_packet:                    ; @rv10_decode_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x4
	mov	x25, x3
	mov	x23, x2
	mov	x24, x1
	mov	x20, x0
	ldr	x19, [x0]
	add	x21, x19, #80
	mov	x0, x2
	mov	x1, x3
	bl	_FFMAX
	lsl	w2, w0, #3
	mov	x0, x21
	mov	x1, x24
	bl	_init_get_bits
	ldr	x8, [x19]
Lloh0:
	adrp	x26, _AV_CODEC_ID_RV10@GOTPAGE
Lloh1:
	ldr	x26, [x26, _AV_CODEC_ID_RV10@GOTPAGEOFF]
	ldr	x9, [x26]
	mov	x0, x19
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	bl	_rv10_decode_picture_header
	mov	x24, x0
	tbnz	w0, #31, LBB0_7
LBB0_2:
	ldp	w8, w10, [x19, #8]
	ldr	w9, [x19, #16]
	cmp	w8, w10
	b.ge	LBB0_9
; %bb.3:
	ldr	w11, [x19, #20]
	cmp	w9, w11
	b.ge	LBB0_9
; %bb.4:
	mul	w11, w11, w10
	madd	w10, w9, w10, w8
	sub	w10, w11, w10
	cmp	w24, w10
	b.le	LBB0_13
; %bb.5:
	ldr	x0, [x19, #72]
Lloh2:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str.2@PAGE
Lloh6:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_6:
	bl	_rv20_decode_picture_header
	mov	x24, x0
	tbz	w0, #31, LBB0_2
LBB0_7:
Lloh7:
	adrp	x8, _ERROR_SKIP_FRAME@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERROR_SKIP_FRAME@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w24, w8
	b.eq	LBB0_11
; %bb.8:
	ldr	x0, [x19, #72]
Lloh10:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_10
LBB0_9:
	ldr	x0, [x19, #72]
Lloh15:
	adrp	x10, _AV_LOG_ERROR@GOTPAGE
Lloh16:
	ldr	x10, [x10, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x10]
	stp	x8, x9, [sp]
Lloh18:
	adrp	x2, l_.str.1@PAGE
Lloh19:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_10:
	bl	_av_log
LBB0_11:
Lloh20:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh22:
	ldr	w22, [x8]
LBB0_12:
	mov	x0, x22
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_13:
	add	w10, w11, #7
	cmp	w11, #0
	csel	w10, w10, w11, lt
	cmp	w22, w10, asr #3
	b.lt	LBB0_11
; %bb.14:
	ldr	x10, [x19, #152]
	orr	w8, w8, w9
	cbnz	w8, LBB0_17
; %bb.15:
	cbz	x10, LBB0_20
; %bb.16:
	add	x0, x19, #48
	bl	_ff_er_frame_end
	mov	x0, x19
	bl	_ff_mpv_frame_end
	str	xzr, [x19, #24]
	str	wzr, [x19, #16]
	str	wzr, [x19, #8]
	b	LBB0_20
LBB0_17:
	cbz	x10, LBB0_20
; %bb.18:
	ldr	x8, [x10]
	ldr	x8, [x8]
	ldr	x9, [x19, #32]
	cmp	x8, x9
	b.eq	LBB0_22
; %bb.19:
	ldr	x0, [x19, #72]
Lloh23:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x2, l_.str.3@PAGE
Lloh27:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_10
LBB0_20:
	mov	x0, x19
	mov	x1, x20
	bl	_ff_mpv_frame_start
	tbnz	w0, #31, LBB0_51
; %bb.21:
	mov	x0, x19
	bl	_ff_mpeg_er_frame_start
LBB0_22:
	ldr	w2, [x19, #120]
Lloh28:
	adrp	x1, l_.str.4@PAGE
Lloh29:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_ff_dlog
	ldr	x8, [x19]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_25
; %bb.23:
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_26
; %bb.24:
	mov	w9, #1
	str	w9, [x19, #40]
	b	LBB0_26
LBB0_25:
	mov	w8, #1
	str	w8, [x19, #40]
	ldr	w8, [x19, #8]
	str	w8, [x19, #24]
	ldr	w8, [x19, #16]
LBB0_26:
	lsl	w22, w23, #3
	ldr	w23, [x19, #8]
	str	w8, [x19, #28]
	ldr	x8, [x19, #144]
Lloh30:
	adrp	x9, _ff_mpeg1_dc_scale_table@GOTPAGE
Lloh31:
	ldr	x9, [x9, _ff_mpeg1_dc_scale_table@GOTPAGEOFF]
Lloh32:
	adrp	x10, _ff_aic_dc_scale_table@GOTPAGE
Lloh33:
	ldr	x10, [x10, _ff_aic_dc_scale_table@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
	stp	w8, w8, [x19, #136]
	ldr	x8, [x19, #128]
	cbz	x8, LBB0_28
; %bb.27:
Lloh34:
	adrp	x8, _ff_h263_chroma_qscale_table@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ff_h263_chroma_qscale_table@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	str	w8, [x19, #124]
LBB0_28:
	ldr	w1, [x19, #120]
	mov	x0, x19
	bl	_ff_set_qscale
	ldr	x8, [x19, #112]
	add	x9, x19, #104
	stp	xzr, xzr, [x8, #8]
	str	xzr, [x8]
	ldr	x8, [x19, #96]
	ld1r.4s	{ v0 }, [x9]
	str	q0, [x8]
	ldr	w9, [x19, #92]
	stp	w9, w9, [x8, #16]
	mov	x0, x19
	bl	_ff_init_block_index
	str	w24, [x19, #44]
	str	w23, [sp, #36]                  ; 4-byte Folded Spill
	cbz	w24, LBB0_52
; %bb.29:
Lloh37:
	adrp	x24, l_.str.5@PAGE
Lloh38:
	add	x24, x24, l_.str.5@PAGEOFF
Lloh39:
	adrp	x27, _MV_DIR_FORWARD@GOTPAGE
Lloh40:
	ldr	x27, [x27, _MV_DIR_FORWARD@GOTPAGEOFF]
Lloh41:
	adrp	x8, _MV_TYPE_16X16@GOTPAGE
Lloh42:
	ldr	x8, [x8, _MV_TYPE_16X16@GOTPAGEOFF]
Lloh43:
	adrp	x28, _SLICE_ERROR@GOTPAGE
Lloh44:
	ldr	x28, [x28, _SLICE_ERROR@GOTPAGEOFF]
	lsl	w9, w25, #3
	str	x9, [sp, #40]                   ; 8-byte Folded Spill
	mov	x25, x8
Lloh45:
	adrp	x23, _AV_PICTURE_TYPE_B@GOTPAGE
Lloh46:
	ldr	x23, [x23, _AV_PICTURE_TYPE_B@GOTPAGEOFF]
	mov	x8, x22
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_ff_update_block_index
	ldr	w2, [x19, #8]
	ldr	w3, [x19, #16]
	mov	x0, x20
	mov	x1, x24
	bl	_ff_tlog
	ldr	w8, [x27]
	ldr	w9, [x25]
	stp	w9, w8, [x19, #84]
	ldr	w1, [x19, #64]
	mov	x0, x19
	bl	_ff_h263_decode_mb
	mov	x26, x0
	ldr	w8, [x28]
	cmp	w0, w8
	b.eq	LBB0_35
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x21
	bl	_get_bits_count
	cmp	w22, w0
	b.lt	LBB0_35
; %bb.32:                               ;   in Loop: Header=BB0_30 Depth=1
	mov	x28, x23
	mov	x23, x25
	mov	x25, x24
	mov	x24, x27
	mov	x0, x21
	mov	w1, #16
	bl	_show_bits
	mov	x27, x0
	mov	x0, x21
	bl	_get_bits_count
	add	w8, w0, #16
	cmp	w8, w22
	b.le	LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x21
	bl	_get_bits_count
	sub	w8, w0, w22
	add	w8, w8, #16
	asr	w27, w27, w8
LBB0_34:                                ;   in Loop: Header=BB0_30 Depth=1
Lloh47:
	adrp	x8, _SLICE_END@GOTPAGE
Lloh48:
	ldr	x8, [x8, _SLICE_END@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	cmp	w27, #0
	csel	w26, w8, w26, eq
	mov	x27, x24
	mov	x24, x25
	mov	x25, x23
	mov	x23, x28
Lloh50:
	adrp	x28, _SLICE_ERROR@GOTPAGE
Lloh51:
	ldr	x28, [x28, _SLICE_ERROR@GOTPAGEOFF]
LBB0_35:                                ;   in Loop: Header=BB0_30 Depth=1
	ldr	w8, [x28]
	cmp	w26, w8
	b.eq	LBB0_39
; %bb.36:                               ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x21
	bl	_get_bits_count
	cmp	w22, w0
	b.ge	LBB0_39
; %bb.37:                               ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x21
	bl	_get_bits_count
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	cmp	w8, w0
	b.lt	LBB0_39
; %bb.38:                               ;   in Loop: Header=BB0_30 Depth=1
Lloh52:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh53:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	ldr	x22, [sp, #40]                  ; 8-byte Folded Reload
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	stp	x8, x22, [sp]
	mov	x0, x20
Lloh55:
	adrp	x2, l_.str.6@PAGE
Lloh56:
	add	x2, x2, l_.str.6@PAGEOFF
	bl	_av_log
Lloh57:
	adrp	x8, _SLICE_OK@GOTPAGE
Lloh58:
	ldr	x8, [x8, _SLICE_OK@GOTPAGEOFF]
Lloh59:
	ldr	w26, [x8]
                                        ; kill: def $w22 killed $w22 killed $x22
LBB0_39:                                ;   in Loop: Header=BB0_30 Depth=1
	ldr	w8, [x28]
	cmp	w26, w8
	b.eq	LBB0_54
; %bb.40:                               ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x21
	bl	_get_bits_count
	cmp	w22, w0
	b.lt	LBB0_54
; %bb.41:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	x8, [x19, #32]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x19
	bl	_ff_h263_update_motion_val
LBB0_43:                                ;   in Loop: Header=BB0_30 Depth=1
	ldr	w1, [x19, #64]
	mov	x0, x19
	bl	_ff_mpv_reconstruct_mb
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_45
; %bb.44:                               ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x19
	bl	_ff_h263_loop_filter
LBB0_45:                                ;   in Loop: Header=BB0_30 Depth=1
	ldp	w8, w9, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	cmp	w8, w9
	b.ne	LBB0_47
; %bb.46:                               ;   in Loop: Header=BB0_30 Depth=1
	str	wzr, [x19, #8]
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	mov	x0, x19
	bl	_ff_init_block_index
	ldr	w8, [x19, #8]
LBB0_47:                                ;   in Loop: Header=BB0_30 Depth=1
	ldr	w9, [x19, #24]
	cmp	w8, w9
	b.ne	LBB0_49
; %bb.48:                               ;   in Loop: Header=BB0_30 Depth=1
	str	wzr, [x19, #40]
LBB0_49:                                ;   in Loop: Header=BB0_30 Depth=1
Lloh60:
	adrp	x9, _SLICE_END@GOTPAGE
Lloh61:
	ldr	x9, [x9, _SLICE_END@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
	cmp	w26, w9
	b.eq	LBB0_53
; %bb.50:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	w9, [x19, #44]
	subs	w9, w9, #1
	str	w9, [x19, #44]
	b.gt	LBB0_30
	b	LBB0_53
LBB0_51:
	mov	x22, x0
	b	LBB0_12
LBB0_52:
	ldr	w8, [x19, #8]
LBB0_53:
	add	x0, x19, #48
	ldr	w2, [x19, #28]
	sub	w3, w8, #1
	ldr	w4, [x19, #16]
Lloh63:
	adrp	x8, _ER_MB_END@GOTPAGE
Lloh64:
	ldr	x8, [x8, _ER_MB_END@GOTPAGEOFF]
Lloh65:
	ldr	w5, [x8]
	ldr	w1, [sp, #36]                   ; 4-byte Folded Reload
	bl	_ff_er_add_slice
	b	LBB0_12
LBB0_54:
	ldr	x0, [x19, #72]
Lloh66:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh67:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
	ldr	w8, [x19, #8]
	ldr	w9, [x19, #16]
	stp	x8, x9, [sp]
Lloh69:
	adrp	x2, l_.str.7@PAGE
Lloh70:
	add	x2, x2, l_.str.7@PAGEOFF
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_CODEC_ID_RV10,8,3           ; @AV_CODEC_ID_RV10
	.comm	_ERROR_SKIP_FRAME,4,2           ; @ERROR_SKIP_FRAME
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HEADER ERROR\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
l_.str.1:                               ; @.str.1
	.asciz	"POS ERROR %d %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"COUNT ERROR\n"

l_.str.3:                               ; @.str.3
	.asciz	"Slice type mismatch\n"

l_.str.4:                               ; @.str.4
	.asciz	"qscale=%d\n"

	.comm	_ff_aic_dc_scale_table,4,2      ; @ff_aic_dc_scale_table
	.comm	_ff_mpeg1_dc_scale_table,4,2    ; @ff_mpeg1_dc_scale_table
	.comm	_ff_h263_chroma_qscale_table,4,2 ; @ff_h263_chroma_qscale_table
l_.str.5:                               ; @.str.5
	.asciz	"**mb x=%d y=%d\n"

	.comm	_MV_DIR_FORWARD,4,2             ; @MV_DIR_FORWARD
	.comm	_MV_TYPE_16X16,4,2              ; @MV_TYPE_16X16
	.comm	_SLICE_ERROR,4,2                ; @SLICE_ERROR
	.comm	_SLICE_END,4,2                  ; @SLICE_END
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
l_.str.6:                               ; @.str.6
	.asciz	"update size from %d to %d\n"

	.comm	_SLICE_OK,4,2                   ; @SLICE_OK
l_.str.7:                               ; @.str.7
	.asciz	"ERROR at MB %d %d\n"

	.comm	_AV_PICTURE_TYPE_B,8,3          ; @AV_PICTURE_TYPE_B
	.comm	_ER_MB_END,4,2                  ; @ER_MB_END
	.no_dead_strip	_rv10_decode_packet
.subsections_via_symbols
