	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GUI_DrawMenu                   ## -- Begin function GUI_DrawMenu
	.p2align	4, 0x90
_GUI_DrawMenu:                          ## @GUI_DrawMenu
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	cmpq	$0, 72(%rdi)
	je	LBB0_2
## %bb.1:
	movq	_BLACK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_gxClearScreen
	movq	72(%r15), %rdi
	callq	_gxDrawScreenshot
	cmpl	$0, (%r15)
	jg	LBB0_4
	jmp	LBB0_10
LBB0_2:
	movq	_bg_color@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_gxClearScreen
	cmpl	$0, (%r15)
	jle	LBB0_10
LBB0_4:
	movl	$24, %ebx
	xorl	%r14d, %r14d
	movq	_IMAGE_VISIBLE@GOTPCREL(%rip), %r12
	movq	_IMAGE_REPEAT@GOTPCREL(%rip), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	callq	_gxDrawTexture
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r14
	movslq	(%r15), %rax
	addq	$32, %rbx
	cmpq	%rax, %r14
	jge	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	64(%r15), %rax
	movl	-24(%rax,%rbx), %r10d
	testl	%r10d, (%r12)
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rax,%rbx), %rdi
	movl	-20(%rax,%rbx), %esi
	movl	-16(%rax,%rbx), %edx
	movl	-12(%rax,%rbx), %ecx
	movl	-8(%rax,%rbx), %r8d
	movl	-4(%rax,%rbx), %r9d
	testl	%r10d, (%r13)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	callq	_gxDrawTextureRepeat
	jmp	LBB0_9
LBB0_10:
	movl	56(%r15), %edi
	movq	_WHITE@GOTPCREL(%rip), %r14
	movl	(%r14), %r9d
	movl	$22, %esi
	movl	$10, %edx
	movl	$56, %ecx
	movl	$640, %r8d                      ## imm = 0x280
	callq	_FONT_write
	movl	4(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_35
## %bb.11:
	movl	$24, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_12
LBB0_22:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	(%r13), %esi
	movl	4(%r13), %edx
	addl	$-4, %esi
	addl	$-4, %edx
	movl	8(%r13), %ecx
	addl	$8, %ecx
	movl	12(%r13), %r8d
	addl	$8, %r8d
	movl	$255, %r9d
	callq	_gxDrawTexture
	movl	(%r13), %ecx
	movl	40(%r13), %edi
	movl	-20(%r14,%rbx), %edx
	movl	-16(%r14,%rbx), %r8d
	addl	$4, %edx
	addl	$-4, %ecx
	movl	-8(%r14,%rbx), %eax
	movl	%eax, %esi
	addl	$-36, %esi
	shrl	$31, %esi
	addl	%esi, %eax
	addl	$-36, %eax
LBB0_24:                                ##   in Loop: Header=BB0_12 Depth=1
	sarl	%eax
	addl	%eax, %r8d
	addl	$18, %r8d
	movq	_DARK_GREY@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	$18, %esi
LBB0_32:                                ##   in Loop: Header=BB0_12 Depth=1
	callq	_FONT_writeCenter
LBB0_33:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%r12
	movslq	4(%r15), %rax
	addq	$32, %rbx
	cmpq	%rax, %r12
	jge	LBB0_34
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	48(%r15), %r14
	movl	-24(%r14,%rbx), %eax
	movq	_BUTTON_VISIBLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_33
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	40(%r15), %r13
	testq	%r13, %r13
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	8(%r15), %ecx
	addl	%r12d, %ecx
	movslq	%ecx, %rcx
	leaq	(%rcx,%rcx,2), %rcx
	shlq	$4, %rcx
	addq	%rcx, %r13
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	xorl	%r13d, %r13d
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	12(%r15), %ecx
	cmpq	%rcx, %r12
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	_BUTTON_SELECTED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_25
LBB0_18:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r14,%rbx), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%rax), %rax
	movq	8(%rax), %rdi
	movl	-20(%r14,%rbx), %esi
	movl	-16(%r14,%rbx), %edx
	addl	$-4, %esi
	addl	$-4, %edx
	movl	-12(%r14,%rbx), %ecx
	addl	$8, %ecx
	movl	-8(%r14,%rbx), %r8d
	addl	$8, %r8d
	movl	$255, %r9d
	callq	_gxDrawTexture
LBB0_20:                                ##   in Loop: Header=BB0_12 Depth=1
	testq	%r13, %r13
	je	LBB0_33
## %bb.21:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	24(%r13), %rdi
	testq	%rdi, %rdi
	jne	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	40(%r13), %edi
	movl	(%r13), %eax
	movl	8(%r13), %ecx
	addl	%eax, %ecx
	addl	$4, %ecx
	movl	%eax, %edx
	addl	$-4, %edx
	movl	-16(%r14,%rbx), %r8d
	movl	-8(%r14,%rbx), %eax
	movl	%eax, %esi
	addl	$-18, %esi
	shrl	$31, %esi
	addl	%esi, %eax
	addl	$-18, %eax
	jmp	LBB0_24
LBB0_25:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r14,%rbx), %rax
	testq	%rax, %rax
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%rax), %rax
	movq	(%rax), %rdi
	movl	-20(%r14,%rbx), %esi
	movl	-16(%r14,%rbx), %edx
	movl	-12(%r14,%rbx), %ecx
	movl	-8(%r14,%rbx), %r8d
	movl	$255, %r9d
	callq	_gxDrawTexture
LBB0_27:                                ##   in Loop: Header=BB0_12 Depth=1
	testq	%r13, %r13
	je	LBB0_33
## %bb.28:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	24(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	(%r13), %esi
	movl	4(%r13), %edx
	movl	8(%r13), %ecx
	movl	12(%r13), %r8d
	movl	$255, %r9d
	callq	_gxDrawTexture
	movl	(%r13), %ecx
	movl	40(%r13), %edi
	movl	-20(%r14,%rbx), %edx
	movl	-16(%r14,%rbx), %r8d
	addl	$8, %edx
	movl	-8(%r14,%rbx), %eax
	movl	%eax, %esi
	addl	$-32, %esi
	shrl	$31, %esi
	addl	%esi, %eax
	addl	$-32, %eax
	jmp	LBB0_31
LBB0_30:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	(%r13), %edx
	movl	40(%r13), %edi
	movl	8(%r13), %ecx
	addl	%edx, %ecx
	movl	-16(%r14,%rbx), %r8d
	movl	-8(%r14,%rbx), %eax
	movl	%eax, %esi
	addl	$-16, %esi
	shrl	$31, %esi
	addl	%esi, %eax
	addl	$-16, %eax
LBB0_31:                                ##   in Loop: Header=BB0_12 Depth=1
	sarl	%eax
	addl	%eax, %r8d
	addl	$16, %r8d
	movq	_DARK_GREY@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	$16, %esi
	jmp	LBB0_32
LBB0_34:
	movq	_WHITE@GOTPCREL(%rip), %r14
LBB0_35:
	movq	32(%r15), %rcx
	movq	(%rcx), %rbx
	testq	%rbx, %rbx
	je	LBB0_41
## %bb.36:
	movq	_BUTTON_VISIBLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rbx)
	je	LBB0_41
## %bb.37:
	movq	24(%rbx), %rcx
	movq	(%rcx), %rcx
	cmpl	%eax, 12(%r15)
	jne	LBB0_39
## %bb.38:
	movq	8(%rcx), %rdi
	movl	4(%rbx), %esi
	movl	8(%rbx), %edx
	addl	$-2, %esi
	addl	$-2, %edx
	movl	12(%rbx), %ecx
	addl	$4, %ecx
	movl	16(%rbx), %r8d
	addl	$4, %r8d
	jmp	LBB0_40
LBB0_39:
	movq	(%rcx), %rdi
	movl	4(%rbx), %esi
	movl	8(%rbx), %edx
	movl	12(%rbx), %ecx
	movl	16(%rbx), %r8d
LBB0_40:
	movl	$255, %r9d
	callq	_gxDrawTexture
LBB0_41:
	movq	32(%r15), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_47
## %bb.42:
	movq	_BUTTON_VISIBLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_47
## %bb.43:
	movl	4(%r15), %edx
	incl	%edx
	movq	24(%rax), %rcx
	movq	(%rcx), %rcx
	cmpl	%edx, 12(%r15)
	jne	LBB0_44
## %bb.45:
	movq	8(%rcx), %rdi
	movl	4(%rax), %esi
	movl	8(%rax), %edx
	addl	$-2, %esi
	addl	$-2, %edx
	movl	12(%rax), %ecx
	addl	$4, %ecx
	movl	16(%rax), %r8d
	addl	$4, %r8d
	jmp	LBB0_46
LBB0_44:
	movq	(%rcx), %rdi
	movl	4(%rax), %esi
	movl	8(%rax), %edx
	movl	12(%rax), %ecx
	movl	16(%rax), %r8d
LBB0_46:
	movl	$255, %r9d
	callq	_gxDrawTexture
LBB0_47:
	movq	24(%r15), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_51
## %bb.48:
	cmpq	$0, 32(%rbx)
	je	LBB0_51
## %bb.49:
	movl	16(%rbx), %edi
	callq	_strlen
	testq	%rax, %rax
	je	LBB0_51
## %bb.50:
	movq	24(%rbx), %rdi
	movl	(%rbx), %esi
	movl	4(%rbx), %edx
	movl	8(%rbx), %ecx
	movl	12(%rbx), %r8d
	movl	$255, %r9d
	callq	_gxDrawTexture
	movl	16(%rbx), %edi
	movl	8(%rbx), %eax
	movl	(%rbx), %ecx
	movl	4(%rbx), %esi
	leal	(%rcx,%rax), %edx
	addl	$6, %edx
	movl	12(%rbx), %eax
	movl	%eax, %ecx
	addl	$-16, %ecx
	shrl	$31, %ecx
	addl	%ecx, %eax
	addl	$-16, %eax
	sarl	%eax
	leal	(%rsi,%rax), %ecx
	addl	$16, %ecx
	movl	(%r14), %r9d
	movl	$16, %esi
	movl	$640, %r8d                      ## imm = 0x280
	callq	_FONT_write
LBB0_51:
	movq	24(%r15), %rax
	movq	8(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_55
## %bb.52:
	cmpq	$0, 32(%rbx)
	je	LBB0_55
## %bb.53:
	movl	16(%rbx), %edi
	callq	_strlen
	testq	%rax, %rax
	je	LBB0_55
## %bb.54:
	movq	24(%rbx), %rdi
	movl	(%rbx), %esi
	movl	4(%rbx), %edx
	movl	8(%rbx), %ecx
	movl	12(%rbx), %r8d
	movl	$255, %r9d
	callq	_gxDrawTexture
	movl	16(%rbx), %edi
	movl	(%rbx), %edx
	movl	4(%rbx), %eax
	addl	$-6, %edx
	movl	12(%rbx), %ecx
	movl	%ecx, %esi
	addl	$-16, %esi
	shrl	$31, %esi
	addl	%esi, %ecx
	addl	$-16, %ecx
	sarl	%ecx
	addl	%eax, %ecx
	addl	$16, %ecx
	movl	(%r14), %r8d
	movl	$16, %esi
	callq	_FONT_alignRight
LBB0_55:
	movq	16(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_56
## %bb.57:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rcx                           ## TAILCALL
LBB0_56:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLACK,8,3                      ## @BLACK
	.comm	_bg_color,4,2                   ## @bg_color
	.comm	_IMAGE_VISIBLE,4,2              ## @IMAGE_VISIBLE
	.comm	_IMAGE_REPEAT,4,2               ## @IMAGE_REPEAT
	.comm	_WHITE,8,3                      ## @WHITE
	.comm	_BUTTON_VISIBLE,4,2             ## @BUTTON_VISIBLE
	.comm	_BUTTON_SELECTED,4,2            ## @BUTTON_SELECTED
	.comm	_DARK_GREY,8,3                  ## @DARK_GREY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GUI_DrawMenu                   ; -- Begin function GUI_DrawMenu
	.p2align	2
_GUI_DrawMenu:                          ; @GUI_DrawMenu
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x0
	ldr	x8, [x0, #72]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _BLACK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BLACK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_gxClearScreen
	ldr	x0, [x19, #72]
	bl	_gxDrawScreenshot
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _bg_color@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bg_color@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_gxClearScreen
LBB0_3:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.4:
	mov	x20, #0
	mov	x21, #0
Lloh6:
	adrp	x22, _IMAGE_VISIBLE@GOTPAGE
Lloh7:
	ldr	x22, [x22, _IMAGE_VISIBLE@GOTPAGEOFF]
Lloh8:
	adrp	x23, _IMAGE_REPEAT@GOTPAGE
Lloh9:
	ldr	x23, [x23, _IMAGE_REPEAT@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	bl	_gxDrawTexture
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x19]
	add	x20, x20, #32
	cmp	x21, x8
	b.ge	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #64]
	ldr	w8, [x9, x20]
	ldr	w10, [x22]
	tst	w10, w8
	b.eq	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w10, [x23]
	add	x9, x9, x20
	ldr	x0, [x9, #24]
	ldp	w1, w2, [x9, #4]
	ldp	w3, w4, [x9, #12]
	ldr	w5, [x9, #20]
	tst	w10, w8
	b.eq	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_gxDrawTextureRepeat
	b	LBB0_6
LBB0_10:
	ldr	w0, [x19, #56]
Lloh10:
	adrp	x20, _WHITE@GOTPAGE
Lloh11:
	ldr	x20, [x20, _WHITE@GOTPAGEOFF]
	ldr	w5, [x20]
	mov	w1, #22
	mov	w2, #10
	mov	w3, #56
	mov	w4, #640
	bl	_FONT_write
	ldr	w8, [x19, #4]
Lloh12:
	adrp	x21, _BUTTON_VISIBLE@GOTPAGE
Lloh13:
	ldr	x21, [x21, _BUTTON_VISIBLE@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_34
; %bb.11:
	mov	x22, #0
	mov	x23, #0
Lloh14:
	adrp	x24, _DARK_GREY@GOTPAGE
Lloh15:
	ldr	x24, [x24, _DARK_GREY@GOTPAGEOFF]
Lloh16:
	adrp	x25, _BUTTON_SELECTED@GOTPAGE
Lloh17:
	ldr	x25, [x25, _BUTTON_SELECTED@GOTPAGEOFF]
	mov	w26, #48
	b	LBB0_16
LBB0_12:                                ;   in Loop: Header=BB0_16 Depth=1
	ldp	w8, w9, [x28]
	sub	w1, w8, #4
	sub	w2, w9, #4
	ldp	w8, w9, [x28, #8]
	add	w3, w8, #8
	add	w4, w9, #8
	mov	w5, #255
	bl	_gxDrawTexture
	ldr	w0, [x28, #40]
	add	x8, x27, x22
	ldp	w9, w10, [x8, #4]
	add	w2, w9, #4
	ldr	w9, [x28]
	sub	w3, w9, #4
	ldr	w8, [x8, #16]
	sub	w9, w8, #36
	sub	w8, w8, #35
	cmp	w9, #0
	csel	w8, w8, w9, lt
	add	w8, w10, w8, asr #1
LBB0_13:                                ;   in Loop: Header=BB0_16 Depth=1
	add	w4, w8, #18
	ldr	w5, [x24]
	mov	w1, #18
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	bl	_FONT_writeCenter
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x19, #4]
	add	x22, x22, #32
	cmp	x23, x8
	b.ge	LBB0_34
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x27, [x19, #48]
	ldr	w8, [x27, x22]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x9, [x19, #40]
	cbz	x9, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w10, [x19, #8]
	add	w10, w23, w10
	smaddl	x28, w10, w26, x9
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x28, #0
LBB0_20:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w9, [x19, #12]
	cmp	x23, x9
	b.eq	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_27
LBB0_22:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x8, x27, x22
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x9, [x9]
	ldr	x0, [x9, #8]
	ldp	w9, w10, [x8, #4]
	sub	w1, w9, #4
	sub	w2, w10, #4
	ldp	w9, w8, [x8, #12]
	add	w3, w9, #8
	add	w4, w8, #8
	mov	w5, #255
	bl	_gxDrawTexture
LBB0_24:                                ;   in Loop: Header=BB0_16 Depth=1
	cbz	x28, LBB0_15
; %bb.25:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x0, [x28, #24]
	cbnz	x0, LBB0_12
; %bb.26:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w0, [x28, #40]
	ldr	w8, [x28]
	sub	w2, w8, #4
	ldr	w9, [x28, #8]
	add	w8, w8, w9
	add	w3, w8, #4
	add	x8, x27, x22
	ldr	w9, [x8, #8]
	ldr	w8, [x8, #16]
	sub	w10, w8, #18
	sub	w8, w8, #17
	cmp	w10, #0
	csel	w8, w8, w10, lt
	add	w8, w9, w8, asr #1
	b	LBB0_13
LBB0_27:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x8, x27, x22
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x9, [x9]
	ldr	x0, [x9]
	ldp	w1, w2, [x8, #4]
	ldp	w3, w4, [x8, #12]
	mov	w5, #255
	bl	_gxDrawTexture
LBB0_29:                                ;   in Loop: Header=BB0_16 Depth=1
	cbz	x28, LBB0_15
; %bb.30:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x0, [x28, #24]
	cbz	x0, LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_16 Depth=1
	ldp	w1, w2, [x28]
	ldp	w3, w4, [x28, #8]
	mov	w5, #255
	bl	_gxDrawTexture
	ldr	w0, [x28, #40]
	add	x8, x27, x22
	ldp	w9, w10, [x8, #4]
	add	w2, w9, #8
	ldr	w3, [x28]
	ldr	w8, [x8, #16]
	sub	w9, w8, #32
	sub	w8, w8, #31
	cmp	w9, #0
	csel	w8, w8, w9, lt
	add	w8, w10, w8, asr #1
	b	LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w0, [x28, #40]
	ldr	w2, [x28]
	ldr	w8, [x28, #8]
	add	w3, w8, w2
	add	x8, x27, x22
	ldr	w9, [x8, #8]
	ldr	w8, [x8, #16]
	sub	w10, w8, #16
	sub	w8, w8, #15
	cmp	w10, #0
	csel	w8, w8, w10, lt
	add	w8, w9, w8, asr #1
LBB0_33:                                ;   in Loop: Header=BB0_16 Depth=1
	add	w4, w8, #16
	ldr	w5, [x24]
	mov	w1, #16
	b	LBB0_14
LBB0_34:
	ldr	x9, [x19, #32]
	ldr	x9, [x9]
	cbz	x9, LBB0_40
; %bb.35:
	ldr	w10, [x9]
	ldr	w11, [x21]
	tst	w11, w10
	b.eq	LBB0_40
; %bb.36:
	ldr	w11, [x19, #12]
	ldr	x10, [x9, #24]
	ldr	x10, [x10]
	cmp	w11, w8
	b.ne	LBB0_38
; %bb.37:
	ldr	x0, [x10, #8]
	ldp	w8, w10, [x9, #4]
	sub	w1, w8, #2
	sub	w2, w10, #2
	ldp	w8, w9, [x9, #12]
	add	w3, w8, #4
	add	w4, w9, #4
	b	LBB0_39
LBB0_38:
	ldr	x0, [x10]
	ldp	w1, w2, [x9, #4]
	ldp	w3, w4, [x9, #12]
LBB0_39:
	mov	w5, #255
	bl	_gxDrawTexture
LBB0_40:
	ldr	x8, [x19, #32]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_46
; %bb.41:
	ldr	w9, [x8]
	ldr	w10, [x21]
	tst	w10, w9
	b.eq	LBB0_46
; %bb.42:
	ldr	w10, [x19, #12]
	ldr	w9, [x19, #4]
	add	w11, w9, #1
	ldr	x9, [x8, #24]
	ldr	x9, [x9]
	cmp	w10, w11
	b.ne	LBB0_44
; %bb.43:
	ldr	x0, [x9, #8]
	ldp	w9, w10, [x8, #4]
	sub	w1, w9, #2
	sub	w2, w10, #2
	ldp	w9, w8, [x8, #12]
	add	w3, w9, #4
	add	w4, w8, #4
	b	LBB0_45
LBB0_44:
	ldr	x0, [x9]
	ldp	w1, w2, [x8, #4]
	ldp	w3, w4, [x8, #12]
LBB0_45:
	mov	w5, #255
	bl	_gxDrawTexture
LBB0_46:
	ldr	x8, [x19, #24]
	ldr	x21, [x8]
	cbz	x21, LBB0_50
; %bb.47:
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_50
; %bb.48:
	ldr	w0, [x21, #16]
	bl	_strlen
	cbz	x0, LBB0_50
; %bb.49:
	ldr	x0, [x21, #24]
	ldp	w1, w2, [x21]
	ldp	w3, w4, [x21, #8]
	mov	w5, #255
	bl	_gxDrawTexture
	ldp	w11, w0, [x21, #12]
	ldp	w8, w9, [x21]
	ldr	w10, [x21, #8]
	add	w8, w8, w10
	add	w2, w8, #6
	sub	w8, w11, #16
	sub	w10, w11, #15
	cmp	w8, #0
	csel	w8, w10, w8, lt
	add	w8, w9, w8, asr #1
	add	w3, w8, #16
	ldr	w5, [x20]
	mov	w1, #16
	mov	w4, #640
	bl	_FONT_write
LBB0_50:
	ldr	x8, [x19, #24]
	ldr	x21, [x8, #8]
	cbz	x21, LBB0_54
; %bb.51:
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_54
; %bb.52:
	ldr	w0, [x21, #16]
	bl	_strlen
	cbz	x0, LBB0_54
; %bb.53:
	ldr	x0, [x21, #24]
	ldp	w1, w2, [x21]
	ldp	w3, w4, [x21, #8]
	mov	w5, #255
	bl	_gxDrawTexture
	ldp	w8, w9, [x21]
	sub	w2, w8, #6
	ldp	w8, w0, [x21, #12]
	sub	w10, w8, #16
	sub	w8, w8, #15
	cmp	w10, #0
	csel	w8, w8, w10, lt
	add	w8, w9, w8, asr #1
	add	w3, w8, #16
	ldr	w4, [x20]
	mov	w1, #16
	bl	_FONT_alignRight
LBB0_54:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_56
; %bb.55:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	br	x0
LBB0_56:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_BLACK,8,3                      ; @BLACK
	.comm	_bg_color,4,2                   ; @bg_color
	.comm	_IMAGE_VISIBLE,4,2              ; @IMAGE_VISIBLE
	.comm	_IMAGE_REPEAT,4,2               ; @IMAGE_REPEAT
	.comm	_WHITE,8,3                      ; @WHITE
	.comm	_BUTTON_VISIBLE,4,2             ; @BUTTON_VISIBLE
	.comm	_BUTTON_SELECTED,4,2            ; @BUTTON_SELECTED
	.comm	_DARK_GREY,8,3                  ; @DARK_GREY
.subsections_via_symbols
