// File: /workspace/github_cpp_makefile_star2_O3/chfeder[P]turbulence_generator/./TurbGen.h
// Function: TurbGen::get_turb_vector_unigrid(double const*, double const*, int const*, float**)
void get_turb_vector_unigrid(const double pos_beg[], const double pos_end[], const int n[], float * return_grid[]) {
        // ******************************************************
        // Compute physical turbulent vector field on a uniform grid, provided
        // start coordinate pos_beg[ndim] and end coordinate pos_end[ndim]
        // of the grid and number of points in grid n[ndim].
        // Return into turbulent vector field into float * return_grid[ndim].
        // Note that index in return_grid[X][index] is looped with x (index i)
        // as the inner loop and with z (index k) as the outer loop.
        // ******************************************************
        if (verbose > 1) TurbGen_printf(FuncSig(__func__)+"entering.\n");
        if (verbose > 1) TurbGen_printf("pos_beg = %f %f %f, pos_end = %f %f %f, n = %i %i %i\n",
                pos_beg[X], pos_beg[Y], pos_beg[Z], pos_end[X], pos_end[Y], pos_end[Z], n[X], n[Y], n[Z]);

        // compute output grid cell width (dx, dy, dz)
        double del[3] = {1.0, 1.0, 1.0};
        for (int d = 0; d < (int)ndim; d++) if (n[d] > 1) del[d] = (pos_end[d] - pos_beg[d]) / (n[d]-1);
        // pre-compute amplitude including normalisation factors
        std::vector<double> ampl(nmodes);
        for (int m = 0; m < nmodes; m++) ampl[m] = 2.0 * sol_weight_norm * this->ampl[m];
        // pre-compute grid position geometry, and trigonometry, to speed-up loops over modes below
        std::vector< std::vector<double> > sinxi(n[X], std::vector<double>(nmodes));
        std::vector< std::vector<double> > cosxi(n[X], std::vector<double>(nmodes));
        std::vector< std::vector<double> > sinyj(n[Y], std::vector<double>(nmodes));
        std::vector< std::vector<double> > cosyj(n[Y], std::vector<double>(nmodes));
        std::vector< std::vector<double> > sinzk(n[Z], std::vector<double>(nmodes));
        std::vector< std::vector<double> > coszk(n[Z], std::vector<double>(nmodes));
        for (int m = 0; m < nmodes; m++) {
            for (int i = 0; i < n[X]; i++) {
                sinxi[i][m] = sin(mode[X][m]*(pos_beg[X]+i*del[X]));
                cosxi[i][m] = cos(mode[X][m]*(pos_beg[X]+i*del[X]));
            }
            for (int j = 0; j < n[Y]; j++) {
                if ((int)ndim > 1) {
                    sinyj[j][m] = sin(mode[Y][m]*(pos_beg[Y]+j*del[Y]));
                    cosyj[j][m] = cos(mode[Y][m]*(pos_beg[Y]+j*del[Y]));
                } else {
                    sinyj[j][m] = 0.0;
                    cosyj[j][m] = 1.0;
                }
            }
            for (int k = 0; k < n[Z]; k++) {
                if ((int)ndim > 2) {
                    sinzk[k][m] = sin(mode[Z][m]*(pos_beg[Z]+k*del[Z]));
                    coszk[k][m] = cos(mode[Z][m]*(pos_beg[Z]+k*del[Z]));
                } else {
                    sinzk[k][m] = 0.0;
                    coszk[k][m] = 1.0;
                }
            }
        }
        // scratch variables
        double v[3];
        double real, imag;
        // loop over cells in return_grid
        for (int k = 0; k < n[Z]; k++) {
            for (int j = 0; j < n[Y]; j++) {
                for (int i = 0; i < n[X]; i++) {
                    // clear
                    v[X] = 0.0; v[Y] = 0.0; v[Z] = 0.0;
                    // loop over modes
                    for (int m = 0; m < nmodes; m++) {
                        // these are the real and imaginary parts, respectively, of
                        //  e^{ i \vec{k} \cdot \vec{x} } = cos(kx*x + ky*y + kz*z) + i sin(kx*x + ky*y + kz*z)
                        real =  ( cosxi[i][m]*cosyj[j][m] - sinxi[i][m]*sinyj[j][m] ) * coszk[k][m] -
                                ( sinxi[i][m]*cosyj[j][m] + cosxi[i][m]*sinyj[j][m] ) * sinzk[k][m];
                        imag =  ( cosyj[j][m]*sinzk[k][m] + sinyj[j][m]*coszk[k][m] ) * cosxi[i][m] +
                                ( cosyj[j][m]*coszk[k][m] - sinyj[j][m]*sinzk[k][m] ) * sinxi[i][m];
                        // accumulate total v as sum over modes
                        v[X] += ampl[m] * (aka[X][m]*real - akb[X][m]*imag);
                        if (ncmp > 1) v[Y] += ampl[m] * (aka[Y][m]*real - akb[Y][m]*imag);
                        if (ncmp > 2) v[Z] += ampl[m] * (aka[Z][m]*real - akb[Z][m]*imag);
                    }
                    // copy into return grid
                    long index = k*n[X]*n[Y] + j*n[X] + i;
                    return_grid[X][index] = v[X] * ampl_factor[X];
                    if (ncmp > 1) return_grid[Y][index] = v[Y] * ampl_factor[Y];
                    if (ncmp > 2) return_grid[Z][index] = v[Z] * ampl_factor[Z];
                } // i
            } // j
        } // k
        if (verbose > 1) TurbGen_printf(FuncSig(__func__)+"exiting.\n");
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x248, %rsp            # imm = 0x248
movq %r8, 0x70(%rsp)
movq %rcx, (%rsp)
movq %rdx, %r13
movq %rsi, %r12
movq %rdi, %rbx
cmpl $0x2, (%rdi)
movq %rdi, 0x10(%rsp)
jl 0x4de3
leaq 0x200(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0xa641(%rip), %rsi      # 0xf295
leaq 0xa651(%rip), %rdx      # 0xf2ac
leaq 0x1f0(%rsp), %rdi
callq 0xba58
leaq 0x18(%rsp), %rdi
leaq 0x1f0(%rsp), %rdx
movq 0x10(%rsp), %rsi
callq 0x7a28
leaq 0x9855(%rip), %rsi      # 0xe4db
leaq 0x18(%rsp), %rdi
callq 0x34f0
leaq 0x1c0(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4cc0
movq %rdx, 0x1b0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1c0(%rsp)
jmp 0x4cc9
movupd (%rcx), %xmm0
movupd %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x1b0(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x10(%rsp), %rdi
xorl %eax, %eax
callq 0x794e
movq 0x1b0(%rsp), %rdi
cmpq %r15, %rdi
je 0x4d11
movq 0x1c0(%rsp), %rsi
incq %rsi
callq 0x32a0
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4d2c
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x32a0
movq 0x1f0(%rsp), %rdi
cmpq %r14, %rdi
je 0x4d49
movq 0x200(%rsp), %rsi
incq %rsi
callq 0x32a0
movq 0x10(%rsp), %rbx
cmpl $0x2, (%rbx)
jl 0x4de3
leaq 0x238(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0xa543(%rip), %rsi      # 0xf2ad
leaq 0xa571(%rip), %rdx      # 0xf2e2
leaq 0x228(%rsp), %rbp
movq %rbp, %rdi
callq 0xba58
movsd (%r12), %xmm0
movsd 0x8(%r12), %xmm1
movsd 0x10(%r12), %xmm2
movsd (%r13), %xmm3
movsd 0x8(%r13), %xmm4
movsd 0x10(%r13), %xmm5
movq (%rsp), %rax
movl (%rax), %edx
movl 0x4(%rax), %ecx
movl 0x8(%rax), %r8d
movq %rbx, %rdi
movq %rbp, %rsi
movb $0x6, %al
callq 0x794e
movq 0x228(%rsp), %rdi
cmpq %r14, %rdi
movq 0x10(%rsp), %rbx
je 0x4de3
movq 0x238(%rsp), %rsi
incq %rsi
callq 0x32a0
movapd 0xa565(%rip), %xmm0     # 0xf350
movapd %xmm0, 0x100(%rsp)
movabsq $0x3ff0000000000000, %rbp # imm = 0x3FF0000000000000
movq %rbp, 0x110(%rsp)
cvttsd2si 0x158(%rbx), %eax
testl %eax, %eax
movq (%rsp), %rsi
jle 0x4e4d
movl %eax, %eax
xorl %ecx, %ecx
movl (%rsi,%rcx,4), %edx
cmpl $0x2, %edx
jl 0x4e45
movsd (%r13,%rcx,8), %xmm0
subsd (%r12,%rcx,8), %xmm0
decl %edx
xorps %xmm1, %xmm1
cvtsi2sd %edx, %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, 0x100(%rsp,%rcx,8)
incq %rcx
cmpq %rcx, %rax
jne 0x4e1a
movslq 0x154(%rbx), %rsi
leaq 0xe8(%rsp), %rdi
leaq 0x18(%rsp), %rdx
callq 0xd4e8
movslq 0x154(%rbx), %rsi
testq %rsi, %rsi
movq (%rsp), %rdi
jle 0x4ea5
movq 0x138(%rbx), %rax
movq 0xe8(%rsp), %rcx
xorl %edx, %edx
movsd 0x1d8(%rbx), %xmm0
addsd %xmm0, %xmm0
mulsd (%rax,%rdx,8), %xmm0
movsd %xmm0, (%rcx,%rdx,8)
incq %rdx
cmpq %rdx, %rsi
jne 0x4e87
movslq (%rdi), %r13
leaq 0x18(%rsp), %rdi
leaq 0x198(%rsp), %rdx
callq 0xd4e8
leaq 0x210(%rsp), %rdi
leaq 0x18(%rsp), %rdx
leaq 0xd0(%rsp), %rcx
movq %r13, %rsi
callq 0xd576
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x4eee
movq 0x28(%rsp), %rsi
subq %rdi, %rsi
callq 0x32a0
movq (%rsp), %rax
movslq (%rax), %r13
movslq 0x154(%rbx), %rsi
leaq 0x18(%rsp), %rdi
leaq 0xd0(%rsp), %rdx
callq 0xd4e8
leaq 0x198(%rsp), %rdi
leaq 0x18(%rsp), %rdx
leaq 0xb8(%rsp), %rcx
movq %r13, %rsi
callq 0xd576
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x4f42
movq 0x28(%rsp), %rsi
subq %rdi, %rsi
callq 0x32a0
movq (%rsp), %rax
movslq 0x4(%rax), %r13
movslq 0x154(%rbx), %rsi
leaq 0x18(%rsp), %rdi
leaq 0xb8(%rsp), %rdx
callq 0xd4e8
leaq 0xd0(%rsp), %rdi
leaq 0x18(%rsp), %rdx
leaq 0xa0(%rsp), %rcx
movq %r13, %rsi
callq 0xd576
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x4f97
movq 0x28(%rsp), %rsi
subq %rdi, %rsi
callq 0x32a0
movq (%rsp), %rax
movslq 0x4(%rax), %r13
movslq 0x154(%rbx), %rsi
leaq 0x18(%rsp), %rdi
leaq 0xa0(%rsp), %rdx
callq 0xd4e8
leaq 0xb8(%rsp), %rdi
leaq 0x18(%rsp), %rdx
leaq 0x88(%rsp), %rcx
movq %r13, %rsi
callq 0xd576
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x4fec
movq 0x28(%rsp), %rsi
subq %rdi, %rsi
callq 0x32a0
movq (%rsp), %rax
movslq 0x8(%rax), %r13
movslq 0x154(%rbx), %rsi
leaq 0x18(%rsp), %rdi
leaq 0x88(%rsp), %rdx
callq 0xd4e8
leaq 0xa0(%rsp), %rdi
leaq 0x18(%rsp), %rdx
leaq 0xf(%rsp), %rcx
movq %r13, %rsi
callq 0xd576
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x503e
movq 0x28(%rsp), %rsi
subq %rdi, %rsi
callq 0x32a0
movq (%rsp), %rax
movslq 0x8(%rax), %r13
movslq 0x154(%rbx), %rsi
leaq 0x18(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0xd4e8
leaq 0x88(%rsp), %rdi
leaq 0x18(%rsp), %rdx
leaq 0x47(%rsp), %rcx
movq %r13, %rsi
callq 0xd576
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x508d
movq 0x28(%rsp), %rsi
subq %rdi, %rsi
callq 0x32a0
movl 0x154(%rbx), %r8d
testl %r8d, %r8d
jle 0x533b
movsd 0x100(%rsp), %xmm0
movsd 0x108(%rsp), %xmm1
movsd %xmm1, 0x80(%rsp)
movsd 0x110(%rsp), %xmm1
movsd %xmm1, 0x50(%rsp)
xorl %r15d, %r15d
movq (%rsp), %rdx
movsd %xmm0, 0x48(%rsp)
cmpl $0x0, (%rdx)
jle 0x516c
movq %rbx, %r13
xorl %ebx, %ebx
xorl %r14d, %r14d
movq 0x48(%r13), %rax
xorps %xmm1, %xmm1
cvtsi2sd %r14d, %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0x38(%rsp)
movsd (%r12), %xmm0
addsd %xmm1, %xmm0
mulsd (%rax,%r15,8), %xmm0
callq 0x3080
movq 0x210(%rsp), %rax
movq (%rax,%rbx), %rax
movsd %xmm0, (%rax,%r15,8)
movq 0x48(%r13), %rax
movsd 0x38(%rsp), %xmm0
addsd (%r12), %xmm0
mulsd (%rax,%r15,8), %xmm0
callq 0x34e0
movq (%rsp), %rdx
movq 0x198(%rsp), %rax
movq (%rax,%rbx), %rax
movsd %xmm0, (%rax,%r15,8)
movsd 0x48(%rsp), %xmm0
incq %r14
movslq (%rdx), %rax
addq $0x18, %rbx
cmpq %rax, %r14
jl 0x50e5
movl 0x4(%rdx), %eax
testl %eax, %eax
jle 0x524a
xorl %ebx, %ebx
xorl %r14d, %r14d
movq 0x10(%rsp), %r13
cvttsd2si 0x158(%r13), %ecx
cmpl $0x2, %ecx
jl 0x5213
movq 0x60(%r13), %rax
xorps %xmm1, %xmm1
cvtsi2sd %r14d, %xmm1
mulsd 0x80(%rsp), %xmm1
movsd %xmm1, 0x38(%rsp)
movsd 0x8(%r12), %xmm0
addsd %xmm1, %xmm0
mulsd (%rax,%r15,8), %xmm0
callq 0x3080
movq 0xd0(%rsp), %rax
movq (%rax,%rbx), %rax
movsd %xmm0, (%rax,%r15,8)
movq 0x60(%r13), %rax
movsd 0x38(%rsp), %xmm0
addsd 0x8(%r12), %xmm0
mulsd (%rax,%r15,8), %xmm0
callq 0x34e0
movq (%rsp), %rdx
movq 0xb8(%rsp), %rax
movq (%rax,%rbx), %rax
movsd %xmm0, (%rax,%r15,8)
movsd 0x48(%rsp), %xmm0
movl 0x4(%rdx), %eax
jmp 0x5237
movq 0xd0(%rsp), %rcx
movq (%rcx,%rbx), %rcx
movq $0x0, (%rcx,%r15,8)
movq 0xb8(%rsp), %rcx
movq (%rcx,%rbx), %rcx
movq %rbp, (%rcx,%r15,8)
incq %r14
movslq %eax, %rcx
addq $0x18, %rbx
cmpq %rcx, %r14
jl 0x517c
movl 0x8(%rdx), %eax
testl %eax, %eax
jle 0x5321
xorl %ebx, %ebx
xorl %r14d, %r14d
movq 0x10(%rsp), %r13
cvttsd2si 0x158(%r13), %ecx
cmpl $0x3, %ecx
jl 0x52ea
movq 0x78(%r13), %rax
xorps %xmm1, %xmm1
cvtsi2sd %r14d, %xmm1
mulsd 0x50(%rsp), %xmm1
movsd %xmm1, 0x38(%rsp)
movsd 0x10(%r12), %xmm0
addsd %xmm1, %xmm0
mulsd (%rax,%r15,8), %xmm0
callq 0x3080
movq 0xa0(%rsp), %rax
movq (%rax,%rbx), %rax
movsd %xmm0, (%rax,%r15,8)
movq 0x78(%r13), %rax
movsd 0x38(%rsp), %xmm0
addsd 0x10(%r12), %xmm0
mulsd (%rax,%r15,8), %xmm0
callq 0x34e0
movq (%rsp), %rdx
movq 0x88(%rsp), %rax
movq (%rax,%rbx), %rax
movsd %xmm0, (%rax,%r15,8)
movsd 0x48(%rsp), %xmm0
movl 0x8(%rdx), %eax
jmp 0x530e
movq 0xa0(%rsp), %rcx
movq (%rcx,%rbx), %rcx
movq $0x0, (%rcx,%r15,8)
movq 0x88(%rsp), %rcx
movq (%rcx,%rbx), %rcx
movq %rbp, (%rcx,%r15,8)
incq %r14
movslq %eax, %rcx
addq $0x18, %rbx
cmpq %rcx, %r14
jl 0x525a
incq %r15
movq 0x10(%rsp), %rbx
movslq 0x154(%rbx), %r8
cmpq %r8, %r15
jl 0x50d4
jmp 0x5342
movq (%rsp), %rax
movl 0x8(%rax), %eax
testl %eax, %eax
jle 0x573a
movq (%rsp), %rcx
movl 0x4(%rcx), %ecx
movq %rcx, 0x60(%rsp)
movl %eax, %eax
movq %rax, 0x118(%rsp)
movl %r8d, %esi
shlq $0x3, %rsi
movq $0x0, 0x58(%rsp)
movq %r8, 0x160(%rsp)
cmpl $0x0, 0x60(%rsp)
jle 0x571f
movq (%rsp), %rax
movl (%rax), %eax
movq %rax, 0x78(%rsp)
movq 0x60(%rsp), %rax
movq 0x58(%rsp), %rcx
imull %ecx, %eax
movq %rax, 0x128(%rsp)
movq 0x10(%rsp), %rax
movsd 0x1f8(%rax), %xmm0
movl 0x160(%rax), %eax
movl %eax, 0x50(%rsp)
leaq (,%rcx,8), %rax
leaq (%rax,%rax,2), %rax
movq %rax, 0x120(%rsp)
movq $0x0, 0x68(%rsp)
cmpl $0x0, 0x78(%rsp)
jle 0x5707
movq 0x198(%rsp), %rax
movq %rax, 0x158(%rsp)
movq 0x68(%rsp), %rdi
leaq (,%rdi,8), %rax
leaq (%rax,%rax,2), %rax
movq 0xb8(%rsp), %rcx
addq %rax, %rcx
movq %rcx, 0x148(%rsp)
movq 0x210(%rsp), %rcx
movq %rcx, 0x140(%rsp)
addq 0xd0(%rsp), %rax
movq %rax, 0x150(%rsp)
movq 0x88(%rsp), %rcx
movq 0x120(%rsp), %rax
addq %rax, %rcx
movq %rcx, 0x138(%rsp)
movq 0xa0(%rsp), %rcx
addq %rax, %rcx
movq %rcx, 0x130(%rsp)
movq 0xe8(%rsp), %rcx
movq 0x10(%rsp), %rax
movq 0x90(%rax), %r11
movq 0xd8(%rax), %r14
movl 0x160(%rax), %r12d
movq 0x128(%rsp), %rdx
addl %edi, %edx
imull 0x78(%rsp), %edx
movq %rdx, 0x170(%rsp)
movq 0x70(%rsp), %rdx
movq (%rdx), %rdx
movq %rdx, 0x168(%rsp)
movsd 0x200(%rax), %xmm1
movsd 0x208(%rax), %xmm2
xorl %edi, %edi
testl %r8d, %r8d
movq %rdi, 0x80(%rsp)
jle 0x567f
leaq (,%rdi,8), %rax
leaq (%rax,%rax,2), %rax
movq 0x158(%rsp), %rdx
movq (%rdx,%rax), %rdx
movq 0x148(%rsp), %r8
movq (%r8), %r15
movq 0x140(%rsp), %r8
movq (%r8,%rax), %r9
movq 0x150(%rsp), %rax
movq (%rax), %rbp
movq 0x138(%rsp), %rax
movq (%rax), %rax
movq 0x130(%rsp), %r8
movq (%r8), %r8
movq 0x10(%rsp), %r13
movq 0xa8(%r13), %rbx
movq 0xc0(%r13), %r10
movq %r10, 0x48(%rsp)
movq 0xf0(%r13), %r10
movq 0x108(%r13), %rdi
movq %rdi, 0x38(%rsp)
xorpd %xmm4, %xmm4
xorl %r13d, %r13d
xorpd %xmm5, %xmm5
xorpd %xmm3, %xmm3
movsd (%rdx,%r13), %xmm8
movsd (%r15,%r13), %xmm6
movsd (%r9,%r13), %xmm9
movsd (%rbp,%r13), %xmm12
movapd %xmm8, %xmm7
mulsd %xmm12, %xmm7
movapd %xmm9, %xmm10
mulsd %xmm6, %xmm10
addsd %xmm7, %xmm10
movsd (%r8,%r13), %xmm11
mulsd %xmm11, %xmm10
movapd %xmm12, %xmm13
movapd %xmm6, %xmm7
mulsd %xmm11, %xmm7
mulsd %xmm12, %xmm11
mulsd %xmm9, %xmm12
movsd (%rax,%r13), %xmm14
mulsd %xmm14, %xmm13
addsd %xmm13, %xmm7
mulsd %xmm8, %xmm7
mulsd %xmm6, %xmm8
subsd %xmm12, %xmm8
mulsd %xmm14, %xmm8
subsd %xmm10, %xmm8
mulsd %xmm14, %xmm6
subsd %xmm11, %xmm6
mulsd %xmm9, %xmm6
addsd %xmm6, %xmm7
movsd (%rcx,%r13), %xmm9
cmpl $0x2, %r12d
jl 0x564d
movsd (%r10,%r13), %xmm10
mulsd %xmm7, %xmm10
movsd (%rbx,%r13), %xmm6
mulsd %xmm8, %xmm6
subsd %xmm10, %xmm6
mulsd %xmm9, %xmm6
addsd %xmm5, %xmm6
je 0x5651
movq 0x38(%rsp), %rdi
movsd (%rdi,%r13), %xmm5
mulsd %xmm7, %xmm5
movq 0x48(%rsp), %rdi
movsd (%rdi,%r13), %xmm10
mulsd %xmm8, %xmm10
subsd %xmm5, %xmm10
mulsd %xmm9, %xmm10
addsd %xmm10, %xmm3
jmp 0x5651
movapd %xmm5, %xmm6
mulsd (%r14,%r13), %xmm7
mulsd (%r11,%r13), %xmm8
subsd %xmm7, %xmm8
mulsd %xmm8, %xmm9
addsd %xmm9, %xmm4
addq $0x8, %r13
movapd %xmm6, %xmm5
cmpq %r13, %rsi
jne 0x555a
jmp 0x568b
xorpd %xmm3, %xmm3
xorpd %xmm6, %xmm6
xorpd %xmm4, %xmm4
mulsd %xmm0, %xmm4
movq 0x170(%rsp), %rax
movq 0x80(%rsp), %rdi
addl %edi, %eax
cltq
cvtsd2ss %xmm4, %xmm4
movq 0x168(%rsp), %rdx
movss %xmm4, (%rdx,%rax,4)
cmpl $0x1, 0x50(%rsp)
jle 0x56f1
mulsd %xmm1, %xmm6
xorps %xmm4, %xmm4
cvtsd2ss %xmm6, %xmm4
movq 0x70(%rsp), %rdx
movq 0x8(%rdx), %rdx
movss %xmm4, (%rdx,%rax,4)
cmpl $0x2, 0x50(%rsp)
je 0x56f1
mulsd %xmm2, %xmm3
cvtsd2ss %xmm3, %xmm3
movq 0x70(%rsp), %rdx
movq 0x10(%rdx), %rdx
movss %xmm3, (%rdx,%rax,4)
incq %rdi
cmpq 0x78(%rsp), %rdi
movq 0x160(%rsp), %r8
jne 0x54bf
movq 0x68(%rsp), %rcx
incq %rcx
movq %rcx, 0x68(%rsp)
cmpq 0x60(%rsp), %rcx
jne 0x53d7
movq 0x58(%rsp), %rcx
incq %rcx
movq %rcx, 0x58(%rsp)
cmpq 0x118(%rsp), %rcx
jne 0x5378
movq 0x10(%rsp), %rax
cmpl $0x1, (%rax)
jle 0x5850
leaq 0x1e0(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x9b3a(%rip), %rsi      # 0xf295
leaq 0x9b4a(%rip), %rdx      # 0xf2ac
leaq 0x1d0(%rsp), %rdi
callq 0xba58
leaq 0x18(%rsp), %rdi
leaq 0x1d0(%rsp), %rdx
movq 0x10(%rsp), %rsi
callq 0x7a28
leaq 0x8f1c(%rip), %rsi      # 0xe6a9
leaq 0x18(%rsp), %rdi
callq 0x34f0
leaq 0x188(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x57c7
movq %rdx, 0x178(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x188(%rsp)
jmp 0x57d0
movupd (%rcx), %xmm0
movupd %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x178(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x10(%rsp), %rdi
xorl %eax, %eax
callq 0x794e
movq 0x178(%rsp), %rdi
cmpq %r15, %rdi
je 0x5818
movq 0x188(%rsp), %rsi
incq %rsi
callq 0x32a0
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5833
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x32a0
movq 0x1d0(%rsp), %rdi
cmpq %r14, %rdi
je 0x5850
movq 0x1e0(%rsp), %rsi
incq %rsi
callq 0x32a0
leaq 0x88(%rsp), %rdi
callq 0xd60e
leaq 0xa0(%rsp), %rdi
callq 0xd60e
leaq 0xb8(%rsp), %rdi
callq 0xd60e
leaq 0xd0(%rsp), %rdi
callq 0xd60e
leaq 0x198(%rsp), %rdi
callq 0xd60e
leaq 0x210(%rsp), %rdi
callq 0xd60e
movq 0xe8(%rsp), %rdi
testq %rdi, %rdi
je 0x58bb
movq 0xf8(%rsp), %rsi
subq %rdi, %rsi
callq 0x32a0
addq $0x248, %rsp            # imm = 0x248
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x228(%rsp), %rdi
cmpq %r14, %rdi
je 0x5a70
movq 0x238(%rsp), %rsi
jmp 0x59c5
movq %rax, %rbx
movq 0x178(%rsp), %rdi
cmpq %r15, %rdi
je 0x5913
movq 0x188(%rsp), %rsi
incq %rsi
callq 0x32a0
jmp 0x5913
movq %rax, %rbx
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5933
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x32a0
jmp 0x5933
movq %rax, %rbx
movq 0x1d0(%rsp), %rdi
cmpq %r14, %rdi
je 0x5955
movq 0x1e0(%rsp), %rsi
incq %rsi
callq 0x32a0
jmp 0x5955
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
callq 0xd60e
jmp 0x59f1
movq %rax, %rbx
movq 0x1b0(%rsp), %rdi
cmpq %r15, %rdi
je 0x598c
movq 0x1c0(%rsp), %rsi
incq %rsi
callq 0x32a0
jmp 0x598c
movq %rax, %rbx
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x59ac
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x32a0
jmp 0x59ac
movq %rax, %rbx
movq 0x1f0(%rsp), %rdi
cmpq %r14, %rdi
je 0x5a70
movq 0x200(%rsp), %rsi
incq %rsi
jmp 0x5a6b
jmp 0x5b13
movq %rax, %rbx
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x59f1
movq 0x28(%rsp), %rsi
subq %rdi, %rsi
callq 0x32a0
jmp 0x59f1
movq %rax, %rbx
leaq 0xa0(%rsp), %rdi
callq 0xd60e
jmp 0x5a1f
movq %rax, %rbx
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x5a1f
movq 0x28(%rsp), %rsi
subq %rdi, %rsi
callq 0x32a0
jmp 0x5a1f
movq %rax, %rbx
leaq 0xb8(%rsp), %rdi
callq 0xd60e
leaq 0xd0(%rsp), %rdi
callq 0xd60e
leaq 0x198(%rsp), %rdi
callq 0xd60e
leaq 0x210(%rsp), %rdi
callq 0xd60e
movq 0xe8(%rsp), %rdi
testq %rdi, %rdi
je 0x5a70
movq 0xf8(%rsp), %rsi
subq %rdi, %rsi
callq 0x32a0
movq %rbx, %rdi
callq 0x3480
movq %rax, %rbx
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x5a2c
movq 0x28(%rsp), %rsi
subq %rdi, %rsi
callq 0x32a0
jmp 0x5a2c
movq %rax, %rbx
jmp 0x5a2c
movq %rax, %rbx
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x5a39
movq 0x28(%rsp), %rsi
subq %rdi, %rsi
callq 0x32a0
jmp 0x5a39
movq %rax, %rbx
jmp 0x5a39
movq %rax, %rbx
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x5a46
movq 0x28(%rsp), %rsi
subq %rdi, %rsi
callq 0x32a0
jmp 0x5a46
movq %rax, %rbx
jmp 0x5a46
movq %rax, %rbx
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x5a53
movq 0x28(%rsp), %rsi
subq %rdi, %rsi
callq 0x32a0
jmp 0x5a53
movq %rax, %rbx
jmp 0x5a53
movq %rax, %rbx
jmp 0x5a70
nop