	.file	"extr_ui_qmenu.c_Text_Draw.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	Text_Draw, @function
Text_Draw:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 536
	.cfi_def_cfa_offset 576
	mov	esi, DWORD PTR 24[rdi]
	mov	ebp, DWORD PTR 12[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 520[rsp], rax
	xor	eax, eax
	mov	r13d, DWORD PTR 16[rdi]
	mov	BYTE PTR [rsp], 0
	mov	r12, rsp
	test	esi, esi
	jne	.L15
	mov	esi, DWORD PTR 28[rbx]
	test	esi, esi
	jne	.L16
.L3:
	mov	eax, DWORD PTR 20[rbx]
	mov	r8, QWORD PTR color_blue[rip]
	test	DWORD PTR QMF_GRAYED[rip], eax
	jne	.L5
	mov	r8, QWORD PTR [rbx]
.L5:
	mov	ecx, DWORD PTR 8[rbx]
	mov	rdx, r12
	mov	esi, r13d
	mov	edi, ebp
	call	UI_DrawString@PLT
	mov	rax, QWORD PTR 520[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 536
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	rdi, r12
	call	strcpy@PLT
	mov	esi, DWORD PTR 28[rbx]
	test	esi, esi
	je	.L3
.L16:
	mov	rdi, r12
	call	strcat@PLT
	jmp	.L3
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	Text_Draw, .-Text_Draw
	.comm	color_blue,8,8
	.comm	QMF_GRAYED,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_ui_qmenu.c_Text_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	Text_Draw, %function
Text_Draw:
	@ args = 0, pretend = 0, frame = 520
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, lr}
	ldr	r1, [r0, #20]
	ldr	r2, .L17
	sub	sp, sp, #532
	cmp	r1, r3
	ldr	r2, [r2]
	str	r2, [sp, #524]
	mov	r2,#0
	mov	r4, r0
	ldr	r6, [r0, #8]
	ldr	r7, [r0, #12]
	add	r5, sp, #12
	strb	r3, [sp, #12]
	bne	.L12
	ldr	r1, [r4, #24]
	cmp	r1, #0
	bne	.L15
.L3:
	ldr	r3, .L17+4
	ldr	r2, [r4, #16]
	ldr	r3, [r3]
	mov	r1, r7
	tst	r2, r3
	ldrne	r3, .L17+8
	ldreq	r3, [r4]
	ldrne	r3, [r3]
	mov	r2, r5
	str	r3, [sp]
	ldr	r3, [r4, #4]
	mov	r0, r6
	bl	UI_DrawString
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #524]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	add	sp, sp, #532
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L12:
	mov	r0, r5
	bl	strcpy
	ldr	r1, [r4, #24]
	cmp	r1, #0
	beq	.L3
.L15:
	mov	r0, r5
	bl	strcat
	b	.L3
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	QMF_GRAYED
	.word	color_blue
	.size	Text_Draw, .-Text_Draw
	.comm	color_blue,4,4
	.comm	QMF_GRAYED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
