	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FONT_alignRight                ## -- Begin function FONT_alignRight
	.p2align	4, 0x90
_FONT_alignRight:                       ## @FONT_alignRight
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movl	%ecx, %r15d
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movq	_vmode@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	4(%rax), %r12d
	callq	_strlen
	testl	%eax, %eax
	movl	%r14d, -60(%rbp)                ## 4-byte Spill
	movl	%r15d, -56(%rbp)                ## 4-byte Spill
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	jle	LBB0_1
## %bb.2:
	xorl	%r15d, %r15d
	movq	_fheight@GOTPCREL(%rip), %r12
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_font_size@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movsbq	(%rbx,%r15), %rcx
	movl	(%rax,%rcx,4), %eax
	imull	%r13d, %eax
	cltd
	idivl	(%r12)
	incq	%r15
	addl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_strlen
	cltq
	cmpq	%rax, %r15
	jl	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%r14d, %r14d
LBB0_4:
	movb	(%rbx), %cl
	testb	%cl, %cl
	movl	-56(%rbp), %r12d                ## 4-byte Reload
	je	LBB0_8
## %bb.5:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, %eax
	shrl	$31, %eax
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	%esi, %edx
	shrl	$31, %edx
	addl	%edi, %eax
	addl	%esi, %edx
	sarl	%eax
	sarl	%edx
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	subl	%eax, %esi
	subl	%edx, %r12d
	movl	%esi, %r15d
	subl	%r14d, %esi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	_font_size@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movsbq	%cl, %rdx
	movl	(%rax,%rdx,4), %eax
	imull	%r13d, %eax
	cltd
	movq	_fheight@GOTPCREL(%rip), %rdi
	idivl	(%rdi)
	movl	%eax, %r14d
	addl	%esi, %r14d
	cmpl	%r15d, %r14d
	jg	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movsbl	%cl, %edi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	-60(%rbp), %r8d                 ## 4-byte Reload
	callq	_DrawChar
	movzbl	1(%rbx), %ecx
	incq	%rbx
	movl	%r14d, %esi
	testb	%cl, %cl
	jne	LBB0_6
LBB0_8:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strlen                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_vmode,8,3                      ## @vmode
	.comm	_font_size,8,3                  ## @font_size
	.comm	_fheight,4,2                    ## @fheight
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FONT_alignRight                ; -- Begin function FONT_alignRight
	.p2align	2
_FONT_alignRight:                       ; @FONT_alignRight
	.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	x19, x4
	mov	x26, x3
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _vmode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vmode@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	w9, w8, [x8]
	cmp	w9, #0
	cinc	w27, w9, lt
	cmp	w8, #0
	cinc	w23, w8, lt
	bl	_strlen
Lloh3:
	adrp	x24, _font_size@GOTPAGE
Lloh4:
	ldr	x24, [x24, _font_size@GOTPAGEOFF]
Lloh5:
	adrp	x25, _fheight@GOTPAGE
Lloh6:
	ldr	x25, [x25, _fheight@GOTPAGEOFF]
	cmp	w0, #1
	str	w27, [sp, #12]                  ; 4-byte Folded Spill
	mov	x27, x22
	b.lt	LBB0_4
; %bb.1:
	mov	x22, #0
	mov	w28, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldrsb	x9, [x20, x22]
	ldr	w8, [x8, x9, lsl #2]
	mul	w8, w8, w21
	ldr	w9, [x25]
	sdiv	w8, w8, w9
	add	w28, w8, w28
	add	x22, x22, #1
	mov	x0, x20
	bl	_strlen
	cmp	x22, w0, sxtw
	b.lt	LBB0_2
; %bb.3:
	ldrb	w8, [x20]
	cbnz	w8, LBB0_5
	b	LBB0_8
LBB0_4:
	mov	w28, #0
	ldrb	w8, [x20]
	cbz	w8, LBB0_8
LBB0_5:
	sub	w23, w26, w23, asr #1
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	sub	w22, w27, w9, asr #1
	sub	w1, w22, w28
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x24]
	sxtb	x10, w8
	ldr	w9, [x9, x10, lsl #2]
	mul	w9, w9, w21
	ldr	w10, [x25]
	sdiv	w9, w9, w10
	add	w26, w9, w1
	cmp	w26, w22
	b.gt	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sxtb	w0, w8
	mov	x2, x23
	mov	x3, x21
	mov	x4, x19
	bl	_DrawChar
	ldrb	w8, [x20, #1]!
	mov	x1, x26
	cbnz	w8, LBB0_6
LBB0_8:
	mov	w0, #0
	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
LBB0_9:
	mov	x0, x20
	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
	b	_strlen
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_vmode,8,3                      ; @vmode
	.comm	_font_size,8,3                  ; @font_size
	.comm	_fheight,4,2                    ; @fheight
.subsections_via_symbols
