	.file	"extr_vp8_mc_msa.c_ff_put_vp8_epel8_h4_msa.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ff_put_vp8_epel8_h4_msa
	.type	ff_put_vp8_epel8_h4_msa, @function
ff_put_vp8_epel8_h4_msa:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movsx	r9, r9d
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, esi
	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, r8d
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR subpel_filters_msa[rip]
	mov	QWORD PTR 16[rsp], rdi
	mov	rdi, QWORD PTR mc_filt_mask_arr[rip]
	mov	r12, QWORD PTR -8[rax+r9*8]
	mov	DWORD PTR 40[rsp], esi
	mov	DWORD PTR 44[rsp], ecx
	call	LD_SB@PLT
	mov	rdi, r12
	mov	QWORD PTR 24[rsp], rax
	mov	r15, rax
	lea	rax, -4[rbp]
	mov	QWORD PTR 8[rsp], rax
	call	LD_SH@PLT
	xor	r8d, r8d
	xor	ecx, ecx
	xor	esi, esi
	mov	edi, eax
	mov	edx, 1
	call	SPLATI_H2_SB@PLT
	lea	rax, 2[r15]
	sar	ebx, 2
	mov	QWORD PTR 32[rsp], rax
	lea	eax, -1[rbx]
	mov	DWORD PTR 4[rsp], eax
	je	.L1
	lea	eax, 0[0+r14*4]
	cdqe
	sal	rax, 2
	mov	QWORD PTR 48[rsp], rax
	lea	eax, 0[0+r13*4]
	cdqe
	sal	rax, 2
	mov	QWORD PTR 56[rsp], rax
	.p2align 4,,10
	.p2align 3
.L3:
	mov	r14, QWORD PTR 8[rsp]
	mov	esi, DWORD PTR 44[rsp]
	xor	ebx, ebx
	xor	r11d, r11d
	xor	r10d, r10d
	xor	r15d, r15d
	mov	r9, r11
	mov	rcx, rbx
	mov	r8, r10
	mov	rdi, r14
	mov	rdx, r15
	xor	r13d, r13d
	call	LD_SB4@PLT
	mov	rdx, QWORD PTR 48[rsp]
	xor	r11d, r11d
	xor	r10d, r10d
	mov	rax, r14
	xor	r12d, r12d
	xor	ebp, ebp
	xor	r14d, r14d
	add	rax, rdx
	mov	rcx, r11
	mov	rdx, r10
	mov	rsi, rbx
	mov	rdi, r15
	mov	QWORD PTR 8[rsp], rax
	call	XORI_B4_128_SB@PLT
	push	r12
	.cfi_def_cfa_offset 136
	xor	r11d, r11d
	xor	r10d, r10d
	push	rbp
	.cfi_def_cfa_offset 144
	mov	rcx, r11
	mov	rdx, r10
	mov	rsi, rbx
	push	r14
	.cfi_def_cfa_offset 152
	mov	rdi, r15
	push	r13
	.cfi_def_cfa_offset 160
	push	0
	.cfi_def_cfa_offset 168
	push	0
	.cfi_def_cfa_offset 176
	mov	r9, QWORD PTR 80[rsp]
	mov	r8, QWORD PTR 72[rsp]
	call	HORIZ_4TAP_8WID_4VECS_FILT@PLT
	add	rsp, 48
	.cfi_def_cfa_offset 128
	mov	edi, r13d
	mov	ecx, r12d
	mov	r8d, 7
	mov	edx, ebp
	mov	esi, r14d
	call	SRARI_H4_SH@PLT
	mov	r8d, 7
	mov	ecx, r12d
	mov	edx, ebp
	mov	edi, r13d
	mov	esi, r14d
	call	SAT_SH4_SH@PLT
	mov	edi, r13d
	mov	esi, r14d
	call	PCKEV_XORI128_UB@PLT
	mov	esi, r12d
	mov	edi, ebp
	mov	r13d, eax
	call	PCKEV_XORI128_UB@PLT
	mov	ecx, 1
	xor	edx, edx
	xor	r8d, r8d
	mov	esi, eax
	mov	eax, DWORD PTR 40[rsp]
	mov	r9d, 1
	mov	edi, r13d
	push	rax
	.cfi_def_cfa_offset 136
	mov	rbx, QWORD PTR 24[rsp]
	push	rbx
	.cfi_def_cfa_offset 144
	call	ST_D4@PLT
	mov	rcx, QWORD PTR 72[rsp]
	mov	rax, rbx
	sub	DWORD PTR 20[rsp], 1
	add	rax, rcx
	mov	QWORD PTR 32[rsp], rax
	mov	eax, DWORD PTR 20[rsp]
	pop	rdx
	.cfi_def_cfa_offset 136
	pop	rcx
	.cfi_def_cfa_offset 128
	cmp	eax, -1
	jne	.L3
.L1:
	add	rsp, 72
	.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_epel8_h4_msa, .-ff_put_vp8_epel8_h4_msa
	.comm	subpel_filters_msa,8,8
	.comm	mc_filt_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_vp8_mc_msa.c_ff_put_vp8_epel8_h4_msa.c"
	.text
	.align	2
	.global	ff_put_vp8_epel8_h4_msa
	.syntax unified
	.arm
	.fpu softvfp
	.type	ff_put_vp8_epel8_h4_msa, %function
ff_put_vp8_epel8_h4_msa:
	@ args = 12, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	sub	sp, sp, #76
	ldr	lr, .L10
	ldr	ip, [sp, #116]
	ldr	r0, .L10+4
	ldr	lr, [lr]
	sub	ip, ip, #-1073741823
	ldr	r0, [r0]
	ldr	r6, [lr, ip, lsl #2]
	mov	r5, r2
	mov	r8, r1
	str	r1, [sp, #56]
	mov	r7, r3
	str	r4, [sp, #44]
	str	r3, [sp, #60]
	ldr	r4, [sp, #112]
	bl	LD_SB
	mov	r3, r0
	mov	r0, r6
	str	r3, [sp, #48]
	mov	r6, r3
	bl	LD_SH
	mov	r2, #0
	mov	r3, r2
	str	r2, [sp]
	mov	r1, r3
	mov	r2, #1
	bl	SPLATI_H2_SB
	asr	r3, r4, #2
	cmp	r3, #0
	sub	r3, r3, #1
	sub	r2, r5, #4
	str	r3, [sp, #40]
	add	r3, r6, #2
	str	r2, [sp, #36]
	str	r3, [sp, #52]
	beq	.L1
	lsl	r3, r7, #4
	str	r3, [sp, #64]
	lsl	r3, r8, #4
	str	r3, [sp, #68]
.L3:
	mov	fp, #0
	mov	r10, fp
	mov	r3, fp
	mov	r2, fp
	ldr	r1, [sp, #60]
	stm	sp, {r10, fp}
	ldr	r0, [sp, #36]
	bl	LD_SB4
	mov	r3, fp
	mov	r2, fp
	mov	r1, fp
	mov	r0, fp
	bl	XORI_B4_128_SB
	ldr	r8, [sp, #52]
	mov	r3, fp
	str	r8, [sp, #4]
	ldr	r8, [sp, #48]
	mov	r2, fp
	mov	r1, fp
	str	r8, [sp]
	mov	r0, fp
	str	fp, [sp, #28]
	str	fp, [sp, #24]
	str	fp, [sp, #20]
	str	fp, [sp, #16]
	str	fp, [sp, #12]
	str	fp, [sp, #8]
	bl	HORIZ_4TAP_8WID_4VECS_FILT
	mov	r3, #7
	mov	r8, r3
	mov	r2, fp
	mov	r1, fp
	str	r3, [sp]
	mov	r0, fp
	mov	r3, fp
	bl	SRARI_H4_SH
	mov	r2, fp
	mov	r3, fp
	mov	r1, fp
	mov	r0, fp
	str	r8, [sp]
	bl	SAT_SH4_SH
	mov	r1, fp
	mov	r0, fp
	bl	PCKEV_XORI128_UB
	mov	r3, r0
	mov	r1, fp
	mov	r0, fp
	mov	r4, r3
	bl	PCKEV_XORI128_UB
	ldr	r2, [sp, #40]
	mov	r1, r0
	sub	r5, r2, #1
	ldr	r2, [sp, #56]
	mov	r0, r4
	str	r2, [sp, #12]
	mov	r2, #1
	ldr	r4, [sp, #44]
	mov	r3, #1
	str	r2, [sp, #4]
	str	r4, [sp, #8]
	mov	r2, fp
	str	fp, [sp]
	str	r5, [sp, #40]
	bl	ST_D4
	ldr	r3, [sp, #36]
	ldr	r2, [sp, #64]
	cmn	r5, #1
	add	r3, r3, r2
	str	r3, [sp, #36]
	ldr	r3, [sp, #68]
	add	r3, r4, r3
	str	r3, [sp, #44]
	bne	.L3
.L1:
	add	sp, sp, #76
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	.align	2
.L10:
	.word	subpel_filters_msa
	.word	mc_filt_mask_arr
	.size	ff_put_vp8_epel8_h4_msa, .-ff_put_vp8_epel8_h4_msa
	.comm	subpel_filters_msa,4,4
	.comm	mc_filt_mask_arr,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
