LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/DiplIngFrankGerlach[P]MST/UnitTest.cpp
// Function: testProc(unsigned int)
void testProc(uint32_t testSize)
{
   cout << "testProc size=" << testSize << endl;
   uint8_t* testData = new uint8_t[testSize];

   for(uint32_t i=0; i < testSize; i++)
   {
       testData[i] = uint8_t(i & 0xFF);
   }


   uint8_t* authPlaintext(NULL);
   uint32_t lengthAuth;
    
   MST_Hash mstHash;
   assert(mstHash.createAuthPlaintext( testData,testSize,&authPlaintext,&lengthAuth) );

   uint8_t* plaintextBack;  
   uint32_t lengthPT;

   //test:authPlaintext[6] ^= 1;

   assert( mstHash.checkAndExtractPlaintext(authPlaintext, lengthAuth,&plaintextBack,&lengthPT) );
   assert(testSize == lengthPT);
   assert(memcmp(testData,plaintextBack,testSize) == 0 );

   delete[] testData;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movl %edi, %ebx
movq 0x48b6(%rip), %r15      # 0x7fd8
leaq 0x21f7(%rip), %rsi      # 0x5920
movl $0xe, %edx
movq %r15, %rdi
callq 0x1130
movl %ebx, %r14d
movq %r15, %rdi
movq %r14, %rsi
callq 0x10a0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x1100
movsbl %al, %esi
movq %r15, %rdi
callq 0x1040
movq %rax, %rdi
callq 0x10b0
movq %r14, %rdi
callq 0x1030
movq %rax, %r15
testl %ebx, %ebx
je 0x378b
xorl %eax, %eax
movb %al, (%r15,%rax)
incq %rax
cmpq %rax, %r14
jne 0x377f
xorl %eax, %eax
leaq -0x40(%rbp), %rcx
movq %rax, (%rcx)
leaq -0x28(%rbp), %rdi
movq %rax, (%rdi)
movl $0x0, 0x8(%rdi)
leaq -0x30(%rbp), %r8
movq %r15, %rsi
movl %ebx, %edx
callq 0x354e
testb %al, %al
je 0x381f
movq -0x40(%rbp), %rsi
movl -0x30(%rbp), %edx
leaq -0x28(%rbp), %rdi
leaq -0x38(%rbp), %rcx
leaq -0x2c(%rbp), %r8
callq 0x3626
testb %al, %al
je 0x383e
cmpl %ebx, -0x2c(%rbp)
jne 0x385d
movq -0x38(%rbp), %rsi
movq %r15, %rdi
movq %r14, %rdx
callq 0x1120
testl %eax, %eax
jne 0x387c
movq %r15, %rdi
callq 0x1150
movq -0x28(%rbp), %rdi
movl -0x20(%rbp), %edx
xorl %esi, %esi
callq 0x1080
movq -0x28(%rbp), %rdi
testq %rdi, %rdi
je 0x3814
callq 0x1150
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2109(%rip), %rdi      # 0x592f
leaq 0x214d(%rip), %rsi      # 0x597a
leaq 0x2153(%rip), %rcx      # 0x5987
movl $0x1f, %edx
callq 0x1090
leaq 0x215a(%rip), %rdi      # 0x599f
leaq 0x212e(%rip), %rsi      # 0x597a
leaq 0x2134(%rip), %rcx      # 0x5987
movl $0x26, %edx
callq 0x1090
leaq 0x2190(%rip), %rdi      # 0x59f4
leaq 0x210f(%rip), %rsi      # 0x597a
leaq 0x2115(%rip), %rcx      # 0x5987
movl $0x27, %edx
callq 0x1090
leaq 0x2186(%rip), %rdi      # 0x5a09
leaq 0x20f0(%rip), %rsi      # 0x597a
leaq 0x20f6(%rip), %rcx      # 0x5987
movl $0x28, %edx
callq 0x1090
jmp 0x389d
movq %rax, %rbx
movq -0x28(%rbp), %rdi
movl -0x20(%rbp), %edx
xorl %esi, %esi
callq 0x1080
movq -0x28(%rbp), %rdi
testq %rdi, %rdi
je 0x38bc
callq 0x1150
movq %rbx, %rdi
callq 0x11a0
// File: /workspace/github_cpp_makefile_star2_O1/DiplIngFrankGerlach[P]MST/UnitTest.cpp
// Function: encryptedCommunicationFailTest()
void encryptedCommunicationFailTest()
{
   uint8_t sharedKey[16] = {11,55,11,33,67,89,91,11,55,11,33,67,89,91,0,0};

   MST_Endpoint endpointA(sharedKey);
   MST_Endpoint endpointB(sharedKey);

   uint8_t mcA[16];
   endpointA.generateMaskCounterExchange(mcA);

   uint8_t mcB[16];
   endpointB.generateMaskCounterExchange(mcB);

   //exchange of masking counters
   endpointA.decryptMaskCounterExchange(mcB);
   endpointB.decryptMaskCounterExchange(mcA);
 
   
   //now we can securely encrypt with all assurances of the protocol
   const char* plaintext = "Schiller, Goethe, Von der Vogelweide";
   uint8_t* secureMessage;
   uint32_t lengthSM;
   uint32_t lp = strlen(plaintext)+1;
   assert( endpointA.encryptToSecureMessage((uint8_t*)plaintext,lp,&secureMessage,&lengthSM) );
   
   //flip a bit
   secureMessage[0] ^= 1;   

   uint8_t* plaintextDec;
   uint32_t lengthPT;
   assert( endpointB.decryptSecureMessage(secureMessage,lengthSM,&plaintextDec,&lengthPT) == false);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x2e8, %rsp            # imm = 0x2E8
movaps 0x19a8(%rip), %xmm0     # 0x58f0
leaq -0x60(%rbp), %rbx
movaps %xmm0, (%rbx)
leaq -0x2f0(%rbp), %rdi
movq %rbx, %rsi
callq 0x46bc
leaq -0x1a8(%rbp), %rdi
movq %rbx, %rsi
callq 0x46bc
leaq -0x2f0(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x474a
leaq -0x1a8(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x474a
leaq -0x2d0(%rbp), %rsi
leaq -0x2c0(%rbp), %rdx
leaq -0x30(%rbp), %rdi
movl $0x80, %ecx
callq 0x1b78
movb $0x1, -0x1cf(%rbp)
leaq -0x188(%rbp), %rsi
leaq -0x178(%rbp), %rdx
leaq -0x40(%rbp), %rdi
movl $0x80, %ecx
callq 0x1b78
movb $0x1, -0x87(%rbp)
leaq 0x1a5c(%rip), %rsi      # 0x5a36
leaq -0x2f0(%rbp), %rdi
leaq -0x18(%rbp), %rcx
leaq -0xc(%rbp), %r8
movl $0x25, %edx
callq 0x4794
testb %al, %al
je 0x403f
movq -0x18(%rbp), %rax
xorb $0x1, (%rax)
movq -0x18(%rbp), %rsi
movl -0xc(%rbp), %edx
leaq -0x1a8(%rbp), %rdi
leaq -0x48(%rbp), %rcx
leaq -0x1c(%rbp), %r8
callq 0x484a
testb %al, %al
jne 0x405e
leaq -0x1a8(%rbp), %rdi
callq 0x494e
leaq -0x2f0(%rbp), %rdi
callq 0x494e
addq $0x2e8, %rsp            # imm = 0x2E8
popq %rbx
popq %rbp
retq
leaq 0x1a15(%rip), %rdi      # 0x5a5b
leaq 0x192d(%rip), %rsi      # 0x597a
leaq 0x1cd8(%rip), %rcx      # 0x5d2c
movl $0xac, %edx
callq 0x1090
leaq 0x1ced(%rip), %rdi      # 0x5d52
leaq 0x190e(%rip), %rsi      # 0x597a
leaq 0x1cb9(%rip), %rcx      # 0x5d2c
movl $0xb3, %edx
callq 0x1090
jmp 0x4088
jmp 0x4088
jmp 0x4088
movq %rax, %rbx
jmp 0x4097
movq %rax, %rbx
leaq -0x1a8(%rbp), %rdi
callq 0x494e
leaq -0x2f0(%rbp), %rdi
callq 0x494e
movq %rbx, %rdi
callq 0x11a0
// File: /workspace/github_cpp_makefile_star2_O1/DiplIngFrankGerlach[P]MST/./Protocol.h
// Function: MST_Endpoint::MST_Endpoint(unsigned char const*)
MST_Endpoint(const uint8_t* sharedSecret):_buffer(NULL),_bufferSize(0)
   {
        memcpy(_sharedSecret,sharedSecret,16);
   
        aes_key_setup(_sharedSecret,_aesSchedule,128);
        _maskCounterExchangeGenerated = false;
        _partnerMaskCounterExchangeDecrypted = false;
   }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x128(%rdi)
movl %eax, 0x130(%rdi)
movq %rax, 0x138(%rdi)
movl %eax, 0x140(%rdi)
movups (%rsi), %xmm0
movups %xmm0, (%rdi)
leaq 0x30(%rdi), %rsi
movl $0x80, %edx
callq 0x2530
movw $0x0, 0x120(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
movq 0x138(%rbx), %rdi
movl 0x140(%rbx), %edx
xorl %esi, %esi
callq 0x1080
movq 0x138(%rbx), %rdi
testq %rdi, %rdi
je 0x472c
callq 0x1150
movq $0x0, 0x138(%rbx)
movl $0x0, 0x140(%rbx)
movq %r14, %rdi
callq 0x11a0
nop
// File: /workspace/github_cpp_makefile_star2_O1/DiplIngFrankGerlach[P]MST/./Protocol.h
// Function: MST_Endpoint::encryptToSecureMessage(unsigned char*, unsigned int, unsigned char**, unsigned int*)
bool encryptToSecureMessage(uint8_t* plaintext,
                               uint32_t length,
                               uint8_t** securedMessage,
                               uint32_t* lengthSM)
   {
       if( !_maskCounterExchangeGenerated )  
       {
          return false;
       }
        
       if( _mstHash.createAuthPlaintext(plaintext,length,securedMessage,lengthSM) )
       {
	      for(uint32_t i=0; i < (*lengthSM); i+=16)
	      {
		 //apply masking
		 uint8_t encrypted[16];
		 uint8_t* masked = (*securedMessage)+i;
		 for(uint8_t j=0; j < 16; j++)
		 {
		    masked[j] ^= _maskCounterOwn[j];
		 }
		 incrementMC(_maskCounterOwn);
		 aes_encrypt(masked,encrypted,_aesSchedule,128);
		 memcpy((*securedMessage)+i,encrypted,16);
		 
	      }
              return true; 
       }
       return false;
   }

// Assembly:
cmpb $0x1, 0x120(%rdi)
jne 0x4835
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %rbx
movq %rcx, %r14
movq %rdi, %r15
addq $0x138, %rdi            # imm = 0x138
callq 0x354e
testb %al, %al
je 0x4838
movb $0x1, %al
cmpl $0x0, (%rbx)
je 0x483a
leaq 0x30(%r15), %r13
xorl %eax, %eax
movl %eax, %r12d
movq (%r14), %rdi
addq %r12, %rdi
xorl %eax, %eax
movb 0x10(%r15,%rax), %cl
xorb %cl, (%rdi,%rax)
incq %rax
cmpq $0x10, %rax
jne 0x47e3
xorl %eax, %eax
incb 0x10(%r15,%rax)
sete %cl
cmpq $0xe, %rax
ja 0x480b
incq %rax
testb %cl, %cl
jne 0x47f6
leaq -0x40(%rbp), %rsi
movq %r13, %rdx
movl $0x80, %ecx
callq 0x1419
movq (%r14), %rax
movaps -0x40(%rbp), %xmm0
movups %xmm0, (%rax,%r12)
leal 0x10(%r12), %eax
cmpl (%rbx), %eax
jb 0x47d8
movb $0x1, %al
jmp 0x483a
xorl %eax, %eax
retq
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/DiplIngFrankGerlach[P]MST/./Protocol.h
// Function: MST_Endpoint::decryptSecureMessage(unsigned char*, unsigned int, unsigned char**, unsigned int*)
bool decryptSecureMessage(uint8_t* securedMessage, //SecuredMessage PDU
                             uint32_t lengthSM,       
                             uint8_t** plaintext,  //plaintext output, typically a reference to a pointer
                             uint32_t* lengthPlaintext) //plaintext length, typically a refrence to a uint32_t
   {
      if( !_partnerMaskCounterExchangeDecrypted )  
      {
         return false;
      }
      if( (lengthSM < 32) || ((lengthSM & 0xF) != 0 ) )
      {
         return false;
      }
      if( !ensureBufferSize(lengthSM) )
      {
         return false;
      }
      for(uint32_t i=0; i < lengthSM; i+=16)
      {
         aes_decrypt(securedMessage+i,_buffer+i,_aesSchedule,128);
         //remove masking
         uint8_t* masked = _buffer+i;
         for(uint8_t j=0; j < 16; j++)
         {
            masked[j] ^= _maskCounterPartner[j];
         }
         incrementMC(_maskCounterPartner);
      } 
      if( _mstHash.checkAndExtractPlaintext(_buffer,lengthSM,plaintext,lengthPlaintext) )
      {
         return true;
      }
      return false;
   }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, -0x40(%rbp)
cmpb $0x1, 0x121(%rdi)
jne 0x493d
movq %rcx, %r14
movl %edx, %r15d
cmpl $0x20, %edx
setb %al
testb $0xf, %r15b
setne %cl
orb %al, %cl
jne 0x493d
movq %r8, %rbx
movq %rdi, %r12
movl %r15d, %esi
callq 0x4a16
testb %al, %al
je 0x493d
movq %r14, -0x30(%rbp)
movq %rbx, -0x38(%rbp)
leaq 0x30(%r12), %rbx
xorl %r14d, %r14d
movl %r14d, %r13d
movq -0x40(%rbp), %rax
leaq (%rax,%r13), %rdi
movq 0x128(%r12), %rsi
addq %r13, %rsi
movq %rbx, %rdx
movl $0x80, %ecx
callq 0x1b78
addq 0x128(%r12), %r13
xorl %eax, %eax
movb 0x20(%r12,%rax), %cl
xorb %cl, (%r13,%rax)
incq %rax
cmpq $0x10, %rax
jne 0x48da
xorl %eax, %eax
incb 0x20(%r12,%rax)
sete %cl
cmpq $0xe, %rax
ja 0x4904
incq %rax
testb %cl, %cl
jne 0x48ef
addl $0x10, %r14d
cmpl %r15d, %r14d
jb 0x48ad
movq 0x128(%r12), %rsi
addq $0x138, %r12            # imm = 0x138
movq %r12, %rdi
movl %r15d, %edx
movq -0x30(%rbp), %rcx
movq -0x38(%rbp), %r8
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3626
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DiplIngFrankGerlach[P]MST/./Protocol.h
// Function: MST_Endpoint::~MST_Endpoint()
~MST_Endpoint()
   {
      memset(_buffer,0,_bufferSize);
      delete[] _buffer;
      //wipe cipher secrets
      memset(_sharedSecret,0,16);
      memset(_maskCounterOwn,0,16);
      memset(_maskCounterPartner,0,16);
   }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x128(%rdi), %rdi
movl 0x130(%rbx), %edx
xorl %esi, %esi
callq 0x1080
movq 0x128(%rbx), %rdi
testq %rdi, %rdi
je 0x497c
callq 0x1150
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rbx)
movups %xmm0, 0x10(%rbx)
movups %xmm0, (%rbx)
movq 0x138(%rbx), %rdi
movl 0x140(%rbx), %edx
xorl %esi, %esi
callq 0x1080
movq 0x138(%rbx), %rdi
testq %rdi, %rdi
je 0x49af
callq 0x1150
movq $0x0, 0x138(%rbx)
movl $0x0, 0x140(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/DiplIngFrankGerlach[P]MST/./RandomSource.h
// Function: RandomSource::getRandomNumber128(unsigned char*)
bool getRandomNumber128(uint8_t* destination)
    {
        int randomFH = open("/dev/urandom", O_RDONLY);
	if (randomFH >= 0)
	{
	    ssize_t result = read(randomFH, destination, 16);
            close(randomFH);
	    if (result == 16)
	    {
		return true;
	    }
	}
        return false;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
leaq 0x1572(%rip), %rdi      # 0x5f4f
xorl %esi, %esi
xorl %eax, %eax
callq 0x10d0
testl %eax, %eax
js 0x4a0f
movl %eax, %r14d
movl $0x10, %edx
movl %eax, %edi
movq %rbx, %rsi
callq 0x1170
movq %rax, %rbx
movl %r14d, %edi
callq 0x11d0
movb $0x1, %al
cmpq $0x10, %rbx
je 0x4a11
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DiplIngFrankGerlach[P]MST/./Protocol.h
// Function: MST_Endpoint::ensureBufferSize(unsigned int)
bool ensureBufferSize(uint32_t sz)
   {
      if(_bufferSize < sz )
      {
         memset(_buffer,0,_bufferSize);
         _bufferSize = sz;
         delete[] _buffer;
         _buffer = new uint8_t[_bufferSize];
         if( _buffer == NULL )
         {
            return false;
         }
      }
      return true;
   }

// Assembly:
movl 0x130(%rdi), %edx
cmpl %esi, %edx
jae 0x4a69
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %esi, %r14d
movq %rdi, %rbx
movq 0x128(%rdi), %rdi
xorl %esi, %esi
callq 0x1080
movl %r14d, 0x130(%rbx)
movq 0x128(%rbx), %rdi
testq %rdi, %rdi
je 0x4a53
callq 0x1150
movl 0x130(%rbx), %edi
callq 0x1030
movq %rax, 0x128(%rbx)
popq %rbx
popq %r14
popq %rbp
movb $0x1, %al
retq
// File: /workspace/github_cpp_makefile_star2_O1/xjrueda[P]fixprime/src/Acceptor.cpp
// Function: fprime::Acceptor::start()
bool Acceptor::start() {
        try {
            thread t1(std::bind(&Acceptor::startAcceptor, this, sessionSetup.getPort()));
            t1.detach();
            usleep(10000);
            return sessionRunning;
        } catch (exception& e) {
            //TODO: log error
            return false;
        }
    }

// Assembly:
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
addq $0x28, %rdi
callq 0x30680
movq 0x4054e(%rip), %rcx     # 0x71cc8
leaq 0x10(%rsp), %rsi
movq %rcx, (%rsi)
movq $0x0, 0x8(%rsi)
movl %eax, 0x10(%rsi)
movq %rbx, 0x18(%rsi)
leaq 0x8(%rsp), %rdi
callq 0x2ebd0
leaq 0x8(%rsp), %rdi
callq 0x309f0
movl $0x2710, %edi           # imm = 0x2710
callq 0x301b0
cmpq $0x0, 0x8(%rsp)
jne 0x317cb
movb 0x1d8(%rbx), %al
addq $0x30, %rsp
popq %rbx
retq
cmpq $0x0, 0x8(%rsp)
je 0x317d0
callq 0x2e550
movq %rax, %rdi
cmpl $0x1, %edx
jne 0x317e6
callq 0x2e8b0
callq 0x30750
xorl %eax, %eax
jmp 0x317bd
callq 0x30a20
nop
// File: /workspace/github_cpp_makefile_star2_O1/xjrueda[P]fixprime/include/Session.h
// Function: fprime::Session::stop()
virtual void stop() {
            setConnected(false);
            setIbRunning(false);
            setObRunning(false);
            setSessionRunning(false);
        }

// Assembly:
pushq %rbx
movq %rdi, %rbx
xorl %esi, %esi
callq 0x2ee10
movw $0x0, 0x1d9(%rbx)
movq %rbx, %rdi
xorl %esi, %esi
popq %rbx
jmp 0x31040
nop
// File: /workspace/github_cpp_makefile_star2_O1/xjrueda[P]fixprime/include/Session.h
// Function: fprime::Session::disconnect()
virtual void disconnect() {
            setConnected(false);
            setIbRunning(false);
            setObRunning(false);
            inboundCondition.notify_one();
            outboundCondition.notify_one();
        }

// Assembly:
pushq %rbx
movq %rdi, %rbx
xorl %esi, %esi
callq 0x2ee10
movw $0x0, 0x1d9(%rbx)
leaq 0x208(%rbx), %rdi
callq 0x2eb10
addq $0x238, %rbx            # imm = 0x238
movq %rbx, %rdi
popq %rbx
jmp 0x2eb10
// File: /workspace/github_cpp_makefile_star2_O1/xjrueda[P]fixprime/include/Session.h
// Function: fprime::Session::send(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
virtual bool send(string msg) {
            if (!connected)
                //TODO: register log entry
                return false;
            else {
                pushOutbound(msg);
                return true;
            };
        }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movb 0x1db(%rdi), %bl
cmpb $0x1, %bl
jne 0x31f7d
movq %rdi, %r14
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %rax, %rsi
callq 0x2e8a0
movq %r14, %rdi
movq %r15, %rsi
callq 0x30c80
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x31f7d
callq 0x2f6c0
movl %ebx, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x31f9d
callq 0x2f6c0
movq %rbx, %rdi
callq 0x30a20
nop
// File: /workspace/github_cpp_makefile_star2_O1/xjrueda[P]fixprime/include/Session.h
// Function: fprime::Session::setSessionRunning(bool)
void setSessionRunning(bool val) {
            mutex lock;
            lock.lock();
            sessionRunning = val;
            lock.unlock();
        }

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movl %esi, %ebx
movq %rdi, %r14
xorps %xmm0, %xmm0
movq %rsp, %rdi
movaps %xmm0, 0x10(%rdi)
movaps %xmm0, (%rdi)
movq $0x0, 0x20(%rdi)
callq 0x30340
testl %eax, %eax
jne 0x32335
movb %bl, 0x1d8(%r14)
movq %rsp, %rdi
callq 0x2f210
addq $0x28, %rsp
popq %rbx
popq %r14
retq
movl %eax, %edi
callq 0x2f050
// File: /workspace/github_cpp_makefile_star2_O1/xjrueda[P]fixprime/include/Session.h
// Function: fprime::Session::setConnected(bool)
void setConnected(bool val) {
            mutex lock;
            lock.lock();
            connected = val;
            lock.unlock();
        }

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movl %esi, %ebx
movq %rdi, %r14
xorps %xmm0, %xmm0
movq %rsp, %rdi
movaps %xmm0, 0x10(%rdi)
movaps %xmm0, (%rdi)
movq $0x0, 0x20(%rdi)
callq 0x30340
testl %eax, %eax
jne 0x3237d
movb %bl, 0x1db(%r14)
movq %rsp, %rdi
callq 0x2f210
addq $0x28, %rsp
popq %rbx
popq %r14
retq
movl %eax, %edi
callq 0x2f050
// File: /workspace/github_cpp_makefile_star2_O1/xjrueda[P]fixprime/include/Session.h
// Function: fprime::Session::outboundProcessor(std::shared_ptr<SocketConnector>)
void outboundProcessor(SocketPtr socketPtr) {
            setObRunning(true);
            while (obpRunning) {
                unique_lock<mutex> lock(outboundLock);
                while (outboundQueue.empty() && obpRunning) {
                    outboundCondition.wait(lock);
                }
                if (obpRunning) {
                    string rawMsg = outboundQueue.front();
                    outboundQueue.pop();
                    lock.unlock();
                    try {
                        *socketPtr << rawMsg;
                    } catch (SocketException& se) {
                        cout << "Error trying to send: " << se.description() << endl;
                        cout.flush();
                    }

                }
            }
        }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, 0x40(%rsp)
movq %rdi, %r14
movb $0x1, 0x1da(%rdi)
leaq 0x2b8(%rdi), %rbx
leaq 0x238(%rdi), %r15
leaq 0x268(%rdi), %r12
leaq 0x10(%rsp), %r13
leaq 0x48(%rsp), %rbp
movq %rbx, 0x10(%rsp)
movb $0x0, 0x18(%rsp)
movq %r13, %rdi
callq 0x2fb80
movb $0x1, 0x18(%rsp)
movq 0x278(%r14), %rax
cmpq %rax, 0x298(%r14)
jne 0x332d0
cmpb $0x1, 0x1da(%r14)
jne 0x332d0
movq %r15, %rdi
movq %r13, %rsi
callq 0x2e5b0
jmp 0x332a9
cmpb $0x1, 0x1da(%r14)
jne 0x3332a
leaq 0x58(%rsp), %rcx
movq %rcx, 0x48(%rsp)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
movq %rbp, %rdi
callq 0x2e8a0
movq %r12, %rdi
callq 0x2fcd0
movq %r13, %rdi
callq 0x2e060
movq 0x40(%rsp), %rax
movq (%rax), %rdi
movq %rbp, %rsi
callq 0x2f300
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x3332a
callq 0x2f6c0
movq %r13, %rdi
callq 0x2e720
cmpb $0x0, 0x1da(%r14)
jne 0x33292
jmp 0x333e5
movq %rax, 0x8(%rsp)
cmpl $0x1, %edx
jne 0x33433
movq 0x8(%rsp), %rdi
callq 0x2e8b0
movq %rax, 0x8(%rsp)
movl $0x16, %edx
movq 0x3eaf2(%rip), %rdi     # 0x71e60
leaq 0x27e00(%rip), %rsi     # 0x5b175
callq 0x2fb20
leaq 0x30(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x8(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x20(%rsp), %rdi
callq 0x2e8a0
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq 0x3eab2(%rip), %rdi     # 0x71e60
callq 0x2fb20
movq %rax, %rdi
callq 0x2eab0
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x333cf
callq 0x2f6c0
movq 0x3ea8a(%rip), %rdi     # 0x71e60
callq 0x2f0a0
callq 0x30750
jmp 0x33316
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3342e
jmp 0x33413
movq %rax, 0x8(%rsp)
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x33418
callq 0x2f6c0
jmp 0x33418
movq %rax, 0x8(%rsp)
callq 0x30750
jmp 0x33433
movq %rax, %rdi
callq 0x32108
movq %rax, 0x8(%rsp)
jmp 0x33447
movq %rax, 0x8(%rsp)
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x33447
callq 0x2f6c0
leaq 0x10(%rsp), %rdi
callq 0x2e720
movq 0x8(%rsp), %rdi
callq 0x30a20
nop
// File: /workspace/github_cpp_makefile_star2_O1/xjrueda[P]fixprime/include/Session.h
// Function: fprime::Session::pushInbound(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void pushInbound(string rawMsg) {
            unique_lock<mutex> lock(inboundLock);
            inboundQueue.push(rawMsg);
            lock.unlock();
            inboundCondition.notify_one();
        }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x1e0(%rdi), %rax
movq %rsp, %r15
movq %rax, (%r15)
movb $0x0, 0x8(%r15)
movq %r15, %rdi
callq 0x2fb80
movb $0x1, 0x8(%r15)
leaq 0x300(%rbx), %rdi
movq %r14, %rsi
callq 0x2fe10
movq %rsp, %rdi
callq 0x2e060
addq $0x208, %rbx            # imm = 0x208
movq %rbx, %rdi
callq 0x2eb10
movq %rsp, %rdi
callq 0x2e720
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x2e720
movq %rbx, %rdi
callq 0x30a20
nop
// File: /workspace/github_cpp_makefile_star2_O1/xjrueda[P]fixprime/include/Session.h
// Function: fprime::Session::pushOutbound(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void pushOutbound(string rawMsg) {
            unique_lock<mutex> lock(outboundLock);
            outboundQueue.push(rawMsg);
            lock.unlock();
            outboundCondition.notify_one();
        }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x2b8(%rdi), %rax
movq %rsp, %r15
movq %rax, (%r15)
movb $0x0, 0x8(%r15)
movq %r15, %rdi
callq 0x2fb80
movb $0x1, 0x8(%r15)
leaq 0x268(%rbx), %rdi
movq %r14, %rsi
callq 0x2fe10
movq %rsp, %rdi
callq 0x2e060
addq $0x238, %rbx            # imm = 0x238
movq %rbx, %rdi
callq 0x2eb10
movq %rsp, %rdi
callq 0x2e720
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x2e720
movq %rbx, %rdi
callq 0x30a20
nop
// File: /workspace/github_cpp_makefile_star2_O1/xjrueda[P]fixprime/src/CallbacksManager.cpp
// Function: fprime::CallbacksManager::executeCallback(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, fprime::Message, fprime::Session*)
void CallbacksManager::executeCallback(string methodName,  fprime::Message msg, fprime::Session* sessionPtr) {
        typename std::map<string, Callback>::iterator it;
        future<void> f1;
        it = callbacksMap.find(methodName);
        if (it != callbacksMap.end()) {
            try {
                CallBackType task = it->second.getCallback();
                if (it->second.getlaunchAsync()) {
                    f1 = std::async(std::launch::async, task, msg, sessionPtr);
                } else
                    task(msg, sessionPtr);
            } catch (...) {
                
            }
        }
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x90, %rsp
movq %rdx, %rbx
movq %rdi, %r15
movq %rcx, 0x10(%rsp)
addq $0x8, %rdi
callq 0x2e3b0
addq $0x10, %r15
cmpq %r15, %rax
je 0x352fd
movq %rax, %r14
leaq 0x40(%rax), %rsi
leaq 0x18(%rsp), %rdi
callq 0x2ebc0
cmpb $0x1, 0x60(%r14)
jne 0x3525a
movq %rsp, %rdi
leaq 0x18(%rsp), %rdx
leaq 0x10(%rsp), %r8
movl $0x1, %esi
movq %rbx, %rcx
callq 0x2fc60
movq 0x8(%rsp), %rbx
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x35294
callq 0x2f370
jmp 0x35294
leaq 0x38(%rsp), %rdi
movq %rbx, %rsi
callq 0x2ec60
movq 0x10(%rsp), %rax
movq %rax, (%rsp)
cmpq $0x0, 0x28(%rsp)
je 0x352af
leaq 0x18(%rsp), %rdi
leaq 0x38(%rsp), %rsi
movq %rsp, %rdx
callq *0x18(%rdi)
leaq 0x38(%rsp), %rdi
callq 0x2f070
xorl %ebx, %ebx
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x352ff
leaq 0x18(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x352ff
callq 0x2e780
jmp 0x352b6
movq %rax, %rbx
jmp 0x352d0
movq %rax, %rdi
callq 0x32108
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x2f070
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x352f0
leaq 0x18(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x352f0
jmp 0x352bb
movq %rax, %rbx
movq %rbx, %rdi
callq 0x2e8b0
callq 0x30750
xorl %ebx, %ebx
testq %rbx, %rbx
je 0x3530c
movq %rbx, %rdi
callq 0x2f370
addq $0x90, %rsp
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/xjrueda[P]fixprime/src/Component.cpp
// Function: fprime::Component::getControlField()
fprime::Field::FieldPtr Component::getControlField() {
        if (controlField != nullptr)
            return controlField;
        else
            throw runtime_error("at Component.getControlField: Control field for component " +  name + " is null.");
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
movq 0x38(%rsi), %rax
testq %rax, %rax
je 0x36cb9
movq %rax, (%rdi)
movq 0x40(%r14), %rax
movq %rax, 0x8(%rdi)
testq %rax, %rax
je 0x36cab
movq 0x3b1bb(%rip), %rcx     # 0x71e58
cmpb $0x0, (%rcx)
je 0x36ca7
incl 0x8(%rax)
jmp 0x36cab
lock
incl 0x8(%rax)
movq %rdi, %rax
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x2eae0
movq %rax, %rbx
addq $0x48, %r14
leaq 0x24cbe(%rip), %rsi     # 0x5b98f
leaq 0x28(%rsp), %rdi
movq %r14, %rdx
callq 0x2f510
leaq 0x24ce5(%rip), %rsi     # 0x5b9ca
leaq 0x28(%rsp), %rdi
callq 0x30e60
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x36d10
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x36d1d
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movb $0x1, %bpl
movq %rbx, %rdi
callq 0x30700
xorl %ebp, %ebp
movq 0x3b28b(%rip), %rsi     # 0x71fd8
movq 0x3b06c(%rip), %rdx     # 0x71dc0
movq %rbx, %rdi
callq 0x308f0
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x36d76
callq 0x2f6c0
jmp 0x36d76
movq %rax, %r14
movb $0x1, %bpl
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x36d91
callq 0x2f6c0
jmp 0x36d91
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x36d9e
movq %rbx, %rdi
callq 0x2f150
movq %r14, %rdi
callq 0x30a20
// File: /workspace/github_cpp_makefile_star2_O1/xjrueda[P]fixprime/src/Field.cpp
// Function: fprime::Field::Field(unsigned int)
Field::Field(unsigned int id) {
        if (id)
            _id = id;
        else
            throw std::runtime_error("at Field.Constructor attribute could not be empty.");
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq 0x391bd(%rip), %rax     # 0x71c18
addq $0x10, %rax
movq %rax, (%rdi)
leaq 0x20(%rdi), %r12
movq %r12, 0x10(%rdi)
xorl %eax, %eax
movq %rax, 0x18(%rdi)
movb %al, 0x20(%rdi)
leaq 0x40(%rdi), %r13
movq %r13, 0x30(%rdi)
movq %rax, 0x38(%rdi)
movb %al, 0x40(%rdi)
leaq 0x58(%rdi), %rcx
movl %eax, 0x58(%rdi)
movq %rax, 0x60(%rdi)
movq %rcx, 0x68(%rdi)
movq %rcx, 0x70(%rdi)
movq %rax, 0x78(%rdi)
leaq 0x88(%rdi), %rcx
movl %eax, 0x88(%rdi)
movq %rax, 0x90(%rdi)
movq %rcx, 0x98(%rdi)
movq %rcx, 0xa0(%rdi)
movq %rax, 0xa8(%rdi)
testl %esi, %esi
je 0x38ad3
movl %esi, 0x8(%rbx)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movl $0x10, %edi
callq 0x2eae0
movq %rax, %r15
leaq 0x231b8(%rip), %rsi     # 0x5bc9f
movq %rax, %rdi
callq 0x2e800
movq 0x394e2(%rip), %rsi     # 0x71fd8
movq 0x392c3(%rip), %rdx     # 0x71dc0
movq %r15, %rdi
callq 0x308f0
movq %rax, %r14
jmp 0x38b15
movq %rax, %r14
movq %r15, %rdi
callq 0x2f150
leaq 0x50(%rbx), %r15
leaq 0x80(%rbx), %rdi
callq 0x30c40
movq %r15, %rdi
callq 0x2f470
movq 0x30(%rbx), %rdi
cmpq %r13, %rdi
je 0x38b3b
callq 0x2f6c0
movq 0x10(%rbx), %rdi
cmpq %r12, %rdi
je 0x38b49
callq 0x2f6c0
movq %r14, %rdi
callq 0x30a20
nop
// File: /workspace/github_cpp_makefile_star2_O1/xjrueda[P]fixprime/src/Field.cpp
// Function: fprime::Field::setId(unsigned int)
void Field::setId(unsigned int id) {
        if (id)
            _id = id;
        else
            throw std::runtime_error("at Field.setId: Id attribute could not be empty.");
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testl %esi, %esi
je 0x38bc5
movl %esi, 0x8(%rdi)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movl $0x10, %edi
callq 0x2eae0
movq %rax, %rbx
leaq 0x230f9(%rip), %rsi     # 0x5bcd2
movq %rax, %rdi
callq 0x2e800
movq 0x393f0(%rip), %rsi     # 0x71fd8
movq 0x391d1(%rip), %rdx     # 0x71dc0
movq %rbx, %rdi
callq 0x308f0
movq %rax, %r14
movq %rbx, %rdi
callq 0x2f150
movq %r14, %rdi
callq 0x30a20
// File: /workspace/github_cpp_makefile_star2_O1/xjrueda[P]fixprime/src/Field.cpp
// Function: fprime::Field::getId()
unsigned int Field::getId() {
        if (_id)
            return _id;
        else
            throw std::runtime_error("at Field.getId: Id attribute is empty.");
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl 0x8(%rdi), %eax
testl %eax, %eax
je 0x38cdd
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movl $0x10, %edi
callq 0x2eae0
movq %rax, %rbx
leaq 0x23084(%rip), %rsi     # 0x5bd75
movq %rax, %rdi
callq 0x2e800
movq 0x392d8(%rip), %rsi     # 0x71fd8
movq 0x390b9(%rip), %rdx     # 0x71dc0
movq %rbx, %rdi
callq 0x308f0
movq %rax, %r14
movq %rbx, %rdi
callq 0x2f150
movq %r14, %rdi
callq 0x30a20
// File: /workspace/github_cpp_makefile_star2_O1/xjrueda[P]fixprime/src/Field.cpp
// Function: fprime::Field::validateValidValue(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool Field::validateValidValue(string val) {
        map<string, string>::iterator search = _validValues.find(val);
        if (search != _validValues.end())
            return true;
        else
            return false;
    }

// Assembly:
pushq %rbx
movq %rdi, %rbx
addq $0x50, %rdi
callq 0x2f060
addq $0x58, %rbx
cmpq %rbx, %rax
setne %al
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/xjrueda[P]fixprime/src/FixDictionary.cpp
// Function: fprime::FixDictionary::getProtocol(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
fprime::Protocol::ProtocolPtr FixDictionary::getProtocol(string version) {
        map<string,fprime::Protocol::ProtocolPtr>::iterator search;
        search = protocols.find(version);
        if (search != protocols.end())
            return search->second;
        else
            throw std::runtime_error("at FixDictionary.getProtocol: Protocol " + version + " does not exists in dictionary");
 
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rsi), %rdi
movq %rdx, %rsi
callq 0x31030
addq $0x10, %r15
cmpq %r15, %rax
je 0x39aab
movq 0x40(%rax), %rcx
movq %rcx, (%rbx)
movq 0x48(%rax), %rax
movq %rax, 0x8(%rbx)
testq %rax, %rax
je 0x39a9d
movq 0x383c9(%rip), %rcx     # 0x71e58
cmpb $0x0, (%rcx)
je 0x39a99
incl 0x8(%rax)
jmp 0x39a9d
lock
incl 0x8(%rax)
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x2eae0
movq %rax, %rbx
leaq 0x223d4(%rip), %rsi     # 0x5be93
leaq 0x28(%rsp), %rdi
movq %r14, %rdx
callq 0x2f510
leaq 0x223e8(%rip), %rsi     # 0x5bebb
leaq 0x28(%rsp), %rdi
callq 0x30e60
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x39afe
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x39b0b
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movb $0x1, %bpl
movq %rbx, %rdi
callq 0x30700
xorl %ebp, %ebp
movq 0x3849d(%rip), %rsi     # 0x71fd8
movq 0x3827e(%rip), %rdx     # 0x71dc0
movq %rbx, %rdi
callq 0x308f0
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x39b64
callq 0x2f6c0
jmp 0x39b64
movq %rax, %r14
movb $0x1, %bpl
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x39b7f
callq 0x2f6c0
jmp 0x39b7f
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x39b8c
movq %rbx, %rdi
callq 0x2f150
movq %r14, %rdi
callq 0x30a20
// File: /workspace/github_cpp_makefile_star2_O1/xjrueda[P]fixprime/src/FixLoader.cpp
// Function: fprime::FixLoader::parseFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
Json::Value FixLoader::parseFile(string fileName) {
        Json::Value root;
        Json::Reader reader;
        std::ifstream stream(fileName, std::ifstream::binary);

        bool parsingSuccessful = reader.parse(stream, root, false);

        if (!parsingSuccessful) {
            // report to the user the failure and their locations in the document.
            std::cout << "Error loading file " << fileName << ": " << reader.getFormattedErrorMessages() << endl;
            std::runtime_error("Error loading file " + fileName);
        } else {
            return root;
        }
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x350, %rsp            # imm = 0x350
movq %rdx, %r14
movq %rdi, %rbx
xorl %esi, %esi
callq 0x2e950
leaq 0x38(%rsp), %rdi
callq 0x2f940
leaq 0x148(%rsp), %rdi
movq %r14, %rsi
movl $0x4, %edx
callq 0x306e0
leaq 0x38(%rsp), %rdi
leaq 0x148(%rsp), %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x30cb0
testb %al, %al
je 0x3a1eb
leaq 0x148(%rsp), %rdi
callq 0x2e4b0
leaq 0x130(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3a1ae
callq 0x2f6c0
leaq 0xe8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3a1c4
callq 0x2f6c0
leaq 0x88(%rsp), %rdi
callq 0x2eee0
leaq 0x38(%rsp), %rdi
callq 0x2fab0
movq %rbx, %rax
addq $0x350, %rsp            # imm = 0x350
popq %rbx
popq %r14
popq %r15
retq
movq 0x37c6e(%rip), %rdi     # 0x71e60
leaq 0x21d41(%rip), %rsi     # 0x5bf3a
movl $0x13, %edx
callq 0x2fb20
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq 0x37c4f(%rip), %rdi     # 0x71e60
callq 0x2fb20
movq %rax, %r15
leaq 0x22309(%rip), %rsi     # 0x5c529
movl $0x2, %edx
movq %rax, %rdi
callq 0x2fb20
leaq 0x8(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x30510
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r15, %rdi
callq 0x2fb20
movq %rax, %rdi
callq 0x2eab0
leaq 0x18(%rsp), %r15
movq -0x10(%r15), %rdi
cmpq %r15, %rdi
je 0x3a269
callq 0x2f6c0
leaq 0x21cca(%rip), %rsi     # 0x5bf3a
leaq 0x8(%rsp), %rdi
movq %r14, %rdx
callq 0x2f510
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x30700
leaq 0x28(%rsp), %rdi
callq 0x31100
leaq 0x8(%rsp), %rdi
callq 0x2e9e0
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
jne 0x3a2c2
jmp 0x3a2d8
jmp 0x3a2d5
movq %rax, %r14
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3a2d8
callq 0x2f6c0
jmp 0x3a2d8
jmp 0x3a2d5
movq %rax, %r14
jmp 0x3a2e5
movq %rax, %r14
jmp 0x3a2ef
movq %rax, %r14
leaq 0x148(%rsp), %rdi
callq 0x2e4b0
leaq 0x38(%rsp), %rdi
callq 0x2fc90
movq %rbx, %rdi
callq 0x2ebb0
movq %r14, %rdi
callq 0x30a20
nop
// File: /workspace/github_cpp_makefile_star2_O1/xjrueda[P]fixprime/src/FixParser.cpp
// Function: fprime::FixParser::parseMessage(fprime::FixParser::FlatMessage)
fprime::Message FixParser::parseMessage(fprime::FixParser::FlatMessage message) {
        fprime::Message fixMessage = protocolPtr->getMessage(message.getMsgType());
        unsigned int position = 0;
        bool result = false;
        result = parseLevel(message.orderedMap, position, fixMessage.getHeader(), 0, false);
        result = parseLevel(message.orderedMap, position, fixMessage.getBody(), 0, false);
        result = parseLevel(message.orderedMap, position, fixMessage.getTrailer(), 0, false);
        return fixMessage;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf0, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %r12
leaq 0x40(%rsp), %r13
movq %r13, %rdi
movq %rdx, %rsi
callq 0x2e210
movq %rbx, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x30140
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3aa5a
callq 0x2f6c0
movl $0x0, 0xc(%rsp)
leaq 0xc0(%rsp), %rdi
movq %r15, %rsi
callq 0x2efe0
leaq 0x30(%rsp), %rdi
movq %rbx, %rsi
callq 0x2e8c0
leaq 0xc0(%rsp), %rsi
leaq 0xc(%rsp), %rdx
leaq 0x30(%rsp), %rcx
movq %r14, %rdi
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x2e390
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x3aaae
callq 0x2f370
leaq 0xc0(%rsp), %rdi
callq 0x2f630
leaq 0x90(%rsp), %rdi
movq %r15, %rsi
callq 0x2efe0
leaq 0x20(%rsp), %rdi
movq %rbx, %rsi
callq 0x2e540
leaq 0x90(%rsp), %rsi
leaq 0xc(%rsp), %rdx
leaq 0x20(%rsp), %rcx
movq %r14, %rdi
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x2e390
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x3ab07
callq 0x2f370
leaq 0x90(%rsp), %rdi
callq 0x2f630
leaq 0x60(%rsp), %rdi
movq %r15, %rsi
callq 0x2efe0
leaq 0x10(%rsp), %rdi
movq %rbx, %rsi
callq 0x2ea60
leaq 0x60(%rsp), %rsi
leaq 0xc(%rsp), %rdx
leaq 0x10(%rsp), %rcx
movq %r14, %rdi
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x2e390
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x3ab5a
callq 0x2f370
leaq 0x60(%rsp), %rdi
callq 0x2f630
movq %rbx, %rax
addq $0xf0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %r14
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x3ab8f
callq 0x2f370
jmp 0x3ab8f
movq %rax, %r14
leaq 0x60(%rsp), %rdi
jmp 0x3abd6
movq %rax, %r14
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x3abad
callq 0x2f370
jmp 0x3abad
movq %rax, %r14
leaq 0x90(%rsp), %rdi
jmp 0x3abd6
movq %rax, %r14
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x3abce
callq 0x2f370
jmp 0x3abce
movq %rax, %r14
leaq 0xc0(%rsp), %rdi
callq 0x2f630
jmp 0x3abf8
movq %rax, %r14
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3ac00
callq 0x2f6c0
jmp 0x3ac00
movq %rax, %r14
movq %rbx, %rdi
callq 0x2f070
movq %r14, %rdi
callq 0x30a20
// File: /workspace/github_cpp_makefile_star2_O1/xjrueda[P]fixprime/src/FixParser.cpp
// Function: fprime::FixParser::checkSum(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
std::uint8_t FixParser::checkSum(string msg) {
        size_t startPos = msg.find("8=FIX");
        if (startPos == string::npos)
            throw runtime_error("at FixParser.checkSum: begin string did not found");
        size_t endPos = msg.find("\00110=") + 1;
        if (endPos == string::npos)
            throw runtime_error("at FixParser.checkSum: Checksum field did not found");
        string _msg = msg.substr(startPos, msg.size() - (msg.size() - endPos));
        uint8_t cs = std::accumulate(_msg.begin(), _msg.end(), static_cast<std::uint8_t> (0));
        return cs % 256;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
leaq 0x2008b(%rip), %rsi     # 0x5b18c
movl $0x5, %ecx
movq %rbx, %rdi
xorl %edx, %edx
callq 0x309b0
cmpq $-0x1, %rax
je 0x3b186
movq %rax, %r14
leaq 0x20072(%rip), %rsi     # 0x5b192
movl $0x4, %ecx
movq %rbx, %rdi
xorl %edx, %edx
callq 0x309b0
incq %rax
cmpq $-0x1, %rax
je 0x3b1a4
movq %rsp, %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
movq %rax, %rcx
callq 0x2f8b0
movq (%r15), %rdi
movq 0x8(%r15), %rax
testq %rax, %rax
je 0x3b169
xorl %ecx, %ecx
xorl %ebx, %ebx
addb (%rdi,%rcx), %bl
incq %rcx
cmpq %rcx, %rax
jne 0x3b15c
jmp 0x3b16b
xorl %ebx, %ebx
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x3b17a
callq 0x2f6c0
movl %ebx, %eax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movl $0x10, %edi
callq 0x2eae0
movq %rax, %rbx
leaq 0x20de0(%rip), %rsi     # 0x5bf7a
movq %rax, %rdi
callq 0x2e800
jmp 0x3b1c0
movl $0x10, %edi
callq 0x2eae0
movq %rax, %rbx
leaq 0x20df4(%rip), %rsi     # 0x5bfac
movq %rax, %rdi
callq 0x2e800
movq 0x36e11(%rip), %rsi     # 0x71fd8
movq 0x36bf2(%rip), %rdx     # 0x71dc0
movq %rbx, %rdi
callq 0x308f0
jmp 0x3b1d8
movq %rax, %r14
movq %rbx, %rdi
callq 0x2f150
movq %r14, %rdi
callq 0x30a20
nop
// File: /workspace/github_cpp_makefile_star2_O1/xjrueda[P]fixprime/include/FixParser.h
// Function: fprime::FixParser::FlatMessage::getMsgType[abi:cxx11]()
string getMsgType() {
                TagsMap::iterator search = tagsMap.find(35);
                if (search != tagsMap.end())
                    return search->second;
                else
                    throw runtime_error("at SerializedMessage.getMsgType: message type not specified.");
            }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x40(%rsi), %rcx
addq $0x38, %rsi
movq %rsi, %rax
testq %rcx, %rcx
je 0x3b21d
movq %rsi, %rax
xorl %edx, %edx
cmpl $0x23, 0x20(%rcx)
setb %dl
cmovaeq %rcx, %rax
movq 0x10(%rcx,%rdx,8), %rcx
testq %rcx, %rcx
jne 0x3b206
movq %rsi, %rcx
cmpq %rsi, %rax
je 0x3b230
cmpl $0x24, 0x20(%rax)
cmovaeq %rsi, %rax
movq %rax, %rcx
cmpq %rsi, %rcx
je 0x3b25a
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x28(%rcx), %rsi
movq 0x30(%rcx), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x2e8a0
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movl $0x10, %edi
callq 0x2eae0
movq %rax, %rbx
leaq 0x20d72(%rip), %rsi     # 0x5bfe0
movq %rax, %rdi
callq 0x2e800
movq 0x36d5b(%rip), %rsi     # 0x71fd8
movq 0x36b3c(%rip), %rdx     # 0x71dc0
movq %rbx, %rdi
callq 0x308f0
movq %rax, %r14
movq %rbx, %rdi
callq 0x2f150
movq %r14, %rdi
callq 0x30a20
nop
// File: /workspace/github_cpp_makefile_star2_O1/xjrueda[P]fixprime/src/Initiator.cpp
// Function: fprime::Initiator::start()
bool Initiator::start() {
        try {
            thread t1(std::bind(&Initiator::startInitiator, this));
            t1.detach();
            usleep(10000);
            return sessionRunning;
        } catch (SocketException& e) {
            //TODO: log error
            this->stop();
            return false;
        }
    }

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x36201(%rip), %rax     # 0x71ce8
leaq 0x10(%rsp), %rsi
movq %rax, (%rsi)
movq $0x0, 0x8(%rsi)
movq %rdi, 0x10(%rsi)
leaq 0x8(%rsp), %rdi
callq 0x2efa0
leaq 0x8(%rsp), %rdi
callq 0x309f0
movl $0x2710, %edi           # imm = 0x2710
callq 0x301b0
cmpq $0x0, 0x8(%rsp)
jne 0x3bb5b
movb 0x1d8(%rbx), %al
addq $0x28, %rsp
popq %rbx
popq %r14
retq
jmp 0x3bb39
cmpq $0x0, 0x8(%rsp)
jne 0x3bb5b
movq %rax, %r14
cmpl $0x1, %edx
jne 0x3bb68
movq %r14, %rdi
callq 0x2e8b0
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
callq 0x30750
xorl %eax, %eax
jmp 0x3bb27
callq 0x2e550
movq %rax, %r14
callq 0x30750
movq %r14, %rdi
callq 0x30a20
movq %rax, %rdi
callq 0x32108
// File: /workspace/github_cpp_makefile_star2_O1/xjrueda[P]fixprime/src/IntDataHolder.cpp
// Function: fprime::IntDataHolder::validate()
bool IntDataHolder::validate() {
        try {
            nativeData = boost::lexical_cast<int>(baseData);
            return true;
        } catch (boost::bad_lexical_cast& e) {
            return false;
        }
    }

// Assembly:
pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
leaq 0xc(%rsp), %rsi
movl $0x0, (%rsi)
leaq 0x12(%rsp), %rax
movq %rax, 0x6(%rax)
leaq 0x14(%rsp), %rax
movq %rax, 0xc(%rax)
movq 0x8(%rdi), %rcx
movq %rcx, 0x4(%rax)
movq 0x10(%rdi), %rdx
addq %rcx, %rdx
movq %rdx, 0xc(%rax)
leaq 0x28(%rsp), %rdi
movq %rcx, (%rdi)
movq %rdx, 0x8(%rdi)
callq 0x2f8f0
testb %al, %al
je 0x3bfe2
movl 0xc(%rsp), %eax
movl %eax, 0x28(%rbx)
movb $0x1, %al
addq $0x38, %rsp
popq %rbx
popq %r14
retq
movq 0x35e17(%rip), %rax     # 0x71e00
addq $0x10, %rax
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
movq 0x35cf4(%rip), %rax     # 0x71cf0
movq %rax, 0x8(%rdi)
movq 0x35c01(%rip), %rax     # 0x71c08
movq %rax, 0x10(%rdi)
callq 0x2fd10
movq %rdx, %r14
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x305c0
jmp 0x3c028
movq %rdx, %r14
movq %rax, %rbx
movq %rbx, %rdi
cmpl $0x1, %r14d
jne 0x3c03f
callq 0x2e8b0
callq 0x30750
xorl %eax, %eax
jmp 0x3bfda
callq 0x30a20
// File: /workspace/github_cpp_makefile_star2_O1/xjrueda[P]fixprime/include/DataHolder.h
// Function: fprime::DataHolder::toInt()
virtual int toInt() {
            try {
                return boost::lexical_cast<int>(baseData);
            } catch(exception& e) {
                throw runtime_error("Invalid data type conversion");
            }
        }

// Assembly:
pushq %r14
pushq %rbx
subq $0x38, %rsp
leaq 0xc(%rsp), %rsi
movl $0x0, (%rsi)
leaq 0x12(%rsp), %rax
movq %rax, 0x6(%rax)
leaq 0x14(%rsp), %rax
movq %rax, 0xc(%rax)
movq 0x8(%rdi), %rcx
movq %rcx, 0x4(%rax)
movq 0x10(%rdi), %rdx
addq %rcx, %rdx
movq %rdx, 0xc(%rax)
leaq 0x28(%rsp), %rdi
movq %rcx, (%rdi)
movq %rdx, 0x8(%rdi)
callq 0x2f8f0
testb %al, %al
je 0x3c0ca
movl 0xc(%rsp), %eax
addq $0x38, %rsp
popq %rbx
popq %r14
retq
movq 0x35d2f(%rip), %rax     # 0x71e00
addq $0x10, %rax
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
movq 0x35c0c(%rip), %rax     # 0x71cf0
movq %rax, 0x8(%rdi)
movq 0x35b19(%rip), %rax     # 0x71c08
movq %rax, 0x10(%rdi)
callq 0x2fd10
movq %rdx, %r14
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x305c0
jmp 0x3c110
movq %rdx, %r14
movq %rax, %rbx
cmpl $0x1, %r14d
jne 0x3c165
movq %rbx, %rdi
callq 0x2e8b0
movl $0x10, %edi
callq 0x2eae0
movq %rax, %r14
leaq 0x2006d(%rip), %rsi     # 0x5c19f
movq %rax, %rdi
callq 0x2e800
movq 0x35e97(%rip), %rsi     # 0x71fd8
movq 0x35c78(%rip), %rdx     # 0x71dc0
movq %r14, %rdi
callq 0x308f0
movq %rax, %rbx
jmp 0x3c160
movq %rax, %rbx
movq %r14, %rdi
callq 0x2f150
callq 0x30750
movq %rbx, %rdi
callq 0x30a20
movq %rax, %rdi
callq 0x32108
nop
// File: /workspace/github_cpp_makefile_star2_O1/xjrueda[P]fixprime/include/DataHolder.h
// Function: fprime::DataHolder::toUsignedInt()
virtual unsigned int toUsignedInt() {
            try {
                return boost::lexical_cast<unsigned int>(baseData);
            } catch(exception& e) {
                throw runtime_error("Invalid data type conversion");
            }
        }

// Assembly:
pushq %r14
pushq %rbx
subq $0x38, %rsp
leaq 0xc(%rsp), %rsi
movl $0x0, (%rsi)
leaq 0x12(%rsp), %rax
movq %rax, 0x6(%rax)
leaq 0x14(%rsp), %rax
movq %rax, 0xc(%rax)
movq 0x8(%rdi), %rcx
movq %rcx, 0x4(%rax)
movq 0x10(%rdi), %rdx
addq %rcx, %rdx
movq %rdx, 0xc(%rax)
leaq 0x28(%rsp), %rdi
movq %rcx, (%rdi)
movq %rdx, 0x8(%rdi)
callq 0x30fa0
testb %al, %al
je 0x3c1ce
movl 0xc(%rsp), %eax
addq $0x38, %rsp
popq %rbx
popq %r14
retq
movq 0x35c2b(%rip), %rax     # 0x71e00
addq $0x10, %rax
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
movq 0x35b08(%rip), %rax     # 0x71cf0
movq %rax, 0x8(%rdi)
movq 0x35d35(%rip), %rax     # 0x71f28
movq %rax, 0x10(%rdi)
callq 0x2fd10
movq %rdx, %r14
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x305c0
jmp 0x3c214
movq %rdx, %r14
movq %rax, %rbx
cmpl $0x1, %r14d
jne 0x3c269
movq %rbx, %rdi
callq 0x2e8b0
movl $0x10, %edi
callq 0x2eae0
movq %rax, %r14
leaq 0x1ff69(%rip), %rsi     # 0x5c19f
movq %rax, %rdi
callq 0x2e800
movq 0x35d93(%rip), %rsi     # 0x71fd8
movq 0x35b74(%rip), %rdx     # 0x71dc0
movq %r14, %rdi
callq 0x308f0
movq %rax, %rbx
jmp 0x3c264
movq %rax, %rbx
movq %r14, %rdi
callq 0x2f150
callq 0x30750
movq %rbx, %rdi
callq 0x30a20
movq %rax, %rdi
callq 0x32108
nop