	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_direct_mv
_set_direct_mv:                         ## @set_direct_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movslq	(%rdi), %rax
	movslq	4(%rdi), %rcx
	movslq	8(%rdi), %rbx
	imulq	%rcx, %rbx
	addq	%rax, %rbx
	leaq	56(%rdi), %r14
	movq	16(%rdi), %r13
	movq	56(%rdi), %rax
	movl	(%rax,%rbx,4), %r15d
	leaq	L_.str(%rip), %rdi
	callq	_AV_RL32
	cmpq	%rax, %r13
	jne	LBB0_3
## %bb.1:
	movq	64(%r12), %rax
	movq	(%rax), %rax
	movq	_AV_PICTURE_TYPE_I@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	leaq	40(%r12), %r14
	movq	40(%r12), %rax
	movl	(%rax,%rbx,4), %r15d
LBB0_3:
	movl	%r15d, %edi
	callq	_IS_8X8
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_MV_TYPE_8X8@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r12)
	movq	%r12, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_set_one_direct_mv
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_set_one_direct_mv
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$2, %edx
	callq	_set_one_direct_mv
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$3, %edx
	callq	_set_one_direct_mv
	movq	_MB_TYPE_8x8@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	%r12, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_set_one_direct_mv
	movq	32(%r12), %rax
	movq	(%rax), %rcx
	movq	(%rcx), %rdx
	movq	24(%rcx), %rsi
	movl	(%rdx), %edi
	movl	%edi, (%rsi)
	movq	16(%rcx), %rbx
	movl	%edi, (%rbx)
	movq	8(%rcx), %rcx
	movl	%edi, (%rcx)
	movl	4(%rdx), %edx
	movl	%edx, 4(%rsi)
	movl	%edx, 4(%rbx)
	movl	%edx, 4(%rcx)
	movq	8(%rax), %rax
	movq	(%rax), %rcx
	movq	24(%rax), %rdx
	movl	(%rcx), %esi
	movl	%esi, (%rdx)
	movq	16(%rax), %rdi
	movl	%esi, (%rdi)
	movq	8(%rax), %rax
	movl	%esi, (%rax)
	movl	4(%rcx), %ecx
	movl	%ecx, 4(%rdx)
	movl	%ecx, 4(%rdi)
	movl	%ecx, 4(%rax)
	movq	_MV_TYPE_8X8@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r12)
	movq	_MB_TYPE_16x16@GOTPCREL(%rip), %rax
LBB0_6:
	movq	_MB_TYPE_DIRECT2@GOTPCREL(%rip), %rcx
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_MB_TYPE_L0L1@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"U263"

	.comm	_AV_PICTURE_TYPE_I,8,3          ## @AV_PICTURE_TYPE_I
	.comm	_MV_TYPE_8X8,8,3                ## @MV_TYPE_8X8
	.comm	_MB_TYPE_DIRECT2,4,2            ## @MB_TYPE_DIRECT2
	.comm	_MB_TYPE_8x8,4,2                ## @MB_TYPE_8x8
	.comm	_MB_TYPE_L0L1,4,2               ## @MB_TYPE_L0L1
	.comm	_MB_TYPE_16x16,4,2              ## @MB_TYPE_16x16
	.no_dead_strip	_set_direct_mv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_direct_mv
_set_direct_mv:                         ; @set_direct_mv
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldp	w8, w9, [x0]
	ldr	w10, [x0, #8]
	madd	w22, w10, w9, w8
	mov	x20, x0
	ldr	x8, [x20, #56]!
	ldr	w21, [x8, w22, sxtw #2]
	ldr	x23, [x0, #16]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_AV_RL32
	cmp	x23, x0
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x19, #64]
	ldr	x8, [x8]
Lloh2:
	adrp	x9, _AV_PICTURE_TYPE_I@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AV_PICTURE_TYPE_I@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	sxtw	x8, w22
	mov	x20, x19
	ldr	x9, [x20, #40]!
	ldr	w21, [x9, x8, lsl #2]
LBB0_3:
	mov	x0, x21
	bl	_IS_8X8
	cbz	x0, LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _MV_TYPE_8X8@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MV_TYPE_8X8@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	x8, [x19, #24]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_set_one_direct_mv
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	bl	_set_one_direct_mv
	mov	x0, x19
	mov	x1, x20
	mov	w2, #2
	bl	_set_one_direct_mv
	mov	x0, x19
	mov	x1, x20
	mov	w2, #3
	bl	_set_one_direct_mv
Lloh8:
	adrp	x8, _MB_TYPE_8x8@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MB_TYPE_8x8@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_set_one_direct_mv
	ldr	x8, [x19, #32]
	ldp	x9, x8, [x8]
	ldp	x10, x11, [x9]
	ldr	w12, [x10]
	ldp	x9, x13, [x9, #16]
	str	w12, [x13]
	str	w12, [x9]
	str	w12, [x11]
	ldr	w10, [x10, #4]
	str	w10, [x13, #4]
	str	w10, [x9, #4]
	str	w10, [x11, #4]
	ldp	x9, x10, [x8]
	ldr	w11, [x9]
	ldp	x8, x12, [x8, #16]
	str	w11, [x12]
	str	w11, [x8]
	str	w11, [x10]
	ldr	w9, [x9, #4]
	str	w9, [x12, #4]
	str	w9, [x8, #4]
	str	w9, [x10, #4]
Lloh10:
	adrp	x8, _MV_TYPE_8X8@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MV_TYPE_8X8@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	str	x8, [x19, #24]
Lloh13:
	adrp	x8, _MB_TYPE_16x16@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MB_TYPE_16x16@GOTPAGEOFF]
LBB0_6:
Lloh15:
	adrp	x9, _MB_TYPE_DIRECT2@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MB_TYPE_DIRECT2@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	ldr	w8, [x8]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _MB_TYPE_L0L1@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MB_TYPE_L0L1@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"U263"

	.comm	_AV_PICTURE_TYPE_I,8,3          ; @AV_PICTURE_TYPE_I
	.comm	_MV_TYPE_8X8,8,3                ; @MV_TYPE_8X8
	.comm	_MB_TYPE_DIRECT2,4,2            ; @MB_TYPE_DIRECT2
	.comm	_MB_TYPE_8x8,4,2                ; @MB_TYPE_8x8
	.comm	_MB_TYPE_L0L1,4,2               ; @MB_TYPE_L0L1
	.comm	_MB_TYPE_16x16,4,2              ; @MB_TYPE_16x16
	.no_dead_strip	_set_direct_mv
.subsections_via_symbols
