	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Text_Draw
_Text_Draw:                             ## @Text_Draw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$520, %rsp                      ## imm = 0x208
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movl	12(%rdi), %r15d
	movl	16(%rdi), %r14d
	movb	$0, -544(%rbp)
	movl	24(%rdi), %esi
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	leaq	-544(%rbp), %rdi
	callq	_strcpy
LBB0_2:
	movl	28(%rbx), %esi
	testl	%esi, %esi
	je	LBB0_4
## %bb.3:
	leaq	-544(%rbp), %rdi
	callq	_strcat
LBB0_4:
	movq	_QMF_GRAYED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rax
	andl	20(%rbx), %ecx
	je	LBB0_6
## %bb.5:
	movq	_color_blue@GOTPCREL(%rip), %rax
LBB0_6:
	movq	(%rax), %r8
	movl	8(%rbx), %ecx
	leaq	-544(%rbp), %rdx
	movl	%r15d, %edi
	movl	%r14d, %esi
	callq	_UI_DrawString
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	addq	$520, %rsp                      ## imm = 0x208
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_QMF_GRAYED,4,2                 ## @QMF_GRAYED
	.comm	_color_blue,8,3                 ## @color_blue
	.no_dead_strip	_Text_Draw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Text_Draw
_Text_Draw:                             ; @Text_Draw
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	sub	sp, sp, #528
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldp	w19, w20, [x0, #12]
	strb	wzr, [sp, #8]
	ldr	w1, [x0, #24]
	cbz	w1, LBB0_2
; %bb.1:
	add	x0, sp, #8
	bl	_strcpy
LBB0_2:
	ldr	w1, [x21, #28]
	cbz	w1, LBB0_4
; %bb.3:
	add	x0, sp, #8
	bl	_strcat
LBB0_4:
	ldr	w8, [x21, #20]
Lloh3:
	adrp	x9, _QMF_GRAYED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QMF_GRAYED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _color_blue@GOTPAGE
Lloh7:
	ldr	x10, [x10, _color_blue@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x21, x10, eq
	ldr	x4, [x8]
	ldr	w3, [x21, #8]
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	_UI_DrawString
	ldur	x8, [x29, #-40]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	add	sp, sp, #528
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_QMF_GRAYED,4,2                 ; @QMF_GRAYED
	.comm	_color_blue,8,3                 ; @color_blue
	.no_dead_strip	_Text_Draw
.subsections_via_symbols
