	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function common_hv_2ht_2vt_and_aver_dst_8x4_msa
_common_hv_2ht_2vt_and_aver_dst_8x4_msa: ## @common_hv_2ht_2vt_and_aver_dst_8x4_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %rbx
	movl	%ecx, %r15d
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r13
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_mc_filt_mask_arr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_LD_SB
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_LD_SH
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	___msa_splati_h
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_LD_SH
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	___msa_splati_h
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_LD_SB5
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_LD4
	callq	_INSERT_D2_UB
	callq	_INSERT_D2_UB
	movl	-60(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edx
	movq	%r12, %rcx
	movl	$7, %r8d
	callq	_HORIZ_2TAP_FILT_UH
	movq	%rax, %r14
	movl	%r13d, %edx
	movq	%r12, %rcx
	movl	$7, %r8d
	callq	_HORIZ_2TAP_FILT_UH
	movq	%rax, %r15
	movl	%r15d, %edi
	movl	%r14d, %esi
	callq	___msa_ilvev_b
	movq	%rax, %rdi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	___msa_dotp_u_h
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r13d, %edx
	movq	%r12, %rcx
	movl	$7, %r8d
	callq	_HORIZ_2TAP_FILT_UH
	movq	%rax, %r14
	movl	%r14d, %edi
	movl	%r15d, %esi
	callq	___msa_ilvev_b
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movq	%rbx, %r15
	callq	___msa_dotp_u_h
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%r13d, %ebx
	movl	%r13d, %edx
	movq	%r12, %rcx
	movl	$7, %r8d
	callq	_HORIZ_2TAP_FILT_UH
	movq	%rax, %r13
	movl	%r13d, %edi
	movl	%r14d, %esi
	callq	___msa_ilvev_b
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	___msa_dotp_u_h
	movq	%rax, %r14
	movl	%ebx, %edx
	movq	%r12, %rcx
	movl	$7, %r8d
	callq	_HORIZ_2TAP_FILT_UH
	movl	%eax, %edi
	movl	%r13d, %esi
	callq	___msa_ilvev_b
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	___msa_dotp_u_h
	movq	%rax, %r15
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%rax, %rcx
	movl	$7, %r8d
	callq	_SRARI_H4_UH
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	movl	$7, %r8d
	callq	_SAT_UH4_UH
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%rsp)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_PCKEV_AVG_ST8x4_UB
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mc_filt_mask_arr,8,3           ## @mc_filt_mask_arr
	.no_dead_strip	_common_hv_2ht_2vt_and_aver_dst_8x4_msa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function common_hv_2ht_2vt_and_aver_dst_8x4_msa
_common_hv_2ht_2vt_and_aver_dst_8x4_msa: ; @common_hv_2ht_2vt_and_aver_dst_8x4_msa
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x22, x5
	mov	x23, x4
	mov	x19, x3
	mov	x20, x2
	mov	x24, x1
	mov	x25, x0
Lloh0:
	adrp	x8, _mc_filt_mask_arr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mc_filt_mask_arr@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	bl	_LD_SB
	mov	x21, x0
	mov	x0, x23
	bl	_LD_SH
	mov	w1, #0
	bl	___msa_splati_h
	mov	x23, x0
	mov	x0, x22
	bl	_LD_SH
	mov	w1, #0
	bl	___msa_splati_h
	mov	x22, x0
	mov	x0, x25
	mov	x1, x24
	bl	_LD_SB5
	mov	x0, x20
	mov	x1, x19
	bl	_LD4
	bl	_INSERT_D2_UB
	bl	_INSERT_D2_UB
	mov	x2, x21
	mov	x3, x23
	mov	w4, #7
	bl	_HORIZ_2TAP_FILT_UH
	mov	x24, x0
	mov	x2, x21
	mov	x3, x23
	mov	w4, #7
	bl	_HORIZ_2TAP_FILT_UH
	mov	x25, x0
	mov	x1, x24
	bl	___msa_ilvev_b
	mov	x1, x22
	bl	___msa_dotp_u_h
	mov	x24, x0
	mov	x2, x21
	mov	x3, x23
	mov	w4, #7
	bl	_HORIZ_2TAP_FILT_UH
	mov	x26, x0
	mov	x1, x25
	bl	___msa_ilvev_b
	mov	x1, x22
	bl	___msa_dotp_u_h
	mov	x25, x0
	mov	x2, x21
	mov	x3, x23
	mov	w4, #7
	bl	_HORIZ_2TAP_FILT_UH
	mov	x27, x0
	mov	x1, x26
	bl	___msa_ilvev_b
	mov	x1, x22
	bl	___msa_dotp_u_h
	mov	x26, x0
	mov	x2, x21
	mov	x3, x23
	mov	w4, #7
	bl	_HORIZ_2TAP_FILT_UH
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	x1, x27
	bl	___msa_ilvev_b
	mov	x1, x22
	bl	___msa_dotp_u_h
	mov	x21, x0
	mov	x0, x24
	mov	x1, x25
	mov	x2, x26
	mov	x3, x21
	mov	w4, #7
	bl	_SRARI_H4_UH
	mov	x0, x24
	mov	x1, x25
	mov	x2, x26
	mov	x3, x21
	mov	w4, #7
	bl	_SAT_UH4_UH
	mov	x0, x24
	mov	x1, x25
	mov	x2, x26
	mov	x3, x21
	mov	x6, x20
	mov	x7, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_PCKEV_AVG_ST8x4_UB
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mc_filt_mask_arr,8,3           ; @mc_filt_mask_arr
	.no_dead_strip	_common_hv_2ht_2vt_and_aver_dst_8x4_msa
.subsections_via_symbols
