#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 main(void) {
  float a[10][10], b[10][10];
  float s[10][10], p[10][10];
  int filas_a, columnas_a, filas_b, columnas_b;
  int filas_s, columnas_s, filas_p, columnas_p;
  int i, j, k;
  printf("filas de a  : ");
  scanf("%d", &filas_a);
  printf("Columnas de a: ");
  scanf("%d", &columnas_a);
  for (i = 0; i < filas_a; i++) {
    for (j = 0; j < columnas_a; j++) {
      printf("Elementos (%d, %d): ", i, j);
      scanf("%f", &a[i][j]);
    }
  }
  printf("Filas de a : ");
  scanf("%d", &filas_b);
  printf("Columnas de a: ");
  scanf("%d", &columnas_b);
  for (i = 0; i < filas_b; i++) {
    for (j = 0; j < columnas_b; j++) {
      printf("Eelementos (%d, %d)", i, j);
      scanf("%f", &b[i][j]);
    }
  }
  if (filas_a == filas_b && columnas_a == columnas_b) {
    filas_s = filas_a;
    columnas_s = columnas_a;
    for (i = 0; i < filas_s; i++) {
      for (j = 0; j < filas_a; j++) {
        s[i][j] = a[i][j] + b[i][j];
      }
    }
  }
  if (columnas_a == filas_b) {
    filas_p = filas_a;
    columnas_p = columnas_b;
    for (i = 0; i < filas_p; i++) {
      for (j = 0; j < columnas_p; j++) {
        p[i][j] = 0.0;
        for (k = 0; k < columnas_a; k++) {
          p[i][j] += a[i][k] * b[k][j];
        }
      }
    }
  }
  if (filas_a == filas_b && columnas_a == columnas_b) {
    printf("Suma\n");
    for (i = 0; i < filas_s; i++) {
      for (j = 0; j < columnas_s; j++) {
        printf("%8.3f", s[i][j]);
      }
      printf("\n");
    }
  } else {
    printf("Matrices no compatibles para la suma\n");
  }
  if (columnas_a == filas_b) {
    printf("Producto\n");
    for (i = 0; i < filas_p; i++) {
      for (j = 0; j < columnas_p; j++) {
        printf("%8.3f", p[i][j]);
      }
      printf("\n");
    }
  } else {
    printf("Matrices no compatible par el producto\n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x680,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xec7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xec8(%rip),%rdi
lea    -0x654(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    0xeb6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xea5(%rip),%rdi
lea    -0x658(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
movl   $0x0,-0x674(%rbp)
mov    -0x674(%rbp),%eax
cmp    -0x654(%rbp),%eax
jge    1228 <main+0x108>
movl   $0x0,-0x678(%rbp)
mov    -0x678(%rbp),%eax
cmp    -0x658(%rbp),%eax
jge    120f <main+0xef>
mov    -0x674(%rbp),%esi
mov    -0x678(%rbp),%edx
lea    0xe5f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x674(%rbp),%rax
lea    -0x1a0(%rbp),%rsi
imul   $0x28,%rax,%rax
add    %rax,%rsi
movslq -0x678(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xe43(%rip),%rdi
mov    $0x0,%al
call   1040 <scanf@plt>
mov    -0x678(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x678(%rbp)
jmp    119e <main+0x7e>
jmp    1214 <main+0xf4>
mov    -0x674(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x674(%rbp)
jmp    1182 <main+0x62>
lea    0xe0b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdd2(%rip),%rdi
lea    -0x65c(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    0xdc0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdaf(%rip),%rdi
lea    -0x660(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
movl   $0x0,-0x674(%rbp)
mov    -0x674(%rbp),%eax
cmp    -0x65c(%rbp),%eax
jge    131e <main+0x1fe>
movl   $0x0,-0x678(%rbp)
mov    -0x678(%rbp),%eax
cmp    -0x660(%rbp),%eax
jge    1305 <main+0x1e5>
mov    -0x674(%rbp),%esi
mov    -0x678(%rbp),%edx
lea    0xd8f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x674(%rbp),%rax
lea    -0x330(%rbp),%rsi
imul   $0x28,%rax,%rax
add    %rax,%rsi
movslq -0x678(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xd4d(%rip),%rdi
mov    $0x0,%al
call   1040 <scanf@plt>
mov    -0x678(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x678(%rbp)
jmp    1294 <main+0x174>
jmp    130a <main+0x1ea>
mov    -0x674(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x674(%rbp)
jmp    1278 <main+0x158>
mov    -0x654(%rbp),%eax
cmp    -0x65c(%rbp),%eax
jne    1427 <main+0x307>
mov    -0x658(%rbp),%eax
cmp    -0x660(%rbp),%eax
jne    1427 <main+0x307>
mov    -0x654(%rbp),%eax
mov    %eax,-0x664(%rbp)
mov    -0x658(%rbp),%eax
mov    %eax,-0x668(%rbp)
movl   $0x0,-0x674(%rbp)
mov    -0x674(%rbp),%eax
cmp    -0x664(%rbp),%eax
jge    1422 <main+0x302>
movl   $0x0,-0x678(%rbp)
mov    -0x678(%rbp),%eax
cmp    -0x654(%rbp),%eax
jge    1409 <main+0x2e9>
movslq -0x674(%rbp),%rcx
lea    -0x1a0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x678(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
movslq -0x674(%rbp),%rcx
lea    -0x330(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x678(%rbp),%rcx
addss  (%rax,%rcx,4),%xmm0
movslq -0x674(%rbp),%rcx
lea    -0x4c0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x678(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x678(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x678(%rbp)
jmp    1380 <main+0x260>
jmp    140e <main+0x2ee>
mov    -0x674(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x674(%rbp)
jmp    1364 <main+0x244>
jmp    1427 <main+0x307>
mov    -0x658(%rbp),%eax
cmp    -0x65c(%rbp),%eax
jne    1584 <main+0x464>
mov    -0x654(%rbp),%eax
mov    %eax,-0x66c(%rbp)
mov    -0x660(%rbp),%eax
mov    %eax,-0x670(%rbp)
movl   $0x0,-0x674(%rbp)
mov    -0x674(%rbp),%eax
cmp    -0x66c(%rbp),%eax
jge    157f <main+0x45f>
movl   $0x0,-0x678(%rbp)
mov    -0x678(%rbp),%eax
cmp    -0x670(%rbp),%eax
jge    1566 <main+0x446>
movslq -0x674(%rbp),%rcx
lea    -0x650(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x678(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
movl   $0x0,-0x67c(%rbp)
mov    -0x67c(%rbp),%eax
cmp    -0x658(%rbp),%eax
jge    154d <main+0x42d>
movslq -0x674(%rbp),%rcx
lea    -0x1a0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x67c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
movslq -0x67c(%rbp),%rcx
lea    -0x330(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x678(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm2
movslq -0x674(%rbp),%rcx
lea    -0x650(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x678(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x67c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x67c(%rbp)
jmp    14b7 <main+0x397>
jmp    1552 <main+0x432>
mov    -0x678(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x678(%rbp)
jmp    1477 <main+0x357>
jmp    156b <main+0x44b>
mov    -0x674(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x674(%rbp)
jmp    145b <main+0x33b>
jmp    1584 <main+0x464>
mov    -0x654(%rbp),%eax
cmp    -0x65c(%rbp),%eax
jne    165c <main+0x53c>
mov    -0x658(%rbp),%eax
cmp    -0x660(%rbp),%eax
jne    165c <main+0x53c>
lea    0xaad(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x674(%rbp)
mov    -0x674(%rbp),%eax
cmp    -0x664(%rbp),%eax
jge    1657 <main+0x537>
movl   $0x0,-0x678(%rbp)
mov    -0x678(%rbp),%eax
cmp    -0x668(%rbp),%eax
jge    1635 <main+0x515>
movslq -0x674(%rbp),%rcx
lea    -0x4c0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x678(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xa48(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x678(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x678(%rbp)
jmp    15dc <main+0x4bc>
lea    0xa24(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x674(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x674(%rbp)
jmp    15c0 <main+0x4a0>
jmp    166a <main+0x54a>
lea    0xa05(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x658(%rbp),%eax
cmp    -0x65c(%rbp),%eax
jne    1730 <main+0x610>
lea    0xa0b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x674(%rbp)
mov    -0x674(%rbp),%eax
cmp    -0x66c(%rbp),%eax
jge    172b <main+0x60b>
movl   $0x0,-0x678(%rbp)
mov    -0x678(%rbp),%eax
cmp    -0x670(%rbp),%eax
jge    1709 <main+0x5e9>
movslq -0x674(%rbp),%rcx
lea    -0x650(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x678(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0x974(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x678(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x678(%rbp)
jmp    16b0 <main+0x590>
lea    0x950(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x674(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x674(%rbp)
jmp    1694 <main+0x574>
jmp    173e <main+0x61e>
lea    0x961(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x680,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x678,%rsp
lea    0xea8(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xea9(%rip),%rbx
lea    0x14(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <scanf@plt>
lea    0xe96(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xc(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <scanf@plt>
mov    0x14(%rsp),%ecx
test   %ecx,%ecx
jle    1214 <main+0xd4>
lea    0x1c0(%rsp),%rbp
mov    0xc(%rsp),%eax
lea    0xe75(%rip),%r14
lea    0xe83(%rip),%r15
xor    %r12d,%r12d
jmp    11d0 <main+0x90>
nopl   0x0(%rax)
add    $0x1,%r12
movslq %ecx,%rdx
add    $0x28,%rbp
cmp    %rdx,%r12
jge    1214 <main+0xd4>
test   %eax,%eax
jle    11c0 <main+0x80>
mov    %rbp,%r13
xor    %ebx,%ebx
nopl   0x0(%rax)
mov    %r14,%rdi
mov    %r12d,%esi
mov    %ebx,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r15,%rdi
mov    %r13,%rsi
xor    %eax,%eax
call   1060 <scanf@plt>
add    $0x1,%rbx
movslq 0xc(%rsp),%rax
add    $0x4,%r13
cmp    %rax,%rbx
jl     11e0 <main+0xa0>
mov    0x14(%rsp),%ecx
jmp    11c0 <main+0x80>
lea    0xe1f(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xde6(%rip),%rbx
lea    0x10(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <scanf@plt>
lea    0xdd3(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x8(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <scanf@plt>
mov    0x10(%rsp),%r13d
test   %r13d,%r13d
jle    12d5 <main+0x195>
lea    0x30(%rsp),%rbp
mov    0x8(%rsp),%eax
lea    0xdd9(%rip),%r14
lea    0xdc1(%rip),%r15
xor    %r12d,%r12d
jmp    1290 <main+0x150>
nopl   0x0(%rax,%rax,1)
add    $0x1,%r12
movslq %r13d,%rcx
add    $0x28,%rbp
cmp    %rcx,%r12
jge    12d5 <main+0x195>
test   %eax,%eax
jle    1280 <main+0x140>
mov    %rbp,%r13
xor    %ebx,%ebx
nopl   0x0(%rax)
mov    %r14,%rdi
mov    %r12d,%esi
mov    %ebx,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r15,%rdi
mov    %r13,%rsi
xor    %eax,%eax
call   1060 <scanf@plt>
add    $0x1,%rbx
movslq 0x8(%rsp),%rax
add    $0x4,%r13
cmp    %rax,%rbx
jl     12a0 <main+0x160>
mov    0x10(%rsp),%r13d
jmp    1280 <main+0x140>
mov    0x14(%rsp),%eax
mov    0xc(%rsp),%r15d
mov    %rax,0x20(%rsp)
cmp    %r13d,%eax
jne    149d <main+0x35d>
cmp    0x8(%rsp),%r15d
jne    149d <main+0x35d>
test   %r13d,%r13d
jle    149d <main+0x35d>
mov    %r13d,%r14d
mov    %r14d,%esi
and    $0xfffffff8,%esi
lea    -0x8(%rsi),%r10
mov    %r10,%r11
shr    $0x3,%r11
add    $0x1,%r11
mov    %r11,%rax
and    $0xfffffffffffffffe,%rax
mov    %rax,0x18(%rsp)
lea    0x1f0(%rsp),%rbx
lea    0x60(%rsp),%rdi
lea    0x380(%rsp),%rdx
lea    0x1c0(%rsp),%r9
lea    0x30(%rsp),%rcx
lea    0x350(%rsp),%rbp
xor    %r12d,%r12d
mov    %rsi,0x28(%rsp)
jmp    1385 <main+0x245>
nopl   0x0(%rax,%rax,1)
add    $0x1,%r12
add    $0x28,%rbx
add    $0x28,%rdi
add    $0x28,%rdx
add    $0x28,%r9
add    $0x28,%rcx
add    $0x28,%rbp
cmp    %r14,%r12
je     149d <main+0x35d>
cmp    $0x8,%r13d
jae    13a0 <main+0x260>
xor    %eax,%eax
jmp    1470 <main+0x330>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
test   %r10,%r10
je     148f <main+0x34f>
mov    0x18(%rsp),%r8
xor    %eax,%eax
movups -0x30(%rbx,%rax,4),%xmm0
movups -0x20(%rbx,%rax,4),%xmm1
movups -0x30(%rdi,%rax,4),%xmm2
addps  %xmm0,%xmm2
movups -0x20(%rdi,%rax,4),%xmm0
addps  %xmm1,%xmm0
movups %xmm2,-0x30(%rdx,%rax,4)
movups %xmm0,-0x20(%rdx,%rax,4)
movups -0x10(%rbx,%rax,4),%xmm0
movups (%rbx,%rax,4),%xmm1
movups -0x10(%rdi,%rax,4),%xmm2
addps  %xmm0,%xmm2
movups (%rdi,%rax,4),%xmm0
addps  %xmm1,%xmm0
movups %xmm2,-0x10(%rdx,%rax,4)
movups %xmm0,(%rdx,%rax,4)
add    $0x10,%rax
add    $0xfffffffffffffffe,%r8
jne    13b0 <main+0x270>
test   $0x1,%r11b
je     1455 <main+0x315>
lea    0x0(,%r12,8),%rsi
lea    (%rsi,%rsi,4),%rsi
lea    (%rsp,%rsi,1),%r8
add    $0x1c0,%r8
movups (%r8,%rax,4),%xmm0
movups 0x10(%r8,%rax,4),%xmm1
lea    0x30(%rsp,%rsi,1),%r8
movups (%r8,%rax,4),%xmm2
addps  %xmm0,%xmm2
movups 0x10(%r8,%rax,4),%xmm0
addps  %xmm1,%xmm0
add    %rsp,%rsi
add    $0x350,%rsi
movups %xmm2,(%rsi,%rax,4)
movups %xmm0,0x10(%rsi,%rax,4)
mov    0x28(%rsp),%rsi
mov    %rsi,%rax
cmp    %r14,%rsi
je     1360 <main+0x220>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movss  (%r9,%rax,4),%xmm0
addss  (%rcx,%rax,4),%xmm0
movss  %xmm0,0x0(%rbp,%rax,4)
add    $0x1,%rax
cmp    %rax,%r14
jne    1470 <main+0x330>
jmp    1360 <main+0x220>
xor    %eax,%eax
test   $0x1,%r11b
jne    1405 <main+0x2c5>
jmp    1455 <main+0x315>
mov    0x8(%rsp),%r14d
cmp    %r13d,%r15d
mov    0x20(%rsp),%r12
jne    15b0 <main+0x470>
test   %r12d,%r12d
jle    15b0 <main+0x470>
mov    %r13d,%r9d
mov    %r9d,%ecx
and    $0xfffffffe,%ecx
lea    0x1c4(%rsp),%rdx
xor    %r10d,%r10d
lea    0x30(%rsp),%r8
jmp    14f1 <main+0x3b1>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
add    $0x1,%r10
add    $0x28,%rdx
cmp    %r12,%r10
je     15b0 <main+0x470>
test   %r14d,%r14d
jle    14e0 <main+0x3a0>
mov    %r8,%rbx
xor    %ebp,%ebp
jmp    1515 <main+0x3d5>
nopl   (%rax)
lea    (%rax,%rbp,4),%rax
movss  %xmm0,(%rax)
add    $0x1,%rbp
add    $0x4,%rbx
cmp    %r14,%rbp
je     14e0 <main+0x3a0>
lea    (%r10,%r10,4),%r11
lea    (%rsp,%r11,8),%rax
add    $0x4e0,%rax
movl   $0x0,(%rax,%rbp,4)
test   %r13d,%r13d
jle    1508 <main+0x3c8>
cmp    $0x1,%r13d
jne    1540 <main+0x400>
xorps  %xmm0,%xmm0
xor    %esi,%esi
jmp    157c <main+0x43c>
nopl   0x0(%rax)
xorps  %xmm1,%xmm1
mov    %rbx,%rdi
xor    %esi,%esi
nopl   0x0(%rax,%rax,1)
movss  -0x4(%rdx,%rsi,4),%xmm2
mulss  (%rdi),%xmm2
movss  (%rdx,%rsi,4),%xmm0
addss  %xmm1,%xmm2
mulss  0x28(%rdi),%xmm0
addss  %xmm2,%xmm0
add    $0x2,%rsi
add    $0x50,%rdi
movaps %xmm0,%xmm1
cmp    %rsi,%rcx
jne    1550 <main+0x410>
test   $0x1,%r9b
je     1500 <main+0x3c0>
lea    (%rsp,%r11,8),%rdi
add    $0x1c0,%rdi
movss  (%rdi,%rsi,4),%xmm1
lea    (%rsi,%rsi,4),%rsi
lea    (%rsp,%rsi,8),%rsi
add    $0x30,%rsi
mulss  (%rsi,%rbp,4),%xmm1
addss  %xmm1,%xmm0
jmp    1500 <main+0x3c0>
cmp    %r13d,%r12d
jne    1640 <main+0x500>
cmp    %r14d,%r15d
jne    1640 <main+0x500>
lea    0xaee(%rip),%rdi
call   1040 <puts@plt>
test   %r13d,%r13d
jle    164c <main+0x50c>
mov    %r13d,%eax
mov    %rax,0x18(%rsp)
lea    0x350(%rsp),%rbp
xor    %ebx,%ebx
lea    0xa70(%rip),%r12
jmp    1609 <main+0x4c9>
xchg   %ax,%ax
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1,%rbx
add    $0x28,%rbp
cmp    0x18(%rsp),%rbx
je     164c <main+0x50c>
test   %r15d,%r15d
jle    15f0 <main+0x4b0>
xor    %r13d,%r13d
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movss  0x0(%rbp,%r13,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
add    $0x1,%r13
cmp    %r13,%r15
jne    1620 <main+0x4e0>
jmp    15f0 <main+0x4b0>
lea    0xa1b(%rip),%rdi
call   1040 <puts@plt>
mov    0xc(%rsp),%eax
cmp    0x10(%rsp),%eax
jne    16be <main+0x57e>
lea    0xa51(%rip),%rdi
call   1040 <puts@plt>
cmpl   $0x0,0x20(%rsp)
jle    16ca <main+0x58a>
lea    0x4e0(%rsp),%rbx
xor    %r12d,%r12d
lea    0x9e1(%rip),%r15
jmp    1699 <main+0x559>
nopl   (%rax)
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1,%r12
add    $0x28,%rbx
cmp    0x20(%rsp),%r12
je     16ca <main+0x58a>
test   %r14d,%r14d
jle    1680 <main+0x540>
xor    %ebp,%ebp
movss  (%rbx,%rbp,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
add    $0x1,%rbp
cmp    %rbp,%r14
jne    16a0 <main+0x560>
jmp    1680 <main+0x540>
lea    0x9c2(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
add    $0x678,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [15 x i8] c"filas de a : \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [16 x i8] c"Columnas de a: \00"
@.str.3 = [21 x i8] c"Elementos (%d, %d): \00"
@.str.4 = [3 x i8] c"%f\00"
@.str.5 = [14 x i8] c"Filas de a : \00"
@.str.6 = [20 x i8] c"Eelementos (%d, %d)\00"
@.str.7 = [6 x i8] c"Suma\0A\00"
@.str.8 = [6 x i8] c"%8.3f\00"
@.str.9 = [2 x i8] c"\0A\00"
@.str.10 = [38 x i8] c"Matrices no compatibles para la suma\0A\00"
@.str.11 = [10 x i8] c"Producto\0A\00"
@.str.12 = [40 x i8] c"Matrices no compatible par el producto\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [10 x [10 x float]]
%3 = alloca [10 x [10 x float]]
%4 = alloca [10 x [10 x float]]
%5 = alloca [10 x [10 x float]]
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
store i32 0, i32* %1
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0))
%18 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %6)
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0))
%20 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %7)
store i32 0, i32* %14
br label %21
21: ; preds = %45, %0
%22 = load i32, i32* %14
%23 = load i32, i32* %6
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %48
25: ; preds = %21
store i32 0, i32* %15
br label %26
26: ; preds = %41, %25
%27 = load i32, i32* %15
%28 = load i32, i32* %7
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %44
30: ; preds = %26
%31 = load i32, i32* %14
%32 = load i32, i32* %15
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), i32 %31, i32 %32)
%34 = load i32, i32* %14
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [10 x [10 x float]], [10 x [10 x float]]* %2, i64 0, i64 %35
%37 = load i32, i32* %15
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [10 x float], [10 x float]* %36, i64 0, i64 %38
%40 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), float* %39)
br label %41
41: ; preds = %30
%42 = load i32, i32* %15
%43 = add nsw i32 %42, 1
store i32 %43, i32* %15
br label %26
44: ; preds = %26
br label %45
45: ; preds = %44
%46 = load i32, i32* %14
%47 = add nsw i32 %46, 1
store i32 %47, i32* %14
br label %21
48: ; preds = %21
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0))
%50 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %8)
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0))
%52 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %9)
store i32 0, i32* %14
br label %53
53: ; preds = %77, %48
%54 = load i32, i32* %14
%55 = load i32, i32* %8
%56 = icmp slt i32 %54, %55
br i1 %56, label %57, label %80
57: ; preds = %53
store i32 0, i32* %15
br label %58
58: ; preds = %73, %57
%59 = load i32, i32* %15
%60 = load i32, i32* %9
%61 = icmp slt i32 %59, %60
br i1 %61, label %62, label %76
62: ; preds = %58
%63 = load i32, i32* %14
%64 = load i32, i32* %15
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0), i32 %63, i32 %64)
%66 = load i32, i32* %14
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [10 x [10 x float]], [10 x [10 x float]]* %3, i64 0, i64 %67
%69 = load i32, i32* %15
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [10 x float], [10 x float]* %68, i64 0, i64 %70
%72 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), float* %71)
br label %73
73: ; preds = %62
%74 = load i32, i32* %15
%75 = add nsw i32 %74, 1
store i32 %75, i32* %15
br label %58
76: ; preds = %58
br label %77
77: ; preds = %76
%78 = load i32, i32* %14
%79 = add nsw i32 %78, 1
store i32 %79, i32* %14
br label %53
80: ; preds = %53
%81 = load i32, i32* %6
%82 = load i32, i32* %8
%83 = icmp eq i32 %81, %82
br i1 %83, label %84, label %130
84: ; preds = %80
%85 = load i32, i32* %7
%86 = load i32, i32* %9
%87 = icmp eq i32 %85, %86
br i1 %87, label %88, label %130
88: ; preds = %84
%89 = load i32, i32* %6
store i32 %89, i32* %10
%90 = load i32, i32* %7
store i32 %90, i32* %11
store i32 0, i32* %14
br label %91
91: ; preds = %126, %88
%92 = load i32, i32* %14
%93 = load i32, i32* %10
%94 = icmp slt i32 %92, %93
br i1 %94, label %95, label %129
95: ; preds = %91
store i32 0, i32* %15
br label %96
96: ; preds = %122, %95
%97 = load i32, i32* %15
%98 = load i32, i32* %6
%99 = icmp slt i32 %97, %98
br i1 %99, label %100, label %125
100: ; preds = %96
%101 = load i32, i32* %14
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [10 x [10 x float]], [10 x [10 x float]]* %2, i64 0, i64 %102
%104 = load i32, i32* %15
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds [10 x float], [10 x float]* %103, i64 0, i64 %105
%107 = load float, float* %106
%108 = load i32, i32* %14
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds [10 x [10 x float]], [10 x [10 x float]]* %3, i64 0, i64 %109
%111 = load i32, i32* %15
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds [10 x float], [10 x float]* %110, i64 0, i64 %112
%114 = load float, float* %113
%115 = fadd float %107, %114
%116 = load i32, i32* %14
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds [10 x [10 x float]], [10 x [10 x float]]* %4, i64 0, i64 %117
%119 = load i32, i32* %15
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds [10 x float], [10 x float]* %118, i64 0, i64 %120
store float %115, float* %121
br label %122
122: ; preds = %100
%123 = load i32, i32* %15
%124 = add nsw i32 %123, 1
store i32 %124, i32* %15
br label %96
125: ; preds = %96
br label %126
126: ; preds = %125
%127 = load i32, i32* %14
%128 = add nsw i32 %127, 1
store i32 %128, i32* %14
br label %91
129: ; preds = %91
br label %130
130: ; preds = %129, %84, %80
%131 = load i32, i32* %7
%132 = load i32, i32* %8
%133 = icmp eq i32 %131, %132
br i1 %133, label %134, label %192
134: ; preds = %130
%135 = load i32, i32* %6
store i32 %135, i32* %12
%136 = load i32, i32* %9
store i32 %136, i32* %13
store i32 0, i32* %14
br label %137
137: ; preds = %188, %134
%138 = load i32, i32* %14
%139 = load i32, i32* %12
%140 = icmp slt i32 %138, %139
br i1 %140, label %141, label %191
141: ; preds = %137
store i32 0, i32* %15
br label %142
142: ; preds = %184, %141
%143 = load i32, i32* %15
%144 = load i32, i32* %13
%145 = icmp slt i32 %143, %144
br i1 %145, label %146, label %187
146: ; preds = %142
%147 = load i32, i32* %14
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds [10 x [10 x float]], [10 x [10 x float]]* %5, i64 0, i64 %148
%150 = load i32, i32* %15
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds [10 x float], [10 x float]* %149, i64 0, i64 %151
store float 0.000000e+00, float* %152
store i32 0, i32* %16
br label %153
153: ; preds = %180, %146
%154 = load i32, i32* %16
%155 = load i32, i32* %7
%156 = icmp slt i32 %154, %155
br i1 %156, label %157, label %183
157: ; preds = %153
%158 = load i32, i32* %14
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds [10 x [10 x float]], [10 x [10 x float]]* %2, i64 0, i64 %159
%161 = load i32, i32* %16
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds [10 x float], [10 x float]* %160, i64 0, i64 %162
%164 = load float, float* %163
%165 = load i32, i32* %16
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds [10 x [10 x float]], [10 x [10 x float]]* %3, i64 0, i64 %166
%168 = load i32, i32* %15
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds [10 x float], [10 x float]* %167, i64 0, i64 %169
%171 = load float, float* %170
%172 = load i32, i32* %14
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds [10 x [10 x float]], [10 x [10 x float]]* %5, i64 0, i64 %173
%175 = load i32, i32* %15
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds [10 x float], [10 x float]* %174, i64 0, i64 %176
%178 = load float, float* %177
%179 = call float @llvm.fmuladd.f32(float %164, float %171, float %178)
store float %179, float* %177
br label %180
180: ; preds = %157
%181 = load i32, i32* %16
%182 = add nsw i32 %181, 1
store i32 %182, i32* %16
br label %153
183: ; preds = %153
br label %184
184: ; preds = %183
%185 = load i32, i32* %15
%186 = add nsw i32 %185, 1
store i32 %186, i32* %15
br label %142
187: ; preds = %142
br label %188
188: ; preds = %187
%189 = load i32, i32* %14
%190 = add nsw i32 %189, 1
store i32 %190, i32* %14
br label %137
191: ; preds = %137
br label %192
192: ; preds = %191, %130
%193 = load i32, i32* %6
%194 = load i32, i32* %8
%195 = icmp eq i32 %193, %194
br i1 %195, label %196, label %230
196: ; preds = %192
%197 = load i32, i32* %7
%198 = load i32, i32* %9
%199 = icmp eq i32 %197, %198
br i1 %199, label %200, label %230
200: ; preds = %196
%201 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
store i32 0, i32* %14
br label %202
202: ; preds = %226, %200
%203 = load i32, i32* %14
%204 = load i32, i32* %10
%205 = icmp slt i32 %203, %204
br i1 %205, label %206, label %229
206: ; preds = %202
store i32 0, i32* %15
br label %207
207: ; preds = %221, %206
%208 = load i32, i32* %15
%209 = load i32, i32* %11
%210 = icmp slt i32 %208, %209
br i1 %210, label %211, label %224
211: ; preds = %207
%212 = load i32, i32* %14
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds [10 x [10 x float]], [10 x [10 x float]]* %4, i64 0, i64 %213
%215 = load i32, i32* %15
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds [10 x float], [10 x float]* %214, i64 0, i64 %216
%218 = load float, float* %217
%219 = fpext float %218 to double
%220 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), double %219)
br label %221
221: ; preds = %211
%222 = load i32, i32* %15
%223 = add nsw i32 %222, 1
store i32 %223, i32* %15
br label %207
224: ; preds = %207
%225 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
br label %226
226: ; preds = %224
%227 = load i32, i32* %14
%228 = add nsw i32 %227, 1
store i32 %228, i32* %14
br label %202
229: ; preds = %202
br label %232
230: ; preds = %196, %192
%231 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.10, i64 0, i64 0))
br label %232
232: ; preds = %230, %229
%233 = load i32, i32* %7
%234 = load i32, i32* %8
%235 = icmp eq i32 %233, %234
br i1 %235, label %236, label %266
236: ; preds = %232
%237 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
store i32 0, i32* %14
br label %238
238: ; preds = %262, %236
%239 = load i32, i32* %14
%240 = load i32, i32* %12
%241 = icmp slt i32 %239, %240
br i1 %241, label %242, label %265
242: ; preds = %238
store i32 0, i32* %15
br label %243
243: ; preds = %257, %242
%244 = load i32, i32* %15
%245 = load i32, i32* %13
%246 = icmp slt i32 %244, %245
br i1 %246, label %247, label %260
247: ; preds = %243
%248 = load i32, i32* %14
%249 = sext i32 %248 to i64
%250 = getelementptr inbounds [10 x [10 x float]], [10 x [10 x float]]* %5, i64 0, i64 %249
%251 = load i32, i32* %15
%252 = sext i32 %251 to i64
%253 = getelementptr inbounds [10 x float], [10 x float]* %250, i64 0, i64 %252
%254 = load float, float* %253
%255 = fpext float %254 to double
%256 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), double %255)
br label %257
257: ; preds = %247
%258 = load i32, i32* %15
%259 = add nsw i32 %258, 1
store i32 %259, i32* %15
br label %243
260: ; preds = %243
%261 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
br label %262
262: ; preds = %260
%263 = load i32, i32* %14
%264 = add nsw i32 %263, 1
store i32 %264, i32* %14
br label %238
265: ; preds = %238
br label %268
266: ; preds = %232
%267 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.12, i64 0, i64 0))
br label %268
268: ; preds = %266, %265
ret i32 0
}

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