#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_12(const double a, const double x) {
  double retval = sqrt(0.231e3) * pow(a, 0.1e1 / 0.4e1) *
                  (0.64e2 * pow(a, 0.6e1) * pow(x, 0.12e2) -
                   0.2112e4 * pow(a, 0.5e1) * pow(x, 0.10e2) +
                   0.23760e5 * pow(a, 0.4e1) * pow(x, 0.8e1) -
                   0.110880e6 * pow(a, 0.3e1) * pow(x, 0.6e1) +
                   0.207900e6 * a * a * pow(x, 0.4e1) - 0.124740e6 * a * x * x +
                   0.10395e5) *
                  exp(-a * x * x / 0.2e1) *
                  pow(0.3141592654e1, -0.1e1 / 0.4e1) / 0.332640e6;
  return retval;
}


x86 assembly (clang, -O0):
<HO_12>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  0xf4b(%rip),%xmm0
call   1050 <sqrt@plt>
movsd  %xmm0,-0x80(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xf2c(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x80(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xeb9(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xef1(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xed3(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,-0x70(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xeb4(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xe9c(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe7e(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x78(%rbp),%xmm1
movsd  -0x70(%rbp),%xmm2
movaps %xmm0,%xmm3
movsd  -0x68(%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,-0x60(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xdfa(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xe1a(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xdfc(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x60(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x58(%rbp),%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xdc8(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xdb0(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xd92(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x50(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x48(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0xd4c(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xd28(%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  0xcf9(%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  0xcbb(%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  0xc78(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1030 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0x28(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xc46(%rip),%xmm0
movsd  0xc46(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x20(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  0xc1d(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<HO_12>:
sub    $0x38,%rsp
movsd  %xmm1,0x20(%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,0x10(%rsp)
movsd  0xeac(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x8(%rsp)
movsd  0xe9b(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x30(%rsp)
movsd  0xe8a(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
movsd  0x30(%rsp),%xmm1
mulsd  0xe79(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0x8(%rsp),%xmm1
mulsd  0x10(%rsp),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xe5f(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xe54(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xe4e(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0x8(%rsp),%xmm0
addsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xe31(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x8(%rsp)
movsd  0x20(%rsp),%xmm0
movsd  0xdca(%rip),%xmm1
call   1040 <pow@plt>
movsd  0x8(%rsp),%xmm1
mulsd  0xe07(%rip),%xmm1
mulsd  %xmm1,%xmm0
addsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xdf7(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
mulsd  %xmm0,%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x8(%rsp)
movsd  0x20(%rsp),%xmm0
movsd  0xdad(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0x8(%rsp),%xmm0
addsd  0x10(%rsp),%xmm0
movsd  0xdc4(%rip),%xmm2
movsd  0x18(%rsp),%xmm3
mulsd  %xmm3,%xmm2
movsd  0x20(%rsp),%xmm1
mulsd  %xmm1,%xmm2
mulsd  %xmm1,%xmm2
addsd  %xmm2,%xmm0
addsd  0xda8(%rip),%xmm0
mulsd  0x28(%rsp),%xmm0
movsd  %xmm0,0x28(%rsp)
movapd %xmm3,%xmm0
mulsd  %xmm1,%xmm0
mulsd  %xmm1,%xmm0
mulsd  0xd90(%rip),%xmm0
call   1030 <exp@plt>
mulsd  0x28(%rsp),%xmm0
mulsd  0xd85(%rip),%xmm0
divsd  0xd85(%rip),%xmm0
add    $0x38,%rsp
ret

LLVM IR (-O0):
define double @HO_12(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 2.310000e+02)
%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 6.000000e+00)
%12 = fmul double 6.400000e+01, %11
%13 = load double, double* %4
%14 = call double @pow(double %13, double 1.200000e+01)
%15 = load double, double* %3
%16 = call double @pow(double %15, double 5.000000e+00)
%17 = fmul double 2.112000e+03, %16
%18 = load double, double* %4
%19 = call double @pow(double %18, double 1.000000e+01)
%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 4.000000e+00)
%25 = fmul double 2.376000e+04, %24
%26 = load double, double* %4
%27 = call double @pow(double %26, double 8.000000e+00)
%28 = call double @llvm.fmuladd.f64(double %25, double %27, double %22)
%29 = load double, double* %3
%30 = call double @pow(double %29, double 3.000000e+00)
%31 = fmul double 1.108800e+05, %30
%32 = load double, double* %4
%33 = call double @pow(double %32, double 6.000000e+00)
%34 = fneg double %31
%35 = call double @llvm.fmuladd.f64(double %34, double %33, double %28)
%36 = load double, double* %3
%37 = fmul double 2.079000e+05, %36
%38 = load double, double* %3
%39 = fmul double %37, %38
%40 = load double, double* %4
%41 = call double @pow(double %40, double 4.000000e+00)
%42 = call double @llvm.fmuladd.f64(double %39, double %41, double %35)
%43 = load double, double* %3
%44 = fmul double 1.247400e+05, %43
%45 = load double, double* %4
%46 = fmul double %44, %45
%47 = load double, double* %4
%48 = fneg double %46
%49 = call double @llvm.fmuladd.f64(double %48, double %47, double %42)
%50 = fadd double %49, 1.039500e+04
%51 = fmul double %9, %50
%52 = load double, double* %3
%53 = fneg double %52
%54 = load double, double* %4
%55 = fmul double %53, %54
%56 = load double, double* %4
%57 = fmul double %55, %56
%58 = fdiv double %57, 2.000000e+00
%59 = call double @exp(double %58)
%60 = fmul double %51, %59
%61 = call double @pow(double 0x400921FB54524550, double -2.500000e-01)
%62 = fmul double %60, %61
%63 = fdiv double %62, 3.326400e+05
store double %63, double* %5
%64 = load double, double* %5
ret double %64
}

LLVM IR (-O2):
define double @HO_12(double %0, double %1) {
%3 = tail call double @pow(double %0, double 2.500000e-01)
%4 = fmul double %3, 0x402E65B9EDEBA38E
%5 = tail call double @pow(double %0, double 6.000000e+00)
%6 = fmul double %5, 6.400000e+01
%7 = tail call double @pow(double %1, double 1.200000e+01)
%8 = tail call double @pow(double %0, double 5.000000e+00)
%9 = tail call double @pow(double %1, double 1.000000e+01)
%10 = fmul double %8, -2.112000e+03
%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 4.000000e+00)
%14 = fmul double %13, 2.376000e+04
%15 = tail call double @pow(double %1, double 8.000000e+00)
%16 = tail call double @llvm.fmuladd.f64(double %14, double %15, double %12)
%17 = tail call double @pow(double %0, double 3.000000e+00)
%18 = tail call double @pow(double %1, double 6.000000e+00)
%19 = fmul double %17, -1.108800e+05
%20 = tail call double @llvm.fmuladd.f64(double %19, double %18, double %16)
%21 = fmul double %0, 2.079000e+05
%22 = fmul double %21, %0
%23 = tail call double @pow(double %1, double 4.000000e+00)
%24 = tail call double @llvm.fmuladd.f64(double %22, double %23, double %20)
%25 = fmul double %0, -1.247400e+05
%26 = fmul double %25, %1
%27 = tail call double @llvm.fmuladd.f64(double %26, double %1, double %24)
%28 = fadd double %27, 1.039500e+04
%29 = fmul double %4, %28
%30 = fneg double %0
%31 = fmul double %30, %1
%32 = fmul double %31, %1
%33 = fmul double %32, 5.000000e-01
%34 = tail call double @exp(double %33)
%35 = fmul double %34, %29
%36 = fmul double %35, 0x3FE809387011FA5F
%37 = fdiv double %36, 3.326400e+05
ret double %37
}