#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 const, double);
double HO_8(const double L, const double x) {
  double retval =
      exp(-0.5000000000e0 * x * x * pow(L, -0.2e1)) * pow(L, -0.17e2 / 0.2e1) *
      (-0.1682521216e3 * pow(x, 0.6e1) * L * L +
       0.1201800869e2 * pow(x, 0.8e1) +
       0.6309454559e3 * pow(x, 0.4e1) * pow(L, 0.4e1) -
       0.6309454561e3 * x * x * pow(L, 0.6e1) + 0.7886818203e2 * pow(L, 0.8e1));
  return retval;
}


x86 assembly (clang, -O0):
<HO_8>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  0xf16(%rip),%xmm0
mulsd  -0x10(%rbp),%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xef2(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x68(%rbp),%xmm0
mulsd  %xmm1,%xmm0
call   1030 <exp@plt>
movsd  %xmm0,-0x60(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xec2(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x60(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe6f(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xe87(%rip),%xmm0
mulsd  %xmm1,%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe32(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x58(%rbp),%xmm2
movaps %xmm0,%xmm3
movsd  -0x50(%rbp),%xmm0
movsd  0xe40(%rip),%xmm1
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe12(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xe0a(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xdec(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x48(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x40(%rbp),%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0xdbd(%rip),%xmm0
mulsd  -0x10(%rbp),%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xd99(%rip),%xmm1
call   1040 <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  -0x8(%rbp),%xmm0
movsd  0xd4e(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x28(%rbp),%xmm2
movaps %xmm0,%xmm1
movsd  -0x20(%rbp),%xmm0
movsd  0xd2c(%rip),%xmm3
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<HO_8>:
sub    $0x28,%rsp
movsd  %xmm1,(%rsp)
movsd  %xmm0,0x8(%rsp)
movsd  0xec9(%rip),%xmm2
mulsd  %xmm1,%xmm2
mulsd  %xmm1,%xmm2
movsd  %xmm2,0x18(%rsp)
movsd  0xebb(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0x18(%rsp),%xmm0
call   1030 <exp@plt>
movsd  %xmm0,0x18(%rsp)
movsd  0xea5(%rip),%xmm1
movsd  0x8(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0x18(%rsp),%xmm0
movsd  %xmm0,0x18(%rsp)
movsd  0xe8e(%rip),%xmm1
movsd  (%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xe84(%rip),%xmm0
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xe78(%rip),%xmm1
movsd  (%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xe6e(%rip),%xmm0
movsd  0x10(%rsp),%xmm1
mulsd  0x8(%rsp),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xe58(%rip),%xmm1
movsd  (%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xe4e(%rip),%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xe32(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0x20(%rsp),%xmm0
addsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xded(%rip),%xmm1
call   1040 <pow@plt>
movsd  0xe10(%rip),%xmm2
movsd  (%rsp),%xmm1
mulsd  %xmm1,%xmm2
mulsd  %xmm1,%xmm2
mulsd  %xmm2,%xmm0
addsd  0x10(%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xdc6(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0xde1(%rip),%xmm0
addsd  (%rsp),%xmm0
mulsd  0x18(%rsp),%xmm0
add    $0x28,%rsp
ret

LLVM IR (-O0):
define double @HO_8(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* %4
%7 = fmul double -5.000000e-01, %6
%8 = load double, double* %4
%9 = fmul double %7, %8
%10 = load double, double* %3
%11 = call double @pow(double %10, double -2.000000e+00)
%12 = fmul double %9, %11
%13 = call double @exp(double %12)
%14 = load double, double* %3
%15 = call double @pow(double %14, double -8.500000e+00)
%16 = fmul double %13, %15
%17 = load double, double* %4
%18 = call double @pow(double %17, double 6.000000e+00)
%19 = fmul double 0xC0650811615153B0, %18
%20 = load double, double* %3
%21 = fmul double %19, %20
%22 = load double, double* %3
%23 = load double, double* %4
%24 = call double @pow(double %23, double 8.000000e+00)
%25 = fmul double 0x402809386F5D3007, %24
%26 = call double @llvm.fmuladd.f64(double %21, double %22, double %25)
%27 = load double, double* %4
%28 = call double @pow(double %27, double 4.000000e+00)
%29 = fmul double 0x4083B7904B2ED27B, %28
%30 = load double, double* %3
%31 = call double @pow(double %30, double 4.000000e+00)
%32 = call double @llvm.fmuladd.f64(double %29, double %31, double %26)
%33 = load double, double* %4
%34 = fmul double 0x4083B7904B49AA6E, %33
%35 = load double, double* %4
%36 = fmul double %34, %35
%37 = load double, double* %3
%38 = call double @pow(double %37, double 6.000000e+00)
%39 = fneg double %36
%40 = call double @llvm.fmuladd.f64(double %39, double %38, double %32)
%41 = load double, double* %3
%42 = call double @pow(double %41, double 8.000000e+00)
%43 = call double @llvm.fmuladd.f64(double 0x4053B7904B5C74CB, double %42, double %40)
%44 = fmul double %16, %43
store double %44, double* %5
%45 = load double, double* %5
ret double %45
}

LLVM IR (-O2):
define double @HO_8(double %0, double %1) {
%3 = fmul double %1, -5.000000e-01
%4 = fmul double %3, %1
%5 = tail call double @pow(double %0, double -2.000000e+00)
%6 = fmul double %4, %5
%7 = tail call double @exp(double %6)
%8 = tail call double @pow(double %0, double -8.500000e+00)
%9 = fmul double %7, %8
%10 = tail call double @pow(double %1, double 6.000000e+00)
%11 = fmul double %10, 0xC0650811615153B0
%12 = fmul double %11, %0
%13 = tail call double @pow(double %1, double 8.000000e+00)
%14 = fmul double %13, 0x402809386F5D3007
%15 = tail call double @llvm.fmuladd.f64(double %12, double %0, double %14)
%16 = tail call double @pow(double %1, double 4.000000e+00)
%17 = fmul double %16, 0x4083B7904B2ED27B
%18 = tail call double @pow(double %0, double 4.000000e+00)
%19 = tail call double @llvm.fmuladd.f64(double %17, double %18, double %15)
%20 = tail call double @pow(double %0, double 6.000000e+00)
%21 = fmul double %1, 0xC083B7904B49AA6E
%22 = fmul double %21, %1
%23 = tail call double @llvm.fmuladd.f64(double %22, double %20, double %19)
%24 = tail call double @pow(double %0, double 8.000000e+00)
%25 = tail call double @llvm.fmuladd.f64(double %24, double 0x4053B7904B5C74CB, double %23)
%26 = fmul double %9, %25
ret double %26
}