LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/CK7[P]abawaca/src/SCGdb.cpp
// Function: SCGdb::num_unique_scgs(std::set<unsigned long, std::less<unsigned long>, std::allocator<unsigned long>> const&) const
size_t	SCGdb::num_unique_scgs(const set<size_t>& scafs) const
{
	set<string> scgs_found;

	for(auto it=scafs.begin(); it!=scafs.end(); it++) {
		auto mit = scaf2scgs.find(*it);
		if(mit == scaf2scgs.end())
			continue;
		scgs_found.insert(mit->second.begin(), mit->second.end());
	}

	return scgs_found.size();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %rbx
leaq -0x50(%rbp), %rax
movl $0x0, (%rax)
xorl %ecx, %ecx
movq %rcx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rcx, 0x20(%rax)
movq 0x18(%rsi), %r15
addq $0x8, %rbx
cmpq %rbx, %r15
je 0x15487
movq %rdi, %r14
leaq 0x48(%rdi), %r13
leaq -0x58(%rbp), %r12
movq 0x50(%r14), %rcx
movq %r13, %rax
testq %rcx, %rcx
je 0x1544b
movq 0x20(%r15), %rdx
movq %r13, %rax
xorl %esi, %esi
cmpq %rdx, 0x20(%rcx)
setb %sil
cmovaeq %rcx, %rax
movq 0x10(%rcx,%rsi,8), %rcx
testq %rcx, %rcx
jne 0x15433
movq %r13, %rdx
cmpq %r13, %rax
je 0x15462
movq 0x20(%r15), %rcx
cmpq 0x20(%rax), %rcx
cmovbq %r13, %rax
movq %rax, %rdx
cmpq %r13, %rdx
je 0x15477
movq 0x40(%rdx), %rsi
addq $0x30, %rdx
movq %r12, %rdi
callq 0x15d66
movq %r15, %rdi
callq 0x5430
movq %rax, %r15
cmpq %rbx, %rax
jne 0x15420
leaq -0x58(%rbp), %rdi
movq 0x28(%rdi), %rbx
callq 0x990a
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x58(%rbp), %rdi
callq 0x990a
movq %rbx, %rdi
callq 0x56a0
// File: /workspace/github_cpp_makefile_star2_O1/CK7[P]abawaca/src/SCGdb.cpp
// Function: SCGdb::get_scg2count(std::set<unsigned long, std::less<unsigned long>, std::allocator<unsigned long>> const&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, unsigned long, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, unsigned long>>>&) const
void SCGdb::get_scg2count(const set<size_t>& scafs, map<string, size_t>& result) const
{
	result.clear();

	for(auto it=scafs.begin(); it!=scafs.end(); it++) {
		auto mit = scaf2scgs.find(*it);
		if(mit == scaf2scgs.end())
			continue;
		for(auto scgit = mit->second.begin(); scgit!=mit->second.end(); scgit++) {
			auto rit = result.find(*scgit);
			if(rit == result.end()) {
				result.insert(pair<string, size_t>(*scgit, 0));
				rit = result.find(*scgit);
			}
			rit->second++;
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r14
movq %rdi, -0x38(%rbp)
movq %rdx, -0x30(%rbp)
movq %rdx, %rdi
callq 0x16098
movq 0x18(%r14), %rdi
addq $0x8, %r14
movq %r14, -0x48(%rbp)
cmpq %r14, %rdi
je 0x15609
movq -0x38(%rbp), %rax
leaq 0x48(%rax), %r8
movq -0x30(%rbp), %rax
leaq 0x8(%rax), %r13
movq %r8, -0x40(%rbp)
movq -0x38(%rbp), %rax
movq 0x50(%rax), %rcx
movq %r8, %rax
testq %rcx, %rcx
je 0x15536
movq 0x20(%rdi), %rdx
movq %r8, %rax
xorl %esi, %esi
cmpq %rdx, 0x20(%rcx)
setb %sil
cmovaeq %rcx, %rax
movq 0x10(%rcx,%rsi,8), %rcx
testq %rcx, %rcx
jne 0x1551e
movq %r8, %rbx
cmpq %r8, %rax
je 0x1554d
movq 0x20(%rdi), %rcx
cmpq 0x20(%rax), %rcx
cmovbq %r8, %rax
movq %rax, %rbx
movq %rdi, -0x50(%rbp)
cmpq %r8, %rbx
je 0x155ef
movq 0x40(%rbx), %r15
addq $0x30, %rbx
cmpq %rbx, %r15
je 0x155ef
movq %rbx, -0x58(%rbp)
leaq 0x20(%r15), %r14
movq -0x30(%rbp), %rdi
movq %r14, %rsi
callq 0xf5b0
cmpq %r13, %rax
jne 0x155db
movq %r13, %rbx
leaq -0x70(%rbp), %r13
movq %r13, -0x80(%rbp)
movq 0x20(%r15), %rsi
movq 0x28(%r15), %rdx
addq %rsi, %rdx
leaq -0x80(%rbp), %r12
movq %r12, %rdi
callq 0xb27a
movq $0x0, -0x60(%rbp)
movq -0x30(%rbp), %rdi
movq %r12, %rsi
callq 0xe998
movq -0x80(%rbp), %rdi
cmpq %r13, %rdi
je 0x155c8
callq 0x5340
movq -0x30(%rbp), %rdi
movq %r14, %rsi
callq 0xf5b0
movq %rbx, %r13
movq -0x58(%rbp), %rbx
incq 0x40(%rax)
movq %r15, %rdi
callq 0x5430
movq %rax, %r15
cmpq %rbx, %rax
jne 0x1556f
movq -0x50(%rbp), %rdi
callq 0x5430
movq %rax, %rdi
cmpq -0x48(%rbp), %rax
movq -0x40(%rbp), %r8
jne 0x15507
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x80(%rbp), %rdi
cmpq %r13, %rdi
je 0x15629
callq 0x5340
movq %rbx, %rdi
callq 0x56a0
nop
// File: /workspace/github_cpp_makefile_star2_O1/CK7[P]abawaca/src/SCGdb.cpp
// Function: SCGdb::average_num_copies_for_unique_scgs(std::set<unsigned long, std::less<unsigned long>, std::allocator<unsigned long>> const&) const
double	SCGdb::average_num_copies_for_unique_scgs(const set<size_t>& scafs) const
{
	set<string> scgs_found;
	size_t n = 0;

	for(auto it=scafs.begin(); it!=scafs.end(); it++) {
		auto mit = scaf2scgs.find(*it);
		if(mit == scaf2scgs.end())
			continue;
		scgs_found.insert(mit->second.begin(), mit->second.end());
		n += mit->second.size();
	}

	return (n == 0)? 0 : double(n)/scgs_found.size();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
movq %rdi, -0x40(%rbp)
leaq -0x68(%rbp), %rax
movl $0x0, (%rax)
xorl %r13d, %r13d
movq %r13, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %r13, 0x20(%rax)
movq 0x18(%rsi), %r15
addq $0x8, %rbx
cmpq %rbx, %r15
je 0x156f2
movq -0x40(%rbp), %rax
leaq 0x48(%rax), %r14
xorl %r13d, %r13d
movq -0x40(%rbp), %rax
movq 0x50(%rax), %rcx
movq %r14, %rax
testq %rcx, %rcx
je 0x156ae
movq 0x20(%r15), %rdx
movq %r14, %rax
xorl %esi, %esi
cmpq %rdx, 0x20(%rcx)
setb %sil
cmovaeq %rcx, %rax
movq 0x10(%rcx,%rsi,8), %rcx
testq %rcx, %rcx
jne 0x15696
movq %r14, %r12
cmpq %r14, %rax
je 0x156c5
movq 0x20(%r15), %rcx
cmpq 0x20(%rax), %rcx
cmovbq %r14, %rax
movq %rax, %r12
cmpq %r14, %r12
je 0x156e2
movq 0x40(%r12), %rsi
leaq 0x30(%r12), %rdx
leaq -0x70(%rbp), %rdi
callq 0x15d66
addq 0x50(%r12), %r13
movq %r15, %rdi
callq 0x5430
movq %rax, %r15
cmpq %rbx, %rax
jne 0x1567f
xorpd %xmm3, %xmm3
testq %r13, %r13
je 0x15741
movq %r13, %xmm0
movq 0x5a98(%rip), %xmm1     # 0x1b1a0
punpckldq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movapd 0x5a9c(%rip), %xmm2     # 0x1b1b0
subpd %xmm2, %xmm0
movapd %xmm0, %xmm3
unpckhpd %xmm0, %xmm3            # xmm3 = xmm3[1],xmm0[1]
addsd %xmm0, %xmm3
movq -0x48(%rbp), %xmm0
punpckldq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
subpd %xmm2, %xmm0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
divsd %xmm1, %xmm3
movapd %xmm3, -0x40(%rbp)
leaq -0x70(%rbp), %rdi
callq 0x990a
movaps -0x40(%rbp), %xmm0
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
callq 0x990a
movq %rbx, %rdi
callq 0x56a0
// File: /workspace/github_cpp_makefile_star2_O1/CK7[P]abawaca/src/String.cpp
// Function: Bio::DNAString::DNAString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
DNAString::DNAString(const string& dna_string)
{
	m_str = dna_string;
/*	for(string::iterator it=m_str.begin(); it!=m_str.end(); it++)
	{
		*it = toupper(*it);
	}*/
	this->validate_string();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
callq 0x51e0
movq %rbx, %rdi
callq 0x163b8
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x163b0
callq 0x5340
movq %r14, %rdi
callq 0x56a0
// File: /workspace/github_cpp_makefile_star2_O1/CK7[P]abawaca/src/String.cpp
// Function: Bio::DNAString::validate_string()
void DNAString::validate_string()
{
	const char *p, *pstart = m_str.c_str();
	for(p=pstart; *p; p++) {
		if((*p == 'A') || (*p == 'C') || (*p == 'G') || (*p == 'T') || (*p == 'N')) {
			continue;
		}

		m_str[p-pstart] = toupper(m_str[p-pstart]);

		if((*p != 'A') && (*p != 'C') && (*p != 'G') && (*p != 'T') && (*p == 'N')) {
			throw Illegal_DNAString(m_str, __PRETTY_FUNCTION__, "");
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %r14
movq (%rdi), %rbx
xorl %r15d, %r15d
movl $0x82045, %r12d         # imm = 0x82045
movzbl (%rbx,%r15), %eax
leal -0x41(%rax), %ecx
cmpl $0x13, %ecx
ja 0x163f0
btl %ecx, %r12d
jae 0x163f0
incq %r15
jmp 0x163d8
testl %eax, %eax
je 0x16488
movq (%r14), %r13
movsbl (%r13,%r15), %edi
callq 0x5710
movb %al, (%r13,%r15)
cmpb $0x4e, (%rbx,%r15)
jne 0x163eb
movl $0x28, %edi
callq 0x51b0
movq %rax, %rbx
leaq -0x58(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq -0x68(%rbp), %rdi
callq 0xb27a
leaq -0x38(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x4e21(%rip), %rdx      # 0x1b26a
leaq -0x48(%rbp), %rdi
movq %rdx, %rsi
callq 0xb314
movb $0x1, %r12b
leaq 0x50b4(%rip), %rdx      # 0x1b513
leaq -0x68(%rbp), %rsi
leaq -0x48(%rbp), %rcx
movq %rbx, %rdi
callq 0x168d2
xorl %r12d, %r12d
leaq 0xc887(%rip), %rsi      # 0x22d00
leaq -0xb5d2(%rip), %rdx     # 0xaeae
movq %rbx, %rdi
callq 0x5660
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x164b0
callq 0x5340
jmp 0x164b0
movq %rax, %r14
movb $0x1, %r12b
movq -0x68(%rbp), %rdi
cmpq %r15, %rdi
je 0x164c6
callq 0x5340
jmp 0x164c6
movq %rax, %r14
movb $0x1, %r12b
testb %r12b, %r12b
je 0x164d3
movq %rbx, %rdi
callq 0x5280
movq %r14, %rdi
callq 0x56a0
nop
// File: /workspace/github_cpp_makefile_star2_O1/CK7[P]abawaca/src/String.cpp
// Function: Bio::DNAString::reverse_complement() const
DNAString DNAString::reverse_complement() const
{
	DNAString rc_str(::reverse(m_str));
	for(int i=rc_str.size()-1; i>=0; i--)
	{
		switch(rc_str.get(i)) 
		{
			case 'A':
				rc_str.set(i, 'T');
				break;
			case 'C':
				rc_str.set(i, 'G');
				break;
			case 'G':
				rc_str.set(i, 'C');
				break;
			case 'T':
				rc_str.set(i, 'A');
				break;
			// Else - N, leave as is
		}
	}
	return rc_str;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
leaq -0x28(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
leaq -0x38(%rbp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0xb27a
leaq -0x58(%rbp), %rdi
movq %r14, %rsi
callq 0x179b7
leaq -0x58(%rbp), %rsi
movq %rbx, %rdi
callq 0x16368
leaq -0x48(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x16613
callq 0x5340
movq -0x38(%rbp), %rdi
cmpq %r15, %rdi
je 0x16621
callq 0x5340
movl 0x8(%rbx), %r14d
movl %r14d, %eax
decl %eax
js 0x1667a
decl %r14d
movq 0x8(%rbx), %rdx
cmpq %r14, %rdx
jbe 0x16688
movq (%rbx), %rax
movzbl (%rax,%r14), %eax
cmpl $0x46, %eax
jg 0x16653
cmpl $0x41, %eax
je 0x16661
cmpl $0x43, %eax
jne 0x16675
movb $0x47, %al
jmp 0x16667
cmpl $0x47, %eax
je 0x16665
cmpl $0x54, %eax
jne 0x16675
movb $0x41, %al
jmp 0x16667
movb $0x54, %al
jmp 0x16667
movb $0x43, %al
movzbl %al, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1754a
testl %r14d, %r14d
jg 0x1662c
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4f7b(%rip), %rdi      # 0x1b60a
movq %r14, %rsi
xorl %eax, %eax
callq 0x5580
movq %rax, %r14
leaq -0x48(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x166b3
callq 0x5340
jmp 0x166b3
movq %rax, %r14
movq -0x38(%rbp), %rdi
cmpq %r15, %rdi
jne 0x166cf
jmp 0x166d4
jmp 0x166c0
movq %rax, %r14
movq (%rbx), %rdi
addq $0x10, %rbx
cmpq %rbx, %rdi
je 0x166d4
callq 0x5340
movq %r14, %rdi
callq 0x56a0
// File: /workspace/github_cpp_makefile_star2_O1/CK7[P]abawaca/src/String.cpp
// Function: Bio::gc(Bio::DNAString const&)
double gc(const DNAString& dna_str)
{
	size_t gc = 0, Ns = 0;

	DNAString::const_iterator end=dna_str.end();
	for(DNAString::const_iterator it=dna_str.begin(); it!=end; it++) 
	{
		if(*it == 'N')
			Ns++;
		else if((*it == 'C') || (*it == 'G'))
			gc++;
	}
	if(dna_str.size() == Ns) {
		return 0;
	}

	return double(gc)/(dna_str.size()-Ns);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq 0x8(%rdi), %rax
xorpd %xmm0, %xmm0
testq %rax, %rax
je 0x1686d
movq (%rdi), %rdx
xorl %esi, %esi
xorl %ecx, %ecx
xorl %edi, %edi
movzbl (%rdx,%rsi), %r8d
cmpl $0x43, %r8d
je 0x1683f
cmpl $0x47, %r8d
je 0x1683f
cmpl $0x4e, %r8d
jne 0x16842
incq %rcx
jmp 0x16842
incq %rdi
incq %rsi
cmpq %rsi, %rax
jne 0x16823
movq %rdi, %xmm2
punpckldq 0x4949(%rip), %xmm2 # xmm2 = xmm2[0],mem[0],xmm2[1],mem[1]
subpd 0x4951(%rip), %xmm2     # 0x1b1b0
movapd %xmm2, %xmm1
unpckhpd %xmm2, %xmm1            # xmm1 = xmm1[1],xmm2[1]
addsd %xmm2, %xmm1
jmp 0x16873
xorl %ecx, %ecx
xorpd %xmm1, %xmm1
subq %rcx, %rax
je 0x168a1
movq %rax, %xmm0
punpckldq 0x491b(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x4923(%rip), %xmm0     # 0x1b1b0
movapd %xmm0, %xmm2
unpckhpd %xmm0, %xmm2            # xmm2 = xmm2[1],xmm0[1]
addsd %xmm0, %xmm2
divsd %xmm2, %xmm1
movapd %xmm1, %xmm0
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/CK7[P]abawaca/src/common.cpp
// Function: time_since_epoch[abi:cxx11]()
string	time_since_epoch()
{
	char			str[32];
	unsigned int	t = time(NULL)-epoch;
	sprintf(str, "[%02d:%02d:%02d]\t", (unsigned int)(t/3600), (unsigned int)((t%3600)/60), (unsigned int)(t%60));
	return str;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
xorl %edi, %edi
callq 0x5330
subl 0xbe85(%rip), %eax      # 0x23498
movl $0x91a2b3c5, %edx       # imm = 0x91A2B3C5
imulq %rax, %rdx
shrq $0x2b, %rdx
imull $0xe10, %edx, %ecx      # imm = 0xE10
movl %eax, %esi
subl %ecx, %esi
imulq $0x4444445, %rsi, %rcx  # imm = 0x4444445
shrq $0x20, %rcx
movl $0x88888889, %esi       # imm = 0x88888889
imulq %rax, %rsi
shrq $0x25, %rsi
imull $0x3c, %esi, %esi
subl %esi, %eax
leaq 0x4046(%rip), %rsi      # 0x1b694
leaq -0x30(%rbp), %r14
movq %r14, %rdi
movl %eax, %r8d
xorl %eax, %eax
callq 0x5090
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq %r14, %rdi
callq 0x5180
leaq (%rax,%rbp), %rdx
addq $-0x30, %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0xb314
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/CK7[P]abawaca/src/common.cpp
// Function: chomp(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
void chomp(string& line)
{
	string::reverse_iterator it = line.rbegin();
	while((it != line.rend()) && ((*it == '\n') || (*it == '\r'))) {
		line.erase(line.size()-1);
		it = line.rbegin();
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq 0x8(%rdi), %rcx
testq %rcx, %rcx
je 0x176d3
movq (%rdi), %rax
addq %rax, %rcx
movzbl -0x1(%rcx), %ecx
cmpl $0xd, %ecx
je 0x176ae
cmpl $0xa, %ecx
jne 0x176d3
movq 0x8(%rdi), %rcx
movq %rcx, %rdx
subq $0x1, %rdx
jb 0x176d5
movq %rdx, 0x8(%rdi)
movb $0x0, (%rax,%rdx)
movq (%rdi), %rax
movq 0x8(%rdi), %rdx
leaq (%rax,%rdx), %rcx
testq %rdx, %rdx
jne 0x176a0
popq %rbp
retq
leaq 0x3fe2(%rip), %rdi      # 0x1b6be
leaq 0x3fc7(%rip), %rsi      # 0x1b6aa
xorl %eax, %eax
callq 0x5580
// File: /workspace/github_cpp_makefile_star2_O1/CK7[P]abawaca/src/common.cpp
// Function: chomp(char*)
void chomp(char* line)
{
	char* p = line+strlen(line);
	if(p == line)
		return;

	for(p--; ((*p == '\n') || (*p == '\r')); p--) {
		*p = 0;
		if(p == line)
			break;
	} 
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x5180
testq %rax, %rax
je 0x17716
movzbl -0x1(%rbx,%rax), %ecx
cmpl $0xd, %ecx
je 0x1770c
cmpl $0xa, %ecx
jne 0x17716
movb $0x0, -0x1(%rbx,%rax)
decq %rax
jne 0x176fd
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/CK7[P]abawaca/src/common.cpp
// Function: remove_white_spaces(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
void remove_white_spaces(string& line)
{
	string::iterator it1 = line.begin(), it2 = line.begin();
	while(it2 != line.end()) {
		if(!isspace(*it2))
			*(it1++) = *it2;
		it2++;
	}
	line.erase(it2, line.end());
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %r15
cmpq $0x0, 0x8(%rdi)
je 0x17762
movq %r15, %r14
movb (%r14), %r12b
movsbl %r12b, %edi
callq 0x5070
testl %eax, %eax
jne 0x1774e
movb %r12b, (%r15)
incq %r15
incq %r14
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
addq %rax, %rcx
cmpq %rcx, %r14
jne 0x17738
jmp 0x17768
movq %r15, %r14
movq %r15, %rax
movq %r14, %rcx
subq %rax, %rcx
movq %rcx, 0x8(%rbx)
movb $0x0, (%r14)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/CK7[P]abawaca/src/common.cpp
// Function: trim_front(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
void trim_front(string& line)
{
	string::iterator it1 = line.begin(), it2 = line.begin();
	if(it2 == line.end())
		return;
	if(!isspace(*(it2++)))
		return;

	while((it2 != line.end()) && isspace(*it2))
		it1++, it2++;

	line.erase(line.begin(), it1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x8(%rdi), %r12
testq %r12, %r12
je 0x17810
movq %rdi, %rbx
movq (%rdi), %r15
movsbl (%r15), %edi
callq 0x5070
testl %eax, %eax
je 0x17810
leaq (%r15,%r12), %r13
movq %r15, %r14
cmpq $0x1, %r12
je 0x177e1
leaq (%r12,%r15), %rax
decq %rax
movq %rax, -0x30(%rbp)
decq %r12
movq %r15, %r14
movsbl 0x1(%r14), %edi
callq 0x5070
testl %eax, %eax
je 0x177e1
incq %r14
decq %r12
jne 0x177c7
movq -0x30(%rbp), %r14
cmpq %r14, %r13
je 0x17804
subq %r15, %r14
movq %rbx, %rdi
xorl %esi, %esi
movq %r14, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x5460
movq $0x0, 0x8(%rbx)
movb $0x0, (%r15)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/CK7[P]abawaca/src/common.cpp
// Function: trim_back(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
void trim_back(string& line)
{
	string::reverse_iterator	it2 = line.rbegin();
	size_t			start_erase = line.size()-1;
	if(it2 == line.rend())
		return;
	if(!isspace(*(it2++)))
		return;

	while((it2 != line.rend()) && isspace(*it2))
		start_erase--, it2++;

	line.erase(start_erase);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq 0x8(%rdi), %rbx
testq %rbx, %rbx
je 0x17876
movq %rdi, %r14
movq (%rdi), %r12
movsbl -0x1(%r12,%rbx), %edi
callq 0x5070
testl %eax, %eax
je 0x17876
movq %rbx, %r15
cmpq $0x1, %r15
je 0x17865
movsbl -0x2(%r12,%r15), %edi
decq %r15
callq 0x5070
testl %eax, %eax
jne 0x1784b
jmp 0x17868
xorl %r15d, %r15d
cmpq %r15, %rbx
jb 0x1787f
movq %r15, 0x8(%r14)
movb $0x0, (%r12,%r15)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3e38(%rip), %rdi      # 0x1b6be
leaq 0x3e1d(%rip), %rsi      # 0x1b6aa
movq %r15, %rdx
movq %rbx, %rcx
xorl %eax, %eax
callq 0x5580
// File: /workspace/github_cpp_makefile_star2_O1/CK7[P]abawaca/src/common.cpp
// Function: split(char, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&)
long split(char delimiter, string line, vector<string>& destination)
{
	destination.clear();
	if(line.size() == 0)
		return 0;

	size_t p1 = 0, p2 = 0;
	while((p1 < line.size()) && ((p2 = line.find(delimiter, p1)) != string::npos)) {
		destination.push_back(line.substr(p1, p2-p1));
		p1 = p2+1;
	}
	destination.push_back(line.substr(p1));
	return destination.size();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movl %edi, %r15d
movq %rdx, -0x30(%rbp)
movq %rdx, %rdi
callq 0x17e82
cmpq $0x0, 0x8(%r14)
je 0x1792c
cmpq $0x0, 0x8(%r14)
je 0x17930
xorl %ebx, %ebx
movsbl %r15b, %r12d
leaq -0x50(%rbp), %r13
movq %r14, %rdi
movl %r12d, %esi
movq %rbx, %rdx
callq 0x54e0
cmpq $-0x1, %rax
je 0x17935
movq %rax, %r15
movq %rax, %rcx
subq %rbx, %rcx
movq %r13, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x53c0
movq -0x30(%rbp), %rdi
movq %r13, %rsi
callq 0x17f16
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x1791e
callq 0x5340
incq %r15
movq %r15, %rbx
cmpq 0x8(%r14), %r15
jb 0x178d5
jmp 0x17938
xorl %eax, %eax
jmp 0x1797e
xorl %r15d, %r15d
jmp 0x17938
movq %rbx, %r15
leaq -0x50(%rbp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq $-0x1, %rcx
callq 0x53c0
movq -0x30(%rbp), %rdi
movq %rbx, %rsi
callq 0x17f16
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1796f
callq 0x5340
movq -0x30(%rbp), %rcx
movq 0x8(%rcx), %rax
subq (%rcx), %rax
sarq $0x5, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rdi
jmp 0x179a5
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x179af
callq 0x5340
movq %rbx, %rdi
callq 0x56a0
// File: /workspace/github_cpp_makefile_star2_O1/CK7[P]abawaca/src/common.cpp
// Function: reverse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
string reverse(string str)
{
	string reverse_str;
	reverse_str.reserve(str.size()+1);
	for(string::reverse_iterator it = str.rbegin(); it != str.rend(); it++)
		reverse_str += *it;

	return reverse_str;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movq 0x8(%rsi), %rsi
incq %rsi
callq 0x55d0
movq (%r14), %r12
addq 0x8(%r14), %r12
cmpq (%r14), %r12
je 0x17a06
movsbl -0x1(%r12), %esi
decq %r12
movq %rbx, %rdi
callq 0x52f0
jmp 0x179ee
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x17a14
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x17a24
callq 0x5340
movq %r14, %rdi
callq 0x56a0
// File: /workspace/github_cpp_makefile_star2_O1/CK7[P]abawaca/src/common.cpp
// Function: read_line(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, _IO_FILE*)
bool read_line(string& line, FILE* fp)
{
	char str[1024];

	line.resize(0);
	while(fgets(str, 1024, fp)) {
		line += string(str);
		if(strchr(str, '\n'))
			break;
	}

	return !feof(fp);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x428, %rsp            # imm = 0x428
movq %rsi, %rbx
movq %rdi, %r14
xorl %esi, %esi
xorl %edx, %edx
callq 0x5110
leaq -0x38(%rbp), %r13
leaq -0x450(%rbp), %r15
leaq -0x48(%rbp), %r12
movq %r15, %rdi
movl $0x400, %esi            # imm = 0x400
movq %rbx, %rdx
callq 0x55e0
testq %rax, %rax
je 0x17b43
movq %r13, -0x48(%rbp)
movq %r15, %rdi
callq 0x5180
leaq (%rax,%rbp), %rdx
addq $-0x450, %rdx           # imm = 0xFBB0
movq %r12, %rdi
movq %r15, %rsi
callq 0xb314
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %r14, %rdi
callq 0x5120
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x17b31
callq 0x5340
movq %r15, %rdi
movl $0xa, %esi
callq 0x5150
testq %rax, %rax
je 0x17adc
movq %rbx, %rdi
callq 0x55b0
testl %eax, %eax
sete %al
addq $0x428, %rsp            # imm = 0x428
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x17b73
callq 0x5340
movq %rbx, %rdi
callq 0x56a0
// File: /workspace/github_cpp_makefile_star2_O1/CK7[P]abawaca/src/common.cpp
// Function: reverse_complement(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
string reverse_complement(const string& dna_seq) 
{
	string rc_dna_seq = reverse(dna_seq);
	for(string::iterator it=rc_dna_seq.begin(); it!=rc_dna_seq.end(); it++) {
		switch(*it) {
			case 'A':
			case 'a':
				*it = 'T';
				break;
			case 'C':
			case 'c':
				*it = 'G';
				break;
			case 'G':
			case 'g':
				*it = 'C';
				break;
			case 'T':
			case 't':
				*it = 'A';
				break;
                }
        }
        return rc_dna_seq;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq -0x28(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
leaq -0x38(%rbp), %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0xb27a
movq %rbx, %rdi
movq %r14, %rsi
callq 0x179b7
movq -0x38(%rbp), %rdi
cmpq %r15, %rdi
je 0x17bc5
callq 0x5340
cmpq $0x0, 0x8(%rbx)
je 0x17c2a
movq (%rbx), %rax
movzbl (%rax), %ecx
movb $0x54, %dl
cmpl $0x60, %ecx
jg 0x17bea
cmpl $0x46, %ecx
jg 0x17bfd
cmpl $0x41, %ecx
je 0x17c19
cmpl $0x43, %ecx
je 0x17bf9
jmp 0x17c1b
cmpl $0x66, %ecx
jg 0x17c09
cmpl $0x61, %ecx
je 0x17c19
cmpl $0x63, %ecx
jne 0x17c1b
movb $0x47, %dl
jmp 0x17c19
cmpl $0x47, %ecx
je 0x17c17
cmpl $0x54, %ecx
je 0x17c13
jmp 0x17c1b
cmpl $0x67, %ecx
je 0x17c17
cmpl $0x74, %ecx
jne 0x17c1b
movb $0x41, %dl
jmp 0x17c19
movb $0x43, %dl
movb %dl, (%rax)
incq %rax
movq (%rbx), %rcx
addq 0x8(%rbx), %rcx
cmpq %rcx, %rax
jne 0x17bcf
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x38(%rbp), %rdi
cmpq %r15, %rdi
je 0x17c49
callq 0x5340
movq %rbx, %rdi
callq 0x56a0
// File: /workspace/github_cpp_makefile_star2_O1/CK7[P]abawaca/src/common.cpp
// Function: print_percent(unsigned long, unsigned long, std::ostream&)
void print_percent(size_t old_p, size_t new_p, ostream& os)
{
	if(new_p == 0) {
		os << "0 %";
		return;
	}

	os << char(8) << char(8);
	if(old_p == 0)
		os << char(8);
	else {
		while(old_p > 0) {
			os << char(8);
			old_p /= 10;
		}
	}
	os << new_p << " %";
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
testq %rsi, %rsi
je 0x17d47
movq %rsi, %r14
movq %rdi, %r15
movb $0x8, %r12b
leaq -0x2a(%rbp), %rsi
movb %r12b, (%rsi)
movl $0x1, %edx
movq %rbx, %rdi
callq 0x5420
leaq -0x2b(%rbp), %rsi
movb %r12b, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x5420
testq %r15, %r15
je 0x17d69
leaq -0x29(%rbp), %r12
movabsq $-0x3333333333333333, %r13 # imm = 0xCCCCCCCCCCCCCCCD
movb $0x8, -0x29(%rbp)
movl $0x1, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x5420
movq %r15, %rax
mulq %r13
shrq $0x3, %rdx
cmpq $0x9, %r15
movq %rdx, %r15
ja 0x17d1e
jmp 0x17d7d
leaq 0x3958(%rip), %rsi      # 0x1b6a6
movl $0x3, %edx
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x5420
leaq -0x2c(%rbp), %rsi
movb $0x8, (%rsi)
movl $0x1, %edx
movq %rbx, %rdi
callq 0x5420
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5240
leaq 0x3918(%rip), %rsi      # 0x1b6a7
movl $0x2, %edx
movq %rax, %rdi
callq 0x5420
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/CK7[P]abawaca/src/common.cpp
// Function: glob(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
vector<string> glob(const string& pat)
{
	glob_t glob_result;
	glob(pat.c_str(),GLOB_TILDE,NULL,&glob_result);
	vector<string> ret;

	for(unsigned int i=0;i<glob_result.gl_pathc;++i){
		ret.push_back(string(glob_result.gl_pathv[i]));
	}
	globfree(&glob_result);

	return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdi, %rbx
movq (%rsi), %rdi
leaq -0x98(%rbp), %r14
movl $0x1000, %esi           # imm = 0x1000
xorl %edx, %edx
movq %r14, %rcx
callq 0x53e0
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
cmpq $0x0, (%r14)
je 0x17e3e
movl $0x1, %r13d
leaq -0x40(%rbp), %r12
xorl %eax, %eax
leaq -0x50(%rbp), %r14
leaq -0x29(%rbp), %r15
movq -0x90(%rbp), %rcx
movq (%rcx,%rax,8), %rsi
movq %r14, %rdi
movq %r15, %rdx
callq 0x5160
movq %rbx, %rdi
movq %r14, %rsi
callq 0x17f16
movq -0x50(%rbp), %rdi
cmpq %r12, %rdi
je 0x17e2f
callq 0x5340
movl %r13d, %eax
incl %r13d
cmpq %rax, -0x98(%rbp)
ja 0x17e00
leaq -0x98(%rbp), %rdi
callq 0x50a0
movq %rbx, %rax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x17e72
movq %rax, %r14
movq -0x50(%rbp), %rdi
cmpq %r12, %rdi
je 0x17e72
callq 0x5340
movq %rbx, %rdi
callq 0x17ec8
movq %r14, %rdi
callq 0x56a0
// File: /workspace/github_cpp_makefile_star2_O1/CK7[P]abawaca/src/ClusterQuality.cpp
// Function: standard_deviation(std::vector<std::pair<unsigned long, double>, std::allocator<std::pair<unsigned long, double>>>, double&, double&)
void standard_deviation(vector<pair<size_t, double> > data, double& mean, double& stdev)
{
	if(data.size() == 0) {
		mean = stdev = -1;
		return;
	}

	size_t	total_size = 0;
	mean=0;
	stdev=0;

	for(auto it=data.begin(); it!=data.end(); it++) {
		mean += it->first*it->second;
		total_size += it->first;
	}
	mean /= total_size;

	for(auto it=data.begin(); it!=data.end(); it++)
		stdev += it->first*(it->second-mean)*(it->second-mean);

	stdev = sqrt(stdev/(total_size-1));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq (%rdi), %rax
movq 0x8(%rdi), %rcx
cmpq %rax, %rcx
je 0x18292
xorl %edx, %edx
movq %rdx, (%rsi)
movq %rdx, (%rbx)
movsd (%rsi), %xmm2
movq 0x2ff3(%rip), %xmm0     # 0x1b1a0
movapd 0x2ffb(%rip), %xmm1     # 0x1b1b0
movq %rax, %rdi
movq (%rdi), %r8
movq %r8, %xmm3
punpckldq %xmm0, %xmm3    # xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
subpd %xmm1, %xmm3
movapd %xmm3, %xmm4
unpckhpd %xmm3, %xmm4            # xmm4 = xmm4[1],xmm3[1]
addsd %xmm3, %xmm4
mulsd 0x8(%rdi), %xmm4
addsd %xmm4, %xmm2
movsd %xmm2, (%rsi)
addq %r8, %rdx
addq $0x10, %rdi
cmpq %rcx, %rdi
jne 0x181b8
movq %rdx, %xmm2
punpckldq 0x2fa6(%rip), %xmm2 # xmm2 = xmm2[0],mem[0],xmm2[1],mem[1]
subpd 0x2fae(%rip), %xmm2     # 0x1b1b0
movapd %xmm2, %xmm3
unpckhpd %xmm2, %xmm3            # xmm3 = xmm3[1],xmm2[1]
addsd %xmm2, %xmm3
movsd (%rsi), %xmm2
divsd %xmm3, %xmm2
movsd %xmm2, (%rsi)
cmpq %rcx, %rax
je 0x18256
movq (%rax), %xmm2
punpckldq %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
subpd %xmm1, %xmm2
movapd %xmm2, %xmm3
unpckhpd %xmm2, %xmm3            # xmm3 = xmm3[1],xmm2[1]
addsd %xmm2, %xmm3
movsd 0x8(%rax), %xmm2
subsd (%rsi), %xmm2
mulsd %xmm2, %xmm3
mulsd %xmm2, %xmm3
addsd (%rbx), %xmm3
movsd %xmm3, (%rbx)
addq $0x10, %rax
jmp 0x1821a
decq %rdx
movq %rdx, %xmm1
punpckldq 0x2f3a(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x2f42(%rip), %xmm1     # 0x1b1b0
movsd (%rbx), %xmm0
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd %xmm2, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x182a4
sqrtsd %xmm0, %xmm0
jmp 0x182a9
movabsq $-0x4010000000000000, %rax # imm = 0xBFF0000000000000
movq %rax, (%rbx)
movq %rax, (%rsi)
jmp 0x182ad
callq 0x52b0
movsd %xmm0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/CK7[P]abawaca/src/ClusterQuality.cpp
// Function: ClusterQuality::dimension(Cluster const&, double&, double&, Dimension const&) const
void ClusterQuality::dimension(const Cluster& cluster, double& avg, double& stdev, const Dimension& dimension) const
{
	vector<pair<size_t, double> >   d;

	for(auto it=cluster.assigned_scafs_begin(); it!=cluster.assigned_scafs_end(); it++) {
		const set<const ScafDpData::DataPoint*>& scaf_dps = scaf_db.get_scaf(*it)->get_scaf_dps();
		for(auto sit=scaf_dps.begin(); sit!=scaf_dps.end(); sit++) {
			d.push_back(pair<size_t, double>(1, dimension.get_value((*sit)->get_iid())));
		}
	}
	standard_deviation(d, avg, stdev);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rcx, -0x50(%rbp)
movq %rdx, -0x48(%rbp)
movq %rdi, -0x60(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x40(%rbp)
movq $0x0, -0x30(%rbp)
movq 0x88(%rsi), %rbx
addq $0x78, %rsi
movq %rsi, -0x58(%rbp)
cmpq %rsi, %rbx
je 0x183b2
movq %r8, %r15
leaq -0x70(%rbp), %r13
movq -0x60(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x20(%rbx), %rcx
movq 0x78(%rax), %rdx
movq 0x80(%rax), %rax
subq %rdx, %rax
sarq $0x3, %rax
movabsq $-0x71c71c71c71c71c7, %rsi # imm = 0x8E38E38E38E38E39
imulq %rsi, %rax
cmpq %rcx, %rax
leaq (%rcx,%rcx,8), %rax
leaq (%rdx,%rax,8), %r14
movl $0x0, %eax
cmovbeq %rax, %r14
movq 0x20(%r14), %r12
addq $0x10, %r14
cmpq %r14, %r12
je 0x1839d
movq 0x20(%r12), %rax
movq (%rax), %rsi
movq %r15, %rdi
callq 0xfa80
movq $0x1, -0x70(%rbp)
movsd %xmm0, -0x68(%rbp)
movq -0x38(%rbp), %rsi
cmpq -0x30(%rbp), %rsi
je 0x18381
movups -0x70(%rbp), %xmm0
movups %xmm0, (%rsi)
addq $0x10, -0x38(%rbp)
jmp 0x1838d
leaq -0x40(%rbp), %rdi
movq %r13, %rdx
callq 0x18d66
movq %r12, %rdi
callq 0x5430
movq %rax, %r12
cmpq %r14, %rax
jne 0x1834c
movq %rbx, %rdi
callq 0x5430
movq %rax, %rbx
cmpq -0x58(%rbp), %rax
jne 0x182ff
leaq -0x88(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x18b40
leaq -0x88(%rbp), %rbx
movq %rbx, %rdi
movq -0x48(%rbp), %rsi
movq -0x50(%rbp), %rdx
callq 0x18180
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x183e6
callq 0x5340
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x183f4
callq 0x5340
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x18405
movq %rax, %rbx
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x18416
callq 0x5340
movq %rbx, %rdi
callq 0x56a0
// File: /workspace/github_cpp_makefile_star2_O1/CK7[P]abawaca/src/ClusterQuality.cpp
// Function: ClusterQuality::gc(Cluster const&, double&, double&) const
void ClusterQuality::gc(const Cluster& cluster, double& avg_gc, double& gc_stdev) const
{
	vector<pair<size_t, double> >	gc;

	for(auto it=cluster.assigned_scafs_begin(); it!=cluster.assigned_scafs_end(); it++) {
		const ScafDpData::Seq* seq_obj = scaf_db.get_scaf(*it);
		if(seq_obj != NULL)
			gc.push_back(pair<size_t, double>(seq_obj->get_seq_obj()->seq().size(), seq_obj->get_gc()));
	}
	standard_deviation(gc, avg_gc, gc_stdev);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rcx, -0x50(%rbp)
movq %rdx, -0x48(%rbp)
movq %rsi, %r15
xorps %xmm0, %xmm0
movaps %xmm0, -0x40(%rbp)
movq $0x0, -0x30(%rbp)
movq 0x88(%rsi), %r13
addq $0x78, %r15
cmpq %r15, %r13
je 0x1854f
movq %rdi, %r12
movabsq $-0x71c71c71c71c71c7, %rbx # imm = 0x8E38E38E38E38E39
movq 0x8(%r12), %rdx
movq 0x78(%rdx), %rax
testq %rax, %rax
je 0x1853f
movq 0x20(%r13), %rcx
movq 0x80(%rdx), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
imulq %rbx, %rdx
cmpq %rcx, %rdx
jbe 0x1853f
leaq (%rcx,%rcx,8), %rcx
movq 0x38(%rax,%rcx,8), %rdi
movq 0x50(%rdi), %r14
addq $0x48, %rdi
callq 0x16809
movq %r14, -0x60(%rbp)
movsd %xmm0, -0x58(%rbp)
movq -0x38(%rbp), %rsi
cmpq -0x30(%rbp), %rsi
je 0x18532
movups -0x60(%rbp), %xmm0
movups %xmm0, (%rsi)
addq $0x10, -0x38(%rbp)
jmp 0x1853f
leaq -0x40(%rbp), %rdi
leaq -0x60(%rbp), %rdx
callq 0x18d66
movq %r13, %rdi
callq 0x5430
movq %rax, %r13
cmpq %r15, %rax
jne 0x184d2
leaq -0x78(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x18b40
leaq -0x78(%rbp), %rbx
movq %rbx, %rdi
movq -0x48(%rbp), %rsi
movq -0x50(%rbp), %rdx
callq 0x18180
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x1857d
callq 0x5340
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x1858b
callq 0x5340
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1859c
movq %rax, %rbx
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x185ad
callq 0x5340
movq %rbx, %rdi
callq 0x56a0
nop
// File: /workspace/github_cpp_makefile_star2_O1/CK7[P]abawaca/src/ClusterQuality.cpp
// Function: ClusterQuality::cvg(Cluster const&, double&, double&) const
void ClusterQuality::cvg(const Cluster& cluster, double& avg_cvg, double& cvg_stdev) const
{
	vector<pair<size_t, double> >	cvg;

	for(auto it=cluster.assigned_scafs_begin(); it!=cluster.assigned_scafs_end(); it++) {
		const ScafDpData::Seq* seq_obj = scaf_db.get_scaf(*it);
		if(seq_obj != NULL) {
			cvg.push_back(pair<size_t, double>(seq_obj->get_seq_obj()->seq().size(), seq_obj->get_cvg()));
		}
	}
	standard_deviation(cvg, avg_cvg, cvg_stdev);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rcx, -0x50(%rbp)
movq %rdx, -0x48(%rbp)
movq %rsi, %r15
xorps %xmm0, %xmm0
movaps %xmm0, -0x40(%rbp)
movq $0x0, -0x30(%rbp)
movq 0x88(%rsi), %r13
addq $0x78, %r15
cmpq %r15, %r13
je 0x1867f
movq %rdi, %r12
movabsq $-0x71c71c71c71c71c7, %rbx # imm = 0x8E38E38E38E38E39
leaq -0x60(%rbp), %r14
movq 0x8(%r12), %rdx
movq 0x78(%rdx), %rax
testq %rax, %rax
je 0x1866f
movq 0x20(%r13), %rcx
movq 0x80(%rdx), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
imulq %rbx, %rdx
cmpq %rcx, %rdx
jbe 0x1866f
leaq (%rcx,%rcx,8), %rcx
movq 0x38(%rax,%rcx,8), %rdx
movq 0x50(%rdx), %rdx
movsd 0x40(%rax,%rcx,8), %xmm0
movq %rdx, -0x60(%rbp)
movsd %xmm0, -0x58(%rbp)
movq -0x38(%rbp), %rsi
cmpq -0x30(%rbp), %rsi
je 0x18663
movups -0x60(%rbp), %xmm0
movups %xmm0, (%rsi)
addq $0x10, -0x38(%rbp)
jmp 0x1866f
leaq -0x40(%rbp), %rdi
movq %r14, %rdx
callq 0x18d66
movq %r13, %rdi
callq 0x5430
movq %rax, %r13
cmpq %r15, %rax
jne 0x18606
leaq -0x78(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x18b40
leaq -0x78(%rbp), %rbx
movq %rbx, %rdi
movq -0x48(%rbp), %rsi
movq -0x50(%rbp), %rdx
callq 0x18180
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x186ad
callq 0x5340
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x186bb
callq 0x5340
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x186cc
movq %rax, %rbx
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x186dd
callq 0x5340
movq %rbx, %rdi
callq 0x56a0
nop
// File: /workspace/github_cpp_makefile_star2_O1/CK7[P]abawaca/src/ClusterQuality.cpp
// Function: ClusterQuality::total_size(Cluster const&) const
size_t ClusterQuality::total_size(const Cluster& cluster) const
{
	size_t ts = 0;
	for(auto it=cluster.assigned_scafs_begin(); it!=cluster.assigned_scafs_end(); it++) {
		const Bio::DNASequence* seq_obj =  scaf_db.get_scaf(*it)->get_seq_obj();
		if(seq_obj != NULL)
			ts += seq_obj->seq().size();
	}
	return ts;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq 0x88(%rsi), %rax
addq $0x78, %rbx
cmpq %rbx, %rax
je 0x18760
movq 0x8(%rdi), %rcx
movq 0x78(%rcx), %r15
movq 0x80(%rcx), %rcx
subq %r15, %rcx
sarq $0x3, %rcx
movabsq $-0x71c71c71c71c71c7, %r12 # imm = 0x8E38E38E38E38E39
imulq %rcx, %r12
xorl %r13d, %r13d
xorl %r14d, %r14d
movq 0x20(%rax), %rcx
cmpq %rcx, %r12
leaq (%rcx,%rcx,8), %rcx
leaq (%r15,%rcx,8), %rcx
cmovbeq %r13, %rcx
movq 0x38(%rcx), %rcx
testq %rcx, %rcx
je 0x18751
addq 0x50(%rcx), %r14
movq %rax, %rdi
callq 0x5430
cmpq %rbx, %rax
jne 0x18731
jmp 0x18763
xorl %r14d, %r14d
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/superblocks[P]superblocks/list-sxc.cpp
// Function: main
int main() {
	cout << "[SXC] Sexcoin - Superblock list" << endl << endl;
	cout << "BLOCK, REWARD" << endl;
	for (int nHeight = 0; nHeight <= list_length; nHeight++) {
		random::mt19937 gen(nHeight);
		random::uniform_int_distribution<> dist(1, 100000);
		int rand = dist(gen);
		if(rand > 99990)
			cout << nHeight << ", 5000" << endl;
		else if (rand < 2001) 
			cout << nHeight << ", 500" << endl;
	}
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x9d8, %rsp            # imm = 0x9D8
movq 0x2de1(%rip), %rbx      # 0x3fd8
leaq 0xe06(%rip), %rsi       # 0x2004
movl $0x1f, %edx
movq %rbx, %rdi
callq 0x1070
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x1060
movsbl %al, %esi
movq %rbx, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1040
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x1060
movsbl %al, %esi
movq %r14, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1040
leaq 0xdc1(%rip), %rsi       # 0x2024
movl $0xd, %edx
movq %rbx, %rdi
callq 0x1070
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x1060
movsbl %al, %esi
movq %rbx, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1040
cmpl $0x0, 0x2dc2(%rip)      # 0x4060
js 0x135e
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
leaq -0x9f8(%rbp), %r14
leaq -0x2c(%rbp), %r15
movq 0x2d1d(%rip), %r12      # 0x3fd8
incl %ebx
movl %ebx, -0x2c(%rbp)
movq %r14, %rdi
movq %r15, %rsi
callq 0x1372
movq %r14, %rdi
movl $0x1, %esi
movl $0x186a0, %edx          # imm = 0x186A0
callq 0x13fa
cmpl $0x18697, %eax          # imm = 0x18697
jl 0x1302
movq %r12, %rdi
movl %ebx, %esi
callq 0x1090
movq %rax, %r13
movl $0x6, %edx
movq %rax, %rdi
leaq 0xd32(%rip), %rsi       # 0x2032
jmp 0x1325
cmpl $0x7d0, %eax            # imm = 0x7D0
jg 0x1352
movq %r12, %rdi
movl %ebx, %esi
callq 0x1090
movq %rax, %r13
movl $0x5, %edx
movq %rax, %rdi
leaq 0xd14(%rip), %rsi       # 0x2039
callq 0x1070
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x1060
movsbl %al, %esi
movq %r13, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1040
cmpl 0x2d08(%rip), %ebx      # 0x4060
jl 0x12bb
xorl %eax, %eax
addq $0x9d8, %rsp            # imm = 0x9D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/tdv[P]boss/boss/examples/multy_object/main.cpp
// Function: FuncForIFace1(MyNs::IFaces::IFace1*)
void FuncForIFace1(MyNs::IFaces::IFace1 *obj)
{
  if (!obj)
  {
    std::cerr << "No object." << std::endl;
    return;
  }
  if (obj->Method1() != Boss::Status::Ok)
    std::cout << "Failed to call IFace1::Method1" << std::endl;
}

// Assembly:
pushq %rbx
testq %rdi, %rdi
je 0x170b8
movq (%rdi), %rax
callq *0x28(%rax)
testl %eax, %eax
je 0x170fb
leaq 0xe0356(%rip), %rbx     # 0xf7400
leaq 0xa3f5e(%rip), %rsi     # 0xbb00f
movl $0x1e, %edx
jmp 0x170cb
leaq 0xe0221(%rip), %rbx     # 0xf72e0
leaq 0xa3f3e(%rip), %rsi     # 0xbb004
movl $0xa, %edx
movq %rbx, %rdi
callq 0x81aa0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x62bf0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x815a0
movq %rax, %rdi
popq %rbx
jmp 0x80b70
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/tdv[P]boss/boss/examples/multy_object/main.cpp
// Function: FuncForIFace2(MyNs::IFaces::IFace2*)
void FuncForIFace2(MyNs::IFaces::IFace2 *obj)
{
  if (!obj)
  {
    std::cerr << "No object." << std::endl;
    return;
  }
  if (obj->Method2() != Boss::Status::Ok)
    std::cout << "Failed to call IFace2::Method2" << std::endl;
}

// Assembly:
pushq %rbx
testq %rdi, %rdi
je 0x17122
movq (%rdi), %rax
callq *0x28(%rax)
testl %eax, %eax
je 0x17165
leaq 0xe02ec(%rip), %rbx     # 0xf7400
leaq 0xa3f13(%rip), %rsi     # 0xbb02e
movl $0x1e, %edx
jmp 0x17135
leaq 0xe01b7(%rip), %rbx     # 0xf72e0
leaq 0xa3ed4(%rip), %rsi     # 0xbb004
movl $0xa, %edx
movq %rbx, %rdi
callq 0x81aa0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x62bf0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x815a0
movq %rax, %rdi
popq %rbx
jmp 0x80b70
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/tdv[P]boss/boss/examples/multy_object/main.cpp
// Function: FuncForIFace3(MyNs::IFaces::IFace3*)
void FuncForIFace3(MyNs::IFaces::IFace3 *obj)
{
  if (!obj)
  {
    std::cerr << "No object." << std::endl;
    return;
  }
  if (obj->Method3() != Boss::Status::Ok)
    std::cout << "Failed to call IFace3::Method3" << std::endl;
}

// Assembly:
pushq %rbx
testq %rdi, %rdi
je 0x1718c
movq (%rdi), %rax
callq *0x30(%rax)
testl %eax, %eax
je 0x171cf
leaq 0xe0282(%rip), %rbx     # 0xf7400
leaq 0xa3ec8(%rip), %rsi     # 0xbb04d
movl $0x1e, %edx
jmp 0x1719f
leaq 0xe014d(%rip), %rbx     # 0xf72e0
leaq 0xa3e6a(%rip), %rsi     # 0xbb004
movl $0xa, %edx
movq %rbx, %rdi
callq 0x81aa0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x62bf0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x815a0
movq %rax, %rdi
popq %rbx
jmp 0x80b70
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/tdv[P]boss/boss/examples/multy_object/main.cpp
// Function: FuncForIFace4(MyNs::IFaces::IFace4*)
void FuncForIFace4(MyNs::IFaces::IFace4 *obj)
{
  if (!obj)
  {
    std::cerr << "No object." << std::endl;
    return;
  }
  if (obj->Method4() != Boss::Status::Ok)
    std::cout << "Failed to call IFace4::Method4" << std::endl;
}

// Assembly:
pushq %rbx
testq %rdi, %rdi
je 0x171f6
movq (%rdi), %rax
callq *0x28(%rax)
testl %eax, %eax
je 0x17239
leaq 0xe0218(%rip), %rbx     # 0xf7400
leaq 0xa3e7d(%rip), %rsi     # 0xbb06c
movl $0x1e, %edx
jmp 0x17209
leaq 0xe00e3(%rip), %rbx     # 0xf72e0
leaq 0xa3e00(%rip), %rsi     # 0xbb004
movl $0xa, %edx
movq %rbx, %rdi
callq 0x81aa0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x62bf0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x815a0
movq %rax, %rdi
popq %rbx
jmp 0x80b70
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/cqbqdd11519[P]DockerClient/docker.cpp
// Function: param(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool)
std::string param( const std::string& param_name, bool param_value){
    std::string ret;
    ret = "&" + param_name + "=";
    if(param_value){
        return ret + "true";
    }
    else{
        return ret + "false";
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movl %edx, %r14d
movq %rsi, %rdx
movq %rdi, %rbx
leaq -0x38(%rbp), %r12
movq %r12, -0x10(%r12)
movq $0x0, -0x8(%r12)
movb $0x0, (%r12)
leaq 0x7b3f(%rip), %rsi      # 0x1027a
leaq -0x68(%rbp), %rdi
callq 0x7370
leaq 0x7a15(%rip), %rsi      # 0x10160
leaq -0x68(%rbp), %rdi
callq 0x7870
leaq -0x78(%rbp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x877b
movq %rdx, -0x88(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x78(%rbp)
jmp 0x8783
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq -0x88(%rbp), %r15
movq %rdx, 0x8(%r15)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x48(%rbp), %rdi
movq %r15, %rsi
callq 0x7570
movq (%r15), %rdi
cmpq %r13, %rdi
je 0x87ba
callq 0x73b0
leaq -0x58(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x87cc
callq 0x73b0
leaq 0x10(%rbx), %r15
testb %r14b, %r14b
je 0x87fc
movq %r15, (%rbx)
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x71b0
leaq 0x7a8a(%rip), %rsi      # 0x1027c
movq %rbx, %rdi
callq 0x7870
jmp 0x8821
movq %r15, (%rbx)
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x71b0
leaq 0x7a68(%rip), %rsi      # 0x10281
movq %rbx, %rdi
callq 0x7870
movq -0x48(%rbp), %rdi
cmpq %r12, %rdi
je 0x882f
callq 0x73b0
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x8843
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
jne 0x8862
jmp 0x886c
jmp 0x8869
movq %rax, %r14
leaq -0x58(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x886c
callq 0x73b0
jmp 0x886c
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %r12, %rdi
je 0x887a
callq 0x73b0
movq %r14, %rdi
callq 0x77e0