	.file	"extr_vp9_mc_msa.c_avg_width4_msa.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	avg_width4_msa, @function
avg_width4_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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, ecx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	cmp	r8d, 8
	je	.L6
	cmp	r8d, 4
	je	.L7
	add	rsp, 24
	.cfi_remember_state
	.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
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	xor	r13d, r13d
	xor	r12d, r12d
	xor	r15d, r15d
	xor	r14d, r14d
	mov	r9d, r13d
	mov	r8d, r12d
	mov	ecx, r15d
	mov	edx, r14d
	mov	DWORD PTR 12[rsp], esi
	mov	QWORD PTR [rsp], rdi
	call	LW4@PLT
	mov	r10d, DWORD PTR 12[rsp]
	mov	ecx, r13d
	mov	edx, r12d
	mov	rdi, QWORD PTR [rsp]
	mov	esi, r15d
	xor	r8d, r8d
	lea	eax, 0[0+r10*4]
	cdqe
	lea	r11, [rdi+rax*4]
	mov	edi, r14d
	mov	QWORD PTR [rsp], r11
	call	INSERT_W4_UB@PLT
	mov	r10d, DWORD PTR 12[rsp]
	mov	r9d, r13d
	mov	r8d, r12d
	mov	r11, QWORD PTR [rsp]
	mov	ecx, r15d
	mov	edx, r14d
	mov	esi, r10d
	mov	rdi, r11
	call	LW4@PLT
	mov	ecx, r13d
	mov	edx, r12d
	mov	esi, r15d
	mov	edi, r14d
	xor	r8d, r8d
	call	INSERT_W4_UB@PLT
	mov	r9d, r13d
	mov	r8d, r12d
	mov	ecx, r15d
	mov	edx, r14d
	mov	esi, ebx
	mov	rdi, rbp
	call	LW4@PLT
	mov	ecx, r13d
	mov	edx, r12d
	mov	esi, r15d
	mov	edi, r14d
	xor	r8d, r8d
	call	INSERT_W4_UB@PLT
	mov	r9d, r13d
	mov	r8d, r12d
	mov	ecx, r15d
	lea	eax, 0[0+rbx*4]
	mov	edx, r14d
	mov	esi, ebx
	cdqe
	lea	rdi, 0[rbp+rax*4]
	call	LW4@PLT
	mov	ecx, r13d
	mov	edx, r12d
	mov	esi, r15d
	mov	edi, r14d
	xor	r8d, r8d
	call	INSERT_W4_UB@PLT
	xor	r9d, r9d
	xor	r8d, r8d
	xor	ecx, ecx
	xor	edx, edx
	xor	esi, esi
	xor	edi, edi
	call	AVER_UB2_UB@PLT
	push	rbx
	.cfi_def_cfa_offset 88
	mov	r9d, 3
	xor	edx, edx
	push	rbp
	.cfi_def_cfa_offset 96
	mov	r8d, 2
	mov	ecx, 1
	xor	esi, esi
	push	3
	.cfi_def_cfa_offset 104
	xor	edi, edi
	push	2
	.cfi_def_cfa_offset 112
	push	1
	.cfi_def_cfa_offset 120
	push	0
	.cfi_def_cfa_offset 128
	call	ST_W8@PLT
	add	rsp, 48
	.cfi_def_cfa_offset 80
	add	rsp, 24
	.cfi_remember_state
	.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
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	xor	r13d, r13d
	xor	r12d, r12d
	xor	r15d, r15d
	xor	r14d, r14d
	mov	r9d, r13d
	mov	r8d, r12d
	mov	ecx, r15d
	mov	edx, r14d
	call	LW4@PLT
	mov	ecx, r13d
	mov	edx, r12d
	mov	esi, r15d
	mov	edi, r14d
	xor	r8d, r8d
	call	INSERT_W4_UB@PLT
	mov	r9d, r13d
	mov	r8d, r12d
	mov	ecx, r15d
	mov	edx, r14d
	mov	esi, ebx
	mov	rdi, rbp
	call	LW4@PLT
	mov	ecx, r13d
	mov	edx, r12d
	xor	r8d, r8d
	mov	esi, r15d
	mov	edi, r14d
	call	INSERT_W4_UB@PLT
	xor	esi, esi
	xor	edi, edi
	call	__msa_aver_u_b@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	r9, rbp
	xor	esi, esi
	push	rbx
	.cfi_def_cfa_offset 96
	mov	edx, 1
	mov	edi, eax
	mov	r8d, 3
	mov	ecx, 2
	call	ST_W4@PLT
	pop	rax
	.cfi_def_cfa_offset 88
	pop	rdx
	.cfi_def_cfa_offset 80
	add	rsp, 24
	.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	avg_width4_msa, .-avg_width4_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_vp9_mc_msa.c_avg_width4_msa.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	avg_width4_msa, %function
avg_width4_msa:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #44
	ldr	ip, [sp, #80]
	mov	r6, r2
	cmp	ip, #8
	mov	r5, r3
	mov	r4, #0
	str	r1, [sp, #36]
	beq	.L6
	cmp	ip, #4
	beq	.L7
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
	mov	fp, r4
	mov	r10, r4
	mov	r3, r4
	mov	r2, r4
	stm	sp, {r10, fp}
	add	r7, r0, r1, lsl #4
	bl	LW4
	mov	r3, r4
	mov	r2, r4
	mov	r1, r4
	mov	r0, r4
	str	r4, [sp]
	bl	INSERT_W4_UB
	mov	r3, r4
	mov	r2, r4
	ldr	r1, [sp, #36]
	mov	r0, r7
	stm	sp, {r10, fp}
	bl	LW4
	mov	r3, r4
	mov	r2, r4
	mov	r1, r4
	mov	r0, r4
	str	r4, [sp]
	bl	INSERT_W4_UB
	mov	r3, r4
	mov	r2, r4
	mov	r1, r5
	mov	r0, r6
	stm	sp, {r10, fp}
	bl	LW4
	mov	r3, r4
	mov	r2, r4
	mov	r1, r4
	mov	r0, r4
	str	r4, [sp]
	bl	INSERT_W4_UB
	mov	r3, r4
	mov	r2, r4
	mov	r1, r5
	stm	sp, {r10, fp}
	add	r0, r6, r5, lsl #4
	bl	LW4
	mov	r3, r4
	mov	r2, r4
	mov	r1, r4
	mov	r0, r4
	str	r4, [sp]
	bl	INSERT_W4_UB
	mov	r3, r4
	mov	r2, r4
	mov	r1, r4
	mov	r0, r4
	str	r4, [sp, #4]
	str	r4, [sp]
	bl	AVER_UB2_UB
	mov	r1, #3
	mov	r2, #2
	mov	r3, #1
	str	r1, [sp, #20]
	str	r1, [sp, #4]
	str	r2, [sp, #16]
	str	r2, [sp]
	mov	r1, r4
	mov	r2, r4
	mov	r0, r4
	str	r5, [sp, #28]
	str	r6, [sp, #24]
	str	r4, [sp, #8]
	str	r3, [sp, #12]
	bl	ST_W8
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	mov	fp, #0
	mov	r10, fp
	mov	r3, fp
	mov	r2, fp
	stm	sp, {r10, fp}
	bl	LW4
	mov	r3, fp
	mov	r2, fp
	mov	r1, fp
	mov	r0, fp
	str	r4, [sp]
	bl	INSERT_W4_UB
	mov	r3, fp
	mov	r2, fp
	mov	r1, r5
	mov	r0, r6
	stm	sp, {r10, fp}
	bl	LW4
	mov	r3, fp
	mov	r2, fp
	mov	r1, fp
	mov	r0, fp
	str	r4, [sp]
	bl	INSERT_W4_UB
	mov	r1, r4
	mov	r0, r4
	bl	__msa_aver_u_b
	mov	r3, #3
	mov	r1, r4
	str	r3, [sp]
	mov	r2, #1
	mov	r3, #2
	str	r5, [sp, #8]
	str	r6, [sp, #4]
	bl	ST_W4
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	avg_width4_msa, .-avg_width4_msa
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
