#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");
  }
  if (5 < local0) {
    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 5 - local0;
}


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>
mov    $0x5,%eax
cmp    -0x1c(%rbp),%eax
jge    11fa <main+0xda>
lea    0xe43(%rip),%rdi
call   1030 <printf@plt>
mov    $0x5,%eax
cmp    -0x20(%rbp),%eax
jbe    1214 <main+0xf4>
lea    0xe2f(%rip),%rdi
call   1030 <printf@plt>
mov    $0x5,%eax
cmp    -0x20(%rbp),%eax
ja     122e <main+0x10e>
lea    0xe27(%rip),%rdi
call   1030 <printf@plt>
mov    $0x5,%eax
cmp    -0x20(%rbp),%eax
jb     1248 <main+0x128>
lea    0xe25(%rip),%rdi
call   1030 <printf@plt>
mov    $0x5,%eax
cmp    -0x20(%rbp),%eax
jae    1262 <main+0x142>
lea    0xe18(%rip),%rdi
call   1030 <printf@plt>
mov    $0x5,%eax
sub    -0x1c(%rbp),%eax
cmp    $0x0,%eax
jl     127f <main+0x15f>
lea    0xe06(%rip),%rdi
call   1030 <printf@plt>
mov    $0x5,%eax
sub    -0x1c(%rbp),%eax
cmp    $0x0,%eax
jge    129c <main+0x17c>
lea    0xdf0(%rip),%rdi
call   1030 <printf@plt>
mov    $0x5,%eax
sub    -0x1c(%rbp),%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     11b0 <main+0x90>
lea    0xead(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x6,0x8(%rsp)
jl     11bc <main+0x9c>
lea    0xe95(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x4,0xc(%rsp)
ja     11d6 <main+0xb6>
lea    0xe71(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x5,0xc(%rsp)
jb     11e9 <main+0xc9>
lea    0xe47(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x5,0xc(%rsp)
ja     11fc <main+0xdc>
lea    0xe28(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x6,0xc(%rsp)
jb     1208 <main+0xe8>
lea    0xe0b(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x5,0x8(%rsp)
jg     1224 <main+0x104>
lea    0xdf2(%rip),%rdi
call   1030 <puts@plt>
mov    0x8(%rsp),%ecx
cmp    $0x6,%ecx
jl     1234 <main+0x114>
lea    0xdd8(%rip),%rdi
call   1030 <puts@plt>
mov    0x8(%rsp),%ecx
mov    $0x5,%eax
sub    %ecx,%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 = load i32, i32* %8
%38 = icmp slt i32 5, %37
br i1 %38, label %39, label %41
39: ; preds = %36
%40 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
br label %41
41: ; preds = %39, %36
%42 = load i32, i32* %9
%43 = icmp ugt i32 5, %42
br i1 %43, label %44, label %46
44: ; preds = %41
%45 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.7, i64 0, i64 0))
br label %46
46: ; preds = %44, %41
%47 = load i32, i32* %9
%48 = icmp ule i32 5, %47
br i1 %48, label %49, label %51
49: ; preds = %46
%50 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.8, i64 0, i64 0))
br label %51
51: ; preds = %49, %46
%52 = load i32, i32* %9
%53 = icmp uge i32 5, %52
br i1 %53, label %54, label %56
54: ; preds = %51
%55 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.9, i64 0, i64 0))
br label %56
56: ; preds = %54, %51
%57 = load i32, i32* %9
%58 = icmp ult i32 5, %57
br i1 %58, label %59, label %61
59: ; preds = %56
%60 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0))
br label %61
61: ; preds = %59, %56
%62 = load i32, i32* %8
%63 = sub nsw i32 5, %62
%64 = icmp sge i32 %63, 0
br i1 %64, label %65, label %67
65: ; preds = %61
%66 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0))
br label %67
67: ; preds = %65, %61
%68 = load i32, i32* %8
%69 = sub nsw i32 5, %68
%70 = icmp slt i32 %69, 0
br i1 %70, label %71, label %73
71: ; preds = %67
%72 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0))
br label %73
73: ; preds = %71, %67
%74 = load i32, i32* %8
%75 = sub nsw i32 5, %74
ret i32 %75
}

LLVM IR (-O2):
@.str = [3 x i8] c"%d\00"
@str = [5 x i8] c"Plus\00"
@str.13 = [6 x i8] c"Minus\00"
@str.14 = [10 x i8] c"Carry Set\00"
@str.15 = [12 x i8] c"Carry Clear\00"
@str.16 = [23 x i8] c"Less or Equal Unsigned\00"
@str.17 = [17 x i8] c"Greater Unsigned\00"
@str.18 = [5 x i8] c"Less\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 %32
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))
%30 = load i32, i32* %4
%31 = icmp sgt i32 %30, 5
br i1 %31, label %32, label %34
32: ; preds = %24, %28
%33 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str.18, i64 0, i64 0))
br label %34
34: ; preds = %32, %28
%35 = load i32, i32* %5
%36 = icmp ult i32 %35, 5
br i1 %36, label %37, label %41
37: ; preds = %34
%38 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.17, i64 0, i64 0))
%39 = load i32, i32* %5
%40 = icmp ugt i32 %39, 4
br i1 %40, label %41, label %45
41: ; preds = %34, %37
%42 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.16, i64 0, i64 0))
%43 = load i32, i32* %5
%44 = icmp ult i32 %43, 6
br i1 %44, label %45, label %49
45: ; preds = %37, %41
%46 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str.15, i64 0, i64 0))
%47 = load i32, i32* %5
%48 = icmp ugt i32 %47, 5
br i1 %48, label %49, label %51
49: ; preds = %41, %45
%50 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.14, i64 0, i64 0))
br label %51
51: ; preds = %49, %45
%52 = load i32, i32* %4
%53 = icmp slt i32 %52, 6
br i1 %53, label %54, label %58
54: ; preds = %51
%55 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.13, i64 0, i64 0))
%56 = load i32, i32* %4
%57 = icmp sgt i32 %56, 5
br i1 %57, label %58, label %61
58: ; preds = %51, %54
%59 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str, i64 0, i64 0))
%60 = load i32, i32* %4
br label %61
61: ; preds = %58, %54
%62 = phi i32 [ %60, %58 ], [ %56, %54 ]
%63 = sub nsw i32 5, %62
ret i32 %63
}