	.file	"extr_graphics.c_gx_priv_resource_fill.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"vg error %x filling area"
	.text
	.p2align 4
	.globl	gx_priv_resource_fill
	.type	gx_priv_resource_fill, @function
gx_priv_resource_fill:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	edi, r9d
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, r8d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	r15, rsp
	mov	rsi, r15
	call	gx_priv_colour_to_paint@PLT
	mov	esi, DWORD PTR VG_FALSE[rip]
	mov	edi, DWORD PTR VG_SCISSORING[rip]
	call	vgSeti@PLT
	mov	edi, DWORD PTR VG_CLEAR_COLOR[rip]
	mov	rdx, r15
	mov	esi, 4
	call	vgSetfv@PLT
	mov	ecx, r14d
	mov	edx, r13d
	mov	esi, r12d
	mov	edi, ebp
	call	vgClear@PLT
	xor	eax, eax
	call	vgGetError@PLT
	test	eax, eax
	jne	.L9
.L2:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	mov	eax, DWORD PTR VCOS_SUCCESS[rip]
	jne	.L10
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	esi, eax
	lea	rdi, .LC0[rip]
	call	GX_LOG@PLT
	xor	edi, edi
	call	vcos_assert@PLT
	jmp	.L2
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	gx_priv_resource_fill, .-gx_priv_resource_fill
	.comm	VG_SCISSORING,4,4
	.comm	VG_FALSE,4,4
	.comm	VG_CLEAR_COLOR,4,4
	.comm	VCOS_SUCCESS,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_graphics.c_gx_priv_resource_fill.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"vg error %x filling area\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	gx_priv_resource_fill
	.syntax unified
	.arm
	.fpu softvfp
	.type	gx_priv_resource_fill, %function
gx_priv_resource_fill:
	@ args = 8, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r2
	mov	r4, r1
	mov	r6, r3
	sub	sp, sp, #24
	ldr	r3, .L11
	add	r1, sp, #4
	ldr	r0, [sp, #44]
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	gx_priv_colour_to_paint
	ldr	r2, .L11+4
	ldr	r3, .L11+8
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	vgSeti
	ldr	r3, .L11+12
	mov	r1, #4
	ldr	r0, [r3]
	add	r2, sp, #4
	bl	vgSetfv
	mov	r1, r5
	mov	r2, r6
	ldr	r3, [sp, #40]
	mov	r0, r4
	bl	vgClear
	bl	vgGetError
	subs	r1, r0, #0
	bne	.L9
.L2:
	ldr	r3, .L11+16
	ldr	r0, [r3]
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r0, .L11+20
	bl	GX_LOG
	mov	r0, #0
	bl	vcos_assert
	b	.L2
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC1
	.word	VG_FALSE
	.word	VG_SCISSORING
	.word	VG_CLEAR_COLOR
	.word	VCOS_SUCCESS
	.word	.LC0
	.size	gx_priv_resource_fill, .-gx_priv_resource_fill
	.comm	VG_SCISSORING,4,4
	.comm	VG_FALSE,4,4
	.comm	VG_CLEAR_COLOR,4,4
	.comm	VCOS_SUCCESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
