#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, int);
double Omega_gluon_cond(double T) {
  double Tc = 0.27;
  double G0 = 0.4;
  G0 = 0.30;
  if (T < Tc)
    return pow(G0, 4) * (1 - pow(T / Tc, 4));
  else
    return 0.;
}


x86 assembly (clang, -O0):
<Omega_gluon_cond>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movsd  %xmm0,-0x10(%rbp)
movsd  0xeeb(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xed6(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xec1(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x10(%rbp),%xmm1
movsd  -0x18(%rbp),%xmm0
ucomisd %xmm1,%xmm0
jbe    119b <Omega_gluon_cond+0x8b>
movsd  -0x20(%rbp),%xmm0
mov    $0x4,%edi
call   1030 <pow@plt>
mov    %eax,-0x24(%rbp)
movsd  -0x10(%rbp),%xmm0
divsd  -0x18(%rbp),%xmm0
mov    $0x4,%edi
call   1030 <pow@plt>
mov    %eax,%edx
mov    -0x24(%rbp),%eax
mov    $0x1,%ecx
sub    %edx,%ecx
imul   %ecx,%eax
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    11a3 <Omega_gluon_cond+0x93>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x8(%rbp)
movsd  -0x8(%rbp),%xmm0
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Omega_gluon_cond>:
push   %rbx
sub    $0x10,%rsp
movapd %xmm0,%xmm2
xorpd  %xmm0,%xmm0
movsd  0xedb(%rip),%xmm1
ucomisd %xmm2,%xmm1
jbe    116e <Omega_gluon_cond+0x5e>
movsd  0xed5(%rip),%xmm0
mov    $0x4,%edi
movsd  %xmm2,0x8(%rsp)
call   1030 <pow@plt>
mov    %eax,%ebx
movsd  0x8(%rsp),%xmm0
divsd  0xead(%rip),%xmm0
mov    $0x4,%edi
call   1030 <pow@plt>
mov    $0x1,%ecx
sub    %eax,%ecx
imul   %ebx,%ecx
xorps  %xmm0,%xmm0
cvtsi2sd %ecx,%xmm0
add    $0x10,%rsp
pop    %rbx
ret

LLVM IR (-O0):
define double @Omega_gluon_cond(double %0) {
%2 = alloca double
%3 = alloca double
%4 = alloca double
%5 = alloca double
store double %0, double* %3
store double 2.700000e-01, double* %4
store double 4.000000e-01, double* %5
store double 3.000000e-01, double* %5
%6 = load double, double* %3
%7 = load double, double* %4
%8 = fcmp olt double %6, %7
br i1 %8, label %9, label %19
9: ; preds = %1
%10 = load double, double* %5
%11 = call i32 @pow(double %10, i32 4)
%12 = load double, double* %3
%13 = load double, double* %4
%14 = fdiv double %12, %13
%15 = call i32 @pow(double %14, i32 4)
%16 = sub nsw i32 1, %15
%17 = mul nsw i32 %11, %16
%18 = sitofp i32 %17 to double
store double %18, double* %2
br label %20
19: ; preds = %1
store double 0.000000e+00, double* %2
br label %20
20: ; preds = %19, %9
%21 = load double, double* %2
ret double %21
}

LLVM IR (-O2):
define double @Omega_gluon_cond(double %0) {
%2 = fcmp olt double %0, 2.700000e-01
br i1 %2, label %3, label %10
3: ; preds = %1
%4 = tail call i32 @pow(double 3.000000e-01, i32 4)
%5 = fdiv double %0, 2.700000e-01
%6 = tail call i32 @pow(double %5, i32 4)
%7 = sub nsw i32 1, %6
%8 = mul nsw i32 %7, %4
%9 = sitofp i32 %8 to double
br label %10
10: ; preds = %1, %3
%11 = phi double [ %9, %3 ], [ 0.000000e+00, %1 ]
ret double %11
}