// File: /workspace/github_cpp_makefile_star2_O3/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 0x564f(%rip), %rax      # 0x8198
movq $0x0, (%rax)
cmpl $0x2, %edi
jne 0x2b6e
movq 0x8(%rsi), %rsi
cmpb $0x2d, (%rsi)
jne 0x2b7d
cmpb $0x69, 0x1(%rsi)
jne 0x2b7d
movb $0x1, %r14b
xorl %esi, %esi
jmp 0x2c26
callq 0x245c
movl $0x1, %eax
jmp 0x2e8c
leaq -0x270(%rbp), %rbx
movq %rbx, %rdi
movl $0x8, %edx
callq 0x2210
leaq -0x38(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x2bf8(%rip), %rdx      # 0x5798
leaq -0x48(%rbp), %rdi
movq %rdx, %rsi
callq 0x3010
leaq -0x48(%rbp), %r14
leaq 0x55b1(%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 0x2bf8
movq %r15, %rdi
movq %r14, %rsi
callq 0x2f18
jmp 0x2bb7
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x2c0d
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2150
leaq -0x270(%rbp), %rdi
callq 0x2040
leaq 0x5578(%rip), %rax      # 0x8198
movq (%rax), %rsi
xorl %r14d, %r14d
leaq -0x260(%rbp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x5525(%rip), %r15      # 0x8168
leaq -0x270(%rbp), %r13
testb %r14b, %r14b
je 0x2cc6
movq 0x5372(%rip), %rdi      # 0x7fc8
callq 0x20b0
movl $0x2, %edx
movq %rax, %rdi
leaq 0x2b2c(%rip), %rsi      # 0x5796
callq 0x2170
leaq 0x5522(%rip), %rax      # 0x8198
movq (%rax), %rsi
movq (%r15), %rax
movq 0x8(%r15), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
cmpq %rcx, %rsi
jne 0x2cd4
movq 0x5345(%rip), %rcx      # 0x7fd8
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %edx
movq 0x5327(%rip), %rdi      # 0x7fd8
movq %r13, %rsi
callq 0x2220
movq %r15, %rdi
movq %r13, %rsi
callq 0x2f18
jmp 0x2d38
movq (%r15), %rax
movq 0x8(%r15), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
cmpq %rcx, %rsi
jae 0x2e22
shlq $0x5, %rsi
addq %rsi, %rax
movq %r13, %rdi
movq %rax, %rsi
callq 0x2090
testb %r14b, %r14b
je 0x2d38
movq -0x270(%rbp), %rsi
movq -0x268(%rbp), %rdx
movq 0x52bf(%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 0x2f72
leaq -0x48(%rbp), %r12
movq %r12, %rdi
movq %rbx, %rsi
callq 0x2aa8
movq %r13, %rdi
movq %r12, %rsi
callq 0x2180
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x2d90
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2150
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x2da9
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x2150
movq %r13, %rdi
callq 0x41e8
testb %al, %al
jne 0x2e0d
movl $0xe, %edx
movq 0x522f(%rip), %rdi      # 0x7ff0
leaq 0x29dc(%rip), %rsi      # 0x57a4
callq 0x2170
leaq 0x53c4(%rip), %rax      # 0x8198
movq (%rax), %rsi
movq 0x5212(%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 0x5384(%rip), %rax      # 0x8198
movq (%rax), %rsi
incq %rsi
movq %rsi, (%rax)
jmp 0x2c4a
movq 0x519f(%rip), %rbx      # 0x7fc8
leaq 0x2969(%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 0x516d(%rip), %rdi      # 0x7fc8
callq 0x2030
movq %rax, %rdi
callq 0x20c0
movq -0x270(%rbp), %rdi
leaq -0x260(%rbp), %rax
cmpq %rax, %rdi
je 0x2e8a
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 0x2edd
jmp 0x2eeb
jmp 0x2eeb
movq %rax, %rbx
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x2eee
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x2150
jmp 0x2eee
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x2edd
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2150
leaq -0x270(%rbp), %rdi
callq 0x2040
jmp 0x2f10
movq %rax, %rbx
movq -0x270(%rbp), %rdi
leaq -0x260(%rbp), %rax
cmpq %rax, %rdi
je 0x2f10
movq -0x260(%rbp), %rsi
incq %rsi
callq 0x2150
movq %rbx, %rdi
callq 0x21f0