	.file	"extr_h264dsp_msa.c_avc_wgt_8x16_msa.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	avc_wgt_8x16_msa, @function
avc_wgt_8x16_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	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, esi
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR [rsp], rdi
	mov	edi, ecx
	mov	ecx, edx
	sal	r8d, cl
	mov	DWORD PTR 8[rsp], esi
	mov	r12d, r8d
	call	__msa_fill_h@PLT
	mov	edi, r12d
	mov	DWORD PTR 20[rsp], eax
	call	__msa_fill_h@PLT
	mov	edi, ebp
	mov	DWORD PTR 16[rsp], eax
	call	__msa_fill_h@PLT
	mov	r11d, DWORD PTR 20[rsp]
	mov	r10d, DWORD PTR 16[rsp]
	mov	DWORD PTR 12[rsp], 2
	mov	DWORD PTR 44[rsp], eax
	lea	eax, 0[0+rbx*4]
	sal	rax, 2
	mov	QWORD PTR 24[rsp], rax
	lea	eax, 0[0+rbx*8]
	sal	rax, 2
	mov	QWORD PTR 32[rsp], rax
.L2:
	mov	r15d, DWORD PTR 8[rsp]
	mov	rbx, QWORD PTR [rsp]
	xor	r14d, r14d
	xor	r13d, r13d
	xor	r12d, r12d
	xor	ebp, ebp
	mov	ecx, r14d
	mov	edx, r13d
	mov	r9d, r12d
	mov	r8d, ebp
	mov	esi, r15d
	mov	rdi, rbx
	mov	DWORD PTR 40[rsp], r10d
	mov	DWORD PTR 16[rsp], r11d
	call	LD4@PLT
	xor	edx, edx
	mov	esi, r14d
	mov	edi, r13d
	call	INSERT_D2_UB@PLT
	xor	edx, edx
	mov	esi, r12d
	mov	edi, ebp
	call	INSERT_D2_UB@PLT
	mov	rdi, QWORD PTR 24[rsp]
	mov	r9d, r12d
	mov	r8d, ebp
	mov	ecx, r14d
	mov	esi, r15d
	mov	edx, r13d
	mov	QWORD PTR [rsp], rbx
	add	rdi, rbx
	mov	DWORD PTR 8[rsp], r15d
	xor	ebx, ebx
	xor	r15d, r15d
	call	LD4@PLT
	xor	edx, edx
	mov	esi, r14d
	mov	edi, r13d
	call	INSERT_D2_UB@PLT
	xor	edx, edx
	mov	esi, r12d
	mov	edi, ebp
	call	INSERT_D2_UB@PLT
	xor	edi, edi
	mov	edx, r14d
	mov	esi, r13d
	call	UNPCK_UB_SH@PLT
	mov	edx, r15d
	mov	esi, ebx
	xor	edi, edi
	call	UNPCK_UB_SH@PLT
	xor	edx, edx
	xor	esi, esi
	xor	edi, edi
	call	UNPCK_UB_SH@PLT
	xor	edx, edx
	xor	esi, esi
	xor	edi, edi
	call	UNPCK_UB_SH@PLT
	push	0
	.cfi_def_cfa_offset 120
	mov	r9d, ebx
	mov	ecx, r14d
	push	r12
	.cfi_def_cfa_offset 128
	mov	esi, r13d
	push	0
	.cfi_def_cfa_offset 136
	push	rbp
	.cfi_def_cfa_offset 144
	push	r15
	.cfi_def_cfa_offset 152
	mov	r11d, DWORD PTR 56[rsp]
	push	r11
	.cfi_def_cfa_offset 160
	mov	r8d, r11d
	mov	edx, r11d
	mov	edi, r11d
	mov	DWORD PTR 64[rsp], r11d
	call	MUL4@PLT
	add	rsp, 48
	.cfi_def_cfa_offset 112
	xor	r9d, r9d
	xor	ecx, ecx
	push	r14
	.cfi_def_cfa_offset 120
	xor	esi, esi
	push	r15
	.cfi_def_cfa_offset 128
	push	rbx
	.cfi_def_cfa_offset 136
	push	r13
	.cfi_def_cfa_offset 144
	push	0
	.cfi_def_cfa_offset 152
	mov	r11d, DWORD PTR 56[rsp]
	push	r11
	.cfi_def_cfa_offset 160
	mov	r8d, r11d
	mov	edx, r11d
	mov	edi, r11d
	mov	DWORD PTR 68[rsp], r11d
	call	MUL4@PLT
	add	rsp, 48
	.cfi_def_cfa_offset 112
	xor	edx, edx
	mov	r8d, r12d
	push	0
	.cfi_def_cfa_offset 120
	mov	edi, ebp
	push	r12
	.cfi_def_cfa_offset 128
	push	0
	.cfi_def_cfa_offset 136
	push	rbp
	.cfi_def_cfa_offset 144
	mov	r10d, DWORD PTR 72[rsp]
	push	r10
	.cfi_def_cfa_offset 152
	mov	r9d, r10d
	mov	ecx, r10d
	mov	esi, r10d
	push	0
	.cfi_def_cfa_offset 160
	mov	DWORD PTR 64[rsp], r10d
	call	ADDS_SH4_SH@PLT
	add	rsp, 48
	.cfi_def_cfa_offset 112
	mov	r8d, r15d
	mov	edx, ebx
	push	r14
	.cfi_def_cfa_offset 120
	mov	edi, r13d
	push	r15
	.cfi_def_cfa_offset 128
	push	rbx
	.cfi_def_cfa_offset 136
	push	r13
	.cfi_def_cfa_offset 144
	mov	r10d, DWORD PTR 48[rsp]
	push	r10
	.cfi_def_cfa_offset 152
	mov	r9d, r10d
	mov	ecx, r10d
	mov	esi, r10d
	push	r14
	.cfi_def_cfa_offset 160
	mov	DWORD PTR 64[rsp], r10d
	call	ADDS_SH4_SH@PLT
	add	rsp, 40
	.cfi_def_cfa_offset 120
	xor	ecx, ecx
	xor	esi, esi
	push	0
	.cfi_def_cfa_offset 128
	mov	r9d, ebx
	mov	r8d, r13d
	mov	edx, r12d
	push	r14
	.cfi_def_cfa_offset 136
	mov	edi, ebp
	push	r15
	.cfi_def_cfa_offset 144
	call	MAXI_SH8_SH@PLT
	mov	eax, DWORD PTR 76[rsp]
	add	rsp, 24
	.cfi_def_cfa_offset 120
	xor	ecx, ecx
	xor	esi, esi
	mov	r9d, ebx
	mov	r8d, r13d
	mov	edx, r12d
	push	rax
	.cfi_def_cfa_offset 128
	mov	edi, ebp
	push	r14
	.cfi_def_cfa_offset 136
	push	r15
	.cfi_def_cfa_offset 144
	call	SRLR_H8_SH@PLT
	add	rsp, 24
	.cfi_def_cfa_offset 120
	xor	ecx, ecx
	xor	esi, esi
	push	7
	.cfi_def_cfa_offset 128
	mov	r9d, ebx
	mov	r8d, r13d
	mov	edx, r12d
	push	r14
	.cfi_def_cfa_offset 136
	mov	edi, ebp
	push	r15
	.cfi_def_cfa_offset 144
	call	SAT_UH8_SH@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 112
	xor	edx, edx
	xor	edi, edi
	push	0
	.cfi_def_cfa_offset 120
	mov	r8d, ebx
	mov	r9d, r13d
	mov	ecx, r12d
	push	0
	.cfi_def_cfa_offset 128
	mov	esi, ebp
	push	0
	.cfi_def_cfa_offset 136
	push	0
	.cfi_def_cfa_offset 144
	push	r15
	.cfi_def_cfa_offset 152
	push	r14
	.cfi_def_cfa_offset 160
	call	PCKEV_B4_UB@PLT
	mov	r15d, DWORD PTR 56[rsp]
	add	rsp, 48
	.cfi_def_cfa_offset 112
	xor	edi, edi
	xor	r8d, r8d
	xor	ecx, ecx
	xor	edx, edx
	xor	esi, esi
	push	r15
	.cfi_def_cfa_offset 120
	mov	rbx, QWORD PTR 8[rsp]
	mov	r9d, 1
	push	rbx
	.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
	mov	rax, QWORD PTR 96[rsp]
	mov	rdi, rbx
	add	rdi, rax
	mov	QWORD PTR 64[rsp], rdi
	add	rsp, 64
	.cfi_def_cfa_offset 112
	mov	r10d, DWORD PTR 16[rsp]
	cmp	DWORD PTR 12[rsp], 1
	mov	r11d, DWORD PTR 20[rsp]
	je	.L6
	mov	DWORD PTR 12[rsp], 1
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L6:
	add	rsp, 56
	.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	avc_wgt_8x16_msa, .-avc_wgt_8x16_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_h264dsp_msa.c_avc_wgt_8x16_msa.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	avc_wgt_8x16_msa, %function
avc_wgt_8x16_msa:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r2
	mov	r2, r0
	sub	sp, sp, #68
	mov	r0, r3
	mov	r6, r1
	str	r2, [sp, #40]
	str	r1, [sp, #44]
	ldr	r5, [sp, #104]
	bl	__msa_fill_h
	lsl	r5, r5, r4
	mov	r10, r0
	mov	r0, r5
	bl	__msa_fill_h
	mov	fp, r0
	mov	r0, r4
	bl	__msa_fill_h
	lsl	r3, r6, #5
	str	r3, [sp, #56]
	mov	r3, #2
	lsl	r2, r6, #4
	str	r2, [sp, #52]
	str	r0, [sp, #60]
	str	r3, [sp, #48]
.L2:
	mov	r3, #0
	mov	r5, r3
	mov	r2, r3
	str	r3, [sp, #4]
	str	r3, [sp]
	ldr	r1, [sp, #44]
	ldr	r0, [sp, #40]
	mov	r6, r3
	mov	r4, r3
	mov	r7, r3
	mov	r8, r3
	bl	LD4
	mov	r1, r5
	mov	r2, r5
	mov	r0, r5
	bl	INSERT_D2_UB
	mov	r1, r5
	mov	r2, r5
	mov	r0, r5
	bl	INSERT_D2_UB
	ldr	ip, [sp, #52]
	ldr	r0, [sp, #40]
	mov	r3, r5
	add	r0, r0, ip
	mov	r2, r5
	ldr	r1, [sp, #44]
	str	r5, [sp, #4]
	str	r5, [sp]
	bl	LD4
	mov	r1, r5
	mov	r2, r5
	mov	r0, r5
	bl	INSERT_D2_UB
	mov	r1, r5
	mov	r2, r5
	mov	r0, r5
	bl	INSERT_D2_UB
	mov	r2, r5
	mov	r1, r5
	mov	r0, r5
	bl	UNPCK_UB_SH
	mov	r2, r5
	mov	r1, r5
	mov	r0, r5
	bl	UNPCK_UB_SH
	mov	r2, r5
	mov	r1, r5
	mov	r0, r5
	bl	UNPCK_UB_SH
	mov	r2, r5
	mov	r1, r5
	mov	r0, r5
	bl	UNPCK_UB_SH
	mov	r3, r5
	mov	r1, r5
	mov	r2, r10
	str	r5, [sp, #12]
	str	r5, [sp, #4]
	str	r5, [sp, #28]
	str	r5, [sp, #24]
	str	r5, [sp, #20]
	str	r5, [sp, #16]
	mov	r0, r10
	str	r10, [sp, #8]
	str	r10, [sp]
	bl	MUL4
	mov	r3, r5
	mov	r1, r5
	mov	r2, r10
	str	r5, [sp, #12]
	str	r5, [sp, #4]
	str	r5, [sp, #28]
	str	r5, [sp, #24]
	str	r5, [sp, #20]
	str	r5, [sp, #16]
	mov	r0, r10
	str	r10, [sp, #8]
	str	r10, [sp]
	bl	MUL4
	mov	r2, r5
	mov	r0, r5
	mov	r3, fp
	mov	r1, fp
	str	r5, [sp, #28]
	str	r5, [sp, #24]
	str	r5, [sp, #20]
	str	r5, [sp, #16]
	str	r5, [sp, #8]
	str	r5, [sp]
	str	fp, [sp, #12]
	str	fp, [sp, #4]
	bl	ADDS_SH4_SH
	mov	r2, r5
	mov	r0, r5
	mov	r3, fp
	mov	r1, fp
	str	r5, [sp, #28]
	str	r5, [sp, #24]
	str	r5, [sp, #20]
	str	r5, [sp, #16]
	str	r5, [sp, #8]
	str	r5, [sp]
	str	fp, [sp, #12]
	str	fp, [sp, #4]
	bl	ADDS_SH4_SH
	mov	r2, r5
	mov	r3, r5
	mov	r1, r5
	mov	r0, r5
	str	r5, [sp, #12]
	str	r5, [sp, #8]
	str	r5, [sp, #4]
	str	r5, [sp]
	str	r5, [sp, #16]
	bl	MAXI_SH8_SH
	ldr	r3, [sp, #60]
	mov	r2, r5
	mov	r1, r5
	mov	r0, r5
	str	r5, [sp, #12]
	str	r5, [sp, #8]
	str	r5, [sp, #4]
	str	r5, [sp]
	str	r3, [sp, #16]
	mov	r3, r5
	bl	SRLR_H8_SH
	mov	r3, #7
	mov	r2, r5
	mov	r1, r5
	mov	r0, r5
	str	r5, [sp, #12]
	str	r5, [sp, #8]
	str	r5, [sp, #4]
	str	r5, [sp]
	str	r3, [sp, #16]
	mov	r3, r5
	bl	SAT_UH8_SH
	mov	r2, r5
	mov	r3, r5
	mov	r1, r5
	mov	r0, r5
	str	r5, [sp, #12]
	str	r5, [sp, #8]
	str	r5, [sp, #28]
	str	r5, [sp, #24]
	str	r5, [sp, #20]
	str	r5, [sp, #16]
	stm	sp, {r7, r8}
	bl	PCKEV_B4_UB
	ldr	r2, [sp, #44]
	mov	r3, r5
	str	r2, [sp, #36]
	mov	r2, #1
	ldr	r5, [sp, #40]
	stmib	sp, {r2, r4}
	str	r2, [sp, #28]
	str	r2, [sp, #20]
	str	r2, [sp, #12]
	mov	r1, r6
	mov	r2, r6
	mov	r0, r6
	str	r5, [sp, #32]
	str	r6, [sp, #24]
	str	r6, [sp, #16]
	str	r6, [sp]
	bl	ST_D8
	ldr	r3, [sp, #48]
	cmp	r3, #1
	ldr	r3, [sp, #56]
	add	r3, r5, r3
	str	r3, [sp, #40]
	movne	r3, #1
	strne	r3, [sp, #48]
	bne	.L2
.L6:
	add	sp, sp, #68
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	avc_wgt_8x16_msa, .-avc_wgt_8x16_msa
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
