	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Console_Key                    ## -- Begin function Console_Key
	.p2align	4, 0x90
_Console_Key:                           ## @Console_Key
	.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
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpl	$108, %edi
	jne	LBB0_4
## %bb.1:
	movq	_keys@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_K_CTRL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_4
## %bb.2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_62
## %bb.3:
	leaq	L_.str(%rip), %rdi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Cbuf_AddText                   ## TAILCALL
LBB0_4:
	movq	_K_ENTER@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_K_KP_ENTER@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_6
## %bb.20:
	movq	_K_TAB@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_23
## %bb.21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_62
## %bb.22:
	movq	_g_consoleField@GOTPCREL(%rip), %rdi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Field_CompleteCommand          ## TAILCALL
LBB0_6:
	movq	_cls@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_CA_ACTIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.7:
	movq	_g_consoleField@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movb	(%rax), %al
	cmpb	$47, %al
	je	LBB0_10
## %bb.8:
	cmpb	$92, %al
	je	LBB0_10
## %bb.9:
	movq	%rsp, %r13
	movq	_MAX_STRING_CHARS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	(%r12), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_Q_strncpyz
	movq	(%r12), %rdi
	leaq	L_.str.1(%rip), %rdx
	movl	$8, %esi
	movq	%r14, %rcx
	callq	_Com_sprintf
	incl	12(%r12)
	movq	%r13, %rsp
LBB0_10:
	movq	_g_consoleField@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_Com_Printf
	movq	(%rbx), %rdi
	movb	(%rdi), %al
	testb	%al, %al
	je	LBB0_37
## %bb.11:
	cmpb	$92, %al
	je	LBB0_13
## %bb.12:
	cmpb	$47, %al
	jne	LBB0_14
LBB0_13:
	incq	%rdi
	jmp	LBB0_15
LBB0_23:
	movq	_K_MWHEELUP@GOTPCREL(%rip), %r14
	cmpl	%ebx, (%r14)
	jne	LBB0_25
## %bb.24:
	movq	_keys@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_K_SHIFT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	jne	LBB0_29
LBB0_25:
	movq	_K_UPARROW@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_29
## %bb.26:
	movq	_K_KP_UPARROW@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_29
## %bb.27:
	movl	%ebx, %edi
	callq	_tolower
	cmpb	$112, %al
	jne	LBB0_39
## %bb.28:
	movq	_keys@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_K_CTRL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_39
LBB0_29:
	movq	_historyLine@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rax
	movq	_COMMAND_HISTORY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rax, %rax
	je	LBB0_32
## %bb.30:
	movq	_nextHistoryLine@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	subq	%rax, %rsi
	cmpq	%rcx, %rsi
	jae	LBB0_32
## %bb.31:
	decq	%rax
	movq	%rax, (%rdx)
LBB0_32:
	movq	_historyEditLines@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_33
## %bb.34:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_35
LBB0_14:
	leaq	L_.str.4(%rip), %rdi
	callq	_Cbuf_AddText
	movq	(%rbx), %rdi
LBB0_15:
	callq	_Cbuf_AddText
	leaq	L_.str.3(%rip), %rdi
	callq	_Cbuf_AddText
	movq	_historyEditLines@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_nextHistoryLine@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	_COMMAND_HISTORY@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdi
	movq	%rax, %rdx
	orq	%rdi, %rdx
	shrq	$32, %rdx
	je	LBB0_16
## %bb.17:
	xorl	%edx, %edx
	divq	%rdi
	jmp	LBB0_18
LBB0_16:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $edx killed $edx def $rdx
LBB0_18:
	shlq	$4, %rdx
	movups	(%rbx), %xmm0
	movups	%xmm0, (%rsi,%rdx)
	movq	(%rcx), %rax
	incq	%rax
	movq	%rax, (%rcx)
	movq	_historyLine@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	%rbx, %rdi
	callq	_Field_Clear
	movq	_g_console_field_width@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	(%r15), %rax
	movq	_CA_DISCONNECTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_37
## %bb.19:
	xorl	%eax, %eax
	callq	_SCR_UpdateScreen
	jmp	LBB0_37
LBB0_33:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_35:
	shlq	$4, %rdx
	movups	(%rsi,%rdx), %xmm0
LBB0_36:
	movq	_g_consoleField@GOTPCREL(%rip), %rax
	movups	%xmm0, (%rax)
LBB0_37:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_62
## %bb.38:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_39:
	movq	_K_MWHEELDOWN@GOTPCREL(%rip), %r15
	cmpl	%ebx, (%r15)
	jne	LBB0_41
## %bb.40:
	movq	_keys@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_K_SHIFT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	jne	LBB0_45
LBB0_41:
	movq	_K_DOWNARROW@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_45
## %bb.42:
	movq	_K_KP_DOWNARROW@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_45
## %bb.43:
	movl	%ebx, %edi
	callq	_tolower
	cmpb	$110, %al
	jne	LBB0_50
## %bb.44:
	movq	_keys@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_K_CTRL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_50
LBB0_45:
	movq	_historyLine@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	_nextHistoryLine@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_37
## %bb.46:
	incq	%rax
	movq	%rax, (%rcx)
	movq	_historyEditLines@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_COMMAND_HISTORY@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_47
## %bb.48:
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_49
LBB0_50:
	movq	_K_PGUP@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_53
LBB0_51:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_62
## %bb.52:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Con_PageUp                     ## TAILCALL
LBB0_47:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
LBB0_49:
	shlq	$4, %rdx
	movups	(%rcx,%rdx), %xmm0
	jmp	LBB0_36
LBB0_53:
	movq	_K_PGDN@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_56
LBB0_54:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_62
## %bb.55:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Con_PageDown                   ## TAILCALL
LBB0_56:
	cmpl	%ebx, (%r14)
	jne	LBB0_59
## %bb.57:
	xorl	%eax, %eax
	callq	_Con_PageUp
	movq	_keys@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_K_CTRL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_37
## %bb.58:
	xorl	%eax, %eax
	callq	_Con_PageUp
	jmp	LBB0_51
LBB0_59:
	cmpl	%ebx, (%r15)
	jne	LBB0_63
## %bb.60:
	xorl	%eax, %eax
	callq	_Con_PageDown
	movq	_keys@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_K_CTRL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_37
## %bb.61:
	xorl	%eax, %eax
	callq	_Con_PageDown
	jmp	LBB0_54
LBB0_63:
	movq	_K_HOME@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_67
## %bb.64:
	movq	_keys@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_K_CTRL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_67
## %bb.65:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_62
## %bb.66:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Con_Top                        ## TAILCALL
LBB0_67:
	movq	_K_END@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_71
## %bb.68:
	movq	_keys@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_K_CTRL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_71
## %bb.69:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_62
## %bb.70:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Con_Bottom                     ## TAILCALL
LBB0_71:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_62
## %bb.72:
	movq	_g_consoleField@GOTPCREL(%rip), %rdi
	movl	%ebx, %esi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Field_KeyDownEvent             ## TAILCALL
LBB0_62:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_keys,8,3                       ## @keys
	.comm	_K_CTRL,8,3                     ## @K_CTRL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"clear\n"

	.comm	_K_ENTER,4,2                    ## @K_ENTER
	.comm	_K_KP_ENTER,4,2                 ## @K_KP_ENTER
	.comm	_cls,8,3                        ## @cls
	.comm	_CA_ACTIVE,8,3                  ## @CA_ACTIVE
	.comm	_g_consoleField,16,3            ## @g_consoleField
	.comm	_MAX_STRING_CHARS,4,2           ## @MAX_STRING_CHARS
L_.str.1:                               ## @.str.1
	.asciz	"\\%s"

L_.str.2:                               ## @.str.2
	.asciz	"]%s\n"

L_.str.3:                               ## @.str.3
	.asciz	"\n"

L_.str.4:                               ## @.str.4
	.asciz	"cmd say "

	.comm	_historyEditLines,8,3           ## @historyEditLines
	.comm	_nextHistoryLine,8,3            ## @nextHistoryLine
	.comm	_COMMAND_HISTORY,8,3            ## @COMMAND_HISTORY
	.comm	_historyLine,8,3                ## @historyLine
	.comm	_g_console_field_width,4,2      ## @g_console_field_width
	.comm	_CA_DISCONNECTED,8,3            ## @CA_DISCONNECTED
	.comm	_K_TAB,4,2                      ## @K_TAB
	.comm	_K_MWHEELUP,4,2                 ## @K_MWHEELUP
	.comm	_K_SHIFT,8,3                    ## @K_SHIFT
	.comm	_K_UPARROW,4,2                  ## @K_UPARROW
	.comm	_K_KP_UPARROW,4,2               ## @K_KP_UPARROW
	.comm	_K_MWHEELDOWN,4,2               ## @K_MWHEELDOWN
	.comm	_K_DOWNARROW,4,2                ## @K_DOWNARROW
	.comm	_K_KP_DOWNARROW,4,2             ## @K_KP_DOWNARROW
	.comm	_K_PGUP,4,2                     ## @K_PGUP
	.comm	_K_PGDN,4,2                     ## @K_PGDN
	.comm	_K_HOME,4,2                     ## @K_HOME
	.comm	_K_END,4,2                      ## @K_END
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Console_Key                    ; -- Begin function Console_Key
	.p2align	2
_Console_Key:                           ; @Console_Key
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	cmp	w0, #108
	b.ne	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _keys@GOTPAGE
Lloh4:
	ldr	x8, [x8, _keys@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _K_CTRL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _K_CTRL@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_4
; %bb.2:
	ldur	x8, [x29, #-40]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_61
; %bb.3:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_Cbuf_AddText
LBB0_4:
Lloh14:
	adrp	x8, _K_ENTER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _K_ENTER@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _K_KP_ENTER@GOTPAGE
Lloh18:
	ldr	x9, [x9, _K_KP_ENTER@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, ne
	b.ne	LBB0_13
; %bb.5:
Lloh20:
	adrp	x20, _cls@GOTPAGE
Lloh21:
	ldr	x20, [x20, _cls@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh22:
	adrp	x9, _CA_ACTIVE@GOTPAGE
Lloh23:
	ldr	x9, [x9, _CA_ACTIVE@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_9
; %bb.6:
Lloh25:
	adrp	x21, _g_consoleField@GOTPAGE
Lloh26:
	ldr	x21, [x21, _g_consoleField@GOTPAGEOFF]
	ldr	x8, [x21]
	ldrb	w8, [x8]
	cmp	w8, #47
	b.eq	LBB0_9
; %bb.7:
	cmp	w8, #92
	b.eq	LBB0_9
; %bb.8:
	mov	x22, sp
Lloh27:
	adrp	x8, _MAX_STRING_CHARS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MAX_STRING_CHARS@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x9, x2
Lloh30:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh31:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x2, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
	ldr	x1, [x21]
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_Q_strncpyz
	ldr	x0, [x21]
Lloh32:
	adrp	x2, l_.str.1@PAGE
Lloh33:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #8
	mov	x3, x19
	bl	_Com_sprintf
	ldr	w8, [x21, #12]
	add	w8, w8, #1
	str	w8, [x21, #12]
	mov	sp, x22
LBB0_9:
Lloh34:
	adrp	x19, _g_consoleField@GOTPAGE
Lloh35:
	ldr	x19, [x19, _g_consoleField@GOTPAGEOFF]
	ldr	x1, [x19]
Lloh36:
	adrp	x0, l_.str.2@PAGE
Lloh37:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_Com_Printf
	ldr	x8, [x19]
	ldrb	w9, [x8]
	cbz	w9, LBB0_29
; %bb.10:
	cmp	w9, #92
	b.eq	LBB0_12
; %bb.11:
	cmp	w9, #47
	b.ne	LBB0_18
LBB0_12:
	add	x0, x8, #1
	b	LBB0_19
LBB0_13:
Lloh38:
	adrp	x8, _K_TAB@GOTPAGE
Lloh39:
	ldr	x8, [x8, _K_TAB@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_16
; %bb.14:
	ldur	x8, [x29, #-40]
Lloh41:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh42:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_61
; %bb.15:
Lloh44:
	adrp	x0, _g_consoleField@GOTPAGE
Lloh45:
	ldr	x0, [x0, _g_consoleField@GOTPAGEOFF]
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_Field_CompleteCommand
LBB0_16:
Lloh46:
	adrp	x20, _K_MWHEELUP@GOTPAGE
Lloh47:
	ldr	x20, [x20, _K_MWHEELUP@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, w19
	b.ne	LBB0_21
; %bb.17:
Lloh48:
	adrp	x8, _keys@GOTPAGE
Lloh49:
	ldr	x8, [x8, _keys@GOTPAGEOFF]
Lloh50:
	ldr	x8, [x8]
Lloh51:
	adrp	x9, _K_SHIFT@GOTPAGE
Lloh52:
	ldr	x9, [x9, _K_SHIFT@GOTPAGEOFF]
Lloh53:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
Lloh54:
	adrp	x9, _K_UPARROW@GOTPAGE
Lloh55:
	ldr	x9, [x9, _K_UPARROW@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	cmp	x8, #0
	ccmp	w9, w19, #4, eq
	b.ne	LBB0_22
	b	LBB0_25
LBB0_18:
Lloh57:
	adrp	x0, l_.str.4@PAGE
Lloh58:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_Cbuf_AddText
	ldr	x0, [x19]
LBB0_19:
	bl	_Cbuf_AddText
Lloh59:
	adrp	x0, l_.str.3@PAGE
Lloh60:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_Cbuf_AddText
Lloh61:
	adrp	x8, _historyEditLines@GOTPAGE
Lloh62:
	ldr	x8, [x8, _historyEditLines@GOTPAGEOFF]
Lloh63:
	ldr	x8, [x8]
Lloh64:
	adrp	x9, _nextHistoryLine@GOTPAGE
Lloh65:
	ldr	x9, [x9, _nextHistoryLine@GOTPAGEOFF]
	ldr	x10, [x9]
Lloh66:
	adrp	x11, _COMMAND_HISTORY@GOTPAGE
Lloh67:
	ldr	x11, [x11, _COMMAND_HISTORY@GOTPAGEOFF]
Lloh68:
	ldr	x11, [x11]
	udiv	x12, x10, x11
	msub	x10, x12, x11, x10
	ldr	q0, [x19]
	str	q0, [x8, x10, lsl #4]
	ldr	x8, [x9]
	add	x8, x8, #1
	str	x8, [x9]
Lloh69:
	adrp	x9, _historyLine@GOTPAGE
Lloh70:
	ldr	x9, [x9, _historyLine@GOTPAGEOFF]
Lloh71:
	str	x8, [x9]
	mov	x0, x19
	bl	_Field_Clear
Lloh72:
	adrp	x8, _g_console_field_width@GOTPAGE
Lloh73:
	ldr	x8, [x8, _g_console_field_width@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldr	x8, [x20]
Lloh75:
	adrp	x9, _CA_DISCONNECTED@GOTPAGE
Lloh76:
	ldr	x9, [x9, _CA_DISCONNECTED@GOTPAGEOFF]
Lloh77:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_29
; %bb.20:
	bl	_SCR_UpdateScreen
	b	LBB0_29
LBB0_21:
Lloh78:
	adrp	x8, _K_UPARROW@GOTPAGE
Lloh79:
	ldr	x8, [x8, _K_UPARROW@GOTPAGEOFF]
Lloh80:
	ldr	w8, [x8]
	cmp	w8, w19
	b.eq	LBB0_25
LBB0_22:
Lloh81:
	adrp	x8, _K_KP_UPARROW@GOTPAGE
Lloh82:
	ldr	x8, [x8, _K_KP_UPARROW@GOTPAGEOFF]
Lloh83:
	ldr	w8, [x8]
	cmp	w8, w19
	b.eq	LBB0_25
; %bb.23:
	mov	x0, x19
	bl	_tolower
	cmp	w0, #112
	b.ne	LBB0_31
; %bb.24:
Lloh84:
	adrp	x8, _keys@GOTPAGE
Lloh85:
	ldr	x8, [x8, _keys@GOTPAGEOFF]
Lloh86:
	ldr	x8, [x8]
Lloh87:
	adrp	x9, _K_CTRL@GOTPAGE
Lloh88:
	ldr	x9, [x9, _K_CTRL@GOTPAGEOFF]
Lloh89:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_31
LBB0_25:
Lloh90:
	adrp	x8, _nextHistoryLine@GOTPAGE
Lloh91:
	ldr	x8, [x8, _nextHistoryLine@GOTPAGEOFF]
Lloh92:
	ldr	x9, [x8]
Lloh93:
	adrp	x10, _historyLine@GOTPAGE
Lloh94:
	ldr	x10, [x10, _historyLine@GOTPAGEOFF]
	ldr	x8, [x10]
	sub	x11, x9, x8
Lloh95:
	adrp	x9, _COMMAND_HISTORY@GOTPAGE
Lloh96:
	ldr	x9, [x9, _COMMAND_HISTORY@GOTPAGEOFF]
Lloh97:
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x11, x9, #2, ne
	b.hs	LBB0_27
; %bb.26:
	sub	x8, x8, #1
	str	x8, [x10]
LBB0_27:
Lloh98:
	adrp	x10, _historyEditLines@GOTPAGE
Lloh99:
	ldr	x10, [x10, _historyEditLines@GOTPAGEOFF]
Lloh100:
	ldr	x10, [x10]
	udiv	x11, x8, x9
	msub	x8, x11, x9, x8
	ldr	q0, [x10, x8, lsl #4]
LBB0_28:
Lloh101:
	adrp	x8, _g_consoleField@GOTPAGE
Lloh102:
	ldr	x8, [x8, _g_consoleField@GOTPAGEOFF]
Lloh103:
	str	q0, [x8]
LBB0_29:
	ldur	x8, [x29, #-40]
Lloh104:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh105:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh106:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_61
; %bb.30:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_31:
Lloh107:
	adrp	x21, _K_MWHEELDOWN@GOTPAGE
Lloh108:
	ldr	x21, [x21, _K_MWHEELDOWN@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, w19
	b.ne	LBB0_33
; %bb.32:
Lloh109:
	adrp	x8, _keys@GOTPAGE
Lloh110:
	ldr	x8, [x8, _keys@GOTPAGEOFF]
Lloh111:
	ldr	x8, [x8]
Lloh112:
	adrp	x9, _K_SHIFT@GOTPAGE
Lloh113:
	ldr	x9, [x9, _K_SHIFT@GOTPAGEOFF]
Lloh114:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
Lloh115:
	adrp	x9, _K_DOWNARROW@GOTPAGE
Lloh116:
	ldr	x9, [x9, _K_DOWNARROW@GOTPAGEOFF]
Lloh117:
	ldr	w9, [x9]
	cmp	x8, #0
	ccmp	w9, w19, #4, eq
	b.ne	LBB0_34
	b	LBB0_37
LBB0_33:
Lloh118:
	adrp	x8, _K_DOWNARROW@GOTPAGE
Lloh119:
	ldr	x8, [x8, _K_DOWNARROW@GOTPAGEOFF]
Lloh120:
	ldr	w8, [x8]
	cmp	w8, w19
	b.eq	LBB0_37
LBB0_34:
Lloh121:
	adrp	x8, _K_KP_DOWNARROW@GOTPAGE
Lloh122:
	ldr	x8, [x8, _K_KP_DOWNARROW@GOTPAGEOFF]
Lloh123:
	ldr	w8, [x8]
	cmp	w8, w19
	b.eq	LBB0_37
; %bb.35:
	mov	x0, x19
	bl	_tolower
	cmp	w0, #110
	b.ne	LBB0_39
; %bb.36:
Lloh124:
	adrp	x8, _keys@GOTPAGE
Lloh125:
	ldr	x8, [x8, _keys@GOTPAGEOFF]
Lloh126:
	ldr	x8, [x8]
Lloh127:
	adrp	x9, _K_CTRL@GOTPAGE
Lloh128:
	ldr	x9, [x9, _K_CTRL@GOTPAGEOFF]
Lloh129:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_39
LBB0_37:
Lloh130:
	adrp	x8, _historyLine@GOTPAGE
Lloh131:
	ldr	x8, [x8, _historyLine@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh132:
	adrp	x10, _nextHistoryLine@GOTPAGE
Lloh133:
	ldr	x10, [x10, _nextHistoryLine@GOTPAGEOFF]
Lloh134:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_29
; %bb.38:
	add	x9, x9, #1
	str	x9, [x8]
Lloh135:
	adrp	x8, _historyEditLines@GOTPAGE
Lloh136:
	ldr	x8, [x8, _historyEditLines@GOTPAGEOFF]
Lloh137:
	adrp	x10, _COMMAND_HISTORY@GOTPAGE
Lloh138:
	ldr	x10, [x10, _COMMAND_HISTORY@GOTPAGEOFF]
Lloh139:
	ldr	x8, [x8]
Lloh140:
	ldr	x10, [x10]
	udiv	x11, x9, x10
	msub	x9, x11, x10, x9
	ldr	q0, [x8, x9, lsl #4]
	b	LBB0_28
LBB0_39:
Lloh141:
	adrp	x8, _K_PGUP@GOTPAGE
Lloh142:
	ldr	x8, [x8, _K_PGUP@GOTPAGEOFF]
Lloh143:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_42
LBB0_40:
	ldur	x8, [x29, #-40]
Lloh144:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh145:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh146:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_61
; %bb.41:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_Con_PageUp
LBB0_42:
Lloh147:
	adrp	x8, _K_PGDN@GOTPAGE
Lloh148:
	ldr	x8, [x8, _K_PGDN@GOTPAGEOFF]
Lloh149:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_45
LBB0_43:
	ldur	x8, [x29, #-40]
Lloh150:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh151:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh152:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_61
; %bb.44:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_Con_PageDown
LBB0_45:
	ldr	w8, [x20]
	cmp	w8, w19
	b.ne	LBB0_48
; %bb.46:
	bl	_Con_PageUp
Lloh153:
	adrp	x8, _keys@GOTPAGE
Lloh154:
	ldr	x8, [x8, _keys@GOTPAGEOFF]
Lloh155:
	ldr	x8, [x8]
Lloh156:
	adrp	x9, _K_CTRL@GOTPAGE
Lloh157:
	ldr	x9, [x9, _K_CTRL@GOTPAGEOFF]
Lloh158:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_29
; %bb.47:
	bl	_Con_PageUp
	b	LBB0_40
LBB0_48:
	ldr	w8, [x21]
	cmp	w8, w19
	b.ne	LBB0_51
; %bb.49:
	bl	_Con_PageDown
Lloh159:
	adrp	x8, _keys@GOTPAGE
Lloh160:
	ldr	x8, [x8, _keys@GOTPAGEOFF]
Lloh161:
	ldr	x8, [x8]
Lloh162:
	adrp	x9, _K_CTRL@GOTPAGE
Lloh163:
	ldr	x9, [x9, _K_CTRL@GOTPAGEOFF]
Lloh164:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_29
; %bb.50:
	bl	_Con_PageDown
	b	LBB0_43
LBB0_51:
Lloh165:
	adrp	x8, _K_HOME@GOTPAGE
Lloh166:
	ldr	x8, [x8, _K_HOME@GOTPAGEOFF]
Lloh167:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_55
; %bb.52:
Lloh168:
	adrp	x8, _keys@GOTPAGE
Lloh169:
	ldr	x8, [x8, _keys@GOTPAGEOFF]
Lloh170:
	ldr	x8, [x8]
Lloh171:
	adrp	x9, _K_CTRL@GOTPAGE
Lloh172:
	ldr	x9, [x9, _K_CTRL@GOTPAGEOFF]
Lloh173:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_55
; %bb.53:
	ldur	x8, [x29, #-40]
Lloh174:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh175:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh176:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_61
; %bb.54:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_Con_Top
LBB0_55:
Lloh177:
	adrp	x8, _K_END@GOTPAGE
Lloh178:
	ldr	x8, [x8, _K_END@GOTPAGEOFF]
Lloh179:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_59
; %bb.56:
Lloh180:
	adrp	x8, _keys@GOTPAGE
Lloh181:
	ldr	x8, [x8, _keys@GOTPAGEOFF]
Lloh182:
	ldr	x8, [x8]
Lloh183:
	adrp	x9, _K_CTRL@GOTPAGE
Lloh184:
	ldr	x9, [x9, _K_CTRL@GOTPAGEOFF]
Lloh185:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_59
; %bb.57:
	ldur	x8, [x29, #-40]
Lloh186:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh187:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh188:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_61
; %bb.58:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_Con_Bottom
LBB0_59:
	ldur	x8, [x29, #-40]
Lloh189:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh190:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh191:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_61
; %bb.60:
Lloh192:
	adrp	x0, _g_consoleField@GOTPAGE
Lloh193:
	ldr	x0, [x0, _g_consoleField@GOTPAGEOFF]
	mov	x1, x19
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_Field_KeyDownEvent
LBB0_61:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotStr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotStr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGot	Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh118, Lloh119, Lloh120
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.loh AdrpLdrGotLdr	Lloh127, Lloh128, Lloh129
	.loh AdrpLdrGotLdr	Lloh124, Lloh125, Lloh126
	.loh AdrpLdrGotLdr	Lloh132, Lloh133, Lloh134
	.loh AdrpLdrGot	Lloh130, Lloh131
	.loh AdrpLdrGotLdr	Lloh137, Lloh138, Lloh140
	.loh AdrpLdrGotLdr	Lloh135, Lloh136, Lloh139
	.loh AdrpLdrGotLdr	Lloh141, Lloh142, Lloh143
	.loh AdrpLdrGotLdr	Lloh144, Lloh145, Lloh146
	.loh AdrpLdrGotLdr	Lloh147, Lloh148, Lloh149
	.loh AdrpLdrGotLdr	Lloh150, Lloh151, Lloh152
	.loh AdrpLdrGotLdr	Lloh156, Lloh157, Lloh158
	.loh AdrpLdrGotLdr	Lloh153, Lloh154, Lloh155
	.loh AdrpLdrGotLdr	Lloh162, Lloh163, Lloh164
	.loh AdrpLdrGotLdr	Lloh159, Lloh160, Lloh161
	.loh AdrpLdrGotLdr	Lloh165, Lloh166, Lloh167
	.loh AdrpLdrGotLdr	Lloh171, Lloh172, Lloh173
	.loh AdrpLdrGotLdr	Lloh168, Lloh169, Lloh170
	.loh AdrpLdrGotLdr	Lloh174, Lloh175, Lloh176
	.loh AdrpLdrGotLdr	Lloh177, Lloh178, Lloh179
	.loh AdrpLdrGotLdr	Lloh183, Lloh184, Lloh185
	.loh AdrpLdrGotLdr	Lloh180, Lloh181, Lloh182
	.loh AdrpLdrGotLdr	Lloh186, Lloh187, Lloh188
	.loh AdrpLdrGotLdr	Lloh189, Lloh190, Lloh191
	.loh AdrpLdrGot	Lloh192, Lloh193
	.cfi_endproc
                                        ; -- End function
	.comm	_keys,8,3                       ; @keys
	.comm	_K_CTRL,8,3                     ; @K_CTRL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"clear\n"

	.comm	_K_ENTER,4,2                    ; @K_ENTER
	.comm	_K_KP_ENTER,4,2                 ; @K_KP_ENTER
	.comm	_cls,8,3                        ; @cls
	.comm	_CA_ACTIVE,8,3                  ; @CA_ACTIVE
	.comm	_g_consoleField,16,3            ; @g_consoleField
	.comm	_MAX_STRING_CHARS,4,2           ; @MAX_STRING_CHARS
l_.str.1:                               ; @.str.1
	.asciz	"\\%s"

l_.str.2:                               ; @.str.2
	.asciz	"]%s\n"

l_.str.3:                               ; @.str.3
	.asciz	"\n"

l_.str.4:                               ; @.str.4
	.asciz	"cmd say "

	.comm	_historyEditLines,8,3           ; @historyEditLines
	.comm	_nextHistoryLine,8,3            ; @nextHistoryLine
	.comm	_COMMAND_HISTORY,8,3            ; @COMMAND_HISTORY
	.comm	_historyLine,8,3                ; @historyLine
	.comm	_g_console_field_width,4,2      ; @g_console_field_width
	.comm	_CA_DISCONNECTED,8,3            ; @CA_DISCONNECTED
	.comm	_K_TAB,4,2                      ; @K_TAB
	.comm	_K_MWHEELUP,4,2                 ; @K_MWHEELUP
	.comm	_K_SHIFT,8,3                    ; @K_SHIFT
	.comm	_K_UPARROW,4,2                  ; @K_UPARROW
	.comm	_K_KP_UPARROW,4,2               ; @K_KP_UPARROW
	.comm	_K_MWHEELDOWN,4,2               ; @K_MWHEELDOWN
	.comm	_K_DOWNARROW,4,2                ; @K_DOWNARROW
	.comm	_K_KP_DOWNARROW,4,2             ; @K_KP_DOWNARROW
	.comm	_K_PGUP,4,2                     ; @K_PGUP
	.comm	_K_PGDN,4,2                     ; @K_PGDN
	.comm	_K_HOME,4,2                     ; @K_HOME
	.comm	_K_END,4,2                      ; @K_END
.subsections_via_symbols
