// File: /workspace/github_cpp_makefile_star2_O1/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 0x32746
movq 0x3f720(%rip), %rcx     # 0x71e58
cmpb $0x0, (%rcx)
je 0x32742
incl 0x8(%rax)
jmp 0x32746
lock
incl 0x8(%rax)
leaq 0x108(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0x30ea0
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x3276d
callq 0x2f370
leaq 0x108(%rsp), %rdi
movl $0x1, %esi
callq 0x30900
cmpb $0x1, 0x1d9(%rbx)
jne 0x32f97
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 0x2fb80
movb $0x1, 0x80(%rsp)
movq 0x310(%rbx), %rax
cmpq %rax, 0x330(%rbx)
jne 0x3280e
cmpb $0x1, 0x1d9(%rbx)
jne 0x3280e
movq %r14, %rdi
movq %rbp, %rsi
callq 0x2e5b0
jmp 0x327e8
cmpb $0x1, 0x1d9(%rbx)
jne 0x32c1a
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 0x2fcd0
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 0x2fb00
movq 0x1c0(%rsp), %rdi
leaq 0x1d0(%rsp), %rax
cmpq %rax, %rdi
je 0x328a8
callq 0x2f6c0
movl $0x0, 0x38(%rsp)
leaq 0x1e0(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x2e3d0
movq %rax, %r15
movq 0x8(%rbx), %rsi
movq %r12, %rdi
callq 0x2fd20
movq 0x10(%r15), %rdx
movb $0x1, %r13b
cmpq 0x130(%rsp), %rdx
leaq 0x248(%rsp), %rcx
jne 0x32913
testq %rdx, %rdx
je 0x32910
movq 0x128(%rsp), %rsi
movq 0x8(%r15), %rdi
callq 0x2f8a0
leaq 0x248(%rsp), %rcx
testl %eax, %eax
setne %r13b
jmp 0x32913
xorl %r13d, %r13d
movq 0x128(%rsp), %rdi
leaq 0x138(%rsp), %rax
cmpq %rax, %rdi
je 0x32935
callq 0x2f6c0
leaq 0x248(%rsp), %rcx
testb %r13b, %r13b
jne 0x32c34
movq %rcx, %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 0x286c5(%rip), %rsi     # 0x5b0e0
callq 0x30e60
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 0x32aa1
movq %rdx, 0x38(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x48(%rsp)
jmp 0x32aa7
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 0x32ad9
callq 0x2f6c0
movq 0xe0(%rsp), %rdi
testq %rdi, %rdi
je 0x32aeb
callq 0x2f370
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0x32afd
callq 0x2f370
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x32b11
callq 0x2f6c0
movq 0x1a0(%rsp), %rdi
leaq 0x1b0(%rsp), %rax
cmpq %rax, %rdi
je 0x32b2b
callq 0x2f6c0
movq 0x100(%rsp), %rdi
testq %rdi, %rdi
je 0x32b3d
callq 0x2f370
movq 0xf0(%rsp), %rdi
testq %rdi, %rdi
je 0x32b4f
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 0x30950
movq %r12, %rdi
callq 0x2f070
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x32bcd
callq 0x2f6c0
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
leaq 0x128(%rsp), %r12
je 0x32be9
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 0x32c1a
callq 0x2f6c0
movq %rbp, %rdi
callq 0x2e720
cmpb $0x0, 0x1d9(%rbx)
jne 0x327c3
jmp 0x32f97
movl $0x10, %edi
callq 0x2eae0
movq %rax, %r15
movq %rax, %rdi
leaq 0x28485(%rip), %rsi     # 0x5b0d0
callq 0x2e800
movq %r15, %rdi
movq 0x3f37e(%rip), %rsi     # 0x71fd8
movq 0x3f15f(%rip), %rdx     # 0x71dc0
callq 0x308f0
jmp 0x33000
movq %rdx, 0x8(%rsp)
movq %rax, %r15
jmp 0x32c85
movq %rdx, 0x8(%rsp)
movq %r15, %rdi
movq %rax, %r15
callq 0x2f150
leaq 0x28(%rsp), %r13
leaq 0x128(%rsp), %r12
jmp 0x32dea
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
movq %r12, %rdi
callq 0x2f070
jmp 0x32cb5
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x32cdb
callq 0x2f6c0
jmp 0x32cdb
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x32dd0
callq 0x2f6c0
jmp 0x32dd0
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
movq 0x180(%rsp), %rdi
leaq 0x190(%rsp), %rax
cmpq %rax, %rdi
je 0x32d28
callq 0x2f6c0
jmp 0x32d28
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
movq 0xe0(%rsp), %rdi
testq %rdi, %rdi
je 0x32d46
callq 0x2f370
jmp 0x32d46
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0x32d66
callq 0x2f370
jmp 0x32d66
jmp 0x32d5c
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x32d86
callq 0x2f6c0
jmp 0x32d86
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
movq 0x1a0(%rsp), %rdi
leaq 0x1b0(%rsp), %rax
cmpq %rax, %rdi
je 0x32dac
callq 0x2f6c0
jmp 0x32dac
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
movq 0x100(%rsp), %rdi
testq %rdi, %rdi
je 0x32dbe
callq 0x2f370
movq 0xf0(%rsp), %rdi
testq %rdi, %rdi
je 0x32dd0
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 0x33089
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 0x282a3(%rip), %rsi     # 0x5b0e2
movq %r12, %rdx
callq 0x30840
movq 0x1e0(%rsp), %rsi
movq 0x1e8(%rsp), %rdx
movq 0x3f002(%rip), %rdi     # 0x71e60
callq 0x2fb20
movq %rax, %r15
movl $0xc, %edx
movq %rax, %rdi
leaq 0x28288(%rip), %rsi     # 0x5b0fd
callq 0x2fb20
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq %r15, %rdi
callq 0x2fb20
movq %rax, %rdi
callq 0x2eab0
movq 0x1e0(%rsp), %rdi
leaq 0x1f0(%rsp), %rax
cmpq %rax, %rdi
je 0x32eae
callq 0x2f6c0
movq 0x128(%rsp), %rdi
leaq 0x138(%rsp), %rax
cmpq %rax, %rdi
je 0x32ec8
callq 0x2f6c0
callq 0x30750
jmp 0x32c0b
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
jmp 0x32dbe
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
jmp 0x32dd0
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
leaq 0x278(%rsp), %rdi
callq 0x2f5f0
movq %r15, %rdi
jmp 0x32f1e
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
leaq 0x248(%rsp), %rdi
callq 0x2f630
jmp 0x32de5
movq %rdx, 0x8(%rsp)
movq %rax, 0x10(%rsp)
jmp 0x32de5
movq %rdx, 0x8(%rsp)
movq %rax, %r15
leaq 0x28(%rsp), %r13
jmp 0x32dea
movq %rdx, 0x8(%rsp)
movq %rax, %r15
jmp 0x32dea
movq %rdx, 0x8(%rsp)
movq %rax, %r15
movq 0x1c0(%rsp), %rdi
leaq 0x1d0(%rsp), %rax
cmpq %rax, %rdi
je 0x32f78
callq 0x2f6c0
leaq 0x28(%rsp), %r13
leaq 0x128(%rsp), %r12
jmp 0x32e04
movq %rdx, 0x8(%rsp)
movq %rax, %r15
jmp 0x32e04
leaq 0x108(%rsp), %rdi
callq 0x2fa00
movq 0x3eeb5(%rip), %rbx     # 0x71e60
leaq 0x2817f(%rip), %rsi     # 0x5b131
movl $0x19, %edx
movq %rbx, %rdi
callq 0x2fb20
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 0x33081
movq %rdx, 0x8(%rsp)
movq %rax, %r15
movq 0x1e0(%rsp), %rdi
leaq 0x1f0(%rsp), %rax
cmpq %rax, %rdi
je 0x3302e
callq 0x2f6c0
jmp 0x3302e
movq %rdx, 0x8(%rsp)
movq %rax, %r15
movq 0x128(%rsp), %rdi
leaq 0x138(%rsp), %rax
cmpq %rax, %rdi
je 0x33052
callq 0x2f6c0
jmp 0x33052
movq %rdx, 0x8(%rsp)
movq %rax, %r15
callq 0x30750
jmp 0x33089
jmp 0x330b3
movq %rdx, 0x8(%rsp)
movq %rax, %r15
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x330bb
callq 0x2f370
jmp 0x330bb
movq %rdx, 0x8(%rsp)
movq %rax, %r15
jmp 0x330c8
movq %rdx, 0x8(%rsp)
movq %rax, %r15
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x330a7
callq 0x2f6c0
jmp 0x330a7
movq %rdx, 0x8(%rsp)
movq %rax, %r15
leaq 0x78(%rsp), %rdi
callq 0x2e720
jmp 0x330bb
movq %rdx, 0x8(%rsp)
movq %rax, %r15
leaq 0x108(%rsp), %rdi
callq 0x2fa00
cmpl $0x1, 0x8(%rsp)
jne 0x331bb
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 0x28007(%rip), %rsi     # 0x5b10a
leaq 0x1e0(%rsp), %rdi
leaq 0x128(%rsp), %rdx
callq 0x30840
movq 0x1e0(%rsp), %rsi
movq 0x1e8(%rsp), %rdx
movq 0x3ed31(%rip), %rdi     # 0x71e60
callq 0x2fb20
movq %rax, %rdi
callq 0x2eab0
leaq 0x1f0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x33152
callq 0x2f6c0
leaq 0x138(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x33168
callq 0x2f6c0
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
callq 0x30750
jmp 0x32fa4
jmp 0x33182
movq %rax, %r15
jmp 0x331a0
movq %rax, %r15
jmp 0x331b6
movq %rax, %r15
leaq 0x1f0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x331a0
callq 0x2f6c0
leaq 0x138(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x331b6
callq 0x2f6c0
callq 0x30750
movq %r15, %rdi
callq 0x30a20
movq %rax, %rdi
callq 0x32108
nop