#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(int, double);
double E(double Tc, double RH) {
  double E;
  double a = 1 - (0.01 * RH);
  double b = (Tc - (14.55 + 0.114 * Tc) * a - pow(((2.5 + 0.007 * Tc) * a), 3) -
              (15.9 + 0.117 * Tc) * pow(a, 14));
  E = 6.11 * pow(10, (7.5 * b / (237.7 + b)));
  return E;
}


x86 assembly (clang, -O0):
<E>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xf29(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xf25(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x8(%rbp),%xmm1
movsd  -0x8(%rbp),%xmm0
movsd  0xef2(%rip),%xmm2
mulsd  %xmm2,%xmm0
movsd  0xeee(%rip),%xmm2
addsd  %xmm2,%xmm0
movsd  -0x20(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xe9c(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xe98(%rip),%xmm1
addsd  %xmm1,%xmm0
mulsd  -0x20(%rbp),%xmm0
cvttsd2si %xmm0,%edi
movsd  0xe73(%rip),%xmm0
call   1030 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x40(%rbp),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xe40(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xe3c(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
cvttsd2si -0x20(%rbp),%edi
movsd  0xe16(%rip),%xmm0
call   1030 <pow@plt>
movsd  -0x38(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x30(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xdd0(%rip),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  0xdbb(%rip),%xmm1
addsd  -0x28(%rbp),%xmm1
divsd  %xmm1,%xmm0
mov    $0xa,%edi
call   1030 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xd95(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<E>:
sub    $0x38,%rsp
movsd  0xee4(%rip),%xmm3
mulsd  %xmm0,%xmm3
addsd  0xee0(%rip),%xmm3
movapd %xmm0,%xmm2
movapd %xmm0,(%rsp)
unpcklpd %xmm1,%xmm2
mulpd  0xf13(%rip),%xmm2
addpd  0xf1b(%rip),%xmm2
movapd %xmm2,%xmm1
unpckhpd %xmm2,%xmm1
movapd %xmm1,0x20(%rsp)
mulsd  %xmm1,%xmm3
subsd  %xmm3,%xmm0
movapd %xmm0,0x10(%rsp)
mulsd  %xmm1,%xmm2
cvttsd2si %xmm2,%edi
movsd  0xe9f(%rip),%xmm0
call   1030 <pow@plt>
movapd 0x10(%rsp),%xmm1
subsd  %xmm0,%xmm1
movapd %xmm1,0x10(%rsp)
movapd (%rsp),%xmm0
mulsd  0xe85(%rip),%xmm0
addsd  0xe85(%rip),%xmm0
movapd %xmm0,(%rsp)
cvttsd2si 0x20(%rsp),%edi
movsd  0xe7a(%rip),%xmm0
call   1030 <pow@plt>
mulsd  (%rsp),%xmm0
movapd 0x10(%rsp),%xmm1
subsd  %xmm0,%xmm1
movsd  0xe66(%rip),%xmm0
mulsd  %xmm1,%xmm0
addsd  0xe62(%rip),%xmm1
divsd  %xmm1,%xmm0
mov    $0xa,%edi
call   1030 <pow@plt>
mulsd  0xe54(%rip),%xmm0
add    $0x38,%rsp
ret

LLVM IR (-O0):
define double @E(double %0, double %1) {
%3 = alloca double
%4 = alloca double
%5 = alloca double
%6 = alloca double
%7 = alloca double
store double %0, double* %3
store double %1, double* %4
%8 = load double, double* %4
%9 = call double @llvm.fmuladd.f64(double -1.000000e-02, double %8, double 1.000000e+00)
store double %9, double* %6
%10 = load double, double* %3
%11 = load double, double* %3
%12 = call double @llvm.fmuladd.f64(double 1.140000e-01, double %11, double 1.455000e+01)
%13 = load double, double* %6
%14 = fneg double %12
%15 = call double @llvm.fmuladd.f64(double %14, double %13, double %10)
%16 = load double, double* %3
%17 = call double @llvm.fmuladd.f64(double 7.000000e-03, double %16, double 2.500000e+00)
%18 = load double, double* %6
%19 = fmul double %17, %18
%20 = fptosi double %19 to i32
%21 = call double @pow(i32 %20, double 3.000000e+00)
%22 = fsub double %15, %21
%23 = load double, double* %3
%24 = call double @llvm.fmuladd.f64(double 1.170000e-01, double %23, double 1.590000e+01)
%25 = load double, double* %6
%26 = fptosi double %25 to i32
%27 = call double @pow(i32 %26, double 1.400000e+01)
%28 = fneg double %24
%29 = call double @llvm.fmuladd.f64(double %28, double %27, double %22)
store double %29, double* %7
%30 = load double, double* %7
%31 = fmul double 7.500000e+00, %30
%32 = load double, double* %7
%33 = fadd double 2.377000e+02, %32
%34 = fdiv double %31, %33
%35 = call double @pow(i32 10, double %34)
%36 = fmul double 6.110000e+00, %35
store double %36, double* %5
%37 = load double, double* %5
ret double %37
}

LLVM IR (-O2):
define double @E(double %0, double %1) {
%3 = tail call double @llvm.fmuladd.f64(double %0, double 1.140000e-01, double 1.455000e+01)
%4 = fneg double %3
%5 = insertelement <2 x double> poison, double %0, i64 0
%6 = insertelement <2 x double> %5, double %1, i64 1
%7 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %6, <2 x double> <double 7.000000e-03, double -1.000000e-02>, <2 x double> <double 2.500000e+00, double 1.000000e+00>)
%8 = extractelement <2 x double> %7, i64 1
%9 = tail call double @llvm.fmuladd.f64(double %4, double %8, double %0)
%10 = extractelement <2 x double> %7, i64 0
%11 = fmul double %10, %8
%12 = fptosi double %11 to i32
%13 = tail call double @pow(i32 %12, double 3.000000e+00)
%14 = fsub double %9, %13
%15 = tail call double @llvm.fmuladd.f64(double %0, double 1.170000e-01, double 1.590000e+01)
%16 = fptosi double %8 to i32
%17 = tail call double @pow(i32 %16, double 1.400000e+01)
%18 = fneg double %15
%19 = tail call double @llvm.fmuladd.f64(double %18, double %17, double %14)
%20 = fmul double %19, 7.500000e+00
%21 = fadd double %19, 2.377000e+02
%22 = fdiv double %20, %21
%23 = tail call double @pow(i32 10, double %22)
%24 = fmul double %23, 6.110000e+00
ret double %24
}