	.file	"extr_hevc_mc_uni_msa.c_hevc_hv_uni_4t_4x2_msa.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hevc_hv_uni_4t_4x2_msa, @function
hevc_hv_uni_4t_4x2_msa:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	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
	mov	r12, r9
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR ff_hevc_mask_arr[rip]
	mov	QWORD PTR 8[rsp], rdx
	lea	rdi, 16[rax]
	mov	QWORD PTR 16[rsp], rcx
	call	LD_SB@PLT
	mov	rdi, r13
	mov	QWORD PTR [rsp], r15
	xor	r13d, r13d
	mov	rbx, rax
	lea	rax, 0[0+r15*4]
	xor	r15d, r15d
	sub	rbp, rax
	lea	r11, -4[rbp]
	mov	QWORD PTR 24[rsp], r11
	call	LD_SH@PLT
	xor	r8d, r8d
	mov	ecx, r15d
	mov	edx, 1
	xor	esi, esi
	mov	edi, eax
	call	SPLATI_H2_SH@PLT
	mov	rdi, r12
	xor	r12d, r12d
	call	LD_SH@PLT
	mov	ebp, eax
	mov	esi, eax
	mov	edi, eax
	call	UNPCK_R_SB_SH@PLT
	xor	ecx, ecx
	xor	edx, edx
	xor	esi, esi
	mov	edi, ebp
	xor	ebp, ebp
	call	SPLATI_W2_SH@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 104
	xor	r10d, r10d
	mov	r9, r13
	push	r10
	.cfi_def_cfa_offset 112
	mov	r11, QWORD PTR 40[rsp]
	mov	r8, rbp
	mov	rcx, r12
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdx, r14
	mov	rdi, r11
	call	LD_SB5@PLT
	xor	r10d, r10d
	mov	rcx, r13
	mov	rdx, rbp
	mov	r8, r10
	mov	rsi, r12
	mov	rdi, r14
	call	XORI_B5_128_SB@PLT
	xor	r11d, r11d
	lea	r9, 2[rbx]
	mov	r8, rbx
	push	r11
	.cfi_def_cfa_offset 120
	mov	rcx, rbp
	mov	rdx, r14
	mov	rsi, rbp
	push	0
	.cfi_def_cfa_offset 128
	mov	rdi, r14
	call	VSHF_B2_SB@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 96
	lea	r9, 2[rbx]
	mov	r8, rbx
	push	r14
	.cfi_def_cfa_offset 104
	mov	rcx, r13
	mov	rdx, r12
	mov	rsi, r13
	push	0
	.cfi_def_cfa_offset 112
	mov	rdi, r12
	call	VSHF_B2_SB@PLT
	push	r13
	.cfi_def_cfa_offset 120
	xor	r10d, r10d
	lea	r9, 2[rbx]
	push	r12
	.cfi_def_cfa_offset 128
	mov	rcx, r10
	mov	rsi, r10
	mov	r8, rbx
	mov	rdx, rbp
	mov	rdi, rbp
	call	VSHF_B2_SB@PLT
	xor	r11d, r11d
	add	rsp, 32
	.cfi_def_cfa_offset 96
	xor	ecx, ecx
	mov	rsi, r11
	xor	edi, edi
	mov	edx, r15d
	call	HEVC_FILT_4TAP_SH@PLT
	mov	edx, r15d
	mov	rsi, r14
	xor	ecx, ecx
	xor	edi, edi
	mov	ebx, eax
	call	HEVC_FILT_4TAP_SH@PLT
	mov	edx, r15d
	mov	rsi, r13
	mov	rdi, r12
	xor	ecx, ecx
	mov	ebp, eax
	call	HEVC_FILT_4TAP_SH@PLT
	xor	r8d, r8d
	mov	edx, r15d
	mov	esi, ebx
	mov	ecx, r8d
	mov	r12d, eax
	mov	edi, ebp
	call	ILVRL_H2_SH@PLT
	mov	ecx, r14d
	mov	edx, r13d
	mov	esi, ebp
	mov	edi, r12d
	call	ILVRL_H2_SH@PLT
	xor	r8d, r8d
	mov	edi, r15d
	xor	ecx, ecx
	mov	esi, r8d
	xor	edx, edx
	call	HEVC_FILT_4TAP@PLT
	xor	ecx, ecx
	xor	edx, edx
	mov	esi, r14d
	mov	edi, r13d
	mov	ebx, eax
	call	HEVC_FILT_4TAP@PLT
	sar	ebx, 6
	sar	eax, 6
	mov	esi, ebx
	mov	edi, eax
	call	__msa_pckev_h@PLT
	mov	esi, 6
	mov	edi, eax
	call	__msa_srari_h@PLT
	mov	esi, 7
	mov	edi, eax
	call	__msa_sat_s_h@PLT
	mov	edi, eax
	mov	esi, eax
	call	PCKEV_XORI128_UB@PLT
	mov	r8, QWORD PTR 16[rsp]
	mov	rcx, QWORD PTR 8[rsp]
	add	rsp, 40
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	mov	edi, eax
	pop	rbp
	.cfi_def_cfa_offset 40
	mov	edx, 1
	pop	r12
	.cfi_def_cfa_offset 32
	xor	esi, esi
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	ST_W2@PLT
	.cfi_endproc
.LFE0:
	.size	hevc_hv_uni_4t_4x2_msa, .-hevc_hv_uni_4t_4x2_msa
	.comm	ff_hevc_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_hevc_mc_uni_msa.c_hevc_hv_uni_4t_4x2_msa.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hevc_hv_uni_4t_4x2_msa, %function
hevc_hv_uni_4t_4x2_msa:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r1
	ldr	r1, .L4
	mov	r5, r0
	ldr	r0, [r1]
	sub	sp, sp, #36
	add	r0, r0, #16
	ldr	r4, [sp, #76]
	str	r2, [sp, #20]
	ldr	r9, [sp, #72]
	str	r3, [sp, #24]
	bl	LD_SB
	mov	r7, #0
	mvn	r3, r6
	mov	r8, r0
	mov	r0, r9
	add	r5, r5, r3, lsl #2
	str	r6, [sp, #16]
	bl	LD_SH
	mov	r3, r7
	mov	r2, #1
	mov	r1, r7
	str	r7, [sp]
	bl	SPLATI_H2_SH
	mov	r0, r4
	bl	LD_SH
	mov	r1, r0
	str	r0, [sp, #28]
	bl	UNPCK_R_SB_SH
	ldr	r1, [sp, #28]
	mov	r3, r7
	mov	r2, r7
	mov	r0, r1
	mov	r1, r7
	bl	SPLATI_W2_SH
	mov	r4, r7
	mov	ip, r7
	mov	r10, r7
	mov	r3, r7
	stm	sp, {r4, r10, ip}
	mov	r2, r7
	ldr	r1, [sp, #16]
	mov	r0, r5
	bl	LD_SB5
	add	r5, r8, #2
	mov	r3, r7
	mov	r2, r7
	mov	r1, r7
	mov	r0, r7
	str	r7, [sp]
	bl	XORI_B5_128_SB
	mov	r3, r7
	mov	r2, r7
	mov	r1, r7
	str	r8, [sp]
	str	r5, [sp, #4]
	mov	r0, r7
	str	r7, [sp, #12]
	str	r7, [sp, #8]
	bl	VSHF_B2_SB
	mov	r3, r7
	mov	r1, r7
	mov	r2, r7
	str	r5, [sp, #4]
	str	r8, [sp]
	mov	r0, r7
	str	r7, [sp, #12]
	str	r7, [sp, #8]
	bl	VSHF_B2_SB
	mov	r3, r7
	mov	r1, r7
	mov	r2, r7
	str	r5, [sp, #4]
	str	r8, [sp]
	mov	r0, r7
	str	r7, [sp, #12]
	str	r7, [sp, #8]
	bl	VSHF_B2_SB
	mov	r3, r7
	mov	r2, r7
	mov	r1, r7
	mov	r0, r7
	bl	HEVC_FILT_4TAP_SH
	mov	r1, r7
	mov	r8, r0
	mov	r3, r7
	mov	r2, r7
	mov	r0, r7
	bl	HEVC_FILT_4TAP_SH
	mov	r3, r7
	mov	r4, r0
	mov	r2, r7
	mov	r1, r7
	mov	r0, r7
	bl	HEVC_FILT_4TAP_SH
	mov	r5, r0
	mov	r1, r8
	mov	r3, r7
	mov	r2, r7
	mov	r0, r4
	bl	ILVRL_H2_SH
	mov	r1, r4
	mov	r3, r7
	mov	r2, r7
	mov	r0, r5
	bl	ILVRL_H2_SH
	mov	r3, r7
	mov	r2, r7
	mov	r1, r7
	mov	r0, r7
	bl	HEVC_FILT_4TAP
	mov	r3, r7
	mov	r2, r7
	mov	r4, r0
	mov	r1, r7
	mov	r0, r7
	bl	HEVC_FILT_4TAP
	asr	r1, r4, #6
	asr	r0, r0, #6
	bl	__msa_pckev_h
	mov	r1, #6
	bl	__msa_srari_h
	mov	r1, #7
	bl	__msa_sat_s_h
	mov	r1, r0
	bl	PCKEV_XORI128_UB
	ldr	r1, [sp, #24]
	mov	r2, #1
	str	r1, [sp, #72]
	mov	r1, r7
	ldr	r3, [sp, #20]
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	ST_W2
.L5:
	.align	2
.L4:
	.word	ff_hevc_mask_arr
	.size	hevc_hv_uni_4t_4x2_msa, .-hevc_hv_uni_4t_4x2_msa
	.comm	ff_hevc_mask_arr,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
