	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vert_mc_qpel_aver_src0_16x16_msa
_vert_mc_qpel_aver_src0_16x16_msa:      ## @vert_mc_qpel_aver_src0_16x16_msa
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%esi, %r12d
	movq	%rdi, %r13
	movl	$20, %edi
	callq	___msa_ldi_b
	movl	%eax, %r14d
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	$6, %edi
	callq	___msa_ldi_b
	movl	%eax, %r15d
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	$3, %edi
	callq	___msa_ldi_b
	movl	%eax, %ebx
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_LD_UB5
	leal	(%r12,%r12,4), %eax
	cltq
	leaq	(%r13,%rax,4), %r13
	movl	%ebx, 32(%rsp)
	movl	%r15d, 24(%rsp)
	movl	%r14d, 16(%rsp)
	callq	_APPLY_VERT_QPEL_FILTER
	movl	%eax, %edi
	callq	___msa_aver_u_b
	movl	%eax, %edi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_ST_UB
	movslq	-64(%rbp), %rax                 ## 4-byte Folded Reload
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%rax,4), %r15
	movq	%r13, %rdi
	callq	_LD_UB
	movslq	%r12d, %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leaq	(%r13,%rcx,4), %r13
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, 32(%rsp)
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, 24(%rsp)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 16(%rsp)
	movl	%eax, 8(%rsp)
	movl	%eax, %r12d
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	callq	_APPLY_VERT_QPEL_FILTER
	movl	%eax, %edi
	callq	___msa_aver_u_b
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_ST_UB
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r15,%rax,4), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_LD_UB
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(,%rcx,4), %r15
	addq	%r13, %r15
	movl	%r14d, 32(%rsp)
	movl	%ebx, 24(%rsp)
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, 16(%rsp)
	movl	%eax, 8(%rsp)
	movl	%r12d, (%rsp)
	callq	_APPLY_VERT_QPEL_FILTER
	movl	%eax, %edi
	callq	___msa_aver_u_b
	movl	%eax, %edi
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_ST_UB
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	leaq	(%rbx,%r12,4), %rbx
	movq	%r15, %rdi
	callq	_LD_UB
	movl	%eax, -96(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	leaq	(%r15,%r14,4), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, 32(%rsp)
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 24(%rsp)
	movl	%r13d, 16(%rsp)
	movl	%eax, 8(%rsp)
	movl	-104(%rbp), %eax                ## 4-byte Reload
	movl	%eax, (%rsp)
	movl	-108(%rbp), %r9d                ## 4-byte Reload
	callq	_APPLY_VERT_QPEL_FILTER
	movl	%eax, %edi
	callq	___msa_aver_u_b
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_ST_UB
	leaq	(%rbx,%r12,4), %r12
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_LD_UB2
	leal	(%r14,%r14), %eax
	cltq
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	leaq	(%rbx,%rax,4), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	%r15d, 32(%rsp)
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, 24(%rsp)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 16(%rsp)
	movl	-96(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rsp)
	movl	-108(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %r8d
	movl	-104(%rbp), %r14d               ## 4-byte Reload
	movl	%r14d, %r9d
	callq	_APPLY_VERT_QPEL_FILTER
	movl	%eax, %edi
	callq	___msa_aver_u_b
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_ST_UB
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	leaq	(%r12,%r15,4), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, 32(%rsp)
	movl	%r13d, 24(%rsp)
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, 16(%rsp)
	movl	%ebx, %edi
	movl	%r14d, %r8d
	movl	-96(%rbp), %r9d                 ## 4-byte Reload
	callq	_APPLY_VERT_QPEL_FILTER
	movl	%eax, %edi
	movl	%ebx, %esi
	movl	%ebx, %r14d
	callq	___msa_aver_u_b
	movl	%eax, %edi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_ST_UB
	leaq	(%rbx,%r15,4), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_UB2
	movq	-120(%rbp), %rax                ## 8-byte Reload
	leaq	(%rbx,%rax,4), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	%r12d, 32(%rsp)
	movl	%r12d, %r15d
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, 24(%rsp)
	movl	%r13d, 16(%rsp)
	movl	-104(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %edi
	movl	%r14d, %esi
	movl	-96(%rbp), %r8d                 ## 4-byte Reload
	callq	_APPLY_VERT_QPEL_FILTER
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	___msa_aver_u_b
	movl	%eax, %edi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_ST_UB
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rbx,%rax,4), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%r15d, 32(%rsp)
	movl	%r12d, 24(%rsp)
	movl	%r13d, 16(%rsp)
	movl	-96(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movl	-104(%rbp), %r13d               ## 4-byte Reload
	movl	%r13d, %esi
	movl	%r14d, %edx
	callq	_APPLY_VERT_QPEL_FILTER
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	___msa_aver_u_b
	movl	%eax, %edi
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_ST_UB
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r14,%rax,4), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_UB2
	movq	-120(%rbp), %rax                ## 8-byte Reload
	leaq	(%r14,%rax,4), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	%r15d, 32(%rsp)
	movl	%r12d, 24(%rsp)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 16(%rsp)
	movl	%ebx, %r15d
	movl	%ebx, %esi
	movl	%r13d, %edx
	movl	-108(%rbp), %ecx                ## 4-byte Reload
	callq	_APPLY_VERT_QPEL_FILTER
	movl	%eax, %edi
	callq	___msa_aver_u_b
	movl	%eax, %edi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_ST_UB
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	leaq	(%rbx,%r14,4), %r13
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 32(%rsp)
	movl	%r12d, 24(%rsp)
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, 16(%rsp)
	movl	%r15d, %edx
	movl	-104(%rbp), %ecx                ## 4-byte Reload
	callq	_APPLY_VERT_QPEL_FILTER
	movl	%eax, %edi
	callq	___msa_aver_u_b
	movl	%eax, %edi
	movq	%r13, %rsi
	callq	_ST_UB
	leaq	(,%r14,4), %rax
	addq	%r13, %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_UB2
	movq	-120(%rbp), %rax                ## 8-byte Reload
	leaq	(%rbx,%rax,4), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, 32(%rsp)
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, 24(%rsp)
	movl	%r12d, 16(%rsp)
	movl	-96(%rbp), %ecx                 ## 4-byte Reload
	callq	_APPLY_VERT_QPEL_FILTER
	movl	%eax, %edi
	callq	___msa_aver_u_b
	movl	%eax, %edi
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_ST_UB
	leaq	(%rbx,%r14,4), %rbx
	movl	%r15d, 32(%rsp)
	movl	%r13d, 24(%rsp)
	movl	%r12d, 16(%rsp)
	callq	_APPLY_VERT_QPEL_FILTER
	movl	%eax, %edi
	callq	___msa_aver_u_b
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_ST_UB
	leaq	(%rbx,%r14,4), %rbx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_LD_UB
	movl	%eax, %r14d
	movl	%r15d, 32(%rsp)
	movl	%r13d, 24(%rsp)
	movl	%r12d, 16(%rsp)
	movl	%eax, 8(%rsp)
	callq	_APPLY_VERT_QPEL_FILTER
	movl	%eax, %edi
	callq	___msa_aver_u_b
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_ST_UB
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	leaq	(%rbx,%r12,4), %rbx
	movl	%r15d, 32(%rsp)
	movl	%r13d, 24(%rsp)
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, 16(%rsp)
	movl	%r14d, 8(%rsp)
	movl	%r14d, (%rsp)
	callq	_APPLY_VERT_QPEL_FILTER
	movl	%eax, %edi
	callq	___msa_aver_u_b
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_ST_UB
	leaq	(%rbx,%r12,4), %rbx
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, 32(%rsp)
	movl	%r13d, 24(%rsp)
	movl	%r15d, 16(%rsp)
	movl	%r14d, (%rsp)
	movl	%r14d, %r9d
	callq	_APPLY_VERT_QPEL_FILTER
	movl	%eax, %edi
	callq	___msa_aver_u_b
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_ST_UB
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rbx,%rax,4), %rbx
	movl	%r12d, 32(%rsp)
	movl	%r13d, 24(%rsp)
	movl	%r15d, 16(%rsp)
	movl	%r14d, %r8d
	movl	%r14d, %r9d
	callq	_APPLY_VERT_QPEL_FILTER
	movl	%eax, %edi
	callq	___msa_aver_u_b
	movl	%eax, %edi
	movq	%rbx, %rsi
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ST_UB                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vert_mc_qpel_aver_src0_16x16_msa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vert_mc_qpel_aver_src0_16x16_msa
_vert_mc_qpel_aver_src0_16x16_msa:      ; @vert_mc_qpel_aver_src0_16x16_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x3
	mov	x24, x2
	mov	x22, x1
	mov	x25, x0
	mov	w26, #20
	mov	w0, #20
	bl	___msa_ldi_b
	mov	x19, x0
	mov	w0, #6
	bl	___msa_ldi_b
	mov	x20, x0
	mov	w0, #3
	bl	___msa_ldi_b
	mov	x21, x0
	mov	x0, x25
	mov	x1, x22
	bl	_LD_UB5
	smaddl	x25, w22, w26, x25
	str	x22, [sp, #24]                  ; 8-byte Folded Spill
	stp	w20, w21, [sp, #4]
	str	w19, [sp]
	bl	_APPLY_VERT_QPEL_FILTER
	bl	___msa_aver_u_b
	mov	x1, x24
	bl	_ST_UB
	sbfiz	x28, x23, #2, #32
	add	x24, x24, x28
	mov	x0, x25
	bl	_LD_UB
	mov	x23, x0
	sbfiz	x22, x22, #2, #32
	add	x25, x25, x22
	stp	w20, w21, [sp, #4]
	str	w19, [sp]
	mov	x7, x0
	bl	_APPLY_VERT_QPEL_FILTER
	bl	___msa_aver_u_b
	mov	x1, x24
	bl	_ST_UB
	add	x26, x24, x28
	mov	x0, x25
	bl	_LD_UB
	mov	x24, x0
	add	x27, x25, x22
	stp	w20, w21, [sp, #4]
	str	w19, [sp]
	mov	x6, x23
	mov	x7, x0
	bl	_APPLY_VERT_QPEL_FILTER
	bl	___msa_aver_u_b
	mov	x1, x26
	bl	_ST_UB
	add	x26, x26, x28
	mov	x0, x27
	bl	_LD_UB
	mov	x25, x0
	add	x27, x27, x22
	stp	w20, w21, [sp, #4]
	str	w19, [sp]
	mov	x5, x23
	mov	x6, x24
	mov	x7, x0
	bl	_APPLY_VERT_QPEL_FILTER
	bl	___msa_aver_u_b
	mov	x1, x26
	bl	_ST_UB
	add	x26, x26, x28
	mov	x0, x27
	ldr	x22, [sp, #24]                  ; 8-byte Folded Reload
	mov	x1, x22
	bl	_LD_UB2
	sbfiz	x22, x22, #3, #32
	add	x27, x27, x22
	str	x22, [sp, #16]                  ; 8-byte Folded Spill
	stp	w20, w21, [sp, #4]
	str	w19, [sp]
	mov	x4, x23
	mov	x5, x24
	mov	x6, x25
	bl	_APPLY_VERT_QPEL_FILTER
	bl	___msa_aver_u_b
	mov	x1, x26
	bl	_ST_UB
	add	x26, x26, x28
	stp	w20, w21, [sp, #4]
	str	w19, [sp]
	mov	x0, x23
	mov	x4, x24
	mov	x5, x25
	bl	_APPLY_VERT_QPEL_FILTER
	mov	x1, x23
	bl	___msa_aver_u_b
	mov	x1, x26
	bl	_ST_UB
	add	x26, x26, x28
	mov	x0, x27
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_LD_UB2
	add	x27, x27, x22
	stp	w20, w21, [sp, #4]
	str	w19, [sp]
	mov	x0, x24
	mov	x1, x23
	mov	x4, x25
	bl	_APPLY_VERT_QPEL_FILTER
	mov	x1, x24
	bl	___msa_aver_u_b
	mov	x1, x26
	bl	_ST_UB
	add	x26, x26, x28
	stp	w20, w21, [sp, #4]
	str	w19, [sp]
	mov	x0, x25
	mov	x1, x24
	mov	x2, x23
	bl	_APPLY_VERT_QPEL_FILTER
	mov	x1, x25
	bl	___msa_aver_u_b
	mov	x1, x26
	bl	_ST_UB
	add	x26, x26, x28
	mov	x0, x27
	ldr	x22, [sp, #24]                  ; 8-byte Folded Reload
	mov	x1, x22
	bl	_LD_UB2
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x27, x27, x8
	stp	w20, w21, [sp, #4]
	str	w19, [sp]
	mov	x1, x25
	mov	x2, x24
	mov	x3, x23
	bl	_APPLY_VERT_QPEL_FILTER
	bl	___msa_aver_u_b
	mov	x1, x26
	bl	_ST_UB
	add	x23, x26, x28
	stp	w20, w21, [sp, #4]
	str	w19, [sp]
	mov	x2, x25
	mov	x3, x24
	bl	_APPLY_VERT_QPEL_FILTER
	bl	___msa_aver_u_b
	mov	x1, x23
	bl	_ST_UB
	add	x23, x23, x28
	mov	x0, x27
	mov	x1, x22
	bl	_LD_UB2
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x22, x27, x8
	stp	w20, w21, [sp, #4]
	str	w19, [sp]
	mov	x3, x25
	bl	_APPLY_VERT_QPEL_FILTER
	bl	___msa_aver_u_b
	mov	x1, x23
	bl	_ST_UB
	add	x23, x23, x28
	stp	w20, w21, [sp, #4]
	str	w19, [sp]
	bl	_APPLY_VERT_QPEL_FILTER
	bl	___msa_aver_u_b
	mov	x1, x23
	bl	_ST_UB
	add	x23, x23, x28
	mov	x0, x22
	bl	_LD_UB
	mov	x22, x0
	stp	w20, w21, [sp, #4]
	str	w19, [sp]
	mov	x7, x0
	bl	_APPLY_VERT_QPEL_FILTER
	bl	___msa_aver_u_b
	mov	x1, x23
	bl	_ST_UB
	add	x23, x23, x28
	stp	w20, w21, [sp, #4]
	str	w19, [sp]
	mov	x6, x22
	mov	x7, x22
	bl	_APPLY_VERT_QPEL_FILTER
	bl	___msa_aver_u_b
	mov	x1, x23
	bl	_ST_UB
	add	x23, x23, x28
	stp	w20, w21, [sp, #4]
	str	w19, [sp]
	mov	x5, x22
	mov	x6, x22
	bl	_APPLY_VERT_QPEL_FILTER
	bl	___msa_aver_u_b
	mov	x1, x23
	bl	_ST_UB
	add	x23, x23, x28
	stp	w20, w21, [sp, #4]
	str	w19, [sp]
	mov	x4, x22
	mov	x5, x22
	bl	_APPLY_VERT_QPEL_FILTER
	bl	___msa_aver_u_b
	mov	x1, x23
	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
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_ST_UB
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vert_mc_qpel_aver_src0_16x16_msa
.subsections_via_symbols
