#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*/ bexec(int /*<<< orphan*/);
int /*<<< orphan*/ not_equal();
int /*<<< orphan*/ not_greater();
int /*<<< orphan*/ not_less();
int readch();
int /*<<< orphan*/ readline();
int /*<<< orphan*/ unreadch();
void not_compare(void) {
  switch (readch()) {
  case '<':
    not_less();
    break;
  case '>':
    not_greater();
    break;
  case '=':
    not_equal();
    break;
  default:
    unreadch();
    bexec(readline());
    break;
  }
}


x86 assembly (clang, -O0):
<not_compare>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
xor    %eax,%eax
call   1090 <readch@plt>
mov    %eax,%ecx
mov    %ecx,-0x4(%rbp)
sub    $0x3c,%eax
je     11b4 <not_compare+0x44>
jmp    1192 <not_compare+0x22>
mov    -0x4(%rbp),%eax
sub    $0x3d,%eax
je     11cc <not_compare+0x5c>
jmp    11a3 <not_compare+0x33>
mov    -0x4(%rbp),%eax
sub    $0x3e,%eax
je     11c0 <not_compare+0x50>
jmp    11d8 <not_compare+0x68>
mov    $0x0,%al
call   1030 <not_less@plt>
jmp    11ed <not_compare+0x7d>
mov    $0x0,%al
call   1070 <not_greater@plt>
jmp    11ed <not_compare+0x7d>
mov    $0x0,%al
call   1060 <not_equal@plt>
jmp    11ed <not_compare+0x7d>
mov    $0x0,%al
call   1080 <unreadch@plt>
mov    $0x0,%al
call   1040 <readline@plt>
mov    %eax,%edi
call   1050 <bexec@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<not_compare>:
push   %rax
xor    %eax,%eax
call   1090 <readch@plt>
cmp    $0x3e,%eax
je     118f <not_compare+0x1f>
cmp    $0x3d,%eax
je     1197 <not_compare+0x27>
cmp    $0x3c,%eax
jne    119f <not_compare+0x2f>
xor    %eax,%eax
pop    %rcx
jmp    1030 <not_less@plt>
xor    %eax,%eax
pop    %rcx
jmp    1070 <not_greater@plt>
xor    %eax,%eax
pop    %rcx
jmp    1060 <not_equal@plt>
xor    %eax,%eax
call   1080 <unreadch@plt>
xor    %eax,%eax
call   1040 <readline@plt>
mov    %eax,%edi
pop    %rax
jmp    1050 <bexec@plt>

LLVM IR (-O0):
define void @not_compare() {
%1 = call i32 (...) @readch()
switch i32 %1, label %8 [
i32 60, label %2
i32 62, label %4
i32 61, label %6
]
2: ; preds = %0
%3 = call i32 (...) @not_less()
br label %12
4: ; preds = %0
%5 = call i32 (...) @not_greater()
br label %12
6: ; preds = %0
%7 = call i32 (...) @not_equal()
br label %12
8: ; preds = %0
%9 = call i32 (...) @unreadch()
%10 = call i32 (...) @readline()
%11 = call i32 @bexec(i32 %10)
br label %12
12: ; preds = %8, %6, %4, %2
ret void
}

LLVM IR (-O2):
define void @not_compare() {
%1 = tail call i32 (...) @readch()
switch i32 %1, label %8 [
i32 60, label %2
i32 62, label %4
i32 61, label %6
]
2: ; preds = %0
%3 = tail call i32 (...) @not_less()
br label %12
4: ; preds = %0
%5 = tail call i32 (...) @not_greater()
br label %12
6: ; preds = %0
%7 = tail call i32 (...) @not_equal()
br label %12
8: ; preds = %0
%9 = tail call i32 (...) @unreadch()
%10 = tail call i32 (...) @readline()
%11 = tail call i32 @bexec(i32 %10)
br label %12
12: ; preds = %8, %6, %4, %2
ret void
}