#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_18(const double a, const double x) {
  double retval =
      -0.2e1 / 0.34459425e8 * pow(a, 0.5e1 / 0.4e1) *
      pow(0.3141592654e1, -0.1e1 / 0.4e1) * exp(-a * x * x / 0.2e1) * x *
      sqrt(0.12155e5) *
      (pow(a, 0.9e1) * pow(x, 0.18e2) -
       0.189e3 / 0.2e1 * pow(a, 0.8e1) * pow(x, 0.16e2) +
       0.3519e4 * pow(a, 0.7e1) * pow(x, 0.14e2) -
       0.133875e6 / 0.2e1 * pow(a, 0.6e1) * pow(x, 0.12e2) +
       0.5638815e7 / 0.8e1 * pow(a, 0.5e1) * pow(x, 0.10e2) -
       0.66621555e8 / 0.16e2 * pow(a, 0.4e1) * pow(x, 0.8e1) +
       0.213648435e9 / 0.16e2 * pow(a, 0.3e1) * pow(x, 0.6e1) -
       0.682296615e9 / 0.32e2 * a * a * pow(x, 0.4e1) +
       0.3618239625e10 / 0.256e3 * a * x * x - 0.1274998725e10 / 0.512e3);
  return retval;
}


x86 assembly (clang, -O0):
<HO_deriv_18>:
push   %rbp
mov    %rsp,%rbp
sub    $0xb0,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xf7e(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xf66(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  0xf42(%rip),%xmm0
movsd  0xf42(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0xb0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%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  0xee8(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1030 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0xa8(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  0xeb3(%rip),%xmm0
call   1050 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  -0xa0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xe85(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
movsd  0xe63(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
movsd  0xde9(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xe31(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
movsd  0xe10(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x98(%rbp),%xmm1
ff
movsd  -0x90(%rbp),%xmm2
ff
movaps %xmm0,%xmm3
movsd  -0x88(%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,-0x80(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xdb3(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xd9b(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xd7d(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x80(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x78(%rbp),%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xd01(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xd39(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xd1b(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x70(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x68(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xcd0(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xcb8(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xc9a(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x60(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x58(%rbp),%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xc36(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xc56(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xc38(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x50(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x48(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xbed(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xbd5(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xbb7(%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  0xb88(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xb64(%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  0xb1e(%rip),%xmm1
mulsd  -0x8(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
movsd  -0x10(%rbp),%xmm3
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
movsd  0xaf7(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
add    $0xb0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<HO_deriv_18>:
sub    $0x38,%rsp
movsd  %xmm1,0x18(%rsp)
movsd  %xmm0,0x20(%rsp)
movsd  0xec8(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0xec3(%rip),%xmm0
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
mulsd  0xe98(%rip),%xmm0
movsd  %xmm0,0x28(%rsp)
movsd  0xe92(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x8(%rsp)
movsd  0xe81(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x10(%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  0x10(%rsp),%xmm1
mulsd  0x8(%rsp),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xe34(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xe29(%rip),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xe23(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0x10(%rsp),%xmm0
addsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xe06(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x10(%rsp)
movsd  0xdf5(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
movsd  0x10(%rsp),%xmm1
mulsd  0xde4(%rip),%xmm1
mulsd  %xmm1,%xmm0
addsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xdd4(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xdc9(%rip),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xdc3(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0x10(%rsp),%xmm0
addsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xda6(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x10(%rsp)
movsd  0x18(%rsp),%xmm0
movsd  0xd27(%rip),%xmm1
call   1040 <pow@plt>
movsd  0x10(%rsp),%xmm1
mulsd  0xd7c(%rip),%xmm1
mulsd  %xmm1,%xmm0
addsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xd6c(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xd61(%rip),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0x18(%rsp),%xmm0
movsd  0xd05(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0x10(%rsp),%xmm0
addsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x18(%rsp),%xmm0
movsd  0xd10(%rip),%xmm1
call   1040 <pow@plt>
movsd  0xd23(%rip),%xmm1
movsd  0x20(%rsp),%xmm2
mulsd  %xmm2,%xmm1
mulsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
addsd  0x8(%rsp),%xmm0
mulsd  0xd0b(%rip),%xmm2
movsd  0x18(%rsp),%xmm1
mulsd  %xmm1,%xmm2
mulsd  %xmm1,%xmm2
addsd  %xmm2,%xmm0
addsd  0xcf9(%rip),%xmm0
mulsd  0x28(%rsp),%xmm0
add    $0x38,%rsp
ret

LLVM IR (-O0):
define double @HO_deriv_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 = load double, double* %3
%7 = call double @pow(double %6, double 1.250000e+00)
%8 = fmul double 0xBE6F28DB670BE53B, %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 = call double @sqrt(double 1.215500e+04)
%23 = fmul double %21, %22
%24 = load double, double* %3
%25 = call double @pow(double %24, double 9.000000e+00)
%26 = load double, double* %4
%27 = call double @pow(double %26, double 1.800000e+01)
%28 = load double, double* %3
%29 = call double @pow(double %28, double 8.000000e+00)
%30 = fmul double 9.450000e+01, %29
%31 = load double, double* %4
%32 = call double @pow(double %31, double 1.600000e+01)
%33 = fmul double %30, %32
%34 = fneg double %33
%35 = call double @llvm.fmuladd.f64(double %25, double %27, double %34)
%36 = load double, double* %3
%37 = call double @pow(double %36, double 7.000000e+00)
%38 = fmul double 3.519000e+03, %37
%39 = load double, double* %4
%40 = call double @pow(double %39, double 1.400000e+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 6.000000e+00)
%44 = fmul double 6.693750e+04, %43
%45 = load double, double* %4
%46 = call double @pow(double %45, double 1.200000e+01)
%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 5.000000e+00)
%51 = fmul double 0x412582A7C0000000, %50
%52 = load double, double* %4
%53 = call double @pow(double %52, double 1.000000e+01)
%54 = call double @llvm.fmuladd.f64(double %51, double %53, double %48)
%55 = load double, double* %3
%56 = call double @pow(double %55, double 4.000000e+00)
%57 = fmul double 0x414FC48398000000, %56
%58 = load double, double* %4
%59 = call double @pow(double %58, double 8.000000e+00)
%60 = fneg double %57
%61 = call double @llvm.fmuladd.f64(double %60, double %59, double %54)
%62 = load double, double* %3
%63 = call double @pow(double %62, double 3.000000e+00)
%64 = fmul double 0x4169780866000000, %63
%65 = load double, double* %4
%66 = call double @pow(double %65, double 6.000000e+00)
%67 = call double @llvm.fmuladd.f64(double %64, double %66, double %61)
%68 = load double, double* %3
%69 = fmul double 0x4174558293800000, %68
%70 = load double, double* %3
%71 = fmul double %69, %70
%72 = load double, double* %4
%73 = call double @pow(double %72, double 4.000000e+00)
%74 = fneg double %71
%75 = call double @llvm.fmuladd.f64(double %74, double %73, double %67)
%76 = load double, double* %3
%77 = fmul double 0x416AF53E91200000, %76
%78 = load double, double* %4
%79 = fmul double %77, %78
%80 = load double, double* %4
%81 = call double @llvm.fmuladd.f64(double %79, double %80, double %75)
%82 = fsub double %81, 0x4142FFBBF1400000
%83 = fmul double %23, %82
store double %83, double* %5
%84 = load double, double* %5
ret double %84
}

LLVM IR (-O2):
define double @HO_deriv_18(double %0, double %1) {
%3 = tail call double @pow(double %0, double 1.250000e+00)
%4 = fmul double %3, 0xBE6F28DB670BE53B
%5 = fmul double %4, 0x3FE809387011FA5F
%6 = fneg double %0
%7 = fmul double %6, %1
%8 = fmul double %7, %1
%9 = fmul double %8, 5.000000e-01
%10 = tail call double @exp(double %9)
%11 = fmul double %10, %5
%12 = fmul double %11, %1
%13 = fmul double %12, 0x405B8FFB5B2304EA
%14 = tail call double @pow(double %0, double 9.000000e+00)
%15 = tail call double @pow(double %1, double 1.800000e+01)
%16 = tail call double @pow(double %0, double 8.000000e+00)
%17 = tail call double @pow(double %1, double 1.600000e+01)
%18 = fmul double %16, -9.450000e+01
%19 = fmul double %18, %17
%20 = tail call double @llvm.fmuladd.f64(double %14, double %15, double %19)
%21 = tail call double @pow(double %0, double 7.000000e+00)
%22 = fmul double %21, 3.519000e+03
%23 = tail call double @pow(double %1, double 1.400000e+01)
%24 = tail call double @llvm.fmuladd.f64(double %22, double %23, double %20)
%25 = tail call double @pow(double %0, double 6.000000e+00)
%26 = tail call double @pow(double %1, double 1.200000e+01)
%27 = fmul double %25, -6.693750e+04
%28 = tail call double @llvm.fmuladd.f64(double %27, double %26, double %24)
%29 = tail call double @pow(double %0, double 5.000000e+00)
%30 = fmul double %29, 0x412582A7C0000000
%31 = tail call double @pow(double %1, double 1.000000e+01)
%32 = tail call double @llvm.fmuladd.f64(double %30, double %31, double %28)
%33 = tail call double @pow(double %0, double 4.000000e+00)
%34 = tail call double @pow(double %1, double 8.000000e+00)
%35 = fmul double %33, 0xC14FC48398000000
%36 = tail call double @llvm.fmuladd.f64(double %35, double %34, double %32)
%37 = tail call double @pow(double %0, double 3.000000e+00)
%38 = fmul double %37, 0x4169780866000000
%39 = tail call double @pow(double %1, double 6.000000e+00)
%40 = tail call double @llvm.fmuladd.f64(double %38, double %39, double %36)
%41 = tail call double @pow(double %1, double 4.000000e+00)
%42 = fmul double %0, 0xC174558293800000
%43 = fmul double %42, %0
%44 = tail call double @llvm.fmuladd.f64(double %43, double %41, double %40)
%45 = fmul double %0, 0x416AF53E91200000
%46 = fmul double %45, %1
%47 = tail call double @llvm.fmuladd.f64(double %46, double %1, double %44)
%48 = fadd double %47, 0xC142FFBBF1400000
%49 = fmul double %13, %48
ret double %49
}