	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GUI_TextWindow                 ## -- Begin function GUI_TextWindow
	.p2align	4, 0x90
_GUI_TextWindow:                        ## @GUI_TextWindow
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movl	%ecx, %ebx
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	movq	%rdi, %r14
	movq	_Frame_s1_png@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_gxTextureOpenPNG
	movq	%rax, %r12
	movq	%rax, -144(%rbp)
	movq	_Frame_s1_title_png@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_gxTextureOpenPNG
	movq	%rax, -128(%rbp)
	movl	$640, %ecx                      ## imm = 0x280
	subl	(%r12), %ecx
	movl	%ecx, %r13d
	shrl	$31, %r13d
	addl	%ecx, %r13d
	movl	4(%r12), %ecx
	movl	$480, %edx                      ## imm = 0x1E0
	subl	%ecx, %edx
	movl	%edx, %esi
	shrl	$31, %esi
	addl	%edx, %esi
	sarl	%esi
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movl	4(%rax), %edi
	movl	%r15d, %eax
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	imull	%ebx, %eax
	addl	%edi, %eax
	movl	%ecx, %edx
	subl	%eax, %edx
	movl	%edx, %esi
	shrl	$31, %esi
	addl	%edx, %esi
	movl	%r15d, %eax
	shrl	$31, %eax
	addl	%r15d, %eax
	sarl	%eax
	movq	%rdi, %r8
	leal	(%rdi,%rax), %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rdx
	movq	8(%rdx), %rdx
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	(%rdx), %rdi
	movq	$0, (%rdx)
	movq	-144(%rbp), %rcx
	movq	%rcx, %rbx
	movl	4(%rcx), %ecx
	jmp	LBB0_3
LBB0_1:
	movq	%r12, %rbx
	xorl	%edi, %edi
LBB0_3:
	movl	%r15d, -56(%rbp)                ## 4-byte Spill
	movq	%rdi, -152(%rbp)                ## 8-byte Spill
	sarl	%esi
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	addl	%r12d, -44(%rbp)                ## 4-byte Folded Spill
	sarl	%r13d
	movl	%ecx, %r15d
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	addl	%r12d, %r15d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jle	LBB0_4
## %bb.19:
	movq	-128(%rbp), %rdx
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	leal	20(%r12), %edx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, -132(%rbp)                ## 4-byte Spill
	addl	%esi, %r8d
	addl	%eax, %r8d
	subl	%ecx, %r8d
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_20 Depth=1
	xorl	%eax, %eax
	callq	_gxSetScreen
	movq	-160(%rbp), %rdx                ## 8-byte Reload
	leal	-60(%rdx), %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	addl	$60, %ecx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	cmpl	$60, %edx
	movl	%eax, %r15d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	jle	LBB0_24
LBB0_20:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_22 Depth 2
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_GUI_DrawMenu
	movl	%r12d, %r14d
	subl	%r15d, %r14d
	movl	(%rbx), %ecx
	movl	4(%rbx), %r8d
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%r14d, %edx
	movl	$230, %r9d
	callq	_gxDrawTexture
	movq	%r15, %r12
	movq	%rbx, %r15
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %ecx
	movl	4(%rbx), %r8d
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%r14d, %edx
	movl	$255, %r9d
	callq	_gxDrawTexture
	movl	(%r15), %ecx
	addl	%r13d, %ecx
	movl	4(%rbx), %eax
	movl	%eax, %edx
	addl	$-20, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	addl	$-20, %eax
	sarl	%eax
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movq	%r12, -160(%rbp)                ## 8-byte Spill
	subl	%r12d, %r8d
	addl	%eax, %r8d
	movq	_WHITE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movl	$20, %esi
	movl	%r13d, %edx
	callq	_FONT_writeCenter
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	movl	-56(%rbp), %r15d                ## 4-byte Reload
	jle	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %ebx
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_20 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	addl	%r13d, %ecx
	movq	_WHITE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r13d, %edx
	movl	%ebx, %r8d
	callq	_FONT_writeCenter
	addl	%r15d, %ebx
	addq	$64, %r14
	decq	%r12
	jne	LBB0_22
	jmp	LBB0_23
LBB0_24:
	movl	-132(%rbp), %esi                ## 4-byte Reload
	jmp	LBB0_5
LBB0_4:
	movq	-128(%rbp), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leal	20(%r12), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
LBB0_5:
	addl	%esi, -44(%rbp)                 ## 4-byte Folded Spill
	movq	_WHITE@GOTPCREL(%rip), %r15
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	xorl	%eax, %eax
	callq	_gxSetScreen
	movq	_m_input@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%r15d, %r13d
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	_WHITE@GOTPCREL(%rip), %r15
	jne	LBB0_10
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_GUI_DrawMenu
	movl	(%rbx), %ecx
	movl	4(%rbx), %r8d
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	movl	$230, %r9d
	callq	_gxDrawTexture
	movq	%rbx, %r14
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %ecx
	movl	4(%rbx), %r8d
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	movl	$255, %r9d
	callq	_gxDrawTexture
	movl	(%r14), %ecx
	addl	%r13d, %ecx
	movl	4(%rbx), %eax
	movl	%eax, %edx
	addl	$-20, %edx
	shrl	$31, %edx
	leal	(%rax,%rdx), %r8d
	addl	$-20, %r8d
	sarl	%r8d
	addl	-48(%rbp), %r8d                 ## 4-byte Folded Reload
	movl	(%r15), %r9d
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movl	$20, %esi
	movl	%r13d, %edx
	callq	_FONT_writeCenter
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	movl	%r13d, %r15d
	movl	-56(%rbp), %r13d                ## 4-byte Reload
	jle	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	addl	%r15d, %ecx
	movq	_WHITE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	%r15d, %edx
	movl	%ebx, %r8d
	callq	_FONT_writeCenter
	addl	%r13d, %ebx
	addq	$64, %r14
	decq	%r12
	jne	LBB0_8
	jmp	LBB0_9
LBB0_10:
	movl	4(%rbx), %eax
	addl	%r12d, %eax
	jle	LBB0_16
## %bb.11:
	xorl	%r14d, %r14d
	xorl	%ecx, %ecx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	xorl	%eax, %eax
	callq	_gxSetScreen
	movl	$-60, %r14d
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	subl	%ecx, %r14d
	addl	$60, %ecx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	4(%rbx), %eax
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	addl	%r12d, %eax
	addl	$-60, -44(%rbp)                 ## 4-byte Folded Spill
	cmpl	%eax, %ecx
	movl	%r15d, %r13d
	jge	LBB0_16
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%ecx, %r15d
	callq	_GUI_DrawMenu
                                        ## kill: def $r12d killed $r12d killed $r12
	movl	%r15d, -72(%rbp)                ## 4-byte Spill
	subl	%r15d, %r12d
	movl	(%rbx), %ecx
	movl	4(%rbx), %r8d
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	movl	$230, %r9d
	callq	_gxDrawTexture
	movq	%rbx, %r15
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %ecx
	movl	4(%rbx), %r8d
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	movl	$255, %r9d
	callq	_gxDrawTexture
	movl	(%r15), %ecx
	addl	%r13d, %ecx
	movl	4(%rbx), %eax
	movl	%eax, %edx
	addl	$-20, %edx
	shrl	$31, %edx
	addl	%edx, %eax
	addl	$-20, %eax
	sarl	%eax
	addl	-48(%rbp), %r14d                ## 4-byte Folded Reload
	addl	%eax, %r14d
	movq	_WHITE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movl	$20, %esi
	movl	%r13d, %edx
	movl	%r14d, %r8d
	callq	_FONT_writeCenter
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	movl	%r13d, %r15d
	movl	-56(%rbp), %r13d                ## 4-byte Reload
	jle	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	addl	%r15d, %ecx
	movq	_WHITE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	%r15d, %edx
	movl	%ebx, %r8d
	callq	_FONT_writeCenter
	addl	%r13d, %ebx
	addq	$64, %r14
	decq	%r12
	jne	LBB0_14
	jmp	LBB0_15
LBB0_16:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	movq	%rcx, (%rax)
LBB0_18:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_GUI_DrawMenu
	xorl	%eax, %eax
	callq	_gxSetScreen
	leaq	-144(%rbp), %rdi
	callq	_gxTextureClose
	leaq	-128(%rbp), %rdi
	callq	_gxTextureClose
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Frame_s1_png,4,2               ## @Frame_s1_png
	.comm	_Frame_s1_title_png,4,2         ## @Frame_s1_title_png
	.comm	_WHITE,8,3                      ## @WHITE
	.comm	_m_input,32,3                   ## @m_input
	.comm	_SYS_POWEROFF,4,2               ## @SYS_POWEROFF
	.comm	_Shutdown,8,3                   ## @Shutdown
	.comm	_w_pointer,8,3                  ## @w_pointer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GUI_TextWindow                 ; -- Begin function GUI_TextWindow
	.p2align	2
_GUI_TextWindow:                        ; @GUI_TextWindow
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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, x4
	mov	x21, x3
	str	x2, [sp, #24]                   ; 8-byte Folded Spill
	str	x1, [sp, #40]                   ; 8-byte Folded Spill
	mov	x19, x0
Lloh0:
	adrp	x8, _Frame_s1_png@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Frame_s1_png@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_gxTextureOpenPNG
	mov	x24, x0
	str	x0, [sp, #72]
Lloh3:
	adrp	x8, _Frame_s1_title_png@GOTPAGE
Lloh4:
	ldr	x8, [x8, _Frame_s1_title_png@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_gxTextureOpenPNG
	str	x0, [sp, #64]
	mov	w9, #640
	ldp	w10, w8, [x24]
	sub	w9, w9, w10
	mov	w11, #641
	sub	w10, w11, w10
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w25, w9, #1
	mov	w9, #480
	sub	w9, w9, w8
	mov	w10, #481
	sub	w10, w10, w8
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w26, w9, #1
	ldr	w9, [x0, #4]
	str	w21, [sp, #52]                  ; 4-byte Folded Spill
	madd	w10, w20, w21, w9
	sub	w10, w8, w10
	cmp	w10, #0
	cinc	w10, w10, lt
	asr	w10, w10, #1
	cmp	w20, #0
	cinc	w11, w20, lt
	asr	w11, w11, #1
	add	w12, w9, w11
	add	w12, w12, w26
	str	x19, [sp, #56]                  ; 8-byte Folded Spill
	ldr	x13, [x19]
	ldr	x13, [x13, #8]
	cbz	x13, LBB0_2
; %bb.1:
	ldr	x8, [x13]
	str	x8, [sp]                        ; 8-byte Folded Spill
	str	xzr, [x13]
	ldr	x24, [sp, #72]
	ldr	w8, [x24, #4]
	b	LBB0_3
LBB0_2:
	str	xzr, [sp]                       ; 8-byte Folded Spill
LBB0_3:
	add	w12, w12, w10
	str	w12, [sp, #48]                  ; 4-byte Folded Spill
	add	w21, w8, w26
Lloh6:
	adrp	x19, _WHITE@GOTPAGE
Lloh7:
	ldr	x19, [x19, _WHITE@GOTPAGEOFF]
	cmp	w21, #0
	str	w26, [sp, #20]                  ; 4-byte Folded Spill
	b.le	LBB0_10
; %bb.4:
	ldr	x27, [sp, #64]
	add	w12, w26, #20
	str	w12, [sp, #36]                  ; 4-byte Folded Spill
	ldr	w12, [sp, #52]                  ; 4-byte Folded Reload
	mov	w12, w12
	str	x12, [sp, #8]                   ; 8-byte Folded Spill
	add	w9, w9, w10
	add	w9, w9, w11
	sub	w26, w9, w8
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_gxSetScreen
	add	w26, w26, #60
	subs	w21, w21, #60
	b.le	LBB0_9
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	bl	_GUI_DrawMenu
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	sub	w22, w8, w21
	ldp	w3, w4, [x24]
	mov	x0, x24
	mov	x1, x25
	mov	x2, x22
	mov	w5, #230
	bl	_gxDrawTexture
	ldp	w3, w4, [x27]
	mov	x0, x27
	mov	x1, x25
	mov	x2, x22
	mov	w5, #255
	bl	_gxDrawTexture
	ldr	w8, [x24]
	add	w3, w8, w25
	ldr	w8, [x27, #4]
	sub	w9, w8, #20
	sub	w8, w8, #19
	cmp	w9, #0
	csel	w8, w8, w9, lt
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	sub	w9, w9, w21
	add	w4, w9, w8, asr #1
	ldr	w5, [x19]
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	w1, #20
	mov	x2, x25
	bl	_FONT_writeCenter
	ldr	w8, [sp, #52]                   ; 4-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x23, [sp, #8]                   ; 8-byte Folded Reload
	ldr	x28, [sp, #24]                  ; 8-byte Folded Reload
	mov	x22, x26
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x24]
	add	w3, w8, w25
	ldr	w5, [x19]
	mov	x0, x28
	mov	x1, x20
	mov	x2, x25
	mov	x4, x22
	bl	_FONT_writeCenter
	add	w22, w22, w20
	add	x28, x28, #64
	subs	x23, x23, #1
	b.ne	LBB0_8
	b	LBB0_5
LBB0_9:
	ldr	w26, [sp, #20]                  ; 4-byte Folded Reload
	b	LBB0_11
LBB0_10:
	ldr	x27, [sp, #64]
	add	w8, w26, #20
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
LBB0_11:
	ldr	w8, [sp, #52]                   ; 4-byte Folded Reload
	mov	w8, w8
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
Lloh8:
	adrp	x21, _m_input@GOTPAGE
Lloh9:
	ldr	x21, [x21, _m_input@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	bl	_gxSetScreen
	ldr	x8, [x21]
	cbnz	x8, LBB0_16
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	bl	_GUI_DrawMenu
	ldp	w3, w4, [x24]
	mov	x0, x24
	mov	x1, x25
	mov	x2, x26
	mov	w5, #230
	bl	_gxDrawTexture
	ldp	w3, w4, [x27]
	mov	x0, x27
	mov	x1, x25
	mov	x2, x26
	mov	w5, #255
	bl	_gxDrawTexture
	ldr	w8, [x24]
	add	w3, w8, w25
	ldr	w8, [x27, #4]
	sub	w9, w8, #20
	sub	w8, w8, #19
	cmp	w9, #0
	csel	w8, w8, w9, lt
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	add	w4, w9, w8, asr #1
	ldr	w5, [x19]
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	w1, #20
	mov	x2, x25
	bl	_FONT_writeCenter
	ldr	w8, [sp, #52]                   ; 4-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x23, [sp, #8]                   ; 8-byte Folded Reload
	ldr	x28, [sp, #24]                  ; 8-byte Folded Reload
	ldr	w22, [sp, #48]                  ; 4-byte Folded Reload
LBB0_15:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x24]
	add	w3, w8, w25
	ldr	w5, [x19]
	mov	x0, x28
	mov	x1, x20
	mov	x2, x25
	mov	x4, x22
	bl	_FONT_writeCenter
	add	w22, w22, w20
	add	x28, x28, #64
	subs	x23, x23, #1
	b.ne	LBB0_15
	b	LBB0_12
LBB0_16:
	ldr	w8, [x24, #4]
	add	w8, w8, w26
	cmp	w8, #1
	b.lt	LBB0_22
; %bb.17:
	mov	x22, x26
	mov	w26, #0
	mov	w21, #0
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	bl	_gxSetScreen
	mov	w8, #-60
	sub	w26, w8, w21
	add	w21, w21, #60
	ldr	w8, [x24, #4]
	ldr	w9, [sp, #48]                   ; 4-byte Folded Reload
	sub	w9, w9, #60
	str	w9, [sp, #48]                   ; 4-byte Folded Spill
	ldr	w22, [sp, #20]                  ; 4-byte Folded Reload
	add	w8, w8, w22
	cmp	w21, w8
	b.ge	LBB0_22
LBB0_19:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_21 Depth 2
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	bl	_GUI_DrawMenu
	sub	w22, w22, w21
	ldp	w3, w4, [x24]
	mov	x0, x24
	mov	x1, x25
	mov	x2, x22
	mov	w5, #230
	bl	_gxDrawTexture
	ldp	w3, w4, [x27]
	mov	x0, x27
	mov	x1, x25
	mov	x2, x22
	mov	w5, #255
	bl	_gxDrawTexture
	ldr	w8, [x24]
	add	w3, w8, w25
	ldr	w8, [x27, #4]
	sub	w9, w8, #20
	sub	w8, w8, #19
	cmp	w9, #0
	csel	w8, w8, w9, lt
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	add	w9, w9, w26
	add	w4, w9, w8, asr #1
	ldr	w5, [x19]
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	w1, #20
	mov	x2, x25
	bl	_FONT_writeCenter
	ldr	w8, [sp, #52]                   ; 4-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x23, [sp, #8]                   ; 8-byte Folded Reload
	ldr	x28, [sp, #24]                  ; 8-byte Folded Reload
	ldr	w22, [sp, #48]                  ; 4-byte Folded Reload
LBB0_21:                                ;   Parent Loop BB0_19 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x24]
	add	w3, w8, w25
	ldr	w5, [x19]
	mov	x0, x28
	mov	x1, x20
	mov	x2, x25
	mov	x4, x22
	bl	_FONT_writeCenter
	add	w22, w22, w20
	add	x28, x28, #64
	subs	x23, x23, #1
	b.ne	LBB0_21
	b	LBB0_18
LBB0_22:
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_24
; %bb.23:
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	str	x9, [x8]
LBB0_24:
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	bl	_GUI_DrawMenu
	bl	_gxSetScreen
	add	x0, sp, #72
	bl	_gxTextureClose
	add	x0, sp, #64
	bl	_gxTextureClose
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_Frame_s1_png,4,2               ; @Frame_s1_png
	.comm	_Frame_s1_title_png,4,2         ; @Frame_s1_title_png
	.comm	_WHITE,8,3                      ; @WHITE
	.comm	_m_input,32,3                   ; @m_input
	.comm	_SYS_POWEROFF,4,2               ; @SYS_POWEROFF
	.comm	_Shutdown,8,3                   ; @Shutdown
	.comm	_w_pointer,8,3                  ; @w_pointer
.subsections_via_symbols
