	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rv34_decode_mv
_rv34_decode_mv:                        ## @rv34_decode_mv
	.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	%esi, %r14d
	movq	%rdi, %rbx
	movl	16(%rdi), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	24(%rdi), %eax
	imull	20(%rdi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%rdi), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movslq	%r14d, %r15
	movq	_num_mvs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax,%r15,4)
	jle	LBB0_6
## %bb.1:
	leaq	60(%rbx), %r12
	xorl	%r13d, %r13d
	movq	_INVALID_VLC@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_get_interleaved_se_golomb
	movq	(%rbx), %rcx
	movq	(%rcx,%r13,8), %rcx
	movq	%rax, (%rcx)
	movq	%r12, %rdi
	callq	_get_interleaved_se_golomb
	movq	(%rbx), %rcx
	movq	(%rcx,%r13,8), %rcx
	movq	%rax, 8(%rcx)
	movq	(%r14), %rdx
	cmpq	%rdx, (%rcx)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rax, %rdx
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	movq	_num_mvs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%rax,%r15,4), %rax
	cmpq	%rax, %r13
	jl	LBB0_3
LBB0_6:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	leal	-128(%r15), %eax
	cmpl	$11, %eax
	ja	LBB0_7
## %bb.8:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	movq	32(%rbx), %rax
	movq	(%rax), %rax
	movl	24(%rbx), %esi
	movl	20(%rbx), %ecx
	imull	%esi, %ecx
	addl	16(%rbx), %ecx
	movq	(%rax), %rax
	addl	%ecx, %ecx
	movslq	%ecx, %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_ZERO8x2
	xorl	%r14d, %r14d
	jmp	LBB0_42
LBB0_5:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rcx)
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_42
LBB0_28:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_rv34_pred_mv
	movq	%rbx, %rdi
	movl	%r15d, %esi
LBB0_29:
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	$2, %r9d
	jmp	LBB0_30
LBB0_37:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_rv34_pred_mv
	xorl	%edx, %edx
	cmpl	$134, %r15d
	sete	%dl
	incl	%edx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	$1, %ecx
	callq	_rv34_pred_mv
	cmpl	$134, %r15d
	jne	LBB0_40
## %bb.38:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	movl	$134, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	$2, %r9d
	pushq	$0
	pushq	$1
	callq	_rv34_mc_1mv
	addq	$16, %rsp
	movl	24(%rbx), %r8d
	movq	%rbx, %rdi
	movl	$134, %esi
	xorl	%edx, %edx
	movl	$8, %ecx
	movl	$2, %r9d
	jmp	LBB0_39
LBB0_33:
	movq	(%rbx), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	movq	(%rcx), %rdx
	movq	%rdx, (%rax)
	movq	8(%rcx), %rcx
	movq	%rcx, 8(%rax)
	xorl	%r12d, %r12d
	cmpl	$139, %r15d
	sete	%r12b
	cmpl	$0, 8(%rbx)
	je	LBB0_35
## %bb.34:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	_rv34_pred_mv_rv3
	jmp	LBB0_36
LBB0_7:
	xorl	%r14d, %r14d
	jmp	LBB0_42
LBB0_11:
	movl	56(%rbx), %eax
	movq	_AV_PICTURE_TYPE_P@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_13
## %bb.12:
	movq	32(%rbx), %rax
	movq	(%rax), %rax
	movl	24(%rbx), %esi
	movl	20(%rbx), %ecx
	imull	%esi, %ecx
	addl	16(%rbx), %ecx
	movq	(%rax), %rax
	addl	%ecx, %ecx
	movslq	%ecx, %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_ZERO8x2
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	movl	$130, %esi
	jmp	LBB0_29
LBB0_13:
	movq	_HAVE_THREADS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_16
## %bb.14:
	movq	48(%rbx), %rax
	movq	_FF_THREAD_FRAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_16
## %bb.15:
	movq	40(%rbx), %r12
	addq	$16, %r12
	movl	20(%rbx), %esi
	decl	%esi
	xorl	%edi, %edi
	callq	_FFMAX
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_ff_thread_await_progress
LBB0_16:
	movq	40(%rbx), %rax
	movq	(%rax), %rax
	movslq	16(%rbx), %rcx
	movslq	20(%rbx), %rdx
	movslq	28(%rbx), %rsi
	imulq	%rdx, %rsi
	addq	%rcx, %rsi
	movl	(%rax,%rsi,4), %r14d
	movl	%r14d, %edi
	callq	_IS_INTRA
	testl	%eax, %eax
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	jne	LBB0_43
## %bb.17:
	movl	%r14d, %edi
	callq	_IS_SKIP
	testl	%eax, %eax
	je	LBB0_18
LBB0_43:
	movq	32(%rbx), %rax
	movq	(%rax), %rax
	movl	24(%rbx), %esi
	movl	20(%rbx), %ecx
	imull	%esi, %ecx
	addl	16(%rbx), %ecx
	movq	(%rax), %rax
	addl	%ecx, %ecx
	movslq	%ecx, %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_ZERO8x2
	movq	32(%rbx), %rax
	movq	(%rax), %rax
	movl	24(%rbx), %esi
	movl	20(%rbx), %ecx
	imull	%esi, %ecx
	addl	16(%rbx), %ecx
	movq	8(%rax), %rax
	addl	%ecx, %ecx
	movslq	%ecx, %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_ZERO8x2
LBB0_22:
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	callq	_IS_16X8
	testl	%eax, %eax
	jne	LBB0_26
## %bb.23:
	movl	%r14d, %edi
	callq	_IS_8X16
	testl	%eax, %eax
	jne	LBB0_26
## %bb.24:
	movl	%r14d, %edi
	callq	_IS_8X8
	testl	%eax, %eax
	je	LBB0_25
LBB0_26:
	movq	%rbx, %rdi
	callq	_rv34_mc_2mv_skip
LBB0_27:
	xorl	%r14d, %r14d
	movq	32(%rbx), %rax
	movq	(%rax), %rax
	movl	24(%rbx), %esi
	movl	20(%rbx), %ecx
	imull	%esi, %ecx
	addl	16(%rbx), %ecx
	movq	(%rax), %rax
	addl	%ecx, %ecx
	movslq	%ecx, %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_ZERO8x2
	jmp	LBB0_42
LBB0_9:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	movl	$132, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_rv34_pred_mv
	movq	%rbx, %rdi
	movl	$132, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	pushq	$0
	pushq	$1
	callq	_rv34_mc_1mv
	addq	$16, %rsp
	movq	%rbx, %rdi
	movl	$132, %esi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_rv34_pred_mv
	movq	%rbx, %rdi
	movl	$132, %esi
	movl	$8, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	pushq	$0
	pushq	$1
	callq	_rv34_mc_1mv
	addq	$16, %rsp
	movq	%rbx, %rdi
	movl	$132, %esi
	movl	$2, %edx
	movl	$2, %ecx
	callq	_rv34_pred_mv
	movl	24(%rbx), %r8d
	movq	%rbx, %rdi
	movl	$132, %esi
	xorl	%edx, %edx
	movl	$8, %ecx
	movl	$1, %r9d
	pushq	$0
	pushq	$1
	callq	_rv34_mc_1mv
	addq	$16, %rsp
	movq	%rbx, %rdi
	movl	$132, %esi
	movl	$3, %edx
	movl	$3, %ecx
	callq	_rv34_pred_mv
	movl	24(%rbx), %r8d
	incl	%r8d
	movq	%rbx, %rdi
	movl	$132, %esi
	movl	$8, %edx
	movl	$8, %ecx
	movl	$1, %r9d
LBB0_39:
	pushq	$0
	pushq	$1
	jmp	LBB0_32
LBB0_41:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	movl	$138, %esi
	xorl	%edx, %edx
	callq	_rv34_pred_mv_b
	movq	%rbx, %rdi
	movl	$138, %esi
	movl	$1, %edx
	callq	_rv34_pred_mv_b
	movq	%rbx, %rdi
	movl	$138, %esi
	callq	_rv34_mc_2mv
	jmp	LBB0_42
LBB0_40:
	movq	%rbx, %rdi
	movl	$133, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	pushq	$0
	pushq	$2
	callq	_rv34_mc_1mv
	addq	$16, %rsp
	movq	%rbx, %rdi
	movl	$133, %esi
	movl	$8, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
LBB0_30:
	pushq	$0
	jmp	LBB0_31
LBB0_35:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	_rv34_pred_mv_b
LBB0_36:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	$2, %r9d
	pushq	%r12
LBB0_31:
	pushq	$2
LBB0_32:
	callq	_rv34_mc_1mv
	addq	$16, %rsp
LBB0_42:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	addl	-52(%rbp), %r13d                ## 4-byte Folded Reload
	addl	%r13d, %r13d
	xorl	%r12d, %r12d
	movb	$1, %al
	.p2align	4, 0x90
LBB0_19:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_20 Depth 2
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movb	$1, %r15b
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	orl	%r13d, %r14d
	movq	40(%rbx), %rax
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movl	24(%rbx), %ecx
	imull	%r12d, %ecx
	addl	%r14d, %ecx
	movslq	%ecx, %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_calc_add_mv
	movq	32(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movl	24(%rbx), %edx
	imull	%r12d, %edx
	addl	%r14d, %edx
	movslq	%edx, %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx)
	movq	40(%rbx), %rax
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movl	24(%rbx), %ecx
	imull	%r12d, %ecx
	addl	%r14d, %ecx
	movslq	%ecx, %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_calc_add_mv
	movq	32(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	8(%rcx), %rcx
	movl	24(%rbx), %edx
	imull	%r12d, %edx
	addl	%r14d, %edx
	movslq	%edx, %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, (%rcx)
	movq	40(%rbx), %rax
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movl	24(%rbx), %ecx
	imull	%r12d, %ecx
	addl	%r14d, %ecx
	movslq	%ecx, %rcx
	movq	(%rax,%rcx,8), %rax
	movl	4(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_calc_add_mv
	movq	32(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movl	24(%rbx), %edx
	imull	%r12d, %edx
	addl	%r14d, %edx
	movslq	%edx, %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, 4(%rcx)
	movq	40(%rbx), %rax
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movl	24(%rbx), %ecx
	imull	%r12d, %ecx
	addl	%r14d, %ecx
	movslq	%ecx, %rcx
	movq	(%rax,%rcx,8), %rax
	movl	4(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_calc_add_mv
	movq	32(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	8(%rcx), %rcx
	movl	24(%rbx), %edx
	imull	%r12d, %edx
	addl	%r14d, %edx
	movslq	%edx, %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	%eax, 4(%rcx)
	movl	$1, %r14d
	testb	$1, %r15b
	movl	$0, %r15d
	jne	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	$1, %r12d
	testb	$1, -44(%rbp)                   ## 1-byte Folded Reload
	movl	$0, %eax
	jne	LBB0_19
	jmp	LBB0_22
LBB0_25:
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_rv34_mc_2mv
	jmp	LBB0_27
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_37, LBB0_37-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_41, LBB0_41-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_28
	.long	L0_0_set_9
	.long	L0_0_set_37
	.long	L0_0_set_37
	.long	L0_0_set_28
	.long	L0_0_set_33
	.long	L0_0_set_13
	.long	L0_0_set_41
	.long	L0_0_set_33
	.end_data_region
                                        ## -- End function
	.comm	_num_mvs,8,3                    ## @num_mvs
	.comm	_INVALID_VLC,8,3                ## @INVALID_VLC
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_PICTURE_TYPE_P,4,2          ## @AV_PICTURE_TYPE_P
	.comm	_HAVE_THREADS,4,2               ## @HAVE_THREADS
	.comm	_FF_THREAD_FRAME,4,2            ## @FF_THREAD_FRAME
	.no_dead_strip	_rv34_decode_mv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rv34_decode_mv
_rv34_decode_mv:                        ; @rv34_decode_mv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.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	x20, x1
	mov	x19, x0
	ldp	w8, w23, [x0, #16]
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	ldr	w24, [x0, #24]
	ldr	x0, [x0]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh0:
	adrp	x25, _num_mvs@GOTPAGE
Lloh1:
	ldr	x25, [x25, _num_mvs@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	w8, [x8, w20, sxtw #2]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x26, #0
	add	x21, x19, #60
	sxtw	x27, w20
Lloh2:
	adrp	x28, _INVALID_VLC@GOTPAGE
Lloh3:
	ldr	x28, [x28, _INVALID_VLC@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_get_interleaved_se_golomb
	ldr	x8, [x19]
	lsl	x22, x26, #3
	ldr	x8, [x8, x22]
	str	x0, [x8]
	mov	x0, x21
	bl	_get_interleaved_se_golomb
	ldr	x8, [x19]
	ldr	x8, [x8, x22]
	str	x0, [x8, #8]
	ldr	x9, [x8]
	ldr	x10, [x28]
	cmp	x9, x10
	ccmp	x10, x0, #4, ne
	b.eq	LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x26, x26, #1
	ldr	x8, [x25]
	ldrsw	x8, [x8, x27, lsl #2]
	cmp	x26, x8
	b.lt	LBB0_2
LBB0_4:
	sub	w8, w20, #128
	cmp	w8, #11
	b.hi	LBB0_34
; %bb.5:
Lloh4:
	adrp	x9, lJTI0_0@PAGE
Lloh5:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_6
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	mov	w3, #0
	bl	_rv34_pred_mv
	mov	x0, x19
	mov	x1, x20
LBB0_7:
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	w5, #2
	b	LBB0_29
LBB0_8:
	stp	xzr, xzr, [x8]
Lloh6:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_35
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	mov	w3, #0
	bl	_rv34_pred_mv
	cmp	w20, #134
	mov	w8, #1
	cinc	w2, w8, eq
	mov	x0, x19
	mov	x1, x20
	mov	w3, #1
	bl	_rv34_pred_mv
	mov	x0, x19
	cmp	w20, #134
	b.ne	LBB0_28
; %bb.10:
	mov	w1, #134
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	w5, #2
	mov	w6, #1
	mov	w7, #0
	bl	_rv34_mc_1mv
	ldr	w4, [x19, #24]
	mov	x0, x19
	mov	w1, #134
	mov	w2, #0
	mov	w3, #8
	mov	w5, #2
	mov	w6, #1
	b	LBB0_30
LBB0_11:
	ldr	x8, [x19]
	ldp	x9, x8, [x8]
	ldr	x10, [x9]
	str	x10, [x8]
	ldr	x9, [x9, #8]
	str	x9, [x8, #8]
	ldr	w8, [x19, #8]
	cmp	w20, #139
	cset	w21, eq
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	cbz	w8, LBB0_31
; %bb.12:
	bl	_rv34_pred_mv_rv3
	b	LBB0_32
LBB0_13:
	ldr	w8, [x19, #56]
Lloh9:
	adrp	x9, _AV_PICTURE_TYPE_P@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AV_PICTURE_TYPE_P@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_15
; %bb.14:
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldp	w9, w10, [x19, #16]
	ldr	w1, [x19, #24]
	madd	w9, w1, w10, w9
	lsl	w9, w9, #1
	ldr	x0, [x8, w9, sxtw #3]
	bl	_ZERO8x2
	mov	x0, x19
	mov	w1, #130
	b	LBB0_7
LBB0_15:
Lloh12:
	adrp	x8, _HAVE_THREADS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HAVE_THREADS@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cbz	w8, LBB0_18
; %bb.16:
	ldr	x8, [x19, #48]
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _FF_THREAD_FRAME@GOTPAGE
Lloh16:
	ldr	x9, [x9, _FF_THREAD_FRAME@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:
	ldr	x8, [x19, #40]
	add	x21, x8, #16
	ldr	w8, [x19, #20]
	sub	w1, w8, #1
	mov	w0, #0
	bl	_FFMAX
	mov	x1, x0
	mov	x0, x21
	mov	w2, #0
	bl	_ff_thread_await_progress
LBB0_18:
	ldr	x8, [x19, #40]
	ldr	x8, [x8]
	ldp	w9, w10, [x19, #16]
	ldr	w11, [x19, #28]
	madd	w9, w11, w10, w9
	ldr	w21, [x8, w9, sxtw #2]
	mov	x0, x21
	bl	_IS_INTRA
	cbnz	w0, LBB0_20
; %bb.19:
	mov	x0, x21
	bl	_IS_SKIP
	cbz	w0, LBB0_36
LBB0_20:
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldp	w9, w10, [x19, #16]
	ldr	w1, [x19, #24]
	madd	w9, w1, w10, w9
	lsl	w9, w9, #1
	ldr	x0, [x8, w9, sxtw #3]
	bl	_ZERO8x2
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	ldp	w9, w10, [x19, #16]
	ldr	w1, [x19, #24]
	madd	w9, w1, w10, w9
	lsl	w9, w9, #1
	ldr	x0, [x8, w9, sxtw #3]
	bl	_ZERO8x2
LBB0_21:
	mov	x0, x21
	bl	_IS_16X8
	cbnz	w0, LBB0_24
; %bb.22:
	mov	x0, x21
	bl	_IS_8X16
	cbnz	w0, LBB0_24
; %bb.23:
	mov	x0, x21
	bl	_IS_8X8
	cbz	w0, LBB0_40
LBB0_24:
	mov	x0, x19
	bl	_rv34_mc_2mv_skip
LBB0_25:
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldp	w9, w10, [x19, #16]
	ldr	w1, [x19, #24]
	madd	w9, w1, w10, w9
	lsl	w9, w9, #1
	ldr	x0, [x8, w9, sxtw #3]
	bl	_ZERO8x2
	b	LBB0_34
LBB0_26:
	mov	x0, x19
	mov	w1, #132
	mov	w2, #0
	mov	w3, #0
	bl	_rv34_pred_mv
	mov	x0, x19
	mov	w1, #132
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	w5, #1
	mov	w6, #1
	mov	w7, #0
	bl	_rv34_mc_1mv
	mov	x0, x19
	mov	w1, #132
	mov	w2, #1
	mov	w3, #1
	bl	_rv34_pred_mv
	mov	x0, x19
	mov	w1, #132
	mov	w2, #8
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #1
	mov	w7, #0
	bl	_rv34_mc_1mv
	mov	x0, x19
	mov	w1, #132
	mov	w2, #2
	mov	w3, #2
	bl	_rv34_pred_mv
	ldr	w4, [x19, #24]
	mov	x0, x19
	mov	w1, #132
	mov	w2, #0
	mov	w3, #8
	mov	w5, #1
	mov	w6, #1
	mov	w7, #0
	bl	_rv34_mc_1mv
	mov	x0, x19
	mov	w1, #132
	mov	w2, #3
	mov	w3, #3
	bl	_rv34_pred_mv
	ldr	w8, [x19, #24]
	add	w4, w8, #1
	mov	x0, x19
	mov	w1, #132
	mov	w2, #8
	mov	w3, #8
	mov	w5, #1
	mov	w6, #1
	b	LBB0_30
LBB0_27:
	mov	x0, x19
	mov	w1, #138
	mov	w2, #0
	bl	_rv34_pred_mv_b
	mov	x0, x19
	mov	w1, #138
	mov	w2, #1
	bl	_rv34_pred_mv_b
	mov	x0, x19
	mov	w1, #138
	bl	_rv34_mc_2mv
	b	LBB0_34
LBB0_28:
	mov	w1, #133
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	w5, #1
	mov	w6, #2
	mov	w7, #0
	bl	_rv34_mc_1mv
	mov	x0, x19
	mov	w1, #133
	mov	w2, #8
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
LBB0_29:
	mov	w6, #2
LBB0_30:
	mov	w7, #0
	b	LBB0_33
LBB0_31:
	bl	_rv34_pred_mv_b
LBB0_32:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	w5, #2
	mov	w6, #2
	mov	x7, x21
LBB0_33:
	bl	_rv34_mc_1mv
LBB0_34:
	mov	w0, #0
LBB0_35:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_36:
	mov	w25, #0
	mul	w8, w24, w23
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	add	w8, w8, w9
	lsl	w22, w8, #1
	mov	w8, #1
LBB0_37:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_38 Depth 2
	mov	w27, #0
	mov	x23, x8
	mov	w8, #1
LBB0_38:                                ;   Parent Loop BB0_37 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x24, x8
	orr	w26, w22, w27
	ldr	x8, [x19, #40]
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	ldr	w9, [x19, #24]
	madd	w9, w9, w25, w26
	ldr	x8, [x8, w9, sxtw #3]
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_calc_add_mv
	ldp	x8, x9, [x19, #32]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w10, [x19, #24]
	madd	w10, w10, w25, w26
	ldr	x8, [x8, w10, sxtw #3]
	str	w0, [x8]
	ldr	x8, [x9, #8]
	ldr	x8, [x8]
	ldr	w9, [x19, #24]
	madd	w9, w9, w25, w26
	ldr	x8, [x8, w9, sxtw #3]
	ldr	w2, [x8]
	mov	w27, #1
	mov	x0, x19
	mov	w1, #1
	bl	_calc_add_mv
	ldp	x8, x9, [x19, #32]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	ldr	w10, [x19, #24]
	madd	w10, w10, w25, w26
	ldr	x8, [x8, w10, sxtw #3]
	str	w0, [x8]
	ldr	x8, [x9, #8]
	ldr	x8, [x8]
	ldr	w9, [x19, #24]
	madd	w9, w9, w25, w26
	ldr	x8, [x8, w9, sxtw #3]
	ldr	w2, [x8, #4]
	mov	x0, x19
	mov	w1, #0
	bl	_calc_add_mv
	ldp	x8, x9, [x19, #32]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w10, [x19, #24]
	madd	w10, w10, w25, w26
	ldr	x8, [x8, w10, sxtw #3]
	str	w0, [x8, #4]
	ldr	x8, [x9, #8]
	ldr	x8, [x8]
	ldr	w9, [x19, #24]
	madd	w9, w9, w25, w26
	ldr	x8, [x8, w9, sxtw #3]
	ldr	w2, [x8, #4]
	mov	x0, x19
	mov	w1, #1
	bl	_calc_add_mv
	mov	w8, #0
	ldr	x9, [x19, #32]
	ldr	x9, [x9]
	ldr	x9, [x9, #8]
	ldr	w10, [x19, #24]
	madd	w10, w10, w25, w26
	ldr	x9, [x9, w10, sxtw #3]
	str	w0, [x9, #4]
	tbnz	w24, #0, LBB0_38
; %bb.39:                               ;   in Loop: Header=BB0_37 Depth=1
	mov	w8, #0
	mov	w25, #1
	tbnz	w23, #0, LBB0_37
	b	LBB0_21
LBB0_40:
	mov	x0, x19
	mov	x1, x20
	bl	_rv34_mc_2mv
	b	LBB0_25
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_25-LBB0_6)>>2
	.byte	(LBB0_25-LBB0_6)>>2
	.byte	(LBB0_13-LBB0_6)>>2
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_26-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_11-LBB0_6)>>2
	.byte	(LBB0_15-LBB0_6)>>2
	.byte	(LBB0_27-LBB0_6)>>2
	.byte	(LBB0_11-LBB0_6)>>2
                                        ; -- End function
	.comm	_num_mvs,8,3                    ; @num_mvs
	.comm	_INVALID_VLC,8,3                ; @INVALID_VLC
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_PICTURE_TYPE_P,4,2          ; @AV_PICTURE_TYPE_P
	.comm	_HAVE_THREADS,4,2               ; @HAVE_THREADS
	.comm	_FF_THREAD_FRAME,4,2            ; @FF_THREAD_FRAME
	.no_dead_strip	_rv34_decode_mv
.subsections_via_symbols
