// File: /workspace/github_cpp_makefile_star2_O3/xjrueda[P]fixprime/include/Session.h
// Function: fprime::Session::inboundProcessor()
void inboundProcessor() {
            try {
                setIbRunning(true);
                fprime::FixParser parser;
                parser.setProtocol(protocolPtr);
                parser.setSeparator('\001');
                while (ibpRunning) {
                    unique_lock<mutex> lock(inboundLock);
                    while (inboundQueue.empty() && ibpRunning) {
                        inboundCondition.wait(lock);
                    }

                    if (ibpRunning) {
                        string rawMsg = inboundQueue.front();
                        inboundQueue.pop();
                        lock.unlock();
                        try {

                            fprime::FixParser::FlatMessage flatMessage = parser.explode(rawMsg);
                            if (flatMessage.orderedMap[0].value != protocolPtr->getVersion())
                                throw runtime_error("Invalid Message");
                            fprime::Message fixMsg = parser.parseMessage(flatMessage);
                            string callbackKey = fixMsg.getHeader()->getChild(8)->getValue() + "-" + fixMsg.getHeader()->getChild(35)->getValue();
                            callbacksManager->executeCallback(callbackKey, fixMsg, this);

                        } catch (exception& e) {
                            cout << "error in inboundprocessor " + string(e.what()) << " in message " << rawMsg << endl;
                            //TODO log error
                        }
                    }
                }
            } catch (exception& ex) {
                // TODO: log error
                cout << "General exception in inboundprocessor " + string(ex.what()) << endl;
                this->stop();
            }
            cout << "Inbound processor stopped" << endl;
            cout.flush();
        }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x308, %rsp            # imm = 0x308
movq %rdi, %rbx
movb $0x1, 0x1d9(%rdi)
leaq 0x108(%rsp), %rdi
callq 0x2ea90
movq 0x8(%rbx), %rax
movq %rax, 0x88(%rsp)
movq 0x10(%rbx), %rax
movq %rax, 0x90(%rsp)
testq %rax, %rax
je 0x3272a
movq 0x3e73c(%rip), %rcx     # 0x70e58
cmpb $0x0, (%rcx)
je 0x32726
incl 0x8(%rax)
jmp 0x3272a
lock
incl 0x8(%rax)
leaq 0x108(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0x30e90
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x32751
callq 0x2f370
leaq 0x108(%rsp), %rdi
movl $0x1, %esi
callq 0x308f0
cmpb $0x1, 0x1d9(%rbx)
jne 0x32f65
leaq 0x1e0(%rbx), %rax
movq %rax, 0xa0(%rsp)
leaq 0x208(%rbx), %r14
leaq 0x300(%rbx), %rax
movq %rax, 0x98(%rsp)
leaq 0x28(%rsp), %r13
leaq 0x78(%rsp), %rbp
leaq 0x128(%rsp), %r12
movq 0xa0(%rsp), %rax
movq %rax, 0x78(%rsp)
movb $0x0, 0x80(%rsp)
movq %rbp, %rdi
callq 0x2fb70
movb $0x1, 0x80(%rsp)
movq 0x310(%rbx), %rax
cmpq %rax, 0x330(%rbx)
jne 0x327f2
cmpb $0x1, 0x1d9(%rbx)
jne 0x327f2
movq %r14, %rdi
movq %rbp, %rsi
callq 0x2e5b0
jmp 0x327cc
cmpb $0x1, 0x1d9(%rbx)
jne 0x32bf3
movq %r13, 0x18(%rsp)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x18(%rsp), %rdi
callq 0x2e8a0
movq 0x98(%rsp), %rdi
callq 0x2fcc0
movq %rbp, %rdi
callq 0x2e060
leaq 0x1d0(%rsp), %rax
movq %rax, 0x1c0(%rsp)
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rdx
addq %rsi, %rdx
leaq 0x1c0(%rsp), %r15
movq %r15, %rdi
callq 0x2e8a0
leaq 0x1e0(%rsp), %rdi
leaq 0x108(%rsp), %rsi
movq %r15, %rdx
callq 0x2faf0
movq 0x1c0(%rsp), %rdi
leaq 0x1d0(%rsp), %rax
cmpq %rax, %rdi
je 0x3288c
callq 0x2f6c0
movl $0x0, 0x38(%rsp)
leaq 0x1e0(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x2e3d0
movq %rax, %r13
movq 0x8(%rbx), %rsi
movq %r12, %rdi
callq 0x2fd10
movq 0x10(%r13), %rdx
cmpq 0x130(%rsp), %rdx
jne 0x328e4
movq 0x128(%rsp), %r15
testq %rdx, %rdx
je 0x328f1
movq 0x8(%r13), %rdi
movq %r15, %rsi
callq 0x2f8a0
testl %eax, %eax
setne %r13b
jmp 0x328f4
movb $0x1, %r13b
movq 0x128(%rsp), %r15
jmp 0x328f4
xorl %r13d, %r13d
leaq 0x138(%rsp), %rax
cmpq %rax, %r15
je 0x32909
movq %r15, %rdi
callq 0x2f6c0
testb %r13b, %r13b
jne 0x32c0d
leaq 0x248(%rsp), %rdi
leaq 0x1e0(%rsp), %rsi
leaq 0x28(%rsp), %r13
callq 0x2efe0
leaq 0x278(%rsp), %rdi
leaq 0x210(%rsp), %rsi
callq 0x2e480
movq 0x240(%rsp), %rax
movq %rax, 0x2a8(%rsp)
movq %r12, %rdi
leaq 0x108(%rsp), %rsi
leaq 0x248(%rsp), %r15
movq %r15, %rdx
callq 0x2f4b0
leaq 0x278(%rsp), %rdi
callq 0x2f5f0
movq %r15, %rdi
callq 0x2f630
leaq 0xe8(%rsp), %rdi
movq %r12, %rsi
callq 0x2e8c0
movq 0xe8(%rsp), %rsi
leaq 0xf8(%rsp), %rdi
movl $0x8, %edx
callq 0x2f9d0
movq 0xf8(%rsp), %rsi
leaq 0x1a0(%rsp), %rdi
callq 0x2e290
leaq 0x68(%rsp), %rax
movq %rax, 0x58(%rsp)
movq 0x1a0(%rsp), %rsi
movq 0x1a8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x58(%rsp), %r15
movq %r15, %rdi
callq 0x2e8a0
movq %r15, %rdi
leaq 0x276ec(%rip), %rsi     # 0x5a0e0
callq 0x30e50
leaq 0xc8(%rsp), %rdi
movq %r12, %rsi
callq 0x2e8c0
movq 0xc8(%rsp), %rsi
leaq 0xd8(%rsp), %rdi
movl $0x23, %edx
callq 0x2f9d0
movq 0xd8(%rsp), %rsi
leaq 0x180(%rsp), %rdi
callq 0x2e290
movq 0x180(%rsp), %rsi
movq 0x188(%rsp), %rdx
leaq 0x58(%rsp), %rdi
callq 0x2e660
leaq 0x48(%rsp), %rsi
movq %rsi, 0x38(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x32a7a
movq %rdx, 0x38(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x48(%rsp)
jmp 0x32a80
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x40(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x180(%rsp), %rdi
leaq 0x190(%rsp), %rax
cmpq %rax, %rdi
je 0x32ab2
callq 0x2f6c0
movq 0xe0(%rsp), %rdi
testq %rdi, %rdi
je 0x32ac4
callq 0x2f370
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0x32ad6
callq 0x2f370
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x32aea
callq 0x2f6c0
movq 0x1a0(%rsp), %rdi
leaq 0x1b0(%rsp), %rax
cmpq %rax, %rdi
je 0x32b04
callq 0x2f6c0
movq 0x100(%rsp), %rdi
testq %rdi, %rdi
je 0x32b16
callq 0x2f370
movq 0xf0(%rsp), %rdi
testq %rdi, %rdi
je 0x32b28
callq 0x2f370
movq 0x18(%rbx), %r15
leaq 0xb8(%rsp), %rax
movq %rax, 0xa8(%rsp)
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
addq %rsi, %rdx
leaq 0xa8(%rsp), %rdi
callq 0x2e8a0
leaq 0x2b0(%rsp), %r12
movq %r12, %rdi
leaq 0x128(%rsp), %rsi
callq 0x2ec60
movq %r15, %rdi
leaq 0xa8(%rsp), %rsi
movq %r12, %rdx
movq %rbx, %rcx
callq 0x30940
movq %r12, %rdi
callq 0x2f070
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x32ba6
callq 0x2f6c0
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
leaq 0x128(%rsp), %r12
je 0x32bc2
callq 0x2f6c0
movq %r12, %rdi
callq 0x2f070
leaq 0x210(%rsp), %rdi
callq 0x2f5f0
leaq 0x1e0(%rsp), %rdi
callq 0x2f630
movq 0x18(%rsp), %rdi
cmpq %r13, %rdi
je 0x32bf3
callq 0x2f6c0
movq %rbp, %rdi
callq 0x2e720
cmpb $0x0, 0x1d9(%rbx)
jne 0x327a7
jmp 0x32f65
movl $0x10, %edi
callq 0x2eae0
movq %rax, %r15
movq %rax, %rdi
leaq 0x274ac(%rip), %rsi     # 0x5a0d0
callq 0x2e800
movq %r15, %rdi
movq 0x3e3a5(%rip), %rsi     # 0x70fd8
movq 0x3e186(%rip), %rdx     # 0x70dc0
callq 0x308e0
jmp 0x32fce
movq %rdx, 0x8(%rsp)
movq %rax, %r15
jmp 0x32c5e
movq %rdx, 0x8(%rsp)
movq %r15, %rdi
movq %rax, %r15
callq 0x2f150
leaq 0x28(%rsp), %r13
leaq 0x128(%rsp), %r12
jmp 0x32dc3
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
movq %r12, %rdi
callq 0x2f070
jmp 0x32c8e
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x32cb4
callq 0x2f6c0
jmp 0x32cb4
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x32da9
callq 0x2f6c0
jmp 0x32da9
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
movq 0x180(%rsp), %rdi
leaq 0x190(%rsp), %rax
cmpq %rax, %rdi
je 0x32d01
callq 0x2f6c0
jmp 0x32d01
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
movq 0xe0(%rsp), %rdi
testq %rdi, %rdi
je 0x32d1f
callq 0x2f370
jmp 0x32d1f
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0x32d3f
callq 0x2f370
jmp 0x32d3f
jmp 0x32d35
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x32d5f
callq 0x2f6c0
jmp 0x32d5f
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
movq 0x1a0(%rsp), %rdi
leaq 0x1b0(%rsp), %rax
cmpq %rax, %rdi
je 0x32d85
callq 0x2f6c0
jmp 0x32d85
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
movq 0x100(%rsp), %rdi
testq %rdi, %rdi
je 0x32d97
callq 0x2f370
movq 0xf0(%rsp), %rdi
testq %rdi, %rdi
je 0x32da9
callq 0x2f370
leaq 0x128(%rsp), %r12
movq %r12, %rdi
callq 0x2f070
leaq 0x28(%rsp), %r13
movq 0x10(%rsp), %r15
leaq 0x210(%rsp), %rdi
callq 0x2f5f0
leaq 0x1e0(%rsp), %rdi
callq 0x2f630
cmpl $0x1, 0x8(%rsp)
jne 0x33057
movq %r15, %rdi
callq 0x2e8b0
movq (%rax), %rcx
movq %rax, %rdi
callq *0x10(%rcx)
movq %r12, %rdi
movq %rax, %rsi
leaq 0x38(%rsp), %rdx
callq 0x2e880
leaq 0x1e0(%rsp), %rdi
leaq 0x272ca(%rip), %rsi     # 0x5a0e2
movq %r12, %rdx
callq 0x30830
movq 0x1e0(%rsp), %rsi
movq 0x1e8(%rsp), %rdx
movq 0x3e029(%rip), %rdi     # 0x70e60
callq 0x2fb10
movq %rax, %r15
movl $0xc, %edx
movq %rax, %rdi
leaq 0x272af(%rip), %rsi     # 0x5a0fd
callq 0x2fb10
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq %r15, %rdi
callq 0x2fb10
movq %rax, %rdi
callq 0x2eab0
movq 0x1e0(%rsp), %rdi
leaq 0x1f0(%rsp), %rax
cmpq %rax, %rdi
je 0x32e87
callq 0x2f6c0
movq 0x128(%rsp), %rdi
leaq 0x138(%rsp), %rax
cmpq %rax, %rdi
je 0x32ea1
callq 0x2f6c0
callq 0x30740
jmp 0x32be4
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
jmp 0x32d97
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
jmp 0x32da9
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
leaq 0x278(%rsp), %rdi
callq 0x2f5f0
movq %r15, %rdi
jmp 0x32ef7
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
leaq 0x248(%rsp), %rdi
callq 0x2f630
jmp 0x32dbe
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
jmp 0x32dbe
jmp 0x32f12
movq %rdx, 0x8(%rsp)
movq %rax, %r15
leaq 0x28(%rsp), %r13
jmp 0x32dc3
movq %rdx, 0x8(%rsp)
movq %rax, %r15
movq 0x1c0(%rsp), %rdi
leaq 0x1d0(%rsp), %rax
cmpq %rax, %rdi
je 0x32f46
callq 0x2f6c0
leaq 0x28(%rsp), %r13
leaq 0x128(%rsp), %r12
jmp 0x32ddd
movq %rdx, 0x8(%rsp)
movq %rax, %r15
jmp 0x32ddd
leaq 0x108(%rsp), %rdi
callq 0x2fa00
movq 0x3dee7(%rip), %rbx     # 0x70e60
leaq 0x271b1(%rip), %rsi     # 0x5a131
movl $0x19, %edx
movq %rbx, %rdi
callq 0x2fb10
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2f710
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2e080
movq %rax, %rdi
callq 0x2f0a0
movq %rbx, %rdi
callq 0x2f0a0
addq $0x308, %rsp            # imm = 0x308
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3304f
movq %rdx, 0x8(%rsp)
movq %rax, %r15
movq 0x1e0(%rsp), %rdi
leaq 0x1f0(%rsp), %rax
cmpq %rax, %rdi
je 0x32ffc
callq 0x2f6c0
jmp 0x32ffc
movq %rdx, 0x8(%rsp)
movq %rax, %r15
movq 0x128(%rsp), %rdi
leaq 0x138(%rsp), %rax
cmpq %rax, %rdi
je 0x33020
callq 0x2f6c0
jmp 0x33020
movq %rdx, 0x8(%rsp)
movq %rax, %r15
callq 0x30740
jmp 0x33057
jmp 0x33081
movq %rdx, 0x8(%rsp)
movq %rax, %r15
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x33089
callq 0x2f370
jmp 0x33089
movq %rdx, 0x8(%rsp)
movq %rax, %r15
jmp 0x33096
movq %rdx, 0x8(%rsp)
movq %rax, %r15
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x33075
callq 0x2f6c0
jmp 0x33075
movq %rdx, 0x8(%rsp)
movq %rax, %r15
leaq 0x78(%rsp), %rdi
callq 0x2e720
jmp 0x33089
movq %rdx, 0x8(%rsp)
movq %rax, %r15
leaq 0x108(%rsp), %rdi
callq 0x2fa00
cmpl $0x1, 0x8(%rsp)
jne 0x33189
movq %r15, %rdi
callq 0x2e8b0
movq (%rax), %rcx
movq %rax, %rdi
callq *0x10(%rcx)
leaq 0x128(%rsp), %rdi
leaq 0x108(%rsp), %rdx
movq %rax, %rsi
callq 0x2e880
leaq 0x27039(%rip), %rsi     # 0x5a10a
leaq 0x1e0(%rsp), %rdi
leaq 0x128(%rsp), %rdx
callq 0x30830
movq 0x1e0(%rsp), %rsi
movq 0x1e8(%rsp), %rdx
movq 0x3dd63(%rip), %rdi     # 0x70e60
callq 0x2fb10
movq %rax, %rdi
callq 0x2eab0
leaq 0x1f0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x33120
callq 0x2f6c0
leaq 0x138(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x33136
callq 0x2f6c0
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
callq 0x30740
jmp 0x32f72
jmp 0x33150
movq %rax, %r15
jmp 0x3316e
movq %rax, %r15
jmp 0x33184
movq %rax, %r15
leaq 0x1f0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3316e
callq 0x2f6c0
leaq 0x138(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x33184
callq 0x2f6c0
callq 0x30740
movq %r15, %rdi
callq 0x30a10
movq %rax, %rdi
callq 0x320e8
nop