// File: /workspace/github_cpp_makefile_star2_O1/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 $0x248, %rsp            # imm = 0x248
leaq 0x5634(%rip), %rax      # 0x8198
movq $0x0, (%rax)
cmpl $0x2, %edi
jne 0x2c05
movq 0x8(%rsi), %rsi
cmpb $0x2d, (%rsi)
jne 0x2b8a
movb $0x1, %r14b
cmpb $0x69, 0x1(%rsi)
je 0x2c38
leaq -0x270(%rbp), %rbx
movq %rbx, %rdi
movl $0x8, %edx
callq 0x2210
leaq -0x38(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x2beb(%rip), %rdx      # 0x5798
leaq -0x48(%rbp), %rdi
movq %rdx, %rsi
callq 0x302c
leaq -0x48(%rbp), %r14
leaq 0x55a4(%rip), %r15      # 0x8168
movq -0x270(%rbp), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2220
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x2c14
movq %r15, %rdi
movq %r14, %rsi
callq 0x2f38
jmp 0x2bc4
callq 0x247c
movl $0x1, %eax
jmp 0x2eac
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x2c29
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2150
leaq -0x270(%rbp), %rdi
callq 0x2040
xorl %r14d, %r14d
leaq -0x260(%rbp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x5513(%rip), %r15      # 0x8168
leaq -0x270(%rbp), %r13
testb %r14b, %r14b
je 0x2ce5
leaq 0x552c(%rip), %rax      # 0x8198
movq (%rax), %rsi
movq 0x5352(%rip), %rdi      # 0x7fc8
callq 0x20b0
movl $0x2, %edx
movq %rax, %rdi
leaq 0x2b0c(%rip), %rsi      # 0x5796
callq 0x2170
testb %r14b, %r14b
je 0x2ce5
movq 0x8(%r15), %rax
subq (%r15), %rax
sarq $0x5, %rax
leaq 0x54f2(%rip), %rcx      # 0x8198
cmpq %rax, (%rcx)
jne 0x2ce5
movq 0x5326(%rip), %rcx      # 0x7fd8
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %edx
movq 0x5308(%rip), %rdi      # 0x7fd8
movq %r13, %rsi
callq 0x2220
movq %r15, %rdi
movq %r13, %rsi
callq 0x2f38
jmp 0x2d5e
leaq 0x54ac(%rip), %rax      # 0x8198
movq (%rax), %rax
movq (%r15), %rsi
movq 0x8(%r15), %rcx
subq %rsi, %rcx
sarq $0x5, %rcx
cmpq %rcx, %rax
jae 0x2e42
shlq $0x5, %rax
addq %rax, %rsi
movq %r13, %rdi
callq 0x2090
testb %r14b, %r14b
je 0x2d5e
movq -0x270(%rbp), %rsi
movq -0x268(%rbp), %rdx
movq 0x5299(%rip), %rdi      # 0x7fc8
callq 0x2170
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20c0
leaq -0x58(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x270(%rbp), %rsi
movq -0x268(%rbp), %rdx
addq %rsi, %rdx
leaq -0x68(%rbp), %rbx
movq %rbx, %rdi
callq 0x2f92
leaq -0x48(%rbp), %r12
movq %r12, %rdi
movq %rbx, %rsi
callq 0x2ac8
movq %r13, %rdi
movq %r12, %rsi
callq 0x2180
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x2db6
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2150
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x2dcf
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x2150
movq %r13, %rdi
callq 0x425c
testb %al, %al
jne 0x2e33
movl $0xe, %edx
movq 0x5209(%rip), %rdi      # 0x7ff0
leaq 0x29b6(%rip), %rsi      # 0x57a4
callq 0x2170
leaq 0x539e(%rip), %rax      # 0x8198
movq (%rax), %rsi
movq 0x51ec(%rip), %rdi      # 0x7ff0
callq 0x20b0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20c0
leaq 0x535e(%rip), %rax      # 0x8198
incq (%rax)
jmp 0x2c5c
movq 0x517f(%rip), %rbx      # 0x7fc8
leaq 0x2949(%rip), %rsi      # 0x5799
movl $0xa, %edx
movq %rbx, %rdi
callq 0x2170
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq 0x514d(%rip), %rdi      # 0x7fc8
callq 0x2030
movq %rax, %rdi
callq 0x20c0
movq -0x270(%rbp), %rdi
leaq -0x260(%rbp), %rax
cmpq %rax, %rdi
je 0x2eaa
movq -0x260(%rbp), %rsi
incq %rsi
callq 0x2150
xorl %eax, %eax
addq $0x248, %rsp            # imm = 0x248
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x2efd
jmp 0x2f0b
jmp 0x2f0b
movq %rax, %rbx
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x2f0e
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x2150
jmp 0x2f0e
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x2efd
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2150
leaq -0x270(%rbp), %rdi
callq 0x2040
jmp 0x2f30
movq %rax, %rbx
movq -0x270(%rbp), %rdi
leaq -0x260(%rbp), %rax
cmpq %rax, %rdi
je 0x2f30
movq -0x260(%rbp), %rsi
incq %rsi
callq 0x2150
movq %rbx, %rdi
callq 0x21f0