#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 */
int exp(double const);
int pow(double const, int);
double ln_evaluate_asymptotic_parametrised(const double Sigma,
                                           const double neff,
                                           const double bandwidth) {
  return (64 * exp(Sigma * Sigma / 4) * pow(Sigma, 5) / bandwidth +
          neff * pow(bandwidth, 4) * (12 + 4 * Sigma * Sigma + pow(Sigma, 4))) /
         (128 * neff * 1.772453851 * pow(Sigma, 5)) * exp(Sigma * Sigma / 4);
}


x86 assembly (clang, -O0):
<ln_evaluate_asymptotic_parametrised>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  %xmm2,-0x18(%rbp)
movsd  -0x8(%rbp),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  0xeb7(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1030 <exp@plt>
shl    $0x6,%eax
mov    %eax,-0x54(%rbp)
movsd  -0x8(%rbp),%xmm0
mov    $0x5,%edi
call   1040 <pow@plt>
mov    %eax,%ecx
mov    -0x54(%rbp),%eax
imul   %ecx,%eax
cvtsi2sd %eax,%xmm0
divsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x18(%rbp),%xmm0
mov    $0x4,%edi
call   1040 <pow@plt>
movsd  -0x50(%rbp),%xmm0
cvtsi2sd %eax,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  0xe50(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  -0x8(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xe52(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x8(%rbp),%xmm0
mov    $0x4,%edi
call   1040 <pow@plt>
movsd  -0x48(%rbp),%xmm2
movsd  -0x40(%rbp),%xmm0
movsd  -0x38(%rbp),%xmm1
cvtsi2sd %eax,%xmm3
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xe06(%rip),%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  0xdf1(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x8(%rbp),%xmm0
mov    $0x5,%edi
call   1040 <pow@plt>
movsd  -0x30(%rbp),%xmm1
movsd  -0x28(%rbp),%xmm0
cvtsi2sd %eax,%xmm2
mulsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x8(%rbp),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  0xda4(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1030 <exp@plt>
movsd  -0x20(%rbp),%xmm0
cvtsi2sd %eax,%xmm1
mulsd  %xmm1,%xmm0
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ln_evaluate_asymptotic_parametrised>:
push   %rbx
sub    $0x30,%rsp
movsd  %xmm2,0x10(%rsp)
movsd  %xmm1,0x8(%rsp)
movsd  %xmm0,0x18(%rsp)
mulsd  %xmm0,%xmm0
mulsd  0xebd(%rip),%xmm0
movsd  %xmm0,0x28(%rsp)
call   1030 <exp@plt>
mov    %eax,%ebx
movsd  0x18(%rsp),%xmm0
mov    $0x5,%edi
call   1040 <pow@plt>
imul   %ebx,%eax
shl    $0x6,%eax
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
movsd  0x10(%rsp),%xmm0
divsd  %xmm0,%xmm1
movsd  %xmm1,(%rsp)
mov    $0x4,%edi
call   1040 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xe67(%rip),%xmm1
movsd  0x18(%rsp),%xmm0
mulsd  %xmm0,%xmm1
mulsd  %xmm0,%xmm1
addsd  0xe59(%rip),%xmm1
movsd  %xmm1,0x20(%rsp)
mov    $0x4,%edi
call   1040 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
addsd  0x20(%rsp),%xmm0
mulsd  0x10(%rsp),%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
mulsd  0xe26(%rip),%xmm0
mulsd  0xe26(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x18(%rsp),%xmm0
mov    $0x5,%edi
call   1040 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0x8(%rsp),%xmm0
movsd  (%rsp),%xmm1
divsd  %xmm0,%xmm1
movsd  %xmm1,(%rsp)
movsd  0x28(%rsp),%xmm0
call   1030 <exp@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  (%rsp),%xmm0
add    $0x30,%rsp
pop    %rbx
ret

LLVM IR (-O0):
define double @ln_evaluate_asymptotic_parametrised(double %0, double %1, double %2) {
%4 = alloca double
%5 = alloca double
%6 = alloca double
store double %0, double* %4
store double %1, double* %5
store double %2, double* %6
%7 = load double, double* %4
%8 = load double, double* %4
%9 = fmul double %7, %8
%10 = fdiv double %9, 4.000000e+00
%11 = call i32 @exp(double %10)
%12 = mul nsw i32 64, %11
%13 = load double, double* %4
%14 = call i32 @pow(double %13, i32 5)
%15 = mul nsw i32 %12, %14
%16 = sitofp i32 %15 to double
%17 = load double, double* %6
%18 = fdiv double %16, %17
%19 = load double, double* %5
%20 = load double, double* %6
%21 = call i32 @pow(double %20, i32 4)
%22 = sitofp i32 %21 to double
%23 = fmul double %19, %22
%24 = load double, double* %4
%25 = fmul double 4.000000e+00, %24
%26 = load double, double* %4
%27 = call double @llvm.fmuladd.f64(double %25, double %26, double 1.200000e+01)
%28 = load double, double* %4
%29 = call i32 @pow(double %28, i32 4)
%30 = sitofp i32 %29 to double
%31 = fadd double %27, %30
%32 = call double @llvm.fmuladd.f64(double %23, double %31, double %18)
%33 = load double, double* %5
%34 = fmul double 1.280000e+02, %33
%35 = fmul double %34, 0x3FFC5BF891BB6D99
%36 = load double, double* %4
%37 = call i32 @pow(double %36, i32 5)
%38 = sitofp i32 %37 to double
%39 = fmul double %35, %38
%40 = fdiv double %32, %39
%41 = load double, double* %4
%42 = load double, double* %4
%43 = fmul double %41, %42
%44 = fdiv double %43, 4.000000e+00
%45 = call i32 @exp(double %44)
%46 = sitofp i32 %45 to double
%47 = fmul double %40, %46
ret double %47
}

LLVM IR (-O2):
define double @ln_evaluate_asymptotic_parametrised(double %0, double %1, double %2) {
%4 = fmul double %0, %0
%5 = fmul double %4, 2.500000e-01
%6 = tail call i32 @exp(double %5)
%7 = shl nsw i32 %6, 6
%8 = tail call i32 @pow(double %0, i32 5)
%9 = mul nsw i32 %7, %8
%10 = sitofp i32 %9 to double
%11 = fdiv double %10, %2
%12 = tail call i32 @pow(double %2, i32 4)
%13 = sitofp i32 %12 to double
%14 = fmul double %13, %1
%15 = fmul double %0, 4.000000e+00
%16 = tail call double @llvm.fmuladd.f64(double %15, double %0, double 1.200000e+01)
%17 = tail call i32 @pow(double %0, i32 4)
%18 = sitofp i32 %17 to double
%19 = fadd double %16, %18
%20 = tail call double @llvm.fmuladd.f64(double %14, double %19, double %11)
%21 = fmul double %1, 1.280000e+02
%22 = fmul double %21, 0x3FFC5BF891BB6D99
%23 = tail call i32 @pow(double %0, i32 5)
%24 = sitofp i32 %23 to double
%25 = fmul double %22, %24
%26 = fdiv double %20, %25
%27 = tail call i32 @exp(double %5)
%28 = sitofp i32 %27 to double
%29 = fmul double %26, %28
ret double %29
}