	.file	"extr_gui_photon.c_gui_ph_handle_raw_draw.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	gui_ph_handle_raw_draw, @function
gui_ph_handle_raw_draw:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 48
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR TRUE[rip]
	cmp	QWORD PTR is_ignore_draw[rip], rax
	je	.L1
	mov	rdx, rsi
	mov	r12, rsi
	mov	r13, rdi
	mov	rsi, rdi
	mov	edi, DWORD PTR PtBasic[rip]
	lea	rbp, 16[rsp]
	mov	r14, rsp
	call	PtSuperClassDraw@PLT
	mov	rdi, rbp
	call	PgGetTranslation@PLT
	xor	eax, eax
	call	PgClearTranslation@PLT
	mov	rsi, r14
	mov	rdi, r13
	call	PtWidgetOffset@PLT
	mov	edi, DWORD PTR gui[rip]
	xor	esi, esi
	call	PtWidgetPos@PLT
	mov	rdi, r14
	mov	esi, eax
	call	PhTranslatePoint@PLT
	mov	rbx, QWORD PTR 32[r12]
	test	rbx, rbx
	cmove	rbx, r12
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rsi, QWORD PTR [rbx]
	mov	rdi, QWORD PTR 8[rbx]
	mov	rcx, QWORD PTR 16[rbx]
	mov	rdx, QWORD PTR 24[rbx]
	sub	rcx, rsi
	sub	rdx, rdi
	sub	rsi, QWORD PTR [rsp]
	sub	rdi, QWORD PTR 8[rsp]
	add	rcx, 1
	add	rdx, 1
	call	gui_redraw@PLT
	mov	rbx, QWORD PTR 32[rbx]
	test	rbx, rbx
	jne	.L5
	xor	esi, esi
	mov	rdi, rbp
	call	PgSetTranslation@PLT
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	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
.L11:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	gui_ph_handle_raw_draw, .-gui_ph_handle_raw_draw
	.comm	is_ignore_draw,8,8
	.comm	gui,4,4
	.comm	TRUE,8,8
	.comm	PtBasic,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_gui_photon.c_gui_ph_handle_raw_draw.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gui_ph_handle_raw_draw, %function
gui_ph_handle_raw_draw:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r2, .L12
	ldr	r3, .L12+4
	ldr	r2, [r2]
	ldr	r3, [r3]
	sub	sp, sp, #28
	cmp	r2, r3
	ldr	r3, .L12+8
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	beq	.L1
	mov	r4, r0
	ldr	r3, .L12+12
	mov	r2, r1
	ldr	r0, [r3]
	mov	r5, r1
	mov	r1, r4
	bl	PtSuperClassDraw
	add	r0, sp, #12
	bl	PgGetTranslation
	bl	PgClearTranslation
	mov	r0, r4
	add	r1, sp, #4
	bl	PtWidgetOffset
	ldr	r3, .L12+16
	mov	r1, #0
	ldr	r0, [r3]
	bl	PtWidgetPos
	mov	r1, r0
	add	r0, sp, #4
	bl	PhTranslatePoint
	ldr	r4, [r5, #16]
	cmp	r4, #0
	moveq	r4, r5
.L5:
	ldmib	sp, {ip, lr}
	ldr	r0, [r4, #4]
	ldr	r1, [r4]
	ldr	r2, [r4, #12]
	ldr	r3, [r4, #8]
	sub	r2, r2, r0
	sub	r3, r3, r1
	add	r2, r2, #1
	sub	r0, r0, lr
	add	r3, r3, #1
	sub	r1, r1, ip
	bl	gui_redraw
	ldr	r4, [r4, #16]
	cmp	r4, #0
	bne	.L5
	mov	r1, r4
	add	r0, sp, #12
	bl	PgSetTranslation
.L1:
	ldr	r3, .L12+8
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	is_ignore_draw
	.word	TRUE
	.word	.LC0
	.word	PtBasic
	.word	gui
	.size	gui_ph_handle_raw_draw, .-gui_ph_handle_raw_draw
	.comm	is_ignore_draw,4,4
	.comm	gui,4,4
	.comm	TRUE,4,4
	.comm	PtBasic,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
