#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_10(const double L, const double x) {
  double retval = -0.7098136374e3 *
                  exp(-0.5000000000e0 * x * x * pow(L, -0.2e1)) *
                  pow(L, -0.21e2 / 0.2e1) *
                  (0.7619047622e0 * pow(x, 0.8e1) * L * L -
                   0.3386243390e-1 * pow(x, 0.10e2) -
                   0.5333333335e1 * pow(x, 0.6e1) * pow(L, 0.4e1) +
                   0.1333333334e2 * pow(x, 0.4e1) * pow(L, 0.6e1) -
                   0.1000000000e2 * x * x * pow(L, 0.8e1) +
                   0.1000000000e1 * pow(L, 0.10e2));
  return retval;
}


x86 assembly (clang, -O0):
<HO_10>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  0xf1b(%rip),%xmm0
mulsd  -0x10(%rbp),%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xef7(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x78(%rbp),%xmm0
mulsd  %xmm1,%xmm0
call   1030 <exp@plt>
movaps %xmm0,%xmm1
movsd  0xece(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xeb0(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x70(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe55(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xe75(%rip),%xmm0
mulsd  %xmm1,%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe18(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x68(%rbp),%xmm2
movaps %xmm0,%xmm3
movsd  -0x60(%rbp),%xmm0
movsd  0xe2e(%rip),%xmm1
mulsd  %xmm3,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xdd9(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xde1(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xdc3(%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  0xd80(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xd68(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xd4a(%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  0xd13(%rip),%xmm0
mulsd  -0x10(%rbp),%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xcff(%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  0xcb4(%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    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<HO_10>:
sub    $0x28,%rsp
movsd  %xmm1,0x8(%rsp)
movsd  %xmm0,0x10(%rsp)
movsd  0xec8(%rip),%xmm2
mulsd  %xmm1,%xmm2
mulsd  %xmm1,%xmm2
movsd  %xmm2,0x18(%rsp)
movsd  0xeba(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0x18(%rsp),%xmm0
call   1030 <exp@plt>
mulsd  0xeaa(%rip),%xmm0
movsd  %xmm0,0x18(%rsp)
movsd  0xea4(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0x18(%rsp),%xmm0
movsd  %xmm0,0x18(%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>
movsd  %xmm0,0x20(%rsp)
movsd  0xe47(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
movsd  0x20(%rsp),%xmm1
mulsd  0xe36(%rip),%xmm1
mulsd  %xmm1,%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xe12(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0xe15(%rip),%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0xde9(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0x20(%rsp),%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0xda6(%rip),%xmm1
call   1040 <pow@plt>
movsd  0xdd9(%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  0xd7e(%rip),%xmm1
call   1040 <pow@plt>
addsd  0x8(%rsp),%xmm0
mulsd  0x18(%rsp),%xmm0
add    $0x28,%rsp
ret

LLVM IR (-O0):
define double @HO_10(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 0xC0862E8254533E6B, %13
%15 = load double, double* %3
%16 = call double @pow(double %15, double -1.050000e+01)
%17 = fmul double %14, %16
%18 = load double, double* %4
%19 = call double @pow(double %18, double 8.000000e+00)
%20 = fmul double 0x3FE86186188A19DD, %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.000000e+01)
%26 = fmul double 0x3FA1566ABC53B142, %25
%27 = fneg double %26
%28 = call double @llvm.fmuladd.f64(double %22, double %23, double %27)
%29 = load double, double* %4
%30 = call double @pow(double %29, double 6.000000e+00)
%31 = fmul double 0x401555555571F769, %30
%32 = load double, double* %3
%33 = call double @pow(double %32, double 4.000000e+00)
%34 = fneg double %31
%35 = call double @llvm.fmuladd.f64(double %34, double %33, double %28)
%36 = load double, double* %4
%37 = call double @pow(double %36, double 4.000000e+00)
%38 = fmul double 0x402AAAAAAAE3EED2, %37
%39 = load double, double* %3
%40 = call double @pow(double %39, double 6.000000e+00)
%41 = call double @llvm.fmuladd.f64(double %38, double %40, double %35)
%42 = load double, double* %4
%43 = fmul double 1.000000e+01, %42
%44 = load double, double* %4
%45 = fmul double %43, %44
%46 = load double, double* %3
%47 = call double @pow(double %46, double 8.000000e+00)
%48 = fneg double %45
%49 = call double @llvm.fmuladd.f64(double %48, double %47, double %41)
%50 = load double, double* %3
%51 = call double @pow(double %50, double 1.000000e+01)
%52 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %51, double %49)
%53 = fmul double %17, %52
store double %53, double* %5
%54 = load double, double* %5
ret double %54
}

LLVM IR (-O2):
define double @HO_10(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, 0xC0862E8254533E6B
%9 = tail call double @pow(double %0, double -1.050000e+01)
%10 = fmul double %8, %9
%11 = tail call double @pow(double %1, double 8.000000e+00)
%12 = fmul double %11, 0x3FE86186188A19DD
%13 = fmul double %12, %0
%14 = tail call double @pow(double %1, double 1.000000e+01)
%15 = fmul double %14, 0xBFA1566ABC53B142
%16 = tail call double @llvm.fmuladd.f64(double %13, double %0, double %15)
%17 = tail call double @pow(double %1, double 6.000000e+00)
%18 = tail call double @pow(double %0, double 4.000000e+00)
%19 = fmul double %17, 0xC01555555571F769
%20 = tail call double @llvm.fmuladd.f64(double %19, double %18, double %16)
%21 = tail call double @pow(double %1, double 4.000000e+00)
%22 = fmul double %21, 0x402AAAAAAAE3EED2
%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 %0, double 8.000000e+00)
%26 = fmul double %1, -1.000000e+01
%27 = fmul double %26, %1
%28 = tail call double @llvm.fmuladd.f64(double %27, double %25, double %24)
%29 = tail call double @pow(double %0, double 1.000000e+01)
%30 = fadd double %29, %28
%31 = fmul double %10, %30
ret double %31
}