	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vert_mc_qpel_avg_dst_aver_src1_8x8_msa
_vert_mc_qpel_avg_dst_aver_src1_8x8_msa: ## @vert_mc_qpel_avg_dst_aver_src1_8x8_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	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	%esi, %r12d
	movq	%rdi, %r14
	movl	$20, %edi
	callq	___msa_ldi_b
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$6, %edi
	callq	___msa_ldi_b
	movq	%rax, %r15
	movl	$3, %edi
	callq	___msa_ldi_b
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_LD_UB4
	leal	(,%r12,4), %eax
	cltq
	leaq	(%r14,%rax,4), %rbx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_LD_UB2
	leal	(%r12,%r12), %eax
	movslq	%eax, %r14
	leaq	(%rbx,%r14,4), %r13
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, 96(%rsp)
	movq	%r15, 88(%rsp)
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 80(%rsp)
	callq	_APPLY_VERT_QPEL_FILTER_8BYTE
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_LD_UB2
	leaq	(,%r14,4), %rax
	addq	%r13, %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%rbx, 96(%rsp)
	movq	%r15, 88(%rsp)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 80(%rsp)
	callq	_APPLY_VERT_QPEL_FILTER_8BYTE
	movq	%rax, %r12
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_LD_UB4
	movl	$1, %esi
	callq	___msa_insve_d
	movq	%rax, %r14
	movl	$1, %esi
	callq	___msa_insve_d
	movq	%rax, %r13
	movl	$1, %esi
	callq	___msa_insve_d
	movq	%rax, %r15
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	$1, %esi
	callq	___msa_insve_d
	movq	%rax, %rbx
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	movq	%rdi, %r8
	movq	%rdi, %r14
	movq	%r12, %r9
	callq	_AVER_UB2_UB
	movq	%r15, %rdi
	movq	%r14, %r15
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	movq	%r14, %r8
	movq	%r12, %r9
	callq	_AVER_UB2_UB
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, 8(%rsp)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, (%rsp)
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ST_D4
	leal	(,%rbx,4), %eax
	cltq
	leaq	(%r14,%rax,4), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_LD_UB
	movq	%rax, %r14
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, 96(%rsp)
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	%r12, 88(%rsp)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, 80(%rsp)
	movq	%rax, 72(%rsp)
	movq	%rax, 64(%rsp)
	movq	%rax, 8(%rsp)
	callq	_APPLY_VERT_QPEL_FILTER_8BYTE
	movq	%rax, %r15
	movq	%r13, 96(%rsp)
	movq	%r12, 88(%rsp)
	movq	%rbx, 80(%rsp)
	movq	%r14, 56(%rsp)
	movq	%r14, 48(%rsp)
	movq	%r14, (%rsp)
	movq	%r14, %r9
	callq	_APPLY_VERT_QPEL_FILTER_8BYTE
	movq	%rax, %rbx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %r8
	callq	_LD_UB4
	movl	$1, %esi
	callq	___msa_insve_d
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$1, %esi
	movl	%r14d, %edx
	callq	___msa_insve_d
	movq	%rax, %r14
	movl	%r12d, %edi
	movl	$1, %esi
	callq	___msa_insve_d
	movq	%rax, %r12
	movl	%r13d, %edi
	movl	$1, %esi
	callq	___msa_insve_d
	movq	%rax, %r13
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r14, %rcx
	movq	%r15, %r8
	movq	%rbx, %r9
	callq	_AVER_UB2_UB
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	movq	%r15, %r8
	movq	%rbx, %r9
	callq	_AVER_UB2_UB
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, 8(%rsp)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ST_D4
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vert_mc_qpel_avg_dst_aver_src1_8x8_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_avg_dst_aver_src1_8x8_msa
_vert_mc_qpel_avg_dst_aver_src1_8x8_msa: ; @vert_mc_qpel_avg_dst_aver_src1_8x8_msa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x26, x3
	stur	w3, [x29, #-92]                 ; 4-byte Folded Spill
	mov	x22, x2
	mov	x24, x1
	mov	x25, x0
	mov	w0, #20
	bl	___msa_ldi_b
	mov	x20, x0
	mov	w0, #6
	bl	___msa_ldi_b
	mov	x21, x0
	mov	w0, #3
	bl	___msa_ldi_b
	mov	x23, x0
	mov	x0, x25
	mov	x1, x24
	bl	_LD_UB4
	add	x25, x25, w24, sxtw #4
	mov	x0, x25
	mov	x1, x24
	bl	_LD_UB2
	sbfiz	x19, x24, #3, #32
	add	x25, x25, x19
	stp	x21, x23, [sp, #72]
	str	x20, [sp, #64]
	bl	_APPLY_VERT_QPEL_FILTER_8BYTE
	mov	x27, x0
	mov	x0, x25
	mov	x1, x24
	bl	_LD_UB2
	add	x8, x25, x19
	stur	x8, [x29, #-88]                 ; 8-byte Folded Spill
	stp	x21, x23, [sp, #72]
	str	x20, [sp, #64]
	bl	_APPLY_VERT_QPEL_FILTER_8BYTE
	mov	x28, x0
	mov	x0, x22
	mov	x1, x26
	bl	_LD_UB4
	mov	w1, #1
	bl	___msa_insve_d
	mov	x26, x0
	mov	w1, #1
	bl	___msa_insve_d
	mov	x19, x0
	mov	w1, #1
	bl	___msa_insve_d
	mov	x25, x0
	mov	w1, #1
	bl	___msa_insve_d
	mov	x24, x0
	mov	x0, x27
	mov	x1, x26
	mov	x2, x28
	mov	x3, x19
	mov	x4, x27
	mov	x5, x28
	bl	_AVER_UB2_UB
	mov	x0, x25
	mov	x1, x27
	mov	x2, x24
	mov	x3, x28
	mov	x4, x27
	mov	x5, x28
	bl	_AVER_UB2_UB
	mov	x0, x27
	mov	x1, x28
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	mov	w5, #1
	mov	x6, x22
	ldur	w27, [x29, #-92]                ; 4-byte Folded Reload
	mov	x7, x27
	bl	_ST_D4
	lsl	w8, w27, #2
	add	x22, x22, w8, sxtw #2
	ldur	x0, [x29, #-88]                 ; 8-byte Folded Reload
	bl	_LD_UB
	mov	x19, x0
	stp	x21, x23, [sp, #72]
	stp	x0, x20, [sp, #56]
	str	x0, [sp, #48]
	mov	x7, x0
	bl	_APPLY_VERT_QPEL_FILTER_8BYTE
	mov	x26, x0
	stp	x21, x23, [sp, #72]
	str	x20, [sp, #64]
	stp	x19, x19, [sp, #32]
	mov	x5, x19
	mov	x6, x19
	bl	_APPLY_VERT_QPEL_FILTER_8BYTE
	mov	x20, x0
	mov	x0, x22
	mov	x1, x27
	mov	x2, x25
	mov	x4, x24
	bl	_LD_UB4
	mov	w1, #1
	bl	___msa_insve_d
	mov	x21, x0
	mov	w1, #1
	mov	x2, x19
	bl	___msa_insve_d
	mov	x19, x0
	mov	x0, x25
	mov	w1, #1
	bl	___msa_insve_d
	mov	x23, x0
	mov	x0, x24
	mov	w1, #1
	bl	___msa_insve_d
	mov	x24, x0
	mov	x0, x26
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	mov	x4, x26
	mov	x5, x20
	bl	_AVER_UB2_UB
	mov	x0, x23
	mov	x1, x26
	mov	x2, x24
	mov	x3, x20
	mov	x4, x26
	mov	x5, x20
	bl	_AVER_UB2_UB
	mov	x0, x26
	mov	x1, x20
	mov	w2, #0
	mov	w3, #1
	mov	w4, #0
	mov	w5, #1
	mov	x6, x22
	mov	x7, x27
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	b	_ST_D4
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vert_mc_qpel_avg_dst_aver_src1_8x8_msa
.subsections_via_symbols
