#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*/ and_immediate_test();
int /*<<< orphan*/ and_memory_test();
int /*<<< orphan*/ and_register_test();
int /*<<< orphan*/ exclusive_or_immediate_test();
int /*<<< orphan*/ exclusive_or_memory_test();
int /*<<< orphan*/ exclusive_or_register_test();
int /*<<< orphan*/ or_immediate_test();
int /*<<< orphan*/ or_memory_test();
int /*<<< orphan*/ or_register_test();
int /*<<< orphan*/ rotate_left_test();
int /*<<< orphan*/ rotate_left_through_carry_test();
int /*<<< orphan*/ rotate_right_test();
int /*<<< orphan*/ rotate_right_through_carry_test();
int main(int argc, const char *argv[]) {
  and_register_test();
  and_memory_test();
  and_immediate_test();
  exclusive_or_register_test();
  exclusive_or_memory_test();
  exclusive_or_immediate_test();
  or_register_test();
  or_memory_test();
  or_immediate_test();
  rotate_left_test();
  rotate_right_test();
  rotate_left_through_carry_test();
  rotate_right_through_carry_test();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    $0x0,%al
call   1030 <and_register_test@plt>
mov    $0x0,%al
call   1080 <and_memory_test@plt>
mov    $0x0,%al
call   1070 <and_immediate_test@plt>
mov    $0x0,%al
call   10a0 <exclusive_or_register_test@plt>
mov    $0x0,%al
call   10f0 <exclusive_or_memory_test@plt>
mov    $0x0,%al
call   10b0 <exclusive_or_immediate_test@plt>
mov    $0x0,%al
call   10c0 <or_register_test@plt>
mov    $0x0,%al
call   10e0 <or_memory_test@plt>
mov    $0x0,%al
call   1040 <or_immediate_test@plt>
mov    $0x0,%al
call   1060 <rotate_left_test@plt>
mov    $0x0,%al
call   1050 <rotate_right_test@plt>
mov    $0x0,%al
call   1090 <rotate_left_through_carry_test@plt>
mov    $0x0,%al
call   10d0 <rotate_right_through_carry_test@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1030 <and_register_test@plt>
xor    %eax,%eax
call   1080 <and_memory_test@plt>
xor    %eax,%eax
call   1070 <and_immediate_test@plt>
xor    %eax,%eax
call   10a0 <exclusive_or_register_test@plt>
xor    %eax,%eax
call   10f0 <exclusive_or_memory_test@plt>
xor    %eax,%eax
call   10b0 <exclusive_or_immediate_test@plt>
xor    %eax,%eax
call   10c0 <or_register_test@plt>
xor    %eax,%eax
call   10e0 <or_memory_test@plt>
xor    %eax,%eax
call   1040 <or_immediate_test@plt>
xor    %eax,%eax
call   1060 <rotate_left_test@plt>
xor    %eax,%eax
call   1050 <rotate_right_test@plt>
xor    %eax,%eax
call   1090 <rotate_left_through_carry_test@plt>
xor    %eax,%eax
call   10d0 <rotate_right_through_carry_test@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%6 = call i32 (...) @and_register_test()
%7 = call i32 (...) @and_memory_test()
%8 = call i32 (...) @and_immediate_test()
%9 = call i32 (...) @exclusive_or_register_test()
%10 = call i32 (...) @exclusive_or_memory_test()
%11 = call i32 (...) @exclusive_or_immediate_test()
%12 = call i32 (...) @or_register_test()
%13 = call i32 (...) @or_memory_test()
%14 = call i32 (...) @or_immediate_test()
%15 = call i32 (...) @rotate_left_test()
%16 = call i32 (...) @rotate_right_test()
%17 = call i32 (...) @rotate_left_through_carry_test()
%18 = call i32 (...) @rotate_right_through_carry_test()
ret i32 0
}

LLVM IR (-O2):
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 (...) @and_register_test()
%4 = tail call i32 (...) @and_memory_test()
%5 = tail call i32 (...) @and_immediate_test()
%6 = tail call i32 (...) @exclusive_or_register_test()
%7 = tail call i32 (...) @exclusive_or_memory_test()
%8 = tail call i32 (...) @exclusive_or_immediate_test()
%9 = tail call i32 (...) @or_register_test()
%10 = tail call i32 (...) @or_memory_test()
%11 = tail call i32 (...) @or_immediate_test()
%12 = tail call i32 (...) @rotate_left_test()
%13 = tail call i32 (...) @rotate_right_test()
%14 = tail call i32 (...) @rotate_left_through_carry_test()
%15 = tail call i32 (...) @rotate_right_through_carry_test()
ret i32 0
}