	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function qpel_motion
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.space	4
	.space	4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_qpel_motion:                           ## @qpel_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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, -128(%rbp)                ## 8-byte Spill
	movq	%rdi, %r15
	movl	56(%rbp), %r13d
	movl	48(%rbp), %edi
	movl	(%r15), %eax
	movl	4(%r15), %r10d
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, %ebx
	shll	$4, %ebx
	movl	%edi, %esi
	sarl	$2, %esi
	movl	$16, %eax
	movl	%r14d, %ecx
	shrl	%cl, %eax
	addl	%ebx, %esi
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	movq	%r10, -72(%rbp)                 ## 8-byte Spill
	imull	%r10d, %eax
	movl	%r13d, %r12d
	sarl	$2, %r12d
	addl	%eax, %r12d
	movl	8(%r15), %esi
	sarl	%cl, %esi
	movl	12(%r15), %r8d
	shll	%cl, %r8d
	movl	16(%r15), %r10d
	shll	%cl, %r10d
	movl	%r13d, %eax
	andl	$3, %eax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movl	%edi, %eax
	andl	$3, %eax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movq	24(%rbp), %r11
	testl	%r14d, %r14d
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movl	%r9d, -144(%rbp)                ## 4-byte Spill
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	je	LBB0_2
## %bb.1:
	movl	%edi, %eax
	shrl	$31, %eax
	addl	%edi, %eax
	sarl	%eax
	sarl	%r13d
	movd	%eax, %xmm0
	pinsrd	$1, %r13d, %xmm0
	jmp	LBB0_7
LBB0_2:
	movl	20(%r15), %ecx
	movq	_FF_BUG_QPEL_CHROMA2@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_4
## %bb.3:
	movd	%edi, %xmm1
	pinsrd	$1, %r13d, %xmm1
	psrad	$1, %xmm1
	andl	$7, %edi
	leaq	_qpel_motion.rtab(%rip), %rax
	andl	$7, %r13d
	movd	(%rax,%rdi,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, (%rax,%r13,4), %xmm0
	paddd	%xmm1, %xmm0
	jmp	LBB0_7
LBB0_4:
	movq	_FF_BUG_QPEL_CHROMA@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_6
## %bb.5:
	movd	%edi, %xmm0
	pinsrd	$1, %r13d, %xmm0
	movdqa	%xmm0, %xmm1
	psrad	$1, %xmm1
	pand	LCPI0_0(%rip), %xmm0
	por	%xmm1, %xmm0
	jmp	LBB0_7
LBB0_6:
	movd	%edi, %xmm1
	pinsrd	$1, %r13d, %xmm1
	movdqa	%xmm1, %xmm0
	psrld	$31, %xmm0
	paddd	%xmm1, %xmm0
	psrad	$1, %xmm0
LBB0_7:
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	64(%rbp), %eax
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movq	40(%rbp), %r13
	movq	32(%rbp), %rax
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	movl	16(%rbp), %eax
	movl	%eax, -140(%rbp)                ## 4-byte Spill
	movd	%xmm0, %eax
	pextrd	$1, %xmm0, %ecx
	movl	%eax, -132(%rbp)                ## 4-byte Spill
                                        ## kill: def $eax killed $eax def $rax
	sarl	$2, %eax
	movq	%rcx, -192(%rbp)                ## 8-byte Spill
	movl	%ecx, %esi
	movl	$8, %edi
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	movl	%r14d, %ecx
	shrl	%cl, %edi
	sarl	$2, %esi
	leal	(%rax,%rbx,8), %ebx
	imull	%edi, %edx
	movl	%r8d, -100(%rbp)                ## 4-byte Spill
	imull	%r12d, %r8d
	movslq	%r8d, %rax
	shlq	$2, %rax
	addq	(%r11), %rax
	addl	%esi, %edx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, %ecx
	movl	%r10d, -136(%rbp)               ## 4-byte Spill
	imull	%r10d, %ecx
	movslq	%ecx, %rcx
	shlq	$2, %rcx
	movq	8(%r11), %rsi
	addq	%rcx, %rsi
	movq	%rbx, -152(%rbp)                ## 8-byte Spill
	movslq	%ebx, %rdi
	leaq	(%rsi,%rdi,4), %rdx
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	addq	16(%r11), %rcx
	leaq	(%rcx,%rdi,4), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	24(%r15), %ecx
	movq	-176(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx def $rdx
	negl	%edx
	leal	(%rcx,%rdx), %edi
	addl	$-15, %edi
	movslq	-120(%rbp), %r14                ## 4-byte Folded Reload
	leaq	(%rax,%r14,4), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	callq	_FFMAX
	cmpl	%eax, %r14d
	movq	%r13, -160(%rbp)                ## 8-byte Spill
	jae	LBB0_10
## %bb.8:
	movq	-168(%rbp), %rax                ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	addl	-104(%rbp), %eax                ## 4-byte Folded Reload
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	subl	%eax, %edi
	incl	%edi
	xorl	%esi, %esi
	callq	_FFMAX
	cmpl	%eax, %r12d
	jb	LBB0_9
LBB0_10:
	movq	48(%r15), %rdi
	movl	8(%r15), %r10d
	movl	12(%r15), %edx
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	leal	17(%rcx), %r9d
                                        ## kill: def $cl killed $cl killed $rcx
	shll	%cl, %r12d
	movl	24(%r15), %eax
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%edx, %ecx
	movl	$17, %r8d
	pushq	%r10
	pushq	%rax
	pushq	%r12
	pushq	-120(%rbp)                      ## 8-byte Folded Reload
	callq	*40(%r15)
	addq	$32, %rsp
	movq	48(%r15), %rdx
	movq	_CONFIG_GRAY@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_12
## %bb.11:
	movq	32(%r15), %rax
	movq	_AV_CODEC_FLAG_GRAY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_12
LBB0_9:
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-128(%rbp), %r12                ## 8-byte Reload
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_13
LBB0_12:
	movslq	12(%r15), %rax
	leaq	(%rax,%rax,8), %rax
	leaq	(%rdx,%rax,8), %rcx
	movslq	16(%r15), %rdx
	leaq	(%rdx,%rdx,4), %rax
	leaq	(%rcx,%rax,8), %rax
	movq	%rcx, %rdi
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movq	_FF_BUG_IEDGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	20(%r15), %ecx
	movq	%rdx, %rsi
	negq	%rsi
	xorl	%ebx, %ebx
	testl	%ecx, %ecx
	cmovneq	%rsi, %rbx
	leaq	(%rax,%rbx,4), %r14
	movq	-112(%rbp), %r13                ## 8-byte Reload
	leal	9(%r13), %r9d
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movl	%r13d, %ecx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	shll	%cl, %r12d
	movl	8(%r15), %eax
	movl	24(%r15), %ebx
	sarl	%ebx
	sarl	%eax
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movl	%edx, %ecx
	movl	$9, %r8d
	pushq	%rax
	pushq	%rbx
	pushq	%r12
	pushq	-152(%rbp)                      ## 8-byte Folded Reload
	callq	*40(%r15)
	addq	$32, %rsp
	movl	8(%r15), %eax
	movl	16(%r15), %ecx
	movl	24(%r15), %ebx
	sarl	%ebx
	sarl	%eax
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%ecx, %edx
	movl	$9, %r8d
	movl	-52(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rax
	pushq	%rbx
	pushq	%r12
	pushq	-152(%rbp)                      ## 8-byte Folded Reload
	callq	*40(%r15)
	addq	$32, %rsp
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-128(%rbp), %r12                ## 8-byte Reload
LBB0_13:
	movq	-168(%rbp), %rax                ## 8-byte Reload
	movq	-176(%rbp), %rcx                ## 8-byte Reload
	leal	(%rcx,%rax,4), %edi
	testl	%r13d, %r13d
	je	LBB0_14
## %bb.15:
	cmpl	$0, -144(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_17
## %bb.16:
	movslq	12(%r15), %rcx
	leaq	(%r12,%rcx,4), %r12
	movslq	16(%r15), %rcx
	leaq	(%rdx,%rcx,4), %rdx
	leaq	(%rsi,%rcx,4), %rsi
LBB0_17:
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	cmpl	$0, -140(%rbp)                  ## 4-byte Folded Reload
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, -184(%rbp)                ## 8-byte Spill
	je	LBB0_19
## %bb.18:
	movslq	12(%r15), %rcx
	leaq	(%rax,%rcx,4), %rax
	movslq	16(%r15), %rcx
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rsi,%rcx,4), %rsi
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%rcx,4), %r14
LBB0_19:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	%edi, %r13d
	movq	%r12, %rdi
	movq	%rax, %rsi
	movl	-100(%rbp), %r14d               ## 4-byte Reload
	movl	%r14d, %edx
	movq	-160(%rbp), %rbx                ## 8-byte Reload
	movq	%rax, %r15
	callq	*128(%rbx,%r13,8)
	addq	$32, %r12
	addq	$32, %r15
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	*128(%rbx,%r13,8)
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-184(%rbp), %r15                ## 8-byte Reload
	jmp	LBB0_20
LBB0_14:
	movl	%edi, %eax
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	-100(%rbp), %edx                ## 4-byte Reload
	movq	-160(%rbp), %rcx                ## 8-byte Reload
	callq	*(%rcx,%rax,8)
LBB0_20:
	movq	_CONFIG_GRAY@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_23
## %bb.21:
	movq	32(%r15), %rax
	movq	_AV_CODEC_FLAG_GRAY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_23
## %bb.22:
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movl	-132(%rbp), %esi                ## 4-byte Reload
	movl	%esi, %eax
	shrl	%eax
	movq	-192(%rbp), %rdx                ## 8-byte Reload
	leal	(%rdx,%rdx), %ecx
	orl	%esi, %eax
	orl	%edx, %ecx
	andl	$1, %eax
	andl	$2, %ecx
	orl	%eax, %ecx
	movl	%ecx, %r15d
	movl	-104(%rbp), %ebx                ## 4-byte Reload
	sarl	%ebx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	-136(%rbp), %r12d               ## 4-byte Reload
	movl	%r12d, %edx
	movl	%ebx, %ecx
	movq	-200(%rbp), %r14                ## 8-byte Reload
	callq	*32(%r14,%r15,8)
	movq	32(%r14,%r15,8), %rax
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	movl	%ebx, %ecx
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FF_BUG_QPEL_CHROMA2,4,2        ## @FF_BUG_QPEL_CHROMA2
	.section	__TEXT,__const
	.p2align	4                               ## @qpel_motion.rtab
_qpel_motion.rtab:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	1                               ## 0x1

	.comm	_FF_BUG_QPEL_CHROMA,4,2         ## @FF_BUG_QPEL_CHROMA
	.comm	_CONFIG_GRAY,4,2                ## @CONFIG_GRAY
	.comm	_AV_CODEC_FLAG_GRAY,4,2         ## @AV_CODEC_FLAG_GRAY
	.comm	_FF_BUG_IEDGE,4,2               ## @FF_BUG_IEDGE
	.no_dead_strip	_qpel_motion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qpel_motion
_qpel_motion:                           ; @qpel_motion
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	stp	w5, w6, [sp, #32]               ; 8-byte Folded Spill
	mov	x28, x4
	str	x2, [sp, #72]                   ; 8-byte Folded Spill
	str	x1, [sp, #56]                   ; 8-byte Folded Spill
	mov	x22, x0
	ldp	w11, w10, [x29, #32]
	and	w21, w11, #0x3
	ldp	w8, w9, [x0]
	lsl	w12, w8, #4
	add	w20, w12, w11, asr #2
	mov	w12, #16
	lsr	w12, w12, w4
	mul	w12, w9, w12
	add	w23, w12, w10, asr #2
	ldp	w12, w13, [x0, #12]
	lsl	w0, w12, w4
	lsl	w17, w13, w4
	str	x3, [sp, #64]                   ; 8-byte Folded Spill
	cbz	w4, LBB0_2
; %bb.1:
	cmp	w11, #0
	cinc	w11, w11, lt
	asr	w12, w11, #1
	asr	w13, w10, #1
	b	LBB0_5
LBB0_2:
	ldr	w12, [x22, #20]
Lloh0:
	adrp	x13, _FF_BUG_QPEL_CHROMA2@GOTPAGE
Lloh1:
	ldr	x13, [x13, _FF_BUG_QPEL_CHROMA2@GOTPAGEOFF]
Lloh2:
	ldr	w13, [x13]
	tst	w13, w12
	b.eq	LBB0_4
; %bb.3:
	and	w12, w11, #0x7
Lloh3:
	adrp	x13, _qpel_motion.rtab@PAGE
Lloh4:
	add	x13, x13, _qpel_motion.rtab@PAGEOFF
	ldr	w12, [x13, w12, uxtw #2]
	add	w12, w12, w11, asr #1
	and	w11, w10, #0x7
	ldr	w11, [x13, w11, uxtw #2]
	add	w13, w11, w10, asr #1
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x13, _FF_BUG_QPEL_CHROMA@GOTPAGE
Lloh6:
	ldr	x13, [x13, _FF_BUG_QPEL_CHROMA@GOTPAGEOFF]
Lloh7:
	ldr	w13, [x13]
	cmp	w11, #0
	cinc	w14, w11, lt
	asr	w14, w14, #1
	cmp	w10, #0
	cinc	w15, w10, lt
	asr	w15, w15, #1
	and	w16, w11, #0x1
	orr	w11, w16, w11, asr #1
	and	w16, w10, #0x1
	orr	w16, w16, w10, asr #1
	tst	w13, w12
	csel	w13, w15, w16, eq
	csel	w12, w14, w11, eq
LBB0_5:
	and	w10, w10, #0x3
	stur	w10, [x29, #-84]                ; 4-byte Folded Spill
	ldr	w27, [x22, #8]
	ldr	w10, [x29, #40]
	str	w10, [sp, #88]                  ; 4-byte Folded Spill
	ldr	x10, [x29, #24]
	str	x10, [sp, #40]                  ; 8-byte Folded Spill
	ldr	x10, [x29, #16]
	str	x10, [sp, #8]                   ; 8-byte Folded Spill
	stp	w13, w12, [sp, #20]             ; 8-byte Folded Spill
	asr	w10, w12, #2
	add	w19, w10, w8, lsl #3
	mov	w8, #8
	lsr	w8, w8, w28
	mul	w8, w9, w8
	add	w24, w8, w13, asr #2
	str	w0, [sp, #84]                   ; 4-byte Folded Spill
	mul	w8, w0, w23
	ldp	x9, x10, [x7]
	add	x8, x9, w8, sxtw #2
	add	x26, x8, w20, sxtw #2
	str	w17, [sp, #28]                  ; 4-byte Folded Spill
	mul	w8, w24, w17
	sbfiz	x8, x8, #2, #32
	sbfiz	x9, x19, #2, #32
	add	x10, x10, x8
	add	x10, x10, x9
	str	x10, [sp, #48]                  ; 8-byte Folded Spill
	ldr	x10, [x7, #16]
	add	x8, x10, x8
	add	x25, x8, x9
	ldr	w8, [x22, #24]
	sub	w8, w8, w21
	sub	w0, w8, #15
	mov	w1, #0
	bl	_FFMAX
	cmp	w20, w0
	b.hs	LBB0_7
; %bb.6:
	asr	w8, w27, w28
	ldr	w9, [sp, #88]                   ; 4-byte Folded Reload
	ldur	w10, [x29, #-84]                ; 4-byte Folded Reload
	add	w9, w10, w9
	sub	w8, w8, w9
	add	w0, w8, #1
	mov	w1, #0
	bl	_FFMAX
	cmp	w23, w0
	b.lo	LBB0_9
LBB0_7:
	ldp	x8, x0, [x22, #40]
	add	w5, w28, #17
	lsl	w7, w23, w28
	ldr	w9, [x22, #24]
	ldp	w10, w2, [x22, #8]
	stp	w9, w10, [sp]
	mov	x1, x26
	mov	x3, x2
	mov	w4, #17
	mov	x6, x20
	blr	x8
	ldr	x26, [x22, #48]
Lloh8:
	adrp	x8, _CONFIG_GRAY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CONFIG_GRAY@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cbz	w8, LBB0_10
; %bb.8:
	ldr	x8, [x22, #32]
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _AV_CODEC_FLAG_GRAY@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AV_CODEC_FLAG_GRAY@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
LBB0_9:
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x27, x20, [sp, #48]             ; 16-byte Folded Reload
	b	LBB0_11
LBB0_10:
	mov	w8, #72
	ldp	w10, w9, [x22, #8]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	madd	x20, x9, x8, x26
	ldp	w2, w8, [x22, #16]
                                        ; kill: def $w2 killed $w2 def $x2
	sxtw	x2, w2
	add	w9, w2, w2, lsl #2
	lsl	w9, w9, #1
	add	x9, x20, w9, sxtw #2
Lloh14:
	adrp	x11, _FF_BUG_IEDGE@GOTPAGE
Lloh15:
	ldr	x11, [x11, _FF_BUG_IEDGE@GOTPAGEOFF]
Lloh16:
	ldr	w11, [x11]
	tst	w11, w8
	csneg	x8, xzr, x2, eq
	add	x27, x9, x8, lsl #2
	ldr	x8, [x22, #40]
	add	w23, w28, #9
	lsl	w24, w24, w28
	ldr	w9, [x22, #24]
	asr	w9, w9, #1
	asr	w10, w10, #1
	stp	w9, w10, [sp]
	mov	x0, x20
	ldr	x1, [sp, #48]                   ; 8-byte Folded Reload
	mov	x3, x2
	mov	w4, #9
	mov	x5, x23
	mov	x6, x19
	mov	x7, x24
	blr	x8
	ldr	x8, [x22, #40]
	ldr	w2, [x22, #16]
	ldr	w9, [x22, #24]
	asr	w9, w9, #1
	ldr	w10, [x22, #8]
	asr	w10, w10, #1
	stp	w9, w10, [sp]
	mov	x0, x27
	mov	x1, x25
	mov	x3, x2
	mov	w4, #9
	mov	x5, x23
	mov	x6, x19
	mov	x7, x24
	blr	x8
	mov	x25, x27
	mov	x27, x20
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldr	x20, [sp, #56]                  ; 8-byte Folded Reload
LBB0_11:
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	ldur	w8, [x29, #-84]                 ; 4-byte Folded Reload
	bfi	w21, w8, #2, #2
	cbz	w28, LBB0_17
; %bb.12:
	ldr	w8, [sp, #32]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_14
; %bb.13:
	ldpsw	x8, x9, [x22, #12]
	add	x20, x20, x8, lsl #2
	lsl	x8, x9, #2
	add	x23, x23, x8
	add	x24, x24, x8
LBB0_14:
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_16
; %bb.15:
	ldpsw	x8, x9, [x22, #12]
	add	x26, x26, x8, lsl #2
	lsl	x8, x9, #2
	add	x27, x27, x8
	add	x25, x25, x8
LBB0_16:
	add	x19, x10, w21, uxtw #3
	ldr	x8, [x19, #128]
	mov	x0, x20
	mov	x1, x26
	ldr	w21, [sp, #84]                  ; 4-byte Folded Reload
	mov	x2, x21
	blr	x8
	ldr	x8, [x19, #128]
	add	x0, x20, #32
	add	x1, x26, #32
	mov	x2, x21
	b	LBB0_18
LBB0_17:
	ldr	x8, [x10, w21, uxtw #3]
	mov	x0, x20
	mov	x1, x26
	ldr	w2, [sp, #84]                   ; 4-byte Folded Reload
LBB0_18:
	blr	x8
Lloh17:
	adrp	x8, _CONFIG_GRAY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CONFIG_GRAY@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cbz	w8, LBB0_21
; %bb.19:
	ldr	x8, [x22, #32]
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _AV_CODEC_FLAG_GRAY@GOTPAGE
Lloh21:
	ldr	x9, [x9, _AV_CODEC_FLAG_GRAY@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.20:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_21:
	ldp	w8, w9, [sp, #20]               ; 8-byte Folded Reload
	orr	w8, w8, w8, lsl #1
	orr	w9, w9, w9, lsr #1
	and	w8, w8, #0x2
	bfxil	w8, w9, #0, #1
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	add	x20, x9, w8, uxtw #3
	ldr	x8, [x20, #32]
	ldr	w9, [sp, #88]                   ; 4-byte Folded Reload
	asr	w19, w9, #1
	mov	x0, x24
	mov	x1, x25
	ldr	w21, [sp, #28]                  ; 4-byte Folded Reload
	mov	x2, x21
	mov	x3, x19
	blr	x8
	ldr	x4, [x20, #32]
	mov	x0, x23
	mov	x1, x27
	mov	x2, x21
	mov	x3, x19
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	br	x4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_FF_BUG_QPEL_CHROMA2,4,2        ; @FF_BUG_QPEL_CHROMA2
	.section	__TEXT,__const
	.p2align	2                               ; @qpel_motion.rtab
_qpel_motion.rtab:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	1                               ; 0x1

	.comm	_FF_BUG_QPEL_CHROMA,4,2         ; @FF_BUG_QPEL_CHROMA
	.comm	_CONFIG_GRAY,4,2                ; @CONFIG_GRAY
	.comm	_AV_CODEC_FLAG_GRAY,4,2         ; @AV_CODEC_FLAG_GRAY
	.comm	_FF_BUG_IEDGE,4,2               ; @FF_BUG_IEDGE
	.no_dead_strip	_qpel_motion
.subsections_via_symbols
