	.file	"extr_fbdev.c_rivafb_copyarea.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rivafb_copyarea, @function
rivafb_copyarea:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR FBINFO_HWACCEL_DISABLED[rip], eax
	jne	.L5
	mov	rbx, QWORD PTR 8[rdi]
	mov	esi, DWORD PTR Blt[rip]
	mov	edx, 3
	mov	rdi, QWORD PTR [rbx]
	call	RIVA_FIFO_FREE@PLT
	mov	edx, DWORD PTR 0[rbp]
	mov	rax, QWORD PTR [rbx]
	xor	esi, esi
	lea	rdi, 8[rax]
	sal	edx, 16
	or	edx, DWORD PTR 4[rbp]
	call	NV_WR32@PLT
	mov	edx, DWORD PTR 8[rbp]
	mov	rax, QWORD PTR [rbx]
	xor	esi, esi
	lea	rdi, 4[rax]
	sal	edx, 16
	or	edx, DWORD PTR 12[rbp]
	call	NV_WR32@PLT
	xor	eax, eax
	call	mb@PLT
	mov	edx, DWORD PTR 16[rbp]
	mov	rdi, QWORD PTR [rbx]
	xor	esi, esi
	sal	edx, 16
	or	edx, DWORD PTR 20[rbp]
	call	NV_WR32@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	mb@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	cfb_copyarea@PLT
	.cfi_endproc
.LFE0:
	.size	rivafb_copyarea, .-rivafb_copyarea
	.comm	FBINFO_HWACCEL_DISABLED,4,4
	.comm	Blt,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_fbdev.c_rivafb_copyarea.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rivafb_copyarea, %function
rivafb_copyarea:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L6
	ldr	ip, [r0]
	ldr	r2, [r2]
	push	{r4, r5, r6, lr}
	ands	r6, ip, r2
	bne	.L5
	mov	r4, r1
	ldr	r5, [r0, #4]
	ldr	r3, .L6+4
	mov	r2, #3
	ldr	r1, [r3]
	ldr	r0, [r5]
	bl	RIVA_FIFO_FREE
	ldm	r4, {r2, r3}
	ldr	r0, [r5]
	mov	r1, r6
	orr	r2, r3, r2, lsl #16
	add	r0, r0, #8
	bl	NV_WR32
	ldr	r3, [r4, #12]
	ldr	r0, [r5]
	ldr	r2, [r4, #8]
	mov	r1, r6
	orr	r2, r3, r2, lsl #16
	add	r0, r0, #4
	bl	NV_WR32
	bl	mb
	ldr	r2, [r4, #16]
	ldr	r3, [r4, #20]
	mov	r1, r6
	ldr	r0, [r5]
	orr	r2, r3, r2, lsl #16
	bl	NV_WR32
	pop	{r4, r5, r6, lr}
	b	mb
.L5:
	pop	{r4, r5, r6, lr}
	b	cfb_copyarea
.L7:
	.align	2
.L6:
	.word	FBINFO_HWACCEL_DISABLED
	.word	Blt
	.size	rivafb_copyarea, .-rivafb_copyarea
	.comm	FBINFO_HWACCEL_DISABLED,4,4
	.comm	Blt,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
