LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/massykezzoul[P]jeu-de-la-vie/configuration/configuration.cpp
// Function: nettoyer_ligne(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
string nettoyer_ligne(string ligne) {
	string sans_comment = ligne;
	// Suppression des commentairess
	sans_comment = sans_comment.substr(0,sans_comment.find_first_of("#"));

	//supprimer les espaces en plus el tes tabulations
	//supprimer les espaces et les tabulations en debut de chaine
	while ((sans_comment[0] == ' ') || (sans_comment[0] == '\t'))
		sans_comment.erase(0,1);

	//supprimer les espaces et les tabulations en mileux de chaine
	unsigned int i = 1;
	while (i < sans_comment.size()) {
		if ((sans_comment[i] == ' ') && (sans_comment[i-1] == ' '))
			sans_comment.erase(i,1);
		else if (sans_comment[i] == '\t') // remplace les tabulation au milieu par un espace
			sans_comment[i] = ' ';
		else
			++i;
	}

	//suprimer les espaces et les tabulations en fin de chaine 
	while ((sans_comment[sans_comment.size()-1] == ' ') || (sans_comment[sans_comment.size()-1] == '\t'))
		sans_comment.erase(sans_comment.size()-1,1);

	return sans_comment;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
movq %rax, %rsi
callq 0x4ea6
leaq 0x2066(%rip), %rsi      # 0x726e
movl $0x1, %ecx
movq %rbx, %rdi
xorl %edx, %edx
callq 0x2270
movq %rsp, %rdi
movq %rbx, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x21c0
movq %rsp, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x21f0
movq (%r14), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x524f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21a0
movq (%rbx), %rax
movzbl (%rax), %eax
cmpl $0x9, %eax
je 0x525f
cmpl $0x20, %eax
jne 0x5270
movl $0x1, %edx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x2050
jmp 0x524f
cmpq $0x2, 0x8(%rbx)
jb 0x52c3
movl $0x1, %r14d
movl $0x1, %esi
movq (%rbx), %rax
movzbl (%rax,%rsi), %ecx
cmpl $0x9, %ecx
je 0x52b1
cmpl $0x20, %ecx
jne 0x52b7
leal -0x1(%r14), %edx
cmpb $0x20, (%rax,%rdx)
jne 0x52ac
movl $0x1, %edx
movq %rbx, %rdi
callq 0x2050
jmp 0x52ba
cmpb $0x9, %cl
jne 0x52b7
movb $0x20, (%rax,%rsi)
jmp 0x52ba
incl %r14d
movl %r14d, %esi
cmpq %rsi, 0x8(%rbx)
ja 0x5282
movq (%rbx), %rax
movq 0x8(%rbx), %rsi
movzbl -0x1(%rax,%rsi), %eax
cmpl $0x20, %eax
je 0x52d9
cmpl $0x9, %eax
jne 0x52eb
decq %rsi
movl $0x1, %edx
movq %rbx, %rdi
callq 0x2050
jmp 0x52c3
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0x52fe
jmp 0x52fe
jmp 0x52fe
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x5314
movq (%r15), %rsi
incq %rsi
callq 0x21a0
movq %r14, %rdi
callq 0x22e0
// File: /workspace/github_cpp_makefile_star2_O1/massykezzoul[P]jeu-de-la-vie/configuration/configuration.cpp
// Function: get_chaine(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, unsigned long)
string get_chaine(string ligne,size_t i) {
	size_t debut,fin;
	debut = i;
	while(ligne[debut] == ' ')
		++debut;

	fin = ligne.find_first_of(" ",debut);
	return ligne.substr(debut,fin-debut);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %rax
decq %r15
cmpb $0x20, 0x1(%rax,%r15)
leaq 0x1(%r15), %r15
je 0x5330
leaq 0x1e4a(%rip), %rsi      # 0x718d
movl $0x1, %ecx
movq %r14, %rdi
movq %r15, %rdx
callq 0x2270
subq %r15, %rax
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rax, %rcx
callq 0x21c0
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/massykezzoul[P]jeu-de-la-vie/configuration/configuration.cpp
// Function: verif_valeur(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool verif_valeur(string cle,string valeur) {
	int x,y;
	if ((cle == "Probability") && (isFloat(valeur)))
		return true;
	else if ((cle == "Dimension" && (convert(valeur) > 0)))
		return true;
	else if ((cle == "Cell" && (decode_cell(valeur,x,y))))
		return true;
	else 
		return false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x2136(%rip), %rsi      # 0x74c1
callq 0x20a0
movl %eax, %ebp
testl %eax, %eax
je 0x539b
xorl %r15d, %r15d
jmp 0x53c6
leaq 0x58(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %r15
movq %r15, %rdi
callq 0x4ea6
movq %r15, %rdi
callq 0x5c46
movl %eax, %r15d
testl %ebp, %ebp
jne 0x53e5
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x53e5
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x21a0
movb $0x1, %bpl
testb %r15b, %r15b
jne 0x54cb
leaq 0x20d5(%rip), %rsi      # 0x74cd
movq %r14, %rdi
callq 0x20a0
movl %eax, %r15d
testl %eax, %eax
je 0x540c
xorl %r12d, %r12d
jmp 0x543a
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %r12
movq %r12, %rdi
callq 0x4ea6
movq %r12, %rdi
callq 0x5b00
testl %eax, %eax
setg %r12b
testl %r15d, %r15d
jne 0x545a
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x545a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21a0
testb %r12b, %r12b
jne 0x54cb
leaq 0x2071(%rip), %rsi      # 0x74d7
movq %r14, %rdi
callq 0x20a0
movl %eax, %r14d
testl %eax, %eax
je 0x5479
xorl %ebp, %ebp
jmp 0x54ab
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x4ea6
leaq 0x4(%rsp), %rsi
movq %rsp, %rdx
movq %rbx, %rdi
callq 0x5511
movl %eax, %ebp
testl %r14d, %r14d
jne 0x54cb
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x54cb
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
movl %ebp, %eax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
jmp 0x54f8
movq %rax, %rbx
movq 0x28(%rsp), %rdi
jmp 0x54f8
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x5509
movq (%r13), %rsi
incq %rsi
callq 0x21a0
movq %rbx, %rdi
callq 0x22e0
// File: /workspace/github_cpp_makefile_star2_O1/massykezzoul[P]jeu-de-la-vie/configuration/configuration.cpp
// Function: set_cle_valeur(Population&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void set_cle_valeur(Population& pop,string const cle,string const valeur) {
	if (cle == "Probability")
		pop.set_probability(atof(valeur.c_str()));
	else if (cle == "Dimension")
		pop.set_dimension(convert(valeur));
	else if (cle == "Cell") {
		int x,y;
		if (decode_cell(valeur,x,y))
			pop.set_cell(x,y);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x1b0c(%rip), %rsi      # 0x74c1
movq %r15, %rdi
callq 0x20a0
testl %eax, %eax
je 0x5a54
leaq 0x1b01(%rip), %rsi      # 0x74cd
movq %r15, %rdi
callq 0x20a0
testl %eax, %eax
je 0x5a72
leaq 0x1af4(%rip), %rsi      # 0x74d7
movq %r15, %rdi
callq 0x20a0
testl %eax, %eax
jne 0x5abc
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x4ea6
leaq 0x4(%rsp), %rsi
movq %rsp, %rdx
movq %r14, %rdi
callq 0x5511
movl %eax, %ebp
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x5a3c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
testb %bpl, %bpl
je 0x5abc
movslq 0x4(%rsp), %rsi
movslq (%rsp), %rdx
movq %rbx, %rdi
callq 0x3c34
jmp 0x5abc
movq (%r14), %rdi
callq 0x2200
cvtsd2ss %xmm0, %xmm0
movq %rbx, %rdi
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x3738
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %r14
movq %r14, %rdi
callq 0x4ea6
movq %r14, %rdi
callq 0x5b00
movslq %eax, %rsi
movq %rbx, %rdi
callq 0x37ce
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x5abc
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21a0
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x5af5
movq 0x18(%rsp), %rsi
jmp 0x5aed
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x5af5
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21a0
movq %rbx, %rdi
callq 0x22e0
nopl (%rax)
// File: /workspace/github_cpp_makefile_star2_O1/massykezzoul[P]jeu-de-la-vie/configuration/convert/convert.cpp
// Function: dix_puiss(int)
size_t dix_puiss(int n) {
	if(n<0)
		return -1; /* ERREUR */
	else {
		if (n == 0)
			return 1;
		else 
			return 10*dix_puiss(n-1);
	}
}

// Assembly:
movl $0x1, %eax
testl %edi, %edi
js 0x5c0a
subl $0x1, %edi
jb 0x5c13
addq %rax, %rax
leaq (%rax,%rax,4), %rax
jmp 0x5bf8
movq $-0x1, %rcx
jmp 0x5c18
movl $0x1, %ecx
imulq %rcx, %rax
retq
// File: /workspace/github_cpp_makefile_star2_O1/massykezzoul[P]jeu-de-la-vie/configuration/convert/convert.cpp
// Function: isFloat(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool isFloat( string myString ) {
    istringstream iss(myString);
    float f;
    iss >> noskipws >> f; // noskipws considers leading whitespace invalid
    // Check the entire string was consumed and if either failbit or badbit is set
    return iss.eof() && !iss.fail(); 
}

// Assembly:
pushq %rbx
subq $0x190, %rsp            # imm = 0x190
movq %rdi, %rsi
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
movl $0x8, %edx
callq 0x22b0
movq (%rbx), %rax
movq -0x18(%rax), %rax
andl $0xffffefff, 0x28(%rsp,%rax) # imm = 0xFFFFEFFF
leaq 0xc(%rsp), %rsi
movq %rbx, %rdi
callq 0x2330
leaq 0x10(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
movl 0x30(%rsp,%rax), %eax
andl $0x7, %eax
cmpl $0x2, %eax
sete %bl
movq 0x5329(%rip), %rsi      # 0xafc8
callq 0x2250
leaq 0x88(%rsp), %rdi
callq 0x20b0
movl %ebx, %eax
addq $0x190, %rsp            # imm = 0x190
popq %rbx
retq
movq %rax, %rbx
movq 0x5302(%rip), %rsi      # 0xafc8
leaq 0x10(%rsp), %rdi
callq 0x2250
leaq 0x88(%rsp), %rdi
callq 0x20b0
movq %rbx, %rdi
callq 0x22e0
nopl (%rax)
// File: /workspace/github_cpp_makefile_star2_O1/massykezzoul[P]jeu-de-la-vie/option/option.cpp
// Function: Option::Option(Option const&)
Option::Option(Option const &copy) {
		identifiant = copy.get_identifiant();
		nom = (copy.get_nom());
		racourci = (copy.get_racourci());
		argument = (copy.get_argument());
		description = (copy.get_description());
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %r15
movq %rdi, %r12
leaq 0x8(%rdi), %rbx
leaq 0x18(%rdi), %rax
movq %rax, 0x8(%rsp)
movq %rax, 0x8(%rdi)
xorl %eax, %eax
movq %rax, 0x10(%rdi)
movb %al, 0x18(%rdi)
leaq 0x30(%rdi), %r14
leaq 0x40(%rdi), %rcx
movq %rcx, (%rsp)
movq %rcx, 0x30(%rdi)
movq %rax, 0x38(%rdi)
movb %al, 0x40(%rdi)
movl (%rsi), %eax
movl %eax, (%rdi)
leaq 0x28(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq 0x8(%rsi), %rsi
movq 0x10(%r15), %rdx
addq %rsi, %rdx
leaq 0x18(%rsp), %rdi
movq %rbx, 0x10(%rsp)
callq 0x4ea6
leaq 0x18(%rsp), %r13
movq %rbx, %rdi
movq %r13, %rsi
callq 0x21f0
movq (%r13), %rdi
cmpq %rbp, %rdi
je 0x5e2a
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x21a0
movb 0x28(%r15), %al
movb %al, 0x28(%r12)
movl 0x2c(%r15), %eax
movl %eax, 0x2c(%r12)
leaq 0x18(%rsp), %rdi
movq %rbp, (%rdi)
movq 0x30(%r15), %rsi
movq 0x38(%r15), %rdx
addq %rsi, %rdx
callq 0x4ea6
leaq 0x18(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x21f0
movq (%rbx), %rdi
cmpq %rbp, %rdi
je 0x5e79
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x21a0
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5e8a
movq %rax, %r15
movq (%r14), %rdi
cmpq (%rsp), %rdi
je 0x5ea5
movq (%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x21a0
movq 0x10(%rsp), %rax
movq (%rax), %rdi
cmpq 0x8(%rsp), %rdi
je 0x5ec4
movq 0x8(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x21a0
movq %r15, %rdi
callq 0x22e0
// File: /workspace/github_cpp_makefile_star2_O1/massykezzoul[P]jeu-de-la-vie/option/option.cpp
// Function: Option::print() const
void Option::print() const {
		std::cout << "Identifiant : " << identifiant << std::endl
			<< "Nom : " << nom << std::endl
			<< "Racourci : " << racourci << std::endl
			<< "Type d'argumment : "<< argument << std::endl
			<< "Description : "<< description << std::endl;
	}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x50a2(%rip), %r14      # 0xafd0
leaq 0x15d3(%rip), %rsi      # 0x7508
movl $0xe, %edx
movq %r14, %rdi
callq 0x21d0
movl (%rbx), %esi
movq %r14, %rdi
callq 0x22d0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2180
movsbl %al, %esi
movq %r14, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2100
movq %rax, %r14
leaq 0x1597(%rip), %rsi      # 0x7517
movl $0x6, %edx
movq %rax, %rdi
callq 0x21d0
movq 0x8(%rbx), %rsi
movq 0x10(%rbx), %rdx
movq %r14, %rdi
callq 0x21d0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2180
movsbl %al, %esi
movq %r14, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2100
movq %rax, %r14
leaq 0x154d(%rip), %rsi      # 0x751e
movl $0xb, %edx
movq %rax, %rdi
callq 0x21d0
movb 0x28(%rbx), %al
leaq 0x7(%rsp), %rsi
movb %al, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x21d0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2180
movsbl %al, %esi
movq %r14, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2100
movq %rax, %r14
leaq 0x1501(%rip), %rsi      # 0x752a
movl $0x13, %edx
movq %rax, %rdi
callq 0x21d0
movl 0x2c(%rbx), %esi
movq %r14, %rdi
callq 0x22d0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2180
movsbl %al, %esi
movq %r14, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2100
movq %rax, %r14
leaq 0x14c9(%rip), %rsi      # 0x753e
movl $0xe, %edx
movq %rax, %rdi
callq 0x21d0
movq 0x30(%rbx), %rsi
movq 0x38(%rbx), %rdx
movq %r14, %rdi
callq 0x21d0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2180
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2100
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/massykezzoul[P]jeu-de-la-vie/option/option.cpp
// Function: Option::operator=(Option const&)
Option Option::operator=(Option const& copy) {
		if (this != &copy) {
			identifiant = copy.get_identifiant();
			nom = (copy.get_nom());
			racourci = (copy.get_racourci());
			argument = (copy.get_argument());
			description = (copy.get_description());
		}

		return *this;
	}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
cmpq %rdx, %rsi
je 0x6197
movq %rdx, %r15
movl (%rdx), %eax
movl %eax, (%r14)
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
movq 0x8(%rdx), %rsi
movq 0x10(%rdx), %rdx
addq %rsi, %rdx
movq %rsp, %r12
movq %r12, %rdi
callq 0x4ea6
leaq 0x8(%r14), %rdi
movq %r12, %rsi
callq 0x21f0
movq (%r12), %rdi
cmpq %r13, %rdi
je 0x614b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21a0
movb 0x28(%r15), %al
movb %al, 0x28(%r14)
movl 0x2c(%r15), %eax
movl %eax, 0x2c(%r14)
movq %rsp, %r12
movq %r13, (%r12)
movq 0x30(%r15), %rsi
movq 0x38(%r15), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x4ea6
leaq 0x30(%r14), %rdi
movq %r12, %rsi
callq 0x21f0
movq (%r12), %rdi
cmpq %r13, %rdi
je 0x6197
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21a0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5d98
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/massykezzoul[P]jeu-de-la-vie/option/option.cpp
// Function: Option_tab::add(Option const&)
void Option_tab::add(const Option &opt){
	// Vérifit si l'option n'existe pas déja dans le tableau
	if (get_option(opt.get_identifiant()) == -1) {	
		tab[nb] = opt;
		nb++;
	}
	else 
		std::cerr << "Identifiant déjà existant dans le tableau." <<std::endl<< std::endl;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x58, %rsp
movq %rsi, %rdx
movq %rdi, %rbx
movq (%rdi), %rax
testq %rax, %rax
je 0x6a14
movl (%rdx), %ecx
leaq 0x8(%rbx), %rsi
movq %rax, %rdi
negq %rdi
xorl %r8d, %r8d
cmpl %ecx, (%rsi)
je 0x6a0e
decq %r8
addq $0x50, %rsi
cmpq %r8, %rdi
jne 0x69fc
jmp 0x6a14
cmpq $0x1, %r8
jne 0x6a72
leaq (%rax,%rax,4), %rax
shlq $0x4, %rax
leaq (%rbx,%rax), %rsi
addq $0x8, %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x60e6
movq 0x30(%r14), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x6a4c
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6a67
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x21a0
incq (%rbx)
addq $0x58, %rsp
popq %rbx
popq %r14
retq
movq 0x4577(%rip), %rbx      # 0xaff0
leaq 0xc14(%rip), %rsi       # 0x7694
movl $0x2c, %edx
movq %rbx, %rdi
callq 0x21d0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2180
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2100
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2180
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
addq $0x58, %rsp
popq %rbx
popq %r14
jmp 0x2100
nop
// File: /workspace/github_cpp_makefile_star2_O1/massykezzoul[P]jeu-de-la-vie/option/option.cpp
// Function: Option_tab::get_option(Option::Id)
int Option_tab::get_option(const Option::Id id){
	int i = 0;
	while (i < nb) {
		if (tab[i].get_identifiant() == id)
			return i;
	++i;
	}
	if (i == nb)
		return -1;
}

// Assembly:
movq (%rdi), %rcx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
testq %rcx, %rcx
je 0x6b09
addq $0x8, %rdi
xorl %edx, %edx
cmpl %esi, (%rdi)
je 0x6b0a
incq %rdx
addq $0x50, %rdi
cmpq %rdx, %rcx
jne 0x6af9
retq
movl %edx, %eax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/massykezzoul[P]jeu-de-la-vie/option/option.cpp
// Function: Option_tab::cherche(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
Option::Id Option_tab::cherche(const std::string &nom) const{
	for (int i = 0; i < nb; ++i) {
		if (tab[i].get_nom() == nom)
			return tab[i].get_identifiant();
	}
	return Option::NB_ID;
}

// Assembly:
movl $0x6, %eax
cmpq $0x0, (%rdi)
je 0x6c2a
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %r15
leaq 0x18(%rsp), %rbp
leaq 0x18(%rdi), %r13
xorl %ebx, %ebx
movq %rbp, 0x8(%rsp)
movq -0x8(%r13), %rsi
movq (%r13), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0x4ea6
movq 0x10(%rsp), %rdx
cmpq 0x8(%r14), %rdx
jne 0x6be1
testq %rdx, %rdx
je 0x6be6
movq (%r14), %rsi
movq 0x8(%rsp), %rdi
callq 0x21b0
testl %eax, %eax
sete %r12b
jmp 0x6be9
xorl %r12d, %r12d
jmp 0x6be9
movb $0x1, %r12b
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x6c00
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
testb %r12b, %r12b
jne 0x6c18
incq %rbx
addq $0x50, %r13
cmpq %rbx, (%r15)
ja 0x6ba2
movl $0x6, %eax
jmp 0x6c1c
movl -0x10(%r13), %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/massykezzoul[P]jeu-de-la-vie/option/option.cpp
// Function: Option_tab::cherche(char) const
Option::Id Option_tab::cherche(const char rac) const{
	for (int i = 0; i < nb; ++i) {
		if (tab[i].get_racourci() == rac)
			return tab[i].get_identifiant();
	}
	return Option::NB_ID;
}

// Assembly:
movq (%rdi), %rcx
movl $0x6, %eax
testq %rcx, %rcx
je 0x6c4b
addq $0x30, %rdi
cmpb %sil, (%rdi)
je 0x6c4c
addq $0x50, %rdi
decq %rcx
jne 0x6c3d
retq
movl -0x28(%rdi), %eax
retq
// File: /workspace/github_cpp_makefile_star2_O1/massykezzoul[P]jeu-de-la-vie/option/option.cpp
// Function: Option_tab::get_argument(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
Option::Arg Option_tab::get_argument(const std::string &nom) const{
	for (int i = 0; i < nb; ++i) {
		if (tab[i].get_nom() == nom)
			return tab[i].get_argument();
	}
	return Option::NB_ARG;
}

// Assembly:
movl $0x5, %eax
cmpq $0x0, (%rdi)
je 0x6dec
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %r15
leaq 0x18(%rsp), %rbp
leaq 0x10(%rdi), %r13
xorl %ebx, %ebx
movq %rbp, 0x8(%rsp)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0x4ea6
movq 0x10(%rsp), %rdx
cmpq 0x8(%r14), %rdx
jne 0x6da3
testq %rdx, %rdx
je 0x6da8
movq (%r14), %rsi
movq 0x8(%rsp), %rdi
callq 0x21b0
testl %eax, %eax
sete %r12b
jmp 0x6dab
xorl %r12d, %r12d
jmp 0x6dab
movb $0x1, %r12b
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x6dc2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
testb %r12b, %r12b
jne 0x6dda
incq %rbx
addq $0x50, %r13
cmpq %rbx, (%r15)
ja 0x6d64
movl $0x5, %eax
jmp 0x6dde
movl 0x24(%r13), %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/massykezzoul[P]jeu-de-la-vie/option/option.cpp
// Function: Option_tab::get_argument(Option::Id) const
Option::Arg Option_tab::get_argument(const Option::Id  id) const{
	for (int i = 0; i < nb; ++i) {
		if (tab[i].get_identifiant() == id)
			return tab[i].get_argument();
	}
	return Option::NB_ARG;
}

// Assembly:
movq (%rdi), %rcx
movl $0x5, %eax
testq %rcx, %rcx
je 0x6e0d
addq $0x34, %rdi
cmpl %esi, -0x2c(%rdi)
je 0x6e0e
addq $0x50, %rdi
decq %rcx
jne 0x6dff
retq
movl (%rdi), %eax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/massykezzoul[P]jeu-de-la-vie/main.cpp
// Function: main
int main(int argc, char const *argv[])
{
	// Initialisé le jeu selon les arguments donnée en paramétre
	Population jeu(argc,argv);
	jeu.init();
	/*
	jeu.affiche_matrice_bw();
	jeu.affiche_dynamique();

	jeu = jeu.next();

	jeu.affiche_matrice_bw();
	jeu.affiche_dynamique();

	jeu = jeu.next();

	jeu.affiche_matrice();
	jeu.affiche_dynamique();
	*/

	simulation(jeu);

	/* Mode Statistique à regler*/
	//fstream stat("vie.stat",ios::out | ios::app);
	//jeu.begin(stat);

	cout << endl << "############################# END OF PROG #############################" << endl;
	
	return 0;
}

// Assembly:
pushq %rbx
subq $0x40, %rsp
movq %rsi, %rdx
movl %edi, %esi
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x2c96
movq %rbx, %rdi
xorl %esi, %esi
callq 0x3a34
movq %rsp, %rdi
callq 0x430c
movq 0x4136(%rip), %rdi      # 0xafd0
movq (%rdi), %rax
addq -0x18(%rax), %rdi
movl $0xa, %esi
callq 0x2180
movsbl %al, %esi
movq 0x411b(%rip), %rdi      # 0xafd0
callq 0x2040
movq %rax, %rdi
callq 0x2100
movq %rax, %rbx
leaq 0x814(%rip), %rsi       # 0x76e0
movl $0x47, %edx
movq %rax, %rdi
callq 0x21d0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2180
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2100
movq %rsp, %rdi
callq 0x392a
xorl %eax, %eax
addq $0x40, %rsp
popq %rbx
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x392a
movq %rbx, %rdi
callq 0x22e0
// File: /workspace/github_cpp_makefile_star2_O1/iZhangHui[P]CppPrimer/CH03_StringsVectorsAndArrays/examples/vecStrings2.cc
// Function: main
int main()
{
	vector<string> text;     // holds the input

	string s;
	while (getline(cin, s))  // read the entire input file
		text.push_back(s);   // storing each line as an element in text
	cout << "text.size: " << text.size() << endl;

	// print each line in text up to the first blank line
	for (auto it = text.cbegin(); 
	     it != text.cend() && !(*it).empty(); ++it) 
		cout << *it << endl;

	// equivalent loop using arrow to dereference it and call empty
	for (auto it = text.cbegin(); 
	     it != text.cend() && !it->empty(); ++it) 
		cout << *it << endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
xorps %xmm0, %xmm0
leaq -0x40(%rbp), %rbx
movaps %xmm0, (%rbx)
xorl %eax, %eax
movq %rax, 0x10(%rbx)
leaq -0x50(%rbp), %r12
movq %r12, -0x10(%r12)
movq %rax, -0x8(%r12)
movb $0x0, (%r12)
movq 0x2cdb(%rip), %r14      # 0x3fe0
leaq -0x60(%rbp), %r15
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x10e0
movsbl %al, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x1170
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x1346
movq %rbx, %rdi
movq %r15, %rsi
callq 0x14ae
jmp 0x1309
movq 0x2c83(%rip), %rdi      # 0x3fd0
leaq 0xcb0(%rip), %rsi       # 0x2004
movl $0xb, %edx
callq 0x1110
movq -0x38(%rbp), %rsi
subq -0x40(%rbp), %rsi
sarq $0x5, %rsi
movq 0x2c5f(%rip), %rdi      # 0x3fd0
callq 0x1080
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x10e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1090
movq -0x40(%rbp), %r15
cmpq -0x38(%rbp), %r15
je 0x13f9
movq 0x2c1f(%rip), %rbx      # 0x3fd0
movq 0x8(%r15), %rdx
testq %rdx, %rdx
je 0x13f9
movq (%r15), %rsi
movq %rbx, %rdi
callq 0x1110
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x10e0
movsbl %al, %esi
movq %r14, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1090
addq $0x20, %r15
cmpq -0x38(%rbp), %r15
jne 0x13b1
movq -0x40(%rbp), %r15
cmpq -0x38(%rbp), %r15
je 0x1452
movq 0x2bc6(%rip), %rbx      # 0x3fd0
movq 0x8(%r15), %rdx
testq %rdx, %rdx
je 0x1452
movq (%r15), %rsi
movq %rbx, %rdi
callq 0x1110
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x10e0
movsbl %al, %esi
movq %r14, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1090
addq $0x20, %r15
cmpq -0x38(%rbp), %r15
jne 0x140a
movq -0x60(%rbp), %rdi
cmpq %r12, %rdi
je 0x1467
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x1100
leaq -0x40(%rbp), %rdi
callq 0x14fa
xorl %eax, %eax
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1485
jmp 0x1485
jmp 0x1485
movq %rax, %rbx
movq -0x60(%rbp), %rdi
cmpq %r12, %rdi
je 0x149d
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x1100
leaq -0x40(%rbp), %rdi
callq 0x14fa
movq %rbx, %rdi
callq 0x1150
// File: /workspace/github_cpp_makefile_star2_O1/vividvilla[P]hackerrank/src/pairs.cpp
// Function: getPairs(std::vector<int, std::allocator<int>>, int)
int getPairs(vector<int> v, int K) {
    int p = 0;
    int N = v.size();
    set<int> ns;

    for (int i = 0; i < N; i++)
        ns.insert(v[i]);

    for (set<int>::iterator itr = ns.begin(); itr != ns.end(); itr++)
        if (ns.find(*itr + K) != ns.end())
            p++;

    return p;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %esi, 0x4(%rsp)
movq 0x8(%rdi), %rbp
subq (%rdi), %rbp
shrq $0x2, %rbp
leaq 0x10(%rsp), %r13
movl $0x0, (%r13)
xorl %r14d, %r14d
movq %r14, 0x8(%r13)
movq %r13, 0x10(%r13)
movq %r13, 0x18(%r13)
movq %r14, 0x20(%r13)
testl %ebp, %ebp
jle 0x1304
movq %rdi, %r15
andl $0x7fffffff, %ebp       # imm = 0x7FFFFFFF
xorl %ebx, %ebx
leaq 0x8(%rsp), %r12
movq (%r15), %rsi
addq %rbx, %rsi
movq %r12, %rdi
callq 0x15da
addq $0x4, %rbx
decq %rbp
jne 0x12ed
movq 0x20(%rsp), %rax
cmpq %r13, %rax
movl 0x4(%rsp), %ebx
je 0x136e
xorl %r14d, %r14d
movq 0x18(%rsp), %r15
movl 0x20(%rax), %ecx
addl %ebx, %ecx
movq %r13, %rdx
testq %r15, %r15
je 0x1344
movq %r15, %rsi
movq %r13, %rdx
xorl %edi, %edi
cmpl %ecx, 0x20(%rsi)
setl %dil
cmovgeq %rsi, %rdx
movq 0x10(%rsi,%rdi,8), %rsi
testq %rsi, %rsi
jne 0x132d
movq %r13, %rsi
cmpq %r13, %rdx
je 0x1356
cmpl 0x20(%rdx), %ecx
cmovlq %r13, %rdx
movq %rdx, %rsi
xorl %ecx, %ecx
cmpq %r13, %rsi
setne %cl
addl %ecx, %r14d
movq %rax, %rdi
callq 0x1110
cmpq %r13, %rax
jne 0x131a
leaq 0x8(%rsp), %rdi
callq 0x158a
movl %r14d, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x158a
movq %rbx, %rdi
callq 0x1150
// File: /workspace/github_cpp_makefile_star2_O1/vividvilla[P]hackerrank/src/pairs.cpp
// Function: main
int main() {
    int N, K, x;
    cin >> N >> K;

    vector<int> v;
    for (int i = 0; i < N; i++) {
        cin >> x;
        v.push_back(x);
    }

    cout << getPairs(v, K) << endl;

    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq 0x2c30(%rip), %rdi      # 0x3fe0
leaq 0xc(%rsp), %rbx
movq %rbx, %rsi
callq 0x1090
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x1090
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
cmpl $0x0, (%rbx)
jle 0x142e
xorl %ebp, %ebp
movq 0x2bf7(%rip), %rbx      # 0x3fe0
leaq 0x4(%rsp), %r14
leaq 0x10(%rsp), %r15
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1090
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x141b
movl 0x4(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x1426
movq %r15, %rdi
movq %r14, %rdx
callq 0x16ea
incl %ebp
cmpl 0xc(%rsp), %ebp
jl 0x13f3
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x14fe
movl 0x8(%rsp), %esi
leaq 0x30(%rsp), %rdi
callq 0x129c
movq 0x2b7e(%rip), %rdi      # 0x3fd0
movl %eax, %esi
callq 0x1140
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x10d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x10a0
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x149a
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x10f0
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x14b1
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x10f0
xorl %eax, %eax
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x14dc
movq %rax, %rbx
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x14df
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x10f0
jmp 0x14df
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x14f6
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x10f0
movq %rbx, %rdi
callq 0x1150
// File: /workspace/github_cpp_makefile_star2_O1/giovannarosone[P]BCR_LCP_GSA/BCRexternalBWT.cpp
// Function: BCRexternalBWT::createFilePartialBWT()
int BCRexternalBWT::createFilePartialBWT() {
	//Creates one file (partial BWT) for each letter in the alphabet. From 1 to sizeAlpha-1
	static FILE *OutFileBWT;                  // output and input file BWT;
	char *filenameOut = new char[120];
	char *filename1 = new char[100];
	for (dataTypedimAlpha i = 0; i < sizeAlpha; i++) {
		sprintf (filename1, "bwt_%d", i);
		sprintf (filenameOut,"%s%s",filename1,ext);

		OutFileBWT = fopen(filenameOut, "wb");
		if (OutFileBWT==NULL) {
			std::cerr << "BWT file " << (unsigned int)i <<" : Error opening " << std::endl;
			exit (EXIT_FAILURE);
		}
		fclose(OutFileBWT);
	}
	delete [] filename1;
	delete [] filenameOut;



	//std::cerr << "\nPartial File name for input: " << fileOut <<" \n\n";
	return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
movl $0x78, %edi
callq 0x3040
movq %rax, %rbx
movl $0x64, %edi
callq 0x3040
movq %rax, %r15
cmpb $0x0, 0x148(%r14)
je 0x6d45
leaq 0x5d72(%rip), %r12      # 0xca57
leaq 0x5e1d(%rip), %r13      # 0xcb09
xorl %ebp, %ebp
movq %r15, %rdi
leaq 0x62d0(%rip), %rsi      # 0xcfc8
movl %ebp, %edx
xorl %eax, %eax
callq 0x3070
movq %rbx, %rdi
leaq 0x5df9(%rip), %rsi      # 0xcb04
movq %r15, %rdx
movq %r12, %rcx
xorl %eax, %eax
callq 0x3070
movq %rbx, %rdi
movq %r13, %rsi
callq 0x32e0
movq %rax, 0xa5b6(%rip)      # 0x112e0
testq %rax, %rax
je 0x6d69
movq %rax, %rdi
callq 0x32a0
incl %ebp
movzbl 0x148(%r14), %eax
cmpl %eax, %ebp
jb 0x6cee
movq %r15, %rdi
callq 0x3330
movq %rbx, %rdi
callq 0x3330
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0xa280(%rip), %rdi      # 0x10ff0
leaq 0x5eb9(%rip), %rsi      # 0xcc30
callq 0x3290
movq %rax, %rdi
movl %ebp, %esi
callq 0x3350
leaq 0x5bd1(%rip), %rsi      # 0xc95e
movq %rax, %rdi
callq 0x3290
movq %rax, %rdi
callq 0x3140
movl $0x1, %edi
callq 0x3300
nop
// File: /workspace/github_cpp_makefile_star2_O1/giovannarosone[P]BCR_LCP_GSA/BCRexternalBWT.cpp
// Function: BCRexternalBWT::openWriteFilePartialBWT_0()
FILE * BCRexternalBWT::openWriteFilePartialBWT_0( ) {
	static FILE *OutFileBWT;                  // output and input file BWT;
	char *filenameOut = new char[120];
	char *filename = new char[100];

	sprintf (filename, "bwt_%d",0);
	sprintf (filenameOut,"%s%s",filename,ext);

	OutFileBWT = fopen(filenameOut, "wb");
	if (OutFileBWT==NULL) {
		std::cerr << "BWT file $: Error opening: " << filenameOut << std::endl;
		exit (EXIT_FAILURE);
	}
	delete [] filenameOut;
	delete [] filename;

	return OutFileBWT;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl $0x78, %edi
callq 0x3040
movq %rax, %rbx
movl $0x64, %edi
callq 0x3040
movq %rax, %r14
leaq 0x61fb(%rip), %rsi      # 0xcfc8
movq %rax, %rdi
xorl %edx, %edx
xorl %eax, %eax
callq 0x3070
leaq 0x5d24(%rip), %rsi      # 0xcb04
leaq 0x5c70(%rip), %rcx      # 0xca57
movq %rbx, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x3070
leaq 0x5d0e(%rip), %rsi      # 0xcb09
movq %rbx, %rdi
callq 0x32e0
movq %rax, 0xa4de(%rip)      # 0x112e8
testq %rax, %rax
je 0x6e2e
movq %rbx, %rdi
callq 0x3330
movq %r14, %rdi
callq 0x3330
movq 0xa4c2(%rip), %rax      # 0x112e8
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq 0xa1bb(%rip), %rdi      # 0x10ff0
leaq 0x6147(%rip), %rsi      # 0xcf83
callq 0x3290
movq %rax, %rdi
movq %rbx, %rsi
callq 0x3290
movq %rax, %rdi
callq 0x3140
movl $0x1, %edi
callq 0x3300
// File: /workspace/github_cpp_makefile_star2_O1/giovannarosone[P]BCR_LCP_GSA/BCRexternalBWT.cpp
// Function: BCRexternalBWT::openFilePartialIn(unsigned char)
FILE * BCRexternalBWT::openFilePartialIn(dataTypedimAlpha currentPile) {
	static FILE *inFile;
	char *filenameIn = new char[120];
	char *filename = new char[100];
	sprintf (filename, "bwt_%d", currentPile);
	sprintf (filenameIn,"%s%s",filename,ext);
	inFile = fopen(filenameIn, "rb");
	if (inFile==NULL) {
		std::cerr << "openFilePartialIn: file currentPile=" << (unsigned int)currentPile << ": Error opening: " << filenameIn << std::endl;
		exit (EXIT_FAILURE);
	}
	delete [] filenameIn;
	delete [] filename;
	return inFile;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebp
movl $0x78, %edi
callq 0x3040
movq %rax, %rbx
movl $0x64, %edi
callq 0x3040
movq %rax, %r14
leaq 0x612d(%rip), %rsi      # 0xcfc8
movq %rax, %rdi
movl %ebp, %edx
xorl %eax, %eax
callq 0x3070
leaq 0x5c56(%rip), %rsi      # 0xcb04
leaq 0x5ba2(%rip), %rcx      # 0xca57
movq %rbx, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x3070
leaq 0x5a8a(%rip), %rsi      # 0xc953
movq %rbx, %rdi
callq 0x32e0
movq %rax, 0xa418(%rip)      # 0x112f0
testq %rax, %rax
je 0x6ef9
movq %rbx, %rdi
callq 0x3330
movq %r14, %rdi
callq 0x3330
movq 0xa3fc(%rip), %rax      # 0x112f0
popq %rbx
popq %r14
popq %rbp
retq
movq 0xa0f0(%rip), %rdi      # 0x10ff0
leaq 0x6098(%rip), %rsi      # 0xcf9f
callq 0x3290
movq %rax, %rdi
movl %ebp, %esi
callq 0x3350
leaq 0x6070(%rip), %rsi      # 0xcf8d
movq %rax, %rdi
callq 0x3290
movq %rax, %rdi
movq %rbx, %rsi
callq 0x3290
movq %rax, %rdi
callq 0x3140
movl $0x1, %edi
callq 0x3300
// File: /workspace/github_cpp_makefile_star2_O1/giovannarosone[P]BCR_LCP_GSA/BCRexternalBWT.cpp
// Function: BCRexternalBWT::openFilePartialOut(unsigned char)
FILE * BCRexternalBWT::openFilePartialOut(dataTypedimAlpha currentPile) {
	static FILE *outFile;
	char *filenameOut = new char[120];
	char *filename = new char[100];
	sprintf (filename, "new_bwt_%d", currentPile);
	sprintf (filenameOut,"%s%s",filename,ext);
	outFile = fopen(filenameOut, "ab");
	if (outFile==NULL) {
		std::cerr << "openFilePartialOut: file currentPile= " << (unsigned int)currentPile << ": Error opening: " << filenameOut << std::endl;
		exit (EXIT_FAILURE);
	}
	delete [] filenameOut;
	delete [] filename;
	return outFile;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebp
movl $0x78, %edi
callq 0x3040
movq %rax, %rbx
movl $0x64, %edi
callq 0x3040
movq %rax, %r14
leaq 0x604b(%rip), %rsi      # 0xcfc4
movq %rax, %rdi
movl %ebp, %edx
xorl %eax, %eax
callq 0x3070
leaq 0x5b78(%rip), %rsi      # 0xcb04
leaq 0x5ac4(%rip), %rcx      # 0xca57
movq %rbx, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x3070
leaq 0x6028(%rip), %rsi      # 0xcfcf
movq %rbx, %rdi
callq 0x32e0
movq %rax, 0xa342(%rip)      # 0x112f8
testq %rax, %rax
je 0x6fd7
movq %rbx, %rdi
callq 0x3330
movq %r14, %rdi
callq 0x3330
movq 0xa326(%rip), %rax      # 0x112f8
popq %rbx
popq %r14
popq %rbp
retq
movq 0xa012(%rip), %rdi      # 0x10ff0
leaq 0x5fed(%rip), %rsi      # 0xcfd2
callq 0x3290
movq %rax, %rdi
movl %ebp, %esi
callq 0x3350
leaq 0x5f92(%rip), %rsi      # 0xcf8d
movq %rax, %rdi
callq 0x3290
movq %rax, %rdi
movq %rbx, %rsi
callq 0x3290
movq %rax, %rdi
callq 0x3140
movl $0x1, %edi
callq 0x3300
// File: /workspace/github_cpp_makefile_star2_O1/giovannarosone[P]BCR_LCP_GSA/BCRexternalBWT.cpp
// Function: BCRexternalBWT::renameFilePartial(unsigned char)
int BCRexternalBWT::renameFilePartial(dataTypedimAlpha currentPile) {
	char *filenameOut = new char[120];
	char *filenameIn = new char[120];
	char *filename = new char[100];
	
	sprintf (filename, "bwt_%d", currentPile);
	sprintf (filenameIn,"%s%s",filename,ext);
	sprintf (filenameOut,"new_%s%s",filename,ext);
	//std::cerr << "Renaming - Filenames:" << filenameIn << "\t" <<filenameOut << std::endl;
	if (remove(filenameIn)!=0)
		std::cerr << filenameIn <<": Error deleting file" << std::endl;
	else
		if(rename(filenameOut,filenameIn))
			std::cerr << filenameOut <<": Error renaming " << std::endl;
	
	delete [] filenameIn;
	delete [] filename;
	delete [] filenameOut;
	return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %esi, %ebp
movl $0x78, %edi
callq 0x3040
movq %rax, %rbx
movl $0x78, %edi
callq 0x3040
movq %rax, %r14
movl $0x64, %edi
callq 0x3040
movq %rax, %r15
leaq 0x5f70(%rip), %rsi      # 0xcfc8
movq %rax, %rdi
movl %ebp, %edx
xorl %eax, %eax
callq 0x3070
leaq 0x5a99(%rip), %rsi      # 0xcb04
leaq 0x59e5(%rip), %r12      # 0xca57
movq %r14, %rdi
movq %r15, %rdx
movq %r12, %rcx
xorl %eax, %eax
callq 0x3070
leaq 0x5a77(%rip), %rsi      # 0xcb00
movq %rbx, %rdi
movq %r15, %rdx
movq %r12, %rcx
xorl %eax, %eax
callq 0x3070
movq %r14, %rdi
callq 0x3480
testl %eax, %eax
je 0x70d0
movq %r14, %rdi
callq 0x3120
movq 0x9f3c(%rip), %r12      # 0x10ff0
movq %r12, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x32d0
leaq 0x5f30(%rip), %rsi      # 0xcff9
movl $0x15, %edx
jmp 0x7108
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3190
testl %eax, %eax
je 0x713f
movq %rbx, %rdi
callq 0x3120
movq 0x9f02(%rip), %r12      # 0x10ff0
movq %r12, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x32d0
leaq 0x5f0c(%rip), %rsi      # 0xd00f
movl $0x11, %edx
movq %r12, %rdi
callq 0x32d0
movq 0x9ed9(%rip), %r12      # 0x10ff0
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x3280
movsbl %al, %esi
movq %r12, %rdi
callq 0x3050
movq %rax, %rdi
callq 0x31e0
movq %r14, %rdi
callq 0x3330
movq %r15, %rdi
callq 0x3330
movq %rbx, %rdi
callq 0x3330
movl $0x1, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/giovannarosone[P]BCR_LCP_GSA/Tools.cpp
// Function: Tools::MakeTable()
unsigned * Tools::MakeTable()
{
    unsigned *table = new unsigned[512];
    for(unsigned i = 0; i < 9; i++)
    {
        if (i == 0)
           table[i] = 0;
        if (i >= 1 && i < (1 << 1 )) 
           table[i] = 1;
        if (i >= (1 << 1 ) && i < (1 << 2 ))
           table[i] = 2;
        if (i >= (1 << 2 ) && i < (1 << 3 ))
           table[i] = 3;
        if (i >= (1 << 3 ) && i < (1 << 4 ))
           table[i] = 4;
        if (i >= (1 << 4 ) && i < (1 << 5 ))
           table[i] = 5;
        if (i >= (1 << 5 ) && i < (1 << 6 ))
           table[i] = 6;
        if (i >= (1 << 6 ) && i < (1 << 7 ))
           table[i] = 6;
        if (i >= (1 << 7 ) && i < (1 << 8 ))
           table[i] = 7;
        if (i >= (1 << 8 ) && i < (1 << 9 ))
           table[i] = 8;
    }
        return table;
}

// Assembly:
pushq %rax
movl $0x800, %edi            # imm = 0x800
callq 0x3040
xorl %ecx, %ecx
cmpl $0x1, %ecx
je 0x7aac
testl %ecx, %ecx
jne 0x7ab3
movl $0x0, (%rax)
jmp 0x7ab3
movl $0x1, (%rax,%rcx,4)
movl %ecx, %edx
andl $0xe, %edx
cmpl $0x2, %edx
jne 0x7ac4
movl $0x2, (%rax,%rcx,4)
cmpl $0x4, %ecx
jb 0x7ade
cmpl $0x8, %ecx
jne 0x7ad7
movl $0x4, 0x20(%rax)
jmp 0x7ade
movl $0x3, (%rax,%rcx,4)
incq %rcx
cmpq $0x9, %rcx
jne 0x7a9b
popq %rcx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/giovannarosone[P]BCR_LCP_GSA/Tools.cpp
// Function: Tools::FastFloorLog2(unsigned int)
unsigned Tools::FastFloorLog2(unsigned i)
{
    unsigned *table = MakeTable(); unsigned u;
    if (i >> 24)    u = 22 + table[ i >> 24] ;
    if (i >> 16)    u = 14 + table[ i >> 16] ;
    if (i >> 8)     u = 6 + table[ i >> 8] ;
    u =  table[i] - 1;
    delete [] table;
    return u;
}

// Assembly:
pushq %rbx
movl %edi, %ebx
callq 0x7a8e
movl %ebx, %ecx
movl (%rax,%rcx,4), %ebx
movq %rax, %rdi
callq 0x3330
decl %ebx
movl %ebx, %eax
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/giovannarosone[P]BCR_LCP_GSA/Tools.cpp
// Function: Tools::GetFileContents(char*, unsigned long)
uchar * Tools::GetFileContents(char *filename, ulong maxSize)
{
    std::ifstream::pos_type posSize;
    std::ifstream file ((char *)filename, std::ios::in|std::ios::binary|std::ios::ate);
    if (file.is_open())
    {
        posSize = file.tellg();
        ulong size = posSize;
        if (maxSize != 0 && size > maxSize)
            size = maxSize;
        char *memblock = new char [size + 1];
        file.seekg (0, std::ios::beg);
        file.read (memblock, size);
        memblock[size] = '\0';
        file.close();
	return (uchar *)memblock;
    }
    else
        return 0;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x208, %rsp            # imm = 0x208
movq %rsi, %rbx
movq %rdi, %rsi
movq %rsp, %rdi
movl $0xe, %edx
callq 0x3490
leaq 0x78(%rsp), %rdi
callq 0x3090
testb %al, %al
je 0x7b9b
movq %rsp, %rdi
callq 0x3450
cmpq %rbx, %rax
movq %rbx, %r14
cmovbq %rax, %r14
testq %rbx, %rbx
cmoveq %rax, %r14
leaq 0x1(%r14), %rdi
callq 0x3040
movq %rax, %rbx
movq %rsp, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3360
movq %rsp, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x3320
movb $0x0, (%rbx,%r14)
movq %rsp, %rdi
callq 0x3080
jmp 0x7b9d
xorl %ebx, %ebx
movq %rsp, %rdi
callq 0x30a0
movq %rbx, %rax
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r14
retq
jmp 0x7bb5
movq %rax, %rbx
movq %rsp, %rdi
callq 0x30a0
movq %rbx, %rdi
callq 0x3460
// File: /workspace/github_cpp_makefile_star2_O1/giovannarosone[P]BCR_LCP_GSA/TransposeFasta.cpp
// Function: TransposeFasta::readln(char*, int, _IO_FILE*)
ulong TransposeFasta::readln(char* s, int n, FILE* iop) {

  register long c=0;
  register char* cs;
  register long z = 0; // count characters
  cs=s;
  while (--n > 0 && (c = getc(iop)) != EOF) {
	  //std::cerr << "n= " << n << " c= " << c << " ";
	  //printf ("%c\n", c);
	  if ((*cs++ = c) == '\n')
		break;
	z++;
  }
  if (c == EOF && z==0)
	  z = 0; // signify end of file
  *cs = '\0';
  return z;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
cmpl $0x2, %edx
jl 0x9858
movq %rcx, %r15
movl %edx, %r12d
leal -0x2(%r12), %r13d
incq %r13
decl %r12d
xorl %r14d, %r14d
movq %rbx, %rbp
movq %r15, %rdi
callq 0x30c0
cmpl $-0x1, %eax
je 0x9853
movb %al, (%rbx,%r14)
cmpb $0xa, %al
je 0x985d
incq %rbp
incq %r14
cmpq %r14, %r12
jne 0x9830
movq %r13, %r14
movq %rbp, %rbx
jmp 0x9863
xorl %r14d, %r14d
jmp 0x9863
addq %r14, %rbx
incq %rbx
movb $0x0, (%rbx)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/MingYueRuYa[P]cprimeprimecode/memory_manager.cpp
// Function: demo00::test_set_new_handle()
void test_set_new_handle()
	{
		new_handler old_handler = set_new_handler(_new_handler); 

		//分配海量内存，造成内存耗尽
		int *array = new int[1000000000];
		//result:	
			//memory out...
			//abort
		cout << "end...." << endl;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
leaq -0x31(%rip), %rdi       # 0x23fc
callq 0x21f0
movq 0x5b97(%rip), %rbx      # 0x7fd0
leaq 0x2bee(%rip), %rsi      # 0x502e
movl $0x7, %edx
movq %rbx, %rdi
callq 0x21a0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x20d0
// File: /workspace/github_cpp_makefile_star2_O1/MingYueRuYa[P]cprimeprimecode/memory_manager.cpp
// Function: demo04::Screen::operator new(unsigned long)
void *Screen::operator new(size_t size)
{
	Screen *p;
	if (!freeStore) {
		//linked list 是空的，所以获取一大块memory
		//以下调用的是global operator new
		size_t chunk = screenChunk*size;
		freeStore = p = reinterpret_cast<Screen *>(new char[chunk]);
		//将分配得来的一大块memory，当做linked list将小块小块串联起来
		for (; p != &freeStore[screenChunk-1]; ++p) {
			p->next = p+1;
		}
		p->next = NULL;
	}
	p = freeStore;
	freeStore = freeStore->next;
	return p;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
cmpq $0x0, 0x57dc(%rip)      # 0x8168
jne 0x29c7
shlq $0x3, %rdi
leaq (%rdi,%rdi,2), %rdi
callq 0x2030
movq %rax, 0x57c6(%rip)      # 0x8168
movq %rax, %rcx
addq $0x10, %rcx
movl $0x170, %edx            # imm = 0x170
movq %rcx, -0x10(%rcx)
addq $0x10, %rcx
addq $-0x10, %rdx
jne 0x29ae
movq $0x0, 0x170(%rax)
movq 0x579a(%rip), %rax      # 0x8168
movq (%rax), %rcx
movq %rcx, 0x5790(%rip)      # 0x8168
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/MingYueRuYa[P]cprimeprimecode/memory_manager.cpp
// Function: demo04::test_per_class_allocator_1()
void test_per_class_allocator_1()
{
	cout << "\ntest_per_class_allocator_1()................ \n";
	cout << sizeof(Screen) << endl;
	//pi 下N太大会造成crash
	size_t const N = 20;
	Screen *p[N];
	for (int i=0; i<N; ++i) {
		p[i] = new Screen(i);
	}
	
	//输出前10个pointers，用以比较其间隔
	for (int i=0; i<10; ++i) {
		cout << p[i] << endl;
	}
	//result: 间隔为8，中间没有cookie
		//0x114010
		//0x114018
		//0x114020
		//0x114028
		//0x114030
		//0x114038
		//0x114040
		//0x114048
		//0x114050
		//0x114058

	for (int i=0; i<N; ++i) {
		delete p[i];
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0xa8, %rsp
movq 0x55b0(%rip), %rbx      # 0x7fd0
leaq 0x26a4(%rip), %rsi      # 0x50cb
movl $0x2f, %edx
movq %rbx, %rdi
callq 0x21a0
movl $0x10, %esi
movq %rbx, %rdi
callq 0x20c0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x20d0
xorl %ebx, %ebx
movl $0x10, %edi
callq 0x2980
movl %ebx, 0x8(%rax)
movq %rax, -0xc0(%rbp,%rbx,8)
incq %rbx
cmpq $0x14, %rbx
jne 0x2a6d
xorl %r15d, %r15d
movq 0x553b(%rip), %rbx      # 0x7fd0
movq -0xc0(%rbp,%r15,8), %rsi
movq %rbx, %rdi
callq 0x2100
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r14, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x20d0
incq %r15
cmpq $0xa, %r15
jne 0x2a95
xorl %eax, %eax
movq -0xc0(%rbp,%rax,8), %rcx
testq %rcx, %rcx
je 0x2af8
movq 0x567a(%rip), %rdx      # 0x8168
movq %rdx, (%rcx)
movq %rcx, 0x5670(%rip)      # 0x8168
incq %rax
cmpq $0x14, %rax
jne 0x2ada
addq $0xa8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/MingYueRuYa[P]cprimeprimecode/memory_manager.cpp
// Function: demo05::AirPlane::operator delete(void*, unsigned long)
void AirPlane::operator delete(void *deadObject, size_t size)
{
	if (NULL == deadObject) { return; }

	if (size != sizeof(AirPlane)) {
		::operator delete(deadObject);
		return;
	}

	//插入headOfFreeList之前，回收内存
	AirPlane *plane = static_cast<AirPlane *>(deadObject);
	plane->next = headOfFreeList;
	headOfFreeList = plane;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
testq %rdi, %rdi
je 0x2b84
cmpq $0x10, %rsi
jne 0x2b86
movq 0x55f6(%rip), %rax      # 0x8170
movq %rax, (%rdi)
movq %rdi, 0x55ec(%rip)      # 0x8170
popq %rbp
retq
popq %rbp
jmp 0x2140