	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function derive_temporal_colocated_mvs
_derive_temporal_colocated_mvs:         ## @derive_temporal_colocated_mvs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PF_INTRA@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_1
LBB0_21:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_PF_L0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%esi, %eax
	je	LBB0_2
## %bb.3:
	cmpl	%esi, %eax
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	jmp	LBB0_20
LBB0_2:
	movb	$1, %al
	jmp	LBB0_20
LBB0_5:
	movq	_PF_BI@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_21
## %bb.6:
	movq	16(%rdi), %rax
	movq	(%rax), %r10
	movl	(%r10), %r9d
	testl	%r9d, %r9d
	jle	LBB0_7
## %bb.8:
	movq	8(%r10), %r11
	movq	(%rdi), %rdx
	decq	%r9
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r11,%rax,8), %rcx
	cmpq	%rdx, %rcx
	jg	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	1(%rax), %rsi
	cmpq	%rax, %r9
	movq	%rsi, %rax
	jne	LBB0_9
LBB0_11:
	cmpq	%rdx, %rcx
	setle	%r9b
	jmp	LBB0_12
LBB0_7:
	movb	$1, %r9b
LBB0_12:
	movl	16(%r10), %edx
	testl	%edx, %edx
	jle	LBB0_16
## %bb.13:
	movq	24(%r10), %rax
	movq	(%rdi), %rsi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, (%rax,%rcx,8)
	jg	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	incq	%rcx
	cmpq	%rcx, %rdx
	jne	LBB0_14
LBB0_16:
	testb	%r9b, %r9b
	je	LBB0_18
## %bb.17:
	testl	%r8d, %r8d
	jmp	LBB0_19
LBB0_18:
	movq	8(%rdi), %rax
	movq	_L1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
LBB0_19:
	setne	%al
LBB0_20:
	movzbl	%al, %edi
	popq	%rbp
	jmp	_CHECK_MVSET                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_INTRA,4,2                   ## @PF_INTRA
	.comm	_PF_L0,4,2                      ## @PF_L0
	.comm	_PF_BI,4,2                      ## @PF_BI
	.comm	_L1,8,3                         ## @L1
	.no_dead_strip	_derive_temporal_colocated_mvs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function derive_temporal_colocated_mvs
_derive_temporal_colocated_mvs:         ; @derive_temporal_colocated_mvs
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PF_INTRA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PF_INTRA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
LBB0_1:
	mov	w0, #0
	ret
LBB0_2:
Lloh3:
	adrp	x8, _PF_L0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PF_L0@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_5
; %bb.3:
	cmp	w8, w1
	b.ne	LBB0_6
; %bb.4:
	mov	w0, #0
	b	_CHECK_MVSET
LBB0_5:
	mov	w0, #1
	b	_CHECK_MVSET
LBB0_6:
Lloh6:
	adrp	x8, _PF_BI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PF_BI@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_1
; %bb.7:
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	ldr	w11, [x8]
	cmp	w11, #1
	b.lt	LBB0_11
; %bb.8:
	ldr	x9, [x8, #8]
	ldr	x10, [x0]
	sub	x11, x11, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9], #8
	cmp	x12, x10
	ccmp	x11, #0, #4, le
	sub	x11, x11, #1
	b.ne	LBB0_9
; %bb.10:
	cmp	x12, x10
	cset	w9, le
	b	LBB0_12
LBB0_11:
	mov	w9, #1
LBB0_12:
	ldr	w10, [x8, #16]
	cmp	w10, #1
	b.lt	LBB0_16
; %bb.13:
	ldr	x8, [x8, #24]
	ldr	x11, [x0]
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x8]
	cmp	x12, x11
	b.gt	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x8, x8, #8
	subs	x10, x10, #1
	b.ne	LBB0_14
LBB0_16:
	cbz	w9, LBB0_18
; %bb.17:
	cmp	w4, #0
	cset	w0, ne
	b	_CHECK_MVSET
LBB0_18:
	ldr	x8, [x0, #8]
Lloh9:
	adrp	x9, _L1@GOTPAGE
Lloh10:
	ldr	x9, [x9, _L1@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	b	_CHECK_MVSET
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_INTRA,4,2                   ; @PF_INTRA
	.comm	_PF_L0,4,2                      ; @PF_L0
	.comm	_PF_BI,4,2                      ; @PF_BI
	.comm	_L1,8,3                         ; @L1
	.no_dead_strip	_derive_temporal_colocated_mvs
.subsections_via_symbols
