#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*/ do_adc();
int /*<<< orphan*/ do_add();
int /*<<< orphan*/ do_and();
int /*<<< orphan*/ do_btc();
int /*<<< orphan*/ do_btr();
int /*<<< orphan*/ do_bts();
int /*<<< orphan*/ do_cmpxchg();
int /*<<< orphan*/ do_cmpxchg8b();
int /*<<< orphan*/ do_dec();
int /*<<< orphan*/ do_inc();
int /*<<< orphan*/ do_mov();
int /*<<< orphan*/ do_neg();
int /*<<< orphan*/ do_not();
int /*<<< orphan*/ do_or();
int /*<<< orphan*/ do_sbb();
int /*<<< orphan*/ do_sub();
int /*<<< orphan*/ do_xadd();
int /*<<< orphan*/ do_xchg();
int /*<<< orphan*/ do_xchg_no_lock();
int /*<<< orphan*/ do_xor();
int main(void) {
  do_add();
  do_adc();
  do_and();
  do_or();
  do_sbb();
  do_sub();
  do_xor();
  do_dec();
  do_inc();
  do_neg();
  do_not();
  do_btc();
  do_btr();
  do_bts();
  do_cmpxchg();
  do_cmpxchg8b();
  do_xadd();
  do_xchg();
  do_xchg_no_lock();
  do_mov();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1070 <do_add@plt>
mov    $0x0,%al
call   1160 <do_adc@plt>
mov    $0x0,%al
call   10f0 <do_and@plt>
mov    $0x0,%al
call   1100 <do_or@plt>
mov    $0x0,%al
call   1130 <do_sbb@plt>
mov    $0x0,%al
call   1040 <do_sub@plt>
mov    $0x0,%al
call   1140 <do_xor@plt>
mov    $0x0,%al
call   1060 <do_dec@plt>
mov    $0x0,%al
call   1080 <do_inc@plt>
mov    $0x0,%al
call   1110 <do_neg@plt>
mov    $0x0,%al
call   1120 <do_not@plt>
mov    $0x0,%al
call   1150 <do_btc@plt>
mov    $0x0,%al
call   1090 <do_btr@plt>
mov    $0x0,%al
call   1030 <do_bts@plt>
mov    $0x0,%al
call   10c0 <do_cmpxchg@plt>
mov    $0x0,%al
call   10e0 <do_cmpxchg8b@plt>
mov    $0x0,%al
call   10b0 <do_xadd@plt>
mov    $0x0,%al
call   10d0 <do_xchg@plt>
mov    $0x0,%al
call   1050 <do_xchg_no_lock@plt>
mov    $0x0,%al
call   10a0 <do_mov@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1070 <do_add@plt>
xor    %eax,%eax
call   1160 <do_adc@plt>
xor    %eax,%eax
call   10f0 <do_and@plt>
xor    %eax,%eax
call   1100 <do_or@plt>
xor    %eax,%eax
call   1130 <do_sbb@plt>
xor    %eax,%eax
call   1040 <do_sub@plt>
xor    %eax,%eax
call   1140 <do_xor@plt>
xor    %eax,%eax
call   1060 <do_dec@plt>
xor    %eax,%eax
call   1080 <do_inc@plt>
xor    %eax,%eax
call   1110 <do_neg@plt>
xor    %eax,%eax
call   1120 <do_not@plt>
xor    %eax,%eax
call   1150 <do_btc@plt>
xor    %eax,%eax
call   1090 <do_btr@plt>
xor    %eax,%eax
call   1030 <do_bts@plt>
xor    %eax,%eax
call   10c0 <do_cmpxchg@plt>
xor    %eax,%eax
call   10e0 <do_cmpxchg8b@plt>
xor    %eax,%eax
call   10b0 <do_xadd@plt>
xor    %eax,%eax
call   10d0 <do_xchg@plt>
xor    %eax,%eax
call   1050 <do_xchg_no_lock@plt>
xor    %eax,%eax
call   10a0 <do_mov@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (...) @do_add()
%3 = call i32 (...) @do_adc()
%4 = call i32 (...) @do_and()
%5 = call i32 (...) @do_or()
%6 = call i32 (...) @do_sbb()
%7 = call i32 (...) @do_sub()
%8 = call i32 (...) @do_xor()
%9 = call i32 (...) @do_dec()
%10 = call i32 (...) @do_inc()
%11 = call i32 (...) @do_neg()
%12 = call i32 (...) @do_not()
%13 = call i32 (...) @do_btc()
%14 = call i32 (...) @do_btr()
%15 = call i32 (...) @do_bts()
%16 = call i32 (...) @do_cmpxchg()
%17 = call i32 (...) @do_cmpxchg8b()
%18 = call i32 (...) @do_xadd()
%19 = call i32 (...) @do_xchg()
%20 = call i32 (...) @do_xchg_no_lock()
%21 = call i32 (...) @do_mov()
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 (...) @do_add()
%2 = tail call i32 (...) @do_adc()
%3 = tail call i32 (...) @do_and()
%4 = tail call i32 (...) @do_or()
%5 = tail call i32 (...) @do_sbb()
%6 = tail call i32 (...) @do_sub()
%7 = tail call i32 (...) @do_xor()
%8 = tail call i32 (...) @do_dec()
%9 = tail call i32 (...) @do_inc()
%10 = tail call i32 (...) @do_neg()
%11 = tail call i32 (...) @do_not()
%12 = tail call i32 (...) @do_btc()
%13 = tail call i32 (...) @do_btr()
%14 = tail call i32 (...) @do_bts()
%15 = tail call i32 (...) @do_cmpxchg()
%16 = tail call i32 (...) @do_cmpxchg8b()
%17 = tail call i32 (...) @do_xadd()
%18 = tail call i32 (...) @do_xchg()
%19 = tail call i32 (...) @do_xchg_no_lock()
%20 = tail call i32 (...) @do_mov()
ret i32 0
}