#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 */
scalar_t__ malloc(int);
char **data_collection() {
  int n_data_1 = 150;
  char **data_collection_1 = (char **)malloc(n_data_1 * sizeof(char *));
  int n_data = 0;
  data_collection_1[n_data++] = "./data/Rover1039.dat";
  data_collection_1[n_data++] = "./data/Rover1040.dat";
  data_collection_1[n_data++] = "./data/Rover1041.dat";
  data_collection_1[n_data++] = "./data/Rover3865.dat";
  data_collection_1[n_data++] = "./data/Rover4144.dat";
  data_collection_1[n_data++] = "./data/Rover4396.dat";
  data_collection_1[n_data++] = "./data/Rover4493.dat";
  data_collection_1[n_data++] = "./data/Rover4516.dat";
  data_collection_1[n_data++] = "./data/Rover4609.dat";
  data_collection_1[n_data++] = "./data/Rover4613.dat";
  data_collection_1[n_data++] = "./data/Rover4622.dat";
  data_collection_1[n_data++] = "./data/Rover9770.dat";
  data_collection_1[n_data++] = "./data/Rover11035.dat";
  data_collection_1[n_data++] = "./data/Rover11211.dat";
  data_collection_1[n_data++] = "---";
  return data_collection_1;
}


x86 assembly (clang, -O0):
<data_collection>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x96,-0x4(%rbp)
movslq -0x4(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1030 <malloc@plt>
mov    %rax,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x14(%rbp)
movslq %ecx,%rcx
lea    0xeae(%rip),%rdx
mov    %rdx,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x14(%rbp)
movslq %ecx,%rcx
lea    0xea6(%rip),%rdx
mov    %rdx,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x14(%rbp)
movslq %ecx,%rcx
lea    0xe9e(%rip),%rdx
mov    %rdx,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x14(%rbp)
movslq %ecx,%rcx
lea    0xe96(%rip),%rdx
mov    %rdx,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x14(%rbp)
movslq %ecx,%rcx
lea    0xe8e(%rip),%rdx
mov    %rdx,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x14(%rbp)
movslq %ecx,%rcx
lea    0xe86(%rip),%rdx
mov    %rdx,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x14(%rbp)
movslq %ecx,%rcx
lea    0xe7e(%rip),%rdx
mov    %rdx,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x14(%rbp)
movslq %ecx,%rcx
lea    0xe76(%rip),%rdx
mov    %rdx,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x14(%rbp)
movslq %ecx,%rcx
lea    0xe6e(%rip),%rdx
mov    %rdx,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x14(%rbp)
movslq %ecx,%rcx
lea    0xe66(%rip),%rdx
mov    %rdx,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x14(%rbp)
movslq %ecx,%rcx
lea    0xe5e(%rip),%rdx
mov    %rdx,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x14(%rbp)
movslq %ecx,%rcx
lea    0xe56(%rip),%rdx
mov    %rdx,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x14(%rbp)
movslq %ecx,%rcx
lea    0xe4e(%rip),%rdx
mov    %rdx,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x14(%rbp)
movslq %ecx,%rcx
lea    0xe47(%rip),%rdx
mov    %rdx,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x14(%rbp)
movslq %ecx,%rcx
lea    0xe40(%rip),%rdx
mov    %rdx,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<data_collection>:
push   %rax
mov    $0x4b0,%edi
call   1030 <malloc@plt>
lea    0xede(%rip),%rcx
mov    %rcx,(%rax)
lea    0xee9(%rip),%rcx
mov    %rcx,0x8(%rax)
lea    0xef3(%rip),%rcx
mov    %rcx,0x10(%rax)
lea    0xefd(%rip),%rcx
mov    %rcx,0x18(%rax)
lea    0xf07(%rip),%rcx
mov    %rcx,0x20(%rax)
lea    0xf11(%rip),%rcx
mov    %rcx,0x28(%rax)
lea    0xf1b(%rip),%rcx
mov    %rcx,0x30(%rax)
lea    0xf25(%rip),%rcx
mov    %rcx,0x38(%rax)
lea    0xf2f(%rip),%rcx
mov    %rcx,0x40(%rax)
lea    0xf39(%rip),%rcx
mov    %rcx,0x48(%rax)
lea    0xf43(%rip),%rcx
mov    %rcx,0x50(%rax)
lea    0xf4d(%rip),%rcx
mov    %rcx,0x58(%rax)
lea    0xf57(%rip),%rcx
mov    %rcx,0x60(%rax)
lea    0xf62(%rip),%rcx
mov    %rcx,0x68(%rax)
lea    0xf6d(%rip),%rcx
mov    %rcx,0x70(%rax)
pop    %rcx
ret

LLVM IR (-O0):
@.str = [21 x i8] c"./data/Rover1039.dat\00"
@.str.1 = [21 x i8] c"./data/Rover1040.dat\00"
@.str.2 = [21 x i8] c"./data/Rover1041.dat\00"
@.str.3 = [21 x i8] c"./data/Rover3865.dat\00"
@.str.4 = [21 x i8] c"./data/Rover4144.dat\00"
@.str.5 = [21 x i8] c"./data/Rover4396.dat\00"
@.str.6 = [21 x i8] c"./data/Rover4493.dat\00"
@.str.7 = [21 x i8] c"./data/Rover4516.dat\00"
@.str.8 = [21 x i8] c"./data/Rover4609.dat\00"
@.str.9 = [21 x i8] c"./data/Rover4613.dat\00"
@.str.10 = [21 x i8] c"./data/Rover4622.dat\00"
@.str.11 = [21 x i8] c"./data/Rover9770.dat\00"
@.str.12 = [22 x i8] c"./data/Rover11035.dat\00"
@.str.13 = [22 x i8] c"./data/Rover11211.dat\00"
@.str.14 = [4 x i8] c"---\00"
define i8** @data_collection() {
%1 = alloca i32
%2 = alloca i8**
%3 = alloca i32
store i32 150, i32* %1
%4 = load i32, i32* %1
%5 = sext i32 %4 to i64
%6 = mul i64 %5, 8
%7 = trunc i64 %6 to i32
%8 = call i64 @malloc(i32 %7)
%9 = inttoptr i64 %8 to i8**
store i8** %9, i8*** %2
store i32 0, i32* %3
%10 = load i8**, i8*** %2
%11 = load i32, i32* %3
%12 = add nsw i32 %11, 1
store i32 %12, i32* %3
%13 = sext i32 %11 to i64
%14 = getelementptr inbounds i8*, i8** %10, i64 %13
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i8** %14
%15 = load i8**, i8*** %2
%16 = load i32, i32* %3
%17 = add nsw i32 %16, 1
store i32 %17, i32* %3
%18 = sext i32 %16 to i64
%19 = getelementptr inbounds i8*, i8** %15, i64 %18
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.1, i64 0, i64 0), i8** %19
%20 = load i8**, i8*** %2
%21 = load i32, i32* %3
%22 = add nsw i32 %21, 1
store i32 %22, i32* %3
%23 = sext i32 %21 to i64
%24 = getelementptr inbounds i8*, i8** %20, i64 %23
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8** %24
%25 = load i8**, i8*** %2
%26 = load i32, i32* %3
%27 = add nsw i32 %26, 1
store i32 %27, i32* %3
%28 = sext i32 %26 to i64
%29 = getelementptr inbounds i8*, i8** %25, i64 %28
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), i8** %29
%30 = load i8**, i8*** %2
%31 = load i32, i32* %3
%32 = add nsw i32 %31, 1
store i32 %32, i32* %3
%33 = sext i32 %31 to i64
%34 = getelementptr inbounds i8*, i8** %30, i64 %33
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0), i8** %34
%35 = load i8**, i8*** %2
%36 = load i32, i32* %3
%37 = add nsw i32 %36, 1
store i32 %37, i32* %3
%38 = sext i32 %36 to i64
%39 = getelementptr inbounds i8*, i8** %35, i64 %38
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0), i8** %39
%40 = load i8**, i8*** %2
%41 = load i32, i32* %3
%42 = add nsw i32 %41, 1
store i32 %42, i32* %3
%43 = sext i32 %41 to i64
%44 = getelementptr inbounds i8*, i8** %40, i64 %43
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0), i8** %44
%45 = load i8**, i8*** %2
%46 = load i32, i32* %3
%47 = add nsw i32 %46, 1
store i32 %47, i32* %3
%48 = sext i32 %46 to i64
%49 = getelementptr inbounds i8*, i8** %45, i64 %48
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.7, i64 0, i64 0), i8** %49
%50 = load i8**, i8*** %2
%51 = load i32, i32* %3
%52 = add nsw i32 %51, 1
store i32 %52, i32* %3
%53 = sext i32 %51 to i64
%54 = getelementptr inbounds i8*, i8** %50, i64 %53
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.8, i64 0, i64 0), i8** %54
%55 = load i8**, i8*** %2
%56 = load i32, i32* %3
%57 = add nsw i32 %56, 1
store i32 %57, i32* %3
%58 = sext i32 %56 to i64
%59 = getelementptr inbounds i8*, i8** %55, i64 %58
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0), i8** %59
%60 = load i8**, i8*** %2
%61 = load i32, i32* %3
%62 = add nsw i32 %61, 1
store i32 %62, i32* %3
%63 = sext i32 %61 to i64
%64 = getelementptr inbounds i8*, i8** %60, i64 %63
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.10, i64 0, i64 0), i8** %64
%65 = load i8**, i8*** %2
%66 = load i32, i32* %3
%67 = add nsw i32 %66, 1
store i32 %67, i32* %3
%68 = sext i32 %66 to i64
%69 = getelementptr inbounds i8*, i8** %65, i64 %68
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.11, i64 0, i64 0), i8** %69
%70 = load i8**, i8*** %2
%71 = load i32, i32* %3
%72 = add nsw i32 %71, 1
store i32 %72, i32* %3
%73 = sext i32 %71 to i64
%74 = getelementptr inbounds i8*, i8** %70, i64 %73
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.12, i64 0, i64 0), i8** %74
%75 = load i8**, i8*** %2
%76 = load i32, i32* %3
%77 = add nsw i32 %76, 1
store i32 %77, i32* %3
%78 = sext i32 %76 to i64
%79 = getelementptr inbounds i8*, i8** %75, i64 %78
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.13, i64 0, i64 0), i8** %79
%80 = load i8**, i8*** %2
%81 = load i32, i32* %3
%82 = add nsw i32 %81, 1
store i32 %82, i32* %3
%83 = sext i32 %81 to i64
%84 = getelementptr inbounds i8*, i8** %80, i64 %83
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0), i8** %84
%85 = load i8**, i8*** %2
ret i8** %85
}

LLVM IR (-O2):
@.str = [21 x i8] c"./data/Rover1039.dat\00"
@.str.1 = [21 x i8] c"./data/Rover1040.dat\00"
@.str.2 = [21 x i8] c"./data/Rover1041.dat\00"
@.str.3 = [21 x i8] c"./data/Rover3865.dat\00"
@.str.4 = [21 x i8] c"./data/Rover4144.dat\00"
@.str.5 = [21 x i8] c"./data/Rover4396.dat\00"
@.str.6 = [21 x i8] c"./data/Rover4493.dat\00"
@.str.7 = [21 x i8] c"./data/Rover4516.dat\00"
@.str.8 = [21 x i8] c"./data/Rover4609.dat\00"
@.str.9 = [21 x i8] c"./data/Rover4613.dat\00"
@.str.10 = [21 x i8] c"./data/Rover4622.dat\00"
@.str.11 = [21 x i8] c"./data/Rover9770.dat\00"
@.str.12 = [22 x i8] c"./data/Rover11035.dat\00"
@.str.13 = [22 x i8] c"./data/Rover11211.dat\00"
@.str.14 = [4 x i8] c"---\00"
define i8** @data_collection() {
%1 = tail call i64 @malloc(i32 1200)
%2 = inttoptr i64 %1 to i8**
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i8** %2
%3 = getelementptr inbounds i8*, i8** %2, i64 1
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.1, i64 0, i64 0), i8** %3
%4 = getelementptr inbounds i8*, i8** %2, i64 2
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8** %4
%5 = getelementptr inbounds i8*, i8** %2, i64 3
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), i8** %5
%6 = getelementptr inbounds i8*, i8** %2, i64 4
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0), i8** %6
%7 = getelementptr inbounds i8*, i8** %2, i64 5
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0), i8** %7
%8 = getelementptr inbounds i8*, i8** %2, i64 6
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0), i8** %8
%9 = getelementptr inbounds i8*, i8** %2, i64 7
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.7, i64 0, i64 0), i8** %9
%10 = getelementptr inbounds i8*, i8** %2, i64 8
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.8, i64 0, i64 0), i8** %10
%11 = getelementptr inbounds i8*, i8** %2, i64 9
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0), i8** %11
%12 = getelementptr inbounds i8*, i8** %2, i64 10
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.10, i64 0, i64 0), i8** %12
%13 = getelementptr inbounds i8*, i8** %2, i64 11
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.11, i64 0, i64 0), i8** %13
%14 = getelementptr inbounds i8*, i8** %2, i64 12
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.12, i64 0, i64 0), i8** %14
%15 = getelementptr inbounds i8*, i8** %2, i64 13
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.13, i64 0, i64 0), i8** %15
%16 = getelementptr inbounds i8*, i8** %2, i64 14
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0), i8** %16
ret i8** %2
}