#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 M_PI;
int cos(double);
double pow(double, int);
double sin(double);
double Q_v_viscous(double DMu_Dx, double DMu_Dy, double DMu_Dz, double L,
                   double LAMBDA, double Mu, double a_ux, double a_uy,
                   double a_vx, double a_vy, double a_vz, double a_wy,
                   double a_wz, double alpha, double u_x, double u_y,
                   double v_x, double v_y, double v_z, double w_y, double w_z,
                   double x, double y, double z) {
  return M_PI * DMu_Dx *
             (a_uy * u_y * sin(M_PI * a_uy * y / L) +
              a_vx * v_x * sin(M_PI * a_vx * x / L)) /
             L +
         M_PI * DMu_Dz *
             (-a_vz * v_z * cos(M_PI * a_vz * z / L) -
              a_wy * w_y * cos(M_PI * a_wy * y / L)) /
             L +
         Mu * pow(M_PI, 2) *
             (v_x * pow(a_vx, 2) * cos(M_PI * a_vx * x / L) +
              v_z * pow(a_vz, 2) * sin(M_PI * a_vz * z / L) +
              2 * v_y * pow(a_vy, 2) * sin(M_PI * a_vy * y / L)) /
             pow(L, 2) -
         M_PI * DMu_Dy * (2.0 / 3.0 - alpha) *
             (a_wz * w_z * sin(M_PI * a_wz * z / L) -
              a_ux * u_x * cos(M_PI * a_ux * x / L) -
              a_vy * v_y * cos(M_PI * a_vy * y / L)) /
             L +
         LAMBDA * v_y * pow(M_PI, 2) * pow(a_vy, 2) * sin(M_PI * a_vy * y / L) /
             pow(L, 2) -
         2 * M_PI * DMu_Dy * a_vy * v_y * cos(M_PI * a_vy * y / L) / L;
}


x86 assembly (clang, -O0):
<Q_v_viscous>:
push   %rbp
mov    %rsp,%rbp
sub    $0x160,%rsp
movsd  0x88(%rbp),%xmm8
movsd  0x80(%rbp),%xmm8
movsd  0x78(%rbp),%xmm8
movsd  0x70(%rbp),%xmm8
movsd  0x68(%rbp),%xmm8
movsd  0x60(%rbp),%xmm8
movsd  0x58(%rbp),%xmm8
movsd  0x50(%rbp),%xmm8
movsd  0x48(%rbp),%xmm8
movsd  0x40(%rbp),%xmm8
movsd  0x38(%rbp),%xmm8
movsd  0x30(%rbp),%xmm8
movsd  0x28(%rbp),%xmm8
movsd  0x20(%rbp),%xmm8
movsd  0x18(%rbp),%xmm8
movsd  0x10(%rbp),%xmm8
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  %xmm2,-0x18(%rbp)
movsd  %xmm3,-0x20(%rbp)
movsd  %xmm4,-0x28(%rbp)
movsd  %xmm5,-0x30(%rbp)
movsd  %xmm6,-0x38(%rbp)
movsd  %xmm7,-0x40(%rbp)
mov    0x2e18(%rip),%rax
movsd  (%rax),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x140(%rbp)
ff
movsd  -0x40(%rbp),%xmm0
mulsd  0x48(%rbp),%xmm0
movsd  %xmm0,-0x150(%rbp)
ff
mov    0x2dee(%rip),%rax
movsd  (%rax),%xmm0
mulsd  -0x40(%rbp),%xmm0
mulsd  0x80(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
call   1030 <sin@plt>
movsd  %xmm0,-0x148(%rbp)
ff
movsd  0x10(%rbp),%xmm0
mulsd  0x50(%rbp),%xmm0
movsd  %xmm0,-0x158(%rbp)
ff
mov    0x2db2(%rip),%rax
movsd  (%rax),%xmm0
mulsd  0x10(%rbp),%xmm0
mulsd  0x78(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
call   1030 <sin@plt>
movsd  -0x158(%rbp),%xmm2
ff
movsd  -0x150(%rbp),%xmm1
ff
movsd  -0x148(%rbp),%xmm3
ff
movaps %xmm0,%xmm4
movsd  -0x140(%rbp),%xmm0
ff
mulsd  %xmm4,%xmm2
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
divsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x118(%rbp)
ff
mov    0x2d53(%rip),%rax
movsd  (%rax),%xmm0
mulsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x120(%rbp)
ff
movsd  0x20(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  0x60(%rbp),%xmm0
movsd  %xmm0,-0x130(%rbp)
ff
mov    0x2d12(%rip),%rax
movsd  (%rax),%xmm0
mulsd  0x20(%rbp),%xmm0
mulsd  0x88(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
call   1040 <cos@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x128(%rbp)
ff
movsd  0x28(%rbp),%xmm0
mulsd  0x68(%rbp),%xmm0
movsd  %xmm0,-0x138(%rbp)
ff
mov    0x2cd2(%rip),%rax
movsd  (%rax),%xmm0
mulsd  0x28(%rbp),%xmm0
mulsd  0x80(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
call   1040 <cos@plt>
movsd  -0x138(%rbp),%xmm3
ff
movsd  -0x130(%rbp),%xmm2
ff
movsd  -0x128(%rbp),%xmm4
ff
movsd  -0x120(%rbp),%xmm1
ff
movsd  -0x118(%rbp),%xmm0
ff
cvtsi2sd %eax,%xmm5
mulsd  %xmm5,%xmm3
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm1
divsd  -0x20(%rbp),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x110(%rbp)
ff
mov    0x2c3f(%rip),%rax
movsd  (%rax),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x110(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  0x50(%rbp),%xmm0
movsd  %xmm0,-0x108(%rbp)
ff
movsd  0x10(%rbp),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x108(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xe8(%rbp)
mov    0x2be0(%rip),%rax
movsd  (%rax),%xmm0
mulsd  0x10(%rbp),%xmm0
mulsd  0x78(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
call   1040 <cos@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0xf0(%rbp)
ff
movsd  0x60(%rbp),%xmm0
movsd  %xmm0,-0x100(%rbp)
ff
movsd  0x20(%rbp),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x100(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xf8(%rbp)
ff
mov    0x2b82(%rip),%rax
movsd  (%rax),%xmm0
mulsd  0x20(%rbp),%xmm0
mulsd  0x88(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
call   1030 <sin@plt>
movsd  -0xf8(%rbp),%xmm1
ff
movsd  -0xf0(%rbp),%xmm2
ff
movaps %xmm0,%xmm3
movsd  -0xe8(%rbp),%xmm0
ff
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
movsd  0xb48(%rip),%xmm0
mulsd  0x58(%rbp),%xmm0
movsd  %xmm0,-0xe0(%rbp)
ff
movsd  0x18(%rbp),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0xe0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
mov    0x2af6(%rip),%rax
movsd  (%rax),%xmm0
mulsd  0x18(%rbp),%xmm0
mulsd  0x80(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
call   1030 <sin@plt>
movsd  -0xd8(%rbp),%xmm1
ff
movsd  -0xd0(%rbp),%xmm2
ff
movaps %xmm0,%xmm3
movsd  -0xc8(%rbp),%xmm0
ff
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  -0x20(%rbp),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movsd  -0xc0(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movsd  -0xb8(%rbp),%xmm0
ff
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    0x2a76(%rip),%rax
movsd  (%rax),%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  0xa85(%rip),%xmm1
subsd  0x38(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  0x30(%rbp),%xmm0
mulsd  0x70(%rbp),%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
mov    0x2a3b(%rip),%rax
movsd  (%rax),%xmm0
mulsd  0x30(%rbp),%xmm0
mulsd  0x88(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
call   1030 <sin@plt>
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
mulsd  0x40(%rbp),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
mov    0x29ff(%rip),%rax
movsd  (%rax),%xmm0
mulsd  -0x38(%rbp),%xmm0
mulsd  0x78(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
call   1040 <cos@plt>
movsd  -0xb0(%rbp),%xmm1
ff
movsd  -0xa8(%rbp),%xmm0
ff
movsd  -0xa0(%rbp),%xmm2
ff
cvtsi2sd %eax,%xmm3
mulsd  %xmm3,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  0x18(%rbp),%xmm0
mulsd  0x58(%rbp),%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    0x2987(%rip),%rax
movsd  (%rax),%xmm0
mulsd  0x18(%rbp),%xmm0
mulsd  0x80(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
call   1040 <cos@plt>
movsd  -0x98(%rbp),%xmm2
ff
movsd  -0x90(%rbp),%xmm3
ff
movsd  -0x88(%rbp),%xmm1
ff
movsd  -0x80(%rbp),%xmm0
cvtsi2sd %eax,%xmm4
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm1
divsd  -0x20(%rbp),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x28(%rbp),%xmm0
mulsd  0x58(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    0x2904(%rip),%rax
movsd  (%rax),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x78(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  0x18(%rbp),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x70(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    0x28be(%rip),%rax
movsd  (%rax),%xmm0
mulsd  0x18(%rbp),%xmm0
mulsd  0x80(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
call   1030 <sin@plt>
movaps %xmm0,%xmm1
movsd  -0x68(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x20(%rbp),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movsd  -0x60(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x58(%rbp),%xmm0
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  0x879(%rip),%xmm0
mov    0x285a(%rip),%rax
mulsd  (%rax),%xmm0
mulsd  -0x10(%rbp),%xmm0
mulsd  0x18(%rbp),%xmm0
mulsd  0x58(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    0x283b(%rip),%rax
movsd  (%rax),%xmm0
mulsd  0x18(%rbp),%xmm0
mulsd  0x80(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
call   1040 <cos@plt>
movsd  -0x50(%rbp),%xmm1
movsd  -0x48(%rbp),%xmm0
cvtsi2sd %eax,%xmm2
mulsd  %xmm2,%xmm1
divsd  -0x20(%rbp),%xmm1
subsd  %xmm1,%xmm0
add    $0x160,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Q_v_viscous>:
push   %rbx
sub    $0xf0,%rsp
movapd %xmm7,0x40(%rsp)
movaps %xmm6,0x60(%rsp)
movaps %xmm5,0x30(%rsp)
movaps %xmm4,0xe0(%rsp)
movapd %xmm3,(%rsp)
movaps %xmm2,0x20(%rsp)
movaps %xmm1,0xb0(%rsp)
movaps %xmm0,0x10(%rsp)
mov    0x2e7a(%rip),%rbx
movsd  (%rbx),%xmm0
movapd %xmm0,0x90(%rsp)
mulsd  %xmm7,%xmm0
mulsd  0x170(%rsp),%xmm0
divsd  %xmm3,%xmm0
call   1030 <sin@plt>
movapd %xmm0,0xa0(%rsp)
movsd  (%rbx),%xmm0
movsd  0x100(%rsp),%xmm1
mulsd  %xmm1,%xmm0
mulsd  0x168(%rsp),%xmm0
divsd  (%rsp),%xmm0
call   1030 <sin@plt>
movapd %xmm0,0x50(%rsp)
movsd  (%rbx),%xmm0
movapd 0x90(%rsp),%xmm2
unpcklpd %xmm0,%xmm2
movapd 0x10(%rsp),%xmm1
unpcklpd 0x20(%rsp),%xmm1
mulpd  %xmm2,%xmm1
movapd %xmm1,0x10(%rsp)
movsd  0x110(%rsp),%xmm2
movapd %xmm2,%xmm1
xorpd  0xe00(%rip),%xmm1
movapd 0x40(%rsp),%xmm3
unpcklpd %xmm1,%xmm3
movsd  0x138(%rsp),%xmm4
movsd  0x150(%rsp),%xmm1
unpcklpd %xmm1,%xmm4
mulpd  %xmm3,%xmm4
movapd %xmm4,0x20(%rsp)
mulsd  %xmm2,%xmm0
mulsd  0x178(%rsp),%xmm0
divsd  (%rsp),%xmm0
call   1040 <cos@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movapd %xmm0,0x40(%rsp)
movsd  (%rbx),%xmm0
movsd  0x118(%rsp),%xmm1
mulsd  %xmm1,%xmm0
mulsd  0x170(%rsp),%xmm0
divsd  (%rsp),%xmm0
call   1040 <cos@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  0x118(%rsp),%xmm2
xorpd  0xd76(%rip),%xmm2
movsd  0x100(%rsp),%xmm1
unpcklpd %xmm2,%xmm1
movsd  0x140(%rsp),%xmm2
movhpd 0x158(%rsp),%xmm2
mulpd  %xmm1,%xmm2
movapd 0x50(%rsp),%xmm1
unpcklpd %xmm0,%xmm1
mulpd  %xmm2,%xmm1
movapd %xmm1,%xmm0
movapd 0xa0(%rsp),%xmm1
unpcklpd 0x40(%rsp),%xmm1
mulpd  0x20(%rsp),%xmm1
addpd  %xmm0,%xmm1
mulpd  0x10(%rsp),%xmm1
movapd (%rsp),%xmm0
unpcklpd %xmm0,%xmm0
divpd  %xmm0,%xmm1
movapd %xmm1,0xa0(%rsp)
movsd  (%rbx),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movaps %xmm0,0x70(%rsp)
movsd  0x100(%rsp),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movaps %xmm0,0x80(%rsp)
movsd  0x100(%rsp),%xmm0
mulsd  (%rbx),%xmm0
mulsd  0x168(%rsp),%xmm0
divsd  (%rsp),%xmm0
call   1040 <cos@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movapd %xmm0,0x10(%rsp)
movsd  0x110(%rsp),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movaps %xmm0,0xd0(%rsp)
movsd  0x110(%rsp),%xmm0
mulsd  (%rbx),%xmm0
mulsd  0x178(%rsp),%xmm0
divsd  (%rsp),%xmm0
call   1030 <sin@plt>
movapd %xmm0,0xc0(%rsp)
movsd  0x148(%rsp),%xmm0
addsd  %xmm0,%xmm0
movapd %xmm0,0x20(%rsp)
movsd  0x108(%rsp),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movaps %xmm0,0x40(%rsp)
movsd  (%rbx),%xmm0
movsd  0x108(%rsp),%xmm1
mulsd  %xmm1,%xmm0
mulsd  0x170(%rsp),%xmm0
divsd  (%rsp),%xmm0
call   1030 <sin@plt>
movapd %xmm0,0x50(%rsp)
movaps (%rsp),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movaps %xmm0,0x90(%rsp)
movsd  (%rbx),%xmm0
movapd %xmm0,%xmm1
mulsd  0xb0(%rsp),%xmm1
movsd  0xbf9(%rip),%xmm2
subsd  0x128(%rsp),%xmm2
movapd 0x70(%rsp),%xmm3
unpcklpd %xmm2,%xmm3
movapd 0x30(%rsp),%xmm2
unpcklpd %xmm1,%xmm2
mulpd  %xmm3,%xmm2
movapd %xmm2,0x30(%rsp)
movsd  0x120(%rsp),%xmm1
movapd 0x80(%rsp),%xmm3
unpcklpd %xmm1,%xmm3
movsd  0x140(%rsp),%xmm2
movhpd 0x160(%rsp),%xmm2
mulpd  %xmm3,%xmm2
movapd %xmm2,0x80(%rsp)
mulsd  %xmm1,%xmm0
mulsd  0x178(%rsp),%xmm0
divsd  (%rsp),%xmm0
call   1030 <sin@plt>
movapd %xmm0,0x70(%rsp)
movsd  (%rbx),%xmm0
mulsd  0x60(%rsp),%xmm0
mulsd  0x168(%rsp),%xmm0
divsd  (%rsp),%xmm0
call   1040 <cos@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movapd 0x60(%rsp),%xmm1
xorpd  0xb3e(%rip),%xmm1
movapd 0xd0(%rsp),%xmm2
unpcklpd %xmm1,%xmm2
movsd  0x150(%rsp),%xmm1
movhpd 0x130(%rsp),%xmm1
mulpd  %xmm2,%xmm1
movapd 0xc0(%rsp),%xmm2
unpcklpd %xmm0,%xmm2
mulpd  %xmm1,%xmm2
movapd 0x10(%rsp),%xmm0
unpcklpd 0x70(%rsp),%xmm0
mulpd  0x80(%rsp),%xmm0
addpd  %xmm2,%xmm0
movapd %xmm0,0x10(%rsp)
movsd  (%rbx),%xmm0
movsd  0x108(%rsp),%xmm1
mulsd  %xmm1,%xmm0
mulsd  0x170(%rsp),%xmm0
divsd  (%rsp),%xmm0
call   1040 <cos@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  0x108(%rsp),%xmm1
movapd 0xaaf(%rip),%xmm2
xorpd  %xmm1,%xmm2
movapd 0x20(%rsp),%xmm3
unpcklpd %xmm2,%xmm3
movsd  0x148(%rsp),%xmm1
movapd 0x40(%rsp),%xmm2
unpcklpd %xmm1,%xmm2
mulpd  %xmm3,%xmm2
movapd 0x50(%rsp),%xmm1
unpcklpd %xmm0,%xmm1
mulpd  %xmm2,%xmm1
addpd  0x10(%rsp),%xmm1
mulpd  0x30(%rsp),%xmm1
movapd 0x90(%rsp),%xmm0
unpcklpd (%rsp),%xmm0
divpd  %xmm0,%xmm1
movapd %xmm1,0x50(%rsp)
movsd  (%rbx),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movaps %xmm0,0x30(%rsp)
movsd  0x108(%rsp),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movaps %xmm0,0x20(%rsp)
movsd  (%rbx),%xmm0
movsd  0x108(%rsp),%xmm1
mulsd  %xmm1,%xmm0
mulsd  0x170(%rsp),%xmm0
divsd  (%rsp),%xmm0
call   1030 <sin@plt>
movapd %xmm0,0x10(%rsp)
movaps (%rsp),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movaps %xmm0,0x60(%rsp)
movsd  (%rbx),%xmm0
movapd %xmm0,%xmm1
addsd  %xmm0,%xmm1
movapd 0xe0(%rsp),%xmm2
unpcklpd %xmm1,%xmm2
movsd  0x148(%rsp),%xmm1
movapd 0x20(%rsp),%xmm4
unpcklpd %xmm1,%xmm4
unpcklpd 0xb0(%rsp),%xmm1
mulpd  %xmm2,%xmm1
movapd %xmm1,%xmm2
movsd  0x108(%rsp),%xmm1
movapd 0x30(%rsp),%xmm3
unpcklpd %xmm1,%xmm3
mulpd  %xmm2,%xmm3
mulpd  %xmm4,%xmm3
movapd %xmm3,0x30(%rsp)
mulsd  %xmm1,%xmm0
mulsd  0x170(%rsp),%xmm0
divsd  (%rsp),%xmm0
call   1040 <cos@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movapd 0x10(%rsp),%xmm2
unpcklpd %xmm0,%xmm2
mulpd  0x30(%rsp),%xmm2
movapd 0x60(%rsp),%xmm0
unpcklpd (%rsp),%xmm0
divpd  %xmm0,%xmm2
movapd 0xa0(%rsp),%xmm1
movapd %xmm1,%xmm0
unpckhpd %xmm1,%xmm0
addsd  %xmm1,%xmm0
movapd 0x50(%rsp),%xmm1
addsd  %xmm1,%xmm0
unpckhpd %xmm1,%xmm1
subsd  %xmm1,%xmm0
addsd  %xmm2,%xmm0
unpckhpd %xmm2,%xmm2
subsd  %xmm2,%xmm0
add    $0xf0,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@M_PI = global double 0.000000e+00
define double @Q_v_viscous(double %0, double %1, double %2, double %3, double %4, double %5, double %6, double %7, double %8, double %9, double %10, double %11, double %12, double %13, double %14, double %15, double %16, double %17, double %18, double %19, double %20, double %21, double %22, double %23) {
%25 = alloca double
%26 = alloca double
%27 = alloca double
%28 = alloca double
%29 = alloca double
%30 = alloca double
%31 = alloca double
%32 = alloca double
%33 = alloca double
%34 = alloca double
%35 = alloca double
%36 = alloca double
%37 = alloca double
%38 = alloca double
%39 = alloca double
%40 = alloca double
%41 = alloca double
%42 = alloca double
%43 = alloca double
%44 = alloca double
%45 = alloca double
%46 = alloca double
%47 = alloca double
%48 = alloca double
store double %0, double* %25
store double %1, double* %26
store double %2, double* %27
store double %3, double* %28
store double %4, double* %29
store double %5, double* %30
store double %6, double* %31
store double %7, double* %32
store double %8, double* %33
store double %9, double* %34
store double %10, double* %35
store double %11, double* %36
store double %12, double* %37
store double %13, double* %38
store double %14, double* %39
store double %15, double* %40
store double %16, double* %41
store double %17, double* %42
store double %18, double* %43
store double %19, double* %44
store double %20, double* %45
store double %21, double* %46
store double %22, double* %47
store double %23, double* %48
%49 = load double, double* @M_PI
%50 = load double, double* %25
%51 = fmul double %49, %50
%52 = load double, double* %32
%53 = load double, double* %40
%54 = fmul double %52, %53
%55 = load double, double* @M_PI
%56 = load double, double* %32
%57 = fmul double %55, %56
%58 = load double, double* %47
%59 = fmul double %57, %58
%60 = load double, double* %28
%61 = fdiv double %59, %60
%62 = call double @sin(double %61)
%63 = load double, double* %33
%64 = load double, double* %41
%65 = fmul double %63, %64
%66 = load double, double* @M_PI
%67 = load double, double* %33
%68 = fmul double %66, %67
%69 = load double, double* %46
%70 = fmul double %68, %69
%71 = load double, double* %28
%72 = fdiv double %70, %71
%73 = call double @sin(double %72)
%74 = fmul double %65, %73
%75 = call double @llvm.fmuladd.f64(double %54, double %62, double %74)
%76 = fmul double %51, %75
%77 = load double, double* %28
%78 = fdiv double %76, %77
%79 = load double, double* @M_PI
%80 = load double, double* %27
%81 = fmul double %79, %80
%82 = load double, double* %35
%83 = fneg double %82
%84 = load double, double* %43
%85 = fmul double %83, %84
%86 = load double, double* @M_PI
%87 = load double, double* %35
%88 = fmul double %86, %87
%89 = load double, double* %48
%90 = fmul double %88, %89
%91 = load double, double* %28
%92 = fdiv double %90, %91
%93 = call i32 @cos(double %92)
%94 = sitofp i32 %93 to double
%95 = load double, double* %36
%96 = load double, double* %44
%97 = fmul double %95, %96
%98 = load double, double* @M_PI
%99 = load double, double* %36
%100 = fmul double %98, %99
%101 = load double, double* %47
%102 = fmul double %100, %101
%103 = load double, double* %28
%104 = fdiv double %102, %103
%105 = call i32 @cos(double %104)
%106 = sitofp i32 %105 to double
%107 = fmul double %97, %106
%108 = fneg double %107
%109 = call double @llvm.fmuladd.f64(double %85, double %94, double %108)
%110 = fmul double %81, %109
%111 = load double, double* %28
%112 = fdiv double %110, %111
%113 = fadd double %78, %112
%114 = load double, double* %30
%115 = load double, double* @M_PI
%116 = call double @pow(double %115, i32 2)
%117 = fmul double %114, %116
%118 = load double, double* %41
%119 = load double, double* %33
%120 = call double @pow(double %119, i32 2)
%121 = fmul double %118, %120
%122 = load double, double* @M_PI
%123 = load double, double* %33
%124 = fmul double %122, %123
%125 = load double, double* %46
%126 = fmul double %124, %125
%127 = load double, double* %28
%128 = fdiv double %126, %127
%129 = call i32 @cos(double %128)
%130 = sitofp i32 %129 to double
%131 = load double, double* %43
%132 = load double, double* %35
%133 = call double @pow(double %132, i32 2)
%134 = fmul double %131, %133
%135 = load double, double* @M_PI
%136 = load double, double* %35
%137 = fmul double %135, %136
%138 = load double, double* %48
%139 = fmul double %137, %138
%140 = load double, double* %28
%141 = fdiv double %139, %140
%142 = call double @sin(double %141)
%143 = fmul double %134, %142
%144 = call double @llvm.fmuladd.f64(double %121, double %130, double %143)
%145 = load double, double* %42
%146 = fmul double 2.000000e+00, %145
%147 = load double, double* %34
%148 = call double @pow(double %147, i32 2)
%149 = fmul double %146, %148
%150 = load double, double* @M_PI
%151 = load double, double* %34
%152 = fmul double %150, %151
%153 = load double, double* %47
%154 = fmul double %152, %153
%155 = load double, double* %28
%156 = fdiv double %154, %155
%157 = call double @sin(double %156)
%158 = call double @llvm.fmuladd.f64(double %149, double %157, double %144)
%159 = fmul double %117, %158
%160 = load double, double* %28
%161 = call double @pow(double %160, i32 2)
%162 = fdiv double %159, %161
%163 = fadd double %113, %162
%164 = load double, double* @M_PI
%165 = load double, double* %26
%166 = fmul double %164, %165
%167 = load double, double* %38
%168 = fsub double 0x3FE5555555555555, %167
%169 = fmul double %166, %168
%170 = load double, double* %37
%171 = load double, double* %45
%172 = fmul double %170, %171
%173 = load double, double* @M_PI
%174 = load double, double* %37
%175 = fmul double %173, %174
%176 = load double, double* %48
%177 = fmul double %175, %176
%178 = load double, double* %28
%179 = fdiv double %177, %178
%180 = call double @sin(double %179)
%181 = load double, double* %31
%182 = load double, double* %39
%183 = fmul double %181, %182
%184 = load double, double* @M_PI
%185 = load double, double* %31
%186 = fmul double %184, %185
%187 = load double, double* %46
%188 = fmul double %186, %187
%189 = load double, double* %28
%190 = fdiv double %188, %189
%191 = call i32 @cos(double %190)
%192 = sitofp i32 %191 to double
%193 = fmul double %183, %192
%194 = fneg double %193
%195 = call double @llvm.fmuladd.f64(double %172, double %180, double %194)
%196 = load double, double* %34
%197 = load double, double* %42
%198 = fmul double %196, %197
%199 = load double, double* @M_PI
%200 = load double, double* %34
%201 = fmul double %199, %200
%202 = load double, double* %47
%203 = fmul double %201, %202
%204 = load double, double* %28
%205 = fdiv double %203, %204
%206 = call i32 @cos(double %205)
%207 = sitofp i32 %206 to double
%208 = fneg double %198
%209 = call double @llvm.fmuladd.f64(double %208, double %207, double %195)
%210 = fmul double %169, %209
%211 = load double, double* %28
%212 = fdiv double %210, %211
%213 = fsub double %163, %212
%214 = load double, double* %29
%215 = load double, double* %42
%216 = fmul double %214, %215
%217 = load double, double* @M_PI
%218 = call double @pow(double %217, i32 2)
%219 = fmul double %216, %218
%220 = load double, double* %34
%221 = call double @pow(double %220, i32 2)
%222 = fmul double %219, %221
%223 = load double, double* @M_PI
%224 = load double, double* %34
%225 = fmul double %223, %224
%226 = load double, double* %47
%227 = fmul double %225, %226
%228 = load double, double* %28
%229 = fdiv double %227, %228
%230 = call double @sin(double %229)
%231 = fmul double %222, %230
%232 = load double, double* %28
%233 = call double @pow(double %232, i32 2)
%234 = fdiv double %231, %233
%235 = fadd double %213, %234
%236 = load double, double* @M_PI
%237 = fmul double 2.000000e+00, %236
%238 = load double, double* %26
%239 = fmul double %237, %238
%240 = load double, double* %34
%241 = fmul double %239, %240
%242 = load double, double* %42
%243 = fmul double %241, %242
%244 = load double, double* @M_PI
%245 = load double, double* %34
%246 = fmul double %244, %245
%247 = load double, double* %47
%248 = fmul double %246, %247
%249 = load double, double* %28
%250 = fdiv double %248, %249
%251 = call i32 @cos(double %250)
%252 = sitofp i32 %251 to double
%253 = fmul double %243, %252
%254 = load double, double* %28
%255 = fdiv double %253, %254
%256 = fsub double %235, %255
ret double %256
}

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