#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*/ dsytrf_(char *, int *, double *, int *, int *, double *,
                           int *, int *);
int /*<<< orphan*/ dsytrs_(char *, int *, int *, double *, int *, int *,
                           double *, int *, int *);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ free(double *);
scalar_t__ malloc(int);
int /*<<< orphan*/ stderr;
int dAx_eq_b_BK(double *A, double *B, double *x, int m) {
  static double *buf = NULL;
  static int buf_sz = 0, nb = 0;
  double *a, *work;
  int a_sz, ipiv_sz, work_sz, tot_sz;
  register int i, j;
  int info, *ipiv, nrhs = 1;
  if (!A) {
    if (buf)
      free(buf);
    buf = NULL;
    buf_sz = 0;
    return 1;
  }
  ipiv_sz = m;
  a_sz = m * m;
  if (!nb) {
    double tmp;
    work_sz = -1;
    dsytrf_("U", (int *)&m, NULL, (int *)&m, NULL, (double *)&tmp,
            (int *)&work_sz, (int *)&info);
    nb = ((int)tmp) / m;
  }
  work_sz = (nb != -1) ? nb * m : 1;
  tot_sz = (a_sz + work_sz) * sizeof(double) + ipiv_sz * sizeof(int);
  if (tot_sz > buf_sz) {
    if (buf)
      free(buf);
    buf_sz = tot_sz;
    buf = (double *)malloc(buf_sz);
    if (!buf) {
      fprintf(stderr, "memory allocation in "
                      "dAx_eq_b_BK"
                      "() failed!\n");
      exit(1);
    }
  }
  a = buf;
  work = a + a_sz;
  ipiv = (int *)(work + work_sz);
  for (i = 0; i < m; ++i) {
    a[i] = A[i];
    x[i] = B[i];
  }
  for (j = m * m; i < j; ++i)
    a[i] = A[i];
  dsytrf_("U", (int *)&m, a, (int *)&m, ipiv, work, (int *)&work_sz,
          (int *)&info);
  if (info != 0) {
    if (info < 0) {
      fprintf(stderr,
              "LAPACK error: illegal value for argument %d of "
              "dsytrf_"
              " in "
              "dAx_eq_b_BK"
              "()\n",
              -info);
      exit(1);
    } else {
      fprintf(stderr,
              "LAPACK error: singular block diagonal matrix D for"
              "dsytrf_"
              " in "
              "dAx_eq_b_BK"
              "() [D(%d, %d) is zero]\n",
              info, info);
      return 0;
    }
  }
  dsytrs_("U", (int *)&m, (int *)&nrhs, a, (int *)&m, ipiv, x, (int *)&m,
          (int *)&info);
  if (info < 0) {
    fprintf(stderr,
            "LAPACK error: illegal value for argument %d of "
            "dsytrs_"
            " in "
            "dAx_eq_b_BK"
            "()\n",
            -info);
    exit(1);
  }
  return 1;
}


x86 assembly (clang, -O0):
<dAx_eq_b_BK>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
mov    %ecx,-0x24(%rbp)
movl   $0x1,-0x64(%rbp)
cmpq   $0x0,-0x10(%rbp)
jne    11c7 <dAx_eq_b_BK+0x67>
cmpq   $0x0,0x2ec4(%rip)
je     11a6 <dAx_eq_b_BK+0x46>
mov    0x2eb7(%rip),%rdi
call   1030 <free@plt>
movq   $0x0,0x2ea7(%rip)
movl   $0x0,0x2ea5(%rip)
movl   $0x1,-0x4(%rbp)
jmp    14b4 <dAx_eq_b_BK+0x354>
mov    -0x24(%rbp),%eax
mov    %eax,-0x40(%rbp)
mov    -0x24(%rbp),%eax
imul   -0x24(%rbp),%eax
mov    %eax,-0x3c(%rbp)
cmpl   $0x0,0x2e86(%rip)
jne    122a <dAx_eq_b_BK+0xca>
movl   $0xffffffff,-0x44(%rbp)
lea    0xe0e(%rip),%rdi
lea    -0x24(%rbp),%rcx
xor    %eax,%eax
mov    %eax,%r8d
lea    -0x70(%rbp),%r9
lea    -0x44(%rbp),%r10
lea    -0x54(%rbp),%rax
mov    %rcx,%rsi
mov    %r8,%rdx
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
call   1040 <dsytrf_@plt>
cvttsd2si -0x70(%rbp),%eax
cltd
idivl  -0x24(%rbp)
mov    %eax,0x2e3a(%rip)
cmpl   $0xffffffff,0x2e33(%rip)
je     1249 <dAx_eq_b_BK+0xe9>
mov    0x2e27(%rip),%eax
imul   -0x24(%rbp),%eax
mov    %eax,-0x74(%rbp)
jmp    1256 <dAx_eq_b_BK+0xf6>
mov    $0x1,%eax
mov    %eax,-0x74(%rbp)
jmp    1256 <dAx_eq_b_BK+0xf6>
mov    -0x74(%rbp),%eax
mov    %eax,-0x44(%rbp)
mov    -0x3c(%rbp),%eax
add    -0x44(%rbp),%eax
cltq
shl    $0x3,%rax
movslq -0x40(%rbp),%rcx
shl    $0x2,%rcx
add    %rcx,%rax
mov    %eax,-0x48(%rbp)
mov    -0x48(%rbp),%eax
cmp    0x2de1(%rip),%eax
jle    12ee <dAx_eq_b_BK+0x18e>
cmpq   $0x0,0x2dcb(%rip)
je     129f <dAx_eq_b_BK+0x13f>
mov    0x2dbe(%rip),%rdi
call   1030 <free@plt>
mov    -0x48(%rbp),%eax
mov    %eax,0x2db8(%rip)
mov    0x2db2(%rip),%edi
call   1070 <malloc@plt>
mov    %rax,0x2d9e(%rip)
cmpq   $0x0,0x2d96(%rip)
jne    12e9 <dAx_eq_b_BK+0x189>
mov    0x2d11(%rip),%rax
mov    (%rax),%edi
lea    0xd2a(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   1080 <exit@plt>
jmp    12ee <dAx_eq_b_BK+0x18e>
mov    0x2d63(%rip),%rax
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rax
movslq -0x3c(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x38(%rbp)
mov    -0x38(%rbp),%rax
movslq -0x44(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x60(%rbp)
movl   $0x0,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    1374 <dAx_eq_b_BK+0x214>
mov    -0x10(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x30(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x18(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    1326 <dAx_eq_b_BK+0x1c6>
mov    -0x24(%rbp),%eax
imul   -0x24(%rbp),%eax
mov    %eax,-0x50(%rbp)
mov    -0x4c(%rbp),%eax
cmp    -0x50(%rbp),%eax
jge    13b2 <dAx_eq_b_BK+0x252>
mov    -0x10(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x30(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    137e <dAx_eq_b_BK+0x21e>
mov    -0x30(%rbp),%rdx
mov    -0x60(%rbp),%r8
mov    -0x38(%rbp),%r9
lea    0xc3b(%rip),%rdi
lea    -0x24(%rbp),%rcx
lea    -0x44(%rbp),%r10
lea    -0x54(%rbp),%rax
mov    %rcx,%rsi
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
call   1040 <dsytrf_@plt>
cmpl   $0x0,-0x54(%rbp)
je     1445 <dAx_eq_b_BK+0x2e5>
cmpl   $0x0,-0x54(%rbp)
jge    141c <dAx_eq_b_BK+0x2bc>
mov    0x2be3(%rip),%rax
mov    (%rax),%edi
xor    %edx,%edx
sub    -0x54(%rbp),%edx
lea    0xc23(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   1080 <exit@plt>
mov    0x2bbd(%rip),%rax
mov    (%rax),%edi
mov    -0x54(%rbp),%edx
mov    -0x54(%rbp),%ecx
lea    0xc45(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
movl   $0x0,-0x4(%rbp)
jmp    14b4 <dAx_eq_b_BK+0x354>
mov    -0x30(%rbp),%rcx
mov    -0x60(%rbp),%r9
mov    -0x20(%rbp),%r11
lea    0xba8(%rip),%rdi
lea    -0x24(%rbp),%r10
lea    -0x64(%rbp),%rdx
lea    -0x54(%rbp),%rax
mov    %r10,%rsi
mov    %r10,%r8
mov    %r11,(%rsp)
mov    %r10,0x8(%rsp)
mov    %rax,0x10(%rsp)
call   1050 <dsytrs_@plt>
cmpl   $0x0,-0x54(%rbp)
jge    14ad <dAx_eq_b_BK+0x34d>
mov    0x2b52(%rip),%rax
mov    (%rax),%edi
xor    %edx,%edx
sub    -0x54(%rbp),%edx
lea    0xc3b(%rip),%rsi
mov    $0x0,%al
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   1080 <exit@plt>
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<dAx_eq_b_BK>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
mov    %ecx,0x10(%rsp)
movl   $0x1,0x24(%rsp)
test   %rdi,%rdi
je     12df <dAx_eq_b_BK+0x17f>
mov    %ecx,%ebx
mov    %rdx,%r14
mov    %rsi,%r12
mov    %rdi,%r15
mov    %ecx,%r13d
imul   %r13d,%r13d
mov    0x2ec9(%rip),%eax
test   %eax,%eax
jne    11e8 <dAx_eq_b_BK+0x88>
movl   $0xffffffff,0xc(%rsp)
ff
lea    0x14(%rsp),%rax
lea    0xc(%rsp),%rbp
lea    0xe48(%rip),%rdi
lea    0x10(%rsp),%rcx
lea    0x30(%rsp),%r9
mov    %rcx,%rsi
xor    %edx,%edx
xor    %r8d,%r8d
push   %rax
push   %rbp
call   1040 <dsytrf_@plt>
add    $0x10,%rsp
cvttsd2si 0x30(%rsp),%eax
mov    0x10(%rsp),%ecx
cltd
idiv   %ecx
mov    %eax,0x2e7c(%rip)
mov    %ecx,%edx
imul   %eax,%edx
cmp    $0xffffffff,%eax
mov    $0x1,%eax
cmovne %edx,%eax
mov    %eax,0xc(%rsp)
lea    (%rax,%r13,1),%edx
shl    $0x2,%ebx
lea    (%rbx,%rdx,8),%ebp
mov    0x2e4b(%rip),%rbx
cmp    0x2e4d(%rip),%ebp
jle    124a <dAx_eq_b_BK+0xea>
test   %rbx,%rbx
je     1222 <dAx_eq_b_BK+0xc2>
mov    %rbx,%rdi
call   1030 <free@plt>
mov    %ebp,0x2e38(%rip)
mov    %ebp,%edi
call   1070 <malloc@plt>
mov    %rax,0x2e22(%rip)
test   %rax,%rax
je     1702 <dAx_eq_b_BK+0x5a2>
mov    %rax,%rbx
mov    0xc(%rsp),%eax
mov    0x10(%rsp),%ecx
mov    %r13d,%edx
lea    (%rbx,%rdx,8),%r9
movslq %eax,%r8
test   %ecx,%ecx
jle    130f <dAx_eq_b_BK+0x1af>
mov    %ecx,%edx
cmp    $0x4,%ecx
jae    1380 <dAx_eq_b_BK+0x220>
xor    %esi,%esi
mov    %rsi,%rax
not    %rax
test   $0x1,%dl
je     128f <dAx_eq_b_BK+0x12f>
movsd  (%r15,%rsi,8),%xmm0
movsd  %xmm0,(%rbx,%rsi,8)
movsd  (%r12,%rsi,8),%xmm0
movsd  %xmm0,(%r14,%rsi,8)
or     $0x1,%rsi
mov    %ecx,%edi
add    %rdx,%rax
je     1311 <dAx_eq_b_BK+0x1b1>
cs nopw 0x0(%rax,%rax,1)
movsd  (%r15,%rsi,8),%xmm0
movsd  %xmm0,(%rbx,%rsi,8)
movsd  (%r12,%rsi,8),%xmm0
movsd  %xmm0,(%r14,%rsi,8)
movsd  0x8(%r15,%rsi,8),%xmm0
movsd  %xmm0,0x8(%rbx,%rsi,8)
movsd  0x8(%r12,%rsi,8),%xmm0
movsd  %xmm0,0x8(%r14,%rsi,8)
add    $0x2,%rsi
cmp    %rsi,%rdx
jne    12a0 <dAx_eq_b_BK+0x140>
mov    %ecx,%edi
jmp    1311 <dAx_eq_b_BK+0x1b1>
mov    0x2d72(%rip),%rdi
test   %rdi,%rdi
je     12f0 <dAx_eq_b_BK+0x190>
call   1030 <free@plt>
movq   $0x0,0x2d5d(%rip)
movl   $0x0,0x2d5b(%rip)
mov    $0x1,%ebx
jmp    16c6 <dAx_eq_b_BK+0x566>
xor    %edi,%edi
lea    (%r9,%r8,8),%r12
imul   %ecx,%ecx
cmp    %ecx,%edi
jae    163b <dAx_eq_b_BK+0x4db>
mov    %edi,%eax
mov    %ecx,%ecx
mov    %rcx,%r10
sub    %rax,%r10
cmp    $0x4,%r10
jb     15c3 <dAx_eq_b_BK+0x463>
lea    (%rbx,%rax,8),%rdx
lea    (%r15,%rcx,8),%rsi
cmp    %rsi,%rdx
jae    1352 <dAx_eq_b_BK+0x1f2>
lea    (%rbx,%rcx,8),%rdx
lea    (%r15,%rax,8),%rsi
cmp    %rdx,%rsi
jb     15c3 <dAx_eq_b_BK+0x463>
mov    %r10,%r8
and    $0xfffffffffffffffc,%r8
lea    -0x4(%r8),%rdx
mov    %rdx,%rdi
shr    $0x2,%rdi
add    $0x1,%rdi
mov    %edi,%r11d
and    $0x3,%r11d
cmp    $0xc,%rdx
jae    1502 <dAx_eq_b_BK+0x3a2>
xor    %esi,%esi
jmp    1579 <dAx_eq_b_BK+0x419>
mov    %r8,0x18(%rsp)
mov    %r9,0x28(%rsp)
lea    (%rbx,%rdx,8),%rsi
lea    (%r14,%rdx,8),%rbp
lea    (%r15,%rdx,8),%rdi
lea    (%r12,%rdx,8),%rax
cmp    %rbp,%rbx
setb   0xb(%rsp)
cmp    %r14,%rsi
seta   %r9b
cmp    %rdi,%rbx
setb   %r13b
cmp    %r15,%rsi
seta   0xa(%rsp)
cmp    %rax,%rbx
setb   %r8b
cmp    %r12,%rsi
seta   0x9(%rsp)
cmp    %r14,%rdi
seta   %r10b
cmp    %r15,%rbp
seta   %dil
cmp    %r14,%rax
seta   %r11b
cmp    %r12,%rbp
seta   %bpl
xor    %esi,%esi
test   %r9b,0xb(%rsp)
jne    16e8 <dAx_eq_b_BK+0x588>
and    0xa(%rsp),%r13b
mov    0x28(%rsp),%r9
jne    16ed <dAx_eq_b_BK+0x58d>
and    0x9(%rsp),%r8b
jne    16ed <dAx_eq_b_BK+0x58d>
and    %dil,%r10b
jne    16ed <dAx_eq_b_BK+0x58d>
and    %bpl,%r11b
mov    0x18(%rsp),%r8
jne    1269 <dAx_eq_b_BK+0x109>
mov    %edx,%esi
and    $0xfffffffc,%esi
lea    -0x4(%rsi),%rax
mov    %rax,%rdi
shr    $0x2,%rdi
add    $0x1,%rdi
test   %rax,%rax
je     16d7 <dAx_eq_b_BK+0x577>
movabs $0x7ffffffffffffffc,%rax
ff ff 7f
or     $0x2,%rax
and    %rdi,%rax
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movups (%r15,%rbp,8),%xmm0
movups 0x10(%r15,%rbp,8),%xmm1
movups %xmm0,(%rbx,%rbp,8)
movups %xmm1,0x10(%rbx,%rbp,8)
movups (%r12,%rbp,8),%xmm0
movups 0x10(%r12,%rbp,8),%xmm1
movups %xmm0,(%r14,%rbp,8)
movups %xmm1,0x10(%r14,%rbp,8)
movups 0x20(%r15,%rbp,8),%xmm0
movups 0x30(%r15,%rbp,8),%xmm1
movups %xmm0,0x20(%rbx,%rbp,8)
movups %xmm1,0x30(%rbx,%rbp,8)
movups 0x20(%r12,%rbp,8),%xmm0
movups 0x30(%r12,%rbp,8),%xmm1
movups %xmm0,0x20(%r14,%rbp,8)
movups %xmm1,0x30(%r14,%rbp,8)
add    $0x8,%rbp
add    $0xfffffffffffffffe,%rax
jne    1460 <dAx_eq_b_BK+0x300>
test   $0x1,%dil
je     14f2 <dAx_eq_b_BK+0x392>
movups (%r15,%rbp,8),%xmm0
movups 0x10(%r15,%rbp,8),%xmm1
movups %xmm0,(%rbx,%rbp,8)
movups %xmm1,0x10(%rbx,%rbp,8)
movups (%r12,%rbp,8),%xmm0
movups 0x10(%r12,%rbp,8),%xmm1
movups %xmm0,(%r14,%rbp,8)
movups %xmm1,0x10(%r14,%rbp,8)
mov    %ecx,%edi
cmp    %rdx,%rsi
jne    1269 <dAx_eq_b_BK+0x109>
jmp    1311 <dAx_eq_b_BK+0x1b1>
and    $0xfffffffffffffffc,%rdi
lea    (%rbx,%rax,8),%rdx
add    $0x70,%rdx
lea    (%r15,%rax,8),%rbp
add    $0x70,%rbp
xor    %esi,%esi
nopl   0x0(%rax,%rax,1)
movups -0x70(%rbp,%rsi,8),%xmm0
movups -0x60(%rbp,%rsi,8),%xmm1
movups %xmm0,-0x70(%rdx,%rsi,8)
movups %xmm1,-0x60(%rdx,%rsi,8)
movups -0x50(%rbp,%rsi,8),%xmm0
movups -0x40(%rbp,%rsi,8),%xmm1
movups %xmm0,-0x50(%rdx,%rsi,8)
movups %xmm1,-0x40(%rdx,%rsi,8)
movups -0x30(%rbp,%rsi,8),%xmm0
movups -0x20(%rbp,%rsi,8),%xmm1
movups %xmm0,-0x30(%rdx,%rsi,8)
movups %xmm1,-0x20(%rdx,%rsi,8)
movups -0x10(%rbp,%rsi,8),%xmm0
movups 0x0(%rbp,%rsi,8),%xmm1
movups %xmm0,-0x10(%rdx,%rsi,8)
movups %xmm1,(%rdx,%rsi,8)
add    $0x10,%rsi
add    $0xfffffffffffffffc,%rdi
jne    1520 <dAx_eq_b_BK+0x3c0>
test   %r11,%r11
je     15bb <dAx_eq_b_BK+0x45b>
add    %rax,%rsi
lea    (%rbx,%rsi,8),%rdx
add    $0x10,%rdx
lea    (%r15,%rsi,8),%rsi
add    $0x10,%rsi
shl    $0x5,%r11
xor    %edi,%edi
nopw   0x0(%rax,%rax,1)
movups -0x10(%rsi,%rdi,1),%xmm0
movups (%rsi,%rdi,1),%xmm1
movups %xmm0,-0x10(%rdx,%rdi,1)
movups %xmm1,(%rdx,%rdi,1)
add    $0x20,%rdi
cmp    %rdi,%r11
jne    15a0 <dAx_eq_b_BK+0x440>
cmp    %r8,%r10
je     163b <dAx_eq_b_BK+0x4db>
add    %r8,%rax
mov    %ecx,%esi
sub    %eax,%esi
mov    %rax,%rdx
not    %rdx
add    %rcx,%rdx
and    $0x3,%rsi
je     15f5 <dAx_eq_b_BK+0x495>
cs nopw 0x0(%rax,%rax,1)
movsd  (%r15,%rax,8),%xmm0
movsd  %xmm0,(%rbx,%rax,8)
add    $0x1,%rax
add    $0xffffffffffffffff,%rsi
jne    15e0 <dAx_eq_b_BK+0x480>
cmp    $0x3,%rdx
jb     163b <dAx_eq_b_BK+0x4db>
nopl   0x0(%rax,%rax,1)
movsd  (%r15,%rax,8),%xmm0
movsd  %xmm0,(%rbx,%rax,8)
movsd  0x8(%r15,%rax,8),%xmm0
movsd  %xmm0,0x8(%rbx,%rax,8)
movsd  0x10(%r15,%rax,8),%xmm0
movsd  %xmm0,0x10(%rbx,%rax,8)
movsd  0x18(%r15,%rax,8),%xmm0
movsd  %xmm0,0x18(%rbx,%rax,8)
add    $0x4,%rax
cmp    %rax,%rcx
jne    1600 <dAx_eq_b_BK+0x4a0>
lea    0x14(%rsp),%rbp
lea    0xc(%rsp),%rax
lea    0x9b4(%rip),%rdi
lea    0x10(%rsp),%r15
mov    %r15,%rsi
mov    %rbx,%rdx
mov    %r15,%rcx
mov    %r12,%r8
push   %rbp
push   %rax
call   1040 <dsytrf_@plt>
add    $0x10,%rsp
mov    0x14(%rsp),%edx
test   %edx,%edx
je     168f <dAx_eq_b_BK+0x52f>
mov    0x2969(%rip),%rax
mov    (%rax),%edi
js     16f7 <dAx_eq_b_BK+0x597>
lea    0x9f5(%rip),%rsi
xor    %ebx,%ebx
mov    %edx,%ecx
xor    %eax,%eax
call   1060 <fprintf@plt>
jmp    16c6 <dAx_eq_b_BK+0x566>
sub    $0x8,%rsp
lea    0x966(%rip),%rdi
lea    0x2c(%rsp),%rdx
mov    %r15,%rsi
mov    %rbx,%rcx
mov    %r15,%r8
mov    %r12,%r9
push   %rbp
push   %r15
push   %r14
call   1050 <dsytrs_@plt>
add    $0x20,%rsp
mov    0x14(%rsp),%edx
mov    $0x1,%ebx
test   %edx,%edx
js     1723 <dAx_eq_b_BK+0x5c3>
mov    %ebx,%eax
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
xor    %ebp,%ebp
test   $0x1,%dil
jne    14c8 <dAx_eq_b_BK+0x368>
jmp    14f2 <dAx_eq_b_BK+0x392>
mov    0x28(%rsp),%r9
mov    0x18(%rsp),%r8
jmp    1269 <dAx_eq_b_BK+0x109>
neg    %edx
lea    0x92e(%rip),%rsi
jmp    1735 <dAx_eq_b_BK+0x5d5>
mov    0x28d7(%rip),%rax
mov    (%rax),%edi
lea    0x8f0(%rip),%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   1080 <exit@plt>
mov    0x28b6(%rip),%rax
mov    (%rax),%edi
neg    %edx
lea    0x9a2(%rip),%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
mov    $0x1,%edi
call   1080 <exit@plt>

LLVM IR (-O0):
@dAx_eq_b_BK.buf = internal global double* null
@dAx_eq_b_BK.buf_sz = internal global i32 0
@dAx_eq_b_BK.nb = internal global i32 0
@.str = [2 x i8] c"U\00"
@stderr = global i32 0
@.str.1 = [44 x i8] c"memory allocation in dAx_eq_b_BK() failed!\0A\00"
@.str.2 = [73 x i8] c"LAPACK error: illegal value for argument %d of dsytrf_ in dAx_eq_b_BK()\0A\00"
@.str.3 = [96 x i8] c"LAPACK error: singular block diagonal matrix D fordsytrf_ in dAx_eq_b_BK() [D(%d, %d) is zero]\0A\00"
@.str.4 = [73 x i8] c"LAPACK error: illegal value for argument %d of dsytrs_ in dAx_eq_b_BK()\0A\00"
define i32 @dAx_eq_b_BK(double* %0, double* %1, double* %2, i32 %3) {
%5 = alloca i32
%6 = alloca double*
%7 = alloca double*
%8 = alloca double*
%9 = alloca i32
%10 = alloca double*
%11 = alloca double*
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca i32*
%20 = alloca i32
%21 = alloca double
store double* %0, double** %6
store double* %1, double** %7
store double* %2, double** %8
store i32 %3, i32* %9
store i32 1, i32* %20
%22 = load double*, double** %6
%23 = icmp ne double* %22, null
br i1 %23, label %31, label %24
24: ; preds = %4
%25 = load double*, double** @dAx_eq_b_BK.buf
%26 = icmp ne double* %25, null
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load double*, double** @dAx_eq_b_BK.buf
%29 = call i32 @free(double* %28)
br label %30
30: ; preds = %27, %24
store double* null, double** @dAx_eq_b_BK.buf
store i32 0, i32* @dAx_eq_b_BK.buf_sz
store i32 1, i32* %5
br label %178
31: ; preds = %4
%32 = load i32, i32* %9
store i32 %32, i32* %13
%33 = load i32, i32* %9
%34 = load i32, i32* %9
%35 = mul nsw i32 %33, %34
store i32 %35, i32* %12
%36 = load i32, i32* @dAx_eq_b_BK.nb
%37 = icmp ne i32 %36, 0
br i1 %37, label %44, label %38
38: ; preds = %31
store i32 -1, i32* %14
%39 = call i32 @dsytrf_(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i32* %9, double* null, i32* %9, i32* null, double* %21, i32* %14, i32* %18)
%40 = load double, double* %21
%41 = fptosi double %40 to i32
%42 = load i32, i32* %9
%43 = sdiv i32 %41, %42
store i32 %43, i32* @dAx_eq_b_BK.nb
br label %44
44: ; preds = %38, %31
%45 = load i32, i32* @dAx_eq_b_BK.nb
%46 = icmp ne i32 %45, -1
br i1 %46, label %47, label %51
47: ; preds = %44
%48 = load i32, i32* @dAx_eq_b_BK.nb
%49 = load i32, i32* %9
%50 = mul nsw i32 %48, %49
br label %52
51: ; preds = %44
br label %52
52: ; preds = %51, %47
%53 = phi i32 [ %50, %47 ], [ 1, %51 ]
store i32 %53, i32* %14
%54 = load i32, i32* %12
%55 = load i32, i32* %14
%56 = add nsw i32 %54, %55
%57 = sext i32 %56 to i64
%58 = mul i64 %57, 8
%59 = load i32, i32* %13
%60 = sext i32 %59 to i64
%61 = mul i64 %60, 4
%62 = add i64 %58, %61
%63 = trunc i64 %62 to i32
store i32 %63, i32* %15
%64 = load i32, i32* %15
%65 = load i32, i32* @dAx_eq_b_BK.buf_sz
%66 = icmp sgt i32 %64, %65
br i1 %66, label %67, label %85
67: ; preds = %52
%68 = load double*, double** @dAx_eq_b_BK.buf
%69 = icmp ne double* %68, null
br i1 %69, label %70, label %73
70: ; preds = %67
%71 = load double*, double** @dAx_eq_b_BK.buf
%72 = call i32 @free(double* %71)
br label %73
73: ; preds = %70, %67
%74 = load i32, i32* %15
store i32 %74, i32* @dAx_eq_b_BK.buf_sz
%75 = load i32, i32* @dAx_eq_b_BK.buf_sz
%76 = call i64 @malloc(i32 %75)
%77 = inttoptr i64 %76 to double*
store double* %77, double** @dAx_eq_b_BK.buf
%78 = load double*, double** @dAx_eq_b_BK.buf
%79 = icmp ne double* %78, null
br i1 %79, label %84, label %80
80: ; preds = %73
%81 = load i32, i32* @stderr
%82 = call i32 (i32, i8*, ...) @fprintf(i32 %81, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.1, i64 0, i64 0))
%83 = call i32 @exit(i32 1)
unreachable
84: ; preds = %73
br label %85
85: ; preds = %84, %52
%86 = load double*, double** @dAx_eq_b_BK.buf
store double* %86, double** %10
%87 = load double*, double** %10
%88 = load i32, i32* %12
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds double, double* %87, i64 %89
store double* %90, double** %11
%91 = load double*, double** %11
%92 = load i32, i32* %14
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds double, double* %91, i64 %93
%95 = bitcast double* %94 to i32*
store i32* %95, i32** %19
store i32 0, i32* %16
br label %96
96: ; preds = %119, %85
%97 = load i32, i32* %16
%98 = load i32, i32* %9
%99 = icmp slt i32 %97, %98
br i1 %99, label %100, label %122
100: ; preds = %96
%101 = load double*, double** %6
%102 = load i32, i32* %16
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds double, double* %101, i64 %103
%105 = load double, double* %104
%106 = load double*, double** %10
%107 = load i32, i32* %16
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds double, double* %106, i64 %108
store double %105, double* %109
%110 = load double*, double** %7
%111 = load i32, i32* %16
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds double, double* %110, i64 %112
%114 = load double, double* %113
%115 = load double*, double** %8
%116 = load i32, i32* %16
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds double, double* %115, i64 %117
store double %114, double* %118
br label %119
119: ; preds = %100
%120 = load i32, i32* %16
%121 = add nsw i32 %120, 1
store i32 %121, i32* %16
br label %96
122: ; preds = %96
%123 = load i32, i32* %9
%124 = load i32, i32* %9
%125 = mul nsw i32 %123, %124
store i32 %125, i32* %17
br label %126
126: ; preds = %140, %122
%127 = load i32, i32* %16
%128 = load i32, i32* %17
%129 = icmp slt i32 %127, %128
br i1 %129, label %130, label %143
130: ; preds = %126
%131 = load double*, double** %6
%132 = load i32, i32* %16
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds double, double* %131, i64 %133
%135 = load double, double* %134
%136 = load double*, double** %10
%137 = load i32, i32* %16
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds double, double* %136, i64 %138
store double %135, double* %139
br label %140
140: ; preds = %130
%141 = load i32, i32* %16
%142 = add nsw i32 %141, 1
store i32 %142, i32* %16
br label %126
143: ; preds = %126
%144 = load double*, double** %10
%145 = load i32*, i32** %19
%146 = load double*, double** %11
%147 = call i32 @dsytrf_(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i32* %9, double* %144, i32* %9, i32* %145, double* %146, i32* %14, i32* %18)
%148 = load i32, i32* %18
%149 = icmp ne i32 %148, 0
br i1 %149, label %150, label %164
150: ; preds = %143
%151 = load i32, i32* %18
%152 = icmp slt i32 %151, 0
br i1 %152, label %153, label %159
153: ; preds = %150
%154 = load i32, i32* @stderr
%155 = load i32, i32* %18
%156 = sub nsw i32 0, %155
%157 = call i32 (i32, i8*, ...) @fprintf(i32 %154, i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.2, i64 0, i64 0), i32 %156)
%158 = call i32 @exit(i32 1)
unreachable
159: ; preds = %150
%160 = load i32, i32* @stderr
%161 = load i32, i32* %18
%162 = load i32, i32* %18
%163 = call i32 (i32, i8*, ...) @fprintf(i32 %160, i8* getelementptr inbounds ([96 x i8], [96 x i8]* @.str.3, i64 0, i64 0), i32 %161, i32 %162)
store i32 0, i32* %5
br label %178
164: ; preds = %143
%165 = load double*, double** %10
%166 = load i32*, i32** %19
%167 = load double*, double** %8
%168 = call i32 @dsytrs_(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i32* %9, i32* %20, double* %165, i32* %9, i32* %166, double* %167, i32* %9, i32* %18)
%169 = load i32, i32* %18
%170 = icmp slt i32 %169, 0
br i1 %170, label %171, label %177
171: ; preds = %164
%172 = load i32, i32* @stderr
%173 = load i32, i32* %18
%174 = sub nsw i32 0, %173
%175 = call i32 (i32, i8*, ...) @fprintf(i32 %172, i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.4, i64 0, i64 0), i32 %174)
%176 = call i32 @exit(i32 1)
unreachable
177: ; preds = %164
store i32 1, i32* %5
br label %178
178: ; preds = %177, %159, %30
%179 = load i32, i32* %5
ret i32 %179
}

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