#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_5(const double a, const double x) {
  double retval =
      -0.2e1 / 0.15e2 *
      (pow(a, 0.3e1) * pow(x, 0.6e1) - 0.10e2 * a * a * pow(x, 0.4e1) +
       0.75e2 / 0.4e1 * a * x * x - 0.15e2 / 0.4e1) *
      sqrt(0.15e2) * pow(a, 0.3e1 / 0.4e1) * exp(-a * x * x / 0.2e1) *
      pow(0.3141592654e1, -0.1e1 / 0.4e1);
  return retval;
}


x86 assembly (clang, -O0):
<HO_deriv_5>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xf09(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,-0x40(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xeea(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,-0x48(%rbp)
movsd  0xed0(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xeac(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x50(%rbp),%xmm1
movsd  -0x48(%rbp),%xmm2
movaps %xmm0,%xmm3
movsd  -0x40(%rbp),%xmm0
mulsd  %xmm3,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xe62(%rip),%xmm1
mulsd  -0x8(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
movsd  -0x10(%rbp),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xe3b(%rip),%xmm0
subsd  %xmm0,%xmm1
movsd  0xe27(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0xe0e(%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  0xde3(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x30(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%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  0xd97(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1030 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0x28(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xd65(%rip),%xmm0
movsd  0xd65(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x20(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<HO_deriv_5>:
sub    $0x28,%rsp
movsd  %xmm1,0x10(%rsp)
movsd  %xmm0,0x18(%rsp)
movsd  0xec8(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,0x8(%rsp)
movsd  0xebd(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x20(%rsp)
movsd  0xeac(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
movsd  0xea1(%rip),%xmm2
movsd  0x18(%rsp),%xmm3
mulsd  %xmm3,%xmm2
mulsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
movsd  0x20(%rsp),%xmm2
mulsd  0x8(%rsp),%xmm2
addsd  %xmm2,%xmm0
movsd  0xe7f(%rip),%xmm2
mulsd  %xmm3,%xmm2
movsd  0x10(%rsp),%xmm1
mulsd  %xmm1,%xmm2
mulsd  %xmm1,%xmm2
addsd  %xmm2,%xmm0
addsd  0xe69(%rip),%xmm0
mulsd  0xe69(%rip),%xmm0
mulsd  0xe69(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xe63(%rip),%xmm1
movapd %xmm3,%xmm0
call   1040 <pow@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x18(%rsp),%xmm0
movsd  0x10(%rsp),%xmm1
mulsd  %xmm1,%xmm0
mulsd  %xmm1,%xmm0
mulsd  0xe3a(%rip),%xmm0
call   1030 <exp@plt>
mulsd  0x8(%rsp),%xmm0
mulsd  0xe2f(%rip),%xmm0
add    $0x28,%rsp
ret

LLVM IR (-O0):
define double @HO_deriv_5(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 3.000000e+00)
%8 = load double, double* %4
%9 = call double @pow(double %8, double 6.000000e+00)
%10 = load double, double* %3
%11 = fmul double 1.000000e+01, %10
%12 = load double, double* %3
%13 = fmul double %11, %12
%14 = load double, double* %4
%15 = call double @pow(double %14, double 4.000000e+00)
%16 = fmul double %13, %15
%17 = fneg double %16
%18 = call double @llvm.fmuladd.f64(double %7, double %9, double %17)
%19 = load double, double* %3
%20 = fmul double 1.875000e+01, %19
%21 = load double, double* %4
%22 = fmul double %20, %21
%23 = load double, double* %4
%24 = call double @llvm.fmuladd.f64(double %22, double %23, double %18)
%25 = fsub double %24, 3.750000e+00
%26 = fmul double 0xBFC1111111111111, %25
%27 = call double @sqrt(double 1.500000e+01)
%28 = fmul double %26, %27
%29 = load double, double* %3
%30 = call double @pow(double %29, double 7.500000e-01)
%31 = fmul double %28, %30
%32 = load double, double* %3
%33 = fneg double %32
%34 = load double, double* %4
%35 = fmul double %33, %34
%36 = load double, double* %4
%37 = fmul double %35, %36
%38 = fdiv double %37, 2.000000e+00
%39 = call double @exp(double %38)
%40 = fmul double %31, %39
%41 = call double @pow(double 0x400921FB54524550, double -2.500000e-01)
%42 = fmul double %40, %41
store double %42, double* %5
%43 = load double, double* %5
ret double %43
}

LLVM IR (-O2):
define double @HO_deriv_5(double %0, double %1) {
%3 = tail call double @pow(double %0, double 3.000000e+00)
%4 = tail call double @pow(double %1, double 6.000000e+00)
%5 = tail call double @pow(double %1, double 4.000000e+00)
%6 = fmul double %0, -1.000000e+01
%7 = fmul double %6, %0
%8 = fmul double %7, %5
%9 = tail call double @llvm.fmuladd.f64(double %3, double %4, double %8)
%10 = fmul double %0, 1.875000e+01
%11 = fmul double %10, %1
%12 = tail call double @llvm.fmuladd.f64(double %11, double %1, double %9)
%13 = fadd double %12, -3.750000e+00
%14 = fmul double %13, 0xBFC1111111111111
%15 = fmul double %14, 0x400EFBDEB14F4EDA
%16 = tail call double @pow(double %0, double 7.500000e-01)
%17 = fmul double %16, %15
%18 = fneg double %0
%19 = fmul double %18, %1
%20 = fmul double %19, %1
%21 = fmul double %20, 5.000000e-01
%22 = tail call double @exp(double %21)
%23 = fmul double %22, %17
%24 = fmul double %23, 0x3FE809387011FA5F
ret double %24
}