	.file	"extr_mb862xxfb_accel.c_mb862xxfb_write_fifo.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mb862xxfb_write_fifo, @function
mb862xxfb_write_fifo:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L11
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	xor	ebx, ebx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdx, QWORD PTR [r12+rbx*8]
	mov	esi, DWORD PTR GDC_GEO_REG_INPUT_FIFO[rip]
	add	rbx, 1
	mov	edi, DWORD PTR geo[rip]
	call	outreg@PLT
	sub	QWORD PTR free.1937[rip], 1
	cmp	rbp, rbx
	jbe	.L15
.L5:
	cmp	QWORD PTR free.1937[rip], 0
	jne	.L16
	mov	esi, DWORD PTR GDC_REG_FIFO_COUNT[rip]
	mov	edi, DWORD PTR draw[rip]
	call	inreg@PLT
	mov	QWORD PTR free.1937[rip], rax
	cmp	rbp, rbx
	ja	.L5
.L15:
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	ret
	.cfi_endproc
.LFE0:
	.size	mb862xxfb_write_fifo, .-mb862xxfb_write_fifo
	.local	free.1937
	.comm	free.1937,8,8
	.comm	geo,4,4
	.comm	draw,4,4
	.comm	GDC_REG_FIFO_COUNT,4,4
	.comm	GDC_GEO_REG_INPUT_FIFO,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_mb862xxfb_accel.c_mb862xxfb_write_fifo.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mb862xxfb_write_fifo, %function
mb862xxfb_write_fifo:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	subs	r6, r0, #0
	popeq	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	mov	r7, r1
	mov	r5, #0
	ldr	r4, .L13
	ldr	fp, .L13+4
	ldr	r10, .L13+8
	ldr	r9, .L13+12
	ldr	r8, .L13+16
	b	.L5
.L12:
	ldr	r2, [r7, r5, lsl #2]
	ldr	r1, [r9]
	ldr	r0, [r8]
	bl	outreg
	ldr	r3, [r4]
	add	r5, r5, #1
	sub	r3, r3, #1
	cmp	r6, r5
	str	r3, [r4]
	popls	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L12
	ldr	r1, [fp]
	ldr	r0, [r10]
	bl	inreg
	cmp	r6, r5
	str	r0, [r4]
	bhi	.L5
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	.align	2
.L13:
	.word	.LANCHOR0
	.word	GDC_REG_FIFO_COUNT
	.word	draw
	.word	GDC_GEO_REG_INPUT_FIFO
	.word	geo
	.size	mb862xxfb_write_fifo, .-mb862xxfb_write_fifo
	.comm	geo,4,4
	.comm	draw,4,4
	.comm	GDC_REG_FIFO_COUNT,4,4
	.comm	GDC_GEO_REG_INPUT_FIFO,4,4
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	free.4221, %object
	.size	free.4221, 4
free.4221:
	.space	4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
