	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smalltext_out16
_smalltext_out16:                       ## @smalltext_out16
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %rcx
	movl	%esi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_g_menuscreen_w@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subl	%edi, %eax
	movq	_me_sfont_w@GOTPCREL(%rip), %rsi
	cltd
	idivl	(%rsi)
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movl	%edi, %r12d
	movl	%eax, %ebx
	leaq	-176(%rbp), %r13
	movq	%r13, %rdi
	movq	%rcx, %rsi
	movl	$128, %edx
	callq	_strncpy
	cmpl	$127, %ebx
	movl	$127, %eax
	cmovbl	%ebx, %eax
	movb	$0, -176(%rbp,%rax)
	movl	%r12d, %edi
	movl	%r15d, %esi
	movq	%r13, %rdx
	movl	%r14d, %ecx
	callq	_smalltext_out16_
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_g_menuscreen_w,4,2             ## @g_menuscreen_w
	.comm	_me_sfont_w,4,2                 ## @me_sfont_w
	.no_dead_strip	_smalltext_out16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smalltext_out16
_smalltext_out16:                       ; @smalltext_out16
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _g_menuscreen_w@GOTPAGE
Lloh4:
	ldr	x8, [x8, _g_menuscreen_w@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	sub	w8, w8, w0
Lloh6:
	adrp	x9, _me_sfont_w@GOTPAGE
Lloh7:
	ldr	x9, [x9, _me_sfont_w@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	sdiv	w22, w8, w9
	tbnz	w22, #31, LBB0_2
; %bb.1:
	mov	x19, x3
	mov	x20, x1
	mov	x21, x0
	add	x23, sp, #8
	add	x0, sp, #8
	mov	x1, x2
	mov	w2, #128
	bl	_strncpy
	mov	w8, #127
	cmp	w22, #127
	csel	w8, w22, w8, lo
	strb	wzr, [x23, w8, uxtw]
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	bl	_smalltext_out16_
LBB0_2:
	ldur	x8, [x29, #-56]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_g_menuscreen_w,4,2             ; @g_menuscreen_w
	.comm	_me_sfont_w,4,2                 ; @me_sfont_w
	.no_dead_strip	_smalltext_out16
.subsections_via_symbols
