#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);
double Mezei_M(double l, double temp) {
  double a = 949.0 / temp;
  return 2 * a * a * exp(-a / (l * l)) / (l * l * l * l * l);
}


x86 assembly (clang, -O0):
<Mezei_M>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  0xede(%rip),%xmm0
divsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xec4(%rip),%xmm0
mulsd  -0x18(%rbp),%xmm0
mulsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x18(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  -0x8(%rbp),%xmm1
mulsd  -0x8(%rbp),%xmm1
divsd  %xmm1,%xmm0
call   1030 <exp@plt>
movsd  -0x20(%rbp),%xmm0
cvtsi2sd %eax,%xmm1
mulsd  %xmm1,%xmm0
movsd  -0x8(%rbp),%xmm1
mulsd  -0x8(%rbp),%xmm1
mulsd  -0x8(%rbp),%xmm1
mulsd  -0x8(%rbp),%xmm1
mulsd  -0x8(%rbp),%xmm1
divsd  %xmm1,%xmm0
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Mezei_M>:
sub    $0x38,%rsp
movapd %xmm0,%xmm2
movapd %xmm0,0x20(%rsp)
movsd  0xeda(%rip),%xmm3
divsd  %xmm1,%xmm3
movapd 0xede(%rip),%xmm0
xorpd  %xmm3,%xmm0
unpcklpd %xmm2,%xmm3
movapd %xmm3,0x10(%rsp)
movapd 0xed8(%rip),%xmm1
unpcklpd %xmm2,%xmm1
mulpd  %xmm3,%xmm1
movapd %xmm1,(%rsp)
unpckhpd %xmm1,%xmm1
divsd  %xmm1,%xmm0
call   1030 <exp@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movapd (%rsp),%xmm1
mulpd  0x10(%rsp),%xmm1
movapd 0x20(%rsp),%xmm2
unpcklpd %xmm2,%xmm0
mulpd  %xmm1,%xmm0
movapd %xmm0,%xmm1
unpckhpd %xmm0,%xmm1
mulsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
add    $0x38,%rsp
ret

LLVM IR (-O0):
define double @Mezei_M(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* %4
%7 = fdiv double 9.490000e+02, %6
store double %7, double* %5
%8 = load double, double* %5
%9 = fmul double 2.000000e+00, %8
%10 = load double, double* %5
%11 = fmul double %9, %10
%12 = load double, double* %5
%13 = fneg double %12
%14 = load double, double* %3
%15 = load double, double* %3
%16 = fmul double %14, %15
%17 = fdiv double %13, %16
%18 = call i32 @exp(double %17)
%19 = sitofp i32 %18 to double
%20 = fmul double %11, %19
%21 = load double, double* %3
%22 = load double, double* %3
%23 = fmul double %21, %22
%24 = load double, double* %3
%25 = fmul double %23, %24
%26 = load double, double* %3
%27 = fmul double %25, %26
%28 = load double, double* %3
%29 = fmul double %27, %28
%30 = fdiv double %20, %29
ret double %30
}

LLVM IR (-O2):
define double @Mezei_M(double %0, double %1) {
%3 = fdiv double 9.490000e+02, %1
%4 = fneg double %3
%5 = insertelement <2 x double> poison, double %0, i64 1
%6 = insertelement <2 x double> %5, double %3, i64 0
%7 = insertelement <2 x double> <double 2.000000e+00, double poison>, double %0, i64 1
%8 = fmul <2 x double> %6, %7
%9 = extractelement <2 x double> %8, i64 1
%10 = fdiv double %4, %9
%11 = tail call i32 @exp(double %10)
%12 = sitofp i32 %11 to double
%13 = fmul <2 x double> %8, %6
%14 = insertelement <2 x double> %5, double %12, i64 0
%15 = fmul <2 x double> %13, %14
%16 = extractelement <2 x double> %15, i64 1
%17 = fmul double %16, %0
%18 = extractelement <2 x double> %15, i64 0
%19 = fdiv double %18, %17
ret double %19
}