#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 sin(double);
double Q_et_time(double E_t, double Lt, double P, double Rho, double U,
                 double V, double W, double a_pt, double a_rhot, double a_ut,
                 double a_vt, double a_wt, double gamma, double p_t,
                 double rho_t, double t, double u_t, double v_t, double w_t) {
  return M_PI * Rho *
             (V * a_vt * v_t * cos(M_PI * a_vt * t / Lt) -
              U * a_ut * u_t * sin(M_PI * a_ut * t / Lt) -
              W * a_wt * w_t * sin(M_PI * a_wt * t / Lt)) /
             Lt +
         M_PI * E_t * a_rhot * rho_t * cos(M_PI * a_rhot * t / Lt) / Lt +
         M_PI * a_pt * p_t * sin(M_PI * a_pt * t / Lt) / (Lt * (1 - gamma)) +
         M_PI * P * a_rhot * rho_t * cos(M_PI * a_rhot * t / Lt) /
             (Lt * Rho * (1 - gamma));
}


x86 assembly (clang, -O0):
<Q_et_time>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
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    0x2e4c(%rip),%rax
movsd  (%rax),%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x30(%rbp),%xmm0
mulsd  0x20(%rbp),%xmm0
mulsd  0x58(%rbp),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
mov    0x2e20(%rip),%rax
movsd  (%rax),%xmm0
mulsd  0x20(%rbp),%xmm0
mulsd  0x48(%rbp),%xmm0
divsd  -0x10(%rbp),%xmm0
call   1040 <cos@plt>
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x28(%rbp),%xmm0
mulsd  0x18(%rbp),%xmm0
mulsd  0x50(%rbp),%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
mov    0x2de2(%rip),%rax
movsd  (%rax),%xmm0
mulsd  0x18(%rbp),%xmm0
mulsd  0x48(%rbp),%xmm0
divsd  -0x10(%rbp),%xmm0
call   1030 <sin@plt>
movsd  -0xa0(%rbp),%xmm1
ff
movsd  -0x98(%rbp),%xmm2
ff
movaps %xmm0,%xmm3
movsd  -0x90(%rbp),%xmm0
ff
mulsd  %xmm3,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x38(%rbp),%xmm0
mulsd  0x28(%rbp),%xmm0
mulsd  0x60(%rbp),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    0x2d69(%rip),%rax
movsd  (%rax),%xmm0
mulsd  0x28(%rbp),%xmm0
mulsd  0x48(%rbp),%xmm0
divsd  -0x10(%rbp),%xmm0
call   1030 <sin@plt>
movsd  -0x88(%rbp),%xmm1
ff
movsd  -0x80(%rbp),%xmm2
movaps %xmm0,%xmm3
movsd  -0x78(%rbp),%xmm0
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
divsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    0x2d08(%rip),%rax
movsd  (%rax),%xmm0
mulsd  -0x8(%rbp),%xmm0
mulsd  0x10(%rbp),%xmm0
mulsd  0x40(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    0x2ce9(%rip),%rax
movsd  (%rax),%xmm0
mulsd  0x10(%rbp),%xmm0
mulsd  0x48(%rbp),%xmm0
divsd  -0x10(%rbp),%xmm0
call   1040 <cos@plt>
movsd  -0x70(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x68(%rbp),%xmm0
mulsd  %xmm2,%xmm1
divsd  -0x10(%rbp),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    0x2cab(%rip),%rax
movsd  (%rax),%xmm0
mulsd  -0x40(%rbp),%xmm0
mulsd  0x38(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    0x2c91(%rip),%rax
movsd  (%rax),%xmm0
mulsd  -0x40(%rbp),%xmm0
mulsd  0x48(%rbp),%xmm0
divsd  -0x10(%rbp),%xmm0
call   1030 <sin@plt>
movsd  -0x60(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x58(%rbp),%xmm0
mulsd  %xmm2,%xmm1
movsd  -0x10(%rbp),%xmm2
movsd  0xc73(%rip),%xmm3
subsd  0x30(%rbp),%xmm3
mulsd  %xmm3,%xmm2
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    0x2c3e(%rip),%rax
movsd  (%rax),%xmm0
mulsd  -0x18(%rbp),%xmm0
mulsd  0x10(%rbp),%xmm0
mulsd  0x40(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    0x2c1f(%rip),%rax
movsd  (%rax),%xmm0
mulsd  0x10(%rbp),%xmm0
mulsd  0x48(%rbp),%xmm0
divsd  -0x10(%rbp),%xmm0
call   1040 <cos@plt>
movsd  -0x50(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x48(%rbp),%xmm0
mulsd  %xmm2,%xmm1
movsd  -0x10(%rbp),%xmm2
mulsd  -0x20(%rbp),%xmm2
movsd  0xbfc(%rip),%xmm3
subsd  0x30(%rbp),%xmm3
mulsd  %xmm3,%xmm2
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Q_et_time>:
push   %rbx
sub    $0x90,%rsp
movaps %xmm7,0x30(%rsp)
movsd  %xmm6,0x40(%rsp)
movsd  %xmm4,0x58(%rsp)
movaps %xmm3,0x60(%rsp)
movaps %xmm2,0x80(%rsp)
movapd %xmm1,0x10(%rsp)
movaps %xmm0,0x20(%rsp)
movsd  0xb0(%rsp),%xmm0
mov    0x2e87(%rip),%rbx
mulsd  %xmm0,%xmm5
mulsd  0xe8(%rsp),%xmm5
movsd  %xmm5,0x50(%rsp)
movsd  (%rbx),%xmm2
movapd %xmm2,0x70(%rsp)
mulsd  %xmm2,%xmm0
mulsd  0xd8(%rsp),%xmm0
divsd  %xmm1,%xmm0
call   1040 <cos@plt>
movapd %xmm0,(%rsp)
movsd  (%rbx),%xmm0
mulsd  0xa8(%rsp),%xmm0
mulsd  0xd8(%rsp),%xmm0
divsd  0x10(%rsp),%xmm0
call   1030 <sin@plt>
movsd  0x58(%rsp),%xmm1
mulsd  0xa8(%rsp),%xmm1
mulsd  0xe0(%rsp),%xmm1
mulsd  %xmm0,%xmm1
movapd (%rsp),%xmm0
mulsd  0x50(%rsp),%xmm0
subsd  %xmm1,%xmm0
movapd %xmm0,(%rsp)
movsd  (%rbx),%xmm0
mulsd  0xb8(%rsp),%xmm0
mulsd  0xd8(%rsp),%xmm0
divsd  0x10(%rsp),%xmm0
call   1030 <sin@plt>
movsd  0x40(%rsp),%xmm1
mulsd  0xb8(%rsp),%xmm1
mulsd  0xf0(%rsp),%xmm1
mulsd  %xmm0,%xmm1
movapd (%rsp),%xmm0
subsd  %xmm1,%xmm0
movapd %xmm0,(%rsp)
movsd  (%rbx),%xmm0
movapd 0x20(%rsp),%xmm2
mulsd  %xmm0,%xmm2
movsd  0xa0(%rsp),%xmm1
mulsd  %xmm1,%xmm2
movapd 0x70(%rsp),%xmm3
unpcklpd %xmm2,%xmm3
movapd 0x60(%rsp),%xmm2
movhpd 0xd0(%rsp),%xmm2
mulpd  %xmm3,%xmm2
movapd %xmm2,0x20(%rsp)
mulsd  %xmm1,%xmm0
mulsd  0xd8(%rsp),%xmm0
divsd  0x10(%rsp),%xmm0
call   1040 <cos@plt>
movapd (%rsp),%xmm2
unpcklpd %xmm0,%xmm2
mulpd  0x20(%rsp),%xmm2
movapd 0x10(%rsp),%xmm1
movapd %xmm1,%xmm0
unpcklpd %xmm1,%xmm0
divpd  %xmm0,%xmm2
movapd %xmm2,(%rsp)
movapd 0x30(%rsp),%xmm0
mulsd  (%rbx),%xmm0
movapd %xmm0,0x30(%rsp)
mulsd  0xd8(%rsp),%xmm0
divsd  %xmm1,%xmm0
call   1030 <sin@plt>
movapd %xmm0,0x40(%rsp)
movsd  0xd1f(%rip),%xmm0
subsd  0xc0(%rsp),%xmm0
movapd %xmm0,0x20(%rsp)
movsd  (%rbx),%xmm0
movapd 0x80(%rsp),%xmm1
mulsd  %xmm0,%xmm1
movsd  0xa0(%rsp),%xmm2
mulsd  %xmm2,%xmm1
movapd 0x30(%rsp),%xmm3
unpcklpd %xmm1,%xmm3
movupd 0xc8(%rsp),%xmm1
mulpd  %xmm3,%xmm1
movapd %xmm1,0x30(%rsp)
mulsd  %xmm2,%xmm0
mulsd  0xd8(%rsp),%xmm0
divsd  0x10(%rsp),%xmm0
call   1040 <cos@plt>
movapd 0x40(%rsp),%xmm2
unpcklpd %xmm0,%xmm2
mulpd  0x30(%rsp),%xmm2
movapd 0x10(%rsp),%xmm0
movapd 0x60(%rsp),%xmm1
mulsd  %xmm0,%xmm1
movapd 0x20(%rsp),%xmm3
unpcklpd %xmm3,%xmm3
unpcklpd %xmm1,%xmm0
mulpd  %xmm3,%xmm0
divpd  %xmm0,%xmm2
movapd (%rsp),%xmm1
movapd %xmm1,%xmm0
unpckhpd %xmm1,%xmm0
addsd  %xmm1,%xmm0
addsd  %xmm2,%xmm0
unpckhpd %xmm2,%xmm2
addsd  %xmm0,%xmm2
movapd %xmm2,%xmm0
add    $0x90,%rsp
pop    %rbx
ret

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

LLVM IR (-O2):
@M_PI = global double 0.000000e+00
define double @Q_et_time(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) {
%20 = load double, double* @M_PI
%21 = fmul double %5, %10
%22 = fmul double %21, %17
%23 = fmul double %20, %10
%24 = fmul double %23, %15
%25 = fdiv double %24, %1
%26 = tail call double @cos(double %25)
%27 = load double, double* @M_PI
%28 = fmul double %27, %9
%29 = fmul double %28, %15
%30 = fdiv double %29, %1
%31 = tail call double @sin(double %30)
%32 = fneg double %4
%33 = fmul double %32, %9
%34 = fmul double %33, %16
%35 = fmul double %34, %31
%36 = tail call double @llvm.fmuladd.f64(double %22, double %26, double %35)
%37 = load double, double* @M_PI
%38 = fmul double %37, %11
%39 = fmul double %38, %15
%40 = fdiv double %39, %1
%41 = tail call double @sin(double %40)
%42 = fneg double %6
%43 = fmul double %42, %11
%44 = fmul double %43, %18
%45 = tail call double @llvm.fmuladd.f64(double %44, double %41, double %36)
%46 = load double, double* @M_PI
%47 = fmul double %46, %0
%48 = fmul double %47, %8
%49 = insertelement <2 x double> poison, double %20, i64 0
%50 = insertelement <2 x double> %49, double %48, i64 1
%51 = insertelement <2 x double> poison, double %3, i64 0
%52 = insertelement <2 x double> %51, double %14, i64 1
%53 = fmul <2 x double> %50, %52
%54 = fmul double %46, %8
%55 = fmul double %54, %15
%56 = fdiv double %55, %1
%57 = tail call double @cos(double %56)
%58 = insertelement <2 x double> poison, double %45, i64 0
%59 = insertelement <2 x double> %58, double %57, i64 1
%60 = fmul <2 x double> %53, %59
%61 = insertelement <2 x double> poison, double %1, i64 0
%62 = shufflevector <2 x double> %61, <2 x double> poison, <2 x i32> zeroinitializer
%63 = fdiv <2 x double> %60, %62
%64 = shufflevector <2 x double> %63, <2 x double> poison, <2 x i32> <i32 1, i32 undef>
%65 = fadd <2 x double> %63, %64
%66 = load double, double* @M_PI
%67 = fmul double %66, %7
%68 = fmul double %67, %15
%69 = fdiv double %68, %1
%70 = tail call double @sin(double %69)
%71 = fsub double 1.000000e+00, %12
%72 = load double, double* @M_PI
%73 = fmul double %72, %2
%74 = fmul double %73, %8
%75 = insertelement <2 x double> poison, double %67, i64 0
%76 = insertelement <2 x double> %75, double %74, i64 1
%77 = insertelement <2 x double> poison, double %13, i64 0
%78 = insertelement <2 x double> %77, double %14, i64 1
%79 = fmul <2 x double> %76, %78
%80 = fmul double %72, %8
%81 = fmul double %80, %15
%82 = fdiv double %81, %1
%83 = tail call double @cos(double %82)
%84 = insertelement <2 x double> poison, double %70, i64 0
%85 = insertelement <2 x double> %84, double %83, i64 1
%86 = fmul <2 x double> %85, %79
%87 = fmul double %1, %3
%88 = insertelement <2 x double> poison, double %71, i64 0
%89 = shufflevector <2 x double> %88, <2 x double> poison, <2 x i32> zeroinitializer
%90 = insertelement <2 x double> %61, double %87, i64 1
%91 = fmul <2 x double> %89, %90
%92 = fdiv <2 x double> %86, %91
%93 = fadd <2 x double> %65, %92
%94 = shufflevector <2 x double> %92, <2 x double> poison, <2 x i32> <i32 1, i32 undef>
%95 = fadd <2 x double> %93, %94
%96 = extractelement <2 x double> %95, i64 0
ret double %96
}