#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 EXIT_SUCCESS;
int /*<<< orphan*/ printf(char *, int, int, int, int, int, int);
int /*<<< orphan*/ scanf(char *, int *, int *);
int main() {
  int x, y;
  scanf(" %d\n%d", &x, &y);
  printf("%d\n%d\n%d\n%d\n%d\n%d\n", (x > y), (x == y), (x < y), (x != y),
         (x >= y), (x <= y));
  return EXIT_SUCCESS;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeca(%rip),%rdi
lea    -0x8(%rbp),%rsi
lea    -0xc(%rbp),%rdx
call   1040 <scanf@plt>
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
setg   %al
and    $0x1,%al
movzbl %al,%esi
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
sete   %al
and    $0x1,%al
movzbl %al,%edx
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
setl   %al
and    $0x1,%al
movzbl %al,%ecx
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
setne  %al
and    $0x1,%al
movzbl %al,%r8d
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
setge  %al
and    $0x1,%al
movzbl %al,%r9d
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
setle  %al
and    $0x1,%al
movzbl %al,%eax
lea    0xe67(%rip),%rdi
mov    %eax,(%rsp)
call   1030 <printf@plt>
mov    0x2e31(%rip),%rax
mov    (%rax),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x18,%rsp
lea    0xed5(%rip),%rdi
lea    0x14(%rsp),%rsi
lea    0x10(%rsp),%rdx
call   1040 <scanf@plt>
mov    0x14(%rsp),%eax
xor    %esi,%esi
xor    %edx,%edx
xor    %ecx,%ecx
xor    %r8d,%r8d
xor    %r9d,%r9d
xor    %edi,%edi
cmp    0x10(%rsp),%eax
setg   %sil
sete   %dl
setl   %cl
setne  %r8b
setge  %r9b
setle  %dil
mov    %edi,(%rsp)
lea    0xe97(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e64(%rip),%rax
mov    (%rax),%eax
add    $0x18,%rsp
ret

LLVM IR (-O0):
@.str = [7 x i8] c" %d\0A%d\00"
@.str.1 = [19 x i8] c"%d\0A%d\0A%d\0A%d\0A%d\0A%d\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
store i32 0, i32* %1
%4 = call i32 @scanf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32* %2, i32* %3)
%5 = load i32, i32* %2
%6 = load i32, i32* %3
%7 = icmp sgt i32 %5, %6
%8 = zext i1 %7 to i32
%9 = load i32, i32* %2
%10 = load i32, i32* %3
%11 = icmp eq i32 %9, %10
%12 = zext i1 %11 to i32
%13 = load i32, i32* %2
%14 = load i32, i32* %3
%15 = icmp slt i32 %13, %14
%16 = zext i1 %15 to i32
%17 = load i32, i32* %2
%18 = load i32, i32* %3
%19 = icmp ne i32 %17, %18
%20 = zext i1 %19 to i32
%21 = load i32, i32* %2
%22 = load i32, i32* %3
%23 = icmp sge i32 %21, %22
%24 = zext i1 %23 to i32
%25 = load i32, i32* %2
%26 = load i32, i32* %3
%27 = icmp sle i32 %25, %26
%28 = zext i1 %27 to i32
%29 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0), i32 %8, i32 %12, i32 %16, i32 %20, i32 %24, i32 %28)
%30 = load i32, i32* @EXIT_SUCCESS
ret i32 %30
}

LLVM IR (-O2):
@.str = [7 x i8] c" %d\0A%d\00"
@.str.1 = [19 x i8] c"%d\0A%d\0A%d\0A%d\0A%d\0A%d\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = bitcast i32* %1 to i8*
%4 = bitcast i32* %2 to i8*
%5 = call i32 @scanf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32* %1, i32* %2)
%6 = load i32, i32* %1
%7 = load i32, i32* %2
%8 = icmp sgt i32 %6, %7
%9 = zext i1 %8 to i32
%10 = icmp eq i32 %6, %7
%11 = zext i1 %10 to i32
%12 = icmp slt i32 %6, %7
%13 = zext i1 %12 to i32
%14 = icmp ne i32 %6, %7
%15 = zext i1 %14 to i32
%16 = icmp sge i32 %6, %7
%17 = zext i1 %16 to i32
%18 = icmp sle i32 %6, %7
%19 = zext i1 %18 to i32
%20 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0), i32 %9, i32 %11, i32 %13, i32 %15, i32 %17, i32 %19)
%21 = load i32, i32* @EXIT_SUCCESS
ret i32 %21
}