#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/lcp_Pang_isolated_sol.dat";
  data_collection_1[n_data++] = "./data/lcp_Pang_isolated_sol_perturbed.dat";
  data_collection_1[n_data++] = "./data/lcp_inf_sol_perturbed.dat";
  data_collection_1[n_data++] = "./data/lcp_tobenna.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    0xeb2(%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    0xec0(%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    0xec4(%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    0xebe(%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    0xef5(%rip),%rcx
mov    %rcx,0x8(%rax)
lea    0xf15(%rip),%rcx
mov    %rcx,0x10(%rax)
lea    0xf2b(%rip),%rcx
mov    %rcx,0x18(%rax)
lea    0xf37(%rip),%rcx
mov    %rcx,0x20(%rax)
pop    %rcx
ret

LLVM IR (-O0):
@.str = [33 x i8] c"./data/lcp_Pang_isolated_sol.dat\00"
@.str.1 = [43 x i8] c"./data/lcp_Pang_isolated_sol_perturbed.dat\00"
@.str.2 = [33 x i8] c"./data/lcp_inf_sol_perturbed.dat\00"
@.str.3 = [23 x i8] c"./data/lcp_tobenna.dat\00"
@.str.4 = [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 ([33 x i8], [33 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 ([43 x i8], [43 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 ([33 x i8], [33 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 ([23 x i8], [23 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 ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8** %34
%35 = load i8**, i8*** %2
ret i8** %35
}

LLVM IR (-O2):
@.str = [33 x i8] c"./data/lcp_Pang_isolated_sol.dat\00"
@.str.1 = [43 x i8] c"./data/lcp_Pang_isolated_sol_perturbed.dat\00"
@.str.2 = [33 x i8] c"./data/lcp_inf_sol_perturbed.dat\00"
@.str.3 = [23 x i8] c"./data/lcp_tobenna.dat\00"
@.str.4 = [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 ([33 x i8], [33 x i8]* @.str, i64 0, i64 0), i8** %2
%3 = getelementptr inbounds i8*, i8** %2, i64 1
store i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.1, i64 0, i64 0), i8** %3
%4 = getelementptr inbounds i8*, i8** %2, i64 2
store i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0), i8** %4
%5 = getelementptr inbounds i8*, i8** %2, i64 3
store i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0), i8** %5
%6 = getelementptr inbounds i8*, i8** %2, i64 4
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8** %6
ret i8** %2
}