// File: /workspace/github_cpp_makefile_star2_O3/chfeder[P]turbulence_generator/./TurbGen.h
// Function: TurbGen::write_to_evol_file(double, double const*, double const*)
bool write_to_evol_file(const double time, const double ampl_factor[], const double v_turb[]) {
        if (verbose > 1) TurbGen_printf("Writing to evolution file: time = %e, time/t_turb = %-7.2f\n", time, time/t_decay);
        std::ofstream outfilestream(evolfile.c_str(), std::ios::app);
        outfilestream.precision(16);
        outfilestream   << std::scientific << std::setw(24) << time << std::setw(24) << time/t_decay
                        << std::setw(24) << pow(ampl_factor[X],1.0/1.5) << std::setw(24) << pow(ampl_factor[Y],1.0/1.5) << std::setw(24) << pow(ampl_factor[Z],1.0/1.5)
                        << std::setw(24) << v_turb[X] << std::setw(24) << v_turb[Y] << std::setw(24) << v_turb[Z]
                        << std::endl;
        outfilestream.close();
        outfilestream.clear();
        return true;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x230, %rsp            # imm = 0x230
movq %rdx, %rbx
movq %rsi, %r14
movsd %xmm0, 0x8(%rsp)
movq %rdi, %r15
cmpl $0x2, (%rdi)
jl 0xd2c5
leaq 0x20(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x1f8b(%rip), %rsi      # 0xf205
leaq 0x1fbf(%rip), %rdx      # 0xf240
leaq 0x10(%rsp), %r12
movq %r12, %rdi
callq 0xba58
movsd 0x8(%rsp), %xmm0
movapd %xmm0, %xmm1
divsd 0x198(%r15), %xmm1
movq %r15, %rdi
movq %r12, %rsi
movb $0x2, %al
callq 0x794e
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0xd2c5
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x32a0
movq 0x218(%r15), %rsi
leaq 0x30(%rsp), %r12
movq %r12, %rdi
movl $0x1, %edx
callq 0x32c0
movq (%r12), %rax
movq -0x18(%rax), %rcx
movq $0x10, 0x38(%rsp,%rcx)
movq -0x18(%rax), %rcx
movl $0xfffffefb, %edx       # imm = 0xFFFFFEFB
andl 0x48(%rsp,%rcx), %edx
orl $0x100, %edx            # imm = 0x100
movl %edx, 0x48(%rsp,%rcx)
movq -0x18(%rax), %rax
movq $0x18, 0x40(%rsp,%rax)
movq %r12, %rdi
movsd 0x8(%rsp), %xmm0
callq 0x33f0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq $0x18, 0x10(%rax,%rcx)
movsd 0x8(%rsp), %xmm0
divsd 0x198(%r15), %xmm0
movq %rax, %rdi
callq 0x33f0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rax
movq $0x18, 0x10(%r15,%rax)
movsd (%r14), %xmm0
movsd 0xd78(%rip), %xmm1      # 0xe0e0
callq 0x3470
movq %r15, %rdi
callq 0x33f0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rax
movq $0x18, 0x10(%r15,%rax)
movsd 0x8(%r14), %xmm0
movsd 0xd4a(%rip), %xmm1      # 0xe0e0
callq 0x3470
movq %r15, %rdi
callq 0x33f0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rax
movq $0x18, 0x10(%r15,%rax)
movsd 0x10(%r14), %xmm0
movsd 0xd1c(%rip), %xmm1      # 0xe0e0
callq 0x3470
movq %r15, %rdi
callq 0x33f0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq $0x18, 0x10(%rax,%rcx)
movsd (%rbx), %xmm0
movq %rax, %rdi
callq 0x33f0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq $0x18, 0x10(%rax,%rcx)
movsd 0x8(%rbx), %xmm0
movq %rax, %rdi
callq 0x33f0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq $0x18, 0x10(%rax,%rcx)
movsd 0x10(%rbx), %xmm0
movq %rax, %rdi
callq 0x33f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3270
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x31c0
leaq 0x30(%rsp), %rbx
movq %rbx, %rdi
callq 0x3370
movq 0x30(%rsp), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x3440
movq 0x4b50(%rip), %rax      # 0x11fc8
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x38(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x30(%rsp,%rcx)
callq 0x3240
leaq 0x128(%rsp), %rdi
callq 0x30e0
movb $0x1, %al
addq $0x230, %rsp            # imm = 0x230
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0xd4df
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x32a0
jmp 0xd4df
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x33a0
movq %rbx, %rdi
callq 0x3480
nop