// File: /workspace/github_cpp_makefile_star2_O3/hanhwi[P]SimPoint/analysiscode/Utilities.cpp
// Function: Utilities::loadAndProjectFVFile(FVParser&, Dataset const&, Dataset*)
void Utilities::loadAndProjectFVFile(FVParser &parser, 
                                     const Dataset &projection, 
                                     Dataset *result) {
    check(NULL != result, "Utilities::loadAndProjectFVFile() result is null");
    check(projection.numCols() == (*result).numCols(),
            "Utilities::loadAndProjectFVFile() dimensions are wrong");

    result->fill(0.0);

    list<FVParserToken> current_vector;
    double totalWeight = 0.0;
    vector<double> rowWeights(result->numRows());
    int numProjectedColumns = projection.numCols();
    int numProjectedRows = projection.numRows();
    int largestDimensionSeen = 0;

    while (parser.nextLine(&current_vector)) {
        int point = parser.currentLineNumber() - 1;
        if (point >= (int)result->numRows()) {
            check(false, "Utilities::loadAndProjectFVFile() more vectors than expected "
                    "(loading vector " + toString(point + 1) + " when expecting " 
                    + toString((int)result->numRows()) + ")");
        }

        // normalize the vector
        double sumVector = 0.0;
        list<FVParserToken>::iterator i;
        for (i = current_vector.begin(); i != current_vector.end(); i++) {
            sumVector += i->value;
        }

        rowWeights[point] = sumVector;
        totalWeight += sumVector;

        // multiply the row we just pulled from the parser by *each column*
        // of the projection matrix to obtain the row in the result.

        // fill the resulting vector with zeros
        (*result)[point].fill(0.0);

        // over all original dimensions (columns of the original vector, rows of
        // the projection matrix)
        for (i = current_vector.begin(); i != current_vector.end(); i++) { 
            int dim = i->dimension;
            double val = i->value / sumVector;
            if (dim > largestDimensionSeen) { largestDimensionSeen = dim; }
            if (dim < 1 || dim > numProjectedRows) {
                check(dim >= 1, "Utilities::loadAndProjectFVFile() dimension < 1");
                check(dim <= numProjectedRows,
                    "Utilities::loadAndProjectFVFile() expecting only " +
                    toString((int)numProjectedRows) +
                    " dimensions, but found dimension " +
                    toString((int)dim));
            }

            // project the row
            for (int projCol = 0; projCol < numProjectedColumns; projCol++) {
                // note that dimension is changed to be offset 0
                (*result)[point][projCol] += val * projection[dim - 1][projCol];
            }
        }
    }
    check(parser.currentLineNumber() == (int)result->numRows(),
            "Utilities::loadAndProjectFVFile() the number of vectors loaded "
            "disagrees with the number specified (expected " +
            toString((int)result->numRows()) + " but loaded " +
            toString((int)parser.currentLineNumber()) + ")");

    check(largestDimensionSeen == (int)numProjectedRows,
            "Utilities::loadAndProjectFVFile() the number of dimensions loaded "
            "disagrees with the number specified (expected " +
            toString((int)numProjectedRows) + " but loaded " +
            toString((int)largestDimensionSeen) + ")");

    // normalize the weights and put them in the dataset
    for (unsigned int row = 0; row < result->numRows(); row++) {
        result->setWeight(row, rowWeights[row] / totalWeight);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x138, %rsp            # imm = 0x138
movq %rdx, %rbp
movq %rsi, 0xf0(%rsp)
movq %rdi, %rbx
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x4d88(%rip), %rsi      # 0x1f90f
leaq 0x4db1(%rip), %rdx      # 0x1f93f
leaq 0x8(%rsp), %rdi
callq 0x6058
testq %rbp, %rbp
je 0x1b8c7
movq %rbx, 0x100(%rsp)
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x1abc0
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0xf0(%rsp), %rax
movq (%rax), %rax
movq (%rax), %r14
movq 0x8(%rax), %rbx
movq (%rbp), %rax
movq (%rax), %r12
movq 0x8(%rax), %r15
leaq 0x8(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x4d54(%rip), %rsi      # 0x1f940
leaq 0x4d83(%rip), %rdx      # 0x1f976
callq 0x6058
subq %r12, %r15
shrq $0x3, %r15
subq %r14, %rbx
shrq $0x3, %rbx
cmpl %r15d, %ebx
jne 0x1b90b
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x1ac26
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
xorpd %xmm0, %xmm0
movsd %xmm0, 0xe8(%rsp)
movq %rbp, %rdi
callq 0x6fc2
leaq 0xd0(%rsp), %rax
movq %rax, 0x8(%rax)
movq %rax, (%rax)
movq $0x0, 0x10(%rax)
movq 0x8(%rbp), %rax
movq %rbp, 0xf8(%rsp)
subq (%rbp), %rax
shrq $0x3, %rax
imull $0xaaaaaaab, %eax, %esi # imm = 0xAAAAAAAB
leaq 0x120(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x6ad6
movq 0xf0(%rsp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
movq 0x8(%rax), %rbx
subq (%rax), %rbx
shrq $0x3, %rbx
subq %rax, %rcx
shrq $0x3, %rcx
imull $0xaaaaaaab, %ecx, %eax # imm = 0xAAAAAAAB
movl %eax, 0x6c(%rsp)
movq %rbx, %r12
andl $0x7fffffff, %ebx       # imm = 0x7FFFFFFF
xorl %r15d, %r15d
leaq 0xd0(%rsp), %rsi
movq 0x100(%rsp), %r14
movq %r14, %rdi
callq 0x84aa
movslq 0x8(%r14), %r14
testb %al, %al
movq 0xf8(%rsp), %rbp
je 0x1b0a0
movq (%rbp), %rax
movq 0x8(%rbp), %rcx
subq %rax, %rcx
shrq $0x3, %rcx
imull $0xaaaaaaab, %ecx, %ecx # imm = 0xAAAAAAAB
cmpl %ecx, %r14d
jg 0x1b757
movq 0xd0(%rsp), %rcx
leaq 0xd0(%rsp), %rdx
xorpd %xmm0, %xmm0
cmpq %rdx, %rcx
je 0x1ad22
addsd 0x18(%rcx), %xmm0
movq (%rcx), %rcx
jmp 0x1ad13
movsd %xmm0, 0x108(%rsp)
movq 0x120(%rsp), %rcx
movsd %xmm0, -0x8(%rcx,%r14,8)
decq %r14
leaq (%r14,%r14,2), %rcx
movq %rcx, 0x110(%rsp)
leaq (%rax,%rcx,8), %rdi
xorpd %xmm0, %xmm0
callq 0x6370
movsd 0xe8(%rsp), %xmm0
addsd 0x108(%rsp), %xmm0
movsd %xmm0, 0xe8(%rsp)
movq 0xd0(%rsp), %rbp
leaq 0xd0(%rsp), %rsi
cmpq %rsi, %rbp
je 0x1acbd
movslq 0x10(%rbp), %r14
cmpl %r15d, %r14d
cmovgl %r14d, %r15d
movsd 0x18(%rbp), %xmm0
movsd %xmm0, 0x118(%rsp)
testq %r14, %r14
jle 0x1adb3
cmpl 0x6c(%rsp), %r14d
jle 0x1b038
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x8(%rsp), %rdi
leaq 0x4bfc(%rip), %rsi      # 0x1f9c5
leaq 0x4c24(%rip), %rdx      # 0x1f9f4
callq 0x6058
testl %r14d, %r14d
jle 0x1b70e
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1adfa
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
leaq 0x70(%rsp), %r13
movq %r13, %rdi
movl 0x6c(%rsp), %esi
callq 0x19424
movl $0x31, %r8d
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x4bd6(%rip), %rcx      # 0x1f9f5
callq 0x4320
leaq 0x58(%rsp), %rsi
movq %rsi, 0x48(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1ae4c
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x1ae54
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x48(%rsp), %rdi
leaq 0x4977(%rip), %rsi      # 0x1f7ef
callq 0x45d0
leaq 0x38(%rsp), %rsi
movq %rsi, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1aea5
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x1aead
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x90(%rsp), %rdi
movl %r14d, %esi
callq 0x19424
movq 0x28(%rsp), %rcx
movl $0xf, %edi
leaq 0x38(%rsp), %rax
cmpq %rax, %rcx
je 0x1aeee
movq 0x38(%rsp), %rdi
movq 0x30(%rsp), %r8
movq 0x90(%rsp), %rsi
movq 0x98(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
jbe 0x1af2b
movl $0xf, %edi
leaq 0xa0(%rsp), %r9
cmpq %r9, %rsi
je 0x1af26
movq 0xa0(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x1af37
leaq 0x28(%rsp), %rdi
callq 0x4110
jmp 0x1af48
leaq 0x90(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4320
leaq 0x18(%rsp), %rsi
movq %rsi, 0x8(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x1af6d
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x1af75
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
cmpl 0x6c(%rsp), %r14d
jg 0x1b6cd
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1afb9
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x1afde
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x1affa
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x1b016
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x1b038
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x42d0
testl %r12d, %r12d
movsd 0x118(%rsp), %xmm1
jle 0x1b097
divsd 0x108(%rsp), %xmm1
movq 0xf0(%rsp), %rax
movq (%rax), %rax
leaq (%r14,%r14,2), %rcx
movq -0x18(%rax,%rcx,8), %rax
movq 0xf8(%rsp), %rcx
movq (%rcx), %rcx
movq 0x110(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
xorl %edx, %edx
movsd (%rax,%rdx,8), %xmm0
mulsd %xmm1, %xmm0
addsd (%rcx,%rdx,8), %xmm0
movsd %xmm0, (%rcx,%rdx,8)
incq %rdx
cmpq %rdx, %rbx
jne 0x1b07c
movq (%rbp), %rbp
jmp 0x1ad79
movq 0x8(%rbp), %rax
subq (%rbp), %rax
shrq $0x3, %rax
imull $0xaaaaaaab, %eax, %r12d # imm = 0xAAAAAAAB
leaq 0x90(%rsp), %rdi
movl %r12d, %esi
callq 0x19424
leaq 0x495d(%rip), %rcx      # 0x1fa27
leaq 0x90(%rsp), %rdi
movl $0x6d, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x4320
leaq 0x18(%rsp), %r13
leaq 0x80(%rsp), %rsi
movq %rsi, 0x70(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1b114
movq %rdx, 0x70(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x80(%rsp)
jmp 0x1b11c
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x70(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x475c(%rip), %rsi      # 0x1f89b
callq 0x45d0
leaq 0x58(%rsp), %rsi
movq %rsi, 0x48(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1b16c
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x1b174
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x100(%rsp), %rax
movl 0x8(%rax), %esi
leaq 0xb0(%rsp), %rdi
callq 0x19424
movq 0x48(%rsp), %rcx
movq 0x50(%rsp), %r8
movq 0xb8(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
leaq 0x58(%rsp), %rsi
cmpq %rsi, %rcx
je 0x1b1ce
movq 0x58(%rsp), %rdi
movq 0xb0(%rsp), %rsi
cmpq %rdi, %rax
jbe 0x1b1fa
leaq 0xc0(%rsp), %r9
movl $0xf, %edi
cmpq %r9, %rsi
je 0x1b1f5
movq 0xc0(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x1b206
leaq 0x48(%rsp), %rdi
callq 0x4110
jmp 0x1b217
leaq 0xb0(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4320
leaq 0x38(%rsp), %rsi
movq %rsi, 0x28(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x1b23c
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x1b244
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x1002(%rip), %rsi      # 0x1c26a
leaq 0x28(%rsp), %rdi
callq 0x45d0
movq %r13, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1b295
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x1b29f
movupd (%rcx), %xmm0
movupd %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
cmpl %r12d, %r14d
jne 0x1b94f
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x1b2d7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x1b2f3
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x42d0
leaq 0xc0(%rsp), %rbx
movq -0x10(%rbx), %rdi
cmpq %rbx, %rdi
je 0x1b314
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x1b330
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x1b352
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x1b377
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x42d0
leaq 0x90(%rsp), %rdi
movl 0x6c(%rsp), %esi
callq 0x19424
leaq 0x4706(%rip), %rcx      # 0x1fa95
leaq 0x90(%rsp), %rdi
movl $0x70, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x4320
leaq 0x80(%rsp), %rsi
movq %rsi, 0x70(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1b3d4
movq %rdx, 0x70(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x80(%rsp)
jmp 0x1b3dc
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x70(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x449c(%rip), %rsi      # 0x1f89b
callq 0x45d0
leaq 0x58(%rsp), %rsi
movq %rsi, 0x48(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1b42c
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x1b434
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xb0(%rsp), %rdi
movl %r15d, %esi
callq 0x19424
movq 0x48(%rsp), %rcx
movq 0x50(%rsp), %r8
movq 0xb8(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
leaq 0x58(%rsp), %rsi
cmpq %rsi, %rcx
je 0x1b486
movq 0x58(%rsp), %rdi
movq 0xb0(%rsp), %rsi
cmpq %rdi, %rax
jbe 0x1b4aa
movl $0xf, %edi
cmpq %rbx, %rsi
je 0x1b4a5
movq 0xc0(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x1b4b6
leaq 0x48(%rsp), %rdi
callq 0x4110
jmp 0x1b4c7
leaq 0xb0(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4320
leaq 0x38(%rsp), %rsi
movq %rsi, 0x28(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x1b4ec
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x1b4f4
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0xd52(%rip), %rsi       # 0x1c26a
leaq 0x28(%rsp), %rdi
callq 0x45d0
movq %r13, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1b545
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x1b54f
movupd (%rcx), %xmm0
movupd %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
cmpl 0x6c(%rsp), %r15d
jne 0x1b993
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x1b589
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x1b5a5
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0xb0(%rsp), %rdi
cmpq %rbx, %rdi
je 0x1b5c2
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x1b5de
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x1b600
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x1b625
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x8(%rbp), %rax
subq (%rbp), %rax
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rax, %rcx
movq 0x120(%rsp), %rdi
testl %ecx, %ecx
je 0x1b674
movq 0x18(%rbp), %rax
movl %ecx, %ecx
xorl %edx, %edx
movsd 0xe8(%rsp), %xmm1
movsd (%rdi,%rdx,8), %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, (%rax,%rdx,8)
incq %rdx
cmpq %rdx, %rcx
jne 0x1b65c
jmp 0x1b679
testq %rdi, %rdi
je 0x1b689
movq 0x130(%rsp), %rsi
subq %rdi, %rsi
callq 0x42d0
movq 0xd0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x1b6bb
movq (%rdi), %rbx
movl $0x20, %esi
callq 0x42d0
movq %rbx, %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rbx
jne 0x1b69e
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xbc5c(%rip), %rax      # 0x27330
movl (%rax), %ecx
shrl $0x1f, %ecx
movq 0x8(%rax,%rcx,8), %r14
leaq 0xa93(%rip), %rsi       # 0x1c178
movl $0x8, %edx
movq %r14, %rdi
callq 0x4330
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r14, %rdi
callq 0x4330
movq %rax, %rdi
callq 0x4160
jmp 0x1b74d
leaq 0xbc1b(%rip), %rax      # 0x27330
movl (%rax), %ecx
shrl $0x1f, %ecx
movq 0x8(%rax,%rcx,8), %r14
leaq 0xa52(%rip), %rsi       # 0x1c178
movl $0x8, %edx
movq %r14, %rdi
callq 0x4330
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r14, %rdi
callq 0x4330
movq %rax, %rdi
callq 0x4160
movl $0x1, %edi
callq 0x4370
leaq 0x90(%rsp), %rdi
movl %r14d, %esi
callq 0x19424
leaq 0x4209(%rip), %rcx      # 0x1f977
leaq 0x90(%rsp), %rdi
movl $0x4d, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x4320
leaq 0x80(%rsp), %rcx
movq %rcx, 0x70(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x1b7b3
movupd (%rcx), %xmm0
leaq 0x80(%rsp), %rdx
movupd %xmm0, (%rdx)
jmp 0x1b7c3
movq %rdx, 0x70(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x80(%rsp)
movq 0x8(%rax), %rdx
leaq 0x70(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x3fd0(%rip), %rsi      # 0x1f7b6
callq 0x45d0
leaq 0x58(%rsp), %rcx
movq %rcx, 0x48(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x1b813
movupd (%rcx), %xmm0
leaq 0x58(%rsp), %rdx
movupd %xmm0, (%rdx)
jmp 0x1b820
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0xf8(%rsp), %rcx
movq 0x8(%rcx), %rax
subq (%rcx), %rax
shrq $0x3, %rax
imull $0xaaaaaaab, %eax, %esi # imm = 0xAAAAAAAB
leaq 0xb0(%rsp), %rdi
callq 0x19424
movq 0x48(%rsp), %rcx
movq 0x50(%rsp), %r8
movq 0xb8(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
leaq 0x58(%rsp), %rsi
cmpq %rsi, %rcx
je 0x1b888
movq 0x58(%rsp), %rdi
movq 0xb0(%rsp), %rsi
cmpq %rdi, %rax
jbe 0x1b8b8
leaq 0xc0(%rsp), %r9
movl $0xf, %edi
cmpq %r9, %rsi
je 0x1b8af
movq 0xc0(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x1b9d7
leaq 0x48(%rsp), %rdi
callq 0x4110
jmp 0x1b9e8
leaq 0xba62(%rip), %rax      # 0x27330
movl (%rax), %ecx
shrl $0x1f, %ecx
movq 0x8(%rax,%rcx,8), %rbx
leaq 0x899(%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 0x1b74d
leaq 0xba1e(%rip), %rax      # 0x27330
movl (%rax), %ecx
shrl $0x1f, %ecx
movq 0x8(%rax,%rcx,8), %rbx
leaq 0x855(%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 0x1b74d
leaq 0xb9da(%rip), %rax      # 0x27330
movl (%rax), %ecx
shrl $0x1f, %ecx
movq 0x8(%rax,%rcx,8), %r14
leaq 0x811(%rip), %rsi       # 0x1c178
movl $0x8, %edx
movq %r14, %rdi
callq 0x4330
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r14, %rdi
callq 0x4330
movq %rax, %rdi
callq 0x4160
jmp 0x1b74d
leaq 0xb996(%rip), %rax      # 0x27330
movl (%rax), %ecx
shrl $0x1f, %ecx
movq 0x8(%rax,%rcx,8), %r14
leaq 0x7cd(%rip), %rsi       # 0x1c178
movl $0x8, %edx
movq %r14, %rdi
callq 0x4330
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r14, %rdi
callq 0x4330
movq %rax, %rdi
callq 0x4160
jmp 0x1b74d
leaq 0xb0(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4320
leaq 0x38(%rsp), %rcx
movq %rcx, 0x28(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
jne 0x1ba0d
movupd (%rcx), %xmm0
leaq 0x38(%rsp), %rdx
movupd %xmm0, (%rdx)
jmp 0x1ba1a
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x82c(%rip), %rsi       # 0x1c26a
leaq 0x28(%rsp), %rdi
callq 0x45d0
leaq 0x18(%rsp), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x1ba70
movupd (%rcx), %xmm0
leaq 0x18(%rsp), %rdx
movupd %xmm0, (%rdx)
jmp 0x1ba7d
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xb894(%rip), %rax      # 0x27330
movl (%rax), %ecx
shrl $0x1f, %ecx
movq 0x8(%rax,%rcx,8), %r14
leaq 0x6cb(%rip), %rsi       # 0x1c178
movl $0x8, %edx
movq %r14, %rdi
callq 0x4330
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r14, %rdi
callq 0x4330
movq %rax, %rdi
callq 0x4160
jmp 0x1b74d
jmp 0x1bb01
jmp 0x1bb96
movq %rax, %r14
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1bb55
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0x1bb55
movq %rax, %r14
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1bb99
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0x1bb99
jmp 0x1bb28
movq %rax, %r14
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1bd9c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0x1bd9c
jmp 0x1bbb7
movq %rax, %r14
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x1bb76
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0x1bb76
movq %rax, %r14
movq 0xb0(%rsp), %rdi
cmpq %rbx, %rdi
jne 0x1bbcb
jmp 0x1bbfd
jmp 0x1bbfa
jmp 0x1bc1b
jmp 0x1bc42
jmp 0x1bcb4
movq %rax, %r14
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x1bbba
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0x1bbba
movq %rax, %r14
leaq 0xc0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1bbfd
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0x1bbfd
jmp 0x1bbfa
jmp 0x1bc1b
jmp 0x1bc42
jmp 0x1bcb4
movq %rax, %r14
jmp 0x1bd6a
jmp 0x1bbf2
movq %rax, %r14
jmp 0x1bd9c
movq %rax, %r14
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x1bc1e
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0x1bc1e
movq %rax, %r14
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x1bc45
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0x1bc45
movq %rax, %r14
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x1bd4d
movq 0xa0(%rsp), %rsi
jmp 0x1bd45
jmp 0x1bcb4
jmp 0x1bcb4
jmp 0x1bcb4
movq %rax, %r14
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1bd4d
movq 0x18(%rsp), %rsi
jmp 0x1bd45
movq %rax, %r14
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1bcbf
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0x1bcbf
jmp 0x1bcb4
movq %rax, %r14
jmp 0x1bd4d
movq %rax, %r14
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x1bce9
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0x1bce9
movq %rax, %r14
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x1bd0a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0x1bd0a
movq %rax, %r14
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x1bd2b
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0x1bd2b
movq %rax, %r14
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x1bd4d
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x120(%rsp), %rdi
testq %rdi, %rdi
je 0x1bd6a
movq 0x130(%rsp), %rsi
subq %rdi, %rsi
callq 0x42d0
leaq 0xd0(%rsp), %rax
movq 0xd0(%rsp), %rdi
cmpq %rax, %rdi
je 0x1bd9c
movq (%rdi), %rbx
movl $0x20, %esi
callq 0x42d0
movq %rbx, %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rbx
jne 0x1bd7f
movq %r14, %rdi
callq 0x4580