	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_command_prompt                 ## -- Begin function command_prompt
	.p2align	4, 0x90
_command_prompt:                        ## @command_prompt
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_COMMANDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_info_type@GOTPCREL(%rip), %r15
	movl	%eax, (%r15)
	xorl	%eax, %eax
	callq	_paint_info_win
	movq	_command_str@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_get_string
	movq	%rax, %r14
	movq	_commands@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_unique_test
	cmpl	$1, %eax
	jne	LBB0_1
## %bb.5:
	movq	%r14, %rdi
	callq	_command
	movq	_com_win@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_wrefresh
	movq	_text_win@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_scr_vert@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_scr_horz@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_horiz_offset@GOTPCREL(%rip), %rax
	subq	(%rax), %rdx
	callq	_wmove
	jmp	LBB0_6
LBB0_1:
	movl	%eax, %ebx
	movq	_com_win@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_werase
	movl	(%r12), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_wmove
	movl	(%r12), %edi
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.3:
	movq	_non_unique_cmd_msg@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%eax, %eax
	callq	_wprintw
	jmp	LBB0_4
LBB0_2:
	movq	_unkn_cmd_str@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_wprintw
LBB0_4:
	movl	(%r12), %edi
	callq	_wrefresh
LBB0_6:
	movq	_CONTROL_KEYS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	xorl	%eax, %eax
	callq	_paint_info_win
	testq	%r14, %r14
	je	LBB0_7
## %bb.8:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COMMANDS,4,2                   ## @COMMANDS
	.comm	_info_type,4,2                  ## @info_type
	.comm	_command_str,4,2                ## @command_str
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_commands,4,2                   ## @commands
	.comm	_com_win,4,2                    ## @com_win
	.comm	_unkn_cmd_str,4,2               ## @unkn_cmd_str
	.comm	_non_unique_cmd_msg,4,2         ## @non_unique_cmd_msg
	.comm	_CONTROL_KEYS,4,2               ## @CONTROL_KEYS
	.comm	_text_win,4,2                   ## @text_win
	.comm	_scr_vert,4,2                   ## @scr_vert
	.comm	_scr_horz,8,3                   ## @scr_horz
	.comm	_horiz_offset,8,3               ## @horiz_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_command_prompt                 ; -- Begin function command_prompt
	.p2align	2
_command_prompt:                        ; @command_prompt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
Lloh0:
	adrp	x8, _COMMANDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COMMANDS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x21, _info_type@GOTPAGE
Lloh4:
	ldr	x21, [x21, _info_type@GOTPAGEOFF]
	str	w8, [x21]
	bl	_paint_info_win
Lloh5:
	adrp	x8, _command_str@GOTPAGE
Lloh6:
	ldr	x8, [x8, _command_str@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_get_string
	mov	x19, x0
Lloh11:
	adrp	x8, _commands@GOTPAGE
Lloh12:
	ldr	x8, [x8, _commands@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_unique_test
	cmp	w0, #1
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_command
Lloh14:
	adrp	x8, _com_win@GOTPAGE
Lloh15:
	ldr	x8, [x8, _com_win@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_wrefresh
Lloh17:
	adrp	x8, _text_win@GOTPAGE
Lloh18:
	ldr	x8, [x8, _text_win@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x8, _scr_vert@GOTPAGE
Lloh21:
	ldr	x8, [x8, _scr_vert@GOTPAGEOFF]
Lloh22:
	adrp	x9, _scr_horz@GOTPAGE
Lloh23:
	ldr	x9, [x9, _scr_horz@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	ldr	x8, [x9]
Lloh26:
	adrp	x9, _horiz_offset@GOTPAGE
Lloh27:
	ldr	x9, [x9, _horiz_offset@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	sub	x2, x8, x9
	bl	_wmove
	b	LBB0_6
LBB0_2:
	mov	x20, x0
Lloh29:
	adrp	x22, _com_win@GOTPAGE
Lloh30:
	ldr	x22, [x22, _com_win@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_werase
	ldr	w0, [x22]
	mov	w1, #0
	mov	x2, #0
	bl	_wmove
	ldr	w0, [x22]
	cbz	w20, LBB0_4
; %bb.3:
Lloh31:
	adrp	x8, _non_unique_cmd_msg@GOTPAGE
Lloh32:
	ldr	x8, [x8, _non_unique_cmd_msg@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	b	LBB0_5
LBB0_4:
Lloh34:
	adrp	x8, _unkn_cmd_str@GOTPAGE
Lloh35:
	ldr	x8, [x8, _unkn_cmd_str@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	str	x19, [sp]
LBB0_5:
	bl	_wprintw
	ldr	w0, [x22]
	bl	_wrefresh
LBB0_6:
Lloh37:
	adrp	x8, _CONTROL_KEYS@GOTPAGE
Lloh38:
	ldr	x8, [x8, _CONTROL_KEYS@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	str	w8, [x21]
	bl	_paint_info_win
	cbz	x19, LBB0_8
; %bb.7:
	mov	x0, x19
	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
	add	sp, sp, #64
	b	_free
LBB0_8:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh24
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_COMMANDS,4,2                   ; @COMMANDS
	.comm	_info_type,4,2                  ; @info_type
	.comm	_command_str,4,2                ; @command_str
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_commands,4,2                   ; @commands
	.comm	_com_win,4,2                    ; @com_win
	.comm	_unkn_cmd_str,4,2               ; @unkn_cmd_str
	.comm	_non_unique_cmd_msg,4,2         ; @non_unique_cmd_msg
	.comm	_CONTROL_KEYS,4,2               ; @CONTROL_KEYS
	.comm	_text_win,4,2                   ; @text_win
	.comm	_scr_vert,4,2                   ; @scr_vert
	.comm	_scr_horz,8,3                   ; @scr_horz
	.comm	_horiz_offset,8,3               ; @horiz_offset
.subsections_via_symbols
