#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*/ free(int *);
scalar_t__ malloc(int);
int /*<<< orphan*/ printf(char *, ...);
int main() {
  int aa;
  int *bb;
  int **cc;
  aa = 7;
  bb = &aa;
  cc = &bb;
  printf("--------------------------------------------\n");
  printf("\n");
  printf("int a; int *b; int **c;\n");
  printf("a = 7; b = &a; c = &b\n");
  printf("\n");
  printf("Indirizzo di a      [&a] %p\n", &aa);
  printf("Indirizzo di b      [&b] %p\n", &bb);
  printf("Indirizzo di c      [&b] %p\n", &cc);
  printf("Valore di a         [ a] %d\n", aa);
  printf("Valore di b 	    [ b] %p\n", bb);
  printf("Valore di c 	    [ b] %p\n", cc);
  printf("Valore puntato di b [*b] %d\n", *bb);
  printf("Valore puntato di c [*c] %p\n", *cc);
  printf("Valore puntato di c [**c] %d\n", **cc);
  printf("\n--------------------------------------------\n");
  printf("\n");
  int *array;
  int allocazioni = 10;
  printf("ALLOCAZIONE DI %d INT\n\n", allocazioni);
  array = (int *)malloc(sizeof(int) * allocazioni);
  printf("array = (int*)malloc(sizeof(int)*10);\n");
  printf("for (i=0;i<10;i++) array[i] = i*100;\n\n");
  printf("sizeof(int) is %d\n\n", (int)sizeof(int));
  int ii;
  for (ii = 0; ii < allocazioni; ii++) {
    *(array + ii) = ii * 100;
  }
  for (ii = 0; ii < allocazioni; ii++) {
    printf("array[%d] = *(array+%d) = %3d	indirizzo: %p\n", ii, ii,
           array[ii], array + ii);
  }
  free(array);
  printf("\n--------------------------------------------\n");
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x7,-0x8(%rbp)
lea    -0x8(%rbp),%rax
mov    %rax,-0x10(%rbp)
lea    -0x10(%rbp),%rax
mov    %rax,-0x18(%rbp)
lea    0xfd4(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x1058(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe87(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe92(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x102e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe8d(%rip),%rdi
lea    -0x8(%rbp),%rsi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe98(%rip),%rdi
lea    -0x10(%rbp),%rsi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xea3(%rip),%rdi
lea    -0x18(%rbp),%rsi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x8(%rbp),%esi
lea    0xeab(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x10(%rbp),%rsi
lea    0xeb6(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x18(%rbp),%rsi
lea    0xebe(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x10(%rbp),%rax
mov    (%rax),%esi
lea    0xec4(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x18(%rbp),%rax
mov    (%rax),%rsi
lea    0xecc(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x18(%rbp),%rax
mov    (%rax),%rax
mov    (%rax),%esi
lea    0xed2(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xee2(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf67(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0xa,-0x24(%rbp)
mov    -0x24(%rbp),%esi
lea    0xeeb(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movslq -0x24(%rbp),%rax
shl    $0x2,%rax
mov    %eax,%edi
call   1050 <malloc@plt>
mov    %rax,-0x20(%rbp)
lea    0xee2(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xefb(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf14(%rip),%rdi
mov    $0x4,%esi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    12ed <main+0x1bd>
imul   $0x64,-0x28(%rbp),%edx
mov    -0x20(%rbp),%rax
movslq -0x28(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    12c4 <main+0x194>
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    133c <main+0x20c>
mov    -0x28(%rbp),%esi
mov    -0x28(%rbp),%edx
mov    -0x20(%rbp),%rax
movslq -0x28(%rbp),%rcx
mov    (%rax,%rcx,4),%ecx
mov    -0x20(%rbp),%r8
movslq -0x28(%rbp),%rax
shl    $0x2,%rax
add    %rax,%r8
lea    0xeb2(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    12f4 <main+0x1c4>
mov    -0x20(%rbp),%rdi
call   1030 <free@plt>
lea    0xde4(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
movl   $0x7,0xc(%rsp)
lea    0xc(%rsp),%rbp
mov    %rbp,0x18(%rsp)
lea    0x18(%rsp),%rbx
mov    %rbx,0x10(%rsp)
lea    0x1073(%rip),%rdi
call   1050 <puts@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
lea    0xfe2(%rip),%rdi
call   1050 <puts@plt>
lea    0xfee(%rip),%rdi
call   1050 <puts@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
lea    0xe67(%rip),%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xe73(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xe7f(%rip),%rdi
lea    0x10(%rsp),%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0xc(%rsp),%esi
lea    0xe85(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x18(%rsp),%rsi
lea    0xe8f(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x10(%rsp),%rsi
lea    0xe96(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x18(%rsp),%rax
mov    (%rax),%esi
lea    0xe9b(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x10(%rsp),%rax
mov    (%rax),%rsi
lea    0xea2(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x10(%rsp),%rax
mov    (%rax),%rax
mov    (%rax),%esi
lea    0xea7(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xf8a(%rip),%rdi
call   1050 <puts@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
lea    0xea1(%rip),%rdi
mov    $0xa,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0x28,%edi
call   1070 <malloc@plt>
mov    %rax,%rbx
lea    0xf08(%rip),%rdi
call   1050 <puts@plt>
lea    0xf22(%rip),%rdi
call   1050 <puts@plt>
lea    0xe81(%rip),%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0x4(%rbx),%r15
lea    0x8(%rbx),%r14
lea    0xc(%rbx),%rbp
movaps 0xd2a(%rip),%xmm0
movups %xmm0,(%rbx)
lea    0x10(%rbx),%r13
lea    0x14(%rbx),%rax
mov    %rax,0x20(%rsp)
lea    0x18(%rbx),%rax
mov    %rax,0x28(%rsp)
lea    0x1c(%rbx),%rax
mov    %rax,0x30(%rsp)
movaps 0xd11(%rip),%xmm0
movups %xmm0,0x10(%rbx)
lea    0x20(%rbx),%rax
mov    %rax,0x38(%rsp)
movabs $0x38400000320,%rax
mov    %rax,0x20(%rbx)
lea    0x24(%rbx),%rax
mov    %rax,0x40(%rsp)
lea    0xe22(%rip),%r12
mov    %r12,%rdi
xor    %esi,%esi
xor    %edx,%edx
xor    %ecx,%ecx
mov    %rbx,%r8
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x4(%rbx),%ecx
mov    %r12,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    %r15,%r8
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x8(%rbx),%ecx
mov    %r12,%rdi
mov    $0x2,%esi
mov    $0x2,%edx
mov    %r14,%r8
xor    %eax,%eax
call   1060 <printf@plt>
mov    0xc(%rbx),%ecx
mov    %r12,%rdi
mov    $0x3,%esi
mov    $0x3,%edx
mov    %rbp,%r8
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x10(%rbx),%ecx
mov    %r12,%rdi
mov    $0x4,%esi
mov    $0x4,%edx
mov    %r13,%r8
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x14(%rbx),%ecx
mov    %r12,%rdi
mov    $0x5,%esi
mov    $0x5,%edx
mov    0x20(%rsp),%r8
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x18(%rbx),%ecx
mov    %r12,%rdi
mov    $0x6,%esi
mov    $0x6,%edx
mov    0x28(%rsp),%r8
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x1c(%rbx),%ecx
mov    %r12,%rdi
mov    $0x7,%esi
mov    $0x7,%edx
mov    0x30(%rsp),%r8
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x20(%rbx),%ecx
mov    %r12,%rdi
mov    $0x8,%esi
mov    $0x8,%edx
mov    0x38(%rsp),%r8
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x24(%rbx),%ecx
mov    %r12,%rdi
mov    $0x9,%esi
mov    $0x9,%edx
mov    0x40(%rsp),%r8
xor    %eax,%eax
call   1060 <printf@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
lea    0xdb3(%rip),%rdi
call   1050 <puts@plt>
xor    %eax,%eax
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [46 x i8] c"--------------------------------------------\0A\00"
@.str.1 = [2 x i8] c"\0A\00"
@.str.2 = [25 x i8] c"int a; int *b; int **c;\0A\00"
@.str.3 = [23 x i8] c"a = 7; b = &a; c = &b\0A\00"
@.str.4 = [29 x i8] c"Indirizzo di a [&a] %p\0A\00"
@.str.5 = [29 x i8] c"Indirizzo di b [&b] %p\0A\00"
@.str.6 = [29 x i8] c"Indirizzo di c [&b] %p\0A\00"
@.str.7 = [29 x i8] c"Valore di a [ a] %d\0A\00"
@.str.8 = [26 x i8] c"Valore di b \09 [ b] %p\0A\00"
@.str.9 = [26 x i8] c"Valore di c \09 [ b] %p\0A\00"
@.str.10 = [29 x i8] c"Valore puntato di b [*b] %d\0A\00"
@.str.11 = [29 x i8] c"Valore puntato di c [*c] %p\0A\00"
@.str.12 = [30 x i8] c"Valore puntato di c [**c] %d\0A\00"
@.str.13 = [47 x i8] c"\0A--------------------------------------------\0A\00"
@.str.14 = [24 x i8] c"ALLOCAZIONE DI %d INT\0A\0A\00"
@.str.15 = [39 x i8] c"array = (int*)malloc(sizeof(int)*10);\0A\00"
@.str.16 = [39 x i8] c"for (i=0;i<10;i++) array[i] = i*100;\0A\0A\00"
@.str.17 = [20 x i8] c"sizeof(int) is %d\0A\0A\00"
@.str.18 = [45 x i8] c"array[%d] = *(array+%d) = %3d\09indirizzo: %p\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32*
%4 = alloca i32**
%5 = alloca i32*
%6 = alloca i32
%7 = alloca i32
store i32 0, i32* %1
store i32 7, i32* %2
store i32* %2, i32** %3
store i32** %3, i32*** %4
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.4, i64 0, i64 0), i32* %2)
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.5, i64 0, i64 0), i32** %3)
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.6, i64 0, i64 0), i32*** %4)
%16 = load i32, i32* %2
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.7, i64 0, i64 0), i32 %16)
%18 = load i32*, i32** %3
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.8, i64 0, i64 0), i32* %18)
%20 = load i32**, i32*** %4
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.9, i64 0, i64 0), i32** %20)
%22 = load i32*, i32** %3
%23 = load i32, i32* %22
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.10, i64 0, i64 0), i32 %23)
%25 = load i32**, i32*** %4
%26 = load i32*, i32** %25
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.11, i64 0, i64 0), i32* %26)
%28 = load i32**, i32*** %4
%29 = load i32*, i32** %28
%30 = load i32, i32* %29
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.12, i64 0, i64 0), i32 %30)
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.13, i64 0, i64 0))
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32 10, i32* %6
%34 = load i32, i32* %6
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.14, i64 0, i64 0), i32 %34)
%36 = load i32, i32* %6
%37 = sext i32 %36 to i64
%38 = mul i64 4, %37
%39 = trunc i64 %38 to i32
%40 = call i64 @malloc(i32 %39)
%41 = inttoptr i64 %40 to i32*
store i32* %41, i32** %5
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.15, i64 0, i64 0))
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.16, i64 0, i64 0))
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.17, i64 0, i64 0), i32 4)
store i32 0, i32* %7
br label %45
45: ; preds = %56, %0
%46 = load i32, i32* %7
%47 = load i32, i32* %6
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %59
49: ; preds = %45
%50 = load i32, i32* %7
%51 = mul nsw i32 %50, 100
%52 = load i32*, i32** %5
%53 = load i32, i32* %7
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, i32* %52, i64 %54
store i32 %51, i32* %55
br label %56
56: ; preds = %49
%57 = load i32, i32* %7
%58 = add nsw i32 %57, 1
store i32 %58, i32* %7
br label %45
59: ; preds = %45
store i32 0, i32* %7
br label %60
60: ; preds = %77, %59
%61 = load i32, i32* %7
%62 = load i32, i32* %6
%63 = icmp slt i32 %61, %62
br i1 %63, label %64, label %80
64: ; preds = %60
%65 = load i32, i32* %7
%66 = load i32, i32* %7
%67 = load i32*, i32** %5
%68 = load i32, i32* %7
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32, i32* %67, i64 %69
%71 = load i32, i32* %70
%72 = load i32*, i32** %5
%73 = load i32, i32* %7
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, i32* %72, i64 %74
%76 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.18, i64 0, i64 0), i32 %65, i32 %66, i32 %71, i32* %75)
br label %77
77: ; preds = %64
%78 = load i32, i32* %7
%79 = add nsw i32 %78, 1
store i32 %79, i32* %7
br label %60
80: ; preds = %60
%81 = load i32*, i32** %5
%82 = call i32 @free(i32* %81)
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.13, i64 0, i64 0))
%84 = load i32, i32* %1
ret i32 %84
}

LLVM IR (-O2):
@.str.4 = [29 x i8] c"Indirizzo di a [&a] %p\0A\00"
@.str.5 = [29 x i8] c"Indirizzo di b [&b] %p\0A\00"
@.str.6 = [29 x i8] c"Indirizzo di c [&b] %p\0A\00"
@.str.7 = [29 x i8] c"Valore di a [ a] %d\0A\00"
@.str.8 = [26 x i8] c"Valore di b \09 [ b] %p\0A\00"
@.str.9 = [26 x i8] c"Valore di c \09 [ b] %p\0A\00"
@.str.10 = [29 x i8] c"Valore puntato di b [*b] %d\0A\00"
@.str.11 = [29 x i8] c"Valore puntato di c [*c] %p\0A\00"
@.str.12 = [30 x i8] c"Valore puntato di c [**c] %d\0A\00"
@.str.14 = [24 x i8] c"ALLOCAZIONE DI %d INT\0A\0A\00"
@.str.17 = [20 x i8] c"sizeof(int) is %d\0A\0A\00"
@.str.18 = [45 x i8] c"array[%d] = *(array+%d) = %3d\09indirizzo: %p\0A\00"
@str = [45 x i8] c"--------------------------------------------\00"
@str.19 = [24 x i8] c"int a; int *b; int **c;\00"
@str.20 = [22 x i8] c"a = 7; b = &a; c = &b\00"
@str.22 = [38 x i8] c"array = (int*)malloc(sizeof(int)*10);\00"
@str.23 = [38 x i8] c"for (i=0;i<10;i++) array[i] = i*100;\0A\00"
@str.24 = [46 x i8] c"\0A--------------------------------------------\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32*
%3 = alloca i32**
%4 = bitcast i32* %1 to i8*
%5 = bitcast i32** %2 to i8*
%6 = bitcast i32*** %3 to i8*
store i32 7, i32* %1
store i32* %1, i32** %2
store i32** %2, i32*** %3
%7 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str, i64 0, i64 0))
%8 = call i32 @putchar(i32 10)
%9 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.19, i64 0, i64 0))
%10 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.20, i64 0, i64 0))
%11 = call i32 @putchar(i32 10)
%12 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.4, i64 0, i64 0), i32* %1)
%13 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.5, i64 0, i64 0), i32** %2)
%14 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.6, i64 0, i64 0), i32*** %3)
%15 = load i32, i32* %1
%16 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.7, i64 0, i64 0), i32 %15)
%17 = load i32*, i32** %2
%18 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.8, i64 0, i64 0), i32* %17)
%19 = load i32**, i32*** %3
%20 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.9, i64 0, i64 0), i32** %19)
%21 = load i32*, i32** %2
%22 = load i32, i32* %21
%23 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.10, i64 0, i64 0), i32 %22)
%24 = load i32**, i32*** %3
%25 = load i32*, i32** %24
%26 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.11, i64 0, i64 0), i32* %25)
%27 = load i32**, i32*** %3
%28 = load i32*, i32** %27
%29 = load i32, i32* %28
%30 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.12, i64 0, i64 0), i32 %29)
%31 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.24, i64 0, i64 0))
%32 = call i32 @putchar(i32 10)
%33 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.14, i64 0, i64 0), i32 10)
%34 = call i64 @malloc(i32 40)
%35 = inttoptr i64 %34 to i32*
%36 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.22, i64 0, i64 0))
%37 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.23, i64 0, i64 0))
%38 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.17, i64 0, i64 0), i32 4)
%39 = getelementptr inbounds i32, i32* %35, i64 1
%40 = getelementptr inbounds i32, i32* %35, i64 2
%41 = getelementptr inbounds i32, i32* %35, i64 3
%42 = inttoptr i64 %34 to <4 x i32>*
store <4 x i32> <i32 0, i32 100, i32 200, i32 300>, <4 x i32>* %42
%43 = getelementptr inbounds i32, i32* %35, i64 4
%44 = getelementptr inbounds i32, i32* %35, i64 5
%45 = getelementptr inbounds i32, i32* %35, i64 6
%46 = getelementptr inbounds i32, i32* %35, i64 7
%47 = bitcast i32* %43 to <4 x i32>*
store <4 x i32> <i32 400, i32 500, i32 600, i32 700>, <4 x i32>* %47
%48 = getelementptr inbounds i32, i32* %35, i64 8
store i32 800, i32* %48
%49 = getelementptr inbounds i32, i32* %35, i64 9
store i32 900, i32* %49
%50 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.18, i64 0, i64 0), i32 0, i32 0, i32 0, i32* %35)
%51 = load i32, i32* %39
%52 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.18, i64 0, i64 0), i32 1, i32 1, i32 %51, i32* %39)
%53 = load i32, i32* %40
%54 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.18, i64 0, i64 0), i32 2, i32 2, i32 %53, i32* %40)
%55 = load i32, i32* %41
%56 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.18, i64 0, i64 0), i32 3, i32 3, i32 %55, i32* %41)
%57 = load i32, i32* %43
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.18, i64 0, i64 0), i32 4, i32 4, i32 %57, i32* %43)
%59 = load i32, i32* %44
%60 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.18, i64 0, i64 0), i32 5, i32 5, i32 %59, i32* %44)
%61 = load i32, i32* %45
%62 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.18, i64 0, i64 0), i32 6, i32 6, i32 %61, i32* %45)
%63 = load i32, i32* %46
%64 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.18, i64 0, i64 0), i32 7, i32 7, i32 %63, i32* %46)
%65 = load i32, i32* %48
%66 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.18, i64 0, i64 0), i32 8, i32 8, i32 %65, i32* %48)
%67 = load i32, i32* %49
%68 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.18, i64 0, i64 0), i32 9, i32 9, i32 %67, i32* %49)
%69 = call i32 @free(i32* %35)
%70 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.24, i64 0, i64 0))
ret i32 0
}