LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/lianxings[P]ftp_benchmark/ftplib.cc
// Function: ftplib::FtpSendCmd(char const*, char, ftphandle*)
int ftplib::FtpSendCmd(const char *cmd, char expresp, ftphandle *nControl)
{
	char buf[4096];
	int x;

	if (!nControl->handle)  {
        assert(0);
        return 0;
    }

	if (nControl->dir != FTPLIB_CONTROL) {
        assert(0);
        return 0;
    }

    if(gFtpDebug)
        printf("Thread:%-8ld  sock:%-4d  %s\n", syscall(SYS_gettid), nControl->handle, cmd);

    sprintf(buf,"%s\r\n",cmd);

#ifndef NOSSL
	if (nControl->tlsctrl) 
        x = SSL_write(nControl->ssl,buf,strlen(buf));
	else 
        x = net_write(nControl->handle,buf,strlen(buf));
#else
	x = net_write(nControl->handle,buf,strlen(buf));
#endif
	if (x <= 0) {
		perror("write");
		return 0;
	}

	if (mp_ftphandle->logcb != NULL) 
        mp_ftphandle->logcb(buf, mp_ftphandle->cbarg, false);
	
	int ret = readresp(expresp, nControl);

    if(gFtpDebug)
        printf("Thread:%-8ld  sock:%-4d  %s\n", syscall(SYS_gettid), nControl->handle, nControl->response);
    
    return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1008, %rsp           # imm = 0x1008
cmpl $0x0, 0x10(%rcx)
je 0xecb9
movq %rcx, %rbx
cmpl $0x0, 0x28(%rcx)
jne 0xecd8
movl %edx, %ebp
movq %rsi, %r12
movq %rdi, %r14
leaq 0x9901(%rip), %rax      # 0x184d8
cmpb $0x1, (%rax)
jne 0xebff
movl $0xba, %edi
xorl %eax, %eax
callq 0x4070
movl 0x10(%rbx), %edx
leaq 0x4bb4(%rip), %rdi      # 0x137a6
movq %rax, %rsi
movq %r12, %rcx
xorl %eax, %eax
callq 0x4060
leaq 0x4bbd(%rip), %rsi      # 0x137c3
xorl %r15d, %r15d
movq %rsp, %r13
movq %r13, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq 0x40a0
movl 0x10(%rbx), %r12d
movq %r13, %rdi
callq 0x4180
movl %r12d, %edi
movq %r13, %rsi
movq %rax, %rdx
callq 0x4140
testl %eax, %eax
jle 0xecab
movq (%r14), %rcx
movq 0x60(%rcx), %rax
testq %rax, %rax
je 0xec4e
movq 0x68(%rcx), %rsi
movq %rsp, %rdi
xorl %edx, %edx
callq *%rax
movsbl %bpl, %esi
movq %r14, %rdi
movq %rbx, %rdx
callq 0xe74c
movl %eax, %r15d
leaq 0x9871(%rip), %rax      # 0x184d8
cmpb $0x1, (%rax)
jne 0xec96
movl $0xba, %edi
xorl %eax, %eax
callq 0x4070
movl 0x10(%rbx), %edx
addq $0x88, %rbx
leaq 0x4b1d(%rip), %rdi      # 0x137a6
movq %rax, %rsi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x4060
movl %r15d, %eax
addq $0x1008, %rsp           # imm = 0x1008
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4cdf(%rip), %rdi      # 0x13991
callq 0x4310
jmp 0xec96
leaq 0x4aa2(%rip), %rdi      # 0x13762
leaq 0x4a9d(%rip), %rsi      # 0x13764
leaq 0x4aa0(%rip), %rcx      # 0x1376e
movl $0x209, %edx            # imm = 0x209
callq 0x4230
leaq 0x4a83(%rip), %rdi      # 0x13762
leaq 0x4a7e(%rip), %rsi      # 0x13764
leaq 0x4a81(%rip), %rcx      # 0x1376e
movl $0x20e, %edx            # imm = 0x20E
callq 0x4230
nop
// File: /workspace/github_cpp_makefile_star2_O1/lianxings[P]ftp_benchmark/ftplib.cc
// Function: ftplib::Login(char const*, char const*)
int ftplib::Login(const char *user, const char *pass)
{
	char tempbuf[64];

	if (((strlen(user) + 7) > sizeof(tempbuf)) || ((strlen(pass) + 7) > sizeof(tempbuf))) 
        return 0;
    
	sprintf(tempbuf, "USER %s", user);

    if (!FtpSendCmd(tempbuf,'3',mp_ftphandle)) 	{
		if (mp_ftphandle->ctrl != NULL) 
            return 1;
		if (*LastResponse() == '2') 
            return 1;
		return 0;
	}
	sprintf(tempbuf,"PASS %s",pass);
	return FtpSendCmd(tempbuf,'2',mp_ftphandle);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x4180
addq $-0x3a, %rax
xorl %ebp, %ebp
cmpq $-0x41, %rax
jb 0xedaf
movq %r14, %rdi
callq 0x4180
addq $-0x3a, %rax
cmpq $-0x41, %rax
jb 0xedaf
leaq 0x4a8a(%rip), %rsi      # 0x137c8
movq %rsp, %r12
movq %r12, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x40a0
movq (%rbx), %rcx
movq %rbx, %rdi
movq %r12, %rsi
movl $0x33, %edx
callq 0xeba0
testl %eax, %eax
je 0xed93
leaq 0x4a64(%rip), %rsi      # 0x137d0
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x40a0
movq (%rbx), %rcx
movq %rbx, %rdi
movq %r15, %rsi
movl $0x32, %edx
callq 0xeba0
movl %eax, %ebp
jmp 0xedaf
movq (%rbx), %rax
movl $0x1, %ebp
cmpq $0x0, 0x30(%rax)
jne 0xedaf
xorl %ebp, %ebp
cmpb $0x32, 0x88(%rax)
sete %bpl
movl %ebp, %eax
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/lianxings[P]ftp_benchmark/ftplib.cc
// Function: ftplib::FtpClose(ftphandle*)
int ftplib::FtpClose(ftphandle *nData)
{
	ftphandle *ctrl;

	if (nData->dir == FTPLIB_WRITE)
	{
		if (nData->buf != NULL) 
            writeline(NULL, 0, nData);
	}
	else if (nData->dir != FTPLIB_READ) 
        return 0;
	if (nData->buf) 
        free(nData->buf);
	shutdown(nData->handle,2);
	net_close(nData->handle);

	ctrl = nData->ctrl;
#ifndef NOSSL
	SSL_free(nData->ssl);
#endif
	free(nData);
	if (ctrl) 
        return readresp('2', ctrl);

    return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movl 0x28(%rsi), %ecx
cmpl $0x1, %ecx
je 0xfa2f
xorl %eax, %eax
cmpl $0x2, %ecx
jne 0xfa7f
cmpq $0x0, 0x20(%r14)
je 0xfa2f
xorl %esi, %esi
xorl %edx, %edx
movq %r14, %rcx
callq 0xe5e4
movq 0x20(%r14), %rdi
testq %rdi, %rdi
je 0xfa3d
callq 0x44a0
movl 0x10(%r14), %edi
movl $0x2, %esi
callq 0x4510
movl 0x10(%r14), %edi
callq 0x4770
movq 0x30(%r14), %r15
movq %r14, %rdi
callq 0x44a0
testq %r15, %r15
je 0xfa7a
movq %rbx, %rdi
movl $0x32, %esi
movq %r15, %rdx
popq %rbx
popq %r14
popq %r15
jmp 0xe74c
movl $0x1, %eax
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/lianxings[P]ftp_benchmark/ftplib.cc
// Function: ftplib::CorrectPasvResponse(unsigned char*)
int ftplib::CorrectPasvResponse(unsigned char *v)
{
	struct sockaddr ipholder;
	socklen_t ipholder_size = sizeof(ipholder);

	if (getpeername(mp_ftphandle->handle, &ipholder, &ipholder_size) == -1)
	{
		perror("getpeername");
		net_close(mp_ftphandle->handle);
		return 0;
	}
	
	for (int i = 2; i < 6; i++) v[i] = ipholder.sa_data[i];
	
	return 1;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x4(%rsp), %rdx
movl $0x10, (%rdx)
movq (%rdi), %rax
movl 0x10(%rax), %edi
leaq 0x8(%rsp), %rsi
callq 0x4280
cmpl $-0x1, %eax
je 0xfac7
movl 0xc(%rsp), %eax
movl %eax, 0x2(%rbx)
movl $0x1, %eax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq %r14, %rdi
callq 0x4cb8
xorl %eax, %eax
jmp 0xfabf
nop
// File: /workspace/github_cpp_makefile_star2_O1/lianxings[P]ftp_benchmark/ftplib.cc
// Function: ftplib::FtpRead(void*, int, ftphandle*)
int ftplib::FtpRead(void *buf, int max, ftphandle *nData)
{
	int i;

	if (nData->dir != FTPLIB_READ)
	    return 0;
	if (nData->buf) 
        i = readline(static_cast<char*>(buf), max, nData);
	else
	{
		i = socket_wait(nData);
		if (i != 1) 
            return 0;
#ifndef NOSSL
		if (nData->tlsdata) 
            i = SSL_read(nData->ssl, buf, max);
		else 
            i = net_read(nData->handle,buf,max);
#else
		i = net_read(nData->handle,buf,max);
#endif
	}
	if (i == -1) 
        return 0;
	nData->xfered += i;
	if (nData->xfercb && nData->cbbytes)
	{
		nData->xfered1 += i;
		if (nData->xfered1 > nData->cbbytes)
		{
			if (nData->xfercb(nData->xfered, nData->cbarg) == 0) 
                return 0;
			nData->xfered1 = 0;
		}
	}
	return i;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
xorl %ebx, %ebx
cmpl $0x1, 0x28(%rcx)
jne 0xfb77
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %r15
cmpq $0x0, 0x20(%rcx)
je 0xfb08
movq %r15, %rsi
movl %ebp, %edx
movq %r14, %rcx
callq 0xe444
movl %eax, %r15d
jmp 0xfb26
movq %r14, %rsi
callq 0xe346
testl %eax, %eax
je 0xfb77
movl 0x10(%r14), %edi
movslq %ebp, %rdx
movq %r15, %rsi
callq 0x4550
movq %rax, %r15
cmpl $-0x1, %r15d
je 0xfb77
movslq %r15d, %rcx
movq 0x70(%r14), %rdi
addq %rcx, %rdi
movq %rdi, 0x70(%r14)
movq 0x50(%r14), %rax
testq %rax, %rax
je 0xfb74
movq 0x78(%r14), %rdx
testq %rdx, %rdx
je 0xfb74
addq 0x80(%r14), %rcx
movq %rcx, 0x80(%r14)
cmpq %rdx, %rcx
jle 0xfb74
movq 0x68(%r14), %rsi
callq *%rax
testl %eax, %eax
je 0xfb77
movq $0x0, 0x80(%r14)
movl %r15d, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/lianxings[P]ftp_benchmark/ftplib.cc
// Function: ftplib::FtpWrite(void*, int, ftphandle*)
int ftplib::FtpWrite(void *buf, int len, ftphandle *nData)
{
	int i;

	if (nData->dir != FTPLIB_WRITE) 
        return 0;
	if (nData->buf) 
        i = writeline(static_cast<char*>(buf), len, nData);
	else
	{
		socket_wait(nData);
#ifndef NOSSL
		if (nData->tlsdata) 
            i = SSL_write(nData->ssl, buf, len);
		else 
            i = net_write(nData->handle, buf, len);
#else
		i = net_write(nData->handle, buf, len);
#endif
	}
	if (i == -1) 
        return 0;
	nData->xfered += i;

	if (nData->xfercb && nData->cbbytes) {
		nData->xfered1 += i;
		if (nData->xfered1 > nData->cbbytes) {
			if (nData->xfercb(nData->xfered, nData->cbarg) == 0) 
                return 0;
			nData->xfered1 = 0;
		}
	}
	return i;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
xorl %ebx, %ebx
cmpl $0x2, 0x28(%rcx)
jne 0xfc23
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %r15
cmpq $0x0, 0x20(%rcx)
je 0xfbb8
movq %r15, %rsi
movl %ebp, %edx
movq %r14, %rcx
callq 0xe5e4
movl %eax, %r15d
jmp 0xfbd2
movq %r14, %rsi
callq 0xe346
movl 0x10(%r14), %edi
movslq %ebp, %rdx
movq %r15, %rsi
callq 0x4140
movq %rax, %r15
cmpl $-0x1, %r15d
je 0xfc23
movslq %r15d, %rcx
movq 0x70(%r14), %rdi
addq %rcx, %rdi
movq %rdi, 0x70(%r14)
movq 0x50(%r14), %rax
testq %rax, %rax
je 0xfc20
movq 0x78(%r14), %rdx
testq %rdx, %rdx
je 0xfc20
addq 0x80(%r14), %rcx
movq %rcx, 0x80(%r14)
cmpq %rdx, %rcx
jle 0xfc20
movq 0x68(%r14), %rsi
callq *%rax
testl %eax, %eax
je 0xfc23
movq $0x0, 0x80(%r14)
movl %r15d, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/lianxings[P]ftp_benchmark/ftplib.cc
// Function: ftplib::SysType(char*, int)
int ftplib::SysType(char *buf, int max)
{
	int l = max;
	char *b = buf;
	char *s;
	if (!FtpSendCmd("SYST",'2',mp_ftphandle)) 
        return 0;
	s = &mp_ftphandle->response[4];
	while ((--l) && (*s != ' ')) 
        *b++ = *s++;
	*b++ = '\0';
	return 1;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rcx
leaq 0x3c57(%rip), %rsi      # 0x1393f
movl $0x32, %edx
callq 0xeba0
testl %eax, %eax
je 0xfd27
decl %ebp
je 0xfd1d
movq (%r14), %rcx
movl %ebp, %edx
xorl %eax, %eax
movb 0x8c(%rcx,%rax), %sil
cmpb $0x20, %sil
je 0xfd1a
movb %sil, (%rbx,%rax)
incq %rax
cmpl %eax, %edx
jne 0xfd01
addq %rax, %rbx
movb $0x0, (%rbx)
movl $0x1, %eax
jmp 0xfd29
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/lianxings[P]ftp_benchmark/ftplib.cc
// Function: ftplib::Pwd(char*, int)
int ftplib::Pwd(char *path, int max)
{
	int l = max;
	char *b = path;
	char *s;

 	if (!FtpSendCmd("PWD",'2',mp_ftphandle)) 
        return 0;
	s = strchr(mp_ftphandle->response, '"');
	if (s == NULL) 
        return 0;
   s++;
	while ((--l) && (*s) && (*s != '"'))
        *b++ = *s++;
	*b = '\0';
	return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r15
movq (%rdi), %rcx
leaq 0x3ad1(%rip), %rsi      # 0x1395e
movl $0x32, %edx
callq 0xeba0
xorl %r14d, %r14d
testl %eax, %eax
je 0xfee2
movl $0x88, %edi
addq (%r15), %rdi
movl $0x22, %esi
callq 0x4160
testq %rax, %rax
je 0xfee2
decl %ebp
je 0xfed9
movl %ebp, %edx
xorl %ecx, %ecx
movzbl 0x1(%rax,%rcx), %esi
testl %esi, %esi
je 0xfed6
cmpl $0x22, %esi
je 0xfed6
movb %sil, (%rbx,%rcx)
incq %rcx
cmpl %ecx, %edx
jne 0xfebd
addq %rcx, %rbx
movb $0x0, (%rbx)
movl $0x1, %r14d
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/lianxings[P]ftp_benchmark/ftplib.cc
// Function: ftplib::Size(char const*, int*, ftplib::transfermode)
int ftplib::Size(const char *path, int *size, transfermode mode)
{
   char cmd[256];
   int resp,sz,rv=1;

   if ((strlen(path) + 7) > sizeof(cmd)) 
        return 0;

	sprintf(cmd, "TYPE %c", mode);
   if (!FtpSendCmd(cmd, '2', mp_ftphandle)) 
        return 0;

	sprintf(cmd,"SIZE %s",path);
   if (!FtpSendCmd(cmd,'2',mp_ftphandle)) 
    rv = 0;
   else  {
		if (sscanf(mp_ftphandle->response, "%d %d", &resp, &sz) == 2) 
            *size = sz;
		else 
            rv = 0;
   }
   return rv;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movl %ecx, %r12d
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movq %rsi, %rdi
callq 0x4180
addq $-0xfa, %rax
xorl %ebp, %ebp
cmpq $-0x101, %rax           # imm = 0xFEFF
jb 0x102bd
leaq 0x35f4(%rip), %rsi      # 0x13822
xorl %ebp, %ebp
leaq 0x10(%rsp), %r13
movq %r13, %rdi
movl %r12d, %edx
xorl %eax, %eax
callq 0x40a0
movq (%r14), %rcx
movq %r14, %rdi
movq %r13, %rsi
movl $0x32, %edx
callq 0xeba0
testl %eax, %eax
je 0x102bd
leaq 0x3764(%rip), %rsi      # 0x139c4
xorl %ebp, %ebp
leaq 0x10(%rsp), %r12
movq %r12, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x40a0
movq (%r14), %rcx
movq %r14, %rdi
movq %r12, %rsi
movl $0x32, %edx
callq 0xeba0
testl %eax, %eax
je 0x102bd
movl $0x88, %edi
addq (%r14), %rdi
leaq 0x3732(%rip), %rsi      # 0x139cc
xorl %ebp, %ebp
leaq 0xc(%rsp), %rdx
leaq 0x8(%rsp), %rcx
xorl %eax, %eax
callq 0x43c0
cmpl $0x2, %eax
jne 0x102bd
movl 0x8(%rsp), %eax
movl %eax, (%rbx)
movl $0x1, %ebp
movl %ebp, %eax
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/lianxings[P]ftp_benchmark/ftplib.cc
// Function: ftplib::ModDate(char const*, char*, int)
int ftplib::ModDate(const char *path, char *dt, int max)
{
	char buf[256];
	int rv = 1;

	if ((strlen(path) + 7) > sizeof(buf)) 
        return 0;
	sprintf(buf,"MDTM %s",path);
    if (!FtpSendCmd(buf,'2',mp_ftphandle)) 
        rv = 0;
	else 
        strncpy(dt, &mp_ftphandle->response[4], max);
	return rv;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movl %ecx, %ebp
movq %rdx, %rbx
movq %rsi, %r12
movq %rdi, %r14
movq %rsi, %rdi
callq 0x4180
addq $-0xfa, %rax
xorl %r15d, %r15d
cmpq $-0x101, %rax           # imm = 0xFEFF
jb 0x10351
leaq 0x36c4(%rip), %rsi      # 0x139d2
xorl %r15d, %r15d
movq %rsp, %r13
movq %r13, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq 0x40a0
movq (%r14), %rcx
movq %r14, %rdi
movq %r13, %rsi
movl $0x32, %edx
callq 0xeba0
testl %eax, %eax
je 0x10351
movl $0x8c, %esi
addq (%r14), %rsi
movslq %ebp, %rdx
movq %rbx, %rdi
callq 0x41e0
movl $0x1, %r15d
movl %r15d, %eax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/lianxings[P]ftp_benchmark/ftplib.cc
// Function: ftplib::Rename(char const*, char const*)
int ftplib::Rename(const char *src, const char *dst)
{
	char cmd[256];

	if (((strlen(src) + 7) > sizeof(cmd)) || ((strlen(dst) + 7) > sizeof(cmd))) 
        return 0;
	sprintf(cmd,"RNFR %s",src);
	if (!FtpSendCmd(cmd,'3',mp_ftphandle)) 
        return 0;
	sprintf(cmd,"RNTO %s",dst);
	if (!FtpSendCmd(cmd,'2',mp_ftphandle)) 
        return 0;

	return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x100, %rsp            # imm = 0x100
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x4180
addq $-0xfa, %rax
xorl %ebp, %ebp
cmpq $-0x101, %rax           # imm = 0xFEFF
jb 0x1044c
movq %r14, %rdi
callq 0x4180
addq $-0xfa, %rax
cmpq $-0x101, %rax           # imm = 0xFEFF
jb 0x1044c
leaq 0x35e3(%rip), %rsi      # 0x139da
xorl %ebp, %ebp
movq %rsp, %r12
movq %r12, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x40a0
movq (%rbx), %rcx
movq %rbx, %rdi
movq %r12, %rsi
movl $0x33, %edx
callq 0xeba0
testl %eax, %eax
je 0x1044c
leaq 0x35bb(%rip), %rsi      # 0x139e2
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x40a0
movq (%rbx), %rcx
movq %rbx, %rdi
movq %r15, %rsi
movl $0x32, %edx
callq 0xeba0
movl %eax, %ebp
movl %ebp, %eax
addq $0x100, %rsp            # imm = 0x100
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/lianxings[P]ftp_benchmark/ftplib.cc
// Function: ftplib::Quit()
int ftplib::Quit()
{
	if (mp_ftphandle->dir != FTPLIB_CONTROL) 
        return 0;
	if (mp_ftphandle->handle == 0)
	{
		strcpy(mp_ftphandle->response, "error: no anwser from server\n");
		return 0;
	}
	if (!FtpSendCmd("QUIT",'2',mp_ftphandle))
	{
		net_close(mp_ftphandle->handle);
		return 0;
	} else	{
		net_close(mp_ftphandle->handle);
		return 1;
	}
}

// Assembly:
movq (%rdi), %rcx
cmpl $0x0, 0x28(%rcx)
je 0x104d0
xorl %eax, %eax
retq
cmpl $0x0, 0x10(%rcx)
je 0x10503
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x352d(%rip), %rsi      # 0x13a10
movl $0x32, %edx
callq 0xeba0
movl %eax, %ebp
movq (%rbx), %rax
movl 0x10(%rax), %edi
callq 0x4770
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
movups 0x34f6(%rip), %xmm0     # 0x13a00
movups %xmm0, 0x96(%rcx)
movups 0x34da(%rip), %xmm0     # 0x139f2
movups %xmm0, 0x88(%rcx)
jmp 0x104cd
nop
// File: /workspace/github_cpp_makefile_star2_O1/lianxings[P]ftp_benchmark/WjCryptLib_Md5.cc
// Function: Md5Update(Md5Context*, void const*, unsigned int)
void Md5Update (
        Md5Context*         Context,        // [in out]
        void const*         Buffer,         // [in]
        uint32_t            BufferSize      // [in]
) {
    uint32_t    saved_lo;
    uint32_t    used;
    uint32_t    free;

    saved_lo = Context->lo;
    if( (Context->lo = (saved_lo + BufferSize) & 0x1fffffff) < saved_lo )
    {
        Context->hi++;
    }
    Context->hi += (uint32_t)( BufferSize >> 29 );

    used = saved_lo & 0x3f;

    if( used )
    {
        free = 64 - used;

        if( BufferSize < free )
        {
            memcpy( &Context->buffer[used], Buffer, BufferSize );
            return;
        }

        memcpy( &Context->buffer[used], Buffer, free );
        Buffer = (uint8_t*)Buffer + free;
        BufferSize -= free;
        TransformFunction(Context, Context->buffer, 64);
    }

    if( BufferSize >= 64 )
    {
        Buffer = TransformFunction( Context, Buffer, BufferSize & ~(unsigned long)0x3f );
        BufferSize &= 0x3f;
    }

    memcpy( Context->buffer, Buffer, BufferSize );
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movl (%rdi), %eax
leal (%rax,%rdx), %ecx
andl $0x1fffffff, %ecx       # imm = 0x1FFFFFFF
movl %ecx, (%rdi)
cmpl %eax, %ecx
jae 0x10aaa
incl 0x4(%r14)
movl %edx, %ecx
shrl $0x1d, %ecx
addl %ecx, 0x4(%r14)
andl $0x3f, %eax
je 0x10ad1
movl $0x40, %ecx
subl %eax, %ecx
movl %edx, %ebp
leaq (%r14,%rax), %rdi
addq $0x18, %rdi
subl %ecx, %ebp
jae 0x10ad5
movl %edx, %edx
jmp 0x10b1e
movl %edx, %ebp
jmp 0x10afa
leaq 0x18(%r14), %r15
movl %ecx, %r12d
movq %rbx, %rsi
movq %r12, %rdx
callq 0x42f0
addq %r12, %rbx
movl $0x40, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x10b2e
cmpl $0x40, %ebp
jb 0x10b15
movl %ebp, %edx
andl $-0x40, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x10b2e
movq %rax, %rbx
andl $0x3f, %ebp
addq $0x18, %r14
movl %ebp, %edx
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x42f0
// File: /workspace/github_cpp_makefile_star2_O1/lianxings[P]ftp_benchmark/WjCryptLib_Md5.cc
// Function: Md5Calculate(void const*, unsigned int, MD5_HASH*)
void Md5Calculate (
        void  const*        Buffer,         // [in]
        uint32_t            BufferSize,     // [in]
        MD5_HASH*           Digest          // [in]
) {
    Md5Context context;

    Md5Initialise( &context );
    Md5Update( &context, Buffer, BufferSize );
    Md5Finalise( &context, Digest );
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x98, %rsp
movq %rdx, %rbx
movl %esi, %edx
movq %rdi, %rsi
movaps 0x24c6(%rip), %xmm0     # 0x13a40
movq %rsp, %r14
movups %xmm0, 0x8(%r14)
movq $0x0, (%r14)
movq %r14, %rdi
callq 0x10a87
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1144b
addq $0x98, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/rachit31[P]CubeSatADCS/KalmanPi.cpp
// Function: main
int main(int argc, char* argv[])
 {
	 i2c.initialize();
	 
	 // Initialize Gyro
	 initializeGyros();
	 
	 // Initialize Accelerometer
	 initializeAccel();
	 
	 // Initialize Magnetometer
	 initializeMag();
	 
	 ThreadManager threadManager;
	 threadManager.create(readGyros);
	 threadManager.create(readAccel);
	 threadManager.create(readMag);
	 threadManager.create(sendFunction);
	 threadManager.create(propagateANDupdate);
	 
	 threadManager.wait();
	 
	 return EXIT_SUCCESS;
 }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x98, %rsp
leaq 0x8df9(%rip), %rdi      # 0xb4a8
callq 0x2f9c
callq 0x2768
callq 0x2a0c
callq 0x2cb0
leaq -0xa0(%rbp), %rbx
movq %rbx, %rdi
callq 0x47d4
leaq 0x1cbf(%rip), %rsi      # 0x4398
movq %rbx, %rdi
callq 0x4888
leaq 0x1de8(%rip), %rsi      # 0x44d0
leaq -0xa0(%rbp), %rdi
callq 0x4888
leaq 0x1f01(%rip), %rsi      # 0x45fc
leaq -0xa0(%rbp), %rdi
callq 0x4888
leaq 0x2016(%rip), %rsi      # 0x4724
leaq -0xa0(%rbp), %rdi
callq 0x4888
leaq 0x33e3(%rip), %rsi      # 0x5b04
leaq -0xa0(%rbp), %rdi
callq 0x4888
leaq -0xa0(%rbp), %rdi
callq 0x4caa
leaq -0xa0(%rbp), %rdi
callq 0x481e
xorl %eax, %eax
addq $0x98, %rsp
popq %rbx
popq %rbp
retq
movq %rax, %rbx
leaq -0xa0(%rbp), %rdi
callq 0x481e
movq %rbx, %rdi
callq 0x23b0
// File: /workspace/github_cpp_makefile_star2_O1/rachit31[P]CubeSatADCS/i2c.cpp
// Function: I2C::initialize()
const char* I2C::initialize()
{
  std::stringstream error;

  // Open the I2C Bus
  m_busFd = open("/dev/i2c-1", O_RDWR);
  if (m_busFd == -1)
  {
    error << "open(): " << std::strerror(errno);
    return error.str().c_str();
  }

  return NULL;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x1b0, %rsp            # imm = 0x1B0
movq %rdi, %rbx
leaq -0x1b8(%rbp), %rdi
callq 0x2180
leaq 0x51b5(%rip), %rdi      # 0x8175
movl $0x2, %esi
xorl %eax, %eax
callq 0x21b0
movl %eax, (%rbx)
cmpl $-0x1, %eax
je 0x2fda
xorl %ebx, %ebx
jmp 0x306d
leaq -0x1a8(%rbp), %rbx
leaq 0x5198(%rip), %rsi      # 0x8180
movl $0x8, %edx
movq %rbx, %rdi
callq 0x2290
callq 0x2050
movl (%rax), %edi
callq 0x20d0
testq %rax, %rax
je 0x3021
movq %rax, %r14
movq %rax, %rdi
callq 0x2100
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x2290
jmp 0x3041
movq -0x1a8(%rbp), %rax
movq -0x18(%rax), %rax
addq %rax, %rbx
movl -0x188(%rbp,%rax), %esi
orl $0x1, %esi
movq %rbx, %rdi
callq 0x2370
leaq -0x1a0(%rbp), %rsi
leaq -0x30(%rbp), %rdi
callq 0x2330
leaq -0x20(%rbp), %rax
movq -0x10(%rax), %rbx
cmpq %rax, %rbx
je 0x306d
movq -0x20(%rbp), %rsi
incq %rsi
movq %rbx, %rdi
callq 0x2270
movq 0x7f44(%rip), %rsi      # 0xafb8
leaq -0x1b8(%rbp), %rdi
callq 0x21c0
leaq -0x138(%rbp), %rdi
callq 0x20c0
movq %rbx, %rax
addq $0x1b0, %rsp            # imm = 0x1B0
popq %rbx
popq %r14
popq %rbp
retq
jmp 0x309d
movq %rax, %rbx
movq 0x7f11(%rip), %rsi      # 0xafb8
leaq -0x1b8(%rbp), %rdi
callq 0x21c0
leaq -0x138(%rbp), %rdi
callq 0x20c0
movq %rbx, %rdi
callq 0x23b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/rachit31[P]CubeSatADCS/i2c.cpp
// Function: I2C::writeByte(unsigned char, unsigned char, unsigned char)
const char* I2C::writeByte(uint8_t busAddr, uint8_t dataAddr, uint8_t data)
{
  std::stringstream error;

  union i2c_smbus_data smbus_data;
  smbus_data.byte = data;

  struct i2c_smbus_ioctl_data args;

  args.read_write = 0;
  args.command = dataAddr;
  args.size = 2;
  args.data = &smbus_data;

  m_mutex.lock();
  if (ioctl(m_busFd, I2C_SLAVE, busAddr) == -1)
  {
    m_mutex.unlock();
    error << "ioctl(): " << std::strerror(errno);
    return error.str().c_str();
  }

  if (ioctl(m_busFd,I2C_SMBUS,&args) == -1)
  {
    m_mutex.unlock();
    error << "ioctl(): " << std::strerror(errno);
    return error.str().c_str();
  }
  m_mutex.unlock();

  return NULL;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1e0, %rsp            # imm = 0x1E0
movl %ecx, %ebx
movl %edx, %r12d
movl %esi, %r15d
movq %rdi, %r14
leaq -0x1d8(%rbp), %rdi
callq 0x2180
leaq -0x1fa(%rbp), %rax
movb %bl, (%rax)
movb $0x0, -0x30(%rbp)
movb %r12b, -0x2f(%rbp)
movl $0x2, -0x2c(%rbp)
movq %rax, -0x28(%rbp)
leaq 0x8(%r14), %rbx
movq %rbx, %rdi
callq 0x3722
movl (%r14), %edi
movzbl %r15b, %edx
movl $0x703, %esi            # imm = 0x703
xorl %eax, %eax
callq 0x22c0
cmpl $-0x1, %eax
je 0x3158
movl (%r14), %edi
leaq -0x30(%rbp), %rdx
movl $0x720, %esi            # imm = 0x720
xorl %eax, %eax
callq 0x22c0
cmpl $-0x1, %eax
je 0x31a7
movq %rbx, %rdi
callq 0x3850
xorl %ebx, %ebx
jmp 0x3274
movq %rbx, %rdi
callq 0x3850
leaq -0x1c8(%rbp), %rbx
leaq 0x501b(%rip), %rsi      # 0x8189
movl $0x9, %edx
movq %rbx, %rdi
callq 0x2290
callq 0x2050
movl (%rax), %edi
callq 0x20d0
testq %rax, %rax
je 0x31f6
movq %rax, %r14
movq %rax, %rdi
callq 0x2100
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x2290
jmp 0x3216
movq %rbx, %rdi
callq 0x3850
leaq -0x1c8(%rbp), %rbx
leaq 0x4fcc(%rip), %rsi      # 0x8189
movl $0x9, %edx
movq %rbx, %rdi
callq 0x2290
callq 0x2050
movl (%rax), %edi
callq 0x20d0
testq %rax, %rax
je 0x3228
movq %rax, %r14
movq %rax, %rdi
callq 0x2100
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x2290
jmp 0x3248
movq -0x1c8(%rbp), %rax
movq -0x18(%rax), %rax
addq %rax, %rbx
movl -0x1a8(%rbp,%rax), %esi
orl $0x1, %esi
movq %rbx, %rdi
callq 0x2370
leaq -0x1c0(%rbp), %rsi
leaq -0x50(%rbp), %rdi
callq 0x2330
jmp 0x3258
movq -0x1c8(%rbp), %rax
movq -0x18(%rax), %rax
addq %rax, %rbx
movl -0x1a8(%rbp,%rax), %esi
orl $0x1, %esi
movq %rbx, %rdi
callq 0x2370
leaq -0x1c0(%rbp), %rsi
leaq -0x50(%rbp), %rdi
callq 0x2330
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rbx
cmpq %rax, %rbx
je 0x3274
movq -0x40(%rbp), %rsi
incq %rsi
movq %rbx, %rdi
callq 0x2270
movq 0x7d3d(%rip), %rsi      # 0xafb8
leaq -0x1d8(%rbp), %rdi
callq 0x21c0
leaq -0x158(%rbp), %rdi
callq 0x20c0
movq %rbx, %rax
addq $0x1e0, %rsp            # imm = 0x1E0
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x32aa
jmp 0x32aa
movq %rax, %rbx
movq 0x7d04(%rip), %rsi      # 0xafb8
leaq -0x1d8(%rbp), %rdi
callq 0x21c0
leaq -0x158(%rbp), %rdi
callq 0x20c0
movq %rbx, %rdi
callq 0x23b0
// File: /workspace/github_cpp_makefile_star2_O1/rachit31[P]CubeSatADCS/i2c.cpp
// Function: I2C::readByte(unsigned char, unsigned char)
uint8_t I2C::readByte(uint8_t busAddr, uint8_t dataAddr)
{
  std::stringstream error;

  union i2c_smbus_data smbus_data;

  struct i2c_smbus_ioctl_data args;

  args.read_write = 1;
  args.command = dataAddr;
  args.size = 2;
  args.data = &smbus_data;

  m_mutex.lock();
  if (ioctl(m_busFd, I2C_SLAVE, busAddr) == -1)
  {
    m_mutex.unlock();
    return -1;
  }

  if (ioctl(m_busFd,I2C_SMBUS,&args) == -1)
  {
    m_mutex.unlock();
    return -1;
  }
  m_mutex.unlock();

  return 0xFF & smbus_data.byte;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x1c8, %rsp            # imm = 0x1C8
movl %edx, %ebx
movl %esi, %r15d
movq %rdi, %r14
leaq -0x1d8(%rbp), %rdi
callq 0x2180
movb $0x1, -0x28(%rbp)
movb %bl, -0x27(%rbp)
movl $0x2, -0x24(%rbp)
leaq -0x4a(%rbp), %rax
movq %rax, -0x20(%rbp)
leaq 0x8(%r14), %rbx
movq %rbx, %rdi
callq 0x3722
movl (%r14), %edi
movzbl %r15b, %edx
movl $0x703, %esi            # imm = 0x703
xorl %eax, %eax
callq 0x22c0
cmpl $-0x1, %eax
je 0x3358
movl (%r14), %edi
leaq -0x28(%rbp), %rdx
movl $0x720, %esi            # imm = 0x720
xorl %eax, %eax
callq 0x22c0
cmpl $-0x1, %eax
je 0x3358
movq %rbx, %rdi
callq 0x3850
movb -0x4a(%rbp), %r14b
jmp 0x3363
movb $-0x1, %r14b
movq %rbx, %rdi
callq 0x3850
movq 0x7c4e(%rip), %rsi      # 0xafb8
leaq -0x1d8(%rbp), %rdi
callq 0x21c0
leaq -0x158(%rbp), %rdi
callq 0x20c0
movl %r14d, %eax
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x7c1b(%rip), %rsi      # 0xafb8
leaq -0x1d8(%rbp), %rdi
callq 0x21c0
leaq -0x158(%rbp), %rdi
callq 0x20c0
movq %rbx, %rdi
callq 0x23b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/rachit31[P]CubeSatADCS/mutex.cpp
// Function: Mutex::lock()
const char* Mutex::lock()
{
  std::stringstream error;
  int retVal;

  // Lock the thread Mutex (TLPI pg 636)
  retVal = pthread_mutex_lock(&m_pthread_mutex);
  if (retVal != 0)
  {
    error << "pthread_mutex_lock(): " << std::strerror(retVal);
    return error.str().c_str();
  }
  m_locked = true;

  return error.str().c_str();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x1b0, %rsp            # imm = 0x1B0
movq %rdi, %rbx
leaq -0x1b8(%rbp), %rdi
callq 0x2180
leaq 0x8(%rbx), %rdi
callq 0x22f0
testl %eax, %eax
je 0x3792
movl %eax, %r14d
leaq -0x1a8(%rbp), %rbx
leaq 0x4a52(%rip), %rsi      # 0x81af
movl $0x16, %edx
movq %rbx, %rdi
callq 0x2290
movl %r14d, %edi
callq 0x20d0
testq %rax, %rax
je 0x37a7
movq %rax, %r14
movq %rax, %rdi
callq 0x2100
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x2290
jmp 0x37c7
movb $0x1, (%rbx)
leaq -0x1a0(%rbp), %rsi
leaq -0x30(%rbp), %rdi
callq 0x2330
jmp 0x37d7
movq -0x1a8(%rbp), %rax
movq -0x18(%rax), %rax
addq %rax, %rbx
movl -0x188(%rbp,%rax), %esi
orl $0x1, %esi
movq %rbx, %rdi
callq 0x2370
leaq -0x1a0(%rbp), %rsi
leaq -0x30(%rbp), %rdi
callq 0x2330
leaq -0x20(%rbp), %rax
movq -0x10(%rax), %rbx
cmpq %rax, %rbx
je 0x37f3
movq -0x20(%rbp), %rsi
incq %rsi
movq %rbx, %rdi
callq 0x2270
movq 0x77be(%rip), %rsi      # 0xafb8
leaq -0x1b8(%rbp), %rdi
callq 0x21c0
leaq -0x138(%rbp), %rdi
callq 0x20c0
movq %rbx, %rax
addq $0x1b0, %rsp            # imm = 0x1B0
popq %rbx
popq %r14
popq %rbp
retq
jmp 0x3825
jmp 0x3825
movq %rax, %rbx
movq 0x7789(%rip), %rsi      # 0xafb8
leaq -0x1b8(%rbp), %rdi
callq 0x21c0
leaq -0x138(%rbp), %rdi
callq 0x20c0
movq %rbx, %rdi
callq 0x23b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/rachit31[P]CubeSatADCS/mutex.cpp
// Function: Mutex::unlock()
const char* Mutex::unlock()
{
  std::stringstream error;
  int retVal;

  // Unlock the thread Mutex (TLPI pg 636)
  retVal = pthread_mutex_unlock(&m_pthread_mutex);
  if (retVal != 0)
  {
    error << "pthread_mutex_unlock(): " << std::strerror(retVal);
    return error.str().c_str();
  }
  m_locked = false;

  return error.str().c_str();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x1b0, %rsp            # imm = 0x1B0
movq %rdi, %rbx
leaq -0x1b8(%rbp), %rdi
callq 0x2180
leaq 0x8(%rbx), %rdi
callq 0x21d0
testl %eax, %eax
je 0x38c0
movl %eax, %r14d
leaq -0x1a8(%rbp), %rbx
leaq 0x493b(%rip), %rsi      # 0x81c6
movl $0x18, %edx
movq %rbx, %rdi
callq 0x2290
movl %r14d, %edi
callq 0x20d0
testq %rax, %rax
je 0x38d5
movq %rax, %r14
movq %rax, %rdi
callq 0x2100
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x2290
jmp 0x38f5
movb $0x0, (%rbx)
leaq -0x1a0(%rbp), %rsi
leaq -0x30(%rbp), %rdi
callq 0x2330
jmp 0x3905
movq -0x1a8(%rbp), %rax
movq -0x18(%rax), %rax
addq %rax, %rbx
movl -0x188(%rbp,%rax), %esi
orl $0x1, %esi
movq %rbx, %rdi
callq 0x2370
leaq -0x1a0(%rbp), %rsi
leaq -0x30(%rbp), %rdi
callq 0x2330
leaq -0x20(%rbp), %rax
movq -0x10(%rax), %rbx
cmpq %rax, %rbx
je 0x3921
movq -0x20(%rbp), %rsi
incq %rsi
movq %rbx, %rdi
callq 0x2270
movq 0x7690(%rip), %rsi      # 0xafb8
leaq -0x1b8(%rbp), %rdi
callq 0x21c0
leaq -0x138(%rbp), %rdi
callq 0x20c0
movq %rbx, %rax
addq $0x1b0, %rsp            # imm = 0x1B0
popq %rbx
popq %r14
popq %rbp
retq
jmp 0x3953
jmp 0x3953
movq %rax, %rbx
movq 0x765b(%rip), %rsi      # 0xafb8
leaq -0x1b8(%rbp), %rdi
callq 0x21c0
leaq -0x138(%rbp), %rdi
callq 0x20c0
movq %rbx, %rdi
callq 0x23b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/rachit31[P]CubeSatADCS/mutex.cpp
// Function: Mutex::wait()
const char* Mutex::wait()
{
  std::stringstream error;
  int retVal;

  // Lock the thread Mutex (TLPI pg 636)
  retVal = pthread_mutex_lock(&m_pthread_mutex);
  if (retVal != 0)
  {
    error << "pthread_mutex_lock(): " << std::strerror(retVal);
    return error.str().c_str();
  }
  m_locked = true;

  // If the cond_wait is successful the mutex will be unlocked
  m_locked = false;

  // Wait for Thread Conditional Variable (TLPI pg 644)
  retVal = pthread_cond_wait(&m_pthread_cond, &m_pthread_mutex);
  if (retVal != 0)
  {
    m_locked = true;
    error << "pthread_cond_wait(): " << std::strerror(retVal);
    return error.str().c_str();
  }

  // The mutex is now relocked
  m_locked = true;

  return error.str().c_str();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x1a8, %rsp            # imm = 0x1A8
movq %rdi, %rbx
leaq -0x1c0(%rbp), %rdi
callq 0x2180
leaq 0x8(%rbx), %r15
movq %r15, %rdi
callq 0x22f0
testl %eax, %eax
je 0x39f3
movl %eax, %r14d
leaq -0x1b0(%rbp), %rbx
leaq 0x47f1(%rip), %rsi      # 0x81af
movl $0x16, %edx
movq %rbx, %rdi
callq 0x2290
movl %r14d, %edi
callq 0x20d0
testq %rax, %rax
je 0x3a4f
movq %rax, %r14
movq %rax, %rdi
callq 0x2100
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x2290
jmp 0x3a6f
movb $0x0, (%rbx)
leaq 0x30(%rbx), %rdi
movq %r15, %rsi
callq 0x2300
movl %eax, %r14d
movb $0x1, (%rbx)
testl %eax, %eax
je 0x3a81
leaq -0x1b0(%rbp), %rbx
leaq 0x47c5(%rip), %rsi      # 0x81df
movl $0x15, %edx
movq %rbx, %rdi
callq 0x2290
movl %r14d, %edi
callq 0x20d0
testq %rax, %rax
je 0x3a93
movq %rax, %r14
movq %rax, %rdi
callq 0x2100
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x2290
jmp 0x3ab3
movq -0x1b0(%rbp), %rax
movq -0x18(%rax), %rax
addq %rax, %rbx
movl -0x190(%rbp,%rax), %esi
orl $0x1, %esi
movq %rbx, %rdi
callq 0x2370
leaq -0x1a8(%rbp), %rsi
leaq -0x38(%rbp), %rdi
callq 0x2330
jmp 0x3ac3
leaq -0x1a8(%rbp), %rsi
leaq -0x38(%rbp), %rdi
callq 0x2330
jmp 0x3ac3
movq -0x1b0(%rbp), %rax
movq -0x18(%rax), %rax
addq %rax, %rbx
movl -0x190(%rbp,%rax), %esi
orl $0x1, %esi
movq %rbx, %rdi
callq 0x2370
leaq -0x1a8(%rbp), %rsi
leaq -0x38(%rbp), %rdi
callq 0x2330
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rbx
cmpq %rax, %rbx
je 0x3adf
movq -0x28(%rbp), %rsi
incq %rsi
movq %rbx, %rdi
callq 0x2270
movq 0x74d2(%rip), %rsi      # 0xafb8
leaq -0x1c0(%rbp), %rdi
callq 0x21c0
leaq -0x140(%rbp), %rdi
callq 0x20c0
movq %rbx, %rax
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3b15
jmp 0x3b15
jmp 0x3b15
movq %rax, %rbx
movq 0x7499(%rip), %rsi      # 0xafb8
leaq -0x1c0(%rbp), %rdi
callq 0x21c0
leaq -0x140(%rbp), %rdi
callq 0x20c0
movq %rbx, %rdi
callq 0x23b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/rachit31[P]CubeSatADCS/mutex.cpp
// Function: Mutex::signal()
const char* Mutex::signal()
{
  std::stringstream error;
  int retVal;

  // Signal the conditional variable (TLPI pg 644)
  retVal = pthread_cond_signal(&m_pthread_cond);
  if (retVal != 0)
  {
    error << "pthread_cond_signal(): " << std::strerror(retVal);
    return error.str().c_str();
  }
  return error.str().c_str();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x1b0, %rsp            # imm = 0x1B0
movq %rdi, %rbx
leaq -0x1b8(%rbp), %rdi
callq 0x2180
addq $0x30, %rbx
movq %rbx, %rdi
callq 0x2030
testl %eax, %eax
je 0x3bb3
movl %eax, %r14d
leaq -0x1a8(%rbp), %rbx
leaq 0x4677(%rip), %rsi      # 0x81f5
movl $0x17, %edx
movq %rbx, %rdi
callq 0x2290
movl %r14d, %edi
callq 0x20d0
testq %rax, %rax
je 0x3bc5
movq %rax, %r14
movq %rax, %rdi
callq 0x2100
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x2290
jmp 0x3be5
leaq -0x1a0(%rbp), %rsi
leaq -0x30(%rbp), %rdi
callq 0x2330
jmp 0x3bf5
movq -0x1a8(%rbp), %rax
movq -0x18(%rax), %rax
addq %rax, %rbx
movl -0x188(%rbp,%rax), %esi
orl $0x1, %esi
movq %rbx, %rdi
callq 0x2370
leaq -0x1a0(%rbp), %rsi
leaq -0x30(%rbp), %rdi
callq 0x2330
leaq -0x20(%rbp), %rax
movq -0x10(%rax), %rbx
cmpq %rax, %rbx
je 0x3c11
movq -0x20(%rbp), %rsi
incq %rsi
movq %rbx, %rdi
callq 0x2270
movq 0x73a0(%rip), %rsi      # 0xafb8
leaq -0x1b8(%rbp), %rdi
callq 0x21c0
leaq -0x138(%rbp), %rdi
callq 0x20c0
movq %rbx, %rax
addq $0x1b0, %rsp            # imm = 0x1B0
popq %rbx
popq %r14
popq %rbp
retq
jmp 0x3c43
jmp 0x3c43
movq %rax, %rbx
movq 0x736b(%rip), %rsi      # 0xafb8
leaq -0x1b8(%rbp), %rdi
callq 0x21c0
leaq -0x138(%rbp), %rdi
callq 0x20c0
movq %rbx, %rdi
callq 0x23b0
nopl (%rax)
// File: /workspace/github_cpp_makefile_star2_O1/rachit31[P]CubeSatADCS/sleepTimer.cpp
// Function: SleepTimer::sleep()
void SleepTimer::sleep()
{
  m_wakeTime.tv_sec += m_durSec;
  m_wakeTime.tv_nsec += m_durNan;

  if (m_wakeTime.tv_nsec >= 1000000000)
  {
    m_wakeTime.tv_sec++;
    m_wakeTime.tv_nsec -= 1000000000;
  }

  clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &m_wakeTime, NULL);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, %rdx
movq (%rdi), %rcx
movq 0x8(%rdi), %rax
addq 0x10(%rdi), %rcx
movq %rcx, (%rdi)
addq 0x18(%rdi), %rax
movq %rax, 0x8(%rdi)
cmpq $0x3b9aca00, %rax       # imm = 0x3B9ACA00
jl 0x3d35
incq %rcx
movq %rcx, (%rdx)
addq $-0x3b9aca00, %rax      # imm = 0xC4653600
movq %rax, 0x8(%rdx)
movl $0x1, %edi
movl $0x1, %esi
xorl %ecx, %ecx
popq %rbp
jmp 0x2400
nop
// File: /workspace/github_cpp_makefile_star2_O1/rachit31[P]CubeSatADCS/sendUdp.cpp
// Function: SendUdp::sendDoubles(double const*, int) const
const char* SendUdp::sendDoubles(const double* buffer, const int number) const
{
  if (m_socketFd == -1)
  {
    return "sendUdp class has not been initialized";
  }

  std::stringstream error;
  int size = 8*number;

  // Send datagrams to socket (TLPI PG 1161)
  if (sendto(m_socketFd, buffer, size, 0, (struct sockaddr*)&m_sockaddr_in, m_len) != size)
  {
    error << "sendto(): " << std::strerror(errno);
    return error.str().c_str();
  }

  return error.str().c_str();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x1a8, %rsp            # imm = 0x1A8
cmpl $-0x1, (%rdi)
je 0x429b
movl %edx, %r14d
movq %rsi, %rbx
movq %rdi, %r15
leaq -0x1c0(%rbp), %rdi
callq 0x2180
shll $0x3, %r14d
movslq %r14d, %r14
leaq 0x4(%r15), %r8
movl (%r15), %edi
movl 0x14(%r15), %r9d
movq %rbx, %rsi
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x2060
cmpq %r14, %rax
jne 0x42a7
leaq -0x1a8(%rbp), %rsi
leaq -0x38(%rbp), %rdi
callq 0x2330
jmp 0x431e
leaq 0x3fe0(%rip), %rbx      # 0x8282
jmp 0x4359
leaq -0x1b0(%rbp), %rbx
leaq 0x3ff4(%rip), %rsi      # 0x82a9
movl $0xa, %edx
movq %rbx, %rdi
callq 0x2290
callq 0x2050
movl (%rax), %edi
callq 0x20d0
testq %rax, %rax
je 0x42ee
movq %rax, %r14
movq %rax, %rdi
callq 0x2100
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x2290
jmp 0x430e
movq -0x1b0(%rbp), %rax
movq -0x18(%rax), %rax
addq %rax, %rbx
movl -0x190(%rbp,%rax), %esi
orl $0x1, %esi
movq %rbx, %rdi
callq 0x2370
leaq -0x1a8(%rbp), %rsi
leaq -0x38(%rbp), %rdi
callq 0x2330
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rbx
cmpq %rax, %rbx
je 0x433a
movq -0x28(%rbp), %rsi
incq %rsi
movq %rbx, %rdi
callq 0x2270
movq 0x6c77(%rip), %rsi      # 0xafb8
leaq -0x1c0(%rbp), %rdi
callq 0x21c0
leaq -0x140(%rbp), %rdi
callq 0x20c0
movq %rbx, %rax
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x436e
jmp 0x436e
movq %rax, %rbx
movq 0x6c40(%rip), %rsi      # 0xafb8
leaq -0x1c0(%rbp), %rdi
callq 0x21c0
leaq -0x140(%rbp), %rdi
callq 0x20c0
movq %rbx, %rdi
callq 0x23b0
// File: /workspace/github_cpp_makefile_star2_O1/rachit31[P]CubeSatADCS/sendFunction.cpp
// Function: sendFunction(void*)
void* sendFunction(void *pArg)
{
  // Push Cleanup Handler to cleanup thread
  pthread_cleanup_push(&Thread::cleanup,pArg);

  // Create a SendUdp Class
  SendUdp sendUdp;
  
  // Initialize the SendUdp Class
  sendUdp.initialize(LOCALIP, REMOTEIP, SNDPORT);

  // Create a buffer to dump the data in  
  double localBuffer[SNDNUM];
  
  // Loop and send data
  while(true)  
	  {
		  sendMutex.wait(); // Wait until gets access to mutex
	  
          std::memcpy(localBuffer, sendBuffer, sizeof(localBuffer)); // (Copy to, Copy from, Copy Number of Bytes)
	  
          sendMutex.unlock(); // Now anyone can access send buffer
	  
          sendUdp.sendDoubles(localBuffer, SNDNUM); // Send the specified number of doubles from the localBuffer to Simulink
	  }

  // Run clean up handler to cleanup thread (TLPI pg 676)
  pthread_cleanup_pop(1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
leaq -0x40(%rbp), %rdi
callq 0x3d80
leaq 0x3b6c(%rip), %rsi      # 0x82b4
leaq 0x3b70(%rip), %rdx      # 0x82bf
leaq -0x40(%rbp), %rdi
movl $0x303a, %ecx           # imm = 0x303A
callq 0x3da6
leaq 0x6c8c(%rip), %r14      # 0xb3f0
leaq 0x6c65(%rip), %r13      # 0xb3d0
leaq -0x40(%rbp), %r15
leaq -0x60(%rbp), %r12
movq %r14, %rdi
callq 0x397e
movaps (%r13), %xmm0
movaps 0x10(%r13), %xmm1
movaps %xmm1, -0x50(%rbp)
movaps %xmm0, -0x60(%rbp)
movq %r14, %rdi
callq 0x3850
movq %r15, %rdi
movq %r12, %rsi
movl $0x4, %edx
callq 0x4238
jmp 0x4773
jmp 0x47a9
movq %rax, %r14
leaq -0x40(%rbp), %rdi
callq 0x3d8c
jmp 0x47ba
movq %rax, %r14
movq %rbx, %rdi
callq 0x5afa
movq %r14, %rdi
callq 0x23b0
movq %rax, %rdi
callq 0x36ce
nop
// File: /workspace/github_cpp_makefile_star2_O1/rachit31[P]CubeSatADCS/threadManager.cpp
// Function: ThreadManager::~ThreadManager()
ThreadManager::~ThreadManager()
{
  // Iterate over map and free memory
  std::map<unsigned int, Thread*>::iterator it = m_threadMap.begin();
  for (it = m_threadMap.begin(); it != m_threadMap.end(); ++it)
  {
    delete it->second;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq 0x20(%rdi), %r14
leaq 0x10(%rdi), %r12
cmpq %r12, %r14
je 0x4867
movq 0x28(%r14), %r15
testq %r15, %r15
je 0x4857
movq %r15, %rdi
callq 0x5a98
movl $0x20, %esi
movq %r15, %rdi
callq 0x2270
movq %r14, %rdi
callq 0x2170
movq %rax, %r14
cmpq %r12, %rax
jne 0x4839
leaq 0x8(%rbx), %r14
addq $0x38, %rbx
movq %rbx, %rdi
callq 0x3704
movq %r14, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x5402
nop
// File: /workspace/github_cpp_makefile_star2_O1/rachit31[P]CubeSatADCS/threadManager.cpp
// Function: ThreadManager::create(void* (*)(void*))
const char* ThreadManager::create(void *(*function)(void *))
{
  // Look for lowest available thread id
  unsigned int id = 0;
  bool found = true;
  while(found)
  {
    if (m_threadMap.count(id))
    {
      id++;
    }
    else
    {
      found = false;
    }
  }

  std::string error = threadCreate(function,id);
  if (!error.empty())
  {
    return error.c_str();
  }

  std::stringstream idStream;
  idStream << id;

  return idStream.str().c_str();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x1d0, %rsp            # imm = 0x1D0
movq 0x18(%rdi), %rax
leaq 0x10(%rdi), %rcx
xorl %edx, %edx
movb $0x1, %r8b
xorl %ebx, %ebx
movq %rcx, %r9
testq %rax, %rax
je 0x48cc
movq %rax, %r10
movq %rcx, %r9
xorl %r11d, %r11d
cmpl %ebx, 0x20(%r10)
setb %r11b
cmovaeq %r10, %r9
movq 0x10(%r10,%r11,8), %r10
testq %r10, %r10
jne 0x48b3
movq %rcx, %r10
cmpq %rcx, %r9
je 0x48df
cmpl 0x20(%r9), %ebx
cmovbq %rcx, %r9
movq %r9, %r10
xorl %r9d, %r9d
cmpq %rcx, %r10
setne %r9b
movzbl %r8b, %r8d
cmovel %edx, %r8d
addl %r9d, %ebx
testb $0x1, %r8b
jne 0x48a5
movl %ebx, %edx
callq 0x49fc
leaq -0x30(%rbp), %r14
leaq -0x1d8(%rbp), %rdx
movq %r14, %rdi
movq %rax, %rsi
callq 0x535c
cmpq $0x0, 0x8(%r14)
je 0x4924
movq -0x30(%rbp), %rbx
jmp 0x4989
leaq -0x1d8(%rbp), %rdi
callq 0x2180
leaq -0x1c8(%rbp), %rdi
movl %ebx, %esi
callq 0x2150
leaq -0x1c0(%rbp), %rsi
leaq -0x50(%rbp), %rdi
callq 0x2330
leaq -0x40(%rbp), %rax
movq -0x10(%rax), %rbx
cmpq %rax, %rbx
je 0x496a
movq -0x40(%rbp), %rsi
incq %rsi
movq %rbx, %rdi
callq 0x2270
movq 0x6647(%rip), %rsi      # 0xafb8
leaq -0x1d8(%rbp), %rdi
callq 0x21c0
leaq -0x158(%rbp), %rdi
callq 0x20c0
leaq -0x20(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x49a2
movq -0x20(%rbp), %rsi
incq %rsi
callq 0x2270
movq %rbx, %rax
addq $0x1d0, %rsp            # imm = 0x1D0
popq %rbx
popq %r14
popq %rbp
retq
jmp 0x49b3
movq %rax, %rbx
movq 0x65fb(%rip), %rsi      # 0xafb8
leaq -0x1d8(%rbp), %rdi
callq 0x21c0
leaq -0x158(%rbp), %rdi
callq 0x20c0
jmp 0x49da
movq %rax, %rbx
leaq -0x20(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x49f3
movq -0x20(%rbp), %rsi
incq %rsi
callq 0x2270
movq %rbx, %rdi
callq 0x23b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/rachit31[P]CubeSatADCS/threadManager.cpp
// Function: ThreadManager::threadCreate(void* (*)(void*), unsigned int)
const char* ThreadManager::threadCreate(void *(*function)(void *), const unsigned int id)
{
  std::stringstream error;

  Thread* pThread;

  try
  {
    pThread = new Thread(function, this, id);
  }
  catch (const char* e)
  {
    error << "Thread(): " << e;
    return error.str().c_str();
  }

  m_threadMap[id] = pThread;

  return error.str().c_str();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
movq %rsi, %r15
movq %rdi, %rbx
movl %edx, -0x1c(%rbp)
leaq -0x1c8(%rbp), %rdi
callq 0x2180
movl $0x20, %edi
callq 0x2260
movq %rax, %r14
movl -0x1c(%rbp), %ecx
movq %rax, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x598c
addq $0x8, %rbx
leaq -0x1c(%rbp), %rsi
movq %rbx, %rdi
callq 0x539a
movq %r14, (%rax)
leaq -0x1b0(%rbp), %rsi
leaq -0x40(%rbp), %rdi
callq 0x2330
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rbx
cmpq %rax, %rbx
je 0x4a7e
movq -0x30(%rbp), %rsi
incq %rsi
movq %rbx, %rdi
callq 0x2270
movq 0x6533(%rip), %rsi      # 0xafb8
leaq -0x1c8(%rbp), %rdi
callq 0x21c0
leaq -0x148(%rbp), %rdi
callq 0x20c0
movq %rbx, %rax
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4ab0
movq %rax, %rbx
movq 0x64fe(%rip), %rsi      # 0xafb8
leaq -0x1c8(%rbp), %rdi
callq 0x21c0
leaq -0x148(%rbp), %rdi
callq 0x20c0
movq %rbx, %rdi
callq 0x23b0
movq %rdx, %r15
movq %rax, %rbx
movl $0x20, %esi
movq %r14, %rdi
callq 0x2270
jmp 0x4af5
movq %rdx, %r15
movq %rax, %rbx
cmpl $0x1, %r15d
jne 0x4ab3
movq %rbx, %rdi
callq 0x20f0
movq %rax, %rbx
leaq -0x1b8(%rbp), %r14
leaq 0x37e4(%rip), %rsi      # 0x82f8
movl $0xa, %edx
movq %r14, %rdi
callq 0x2290
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2250
leaq -0x1b0(%rbp), %rsi
leaq -0x40(%rbp), %rdi
callq 0x2330
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rbx
cmpq %rax, %rbx
je 0x4b58
movq -0x30(%rbp), %rsi
incq %rsi
movq %rbx, %rdi
callq 0x2270
callq 0x2360
jmp 0x4a7e
jmp 0x4b64
movq %rax, %rbx
callq 0x2360
jmp 0x4ab3
nop
// File: /workspace/github_cpp_makefile_star2_O1/rachit31[P]CubeSatADCS/threadManager.cpp
// Function: ThreadManager::create(void* (*)(void*), unsigned int)
const char* ThreadManager::create(void *(*function)(void *), const unsigned int id)
{
  std::stringstream error;

  // Look for existing id
  if (m_threadMap.count(id))
  {
    error << "thread " << id << " already exists";
    return error.str().c_str();
  }

  return threadCreate(function,id);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x1a8, %rsp            # imm = 0x1A8
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
leaq -0x1c0(%rbp), %rdi
callq 0x2180
movq 0x18(%r15), %rdx
leaq 0x10(%r15), %rax
movq %rax, %rcx
testq %rdx, %rdx
je 0x4bc0
movq %rax, %rcx
xorl %esi, %esi
cmpl %ebx, 0x20(%rdx)
setb %sil
cmovaeq %rdx, %rcx
movq 0x10(%rdx,%rsi,8), %rdx
testq %rdx, %rdx
jne 0x4ba9
movq %rax, %rdx
cmpq %rax, %rcx
je 0x4bd2
cmpl %ebx, 0x20(%rcx)
cmovaq %rax, %rcx
movq %rcx, %rdx
cmpq %rax, %rdx
je 0x4c3e
leaq -0x1b0(%rbp), %r14
leaq 0x36fb(%rip), %rsi      # 0x82e0
movl $0x7, %edx
movq %r14, %rdi
callq 0x2290
movl %ebx, %esi
movq %r14, %rdi
callq 0x2150
leaq 0x36e5(%rip), %rsi      # 0x82e8
movl $0xf, %edx
movq %rax, %rdi
callq 0x2290
leaq -0x1a8(%rbp), %rsi
leaq -0x38(%rbp), %rdi
callq 0x2330
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rbx
cmpq %rax, %rbx
je 0x4c4e
movq -0x28(%rbp), %rsi
incq %rsi
movq %rbx, %rdi
callq 0x2270
jmp 0x4c4e
movq %r15, %rdi
movq %r14, %rsi
movl %ebx, %edx
callq 0x49fc
movq %rax, %rbx
movq 0x6363(%rip), %rsi      # 0xafb8
leaq -0x1c0(%rbp), %rdi
callq 0x21c0
leaq -0x140(%rbp), %rdi
callq 0x20c0
movq %rbx, %rax
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4c80
movq %rax, %rbx
movq 0x632e(%rip), %rsi      # 0xafb8
leaq -0x1c0(%rbp), %rdi
callq 0x21c0
leaq -0x140(%rbp), %rdi
callq 0x20c0
movq %rbx, %rdi
callq 0x23b0