#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*/ printf(char *, char *);
void initNameFile(char ***fileName) {
  (*fileName)[0] = "MATLAB_2014.zip";
  (*fileName)[1] = "archivo2.pdf";
  (*fileName)[2] = "archivo3.png";
  printf("Nombre1: %s\n", (*fileName)[0]);
  printf("Nombre2: %s\n", (*fileName)[1]);
  printf("Nombre3: %s\n", (*fileName)[2]);
}


x86 assembly (clang, -O0):
<initNameFile>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
lea    0xed6(%rip),%rcx
mov    %rcx,(%rax)
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
lea    0xed5(%rip),%rcx
mov    %rcx,0x8(%rax)
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
lea    0xed0(%rip),%rcx
mov    %rcx,0x10(%rax)
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
mov    (%rax),%rsi
lea    0xec8(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
mov    0x8(%rax),%rsi
lea    0xebe(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
mov    0x10(%rax),%rsi
lea    0xeb4(%rip),%rdi
call   1030 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<initNameFile>:
push   %rbx
mov    %rdi,%rbx
mov    (%rdi),%rax
lea    0xee2(%rip),%rcx
mov    %rcx,(%rax)
mov    (%rdi),%rax
lea    0xee5(%rip),%rcx
mov    %rcx,0x8(%rax)
mov    (%rdi),%rax
lea    0xee4(%rip),%rcx
mov    %rcx,0x10(%rax)
mov    (%rdi),%rax
mov    (%rax),%rsi
lea    0xee0(%rip),%rdi
call   1030 <printf@plt>
mov    (%rbx),%rax
mov    0x8(%rax),%rsi
lea    0xeda(%rip),%rdi
call   1030 <printf@plt>
mov    (%rbx),%rax
mov    0x10(%rax),%rsi
lea    0xed4(%rip),%rdi
pop    %rbx
jmp    1030 <printf@plt>

LLVM IR (-O0):
@.str = [16 x i8] c"MATLAB_2014.zip\00"
@.str.1 = [13 x i8] c"archivo2.pdf\00"
@.str.2 = [13 x i8] c"archivo3.png\00"
@.str.3 = [13 x i8] c"Nombre1: %s\0A\00"
@.str.4 = [13 x i8] c"Nombre2: %s\0A\00"
@.str.5 = [13 x i8] c"Nombre3: %s\0A\00"
define void @initNameFile(i8*** %0) {
%2 = alloca i8***
store i8*** %0, i8**** %2
%3 = load i8***, i8**** %2
%4 = load i8**, i8*** %3
%5 = getelementptr inbounds i8*, i8** %4, i64 0
store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8** %5
%6 = load i8***, i8**** %2
%7 = load i8**, i8*** %6
%8 = getelementptr inbounds i8*, i8** %7, i64 1
store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8** %8
%9 = load i8***, i8**** %2
%10 = load i8**, i8*** %9
%11 = getelementptr inbounds i8*, i8** %10, i64 2
store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0), i8** %11
%12 = load i8***, i8**** %2
%13 = load i8**, i8*** %12
%14 = getelementptr inbounds i8*, i8** %13, i64 0
%15 = load i8*, i8** %14
%16 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), i8* %15)
%17 = load i8***, i8**** %2
%18 = load i8**, i8*** %17
%19 = getelementptr inbounds i8*, i8** %18, i64 1
%20 = load i8*, i8** %19
%21 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0), i8* %20)
%22 = load i8***, i8**** %2
%23 = load i8**, i8*** %22
%24 = getelementptr inbounds i8*, i8** %23, i64 2
%25 = load i8*, i8** %24
%26 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i8* %25)
ret void
}

LLVM IR (-O2):
@.str = [16 x i8] c"MATLAB_2014.zip\00"
@.str.1 = [13 x i8] c"archivo2.pdf\00"
@.str.2 = [13 x i8] c"archivo3.png\00"
@.str.3 = [13 x i8] c"Nombre1: %s\0A\00"
@.str.4 = [13 x i8] c"Nombre2: %s\0A\00"
@.str.5 = [13 x i8] c"Nombre3: %s\0A\00"
define void @initNameFile(i8*** nocapture %0) {
%2 = load i8**, i8*** %0
store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8** %2
%3 = load i8**, i8*** %0
%4 = getelementptr inbounds i8*, i8** %3, i64 1
store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i8** %4
%5 = load i8**, i8*** %0
%6 = getelementptr inbounds i8*, i8** %5, i64 2
store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0), i8** %6
%7 = load i8**, i8*** %0
%8 = load i8*, i8** %7
%9 = tail call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), i8* %8)
%10 = load i8**, i8*** %0
%11 = getelementptr inbounds i8*, i8** %10, i64 1
%12 = load i8*, i8** %11
%13 = tail call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0), i8* %12)
%14 = load i8**, i8*** %0
%15 = getelementptr inbounds i8*, i8** %14, i64 2
%16 = load i8*, i8** %15
%17 = tail call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i8* %16)
ret void
}