	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function common_hz_2t_and_aver_dst_4x4_msa
_common_hz_2t_and_aver_dst_4x4_msa:     ## @common_hz_2t_and_aver_dst_4x4_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r14
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r13
	movq	_mc_filt_mask_arr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$64, %rdi
	callq	_LD_SB
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_LD_UH
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	___msa_splati_h
	movq	%rax, %rbx
	movq	%r13, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_LD_SB4
	movq	%r14, %rdi
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %esi
	callq	_LW4
	callq	_INSERT_W4_UB
	movl	%r15d, %r8d
	movl	%r15d, %r9d
	callq	_VSHF_B2_UB
	movq	%rbx, %rdx
	movq	%rbx, %rcx
	callq	_DOTP_UB2_UH
	movl	$7, %edx
	callq	_SRARI_H2_UH
	callq	___msa_pckev_b
	movq	%rax, %rdi
	callq	___msa_aver_u_b
	movl	%r12d, (%rsp)
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$2, %ecx
	movl	$3, %r8d
	movq	%r14, %r9
	callq	_ST_W4
	addq	$24, %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_hz_2t_and_aver_dst_4x4_msa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function common_hz_2t_and_aver_dst_4x4_msa
_common_hz_2t_and_aver_dst_4x4_msa:     ; @common_hz_2t_and_aver_dst_4x4_msa
	.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	x21, x4
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _mc_filt_mask_arr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mc_filt_mask_arr@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x0, x8, #64
	bl	_LD_SB
	mov	x24, x0
	mov	x0, x21
	bl	_LD_UH
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #0
	bl	___msa_splati_h
	mov	x21, x0
	mov	x0, x23
	mov	x1, x22
	bl	_LD_SB4
	mov	x0, x20
	mov	x1, x19
	bl	_LW4
	bl	_INSERT_W4_UB
	mov	x4, x24
	mov	x5, x24
	bl	_VSHF_B2_UB
	mov	x2, x21
	mov	x3, x21
	bl	_DOTP_UB2_UH
	mov	w2, #7
	bl	_SRARI_H2_UH
	bl	___msa_pckev_b
	bl	___msa_aver_u_b
	mov	w1, #0
	mov	w2, #1
	mov	w3, #2
	mov	w4, #3
	mov	x5, x20
	mov	x6, 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
	b	_ST_W4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mc_filt_mask_arr,8,3           ; @mc_filt_mask_arr
	.no_dead_strip	_common_hz_2t_and_aver_dst_4x4_msa
.subsections_via_symbols
