#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*/ test_atoi();
int /*<<< orphan*/ test_color_scale();
int /*<<< orphan*/ test_compare();
int /*<<< orphan*/ test_csv();
int /*<<< orphan*/ test_csv_different_separator();
int /*<<< orphan*/ test_csv_new_num_from_string();
int /*<<< orphan*/ test_init();
int /*<<< orphan*/ test_line_count();
int /*<<< orphan*/ test_load_string();
int /*<<< orphan*/ test_module(char *);
int /*<<< orphan*/ test_num_cols();
int /*<<< orphan*/ test_num_lines();
int /*<<< orphan*/ test_num_reset();
int /*<<< orphan*/ test_reset();
int /*<<< orphan*/ test_strcpy();
void test_all() {
  do {
    test_module("test_init");
    test_init();
  } while (0);
  do {
    test_module("test_strcpy");
    test_strcpy();
  } while (0);
  do {
    test_module("test_compare");
    test_compare();
  } while (0);
  do {
    test_module("test_reset");
    test_reset();
  } while (0);
  do {
    test_module("test_load_string");
    test_load_string();
  } while (0);
  do {
    test_module("test_line_count");
    test_line_count();
  } while (0);
  do {
    test_module("test_csv");
    test_csv();
  } while (0);
  do {
    test_module("test_csv_different_separator");
    test_csv_different_separator();
  } while (0);
  do {
    test_module("test_csv_new_num_from_string");
    test_csv_new_num_from_string();
  } while (0);
  do {
    test_module("test_color_scale");
    test_color_scale();
  } while (0);
  do {
    test_module("test_atoi");
    test_atoi();
  } while (0);
  do {
    test_module("test_num_cols");
    test_num_cols();
  } while (0);
  do {
    test_module("test_num_lines");
    test_num_lines();
  } while (0);
  do {
    test_module("test_num_reset");
    test_num_reset();
  } while (0);
}


x86 assembly (clang, -O0):
<test_all>:
push   %rbp
mov    %rsp,%rbp
jmp    11f9 <test_all+0x9>
lea    0xe00(%rip),%rdi
call   10f0 <test_module@plt>
mov    $0x0,%al
call   1060 <test_init@plt>
jmp    1211 <test_all+0x21>
lea    0xdf2(%rip),%rdi
call   10f0 <test_module@plt>
mov    $0x0,%al
call   10a0 <test_strcpy@plt>
jmp    1229 <test_all+0x39>
lea    0xde6(%rip),%rdi
call   10f0 <test_module@plt>
mov    $0x0,%al
call   1110 <test_compare@plt>
jmp    1241 <test_all+0x51>
lea    0xddb(%rip),%rdi
call   10f0 <test_module@plt>
mov    $0x0,%al
call   10b0 <test_reset@plt>
jmp    1259 <test_all+0x69>
lea    0xdce(%rip),%rdi
call   10f0 <test_module@plt>
mov    $0x0,%al
call   1090 <test_load_string@plt>
jmp    1271 <test_all+0x81>
lea    0xdc7(%rip),%rdi
call   10f0 <test_module@plt>
mov    $0x0,%al
call   1070 <test_line_count@plt>
jmp    1289 <test_all+0x99>
lea    0xdbf(%rip),%rdi
call   10f0 <test_module@plt>
mov    $0x0,%al
call   1030 <test_csv@plt>
jmp    12a1 <test_all+0xb1>
lea    0xdb0(%rip),%rdi
call   10f0 <test_module@plt>
mov    $0x0,%al
call   10e0 <test_csv_different_separator@plt>
jmp    12b9 <test_all+0xc9>
lea    0xdb5(%rip),%rdi
call   10f0 <test_module@plt>
mov    $0x0,%al
call   10c0 <test_csv_new_num_from_string@plt>
jmp    12d1 <test_all+0xe1>
lea    0xdba(%rip),%rdi
call   10f0 <test_module@plt>
mov    $0x0,%al
call   1080 <test_color_scale@plt>
jmp    12e9 <test_all+0xf9>
lea    0xdb3(%rip),%rdi
call   10f0 <test_module@plt>
mov    $0x0,%al
call   10d0 <test_atoi@plt>
jmp    1301 <test_all+0x111>
lea    0xda5(%rip),%rdi
call   10f0 <test_module@plt>
mov    $0x0,%al
call   1040 <test_num_cols@plt>
jmp    1319 <test_all+0x129>
lea    0xd9b(%rip),%rdi
call   10f0 <test_module@plt>
mov    $0x0,%al
call   1100 <test_num_lines@plt>
jmp    1331 <test_all+0x141>
lea    0xd92(%rip),%rdi
call   10f0 <test_module@plt>
mov    $0x0,%al
call   1050 <test_num_reset@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_all>:
push   %rax
lea    0xe08(%rip),%rdi
call   10f0 <test_module@plt>
xor    %eax,%eax
call   1060 <test_init@plt>
lea    0xdff(%rip),%rdi
call   10f0 <test_module@plt>
xor    %eax,%eax
call   10a0 <test_strcpy@plt>
lea    0xdf8(%rip),%rdi
call   10f0 <test_module@plt>
xor    %eax,%eax
call   1110 <test_compare@plt>
lea    0xdf2(%rip),%rdi
call   10f0 <test_module@plt>
xor    %eax,%eax
call   10b0 <test_reset@plt>
lea    0xdea(%rip),%rdi
call   10f0 <test_module@plt>
xor    %eax,%eax
call   1090 <test_load_string@plt>
lea    0xde8(%rip),%rdi
call   10f0 <test_module@plt>
xor    %eax,%eax
call   1070 <test_line_count@plt>
lea    0xde5(%rip),%rdi
call   10f0 <test_module@plt>
xor    %eax,%eax
call   1030 <test_csv@plt>
lea    0xddb(%rip),%rdi
call   10f0 <test_module@plt>
xor    %eax,%eax
call   10e0 <test_csv_different_separator@plt>
lea    0xde5(%rip),%rdi
call   10f0 <test_module@plt>
xor    %eax,%eax
call   10c0 <test_csv_new_num_from_string@plt>
lea    0xdef(%rip),%rdi
call   10f0 <test_module@plt>
xor    %eax,%eax
call   1080 <test_color_scale@plt>
lea    0xded(%rip),%rdi
call   10f0 <test_module@plt>
xor    %eax,%eax
call   10d0 <test_atoi@plt>
lea    0xde4(%rip),%rdi
call   10f0 <test_module@plt>
xor    %eax,%eax
call   1040 <test_num_cols@plt>
lea    0xddf(%rip),%rdi
call   10f0 <test_module@plt>
xor    %eax,%eax
call   1100 <test_num_lines@plt>
lea    0xddb(%rip),%rdi
call   10f0 <test_module@plt>
xor    %eax,%eax
pop    %rcx
jmp    1050 <test_num_reset@plt>

LLVM IR (-O0):
@.str = [10 x i8] c"test_init\00"
@.str.1 = [12 x i8] c"test_strcpy\00"
@.str.2 = [13 x i8] c"test_compare\00"
@.str.3 = [11 x i8] c"test_reset\00"
@.str.4 = [17 x i8] c"test_load_string\00"
@.str.5 = [16 x i8] c"test_line_count\00"
@.str.6 = [9 x i8] c"test_csv\00"
@.str.7 = [29 x i8] c"test_csv_different_separator\00"
@.str.8 = [29 x i8] c"test_csv_new_num_from_string\00"
@.str.9 = [17 x i8] c"test_color_scale\00"
@.str.10 = [10 x i8] c"test_atoi\00"
@.str.11 = [14 x i8] c"test_num_cols\00"
@.str.12 = [15 x i8] c"test_num_lines\00"
@.str.13 = [15 x i8] c"test_num_reset\00"
define void @test_all() {
br label %1
1: ; preds = %0
%2 = call i32 @test_module(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
%3 = call i32 (...) @test_init()
br label %4
4: ; preds = %1
br label %5
5: ; preds = %4
%6 = call i32 @test_module(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0))
%7 = call i32 (...) @test_strcpy()
br label %8
8: ; preds = %5
br label %9
9: ; preds = %8
%10 = call i32 @test_module(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
%11 = call i32 (...) @test_compare()
br label %12
12: ; preds = %9
br label %13
13: ; preds = %12
%14 = call i32 @test_module(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%15 = call i32 (...) @test_reset()
br label %16
16: ; preds = %13
br label %17
17: ; preds = %16
%18 = call i32 @test_module(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0))
%19 = call i32 (...) @test_load_string()
br label %20
20: ; preds = %17
br label %21
21: ; preds = %20
%22 = call i32 @test_module(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.5, i64 0, i64 0))
%23 = call i32 (...) @test_line_count()
br label %24
24: ; preds = %21
br label %25
25: ; preds = %24
%26 = call i32 @test_module(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0))
%27 = call i32 (...) @test_csv()
br label %28
28: ; preds = %25
br label %29
29: ; preds = %28
%30 = call i32 @test_module(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.7, i64 0, i64 0))
%31 = call i32 (...) @test_csv_different_separator()
br label %32
32: ; preds = %29
br label %33
33: ; preds = %32
%34 = call i32 @test_module(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.8, i64 0, i64 0))
%35 = call i32 (...) @test_csv_new_num_from_string()
br label %36
36: ; preds = %33
br label %37
37: ; preds = %36
%38 = call i32 @test_module(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.9, i64 0, i64 0))
%39 = call i32 (...) @test_color_scale()
br label %40
40: ; preds = %37
br label %41
41: ; preds = %40
%42 = call i32 @test_module(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.10, i64 0, i64 0))
%43 = call i32 (...) @test_atoi()
br label %44
44: ; preds = %41
br label %45
45: ; preds = %44
%46 = call i32 @test_module(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.11, i64 0, i64 0))
%47 = call i32 (...) @test_num_cols()
br label %48
48: ; preds = %45
br label %49
49: ; preds = %48
%50 = call i32 @test_module(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i64 0, i64 0))
%51 = call i32 (...) @test_num_lines()
br label %52
52: ; preds = %49
br label %53
53: ; preds = %52
%54 = call i32 @test_module(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.13, i64 0, i64 0))
%55 = call i32 (...) @test_num_reset()
br label %56
56: ; preds = %53
ret void
}

LLVM IR (-O2):
@.str = [10 x i8] c"test_init\00"
@.str.1 = [12 x i8] c"test_strcpy\00"
@.str.2 = [13 x i8] c"test_compare\00"
@.str.3 = [11 x i8] c"test_reset\00"
@.str.4 = [17 x i8] c"test_load_string\00"
@.str.5 = [16 x i8] c"test_line_count\00"
@.str.6 = [9 x i8] c"test_csv\00"
@.str.7 = [29 x i8] c"test_csv_different_separator\00"
@.str.8 = [29 x i8] c"test_csv_new_num_from_string\00"
@.str.9 = [17 x i8] c"test_color_scale\00"
@.str.10 = [10 x i8] c"test_atoi\00"
@.str.11 = [14 x i8] c"test_num_cols\00"
@.str.12 = [15 x i8] c"test_num_lines\00"
@.str.13 = [15 x i8] c"test_num_reset\00"
define void @test_all() {
%1 = tail call i32 @test_module(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 (...) @test_init()
%3 = tail call i32 @test_module(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0))
%4 = tail call i32 (...) @test_strcpy()
%5 = tail call i32 @test_module(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
%6 = tail call i32 (...) @test_compare()
%7 = tail call i32 @test_module(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%8 = tail call i32 (...) @test_reset()
%9 = tail call i32 @test_module(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0))
%10 = tail call i32 (...) @test_load_string()
%11 = tail call i32 @test_module(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.5, i64 0, i64 0))
%12 = tail call i32 (...) @test_line_count()
%13 = tail call i32 @test_module(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0))
%14 = tail call i32 (...) @test_csv()
%15 = tail call i32 @test_module(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.7, i64 0, i64 0))
%16 = tail call i32 (...) @test_csv_different_separator()
%17 = tail call i32 @test_module(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.8, i64 0, i64 0))
%18 = tail call i32 (...) @test_csv_new_num_from_string()
%19 = tail call i32 @test_module(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.9, i64 0, i64 0))
%20 = tail call i32 (...) @test_color_scale()
%21 = tail call i32 @test_module(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.10, i64 0, i64 0))
%22 = tail call i32 (...) @test_atoi()
%23 = tail call i32 @test_module(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.11, i64 0, i64 0))
%24 = tail call i32 (...) @test_num_cols()
%25 = tail call i32 @test_module(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i64 0, i64 0))
%26 = tail call i32 (...) @test_num_lines()
%27 = tail call i32 @test_module(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.13, i64 0, i64 0))
%28 = tail call i32 (...) @test_num_reset()
ret void
}