#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_7(const double a, const double x) {
  double retval =
      sqrt(0.70e2) * pow(a, 0.3e1 / 0.4e1) * x *
      (0.8e1 * pow(a, 0.3e1) * pow(x, 0.6e1) - 0.84e2 * a * a * pow(x, 0.4e1) +
       0.210e3 * a * x * x - 0.105e3) *
      exp(-a * x * x / 0.2e1) * pow(0.3141592654e1, -0.1e1 / 0.4e1) / 0.420e3;
  return retval;
}


x86 assembly (clang, -O0):
<HO_7>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  0xf16(%rip),%xmm0
call   1050 <sqrt@plt>
movsd  %xmm0,-0x50(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xef7(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x50(%rbp),%xmm0
mulsd  %xmm1,%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xec7(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xeaf(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe91(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,-0x38(%rbp)
movsd  0xe77(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe53(%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  0xe04(%rip),%xmm1
mulsd  -0x8(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
movsd  -0x10(%rbp),%xmm3
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
movsd  0xddd(%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  0xd9a(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1030 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0x28(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xd68(%rip),%xmm0
movsd  0xd68(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x20(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  0xd3f(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<HO_7>:
sub    $0x28,%rsp
movsd  %xmm1,(%rsp)
movsd  %xmm0,0x10(%rsp)
movsd  0xec9(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0xec4(%rip),%xmm0
mulsd  (%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xeb9(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xeae(%rip),%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  0xea8(%rip),%xmm1
movsd  (%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x18(%rsp)
movsd  0xe98(%rip),%xmm1
movsd  (%rsp),%xmm0
call   1040 <pow@plt>
movsd  0xe8e(%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  0xe6c(%rip),%xmm3
mulsd  %xmm2,%xmm3
movsd  (%rsp),%xmm1
mulsd  %xmm1,%xmm3
mulsd  %xmm1,%xmm3
addsd  %xmm3,%xmm0
addsd  0xe57(%rip),%xmm0
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movapd %xmm2,%xmm0
mulsd  %xmm1,%xmm0
mulsd  %xmm1,%xmm0
mulsd  0xe3f(%rip),%xmm0
call   1030 <exp@plt>
mulsd  0x8(%rsp),%xmm0
mulsd  0xe34(%rip),%xmm0
divsd  0xe34(%rip),%xmm0
add    $0x28,%rsp
ret

LLVM IR (-O0):
define double @HO_7(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+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 3.000000e+00)
%14 = fmul double 8.000000e+00, %13
%15 = load double, double* %4
%16 = call double @pow(double %15, double 6.000000e+00)
%17 = load double, double* %3
%18 = fmul double 8.400000e+01, %17
%19 = load double, double* %3
%20 = fmul double %18, %19
%21 = load double, double* %4
%22 = call double @pow(double %21, double 4.000000e+00)
%23 = fmul double %20, %22
%24 = fneg double %23
%25 = call double @llvm.fmuladd.f64(double %14, double %16, double %24)
%26 = load double, double* %3
%27 = fmul double 2.100000e+02, %26
%28 = load double, double* %4
%29 = fmul double %27, %28
%30 = load double, double* %4
%31 = call double @llvm.fmuladd.f64(double %29, double %30, double %25)
%32 = fsub double %31, 1.050000e+02
%33 = fmul double %11, %32
%34 = load double, double* %3
%35 = fneg double %34
%36 = load double, double* %4
%37 = fmul double %35, %36
%38 = load double, double* %4
%39 = fmul double %37, %38
%40 = fdiv double %39, 2.000000e+00
%41 = call double @exp(double %40)
%42 = fmul double %33, %41
%43 = call double @pow(double 0x400921FB54524550, double -2.500000e-01)
%44 = fmul double %42, %43
%45 = fdiv double %44, 4.200000e+02
store double %45, double* %5
%46 = load double, double* %5
ret double %46
}

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