LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/negativeview[P]Software-Business-Sim/CommandFunctor.cpp
// Function: CommandFunctor::platformChoiceMenu()
Platform *CommandFunctor::platformChoiceMenu() {
	Platform *ret = NULL;

	int n_choices = this->_masterState->getPlatforms()->size();
    keypad(stdscr, TRUE);
	MENU *my_menu = this->setupMenu((vector<NamedObject *> *)(this->_masterState->getPlatforms()));
	WINDOW *my_menu_win = this->setupWindow(my_menu, "Platform");
	refresh();

    int c;
    int done = 0;
	while(!done) {
		c = wgetch(my_menu_win);
		switch(c) {
			case KEY_DOWN:
				menu_driver(my_menu, REQ_DOWN_ITEM);
				break;
			case KEY_UP:
				menu_driver(my_menu, REQ_UP_ITEM);
				break;
			case 10:	// Enter key, select the user.
				{
					ITEM *currentItem = current_item(my_menu);
					ret = (Platform *)item_userptr(currentItem);
					done = 1;
				}
				break;
			case 27:
				done = 1;
				break;
		}
		wrefresh(my_menu_win);
	}

	/* Unpost and free all the memory taken up */
	unpost_menu(my_menu);

	ITEM **my_items = menu_items(my_menu);
	for(int i = 0; i < n_choices; ++i)
		free_item(my_items[i]);
	endwin();
	free_menu(my_menu);
	return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
callq 0x901a
movq 0x8(%rax), %r13
subq (%rax), %r13
shrq $0x3, %r13
movq 0xa71c(%rip), %rax      # 0x10fd0
movq (%rax), %rdi
pushq $0x1
popq %rsi
callq 0x3120
movq 0x8(%rbx), %rdi
callq 0x901a
movq %rax, %rsi
callq 0x658e
movq %rax, %rbx
leaq 0x4eac(%rip), %rdx      # 0xb786
movq %rax, %rsi
callq 0x664c
movq %rax, %r12
callq 0x34f0
xorl %r14d, %r14d
xorl %r15d, %r15d
testl %r14d, %r14d
jne 0x6954
movq %r12, %rdi
callq 0x3110
cmpl $0xa, %eax
je 0x6931
cmpl $0x1b, %eax
je 0x6944
xorl %r14d, %r14d
cmpl $0x103, %eax            # imm = 0x103
je 0x6922
cmpl $0x102, %eax            # imm = 0x102
jne 0x694a
movq %rbx, %rdi
movl $0x203, %esi            # imm = 0x203
jmp 0x692a
movq %rbx, %rdi
movl $0x202, %esi            # imm = 0x202
callq 0x3270
jmp 0x694a
movq %rbx, %rdi
callq 0x34a0
movq %rax, %rdi
callq 0x34c0
movq %rax, %r15
pushq $0x1
popq %rax
movl %eax, %r14d
movq %r12, %rdi
callq 0x3380
jmp 0x68f0
movq %rbx, %rdi
callq 0x3230
movq %rbx, %rdi
callq 0x30b0
movq %rax, %r14
xorl %r12d, %r12d
testl %r13d, %r13d
cmovlel %r12d, %r13d
cmpq %r12, %r13
je 0x6984
movq (%r14,%r12,8), %rdi
callq 0x33c0
incq %r12
jmp 0x6971
callq 0x33a0
movq %rbx, %rdi
callq 0x30f0
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/negativeview[P]Software-Business-Sim/CommandFunctor.cpp
// Function: CommandFunctor::marketChoiceMenu()
Market *CommandFunctor::marketChoiceMenu() {
	Market *ret = NULL;

	int n_choices = this->_masterState->getMarkets()->size();
    keypad(stdscr, TRUE);
	MENU *my_menu = this->setupMenu((vector<NamedObject *> *)(this->_masterState->getMarkets()));
	WINDOW *my_menu_win = this->setupWindow(my_menu, "Market");
	refresh();

    int c;
    int done = 0;
	while(!done) {
		c = wgetch(my_menu_win);
		switch(c) {
			case KEY_DOWN:
				menu_driver(my_menu, REQ_DOWN_ITEM);
				break;
			case KEY_UP:
				menu_driver(my_menu, REQ_UP_ITEM);
				break;
			case 10:	// Enter key, select the user.
				{
					ITEM *currentItem = current_item(my_menu);
					ret = (Market *)item_userptr(currentItem);
					done = 1;
				}
				break;
			case 27:
				done = 1;
				break;
		}
		wrefresh(my_menu_win);
	}

	/* Unpost and free all the memory taken up */
	unpost_menu(my_menu);

	ITEM **my_items = menu_items(my_menu);
	for(int i = 0; i < n_choices; ++i)
		free_item(my_items[i]);
	endwin();
	free_menu(my_menu);
	return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
callq 0x8f78
movq 0x8(%rax), %r13
subq (%rax), %r13
shrq $0x3, %r13
movq 0xa600(%rip), %rax      # 0x10fd0
movq (%rax), %rdi
pushq $0x1
popq %rsi
callq 0x3120
movq 0x8(%rbx), %rdi
callq 0x8f78
movq %rax, %rsi
callq 0x658e
movq %rax, %rbx
leaq 0x4d99(%rip), %rdx      # 0xb78f
movq %rax, %rsi
callq 0x664c
movq %rax, %r12
callq 0x34f0
xorl %r14d, %r14d
xorl %r15d, %r15d
testl %r14d, %r14d
jne 0x6a70
movq %r12, %rdi
callq 0x3110
cmpl $0xa, %eax
je 0x6a4d
cmpl $0x1b, %eax
je 0x6a60
xorl %r14d, %r14d
cmpl $0x103, %eax            # imm = 0x103
je 0x6a3e
cmpl $0x102, %eax            # imm = 0x102
jne 0x6a66
movq %rbx, %rdi
movl $0x203, %esi            # imm = 0x203
jmp 0x6a46
movq %rbx, %rdi
movl $0x202, %esi            # imm = 0x202
callq 0x3270
jmp 0x6a66
movq %rbx, %rdi
callq 0x34a0
movq %rax, %rdi
callq 0x34c0
movq %rax, %r15
pushq $0x1
popq %rax
movl %eax, %r14d
movq %r12, %rdi
callq 0x3380
jmp 0x6a0c
movq %rbx, %rdi
callq 0x3230
movq %rbx, %rdi
callq 0x30b0
movq %rax, %r14
xorl %r12d, %r12d
testl %r13d, %r13d
cmovlel %r12d, %r13d
cmpq %r12, %r13
je 0x6aa0
movq (%r14,%r12,8), %rdi
callq 0x33c0
incq %r12
jmp 0x6a8d
callq 0x33a0
movq %rbx, %rdi
callq 0x30f0
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/negativeview[P]Software-Business-Sim/CommandFunctor.cpp
// Function: CommandFunctor::personChoiceMenu(char const*)
Person *CommandFunctor::personChoiceMenu(const char *title) {
	Person *ret = NULL;

	int n_choices = this->_masterState->getPlayerCompany()->getKnownPeople()->size();
    keypad(stdscr, TRUE);
	MENU *my_menu = this->setupMenu((vector<NamedObject *> *)(this->_masterState->getPlayerCompany()->getKnownPeople()));
	WINDOW *my_menu_win = this->setupWindow(my_menu, title);
	refresh();

    int c;
    int done = 0;
	while(!done) {
		c = wgetch(my_menu_win);
		switch(c) {
			case KEY_DOWN:
				menu_driver(my_menu, REQ_DOWN_ITEM);
				break;
			case KEY_UP:
				menu_driver(my_menu, REQ_UP_ITEM);
				break;
			case 10:	// Enter key, select the user.
				{
					ITEM *currentItem = current_item(my_menu);
					ret = (Person *)item_userptr(currentItem);
					done = 1;
				}
				break;
			case 27:
				done = 1;
				break;
		}
		wrefresh(my_menu_win);
	}

	/* Unpost and free all the memory taken up */
	unpost_menu(my_menu);

	ITEM **my_items = menu_items(my_menu);
	for(int i = 0; i < n_choices; ++i)
		free_item(my_items[i]);
	endwin();
	free_menu(my_menu);
	return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
callq 0x902e
movq %rax, %rdi
callq 0x714e
movq 0x8(%rax), %r13
subq (%rax), %r13
shrq $0x3, %r13
movq 0xa4d9(%rip), %rax      # 0x10fd0
movq (%rax), %rdi
pushq $0x1
popq %rsi
callq 0x3120
movq 0x8(%rbx), %rdi
callq 0x902e
movq %rax, %rdi
callq 0x714e
movq %rax, %rsi
callq 0x658e
movq %rax, %rbx
movq %rax, %rsi
movq %r15, %rdx
callq 0x664c
movq %rax, %r12
callq 0x34f0
xorl %r14d, %r14d
xorl %r15d, %r15d
testl %r14d, %r14d
jne 0x6b9b
movq %r12, %rdi
callq 0x3110
cmpl $0xa, %eax
je 0x6b78
cmpl $0x1b, %eax
je 0x6b8b
xorl %r14d, %r14d
cmpl $0x103, %eax            # imm = 0x103
je 0x6b69
cmpl $0x102, %eax            # imm = 0x102
jne 0x6b91
movq %rbx, %rdi
movl $0x203, %esi            # imm = 0x203
jmp 0x6b71
movq %rbx, %rdi
movl $0x202, %esi            # imm = 0x202
callq 0x3270
jmp 0x6b91
movq %rbx, %rdi
callq 0x34a0
movq %rax, %rdi
callq 0x34c0
movq %rax, %r15
pushq $0x1
popq %rax
movl %eax, %r14d
movq %r12, %rdi
callq 0x3380
jmp 0x6b37
movq %rbx, %rdi
callq 0x3230
movq %rbx, %rdi
callq 0x30b0
movq %rax, %r14
xorl %r12d, %r12d
testl %r13d, %r13d
cmovlel %r12d, %r13d
cmpq %r12, %r13
je 0x6bcb
movq (%r14,%r12,8), %rdi
callq 0x33c0
incq %r12
jmp 0x6bb8
callq 0x33a0
movq %rbx, %rdi
callq 0x30f0
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/negativeview[P]Software-Business-Sim/Company.cpp
// Function: Company::Company(char const*, int)
Company::Company(const char *name, int money) {
	this->_name = (char *)malloc(strlen(name) + 1);
	strcpy(this->_name, name);
	this->_money = money;
	this->_employees = new vector<Person *>();
	this->_knownPeople = new vector<Person *>();
	this->_platformSkills = new map<Platform *, int>();
	this->_languageSkills = new map<Language *, int>();
	this->_allProjects = new vector<Project *>();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x3160
leaq 0x1(%rax), %rdi
callq 0x3410
movq %rax, (%rbx)
movq %rax, %rdi
movq %r15, %rsi
callq 0x32e0
movl %r14d, 0x8(%rbx)
pushq $0x18
popq %r14
movq %r14, %rdi
callq 0x3300
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
andq $0x0, 0x10(%rax)
movq %rax, 0x10(%rbx)
movq %r14, %rdi
callq 0x3300
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
andq $0x0, 0x10(%rax)
movq %rax, 0x18(%rbx)
pushq $0x30
popq %r15
movq %r15, %rdi
callq 0x3300
leaq 0x8(%rax), %rcx
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rax)
movaps %xmm0, (%rax)
movq %rcx, 0x18(%rax)
movq %rcx, 0x20(%rax)
andq $0x0, 0x28(%rax)
movq %rax, 0x28(%rbx)
movq %r15, %rdi
callq 0x3300
leaq 0x8(%rax), %rcx
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rax)
movaps %xmm0, (%rax)
movq %rcx, 0x18(%rax)
movq %rcx, 0x20(%rax)
andq $0x0, 0x28(%rax)
movq %rax, 0x30(%rbx)
movq %r14, %rdi
callq 0x3300
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
andq $0x0, 0x10(%rax)
movq %rax, 0x20(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/negativeview[P]Software-Business-Sim/Company.cpp
// Function: Company::addEmployee(Person*)
void Company::addEmployee(Person *person) {
	this->_employees->push_back(person);
	this->recomputeCompanySkills();

	for (vector<Person *>::iterator it = this->_knownPeople->begin(); it != this->_knownPeople->end(); ++it) {
		Person *p = *it;
		if (p == person) {
			this->_knownPeople->erase(it);
			return;
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
leaq -0x18(%rbp), %r14
movq %rsi, (%r14)
movq 0x10(%rdi), %rdi
movq %r14, %rsi
callq 0x7320
movq %rbx, %rdi
callq 0x6d7e
movq 0x18(%rbx), %rdi
movq (%rdi), %rsi
movq 0x8(%rdi), %rax
movq (%r14), %rcx
cmpq %rax, %rsi
je 0x6d74
cmpq %rcx, (%rsi)
je 0x6d6f
addq $0x8, %rsi
jmp 0x6d5f
callq 0x7344
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/negativeview[P]Software-Business-Sim/Company.cpp
// Function: Company::learnAboutEmployees()
void Company::learnAboutEmployees() {
	for (vector<Person *>::iterator it = this->_knownPeople->begin(); it != this->_knownPeople->end(); ++it) {
		Person *person = *it;
		if (rand() % 10 == 0) {
			list<Trait *> *allTraits = person->getRealTraits();
			for (list<Trait *>::iterator it2 = allTraits->begin(); it2 != allTraits->end(); ++it2) {
				Trait *t = *it2;
				if (rand() % 10 == 0) {
					t->discoverMore();
				}
			}
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, -0x30(%rbp)
movq 0x18(%rdi), %rax
movq (%rax), %r12
pushq $0xa
popq %r13
cmpq 0x8(%rax), %r12
je 0x713f
movq (%r12), %r14
callq 0x30c0
cltd
idivl %r13d
testl %edx, %edx
je 0x710e
addq $0x8, %r12
movq -0x30(%rbp), %rax
movq 0x18(%rax), %rax
jmp 0x70e9
movq %r14, %rdi
callq 0x83ce
movq %rax, %rbx
movq %rax, %r14
movq (%r14), %r14
cmpq %rbx, %r14
je 0x7100
movq 0x10(%r14), %r15
callq 0x30c0
cltd
idivl %r13d
testl %edx, %edx
jne 0x711c
movq %r15, %rdi
callq 0x9eec
jmp 0x711c
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/negativeview[P]Software-Business-Sim/Company.cpp
// Function: Company::addKnownPerson(Person*)
void Company::addKnownPerson(Person *person) {
	for (vector<Person *>::iterator it = this->_employees->begin(); it != this->_employees->end(); ++it) {
		Person *p = *it;
		if (p == person)
			return;
	}
	this->_knownPeople->push_back(person);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rsi, -0x8(%rbp)
movq 0x10(%rdi), %rax
movq (%rax), %rcx
movq 0x8(%rax), %rax
cmpq %rax, %rcx
je 0x7182
leaq 0x8(%rcx), %rdx
cmpq %rsi, (%rcx)
movq %rdx, %rcx
jne 0x716f
jmp 0x718f
movq 0x18(%rdi), %rdi
leaq -0x8(%rbp), %rsi
callq 0x7320
addq $0x10, %rsp
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/negativeview[P]Software-Business-Sim/Company.cpp
// Function: Company::doPayments(int)
void Company::doPayments(int time) {
	// Every two weeks, pay your people.
	int totalPayout = 0;
	if (time % 14 == 0) {
		for (vector<Person *>::iterator it = this->_employees->begin(); it != this->_employees->end(); ++it) {
			int salary = (int)((*it)->getCurrentSalary() / 26.0);
			this->payWages(salary);
			(*it)->addMoney(salary);
			totalPayout += salary;
		}
	}

	int overheadCost = this->getOverheadCost();
	this->payOverhead(overheadCost);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %esi, %eax
movq %rdi, %rbx
pushq $0xe
popq %rcx
cltd
idivl %ecx
testl %edx, %edx
je 0x71bc
movq %rbx, %rdi
callq 0x7200
subl %eax, 0x8(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
movq 0x10(%rbx), %rax
movq (%rax), %r14
cmpq 0x8(%rax), %r14
je 0x71ac
movq (%r14), %rdi
callq 0x830e
cvtsi2sd %eax, %xmm0
divsd 0x45cb(%rip), %xmm0     # 0xb7a8
cvttsd2si %xmm0, %esi
subl %esi, 0x8(%rbx)
movq (%r14), %rdi
callq 0x83e2
addq $0x8, %r14
movq 0x10(%rbx), %rax
jmp 0x71c3
// File: /workspace/github_cpp_makefile_star2_O2/negativeview[P]Software-Business-Sim/Company.cpp
// Function: Company::getOverheadCost()
int Company::getOverheadCost() {
	// No matter what, you cannot get away scot free.
	int overhead = 1;

	overhead += this->_employees->size() * 10;

	// Every 10 days something random happens.
	// The higher your everyday costs, the more
	// an occurence costs.
	if (rand() % 10 == 0)
		overhead *= (rand() % 100) / 50.0;

	return overhead;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq 0x10(%rdi), %rax
movq 0x8(%rax), %rcx
subq (%rax), %rcx
shrq $0x3, %rcx
imull $0xa, %ecx, %ebx
incl %ebx
callq 0x30c0
pushq $0xa
popq %rcx
cltd
idivl %ecx
testl %edx, %edx
jne 0x724c
callq 0x30c0
pushq $0x64
popq %rcx
cltd
idivl %ecx
cvtsi2sd %edx, %xmm0
divsd 0x4570(%rip), %xmm0     # 0xb7b0
cvtsi2sd %ebx, %xmm1
mulsd %xmm0, %xmm1
cvttsd2si %xmm1, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/negativeview[P]Software-Business-Sim/Company.cpp
// Function: Company::~Company()
Company::~Company() {
	free(this->_name);
	this->_name = NULL;
	delete this->_employees;
	this->_employees = NULL;
	delete this->_platformSkills;
	this->_platformSkills = NULL;
	delete this->_knownPeople;
	this->_knownPeople = NULL;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rdi
callq 0x33b0
andq $0x0, (%rbx)
movq 0x10(%rbx), %r14
testq %r14, %r14
je 0x72a5
movq %r14, %rdi
callq 0x7d32
pushq $0x18
popq %rsi
movq %r14, %rdi
callq 0x3320
andq $0x0, 0x10(%rbx)
movq 0x28(%rbx), %r14
testq %r14, %r14
je 0x72c6
movq %r14, %rdi
callq 0x747e
pushq $0x30
popq %rsi
movq %r14, %rdi
callq 0x3320
andq $0x0, 0x28(%rbx)
movq 0x18(%rbx), %r14
testq %r14, %r14
je 0x72e7
movq %r14, %rdi
callq 0x7d32
pushq $0x18
popq %rsi
movq %r14, %rdi
callq 0x3320
andq $0x0, 0x18(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/negativeview[P]Software-Business-Sim/Person.cpp
// Function: Person::acceptWages(int)
bool Person::acceptWages(int money) {
	int traitInfluence = 0;
	for (list<Trait *>::iterator it = this->_believedTraits->begin(); it != this->_believedTraits->end(); ++it) {
		traitInfluence += (*it)->influenceOnSalaryRequirements();
	}

	float randomInfluence = ((rand() % 100) / 100.0);

	if (money >= traitInfluence * randomInfluence)
		return true;
	return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %esi, %ebx
movq %rdi, %r14
movq 0x78(%rdi), %rax
xorl %r15d, %r15d
movq %rax, %r12
movq (%r12), %r12
cmpq %rax, %r12
je 0x834e
movq 0x10(%r12), %rdi
movq (%rdi), %rax
callq *(%rax)
addl %eax, %r15d
movq 0x78(%r14), %rax
jmp 0x8332
callq 0x30c0
pushq $0x64
popq %rcx
cltd
idivl %ecx
cvtsi2sd %edx, %xmm0
divsd 0x3453(%rip), %xmm0     # 0xb7b8
cvtsd2ss %xmm0, %xmm0
cvtsi2ss %ebx, %xmm1
cvtsi2ss %r15d, %xmm2
mulss %xmm0, %xmm2
ucomiss %xmm2, %xmm1
setae %al
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/negativeview[P]Software-Business-Sim/Person.cpp
// Function: Person::~Person()
Person::~Person() {
	list<Trait *>::iterator traitIterator;
	for (traitIterator = this->_believedTraits->begin(); traitIterator != this->_believedTraits->end(); ++traitIterator) {
		Trait *t = *traitIterator;
		delete t;
	}	
	delete this->_believedTraits;
	this->_believedTraits = NULL;

	for (traitIterator = this->_actualTraits->begin(); traitIterator != this->_actualTraits->end(); ++traitIterator) {
		Trait *t = *traitIterator;
		delete t;
	}
	delete this->_actualTraits;
	this->_actualTraits = NULL;
	delete this->_platformSkills;
	this->_platformSkills = NULL;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq 0x78(%rdi), %r15
pushq $0x38
popq %r14
movq %r15, %r12
movq (%r12), %r12
cmpq %r15, %r12
je 0x8431
movq 0x10(%r12), %r15
testq %r15, %r15
je 0x8420
movq %r15, %rdi
callq 0xa0da
movq %r15, %rdi
movq %r14, %rsi
callq 0x3320
movq 0x78(%rbx), %r15
jmp 0x8405
testq %r15, %r15
je 0x843e
movq %r15, %rdi
callq 0x84f6
pushq $0x18
popq %rsi
movq %r15, %rdi
callq 0x3320
andq $0x0, 0x78(%rbx)
movq 0x70(%rbx), %r15
pushq $0x38
popq %r14
movq %r15, %r12
movq (%r12), %r12
cmpq %r15, %r12
je 0x8485
movq 0x10(%r12), %r15
testq %r15, %r15
je 0x8474
movq %r15, %rdi
callq 0xa0da
movq %r15, %rdi
movq %r14, %rsi
callq 0x3320
movq 0x70(%rbx), %r15
jmp 0x8459
testq %r15, %r15
je 0x8492
movq %r15, %rdi
callq 0x84f6
pushq $0x18
popq %rsi
movq %r15, %rdi
callq 0x3320
andq $0x0, 0x70(%rbx)
movq 0x60(%rbx), %r14
testq %r14, %r14
je 0x84b3
movq %r14, %rdi
callq 0x747e
pushq $0x30
popq %rsi
movq %r14, %rdi
callq 0x3320
andq $0x0, 0x60(%rbx)
leaq 0x30(%rbx), %rdi
callq 0x3170
leaq 0x10(%rbx), %rdi
callq 0x3170
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x42c0
nop
// File: /workspace/github_cpp_makefile_star2_O2/negativeview[P]Software-Business-Sim/MasterState.cpp
// Function: MasterState::MasterState()
MasterState::MasterState() {
	this->_playerCompany = new Company("Testing Corp", 100000);
	this->_allCompanies = new list<Company *>();
	this->_allCompanies->push_back(this->_playerCompany);
	this->_allWorkers = new list<Person *>();
	this->_allConsumers = new list<Person *>();
	this->_time = 0;

	this->_commandList = new CommandList(this);

	this->_messages = new vector<char *>();
	this->_names = new NameContainer();

	this->_allMarkets = new vector<Market *>();

	Market *oldPeopleMarket = new Market("Old People");
	oldPeopleMarket->addRequirement("stability", 10);
	this->_allMarkets->push_back(oldPeopleMarket);

	this->_setupPlatforms();
	this->_setupLanguages();
	this->_setupConsumers();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
pushq $0x38
popq %rdi
callq 0x3300
movq %rax, %r14
leaq 0x31c0(%rip), %rsi      # 0xb7ec
movq %rax, %rdi
movl $0x186a0, %edx          # imm = 0x186A0
callq 0x6c20
movq %r14, (%rbx)
pushq $0x18
popq %r14
movq %r14, %rdi
callq 0x3300
movq %rax, 0x8(%rax)
movq %rax, (%rax)
andq $0x0, 0x10(%rax)
movq %rax, 0x8(%rbx)
movq %rax, %rdi
movq %rbx, %rsi
callq 0x948a
movq %r14, %rdi
callq 0x3300
movq %rax, 0x8(%rax)
movq %rax, (%rax)
andq $0x0, 0x10(%rax)
movq %rax, 0x10(%rbx)
movq %r14, %rdi
callq 0x3300
movq %rax, 0x8(%rax)
movq %rax, (%rax)
andq $0x0, 0x10(%rax)
movq %rax, 0x18(%rbx)
andl $0x0, 0x20(%rbx)
pushq $0x8
popq %rdi
callq 0x3300
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4d44
movq %r14, 0x50(%rbx)
pushq $0x18
popq %rdi
callq 0x3300
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
andq $0x0, 0x10(%rax)
movq %rax, 0x48(%rbx)
pushq $0x10
popq %rdi
callq 0x3300
movq %rax, %r14
movq %rax, %rdi
callq 0x42e0
movq %r14, 0x28(%rbx)
pushq $0x18
popq %rdi
callq 0x3300
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
andq $0x0, 0x10(%rax)
movq %rax, 0x40(%rbx)
pushq $0x20
popq %rdi
callq 0x3300
movq %rax, %r14
leaq 0x30f1(%rip), %rsi      # 0xb7f9
movq %rax, %rdi
callq 0x4230
movq %r14, -0x20(%rbp)
leaq 0x30e9(%rip), %rsi      # 0xb804
leaq -0x40(%rbp), %rdi
leaq -0x11(%rbp), %rdx
callq 0x5664
leaq -0x40(%rbp), %rsi
pushq $0xa
popq %rdx
movq %r14, %rdi
callq 0x3d3c
leaq -0x40(%rbp), %rdi
callq 0x3170
movq 0x40(%rbx), %rdi
leaq -0x20(%rbp), %rsi
callq 0x949a
movq %rbx, %rdi
callq 0x87ac
movq %rbx, %rdi
callq 0x8a34
movq %rbx, %rdi
callq 0x8da0
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
leaq -0x40(%rbp), %rdi
callq 0x3170
jmp 0x87a4
movq %rax, %rbx
jmp 0x87a4
movq %rax, %rbx
pushq $0x20
jmp 0x879b
movq %rax, %rbx
pushq $0x10
jmp 0x879b
movq %rax, %rbx
pushq $0x8
jmp 0x879b
movq %rax, %rbx
pushq $0x38
popq %rsi
movq %r14, %rdi
callq 0x3320
movq %rbx, %rdi
callq 0x3510
// File: /workspace/github_cpp_makefile_star2_O2/negativeview[P]Software-Business-Sim/MasterState.cpp
// Function: MasterState::_setupConsumers()
void MasterState::_setupConsumers() {
	for (int i = 0; i < 500; i++) {
		string firstName = this->_names->getFirstName();
		string lastName = this->_names->getLastName();

		int money = rand() % 100000;

		Person *p = new Person(firstName, lastName, money);

		for (vector<Platform *>::iterator it = this->_allPlatforms->begin(); it != this->_allPlatforms->end(); ++it) {
			p->setPlatformSkill(*it, rand() % 100);
		}

		for (vector<Language *>::iterator it2 = this->_allLanguages->begin(); it2 != this->_allLanguages->end(); ++it2) {
			p->setLanguageSkill(*it2, rand() % 100);
		}

		this->_allConsumers->push_back(p);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rdi, %rbx
xorl %r12d, %r12d
pushq $0x64
popq %r15
cmpl $0x1f4, %r12d           # imm = 0x1F4
je 0x8f09
movq 0x28(%rbx), %rdi
callq 0x4b1e
leaq -0x80(%rbp), %rdi
movq %rax, %rsi
leaq -0x60(%rbp), %r14
movq %r14, %rdx
callq 0x5664
movq 0x28(%rbx), %rdi
callq 0x4b52
movq %r14, %rdi
movq %rax, %rsi
leaq -0x30(%rbp), %rdx
callq 0x5664
callq 0x30c0
cltd
movl $0x186a0, %ecx          # imm = 0x186A0
idivl %ecx
movl %edx, %r14d
movl $0x80, %edi
callq 0x3300
movq %rax, -0x40(%rbp)
leaq -0xa0(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x3430
movl %r14d, -0x38(%rbp)
leaq -0xc0(%rbp), %r14
movq %r14, %rdi
leaq -0x60(%rbp), %rsi
callq 0x3430
movl %r12d, -0x34(%rbp)
movq -0x40(%rbp), %r13
movq %r13, %rdi
leaq -0xa0(%rbp), %r12
movq %r12, %rsi
movq %r14, %rdx
movl -0x38(%rbp), %ecx
callq 0x7d54
movq %r14, %rdi
callq 0x3170
movq %r12, %rdi
callq 0x3170
movq %r13, -0x30(%rbp)
movq 0x30(%rbx), %rax
movq (%rax), %r12
cmpq 0x8(%rax), %r12
je 0x8eab
movq -0x30(%rbp), %r14
movq (%r12), %r13
callq 0x30c0
cltd
idivl %r15d
movq %r14, %rdi
movq %r13, %rsi
callq 0x8386
addq $0x8, %r12
movq 0x30(%rbx), %rax
jmp 0x8e7f
movq 0x38(%rbx), %rax
movq (%rax), %r12
cmpq 0x8(%rax), %r12
je 0x8ede
movq -0x30(%rbp), %r14
movq (%r12), %r13
callq 0x30c0
cltd
idivl %r15d
movq %r14, %rdi
movq %r13, %rsi
callq 0x83aa
addq $0x8, %r12
movq 0x38(%rbx), %rax
jmp 0x8eb2
movq 0x18(%rbx), %rdi
leaq -0x30(%rbp), %rsi
callq 0x9506
movl -0x34(%rbp), %r12d
leaq -0x60(%rbp), %rdi
callq 0x3170
leaq -0x80(%rbp), %rdi
callq 0x3170
incl %r12d
jmp 0x8dbe
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x8f40
movq %rax, %rbx
jmp 0x8f34
movq %rax, %rbx
leaq -0xc0(%rbp), %rdi
callq 0x3170
leaq -0xa0(%rbp), %rdi
callq 0x3170
movl $0x80, %esi
movq -0x40(%rbp), %rdi
callq 0x3320
jmp 0x8f5e
jmp 0x8f52
movq %rax, %rbx
jmp 0x8f67
jmp 0x8f5b
jmp 0x8f5b
movq %rax, %rbx
leaq -0x60(%rbp), %rdi
callq 0x3170
leaq -0x80(%rbp), %rdi
callq 0x3170
movq %rbx, %rdi
callq 0x3510
// File: /workspace/github_cpp_makefile_star2_O2/negativeview[P]Software-Business-Sim/MasterState.cpp
// Function: MasterState::clearMessages()
void MasterState::clearMessages() {
	for (vector<char *>::iterator it = this->_messages->begin(); it != this->_messages->end(); ++it) {
		char *tmp = *it;
		free(tmp);
	}

	this->_messages->clear();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x48(%rdi), %rax
movq (%rax), %r14
cmpq 0x8(%rax), %r14
je 0x8fb5
movq (%r14), %rdi
callq 0x33b0
addq $0x8, %r14
movq 0x48(%rbx), %rax
jmp 0x8f9d
movq (%rax), %rcx
cmpq %rcx, %r14
je 0x8fc1
movq %rcx, 0x8(%rax)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/negativeview[P]Software-Business-Sim/MasterState.cpp
// Function: MasterState::advanceTime[abi:cxx11](int)
list <string> *MasterState::advanceTime(int amount) {
	for (int i = 0; i < amount; i++) {
		this->_time++;

		// One in ten chance of creating a new person.
		if (rand() % (this->_allWorkers->size() + 1) == 0) {
			this->_createWorkers(1);
		}

		for (list<Company *>::iterator it = this->_allCompanies->begin(); it != this->_allCompanies->end(); ++it) {
			Company *c = *it;
			c->doPayments(this->_time);

			for (list<Person *>::iterator it = this->_allWorkers->begin(); it != this->_allWorkers->end(); ++it) {
				int found = 0;
				vector<Person *> *knownPeople = c->getKnownPeople();
				for (vector<Person *>::iterator it2 = knownPeople->begin(); it2 != knownPeople->end(); ++it2) {
					if (*it == *it2) {
						found = 1;
						break;
					}
				}
				if (found == 0) {
					// Every person that's not already known has a 1 in 10
					// chance of becoming discovered by the company. This number
					// needs to be tweaked as it causes way too many employees
					// too early.
					if (rand() % 10) {
						c->addKnownPerson(*it);
					}
				}
			}

			c->advanceTime(this->_time);
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
pushq $0xa
popq %r12
incl 0x20(%rbx)
callq 0x30c0
cltq
movq 0x10(%rbx), %rcx
movq 0x10(%rcx), %rcx
incq %rcx
xorl %edx, %edx
divq %rcx
testq %rdx, %rdx
jne 0x9077
movq %rbx, %rdi
pushq $0x1
popq %rsi
callq 0x90fc
movq 0x8(%rbx), %rax
movq %rax, %r13
movq (%r13), %r13
cmpq %rax, %r13
je 0x904d
movq 0x10(%r13), %r15
movl 0x20(%rbx), %esi
movq %r15, %rdi
callq 0x7196
movq 0x10(%rbx), %rax
movq %rax, %r14
movq (%r14), %r14
cmpq %rax, %r14
je 0x90ea
movq %r15, %rdi
callq 0x714e
movq (%rax), %rcx
movq 0x8(%rax), %rax
cmpq %rax, %rcx
je 0x90cb
movq 0x10(%r14), %rdx
leaq 0x8(%rcx), %rsi
cmpq (%rcx), %rdx
movq %rsi, %rcx
jne 0x90b4
jmp 0x90e4
callq 0x30c0
cltd
idivl %r12d
testl %edx, %edx
je 0x90e4
movq 0x10(%r14), %rsi
movq %r15, %rdi
callq 0x7158
movq 0x10(%rbx), %rax
jmp 0x909d
movl 0x20(%rbx), %esi
movq %r15, %rdi
callq 0x70c2
movq 0x8(%rbx), %rax
jmp 0x907e
nop
// File: /workspace/github_cpp_makefile_star2_O2/negativeview[P]Software-Business-Sim/MasterState.cpp
// Function: MasterState::~MasterState()
MasterState::~MasterState() {
	delete this->_playerCompany;
	this->_playerCompany = NULL;
	delete this->_allCompanies;
	this->_allCompanies = NULL;

	for (list<Person *>::iterator allWorkersIterator = this->_allWorkers->begin(); allWorkersIterator != this->_allWorkers->end(); ++allWorkersIterator) {
		Person *p = *allWorkersIterator;
		delete p;
	}
	delete this->_allWorkers;
	this->_allWorkers = NULL;

	for (list<Person *>::iterator allConsumersIterator = this->_allConsumers->begin(); allConsumersIterator != this->_allConsumers->end(); ++allConsumersIterator) {
		Person *p = *allConsumersIterator;
		delete p;
	}
	delete this->_allConsumers;
	this->_allConsumers = NULL;

	for (vector<Platform *>::iterator platformIterator = this->_allPlatforms->begin(); platformIterator != this->_allPlatforms->end(); ++platformIterator) {
		Platform *platform = *platformIterator;
		delete platform;
	}
	delete this->_allPlatforms;
	this->_allPlatforms = NULL;
	delete this->_playerCompany;
	this->_playerCompany = NULL;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %r14
testq %r14, %r14
je 0x9342
movq %r14, %rdi
callq 0x727e
pushq $0x38
popq %rsi
movq %r14, %rdi
callq 0x3320
andq $0x0, (%rbx)
movq 0x8(%rbx), %r14
testq %r14, %r14
je 0x9362
movq %r14, %rdi
callq 0x9516
pushq $0x18
popq %rsi
movq %r14, %rdi
callq 0x3320
andq $0x0, 0x8(%rbx)
movq 0x10(%rbx), %r14
movq %r14, %r15
movq (%r15), %r15
cmpq %r14, %r15
je 0x93a5
movq 0x10(%r15), %r14
testq %r14, %r14
je 0x9392
movq %r14, %rdi
callq 0x83ec
movl $0x80, %esi
movq %r14, %rdi
callq 0x3320
movq 0x10(%rbx), %r14
jmp 0x9379
testq %r14, %r14
je 0x93b2
movq %r14, %rdi
callq 0x954a
pushq $0x18
popq %rsi
movq %r14, %rdi
callq 0x3320
andq $0x0, 0x10(%rbx)
movq 0x18(%rbx), %r14
movq %r14, %r15
movq (%r15), %r15
cmpq %r14, %r15
je 0x93f5
movq 0x10(%r15), %r14
testq %r14, %r14
je 0x93e2
movq %r14, %rdi
callq 0x83ec
movl $0x80, %esi
movq %r14, %rdi
callq 0x3320
movq 0x18(%rbx), %r14
jmp 0x93c9
testq %r14, %r14
je 0x9402
movq %r14, %rdi
callq 0x954a
pushq $0x18
popq %rsi
movq %r14, %rdi
callq 0x3320
andq $0x0, 0x18(%rbx)
movq 0x30(%rbx), %r15
movq (%r15), %r12
pushq $0x40
popq %r14
cmpq 0x8(%r15), %r12
je 0x9449
movq (%r12), %r15
testq %r15, %r15
je 0x9434
movq %r15, %rdi
callq 0xa176
movq %r15, %rdi
movq %r14, %rsi
callq 0x3320
addq $0x8, %r12
movq 0x30(%rbx), %r15
jmp 0x941d
movq %r15, %rdi
callq 0x9e72
pushq $0x18
popq %rsi
movq %r15, %rdi
callq 0x3320
andq $0x0, 0x30(%rbx)
movq (%rbx), %r14
testq %r14, %r14
je 0x9471
movq %r14, %rdi
callq 0x727e
pushq $0x38
popq %rsi
movq %r14, %rdi
callq 0x3320
andq $0x0, (%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/negativeview[P]Software-Business-Sim/Trait.cpp
// Function: Trait::getDiscoveryModifiedText[abi:cxx11]()
string Trait::getDiscoveryModifiedText() {
	stringstream tmp;
	string ret;

	switch (this->_discoveryLevel) {
		case 3:
			tmp << this->_amount;
			tmp >> ret;
			return ret;
			break;
		case 2:
			if (this->_amount < 10)
				return "< 10";
			if (this->_amount < 20)
				return "10s";
			if (this->_amount < 30);
				return "20s";
			if (this->_amount < 40)
				return "30s";
			if (this->_amount < 50)
				return "40s";
			if (this->_amount < 60)
				return "50s";
			if (this->_amount < 70)
				return "60s";
			if (this->_amount < 80)
				return "70s";
			if (this->_amount < 90)
				return "80s";
			return "90s";
			break;
		case 1:
			if (this->_amount < 33)
				return "low";
			if (this->_amount < 66)
				return "medium";
			return "high";
			break;
		case 0:
		default:
			return "Unknown";
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
movq %rsi, %r14
movq %rdi, %rbx
leaq -0x1c8(%rbp), %rdi
callq 0x3210
leaq -0x30(%rbp), %r15
movq %r15, -0x10(%r15)
andq $0x0, -0x8(%r15)
movb $0x0, (%r15)
movl 0x30(%r14), %eax
cmpl $0x1, %eax
je 0x9fd5
cmpl $0x2, %eax
je 0x9fb4
cmpl $0x3, %eax
jne 0x9ff6
leaq -0x1b8(%rbp), %rdi
movl 0x8(%r14), %esi
callq 0x3500
leaq -0x1c8(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x33e0
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq -0x40(%rbp), %rcx
cmpq %r15, %rcx
je 0xa03f
movq %rcx, (%rbx)
movq -0x30(%rbp), %rax
movq %rax, 0x10(%rbx)
jmp 0xa046
movl 0x8(%r14), %eax
cmpl $0x9, %eax
jg 0xa00b
leaq 0x18bc(%rip), %rsi      # 0xb880
leaq -0x19(%rbp), %rdx
movq %rbx, %rdi
callq 0x5664
jmp 0xa085
movl 0x8(%r14), %eax
cmpl $0x20, %eax
jg 0xa025
leaq 0x18a8(%rip), %rsi      # 0xb88d
leaq -0x19(%rbp), %rdx
movq %rbx, %rdi
callq 0x5664
jmp 0xa085
leaq 0x18a0(%rip), %rsi      # 0xb89d
leaq -0x19(%rbp), %rdx
movq %rbx, %rdi
callq 0x5664
jmp 0xa085
cmpl $0x13, %eax
ja 0xa05d
leaq 0x186e(%rip), %rsi      # 0xb885
leaq -0x19(%rbp), %rdx
movq %rbx, %rdi
callq 0x5664
jmp 0xa085
cmpl $0x41, %eax
ja 0xa072
leaq 0x1860(%rip), %rsi      # 0xb891
leaq -0x19(%rbp), %rdx
movq %rbx, %rdi
callq 0x5664
jmp 0xa085
movups (%r15), %xmm0
movups %xmm0, (%rax)
movq -0x38(%rbp), %rax
movq %rax, 0x8(%rbx)
movq %r15, -0x40(%rbp)
andq $0x0, -0x38(%rbp)
movb $0x0, -0x30(%rbp)
jmp 0xa085
leaq 0x1825(%rip), %rsi      # 0xb889
leaq -0x19(%rbp), %rdx
movq %rbx, %rdi
callq 0x5664
jmp 0xa085
leaq 0x181f(%rip), %rsi      # 0xb898
leaq -0x19(%rbp), %rdx
movq %rbx, %rdi
callq 0x5664
leaq -0x40(%rbp), %rdi
callq 0x3170
leaq -0x1c8(%rbp), %rdi
callq 0x3250
movq %rbx, %rax
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0xa0b9
jmp 0xa0b9
jmp 0xa0b9
jmp 0xa0b9
jmp 0xa0b9
jmp 0xa0b9
jmp 0xa0b9
movq %rax, %rbx
leaq -0x40(%rbp), %rdi
callq 0x3170
leaq -0x1c8(%rbp), %rdi
callq 0x3250
movq %rbx, %rdi
callq 0x3510
nop
// File: /workspace/github_cpp_makefile_star2_O2/JD557[P]Wolf/grammar.cpp
// Function: p(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool p(string& in) {
	if (in[0]=='P') {consume(in);}
	else {return false;}

	if (callStack.size()>0) {programCounter=callStack[callStack.size()-1];callStack.pop_back();}
	return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq (%rdi), %rax
movb (%rax), %bl
cmpb $0x50, %bl
jne 0x3419
callq 0x2d34
movq 0x4dae(%rip), %rax      # 0x81a8
cmpq 0x4d9f(%rip), %rax      # 0x81a0
je 0x3419
movq -0x8(%rax), %rcx
movq %rcx, 0x4daa(%rip)      # 0x81b8
addq $-0x8, %rax
movq %rax, 0x4d8f(%rip)      # 0x81a8
cmpb $0x50, %bl
sete %al
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/JD557[P]Wolf/wolf.cpp
// Function: cleanInput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
string cleanInput(string s) {
	string ret="";
	for (size_t i=0;i<s.size();++i) {
		if (s[i]==';') {break;}
		if (s[i]!=' ') {ret+=s[i];}
	}
	return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x30a5(%rip), %rsi      # 0x5798
leaq -0x19(%rbp), %rdx
callq 0x29d4
xorl %r15d, %r15d
cmpq 0x8(%r14), %r15
jae 0x2727
movq (%r14), %rax
movzbl (%rax,%r15), %eax
cmpl $0x20, %eax
je 0x2722
cmpl $0x3b, %eax
je 0x2727
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2130
incq %r15
jmp 0x26ff
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x2090
movq %r14, %rdi
callq 0x2240
// File: /workspace/github_cpp_makefile_star2_O2/JD557[P]Wolf/grammar.cpp
// Function: write(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int, int)
void write(string bin,int start, int end) {
	for (size_t i=0;i<bin.size();++i) {
		if (end>0 && start+i>=end) {return;}
		bool val=(bool)(bin[i]-'0');			
		if (start+i>=systape.size()) {systape.push_back(val);}
		else {systape[start+i]=val;}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebx
movq %rdi, %r14
movslq %esi, %rax
movq %rax, -0x30(%rbp)
movl %edx, %r13d
xorl %r15d, %r15d
cmpq 0x8(%r14), %r15
jae 0x2eae
testl %ebx, %ebx
setle %al
movq -0x30(%rbp), %rcx
leaq (%rcx,%r15), %rsi
cmpq %r13, %rsi
setb %cl
orb %al, %cl
cmpb $0x1, %cl
jne 0x2eae
movq (%r14), %rax
movb (%rax,%r15), %r12b
movq 0x5312(%rip), %rax      # 0x8170
movl 0x5314(%rip), %ecx      # 0x8178
subq 0x52f5(%rip), %rax      # 0x8160
leaq (%rcx,%rax,8), %rax
cmpq %rax, %rsi
jae 0x2e8b
leaq 0x52e5(%rip), %rdi      # 0x8160
callq 0x39c6
cmpb $0x30, %r12b
je 0x2ea3
orq %rdx, (%rax)
jmp 0x2ea9
xorl %esi, %esi
cmpb $0x30, %r12b
setne %sil
leaq 0x52c4(%rip), %rdi      # 0x8160
callq 0x397a
jmp 0x2ea9
notq %rdx
andq %rdx, (%rax)
incq %r15
jmp 0x2e30
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/JD557[P]Wolf/grammar.cpp
// Function: inter(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
Interval inter(string& in) {
	Interval error={-1,-1};	
	Interval i={0,0};

	if (in[0]=='[') {consume(in);}
	else {i.end=systape.size()-1;return i;}
	i.start=number(in);

	if (in[0]==',') {consume(in);}
	else {return error;}

	i.end=number(in);
	if (i.end<i.start) {return error;}
	if (in[0]==']') {consume(in);}
	else {return error;}

	return i;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
movq (%rdi), %rax
cmpb $0x5b, (%rax)
jne 0x2f10
movq %rdi, %rbx
callq 0x2d34
movq %rbx, %rdi
callq 0x2d73
movq %rax, %r14
movq (%rbx), %rax
cmpb $0x2c, (%rax)
jne 0x2f09
movq %rbx, %rdi
callq 0x2d34
movq %rbx, %rdi
callq 0x2d73
movq %rax, %r15
cmpl %r14d, %r15d
jge 0x2f3e
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jmp 0x2f2e
movq 0x5259(%rip), %rax      # 0x8170
subq 0x5242(%rip), %rax      # 0x8160
movl 0x5254(%rip), %ecx      # 0x8178
addq %r12, %rcx
leaq (%rcx,%rax,8), %rax
xorl %r12d, %r12d
shlq $0x20, %rax
orq %r12, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq (%rbx), %rax
cmpb $0x5d, (%rax)
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jne 0x2f2e
movq %rbx, %rdi
callq 0x2d34
movl %r14d, %r12d
movq %r15, %rax
jmp 0x2f2e
// File: /workspace/github_cpp_makefile_star2_O2/JD557[P]Wolf/grammar.cpp
// Function: t(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool t(string& in) {
	if (in[0]=='T') {consume(in);}
	else {return false;}

	unsigned int start=number(in);
	if (in[0]==',') {consume(in);}
	else {return false;}
	if (start>systape.size()) {systape.resize(start);}

	string binary_string;
	string binStr=binaryString(in);
	if (binStr.size()==0) {return false;}
	
	write(binStr,start);

	return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x60, %rsp
movq (%rdi), %rax
cmpb $0x54, (%rax)
jne 0x3025
movq %rdi, %r14
callq 0x2d34
movq %r14, %rdi
callq 0x2d73
movq %rax, %rbx
movq (%r14), %rax
cmpb $0x2c, (%rax)
jne 0x3025
movq %r14, %rdi
callq 0x2d34
movl %ebx, %esi
movq 0x51ce(%rip), %rax      # 0x8170
movl 0x51d0(%rip), %ecx      # 0x8178
subq 0x51b1(%rip), %rax      # 0x8160
leaq (%rcx,%rax,8), %rax
cmpq %rax, %rsi
jbe 0x2fc6
leaq 0x51a1(%rip), %rdi      # 0x8160
xorl %edx, %edx
callq 0x3a0a
leaq -0x60(%rbp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq -0x30(%rbp), %rdi
movq %r14, %rsi
callq 0x2dac
cmpq $0x0, -0x28(%rbp)
setne %r14b
je 0x3011
leaq -0x50(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x21e0
leaq -0x50(%rbp), %rdi
pushq $-0x1
popq %rdx
movl %ebx, %esi
callq 0x2e10
leaq -0x50(%rbp), %rdi
callq 0x2090
leaq -0x30(%rbp), %rdi
callq 0x2090
leaq -0x70(%rbp), %rdi
callq 0x2090
jmp 0x3028
xorl %r14d, %r14d
movl %r14d, %eax
addq $0x60, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0x2090
jmp 0x3045
movq %rax, %rbx
leaq -0x30(%rbp), %rdi
callq 0x2090
jmp 0x3053
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
callq 0x2090
movq %rbx, %rdi
callq 0x2240
// File: /workspace/github_cpp_makefile_star2_O2/JD557[P]Wolf/grammar.cpp
// Function: x(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool x(string& in) {
	if (in[0]=='X') {consume(in);}
	else {return false;}
	systape.resize(0);
	return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq (%rdi), %rax
movb (%rax), %bl
cmpb $0x58, %bl
jne 0x3089
callq 0x2d34
leaq 0x50e0(%rip), %rdi      # 0x8160
xorl %esi, %esi
xorl %edx, %edx
callq 0x3a0a
cmpb $0x58, %bl
sete %al
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/JD557[P]Wolf/grammar.cpp
// Function: j(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool j(string& in) {
	if (in[0]=='J') {consume(in);}
	else {return false;}

	int newLine=number(in);

	Interval interv=inter(in);
	if (interv.start<0 || interv.end<0) {return false;}

	for (size_t i=interv.start;i<=interv.end;++i) {
		if (systape[i]) {programCounter=newLine-1;return true;}
	}
	return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq (%rdi), %rax
cmpb $0x4a, (%rax)
jne 0x32e2
movq %rdi, %r14
callq 0x2d34
movq %r14, %rdi
callq 0x2d73
movq %rax, %rbx
movq %r14, %rdi
callq 0x2ebd
movq %rax, %r15
movabsq $-0x7fffffff80000000, %rax # imm = 0x8000000080000000
testq %rax, %r15
je 0x32f7
xorl %r14d, %r14d
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r15, %r12
shrq $0x20, %r15
andl $0x7fffffff, %r12d      # imm = 0x7FFFFFFF
leaq 0x4e54(%rip), %r13      # 0x8160
movb $0x1, %r14b
cmpq %r15, %r12
ja 0x32e5
movq %r13, %rdi
movq %r12, %rsi
callq 0x39c6
incq %r12
testq %rdx, (%rax)
je 0x330c
decl %ebx
movslq %ebx, %rax
movq %rax, 0x4e85(%rip)      # 0x81b8
jmp 0x32e5
// File: /workspace/github_cpp_makefile_star2_O2/JD557[P]Wolf/grammar.cpp
// Function: c(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool c(string& in) {
	if (in[0]=='C') {consume(in);}
	else {return false;}

	int newLine=number(in);

	Interval interv=inter(in);
	if (interv.start<0 || interv.end<0) {return false;}

	for (size_t i=interv.start;i<=interv.end;++i) {
		if (systape[i]) {
			callStack.push_back(programCounter);
			programCounter=newLine-1;
			return true;}
	}
	return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq (%rdi), %rax
cmpb $0x43, (%rax)
jne 0x3378
movq %rdi, %r14
callq 0x2d34
movq %r14, %rdi
callq 0x2d73
movq %rax, %rbx
movq %r14, %rdi
callq 0x2ebd
movq %rax, %r15
movabsq $-0x7fffffff80000000, %rax # imm = 0x8000000080000000
testq %rax, %r15
je 0x338d
xorl %r14d, %r14d
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r15, %r12
shrq $0x20, %r15
andl $0x7fffffff, %r12d      # imm = 0x7FFFFFFF
leaq 0x4dbe(%rip), %r13      # 0x8160
movb $0x1, %r14b
cmpq %r15, %r12
ja 0x337b
movq %r13, %rdi
movq %r12, %rsi
callq 0x39c6
incq %r12
testq %rdx, (%rax)
je 0x33a2
leaq 0x4ddc(%rip), %rdi      # 0x81a0
leaq 0x4ded(%rip), %rsi      # 0x81b8
callq 0x3bc2
decl %ebx
movslq %ebx, %rax
movq %rax, 0x4ddc(%rip)      # 0x81b8
jmp 0x337b
// File: /workspace/github_cpp_makefile_star2_O2/JD557[P]Wolf/grammar.cpp
// Function: o(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool o(string& in) {
	if (in[0]=='O') {consume(in);}
	else {return false;}

	Interval interval=inter(in);
	if (interval.start<0 || interval.end<0) {return false;}

	cout << "[";
	for (size_t i=interval.start;i<systape.size() && i<=interval.end;++i) {
		cout << systape[i] << ((i==systape.size()-1 || i==interval.end)?"":",");
	}
	cout << "]" << endl;
	return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq (%rdi), %rax
cmpb $0x4f, (%rax)
jne 0x345e
movq %rdi, %rbx
callq 0x2d34
movq %rbx, %rdi
callq 0x2ebd
movq %rax, %rbx
movabsq $-0x7fffffff80000000, %rax # imm = 0x8000000080000000
testq %rax, %rbx
je 0x346f
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %r14
shrq $0x20, %rbx
movq 0x4b4b(%rip), %rdi      # 0x7fc8
leaq 0x23cc(%rip), %rsi      # 0x5850
callq 0x2160
andl $0x7fffffff, %r14d      # imm = 0x7FFFFFFF
leaq 0x4cc9(%rip), %r12      # 0x8160
leaq 0x22fa(%rip), %r13      # 0x5798
leaq 0x23ad(%rip), %r15      # 0x5852
cmpq %rbx, %r14
ja 0x3520
movq 0x4cbf(%rip), %rax      # 0x8170
movl 0x4cc1(%rip), %ecx      # 0x8178
subq 0x4ca2(%rip), %rax      # 0x8160
leaq (%rcx,%rax,8), %rax
cmpq %rax, %r14
jae 0x3520
movq %r12, %rdi
movq %r14, %rsi
callq 0x39c6
xorl %esi, %esi
testq %rdx, (%rax)
setne %sil
movq 0x4ae6(%rip), %rdi      # 0x7fc8
callq 0x2230
movq 0x4c82(%rip), %rcx      # 0x8170
movl 0x4c84(%rip), %edx      # 0x8178
subq 0x4c65(%rip), %rcx      # 0x8160
leaq (%rdx,%rcx,8), %rcx
decq %rcx
cmpq %rcx, %r14
movq %r15, %rsi
cmoveq %r13, %rsi
cmpq %r14, %rbx
cmoveq %r13, %rsi
movq %rax, %rdi
callq 0x2160
incq %r14
jmp 0x34a5
movq 0x4aa1(%rip), %rdi      # 0x7fc8
leaq 0x2326(%rip), %rsi      # 0x5854
callq 0x2160
movq %rax, %rdi
callq 0x20a0
movb $0x1, %al
jmp 0x3460
// File: /workspace/github_cpp_makefile_star2_O2/JD557[P]Wolf/grammar.cpp
// Function: s(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool s(string& in) {
	if (in[0]=='S') {consume(in);}
	else {return false;}

	Interval interval=inter(in);
	if (interval.start<0 || interval.end<0) {return false;}

	cout << "[";
	char accum=0;
	for (size_t i=interval.start;i<systape.size() && i<=interval.end;++i) {
		accum=accum<<1;
		if (systape[i]) {accum|=1;}
		if ((i-interval.start)%8==7) {
			cout << accum << ((i>=systape.size()-8 || i>=interval.end-7)?"":",");
			accum=0;
		}
	}
	cout << "]" << endl;
	return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq (%rdi), %rax
cmpb $0x53, (%rax)
jne 0x357a
movq %rdi, %rbx
callq 0x2d34
movq %rbx, %rdi
callq 0x2ebd
movq %rax, %rbx
movabsq $-0x7fffffff80000000, %rax # imm = 0x8000000080000000
testq %rax, %rbx
je 0x358b
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %r13
shrq $0x20, %r13
movq 0x4a2f(%rip), %rdi      # 0x7fc8
leaq 0x22b0(%rip), %rsi      # 0x5850
callq 0x2160
movl %ebx, %r15d
andl $0x7fffffff, %r15d      # imm = 0x7FFFFFFF
movabsq $-0x700000000, %r14     # imm = 0xFFFFFFF900000000
addq %rbx, %r14
sarq $0x20, %r14
negq %rbx
xorl %r12d, %r12d
cmpq %r13, %r15
ja 0x3675
movq 0x4b9a(%rip), %rax      # 0x8170
movl 0x4b9c(%rip), %ecx      # 0x8178
subq 0x4b7d(%rip), %rax      # 0x8160
leaq (%rcx,%rax,8), %rax
cmpq %rax, %r15
jae 0x3675
addb %r12b, %r12b
leaq 0x4b66(%rip), %rdi      # 0x8160
movq %r15, %rsi
callq 0x39c6
testq %rdx, (%rax)
setne %al
orb %r12b, %al
leal (%rbx,%r15), %ecx
notl %ecx
testb $0x7, %cl
jne 0x366a
movsbl %al, %esi
movq 0x49a8(%rip), %rdi      # 0x7fc8
callq 0x21a0
movq 0x4b44(%rip), %rcx      # 0x8170
movl 0x4b46(%rip), %edx      # 0x8178
subq 0x4b27(%rip), %rcx      # 0x8160
cmpq %r14, %r15
leaq 0x2155(%rip), %r8       # 0x5798
movq %r8, %rsi
leaq 0x2205(%rip), %rdi      # 0x5852
cmovbq %rdi, %rsi
leaq (%rdx,%rcx,8), %rcx
addq $-0x8, %rcx
cmpq %rcx, %r15
cmovaeq %r8, %rsi
movq %rax, %rdi
callq 0x2160
xorl %eax, %eax
incq %r15
movl %eax, %r12d
jmp 0x35c6
movq 0x494c(%rip), %rdi      # 0x7fc8
leaq 0x21d1(%rip), %rsi      # 0x5854
callq 0x2160
movq %rax, %rdi
callq 0x20a0
movb $0x1, %al
jmp 0x357c
// File: /workspace/github_cpp_makefile_star2_O2/JD557[P]Wolf/grammar.cpp
// Function: i(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool i(string& in) {
	if (in[0]=='I') {consume(in);}
	else {return false;}

	Interval i=inter(in);
	if (i.start<0 || i.end<0) {return false;}

	cout << "BINARY INPUT:";
	string input;
	getline(cin,input);

	write(input,i.start,i.end);
	return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x48, %rsp
movq (%rdi), %rax
cmpb $0x49, (%rax)
jne 0x36ca
movq %rdi, %rbx
callq 0x2d34
movq %rbx, %rdi
callq 0x2ebd
movq %rax, %rbx
movabsq $-0x7fffffff80000000, %rax # imm = 0x8000000080000000
testq %rax, %rbx
je 0x36d3
xorl %eax, %eax
addq $0x48, %rsp
popq %rbx
popq %rbp
retq
movq 0x48ee(%rip), %rdi      # 0x7fc8
leaq 0x2175(%rip), %rsi      # 0x5856
callq 0x2160
leaq -0x18(%rbp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq 0x48db(%rip), %rdi      # 0x7fd8
leaq -0x28(%rbp), %rsi
callq 0x2030
leaq -0x48(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x21e0
movq %rbx, %rdx
shrq $0x20, %rdx
leaq -0x48(%rbp), %rdi
movl %ebx, %esi
callq 0x2e10
leaq -0x48(%rbp), %rdi
callq 0x2090
leaq -0x28(%rbp), %rdi
callq 0x2090
movb $0x1, %al
jmp 0x36cc
movq %rax, %rbx
leaq -0x48(%rbp), %rdi
callq 0x2090
jmp 0x374c
movq %rax, %rbx
leaq -0x28(%rbp), %rdi
callq 0x2090
movq %rbx, %rdi
callq 0x2240