#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_10(const double a, const double x) {
  double retval =
      sqrt(0.7e1) * pow(a, 0.1e1 / 0.4e1) *
      (0.32e2 * pow(a, 0.5e1) * pow(x, 0.10e2) -
       0.720e3 * pow(a, 0.4e1) * pow(x, 0.8e1) +
       0.5040e4 * pow(a, 0.3e1) * pow(x, 0.6e1) -
       0.12600e5 * a * a * pow(x, 0.4e1) + 0.9450e4 * a * x * x - 0.945e3) *
      exp(-a * x * x / 0.2e1) * pow(0.3141592654e1, -0.1e1 / 0.4e1) / 0.5040e4;
  return retval;
}


x86 assembly (clang, -O0):
<HO_10>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  0xf36(%rip),%xmm0
call   1050 <sqrt@plt>
movsd  %xmm0,-0x70(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xf17(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x70(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xeec(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xed4(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xeb6(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,-0x60(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xe6f(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xe87(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe69(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x68(%rbp),%xmm1
movsd  -0x60(%rbp),%xmm2
movaps %xmm0,%xmm3
movsd  -0x58(%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,-0x50(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xe15(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xdbd(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xde7(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x50(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x48(%rbp),%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0xdb8(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xd94(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x40(%rbp),%xmm2
movsd  -0x38(%rbp),%xmm1
movaps %xmm0,%xmm3
movsd  -0x30(%rbp),%xmm0
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  0xd4e(%rip),%xmm1
mulsd  -0x8(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
movsd  -0x10(%rbp),%xmm3
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
movsd  0xd27(%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  0xce4(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1030 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0x28(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xcb2(%rip),%xmm0
movsd  0xcb2(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x20(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  0xc89(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<HO_10>:
sub    $0x38,%rsp
movsd  %xmm1,0x10(%rsp)
movsd  %xmm0,0x18(%rsp)
movsd  0xec8(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0xec3(%rip),%xmm0
movsd  %xmm0,0x28(%rsp)
movsd  0xebd(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xeb2(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xeac(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x20(%rsp)
movsd  0xe9b(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x30(%rsp)
movsd  0xe8a(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
movsd  0x30(%rsp),%xmm1
mulsd  0xe79(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0x20(%rsp),%xmm1
mulsd  0x8(%rsp),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xe5f(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xe54(%rip),%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  0xe4e(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0x20(%rsp),%xmm0
addsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0xdfb(%rip),%xmm1
call   1040 <pow@plt>
movsd  0xe1e(%rip),%xmm1
movsd  0x18(%rsp),%xmm2
mulsd  %xmm2,%xmm1
mulsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
addsd  0x8(%rsp),%xmm0
movsd  0xe06(%rip),%xmm3
mulsd  %xmm2,%xmm3
movsd  0x10(%rsp),%xmm1
mulsd  %xmm1,%xmm3
mulsd  %xmm1,%xmm3
addsd  %xmm3,%xmm0
addsd  0xdf0(%rip),%xmm0
mulsd  0x28(%rsp),%xmm0
movsd  %xmm0,0x28(%rsp)
movapd %xmm2,%xmm0
mulsd  %xmm1,%xmm0
mulsd  %xmm1,%xmm0
mulsd  0xdd8(%rip),%xmm0
call   1030 <exp@plt>
mulsd  0x28(%rsp),%xmm0
mulsd  0xdcd(%rip),%xmm0
divsd  0xd95(%rip),%xmm0
add    $0x38,%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 = call double @sqrt(double 7.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 5.000000e+00)
%12 = fmul double 3.200000e+01, %11
%13 = load double, double* %4
%14 = call double @pow(double %13, double 1.000000e+01)
%15 = load double, double* %3
%16 = call double @pow(double %15, double 4.000000e+00)
%17 = fmul double 7.200000e+02, %16
%18 = load double, double* %4
%19 = call double @pow(double %18, double 8.000000e+00)
%20 = fmul double %17, %19
%21 = fneg double %20
%22 = call double @llvm.fmuladd.f64(double %12, double %14, double %21)
%23 = load double, double* %3
%24 = call double @pow(double %23, double 3.000000e+00)
%25 = fmul double 5.040000e+03, %24
%26 = load double, double* %4
%27 = call double @pow(double %26, double 6.000000e+00)
%28 = call double @llvm.fmuladd.f64(double %25, double %27, double %22)
%29 = load double, double* %3
%30 = fmul double 1.260000e+04, %29
%31 = load double, double* %3
%32 = fmul double %30, %31
%33 = load double, double* %4
%34 = call double @pow(double %33, double 4.000000e+00)
%35 = fneg double %32
%36 = call double @llvm.fmuladd.f64(double %35, double %34, double %28)
%37 = load double, double* %3
%38 = fmul double 9.450000e+03, %37
%39 = load double, double* %4
%40 = fmul double %38, %39
%41 = load double, double* %4
%42 = call double @llvm.fmuladd.f64(double %40, double %41, double %36)
%43 = fsub double %42, 9.450000e+02
%44 = fmul double %9, %43
%45 = load double, double* %3
%46 = fneg double %45
%47 = load double, double* %4
%48 = fmul double %46, %47
%49 = load double, double* %4
%50 = fmul double %48, %49
%51 = fdiv double %50, 2.000000e+00
%52 = call double @exp(double %51)
%53 = fmul double %44, %52
%54 = call double @pow(double 0x400921FB54524550, double -2.500000e-01)
%55 = fmul double %53, %54
%56 = fdiv double %55, 5.040000e+03
store double %56, double* %5
%57 = load double, double* %5
ret double %57
}

LLVM IR (-O2):
define double @HO_10(double %0, double %1) {
%3 = tail call double @pow(double %0, double 2.500000e-01)
%4 = fmul double %3, 0x40052A7FA9D2F8EA
%5 = tail call double @pow(double %0, double 5.000000e+00)
%6 = fmul double %5, 3.200000e+01
%7 = tail call double @pow(double %1, double 1.000000e+01)
%8 = tail call double @pow(double %0, double 4.000000e+00)
%9 = tail call double @pow(double %1, double 8.000000e+00)
%10 = fmul double %8, -7.200000e+02
%11 = fmul double %10, %9
%12 = tail call double @llvm.fmuladd.f64(double %6, double %7, double %11)
%13 = tail call double @pow(double %0, double 3.000000e+00)
%14 = fmul double %13, 5.040000e+03
%15 = tail call double @pow(double %1, double 6.000000e+00)
%16 = tail call double @llvm.fmuladd.f64(double %14, double %15, double %12)
%17 = tail call double @pow(double %1, double 4.000000e+00)
%18 = fmul double %0, -1.260000e+04
%19 = fmul double %18, %0
%20 = tail call double @llvm.fmuladd.f64(double %19, double %17, double %16)
%21 = fmul double %0, 9.450000e+03
%22 = fmul double %21, %1
%23 = tail call double @llvm.fmuladd.f64(double %22, double %1, double %20)
%24 = fadd double %23, -9.450000e+02
%25 = fmul double %4, %24
%26 = fneg double %0
%27 = fmul double %26, %1
%28 = fmul double %27, %1
%29 = fmul double %28, 5.000000e-01
%30 = tail call double @exp(double %29)
%31 = fmul double %30, %25
%32 = fmul double %31, 0x3FE809387011FA5F
%33 = fdiv double %32, 5.040000e+03
ret double %33
}