	.file	"extr_i810_accel.c_i810fb_imageblit.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	i810fb_imageblit
	.type	i810fb_imageblit, @function
i810fb_imageblit:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR 20[rdi]
	test	eax, eax
	je	.L2
	mov	r8, QWORD PTR 24[rdi]
	mov	eax, DWORD PTR [r8]
	and	eax, DWORD PTR LOCKUP[rip]
	jne	.L2
	mov	edx, DWORD PTR 4[r8]
	cmp	edx, 4
	je	.L2
	cmp	DWORD PTR [rsi], 1
	jne	.L2
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	ecx, DWORD PTR 16[rdi]
	mov	r9d, ecx
	and	r9d, -9
	cmp	r9d, 16
	je	.L4
	xor	ebx, ebx
	cmp	ecx, 8
	je	.L13
.L5:
	mov	r9d, DWORD PTR 20[rsi]
	mov	r10d, DWORD PTR 4[rdi]
	mov	r8d, DWORD PTR 8[r8]
	mov	r11d, r9d
	lea	ecx, 14[r9]
	add	r11d, 7
	cmovns	ecx, r11d
	mov	r11d, DWORD PTR 24[rsi]
	sar	ecx, 3
	add	ecx, 1
	and	ecx, -2
	imul	ecx, r11d
	add	ecx, 7
	and	ecx, -8
	lea	ebp, 3[rcx]
	cmovs	ecx, ebp
	imul	r9d, edx
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	push	rdi
	.cfi_def_cfa_offset 48
	push	rax
	.cfi_def_cfa_offset 56
	sar	ecx, 2
	push	rbx
	.cfi_def_cfa_offset 64
	mov	ebp, r9d
	mov	r9d, DWORD PTR PAT_COPY_ROP[rip]
	push	QWORD PTR 32[rsi]
	.cfi_def_cfa_offset 72
	imul	edx, DWORD PTR 16[rsi]
	mov	eax, DWORD PTR 12[rsi]
	mov	esi, r11d
	imul	eax, r10d
	add	eax, DWORD PTR [rdi]
	mov	edi, ebp
	add	edx, eax
	push	rdx
	.cfi_def_cfa_offset 80
	mov	edx, r10d
	call	mono_src_copy_imm_blit@PLT
	add	rsp, 56
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore 3
	.cfi_restore 6
	jmp	cfb_imageblit@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -24
	.cfi_offset 6, -16
	mov	eax, DWORD PTR 4[rsi]
	mov	ebx, DWORD PTR 8[rsi]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rcx, QWORD PTR 8[rdi]
	movsx	rax, DWORD PTR 4[rsi]
	movsx	r9, DWORD PTR 8[rsi]
	mov	eax, DWORD PTR [rcx+rax*4]
	mov	ebx, DWORD PTR [rcx+r9*4]
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	i810fb_imageblit, .-i810fb_imageblit
	.comm	PAT_COPY_ROP,4,4
	.comm	LOCKUP,4,4
	.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_i810_accel.c_i810fb_imageblit.c"
	.text
	.align	2
	.global	i810fb_imageblit
	.syntax unified
	.arm
	.fpu softvfp
	.type	i810fb_imageblit, %function
i810fb_imageblit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #16]
	cmp	r3, #0
	beq	.L14
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L19
	ldr	lr, [r0, #20]
	ldr	r3, [r3]
	ldr	ip, [lr]
	sub	sp, sp, #36
	ands	ip, ip, r3
	bne	.L2
	ldr	r4, [lr, #4]
	cmp	r4, #4
	beq	.L2
	ldr	r3, [r1]
	cmp	r3, #1
	bne	.L2
	ldr	r3, [r0, #12]
	bic	r2, r3, #8
	cmp	r2, #16
	beq	.L4
	cmp	r3, #8
	movne	r7, ip
	beq	.L18
.L5:
	ldr	r5, [r1, #20]
	ldr	r6, [r1, #24]
	adds	r3, r5, #7
	addmi	r3, r5, #14
	asr	r3, r3, #3
	add	r3, r3, #1
	bic	r3, r3, #1
	mul	r3, r6, r3
	add	r3, r3, #7
	bic	r3, r3, #7
	cmp	r3, #0
	add	r2, r3, #3
	movlt	r3, r2
	ldr	r9, [r0]
	ldr	r2, [r0, #4]
	ldr	r8, [r1, #12]
	str	r0, [sp, #24]
	mla	r8, r2, r8, r9
	ldr	r0, [r1, #16]
	ldr	r9, [r1, #28]
	mla	r0, r4, r0, r8
	ldr	r1, .L19+4
	str	ip, [sp, #20]
	ldr	r1, [r1]
	str	r0, [sp, #8]
	str	r1, [sp, #4]
	str	r7, [sp, #16]
	str	r9, [sp, #12]
	ldr	ip, [lr, #8]
	mov	r1, r6
	mul	r0, r5, r4
	asr	r3, r3, #2
	str	ip, [sp]
	bl	mono_src_copy_imm_blit
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L2:
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, lr}
	b	cfb_imageblit
.L18:
	ldr	ip, [r1, #4]
	ldr	r7, [r1, #8]
	b	.L5
.L4:
	ldr	r3, [r0, #8]
	ldr	ip, [r1, #4]
	ldr	r2, [r1, #8]
	ldr	ip, [r3, ip, lsl #2]
	ldr	r7, [r3, r2, lsl #2]
	b	.L5
.L14:
	b	cfb_imageblit
.L20:
	.align	2
.L19:
	.word	LOCKUP
	.word	PAT_COPY_ROP
	.size	i810fb_imageblit, .-i810fb_imageblit
	.comm	PAT_COPY_ROP,4,4
	.comm	LOCKUP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
