	.file	"extr_mb862xxfb_accel.c_mb862xxfb_init_accel.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mb862xxfb_init_accel
	.type	mb862xxfb_init_accel, @function
mb862xxfb_init_accel:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	DWORD PTR 16[rdi], 32
	jne	.L2
	mov	rax, QWORD PTR 8[rdi]
	mov	edx, DWORD PTR cfb_fillrect[rip]
	mov	DWORD PTR 8[rax], edx
	mov	edx, DWORD PTR cfb_copyarea[rip]
	mov	DWORD PTR 4[rax], edx
	mov	edx, DWORD PTR cfb_imageblit[rip]
	mov	DWORD PTR [rax], edx
.L3:
	mov	esi, DWORD PTR GDC_REG_DRAW_BASE[rip]
	mov	edi, DWORD PTR draw[rip]
	xor	edx, edx
	call	outreg@PLT
	mov	esi, DWORD PTR GDC_REG_MODE_MISC[rip]
	mov	edi, DWORD PTR draw[rip]
	mov	edx, 32768
	call	outreg@PLT
	mov	esi, DWORD PTR GDC_REG_X_RESOLUTION[rip]
	mov	edi, DWORD PTR draw[rip]
	mov	edx, r12d
	call	outreg@PLT
	mov	eax, DWORD PTR FBINFO_HWACCEL_COPYAREA[rip]
	mov	DWORD PTR 4[rbx], 255
	or	eax, DWORD PTR FBINFO_HWACCEL_FILLRECT[rip]
	or	eax, DWORD PTR FBINFO_HWACCEL_IMAGEBLIT[rip]
	or	DWORD PTR [rbx], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR GC_L0EM[rip]
	mov	edi, DWORD PTR disp[rip]
	mov	edx, 3
	call	outreg@PLT
	mov	rax, QWORD PTR 8[rbx]
	mov	edx, DWORD PTR mb86290fb_fillrect[rip]
	mov	DWORD PTR 8[rax], edx
	mov	edx, DWORD PTR mb86290fb_copyarea[rip]
	mov	DWORD PTR 4[rax], edx
	mov	edx, DWORD PTR mb86290fb_imageblit[rip]
	mov	DWORD PTR [rax], edx
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	mb862xxfb_init_accel, .-mb862xxfb_init_accel
	.comm	mb86290fb_imageblit,4,4
	.comm	mb86290fb_fillrect,4,4
	.comm	mb86290fb_copyarea,4,4
	.comm	draw,4,4
	.comm	disp,4,4
	.comm	cfb_imageblit,4,4
	.comm	cfb_fillrect,4,4
	.comm	cfb_copyarea,4,4
	.comm	GDC_REG_X_RESOLUTION,4,4
	.comm	GDC_REG_MODE_MISC,4,4
	.comm	GDC_REG_DRAW_BASE,4,4
	.comm	GC_L0EM,4,4
	.comm	FBINFO_HWACCEL_IMAGEBLIT,4,4
	.comm	FBINFO_HWACCEL_FILLRECT,4,4
	.comm	FBINFO_HWACCEL_COPYAREA,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_init_accel.c"
	.text
	.align	2
	.global	mb862xxfb_init_accel
	.syntax unified
	.arm
	.fpu softvfp
	.type	mb862xxfb_init_accel, %function
mb862xxfb_init_accel:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #12]
	push	{r4, r5, r6, lr}
	cmp	r3, #32
	mov	r4, r0
	mov	r5, r1
	bne	.L2
	ldr	r3, .L7
	ldr	r1, .L7+4
	ldr	r2, .L7+8
.L5:
	ldr	r0, [r3]
	ldr	r1, [r1]
	ldr	r3, [r4, #8]
	ldr	r2, [r2]
	ldr	r6, .L7+12
	str	r2, [r3]
	str	r1, [r3, #4]
	str	r0, [r3, #8]
	ldr	r3, .L7+16
	mov	r2, #0
	ldr	r1, [r3]
	ldr	r0, [r6]
	bl	outreg
	ldr	r3, .L7+20
	mov	r2, #32768
	ldr	r1, [r3]
	ldr	r0, [r6]
	bl	outreg
	ldr	r3, .L7+24
	mov	r2, r5
	ldr	r1, [r3]
	ldr	r0, [r6]
	bl	outreg
	mov	r1, #255
	ldr	r3, .L7+28
	ldr	r2, .L7+32
	ldr	r0, .L7+36
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r0, [r0]
	orr	r3, r3, r2
	ldr	r2, [r4]
	orr	r3, r3, r0
	orr	r3, r2, r3
	str	r3, [r4]
	str	r1, [r4, #4]
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, .L7+40
	ldr	r2, .L7+44
	ldr	r0, [r3]
	ldr	r1, [r2]
	mov	r2, #3
	bl	outreg
	ldr	r3, .L7+48
	ldr	r1, .L7+52
	ldr	r2, .L7+56
	b	.L5
.L8:
	.align	2
.L7:
	.word	cfb_fillrect
	.word	cfb_copyarea
	.word	cfb_imageblit
	.word	draw
	.word	GDC_REG_DRAW_BASE
	.word	GDC_REG_MODE_MISC
	.word	GDC_REG_X_RESOLUTION
	.word	FBINFO_HWACCEL_COPYAREA
	.word	FBINFO_HWACCEL_FILLRECT
	.word	FBINFO_HWACCEL_IMAGEBLIT
	.word	disp
	.word	GC_L0EM
	.word	mb86290fb_fillrect
	.word	mb86290fb_copyarea
	.word	mb86290fb_imageblit
	.size	mb862xxfb_init_accel, .-mb862xxfb_init_accel
	.comm	mb86290fb_imageblit,4,4
	.comm	mb86290fb_fillrect,4,4
	.comm	mb86290fb_copyarea,4,4
	.comm	draw,4,4
	.comm	disp,4,4
	.comm	cfb_imageblit,4,4
	.comm	cfb_fillrect,4,4
	.comm	cfb_copyarea,4,4
	.comm	GDC_REG_X_RESOLUTION,4,4
	.comm	GDC_REG_MODE_MISC,4,4
	.comm	GDC_REG_DRAW_BASE,4,4
	.comm	GC_L0EM,4,4
	.comm	FBINFO_HWACCEL_IMAGEBLIT,4,4
	.comm	FBINFO_HWACCEL_FILLRECT,4,4
	.comm	FBINFO_HWACCEL_COPYAREA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
