#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);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ free(float *);
scalar_t__ malloc(int);
int /*<<< orphan*/ ssytrf_(char *, int *, float *, int *, int *, float *, int *,
                           int *);
int /*<<< orphan*/ ssytrs_(char *, int *, int *, float *, int *, int *, float *,
                           int *, int *);
int /*<<< orphan*/ stderr;
int sAx_eq_b_BK(float *A, float *B, float *x, int m) {
  static float *buf = NULL;
  static int buf_sz = 0, nb = 0;
  float *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) {
    float tmp;
    work_sz = -1;
    ssytrf_("U", (int *)&m, NULL, (int *)&m, NULL, (float *)&tmp,
            (int *)&work_sz, (int *)&info);
    nb = ((int)tmp) / m;
  }
  work_sz = (nb != -1) ? nb * m : 1;
  tot_sz = (a_sz + work_sz) * sizeof(float) + ipiv_sz * sizeof(int);
  if (tot_sz > buf_sz) {
    if (buf)
      free(buf);
    buf_sz = tot_sz;
    buf = (float *)malloc(buf_sz);
    if (!buf) {
      fprintf(stderr, "memory allocation in "
                      "sAx_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];
  ssytrf_("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 "
              "ssytrf_"
              " in "
              "sAx_eq_b_BK"
              "()\n",
              -info);
      exit(1);
    } else {
      fprintf(stderr,
              "LAPACK error: singular block diagonal matrix D for"
              "ssytrf_"
              " in "
              "sAx_eq_b_BK"
              "() [D(%d, %d) is zero]\n",
              info, info);
      return 0;
    }
  }
  ssytrs_("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 "
            "ssytrs_"
            " in "
            "sAx_eq_b_BK"
            "()\n",
            -info);
    exit(1);
  }
  return 1;
}


x86 assembly (clang, -O0):
<sAx_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 <sAx_eq_b_BK+0x67>
cmpq   $0x0,0x2ec4(%rip)
je     11a6 <sAx_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 <sAx_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 <sAx_eq_b_BK+0xca>
movl   $0xffffffff,-0x44(%rbp)
lea    0xe0e(%rip),%rdi
lea    -0x24(%rbp),%rcx
xor    %eax,%eax
mov    %eax,%r8d
lea    -0x68(%rbp),%r9
lea    -0x44(%rbp),%r10
lea    -0x54(%rbp),%rax
mov    %rcx,%rsi
mov    %r8,%rdx
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
call   1060 <ssytrf_@plt>
cvttss2si -0x68(%rbp),%eax
cltd
idivl  -0x24(%rbp)
mov    %eax,0x2e3a(%rip)
cmpl   $0xffffffff,0x2e33(%rip)
je     1249 <sAx_eq_b_BK+0xe9>
mov    0x2e27(%rip),%eax
imul   -0x24(%rbp),%eax
mov    %eax,-0x6c(%rbp)
jmp    1256 <sAx_eq_b_BK+0xf6>
mov    $0x1,%eax
mov    %eax,-0x6c(%rbp)
jmp    1256 <sAx_eq_b_BK+0xf6>
mov    -0x6c(%rbp),%eax
mov    %eax,-0x44(%rbp)
mov    -0x3c(%rbp),%eax
add    -0x44(%rbp),%eax
cltq
shl    $0x2,%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 <sAx_eq_b_BK+0x18e>
cmpq   $0x0,0x2dcb(%rip)
je     129f <sAx_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   1050 <malloc@plt>
mov    %rax,0x2d9e(%rip)
cmpq   $0x0,0x2d96(%rip)
jne    12e9 <sAx_eq_b_BK+0x189>
mov    0x2d11(%rip),%rax
mov    (%rax),%edi
lea    0xd2a(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    $0x1,%edi
call   1080 <exit@plt>
jmp    12ee <sAx_eq_b_BK+0x18e>
mov    0x2d63(%rip),%rax
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rax
movslq -0x3c(%rbp),%rcx
shl    $0x2,%rcx
add    %rcx,%rax
mov    %rax,-0x38(%rbp)
mov    -0x38(%rbp),%rax
movslq -0x44(%rbp),%rcx
shl    $0x2,%rcx
add    %rcx,%rax
mov    %rax,-0x60(%rbp)
movl   $0x0,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    1374 <sAx_eq_b_BK+0x214>
mov    -0x10(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x30(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x18(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    1326 <sAx_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 <sAx_eq_b_BK+0x252>
mov    -0x10(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x30(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    137e <sAx_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   1060 <ssytrf_@plt>
cmpl   $0x0,-0x54(%rbp)
je     1445 <sAx_eq_b_BK+0x2e5>
cmpl   $0x0,-0x54(%rbp)
jge    141c <sAx_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   1040 <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   1040 <fprintf@plt>
movl   $0x0,-0x4(%rbp)
jmp    14b4 <sAx_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   1070 <ssytrs_@plt>
cmpl   $0x0,-0x54(%rbp)
jge    14ad <sAx_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   1040 <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):
<sAx_eq_b_BK>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %ecx,0x8(%rsp)
movl   $0x1,0x1c(%rsp)
test   %rdi,%rdi
je     12df <sAx_eq_b_BK+0x17f>
mov    %ecx,%ebp
mov    %rdx,%r14
mov    %rsi,%r12
mov    %rdi,%r15
mov    %ecx,%r13d
imul   %ebp,%r13d
mov    0x2ec9(%rip),%eax
test   %eax,%eax
jne    11e8 <sAx_eq_b_BK+0x88>
movl   $0xffffffff,0x4(%rsp)
ff
lea    0xc(%rsp),%rax
lea    0x4(%rsp),%rbx
lea    0xe48(%rip),%rdi
lea    0x8(%rsp),%rcx
lea    0x18(%rsp),%r9
mov    %rcx,%rsi
xor    %edx,%edx
xor    %r8d,%r8d
push   %rax
push   %rbx
call   1060 <ssytrf_@plt>
add    $0x10,%rsp
cvttss2si 0x18(%rsp),%eax
mov    0x8(%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,0x4(%rsp)
add    %r13d,%ebp
add    %eax,%ebp
shl    $0x2,%ebp
mov    0x2e4d(%rip),%rbx
cmp    0x2e4f(%rip),%ebp
jle    1248 <sAx_eq_b_BK+0xe8>
test   %rbx,%rbx
je     1220 <sAx_eq_b_BK+0xc0>
mov    %rbx,%rdi
call   1030 <free@plt>
mov    %ebp,0x2e3a(%rip)
mov    %ebp,%edi
call   1050 <malloc@plt>
mov    %rax,0x2e24(%rip)
test   %rax,%rax
je     1703 <sAx_eq_b_BK+0x5a3>
mov    %rax,%rbx
mov    0x4(%rsp),%eax
mov    0x8(%rsp),%ecx
mov    %r13d,%edx
lea    (%rbx,%rdx,4),%r9
movslq %eax,%r8
test   %ecx,%ecx
jle    130f <sAx_eq_b_BK+0x1af>
mov    %ecx,%edx
cmp    $0x8,%ecx
jae    1380 <sAx_eq_b_BK+0x220>
xor    %esi,%esi
mov    %rsi,%rax
not    %rax
test   $0x1,%dl
je     128d <sAx_eq_b_BK+0x12d>
movss  (%r15,%rsi,4),%xmm0
movss  %xmm0,(%rbx,%rsi,4)
movss  (%r12,%rsi,4),%xmm0
movss  %xmm0,(%r14,%rsi,4)
or     $0x1,%rsi
mov    %ecx,%edi
add    %rdx,%rax
je     1311 <sAx_eq_b_BK+0x1b1>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movss  (%r15,%rsi,4),%xmm0
movss  %xmm0,(%rbx,%rsi,4)
movss  (%r12,%rsi,4),%xmm0
movss  %xmm0,(%r14,%rsi,4)
movss  0x4(%r15,%rsi,4),%xmm0
movss  %xmm0,0x4(%rbx,%rsi,4)
movss  0x4(%r12,%rsi,4),%xmm0
movss  %xmm0,0x4(%r14,%rsi,4)
add    $0x2,%rsi
cmp    %rsi,%rdx
jne    12a0 <sAx_eq_b_BK+0x140>
mov    %ecx,%edi
jmp    1311 <sAx_eq_b_BK+0x1b1>
mov    0x2d72(%rip),%rdi
test   %rdi,%rdi
je     12f0 <sAx_eq_b_BK+0x190>
call   1030 <free@plt>
movq   $0x0,0x2d5d(%rip)
movl   $0x0,0x2d5b(%rip)
mov    $0x1,%ebx
jmp    16c7 <sAx_eq_b_BK+0x567>
xor    %edi,%edi
lea    (%r9,%r8,4),%r12
imul   %ecx,%ecx
cmp    %ecx,%edi
jae    163b <sAx_eq_b_BK+0x4db>
mov    %edi,%eax
mov    %ecx,%ecx
mov    %rcx,%r10
sub    %rax,%r10
cmp    $0x8,%r10
jb     15c3 <sAx_eq_b_BK+0x463>
lea    (%rbx,%rax,4),%rdx
lea    (%r15,%rcx,4),%rsi
cmp    %rsi,%rdx
jae    1352 <sAx_eq_b_BK+0x1f2>
lea    (%rbx,%rcx,4),%rdx
lea    (%r15,%rax,4),%rsi
cmp    %rdx,%rsi
jb     15c3 <sAx_eq_b_BK+0x463>
mov    %r10,%r8
and    $0xfffffffffffffff8,%r8
lea    -0x8(%r8),%rdx
mov    %rdx,%rdi
shr    $0x3,%rdi
add    $0x1,%rdi
mov    %edi,%r11d
and    $0x3,%r11d
cmp    $0x18,%rdx
jae    1502 <sAx_eq_b_BK+0x3a2>
xor    %esi,%esi
jmp    1579 <sAx_eq_b_BK+0x419>
mov    %r8,0x10(%rsp)
mov    %r9,0x20(%rsp)
lea    (%rbx,%rdx,4),%rsi
lea    (%r14,%rdx,4),%rbp
lea    (%r15,%rdx,4),%rdi
lea    (%r12,%rdx,4),%rax
cmp    %rbp,%rbx
setb   0x3(%rsp)
cmp    %r14,%rsi
seta   %r9b
cmp    %rdi,%rbx
setb   %r13b
cmp    %r15,%rsi
seta   0x2(%rsp)
cmp    %rax,%rbx
setb   %r8b
cmp    %r12,%rsi
seta   0x1(%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,0x3(%rsp)
jne    16e9 <sAx_eq_b_BK+0x589>
and    0x2(%rsp),%r13b
mov    0x20(%rsp),%r9
jne    16ee <sAx_eq_b_BK+0x58e>
and    0x1(%rsp),%r8b
jne    16ee <sAx_eq_b_BK+0x58e>
and    %dil,%r10b
jne    16ee <sAx_eq_b_BK+0x58e>
and    %bpl,%r11b
mov    0x10(%rsp),%r8
jne    1267 <sAx_eq_b_BK+0x107>
mov    %edx,%esi
and    $0xfffffff8,%esi
lea    -0x8(%rsi),%rax
mov    %rax,%rdi
shr    $0x3,%rdi
add    $0x1,%rdi
test   %rax,%rax
je     16d8 <sAx_eq_b_BK+0x578>
movabs $0x3ffffffffffffffc,%rax
ff ff 3f
or     $0x2,%rax
and    %rdi,%rax
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movups (%r15,%rbp,4),%xmm0
movups 0x10(%r15,%rbp,4),%xmm1
movups %xmm0,(%rbx,%rbp,4)
movups %xmm1,0x10(%rbx,%rbp,4)
movups (%r12,%rbp,4),%xmm0
movups 0x10(%r12,%rbp,4),%xmm1
movups %xmm0,(%r14,%rbp,4)
movups %xmm1,0x10(%r14,%rbp,4)
movups 0x20(%r15,%rbp,4),%xmm0
movups 0x30(%r15,%rbp,4),%xmm1
movups %xmm0,0x20(%rbx,%rbp,4)
movups %xmm1,0x30(%rbx,%rbp,4)
movups 0x20(%r12,%rbp,4),%xmm0
movups 0x30(%r12,%rbp,4),%xmm1
movups %xmm0,0x20(%r14,%rbp,4)
movups %xmm1,0x30(%r14,%rbp,4)
add    $0x10,%rbp
add    $0xfffffffffffffffe,%rax
jne    1460 <sAx_eq_b_BK+0x300>
test   $0x1,%dil
je     14f2 <sAx_eq_b_BK+0x392>
movups (%r15,%rbp,4),%xmm0
movups 0x10(%r15,%rbp,4),%xmm1
movups %xmm0,(%rbx,%rbp,4)
movups %xmm1,0x10(%rbx,%rbp,4)
movups (%r12,%rbp,4),%xmm0
movups 0x10(%r12,%rbp,4),%xmm1
movups %xmm0,(%r14,%rbp,4)
movups %xmm1,0x10(%r14,%rbp,4)
mov    %ecx,%edi
cmp    %rdx,%rsi
jne    1267 <sAx_eq_b_BK+0x107>
jmp    1311 <sAx_eq_b_BK+0x1b1>
and    $0xfffffffffffffffc,%rdi
lea    (%rbx,%rax,4),%rdx
add    $0x70,%rdx
lea    (%r15,%rax,4),%rbp
add    $0x70,%rbp
xor    %esi,%esi
nopl   0x0(%rax,%rax,1)
movups -0x70(%rbp,%rsi,4),%xmm0
movups -0x60(%rbp,%rsi,4),%xmm1
movups %xmm0,-0x70(%rdx,%rsi,4)
movups %xmm1,-0x60(%rdx,%rsi,4)
movups -0x50(%rbp,%rsi,4),%xmm0
movups -0x40(%rbp,%rsi,4),%xmm1
movups %xmm0,-0x50(%rdx,%rsi,4)
movups %xmm1,-0x40(%rdx,%rsi,4)
movups -0x30(%rbp,%rsi,4),%xmm0
movups -0x20(%rbp,%rsi,4),%xmm1
movups %xmm0,-0x30(%rdx,%rsi,4)
movups %xmm1,-0x20(%rdx,%rsi,4)
movups -0x10(%rbp,%rsi,4),%xmm0
movups 0x0(%rbp,%rsi,4),%xmm1
movups %xmm0,-0x10(%rdx,%rsi,4)
movups %xmm1,(%rdx,%rsi,4)
add    $0x20,%rsi
add    $0xfffffffffffffffc,%rdi
jne    1520 <sAx_eq_b_BK+0x3c0>
test   %r11,%r11
je     15bb <sAx_eq_b_BK+0x45b>
add    %rax,%rsi
lea    (%rbx,%rsi,4),%rdx
add    $0x10,%rdx
lea    (%r15,%rsi,4),%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 <sAx_eq_b_BK+0x440>
cmp    %r8,%r10
je     163b <sAx_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 <sAx_eq_b_BK+0x495>
cs nopw 0x0(%rax,%rax,1)
movss  (%r15,%rax,4),%xmm0
movss  %xmm0,(%rbx,%rax,4)
add    $0x1,%rax
add    $0xffffffffffffffff,%rsi
jne    15e0 <sAx_eq_b_BK+0x480>
cmp    $0x3,%rdx
jb     163b <sAx_eq_b_BK+0x4db>
nopl   0x0(%rax,%rax,1)
movss  (%r15,%rax,4),%xmm0
movss  %xmm0,(%rbx,%rax,4)
movss  0x4(%r15,%rax,4),%xmm0
movss  %xmm0,0x4(%rbx,%rax,4)
movss  0x8(%r15,%rax,4),%xmm0
movss  %xmm0,0x8(%rbx,%rax,4)
movss  0xc(%r15,%rax,4),%xmm0
movss  %xmm0,0xc(%rbx,%rax,4)
add    $0x4,%rax
cmp    %rax,%rcx
jne    1600 <sAx_eq_b_BK+0x4a0>
lea    0xc(%rsp),%r15
lea    0x4(%rsp),%rax
lea    0x9b4(%rip),%rdi
lea    0x8(%rsp),%rbp
mov    %rbp,%rsi
mov    %rbx,%rdx
mov    %rbp,%rcx
mov    %r12,%r8
push   %r15
push   %rax
call   1060 <ssytrf_@plt>
add    $0x10,%rsp
mov    0xc(%rsp),%edx
test   %edx,%edx
je     1690 <sAx_eq_b_BK+0x530>
mov    0x2968(%rip),%rax
mov    (%rax),%edi
js     16f8 <sAx_eq_b_BK+0x598>
lea    0x9f4(%rip),%rsi
xor    %ebx,%ebx
mov    %edx,%ecx
xor    %eax,%eax
call   1040 <fprintf@plt>
jmp    16c7 <sAx_eq_b_BK+0x567>
sub    $0x8,%rsp
lea    0x965(%rip),%rdi
lea    0x24(%rsp),%rdx
mov    %rbp,%rsi
mov    %rbx,%rcx
mov    %rbp,%r8
mov    %r12,%r9
push   %r15
push   %rbp
push   %r14
call   1070 <ssytrs_@plt>
add    $0x20,%rsp
mov    0xc(%rsp),%edx
mov    $0x1,%ebx
test   %edx,%edx
js     1724 <sAx_eq_b_BK+0x5c4>
mov    %ebx,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
xor    %ebp,%ebp
test   $0x1,%dil
jne    14c8 <sAx_eq_b_BK+0x368>
jmp    14f2 <sAx_eq_b_BK+0x392>
mov    0x20(%rsp),%r9
mov    0x10(%rsp),%r8
jmp    1267 <sAx_eq_b_BK+0x107>
neg    %edx
lea    0x92d(%rip),%rsi
jmp    1736 <sAx_eq_b_BK+0x5d6>
mov    0x28d6(%rip),%rax
mov    (%rax),%edi
lea    0x8ef(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    $0x1,%edi
call   1080 <exit@plt>
mov    0x28b5(%rip),%rax
mov    (%rax),%edi
neg    %edx
lea    0x9a1(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    $0x1,%edi
call   1080 <exit@plt>

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