#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_18(const double a, const double x) {
  double retval = sqrt(0.12155e5) * pow(a, 0.1e1 / 0.4e1) *
                  (0.512e3 * pow(a, 0.9e1) * pow(x, 0.18e2) -
                   0.39168e5 * pow(a, 0.8e1) * pow(x, 0.16e2) +
                   0.1175040e7 * pow(a, 0.7e1) * pow(x, 0.14e2) -
                   0.17821440e8 * pow(a, 0.6e1) * pow(x, 0.12e2) +
                   0.147026880e9 * pow(a, 0.5e1) * pow(x, 0.10e2) -
                   0.661620960e9 * pow(a, 0.4e1) * pow(x, 0.8e1) +
                   0.1543782240e10 * pow(a, 0.3e1) * pow(x, 0.6e1) -
                   0.1654052400e10 * a * a * pow(x, 0.4e1) +
                   0.620269650e9 * a * x * x - 0.34459425e8) *
                  exp(-a * x * x / 0.2e1) *
                  pow(0.3141592654e1, -0.1e1 / 0.4e1) / 0.8821612800e10;
  return retval;
}


x86 assembly (clang, -O0):
<HO_18>:
push   %rbp
mov    %rsp,%rbp
sub    $0xb0,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  0xf8b(%rip),%xmm0
call   1050 <sqrt@plt>
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
movsd  0xf69(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0xb0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xf3b(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xf23(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
movsd  0xf02(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
movsd  0xe88(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xed0(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
movsd  0xeaf(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0xa8(%rbp),%xmm1
ff
movsd  -0xa0(%rbp),%xmm2
ff
movaps %xmm0,%xmm3
movsd  -0x98(%rbp),%xmm0
ff
mulsd  %xmm3,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
movsd  0xe4f(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xe37(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
movsd  0xe16(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x90(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movsd  -0x88(%rbp),%xmm0
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xd94(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xdcc(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xdae(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x80(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x78(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xd63(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xd4b(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xd2d(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x70(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x68(%rbp),%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xcc9(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xce9(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xccb(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x60(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x58(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xc80(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xc68(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xc4a(%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  0xc1b(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xbf7(%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  0xbb1(%rip),%xmm1
mulsd  -0x8(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
movsd  -0x10(%rbp),%xmm3
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
movsd  0xb8a(%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  0xb47(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1030 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0x28(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xb15(%rip),%xmm0
movsd  0xb15(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x20(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  0xaec(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
add    $0xb0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<HO_18>:
sub    $0x38,%rsp
movsd  %xmm1,0x18(%rsp)
movsd  %xmm0,0x20(%rsp)
movsd  0xec8(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0xec3(%rip),%xmm0
movsd  %xmm0,0x28(%rsp)
movsd  0xebd(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xeb2(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xeac(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x10(%rsp)
movsd  0xe9b(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x30(%rsp)
movsd  0xe8a(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
movsd  0x30(%rsp),%xmm1
mulsd  0xe79(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0x10(%rsp),%xmm1
mulsd  0x8(%rsp),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xe5f(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xe54(%rip),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xe4e(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0x10(%rsp),%xmm0
addsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xe31(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x10(%rsp)
movsd  0xe20(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
movsd  0x10(%rsp),%xmm1
mulsd  0xe0f(%rip),%xmm1
mulsd  %xmm1,%xmm0
addsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xdff(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xdf4(%rip),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xdee(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0x10(%rsp),%xmm0
addsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xdd1(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x10(%rsp)
movsd  0x18(%rsp),%xmm0
movsd  0xd52(%rip),%xmm1
call   1040 <pow@plt>
movsd  0x10(%rsp),%xmm1
mulsd  0xda7(%rip),%xmm1
mulsd  %xmm1,%xmm0
addsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xd97(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xd8c(%rip),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0x18(%rsp),%xmm0
movsd  0xd30(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0x10(%rsp),%xmm0
addsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x18(%rsp),%xmm0
movsd  0xd3b(%rip),%xmm1
call   1040 <pow@plt>
movsd  0xd4e(%rip),%xmm1
movsd  0x20(%rsp),%xmm2
mulsd  %xmm2,%xmm1
mulsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
addsd  0x8(%rsp),%xmm0
movsd  0xd36(%rip),%xmm3
mulsd  %xmm2,%xmm3
movsd  0x18(%rsp),%xmm1
mulsd  %xmm1,%xmm3
mulsd  %xmm1,%xmm3
addsd  %xmm3,%xmm0
addsd  0xd20(%rip),%xmm0
mulsd  0x28(%rsp),%xmm0
movsd  %xmm0,0x28(%rsp)
movapd %xmm2,%xmm0
mulsd  %xmm1,%xmm0
mulsd  %xmm1,%xmm0
mulsd  0xd08(%rip),%xmm0
call   1030 <exp@plt>
mulsd  0x28(%rsp),%xmm0
mulsd  0xcfd(%rip),%xmm0
divsd  0xcfd(%rip),%xmm0
add    $0x38,%rsp
ret

LLVM IR (-O0):
define double @HO_18(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 1.215500e+04)
%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 9.000000e+00)
%12 = fmul double 5.120000e+02, %11
%13 = load double, double* %4
%14 = call double @pow(double %13, double 1.800000e+01)
%15 = load double, double* %3
%16 = call double @pow(double %15, double 8.000000e+00)
%17 = fmul double 3.916800e+04, %16
%18 = load double, double* %4
%19 = call double @pow(double %18, double 1.600000e+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 7.000000e+00)
%25 = fmul double 1.175040e+06, %24
%26 = load double, double* %4
%27 = call double @pow(double %26, double 1.400000e+01)
%28 = call double @llvm.fmuladd.f64(double %25, double %27, double %22)
%29 = load double, double* %3
%30 = call double @pow(double %29, double 6.000000e+00)
%31 = fmul double 0x4170FEF000000000, %30
%32 = load double, double* %4
%33 = call double @pow(double %32, double 1.200000e+01)
%34 = fneg double %31
%35 = call double @llvm.fmuladd.f64(double %34, double %33, double %28)
%36 = load double, double* %3
%37 = call double @pow(double %36, double 5.000000e+00)
%38 = fmul double 0x41A186E780000000, %37
%39 = load double, double* %4
%40 = call double @pow(double %39, double 1.000000e+01)
%41 = call double @llvm.fmuladd.f64(double %38, double %40, double %35)
%42 = load double, double* %3
%43 = call double @pow(double %42, double 4.000000e+00)
%44 = fmul double 0x41C3B7C470000000, %43
%45 = load double, double* %4
%46 = call double @pow(double %45, double 8.000000e+00)
%47 = fneg double %44
%48 = call double @llvm.fmuladd.f64(double %47, double %46, double %41)
%49 = load double, double* %3
%50 = call double @pow(double %49, double 3.000000e+00)
%51 = fmul double 0x41D7010FD8000000, %50
%52 = load double, double* %4
%53 = call double @pow(double %52, double 6.000000e+00)
%54 = call double @llvm.fmuladd.f64(double %51, double %53, double %48)
%55 = load double, double* %3
%56 = fmul double 0x41D8A5B58C000000, %55
%57 = load double, double* %3
%58 = fmul double %56, %57
%59 = load double, double* %4
%60 = call double @pow(double %59, double 4.000000e+00)
%61 = fneg double %58
%62 = call double @llvm.fmuladd.f64(double %61, double %60, double %54)
%63 = load double, double* %3
%64 = fmul double 0x41C27C4829000000, %63
%65 = load double, double* %4
%66 = fmul double %64, %65
%67 = load double, double* %4
%68 = call double @llvm.fmuladd.f64(double %66, double %67, double %62)
%69 = fsub double %68, 0x41806E7908000000
%70 = fmul double %9, %69
%71 = load double, double* %3
%72 = fneg double %71
%73 = load double, double* %4
%74 = fmul double %72, %73
%75 = load double, double* %4
%76 = fmul double %74, %75
%77 = fdiv double %76, 2.000000e+00
%78 = call double @exp(double %77)
%79 = fmul double %70, %78
%80 = call double @pow(double 0x400921FB54524550, double -2.500000e-01)
%81 = fmul double %79, %80
%82 = fdiv double %81, 0x42006E7908000000
store double %82, double* %5
%83 = load double, double* %5
ret double %83
}

LLVM IR (-O2):
define double @HO_18(double %0, double %1) {
%3 = tail call double @pow(double %0, double 2.500000e-01)
%4 = fmul double %3, 0x405B8FFB5B2304EA
%5 = tail call double @pow(double %0, double 9.000000e+00)
%6 = fmul double %5, 5.120000e+02
%7 = tail call double @pow(double %1, double 1.800000e+01)
%8 = tail call double @pow(double %0, double 8.000000e+00)
%9 = tail call double @pow(double %1, double 1.600000e+01)
%10 = fmul double %8, -3.916800e+04
%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 7.000000e+00)
%14 = fmul double %13, 1.175040e+06
%15 = tail call double @pow(double %1, double 1.400000e+01)
%16 = tail call double @llvm.fmuladd.f64(double %14, double %15, double %12)
%17 = tail call double @pow(double %0, double 6.000000e+00)
%18 = tail call double @pow(double %1, double 1.200000e+01)
%19 = fmul double %17, 0xC170FEF000000000
%20 = tail call double @llvm.fmuladd.f64(double %19, double %18, double %16)
%21 = tail call double @pow(double %0, double 5.000000e+00)
%22 = fmul double %21, 0x41A186E780000000
%23 = tail call double @pow(double %1, double 1.000000e+01)
%24 = tail call double @llvm.fmuladd.f64(double %22, double %23, double %20)
%25 = tail call double @pow(double %0, double 4.000000e+00)
%26 = tail call double @pow(double %1, double 8.000000e+00)
%27 = fmul double %25, 0xC1C3B7C470000000
%28 = tail call double @llvm.fmuladd.f64(double %27, double %26, double %24)
%29 = tail call double @pow(double %0, double 3.000000e+00)
%30 = fmul double %29, 0x41D7010FD8000000
%31 = tail call double @pow(double %1, double 6.000000e+00)
%32 = tail call double @llvm.fmuladd.f64(double %30, double %31, double %28)
%33 = tail call double @pow(double %1, double 4.000000e+00)
%34 = fmul double %0, 0xC1D8A5B58C000000
%35 = fmul double %34, %0
%36 = tail call double @llvm.fmuladd.f64(double %35, double %33, double %32)
%37 = fmul double %0, 0x41C27C4829000000
%38 = fmul double %37, %1
%39 = tail call double @llvm.fmuladd.f64(double %38, double %1, double %36)
%40 = fadd double %39, 0xC1806E7908000000
%41 = fmul double %4, %40
%42 = fneg double %0
%43 = fmul double %42, %1
%44 = fmul double %43, %1
%45 = fmul double %44, 5.000000e-01
%46 = tail call double @exp(double %45)
%47 = fmul double %46, %41
%48 = fmul double %47, 0x3FE809387011FA5F
%49 = fdiv double %48, 0x42006E7908000000
ret double %49
}