#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_7(const double a, const double x) {
  double retval =
      -sqrt(0.70e2) * pow(a, 0.3e1 / 0.4e1) * exp(-a * x * x / 0.2e1) *
      (0.8e1 * pow(a, 0.4e1) * pow(x, 0.8e1) -
       0.140e3 * pow(a, 0.3e1) * pow(x, 0.6e1) +
       0.630e3 * a * a * pow(x, 0.4e1) - 0.735e3 * a * x * x + 0.105e3) *
      pow(0.3141592654e1, -0.1e1 / 0.4e1) / 0.420e3;
  return retval;
}


x86 assembly (clang, -O0):
<HO_deriv_7>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  0xf1e(%rip),%xmm0
call   1050 <sqrt@plt>
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xee8(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x60(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%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  0xe9c(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1030 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0x58(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xe45(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xe5d(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe47(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,-0x48(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xe28(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  0xe10(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xdf2(%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  %xmm0,-0x30(%rbp)
movsd  0xda3(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xd7f(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x38(%rbp),%xmm2
movsd  -0x30(%rbp),%xmm1
movaps %xmm0,%xmm3
movsd  -0x28(%rbp),%xmm0
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  0xd50(%rip),%xmm1
mulsd  -0x8(%rbp),%xmm1
mulsd  -0x10(%rbp),%xmm1
movsd  -0x10(%rbp),%xmm3
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
movsd  0xd12(%rip),%xmm2
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xced(%rip),%xmm0
movsd  0xced(%rip),%xmm1
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x20(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  0xcc4(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<HO_deriv_7>:
sub    $0x38,%rsp
movsd  %xmm1,0x10(%rsp)
movsd  %xmm0,0x8(%rsp)
movsd  0xec8(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0xec3(%rip),%xmm0
movsd  %xmm0,0x28(%rsp)
movsd  0x8(%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  0x8(%rsp),%xmm0
call   1040 <pow@plt>
movsd  0xe8d(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x18(%rsp)
movsd  0xe72(%rip),%xmm1
movsd  0x8(%rsp),%xmm0
call   1040 <pow@plt>
movsd  %xmm0,0x30(%rsp)
movsd  0xe61(%rip),%xmm1
movsd  0x10(%rsp),%xmm0
call   1040 <pow@plt>
movsd  0x30(%rsp),%xmm1
mulsd  0xe50(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0x18(%rsp),%xmm1
mulsd  0x20(%rsp),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  0xe36(%rip),%xmm1
movsd  0x8(%rsp),%xmm0
mulsd  %xmm0,%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x18(%rsp)
movsd  0x10(%rsp),%xmm0
movsd  0xdec(%rip),%xmm1
call   1040 <pow@plt>
mulsd  0x18(%rsp),%xmm0
addsd  0x20(%rsp),%xmm0
movsd  0x8(%rsp),%xmm1
mulsd  0xdfd(%rip),%xmm1
movsd  0x10(%rsp),%xmm2
mulsd  %xmm2,%xmm1
mulsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
addsd  0xdeb(%rip),%xmm0
mulsd  0x28(%rsp),%xmm0
mulsd  0xde5(%rip),%xmm0
divsd  0xde5(%rip),%xmm0
add    $0x38,%rsp
ret

LLVM IR (-O0):
define double @HO_deriv_7(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 7.000000e+01)
%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 4.000000e+00)
%22 = fmul double 8.000000e+00, %21
%23 = load double, double* %4
%24 = call double @pow(double %23, double 8.000000e+00)
%25 = load double, double* %3
%26 = call double @pow(double %25, double 3.000000e+00)
%27 = fmul double 1.400000e+02, %26
%28 = load double, double* %4
%29 = call double @pow(double %28, double 6.000000e+00)
%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 = fmul double 6.300000e+02, %33
%35 = load double, double* %3
%36 = fmul double %34, %35
%37 = load double, double* %4
%38 = call double @pow(double %37, double 4.000000e+00)
%39 = call double @llvm.fmuladd.f64(double %36, double %38, double %32)
%40 = load double, double* %3
%41 = fmul double 7.350000e+02, %40
%42 = load double, double* %4
%43 = fmul double %41, %42
%44 = load double, double* %4
%45 = fneg double %43
%46 = call double @llvm.fmuladd.f64(double %45, double %44, double %39)
%47 = fadd double %46, 1.050000e+02
%48 = fmul double %19, %47
%49 = call double @pow(double 0x400921FB54524550, double -2.500000e-01)
%50 = fmul double %48, %49
%51 = fdiv double %50, 4.200000e+02
store double %51, double* %5
%52 = load double, double* %5
ret double %52
}

LLVM IR (-O2):
define double @HO_deriv_7(double %0, double %1) {
%3 = tail call double @pow(double %0, double 7.500000e-01)
%4 = fmul double %3, 0xC020BBB307ACAFDB
%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 4.000000e+00)
%12 = fmul double %11, 8.000000e+00
%13 = tail call double @pow(double %1, double 8.000000e+00)
%14 = tail call double @pow(double %0, double 3.000000e+00)
%15 = tail call double @pow(double %1, double 6.000000e+00)
%16 = fmul double %14, -1.400000e+02
%17 = fmul double %16, %15
%18 = tail call double @llvm.fmuladd.f64(double %12, double %13, double %17)
%19 = fmul double %0, 6.300000e+02
%20 = fmul double %19, %0
%21 = tail call double @pow(double %1, double 4.000000e+00)
%22 = tail call double @llvm.fmuladd.f64(double %20, double %21, double %18)
%23 = fmul double %0, -7.350000e+02
%24 = fmul double %23, %1
%25 = tail call double @llvm.fmuladd.f64(double %24, double %1, double %22)
%26 = fadd double %25, 1.050000e+02
%27 = fmul double %10, %26
%28 = fmul double %27, 0x3FE809387011FA5F
%29 = fdiv double %28, 4.200000e+02
ret double %29
}