#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 *, ...);
int /*<<< orphan*/ scanf(char *, int *);
void main() {
  int r1, c1, r2, c2, i, j, ctr = 0, k;
  int a[10][10], b[10][10], c[10][10];
  printf("Enter the number or rows and columns.\n");
  scanf("%d", &r1);
  scanf("%d", &c1);
  printf("enter the elements of the matrix. Row-wise\n");
  for (i = 0; i < r1; i++)
    for (j = 0; j < c1; j++)
      scanf("%d", &a[i][j]);
  printf("Enter the number or rows and columns.\n");
  scanf("%d", &r2);
  scanf("%d", &c2);
  printf("enter the elements of the matrix. Row-wise\n");
  for (i = 0; i < r2; i++)
    for (j = 0; j < c2; j++)
      scanf("%d", &b[i][j]);
  printf("Given matrices are\n");
  for (i = 0; i < r1; i++) {
    for (j = 0; j < c1; j++) {
      printf("%d\t", a[i][j]);
    }
    printf("\n");
  }
  printf("\n");
  for (i = 0; i < r2; i++) {
    for (j = 0; j < c2; j++) {
      printf("%d\t", b[i][j]);
    }
    printf("\n");
  }
  printf("\n");
  printf("Transpose of a matrix\n");
  for (j = 0; j < c1; j++) {
    for (i = 0; i < r1; i++) {
      printf("%d\t", a[i][j]);
    }
    printf("\n");
  }
  printf("Trace of a Matrix\n");
  if (c1 == r1) {
    for (i = 0; i < c1; ++i) {
      ctr += a[i][i];
    }
    printf("%d\n", ctr);
  } else {
    printf("Trace not possible.\n");
  }
  ctr = 0;
  printf("Product of 2 matrices.\n");
  if (c1 != r2) {
    printf("Multiplication not possible.\n");
  } else {
    for (i = 0; i < r1; ++i) {
      for (j = 0; j < c2; ++j) {
        c[i][j] = 0;
      }
    }
    for (i = 0; i < r1; i++) {
      for (j = 0; j < c2; j++) {
        ctr = 0;
        for (k = 0; k < c1; k++)
          ctr += a[i][k] * b[k][j];
        c[i][j] = ctr;
      }
    }
    for (i = 0; i < r1; ++i) {
      for (j = 0; j < c2; ++j) {
        printf("%d\t", c[i][j]);
      }
      printf("\n");
    }
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x4d0,%rsp
movl   $0x0,-0x1c(%rbp)
lea    0xec7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xee0(%rip),%rdi
lea    -0x4(%rbp),%rsi
call   1040 <scanf@plt>
lea    0xed0(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1040 <scanf@plt>
lea    0xec3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    11de <main+0xbe>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    11cb <main+0xab>
movslq -0x14(%rbp),%rax
lea    -0x1b0(%rbp),%rsi
imul   $0x28,%rax,%rax
add    %rax,%rsi
movslq -0x18(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xe6f(%rip),%rdi
call   1040 <scanf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1188 <main+0x68>
jmp    11d0 <main+0xb0>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1175 <main+0x55>
lea    0xe1b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe34(%rip),%rdi
lea    -0xc(%rbp),%rsi
call   1040 <scanf@plt>
lea    0xe24(%rip),%rdi
lea    -0x10(%rbp),%rsi
call   1040 <scanf@plt>
lea    0xe17(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    128a <main+0x16a>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    1277 <main+0x157>
movslq -0x14(%rbp),%rax
lea    -0x340(%rbp),%rsi
imul   $0x28,%rax,%rax
add    %rax,%rsi
movslq -0x18(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xdc3(%rip),%rdi
call   1040 <scanf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1234 <main+0x114>
jmp    127c <main+0x15c>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1221 <main+0x101>
lea    0xdc5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    130f <main+0x1ef>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    12f3 <main+0x1d3>
movslq -0x14(%rbp),%rcx
lea    -0x1b0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xd8c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    12b2 <main+0x192>
lea    0xdb5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    129f <main+0x17f>
lea    0xd99(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1394 <main+0x274>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    1378 <main+0x258>
movslq -0x14(%rbp),%rcx
lea    -0x340(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xd07(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1337 <main+0x217>
lea    0xd30(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1324 <main+0x204>
lea    0xd14(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xcc5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1427 <main+0x307>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    140b <main+0x2eb>
movslq -0x14(%rbp),%rcx
lea    -0x1b0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xc74(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    13ca <main+0x2aa>
lea    0xc9d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    13b7 <main+0x297>
lea    0xc57(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
cmp    -0x4(%rbp),%eax
jne    1497 <main+0x377>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1481 <main+0x361>
movslq -0x14(%rbp),%rcx
lea    -0x1b0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
add    -0x1c(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1448 <main+0x328>
mov    -0x1c(%rbp),%esi
lea    0xc0d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    14a5 <main+0x385>
lea    0xbfe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x1c(%rbp)
lea    0xbfe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
je     14d9 <main+0x3b9>
lea    0xbfc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    167d <main+0x55d>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    153d <main+0x41d>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    152a <main+0x40a>
movslq -0x14(%rbp),%rcx
lea    -0x4d0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x18(%rbp),%rcx
movl   $0x0,(%rax,%rcx,4)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    14f3 <main+0x3d3>
jmp    152f <main+0x40f>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    14e0 <main+0x3c0>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    1601 <main+0x4e1>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    15ee <main+0x4ce>
movl   $0x0,-0x1c(%rbp)
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    15c4 <main+0x4a4>
movslq -0x14(%rbp),%rcx
lea    -0x1b0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x20(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
movslq -0x20(%rbp),%rdx
lea    -0x340(%rbp),%rcx
imul   $0x28,%rdx,%rdx
add    %rdx,%rcx
movslq -0x18(%rbp),%rdx
imul   (%rcx,%rdx,4),%eax
add    -0x1c(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1571 <main+0x451>
mov    -0x1c(%rbp),%edx
movslq -0x14(%rbp),%rcx
lea    -0x4d0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x18(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1557 <main+0x437>
jmp    15f3 <main+0x4d3>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1544 <main+0x424>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    1678 <main+0x558>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    165c <main+0x53c>
movslq -0x14(%rbp),%rcx
lea    -0x4d0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xa23(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    161b <main+0x4fb>
lea    0xa4c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1608 <main+0x4e8>
jmp    167d <main+0x55d>
add    $0x4d0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x4d8,%rsp
lea    0xea3(%rip),%rdi
call   1040 <puts@plt>
lea    0xe8c(%rip),%rbx
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1070 <scanf@plt>
lea    0x8(%rsp),%rsi
mov    %rbx,%rdi
call   1070 <scanf@plt>
lea    0xe9e(%rip),%rdi
call   1040 <puts@plt>
mov    (%rsp),%ecx
test   %ecx,%ecx
jle    1202 <main+0xb2>
lea    0x20(%rsp),%r15
mov    0x8(%rsp),%eax
xor    %r12d,%r12d
lea    0xe4e(%rip),%r14
jmp    11d0 <main+0x80>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
add    $0x1,%r12
movslq %ecx,%rdx
add    $0x28,%r15
cmp    %rdx,%r12
jge    1202 <main+0xb2>
test   %eax,%eax
jle    11c0 <main+0x70>
mov    %r15,%rbx
xor    %ebp,%ebp
nopl   0x0(%rax)
mov    %r14,%rdi
mov    %rbx,%rsi
call   1070 <scanf@plt>
add    $0x1,%rbp
movslq 0x8(%rsp),%rax
add    $0x4,%rbx
cmp    %rax,%rbp
jl     11e0 <main+0x90>
mov    (%rsp),%ecx
jmp    11c0 <main+0x70>
lea    0xe02(%rip),%rdi
call   1040 <puts@plt>
lea    0xdeb(%rip),%rbx
lea    0xc(%rsp),%rsi
mov    %rbx,%rdi
call   1070 <scanf@plt>
lea    0x4(%rsp),%rsi
mov    %rbx,%rdi
call   1070 <scanf@plt>
lea    0xdfb(%rip),%rdi
call   1040 <puts@plt>
mov    0xc(%rsp),%ecx
test   %ecx,%ecx
jle    12a3 <main+0x153>
lea    0x340(%rsp),%r15
mov    0x4(%rsp),%eax
xor    %r12d,%r12d
lea    0xda7(%rip),%r14
jmp    1270 <main+0x120>
nopl   0x0(%rax,%rax,1)
add    $0x1,%r12
movslq %ecx,%rdx
add    $0x28,%r15
cmp    %rdx,%r12
jge    12a3 <main+0x153>
test   %eax,%eax
jle    1260 <main+0x110>
mov    %r15,%rbx
xor    %ebp,%ebp
nopl   0x0(%rax)
mov    %r14,%rdi
mov    %rbx,%rsi
call   1070 <scanf@plt>
add    $0x1,%rbp
movslq 0x4(%rsp),%rax
add    $0x4,%rbx
cmp    %rax,%rbp
jl     1280 <main+0x130>
mov    0xc(%rsp),%ecx
jmp    1260 <main+0x110>
lea    0xdb2(%rip),%rdi
call   1040 <puts@plt>
cmpl   $0x0,(%rsp)
jle    131e <main+0x1ce>
lea    0x20(%rsp),%rbp
lea    0xd42(%rip),%r15
xor    %r14d,%r14d
jmp    12eb <main+0x19b>
cs nopw 0x0(%rax,%rax,1)
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1,%r14
movslq (%rsp),%rax
add    $0x28,%rbp
cmp    %rax,%r14
jge    131e <main+0x1ce>
cmpl   $0x0,0x8(%rsp)
jle    12d0 <main+0x180>
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    0x0(%rbp,%rbx,4),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbx
movslq 0x8(%rsp),%rax
cmp    %rax,%rbx
jl     1300 <main+0x1b0>
jmp    12d0 <main+0x180>
mov    $0xa,%edi
call   1030 <putchar@plt>
cmpl   $0x0,0xc(%rsp)
jle    139e <main+0x24e>
lea    0x340(%rsp),%rbp
lea    0xcc5(%rip),%r15
xor    %r14d,%r14d
jmp    136c <main+0x21c>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1,%r14
movslq 0xc(%rsp),%rax
add    $0x28,%rbp
cmp    %rax,%r14
jge    139e <main+0x24e>
cmpl   $0x0,0x4(%rsp)
jle    1350 <main+0x200>
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nop
mov    0x0(%rbp,%rbx,4),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbx
movslq 0x4(%rsp),%rax
cmp    %rax,%rbx
jl     1380 <main+0x230>
jmp    1350 <main+0x200>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xcc0(%rip),%rdi
call   1040 <puts@plt>
cmpl   $0x0,0x8(%rsp)
jle    1420 <main+0x2d0>
lea    0x20(%rsp),%r14
lea    0xc3c(%rip),%r12
xor    %r15d,%r15d
jmp    13ec <main+0x29c>
nopl   0x0(%rax)
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1,%r15
movslq 0x8(%rsp),%rax
add    $0x4,%r14
cmp    %rax,%r15
jge    1420 <main+0x2d0>
cmpl   $0x0,(%rsp)
jle    13d0 <main+0x280>
mov    %r14,%rbp
xor    %ebx,%ebx
nopw   0x0(%rax,%rax,1)
mov    0x0(%rbp),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbx
movslq (%rsp),%rax
add    $0x28,%rbp
cmp    %rax,%rbx
jl     1400 <main+0x2b0>
jmp    13d0 <main+0x280>
lea    0xc5e(%rip),%rdi
call   1040 <puts@plt>
mov    0x8(%rsp),%eax
cmp    (%rsp),%eax
jne    1447 <main+0x2f7>
test   %eax,%eax
jle    1458 <main+0x308>
cmp    $0x8,%eax
jae    145f <main+0x30f>
xor    %ecx,%ecx
xor    %esi,%esi
jmp    150a <main+0x3ba>
lea    0xc49(%rip),%rdi
call   1040 <puts@plt>
jmp    153a <main+0x3ea>
xor    %esi,%esi
jmp    152c <main+0x3dc>
mov    %eax,%ecx
and    $0xfffffff8,%ecx
mov    %rax,%rdx
shr    $0x3,%rdx
imul   $0x160,%rdx,%rdx
pxor   %xmm0,%xmm0
xor    %esi,%esi
pxor   %xmm1,%xmm1
nopl   0x0(%rax)
movd   0xa4(%rsp,%rsi,1),%xmm2
movd   0x78(%rsp,%rsi,1),%xmm3
punpckldq %xmm2,%xmm3
movd   0x4c(%rsp,%rsi,1),%xmm2
movd   0x20(%rsp,%rsi,1),%xmm4
punpckldq %xmm2,%xmm4
punpcklqdq %xmm3,%xmm4
paddd  %xmm4,%xmm0
movd   0x154(%rsp,%rsi,1),%xmm2
movd   0x128(%rsp,%rsi,1),%xmm3
punpckldq %xmm2,%xmm3
movd   0xfc(%rsp,%rsi,1),%xmm2
movd   0xd0(%rsp,%rsi,1),%xmm4
punpckldq %xmm2,%xmm4
punpcklqdq %xmm3,%xmm4
paddd  %xmm4,%xmm1
add    $0x160,%rsi
cmp    %rsi,%rdx
jne    1480 <main+0x330>
paddd  %xmm0,%xmm1
pshufd $0xee,%xmm1,%xmm0
paddd  %xmm1,%xmm0
pshufd $0x55,%xmm0,%xmm1
paddd  %xmm0,%xmm1
movd   %xmm1,%esi
cmp    %rax,%rcx
je     152c <main+0x3dc>
imul   $0x2c,%rcx,%rdx
add    %rsp,%rdx
add    $0x20,%rdx
sub    %rcx,%rax
nopl   0x0(%rax,%rax,1)
add    (%rdx),%esi
add    $0x2c,%rdx
add    $0xffffffffffffffff,%rax
jne    1520 <main+0x3d0>
lea    0xad4(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xb6a(%rip),%rdi
call   1040 <puts@plt>
mov    0x8(%rsp),%ebx
cmp    0xc(%rsp),%ebx
jne    15de <main+0x48e>
mov    (%rsp),%r12d
test   %r12d,%r12d
jle    15ea <main+0x49a>
mov    0x4(%rsp),%r13d
mov    %r13,%r14
shl    $0x2,%r14
lea    -0x1(%r12),%rax
mov    %r12d,%ecx
and    $0x3,%ecx
mov    %rcx,0x10(%rsp)
cmp    $0x3,%rax
mov    %r12,0x18(%rsp)
jae    183e <main+0x6ee>
xor    %ebp,%ebp
mov    0x10(%rsp),%rcx
test   %rcx,%rcx
je     15fc <main+0x4ac>
lea    0x0(,%rbp,4),%rax
add    %rbp,%rax
lea    (%rsp,%rax,8),%r15
add    $0x1b0,%r15
shl    $0x3,%rcx
lea    (%rcx,%rcx,4),%r12
xor    %ebp,%ebp
jmp    15c9 <main+0x479>
nopw   0x0(%rax,%rax,1)
add    $0x28,%rbp
cmp    %rbp,%r12
je     15fc <main+0x4ac>
test   %r13d,%r13d
jle    15c0 <main+0x470>
lea    (%r15,%rbp,1),%rdi
xor    %esi,%esi
mov    %r14,%rdx
call   1060 <memset@plt>
jmp    15c0 <main+0x470>
lea    0xadd(%rip),%rdi
call   1040 <puts@plt>
add    $0x4d8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x18(%rsp),%r13
test   %r13d,%r13d
jle    15ea <main+0x49a>
mov    0x4(%rsp),%r10d
mov    %ebx,%r8d
and    $0xfffffff8,%r8d
lea    0x30(%rsp),%rdx
lea    0x0(,%rbx,4),%r12
and    $0xffffffffffffffe0,%r12
lea    0x20(%rsp),%rdi
xor    %r11d,%r11d
lea    0x340(%rsp),%r9
jmp    1655 <main+0x505>
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%r11
add    $0x28,%rdx
add    $0x28,%rdi
cmp    %r13,%r11
je     17ca <main+0x67a>
test   %r10d,%r10d
jle    1640 <main+0x4f0>
mov    %r9,%r14
xor    %r15d,%r15d
jmp    1692 <main+0x542>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
xor    %eax,%eax
lea    (%r11,%r11,4),%rcx
lea    (%rsp,%rcx,8),%rcx
add    $0x1b0,%rcx
mov    %eax,(%rcx,%r15,4)
add    $0x1,%r15
add    $0x4,%r14
cmp    %r10,%r15
je     1640 <main+0x4f0>
test   %ebx,%ebx
jle    1670 <main+0x520>
cmp    $0x8,%ebx
jae    16b0 <main+0x560>
xor    %ebp,%ebp
xor    %eax,%eax
jmp    1797 <main+0x647>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
pxor   %xmm0,%xmm0
xor    %ebp,%ebp
mov    %r14,%rax
pxor   %xmm1,%xmm1
nopl   (%rax)
movdqu -0x10(%rdx,%rbp,1),%xmm3
movdqu (%rdx,%rbp,1),%xmm2
movd   0x78(%rax),%xmm4
movd   0x50(%rax),%xmm5
punpckldq %xmm4,%xmm5
movd   0x28(%rax),%xmm4
movd   (%rax),%xmm6
punpckldq %xmm4,%xmm6
punpcklqdq %xmm5,%xmm6
movd   0x118(%rax),%xmm4
movd   0xf0(%rax),%xmm5
punpckldq %xmm4,%xmm5
movd   0xc8(%rax),%xmm4
movd   0xa0(%rax),%xmm7
punpckldq %xmm4,%xmm7
punpcklqdq %xmm5,%xmm7
pshufd $0xf5,%xmm6,%xmm4
pmuludq %xmm3,%xmm6
pshufd $0xe8,%xmm6,%xmm5
pshufd $0xf5,%xmm3,%xmm3
pmuludq %xmm4,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm5
paddd  %xmm5,%xmm0
pshufd $0xf5,%xmm7,%xmm3
pmuludq %xmm2,%xmm7
pshufd $0xe8,%xmm7,%xmm4
pshufd $0xf5,%xmm2,%xmm2
pmuludq %xmm3,%xmm2
pshufd $0xe8,%xmm2,%xmm2
punpckldq %xmm2,%xmm4
paddd  %xmm4,%xmm1
add    $0x140,%rax
add    $0x20,%rbp
cmp    %rbp,%r12
jne    16c0 <main+0x570>
paddd  %xmm0,%xmm1
pshufd $0xee,%xmm1,%xmm0
paddd  %xmm1,%xmm0
pshufd $0x55,%xmm0,%xmm1
paddd  %xmm0,%xmm1
movd   %xmm1,%eax
mov    %r8,%rbp
cmp    %rbx,%r8
je     1672 <main+0x522>
lea    0x0(,%rbp,4),%rcx
add    %rbp,%rcx
lea    (%r14,%rcx,8),%rcx
cs nopw 0x0(%rax,%rax,1)
mov    (%rcx),%esi
imul   (%rdi,%rbp,4),%esi
add    %esi,%eax
add    $0x1,%rbp
add    $0x28,%rcx
cmp    %rbp,%rbx
jne    17b0 <main+0x660>
jmp    1672 <main+0x522>
test   %r13d,%r13d
jle    15ea <main+0x49a>
lea    0x1b0(%rsp),%rbp
lea    0x821(%rip),%r15
xor    %r14d,%r14d
jmp    180f <main+0x6bf>
nopw   0x0(%rax,%rax,1)
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1,%r14
movslq (%rsp),%rax
add    $0x28,%rbp
cmp    %rax,%r14
jge    15ea <main+0x49a>
cmpl   $0x0,0x4(%rsp)
jle    17f0 <main+0x6a0>
xor    %ebx,%ebx
nopl   0x0(%rax,%rax,1)
mov    0x0(%rbp,%rbx,4),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbx
movslq 0x4(%rsp),%rax
cmp    %rax,%rbx
jl     1820 <main+0x6d0>
jmp    17f0 <main+0x6a0>
and    $0xfffffffc,%r12d
lea    0x1b0(%rsp),%r15
xor    %ebp,%ebp
jmp    1864 <main+0x714>
xchg   %ax,%ax
add    $0x4,%rbp
add    $0xa0,%r15
cmp    %rbp,%r12
je     158e <main+0x43e>
test   %r13d,%r13d
jle    1850 <main+0x700>
mov    %r15,%rdi
xor    %esi,%esi
mov    %r14,%rdx
call   1060 <memset@plt>
lea    0x28(%r15),%rdi
xor    %esi,%esi
mov    %r14,%rdx
call   1060 <memset@plt>
lea    0x50(%r15),%rdi
xor    %esi,%esi
mov    %r14,%rdx
call   1060 <memset@plt>
lea    0x78(%r15),%rdi
xor    %esi,%esi
mov    %r14,%rdx
call   1060 <memset@plt>
jmp    1850 <main+0x700>

LLVM IR (-O0):
@.str = [39 x i8] c"Enter the number or rows and columns.\0A\00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [44 x i8] c"enter the elements of the matrix. Row-wise\0A\00"
@.str.3 = [20 x i8] c"Given matrices are\0A\00"
@.str.4 = [4 x i8] c"%d\09\00"
@.str.5 = [2 x i8] c"\0A\00"
@.str.6 = [23 x i8] c"Transpose of a matrix\0A\00"
@.str.7 = [19 x i8] c"Trace of a Matrix\0A\00"
@.str.8 = [4 x i8] c"%d\0A\00"
@.str.9 = [21 x i8] c"Trace not possible.\0A\00"
@.str.10 = [24 x i8] c"Product of 2 matrices.\0A\00"
@.str.11 = [30 x i8] c"Multiplication not possible.\0A\00"
define void @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca [10 x [10 x i32]]
%10 = alloca [10 x [10 x i32]]
%11 = alloca [10 x [10 x i32]]
store i32 0, i32* %7
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str, i64 0, i64 0))
%13 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%14 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %5
br label %16
16: ; preds = %37, %0
%17 = load i32, i32* %5
%18 = load i32, i32* %1
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %40
20: ; preds = %16
store i32 0, i32* %6
br label %21
21: ; preds = %33, %20
%22 = load i32, i32* %6
%23 = load i32, i32* %2
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %36
25: ; preds = %21
%26 = load i32, i32* %5
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %9, i64 0, i64 %27
%29 = load i32, i32* %6
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [10 x i32], [10 x i32]* %28, i64 0, i64 %30
%32 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %31)
br label %33
33: ; preds = %25
%34 = load i32, i32* %6
%35 = add nsw i32 %34, 1
store i32 %35, i32* %6
br label %21
36: ; preds = %21
br label %37
37: ; preds = %36
%38 = load i32, i32* %5
%39 = add nsw i32 %38, 1
store i32 %39, i32* %5
br label %16
40: ; preds = %16
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str, i64 0, i64 0))
%42 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %3)
%43 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %4)
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %5
br label %45
45: ; preds = %66, %40
%46 = load i32, i32* %5
%47 = load i32, i32* %3
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %69
49: ; preds = %45
store i32 0, i32* %6
br label %50
50: ; preds = %62, %49
%51 = load i32, i32* %6
%52 = load i32, i32* %4
%53 = icmp slt i32 %51, %52
br i1 %53, label %54, label %65
54: ; preds = %50
%55 = load i32, i32* %5
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %10, i64 0, i64 %56
%58 = load i32, i32* %6
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [10 x i32], [10 x i32]* %57, i64 0, i64 %59
%61 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %60)
br label %62
62: ; preds = %54
%63 = load i32, i32* %6
%64 = add nsw i32 %63, 1
store i32 %64, i32* %6
br label %50
65: ; preds = %50
br label %66
66: ; preds = %65
%67 = load i32, i32* %5
%68 = add nsw i32 %67, 1
store i32 %68, i32* %5
br label %45
69: ; preds = %45
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0))
store i32 0, i32* %5
br label %71
71: ; preds = %94, %69
%72 = load i32, i32* %5
%73 = load i32, i32* %1
%74 = icmp slt i32 %72, %73
br i1 %74, label %75, label %97
75: ; preds = %71
store i32 0, i32* %6
br label %76
76: ; preds = %89, %75
%77 = load i32, i32* %6
%78 = load i32, i32* %2
%79 = icmp slt i32 %77, %78
br i1 %79, label %80, label %92
80: ; preds = %76
%81 = load i32, i32* %5
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %9, i64 0, i64 %82
%84 = load i32, i32* %6
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [10 x i32], [10 x i32]* %83, i64 0, i64 %85
%87 = load i32, i32* %86
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %87)
br label %89
89: ; preds = %80
%90 = load i32, i32* %6
%91 = add nsw i32 %90, 1
store i32 %91, i32* %6
br label %76
92: ; preds = %76
%93 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
br label %94
94: ; preds = %92
%95 = load i32, i32* %5
%96 = add nsw i32 %95, 1
store i32 %96, i32* %5
br label %71
97: ; preds = %71
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
store i32 0, i32* %5
br label %99
99: ; preds = %122, %97
%100 = load i32, i32* %5
%101 = load i32, i32* %3
%102 = icmp slt i32 %100, %101
br i1 %102, label %103, label %125
103: ; preds = %99
store i32 0, i32* %6
br label %104
104: ; preds = %117, %103
%105 = load i32, i32* %6
%106 = load i32, i32* %4
%107 = icmp slt i32 %105, %106
br i1 %107, label %108, label %120
108: ; preds = %104
%109 = load i32, i32* %5
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %10, i64 0, i64 %110
%112 = load i32, i32* %6
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds [10 x i32], [10 x i32]* %111, i64 0, i64 %113
%115 = load i32, i32* %114
%116 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %115)
br label %117
117: ; preds = %108
%118 = load i32, i32* %6
%119 = add nsw i32 %118, 1
store i32 %119, i32* %6
br label %104
120: ; preds = %104
%121 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
br label %122
122: ; preds = %120
%123 = load i32, i32* %5
%124 = add nsw i32 %123, 1
store i32 %124, i32* %5
br label %99
125: ; preds = %99
%126 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%127 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.6, i64 0, i64 0))
store i32 0, i32* %6
br label %128
128: ; preds = %151, %125
%129 = load i32, i32* %6
%130 = load i32, i32* %2
%131 = icmp slt i32 %129, %130
br i1 %131, label %132, label %154
132: ; preds = %128
store i32 0, i32* %5
br label %133
133: ; preds = %146, %132
%134 = load i32, i32* %5
%135 = load i32, i32* %1
%136 = icmp slt i32 %134, %135
br i1 %136, label %137, label %149
137: ; preds = %133
%138 = load i32, i32* %5
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %9, i64 0, i64 %139
%141 = load i32, i32* %6
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds [10 x i32], [10 x i32]* %140, i64 0, i64 %142
%144 = load i32, i32* %143
%145 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %144)
br label %146
146: ; preds = %137
%147 = load i32, i32* %5
%148 = add nsw i32 %147, 1
store i32 %148, i32* %5
br label %133
149: ; preds = %133
%150 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
br label %151
151: ; preds = %149
%152 = load i32, i32* %6
%153 = add nsw i32 %152, 1
store i32 %153, i32* %6
br label %128
154: ; preds = %128
%155 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0))
%156 = load i32, i32* %2
%157 = load i32, i32* %1
%158 = icmp eq i32 %156, %157
br i1 %158, label %159, label %180
159: ; preds = %154
store i32 0, i32* %5
br label %160
160: ; preds = %174, %159
%161 = load i32, i32* %5
%162 = load i32, i32* %2
%163 = icmp slt i32 %161, %162
br i1 %163, label %164, label %177
164: ; preds = %160
%165 = load i32, i32* %5
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %9, i64 0, i64 %166
%168 = load i32, i32* %5
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds [10 x i32], [10 x i32]* %167, i64 0, i64 %169
%171 = load i32, i32* %170
%172 = load i32, i32* %7
%173 = add nsw i32 %172, %171
store i32 %173, i32* %7
br label %174
174: ; preds = %164
%175 = load i32, i32* %5
%176 = add nsw i32 %175, 1
store i32 %176, i32* %5
br label %160
177: ; preds = %160
%178 = load i32, i32* %7
%179 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i32 %178)
br label %182
180: ; preds = %154
%181 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0))
br label %182
182: ; preds = %180, %177
store i32 0, i32* %7
%183 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.10, i64 0, i64 0))
%184 = load i32, i32* %2
%185 = load i32, i32* %3
%186 = icmp ne i32 %184, %185
br i1 %186, label %187, label %189
187: ; preds = %182
%188 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.11, i64 0, i64 0))
br label %292
189: ; preds = %182
store i32 0, i32* %5
br label %190
190: ; preds = %210, %189
%191 = load i32, i32* %5
%192 = load i32, i32* %1
%193 = icmp slt i32 %191, %192
br i1 %193, label %194, label %213
194: ; preds = %190
store i32 0, i32* %6
br label %195
195: ; preds = %206, %194
%196 = load i32, i32* %6
%197 = load i32, i32* %4
%198 = icmp slt i32 %196, %197
br i1 %198, label %199, label %209
199: ; preds = %195
%200 = load i32, i32* %5
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %11, i64 0, i64 %201
%203 = load i32, i32* %6
%204 = sext i32 %203 to i64
%205 = getelementptr inbounds [10 x i32], [10 x i32]* %202, i64 0, i64 %204
store i32 0, i32* %205
br label %206
206: ; preds = %199
%207 = load i32, i32* %6
%208 = add nsw i32 %207, 1
store i32 %208, i32* %6
br label %195
209: ; preds = %195
br label %210
210: ; preds = %209
%211 = load i32, i32* %5
%212 = add nsw i32 %211, 1
store i32 %212, i32* %5
br label %190
213: ; preds = %190
store i32 0, i32* %5
br label %214
214: ; preds = %261, %213
%215 = load i32, i32* %5
%216 = load i32, i32* %1
%217 = icmp slt i32 %215, %216
br i1 %217, label %218, label %264
218: ; preds = %214
store i32 0, i32* %6
br label %219
219: ; preds = %257, %218
%220 = load i32, i32* %6
%221 = load i32, i32* %4
%222 = icmp slt i32 %220, %221
br i1 %222, label %223, label %260
223: ; preds = %219
store i32 0, i32* %7
store i32 0, i32* %8
br label %224
224: ; preds = %246, %223
%225 = load i32, i32* %8
%226 = load i32, i32* %2
%227 = icmp slt i32 %225, %226
br i1 %227, label %228, label %249
228: ; preds = %224
%229 = load i32, i32* %5
%230 = sext i32 %229 to i64
%231 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %9, i64 0, i64 %230
%232 = load i32, i32* %8
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds [10 x i32], [10 x i32]* %231, i64 0, i64 %233
%235 = load i32, i32* %234
%236 = load i32, i32* %8
%237 = sext i32 %236 to i64
%238 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %10, i64 0, i64 %237
%239 = load i32, i32* %6
%240 = sext i32 %239 to i64
%241 = getelementptr inbounds [10 x i32], [10 x i32]* %238, i64 0, i64 %240
%242 = load i32, i32* %241
%243 = mul nsw i32 %235, %242
%244 = load i32, i32* %7
%245 = add nsw i32 %244, %243
store i32 %245, i32* %7
br label %246
246: ; preds = %228
%247 = load i32, i32* %8
%248 = add nsw i32 %247, 1
store i32 %248, i32* %8
br label %224
249: ; preds = %224
%250 = load i32, i32* %7
%251 = load i32, i32* %5
%252 = sext i32 %251 to i64
%253 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %11, i64 0, i64 %252
%254 = load i32, i32* %6
%255 = sext i32 %254 to i64
%256 = getelementptr inbounds [10 x i32], [10 x i32]* %253, i64 0, i64 %255
store i32 %250, i32* %256
br label %257
257: ; preds = %249
%258 = load i32, i32* %6
%259 = add nsw i32 %258, 1
store i32 %259, i32* %6
br label %219
260: ; preds = %219
br label %261
261: ; preds = %260
%262 = load i32, i32* %5
%263 = add nsw i32 %262, 1
store i32 %263, i32* %5
br label %214
264: ; preds = %214
store i32 0, i32* %5
br label %265
265: ; preds = %288, %264
%266 = load i32, i32* %5
%267 = load i32, i32* %1
%268 = icmp slt i32 %266, %267
br i1 %268, label %269, label %291
269: ; preds = %265
store i32 0, i32* %6
br label %270
270: ; preds = %283, %269
%271 = load i32, i32* %6
%272 = load i32, i32* %4
%273 = icmp slt i32 %271, %272
br i1 %273, label %274, label %286
274: ; preds = %270
%275 = load i32, i32* %5
%276 = sext i32 %275 to i64
%277 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %11, i64 0, i64 %276
%278 = load i32, i32* %6
%279 = sext i32 %278 to i64
%280 = getelementptr inbounds [10 x i32], [10 x i32]* %277, i64 0, i64 %279
%281 = load i32, i32* %280
%282 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %281)
br label %283
283: ; preds = %274
%284 = load i32, i32* %6
%285 = add nsw i32 %284, 1
store i32 %285, i32* %6
br label %270
286: ; preds = %270
%287 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
br label %288
288: ; preds = %286
%289 = load i32, i32* %5
%290 = add nsw i32 %289, 1
store i32 %290, i32* %5
br label %265
291: ; preds = %265
br label %292
292: ; preds = %291, %187
ret void
}

LLVM IR (-O2):
@.str.1 = [3 x i8] c"%d\00"
@.str.4 = [4 x i8] c"%d\09\00"
@.str.8 = [4 x i8] c"%d\0A\00"
@str.13 = [38 x i8] c"Enter the number or rows and columns.\00"
@str.14 = [43 x i8] c"enter the elements of the matrix. Row-wise\00"
@str.15 = [19 x i8] c"Given matrices are\00"
@str.16 = [22 x i8] c"Transpose of a matrix\00"
@str.17 = [18 x i8] c"Trace of a Matrix\00"
@str.18 = [20 x i8] c"Trace not possible.\00"
@str.19 = [23 x i8] c"Product of 2 matrices.\00"
@str.20 = [29 x i8] c"Multiplication not possible.\00"
define void @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca [10 x [10 x i32]]
%6 = alloca [10 x [10 x i32]]
%7 = alloca [10 x [10 x i32]]
%8 = bitcast i32* %1 to i8*
%9 = bitcast i32* %2 to i8*
%10 = bitcast i32* %3 to i8*
%11 = bitcast i32* %4 to i8*
%12 = bitcast [10 x [10 x i32]]* %5 to i8*
%13 = bitcast [10 x [10 x i32]]* %6 to i8*
%14 = bitcast [10 x [10 x i32]]* %7 to i8*
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.13, i64 0, i64 0))
%16 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%17 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%18 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.14, i64 0, i64 0))
%19 = load i32, i32* %1
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %44
21: ; preds = %0
%22 = load i32, i32* %2
br label %23
23: ; preds = %21, %38
%24 = phi i32 [ %19, %21 ], [ %39, %38 ]
%25 = phi i32 [ %22, %21 ], [ %40, %38 ]
%26 = phi i64 [ 0, %21 ], [ %41, %38 ]
%27 = icmp sgt i32 %25, 0
br i1 %27, label %28, label %38
28: ; preds = %23, %28
%29 = phi i64 [ %32, %28 ], [ 0, %23 ]
%30 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %5, i64 0, i64 %26, i64 %29
%31 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %30)
%32 = add nuw nsw i64 %29, 1
%33 = load i32, i32* %2
%34 = sext i32 %33 to i64
%35 = icmp slt i64 %32, %34
br i1 %35, label %28, label %36
36: ; preds = %28
%37 = load i32, i32* %1
br label %38
38: ; preds = %36, %23
%39 = phi i32 [ %37, %36 ], [ %24, %23 ]
%40 = phi i32 [ %33, %36 ], [ %25, %23 ]
%41 = add nuw nsw i64 %26, 1
%42 = sext i32 %39 to i64
%43 = icmp slt i64 %41, %42
br i1 %43, label %23, label %44
44: ; preds = %38, %0
%45 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.13, i64 0, i64 0))
%46 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %3)
%47 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %4)
%48 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.14, i64 0, i64 0))
%49 = load i32, i32* %3
%50 = icmp sgt i32 %49, 0
br i1 %50, label %51, label %74
51: ; preds = %44
%52 = load i32, i32* %4
br label %53
53: ; preds = %51, %68
%54 = phi i32 [ %49, %51 ], [ %69, %68 ]
%55 = phi i32 [ %52, %51 ], [ %70, %68 ]
%56 = phi i64 [ 0, %51 ], [ %71, %68 ]
%57 = icmp sgt i32 %55, 0
br i1 %57, label %58, label %68
58: ; preds = %53, %58
%59 = phi i64 [ %62, %58 ], [ 0, %53 ]
%60 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %56, i64 %59
%61 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %60)
%62 = add nuw nsw i64 %59, 1
%63 = load i32, i32* %4
%64 = sext i32 %63 to i64
%65 = icmp slt i64 %62, %64
br i1 %65, label %58, label %66
66: ; preds = %58
%67 = load i32, i32* %3
br label %68
68: ; preds = %66, %53
%69 = phi i32 [ %67, %66 ], [ %54, %53 ]
%70 = phi i32 [ %63, %66 ], [ %55, %53 ]
%71 = add nuw nsw i64 %56, 1
%72 = sext i32 %69 to i64
%73 = icmp slt i64 %71, %72
br i1 %73, label %53, label %74
74: ; preds = %68, %44
%75 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.15, i64 0, i64 0))
%76 = load i32, i32* %1
%77 = icmp sgt i32 %76, 0
br i1 %77, label %78, label %97
78: ; preds = %74, %91
%79 = phi i64 [ %93, %91 ], [ 0, %74 ]
%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 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %5, i64 0, i64 %79, i64 %83
%85 = load i32, i32* %84
%86 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, 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 = call i32 @putchar(i32 10)
%93 = add nuw nsw i64 %79, 1
%94 = load i32, i32* %1
%95 = sext i32 %94 to i64
%96 = icmp slt i64 %93, %95
br i1 %96, label %78, label %97
97: ; preds = %91, %74
%98 = call i32 @putchar(i32 10)
%99 = load i32, i32* %3
%100 = icmp sgt i32 %99, 0
br i1 %100, label %101, label %120
101: ; preds = %97, %114
%102 = phi i64 [ %116, %114 ], [ 0, %97 ]
%103 = load i32, i32* %4
%104 = icmp sgt i32 %103, 0
br i1 %104, label %105, label %114
105: ; preds = %101, %105
%106 = phi i64 [ %110, %105 ], [ 0, %101 ]
%107 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %102, i64 %106
%108 = load i32, i32* %107
%109 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %108)
%110 = add nuw nsw i64 %106, 1
%111 = load i32, i32* %4
%112 = sext i32 %111 to i64
%113 = icmp slt i64 %110, %112
br i1 %113, label %105, label %114
114: ; preds = %105, %101
%115 = call i32 @putchar(i32 10)
%116 = add nuw nsw i64 %102, 1
%117 = load i32, i32* %3
%118 = sext i32 %117 to i64
%119 = icmp slt i64 %116, %118
br i1 %119, label %101, label %120
120: ; preds = %114, %97
%121 = call i32 @putchar(i32 10)
%122 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.16, i64 0, i64 0))
%123 = load i32, i32* %2
%124 = icmp sgt i32 %123, 0
br i1 %124, label %125, label %144
125: ; preds = %120, %138
%126 = phi i64 [ %140, %138 ], [ 0, %120 ]
%127 = load i32, i32* %1
%128 = icmp sgt i32 %127, 0
br i1 %128, label %129, label %138
129: ; preds = %125, %129
%130 = phi i64 [ %134, %129 ], [ 0, %125 ]
%131 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %5, i64 0, i64 %130, i64 %126
%132 = load i32, i32* %131
%133 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %132)
%134 = add nuw nsw i64 %130, 1
%135 = load i32, i32* %1
%136 = sext i32 %135 to i64
%137 = icmp slt i64 %134, %136
br i1 %137, label %129, label %138
138: ; preds = %129, %125
%139 = call i32 @putchar(i32 10)
%140 = add nuw nsw i64 %126, 1
%141 = load i32, i32* %2
%142 = sext i32 %141 to i64
%143 = icmp slt i64 %140, %142
br i1 %143, label %125, label %144
144: ; preds = %138, %120
%145 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.17, i64 0, i64 0))
%146 = load i32, i32* %2
%147 = load i32, i32* %1
%148 = icmp eq i32 %146, %147
br i1 %148, label %149, label %213
149: ; preds = %144
%150 = icmp sgt i32 %146, 0
br i1 %150, label %151, label %210
151: ; preds = %149
%152 = zext i32 %146 to i64
%153 = icmp ult i32 %146, 8
br i1 %153, label %199, label %154
154: ; preds = %151
%155 = and i64 %152, 4294967288
br label %156
156: ; preds = %156, %154
%157 = phi i64 [ 0, %154 ], [ %193, %156 ]
%158 = phi <4 x i32> [ zeroinitializer, %154 ], [ %191, %156 ]
%159 = phi <4 x i32> [ zeroinitializer, %154 ], [ %192, %156 ]
%160 = or i64 %157, 1
%161 = or i64 %157, 2
%162 = or i64 %157, 3
%163 = or i64 %157, 4
%164 = or i64 %157, 5
%165 = or i64 %157, 6
%166 = or i64 %157, 7
%167 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %5, i64 0, i64 %157, i64 %157
%168 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %5, i64 0, i64 %160, i64 %160
%169 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %5, i64 0, i64 %161, i64 %161
%170 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %5, i64 0, i64 %162, i64 %162
%171 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %5, i64 0, i64 %163, i64 %163
%172 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %5, i64 0, i64 %164, i64 %164
%173 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %5, i64 0, i64 %165, i64 %165
%174 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %5, i64 0, i64 %166, i64 %166
%175 = load i32, i32* %167
%176 = load i32, i32* %168
%177 = load i32, i32* %169
%178 = load i32, i32* %170
%179 = insertelement <4 x i32> poison, i32 %175, i64 0
%180 = insertelement <4 x i32> %179, i32 %176, i64 1
%181 = insertelement <4 x i32> %180, i32 %177, i64 2
%182 = insertelement <4 x i32> %181, i32 %178, i64 3
%183 = load i32, i32* %171
%184 = load i32, i32* %172
%185 = load i32, i32* %173
%186 = load i32, i32* %174
%187 = insertelement <4 x i32> poison, i32 %183, i64 0
%188 = insertelement <4 x i32> %187, i32 %184, i64 1
%189 = insertelement <4 x i32> %188, i32 %185, i64 2
%190 = insertelement <4 x i32> %189, i32 %186, i64 3
%191 = add <4 x i32> %182, %158
%192 = add <4 x i32> %190, %159
%193 = add nuw i64 %157, 8
%194 = icmp eq i64 %193, %155
br i1 %194, label %195, label %156
195: ; preds = %156
%196 = add <4 x i32> %192, %191
%197 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %196)
%198 = icmp eq i64 %155, %152
br i1 %198, label %210, label %199
199: ; preds = %151, %195
%200 = phi i64 [ 0, %151 ], [ %155, %195 ]
%201 = phi i32 [ 0, %151 ], [ %197, %195 ]
br label %202
202: ; preds = %199, %202
%203 = phi i64 [ %208, %202 ], [ %200, %199 ]
%204 = phi i32 [ %207, %202 ], [ %201, %199 ]
%205 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %5, i64 0, i64 %203, i64 %203
%206 = load i32, i32* %205
%207 = add nsw i32 %206, %204
%208 = add nuw nsw i64 %203, 1
%209 = icmp eq i64 %208, %152
br i1 %209, label %210, label %202
210: ; preds = %202, %195, %149
%211 = phi i32 [ 0, %149 ], [ %197, %195 ], [ %207, %202 ]
%212 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i32 %211)
br label %215
213: ; preds = %144
%214 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.18, i64 0, i64 0))
br label %215
215: ; preds = %213, %210
%216 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.19, i64 0, i64 0))
%217 = load i32, i32* %2
%218 = load i32, i32* %3
%219 = icmp eq i32 %217, %218
br i1 %219, label %220, label %234
220: ; preds = %215
%221 = load i32, i32* %1
%222 = icmp sgt i32 %221, 0
br i1 %222, label %223, label %376
223: ; preds = %220
%224 = load i32, i32* %4
%225 = icmp sgt i32 %224, 0
%226 = zext i32 %224 to i64
%227 = shl nuw nsw i64 %226, 2
%228 = zext i32 %221 to i64
%229 = add nsw i64 %228, -1
%230 = and i64 %228, 3
%231 = icmp ult i64 %229, 3
br i1 %231, label %251, label %232
232: ; preds = %223
%233 = and i64 %228, 4294967292
br label %236
234: ; preds = %215
%235 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.20, i64 0, i64 0))
br label %376
236: ; preds = %275, %232
%237 = phi i64 [ 0, %232 ], [ %276, %275 ]
%238 = phi i64 [ 0, %232 ], [ %277, %275 ]
br i1 %225, label %239, label %275
239: ; preds = %236
%240 = getelementptr [10 x [10 x i32]], [10 x [10 x i32]]* %7, i64 0, i64 %237, i64 0
%241 = bitcast i32* %240 to i8*
%242 = or i64 %237, 1
%243 = getelementptr [10 x [10 x i32]], [10 x [10 x i32]]* %7, i64 0, i64 %242, i64 0
%244 = bitcast i32* %243 to i8*
%245 = or i64 %237, 2
%246 = getelementptr [10 x [10 x i32]], [10 x [10 x i32]]* %7, i64 0, i64 %245, i64 0
%247 = bitcast i32* %246 to i8*
%248 = or i64 %237, 3
%249 = getelementptr [10 x [10 x i32]], [10 x [10 x i32]]* %7, i64 0, i64 %248, i64 0
%250 = bitcast i32* %249 to i8*
br label %275
251: ; preds = %275, %223
%252 = phi i64 [ 0, %223 ], [ %276, %275 ]
%253 = icmp eq i64 %230, 0
br i1 %253, label %264, label %254
254: ; preds = %251, %260
%255 = phi i64 [ %261, %260 ], [ %252, %251 ]
%256 = phi i64 [ %262, %260 ], [ 0, %251 ]
br i1 %225, label %257, label %260
257: ; preds = %254
%258 = getelementptr [10 x [10 x i32]], [10 x [10 x i32]]* %7, i64 0, i64 %255, i64 0
%259 = bitcast i32* %258 to i8*
br label %260
260: ; preds = %257, %254
%261 = add nuw nsw i64 %255, 1
%262 = add i64 %256, 1
%263 = icmp eq i64 %262, %230
br i1 %263, label %264, label %254
264: ; preds = %260, %251
br i1 %222, label %265, label %376
265: ; preds = %264
%266 = load i32, i32* %4
%267 = icmp sgt i32 %266, 0
%268 = icmp sgt i32 %217, 0
%269 = zext i32 %221 to i64
%270 = zext i32 %266 to i64
%271 = zext i32 %217 to i64
%272 = icmp ult i32 %217, 8
%273 = and i64 %271, 4294967288
%274 = icmp eq i64 %273, %271
br label %279
275: ; preds = %236, %239
%276 = add nuw nsw i64 %237, 4
%277 = add i64 %238, 4
%278 = icmp eq i64 %277, %233
br i1 %278, label %251, label %236
279: ; preds = %265, %354
%280 = phi i64 [ 0, %265 ], [ %355, %354 ]
br i1 %267, label %282, label %354
281: ; preds = %354
br i1 %222, label %357, label %376
282: ; preds = %279, %349
%283 = phi i64 [ %352, %349 ], [ 0, %279 ]
br i1 %268, label %284, label %349
284: ; preds = %282
br i1 %272, label %335, label %285
285: ; preds = %284, %285
%286 = phi i64 [ %330, %285 ], [ 0, %284 ]
%287 = phi <4 x i32> [ %328, %285 ], [ zeroinitializer, %284 ]
%288 = phi <4 x i32> [ %329, %285 ], [ zeroinitializer, %284 ]
%289 = or i64 %286, 1
%290 = or i64 %286, 2
%291 = or i64 %286, 3
%292 = or i64 %286, 4
%293 = or i64 %286, 5
%294 = or i64 %286, 6
%295 = or i64 %286, 7
%296 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %5, i64 0, i64 %280, i64 %286
%297 = bitcast i32* %296 to <4 x i32>*
%298 = load <4 x i32>, <4 x i32>* %297
%299 = getelementptr inbounds i32, i32* %296, i64 4
%300 = bitcast i32* %299 to <4 x i32>*
%301 = load <4 x i32>, <4 x i32>* %300
%302 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %286, i64 %283
%303 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %289, i64 %283
%304 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %290, i64 %283
%305 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %291, i64 %283
%306 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %292, i64 %283
%307 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %293, i64 %283
%308 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %294, i64 %283
%309 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %295, i64 %283
%310 = load i32, i32* %302
%311 = load i32, i32* %303
%312 = load i32, i32* %304
%313 = load i32, i32* %305
%314 = insertelement <4 x i32> poison, i32 %310, i64 0
%315 = insertelement <4 x i32> %314, i32 %311, i64 1
%316 = insertelement <4 x i32> %315, i32 %312, i64 2
%317 = insertelement <4 x i32> %316, i32 %313, i64 3
%318 = load i32, i32* %306
%319 = load i32, i32* %307
%320 = load i32, i32* %308
%321 = load i32, i32* %309
%322 = insertelement <4 x i32> poison, i32 %318, i64 0
%323 = insertelement <4 x i32> %322, i32 %319, i64 1
%324 = insertelement <4 x i32> %323, i32 %320, i64 2
%325 = insertelement <4 x i32> %324, i32 %321, i64 3
%326 = mul nsw <4 x i32> %317, %298
%327 = mul nsw <4 x i32> %325, %301
%328 = add <4 x i32> %326, %287
%329 = add <4 x i32> %327, %288
%330 = add nuw i64 %286, 8
%331 = icmp eq i64 %330, %273
br i1 %331, label %332, label %285
332: ; preds = %285
%333 = add <4 x i32> %329, %328
%334 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %333)
br i1 %274, label %349, label %335
335: ; preds = %284, %332
%336 = phi i64 [ 0, %284 ], [ %273, %332 ]
%337 = phi i32 [ 0, %284 ], [ %334, %332 ]
br label %338
338: ; preds = %335, %338
%339 = phi i64 [ %347, %338 ], [ %336, %335 ]
%340 = phi i32 [ %346, %338 ], [ %337, %335 ]
%341 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %5, i64 0, i64 %280, i64 %339
%342 = load i32, i32* %341
%343 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %339, i64 %283
%344 = load i32, i32* %343
%345 = mul nsw i32 %344, %342
%346 = add nsw i32 %345, %340
%347 = add nuw nsw i64 %339, 1
%348 = icmp eq i64 %347, %271
br i1 %348, label %349, label %338
349: ; preds = %338, %332, %282
%350 = phi i32 [ 0, %282 ], [ %334, %332 ], [ %346, %338 ]
%351 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %7, i64 0, i64 %280, i64 %283
store i32 %350, i32* %351
%352 = add nuw nsw i64 %283, 1
%353 = icmp eq i64 %352, %270
br i1 %353, label %354, label %282
354: ; preds = %349, %279
%355 = add nuw nsw i64 %280, 1
%356 = icmp eq i64 %355, %269
br i1 %356, label %281, label %279
357: ; preds = %281, %370
%358 = phi i64 [ %372, %370 ], [ 0, %281 ]
%359 = load i32, i32* %4
%360 = icmp sgt i32 %359, 0
br i1 %360, label %361, label %370
361: ; preds = %357, %361
%362 = phi i64 [ %366, %361 ], [ 0, %357 ]
%363 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %7, i64 0, i64 %358, i64 %362
%364 = load i32, i32* %363
%365 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %364)
%366 = add nuw nsw i64 %362, 1
%367 = load i32, i32* %4
%368 = sext i32 %367 to i64
%369 = icmp slt i64 %366, %368
br i1 %369, label %361, label %370
370: ; preds = %361, %357
%371 = call i32 @putchar(i32 10)
%372 = add nuw nsw i64 %358, 1
%373 = load i32, i32* %1
%374 = sext i32 %373 to i64
%375 = icmp slt i64 %372, %374
br i1 %375, label %357, label %376
376: ; preds = %370, %220, %264, %281, %234
ret void
}