	.file	"extr_h264qpel_msa.c_ff_avg_h264_qpel8_mc01_msa.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ff_avg_h264_qpel8_mc01_msa
	.type	ff_avg_h264_qpel8_mc01_msa, @function
ff_avg_h264_qpel8_mc01_msa:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	r15d, r15d
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR 32[rsp], rdi
	mov	edi, 64257
	call	__msa_fill_h@PLT
	mov	edi, 5140
	mov	r12, rax
	call	__msa_fill_h@PLT
	mov	edi, 507
	mov	rbx, rax
	call	__msa_fill_h@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	mov	esi, r14d
	xor	r10d, r10d
	mov	rbp, rax
	lea	eax, [r14+r14]
	push	0
	.cfi_def_cfa_offset 128
	xor	r14d, r14d
	cdqe
	mov	r8, r14
	mov	rcx, r15
	mov	rdx, r10
	sal	rax, 2
	sub	r13, rax
	mov	DWORD PTR 28[rsp], esi
	mov	rdi, r13
	xor	r13d, r13d
	mov	r9, r13
	mov	QWORD PTR 32[rsp], rdi
	call	LD_SB5@PLT
	mov	esi, DWORD PTR 28[rsp]
	xor	r10d, r10d
	xor	r8d, r8d
	mov	rdi, QWORD PTR 32[rsp]
	mov	rdx, r14
	lea	eax, 0[0+rsi*4]
	mov	DWORD PTR 60[rsp], eax
	add	eax, esi
	mov	rsi, r15
	cdqe
	lea	rcx, [rdi+rax*4]
	mov	rdi, r10
	mov	QWORD PTR 32[rsp], rcx
	mov	rcx, r13
	call	XORI_B5_128_SB@PLT
	push	0
	.cfi_def_cfa_offset 136
	xor	r10d, r10d
	mov	r9, r14
	push	0
	.cfi_def_cfa_offset 144
	mov	r8, r13
	mov	rcx, r15
	mov	rdx, r14
	push	0
	.cfi_def_cfa_offset 152
	mov	rsi, r10
	mov	rdi, r15
	push	0
	.cfi_def_cfa_offset 160
	push	r13
	.cfi_def_cfa_offset 168
	push	0
	.cfi_def_cfa_offset 176
	call	ILVR_B4_SB@PLT
	add	rsp, 64
	.cfi_def_cfa_offset 112
	xor	r10d, r10d
	xor	r11d, r11d
	push	0
	.cfi_def_cfa_offset 120
	xor	r9d, r9d
	xor	r8d, r8d
	mov	rcx, r11
	push	0
	.cfi_def_cfa_offset 128
	mov	rdx, r15
	push	r10
	.cfi_def_cfa_offset 136
	push	0
	.cfi_def_cfa_offset 144
	mov	esi, DWORD PTR 44[rsp]
	mov	rdi, QWORD PTR 48[rsp]
	call	LD_SB8@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 112
	xor	r10d, r10d
	xor	r11d, r11d
	push	0
	.cfi_def_cfa_offset 120
	mov	r9, r10
	xor	ecx, ecx
	xor	edx, edx
	push	0
	.cfi_def_cfa_offset 128
	mov	rsi, r11
	mov	rdi, r15
	xor	r8d, r8d
	call	XORI_B8_128_SB@PLT
	push	0
	.cfi_def_cfa_offset 136
	xor	r11d, r11d
	mov	rcx, r15
	push	0
	.cfi_def_cfa_offset 144
	xor	r8d, r8d
	mov	r9, r11
	mov	rdx, r11
	push	0
	.cfi_def_cfa_offset 152
	xor	esi, esi
	mov	rdi, r15
	push	0
	.cfi_def_cfa_offset 160
	push	0
	.cfi_def_cfa_offset 168
	push	0
	.cfi_def_cfa_offset 176
	call	ILVR_B4_SB@PLT
	add	rsp, 64
	.cfi_def_cfa_offset 112
	mov	r9, rbp
	mov	r8, rbx
	mov	rcx, r12
	xor	edx, edx
	xor	esi, esi
	xor	edi, edi
	call	AVC_DOT_SH3_SH@PLT
	mov	r9, rbp
	mov	r8, rbx
	mov	rcx, r12
	xor	edx, edx
	xor	esi, esi
	xor	edi, edi
	mov	DWORD PTR 16[rsp], eax
	call	AVC_DOT_SH3_SH@PLT
	mov	r9, rbp
	mov	r8, rbx
	mov	rcx, r12
	xor	edx, edx
	xor	esi, esi
	xor	edi, edi
	mov	DWORD PTR 24[rsp], eax
	call	AVC_DOT_SH3_SH@PLT
	mov	r9, rbp
	mov	r8, rbx
	mov	rcx, r12
	xor	edx, edx
	xor	esi, esi
	xor	edi, edi
	mov	DWORD PTR 28[rsp], eax
	call	AVC_DOT_SH3_SH@PLT
	xor	r9d, r9d
	xor	r8d, r8d
	xor	ecx, ecx
	mov	rdx, r15
	mov	rsi, r14
	mov	rdi, r13
	mov	DWORD PTR 40[rsp], eax
	call	PCKEV_D2_SB@PLT
	push	0
	.cfi_def_cfa_offset 120
	xor	r10d, r10d
	xor	r8d, r8d
	push	0
	.cfi_def_cfa_offset 128
	mov	r9, r10
	mov	rdx, r10
	xor	ecx, ecx
	push	0
	.cfi_def_cfa_offset 136
	xor	edi, edi
	xor	esi, esi
	push	0
	.cfi_def_cfa_offset 144
	push	0
	.cfi_def_cfa_offset 152
	push	0
	.cfi_def_cfa_offset 160
	call	ILVR_B4_SB@PLT
	add	rsp, 48
	.cfi_def_cfa_offset 112
	mov	r9, rbp
	mov	r8, rbx
	mov	rcx, r12
	xor	edx, edx
	xor	esi, esi
	xor	edi, edi
	call	AVC_DOT_SH3_SH@PLT
	mov	r9, rbp
	mov	r8, rbx
	mov	rcx, r12
	xor	edx, edx
	xor	esi, esi
	xor	edi, edi
	mov	r15d, eax
	call	AVC_DOT_SH3_SH@PLT
	mov	r9, rbp
	mov	r8, rbx
	mov	rcx, r12
	xor	edx, edx
	xor	esi, esi
	xor	edi, edi
	mov	r13d, eax
	call	AVC_DOT_SH3_SH@PLT
	mov	r9, rbp
	mov	r8, rbx
	mov	rcx, r12
	xor	edx, edx
	xor	esi, esi
	xor	edi, edi
	mov	r14d, eax
	call	AVC_DOT_SH3_SH@PLT
	xor	r11d, r11d
	xor	r9d, r9d
	xor	r8d, r8d
	mov	rsi, r11
	xor	ecx, ecx
	xor	edx, edx
	xor	edi, edi
	mov	r12d, eax
	call	PCKEV_D2_SB@PLT
	mov	ebp, DWORD PTR 24[rsp]
	mov	ebx, DWORD PTR 16[rsp]
	mov	r8d, 5
	mov	ecx, DWORD PTR 40[rsp]
	mov	edx, DWORD PTR 28[rsp]
	mov	esi, ebp
	mov	edi, ebx
	call	SRARI_H4_SH@PLT
	mov	ecx, r12d
	mov	edx, r14d
	mov	esi, r13d
	mov	edi, r15d
	mov	r8d, 5
	call	SRARI_H4_SH@PLT
	mov	ecx, DWORD PTR 40[rsp]
	mov	edx, DWORD PTR 28[rsp]
	mov	esi, ebp
	mov	edi, ebx
	mov	r8d, 7
	mov	DWORD PTR 24[rsp], ebp
	xor	ebp, ebp
	mov	DWORD PTR 16[rsp], ebx
	xor	ebx, ebx
	call	SAT_SH4_SH@PLT
	mov	ecx, r12d
	mov	edx, r14d
	mov	esi, r13d
	mov	edi, r15d
	mov	r8d, 7
	call	SAT_SH4_SH@PLT
	xor	r10d, r10d
	mov	esi, DWORD PTR 12[rsp]
	xor	r11d, r11d
	mov	rdi, QWORD PTR 32[rsp]
	mov	r9d, ebx
	mov	r8d, ebp
	mov	ecx, r11d
	mov	edx, r10d
	call	LD4@PLT
	xor	edx, edx
	xor	r11d, r11d
	xor	r10d, r10d
	mov	esi, r11d
	mov	edi, r10d
	call	INSERT_D2_UB@PLT
	xor	edx, edx
	mov	esi, ebx
	mov	edi, ebp
	call	INSERT_D2_UB@PLT
	mov	r9, QWORD PTR 32[rsp]
	xor	r11d, r11d
	xor	r10d, r10d
	movsx	rax, DWORD PTR 44[rsp]
	mov	esi, DWORD PTR 12[rsp]
	mov	r8d, ebp
	mov	ecx, r11d
	mov	edx, r10d
	lea	rdi, [r9+rax*4]
	mov	r9d, ebx
	call	LD4@PLT
	xor	r11d, r11d
	xor	r10d, r10d
	xor	edx, edx
	mov	esi, r11d
	mov	edi, r10d
	call	INSERT_D2_UB@PLT
	xor	edx, edx
	mov	esi, ebx
	mov	edi, ebp
	call	INSERT_D2_UB@PLT
	xor	r10d, r10d
	xor	r11d, r11d
	mov	ecx, DWORD PTR 28[rsp]
	mov	edx, DWORD PTR 40[rsp]
	mov	esi, DWORD PTR 16[rsp]
	mov	r9, r10
	mov	r8, r11
	mov	edi, DWORD PTR 24[rsp]
	call	PCKEV_B2_SB@PLT
	mov	ecx, r14d
	mov	edx, r12d
	xor	r9d, r9d
	xor	r8d, r8d
	mov	esi, r15d
	mov	edi, r13d
	call	PCKEV_B2_SB@PLT
	xor	r11d, r11d
	xor	esi, esi
	mov	rdi, r11
	call	__msa_aver_s_b@PLT
	xor	r10d, r10d
	xor	esi, esi
	mov	rdi, r10
	mov	r12, rax
	call	__msa_aver_s_b@PLT
	xor	r8d, r8d
	xor	esi, esi
	mov	rdi, r8
	mov	r13, rax
	call	__msa_aver_s_b@PLT
	xor	r9d, r9d
	xor	esi, esi
	mov	rdi, r9
	mov	rbp, rax
	call	__msa_aver_s_b@PLT
	mov	rdx, rbp
	mov	rsi, r13
	mov	rdi, r12
	mov	rbx, rax
	mov	rcx, rax
	call	XORI_B4_128_SB@PLT
	push	0
	.cfi_def_cfa_offset 120
	mov	r8, rbp
	mov	rdx, r13
	push	0
	.cfi_def_cfa_offset 128
	mov	rdi, r12
	xor	r9d, r9d
	xor	ecx, ecx
	push	0
	.cfi_def_cfa_offset 136
	xor	esi, esi
	push	0
	.cfi_def_cfa_offset 144
	push	0
	.cfi_def_cfa_offset 152
	push	rbx
	.cfi_def_cfa_offset 160
	call	AVER_UB4_UB@PLT
	mov	esi, DWORD PTR 60[rsp]
	add	rsp, 48
	.cfi_def_cfa_offset 112
	xor	r8d, r8d
	mov	r9d, 1
	xor	ecx, ecx
	xor	edx, edx
	xor	edi, edi
	push	rsi
	.cfi_def_cfa_offset 120
	xor	esi, esi
	push	QWORD PTR 40[rsp]
	.cfi_def_cfa_offset 128
	push	1
	.cfi_def_cfa_offset 136
	push	0
	.cfi_def_cfa_offset 144
	push	1
	.cfi_def_cfa_offset 152
	push	0
	.cfi_def_cfa_offset 160
	push	1
	.cfi_def_cfa_offset 168
	push	0
	.cfi_def_cfa_offset 176
	call	ST_D8@PLT
	add	rsp, 120
	.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	ff_avg_h264_qpel8_mc01_msa, .-ff_avg_h264_qpel8_mc01_msa
	.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_h264qpel_msa.c_ff_avg_h264_qpel8_mc01_msa.c"
	.text
	.align	2
	.global	ff_avg_h264_qpel8_mc01_msa
	.syntax unified
	.arm
	.fpu softvfp
	.type	ff_avg_h264_qpel8_mc01_msa, %function
ff_avg_h264_qpel8_mc01_msa:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r0, .L4
	sub	sp, sp, #76
	mov	fp, r2
	mov	r5, r1
	str	r3, [sp, #68]
	bl	__msa_fill_h
	mov	r4, r0
	ldr	r0, .L4+4
	bl	__msa_fill_h
	mov	r9, r0
	ldr	r0, .L4+8
	bl	__msa_fill_h
	mov	r7, #0
	mov	r6, r0
	sub	r5, r5, fp, lsl #3
	mov	r1, fp
	mov	r2, r7
	mov	r3, r7
	str	r7, [sp, #8]
	str	r7, [sp, #4]
	str	r7, [sp]
	mov	r0, r5
	bl	LD_SB5
	add	ip, fp, fp, lsl #2
	mov	r2, r7
	mov	r3, r7
	mov	r1, r7
	str	r7, [sp]
	mov	r0, r7
	add	r5, r5, ip, lsl #2
	bl	XORI_B5_128_SB
	mov	r2, r7
	mov	r1, r7
	mov	r3, r7
	str	r7, [sp, #12]
	str	r7, [sp, #8]
	str	r7, [sp, #4]
	str	r7, [sp]
	str	r7, [sp, #28]
	str	r7, [sp, #24]
	str	r7, [sp, #20]
	str	r7, [sp, #16]
	mov	r0, r7
	bl	ILVR_B4_SB
	mov	r1, fp
	mov	r3, r7
	mov	r2, r7
	str	r7, [sp, #20]
	str	r7, [sp, #16]
	str	r7, [sp, #12]
	str	r7, [sp, #8]
	str	r7, [sp, #4]
	str	r7, [sp]
	mov	r0, r5
	bl	LD_SB8
	mov	r3, r7
	mov	r2, r7
	mov	r1, r7
	str	r7, [sp, #12]
	str	r7, [sp, #8]
	str	r7, [sp, #4]
	str	r7, [sp]
	mov	r0, r7
	bl	XORI_B8_128_SB
	mov	r3, r7
	mov	r2, r7
	mov	r1, r7
	str	r7, [sp, #12]
	str	r7, [sp, #8]
	str	r7, [sp, #4]
	str	r7, [sp]
	str	r7, [sp, #28]
	str	r7, [sp, #24]
	str	r7, [sp, #20]
	str	r7, [sp, #16]
	mov	r0, r7
	bl	ILVR_B4_SB
	mov	r3, r4
	mov	r2, r7
	mov	r1, r7
	str	r6, [sp, #4]
	mov	r0, r7
	str	r9, [sp]
	bl	AVC_DOT_SH3_SH
	mov	ip, r0
	mov	r3, r4
	mov	r2, r7
	mov	r1, r7
	str	r6, [sp, #4]
	mov	r0, r7
	str	r9, [sp]
	str	ip, [sp, #44]
	bl	AVC_DOT_SH3_SH
	mov	ip, r0
	mov	r3, r4
	mov	r2, r7
	mov	r1, r7
	str	r6, [sp, #4]
	mov	r0, r7
	str	r9, [sp]
	str	ip, [sp, #48]
	bl	AVC_DOT_SH3_SH
	mov	ip, r0
	mov	r3, r4
	mov	r2, r7
	mov	r1, r7
	str	r6, [sp, #4]
	mov	r0, r7
	str	r9, [sp]
	str	ip, [sp, #52]
	bl	AVC_DOT_SH3_SH
	mov	ip, r0
	mov	r3, r7
	mov	r2, r7
	mov	r1, r7
	str	r7, [sp, #4]
	str	r7, [sp]
	mov	r0, r7
	str	ip, [sp, #56]
	bl	PCKEV_D2_SB
	mov	r2, r7
	mov	r3, r7
	mov	r1, r7
	str	r7, [sp, #28]
	str	r7, [sp, #24]
	str	r7, [sp, #20]
	str	r7, [sp, #16]
	str	r7, [sp, #12]
	str	r7, [sp, #8]
	str	r7, [sp, #4]
	str	r7, [sp]
	mov	r0, r7
	bl	ILVR_B4_SB
	mov	r3, r4
	mov	r2, r7
	mov	r1, r7
	str	r6, [sp, #4]
	mov	r0, r7
	str	r9, [sp]
	bl	AVC_DOT_SH3_SH
	mov	ip, r0
	mov	r3, r4
	mov	r2, r7
	mov	r1, r7
	str	r6, [sp, #4]
	mov	r0, r7
	str	r9, [sp]
	str	ip, [sp, #60]
	bl	AVC_DOT_SH3_SH
	mov	ip, r0
	mov	r2, r7
	mov	r1, r7
	mov	r3, r4
	str	r6, [sp, #4]
	mov	r0, r7
	str	r9, [sp]
	str	ip, [sp, #64]
	bl	AVC_DOT_SH3_SH
	mov	r3, r4
	mov	r5, r0
	mov	r2, r7
	mov	r1, r7
	str	r6, [sp, #4]
	mov	r0, r7
	str	r9, [sp]
	bl	AVC_DOT_SH3_SH
	mov	r3, r7
	mov	r4, r0
	mov	r2, r7
	mov	r1, r7
	str	r7, [sp, #4]
	str	r7, [sp]
	mov	r0, r7
	bl	PCKEV_D2_SB
	mov	ip, #5
	add	r0, sp, #44
	ldm	r0, {r0, r1, r2, r3}
	str	ip, [sp]
	bl	SRARI_H4_SH
	mov	r2, #5
	mov	r10, #7
	mov	r6, r7
	mov	r3, r4
	ldr	r1, [sp, #64]
	str	r2, [sp]
	ldr	r0, [sp, #60]
	mov	r2, r5
	bl	SRARI_H4_SH
	add	r0, sp, #44
	ldm	r0, {r0, r1, r2, r3}
	str	r10, [sp]
	bl	SAT_SH4_SH
	mov	r3, r4
	mov	r2, r5
	ldr	r1, [sp, #64]
	ldr	r0, [sp, #60]
	str	r10, [sp]
	bl	SAT_SH4_SH
	mov	r3, r7
	stm	sp, {r6, r7}
	mov	r1, fp
	mov	r2, r7
	ldr	r0, [sp, #68]
	bl	LD4
	mov	r2, r7
	mov	r1, r7
	mov	r0, r7
	bl	INSERT_D2_UB
	mov	r2, r7
	mov	r1, r7
	mov	r0, r7
	bl	INSERT_D2_UB
	ldr	ip, [sp, #68]
	mov	r3, r7
	add	r0, ip, fp, lsl #4
	stm	sp, {r6, r7}
	mov	r1, fp
	mov	r2, r7
	bl	LD4
	mov	r2, r7
	mov	r1, r7
	mov	r0, r7
	bl	INSERT_D2_UB
	mov	r2, r7
	mov	r1, r7
	mov	r0, r7
	bl	INSERT_D2_UB
	ldr	r3, [sp, #52]
	ldr	r2, [sp, #56]
	ldr	r1, [sp, #44]
	str	r7, [sp, #4]
	str	r7, [sp]
	ldr	r0, [sp, #48]
	bl	PCKEV_B2_SB
	mov	r3, r5
	mov	r2, r4
	ldr	r1, [sp, #60]
	str	r7, [sp, #4]
	str	r7, [sp]
	ldr	r0, [sp, #64]
	bl	PCKEV_B2_SB
	mov	r1, r7
	mov	r0, r7
	bl	__msa_aver_s_b
	mov	r1, r7
	mov	r4, r0
	mov	r0, r7
	bl	__msa_aver_s_b
	mov	r1, r7
	mov	r5, r0
	mov	r0, r7
	bl	__msa_aver_s_b
	mov	r1, r7
	mov	r6, r0
	mov	r0, r7
	bl	__msa_aver_s_b
	mov	r8, r7
	mov	r7, r0
	mov	r2, r6
	mov	r3, r0
	mov	r1, r5
	mov	r0, r4
	bl	XORI_B4_128_SB
	mov	r2, r5
	mov	r3, r8
	mov	r1, r8
	mov	r0, r4
	str	r7, [sp, #8]
	str	r6, [sp]
	str	r8, [sp, #28]
	str	r8, [sp, #24]
	str	r8, [sp, #20]
	str	r8, [sp, #16]
	str	r8, [sp, #12]
	str	r8, [sp, #4]
	bl	AVER_UB4_UB
	mov	ip, #1
	ldr	r3, [sp, #68]
	mov	r2, r8
	str	r3, [sp, #32]
	mov	r1, r8
	mov	r3, r8
	mov	r0, r8
	str	fp, [sp, #36]
	str	r8, [sp, #24]
	str	r8, [sp, #16]
	str	r8, [sp, #8]
	str	r8, [sp]
	str	ip, [sp, #28]
	str	ip, [sp, #20]
	str	ip, [sp, #12]
	str	ip, [sp, #4]
	bl	ST_D8
	add	sp, sp, #76
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	.align	2
.L4:
	.word	64257
	.word	5140
	.word	507
	.size	ff_avg_h264_qpel8_mc01_msa, .-ff_avg_h264_qpel8_mc01_msa
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
