	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_M_WriteText                    ## -- Begin function M_WriteText
	.p2align	4, 0x90
_M_WriteText:                           ## @M_WriteText
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %r14d
	movl	%edi, %r13d
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	addl	$4, %r13d
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	incq	%r12
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	-1(%r12), %edi
	testl	%edi, %edi
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpb	$10, %dil
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=2
	callq	_toupper
	movq	_HU_FONTSTART@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	js	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	_HU_FONTSIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	_hu_font@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, %r15d
	movq	(%rcx,%r15,8), %rax
	movl	(%rax), %edi
	callq	_SHORT
	movl	%eax, %ebx
	addl	%r13d, %ebx
	movq	_SCREENWIDTH@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jg	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=2
	movq	_hu_font@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r15,8), %rcx
	movl	%r13d, %edi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_V_DrawPatchDirect
	incq	%r12
	movl	%ebx, %r13d
	jmp	LBB0_2
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	addl	$12, %r14d
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_1
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HU_FONTSTART,4,2               ## @HU_FONTSTART
	.comm	_HU_FONTSIZE,4,2                ## @HU_FONTSIZE
	.comm	_hu_font,8,3                    ## @hu_font
	.comm	_SCREENWIDTH,4,2                ## @SCREENWIDTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_M_WriteText                    ; -- Begin function M_WriteText
	.p2align	2
_M_WriteText:                           ; @M_WriteText
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x23, _HU_FONTSTART@GOTPAGE
Lloh1:
	ldr	x23, [x23, _HU_FONTSTART@GOTPAGEOFF]
Lloh2:
	adrp	x24, _HU_FONTSIZE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _HU_FONTSIZE@GOTPAGEOFF]
Lloh4:
	adrp	x25, _hu_font@GOTPAGE
Lloh5:
	ldr	x25, [x25, _hu_font@GOTPAGEOFF]
Lloh6:
	adrp	x26, _SCREENWIDTH@GOTPAGE
Lloh7:
	ldr	x26, [x26, _SCREENWIDTH@GOTPAGEOFF]
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	add	x19, x19, #1
	mov	x22, x21
	ldurb	w8, [x19, #-1]
	cbnz	w8, LBB0_3
	b	LBB0_9
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=2
	add	w22, w22, #4
	add	x19, x19, #1
	ldurb	w8, [x19, #-1]
	cbz	w8, LBB0_9
LBB0_3:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w8, #10
	b.eq	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	sxtb	w0, w8
	bl	_toupper
	ldr	w8, [x23]
	subs	w27, w0, w8
	b.mi	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=2
	ldr	w8, [x24]
	cmp	w27, w8
	b.ge	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=2
	ldr	x8, [x25]
	ldr	x8, [x8, w27, uxtw #3]
	ldr	w0, [x8]
	bl	_SHORT
	ldr	w8, [x26]
	add	w28, w0, w22
	cmp	w28, w8
	b.gt	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=2
	ldr	x8, [x25]
	ldr	x3, [x8, x27, lsl #3]
	mov	x0, x22
	mov	x1, x20
	mov	w2, #0
	bl	_V_DrawPatchDirect
	mov	x22, x28
	add	x19, x19, #1
	ldurb	w8, [x19, #-1]
	cbnz	w8, LBB0_3
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
	add	w20, w20, #12
	b	LBB0_1
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HU_FONTSTART,4,2               ; @HU_FONTSTART
	.comm	_HU_FONTSIZE,4,2                ; @HU_FONTSIZE
	.comm	_hu_font,8,3                    ; @hu_font
	.comm	_SCREENWIDTH,4,2                ; @SCREENWIDTH
.subsections_via_symbols
