#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*/ TestAdd();
int /*<<< orphan*/ TestApproximateSquareRoot();
int /*<<< orphan*/ TestBase10Store();
int /*<<< orphan*/ TestClone();
int /*<<< orphan*/ TestCompare();
int /*<<< orphan*/ TestDivide();
int /*<<< orphan*/ TestDoubleAndHalve();
int /*<<< orphan*/ TestIncDec();
int /*<<< orphan*/ TestLoadAndStore();
int /*<<< orphan*/ TestMod();
int /*<<< orphan*/ TestMultiply();
int /*<<< orphan*/ TestShiftIncAndDec();
int /*<<< orphan*/ TestSub();
int /*<<< orphan*/ printf(char *);
int main() {
  TestLoadAndStore();
  TestClone();
  TestDoubleAndHalve();
  TestShiftIncAndDec();
  TestAdd();
  TestSub();
  TestIncDec();
  TestCompare();
  TestMultiply();
  TestDivide();
  TestMod();
  TestBase10Store();
  TestApproximateSquareRoot();
  printf("All tests passed\n");
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1090 <TestLoadAndStore@plt>
mov    $0x0,%al
call   1080 <TestClone@plt>
mov    $0x0,%al
call   1030 <TestDoubleAndHalve@plt>
mov    $0x0,%al
call   1100 <TestShiftIncAndDec@plt>
mov    $0x0,%al
call   1060 <TestAdd@plt>
mov    $0x0,%al
call   1040 <TestSub@plt>
mov    $0x0,%al
call   10c0 <TestIncDec@plt>
mov    $0x0,%al
call   10e0 <TestCompare@plt>
mov    $0x0,%al
call   10f0 <TestMultiply@plt>
mov    $0x0,%al
call   10a0 <TestDivide@plt>
mov    $0x0,%al
call   10d0 <TestMod@plt>
mov    $0x0,%al
call   1050 <TestBase10Store@plt>
mov    $0x0,%al
call   10b0 <TestApproximateSquareRoot@plt>
lea    0xdba(%rip),%rdi
call   1070 <printf@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1090 <TestLoadAndStore@plt>
xor    %eax,%eax
call   1080 <TestClone@plt>
xor    %eax,%eax
call   1030 <TestDoubleAndHalve@plt>
xor    %eax,%eax
call   1100 <TestShiftIncAndDec@plt>
xor    %eax,%eax
call   1070 <TestAdd@plt>
xor    %eax,%eax
call   1040 <TestSub@plt>
xor    %eax,%eax
call   10c0 <TestIncDec@plt>
xor    %eax,%eax
call   10e0 <TestCompare@plt>
xor    %eax,%eax
call   10f0 <TestMultiply@plt>
xor    %eax,%eax
call   10a0 <TestDivide@plt>
xor    %eax,%eax
call   10d0 <TestMod@plt>
xor    %eax,%eax
call   1050 <TestBase10Store@plt>
xor    %eax,%eax
call   10b0 <TestApproximateSquareRoot@plt>
lea    0xdbd(%rip),%rdi
call   1060 <puts@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [18 x i8] c"All tests passed\0A\00"
define i32 @main() {
%1 = call i32 (...) @TestLoadAndStore()
%2 = call i32 (...) @TestClone()
%3 = call i32 (...) @TestDoubleAndHalve()
%4 = call i32 (...) @TestShiftIncAndDec()
%5 = call i32 (...) @TestAdd()
%6 = call i32 (...) @TestSub()
%7 = call i32 (...) @TestIncDec()
%8 = call i32 (...) @TestCompare()
%9 = call i32 (...) @TestMultiply()
%10 = call i32 (...) @TestDivide()
%11 = call i32 (...) @TestMod()
%12 = call i32 (...) @TestBase10Store()
%13 = call i32 (...) @TestApproximateSquareRoot()
%14 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@str = [17 x i8] c"All tests passed\00"
define i32 @main() {
%1 = tail call i32 (...) @TestLoadAndStore()
%2 = tail call i32 (...) @TestClone()
%3 = tail call i32 (...) @TestDoubleAndHalve()
%4 = tail call i32 (...) @TestShiftIncAndDec()
%5 = tail call i32 (...) @TestAdd()
%6 = tail call i32 (...) @TestSub()
%7 = tail call i32 (...) @TestIncDec()
%8 = tail call i32 (...) @TestCompare()
%9 = tail call i32 (...) @TestMultiply()
%10 = tail call i32 (...) @TestDivide()
%11 = tail call i32 (...) @TestMod()
%12 = tail call i32 (...) @TestBase10Store()
%13 = tail call i32 (...) @TestApproximateSquareRoot()
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str, i64 0, i64 0))
ret i32 0
}