// File: /workspace/github_cpp_makefile_star2_O1/zeeev[P]DASVC/bamtools/src/api/internal/index/BamStandardIndex_p.cpp
// Function: BamTools::Internal::BamStandardIndex::Create()
bool BamStandardIndex::Create(void) {

    // skip if BamReader is invalid or not open
    if ( m_reader == 0 || !m_reader->IsOpen() ) {
        SetErrorString("BamStandardIndex::Create", "could not create index: reader is not open");
        return false;
    }

    // rewind BamReader
    if ( !m_reader->Rewind() ) {
        const string readerError = m_reader->GetErrorString();
        const string message = "could not create index: \n\t" + readerError;
        SetErrorString("BamStandardIndex::Create", message);
        return false;
    }

    try {

        // open new index file (read & write)
        string indexFilename = m_reader->Filename() + Extension();
        OpenFile(indexFilename, IBamIODevice::ReadWrite);

        // initialize BaiFileSummary with number of references
        const int& numReferences = m_reader->GetReferenceCount();
        ReserveForSummary(numReferences);

        // initialize output file
        WriteHeader();

        // set up bin, ID, offset, & coordinate markers
        const uint32_t defaultValue = 0xffffffffu;
        uint32_t currentBin    = defaultValue;
        uint32_t lastBin       = defaultValue;
        int32_t  currentRefID  = defaultValue;
        int32_t  lastRefID     = defaultValue;
        uint64_t currentOffset = (uint64_t)m_reader->Tell();
        uint64_t lastOffset    = currentOffset;
        int32_t  lastPosition  = defaultValue;

        // iterate through alignments in BAM file
        BamAlignment al;
        BaiReferenceEntry refEntry;
        while ( m_reader->LoadNextAlignment(al) ) {

            // changed to new reference
            if ( lastRefID != al.RefID ) {

                // if not first reference, save previous reference data
                if ( lastRefID != (int32_t)defaultValue ) {

                    SaveAlignmentChunkToBin(refEntry.Bins, currentBin, currentOffset, lastOffset);
                    WriteReferenceEntry(refEntry);
                    ClearReferenceEntry(refEntry);

                    // write any empty references between (but *NOT* including) lastRefID & al.RefID
                    for ( int i = lastRefID+1; i < al.RefID; ++i ) {
                        BaiReferenceEntry emptyEntry(i);
                        WriteReferenceEntry(emptyEntry);
                    }

                    // update bin markers
                    currentOffset = lastOffset;
                    currentBin    = al.Bin;
                    lastBin       = al.Bin;
                    currentRefID  = al.RefID;
                }

                // otherwise, this is first pass
                // be sure to write any empty references up to (but *NOT* including) current RefID
                else {
                    for ( int i = 0; i < al.RefID; ++i ) {
                        BaiReferenceEntry emptyEntry(i);
                        WriteReferenceEntry(emptyEntry);
                    }
                }

                // update reference markers
                refEntry.ID = al.RefID;
                lastRefID   = al.RefID;
                lastBin     = defaultValue;
            }

            // if lastPosition greater than current alignment position - file not sorted properly
            else if ( lastPosition > al.Position ) {
                stringstream s("");
                s << "BAM file is not properly sorted by coordinate" << endl
                  << "Current alignment position: " << al.Position
                  << " < previous alignment position: " << lastPosition
                  << " on reference ID: " << al.RefID << endl;
                SetErrorString("BamStandardIndex::Create", s.str());
                return false;
            }

            // if alignment's ref ID is valid & its bin is not a 'leaf'
            if ( (al.RefID >= 0) && (al.Bin < 4681) )
                SaveLinearOffsetEntry(refEntry.LinearOffsets, al.Position, al.GetEndPosition(), lastOffset);

            // changed to new BAI bin
            if ( al.Bin != lastBin ) {

                // if not first bin on reference, save previous bin data
                if ( currentBin != defaultValue )
                    SaveAlignmentChunkToBin(refEntry.Bins, currentBin, currentOffset, lastOffset);

                // update markers
                currentOffset = lastOffset;
                currentBin    = al.Bin;
                lastBin       = al.Bin;
                currentRefID  = al.RefID;

                // if invalid RefID, break out
                if ( currentRefID < 0 )
                    break;
            }

            // make sure that current file pointer is beyond lastOffset
            if ( m_reader->Tell() <= (int64_t)lastOffset ) {
                SetErrorString("BamStandardIndex::Create", "calculating offsets failed");
                return false;
            }

            // update lastOffset & lastPosition
            lastOffset   = m_reader->Tell();
            lastPosition = al.Position;
        }

        // after finishing alignments, if any data was read, check:
        if ( lastOffset != currentOffset ) {

            // store last alignment chunk to its bin, then write last reference entry with data
            SaveAlignmentChunkToBin(refEntry.Bins, currentBin, currentOffset, lastOffset);
            WriteReferenceEntry(refEntry);
        }

        // then write any empty references remaining at end of file
        for ( int i = currentRefID+1; i < numReferences; ++i ) {
            BaiReferenceEntry emptyEntry(i);
            WriteReferenceEntry(emptyEntry);
        }

    } catch ( BamException& e) {
        m_errorString = e.what();
        return false;
    }

    // rewind BamReader
    if ( !m_reader->Rewind() ) {
        const string readerError = m_reader->GetErrorString();
        const string message = "could not create index: \n\t" + readerError;
        SetErrorString("BamStandardIndex::Create", message);
        return false;
    }

    // return success
    return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x3c8, %rsp            # imm = 0x3C8
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0x3ee3a
callq 0x27b00
testb %al, %al
je 0x3ee3a
movq 0x8(%rbx), %rdi
callq 0x28a70
testb %al, %al
je 0x3eec9
movq 0x8(%rbx), %rsi
leaq 0xa0(%rsp), %rdi
callq 0x27dc0
leaq 0x240(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x2c5b7(%rip), %rax     # 0x6afa0
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x230(%rsp), %rdi
callq 0x267c0
leaq 0x3a8(%rsp), %rdi
leaq 0xa0(%rsp), %rsi
leaq 0x230(%rsp), %rdx
callq 0x29130
movq 0x230(%rsp), %rdi
cmpq %r14, %rdi
je 0x3ea2f
callq 0x27560
leaq 0xb0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3ea45
callq 0x27560
leaq 0x3a8(%rsp), %rsi
movq %rbx, %rdi
movl $0x3, %edx
callq 0x28810
movq 0x8(%rbx), %rdi
callq 0x27930
movl %eax, 0x14(%rsp)
leaq 0x38(%rbx), %rdi
movq 0x38(%rbx), %rax
cmpq %rax, 0x40(%rbx)
je 0x3ea79
movq %rax, 0x40(%rbx)
movslq 0x14(%rsp), %rsi
xorps %xmm0, %xmm0
leaq 0xa0(%rsp), %rdx
movaps %xmm0, (%rdx)
movq $0x0, 0x10(%rdx)
callq 0x28640
movq %rbx, %rdi
callq 0x26d00
movl $0xffffffff, 0x4(%rsp)  # imm = 0xFFFFFFFF
movq 0x8(%rbx), %rdi
callq 0x26a70
movq %rax, 0x20(%rsp)
movq %rax, 0x8(%rsp)
leaq 0x230(%rsp), %rdi
callq 0x265e0
leaq 0x60(%rsp), %rax
movl $0xffffffff, -0x10(%rax) # imm = 0xFFFFFFFF
movl $0x0, (%rax)
movq $0x0, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x30(%rax)
leaq 0x8(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x28(%rsp)
leaq 0x4(%rsp), %rax
movl (%rax), %eax
movl %eax, 0x18(%rsp)
leaq 0xd0(%rsp), %r14
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
leaq 0xa0(%rsp), %r13
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
movl $0xffffffff, 0x1c(%rsp) # imm = 0xFFFFFFFF
movq 0x8(%rbx), %rdi
leaq 0x230(%rsp), %rsi
callq 0x26ea0
testb %al, %al
je 0x3ef79
cmpl 0x2d8(%rsp), %r12d
jne 0x3eb70
movl 0x1c(%rsp), %eax
cmpl 0x2dc(%rsp), %eax
jle 0x3ed59
jmp 0x3f131
cmpl $-0x1, %r12d
je 0x3ec99
leaq 0x58(%rsp), %rsi
leaq 0x4(%rsp), %rdx
leaq 0x20(%rsp), %rcx
leaq 0x8(%rsp), %r8
callq 0x28d50
movq %rbx, %rdi
leaq 0x50(%rsp), %rsi
leaq 0x58(%rsp), %rdx
callq 0x27390
movq %rbx, %rdi
leaq 0x50(%rsp), %rsi
leaq 0x88(%rsp), %rdx
callq 0x28720
leaq 0x50(%rsp), %rsi
callq 0x26c60
incl %r12d
movl 0x2d8(%rsp), %r15d
cmpl %r15d, %r12d
leaq 0xa8(%rsp), %rbp
jge 0x3ec7a
movl %r12d, 0xa0(%rsp)
movl $0x0, 0xb0(%rsp)
movq $0x0, 0xb8(%rsp)
leaq 0xb0(%rsp), %rax
movq %rax, 0xc0(%rsp)
movq %rax, 0xc8(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r14)
movups %xmm0, (%r14)
movq %rbx, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x27390
movq %rbx, %rdi
movq %r13, %rsi
leaq 0xd8(%rsp), %rdx
callq 0x28720
movq 0xd8(%rsp), %rdi
testq %rdi, %rdi
je 0x3ec56
callq 0x27560
movq 0xb8(%rsp), %rsi
movq %rbp, %rdi
callq 0x26fd0
incl %r12d
movl 0x2d8(%rsp), %r15d
cmpl %r15d, %r12d
jl 0x3ebe0
movq 0x28(%rsp), %rax
movq %rax, 0x20(%rsp)
movzwl 0x2e0(%rsp), %eax
movl %eax, 0x18(%rsp)
movl %eax, 0x4(%rsp)
jmp 0x3ed47
cmpl $0x0, 0x2d8(%rsp)
jle 0x3ed47
xorl %ebp, %ebp
movl %ebp, 0xa0(%rsp)
movl $0x0, 0xb0(%rsp)
movq $0x0, 0xb8(%rsp)
leaq 0xb0(%rsp), %rax
movq %rax, 0xc0(%rsp)
movq %rax, 0xc8(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r14)
movups %xmm0, (%r14)
movq %rbx, %rdi
movq %r13, %rsi
leaq 0xa8(%rsp), %rdx
callq 0x27390
movq %rbx, %rdi
movq %r13, %rsi
leaq 0xd8(%rsp), %rdx
callq 0x28720
movq 0xd8(%rsp), %rdi
testq %rdi, %rdi
je 0x3ed23
callq 0x27560
movq 0xb8(%rsp), %rsi
leaq 0xa8(%rsp), %rdi
callq 0x26fd0
incl %ebp
cmpl 0x2d8(%rsp), %ebp
jl 0x3eca9
movl 0x2d8(%rsp), %r12d
movl %r12d, 0x50(%rsp)
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
cmpl $0x0, 0x2d8(%rsp)
js 0x3eda7
movzwl 0x2e0(%rsp), %eax
cmpl $0x1248, %eax           # imm = 0x1248
ja 0x3eda7
leaq 0x230(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x274a0
movl %eax, 0xa0(%rsp)
leaq 0x88(%rsp), %rsi
leaq 0x2dc(%rsp), %rdx
movq %r13, %rcx
leaq 0x8(%rsp), %r8
callq 0x28b30
movzwl 0x2e0(%rsp), %eax
cmpl %eax, %ebp
je 0x3edfe
cmpl $-0x1, 0x18(%rsp)
je 0x3edd3
leaq 0x58(%rsp), %rsi
leaq 0x4(%rsp), %rdx
leaq 0x20(%rsp), %rcx
leaq 0x8(%rsp), %r8
callq 0x28d50
movq 0x28(%rsp), %rax
movq %rax, 0x20(%rsp)
movzwl 0x2e0(%rsp), %ebp
movl %ebp, 0x4(%rsp)
movl 0x2d8(%rsp), %r15d
movl %ebp, 0x18(%rsp)
testl %r15d, %r15d
js 0x3ef79
movq 0x8(%rbx), %rdi
callq 0x26a70
cmpq 0x28(%rsp), %rax
jle 0x3f08e
movq 0x8(%rbx), %rdi
callq 0x26a70
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x8(%rsp)
movl 0x2dc(%rsp), %eax
movl %eax, 0x1c(%rsp)
jmp 0x3eb37
leaq 0xb0(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x170ff(%rip), %rsi     # 0x55f4c
leaq 0x17110(%rip), %rdx     # 0x55f64
leaq 0xa0(%rsp), %rdi
callq 0x26750
leaq 0x240(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x170f0(%rip), %rsi     # 0x55f65
leaq 0x17113(%rip), %rdx     # 0x55f8f
leaq 0x230(%rsp), %rdi
callq 0x26750
leaq 0xa0(%rsp), %rsi
leaq 0x230(%rsp), %rdx
movq %rbx, %rdi
callq 0x26370
movq 0x230(%rsp), %rdi
cmpq %r12, %rdi
je 0x3eeb3
callq 0x27560
movq 0xa0(%rsp), %rdi
cmpq %r14, %rdi
jne 0x3ef60
jmp 0x3ef65
movq 0x8(%rbx), %rsi
leaq 0xa0(%rsp), %r14
movq %r14, %rdi
callq 0x28e00
leaq 0x16a50(%rip), %rsi     # 0x55934
leaq 0x230(%rsp), %rdi
movq %r14, %rdx
callq 0x273f0
leaq 0x60(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x17048(%rip), %rsi     # 0x55f4c
leaq 0x17059(%rip), %rdx     # 0x55f64
leaq 0x50(%rsp), %rdi
callq 0x26750
leaq 0x50(%rsp), %rsi
leaq 0x230(%rsp), %rdx
movq %rbx, %rdi
callq 0x26370
movq 0x50(%rsp), %rdi
cmpq %r14, %rdi
je 0x3ef39
callq 0x27560
leaq 0x240(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3ef4f
callq 0x27560
leaq 0xb0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3ef65
callq 0x27560
xorl %eax, %eax
addq $0x3c8, %rsp            # imm = 0x3C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%rsp), %rax
cmpq 0x20(%rsp), %rax
je 0x3efc6
leaq 0x58(%rsp), %r12
leaq 0x4(%rsp), %rdx
leaq 0x20(%rsp), %rcx
leaq 0x8(%rsp), %r8
movq %r12, %rsi
callq 0x28d50
leaq 0x50(%rsp), %rsi
movq %rbx, %rdi
movq %r12, %rdx
callq 0x27390
leaq 0x88(%rsp), %rdx
leaq 0x50(%rsp), %rsi
movq %rbx, %rdi
callq 0x28720
incl %r15d
movb $0x1, %bpl
cmpl 0x14(%rsp), %r15d
jge 0x3f124
leaq 0xa8(%rsp), %rbp
leaq 0xd8(%rsp), %r12
leaq 0xa0(%rsp), %r13
movl %r15d, 0xa0(%rsp)
movl $0x0, 0xb0(%rsp)
movq $0x0, 0xb8(%rsp)
leaq 0xb0(%rsp), %rax
movq %rax, 0xc0(%rsp)
movq %rax, 0xc8(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r14)
movups %xmm0, (%r14)
movq %rbx, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x27390
movq %rbx, %rdi
movq %r13, %rsi
movq %r12, %rdx
callq 0x28720
movq 0xd8(%rsp), %rdi
testq %rdi, %rdi
je 0x3f060
callq 0x27560
movq 0xb8(%rsp), %rsi
movq %rbp, %rdi
callq 0x26fd0
incl %r15d
cmpl %r15d, 0x14(%rsp)
jne 0x3efef
leaq 0x240(%rsp), %r14
movb $0x1, %bpl
jmp 0x3f2e0
leaq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
movq %rax, (%rdi)
leaq 0x16ea4(%rip), %rsi     # 0x55f4c
leaq 0x16eb5(%rip), %rdx     # 0x55f64
callq 0x26750
leaq 0x40(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x16f4b(%rip), %rsi     # 0x5600f
leaq 0x16f5e(%rip), %rdx     # 0x56029
leaq 0x30(%rsp), %rdi
callq 0x26750
leaq 0xa0(%rsp), %rsi
leaq 0x30(%rsp), %rdx
movq %rbx, %rdi
callq 0x26370
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x3f0f9
callq 0x27560
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
leaq 0x240(%rsp), %r14
je 0x3f2de
callq 0x27560
jmp 0x3f2de
leaq 0x240(%rsp), %r14
jmp 0x3f2e0
leaq 0x40(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x16d4e(%rip), %rdx     # 0x55e8f
leaq 0x30(%rsp), %rdi
movq %rdx, %rsi
callq 0x26750
leaq 0xa0(%rsp), %rdi
leaq 0x30(%rsp), %rsi
movl $0x18, %edx
callq 0x28750
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x3f174
callq 0x27560
leaq 0x16e15(%rip), %rsi     # 0x55f90
movl $0x2d, %edx
leaq 0xb0(%rsp), %rdi
callq 0x27a70
movq 0xb0(%rsp), %rax
movq -0x18(%rax), %rdi
leaq 0xb0(%rsp), %rax
addq %rax, %rdi
movl $0xa, %esi
callq 0x275a0
movsbl %al, %esi
leaq 0xb0(%rsp), %rdi
callq 0x260a0
movq %rax, %rdi
callq 0x26fc0
movq %rax, %r15
leaq 0x16dee(%rip), %rsi     # 0x55fbe
movl $0x1c, %edx
movq %rax, %rdi
callq 0x27a70
movl 0x2dc(%rsp), %esi
movq %r15, %rdi
callq 0x28aa0
movq %rax, %r15
leaq 0x16de5(%rip), %rsi     # 0x55fdb
movl $0x20, %edx
movq %rax, %rdi
callq 0x27a70
movq %r15, %rdi
movl 0x1c(%rsp), %esi
callq 0x28aa0
movq %rax, %r15
leaq 0x16de3(%rip), %rsi     # 0x55ffc
movl $0x12, %edx
movq %rax, %rdi
callq 0x27a70
movl 0x2d8(%rsp), %esi
movq %r15, %rdi
callq 0x28aa0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x275a0
movsbl %al, %esi
movq %r15, %rdi
callq 0x260a0
movq %rax, %rdi
callq 0x26fc0
leaq 0x30(%rsp), %rdi
movq %r14, (%rdi)
leaq 0x16cde(%rip), %rsi     # 0x55f4c
leaq 0x16cef(%rip), %rdx     # 0x55f64
callq 0x26750
leaq 0xb8(%rsp), %rsi
leaq 0x388(%rsp), %rdi
callq 0x28740
leaq 0x30(%rsp), %rsi
leaq 0x388(%rsp), %rdx
movq %rbx, %rdi
callq 0x26370
leaq 0x398(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3f2ba
callq 0x27560
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x3f2c9
callq 0x27560
leaq 0xa0(%rsp), %rdi
callq 0x270d0
leaq 0x240(%rsp), %r14
xorl %ebp, %ebp
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x3f2f2
callq 0x27560
leaq 0x58(%rsp), %rdi
movq 0x10(%rdi), %rsi
callq 0x26fd0
leaq 0x230(%rsp), %rdi
callq 0x28600
leaq 0x3b8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3f323
callq 0x27560
testb %bpl, %bpl
je 0x3ef65
movq 0x8(%rbx), %rdi
callq 0x28a70
movl %eax, %ecx
movb $0x1, %al
testb %cl, %cl
jne 0x3ef67
movq 0x8(%rbx), %rsi
leaq 0xa0(%rsp), %r15
movq %r15, %rdi
callq 0x28e00
leaq 0x165d8(%rip), %rsi     # 0x55934
leaq 0x230(%rsp), %rdi
movq %r15, %rdx
callq 0x273f0
leaq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %r15
movq %r15, (%rdi)
leaq 0x16bcc(%rip), %rsi     # 0x55f4c
leaq 0x16bdd(%rip), %rdx     # 0x55f64
callq 0x26750
leaq 0x50(%rsp), %rsi
leaq 0x230(%rsp), %rdx
movq %rbx, %rdi
callq 0x26370
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x3f3b0
callq 0x27560
movq 0x230(%rsp), %rdi
cmpq %r14, %rdi
je 0x3f3c2
callq 0x27560
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
jmp 0x3ef5b
jmp 0x3f5e2
movq %rdx, %r12
movq %rax, %r15
leaq 0x398(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3f400
callq 0x27560
jmp 0x3f400
movq %rdx, %r12
movq %rax, %r15
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x3f57a
callq 0x27560
jmp 0x3f57a
jmp 0x3f574
movq %rdx, %r12
movq %rax, %r15
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
jne 0x3f4bf
jmp 0x3f612
jmp 0x3f5e2
movq %r15, %rcx
movq %rax, %r15
movq 0x50(%rsp), %rdi
cmpq %rcx, %rdi
je 0x3f455
callq 0x27560
jmp 0x3f455
movq %rax, %r15
movq 0x230(%rsp), %rdi
leaq 0x240(%rsp), %rax
cmpq %rax, %rdi
je 0x3f474
callq 0x27560
jmp 0x3f474
movq %rax, %r15
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
jmp 0x3f555
movq %rdx, %r12
movq %rax, %r15
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x3f4a6
callq 0x27560
jmp 0x3f4a6
movq %rdx, %r12
movq %rax, %r15
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x3f612
callq 0x27560
jmp 0x3f612
jmp 0x3f5e2
jmp 0x3f5e2
movq %rdx, %r12
movq %rax, %r15
jmp 0x3f61c
jmp 0x3f569
jmp 0x3f569
jmp 0x3f569
movq %rax, %r15
movq 0x50(%rsp), %rdi
cmpq %r14, %rdi
je 0x3f51b
callq 0x27560
jmp 0x3f51b
movq %rdx, %r12
movq %rax, %r15
movq 0x230(%rsp), %rdi
cmpq %r14, %rdi
je 0x3f539
callq 0x27560
jmp 0x3f539
movq %rax, %r15
leaq 0x240(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3f549
callq 0x27560
jmp 0x3f549
movq %rdx, %r12
movq %rax, %r15
leaq 0xb0(%rsp), %rax
jmp 0x3f631
movq %rax, %r15
leaq 0xb0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x3f5b3
jmp 0x3f5bd
movq %rdx, %r12
movq %rax, %r15
jmp 0x3f63f
jmp 0x3f569
movq %rdx, %r12
movq %rax, %r15
jmp 0x3f629
movq %rdx, %r12
movq %rax, %r15
leaq 0xa0(%rsp), %rdi
callq 0x270d0
jmp 0x3f612
movq %rax, %r15
movq 0x230(%rsp), %rdi
cmpq %r12, %rdi
je 0x3f5a6
callq 0x27560
jmp 0x3f5a6
movq %rax, %r15
movq 0xa0(%rsp), %rdi
cmpq %r14, %rdi
je 0x3f5bd
callq 0x27560
jmp 0x3f5bd
movq %rax, %r15
movq %r15, %rdi
callq 0x28c20
jmp 0x3f5e2
jmp 0x3f5e2
movq %rdx, %r12
movq %rax, %r15
leaq 0xa0(%rsp), %rdi
callq 0x26cb0
jmp 0x3f612
jmp 0x3f5e2
jmp 0x3f5e2
movq %rdx, %r12
movq %rax, %r15
jmp 0x3f612
movq %rdx, %r12
movq %rax, %r15
leaq 0xa0(%rsp), %rdi
callq 0x26cb0
jmp 0x3f612
movq %rdx, %r12
movq %rax, %r15
leaq 0xa0(%rsp), %rdi
callq 0x26cb0
leaq 0x50(%rsp), %rdi
callq 0x26cb0
leaq 0x230(%rsp), %rdi
callq 0x28600
leaq 0x3b8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3f63f
callq 0x27560
cmpl $0x1, %r12d
jne 0x3f5bd
movq %r15, %rdi
callq 0x267d0
movq (%rax), %rcx
movq %rax, %rdi
callq *0x10(%rcx)
addq $0x10, %rbx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x28000
callq 0x287e0
jmp 0x3ef65
movq %rax, %r15
callq 0x287e0
jmp 0x3f5bd
movq %rax, %rdi
callq 0x2f0bd