// File: 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 %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x40(%rbp)
movq $0x0, -0x20(%rbp)
addq $0x2e0, %rdi            # imm = 0x2E0
callq 0xa1590
cmpq $0x2, %rax
jae 0xa8adb
movb $0x0, -0x1(%rbp)
jmp 0xa8d41
movq -0x40(%rbp), %rdi
addq $0x2e0, %rdi            # imm = 0x2E0
leaq 0x59665(%rip), %rsi     # 0x102152
xorl %eax, %eax
movl %eax, %edx
callq 0xa4c70
movq %rax, -0x20(%rbp)
cmpq $-0x1, -0x20(%rbp)
jne 0xa8b0a
movb $0x0, -0x1(%rbp)
jmp 0xa8d41
movq -0x40(%rbp), %rdi
addq $0x2e0, %rdi            # imm = 0x2E0
movq -0x20(%rbp), %rdx
xorl %eax, %eax
movl %eax, %esi
callq 0x98230
jmp 0xa8b24
movq -0x40(%rbp), %rdi
movl $0x0, -0x30(%rbp)
movq %rdi, %rcx
addq $0x2e0, %rcx            # imm = 0x2E0
leaq -0x30(%rbp), %rsi
leaq -0x20(%rbp), %rdx
callq 0xa2a20
movb %al, -0x41(%rbp)
jmp 0xa8b4b
movb -0x41(%rbp), %al
testb $0x1, %al
jne 0xa8b57
jmp 0xa8ca6
movq -0x40(%rbp), %rdi
movslq -0x30(%rbp), %rax
addq -0x20(%rbp), %rax
movq %rax, -0x20(%rbp)
addq $0x2e0, %rdi            # imm = 0x2E0
callq 0x9b8b0
cmpq -0x20(%rbp), %rax
jae 0xa8bec
movb $0x0, -0x1(%rbp)
jmp 0xa8d41
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0xa8d2e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
movl $0x1, %ecx
cmpl %ecx, %eax
jne 0xa8d2e
movq -0x28(%rbp), %rdi
callq 0x99540
movq %rax, -0x38(%rbp)
cmpl $0x0, -0x30(%rbp)
jle 0xa8cb9
movq -0x40(%rbp), %rdi
addq $0x2e0, %rdi            # imm = 0x2E0
movq -0x20(%rbp), %rdx
movslq -0x30(%rbp), %rax
addq %rax, %rdx
xorl %eax, %eax
movl %eax, %esi
callq 0x98230
jmp 0xa8be7
jmp 0xa8cd8
movq -0x40(%rbp), %rdi
addq $0x2e0, %rdi            # imm = 0x2E0
movq -0x20(%rbp), %rdx
subq $0x1, %rdx
leaq 0x59552(%rip), %rsi     # 0x102158
callq 0xa4c70
movq %rax, -0x20(%rbp)
cmpq $-0x1, -0x20(%rbp)
jne 0xa8c1f
movb $0x0, -0x1(%rbp)
jmp 0xa8d41
movq -0x40(%rbp), %rdi
movq -0x20(%rbp), %rax
addq $0x4, %rax
movq %rax, -0x20(%rbp)
addq $0x2e0, %rdi            # imm = 0x2E0
movq -0x20(%rbp), %rdx
leaq 0x5951c(%rip), %rsi     # 0x10215d
callq 0xa4c70
movq %rax, -0x20(%rbp)
cmpq $-0x1, -0x20(%rbp)
jne 0xa8c5a
movb $0x0, -0x1(%rbp)
jmp 0xa8d41
movq -0x40(%rbp), %rsi
movq -0x20(%rbp), %rax
incq %rax
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rdi
addq $0x2e0, %rsi            # imm = 0x2E0
movq -0x20(%rbp), %rcx
xorl %eax, %eax
movl %eax, %edx
callq 0x9a220
jmp 0xa8c83
movq -0x40(%rbp), %rdi
addq $0x2e0, %rdi            # imm = 0x2E0
movq -0x20(%rbp), %rdx
xorl %eax, %eax
movl %eax, %esi
callq 0x98230
jmp 0xa8c9d
movb $0x1, -0x1(%rbp)
jmp 0xa8d41
jmp 0xa8d3d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0xa8d25
movq -0x40(%rbp), %rdi
addq $0x2e0, %rdi            # imm = 0x2E0
xorl %eax, %eax
movl %eax, %esi
movq $-0x1, %rdx
callq 0x98230
jmp 0xa8cd6
jmp 0xa8cd8
movl $0x28, %edi
callq 0x99e80
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x50(%rbp)
movq -0x38(%rbp), %rsi
callq 0xa42c0
jmp 0xa8cf7
movq -0x50(%rbp), %rdi
movq 0x8a1c6(%rip), %rsi     # 0x132ec8
movq 0x8a1af(%rip), %rdx     # 0x132eb8
callq 0xa2fe0
jmp 0xa8d5d
movq -0x50(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
callq 0x9b9c0
callq 0xa2520
jmp 0xa8d2c
jmp 0xa8d2e
cmpl $0x0, -0x2c(%rbp)
jge 0xa8d4c
movq -0x28(%rbp), %rdi
callq 0x9fb00
movb $0x0, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x50, %rsp
popq %rbp
retq
movq -0x28(%rbp), %rdi
callq 0xa3520
movq %rax, %rdi
callq 0xa6900
nopl (%rax)