	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TuiDrawText                    ## -- Begin function TuiDrawText
	.p2align	4, 0x90
_TuiDrawText:                           ## @TuiDrawText
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdx), %r9
	testq	%r9, %r9
	je	LBB0_5
## %bb.1:
	movq	_UiScreenWidth@GOTPCREL(%rip), %r8
	movq	(%r8), %r11
	cmpq	%rdi, %r11
	jbe	LBB0_5
## %bb.2:
	movq	_TextVideoBuffer@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$8, %rdx
	leaq	1(%rdi), %r10
	shlq	$4, %rsi
	shlq	$4, %rdi
	addq	%rax, %rdi
	addq	$8, %rdi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	imulq	%rsi, %r11
	movq	%r9, -8(%rdi,%r11)
	movq	(%r8), %rax
	imulq	%rsi, %rax
	movq	%rcx, (%rdi,%rax)
	movq	(%rdx), %r9
	testq	%r9, %r9
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$8, %rdx
	leaq	1(%r10), %rax
	addq	$16, %rdi
	movq	(%r8), %r11
	cmpq	%r11, %r10
	movq	%rax, %r10
	jb	LBB0_3
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TextVideoBuffer,4,2            ## @TextVideoBuffer
	.comm	_UiScreenWidth,8,3              ## @UiScreenWidth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TuiDrawText                    ; -- Begin function TuiDrawText
	.p2align	2
_TuiDrawText:                           ; @TuiDrawText
	.cfi_startproc
; %bb.0:
	ldr	x9, [x2]
Lloh0:
	adrp	x8, _UiScreenWidth@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UiScreenWidth@GOTPAGEOFF]
	ldr	x10, [x8]
	cmp	x9, #0
	ccmp	x10, x0, #0, ne
	b.ls	LBB0_3
; %bb.1:
Lloh2:
	adrp	x11, _TextVideoBuffer@GOTPAGE
Lloh3:
	ldr	x11, [x11, _TextVideoBuffer@GOTPAGEOFF]
Lloh4:
	ldrsw	x14, [x11]
	add	x11, x2, #8
	add	x12, x0, #1
	lsl	x13, x1, #4
	add	x14, x14, x0, lsl #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mul	x10, x13, x10
	str	x9, [x14, x10]
	ldr	x9, [x8]
	madd	x9, x13, x9, x14
	str	x3, [x9, #8]
	ldr	x9, [x11], #8
	ldr	x10, [x8]
	cmp	x9, #0
	ccmp	x12, x10, #2, ne
	add	x12, x12, #1
	add	x14, x14, #16
	b.lo	LBB0_2
LBB0_3:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_TextVideoBuffer,4,2            ; @TextVideoBuffer
	.comm	_UiScreenWidth,8,3              ; @UiScreenWidth
.subsections_via_symbols
