// File: /workspace/github_cpp_makefile_star2_O2/xjrueda[P]fixprime/include/Session.h
// Function: fprime::Session::getRawFixMessage(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool getRawFixMessage(std::string& str) throw (RawMessageException) {
            std::string::size_type pos = 0;

            if (strBuffer.length() < 2) return false;
            pos = strBuffer.find("8=FIX");
            if (pos == std::string::npos) return false;
            strBuffer.erase(0, pos);

            int length = 0;

            try {
                if (getLength(length, pos, strBuffer)) {
                    pos += length;
                    if (strBuffer.size() < pos)
                        return false;

                    pos = strBuffer.find("\00110=", pos - 1);
                    if (pos == std::string::npos) return false;
                    pos += 4;
                    pos = strBuffer.find("\001", pos);
                    if (pos == std::string::npos) return false;
                    pos += 1;

                    str.assign(strBuffer, 0, pos);
                    strBuffer.erase(0, pos);
                    return true;
                }
            } catch (RawMessageException& e) {
                if (length > 0)
                    strBuffer.erase(0, pos + length);
                else
                    strBuffer.erase();

                throw e;
            }

            return false;
        }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
cmpq $0x2, 0x2e8(%rdi)
jb 0x44976
movq %rsi, %r14
movq %rdi, %r12
leaq 0x2e0(%rdi), %rbx
leaq 0x2089f(%rip), %rsi     # 0x65152
xorl %r15d, %r15d
movq %rbx, %rdi
xorl %edx, %edx
callq 0x42aa0
movq %rax, 0x8(%rsp)
cmpq $-0x1, %rax
je 0x44979
movq %rbx, %rdi
xorl %esi, %esi
movq %rax, %rdx
callq 0x3e6e0
leaq 0x14(%rsp), %rsi
andl $0x0, (%rsi)
leaq 0x8(%rsp), %rdx
movq %r12, %rdi
movq %rbx, %rcx
callq 0x41e40
testb %al, %al
je 0x44976
movslq 0x14(%rsp), %rdx
addq 0x8(%rsp), %rdx
movq %rdx, 0x8(%rsp)
cmpq %rdx, 0x2e8(%r12)
jb 0x44976
decq %rdx
leaq 0x2083d(%rip), %rsi     # 0x65158
movq %rbx, %rdi
callq 0x42aa0
cmpq $-0x1, %rax
je 0x44976
addq $0x4, %rax
movq %rax, 0x8(%rsp)
leaq 0x20824(%rip), %rsi     # 0x6515d
movq %rbx, %rdi
movq %rax, %rdx
callq 0x42aa0
cmpq $-0x1, %rax
je 0x44976
incq %rax
movq %rax, 0x8(%rsp)
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x3f250
movb $0x1, %r15b
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x3e6e0
jmp 0x44979
xorl %r15d, %r15d
movl %r15d, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rdx, %r15
movq %rax, %r14
jmp 0x44a0f
movq %rdx, %r15
movq %rax, %r14
cmpl $0x1, %r15d
jne 0x44a0f
movq %r14, %rdi
callq 0x3ed90
movq %rax, %r14
movslq 0x14(%rsp), %rax
movq 0x8(%rsp), %rcx
addq %rax, %rcx
testq %rax, %rax
pushq $-0x1
popq %rdx
cmovgq %rcx, %rdx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x3e6e0
pushq $0x28
popq %rdi
callq 0x3f0e0
movq %rax, %rbx
movq %rax, %rdi
movq %r14, %rsi
callq 0x426a0
movq 0x3a4fb(%rip), %rsi     # 0x7eee0
movq 0x3a4e4(%rip), %rdx     # 0x7eed0
movq %rbx, %rdi
callq 0x42050
movq %rdx, %r15
movq %rax, %r14
movq %rbx, %rdi
callq 0x3faf0
jmp 0x44a0a
movq %rdx, %r15
movq %rax, %r14
callq 0x41d30
movq %r14, %rdi
testl %r15d, %r15d
jns 0x44a1c
callq 0x40f80
callq 0x42200
movq %rax, %rdi
callq 0x43915
nop