#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() {
  int a;
  int b;
  a = -2;
  b = 5;
  __print_int(a < b);
  __print_int(a > b);
  __print_int(a < 5);
  __print_int(a > 5);
  __print_int(-2 < b);
  __print_int(-2 > b);
  __print_int(a <= b);
  __print_int(a >= b);
  __print_int(a <= 5);
  __print_int(a >= 5);
  __print_int(-2 <= b);
  __print_int(-2 >= b);
  a = 7;
  b = 7;
  __print_int(a < b);
  __print_int(a > b);
  __print_int(a <= b);
  __print_int(a >= b);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0xfffffffe,-0x8(%rbp)
movl   $0x5,-0xc(%rbp)
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
setl   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
setg   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
cmpl   $0x5,-0x8(%rbp)
setl   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
cmpl   $0x5,-0x8(%rbp)
setg   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
mov    $0xfffffffe,%eax
cmp    -0xc(%rbp),%eax
setl   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
mov    $0xfffffffe,%eax
cmp    -0xc(%rbp),%eax
setg   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
setle  %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
setge  %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
cmpl   $0x5,-0x8(%rbp)
setle  %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
cmpl   $0x5,-0x8(%rbp)
setge  %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
mov    $0xfffffffe,%eax
cmp    -0xc(%rbp),%eax
setle  %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
mov    $0xfffffffe,%eax
cmp    -0xc(%rbp),%eax
setge  %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
movl   $0x7,-0x8(%rbp)
movl   $0x7,-0xc(%rbp)
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
setl   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
setg   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
setle  %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
setge  %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <__print_int@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

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

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
store i32 0, i32* %1
store i32 -2, i32* %2
store i32 5, i32* %3
%4 = load i32, i32* %2
%5 = load i32, i32* %3
%6 = icmp slt i32 %4, %5
%7 = zext i1 %6 to i32
%8 = call i32 @__print_int(i32 %7)
%9 = load i32, i32* %2
%10 = load i32, i32* %3
%11 = icmp sgt i32 %9, %10
%12 = zext i1 %11 to i32
%13 = call i32 @__print_int(i32 %12)
%14 = load i32, i32* %2
%15 = icmp slt i32 %14, 5
%16 = zext i1 %15 to i32
%17 = call i32 @__print_int(i32 %16)
%18 = load i32, i32* %2
%19 = icmp sgt i32 %18, 5
%20 = zext i1 %19 to i32
%21 = call i32 @__print_int(i32 %20)
%22 = load i32, i32* %3
%23 = icmp slt i32 -2, %22
%24 = zext i1 %23 to i32
%25 = call i32 @__print_int(i32 %24)
%26 = load i32, i32* %3
%27 = icmp sgt i32 -2, %26
%28 = zext i1 %27 to i32
%29 = call i32 @__print_int(i32 %28)
%30 = load i32, i32* %2
%31 = load i32, i32* %3
%32 = icmp sle i32 %30, %31
%33 = zext i1 %32 to i32
%34 = call i32 @__print_int(i32 %33)
%35 = load i32, i32* %2
%36 = load i32, i32* %3
%37 = icmp sge i32 %35, %36
%38 = zext i1 %37 to i32
%39 = call i32 @__print_int(i32 %38)
%40 = load i32, i32* %2
%41 = icmp sle i32 %40, 5
%42 = zext i1 %41 to i32
%43 = call i32 @__print_int(i32 %42)
%44 = load i32, i32* %2
%45 = icmp sge i32 %44, 5
%46 = zext i1 %45 to i32
%47 = call i32 @__print_int(i32 %46)
%48 = load i32, i32* %3
%49 = icmp sle i32 -2, %48
%50 = zext i1 %49 to i32
%51 = call i32 @__print_int(i32 %50)
%52 = load i32, i32* %3
%53 = icmp sge i32 -2, %52
%54 = zext i1 %53 to i32
%55 = call i32 @__print_int(i32 %54)
store i32 7, i32* %2
store i32 7, i32* %3
%56 = load i32, i32* %2
%57 = load i32, i32* %3
%58 = icmp slt i32 %56, %57
%59 = zext i1 %58 to i32
%60 = call i32 @__print_int(i32 %59)
%61 = load i32, i32* %2
%62 = load i32, i32* %3
%63 = icmp sgt i32 %61, %62
%64 = zext i1 %63 to i32
%65 = call i32 @__print_int(i32 %64)
%66 = load i32, i32* %2
%67 = load i32, i32* %3
%68 = icmp sle i32 %66, %67
%69 = zext i1 %68 to i32
%70 = call i32 @__print_int(i32 %69)
%71 = load i32, i32* %2
%72 = load i32, i32* %3
%73 = icmp sge i32 %71, %72
%74 = zext i1 %73 to i32
%75 = call i32 @__print_int(i32 %74)
ret i32 0
}

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