#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*/ printf(char *);
int /*<<< orphan*/ scanf(char *, ...);
int main(int argc, char *argv[], char *envp[]) {
  int local0;
  unsigned int local1;
  scanf("%d", &local0);
  scanf("%d", &local1);
  if (5 == local0) {
    printf("Equal\n");
  }
  if (5 != local0) {
    printf("Not Equal\n");
  }
  if (5 > local0) {
    printf("Greater\n");
  }
  if (5 <= local0) {
    printf("Less or Equal\n");
  }
  if (5 >= local0) {
    printf("Greater or Equal\n");
  }
  printf("Less\n");
  if (5 > local1) {
    printf("Greater Unsigned\n");
  }
  if (5 <= local1) {
    printf("Less or Equal Unsigned\n");
  }
  if (5 >= local1) {
    printf("Carry Clear\n");
  }
  if (5 < local1) {
    printf("Carry Set\n");
  }
  if (5 - local0 >= 0) {
    printf("Minus\n");
  }
  if (5 - local0 < 0) {
    printf("Plus\n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
lea    0xebf(%rip),%rdi
lea    -0x1c(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    0xead(%rip),%rdi
lea    -0x20(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
mov    $0x5,%eax
cmp    -0x1c(%rbp),%eax
jne    1178 <main+0x58>
lea    0xebe(%rip),%rdi
call   1030 <printf@plt>
mov    $0x5,%eax
cmp    -0x1c(%rbp),%eax
je     1192 <main+0x72>
lea    0xe76(%rip),%rdi
call   1030 <printf@plt>
mov    $0x5,%eax
cmp    -0x1c(%rbp),%eax
jle    11ac <main+0x8c>
lea    0xe67(%rip),%rdi
call   1030 <printf@plt>
mov    $0x5,%eax
cmp    -0x1c(%rbp),%eax
jg     11c6 <main+0xa6>
lea    0xe56(%rip),%rdi
call   1030 <printf@plt>
mov    $0x5,%eax
cmp    -0x1c(%rbp),%eax
jl     11e0 <main+0xc0>
lea    0xe4b(%rip),%rdi
call   1030 <printf@plt>
lea    0xe51(%rip),%rdi
call   1030 <printf@plt>
mov    $0x5,%eax
cmp    -0x20(%rbp),%eax
jbe    1206 <main+0xe6>
lea    0xe3d(%rip),%rdi
call   1030 <printf@plt>
mov    $0x5,%eax
cmp    -0x20(%rbp),%eax
ja     1220 <main+0x100>
lea    0xe35(%rip),%rdi
call   1030 <printf@plt>
mov    $0x5,%eax
cmp    -0x20(%rbp),%eax
jb     123a <main+0x11a>
lea    0xe33(%rip),%rdi
call   1030 <printf@plt>
mov    $0x5,%eax
cmp    -0x20(%rbp),%eax
jae    1254 <main+0x134>
lea    0xe26(%rip),%rdi
call   1030 <printf@plt>
mov    $0x5,%eax
sub    -0x1c(%rbp),%eax
cmp    $0x0,%eax
jl     1271 <main+0x151>
lea    0xe14(%rip),%rdi
call   1030 <printf@plt>
mov    $0x5,%eax
sub    -0x1c(%rbp),%eax
cmp    $0x0,%eax
jge    128e <main+0x16e>
lea    0xdfe(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
sub    $0x10,%rsp
lea    0xed4(%rip),%rbx
lea    0x8(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <scanf@plt>
lea    0xc(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <scanf@plt>
cmpl   $0x5,0x8(%rsp)
jne    1164 <main+0x44>
lea    0xf04(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x5,0x8(%rsp)
je     118a <main+0x6a>
lea    0xf0d(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x4,0x8(%rsp)
jg     118a <main+0x6a>
lea    0xef2(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x5,0x8(%rsp)
jl     119d <main+0x7d>
lea    0xed1(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x5,0x8(%rsp)
jg     11a9 <main+0x89>
lea    0xead(%rip),%rdi
call   1030 <puts@plt>
lea    0xe53(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x4,0xc(%rsp)
ja     11cf <main+0xaf>
lea    0xe7d(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x5,0xc(%rsp)
jb     11e2 <main+0xc2>
lea    0xe53(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x5,0xc(%rsp)
ja     11f5 <main+0xd5>
lea    0xe34(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x6,0xc(%rsp)
jb     1201 <main+0xe1>
lea    0xe17(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x5,0x8(%rsp)
jg     121b <main+0xfb>
lea    0xdfe(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x6,0x8(%rsp)
jl     1227 <main+0x107>
lea    0xde6(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [3 x i8] c"%d\00"
@.str.1 = [7 x i8] c"Equal\0A\00"
@.str.2 = [11 x i8] c"Not Equal\0A\00"
@.str.3 = [9 x i8] c"Greater\0A\00"
@.str.4 = [15 x i8] c"Less or Equal\0A\00"
@.str.5 = [18 x i8] c"Greater or Equal\0A\00"
@.str.6 = [6 x i8] c"Less\0A\00"
@.str.7 = [18 x i8] c"Greater Unsigned\0A\00"
@.str.8 = [24 x i8] c"Less or Equal Unsigned\0A\00"
@.str.9 = [13 x i8] c"Carry Clear\0A\00"
@.str.10 = [11 x i8] c"Carry Set\0A\00"
@.str.11 = [7 x i8] c"Minus\0A\00"
@.str.12 = [6 x i8] c"Plus\0A\00"
define i32 @main(i32 %0, i8** %1, i8** %2) {
%4 = alloca i32
%5 = alloca i32
%6 = alloca i8**
%7 = alloca i8**
%8 = alloca i32
%9 = alloca i32
store i32 0, i32* %4
store i32 %0, i32* %5
store i8** %1, i8*** %6
store i8** %2, i8*** %7
%10 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %8)
%11 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %9)
%12 = load i32, i32* %8
%13 = icmp eq i32 5, %12
br i1 %13, label %14, label %16
14: ; preds = %3
%15 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
br label %16
16: ; preds = %14, %3
%17 = load i32, i32* %8
%18 = icmp ne i32 5, %17
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0))
br label %21
21: ; preds = %19, %16
%22 = load i32, i32* %8
%23 = icmp sgt i32 5, %22
br i1 %23, label %24, label %26
24: ; preds = %21
%25 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
br label %26
26: ; preds = %24, %21
%27 = load i32, i32* %8
%28 = icmp sle i32 5, %27
br i1 %28, label %29, label %31
29: ; preds = %26
%30 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0))
br label %31
31: ; preds = %29, %26
%32 = load i32, i32* %8
%33 = icmp sge i32 5, %32
br i1 %33, label %34, label %36
34: ; preds = %31
%35 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0))
br label %36
36: ; preds = %34, %31
%37 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%38 = load i32, i32* %9
%39 = icmp ugt i32 5, %38
br i1 %39, label %40, label %42
40: ; preds = %36
%41 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.7, i64 0, i64 0))
br label %42
42: ; preds = %40, %36
%43 = load i32, i32* %9
%44 = icmp ule i32 5, %43
br i1 %44, label %45, label %47
45: ; preds = %42
%46 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.8, i64 0, i64 0))
br label %47
47: ; preds = %45, %42
%48 = load i32, i32* %9
%49 = icmp uge i32 5, %48
br i1 %49, label %50, label %52
50: ; preds = %47
%51 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.9, i64 0, i64 0))
br label %52
52: ; preds = %50, %47
%53 = load i32, i32* %9
%54 = icmp ult i32 5, %53
br i1 %54, label %55, label %57
55: ; preds = %52
%56 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0))
br label %57
57: ; preds = %55, %52
%58 = load i32, i32* %8
%59 = sub nsw i32 5, %58
%60 = icmp sge i32 %59, 0
br i1 %60, label %61, label %63
61: ; preds = %57
%62 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0))
br label %63
63: ; preds = %61, %57
%64 = load i32, i32* %8
%65 = sub nsw i32 5, %64
%66 = icmp slt i32 %65, 0
br i1 %66, label %67, label %69
67: ; preds = %63
%68 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0))
br label %69
69: ; preds = %67, %63
ret i32 0
}

LLVM IR (-O2):
@.str = [3 x i8] c"%d\00"
@str = [5 x i8] c"Less\00"
@str.13 = [5 x i8] c"Plus\00"
@str.14 = [6 x i8] c"Minus\00"
@str.15 = [10 x i8] c"Carry Set\00"
@str.16 = [12 x i8] c"Carry Clear\00"
@str.17 = [23 x i8] c"Less or Equal Unsigned\00"
@str.18 = [17 x i8] c"Greater Unsigned\00"
@str.19 = [17 x i8] c"Greater or Equal\00"
@str.20 = [14 x i8] c"Less or Equal\00"
@str.21 = [8 x i8] c"Greater\00"
@str.22 = [10 x i8] c"Not Equal\00"
@str.23 = [6 x i8] c"Equal\00"
define i32 @main(i32 %0, i8** nocapture readnone %1, i8** nocapture readnone %2) {
%4 = alloca i32
%5 = alloca i32
%6 = bitcast i32* %4 to i8*
%7 = bitcast i32* %5 to i8*
%8 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %4)
%9 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %5)
%10 = load i32, i32* %4
%11 = icmp eq i32 %10, 5
br i1 %11, label %12, label %16
12: ; preds = %3
%13 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.23, i64 0, i64 0))
%14 = load i32, i32* %4
%15 = icmp eq i32 %14, 5
br i1 %15, label %24, label %16
16: ; preds = %3, %12
%17 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.22, i64 0, i64 0))
%18 = load i32, i32* %4
%19 = icmp slt i32 %18, 5
br i1 %19, label %20, label %24
20: ; preds = %16
%21 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str.21, i64 0, i64 0))
%22 = load i32, i32* %4
%23 = icmp sgt i32 %22, 4
br i1 %23, label %24, label %28
24: ; preds = %12, %16, %20
%25 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str.20, i64 0, i64 0))
%26 = load i32, i32* %4
%27 = icmp slt i32 %26, 6
br i1 %27, label %28, label %30
28: ; preds = %20, %24
%29 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.19, i64 0, i64 0))
br label %30
30: ; preds = %28, %24
%31 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str, i64 0, i64 0))
%32 = load i32, i32* %5
%33 = icmp ult i32 %32, 5
br i1 %33, label %34, label %38
34: ; preds = %30
%35 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.18, i64 0, i64 0))
%36 = load i32, i32* %5
%37 = icmp ugt i32 %36, 4
br i1 %37, label %38, label %42
38: ; preds = %30, %34
%39 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.17, i64 0, i64 0))
%40 = load i32, i32* %5
%41 = icmp ult i32 %40, 6
br i1 %41, label %42, label %46
42: ; preds = %34, %38
%43 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str.16, i64 0, i64 0))
%44 = load i32, i32* %5
%45 = icmp ugt i32 %44, 5
br i1 %45, label %46, label %48
46: ; preds = %38, %42
%47 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.15, i64 0, i64 0))
br label %48
48: ; preds = %46, %42
%49 = load i32, i32* %4
%50 = icmp slt i32 %49, 6
br i1 %50, label %51, label %55
51: ; preds = %48
%52 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.14, i64 0, i64 0))
%53 = load i32, i32* %4
%54 = icmp sgt i32 %53, 5
br i1 %54, label %55, label %57
55: ; preds = %48, %51
%56 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str.13, i64 0, i64 0))
br label %57
57: ; preds = %55, %51
ret i32 0
}