#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 /*<<< orphan*/ DSENSITIVITY(double);
double __BUILTIN_DAED_DBETWEEN_WITH_ULP(double, double);
int main(void) {
  double r, K, x;
  double res;
  r = __BUILTIN_DAED_DBETWEEN_WITH_ULP(4.0, 4.0);
  K = __BUILTIN_DAED_DBETWEEN_WITH_ULP(1.11, 1.11);
  x = __BUILTIN_DAED_DBETWEEN_WITH_ULP(0.1, 0.3);
  res = (r * x * x) / (1 + (x / K) * (x / K));
  DSENSITIVITY(res);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
movsd  0xee9(%rip),%xmm1
movaps %xmm1,%xmm0
call   1030 <__BUILTIN_DAED_DBETWEEN_WITH_ULP@plt>
movsd  %xmm0,-0x10(%rbp)
movsd  0xecc(%rip),%xmm1
movaps %xmm1,%xmm0
call   1030 <__BUILTIN_DAED_DBETWEEN_WITH_ULP@plt>
movsd  %xmm0,-0x18(%rbp)
movsd  0xea7(%rip),%xmm0
movsd  0xea7(%rip),%xmm1
call   1030 <__BUILTIN_DAED_DBETWEEN_WITH_ULP@plt>
movsd  %xmm0,-0x20(%rbp)
movsd  -0x10(%rbp),%xmm0
mulsd  -0x20(%rbp),%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm1
divsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
divsd  -0x18(%rbp),%xmm2
mulsd  %xmm2,%xmm1
movsd  0xe5e(%rip),%xmm2
addsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x28(%rbp),%xmm0
call   1040 <DSENSITIVITY@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x18,%rsp
movsd  0xed4(%rip),%xmm0
movaps %xmm0,%xmm1
call   1030 <__BUILTIN_DAED_DBETWEEN_WITH_ULP@plt>
movsd  %xmm0,0x10(%rsp)
movsd  0xec6(%rip),%xmm0
movaps %xmm0,%xmm1
call   1030 <__BUILTIN_DAED_DBETWEEN_WITH_ULP@plt>
movsd  %xmm0,0x8(%rsp)
movsd  0xeb8(%rip),%xmm0
movsd  0xeb8(%rip),%xmm1
call   1030 <__BUILTIN_DAED_DBETWEEN_WITH_ULP@plt>
movsd  0x10(%rsp),%xmm1
mulsd  %xmm0,%xmm1
mulsd  %xmm0,%xmm1
divsd  0x8(%rsp),%xmm0
mulsd  %xmm0,%xmm0
addsd  0xe9b(%rip),%xmm0
divsd  %xmm0,%xmm1
movapd %xmm1,%xmm0
call   1040 <DSENSITIVITY@plt>
xor    %eax,%eax
add    $0x18,%rsp
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
%2 = alloca double
%3 = alloca double
%4 = alloca double
%5 = alloca double
store i32 0, i32* %1
%6 = call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double 4.000000e+00, double 4.000000e+00)
store double %6, double* %2
%7 = call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double 1.110000e+00, double 1.110000e+00)
store double %7, double* %3
%8 = call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double 1.000000e-01, double 3.000000e-01)
store double %8, double* %4
%9 = load double, double* %2
%10 = load double, double* %4
%11 = fmul double %9, %10
%12 = load double, double* %4
%13 = fmul double %11, %12
%14 = load double, double* %4
%15 = load double, double* %3
%16 = fdiv double %14, %15
%17 = load double, double* %4
%18 = load double, double* %3
%19 = fdiv double %17, %18
%20 = call double @llvm.fmuladd.f64(double %16, double %19, double 1.000000e+00)
%21 = fdiv double %13, %20
store double %21, double* %5
%22 = load double, double* %5
%23 = call i32 @DSENSITIVITY(double %22)
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double 4.000000e+00, double 4.000000e+00)
%2 = tail call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double 1.110000e+00, double 1.110000e+00)
%3 = tail call double @__BUILTIN_DAED_DBETWEEN_WITH_ULP(double 1.000000e-01, double 3.000000e-01)
%4 = fmul double %1, %3
%5 = fmul double %3, %4
%6 = fdiv double %3, %2
%7 = tail call double @llvm.fmuladd.f64(double %6, double %6, double 1.000000e+00)
%8 = fdiv double %5, %7
%9 = tail call i32 @DSENSITIVITY(double %8)
ret i32 0
}