	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_SPLevelMenu_ResetDraw
_UI_SPLevelMenu_ResetDraw:              ## @UI_SPLevelMenu_ResetDraw
	.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	_SCREEN_WIDTH@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movl	%eax, %edi
	shrl	$31, %edi
	addl	%eax, %edi
	sarl	%edi
	movq	_UI_CENTER@GOTPCREL(%rip), %rax
	movq	_UI_SMALLFONT@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	orl	(%rax), %ecx
	movq	_color_yellow@GOTPCREL(%rip), %r13
	movl	(%r13), %r8d
	leaq	L_.str(%rip), %rdx
	movl	$356, %ebx                      ## imm = 0x164
	movl	$356, %esi                      ## imm = 0x164
	callq	_UI_DrawProportionalString
	movl	(%r14), %eax
	movl	%eax, %edi
	shrl	$31, %edi
	addl	%eax, %edi
	sarl	%edi
	movq	_PROP_HEIGHT@GOTPCREL(%rip), %r15
	addl	(%r15), %ebx
	movl	(%r12), %ecx
	movq	_UI_CENTER@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	(%r13), %r8d
	leaq	L_.str.1(%rip), %rdx
	movl	%ebx, %esi
	callq	_UI_DrawProportionalString
	movl	(%r14), %eax
	movl	%eax, %edi
	shrl	$31, %edi
	addl	%eax, %edi
	sarl	%edi
	movl	(%r15), %eax
	leal	(%rax,%rax), %esi
	addl	$356, %esi                      ## imm = 0x164
	movl	(%r12), %ecx
	movq	_UI_CENTER@GOTPCREL(%rip), %rbx
	orl	(%rbx), %ecx
	movl	(%r13), %r8d
	leaq	L_.str.2(%rip), %rdx
	callq	_UI_DrawProportionalString
	movl	(%r14), %eax
	movl	%eax, %edi
	shrl	$31, %edi
	addl	%eax, %edi
	sarl	%edi
	movl	(%r15), %eax
	leal	(%rax,%rax,2), %esi
	addl	$356, %esi                      ## imm = 0x164
	movl	(%r12), %ecx
	orl	(%rbx), %ecx
	movl	(%r13), %r8d
	leaq	L_.str.3(%rip), %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_UI_DrawProportionalString      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SCREEN_WIDTH,4,2               ## @SCREEN_WIDTH
	.comm	_PROP_HEIGHT,4,2                ## @PROP_HEIGHT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WARNING: This resets all of the"

	.comm	_UI_CENTER,4,2                  ## @UI_CENTER
	.comm	_UI_SMALLFONT,4,2               ## @UI_SMALLFONT
	.comm	_color_yellow,4,2               ## @color_yellow
L_.str.1:                               ## @.str.1
	.asciz	"single player game variables."

L_.str.2:                               ## @.str.2
	.asciz	"Do this only if you want to"

L_.str.3:                               ## @.str.3
	.asciz	"start over from the beginning."

	.no_dead_strip	_UI_SPLevelMenu_ResetDraw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_SPLevelMenu_ResetDraw
_UI_SPLevelMenu_ResetDraw:              ; @UI_SPLevelMenu_ResetDraw
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x22, _SCREEN_WIDTH@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SCREEN_WIDTH@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w0, w8, #1
Lloh2:
	adrp	x19, _UI_CENTER@GOTPAGE
Lloh3:
	ldr	x19, [x19, _UI_CENTER@GOTPAGEOFF]
Lloh4:
	adrp	x21, _UI_SMALLFONT@GOTPAGE
Lloh5:
	ldr	x21, [x21, _UI_SMALLFONT@GOTPAGEOFF]
	ldr	w8, [x19]
	ldr	w9, [x21]
	orr	w3, w9, w8
Lloh6:
	adrp	x20, _color_yellow@GOTPAGE
Lloh7:
	ldr	x20, [x20, _color_yellow@GOTPAGEOFF]
	ldr	w4, [x20]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #356
	bl	_UI_DrawProportionalString
	ldr	w8, [x22]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w0, w8, #1
Lloh10:
	adrp	x23, _PROP_HEIGHT@GOTPAGE
Lloh11:
	ldr	x23, [x23, _PROP_HEIGHT@GOTPAGEOFF]
	ldr	w8, [x23]
	add	w1, w8, #356
	ldr	w8, [x19]
	ldr	w9, [x21]
	orr	w3, w9, w8
	ldr	w4, [x20]
Lloh12:
	adrp	x2, l_.str.1@PAGE
Lloh13:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_UI_DrawProportionalString
	ldr	w8, [x22]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w0, w8, #1
	ldr	w8, [x23]
	lsl	w8, w8, #1
	add	w1, w8, #356
	ldr	w8, [x19]
	ldr	w9, [x21]
	orr	w3, w9, w8
	ldr	w4, [x20]
Lloh14:
	adrp	x2, l_.str.2@PAGE
Lloh15:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_UI_DrawProportionalString
	ldr	w8, [x22]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w0, w8, #1
	ldr	w8, [x23]
	add	w8, w8, w8, lsl #1
	add	w1, w8, #356
	ldr	w8, [x19]
	ldr	w9, [x21]
	orr	w3, w9, w8
Lloh16:
	adrp	x2, l_.str.3@PAGE
Lloh17:
	add	x2, x2, l_.str.3@PAGEOFF
	ldr	w4, [x20]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_UI_DrawProportionalString
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SCREEN_WIDTH,4,2               ; @SCREEN_WIDTH
	.comm	_PROP_HEIGHT,4,2                ; @PROP_HEIGHT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WARNING: This resets all of the"

	.comm	_UI_CENTER,4,2                  ; @UI_CENTER
	.comm	_UI_SMALLFONT,4,2               ; @UI_SMALLFONT
	.comm	_color_yellow,4,2               ; @color_yellow
l_.str.1:                               ; @.str.1
	.asciz	"single player game variables."

l_.str.2:                               ; @.str.2
	.asciz	"Do this only if you want to"

l_.str.3:                               ; @.str.3
	.asciz	"start over from the beginning."

	.no_dead_strip	_UI_SPLevelMenu_ResetDraw
.subsections_via_symbols
