#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*/ exit(int);
double fabs(float);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, ...);
int main() {
  float matrix[10][2 * 10];
  float temporary, r;
  int i, j, k, n, temp;
  printf(
      "\n  INVERSE OF NON-SINGULAR MATRIX BY GAUSS-JORDAN ELIMINATION  METHOD");
  printf("\n Enter the dimension of the matrix to be provided as input : ");
  scanf("%d", &n);
  printf("\n Enter a non-singular %dx%d matrix : \n", n, n);
  for (i = 0; i < n; i++)
    for (j = 0; j < n; j++)
      scanf("%f", &matrix[i][j]);
  for (i = 0; i < n; i++)
    for (j = n; j < 2 * n; j++)
      if (i == j % n)
        matrix[i][j] = 1;
      else
        matrix[i][j] = 0;
  for (j = 0; j < n; j++) {
    temp = j;
    for (i = j + 1; i < n; i++)
      if (matrix[i][j] > matrix[temp][j])
        temp = i;
    if (fabs(matrix[temp][j]) < 0.0005) {
      printf("\n Elements are too small to deal with !!!");
      exit(1);
    }
    if (temp != j)
      for (k = 0; k < 2 * n; k++) {
        temporary = matrix[j][k];
        matrix[j][k] = matrix[temp][k];
        matrix[temp][k] = temporary;
      }
    for (i = 0; i < n; i++)
      if (i != j) {
        r = matrix[i][j];
        for (k = 0; k < 2 * n; k++)
          matrix[i][k] -= (matrix[j][k] / matrix[j][j]) * r;
      } else {
        r = matrix[i][j];
        for (k = 0; k < 2 * n; k++)
          matrix[i][k] /= r;
      }
  }
  printf("\n After Gauss-Jordan elimination, augmented matrix is : \n\n");
  for (i = 0; i < n; i++) {
    for (j = 0; j < 2 * n; j++)
      printf("  %4.2f", matrix[i][j]);
    printf("\n");
  }
  printf("\n\n\n The inverse of the entered non-singular matrix is : \n\n");
  for (i = 0; i < n; i++) {
    for (j = n; j < 2 * n; j++)
      printf("  %.5f", matrix[i][j]);
    printf("\n");
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x350,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeb3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeeb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf1c(%rip),%rdi
lea    -0x348(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
mov    -0x348(%rbp),%esi
mov    -0x348(%rbp),%edx
lea    0xefe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x33c(%rbp)
mov    -0x33c(%rbp),%eax
cmp    -0x348(%rbp),%eax
jge    1233 <main+0xf3>
movl   $0x0,-0x340(%rbp)
mov    -0x340(%rbp),%eax
cmp    -0x348(%rbp),%eax
jge    121a <main+0xda>
movslq -0x33c(%rbp),%rax
lea    -0x330(%rbp),%rsi
imul   $0x50,%rax,%rax
add    %rax,%rsi
movslq -0x340(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xebd(%rip),%rdi
mov    $0x0,%al
call   1050 <scanf@plt>
mov    -0x340(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x340(%rbp)
jmp    11c3 <main+0x83>
jmp    121f <main+0xdf>
mov    -0x33c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x33c(%rbp)
jmp    11a7 <main+0x67>
movl   $0x0,-0x33c(%rbp)
mov    -0x33c(%rbp),%eax
cmp    -0x348(%rbp),%eax
jge    131d <main+0x1dd>
mov    -0x348(%rbp),%eax
mov    %eax,-0x340(%rbp)
mov    -0x340(%rbp),%eax
mov    -0x348(%rbp),%ecx
shl    $0x1,%ecx
cmp    %ecx,%eax
jge    1304 <main+0x1c4>
mov    -0x33c(%rbp),%eax
mov    %eax,-0x350(%rbp)
mov    -0x340(%rbp),%eax
cltd
idivl  -0x348(%rbp)
mov    -0x350(%rbp),%eax
cmp    %edx,%eax
jne    12c7 <main+0x187>
movslq -0x33c(%rbp),%rcx
lea    -0x330(%rbp),%rax
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
movslq -0x340(%rbp),%rcx
movss  0xd4b(%rip),%xmm0
movss  %xmm0,(%rax,%rcx,4)
jmp    12eb <main+0x1ab>
movslq -0x33c(%rbp),%rcx
lea    -0x330(%rbp),%rax
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
movslq -0x340(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
jmp    12f0 <main+0x1b0>
mov    -0x340(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x340(%rbp)
jmp    125b <main+0x11b>
jmp    1309 <main+0x1c9>
mov    -0x33c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x33c(%rbp)
jmp    123d <main+0xfd>
movl   $0x0,-0x340(%rbp)
mov    -0x340(%rbp),%eax
cmp    -0x348(%rbp),%eax
jge    16e3 <main+0x5a3>
mov    -0x340(%rbp),%eax
mov    %eax,-0x34c(%rbp)
mov    -0x340(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x33c(%rbp)
mov    -0x33c(%rbp),%eax
cmp    -0x348(%rbp),%eax
jge    13d2 <main+0x292>
movslq -0x33c(%rbp),%rcx
lea    -0x330(%rbp),%rax
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
movslq -0x340(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
movslq -0x34c(%rbp),%rcx
lea    -0x330(%rbp),%rax
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
movslq -0x340(%rbp),%rcx
ucomiss (%rax,%rcx,4),%xmm0
jbe    13b9 <main+0x279>
mov    -0x33c(%rbp),%eax
mov    %eax,-0x34c(%rbp)
jmp    13be <main+0x27e>
mov    -0x33c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x33c(%rbp)
jmp    1354 <main+0x214>
movslq -0x34c(%rbp),%rcx
lea    -0x330(%rbp),%rax
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
movslq -0x340(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
call   1040 <fabs@plt>
movaps %xmm0,%xmm1
movsd  0xbfd(%rip),%xmm0
ucomisd %xmm1,%xmm0
jbe    1425 <main+0x2e5>
lea    0xcab(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x1,%edi
call   1060 <exit@plt>
mov    -0x34c(%rbp),%eax
cmp    -0x340(%rbp),%eax
je     1505 <main+0x3c5>
movl   $0x0,-0x344(%rbp)
mov    -0x344(%rbp),%eax
mov    -0x348(%rbp),%ecx
shl    $0x1,%ecx
cmp    %ecx,%eax
jge    1500 <main+0x3c0>
movslq -0x340(%rbp),%rcx
lea    -0x330(%rbp),%rax
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
movslq -0x344(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
movss  %xmm0,-0x334(%rbp)
ff
movslq -0x34c(%rbp),%rcx
lea    -0x330(%rbp),%rax
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
movslq -0x344(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
movslq -0x340(%rbp),%rcx
lea    -0x330(%rbp),%rax
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
movslq -0x344(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
movss  -0x334(%rbp),%xmm0
ff
movslq -0x34c(%rbp),%rcx
lea    -0x330(%rbp),%rax
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
movslq -0x344(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x344(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x344(%rbp)
jmp    1441 <main+0x301>
jmp    1505 <main+0x3c5>
movl   $0x0,-0x33c(%rbp)
mov    -0x33c(%rbp),%eax
cmp    -0x348(%rbp),%eax
jge    16ca <main+0x58a>
mov    -0x33c(%rbp),%eax
cmp    -0x340(%rbp),%eax
je     161c <main+0x4dc>
movslq -0x33c(%rbp),%rcx
lea    -0x330(%rbp),%rax
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
movslq -0x340(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
movss  %xmm0,-0x338(%rbp)
ff
movl   $0x0,-0x344(%rbp)
mov    -0x344(%rbp),%eax
mov    -0x348(%rbp),%ecx
shl    $0x1,%ecx
cmp    %ecx,%eax
jge    1617 <main+0x4d7>
movslq -0x340(%rbp),%rcx
lea    -0x330(%rbp),%rax
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
movslq -0x344(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
movslq -0x340(%rbp),%rcx
lea    -0x330(%rbp),%rax
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
movslq -0x340(%rbp),%rcx
divss  (%rax,%rcx,4),%xmm0
movss  -0x338(%rbp),%xmm2
ff
movslq -0x33c(%rbp),%rcx
lea    -0x330(%rbp),%rax
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
movslq -0x344(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm1
movd   %xmm0,%edx
xor    $0x80000000,%edx
movd   %edx,%xmm0
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x344(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x344(%rbp)
jmp    1566 <main+0x426>
jmp    16b1 <main+0x571>
movslq -0x33c(%rbp),%rcx
lea    -0x330(%rbp),%rax
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
movslq -0x340(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
movss  %xmm0,-0x338(%rbp)
ff
movl   $0x0,-0x344(%rbp)
mov    -0x344(%rbp),%eax
mov    -0x348(%rbp),%ecx
shl    $0x1,%ecx
cmp    %ecx,%eax
jge    16ac <main+0x56c>
movss  -0x338(%rbp),%xmm1
ff
movslq -0x33c(%rbp),%rcx
lea    -0x330(%rbp),%rax
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
movslq -0x344(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
divss  %xmm1,%xmm0
movss  %xmm0,(%rax,%rcx,4)
mov    -0x344(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x344(%rbp)
jmp    164f <main+0x50f>
jmp    16b1 <main+0x571>
jmp    16b6 <main+0x576>
mov    -0x33c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x33c(%rbp)
jmp    150f <main+0x3cf>
jmp    16cf <main+0x58f>
mov    -0x340(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x340(%rbp)
jmp    1327 <main+0x1e7>
lea    0x9ff(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x33c(%rbp)
mov    -0x33c(%rbp),%eax
cmp    -0x348(%rbp),%eax
jge    1797 <main+0x657>
movl   $0x0,-0x340(%rbp)
mov    -0x340(%rbp),%eax
mov    -0x348(%rbp),%ecx
shl    $0x1,%ecx
cmp    %ecx,%eax
jge    1775 <main+0x635>
movslq -0x33c(%rbp),%rcx
lea    -0x330(%rbp),%rax
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
movslq -0x340(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0x9ca(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x340(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x340(%rbp)
jmp    1717 <main+0x5d7>
lea    0x9a6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x33c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x33c(%rbp)
jmp    16fb <main+0x5bb>
lea    0x98e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x33c(%rbp)
mov    -0x33c(%rbp),%eax
cmp    -0x348(%rbp),%eax
jge    184d <main+0x70d>
mov    -0x348(%rbp),%eax
mov    %eax,-0x340(%rbp)
mov    -0x340(%rbp),%eax
mov    -0x348(%rbp),%ecx
shl    $0x1,%ecx
cmp    %ecx,%eax
jge    182b <main+0x6eb>
movslq -0x33c(%rbp),%rcx
lea    -0x330(%rbp),%rax
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
movslq -0x340(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0x957(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x340(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x340(%rbp)
jmp    17cd <main+0x68d>
lea    0x8f0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x33c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x33c(%rbp)
jmp    17af <main+0x66f>
mov    -0x4(%rbp),%eax
add    $0x350,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x388,%rsp
lea    0xe98(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xed0(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xf01(%rip),%rdi
lea    0x4(%rsp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    0x4(%rsp),%edx
lea    0xeed(%rip),%rdi
mov    %edx,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x4(%rsp),%esi
test   %esi,%esi
jle    1811 <main+0x6b1>
lea    0x60(%rsp),%r15
lea    0xef4(%rip),%r14
xor    %r12d,%r12d
jmp    11f0 <main+0x90>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movslq %esi,%rax
add    $0x1,%r12
add    $0x50,%r15
cmp    %rax,%r12
jge    1221 <main+0xc1>
test   %esi,%esi
jle    11e0 <main+0x80>
mov    %r15,%rbx
xor    %ebp,%ebp
nopl   0x0(%rax)
mov    %r14,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
add    $0x1,%rbp
movslq 0x4(%rsp),%rsi
add    $0x4,%rbx
cmp    %rsi,%rbp
jl     1200 <main+0xa0>
jmp    11e0 <main+0x80>
test   %esi,%esi
jle    1811 <main+0x6b1>
lea    (%rsi,%rsi,1),%r11d
mov    %esi,%r14d
movslq %r11d,%rbx
mov    %r14,%r8
not    %r8
lea    0x1(%r14),%r9
mov    %rbx,%r10
neg    %r10
lea    0x60(%rsp),%rdi
xor    %ebp,%ebp
movss  0xdae(%rip),%xmm0
jmp    126d <main+0x10d>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
add    $0x1,%rbp
add    $0x50,%rdi
cmp    %r14,%rbp
je     12e7 <main+0x187>
cmp    %r11d,%esi
jge    1260 <main+0x100>
mov    %r14,%rcx
test   $0x1,%r14b
je     12a5 <main+0x145>
movaps %xmm0,%xmm1
test   %rbp,%rbp
je     1286 <main+0x126>
xorps  %xmm1,%xmm1
lea    0x0(,%rbp,4),%rax
add    %rbp,%rax
shl    $0x4,%rax
add    %rsp,%rax
add    $0x60,%rax
movss  %xmm1,(%rax,%r14,4)
mov    %r9,%rcx
cmp    %r10,%r8
jne    12bf <main+0x15f>
jmp    1260 <main+0x100>
nopl   0x0(%rax)
movss  %xmm1,0x4(%rdi,%rcx,4)
add    $0x2,%rcx
cmp    %rbx,%rcx
je     1260 <main+0x100>
mov    %ecx,%eax
cltd
idiv   %esi
movaps %xmm0,%xmm1
cmp    %rdx,%rbp
je     12cf <main+0x16f>
xorps  %xmm1,%xmm1
movss  %xmm1,(%rdi,%rcx,4)
lea    0x1(%rcx),%eax
cltd
idiv   %esi
movaps %xmm0,%xmm1
cmp    %rdx,%rbp
je     12b0 <main+0x150>
xorps  %xmm1,%xmm1
jmp    12b0 <main+0x150>
test   %esi,%esi
jle    1811 <main+0x6b1>
lea    0xb0(%rsp),%rcx
lea    0x90(%rsp),%rdi
lea    0x64(%rsp),%r15
mov    $0x1,%edx
lea    0x60(%rsp),%r13
xor    %r14d,%r14d
jmp    1359 <main+0x1f9>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movslq %esi,%rax
mov    0x20(%rsp),%rdx
add    $0x1,%rdx
mov    0x28(%rsp),%rcx
add    $0x54,%rcx
mov    0x10(%rsp),%rdi
add    $0x50,%rdi
mov    0x8(%rsp),%r15
add    $0x50,%r15
add    $0x50,%r13
mov    0x18(%rsp),%r14
cmp    %rax,%r14
jge    1811 <main+0x6b1>
mov    %r15,0x8(%rsp)
mov    %rdi,0x10(%rsp)
lea    0x1(%r14),%rdi
movslq %esi,%rax
mov    %rdi,0x18(%rsp)
cmp    %rax,%rdi
mov    %rcx,0x28(%rsp)
mov    %rdx,0x20(%rsp)
jge    13d0 <main+0x270>
mov    %esi,%eax
mov    %r14d,%esi
jmp    13a0 <main+0x240>
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%rdx
add    $0x50,%rcx
mov    %r12d,%esi
cmp    %rdx,%rax
je     13d3 <main+0x273>
movss  (%rcx),%xmm0
movslq %esi,%rdi
lea    (%rdi,%rdi,4),%rdi
shl    $0x4,%rdi
add    %rsp,%rdi
add    $0x60,%rdi
ucomiss (%rdi,%r14,4),%xmm0
mov    %edx,%r12d
ja     1390 <main+0x230>
mov    %esi,%r12d
jmp    1390 <main+0x230>
cs nopw 0x0(%rax,%rax,1)
nop
mov    %r14d,%r12d
movslq %r12d,%rax
lea    (%rax,%rax,4),%rbx
shl    $0x4,%rbx
lea    (%rsp,%rbx,1),%r15
add    $0x60,%r15
movss  (%r15,%r14,4),%xmm0
call   1060 <fabs@plt>
movsd  0xc0f(%rip),%xmm1
ucomisd %xmm0,%xmm1
ja     192b <main+0x7cb>
lea    (%r14,%r14,4),%rax
shl    $0x4,%rax
lea    (%rsp,%rax,1),%r11
add    $0x60,%r11
mov    %r12d,%eax
mov    0x4(%rsp),%esi
cmp    %rax,%r14
je     15c0 <main+0x460>
test   %esi,%esi
jle    1320 <main+0x1c0>
lea    (%rsi,%rsi,1),%ecx
cmp    $0x2,%ecx
mov    $0x1,%eax
cmovl  %eax,%ecx
cmp    $0x8,%ecx
jb     1458 <main+0x2f8>
lea    (%r15,%rcx,4),%rax
cmp    %rax,%r11
jae    14da <main+0x37a>
lea    (%r11,%rcx,4),%rax
cmp    %rax,%r15
jae    14da <main+0x37a>
xor    %r9d,%r9d
mov    0x8(%rsp),%rdi
mov    %r9,%rdx
test   $0x1,%cl
je     1487 <main+0x327>
movss  (%r11,%r9,4),%xmm0
movss  (%r15,%r9,4),%xmm1
movss  %xmm1,(%r11,%r9,4)
movss  %xmm0,(%r15,%r9,4)
mov    %r9,%rdx
or     $0x1,%rdx
not    %r9
add    %rcx,%r9
je     15c0 <main+0x460>
lea    0x64(%rsp),%rax
add    %rax,%rbx
nopl   0x0(%rax,%rax,1)
movss  -0x4(%rdi,%rdx,4),%xmm0
movss  -0x4(%rbx,%rdx,4),%xmm1
movss  %xmm1,-0x4(%rdi,%rdx,4)
movss  %xmm0,-0x4(%rbx,%rdx,4)
movss  (%rdi,%rdx,4),%xmm0
movss  (%rbx,%rdx,4),%xmm1
movss  %xmm1,(%rdi,%rdx,4)
movss  %xmm0,(%rbx,%rdx,4)
add    $0x2,%rdx
cmp    %rdx,%rcx
jne    14a0 <main+0x340>
jmp    15c0 <main+0x460>
mov    %ecx,%r9d
and    $0x7ffffff8,%r9d
lea    -0x8(%r9),%rax
mov    %rax,%r8
shr    $0x3,%r8
add    $0x1,%r8
test   %rax,%rax
mov    0x10(%rsp),%rbp
je     1800 <main+0x6a0>
mov    %r8,%rdx
and    $0xfffffffffffffffe,%rdx
lea    0x90(%rsp),%rax
add    %rbx,%rax
xor    %edi,%edi
cs nopw 0x0(%rax,%rax,1)
nop
movaps -0x30(%rbp,%rdi,4),%xmm0
movaps -0x20(%rbp,%rdi,4),%xmm1
movaps -0x30(%rax,%rdi,4),%xmm2
movaps -0x20(%rax,%rdi,4),%xmm3
movaps %xmm2,-0x30(%rbp,%rdi,4)
movaps %xmm3,-0x20(%rbp,%rdi,4)
movaps %xmm0,-0x30(%rax,%rdi,4)
movaps %xmm1,-0x20(%rax,%rdi,4)
movapd -0x10(%rbp,%rdi,4),%xmm0
movapd 0x0(%rbp,%rdi,4),%xmm1
movaps -0x10(%rax,%rdi,4),%xmm2
movaps (%rax,%rdi,4),%xmm3
movaps %xmm2,-0x10(%rbp,%rdi,4)
movaps %xmm3,0x0(%rbp,%rdi,4)
movapd %xmm0,-0x10(%rax,%rdi,4)
movapd %xmm1,(%rax,%rdi,4)
add    $0x10,%rdi
add    $0xfffffffffffffffe,%rdx
jne    1520 <main+0x3c0>
test   $0x1,%r8b
je     15b2 <main+0x452>
movapd (%r11,%rdi,4),%xmm0
movapd 0x10(%r11,%rdi,4),%xmm1
movaps (%r15,%rdi,4),%xmm2
movaps 0x10(%r15,%rdi,4),%xmm3
movaps %xmm2,(%r11,%rdi,4)
movaps %xmm3,0x10(%r11,%rdi,4)
movapd %xmm0,(%r15,%rdi,4)
movapd %xmm1,0x10(%r15,%rdi,4)
cmp    %rcx,%r9
mov    0x8(%rsp),%rdi
jne    1460 <main+0x300>
test   %esi,%esi
jle    1320 <main+0x1c0>
imul   $0x54,%r14,%rax
lea    (%rsp,%rax,1),%rcx
add    $0x60,%rcx
mov    %rcx,0x58(%rsp)
add    %rsp,%rax
add    $0x64,%rax
mov    %rax,0x50(%rsp)
lea    (%rsi,%rsi,1),%edi
cmp    $0x2,%edi
mov    $0x1,%eax
cmovl  %eax,%edi
lea    (%r11,%r14,4),%rbx
lea    (%r11,%rdi,4),%rax
mov    %rax,0x48(%rsp)
mov    %edi,%eax
and    $0x7ffffffc,%eax
lea    -0x4(%rax),%rcx
mov    %rcx,0x40(%rsp)
mov    %rcx,%rdx
shr    $0x2,%rdx
add    $0x1,%rdx
mov    %rdx,%rcx
mov    %rdx,0x38(%rsp)
and    $0xfffffffffffffffe,%rdx
mov    %rdx,0x30(%rsp)
lea    0x60(%rsp),%r12
xor    %r8d,%r8d
jmp    1651 <main+0x4f1>
cs nopw 0x0(%rax,%rax,1)
add    $0x1,%r8
add    $0x50,%r12
cmp    %rsi,%r8
je     1320 <main+0x1c0>
cmp    %r14,%r8
jne    1670 <main+0x510>
movss  (%rbx),%xmm0
cmp    $0x4,%edi
jae    16d0 <main+0x570>
xor    %edx,%edx
jmp    1740 <main+0x5e0>
cs nopw 0x0(%rax,%rax,1)
lea    (%r8,%r8,4),%rcx
shl    $0x4,%rcx
lea    (%rsp,%rcx,1),%rdx
add    $0x60,%rdx
movss  (%rdx,%r14,4),%xmm0
cmp    $0x4,%edi
jae    1760 <main+0x600>
xor    %edx,%edx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movss  0x0(%r13,%rdx,4),%xmm1
movss  (%r12,%rdx,4),%xmm2
divss  (%rbx),%xmm1
mulss  %xmm0,%xmm1
subss  %xmm1,%xmm2
movss  %xmm2,(%r12,%rdx,4)
add    $0x1,%rdx
cmp    %rdx,%rdi
jne    16a0 <main+0x540>
jmp    1640 <main+0x4e0>
nopl   (%rax)
movaps %xmm0,%xmm1
shufps $0x0,%xmm0,%xmm1
cmpq   $0x0,0x40(%rsp)
je     17e3 <main+0x683>
mov    0x30(%rsp),%rdx
xor    %r9d,%r9d
nopl   0x0(%rax,%rax,1)
movaps 0x0(%r13,%r9,4),%xmm2
movaps 0x10(%r13,%r9,4),%xmm3
divps  %xmm1,%xmm2
movaps %xmm2,0x0(%r13,%r9,4)
divps  %xmm1,%xmm3
movaps %xmm3,0x10(%r13,%r9,4)
add    $0x8,%r9
add    $0xfffffffffffffffe,%rdx
jne    16f0 <main+0x590>
testb  $0x1,0x38(%rsp)
je     172c <main+0x5cc>
movaps (%r11,%r9,4),%xmm2
divps  %xmm1,%xmm2
movaps %xmm2,(%r11,%r9,4)
mov    %rax,%rdx
cmp    %rdi,%rax
je     1640 <main+0x4e0>
nopl   0x0(%rax,%rax,1)
movss  0x0(%r13,%rdx,4),%xmm1
divss  %xmm0,%xmm1
movss  %xmm1,0x0(%r13,%rdx,4)
add    $0x1,%rdx
cmp    %rdx,%rdi
jne    1740 <main+0x5e0>
jmp    1640 <main+0x4e0>
lea    (%rdx,%rdi,4),%rbp
cmp    0x48(%rsp),%rdx
setb   %r10b
mov    %r11,%r15
cmp    %rbp,%r11
setb   %r11b
cmp    0x50(%rsp),%rdx
setb   %cl
cmp    %rbp,0x58(%rsp)
setb   %r9b
test   %r11b,%r10b
jne    17f6 <main+0x696>
mov    $0x0,%edx
and    %r9b,%cl
mov    %r15,%r11
jne    16a0 <main+0x540>
movaps %xmm0,%xmm1
shufps $0x0,%xmm0,%xmm1
movss  (%rbx),%xmm2
shufps $0x0,%xmm2,%xmm2
xor    %edx,%edx
nop
movaps 0x0(%r13,%rdx,4),%xmm3
divps  %xmm2,%xmm3
mulps  %xmm1,%xmm3
movaps (%r12,%rdx,4),%xmm4
subps  %xmm3,%xmm4
movaps %xmm4,(%r12,%rdx,4)
add    $0x4,%rdx
cmp    %rdx,%rax
jne    17b0 <main+0x650>
mov    %rax,%rdx
cmp    %rdi,%rax
jne    16a0 <main+0x540>
jmp    1640 <main+0x4e0>
xor    %r9d,%r9d
testb  $0x1,0x38(%rsp)
jne    171f <main+0x5bf>
jmp    172c <main+0x5cc>
xor    %edx,%edx
mov    %r15,%r11
jmp    16a0 <main+0x540>
xor    %edi,%edi
test   $0x1,%r8b
jne    1582 <main+0x422>
jmp    15b2 <main+0x452>
lea    0x8e4(%rip),%rdi
call   1040 <puts@plt>
mov    0x4(%rsp),%eax
test   %eax,%eax
jle    1897 <main+0x737>
lea    0x60(%rsp),%rbp
xor    %r14d,%r14d
lea    0x8b9(%rip),%r15
jmp    185c <main+0x6fc>
cs nopw 0x0(%rax,%rax,1)
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1,%r14
movslq 0x4(%rsp),%rax
add    $0x50,%rbp
cmp    %rax,%r14
jge    1897 <main+0x737>
test   %eax,%eax
jle    1840 <main+0x6e0>
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movss  0x0(%rbp,%rbx,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
add    $0x1,%rbx
movslq 0x4(%rsp),%rax
add    %rax,%rax
cmp    %rax,%rbx
jl     1870 <main+0x710>
jmp    1840 <main+0x6e0>
lea    0x898(%rip),%rdi
call   1040 <puts@plt>
mov    0x4(%rsp),%eax
test   %eax,%eax
jle    1917 <main+0x7b7>
lea    0x60(%rsp),%rbp
xor    %r14d,%r14d
lea    0x83b(%rip),%r15
jmp    18dc <main+0x77c>
nopl   0x0(%rax)
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1,%r14
movslq 0x4(%rsp),%rax
add    $0x50,%rbp
cmp    %rax,%r14
jge    1917 <main+0x7b7>
lea    (%rax,%rax,1),%ecx
cmp    %ecx,%eax
jge    18c0 <main+0x760>
movslq %eax,%rbx
cs nopw 0x0(%rax,%rax,1)
movss  0x0(%rbp,%rbx,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
add    $0x1,%rbx
movslq 0x4(%rsp),%rax
add    %rax,%rax
cmp    %rax,%rbx
jl     18f0 <main+0x790>
jmp    18c0 <main+0x760>
xor    %eax,%eax
add    $0x388,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0x791(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x1,%edi
call   1080 <exit@plt>

LLVM IR (-O0):
@.str = [70 x i8] c"\0A INVERSE OF NON-SINGULAR MATRIX BY GAUSS-JORDAN ELIMINATION METHOD\00"
@.str.1 = [63 x i8] c"\0A Enter the dimension of the matrix to be provided as input : \00"
@.str.2 = [3 x i8] c"%d\00"
@.str.3 = [40 x i8] c"\0A Enter a non-singular %dx%d matrix : \0A\00"
@.str.4 = [3 x i8] c"%f\00"
@.str.5 = [42 x i8] c"\0A Elements are too small to deal with !!!\00"
@.str.6 = [59 x i8] c"\0A After Gauss-Jordan elimination, augmented matrix is : \0A\0A\00"
@.str.7 = [8 x i8] c" %4.2f\00"
@.str.8 = [2 x i8] c"\0A\00"
@.str.9 = [59 x i8] c"\0A\0A\0A The inverse of the entered non-singular matrix is : \0A\0A\00"
@.str.10 = [7 x i8] c" %.5f\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [10 x [20 x float]]
%3 = alloca float
%4 = alloca float
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
store i32 0, i32* %1
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.1, i64 0, i64 0))
%12 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %8)
%13 = load i32, i32* %8
%14 = load i32, i32* %8
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.3, i64 0, i64 0), i32 %13, i32 %14)
store i32 0, i32* %5
br label %16
16: ; preds = %37, %0
%17 = load i32, i32* %5
%18 = load i32, i32* %8
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %40
20: ; preds = %16
store i32 0, i32* %6
br label %21
21: ; preds = %33, %20
%22 = load i32, i32* %6
%23 = load i32, i32* %8
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %36
25: ; preds = %21
%26 = load i32, i32* %5
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %2, i64 0, i64 %27
%29 = load i32, i32* %6
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [20 x float], [20 x float]* %28, i64 0, i64 %30
%32 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), float* %31)
br label %33
33: ; preds = %25
%34 = load i32, i32* %6
%35 = add nsw i32 %34, 1
store i32 %35, i32* %6
br label %21
36: ; preds = %21
br label %37
37: ; preds = %36
%38 = load i32, i32* %5
%39 = add nsw i32 %38, 1
store i32 %39, i32* %5
br label %16
40: ; preds = %16
store i32 0, i32* %5
br label %41
41: ; preds = %77, %40
%42 = load i32, i32* %5
%43 = load i32, i32* %8
%44 = icmp slt i32 %42, %43
br i1 %44, label %45, label %80
45: ; preds = %41
%46 = load i32, i32* %8
store i32 %46, i32* %6
br label %47
47: ; preds = %73, %45
%48 = load i32, i32* %6
%49 = load i32, i32* %8
%50 = mul nsw i32 2, %49
%51 = icmp slt i32 %48, %50
br i1 %51, label %52, label %76
52: ; preds = %47
%53 = load i32, i32* %5
%54 = load i32, i32* %6
%55 = load i32, i32* %8
%56 = srem i32 %54, %55
%57 = icmp eq i32 %53, %56
br i1 %57, label %58, label %65
58: ; preds = %52
%59 = load i32, i32* %5
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %2, i64 0, i64 %60
%62 = load i32, i32* %6
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [20 x float], [20 x float]* %61, i64 0, i64 %63
store float 1.000000e+00, float* %64
br label %72
65: ; preds = %52
%66 = load i32, i32* %5
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %2, i64 0, i64 %67
%69 = load i32, i32* %6
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [20 x float], [20 x float]* %68, i64 0, i64 %70
store float 0.000000e+00, float* %71
br label %72
72: ; preds = %65, %58
br label %73
73: ; preds = %72
%74 = load i32, i32* %6
%75 = add nsw i32 %74, 1
store i32 %75, i32* %6
br label %47
76: ; preds = %47
br label %77
77: ; preds = %76
%78 = load i32, i32* %5
%79 = add nsw i32 %78, 1
store i32 %79, i32* %5
br label %41
80: ; preds = %41
store i32 0, i32* %6
br label %81
81: ; preds = %254, %80
%82 = load i32, i32* %6
%83 = load i32, i32* %8
%84 = icmp slt i32 %82, %83
br i1 %84, label %85, label %257
85: ; preds = %81
%86 = load i32, i32* %6
store i32 %86, i32* %9
%87 = load i32, i32* %6
%88 = add nsw i32 %87, 1
store i32 %88, i32* %5
br label %89
89: ; preds = %112, %85
%90 = load i32, i32* %5
%91 = load i32, i32* %8
%92 = icmp slt i32 %90, %91
br i1 %92, label %93, label %115
93: ; preds = %89
%94 = load i32, i32* %5
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %2, i64 0, i64 %95
%97 = load i32, i32* %6
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds [20 x float], [20 x float]* %96, i64 0, i64 %98
%100 = load float, float* %99
%101 = load i32, i32* %9
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %2, i64 0, i64 %102
%104 = load i32, i32* %6
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds [20 x float], [20 x float]* %103, i64 0, i64 %105
%107 = load float, float* %106
%108 = fcmp ogt float %100, %107
br i1 %108, label %109, label %111
109: ; preds = %93
%110 = load i32, i32* %5
store i32 %110, i32* %9
br label %111
111: ; preds = %109, %93
br label %112
112: ; preds = %111
%113 = load i32, i32* %5
%114 = add nsw i32 %113, 1
store i32 %114, i32* %5
br label %89
115: ; preds = %89
%116 = load i32, i32* %9
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %2, i64 0, i64 %117
%119 = load i32, i32* %6
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds [20 x float], [20 x float]* %118, i64 0, i64 %120
%122 = load float, float* %121
%123 = call double @fabs(float %122)
%124 = fcmp olt double %123, 5.000000e-04
br i1 %124, label %125, label %128
125: ; preds = %115
%126 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.5, i64 0, i64 0))
%127 = call i32 @exit(i32 1)
unreachable
128: ; preds = %115
%129 = load i32, i32* %9
%130 = load i32, i32* %6
%131 = icmp ne i32 %129, %130
br i1 %131, label %132, label %170
132: ; preds = %128
store i32 0, i32* %7
br label %133
133: ; preds = %166, %132
%134 = load i32, i32* %7
%135 = load i32, i32* %8
%136 = mul nsw i32 2, %135
%137 = icmp slt i32 %134, %136
br i1 %137, label %138, label %169
138: ; preds = %133
%139 = load i32, i32* %6
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %2, i64 0, i64 %140
%142 = load i32, i32* %7
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds [20 x float], [20 x float]* %141, i64 0, i64 %143
%145 = load float, float* %144
store float %145, float* %3
%146 = load i32, i32* %9
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %2, i64 0, i64 %147
%149 = load i32, i32* %7
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds [20 x float], [20 x float]* %148, i64 0, i64 %150
%152 = load float, float* %151
%153 = load i32, i32* %6
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %2, i64 0, i64 %154
%156 = load i32, i32* %7
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds [20 x float], [20 x float]* %155, i64 0, i64 %157
store float %152, float* %158
%159 = load float, float* %3
%160 = load i32, i32* %9
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %2, i64 0, i64 %161
%163 = load i32, i32* %7
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds [20 x float], [20 x float]* %162, i64 0, i64 %164
store float %159, float* %165
br label %166
166: ; preds = %138
%167 = load i32, i32* %7
%168 = add nsw i32 %167, 1
store i32 %168, i32* %7
br label %133
169: ; preds = %133
br label %170
170: ; preds = %169, %128
store i32 0, i32* %5
br label %171
171: ; preds = %250, %170
%172 = load i32, i32* %5
%173 = load i32, i32* %8
%174 = icmp slt i32 %172, %173
br i1 %174, label %175, label %253
175: ; preds = %171
%176 = load i32, i32* %5
%177 = load i32, i32* %6
%178 = icmp ne i32 %176, %177
br i1 %178, label %179, label %222
179: ; preds = %175
%180 = load i32, i32* %5
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %2, i64 0, i64 %181
%183 = load i32, i32* %6
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds [20 x float], [20 x float]* %182, i64 0, i64 %184
%186 = load float, float* %185
store float %186, float* %4
store i32 0, i32* %7
br label %187
187: ; preds = %218, %179
%188 = load i32, i32* %7
%189 = load i32, i32* %8
%190 = mul nsw i32 2, %189
%191 = icmp slt i32 %188, %190
br i1 %191, label %192, label %221
192: ; preds = %187
%193 = load i32, i32* %6
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %2, i64 0, i64 %194
%196 = load i32, i32* %7
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds [20 x float], [20 x float]* %195, i64 0, i64 %197
%199 = load float, float* %198
%200 = load i32, i32* %6
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %2, i64 0, i64 %201
%203 = load i32, i32* %6
%204 = sext i32 %203 to i64
%205 = getelementptr inbounds [20 x float], [20 x float]* %202, i64 0, i64 %204
%206 = load float, float* %205
%207 = fdiv float %199, %206
%208 = load float, float* %4
%209 = load i32, i32* %5
%210 = sext i32 %209 to i64
%211 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %2, i64 0, i64 %210
%212 = load i32, i32* %7
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds [20 x float], [20 x float]* %211, i64 0, i64 %213
%215 = load float, float* %214
%216 = fneg float %207
%217 = call float @llvm.fmuladd.f32(float %216, float %208, float %215)
store float %217, float* %214
br label %218
218: ; preds = %192
%219 = load i32, i32* %7
%220 = add nsw i32 %219, 1
store i32 %220, i32* %7
br label %187
221: ; preds = %187
br label %249
222: ; preds = %175
%223 = load i32, i32* %5
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %2, i64 0, i64 %224
%226 = load i32, i32* %6
%227 = sext i32 %226 to i64
%228 = getelementptr inbounds [20 x float], [20 x float]* %225, i64 0, i64 %227
%229 = load float, float* %228
store float %229, float* %4
store i32 0, i32* %7
br label %230
230: ; preds = %245, %222
%231 = load i32, i32* %7
%232 = load i32, i32* %8
%233 = mul nsw i32 2, %232
%234 = icmp slt i32 %231, %233
br i1 %234, label %235, label %248
235: ; preds = %230
%236 = load float, float* %4
%237 = load i32, i32* %5
%238 = sext i32 %237 to i64
%239 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %2, i64 0, i64 %238
%240 = load i32, i32* %7
%241 = sext i32 %240 to i64
%242 = getelementptr inbounds [20 x float], [20 x float]* %239, i64 0, i64 %241
%243 = load float, float* %242
%244 = fdiv float %243, %236
store float %244, float* %242
br label %245
245: ; preds = %235
%246 = load i32, i32* %7
%247 = add nsw i32 %246, 1
store i32 %247, i32* %7
br label %230
248: ; preds = %230
br label %249
249: ; preds = %248, %221
br label %250
250: ; preds = %249
%251 = load i32, i32* %5
%252 = add nsw i32 %251, 1
store i32 %252, i32* %5
br label %171
253: ; preds = %171
br label %254
254: ; preds = %253
%255 = load i32, i32* %6
%256 = add nsw i32 %255, 1
store i32 %256, i32* %6
br label %81
257: ; preds = %81
%258 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.6, i64 0, i64 0))
store i32 0, i32* %5
br label %259
259: ; preds = %284, %257
%260 = load i32, i32* %5
%261 = load i32, i32* %8
%262 = icmp slt i32 %260, %261
br i1 %262, label %263, label %287
263: ; preds = %259
store i32 0, i32* %6
br label %264
264: ; preds = %279, %263
%265 = load i32, i32* %6
%266 = load i32, i32* %8
%267 = mul nsw i32 2, %266
%268 = icmp slt i32 %265, %267
br i1 %268, label %269, label %282
269: ; preds = %264
%270 = load i32, i32* %5
%271 = sext i32 %270 to i64
%272 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %2, i64 0, i64 %271
%273 = load i32, i32* %6
%274 = sext i32 %273 to i64
%275 = getelementptr inbounds [20 x float], [20 x float]* %272, i64 0, i64 %274
%276 = load float, float* %275
%277 = fpext float %276 to double
%278 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), double %277)
br label %279
279: ; preds = %269
%280 = load i32, i32* %6
%281 = add nsw i32 %280, 1
store i32 %281, i32* %6
br label %264
282: ; preds = %264
%283 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
br label %284
284: ; preds = %282
%285 = load i32, i32* %5
%286 = add nsw i32 %285, 1
store i32 %286, i32* %5
br label %259
287: ; preds = %259
%288 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.9, i64 0, i64 0))
store i32 0, i32* %5
br label %289
289: ; preds = %315, %287
%290 = load i32, i32* %5
%291 = load i32, i32* %8
%292 = icmp slt i32 %290, %291
br i1 %292, label %293, label %318
293: ; preds = %289
%294 = load i32, i32* %8
store i32 %294, i32* %6
br label %295
295: ; preds = %310, %293
%296 = load i32, i32* %6
%297 = load i32, i32* %8
%298 = mul nsw i32 2, %297
%299 = icmp slt i32 %296, %298
br i1 %299, label %300, label %313
300: ; preds = %295
%301 = load i32, i32* %5
%302 = sext i32 %301 to i64
%303 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %2, i64 0, i64 %302
%304 = load i32, i32* %6
%305 = sext i32 %304 to i64
%306 = getelementptr inbounds [20 x float], [20 x float]* %303, i64 0, i64 %305
%307 = load float, float* %306
%308 = fpext float %307 to double
%309 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0), double %308)
br label %310
310: ; preds = %300
%311 = load i32, i32* %6
%312 = add nsw i32 %311, 1
store i32 %312, i32* %6
br label %295
313: ; preds = %295
%314 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
br label %315
315: ; preds = %313
%316 = load i32, i32* %5
%317 = add nsw i32 %316, 1
store i32 %317, i32* %5
br label %289
318: ; preds = %289
%319 = load i32, i32* %1
ret i32 %319
}

LLVM IR (-O2):
@.str = [70 x i8] c"\0A INVERSE OF NON-SINGULAR MATRIX BY GAUSS-JORDAN ELIMINATION METHOD\00"
@.str.1 = [63 x i8] c"\0A Enter the dimension of the matrix to be provided as input : \00"
@.str.2 = [3 x i8] c"%d\00"
@.str.3 = [40 x i8] c"\0A Enter a non-singular %dx%d matrix : \0A\00"
@.str.4 = [3 x i8] c"%f\00"
@.str.5 = [42 x i8] c"\0A Elements are too small to deal with !!!\00"
@.str.7 = [8 x i8] c" %4.2f\00"
@.str.10 = [7 x i8] c" %.5f\00"
@str = [58 x i8] c"\0A After Gauss-Jordan elimination, augmented matrix is : \0A\00"
@str.11 = [58 x i8] c"\0A\0A\0A The inverse of the entered non-singular matrix is : \0A\00"
define i32 @main() {
%1 = alloca [10 x [20 x float]]
%2 = alloca i32
%3 = bitcast [10 x [20 x float]]* %1 to i8*
%4 = bitcast i32* %2 to i8*
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @.str, i64 0, i64 0))
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @.str.1, i64 0, i64 0))
%7 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %2)
%8 = load i32, i32* %2
%9 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.3, i64 0, i64 0), i32 %8, i32 %8)
%10 = load i32, i32* %2
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %350
12: ; preds = %0, %38
%13 = phi i32 [ %39, %38 ], [ %10, %0 ]
%14 = phi i64 [ %41, %38 ], [ 0, %0 ]
%15 = icmp sgt i32 %13, 0
br i1 %15, label %30, label %38
16: ; preds = %38
%17 = icmp sgt i32 %39, 0
br i1 %17, label %18, label %350
18: ; preds = %16
%19 = shl nuw i32 %39, 1
%20 = icmp slt i32 %39, %19
%21 = zext i32 %39 to i64
%22 = zext i32 %39 to i64
%23 = sext i32 %19 to i64
%24 = xor i64 %21, -1
%25 = and i64 %21, 1
%26 = icmp eq i64 %25, 0
%27 = add nuw nsw i64 %21, 1
%28 = sub nsw i64 0, %23
%29 = icmp eq i64 %24, %28
br label %43
30: ; preds = %12, %30
%31 = phi i64 [ %34, %30 ], [ 0, %12 ]
%32 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %14, i64 %31
%33 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), float* %32)
%34 = add nuw nsw i64 %31, 1
%35 = load i32, i32* %2
%36 = sext i32 %35 to i64
%37 = icmp slt i64 %34, %36
br i1 %37, label %30, label %38
38: ; preds = %30, %12
%39 = phi i32 [ %13, %12 ], [ %35, %30 ]
%40 = sext i32 %39 to i64
%41 = add nuw nsw i64 %14, 1
%42 = icmp slt i64 %41, %40
br i1 %42, label %12, label %16
43: ; preds = %18, %70
%44 = phi i64 [ 0, %18 ], [ %71, %70 ]
br i1 %20, label %45, label %70
45: ; preds = %43
br i1 %26, label %50, label %46
46: ; preds = %45
%47 = icmp eq i64 %44, 0
%48 = select i1 %47, float 1.000000e+00, float 0.000000e+00
%49 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %44, i64 %21
store float %48, float* %49
br label %50
50: ; preds = %46, %45
%51 = phi i64 [ %21, %45 ], [ %27, %46 ]
br i1 %29, label %70, label %53
52: ; preds = %70
br i1 %17, label %77, label %350
53: ; preds = %50, %53
%54 = phi i64 [ %68, %53 ], [ %51, %50 ]
%55 = trunc i64 %54 to i32
%56 = srem i32 %55, %39
%57 = zext i32 %56 to i64
%58 = icmp eq i64 %44, %57
%59 = select i1 %58, float 1.000000e+00, float 0.000000e+00
%60 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %44, i64 %54
store float %59, float* %60
%61 = add nuw nsw i64 %54, 1
%62 = trunc i64 %61 to i32
%63 = srem i32 %62, %39
%64 = zext i32 %63 to i64
%65 = icmp eq i64 %44, %64
%66 = select i1 %65, float 1.000000e+00, float 0.000000e+00
%67 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %44, i64 %61
store float %66, float* %67
%68 = add nuw nsw i64 %54, 2
%69 = icmp eq i64 %68, %23
br i1 %69, label %70, label %53
70: ; preds = %50, %53, %43
%71 = add nuw nsw i64 %44, 1
%72 = icmp eq i64 %71, %22
br i1 %72, label %52, label %43
73: ; preds = %347, %120, %232
%74 = sext i32 %119 to i64
%75 = icmp slt i64 %87, %74
%76 = add nuw nsw i64 %79, 1
br i1 %75, label %77, label %350
77: ; preds = %52, %73
%78 = phi i64 [ %87, %73 ], [ 0, %52 ]
%79 = phi i64 [ %76, %73 ], [ 1, %52 ]
%80 = phi i32 [ %119, %73 ], [ %39, %52 ]
%81 = getelementptr [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %78, i64 0
%82 = getelementptr [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %78, i64 0
%83 = mul nuw nsw i64 %78, 21
%84 = getelementptr [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 0, i64 %83
%85 = add nuw i64 %83, 1
%86 = getelementptr [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 0, i64 %85
%87 = add nuw nsw i64 %78, 1
%88 = sext i32 %80 to i64
%89 = icmp slt i64 %87, %88
%90 = trunc i64 %78 to i32
br i1 %89, label %91, label %106
91: ; preds = %77
%92 = zext i32 %80 to i64
br label %93
93: ; preds = %91, %93
%94 = phi i64 [ %79, %91 ], [ %104, %93 ]
%95 = phi i32 [ %90, %91 ], [ %103, %93 ]
%96 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %94, i64 %78
%97 = load float, float* %96
%98 = sext i32 %95 to i64
%99 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %98, i64 %78
%100 = load float, float* %99
%101 = fcmp ogt float %97, %100
%102 = trunc i64 %94 to i32
%103 = select i1 %101, i32 %102, i32 %95
%104 = add nuw nsw i64 %94, 1
%105 = icmp eq i64 %104, %92
br i1 %105, label %106, label %93
106: ; preds = %93, %77
%107 = phi i32 [ %90, %77 ], [ %103, %93 ]
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %108, i64 %78
%110 = load float, float* %109
%111 = call double @fabs(float %110)
%112 = fcmp olt double %111, 5.000000e-04
br i1 %112, label %113, label %116
113: ; preds = %106
%114 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.5, i64 0, i64 0))
%115 = call i32 @exit(i32 1)
unreachable
116: ; preds = %106
%117 = zext i32 %107 to i64
%118 = icmp eq i64 %78, %117
%119 = load i32, i32* %2
br i1 %118, label %232, label %120
120: ; preds = %116
%121 = icmp sgt i32 %119, 0
br i1 %121, label %122, label %73
122: ; preds = %120
%123 = shl nuw i32 %119, 1
%124 = call i32 @llvm.smax.i32(i32 %123, i32 1)
%125 = zext i32 %124 to i64
%126 = icmp ult i32 %124, 8
br i1 %126, label %204, label %127
127: ; preds = %122
%128 = getelementptr [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %78, i64 %125
%129 = getelementptr [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %108, i64 0
%130 = getelementptr [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %108, i64 %125
%131 = icmp ult float* %81, %130
%132 = icmp ult float* %129, %128
%133 = and i1 %131, %132
br i1 %133, label %204, label %134
134: ; preds = %127
%135 = and i64 %125, 2147483640
%136 = add nsw i64 %135, -8
%137 = lshr exact i64 %136, 3
%138 = add nuw nsw i64 %137, 1
%139 = and i64 %138, 1
%140 = icmp eq i64 %136, 0
br i1 %140, label %182, label %141
141: ; preds = %134
%142 = and i64 %138, 4611686018427387902
br label %143
143: ; preds = %143, %141
%144 = phi i64 [ 0, %141 ], [ %179, %143 ]
%145 = phi i64 [ 0, %141 ], [ %180, %143 ]
%146 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %78, i64 %144
%147 = bitcast float* %146 to <4 x float>*
%148 = load <4 x float>, <4 x float>* %147
%149 = getelementptr inbounds float, float* %146, i64 4
%150 = bitcast float* %149 to <4 x float>*
%151 = load <4 x float>, <4 x float>* %150
%152 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %108, i64 %144
%153 = bitcast float* %152 to <4 x float>*
%154 = load <4 x float>, <4 x float>* %153
%155 = getelementptr inbounds float, float* %152, i64 4
%156 = bitcast float* %155 to <4 x float>*
%157 = load <4 x float>, <4 x float>* %156
%158 = bitcast float* %146 to <4 x float>*
store <4 x float> %154, <4 x float>* %158
%159 = bitcast float* %149 to <4 x float>*
store <4 x float> %157, <4 x float>* %159
%160 = bitcast float* %152 to <4 x float>*
store <4 x float> %148, <4 x float>* %160
%161 = bitcast float* %155 to <4 x float>*
store <4 x float> %151, <4 x float>* %161
%162 = or i64 %144, 8
%163 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %78, i64 %162
%164 = bitcast float* %163 to <4 x float>*
%165 = load <4 x float>, <4 x float>* %164
%166 = getelementptr inbounds float, float* %163, i64 4
%167 = bitcast float* %166 to <4 x float>*
%168 = load <4 x float>, <4 x float>* %167
%169 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %108, i64 %162
%170 = bitcast float* %169 to <4 x float>*
%171 = load <4 x float>, <4 x float>* %170
%172 = getelementptr inbounds float, float* %169, i64 4
%173 = bitcast float* %172 to <4 x float>*
%174 = load <4 x float>, <4 x float>* %173
%175 = bitcast float* %163 to <4 x float>*
store <4 x float> %171, <4 x float>* %175
%176 = bitcast float* %166 to <4 x float>*
store <4 x float> %174, <4 x float>* %176
%177 = bitcast float* %169 to <4 x float>*
store <4 x float> %165, <4 x float>* %177
%178 = bitcast float* %172 to <4 x float>*
store <4 x float> %168, <4 x float>* %178
%179 = add nuw i64 %144, 16
%180 = add i64 %145, 2
%181 = icmp eq i64 %180, %142
br i1 %181, label %182, label %143
182: ; preds = %143, %134
%183 = phi i64 [ 0, %134 ], [ %179, %143 ]
%184 = icmp eq i64 %139, 0
br i1 %184, label %202, label %185
185: ; preds = %182
%186 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %78, i64 %183
%187 = bitcast float* %186 to <4 x float>*
%188 = load <4 x float>, <4 x float>* %187
%189 = getelementptr inbounds float, float* %186, i64 4
%190 = bitcast float* %189 to <4 x float>*
%191 = load <4 x float>, <4 x float>* %190
%192 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %108, i64 %183
%193 = bitcast float* %192 to <4 x float>*
%194 = load <4 x float>, <4 x float>* %193
%195 = getelementptr inbounds float, float* %192, i64 4
%196 = bitcast float* %195 to <4 x float>*
%197 = load <4 x float>, <4 x float>* %196
%198 = bitcast float* %186 to <4 x float>*
store <4 x float> %194, <4 x float>* %198
%199 = bitcast float* %189 to <4 x float>*
store <4 x float> %197, <4 x float>* %199
%200 = bitcast float* %192 to <4 x float>*
store <4 x float> %188, <4 x float>* %200
%201 = bitcast float* %195 to <4 x float>*
store <4 x float> %191, <4 x float>* %201
br label %202
202: ; preds = %182, %185
%203 = icmp eq i64 %135, %125
br i1 %203, label %232, label %204
204: ; preds = %127, %122, %202
%205 = phi i64 [ 0, %127 ], [ 0, %122 ], [ %135, %202 ]
%206 = xor i64 %205, -1
%207 = and i64 %125, 1
%208 = icmp eq i64 %207, 0
br i1 %208, label %215, label %209
209: ; preds = %204
%210 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %78, i64 %205
%211 = load float, float* %210
%212 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %108, i64 %205
%213 = load float, float* %212
store float %213, float* %210
store float %211, float* %212
%214 = or i64 %205, 1
br label %215
215: ; preds = %209, %204
%216 = phi i64 [ %205, %204 ], [ %214, %209 ]
%217 = sub nsw i64 0, %125
%218 = icmp eq i64 %206, %217
br i1 %218, label %232, label %219
219: ; preds = %215, %219
%220 = phi i64 [ %230, %219 ], [ %216, %215 ]
%221 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %78, i64 %220
%222 = load float, float* %221
%223 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %108, i64 %220
%224 = load float, float* %223
store float %224, float* %221
store float %222, float* %223
%225 = add nuw nsw i64 %220, 1
%226 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %78, i64 %225
%227 = load float, float* %226
%228 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %108, i64 %225
%229 = load float, float* %228
store float %229, float* %226
store float %227, float* %228
%230 = add nuw nsw i64 %220, 2
%231 = icmp eq i64 %230, %125
br i1 %231, label %232, label %219
232: ; preds = %215, %219, %202, %116
%233 = icmp sgt i32 %119, 0
br i1 %233, label %234, label %73
234: ; preds = %232
%235 = shl nuw i32 %119, 1
%236 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %78, i64 %78
%237 = call i32 @llvm.smax.i32(i32 %235, i32 1)
%238 = zext i32 %119 to i64
%239 = zext i32 %237 to i64
%240 = zext i32 %237 to i64
%241 = getelementptr [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %78, i64 %239
%242 = and i64 %239, 2147483644
%243 = add nsw i64 %242, -4
%244 = lshr exact i64 %243, 2
%245 = add nuw nsw i64 %244, 1
%246 = icmp ult i32 %237, 4
%247 = and i64 %239, 2147483644
%248 = icmp eq i64 %247, %239
%249 = icmp ult i32 %237, 4
%250 = and i64 %239, 2147483644
%251 = and i64 %245, 1
%252 = icmp eq i64 %243, 0
%253 = and i64 %245, 9223372036854775806
%254 = icmp eq i64 %251, 0
%255 = icmp eq i64 %250, %239
br label %256
256: ; preds = %234, %347
%257 = phi i64 [ 0, %234 ], [ %348, %347 ]
%258 = getelementptr [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %257, i64 0
%259 = getelementptr [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %257, i64 %239
%260 = icmp eq i64 %257, %78
br i1 %260, label %307, label %261
261: ; preds = %256
%262 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %257, i64 %78
%263 = load float, float* %262
br i1 %246, label %293, label %264
264: ; preds = %261
%265 = icmp ult float* %258, %241
%266 = icmp ult float* %82, %259
%267 = and i1 %265, %266
%268 = icmp ult float* %258, %86
%269 = icmp ult float* %84, %259
%270 = and i1 %268, %269
%271 = or i1 %267, %270
br i1 %271, label %293, label %272
272: ; preds = %264
%273 = insertelement <4 x float> poison, float %263, i64 0
%274 = shufflevector <4 x float> %273, <4 x float> poison, <4 x i32> zeroinitializer
%275 = load float, float* %236
%276 = insertelement <4 x float> poison, float %275, i64 0
%277 = shufflevector <4 x float> %276, <4 x float> poison, <4 x i32> zeroinitializer
br label %278
278: ; preds = %278, %272
%279 = phi i64 [ 0, %272 ], [ %290, %278 ]
%280 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %78, i64 %279
%281 = bitcast float* %280 to <4 x float>*
%282 = load <4 x float>, <4 x float>* %281
%283 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %257, i64 %279
%284 = bitcast float* %283 to <4 x float>*
%285 = load <4 x float>, <4 x float>* %284
%286 = fneg <4 x float> %282
%287 = fdiv <4 x float> %286, %277
%288 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %287, <4 x float> %274, <4 x float> %285)
%289 = bitcast float* %283 to <4 x float>*
store <4 x float> %288, <4 x float>* %289
%290 = add nuw i64 %279, 4
%291 = icmp eq i64 %290, %247
br i1 %291, label %292, label %278
292: ; preds = %278
br i1 %248, label %347, label %293
293: ; preds = %264, %261, %292
%294 = phi i64 [ 0, %264 ], [ 0, %261 ], [ %247, %292 ]
br label %295
295: ; preds = %293, %295
%296 = phi i64 [ %305, %295 ], [ %294, %293 ]
%297 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %78, i64 %296
%298 = load float, float* %297
%299 = load float, float* %236
%300 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %257, i64 %296
%301 = load float, float* %300
%302 = fneg float %298
%303 = fdiv float %302, %299
%304 = call float @llvm.fmuladd.f32(float %303, float %263, float %301)
store float %304, float* %300
%305 = add nuw nsw i64 %296, 1
%306 = icmp eq i64 %305, %239
br i1 %306, label %347, label %295
307: ; preds = %256
%308 = load float, float* %236
br i1 %249, label %338, label %309
309: ; preds = %307
%310 = insertelement <4 x float> poison, float %308, i64 0
%311 = shufflevector <4 x float> %310, <4 x float> poison, <4 x i32> zeroinitializer
br i1 %252, label %329, label %312
312: ; preds = %309, %312
%313 = phi i64 [ %326, %312 ], [ 0, %309 ]
%314 = phi i64 [ %327, %312 ], [ 0, %309 ]
%315 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %78, i64 %313
%316 = bitcast float* %315 to <4 x float>*
%317 = load <4 x float>, <4 x float>* %316
%318 = fdiv <4 x float> %317, %311
%319 = bitcast float* %315 to <4 x float>*
store <4 x float> %318, <4 x float>* %319
%320 = or i64 %313, 4
%321 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %78, i64 %320
%322 = bitcast float* %321 to <4 x float>*
%323 = load <4 x float>, <4 x float>* %322
%324 = fdiv <4 x float> %323, %311
%325 = bitcast float* %321 to <4 x float>*
store <4 x float> %324, <4 x float>* %325
%326 = add nuw i64 %313, 8
%327 = add i64 %314, 2
%328 = icmp eq i64 %327, %253
br i1 %328, label %329, label %312
329: ; preds = %312, %309
%330 = phi i64 [ 0, %309 ], [ %326, %312 ]
br i1 %254, label %337, label %331
331: ; preds = %329
%332 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %78, i64 %330
%333 = bitcast float* %332 to <4 x float>*
%334 = load <4 x float>, <4 x float>* %333
%335 = fdiv <4 x float> %334, %311
%336 = bitcast float* %332 to <4 x float>*
store <4 x float> %335, <4 x float>* %336
br label %337
337: ; preds = %329, %331
br i1 %255, label %347, label %338
338: ; preds = %307, %337
%339 = phi i64 [ 0, %307 ], [ %250, %337 ]
br label %340
340: ; preds = %338, %340
%341 = phi i64 [ %345, %340 ], [ %339, %338 ]
%342 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %78, i64 %341
%343 = load float, float* %342
%344 = fdiv float %343, %308
store float %344, float* %342
%345 = add nuw nsw i64 %341, 1
%346 = icmp eq i64 %345, %240
br i1 %346, label %347, label %340
347: ; preds = %295, %340, %292, %337
%348 = add nuw nsw i64 %257, 1
%349 = icmp eq i64 %348, %238
br i1 %349, label %73, label %256
350: ; preds = %73, %16, %0, %52
%351 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str, i64 0, i64 0))
%352 = load i32, i32* %2
%353 = icmp sgt i32 %352, 0
br i1 %353, label %354, label %375
354: ; preds = %350, %369
%355 = phi i32 [ %372, %369 ], [ %352, %350 ]
%356 = phi i64 [ %371, %369 ], [ 0, %350 ]
%357 = icmp sgt i32 %355, 0
br i1 %357, label %358, label %369
358: ; preds = %354, %358
%359 = phi i64 [ %364, %358 ], [ 0, %354 ]
%360 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %356, i64 %359
%361 = load float, float* %360
%362 = fpext float %361 to double
%363 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), double %362)
%364 = add nuw nsw i64 %359, 1
%365 = load i32, i32* %2
%366 = shl nsw i32 %365, 1
%367 = sext i32 %366 to i64
%368 = icmp slt i64 %364, %367
br i1 %368, label %358, label %369
369: ; preds = %358, %354
%370 = call i32 @putchar(i32 10)
%371 = add nuw nsw i64 %356, 1
%372 = load i32, i32* %2
%373 = sext i32 %372 to i64
%374 = icmp slt i64 %371, %373
br i1 %374, label %354, label %375
375: ; preds = %369, %350
%376 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.11, i64 0, i64 0))
%377 = load i32, i32* %2
%378 = icmp sgt i32 %377, 0
br i1 %378, label %379, label %403
379: ; preds = %375, %397
%380 = phi i64 [ %399, %397 ], [ 0, %375 ]
%381 = phi i32 [ %400, %397 ], [ %377, %375 ]
%382 = shl nsw i32 %381, 1
%383 = icmp slt i32 %381, %382
br i1 %383, label %384, label %397
384: ; preds = %379
%385 = sext i32 %381 to i64
br label %386
386: ; preds = %384, %386
%387 = phi i64 [ %385, %384 ], [ %392, %386 ]
%388 = getelementptr inbounds [10 x [20 x float]], [10 x [20 x float]]* %1, i64 0, i64 %380, i64 %387
%389 = load float, float* %388
%390 = fpext float %389 to double
%391 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0), double %390)
%392 = add nsw i64 %387, 1
%393 = load i32, i32* %2
%394 = shl nsw i32 %393, 1
%395 = sext i32 %394 to i64
%396 = icmp slt i64 %392, %395
br i1 %396, label %386, label %397
397: ; preds = %386, %379
%398 = call i32 @putchar(i32 10)
%399 = add nuw nsw i64 %380, 1
%400 = load i32, i32* %2
%401 = sext i32 %400 to i64
%402 = icmp slt i64 %399, %401
br i1 %402, label %379, label %403
403: ; preds = %397, %375
ret i32 0
}