	.file	"extr_intelfbhw.c_intelfbhw_do_fillrect.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	intelfbhw_do_fillrect
	.type	intelfbhw_do_fillrect, @function
intelfbhw_do_fillrect:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r10, rdi
	mov	r15d, DWORD PTR COLOR_BLT_CMD[rip]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, r9d
	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	edi, DWORD PTR 56[rsp]
	mov	ebp, ecx
	mov	r13d, DWORD PTR 64[rsp]
	mov	ecx, DWORD PTR ROP_SHIFT[rip]
	test	edi, edi
	lea	eax, 7[rdi]
	mov	r9d, DWORD PTR 48[rsp]
	cmovns	eax, edi
	sal	r13d, cl
	mov	ecx, DWORD PTR WIDTH_SHIFT[rip]
	imul	edx, r9d
	or	r13d, r9d
	sar	eax, 3
	imul	ebp, eax
	imul	esi, eax
	sal	ebp, cl
	mov	ecx, DWORD PTR HEIGHT_SHIFT[rip]
	add	edx, esi
	add	edx, DWORD PTR [r10]
	sal	r8d, cl
	mov	r12d, edx
	or	ebp, r8d
	cmp	edi, 16
	je	.L2
	cmp	edi, 32
	je	.L3
	cmp	edi, 8
	je	.L7
.L4:
	mov	edi, 6
	call	START_RING@PLT
	mov	edi, r15d
	call	OUT_RING@PLT
	mov	edi, r13d
	call	OUT_RING@PLT
	mov	edi, ebp
	call	OUT_RING@PLT
	mov	edi, r12d
	call	OUT_RING@PLT
	mov	edi, r14d
	call	OUT_RING@PLT
	mov	edi, DWORD PTR MI_NOOP[rip]
	call	OUT_RING@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
	jmp	ADVANCE_RING@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	or	r13d, DWORD PTR COLOR_DEPTH_16[rip]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L7:
	or	r13d, DWORD PTR COLOR_DEPTH_8[rip]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	or	r15d, DWORD PTR WRITE_ALPHA[rip]
	or	r13d, DWORD PTR COLOR_DEPTH_32[rip]
	or	r15d, DWORD PTR WRITE_RGB[rip]
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	intelfbhw_do_fillrect, .-intelfbhw_do_fillrect
	.comm	WRITE_RGB,4,4
	.comm	WRITE_ALPHA,4,4
	.comm	WIDTH_SHIFT,4,4
	.comm	ROP_SHIFT,4,4
	.comm	MI_NOOP,4,4
	.comm	HEIGHT_SHIFT,4,4
	.comm	COLOR_DEPTH_8,4,4
	.comm	COLOR_DEPTH_32,4,4
	.comm	COLOR_DEPTH_16,4,4
	.comm	COLOR_BLT_CMD,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_intelfbhw.c_intelfbhw_do_fillrect.c"
	.text
	.align	2
	.global	intelfbhw_do_fillrect
	.syntax unified
	.arm
	.fpu softvfp
	.type	intelfbhw_do_fillrect, %function
intelfbhw_do_fillrect:
	@ args = 20, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	lr, [sp, #36]
	ldr	r7, [sp, #32]
	cmp	lr, #0
	add	ip, lr, #7
	movge	ip, lr
	asr	ip, ip, #3
	mul	r4, r1, ip
	ldr	r1, .L8
	mul	ip, r3, ip
	ldr	r3, .L8+4
	ldr	r6, [r1]
	ldr	r5, [sp, #24]
	mla	r2, r7, r2, r4
	ldr	r3, [r3]
	ldr	r1, .L8+8
	lsl	r5, r5, r6
	ldr	r4, [r0]
	ldr	r1, [r1]
	ldr	r6, [sp, #40]
	orr	r5, r5, ip, lsl r3
	ldr	r3, .L8+12
	cmp	lr, #16
	orr	r6, r7, r6, lsl r1
	ldr	r8, [sp, #28]
	ldr	r7, [r3]
	add	r4, r2, r4
	beq	.L2
	cmp	lr, #32
	beq	.L3
	cmp	lr, #8
	beq	.L7
.L4:
	mov	r0, #6
	bl	START_RING
	mov	r0, r7
	bl	OUT_RING
	mov	r0, r6
	bl	OUT_RING
	mov	r0, r5
	bl	OUT_RING
	mov	r0, r4
	bl	OUT_RING
	mov	r0, r8
	bl	OUT_RING
	ldr	r3, .L8+16
	ldr	r0, [r3]
	bl	OUT_RING
	pop	{r4, r5, r6, r7, r8, lr}
	b	ADVANCE_RING
.L2:
	ldr	r3, .L8+20
	ldr	r3, [r3]
	orr	r6, r6, r3
	b	.L4
.L7:
	ldr	r3, .L8+24
	ldr	r3, [r3]
	orr	r6, r6, r3
	b	.L4
.L3:
	ldr	r3, .L8+28
	ldr	r1, .L8+32
	ldr	r2, .L8+36
	ldr	r3, [r3]
	ldr	r1, [r1]
	ldr	r2, [r2]
	orr	r7, r7, r3
	orr	r7, r7, r1
	orr	r6, r6, r2
	b	.L4
.L9:
	.align	2
.L8:
	.word	HEIGHT_SHIFT
	.word	WIDTH_SHIFT
	.word	ROP_SHIFT
	.word	COLOR_BLT_CMD
	.word	MI_NOOP
	.word	COLOR_DEPTH_16
	.word	COLOR_DEPTH_8
	.word	WRITE_ALPHA
	.word	WRITE_RGB
	.word	COLOR_DEPTH_32
	.size	intelfbhw_do_fillrect, .-intelfbhw_do_fillrect
	.comm	WRITE_RGB,4,4
	.comm	WRITE_ALPHA,4,4
	.comm	WIDTH_SHIFT,4,4
	.comm	ROP_SHIFT,4,4
	.comm	MI_NOOP,4,4
	.comm	HEIGHT_SHIFT,4,4
	.comm	COLOR_DEPTH_8,4,4
	.comm	COLOR_DEPTH_32,4,4
	.comm	COLOR_DEPTH_16,4,4
	.comm	COLOR_BLT_CMD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
