	.file	"extr_vp9_mc_msa.c_common_hv_2ht_2vt_and_aver_dst_8x4_msa.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	common_hv_2ht_2vt_and_aver_dst_8x4_msa, @function
common_hv_2ht_2vt_and_aver_dst_8x4_msa:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	xor	r14d, r14d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r8
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, r9
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, esi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	QWORD PTR 24[rsp], rdi
	mov	rdi, QWORD PTR mc_filt_mask_arr[rip]
	mov	QWORD PTR 8[rsp], rdx
	mov	DWORD PTR 20[rsp], ecx
	call	LD_SB@PLT
	mov	rdi, r13
	mov	r12d, eax
	call	LD_SH@PLT
	xor	esi, esi
	mov	edi, eax
	call	__msa_splati_h@PLT
	mov	rdi, rbp
	xor	ebp, ebp
	mov	r13, rax
	call	LD_SH@PLT
	xor	esi, esi
	mov	edi, eax
	call	__msa_splati_h@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 104
	xor	r10d, r10d
	xor	r11d, r11d
	push	0
	.cfi_def_cfa_offset 112
	mov	rdi, QWORD PTR 40[rsp]
	mov	r9d, r10d
	mov	r8d, r11d
	mov	ecx, ebp
	mov	edx, r14d
	mov	esi, ebx
	mov	r15, rax
	xor	ebx, ebx
	call	LD_SB5@PLT
	mov	esi, DWORD PTR 36[rsp]
	mov	rdi, QWORD PTR 24[rsp]
	xor	ecx, ecx
	mov	r8d, ebx
	xor	r9d, r9d
	xor	edx, edx
	call	LD4@PLT
	xor	ecx, ecx
	xor	edx, edx
	xor	edi, edi
	mov	esi, ecx
	call	INSERT_D2_UB@PLT
	xor	r9d, r9d
	xor	esi, esi
	mov	edi, ebx
	mov	rdx, r9
	call	INSERT_D2_UB@PLT
	mov	rcx, r13
	mov	edx, r12d
	mov	esi, r14d
	mov	edi, r14d
	mov	r8d, 7
	call	HORIZ_2TAP_FILT_UH@PLT
	mov	rcx, r13
	mov	edx, r12d
	mov	esi, ebp
	mov	r8d, 7
	mov	edi, ebp
	mov	rbx, rax
	call	HORIZ_2TAP_FILT_UH@PLT
	mov	esi, ebx
	mov	edi, eax
	mov	r14, rax
	call	__msa_ilvev_b@PLT
	mov	rsi, r15
	mov	rdi, rax
	call	__msa_dotp_u_h@PLT
	xor	r11d, r11d
	mov	rcx, r13
	mov	edx, r12d
	mov	esi, r11d
	mov	edi, r11d
	mov	r8d, 7
	mov	rbp, rax
	call	HORIZ_2TAP_FILT_UH@PLT
	mov	esi, r14d
	mov	edi, eax
	mov	rbx, rax
	call	__msa_ilvev_b@PLT
	mov	rsi, r15
	mov	rdi, rax
	call	__msa_dotp_u_h@PLT
	xor	r10d, r10d
	mov	rcx, r13
	mov	edx, r12d
	mov	esi, r10d
	mov	edi, r10d
	mov	r8d, 7
	mov	r14, rax
	call	HORIZ_2TAP_FILT_UH@PLT
	mov	esi, ebx
	mov	edi, eax
	mov	QWORD PTR 40[rsp], rax
	call	__msa_ilvev_b@PLT
	mov	rsi, r15
	mov	rdi, rax
	call	__msa_dotp_u_h@PLT
	mov	rcx, r13
	mov	edx, r12d
	xor	esi, esi
	mov	r8d, 7
	xor	edi, edi
	mov	rbx, rax
	call	HORIZ_2TAP_FILT_UH@PLT
	mov	r10, QWORD PTR 40[rsp]
	mov	rdi, rax
	mov	esi, r10d
	call	__msa_ilvev_b@PLT
	mov	rsi, r15
	mov	rdi, rax
	call	__msa_dotp_u_h@PLT
	mov	rdx, rbx
	mov	rsi, r14
	mov	rdi, rbp
	mov	r12, rax
	mov	r8d, 7
	mov	rcx, rax
	call	SRARI_H4_UH@PLT
	mov	rcx, r12
	mov	rdx, rbx
	mov	rsi, r14
	mov	rdi, rbp
	mov	r8d, 7
	call	SAT_UH4_UH@PLT
	mov	eax, DWORD PTR 36[rsp]
	mov	rcx, r12
	mov	rdx, rbx
	mov	rsi, r14
	mov	rdi, rbp
	xor	r9d, r9d
	xor	r8d, r8d
	push	rax
	.cfi_def_cfa_offset 120
	push	QWORD PTR 32[rsp]
	.cfi_def_cfa_offset 128
	call	PCKEV_AVG_ST8x4_UB@PLT
	add	rsp, 72
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	common_hv_2ht_2vt_and_aver_dst_8x4_msa, .-common_hv_2ht_2vt_and_aver_dst_8x4_msa
	.comm	mc_filt_mask_arr,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_vp9_mc_msa.c_common_hv_2ht_2vt_and_aver_dst_8x4_msa.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	common_hv_2ht_2vt_and_aver_dst_8x4_msa, %function
common_hv_2ht_2vt_and_aver_dst_8x4_msa:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, r3
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L4
	sub	sp, sp, #36
	mov	r7, r0
	ldr	r0, [r3]
	str	r2, [sp, #20]
	str	ip, [sp, #24]
	str	r1, [sp, #28]
	bl	LD_SB
	mov	r5, r0
	ldr	r0, [sp, #72]
	bl	LD_SH
	mov	r1, #0
	bl	__msa_splati_h
	mov	r6, r0
	ldr	r0, [sp, #76]
	bl	LD_SH
	mov	r1, #0
	mov	r9, r1
	bl	__msa_splati_h
	mov	ip, r0
	mov	r4, #7
	ldr	r3, [sp, #28]
	mov	r2, r9
	mov	r1, r3
	str	r9, [sp, #8]
	mov	r3, r9
	str	r9, [sp, #4]
	str	r9, [sp]
	mov	r0, r7
	mov	r7, ip
	bl	LD_SB5
	mov	r3, r9
	mov	r2, r9
	ldr	r1, [sp, #24]
	str	r9, [sp, #4]
	str	r9, [sp]
	ldr	r0, [sp, #20]
	bl	LD4
	mov	r1, r9
	mov	r2, r9
	mov	r0, r9
	bl	INSERT_D2_UB
	mov	r1, r9
	mov	r2, r9
	mov	r0, r9
	bl	INSERT_D2_UB
	mov	r3, r6
	mov	r2, r5
	mov	r1, r9
	mov	r0, r9
	str	r4, [sp]
	bl	HORIZ_2TAP_FILT_UH
	mov	r3, r6
	mov	r2, r5
	mov	r8, r0
	mov	r1, r9
	mov	r0, r9
	str	r4, [sp]
	bl	HORIZ_2TAP_FILT_UH
	mov	r1, r8
	mov	r8, r0
	bl	__msa_ilvev_b
	mov	r1, r7
	mov	fp, r9
	bl	__msa_dotp_u_h
	mov	r3, r6
	mov	r9, r0
	mov	r2, r5
	mov	r1, fp
	mov	r0, fp
	str	r4, [sp]
	bl	HORIZ_2TAP_FILT_UH
	mov	r1, r8
	mov	r8, r0
	bl	__msa_ilvev_b
	mov	r1, r7
	bl	__msa_dotp_u_h
	mov	r3, r6
	mov	r10, r0
	mov	r2, r5
	mov	r1, fp
	mov	r0, fp
	str	r4, [sp]
	bl	HORIZ_2TAP_FILT_UH
	mov	r1, r8
	mov	r8, r0
	bl	__msa_ilvev_b
	mov	r1, r7
	bl	__msa_dotp_u_h
	mov	ip, r0
	mov	r3, r6
	mov	r2, r5
	mov	r1, fp
	mov	r0, fp
	str	r4, [sp]
	mov	r5, ip
	bl	HORIZ_2TAP_FILT_UH
	mov	r1, r8
	bl	__msa_ilvev_b
	mov	r1, r7
	bl	__msa_dotp_u_h
	mov	r6, r0
	mov	r3, r0
	mov	r2, r5
	mov	r1, r10
	mov	r0, r9
	str	r4, [sp]
	bl	SRARI_H4_UH
	mov	r3, r6
	mov	r2, r5
	mov	r1, r10
	mov	r0, r9
	str	r4, [sp]
	bl	SAT_UH4_UH
	ldr	r2, [sp, #24]
	mov	r3, r6
	str	r2, [sp, #12]
	ldr	r2, [sp, #20]
	mov	r1, r10
	str	r2, [sp, #8]
	mov	r0, r9
	mov	r2, r5
	str	fp, [sp, #4]
	str	fp, [sp]
	bl	PCKEV_AVG_ST8x4_UB
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	.align	2
.L4:
	.word	mc_filt_mask_arr
	.size	common_hv_2ht_2vt_and_aver_dst_8x4_msa, .-common_hv_2ht_2vt_and_aver_dst_8x4_msa
	.comm	mc_filt_mask_arr,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
