// File: /workspace/github_c_makefile_star2_O0/debbiemarkslab[P]plmc/src/inference.c
// Function: PLMNegLogPosteriorBlock
static lbfgsfloatval_t PLMNegLogPosteriorBlock(void *instance,
    const lbfgsfloatval_t *x, lbfgsfloatval_t *g, const int n,
    const lbfgsfloatval_t step) {
    /* Compute the the negative log posterior, which is the negative 
       penalized log-(pseudo)likelihood and the objective for MAP inference
    */
    void **d = (void **)instance;
    alignment_t *ali = (alignment_t *) d[0];
    options_t *options = (options_t *) d[1];
    numeric_t *lambdas = (numeric_t *) d[2];

    /* Initialize log-likelihood and gradient */
    lbfgsfloatval_t fx = 0.0;
    for (int i = 0; i < ali->nParams; i++) g[i] = 0;

    /* Block fields hi */
    numeric_t *hi = (numeric_t *)
        malloc(ali->nSites * ali->nCodes * sizeof(numeric_t));
    numeric_t *gHi = (numeric_t *)
        malloc(ali->nSites * ali->nCodes * sizeof(numeric_t));
    for (int i = 0; i < ali->nSites; i++)
        for (int ai = 0; ai < ali->nCodes; ai++) Hi(i, ai) = xHi(i, ai);
    for (int i = 0; i < ali->nSites * ali->nCodes; i++) gHi[i] = 0;

    /* Block couplings eij */
    numeric_t *eij = (numeric_t *) malloc(ali->nSites * ali->nSites
        * ali->nCodes * ali->nCodes * sizeof(numeric_t));
    numeric_t *gEij = (numeric_t *) malloc(ali->nSites * ali->nSites
        * ali->nCodes * ali->nCodes * sizeof(numeric_t));
    for (int i = 0; i < ali->nSites * ali->nSites * ali->nCodes * ali->nCodes;
        i++) eij[i] = 0.0;
    for (int i = 0; i < ali->nSites * ali->nSites * ali->nCodes * ali->nCodes;
        i++) gEij[i] = 0.0;
    for (int i = 0; i < ali->nSites - 1; i++)
        for (int j = i + 1; j < ali->nSites; j++)
            for (int ai = 0; ai < ali->nCodes; ai++)
                for (int aj = 0; aj < ali->nCodes; aj++)
                    Eij(j, aj, i, ai) = Eij(i, ai, j, aj) = xEij(i, j, ai, aj);


    /* Negative log-pseudolikelihood */
    for (int s = 0; s < ali->nSeqs; s++) {
        /* Form potential for conditional log likelihoods at every site */
        numeric_t *H = (numeric_t *)
            malloc(ali->nCodes * ali->nSites * sizeof(numeric_t));
        numeric_t *Z = (numeric_t *) malloc(ali->nSites * sizeof(numeric_t));

        /* Initialize potentials with fields */
        // memcpy(H, hi, ali->nSites * ali->nCodes * sizeof(numeric_t));
        for(int jx = 0; jx < ali->nSites * ali->nCodes; jx++) H[jx] = hi[jx];

        /* Contribute coupling block due to i, ai */
        for (int i = 0; i < ali->nSites; i++) {
            const letter_t ai = seq(s, i);
            const numeric_t *jB = &(Eij(i, ai, 0, 0));
            for(int jx = 0; jx < ali->nSites * ali->nCodes; jx++)
                H[jx] += jB[jx];
        }

        /* Conditional log likelihoods */
        for (int i = 0; i < ali->nSites * ali->nCodes; i++) H[i] = exp(H[i]);
        for (int i = 0; i < ali->nSites; i++) Z[i] = 0;
        for (int i = 0; i < ali->nSites; i++)
            for (int ai = 0; ai < ali->nSites; ai++) Z[i] += Hp(i, ai);
        for (int i = 0; i < ali->nSites; i++)
            for (int ai = 0; ai < ali->nSites; ai++) Hp(i, ai) /= Z[i];

        numeric_t seqFx = 0;
        for (int i = 0; i < ali->nSites; i++)
            seqFx -= ali->weights[s] * log(Hp(i, seq(s, i)));

        for(int jx = 0; jx < ali->nSites * ali->nCodes; jx++)
            H[jx] *= -ali->weights[s];

        for (int i = 0; i < ali->nSites; i++)
            gHi(i, seq(s, i)) -= ali->weights[s];
        for(int jx = 0; jx < ali->nSites * ali->nCodes; jx++) gHi[jx] -= H[jx];

        for (int i = 0; i < ali->nSites - 1; i++)
            for (int j = i; j < ali->nSites; j++)
                gEij(i, seq(s, i), j, seq(s, j)) -= ali->weights[s];

        for (int i = 0; i < ali->nSites; i++) {
            const letter_t ai = seq(s, i);
            numeric_t *jgBlock = &(gEij(i, ai, 0, 0));
            for (int jx = 0; jx < ali->nSites * ali->nCodes; jx++)
                jgBlock[jx] -= H[jx];
        }

        free(H);
        free(Z);
        fx += seqFx;
    }

    for (int i = 0; i < ali->nSites; i++)
        for (int ai = 0; ai < ali->nCodes; ai++)
            dHi(i, ai) += gHi(i, ai);

    for (int i = 0; i < ali->nSites - 1; i++)
        for (int j = i + 1; j < ali->nSites; j++)
            for (int ai = 0; ai < ali->nCodes; ai++)
                for (int aj = 0; aj < ali->nCodes; aj++)
                    dEij(i, j, ai, aj) += gEij(j, aj, i, ai) + gEij(i, ai, j, aj);
    free(hi);
    free(gHi);
    free(eij);
    free(gEij);

    ali->negLogLk = fx;

    /* Gaussian priors */
    for (int i = 0; i < ali->nSites; i++)
        for (int ai = 0; ai < ali->nCodes; ai++) {
            dHi(i, ai) += lambdaHi(i) * 2.0 * xHi(i, ai);
            fx += lambdaHi(i) * xHi(i, ai) * xHi(i, ai);
        }

    for (int i = 0; i < ali->nSites-1; i++)
        for (int j = i + 1; j < ali->nSites; j++)
            for (int ai = 0; ai < ali->nCodes; ai++)
                for (int aj = 0; aj < ali->nCodes; aj++) {
                    dEij(i, j, ai, aj) += lambdaEij(i, j)
                        * 2.0 * xEij(i, j, ai, aj);
                    fx += lambdaEij(i, j)
                        * xEij(i, j, ai, aj) * xEij(i, j, ai, aj);
                }

    fx = PostCondition(x, g, fx, ali, options);
    return fx;
}

// Assembly:
subq $0x218, %rsp            # imm = 0x218
movq %rdi, 0x210(%rsp)
movq %rsi, 0x208(%rsp)
movq %rdx, 0x200(%rsp)
movl %ecx, 0x1fc(%rsp)
movsd %xmm0, 0x1f0(%rsp)
movq 0x210(%rsp), %rax
movq %rax, 0x1e8(%rsp)
movq 0x1e8(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x1e0(%rsp)
movq 0x1e8(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x1d8(%rsp)
movq 0x1e8(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x1d0(%rsp)
xorps %xmm0, %xmm0
movsd %xmm0, 0x1c8(%rsp)
movl $0x0, 0x1c4(%rsp)
movl 0x1c4(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x68(%rcx), %eax
jge 0xf130
movq 0x200(%rsp), %rax
movslq 0x1c4(%rsp), %rcx
xorps %xmm0, %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl 0x1c4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1c4(%rsp)
jmp 0xf0f1
movq 0x1e0(%rsp), %rax
movl 0x4(%rax), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movslq %eax, %rdi
shlq $0x3, %rdi
callq 0x1170
movq %rax, 0x1b8(%rsp)
movq 0x1e0(%rsp), %rax
movl 0x4(%rax), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movslq %eax, %rdi
shlq $0x3, %rdi
callq 0x1170
movq %rax, 0x1b0(%rsp)
movl $0x0, 0x1ac(%rsp)
movl 0x1ac(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x4(%rcx), %eax
jge 0xf24b
movl $0x0, 0x1a8(%rsp)
movl 0x1a8(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x8(%rcx), %eax
jge 0xf233
movq 0x208(%rsp), %rax
movl 0x1ac(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
movl 0x4(%rdx), %edx
imull 0x1a8(%rsp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x1b8(%rsp), %rax
movl 0x1a8(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
movl 0x8(%rdx), %edx
imull 0x1ac(%rsp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movsd %xmm0, (%rax,%rcx,8)
movl 0x1a8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1a8(%rsp)
jmp 0xf1b4
jmp 0xf235
movl 0x1ac(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1ac(%rsp)
jmp 0xf191
movl $0x0, 0x1a4(%rsp)
movl 0x1a4(%rsp), %eax
movq 0x1e0(%rsp), %rcx
movl 0x4(%rcx), %ecx
movq 0x1e0(%rsp), %rdx
imull 0x8(%rdx), %ecx
cmpl %ecx, %eax
jge 0xf2a3
movq 0x1b0(%rsp), %rax
movslq 0x1a4(%rsp), %rcx
xorps %xmm0, %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl 0x1a4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1a4(%rsp)
jmp 0xf256
movq 0x1e0(%rsp), %rax
movl 0x4(%rax), %eax
movq 0x1e0(%rsp), %rcx
imull 0x4(%rcx), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movslq %eax, %rdi
shlq $0x3, %rdi
callq 0x1170
movq %rax, 0x198(%rsp)
movq 0x1e0(%rsp), %rax
movl 0x4(%rax), %eax
movq 0x1e0(%rsp), %rcx
imull 0x4(%rcx), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movslq %eax, %rdi
shlq $0x3, %rdi
callq 0x1170
movq %rax, 0x190(%rsp)
movl $0x0, 0x18c(%rsp)
movl 0x18c(%rsp), %eax
movq 0x1e0(%rsp), %rcx
movl 0x4(%rcx), %ecx
movq 0x1e0(%rsp), %rdx
imull 0x4(%rdx), %ecx
movq 0x1e0(%rsp), %rdx
imull 0x8(%rdx), %ecx
movq 0x1e0(%rsp), %rdx
imull 0x8(%rdx), %ecx
cmpl %ecx, %eax
jge 0xf399
movq 0x198(%rsp), %rax
movslq 0x18c(%rsp), %rcx
xorps %xmm0, %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl 0x18c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x18c(%rsp)
jmp 0xf334
movl $0x0, 0x188(%rsp)
movl 0x188(%rsp), %eax
movq 0x1e0(%rsp), %rcx
movl 0x4(%rcx), %ecx
movq 0x1e0(%rsp), %rdx
imull 0x4(%rdx), %ecx
movq 0x1e0(%rsp), %rdx
imull 0x8(%rdx), %ecx
movq 0x1e0(%rsp), %rdx
imull 0x8(%rdx), %ecx
cmpl %ecx, %eax
jge 0xf409
movq 0x190(%rsp), %rax
movslq 0x188(%rsp), %rcx
xorps %xmm0, %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl 0x188(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x188(%rsp)
jmp 0xf3a4
movl $0x0, 0x184(%rsp)
movl 0x184(%rsp), %eax
movq 0x1e0(%rsp), %rcx
movl 0x4(%rcx), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jge 0xf6d8
movl 0x184(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x180(%rsp)
movl 0x180(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x4(%rcx), %eax
jge 0xf6c0
movl $0x0, 0x17c(%rsp)
movl 0x17c(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x8(%rcx), %eax
jge 0xf6a8
movl $0x0, 0x178(%rsp)
movl 0x178(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x8(%rcx), %eax
jge 0xf690
movq 0x208(%rsp), %rax
movq %rax, 0xb8(%rsp)
movq 0x1e0(%rsp), %rax
movl 0x4(%rax), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movl %eax, 0xc0(%rsp)
movl 0x184(%rsp), %eax
cmpl 0x180(%rsp), %eax
jge 0xf53e
movl 0x180(%rsp), %eax
movl 0x180(%rsp), %ecx
subl $0x1, %ecx
imull %ecx, %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl 0x184(%rsp), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movl 0x178(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
imull 0x8(%rdx), %ecx
addl %ecx, %eax
addl 0x17c(%rsp), %eax
movl %eax, 0xb4(%rsp)
jmp 0xf59c
movl 0x184(%rsp), %eax
movl 0x184(%rsp), %ecx
subl $0x1, %ecx
imull %ecx, %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl 0x180(%rsp), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movl 0x17c(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
imull 0x8(%rdx), %ecx
addl %ecx, %eax
addl 0x178(%rsp), %eax
movl %eax, 0xb4(%rsp)
movq 0xb8(%rsp), %rax
movl 0xc0(%rsp), %ecx
movl 0xb4(%rsp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x198(%rsp), %rax
movl 0x178(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
movl 0x8(%rdx), %edx
movl 0x180(%rsp), %esi
movq 0x1e0(%rsp), %rdi
movl 0x4(%rdi), %edi
movl 0x17c(%rsp), %r8d
movq 0x1e0(%rsp), %r9
movl 0x8(%r9), %r9d
imull 0x184(%rsp), %r9d
addl %r9d, %r8d
imull %r8d, %edi
addl %edi, %esi
imull %esi, %edx
addl %edx, %ecx
movslq %ecx, %rcx
movsd %xmm0, (%rax,%rcx,8)
movq 0x198(%rsp), %rax
movl 0x17c(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
movl 0x8(%rdx), %edx
movl 0x184(%rsp), %esi
movq 0x1e0(%rsp), %rdi
movl 0x4(%rdi), %edi
movl 0x178(%rsp), %r8d
movq 0x1e0(%rsp), %r9
movl 0x8(%r9), %r9d
imull 0x180(%rsp), %r9d
addl %r9d, %r8d
imull %r8d, %edi
addl %edi, %esi
imull %esi, %edx
addl %edx, %ecx
movslq %ecx, %rcx
movsd %xmm0, (%rax,%rcx,8)
movl 0x178(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x178(%rsp)
jmp 0xf488
jmp 0xf692
movl 0x17c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x17c(%rsp)
jmp 0xf465
jmp 0xf6aa
movl 0x180(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x180(%rsp)
jmp 0xf442
jmp 0xf6c2
movl 0x184(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x184(%rsp)
jmp 0xf414
movl $0x0, 0x174(%rsp)
movl 0x174(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl (%rcx), %eax
jge 0x10082
movq 0x1e0(%rsp), %rax
movl 0x8(%rax), %eax
movq 0x1e0(%rsp), %rcx
imull 0x4(%rcx), %eax
movslq %eax, %rdi
shlq $0x3, %rdi
callq 0x1170
movq %rax, 0x168(%rsp)
movq 0x1e0(%rsp), %rax
movslq 0x4(%rax), %rdi
shlq $0x3, %rdi
callq 0x1170
movq %rax, 0x160(%rsp)
movl $0x0, 0x15c(%rsp)
movl 0x15c(%rsp), %eax
movq 0x1e0(%rsp), %rcx
movl 0x4(%rcx), %ecx
movq 0x1e0(%rsp), %rdx
imull 0x8(%rdx), %ecx
cmpl %ecx, %eax
jge 0xf7ac
movq 0x1b8(%rsp), %rax
movslq 0x15c(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x168(%rsp), %rax
movslq 0x15c(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl 0x15c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x15c(%rsp)
jmp 0xf74d
movl $0x0, 0x158(%rsp)
movl 0x158(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x4(%rcx), %eax
jge 0xf8e3
movq 0x1e0(%rsp), %rax
movq 0x20(%rax), %rax
movl 0x158(%rsp), %ecx
movl 0x174(%rsp), %edx
movq 0x1e0(%rsp), %rsi
imull 0x4(%rsi), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, 0x154(%rsp)
movq 0x198(%rsp), %rax
movq 0x1e0(%rsp), %rcx
movl 0x8(%rcx), %ecx
movq 0x1e0(%rsp), %rdx
movl 0x4(%rdx), %edx
movl 0x154(%rsp), %esi
movq 0x1e0(%rsp), %rdi
movl 0x8(%rdi), %edi
imull 0x158(%rsp), %edi
addl %edi, %esi
imull %esi, %edx
addl $0x0, %edx
imull %edx, %ecx
addl $0x0, %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, 0x148(%rsp)
movl $0x0, 0x144(%rsp)
movl 0x144(%rsp), %eax
movq 0x1e0(%rsp), %rcx
movl 0x4(%rcx), %ecx
movq 0x1e0(%rsp), %rdx
imull 0x8(%rdx), %ecx
cmpl %ecx, %eax
jge 0xf8cb
movq 0x148(%rsp), %rax
movslq 0x144(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x168(%rsp), %rax
movslq 0x144(%rsp), %rcx
addsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl 0x144(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x144(%rsp)
jmp 0xf867
jmp 0xf8cd
movl 0x158(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x158(%rsp)
jmp 0xf7b7
movl $0x0, 0x140(%rsp)
movl 0x140(%rsp), %eax
movq 0x1e0(%rsp), %rcx
movl 0x4(%rcx), %ecx
movq 0x1e0(%rsp), %rdx
imull 0x8(%rdx), %ecx
cmpl %ecx, %eax
jge 0xf952
movq 0x168(%rsp), %rax
movslq 0x140(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
callq 0x1200
movq 0x168(%rsp), %rax
movslq 0x140(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl 0x140(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x140(%rsp)
jmp 0xf8ee
movl $0x0, 0x13c(%rsp)
movl 0x13c(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x4(%rcx), %eax
jge 0xf99c
movq 0x160(%rsp), %rax
movslq 0x13c(%rsp), %rcx
xorps %xmm0, %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl 0x13c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x13c(%rsp)
jmp 0xf95d
movl $0x0, 0x138(%rsp)
movl 0x138(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x4(%rcx), %eax
jge 0xfa4f
movl $0x0, 0x134(%rsp)
movl 0x134(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x4(%rcx), %eax
jge 0xfa37
movq 0x168(%rsp), %rax
movl 0x134(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
movl 0x8(%rdx), %edx
imull 0x138(%rsp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x160(%rsp), %rax
movslq 0x138(%rsp), %rcx
addsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl 0x134(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x134(%rsp)
jmp 0xf9ca
jmp 0xfa39
movl 0x138(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x138(%rsp)
jmp 0xf9a7
movl $0x0, 0x130(%rsp)
movl 0x130(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x4(%rcx), %eax
jge 0xfb06
movl $0x0, 0x12c(%rsp)
movl 0x12c(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x4(%rcx), %eax
jge 0xfaee
movq 0x160(%rsp), %rax
movslq 0x130(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm1
movq 0x168(%rsp), %rax
movl 0x12c(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
movl 0x8(%rdx), %edx
imull 0x130(%rsp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl 0x12c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x12c(%rsp)
jmp 0xfa7d
jmp 0xfaf0
movl 0x130(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x130(%rsp)
jmp 0xfa5a
xorps %xmm0, %xmm0
movsd %xmm0, 0x120(%rsp)
movl $0x0, 0x11c(%rsp)
movl 0x11c(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x4(%rcx), %eax
jge 0xfc02
movq 0x1e0(%rsp), %rax
movq 0x50(%rax), %rax
movslq 0x174(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0xa8(%rsp)
movq 0x168(%rsp), %rax
movq 0x1e0(%rsp), %rcx
movq 0x20(%rcx), %rcx
movl 0x11c(%rsp), %edx
movl 0x174(%rsp), %esi
movq 0x1e0(%rsp), %rdi
imull 0x4(%rdi), %esi
addl %esi, %edx
movslq %edx, %rdx
movl (%rcx,%rdx,4), %ecx
movq 0x1e0(%rsp), %rdx
movl 0x8(%rdx), %edx
imull 0x11c(%rsp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
callq 0x1110
movaps %xmm0, %xmm2
movsd 0xa8(%rsp), %xmm0
movsd 0x120(%rsp), %xmm1
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x120(%rsp)
movl 0x11c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x11c(%rsp)
jmp 0xfb1d
movl $0x0, 0x118(%rsp)
movl 0x118(%rsp), %eax
movq 0x1e0(%rsp), %rcx
movl 0x4(%rcx), %ecx
movq 0x1e0(%rsp), %rdx
imull 0x8(%rdx), %ecx
cmpl %ecx, %eax
jge 0xfc8c
movq 0x1e0(%rsp), %rax
movq 0x50(%rax), %rax
movslq 0x174(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movq 0x168(%rsp), %rax
movslq 0x118(%rsp), %rcx
mulsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl 0x118(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x118(%rsp)
jmp 0xfc0d
movl $0x0, 0x114(%rsp)
movl 0x114(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x4(%rcx), %eax
jge 0xfd3a
movq 0x1e0(%rsp), %rax
movq 0x50(%rax), %rax
movslq 0x174(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm1
movq 0x1b0(%rsp), %rax
movq 0x1e0(%rsp), %rcx
movq 0x20(%rcx), %rcx
movl 0x114(%rsp), %edx
movl 0x174(%rsp), %esi
movq 0x1e0(%rsp), %rdi
imull 0x4(%rdi), %esi
addl %esi, %edx
movslq %edx, %rdx
movl (%rcx,%rdx,4), %ecx
movq 0x1e0(%rsp), %rdx
movl 0x8(%rdx), %edx
imull 0x114(%rsp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
subsd %xmm1, %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl 0x114(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x114(%rsp)
jmp 0xfc97
movl $0x0, 0x110(%rsp)
movl 0x110(%rsp), %eax
movq 0x1e0(%rsp), %rcx
movl 0x4(%rcx), %ecx
movq 0x1e0(%rsp), %rdx
imull 0x8(%rdx), %ecx
cmpl %ecx, %eax
jge 0xfdad
movq 0x168(%rsp), %rax
movslq 0x110(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm1
movq 0x1b0(%rsp), %rax
movslq 0x110(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
subsd %xmm1, %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl 0x110(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x110(%rsp)
jmp 0xfd45
movl $0x0, 0x10c(%rsp)
movl 0x10c(%rsp), %eax
movq 0x1e0(%rsp), %rcx
movl 0x4(%rcx), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jge 0xfefc
movl 0x10c(%rsp), %eax
movl %eax, 0x108(%rsp)
movl 0x108(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x4(%rcx), %eax
jge 0xfee4
movq 0x1e0(%rsp), %rax
movq 0x50(%rax), %rax
movslq 0x174(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm1
movq 0x190(%rsp), %rax
movq 0x1e0(%rsp), %rcx
movq 0x20(%rcx), %rcx
movl 0x108(%rsp), %edx
movl 0x174(%rsp), %esi
movq 0x1e0(%rsp), %rdi
imull 0x4(%rdi), %esi
addl %esi, %edx
movslq %edx, %rdx
movl (%rcx,%rdx,4), %ecx
movq 0x1e0(%rsp), %rdx
movl 0x8(%rdx), %edx
movl 0x108(%rsp), %esi
movq 0x1e0(%rsp), %rdi
movl 0x4(%rdi), %edi
movq 0x1e0(%rsp), %r8
movq 0x20(%r8), %r8
movl 0x10c(%rsp), %r9d
movl 0x174(%rsp), %r10d
movq 0x1e0(%rsp), %r11
imull 0x4(%r11), %r10d
addl %r10d, %r9d
movslq %r9d, %r9
movl (%r8,%r9,4), %r8d
movq 0x1e0(%rsp), %r9
movl 0x8(%r9), %r9d
imull 0x10c(%rsp), %r9d
addl %r9d, %r8d
imull %r8d, %edi
addl %edi, %esi
imull %esi, %edx
addl %edx, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
subsd %xmm1, %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl 0x108(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x108(%rsp)
jmp 0xfde3
jmp 0xfee6
movl 0x10c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10c(%rsp)
jmp 0xfdb8
movl $0x0, 0x104(%rsp)
movl 0x104(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x4(%rcx), %eax
jge 0x10037
movq 0x1e0(%rsp), %rax
movq 0x20(%rax), %rax
movl 0x104(%rsp), %ecx
movl 0x174(%rsp), %edx
movq 0x1e0(%rsp), %rsi
imull 0x4(%rsi), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %eax
movl %eax, 0x100(%rsp)
movq 0x190(%rsp), %rax
movq 0x1e0(%rsp), %rcx
movl 0x8(%rcx), %ecx
movq 0x1e0(%rsp), %rdx
movl 0x4(%rdx), %edx
movl 0x100(%rsp), %esi
movq 0x1e0(%rsp), %rdi
movl 0x8(%rdi), %edi
imull 0x104(%rsp), %edi
addl %edi, %esi
imull %esi, %edx
addl $0x0, %edx
imull %edx, %ecx
addl $0x0, %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, 0xf8(%rsp)
movl $0x0, 0xf4(%rsp)
movl 0xf4(%rsp), %eax
movq 0x1e0(%rsp), %rcx
movl 0x4(%rcx), %ecx
movq 0x1e0(%rsp), %rdx
imull 0x8(%rdx), %ecx
cmpl %ecx, %eax
jge 0x1001f
movq 0x168(%rsp), %rax
movslq 0xf4(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm1
movq 0xf8(%rsp), %rax
movslq 0xf4(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
subsd %xmm1, %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl 0xf4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xf4(%rsp)
jmp 0xffb7
jmp 0x10021
movl 0x104(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x104(%rsp)
jmp 0xff07
movq 0x168(%rsp), %rdi
callq 0x1030
movq 0x160(%rsp), %rdi
callq 0x1030
movsd 0x120(%rsp), %xmm0
addsd 0x1c8(%rsp), %xmm0
movsd %xmm0, 0x1c8(%rsp)
movl 0x174(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x174(%rsp)
jmp 0xf6e3
movl $0x0, 0xf0(%rsp)
movl 0xf0(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x4(%rcx), %eax
jge 0x1014f
movl $0x0, 0xec(%rsp)
movl 0xec(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x8(%rcx), %eax
jge 0x10137
movq 0x1b0(%rsp), %rax
movl 0xec(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
movl 0x8(%rdx), %edx
imull 0xf0(%rsp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x200(%rsp), %rax
movl 0xf0(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
movl 0x4(%rdx), %edx
imull 0xec(%rsp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
addsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl 0xec(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xec(%rsp)
jmp 0x100b0
jmp 0x10139
movl 0xf0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xf0(%rsp)
jmp 0x1008d
movl $0x0, 0xe8(%rsp)
movl 0xe8(%rsp), %eax
movq 0x1e0(%rsp), %rcx
movl 0x4(%rcx), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jge 0x10435
movl 0xe8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xe4(%rsp)
movl 0xe4(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x4(%rcx), %eax
jge 0x1041d
movl $0x0, 0xe0(%rsp)
movl 0xe0(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x8(%rcx), %eax
jge 0x10405
movl $0x0, 0xdc(%rsp)
movl 0xdc(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x8(%rcx), %eax
jge 0x103ed
movq 0x190(%rsp), %rax
movl 0xe0(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
movl 0x8(%rdx), %edx
movl 0xe8(%rsp), %esi
movq 0x1e0(%rsp), %rdi
movl 0x4(%rdi), %edi
movl 0xdc(%rsp), %r8d
movq 0x1e0(%rsp), %r9
movl 0x8(%r9), %r9d
imull 0xe4(%rsp), %r9d
addl %r9d, %r8d
imull %r8d, %edi
addl %edi, %esi
imull %esi, %edx
addl %edx, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x190(%rsp), %rax
movl 0xdc(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
movl 0x8(%rdx), %edx
movl 0xe4(%rsp), %esi
movq 0x1e0(%rsp), %rdi
movl 0x4(%rdi), %edi
movl 0xe0(%rsp), %r8d
movq 0x1e0(%rsp), %r9
movl 0x8(%r9), %r9d
imull 0xe8(%rsp), %r9d
addl %r9d, %r8d
imull %r8d, %edi
addl %edi, %esi
imull %esi, %edx
addl %edx, %ecx
movslq %ecx, %rcx
addsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0x90(%rsp)
movq 0x200(%rsp), %rax
movq %rax, 0x98(%rsp)
movq 0x1e0(%rsp), %rax
movl 0x4(%rax), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movl %eax, 0xa4(%rsp)
movl 0xe8(%rsp), %eax
cmpl 0xe4(%rsp), %eax
jge 0x1034b
movl 0xe4(%rsp), %eax
movl 0xe4(%rsp), %ecx
subl $0x1, %ecx
imull %ecx, %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl 0xe8(%rsp), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movl 0xdc(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
imull 0x8(%rdx), %ecx
addl %ecx, %eax
addl 0xe0(%rsp), %eax
movl %eax, 0x8c(%rsp)
jmp 0x103a9
movl 0xe8(%rsp), %eax
movl 0xe8(%rsp), %ecx
subl $0x1, %ecx
imull %ecx, %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl 0xe4(%rsp), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movl 0xe0(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
imull 0x8(%rdx), %ecx
addl %ecx, %eax
addl 0xdc(%rsp), %eax
movl %eax, 0x8c(%rsp)
movq 0x98(%rsp), %rax
movsd 0x90(%rsp), %xmm0
movl 0xa4(%rsp), %ecx
movl 0x8c(%rsp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
addsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rax,%rcx,8)
movl 0xdc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xdc(%rsp)
jmp 0x101ce
jmp 0x103ef
movl 0xe0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xe0(%rsp)
jmp 0x101ab
jmp 0x10407
movl 0xe4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xe4(%rsp)
jmp 0x10188
jmp 0x1041f
movl 0xe8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xe8(%rsp)
jmp 0x1015a
movq 0x1b8(%rsp), %rdi
callq 0x1030
movq 0x1b0(%rsp), %rdi
callq 0x1030
movq 0x198(%rsp), %rdi
callq 0x1030
movq 0x190(%rsp), %rdi
callq 0x1030
movsd 0x1c8(%rsp), %xmm0
movq 0x1e0(%rsp), %rax
movsd %xmm0, 0x70(%rax)
movl $0x0, 0xd8(%rsp)
movl 0xd8(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x4(%rcx), %eax
jge 0x105fc
movl $0x0, 0xd4(%rsp)
movl 0xd4(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x8(%rcx), %eax
jge 0x105e4
movq 0x1d0(%rsp), %rax
movslq 0xd8(%rsp), %rcx
movsd 0x8b7b(%rip), %xmm0     # 0x19058
mulsd (%rax,%rcx,8), %xmm0
movq 0x208(%rsp), %rax
movl 0xd8(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
movl 0x4(%rdx), %edx
imull 0xd4(%rsp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm2
movq 0x200(%rsp), %rax
movl 0xd8(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
movl 0x4(%rdx), %edx
imull 0xd4(%rsp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rax,%rcx,8)
movq 0x1d0(%rsp), %rax
movslq 0xd8(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x208(%rsp), %rax
movl 0xd8(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
movl 0x4(%rdx), %edx
imull 0xd4(%rsp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
mulsd (%rax,%rcx,8), %xmm0
movq 0x208(%rsp), %rax
movl 0xd8(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
movl 0x4(%rdx), %edx
imull 0xd4(%rsp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm2
movsd 0x1c8(%rsp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x1c8(%rsp)
movl 0xd4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xd4(%rsp)
jmp 0x104ad
jmp 0x105e6
movl 0xd8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xd8(%rsp)
jmp 0x1048a
movl $0x0, 0xd0(%rsp)
movl 0xd0(%rsp), %eax
movq 0x1e0(%rsp), %rcx
movl 0x4(%rcx), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jge 0x10c9e
movl 0xd0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xcc(%rsp)
movl 0xcc(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x4(%rcx), %eax
jge 0x10c86
movl $0x0, 0xc8(%rsp)
movl 0xc8(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x8(%rcx), %eax
jge 0x10c6e
movl $0x0, 0xc4(%rsp)
movl 0xc4(%rsp), %eax
movq 0x1e0(%rsp), %rcx
cmpl 0x8(%rcx), %eax
jge 0x10c56
movq 0x1d0(%rsp), %rax
movq %rax, 0x80(%rsp)
movq 0x1e0(%rsp), %rax
movl 0x4(%rax), %eax
movl %eax, 0x88(%rsp)
movl 0xd0(%rsp), %eax
cmpl 0xcc(%rsp), %eax
jge 0x106ee
movl 0xcc(%rsp), %eax
movl 0xcc(%rsp), %ecx
subl $0x1, %ecx
imull %ecx, %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl 0xd0(%rsp), %eax
movl %eax, 0x7c(%rsp)
jmp 0x10715
movl 0xd0(%rsp), %eax
movl 0xd0(%rsp), %ecx
subl $0x1, %ecx
imull %ecx, %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl 0xcc(%rsp), %eax
movl %eax, 0x7c(%rsp)
movq 0x80(%rsp), %rax
movl 0x88(%rsp), %ecx
movl 0x7c(%rsp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movsd 0x8923(%rip), %xmm0     # 0x19058
mulsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0x68(%rsp)
movq 0x208(%rsp), %rax
movq %rax, 0x70(%rsp)
movq 0x1e0(%rsp), %rax
movl 0x4(%rax), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movl %eax, 0x78(%rsp)
movl 0xd0(%rsp), %eax
cmpl 0xcc(%rsp), %eax
jge 0x107d5
movl 0xcc(%rsp), %eax
movl 0xcc(%rsp), %ecx
subl $0x1, %ecx
imull %ecx, %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl 0xd0(%rsp), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movl 0xc4(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
imull 0x8(%rdx), %ecx
addl %ecx, %eax
addl 0xc8(%rsp), %eax
movl %eax, 0x64(%rsp)
jmp 0x10830
movl 0xd0(%rsp), %eax
movl 0xd0(%rsp), %ecx
subl $0x1, %ecx
imull %ecx, %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl 0xcc(%rsp), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movl 0xc8(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
imull 0x8(%rdx), %ecx
addl %ecx, %eax
addl 0xc4(%rsp), %eax
movl %eax, 0x64(%rsp)
movq 0x70(%rsp), %rax
movl 0x78(%rsp), %ecx
movl 0x64(%rsp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0x50(%rsp)
movq 0x200(%rsp), %rax
movq %rax, 0x58(%rsp)
movq 0x1e0(%rsp), %rax
movl 0x4(%rax), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movl %eax, 0x60(%rsp)
movl 0xd0(%rsp), %eax
cmpl 0xcc(%rsp), %eax
jge 0x108e2
movl 0xcc(%rsp), %eax
movl 0xcc(%rsp), %ecx
subl $0x1, %ecx
imull %ecx, %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl 0xd0(%rsp), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movl 0xc4(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
imull 0x8(%rdx), %ecx
addl %ecx, %eax
addl 0xc8(%rsp), %eax
movl %eax, 0x4c(%rsp)
jmp 0x1093d
movl 0xd0(%rsp), %eax
movl 0xd0(%rsp), %ecx
subl $0x1, %ecx
imull %ecx, %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl 0xcc(%rsp), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movl 0xc8(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
imull 0x8(%rdx), %ecx
addl %ecx, %eax
addl 0xc4(%rsp), %eax
movl %eax, 0x4c(%rsp)
movq 0x58(%rsp), %rax
movsd 0x50(%rsp), %xmm2
movsd 0x68(%rsp), %xmm0
movl 0x60(%rsp), %ecx
movl 0x4c(%rsp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, (%rax,%rcx,8)
movq 0x1d0(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x1e0(%rsp), %rax
movl 0x4(%rax), %eax
movl %eax, 0x48(%rsp)
movl 0xd0(%rsp), %eax
cmpl 0xcc(%rsp), %eax
jge 0x109c2
movl 0xcc(%rsp), %eax
movl 0xcc(%rsp), %ecx
subl $0x1, %ecx
imull %ecx, %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl 0xd0(%rsp), %eax
movl %eax, 0x3c(%rsp)
jmp 0x109e9
movl 0xd0(%rsp), %eax
movl 0xd0(%rsp), %ecx
subl $0x1, %ecx
imull %ecx, %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl 0xcc(%rsp), %eax
movl %eax, 0x3c(%rsp)
movq 0x40(%rsp), %rax
movl 0x48(%rsp), %ecx
movl 0x3c(%rsp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0x28(%rsp)
movq 0x208(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x1e0(%rsp), %rax
movl 0x4(%rax), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movl %eax, 0x38(%rsp)
movl 0xd0(%rsp), %eax
cmpl 0xcc(%rsp), %eax
jge 0x10a9b
movl 0xcc(%rsp), %eax
movl 0xcc(%rsp), %ecx
subl $0x1, %ecx
imull %ecx, %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl 0xd0(%rsp), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movl 0xc4(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
imull 0x8(%rdx), %ecx
addl %ecx, %eax
addl 0xc8(%rsp), %eax
movl %eax, 0x24(%rsp)
jmp 0x10af6
movl 0xd0(%rsp), %eax
movl 0xd0(%rsp), %ecx
subl $0x1, %ecx
imull %ecx, %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl 0xcc(%rsp), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movl 0xc8(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
imull 0x8(%rdx), %ecx
addl %ecx, %eax
addl 0xc4(%rsp), %eax
movl %eax, 0x24(%rsp)
movq 0x30(%rsp), %rax
movsd 0x28(%rsp), %xmm0
movl 0x38(%rsp), %ecx
movl 0x24(%rsp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
mulsd (%rax,%rcx,8), %xmm0
movsd %xmm0, 0x10(%rsp)
movq 0x208(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x1e0(%rsp), %rax
movl 0x4(%rax), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movl %eax, 0x20(%rsp)
movl 0xd0(%rsp), %eax
cmpl 0xcc(%rsp), %eax
jge 0x10bae
movl 0xcc(%rsp), %eax
movl 0xcc(%rsp), %ecx
subl $0x1, %ecx
imull %ecx, %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl 0xd0(%rsp), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movl 0xc4(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
imull 0x8(%rdx), %ecx
addl %ecx, %eax
addl 0xc8(%rsp), %eax
movl %eax, 0xc(%rsp)
jmp 0x10c09
movl 0xd0(%rsp), %eax
movl 0xd0(%rsp), %ecx
subl $0x1, %ecx
imull %ecx, %eax
movl $0x2, %ecx
cltd
idivl %ecx
addl 0xcc(%rsp), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movq 0x1e0(%rsp), %rcx
imull 0x8(%rcx), %eax
movl 0xc8(%rsp), %ecx
movq 0x1e0(%rsp), %rdx
imull 0x8(%rdx), %ecx
addl %ecx, %eax
addl 0xc4(%rsp), %eax
movl %eax, 0xc(%rsp)
movsd 0x10(%rsp), %xmm0
movq 0x18(%rsp), %rax
movl 0x20(%rsp), %ecx
movl 0xc(%rsp), %edx
addl %edx, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm2
movsd 0x1c8(%rsp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x1c8(%rsp)
movl 0xc4(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc4(%rsp)
jmp 0x1067b
jmp 0x10c58
movl 0xc8(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc8(%rsp)
jmp 0x10658
jmp 0x10c70
movl 0xcc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xcc(%rsp)
jmp 0x10635
jmp 0x10c88
movl 0xd0(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xd0(%rsp)
jmp 0x10607
movq 0x208(%rsp), %rdi
movq 0x200(%rsp), %rsi
movsd 0x1c8(%rsp), %xmm0
movq 0x1e0(%rsp), %rdx
movq 0x1d8(%rsp), %rcx
callq 0x16320
movsd %xmm0, 0x1c8(%rsp)
movsd 0x1c8(%rsp), %xmm0
addq $0x218, %rsp            # imm = 0x218
retq
nopw %cs:(%rax,%rax)