#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 const);
double const pow(double const, double);
double const sqrt(double);
double HO_9(const double a, const double x) {
  double retval =
      sqrt(0.35e2) * pow(a, 0.3e1 / 0.4e1) * x *
      (0.16e2 * pow(a, 0.4e1) * pow(x, 0.8e1) -
       0.288e3 * pow(a, 0.3e1) * pow(x, 0.6e1) +
       0.1512e4 * a * a * pow(x, 0.4e1) - 0.2520e4 * a * x * x + 0.945e3) *
      exp(-a * x * x / 0.2e1) * pow(0.3141592654e1, -0.1e1 / 0.4e1) / 0.2520e4;
  return retval;
}


x86 assembly (clang, -O0):
<HO_9>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  0xf1e(%rip),%xmm0
call   1050 <sqrt@plt>
movsd  %xmm0,-0x60(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xeff(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x60(%rbp),%xmm0
mulsd  %xmm1,%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xe9f(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xebf(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xea1(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,-0x50(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xe82(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xe6a(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe4c(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x58(%rbp),%xmm1
movsd  -0x50(%rbp),%xmm2
movaps %xmm0,%xmm3
movsd  -0x48(%rbp),%xmm0
mulsd  %xmm3,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0xdfd(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xdd9(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x40(%rbp),%xmm2
movsd  -0x38(%rbp),%xmm1
movaps %xmm0,%xmm3
movsd  -0x30(%rbp),%xmm0
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  0xd8a(%rip),%xmm1
mulsd  -0x8(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
movsd  -0x10(%rbp),%xmm3
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
movsd  0xd74(%rip),%xmm2
addsd  %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  0xd31(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1030 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0x28(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xcff(%rip),%xmm0
movsd  0xcff(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x20(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  0xcd6(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<HO_9>:
sub    $0x38,%rsp
movsd  %xmm1,0x8(%rsp)
movsd  %xmm0,0x10(%rsp)
movsd  0xec8(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0xec3(%rip),%xmm0
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x28(%rsp)
movsd  0xeb7(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xeac(%rip),%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  0xea6(%rip),%xmm1
movsd  0x8(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x18(%rsp)
movsd  0xe95(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x30(%rsp)
movsd  0xe84(%rip),%xmm1
movsd  0x8(%rsp),%xmm0
call   1040 <pow@plt>
movsd  0x30(%rsp),%xmm1
mulsd  0xe73(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0x18(%rsp),%xmm1
mulsd  0x20(%rsp),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  0xe59(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
mulsd  %xmm0,%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x18(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xe07(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0x18(%rsp),%xmm0
addsd  0x20(%rsp),%xmm0
movsd  0xe26(%rip),%xmm2
movsd  0x10(%rsp),%xmm3
mulsd  %xmm3,%xmm2
movsd  0x8(%rsp),%xmm1
mulsd  %xmm1,%xmm2
mulsd  %xmm1,%xmm2
addsd  %xmm2,%xmm0
addsd  0xe0a(%rip),%xmm0
mulsd  0x28(%rsp),%xmm0
movsd  %xmm0,0x28(%rsp)
movapd %xmm3,%xmm0
mulsd  %xmm1,%xmm0
mulsd  %xmm1,%xmm0
mulsd  0xdf2(%rip),%xmm0
call   1030 <exp@plt>
mulsd  0x28(%rsp),%xmm0
mulsd  0xde7(%rip),%xmm0
divsd  0xde7(%rip),%xmm0
add    $0x38,%rsp
ret

LLVM IR (-O0):
define double @HO_9(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 3.500000e+01)
%7 = load double, double* %3
%8 = call double @pow(double %7, double 7.500000e-01)
%9 = fmul double %6, %8
%10 = load double, double* %4
%11 = fmul double %9, %10
%12 = load double, double* %3
%13 = call double @pow(double %12, double 4.000000e+00)
%14 = fmul double 1.600000e+01, %13
%15 = load double, double* %4
%16 = call double @pow(double %15, double 8.000000e+00)
%17 = load double, double* %3
%18 = call double @pow(double %17, double 3.000000e+00)
%19 = fmul double 2.880000e+02, %18
%20 = load double, double* %4
%21 = call double @pow(double %20, double 6.000000e+00)
%22 = fmul double %19, %21
%23 = fneg double %22
%24 = call double @llvm.fmuladd.f64(double %14, double %16, double %23)
%25 = load double, double* %3
%26 = fmul double 1.512000e+03, %25
%27 = load double, double* %3
%28 = fmul double %26, %27
%29 = load double, double* %4
%30 = call double @pow(double %29, double 4.000000e+00)
%31 = call double @llvm.fmuladd.f64(double %28, double %30, double %24)
%32 = load double, double* %3
%33 = fmul double 2.520000e+03, %32
%34 = load double, double* %4
%35 = fmul double %33, %34
%36 = load double, double* %4
%37 = fneg double %35
%38 = call double @llvm.fmuladd.f64(double %37, double %36, double %31)
%39 = fadd double %38, 9.450000e+02
%40 = fmul double %11, %39
%41 = load double, double* %3
%42 = fneg double %41
%43 = load double, double* %4
%44 = fmul double %42, %43
%45 = load double, double* %4
%46 = fmul double %44, %45
%47 = fdiv double %46, 2.000000e+00
%48 = call double @exp(double %47)
%49 = fmul double %40, %48
%50 = call double @pow(double 0x400921FB54524550, double -2.500000e-01)
%51 = fmul double %49, %50
%52 = fdiv double %51, 2.520000e+03
store double %52, double* %5
%53 = load double, double* %5
ret double %53
}

LLVM IR (-O2):
define double @HO_9(double %0, double %1) {
%3 = tail call double @pow(double %0, double 7.500000e-01)
%4 = fmul double %3, 0x4017AA10D193C22D
%5 = fmul double %4, %1
%6 = tail call double @pow(double %0, double 4.000000e+00)
%7 = fmul double %6, 1.600000e+01
%8 = tail call double @pow(double %1, double 8.000000e+00)
%9 = tail call double @pow(double %0, double 3.000000e+00)
%10 = tail call double @pow(double %1, double 6.000000e+00)
%11 = fmul double %9, -2.880000e+02
%12 = fmul double %11, %10
%13 = tail call double @llvm.fmuladd.f64(double %7, double %8, double %12)
%14 = fmul double %0, 1.512000e+03
%15 = fmul double %14, %0
%16 = tail call double @pow(double %1, double 4.000000e+00)
%17 = tail call double @llvm.fmuladd.f64(double %15, double %16, double %13)
%18 = fmul double %0, -2.520000e+03
%19 = fmul double %18, %1
%20 = tail call double @llvm.fmuladd.f64(double %19, double %1, double %17)
%21 = fadd double %20, 9.450000e+02
%22 = fmul double %5, %21
%23 = fneg double %0
%24 = fmul double %23, %1
%25 = fmul double %24, %1
%26 = fmul double %25, 5.000000e-01
%27 = tail call double @exp(double %26)
%28 = fmul double %27, %22
%29 = fmul double %28, 0x3FE809387011FA5F
%30 = fdiv double %29, 2.520000e+03
ret double %30
}