#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 const exp(double);
double pow(double const, double);
double HO_5(const double L, const double x) {
  double retval =
      x * exp(-0.5000000000e0 * x * x * pow(L, -0.2e1)) *
      pow(L, -0.11e2 / 0.2e1) *
      (-0.2124503861e2 * x * x * L * L + 0.4249007722e1 * pow(x, 0.4e1) +
       0.1593377897e2 * pow(L, 0.4e1));
  return retval;
}


x86 assembly (clang, -O0):
<HO_5>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  0xeec(%rip),%xmm0
mulsd  -0x10(%rbp),%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xec8(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x50(%rbp),%xmm0
mulsd  %xmm1,%xmm0
call   1030 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0x48(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xe8c(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x40(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xe66(%rip),%xmm0
mulsd  -0x10(%rbp),%xmm0
mulsd  -0x10(%rbp),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe2b(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x38(%rbp),%xmm2
movaps %xmm0,%xmm3
movsd  -0x30(%rbp),%xmm0
movsd  0xe19(%rip),%xmm1
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xdf3(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x28(%rbp),%xmm2
movaps %xmm0,%xmm1
movsd  -0x20(%rbp),%xmm0
movsd  0xdd1(%rip),%xmm3
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<HO_5>:
sub    $0x28,%rsp
movsd  %xmm1,0x10(%rsp)
movsd  %xmm0,0x18(%rsp)
movsd  0xec8(%rip),%xmm2
mulsd  %xmm1,%xmm2
mulsd  %xmm1,%xmm2
movsd  %xmm2,0x8(%rsp)
movsd  0xeba(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0x8(%rsp),%xmm0
call   1030 <exp@plt>
mulsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xe9e(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xe87(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
mulsd  %xmm0,%xmm1
mulsd  %xmm0,%xmm1
mulsd  0x18(%rsp),%xmm1
movsd  %xmm1,0x20(%rsp)
movsd  0xe6d(%rip),%xmm1
call   1040 <pow@plt>
movapd %xmm0,%xmm1
mulsd  0xe64(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
movsd  0x20(%rsp),%xmm2
mulsd  %xmm0,%xmm2
addsd  %xmm2,%xmm1
movsd  %xmm1,0x10(%rsp)
movsd  0xe3a(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0xe3d(%rip),%xmm0
addsd  0x10(%rsp),%xmm0
mulsd  0x8(%rsp),%xmm0
add    $0x28,%rsp
ret

LLVM IR (-O0):
define double @HO_5(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 = load double, double* %4
%8 = fmul double -5.000000e-01, %7
%9 = load double, double* %4
%10 = fmul double %8, %9
%11 = load double, double* %3
%12 = call double @pow(double %11, double -2.000000e+00)
%13 = fmul double %10, %12
%14 = call double @exp(double %13)
%15 = fmul double %6, %14
%16 = load double, double* %3
%17 = call double @pow(double %16, double -5.500000e+00)
%18 = fmul double %15, %17
%19 = load double, double* %4
%20 = fmul double 0xC0353EBAD9B03512, %19
%21 = load double, double* %4
%22 = fmul double %20, %21
%23 = load double, double* %3
%24 = fmul double %22, %23
%25 = load double, double* %3
%26 = load double, double* %4
%27 = call double @pow(double %26, double 4.000000e+00)
%28 = fmul double 0x4010FEFBE159C40E, %27
%29 = call double @llvm.fmuladd.f64(double %24, double %25, double %28)
%30 = load double, double* %3
%31 = call double @pow(double %30, double 4.000000e+00)
%32 = call double @llvm.fmuladd.f64(double 0x402FDE1846F3AF65, double %31, double %29)
%33 = fmul double %18, %32
store double %33, double* %5
%34 = load double, double* %5
ret double %34
}

LLVM IR (-O2):
define double @HO_5(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, %1
%9 = tail call double @pow(double %0, double -5.500000e+00)
%10 = fmul double %8, %9
%11 = fmul double %1, 0xC0353EBAD9B03512
%12 = fmul double %11, %1
%13 = fmul double %12, %0
%14 = tail call double @pow(double %1, double 4.000000e+00)
%15 = fmul double %14, 0x4010FEFBE159C40E
%16 = tail call double @llvm.fmuladd.f64(double %13, double %0, double %15)
%17 = tail call double @pow(double %0, double 4.000000e+00)
%18 = tail call double @llvm.fmuladd.f64(double %17, double 0x402FDE1846F3AF65, double %16)
%19 = fmul double %10, %18
ret double %19
}