LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/SSRcontainer.cpp
// Function: SSRcontainer::add(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<SSR*, std::allocator<SSR*>>*)
void SSRcontainer::add(const string &identifier, vector<SSR*>* ssrs_vec)
{
	if (ssrs_vec != nullptr)
	{
		if (this->ssrs->count(identifier)) // if the key (and thus the associated vector) already exists in the map
		{
			vector<SSR*>* temp_ptr = this->ssrs->at(identifier); // get the vector

			// add each SSR* in ssrs_vec into the vector pointed to by the identifier in the map (this->ssrs)
			for (uint32_t i = 0; i < ssrs_vec->size(); ++i)
			{
				temp_ptr->push_back(ssrs_vec->at(i));
			}
		}
		else // if it doesn't yet exist in the map
		{
			std::pair<string, vector<SSR*>*> temp_pair(identifier, ssrs_vec);
			this->ssrs->insert(temp_pair);
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
testq %rdx, %rdx
je 0x46c0
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movq (%rdi), %rdi
callq 0x4ecc
testq %rax, %rax
je 0x4679
movq (%r14), %rdi
movq %r15, %rsi
callq 0x4fe4
testq %rax, %rax
je 0x46cd
movq (%rbx), %rcx
cmpq %rcx, 0x8(%rbx)
je 0x46c0
movq 0x28(%rax), %r14
movl $0x1, %ebp
xorl %eax, %eax
leaq (%rcx,%rax,8), %rdx
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
je 0x4658
movq (%rdx), %rax
movq %rax, (%rsi)
addq $0x8, 0x8(%r14)
jmp 0x4660
movq %r14, %rdi
callq 0x501e
movl %ebp, %eax
movq (%rbx), %rcx
movq 0x8(%rbx), %rdx
subq %rcx, %rdx
sarq $0x3, %rdx
incl %ebp
cmpq %rax, %rdx
ja 0x463d
jmp 0x46c0
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x3ada
movq %rbx, 0x20(%r15)
movq (%r14), %rdi
movq %r15, %rsi
callq 0x51e4
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x46c0
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3300
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x99e3(%rip), %rdi      # 0xe0b7
callq 0x3420
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x46f3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3300
movq %rbx, %rdi
callq 0x3540
nop
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/SSRcontainer.cpp
// Function: SSRcontainer::writeToFile(std::basic_ofstream<char, std::char_traits<char>>&) const
void SSRcontainer::writeToFile(ofstream &ofd) const
{
	for (unordered_map<string, vector<SSR*>*>::iterator itr = this->ssrs->begin(); itr != this->ssrs->end(); ++itr)
	{
		for (uint32_t i = 0; i < itr->second->size(); ++i)
		{
			ofd << itr->first << '\t';
			itr->second->at(i)->writeToFile(ofd);
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq (%rdi), %rax
movq 0x10(%rax), %r12
testq %r12, %r12
je 0x47a8
movq %rsi, %rbx
leaq 0xf(%rsp), %r14
movq 0x28(%r12), %rax
movq 0x8(%rax), %rcx
cmpq (%rax), %rcx
je 0x479b
movl $0x1, %ebp
xorl %r15d, %r15d
movq 0x8(%r12), %rsi
movq 0x10(%r12), %rdx
movq %rbx, %rdi
callq 0x3360
movb $0x9, 0xf(%rsp)
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x3360
movq 0x28(%r12), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %r15, %rdx
jbe 0x47b5
movq (%rax,%r15,8), %rdi
movq %rbx, %rsi
callq 0x41d0
movq 0x28(%r12), %rax
movq 0x8(%rax), %rcx
subq (%rax), %rcx
movl %ebp, %r15d
sarq $0x3, %rcx
incl %ebp
cmpq %r15, %rcx
ja 0x4736
movq (%r12), %r12
testq %r12, %r12
jne 0x4720
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x9954(%rip), %rdi      # 0xe110
movq %r15, %rsi
xorl %eax, %eax
callq 0x3450
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/SSRcontainer.cpp
// Function: SSRcontainer::writeToFile(OutputFile&, bool, bool)
void SSRcontainer::writeToFile(OutputFile &ofd, bool block, bool clear)
{
	if (ofd.obtainLock(block))
	{
		for (unordered_map<string, vector<SSR*>*>::iterator itr = this->ssrs->begin(); itr != this->ssrs->end(); ++itr)
		{
			for (uint32_t i = 0; i < itr->second->size(); ++i)
			{
				ofd << itr->first << '\t';
				itr->second->at(i)->writeToFile(ofd);
			}
		}

		ofd.unlock();

		if (clear)
		{
			this->clear();
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
movl %edx, %esi
callq 0x3f00
testb %al, %al
je 0x4893
movl %ebp, 0x4(%rsp)
movq (%rbx), %rax
movq 0x10(%rax), %r13
testq %r13, %r13
je 0x486e
movq 0x28(%r13), %rax
movq 0x8(%rax), %rcx
cmpq (%rax), %rcx
je 0x4868
leaq 0x8(%r13), %r15
movl $0x1, %ebp
xorl %r12d, %r12d
movq %r14, %rdi
movq %r15, %rsi
callq 0x40e0
movq %rax, %rdi
movl $0x9, %esi
callq 0x4096
movq 0x28(%r13), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %r12, %rdx
jbe 0x48a2
movq (%rax,%r12,8), %rdi
movq %r14, %rsi
callq 0x4248
movq 0x28(%r13), %rax
movq 0x8(%rax), %rcx
subq (%rax), %rcx
movl %ebp, %r12d
sarq $0x3, %rcx
incl %ebp
cmpq %r12, %rcx
ja 0x4814
movq (%r13), %r13
jmp 0x47f6
movq %r14, %rdi
callq 0x3f20
cmpb $0x0, 0x4(%rsp)
je 0x4893
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x4406
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x9867(%rip), %rdi      # 0xe110
movq %r12, %rsi
xorl %eax, %eax
callq 0x3450
nop
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/SSRcontainer.cpp
// Function: SSRcontainer::writeToFile(OutputFile*, bool, bool)
void SSRcontainer::writeToFile(OutputFile* ofd, bool block, bool clear)
{
	if (ofd->obtainLock(block))
	{
		for (unordered_map<string, vector<SSR*>*>::iterator itr = this->ssrs->begin(); itr != this->ssrs->end(); ++itr)
		{
			for (uint32_t i = 0; i < itr->second->size(); ++i)
			{
				*ofd << itr->first << '\t';
				itr->second->at(i)->writeToFile(*ofd);
			}
		}

		ofd->unlock();

		if (clear)
		{
			this->clear();
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
movl %edx, %esi
callq 0x3f00
testb %al, %al
je 0x4981
movl %ebp, 0x4(%rsp)
movq (%rbx), %rax
movq 0x10(%rax), %r13
testq %r13, %r13
je 0x495c
movq 0x28(%r13), %rax
movq 0x8(%rax), %rcx
cmpq (%rax), %rcx
je 0x4956
leaq 0x8(%r13), %r15
movl $0x1, %ebp
xorl %r12d, %r12d
movq %r14, %rdi
movq %r15, %rsi
callq 0x40e0
movq %rax, %rdi
movl $0x9, %esi
callq 0x4096
movq 0x28(%r13), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %r12, %rdx
jbe 0x4990
movq (%rax,%r12,8), %rdi
movq %r14, %rsi
callq 0x4248
movq 0x28(%r13), %rax
movq 0x8(%rax), %rcx
subq (%rax), %rcx
movl %ebp, %r12d
sarq $0x3, %rcx
incl %ebp
cmpq %r12, %rcx
ja 0x4902
movq (%r13), %r13
jmp 0x48e4
movq %r14, %rdi
callq 0x3f20
cmpb $0x0, 0x4(%rsp)
je 0x4981
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x4406
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x9779(%rip), %rdi      # 0xe110
movq %r12, %rsi
xorl %eax, %eax
callq 0x3450
nop
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/SSRcontainer.cpp
// Function: SSRcontainer::toString[abi:cxx11]() const
string SSRcontainer::toString() const
{
	string output = "SSRcontainer: { ";
	
	for (unordered_map<string, vector<SSR*>*>::iterator itr = this->ssrs->begin(); itr != this->ssrs->end(); ++itr)
	{
		if (itr != this->ssrs->begin())
		{
			output += ", ";
		}
		
		output += itr->first + ": { ";

		for (uint32_t i = 0; i < itr->second->size(); ++i)
		{
			if (i != 0)
			{
				output += ", ";
			}
			
			output += itr->second->at(i)->toString();
		}

		output += " }";
	}

	output += " }";

	return output;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, 0x28(%rsp)
movq %rax, (%rdi)
leaq 0x96c1(%rip), %rsi      # 0xe08a
leaq 0x96ca(%rip), %rdx      # 0xe09a
callq 0x552e
movq %r14, 0x30(%rsp)
movq (%r14), %r14
addq $0x10, %r14
leaq 0x18(%rsp), %r13
leaq 0x8(%rsp), %r15
movq (%r14), %r14
testq %r14, %r14
je 0x4b0e
movq 0x30(%rsp), %rax
movq (%rax), %rax
cmpq 0x10(%rax), %r14
je 0x4a14
movq %rbx, %rdi
leaq 0x968c(%rip), %rsi      # 0xe09b
callq 0x35b0
movq %r13, 0x8(%rsp)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x3ada
movq %r15, %rdi
leaq 0x98a6(%rip), %rsi      # 0xe2dc
callq 0x35b0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x3100
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x4a64
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3300
movq 0x28(%r14), %rax
movq 0x8(%rax), %rcx
cmpq (%rax), %rcx
je 0x4afa
movl $0x1, %ebp
xorl %r12d, %r12d
cmpl $0x1, %ebp
je 0x4a91
movq %rbx, %rdi
leaq 0x960f(%rip), %rsi      # 0xe09b
callq 0x35b0
movq 0x28(%r14), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %r12, %rdx
jbe 0x4b2f
movq (%rax,%r12,8), %rsi
movq %r15, %rdi
callq 0x4296
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x3100
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x4ae1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3300
movq 0x28(%r14), %rax
movq 0x8(%rax), %rcx
subq (%rax), %rcx
movl %ebp, %r12d
sarq $0x3, %rcx
incl %ebp
cmpq %r12, %rcx
ja 0x4a7d
movq %rbx, %rdi
leaq 0x96ae(%rip), %rsi      # 0xe1b2
callq 0x35b0
jmp 0x49eb
leaq 0x969d(%rip), %rsi      # 0xe1b2
movq %rbx, %rdi
callq 0x35b0
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x95da(%rip), %rdi      # 0xe110
movq %r12, %rsi
xorl %eax, %eax
callq 0x3450
jmp 0x4b6a
jmp 0x4b6a
jmp 0x4b4e
jmp 0x4b4e
jmp 0x4b6a
jmp 0x4b6a
jmp 0x4b6a
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x4b6d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3300
jmp 0x4b6d
movq %rax, %r14
movq (%rbx), %rdi
movq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x4b85
movq (%rax), %rsi
incq %rsi
callq 0x3300
movq %r14, %rdi
callq 0x3540
nop
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/AtomicityChecker.cpp
// Function: AtomicityChecker::~AtomicityChecker()
AtomicityChecker::~AtomicityChecker()
{
	for (unordered_map<uint32_t, unordered_set<uint32_t>*>::iterator itr = this->factors->begin(); itr != this->factors->end(); ++itr)
	{
		delete itr->second;
	}
	this->factors->clear();
	delete this->factors;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rax
movq 0x10(%rax), %r15
testq %r15, %r15
je 0x5d9f
movq 0x10(%r15), %r14
testq %r14, %r14
je 0x5d9a
movq %r14, %rdi
callq 0x63b8
movl $0x38, %esi
movq %r14, %rdi
callq 0x3300
movq (%r15), %r15
jmp 0x5d77
movq (%rbx), %rdi
callq 0x66b4
movq (%rbx), %rbx
testq %rbx, %rbx
je 0x5dc9
movq %rbx, %rdi
callq 0x668e
movl $0x38, %esi
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x3300
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/AtomicityChecker.cpp
// Function: AtomicityChecker::isAtomic(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
bool AtomicityChecker::isAtomic(const string &base_ssr)
{
	uint32_t period = base_ssr.size();

	// get the factors (calculate them if necessary)
	unordered_set<uint32_t>* period_factors = this->calculateFactors(period);

	// check if it's atomic
	for (unordered_set<uint32_t>::iterator itr = period_factors->begin(); itr != period_factors->end(); ++itr)
	{
		if ( (*itr != period) && (!this->checkAtomicityAtFactor(*itr, base_ssr, period)) )
		{
			return false; // basically, skip the check if *itr == period. Given that, if it's not atomic, return false
		}
	}

	return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movl 0x8(%rsi), %ebp
movl %ebp, %esi
callq 0x5e1e
movq 0x10(%rax), %r15
testq %r15, %r15
sete %r14b
je 0x5e0c
movl 0x8(%r15), %esi
cmpl %ebp, %esi
je 0x5e07
movq %rbx, %rdx
movl %ebp, %ecx
callq 0x5fa0
testb %al, %al
je 0x5e0c
movq (%r15), %r15
jmp 0x5de8
andb $0x1, %r14b
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/AtomicityChecker.cpp
// Function: AtomicityChecker::calculateFactors(unsigned int)
unordered_set<uint32_t>* AtomicityChecker::calculateFactors(uint32_t x)
{
	if (this->factors->count(x))
	{
		return this->factors->at(x);
	}

	if (x == 1)
	{
		this->safeInsert(1, new unordered_set<uint32_t>( {1} ) );
		return this->factors->at(x);
	}
	
	unordered_set<uint32_t>* xfactors = new unordered_set<uint32_t>( {1, x} );

	for (uint32_t i = 2; i <= (x / 2); ++i)
	{
		if ( (x % i) == 0) // english: if i is a factor of x
		{
			xfactors->insert(i); // add i to xfactors

			if (!this->factors->count(i)) // if i is not in this->factors
			{
				this->safeInsert(i, this->calculateFactors(i)); // add it
			}
		}
	}

	this->safeInsert(x, xfactors);
	return this->factors->at(x);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
leaq 0x14(%rsp), %rax
movl %esi, (%rax)
movq (%rdi), %rdi
movq %rax, %rsi
callq 0x6ff0
testq %rax, %rax
jne 0x5f60
movl 0x14(%rsp), %ebp
movl $0x38, %edi
callq 0x32f0
movq %rax, %r14
cmpl $0x1, %ebp
jne 0x5ea6
leaq 0x1c(%rsp), %rdx
movl $0x1, -0x4(%rdx)
movb $0x1, %bpl
leaq 0xe(%rsp), %rax
movq %rax, (%rsp)
leaq 0x18(%rsp), %rsi
leaq 0x10(%rsp), %r8
leaq 0xf(%rsp), %r9
movq %r14, %rdi
xorl %ecx, %ecx
callq 0x683c
xorl %ebp, %ebp
movq %rbx, %rdi
movl $0x1, %esi
movq %r14, %rdx
callq 0x62b0
jmp 0x5f60
leaq 0x20(%rsp), %rdx
movl $0x1, -0x8(%rdx)
movl %ebp, -0x4(%rdx)
leaq 0xe(%rsp), %rax
movq %rax, (%rsp)
leaq 0x18(%rsp), %rsi
leaq 0x10(%rsp), %r8
leaq 0xf(%rsp), %r9
movq %r14, %rdi
xorl %ecx, %ecx
callq 0x683c
movl $0x2, 0x10(%rsp)
movl 0x14(%rsp), %eax
cmpl $0x4, %eax
jb 0x5f53
movl $0x2, %ecx
leaq 0x10(%rsp), %r15
leaq 0x18(%rsp), %r12
xorl %edx, %edx
divl %ecx
testl %edx, %edx
jne 0x5f3d
movq %r14, 0x18(%rsp)
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x693c
movq (%rbx), %rdi
movq %r15, %rsi
callq 0x6ff0
testq %rax, %rax
jne 0x5f3d
movl 0x10(%rsp), %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x5e1e
movq %rbx, %rdi
movl %ebp, %esi
movq %rax, %rdx
callq 0x62b0
movl 0x10(%rsp), %ecx
incl %ecx
movl %ecx, 0x10(%rsp)
movl 0x14(%rsp), %eax
movl %eax, %edx
shrl %edx
cmpl %edx, %ecx
jbe 0x5ef7
movq %rbx, %rdi
movl %eax, %esi
movq %r14, %rdx
callq 0x62b0
movq (%rbx), %rdi
leaq 0x14(%rsp), %rsi
callq 0x730e
movq (%rax), %rax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x5f8a
movq %rax, %rbx
testb %bpl, %bpl
je 0x5f97
movl $0x38, %esi
movq %r14, %rdi
callq 0x3300
movq %rbx, %rdi
callq 0x3540
nop
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/AtomicityChecker.cpp
// Function: AtomicityChecker::checkAtomicityAtFactor(unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned int) const
bool AtomicityChecker::checkAtomicityAtFactor(uint32_t factor, const string &base_ssr, uint32_t period) const
{
	uint32_t count = 1;

	for (uint32_t i = 0; i < period; i += factor)
	{
		if ( base_ssr.substr(i, factor) != base_ssr.substr(i + factor, factor) )
		{
			break;
		}
		++count;
	}

	return count != (period / factor);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %esi, %ebx
movl %ecx, 0x4(%rsp)
testl %ecx, %ecx
je 0x606f
movq %rdx, %r14
movl %ebx, %r15d
xorl %r12d, %r12d
movl $0x1, %r13d
movl %r12d, %edx
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
movq %r15, %rcx
callq 0x3320
movl %ebx, %ebp
addl %ebx, %r12d
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
movq %r12, %rdx
movq %r15, %rcx
callq 0x3320
movq 0x10(%rsp), %rdx
movb $0x1, %bl
cmpq 0x30(%rsp), %rdx
jne 0x6021
testq %rdx, %rdx
je 0x601f
movq 0x28(%rsp), %rsi
movq 0x8(%rsp), %rdi
callq 0x3310
testl %eax, %eax
setne %bl
jmp 0x6021
xorl %ebx, %ebx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x603d
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3300
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x6059
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3300
testb %bl, %bl
jne 0x6077
incl %r13d
cmpl 0x4(%rsp), %r12d
movl %ebp, %ebx
jb 0x5fcb
jmp 0x6079
movl $0x1, %r13d
jmp 0x6079
movl %ebp, %ebx
movl 0x4(%rsp), %eax
xorl %edx, %edx
divl %ebx
cmpl %eax, %r13d
setne %al
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x60b5
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3300
movq %rbx, %rdi
callq 0x3540
nop
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/AtomicityChecker.cpp
// Function: AtomicityChecker::toString[abi:cxx11]() const
string AtomicityChecker::toString() const
{
	stringstream strm;
	strm << "AtomicityChecker: { factors: { ";

	for (unordered_map<uint32_t, unordered_set<uint32_t>*>::iterator itr = this->factors->begin(); itr != this->factors->end(); ++itr)
	{
		if (itr != this->factors->begin())
		{
			strm << ", ";
		}

		strm << itr->first << ": { ";

		for (unordered_set<uint32_t>::iterator inner_itr = itr->second->begin(); inner_itr != itr->second->end(); ++inner_itr)
		{
			if (inner_itr != itr->second->begin())
			{
				strm << ", ";
			}
			strm << *inner_itr;
		}

		strm << " }";
	}

	strm << " } }";
	return strm.str();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x10(%rsp), %rdi
callq 0x3200
leaq 0x20(%rsp), %r14
leaq 0x80a5(%rip), %rsi      # 0xe190
movl $0x1f, %edx
movq %r14, %rdi
callq 0x3360
movq %rbx, 0x8(%rsp)
movq (%r15), %rbx
addq $0x10, %rbx
leaq 0x80a7(%rip), %r13      # 0xe1b2
leaq 0x7f89(%rip), %rbp      # 0xe09b
movq (%rbx), %rbx
testq %rbx, %rbx
je 0x61a5
movq (%r15), %rax
cmpq 0x10(%rax), %rbx
je 0x6137
movl $0x2, %edx
movq %r14, %rdi
movq %rbp, %rsi
callq 0x3360
movl 0x8(%rbx), %esi
movq %r14, %rdi
callq 0x31e0
movl $0x4, %edx
movq %rax, %rdi
leaq 0x818b(%rip), %rsi      # 0xe2dc
callq 0x3360
movq 0x10(%rbx), %r12
addq $0x10, %r12
movq (%r12), %r12
testq %r12, %r12
je 0x6190
movq 0x10(%rbx), %rax
cmpq 0x10(%rax), %r12
je 0x6181
movl $0x2, %edx
movq %r14, %rdi
movq %rbp, %rsi
callq 0x3360
movl 0x8(%r12), %esi
movq %r14, %rdi
callq 0x31e0
jmp 0x615e
movl $0x2, %edx
movq %r14, %rdi
movq %r13, %rsi
callq 0x3360
jmp 0x6112
leaq 0x8004(%rip), %rsi      # 0xe1b0
movl $0x4, %edx
movq %r14, %rdi
callq 0x3360
movq 0x8(%rsp), %rbx
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x3490
movq 0xedae(%rip), %rsi      # 0x14f80
leaq 0x10(%rsp), %rdi
callq 0x3240
leaq 0x90(%rsp), %rdi
callq 0x3110
movq %rbx, %rax
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x6202
jmp 0x6202
movq %rax, %rbx
movq 0xed74(%rip), %rsi      # 0x14f80
leaq 0x10(%rsp), %rdi
callq 0x3240
leaq 0x90(%rsp), %rdi
callq 0x3110
movq %rbx, %rdi
callq 0x3540
nop
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/AtomicityChecker.cpp
// Function: AtomicityChecker::safeInsert(unsigned int, std::unordered_set<unsigned int, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<unsigned int>>*)
void AtomicityChecker::safeInsert(uint32_t x, unordered_set<uint32_t>* xfactors)
{
	sem_wait(&(this->lock));
	if (!this->factors->count(x)) // if x is not already in this->factors
	{
		std::pair<uint32_t, unordered_set<uint32_t> * > temp_pair(x, xfactors);
		this->factors->insert(temp_pair); // add it
	}
	else if (this->factors->at(x) != xfactors) // else if x is already in this->factors, but has a different set than xfactors
	{
		delete xfactors;
	}
	sem_post(&(this->lock));
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movq %rdi, %r15
leaq 0x4(%rsp), %r12
movl %esi, (%r12)
leaq 0x8(%rdi), %rbx
movq %rbx, %rdi
callq 0x31b0
movq (%r15), %rdi
movq %r12, %rsi
callq 0x6ff0
testq %rax, %rax
je 0x6314
movq (%r15), %rdi
leaq 0x4(%rsp), %rsi
callq 0x730e
testq %r14, %r14
je 0x632b
cmpq %r14, (%rax)
je 0x632b
movq %r14, %rdi
callq 0x63b8
movl $0x38, %esi
movq %r14, %rdi
callq 0x3300
jmp 0x632b
movl 0x4(%rsp), %eax
leaq 0x8(%rsp), %rsi
movl %eax, (%rsi)
movq %r14, 0x8(%rsi)
movq (%r15), %rdi
callq 0x706a
movq %rbx, %rdi
callq 0x34e0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/FindSSRs.cpp
// Function: FindSSRs::FindSSRs(Arguments*)
FindSSRs::FindSSRs(Arguments* _args)
{
	this->args = _args;
	this->out_file = new OutputFile(this->args->getOutFileName());
	this->out_file->write("#Sequence_Name\tSSR\tRepeats\tPosition\n");
	this->progress_bar = new ProgressMeter(this->args->displayProgressBar());
	this->atomicity_checker = new AtomicityChecker();
	this->tasks = new TaskQueue(this->args->getMaxTaskQueueSize());
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
movq $0x0, 0x18(%rdi)
movq %rsi, (%rdi)
movl $0x220, %edi            # imm = 0x220
callq 0x32f0
movq %rax, %r15
movq %rsp, %rdi
movq %r14, %rsi
callq 0xb958
movq %rsp, %rsi
movq %r15, %rdi
callq 0x3ba0
movq %r15, 0x20(%rbx)
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x73b3
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3300
movq 0x20(%rbx), %rdi
leaq 0x6df7(%rip), %rsi      # 0xe1b5
callq 0x3f70
movl $0x38, %edi
callq 0x32f0
movq %rax, %r15
movq (%rbx), %rdi
callq 0xb7b8
movzbl %al, %esi
movq %r15, %rdi
callq 0xd6c4
movq %r15, 0x28(%rbx)
movl $0x28, %edi
callq 0x32f0
movq %rax, %r15
movq %rax, %rdi
callq 0x55c0
movq %r15, 0x30(%rbx)
movl $0x68, %edi
callq 0x32f0
movq %rax, %r15
movq (%rbx), %rdi
callq 0xb7bc
movq %r15, %rdi
movl %eax, %esi
callq 0x986e
movq %r15, 0x38(%rbx)
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
movl $0x28, %esi
jmp 0x7473
movq %rax, %r14
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x745a
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3300
jmp 0x745a
movq %rax, %r14
movl $0x220, %esi            # imm = 0x220
jmp 0x7473
movq %rax, %r14
movl $0x68, %esi
jmp 0x7473
movq %rax, %r14
movl $0x38, %esi
movq %r15, %rdi
callq 0x3300
jmp 0x7480
movq %rax, %r14
leaq 0x8(%rbx), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0x7498
movq 0x18(%rbx), %rsi
subq %rdi, %rsi
callq 0x3300
movq %r14, %rdi
callq 0x3540
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/FindSSRs.cpp
// Function: FindSSRs::~FindSSRs()
FindSSRs::~FindSSRs()
{
	delete this->out_file;
	delete this->progress_bar;
	delete this->atomicity_checker;
	delete this->tasks;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x20(%rdi), %r14
testq %r14, %r14
je 0x74c5
movq %r14, %rdi
callq 0x3e2a
movl $0x220, %esi            # imm = 0x220
movq %r14, %rdi
callq 0x3300
movq 0x28(%rbx), %r14
testq %r14, %r14
je 0x74e3
movq %r14, %rdi
callq 0xd700
movl $0x38, %esi
movq %r14, %rdi
callq 0x3300
movq 0x30(%rbx), %r14
testq %r14, %r14
je 0x7501
movq %r14, %rdi
callq 0x5d68
movl $0x28, %esi
movq %r14, %rdi
callq 0x3300
movq 0x38(%rbx), %r14
testq %r14, %r14
je 0x751f
movq %r14, %rdi
callq 0x9874
movl $0x68, %esi
movq %r14, %rdi
callq 0x3300
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x753b
movq 0x18(%rbx), %rsi
subq %rdi, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x3300
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/FindSSRs.cpp
// Function: FindSSRs::run()
uint32_t FindSSRs::run()
{
	// set up consumers
	uint32_t error = this->makeThreads(); // set up consumers

	if (error)
	{
		return error;
	}

	// find the ssrs in the sequences
	try
	{
		this->processInput(); // produce (and consume if only main thread)
	}
	catch (string e)
	{
		cerr << e << endl;
		return 1;
	}
	catch (const char* e)
	{
		cerr << e << endl;
		return 1;
	}

	// join threads
	//cerr << "About to start joining threads..." << endl;
	//usleep(3000000);
	this->joinAndForgetAllThreads(); // clean up consumers

	// we're done!
	return 0;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
callq 0x764a
testl %eax, %eax
jne 0x7569
movq %rbx, %rdi
callq 0x777a
movq %rbx, %rdi
callq 0x7cbc
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
cmpl $0x2, %edx
jne 0x75dd
movq %rbx, %rdi
callq 0x33b0
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0x3ada
movq %rbx, %rdi
callq 0x3130
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0xda39(%rip), %rdi      # 0x14ff0
callq 0x3360
movq %rax, %rdi
callq 0x3150
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x7601
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3300
jmp 0x7601
cmpl $0x1, %edx
jne 0x7639
movq %rbx, %rdi
callq 0x3130
movq 0xd9ff(%rip), %rdi      # 0x14ff0
movq %rax, %rsi
callq 0x32e0
movq %rax, %rdi
callq 0x3150
callq 0x34c0
movl $0x1, %eax
jmp 0x7569
movq %rax, %rbx
callq 0x34c0
jmp 0x7639
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x7634
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3300
callq 0x34c0
movq %rbx, %rdi
callq 0x3540
movq %rax, %rdi
callq 0x3ace
nop
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/FindSSRs.cpp
// Function: FindSSRs::makeThreads()
uint32_t FindSSRs::makeThreads()
{
	pthread_attr_t tattr;
	pthread_attr_init(&tattr);
	pthread_attr_setdetachstate(&tattr, PTHREAD_CREATE_JOINABLE);
	//pthread_attr_setdetachstate(&tattr, PTHREAD_CREATE_DETACHED);
	
	for (uint32_t i = 1; i < this->args->getNumThreads(); ++i)
	{
		pthread_t thread;
		this->threads.push_back(thread);

		if ( pthread_create(&(this->threads[this->threads.size() - 1]), &tattr, &consume, (void*) new ConsumerArguments(this->tasks, this->progress_bar, this->out_file, this->atomicity_checker, this->args)) != 0 )
		{
			perror("creating threads");
			return errno;
		}
	}

	pthread_attr_destroy(&tattr);

	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdi, %rbx
leaq 0x20(%rsp), %r14
movq %r14, %rdi
callq 0x3390
movq %r14, %rdi
xorl %esi, %esi
callq 0x33c0
movq (%rbx), %rdi
callq 0xb7ec
cmpl $0x2, %eax
setae %bpl
jb 0x7755
leaq 0x8(%rbx), %rax
movq %rax, 0x10(%rsp)
movl $0x1, %r14d
leaq 0x6b0(%rip), %r12       # 0x7d4d
leaq 0x20(%rsp), %r13
movq 0x10(%rbx), %rsi
cmpq 0x18(%rbx), %rsi
je 0x76be
movq 0x18(%rsp), %rax
movq %rax, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x10(%rbx)
jmp 0x76cd
movq 0x10(%rsp), %rdi
leaq 0x18(%rsp), %rdx
callq 0x8e82
movq 0x10(%rbx), %r15
addq $-0x8, %r15
movl $0x28, %edi
callq 0x32f0
movq 0x38(%rbx), %rcx
movq 0x28(%rbx), %rdx
movq (%rbx), %rsi
movq 0x20(%rbx), %rdi
movq 0x30(%rbx), %r8
movq %rcx, (%rax)
movq %rdx, 0x8(%rax)
movq %rdi, 0x10(%rax)
movq %r8, 0x18(%rax)
movq %rsi, 0x20(%rax)
movq %r15, %rdi
movq %r13, %rsi
movq %r12, %rdx
movq %rax, %rcx
callq 0x3570
movl %eax, %r15d
testl %eax, %eax
jne 0x773c
testl %r15d, %r15d
jne 0x7755
incl %r14d
movq (%rbx), %rdi
callq 0xb7ec
cmpl %eax, %r14d
setb %bpl
jb 0x76a2
jmp 0x7755
leaq 0x6a97(%rip), %rdi      # 0xe1da
callq 0x3270
callq 0x3040
movl (%rax), %eax
movl %eax, 0xc(%rsp)
jmp 0x771d
testb $0x1, %bpl
movl 0xc(%rsp), %eax
jne 0x776b
leaq 0x20(%rsp), %rdi
callq 0x34d0
xorl %eax, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/FindSSRs.cpp
// Function: FindSSRs::joinAndForgetAllThreads()
void FindSSRs::joinAndForgetAllThreads()
{
	for (uint32_t i = 0; i < this->threads.size(); ++i)
	{
		//cerr << "Attempting to join thread #" << i << " with ID=" << this->threads[i] << endl;
		long status = 0L;
		long* status_ptr = &status;

		int joinerr = 0;
		joinerr = pthread_join(this->threads[i],(void**) &status_ptr); //if ( pthread_join(this->threads[i],(void**) &status_ptr) != 0)
		if ( joinerr != 0 && joinerr != EINVAL)
		{
			perror("joining thread");
			//cerr << "joinerr,errno" << joinerr << "," << errno << endl;
		}
	}

	this->threads.clear();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq 0x8(%rdi), %rax
movq 0x10(%rdi), %rdx
cmpq %rax, %rdx
je 0x7d37
movl $0x1, %ebp
xorl %ecx, %ecx
leaq 0x8(%rsp), %r12
movq %rsp, %r14
leaq 0x64fd(%rip), %r15      # 0xe1eb
movq $0x0, 0x8(%rsp)
movq %r12, (%rsp)
movq (%rax,%rcx,8), %rdi
movq %r14, %rsi
callq 0x32c0
testl %eax, %eax
je 0x7d10
cmpl $0x16, %eax
jne 0x7d2d
movl %ebp, %ecx
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rdx
movq %rdx, %rsi
subq %rax, %rsi
sarq $0x3, %rsi
incl %ebp
cmpq %rcx, %rsi
ja 0x7cee
jmp 0x7d37
movq %r15, %rdi
callq 0x3270
jmp 0x7d10
cmpq %rax, %rdx
je 0x7d40
movq %rax, 0x10(%rbx)
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/FindSSRs.cpp
// Function: FindSSRs::splitStringOnIgnoredChars(std::vector<unsigned int, std::allocator<unsigned int>>&, std::vector<unsigned int, std::allocator<unsigned int>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned int&)
void FindSSRs::splitStringOnIgnoredChars(vector<uint32_t> &starts, vector<uint32_t> &sizes, const string &sequence, uint32_t &actually_ignored_chars)
{
	for (uint32_t i = 0; i < sequence.size(); ++i)
	{
		//if (!this->args->alphabet->count(sequence[i])) // if it's a "bad" character
		if (!this->args->inAlphabet(sequence[i])) // if it's a "bad" character
		{
			sizes.push_back(i - starts[starts.size() - 1]);
			++actually_ignored_chars;
		
			if (sizes[sizes.size() - 1] == 0)
			{
				starts.pop_back();
				sizes.pop_back();
			}

			starts.push_back(i + 1);
		}
	}

	sizes.push_back(sequence.size() - starts[starts.size() - 1]);

	if (sizes[sizes.size() - 1] == 0)
	{
		starts.pop_back();
		sizes.pop_back();
	}

	// Sanity check
	if (starts.size() != sizes.size())
	{
		cerr << "\n\tERROR! starts and sizes are not the same size!\n" << endl;
		exit(1);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq 0x8(%rcx), %rax
testq %rax, %rax
je 0x7f92
movq %r8, %r15
movq %rcx, %r12
movq %rdi, %r13
movl $0x1, %ebp
xorl %ecx, %ecx
movq (%r13), %rdi
movq (%r12), %rax
movsbl (%rax,%rcx), %esi
callq 0xb8e2
testb %al, %al
jne 0x7f80
movq 0x8(%r14), %rax
movl -0x4(%rax), %eax
notl %eax
addl %ebp, %eax
movl %eax, 0x14(%rsp)
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x7f35
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x7f42
movq %rbx, %rdi
leaq 0x14(%rsp), %rdx
callq 0x8fa2
incl (%r15)
movq 0x8(%rbx), %rax
cmpl $0x0, -0x4(%rax)
jne 0x7f59
addq $-0x4, 0x8(%r14)
addq $-0x4, 0x8(%rbx)
movl %ebp, 0x10(%rsp)
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
je 0x7f73
movl %ebp, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%r14)
jmp 0x7f80
movq %r14, %rdi
leaq 0x10(%rsp), %rdx
callq 0x8fa2
movl %ebp, %ecx
movq 0x8(%r12), %rax
incl %ebp
cmpq %rcx, %rax
ja 0x7efb
movq 0x8(%r14), %rcx
subl -0x4(%rcx), %eax
movl %eax, 0xc(%rsp)
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x7fb3
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x7fc0
leaq 0xc(%rsp), %rdx
movq %rbx, %rdi
callq 0x8fa2
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
cmpl $0x0, -0x4(%rcx)
jne 0x7fd7
addq $-0x4, 0x8(%r14)
addq $-0x4, 0x8(%rbx)
movq 0x8(%r14), %rcx
subq (%r14), %rcx
movq 0x8(%rbx), %rdx
subq %rax, %rdx
cmpq %rdx, %rcx
jne 0x7ff9
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0xcff0(%rip), %rdi      # 0x14ff0
leaq 0x61f3(%rip), %rsi      # 0xe1fa
callq 0x32e0
movq %rax, %rdi
callq 0x3150
movl $0x1, %edi
callq 0x3380
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/Arguments.cpp
// Function: Arguments::~Arguments()
Arguments::~Arguments()
{
	this->alphabet->clear();
	delete this->alphabet;

	this->periods->clear();
	delete this->periods;
	
	this->enumerated_ssrs->clear();
	delete this->enumerated_ssrs;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rdi
callq 0xc8c4
movq (%rbx), %r14
testq %r14, %r14
je 0xb6b4
movq %r14, %rdi
callq 0xc89e
movl $0x38, %esi
movq %r14, %rdi
callq 0x3300
movq 0xa8(%rbx), %rdi
callq 0xc9fc
movq 0xa8(%rbx), %r14
testq %r14, %r14
je 0xb6e1
movq %r14, %rdi
callq 0xc90e
movl $0x30, %esi
movq %r14, %rdi
callq 0x3300
movq 0xc0(%rbx), %rdi
callq 0xc984
movq 0xc0(%rbx), %r14
testq %r14, %r14
je 0xb70e
movq %r14, %rdi
callq 0xc95e
movl $0x38, %esi
movq %r14, %rdi
callq 0x3300
movq 0xd0(%rbx), %rdi
leaq 0xe0(%rbx), %rax
cmpq %rax, %rdi
je 0xb72c
movq (%rax), %rsi
incq %rsi
callq 0x3300
movq 0x88(%rbx), %rdi
leaq 0x98(%rbx), %rax
cmpq %rax, %rdi
je 0xb74a
movq (%rax), %rsi
incq %rsi
callq 0x3300
movq 0x58(%rbx), %rdi
leaq 0x68(%rbx), %rax
cmpq %rax, %rdi
je 0xb762
movq (%rax), %rsi
incq %rsi
callq 0x3300
movq 0x30(%rbx), %rdi
leaq 0x40(%rbx), %rax
cmpq %rax, %rdi
je 0xb77a
movq (%rax), %rsi
incq %rsi
callq 0x3300
movq 0x10(%rbx), %rdi
addq $0x20, %rbx
cmpq %rbx, %rdi
je 0xb799
movq (%rbx), %rsi
incq %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x3300
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/Arguments.cpp
// Function: Arguments::parsePositiveIntegerArgument(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
uint32_t Arguments::parsePositiveIntegerArgument(string argument)
{
	long int num = strtol(argument.c_str(), NULL, 10);

	if (num != 0L and num != LONG_MAX and num != LONG_MIN and num > 0)
	{
		return (uint32_t) num;
	}
	else
	{
		throw "ERROR: One of your arguments should have been a positive integer, but it wasn't.";
	}
}

// Assembly:
pushq %rax
movq (%rsi), %rdi
xorl %esi, %esi
movl $0xa, %edx
callq 0x33f0
movabsq $0x7ffffffffffffffe, %rcx # imm = 0x7FFFFFFFFFFFFFFE
leaq 0x1(%rcx), %rdx
testq %rdx, %rax
je 0xba40
leaq -0x1(%rax), %rdx
cmpq %rcx, %rdx
jae 0xba40
popq %rcx
retq
movl $0x8, %edi
callq 0x3160
leaq 0x37cb(%rip), %rcx      # 0xf21c
movq %rcx, (%rax)
movq 0x9545(%rip), %rsi      # 0x14fa0
movq %rax, %rdi
xorl %edx, %edx
callq 0x3510
nop
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/Arguments.cpp
// Function: Arguments::addToAlphabet(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void Arguments::addToAlphabet(string alphabet_str)
{
	for (uint32_t i = 0; i < alphabet_str.size(); ++i)
	{
		if (!isalpha(alphabet_str[i]) && alphabet_str[i] != ',')
		{
			throw string("ERROR: '") + alphabet_str[i] + "' is not a valid alphabet character.";
		}

		this->alphabet->insert(toupper(alphabet_str[i]));
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, (%rsp)
cmpq $0x0, 0x8(%rsi)
je 0xbadb
movq %rsi, %r14
movl $0x1, %r12d
xorl %r15d, %r15d
movq (%r14), %rbx
movsbl (%rbx,%r15), %ebp
movl %ebp, %edi
callq 0x34a0
cmpl $0x2c, %ebp
je 0xbaa3
testl %eax, %eax
je 0xbaea
movq (%rsp), %rax
movq (%rax), %r13
movsbl (%rbx,%r15), %edi
callq 0x3590
movb %al, 0x8(%rsp)
movq %r13, 0x28(%rsp)
movq %r13, %rdi
leaq 0x8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0xcc04
movl %r12d, %r15d
incl %r12d
cmpq %r15, 0x8(%r14)
ja 0xba8b
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0x3160
movq %rax, %rbx
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x39e0(%rip), %rsi      # 0xf4e8
leaq 0x39e1(%rip), %rdx      # 0xf4f0
leaq 0x8(%rsp), %rdi
callq 0x552e
movq (%r14), %rax
movsbl (%rax,%r15), %edx
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xc7e1
movb $0x1, %bpl
leaq 0x39b7(%rip), %rdx      # 0xf4f1
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0xc6c8
xorl %ebp, %ebp
leaq 0x9210(%rip), %rsi      # 0x14d60
movq 0x9439(%rip), %rdx      # 0x14f90
movq %rbx, %rdi
callq 0x3510
movq %rax, %r14
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xbb85
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3300
jmp 0xbb85
movq %rax, %r14
movb $0x1, %bpl
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xbba4
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3300
jmp 0xbba4
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0xbbb1
movq %rbx, %rdi
callq 0x3230
movq %r14, %rdi
callq 0x3540
nop
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/Arguments.cpp
// Function: Arguments::adjustMinSequenceLength()
void Arguments::adjustMinSequenceLength()
{
	// if the minimum period size we're searching for cannot repeat in
	// the minimum sequence size, why even look in those sequences?
	if (this->min_sequence_length < *this->periods->rbegin() * 2)
	{
		this->min_sequence_length = *this->periods->rbegin() * 2;
	}
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x78(%rdi), %ebp
movq 0xa8(%rdi), %rdi
addq $0x8, %rdi
callq 0x31c0
movl 0x20(%rax), %eax
addl %eax, %eax
cmpl %eax, %ebp
jae 0xc15b
movl %eax, 0x78(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/Arguments.cpp
// Function: Arguments::sanityCheckArguments() const
void Arguments::sanityCheckArguments() const
{
	if (this->min_nucleotides > this->max_nucleotides)
	{
		throw "ERROR: -n must not be > than -N";
	}
	
	if (this->min_repeats > this->max_repeats)
	{
		throw "ERROR: -r must not be > than -R";
	}

	if (this->min_sequence_length > this->max_sequence_length)
	{
		throw "ERROR: -l must not be > than -L";
	}
}

// Assembly:
pushq %rax
movl 0x80(%rdi), %eax
cmpl 0x84(%rdi), %eax
ja 0xc189
movl 0xb4(%rdi), %eax
cmpl 0xb8(%rdi), %eax
ja 0xc19c
movl 0x78(%rdi), %eax
cmpl 0x7c(%rdi), %eax
ja 0xc1af
popq %rax
retq
movl $0x8, %edi
callq 0x3160
leaq 0x32ee(%rip), %rcx      # 0xf488
jmp 0xc1c0
movl $0x8, %edi
callq 0x3160
leaq 0x32fb(%rip), %rcx      # 0xf4a8
jmp 0xc1c0
movl $0x8, %edi
callq 0x3160
leaq 0x3308(%rip), %rcx      # 0xf4c8
movq %rcx, (%rax)
movq 0x8dd6(%rip), %rsi      # 0x14fa0
movq %rax, %rdi
xorl %edx, %edx
callq 0x3510
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/Arguments.cpp
// Function: Arguments::autoDetectCompressedInput()
void Arguments::autoDetectCompressedInput()
{
	if (this->input_file_name.size() >= 3 && this->input_file_name.substr(this->input_file_name.size() - 3, 3) == ".gz")
	{
		this->gzipped_input = true;
	}
	if (this->input_file_name.size() >= 4 && this->input_file_name.substr(this->input_file_name.size() - 4, 4) == ".bz2")
	{
		this->bzipped2_input = true;
	}
	if (this->bzipped2_input && this->gzipped_input)
	{
		throw "ERROR: Your input cannot be compressed with both gzip and bzip2.";
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
leaq 0x58(%rdi), %r14
movq 0x60(%rdi), %r12
cmpq $0x3, %r12
jb 0xc222
leaq -0x3(%r12), %rdx
leaq 0x20(%rsp), %r15
movl $0x3, %ecx
movq %r15, %rdi
movq %r14, %rsi
callq 0x3320
leaq 0x31ea(%rip), %rsi      # 0xf3fc
movq %r15, %rdi
callq 0x30f0
testl %eax, %eax
sete %bpl
jmp 0xc224
xorl %ebp, %ebp
cmpq $0x3, %r12
jb 0xc245
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc245
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3300
testb %bpl, %bpl
je 0xc24e
movb $0x1, 0xd(%rbx)
movq 0x60(%rbx), %r12
cmpq $0x4, %r12
jb 0xc287
leaq -0x4(%r12), %rdx
movq %rsp, %r15
movl $0x4, %ecx
movq %r15, %rdi
movq %r14, %rsi
callq 0x3320
leaq 0x3189(%rip), %rsi      # 0xf400
movq %r15, %rdi
callq 0x30f0
testl %eax, %eax
sete %bpl
jmp 0xc289
xorl %ebp, %ebp
cmpq $0x4, %r12
jb 0xc2aa
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc2aa
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3300
testb %bpl, %bpl
je 0xc2b3
movb $0x1, 0x9(%rbx)
cmpb $0x1, 0x9(%rbx)
jne 0xc2bf
cmpb $0x1, 0xd(%rbx)
je 0xc2cc
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl $0x8, %edi
callq 0x3160
leaq 0x3128(%rip), %rcx      # 0xf405
movq %rcx, (%rax)
movq 0x8cb9(%rip), %rsi      # 0x14fa0
movq %rax, %rdi
xorl %edx, %edx
callq 0x3510
nop
// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/Arguments.cpp
// Function: Arguments::autoDetectCompressedOutput()
void Arguments::autoDetectCompressedOutput()
{
	if (this->output_file_name.size() >= 3 && this->output_file_name.substr(this->output_file_name.size() - 3, 3) == ".gz")
	{
		this->gzipped_output = true;
	}
	if (this->output_file_name.size() >= 4 && this->output_file_name.substr(this->output_file_name.size() - 4, 4) == ".bz2")
	{
		this->bzipped2_output = true;
	}
	if (this->bzipped2_output && this->gzipped_output)
	{
		throw "ERROR: Your output cannot be compressed with both gzip and bzip2.";
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
leaq 0x88(%rdi), %r14
movq 0x90(%rdi), %r12
cmpq $0x3, %r12
jb 0xc346
leaq -0x3(%r12), %rdx
leaq 0x20(%rsp), %r15
movl $0x3, %ecx
movq %r15, %rdi
movq %r14, %rsi
callq 0x3320
leaq 0x30c6(%rip), %rsi      # 0xf3fc
movq %r15, %rdi
callq 0x30f0
testl %eax, %eax
sete %bpl
jmp 0xc348
xorl %ebp, %ebp
cmpq $0x3, %r12
jb 0xc369
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc369
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3300
testb %bpl, %bpl
je 0xc372
movb $0x1, 0xe(%rbx)
movq 0x90(%rbx), %r12
cmpq $0x4, %r12
jb 0xc3ae
leaq -0x4(%r12), %rdx
movq %rsp, %r15
movl $0x4, %ecx
movq %r15, %rdi
movq %r14, %rsi
callq 0x3320
leaq 0x3062(%rip), %rsi      # 0xf400
movq %r15, %rdi
callq 0x30f0
testl %eax, %eax
sete %bpl
jmp 0xc3b0
xorl %ebp, %ebp
cmpq $0x4, %r12
jb 0xc3d1
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc3d1
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3300
testb %bpl, %bpl
je 0xc3da
movb $0x1, 0xa(%rbx)
cmpb $0x1, 0xa(%rbx)
jne 0xc3e6
cmpb $0x1, 0xe(%rbx)
je 0xc3f3
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl $0x8, %edi
callq 0x3160
leaq 0x3042(%rip), %rcx      # 0xf446
movq %rcx, (%rax)
movq 0x8b92(%rip), %rsi      # 0x14fa0
movq %rax, %rdi
xorl %edx, %edx
callq 0x3510
// File: /workspace/github_cpp_makefile_star2_O1/nikosgalanis[P]Vectors-Similarity-Search-and-Clustering/programs/LSH/../../algorithms/Search/LSH/headers/hashing.h
// Function: unsigned int lsh::AmplifiedHashFunction::hash<double>(std::vector<double, std::allocator<double>>)
uint32_t hash(std::vector<T> x) {
				int concatenated = 0;
				for (std::list<HashFunction>::iterator it = hlist.begin(); it != hlist.end(); it++) {
					// each time, concatenate with a bit-wise manner the next h
					concatenated = our_math::bitwise_concat(concatenated, it->hash(x), k);
				}

				// return the final random number
				return concatenated;
			}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq (%rdi), %r13
cmpq %rdi, %r13
je 0x6858
movq %rsi, %rbx
movq %rdi, %r14
xorl %ebp, %ebp
movq %rsp, %r15
leaq 0x10(%r13), %r12
movq %r15, %rdi
movq %rbx, %rsi
callq 0x3810
movq %r12, %rdi
movq %r15, %rsi
callq 0x6884
movl %eax, %r12d
movl $0x20, %eax
xorl %edx, %edx
idivl 0x30(%r14)
movzwl %bp, %ebp
movl %eax, %ecx
shll %cl, %ebp
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x684a
callq 0x2200
orl %r12d, %ebp
movq (%r13), %r13
cmpq %r14, %r13
jne 0x680d
jmp 0x685a
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x687c
callq 0x2200
movq %rbx, %rdi
callq 0x23c0
// File: /workspace/github_cpp_makefile_star2_O1/SneachChea[P]Wolf-Monte-Carlo-Cpp/./model.hpp
// Function: model::model(int, int)
model(int _L, int _Ntrials){
        this->L = _L;
        this-> N = _L*_L;
        this-> N_trials = _Ntrials;
        x_y_dic.reserve(N);
        nbr.reserve(N);
        init();
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x18(%rdi), %rax
movl $0x0, 0x18(%rdi)
movq $0x0, 0x20(%rdi)
movq %rax, 0x28(%rdi)
movq %rax, 0x30(%rdi)
leaq 0x40(%rdi), %r14
leaq 0x58(%rdi), %r15
vxorps %xmm0, %xmm0, %xmm0
vmovups %ymm0, 0x38(%rdi)
vmovups %ymm0, 0x50(%rdi)
movl %esi, (%rdi)
imull %esi, %esi
movl %esi, 0x4(%rdi)
movl %edx, 0x8(%rdi)
movq %r14, %rdi
vzeroupper
callq 0x3664
movslq 0x4(%rbx), %rsi
movq %r15, %rdi
callq 0x36fe
movq %rbx, %rdi
callq 0x4158
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r12
movq (%r15), %rdi
testq %rdi, %rdi
je 0x3316
callq 0x2200
movq (%r14), %rdi
testq %rdi, %rdi
je 0x3323
callq 0x2200
addq $0x10, %rbx
movq %rbx, %rdi
callq 0x37e4
movq %r12, %rdi
callq 0x2350
nop
// File: /workspace/github_cpp_makefile_star2_O1/SneachChea[P]Wolf-Monte-Carlo-Cpp/model.cpp
// Function: model::init()
void model::init(){
    int row;
    int column;
    int up, right, left, dn;
    for(unsigned int i =0;i<N;i++){
        row = int(i/L);
        column = i-row*L;
        site_dic[std::make_tuple(row, column)]= i;
        x_y_dic[i] = std::make_tuple(row, column);
    }
    for(unsigned int i = 0; i<N;i++){
        row = std::get<0>(x_y_dic[i]);
        column = std::get<1>(x_y_dic[i]);
        up = site_dic[std::make_tuple((row-1+L)%L, column)];
        right = site_dic[std::make_tuple(row, (column+1)%L)];
        dn = site_dic[std::make_tuple((row+1)%L, column)];
        left = site_dic[std::make_tuple(row, (column-1+L)%L)];
        nbr[i] = std::make_tuple(right, up, left,dn);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
cmpl $0x0, 0x4(%rdi)
je 0x41be
leaq 0x10(%rbx), %r14
xorl %r15d, %r15d
leaq 0xc(%rsp), %r12
movl (%rbx), %ecx
movl %r15d, %eax
xorl %edx, %edx
divl %ecx
movl %eax, %ebp
imull %eax, %ecx
movl %r15d, %r13d
subl %ecx, %r13d
movl %r13d, 0xc(%rsp)
movl %eax, 0x10(%rsp)
movq %r14, %rdi
movq %r12, %rsi
callq 0x4300
movl %r15d, (%rax)
movq 0x40(%rbx), %rax
movl %ebp, 0x4(%rax,%r15,8)
movl %r13d, (%rax,%r15,8)
incq %r15
movl 0x4(%rbx), %eax
cmpq %rax, %r15
jb 0x417b
cmpl $0x0, 0x4(%rbx)
je 0x42ac
leaq 0x10(%rbx), %rax
movq %rax, 0x20(%rsp)
movl $0x4, %r12d
xorl %r13d, %r13d
movq 0x20(%rsp), %r14
movq 0x40(%rbx), %rax
movl -0x4(%rax,%r12), %r15d
movl (%rax,%r12), %ebp
movl (%rbx), %ecx
leal -0x1(%rbp,%rcx), %eax
cltd
idivl %ecx
movl %r15d, 0xc(%rsp)
movl %edx, 0x10(%rsp)
movq %r14, %rdi
leaq 0xc(%rsp), %rsi
callq 0x4300
movl (%rax), %eax
movl %eax, 0x1c(%rsp)
leal 0x1(%r15), %eax
cltd
idivl (%rbx)
movl %edx, 0xc(%rsp)
movl %ebp, 0x10(%rsp)
movq %r14, %rdi
leaq 0xc(%rsp), %rsi
callq 0x4300
movl (%rax), %eax
movl %eax, 0x18(%rsp)
leal 0x1(%rbp), %eax
cltd
idivl (%rbx)
movl %r15d, 0xc(%rsp)
movl %edx, 0x10(%rsp)
movq %r14, %rdi
leaq 0xc(%rsp), %rsi
callq 0x4300
movl (%rax), %eax
movl %eax, 0x14(%rsp)
movl (%rbx), %ecx
leal -0x1(%r15,%rcx), %eax
cltd
idivl %ecx
movl %edx, 0xc(%rsp)
movl %ebp, 0x10(%rsp)
movq %r14, %rdi
leaq 0xc(%rsp), %rsi
callq 0x4300
movl (%rax), %eax
movq 0x58(%rbx), %rcx
movl 0x18(%rsp), %edx
movl %edx, 0x4(%rcx,%r12,2)
movl 0x1c(%rsp), %edx
movl %edx, (%rcx,%r12,2)
movl %eax, -0x4(%rcx,%r12,2)
movl 0x14(%rsp), %eax
movl %eax, -0x8(%rcx,%r12,2)
incq %r13
movl 0x4(%rbx), %eax
addq $0x8, %r12
cmpq %rax, %r13
jb 0x41df
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/SneachChea[P]Wolf-Monte-Carlo-Cpp/model.cpp
// Function: model::get_nbr(int, int)
int model::get_nbr(const int i, const int number)
{
    switch(number)
    {
        case 0:
            return std::get<0>(nbr[i]);
        case 1:
            return std::get<1>(nbr[i]);
        case 2:
            return std::get<2>(nbr[i]);
        case 3:
            return std::get<3>(nbr[i]);
    }
}

// Assembly:
movslq %esi, %rcx
movq 0x58(%rdi), %rax
movl %edx, %edx
leaq 0x1ff0(%rip), %rsi      # 0x62bc
movslq (%rsi,%rdx,4), %rdx
addq %rsi, %rdx
jmpq *%rdx
shlq $0x4, %rcx
leaq 0xc(%rax,%rcx), %rax
jmp 0x42fd
shlq $0x4, %rcx
leaq 0x4(%rax,%rcx), %rax
jmp 0x42fd
shlq $0x4, %rcx
addq %rcx, %rax
jmp 0x42fd
shlq $0x4, %rcx
leaq 0x8(%rax,%rcx), %rax
movl (%rax), %eax
retq