	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function draw_menu_tray
_draw_menu_tray:                        ## @draw_menu_tray
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	movl	$1, %edi
	callq	_menu_draw_begin
	leaq	L_.str(%rip), %rdx
	movl	$70, %edi
	movl	$20, %esi
	callq	_text_out16
	leaq	L_.str.1(%rip), %rdx
	movl	$70, %edi
	movl	$30, %esi
	callq	_text_out16
	leaq	L_.str.2(%rip), %rdx
	movl	$70, %edi
	movl	$90, %esi
	callq	_text_out16
	leaq	L_.str.3(%rip), %rdx
	movl	$70, %edi
	movl	$100, %esi
	callq	_text_out16
	leal	(%rbx,%rbx,4), %eax
	leal	(%rax,%rax), %esi
	addl	$90, %esi
	leaq	L_.str.4(%rip), %rdx
	movl	$54, %edi
	callq	_text_out16
	movq	_menuErrorMsg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	cmpb	$0, (%rdx)
	je	LBB0_2
## %bb.1:
	movl	$5, %edi
	movl	$226, %esi
	callq	_text_out16
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_menu_draw_end                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"The unit is about to"

L_.str.1:                               ## @.str.1
	.asciz	"close the CD tray."

L_.str.2:                               ## @.str.2
	.asciz	"Load new CD image"

L_.str.3:                               ## @.str.3
	.asciz	"Insert nothing"

L_.str.4:                               ## @.str.4
	.asciz	">"

	.comm	_menuErrorMsg,8,3               ## @menuErrorMsg
	.no_dead_strip	_draw_menu_tray
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function draw_menu_tray
_draw_menu_tray:                        ; @draw_menu_tray
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w0, #1
	bl	_menu_draw_begin
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w0, #70
	mov	w1, #20
	bl	_text_out16
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w0, #70
	mov	w1, #30
	bl	_text_out16
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w0, #70
	mov	w1, #90
	bl	_text_out16
Lloh6:
	adrp	x2, l_.str.3@PAGE
Lloh7:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	w0, #70
	mov	w1, #100
	bl	_text_out16
	mov	w8, #10
	mul	w8, w19, w8
	add	w1, w8, #90
Lloh8:
	adrp	x2, l_.str.4@PAGE
Lloh9:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	w0, #54
	bl	_text_out16
Lloh10:
	adrp	x8, _menuErrorMsg@GOTPAGE
Lloh11:
	ldr	x8, [x8, _menuErrorMsg@GOTPAGEOFF]
Lloh12:
	ldr	x2, [x8]
	ldrb	w8, [x2]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w0, #5
	mov	w1, #226
	bl	_text_out16
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_menu_draw_end
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"The unit is about to"

l_.str.1:                               ; @.str.1
	.asciz	"close the CD tray."

l_.str.2:                               ; @.str.2
	.asciz	"Load new CD image"

l_.str.3:                               ; @.str.3
	.asciz	"Insert nothing"

l_.str.4:                               ; @.str.4
	.asciz	">"

	.comm	_menuErrorMsg,8,3               ; @menuErrorMsg
	.no_dead_strip	_draw_menu_tray
.subsections_via_symbols
