	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function MsgBox_Thread
LCPI0_0:
	.quad	0x4076800000000000              ## double 360
LCPI0_1:
	.quad	0x4059000000000000              ## double 100
LCPI0_2:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_MsgBox_Thread:                         ## @MsgBox_Thread
	.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
	cmpq	$0, 64(%rdi)
	je	LBB0_14
## %bb.1:
	movq	%rdi, %r15
	movl	$166, %r12d
	movq	_WHITE@GOTPCREL(%rip), %r13
	leaq	L_.str(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_gxSetScreen
	movsd	16(%r15), %xmm0                 ## xmm0 = mem[0],zero
	addsd	LCPI0_2(%rip), %xmm0
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	cmpltsd	%xmm0, %xmm1
	andnpd	%xmm0, %xmm1
	movlpd	%xmm1, 16(%r15)
	movl	$10, %edi
	callq	_usleep
	cmpq	$0, 64(%r15)
	je	LBB0_14
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	56(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_GUI_DrawMenu
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_bg_color@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_gxClearScreen
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%r15), %rdi
	movl	(%rdi), %ecx
	movl	4(%rdi), %r8d
	movl	$166, %esi
	movl	$160, %edx
	movl	$230, %r9d
	callq	_gxDrawTexture
	movq	48(%r15), %rdi
	movl	(%rdi), %ecx
	movl	4(%rdi), %r8d
	movl	$166, %esi
	movl	$160, %edx
	movl	$255, %r9d
	callq	_gxDrawTexture
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%r15), %rax
	movq	48(%r15), %rdx
	movl	(%rax), %ecx
	addl	%r12d, %ecx
	movl	4(%rdx), %eax
	movl	%eax, %edx
	addl	$-20, %edx
	shrl	$31, %edx
	leal	(%rax,%rdx), %r8d
	addl	$-20, %r8d
	sarl	%r8d
	addl	$180, %r8d
	movl	(%r13), %r9d
	movl	$20, %esi
	movl	$166, %edx
	callq	_FONT_writeCenter
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%r15), %rax
	movl	(%rax), %ecx
	addl	%r12d, %ecx
	movl	(%r13), %r9d
	movl	$18, %esi
	movl	$166, %edx
	movl	$248, %r8d
	callq	_FONT_writeCenter
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	40(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%r15), %rax
	movl	(%rax), %ebx
	movl	4(%rax), %edx
	movl	(%rdi), %ecx
	movl	4(%rdi), %r8d
	subl	%ecx, %ebx
	movl	%ebx, %esi
	shrl	$31, %esi
	addl	%ebx, %esi
	sarl	%esi
	addl	$166, %esi
	subl	%r8d, %edx
	addl	$140, %edx
	movsd	16(%r15), %xmm0                 ## xmm0 = mem[0],zero
	mulsd	LCPI0_0(%rip), %xmm0
	divsd	LCPI0_1(%rip), %xmm0
	movl	$255, %r9d
	callq	_gxDrawTextureRotate
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 24(%r15)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%r15), %rax
	movl	(%rax), %ecx
	addl	%r12d, %ecx
	movl	(%r13), %r9d
	movq	%r14, %rdi
	movl	$18, %esi
	movl	$166, %edx
	movl	$270, %r8d                      ## imm = 0x10E
	callq	_FONT_writeCenter
	movq	24(%r15), %rdi
	movl	(%rdi), %ecx
	movl	4(%rdi), %r8d
	movl	$18, %eax
	subl	%r8d, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%eax, %edx
	sarl	%edx
	addl	$252, %edx
	movl	$282, %esi                      ## imm = 0x11A
	movl	$255, %r9d
	callq	_gxDrawTexture
	jmp	LBB0_13
LBB0_14:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bg_color,4,2                   ## @bg_color
	.comm	_WHITE,8,3                      ## @WHITE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Press    to continue."

	.no_dead_strip	_MsgBox_Thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function MsgBox_Thread
_MsgBox_Thread:                         ; @MsgBox_Thread
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -88
	.cfi_offset b9, -96
	ldr	x8, [x0, #64]
	cbz	x8, LBB0_14
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x21, _bg_color@GOTPAGE
Lloh1:
	ldr	x21, [x21, _bg_color@GOTPAGEOFF]
	fmov	d8, #1.00000000
	mov	x22, #4636737291354636288
Lloh2:
	adrp	x23, _WHITE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _WHITE@GOTPAGEOFF]
	movi	d9, #0000000000000000
Lloh4:
	adrp	x20, l_.str@PAGE
Lloh5:
	add	x20, x20, l_.str@PAGEOFF
	mov	w24, #18
	mov	w25, #19
	mov	x26, #140737488355328
	movk	x26, #16502, lsl #48
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_gxSetScreen
	ldr	d0, [x19, #16]
	fadd	d0, d0, d8
	fmov	d1, x22
	fcmp	d0, d1
	fcsel	d0, d9, d0, gt
	str	d0, [x19, #16]
	mov	w0, #10
	bl	_usleep
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_14
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #56]
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_GUI_DrawMenu
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x21]
	bl	_gxClearScreen
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x19, #32]
	ldp	w3, w4, [x0]
	mov	w1, #166
	mov	w2, #160
	mov	w5, #230
	bl	_gxDrawTexture
	ldr	x0, [x19, #48]
	ldp	w3, w4, [x0]
	mov	w1, #166
	mov	w2, #160
	mov	w5, #255
	bl	_gxDrawTexture
	ldr	x0, [x19]
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #32]
	ldr	w8, [x8]
	add	w3, w8, #166
	ldr	x8, [x19, #48]
	ldr	w8, [x8, #4]
	sub	w9, w8, #20
	sub	w8, w8, #19
	cmp	w9, #0
	csel	w8, w8, w9, lt
	asr	w8, w8, #1
	add	w4, w8, #180
	ldr	w5, [x23]
	mov	w1, #20
	mov	w2, #166
	bl	_FONT_writeCenter
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #32]
	ldr	w8, [x8]
	add	w3, w8, #166
	ldr	w5, [x23]
	mov	w1, #18
	mov	w2, #166
	mov	w4, #248
	bl	_FONT_writeCenter
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #32]
	ldp	w9, w8, [x8]
	ldp	w3, w4, [x0]
	sub	w9, w9, w3
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	add	w1, w9, #166
	sub	w8, w8, w4
	add	w2, w8, #140
	ldr	d0, [x19, #16]
	fmov	d1, x26
	fmul	d0, d0, d1
	fmov	d1, x22
	fdiv	d0, d0, d1
	mov	w5, #255
	bl	_gxDrawTextureRotate
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #32]
	ldr	w8, [x8]
	add	w3, w8, #166
	ldr	w5, [x23]
	mov	x0, x20
	mov	w1, #18
	mov	w2, #166
	mov	w4, #270
	bl	_FONT_writeCenter
	ldr	x0, [x19, #24]
	ldp	w3, w4, [x0]
	sub	w8, w24, w4
	sub	w9, w25, w4
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #1
	add	w2, w8, #252
	mov	w1, #282
	mov	w5, #255
	bl	_gxDrawTexture
	b	LBB0_2
LBB0_14:
	mov	x0, #0
	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	d9, d8, [sp], #96               ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_bg_color,4,2                   ; @bg_color
	.comm	_WHITE,8,3                      ; @WHITE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Press    to continue."

	.no_dead_strip	_MsgBox_Thread
.subsections_via_symbols
