#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 exp(double);
double pow(double, double);
double Phi(double T) {
  double phi_h = 6.626e-27;
  double phi_m = 9.109e-28;
  double phi_k = 1.38e-16;
  double phi_xh = 13.6;
  double phi_keV = 8.617e-5;
  return pow((phi_h * phi_h) / (2.0 * 3.1416 * phi_m * phi_k * T), 1.5) *
         exp(phi_xh / (phi_keV * T));
}


x86 assembly (clang, -O0):
<Phi>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  0xefb(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0xee6(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xed1(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xebc(%rip),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xea7(%rip),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x10(%rbp),%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  0xe88(%rip),%xmm1
mulsd  -0x18(%rbp),%xmm1
mulsd  -0x20(%rbp),%xmm1
mulsd  -0x8(%rbp),%xmm1
divsd  %xmm1,%xmm0
movsd  0xe65(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,-0x38(%rbp)
movsd  -0x28(%rbp),%xmm0
movsd  -0x30(%rbp),%xmm1
mulsd  -0x8(%rbp),%xmm1
divsd  %xmm1,%xmm0
call   1030 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0x38(%rbp),%xmm0
mulsd  %xmm1,%xmm0
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Phi>:
sub    $0x18,%rsp
movsd  %xmm0,0x8(%rsp)
movsd  0xece(%rip),%xmm1
mulsd  %xmm0,%xmm1
movsd  0xeca(%rip),%xmm0
divsd  %xmm1,%xmm0
movsd  0xec6(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,0x10(%rsp)
movsd  0x8(%rsp),%xmm1
mulsd  0xeb5(%rip),%xmm1
movsd  0xeb5(%rip),%xmm0
divsd  %xmm1,%xmm0
call   1030 <exp@plt>
mulsd  0x10(%rsp),%xmm0
add    $0x18,%rsp
ret

LLVM IR (-O0):
define double @Phi(double %0) {
%2 = alloca double
%3 = alloca double
%4 = alloca double
%5 = alloca double
%6 = alloca double
%7 = alloca double
store double %0, double* %2
store double 6.626000e-27, double* %3
store double 0x3A520ACFCD57121A, double* %4
store double 1.380000e-16, double* %5
store double 1.360000e+01, double* %6
store double 0x3F1696C553DCA100, double* %7
%8 = load double, double* %3
%9 = load double, double* %3
%10 = fmul double %8, %9
%11 = load double, double* %4
%12 = fmul double 6.283200e+00, %11
%13 = load double, double* %5
%14 = fmul double %12, %13
%15 = load double, double* %2
%16 = fmul double %14, %15
%17 = fdiv double %10, %16
%18 = call double @pow(double %17, double 1.500000e+00)
%19 = load double, double* %6
%20 = load double, double* %7
%21 = load double, double* %2
%22 = fmul double %20, %21
%23 = fdiv double %19, %22
%24 = call double @exp(double %23)
%25 = fmul double %18, %24
ret double %25
}

LLVM IR (-O2):
define double @Phi(double %0) {
%2 = fmul double %0, 0x37319D19FD37ADA6
%3 = fdiv double 0x3510D214628A10AC, %2
%4 = tail call double @pow(double %3, double 1.500000e+00)
%5 = fmul double %0, 0x3F1696C553DCA100
%6 = fdiv double 1.360000e+01, %5
%7 = tail call double @exp(double %6)
%8 = fmul double %4, %7
ret double %8
}