#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);
double dDdV(double V, double J0, double Eg, double T, double n) {
  return J0 * (T * T * T / (300 * 300 * 300)) *
         exp(-(300 - T) * Eg / (n * 8.6173323478e-5 * T * 300)) *
         exp(V / (8.6173323478e-5 * T * n)) / (8.6173323478e-5 * T * n);
}


x86 assembly (clang, -O0):
<dDdV>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  %xmm2,-0x18(%rbp)
movsd  %xmm3,-0x20(%rbp)
movsd  %xmm4,-0x28(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm1
mulsd  -0x20(%rbp),%xmm1
mulsd  -0x20(%rbp),%xmm1
movsd  0xec3(%rip),%xmm2
divsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0xea6(%rip),%xmm0
subsd  -0x20(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  -0x18(%rbp),%xmm0
movsd  0xe75(%rip),%xmm1
mulsd  -0x28(%rbp),%xmm1
mulsd  -0x20(%rbp),%xmm1
movsd  0xe6b(%rip),%xmm2
mulsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
call   1030 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0x38(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xe38(%rip),%xmm1
mulsd  -0x20(%rbp),%xmm1
mulsd  -0x28(%rbp),%xmm1
divsd  %xmm1,%xmm0
call   1030 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0x30(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  0xe11(%rip),%xmm1
mulsd  -0x20(%rbp),%xmm1
mulsd  -0x28(%rbp),%xmm1
divsd  %xmm1,%xmm0
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<dDdV>:
sub    $0x28,%rsp
movapd %xmm3,%xmm5
mulsd  %xmm3,%xmm5
mulsd  %xmm3,%xmm5
divsd  0xed8(%rip),%xmm5
movsd  %xmm4,0x18(%rsp)
movsd  %xmm0,0x20(%rsp)
mulsd  %xmm1,%xmm5
movsd  %xmm5,0x8(%rsp)
movsd  0xec2(%rip),%xmm0
movapd %xmm4,%xmm1
mulsd  0xebe(%rip),%xmm1
movsd  %xmm3,0x10(%rsp)
mulsd  %xmm3,%xmm1
mulsd  %xmm0,%xmm1
subsd  %xmm3,%xmm0
xorpd  0xeb4(%rip),%xmm0
mulsd  %xmm2,%xmm0
divsd  %xmm1,%xmm0
call   1030 <exp@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x10(%rsp),%xmm1
mulsd  0xe7d(%rip),%xmm1
mulsd  0x18(%rsp),%xmm1
movsd  %xmm1,0x10(%rsp)
movsd  0x20(%rsp),%xmm0
divsd  %xmm1,%xmm0
call   1030 <exp@plt>
mulsd  0x8(%rsp),%xmm0
divsd  0x10(%rsp),%xmm0
add    $0x28,%rsp
ret

LLVM IR (-O0):
define double @dDdV(double %0, double %1, double %2, double %3, double %4) {
%6 = alloca double
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = alloca double
store double %0, double* %6
store double %1, double* %7
store double %2, double* %8
store double %3, double* %9
store double %4, double* %10
%11 = load double, double* %7
%12 = load double, double* %9
%13 = load double, double* %9
%14 = fmul double %12, %13
%15 = load double, double* %9
%16 = fmul double %14, %15
%17 = fdiv double %16, 2.700000e+07
%18 = fmul double %11, %17
%19 = load double, double* %9
%20 = fsub double 3.000000e+02, %19
%21 = fneg double %20
%22 = load double, double* %8
%23 = fmul double %21, %22
%24 = load double, double* %10
%25 = fmul double %24, 0x3F1696FE6CAC3313
%26 = load double, double* %9
%27 = fmul double %25, %26
%28 = fmul double %27, 3.000000e+02
%29 = fdiv double %23, %28
%30 = call double @exp(double %29)
%31 = fmul double %18, %30
%32 = load double, double* %6
%33 = load double, double* %9
%34 = fmul double 0x3F1696FE6CAC3313, %33
%35 = load double, double* %10
%36 = fmul double %34, %35
%37 = fdiv double %32, %36
%38 = call double @exp(double %37)
%39 = fmul double %31, %38
%40 = load double, double* %9
%41 = fmul double 0x3F1696FE6CAC3313, %40
%42 = load double, double* %10
%43 = fmul double %41, %42
%44 = fdiv double %39, %43
ret double %44
}

LLVM IR (-O2):
define double @dDdV(double %0, double %1, double %2, double %3, double %4) {
%6 = fmul double %3, %3
%7 = fmul double %6, %3
%8 = fdiv double %7, 2.700000e+07
%9 = fmul double %8, %1
%10 = fsub double 3.000000e+02, %3
%11 = fneg double %10
%12 = fmul double %11, %2
%13 = fmul double %4, 0x3F1696FE6CAC3313
%14 = fmul double %13, %3
%15 = fmul double %14, 3.000000e+02
%16 = fdiv double %12, %15
%17 = tail call double @exp(double %16)
%18 = fmul double %9, %17
%19 = fmul double %3, 0x3F1696FE6CAC3313
%20 = fmul double %19, %4
%21 = fdiv double %0, %20
%22 = tail call double @exp(double %21)
%23 = fmul double %18, %22
%24 = fdiv double %23, %20
ret double %24
}