#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*/ __print_int(int);
int main() {
  float a;
  a = 7.4;
  __print_int(!a);
  a = 0.0;
  __print_int(!a);
  __print_int(a && 10.3);
  __print_int(10.3 && a);
  a = 5.7;
  __print_int(a && 10.3);
  __print_int(10.3 && a);
  __print_int(a && 0.0);
  __print_int(0.0 && a);
  __print_int(a || 0.0);
  __print_int(0.0 || a);
  a = 0.0;
  __print_int(a || 0.0);
  __print_int(0.0 || a);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
movss  0xed9(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
movss  -0x8(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
setne  %al
setp   %cl
or     %cl,%al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x8(%rbp)
movss  -0x8(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
setne  %al
setp   %cl
or     %cl,%al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
movss  -0x8(%rbp),%xmm0
xor    %eax,%eax
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
mov    %al,-0x9(%rbp)
jne    1193 <main+0x83>
jp     1193 <main+0x83>
jmp    119d <main+0x8d>
mov    $0x1,%al
mov    %al,-0x9(%rbp)
jmp    119d <main+0x8d>
mov    -0x9(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
xor    %eax,%eax
mov    $0x1,%cl
test   $0x1,%cl
mov    %al,-0xa(%rbp)
jne    11bf <main+0xaf>
jmp    11d5 <main+0xc5>
movss  -0x8(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
setne  %al
setp   %cl
or     %cl,%al
mov    %al,-0xa(%rbp)
mov    -0xa(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
movss  0xe1a(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
movss  -0x8(%rbp),%xmm0
xor    %eax,%eax
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
mov    %al,-0xb(%rbp)
jne    1210 <main+0x100>
jp     1210 <main+0x100>
jmp    121a <main+0x10a>
mov    $0x1,%al
mov    %al,-0xb(%rbp)
jmp    121a <main+0x10a>
mov    -0xb(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
xor    %eax,%eax
mov    $0x1,%cl
test   $0x1,%cl
mov    %al,-0xc(%rbp)
jne    123c <main+0x12c>
jmp    1252 <main+0x142>
movss  -0x8(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
setne  %al
setp   %cl
or     %cl,%al
mov    %al,-0xc(%rbp)
mov    -0xc(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
movss  -0x8(%rbp),%xmm0
xor    %eax,%eax
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
mov    %al,-0xd(%rbp)
jne    1280 <main+0x170>
jp     1280 <main+0x170>
jmp    128a <main+0x17a>
xor    %eax,%eax
mov    %al,-0xd(%rbp)
jmp    128a <main+0x17a>
mov    -0xd(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
xor    %eax,%eax
test   $0x1,%al
mov    %al,-0xe(%rbp)
jne    12a9 <main+0x199>
jmp    12bf <main+0x1af>
movss  -0x8(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
setne  %al
setp   %cl
or     %cl,%al
mov    %al,-0xe(%rbp)
mov    -0xe(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
movss  -0x8(%rbp),%xmm0
mov    $0x1,%al
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
mov    %al,-0xf(%rbp)
jne    12f2 <main+0x1e2>
jp     12f2 <main+0x1e2>
xor    %eax,%eax
mov    %al,-0xf(%rbp)
jmp    12f2 <main+0x1e2>
mov    -0xf(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
mov    $0x1,%al
xor    %ecx,%ecx
test   $0x1,%cl
mov    %al,-0x10(%rbp)
jne    1325 <main+0x215>
movss  -0x8(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
setne  %al
setp   %cl
or     %cl,%al
mov    %al,-0x10(%rbp)
mov    -0x10(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x8(%rbp)
movss  -0x8(%rbp),%xmm0
mov    $0x1,%al
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
mov    %al,-0x11(%rbp)
jne    1360 <main+0x250>
jp     1360 <main+0x250>
xor    %eax,%eax
mov    %al,-0x11(%rbp)
jmp    1360 <main+0x250>
mov    -0x11(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
mov    $0x1,%al
xor    %ecx,%ecx
test   $0x1,%cl
mov    %al,-0x12(%rbp)
jne    1393 <main+0x283>
movss  -0x8(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
setne  %al
setp   %cl
or     %cl,%al
mov    %al,-0x12(%rbp)
mov    -0x12(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %edi,%edi
call   1030 <__print_int@plt>
mov    $0x1,%edi
call   1030 <__print_int@plt>
xor    %edi,%edi
call   1030 <__print_int@plt>
xor    %edi,%edi
call   1030 <__print_int@plt>
mov    $0x1,%edi
call   1030 <__print_int@plt>
mov    $0x1,%edi
call   1030 <__print_int@plt>
xor    %edi,%edi
call   1030 <__print_int@plt>
xor    %edi,%edi
call   1030 <__print_int@plt>
mov    $0x1,%edi
call   1030 <__print_int@plt>
mov    $0x1,%edi
call   1030 <__print_int@plt>
xor    %edi,%edi
call   1030 <__print_int@plt>
xor    %edi,%edi
call   1030 <__print_int@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
%2 = alloca float
store i32 0, i32* %1
store float 0x401D9999A0000000, float* %2
%3 = load float, float* %2
%4 = fcmp une float %3, 0.000000e+00
%5 = xor i1 %4, true
%6 = zext i1 %5 to i32
%7 = call i32 @__print_int(i32 %6)
store float 0.000000e+00, float* %2
%8 = load float, float* %2
%9 = fcmp une float %8, 0.000000e+00
%10 = xor i1 %9, true
%11 = zext i1 %10 to i32
%12 = call i32 @__print_int(i32 %11)
%13 = load float, float* %2
%14 = fcmp une float %13, 0.000000e+00
br i1 %14, label %15, label %16
15: ; preds = %0
br label %16
16: ; preds = %15, %0
%17 = phi i1 [ false, %0 ], [ true, %15 ]
%18 = zext i1 %17 to i32
%19 = call i32 @__print_int(i32 %18)
br i1 true, label %20, label %23
20: ; preds = %16
%21 = load float, float* %2
%22 = fcmp une float %21, 0.000000e+00
br label %23
23: ; preds = %20, %16
%24 = phi i1 [ false, %16 ], [ %22, %20 ]
%25 = zext i1 %24 to i32
%26 = call i32 @__print_int(i32 %25)
store float 0x4016CCCCC0000000, float* %2
%27 = load float, float* %2
%28 = fcmp une float %27, 0.000000e+00
br i1 %28, label %29, label %30
29: ; preds = %23
br label %30
30: ; preds = %29, %23
%31 = phi i1 [ false, %23 ], [ true, %29 ]
%32 = zext i1 %31 to i32
%33 = call i32 @__print_int(i32 %32)
br i1 true, label %34, label %37
34: ; preds = %30
%35 = load float, float* %2
%36 = fcmp une float %35, 0.000000e+00
br label %37
37: ; preds = %34, %30
%38 = phi i1 [ false, %30 ], [ %36, %34 ]
%39 = zext i1 %38 to i32
%40 = call i32 @__print_int(i32 %39)
%41 = load float, float* %2
%42 = fcmp une float %41, 0.000000e+00
br i1 %42, label %43, label %44
43: ; preds = %37
br label %44
44: ; preds = %43, %37
%45 = phi i1 [ false, %37 ], [ false, %43 ]
%46 = zext i1 %45 to i32
%47 = call i32 @__print_int(i32 %46)
br i1 false, label %48, label %51
48: ; preds = %44
%49 = load float, float* %2
%50 = fcmp une float %49, 0.000000e+00
br label %51
51: ; preds = %48, %44
%52 = phi i1 [ false, %44 ], [ %50, %48 ]
%53 = zext i1 %52 to i32
%54 = call i32 @__print_int(i32 %53)
%55 = load float, float* %2
%56 = fcmp une float %55, 0.000000e+00
br i1 %56, label %58, label %57
57: ; preds = %51
br label %58
58: ; preds = %57, %51
%59 = phi i1 [ true, %51 ], [ false, %57 ]
%60 = zext i1 %59 to i32
%61 = call i32 @__print_int(i32 %60)
br i1 false, label %65, label %62
62: ; preds = %58
%63 = load float, float* %2
%64 = fcmp une float %63, 0.000000e+00
br label %65
65: ; preds = %62, %58
%66 = phi i1 [ true, %58 ], [ %64, %62 ]
%67 = zext i1 %66 to i32
%68 = call i32 @__print_int(i32 %67)
store float 0.000000e+00, float* %2
%69 = load float, float* %2
%70 = fcmp une float %69, 0.000000e+00
br i1 %70, label %72, label %71
71: ; preds = %65
br label %72
72: ; preds = %71, %65
%73 = phi i1 [ true, %65 ], [ false, %71 ]
%74 = zext i1 %73 to i32
%75 = call i32 @__print_int(i32 %74)
br i1 false, label %79, label %76
76: ; preds = %72
%77 = load float, float* %2
%78 = fcmp une float %77, 0.000000e+00
br label %79
79: ; preds = %76, %72
%80 = phi i1 [ true, %72 ], [ %78, %76 ]
%81 = zext i1 %80 to i32
%82 = call i32 @__print_int(i32 %81)
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 @__print_int(i32 0)
%2 = tail call i32 @__print_int(i32 1)
%3 = tail call i32 @__print_int(i32 0)
%4 = tail call i32 @__print_int(i32 0)
%5 = tail call i32 @__print_int(i32 1)
%6 = tail call i32 @__print_int(i32 1)
%7 = tail call i32 @__print_int(i32 0)
%8 = tail call i32 @__print_int(i32 0)
%9 = tail call i32 @__print_int(i32 1)
%10 = tail call i32 @__print_int(i32 1)
%11 = tail call i32 @__print_int(i32 0)
%12 = tail call i32 @__print_int(i32 0)
ret i32 0
}