	.file	"extr_newport_con.c_newport_clear_screen.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	newport_clear_screen, @function
newport_clear_screen:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR logo_active[rip], 0
	je	.L8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, r8d
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edi
	mov	rdi, QWORD PTR npregs[rip]
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, edx
	sal	ebp, 16
	sal	ebx, 16
	or	r13d, ebp
	or	r12d, ebx
	call	newport_wait@PLT
	mov	rdx, QWORD PTR npregs[rip]
	mov	eax, DWORD PTR NPORT_DMODE0_DRAW[rip]
	or	eax, DWORD PTR NPORT_DMODE0_BLOCK[rip]
	or	eax, DWORD PTR NPORT_DMODE0_DOSETUP[rip]
	or	eax, DWORD PTR NPORT_DMODE0_STOPX[rip]
	or	eax, DWORD PTR NPORT_DMODE0_STOPY[rip]
	mov	DWORD PTR 4[rdx], -1
	mov	DWORD PTR 8[rdx], eax
	mov	DWORD PTR 12[rdx], r14d
	mov	DWORD PTR 16[rdx], r13d
	mov	DWORD PTR [rdx], r12d
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	newport_clear_screen, .-newport_clear_screen
	.comm	npregs,8,8
	.comm	logo_active,8,8
	.comm	NPORT_DMODE0_STOPY,4,4
	.comm	NPORT_DMODE0_STOPX,4,4
	.comm	NPORT_DMODE0_DRAW,4,4
	.comm	NPORT_DMODE0_DOSETUP,4,4
	.comm	NPORT_DMODE0_BLOCK,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_newport_con.c_newport_clear_screen.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	newport_clear_screen, %function
newport_clear_screen:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, .L8
	ldr	ip, [ip]
	cmp	ip, #0
	bxne	lr
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r8, .L8+4
	mov	r5, r1
	mov	r6, r2
	mov	r4, r3
	mov	r7, r0
	ldr	r0, [r8]
	bl	newport_wait
	mvn	r2, #0
	ldr	r1, .L8+8
	ldr	r3, .L8+12
	ldr	ip, [r1]
	ldr	r1, [r3]
	ldr	r3, .L8+16
	orr	ip, ip, r1
	ldr	r1, [r3]
	ldr	r3, .L8+20
	orr	ip, ip, r1
	ldr	r1, .L8+24
	ldr	r3, [r3]
	ldr	r0, [r1]
	orr	ip, ip, r3
	ldr	lr, [r8]
	orr	ip, ip, r0
	ldr	r0, [sp, #24]
	orr	r1, r5, r7, lsl #16
	orr	r3, r4, r6, lsl #16
	stmib	lr, {r2, ip}
	str	r0, [lr, #12]
	str	r1, [lr, #16]
	str	r3, [lr]
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	logo_active
	.word	npregs
	.word	NPORT_DMODE0_DRAW
	.word	NPORT_DMODE0_BLOCK
	.word	NPORT_DMODE0_DOSETUP
	.word	NPORT_DMODE0_STOPX
	.word	NPORT_DMODE0_STOPY
	.size	newport_clear_screen, .-newport_clear_screen
	.comm	npregs,4,4
	.comm	logo_active,4,4
	.comm	NPORT_DMODE0_STOPY,4,4
	.comm	NPORT_DMODE0_STOPX,4,4
	.comm	NPORT_DMODE0_DRAW,4,4
	.comm	NPORT_DMODE0_DOSETUP,4,4
	.comm	NPORT_DMODE0_BLOCK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
