LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/muzuka[P]Cards-Against-Humanity-Online/Server.cpp
// Function: composeNOTIFYMessage(char, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
string composeNOTIFYMessage(char purpose, string playerName) {
	if (purpose == 'j') {
		return "NOTIFY Server\nCP: " + playerName;
	}
	else if (purpose == 'w') {
		return "NOTIFY Server\nwinner: " + playerName;
	}
	else if(purpose == 'n') {
		stringstream s;
		s << answers.size();
		return "NOTIFY Server\nplayers: " + s.str();
	}
	else if(purpose == 'q') {
		return "NOTIFY Server\nquit: Server";
	}
	else {
		return "";
	}
	
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x1a8, %rsp            # imm = 0x1A8
movq %rdi, %rbx
cmpl $0x70, %esi
jg 0x5921
cmpl $0x6a, %esi
je 0x594a
cmpl $0x6e, %esi
jne 0x5934
leaq -0x1b0(%rbp), %rdi
callq 0x21a0
movq 0x5d30(%rip), %rax      # 0xb5e0
subq 0x5d21(%rip), %rax      # 0xb5d8
leaq -0x1a0(%rbp), %rdi
sarq $0x3, %rax
movabsq $-0x71c71c71c71c71c7, %rsi # imm = 0x8E38E38E38E38E39
imulq %rax, %rsi
callq 0x2190
leaq -0x198(%rbp), %rsi
leaq -0x28(%rbp), %rdi
callq 0x2300
leaq 0x2870(%rip), %rcx      # 0x815c
leaq -0x28(%rbp), %rdi
movl $0x17, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x2250
leaq 0x10(%rbx), %rdx
movq %rdx, (%rbx)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x597a
movq %rsi, (%rbx)
movq (%rcx), %rdx
movq %rdx, 0x10(%rbx)
jmp 0x5980
cmpl $0x71, %esi
je 0x595b
cmpl $0x77, %esi
jne 0x5934
leaq 0x2813(%rip), %rsi      # 0x8145
jmp 0x5951
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x2774(%rip), %rdx      # 0x80b6
movq %rbx, %rdi
movq %rdx, %rsi
jmp 0x5973
leaq 0x27e1(%rip), %rsi      # 0x8132
movq %rbx, %rdi
callq 0x69ac
jmp 0x59cf
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x280b(%rip), %rsi      # 0x8174
leaq 0x281e(%rip), %rdx      # 0x818e
movq %rbx, %rdi
callq 0x6ca8
jmp 0x59cf
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rbx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x18(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x59b0
movq -0x18(%rbp), %rsi
incq %rsi
callq 0x2230
movq 0x5619(%rip), %rsi      # 0xafd0
leaq -0x1b0(%rbp), %rdi
callq 0x21c0
leaq -0x130(%rbp), %rdi
callq 0x2100
movq %rbx, %rax
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %rbp
retq
movq %rax, %rbx
leaq -0x18(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x59ff
movq -0x18(%rbp), %rsi
incq %rsi
callq 0x2230
jmp 0x59ff
jmp 0x59fc
movq %rax, %rbx
movq 0x55ca(%rip), %rsi      # 0xafd0
leaq -0x1b0(%rbp), %rdi
callq 0x21c0
leaq -0x130(%rbp), %rdi
callq 0x2100
movq %rbx, %rdi
callq 0x2320
// File: /workspace/github_cpp_makefile_star2_O3/muzuka[P]Cards-Against-Humanity-Online/Server.cpp
// Function: shutdown()
void shutdown() {
	for (int i = 0; i < players.size(); i++) {
		string quit = composeNOTIFYMessage('q', "");
		bytesSent = send(players[i].getSocket(), (char*)quit.c_str(), 100, 0);
		if(bytesSent <= 0) {
			printf("Couldn't send quit.\n");
			exit(1);
		}
	}	
	exit(1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq 0x5c02(%rip), %rax      # 0xb640
cmpq 0x5bf3(%rip), %rax      # 0xb638
jne 0x5a51
movl $0x1, %edi
callq 0x2270
leaq -0x60(%rbp), %r14
leaq -0x40(%rbp), %r13
xorl %r15d, %r15d
leaq 0x2653(%rip), %rbx      # 0x80b6
xorl %r12d, %r12d
movq %r14, -0x70(%rbp)
leaq -0x70(%rbp), %rdi
movq %rbx, %rsi
movq %rbx, %rdx
callq 0x6ca8
movq %r13, -0x50(%rbp)
movq $0x1a, -0x30(%rbp)
leaq -0x50(%rbp), %rdi
leaq -0x30(%rbp), %rsi
xorl %edx, %edx
callq 0x2340
movq %rax, -0x50(%rbp)
movq -0x30(%rbp), %rcx
movq %rcx, -0x40(%rbp)
movups 0x26d7(%rip), %xmm0     # 0x817e
movups %xmm0, 0xa(%rax)
movups 0x26c2(%rip), %xmm0     # 0x8174
movups %xmm0, (%rax)
movq %rcx, -0x48(%rbp)
movq -0x50(%rbp), %rax
movb $0x0, (%rax,%rcx)
movq -0x70(%rbp), %rdi
cmpq %r14, %rdi
je 0x5ad6
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2230
movq 0x5b5b(%rip), %rdi      # 0xb638
addq %r15, %rdi
callq 0x2ac4
movq -0x50(%rbp), %rsi
movl $0x64, %edx
movl %eax, %edi
xorl %ecx, %ecx
callq 0x2140
movl %eax, 0x5793(%rip)      # 0xb290
testl %eax, %eax
jle 0x5b4b
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
je 0x5b16
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2230
incq %r12
movq 0x5b20(%rip), %rax      # 0xb640
subq 0x5b11(%rip), %rax      # 0xb638
sarq $0x3, %rax
movabsq $0x2e8ba2e8ba2e8ba3, %rcx # imm = 0x2E8BA2E8BA2E8BA3
imulq %rcx, %rax
addq $0x58, %r15
cmpq %r12, %rax
ja 0x5a66
jmp 0x5a47
leaq 0x28a4(%rip), %rdi      # 0x83f6
callq 0x22b0
jmp 0x5a47
movq %rax, %rbx
movq -0x70(%rbp), %rdi
movq %r14, %r13
cmpq %r14, %rdi
jne 0x5b79
jmp 0x5b85
movq %rax, %rbx
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
je 0x5b85
movq (%r13), %rsi
incq %rsi
callq 0x2230
movq %rbx, %rdi
callq 0x2320
// File: /workspace/github_cpp_makefile_star2_O3/muzuka[P]Cards-Against-Humanity-Online/Server.cpp
// Function: getPlayer(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
Player getPlayer(string name) {
	for (int i = 0; i < players.size(); i++) {
		if (strcmp(players[i].getName().c_str(), name.c_str()) == 0) {
			return players[i];
		}
	}
	return Player();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %r14
movq %rdi, -0x30(%rbp)
movq 0x50a3(%rip), %rsi      # 0xb638
cmpq %rsi, 0x50a4(%rip)      # 0xb640
je 0x660d
xorl %ebx, %ebx
xorl %r15d, %r15d
addq %rbx, %rsi
leaq -0x58(%rbp), %rdi
callq 0x2a8e
movq -0x58(%rbp), %r12
movq (%r14), %rsi
movq %r12, %rdi
callq 0x2290
movl %eax, %r13d
leaq -0x48(%rbp), %rax
cmpq %rax, %r12
je 0x65d9
movq -0x48(%rbp), %rsi
incq %rsi
movq %r12, %rdi
callq 0x2230
testl %r13d, %r13d
je 0x661b
incq %r15
movq 0x5058(%rip), %rax      # 0xb640
movq 0x5049(%rip), %rsi      # 0xb638
subq %rsi, %rax
sarq $0x3, %rax
movabsq $0x2e8ba2e8ba2e8ba3, %rcx # imm = 0x2E8BA2E8BA2E8BA3
imulq %rcx, %rax
addq $0x58, %rbx
cmpq %r15, %rax
ja 0x65a3
movq -0x30(%rbp), %r12
movq %r12, %rdi
callq 0x28f8
jmp 0x6679
movq 0x5016(%rip), %r13      # 0xb638
movq -0x30(%rbp), %r12
leaq 0x10(%r12), %rax
movq %rax, -0x38(%rbp)
movq %rax, (%r12)
leaq (%rbx,%r13), %r14
addq $0x28, %r14
movq -0x28(%r14), %rsi
movq -0x20(%r14), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x311a
movq -0x8(%r14), %rax
movq %rax, 0x20(%r12)
leaq 0x28(%r12), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x2fca
leaq 0x40(%r12), %rdi
leaq (%rbx,%r13), %rsi
addq $0x40, %rsi
callq 0x2fca
movq %r12, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %r15, %rdi
callq 0x2f54
jmp 0x669b
movq %rax, %r14
movq -0x30(%rbp), %rax
movq (%rax), %rdi
cmpq -0x38(%rbp), %rdi
je 0x66b7
movq -0x38(%rbp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x2230
movq %r14, %rdi
callq 0x2320
// File: /workspace/github_cpp_makefile_star2_O3/muzuka[P]Cards-Against-Humanity-Online/Server.cpp
// Function: deletePlayer(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void deletePlayer(string playerName) {
	vector<Player> temp;
	for (int i = 0; i < players.size(); i++) {
		if (strcmp(players[i].getName().c_str(), playerName.c_str()) != 0) {
			temp.push_back(players[i]);
		}
		else {
			delete &players[i];
		}
		
	}
	players = temp;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, -0x50(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x40(%rbp)
movq $0x0, -0x30(%rbp)
movq 0x4f4e(%rip), %rsi      # 0xb638
cmpq %rsi, 0x4f4f(%rip)      # 0xb640
je 0x67d6
xorl %r15d, %r15d
xorl %r14d, %r14d
addq %r15, %rsi
leaq -0x70(%rbp), %rdi
callq 0x2a8e
movq -0x70(%rbp), %r12
movq -0x50(%rbp), %rax
movq (%rax), %rsi
movq %r12, %rdi
callq 0x2290
movl %eax, %r13d
leaq -0x60(%rbp), %rax
cmpq %rax, %r12
je 0x6737
movq -0x60(%rbp), %rsi
incq %rsi
movq %r12, %rdi
callq 0x2230
movq 0x4efa(%rip), %rbx      # 0xb638
leaq (%rbx,%r15), %r12
testl %r13d, %r13d
je 0x6755
leaq -0x40(%rbp), %rdi
movq %r12, %rsi
callq 0x68d2
jmp 0x67a3
leaq (%rbx,%r15), %rax
addq $0x10, %rax
movq %rax, -0x48(%rbp)
leaq (%rbx,%r15), %rdi
addq $0x40, %rdi
callq 0x2f54
leaq (%rbx,%r15), %r13
addq $0x28, %r13
movq %r13, %rdi
callq 0x2f54
movq -0x48(%rbp), %rax
movq -0x28(%r13), %rdi
cmpq %rdi, %rax
je 0x6796
movq (%rax), %rsi
incq %rsi
callq 0x2230
movl $0x58, %esi
movq %r12, %rdi
callq 0x2230
incq %r14
movq 0x4e93(%rip), %rax      # 0xb640
movq 0x4e84(%rip), %rsi      # 0xb638
subq %rsi, %rax
sarq $0x3, %rax
movabsq $0x2e8ba2e8ba2e8ba3, %rcx # imm = 0x2E8BA2E8BA2E8BA3
imulq %rcx, %rax
addq $0x58, %r15
cmpq %r14, %rax
ja 0x66fd
leaq 0x4e5b(%rip), %rdi      # 0xb638
leaq -0x40(%rbp), %rsi
callq 0x6a3e
leaq -0x40(%rbp), %rdi
callq 0x6856
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x6802
jmp 0x6802
movq %rax, %rbx
leaq -0x40(%rbp), %rdi
callq 0x6856
movq %rbx, %rdi
callq 0x2320
// File: /workspace/github_cpp_makefile_star2_O3/mattearly[P]english-name-generator/src/main.cpp
// Function: main
int main(int argc, char** argv) {

  cout << "BEGIN RANDOM NAME GEN!!\n";

  HumanGenerator human;
  for (int i = 0; i < 10; i++) {
    human.newFirstName();
    human.newLastName();
    human.newSSN();

    cout << human.getFirstName() << endl;
    cout << human.getLastName() << endl;
    cout << human.getSSN() << endl;
  }
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq 0x3240(%rip), %rbx      # 0x5fd8
leaq 0x13da(%rip), %rsi      # 0x4179
movl $0x18, %edx
movq %rbx, %rdi
callq 0x2160
leaq 0x28(%rsp), %r14
movq %r14, %rdi
callq 0x238c
leaq 0x18(%rsp), %r13
movl $0xa, %ebp
leaq 0x8(%rsp), %r15
movq %r14, %rdi
callq 0x24a8
movq %r14, %rdi
callq 0x25e8
movq %r14, %rdi
callq 0x272c
movq %r15, %rdi
movq %r14, %rsi
callq 0x2b92
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x2160
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %r12, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x2e3e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2150
movq %r15, %rdi
movq %r14, %rsi
callq 0x2b64
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x2160
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %r12, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x2e9c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2150
movq %r15, %rdi
movq %r14, %rsi
callq 0x2bba
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x2160
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %r12, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20e0
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x2efa
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2150
decl %ebp
jne 0x2dc8
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2f1d
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2f38
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2f53
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2150
xorl %eax, %eax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2f6d
jmp 0x2f6d
jmp 0x2f6d
movq %rax, %rbx
jmp 0x2f90
jmp 0x2f76
jmp 0x2f76
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x2f90
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2150
leaq 0x28(%rsp), %rdi
callq 0x2fa2
movq %rbx, %rdi
callq 0x21c0
// File: /workspace/github_cpp_makefile_star2_O3/mattearly[P]english-name-generator/src/utility.cpp
// Function: getRandomNumber(int const&, int const&)
int getRandomNumber(const int& start, const int& end) {

  static long long int timeSeed = std::chrono::high_resolution_clock::now().time_since_epoch().count();

  static std::seed_seq ss{uint32_t(timeSeed & 0xffffffff), uint32_t(timeSeed >> 32)};

  std::uniform_int_distribution<int> unif(start, end);

  static std::mt19937 mgen(ss);

  return unif(mgen);

}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movb 0x3138(%rip), %al       # 0x6138
testb %al, %al
je 0x303e
movb 0x314e(%rip), %al       # 0x6158
testb %al, %al
je 0x3045
movl (%r14), %eax
movl (%rbx), %ecx
movl %eax, (%rsp)
movl %ecx, 0x4(%rsp)
movb 0x44c8(%rip), %al       # 0x74e8
testb %al, %al
je 0x309e
leaq 0x3135(%rip), %rsi      # 0x6160
movq %rsp, %rdi
movq %rdi, %rdx
callq 0x3660
addq $0x8, %rsp
popq %rbx
popq %r14
retq
callq 0x2230
jmp 0x3004
leaq 0x310c(%rip), %rdi      # 0x6158
callq 0x21e0
testl %eax, %eax
je 0x300e
movq 0x30d4(%rip), %rax      # 0x6130
movq %rsp, %rsi
movq %rax, (%rsi)
leaq 0x30d7(%rip), %rdi      # 0x6140
movl $0x2, %edx
callq 0x30fa
leaq 0x11e(%rip), %rdi       # 0x3198
leaq 0x30bf(%rip), %rsi      # 0x6140
leaq 0x3090(%rip), %rdx      # 0x6118
callq 0x2120
leaq 0x30c4(%rip), %rdi      # 0x6158
callq 0x20d0
jmp 0x300e
leaq 0x4443(%rip), %rdi      # 0x74e8
callq 0x21e0
testl %eax, %eax
je 0x3024
leaq 0x30a7(%rip), %rdi      # 0x6160
leaq 0x3080(%rip), %rsi      # 0x6140
callq 0x3388
leaq 0x441c(%rip), %rdi      # 0x74e8
callq 0x20d0
jmp 0x3024
movq %rax, %rbx
leaq 0x4408(%rip), %rdi      # 0x74e8
jmp 0x30ec
movq %rax, %rbx
leaq 0x306c(%rip), %rdi      # 0x6158
callq 0x20c0
movq %rbx, %rdi
callq 0x21c0
nop
// File: /workspace/github_cpp_makefile_star2_O3/Luthaf[P]zeopp/network.cc
// Function: toUpperCase(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::string toUpperCase(const std::string & s)
{
    std::string ret(s.size(), char());
    for(unsigned int i = 0; i < s.size(); ++i)
        ret[i] = (s[i] <= 'z' && s[i] >= 'a') ? s[i]-('a'-'A') : s[i];
    return ret;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %rsi
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
xorl %edx, %edx
callq 0x4500
cmpq $0x0, 0x8(%r14)
je 0x7321
movl $0x1, %eax
xorl %ecx, %ecx
movq (%r14), %rdx
movzbl (%rdx,%rcx), %edx
leal -0x61(%rdx), %esi
leal -0x20(%rdx), %edi
cmpb $0x1a, %sil
movzbl %dil, %esi
cmovael %edx, %esi
movq (%rbx), %rdx
movb %sil, (%rdx,%rcx)
movl %eax, %ecx
incl %eax
cmpq %rcx, 0x8(%r14)
ja 0x72f8
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/Luthaf[P]zeopp/network.cc
// Function: performVoronoiDecomp(bool, ATOM_NETWORK*, VORONOI_NETWORK*, std::vector<VOR_CELL, std::allocator<VOR_CELL>>*, bool, std::vector<BASIC_VCELL, std::allocator<BASIC_VCELL>>*)
bool performVoronoiDecomp(bool radial, ATOM_NETWORK *atmnet, VORONOI_NETWORK *vornet, vector<VOR_CELL> *cells, bool saveVorCells,
			   vector<BASIC_VCELL> *bvcells){

    container_periodic_poly *rad_con = NULL;
    container_periodic *no_rad_con = NULL;
    if (radial)
        rad_con = (container_periodic_poly *)performVoronoiDecomp(radial, atmnet, vornet, *cells, saveVorCells, *bvcells);
     else 
          no_rad_con = (container_periodic *)performVoronoiDecomp (radial, atmnet, vornet, *cells, saveVorCells, *bvcells); 

     delete rad_con;
     delete no_rad_con;
     return true;
}

// Assembly:
pushq %rbx
movzbl %r8b, %r8d
testl %edi, %edi
je 0x798d
movl $0x1, %edi
callq 0x732c
movq %rax, %rbx
leaq 0x1f8(%rax), %rdi
callq 0xf0ba
movq %rbx, %rdi
callq 0x148936
movl $0x298, %esi            # imm = 0x298
movq %rbx, %rdi
callq 0x4470
xorl %ebx, %ebx
jmp 0x79ab
xorl %edi, %edi
callq 0x732c
movq %rax, %rbx
leaq 0x1d0(%rax), %rdi
callq 0xf0e4
movq %rbx, %rdi
callq 0x148936
movl $0x270, %esi            # imm = 0x270
movq %rbx, %rdi
callq 0x4470
movb $0x1, %al
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/Luthaf[P]zeopp/network.cc
// Function: viewVoronoiDecomp(ATOM_NETWORK*, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void viewVoronoiDecomp(ATOM_NETWORK *atmnet, double r_probe, string filename){
  ATOM_NETWORK newAtomNet;
  atmnet->copy(&newAtomNet);
  for(int i = 0; i < newAtomNet.numAtoms; i++){ newAtomNet.atoms[i].radius += r_probe; }
  VORONOI_NETWORK vornet;
  vector<BASIC_VCELL> bvcells;
  vector<VOR_CELL> advCells;
  container_periodic_poly *new_rad_con = (container_periodic_poly *)performVoronoiDecomp(true, &newAtomNet, &vornet, advCells, true, bvcells);
  writeZeoVisFile((char *)filename.data(), &advCells, &newAtomNet, &vornet);
  delete new_rad_con;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x520, %rsp            # imm = 0x520
movq %rsi, %rbx
movsd %xmm0, 0x8(%rsp)
movq %rdi, %r14
leaq 0xc0(%rsp), %r15
movq %r15, %rdi
callq 0x5112c
movq %r14, %rdi
movq %r15, %rsi
callq 0x52620
movslq 0x1d0(%rsp), %rcx
testq %rcx, %rcx
movsd 0x8(%rsp), %xmm1
jle 0x9698
movq 0x3b0(%rsp), %rax
imulq $0x98, %rcx, %rcx
xorl %edx, %edx
movsd 0x30(%rax,%rdx), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x30(%rax,%rdx)
addq $0x98, %rdx
cmpq %rdx, %rcx
jne 0x967c
leaq 0x48(%rsp), %rdi
callq 0x55288
xorpd %xmm0, %xmm0
leaq 0x30(%rsp), %r9
movapd %xmm0, (%r9)
xorl %eax, %eax
movq %rax, 0x10(%r9)
leaq 0x10(%rsp), %rcx
movq %rax, 0x10(%rcx)
movapd %xmm0, (%rcx)
leaq 0xc0(%rsp), %rsi
leaq 0x48(%rsp), %rdx
movl $0x1, %edi
movl $0x1, %r8d
callq 0x732c
movq %rax, %r14
movq (%rbx), %rdi
leaq 0x10(%rsp), %rsi
leaq 0xc0(%rsp), %rdx
leaq 0x48(%rsp), %rcx
callq 0x6d64b
movq %r14, %rdi
addq $0x1f8, %rdi            # imm = 0x1F8
callq 0xf0ba
movq %r14, %rdi
callq 0x148936
movl $0x298, %esi            # imm = 0x298
movq %r14, %rdi
callq 0x4470
leaq 0x10(%rsp), %rdi
callq 0xec34
leaq 0x30(%rsp), %rdi
callq 0xec64
movq 0xa8(%rsp), %rdi
testq %rdi, %rdi
je 0x9752
movq 0xb8(%rsp), %rsi
subq %rdi, %rsi
callq 0x4470
leaq 0x90(%rsp), %rdi
callq 0xf256
leaq 0xc0(%rsp), %rdi
callq 0xec94
addq $0x520, %rsp            # imm = 0x520
popq %rbx
popq %r14
popq %r15
retq
jmp 0x977b
movq %rax, %rbx
jmp 0x97a1
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xec34
leaq 0x30(%rsp), %rdi
callq 0xec64
leaq 0x48(%rsp), %rdi
callq 0xeb2a
leaq 0xc0(%rsp), %rdi
callq 0xec94
movq %rbx, %rdi
callq 0x4780
// File: /workspace/github_cpp_makefile_star2_O3/Luthaf[P]zeopp/networkinfo.cc
// Function: readRadTable(char*)
void readRadTable(char *filename){
  radTable.clear();
  fstream input;
  input.open(filename, fstream::in);
  
  if(!input.is_open()){
    cerr << "Failed to open radius input file " << filename << "\n";
    cerr << "Exiting ..." << "\n";
    exit(1);
  }
  else{
    string type = "N/A";
    double radius = -1;

    while(!input.eof()){
      input >> type >> radius;
      radTable.insert(pair<string,double> (type,radius));
    }
  }
  input.close();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x268, %rsp            # imm = 0x268
movq %rdi, %rbx
leaq 0x173baf(%rip), %rdi    # 0x1954d0
callq 0x22cc2
leaq 0x58(%rsp), %r14
movq %r14, %rdi
callq 0x4520
movq %r14, %rdi
movq %rbx, %rsi
movl $0x8, %edx
callq 0x43d0
leaq 0xd8(%rsp), %rdi
callq 0x4120
testb %al, %al
je 0x21a6c
leaq 0x20(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x12c00a(%rip), %rsi    # 0x14d972
leaq 0x12c006(%rip), %rdx    # 0x14d975
leaq 0x10(%rsp), %rdi
callq 0x22538
movabsq $-0x4010000000000000, %rax # imm = 0xBFF0000000000000
movq %rax, 0x8(%rsp)
movq 0x58(%rsp), %rax
movq -0x18(%rax), %rax
testb $0x2, 0x78(%rsp,%rax)
jne 0x21a2a
leaq 0x40(%rsp), %rbp
leaq 0x58(%rsp), %rbx
leaq 0x10(%rsp), %r14
leaq 0x8(%rsp), %r15
leaq 0x30(%rsp), %r12
leaq 0x173b14(%rip), %r13    # 0x1954d0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4560
movq %rax, %rdi
movq %r15, %rsi
callq 0x42a0
movq %rbp, 0x30(%rsp)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0xf3ce
movsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x50(%rsp)
movq %r13, %rdi
movq %r12, %rsi
callq 0x225ce
movq 0x30(%rsp), %rdi
cmpq %rbp, %rdi
je 0x21a1a
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0x58(%rsp), %rax
movq -0x18(%rax), %rax
testb $0x2, 0x78(%rsp,%rax)
je 0x219bc
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x21a46
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x4470
leaq 0x58(%rsp), %rdi
callq 0x4090
leaq 0x58(%rsp), %rdi
callq 0x4110
addq $0x268, %rsp            # imm = 0x268
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x17357d(%rip), %rdi    # 0x194ff0
leaq 0x12bed6(%rip), %rsi    # 0x14d950
movl $0x21, %edx
callq 0x44e0
movq 0x173565(%rip), %rdi    # 0x194ff0
movq %rbx, %rsi
callq 0x4440
leaq 0x131b84(%rip), %rsi    # 0x15361e
movl $0x1, %edx
movq %rax, %rdi
callq 0x44e0
movq 0x173542(%rip), %rdi    # 0x194ff0
leaq 0x12c0fe(%rip), %rsi    # 0x14dbb3
movl $0xb, %edx
callq 0x44e0
movq 0x17352a(%rip), %rdi    # 0x194ff0
leaq 0x131b51(%rip), %rsi    # 0x15361e
callq 0x4440
movl $0x1, %edi
callq 0x72bc
jmp 0x21ade
movq %rax, %rbx
jmp 0x21b20
jmp 0x21b01
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %rbp, %rdi
je 0x21b04
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x4470
jmp 0x21b04
movq %rax, %rbx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x21b20
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x4470
leaq 0x58(%rsp), %rdi
callq 0x4110
movq %rbx, %rdi
callq 0x4780
// File: /workspace/github_cpp_makefile_star2_O3/Luthaf[P]zeopp/networkinfo.cc
// Function: readMassTable(char*)
void readMassTable(char *filename){
  massTable.clear();
  fstream input;
  input.open(filename);
  
  if(!input.is_open()){
    cerr << "Failed to open molar mass input file " << filename << "\n";
    cerr << "Exiting ..." << "\n";
    exit(1);
  }
  else{
    string type = "N/A";
    double mass = -1;

    while(!input.eof()){
      input >> type >> mass;
      massTable.insert(pair<string,double> (type,mass));
    }
  }
  input.close();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x268, %rsp            # imm = 0x268
movq %rdi, %rbx
leaq 0x1739e3(%rip), %rdi    # 0x195530
callq 0x22cc2
leaq 0x58(%rsp), %r14
movq %r14, %rdi
callq 0x4520
movq %r14, %rdi
movq %rbx, %rsi
movl $0x18, %edx
callq 0x43d0
leaq 0xd8(%rsp), %rdi
callq 0x4120
testb %al, %al
je 0x21c98
leaq 0x20(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x12bdde(%rip), %rsi    # 0x14d972
leaq 0x12bdda(%rip), %rdx    # 0x14d975
leaq 0x10(%rsp), %rdi
callq 0x22538
movabsq $-0x4010000000000000, %rax # imm = 0xBFF0000000000000
movq %rax, 0x8(%rsp)
movq 0x58(%rsp), %rax
movq -0x18(%rax), %rax
testb $0x2, 0x78(%rsp,%rax)
jne 0x21c56
leaq 0x40(%rsp), %rbp
leaq 0x58(%rsp), %rbx
leaq 0x10(%rsp), %r14
leaq 0x8(%rsp), %r15
leaq 0x30(%rsp), %r12
leaq 0x173948(%rip), %r13    # 0x195530
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4560
movq %rax, %rdi
movq %r15, %rsi
callq 0x42a0
movq %rbp, 0x30(%rsp)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0xf3ce
movsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x50(%rsp)
movq %r13, %rdi
movq %r12, %rsi
callq 0x225ce
movq 0x30(%rsp), %rdi
cmpq %rbp, %rdi
je 0x21c46
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0x58(%rsp), %rax
movq -0x18(%rax), %rax
testb $0x2, 0x78(%rsp,%rax)
je 0x21be8
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x21c72
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x4470
leaq 0x58(%rsp), %rdi
callq 0x4090
leaq 0x58(%rsp), %rdi
callq 0x4110
addq $0x268, %rsp            # imm = 0x268
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x173351(%rip), %rdi    # 0x194ff0
leaq 0x12bcd0(%rip), %rsi    # 0x14d976
movl $0x25, %edx
callq 0x44e0
movq 0x173339(%rip), %rdi    # 0x194ff0
movq %rbx, %rsi
callq 0x4440
leaq 0x131958(%rip), %rsi    # 0x15361e
movl $0x1, %edx
movq %rax, %rdi
callq 0x44e0
movq 0x173316(%rip), %rdi    # 0x194ff0
leaq 0x12bed2(%rip), %rsi    # 0x14dbb3
movl $0xb, %edx
callq 0x44e0
movq 0x1732fe(%rip), %rdi    # 0x194ff0
leaq 0x131925(%rip), %rsi    # 0x15361e
callq 0x4440
movl $0x1, %edi
callq 0x72bc
jmp 0x21d0a
movq %rax, %rbx
jmp 0x21d4c
jmp 0x21d2d
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %rbp, %rdi
je 0x21d30
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x4470
jmp 0x21d30
movq %rax, %rbx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x21d4c
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x4470
leaq 0x58(%rsp), %rdi
callq 0x4110
movq %rbx, %rdi
callq 0x4780
// File: /workspace/github_cpp_makefile_star2_O3/Luthaf[P]zeopp/networkinfo.cc
// Function: lookupRadius(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool)
double lookupRadius(string atomType, bool radial){

  if(stripAtomNameInternalFlag == true) atomType = stripAtomName(atomType);

  if(!radial)
    return 0.0;
  map <string,double>::iterator  info = radTable.find(atomType);
  if(info == radTable.end()){
    cerr << "Unable to find radius for " << atomType << " in table. Please provide it " << "\n"
	 << "in a reference file or check you input file." << "\n"
	 << "Exiting ..." << "\n";
    exit(1);
  }
  else
    return info->second;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movl %esi, %ebp
movq %rdi, %rbx
cmpb $0x1, 0x17387c(%rip)    # 0x1955f0
jne 0x21de4
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0xf3ce
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
callq 0x21eb6
leaq 0x28(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4540
movq (%r14), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x21dcd
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x4470
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x21de4
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4470
xorps %xmm0, %xmm0
testb %bpl, %bpl
je 0x21e0c
leaq 0x1736dd(%rip), %rdi    # 0x1954d0
movq %rbx, %rsi
callq 0x22cf0
leaq 0x1736d6(%rip), %rcx    # 0x1954d8
cmpq %rcx, %rax
je 0x21e17
movsd 0x40(%rax), %xmm0
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq 0x1731d2(%rip), %rdi    # 0x194ff0
leaq 0x12bb77(%rip), %rsi    # 0x14d99c
callq 0x4440
movq %rax, %rdi
movq %rbx, %rsi
callq 0x43c0
leaq 0x12bb7b(%rip), %rsi    # 0x14d9b7
movq %rax, %rdi
callq 0x4440
leaq 0x1317d3(%rip), %rbx    # 0x15361e
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4440
leaq 0x12bb78(%rip), %rsi    # 0x14d9d5
movq %rax, %rdi
callq 0x4440
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4440
leaq 0x12bd3c(%rip), %rsi    # 0x14dbb3
movq %rax, %rdi
callq 0x4440
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4440
movl $0x1, %edi
callq 0x72bc
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x21eae
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4470
movq %rbx, %rdi
callq 0x4780
// File: /workspace/github_cpp_makefile_star2_O3/Luthaf[P]zeopp/networkinfo.cc
// Function: stripAtomName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
std::string stripAtomName(std::string extAtom) {
        string atom2 = extAtom.substr(0, 2);
        string atom1 = extAtom.substr(0, 1);
        if (periodicTable.find(atom2) != periodicTable.end()) {
                return atom2;
        } else if (periodicTable.find(atom1) != periodicTable.end()) {
                return atom1;
        } else {
                return extAtom;
        }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x20(%rsp), %rdi
movl $0x2, %ecx
xorl %edx, %edx
callq 0x4490
movq %rsp, %rdi
movl $0x1, %ecx
movq %r14, %rsi
xorl %edx, %edx
callq 0x4490
leaq 0x1736d1(%rip), %rdi    # 0x1955c0
leaq 0x20(%rsp), %rsi
callq 0x22e8e
leaq 0x1736c8(%rip), %r15    # 0x1955c8
cmpq %r15, %rax
je 0x21f28
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdx
cmpq %rax, %rdx
je 0x21f5f
movq %rdx, (%rbx)
movq 0x30(%rsp), %rcx
movq %rcx, 0x10(%rbx)
jmp 0x21f65
leaq 0x173691(%rip), %rdi    # 0x1955c0
movq %rsp, %rsi
callq 0x22e8e
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
cmpq %r15, %rax
je 0x21f6c
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdx
cmpq %rax, %rdx
je 0x21f84
movq %rdx, (%rbx)
movq 0x10(%rsp), %rcx
movq %rcx, 0x10(%rbx)
jmp 0x21f8a
movups (%rax), %xmm0
movups %xmm0, (%rcx)
leaq 0x28(%rsp), %rcx
jmp 0x21f8f
movq (%r14), %rdx
leaq 0x10(%r14), %rax
cmpq %rax, %rdx
je 0x21fe7
movq %rdx, (%rbx)
movq (%rax), %rcx
movq %rcx, 0x10(%rbx)
jmp 0x21fed
movups (%rax), %xmm0
movups %xmm0, (%rcx)
leaq 0x8(%rsp), %rcx
movq (%rcx), %rdx
movq %rdx, 0x8(%rbx)
movq %rax, -0x8(%rcx)
movq $0x0, (%rcx)
movb $0x0, (%rax)
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x21fbf
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x4470
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x21fda
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x4470
movq %rbx, %rax
addq $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq
movups (%rax), %xmm0
movups %xmm0, (%rcx)
leaq 0x8(%r14), %rcx
movq 0x8(%r14), %rdx
movq %rdx, 0x8(%rbx)
movq %rax, (%r14)
jmp 0x21f9a
jmp 0x22000
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x22023
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x4470
jmp 0x22023
movq %rax, %rbx
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2203e
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x4470
movq %rbx, %rdi
callq 0x4780
// File: /workspace/github_cpp_makefile_star2_O3/Luthaf[P]zeopp/networkinfo.cc
// Function: lookupCovRadius(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
double lookupCovRadius(string atomType){
  map <string,double>::iterator  info = covRadTable.find(atomType);
  if(info == covRadTable.end()){
    cerr << "Unable to find covalent radius for " << atomType << " in table. Please modify networkinfo.cc and recomplie the code " << "\n"
         << "Exiting ..." << "\n";
    exit(1);
  }
  else
   return info->second;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0x1734af(%rip), %rdi    # 0x195500
movq %rbx, %rsi
callq 0x22cf0
leaq 0x1734a8(%rip), %rcx    # 0x195508
cmpq %rcx, %rax
je 0x2206c
movsd 0x40(%rax), %xmm0
popq %rbx
retq
movq 0x172f7d(%rip), %rdi    # 0x194ff0
leaq 0x12b988(%rip), %rsi    # 0x14da02
callq 0x4440
movq %rax, %rdi
movq %rbx, %rsi
callq 0x43c0
leaq 0x12b995(%rip), %rsi    # 0x14da26
movq %rax, %rdi
callq 0x4440
leaq 0x13157e(%rip), %rbx    # 0x15361e
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4440
leaq 0x12bb01(%rip), %rsi    # 0x14dbb3
movq %rax, %rdi
callq 0x4440
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4440
movl $0x1, %edi
callq 0x72bc
// File: /workspace/github_cpp_makefile_star2_O3/Luthaf[P]zeopp/networkinfo.cc
// Function: lookupMass(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
double lookupMass(string atomType){

  if(stripAtomNameInternalFlag == true) atomType = stripAtomName(atomType);

  map <string,double>::iterator  info = massTable.find(atomType);
  if(info == massTable.end()){
    cerr << "Unable to find molar mass for " << atomType << " in table. Please provide it " << "\n"
	 << "in a reference file or check you input file." << "\n"
	 << "Exiting ..." << "\n";
    exit(1);
  }
  else
    return info->second;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
cmpb $0x1, 0x17350e(%rip)    # 0x1955f0
jne 0x2214f
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
movq %rsp, %r14
movq %r14, %rdi
callq 0xf3ce
leaq 0x20(%rsp), %rdi
movq %r14, %rsi
callq 0x21eb6
leaq 0x20(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4540
movq (%r14), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x22139
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x4470
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x2214f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x4470
leaq 0x1733da(%rip), %rdi    # 0x195530
movq %rbx, %rsi
callq 0x22cf0
leaq 0x1733d3(%rip), %rcx    # 0x195538
cmpq %rcx, %rax
je 0x22179
movsd 0x40(%rax), %xmm0
addq $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq 0x172e70(%rip), %rdi    # 0x194ff0
leaq 0x12b8df(%rip), %rsi    # 0x14da66
callq 0x4440
movq %rax, %rdi
movq %rbx, %rsi
callq 0x43c0
leaq 0x12b819(%rip), %rsi    # 0x14d9b7
movq %rax, %rdi
callq 0x4440
leaq 0x131471(%rip), %rbx    # 0x15361e
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4440
leaq 0x12b816(%rip), %rsi    # 0x14d9d5
movq %rax, %rdi
callq 0x4440
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4440
leaq 0x12b9da(%rip), %rsi    # 0x14dbb3
movq %rax, %rdi
callq 0x4440
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4440
movl $0x1, %edi
callq 0x72bc
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x2220f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x4470
movq %rbx, %rdi
callq 0x4780
// File: /workspace/github_cpp_makefile_star2_O3/Luthaf[P]zeopp/networkinfo.cc
// Function: lookupAtomicNumber(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
int lookupAtomicNumber(string atomType){
  map <string,int>::iterator  info = atomicNumberTable.find(atomType);
  if(info == atomicNumberTable.end()){
    cerr << "Unable to find atomic number for " << atomType << " in table. Please provide it " << "\n"
         << "in the source code and recompile the code." << "\n"
         << "Exiting ..." << "\n";
    exit(1);
  }
  else
    return info->second;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0x17333e(%rip), %rdi    # 0x195560
movq %rbx, %rsi
callq 0x22d7a
leaq 0x173337(%rip), %rcx    # 0x195568
cmpq %rcx, %rax
je 0x2223b
movl 0x40(%rax), %eax
popq %rbx
retq
movq 0x172dae(%rip), %rdi    # 0x194ff0
leaq 0x12b83c(%rip), %rsi    # 0x14da85
callq 0x4440
movq %rax, %rdi
movq %rbx, %rsi
callq 0x43c0
leaq 0x12b757(%rip), %rsi    # 0x14d9b7
movq %rax, %rdi
callq 0x4440
leaq 0x1313af(%rip), %rbx    # 0x15361e
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4440
leaq 0x12b826(%rip), %rsi    # 0x14daa7
movq %rax, %rdi
callq 0x4440
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4440
leaq 0x12b918(%rip), %rsi    # 0x14dbb3
movq %rax, %rdi
callq 0x4440
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4440
movl $0x1, %edi
callq 0x72bc
// File: /workspace/github_cpp_makefile_star2_O3/Luthaf[P]zeopp/networkinfo.cc
// Function: isMetal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool isMetal(string atomType){
  map <string,bool>::iterator  info = atomicCharacterTable.find(atomType);
  if(info == atomicCharacterTable.end()){
    cerr << "Unable to find character information for " << atomType << " in table. Please modify networkinfo.cc and recomplie the code " << "\n" 
         << "Exiting ..." << "\n";
    exit(1);
  }
  else
    return info->second;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0x1732cd(%rip), %rdi    # 0x195590
movq %rbx, %rsi
callq 0x22e04
leaq 0x1732c6(%rip), %rcx    # 0x195598
cmpq %rcx, %rax
je 0x222dc
movb 0x40(%rax), %al
popq %rbx
retq
movq 0x172d0d(%rip), %rdi    # 0x194ff0
leaq 0x12b7e8(%rip), %rsi    # 0x14dad2
callq 0x4440
movq %rax, %rdi
movq %rbx, %rsi
callq 0x43c0
leaq 0x12b725(%rip), %rsi    # 0x14da26
movq %rax, %rdi
callq 0x4440
leaq 0x13130e(%rip), %rbx    # 0x15361e
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4440
leaq 0x12b891(%rip), %rsi    # 0x14dbb3
movq %rax, %rdi
callq 0x4440
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4440
movl $0x1, %edi
callq 0x72bc
nop
// File: /workspace/github_cpp_makefile_star2_O3/Luthaf[P]zeopp/networkio.cc
// Function: parseFilename(char const*, char*, char*)
void parseFilename(const char * fileName, char *name, char *extension){
  string s(fileName);
  size_t index = s.find_last_of(".");
  if(index == string::npos){
    cerr << "Improper input filename " << fileName << "\n";
    cerr << "No . extension found. Exiting ..." << "\n";
    exit(1);
  }
  else{
    string prefix = s.substr(0, index);
    string suffix = s.substr(index + 1);
    strncpy(name, prefix.data(), prefix.size()); name[prefix.size()] = '\0';
    strncpy(extension, suffix.data(), suffix.size()); extension[suffix.size()] = '\0';
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x28(%rsp), %r12
leaq 0x8(%rsp), %rdx
movq %r12, %rdi
movq %r15, %rsi
callq 0x2f484
leaq 0x132027(%rip), %rsi    # 0x154f72
movl $0x1, %ecx
movq %r12, %rdi
movq $-0x1, %rdx
callq 0x4860
cmpq $-0x1, %rax
je 0x23037
movq %rax, %r12
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x4490
incq %r12
leaq 0x48(%rsp), %rdi
leaq 0x28(%rsp), %rsi
movq %r12, %rdx
movq $-0x1, %rcx
callq 0x4490
movq 0x8(%rsp), %r15
movq 0x10(%rsp), %r12
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x4210
xorl %ebp, %ebp
movb %bpl, (%r14,%r12)
leaq 0x58(%rsp), %r13
movq -0x10(%r13), %r14
movq -0x8(%r13), %r12
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x4210
movb %bpl, (%rbx,%r12)
cmpq %r13, %r14
je 0x22ff3
movq 0x58(%rsp), %rsi
incq %rsi
movq %r14, %rdi
callq 0x4470
movq 0x8(%rsp), %r15
leaq 0x18(%rsp), %rax
cmpq %rax, %r15
je 0x2300d
movq 0x18(%rsp), %rsi
incq %rsi
movq %r15, %rdi
callq 0x4470
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x23028
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x4470
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x171fb2(%rip), %rdi    # 0x194ff0
leaq 0x12ab3f(%rip), %rsi    # 0x14db84
movl $0x18, %edx
callq 0x44e0
movq 0x171f9a(%rip), %rdi    # 0x194ff0
movq %r15, %rsi
callq 0x4440
leaq 0x1305b9(%rip), %rsi    # 0x15361e
movl $0x1, %edx
movq %rax, %rdi
callq 0x44e0
movq 0x171f77(%rip), %rdi    # 0x194ff0
leaq 0x12ab1d(%rip), %rsi    # 0x14db9d
movl $0x21, %edx
callq 0x44e0
movq 0x171f5f(%rip), %rdi    # 0x194ff0
leaq 0x130586(%rip), %rsi    # 0x15361e
callq 0x4440
movl $0x1, %edi
callq 0x72bc
jmp 0x230c9
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x230cc
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x4470
jmp 0x230cc
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x230e7
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x4470
movq %rbx, %rdi
callq 0x4780
// File: /workspace/github_cpp_makefile_star2_O3/Luthaf[P]zeopp/networkio.cc
// Function: changeAtomType(ATOM*)
void changeAtomType(ATOM *atom){
    switch(atom->type[0]){
        case 'O': case 'o':
            atom->type = "O";
            break;
        case 'T': case 't':
            atom->type = "Si";
            break;
        case 'A': case 'a':
            atom->type = "Si";
            break;
        case 'H': case 'h':
            atom->type = "H";
            break;
        case 'S': case 's':
            if(tolower(atom->type[1]) == 'i')
                atom->type = "Si";
            else
                atom->type = "S";
            break;
        default:
            cerr<< "Error: Atom name not recognized " << atom->type << "\n";
            //	<< "Exiting..." << "\n";
            //    exit(1);
            break;
    }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
leaq 0x40(%rdi), %rbx
movq 0x40(%rdi), %rcx
movzbl (%rcx), %eax
cmpl $0x60, %eax
jg 0x26c53
cmpl $0x4e, %eax
jle 0x26c7f
cmpl $0x4f, %eax
je 0x26c6f
cmpl $0x53, %eax
je 0x26cf9
cmpl $0x54, %eax
je 0x26ce6
jmp 0x26c89
cmpl $0x6e, %eax
jle 0x26ccf
cmpl $0x74, %eax
je 0x26ce6
cmpl $0x73, %eax
je 0x26cf9
cmpl $0x6f, %eax
jne 0x26c89
movq 0x48(%r14), %rdx
leaq 0x126ba0(%rip), %rcx    # 0x14d81a
jmp 0x26d12
cmpl $0x41, %eax
je 0x26ce6
cmpl $0x48, %eax
je 0x26cd9
movq 0x16e360(%rip), %rbx    # 0x194ff0
leaq 0x127be4(%rip), %rsi    # 0x14e87b
movl $0x20, %edx
movq %rbx, %rdi
callq 0x44e0
movq 0x40(%r14), %rsi
movq 0x48(%r14), %rdx
movq %rbx, %rdi
callq 0x44e0
leaq 0x12c963(%rip), %rsi    # 0x15361e
movl $0x1, %edx
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x44e0
cmpl $0x61, %eax
je 0x26ce6
cmpl $0x68, %eax
jne 0x26c89
movq 0x48(%r14), %rdx
leaq 0x130560(%rip), %rcx    # 0x157244
jmp 0x26d12
movq 0x48(%r14), %rdx
leaq 0x126b34(%rip), %rcx    # 0x14d825
movl $0x2, %r8d
jmp 0x26d18
movsbl 0x1(%rcx), %edi
callq 0x4600
movq 0x48(%r14), %rdx
cmpl $0x69, %eax
je 0x26cea
leaq 0x12f5e3(%rip), %rcx    # 0x1562f5
movl $0x1, %r8d
movq %rbx, %rdi
xorl %esi, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x4670
// File: /workspace/github_cpp_makefile_star2_O3/Luthaf[P]zeopp/networkio.cc
// Function: readNetFile(char*, VORONOI_NETWORK*)
bool readNetFile(char * filename, VORONOI_NETWORK *vornet){
  fstream input;
  input.open(filename);
  if(!input.is_open()){
    cout<< "Failed to open .nt2 file " << filename << "\n";
    cout<<"Exiting ..." << "\n";
//    exit(1);
    return false;
  }
  else{
    readNet(&input, vornet);
  }
  return true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x210, %rsp            # imm = 0x210
movq %rsi, %r15
movq %rdi, %r14
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x4520
movq %rbx, %rdi
movq %r14, %rsi
movl $0x18, %edx
callq 0x43d0
leaq 0x80(%rsp), %rdi
callq 0x4120
movl %eax, %ebx
testb %al, %al
je 0x2a7ce
movq %rsp, %rdi
movq %r15, %rsi
callq 0x2a3f2
jmp 0x2a86a
movq 0x16a7eb(%rip), %r15    # 0x194fc0
leaq 0x123bab(%rip), %rsi    # 0x14e387
movl $0x19, %edx
movq %r15, %rdi
callq 0x44e0
testq %r14, %r14
je 0x2a80a
movq %r14, %rdi
callq 0x41e0
movq 0x16a7c3(%rip), %rdi    # 0x194fc0
movq %r14, %rsi
movq %rax, %rdx
callq 0x44e0
jmp 0x2a822
movq (%r15), %rax
movq -0x18(%rax), %rax
leaq (%r15,%rax), %rdi
movl 0x20(%r15,%rax), %esi
orl $0x1, %esi
callq 0x4710
movq 0x16a797(%rip), %rdi    # 0x194fc0
leaq 0x128dee(%rip), %rsi    # 0x15361e
movl $0x1, %edx
callq 0x44e0
movq 0x16a77f(%rip), %rdi    # 0x194fc0
leaq 0x12336b(%rip), %rsi    # 0x14dbb3
movl $0xb, %edx
callq 0x44e0
movq 0x16a767(%rip), %rdi    # 0x194fc0
leaq 0x128dbe(%rip), %rsi    # 0x15361e
movl $0x1, %edx
callq 0x44e0
movq %rsp, %rdi
callq 0x4110
movl %ebx, %eax
addq $0x210, %rsp            # imm = 0x210
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x4110
movq %rbx, %rdi
callq 0x4780
// File: /workspace/github_cpp_makefile_star2_O3/Luthaf[P]zeopp/networkio.cc
// Function: get_timestamp[abi:cxx11]()
string get_timestamp()
{
    char buff[80];
    time_t rawtime;
    struct tm* timeinfo;

    time(&rawtime);
    timeinfo = localtime(&rawtime);
    strftime(buff, 80, "%F_%T", timeinfo);

    return string(buff);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x68, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x43e0
movq %r14, %rdi
callq 0x4320
leaq 0x122d5a(%rip), %rdx    # 0x14e42f
leaq 0x10(%rsp), %r14
movl $0x50, %esi
movq %r14, %rdi
movq %rax, %rcx
callq 0x4360
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq %r14, %rdi
callq 0x41e0
leaq (%rsp,%rax), %rdx
addq $0x10, %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x22538
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/Luthaf[P]zeopp/networkanalysis.cc
// Function: PATH::PATH()
PATH::PATH(){
  max_radius = max_inc_radius = length = -1;
  visitedNodes = vector<DIJKSTRA_NODE> ();
  toSink = false;
  visitedSourceIDs = set<int> ();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
addq $0x18, %rdi
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
xorps %xmm3, %xmm3
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0x1, %edx
callq 0x50946
xorps %xmm0, %xmm0
movups %xmm0, 0x80(%rbx)
xorps %xmm1, %xmm1
xorl %r13d, %r13d
movq %r13, 0x90(%rbx)
leaq 0x98(%rbx), %r14
leaq 0xa0(%rbx), %r12
movl $0x0, 0xa0(%rbx)
movq %r13, 0xa8(%rbx)
movq %r12, 0xb0(%rbx)
movq %r12, 0xb8(%rbx)
movq %r13, 0xc0(%rbx)
movabsq $-0x4010000000000000, %rax # imm = 0xBFF0000000000000
movq %rax, 0x70(%rbx)
movaps 0x120367(%rip), %xmm0   # 0x151310
movups %xmm0, 0x60(%rbx)
movq 0x10(%rbx), %rax
movups (%rbx), %xmm0
movups %xmm1, (%rbx)
movq %r13, 0x10(%rbx)
movq %rsp, %rdi
movaps %xmm0, (%rdi)
movq %rax, 0x10(%rdi)
leaq 0x30(%rsp), %r15
movaps %xmm1, (%r15)
movq %r13, 0x10(%r15)
callq 0xf10e
movq %r15, %rdi
callq 0xf10e
movb $0x0, 0x78(%rbx)
leaq 0x8(%rsp), %r15
movq %r13, 0x8(%r15)
xorps %xmm0, %xmm0
movaps %xmm0, -0x8(%r15)
movq %r15, 0x10(%r15)
movq %r15, 0x18(%r15)
movq %r13, 0x20(%r15)
movq %r14, %rdi
callq 0x1326c
movq 0x8(%r15), %rax
testq %rax, %rax
je 0x31054
movl 0x8(%rsp), %ecx
movl %ecx, 0xa0(%rbx)
movq %rax, 0xa8(%rbx)
movups 0x18(%rsp), %xmm0
movups %xmm0, 0xb0(%rbx)
movq %r12, 0x8(%rax)
movq 0x28(%rsp), %rax
movq %rax, 0xc0(%rbx)
xorl %eax, %eax
movq %rax, 0x10(%rsp)
movq %r15, 0x18(%rsp)
movq %r15, 0x20(%rsp)
movq %rax, 0x28(%rsp)
movq %rsp, %rdi
callq 0xf206
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0xf10e
movq %r14, %rdi
callq 0x4780
nop
// File: /workspace/github_cpp_makefile_star2_O3/Luthaf[P]zeopp/networkanalysis.cc
// Function: PATH::PATH(DIJKSTRA_NODE, double, double, double)
PATH::PATH(DIJKSTRA_NODE cNode, double maxRadius, double maxIncRadius, double len){
  currentNode = cNode;
  max_radius = maxRadius;
  max_inc_radius = maxIncRadius;
  length = len;
  visitedNodes = vector<DIJKSTRA_NODE> ();
  toSink = false;
  visitedSourceIDs = set<int> ();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movsd %xmm2, 0x18(%rsp)
movsd %xmm1, 0x10(%rsp)
movsd %xmm0, 0x8(%rsp)
movq %rsi, %r15
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
leaq 0x18(%rdi), %r12
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
xorps %xmm3, %xmm3
movq %r12, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl $0x1, %edx
callq 0x50946
leaq 0x80(%rbx), %rbp
xorps %xmm0, %xmm0
movups %xmm0, 0x80(%rbx)
xorl %eax, %eax
movq %rax, 0x90(%rbx)
leaq 0x98(%rbx), %r14
leaq 0xa0(%rbx), %r13
movl $0x0, 0xa0(%rbx)
movq %rax, 0xa8(%rbx)
movq %r13, 0xb0(%rbx)
movq %r13, 0xb8(%rbx)
movq %rax, 0xc0(%rbx)
movups (%r15), %xmm0
movups 0x10(%r15), %xmm1
movups %xmm1, 0x10(%r12)
movups %xmm0, (%r12)
leaq 0x38(%rbx), %r12
leaq 0x20(%r15), %rsi
movq %r12, %rdi
callq 0x389b8
movb 0x40(%r15), %al
movb %al, 0x58(%rbx)
movq 0x38(%r15), %rax
movq %rax, 0x50(%rbx)
movsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x60(%rbx)
movsd 0x10(%rsp), %xmm0
movsd %xmm0, 0x68(%rbx)
movsd 0x18(%rsp), %xmm0
movsd %xmm0, 0x70(%rbx)
movq 0x10(%rbx), %rax
movups (%rbx), %xmm0
xorps %xmm1, %xmm1
movups %xmm1, (%rbx)
xorl %r12d, %r12d
movq %r12, 0x10(%rbx)
leaq 0x20(%rsp), %rdi
movaps %xmm0, (%rdi)
movq %rax, 0x10(%rdi)
leaq 0x50(%rsp), %r15
movaps %xmm1, (%r15)
movq %r12, 0x10(%r15)
callq 0xf10e
movq %r15, %rdi
callq 0xf10e
movb $0x0, 0x78(%rbx)
leaq 0x28(%rsp), %r15
movq %r12, 0x8(%r15)
xorps %xmm0, %xmm0
movaps %xmm0, -0x8(%r15)
movq %r15, 0x10(%r15)
movq %r15, 0x18(%r15)
movq %r12, 0x20(%r15)
movq %r14, %rdi
callq 0x1326c
movq 0x8(%r15), %rax
testq %rax, %rax
je 0x31225
movl 0x28(%rsp), %ecx
movl %ecx, 0xa0(%rbx)
movq %rax, 0xa8(%rbx)
movups 0x38(%rsp), %xmm0
movups %xmm0, 0xb0(%rbx)
movq %r13, 0x8(%rax)
movq 0x48(%rsp), %rax
movq %rax, 0xc0(%rbx)
xorl %eax, %eax
movq %rax, 0x30(%rsp)
movq %r15, 0x38(%rsp)
movq %r15, 0x40(%rsp)
movq %rax, 0x48(%rsp)
leaq 0x20(%rsp), %rdi
callq 0xf206
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r15
movq %r14, %rdi
callq 0xf206
movq (%rbp), %rdi
testq %rdi, %rdi
je 0x31261
movq 0x90(%rbx), %rsi
subq %rdi, %rsi
callq 0x4470
movq (%r12), %rdi
testq %rdi, %rdi
je 0x3127b
movq 0x48(%rbx), %rsi
subq %rdi, %rsi
callq 0x4470
jmp 0x3127b
movq %rax, %r15
movq %rbx, %rdi
callq 0xf10e
movq %r15, %rdi
callq 0x4780
nop