#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 *);
int main() {
  int m, n;
  int p, q, y, x, k;
  int sum = 0;
  printf("podaj ilosc wierszy\n");
  scanf("%d", &m);
  printf("podaj ilosc kolumn\n");
  scanf("%d", &n);
  int pierwsza[m][n];
  printf("podaj kolejne elementy\n");
  for (y = 0; y < m; y++)
    for (x = 0; x < n; x++)
      scanf("%d", &pierwsza[y][x]);
  printf("podaj ilosc wierszy w drugiej tablicy\n");
  scanf("%d", &p);
  printf("podaj ilosc kolumn w drugiej tablicy\n");
  scanf("%d", &q);
  int druga[p][q];
  int mnozenie[m][q];
  if (n != p)
    printf("niezgodna ilosc wierszy\n");
  else {
    printf("podaj kolejne elementy drugiej tablicy\n");
    for (y = 0; y < p; y++)
      for (x = 0; x < q; x++)
        scanf("%d", &druga[y][x]);
    for (y = 0; y < m; y++) {
      for (x = 0; x < q; x++) {
        for (k = 0; k < p; k++) {
          sum = sum + pierwsza[y][k] * druga[k][x];
        }
        mnozenie[y][x] = sum;
        sum = 0;
      }
    }
    printf("tak wyglada po mnozeniu:\n");
    for (y = 0; y < m; y++) {
      for (x = 0; x < q; x++)
        printf("%d\t", mnozenie[y][x]);
      printf("\n");
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xb0,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x24(%rbp)
lea    0xec0(%rip),%rdi
xor    %eax,%eax
mov    %al,-0x79(%rbp)
call   1030 <printf@plt>
lea    0xec4(%rip),%rdi
mov    %rdi,-0x78(%rbp)
lea    -0x8(%rbp),%rsi
call   1040 <scanf@plt>
mov    -0x79(%rbp),%al
lea    0xeb0(%rip),%rdi
call   1030 <printf@plt>
mov    -0x78(%rbp),%rdi
lea    -0xc(%rbp),%rsi
call   1040 <scanf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,%ecx
mov    -0xc(%rbp),%eax
mov    %rax,-0x70(%rbp)
mov    %rsp,%rdx
mov    %rdx,-0x30(%rbp)
mov    %rcx,%rdx
imul   %rax,%rdx
lea    0xf(,%rdx,4),%rsi
and    $0xfffffffffffffff0,%rsi
mov    %rsp,%rdx
sub    %rsi,%rdx
mov    %rdx,-0x68(%rbp)
mov    %rdx,%rsp
mov    %rcx,-0x38(%rbp)
mov    %rax,-0x40(%rbp)
lea    0xe70(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1238 <main+0x118>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1225 <main+0x105>
mov    -0x68(%rbp),%rsi
mov    -0x70(%rbp),%rcx
movslq -0x18(%rbp),%rax
imul   %rcx,%rax
shl    $0x2,%rax
add    %rax,%rsi
movslq -0x1c(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xe03(%rip),%rdi
call   1040 <scanf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    11dd <main+0xbd>
jmp    122a <main+0x10a>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    11ca <main+0xaa>
lea    0xe05(%rip),%rdi
xor    %eax,%eax
mov    %al,-0xa9(%rbp)
call   1030 <printf@plt>
lea    0xdc2(%rip),%rdi
mov    %rdi,-0xa8(%rbp)
lea    -0x10(%rbp),%rsi
call   1040 <scanf@plt>
mov    -0xa9(%rbp),%al
lea    0xdfb(%rip),%rdi
call   1030 <printf@plt>
mov    -0xa8(%rbp),%rdi
lea    -0x14(%rbp),%rsi
call   1040 <scanf@plt>
mov    -0x10(%rbp),%eax
mov    %eax,%ecx
mov    -0x14(%rbp),%eax
mov    %rax,-0xa0(%rbp)
mov    %rcx,%rdx
imul   %rax,%rdx
lea    0xf(,%rdx,4),%rsi
and    $0xfffffffffffffff0,%rsi
mov    %rsp,%rdx
sub    %rsi,%rdx
mov    %rdx,-0x98(%rbp)
mov    %rdx,%rsp
mov    %rcx,-0x48(%rbp)
mov    %rax,-0x50(%rbp)
mov    -0x8(%rbp),%eax
mov    %eax,%ecx
mov    -0x14(%rbp),%eax
mov    %rax,-0x90(%rbp)
mov    %rcx,%rdx
imul   %rax,%rdx
lea    0xf(,%rdx,4),%rsi
and    $0xfffffffffffffff0,%rsi
mov    %rsp,%rdx
sub    %rsi,%rdx
mov    %rdx,-0x88(%rbp)
mov    %rdx,%rsp
mov    %rcx,-0x58(%rbp)
mov    %rax,-0x60(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x10(%rbp),%eax
je     1318 <main+0x1f8>
lea    0xd85(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1517 <main+0x3f7>
lea    0xd8b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    13a1 <main+0x281>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    138e <main+0x26e>
mov    -0x98(%rbp),%rsi
mov    -0xa0(%rbp),%rcx
movslq -0x18(%rbp),%rax
imul   %rcx,%rax
shl    $0x2,%rax
add    %rax,%rsi
movslq -0x1c(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xc9a(%rip),%rdi
call   1040 <scanf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1340 <main+0x220>
jmp    1393 <main+0x273>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    132d <main+0x20d>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1482 <main+0x362>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    146f <main+0x34f>
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    1433 <main+0x313>
mov    -0x98(%rbp),%rdx
mov    -0xa0(%rbp),%rdi
mov    -0x68(%rbp),%rcx
mov    -0x70(%rbp),%r8
mov    -0x24(%rbp),%eax
movslq -0x18(%rbp),%rsi
imul   %r8,%rsi
shl    $0x2,%rsi
add    %rsi,%rcx
movslq -0x20(%rbp),%rsi
mov    (%rcx,%rsi,4),%ecx
movslq -0x20(%rbp),%rsi
imul   %rdi,%rsi
shl    $0x2,%rsi
add    %rsi,%rdx
movslq -0x1c(%rbp),%rsi
imul   (%rdx,%rsi,4),%ecx
add    %ecx,%eax
mov    %eax,-0x24(%rbp)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    13ce <main+0x2ae>
mov    -0x88(%rbp),%rax
mov    -0x90(%rbp),%rsi
mov    -0x24(%rbp),%edx
movslq -0x18(%rbp),%rcx
imul   %rsi,%rcx
shl    $0x2,%rcx
add    %rcx,%rax
movslq -0x1c(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
movl   $0x0,-0x24(%rbp)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    13bb <main+0x29b>
jmp    1474 <main+0x354>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    13a8 <main+0x288>
lea    0xc49(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1512 <main+0x3f2>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    14f6 <main+0x3d6>
mov    -0x88(%rbp),%rax
mov    -0x90(%rbp),%rdx
movslq -0x18(%rbp),%rcx
imul   %rdx,%rcx
shl    $0x2,%rcx
add    %rcx,%rax
movslq -0x1c(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xc0b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    14aa <main+0x38a>
lea    0xbed(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1497 <main+0x377>
jmp    1517 <main+0x3f7>
movl   $0x0,-0x4(%rbp)
mov    -0x30(%rbp),%rax
mov    %rax,%rsp
mov    -0x4(%rbp),%eax
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xd8,%rsp
lea    0xeac(%rip),%rdi
call   1040 <puts@plt>
lea    0xe99(%rip),%rbx
lea    -0x2c(%rbp),%rsi
mov    %rbx,%rdi
call   1060 <scanf@plt>
lea    0xea1(%rip),%rdi
call   1040 <puts@plt>
lea    -0x3c(%rbp),%rsi
mov    %rbx,%rdi
call   1060 <scanf@plt>
mov    %rsp,-0x98(%rbp)
mov    -0x2c(%rbp),%eax
mov    -0x3c(%rbp),%edx
mov    %rdx,-0x70(%rbp)
imul   %rdx,%rax
lea    0xf(,%rax,4),%rax
and    $0xfffffffffffffff0,%rax
mov    %rsp,%rcx
sub    %rax,%rcx
mov    %rcx,-0x68(%rbp)
mov    %rcx,%rsp
lea    0xe6e(%rip),%rdi
call   1040 <puts@plt>
mov    -0x2c(%rbp),%ecx
test   %ecx,%ecx
jle    1231 <main+0xf1>
mov    -0x3c(%rbp),%eax
mov    -0x70(%rbp),%rdx
lea    0x0(,%rdx,4),%rdx
mov    %rdx,-0x58(%rbp)
xor    %r12d,%r12d
lea    0xe17(%rip),%r14
mov    -0x68(%rbp),%r13
jmp    1200 <main+0xc0>
nop
add    $0x1,%r12
movslq %ecx,%rdx
add    -0x58(%rbp),%r13
cmp    %rdx,%r12
jge    1231 <main+0xf1>
test   %eax,%eax
jle    11f0 <main+0xb0>
mov    %r13,%rbx
xor    %r15d,%r15d
nopw   0x0(%rax,%rax,1)
mov    %r14,%rdi
mov    %rbx,%rsi
call   1060 <scanf@plt>
add    $0x1,%r15
movslq -0x3c(%rbp),%rax
add    $0x4,%rbx
cmp    %rax,%r15
jl     1210 <main+0xd0>
mov    -0x2c(%rbp),%ecx
jmp    11f0 <main+0xb0>
lea    0xe0d(%rip),%rdi
call   1040 <puts@plt>
lea    0xdbc(%rip),%rbx
lea    -0x4c(%rbp),%rsi
mov    %rbx,%rdi
call   1060 <scanf@plt>
lea    0xe14(%rip),%rdi
call   1040 <puts@plt>
lea    -0x34(%rbp),%rsi
mov    %rbx,%rdi
call   1060 <scanf@plt>
mov    -0x4c(%rbp),%eax
mov    -0x34(%rbp),%esi
mov    %rax,%rcx
imul   %rsi,%rcx
lea    0xf(,%rcx,4),%rcx
and    $0xfffffffffffffff0,%rcx
mov    %rsp,%rdx
sub    %rcx,%rdx
mov    %rdx,-0x60(%rbp)
mov    %rdx,%rsp
mov    -0x2c(%rbp),%ecx
mov    %rsi,%rdx
mov    %rsi,-0x48(%rbp)
imul   %rsi,%rcx
lea    0xf(,%rcx,4),%rcx
and    $0xfffffffffffffff0,%rcx
mov    %rsp,%rbx
sub    %rcx,%rbx
mov    %rbx,%rsp
cmp    %eax,-0x3c(%rbp)
jne    1344 <main+0x204>
lea    0xdcf(%rip),%rdi
call   1040 <puts@plt>
mov    -0x4c(%rbp),%eax
mov    %eax,-0x38(%rbp)
test   %eax,%eax
mov    %rbx,-0x88(%rbp)
jle    1355 <main+0x215>
mov    -0x34(%rbp),%eax
mov    -0x48(%rbp),%rcx
lea    0x0(,%rcx,4),%rcx
mov    %rcx,-0x58(%rbp)
xor    %r12d,%r12d
lea    0xd0c(%rip),%r14
mov    -0x60(%rbp),%r13
jmp    1311 <main+0x1d1>
nopw   0x0(%rax,%rax,1)
add    $0x1,%r12
movslq -0x38(%rbp),%rcx
add    -0x58(%rbp),%r13
cmp    %rcx,%r12
jge    1355 <main+0x215>
test   %eax,%eax
jle    1300 <main+0x1c0>
mov    %r13,%rbx
xor    %r15d,%r15d
nopl   0x0(%rax,%rax,1)
mov    %r14,%rdi
mov    %rbx,%rsi
call   1060 <scanf@plt>
add    $0x1,%r15
movslq -0x34(%rbp),%rax
add    $0x4,%rbx
cmp    %rax,%r15
jl     1320 <main+0x1e0>
mov    -0x4c(%rbp),%ecx
mov    %ecx,-0x38(%rbp)
jmp    1300 <main+0x1c0>
lea    0xd85(%rip),%rdi
call   1040 <puts@plt>
jmp    181d <main+0x6dd>
mov    -0x2c(%rbp),%eax
mov    %rax,-0xb0(%rbp)
test   %eax,%eax
mov    -0x88(%rbp),%r12
jle    17a6 <main+0x666>
mov    -0x34(%rbp),%eax
mov    %rax,-0x90(%rbp)
mov    -0x38(%rbp),%eax
mov    %eax,%esi
mov    %esi,%ecx
and    $0xfffffff8,%ecx
mov    %rcx,-0xe0(%rbp)
add    $0xfffffffffffffff8,%rcx
mov    %rcx,-0xd8(%rbp)
mov    %rcx,%rdx
shr    $0x3,%rdx
add    $0x1,%rdx
cmp    $0x8,%eax
setae  %al
mov    -0x48(%rbp),%rcx
cmp    $0x1,%ecx
sete   %bl
and    %al,%bl
mov    %bl,-0x2d(%rbp)
mov    %rdx,%rax
mov    %rdx,-0xd0(%rbp)
and    $0xfffffffffffffffe,%rdx
mov    %rdx,-0xc8(%rbp)
mov    %esi,%eax
and    $0x3,%eax
mov    %rax,-0xe8(%rbp)
mov    -0x68(%rbp),%r11
lea    0x30(%r11),%rdi
mov    -0x70(%rbp),%rax
lea    0x0(,%rax,4),%rax
mov    %rax,-0xa8(%rbp)
mov    %rcx,%r15
shl    $0x5,%r15
mov    %rcx,%rax
shl    $0x6,%rax
mov    %rax,-0xc0(%rbp)
mov    %rcx,%rax
shl    $0x4,%rax
mov    %rax,-0x100(%rbp)
mov    -0x60(%rbp),%rax
add    $0x10,%rax
mov    %rax,-0xa0(%rbp)
lea    0x0(,%rcx,4),%r9
xor    %eax,%eax
mov    %rax,-0x78(%rbp)
mov    %rsi,-0x58(%rbp)
jmp    1469 <main+0x329>
cs nopw 0x0(%rax,%rax,1)
mov    -0x78(%rbp),%rcx
add    $0x1,%rcx
mov    -0xa8(%rbp),%rax
add    %rax,%rdi
add    %rax,%r11
mov    %rcx,%rax
mov    %rcx,-0x78(%rbp)
cmp    -0xb0(%rbp),%rcx
je     17a6 <main+0x666>
cmpl   $0x0,-0x90(%rbp)
jle    1440 <main+0x300>
mov    -0x78(%rbp),%rdx
mov    %rdx,%rax
imul   -0x70(%rbp),%rax
mov    -0x68(%rbp),%rcx
lea    (%rcx,%rax,4),%rax
mov    %rax,-0xb8(%rbp)
mov    %rdx,%rax
imul   -0x48(%rbp),%rax
lea    (%r12,%rax,4),%rax
mov    %rax,-0xf0(%rbp)
mov    -0x60(%rbp),%rax
mov    %rax,-0x80(%rbp)
mov    -0xa0(%rbp),%rcx
xor    %r8d,%r8d
jmp    14f6 <main+0x3b6>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
xor    %r12d,%r12d
mov    -0xf0(%rbp),%rax
mov    %r12d,(%rax,%r8,4)
add    $0x1,%r8
mov    -0xf8(%rbp),%rcx
add    $0x4,%rcx
addq   $0x4,-0x80(%rbp)
cmp    -0x90(%rbp),%r8
mov    -0x88(%rbp),%r12
je     1440 <main+0x300>
cmpl   $0x0,-0x38(%rbp)
mov    %rcx,-0xf8(%rbp)
jle    14c0 <main+0x380>
cmpb   $0x0,-0x2d(%rbp)
je     16c0 <main+0x580>
cmpq   $0x0,-0xd8(%rbp)
je     178a <main+0x64a>
pxor   %xmm0,%xmm0
mov    -0xc8(%rbp),%rdx
xor    %eax,%eax
pxor   %xmm1,%xmm1
mov    -0xc0(%rbp),%rbx
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movdqu -0x10(%rcx),%xmm3
movdqu (%rcx),%xmm4
movdqu -0x30(%rdi,%rax,4),%xmm5
movdqu -0x20(%rdi,%rax,4),%xmm6
movdqu -0x10(%rdi,%rax,4),%xmm7
movdqu (%rdi,%rax,4),%xmm8
pshufd $0xf5,%xmm3,%xmm2
pmuludq %xmm5,%xmm3
pshufd $0xe8,%xmm3,%xmm3
pshufd $0xf5,%xmm5,%xmm5
pmuludq %xmm2,%xmm5
pshufd $0xe8,%xmm5,%xmm2
punpckldq %xmm2,%xmm3
paddd  %xmm0,%xmm3
pshufd $0xf5,%xmm4,%xmm0
pmuludq %xmm6,%xmm4
pshufd $0xe8,%xmm4,%xmm4
pshufd $0xf5,%xmm6,%xmm2
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm0
punpckldq %xmm0,%xmm4
paddd  %xmm1,%xmm4
movdqu -0x10(%rcx,%r15,1),%xmm0
movdqu (%rcx,%r15,1),%xmm1
pshufd $0xf5,%xmm0,%xmm2
pmuludq %xmm7,%xmm0
pshufd $0xe8,%xmm0,%xmm0
pshufd $0xf5,%xmm7,%xmm5
pmuludq %xmm2,%xmm5
pshufd $0xe8,%xmm5,%xmm2
punpckldq %xmm2,%xmm0
paddd  %xmm3,%xmm0
pshufd $0xf5,%xmm1,%xmm2
pmuludq %xmm8,%xmm1
pshufd $0xe8,%xmm1,%xmm1
pshufd $0xf5,%xmm8,%xmm3
pmuludq %xmm2,%xmm3
pshufd $0xe8,%xmm3,%xmm2
punpckldq %xmm2,%xmm1
paddd  %xmm4,%xmm1
add    $0x10,%rax
add    %rbx,%rcx
add    $0xfffffffffffffffe,%rdx
jne    1540 <main+0x400>
testb  $0x1,-0xd0(%rbp)
je     168c <main+0x54c>
mov    -0x60(%rbp),%rcx
lea    (%rcx,%r8,4),%rcx
mov    -0xb8(%rbp),%rdx
movdqu (%rdx,%rax,4),%xmm2
movdqu 0x10(%rdx,%rax,4),%xmm3
imul   -0x48(%rbp),%rax
movdqu (%rcx,%rax,4),%xmm4
movdqu 0x10(%rcx,%rax,4),%xmm5
pshufd $0xf5,%xmm4,%xmm6
pmuludq %xmm2,%xmm4
pshufd $0xe8,%xmm4,%xmm4
pshufd $0xf5,%xmm2,%xmm2
pmuludq %xmm6,%xmm2
pshufd $0xe8,%xmm2,%xmm2
punpckldq %xmm2,%xmm4
paddd  %xmm4,%xmm0
pshufd $0xf5,%xmm5,%xmm2
pmuludq %xmm3,%xmm5
pshufd $0xe8,%xmm5,%xmm4
pshufd $0xf5,%xmm3,%xmm3
pmuludq %xmm2,%xmm3
pshufd $0xe8,%xmm3,%xmm2
punpckldq %xmm2,%xmm4
paddd  %xmm4,%xmm1
paddd  %xmm1,%xmm0
pshufd $0xee,%xmm0,%xmm1
paddd  %xmm0,%xmm1
pshufd $0x55,%xmm1,%xmm0
paddd  %xmm1,%xmm0
movd   %xmm0,%r12d
mov    -0xe0(%rbp),%rcx
mov    %rcx,%rax
cmp    %rsi,%rcx
je     14c3 <main+0x383>
jmp    16c5 <main+0x585>
nopl   0x0(%rax)
xor    %eax,%eax
xor    %r12d,%r12d
mov    %rax,%rcx
not    %rcx
add    %rsi,%rcx
mov    -0xe8(%rbp),%rsi
test   %rsi,%rsi
je     1707 <main+0x5c7>
mov    -0x48(%rbp),%rdx
imul   %rax,%rdx
mov    -0x80(%rbp),%rbx
lea    (%rbx,%rdx,4),%rdx
nopw   0x0(%rax,%rax,1)
mov    (%rdx),%ebx
imul   (%r11,%rax,4),%ebx
add    %ebx,%r12d
add    $0x1,%rax
add    %r9,%rdx
add    $0xffffffffffffffff,%rsi
jne    16f0 <main+0x5b0>
cmp    $0x3,%rcx
mov    -0x58(%rbp),%rsi
jb     14c3 <main+0x383>
lea    0x3(%rax),%rcx
imul   %r9,%rcx
lea    0x1(%rax),%rdx
imul   %r9,%rdx
lea    0x2(%rax),%r13
imul   %r9,%r13
mov    %r9,%r10
imul   %rax,%r10
mov    -0x80(%rbp),%r14
nopl   0x0(%rax,%rax,1)
mov    (%r14,%r10,1),%esi
imul   (%r11,%rax,4),%esi
add    %r12d,%esi
mov    (%r14,%rdx,1),%ebx
imul   0x4(%r11,%rax,4),%ebx
add    %esi,%ebx
mov    (%r14,%r13,1),%esi
imul   0x8(%r11,%rax,4),%esi
add    %ebx,%esi
mov    (%r14,%rcx,1),%r12d
imul   0xc(%r11,%rax,4),%r12d
add    %esi,%r12d
mov    -0x58(%rbp),%rsi
add    $0x4,%rax
add    -0x100(%rbp),%r14
cmp    %rax,%rsi
jne    1740 <main+0x600>
jmp    14c3 <main+0x383>
pxor   %xmm0,%xmm0
xor    %eax,%eax
pxor   %xmm1,%xmm1
testb  $0x1,-0xd0(%rbp)
jne    161a <main+0x4da>
jmp    168c <main+0x54c>
lea    0x90a(%rip),%rdi
call   1040 <puts@plt>
cmpl   $0x0,-0x2c(%rbp)
jle    181d <main+0x6dd>
shlq   $0x2,-0x48(%rbp)
lea    0x83f(%rip),%r15
xor    %r14d,%r14d
jmp    17eb <main+0x6ab>
nopl   0x0(%rax)
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1,%r14
movslq -0x2c(%rbp),%rax
add    -0x48(%rbp),%r12
cmp    %rax,%r14
jge    181d <main+0x6dd>
cmpl   $0x0,-0x34(%rbp)
jle    17d0 <main+0x690>
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    (%r12,%rbx,4),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbx
movslq -0x34(%rbp),%rax
cmp    %rax,%rbx
jl     1800 <main+0x6c0>
jmp    17d0 <main+0x690>
mov    -0x98(%rbp),%rsp
xor    %eax,%eax
lea    -0x28(%rbp),%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [21 x i8] c"podaj ilosc wierszy\0A\00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [20 x i8] c"podaj ilosc kolumn\0A\00"
@.str.3 = [24 x i8] c"podaj kolejne elementy\0A\00"
@.str.4 = [39 x i8] c"podaj ilosc wierszy w drugiej tablicy\0A\00"
@.str.5 = [38 x i8] c"podaj ilosc kolumn w drugiej tablicy\0A\00"
@.str.6 = [25 x i8] c"niezgodna ilosc wierszy\0A\00"
@.str.7 = [40 x i8] c"podaj kolejne elementy drugiej tablicy\0A\00"
@.str.8 = [26 x i8] c"tak wyglada po mnozeniu:\0A\00"
@.str.9 = [4 x i8] c"%d\09\00"
@.str.10 = [2 x i8] c"\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i8*
%11 = alloca i64
%12 = alloca i64
%13 = alloca i64
%14 = alloca i64
%15 = alloca i64
%16 = alloca i64
store i32 0, i32* %1
store i32 0, i32* %9
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
%18 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0))
%20 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %3)
%21 = load i32, i32* %2
%22 = zext i32 %21 to i64
%23 = load i32, i32* %3
%24 = zext i32 %23 to i64
%25 = call i8* @llvm.stacksave()
store i8* %25, i8** %10
%26 = mul nuw i64 %22, %24
%27 = alloca i32, i64 %26
store i64 %22, i64* %11
store i64 %24, i64* %12
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0))
store i32 0, i32* %6
br label %29
29: ; preds = %51, %0
%30 = load i32, i32* %6
%31 = load i32, i32* %2
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %54
33: ; preds = %29
store i32 0, i32* %7
br label %34
34: ; preds = %47, %33
%35 = load i32, i32* %7
%36 = load i32, i32* %3
%37 = icmp slt i32 %35, %36
br i1 %37, label %38, label %50
38: ; preds = %34
%39 = load i32, i32* %6
%40 = sext i32 %39 to i64
%41 = mul nsw i64 %40, %24
%42 = getelementptr inbounds i32, i32* %27, i64 %41
%43 = load i32, i32* %7
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, i32* %42, i64 %44
%46 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %45)
br label %47
47: ; preds = %38
%48 = load i32, i32* %7
%49 = add nsw i32 %48, 1
store i32 %49, i32* %7
br label %34
50: ; preds = %34
br label %51
51: ; preds = %50
%52 = load i32, i32* %6
%53 = add nsw i32 %52, 1
store i32 %53, i32* %6
br label %29
54: ; preds = %29
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.4, i64 0, i64 0))
%56 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %4)
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.5, i64 0, i64 0))
%58 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %5)
%59 = load i32, i32* %4
%60 = zext i32 %59 to i64
%61 = load i32, i32* %5
%62 = zext i32 %61 to i64
%63 = mul nuw i64 %60, %62
%64 = alloca i32, i64 %63
store i64 %60, i64* %13
store i64 %62, i64* %14
%65 = load i32, i32* %2
%66 = zext i32 %65 to i64
%67 = load i32, i32* %5
%68 = zext i32 %67 to i64
%69 = mul nuw i64 %66, %68
%70 = alloca i32, i64 %69
store i64 %66, i64* %15
store i64 %68, i64* %16
%71 = load i32, i32* %3
%72 = load i32, i32* %4
%73 = icmp ne i32 %71, %72
br i1 %73, label %74, label %76
74: ; preds = %54
%75 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0))
br label %187
76: ; preds = %54
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.7, i64 0, i64 0))
store i32 0, i32* %6
br label %78
78: ; preds = %100, %76
%79 = load i32, i32* %6
%80 = load i32, i32* %4
%81 = icmp slt i32 %79, %80
br i1 %81, label %82, label %103
82: ; preds = %78
store i32 0, i32* %7
br label %83
83: ; preds = %96, %82
%84 = load i32, i32* %7
%85 = load i32, i32* %5
%86 = icmp slt i32 %84, %85
br i1 %86, label %87, label %99
87: ; preds = %83
%88 = load i32, i32* %6
%89 = sext i32 %88 to i64
%90 = mul nsw i64 %89, %62
%91 = getelementptr inbounds i32, i32* %64, i64 %90
%92 = load i32, i32* %7
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i32, i32* %91, i64 %93
%95 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %94)
br label %96
96: ; preds = %87
%97 = load i32, i32* %7
%98 = add nsw i32 %97, 1
store i32 %98, i32* %7
br label %83
99: ; preds = %83
br label %100
100: ; preds = %99
%101 = load i32, i32* %6
%102 = add nsw i32 %101, 1
store i32 %102, i32* %6
br label %78
103: ; preds = %78
store i32 0, i32* %6
br label %104
104: ; preds = %154, %103
%105 = load i32, i32* %6
%106 = load i32, i32* %2
%107 = icmp slt i32 %105, %106
br i1 %107, label %108, label %157
108: ; preds = %104
store i32 0, i32* %7
br label %109
109: ; preds = %150, %108
%110 = load i32, i32* %7
%111 = load i32, i32* %5
%112 = icmp slt i32 %110, %111
br i1 %112, label %113, label %153
113: ; preds = %109
store i32 0, i32* %8
br label %114
114: ; preds = %138, %113
%115 = load i32, i32* %8
%116 = load i32, i32* %4
%117 = icmp slt i32 %115, %116
br i1 %117, label %118, label %141
118: ; preds = %114
%119 = load i32, i32* %9
%120 = load i32, i32* %6
%121 = sext i32 %120 to i64
%122 = mul nsw i64 %121, %24
%123 = getelementptr inbounds i32, i32* %27, i64 %122
%124 = load i32, i32* %8
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i32, i32* %123, i64 %125
%127 = load i32, i32* %126
%128 = load i32, i32* %8
%129 = sext i32 %128 to i64
%130 = mul nsw i64 %129, %62
%131 = getelementptr inbounds i32, i32* %64, i64 %130
%132 = load i32, i32* %7
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds i32, i32* %131, i64 %133
%135 = load i32, i32* %134
%136 = mul nsw i32 %127, %135
%137 = add nsw i32 %119, %136
store i32 %137, i32* %9
br label %138
138: ; preds = %118
%139 = load i32, i32* %8
%140 = add nsw i32 %139, 1
store i32 %140, i32* %8
br label %114
141: ; preds = %114
%142 = load i32, i32* %9
%143 = load i32, i32* %6
%144 = sext i32 %143 to i64
%145 = mul nsw i64 %144, %68
%146 = getelementptr inbounds i32, i32* %70, i64 %145
%147 = load i32, i32* %7
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds i32, i32* %146, i64 %148
store i32 %142, i32* %149
store i32 0, i32* %9
br label %150
150: ; preds = %141
%151 = load i32, i32* %7
%152 = add nsw i32 %151, 1
store i32 %152, i32* %7
br label %109
153: ; preds = %109
br label %154
154: ; preds = %153
%155 = load i32, i32* %6
%156 = add nsw i32 %155, 1
store i32 %156, i32* %6
br label %104
157: ; preds = %104
%158 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.8, i64 0, i64 0))
store i32 0, i32* %6
br label %159
159: ; preds = %183, %157
%160 = load i32, i32* %6
%161 = load i32, i32* %2
%162 = icmp slt i32 %160, %161
br i1 %162, label %163, label %186
163: ; preds = %159
store i32 0, i32* %7
br label %164
164: ; preds = %178, %163
%165 = load i32, i32* %7
%166 = load i32, i32* %5
%167 = icmp slt i32 %165, %166
br i1 %167, label %168, label %181
168: ; preds = %164
%169 = load i32, i32* %6
%170 = sext i32 %169 to i64
%171 = mul nsw i64 %170, %68
%172 = getelementptr inbounds i32, i32* %70, i64 %171
%173 = load i32, i32* %7
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds i32, i32* %172, i64 %174
%176 = load i32, i32* %175
%177 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0), i32 %176)
br label %178
178: ; preds = %168
%179 = load i32, i32* %7
%180 = add nsw i32 %179, 1
store i32 %180, i32* %7
br label %164
181: ; preds = %164
%182 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
br label %183
183: ; preds = %181
%184 = load i32, i32* %6
%185 = add nsw i32 %184, 1
store i32 %185, i32* %6
br label %159
186: ; preds = %159
br label %187
187: ; preds = %186, %74
store i32 0, i32* %1
%188 = load i8*, i8** %10
%189 = load i32, i32* %1
ret i32 %189
}

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