	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MiniTuiDrawMenu                ## -- Begin function MiniTuiDrawMenu
	.p2align	4, 0x90
_MiniTuiDrawMenu:                       ## @MiniTuiDrawMenu
	.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
	xorl	%eax, %eax
	callq	_UiDrawBackdrop
	movq	(%r15), %r14
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	movq	_UiVtbl@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	40(%r15), %rbx
	addq	$-2, %rbx
	movq	_UiMenuFgColor@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_UiMenuBgColor@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ATTR
	xorl	%edi, %edi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	*%r12
LBB0_2:
	movq	_UiVtbl@GOTPCREL(%rip), %r12
	movq	(%r12), %r14
	movq	32(%r15), %rbx
	incq	%rbx
	movq	_UiMenuFgColor@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_UiMenuBgColor@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ATTR
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	movq	%rbx, %rsi
	movl	%eax, %ecx
	callq	*%r14
	movq	(%r12), %r14
	movq	_UiMenuBgColor@GOTPCREL(%rip), %r12
	movq	32(%r15), %rbx
	addq	$2, %rbx
	movl	(%r13), %edi
	movl	(%r12), %esi
	callq	_ATTR
	leaq	L_.str.1(%rip), %rdx
	xorl	%edi, %edi
	movq	%rbx, %rsi
	movl	%eax, %ecx
	callq	*%r14
	movq	8(%r15), %r14
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	movq	_UiVtbl@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_UiScreenHeight@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	addq	$-4, %rbx
	movq	_UiMenuFgColor@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	callq	_ATTR
	xorl	%edi, %edi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	*%r13
LBB0_4:
	movq	%r15, %rdi
	callq	_TuiDrawMenuBox
	cmpq	$0, 16(%r15)
	jle	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_TuiDrawMenuItem
	incq	%rbx
	cmpq	16(%r15), %rbx
	jl	LBB0_6
LBB0_7:
	cmpq	$0, 24(%r15)
	je	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	callq	_DisplayBootTimeOptions
LBB0_9:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_VideoCopyOffScreenBufferToVRAM ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_UiVtbl,8,3                     ## @UiVtbl
	.comm	_UiMenuFgColor,4,2              ## @UiMenuFgColor
	.comm	_UiMenuBgColor,4,2              ## @UiMenuBgColor
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Use \030 and \031 to move the highlight to your choice."

L_.str.1:                               ## @.str.1
	.asciz	"Press ENTER to choose."

	.comm	_UiScreenHeight,8,3             ## @UiScreenHeight
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MiniTuiDrawMenu                ; -- Begin function MiniTuiDrawMenu
	.p2align	2
_MiniTuiDrawMenu:                       ; @MiniTuiDrawMenu
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	bl	_UiDrawBackdrop
	ldr	x20, [x19]
Lloh0:
	adrp	x24, _UiVtbl@GOTPAGE
Lloh1:
	ldr	x24, [x24, _UiVtbl@GOTPAGEOFF]
Lloh2:
	adrp	x22, _UiMenuFgColor@GOTPAGE
Lloh3:
	ldr	x22, [x22, _UiMenuFgColor@GOTPAGEOFF]
Lloh4:
	adrp	x23, _UiMenuBgColor@GOTPAGE
Lloh5:
	ldr	x23, [x23, _UiMenuBgColor@GOTPAGEOFF]
	cbz	x20, LBB0_2
; %bb.1:
	ldr	x25, [x24]
	ldr	x8, [x19, #40]
	sub	x21, x8, #2
	ldr	w0, [x22]
	ldr	w1, [x23]
	bl	_ATTR
	mov	x3, x0
	mov	w0, #0
	mov	x1, x21
	mov	x2, x20
	blr	x25
LBB0_2:
	ldr	x21, [x24]
	ldr	x8, [x19, #32]
	add	x20, x8, #1
	ldr	w0, [x22]
	ldr	w1, [x23]
	bl	_ATTR
	mov	x3, x0
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	w0, #0
	mov	x1, x20
	blr	x21
	ldr	x21, [x24]
	ldr	x8, [x19, #32]
	add	x20, x8, #2
	ldr	w0, [x22]
	ldr	w1, [x23]
	bl	_ATTR
	mov	x3, x0
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w0, #0
	mov	x1, x20
	blr	x21
	ldr	x20, [x19, #8]
	cbz	x20, LBB0_4
; %bb.3:
	ldr	x24, [x24]
Lloh10:
	adrp	x8, _UiScreenHeight@GOTPAGE
Lloh11:
	ldr	x8, [x8, _UiScreenHeight@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	sub	x21, x8, #4
	ldr	w0, [x22]
	ldr	w1, [x23]
	bl	_ATTR
	mov	x3, x0
	mov	w0, #0
	mov	x1, x21
	mov	x2, x20
	blr	x24
LBB0_4:
	mov	x0, x19
	bl	_TuiDrawMenuBox
	ldr	x8, [x19, #16]
	cmp	x8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x20, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_TuiDrawMenuItem
	add	x20, x20, #1
	ldr	x8, [x19, #16]
	cmp	x20, x8
	b.lt	LBB0_6
LBB0_7:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_9
; %bb.8:
	bl	_DisplayBootTimeOptions
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_VideoCopyOffScreenBufferToVRAM
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_UiVtbl,8,3                     ; @UiVtbl
	.comm	_UiMenuFgColor,4,2              ; @UiMenuFgColor
	.comm	_UiMenuBgColor,4,2              ; @UiMenuBgColor
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Use \030 and \031 to move the highlight to your choice."

l_.str.1:                               ; @.str.1
	.asciz	"Press ENTER to choose."

	.comm	_UiScreenHeight,8,3             ; @UiScreenHeight
.subsections_via_symbols
