#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_13(const double a, const double x) {
  double retval = -sqrt(0.6006e4) * pow(a, 0.3e1 / 0.4e1) *
                  exp(-a * x * x / 0.2e1) *
                  (0.64e2 * pow(a, 0.7e1) * pow(x, 0.14e2) -
                   0.3328e4 * pow(a, 0.6e1) * pow(x, 0.12e2) +
                   0.61776e5 * pow(a, 0.5e1) * pow(x, 0.10e2) -
                   0.514800e6 * pow(a, 0.4e1) * pow(x, 0.8e1) +
                   0.1981980e7 * pow(a, 0.3e1) * pow(x, 0.6e1) -
                   0.3243240e7 * a * a * pow(x, 0.4e1) +
                   0.1756755e7 * a * x * x - 0.135135e6) *
                  pow(0.3141592654e1, -0.1e1 / 0.4e1) / 0.4324320e7;
  return retval;
}


x86 assembly (clang, -O0):
<HO_deriv_13>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  0xf63(%rip),%xmm0
call   1050 <sqrt@plt>
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
movsd  0xf2a(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x90(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%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  0xed8(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1030 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0x88(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xea6(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xe8e(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe70(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,-0x78(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xe09(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xe41(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe23(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x80(%rbp),%xmm1
movsd  -0x78(%rbp),%xmm2
movaps %xmm0,%xmm3
movsd  -0x70(%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,-0x68(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xdcf(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xdb7(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xd99(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x68(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x60(%rbp),%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xd35(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xd55(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xd37(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x58(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x50(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xcec(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xcd4(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xcb6(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x48(%rbp),%xmm1
movaps %xmm0,%xmm2
movsd  -0x40(%rbp),%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0xc87(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xc63(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x38(%rbp),%xmm2
movsd  -0x30(%rbp),%xmm1
movaps %xmm0,%xmm3
movsd  -0x28(%rbp),%xmm0
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  0xc1d(%rip),%xmm1
mulsd  -0x8(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
movsd  -0x10(%rbp),%xmm3
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
movsd  0xbf6(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xbd1(%rip),%xmm0
movsd  0xbd1(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x20(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  0xba8(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<HO_deriv_13>:
sub    $0x38,%rsp
movsd  %xmm1,0x10(%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  0x10(%rsp),%xmm1
mulsd  %xmm1,%xmm0
mulsd  %xmm1,%xmm0
mulsd  0xea9(%rip),%xmm0
call   1030 <exp@plt>
mulsd  0x28(%rsp),%xmm0
movsd  %xmm0,0x28(%rsp)
movsd  0xe98(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xe8d(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xe87(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x18(%rsp)
movsd  0xe76(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x30(%rsp)
movsd  0xe65(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
movsd  0x30(%rsp),%xmm1
mulsd  0xe54(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0x18(%rsp),%xmm1
mulsd  0x8(%rsp),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xe3a(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xe2f(%rip),%xmm0
movsd  %xmm0,0x18(%rsp)
movsd  0xe29(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0x18(%rsp),%xmm0
addsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xe0c(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x18(%rsp)
movsd  0xdfb(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
movsd  0x18(%rsp),%xmm1
mulsd  0xdea(%rip),%xmm1
mulsd  %xmm1,%xmm0
addsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xdda(%rip),%xmm1
movsd  0x20(%rsp),%xmm0
call   1040 <pow@plt>
mulsd  0xdcf(%rip),%xmm0
movsd  %xmm0,0x18(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0xd6b(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0x18(%rsp),%xmm0
addsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0xd76(%rip),%xmm1
call   1040 <pow@plt>
movsd  0xd91(%rip),%xmm1
movsd  0x20(%rsp),%xmm2
mulsd  %xmm2,%xmm1
mulsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
addsd  0x8(%rsp),%xmm0
mulsd  0xd79(%rip),%xmm2
movsd  0x10(%rsp),%xmm1
mulsd  %xmm1,%xmm2
mulsd  %xmm1,%xmm2
addsd  %xmm2,%xmm0
addsd  0xd67(%rip),%xmm0
mulsd  0x28(%rsp),%xmm0
mulsd  0xd61(%rip),%xmm0
divsd  0xd61(%rip),%xmm0
add    $0x38,%rsp
ret

LLVM IR (-O0):
define double @HO_deriv_13(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 6.006000e+03)
%7 = fneg double %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 = load double, double* %3
%21 = call double @pow(double %20, double 7.000000e+00)
%22 = fmul double 6.400000e+01, %21
%23 = load double, double* %4
%24 = call double @pow(double %23, double 1.400000e+01)
%25 = load double, double* %3
%26 = call double @pow(double %25, double 6.000000e+00)
%27 = fmul double 3.328000e+03, %26
%28 = load double, double* %4
%29 = call double @pow(double %28, double 1.200000e+01)
%30 = fmul double %27, %29
%31 = fneg double %30
%32 = call double @llvm.fmuladd.f64(double %22, double %24, double %31)
%33 = load double, double* %3
%34 = call double @pow(double %33, double 5.000000e+00)
%35 = fmul double 6.177600e+04, %34
%36 = load double, double* %4
%37 = call double @pow(double %36, double 1.000000e+01)
%38 = call double @llvm.fmuladd.f64(double %35, double %37, double %32)
%39 = load double, double* %3
%40 = call double @pow(double %39, double 4.000000e+00)
%41 = fmul double 5.148000e+05, %40
%42 = load double, double* %4
%43 = call double @pow(double %42, double 8.000000e+00)
%44 = fneg double %41
%45 = call double @llvm.fmuladd.f64(double %44, double %43, double %38)
%46 = load double, double* %3
%47 = call double @pow(double %46, double 3.000000e+00)
%48 = fmul double 1.981980e+06, %47
%49 = load double, double* %4
%50 = call double @pow(double %49, double 6.000000e+00)
%51 = call double @llvm.fmuladd.f64(double %48, double %50, double %45)
%52 = load double, double* %3
%53 = fmul double 3.243240e+06, %52
%54 = load double, double* %3
%55 = fmul double %53, %54
%56 = load double, double* %4
%57 = call double @pow(double %56, double 4.000000e+00)
%58 = fneg double %55
%59 = call double @llvm.fmuladd.f64(double %58, double %57, double %51)
%60 = load double, double* %3
%61 = fmul double 0x413ACE5300000000, %60
%62 = load double, double* %4
%63 = fmul double %61, %62
%64 = load double, double* %4
%65 = call double @llvm.fmuladd.f64(double %63, double %64, double %59)
%66 = fsub double %65, 1.351350e+05
%67 = fmul double %19, %66
%68 = call double @pow(double 0x400921FB54524550, double -2.500000e-01)
%69 = fmul double %67, %68
%70 = fdiv double %69, 4.324320e+06
store double %70, double* %5
%71 = load double, double* %5
ret double %71
}

LLVM IR (-O2):
define double @HO_deriv_13(double %0, double %1) {
%3 = tail call double @pow(double %0, double 7.500000e-01)
%4 = fmul double %3, 0xC0535FE592EC53A7
%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 = tail call double @pow(double %0, double 7.000000e+00)
%12 = fmul double %11, 6.400000e+01
%13 = tail call double @pow(double %1, double 1.400000e+01)
%14 = tail call double @pow(double %0, double 6.000000e+00)
%15 = tail call double @pow(double %1, double 1.200000e+01)
%16 = fmul double %14, -3.328000e+03
%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 5.000000e+00)
%20 = fmul double %19, 6.177600e+04
%21 = tail call double @pow(double %1, double 1.000000e+01)
%22 = tail call double @llvm.fmuladd.f64(double %20, double %21, double %18)
%23 = tail call double @pow(double %0, double 4.000000e+00)
%24 = tail call double @pow(double %1, double 8.000000e+00)
%25 = fmul double %23, -5.148000e+05
%26 = tail call double @llvm.fmuladd.f64(double %25, double %24, double %22)
%27 = tail call double @pow(double %0, double 3.000000e+00)
%28 = fmul double %27, 1.981980e+06
%29 = tail call double @pow(double %1, double 6.000000e+00)
%30 = tail call double @llvm.fmuladd.f64(double %28, double %29, double %26)
%31 = tail call double @pow(double %1, double 4.000000e+00)
%32 = fmul double %0, -3.243240e+06
%33 = fmul double %32, %0
%34 = tail call double @llvm.fmuladd.f64(double %33, double %31, double %30)
%35 = fmul double %0, 0x413ACE5300000000
%36 = fmul double %35, %1
%37 = tail call double @llvm.fmuladd.f64(double %36, double %1, double %34)
%38 = fadd double %37, -1.351350e+05
%39 = fmul double %10, %38
%40 = fmul double %39, 0x3FE809387011FA5F
%41 = fdiv double %40, 4.324320e+06
ret double %41
}