#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_10(const double a, const double x) {
  double retval = (-0.32e2 * pow(a, 0.5e1) * pow(x, 0.11e2) +
                   0.1040e4 * pow(a, 0.4e1) * pow(x, 0.9e1) -
                   0.10800e5 * pow(a, 0.3e1) * pow(x, 0.7e1) +
                   0.42840e5 * a * a * pow(x, 0.5e1) -
                   0.59850e5 * a * pow(x, 0.3e1) + 0.19845e5 * x) *
                  sqrt(0.7e1) * pow(a, 0.5e1 / 0.4e1) *
                  pow(0.3141592654e1, -0.1e1 / 0.4e1) *
                  exp(-a * x * x / 0.2e1) / 0.5040e4;
  return retval;
}


x86 assembly (clang, -O0):
<HO_deriv_10>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xef6(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xf1e(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xf00(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,-0x78(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xee1(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xec9(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xeab(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x80(%rbp),%xmm1
movsd  -0x78(%rbp),%xmm2
movaps %xmm0,%xmm3
movsd  -0x70(%rbp),%xmm0
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xe4e(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xe5e(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe18(%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  0xe02(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xdde(%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  0xdaf(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xd90(%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  0xd4a(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0xd2d(%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  0xd02(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x30(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xcd4(%rip),%xmm0
movsd  0xcd4(%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  0xc80(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1030 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0x20(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  0xc5b(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<HO_deriv_10>:
sub    $0x28,%rsp
movsd  %xmm1,0x8(%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  0x8(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x10(%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  0x8(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0x20(%rsp),%xmm0
movsd  0x10(%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,0x10(%rsp)
movsd  0xe66(%rip),%xmm1
movsd  0x8(%rsp),%xmm0
call   1040 <pow@plt>
movsd  0x10(%rsp),%xmm1
mulsd  0xe55(%rip),%xmm1
mulsd  %xmm1,%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0xe47(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
mulsd  %xmm0,%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x10(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xddd(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0x10(%rsp),%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0xdea(%rip),%xmm1
call   1040 <pow@plt>
movapd %xmm0,%xmm2
movsd  0xdf9(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
mulsd  %xmm0,%xmm1
mulsd  %xmm1,%xmm2
addsd  (%rsp),%xmm2
movsd  0xde6(%rip),%xmm1
mulsd  0x8(%rsp),%xmm1
addsd  %xmm1,%xmm2
mulsd  0xddc(%rip),%xmm2
movsd  %xmm2,(%rsp)
movsd  0xdd7(%rip),%xmm1
call   1040 <pow@plt>
mulsd  (%rsp),%xmm0
mulsd  0xdcd(%rip),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x18(%rsp),%xmm0
movsd  0x8(%rsp),%xmm1
mulsd  %xmm1,%xmm0
mulsd  %xmm1,%xmm0
mulsd  0xdb4(%rip),%xmm0
call   1030 <exp@plt>
mulsd  (%rsp),%xmm0
divsd  0xdaa(%rip),%xmm0
add    $0x28,%rsp
ret

LLVM IR (-O0):
define double @HO_deriv_10(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 5.000000e+00)
%8 = fmul double -3.200000e+01, %7
%9 = load double, double* %4
%10 = call double @pow(double %9, double 1.100000e+01)
%11 = load double, double* %3
%12 = call double @pow(double %11, double 4.000000e+00)
%13 = fmul double 1.040000e+03, %12
%14 = load double, double* %4
%15 = call double @pow(double %14, double 9.000000e+00)
%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 3.000000e+00)
%20 = fmul double 1.080000e+04, %19
%21 = load double, double* %4
%22 = call double @pow(double %21, double 7.000000e+00)
%23 = fneg double %20
%24 = call double @llvm.fmuladd.f64(double %23, double %22, double %17)
%25 = load double, double* %3
%26 = fmul double 4.284000e+04, %25
%27 = load double, double* %3
%28 = fmul double %26, %27
%29 = load double, double* %4
%30 = call double @pow(double %29, double 5.000000e+00)
%31 = call double @llvm.fmuladd.f64(double %28, double %30, double %24)
%32 = load double, double* %3
%33 = fmul double 5.985000e+04, %32
%34 = load double, double* %4
%35 = call double @pow(double %34, double 3.000000e+00)
%36 = fneg double %33
%37 = call double @llvm.fmuladd.f64(double %36, double %35, double %31)
%38 = load double, double* %4
%39 = call double @llvm.fmuladd.f64(double 1.984500e+04, double %38, double %37)
%40 = call double @sqrt(double 7.000000e+00)
%41 = fmul double %39, %40
%42 = load double, double* %3
%43 = call double @pow(double %42, double 1.250000e+00)
%44 = fmul double %41, %43
%45 = call double @pow(double 0x400921FB54524550, double -2.500000e-01)
%46 = fmul double %44, %45
%47 = load double, double* %3
%48 = fneg double %47
%49 = load double, double* %4
%50 = fmul double %48, %49
%51 = load double, double* %4
%52 = fmul double %50, %51
%53 = fdiv double %52, 2.000000e+00
%54 = call double @exp(double %53)
%55 = fmul double %46, %54
%56 = fdiv double %55, 5.040000e+03
store double %56, double* %5
%57 = load double, double* %5
ret double %57
}

LLVM IR (-O2):
define double @HO_deriv_10(double %0, double %1) {
%3 = tail call double @pow(double %0, double 5.000000e+00)
%4 = fmul double %3, -3.200000e+01
%5 = tail call double @pow(double %1, double 1.100000e+01)
%6 = tail call double @pow(double %0, double 4.000000e+00)
%7 = fmul double %6, 1.040000e+03
%8 = tail call double @pow(double %1, double 9.000000e+00)
%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 3.000000e+00)
%12 = tail call double @pow(double %1, double 7.000000e+00)
%13 = fmul double %11, -1.080000e+04
%14 = tail call double @llvm.fmuladd.f64(double %13, double %12, double %10)
%15 = fmul double %0, 4.284000e+04
%16 = fmul double %15, %0
%17 = tail call double @pow(double %1, double 5.000000e+00)
%18 = tail call double @llvm.fmuladd.f64(double %16, double %17, double %14)
%19 = tail call double @pow(double %1, double 3.000000e+00)
%20 = fmul double %0, -5.985000e+04
%21 = tail call double @llvm.fmuladd.f64(double %20, double %19, double %18)
%22 = tail call double @llvm.fmuladd.f64(double %1, double 1.984500e+04, double %21)
%23 = fmul double %22, 0x40052A7FA9D2F8EA
%24 = tail call double @pow(double %0, double 1.250000e+00)
%25 = fmul double %24, %23
%26 = fmul double %25, 0x3FE809387011FA5F
%27 = fneg double %0
%28 = fmul double %27, %1
%29 = fmul double %28, %1
%30 = fmul double %29, 5.000000e-01
%31 = tail call double @exp(double %30)
%32 = fmul double %31, %26
%33 = fdiv double %32, 5.040000e+03
ret double %33
}