void main() {
  int *p = malloc(sizeof(int));
  float *array = (float *)malloc(5 * sizeof(float)), *pm;
  int **arr;
  *p = 13;
  int i, j;
  printf("p = %d, p+1 = %f\n", *p, *(p + 1));
  printf("%d ", p);
  printf("%d ", p);
  printf("\nmalloc one-dimensional array:\n");
  for (i = 0; i < 5; i++) {
    array[i] = i + 1;
    printf("%4.2f\t", array[i]);
  }
  pm = &array[5 - 3];
  printf("pm = %4.1f\n", *(pm + 1));
  free(array);
  printf("\nmalloc two-dimensional array:\n");
  arr = (int **)malloc(5 * sizeof(int *));
  for (i = 0; i < 5; i++) {
    arr[i] = (int *)malloc((*p) * sizeof(int));
    for (j = 0; j < (*p); j++) {
      arr[i][j] = i + j + 1;
      printf("%-4d", arr[i][j]);
    }
    printf("\n");
  }
  for (i = 0; i < 5; i++) {
    free(arr[i]);
  }
  free(arr);
  printf("%ld %f", arr, arr);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    $0x4,%edi
call   1050 <malloc@plt>
mov    %rax,-0x8(%rbp)
mov    $0x14,%edi
call   1050 <malloc@plt>
mov    %rax,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movl   $0xd,(%rax)
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edx
lea    0xe8e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x8(%rbp),%rsi
lea    0xe8e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x8(%rbp),%rsi
lea    0xe7c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe72(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x24(%rbp)
cmpl   $0x5,-0x24(%rbp)
jge    1200 <main+0xd0>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
cvtsi2ss %eax,%xmm0
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe4b(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    11b2 <main+0x82>
mov    -0x10(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
movss  0x4(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe1d(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    -0x10(%rbp),%rdi
call   1030 <free@plt>
lea    0xe12(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x28,%edi
call   1050 <malloc@plt>
mov    %rax,-0x20(%rbp)
movl   $0x0,-0x24(%rbp)
cmpl   $0x5,-0x24(%rbp)
jge    12f9 <main+0x1c9>
mov    -0x8(%rbp),%rax
movslq (%rax),%rdi
shl    $0x2,%rdi
call   1050 <malloc@plt>
mov    %rax,%rdx
mov    -0x20(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
mov    -0x8(%rbp),%rcx
cmp    (%rcx),%eax
jge    12dd <main+0x1ad>
mov    -0x24(%rbp),%edx
add    -0x28(%rbp),%edx
add    $0x1,%edx
mov    -0x20(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x28(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x20(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x28(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xda1(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    1283 <main+0x153>
lea    0xd50(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1253 <main+0x123>
movl   $0x0,-0x24(%rbp)
cmpl   $0x5,-0x24(%rbp)
jge    1329 <main+0x1f9>
mov    -0x20(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
call   1030 <free@plt>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1300 <main+0x1d0>
mov    -0x20(%rbp),%rdi
call   1030 <free@plt>
mov    -0x20(%rbp),%rsi
mov    -0x20(%rbp),%rdx
lea    0xd2d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    $0x4,%edi
call   1070 <malloc@plt>
mov    %rax,%rbp
movl   $0xd,(%rax)
lea    0xeb3(%rip),%rdi
mov    $0xd,%esi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xeb2(%rip),%r14
mov    %r14,%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r14,%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xeb4(%rip),%rdi
call   1050 <puts@plt>
lea    0xe89(%rip),%r14
movsd  0xe43(%rip),%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
movsd  0xe39(%rip),%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
movsd  0xe2f(%rip),%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
movsd  0xe25(%rip),%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
movsd  0xe1b(%rip),%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1060 <printf@plt>
lea    0xe2f(%rip),%rdi
movsd  0xdfa(%rip),%xmm0
mov    $0x1,%al
call   1060 <printf@plt>
lea    0xe50(%rip),%rdi
call   1050 <puts@plt>
mov    $0x28,%edi
call   1070 <malloc@plt>
mov    %rax,%r14
movslq 0x0(%rbp),%rbx
lea    0x0(,%rbx,4),%rdi
call   1070 <malloc@plt>
mov    %rax,%r15
mov    %rax,(%r14)
test   %rbx,%rbx
jle    1290 <main+0x140>
lea    0xdf0(%rip),%r12
xor    %eax,%eax
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
lea    0x1(%rax),%rbx
mov    %ebx,(%r15,%rax,4)
mov    %r12,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1060 <printf@plt>
movslq 0x0(%rbp),%rcx
mov    %rbx,%rax
cmp    %rcx,%rbx
jl     1270 <main+0x120>
mov    $0xa,%edi
call   1040 <putchar@plt>
movslq 0x0(%rbp),%rbx
lea    0x0(,%rbx,4),%rdi
call   1070 <malloc@plt>
mov    %rax,%r12
mov    %rax,0x8(%r14)
test   %rbx,%rbx
jle    12de <main+0x18e>
lea    0xd93(%rip),%r13
xor    %ebx,%ebx
lea    0x2(%rbx),%esi
mov    %esi,(%r12,%rbx,4)
mov    %r13,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
add    $0x1,%rbx
movslq 0x0(%rbp),%rax
cmp    %rax,%rbx
jl     12c0 <main+0x170>
mov    $0xa,%edi
call   1040 <putchar@plt>
cmpl   $0x0,0x0(%rbp)
jle    131a <main+0x1ca>
lea    0xd5c(%rip),%r13
xor    %ebx,%ebx
nopw   0x0(%rax,%rax,1)
lea    0x3(%rbx),%esi
mov    %r13,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
add    $0x1,%rbx
movslq 0x0(%rbp),%rax
cmp    %rax,%rbx
jl     1300 <main+0x1b0>
mov    $0xa,%edi
call   1040 <putchar@plt>
cmpl   $0x0,0x0(%rbp)
jle    135a <main+0x20a>
lea    0xd20(%rip),%r13
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
lea    0x4(%rbx),%esi
mov    %r13,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
add    $0x1,%rbx
movslq 0x0(%rbp),%rax
cmp    %rax,%rbx
jl     1340 <main+0x1f0>
mov    $0xa,%edi
call   1040 <putchar@plt>
cmpl   $0x0,0x0(%rbp)
jle    139a <main+0x24a>
lea    0xce0(%rip),%r13
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
lea    0x5(%rbx),%esi
mov    %r13,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
add    $0x1,%rbx
movslq 0x0(%rbp),%rax
cmp    %rax,%rbx
jl     1380 <main+0x230>
mov    $0xa,%edi
call   1040 <putchar@plt>
mov    %r15,%rdi
call   1030 <free@plt>
mov    %r12,%rdi
call   1030 <free@plt>
mov    %r14,%rdi
call   1030 <free@plt>
lea    0xc93(%rip),%rdi
mov    %r14,%rsi
mov    %r14,%rdx
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1060 <printf@plt>

LLVM IR (-O0):
@.str = [18 x i8] c"p = %d, p+1 = %f\0A\00"
@.str.1 = [4 x i8] c"%d \00"
@.str.2 = [32 x i8] c"\0Amalloc one-dimensional array:\0A\00"
@.str.3 = [7 x i8] c"%4.2f\09\00"
@.str.4 = [12 x i8] c"pm = %4.1f\0A\00"
@.str.5 = [32 x i8] c"\0Amalloc two-dimensional array:\0A\00"
@.str.6 = [5 x i8] c"%-4d\00"
@.str.7 = [2 x i8] c"\0A\00"
@.str.8 = [7 x i8] c"%ld %f\00"
define void @main() {
%1 = alloca i32*
%2 = alloca float*
%3 = alloca float*
%4 = alloca i32**
%5 = alloca i32
%6 = alloca i32
%7 = call i8* @malloc(i64 4)
%8 = bitcast i8* %7 to i32*
store i32* %8, i32** %1
%9 = call i8* @malloc(i64 20)
%10 = bitcast i8* %9 to float*
store float* %10, float** %2
%11 = load i32*, i32** %1
store i32 13, i32* %11
%12 = load i32*, i32** %1
%13 = load i32, i32* %12
%14 = load i32*, i32** %1
%15 = getelementptr inbounds i32, i32* %14, i64 1
%16 = load i32, i32* %15
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i32 %13, i32 %16)
%18 = load i32*, i32** %1
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32* %18)
%20 = load i32*, i32** %1
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32* %20)
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %5
br label %23
23: ; preds = %41, %0
%24 = load i32, i32* %5
%25 = icmp slt i32 %24, 5
br i1 %25, label %26, label %44
26: ; preds = %23
%27 = load i32, i32* %5
%28 = add nsw i32 %27, 1
%29 = sitofp i32 %28 to float
%30 = load float*, float** %2
%31 = load i32, i32* %5
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds float, float* %30, i64 %32
store float %29, float* %33
%34 = load float*, float** %2
%35 = load i32, i32* %5
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds float, float* %34, i64 %36
%38 = load float, float* %37
%39 = fpext float %38 to double
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), double %39)
br label %41
41: ; preds = %26
%42 = load i32, i32* %5
%43 = add nsw i32 %42, 1
store i32 %43, i32* %5
br label %23
44: ; preds = %23
%45 = load float*, float** %2
%46 = getelementptr inbounds float, float* %45, i64 2
store float* %46, float** %3
%47 = load float*, float** %3
%48 = getelementptr inbounds float, float* %47, i64 1
%49 = load float, float* %48
%50 = fpext float %49 to double
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), double %50)
%52 = load float*, float** %2
%53 = bitcast float* %52 to i8*
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.5, i64 0, i64 0))
%55 = call i8* @malloc(i64 40)
%56 = bitcast i8* %55 to i32**
store i32** %56, i32*** %4
store i32 0, i32* %5
br label %57
57: ; preds = %104, %44
%58 = load i32, i32* %5
%59 = icmp slt i32 %58, 5
br i1 %59, label %60, label %107
60: ; preds = %57
%61 = load i32*, i32** %1
%62 = load i32, i32* %61
%63 = sext i32 %62 to i64
%64 = mul i64 %63, 4
%65 = call i8* @malloc(i64 %64)
%66 = bitcast i8* %65 to i32*
%67 = load i32**, i32*** %4
%68 = load i32, i32* %5
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32*, i32** %67, i64 %69
store i32* %66, i32** %70
store i32 0, i32* %6
br label %71
71: ; preds = %99, %60
%72 = load i32, i32* %6
%73 = load i32*, i32** %1
%74 = load i32, i32* %73
%75 = icmp slt i32 %72, %74
br i1 %75, label %76, label %102
76: ; preds = %71
%77 = load i32, i32* %5
%78 = load i32, i32* %6
%79 = add nsw i32 %77, %78
%80 = add nsw i32 %79, 1
%81 = load i32**, i32*** %4
%82 = load i32, i32* %5
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i32*, i32** %81, i64 %83
%85 = load i32*, i32** %84
%86 = load i32, i32* %6
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i32, i32* %85, i64 %87
store i32 %80, i32* %88
%89 = load i32**, i32*** %4
%90 = load i32, i32* %5
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i32*, i32** %89, i64 %91
%93 = load i32*, i32** %92
%94 = load i32, i32* %6
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i32, i32* %93, i64 %95
%97 = load i32, i32* %96
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 %97)
br label %99
99: ; preds = %76
%100 = load i32, i32* %6
%101 = add nsw i32 %100, 1
store i32 %101, i32* %6
br label %71
102: ; preds = %71
%103 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
br label %104
104: ; preds = %102
%105 = load i32, i32* %5
%106 = add nsw i32 %105, 1
store i32 %106, i32* %5
br label %57
107: ; preds = %57
store i32 0, i32* %5
br label %108
108: ; preds = %118, %107
%109 = load i32, i32* %5
%110 = icmp slt i32 %109, 5
br i1 %110, label %111, label %121
111: ; preds = %108
%112 = load i32**, i32*** %4
%113 = load i32, i32* %5
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i32*, i32** %112, i64 %114
%116 = load i32*, i32** %115
%117 = bitcast i32* %116 to i8*
br label %118
118: ; preds = %111
%119 = load i32, i32* %5
%120 = add nsw i32 %119, 1
store i32 %120, i32* %5
br label %108
121: ; preds = %108
%122 = load i32**, i32*** %4
%123 = bitcast i32** %122 to i8*
%124 = load i32**, i32*** %4
%125 = load i32**, i32*** %4
%126 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), i32** %124, i32** %125)
ret void
}

LLVM IR (-O2):
@.str = [18 x i8] c"p = %d, p+1 = %f\0A\00"
@.str.1 = [4 x i8] c"%d \00"
@.str.3 = [7 x i8] c"%4.2f\09\00"
@.str.4 = [12 x i8] c"pm = %4.1f\0A\00"
@.str.6 = [5 x i8] c"%-4d\00"
@.str.8 = [7 x i8] c"%ld %f\00"
@str = [31 x i8] c"\0Amalloc one-dimensional array:\00"
@str.9 = [31 x i8] c"\0Amalloc two-dimensional array:\00"
define void @main() {
%1 = tail call dereferenceable_or_null(4) i8* @malloc(i64 4)
%2 = bitcast i8* %1 to i32*
store i32 13, i32* %2
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i32 13, i32 undef)
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %1)
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %1)
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str, i64 0, i64 0))
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), double 1.000000e+00)
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), double 2.000000e+00)
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), double 3.000000e+00)
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), double 4.000000e+00)
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), double 5.000000e+00)
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), double 4.000000e+00)
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.9, i64 0, i64 0))
%14 = tail call dereferenceable_or_null(40) i8* @malloc(i64 40)
%15 = bitcast i8* %14 to i32**
%16 = load i32, i32* %2
%17 = sext i32 %16 to i64
%18 = shl nsw i64 %17, 2
%19 = tail call i8* @malloc(i64 %18)
%20 = bitcast i8* %14 to i8**
store i8* %19, i8** %20
%21 = icmp sgt i32 %16, 0
%22 = bitcast i8* %19 to i32*
br i1 %21, label %23, label %32
23: ; preds = %0, %23
%24 = phi i64 [ %25, %23 ], [ 0, %0 ]
%25 = add nuw nsw i64 %24, 1
%26 = getelementptr inbounds i32, i32* %22, i64 %24
%27 = trunc i64 %25 to i32
store i32 %27, i32* %26
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 %27)
%29 = load i32, i32* %2
%30 = sext i32 %29 to i64
%31 = icmp slt i64 %25, %30
br i1 %31, label %23, label %32
32: ; preds = %23, %0
%33 = tail call i32 @putchar(i32 10)
%34 = load i32, i32* %2
%35 = sext i32 %34 to i64
%36 = shl nsw i64 %35, 2
%37 = tail call i8* @malloc(i64 %36)
%38 = getelementptr inbounds i32*, i32** %15, i64 1
%39 = bitcast i32** %38 to i8**
store i8* %37, i8** %39
%40 = icmp sgt i32 %34, 0
%41 = bitcast i8* %37 to i32*
br i1 %40, label %42, label %52
42: ; preds = %32, %42
%43 = phi i64 [ %48, %42 ], [ 0, %32 ]
%44 = getelementptr inbounds i32, i32* %41, i64 %43
%45 = trunc i64 %43 to i32
%46 = add i32 %45, 2
store i32 %46, i32* %44
%47 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 %46)
%48 = add nuw nsw i64 %43, 1
%49 = load i32, i32* %2
%50 = sext i32 %49 to i64
%51 = icmp slt i64 %48, %50
br i1 %51, label %42, label %52
52: ; preds = %42, %32
%53 = tail call i32 @putchar(i32 10)
%54 = load i32, i32* %2
%55 = icmp sgt i32 %54, 0
br i1 %55, label %56, label %65
56: ; preds = %52, %56
%57 = phi i64 [ %61, %56 ], [ 0, %52 ]
%58 = trunc i64 %57 to i32
%59 = add i32 %58, 3
%60 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 %59)
%61 = add nuw nsw i64 %57, 1
%62 = load i32, i32* %2
%63 = sext i32 %62 to i64
%64 = icmp slt i64 %61, %63
br i1 %64, label %56, label %65
65: ; preds = %56, %52
%66 = tail call i32 @putchar(i32 10)
%67 = load i32, i32* %2
%68 = icmp sgt i32 %67, 0
br i1 %68, label %69, label %78
69: ; preds = %65, %69
%70 = phi i64 [ %74, %69 ], [ 0, %65 ]
%71 = trunc i64 %70 to i32
%72 = add i32 %71, 4
%73 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 %72)
%74 = add nuw nsw i64 %70, 1
%75 = load i32, i32* %2
%76 = sext i32 %75 to i64
%77 = icmp slt i64 %74, %76
br i1 %77, label %69, label %78
78: ; preds = %69, %65
%79 = tail call i32 @putchar(i32 10)
%80 = load i32, i32* %2
%81 = icmp sgt i32 %80, 0
br i1 %81, label %82, label %91
82: ; preds = %78, %82
%83 = phi i64 [ %87, %82 ], [ 0, %78 ]
%84 = trunc i64 %83 to i32
%85 = add i32 %84, 5
%86 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i32 %85)
%87 = add nuw nsw i64 %83, 1
%88 = load i32, i32* %2
%89 = sext i32 %88 to i64
%90 = icmp slt i64 %87, %89
br i1 %90, label %82, label %91
91: ; preds = %82, %78
%92 = tail call i32 @putchar(i32 10)
tail call void @free(i8* %19)
tail call void @free(i8* %37)
tail call void @free(i8* %14)
%93 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), i8* %14, i8* %14)
ret void
}