#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 Nuclear_5S(double rij, double xii) {
  double S;
  S = 1.0 / rij - (14175.0 + 25515.0 * rij * xii +
                   22680.0 * (pow((double)(rij), (double)(2.0))) *
                       (pow((double)(xii), (double)(2.0))) +
                   13230.0 * (pow((double)(rij), (double)(3.0))) *
                       (pow((double)(xii), (double)(3.0))) +
                   5670.0 * (pow((double)(rij), (double)(4.0))) *
                       (pow((double)(xii), (double)(4.0))) +
                   1890.0 * (pow((double)(rij), (double)(5.0))) *
                       (pow((double)(xii), (double)(5.0))) +
                   504.0 * (pow((double)(rij), (double)(6.0))) *
                       (pow((double)(xii), (double)(6.0))) +
                   108.0 * (pow((double)(rij), (double)(7.0))) *
                       (pow((double)(xii), (double)(7.0))) +
                   18.0 * (pow((double)(rij), (double)(8.0))) *
                       (pow((double)(xii), (double)(8.0))) +
                   2.0 * (pow((double)(rij), (double)(9.0))) *
                       (pow((double)(xii), (double)(9.0)))) /
                      (14175. *
                       (pow((double)(2.71828182845904523536029),
                            (double)(2.0 * rij * xii))) *
                       rij);
  return S;
}


x86 assembly (clang, -O0):
<Nuclear_5S>:
push   %rbp
mov    %rsp,%rbp
sub    $0xb0,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  0xf63(%rip),%xmm0
divsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xf49(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  -0x10(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xeab(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
movsd  0xea2(%rip),%xmm1
call   1030 <pow@plt>
cvtsi2sd %eax,%xmm1
movsd  0xf01(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
movsd  0xe78(%rip),%xmm1
call   1030 <pow@plt>
movsd  -0xa8(%rbp),%xmm0
ff
movsd  -0xa0(%rbp),%xmm1
ff
cvtsi2sd %eax,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
movsd  0xea2(%rip),%xmm1
call   1030 <pow@plt>
cvtsi2sd %eax,%xmm1
movsd  0xe99(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
movsd  0xe78(%rip),%xmm1
call   1030 <pow@plt>
movsd  -0x98(%rbp),%xmm0
ff
movsd  -0x90(%rbp),%xmm1
ff
cvtsi2sd %eax,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xe35(%rip),%xmm1
call   1030 <pow@plt>
cvtsi2sd %eax,%xmm1
movsd  0xe2c(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
movsd  0xe0b(%rip),%xmm1
call   1030 <pow@plt>
movsd  -0x88(%rbp),%xmm0
ff
movsd  -0x80(%rbp),%xmm1
cvtsi2sd %eax,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xdcb(%rip),%xmm1
call   1030 <pow@plt>
cvtsi2sd %eax,%xmm1
movsd  0xdc2(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xda4(%rip),%xmm1
call   1030 <pow@plt>
movsd  -0x78(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm1
cvtsi2sd %eax,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xd67(%rip),%xmm1
call   1030 <pow@plt>
cvtsi2sd %eax,%xmm1
movsd  0xd5e(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xd40(%rip),%xmm1
call   1030 <pow@plt>
movsd  -0x68(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm1
cvtsi2sd %eax,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xd03(%rip),%xmm1
call   1030 <pow@plt>
cvtsi2sd %eax,%xmm1
movsd  0xcfa(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xcdc(%rip),%xmm1
call   1030 <pow@plt>
movsd  -0x58(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm1
cvtsi2sd %eax,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xc9f(%rip),%xmm1
call   1030 <pow@plt>
cvtsi2sd %eax,%xmm1
movsd  0xc96(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xc78(%rip),%xmm1
call   1030 <pow@plt>
movsd  -0x48(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm1
cvtsi2sd %eax,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xc43(%rip),%xmm1
call   1030 <pow@plt>
cvtsi2sd %eax,%xmm1
movsd  0xc2a(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xc1c(%rip),%xmm1
call   1030 <pow@plt>
movsd  -0x38(%rbp),%xmm0
movsd  -0x30(%rbp),%xmm1
cvtsi2sd %eax,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xbec(%rip),%xmm1
mulsd  -0x8(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
movsd  0xbd2(%rip),%xmm0
call   1030 <pow@plt>
movsd  -0x28(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm0
cvtsi2sd %eax,%xmm3
movsd  0xbaf(%rip),%xmm2
mulsd  %xmm3,%xmm2
mulsd  -0x8(%rbp),%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
add    $0xb0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Nuclear_5S>:
sub    $0x38,%rsp
movsd  %xmm1,0x8(%rsp)
movapd %xmm0,0x20(%rsp)
movsd  0xed8(%rip),%xmm2
mulsd  %xmm0,%xmm2
mulsd  %xmm1,%xmm2
addsd  0xed0(%rip),%xmm2
movsd  %xmm2,0x10(%rsp)
movsd  0xeca(%rip),%xmm1
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0xebe(%rip),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xea3(%rip),%xmm1
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  (%rsp),%xmm0
addsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xe8e(%rip),%xmm1
movaps 0x20(%rsp),%xmm0
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0xe7d(%rip),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xe62(%rip),%xmm1
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  (%rsp),%xmm0
addsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xe4d(%rip),%xmm1
movaps 0x20(%rsp),%xmm0
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0xe3c(%rip),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xe21(%rip),%xmm1
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  (%rsp),%xmm0
addsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xe0c(%rip),%xmm1
movaps 0x20(%rsp),%xmm0
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0xdfb(%rip),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xde0(%rip),%xmm1
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  (%rsp),%xmm0
addsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xdcb(%rip),%xmm1
movaps 0x20(%rsp),%xmm0
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0xdba(%rip),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xd9f(%rip),%xmm1
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  (%rsp),%xmm0
addsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xd8a(%rip),%xmm1
movaps 0x20(%rsp),%xmm0
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0xd79(%rip),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xd5e(%rip),%xmm1
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  (%rsp),%xmm0
addsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xd49(%rip),%xmm1
movaps 0x20(%rsp),%xmm0
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0xd38(%rip),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xd1d(%rip),%xmm1
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  (%rsp),%xmm0
addsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xd08(%rip),%xmm1
movaps 0x20(%rsp),%xmm0
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
addsd  %xmm0,%xmm0
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xce0(%rip),%xmm1
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  (%rsp),%xmm0
addsd  0x10(%rsp),%xmm0
movapd %xmm0,0x10(%rsp)
movapd 0x20(%rsp),%xmm1
addsd  %xmm1,%xmm1
mulsd  0x8(%rsp),%xmm1
movsd  0xcb3(%rip),%xmm0
call   1030 <pow@plt>
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
mulsd  0xc1f(%rip),%xmm1
movapd 0x20(%rsp),%xmm2
mulsd  %xmm2,%xmm1
movapd 0xc95(%rip),%xmm0
unpcklpd 0x10(%rsp),%xmm0
unpcklpd %xmm1,%xmm2
divpd  %xmm2,%xmm0
movapd %xmm0,%xmm1
unpckhpd %xmm0,%xmm1
subsd  %xmm1,%xmm0
add    $0x38,%rsp
ret

LLVM IR (-O0):
define double @Nuclear_5S(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 = fdiv double 1.000000e+00, %6
%8 = load double, double* %3
%9 = fmul double 2.551500e+04, %8
%10 = load double, double* %4
%11 = call double @llvm.fmuladd.f64(double %9, double %10, double 1.417500e+04)
%12 = load double, double* %3
%13 = call i32 @pow(double %12, double 2.000000e+00)
%14 = sitofp i32 %13 to double
%15 = fmul double 2.268000e+04, %14
%16 = load double, double* %4
%17 = call i32 @pow(double %16, double 2.000000e+00)
%18 = sitofp i32 %17 to double
%19 = call double @llvm.fmuladd.f64(double %15, double %18, double %11)
%20 = load double, double* %3
%21 = call i32 @pow(double %20, double 3.000000e+00)
%22 = sitofp i32 %21 to double
%23 = fmul double 1.323000e+04, %22
%24 = load double, double* %4
%25 = call i32 @pow(double %24, double 3.000000e+00)
%26 = sitofp i32 %25 to double
%27 = call double @llvm.fmuladd.f64(double %23, double %26, double %19)
%28 = load double, double* %3
%29 = call i32 @pow(double %28, double 4.000000e+00)
%30 = sitofp i32 %29 to double
%31 = fmul double 5.670000e+03, %30
%32 = load double, double* %4
%33 = call i32 @pow(double %32, double 4.000000e+00)
%34 = sitofp i32 %33 to double
%35 = call double @llvm.fmuladd.f64(double %31, double %34, double %27)
%36 = load double, double* %3
%37 = call i32 @pow(double %36, double 5.000000e+00)
%38 = sitofp i32 %37 to double
%39 = fmul double 1.890000e+03, %38
%40 = load double, double* %4
%41 = call i32 @pow(double %40, double 5.000000e+00)
%42 = sitofp i32 %41 to double
%43 = call double @llvm.fmuladd.f64(double %39, double %42, double %35)
%44 = load double, double* %3
%45 = call i32 @pow(double %44, double 6.000000e+00)
%46 = sitofp i32 %45 to double
%47 = fmul double 5.040000e+02, %46
%48 = load double, double* %4
%49 = call i32 @pow(double %48, double 6.000000e+00)
%50 = sitofp i32 %49 to double
%51 = call double @llvm.fmuladd.f64(double %47, double %50, double %43)
%52 = load double, double* %3
%53 = call i32 @pow(double %52, double 7.000000e+00)
%54 = sitofp i32 %53 to double
%55 = fmul double 1.080000e+02, %54
%56 = load double, double* %4
%57 = call i32 @pow(double %56, double 7.000000e+00)
%58 = sitofp i32 %57 to double
%59 = call double @llvm.fmuladd.f64(double %55, double %58, double %51)
%60 = load double, double* %3
%61 = call i32 @pow(double %60, double 8.000000e+00)
%62 = sitofp i32 %61 to double
%63 = fmul double 1.800000e+01, %62
%64 = load double, double* %4
%65 = call i32 @pow(double %64, double 8.000000e+00)
%66 = sitofp i32 %65 to double
%67 = call double @llvm.fmuladd.f64(double %63, double %66, double %59)
%68 = load double, double* %3
%69 = call i32 @pow(double %68, double 9.000000e+00)
%70 = sitofp i32 %69 to double
%71 = fmul double 2.000000e+00, %70
%72 = load double, double* %4
%73 = call i32 @pow(double %72, double 9.000000e+00)
%74 = sitofp i32 %73 to double
%75 = call double @llvm.fmuladd.f64(double %71, double %74, double %67)
%76 = load double, double* %3
%77 = fmul double 2.000000e+00, %76
%78 = load double, double* %4
%79 = fmul double %77, %78
%80 = call i32 @pow(double 0x4005BF0A8B145769, double %79)
%81 = sitofp i32 %80 to double
%82 = fmul double 1.417500e+04, %81
%83 = load double, double* %3
%84 = fmul double %82, %83
%85 = fdiv double %75, %84
%86 = fsub double %7, %85
store double %86, double* %5
%87 = load double, double* %5
ret double %87
}

LLVM IR (-O2):
define double @Nuclear_5S(double %0, double %1) {
%3 = fmul double %0, 2.551500e+04
%4 = tail call double @llvm.fmuladd.f64(double %3, double %1, double 1.417500e+04)
%5 = tail call i32 @pow(double %0, double 2.000000e+00)
%6 = sitofp i32 %5 to double
%7 = fmul double %6, 2.268000e+04
%8 = tail call i32 @pow(double %1, double 2.000000e+00)
%9 = sitofp i32 %8 to double
%10 = tail call double @llvm.fmuladd.f64(double %7, double %9, double %4)
%11 = tail call i32 @pow(double %0, double 3.000000e+00)
%12 = sitofp i32 %11 to double
%13 = fmul double %12, 1.323000e+04
%14 = tail call i32 @pow(double %1, double 3.000000e+00)
%15 = sitofp i32 %14 to double
%16 = tail call double @llvm.fmuladd.f64(double %13, double %15, double %10)
%17 = tail call i32 @pow(double %0, double 4.000000e+00)
%18 = sitofp i32 %17 to double
%19 = fmul double %18, 5.670000e+03
%20 = tail call i32 @pow(double %1, double 4.000000e+00)
%21 = sitofp i32 %20 to double
%22 = tail call double @llvm.fmuladd.f64(double %19, double %21, double %16)
%23 = tail call i32 @pow(double %0, double 5.000000e+00)
%24 = sitofp i32 %23 to double
%25 = fmul double %24, 1.890000e+03
%26 = tail call i32 @pow(double %1, double 5.000000e+00)
%27 = sitofp i32 %26 to double
%28 = tail call double @llvm.fmuladd.f64(double %25, double %27, double %22)
%29 = tail call i32 @pow(double %0, double 6.000000e+00)
%30 = sitofp i32 %29 to double
%31 = fmul double %30, 5.040000e+02
%32 = tail call i32 @pow(double %1, double 6.000000e+00)
%33 = sitofp i32 %32 to double
%34 = tail call double @llvm.fmuladd.f64(double %31, double %33, double %28)
%35 = tail call i32 @pow(double %0, double 7.000000e+00)
%36 = sitofp i32 %35 to double
%37 = fmul double %36, 1.080000e+02
%38 = tail call i32 @pow(double %1, double 7.000000e+00)
%39 = sitofp i32 %38 to double
%40 = tail call double @llvm.fmuladd.f64(double %37, double %39, double %34)
%41 = tail call i32 @pow(double %0, double 8.000000e+00)
%42 = sitofp i32 %41 to double
%43 = fmul double %42, 1.800000e+01
%44 = tail call i32 @pow(double %1, double 8.000000e+00)
%45 = sitofp i32 %44 to double
%46 = tail call double @llvm.fmuladd.f64(double %43, double %45, double %40)
%47 = tail call i32 @pow(double %0, double 9.000000e+00)
%48 = sitofp i32 %47 to double
%49 = fmul double %48, 2.000000e+00
%50 = tail call i32 @pow(double %1, double 9.000000e+00)
%51 = sitofp i32 %50 to double
%52 = tail call double @llvm.fmuladd.f64(double %49, double %51, double %46)
%53 = fmul double %0, 2.000000e+00
%54 = fmul double %53, %1
%55 = tail call i32 @pow(double 0x4005BF0A8B145769, double %54)
%56 = sitofp i32 %55 to double
%57 = fmul double %56, 1.417500e+04
%58 = fmul double %57, %0
%59 = insertelement <2 x double> <double 1.000000e+00, double poison>, double %52, i64 1
%60 = insertelement <2 x double> poison, double %0, i64 0
%61 = insertelement <2 x double> %60, double %58, i64 1
%62 = fdiv <2 x double> %59, %61
%63 = shufflevector <2 x double> %62, <2 x double> poison, <2 x i32> <i32 1, i32 undef>
%64 = fsub <2 x double> %62, %63
%65 = extractelement <2 x double> %64, i64 0
ret double %65
}