#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_14(const double a, const double x) {
  double retval = (-0.128e3 * pow(a, 0.7e1) * pow(x, 0.15e2) +
                   0.7616e4 * pow(a, 0.6e1) * pow(x, 0.13e2) -
                   0.165984e6 * pow(a, 0.5e1) * pow(x, 0.11e2) +
                   0.1681680e7 * pow(a, 0.4e1) * pow(x, 0.9e1) -
                   0.8288280e7 * pow(a, 0.3e1) * pow(x, 0.7e1) +
                   0.18918900e8 * a * a * pow(x, 0.5e1) -
                   0.17027010e8 * a * pow(x, 0.3e1) + 0.3918915e7 * x) *
                  sqrt(0.858e3) * pow(a, 0.5e1 / 0.4e1) *
                  pow(0.3141592654e1, -0.1e1 / 0.4e1) *
                  exp(-a * x * x / 0.2e1) / 0.8648640e7;
  return retval;
}


x86 assembly (clang, -O0):
<HO_deriv_14>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xf06(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xf4e(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
movsd  0xf2d(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
movsd  0xf0b(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xef3(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
movsd  0xed2(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0xa0(%rbp),%xmm1
ff
movsd  -0x98(%rbp),%xmm2
ff
movaps %xmm0,%xmm3
movsd  -0x90(%rbp),%xmm0
ff
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
movsd  0xe49(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xe79(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe5b(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x88(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movsd  -0x80(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xe0d(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xdf5(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xdd7(%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  0xd7b(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xd93(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xd75(%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  0xd2f(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xd0b(%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,-0x40(%rbp)
movsd  0xcdc(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xcbd(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x48(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x40(%rbp),%xmm0
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x10(%rbp),%xmm0
movsd  0xc77(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0xc5a(%rip),%xmm0
call   1050 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  -0x38(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xc2f(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x30(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xc01(%rip),%xmm0
movsd  0xc01(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x28(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%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  0xbad(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1030 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0x20(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  0xb88(%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_14>:
sub    $0x28,%rsp
movsd  %xmm1,0x10(%rsp)
movsd  %xmm0,0x18(%rsp)
movsd  0xec8(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0xec3(%rip),%xmm0
movsd  %xmm0,(%rsp)
movsd  0xebe(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x8(%rsp)
movsd  0xead(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xea2(%rip),%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  0xe9c(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0x20(%rsp),%xmm0
movsd  0x8(%rsp),%xmm1
mulsd  (%rsp),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rsp)
movsd  0xe77(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x8(%rsp)
movsd  0xe66(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
movsd  0x8(%rsp),%xmm1
mulsd  0xe55(%rip),%xmm1
mulsd  %xmm1,%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0xe47(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xe3c(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xe36(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0x8(%rsp),%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0xe1b(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x8(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0xd9c(%rip),%xmm1
call   1040 <pow@plt>
movsd  0x8(%rsp),%xmm1
mulsd  0xdf1(%rip),%xmm1
mulsd  %xmm1,%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0xde3(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
mulsd  %xmm0,%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x8(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0xd81(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0x8(%rsp),%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0xd8e(%rip),%xmm1
call   1040 <pow@plt>
movapd %xmm0,%xmm2
movsd  0xd95(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
mulsd  %xmm0,%xmm1
mulsd  %xmm1,%xmm2
addsd  (%rsp),%xmm2
movsd  0xd82(%rip),%xmm1
mulsd  0x10(%rsp),%xmm1
addsd  %xmm1,%xmm2
mulsd  0xd78(%rip),%xmm2
movsd  %xmm2,(%rsp)
movsd  0xd73(%rip),%xmm1
call   1040 <pow@plt>
mulsd  (%rsp),%xmm0
mulsd  0xd69(%rip),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x18(%rsp),%xmm0
movsd  0x10(%rsp),%xmm1
mulsd  %xmm1,%xmm0
mulsd  %xmm1,%xmm0
mulsd  0xd50(%rip),%xmm0
call   1030 <exp@plt>
mulsd  (%rsp),%xmm0
divsd  0xd46(%rip),%xmm0
add    $0x28,%rsp
ret

LLVM IR (-O0):
define double @HO_deriv_14(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 7.000000e+00)
%8 = fmul double -1.280000e+02, %7
%9 = load double, double* %4
%10 = call double @pow(double %9, double 1.500000e+01)
%11 = load double, double* %3
%12 = call double @pow(double %11, double 6.000000e+00)
%13 = fmul double 7.616000e+03, %12
%14 = load double, double* %4
%15 = call double @pow(double %14, double 1.300000e+01)
%16 = fmul double %13, %15
%17 = call double @llvm.fmuladd.f64(double %8, double %10, double %16)
%18 = load double, double* %3
%19 = call double @pow(double %18, double 5.000000e+00)
%20 = fmul double 1.659840e+05, %19
%21 = load double, double* %4
%22 = call double @pow(double %21, double 1.100000e+01)
%23 = fneg double %20
%24 = call double @llvm.fmuladd.f64(double %23, double %22, double %17)
%25 = load double, double* %3
%26 = call double @pow(double %25, double 4.000000e+00)
%27 = fmul double 1.681680e+06, %26
%28 = load double, double* %4
%29 = call double @pow(double %28, double 9.000000e+00)
%30 = call double @llvm.fmuladd.f64(double %27, double %29, double %24)
%31 = load double, double* %3
%32 = call double @pow(double %31, double 3.000000e+00)
%33 = fmul double 8.288280e+06, %32
%34 = load double, double* %4
%35 = call double @pow(double %34, double 7.000000e+00)
%36 = fneg double %33
%37 = call double @llvm.fmuladd.f64(double %36, double %35, double %30)
%38 = load double, double* %3
%39 = fmul double 1.891890e+07, %38
%40 = load double, double* %3
%41 = fmul double %39, %40
%42 = load double, double* %4
%43 = call double @pow(double %42, double 5.000000e+00)
%44 = call double @llvm.fmuladd.f64(double %41, double %43, double %37)
%45 = load double, double* %3
%46 = fmul double 0x41703CFC20000000, %45
%47 = load double, double* %4
%48 = call double @pow(double %47, double 3.000000e+00)
%49 = fneg double %46
%50 = call double @llvm.fmuladd.f64(double %49, double %48, double %44)
%51 = load double, double* %4
%52 = call double @llvm.fmuladd.f64(double 0x414DE62180000000, double %51, double %50)
%53 = call double @sqrt(double 8.580000e+02)
%54 = fmul double %52, %53
%55 = load double, double* %3
%56 = call double @pow(double %55, double 1.250000e+00)
%57 = fmul double %54, %56
%58 = call double @pow(double 0x400921FB54524550, double -2.500000e-01)
%59 = fmul double %57, %58
%60 = load double, double* %3
%61 = fneg double %60
%62 = load double, double* %4
%63 = fmul double %61, %62
%64 = load double, double* %4
%65 = fmul double %63, %64
%66 = fdiv double %65, 2.000000e+00
%67 = call double @exp(double %66)
%68 = fmul double %59, %67
%69 = fdiv double %68, 8.648640e+06
store double %69, double* %5
%70 = load double, double* %5
ret double %70
}

LLVM IR (-O2):
define double @HO_deriv_14(double %0, double %1) {
%3 = tail call double @pow(double %0, double 7.000000e+00)
%4 = fmul double %3, -1.280000e+02
%5 = tail call double @pow(double %1, double 1.500000e+01)
%6 = tail call double @pow(double %0, double 6.000000e+00)
%7 = fmul double %6, 7.616000e+03
%8 = tail call double @pow(double %1, double 1.300000e+01)
%9 = fmul double %7, %8
%10 = tail call double @llvm.fmuladd.f64(double %4, double %5, double %9)
%11 = tail call double @pow(double %0, double 5.000000e+00)
%12 = tail call double @pow(double %1, double 1.100000e+01)
%13 = fmul double %11, -1.659840e+05
%14 = tail call double @llvm.fmuladd.f64(double %13, double %12, double %10)
%15 = tail call double @pow(double %0, double 4.000000e+00)
%16 = fmul double %15, 1.681680e+06
%17 = tail call double @pow(double %1, double 9.000000e+00)
%18 = tail call double @llvm.fmuladd.f64(double %16, double %17, double %14)
%19 = tail call double @pow(double %0, double 3.000000e+00)
%20 = tail call double @pow(double %1, double 7.000000e+00)
%21 = fmul double %19, -8.288280e+06
%22 = tail call double @llvm.fmuladd.f64(double %21, double %20, double %18)
%23 = fmul double %0, 1.891890e+07
%24 = fmul double %23, %0
%25 = tail call double @pow(double %1, double 5.000000e+00)
%26 = tail call double @llvm.fmuladd.f64(double %24, double %25, double %22)
%27 = tail call double @pow(double %1, double 3.000000e+00)
%28 = fmul double %0, 0xC1703CFC20000000
%29 = tail call double @llvm.fmuladd.f64(double %28, double %27, double %26)
%30 = tail call double @llvm.fmuladd.f64(double %1, double 0x414DE62180000000, double %29)
%31 = fmul double %30, 0x403D4AA8B979AF2F
%32 = tail call double @pow(double %0, double 1.250000e+00)
%33 = fmul double %32, %31
%34 = fmul double %33, 0x3FE809387011FA5F
%35 = fneg double %0
%36 = fmul double %35, %1
%37 = fmul double %36, %1
%38 = fmul double %37, 5.000000e-01
%39 = tail call double @exp(double %38)
%40 = fmul double %39, %34
%41 = fdiv double %40, 8.648640e+06
ret double %41
}