	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_h263_pred_motion            ## -- Begin function ff_h263_pred_motion
	.p2align	4, 0x90
_ff_h263_pred_motion:                   ## @ff_h263_pred_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movslq	(%rdi), %r12
	movq	48(%rdi), %rcx
	movslq	%edx, %rdx
	movslq	%esi, %rax
	movq	8(%rdi), %rbx
	movslq	(%rbx,%rax,4), %r14
	shlq	$3, %r14
	addq	(%rcx,%rdx,8), %r14
	cmpl	$2, %eax
	jg	LBB0_20
## %bb.1:
	cmpq	$0, 40(%rdi)
	je	LBB0_20
## %bb.2:
	cmpl	$1, %esi
	je	LBB0_10
## %bb.3:
	testl	%esi, %esi
	jne	LBB0_15
## %bb.4:
	movq	16(%rdi), %rcx
	movq	24(%rdi), %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_6
## %bb.5:
	movl	$0, (%r8)
	movl	$0, (%r15)
	jmp	LBB0_21
LBB0_20:
	leaq	(,%r12,8), %r13
	movq	%r14, %rcx
	subq	%r13, %rcx
	leaq	_ff_h263_pred_motion.off(%rip), %rdx
	movslq	(%rdx,%rax,4), %rbx
	subq	%r12, %rbx
	movl	-8(%r14), %edi
	movl	(%rcx), %esi
	movl	(%r14,%rbx,8), %edx
	movq	%r8, %r12
	callq	_mid_pred
	movl	%eax, (%r15)
	movl	-4(%r14), %edi
	negq	%r13
	movl	4(%r14,%r13), %esi
	movl	4(%r14,%rbx,8), %edx
	callq	_mid_pred
	movl	%eax, (%r12)
	jmp	LBB0_21
LBB0_10:
	movq	16(%rdi), %rcx
	incq	%rcx
	cmpq	24(%rdi), %rcx
	jne	LBB0_14
## %bb.11:
	cmpq	$0, 32(%rdi)
	je	LBB0_14
## %bb.12:
	leaq	_ff_h263_pred_motion.off(%rip), %rcx
	movslq	(%rcx,%rax,4), %r13
	subq	%r12, %r13
	jmp	LBB0_13
LBB0_15:
	leaq	_ff_h263_pred_motion.off(%rip), %rcx
	movslq	(%rcx,%rax,4), %r13
	subq	%r12, %r13
	negq	%r12
	movq	16(%rdi), %rax
	cmpq	24(%rdi), %rax
	jne	LBB0_16
## %bb.17:
	movq	%r8, %rbx
	movq	$0, -8(%r14)
	xorl	%edi, %edi
	jmp	LBB0_18
LBB0_6:
	leaq	1(%rcx), %rsi
	cmpq	%rdx, %rsi
	jne	LBB0_14
## %bb.7:
	cmpq	$0, 32(%rdi)
	je	LBB0_14
## %bb.8:
	leaq	_ff_h263_pred_motion.off(%rip), %rdx
	movslq	(%rdx,%rax,4), %r13
	subq	%r12, %r13
	testq	%rcx, %rcx
	je	LBB0_9
LBB0_13:
	movl	-8(%r14), %edi
	movl	(%r14,%r13,8), %edx
	xorl	%esi, %esi
	movq	%r8, %rbx
	callq	_mid_pred
	movl	%eax, (%r15)
	movl	-4(%r14), %edi
	movl	4(%r14,%r13,8), %edx
	xorl	%esi, %esi
	jmp	LBB0_19
LBB0_14:
	movl	-8(%r14), %eax
	movl	%eax, (%r15)
	movl	-4(%r14), %eax
	movl	%eax, (%r8)
	jmp	LBB0_21
LBB0_16:
	movq	%r8, %rbx
	movl	-8(%r14), %edi
LBB0_18:
	movl	(%r14,%r12,8), %esi
	movl	(%r14,%r13,8), %edx
	callq	_mid_pred
	movl	%eax, (%r15)
	movl	-4(%r14), %edi
	movl	4(%r14,%r12,8), %esi
	movl	4(%r14,%r13,8), %edx
LBB0_19:
	callq	_mid_pred
	movl	%eax, (%rbx)
LBB0_21:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	(%r14,%r13,8), %eax
	movl	%eax, (%r15)
	movl	4(%r14,%r13,8), %eax
	movl	%eax, (%r8)
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @ff_h263_pred_motion.off
_ff_h263_pred_motion.off:
	.long	2                               ## 0x2
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	4294967295                      ## 0xffffffff

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_h263_pred_motion            ; -- Begin function ff_h263_pred_motion
	.p2align	2
_ff_h263_pred_motion:                   ; @ff_h263_pred_motion
	.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	x20, x4
	mov	x21, x3
                                        ; kill: def $w1 killed $w1 def $x1
	ldr	w8, [x0]
	ldr	x9, [x0, #48]
	ldr	x10, [x9, w2, sxtw #3]
	ldr	x11, [x0, #8]
	sxtw	x9, w1
	ldrsw	x11, [x11, w1, sxtw #2]
	add	x19, x10, x11, lsl #3
	cmp	w1, #2
	b.gt	LBB0_6
; %bb.1:
	ldr	x10, [x0, #40]
	cbz	x10, LBB0_6
; %bb.2:
	cmp	w1, #1
	b.eq	LBB0_11
; %bb.3:
	cbnz	w1, LBB0_14
; %bb.4:
	ldp	x10, x11, [x0, #16]
	cmp	x10, x11
	b.ne	LBB0_16
; %bb.5:
	str	wzr, [x20]
	str	wzr, [x21]
	b	LBB0_10
LBB0_6:
	neg	w10, w8
Lloh0:
	adrp	x11, _ff_h263_pred_motion.off@PAGE
Lloh1:
	add	x11, x11, _ff_h263_pred_motion.off@PAGEOFF
	ldr	w9, [x11, x9, lsl #2]
	add	x22, x19, w10, sxtw #3
	sub	w8, w9, w8
	add	x23, x19, w8, sxtw #3
LBB0_7:
	ldur	w0, [x19, #-8]
LBB0_8:
	ldr	w1, [x22]
	ldr	w2, [x23]
	bl	_mid_pred
	str	w0, [x21]
	ldur	w0, [x19, #-4]
	ldr	w1, [x22, #4]
	ldr	w2, [x23, #4]
LBB0_9:
	bl	_mid_pred
	str	w0, [x20]
LBB0_10:
	mov	x0, x19
	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
LBB0_11:
	ldp	x10, x11, [x0, #16]
	add	x10, x10, #1
	cmp	x10, x11
	b.ne	LBB0_20
; %bb.12:
	ldr	x10, [x0, #32]
	cbz	x10, LBB0_20
; %bb.13:
Lloh2:
	adrp	x10, _ff_h263_pred_motion.off@PAGE
Lloh3:
	add	x10, x10, _ff_h263_pred_motion.off@PAGEOFF
	ldr	w9, [x10, x9, lsl #2]
	sub	w8, w9, w8
	add	x22, x19, w8, sxtw #3
	b	LBB0_19
LBB0_14:
	neg	w10, w8
Lloh4:
	adrp	x11, _ff_h263_pred_motion.off@PAGE
Lloh5:
	add	x11, x11, _ff_h263_pred_motion.off@PAGEOFF
	ldr	w9, [x11, x9, lsl #2]
	add	x22, x19, w10, sxtw #3
	sub	w8, w9, w8
	add	x23, x19, w8, sxtw #3
	ldp	x8, x9, [x0, #16]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.15:
	mov	w0, #0
	stur	xzr, [x19, #-8]
	b	LBB0_8
LBB0_16:
	add	x12, x10, #1
	cmp	x12, x11
	b.ne	LBB0_20
; %bb.17:
	ldr	x11, [x0, #32]
	cbz	x11, LBB0_20
; %bb.18:
Lloh6:
	adrp	x11, _ff_h263_pred_motion.off@PAGE
Lloh7:
	add	x11, x11, _ff_h263_pred_motion.off@PAGEOFF
	ldr	w9, [x11, x9, lsl #2]
	sub	w8, w9, w8
	add	x22, x19, w8, sxtw #3
	cbz	x10, LBB0_21
LBB0_19:
	ldur	w0, [x19, #-8]
	ldr	w2, [x22]
	mov	w1, #0
	bl	_mid_pred
	str	w0, [x21]
	ldur	w0, [x19, #-4]
	ldr	w2, [x22, #4]
	mov	w1, #0
	b	LBB0_9
LBB0_20:
	ldur	w8, [x19, #-8]
	str	w8, [x21]
	ldur	w8, [x19, #-4]
	str	w8, [x20]
	b	LBB0_10
LBB0_21:
	ldr	w8, [x22]
	str	w8, [x21]
	ldr	w8, [x22, #4]
	str	w8, [x20]
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @ff_h263_pred_motion.off
_ff_h263_pred_motion.off:
	.long	2                               ; 0x2
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	4294967295                      ; 0xffffffff

.subsections_via_symbols
