// File: /workspace/github_cpp_makefile_star2_O1/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, 0xf8(%rsp)
movq %rdi, 0xe8(%rsp)
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x4cf7(%rip), %rsi      # 0x1f90f
leaq 0x4d20(%rip), %rdx      # 0x1f93f
leaq 0x8(%rsp), %rdi
callq 0x6086
testq %rbp, %rbp
je 0x1b95c
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x1ac49
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0xf8(%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 0x4ccb(%rip), %rsi      # 0x1f940
leaq 0x4cfa(%rip), %rdx      # 0x1f976
callq 0x6086
subq %r12, %r15
shrq $0x3, %r15
subq %r14, %rbx
shrq $0x3, %rbx
cmpl %r15d, %ebx
jne 0x1b9a0
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x1acaf
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
xorpd %xmm0, %xmm0
movsd %xmm0, 0xf0(%rsp)
movq %rbp, %rdi
callq 0x6fde
leaq 0xd0(%rsp), %rax
movq %rax, 0x8(%rax)
movq %rax, (%rax)
movq $0x0, 0x10(%rax)
movq 0x8(%rbp), %rax
movq %rbp, 0x100(%rsp)
subq (%rbp), %rax
shrq $0x3, %rax
imull $0xaaaaaaab, %eax, %esi # imm = 0xAAAAAAAB
leaq 0x110(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x6aee
movq 0xf8(%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 0xe8(%rsp), %rdi
callq 0x8472
movq 0x100(%rsp), %rbp
movq (%rbp), %rcx
movq 0x8(%rbp), %rdx
subq %rcx, %rdx
shrq $0x3, %rdx
imull $0xaaaaaaab, %edx, %r14d # imm = 0xAAAAAAAB
testb %al, %al
je 0x1b133
movq 0xe8(%rsp), %rax
movslq 0x8(%rax), %rsi
cmpl %r14d, %esi
jg 0x1b7ee
movq 0xd0(%rsp), %rax
leaq 0xd0(%rsp), %rdx
xorpd %xmm0, %xmm0
cmpq %rdx, %rax
je 0x1adb1
addsd 0x18(%rax), %xmm0
movq (%rax), %rax
jmp 0x1ada2
movsd %xmm0, 0x108(%rsp)
movq 0x110(%rsp), %rax
movsd %xmm0, -0x8(%rax,%rsi,8)
decq %rsi
leaq (%rsi,%rsi,2), %rax
movq %rax, 0x128(%rsp)
leaq (%rcx,%rax,8), %rdi
xorpd %xmm0, %xmm0
callq 0x6390
movsd 0xf0(%rsp), %xmm0
addsd 0x108(%rsp), %xmm0
movsd %xmm0, 0xf0(%rsp)
movq 0xd0(%rsp), %rbp
leaq 0xd0(%rsp), %rsi
cmpq %rsi, %rbp
je 0x1ad46
movslq 0x10(%rbp), %r14
cmpl %r15d, %r14d
cmovgl %r14d, %r15d
movsd 0x18(%rbp), %xmm0
movsd %xmm0, 0x130(%rsp)
testq %r14, %r14
jle 0x1ae41
cmpl 0x6c(%rsp), %r14d
jle 0x1b0cb
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x8(%rsp), %rdi
leaq 0x4b6e(%rip), %rsi      # 0x1f9c5
leaq 0x4b96(%rip), %rdx      # 0x1f9f4
callq 0x6086
testl %r14d, %r14d
jle 0x1b7a5
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1ae88
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
leaq 0x70(%rsp), %r13
movq %r13, %rdi
movl 0x6c(%rsp), %esi
callq 0x194bc
movl $0x31, %r8d
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x4b48(%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 0x1aeda
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x1aee2
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 0x48e9(%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 0x1af33
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x1af3b
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 0x194bc
movq 0x28(%rsp), %rcx
movl $0xf, %esi
leaq 0x38(%rsp), %rax
cmpq %rax, %rcx
je 0x1af7c
movq 0x38(%rsp), %rsi
movq 0x30(%rsp), %r8
movq 0x98(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rsi, %rax
jbe 0x1afb6
movl $0xf, %esi
leaq 0xa0(%rsp), %rdi
cmpq %rdi, 0x90(%rsp)
je 0x1afb1
movq 0xa0(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x1afca
movq 0x90(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x4110
jmp 0x1afdb
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 0x1b000
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x1b008
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 0x1b764
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1b04c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x1b071
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x1b08d
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x1b0a9
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x1b0cb
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x42d0
testl %r12d, %r12d
movsd 0x130(%rsp), %xmm1
jle 0x1b12a
divsd 0x108(%rsp), %xmm1
movq 0xf8(%rsp), %rax
movq (%rax), %rax
leaq (%r14,%r14,2), %rcx
movq -0x18(%rax,%rcx,8), %rax
movq 0x100(%rsp), %rcx
movq (%rcx), %rcx
movq 0x128(%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 0x1b10f
movq (%rbp), %rbp
jmp 0x1ae07
movq 0xe8(%rsp), %rax
movl 0x8(%rax), %ebx
leaq 0x90(%rsp), %rdi
movl %r14d, %esi
callq 0x194bc
leaq 0x48d2(%rip), %rcx      # 0x1fa27
leaq 0x90(%rsp), %rdi
movl $0x6d, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x4320
leaq 0x18(%rsp), %r12
leaq 0x80(%rsp), %rsi
movq %rsi, 0x70(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1b19f
movq %rdx, 0x70(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x80(%rsp)
jmp 0x1b1a7
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 0x46d1(%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 0x1b1f7
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x1b1ff
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 0xe8(%rsp), %rax
movl 0x8(%rax), %esi
leaq 0xb0(%rsp), %rdi
callq 0x194bc
movq 0x48(%rsp), %rcx
movq 0x50(%rsp), %r8
movq 0xb8(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
leaq 0x58(%rsp), %rdi
cmpq %rdi, %rcx
je 0x1b259
movq 0x58(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x1b27e
leaq 0xc0(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x1b279
movq 0xc0(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x1b292
movq 0xb0(%rsp), %rsi
leaq 0x48(%rsp), %rdi
callq 0x4110
jmp 0x1b2a3
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 0x1b2c8
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x1b2d0
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 0xf76(%rip), %rsi       # 0x1c26a
leaq 0x28(%rsp), %rdi
callq 0x45d0
movq %r12, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1b321
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x1b32b
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
cmpl %r14d, %ebx
jne 0x1b9e4
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x1b363
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x1b37f
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x42d0
leaq 0xc0(%rsp), %rbx
movq -0x10(%rbx), %rdi
cmpq %rbx, %rdi
je 0x1b3a0
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x1b3bc
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x1b3de
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x1b403
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x42d0
leaq 0x90(%rsp), %rdi
movl 0x6c(%rsp), %esi
callq 0x194bc
leaq 0x467a(%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 0x1b460
movq %rdx, 0x70(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x80(%rsp)
jmp 0x1b468
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 0x4410(%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 0x1b4b8
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x1b4c0
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 0x194bc
movq 0x48(%rsp), %rcx
movq 0x50(%rsp), %r8
movq 0xb8(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
leaq 0x58(%rsp), %rdi
cmpq %rdi, %rcx
je 0x1b512
movq 0x58(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x1b533
movl $0xf, %esi
cmpq %rbx, 0xb0(%rsp)
je 0x1b52e
movq 0xc0(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x1b547
movq 0xb0(%rsp), %rsi
leaq 0x48(%rsp), %rdi
callq 0x4110
jmp 0x1b558
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 0x1b57d
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x1b585
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 0xcc1(%rip), %rsi       # 0x1c26a
leaq 0x28(%rsp), %rdi
callq 0x45d0
movq %r12, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1b5d6
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x1b5e0
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
cmpl 0x6c(%rsp), %r15d
jne 0x1ba28
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x1b61a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x1b636
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0xb0(%rsp), %rdi
cmpq %rbx, %rdi
je 0x1b653
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x1b66f
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x1b691
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x1b6b6
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x8(%rbp), %rax
subq (%rbp), %rax
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rax, %rdx
testl %edx, %edx
movsd 0xf0(%rsp), %xmm1
je 0x1b703
movq 0x110(%rsp), %rax
movq 0x18(%rbp), %rcx
movl %edx, %edx
xorl %esi, %esi
movsd (%rax,%rsi,8), %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, (%rcx,%rsi,8)
incq %rsi
cmpq %rsi, %rdx
jne 0x1b6ed
movq 0x110(%rsp), %rdi
testq %rdi, %rdi
je 0x1b720
movq 0x120(%rsp), %rsi
subq %rdi, %rsi
callq 0x42d0
movq 0xd0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x1b752
movq (%rdi), %rbx
movl $0x20, %esi
callq 0x42d0
movq %rbx, %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rbx
jne 0x1b735
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xbbc5(%rip), %rax      # 0x27330
movl (%rax), %ecx
shrl $0x1f, %ecx
movq 0x8(%rax,%rcx,8), %r14
leaq 0x9fc(%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 0x1b7e4
leaq 0xbb84(%rip), %rax      # 0x27330
movl (%rax), %ecx
shrl $0x1f, %ecx
movq 0x8(%rax,%rcx,8), %r14
leaq 0x9bb(%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
callq 0x194bc
leaq 0x4175(%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 0x1b847
movupd (%rcx), %xmm0
leaq 0x80(%rsp), %rdx
movupd %xmm0, (%rdx)
jmp 0x1b857
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 0x3f3c(%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 0x1b8a7
movupd (%rcx), %xmm0
leaq 0x58(%rsp), %rdx
movupd %xmm0, (%rdx)
jmp 0x1b8b4
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 0x100(%rsp), %rcx
movq 0x8(%rcx), %rax
subq (%rcx), %rax
shrq $0x3, %rax
imull $0xaaaaaaab, %eax, %esi # imm = 0xAAAAAAAB
leaq 0xb0(%rsp), %rdi
callq 0x194bc
movq 0x48(%rsp), %rcx
movq 0x50(%rsp), %r8
movq 0xb8(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
leaq 0x58(%rsp), %rdi
cmpq %rdi, %rcx
je 0x1b91c
movq 0x58(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x1b945
leaq 0xc0(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x1b93c
movq 0xc0(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x1ba6c
movq 0xb0(%rsp), %rsi
leaq 0x48(%rsp), %rdi
callq 0x4110
jmp 0x1ba7d
leaq 0xb9cd(%rip), %rax      # 0x27330
movl (%rax), %ecx
shrl $0x1f, %ecx
movq 0x8(%rax,%rcx,8), %rbx
leaq 0x804(%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 0x1b7e4
leaq 0xb989(%rip), %rax      # 0x27330
movl (%rax), %ecx
shrl $0x1f, %ecx
movq 0x8(%rax,%rcx,8), %rbx
leaq 0x7c0(%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 0x1b7e4
leaq 0xb945(%rip), %rax      # 0x27330
movl (%rax), %ecx
shrl $0x1f, %ecx
movq 0x8(%rax,%rcx,8), %r14
leaq 0x77c(%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 0x1b7e4
leaq 0xb901(%rip), %rax      # 0x27330
movl (%rax), %ecx
shrl $0x1f, %ecx
movq 0x8(%rax,%rcx,8), %r14
leaq 0x738(%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 0x1b7e4
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 0x1baa2
movupd (%rcx), %xmm0
leaq 0x38(%rsp), %rdx
movupd %xmm0, (%rdx)
jmp 0x1baaf
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 0x797(%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 0x1bb05
movupd (%rcx), %xmm0
leaq 0x18(%rsp), %rdx
movupd %xmm0, (%rdx)
jmp 0x1bb12
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 0xb7ff(%rip), %rax      # 0x27330
movl (%rax), %ecx
shrl $0x1f, %ecx
movq 0x8(%rax,%rcx,8), %r14
leaq 0x636(%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 0x1b7e4
jmp 0x1bb96
jmp 0x1bc2b
movq %rax, %r14
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1bbea
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0x1bbea
movq %rax, %r14
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1bc2e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0x1bc2e
jmp 0x1bbbd
movq %rax, %r14
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1be31
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0x1be31
jmp 0x1bc4c
movq %rax, %r14
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x1bc0b
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0x1bc0b
movq %rax, %r14
movq 0xb0(%rsp), %rdi
cmpq %rbx, %rdi
jne 0x1bc60
jmp 0x1bc92
jmp 0x1bc8f
jmp 0x1bcb0
jmp 0x1bcd7
jmp 0x1bd49
movq %rax, %r14
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x1bc4f
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0x1bc4f
movq %rax, %r14
leaq 0xc0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1bc92
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0x1bc92
jmp 0x1bc8f
jmp 0x1bcb0
jmp 0x1bcd7
jmp 0x1bd49
movq %rax, %r14
jmp 0x1bdff
jmp 0x1bc87
movq %rax, %r14
jmp 0x1be31
movq %rax, %r14
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x1bcb3
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0x1bcb3
movq %rax, %r14
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x1bcda
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0x1bcda
movq %rax, %r14
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x1bde2
movq 0xa0(%rsp), %rsi
jmp 0x1bdda
jmp 0x1bd49
jmp 0x1bd49
jmp 0x1bd49
movq %rax, %r14
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1bde2
movq 0x18(%rsp), %rsi
jmp 0x1bdda
movq %rax, %r14
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1bd54
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0x1bd54
jmp 0x1bd49
movq %rax, %r14
jmp 0x1bde2
movq %rax, %r14
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x1bd7e
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0x1bd7e
movq %rax, %r14
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x1bd9f
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0x1bd9f
movq %rax, %r14
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x1bdc0
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x42d0
jmp 0x1bdc0
movq %rax, %r14
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x1bde2
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x42d0
movq 0x110(%rsp), %rdi
testq %rdi, %rdi
je 0x1bdff
movq 0x120(%rsp), %rsi
subq %rdi, %rsi
callq 0x42d0
leaq 0xd0(%rsp), %rax
movq 0xd0(%rsp), %rdi
cmpq %rax, %rdi
je 0x1be31
movq (%rdi), %rbx
movl $0x20, %esi
callq 0x42d0
movq %rbx, %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rbx
jne 0x1be14
movq %r14, %rdi
callq 0x4580