// File: /workspace/github_cpp_makefile_star2_O3/hanhwi[P]SimPoint/analysiscode/Simpoint.cpp
// Function: Simpoint::loadData()
void Simpoint::loadData() {
    Utilities::check(wholeDataset == NULL, "Simpoint::loadData() wholeDataset is not NULL");

    // load the data, project it, etc.
    if (options.loadVectorsTxtFmtName != "") {
        FILE *input = openInputVectorFile(options.loadVectorsTxtFmtName,
                options.inputVectorsAreGzipped);
        wholeDataset = new Dataset;
        wholeDataset->read(input);
        Logger::log() << "Loaded data from text format data file '"
            << options.loadVectorsTxtFmtName << "' (size: " 
            << wholeDataset->numRows() << "x" << wholeDataset->numCols() << ")\n";
        closeInputVectorFile(input, options.inputVectorsAreGzipped);
    } else if (options.loadVectorsBinFmtName != "") {
        FILE *input = openInputVectorFile(options.loadVectorsBinFmtName,
                options.inputVectorsAreGzipped);
        wholeDataset = new Dataset;
        wholeDataset->readBinary(input);
        Logger::log() << "Loaded data from binary format data file '" 
            << options.loadVectorsBinFmtName << "' (size: " 
            << wholeDataset->numRows() << "x" << wholeDataset->numCols() << ")\n";
        closeInputVectorFile(input, options.inputVectorsAreGzipped);
    } else if (options.frequencyVectorFileName != "") {
        FILE *input = openInputVectorFile(options.frequencyVectorFileName,
                options.inputVectorsAreGzipped);
        FVParser *parser = new FVParser(input);

        int numPts, numDims;
        if ((options.numFreqVectors != options.DEFAULT_NUM_FREQ_VECTORS) && 
            (options.numFVDims != options.DEFAULT_NUM_FREQ_DIMS)) {
            numPts = options.numFreqVectors;
            numDims = options.numFVDims;
        } else {
            Utilities::sizeOfFVFile(*parser, &numPts, &numDims);
            delete parser;
            closeInputVectorFile(input, options.inputVectorsAreGzipped);
            input = openInputVectorFile(options.frequencyVectorFileName,
                                        options.inputVectorsAreGzipped);
            parser = new FVParser(input);
        }

        Logger::log() << "  Loading data from frequency vector file '"
             << options.frequencyVectorFileName 
             << "' (size: " << numPts << "x" << numDims << ")\n";

        if (options.useNoProjection) {
            wholeDataset = new Dataset(numPts, numDims);
            Utilities::loadFVFile(*parser, wholeDataset);
            Logger::log() << "  Loaded frequency vectors without projecting them.\n";
            delete parser;
        } else {
            // Get the projection matrix
            Dataset *projection = NULL;
            if (options.loadProjMatrixTxtFmtName != "") {
                Utilities::check(isRegularFile(options.loadProjMatrixTxtFmtName),
                        "loadData() not regular file: " +
                        options.loadProjMatrixTxtFmtName);
                projection = new Dataset;
                ifstream input(options.loadProjMatrixTxtFmtName.c_str());
                Utilities::check(input.is_open(), "Simpoint::loadData(): could not open file " +
                                        options.loadProjMatrixTxtFmtName);
                projection->read(input);
                input.close();
                Logger::log() << "  Loaded projection matrix from file '" 
                     << options.loadProjMatrixTxtFmtName
                     << "' (size: " << projection->numRows() << "x" 
                     << projection->numCols() << ")\n";
                Utilities::check(projection->numRows() == (unsigned int)numDims,
                    "loadData(): projection matrix rows != original dimensions");
            } else if (options.loadProjMatrixBinFmtName != "") {
                Utilities::check(isRegularFile(options.loadProjMatrixBinFmtName),
                        "loadData() not regular file: " +
                        options.loadProjMatrixBinFmtName);
                projection = new Dataset;
                ifstream input(options.loadProjMatrixBinFmtName.c_str());
                Utilities::check(input.is_open(), "Simpoint::loadData(): could not open file " +
                                        options.loadProjMatrixBinFmtName);
                projection->readBinary(input);
                input.close();
                Logger::log() << "  Loaded projection matrix from binary file '" 
                    << options.loadProjMatrixBinFmtName
                    << "' (size: " << projection->numRows() << "x" 
                    << projection->numCols() << ")\n";
                Utilities::check(projection->numRows() == (unsigned int)numDims,
                    "loadData(): projection matrix rows != original dimensions");
            } else {
                projection = new Dataset(numDims, options.projectionDimension);
                Utilities::randomProjectionMatrix(options.randSeedProjection, projection);
                Logger::log() << "  Created random projection matrix (size: " << numDims
                     << "x" << options.projectionDimension << ")\n";
            }

            // save the projection matrix
            if (options.saveProjMatrixTxtFmtName != "") {
                Logger::log() << "  Saving the projection matrix to file '" 
                    << options.saveProjMatrixTxtFmtName << "'\n";
                ofstream output(options.saveProjMatrixTxtFmtName.c_str());
                Utilities::check(output.is_open(), "Simpoint::loadData(): could not open file " +
                                        options.saveProjMatrixTxtFmtName);
                projection->write(output);
                output.close();
            }

            if (options.saveProjMatrixBinFmtName != "") {
                Logger::log() << "  Saving the projection matrix to binary file '" 
                    << options.saveProjMatrixBinFmtName << "'\n";
                ofstream output(options.saveProjMatrixBinFmtName.c_str());
                Utilities::check(output.is_open(), "Simpoint::loadData(): could not open file " +
                                        options.saveProjMatrixBinFmtName);
                projection->writeBinary(output);
                output.close();
            }

            wholeDataset = new Dataset(numPts, options.projectionDimension);
            Utilities::loadAndProjectFVFile(*parser, *projection, wholeDataset);
            delete parser;
            if (options.inputVectorsAreGzipped) { pclose(input); } else { fclose(input); }
            Logger::log() << "  Loaded and projected frequency vector file\n";

            delete projection;
        }
    } else {
        // shouldn't get here
        Utilities::check(false, "loadData(): no data to load");
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x248, %rsp            # imm = 0x248
movq %rdi, %rbx
movq (%rdi), %r14
leaq 0x50(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x12755(%rip), %rsi     # 0x1c46e
leaq 0x1277b(%rip), %rdx     # 0x1c49b
leaq 0x40(%rsp), %rdi
callq 0x6058
testq %r14, %r14
jne 0xa8b0
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x9d4a
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x42d0
leaq 0x2a0(%rbx), %r14
leaq 0x124e2(%rip), %rsi     # 0x1c23a
movq %r14, %rdi
callq 0x40e0
testl %eax, %eax
je 0x9dd1
movzbl 0xcd(%rbx), %esi
movq %r14, %rdi
callq 0x9b20
movq %rax, %r14
movl $0x30, %edi
callq 0x42c0
movq %rax, %r15
movq %rax, %rdi
callq 0x6d84
movq %r15, (%rbx)
movq %r15, %rdi
movq %r14, %rsi
callq 0x73f6
leaq 0x1d590(%rip), %rax     # 0x27330
movl (%rax), %ecx
shrl $0x1f, %ecx
movq 0x8(%rax,%rcx,8), %r15
leaq 0x126eb(%rip), %rsi     # 0x1c49c
movl $0x28, %edx
movq %r15, %rdi
callq 0x4330
movq 0x2a0(%rbx), %rsi
movq 0x2a8(%rbx), %rdx
jmp 0x9e57
leaq 0x2c0(%rbx), %r14
leaq 0x1245b(%rip), %rsi     # 0x1c23a
movq %r14, %rdi
callq 0x40e0
testl %eax, %eax
je 0x9efb
movzbl 0xcd(%rbx), %esi
movq %r14, %rdi
callq 0x9b20
movq %rax, %r14
movl $0x30, %edi
callq 0x42c0
movq %rax, %r15
movq %rax, %rdi
callq 0x6d84
movq %r15, (%rbx)
movq %r15, %rdi
movq %r14, %rsi
callq 0x7870
leaq 0x1d505(%rip), %rax     # 0x27330
movl (%rax), %ecx
shrl $0x1f, %ecx
movq 0x8(%rax,%rcx,8), %r15
leaq 0x12693(%rip), %rsi     # 0x1c4cf
movl $0x2a, %edx
movq %r15, %rdi
callq 0x4330
movq 0x2c0(%rbx), %rsi
movq 0x2c8(%rbx), %rdx
movq %r15, %rdi
callq 0x4330
movq %rax, %r15
leaq 0x1265c(%rip), %rsi     # 0x1c4c5
movl $0x9, %edx
movq %rax, %rdi
callq 0x4330
movq (%rbx), %rax
movq 0x8(%rax), %rcx
subq (%rax), %rcx
shrq $0x3, %rcx
imull $0xaaaaaaab, %ecx, %esi # imm = 0xAAAAAAAB
movq %r15, %rdi
callq 0x41c0
movq %rax, %r15
leaq 0x132a4(%rip), %rsi     # 0x1d140
movl $0x1, %edx
movq %rax, %rdi
callq 0x4330
movq (%rbx), %rax
movq (%rax), %rax
movq 0x8(%rax), %rcx
subq (%rax), %rcx
shrq $0x3, %rcx
movl %ecx, %esi
movq %r15, %rdi
callq 0x41c0
leaq 0x12b16(%rip), %rsi     # 0x1c9e1
movl $0x2, %edx
movq %rax, %rdi
callq 0x4330
cmpb $0x1, 0xcd(%rbx)
jne 0x9eee
movq %r14, %rdi
callq 0x4430
jmp 0xa801
movq %r14, %rdi
callq 0x42b0
jmp 0xa801
leaq 0x58(%rbx), %r12
leaq 0x12334(%rip), %rsi     # 0x1c23a
movq %r12, %rdi
callq 0x40e0
testl %eax, %eax
je 0xa8f9
movzbl 0xcd(%rbx), %esi
movq %r12, %rdi
callq 0x9b20
movq %rax, %r13
movl $0x10, %edi
callq 0x42c0
movq %rax, %r14
movq %rax, %rdi
movq %r13, %rsi
callq 0x83e4
movl 0xb4(%rbx), %eax
leaq 0x13147(%rip), %rcx     # 0x1d094
cmpl (%rcx), %eax
je 0x9f62
movl 0xb8(%rbx), %ecx
leaq 0x1313a(%rip), %rdx     # 0x1d098
cmpl (%rdx), %ecx
jne 0x9fc8
leaq 0x2c(%rsp), %rsi
leaq 0x4(%rsp), %rdx
movq %r14, %rdi
callq 0x194c0
movl $0x10, %esi
movq %r14, %rdi
callq 0x42d0
cmpb $0x1, 0xcd(%rbx)
jne 0x9f94
movq %r13, %rdi
callq 0x4430
jmp 0x9f9c
movq %r13, %rdi
callq 0x42b0
movzbl 0xcd(%rbx), %esi
movq %r12, %rdi
callq 0x9b20
movq %rax, %r13
movl $0x10, %edi
callq 0x42c0
movq %rax, %r14
movq %rax, %rdi
movq %r13, %rsi
callq 0x83e4
jmp 0x9fd0
movl %eax, 0x2c(%rsp)
movl %ecx, 0x4(%rsp)
leaq 0x1d359(%rip), %rcx     # 0x27330
movl (%rcx), %eax
shrl $0x1f, %eax
movq 0x8(%rcx,%rax,8), %r12
leaq 0x12512(%rip), %rsi     # 0x1c4fa
movl $0x2b, %edx
movq %r12, %rdi
callq 0x4330
movq 0x58(%rbx), %rsi
movq 0x60(%rbx), %rdx
movq %r12, %rdi
callq 0x4330
movq %rax, %r12
leaq 0x124b6(%rip), %rsi     # 0x1c4c5
movl $0x9, %edx
movq %rax, %rdi
callq 0x4330
movl 0x2c(%rsp), %esi
movq %r12, %rdi
callq 0x4560
movq %rax, %r12
leaq 0x1310e(%rip), %rsi     # 0x1d140
movl $0x1, %edx
movq %rax, %rdi
callq 0x4330
movl 0x4(%rsp), %esi
movq %r12, %rdi
callq 0x4560
leaq 0x1298f(%rip), %rsi     # 0x1c9e1
movl $0x2, %edx
movq %rax, %rdi
callq 0x4330
cmpb $0x1, 0x80(%rbx)
jne 0xa0c2
movl $0x30, %edi
callq 0x42c0
movq %rax, %r15
movl 0x2c(%rsp), %esi
movl 0x4(%rsp), %edx
movq %rax, %rdi
callq 0x6e3c
movq %r15, (%rbx)
movq %r14, %rdi
movq %r15, %rsi
callq 0x19a3c
leaq 0x1d296(%rip), %rcx     # 0x27330
movl (%rcx), %eax
shrl $0x1f, %eax
movq 0x8(%rcx,%rax,8), %rdi
leaq 0x1247b(%rip), %rsi     # 0x1c526
movl $0x34, %edx
callq 0x4330
movl $0x10, %esi
movq %r14, %rdi
jmp 0xa7fc
movq %r13, 0x30(%rsp)
leaq 0x300(%rbx), %r13
leaq 0x12165(%rip), %rsi     # 0x1c23a
movq %r13, %rdi
callq 0x40e0
testl %eax, %eax
je 0xa30c
movq %r14, 0x38(%rsp)
movq (%r13), %rdi
leaq 0x40(%rsp), %r12
movq %r12, %rsi
callq 0x4280
movl %eax, %ebp
movl $0xf000, %r14d          # imm = 0xF000
andl 0x18(%r12), %r14d
leaq 0x1244c(%rip), %rsi     # 0x1c55b
leaq 0x40(%rsp), %rdi
movq %r13, %rdx
callq 0x5ea5
testl %ebp, %ebp
jne 0xa955
cmpl $0x8000, %r14d          # imm = 0x8000
jne 0xa955
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0xa148
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x42d0
movl $0x30, %edi
callq 0x42c0
movq %rax, %r12
movq %rax, %rdi
callq 0x6d84
movq 0x38(%rsp), %r14
leaq 0x1d1c7(%rip), %r15     # 0x27330
movq (%r13), %rsi
leaq 0x40(%rsp), %rdi
movl $0x8, %edx
callq 0x45a0
leaq 0xb8(%rsp), %rdi
callq 0x40b0
movl %eax, %ebp
leaq 0x123e7(%rip), %rsi     # 0x1c579
leaq 0x8(%rsp), %rdi
movq %r13, %rdx
callq 0x5ea5
testb %bpl, %bpl
je 0xa999
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa1c3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
leaq 0x40(%rsp), %rsi
movq %r12, %rdi
callq 0x7204
leaq 0x40(%rsp), %rdi
callq 0x40a0
movl (%r15), %eax
shrl $0x1f, %eax
movq 0x8(%r15,%rax,8), %r13
leaq 0x123b8(%rip), %rsi     # 0x1c5a4
movl $0x26, %edx
movq %r13, %rdi
callq 0x4330
movq 0x300(%rbx), %rsi
movq 0x308(%rbx), %rdx
movq %r13, %rdi
callq 0x4330
movq %rax, %r13
leaq 0x122ac(%rip), %rsi     # 0x1c4c5
movl $0x9, %edx
movq %rax, %rdi
callq 0x4330
movq 0x8(%r12), %rax
subq (%r12), %rax
shrq $0x3, %rax
imull $0xaaaaaaab, %eax, %esi # imm = 0xAAAAAAAB
movq %r13, %rdi
callq 0x41c0
movq %rax, %r13
leaq 0x12ef5(%rip), %rsi     # 0x1d140
movl $0x1, %edx
movq %rax, %rdi
callq 0x4330
movq (%r12), %rax
movq 0x8(%rax), %rcx
subq (%rax), %rcx
shrq $0x3, %rcx
movl %ecx, %esi
movq %r13, %rdi
callq 0x41c0
leaq 0x12769(%rip), %rsi     # 0x1c9e1
movl $0x2, %edx
movq %rax, %rdi
callq 0x4330
movq (%r12), %r15
movq 0x8(%r12), %r13
movl 0x4(%rsp), %ebp
leaq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
movq %rax, (%rdi)
leaq 0x12325(%rip), %rsi     # 0x1c5cb
leaq 0x12357(%rip), %rdx     # 0x1c604
callq 0x6058
subq %r15, %r13
shrq $0x3, %r13
imull $0xaaaaaaab, %r13d, %eax # imm = 0xAAAAAAAB
cmpl %eax, %ebp
je 0xa516
leaq 0x1d061(%rip), %rcx     # 0x27330
movl (%rcx), %eax
shrl $0x1f, %eax
movq 0x8(%rcx,%rax,8), %rbx
leaq 0x11e98(%rip), %rsi     # 0x1c178
movl $0x8, %edx
movq %rbx, %rdi
callq 0x4330
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x4330
movq %rax, %rdi
callq 0x4160
jmp 0xa8ef
leaq 0x2e0(%rbx), %r13
leaq 0x11f20(%rip), %rsi     # 0x1c23a
movq %r13, %rdi
callq 0x40e0
testl %eax, %eax
je 0xa813
movq (%r13), %rdi
leaq 0x40(%rsp), %r12
movq %r12, %rsi
callq 0x4280
movl 0x18(%r12), %ecx
andl $0xf000, %ecx           # imm = 0xF000
xorl $0x8000, %ecx           # imm = 0x8000
xorl %ebp, %ebp
orl %eax, %ecx
sete %bpl
leaq 0x12200(%rip), %rsi     # 0x1c55b
leaq 0x40(%rsp), %r12
movq %r12, %rdi
movq %r13, %rdx
callq 0x5ea5
movl %ebp, %edi
movq %r12, %rsi
callq 0xf4b6
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0xa38c
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x42d0
movl $0x30, %edi
callq 0x42c0
movq %rax, %r12
movq %rax, %rdi
callq 0x6d84
leaq 0x1cf88(%rip), %r15     # 0x27330
movq (%r13), %rsi
leaq 0x40(%rsp), %rdi
movl $0x8, %edx
callq 0x45a0
leaq 0xb8(%rsp), %rdi
callq 0x40b0
movl %eax, %ebp
leaq 0x121a8(%rip), %rsi     # 0x1c579
leaq 0x8(%rsp), %rdi
movq %r13, %rdx
callq 0x5ea5
movzbl %bpl, %edi
leaq 0x8(%rsp), %rsi
callq 0xf4b6
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa407
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
leaq 0x40(%rsp), %rsi
movq %r12, %rdi
callq 0x7754
leaq 0x40(%rsp), %rdi
callq 0x40a0
movl (%r15), %eax
shrl $0x1f, %eax
movq 0x8(%r15,%rax,8), %r13
leaq 0x121d5(%rip), %rsi     # 0x1c605
movl $0x2d, %edx
movq %r13, %rdi
callq 0x4330
movq 0x2e0(%rbx), %rsi
movq 0x2e8(%rbx), %rdx
movq %r13, %rdi
callq 0x4330
movq %rax, %r13
leaq 0x12068(%rip), %rsi     # 0x1c4c5
movl $0x9, %edx
movq %rax, %rdi
callq 0x4330
movq 0x8(%r12), %rax
subq (%r12), %rax
shrq $0x3, %rax
imull $0xaaaaaaab, %eax, %esi # imm = 0xAAAAAAAB
movq %r13, %rdi
callq 0x41c0
movq %rax, %r13
leaq 0x12cb1(%rip), %rsi     # 0x1d140
movl $0x1, %edx
movq %rax, %rdi
callq 0x4330
movq (%r12), %rax
movq 0x8(%rax), %rcx
subq (%rax), %rcx
shrq $0x3, %rcx
movl %ecx, %esi
movq %r13, %rdi
callq 0x41c0
leaq 0x12525(%rip), %rsi     # 0x1c9e1
movl $0x2, %edx
movq %rax, %rdi
callq 0x4330
movq (%r12), %r15
movq 0x8(%r12), %r13
movl 0x4(%rsp), %ebp
leaq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
movq %rax, (%rdi)
leaq 0x120e1(%rip), %rsi     # 0x1c5cb
leaq 0x12113(%rip), %rdx     # 0x1c604
callq 0x6058
subq %r15, %r13
shrq $0x3, %r13
imull $0xaaaaaaab, %r13d, %eax # imm = 0xAAAAAAAB
xorl %edi, %edi
cmpl %eax, %ebp
sete %dil
leaq 0x8(%rsp), %rsi
callq 0xf4b6
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
leaq 0x1ce06(%rip), %r15     # 0x27330
je 0xa539
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
leaq 0x40(%rsp), %rdi
callq 0x40c0
leaq 0x220(%rbx), %r13
leaq 0x11ce9(%rip), %rsi     # 0x1c23a
movq %r13, %rdi
callq 0x40e0
testl %eax, %eax
je 0xa650
movl (%r15), %eax
shrl $0x1f, %eax
movq 0x8(%r15,%rax,8), %rbp
leaq 0x120eb(%rip), %rsi     # 0x1c65e
movl $0x28, %edx
movq %rbp, %rdi
callq 0x4330
movq 0x220(%rbx), %rsi
movq 0x228(%rbx), %rdx
movq %rbp, %rdi
callq 0x4330
leaq 0x120ea(%rip), %rsi     # 0x1c687
movl $0x2, %edx
movq %rax, %rdi
callq 0x4330
movq 0x220(%rbx), %rsi
leaq 0x40(%rsp), %rdi
movl $0x10, %edx
callq 0x4310
leaq 0xb0(%rsp), %rdi
callq 0x40b0
movl %eax, %ebp
leaq 0x11fa3(%rip), %rsi     # 0x1c579
leaq 0x8(%rsp), %rdi
movq %r13, %rdx
callq 0x5ea5
testb %bpl, %bpl
je 0xa9d7
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa607
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
leaq 0x40(%rsp), %rsi
movq %r12, %rdi
callq 0x7022
leaq 0x40(%rsp), %rdi
callq 0x4440
movq 0x1c9a3(%rip), %rax     # 0x26fc8
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x48(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x40(%rsp,%rcx)
callq 0x4240
leaq 0x138(%rsp), %rdi
callq 0x4120
leaq 0x240(%rbx), %r13
leaq 0x11bdc(%rip), %rsi     # 0x1c23a
movq %r13, %rdi
callq 0x40e0
testl %eax, %eax
je 0xa75d
movl (%r15), %eax
shrl $0x1f, %eax
movq 0x8(%r15,%rax,8), %rbp
leaq 0x1200a(%rip), %rsi     # 0x1c68a
movl $0x2f, %edx
movq %rbp, %rdi
callq 0x4330
movq 0x240(%rbx), %rsi
movq 0x248(%rbx), %rdx
movq %rbp, %rdi
callq 0x4330
leaq 0x11fdd(%rip), %rsi     # 0x1c687
movl $0x2, %edx
movq %rax, %rdi
callq 0x4330
movq 0x240(%rbx), %rsi
leaq 0x40(%rsp), %rdi
movl $0x10, %edx
callq 0x4310
leaq 0xb0(%rsp), %rdi
callq 0x40b0
movl %eax, %ebp
leaq 0x11e96(%rip), %rsi     # 0x1c579
leaq 0x8(%rsp), %rdi
movq %r13, %rdx
callq 0x5ea5
testb %bpl, %bpl
je 0xaa15
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa714
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
leaq 0x40(%rsp), %rsi
movq %r12, %rdi
callq 0x75dc
leaq 0x40(%rsp), %rdi
callq 0x4440
movq 0x1c896(%rip), %rax     # 0x26fc8
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x48(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x40(%rsp,%rcx)
callq 0x4240
leaq 0x138(%rsp), %rdi
callq 0x4120
movl $0x30, %edi
callq 0x42c0
movq %rax, %r13
movl 0x2c(%rsp), %esi
movl 0x84(%rbx), %edx
movq %rax, %rdi
callq 0x6e3c
movq %r13, (%rbx)
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x1ab58
movl $0x10, %esi
movq %r14, %rdi
callq 0x42d0
cmpb $0x1, 0xcd(%rbx)
jne 0xa7af
movq 0x30(%rsp), %rdi
callq 0x4430
jmp 0xa7b9
movq 0x30(%rsp), %rdi
callq 0x42b0
movl (%r15), %eax
shrl $0x1f, %eax
movq 0x8(%r15,%rax,8), %rdi
leaq 0x11eef(%rip), %rsi     # 0x1c6ba
movl $0x2d, %edx
callq 0x4330
movq 0x18(%r12), %rdi
testq %rdi, %rdi
je 0xa7ec
movq 0x28(%r12), %rsi
subq %rdi, %rsi
callq 0x42d0
movq %r12, %rdi
callq 0x7be2
movl $0x30, %esi
movq %r12, %rdi
callq 0x42d0
addq $0x248, %rsp            # imm = 0x248
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x30, %edi
callq 0x42c0
movq %rax, %r12
movl 0x4(%rsp), %esi
movl 0x84(%rbx), %edx
movq %rax, %rdi
callq 0x6e3c
movl 0xac(%rbx), %edi
movq %r12, %rsi
callq 0x19630
leaq 0x1cae9(%rip), %r15     # 0x27330
movl (%r15), %eax
shrl $0x1f, %eax
movq 0x8(%r15,%rax,8), %r13
leaq 0x11dda(%rip), %rsi     # 0x1c633
movl $0x2a, %edx
movq %r13, %rdi
callq 0x4330
movl 0x4(%rsp), %esi
movq %r13, %rdi
callq 0x4560
movq %rax, %r13
leaq 0x128c4(%rip), %rsi     # 0x1d140
movl $0x1, %edx
movq %rax, %rdi
callq 0x4330
movl 0x84(%rbx), %esi
movq %r13, %rdi
callq 0x4560
leaq 0x12143(%rip), %rsi     # 0x1c9e1
movl $0x2, %edx
movq %rax, %rdi
callq 0x4330
jmp 0xa543
leaq 0x1ca79(%rip), %rax     # 0x27330
movl (%rax), %ecx
shrl $0x1f, %ecx
movq 0x8(%rax,%rcx,8), %rbx
leaq 0x118b0(%rip), %rsi     # 0x1c178
movl $0x8, %edx
movq %rbx, %rdi
callq 0x4330
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
movq %rbx, %rdi
callq 0x4330
movq %rax, %rdi
callq 0x4160
movl $0x1, %edi
callq 0x4370
leaq 0x40(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x11de0(%rip), %rsi     # 0x1c6e8
leaq 0x11df4(%rip), %rdx     # 0x1c703
callq 0x6058
leaq 0x1ca15(%rip), %rax     # 0x27330
movl (%rax), %ecx
shrl $0x1f, %ecx
movq 0x8(%rax,%rcx,8), %rbx
leaq 0x1184c(%rip), %rsi     # 0x1c178
movl $0x8, %edx
movq %rbx, %rdi
callq 0x4330
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
movq %rbx, %rdi
callq 0x4330
movq %rax, %rdi
callq 0x4160
jmp 0xa8ef
leaq 0x1c9d4(%rip), %rcx     # 0x27330
movl (%rcx), %eax
shrl $0x1f, %eax
movq 0x8(%rcx,%rax,8), %rbx
leaq 0x1180b(%rip), %rsi     # 0x1c178
movl $0x8, %edx
movq %rbx, %rdi
callq 0x4330
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
movq %rbx, %rdi
callq 0x4330
movq %rax, %rdi
callq 0x4160
jmp 0xa8ef
movl (%r15), %eax
shrl $0x1f, %eax
movq 0x8(%r15,%rax,8), %rbx
leaq 0x117cd(%rip), %rsi     # 0x1c178
movl $0x8, %edx
movq %rbx, %rdi
callq 0x4330
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x4330
movq %rax, %rdi
callq 0x4160
jmp 0xa8ef
movl (%r15), %eax
shrl $0x1f, %eax
movq 0x8(%r15,%rax,8), %rbx
leaq 0x1178f(%rip), %rsi     # 0x1c178
movl $0x8, %edx
movq %rbx, %rdi
callq 0x4330
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x4330
movq %rax, %rdi
callq 0x4160
jmp 0xa8ef
movl (%r15), %eax
shrl $0x1f, %eax
movq 0x8(%r15,%rax,8), %rbx
leaq 0x11751(%rip), %rsi     # 0x1c178
movl $0x8, %edx
movq %rbx, %rdi
callq 0x4330
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x4330
movq %rax, %rdi
callq 0x4160
jmp 0xa8ef
jmp 0xaac5
jmp 0xaa8c
jmp 0xab09
jmp 0xaa9b
jmp 0xab09
jmp 0xaac5
jmp 0xab25
jmp 0xaa6c
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xaaea
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0xaaea
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
jmp 0xaaa7
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xab0c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0xab0c
jmp 0xab25
jmp 0xaae7
jmp 0xaae7
jmp 0xab09
jmp 0xab09
movq %rax, %rbx
movl $0x30, %esi
movq %r12, %rdi
jmp 0xab3a
jmp 0xab25
movq %rax, %rbx
movl $0x30, %esi
movq %r13, %rdi
jmp 0xab3a
jmp 0xab18
jmp 0xab41
jmp 0xaae7
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x4480
jmp 0xab44
jmp 0xaaf8
movq %rax, %rbx
movl $0x10, %esi
movq %r14, %rdi
jmp 0xab3a
jmp 0xab09
jmp 0xab18
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x40c0
jmp 0xab44
movq %rax, %rbx
movl $0x30, %esi
movq %r15, %rdi
jmp 0xab3a
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0xab44
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0xab44
movq %rax, %rbx
movq %rbx, %rdi
callq 0x4580