#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 *, ...);
void printmat3(const int dim, double *mat) {
  const int ncols = 16;
  int i, j, k;
  int nblocks, nlast;
  nblocks = dim / ncols;
  nlast = dim % ncols;
  for (i = 0; i < nblocks; ++i) {
    printf("    ");
    for (k = 0; k < ncols; ++k)
      printf("%13d", k + i * ncols);
    printf("\n");
    for (j = 0; j < dim; ++j) {
      printf(" %3d", j);
      for (k = 0; k < ncols; ++k)
        printf(" %+12.5e", mat[j * dim + k + i * ncols]);
      printf("\n");
    }
    printf("\n");
  }
  if (nlast > 0) {
    printf("    ");
    for (k = 0; k < nlast; ++k)
      printf("%13d", k + nblocks * ncols);
    printf("\n");
    for (j = 0; j < dim; ++j) {
      printf(" %3d", j);
      for (k = 0; k < nlast; ++k)
        printf(" %+12.5e", mat[j * dim + k + nblocks * ncols]);
      printf("\n");
    }
  }
  return;
}


x86 assembly (clang, -O0):
<printmat3>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x10,-0x14(%rbp)
mov    -0x4(%rbp),%eax
mov    $0x10,%ecx
cltd
idiv   %ecx
mov    %eax,-0x24(%rbp)
mov    -0x4(%rbp),%eax
mov    $0x10,%ecx
cltd
idiv   %ecx
mov    %edx,-0x28(%rbp)
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    1250 <printmat3+0x140>
lea    0xea4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x20(%rbp)
cmpl   $0x10,-0x20(%rbp)
jge    119b <printmat3+0x8b>
mov    -0x20(%rbp),%esi
mov    -0x18(%rbp),%eax
shl    $0x4,%eax
add    %eax,%esi
lea    0xe7f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    116a <printmat3+0x5a>
lea    0xe68(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    1234 <printmat3+0x124>
mov    -0x1c(%rbp),%esi
lea    0xe46(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x20(%rbp)
cmpl   $0x10,-0x20(%rbp)
jge    1218 <printmat3+0x108>
mov    -0x10(%rbp),%rax
mov    -0x1c(%rbp),%ecx
imul   -0x4(%rbp),%ecx
add    -0x20(%rbp),%ecx
mov    -0x18(%rbp),%edx
shl    $0x4,%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
lea    0xe0e(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    11d4 <printmat3+0xc4>
lea    0xdeb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    11b0 <printmat3+0xa0>
lea    0xdcf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1149 <printmat3+0x39>
cmpl   $0x0,-0x28(%rbp)
jle    1342 <printmat3+0x232>
lea    0xd9f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    12a2 <printmat3+0x192>
mov    -0x20(%rbp),%esi
mov    -0x24(%rbp),%eax
shl    $0x4,%eax
add    %eax,%esi
lea    0xd78(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    126f <printmat3+0x15f>
lea    0xd61(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    133d <printmat3+0x22d>
mov    -0x1c(%rbp),%esi
lea    0xd3f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    1321 <printmat3+0x211>
mov    -0x10(%rbp),%rax
mov    -0x1c(%rbp),%ecx
imul   -0x4(%rbp),%ecx
add    -0x20(%rbp),%ecx
mov    -0x24(%rbp),%edx
shl    $0x4,%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
lea    0xd05(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    12db <printmat3+0x1cb>
lea    0xce2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    12b7 <printmat3+0x1a7>
jmp    1342 <printmat3+0x232>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<printmat3>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %rsi,%rbx
lea    0xf(%rdi),%eax
test   %edi,%edi
cmovns %edi,%eax
mov    %eax,%r15d
sar    $0x4,%r15d
and    $0xfffffff0,%eax
mov    %edi,%ecx
sub    %eax,%ecx
mov    %ecx,0xc(%rsp)
mov    %rdi,0x10(%rsp)
cmp    $0x10,%edi
jl     1433 <printmat3+0x313>
mov    0x10(%rsp),%r12d
lea    0xeaa(%rip),%rbp
xor    %r14d,%r14d
xor    %r13d,%r13d
mov    %r15d,0x8(%rsp)
lea    0xe89(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13d,0x24(%rsp)
mov    %r13d,%r15d
shl    $0x4,%r15d
lea    0xe74(%rip),%r13
mov    %r13,%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1(%r15),%esi
mov    %r13,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x2(%r15),%esi
mov    %r13,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x3(%r15),%esi
mov    %r13,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x4(%r15),%esi
mov    %r13,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x5(%r15),%esi
mov    %r13,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x6(%r15),%esi
mov    %r13,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x7(%r15),%esi
mov    %r13,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x8(%r15),%esi
mov    %r13,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x9(%r15),%esi
mov    %r13,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xa(%r15),%esi
mov    %r13,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xb(%r15),%esi
mov    %r13,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xc(%r15),%esi
mov    %r13,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xd(%r15),%esi
mov    %r13,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe(%r15),%esi
mov    %r13,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
or     $0xf,%r15d
mov    %r13,%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r14d,0x18(%rsp)
mov    %r14d,%r13d
xor    %r15d,%r15d
mov    0x10(%rsp),%r14
nopl   (%rax)
lea    0xd73(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
movslq %r13d,%r13
movsd  (%rbx,%r13,8),%xmm0
mov    %rbp,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0x1(%r13),%eax
cltq
movsd  (%rbx,%rax,8),%xmm0
mov    %rbp,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0x2(%r13),%eax
cltq
movsd  (%rbx,%rax,8),%xmm0
mov    %rbp,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0x3(%r13),%eax
cltq
movsd  (%rbx,%rax,8),%xmm0
mov    %rbp,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0x4(%r13),%eax
cltq
movsd  (%rbx,%rax,8),%xmm0
mov    %rbp,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0x5(%r13),%eax
cltq
movsd  (%rbx,%rax,8),%xmm0
mov    %rbp,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0x6(%r13),%eax
cltq
movsd  (%rbx,%rax,8),%xmm0
mov    %rbp,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0x7(%r13),%eax
cltq
movsd  (%rbx,%rax,8),%xmm0
mov    %rbp,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0x8(%r13),%eax
cltq
movsd  (%rbx,%rax,8),%xmm0
mov    %rbp,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0x9(%r13),%eax
cltq
movsd  (%rbx,%rax,8),%xmm0
mov    %rbp,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xa(%r13),%eax
cltq
movsd  (%rbx,%rax,8),%xmm0
mov    %rbp,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xb(%r13),%eax
cltq
movsd  (%rbx,%rax,8),%xmm0
mov    %rbp,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xc(%r13),%eax
cltq
movsd  (%rbx,%rax,8),%xmm0
mov    %rbp,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xd(%r13),%eax
cltq
movsd  (%rbx,%rax,8),%xmm0
mov    %rbp,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xe(%r13),%eax
cltq
movsd  (%rbx,%rax,8),%xmm0
mov    %rbp,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xf(%r13),%eax
cltq
movsd  (%rbx,%rax,8),%xmm0
mov    %rbp,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1,%r15
add    %r14d,%r13d
cmp    %r15,%r12
jne    1290 <printmat3+0x170>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x24(%rsp),%r13d
add    $0x1,%r13d
mov    0x18(%rsp),%r14d
add    $0x10,%r14d
mov    0x8(%rsp),%r15d
cmp    %r15d,%r13d
jne    1170 <printmat3+0x50>
mov    0xc(%rsp),%r12d
test   %r12d,%r12d
mov    0x10(%rsp),%r14
jle    1508 <printmat3+0x3e8>
lea    0xbb3(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
shl    $0x4,%r15d
mov    %r15d,%ebp
lea    0xba3(%rip),%r15
mov    %ebp,%r13d
cs nopw 0x0(%rax,%rax,1)
nop
mov    %r15,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%ebp
add    $0xffffffff,%r12d
jne    1470 <printmat3+0x350>
mov    $0xa,%edi
call   1030 <putchar@plt>
test   %r14d,%r14d
mov    0xc(%rsp),%eax
jle    1508 <printmat3+0x3e8>
mov    %r13d,%r15d
mov    %eax,%eax
mov    %rax,0x18(%rsp)
lea    0xb66(%rip),%rbp
xor    %r12d,%r12d
nopl   0x0(%rax)
lea    0xb53(%rip),%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x18(%rsp),%r13
mov    %r15d,0x8(%rsp)
nopl   0x0(%rax,%rax,1)
movslq %r15d,%r15
movsd  (%rbx,%r15,8),%xmm0
mov    %rbp,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
add    $0x1,%r15d
add    $0xffffffffffffffff,%r13
jne    14d0 <printmat3+0x3b0>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1,%r12d
mov    0x8(%rsp),%r15d
add    %r14d,%r15d
cmp    %r14d,%r12d
jne    14b0 <printmat3+0x390>
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@.str = [5 x i8] c" \00"
@.str.1 = [5 x i8] c"%13d\00"
@.str.3 = [5 x i8] c" %3d\00"
@.str.4 = [9 x i8] c" %+12.5e\00"
define void @printmat3(i32 %0, double* nocapture %1) {
%3 = sdiv i32 %0, 16
%4 = srem i32 %0, 16
%5 = icmp sgt i32 %0, 15
br i1 %5, label %6, label %137
6: ; preds = %2
%7 = zext i32 %0 to i64
br label %8
8: ; preds = %133, %6
%9 = phi i32 [ 0, %6 ], [ %135, %133 ]
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%11 = shl nsw i32 %9, 4
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %11)
%13 = or i32 %11, 1
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %13)
%15 = or i32 %11, 2
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %15)
%17 = or i32 %11, 3
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %17)
%19 = or i32 %11, 4
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %19)
%21 = or i32 %11, 5
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %21)
%23 = or i32 %11, 6
%24 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %23)
%25 = or i32 %11, 7
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %25)
%27 = or i32 %11, 8
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %27)
%29 = or i32 %11, 9
%30 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %29)
%31 = or i32 %11, 10
%32 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %31)
%33 = or i32 %11, 11
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %33)
%35 = or i32 %11, 12
%36 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %35)
%37 = or i32 %11, 13
%38 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %37)
%39 = or i32 %11, 14
%40 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %39)
%41 = or i32 %11, 15
%42 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %41)
%43 = tail call i32 @putchar(i32 10)
br label %44
44: ; preds = %8, %44
%45 = phi i64 [ 0, %8 ], [ %131, %44 ]
%46 = trunc i64 %45 to i32
%47 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i32 %46)
%48 = trunc i64 %45 to i32
%49 = mul i32 %48, %0
%50 = add i32 %49, %11
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double, double* %1, i64 %51
%53 = load double, double* %52
%54 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), double %53)
%55 = add i32 %50, 1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds double, double* %1, i64 %56
%58 = load double, double* %57
%59 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), double %58)
%60 = add i32 %50, 2
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, double* %1, i64 %61
%63 = load double, double* %62
%64 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), double %63)
%65 = add i32 %50, 3
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds double, double* %1, i64 %66
%68 = load double, double* %67
%69 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), double %68)
%70 = add i32 %50, 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds double, double* %1, i64 %71
%73 = load double, double* %72
%74 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), double %73)
%75 = add i32 %50, 5
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, double* %1, i64 %76
%78 = load double, double* %77
%79 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), double %78)
%80 = add i32 %50, 6
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds double, double* %1, i64 %81
%83 = load double, double* %82
%84 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), double %83)
%85 = add i32 %50, 7
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds double, double* %1, i64 %86
%88 = load double, double* %87
%89 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), double %88)
%90 = add i32 %50, 8
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds double, double* %1, i64 %91
%93 = load double, double* %92
%94 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), double %93)
%95 = add i32 %50, 9
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds double, double* %1, i64 %96
%98 = load double, double* %97
%99 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), double %98)
%100 = add i32 %50, 10
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds double, double* %1, i64 %101
%103 = load double, double* %102
%104 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), double %103)
%105 = add i32 %50, 11
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds double, double* %1, i64 %106
%108 = load double, double* %107
%109 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), double %108)
%110 = add i32 %50, 12
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds double, double* %1, i64 %111
%113 = load double, double* %112
%114 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), double %113)
%115 = add i32 %50, 13
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds double, double* %1, i64 %116
%118 = load double, double* %117
%119 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), double %118)
%120 = add i32 %50, 14
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds double, double* %1, i64 %121
%123 = load double, double* %122
%124 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), double %123)
%125 = add i32 %50, 15
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds double, double* %1, i64 %126
%128 = load double, double* %127
%129 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), double %128)
%130 = tail call i32 @putchar(i32 10)
%131 = add nuw nsw i64 %45, 1
%132 = icmp eq i64 %131, %7
br i1 %132, label %133, label %44
133: ; preds = %44
%134 = tail call i32 @putchar(i32 10)
%135 = add nuw i32 %9, 1
%136 = icmp eq i32 %135, %3
br i1 %136, label %137, label %8
137: ; preds = %133, %2
%138 = icmp sgt i32 %4, 0
br i1 %138, label %139, label %172
139: ; preds = %137
%140 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%141 = shl nsw i32 %3, 4
br label %142
142: ; preds = %139, %142
%143 = phi i32 [ 0, %139 ], [ %146, %142 ]
%144 = add nuw nsw i32 %143, %141
%145 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %144)
%146 = add nuw nsw i32 %143, 1
%147 = icmp eq i32 %146, %4
br i1 %147, label %148, label %142
148: ; preds = %142
%149 = tail call i32 @putchar(i32 10)
%150 = icmp sgt i32 %0, 0
br i1 %150, label %151, label %172
151: ; preds = %148
%152 = zext i32 %4 to i64
br label %153
153: ; preds = %168, %151
%154 = phi i32 [ 0, %151 ], [ %170, %168 ]
%155 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i32 %154)
%156 = mul nsw i32 %154, %0
%157 = add i32 %156, %141
br label %158
158: ; preds = %153, %158
%159 = phi i64 [ 0, %153 ], [ %166, %158 ]
%160 = trunc i64 %159 to i32
%161 = add i32 %157, %160
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds double, double* %1, i64 %162
%164 = load double, double* %163
%165 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), double %164)
%166 = add nuw nsw i64 %159, 1
%167 = icmp eq i64 %166, %152
br i1 %167, label %168, label %158
168: ; preds = %158
%169 = tail call i32 @putchar(i32 10)
%170 = add nuw nsw i32 %154, 1
%171 = icmp eq i32 %170, %0
br i1 %171, label %172, label %153
172: ; preds = %168, %148, %137
ret void
}