#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;
double cos(double);
double pow(double, int);
int sin(double);
double Q_v_viscous(double DMu_Dx, double DMu_Dy, double DMu_Dz, double L,
                   double Mu, double a_ux, double a_uy, double a_vx,
                   double a_vy, double a_vz, double a_wy, double a_wz,
                   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_Dy *
             (-4 * a_vy * v_y * cos(M_PI * a_vy * y / L) / 3 -
              2 * a_wz * w_z * sin(M_PI * a_wz * z / L) / 3 +
              2 * a_ux * u_x * cos(M_PI * a_ux * x / L) / 3) /
             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) +
              4 * v_y * pow(a_vy, 2) * sin(M_PI * a_vy * y / L) / 3) /
             pow(L, 2);
}


x86 assembly (clang, -O0):
<Q_v_viscous>:
push   %rbp
mov    %rsp,%rbp
sub    $0x120,%rsp
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    0x2e2a(%rip),%rax
movsd  (%rax),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x108(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
mulsd  0x38(%rbp),%xmm0
movsd  %xmm0,-0x118(%rbp)
ff
mov    0x2e00(%rip),%rax
movsd  (%rax),%xmm0
mulsd  -0x38(%rbp),%xmm0
mulsd  0x70(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
call   1030 <sin@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x110(%rbp)
ff
movsd  -0x40(%rbp),%xmm0
mulsd  0x40(%rbp),%xmm0
movsd  %xmm0,-0x120(%rbp)
ff
mov    0x2dc3(%rip),%rax
movsd  (%rax),%xmm0
mulsd  -0x40(%rbp),%xmm0
mulsd  0x68(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
call   1030 <sin@plt>
movsd  -0x120(%rbp),%xmm2
ff
movsd  -0x118(%rbp),%xmm1
ff
movsd  -0x110(%rbp),%xmm3
ff
movsd  -0x108(%rbp),%xmm0
ff
cvtsi2sd %eax,%xmm4
mulsd  %xmm4,%xmm2
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
divsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
mov    0x2d63(%rip),%rax
movsd  (%rax),%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  0xd7a(%rip),%xmm0
mulsd  0x10(%rbp),%xmm0
mulsd  0x48(%rbp),%xmm0
movsd  %xmm0,-0x100(%rbp)
ff
mov    0x2d31(%rip),%rax
movsd  (%rax),%xmm0
mulsd  0x10(%rbp),%xmm0
mulsd  0x70(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
call   1040 <cos@plt>
movaps %xmm0,%xmm1
movsd  -0x100(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  0xd1a(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xf0(%rbp)
ff
movsd  0xd16(%rip),%xmm0
mulsd  0x28(%rbp),%xmm0
mulsd  0x60(%rbp),%xmm0
movsd  %xmm0,-0xf8(%rbp)
ff
mov    0x2cd5(%rip),%rax
movsd  (%rax),%xmm0
mulsd  0x28(%rbp),%xmm0
mulsd  0x78(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
call   1030 <sin@plt>
movsd  -0xf8(%rbp),%xmm1
ff
movsd  -0xf0(%rbp),%xmm0
ff
cvtsi2sd %eax,%xmm2
mulsd  %xmm2,%xmm1
movsd  0xcb5(%rip),%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0xe0(%rbp)
ff
movsd  0xcad(%rip),%xmm0
mulsd  -0x30(%rbp),%xmm0
mulsd  0x30(%rbp),%xmm0
movsd  %xmm0,-0xe8(%rbp)
ff
mov    0x2c6c(%rip),%rax
movsd  (%rax),%xmm0
mulsd  -0x30(%rbp),%xmm0
mulsd  0x68(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
call   1040 <cos@plt>
movsd  -0xe8(%rbp),%xmm3
ff
movsd  -0xe0(%rbp),%xmm2
ff
movsd  -0xd8(%rbp),%xmm1
ff
movaps %xmm0,%xmm4
movsd  -0xd0(%rbp),%xmm0
ff
mulsd  %xmm4,%xmm3
movsd  0xc3d(%rip),%xmm4
divsd  %xmm4,%xmm3
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm1
divsd  -0x20(%rbp),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
mov    0x2c01(%rip),%rax
movsd  (%rax),%xmm0
mulsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  0x18(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  0x50(%rbp),%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
mov    0x2bc0(%rip),%rax
movsd  (%rax),%xmm0
mulsd  0x18(%rbp),%xmm0
mulsd  0x78(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
call   1040 <cos@plt>
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  0x20(%rbp),%xmm0
mulsd  0x58(%rbp),%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
mov    0x2b87(%rip),%rax
movsd  (%rax),%xmm0
mulsd  0x20(%rbp),%xmm0
mulsd  0x70(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
call   1040 <cos@plt>
movsd  -0xc8(%rbp),%xmm3
ff
movsd  -0xc0(%rbp),%xmm2
ff
movsd  -0xb8(%rbp),%xmm4
ff
movsd  -0xb0(%rbp),%xmm1
ff
movaps %xmm0,%xmm5
movsd  -0xa8(%rbp),%xmm0
ff
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,-0x48(%rbp)
movsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
mov    0x2afb(%rip),%rax
movsd  (%rax),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0xa0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  0x40(%rbp),%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x40(%rbp),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x98(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    0x2aa2(%rip),%rax
movsd  (%rax),%xmm0
mulsd  -0x40(%rbp),%xmm0
mulsd  0x68(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
call   1040 <cos@plt>
movsd  %xmm0,-0x78(%rbp)
movsd  0x50(%rbp),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  0x18(%rbp),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x90(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    0x2a4b(%rip),%rax
movsd  (%rax),%xmm0
mulsd  0x18(%rbp),%xmm0
mulsd  0x78(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
call   1030 <sin@plt>
movsd  -0x88(%rbp),%xmm1
ff
movsd  -0x80(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
cvtsi2sd %eax,%xmm3
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  0xa24(%rip),%xmm0
mulsd  0x48(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  0x10(%rbp),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x70(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    0x29d3(%rip),%rax
movsd  (%rax),%xmm0
mulsd  0x10(%rbp),%xmm0
mulsd  0x70(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
call   1030 <sin@plt>
movsd  -0x68(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm1
movsd  -0x58(%rbp),%xmm0
cvtsi2sd %eax,%xmm3
mulsd  %xmm3,%xmm2
movsd  0x9b4(%rip),%xmm3
divsd  %xmm3,%xmm2
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x20(%rbp),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movsd  -0x50(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x48(%rbp),%xmm0
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
add    $0x120,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Q_v_viscous>:
push   %rbx
sub    $0xb0,%rsp
movsd  %xmm7,0x8(%rsp)
movaps %xmm5,0x60(%rsp)
movaps %xmm4,0x90(%rsp)
movapd %xmm3,0x10(%rsp)
movaps %xmm2,0xa0(%rsp)
movaps %xmm1,0x50(%rsp)
movaps %xmm0,0x20(%rsp)
movsd  0xf8(%rsp),%xmm0
movaps %xmm0,0x70(%rsp)
mov    0x2e70(%rip),%rbx
movsd  (%rbx),%xmm0
movapd %xmm0,0x40(%rsp)
movsd  0xe8(%rsp),%xmm1
mulsd  %xmm6,%xmm1
movsd  %xmm1,0x30(%rsp)
mulsd  %xmm0,%xmm6
mulsd  0x120(%rsp),%xmm6
divsd  %xmm3,%xmm6
movapd %xmm6,%xmm0
call   1030 <sin@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0x30(%rsp),%xmm0
movsd  %xmm0,0x30(%rsp)
movsd  0x8(%rsp),%xmm1
movapd %xmm1,%xmm0
mulsd  0xf0(%rsp),%xmm0
movsd  %xmm0,0x80(%rsp)
movsd  (%rbx),%xmm0
mulsd  %xmm1,%xmm0
mulsd  0x118(%rsp),%xmm0
divsd  0x10(%rsp),%xmm0
call   1030 <sin@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0x80(%rsp),%xmm0
addsd  0x30(%rsp),%xmm0
movapd %xmm0,0x30(%rsp)
movsd  (%rbx),%xmm0
movapd 0x40(%rsp),%xmm2
unpcklpd %xmm0,%xmm2
movapd 0x20(%rsp),%xmm1
unpcklpd 0x50(%rsp),%xmm1
mulpd  %xmm2,%xmm1
movapd %xmm1,0x20(%rsp)
movsd  0xc0(%rsp),%xmm1
mulsd  %xmm1,%xmm0
mulsd  0x120(%rsp),%xmm0
divsd  0x10(%rsp),%xmm0
call   1040 <cos@plt>
movapd %xmm0,0x50(%rsp)
movsd  0xd8(%rsp),%xmm0
movapd %xmm0,%xmm1
addsd  %xmm0,%xmm1
mulsd  0x110(%rsp),%xmm1
movsd  %xmm1,0x40(%rsp)
mulsd  (%rbx),%xmm0
mulsd  0x128(%rsp),%xmm0
divsd  0x10(%rsp),%xmm0
call   1030 <sin@plt>
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
mulsd  0x40(%rsp),%xmm1
movsd  0xc0(%rsp),%xmm0
movapd 0x60(%rsp),%xmm2
unpcklpd %xmm2,%xmm0
mulpd  0xd4f(%rip),%xmm0
divsd  0xd37(%rip),%xmm1
movsd  %xmm1,0x40(%rsp)
movsd  0xf8(%rsp),%xmm1
movhpd 0xe0(%rsp),%xmm1
mulpd  %xmm0,%xmm1
movapd %xmm1,0x80(%rsp)
movapd %xmm2,%xmm0
mulsd  (%rbx),%xmm0
mulsd  0x118(%rsp),%xmm0
divsd  0x10(%rsp),%xmm0
call   1040 <cos@plt>
movapd 0x50(%rsp),%xmm1
unpcklpd %xmm0,%xmm1
mulpd  0x80(%rsp),%xmm1
divpd  0xcfb(%rip),%xmm1
movapd %xmm1,%xmm0
subsd  0x40(%rsp),%xmm0
unpckhpd %xmm1,%xmm1
addsd  %xmm0,%xmm1
movapd 0x30(%rsp),%xmm2
unpcklpd %xmm1,%xmm2
mulpd  0x20(%rsp),%xmm2
movapd 0x10(%rsp),%xmm1
movapd %xmm1,%xmm0
unpcklpd %xmm1,%xmm0
divpd  %xmm0,%xmm2
movapd %xmm2,0x30(%rsp)
movsd  (%rbx),%xmm0
movapd %xmm0,0x60(%rsp)
movapd 0xcbf(%rip),%xmm3
movsd  0xc8(%rsp),%xmm2
xorpd  %xmm2,%xmm3
mulsd  0x100(%rsp),%xmm3
movapd %xmm3,0x50(%rsp)
mulsd  %xmm2,%xmm0
mulsd  0x128(%rsp),%xmm0
divsd  %xmm1,%xmm0
call   1040 <cos@plt>
movapd %xmm0,0x20(%rsp)
movsd  (%rbx),%xmm0
mulsd  0xd0(%rsp),%xmm0
mulsd  0x120(%rsp),%xmm0
divsd  0x10(%rsp),%xmm0
call   1040 <cos@plt>
movsd  0xd0(%rsp),%xmm1
mulsd  0x108(%rsp),%xmm1
mulsd  %xmm0,%xmm1
movapd 0x20(%rsp),%xmm0
mulsd  0x50(%rsp),%xmm0
subsd  %xmm1,%xmm0
movapd %xmm0,0x20(%rsp)
movsd  (%rbx),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movapd 0x60(%rsp),%xmm1
unpcklpd %xmm0,%xmm1
movapd 0xa0(%rsp),%xmm0
unpcklpd 0x90(%rsp),%xmm0
mulpd  %xmm1,%xmm0
movapd %xmm0,0xa0(%rsp)
movsd  0x8(%rsp),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
mulsd  0xf0(%rsp),%xmm0
movsd  %xmm0,0x90(%rsp)
movsd  0x8(%rsp),%xmm0
mulsd  (%rbx),%xmm0
mulsd  0x118(%rsp),%xmm0
divsd  0x10(%rsp),%xmm0
call   1040 <cos@plt>
movsd  %xmm0,0x8(%rsp)
movsd  0xc8(%rsp),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
mulsd  0x100(%rsp),%xmm0
movsd  %xmm0,0x60(%rsp)
movsd  0xc8(%rsp),%xmm0
mulsd  (%rbx),%xmm0
mulsd  0x128(%rsp),%xmm0
divsd  0x10(%rsp),%xmm0
call   1030 <sin@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0x60(%rsp),%xmm0
movsd  0x8(%rsp),%xmm1
mulsd  0x90(%rsp),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,0x8(%rsp)
movapd 0x70(%rsp),%xmm0
mulsd  0xb1e(%rip),%xmm0
movapd %xmm0,0x70(%rsp)
movsd  0xc0(%rsp),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
mulsd  0x70(%rsp),%xmm0
movsd  %xmm0,0x70(%rsp)
movsd  0xc0(%rsp),%xmm0
mulsd  (%rbx),%xmm0
mulsd  0x120(%rsp),%xmm0
divsd  0x10(%rsp),%xmm0
call   1030 <sin@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0x70(%rsp),%xmm0
divsd  0xabb(%rip),%xmm0
addsd  0x8(%rsp),%xmm0
movapd 0x20(%rsp),%xmm1
unpcklpd %xmm0,%xmm1
mulpd  0xa0(%rsp),%xmm1
movapd %xmm1,0x20(%rsp)
movapd 0x10(%rsp),%xmm0
mov    $0x2,%edi
call   1050 <pow@plt>
movapd 0x10(%rsp),%xmm1
unpcklpd %xmm0,%xmm1
movapd 0x20(%rsp),%xmm0
divpd  %xmm1,%xmm0
movapd 0x30(%rsp),%xmm1
movapd %xmm1,%xmm2
unpckhpd %xmm1,%xmm2
addsd  %xmm1,%xmm2
addsd  %xmm0,%xmm2
unpckhpd %xmm0,%xmm0
addsd  %xmm2,%xmm0
add    $0xb0,%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) {
%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
%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
store double %0, double* %23
store double %1, double* %24
store double %2, double* %25
store double %3, double* %26
store double %4, double* %27
store double %5, double* %28
store double %6, double* %29
store double %7, double* %30
store double %8, double* %31
store double %9, double* %32
store double %10, double* %33
store double %11, double* %34
store double %12, double* %35
store double %13, double* %36
store double %14, double* %37
store double %15, double* %38
store double %16, double* %39
store double %17, double* %40
store double %18, double* %41
store double %19, double* %42
store double %20, double* %43
store double %21, double* %44
%45 = load double, double* @M_PI
%46 = load double, double* %23
%47 = fmul double %45, %46
%48 = load double, double* %29
%49 = load double, double* %36
%50 = fmul double %48, %49
%51 = load double, double* @M_PI
%52 = load double, double* %29
%53 = fmul double %51, %52
%54 = load double, double* %43
%55 = fmul double %53, %54
%56 = load double, double* %26
%57 = fdiv double %55, %56
%58 = call i32 @sin(double %57)
%59 = sitofp i32 %58 to double
%60 = load double, double* %30
%61 = load double, double* %37
%62 = fmul double %60, %61
%63 = load double, double* @M_PI
%64 = load double, double* %30
%65 = fmul double %63, %64
%66 = load double, double* %42
%67 = fmul double %65, %66
%68 = load double, double* %26
%69 = fdiv double %67, %68
%70 = call i32 @sin(double %69)
%71 = sitofp i32 %70 to double
%72 = fmul double %62, %71
%73 = call double @llvm.fmuladd.f64(double %50, double %59, double %72)
%74 = fmul double %47, %73
%75 = load double, double* %26
%76 = fdiv double %74, %75
%77 = load double, double* @M_PI
%78 = load double, double* %24
%79 = fmul double %77, %78
%80 = load double, double* %31
%81 = fmul double -4.000000e+00, %80
%82 = load double, double* %38
%83 = fmul double %81, %82
%84 = load double, double* @M_PI
%85 = load double, double* %31
%86 = fmul double %84, %85
%87 = load double, double* %43
%88 = fmul double %86, %87
%89 = load double, double* %26
%90 = fdiv double %88, %89
%91 = call double @cos(double %90)
%92 = fmul double %83, %91
%93 = fdiv double %92, 3.000000e+00
%94 = load double, double* %34
%95 = fmul double 2.000000e+00, %94
%96 = load double, double* %41
%97 = fmul double %95, %96
%98 = load double, double* @M_PI
%99 = load double, double* %34
%100 = fmul double %98, %99
%101 = load double, double* %44
%102 = fmul double %100, %101
%103 = load double, double* %26
%104 = fdiv double %102, %103
%105 = call i32 @sin(double %104)
%106 = sitofp i32 %105 to double
%107 = fmul double %97, %106
%108 = fdiv double %107, 3.000000e+00
%109 = fsub double %93, %108
%110 = load double, double* %28
%111 = fmul double 2.000000e+00, %110
%112 = load double, double* %35
%113 = fmul double %111, %112
%114 = load double, double* @M_PI
%115 = load double, double* %28
%116 = fmul double %114, %115
%117 = load double, double* %42
%118 = fmul double %116, %117
%119 = load double, double* %26
%120 = fdiv double %118, %119
%121 = call double @cos(double %120)
%122 = fmul double %113, %121
%123 = fdiv double %122, 3.000000e+00
%124 = fadd double %109, %123
%125 = fmul double %79, %124
%126 = load double, double* %26
%127 = fdiv double %125, %126
%128 = fadd double %76, %127
%129 = load double, double* @M_PI
%130 = load double, double* %25
%131 = fmul double %129, %130
%132 = load double, double* %32
%133 = fneg double %132
%134 = load double, double* %39
%135 = fmul double %133, %134
%136 = load double, double* @M_PI
%137 = load double, double* %32
%138 = fmul double %136, %137
%139 = load double, double* %44
%140 = fmul double %138, %139
%141 = load double, double* %26
%142 = fdiv double %140, %141
%143 = call double @cos(double %142)
%144 = load double, double* %33
%145 = load double, double* %40
%146 = fmul double %144, %145
%147 = load double, double* @M_PI
%148 = load double, double* %33
%149 = fmul double %147, %148
%150 = load double, double* %43
%151 = fmul double %149, %150
%152 = load double, double* %26
%153 = fdiv double %151, %152
%154 = call double @cos(double %153)
%155 = fmul double %146, %154
%156 = fneg double %155
%157 = call double @llvm.fmuladd.f64(double %135, double %143, double %156)
%158 = fmul double %131, %157
%159 = load double, double* %26
%160 = fdiv double %158, %159
%161 = fadd double %128, %160
%162 = load double, double* %27
%163 = load double, double* @M_PI
%164 = call double @pow(double %163, i32 2)
%165 = fmul double %162, %164
%166 = load double, double* %37
%167 = load double, double* %30
%168 = call double @pow(double %167, i32 2)
%169 = fmul double %166, %168
%170 = load double, double* @M_PI
%171 = load double, double* %30
%172 = fmul double %170, %171
%173 = load double, double* %42
%174 = fmul double %172, %173
%175 = load double, double* %26
%176 = fdiv double %174, %175
%177 = call double @cos(double %176)
%178 = load double, double* %39
%179 = load double, double* %32
%180 = call double @pow(double %179, i32 2)
%181 = fmul double %178, %180
%182 = load double, double* @M_PI
%183 = load double, double* %32
%184 = fmul double %182, %183
%185 = load double, double* %44
%186 = fmul double %184, %185
%187 = load double, double* %26
%188 = fdiv double %186, %187
%189 = call i32 @sin(double %188)
%190 = sitofp i32 %189 to double
%191 = fmul double %181, %190
%192 = call double @llvm.fmuladd.f64(double %169, double %177, double %191)
%193 = load double, double* %38
%194 = fmul double 4.000000e+00, %193
%195 = load double, double* %31
%196 = call double @pow(double %195, i32 2)
%197 = fmul double %194, %196
%198 = load double, double* @M_PI
%199 = load double, double* %31
%200 = fmul double %198, %199
%201 = load double, double* %43
%202 = fmul double %200, %201
%203 = load double, double* %26
%204 = fdiv double %202, %203
%205 = call i32 @sin(double %204)
%206 = sitofp i32 %205 to double
%207 = fmul double %197, %206
%208 = fdiv double %207, 3.000000e+00
%209 = fadd double %192, %208
%210 = fmul double %165, %209
%211 = load double, double* %26
%212 = call double @pow(double %211, i32 2)
%213 = fdiv double %210, %212
%214 = fadd double %161, %213
ret double %214
}

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) {
%23 = load double, double* @M_PI
%24 = fmul double %6, %13
%25 = fmul double %23, %6
%26 = fmul double %25, %20
%27 = fdiv double %26, %3
%28 = tail call i32 @sin(double %27)
%29 = sitofp i32 %28 to double
%30 = fmul double %7, %14
%31 = load double, double* @M_PI
%32 = fmul double %31, %7
%33 = fmul double %32, %19
%34 = fdiv double %33, %3
%35 = tail call i32 @sin(double %34)
%36 = sitofp i32 %35 to double
%37 = fmul double %30, %36
%38 = tail call double @llvm.fmuladd.f64(double %24, double %29, double %37)
%39 = load double, double* @M_PI
%40 = insertelement <2 x double> poison, double %23, i64 0
%41 = insertelement <2 x double> %40, double %39, i64 1
%42 = insertelement <2 x double> poison, double %0, i64 0
%43 = insertelement <2 x double> %42, double %1, i64 1
%44 = fmul <2 x double> %41, %43
%45 = fmul double %39, %8
%46 = fmul double %45, %20
%47 = fdiv double %46, %3
%48 = tail call double @cos(double %47)
%49 = fmul double %11, 2.000000e+00
%50 = fmul double %49, %18
%51 = load double, double* @M_PI
%52 = fmul double %51, %11
%53 = fmul double %52, %21
%54 = fdiv double %53, %3
%55 = tail call i32 @sin(double %54)
%56 = sitofp i32 %55 to double
%57 = fmul double %50, %56
%58 = fdiv double %57, 3.000000e+00
%59 = insertelement <2 x double> poison, double %8, i64 0
%60 = insertelement <2 x double> %59, double %5, i64 1
%61 = fmul <2 x double> %60, <double -4.000000e+00, double 2.000000e+00>
%62 = insertelement <2 x double> poison, double %15, i64 0
%63 = insertelement <2 x double> %62, double %12, i64 1
%64 = fmul <2 x double> %61, %63
%65 = load double, double* @M_PI
%66 = fmul double %65, %5
%67 = fmul double %66, %19
%68 = fdiv double %67, %3
%69 = tail call double @cos(double %68)
%70 = insertelement <2 x double> poison, double %48, i64 0
%71 = insertelement <2 x double> %70, double %69, i64 1
%72 = fmul <2 x double> %64, %71
%73 = fdiv <2 x double> %72, <double 3.000000e+00, double 3.000000e+00>
%74 = extractelement <2 x double> %73, i64 0
%75 = fsub double %74, %58
%76 = extractelement <2 x double> %73, i64 1
%77 = fadd double %75, %76
%78 = insertelement <2 x double> poison, double %38, i64 0
%79 = insertelement <2 x double> %78, double %77, i64 1
%80 = fmul <2 x double> %44, %79
%81 = insertelement <2 x double> poison, double %3, i64 0
%82 = shufflevector <2 x double> %81, <2 x double> poison, <2 x i32> zeroinitializer
%83 = fdiv <2 x double> %80, %82
%84 = shufflevector <2 x double> %83, <2 x double> poison, <2 x i32> <i32 1, i32 undef>
%85 = fadd <2 x double> %83, %84
%86 = load double, double* @M_PI
%87 = fneg double %9
%88 = fmul double %87, %16
%89 = fmul double %86, %9
%90 = fmul double %89, %21
%91 = fdiv double %90, %3
%92 = tail call double @cos(double %91)
%93 = load double, double* @M_PI
%94 = fmul double %93, %10
%95 = fmul double %94, %20
%96 = fdiv double %95, %3
%97 = tail call double @cos(double %96)
%98 = fneg double %10
%99 = fmul double %98, %17
%100 = fmul double %99, %97
%101 = tail call double @llvm.fmuladd.f64(double %88, double %92, double %100)
%102 = load double, double* @M_PI
%103 = tail call double @pow(double %102, i32 2)
%104 = insertelement <2 x double> poison, double %86, i64 0
%105 = insertelement <2 x double> %104, double %103, i64 1
%106 = insertelement <2 x double> poison, double %2, i64 0
%107 = insertelement <2 x double> %106, double %4, i64 1
%108 = fmul <2 x double> %105, %107
%109 = tail call double @pow(double %7, i32 2)
%110 = fmul double %109, %14
%111 = load double, double* @M_PI
%112 = fmul double %111, %7
%113 = fmul double %112, %19
%114 = fdiv double %113, %3
%115 = tail call double @cos(double %114)
%116 = tail call double @pow(double %9, i32 2)
%117 = fmul double %116, %16
%118 = load double, double* @M_PI
%119 = fmul double %118, %9
%120 = fmul double %119, %21
%121 = fdiv double %120, %3
%122 = tail call i32 @sin(double %121)
%123 = sitofp i32 %122 to double
%124 = fmul double %117, %123
%125 = tail call double @llvm.fmuladd.f64(double %110, double %115, double %124)
%126 = fmul double %15, 4.000000e+00
%127 = tail call double @pow(double %8, i32 2)
%128 = fmul double %126, %127
%129 = load double, double* @M_PI
%130 = fmul double %129, %8
%131 = fmul double %130, %20
%132 = fdiv double %131, %3
%133 = tail call i32 @sin(double %132)
%134 = sitofp i32 %133 to double
%135 = fmul double %128, %134
%136 = fdiv double %135, 3.000000e+00
%137 = fadd double %125, %136
%138 = insertelement <2 x double> poison, double %101, i64 0
%139 = insertelement <2 x double> %138, double %137, i64 1
%140 = fmul <2 x double> %108, %139
%141 = tail call double @pow(double %3, i32 2)
%142 = insertelement <2 x double> %81, double %141, i64 1
%143 = fdiv <2 x double> %140, %142
%144 = fadd <2 x double> %85, %143
%145 = shufflevector <2 x double> %143, <2 x double> poison, <2 x i32> <i32 1, i32 undef>
%146 = fadd <2 x double> %144, %145
%147 = extractelement <2 x double> %146, i64 0
ret double %147
}