	.file	"extr_nanoxwin.c_ui_rect.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ui_rect
	.type	ui_rect, @function
ui_rect:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	mov	esi, r8d
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, ecx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, edx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	DWORD PTR g_server_bpp[rip], 16
	je	.L5
.L2:
	mov	edi, DWORD PTR g_gc[rip]
	call	GrSetGCForeground@PLT
	mov	r9d, ebp
	mov	r8d, ebx
	mov	ecx, r13d
	mov	esi, DWORD PTR g_gc[rip]
	mov	edi, DWORD PTR g_wnd[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	edx, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	GrFillRect@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	cmp	DWORD PTR g_bpp[rip], 32
	jne	.L2
	mov	edi, r8d
	call	COLOR16TO32@PLT
	mov	esi, eax
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	ui_rect, .-ui_rect
	.comm	g_wnd,4,4
	.comm	g_server_bpp,4,4
	.comm	g_gc,4,4
	.comm	g_bpp,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_nanoxwin.c_ui_rect.c"
	.text
	.align	2
	.global	ui_rect
	.syntax unified
	.arm
	.fpu softvfp
	.type	ui_rect, %function
ui_rect:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	ip, .L6
	mov	r4, r0
	ldr	r0, [ip]
	mov	r5, r1
	cmp	r0, #16
	mov	r6, r2
	mov	r7, r3
	sub	sp, sp, #8
	beq	.L5
.L2:
	ldr	r8, .L6+4
	ldr	r1, [sp, #32]
	ldr	r0, [r8]
	bl	GrSetGCForeground
	stm	sp, {r6, r7}
	ldr	r0, .L6+8
	mov	r3, r5
	mov	r2, r4
	ldr	r1, [r8]
	ldr	r0, [r0]
	bl	GrFillRect
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	ldr	r3, .L6+12
	ldr	r3, [r3]
	cmp	r3, #32
	bne	.L2
	ldr	r0, [sp, #32]
	bl	COLOR16TO32
	str	r0, [sp, #32]
	b	.L2
.L7:
	.align	2
.L6:
	.word	g_server_bpp
	.word	g_gc
	.word	g_wnd
	.word	g_bpp
	.size	ui_rect, .-ui_rect
	.comm	g_wnd,4,4
	.comm	g_server_bpp,4,4
	.comm	g_gc,4,4
	.comm	g_bpp,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
