#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_4S(double rij, double xii) {
  double S;
  S = (pow((double)(rij), (double)(-2.0))) -
      (315.0 + 630.0 * rij * xii +
       630.0 * (pow((double)(rij), (double)(2.0))) *
           (pow((double)(xii), (double)(2.0))) +
       420.0 * (pow((double)(rij), (double)(3.0))) *
           (pow((double)(xii), (double)(3.0))) +
       210.0 * (pow((double)(rij), (double)(4.0))) *
           (pow((double)(xii), (double)(4.0))) +
       84.0 * (pow((double)(rij), (double)(5.0))) *
           (pow((double)(xii), (double)(5.0))) +
       28.0 * (pow((double)(rij), (double)(6.0))) *
           (pow((double)(xii), (double)(6.0))) +
       8.0 * (pow((double)(rij), (double)(7.0))) *
           (pow((double)(xii), (double)(7.0))) +
       2.0 * (pow((double)(rij), (double)(8.0))) *
           (pow((double)(xii), (double)(8.0)))) /
          (315. *
           (pow((double)(2.71828182845904523536029),
                (double)(2.0 * rij * xii))) *
           (pow((double)(rij), (double)(2.0))));
  return S;
}


x86 assembly (clang, -O0):
<DNuclear_4S>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xf3e(%rip),%xmm1
call   1030 <pow@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xf20(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  -0x10(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xeaa(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
movsd  0xe89(%rip),%xmm1
call   1030 <pow@plt>
cvtsi2sd %eax,%xmm1
movsd  0xee0(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
movsd  0xe5f(%rip),%xmm1
call   1030 <pow@plt>
movsd  -0xa0(%rbp),%xmm0
ff
movsd  -0x98(%rbp),%xmm1
ff
cvtsi2sd %eax,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
movsd  0xe81(%rip),%xmm1
call   1030 <pow@plt>
cvtsi2sd %eax,%xmm1
movsd  0xe78(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
movsd  0xe57(%rip),%xmm1
call   1030 <pow@plt>
movsd  -0x90(%rbp),%xmm0
ff
movsd  -0x88(%rbp),%xmm1
ff
cvtsi2sd %eax,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xe14(%rip),%xmm1
call   1030 <pow@plt>
cvtsi2sd %eax,%xmm1
movsd  0xe0b(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xded(%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  0xdb0(%rip),%xmm1
call   1030 <pow@plt>
cvtsi2sd %eax,%xmm1
movsd  0xda7(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xd89(%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  0xd4c(%rip),%xmm1
call   1030 <pow@plt>
cvtsi2sd %eax,%xmm1
movsd  0xd43(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xd25(%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  0xcf0(%rip),%xmm1
call   1030 <pow@plt>
cvtsi2sd %eax,%xmm1
movsd  0xcd7(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xcc9(%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  0xc94(%rip),%xmm1
call   1030 <pow@plt>
cvtsi2sd %eax,%xmm1
movsd  0xc6b(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xc6d(%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  0xc2d(%rip),%xmm1
mulsd  -0x8(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
movsd  0xc2b(%rip),%xmm0
call   1030 <pow@plt>
cvtsi2sd %eax,%xmm1
movsd  0xc12(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xbf4(%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    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<DNuclear_4S>:
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  0xd95(%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  0xd65(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0xd53(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0xd37(%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),%xmm0
movsd  0xd15(%rip),%xmm1
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
addsd  %xmm0,%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0xcf1(%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  0xcc5(%rip),%xmm0
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0xc51(%rip),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0x18(%rsp),%xmm0
movsd  0xc45(%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_4S(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 6.300000e+02, %9
%11 = load double, double* %4
%12 = call double @llvm.fmuladd.f64(double %10, double %11, double 3.150000e+02)
%13 = load double, double* %3
%14 = call i32 @pow(double %13, double 2.000000e+00)
%15 = sitofp i32 %14 to double
%16 = fmul double 6.300000e+02, %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 4.200000e+02, %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 2.100000e+02, %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 8.400000e+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 2.800000e+01, %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 = call i32 @pow(double %53, double 7.000000e+00)
%55 = sitofp i32 %54 to double
%56 = fmul double 8.000000e+00, %55
%57 = load double, double* %4
%58 = call i32 @pow(double %57, double 7.000000e+00)
%59 = sitofp i32 %58 to double
%60 = call double @llvm.fmuladd.f64(double %56, double %59, double %52)
%61 = load double, double* %3
%62 = call i32 @pow(double %61, double 8.000000e+00)
%63 = sitofp i32 %62 to double
%64 = fmul double 2.000000e+00, %63
%65 = load double, double* %4
%66 = call i32 @pow(double %65, double 8.000000e+00)
%67 = sitofp i32 %66 to double
%68 = call double @llvm.fmuladd.f64(double %64, double %67, double %60)
%69 = load double, double* %3
%70 = fmul double 2.000000e+00, %69
%71 = load double, double* %4
%72 = fmul double %70, %71
%73 = call i32 @pow(double 0x4005BF0A8B145769, double %72)
%74 = sitofp i32 %73 to double
%75 = fmul double 3.150000e+02, %74
%76 = load double, double* %3
%77 = call i32 @pow(double %76, double 2.000000e+00)
%78 = sitofp i32 %77 to double
%79 = fmul double %75, %78
%80 = fdiv double %68, %79
%81 = fsub double %8, %80
store double %81, double* %5
%82 = load double, double* %5
ret double %82
}

LLVM IR (-O2):
define double @DNuclear_4S(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, 6.300000e+02
%6 = tail call double @llvm.fmuladd.f64(double %5, double %1, double 3.150000e+02)
%7 = tail call i32 @pow(double %0, double 2.000000e+00)
%8 = sitofp i32 %7 to double
%9 = fmul double %8, 6.300000e+02
%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, 4.200000e+02
%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, 2.100000e+02
%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, 8.400000e+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, 2.800000e+01
%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 = tail call i32 @pow(double %0, double 7.000000e+00)
%38 = sitofp i32 %37 to double
%39 = fmul double %38, 8.000000e+00
%40 = tail call i32 @pow(double %1, double 7.000000e+00)
%41 = sitofp i32 %40 to double
%42 = tail call double @llvm.fmuladd.f64(double %39, double %41, double %36)
%43 = tail call i32 @pow(double %0, double 8.000000e+00)
%44 = sitofp i32 %43 to double
%45 = fmul double %44, 2.000000e+00
%46 = tail call i32 @pow(double %1, double 8.000000e+00)
%47 = sitofp i32 %46 to double
%48 = tail call double @llvm.fmuladd.f64(double %45, double %47, double %42)
%49 = fmul double %0, 2.000000e+00
%50 = fmul double %49, %1
%51 = tail call i32 @pow(double 0x4005BF0A8B145769, double %50)
%52 = sitofp i32 %51 to double
%53 = fmul double %52, 3.150000e+02
%54 = tail call i32 @pow(double %0, double 2.000000e+00)
%55 = sitofp i32 %54 to double
%56 = fmul double %53, %55
%57 = fdiv double %48, %56
%58 = fsub double %4, %57
ret double %58
}