#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_12(const double L, const double x) {
  double retval = 0.7807950016e4 *
                  exp(-0.5000000000e0 * x * x * pow(L, -0.2e1)) *
                  pow(L, -0.25e2 / 0.2e1) *
                  (-0.2031746031e0 * pow(x, 0.10e2) * L * L +
                   0.6156806159e-2 * pow(x, 0.12e2) +
                   0.2285714286e1 * pow(x, 0.8e1) * pow(L, 0.4e1) -
                   0.1066666666e2 * pow(x, 0.6e1) * pow(L, 0.6e1) +
                   0.2000000000e2 * pow(x, 0.4e1) * pow(L, 0.8e1) -
                   0.1199999999e2 * x * x * pow(L, 0.10e2) +
                   0.1000000000e1 * pow(L, 0.12e2));
  return retval;
}


x86 assembly (clang, -O0):
<HO_12>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  0xf33(%rip),%xmm0
mulsd  -0x10(%rbp),%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
movsd  0xf0c(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x88(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
call   1030 <exp@plt>
movaps %xmm0,%xmm1
movsd  0xee0(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xec2(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x80(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe4f(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xe87(%rip),%xmm0
mulsd  %xmm1,%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe12(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x78(%rbp),%xmm2
movaps %xmm0,%xmm3
movsd  -0x70(%rbp),%xmm0
movsd  0xe40(%rip),%xmm1
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xdf2(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xe0a(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xddc(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x68(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x60(%rbp),%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xdb8(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xdb0(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xd92(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x58(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x50(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xd47(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xd2f(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xd11(%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  0xce2(%rip),%xmm0
mulsd  -0x10(%rbp),%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xcbe(%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  0xc73(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x28(%rbp),%xmm2
movaps %xmm0,%xmm1
movsd  -0x20(%rbp),%xmm0
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<HO_12>:
sub    $0x28,%rsp
movsd  %xmm1,0x8(%rsp)
movsd  %xmm0,0x10(%rsp)
movsd  0xec8(%rip),%xmm2
mulsd  %xmm1,%xmm2
mulsd  %xmm1,%xmm2
movsd  %xmm2,0x20(%rsp)
movsd  0xeba(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0x20(%rsp),%xmm0
call   1030 <exp@plt>
mulsd  0xeaa(%rip),%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  0xea4(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0x20(%rsp),%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  0xe8d(%rip),%xmm1
movsd  0x8(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xe82(%rip),%xmm0
mulsd  0x10(%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0xe77(%rip),%xmm1
movsd  0x8(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xe6c(%rip),%xmm0
movsd  (%rsp),%xmm1
mulsd  0x10(%rsp),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rsp)
movsd  0xe58(%rip),%xmm1
movsd  0x8(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xe4d(%rip),%xmm0
movsd  %xmm0,0x18(%rsp)
movsd  0xe47(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0x18(%rsp),%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0xe2c(%rip),%xmm1
movsd  0x8(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x18(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0xe0d(%rip),%xmm1
call   1040 <pow@plt>
movsd  0x18(%rsp),%xmm1
mulsd  0xe02(%rip),%xmm1
mulsd  %xmm1,%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xdd6(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0xde1(%rip),%xmm0
movsd  %xmm0,0x18(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0xda5(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0x18(%rsp),%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0xd62(%rip),%xmm1
call   1040 <pow@plt>
movsd  0xda5(%rip),%xmm2
movsd  0x8(%rsp),%xmm1
mulsd  %xmm1,%xmm2
mulsd  %xmm1,%xmm2
mulsd  %xmm2,%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0xd3a(%rip),%xmm1
call   1040 <pow@plt>
addsd  0x8(%rsp),%xmm0
mulsd  0x20(%rsp),%xmm0
add    $0x28,%rsp
ret

LLVM IR (-O0):
define double @HO_12(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 = fmul double 0x40BE7FF3343FA2AD, %13
%15 = load double, double* %3
%16 = call double @pow(double %15, double -1.250000e+01)
%17 = fmul double %14, %16
%18 = load double, double* %4
%19 = call double @pow(double %18, double 1.000000e+01)
%20 = fmul double 0xBFCA01A019D89CA3, %19
%21 = load double, double* %3
%22 = fmul double %20, %21
%23 = load double, double* %3
%24 = load double, double* %4
%25 = call double @pow(double %24, double 1.200000e+01)
%26 = fmul double 0x3F7937E1119C88C6, %25
%27 = call double @llvm.fmuladd.f64(double %22, double %23, double %26)
%28 = load double, double* %4
%29 = call double @pow(double %28, double 8.000000e+00)
%30 = fmul double 0x400249249252F5BE, %29
%31 = load double, double* %3
%32 = call double @pow(double %31, double 4.000000e+00)
%33 = call double @llvm.fmuladd.f64(double %30, double %32, double %27)
%34 = load double, double* %4
%35 = call double @pow(double %34, double 6.000000e+00)
%36 = fmul double 0x40255555551C112E, %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 %33)
%41 = load double, double* %4
%42 = call double @pow(double %41, double 4.000000e+00)
%43 = fmul double 2.000000e+01, %42
%44 = load double, double* %3
%45 = call double @pow(double %44, double 8.000000e+00)
%46 = call double @llvm.fmuladd.f64(double %43, double %45, double %40)
%47 = load double, double* %4
%48 = fmul double 0x4027FFFFFFAA19C4, %47
%49 = load double, double* %4
%50 = fmul double %48, %49
%51 = load double, double* %3
%52 = call double @pow(double %51, double 1.000000e+01)
%53 = fneg double %50
%54 = call double @llvm.fmuladd.f64(double %53, double %52, double %46)
%55 = load double, double* %3
%56 = call double @pow(double %55, double 1.200000e+01)
%57 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %56, double %54)
%58 = fmul double %17, %57
store double %58, double* %5
%59 = load double, double* %5
ret double %59
}

LLVM IR (-O2):
define double @HO_12(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 = fmul double %7, 0x40BE7FF3343FA2AD
%9 = tail call double @pow(double %0, double -1.250000e+01)
%10 = fmul double %8, %9
%11 = tail call double @pow(double %1, double 1.000000e+01)
%12 = fmul double %11, 0xBFCA01A019D89CA3
%13 = fmul double %12, %0
%14 = tail call double @pow(double %1, double 1.200000e+01)
%15 = fmul double %14, 0x3F7937E1119C88C6
%16 = tail call double @llvm.fmuladd.f64(double %13, double %0, double %15)
%17 = tail call double @pow(double %1, double 8.000000e+00)
%18 = fmul double %17, 0x400249249252F5BE
%19 = tail call double @pow(double %0, double 4.000000e+00)
%20 = tail call double @llvm.fmuladd.f64(double %18, double %19, double %16)
%21 = tail call double @pow(double %1, double 6.000000e+00)
%22 = tail call double @pow(double %0, double 6.000000e+00)
%23 = fmul double %21, 0xC0255555551C112E
%24 = tail call double @llvm.fmuladd.f64(double %23, double %22, double %20)
%25 = tail call double @pow(double %1, double 4.000000e+00)
%26 = fmul double %25, 2.000000e+01
%27 = tail call double @pow(double %0, double 8.000000e+00)
%28 = tail call double @llvm.fmuladd.f64(double %26, double %27, double %24)
%29 = tail call double @pow(double %0, double 1.000000e+01)
%30 = fmul double %1, 0xC027FFFFFFAA19C4
%31 = fmul double %30, %1
%32 = tail call double @llvm.fmuladd.f64(double %31, double %29, double %28)
%33 = tail call double @pow(double %0, double 1.200000e+01)
%34 = fadd double %33, %32
%35 = fmul double %10, %34
ret double %35
}