#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 */
int pow(double, double);
double DNuclear_3S(double rij, double xii) {
  double S;
  S = (pow((double)(rij), (double)(-2.0))) -
      (45.0 + 90.0 * rij * xii +
       90.0 * (pow((double)(rij), (double)(2.0))) *
           (pow((double)(xii), (double)(2.0))) +
       60.0 * (pow((double)(rij), (double)(3.0))) *
           (pow((double)(xii), (double)(3.0))) +
       30.0 * (pow((double)(rij), (double)(4.0))) *
           (pow((double)(xii), (double)(4.0))) +
       12.0 * (pow((double)(rij), (double)(5.0))) *
           (pow((double)(xii), (double)(5.0))) +
       4.0 * (pow((double)(rij), (double)(6.0))) *
           (pow((double)(xii), (double)(6.0)))) /
          (45. *
           (pow((double)(2.71828182845904523536029),
                (double)(2.0 * rij * xii))) *
           (pow((double)(rij), (double)(2.0))));
  return S;
}


x86 assembly (clang, -O0):
<DNuclear_3S>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xf26(%rip),%xmm1
call   1030 <pow@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xf08(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  -0x10(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xeaa(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xe8c(%rip),%xmm1
call   1030 <pow@plt>
cvtsi2sd %eax,%xmm1
movsd  0xecb(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe65(%rip),%xmm1
call   1030 <pow@plt>
movsd  -0x80(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm1
cvtsi2sd %eax,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xe78(%rip),%xmm1
call   1030 <pow@plt>
cvtsi2sd %eax,%xmm1
movsd  0xe6f(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe51(%rip),%xmm1
call   1030 <pow@plt>
movsd  -0x70(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm1
cvtsi2sd %eax,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xe04(%rip),%xmm1
call   1030 <pow@plt>
cvtsi2sd %eax,%xmm1
movsd  0xe0b(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xddd(%rip),%xmm1
call   1030 <pow@plt>
movsd  -0x60(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm1
cvtsi2sd %eax,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xdb8(%rip),%xmm1
call   1030 <pow@plt>
cvtsi2sd %eax,%xmm1
movsd  0xdaf(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xd91(%rip),%xmm1
call   1030 <pow@plt>
movsd  -0x50(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm1
cvtsi2sd %eax,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xd54(%rip),%xmm1
call   1030 <pow@plt>
cvtsi2sd %eax,%xmm1
movsd  0xd4b(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xd2d(%rip),%xmm1
call   1030 <pow@plt>
movsd  -0x40(%rbp),%xmm0
movsd  -0x38(%rbp),%xmm1
cvtsi2sd %eax,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xced(%rip),%xmm1
mulsd  -0x8(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
movsd  0xceb(%rip),%xmm0
call   1030 <pow@plt>
cvtsi2sd %eax,%xmm1
movsd  0xcd2(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xcb4(%rip),%xmm1
call   1030 <pow@plt>
movsd  -0x30(%rbp),%xmm2
movsd  -0x28(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm0
cvtsi2sd %eax,%xmm3
mulsd  %xmm3,%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<DNuclear_3S>:
sub    $0x28,%rsp
movsd  %xmm1,0x10(%rsp)
movsd  %xmm0,0x18(%rsp)
movsd  0xed8(%rip),%xmm1
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  0x18(%rsp),%xmm0
movapd %xmm0,%xmm1
mulsd  0xebc(%rip),%xmm1
mulsd  0x10(%rsp),%xmm1
addsd  0xeb6(%rip),%xmm1
movsd  %xmm1,(%rsp)
movsd  0xeb1(%rip),%xmm1
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0xe8d(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0xe89(%rip),%xmm1
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0x8(%rsp),%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0xe6d(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0xe5b(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0xe3f(%rip),%xmm1
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0x8(%rsp),%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0xe2b(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0xe19(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0xdfd(%rip),%xmm1
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0x8(%rsp),%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0xde9(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0xdd7(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0xdbb(%rip),%xmm1
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0x8(%rsp),%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0xda7(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0xd6d(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0xd79(%rip),%xmm1
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0x8(%rsp),%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x18(%rsp),%xmm1
addsd  %xmm1,%xmm1
mulsd  0x10(%rsp),%xmm1
movsd  0xd4d(%rip),%xmm0
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0xcf1(%rip),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0x18(%rsp),%xmm0
movsd  0xce5(%rip),%xmm1
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0x10(%rsp),%xmm0
movsd  (%rsp),%xmm1
divsd  %xmm0,%xmm1
movsd  0x20(%rsp),%xmm0
subsd  %xmm1,%xmm0
add    $0x28,%rsp
ret

LLVM IR (-O0):
define double @DNuclear_3S(double %0, double %1) {
%3 = alloca double
%4 = alloca double
%5 = alloca double
store double %0, double* %3
store double %1, double* %4
%6 = load double, double* %3
%7 = call i32 @pow(double %6, double -2.000000e+00)
%8 = sitofp i32 %7 to double
%9 = load double, double* %3
%10 = fmul double 9.000000e+01, %9
%11 = load double, double* %4
%12 = call double @llvm.fmuladd.f64(double %10, double %11, double 4.500000e+01)
%13 = load double, double* %3
%14 = call i32 @pow(double %13, double 2.000000e+00)
%15 = sitofp i32 %14 to double
%16 = fmul double 9.000000e+01, %15
%17 = load double, double* %4
%18 = call i32 @pow(double %17, double 2.000000e+00)
%19 = sitofp i32 %18 to double
%20 = call double @llvm.fmuladd.f64(double %16, double %19, double %12)
%21 = load double, double* %3
%22 = call i32 @pow(double %21, double 3.000000e+00)
%23 = sitofp i32 %22 to double
%24 = fmul double 6.000000e+01, %23
%25 = load double, double* %4
%26 = call i32 @pow(double %25, double 3.000000e+00)
%27 = sitofp i32 %26 to double
%28 = call double @llvm.fmuladd.f64(double %24, double %27, double %20)
%29 = load double, double* %3
%30 = call i32 @pow(double %29, double 4.000000e+00)
%31 = sitofp i32 %30 to double
%32 = fmul double 3.000000e+01, %31
%33 = load double, double* %4
%34 = call i32 @pow(double %33, double 4.000000e+00)
%35 = sitofp i32 %34 to double
%36 = call double @llvm.fmuladd.f64(double %32, double %35, double %28)
%37 = load double, double* %3
%38 = call i32 @pow(double %37, double 5.000000e+00)
%39 = sitofp i32 %38 to double
%40 = fmul double 1.200000e+01, %39
%41 = load double, double* %4
%42 = call i32 @pow(double %41, double 5.000000e+00)
%43 = sitofp i32 %42 to double
%44 = call double @llvm.fmuladd.f64(double %40, double %43, double %36)
%45 = load double, double* %3
%46 = call i32 @pow(double %45, double 6.000000e+00)
%47 = sitofp i32 %46 to double
%48 = fmul double 4.000000e+00, %47
%49 = load double, double* %4
%50 = call i32 @pow(double %49, double 6.000000e+00)
%51 = sitofp i32 %50 to double
%52 = call double @llvm.fmuladd.f64(double %48, double %51, double %44)
%53 = load double, double* %3
%54 = fmul double 2.000000e+00, %53
%55 = load double, double* %4
%56 = fmul double %54, %55
%57 = call i32 @pow(double 0x4005BF0A8B145769, double %56)
%58 = sitofp i32 %57 to double
%59 = fmul double 4.500000e+01, %58
%60 = load double, double* %3
%61 = call i32 @pow(double %60, double 2.000000e+00)
%62 = sitofp i32 %61 to double
%63 = fmul double %59, %62
%64 = fdiv double %52, %63
%65 = fsub double %8, %64
store double %65, double* %5
%66 = load double, double* %5
ret double %66
}

LLVM IR (-O2):
define double @DNuclear_3S(double %0, double %1) {
%3 = tail call i32 @pow(double %0, double -2.000000e+00)
%4 = sitofp i32 %3 to double
%5 = fmul double %0, 9.000000e+01
%6 = tail call double @llvm.fmuladd.f64(double %5, double %1, double 4.500000e+01)
%7 = tail call i32 @pow(double %0, double 2.000000e+00)
%8 = sitofp i32 %7 to double
%9 = fmul double %8, 9.000000e+01
%10 = tail call i32 @pow(double %1, double 2.000000e+00)
%11 = sitofp i32 %10 to double
%12 = tail call double @llvm.fmuladd.f64(double %9, double %11, double %6)
%13 = tail call i32 @pow(double %0, double 3.000000e+00)
%14 = sitofp i32 %13 to double
%15 = fmul double %14, 6.000000e+01
%16 = tail call i32 @pow(double %1, double 3.000000e+00)
%17 = sitofp i32 %16 to double
%18 = tail call double @llvm.fmuladd.f64(double %15, double %17, double %12)
%19 = tail call i32 @pow(double %0, double 4.000000e+00)
%20 = sitofp i32 %19 to double
%21 = fmul double %20, 3.000000e+01
%22 = tail call i32 @pow(double %1, double 4.000000e+00)
%23 = sitofp i32 %22 to double
%24 = tail call double @llvm.fmuladd.f64(double %21, double %23, double %18)
%25 = tail call i32 @pow(double %0, double 5.000000e+00)
%26 = sitofp i32 %25 to double
%27 = fmul double %26, 1.200000e+01
%28 = tail call i32 @pow(double %1, double 5.000000e+00)
%29 = sitofp i32 %28 to double
%30 = tail call double @llvm.fmuladd.f64(double %27, double %29, double %24)
%31 = tail call i32 @pow(double %0, double 6.000000e+00)
%32 = sitofp i32 %31 to double
%33 = fmul double %32, 4.000000e+00
%34 = tail call i32 @pow(double %1, double 6.000000e+00)
%35 = sitofp i32 %34 to double
%36 = tail call double @llvm.fmuladd.f64(double %33, double %35, double %30)
%37 = fmul double %0, 2.000000e+00
%38 = fmul double %37, %1
%39 = tail call i32 @pow(double 0x4005BF0A8B145769, double %38)
%40 = sitofp i32 %39 to double
%41 = fmul double %40, 4.500000e+01
%42 = tail call i32 @pow(double %0, double 2.000000e+00)
%43 = sitofp i32 %42 to double
%44 = fmul double %41, %43
%45 = fdiv double %36, %44
%46 = fsub double %4, %45
ret double %46
}