// File: /workspace/github_cpp_makefile_star2_O2/JD557[P]Wolf/wolf.cpp
// Function: main
int main(int argc,char* argv[]) {
	programCounter=0;
	bool interpreter;
	if (argc!=2) {showHelp();return 1;}
	else if (argv[1][0]=='-' && argv[1][1]=='i') {interpreter=true;}
	else {
		interpreter=false;
		ifstream file(argv[1]);
		string tempstring="";
		while (getline(file,tempstring)) {program.push_back(tempstring);}
	}
	string command;
	while (true) {
		if (interpreter) {cout << programCounter << ": ";}
		if (interpreter && programCounter==program.size()) {
			getline(cin,command);
			program.push_back(command);
		}
		else if (programCounter<program.size()) {
			command=program[programCounter];
			if (interpreter) {cout << command << endl;}
		}
		else {cout << "TERMINATED" << endl;break;}
		command=cleanInput(command);
		if (!line(command)) {cerr << "Error on line " << programCounter << endl;}
		programCounter++;
	}
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp            # imm = 0x258
leaq 0x5a55(%rip), %rax      # 0x81b8
andq $0x0, (%rax)
cmpl $0x2, %edi
jne 0x2784
movq 0x8(%rsi), %rsi
cmpb $0x2d, (%rsi)
jne 0x2791
cmpb $0x69, 0x1(%rsi)
jne 0x2791
movb $0x1, %bl
xorl %esi, %esi
jmp 0x280d
callq 0x245c
pushq $0x1
popq %rax
jmp 0x297a
leaq -0x278(%rbp), %rdi
pushq $0x8
popq %rdx
callq 0x2260
leaq 0x2ff1(%rip), %rsi      # 0x5798
leaq -0x50(%rbp), %rdi
leaq -0x29(%rbp), %rdx
callq 0x29d4
leaq -0x278(%rbp), %rbx
leaq -0x50(%rbp), %r14
leaq 0x59c2(%rip), %r15      # 0x8188
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2030
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x27ec
movq %r15, %rdi
movq %r14, %rsi
callq 0x2a10
jmp 0x27c6
leaq -0x50(%rbp), %rdi
callq 0x2090
leaq -0x278(%rbp), %rdi
callq 0x2040
leaq 0x59b0(%rip), %rax      # 0x81b8
movq (%rax), %rsi
xorl %ebx, %ebx
leaq -0x268(%rbp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x5961(%rip), %r15      # 0x8188
leaq -0x278(%rbp), %r13
leaq -0x70(%rbp), %r12
leaq -0x50(%rbp), %r14
testb %bl, %bl
je 0x288e
movq 0x5787(%rip), %rdi      # 0x7fc8
callq 0x20e0
movq %rax, %rdi
leaq 0x2f46(%rip), %rsi      # 0x5796
callq 0x2160
leaq 0x595c(%rip), %rax      # 0x81b8
movq (%rax), %rsi
movq (%r15), %rax
movq 0x8(%r15), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
cmpq %rcx, %rsi
jne 0x289c
movq 0x575f(%rip), %rdi      # 0x7fd8
movq %r13, %rsi
callq 0x2030
movq %r15, %rdi
movq %r13, %rsi
callq 0x2a10
jmp 0x28d2
movq (%r15), %rax
movq 0x8(%r15), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
cmpq %rcx, %rsi
jae 0x2951
shlq $0x5, %rsi
addq %rsi, %rax
movq %r13, %rdi
movq %rax, %rsi
callq 0x20c0
testb %bl, %bl
je 0x28d2
movq 0x5706(%rip), %rdi      # 0x7fc8
movq %r13, %rsi
callq 0x2150
movq %rax, %rdi
callq 0x20a0
movq %r12, %rdi
movq %r13, %rsi
callq 0x21e0
movq %r14, %rdi
movq %r12, %rsi
callq 0x26dc
movq %r13, %rdi
movq %r14, %rsi
callq 0x21b0
movq %r14, %rdi
callq 0x2090
movq %r12, %rdi
callq 0x2090
movq %r13, %rdi
callq 0x38b3
testb %al, %al
jne 0x293c
movq 0x56da(%rip), %rdi      # 0x7ff0
leaq 0x2e87(%rip), %rsi      # 0x57a4
callq 0x2160
leaq 0x588f(%rip), %rcx      # 0x81b8
movq (%rcx), %rsi
movq %rax, %rdi
callq 0x20e0
movq %rax, %rdi
callq 0x20a0
leaq 0x5875(%rip), %rax      # 0x81b8
movq (%rax), %rsi
incq %rsi
movq %rsi, (%rax)
jmp 0x2836
movq 0x5670(%rip), %rdi      # 0x7fc8
leaq 0x2e3a(%rip), %rsi      # 0x5799
callq 0x2160
movq %rax, %rdi
callq 0x20a0
leaq -0x278(%rbp), %rdi
callq 0x2090
xorl %eax, %eax
addq $0x258, %rsp            # imm = 0x258
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x29af
jmp 0x29bd
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
callq 0x2090
jmp 0x29c0
jmp 0x29bd
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0x2090
leaq -0x278(%rbp), %rdi
callq 0x2040
jmp 0x29cc
movq %rax, %rbx
leaq -0x278(%rbp), %rdi
callq 0x2090
movq %rbx, %rdi
callq 0x2240