#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_18(const double L, const double x) {
  double retval = -0.2588335426e8 *
                  exp(-0.5000000000e0 * x * x * pow(L, -0.2e1)) *
                  pow(L, -0.37e2 / 0.2e1) *
                  (-0.1485805409e-4 * pow(x, 0.18e2) +
                   0.1136641137e-2 * pow(x, 0.16e2) * L * L -
                   0.3409923410e-1 * pow(x, 0.14e2) * pow(L, 0.4e1) +
                   0.5171717173e0 * pow(x, 0.12e2) * pow(L, 0.6e1) -
                   0.4266666665e1 * pow(x, 0.10e2) * pow(L, 0.8e1) +
                   0.1920000000e2 * pow(x, 0.8e1) * pow(L, 0.10e2) -
                   0.4480000001e2 * pow(x, 0.6e1) * pow(L, 0.12e2) +
                   0.4800000002e2 * pow(x, 0.4e1) * pow(L, 0.14e2) -
                   0.1799999999e2 * x * x * pow(L, 0.16e2) +
                   0.1000000000e1 * pow(L, 0.18e2));
  return retval;
}


x86 assembly (clang, -O0):
<HO_18>:
push   %rbp
mov    %rsp,%rbp
sub    $0xb0,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  0xf63(%rip),%xmm0
mulsd  -0x10(%rbp),%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
movsd  0xf3c(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0xb0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
call   1030 <exp@plt>
movaps %xmm0,%xmm1
movsd  0xf10(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
movsd  0xeef(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0xa8(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe41(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
movsd  0xe2f(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm2
movsd  -0xa0(%rbp),%xmm0
ff
movsd  0xe8f(%rip),%xmm1
mulsd  %xmm2,%xmm1
mulsd  -0x8(%rbp),%xmm1
mulsd  -0x8(%rbp),%xmm1
movsd  0xe71(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
movsd  0xdf4(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xe3c(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
movsd  0xddb(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x98(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movsd  -0x90(%rbp),%xmm0
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
movsd  0xd97(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xdbf(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xd81(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x88(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movsd  -0x80(%rbp),%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xd5a(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xd62(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xd44(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x78(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x70(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xd01(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xce9(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xccb(%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  0xc97(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xc7f(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xc61(%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  0xc16(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xbfe(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xbe0(%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  0xbb1(%rip),%xmm0
mulsd  -0x10(%rbp),%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xb8d(%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  0xb42(%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    $0xb0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<HO_18>:
sub    $0x28,%rsp
movsd  %xmm0,0x18(%rsp)
movsd  0xece(%rip),%xmm2
movsd  %xmm1,0x10(%rsp)
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  0x18(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0x20(%rsp),%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  0xe8d(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,(%rsp)
movsd  0xe7d(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xe72(%rip),%xmm0
movsd  0x18(%rsp),%xmm1
mulsd  %xmm1,%xmm0
mulsd  %xmm1,%xmm0
movsd  (%rsp),%xmm1
mulsd  0xe5f(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rsp)
movsd  0xe56(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x8(%rsp)
movsd  0xe45(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
movsd  0x8(%rsp),%xmm1
mulsd  0xe34(%rip),%xmm1
mulsd  %xmm1,%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0xe26(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xe1b(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xe15(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0x8(%rsp),%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0xdfa(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x8(%rsp)
movsd  0xde9(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
movsd  0x8(%rsp),%xmm1
mulsd  0xdd8(%rip),%xmm1
mulsd  %xmm1,%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0xdb4(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0xdb7(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x18(%rsp),%xmm0
movsd  0xd8b(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0x8(%rsp),%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0xd60(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,0x8(%rsp)
movsd  0x18(%rsp),%xmm0
movsd  0xd37(%rip),%xmm1
call   1040 <pow@plt>
movsd  0x8(%rsp),%xmm1
mulsd  0xd5c(%rip),%xmm1
mulsd  %xmm1,%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0xcf8(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0xd3b(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x18(%rsp),%xmm0
movsd  0xccf(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0x8(%rsp),%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x18(%rsp),%xmm0
movsd  0xc94(%rip),%xmm1
call   1040 <pow@plt>
movsd  0xcff(%rip),%xmm2
movsd  0x10(%rsp),%xmm1
mulsd  %xmm1,%xmm2
mulsd  %xmm1,%xmm2
mulsd  %xmm2,%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0x18(%rsp),%xmm0
movsd  0xc54(%rip),%xmm1
call   1040 <pow@plt>
addsd  0x10(%rsp),%xmm0
mulsd  0x20(%rsp),%xmm0
add    $0x28,%rsp
ret

LLVM IR (-O0):
define double @HO_18(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 0xC178AF2DA428F5C3, %13
%15 = load double, double* %3
%16 = call double @pow(double %15, double -1.850000e+01)
%17 = fmul double %14, %16
%18 = load double, double* %4
%19 = call double @pow(double %18, double 1.800000e+01)
%20 = load double, double* %4
%21 = call double @pow(double %20, double 1.600000e+01)
%22 = fmul double 0x3F529F6B20AF5CB5, %21
%23 = load double, double* %3
%24 = fmul double %22, %23
%25 = load double, double* %3
%26 = fmul double %24, %25
%27 = call double @llvm.fmuladd.f64(double 0xBEEF28DB679E596F, double %19, double %26)
%28 = load double, double* %4
%29 = call double @pow(double %28, double 1.400000e+01)
%30 = fmul double 0x3FA175746E8E696A, %29
%31 = load double, double* %3
%32 = call double @pow(double %31, double 4.000000e+00)
%33 = fneg double %30
%34 = call double @llvm.fmuladd.f64(double %33, double %32, double %27)
%35 = load double, double* %4
%36 = call double @pow(double %35, double 1.200000e+01)
%37 = fmul double 0x3FE08CABB387076F, %36
%38 = load double, double* %3
%39 = call double @pow(double %38, double 6.000000e+00)
%40 = call double @llvm.fmuladd.f64(double %37, double %39, double %34)
%41 = load double, double* %4
%42 = call double @pow(double %41, double 1.000000e+01)
%43 = fmul double 0x4011111110F46EFD, %42
%44 = load double, double* %3
%45 = call double @pow(double %44, double 8.000000e+00)
%46 = fneg double %43
%47 = call double @llvm.fmuladd.f64(double %46, double %45, double %40)
%48 = load double, double* %4
%49 = call double @pow(double %48, double 8.000000e+00)
%50 = fmul double 1.920000e+01, %49
%51 = load double, double* %3
%52 = call double @pow(double %51, double 1.000000e+01)
%53 = call double @llvm.fmuladd.f64(double %50, double %52, double %47)
%54 = load double, double* %4
%55 = call double @pow(double %54, double 6.000000e+00)
%56 = fmul double 0x40466666667BDFF5, %55
%57 = load double, double* %3
%58 = call double @pow(double %57, double 1.200000e+01)
%59 = fneg double %56
%60 = call double @llvm.fmuladd.f64(double %59, double %58, double %53)
%61 = load double, double* %4
%62 = call double @pow(double %61, double 4.000000e+00)
%63 = fmul double 0x40480000002AF31E, %62
%64 = load double, double* %3
%65 = call double @pow(double %64, double 1.400000e+01)
%66 = call double @llvm.fmuladd.f64(double %63, double %65, double %60)
%67 = load double, double* %4
%68 = fmul double 0x4031FFFFFFD50CE2, %67
%69 = load double, double* %4
%70 = fmul double %68, %69
%71 = load double, double* %3
%72 = call double @pow(double %71, double 1.600000e+01)
%73 = fneg double %70
%74 = call double @llvm.fmuladd.f64(double %73, double %72, double %66)
%75 = load double, double* %3
%76 = call double @pow(double %75, double 1.800000e+01)
%77 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %76, double %74)
%78 = fmul double %17, %77
store double %78, double* %5
%79 = load double, double* %5
ret double %79
}

LLVM IR (-O2):
define double @HO_18(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, 0xC178AF2DA428F5C3
%9 = tail call double @pow(double %0, double -1.850000e+01)
%10 = fmul double %8, %9
%11 = tail call double @pow(double %1, double 1.800000e+01)
%12 = tail call double @pow(double %1, double 1.600000e+01)
%13 = fmul double %12, 0x3F529F6B20AF5CB5
%14 = fmul double %13, %0
%15 = fmul double %14, %0
%16 = tail call double @llvm.fmuladd.f64(double %11, double 0xBEEF28DB679E596F, double %15)
%17 = tail call double @pow(double %1, double 1.400000e+01)
%18 = tail call double @pow(double %0, double 4.000000e+00)
%19 = fmul double %17, 0xBFA175746E8E696A
%20 = tail call double @llvm.fmuladd.f64(double %19, double %18, double %16)
%21 = tail call double @pow(double %1, double 1.200000e+01)
%22 = fmul double %21, 0x3FE08CABB387076F
%23 = tail call double @pow(double %0, double 6.000000e+00)
%24 = tail call double @llvm.fmuladd.f64(double %22, double %23, double %20)
%25 = tail call double @pow(double %1, double 1.000000e+01)
%26 = tail call double @pow(double %0, double 8.000000e+00)
%27 = fmul double %25, 0xC011111110F46EFD
%28 = tail call double @llvm.fmuladd.f64(double %27, double %26, double %24)
%29 = tail call double @pow(double %1, double 8.000000e+00)
%30 = fmul double %29, 1.920000e+01
%31 = tail call double @pow(double %0, double 1.000000e+01)
%32 = tail call double @llvm.fmuladd.f64(double %30, double %31, double %28)
%33 = tail call double @pow(double %1, double 6.000000e+00)
%34 = tail call double @pow(double %0, double 1.200000e+01)
%35 = fmul double %33, 0xC0466666667BDFF5
%36 = tail call double @llvm.fmuladd.f64(double %35, double %34, double %32)
%37 = tail call double @pow(double %1, double 4.000000e+00)
%38 = fmul double %37, 0x40480000002AF31E
%39 = tail call double @pow(double %0, double 1.400000e+01)
%40 = tail call double @llvm.fmuladd.f64(double %38, double %39, double %36)
%41 = tail call double @pow(double %0, double 1.600000e+01)
%42 = fmul double %1, 0xC031FFFFFFD50CE2
%43 = fmul double %42, %1
%44 = tail call double @llvm.fmuladd.f64(double %43, double %41, double %40)
%45 = tail call double @pow(double %0, double 1.800000e+01)
%46 = fadd double %45, %44
%47 = fmul double %10, %46
ret double %47
}