#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(double);
int /*<<< orphan*/ printf(char *, unsigned int, ...);
int gaussBksb(unsigned int N, double **A, double *B) {
  unsigned int i, j, k, N1, i1, k1;
  double TOL, C, D;
  TOL = 1.0E-9;
  N1 = N - 1;
  for (i = 0; i < N1; i++) {
    i1 = i + 1;
    C = A[i][i];
    if ((fabs(C) - TOL) <= 0) {
      for (j = i1; j < N; j++) {
        if (fabs(A[j][i]) - TOL > 0) {
          for (k = i; k < N; k++) {
            C = A[i][k];
            A[i][k] = A[j][k];
            A[j][k] = C;
          }
          C = B[i];
          B[i] = B[j];
          B[j] = C;
          C = A[i][i];
        } else {
          printf("\nSingularity in row %d in global matrix", i);
          exit(1);
        }
      }
    }
    C = A[i][i];
    for (j = i1; j < N; j++)
      A[i][j] = A[i][j] / C;
    B[i] = B[i] / C;
    for (j = i1; j < N; j++) {
      C = A[j][i];
      for (k = i1; k < N; k++)
        A[j][k] = A[j][k] - C * A[i][k];
      B[j] = B[j] - C * B[i];
    }
  }
  if (fabs(A[N1][N1]) > TOL) {
    B[N1] = B[N1] / A[N1][N1];
    for (i = 0; i < N1; i++) {
      k = N1 - i - 1;
      k1 = k + 1;
      for (j = k1; j < N; j++)
        B[k] = B[k] - A[k][j] * B[j];
      D = 1.0;
      for (j = 0; j < N; j++)
        D = D * A[j][j];
    }
  } else {
    printf("Singularity in global matrix, A[%d][%d] = %le", N1, N1, A[N1][N1]);
    exit(1);
  }
  return 0;
}


x86 assembly (clang, -O0):
<gaussBksb>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
movsd  0xec5(%rip),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x4(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x28(%rbp)
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x28(%rbp),%eax
jae    1471 <gaussBksb+0x351>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x1c(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x1c(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x40(%rbp),%xmm1
movaps 0xe87(%rip),%xmm0
pand   %xmm0,%xmm1
subsd  -0x38(%rbp),%xmm1
xorps  %xmm0,%xmm0
ucomisd %xmm1,%xmm0
jb     12e1 <gaussBksb+0x1c1>
mov    -0x2c(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x4(%rbp),%eax
jae    12dc <gaussBksb+0x1bc>
mov    -0x10(%rbp),%rax
mov    -0x20(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x1c(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm0
movaps 0xe45(%rip),%xmm1
pand   %xmm1,%xmm0
subsd  -0x38(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jbe    12ae <gaussBksb+0x18e>
mov    -0x1c(%rbp),%eax
mov    %eax,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x4(%rbp),%eax
jae    1257 <gaussBksb+0x137>
mov    -0x10(%rbp),%rax
mov    -0x1c(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x24(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x20(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x24(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x1c(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x24(%rbp),%ecx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x40(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x20(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x24(%rbp),%ecx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    11e7 <gaussBksb+0xc7>
mov    -0x18(%rbp),%rax
mov    -0x1c(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x18(%rbp),%rax
mov    -0x20(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x1c(%rbp),%ecx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x40(%rbp),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x20(%rbp),%ecx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
mov    -0x1c(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x1c(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x40(%rbp)
jmp    12c9 <gaussBksb+0x1a9>
mov    -0x1c(%rbp),%esi
lea    0xd68(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>
jmp    12ce <gaussBksb+0x1ae>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    11a5 <gaussBksb+0x85>
jmp    12e1 <gaussBksb+0x1c1>
mov    -0x10(%rbp),%rax
mov    -0x1c(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x1c(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x2c(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x4(%rbp),%eax
jae    1344 <gaussBksb+0x224>
mov    -0x10(%rbp),%rax
mov    -0x1c(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x20(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm0
divsd  -0x40(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x1c(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x20(%rbp),%ecx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    12ff <gaussBksb+0x1df>
mov    -0x18(%rbp),%rax
mov    -0x1c(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm0
divsd  -0x40(%rbp),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x1c(%rbp),%ecx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x4(%rbp),%eax
jae    145e <gaussBksb+0x33e>
mov    -0x10(%rbp),%rax
mov    -0x20(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x1c(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x2c(%rbp),%eax
mov    %eax,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x4(%rbp),%eax
jae    1408 <gaussBksb+0x2e8>
mov    -0x10(%rbp),%rax
mov    -0x20(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x24(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm1
movsd  -0x40(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x1c(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x24(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x10(%rbp),%rax
mov    -0x20(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x24(%rbp),%ecx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1391 <gaussBksb+0x271>
mov    -0x18(%rbp),%rax
mov    -0x20(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm1
movsd  -0x40(%rbp),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x1c(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
mov    -0x20(%rbp),%ecx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1367 <gaussBksb+0x247>
jmp    1463 <gaussBksb+0x343>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1150 <gaussBksb+0x30>
mov    -0x10(%rbp),%rax
mov    -0x28(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x28(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm0
movaps 0xb85(%rip),%xmm1
pand   %xmm1,%xmm0
ucomisd -0x38(%rbp),%xmm0
jbe    15c6 <gaussBksb+0x4a6>
mov    -0x18(%rbp),%rax
mov    -0x28(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x28(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x28(%rbp),%ecx
divsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x28(%rbp),%ecx
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x28(%rbp),%eax
jae    15c1 <gaussBksb+0x4a1>
mov    -0x28(%rbp),%eax
sub    -0x1c(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x24(%rbp)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
mov    -0x30(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x4(%rbp),%eax
jae    1563 <gaussBksb+0x443>
mov    -0x18(%rbp),%rax
mov    -0x24(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm1
mov    -0x10(%rbp),%rax
mov    -0x24(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x20(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x20(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
mov    -0x24(%rbp),%ecx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    14f3 <gaussBksb+0x3d3>
movsd  0xa9d(%rip),%xmm0
movsd  %xmm0,-0x48(%rbp)
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x4(%rbp),%eax
jae    15ae <gaussBksb+0x48e>
movsd  -0x48(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x20(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x20(%rbp),%ecx
mulsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1577 <gaussBksb+0x457>
jmp    15b3 <gaussBksb+0x493>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    14cc <gaussBksb+0x3ac>
jmp    15f7 <gaussBksb+0x4d7>
mov    -0x28(%rbp),%esi
mov    -0x28(%rbp),%edx
mov    -0x10(%rbp),%rax
mov    -0x28(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x28(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm0
lea    0xa62(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<gaussBksb>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x98,%rsp
mov    %rdx,%r8
mov    %rsi,%r11
mov    %edi,%edx
mov    %edi,%r15d
add    $0xffffffff,%edx
je     1883 <gaussBksb+0x763>
mov    %edx,0x64(%rsp)
mov    %edx,%r13d
lea    -0x2(%rdi),%eax
mov    %r15,%r14
neg    %r14
mov    %edi,%ecx
neg    %ecx
mov    %ecx,0x6c(%rsp)
lea    -0x5(%r15),%rcx
mov    %rcx,0x78(%rsp)
mov    $0x7,%ecx
mov    %rcx,0x8(%rsp)
mov    $0x3,%ecx
mov    %rcx,0x70(%rsp)
xor    %ecx,%ecx
movapd 0xe7b(%rip),%xmm9
movsd  0xe92(%rip),%xmm10
xorpd  %xmm2,%xmm2
movapd 0xe75(%rip),%xmm8
mov    %eax,0x68(%rsp)
mov    %eax,0x14(%rsp)
mov    $0x1,%eax
mov    %r11,0x58(%rsp)
mov    %rdi,0x50(%rsp)
mov    %r13,0x90(%rsp)
mov    %r14,0x88(%rsp)
jmp    121c <gaussBksb+0xfc>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movsd  (%r8,%rcx,8),%xmm5
divsd  %xmm4,%xmm5
movsd  %xmm5,(%r8,%rcx,8)
add    $0x1,%rax
addq   $0x1,0x8(%rsp)
addq   $0xffffffffffffffff,0x78(%rsp)
addq   $0x1,0x70(%rsp)
addl   $0xffffffff,0x14(%rsp)
mov    0x80(%rsp),%rcx
mov    0x90(%rsp),%r13
cmp    %r13,%rcx
mov    0x88(%rsp),%r14
je     187d <gaussBksb+0x75d>
lea    0x1(%rcx),%r12
mov    (%r11,%rcx,8),%r9
movsd  (%r9,%rcx,8),%xmm4
movapd %xmm4,%xmm5
andpd  %xmm9,%xmm5
addsd  %xmm10,%xmm5
ucomisd %xmm5,%xmm2
mov    %rax,0x18(%rsp)
mov    %r12,0x80(%rsp)
jb     14fe <gaussBksb+0x3de>
cmp    %r15,%r12
jae    14fe <gaussBksb+0x3de>
mov    0x78(%rsp),%rdx
shr    $0x2,%rdx
add    $0x1,%rdx
and    $0xfffffffffffffffe,%rdx
mov    %rdx,0x20(%rsp)
mov    %rcx,%rsi
not    %rsi
lea    (%rsi,%r15,1),%rdx
add    $0xfffffffffffffffc,%rdx
add    %r15,%rsi
mov    %rdx,0x40(%rsp)
shr    $0x2,%rdx
add    $0x1,%rdx
mov    %rdx,0x38(%rsp)
lea    (%r9,%rax,8),%rdx
mov    %rdx,(%rsp)
lea    (%r9,%r15,8),%rdx
mov    %rdx,0x48(%rsp)
lea    0x1(%rcx),%r12
mov    %rsi,%rdx
and    $0xfffffffffffffffc,%rdx
mov    %rdx,0x30(%rsp)
add    %rcx,%rdx
add    $0x1,%rdx
mov    %rdx,0x28(%rsp)
mov    0x8(%rsp),%rdx
lea    (%r9,%rdx,8),%r10
mov    %rax,%rbx
jmp    12f4 <gaussBksb+0x1d4>
nopl   0x0(%rax)
movsd  (%r8,%rcx,8),%xmm4
movsd  (%r8,%rbx,8),%xmm5
movsd  %xmm5,(%r8,%rcx,8)
movsd  %xmm4,(%r8,%rbx,8)
add    $0x1,%rbx
cmp    %edi,%ebx
je     14f0 <gaussBksb+0x3d0>
mov    (%r11,%rbx,8),%r13
movsd  0x0(%r13,%rcx,8),%xmm4
movapd %xmm4,%xmm5
andpd  %xmm9,%xmm5
addsd  %xmm10,%xmm5
ucomisd %xmm2,%xmm5
jbe    196e <gaussBksb+0x84e>
movsd  (%r9,%rcx,8),%xmm5
movsd  %xmm4,(%r9,%rcx,8)
movsd  %xmm5,0x0(%r13,%rcx,8)
cmp    %r15,%r12
je     12d0 <gaussBksb+0x1b0>
mov    %r12,%rbp
cmp    $0x4,%rsi
jb     1460 <gaussBksb+0x340>
lea    0x0(,%r15,8),%rdx
add    %r13,%rdx
cmp    %rdx,(%rsp)
jae    1366 <gaussBksb+0x246>
lea    0x0(,%rax,8),%rdx
add    %r13,%rdx
mov    %r12,%rbp
cmp    0x48(%rsp),%rdx
jb     1460 <gaussBksb+0x340>
cmpq   $0x4,0x40(%rsp)
jae    1376 <gaussBksb+0x256>
xor    %r11d,%r11d
jmp    13fe <gaussBksb+0x2de>
mov    0x8(%rsp),%rdx
lea    0x0(,%rdx,8),%r14
add    %r13,%r14
mov    0x20(%rsp),%rdx
xor    %r11d,%r11d
xchg   %ax,%ax
movups -0x30(%r14,%r11,8),%xmm4
movups -0x20(%r14,%r11,8),%xmm5
movups -0x30(%r10,%r11,8),%xmm6
movups -0x20(%r10,%r11,8),%xmm7
movups %xmm4,-0x30(%r10,%r11,8)
movups %xmm5,-0x20(%r10,%r11,8)
movups %xmm6,-0x30(%r14,%r11,8)
movups %xmm7,-0x20(%r14,%r11,8)
movupd -0x10(%r14,%r11,8),%xmm4
movupd (%r14,%r11,8),%xmm5
movupd -0x10(%r10,%r11,8),%xmm6
movupd (%r10,%r11,8),%xmm7
movupd %xmm4,-0x10(%r10,%r11,8)
movupd %xmm5,(%r10,%r11,8)
movupd %xmm6,-0x10(%r14,%r11,8)
movupd %xmm7,(%r14,%r11,8)
add    $0x8,%r11
add    $0xfffffffffffffffe,%rdx
jne    1390 <gaussBksb+0x270>
testb  $0x1,0x38(%rsp)
mov    0x88(%rsp),%r14
je     1446 <gaussBksb+0x326>
add    %r12,%r11
movupd 0x0(%r13,%r11,8),%xmm4
movupd 0x10(%r13,%r11,8),%xmm5
movupd (%r9,%r11,8),%xmm6
movupd 0x10(%r9,%r11,8),%xmm7
movupd %xmm4,(%r9,%r11,8)
movupd %xmm5,0x10(%r9,%r11,8)
movupd %xmm6,0x0(%r13,%r11,8)
movupd %xmm7,0x10(%r13,%r11,8)
mov    0x28(%rsp),%rbp
cmp    0x30(%rsp),%rsi
mov    0x58(%rsp),%r11
mov    0x50(%rsp),%rdi
je     12d0 <gaussBksb+0x1b0>
mov    %r15d,%eax
sub    %ebp,%eax
mov    %rbp,%rdx
test   $0x1,%al
je     148a <gaussBksb+0x36a>
movsd  0x0(%r13,%rbp,8),%xmm4
movsd  (%r9,%rbp,8),%xmm5
movsd  %xmm4,(%r9,%rbp,8)
movsd  %xmm5,0x0(%r13,%rbp,8)
lea    0x1(%rbp),%rdx
not    %rbp
cmp    %r14,%rbp
mov    0x18(%rsp),%rax
je     12d0 <gaussBksb+0x1b0>
nopl   0x0(%rax,%rax,1)
movsd  0x0(%r13,%rdx,8),%xmm4
movsd  (%r9,%rdx,8),%xmm5
movsd  %xmm4,(%r9,%rdx,8)
movsd  %xmm5,0x0(%r13,%rdx,8)
movsd  0x8(%r13,%rdx,8),%xmm4
movsd  0x8(%r9,%rdx,8),%xmm5
movsd  %xmm4,0x8(%r9,%rdx,8)
movsd  %xmm5,0x8(%r13,%rdx,8)
add    $0x2,%rdx
cmp    %rdx,%r15
jne    14a0 <gaussBksb+0x380>
jmp    12d0 <gaussBksb+0x1b0>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movsd  (%r9,%rcx,8),%xmm4
mov    0x80(%rsp),%r12
cmp    %r15,%r12
jae    11d0 <gaussBksb+0xb0>
mov    0x14(%rsp),%r14d
add    $0x1,%r14
mov    0x68(%rsp),%eax
mov    %eax,%r10d
mov    0x18(%rsp),%rax
sub    %ecx,%r10d
lea    0x1(%r10),%rdx
mov    %rdx,(%rsp)
mov    %rax,%rbp
test   %r10d,%r10d
je     15f0 <gaussBksb+0x4d0>
movabs $0x1fffffffc,%rax
lea    0x2(%rax),%rbp
and    (%rsp),%rbp
lea    -0x2(%rbp),%rdx
mov    %rdx,%r11
shr    %r11
add    $0x1,%r11
movapd %xmm4,%xmm5
unpcklpd %xmm4,%xmm5
test   %rdx,%rdx
je     15ba <gaussBksb+0x49a>
mov    %r14,%rbx
and    $0xfffffffffffffffe,%rbx
add    $0xfffffffffffffffe,%rbx
shr    %rbx
add    $0x1,%rbx
and    $0xfffffffffffffffe,%rbx
mov    0x70(%rsp),%rax
lea    (%r9,%rax,8),%rsi
xor    %edx,%edx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movupd -0x10(%rsi,%rdx,8),%xmm6
movupd (%rsi,%rdx,8),%xmm7
divpd  %xmm5,%xmm6
movupd %xmm6,-0x10(%rsi,%rdx,8)
divpd  %xmm5,%xmm7
movupd %xmm7,(%rsi,%rdx,8)
add    $0x4,%rdx
add    $0xfffffffffffffffe,%rbx
jne    1590 <gaussBksb+0x470>
jmp    15bc <gaussBksb+0x49c>
xor    %edx,%edx
test   $0x1,%r11b
mov    0x18(%rsp),%rax
je     15da <gaussBksb+0x4ba>
add    %rax,%rdx
movupd (%r9,%rdx,8),%xmm6
divpd  %xmm5,%xmm6
movupd %xmm6,(%r9,%rdx,8)
cmp    %rbp,(%rsp)
mov    0x58(%rsp),%r11
mov    0x50(%rsp),%rdi
je     1609 <gaussBksb+0x4e9>
add    %rax,%rbp
nopl   (%rax)
movsd  (%r9,%rbp,8),%xmm5
divsd  %xmm4,%xmm5
movsd  %xmm5,(%r9,%rbp,8)
add    $0x1,%rbp
cmp    %ebp,%r15d
jne    15f0 <gaussBksb+0x4d0>
movsd  (%r8,%rcx,8),%xmm5
divsd  %xmm4,%xmm5
movsd  %xmm5,(%r8,%rcx,8)
cmp    %r15,%r12
jae    11e0 <gaussBksb+0xc0>
and    $0xfffffffffffffffc,%r14
add    $0xfffffffffffffffc,%r14
mov    (%rsp),%rdx
movabs $0x1fffffffc,%rax
and    %rax,%rdx
mov    0x18(%rsp),%rax
shr    $0x2,%r14
lea    -0x4(%rdx),%rsi
add    $0x1,%r14
mov    %rsi,0x40(%rsp)
shr    $0x2,%rsi
and    $0xfffffffffffffffe,%r14
mov    %r14,0x20(%rsp)
add    $0x1,%rsi
mov    %rsi,0x38(%rsp)
lea    (%rcx,%r10,1),%rbx
add    $0x2,%rbx
lea    (%r9,%rax,8),%rsi
mov    %rsi,0x48(%rsp)
mov    %rbx,%rsi
lea    (%r9,%rbx,8),%r12
mov    %rdx,0x30(%rsp)
add    %rax,%rdx
mov    %rdx,0x28(%rsp)
mov    0x8(%rsp),%rdx
lea    (%r9,%rdx,8),%r13
mov    %rax,%rbp
jmp    16be <gaussBksb+0x59e>
nopw   0x0(%rax,%rax,1)
mulsd  (%r8,%rcx,8),%xmm4
addsd  (%r8,%rbp,8),%xmm4
movsd  %xmm4,(%r8,%rbp,8)
add    $0x1,%rbp
cmp    %edi,%ebp
je     11e0 <gaussBksb+0xc0>
mov    (%r11,%rbp,8),%r14
movsd  (%r14,%rcx,8),%xmm4
xorpd  %xmm8,%xmm4
mov    %rax,%rbx
cmp    $0x3,%r10d
jb     1800 <gaussBksb+0x6e0>
lea    (%r14,%rax,8),%rdx
cmp    %r12,%rdx
jae    16f5 <gaussBksb+0x5d5>
lea    (%r14,%rsi,8),%rdx
mov    %rax,%rbx
cmp    %rdx,0x48(%rsp)
jb     1800 <gaussBksb+0x6e0>
movapd %xmm4,%xmm5
unpcklpd %xmm4,%xmm5
cmpq   $0x0,0x40(%rsp)
je     1796 <gaussBksb+0x676>
mov    0x8(%rsp),%rdx
lea    (%r14,%rdx,8),%rdx
mov    0x20(%rsp),%r11
xor    %ebx,%ebx
nopl   0x0(%rax)
movupd -0x30(%r13,%rbx,8),%xmm6
movupd -0x20(%r13,%rbx,8),%xmm7
mulpd  %xmm5,%xmm6
movupd -0x30(%rdx,%rbx,8),%xmm3
addpd  %xmm6,%xmm3
movupd -0x20(%rdx,%rbx,8),%xmm6
movupd -0x10(%rdx,%rbx,8),%xmm0
movupd (%rdx,%rbx,8),%xmm1
mulpd  %xmm5,%xmm7
addpd  %xmm6,%xmm7
movupd %xmm3,-0x30(%rdx,%rbx,8)
movupd %xmm7,-0x20(%rdx,%rbx,8)
movupd -0x10(%r13,%rbx,8),%xmm3
movupd 0x0(%r13,%rbx,8),%xmm6
mulpd  %xmm5,%xmm3
addpd  %xmm0,%xmm3
mulpd  %xmm5,%xmm6
addpd  %xmm1,%xmm6
movupd %xmm3,-0x10(%rdx,%rbx,8)
movupd %xmm6,(%rdx,%rbx,8)
add    $0x8,%rbx
add    $0xfffffffffffffffe,%r11
jne    1720 <gaussBksb+0x600>
jmp    1798 <gaussBksb+0x678>
xor    %ebx,%ebx
testb  $0x1,0x38(%rsp)
mov    0x58(%rsp),%r11
mov    0x50(%rsp),%rdi
je     17e3 <gaussBksb+0x6c3>
add    %rax,%rbx
movupd (%r14,%rbx,8),%xmm0
movupd 0x10(%r14,%rbx,8),%xmm1
movupd (%r9,%rbx,8),%xmm3
movupd 0x10(%r9,%rbx,8),%xmm6
mulpd  %xmm5,%xmm3
addpd  %xmm0,%xmm3
mulpd  %xmm5,%xmm6
addpd  %xmm1,%xmm6
movupd %xmm3,(%r14,%rbx,8)
movupd %xmm6,0x10(%r14,%rbx,8)
mov    0x28(%rsp),%rbx
mov    0x30(%rsp),%rdx
cmp    %rdx,(%rsp)
je     16a0 <gaussBksb+0x580>
nopw   0x0(%rax,%rax,1)
mov    %edi,%edx
sub    %ebx,%edx
test   $0x1,%dl
jne    1810 <gaussBksb+0x6f0>
mov    %rbx,%rdx
jmp    182d <gaussBksb+0x70d>
xchg   %ax,%ax
movsd  (%r9,%rbx,8),%xmm0
mulsd  %xmm4,%xmm0
addsd  (%r14,%rbx,8),%xmm0
movsd  %xmm0,(%r14,%rbx,8)
mov    %rbx,%rdx
add    $0x1,%rdx
not    %ebx
cmp    0x6c(%rsp),%ebx
je     16a0 <gaussBksb+0x580>
nopl   0x0(%rax)
movsd  (%r9,%rdx,8),%xmm0
mulsd  %xmm4,%xmm0
addsd  (%r14,%rdx,8),%xmm0
movsd  %xmm0,(%r14,%rdx,8)
movsd  0x8(%r9,%rdx,8),%xmm0
mulsd  %xmm4,%xmm0
addsd  0x8(%r14,%rdx,8),%xmm0
movsd  %xmm0,0x8(%r14,%rdx,8)
add    $0x2,%rdx
cmp    %edx,%r15d
jne    1840 <gaussBksb+0x720>
jmp    16a0 <gaussBksb+0x580>
mov    0x64(%rsp),%edx
jmp    1886 <gaussBksb+0x766>
xor    %r13d,%r13d
mov    (%r11,%r13,8),%rcx
movsd  (%rcx,%r13,8),%xmm0
movapd 0x768(%rip),%xmm1
andpd  %xmm0,%xmm1
ucomisd 0x784(%rip),%xmm1
jbe    1988 <gaussBksb+0x868>
movsd  (%r8,%r13,8),%xmm1
divsd  %xmm0,%xmm1
movsd  %xmm1,(%r8,%r13,8)
test   %edx,%edx
je     195a <gaussBksb+0x83a>
xor    %ecx,%ecx
mov    %edx,%r9d
jmp    18dd <gaussBksb+0x7bd>
nopl   0x0(%rax)
add    $0x1,%rcx
add    $0xffffffff,%r9d
cmp    %r13,%rcx
je     195a <gaussBksb+0x83a>
mov    %edx,%ebp
sub    %ecx,%ebp
cmp    %edi,%ebp
jae    18d0 <gaussBksb+0x7b0>
mov    %r9d,%ebx
add    $0xffffffff,%ebp
mov    (%r11,%rbp,8),%rax
movsd  (%r8,%rbp,8),%xmm0
test   $0x1,%cl
jne    1913 <gaussBksb+0x7f3>
movsd  (%rax,%rbx,8),%xmm1
mulsd  (%r8,%rbx,8),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,(%r8,%rbp,8)
add    $0x1,%rbx
test   %ecx,%ecx
je     18d0 <gaussBksb+0x7b0>
nopw   0x0(%rax,%rax,1)
movsd  (%rax,%rbx,8),%xmm1
mulsd  (%r8,%rbx,8),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,(%r8,%rbp,8)
movsd  0x8(%rax,%rbx,8),%xmm1
mulsd  0x8(%r8,%rbx,8),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,(%r8,%rbp,8)
add    $0x2,%rbx
cmp    %ebx,%r15d
jne    1920 <gaussBksb+0x800>
jmp    18d0 <gaussBksb+0x7b0>
xor    %eax,%eax
add    $0x98,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0x6bb(%rip),%rdi
mov    %ecx,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>
lea    0x6c9(%rip),%rdi
mov    %edx,%esi
mov    $0x1,%al
call   1030 <printf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

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

LLVM IR (-O2):
@.str = [40 x i8] c"\0ASingularity in row %d in global matrix\00"
@.str.1 = [46 x i8] c"Singularity in global matrix, A[%d][%d] = %le\00"
define i32 @gaussBksb(i32 %0, double** nocapture %1, double* nocapture %2) {
%4 = add i32 %0, -1
%5 = icmp eq i32 %4, 0
br i1 %5, label %399, label %6
6: ; preds = %3
%7 = zext i32 %0 to i64
%8 = zext i32 %4 to i64
%9 = add i32 %0, -2
%10 = sub nsw i64 0, %7
%11 = sub i32 0, %0
br label %15
12: ; preds = %391, %251, %263
%13 = add nuw nsw i64 %16, 1
%14 = icmp eq i64 %54, %8
br i1 %14, label %399, label %15
15: ; preds = %6, %12
%16 = phi i64 [ 1, %6 ], [ %13, %12 ]
%17 = phi i64 [ 0, %6 ], [ %54, %12 ]
%18 = trunc i64 %17 to i32
%19 = sub i32 %9, %18
%20 = zext i32 %19 to i64
%21 = add nuw nsw i64 %20, 1
%22 = and i64 %21, 8589934588
%23 = add nsw i64 %22, -4
%24 = lshr exact i64 %23, 2
%25 = add nuw nsw i64 %24, 1
%26 = trunc i64 %17 to i32
%27 = sub i32 %9, %26
%28 = zext i32 %27 to i64
%29 = add nuw nsw i64 %28, 1
%30 = and i64 %29, 8589934590
%31 = add nsw i64 %30, -2
%32 = lshr exact i64 %31, 1
%33 = add nuw i64 %32, 1
%34 = xor i64 %17, -1
%35 = add nsw i64 %34, %7
%36 = add i64 %35, -4
%37 = lshr i64 %36, 2
%38 = add nuw nsw i64 %37, 1
%39 = xor i64 %17, -1
%40 = add nsw i64 %39, %7
%41 = trunc i64 %17 to i32
%42 = sub i32 %9, %41
%43 = zext i32 %42 to i64
%44 = add nuw nsw i64 %43, 1
%45 = trunc i64 %17 to i32
%46 = sub i32 %9, %45
%47 = zext i32 %46 to i64
%48 = add nuw nsw i64 %47, 1
%49 = add nuw i64 %17, 2
%50 = trunc i64 %17 to i32
%51 = sub i32 %9, %50
%52 = zext i32 %51 to i64
%53 = add i64 %49, %52
%54 = add nuw nsw i64 %17, 1
%55 = getelementptr inbounds double*, double** %1, i64 %17
%56 = load double*, double** %55
%57 = getelementptr inbounds double, double* %56, i64 %17
%58 = load double, double* %57
%59 = tail call double @llvm.fabs.f64(double %58)
%60 = fadd double %59, -1.000000e-09
%61 = fcmp ole double %60, 0.000000e+00
%62 = icmp ult i64 %54, %7
%63 = select i1 %61, i1 %62, i1 false
br i1 %63, label %64, label %205
64: ; preds = %15
%65 = getelementptr inbounds double, double* %2, i64 %17
%66 = getelementptr double, double* %56, i64 %16
%67 = getelementptr double, double* %56, i64 %7
%68 = getelementptr inbounds double, double* %56, i64 %17
%69 = add nuw nsw i64 %17, 1
%70 = icmp eq i64 %69, %7
%71 = icmp ult i64 %40, 4
%72 = and i64 %40, -4
%73 = add i64 %69, %72
%74 = and i64 %38, 1
%75 = icmp ult i64 %36, 4
%76 = and i64 %38, 9223372036854775806
%77 = icmp eq i64 %74, 0
%78 = icmp eq i64 %40, %72
br label %79
79: ; preds = %64, %192
%80 = phi i64 [ %16, %64 ], [ %196, %192 ]
%81 = getelementptr inbounds double*, double** %1, i64 %80
%82 = load double*, double** %81
%83 = getelementptr inbounds double, double* %82, i64 %17
%84 = load double, double* %83
%85 = tail call double @llvm.fabs.f64(double %84)
%86 = fadd double %85, -1.000000e-09
%87 = fcmp ogt double %86, 0.000000e+00
br i1 %87, label %88, label %199
88: ; preds = %79
%89 = load double, double* %68
%90 = getelementptr inbounds double, double* %82, i64 %17
store double %84, double* %68
store double %89, double* %90
br i1 %70, label %192, label %91
91: ; preds = %88
br i1 %71, label %161, label %92
92: ; preds = %91
%93 = getelementptr double, double* %82, i64 %16
%94 = getelementptr double, double* %82, i64 %7
%95 = icmp ult double* %66, %94
%96 = icmp ult double* %93, %67
%97 = and i1 %95, %96
br i1 %97, label %161, label %98
98: ; preds = %92
br i1 %75, label %140, label %99
99: ; preds = %98, %99
%100 = phi i64 [ %137, %99 ], [ 0, %98 ]
%101 = phi i64 [ %138, %99 ], [ 0, %98 ]
%102 = add i64 %69, %100
%103 = getelementptr inbounds double, double* %82, i64 %102
%104 = bitcast double* %103 to <2 x double>*
%105 = load <2 x double>, <2 x double>* %104
%106 = getelementptr inbounds double, double* %103, i64 2
%107 = bitcast double* %106 to <2 x double>*
%108 = load <2 x double>, <2 x double>* %107
%109 = getelementptr inbounds double, double* %56, i64 %102
%110 = bitcast double* %109 to <2 x double>*
%111 = load <2 x double>, <2 x double>* %110
%112 = getelementptr inbounds double, double* %109, i64 2
%113 = bitcast double* %112 to <2 x double>*
%114 = load <2 x double>, <2 x double>* %113
%115 = bitcast double* %109 to <2 x double>*
store <2 x double> %105, <2 x double>* %115
%116 = bitcast double* %112 to <2 x double>*
store <2 x double> %108, <2 x double>* %116
%117 = bitcast double* %103 to <2 x double>*
store <2 x double> %111, <2 x double>* %117
%118 = bitcast double* %106 to <2 x double>*
store <2 x double> %114, <2 x double>* %118
%119 = or i64 %100, 4
%120 = add i64 %69, %119
%121 = getelementptr inbounds double, double* %82, i64 %120
%122 = bitcast double* %121 to <2 x double>*
%123 = load <2 x double>, <2 x double>* %122
%124 = getelementptr inbounds double, double* %121, i64 2
%125 = bitcast double* %124 to <2 x double>*
%126 = load <2 x double>, <2 x double>* %125
%127 = getelementptr inbounds double, double* %56, i64 %120
%128 = bitcast double* %127 to <2 x double>*
%129 = load <2 x double>, <2 x double>* %128
%130 = getelementptr inbounds double, double* %127, i64 2
%131 = bitcast double* %130 to <2 x double>*
%132 = load <2 x double>, <2 x double>* %131
%133 = bitcast double* %127 to <2 x double>*
store <2 x double> %123, <2 x double>* %133
%134 = bitcast double* %130 to <2 x double>*
store <2 x double> %126, <2 x double>* %134
%135 = bitcast double* %121 to <2 x double>*
store <2 x double> %129, <2 x double>* %135
%136 = bitcast double* %124 to <2 x double>*
store <2 x double> %132, <2 x double>* %136
%137 = add nuw i64 %100, 8
%138 = add i64 %101, 2
%139 = icmp eq i64 %138, %76
br i1 %139, label %140, label %99
140: ; preds = %99, %98
%141 = phi i64 [ 0, %98 ], [ %137, %99 ]
br i1 %77, label %160, label %142
142: ; preds = %140
%143 = add i64 %69, %141
%144 = getelementptr inbounds double, double* %82, i64 %143
%145 = bitcast double* %144 to <2 x double>*
%146 = load <2 x double>, <2 x double>* %145
%147 = getelementptr inbounds double, double* %144, i64 2
%148 = bitcast double* %147 to <2 x double>*
%149 = load <2 x double>, <2 x double>* %148
%150 = getelementptr inbounds double, double* %56, i64 %143
%151 = bitcast double* %150 to <2 x double>*
%152 = load <2 x double>, <2 x double>* %151
%153 = getelementptr inbounds double, double* %150, i64 2
%154 = bitcast double* %153 to <2 x double>*
%155 = load <2 x double>, <2 x double>* %154
%156 = bitcast double* %150 to <2 x double>*
store <2 x double> %146, <2 x double>* %156
%157 = bitcast double* %153 to <2 x double>*
store <2 x double> %149, <2 x double>* %157
%158 = bitcast double* %144 to <2 x double>*
store <2 x double> %152, <2 x double>* %158
%159 = bitcast double* %147 to <2 x double>*
store <2 x double> %155, <2 x double>* %159
br label %160
160: ; preds = %140, %142
br i1 %78, label %192, label %161
161: ; preds = %92, %91, %160
%162 = phi i64 [ %69, %92 ], [ %69, %91 ], [ %73, %160 ]
%163 = sub i64 %7, %162
%164 = xor i64 %162, -1
%165 = and i64 %163, 1
%166 = icmp eq i64 %165, 0
br i1 %166, label %174, label %167
167: ; preds = %161
%168 = getelementptr inbounds double, double* %82, i64 %162
%169 = load double, double* %168
%170 = getelementptr inbounds double, double* %56, i64 %162
%171 = load double, double* %170
%172 = getelementptr inbounds double, double* %82, i64 %162
store double %169, double* %170
store double %171, double* %172
%173 = add nuw nsw i64 %162, 1
br label %174
174: ; preds = %167, %161
%175 = phi i64 [ %162, %161 ], [ %173, %167 ]
%176 = icmp eq i64 %164, %10
br i1 %176, label %192, label %177
177: ; preds = %174, %177
%178 = phi i64 [ %190, %177 ], [ %175, %174 ]
%179 = getelementptr inbounds double, double* %82, i64 %178
%180 = load double, double* %179
%181 = getelementptr inbounds double, double* %56, i64 %178
%182 = load double, double* %181
%183 = getelementptr inbounds double, double* %82, i64 %178
store double %180, double* %181
store double %182, double* %183
%184 = add nuw nsw i64 %178, 1
%185 = getelementptr inbounds double, double* %82, i64 %184
%186 = load double, double* %185
%187 = getelementptr inbounds double, double* %56, i64 %184
%188 = load double, double* %187
%189 = getelementptr inbounds double, double* %82, i64 %184
store double %186, double* %187
store double %188, double* %189
%190 = add nuw nsw i64 %178, 2
%191 = icmp eq i64 %190, %7
br i1 %191, label %192, label %177
192: ; preds = %174, %177, %160, %88
%193 = load double, double* %65
%194 = getelementptr inbounds double, double* %2, i64 %80
%195 = load double, double* %194
store double %195, double* %65
store double %193, double* %194
%196 = add nuw nsw i64 %80, 1
%197 = trunc i64 %196 to i32
%198 = icmp eq i32 %197, %0
br i1 %198, label %203, label %79
199: ; preds = %79
%200 = trunc i64 %17 to i32
%201 = tail call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str, i64 0, i64 0), i32 %200)
%202 = tail call i32 @exit(i32 1)
unreachable
203: ; preds = %192
%204 = load double, double* %57
br label %205
205: ; preds = %203, %15
%206 = phi double [ %204, %203 ], [ %58, %15 ]
br i1 %62, label %207, label %251
207: ; preds = %205
%208 = icmp eq i32 %42, 0
br i1 %208, label %249, label %209
209: ; preds = %207
%210 = and i64 %44, 8589934590
%211 = add nuw i64 %16, %210
%212 = insertelement <2 x double> poison, double %206, i64 0
%213 = shufflevector <2 x double> %212, <2 x double> poison, <2 x i32> zeroinitializer
%214 = and i64 %33, 1
%215 = icmp eq i64 %31, 0
br i1 %215, label %237, label %216
216: ; preds = %209
%217 = and i64 %33, -2
br label %218
218: ; preds = %218, %216
%219 = phi i64 [ 0, %216 ], [ %234, %218 ]
%220 = phi i64 [ 0, %216 ], [ %235, %218 ]
%221 = add i64 %16, %219
%222 = getelementptr inbounds double, double* %56, i64 %221
%223 = bitcast double* %222 to <2 x double>*
%224 = load <2 x double>, <2 x double>* %223
%225 = fdiv <2 x double> %224, %213
%226 = bitcast double* %222 to <2 x double>*
store <2 x double> %225, <2 x double>* %226
%227 = or i64 %219, 2
%228 = add i64 %16, %227
%229 = getelementptr inbounds double, double* %56, i64 %228
%230 = bitcast double* %229 to <2 x double>*
%231 = load <2 x double>, <2 x double>* %230
%232 = fdiv <2 x double> %231, %213
%233 = bitcast double* %229 to <2 x double>*
store <2 x double> %232, <2 x double>* %233
%234 = add nuw i64 %219, 4
%235 = add nuw i64 %220, 2
%236 = icmp eq i64 %235, %217
br i1 %236, label %237, label %218
237: ; preds = %218, %209
%238 = phi i64 [ 0, %209 ], [ %234, %218 ]
%239 = icmp eq i64 %214, 0
br i1 %239, label %247, label %240
240: ; preds = %237
%241 = add i64 %16, %238
%242 = getelementptr inbounds double, double* %56, i64 %241
%243 = bitcast double* %242 to <2 x double>*
%244 = load <2 x double>, <2 x double>* %243
%245 = fdiv <2 x double> %244, %213
%246 = bitcast double* %242 to <2 x double>*
store <2 x double> %245, <2 x double>* %246
br label %247
247: ; preds = %237, %240
%248 = icmp eq i64 %44, %210
br i1 %248, label %263, label %249
249: ; preds = %207, %247
%250 = phi i64 [ %16, %207 ], [ %211, %247 ]
br label %255
251: ; preds = %205
%252 = getelementptr inbounds double, double* %2, i64 %17
%253 = load double, double* %252
%254 = fdiv double %253, %206
store double %254, double* %252
br label %12
255: ; preds = %249, %255
%256 = phi i64 [ %260, %255 ], [ %250, %249 ]
%257 = getelementptr inbounds double, double* %56, i64 %256
%258 = load double, double* %257
%259 = fdiv double %258, %206
store double %259, double* %257
%260 = add nuw nsw i64 %256, 1
%261 = trunc i64 %260 to i32
%262 = icmp eq i32 %261, %0
br i1 %262, label %263, label %255
263: ; preds = %255, %247
%264 = getelementptr inbounds double, double* %2, i64 %17
%265 = load double, double* %264
%266 = fdiv double %265, %206
store double %266, double* %264
br i1 %62, label %267, label %12
267: ; preds = %263
%268 = getelementptr double, double* %56, i64 %16
%269 = getelementptr double, double* %56, i64 %53
%270 = icmp ult i32 %46, 3
%271 = and i64 %48, 8589934588
%272 = add nuw i64 %16, %271
%273 = and i64 %25, 1
%274 = icmp eq i64 %23, 0
%275 = and i64 %25, 9223372036854775806
%276 = icmp eq i64 %273, 0
%277 = icmp eq i64 %48, %271
br label %278
278: ; preds = %267, %391
%279 = phi i64 [ %396, %391 ], [ %16, %267 ]
%280 = getelementptr inbounds double*, double** %1, i64 %279
%281 = load double*, double** %280
%282 = getelementptr inbounds double, double* %281, i64 %17
%283 = load double, double* %282
%284 = fneg double %283
br i1 %270, label %358, label %285
285: ; preds = %278
%286 = getelementptr double, double* %281, i64 %16
%287 = getelementptr double, double* %281, i64 %53
%288 = icmp ult double* %286, %269
%289 = icmp ult double* %268, %287
%290 = and i1 %288, %289
br i1 %290, label %358, label %291
291: ; preds = %285
%292 = insertelement <2 x double> poison, double %284, i64 0
%293 = shufflevector <2 x double> %292, <2 x double> poison, <2 x i32> zeroinitializer
%294 = insertelement <2 x double> poison, double %284, i64 0
%295 = shufflevector <2 x double> %294, <2 x double> poison, <2 x i32> zeroinitializer
br i1 %274, label %337, label %296
296: ; preds = %291, %296
%297 = phi i64 [ %334, %296 ], [ 0, %291 ]
%298 = phi i64 [ %335, %296 ], [ 0, %291 ]
%299 = add i64 %16, %297
%300 = getelementptr inbounds double, double* %281, i64 %299
%301 = bitcast double* %300 to <2 x double>*
%302 = load <2 x double>, <2 x double>* %301
%303 = getelementptr inbounds double, double* %300, i64 2
%304 = bitcast double* %303 to <2 x double>*
%305 = load <2 x double>, <2 x double>* %304
%306 = getelementptr inbounds double, double* %56, i64 %299
%307 = bitcast double* %306 to <2 x double>*
%308 = load <2 x double>, <2 x double>* %307
%309 = getelementptr inbounds double, double* %306, i64 2
%310 = bitcast double* %309 to <2 x double>*
%311 = load <2 x double>, <2 x double>* %310
%312 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %293, <2 x double> %308, <2 x double> %302)
%313 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %295, <2 x double> %311, <2 x double> %305)
%314 = bitcast double* %300 to <2 x double>*
store <2 x double> %312, <2 x double>* %314
%315 = bitcast double* %303 to <2 x double>*
store <2 x double> %313, <2 x double>* %315
%316 = or i64 %297, 4
%317 = add i64 %16, %316
%318 = getelementptr inbounds double, double* %281, i64 %317
%319 = bitcast double* %318 to <2 x double>*
%320 = load <2 x double>, <2 x double>* %319
%321 = getelementptr inbounds double, double* %318, i64 2
%322 = bitcast double* %321 to <2 x double>*
%323 = load <2 x double>, <2 x double>* %322
%324 = getelementptr inbounds double, double* %56, i64 %317
%325 = bitcast double* %324 to <2 x double>*
%326 = load <2 x double>, <2 x double>* %325
%327 = getelementptr inbounds double, double* %324, i64 2
%328 = bitcast double* %327 to <2 x double>*
%329 = load <2 x double>, <2 x double>* %328
%330 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %293, <2 x double> %326, <2 x double> %320)
%331 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %295, <2 x double> %329, <2 x double> %323)
%332 = bitcast double* %318 to <2 x double>*
store <2 x double> %330, <2 x double>* %332
%333 = bitcast double* %321 to <2 x double>*
store <2 x double> %331, <2 x double>* %333
%334 = add nuw i64 %297, 8
%335 = add i64 %298, 2
%336 = icmp eq i64 %335, %275
br i1 %336, label %337, label %296
337: ; preds = %296, %291
%338 = phi i64 [ 0, %291 ], [ %334, %296 ]
br i1 %276, label %357, label %339
339: ; preds = %337
%340 = add i64 %16, %338
%341 = getelementptr inbounds double, double* %281, i64 %340
%342 = bitcast double* %341 to <2 x double>*
%343 = load <2 x double>, <2 x double>* %342
%344 = getelementptr inbounds double, double* %341, i64 2
%345 = bitcast double* %344 to <2 x double>*
%346 = load <2 x double>, <2 x double>* %345
%347 = getelementptr inbounds double, double* %56, i64 %340
%348 = bitcast double* %347 to <2 x double>*
%349 = load <2 x double>, <2 x double>* %348
%350 = getelementptr inbounds double, double* %347, i64 2
%351 = bitcast double* %350 to <2 x double>*
%352 = load <2 x double>, <2 x double>* %351
%353 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %293, <2 x double> %349, <2 x double> %343)
%354 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %295, <2 x double> %352, <2 x double> %346)
%355 = bitcast double* %341 to <2 x double>*
store <2 x double> %353, <2 x double>* %355
%356 = bitcast double* %344 to <2 x double>*
store <2 x double> %354, <2 x double>* %356
br label %357
357: ; preds = %337, %339
br i1 %277, label %391, label %358
358: ; preds = %285, %278, %357
%359 = phi i64 [ %16, %285 ], [ %16, %278 ], [ %272, %357 ]
%360 = trunc i64 %359 to i32
%361 = sub i32 %0, %360
%362 = xor i32 %360, -1
%363 = and i32 %361, 1
%364 = icmp eq i32 %363, 0
br i1 %364, label %372, label %365
365: ; preds = %358
%366 = getelementptr inbounds double, double* %281, i64 %359
%367 = load double, double* %366
%368 = getelementptr inbounds double, double* %56, i64 %359
%369 = load double, double* %368
%370 = tail call double @llvm.fmuladd.f64(double %284, double %369, double %367)
store double %370, double* %366
%371 = add nuw nsw i64 %359, 1
br label %372
372: ; preds = %365, %358
%373 = phi i64 [ %359, %358 ], [ %371, %365 ]
%374 = icmp eq i32 %362, %11
br i1 %374, label %391, label %375
375: ; preds = %372, %375
%376 = phi i64 [ %388, %375 ], [ %373, %372 ]
%377 = getelementptr inbounds double, double* %281, i64 %376
%378 = load double, double* %377
%379 = getelementptr inbounds double, double* %56, i64 %376
%380 = load double, double* %379
%381 = tail call double @llvm.fmuladd.f64(double %284, double %380, double %378)
store double %381, double* %377
%382 = add nuw nsw i64 %376, 1
%383 = getelementptr inbounds double, double* %281, i64 %382
%384 = load double, double* %383
%385 = getelementptr inbounds double, double* %56, i64 %382
%386 = load double, double* %385
%387 = tail call double @llvm.fmuladd.f64(double %284, double %386, double %384)
store double %387, double* %383
%388 = add nuw nsw i64 %376, 2
%389 = trunc i64 %388 to i32
%390 = icmp eq i32 %389, %0
br i1 %390, label %391, label %375
391: ; preds = %372, %375, %357
%392 = getelementptr inbounds double, double* %2, i64 %279
%393 = load double, double* %392
%394 = load double, double* %264
%395 = tail call double @llvm.fmuladd.f64(double %284, double %394, double %393)
store double %395, double* %392
%396 = add nuw nsw i64 %279, 1
%397 = trunc i64 %396 to i32
%398 = icmp eq i32 %397, %0
br i1 %398, label %12, label %278
399: ; preds = %12, %3
%400 = phi i64 [ 0, %3 ], [ %8, %12 ]
%401 = getelementptr inbounds double*, double** %1, i64 %400
%402 = load double*, double** %401
%403 = getelementptr inbounds double, double* %402, i64 %400
%404 = load double, double* %403
%405 = tail call double @llvm.fabs.f64(double %404)
%406 = fcmp ogt double %405, 1.000000e-09
br i1 %406, label %407, label %463
407: ; preds = %399
%408 = getelementptr inbounds double, double* %2, i64 %400
%409 = load double, double* %408
%410 = fdiv double %409, %404
store double %410, double* %408
br i1 %5, label %466, label %411
411: ; preds = %407, %440
%412 = phi i64 [ %441, %440 ], [ 0, %407 ]
%413 = phi i32 [ %442, %440 ], [ %4, %407 ]
%414 = trunc i64 %412 to i32
%415 = trunc i64 %412 to i32
%416 = sub i32 %4, %415
%417 = icmp ult i32 %416, %0
br i1 %417, label %418, label %440
418: ; preds = %411
%419 = zext i32 %413 to i64
%420 = add i32 %416, -1
%421 = zext i32 %420 to i64
%422 = getelementptr inbounds double, double* %2, i64 %421
%423 = getelementptr inbounds double*, double** %1, i64 %421
%424 = load double*, double** %423
%425 = load double, double* %422
%426 = and i64 %412, 1
%427 = icmp eq i64 %426, 0
br i1 %427, label %428, label %436
428: ; preds = %418
%429 = getelementptr inbounds double, double* %424, i64 %419
%430 = load double, double* %429
%431 = getelementptr inbounds double, double* %2, i64 %419
%432 = load double, double* %431
%433 = fneg double %430
%434 = tail call double @llvm.fmuladd.f64(double %433, double %432, double %425)
store double %434, double* %422
%435 = add nuw nsw i64 %419, 1
br label %436
436: ; preds = %428, %418
%437 = phi double [ %425, %418 ], [ %434, %428 ]
%438 = phi i64 [ %419, %418 ], [ %435, %428 ]
%439 = icmp eq i32 %414, 0
br i1 %439, label %440, label %444
440: ; preds = %436, %444, %411
%441 = add nuw nsw i64 %412, 1
%442 = add i32 %413, -1
%443 = icmp eq i64 %441, %400
br i1 %443, label %466, label %411
444: ; preds = %436, %444
%445 = phi double [ %459, %444 ], [ %437, %436 ]
%446 = phi i64 [ %460, %444 ], [ %438, %436 ]
%447 = getelementptr inbounds double, double* %424, i64 %446
%448 = load double, double* %447
%449 = getelementptr inbounds double, double* %2, i64 %446
%450 = load double, double* %449
%451 = fneg double %448
%452 = tail call double @llvm.fmuladd.f64(double %451, double %450, double %445)
store double %452, double* %422
%453 = add nuw nsw i64 %446, 1
%454 = getelementptr inbounds double, double* %424, i64 %453
%455 = load double, double* %454
%456 = getelementptr inbounds double, double* %2, i64 %453
%457 = load double, double* %456
%458 = fneg double %455
%459 = tail call double @llvm.fmuladd.f64(double %458, double %457, double %452)
store double %459, double* %422
%460 = add nuw nsw i64 %446, 2
%461 = trunc i64 %460 to i32
%462 = icmp eq i32 %461, %0
br i1 %462, label %440, label %444
463: ; preds = %399
%464 = tail call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.1, i64 0, i64 0), i32 %4, i32 %4, double %404)
%465 = tail call i32 @exit(i32 1)
unreachable
466: ; preds = %440, %407
ret i32 0
}