	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function DrawChar
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_DrawChar:                              ## @DrawChar
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -56(%rbp)                 ## 4-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	shrq	$32, %r8
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	_fontHeader@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movl	(%rax), %edx
	movl	4(%rax), %ecx
	movq	_GX_TF_I4@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_GX_CLAMP@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_GX_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_fontTexture@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-76(%rbp), %rbx
	movq	%rbx, %rdi
	pushq	%rax
	pushq	%r9
	callq	_GX_InitTexObj
	addq	$16, %rsp
	movq	_GX_TEXMAP0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_GX_LoadTexObj
	movq	(%r13), %rax
	movl	4(%rax), %ecx
	imull	(%rax), %ecx
	movl	(%r14), %edi
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	xorl	%esi, %esi
	callq	_memset
	movl	(%r14), %esi
	movq	(%r13), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	xorl	%edx, %edx
	callq	_GetFontTexel
	movq	(%r13), %rax
	movl	4(%rax), %ecx
	imull	(%rax), %ecx
	movl	(%r14), %edi
	movl	%ecx, %esi
	shrl	$31, %esi
	addl	%ecx, %esi
	sarl	%esi
	callq	_DCFlushRange
	xorl	%eax, %eax
	callq	_GX_InvalidateTexAll
	movq	(%r13), %rcx
	movl	(%rcx), %eax
	imull	%r15d, %eax
	cltd
	idivl	4(%rcx)
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_GX_QUADS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GX_VTXFMT0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_GX_Begin
	movl	%r12d, %ebx
	subl	%r15d, %ebx
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edi
	movl	%ebx, %esi
	callq	_GX_Position2s16
	movl	-56(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edi
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movl	%r13d, %esi
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	%r14d, %edx
	movl	$255, %ecx
	callq	_GX_Color4u8
	xorps	%xmm0, %xmm0
	xorps	%xmm1, %xmm1
	callq	_GX_TexCoord2f32
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	addl	%r12d, %edi
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %esi
	callq	_GX_Position2s16
	movl	%r15d, %edi
	movl	%r13d, %esi
	movl	%r14d, %edx
	movq	%r14, %r12
	movl	$255, %ecx
	callq	_GX_Color4u8
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	xorps	%xmm1, %xmm1
	callq	_GX_TexCoord2f32
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %esi
	callq	_GX_Position2s16
	movl	%r15d, %edi
	movl	%r13d, %esi
	movl	%r12d, %edx
	movl	$255, %ecx
	callq	_GX_Color4u8
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movaps	%xmm0, %xmm1
	callq	_GX_TexCoord2f32
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%r14d, %esi
	callq	_GX_Position2s16
	movl	%r15d, %edi
	movl	%r13d, %esi
	movl	%r12d, %edx
	movl	$255, %ecx
	callq	_GX_Color4u8
	xorps	%xmm0, %xmm0
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	callq	_GX_TexCoord2f32
	xorl	%eax, %eax
	callq	_GX_End
	xorl	%eax, %eax
	callq	_GX_DrawDone
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fontTexture,4,2                ## @fontTexture
	.comm	_fontHeader,8,3                 ## @fontHeader
	.comm	_GX_TF_I4,4,2                   ## @GX_TF_I4
	.comm	_GX_CLAMP,4,2                   ## @GX_CLAMP
	.comm	_GX_FALSE,4,2                   ## @GX_FALSE
	.comm	_GX_TEXMAP0,4,2                 ## @GX_TEXMAP0
	.comm	_GX_QUADS,4,2                   ## @GX_QUADS
	.comm	_GX_VTXFMT0,4,2                 ## @GX_VTXFMT0
	.no_dead_strip	_DrawChar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DrawChar
_DrawChar:                              ; @DrawChar
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x5
	mov	x19, x4
	mov	x24, x3
	mov	x22, x2
	mov	x23, x1
	mov	x25, x0
	lsr	x21, x4, #32
Lloh0:
	adrp	x27, _fontTexture@GOTPAGE
Lloh1:
	ldr	x27, [x27, _fontTexture@GOTPAGEOFF]
	ldr	w1, [x27]
Lloh2:
	adrp	x26, _fontHeader@GOTPAGE
Lloh3:
	ldr	x26, [x26, _fontHeader@GOTPAGEOFF]
	ldr	x8, [x26]
	ldp	w2, w3, [x8]
Lloh4:
	adrp	x8, _GX_TF_I4@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GX_TF_I4@GOTPAGEOFF]
Lloh6:
	ldr	w4, [x8]
Lloh7:
	adrp	x8, _GX_CLAMP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GX_CLAMP@GOTPAGEOFF]
Lloh9:
	ldr	w5, [x8]
Lloh10:
	adrp	x8, _GX_FALSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GX_FALSE@GOTPAGEOFF]
Lloh12:
	ldr	w7, [x8]
	add	x0, sp, #12
	mov	x6, x5
	bl	_GX_InitTexObj
Lloh13:
	adrp	x8, _GX_TEXMAP0@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GX_TEXMAP0@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	add	x0, sp, #12
	bl	_GX_LoadTexObj
	ldr	w0, [x27]
	ldr	x8, [x26]
	ldp	w9, w8, [x8]
	mul	w8, w8, w9
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w2, w8, #1
	mov	w1, #0
	bl	_memset
	ldr	w1, [x27]
	ldr	x8, [x26]
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w3, w8, #1
	mov	x0, x25
	mov	w2, #0
	bl	_GetFontTexel
	ldr	w0, [x27]
	ldr	x8, [x26]
	ldp	w9, w8, [x8]
	mul	w8, w8, w9
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w1, w8, #1
	bl	_DCFlushRange
	bl	_GX_InvalidateTexAll
	ldr	x8, [x26]
	ldp	w9, w8, [x8]
	mul	w9, w9, w24
	sdiv	w25, w9, w8
Lloh16:
	adrp	x8, _GX_QUADS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GX_QUADS@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x8, _GX_VTXFMT0@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GX_VTXFMT0@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_GX_Begin
	sub	w24, w22, w24
	mov	x0, x23
	mov	x1, x24
	bl	_GX_Position2s16
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	mov	w3, #255
	bl	_GX_Color4u8
	movi	d0, #0000000000000000
	movi	d1, #0000000000000000
	bl	_GX_TexCoord2f32
	add	w25, w25, w23
	mov	x0, x25
	mov	x1, x24
	bl	_GX_Position2s16
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	mov	w3, #255
	bl	_GX_Color4u8
	fmov	d0, #1.00000000
	movi	d1, #0000000000000000
	bl	_GX_TexCoord2f32
	mov	x0, x25
	mov	x1, x22
	bl	_GX_Position2s16
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	mov	w3, #255
	bl	_GX_Color4u8
	fmov	d0, #1.00000000
	fmov	d1, #1.00000000
	bl	_GX_TexCoord2f32
	mov	x0, x23
	mov	x1, x22
	bl	_GX_Position2s16
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	mov	w3, #255
	bl	_GX_Color4u8
	movi	d0, #0000000000000000
	fmov	d1, #1.00000000
	bl	_GX_TexCoord2f32
	bl	_GX_End
	bl	_GX_DrawDone
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_fontTexture,4,2                ; @fontTexture
	.comm	_fontHeader,8,3                 ; @fontHeader
	.comm	_GX_TF_I4,4,2                   ; @GX_TF_I4
	.comm	_GX_CLAMP,4,2                   ; @GX_CLAMP
	.comm	_GX_FALSE,4,2                   ; @GX_FALSE
	.comm	_GX_TEXMAP0,4,2                 ; @GX_TEXMAP0
	.comm	_GX_QUADS,4,2                   ; @GX_QUADS
	.comm	_GX_VTXFMT0,4,2                 ; @GX_VTXFMT0
	.no_dead_strip	_DrawChar
.subsections_via_symbols
