#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_deriv_9(const double a, const double x) {
  double retval =
      -0.2e1 / 0.315e3 * sqrt(0.35e2) * pow(a, 0.3e1 / 0.4e1) *
      exp(-a * x * x / 0.2e1) * pow(0.3141592654e1, -0.1e1 / 0.4e1) *
      (pow(a, 0.5e1) * pow(x, 0.10e2) - 0.27e2 * pow(a, 0.4e1) * pow(x, 0.8e1) +
       0.441e3 / 0.2e1 * pow(a, 0.3e1) * pow(x, 0.6e1) -
       0.630e3 * a * a * pow(x, 0.4e1) + 0.8505e4 / 0.16e2 * a * x * x -
       0.945e3 / 0.16e2);
  return retval;
}


x86 assembly (clang, -O0):
<HO_deriv_9>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  0xf36(%rip),%xmm0
call   1050 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  0xf1e(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xf00(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x70(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%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  0xeb4(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1030 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0x68(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  0xe82(%rip),%xmm0
movsd  0xe82(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x60(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xe4f(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,-0x48(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe30(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,-0x50(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xde1(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xe01(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xde3(%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,-0x40(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xd8f(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xd77(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xd59(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x40(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x38(%rbp),%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xd2a(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xd06(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x30(%rbp),%xmm2
movsd  -0x28(%rbp),%xmm1
movaps %xmm0,%xmm3
movsd  -0x20(%rbp),%xmm0
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  0xcc0(%rip),%xmm1
mulsd  -0x8(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
movsd  -0x10(%rbp),%xmm3
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
movsd  0xc99(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<HO_deriv_9>:
sub    $0x38,%rsp
movsd  %xmm1,0x8(%rsp)
movsd  %xmm0,0x18(%rsp)
movsd  0xec8(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0xec3(%rip),%xmm0
movsd  %xmm0,0x28(%rsp)
movsd  0x18(%rsp),%xmm0
movsd  0x8(%rsp),%xmm1
mulsd  %xmm1,%xmm0
mulsd  %xmm1,%xmm0
mulsd  0xea9(%rip),%xmm0
call   1030 <exp@plt>
mulsd  0x28(%rsp),%xmm0
mulsd  0xe9e(%rip),%xmm0
movsd  %xmm0,0x28(%rsp)
movsd  0xe98(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x10(%rsp)
movsd  0xe87(%rip),%xmm1
movsd  0x8(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x20(%rsp)
movsd  0xe76(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x30(%rsp)
movsd  0xe65(%rip),%xmm1
movsd  0x8(%rsp),%xmm0
call   1040 <pow@plt>
movsd  0x30(%rsp),%xmm1
mulsd  0xe54(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0x20(%rsp),%xmm1
mulsd  0x10(%rsp),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xe3a(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xe2f(%rip),%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  0xe29(%rip),%xmm1
movsd  0x8(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0x20(%rsp),%xmm0
addsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xdd6(%rip),%xmm1
call   1040 <pow@plt>
movsd  0xdf9(%rip),%xmm1
movsd  0x18(%rsp),%xmm2
mulsd  %xmm2,%xmm1
mulsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
addsd  0x10(%rsp),%xmm0
mulsd  0xde1(%rip),%xmm2
movsd  0x8(%rsp),%xmm1
mulsd  %xmm1,%xmm2
mulsd  %xmm1,%xmm2
addsd  %xmm2,%xmm0
addsd  0xdcf(%rip),%xmm0
mulsd  0x28(%rsp),%xmm0
add    $0x38,%rsp
ret

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

LLVM IR (-O2):
define double @HO_deriv_9(double %0, double %1) {
%3 = tail call double @pow(double %0, double 7.500000e-01)
%4 = fmul double %3, 0xBFA33B61605E13A6
%5 = fneg double %0
%6 = fmul double %5, %1
%7 = fmul double %6, %1
%8 = fmul double %7, 5.000000e-01
%9 = tail call double @exp(double %8)
%10 = fmul double %4, %9
%11 = fmul double %10, 0x3FE809387011FA5F
%12 = tail call double @pow(double %0, double 5.000000e+00)
%13 = tail call double @pow(double %1, double 1.000000e+01)
%14 = tail call double @pow(double %0, double 4.000000e+00)
%15 = tail call double @pow(double %1, double 8.000000e+00)
%16 = fmul double %14, -2.700000e+01
%17 = fmul double %16, %15
%18 = tail call double @llvm.fmuladd.f64(double %12, double %13, double %17)
%19 = tail call double @pow(double %0, double 3.000000e+00)
%20 = fmul double %19, 2.205000e+02
%21 = tail call double @pow(double %1, double 6.000000e+00)
%22 = tail call double @llvm.fmuladd.f64(double %20, double %21, double %18)
%23 = tail call double @pow(double %1, double 4.000000e+00)
%24 = fmul double %0, -6.300000e+02
%25 = fmul double %24, %0
%26 = tail call double @llvm.fmuladd.f64(double %25, double %23, double %22)
%27 = fmul double %0, 0x40809C8000000000
%28 = fmul double %27, %1
%29 = tail call double @llvm.fmuladd.f64(double %28, double %1, double %26)
%30 = fadd double %29, -5.906250e+01
%31 = fmul double %11, %30
ret double %31
}