	.file	"extr_hevc_mc_bi_msa.c_hevc_bi_copy_12w_msa.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hevc_bi_copy_12w_msa, @function
hevc_bi_copy_12w_msa:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	eax, 0[0+rsi*4]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	cdqe
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	sal	rax, 2
	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, 72
	.cfi_def_cfa_offset 128
	mov	QWORD PTR 24[rsp], rax
	lea	eax, 0[0+rcx*4]
	cdqe
	mov	QWORD PTR [rsp], rdi
	sal	rax, 2
	mov	DWORD PTR 56[rsp], esi
	mov	QWORD PTR 32[rsp], rax
	lea	eax, 0[0+r9*4]
	cdqe
	mov	QWORD PTR 8[rsp], rdx
	sal	rax, 2
	mov	DWORD PTR 48[rsp], ecx
	mov	QWORD PTR 16[rsp], r8
	mov	DWORD PTR 60[rsp], r9d
	mov	QWORD PTR 40[rsp], rax
	mov	DWORD PTR 52[rsp], 4
.L2:
	mov	rbp, QWORD PTR [rsp]
	xor	ebx, ebx
	xor	r14d, r14d
	mov	esi, DWORD PTR 56[rsp]
	xor	r15d, r15d
	mov	r9d, ebx
	mov	r8d, r14d
	xor	ecx, ecx
	mov	rdi, rbp
	mov	edx, r15d
	xor	r12d, r12d
	xor	r13d, r13d
	call	LD_SB4@PLT
	mov	rcx, QWORD PTR 24[rsp]
	mov	rax, rbp
	xor	r9d, r9d
	mov	rbp, QWORD PTR 8[rsp]
	mov	esi, DWORD PTR 48[rsp]
	xor	r8d, r8d
	xor	edx, edx
	add	rax, rcx
	xor	ecx, ecx
	mov	rdi, rbp
	mov	QWORD PTR [rsp], rax
	call	LD_SH4@PLT
	mov	esi, DWORD PTR 48[rsp]
	xor	r10d, r10d
	xor	r11d, r11d
	lea	rdi, 32[rbp]
	mov	ecx, r10d
	mov	edx, r11d
	mov	r9d, r12d
	mov	r8d, r13d
	call	LD_SH4@PLT
	mov	rax, QWORD PTR 32[rsp]
	xor	r10d, r10d
	xor	r11d, r11d
	mov	r9d, r10d
	mov	r8d, r11d
	mov	esi, r11d
	mov	edi, r10d
	add	rbp, rax
	mov	ecx, r13d
	mov	edx, r12d
	mov	QWORD PTR 8[rsp], rbp
	xor	ebp, ebp
	call	ILVR_D2_SH@PLT
	push	0
	.cfi_def_cfa_offset 136
	mov	r9d, r14d
	xor	r8d, r8d
	push	r13
	.cfi_def_cfa_offset 144
	xor	ecx, ecx
	xor	edx, edx
	xor	edi, edi
	push	rbp
	.cfi_def_cfa_offset 152
	mov	esi, r15d
	push	r12
	.cfi_def_cfa_offset 160
	push	rbx
	.cfi_def_cfa_offset 168
	push	0
	.cfi_def_cfa_offset 176
	call	ILVR_B4_SH@PLT
	add	rsp, 48
	.cfi_def_cfa_offset 128
	xor	ecx, ecx
	mov	edx, r13d
	mov	r8d, 6
	mov	esi, ebp
	mov	edi, r12d
	call	SLLI_4V@PLT
	xor	r9d, r9d
	mov	ecx, r14d
	mov	edx, ebx
	xor	edi, edi
	mov	r8d, r15d
	mov	esi, r15d
	call	ILVL_W2_SB@PLT
	xor	ecx, ecx
	mov	r9d, ebx
	mov	r8d, r14d
	xor	edx, edx
	xor	edi, edi
	mov	esi, r15d
	call	ILVR_B2_SH@PLT
	mov	esi, ebx
	mov	edi, r14d
	mov	edx, 6
	call	SLLI_2V@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 136
	xor	ecx, ecx
	xor	edx, edx
	push	0
	.cfi_def_cfa_offset 144
	xor	esi, esi
	xor	edi, edi
	mov	r9d, ebp
	push	r13
	.cfi_def_cfa_offset 152
	mov	r8d, r12d
	push	rbp
	.cfi_def_cfa_offset 160
	push	r12
	.cfi_def_cfa_offset 168
	push	7
	.cfi_def_cfa_offset 176
	push	0
	.cfi_def_cfa_offset 184
	push	r13
	.cfi_def_cfa_offset 192
	call	HEVC_BI_RND_CLIP4_MAX_SATU@PLT
	add	rsp, 56
	.cfi_def_cfa_offset 136
	xor	r10d, r10d
	xor	r11d, r11d
	push	rbx
	.cfi_def_cfa_offset 144
	mov	r9d, r14d
	mov	ecx, ebx
	mov	edx, r14d
	mov	esi, r10d
	mov	edi, r11d
	mov	r8d, 7
	call	HEVC_BI_RND_CLIP2_MAX_SATU@PLT
	xor	r11d, r11d
	xor	r10d, r10d
	mov	DWORD PTR [rsp], r15d
	push	r11
	.cfi_def_cfa_offset 152
	mov	r9d, r14d
	mov	r8d, ebx
	xor	edx, edx
	push	r10
	.cfi_def_cfa_offset 160
	mov	ecx, r13d
	mov	esi, r12d
	mov	edi, ebp
	call	PCKEV_B3_UB@PLT
	mov	r14d, DWORD PTR 92[rsp]
	add	rsp, 32
	.cfi_def_cfa_offset 128
	xor	edx, edx
	xor	r11d, r11d
	xor	r10d, r10d
	xor	r8d, r8d
	mov	r9d, 1
	push	r14
	.cfi_def_cfa_offset 136
	mov	rbx, QWORD PTR 24[rsp]
	mov	esi, r11d
	mov	edi, r10d
	mov	ecx, 1
	push	rbx
	.cfi_def_cfa_offset 144
	call	ST_D4@PLT
	lea	r9, 32[rbx]
	mov	edx, 1
	xor	esi, esi
	mov	r8d, 3
	mov	ecx, 2
	mov	edi, r15d
	mov	DWORD PTR [rsp], r14d
	call	ST_W4@PLT
	mov	rax, QWORD PTR 56[rsp]
	add	rbx, rax
	mov	QWORD PTR 32[rsp], rbx
	pop	rax
	.cfi_def_cfa_offset 136
	pop	rdx
	.cfi_def_cfa_offset 128
	sub	DWORD PTR 52[rsp], 1
	jne	.L2
	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	hevc_bi_copy_12w_msa, .-hevc_bi_copy_12w_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_hevc_mc_bi_msa.c_hevc_bi_copy_12w_msa.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hevc_bi_copy_12w_msa, %function
hevc_bi_copy_12w_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, #76
	str	r2, [sp, #40]
	mov	r2, #4
	str	r3, [sp, #52]
	lsl	r3, r3, #4
	str	r3, [sp, #60]
	ldr	r3, [sp, #116]
	str	r2, [sp, #48]
	lsl	r3, r3, #4
	lsl	r2, r1, r2
	str	r1, [sp, #68]
	str	r0, [sp, #44]
	str	r2, [sp, #56]
	str	r3, [sp, #64]
.L2:
	mov	r9, #0
	mov	r8, r9
	mov	r3, r9
	mov	r2, r9
	ldr	r1, [sp, #68]
	stm	sp, {r8, r9}
	ldr	r0, [sp, #44]
	bl	LD_SB4
	ldr	r7, [sp, #40]
	mov	r3, r9
	mov	r2, r9
	mov	r0, r7
	ldr	r1, [sp, #52]
	str	r9, [sp, #4]
	str	r9, [sp]
	bl	LD_SH4
	mov	r3, r9
	mov	r2, r9
	ldr	r1, [sp, #52]
	add	r0, r7, #32
	str	r9, [sp, #4]
	str	r9, [sp]
	str	r7, [sp, #40]
	bl	LD_SH4
	mov	r3, r9
	mov	r2, r9
	mov	r1, r9
	mov	r0, r9
	str	r9, [sp, #4]
	str	r9, [sp]
	bl	ILVR_D2_SH
	mov	r2, r9
	mov	r3, r9
	mov	r1, r9
	mov	r0, r9
	str	r9, [sp, #12]
	str	r9, [sp, #4]
	str	r9, [sp, #8]
	str	r9, [sp]
	str	r9, [sp, #28]
	str	r9, [sp, #24]
	str	r9, [sp, #20]
	str	r9, [sp, #16]
	bl	ILVR_B4_SH
	mov	r2, #6
	mov	r10, r9
	mov	fp, r9
	mov	r3, r9
	mov	r1, r9
	str	r2, [sp]
	mov	r0, r9
	mov	r2, r9
	bl	SLLI_4V
	mov	r3, r9
	mov	r2, r9
	mov	r1, r9
	stm	sp, {r10, fp}
	mov	r0, r9
	bl	ILVL_W2_SB
	mov	r3, r9
	mov	r2, r9
	mov	r1, r9
	mov	r0, r9
	str	r9, [sp, #4]
	str	r9, [sp]
	bl	ILVR_B2_SH
	mov	r1, r9
	mov	r2, #6
	mov	r0, r9
	bl	SLLI_2V
	mov	lr, #7
	mov	r4, r9
	mov	r7, r9
	mov	r10, lr
	str	lr, [sp, #16]
	mov	r3, r9
	mov	r2, r9
	mov	r1, r9
	mov	r0, r9
	stmib	sp, {r4, r7}
	str	r9, [sp, #32]
	str	r9, [sp, #28]
	str	r9, [sp, #24]
	str	r9, [sp, #20]
	str	r9, [sp, #12]
	str	r9, [sp]
	bl	HEVC_BI_RND_CLIP4_MAX_SATU
	mov	r1, r9
	mov	r3, r9
	mov	r2, r9
	mov	r0, r9
	str	r9, [sp, #8]
	str	r9, [sp, #4]
	str	r10, [sp]
	bl	HEVC_BI_RND_CLIP2_MAX_SATU
	mov	r3, r9
	mov	r2, r9
	mov	r1, r9
	mov	r0, r9
	stm	sp, {r8, r9}
	str	r9, [sp, #16]
	str	r9, [sp, #12]
	str	r9, [sp, #8]
	bl	PCKEV_B3_UB
	ldr	r2, [sp, #116]
	mov	r1, r9
	str	r2, [sp, #12]
	ldr	r2, [sp, #112]
	mov	r0, r9
	str	r2, [sp, #8]
	mov	r2, #1
	str	r9, [sp]
	mov	r3, r2
	str	r2, [sp, #4]
	mov	r2, r9
	bl	ST_D4
	mov	r1, #3
	ldr	r2, [sp, #112]
	ldr	lr, [sp, #116]
	add	r3, r2, #32
	stm	sp, {r1, r3, lr}
	mov	r2, #1
	mov	r3, #2
	mov	r0, r9
	mov	r1, r9
	bl	ST_W4
	ldr	r2, [sp, #48]
	ldr	r3, [sp, #44]
	subs	r2, r2, #1
	str	r2, [sp, #48]
	ldr	r2, [sp, #56]
	ldr	ip, [sp, #40]
	add	r3, r3, r2
	str	r3, [sp, #44]
	ldr	r3, [sp, #60]
	ldr	r2, [sp, #64]
	add	r3, ip, r3
	str	r3, [sp, #40]
	ldr	r3, [sp, #112]
	add	r3, r3, r2
	str	r3, [sp, #112]
	bne	.L2
	add	sp, sp, #76
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	hevc_bi_copy_12w_msa, .-hevc_bi_copy_12w_msa
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
