	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function obmc_motion
_obmc_motion:                           ## @obmc_motion
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movl	%r8d, %r13d
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rsi, -136(%rbp)                ## 8-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	sete	%dil
	callq	_av_assert2
	movq	16(%rbp), %rcx
	movq	(%rcx), %rax
	movq	16(%rbx), %rsi
	movq	%rsi, -96(%rbp)
	movq	%rbx, %rdi
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movq	%r15, -128(%rbp)                ## 8-byte Spill
	movq	%r15, %rdx
	movq	%rcx, %r15
	movl	%r14d, -100(%rbp)               ## 4-byte Spill
	movl	%r14d, %ecx
	movl	%r13d, %r14d
	movl	%r13d, %r8d
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	movq	%r12, %r9
	pushq	8(%r15)
	pushq	%rax
	callq	_hpel_motion
	addq	$16, %rsp
	movq	16(%r15), %rax
	cmpq	(%r15), %rax
	jne	LBB0_3
## %bb.1:
	movq	24(%r15), %rcx
	cmpq	8(%r15), %rcx
	jne	LBB0_3
## %bb.2:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -88(%rbp)
	movl	%r14d, %r12d
	movl	-100(%rbp), %r13d               ## 4-byte Reload
	jmp	LBB0_4
LBB0_3:
	movq	16(%rbx), %rsi
	addq	$32, %rsi
	movq	%rsi, -88(%rbp)
	movq	%rbx, %rdi
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	movl	-100(%rbp), %r13d               ## 4-byte Reload
	movl	%r13d, %ecx
	movl	%r14d, %r12d
	movl	%r14d, %r8d
	movq	-120(%rbp), %r9                 ## 8-byte Reload
	pushq	24(%r15)
	pushq	%rax
	callq	_hpel_motion
	addq	$16, %rsp
LBB0_4:
	movq	32(%r15), %rax
	cmpq	(%r15), %rax
	jne	LBB0_6
## %bb.5:
	movq	40(%r15), %rcx
	cmpq	8(%r15), %rcx
	jne	LBB0_6
## %bb.7:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -80(%rbp)
	movq	-128(%rbp), %r14                ## 8-byte Reload
	jmp	LBB0_8
LBB0_6:
	movl	8(%rbx), %ecx
	shll	$3, %ecx
	movslq	%ecx, %rsi
	shlq	$2, %rsi
	addq	16(%rbx), %rsi
	movq	%rsi, -80(%rbp)
	movq	%rbx, %rdi
	movq	-128(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdx
	movl	%r13d, %ecx
	movl	%r12d, %r8d
	movq	-120(%rbp), %r9                 ## 8-byte Reload
	pushq	40(%r15)
	pushq	%rax
	callq	_hpel_motion
	addq	$16, %rsp
LBB0_8:
	movq	48(%r15), %rax
	cmpq	(%r15), %rax
	jne	LBB0_10
## %bb.9:
	movq	56(%r15), %rcx
	cmpq	8(%r15), %rcx
	jne	LBB0_10
## %bb.11:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -72(%rbp)
	jmp	LBB0_12
LBB0_10:
	movq	16(%rbx), %rcx
	movl	8(%rbx), %edx
	shll	$3, %edx
	movslq	%edx, %rdx
	leaq	(%rcx,%rdx,4), %rsi
	addq	$32, %rsi
	movq	%rsi, -72(%rbp)
	movq	%rbx, %rdi
	movq	%r14, %rdx
	movl	%r13d, %ecx
	movl	%r12d, %r8d
	movq	-120(%rbp), %r9                 ## 8-byte Reload
	pushq	56(%r15)
	pushq	%rax
	callq	_hpel_motion
	addq	$16, %rsp
LBB0_12:
	movq	64(%r15), %rax
	cmpq	(%r15), %rax
	jne	LBB0_14
## %bb.13:
	movq	72(%r15), %rcx
	cmpq	8(%r15), %rcx
	jne	LBB0_14
## %bb.15:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -64(%rbp)
	jmp	LBB0_16
LBB0_14:
	movl	8(%rbx), %ecx
	shll	$4, %ecx
	movslq	%ecx, %rsi
	shlq	$2, %rsi
	addq	16(%rbx), %rsi
	movq	%rsi, -64(%rbp)
	movq	%rbx, %rdi
	movq	%r14, %rdx
	movl	%r13d, %ecx
	movl	%r12d, %r8d
	movq	-120(%rbp), %r9                 ## 8-byte Reload
	pushq	72(%r15)
	pushq	%rax
	callq	_hpel_motion
	addq	$16, %rsp
LBB0_16:
	movl	8(%rbx), %edx
	leaq	-96(%rbp), %rsi
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	callq	_put_obmc
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MID,8,3                        ## @MID
	.no_dead_strip	_obmc_motion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function obmc_motion
_obmc_motion:                           ; @obmc_motion
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x25, x6
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w0, eq
	bl	_av_assert2
	ldr	x26, [x20, #16]
	str	x26, [sp]
	ldp	x6, x7, [x25]
	mov	x0, x20
	mov	x1, x26
	mov	x2, x24
	mov	x3, x23
	mov	x4, x22
	mov	x5, x21
	bl	_hpel_motion
	ldr	x6, [x25, #16]
	ldr	x8, [x25]
	cmp	x6, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x25, #24]
	ldr	x9, [x25, #8]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	str	x26, [sp, #8]
	b	LBB0_4
LBB0_3:
	ldr	x8, [x20, #16]
	add	x1, x8, #32
	str	x1, [sp, #8]
	ldr	x7, [x25, #24]
	mov	x0, x20
	mov	x2, x24
	mov	x3, x23
	mov	x4, x22
	mov	x5, x21
	bl	_hpel_motion
LBB0_4:
	ldr	x6, [x25, #32]
	ldr	x8, [x25]
	cmp	x6, x8
	b.ne	LBB0_7
; %bb.5:
	ldr	x8, [x25, #40]
	ldr	x9, [x25, #8]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	str	x26, [sp, #16]
	b	LBB0_8
LBB0_7:
	ldr	x8, [x20, #16]
	ldr	w9, [x20, #8]
	lsl	w9, w9, #3
	add	x1, x8, w9, sxtw #2
	str	x1, [sp, #16]
	ldr	x7, [x25, #40]
	mov	x0, x20
	mov	x2, x24
	mov	x3, x23
	mov	x4, x22
	mov	x5, x21
	bl	_hpel_motion
LBB0_8:
	ldr	x6, [x25, #48]
	ldr	x8, [x25]
	cmp	x6, x8
	b.ne	LBB0_11
; %bb.9:
	ldr	x8, [x25, #56]
	ldr	x9, [x25, #8]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.10:
	str	x26, [sp, #24]
	b	LBB0_12
LBB0_11:
	ldr	x8, [x20, #16]
	ldr	w9, [x20, #8]
	lsl	w9, w9, #3
	add	x8, x8, w9, sxtw #2
	add	x1, x8, #32
	str	x1, [sp, #24]
	ldr	x7, [x25, #56]
	mov	x0, x20
	mov	x2, x24
	mov	x3, x23
	mov	x4, x22
	mov	x5, x21
	bl	_hpel_motion
LBB0_12:
	ldr	x6, [x25, #64]
	ldr	x8, [x25]
	cmp	x6, x8
	b.ne	LBB0_15
; %bb.13:
	ldr	x8, [x25, #72]
	ldr	x9, [x25, #8]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.14:
	str	x26, [sp, #32]
	b	LBB0_16
LBB0_15:
	ldr	x8, [x20, #16]
	ldr	w9, [x20, #8]
	lsl	w9, w9, #4
	add	x1, x8, w9, sxtw #2
	str	x1, [sp, #32]
	ldr	x7, [x25, #72]
	mov	x0, x20
	mov	x2, x24
	mov	x3, x23
	mov	x4, x22
	mov	x5, x21
	bl	_hpel_motion
LBB0_16:
	ldr	w2, [x20, #8]
	mov	x1, sp
	mov	x0, x19
	bl	_put_obmc
	ldr	x8, [sp, #40]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MID,8,3                        ; @MID
	.no_dead_strip	_obmc_motion
.subsections_via_symbols
