#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, p, q, y, x, k, suma = 0;
  printf("Liczba wierszów i kolumn pierwszej macierzy:\n");
  scanf("%d %d", &m, &n);
  int pierwsza[m][n];
  printf("Wprowadz elementy macierzy 1.:\n");
  for (y = 0; y < m; y++)
    for (x = 0; x < n; x++)
      scanf("%d", &pierwsza[y][x]);
  printf("Liczba wierszów i kolumn drugiej macierzy:\n");
  scanf("%d %d", &p, &q);
  int druga[p][q];
  int trans[m][q];
  if (n != p)
    printf("Macierze nie moga byc pomnozone! Kolumny macierzy 1 nie sa rowne "
           "liczbie wierszy macierzy 2!\n");
  else {
    printf("Wprowadz elementy macierzy 2.:\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++) {
          suma = suma + pierwsza[y][k] * druga[k][x];
        }
        trans[y][x] = suma;
        suma = 0;
      }
    }
    printf("Wynik mnozenia macierzy: \n");
    for (y = 0; y < m; y++) {
      for (x = 0; x < q; x++)
        printf("%d\t", trans[y][x]);
      printf("\n");
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x24(%rbp)
lea    0xec0(%rip),%rdi
xor    %eax,%eax
mov    %al,-0x71(%rbp)
call   1030 <printf@plt>
mov    -0x71(%rbp),%al
lea    0xedb(%rip),%rdi
lea    -0x8(%rbp),%rsi
lea    -0xc(%rbp),%rdx
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    0xe92(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1221 <main+0x101>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    120e <main+0xee>
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    0xe39(%rip),%rdi
mov    $0x0,%al
call   1040 <scanf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    11c4 <main+0xa4>
jmp    1213 <main+0xf3>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    11b1 <main+0x91>
lea    0xe2d(%rip),%rdi
xor    %eax,%eax
mov    %al,-0x99(%rbp)
call   1030 <printf@plt>
mov    -0x99(%rbp),%al
lea    0xded(%rip),%rdi
lea    -0x10(%rbp),%rsi
lea    -0x14(%rbp),%rdx
call   1040 <scanf@plt>
mov    -0x10(%rbp),%eax
mov    %eax,%ecx
mov    -0x14(%rbp),%eax
mov    %rax,-0x98(%rbp)
mov    %rcx,%rdx
imul   %rax,%rdx
lea    0xf(,%rdx,4),%rsi
and    $0xfffffffffffffff0,%rsi
mov    %rsp,%rdx
sub    %rsi,%rdx
mov    %rdx,-0x90(%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,-0x88(%rbp)
mov    %rcx,%rdx
imul   %rax,%rdx
lea    0xf(,%rdx,4),%rsi
and    $0xfffffffffffffff0,%rsi
mov    %rsp,%rdx
sub    %rsi,%rdx
mov    %rdx,-0x80(%rbp)
mov    %rdx,%rsp
mov    %rcx,-0x58(%rbp)
mov    %rax,-0x60(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x10(%rbp),%eax
je     12df <main+0x1bf>
lea    0xdaf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    14da <main+0x3ba>
lea    0xdfa(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    136a <main+0x24a>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1357 <main+0x237>
mov    -0x90(%rbp),%rsi
mov    -0x98(%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    0xcf0(%rip),%rdi
mov    $0x0,%al
call   1040 <scanf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1307 <main+0x1e7>
jmp    135c <main+0x23c>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    12f4 <main+0x1d4>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1448 <main+0x328>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1435 <main+0x315>
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    13fc <main+0x2dc>
mov    -0x90(%rbp),%rdx
mov    -0x98(%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    1397 <main+0x277>
mov    -0x80(%rbp),%rax
mov    -0x88(%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    1384 <main+0x264>
jmp    143a <main+0x31a>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1371 <main+0x251>
lea    0xcb1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    14d5 <main+0x3b5>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    14b9 <main+0x399>
mov    -0x80(%rbp),%rax
mov    -0x88(%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    0xc77(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1470 <main+0x350>
lea    0xc59(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    145d <main+0x33d>
jmp    14da <main+0x3ba>
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    0xeaf(%rip),%rdi
call   1040 <puts@plt>
lea    0xe99(%rip),%rdi
lea    -0x2c(%rbp),%rsi
lea    -0x3c(%rbp),%rdx
xor    %eax,%eax
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    0xe8d(%rip),%rdi
call   1040 <puts@plt>
mov    -0x2c(%rbp),%ecx
test   %ecx,%ecx
jle    1223 <main+0xe3>
mov    -0x3c(%rbp),%eax
mov    -0x70(%rbp),%rdx
lea    0x0(,%rdx,4),%rdx
mov    %rdx,-0x58(%rbp)
lea    0xe32(%rip),%r14
mov    -0x68(%rbp),%r12
xor    %r13d,%r13d
jmp    11f0 <main+0xb0>
nopw   0x0(%rax,%rax,1)
add    $0x1,%r13
movslq %ecx,%rdx
add    -0x58(%rbp),%r12
cmp    %rdx,%r13
jge    1223 <main+0xe3>
test   %eax,%eax
jle    11e0 <main+0xa0>
mov    %r12,%rbx
xor    %r15d,%r15d
nopw   0x0(%rax,%rax,1)
mov    %r14,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1060 <scanf@plt>
add    $0x1,%r15
movslq -0x3c(%rbp),%rax
add    $0x4,%rbx
cmp    %rax,%r15
jl     1200 <main+0xc0>
mov    -0x2c(%rbp),%ecx
jmp    11e0 <main+0xa0>
lea    0xe2d(%rip),%rdi
call   1040 <puts@plt>
lea    0xdca(%rip),%rdi
lea    -0x4c(%rbp),%rsi
lea    -0x34(%rbp),%rdx
xor    %eax,%eax
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    1326 <main+0x1e6>
lea    0xde5(%rip),%rdi
call   1040 <puts@plt>
mov    -0x4c(%rbp),%eax
mov    %eax,-0x38(%rbp)
test   %eax,%eax
mov    %rbx,-0x88(%rbp)
jle    1337 <main+0x1f7>
mov    -0x34(%rbp),%eax
mov    -0x48(%rbp),%rcx
lea    0x0(,%rcx,4),%rcx
mov    %rcx,-0x58(%rbp)
lea    0xd31(%rip),%r14
mov    -0x60(%rbp),%r12
xor    %r13d,%r13d
jmp    12f1 <main+0x1b1>
nopl   0x0(%rax,%rax,1)
add    $0x1,%r13
movslq -0x38(%rbp),%rcx
add    -0x58(%rbp),%r12
cmp    %rcx,%r13
jge    1337 <main+0x1f7>
test   %eax,%eax
jle    12e0 <main+0x1a0>
mov    %r12,%rbx
xor    %r15d,%r15d
nopl   0x0(%rax,%rax,1)
mov    %r14,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1060 <scanf@plt>
add    $0x1,%r15
movslq -0x34(%rbp),%rax
add    $0x4,%rbx
cmp    %rax,%r15
jl     1300 <main+0x1c0>
mov    -0x4c(%rbp),%ecx
mov    %ecx,-0x38(%rbp)
jmp    12e0 <main+0x1a0>
lea    0xd8f(%rip),%rdi
call   1040 <puts@plt>
jmp    17fd <main+0x6bd>
mov    -0x2c(%rbp),%eax
mov    %rax,-0xb0(%rbp)
test   %eax,%eax
mov    -0x88(%rbp),%r12
jle    1786 <main+0x646>
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    1449 <main+0x309>
nopl   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     1786 <main+0x646>
cmpl   $0x0,-0x90(%rbp)
jle    1420 <main+0x2e0>
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    14d6 <main+0x396>
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     1420 <main+0x2e0>
cmpl   $0x0,-0x38(%rbp)
mov    %rcx,-0xf8(%rbp)
jle    14a0 <main+0x360>
cmpb   $0x0,-0x2d(%rbp)
je     16a0 <main+0x560>
cmpq   $0x0,-0xd8(%rbp)
je     176a <main+0x62a>
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    1520 <main+0x3e0>
testb  $0x1,-0xd0(%rbp)
je     166c <main+0x52c>
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     14a3 <main+0x363>
jmp    16a5 <main+0x565>
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     16e7 <main+0x5a7>
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    16d0 <main+0x590>
cmp    $0x3,%rcx
mov    -0x58(%rbp),%rsi
jb     14a3 <main+0x363>
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    1720 <main+0x5e0>
jmp    14a3 <main+0x363>
pxor   %xmm0,%xmm0
xor    %eax,%eax
pxor   %xmm1,%xmm1
testb  $0x1,-0xd0(%rbp)
jne    15fa <main+0x4ba>
jmp    166c <main+0x52c>
lea    0x915(%rip),%rdi
call   1040 <puts@plt>
cmpl   $0x0,-0x2c(%rbp)
jle    17fd <main+0x6bd>
shlq   $0x2,-0x48(%rbp)
lea    0x862(%rip),%r15
xor    %r14d,%r14d
jmp    17cb <main+0x68b>
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    17fd <main+0x6bd>
cmpl   $0x0,-0x34(%rbp)
jle    17b0 <main+0x670>
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     17e0 <main+0x6a0>
jmp    17b0 <main+0x670>
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 = [47 x i8] c"Liczba wiersz\C3\B3w i kolumn pierwszej macierzy:\0A\00"
@.str.1 = [6 x i8] c"%d %d\00"
@.str.2 = [32 x i8] c"Wprowadz elementy macierzy 1.:\0A\00"
@.str.3 = [3 x i8] c"%d\00"
@.str.4 = [45 x i8] c"Liczba wiersz\C3\B3w i kolumn drugiej macierzy:\0A\00"
@.str.5 = [94 x i8] c"Macierze nie moga byc pomnozone! Kolumny macierzy 1 nie sa rowne liczbie wierszy macierzy 2!\0A\00"
@.str.6 = [32 x i8] c"Wprowadz elementy macierzy 2.:\0A\00"
@.str.7 = [27 x i8] c"Wynik mnozenia macierzy: \0A\00"
@.str.8 = [4 x i8] c"%d\09\00"
@.str.9 = [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 ([47 x i8], [47 x i8]* @.str, i64 0, i64 0))
%18 = call i32 (i8*, i32*, ...) @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32* %2, i32* %3)
%19 = load i32, i32* %2
%20 = zext i32 %19 to i64
%21 = load i32, i32* %3
%22 = zext i32 %21 to i64
%23 = call i8* @llvm.stacksave()
store i8* %23, i8** %10
%24 = mul nuw i64 %20, %22
%25 = alloca i32, i64 %24
store i64 %20, i64* %11
store i64 %22, i64* %12
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %6
br label %27
27: ; preds = %49, %0
%28 = load i32, i32* %6
%29 = load i32, i32* %2
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %52
31: ; preds = %27
store i32 0, i32* %7
br label %32
32: ; preds = %45, %31
%33 = load i32, i32* %7
%34 = load i32, i32* %3
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %48
36: ; preds = %32
%37 = load i32, i32* %6
%38 = sext i32 %37 to i64
%39 = mul nsw i64 %38, %22
%40 = getelementptr inbounds i32, i32* %25, i64 %39
%41 = load i32, i32* %7
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, i32* %40, i64 %42
%44 = call i32 (i8*, i32*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %43)
br label %45
45: ; preds = %36
%46 = load i32, i32* %7
%47 = add nsw i32 %46, 1
store i32 %47, i32* %7
br label %32
48: ; preds = %32
br label %49
49: ; preds = %48
%50 = load i32, i32* %6
%51 = add nsw i32 %50, 1
store i32 %51, i32* %6
br label %27
52: ; preds = %27
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.4, i64 0, i64 0))
%54 = call i32 (i8*, i32*, ...) @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32* %4, i32* %5)
%55 = load i32, i32* %4
%56 = zext i32 %55 to i64
%57 = load i32, i32* %5
%58 = zext i32 %57 to i64
%59 = mul nuw i64 %56, %58
%60 = alloca i32, i64 %59
store i64 %56, i64* %13
store i64 %58, i64* %14
%61 = load i32, i32* %2
%62 = zext i32 %61 to i64
%63 = load i32, i32* %5
%64 = zext i32 %63 to i64
%65 = mul nuw i64 %62, %64
%66 = alloca i32, i64 %65
store i64 %62, i64* %15
store i64 %64, i64* %16
%67 = load i32, i32* %3
%68 = load i32, i32* %4
%69 = icmp ne i32 %67, %68
br i1 %69, label %70, label %72
70: ; preds = %52
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([94 x i8], [94 x i8]* @.str.5, i64 0, i64 0))
br label %183
72: ; preds = %52
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0))
store i32 0, i32* %6
br label %74
74: ; preds = %96, %72
%75 = load i32, i32* %6
%76 = load i32, i32* %4
%77 = icmp slt i32 %75, %76
br i1 %77, label %78, label %99
78: ; preds = %74
store i32 0, i32* %7
br label %79
79: ; preds = %92, %78
%80 = load i32, i32* %7
%81 = load i32, i32* %5
%82 = icmp slt i32 %80, %81
br i1 %82, label %83, label %95
83: ; preds = %79
%84 = load i32, i32* %6
%85 = sext i32 %84 to i64
%86 = mul nsw i64 %85, %58
%87 = getelementptr inbounds i32, i32* %60, i64 %86
%88 = load i32, i32* %7
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i32, i32* %87, i64 %89
%91 = call i32 (i8*, i32*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %90)
br label %92
92: ; preds = %83
%93 = load i32, i32* %7
%94 = add nsw i32 %93, 1
store i32 %94, i32* %7
br label %79
95: ; preds = %79
br label %96
96: ; preds = %95
%97 = load i32, i32* %6
%98 = add nsw i32 %97, 1
store i32 %98, i32* %6
br label %74
99: ; preds = %74
store i32 0, i32* %6
br label %100
100: ; preds = %150, %99
%101 = load i32, i32* %6
%102 = load i32, i32* %2
%103 = icmp slt i32 %101, %102
br i1 %103, label %104, label %153
104: ; preds = %100
store i32 0, i32* %7
br label %105
105: ; preds = %146, %104
%106 = load i32, i32* %7
%107 = load i32, i32* %5
%108 = icmp slt i32 %106, %107
br i1 %108, label %109, label %149
109: ; preds = %105
store i32 0, i32* %8
br label %110
110: ; preds = %134, %109
%111 = load i32, i32* %8
%112 = load i32, i32* %4
%113 = icmp slt i32 %111, %112
br i1 %113, label %114, label %137
114: ; preds = %110
%115 = load i32, i32* %9
%116 = load i32, i32* %6
%117 = sext i32 %116 to i64
%118 = mul nsw i64 %117, %22
%119 = getelementptr inbounds i32, i32* %25, i64 %118
%120 = load i32, i32* %8
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i32, i32* %119, i64 %121
%123 = load i32, i32* %122
%124 = load i32, i32* %8
%125 = sext i32 %124 to i64
%126 = mul nsw i64 %125, %58
%127 = getelementptr inbounds i32, i32* %60, i64 %126
%128 = load i32, i32* %7
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds i32, i32* %127, i64 %129
%131 = load i32, i32* %130
%132 = mul nsw i32 %123, %131
%133 = add nsw i32 %115, %132
store i32 %133, i32* %9
br label %134
134: ; preds = %114
%135 = load i32, i32* %8
%136 = add nsw i32 %135, 1
store i32 %136, i32* %8
br label %110
137: ; preds = %110
%138 = load i32, i32* %9
%139 = load i32, i32* %6
%140 = sext i32 %139 to i64
%141 = mul nsw i64 %140, %64
%142 = getelementptr inbounds i32, i32* %66, i64 %141
%143 = load i32, i32* %7
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds i32, i32* %142, i64 %144
store i32 %138, i32* %145
store i32 0, i32* %9
br label %146
146: ; preds = %137
%147 = load i32, i32* %7
%148 = add nsw i32 %147, 1
store i32 %148, i32* %7
br label %105
149: ; preds = %105
br label %150
150: ; preds = %149
%151 = load i32, i32* %6
%152 = add nsw i32 %151, 1
store i32 %152, i32* %6
br label %100
153: ; preds = %100
%154 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.7, i64 0, i64 0))
store i32 0, i32* %6
br label %155
155: ; preds = %179, %153
%156 = load i32, i32* %6
%157 = load i32, i32* %2
%158 = icmp slt i32 %156, %157
br i1 %158, label %159, label %182
159: ; preds = %155
store i32 0, i32* %7
br label %160
160: ; preds = %174, %159
%161 = load i32, i32* %7
%162 = load i32, i32* %5
%163 = icmp slt i32 %161, %162
br i1 %163, label %164, label %177
164: ; preds = %160
%165 = load i32, i32* %6
%166 = sext i32 %165 to i64
%167 = mul nsw i64 %166, %64
%168 = getelementptr inbounds i32, i32* %66, i64 %167
%169 = load i32, i32* %7
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds i32, i32* %168, i64 %170
%172 = load i32, i32* %171
%173 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i32 %172)
br label %174
174: ; preds = %164
%175 = load i32, i32* %7
%176 = add nsw i32 %175, 1
store i32 %176, i32* %7
br label %160
177: ; preds = %160
%178 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
br label %179
179: ; preds = %177
%180 = load i32, i32* %6
%181 = add nsw i32 %180, 1
store i32 %181, i32* %6
br label %155
182: ; preds = %155
br label %183
183: ; preds = %182, %70
store i32 0, i32* %1
%184 = load i8*, i8** %10
%185 = load i32, i32* %1
ret i32 %185
}

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