	.file	"extr_vp8_mc_msa.c_ff_put_vp8_pixels8_msa.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ff_put_vp8_pixels8_msa
	.type	ff_put_vp8_pixels8_msa, @function
ff_put_vp8_pixels8_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	rbx, rdi
	sub	rsp, 88
	.cfi_def_cfa_offset 144
	mov	DWORD PTR 32[rsp], esi
	mov	DWORD PTR 52[rsp], ecx
	test	r8b, 7
	jne	.L2
	sar	r8d, 3
	lea	r11d, -1[r8]
	je	.L1
	lea	eax, 0[0+rcx*8]
	mov	QWORD PTR 8[rsp], rbp
	cdqe
	sal	rax, 2
	mov	QWORD PTR 56[rsp], rax
	lea	eax, 0[0+rsi*4]
	cdqe
	lea	rdx, 0[0+rax*4]
	sal	rax, 3
	mov	QWORD PTR 64[rsp], rdx
	mov	QWORD PTR 72[rsp], rax
	.p2align 4,,10
	.p2align 3
.L4:
	xor	r14d, r14d
	xor	r13d, r13d
	xor	r12d, r12d
	xor	ebp, ebp
	mov	DWORD PTR 48[rsp], r11d
	xor	r15d, r15d
	xor	r9d, r9d
	xor	r8d, r8d
	push	r14
	.cfi_def_cfa_offset 152
	xor	ecx, ecx
	mov	rdx, r15
	push	r13
	.cfi_def_cfa_offset 160
	push	r12
	.cfi_def_cfa_offset 168
	push	rbp
	.cfi_def_cfa_offset 176
	mov	esi, DWORD PTR 84[rsp]
	mov	rdi, QWORD PTR 40[rsp]
	mov	QWORD PTR 72[rsp], r9
	mov	QWORD PTR 56[rsp], r8
	mov	QWORD PTR 48[rsp], rcx
	call	LD_UB8@PLT
	mov	rdx, QWORD PTR 88[rsp]
	mov	edi, r15d
	xor	esi, esi
	add	QWORD PTR 40[rsp], rdx
	add	rsp, 32
	.cfi_def_cfa_offset 144
	call	__msa_copy_u_d@PLT
	mov	rcx, QWORD PTR 16[rsp]
	xor	esi, esi
	mov	r15d, eax
	mov	edi, ecx
	call	__msa_copy_u_d@PLT
	mov	r8, QWORD PTR 24[rsp]
	xor	esi, esi
	mov	DWORD PTR 36[rsp], eax
	mov	edi, r8d
	call	__msa_copy_u_d@PLT
	mov	r9, QWORD PTR 40[rsp]
	xor	esi, esi
	mov	DWORD PTR 24[rsp], eax
	mov	edi, r9d
	call	__msa_copy_u_d@PLT
	mov	edi, ebp
	xor	esi, esi
	mov	DWORD PTR 16[rsp], eax
	call	__msa_copy_u_d@PLT
	mov	edi, r12d
	xor	esi, esi
	mov	ebp, eax
	call	__msa_copy_u_d@PLT
	mov	edi, r13d
	xor	esi, esi
	mov	r12d, eax
	call	__msa_copy_u_d@PLT
	mov	edi, r14d
	xor	esi, esi
	mov	r13d, eax
	call	__msa_copy_u_d@PLT
	mov	r10d, DWORD PTR 36[rsp]
	mov	r8, rbx
	mov	edi, r15d
	mov	r9d, DWORD PTR 32[rsp]
	mov	ecx, DWORD PTR 16[rsp]
	mov	r14d, eax
	mov	edx, DWORD PTR 24[rsp]
	mov	esi, r10d
	call	SD4@PLT
	mov	rax, QWORD PTR 64[rsp]
	mov	ecx, r14d
	mov	edx, r13d
	mov	r9d, DWORD PTR 32[rsp]
	mov	esi, r12d
	mov	edi, ebp
	lea	r8, [rbx+rax]
	call	SD4@PLT
	mov	r11d, DWORD PTR 48[rsp]
	add	rbx, QWORD PTR 72[rsp]
	sub	r11d, 1
	cmp	r11d, -1
	jne	.L4
.L1:
	add	rsp, 88
	.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
.L2:
	.cfi_restore_state
	test	r8b, 3
	jne	.L1
	test	r8d, r8d
	lea	eax, 3[r8]
	cmovs	r8d, eax
	sar	r8d, 2
	lea	r13d, -1[r8]
	je	.L1
	mov	eax, DWORD PTR 52[rsp]
	lea	r14d, 0[0+rax*4]
	movsx	r14, r14d
	lea	rax, 0[0+r14*4]
	mov	QWORD PTR 16[rsp], rax
	mov	eax, DWORD PTR 32[rsp]
	sal	eax, 2
	cdqe
	sal	rax, 2
	mov	QWORD PTR 24[rsp], rax
	.p2align 4,,10
	.p2align 3
.L5:
	xor	r14d, r14d
	xor	r12d, r12d
	mov	esi, DWORD PTR 52[rsp]
	xor	r15d, r15d
	mov	rcx, r14
	mov	rdx, r12
	mov	r9, r15
	xor	r8d, r8d
	mov	rdi, rbp
	mov	QWORD PTR 8[rsp], r8
	sub	r13d, 1
	call	LD_UB4@PLT
	mov	edi, r12d
	xor	esi, esi
	add	rbp, QWORD PTR 16[rsp]
	call	__msa_copy_u_d@PLT
	mov	edi, r14d
	xor	esi, esi
	mov	r12d, eax
	call	__msa_copy_u_d@PLT
	mov	r8, QWORD PTR 8[rsp]
	xor	esi, esi
	mov	r14d, eax
	mov	edi, r8d
	call	__msa_copy_u_d@PLT
	xor	esi, esi
	mov	edi, r15d
	mov	DWORD PTR 8[rsp], eax
	call	__msa_copy_u_d@PLT
	mov	r9d, DWORD PTR 32[rsp]
	mov	r8, rbx
	mov	esi, r14d
	mov	edx, DWORD PTR 8[rsp]
	mov	ecx, eax
	mov	edi, r12d
	call	SD4@PLT
	add	rbx, QWORD PTR 24[rsp]
	cmp	r13d, -1
	jne	.L5
	add	rsp, 88
	.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_put_vp8_pixels8_msa, .-ff_put_vp8_pixels8_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_vp8_mc_msa.c_ff_put_vp8_pixels8_msa.c"
	.text
	.align	2
	.global	ff_put_vp8_pixels8_msa
	.syntax unified
	.arm
	.fpu softvfp
	.type	ff_put_vp8_pixels8_msa, %function
ff_put_vp8_pixels8_msa:
	@ args = 12, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #60
	ldr	r5, [sp, #96]
	mov	r4, r2
	tst	r5, #7
	str	r0, [sp, #24]
	str	r1, [sp, #36]
	str	r3, [sp, #40]
	bne	.L2
	asr	r5, r5, #3
	sub	r2, r5, #1
	cmp	r5, #0
	str	r2, [sp, #28]
	beq	.L1
	lsl	r3, r3, #5
	str	r3, [sp, #44]
	lsl	r3, r1, #4
	str	r3, [sp, #48]
	lsl	r3, r1, #5
	str	r3, [sp, #52]
.L4:
	mov	r7, #0
	mov	fp, r7
	mov	r6, r7
	mov	r2, r7
	mov	r3, r7
	stm	sp, {r6, fp}
	mov	r0, r4
	ldr	r1, [sp, #40]
	str	r7, [sp, #20]
	str	r7, [sp, #16]
	str	r7, [sp, #12]
	str	r7, [sp, #8]
	str	r7, [sp, #32]
	bl	LD_UB8
	mov	r1, r7
	mov	r0, r7
	bl	__msa_copy_u_d
	ldr	r3, [sp, #32]
	mov	r5, r0
	mov	r1, r7
	mov	r0, r3
	bl	__msa_copy_u_d
	mov	r3, r0
	mov	r1, r7
	mov	r0, r7
	mov	r6, r3
	bl	__msa_copy_u_d
	mov	r2, r0
	mov	r1, r7
	mov	r0, r7
	mov	fp, r2
	bl	__msa_copy_u_d
	mov	r3, r0
	mov	r1, r7
	mov	r0, r7
	str	r3, [sp, #32]
	bl	__msa_copy_u_d
	mov	r2, r0
	mov	r1, r7
	mov	r0, r7
	mov	r9, r2
	bl	__msa_copy_u_d
	mov	r2, r0
	mov	r1, r7
	mov	r0, r7
	mov	r8, r2
	bl	__msa_copy_u_d
	mov	r2, r0
	mov	r1, r7
	mov	r0, r7
	mov	r7, r2
	bl	__msa_copy_u_d
	mov	r10, r0
	mov	r1, r6
	mov	r0, r5
	ldr	r6, [sp, #36]
	ldr	r5, [sp, #24]
	mov	r2, fp
	ldr	r3, [sp, #32]
	str	r6, [sp, #4]
	str	r5, [sp]
	bl	SD4
	ldr	r3, [sp, #48]
	mov	r2, r7
	add	ip, r3, r5
	ldr	r3, [sp, #28]
	mov	r1, r8
	sub	fp, r3, #1
	mov	r0, r9
	mov	r3, r10
	str	r6, [sp, #4]
	str	ip, [sp]
	str	fp, [sp, #28]
	bl	SD4
	ldr	r3, [sp, #44]
	cmn	fp, #1
	add	r4, r4, r3
	ldr	r3, [sp, #52]
	add	r3, r3, r5
	str	r3, [sp, #24]
	bne	.L4
.L1:
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	tst	r5, #3
	bne	.L1
	cmp	r5, #0
	add	r3, r5, #3
	movlt	r5, r3
	asr	r5, r5, #2
	cmp	r5, #0
	sub	r5, r5, #1
	beq	.L1
	ldr	fp, [sp, #40]
	ldr	r3, [sp, #36]
	lsl	r9, fp, #4
	lsl	r8, r3, #4
	ldr	r6, [sp, #24]
	str	r9, [sp, #28]
	str	r8, [sp, #32]
.L5:
	mov	r7, #0
	mov	r1, fp
	mov	r3, r7
	mov	r2, r7
	mov	r0, r4
	str	r7, [sp, #4]
	str	r7, [sp]
	bl	LD_UB4
	mov	r1, r7
	mov	r0, r7
	bl	__msa_copy_u_d
	mov	r1, r7
	mov	r8, r0
	mov	r0, r7
	bl	__msa_copy_u_d
	mov	r2, r0
	mov	r1, r7
	mov	r0, r7
	mov	r10, r2
	bl	__msa_copy_u_d
	mov	r2, r0
	mov	r1, r7
	mov	r0, r7
	mov	r7, r2
	bl	__msa_copy_u_d
	mov	ip, r0
	mov	r3, ip
	ldr	ip, [sp, #36]
	mov	r2, r7
	stm	sp, {r6, ip}
	mov	r1, r10
	mov	r0, r8
	bl	SD4
	ldr	r3, [sp, #28]
	sub	r5, r5, #1
	add	r4, r4, r3
	ldr	r3, [sp, #32]
	cmn	r5, #1
	add	r6, r6, r3
	bne	.L5
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	ff_put_vp8_pixels8_msa, .-ff_put_vp8_pixels8_msa
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
