	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_hevc_luma_mv_mvp_mode       ## -- Begin function ff_hevc_luma_mv_mvp_mode
	.p2align	4, 0x90
_ff_hevc_luma_mv_mvp_mode:              ## @ff_hevc_luma_mv_mvp_mode
	.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	$248, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -224(%rbp)                ## 8-byte Spill
	movl	%edx, %ebx
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -216(%rbp)                ## 8-byte Spill
	movq	%rdi, %r15
	movslq	48(%rbp), %rdx
	movl	$0, -100(%rbp)                  ## 4-byte Folded Spill
	testq	%rdx, %rdx
	movq	32(%rbp), %rcx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	24(%rdi), %rax
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movl	(%rax), %edi
	movl	4(%rax), %r12d
	movl	8(%rax), %esi
	movl	%esi, -208(%rbp)                ## 4-byte Spill
	movl	12(%rax), %esi
	movl	%esi, -204(%rbp)                ## 4-byte Spill
	movl	16(%rax), %eax
	movl	%eax, -200(%rbp)                ## 4-byte Spill
	movq	(%rcx), %rax
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	movl	(%rax,%rdx,4), %eax
	movl	%eax, -196(%rbp)                ## 4-byte Spill
	sete	%r13b
	movq	_A0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_AVAILABLE
	testl	%eax, %eax
	movq	%r15, -152(%rbp)                ## 8-byte Spill
	movq	%r14, -192(%rbp)                ## 8-byte Spill
	movq	%rbx, -232(%rbp)                ## 8-byte Spill
	je	LBB0_3
## %bb.1:
	leal	(%r14,%rbx), %eax
	movq	8(%r15), %rcx
	cmpl	4(%rcx), %eax
	jge	LBB0_3
## %bb.2:
	movq	_A0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_PRED_BLOCK_AVAILABLE
	testq	%rax, %rax
	setne	%r14b
	jmp	LBB0_4
LBB0_3:
	xorl	%r14d, %r14d
	movq	_A0@GOTPCREL(%rip), %rbx
LBB0_4:
	movl	-100(%rbp), %eax                ## 4-byte Reload
	movb	%r13b, %al
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	movq	_A1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_AVAILABLE
	movl	%eax, %r12d
	testl	%eax, %eax
	setne	-105(%rbp)                      ## 1-byte Folded Spill
	testb	%r14b, %r14b
	movq	-152(%rbp), %r15                ## 8-byte Reload
	je	LBB0_9
## %bb.5:
	movl	(%rbx), %edi
	movq	-160(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-176(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movq	-120(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_MP_MX
	movl	$1, %r13d
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:
	movl	(%rbx), %edi
	movq	-160(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-176(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movl	-100(%rbp), %esi                ## 4-byte Reload
	callq	_MP_MX
	testq	%rax, %rax
	jne	LBB0_6
LBB0_9:
	testl	%r12d, %r12d
	je	LBB0_14
## %bb.10:
	movq	_A1@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	-160(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-176(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movq	-120(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_MP_MX
	movl	$1, %r13d
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movl	$0, -104(%rbp)                  ## 4-byte Folded Spill
	movq	-152(%rbp), %r15                ## 8-byte Reload
	jmp	LBB0_25
LBB0_12:
	movl	(%r15), %edi
	movq	-160(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-176(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movl	-100(%rbp), %esi                ## 4-byte Reload
	callq	_MP_MX
	testq	%rax, %rax
	movq	-152(%rbp), %r15                ## 8-byte Reload
	jne	LBB0_6
LBB0_14:
	testb	%r14b, %r14b
	je	LBB0_19
## %bb.15:
	movl	(%rbx), %edi
	movq	-160(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-176(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movq	-120(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_MP_MX_LT
	movl	$1, %r13d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.17:
	movl	(%rbx), %edi
	movq	-160(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-176(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movl	-100(%rbp), %esi                ## 4-byte Reload
	callq	_MP_MX_LT
	testl	%eax, %eax
	jne	LBB0_6
LBB0_19:
	testl	%r12d, %r12d
	je	LBB0_24
## %bb.20:
	movq	_A1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	-160(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-176(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movq	-120(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_MP_MX_LT
	movl	$1, %r13d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.22:
	movl	(%rbx), %edi
	movq	-160(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-176(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movl	-100(%rbp), %esi                ## 4-byte Reload
	callq	_MP_MX_LT
	testl	%eax, %eax
	je	LBB0_24
LBB0_6:
	movl	$0, -104(%rbp)                  ## 4-byte Folded Spill
LBB0_25:
	movq	_B0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	-200(%rbp), %edi                ## 4-byte Reload
	callq	_AVAILABLE
	testl	%eax, %eax
	movl	%r13d, -180(%rbp)               ## 4-byte Spill
	je	LBB0_28
## %bb.26:
	movq	-224(%rbp), %rax                ## 8-byte Reload
	movq	-216(%rbp), %rcx                ## 8-byte Reload
	addl	%ecx, %eax
	movq	8(%r15), %rcx
	cmpl	8(%rcx), %eax
	jge	LBB0_28
## %bb.27:
	movq	%rbx, %r15
	movl	(%rbx), %edi
	callq	_PRED_BLOCK_AVAILABLE
	testq	%rax, %rax
	setne	%r12b
	jmp	LBB0_29
LBB0_28:
	movq	%rbx, %r15
	xorl	%r12d, %r12d
LBB0_29:
	orb	-105(%rbp), %r14b               ## 1-byte Folded Reload
	movq	_B1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-204(%rbp), %edi                ## 4-byte Reload
	callq	_AVAILABLE
	movl	%eax, %r13d
	movq	_B2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-208(%rbp), %edi                ## 4-byte Reload
	callq	_AVAILABLE
	movl	%eax, %ebx
	testb	%r12b, %r12b
	je	LBB0_32
## %bb.30:
	movl	(%r15), %edi
	movq	-128(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-144(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movq	-120(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_MP_MX
	testq	%rax, %rax
	jne	LBB0_38
## %bb.31:
	movl	(%r15), %edi
	movq	-128(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-144(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movl	-100(%rbp), %esi                ## 4-byte Reload
	callq	_MP_MX
	testq	%rax, %rax
	jne	LBB0_38
LBB0_32:
	testl	%r13d, %r13d
	je	LBB0_35
## %bb.33:
	movq	_B1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-128(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-144(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movq	-120(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_MP_MX
	testq	%rax, %rax
	jne	LBB0_38
## %bb.34:
	movq	_B1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-128(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-144(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movl	-100(%rbp), %esi                ## 4-byte Reload
	callq	_MP_MX
	testq	%rax, %rax
	jne	LBB0_38
LBB0_35:
	testl	%ebx, %ebx
	je	LBB0_61
## %bb.36:
	movq	_B2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-128(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-144(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movq	-120(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_MP_MX
	testq	%rax, %rax
	jne	LBB0_38
## %bb.37:
	movq	_B2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-128(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-144(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movl	-100(%rbp), %esi                ## 4-byte Reload
	callq	_MP_MX
	testq	%rax, %rax
	je	LBB0_61
LBB0_38:
	testb	%r14b, %r14b
	je	LBB0_41
## %bb.39:
	cmpb	$0, -104(%rbp)                  ## 1-byte Folded Reload
	movq	-192(%rbp), %r14                ## 8-byte Reload
	je	LBB0_55
## %bb.40:
	leaq	-144(%rbp), %rax
	movq	32(%rbp), %r12
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movl	40(%rbp), %ebx
	jmp	LBB0_64
LBB0_41:
	movq	-128(%rbp), %rax
	movq	%rax, -160(%rbp)
	movups	-144(%rbp), %xmm0
	movaps	%xmm0, -176(%rbp)
	movl	$1, -180(%rbp)                  ## 4-byte Folded Spill
	movq	-192(%rbp), %r14                ## 8-byte Reload
LBB0_42:
	xorl	%eax, %eax
	testb	%r12b, %r12b
	je	LBB0_45
## %bb.43:
	movl	(%r15), %edi
	movq	-128(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-144(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movq	-120(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_MP_MX_LT
	testl	%eax, %eax
	jne	LBB0_53
## %bb.44:
	movl	(%r15), %edi
	movq	-128(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-144(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movl	-100(%rbp), %esi                ## 4-byte Reload
	callq	_MP_MX_LT
LBB0_45:
	testl	%r13d, %r13d
	je	LBB0_49
## %bb.46:
	testl	%eax, %eax
	jne	LBB0_49
## %bb.47:
	movq	_B1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-128(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-144(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movq	-120(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_MP_MX_LT
	testl	%eax, %eax
	jne	LBB0_53
## %bb.48:
	movq	_B1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-128(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-144(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movl	-100(%rbp), %esi                ## 4-byte Reload
	callq	_MP_MX_LT
LBB0_49:
	testl	%ebx, %ebx
	je	LBB0_53
## %bb.50:
	testl	%eax, %eax
	jne	LBB0_53
## %bb.51:
	movq	_B2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-128(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-144(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movq	-120(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_MP_MX_LT
	testl	%eax, %eax
	jne	LBB0_53
## %bb.52:
	movq	_B2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-128(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-144(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movl	-100(%rbp), %esi                ## 4-byte Reload
	callq	_MP_MX_LT
LBB0_53:
	cmpl	$0, -180(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_59
## %bb.54:
	movq	-160(%rbp), %rcx
	movq	%rcx, -80(%rbp)
	movaps	-176(%rbp), %xmm0
	movaps	%xmm0, -96(%rbp)
	testl	%eax, %eax
	movq	32(%rbp), %r12
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movl	40(%rbp), %ebx
	jne	LBB0_56
	jmp	LBB0_65
LBB0_55:
	movq	-160(%rbp), %rax
	movq	%rax, -80(%rbp)
	movaps	-176(%rbp), %xmm0
	movaps	%xmm0, -96(%rbp)
	movq	32(%rbp), %r12
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movl	40(%rbp), %ebx
LBB0_56:
	movq	-176(%rbp), %rax
	cmpq	-144(%rbp), %rax
	jne	LBB0_58
## %bb.57:
	movq	-168(%rbp), %rcx
	movl	$1, %eax
	cmpq	-136(%rbp), %rcx
	je	LBB0_66
LBB0_58:
	movq	-128(%rbp), %rax
	movq	%rax, -56(%rbp)
	movups	-144(%rbp), %xmm0
	movups	%xmm0, -72(%rbp)
	jmp	LBB0_70
LBB0_59:
	testl	%eax, %eax
	movq	32(%rbp), %r12
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movl	40(%rbp), %ebx
	je	LBB0_72
## %bb.60:
	leaq	-144(%rbp), %rax
	jmp	LBB0_64
LBB0_61:
	testb	%r14b, %r14b
	movq	-192(%rbp), %r14                ## 8-byte Reload
	je	LBB0_42
## %bb.62:
	xorl	%eax, %eax
	cmpb	$0, -104(%rbp)                  ## 1-byte Folded Reload
	movq	32(%rbp), %r12
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movl	40(%rbp), %ebx
	jne	LBB0_66
## %bb.63:
	leaq	-176(%rbp), %rax
LBB0_64:
	movq	16(%rax), %rcx
	movq	%rcx, -80(%rbp)
	movups	(%rax), %xmm0
	movaps	%xmm0, -96(%rbp)
LBB0_65:
	movl	$1, %eax
LBB0_66:
	cmpl	%ebx, %eax
	jne	LBB0_70
LBB0_67:
	cmpq	$0, (%rdi)
	je	LBB0_70
## %bb.68:
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	%eax, 8(%rsp)
	leaq	-256(%rbp), %rax
	movq	%rax, (%rsp)
	movq	-216(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	-232(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movq	-224(%rbp), %rcx                ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%r14d, %r8d
	movl	-196(%rbp), %r9d                ## 4-byte Reload
	callq	_temporal_luma_motion_vector
	testl	%eax, %eax
	je	LBB0_70
## %bb.69:
	movl	%ebx, %eax
	leaq	(%rax,%rax,2), %rax
	movq	-240(%rbp), %rcx
	movq	%rcx, -80(%rbp,%rax,8)
	movups	-256(%rbp), %xmm0
	movups	%xmm0, -96(%rbp,%rax,8)
LBB0_70:
	movq	8(%r12), %rax
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rcx,2), %rcx
	movslq	%ebx, %rdx
	leaq	(%rdx,%rdx,2), %rdx
	movq	-80(%rbp,%rdx,8), %rsi
	movq	%rsi, 16(%rax,%rcx,8)
	movups	-96(%rbp,%rdx,8), %xmm0
	movups	%xmm0, (%rax,%rcx,8)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_73
## %bb.71:
	addq	$248, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_72:
	xorl	%eax, %eax
	cmpl	%ebx, %eax
	je	LBB0_67
	jmp	LBB0_70
LBB0_24:
	xorl	%r13d, %r13d
	movb	$1, %al
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	jmp	LBB0_25
LBB0_73:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_A0,4,2                         ## @A0
	.comm	_A1,4,2                         ## @A1
	.comm	_B0,4,2                         ## @B0
	.comm	_B1,4,2                         ## @B1
	.comm	_B2,4,2                         ## @B2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_hevc_luma_mv_mvp_mode       ; -- Begin function ff_hevc_luma_mv_mvp_mode
	.p2align	2
_ff_hevc_luma_mv_mvp_mode:              ; @ff_hevc_luma_mv_mvp_mode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	stp	w1, w3, [sp, #32]               ; 8-byte Folded Spill
	mov	x23, x2
	mov	x24, x0
	ldrsw	x19, [x29, #28]
	cmp	x19, #0
	cset	w8, eq
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	ldr	x9, [x29, #16]
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x8, [x0, #24]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #80]
	str	q0, [sp, #64]
	ldp	w0, w20, [x8]
	ldp	w27, w28, [x8, #8]
	ldr	w25, [x8, #16]
	str	x9, [sp, #16]                   ; 8-byte Folded Spill
	ldr	x8, [x9]
	ldr	w8, [x8, x19, lsl #2]
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
Lloh3:
	adrp	x21, _A0@GOTPAGE
Lloh4:
	ldr	x21, [x21, _A0@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_AVAILABLE
	str	w22, [sp, #8]                   ; 4-byte Folded Spill
	str	w23, [sp, #28]                  ; 4-byte Folded Spill
	cbz	w0, LBB0_3
; %bb.1:
	ldr	x8, [x24, #8]
	ldr	w8, [x8, #4]
	add	w9, w22, w23
	cmp	w9, w8
	b.ge	LBB0_3
; %bb.2:
	ldr	w0, [x21]
	bl	_PRED_BLOCK_AVAILABLE
	cmp	x0, #0
	cset	w22, ne
	b	LBB0_4
LBB0_3:
	mov	w22, #0
LBB0_4:
Lloh5:
	adrp	x23, _A1@GOTPAGE
Lloh6:
	ldr	x23, [x23, _A1@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x20
	bl	_AVAILABLE
	mov	x20, x0
	cmp	w0, #0
	cset	w26, ne
	cbz	w22, LBB0_7
; %bb.5:
	ldr	w0, [x21]
	add	x2, sp, #40
	mov	x1, x19
	bl	_MP_MX
	cbnz	x0, LBB0_16
; %bb.6:
	ldr	w0, [x21]
	add	x2, sp, #40
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_MP_MX
	cbnz	x0, LBB0_16
LBB0_7:
	cbz	w20, LBB0_10
; %bb.8:
	ldr	w0, [x23]
	add	x2, sp, #40
	mov	x1, x19
	bl	_MP_MX
	cbnz	x0, LBB0_16
; %bb.9:
	ldr	w0, [x23]
	add	x2, sp, #40
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_MP_MX
	cbnz	x0, LBB0_16
LBB0_10:
	cbz	w22, LBB0_13
; %bb.11:
	ldr	w0, [x21]
	add	x2, sp, #40
	mov	x1, x19
	bl	_MP_MX_LT
	cbnz	w0, LBB0_16
; %bb.12:
	ldr	w0, [x21]
	add	x2, sp, #40
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_MP_MX_LT
	cbnz	w0, LBB0_16
LBB0_13:
	cbz	w20, LBB0_51
; %bb.14:
	ldr	w0, [x23]
	add	x2, sp, #40
	mov	x1, x19
	bl	_MP_MX_LT
	cbnz	w0, LBB0_16
; %bb.15:
	ldr	w0, [x23]
	add	x2, sp, #40
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_MP_MX_LT
	cbz	w0, LBB0_51
LBB0_16:
	mov	w20, #1
LBB0_17:
Lloh7:
	adrp	x23, _B0@GOTPAGE
Lloh8:
	ldr	x23, [x23, _B0@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x25
	bl	_AVAILABLE
	cbz	w0, LBB0_20
; %bb.18:
	ldr	x8, [x24, #8]
	ldr	w8, [x8, #8]
	ldp	w10, w9, [sp, #32]              ; 8-byte Folded Reload
	add	w9, w9, w10
	cmp	w9, w8
	b.ge	LBB0_20
; %bb.19:
	ldr	w0, [x23]
	bl	_PRED_BLOCK_AVAILABLE
	cmp	x0, #0
	cset	w21, ne
	b	LBB0_21
LBB0_20:
	mov	w21, #0
LBB0_21:
	orr	w22, w22, w26
Lloh9:
	adrp	x26, _B1@GOTPAGE
Lloh10:
	ldr	x26, [x26, _B1@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x28
	bl	_AVAILABLE
	mov	x28, x0
Lloh11:
	adrp	x8, _B2@GOTPAGE
Lloh12:
	ldr	x8, [x8, _B2@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x27
	bl	_AVAILABLE
	mov	x25, x0
	cbz	w21, LBB0_24
; %bb.22:
	ldr	w0, [x23]
	add	x2, sp, #40
	mov	x1, x19
	bl	_MP_MX
	cbnz	x0, LBB0_30
; %bb.23:
	ldr	w0, [x23]
	add	x2, sp, #40
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_MP_MX
	cbnz	x0, LBB0_30
LBB0_24:
	cbz	w28, LBB0_27
; %bb.25:
	ldr	w0, [x26]
	add	x2, sp, #40
	mov	x1, x19
	bl	_MP_MX
	cbnz	x0, LBB0_30
; %bb.26:
	ldr	w0, [x26]
	add	x2, sp, #40
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_MP_MX
	cbnz	x0, LBB0_30
LBB0_27:
	cbz	w25, LBB0_42
; %bb.28:
Lloh14:
	adrp	x27, _B2@GOTPAGE
Lloh15:
	ldr	x27, [x27, _B2@GOTPAGEOFF]
	ldr	w0, [x27]
	add	x2, sp, #40
	mov	x1, x19
	bl	_MP_MX
	cbnz	x0, LBB0_30
; %bb.29:
	ldr	w0, [x27]
	add	x2, sp, #40
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_MP_MX
	cbz	x0, LBB0_42
LBB0_30:
	mov	w8, #0
	mov	w0, #1
	tbnz	w22, #0, LBB0_43
LBB0_31:
	cmp	w8, #0
	csinc	w20, w20, wzr, ne
	cbz	w21, LBB0_34
; %bb.32:
	ldr	w0, [x23]
	add	x2, sp, #40
	mov	x1, x19
	bl	_MP_MX_LT
	cbnz	w0, LBB0_43
; %bb.33:
	ldr	w0, [x23]
	add	x2, sp, #40
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_MP_MX_LT
	cbnz	w28, LBB0_35
	b	LBB0_38
LBB0_34:
	mov	w0, #0
	cbz	w28, LBB0_38
LBB0_35:
	cbnz	w0, LBB0_38
; %bb.36:
	ldr	w0, [x26]
	add	x2, sp, #40
	mov	x1, x19
	bl	_MP_MX_LT
	cbnz	w0, LBB0_43
; %bb.37:
	ldr	w0, [x26]
	add	x2, sp, #40
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_MP_MX_LT
LBB0_38:
	ldr	w23, [sp, #28]                  ; 4-byte Folded Reload
	cbz	w25, LBB0_50
; %bb.39:
	cbnz	w0, LBB0_50
; %bb.40:
Lloh16:
	adrp	x21, _B2@GOTPAGE
Lloh17:
	ldr	x21, [x21, _B2@GOTPAGEOFF]
	ldr	w0, [x21]
	add	x2, sp, #40
	mov	x1, x19
	bl	_MP_MX_LT
	ldr	x22, [sp, #16]                  ; 8-byte Folded Reload
	cbnz	w0, LBB0_44
; %bb.41:
	ldr	w0, [x21]
	add	x2, sp, #40
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_MP_MX_LT
	b	LBB0_44
LBB0_42:
	mov	w0, #0
	mov	w8, #1
	tbz	w22, #0, LBB0_31
LBB0_43:
	ldr	x22, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w23, [sp, #28]                  ; 4-byte Folded Reload
LBB0_44:
	ldr	w21, [x29, #24]
	cmp	w20, #0
	csinc	w8, w20, wzr, ne
	cmp	w0, #0
	csel	w8, w20, w8, eq
	ldr	x9, [x24]
	cbz	x9, LBB0_48
; %bb.45:
	cmp	w8, w21
	b.ne	LBB0_48
; %bb.46:
	add	x6, sp, #40
	mov	x0, x24
	ldp	w1, w3, [sp, #32]               ; 8-byte Folded Reload
	mov	x2, x23
	ldp	w5, w4, [sp, #4]                ; 8-byte Folded Reload
	mov	x7, x19
	bl	_temporal_luma_motion_vector
	cbz	w0, LBB0_48
; %bb.47:
	mov	w8, #24
	add	x9, sp, #64
	umaddl	x8, w21, w8, x9
	ldur	q0, [sp, #40]
	str	q0, [x8]
	ldr	x9, [sp, #56]
	str	x9, [x8, #16]
LBB0_48:
	ldr	x8, [x22, #8]
	mov	w9, #24
	madd	x8, x19, x9, x8
	add	x10, sp, #64
	smaddl	x9, w21, w9, x10
	ldr	q0, [x9]
	str	q0, [x8]
	ldr	x9, [x9, #16]
	str	x9, [x8, #16]
	ldur	x8, [x29, #-88]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_52
; %bb.49:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_50:
	ldr	x22, [sp, #16]                  ; 8-byte Folded Reload
	b	LBB0_44
LBB0_51:
	mov	w20, #0
	b	LBB0_17
LBB0_52:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_A0,4,2                         ; @A0
	.comm	_A1,4,2                         ; @A1
	.comm	_B0,4,2                         ; @B0
	.comm	_B1,4,2                         ; @B1
	.comm	_B2,4,2                         ; @B2
.subsections_via_symbols
