// File: /workspace/github_c_makefile_star2_O3/ethinethin[P]Secret/input.c
// Function: input_loop
extern void input_loop(void)
{
	char *line;

	/* Start in room 0 and show it */
	room_name();
	look_room();
	GAME_STATUS = 0;

	/* set up tab completion */
	linenoiseSetCompletionCallback(completion);

	/* main input loop */
	while(putchar('\n') && (line = linenoise("command> ")) != NULL) {
		if (line[0] != '\0') {
			linenoiseHistoryAdd(line);
			parse_input(line);
			if (GAME_STATUS == -1) {
				quit_screen();
				break;
			} else if (GAME_STATUS == -2) {
				bad_ending();
				break;
			} else if (GAME_STATUS == -3) {
				good_ending();
				break;
			}
		}
		free(line);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
callq 0x55bf
callq 0x55e8
movl $0x0, 0xc75f(%rip)      # 0xfbb4
leaq 0x74c(%rip), %rdi       # 0x3ba8
callq 0x3cb1
movl $0xa, %edi
callq 0x3050
testl %eax, %eax
je 0x3b96
leaq 0x3d62(%rip), %r15      # 0x71dc
leaq 0x3d65(%rip), %r12      # 0x71e6
leaq 0x3bbe(%rip), %r13      # 0x7046
movq %r15, %rdi
callq 0x49d7
testq %rax, %rax
je 0x3b96
movq %rax, %r14
cmpb $0x0, (%rax)
je 0x37ee
movq %r14, %rdi
callq 0x51d7
xorl %eax, %eax
movb (%r14,%rax), %cl
testb %cl, %cl
je 0x34db
leal -0x41(%rcx), %edx
movzbl %cl, %esi
orb $0x20, %cl
cmpb $0x1a, %dl
movzbl %cl, %ecx
cmovael %esi, %ecx
movb %cl, 0x50(%rsp,%rax)
incq %rax
cmpq $0x63, %rax
jne 0x34af
movl $0x63, %eax
movl %eax, %eax
movb $0x0, 0x50(%rsp,%rax)
leaq 0x50(%rsp), %rdi
movq %r12, %rsi
callq 0x3270
movq %rax, %rbp
movq %rax, 0x10(%rsp)
movl $0x1, %ebx
xorl %edi, %edi
movq %r12, %rsi
callq 0x3270
movq %rax, 0x10(%rsp,%rbx,8)
incq %rbx
cmpq $0x8, %rbx
jne 0x34fc
testq %rbp, %rbp
je 0x37cd
movq %rbp, %rdi
leaq 0x3cc2(%rip), %rsi      # 0x71e9
callq 0x3180
testl %eax, %eax
je 0x356a
movq %rbp, %rdi
leaq 0x3cb4(%rip), %rsi      # 0x71ee
callq 0x3180
testl %eax, %eax
je 0x356a
movzbl (%rbp), %ebx
cmpl $0x71, %ebx
jne 0x35b8
cmpb $0x0, 0x1(%rbp)
je 0x356a
movq %rbp, %rdi
leaq 0x3c2b(%rip), %rsi      # 0x7187
callq 0x3180
testl %eax, %eax
jne 0x35d6
jmp 0x360d
leaq 0x3ce6(%rip), %rdi      # 0x7257
xorl %eax, %eax
callq 0x30f0
callq 0x3190
movl %eax, %ebx
callq 0x3190
cmpl $0xa, %eax
je 0x35a7
cmpl $-0x1, %eax
jne 0x357f
movl $0xa, %edi
callq 0x3050
movq 0xaa39(%rip), %rax      # 0xdfd8
movq (%rax), %rdi
callq 0x31c0
andl $-0x21, %ebx
cmpl $0x59, %ebx
jne 0x37cd
jmp 0x3b69
movq %rbp, %rdi
leaq 0x3bc5(%rip), %rsi      # 0x7187
callq 0x3180
testl %eax, %eax
je 0x360d
cmpl $0x68, %ebx
jne 0x35d6
cmpb $0x0, 0x1(%rbp)
je 0x360d
movq %rbp, %rdi
leaq 0x3c13(%rip), %rsi      # 0x71f3
callq 0x3180
movl %eax, %r13d
testl %eax, %eax
sete %al
movq 0x18(%rsp), %rdx
testq %rdx, %rdx
sete %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x36fd
callq 0x55e8
jmp 0x37c6
movq %r13, %rdi
callq 0x3090
leaq 0x3f9e(%rip), %rdi      # 0x75ba
callq 0x3090
leaq 0x3f9e(%rip), %rdi      # 0x75c6
callq 0x3090
leaq 0x3fca(%rip), %rdi      # 0x75fe
callq 0x3090
leaq 0x3a07(%rip), %rbx      # 0x7047
movq %rbx, %rdi
callq 0x3090
leaq 0x3fe2(%rip), %rdi      # 0x7631
callq 0x3090
leaq 0x3feb(%rip), %rdi      # 0x7646
callq 0x3090
leaq 0x4025(%rip), %rdi      # 0x768c
callq 0x3090
movq %rbx, %rdi
callq 0x3090
leaq 0x4033(%rip), %rdi      # 0x76ae
callq 0x3090
leaq 0x4036(%rip), %rdi      # 0x76bd
callq 0x3090
leaq 0x404c(%rip), %rdi      # 0x76df
callq 0x3090
leaq 0x4058(%rip), %rdi      # 0x76f7
callq 0x3090
movq %rbx, %rdi
callq 0x3090
leaq 0x4059(%rip), %rdi      # 0x770c
callq 0x3090
leaq 0x4068(%rip), %rdi      # 0x7727
callq 0x3090
leaq 0x407e(%rip), %rdi      # 0x7749
callq 0x3090
movq %rbx, %rdi
callq 0x3090
leaq 0x4086(%rip), %rdi      # 0x7765
callq 0x3090
leaq 0x4082(%rip), %rdi      # 0x776d
callq 0x3090
movq %rbx, %rdi
callq 0x3090
jmp 0x37cd
movq %rdx, 0x8(%rsp)
cmpl $0x67, %ebx
jne 0x3717
cmpb $0x6f, 0x1(%rbp)
jne 0x3717
cmpb $0x0, 0x2(%rbp)
je 0x37b7
movq %rbp, %rdi
leaq 0x3ad7(%rip), %rsi      # 0x71f8
callq 0x3180
testl %eax, %eax
je 0x37b7
movq %rbp, %rdi
leaq 0x3ac5(%rip), %rsi      # 0x71fd
callq 0x3180
testl %eax, %eax
je 0x37b7
movq %rbp, %rdi
leaq 0x3ab7(%rip), %rsi      # 0x7202
callq 0x3180
testl %eax, %eax
je 0x37be
movq %rbp, %rdi
leaq 0x3aaa(%rip), %rsi      # 0x7208
callq 0x3180
testl %eax, %eax
je 0x37be
movq %rbp, %rdi
leaq 0x5673(%rip), %rsi      # 0x8de4
callq 0x3180
testl %eax, %eax
je 0x37be
movq %rbp, %rdi
leaq 0x3a89(%rip), %rsi      # 0x720d
callq 0x3180
testl %eax, %eax
je 0x37be
cmpl $0x72, %ebx
jg 0x380d
cmpl $0x65, %ebx
je 0x3826
cmpl $0x6e, %ebx
jne 0x383f
cmpb $0x0, 0x1(%rbp)
jne 0x383f
leaq 0x3a4d(%rip), %rdi      # 0x7202
jmp 0x37c1
movq 0x8(%rsp), %rdi
jmp 0x37c1
movq %rbp, %rdi
callq 0x56ab
leaq 0x3879(%rip), %r13      # 0x7046
movl 0xc3e1(%rip), %eax      # 0xfbb4
cmpl $-0x3, %eax
je 0x3aa9
cmpl $-0x1, %eax
je 0x3b73
cmpl $-0x2, %eax
je 0x3b09
movq %r14, %rdi
callq 0x3040
movl $0xa, %edi
callq 0x3050
testl %eax, %eax
jne 0x3488
jmp 0x3b96
cmpl $0x73, %ebx
je 0x3835
cmpl $0x77, %ebx
jne 0x383f
cmpb $0x0, 0x1(%rbp)
jne 0x383f
leaq 0x39e9(%rip), %rdi      # 0x720d
jmp 0x37c1
cmpb $0x0, 0x1(%rbp)
jne 0x383f
leaq 0x39d5(%rip), %rdi      # 0x7208
jmp 0x37c1
cmpb $0x0, 0x1(%rbp)
je 0x39fe
movq %rbp, %rdi
leaq 0x39c9(%rip), %rsi      # 0x7212
callq 0x3180
testl %eax, %eax
je 0x395a
movq %rbp, %rdi
leaq 0x39b7(%rip), %rsi      # 0x7217
callq 0x3180
testl %eax, %eax
je 0x395a
movq %rbp, %rdi
leaq 0x39a4(%rip), %rsi      # 0x721b
callq 0x3180
testl %eax, %eax
je 0x39a7
movq %rbp, %rdi
leaq 0x3992(%rip), %rsi      # 0x7220
callq 0x3180
testl %eax, %eax
je 0x3996
movq %rbp, %rdi
leaq 0x3982(%rip), %rsi      # 0x7227
callq 0x3180
testl %eax, %eax
je 0x3996
cmpl $0x69, %ebx
jne 0x38c1
cmpb $0x0, 0x1(%rbp)
je 0x3a0a
movq %rbp, %rdi
leaq 0x3961(%rip), %rsi      # 0x722c
callq 0x3180
testl %eax, %eax
je 0x3a0a
movq %rbp, %rdi
leaq 0x3954(%rip), %rsi      # 0x7236
callq 0x3180
testl %eax, %eax
je 0x3a0a
testl %r13d, %r13d
je 0x3a2f
movq %rbp, %rdi
leaq 0x3938(%rip), %rsi      # 0x723a
callq 0x3180
testl %eax, %eax
je 0x3a5e
leaq 0x3928(%rip), %rdi      # 0x723e
movq %rbp, %rsi
xorl %eax, %eax
callq 0x30f0
movl $0x1, %ebx
leaq 0x3927(%rip), %r13      # 0x7253
movq 0x10(%rsp,%rbx,8), %rsi
testq %rsi, %rsi
je 0x3940
movq %r13, %rdi
xorl %eax, %eax
callq 0x30f0
incq %rbx
cmpq $0x4, %rbx
jne 0x392c
leaq 0x3942(%rip), %rdi      # 0x7292
callq 0x3090
jmp 0x37c6
movq 0x8(%rsp), %rbx
testq %rbx, %rbx
leaq 0x36dd(%rip), %r13      # 0x7046
je 0x3985
movq 0x8(%rsp), %rdi
leaq 0x39b6(%rip), %rsi      # 0x732d
callq 0x3180
movq 0x8(%rsp), %rbx
testl %eax, %eax
je 0x39e3
callq 0x55b8
movq 0x20(%rsp), %rdx
movl %eax, %edi
movq %rbx, %rsi
jmp 0x39f4
callq 0x55b8
movl %eax, %edi
callq 0x5856
jmp 0x37c6
movq 0x8(%rsp), %rbx
testq %rbx, %rbx
leaq 0x3690(%rip), %r13      # 0x7046
je 0x39d2
movq 0x8(%rsp), %rdi
leaq 0x3969(%rip), %rsi      # 0x732d
callq 0x3180
movq 0x8(%rsp), %rbx
testl %eax, %eax
je 0x3a14
callq 0x55b8
movq 0x20(%rsp), %rdx
movl %eax, %edi
movq %rbx, %rsi
jmp 0x3a25
callq 0x55b8
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
movl %eax, %edi
callq 0x59e5
jmp 0x37cd
leaq 0x53df(%rip), %rdi      # 0x8de4
jmp 0x37c1
callq 0x5952
jmp 0x37c6
callq 0x55b8
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
movl %eax, %edi
callq 0x5c96
jmp 0x37cd
movq 0x8(%rsp), %rbx
cmpb $0x61, (%rbx)
jne 0x3a45
cmpb $0x74, 0x1(%rbx)
jne 0x3a45
cmpb $0x0, 0x2(%rbx)
je 0x3a6d
callq 0x55b8
movq 0x20(%rsp), %rdx
movl %eax, %edi
movq %rbx, %rsi
callq 0x5d73
jmp 0x37c6
leaq 0x10(%rsp), %rdi
callq 0x5e60
jmp 0x37c6
movq 0x20(%rsp), %rbx
testq %rbx, %rbx
je 0x3a8a
movq %rbx, %rdi
leaq 0x38ac(%rip), %rsi      # 0x732d
callq 0x3180
testl %eax, %eax
je 0x3a96
callq 0x55b8
movq 0x28(%rsp), %rdx
jmp 0x3a4f
callq 0x55b8
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
movl %eax, %edi
jmp 0x3a54
leaq 0x3596(%rip), %rdi      # 0x7046
callq 0x3090
leaq 0x3969(%rip), %rdi      # 0x7425
callq 0x3090
leaq 0x357f(%rip), %r13      # 0x7047
movq %r13, %rdi
callq 0x3090
leaq 0x3966(%rip), %rdi      # 0x743d
callq 0x3090
leaq 0x39ab(%rip), %rdi      # 0x748e
callq 0x3090
leaq 0x39ee(%rip), %rdi      # 0x74dd
callq 0x3090
leaq 0x3a31(%rip), %rdi      # 0x752c
callq 0x3090
leaq 0x3a50(%rip), %rbx      # 0x7557
jmp 0x3b7a
leaq 0x3536(%rip), %rdi      # 0x7046
callq 0x3090
leaq 0x37b0(%rip), %rdi      # 0x72cc
callq 0x3090
leaq 0x351f(%rip), %r13      # 0x7047
movq %r13, %rdi
callq 0x3090
leaq 0x37ac(%rip), %rdi      # 0x72e3
callq 0x3090
leaq 0x37ee(%rip), %rdi      # 0x7331
callq 0x3090
leaq 0x382c(%rip), %rdi      # 0x737b
callq 0x3090
leaq 0x386c(%rip), %rdi      # 0x73c7
callq 0x3090
leaq 0x389c(%rip), %rbx      # 0x7403
jmp 0x3b7a
movl $0xffffffff, 0xc041(%rip) # imm = 0xFFFFFFFF
leaq 0x371b(%rip), %rbx      # 0x7295
movq %r13, %rdi
callq 0x3090
movq %rbx, %rdi
callq 0x3090
leaq 0x39d7(%rip), %rdi      # 0x7568
callq 0x3090
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq