#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 const);
double pow(double const, double);
double sqrt(double);
double HO_6(const double a, const double x) {
  double retval =
      sqrt(0.5e1) * pow(a, 0.1e1 / 0.4e1) *
      (0.8e1 * pow(a, 0.3e1) * pow(x, 0.6e1) - 0.60e2 * a * a * pow(x, 0.4e1) +
       0.90e2 * a * x * x - 0.15e2) *
      exp(-a * x * x / 0.2e1) * pow(0.3141592654e1, -0.1e1 / 0.4e1) / 0.60e2;
  return retval;
}


x86 assembly (clang, -O0):
<HO_6>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  0xf0e(%rip),%xmm0
call   1050 <sqrt@plt>
movsd  %xmm0,-0x50(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xeef(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x50(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xec4(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xeac(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe8e(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,-0x38(%rbp)
movsd  0xe44(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe58(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x48(%rbp),%xmm1
movsd  -0x40(%rbp),%xmm2
movsd  -0x38(%rbp),%xmm3
movaps %xmm0,%xmm4
movsd  -0x30(%rbp),%xmm0
mulsd  %xmm4,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  0xe09(%rip),%xmm1
mulsd  -0x8(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
movsd  -0x10(%rbp),%xmm3
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
movsd  0xde2(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x8(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  -0x10(%rbp),%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  0xd9f(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1030 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0x28(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xd6d(%rip),%xmm0
movsd  0xd6d(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x20(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  0xd44(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<HO_6>:
sub    $0x28,%rsp
movsd  %xmm1,0x8(%rsp)
movsd  %xmm0,0x10(%rsp)
movsd  0xec8(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0xec3(%rip),%xmm0
movsd  %xmm0,(%rsp)
movsd  0xebe(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xeb3(%rip),%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  0xead(%rip),%xmm1
movsd  0x8(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x18(%rsp)
movsd  0xe9c(%rip),%xmm1
movsd  0x8(%rsp),%xmm0
call   1040 <pow@plt>
movsd  0xe91(%rip),%xmm1
movsd  0x10(%rsp),%xmm2
mulsd  %xmm2,%xmm1
mulsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0x18(%rsp),%xmm1
mulsd  0x20(%rsp),%xmm1
addsd  %xmm1,%xmm0
movsd  0xe6f(%rip),%xmm3
mulsd  %xmm2,%xmm3
movsd  0x8(%rsp),%xmm1
mulsd  %xmm1,%xmm3
mulsd  %xmm1,%xmm3
addsd  %xmm3,%xmm0
addsd  0xe59(%rip),%xmm0
mulsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movapd %xmm2,%xmm0
mulsd  %xmm1,%xmm0
mulsd  %xmm1,%xmm0
mulsd  0xe43(%rip),%xmm0
call   1030 <exp@plt>
mulsd  (%rsp),%xmm0
mulsd  0xe39(%rip),%xmm0
divsd  0xe39(%rip),%xmm0
add    $0x28,%rsp
ret

LLVM IR (-O0):
define double @HO_6(double %0, double %1) {
%3 = alloca double
%4 = alloca double
%5 = alloca double
store double %0, double* %3
store double %1, double* %4
%6 = call double @sqrt(double 5.000000e+00)
%7 = load double, double* %3
%8 = call double @pow(double %7, double 2.500000e-01)
%9 = fmul double %6, %8
%10 = load double, double* %3
%11 = call double @pow(double %10, double 3.000000e+00)
%12 = fmul double 8.000000e+00, %11
%13 = load double, double* %4
%14 = call double @pow(double %13, double 6.000000e+00)
%15 = load double, double* %3
%16 = fmul double 6.000000e+01, %15
%17 = load double, double* %3
%18 = fmul double %16, %17
%19 = load double, double* %4
%20 = call double @pow(double %19, double 4.000000e+00)
%21 = fmul double %18, %20
%22 = fneg double %21
%23 = call double @llvm.fmuladd.f64(double %12, double %14, double %22)
%24 = load double, double* %3
%25 = fmul double 9.000000e+01, %24
%26 = load double, double* %4
%27 = fmul double %25, %26
%28 = load double, double* %4
%29 = call double @llvm.fmuladd.f64(double %27, double %28, double %23)
%30 = fsub double %29, 1.500000e+01
%31 = fmul double %9, %30
%32 = load double, double* %3
%33 = fneg double %32
%34 = load double, double* %4
%35 = fmul double %33, %34
%36 = load double, double* %4
%37 = fmul double %35, %36
%38 = fdiv double %37, 2.000000e+00
%39 = call double @exp(double %38)
%40 = fmul double %31, %39
%41 = call double @pow(double 0x400921FB54524550, double -2.500000e-01)
%42 = fmul double %40, %41
%43 = fdiv double %42, 6.000000e+01
store double %43, double* %5
%44 = load double, double* %5
ret double %44
}

LLVM IR (-O2):
define double @HO_6(double %0, double %1) {
%3 = tail call double @pow(double %0, double 2.500000e-01)
%4 = fmul double %3, 0x4001E3779B97F4A8
%5 = tail call double @pow(double %0, double 3.000000e+00)
%6 = fmul double %5, 8.000000e+00
%7 = tail call double @pow(double %1, double 6.000000e+00)
%8 = tail call double @pow(double %1, double 4.000000e+00)
%9 = fmul double %0, -6.000000e+01
%10 = fmul double %9, %0
%11 = fmul double %10, %8
%12 = tail call double @llvm.fmuladd.f64(double %6, double %7, double %11)
%13 = fmul double %0, 9.000000e+01
%14 = fmul double %13, %1
%15 = tail call double @llvm.fmuladd.f64(double %14, double %1, double %12)
%16 = fadd double %15, -1.500000e+01
%17 = fmul double %4, %16
%18 = fneg double %0
%19 = fmul double %18, %1
%20 = fmul double %19, %1
%21 = fmul double %20, 5.000000e-01
%22 = tail call double @exp(double %21)
%23 = fmul double %22, %17
%24 = fmul double %23, 0x3FE809387011FA5F
%25 = fdiv double %24, 6.000000e+01
ret double %25
}