#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 pow(double, double);
double Qeff(int Z, double M, double E) {
  return Z *
         pow(1.0 + pow((double)Z, 0.75) * 0.105 * pow((M / E), 0.83), (-0.6));
}


x86 assembly (clang, -O0):
<Qeff>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %edi,-0x4(%rbp)
movsd  %xmm0,-0x10(%rbp)
movsd  %xmm1,-0x18(%rbp)
mov    -0x4(%rbp),%eax
mov    %eax,-0x1c(%rbp)
cvtsi2sdl -0x4(%rbp),%xmm0
movsd  0xee8(%rip),%xmm1
call   1030 <pow@plt>
cvtsi2sd %eax,%xmm0
movsd  0xecf(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x10(%rbp),%xmm0
divsd  -0x18(%rbp),%xmm0
movsd  0xeac(%rip),%xmm1
call   1030 <pow@plt>
movsd  -0x28(%rbp),%xmm0
cvtsi2sd %eax,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xe8a(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  0xe76(%rip),%xmm1
call   1030 <pow@plt>
mov    %eax,%ecx
mov    -0x1c(%rbp),%eax
imul   %ecx,%eax
cvtsi2sd %eax,%xmm0
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Qeff>:
push   %rbx
sub    $0x20,%rsp
movsd  %xmm1,0x18(%rsp)
movsd  %xmm0,0x10(%rsp)
mov    %edi,%ebx
xorps  %xmm0,%xmm0
cvtsi2sd %edi,%xmm0
movsd  0xece(%rip),%xmm1
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0xec2(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x10(%rsp),%xmm0
divsd  0x18(%rsp),%xmm0
movsd  0xeb0(%rip),%xmm1
call   1030 <pow@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0x8(%rsp),%xmm0
addsd  0xe9e(%rip),%xmm0
movsd  0xe9e(%rip),%xmm1
call   1030 <pow@plt>
imul   %ebx,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
add    $0x20,%rsp
pop    %rbx
ret

LLVM IR (-O0):
define double @Qeff(i32 %0, double %1, double %2) {
%4 = alloca i32
%5 = alloca double
%6 = alloca double
store i32 %0, i32* %4
store double %1, double* %5
store double %2, double* %6
%7 = load i32, i32* %4
%8 = load i32, i32* %4
%9 = sitofp i32 %8 to double
%10 = call i32 @pow(double %9, double 7.500000e-01)
%11 = sitofp i32 %10 to double
%12 = fmul double %11, 1.050000e-01
%13 = load double, double* %5
%14 = load double, double* %6
%15 = fdiv double %13, %14
%16 = call i32 @pow(double %15, double 8.300000e-01)
%17 = sitofp i32 %16 to double
%18 = call double @llvm.fmuladd.f64(double %12, double %17, double 1.000000e+00)
%19 = call i32 @pow(double %18, double -6.000000e-01)
%20 = mul nsw i32 %7, %19
%21 = sitofp i32 %20 to double
ret double %21
}

LLVM IR (-O2):
define double @Qeff(i32 %0, double %1, double %2) {
%4 = sitofp i32 %0 to double
%5 = tail call i32 @pow(double %4, double 7.500000e-01)
%6 = sitofp i32 %5 to double
%7 = fmul double %6, 1.050000e-01
%8 = fdiv double %1, %2
%9 = tail call i32 @pow(double %8, double 8.300000e-01)
%10 = sitofp i32 %9 to double
%11 = tail call double @llvm.fmuladd.f64(double %7, double %10, double 1.000000e+00)
%12 = tail call i32 @pow(double %11, double -6.000000e-01)
%13 = mul nsw i32 %12, %0
%14 = sitofp i32 %13 to double
ret double %14
}