#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*/ testReadBigEndian();
int /*<<< orphan*/ testReadChar();
int /*<<< orphan*/ testReadDouble();
int /*<<< orphan*/ testReadFixedInt();
int /*<<< orphan*/ testReadFixedUInt();
int /*<<< orphan*/ testReadFloat();
int /*<<< orphan*/ testReadInt();
int /*<<< orphan*/ testReadUInt();
int /*<<< orphan*/ testWriteChar();
int /*<<< orphan*/ testWriteDouble();
int /*<<< orphan*/ testWriteFloat();
int /*<<< orphan*/ testWriteInt();
int /*<<< orphan*/ testWriteUInt();
int main(int argc, char *argv[]) {
  testReadFixedUInt();
  testReadFixedInt();
  testReadChar();
  testReadUInt();
  testReadInt();
  testReadFloat();
  testReadDouble();
  testWriteChar();
  testWriteUInt();
  testWriteInt();
  testWriteFloat();
  testWriteDouble();
  testReadBigEndian();
  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   1090 <testReadFixedUInt@plt>
mov    $0x0,%al
call   10e0 <testReadFixedInt@plt>
mov    $0x0,%al
call   10d0 <testReadChar@plt>
mov    $0x0,%al
call   10b0 <testReadUInt@plt>
mov    $0x0,%al
call   1070 <testReadInt@plt>
mov    $0x0,%al
call   1040 <testReadFloat@plt>
mov    $0x0,%al
call   1030 <testReadDouble@plt>
mov    $0x0,%al
call   10c0 <testWriteChar@plt>
mov    $0x0,%al
call   1050 <testWriteUInt@plt>
mov    $0x0,%al
call   10a0 <testWriteInt@plt>
mov    $0x0,%al
call   10f0 <testWriteFloat@plt>
mov    $0x0,%al
call   1080 <testWriteDouble@plt>
mov    $0x0,%al
call   1060 <testReadBigEndian@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1090 <testReadFixedUInt@plt>
xor    %eax,%eax
call   10e0 <testReadFixedInt@plt>
xor    %eax,%eax
call   10d0 <testReadChar@plt>
xor    %eax,%eax
call   10b0 <testReadUInt@plt>
xor    %eax,%eax
call   1070 <testReadInt@plt>
xor    %eax,%eax
call   1040 <testReadFloat@plt>
xor    %eax,%eax
call   1030 <testReadDouble@plt>
xor    %eax,%eax
call   10c0 <testWriteChar@plt>
xor    %eax,%eax
call   1050 <testWriteUInt@plt>
xor    %eax,%eax
call   10a0 <testWriteInt@plt>
xor    %eax,%eax
call   10f0 <testWriteFloat@plt>
xor    %eax,%eax
call   1080 <testWriteDouble@plt>
xor    %eax,%eax
call   1060 <testReadBigEndian@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 (...) @testReadFixedUInt()
%7 = call i32 (...) @testReadFixedInt()
%8 = call i32 (...) @testReadChar()
%9 = call i32 (...) @testReadUInt()
%10 = call i32 (...) @testReadInt()
%11 = call i32 (...) @testReadFloat()
%12 = call i32 (...) @testReadDouble()
%13 = call i32 (...) @testWriteChar()
%14 = call i32 (...) @testWriteUInt()
%15 = call i32 (...) @testWriteInt()
%16 = call i32 (...) @testWriteFloat()
%17 = call i32 (...) @testWriteDouble()
%18 = call i32 (...) @testReadBigEndian()
ret i32 0
}

LLVM IR (-O2):
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 (...) @testReadFixedUInt()
%4 = tail call i32 (...) @testReadFixedInt()
%5 = tail call i32 (...) @testReadChar()
%6 = tail call i32 (...) @testReadUInt()
%7 = tail call i32 (...) @testReadInt()
%8 = tail call i32 (...) @testReadFloat()
%9 = tail call i32 (...) @testReadDouble()
%10 = tail call i32 (...) @testWriteChar()
%11 = tail call i32 (...) @testWriteUInt()
%12 = tail call i32 (...) @testWriteInt()
%13 = tail call i32 (...) @testWriteFloat()
%14 = tail call i32 (...) @testWriteDouble()
%15 = tail call i32 (...) @testReadBigEndian()
ret i32 0
}