#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*/ ACUTE_unitTest__createTestCase();
int /*<<< orphan*/ ACUTE_unitTest__createTestMethod();
int /*<<< orphan*/ ACUTE_unitTest__insertTestCaseIntoQueue();
int /*<<< orphan*/ ACUTE_unitTest__insertTestMethodIntoQueue();
int /*<<< orphan*/ ACUTE_unitTest__run();
int /*<<< orphan*/ printf(char *);
int main(int argc, char **argv) {
  printf("======================================\n");
  printf("ACUTE Unit Tests\n");
  printf("======================================\n");
  printf("--------------------------------------\n");
  printf("Unit Test: ACUTE_unitTest__createTestCase\n");
  ACUTE_unitTest__createTestCase();
  printf("--------------------------------------\n");
  printf("Unit Test: ACUTE_unitTest__createTestMethod\n");
  ACUTE_unitTest__createTestMethod();
  printf("--------------------------------------\n");
  printf("Unit Test: ACUTE_unitTest__insertTestMethodIntoQueue\n");
  ACUTE_unitTest__insertTestMethodIntoQueue();
  printf("--------------------------------------\n");
  printf("Unit Test: ACUTE_unitTest__insertTestQueueIntoQueue\n");
  ACUTE_unitTest__insertTestCaseIntoQueue();
  printf("--------------------------------------\n");
  printf("Unit Test: ACUTE_unitTest__run\n");
  ACUTE_unitTest__run();
  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)
lea    0xe83(%rip),%rdi
call   1040 <printf@plt>
lea    0xe9f(%rip),%rdi
call   1040 <printf@plt>
lea    0xe6b(%rip),%rdi
call   1040 <printf@plt>
lea    0xe99(%rip),%rdi
call   1040 <printf@plt>
lea    0xeb5(%rip),%rdi
call   1040 <printf@plt>
mov    $0x0,%al
call   1080 <ACUTE_unitTest__createTestCase@plt>
lea    0xe7a(%rip),%rdi
call   1040 <printf@plt>
lea    0xec1(%rip),%rdi
call   1040 <printf@plt>
mov    $0x0,%al
call   1030 <ACUTE_unitTest__createTestMethod@plt>
lea    0xe5b(%rip),%rdi
call   1040 <printf@plt>
lea    0xecf(%rip),%rdi
call   1040 <printf@plt>
mov    $0x0,%al
call   1060 <ACUTE_unitTest__insertTestMethodIntoQueue@plt>
lea    0xe3c(%rip),%rdi
call   1040 <printf@plt>
lea    0xee6(%rip),%rdi
call   1040 <printf@plt>
mov    $0x0,%al
call   1070 <ACUTE_unitTest__insertTestCaseIntoQueue@plt>
lea    0xe1d(%rip),%rdi
call   1040 <printf@plt>
lea    0xefc(%rip),%rdi
call   1040 <printf@plt>
mov    $0x0,%al
call   1050 <ACUTE_unitTest__run@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
lea    0xea9(%rip),%rbx
mov    %rbx,%rdi
call   1040 <puts@plt>
lea    0xe89(%rip),%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
lea    0xf6c(%rip),%rbx
mov    %rbx,%rdi
call   1040 <puts@plt>
lea    0xe9e(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   1080 <ACUTE_unitTest__createTestCase@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
lea    0xead(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   1030 <ACUTE_unitTest__createTestMethod@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
lea    0xebe(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   1060 <ACUTE_unitTest__insertTestMethodIntoQueue@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
lea    0xed8(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   1070 <ACUTE_unitTest__insertTestCaseIntoQueue@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
lea    0xf18(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   1050 <ACUTE_unitTest__run@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [40 x i8] c"======================================\0A\00"
@.str.1 = [18 x i8] c"ACUTE Unit Tests\0A\00"
@.str.2 = [40 x i8] c"--------------------------------------\0A\00"
@.str.3 = [43 x i8] c"Unit Test: ACUTE_unitTest__createTestCase\0A\00"
@.str.4 = [45 x i8] c"Unit Test: ACUTE_unitTest__createTestMethod\0A\00"
@.str.5 = [54 x i8] c"Unit Test: ACUTE_unitTest__insertTestMethodIntoQueue\0A\00"
@.str.6 = [53 x i8] c"Unit Test: ACUTE_unitTest__insertTestQueueIntoQueue\0A\00"
@.str.7 = [32 x i8] c"Unit Test: ACUTE_unitTest__run\0A\00"
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 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.2, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.3, i64 0, i64 0))
%11 = call i32 (...) @ACUTE_unitTest__createTestCase()
%12 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.2, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.4, i64 0, i64 0))
%14 = call i32 (...) @ACUTE_unitTest__createTestMethod()
%15 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.2, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.5, i64 0, i64 0))
%17 = call i32 (...) @ACUTE_unitTest__insertTestMethodIntoQueue()
%18 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.2, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.6, i64 0, i64 0))
%20 = call i32 (...) @ACUTE_unitTest__insertTestCaseIntoQueue()
%21 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.2, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.7, i64 0, i64 0))
%23 = call i32 (...) @ACUTE_unitTest__run()
ret i32 0
}

LLVM IR (-O2):
@str.8 = [17 x i8] c"ACUTE Unit Tests\00"
@str.9 = [39 x i8] c"======================================\00"
@str.11 = [42 x i8] c"Unit Test: ACUTE_unitTest__createTestCase\00"
@str.13 = [44 x i8] c"Unit Test: ACUTE_unitTest__createTestMethod\00"
@str.15 = [53 x i8] c"Unit Test: ACUTE_unitTest__insertTestMethodIntoQueue\00"
@str.17 = [52 x i8] c"Unit Test: ACUTE_unitTest__insertTestQueueIntoQueue\00"
@str.18 = [39 x i8] c"--------------------------------------\00"
@str.19 = [31 x i8] c"Unit Test: ACUTE_unitTest__run\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.9, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.8, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.9, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.18, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.11, i64 0, i64 0))
%8 = tail call i32 (...) @ACUTE_unitTest__createTestCase()
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.18, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.13, i64 0, i64 0))
%11 = tail call i32 (...) @ACUTE_unitTest__createTestMethod()
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.18, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.15, i64 0, i64 0))
%14 = tail call i32 (...) @ACUTE_unitTest__insertTestMethodIntoQueue()
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.18, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.17, i64 0, i64 0))
%17 = tail call i32 (...) @ACUTE_unitTest__insertTestCaseIntoQueue()
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.18, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.19, i64 0, i64 0))
%20 = tail call i32 (...) @ACUTE_unitTest__run()
ret i32 0
}