	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function me_draw
_me_draw:                               ## @me_draw
	.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
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	_me_mfont_w@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,8), %ecx
	leal	(%rcx,%rcx,2), %ecx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movl	%esi, %ebx
	xorl	%ecx, %ecx
	movq	%r15, %r14
	movq	%r15, %rax
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r12d
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	cmpl	%edx, %r13d
	cmovgl	%r13d, %edx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	incl	%ecx
	movl	%r12d, %edx
	movl	%r12d, -56(%rbp)                ## 4-byte Spill
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	56(%r14), %rdi
	addq	$56, %r14
	decl	%ebx
	testq	%rdi, %rdi
	je	LBB0_24
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, 52(%r14)
	je	LBB0_23
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%ebx, %ebx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	cmovel	%ecx, %esi
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	cmoveq	%r14, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	callq	_strlen
	movl	%eax, %r13d
	movq	_me_mfont_w@GOTPCREL(%rip), %rax
	imull	(%rax), %r13d
	testl	%r13d, %r13d
	je	LBB0_5
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	16(%r14), %ecx
	cmpl	$134, %ecx
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_me_mfont_w@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%r13), %r12d
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	cmpl	%edx, %r13d
	cmovlel	%edx, %r12d
	leal	-131(%rcx), %edx
	cmpl	$3, %edx
	jb	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	leal	-128(%rcx), %edx
	cmpl	$2, %edx
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	jae	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	leal	(%rax,%rax,2), %r13d
	addl	%r12d, %r13d
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r14), %rcx
	xorl	%r13d, %r13d
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	48(%r14), %edi
	leaq	-44(%rbp), %rsi
	callq	*%rcx
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rdi
	callq	_strlen
	movl	%eax, %r13d
	movq	_me_mfont_w@GOTPCREL(%rip), %rax
	imull	(%rax), %r13d
	jmp	LBB0_8
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, -44(%rbp)
	movq	8(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	48(%r14), %edi
	leaq	-44(%rbp), %rsi
	callq	*%rcx
	testq	%rax, %rax
	je	LBB0_16
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rdi
	callq	_strlen
	movl	%eax, %r13d
	addl	-44(%rbp), %r13d
	movq	_me_mfont_w@GOTPCREL(%rip), %rax
	imull	(%rax), %r13d
	addl	%r12d, %r13d
	jmp	LBB0_17
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$130, %ecx
	jne	LBB0_13
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=1
	leal	(%rax,%rax,4), %eax
	leal	(%r12,%rax,2), %r13d
	jmp	LBB0_21
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, %r13d
	jmp	LBB0_17
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, %r13d
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_22
LBB0_24:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_me_mfont_w@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_25
LBB0_1:
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
LBB0_25:
	movq	_me_mfont_h@GOTPCREL(%rip), %rdx
	imull	(%rdx), %ecx
	leal	(%rdi,%rax,2), %ebx
	movq	_g_menuscreen_w@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	cmpl	%eax, %ebx
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	jle	LBB0_27
## %bb.26:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	movl	%ecx, %ebx
	callq	_lprintf
	movl	%ebx, %ecx
	movl	(%r14), %eax
	movl	%eax, %ebx
LBB0_27:
	movq	_g_menuscreen_h@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	cmpl	%edx, %ecx
	jle	LBB0_29
## %bb.28:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_lprintf
	movl	(%r12), %edx
	movl	(%r14), %eax
	movl	%edx, %ecx
LBB0_29:
	movl	%eax, %r12d
	shrl	$31, %r12d
	addl	%eax, %r12d
	sarl	%r12d
	movl	%ebx, %eax
	shrl	$31, %eax
	addl	%ebx, %eax
	sarl	%eax
	subl	%eax, %r12d
	movl	%edx, %r13d
	shrl	$31, %r13d
	addl	%edx, %r13d
	sarl	%r13d
	movl	%ecx, %eax
	shrl	$31, %eax
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	addl	%ecx, %eax
	sarl	%eax
	subl	%eax, %r13d
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_menu_draw_begin
	movq	_me_mfont_h@GOTPCREL(%rip), %rax
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	imull	(%rax), %esi
	addl	%r13d, %esi
	movl	%r12d, %edi
	movl	%ebx, %edx
	callq	_menu_draw_selection
	movq	(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_57
## %bb.30:
	movq	_me_mfont_w@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%r12,%rax,2), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	addl	%eax, -56(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_31
LBB0_40:                                ##   in Loop: Header=BB0_31 Depth=1
	movq	32(%r15), %rax
	movl	(%rax), %ecx
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	leaq	L_.str.4(%rip), %rdx
	xorl	%eax, %eax
	callq	_text_out16
	.p2align	4, 0x90
LBB0_55:                                ##   in Loop: Header=BB0_31 Depth=1
	movq	_me_mfont_h@GOTPCREL(%rip), %rax
	addl	(%rax), %r13d
LBB0_56:                                ##   in Loop: Header=BB0_31 Depth=1
	movq	56(%r15), %rbx
	addq	$56, %r15
	testq	%rbx, %rbx
	je	LBB0_57
LBB0_31:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_46 Depth 2
	cmpl	$0, 52(%r15)
	je	LBB0_56
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	%rbx, %rdi
	callq	_strlen
	testl	%eax, %eax
	je	LBB0_33
LBB0_36:                                ##   in Loop: Header=BB0_31 Depth=1
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	movl	%r13d, %esi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_text_out16
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, %ebx
	incl	%ebx
	movq	_me_mfont_w@GOTPCREL(%rip), %rax
	imull	(%rax), %ebx
	addl	%r14d, %ebx
LBB0_37:                                ##   in Loop: Header=BB0_31 Depth=1
	movl	16(%r15), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_55
## %bb.38:                              ##   in Loop: Header=BB0_31 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_41:                                ##   in Loop: Header=BB0_31 Depth=1
	movl	$0, -44(%rbp)
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_55
## %bb.42:                              ##   in Loop: Header=BB0_31 Depth=1
	movl	48(%r15), %edi
	leaq	-44(%rbp), %rsi
	callq	*%rax
	testq	%rax, %rax
	je	LBB0_55
## %bb.43:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	_me_mfont_w@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	imull	-44(%rbp), %edi
	addl	-56(%rbp), %edi                 ## 4-byte Folded Reload
	movl	%r13d, %esi
	leaq	L_.str.5(%rip), %rdx
	movq	%rax, %rcx
	jmp	LBB0_53
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_31 Depth=1
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_36
## %bb.34:                              ##   in Loop: Header=BB0_31 Depth=1
	movl	48(%r15), %edi
	leaq	-44(%rbp), %rsi
	callq	*%rax
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_31 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_37
LBB0_39:                                ##   in Loop: Header=BB0_31 Depth=1
	movq	%r15, %rdi
	callq	_me_read_onoff
	testl	%eax, %eax
	leaq	L_.str.2(%rip), %rdx
	leaq	L_.str.3(%rip), %rax
	cmoveq	%rax, %rdx
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_text_out16
	jmp	LBB0_55
LBB0_44:                                ##   in Loop: Header=BB0_31 Depth=1
	movq	40(%r15), %r14
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_55
## %bb.45:                              ##   in Loop: Header=BB0_31 Depth=1
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_46:                                ##   Parent Loop BB0_31 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -44(%rbp)
	callq	_strlen
	cmpl	$10, %eax
	jle	LBB0_47
## %bb.48:                              ##   in Loop: Header=BB0_46 Depth=2
	movl	$8, %edi
	subl	%eax, %edi
	movq	_me_mfont_w@GOTPCREL(%rip), %rax
	imull	(%rax), %edi
	addl	-44(%rbp), %edi
	movl	%edi, -44(%rbp)
	cmpl	%ebx, %edi
	jl	LBB0_50
	jmp	LBB0_51
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_46 Depth=2
	movl	-44(%rbp), %edi
	cmpl	%ebx, %edi
	jge	LBB0_51
LBB0_50:                                ##   in Loop: Header=BB0_46 Depth=2
	movl	%ebx, -44(%rbp)
	movl	%ebx, %edi
LBB0_51:                                ##   in Loop: Header=BB0_46 Depth=2
	movq	32(%r15), %rax
	movzbl	(%rax), %eax
	cmpq	%rax, %r12
	je	LBB0_52
## %bb.54:                              ##   in Loop: Header=BB0_46 Depth=2
	movq	8(%r14,%r12,8), %rdi
	incq	%r12
	testq	%rdi, %rdi
	jne	LBB0_46
	jmp	LBB0_55
LBB0_52:                                ##   in Loop: Header=BB0_31 Depth=1
	movl	%r12d, %eax
	movq	(%r14,%rax,8), %rcx
	movl	%r13d, %esi
	leaq	L_.str.5(%rip), %rdx
LBB0_53:                                ##   in Loop: Header=BB0_31 Depth=1
	xorl	%eax, %eax
	callq	_text_out16
	jmp	LBB0_55
LBB0_57:
	xorl	%eax, %eax
	callq	_menu_separation
	movq	_g_menuscreen_h@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %eax
	subl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%eax, %r13d
	shrl	$31, %r13d
	addl	%eax, %r13d
	sarl	%r13d
	movq	_menu_error_msg@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_63
## %bb.58:
	movq	_me_mfont_h@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	4(%rax), %ecx
	cmpl	%ecx, %r13d
	jge	LBB0_59
## %bb.60:
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_lprintf
	jmp	LBB0_61
LBB0_63:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %r15
	testq	%r15, %r15
	je	LBB0_72
## %bb.64:
	xorl	%ebx, %ebx
	movq	%r15, %rax
	.p2align	4, 0x90
LBB0_65:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%rax)
	je	LBB0_67
## %bb.66:                              ##   in Loop: Header=BB0_65 Depth=1
	incq	%rax
	movq	%rax, %rdi
	movl	$10, %esi
	callq	_strchr
	incl	%ebx
	testq	%rax, %rax
	jne	LBB0_65
LBB0_67:
	movq	_me_sfont_h@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	imull	%ebx, %eax
	leal	4(%rax), %ecx
	cmpl	%ecx, %r13d
	movq	_g_menuscreen_h@GOTPCREL(%rip), %r13
	jl	LBB0_72
## %bb.68:
	testl	%ebx, %ebx
	jle	LBB0_72
## %bb.69:
	subl	%eax, %r14d
	addl	$-4, %r14d
	movl	$5, %edi
	movl	%r14d, %esi
	movq	%r15, %rdx
	movl	$65535, %ecx                    ## imm = 0xFFFF
	callq	_smalltext_out16
	cmpl	$2, %ebx
	jl	LBB0_72
## %bb.70:
	incl	%ebx
	.p2align	4, 0x90
LBB0_71:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_strchr
	movq	%rax, %r15
	incq	%r15
	leal	-2(%rbx), %eax
	movl	(%r13), %ecx
	imull	(%r12), %eax
	negl	%eax
	leal	(%rcx,%rax), %esi
	addl	$-4, %esi
	movl	$5, %edi
	movq	%r15, %rdx
	movl	$65535, %ecx                    ## imm = 0xFFFF
	callq	_smalltext_out16
	decl	%ebx
	cmpl	$2, %ebx
	jg	LBB0_71
	jmp	LBB0_72
LBB0_59:
	subl	%eax, %r14d
	addl	$-4, %r14d
	movl	$5, %edi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_text_out16
LBB0_61:
	xorl	%eax, %eax
	callq	_plat_get_ticks_ms
	movq	_menu_error_time@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	cmpl	$2049, %eax                     ## imm = 0x801
	jl	LBB0_72
## %bb.62:
	movq	(%rbx), %rax
	movq	$0, (%rax)
LBB0_72:
	xorl	%eax, %eax
	callq	_menu_separation
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_74
## %bb.73:
	callq	*%rax
LBB0_74:
	xorl	%eax, %eax
	callq	_menu_draw_end
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_40, LBB0_40-LJTI0_0
.set L0_0_set_39, LBB0_39-LJTI0_0
.set L0_0_set_44, LBB0_44-LJTI0_0
.set L0_0_set_41, LBB0_41-LJTI0_0
LJTI0_0:
	.long	L0_0_set_40
	.long	L0_0_set_39
	.long	L0_0_set_44
	.long	L0_0_set_41
	.long	L0_0_set_41
	.long	L0_0_set_41
	.end_data_region
                                        ## -- End function
	.comm	_me_mfont_w,4,2                 ## @me_mfont_w
	.comm	_me_mfont_h,4,2                 ## @me_mfont_h
	.comm	_g_menuscreen_w,4,2             ## @g_menuscreen_w
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"width %d > %d\n"

	.comm	_g_menuscreen_h,4,2             ## @g_menuscreen_h
L_.str.1:                               ## @.str.1
	.asciz	"height %d > %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"ON"

L_.str.3:                               ## @.str.3
	.asciz	"OFF"

L_.str.4:                               ## @.str.4
	.asciz	"%i"

L_.str.5:                               ## @.str.5
	.asciz	"%s"

	.comm	_menu_error_msg,8,3             ## @menu_error_msg
L_.str.6:                               ## @.str.6
	.asciz	"menu msg doesn't fit!\n"

	.comm	_menu_error_time,4,2            ## @menu_error_time
	.comm	_me_sfont_h,4,2                 ## @me_sfont_h
	.no_dead_strip	_me_draw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function me_draw
_me_draw:                               ; @me_draw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	str	x2, [sp, #16]                   ; 8-byte Folded Spill
	mov	x20, x0
Lloh0:
	adrp	x25, _me_mfont_w@GOTPAGE
Lloh1:
	ldr	x25, [x25, _me_mfont_w@GOTPAGEOFF]
	ldr	w8, [x25]
	mov	w9, #27
	mul	w19, w8, w9
	ldr	x0, [x0]
	cbz	x0, LBB0_18
; %bb.1:
	mov	x21, x1
	mov	w23, #0
	mov	w24, #0
	mov	w22, #0
	mov	w27, #10
	mov	x28, x20
	mov	x26, x20
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	sub	w8, w9, #128
	add	w11, w10, w10, lsl #1
	add	w11, w19, w11
	madd	w10, w10, w27, w19
	cmp	w9, #130
	csel	w9, w10, w19, eq
	cmp	w8, #2
	csel	w8, w11, w9, lo
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, w22
	csel	w22, w8, w22, gt
	add	w23, w23, #1
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x28, #56]!
	sub	w21, w21, #1
	cbz	x0, LBB0_17
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x28, #52]
	cbz	w8, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w21, #0
	csel	w24, w23, w24, eq
	csel	x26, x28, x26, eq
	bl	_strlen
	ldr	w8, [x25]
	mul	w8, w8, w0
	cbz	w8, LBB0_12
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x28, #16]
	cmp	w9, #134
	b.eq	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w10, [x25]
	add	w11, w10, w8
	cmp	w8, w19
	csel	w19, w11, w19, gt
	sub	w8, w9, #131
	cmp	w8, #3
	b.hs	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	str	wzr, [sp, #28]
	ldr	x8, [x28, #8]
	cbz	x8, LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x28, #48]
	add	x1, sp, #28
	blr	x8
	cbz	x0, LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	bl	_strlen
	ldr	w8, [sp, #28]
	add	w8, w8, w0
	ldr	w9, [x25]
	madd	w8, w8, w9, w19
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x28, #8]
	cbz	x8, LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x28, #48]
	add	x1, sp, #28
	blr	x8
	cbz	x0, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	bl	_strlen
	ldr	w8, [x25]
	mul	w8, w8, w0
	b	LBB0_7
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, x19
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #0
	b	LBB0_7
LBB0_17:
	ldr	w8, [x25]
	b	LBB0_19
LBB0_18:
	mov	w22, #0
	mov	w24, #0
	mov	w23, #0
	mov	x26, x20
LBB0_19:
Lloh2:
	adrp	x9, _me_mfont_h@GOTPAGE
Lloh3:
	ldr	x9, [x9, _me_mfont_h@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	mul	w11, w9, w23
	add	w22, w22, w8, lsl #1
Lloh5:
	adrp	x21, _g_menuscreen_w@GOTPAGE
Lloh6:
	ldr	x21, [x21, _g_menuscreen_w@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w22, w8
	b.le	LBB0_21
; %bb.20:
	stp	x22, x8, [sp]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	x22, x11
	bl	_lprintf
	mov	x11, x22
	ldr	w8, [x21]
	mov	x22, x8
LBB0_21:
Lloh9:
	adrp	x23, _g_menuscreen_h@GOTPAGE
Lloh10:
	ldr	x23, [x23, _g_menuscreen_h@GOTPAGEOFF]
	ldr	w9, [x23]
	cmp	w11, w9
	b.le	LBB0_23
; %bb.22:
	mov	x8, x22
	stp	x8, x9, [sp]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_lprintf
	ldr	w9, [x23]
	ldr	w8, [x21]
	mov	x11, x9
LBB0_23:
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	cmp	w22, #0
	cinc	w10, w22, lt
	sub	w23, w8, w10, asr #1
	cmp	w9, #0
	cinc	w8, w9, lt
	asr	w8, w8, #1
	cmp	w11, #0
	str	w11, [sp, #24]                  ; 4-byte Folded Spill
	cinc	w9, w11, lt
	sub	w21, w8, w9, asr #1
	mov	w0, #1
	mov	w1, #0
	bl	_menu_draw_begin
Lloh13:
	adrp	x8, _me_mfont_h@GOTPAGE
Lloh14:
	ldr	x8, [x8, _me_mfont_h@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	madd	w1, w8, w24, w21
	mov	x0, x23
	mov	x2, x22
	bl	_menu_draw_selection
	ldr	x24, [x20]
	cbz	x24, LBB0_50
; %bb.24:
	ldr	w8, [x25]
	add	w22, w23, w8, lsl #1
	add	w23, w22, w19
	b	LBB0_30
LBB0_25:                                ;   in Loop: Header=BB0_30 Depth=1
	ldr	x8, [x20, #32]
	ldr	w8, [x8]
	str	x8, [sp, #8]
Lloh16:
	adrp	x8, l_.str.4@PAGE
Lloh17:
	add	x8, x8, l_.str.4@PAGEOFF
LBB0_26:                                ;   in Loop: Header=BB0_30 Depth=1
	str	x8, [sp]
	mov	x0, x23
LBB0_27:                                ;   in Loop: Header=BB0_30 Depth=1
	mov	x1, x21
	bl	_text_out16
LBB0_28:                                ;   in Loop: Header=BB0_30 Depth=1
Lloh18:
	adrp	x8, _me_mfont_h@GOTPAGE
Lloh19:
	ldr	x8, [x8, _me_mfont_h@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	add	w21, w8, w21
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=1
	ldr	x24, [x20, #56]!
	cbz	x24, LBB0_50
LBB0_30:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_43 Depth 2
	ldr	w8, [x20, #52]
	cbz	w8, LBB0_29
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x24
	bl	_strlen
	cbz	w0, LBB0_38
LBB0_32:                                ;   in Loop: Header=BB0_30 Depth=1
	str	x24, [sp]
	mov	x0, x22
	mov	x1, x21
	bl	_text_out16
	mov	x0, x24
	bl	_strlen
	ldr	w8, [x25]
	madd	w8, w8, w0, w8
	add	w24, w8, w22
LBB0_33:                                ;   in Loop: Header=BB0_30 Depth=1
	ldr	w8, [x20, #16]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_28
; %bb.34:                               ;   in Loop: Header=BB0_30 Depth=1
Lloh21:
	adrp	x11, lJTI0_0@PAGE
Lloh22:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_25
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_35:                                ;   in Loop: Header=BB0_30 Depth=1
	str	wzr, [sp, #28]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_28
; %bb.36:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	w0, [x20, #48]
	add	x1, sp, #28
	blr	x8
	cbz	x0, LBB0_28
; %bb.37:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	w8, [sp, #28]
	ldr	w9, [x25]
	madd	w8, w9, w8, w23
Lloh23:
	adrp	x9, l_.str.5@PAGE
Lloh24:
	add	x9, x9, l_.str.5@PAGEOFF
	stp	x9, x0, [sp]
	mov	x0, x8
	b	LBB0_27
LBB0_38:                                ;   in Loop: Header=BB0_30 Depth=1
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_32
; %bb.39:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	w0, [x20, #48]
	add	x1, sp, #28
	blr	x8
	mov	x24, x0
	cbnz	x0, LBB0_32
	b	LBB0_33
LBB0_40:                                ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x20
	bl	_me_read_onoff
	cmp	w0, #0
Lloh25:
	adrp	x8, l_.str.2@PAGE
Lloh26:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh27:
	adrp	x9, l_.str.3@PAGE
Lloh28:
	add	x9, x9, l_.str.3@PAGEOFF
	csel	x8, x9, x8, eq
	b	LBB0_26
LBB0_41:                                ;   in Loop: Header=BB0_30 Depth=1
	ldr	x19, [x20, #40]
	ldr	x0, [x19]
	cbz	x0, LBB0_28
; %bb.42:                               ;   in Loop: Header=BB0_30 Depth=1
	mov	x28, #0
	add	x27, x19, #8
LBB0_43:                                ;   Parent Loop BB0_30 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	w23, [sp, #28]
	bl	_strlen
	cmp	w0, #10
	b.le	LBB0_45
; %bb.44:                               ;   in Loop: Header=BB0_43 Depth=2
	mov	w8, #8
	sub	w8, w8, w0
	ldr	w9, [x25]
	ldr	w10, [sp, #28]
	madd	w0, w9, w8, w10
	str	w0, [sp, #28]
	cmp	w0, w24
	b.lt	LBB0_46
	b	LBB0_47
LBB0_45:                                ;   in Loop: Header=BB0_43 Depth=2
	ldr	w0, [sp, #28]
	cmp	w0, w24
	b.ge	LBB0_47
LBB0_46:                                ;   in Loop: Header=BB0_43 Depth=2
	str	w24, [sp, #28]
	mov	x0, x24
LBB0_47:                                ;   in Loop: Header=BB0_43 Depth=2
	ldr	x8, [x20, #32]
	ldrb	w8, [x8]
	cmp	x28, x8
	b.eq	LBB0_49
; %bb.48:                               ;   in Loop: Header=BB0_43 Depth=2
	ldr	x0, [x27, x28, lsl #3]
	add	x28, x28, #1
	cbnz	x0, LBB0_43
	b	LBB0_28
LBB0_49:                                ;   in Loop: Header=BB0_30 Depth=1
	ldr	x9, [x19, w28, uxtw #3]
Lloh29:
	adrp	x8, l_.str.5@PAGE
Lloh30:
	add	x8, x8, l_.str.5@PAGEOFF
	stp	x8, x9, [sp]
	b	LBB0_27
LBB0_50:
	bl	_menu_separation
Lloh31:
	adrp	x25, _g_menuscreen_h@GOTPAGE
Lloh32:
	ldr	x25, [x25, _g_menuscreen_h@GOTPAGEOFF]
	ldr	w19, [x25]
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	sub	w8, w19, w8
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w23, w8, #1
Lloh33:
	adrp	x20, _menu_error_msg@GOTPAGE
Lloh34:
	ldr	x20, [x20, _menu_error_msg@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x9, [x8]
	cbz	x9, LBB0_53
; %bb.51:
Lloh35:
	adrp	x9, _me_mfont_h@GOTPAGE
Lloh36:
	ldr	x9, [x9, _me_mfont_h@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	add	w10, w9, #4
	cmp	w23, w10
	b.ge	LBB0_61
; %bb.52:
Lloh38:
	adrp	x0, l_.str.6@PAGE
Lloh39:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_lprintf
	b	LBB0_62
LBB0_53:
	ldr	x20, [x26, #24]
	ldr	x24, [sp, #16]                  ; 8-byte Folded Reload
	cbz	x20, LBB0_64
; %bb.54:
	mov	w22, #0
	mov	x0, x20
LBB0_55:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x0]
	cbz	w8, LBB0_57
; %bb.56:                               ;   in Loop: Header=BB0_55 Depth=1
	add	x0, x0, #1
	mov	w1, #10
	bl	_strchr
	add	w22, w22, #1
	cbnz	x0, LBB0_55
LBB0_57:
Lloh40:
	adrp	x21, _me_sfont_h@GOTPAGE
Lloh41:
	ldr	x21, [x21, _me_sfont_h@GOTPAGEOFF]
	ldr	w8, [x21]
	orr	w9, wzr, #0x4
	madd	w9, w8, w22, w9
	cmp	w23, w9
	ccmp	w22, #1, #8, ge
	b.lt	LBB0_64
; %bb.58:
	msub	w8, w8, w22, w19
	sub	w1, w8, #4
	mov	w0, #5
	mov	x2, x20
	mov	w3, #65535
	bl	_smalltext_out16
	cmp	w22, #2
	b.lt	LBB0_64
; %bb.59:
	add	w19, w22, #1
LBB0_60:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	w1, #10
	bl	_strchr
	add	x20, x0, #1
	sub	w8, w19, #2
	ldr	w9, [x25]
	ldr	w10, [x21]
	msub	w8, w10, w8, w9
	sub	w1, w8, #4
	mov	w0, #5
	mov	x2, x20
	mov	w3, #65535
	bl	_smalltext_out16
	sub	w19, w19, #1
	cmp	w19, #2
	b.gt	LBB0_60
	b	LBB0_64
LBB0_61:
	sub	w9, w19, w9
	sub	w1, w9, #4
	str	x8, [sp]
	mov	w0, #5
	bl	_text_out16
LBB0_62:
	ldr	x24, [sp, #16]                  ; 8-byte Folded Reload
	bl	_plat_get_ticks_ms
Lloh42:
	adrp	x8, _menu_error_time@GOTPAGE
Lloh43:
	ldr	x8, [x8, _menu_error_time@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	sub	w8, w0, w8
	cmp	w8, #2049
	b.lt	LBB0_64
; %bb.63:
	ldr	x8, [x20]
	str	xzr, [x8]
LBB0_64:
	bl	_menu_separation
	cbz	x24, LBB0_66
; %bb.65:
	blr	x24
LBB0_66:
	bl	_menu_draw_end
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_25-LBB0_25)>>2
	.byte	(LBB0_40-LBB0_25)>>2
	.byte	(LBB0_41-LBB0_25)>>2
	.byte	(LBB0_35-LBB0_25)>>2
	.byte	(LBB0_35-LBB0_25)>>2
	.byte	(LBB0_35-LBB0_25)>>2
                                        ; -- End function
	.comm	_me_mfont_w,4,2                 ; @me_mfont_w
	.comm	_me_mfont_h,4,2                 ; @me_mfont_h
	.comm	_g_menuscreen_w,4,2             ; @g_menuscreen_w
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"width %d > %d\n"

	.comm	_g_menuscreen_h,4,2             ; @g_menuscreen_h
l_.str.1:                               ; @.str.1
	.asciz	"height %d > %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"ON"

l_.str.3:                               ; @.str.3
	.asciz	"OFF"

l_.str.4:                               ; @.str.4
	.asciz	"%i"

l_.str.5:                               ; @.str.5
	.asciz	"%s"

	.comm	_menu_error_msg,8,3             ; @menu_error_msg
l_.str.6:                               ; @.str.6
	.asciz	"menu msg doesn't fit!\n"

	.comm	_menu_error_time,4,2            ; @menu_error_time
	.comm	_me_sfont_h,4,2                 ; @me_sfont_h
	.no_dead_strip	_me_draw
.subsections_via_symbols
