LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/iPapatsoris[P]Maximum-Independent-Set/src/Mis.cpp
// Function: Mis::removeSubsequentNodes(std::unordered_set<unsigned int, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<unsigned int>>&)
void Mis::removeSubsequentNodes(unordered_set<uint32_t> &nodes) {
    removeHypernodes(nodes);
    unordered_set<uint32_t> toRemove;
    for (auto s: subsequentNodes) {
        if (nodes.find(s.second) == nodes.end()) {
            toRemove.insert(s.first);
        }
    }
    for (auto i: toRemove) {
        subsequentNodes.erase(i);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
movq %rdi, %rbx
callq 0x17c20
leaq 0x40(%rsp), %rax
movq %rax, -0x30(%rax)
movq $0x1, -0x28(%rax)
xorps %xmm0, %xmm0
movups %xmm0, -0x20(%rax)
movl $0x3f800000, -0x10(%rax) # imm = 0x3F800000
movups %xmm0, -0x8(%rax)
movq 0x60(%rbx), %rbp
testq %rbp, %rbp
je 0x1812f
leaq 0x10(%rsp), %r15
leaq 0x8(%rsp), %r12
movq %rsp, %r13
movq 0x8(%rbp), %rax
movq %rax, 0x8(%rsp)
movl 0xc(%rsp), %ecx
movq (%r14), %rdi
movq 0x8(%r14), %r8
movq %rcx, %rax
xorl %edx, %edx
divq %r8
movq %rdx, %rsi
movq (%rdi,%rdx,8), %rdx
movl $0x0, %eax
testq %rdx, %rdx
je 0x18105
movq (%rdx), %r9
movq %rdx, %rax
cmpl 0x8(%r9), %ecx
je 0x18105
movq %r9, %r10
movq (%r9), %r9
testq %r9, %r9
je 0x18103
movl 0x8(%r9), %edi
movq %rdi, %rax
xorl %edx, %edx
divq %r8
movl $0x0, %eax
cmpq %rsi, %rdx
jne 0x18105
movq %r10, %rax
cmpl %edi, %ecx
jne 0x180d9
jmp 0x18105
xorl %eax, %eax
testq %rax, %rax
je 0x18110
cmpq $0x0, (%rax)
jne 0x18122
movq %r15, (%rsp)
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0xdc3e
movq (%rbp), %rbp
testq %rbp, %rbp
jne 0x180a0
movq 0x20(%rsp), %r15
testq %r15, %r15
je 0x1815a
addq $0x50, %rbx
movq %rsp, %r14
movl 0x8(%r15), %eax
movl %eax, (%rsp)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x18d90
movq (%r15), %r15
testq %r15, %r15
jne 0x18140
leaq 0x10(%rsp), %rdi
callq 0xcff8
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x18175
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xcff8
movq %rbx, %rdi
callq 0x2320
// File: /workspace/github_cpp_makefile_star2_O1/iPapatsoris[P]Maximum-Independent-Set/src/ControlUnit.cpp
// Function: main
int main(int argc, char **argv) {
    string graphInputFile;
    bool checkIndependentSet = false;
    for (int i=1 ; i < argc ; i++) {
        if (!strcmp(argv[i], "-check")) {
            checkIndependentSet = true;
        } else {
            graphInputFile = argv[i];
        }
   }
   if (!graphInputFile.compare("")) {
       cerr << "Error: No graph input file specified" << endl;
       exit(EXIT_FAILURE);
   }
   ControlUnit controlUnit(graphInputFile, checkIndependentSet);
   if (!checkIndependentSet) {
       controlUnit.run();
   } else {
       controlUnit.checkIndependentSet(graphInputFile + ".mis");
   }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
leaq 0x20(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq $0x0, -0x8(%rcx)
xorl %eax, %eax
movb %al, (%rcx)
movb %al, 0xf(%rsp)
cmpl $0x2, %edi
jl 0x18e62
movq %rsi, %rbx
movl %edi, %ebp
movl $0x1, %r15d
leaq 0x2241(%rip), %r14      # 0x1b05f
movq (%rbx,%r15,8), %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0x2260
testl %eax, %eax
je 0x18e55
movq 0x18(%rsp), %r13
movq %r12, %rdi
callq 0x20a0
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
movq %r13, %rdx
movq %r12, %rcx
movq %rax, %r8
callq 0x22c0
jmp 0x18e5a
movb $0x1, 0xf(%rsp)
incq %r15
cmpq %r15, %rbp
jne 0x18e1e
leaq 0x1709(%rip), %rsi      # 0x1a572
leaq 0x10(%rsp), %rdi
callq 0x2070
testl %eax, %eax
je 0x18f20
leaq 0x50(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0xf(%rsp), %rdx
callq 0x13dbc
cmpb $0x0, 0xf(%rsp)
je 0x18ee7
leaq 0x40(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
addq %rsi, %rdx
leaq 0x30(%rsp), %rdi
callq 0x1746c
leaq 0x1b5b(%rip), %rsi      # 0x1aa18
leaq 0x30(%rsp), %rdi
callq 0x2340
leaq 0x50(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x18f9e
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x18ef1
callq 0x21a0
jmp 0x18ef1
leaq 0x50(%rsp), %rdi
callq 0x14262
leaq 0x50(%rsp), %rdi
callq 0x13eb0
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x18f0f
callq 0x21a0
xorl %eax, %eax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0xa0c9(%rip), %rdi      # 0x22ff0
leaq 0x2138(%rip), %rsi      # 0x1b066
movl $0x24, %edx
callq 0x2200
movq 0xa0b1(%rip), %rdi      # 0x22ff0
callq 0x20b0
movl $0x1, %edi
callq 0x2240
jmp 0x18f50
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x18f69
callq 0x21a0
jmp 0x18f69
jmp 0x18f66
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x13eb0
jmp 0x18f7c
jmp 0x18f79
jmp 0x18f79
movq %rax, %rbx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x18f90
callq 0x21a0
movq %rbx, %rdi
callq 0x2320
// File: /workspace/github_cpp_makefile_star2_O1/iPapatsoris[P]Maximum-Independent-Set/src/Util.cpp
// Function: setsHaveKUncommonElements(std::vector<unsigned int, std::allocator<unsigned int>> const&, std::vector<unsigned int, std::allocator<unsigned int>> const&, unsigned int const&, unsigned int&)
bool setsHaveKUncommonElements(const vector<uint32_t> &container1, const vector<uint32_t> &container2, const uint32_t &k, uint32_t &uncommonElement) {
    uint32_t uncommonElements = 0;
    const vector<uint32_t> *containerPtr = &container1;
    auto begin = container2.begin();
    auto end = container2.end();
    for (uint32_t it = 0 ; it < 2 ; it++) {
        for (auto &i: *containerPtr) {
            if (!binary_search(begin, end, i)) {
                uncommonElements++;
                uncommonElement = i;
                if (uncommonElements > k) {
                    return false;
                }
            }
        }
        containerPtr = &container2;
        begin = container1.begin();
        end = container1.end();
    }
    return (uncommonElements == k);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rcx, 0x30(%rsp)
movq %rdx, 0x18(%rsp)
movl $0x0, 0xc(%rsp)
movq %rsi, 0x28(%rsp)
movq %rsi, %rax
xorl %r12d, %r12d
movq %rdi, 0x20(%rsp)
movq %rdi, %rcx
movq $0x0, 0x10(%rsp)
movq (%rcx), %r13
movq 0x8(%rcx), %r14
cmpq %r14, %r13
sete %bl
je 0x19409
movq (%rax), %rbp
movq 0x8(%rax), %r15
movq %rbp, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x1949a
movb $0x1, %cl
testb %al, %al
jne 0x193f9
incl %r12d
movl (%r13), %eax
movq 0x30(%rsp), %rcx
movl %eax, (%rcx)
movq 0x18(%rsp), %rax
cmpl (%rax), %r12d
setbe %cl
testb %cl, %cl
je 0x19409
addq $0x4, %r13
cmpq %r14, %r13
sete %bl
jne 0x193cc
testb $0x1, %bl
je 0x19431
movq 0x10(%rsp), %rsi
leal 0x1(%rsi), %edx
movq 0x20(%rsp), %rax
movq 0x28(%rsp), %rcx
testl %esi, %esi
setne %sil
movl %esi, 0xc(%rsp)
movq %rdx, 0x10(%rsp)
je 0x193b6
movq 0x18(%rsp), %rax
cmpl (%rax), %r12d
sete %al
andb 0xc(%rsp), %al
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/iZhangHui[P]CppPrimer/CH01_GettingStarted/examples/add_item.cc
// Function: main
int main() 
{
    Sales_item item1, item2;

    std::cin >> item1 >> item2;   //read a pair of transactions
    std::cout << item1 + item2 << std::endl; //print their sum

    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x90, %rsp
leaq -0x40(%rbp), %r14
movq %r14, -0x10(%r14)
xorl %eax, %eax
movq %rax, -0x8(%r14)
movb %al, (%r14)
movl %eax, 0x10(%r14)
movq %rax, 0x18(%r14)
leaq -0x70(%rbp), %r15
movq %r15, -0x10(%r15)
movq %rax, -0x8(%r15)
movb %al, (%r15)
movl %eax, 0x10(%r15)
movq %rax, 0x18(%r15)
movq 0x2aac(%rip), %rdi      # 0x3fe0
leaq -0x50(%rbp), %rsi
callq 0x12f3
movq 0x2a9c(%rip), %rdi      # 0x3fe0
leaq -0x80(%rbp), %rsi
callq 0x12f3
leaq -0xa0(%rbp), %r12
movq %r12, -0x10(%r12)
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
addq %rsi, %rdx
leaq -0xb0(%rbp), %rdi
callq 0x1680
leaq -0x30(%rbp), %rax
movups (%rax), %xmm0
leaq -0xb0(%rbp), %rsi
movups %xmm0, 0x20(%rsi)
movl -0x60(%rbp), %eax
addl %eax, 0x20(%rsi)
movsd -0x58(%rbp), %xmm0
addsd 0x28(%rsi), %xmm0
movsd %xmm0, 0x28(%rsi)
movq 0x2a32(%rip), %rbx      # 0x3fd0
movq %rbx, %rdi
callq 0x13c1
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x10a0
movsbl %al, %esi
movq 0x2a0c(%rip), %rdi      # 0x3fd0
callq 0x1030
movq %rax, %rdi
callq 0x1060
movq -0xb0(%rbp), %rdi
cmpq %r12, %rdi
je 0x15ec
movq -0xa0(%rbp), %rsi
incq %rsi
callq 0x10b0
movq -0x80(%rbp), %rdi
cmpq %r15, %rdi
je 0x1601
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x10b0
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0x1616
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x10b0
xorl %eax, %eax
addq $0x90, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x162a
movq %rax, %rbx
jmp 0x164d
movq %rax, %rbx
movq -0xb0(%rbp), %rdi
cmpq %r12, %rdi
je 0x164d
movq -0xa0(%rbp), %rsi
incq %rsi
callq 0x10b0
movq -0x80(%rbp), %rdi
cmpq %r15, %rdi
je 0x1662
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x10b0
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0x1677
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x10b0
movq %rbx, %rdi
callq 0x1120
nop
// File: /workspace/github_cpp_makefile_star2_O1/statgen[P]statgen/lib/tclap-1.2.0/examples/test10.cpp
// Function: main
int main()
{
	char *argv5[] = {"Foo", 0};
	const char *argv6[] = {"Foo", 0};
	const char * const argv7[] = {"Foo", 0};
	char **argv1 = argv5;
	const char **argv2 = argv6;
	const char * const * argv3 = argv7;
	const char * const * const argv4 = argv7;

	CmdLine cmd("Command description message", ' ', "0.9");
	cmd.parse(0, argv1);
	cmd.parse(0, argv2);
	cmd.parse(0, argv3);
	cmd.parse(0, argv4);
	cmd.parse(0, argv5);
	cmd.parse(0, argv6);
	cmd.parse(0, argv7);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x120, %rsp            # imm = 0x120
leaq 0x10(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x6b76(%rip), %rsi      # 0xa03e
leaq 0x6b8a(%rip), %rdx      # 0xa059
movq %rsp, %rdi
callq 0x6b5e
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x6b73(%rip), %rsi      # 0xa05a
leaq 0x6b6f(%rip), %rdx      # 0xa05d
leaq 0x20(%rsp), %rdi
callq 0x6b5e
leaq 0x40(%rsp), %rdi
movq %rsp, %rsi
leaq 0x20(%rsp), %rcx
movl $0x20, %edx
movl $0x1, %r8d
callq 0x4f76
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x352c
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3190
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x3542
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3190
xorps %xmm0, %xmm0
movq %rsp, %rsi
movaps %xmm0, (%rsi)
movq $0x0, 0x10(%rsi)
leaq 0x40(%rsp), %rdi
callq 0x8b00
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x8fc6
xorps %xmm0, %xmm0
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
leaq 0x40(%rsp), %rdi
movq %rsp, %rsi
callq 0x8b00
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x8fc6
xorps %xmm0, %xmm0
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
leaq 0x40(%rsp), %rdi
movq %rsp, %rsi
callq 0x8b00
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x8fc6
xorps %xmm0, %xmm0
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
leaq 0x40(%rsp), %rdi
movq %rsp, %rsi
callq 0x8b00
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x8fc6
xorps %xmm0, %xmm0
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
leaq 0x40(%rsp), %rdi
movq %rsp, %rsi
callq 0x8b00
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x8fc6
xorps %xmm0, %xmm0
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
leaq 0x40(%rsp), %rdi
movq %rsp, %rsi
callq 0x8b00
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x8fc6
xorps %xmm0, %xmm0
movaps %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
leaq 0x40(%rsp), %rdi
movq %rsp, %rsi
callq 0x8b00
movq %rsp, %rdi
callq 0x8fc6
leaq 0x40(%rsp), %rdi
callq 0x4e58
xorl %eax, %eax
addq $0x120, %rsp            # imm = 0x120
popq %rbx
popq %r14
popq %r15
retq
jmp 0x366e
jmp 0x366e
jmp 0x366e
jmp 0x366e
jmp 0x366e
jmp 0x366e
movq %rax, %rbx
movq %rsp, %rdi
callq 0x8fc6
leaq 0x40(%rsp), %rdi
callq 0x4e58
movq %rbx, %rdi
callq 0x32a0
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x36aa
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3190
jmp 0x36aa
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x3683
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3190
jmp 0x3683
movq %rax, %rbx
jmp 0x3683
nop
// File: /workspace/github_cpp_makefile_star2_O1/parth-shel[P]xpac/client.cpp
// Function: xpac_dir_handler(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
static inline void xpac_dir_handler(std::string filepath){
	DIR* dir = opendir(filepath.c_str());
	if (dir)
	{
		closedir(dir);  //Directory exists and we don't need to so anything
	}
	else if (ENOENT == errno)
	{
		//Directory does not exist. So we need to create it
		std::cout<<"Creating the directory: "<<filepath<<std::endl;
		mkdir(filepath.c_str(),0775);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rdi
callq 0x3500
testq %rax, %rax
je 0x737e
movq %rax, %rdi
popq %rbx
popq %r14
popq %rbp
jmp 0x3540
callq 0x3050
cmpl $0x2, (%rax)
jne 0x73ed
movq 0x8c41(%rip), %r14      # 0xffd0
leaq 0x51dc(%rip), %rsi      # 0xc572
movl $0x18, %edx
movq %r14, %rdi
callq 0x3400
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r14, %rdi
callq 0x3400
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3370
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3280
movq (%rbx), %rdi
movl $0x1fd, %esi            # imm = 0x1FD
popq %rbx
popq %r14
popq %rbp
jmp 0x31d0
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/parth-shel[P]xpac/client_socket.cpp
// Function: client_driver(char*, char*)
int client_driver(char * command, char * ip) {
 	int sock_fd;
 	struct sockaddr_in srv_addr;
 	
	memset(&srv_addr, 0, sizeof(srv_addr));

 	// create a client socket
 	sock_fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
 	srv_addr.sin_family = AF_INET; // internet address

	// DNS lookup
	char * IP = (char *) malloc(128 * sizeof(char));
	if( hostname_to_ip(ip, IP) < 0 ) {
		printf("DNS lookup failure\n");
		exit(EXIT_FAILURE);
	}

 	// convert command line argument to numeric IP
 	if ( inet_pton(AF_INET, IP, &(srv_addr.sin_addr)) < 1 ) {
 		printf("invalid IP address\n");
		exit(EXIT_FAILURE);
 	}

 	// use specified port number or default otherwise
	// TODO: WORK ON PORT SELECTION
 	srv_addr.sin_port = htons(SRV_PORT);

 	if( connect(sock_fd, (struct sockaddr*) &srv_addr, sizeof(srv_addr)) < 0 ) {
 		perror("connect error");
 		exit(EXIT_FAILURE);
 	}
 	else {
 		printf("connected to:%s:%d ..\n",ip,SRV_PORT);
 	}
 
	if( recv_file(sock_fd, command) < 0 ) { // command
		//perror("receive error\n");
		//exit(EXIT_FAILURE);
		return -1;
	}
 	
	// close socket
 	if(close(sock_fd) < 0) {
 		perror("socket close error");
 		exit(EXIT_FAILURE);
 	}
 
	return EXIT_SUCCESS;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r15
movq %rdi, %rbx
xorps %xmm0, %xmm0
movaps %xmm0, -0x30(%rbp)
movl $0x2, %edi
movl $0x1, %esi
movl $0x6, %edx
callq 0x30f0
movl %eax, %r14d
movw $0x2, -0x30(%rbp)
movl $0x80, %edi
callq 0x3490
movq %rax, %r12
movq %r15, %rdi
movq %rax, %rsi
callq 0x9418
testl %eax, %eax
js 0x93f4
leaq -0x2c(%rbp), %rdx
movl $0x2, %edi
movq %r12, %rsi
callq 0x3640
testl %eax, %eax
jle 0x93fd
leaq -0x30(%rbp), %rsi
movw $0xf413, 0x2(%rsi)      # imm = 0xF413
movl %r14d, %edi
movl $0x10, %edx
callq 0x32f0
testl %eax, %eax
js 0x9413
leaq 0x335b(%rip), %rdi      # 0xc707
xorl %r12d, %r12d
movq %r15, %rsi
movl $0x13f4, %edx           # imm = 0x13F4
xorl %eax, %eax
callq 0x3060
movl %r14d, %edi
movq %rbx, %rsi
callq 0x946b
testl %eax, %eax
js 0x93de
movl %r14d, %edi
callq 0x3670
testl %eax, %eax
jns 0x93e4
callq 0x36cc
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
movl %r12d, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3404(%rip), %rdi      # 0xc7ff
jmp 0x9404
leaq 0x33e8(%rip), %rdi      # 0xc7ec
callq 0x3520
movl $0x1, %edi
callq 0x3440
callq 0x36e4
// File: /workspace/github_cpp_makefile_star2_O1/parth-shel[P]xpac/client_socket.cpp
// Function: hostname_to_ip(char*, char*)
int hostname_to_ip(char * hostname, char * ip) {
	struct hostent *ptrh;
    	struct in_addr **addr_list;
         
    	// get host info
	if ( (ptrh = gethostbyname( hostname ) ) == NULL) {
       	 	perror("gethostbyname error\n");
        	return -1;
    	}
 
    	addr_list = (struct in_addr **) ptrh->h_addr_list;
     
    	for(int i = 0; addr_list[i] != NULL; i++) {
        	strcpy(ip , inet_ntoa(*addr_list[i]) );
        	return 0;
    	}
     
    	return -1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
callq 0x33f0
testq %rax, %rax
je 0x9458
movq 0x18(%rax), %rax
movq (%rax), %r14
testq %r14, %r14
je 0x944b
movl (%r14), %edi
callq 0x31c0
movq %rbx, %rdi
movq %rax, %rsi
callq 0x3350
xorl %eax, %eax
cmpq $0x1, %r14
sbbl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x32d2(%rip), %rdi      # 0xc731
callq 0x3300
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jmp 0x9453
// File: /workspace/github_cpp_makefile_star2_O1/parth-shel[P]xpac/client_socket.cpp
// Function: recv_file(int, char*)
int recv_file(int sock, char* file_name) {
 	char send_str [MAX_SEND_BUF]; // message to be sent to server
 	int fd; // file descriptor for receiving file
 	ssize_t sent_bytes, rcvd_bytes, rcvd_file_size;
 	int recv_count; // count of recv() calls
 	char recv_str[MAX_RECV_BUF]; // buffer to hold received data 
 	size_t send_strlen; // length of transmitted string

 	sprintf(send_str, "%s\n", file_name); 
 	send_strlen = strlen(send_str); /* length of message to be transmitted */
 	if( (sent_bytes = send(sock, send_str, send_strlen, 0)) < 0 ) {
 		perror("send error");
 		return -1;
 	}
 

 	// create file to save received data
 	if ( (fd = open(file_name, O_WRONLY|O_CREAT, 0666)) < 0 ) {
 		perror("error creating file");
 		return -1;
 	}

 	recv_count = 0; // number of recv() calls required to receive the file
 	rcvd_file_size = 0; // size of received file

 	// continue receiving file
 	while ( (rcvd_bytes = recv(sock, recv_str, MAX_RECV_BUF, 0)) > 0 ) {
 		recv_count++;
 		rcvd_file_size += rcvd_bytes;

		if(!strcmp(recv_str,errmsg_notfound)){
			printf("File not found on xpac repo!\nPlease check file name and try again!");
			return -1;
		}
 		if (write(fd, recv_str, rcvd_bytes) < 0 ) {
 			perror("error writing to file");
 			return -1;
 		}
 	}
 	
	close(fd); // close file
 	printf("Client Received: %zu bytes in %d recv(s)\n", rcvd_file_size, recv_count);
 	return rcvd_file_size;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x208, %rsp            # imm = 0x208
movq %rsi, %r14
movl %edi, %r15d
leaq 0x32ba(%rip), %rsi      # 0xc746
leaq -0x230(%rbp), %rbx
movq %rbx, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x30a0
movq %rbx, %rdi
callq 0x31b0
movl %r15d, -0x2c(%rbp)
movl %r15d, %edi
movq %rbx, %rsi
movq %rax, %rdx
xorl %ecx, %ecx
callq 0x3200
testq %rax, %rax
js 0x956e
xorl %r15d, %r15d
movq %r14, %rdi
movl $0x41, %esi
movl $0x1b6, %edx            # imm = 0x1B6
xorl %eax, %eax
callq 0x32b0
testl %eax, %eax
js 0x9577
movl %eax, %r12d
leaq -0x130(%rbp), %r13
xorl %r14d, %r14d
movl $0x100, %edx            # imm = 0x100
movl -0x2c(%rbp), %edi
movq %r13, %rsi
xorl %ecx, %ecx
callq 0x3150
testq %rax, %rax
jle 0x9540
movq %rax, %rbx
movq 0x6e46(%rip), %rsi      # 0x10358
movq %r13, %rdi
callq 0x34b0
testl %eax, %eax
je 0x955e
addq %rbx, %r14
incl %r15d
movl %r12d, %edi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x3170
testq %rax, %rax
jns 0x94f1
leaq 0x326e(%rip), %rdi      # 0xc7ac
jmp 0x957e
movl %r12d, %edi
callq 0x3670
leaq 0x3273(%rip), %rdi      # 0xc7c2
movq %r14, %rsi
movl %r15d, %edx
xorl %eax, %eax
callq 0x3060
jmp 0x9589
leaq 0x3204(%rip), %rdi      # 0xc769
xorl %eax, %eax
callq 0x3060
jmp 0x9583
leaq 0x31d5(%rip), %rdi      # 0xc74a
jmp 0x957e
leaq 0x31d7(%rip), %rdi      # 0xc755
callq 0x3300
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
movl %r14d, %eax
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/parth-shel[P]xpac/metadata.cpp
// Function: metadata::metadata(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
metadata::metadata(std::string pkg_name,std::string pkg_ver){
	this->pkg_name = pkg_name;
	this->pkg_ver = pkg_ver;
	this->str_hash = new std::hash<std::string>;
	pkg_id = std::to_string((*str_hash)(this->pkg_name + this->pkg_ver));
	dep_list = new std::vector<std::string>;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdx, %r12
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, -0x48(%rbp)
movq %rax, (%rdi)
xorl %eax, %eax
movq %rax, 0x8(%rdi)
movb %al, 0x10(%rdi)
leaq 0x20(%rdi), %rcx
movq %rcx, -0x30(%rbp)
leaq 0x30(%rdi), %rcx
movq %rcx, -0x40(%rbp)
movq %rcx, 0x20(%rdi)
movq %rax, 0x28(%rdi)
movb %al, 0x30(%rdi)
leaq 0x40(%rdi), %r15
leaq 0x50(%rdi), %rcx
movq %rcx, -0x38(%rbp)
movq %rcx, 0x40(%rdi)
movq %rax, 0x48(%rdi)
movb %al, 0x50(%rdi)
callq 0x3220
movq %r15, %rdi
movq %r12, %rsi
callq 0x3220
movl $0x1, %edi
callq 0x3390
movq %rax, 0x68(%rbx)
leaq -0x68(%rbp), %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0xa385
movq -0x68(%rbp), %rdi
movq -0x60(%rbp), %rsi
movl $0xc70f6907, %edx       # imm = 0xC70F6907
callq 0x30b0
movq %rax, %r12
movl $0x1, %esi
cmpq $0xa, %rax
jb 0x9999
movl $0x4, %esi
movabsq $0x346dc5d63886594b, %rdi # imm = 0x346DC5D63886594B
movq %r12, %rcx
cmpq $0x63, %rcx
jbe 0x9992
cmpq $0x3e7, %rcx            # imm = 0x3E7
jbe 0x9997
cmpq $0x2710, %rcx           # imm = 0x2710
jb 0x9999
movq %rcx, %rax
mulq %rdi
shrq $0xb, %rdx
addl $0x4, %esi
cmpq $0x1869f, %rcx          # imm = 0x1869F
movq %rdx, %rcx
ja 0x995c
addl $-0x3, %esi
jmp 0x9999
addl $-0x2, %esi
jmp 0x9999
decl %esi
movl %esi, %esi
leaq -0x78(%rbp), %r14
movq %r14, -0x10(%r14)
leaq -0x88(%rbp), %rdi
xorl %edx, %edx
callq 0x3410
leaq -0x88(%rbp), %r13
movq (%r13), %rdi
movl 0x8(%r13), %esi
movq %r12, %rdx
callq 0x77b7
movq -0x30(%rbp), %rdi
movq %r13, %rsi
callq 0x3450
movq (%r13), %rdi
cmpq %r14, %rdi
je 0x99e2
callq 0x3360
leaq -0x58(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x99f4
callq 0x3360
movl $0x18, %edi
callq 0x3390
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq $0x0, 0x10(%rax)
movq %rax, 0x60(%rbx)
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r12
leaq -0x58(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x9a43
callq 0x3360
jmp 0x9a43
movq %rax, %rdi
callq 0x7538
jmp 0x9a40
movq %rax, %r12
movq (%r15), %rdi
cmpq -0x38(%rbp), %rdi
je 0x9a51
callq 0x3360
movq -0x30(%rbp), %rax
movq (%rax), %rdi
cmpq -0x40(%rbp), %rdi
je 0x9a63
callq 0x3360
movq (%rbx), %rdi
cmpq -0x48(%rbp), %rdi
je 0x9a71
callq 0x3360
movq %r12, %rdi
callq 0x35c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/parth-shel[P]xpac/installed_packages_modules.cpp
// Function: calculate_users_packages()
void calculate_users_packages(){
	std::ifstream file;
	file.open(installed_file);
	std::string next_installed;
	while (getline(file,next_installed)) {
		int index = next_installed.find(" ");
		std::string name = next_installed.substr(0,index);
		std::string version = next_installed.substr(index+1, std::string::npos);
		user_installed_list.insert(std::make_pair(name,version));
	}
	file.close();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2a8, %rsp            # imm = 0x2A8
leaq -0x2d0(%rbp), %r12
movq %r12, %rdi
callq 0x33e0
leaq 0x5bae(%rip), %rsi      # 0x105a0
movq %r12, %rdi
movl $0x8, %edx
callq 0x3330
leaq -0x38(%rbp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq -0x48(%rbp), %r14
leaq -0x88(%rbp), %r13
leaq -0xc8(%rbp), %r15
movq -0x2d0(%rbp), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x3370
movsbl %al, %edx
movq %r12, %rdi
movq %r14, %rsi
callq 0x3620
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0xab2e
movl $0x1, %ecx
movq %r14, %rdi
leaq 0x1a8a(%rip), %rsi      # 0xc4f5
xorl %edx, %edx
callq 0x35b0
movq %rax, %rbx
movslq %ebx, %rcx
leaq -0x68(%rbp), %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x33b0
shlq $0x20, %rbx
movabsq $0x100000000, %rax      # imm = 0x100000000
addq %rax, %rbx
sarq $0x20, %rbx
movq %r13, %rdi
movq %r14, %rsi
movq %rbx, %rdx
movq $-0x1, %rcx
callq 0x33b0
movq %r15, %rdi
leaq -0x68(%rbp), %rsi
movq %r13, %rdx
callq 0xa926
leaq 0x5afa(%rip), %rdi      # 0x105c0
movq %r15, %rsi
callq 0x8be2
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0xaae6
callq 0x3360
movq -0xc8(%rbp), %rdi
leaq -0xb8(%rbp), %rax
cmpq %rax, %rdi
je 0xaafe
callq 0x3360
movq -0x88(%rbp), %rdi
leaq -0x78(%rbp), %rax
cmpq %rax, %rdi
je 0xab13
callq 0x3360
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0xaa24
callq 0x3360
jmp 0xaa24
leaq -0x2d0(%rbp), %rdi
callq 0x30c0
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0xab4c
callq 0x3360
leaq -0x2d0(%rbp), %rdi
callq 0x3100
addq $0x2a8, %rsp            # imm = 0x2A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xabb5
movq %rax, %rbx
jmp 0xabca
movq %rax, %rbx
leaq -0xc8(%rbp), %rdi
callq 0x74b4
jmp 0xab85
movq %rax, %rbx
movq -0x88(%rbp), %rdi
leaq -0x78(%rbp), %rax
cmpq %rax, %rdi
je 0xaba1
callq 0x3360
jmp 0xaba1
jmp 0xabb5
movq %rax, %rbx
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0xabb8
callq 0x3360
jmp 0xabb8
movq %rax, %rbx
leaq -0x38(%rbp), %rax
movq -0x48(%rbp), %rdi
cmpq %rax, %rdi
je 0xabca
callq 0x3360
leaq -0x2d0(%rbp), %rdi
callq 0x3100
movq %rbx, %rdi
callq 0x35c0
// File: /workspace/github_cpp_makefile_star2_O1/parth-shel[P]xpac/installed_packages_modules.cpp
// Function: add_to_install_list(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 add_to_install_list(std::string name, std::string version) {
	std::fstream file;
	file.open(installed_file, std::ios::out | std::ios::app);

	// Simply appending to file
	file << name << " " << version <<"\n";

	file.close();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x218, %rsp            # imm = 0x218
movq %rsi, %rbx
movq %rdi, %r14
leaq -0x228(%rbp), %r15
movq %r15, %rdi
callq 0x3430
leaq 0x5996(%rip), %rsi      # 0x105a0
movq %r15, %rdi
movl $0x11, %edx
callq 0x34a0
leaq -0x218(%rbp), %rdi
movq (%r14), %rsi
movq 0x8(%r14), %rdx
callq 0x3400
movq %rax, %r14
leaq 0x18c1(%rip), %rsi      # 0xc4f5
movl $0x1, %edx
movq %rax, %rdi
callq 0x3400
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r14, %rdi
callq 0x3400
leaq 0x1b93(%rip), %rsi      # 0xc7ea
movl $0x1, %edx
movq %rax, %rdi
callq 0x3400
leaq -0x228(%rbp), %rdi
callq 0x3080
leaq -0x228(%rbp), %rdi
callq 0x30d0
addq $0x218, %rsp            # imm = 0x218
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x228(%rbp), %rdi
callq 0x30d0
movq %rbx, %rdi
callq 0x35c0
// File: /workspace/github_cpp_makefile_star2_O1/parth-shel[P]xpac/installed_packages_modules.cpp
// Function: rewrite_installed_packages()
void rewrite_installed_packages(){
	std::fstream file;
	file.open(installed_file, std::ios::out | std::ios::trunc);

	for(auto itr = user_installed_list.begin(); itr!=user_installed_list.end(); itr++) {
		file << itr->first << " " << itr->second << "\n";
	}

	file.close();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x218, %rsp            # imm = 0x218
leaq -0x238(%rbp), %rbx
movq %rbx, %rdi
callq 0x3430
leaq 0x58d5(%rip), %rsi      # 0x105a0
movq %rbx, %rdi
movl $0x30, %edx
callq 0x34a0
movq 0x58f9(%rip), %rbx      # 0x105d8
leaq 0x58e2(%rip), %r14      # 0x105c8
cmpq %r14, %rbx
je 0xad50
leaq 0x1803(%rip), %r15      # 0xc4f5
leaq 0x1af1(%rip), %r12      # 0xc7ea
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
leaq -0x228(%rbp), %rdi
callq 0x3400
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x3400
movq 0x40(%rbx), %rsi
movq 0x48(%rbx), %rdx
movq %r13, %rdi
callq 0x3400
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x3400
movq %rbx, %rdi
callq 0x3290
movq %rax, %rbx
cmpq %r14, %rax
jne 0xacf9
leaq -0x238(%rbp), %rdi
callq 0x3080
leaq -0x238(%rbp), %rdi
callq 0x30d0
addq $0x218, %rsp            # imm = 0x218
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xad7c
movq %rax, %rbx
leaq -0x238(%rbp), %rdi
callq 0x30d0
movq %rbx, %rdi
callq 0x35c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/parth-shel[P]xpac/cleanup_directory.cpp
// Function: cleanup_directory(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void cleanup_directory(std::string dir_name){
	dir_name = get_current_dir_name() + std::string("/") + dir_name;
	int ret = fork();
	if(ret == 0) {
		execl("/bin/rm", "rm", "-rf", dir_name.c_str(), NULL);
		exit(1);
	} else {
		waitpid( ret, NULL, 0);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdi, %rbx
callq 0x3630
movq %rax, %r14
leaq -0x58(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x124a(%rip), %rsi      # 0xc00a
leaq 0x1244(%rip), %rdx      # 0xc00b
leaq -0x68(%rbp), %r15
movq %r15, %rdi
callq 0x7f00
movq %r14, %rdi
callq 0x31b0
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %r14, %rcx
movq %rax, %r8
callq 0x33d0
leaq -0x38(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xae11
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0xae18
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq -0x48(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
callq 0x3140
leaq -0x78(%rbp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xae66
movq %rdx, -0x88(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x78(%rbp)
jmp 0xae6e
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq -0x88(%rbp), %r14
movq %rdx, 0x8(%r14)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3450
movq (%r14), %rdi
cmpq %r13, %rdi
je 0xaea4
callq 0x3360
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0xaeb2
callq 0x3360
movq -0x68(%rbp), %rdi
cmpq %r12, %rdi
je 0xaec0
callq 0x3360
callq 0x3110
testl %eax, %eax
je 0xaee3
movl %eax, %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0x32d0
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq (%rbx), %rcx
leaq 0x19e6(%rip), %rdi      # 0xc8d3
leaq 0x19e4(%rip), %rsi      # 0xc8d8
leaq 0x19e0(%rip), %rdx      # 0xc8db
xorl %r8d, %r8d
xorl %eax, %eax
callq 0x3460
movl $0x1, %edi
callq 0x3440
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0xaf25
callq 0x3360
jmp 0xaf25
movq %rax, %rbx
movq -0x68(%rbp), %rdi
cmpq %r12, %rdi
je 0xaf33
callq 0x3360
movq %rbx, %rdi
callq 0x35c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/parth-shel[P]xpac/MD5checksum.cc
// Function: MD5checksum::generate_hash()
void MD5checksum::generate_hash() {
	int fd;
	unsigned char result[MD5_DIGEST_LENGTH];
	void * file_buffer;
	if((fd = open(file_path.c_str(), O_RDONLY)) < 0) {
		return;
	}

	if((file_size = get_file_size(fd)) == 0) {
		return;
	}
	
	file_buffer = mmap(0, file_size, PROT_READ, MAP_SHARED, fd, 0);
	MD5((unsigned char*) file_buffer, file_size, result);
	munmap(file_buffer, file_size);

	close(fd);

	result_hash.clear();
	for(int i = 0;i < MD5_DIGEST_LENGTH;i++) {
		result_hash.push_back(result[i]);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x98, %rsp
movq %rdi, %rbx
movq (%rdi), %rdi
xorl %esi, %esi
xorl %eax, %eax
callq 0x32b0
testl %eax, %eax
js 0xb07d
movl %eax, %r14d
leaq -0xb0(%rbp), %rsi
movl %eax, %edi
callq 0x3580
testl %eax, %eax
js 0xafe8
movq -0x80(%rbp), %rsi
jmp 0xafea
xorl %esi, %esi
movq %rsi, 0x20(%rbx)
testq %rsi, %rsi
je 0xb07d
xorl %edi, %edi
movl $0x1, %edx
movl $0x1, %ecx
movl %r14d, %r8d
xorl %r9d, %r9d
callq 0x35d0
movq %rax, %r15
movq 0x20(%rbx), %rsi
leaq -0xb0(%rbp), %rdx
movq %rax, %rdi
callq 0x3530
movq 0x20(%rbx), %rsi
movq %r15, %rdi
callq 0x3240
movl %r14d, %edi
callq 0x3670
movq 0x28(%rbx), %rax
cmpq %rax, 0x30(%rbx)
je 0xb046
movq %rax, 0x30(%rbx)
leaq 0x28(%rbx), %r14
xorl %r15d, %r15d
leaq (%r15,%rbp), %rdx
addq $-0xb0, %rdx
movq 0x30(%rbx), %rsi
cmpq 0x38(%rbx), %rsi
je 0xb06c
movb (%rdx), %al
movb %al, (%rsi)
incq 0x30(%rbx)
jmp 0xb074
movq %r14, %rdi
callq 0xb374
incq %r15
cmpq $0x10, %r15
jne 0xb04d
addq $0x98, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/parth-shel[P]xpac/MD5checksum.cc
// Function: MD5checksum::save_hash()
void MD5checksum::save_hash() {
	std::string hash_path(file_path);
	hash_path.append(".md5hash");
	std::ofstream hash_file(hash_path, std::ios::out | std::ios::trunc);
	std::string str(result_hash.begin(), result_hash.end());
	hash_file << str; 
	hash_file.close();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x248, %rsp            # imm = 0x248
movq %rdi, %rbx
leaq -0x48(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%rdi), %rsi
movq 0x8(%rdi), %rdx
addq %rsi, %rdx
leaq -0x58(%rbp), %r14
movq %r14, %rdi
callq 0x8092
leaq 0x17bb(%rip), %rsi      # 0xc8df
movq %r14, %rdi
callq 0x3650
leaq -0x258(%rbp), %rdi
leaq -0x58(%rbp), %rsi
movl $0x30, %edx
callq 0x3660
movq 0x28(%rbx), %rsi
movq 0x30(%rbx), %rdx
leaq -0x28(%rbp), %r14
movq %r14, -0x10(%r14)
leaq -0x38(%rbp), %rdi
callq 0xb466
movq -0x38(%rbp), %rsi
movq -0x30(%rbp), %rdx
leaq -0x258(%rbp), %rdi
callq 0x3400
leaq -0x258(%rbp), %rdi
callq 0x34c0
movq -0x38(%rbp), %rdi
cmpq %r14, %rdi
je 0xb188
callq 0x3360
movq 0x4e31(%rip), %rax      # 0xffc0
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq -0x250(%rbp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, -0x258(%rbp,%rcx)
callq 0x3310
leaq -0x160(%rbp), %rdi
callq 0x3160
movq -0x58(%rbp), %rdi
cmpq %r15, %rdi
je 0xb1cc
callq 0x3360
addq $0x248, %rsp            # imm = 0x248
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0xb1f7
jmp 0xb1e1
movq %rax, %rbx
jmp 0xb203
movq %rax, %rbx
movq -0x38(%rbp), %rdi
cmpq %r14, %rdi
je 0xb1f7
callq 0x3360
leaq -0x258(%rbp), %rdi
callq 0x34f0
movq -0x58(%rbp), %rdi
cmpq %r15, %rdi
je 0xb211
callq 0x3360
movq %rbx, %rdi
callq 0x35c0
nop
// File: /workspace/github_cpp_makefile_star2_O1/parth-shel[P]xpac/MD5checksum.cc
// Function: MD5checksum::compare_saved_hash(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool MD5checksum::compare_saved_hash(std::string other_file_path) {
	std::ifstream file(other_file_path, std::ios::in);
	if(!file.good()) {
		return false;
	}

	if(file.is_open()) {
		std::string buf((std::istreambuf_iterator<char>(file)), std::istreambuf_iterator<char>());
		std::string str(result_hash.begin(), result_hash.end());
		return (str == buf);
	}
	return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x248, %rsp            # imm = 0x248
movq %rdi, %rbx
leaq -0x260(%rbp), %r14
movq %r14, %rdi
movl $0x8, %edx
callq 0x3550
movq (%r14), %r14
movq -0x18(%r14), %rax
cmpl $0x0, -0x240(%rbp,%rax)
jne 0xb2c8
leaq -0x1e8(%rbp), %rdi
callq 0x30e0
testb %al, %al
je 0xb2c8
movq -0x18(%r14), %rax
movq -0x178(%rbp,%rax), %rsi
leaq -0x28(%rbp), %r14
movq %r14, -0x10(%r14)
leaq -0x38(%rbp), %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
xorl %ecx, %ecx
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
callq 0xb4de
movq 0x28(%rbx), %rsi
movq 0x30(%rbx), %rdx
leaq -0x48(%rbp), %r15
movq %r15, -0x10(%r15)
leaq -0x58(%rbp), %rdi
callq 0xb466
movq -0x50(%rbp), %rdx
cmpq -0x30(%rbp), %rdx
jne 0xb2e6
testq %rdx, %rdx
je 0xb2ea
movq -0x38(%rbp), %rsi
movq -0x58(%rbp), %rdi
callq 0x33a0
testl %eax, %eax
sete %bl
jmp 0xb2ec
xorl %ebx, %ebx
leaq -0x260(%rbp), %rdi
callq 0x3100
movl %ebx, %eax
addq $0x248, %rsp            # imm = 0x248
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
xorl %ebx, %ebx
jmp 0xb2ec
movb $0x1, %bl
movq -0x58(%rbp), %rdi
cmpq %r15, %rdi
je 0xb2fa
callq 0x3360
movq -0x38(%rbp), %rdi
cmpq %r14, %rdi
je 0xb2ca
callq 0x3360
jmp 0xb2ca
movq %rax, %rbx
movq -0x38(%rbp), %rdi
cmpq %r14, %rdi
je 0xb320
callq 0x3360
jmp 0xb320
movq %rax, %rbx
leaq -0x260(%rbp), %rdi
callq 0x3100
movq %rbx, %rdi
callq 0x35c0
// File: /workspace/github_cpp_makefile_star2_O1/nmmmnu[P]HM3/net/worker/echoworker_impl.h
// Function: net::WorkerStatus net::worker::EchoWorker::operator()<net::ClientBuffer>(net::ClientBuffer&)
WorkerStatus EchoWorker::operator()(CONNECTION &buffer){
	if (buffer.size() == 0)
		return WorkerStatus::PASS;

	// buffer.print();

	if (cmp_(cmd_shutdown, buffer)){
		return WorkerStatus::SHUTDOWN;
	}

	if (cmp_(cmd_exit, buffer)){
		return WorkerStatus::DISCONNECT;
	}


	if (cmp_(cmd_hello, buffer)){
		buffer.clear();
		buffer.push("Hello, how are you?\r\n");
		return WorkerStatus::WRITE;
	}

	if (cmp_(cmd_help, buffer)){
		buffer.clear();
		buffer.push(msg_help);
		return WorkerStatus::WRITE;
	}

	return WorkerStatus::WRITE;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %rsi
movq 0x10(%rbx), %rdx
xorl %ebp, %ebp
subq %rsi, %rdx
je 0x3199
addq 0x8(%rbx), %rsi
leaq 0x3cdd(%rip), %rdi      # 0x6da8
callq 0x31e2
testl %eax, %eax
je 0x3167
movq (%rbx), %rax
movq 0x10(%rbx), %rdx
movq 0x8(%rbx), %rsi
addq %rax, %rsi
subq %rax, %rdx
leaq 0x3ca8(%rip), %rdi      # 0x6d98
callq 0x31e2
testl %eax, %eax
je 0x316e
movq (%rbx), %rax
movq 0x10(%rbx), %rdx
movq 0x8(%rbx), %rsi
addq %rax, %rsi
subq %rax, %rdx
leaq 0x3c67(%rip), %rdi      # 0x6d78
callq 0x31e2
testl %eax, %eax
je 0x3175
movq (%rbx), %rax
movq 0x10(%rbx), %rdx
movq 0x8(%rbx), %rsi
addq %rax, %rsi
subq %rax, %rdx
leaq 0x3c56(%rip), %rdi      # 0x6d88
callq 0x31e2
movl $0x2, %ebp
testl %eax, %eax
jne 0x3199
leaq 0x8(%rbx), %rdi
xorl %eax, %eax
movq %rax, 0x10(%rbx)
movq 0x8(%rbx), %rcx
movb $0x0, (%rcx)
movq %rax, (%rbx)
leaq 0xfa1(%rip), %rsi       # 0x40fc
movl $0x7b, %edx
callq 0x2060
jmp 0x3199
movl $0x5, %ebp
jmp 0x3199
movl $0x3, %ebp
jmp 0x3199
xorl %eax, %eax
movq %rax, 0x10(%rbx)
movq 0x8(%rbx), %rcx
movb $0x0, (%rcx)
movq %rax, (%rbx)
leaq 0xf5a(%rip), %rsi       # 0x40e6
movq %rbx, %rdi
callq 0x31a2
movl $0x2, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/lagoproject[P]arti/analysis/showers.cc
// Function: curved(double, double)
void curved(double xp, double yp) {
  double d = r_earth + h;
  double t = sqrt(xp*xp + yp*yp)/d;
  double f = atan2(yp,xp);
  z = (d*cos(t) - r_earth)*cm2m;
  d *= sin(t);
  x = d*cos(f)*cm2m;
  y = d*sin(f)*cm2m;
}

// Assembly:
subq $0x18, %rsp
movapd %xmm1, %xmm3
movapd %xmm0, %xmm2
movsd 0x57d2(%rip), %xmm0     # 0x8148
addsd 0x59ca(%rip), %xmm0     # 0x8348
movsd %xmm0, (%rsp)
mulsd %xmm1, %xmm1
movapd %xmm2, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x29a3
sqrtsd %xmm0, %xmm0
jmp 0x29c0
movsd %xmm2, 0x10(%rsp)
movsd %xmm3, 0x8(%rsp)
callq 0x20c0
movsd 0x8(%rsp), %xmm3
movsd 0x10(%rsp), %xmm2
divsd (%rsp), %xmm0
movsd %xmm0, 0x8(%rsp)
movapd %xmm3, %xmm0
movapd %xmm2, %xmm1
callq 0x2040
movsd %xmm0, 0x10(%rsp)
movsd 0x8(%rsp), %xmm0
callq 0x2230
mulsd (%rsp), %xmm0
subsd 0x5752(%rip), %xmm0     # 0x8148
mulsd 0x576a(%rip), %xmm0     # 0x8168
movsd %xmm0, 0x593a(%rip)     # 0x8340
movsd 0x8(%rsp), %xmm0
callq 0x2050
mulsd (%rsp), %xmm0
movsd %xmm0, (%rsp)
movsd 0x10(%rsp), %xmm0
callq 0x2230
mulsd (%rsp), %xmm0
mulsd 0x5735(%rip), %xmm0     # 0x8168
movsd %xmm0, 0x58f5(%rip)     # 0x8330
movsd 0x10(%rsp), %xmm0
callq 0x2050
mulsd (%rsp), %xmm0
mulsd 0x5715(%rip), %xmm0     # 0x8168
movsd %xmm0, 0x58dd(%rip)     # 0x8338
addq $0x18, %rsp
retq
// File: /workspace/github_cpp_makefile_star2_O1/t0mm4rx[P]piscine_cpp/day01/ex02/main.cpp
// Function: fight(Zombie**, Zombie**)
void	fight(Zombie *tall[10], Zombie *small[10])
{
	int	actions;
	int zombieIndex;

	actions = 5 + rand() % 5;
	for (int i = 0; i < actions; i++)
	{
		zombieIndex = rand() % 10;
		if (rand() % 2 == 1)
			tall[zombieIndex]->announce();
		else
			small[zombieIndex]->announce();
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0x1040
cltq
imulq $0x66666667, %rax, %rcx # imm = 0x66666667
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x21, %rcx
addl %edx, %ecx
leal (%rcx,%rcx,4), %ecx
negl %ecx
leal (%rax,%rcx), %ebp
addl $0x5, %ebp
callq 0x1040
movslq %eax, %r15
imulq $0x66666667, %r15, %rax # imm = 0x66666667
movq %rax, %rcx
shrq $0x3f, %rcx
sarq $0x22, %rax
addl %ecx, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
subl %eax, %r15d
callq 0x1040
andl $0x80000001, %eax       # imm = 0x80000001
cmpl $0x1, %eax
movslq %r15d, %rax
movq %rbx, %rcx
cmoveq %r14, %rcx
movq (%rcx,%rax,8), %rdi
callq 0x132c
decl %ebp
jne 0x1a03
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/grisu48[P]geoJson/geoJson.cpp
// Function: Coords::Coords(Coords const&)
Coords(const Coords &src) {
        this->lon = src.lon;
        this->lat = src.lat;
        this->ele = src.ele;
        this->time = src.time;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
xorl %eax, %eax
movq %rax, (%rdi)
movl $0x0, 0x8(%rdi)
leaq 0x10(%rdi), %rbx
leaq 0x20(%rdi), %r15
movq %r15, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movb $0x0, 0x20(%rdi)
vmovsd (%rsi), %xmm0
vmovsd %xmm0, (%rdi)
vmovss 0x8(%rsi), %xmm0
vmovss %xmm0, 0x8(%rdi)
addq $0x10, %rsi
movq %rbx, %rdi
callq 0x2130
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x584b
callq 0x21c0
movq %r14, %rdi
callq 0x2310
nop
// File: /workspace/github_cpp_makefile_star2_O1/SeanLee97[P]LL1-Parser/driver.cpp
// Function: main
int main(int argc, char* argv[]) {
	Grammar g;
	g.init(argv[1]);
	g.parse();
	//g.print_table();
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x300, %rsp            # imm = 0x300
movq %rsi, %rbx
leaq -0x308(%rbp), %r14
movq %r14, %rdi
callq 0x2dac
movq 0x8(%rbx), %rsi
movq %r14, %rdi
callq 0x4be2
leaq -0x308(%rbp), %rdi
callq 0x5402
leaq -0x308(%rbp), %rdi
callq 0x25b6
xorl %eax, %eax
addq $0x300, %rsp            # imm = 0x300
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
leaq -0x308(%rbp), %rdi
callq 0x25b6
movq %rbx, %rdi
callq 0x22e0
nop
// File: /workspace/github_cpp_makefile_star2_O1/SeanLee97[P]LL1-Parser/scan.cpp
// Function: make_token(tok_num)
static inline token make_token(tok_num t) {
    token rtn;
    rtn.num = t;
    assert(image_index < TOKEN_MAX);
    token_image[image_index] = 0;
    rtn.name = token_names[t];
    rtn.image = string(token_image);
    rtn.line = tok_line;
    rtn.column = tok_col;
    return rtn;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
leaq 0x20(%rdi), %r12
movq %r12, 0x10(%rdi)
movq $0x0, 0x18(%rdi)
movb $0x0, 0x20(%rdi)
movl %esi, (%rdi)
movslq 0x871f(%rip), %rax      # 0xb2e4
cmpq $0x64, %rax
jge 0x2c5a
movq %rdi, %rbx
leaq 0x10(%rdi), %r14
leaq 0x8723(%rip), %r15      # 0xb300
movb $0x0, (%rax,%r15)
movl %esi, %eax
leaq 0x85c5(%rip), %rcx      # 0xb1b0
movq (%rcx,%rax,8), %rax
movq %rax, 0x8(%rdi)
leaq -0x38(%rbp), %r13
movq %r13, -0x10(%r13)
movq %r15, %rdi
callq 0x20d0
leaq (%rax,%r15), %rdx
leaq -0x48(%rbp), %rdi
movq %r15, %rsi
callq 0x2d10
leaq -0x48(%rbp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x2240
movq (%r15), %rdi
cmpq %r13, %rdi
je 0x2c36
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x21d0
movl 0x86b0(%rip), %eax      # 0xb2ec
movl %eax, 0x30(%rbx)
movl 0x86ab(%rip), %eax      # 0xb2f0
movl %eax, 0x34(%rbx)
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x5507(%rip), %rdi      # 0x8168
leaq 0x5518(%rip), %rsi      # 0x8180
leaq 0x551a(%rip), %rcx      # 0x8189
movl $0x55, %edx
callq 0x2130
movq %rax, %rbx
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x2c90
movq (%r12), %rsi
incq %rsi
callq 0x21d0
movq %rbx, %rdi
callq 0x22e0
// File: /workspace/github_cpp_makefile_star2_O1/SeanLee97[P]LL1-Parser/scan.cpp
// Function: nextchar()
static inline void nextchar() {
    assert(image_index < TOKEN_MAX);
    token_image[image_index++] = cur_char;
    cur_char = cin.get();
    cur_col++;
    if (cur_char == '\n') {
        cur_line++;
        cur_col = 0;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movslq 0x8641(%rip), %rax      # 0xb2e4
cmpq $0x64, %rax
jge 0x2cf1
movb 0x8609(%rip), %cl       # 0xb2b8
leal 0x1(%rax), %edx
movl %edx, 0x862c(%rip)      # 0xb2e4
leaq 0x8641(%rip), %rdx      # 0xb300
movb %cl, (%rax,%rdx)
movq 0x8317(%rip), %rdi      # 0xafe0
callq 0x2220
movl %eax, 0x85e4(%rip)      # 0xb2b8
incl 0x860e(%rip)            # 0xb2e8
cmpl $0xa, %eax
jne 0x2cef
incl 0x85d7(%rip)            # 0xb2bc
movl $0x0, 0x85f9(%rip)      # 0xb2e8
popq %rbp
retq
leaq 0x5470(%rip), %rdi      # 0x8168
leaq 0x5481(%rip), %rsi      # 0x8180
leaq 0x54c7(%rip), %rcx      # 0x81cd
movl $0x48, %edx
callq 0x2130
// File: /workspace/github_cpp_makefile_star2_O1/SeanLee97[P]LL1-Parser/grammar.cpp
// Function: Grammar::_get_idx_by_symbol(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
int Grammar::_get_idx_by_symbol(string symbol_to_find) {

	for(int i = 0; i < terminal_names.size(); i++) {
		if(terminal_names[i].compare(symbol_to_find) == 0)
			return i * -1;
	}

	for(int i = 0; i < nonterminal_names.size(); i++) {
		if(nonterminal_names[i].compare(symbol_to_find) == 0)
			return i;
	}

	return 999;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x238(%rdi), %rdi
cmpq %rdi, 0x240(%r14)
setne %r12b
je 0x3366
movq %rbx, %rsi
callq 0x2040
testl %eax, %eax
je 0x3368
movl $0x20, %r13d
xorl %r15d, %r15d
incq %r15
movq 0x238(%r14), %rdi
movq 0x240(%r14), %rax
subq %rdi, %rax
sarq $0x5, %rax
cmpq %r15, %rax
seta %r12b
jbe 0x3366
addq %r13, %rdi
movq %rbx, %rsi
callq 0x2040
addq $0x20, %r13
testl %eax, %eax
jne 0x332d
negl %r15d
jmp 0x336b
jmp 0x336b
xorl %r15d, %r15d
testb %r12b, %r12b
jne 0x33c1
movq 0x250(%r14), %rdi
movl $0x3e7, %r15d           # imm = 0x3E7
cmpq %rdi, 0x258(%r14)
je 0x33c1
xorl %r12d, %r12d
xorl %r13d, %r13d
addq %r12, %rdi
movq %rbx, %rsi
callq 0x2040
testl %eax, %eax
je 0x33be
incq %r13
movq 0x250(%r14), %rdi
movq 0x258(%r14), %rax
subq %rdi, %rax
sarq $0x5, %rax
addq $0x20, %r12
cmpq %r13, %rax
ja 0x338c
jmp 0x33c1
movl %r13d, %r15d
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/SeanLee97[P]LL1-Parser/grammar.cpp
// Function: Grammar::_push_unique_elements(std::vector<int, std::allocator<int>>, std::vector<int, std::allocator<int>>)
vector<int> Grammar::_push_unique_elements(vector<int> target, vector<int> source) {
	for(int i = 0; i < source.size(); i++) {
		if(!_in_array(target, abs(source[i]))) {
			target.push_back(source[i]);
		}
	}
	return target;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %rbx
movq %rdi, -0x30(%rbp)
movq 0x8(%rcx), %rax
cmpq (%rcx), %rax
je 0x3ee6
movq %rcx, %r15
xorl %r13d, %r13d
leaq -0x48(%rbp), %r12
movq %r12, %rdi
movq %rbx, %rsi
callq 0x5fba
movq (%r15), %rax
movl (%rax,%r13,4), %ecx
movl %ecx, %eax
negl %eax
cmovsl %ecx, %eax
movq -0x48(%rbp), %rdi
movq -0x40(%rbp), %rcx
subq %rdi, %rcx
je 0x3e8b
sarq $0x2, %rcx
cmpq $0x1, %rcx
movq %rcx, %rdx
adcq $0x0, %rdx
movb $0x1, %r14b
cmpl %eax, (%rdi)
je 0x3e8e
movl $0x1, %r8d
movq %r8, %rsi
cmpq %r8, %rdx
je 0x3e82
leaq 0x1(%rsi), %r8
cmpl %eax, (%rdi,%rsi,4)
jne 0x3e71
cmpq %rsi, %rcx
seta %r14b
jmp 0x3e8e
xorl %r14d, %r14d
testq %rdi, %rdi
je 0x3e9f
movq -0x38(%rbp), %rsi
subq %rdi, %rsi
callq 0x21d0
testb %r14b, %r14b
jne 0x3ecf
leaq (,%r13,4), %rdx
addq (%r15), %rdx
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x3ec7
movl (%rdx), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x3ecf
movq %rbx, %rdi
callq 0x677c
incq %r13
movq 0x8(%r15), %rax
subq (%r15), %rax
sarq $0x2, %rax
cmpq %r13, %rax
ja 0x3e2f
movq (%rbx), %rcx
movq -0x30(%rbp), %rax
movq %rcx, (%rax)
movq 0x8(%rbx), %rcx
movq %rcx, 0x8(%rax)
movq 0x10(%rbx), %rcx
movq %rcx, 0x10(%rax)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop