#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
double pow(double, int);
void evaluateU(double x, double y, double z, double *U, double *Ux, double *Uy,
               double *Uz, double *Uxx, double *Uyy, double *Uzz,
               int isPeriodic) {
  double shift = 0.0;
  if (isPeriodic)
    shift = 1.0 / 21.0;
  double X = 2.0 * pow(x, 6) - 6.0 * pow(x, 5) + 5.0 * pow(x, 4) -
             1.0 * pow(x, 2) + shift;
  double Y = 2.0 * pow(y, 6) - 6.0 * pow(y, 5) + 5.0 * pow(y, 4) -
             1.0 * pow(y, 2) + shift;
  double Z = 2.0 * pow(z, 6) - 6.0 * pow(z, 5) + 5.0 * pow(z, 4) -
             1.0 * pow(z, 2) + shift;
  double Xx = 12.0 * pow(x, 5) - 30.0 * pow(x, 4) + 20.0 * pow(x, 3) - 2.0 * x;
  double Yy = 12.0 * pow(y, 5) - 30.0 * pow(y, 4) + 20.0 * pow(y, 3) - 2.0 * y;
  double Zz = 12.0 * pow(z, 5) - 30.0 * pow(z, 4) + 20.0 * pow(z, 3) - 2.0 * z;
  double Xxx = 60.0 * pow(x, 4) - 120.0 * pow(x, 3) + 60.0 * pow(x, 2) - 2.0;
  double Yyy = 60.0 * pow(y, 4) - 120.0 * pow(y, 3) + 60.0 * pow(y, 2) - 2.0;
  double Zzz = 60.0 * pow(z, 4) - 120.0 * pow(z, 3) + 60.0 * pow(z, 2) - 2.0;
  *U = X * Y * Z;
  *Ux = Xx * Y * Z;
  *Uy = X * Yy * Z;
  *Uz = X * Y * Zz;
  *Uxx = Xxx * Y * Z;
  *Uyy = X * Yyy * Z;
  *Uzz = X * Y * Zzz;
}


x86 assembly (clang, -O0):
<evaluateU>:
push   %rbp
mov    %rsp,%rbp
sub    $0x140,%rsp
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%rax
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  %xmm2,-0x18(%rbp)
mov    %rdi,-0x20(%rbp)
mov    %rsi,-0x28(%rbp)
mov    %rdx,-0x30(%rbp)
mov    %rcx,-0x38(%rbp)
mov    %r8,-0x40(%rbp)
mov    %r9,-0x48(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x50(%rbp)
cmpl   $0x0,0x18(%rbp)
je     1168 <evaluateU+0x58>
movsd  0xe9d(%rip),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x8(%rbp),%xmm0
mov    $0x6,%edi
call   1030 <pow@plt>
movsd  %xmm0,-0x140(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
mov    $0x5,%edi
call   1030 <pow@plt>
movaps %xmm0,%xmm2
movsd  -0x140(%rbp),%xmm0
ff
movsd  0xe9f(%rip),%xmm1
mulsd  %xmm2,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
addsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x138(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
mov    $0x4,%edi
call   1030 <pow@plt>
movsd  -0x138(%rbp),%xmm1
ff
movsd  0xe4d(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x130(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x130(%rbp),%xmm0
ff
subsd  %xmm1,%xmm0
addsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x10(%rbp),%xmm0
mov    $0x6,%edi
call   1030 <pow@plt>
movsd  %xmm0,-0x128(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
mov    $0x5,%edi
call   1030 <pow@plt>
movaps %xmm0,%xmm2
movsd  -0x128(%rbp),%xmm0
ff
movsd  0xde4(%rip),%xmm1
mulsd  %xmm2,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
addsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x120(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
mov    $0x4,%edi
call   1030 <pow@plt>
movsd  -0x120(%rbp),%xmm1
ff
movsd  0xd92(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x118(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x118(%rbp),%xmm0
ff
subsd  %xmm1,%xmm0
addsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x18(%rbp),%xmm0
mov    $0x6,%edi
call   1030 <pow@plt>
movsd  %xmm0,-0x110(%rbp)
ff
movsd  -0x18(%rbp),%xmm0
mov    $0x5,%edi
call   1030 <pow@plt>
movaps %xmm0,%xmm2
movsd  -0x110(%rbp),%xmm0
ff
movsd  0xd29(%rip),%xmm1
mulsd  %xmm2,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
addsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x108(%rbp)
ff
movsd  -0x18(%rbp),%xmm0
mov    $0x4,%edi
call   1030 <pow@plt>
movsd  -0x108(%rbp),%xmm1
ff
movsd  0xcd7(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x100(%rbp)
ff
movsd  -0x18(%rbp),%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x100(%rbp),%xmm0
ff
subsd  %xmm1,%xmm0
addsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x8(%rbp),%xmm0
mov    $0x5,%edi
call   1030 <pow@plt>
movsd  %xmm0,-0xf8(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
mov    $0x4,%edi
call   1030 <pow@plt>
movaps %xmm0,%xmm2
movsd  -0xf8(%rbp),%xmm0
ff
movsd  0xc5e(%rip),%xmm1
mulsd  %xmm2,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  0xc33(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xf0(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
mov    $0x3,%edi
call   1030 <pow@plt>
movsd  -0xf0(%rbp),%xmm1
ff
movsd  0xbfc(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x8(%rbp),%xmm1
addsd  %xmm1,%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x10(%rbp),%xmm0
mov    $0x5,%edi
call   1030 <pow@plt>
movsd  %xmm0,-0xe8(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
mov    $0x4,%edi
call   1030 <pow@plt>
movaps %xmm0,%xmm2
movsd  -0xe8(%rbp),%xmm0
ff
movsd  0xbb9(%rip),%xmm1
mulsd  %xmm2,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  0xb8e(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xe0(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
mov    $0x3,%edi
call   1030 <pow@plt>
movsd  -0xe0(%rbp),%xmm1
ff
movsd  0xb57(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x10(%rbp),%xmm1
addsd  %xmm1,%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x18(%rbp),%xmm0
mov    $0x5,%edi
call   1030 <pow@plt>
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  -0x18(%rbp),%xmm0
mov    $0x4,%edi
call   1030 <pow@plt>
movaps %xmm0,%xmm2
movsd  -0xd8(%rbp),%xmm0
ff
movsd  0xb14(%rip),%xmm1
mulsd  %xmm2,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  0xae9(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
movsd  -0x18(%rbp),%xmm0
mov    $0x3,%edi
call   1030 <pow@plt>
movsd  -0xd0(%rbp),%xmm1
ff
movsd  0xab2(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x18(%rbp),%xmm1
addsd  %xmm1,%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x8(%rbp),%xmm0
mov    $0x4,%edi
call   1030 <pow@plt>
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
mov    $0x3,%edi
call   1030 <pow@plt>
movaps %xmm0,%xmm2
movsd  -0xc8(%rbp),%xmm0
ff
movsd  0xa57(%rip),%xmm1
mulsd  %xmm2,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  0xa2c(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
movsd  -0xc0(%rbp),%xmm1
ff
movsd  0x9fd(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0x9e5(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
mov    $0x4,%edi
call   1030 <pow@plt>
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
mov    $0x3,%edi
call   1030 <pow@plt>
movaps %xmm0,%xmm2
movsd  -0xb8(%rbp),%xmm0
ff
movsd  0x9b0(%rip),%xmm1
mulsd  %xmm2,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  0x985(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
movsd  -0xb0(%rbp),%xmm1
ff
movsd  0x956(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0x93e(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x18(%rbp),%xmm0
mov    $0x4,%edi
call   1030 <pow@plt>
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x18(%rbp),%xmm0
mov    $0x3,%edi
call   1030 <pow@plt>
movaps %xmm0,%xmm2
movsd  -0xa8(%rbp),%xmm0
ff
movsd  0x909(%rip),%xmm1
mulsd  %xmm2,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  0x8de(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x18(%rbp),%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
movsd  -0xa0(%rbp),%xmm1
ff
movsd  0x8af(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0x897(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
mulsd  -0x60(%rbp),%xmm0
mulsd  -0x68(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x70(%rbp),%xmm0
mulsd  -0x60(%rbp),%xmm0
mulsd  -0x68(%rbp),%xmm0
mov    -0x28(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x58(%rbp),%xmm0
mulsd  -0x78(%rbp),%xmm0
mulsd  -0x68(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x58(%rbp),%xmm0
mulsd  -0x60(%rbp),%xmm0
mulsd  -0x80(%rbp),%xmm0
mov    -0x38(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x88(%rbp),%xmm0
ff
mulsd  -0x60(%rbp),%xmm0
mulsd  -0x68(%rbp),%xmm0
mov    -0x40(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x58(%rbp),%xmm0
mulsd  -0x90(%rbp),%xmm0
ff
mulsd  -0x68(%rbp),%xmm0
mov    -0x48(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x58(%rbp),%xmm0
mulsd  -0x60(%rbp),%xmm0
mulsd  -0x98(%rbp),%xmm0
ff
mov    0x10(%rbp),%rax
movsd  %xmm0,(%rax)
add    $0x140,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<evaluateU>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
mov    %r9,%r14
mov    %r8,%r15
mov    %rcx,%r12
mov    %rdx,%r13
mov    %rsi,%rbx
mov    %rdi,%rbp
movsd  %xmm2,0x20(%rsp)
movsd  %xmm1,0x18(%rsp)
cmpl   $0x0,0x98(%rsp)
xorps  %xmm1,%xmm1
je     1151 <evaluateU+0x41>
movsd  0xeaf(%rip),%xmm1
movsd  %xmm1,0x8(%rsp)
movsd  %xmm0,0x10(%rsp)
mov    $0x6,%edi
call   1030 <pow@plt>
movsd  %xmm0,0x38(%rsp)
movsd  0x10(%rsp),%xmm0
mov    $0x5,%edi
call   1030 <pow@plt>
mulsd  0xe83(%rip),%xmm0
movsd  0x38(%rsp),%xmm1
addsd  %xmm1,%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,0x38(%rsp)
movsd  0x10(%rsp),%xmm0
mov    $0x4,%edi
call   1030 <pow@plt>
mulsd  0xe5f(%rip),%xmm0
addsd  0x38(%rsp),%xmm0
movsd  %xmm0,0x38(%rsp)
movsd  0x10(%rsp),%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
movsd  0x38(%rsp),%xmm1
subsd  %xmm0,%xmm1
addsd  0x8(%rsp),%xmm1
movsd  %xmm1,0x38(%rsp)
movsd  0x18(%rsp),%xmm0
mov    $0x6,%edi
call   1030 <pow@plt>
movsd  %xmm0,0x30(%rsp)
movsd  0x18(%rsp),%xmm0
mov    $0x5,%edi
call   1030 <pow@plt>
mulsd  0xdf7(%rip),%xmm0
movsd  0x30(%rsp),%xmm1
addsd  %xmm1,%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,0x30(%rsp)
movsd  0x18(%rsp),%xmm0
mov    $0x4,%edi
call   1030 <pow@plt>
mulsd  0xdd3(%rip),%xmm0
addsd  0x30(%rsp),%xmm0
movsd  %xmm0,0x30(%rsp)
movsd  0x18(%rsp),%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
movsd  0x30(%rsp),%xmm1
subsd  %xmm0,%xmm1
addsd  0x8(%rsp),%xmm1
movsd  %xmm1,0x30(%rsp)
movsd  0x20(%rsp),%xmm0
mov    $0x6,%edi
call   1030 <pow@plt>
movsd  %xmm0,0x28(%rsp)
movsd  0x20(%rsp),%xmm0
mov    $0x5,%edi
call   1030 <pow@plt>
mulsd  0xd6b(%rip),%xmm0
movsd  0x28(%rsp),%xmm1
addsd  %xmm1,%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,0x28(%rsp)
movsd  0x20(%rsp),%xmm0
mov    $0x4,%edi
call   1030 <pow@plt>
mulsd  0xd47(%rip),%xmm0
addsd  0x28(%rsp),%xmm0
movsd  %xmm0,0x28(%rsp)
movsd  0x20(%rsp),%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
movsd  0x28(%rsp),%xmm1
subsd  %xmm0,%xmm1
addsd  0x8(%rsp),%xmm1
movsd  %xmm1,0x28(%rsp)
movsd  0x10(%rsp),%xmm0
mov    $0x5,%edi
call   1030 <pow@plt>
movsd  %xmm0,0x8(%rsp)
movsd  0x10(%rsp),%xmm0
mov    $0x4,%edi
call   1030 <pow@plt>
mulsd  0xcef(%rip),%xmm0
movsd  0x8(%rsp),%xmm1
mulsd  0xce9(%rip),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,0x8(%rsp)
movsd  0x10(%rsp),%xmm0
mov    $0x3,%edi
call   1030 <pow@plt>
mulsd  0xccf(%rip),%xmm0
addsd  0x8(%rsp),%xmm0
movsd  0x10(%rsp),%xmm1
addsd  %xmm1,%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,0x50(%rsp)
movsd  0x18(%rsp),%xmm0
mov    $0x5,%edi
call   1030 <pow@plt>
movsd  %xmm0,0x8(%rsp)
movsd  0x18(%rsp),%xmm0
mov    $0x4,%edi
call   1030 <pow@plt>
mulsd  0xc77(%rip),%xmm0
movsd  0x8(%rsp),%xmm1
mulsd  0xc71(%rip),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,0x8(%rsp)
movsd  0x18(%rsp),%xmm0
mov    $0x3,%edi
call   1030 <pow@plt>
mulsd  0xc57(%rip),%xmm0
addsd  0x8(%rsp),%xmm0
movsd  0x18(%rsp),%xmm1
addsd  %xmm1,%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,0x48(%rsp)
movsd  0x20(%rsp),%xmm0
mov    $0x5,%edi
call   1030 <pow@plt>
movsd  %xmm0,0x8(%rsp)
movsd  0x20(%rsp),%xmm0
mov    $0x4,%edi
call   1030 <pow@plt>
mulsd  0xbff(%rip),%xmm0
movsd  0x8(%rsp),%xmm1
mulsd  0xbf9(%rip),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,0x8(%rsp)
movsd  0x20(%rsp),%xmm0
mov    $0x3,%edi
call   1030 <pow@plt>
mulsd  0xbdf(%rip),%xmm0
addsd  0x8(%rsp),%xmm0
movsd  0x20(%rsp),%xmm1
addsd  %xmm1,%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,0x40(%rsp)
movsd  0x10(%rsp),%xmm0
mov    $0x4,%edi
call   1030 <pow@plt>
movsd  %xmm0,0x8(%rsp)
movsd  0x10(%rsp),%xmm0
mov    $0x3,%edi
call   1030 <pow@plt>
mulsd  0xb9f(%rip),%xmm0
movsd  0x8(%rsp),%xmm1
mulsd  0xb99(%rip),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,0x8(%rsp)
movsd  0x10(%rsp),%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
mulsd  0xb77(%rip),%xmm0
addsd  0x8(%rsp),%xmm0
addsd  0xb71(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x18(%rsp),%xmm0
mov    $0x4,%edi
call   1030 <pow@plt>
movsd  %xmm0,0x10(%rsp)
movsd  0x18(%rsp),%xmm0
mov    $0x3,%edi
call   1030 <pow@plt>
mulsd  0xb2d(%rip),%xmm0
movsd  0x10(%rsp),%xmm1
mulsd  0xb27(%rip),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,0x10(%rsp)
movsd  0x18(%rsp),%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
mulsd  0xb05(%rip),%xmm0
addsd  0x10(%rsp),%xmm0
addsd  0xaff(%rip),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0x20(%rsp),%xmm0
mov    $0x4,%edi
call   1030 <pow@plt>
movsd  %xmm0,0x18(%rsp)
movsd  0x20(%rsp),%xmm0
mov    $0x3,%edi
call   1030 <pow@plt>
mulsd  0xabb(%rip),%xmm0
movsd  0x18(%rsp),%xmm1
mulsd  0xab5(%rip),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,0x18(%rsp)
movsd  0x20(%rsp),%xmm0
mov    $0x2,%edi
call   1030 <pow@plt>
mulsd  0xa93(%rip),%xmm0
addsd  0x18(%rsp),%xmm0
addsd  0xa8d(%rip),%xmm0
movsd  0x38(%rsp),%xmm3
movapd %xmm3,%xmm1
movsd  0x30(%rsp),%xmm4
mulsd  %xmm4,%xmm1
movapd %xmm1,%xmm2
movsd  0x28(%rsp),%xmm5
mulsd  %xmm5,%xmm2
movsd  %xmm2,0x0(%rbp)
movsd  0x50(%rsp),%xmm2
mulsd  %xmm4,%xmm2
mulsd  %xmm5,%xmm2
movsd  %xmm2,(%rbx)
movsd  0x48(%rsp),%xmm2
mulsd  %xmm3,%xmm2
mulsd  %xmm5,%xmm2
movsd  %xmm2,0x0(%r13)
movsd  0x40(%rsp),%xmm2
mulsd  %xmm1,%xmm2
movsd  %xmm2,(%r12)
movsd  0x8(%rsp),%xmm2
mulsd  %xmm4,%xmm2
mulsd  %xmm5,%xmm2
movsd  %xmm2,(%r15)
movsd  0x10(%rsp),%xmm2
mulsd  %xmm3,%xmm2
mulsd  %xmm5,%xmm2
movsd  %xmm2,(%r14)
mulsd  %xmm0,%xmm1
mov    0x90(%rsp),%rax
movsd  %xmm1,(%rax)
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @evaluateU(double %0, double %1, double %2, double* %3, double* %4, double* %5, double* %6, double* %7, double* %8, double* %9, i32 %10) {
%12 = alloca double
%13 = alloca double
%14 = alloca double
%15 = alloca double*
%16 = alloca double*
%17 = alloca double*
%18 = alloca double*
%19 = alloca double*
%20 = alloca double*
%21 = alloca double*
%22 = alloca i32
%23 = alloca double
%24 = alloca double
%25 = alloca double
%26 = alloca double
%27 = alloca double
%28 = alloca double
%29 = alloca double
%30 = alloca double
%31 = alloca double
%32 = alloca double
store double %0, double* %12
store double %1, double* %13
store double %2, double* %14
store double* %3, double** %15
store double* %4, double** %16
store double* %5, double** %17
store double* %6, double** %18
store double* %7, double** %19
store double* %8, double** %20
store double* %9, double** %21
store i32 %10, i32* %22
store double 0.000000e+00, double* %23
%33 = load i32, i32* %22
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %11
store double 0x3FA8618618618618, double* %23
br label %36
36: ; preds = %35, %11
%37 = load double, double* %12
%38 = call double @pow(double %37, i32 6)
%39 = load double, double* %12
%40 = call double @pow(double %39, i32 5)
%41 = fmul double 6.000000e+00, %40
%42 = fneg double %41
%43 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %38, double %42)
%44 = load double, double* %12
%45 = call double @pow(double %44, i32 4)
%46 = call double @llvm.fmuladd.f64(double 5.000000e+00, double %45, double %43)
%47 = load double, double* %12
%48 = call double @pow(double %47, i32 2)
%49 = call double @llvm.fmuladd.f64(double -1.000000e+00, double %48, double %46)
%50 = load double, double* %23
%51 = fadd double %49, %50
store double %51, double* %24
%52 = load double, double* %13
%53 = call double @pow(double %52, i32 6)
%54 = load double, double* %13
%55 = call double @pow(double %54, i32 5)
%56 = fmul double 6.000000e+00, %55
%57 = fneg double %56
%58 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %53, double %57)
%59 = load double, double* %13
%60 = call double @pow(double %59, i32 4)
%61 = call double @llvm.fmuladd.f64(double 5.000000e+00, double %60, double %58)
%62 = load double, double* %13
%63 = call double @pow(double %62, i32 2)
%64 = call double @llvm.fmuladd.f64(double -1.000000e+00, double %63, double %61)
%65 = load double, double* %23
%66 = fadd double %64, %65
store double %66, double* %25
%67 = load double, double* %14
%68 = call double @pow(double %67, i32 6)
%69 = load double, double* %14
%70 = call double @pow(double %69, i32 5)
%71 = fmul double 6.000000e+00, %70
%72 = fneg double %71
%73 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %68, double %72)
%74 = load double, double* %14
%75 = call double @pow(double %74, i32 4)
%76 = call double @llvm.fmuladd.f64(double 5.000000e+00, double %75, double %73)
%77 = load double, double* %14
%78 = call double @pow(double %77, i32 2)
%79 = call double @llvm.fmuladd.f64(double -1.000000e+00, double %78, double %76)
%80 = load double, double* %23
%81 = fadd double %79, %80
store double %81, double* %26
%82 = load double, double* %12
%83 = call double @pow(double %82, i32 5)
%84 = load double, double* %12
%85 = call double @pow(double %84, i32 4)
%86 = fmul double 3.000000e+01, %85
%87 = fneg double %86
%88 = call double @llvm.fmuladd.f64(double 1.200000e+01, double %83, double %87)
%89 = load double, double* %12
%90 = call double @pow(double %89, i32 3)
%91 = call double @llvm.fmuladd.f64(double 2.000000e+01, double %90, double %88)
%92 = load double, double* %12
%93 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %92, double %91)
store double %93, double* %27
%94 = load double, double* %13
%95 = call double @pow(double %94, i32 5)
%96 = load double, double* %13
%97 = call double @pow(double %96, i32 4)
%98 = fmul double 3.000000e+01, %97
%99 = fneg double %98
%100 = call double @llvm.fmuladd.f64(double 1.200000e+01, double %95, double %99)
%101 = load double, double* %13
%102 = call double @pow(double %101, i32 3)
%103 = call double @llvm.fmuladd.f64(double 2.000000e+01, double %102, double %100)
%104 = load double, double* %13
%105 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %104, double %103)
store double %105, double* %28
%106 = load double, double* %14
%107 = call double @pow(double %106, i32 5)
%108 = load double, double* %14
%109 = call double @pow(double %108, i32 4)
%110 = fmul double 3.000000e+01, %109
%111 = fneg double %110
%112 = call double @llvm.fmuladd.f64(double 1.200000e+01, double %107, double %111)
%113 = load double, double* %14
%114 = call double @pow(double %113, i32 3)
%115 = call double @llvm.fmuladd.f64(double 2.000000e+01, double %114, double %112)
%116 = load double, double* %14
%117 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %116, double %115)
store double %117, double* %29
%118 = load double, double* %12
%119 = call double @pow(double %118, i32 4)
%120 = load double, double* %12
%121 = call double @pow(double %120, i32 3)
%122 = fmul double 1.200000e+02, %121
%123 = fneg double %122
%124 = call double @llvm.fmuladd.f64(double 6.000000e+01, double %119, double %123)
%125 = load double, double* %12
%126 = call double @pow(double %125, i32 2)
%127 = call double @llvm.fmuladd.f64(double 6.000000e+01, double %126, double %124)
%128 = fsub double %127, 2.000000e+00
store double %128, double* %30
%129 = load double, double* %13
%130 = call double @pow(double %129, i32 4)
%131 = load double, double* %13
%132 = call double @pow(double %131, i32 3)
%133 = fmul double 1.200000e+02, %132
%134 = fneg double %133
%135 = call double @llvm.fmuladd.f64(double 6.000000e+01, double %130, double %134)
%136 = load double, double* %13
%137 = call double @pow(double %136, i32 2)
%138 = call double @llvm.fmuladd.f64(double 6.000000e+01, double %137, double %135)
%139 = fsub double %138, 2.000000e+00
store double %139, double* %31
%140 = load double, double* %14
%141 = call double @pow(double %140, i32 4)
%142 = load double, double* %14
%143 = call double @pow(double %142, i32 3)
%144 = fmul double 1.200000e+02, %143
%145 = fneg double %144
%146 = call double @llvm.fmuladd.f64(double 6.000000e+01, double %141, double %145)
%147 = load double, double* %14
%148 = call double @pow(double %147, i32 2)
%149 = call double @llvm.fmuladd.f64(double 6.000000e+01, double %148, double %146)
%150 = fsub double %149, 2.000000e+00
store double %150, double* %32
%151 = load double, double* %24
%152 = load double, double* %25
%153 = fmul double %151, %152
%154 = load double, double* %26
%155 = fmul double %153, %154
%156 = load double*, double** %15
store double %155, double* %156
%157 = load double, double* %27
%158 = load double, double* %25
%159 = fmul double %157, %158
%160 = load double, double* %26
%161 = fmul double %159, %160
%162 = load double*, double** %16
store double %161, double* %162
%163 = load double, double* %24
%164 = load double, double* %28
%165 = fmul double %163, %164
%166 = load double, double* %26
%167 = fmul double %165, %166
%168 = load double*, double** %17
store double %167, double* %168
%169 = load double, double* %24
%170 = load double, double* %25
%171 = fmul double %169, %170
%172 = load double, double* %29
%173 = fmul double %171, %172
%174 = load double*, double** %18
store double %173, double* %174
%175 = load double, double* %30
%176 = load double, double* %25
%177 = fmul double %175, %176
%178 = load double, double* %26
%179 = fmul double %177, %178
%180 = load double*, double** %19
store double %179, double* %180
%181 = load double, double* %24
%182 = load double, double* %31
%183 = fmul double %181, %182
%184 = load double, double* %26
%185 = fmul double %183, %184
%186 = load double*, double** %20
store double %185, double* %186
%187 = load double, double* %24
%188 = load double, double* %25
%189 = fmul double %187, %188
%190 = load double, double* %32
%191 = fmul double %189, %190
%192 = load double*, double** %21
store double %191, double* %192
ret void
}

LLVM IR (-O2):
define void @evaluateU(double %0, double %1, double %2, double* nocapture writeonly %3, double* nocapture writeonly %4, double* nocapture writeonly %5, double* nocapture writeonly %6, double* nocapture writeonly %7, double* nocapture writeonly %8, double* nocapture writeonly %9, i32 %10) {
%12 = icmp eq i32 %10, 0
%13 = select i1 %12, double 0.000000e+00, double 0x3FA8618618618618
%14 = tail call double @pow(double %0, i32 6)
%15 = tail call double @pow(double %0, i32 5)
%16 = fmul double %15, -6.000000e+00
%17 = tail call double @llvm.fmuladd.f64(double %14, double 2.000000e+00, double %16)
%18 = tail call double @pow(double %0, i32 4)
%19 = tail call double @llvm.fmuladd.f64(double %18, double 5.000000e+00, double %17)
%20 = tail call double @pow(double %0, i32 2)
%21 = tail call double @llvm.fmuladd.f64(double %20, double -1.000000e+00, double %19)
%22 = fadd double %13, %21
%23 = tail call double @pow(double %1, i32 6)
%24 = tail call double @pow(double %1, i32 5)
%25 = fmul double %24, -6.000000e+00
%26 = tail call double @llvm.fmuladd.f64(double %23, double 2.000000e+00, double %25)
%27 = tail call double @pow(double %1, i32 4)
%28 = tail call double @llvm.fmuladd.f64(double %27, double 5.000000e+00, double %26)
%29 = tail call double @pow(double %1, i32 2)
%30 = tail call double @llvm.fmuladd.f64(double %29, double -1.000000e+00, double %28)
%31 = fadd double %13, %30
%32 = tail call double @pow(double %2, i32 6)
%33 = tail call double @pow(double %2, i32 5)
%34 = fmul double %33, -6.000000e+00
%35 = tail call double @llvm.fmuladd.f64(double %32, double 2.000000e+00, double %34)
%36 = tail call double @pow(double %2, i32 4)
%37 = tail call double @llvm.fmuladd.f64(double %36, double 5.000000e+00, double %35)
%38 = tail call double @pow(double %2, i32 2)
%39 = tail call double @llvm.fmuladd.f64(double %38, double -1.000000e+00, double %37)
%40 = fadd double %13, %39
%41 = tail call double @pow(double %0, i32 5)
%42 = tail call double @pow(double %0, i32 4)
%43 = fmul double %42, -3.000000e+01
%44 = tail call double @llvm.fmuladd.f64(double %41, double 1.200000e+01, double %43)
%45 = tail call double @pow(double %0, i32 3)
%46 = tail call double @llvm.fmuladd.f64(double %45, double 2.000000e+01, double %44)
%47 = tail call double @llvm.fmuladd.f64(double %0, double -2.000000e+00, double %46)
%48 = tail call double @pow(double %1, i32 5)
%49 = tail call double @pow(double %1, i32 4)
%50 = fmul double %49, -3.000000e+01
%51 = tail call double @llvm.fmuladd.f64(double %48, double 1.200000e+01, double %50)
%52 = tail call double @pow(double %1, i32 3)
%53 = tail call double @llvm.fmuladd.f64(double %52, double 2.000000e+01, double %51)
%54 = tail call double @llvm.fmuladd.f64(double %1, double -2.000000e+00, double %53)
%55 = tail call double @pow(double %2, i32 5)
%56 = tail call double @pow(double %2, i32 4)
%57 = fmul double %56, -3.000000e+01
%58 = tail call double @llvm.fmuladd.f64(double %55, double 1.200000e+01, double %57)
%59 = tail call double @pow(double %2, i32 3)
%60 = tail call double @llvm.fmuladd.f64(double %59, double 2.000000e+01, double %58)
%61 = tail call double @llvm.fmuladd.f64(double %2, double -2.000000e+00, double %60)
%62 = tail call double @pow(double %0, i32 4)
%63 = tail call double @pow(double %0, i32 3)
%64 = fmul double %63, -1.200000e+02
%65 = tail call double @llvm.fmuladd.f64(double %62, double 6.000000e+01, double %64)
%66 = tail call double @pow(double %0, i32 2)
%67 = tail call double @llvm.fmuladd.f64(double %66, double 6.000000e+01, double %65)
%68 = fadd double %67, -2.000000e+00
%69 = tail call double @pow(double %1, i32 4)
%70 = tail call double @pow(double %1, i32 3)
%71 = fmul double %70, -1.200000e+02
%72 = tail call double @llvm.fmuladd.f64(double %69, double 6.000000e+01, double %71)
%73 = tail call double @pow(double %1, i32 2)
%74 = tail call double @llvm.fmuladd.f64(double %73, double 6.000000e+01, double %72)
%75 = fadd double %74, -2.000000e+00
%76 = tail call double @pow(double %2, i32 4)
%77 = tail call double @pow(double %2, i32 3)
%78 = fmul double %77, -1.200000e+02
%79 = tail call double @llvm.fmuladd.f64(double %76, double 6.000000e+01, double %78)
%80 = tail call double @pow(double %2, i32 2)
%81 = tail call double @llvm.fmuladd.f64(double %80, double 6.000000e+01, double %79)
%82 = fadd double %81, -2.000000e+00
%83 = fmul double %22, %31
%84 = fmul double %83, %40
store double %84, double* %3
%85 = fmul double %31, %47
%86 = fmul double %40, %85
store double %86, double* %4
%87 = fmul double %22, %54
%88 = fmul double %40, %87
store double %88, double* %5
%89 = fmul double %83, %61
store double %89, double* %6
%90 = fmul double %31, %68
%91 = fmul double %40, %90
store double %91, double* %7
%92 = fmul double %22, %75
%93 = fmul double %40, %92
store double %93, double* %8
%94 = fmul double %83, %82
store double %94, double* %9
ret void
}