#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 pow(double const, double);
double const sqrt(double);
double HO_deriv_16(const double a, const double x) {
  double retval = -pow(a, 0.5e1 / 0.4e1) * pow(0.3141592654e1, -0.1e1 / 0.4e1) *
                  exp(-a * x * x / 0.2e1) * x *
                  (pow(a, 0.8e1) * pow(x, 0.16e2) -
                   0.76e2 * pow(a, 0.7e1) * pow(x, 0.14e2) +
                   0.2205e4 * pow(a, 0.6e1) * pow(x, 0.12e2) -
                   0.31395e5 * pow(a, 0.5e1) * pow(x, 0.10e2) +
                   0.1876875e7 / 0.8e1 * pow(a, 0.4e1) * pow(x, 0.8e1) -
                   0.3648645e7 / 0.4e1 * pow(a, 0.3e1) * pow(x, 0.6e1) +
                   0.27432405e8 / 0.16e2 * a * a * pow(x, 0.4e1) -
                   0.20945925e8 / 0.16e2 * a * x * x + 0.66891825e8 / 0.256e3) *
                  sqrt(0.1430e4) / 0.675675e6;
  return retval;
}


x86 assembly (clang, -O0):
<HO_deriv_16>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xf66(%rip),%xmm1
call   1040 <pow@plt>
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  0xf2a(%rip),%xmm0
movsd  0xf2a(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0xa0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
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  0xed0(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1030 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0x98(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xe49(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,-0x80(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe82(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
movsd  0xe60(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xe48(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
movsd  0xe27(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x90(%rbp),%xmm1
ff
movsd  -0x88(%rbp),%xmm2
ff
movaps %xmm0,%xmm3
movsd  -0x80(%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,-0x78(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xd85(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xdbd(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xd9f(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x78(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x70(%rbp),%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xd6b(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xd53(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xd35(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x68(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x60(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xcba(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xcda(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xcbc(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x58(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x50(%rbp),%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xc88(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xc70(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xc52(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x48(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x40(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0xc0c(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xbe8(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x38(%rbp),%xmm2
movsd  -0x30(%rbp),%xmm1
movaps %xmm0,%xmm3
movsd  -0x28(%rbp),%xmm0
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  0xbb9(%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  0xb7b(%rip),%xmm2
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xb5e(%rip),%xmm0
call   1050 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  -0x20(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  0xb3d(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<HO_deriv_16>:
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  0x20(%rsp),%xmm0
movsd  0x18(%rsp),%xmm1
mulsd  %xmm1,%xmm0
mulsd  %xmm1,%xmm0
mulsd  0xea9(%rip),%xmm0
call   1030 <exp@plt>
mulsd  0x28(%rsp),%xmm0
mulsd  0x18(%rsp),%xmm0
movsd  %xmm0,0x28(%rsp)
movsd  0xe92(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x10(%rsp)
movsd  0xe81(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x8(%rsp)
movsd  0xe70(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x30(%rsp)
movsd  0xe5f(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
movsd  0x30(%rsp),%xmm1
mulsd  0xe4e(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0x8(%rsp),%xmm1
mulsd  0x10(%rsp),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xe34(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xe29(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xe23(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0x8(%rsp),%xmm0
addsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xe06(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x8(%rsp)
movsd  0xdf5(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
movsd  0x8(%rsp),%xmm1
mulsd  0xde4(%rip),%xmm1
mulsd  %xmm1,%xmm0
addsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xdd4(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xdc9(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x18(%rsp),%xmm0
movsd  0xd55(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0x8(%rsp),%xmm0
addsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xd9e(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x8(%rsp)
movsd  0x18(%rsp),%xmm0
movsd  0xd3f(%rip),%xmm1
call   1040 <pow@plt>
movsd  0x8(%rsp),%xmm1
mulsd  0xd74(%rip),%xmm1
mulsd  %xmm1,%xmm0
addsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xd64(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
mulsd  %xmm0,%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x8(%rsp)
movsd  0x18(%rsp),%xmm0
movsd  0xd22(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0x8(%rsp),%xmm0
addsd  0x10(%rsp),%xmm0
movsd  0x20(%rsp),%xmm1
mulsd  0xd2b(%rip),%xmm1
movsd  0x18(%rsp),%xmm2
mulsd  %xmm2,%xmm1
mulsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
addsd  0xd19(%rip),%xmm0
mulsd  0x28(%rsp),%xmm0
mulsd  0xd13(%rip),%xmm0
divsd  0xd13(%rip),%xmm0
add    $0x38,%rsp
ret

LLVM IR (-O0):
define double @HO_deriv_16(double %0, double %1) {
%3 = alloca double
%4 = alloca double
%5 = alloca double
store double %0, double* %3
store double %1, double* %4
%6 = load double, double* %3
%7 = call double @pow(double %6, double 1.250000e+00)
%8 = fneg double %7
%9 = call double @pow(double 0x400921FB54524550, double -2.500000e-01)
%10 = fmul double %8, %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 = load double, double* %4
%21 = fmul double %19, %20
%22 = load double, double* %3
%23 = call double @pow(double %22, double 8.000000e+00)
%24 = load double, double* %4
%25 = call double @pow(double %24, double 1.600000e+01)
%26 = load double, double* %3
%27 = call double @pow(double %26, double 7.000000e+00)
%28 = fmul double 7.600000e+01, %27
%29 = load double, double* %4
%30 = call double @pow(double %29, double 1.400000e+01)
%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 6.000000e+00)
%36 = fmul double 2.205000e+03, %35
%37 = load double, double* %4
%38 = call double @pow(double %37, double 1.200000e+01)
%39 = call double @llvm.fmuladd.f64(double %36, double %38, double %33)
%40 = load double, double* %3
%41 = call double @pow(double %40, double 5.000000e+00)
%42 = fmul double 3.139500e+04, %41
%43 = load double, double* %4
%44 = call double @pow(double %43, double 1.000000e+01)
%45 = fneg double %42
%46 = call double @llvm.fmuladd.f64(double %45, double %44, double %39)
%47 = load double, double* %3
%48 = call double @pow(double %47, double 4.000000e+00)
%49 = fmul double 0x410CA38B00000000, %48
%50 = load double, double* %4
%51 = call double @pow(double %50, double 8.000000e+00)
%52 = call double @llvm.fmuladd.f64(double %49, double %51, double %46)
%53 = load double, double* %3
%54 = call double @pow(double %53, double 3.000000e+00)
%55 = fmul double 0x412BD64280000000, %54
%56 = load double, double* %4
%57 = call double @pow(double %56, double 6.000000e+00)
%58 = fneg double %55
%59 = call double @llvm.fmuladd.f64(double %58, double %57, double %52)
%60 = load double, double* %3
%61 = fmul double 0x413A295D50000000, %60
%62 = load double, double* %3
%63 = fmul double %61, %62
%64 = load double, double* %4
%65 = call double @pow(double %64, double 4.000000e+00)
%66 = call double @llvm.fmuladd.f64(double %63, double %65, double %59)
%67 = load double, double* %3
%68 = fmul double 0x4133F9C050000000, %67
%69 = load double, double* %4
%70 = fmul double %68, %69
%71 = load double, double* %4
%72 = fneg double %70
%73 = call double @llvm.fmuladd.f64(double %72, double %71, double %66)
%74 = fadd double %73, 0x410FE58188000000
%75 = fmul double %21, %74
%76 = call double @sqrt(double 1.430000e+03)
%77 = fmul double %75, %76
%78 = fdiv double %77, 6.756750e+05
store double %78, double* %5
%79 = load double, double* %5
ret double %79
}

LLVM IR (-O2):
define double @HO_deriv_16(double %0, double %1) {
%3 = tail call double @pow(double %0, double 1.250000e+00)
%4 = fmul double %3, 0xBFE809387011FA5F
%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, %1
%12 = tail call double @pow(double %0, double 8.000000e+00)
%13 = tail call double @pow(double %1, double 1.600000e+01)
%14 = tail call double @pow(double %0, double 7.000000e+00)
%15 = tail call double @pow(double %1, double 1.400000e+01)
%16 = fmul double %14, -7.600000e+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 6.000000e+00)
%20 = fmul double %19, 2.205000e+03
%21 = tail call double @pow(double %1, double 1.200000e+01)
%22 = tail call double @llvm.fmuladd.f64(double %20, double %21, double %18)
%23 = tail call double @pow(double %0, double 5.000000e+00)
%24 = tail call double @pow(double %1, double 1.000000e+01)
%25 = fmul double %23, -3.139500e+04
%26 = tail call double @llvm.fmuladd.f64(double %25, double %24, double %22)
%27 = tail call double @pow(double %0, double 4.000000e+00)
%28 = fmul double %27, 0x410CA38B00000000
%29 = tail call double @pow(double %1, double 8.000000e+00)
%30 = tail call double @llvm.fmuladd.f64(double %28, double %29, double %26)
%31 = tail call double @pow(double %0, double 3.000000e+00)
%32 = tail call double @pow(double %1, double 6.000000e+00)
%33 = fmul double %31, 0xC12BD64280000000
%34 = tail call double @llvm.fmuladd.f64(double %33, double %32, double %30)
%35 = fmul double %0, 0x413A295D50000000
%36 = fmul double %35, %0
%37 = tail call double @pow(double %1, double 4.000000e+00)
%38 = tail call double @llvm.fmuladd.f64(double %36, double %37, double %34)
%39 = fmul double %0, 0xC133F9C050000000
%40 = fmul double %39, %1
%41 = tail call double @llvm.fmuladd.f64(double %40, double %1, double %38)
%42 = fadd double %41, 0x410FE58188000000
%43 = fmul double %11, %42
%44 = fmul double %43, 0x4042E85D1660A774
%45 = fdiv double %44, 6.756750e+05
ret double %45
}