int sptrsv_syncfree_executor(const int *cscColPtr, const int *cscRowIdx,
                             const double *cscVal, const int *graphInDegree,
                             const int m, const int n, const int substitution,
                             const int rhs, const double *b, double *x) {
  int *graphInDegree_atomic = (int *)malloc(sizeof(int) * m);
  memset(graphInDegree_atomic, 0, sizeof(int) * m);
  double *left_sum = (double *)malloc(sizeof(double) * m * rhs);
  memset(left_sum, 0, sizeof(double) * m * rhs);
  if (substitution == 0) {
    for (int i = 0; i < n; i++) {
      int dia = graphInDegree[i] - 1;
      do {
      } while (dia != graphInDegree_atomic[i]);
      for (int k = 0; k < rhs; k++) {
        double xi =
            (b[i * rhs + k] - left_sum[i * rhs + k]) / cscVal[cscColPtr[i]];
        x[i * rhs + k] = xi;
      }
      for (int j = cscColPtr[i] + 1; j < cscColPtr[i + 1]; j++) {
        int rowIdx = cscRowIdx[j];
        for (int k = 0; k < rhs; k++)
          left_sum[rowIdx * rhs + k] += x[i * rhs + k] * cscVal[j];
        graphInDegree_atomic[rowIdx] += 1;
      }
    }
  } else if (substitution == 1) {
    for (int i = n - 1; i >= 0; i--) {
      int dia = graphInDegree[i] - 1;
      do {
      } while (dia != graphInDegree_atomic[i]);
      for (int k = 0; k < rhs; k++) {
        double xi = (b[i * rhs + k] - left_sum[i * rhs + k]) /
                    cscVal[cscColPtr[i + 1] - 1];
        x[i * rhs + k] = xi;
      }
      for (int j = cscColPtr[i]; j < cscColPtr[i + 1] - 1; j++) {
        int rowIdx = cscRowIdx[j];
        for (int k = 0; k < rhs; k++)
          left_sum[rowIdx * rhs + k] += x[i * rhs + k] * cscVal[j];
        graphInDegree_atomic[rowIdx] += 1;
      }
    }
  }
  free(graphInDegree_atomic);
  free(left_sum);
  return 0;
}


x86 assembly (clang, -O0):
<sptrsv_syncfree_executor>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%eax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8d,-0x24(%rbp)
mov    %r9d,-0x28(%rbp)
movslq -0x24(%rbp),%rdi
shl    $0x2,%rdi
call   1050 <malloc@plt>
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rdi
movslq -0x24(%rbp),%rdx
shl    $0x2,%rdx
xor    %esi,%esi
call   1040 <memset@plt>
movslq -0x24(%rbp),%rdi
shl    $0x3,%rdi
movslq 0x18(%rbp),%rax
imul   %rax,%rdi
call   1050 <malloc@plt>
mov    %rax,-0x38(%rbp)
mov    -0x38(%rbp),%rdi
movslq -0x24(%rbp),%rdx
shl    $0x3,%rdx
movslq 0x18(%rbp),%rax
imul   %rax,%rdx
xor    %esi,%esi
call   1040 <memset@plt>
cmpl   $0x0,0x10(%rbp)
jne    1358 <sptrsv_syncfree_executor+0x228>
movl   $0x0,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    1353 <sptrsv_syncfree_executor+0x223>
mov    -0x20(%rbp),%rax
movslq -0x3c(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
sub    $0x1,%eax
mov    %eax,-0x40(%rbp)
jmp    11ec <sptrsv_syncfree_executor+0xbc>
mov    -0x40(%rbp),%eax
mov    -0x30(%rbp),%rcx
movslq -0x3c(%rbp),%rdx
cmp    (%rcx,%rdx,4),%eax
jne    11e7 <sptrsv_syncfree_executor+0xb7>
movl   $0x0,-0x44(%rbp)
mov    -0x44(%rbp),%eax
cmp    0x18(%rbp),%eax
jge    1282 <sptrsv_syncfree_executor+0x152>
mov    0x20(%rbp),%rax
mov    -0x3c(%rbp),%ecx
imul   0x18(%rbp),%ecx
add    -0x44(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x38(%rbp),%rax
mov    -0x3c(%rbp),%ecx
imul   0x18(%rbp),%ecx
add    -0x44(%rbp),%ecx
movslq %ecx,%rcx
subsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x8(%rbp),%rcx
movslq -0x3c(%rbp),%rdx
movslq (%rcx,%rdx,4),%rcx
divsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x50(%rbp),%xmm0
mov    0x28(%rbp),%rax
mov    -0x3c(%rbp),%ecx
imul   0x18(%rbp),%ecx
add    -0x44(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    1207 <sptrsv_syncfree_executor+0xd7>
mov    -0x8(%rbp),%rax
movslq -0x3c(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
mov    -0x54(%rbp),%eax
mov    -0x8(%rbp),%rcx
mov    -0x3c(%rbp),%edx
add    $0x1,%edx
movslq %edx,%rdx
cmp    (%rcx,%rdx,4),%eax
jge    1340 <sptrsv_syncfree_executor+0x210>
mov    -0x10(%rbp),%rax
movslq -0x54(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x58(%rbp)
movl   $0x0,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
cmp    0x18(%rbp),%eax
jge    1321 <sptrsv_syncfree_executor+0x1f1>
mov    0x28(%rbp),%rax
mov    -0x3c(%rbp),%ecx
imul   0x18(%rbp),%ecx
add    -0x5c(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x54(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x38(%rbp),%rax
mov    -0x58(%rbp),%ecx
imul   0x18(%rbp),%ecx
add    -0x5c(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    12c1 <sptrsv_syncfree_executor+0x191>
mov    -0x30(%rbp),%rax
movslq -0x58(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
add    $0x1,%edx
mov    %edx,(%rax,%rcx,4)
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    1293 <sptrsv_syncfree_executor+0x163>
jmp    1345 <sptrsv_syncfree_executor+0x215>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    11ca <sptrsv_syncfree_executor+0x9a>
jmp    1508 <sptrsv_syncfree_executor+0x3d8>
cmpl   $0x1,0x10(%rbp)
jne    1503 <sptrsv_syncfree_executor+0x3d3>
mov    -0x28(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x60(%rbp)
cmpl   $0x0,-0x60(%rbp)
jl     14fe <sptrsv_syncfree_executor+0x3ce>
mov    -0x20(%rbp),%rax
movslq -0x60(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
sub    $0x1,%eax
mov    %eax,-0x64(%rbp)
jmp    138b <sptrsv_syncfree_executor+0x25b>
mov    -0x64(%rbp),%eax
mov    -0x30(%rbp),%rcx
movslq -0x60(%rbp),%rdx
cmp    (%rcx,%rdx,4),%eax
jne    1386 <sptrsv_syncfree_executor+0x256>
movl   $0x0,-0x68(%rbp)
mov    -0x68(%rbp),%eax
cmp    0x18(%rbp),%eax
jge    142b <sptrsv_syncfree_executor+0x2fb>
mov    0x20(%rbp),%rax
mov    -0x60(%rbp),%ecx
imul   0x18(%rbp),%ecx
add    -0x68(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x38(%rbp),%rax
mov    -0x60(%rbp),%ecx
imul   0x18(%rbp),%ecx
add    -0x68(%rbp),%ecx
movslq %ecx,%rcx
subsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x8(%rbp),%rcx
mov    -0x60(%rbp),%edx
add    $0x1,%edx
movslq %edx,%rdx
mov    (%rcx,%rdx,4),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
divsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x70(%rbp),%xmm0
mov    0x28(%rbp),%rax
mov    -0x60(%rbp),%ecx
imul   0x18(%rbp),%ecx
add    -0x68(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x68(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x68(%rbp)
jmp    13a6 <sptrsv_syncfree_executor+0x276>
mov    -0x8(%rbp),%rax
movslq -0x60(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x74(%rbp)
mov    -0x74(%rbp),%eax
mov    -0x8(%rbp),%rcx
mov    -0x60(%rbp),%edx
add    $0x1,%edx
movslq %edx,%rdx
mov    (%rcx,%rdx,4),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    14eb <sptrsv_syncfree_executor+0x3bb>
mov    -0x10(%rbp),%rax
movslq -0x74(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x78(%rbp)
movl   $0x0,-0x7c(%rbp)
mov    -0x7c(%rbp),%eax
cmp    0x18(%rbp),%eax
jge    14cc <sptrsv_syncfree_executor+0x39c>
mov    0x28(%rbp),%rax
mov    -0x60(%rbp),%ecx
imul   0x18(%rbp),%ecx
add    -0x7c(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x74(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x38(%rbp),%rax
mov    -0x78(%rbp),%ecx
imul   0x18(%rbp),%ecx
add    -0x7c(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x7c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x7c(%rbp)
jmp    146c <sptrsv_syncfree_executor+0x33c>
mov    -0x30(%rbp),%rax
movslq -0x78(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
add    $0x1,%edx
mov    %edx,(%rax,%rcx,4)
mov    -0x74(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x74(%rbp)
jmp    1439 <sptrsv_syncfree_executor+0x309>
jmp    14f0 <sptrsv_syncfree_executor+0x3c0>
mov    -0x60(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x60(%rbp)
jmp    136b <sptrsv_syncfree_executor+0x23b>
jmp    1503 <sptrsv_syncfree_executor+0x3d3>
jmp    1508 <sptrsv_syncfree_executor+0x3d8>
mov    -0x30(%rbp),%rdi
call   1030 <free@plt>
mov    -0x38(%rbp),%rdi
call   1030 <free@plt>
xor    %eax,%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<sptrsv_syncfree_executor>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xe8,%rsp
mov    %r9d,%ebx
mov    %rcx,0xc0(%rsp)
mov    %rdx,0x30(%rsp)
mov    %rsi,0xc8(%rsp)
mov    %rdi,0x20(%rsp)
mov    0x120(%rsp),%r15d
movslq %r8d,%rbp
lea    0x0(,%rbp,4),%rsi
mov    $0x1,%edi
call   1040 <calloc@plt>
mov    %rax,0x50(%rsp)
movslq 0x128(%rsp),%r14
imul   %r14,%rbp
shl    $0x3,%rbp
mov    $0x1,%edi
mov    %rbp,%rsi
call   1040 <calloc@plt>
mov    %rax,(%rsp)
test   %r15d,%r15d
mov    %r14,0x48(%rsp)
je     17a2 <sptrsv_syncfree_executor+0x682>
cmp    $0x1,%r15d
mov    0x20(%rsp),%r15
jne    1d32 <sptrsv_syncfree_executor+0xc12>
test   %ebx,%ebx
jle    1d32 <sptrsv_syncfree_executor+0xc12>
mov    %ebx,%ebp
mov    %r14d,%eax
lea    -0x1(%rbp),%rdx
imul   %r14,%rdx
lea    (%rdx,%rax,1),%rcx
mov    %rcx,0x80(%rsp)
mov    0x30(%rsp),%rcx
add    $0x8,%rcx
mov    %rcx,0x78(%rsp)
mov    %eax,%ecx
and    $0xfffffffe,%ecx
mov    %rcx,0x70(%rsp)
add    $0xfffffffffffffffe,%rcx
mov    %rcx,0xe0(%rsp)
mov    %rcx,%rsi
shr    %rsi
add    $0x1,%rsi
mov    %eax,%ecx
and    $0xfffffffc,%ecx
mov    %rcx,0xb8(%rsp)
add    $0xfffffffffffffffc,%rcx
mov    %rcx,0xb0(%rsp)
mov    %rcx,%rdi
shr    $0x2,%rdi
add    $0x1,%rdi
mov    %rsi,%rcx
mov    %rsi,0xd8(%rsp)
and    $0xfffffffffffffffe,%rsi
mov    %rsi,0xd0(%rsp)
mov    %rax,%rcx
neg    %rcx
mov    %rcx,0x90(%rsp)
mov    %rdi,%rcx
mov    %rdi,0x28(%rsp)
and    $0xfffffffffffffffe,%rdi
mov    %rdi,0x18(%rsp)
lea    0x0(,%r14,8),%rcx
neg    %rcx
mov    %rcx,0x98(%rsp)
mov    0x138(%rsp),%r10
lea    (%r10,%rdx,8),%r11
add    $0x10,%r11
mov    (%rsp),%rcx
lea    0x10(%rcx,%rdx,8),%rsi
mov    %rsi,0x60(%rsp)
mov    0x130(%rsp),%rsi
lea    0x10(%rsi,%rdx,8),%rbx
lea    0x8(%rsi,%rdx,8),%r12
lea    0x8(%rcx,%rdx,8),%r9
lea    0x8(%r10,%rdx,8),%r8
lea    0x30(%r10,%rdx,8),%rdi
add    $0x30,%rcx
mov    %rcx,0xa8(%rsp)
mov    %rdx,0x88(%rsp)
lea    (%r10,%rdx,8),%rsi
xor    %r10d,%r10d
jmp    131e <sptrsv_syncfree_executor+0x1fe>
cs nopw 0x0(%rax,%rax,1)
mov    0x38(%rsp),%r10
add    $0x1,%r10
mov    0x98(%rsp),%rcx
mov    0x68(%rsp),%r11
add    %rcx,%r11
add    %rcx,0x60(%rsp)
mov    0x40(%rsp),%rbx
add    %rcx,%rbx
add    %rcx,%r12
add    %rcx,%r9
add    %rcx,%r8
add    %rcx,%rdi
add    %rcx,%rsi
cmpq   $0x2,0xa0(%rsp)
mov    0x20(%rsp),%r15
mov    0x10(%rsp),%rbp
jl     1d32 <sptrsv_syncfree_executor+0xc12>
mov    %rbp,%rdx
mov    0xc0(%rsp),%rcx
mov    -0x4(%rcx,%rbp,4),%ecx
add    $0xffffffff,%ecx
mov    0x50(%rsp),%rbp
cmp    -0x4(%rbp,%rdx,4),%ecx
jne    17a0 <sptrsv_syncfree_executor+0x680>
mov    %rbx,0x40(%rsp)
lea    -0x1(%rdx),%rbx
mov    0x128(%rsp),%ebp
test   %ebp,%ebp
mov    %rbx,0x10(%rsp)
mov    %r11,0x68(%rsp)
mov    %r10,0x38(%rsp)
mov    %rdx,0xa0(%rsp)
jle    1440 <sptrsv_syncfree_executor+0x320>
mov    %rbx,%rcx
imul   %r14,%rcx
mov    %rcx,0x58(%rsp)
mov    (%r15,%rdx,4),%edx
add    $0xffffffff,%edx
movslq %edx,%r13
mov    0x30(%rsp),%rcx
lea    (%rcx,%r13,8),%r15
cmp    $0x1,%ebp
mov    %edx,0x8(%rsp)
jne    1620 <sptrsv_syncfree_executor+0x500>
xor    %ebx,%ebx
mov    %rbx,%rbp
test   $0x1,%al
je     13da <sptrsv_syncfree_executor+0x2ba>
mov    0x58(%rsp),%rdx
add    %rbx,%rdx
mov    0x130(%rsp),%rcx
movsd  (%rcx,%rdx,8),%xmm0
mov    (%rsp),%rcx
subsd  (%rcx,%rdx,8),%xmm0
divsd  (%r15),%xmm0
mov    0x138(%rsp),%rcx
movsd  %xmm0,(%rcx,%rdx,8)
mov    %rbx,%rbp
or     $0x1,%rbp
not    %rbx
cmp    0x90(%rsp),%rbx
mov    0x8(%rsp),%edx
je     142a <sptrsv_syncfree_executor+0x30a>
nopl   0x0(%rax,%rax,1)
movsd  -0x8(%r12,%rbp,8),%xmm0
subsd  -0x8(%r9,%rbp,8),%xmm0
divsd  (%r15),%xmm0
movsd  %xmm0,-0x8(%r8,%rbp,8)
movsd  (%r12,%rbp,8),%xmm0
subsd  (%r9,%rbp,8),%xmm0
divsd  (%r15),%xmm0
movsd  %xmm0,(%r8,%rbp,8)
add    $0x2,%rbp
cmp    %rbp,%rax
jne    13f0 <sptrsv_syncfree_executor+0x2d0>
mov    0x20(%rsp),%r15
mov    0x10(%rsp),%rbx
jmp    1447 <sptrsv_syncfree_executor+0x327>
cs nopw 0x0(%rax,%rax,1)
mov    (%r15,%rdx,4),%edx
add    $0xffffffff,%edx
movslq (%r15,%rbx,4),%rcx
cmp    %edx,%ecx
jge    12d0 <sptrsv_syncfree_executor+0x1b0>
mov    0x10(%rsp),%rbp
imul   %r14,%rbp
mov    %rbp,0x8(%rsp)
movslq %edx,%r15
jmp    1487 <sptrsv_syncfree_executor+0x367>
cs nopw 0x0(%rax,%rax,1)
mov    0x50(%rsp),%rdx
addl   $0x1,(%rdx,%r13,4)
add    $0x1,%rcx
cmp    %r15,%rcx
je     12d0 <sptrsv_syncfree_executor+0x1b0>
mov    0xc8(%rsp),%rdx
movslq (%rdx,%rcx,4),%r13
cmpl   $0x0,0x128(%rsp)
jle    1470 <sptrsv_syncfree_executor+0x350>
mov    %r13,%rbp
imul   %r14,%rbp
mov    0x30(%rsp),%rdx
movsd  (%rdx,%rcx,8),%xmm0
cmpl   $0x4,0x128(%rsp)
04
jae    14c0 <sptrsv_syncfree_executor+0x3a0>
xor    %edx,%edx
jmp    15df <sptrsv_syncfree_executor+0x4bf>
nop
movapd %xmm0,%xmm1
unpcklpd %xmm0,%xmm1
cmpq   $0x0,0xb0(%rsp)
je     156d <sptrsv_syncfree_executor+0x44d>
mov    0xa8(%rsp),%rdx
lea    (%rdx,%rbp,8),%r14
mov    0x18(%rsp),%r11
xor    %r10d,%r10d
nopl   0x0(%rax,%rax,1)
movupd -0x30(%rdi,%r10,8),%xmm2
movupd -0x20(%rdi,%r10,8),%xmm3
mulpd  %xmm1,%xmm2
movupd -0x30(%r14,%r10,8),%xmm4
addpd  %xmm2,%xmm4
movupd -0x20(%r14,%r10,8),%xmm2
movupd -0x10(%r14,%r10,8),%xmm5
movupd (%r14,%r10,8),%xmm6
mulpd  %xmm1,%xmm3
addpd  %xmm2,%xmm3
movupd %xmm4,-0x30(%r14,%r10,8)
movupd %xmm3,-0x20(%r14,%r10,8)
movupd -0x10(%rdi,%r10,8),%xmm2
movupd (%rdi,%r10,8),%xmm3
mulpd  %xmm1,%xmm2
addpd  %xmm5,%xmm2
mulpd  %xmm1,%xmm3
addpd  %xmm6,%xmm3
movupd %xmm2,-0x10(%r14,%r10,8)
movupd %xmm3,(%r14,%r10,8)
add    $0x8,%r10
add    $0xfffffffffffffffe,%r11
jne    14f0 <sptrsv_syncfree_executor+0x3d0>
jmp    1570 <sptrsv_syncfree_executor+0x450>
xor    %r10d,%r10d
testb  $0x1,0x28(%rsp)
mov    0x48(%rsp),%r14
je     15cb <sptrsv_syncfree_executor+0x4ab>
mov    0x8(%rsp),%rdx
lea    (%r10,%rdx,1),%r11
mov    0x138(%rsp),%rdx
movupd (%rdx,%r11,8),%xmm2
movupd 0x10(%rdx,%r11,8),%xmm3
add    %rbp,%r10
mov    (%rsp),%rdx
movupd (%rdx,%r10,8),%xmm4
movupd 0x10(%rdx,%r10,8),%xmm5
mulpd  %xmm1,%xmm2
addpd  %xmm4,%xmm2
mulpd  %xmm1,%xmm3
addpd  %xmm5,%xmm3
movupd %xmm2,(%rdx,%r10,8)
movupd %xmm3,0x10(%rdx,%r10,8)
mov    0xb8(%rsp),%rbx
mov    %rbx,%rdx
cmp    %rax,%rbx
je     1470 <sptrsv_syncfree_executor+0x350>
mov    (%rsp),%rbx
lea    (%rbx,%rbp,8),%rbp
nopw   0x0(%rax,%rax,1)
movsd  (%rsi,%rdx,8),%xmm1
mulsd  %xmm0,%xmm1
addsd  0x0(%rbp,%rdx,8),%xmm1
movsd  %xmm1,0x0(%rbp,%rdx,8)
add    $0x1,%rdx
cmp    %rdx,%rax
jne    15f0 <sptrsv_syncfree_executor+0x4d0>
jmp    1470 <sptrsv_syncfree_executor+0x350>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %r10,%rbp
imul   %r14,%rbp
mov    0x88(%rsp),%rbx
sub    %rbp,%rbx
mov    0x138(%rsp),%r14
lea    (%r14,%rbx,8),%r10
mov    0x80(%rsp),%rcx
sub    %rbp,%rcx
lea    (%r14,%rcx,8),%r14
mov    0x130(%rsp),%rbp
lea    0x0(,%rbx,8),%rbx
add    %rbp,%rbx
lea    0x0(,%rcx,8),%rcx
add    %rbp,%rcx
mov    0x78(%rsp),%rbp
lea    0x0(%rbp,%r13,8),%rbp
cmp    %rcx,%r10
setb   %r13b
cmp    %r14,%rbx
setb   %bl
cmp    %rbp,%r10
setb   %cl
cmp    %r14,%r15
setb   %r10b
test   %bl,%r13b
jne    1784 <sptrsv_syncfree_executor+0x664>
mov    $0x0,%ebx
and    %r10b,%cl
mov    0x48(%rsp),%r14
mov    0x40(%rsp),%rdx
jne    139c <sptrsv_syncfree_executor+0x27c>
cmpq   $0x0,0xe0(%rsp)
mov    0x60(%rsp),%rcx
je     1790 <sptrsv_syncfree_executor+0x670>
movsd  (%r15),%xmm0
unpcklpd %xmm0,%xmm0
mov    0xd0(%rsp),%rbx
xor    %ebp,%ebp
nopw   0x0(%rax,%rax,1)
movupd -0x10(%rdx,%rbp,8),%xmm1
movupd -0x10(%rcx,%rbp,8),%xmm2
subpd  %xmm2,%xmm1
divpd  %xmm0,%xmm1
movupd %xmm1,-0x10(%r11,%rbp,8)
movupd (%rdx,%rbp,8),%xmm1
movupd (%rcx,%rbp,8),%xmm2
subpd  %xmm2,%xmm1
divpd  %xmm0,%xmm1
movupd %xmm1,(%r11,%rbp,8)
add    $0x4,%rbp
add    $0xfffffffffffffffe,%rbx
jne    16e0 <sptrsv_syncfree_executor+0x5c0>
testb  $0x1,0xd8(%rsp)
01
je     1760 <sptrsv_syncfree_executor+0x640>
add    0x58(%rsp),%rbp
mov    0x130(%rsp),%rcx
movupd (%rcx,%rbp,8),%xmm0
mov    (%rsp),%rcx
movupd (%rcx,%rbp,8),%xmm1
subpd  %xmm1,%xmm0
movsd  (%r15),%xmm1
unpcklpd %xmm1,%xmm1
divpd  %xmm1,%xmm0
mov    0x138(%rsp),%rcx
movupd %xmm0,(%rcx,%rbp,8)
mov    0x70(%rsp),%rcx
mov    %rcx,%rbx
cmp    %rax,%rcx
jne    139c <sptrsv_syncfree_executor+0x27c>
mov    0x20(%rsp),%r15
mov    0x10(%rsp),%rbx
mov    0x8(%rsp),%edx
jmp    1447 <sptrsv_syncfree_executor+0x327>
xor    %ebx,%ebx
mov    0x48(%rsp),%r14
jmp    139c <sptrsv_syncfree_executor+0x27c>
xor    %ebp,%ebp
testb  $0x1,0xd8(%rsp)
01
jne    1727 <sptrsv_syncfree_executor+0x607>
jmp    1760 <sptrsv_syncfree_executor+0x640>
xchg   %ax,%ax
jmp    17a0 <sptrsv_syncfree_executor+0x680>
test   %ebx,%ebx
mov    0x20(%rsp),%r13
jle    1d32 <sptrsv_syncfree_executor+0xc12>
mov    %ebx,%eax
mov    %rax,0xa0(%rsp)
mov    0x128(%rsp),%ecx
mov    0x30(%rsp),%rax
add    $0x8,%rax
mov    %rax,0x90(%rsp)
mov    %ecx,%eax
and    $0xfffffffe,%eax
mov    %rax,0x88(%rsp)
add    $0xfffffffffffffffe,%rax
mov    %rax,0x80(%rsp)
mov    %rax,%rdx
shr    %rdx
add    $0x1,%rdx
mov    %ecx,%eax
and    $0xfffffffc,%eax
mov    %rax,0x60(%rsp)
add    $0xfffffffffffffffc,%rax
mov    %rax,0xb8(%rsp)
mov    %rax,%rsi
shr    $0x2,%rsi
add    $0x1,%rsi
mov    %rdx,%rax
mov    %rdx,0x78(%rsp)
and    $0xfffffffffffffffe,%rdx
mov    %rdx,0x70(%rsp)
mov    %rcx,%rax
neg    %rax
mov    %rax,0x58(%rsp)
mov    %rsi,%rax
mov    %rsi,0xb0(%rsp)
and    $0xfffffffffffffffe,%rsi
mov    %rsi,0xa8(%rsp)
mov    0x138(%rsp),%r15
lea    0x10(%r15),%rdi
lea    0x0(,%r14,8),%rax
mov    %rax,0x98(%rsp)
mov    (%rsp),%rdx
lea    0x10(%rdx),%rbx
mov    0x130(%rsp),%rax
lea    0x10(%rax),%rbp
lea    0x8(%rax),%r9
lea    0x8(%rdx),%r8
lea    0x8(%r15),%r10
lea    0x30(%r15),%r11
lea    0x30(%rdx),%rax
mov    %rax,0x10(%rsp)
xor    %esi,%esi
jmp    18ec <sptrsv_syncfree_executor+0x7cc>
cs nopw 0x0(%rax,%rax,1)
nop
mov    0x8(%rsp),%rdi
mov    0x98(%rsp),%rax
add    %rax,%rdi
mov    0x40(%rsp),%rbx
add    %rax,%rbx
mov    0x68(%rsp),%rbp
add    %rax,%rbp
add    %rax,%r9
add    %rax,%r8
add    %rax,%r10
add    %rax,%r11
add    %rax,%r15
mov    0x18(%rsp),%rsi
cmp    0xa0(%rsp),%rsi
mov    0x20(%rsp),%r13
mov    0x48(%rsp),%r14
je     1d32 <sptrsv_syncfree_executor+0xc12>
mov    0xc0(%rsp),%rax
mov    (%rax,%rsi,4),%eax
add    $0xffffffff,%eax
mov    0x50(%rsp),%rdx
cmp    (%rdx,%rsi,4),%eax
jne    1d30 <sptrsv_syncfree_executor+0xc10>
mov    %rsi,%rax
imul   %r14,%rax
mov    %rax,0x28(%rsp)
mov    0x128(%rsp),%r12d
test   %r12d,%r12d
mov    %rdi,0x8(%rsp)
mov    %rbx,0x40(%rsp)
mov    %rbp,0x68(%rsp)
jle    19f0 <sptrsv_syncfree_executor+0x8d0>
mov    0x0(%r13,%rsi,4),%eax
mov    %eax,0x38(%rsp)
cltq
mov    0x30(%rsp),%rdx
lea    (%rdx,%rax,8),%r14
cmp    $0x1,%r12d
mov    %rsi,0x18(%rsp)
jne    1a00 <sptrsv_syncfree_executor+0x8e0>
xor    %edx,%edx
mov    %rdx,%rax
test   $0x1,%cl
je     199d <sptrsv_syncfree_executor+0x87d>
mov    0x28(%rsp),%rax
add    %rdx,%rax
mov    0x130(%rsp),%rsi
movsd  (%rsi,%rax,8),%xmm0
mov    (%rsp),%rsi
subsd  (%rsi,%rax,8),%xmm0
divsd  (%r14),%xmm0
mov    0x138(%rsp),%rsi
movsd  %xmm0,(%rsi,%rax,8)
mov    0x18(%rsp),%rsi
mov    %rdx,%rax
or     $0x1,%rax
not    %rdx
cmp    0x58(%rsp),%rdx
je     1b40 <sptrsv_syncfree_executor+0xa20>
nopl   0x0(%rax,%rax,1)
movsd  -0x8(%r9,%rax,8),%xmm0
subsd  -0x8(%r8,%rax,8),%xmm0
divsd  (%r14),%xmm0
movsd  %xmm0,-0x8(%r10,%rax,8)
movsd  (%r9,%rax,8),%xmm0
subsd  (%r8,%rax,8),%xmm0
divsd  (%r14),%xmm0
movsd  %xmm0,(%r10,%rax,8)
add    $0x2,%rax
cmp    %rax,%rcx
jne    19b0 <sptrsv_syncfree_executor+0x890>
jmp    1b40 <sptrsv_syncfree_executor+0xa20>
nop
mov    0x0(%r13,%rsi,4),%eax
jmp    1b44 <sptrsv_syncfree_executor+0xa24>
nopw   0x0(%rax,%rax,1)
mov    0x138(%rsp),%rdi
mov    0x28(%rsp),%rbp
lea    (%rdi,%rbp,8),%rdx
lea    (%rcx,%rbp,1),%rsi
lea    (%rdi,%rsi,8),%rdi
mov    0x130(%rsp),%r12
lea    (%r12,%rbp,8),%rbx
lea    (%r12,%rsi,8),%rsi
mov    0x90(%rsp),%rbp
lea    0x0(,%rax,8),%rax
add    %rbp,%rax
cmp    %rsi,%rdx
setb   %sil
cmp    %rdi,%rbx
setb   %bl
cmp    %rax,%rdx
setb   %al
cmp    %rdi,%r14
setb   %dil
test   %bl,%sil
jne    1d04 <sptrsv_syncfree_executor+0xbe4>
mov    $0x0,%edx
and    %dil,%al
mov    0x128(%rsp),%r12d
mov    0x8(%rsp),%rdi
mov    0x40(%rsp),%rbx
mov    0x68(%rsp),%rbp
mov    0x18(%rsp),%rsi
jne    1959 <sptrsv_syncfree_executor+0x839>
cmpq   $0x0,0x80(%rsp)
je     1d18 <sptrsv_syncfree_executor+0xbf8>
movsd  (%r14),%xmm0
unpcklpd %xmm0,%xmm0
mov    0x70(%rsp),%rdx
xor    %eax,%eax
nopl   0x0(%rax,%rax,1)
movupd -0x10(%rbp,%rax,8),%xmm1
movupd -0x10(%rbx,%rax,8),%xmm2
subpd  %xmm2,%xmm1
divpd  %xmm0,%xmm1
movupd %xmm1,-0x10(%rdi,%rax,8)
movupd 0x0(%rbp,%rax,8),%xmm1
movupd (%rbx,%rax,8),%xmm2
subpd  %xmm2,%xmm1
divpd  %xmm0,%xmm1
movupd %xmm1,(%rdi,%rax,8)
add    $0x4,%rax
add    $0xfffffffffffffffe,%rdx
jne    1ab0 <sptrsv_syncfree_executor+0x990>
testb  $0x1,0x78(%rsp)
je     1b2c <sptrsv_syncfree_executor+0xa0c>
add    0x28(%rsp),%rax
mov    0x130(%rsp),%rdx
movupd (%rdx,%rax,8),%xmm0
mov    (%rsp),%rdx
movupd (%rdx,%rax,8),%xmm1
subpd  %xmm1,%xmm0
movsd  (%r14),%xmm1
unpcklpd %xmm1,%xmm1
divpd  %xmm1,%xmm0
mov    0x138(%rsp),%rdx
movupd %xmm0,(%rdx,%rax,8)
mov    0x88(%rsp),%rax
mov    %rax,%rdx
cmp    %rcx,%rax
jne    1959 <sptrsv_syncfree_executor+0x839>
mov    0x38(%rsp),%eax
mov    0x4(%r13,%rsi,4),%r14d
add    $0x1,%rsi
mov    %rsi,0x18(%rsp)
add    $0x1,%eax
cmp    %r14d,%eax
mov    0x60(%rsp),%r13
jge    18a0 <sptrsv_syncfree_executor+0x780>
cltq
jmp    1b86 <sptrsv_syncfree_executor+0xa66>
nopw   0x0(%rax,%rax,1)
mov    0x50(%rsp),%rdx
addl   $0x1,(%rdx,%rbp,4)
add    $0x1,%rax
cmp    %eax,%r14d
je     18a0 <sptrsv_syncfree_executor+0x780>
mov    0xc8(%rsp),%rdx
movslq (%rdx,%rax,4),%rbp
test   %r12d,%r12d
jle    1b70 <sptrsv_syncfree_executor+0xa50>
mov    %rbp,%rbx
imul   0x48(%rsp),%rbx
mov    0x30(%rsp),%rdx
movsd  (%rdx,%rax,8),%xmm0
cmp    $0x4,%r12d
jae    1bc0 <sptrsv_syncfree_executor+0xaa0>
xor    %edx,%edx
jmp    1cc1 <sptrsv_syncfree_executor+0xba1>
nopw   0x0(%rax,%rax,1)
movapd %xmm0,%xmm1
unpcklpd %xmm0,%xmm1
cmpq   $0x0,0xb8(%rsp)
je     1cf2 <sptrsv_syncfree_executor+0xbd2>
mov    0x10(%rsp),%rdx
lea    (%rdx,%rbx,8),%rdi
mov    0xa8(%rsp),%rdx
xor    %esi,%esi
nopw   0x0(%rax,%rax,1)
movupd -0x30(%r11,%rsi,8),%xmm2
movupd -0x20(%r11,%rsi,8),%xmm3
mulpd  %xmm1,%xmm2
movupd -0x30(%rdi,%rsi,8),%xmm4
addpd  %xmm2,%xmm4
movupd -0x20(%rdi,%rsi,8),%xmm2
movupd -0x10(%rdi,%rsi,8),%xmm5
movupd (%rdi,%rsi,8),%xmm6
mulpd  %xmm1,%xmm3
addpd  %xmm2,%xmm3
movupd %xmm4,-0x30(%rdi,%rsi,8)
movupd %xmm3,-0x20(%rdi,%rsi,8)
movupd -0x10(%r11,%rsi,8),%xmm2
movupd (%r11,%rsi,8),%xmm3
mulpd  %xmm1,%xmm2
addpd  %xmm5,%xmm2
mulpd  %xmm1,%xmm3
addpd  %xmm6,%xmm3
movupd %xmm2,-0x10(%rdi,%rsi,8)
movupd %xmm3,(%rdi,%rsi,8)
add    $0x8,%rsi
add    $0xfffffffffffffffe,%rdx
jne    1bf0 <sptrsv_syncfree_executor+0xad0>
testb  $0x1,0xb0(%rsp)
01
je     1cb5 <sptrsv_syncfree_executor+0xb95>
mov    0x28(%rsp),%rdx
add    %rsi,%rdx
mov    0x138(%rsp),%rdi
movupd (%rdi,%rdx,8),%xmm2
movupd 0x10(%rdi,%rdx,8),%xmm3
add    %rbx,%rsi
mov    (%rsp),%rdx
movupd (%rdx,%rsi,8),%xmm4
movupd 0x10(%rdx,%rsi,8),%xmm5
mulpd  %xmm1,%xmm2
addpd  %xmm4,%xmm2
mulpd  %xmm1,%xmm3
addpd  %xmm5,%xmm3
movupd %xmm2,(%rdx,%rsi,8)
movupd %xmm3,0x10(%rdx,%rsi,8)
mov    %r13,%rdx
cmp    %rcx,%r13
je     1b70 <sptrsv_syncfree_executor+0xa50>
mov    (%rsp),%rsi
lea    (%rsi,%rbx,8),%rsi
nopl   0x0(%rax)
movsd  (%r15,%rdx,8),%xmm1
mulsd  %xmm0,%xmm1
addsd  (%rsi,%rdx,8),%xmm1
movsd  %xmm1,(%rsi,%rdx,8)
add    $0x1,%rdx
cmp    %rdx,%rcx
jne    1cd0 <sptrsv_syncfree_executor+0xbb0>
jmp    1b70 <sptrsv_syncfree_executor+0xa50>
xor    %esi,%esi
testb  $0x1,0xb0(%rsp)
01
jne    1c6d <sptrsv_syncfree_executor+0xb4d>
jmp    1cb5 <sptrsv_syncfree_executor+0xb95>
xor    %edx,%edx
mov    0x128(%rsp),%r12d
mov    0x18(%rsp),%rsi
jmp    1959 <sptrsv_syncfree_executor+0x839>
xor    %eax,%eax
testb  $0x1,0x78(%rsp)
jne    1af3 <sptrsv_syncfree_executor+0x9d3>
jmp    1b2c <sptrsv_syncfree_executor+0xa0c>
nopw   0x0(%rax,%rax,1)
jmp    1d30 <sptrsv_syncfree_executor+0xc10>
mov    0x50(%rsp),%rdi
call   1030 <free@plt>
mov    (%rsp),%rdi
call   1030 <free@plt>
xor    %eax,%eax
add    $0xe8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define i32 @sptrsv_syncfree_executor(i32* nocapture %0, i32* nocapture %1, double* nocapture %2, i32* nocapture %3, i32 %4, i32 %5, i32 %6, i32 %7, double* nocapture %8, double* nocapture %9) {
%11 = sext i32 %4 to i64
%12 = shl nsw i64 %11, 2
%13 = call i8* @calloc(i64 1, i64 %12)
%14 = bitcast i8* %13 to i32*
%15 = shl nsw i64 %11, 3
%16 = sext i32 %7 to i64
%17 = mul i64 %15, %16
%18 = call i8* @calloc(i64 1, i64 %17)
%19 = bitcast i8* %18 to double*
switch i32 %6, label %575 [
i32 0, label %56
i32 1, label %20
]
20: ; preds = %10
%21 = icmp sgt i32 %5, 0
br i1 %21, label %22, label %575
22: ; preds = %20
%23 = icmp sgt i32 %7, 0
%24 = zext i32 %5 to i64
%25 = zext i32 %7 to i64
%26 = zext i32 %7 to i64
%27 = add nsw i64 %24, -1
%28 = mul i64 %27, %16
%29 = add i64 %28, %25
%30 = getelementptr double, double* %2, i64 1
%31 = and i64 %25, 4294967294
%32 = add nsw i64 %31, -2
%33 = lshr exact i64 %32, 1
%34 = add nuw i64 %33, 1
%35 = and i64 %25, 4294967292
%36 = add nsw i64 %35, -4
%37 = lshr exact i64 %36, 2
%38 = add nuw nsw i64 %37, 1
%39 = icmp eq i32 %7, 1
%40 = and i64 %25, 4294967294
%41 = and i64 %34, 1
%42 = icmp eq i64 %32, 0
%43 = and i64 %34, -2
%44 = icmp eq i64 %41, 0
%45 = icmp eq i64 %40, %25
%46 = and i64 %25, 1
%47 = icmp eq i64 %46, 0
%48 = sub nsw i64 0, %25
%49 = icmp ult i32 %7, 4
%50 = and i64 %25, 4294967292
%51 = and i64 %38, 1
%52 = icmp eq i64 %36, 0
%53 = and i64 %38, 9223372036854775806
%54 = icmp eq i64 %51, 0
%55 = icmp eq i64 %50, %25
br label %333
56: ; preds = %10
%57 = icmp sgt i32 %5, 0
br i1 %57, label %58, label %575
58: ; preds = %56
%59 = icmp sgt i32 %7, 0
%60 = zext i32 %5 to i64
%61 = zext i32 %7 to i64
%62 = zext i32 %7 to i64
%63 = getelementptr double, double* %2, i64 1
%64 = and i64 %61, 4294967294
%65 = add nsw i64 %64, -2
%66 = lshr exact i64 %65, 1
%67 = add nuw i64 %66, 1
%68 = and i64 %61, 4294967292
%69 = add nsw i64 %68, -4
%70 = lshr exact i64 %69, 2
%71 = add nuw nsw i64 %70, 1
%72 = icmp eq i32 %7, 1
%73 = and i64 %61, 4294967294
%74 = and i64 %67, 1
%75 = icmp eq i64 %65, 0
%76 = and i64 %67, -2
%77 = icmp eq i64 %74, 0
%78 = icmp eq i64 %73, %61
%79 = and i64 %61, 1
%80 = icmp eq i64 %79, 0
%81 = sub nsw i64 0, %61
%82 = icmp ult i32 %7, 4
%83 = and i64 %61, 4294967292
%84 = and i64 %71, 1
%85 = icmp eq i64 %69, 0
%86 = and i64 %71, 9223372036854775806
%87 = icmp eq i64 %84, 0
%88 = icmp eq i64 %83, %61
br label %91
89: ; preds = %311, %197
%90 = icmp eq i64 %199, %60
br i1 %90, label %575, label %91
91: ; preds = %58, %89
%92 = phi i64 [ 0, %58 ], [ %199, %89 ]
%93 = mul i64 %92, %16
%94 = getelementptr double, double* %9, i64 %93
%95 = add i64 %93, %61
%96 = getelementptr double, double* %9, i64 %95
%97 = getelementptr double, double* %8, i64 %93
%98 = getelementptr double, double* %8, i64 %95
%99 = getelementptr inbounds i32, i32* %3, i64 %92
%100 = load i32, i32* %99
%101 = add nsw i32 %100, -1
%102 = getelementptr inbounds i32, i32* %14, i64 %92
%103 = load i32, i32* %102
%104 = icmp eq i32 %101, %103
br i1 %104, label %106, label %105
105: ; preds = %91, %105
br label %105
106: ; preds = %91
br i1 %59, label %110, label %107
107: ; preds = %106
%108 = getelementptr inbounds i32, i32* %0, i64 %92
%109 = load i32, i32* %108
br label %197
110: ; preds = %106
%111 = mul nsw i64 %92, %16
%112 = getelementptr inbounds i32, i32* %0, i64 %92
%113 = load i32, i32* %112
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds double, double* %2, i64 %114
br i1 %72, label %180, label %116
116: ; preds = %110
%117 = getelementptr double, double* %63, i64 %114
%118 = icmp ult double* %94, %98
%119 = icmp ult double* %97, %96
%120 = and i1 %118, %119
%121 = icmp ult double* %94, %117
%122 = icmp ult double* %115, %96
%123 = and i1 %121, %122
%124 = or i1 %120, %123
br i1 %124, label %180, label %125
125: ; preds = %116
br i1 %75, label %162, label %126
126: ; preds = %125
%127 = load double, double* %115
%128 = insertelement <2 x double> poison, double %127, i64 0
%129 = shufflevector <2 x double> %128, <2 x double> poison, <2 x i32> zeroinitializer
%130 = load double, double* %115
%131 = insertelement <2 x double> poison, double %130, i64 0
%132 = shufflevector <2 x double> %131, <2 x double> poison, <2 x i32> zeroinitializer
br label %133
133: ; preds = %133, %126
%134 = phi i64 [ 0, %126 ], [ %159, %133 ]
%135 = phi i64 [ 0, %126 ], [ %160, %133 ]
%136 = add nsw i64 %134, %111
%137 = getelementptr inbounds double, double* %8, i64 %136
%138 = bitcast double* %137 to <2 x double>*
%139 = load <2 x double>, <2 x double>* %138
%140 = getelementptr inbounds double, double* %19, i64 %136
%141 = bitcast double* %140 to <2 x double>*
%142 = load <2 x double>, <2 x double>* %141
%143 = fsub <2 x double> %139, %142
%144 = fdiv <2 x double> %143, %129
%145 = getelementptr inbounds double, double* %9, i64 %136
%146 = bitcast double* %145 to <2 x double>*
store <2 x double> %144, <2 x double>* %146
%147 = or i64 %134, 2
%148 = add nsw i64 %147, %111
%149 = getelementptr inbounds double, double* %8, i64 %148
%150 = bitcast double* %149 to <2 x double>*
%151 = load <2 x double>, <2 x double>* %150
%152 = getelementptr inbounds double, double* %19, i64 %148
%153 = bitcast double* %152 to <2 x double>*
%154 = load <2 x double>, <2 x double>* %153
%155 = fsub <2 x double> %151, %154
%156 = fdiv <2 x double> %155, %132
%157 = getelementptr inbounds double, double* %9, i64 %148
%158 = bitcast double* %157 to <2 x double>*
store <2 x double> %156, <2 x double>* %158
%159 = add nuw i64 %134, 4
%160 = add nuw i64 %135, 2
%161 = icmp eq i64 %160, %76
br i1 %161, label %162, label %133
162: ; preds = %133, %125
%163 = phi i64 [ 0, %125 ], [ %159, %133 ]
br i1 %77, label %179, label %164
164: ; preds = %162
%165 = add nsw i64 %163, %111
%166 = getelementptr inbounds double, double* %8, i64 %165
%167 = bitcast double* %166 to <2 x double>*
%168 = load <2 x double>, <2 x double>* %167
%169 = getelementptr inbounds double, double* %19, i64 %165
%170 = bitcast double* %169 to <2 x double>*
%171 = load <2 x double>, <2 x double>* %170
%172 = fsub <2 x double> %168, %171
%173 = load double, double* %115
%174 = insertelement <2 x double> poison, double %173, i64 0
%175 = shufflevector <2 x double> %174, <2 x double> poison, <2 x i32> zeroinitializer
%176 = fdiv <2 x double> %172, %175
%177 = getelementptr inbounds double, double* %9, i64 %165
%178 = bitcast double* %177 to <2 x double>*
store <2 x double> %176, <2 x double>* %178
br label %179
179: ; preds = %162, %164
br i1 %78, label %197, label %180
180: ; preds = %116, %110, %179
%181 = phi i64 [ 0, %116 ], [ 0, %110 ], [ %73, %179 ]
%182 = xor i64 %181, -1
br i1 %80, label %194, label %183
183: ; preds = %180
%184 = add nsw i64 %181, %111
%185 = getelementptr inbounds double, double* %8, i64 %184
%186 = load double, double* %185
%187 = getelementptr inbounds double, double* %19, i64 %184
%188 = load double, double* %187
%189 = fsub double %186, %188
%190 = load double, double* %115
%191 = fdiv double %189, %190
%192 = getelementptr inbounds double, double* %9, i64 %184
store double %191, double* %192
%193 = or i64 %181, 1
br label %194
194: ; preds = %183, %180
%195 = phi i64 [ %181, %180 ], [ %193, %183 ]
%196 = icmp eq i64 %182, %81
br i1 %196, label %197, label %207
197: ; preds = %194, %207, %179, %107
%198 = phi i32 [ %109, %107 ], [ %113, %179 ], [ %113, %207 ], [ %113, %194 ]
%199 = add nuw nsw i64 %92, 1
%200 = getelementptr inbounds i32, i32* %0, i64 %199
%201 = load i32, i32* %200
%202 = add i32 %198, 1
%203 = icmp slt i32 %202, %201
br i1 %203, label %204, label %89
204: ; preds = %197
%205 = mul nsw i64 %92, %16
%206 = sext i32 %202 to i64
br label %230
207: ; preds = %194, %207
%208 = phi i64 [ %228, %207 ], [ %195, %194 ]
%209 = add nsw i64 %208, %111
%210 = getelementptr inbounds double, double* %8, i64 %209
%211 = load double, double* %210
%212 = getelementptr inbounds double, double* %19, i64 %209
%213 = load double, double* %212
%214 = fsub double %211, %213
%215 = load double, double* %115
%216 = fdiv double %214, %215
%217 = getelementptr inbounds double, double* %9, i64 %209
store double %216, double* %217
%218 = add nuw nsw i64 %208, 1
%219 = add nsw i64 %218, %111
%220 = getelementptr inbounds double, double* %8, i64 %219
%221 = load double, double* %220
%222 = getelementptr inbounds double, double* %19, i64 %219
%223 = load double, double* %222
%224 = fsub double %221, %223
%225 = load double, double* %115
%226 = fdiv double %224, %225
%227 = getelementptr inbounds double, double* %9, i64 %219
store double %226, double* %227
%228 = add nuw nsw i64 %208, 2
%229 = icmp eq i64 %228, %61
br i1 %229, label %197, label %207
230: ; preds = %204, %311
%231 = phi i64 [ %206, %204 ], [ %316, %311 ]
%232 = getelementptr inbounds i32, i32* %1, i64 %231
%233 = load i32, i32* %232
br i1 %59, label %234, label %311
234: ; preds = %230
%235 = getelementptr inbounds double, double* %2, i64 %231
%236 = load double, double* %235
%237 = mul nsw i32 %233, %7
%238 = sext i32 %237 to i64
br i1 %82, label %309, label %239
239: ; preds = %234
%240 = insertelement <2 x double> poison, double %236, i64 0
%241 = shufflevector <2 x double> %240, <2 x double> poison, <2 x i32> zeroinitializer
%242 = insertelement <2 x double> poison, double %236, i64 0
%243 = shufflevector <2 x double> %242, <2 x double> poison, <2 x i32> zeroinitializer
br i1 %85, label %287, label %244
244: ; preds = %239, %244
%245 = phi i64 [ %284, %244 ], [ 0, %239 ]
%246 = phi i64 [ %285, %244 ], [ 0, %239 ]
%247 = add nsw i64 %245, %205
%248 = getelementptr inbounds double, double* %9, i64 %247
%249 = bitcast double* %248 to <2 x double>*
%250 = load <2 x double>, <2 x double>* %249
%251 = getelementptr inbounds double, double* %248, i64 2
%252 = bitcast double* %251 to <2 x double>*
%253 = load <2 x double>, <2 x double>* %252
%254 = add nsw i64 %245, %238
%255 = getelementptr inbounds double, double* %19, 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 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %250, <2 x double> %241, <2 x double> %257)
%262 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %253, <2 x double> %243, <2 x double> %260)
%263 = bitcast double* %255 to <2 x double>*
store <2 x double> %261, <2 x double>* %263
%264 = bitcast double* %258 to <2 x double>*
store <2 x double> %262, <2 x double>* %264
%265 = or i64 %245, 4
%266 = add nsw i64 %265, %205
%267 = getelementptr inbounds double, double* %9, 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 = add nsw i64 %265, %238
%274 = getelementptr inbounds double, double* %19, i64 %273
%275 = bitcast double* %274 to <2 x double>*
%276 = load <2 x double>, <2 x double>* %275
%277 = getelementptr inbounds double, double* %274, i64 2
%278 = bitcast double* %277 to <2 x double>*
%279 = load <2 x double>, <2 x double>* %278
%280 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %269, <2 x double> %241, <2 x double> %276)
%281 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %272, <2 x double> %243, <2 x double> %279)
%282 = bitcast double* %274 to <2 x double>*
store <2 x double> %280, <2 x double>* %282
%283 = bitcast double* %277 to <2 x double>*
store <2 x double> %281, <2 x double>* %283
%284 = add nuw i64 %245, 8
%285 = add i64 %246, 2
%286 = icmp eq i64 %285, %86
br i1 %286, label %287, label %244
287: ; preds = %244, %239
%288 = phi i64 [ 0, %239 ], [ %284, %244 ]
br i1 %87, label %308, label %289
289: ; preds = %287
%290 = add nsw i64 %288, %205
%291 = getelementptr inbounds double, double* %9, i64 %290
%292 = bitcast double* %291 to <2 x double>*
%293 = load <2 x double>, <2 x double>* %292
%294 = getelementptr inbounds double, double* %291, i64 2
%295 = bitcast double* %294 to <2 x double>*
%296 = load <2 x double>, <2 x double>* %295
%297 = add nsw i64 %288, %238
%298 = getelementptr inbounds double, double* %19, i64 %297
%299 = bitcast double* %298 to <2 x double>*
%300 = load <2 x double>, <2 x double>* %299
%301 = getelementptr inbounds double, double* %298, i64 2
%302 = bitcast double* %301 to <2 x double>*
%303 = load <2 x double>, <2 x double>* %302
%304 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %293, <2 x double> %241, <2 x double> %300)
%305 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %296, <2 x double> %243, <2 x double> %303)
%306 = bitcast double* %298 to <2 x double>*
store <2 x double> %304, <2 x double>* %306
%307 = bitcast double* %301 to <2 x double>*
store <2 x double> %305, <2 x double>* %307
br label %308
308: ; preds = %287, %289
br i1 %88, label %311, label %309
309: ; preds = %234, %308
%310 = phi i64 [ 0, %234 ], [ %83, %308 ]
br label %319
311: ; preds = %319, %308, %230
%312 = sext i32 %233 to i64
%313 = getelementptr inbounds i32, i32* %14, i64 %312
%314 = load i32, i32* %313
%315 = add nsw i32 %314, 1
store i32 %315, i32* %313
%316 = add nsw i64 %231, 1
%317 = trunc i64 %316 to i32
%318 = icmp eq i32 %201, %317
br i1 %318, label %89, label %230
319: ; preds = %309, %319
%320 = phi i64 [ %328, %319 ], [ %310, %309 ]
%321 = add nsw i64 %320, %205
%322 = getelementptr inbounds double, double* %9, i64 %321
%323 = load double, double* %322
%324 = add nsw i64 %320, %238
%325 = getelementptr inbounds double, double* %19, i64 %324
%326 = load double, double* %325
%327 = tail call double @llvm.fmuladd.f64(double %323, double %236, double %326)
store double %327, double* %325
%328 = add nuw nsw i64 %320, 1
%329 = icmp eq i64 %328, %62
br i1 %329, label %311, label %319
330: ; preds = %557, %444
%331 = icmp sgt i64 %335, 1
%332 = add i64 %334, 1
br i1 %331, label %333, label %575
333: ; preds = %22, %330
%334 = phi i64 [ 0, %22 ], [ %332, %330 ]
%335 = phi i64 [ %24, %22 ], [ %343, %330 ]
%336 = mul i64 %334, %16
%337 = sub i64 %28, %336
%338 = getelementptr double, double* %9, i64 %337
%339 = sub i64 %29, %336
%340 = getelementptr double, double* %9, i64 %339
%341 = getelementptr double, double* %8, i64 %337
%342 = getelementptr double, double* %8, i64 %339
%343 = add nsw i64 %335, -1
%344 = getelementptr inbounds i32, i32* %3, i64 %343
%345 = load i32, i32* %344
%346 = add nsw i32 %345, -1
%347 = getelementptr inbounds i32, i32* %14, i64 %343
%348 = load i32, i32* %347
%349 = icmp eq i32 %346, %348
br i1 %349, label %351, label %350
350: ; preds = %333, %350
br label %350
351: ; preds = %333
br i1 %23, label %356, label %352
352: ; preds = %351
%353 = getelementptr inbounds i32, i32* %0, i64 %335
%354 = load i32, i32* %353
%355 = add i32 %354, -1
br label %444
356: ; preds = %351
%357 = mul nsw i64 %343, %16
%358 = getelementptr inbounds i32, i32* %0, i64 %335
%359 = load i32, i32* %358
%360 = add i32 %359, -1
%361 = sext i32 %360 to i64
%362 = getelementptr inbounds double, double* %2, i64 %361
br i1 %39, label %427, label %363
363: ; preds = %356
%364 = getelementptr double, double* %30, i64 %361
%365 = icmp ult double* %338, %342
%366 = icmp ult double* %341, %340
%367 = and i1 %365, %366
%368 = icmp ult double* %338, %364
%369 = icmp ult double* %362, %340
%370 = and i1 %368, %369
%371 = or i1 %367, %370
br i1 %371, label %427, label %372
372: ; preds = %363
br i1 %42, label %409, label %373
373: ; preds = %372
%374 = load double, double* %362
%375 = insertelement <2 x double> poison, double %374, i64 0
%376 = shufflevector <2 x double> %375, <2 x double> poison, <2 x i32> zeroinitializer
%377 = load double, double* %362
%378 = insertelement <2 x double> poison, double %377, i64 0
%379 = shufflevector <2 x double> %378, <2 x double> poison, <2 x i32> zeroinitializer
br label %380
380: ; preds = %380, %373
%381 = phi i64 [ 0, %373 ], [ %406, %380 ]
%382 = phi i64 [ 0, %373 ], [ %407, %380 ]
%383 = add nsw i64 %381, %357
%384 = getelementptr inbounds double, double* %8, i64 %383
%385 = bitcast double* %384 to <2 x double>*
%386 = load <2 x double>, <2 x double>* %385
%387 = getelementptr inbounds double, double* %19, i64 %383
%388 = bitcast double* %387 to <2 x double>*
%389 = load <2 x double>, <2 x double>* %388
%390 = fsub <2 x double> %386, %389
%391 = fdiv <2 x double> %390, %376
%392 = getelementptr inbounds double, double* %9, i64 %383
%393 = bitcast double* %392 to <2 x double>*
store <2 x double> %391, <2 x double>* %393
%394 = or i64 %381, 2
%395 = add nsw i64 %394, %357
%396 = getelementptr inbounds double, double* %8, i64 %395
%397 = bitcast double* %396 to <2 x double>*
%398 = load <2 x double>, <2 x double>* %397
%399 = getelementptr inbounds double, double* %19, i64 %395
%400 = bitcast double* %399 to <2 x double>*
%401 = load <2 x double>, <2 x double>* %400
%402 = fsub <2 x double> %398, %401
%403 = fdiv <2 x double> %402, %379
%404 = getelementptr inbounds double, double* %9, i64 %395
%405 = bitcast double* %404 to <2 x double>*
store <2 x double> %403, <2 x double>* %405
%406 = add nuw i64 %381, 4
%407 = add nuw i64 %382, 2
%408 = icmp eq i64 %407, %43
br i1 %408, label %409, label %380
409: ; preds = %380, %372
%410 = phi i64 [ 0, %372 ], [ %406, %380 ]
br i1 %44, label %426, label %411
411: ; preds = %409
%412 = add nsw i64 %410, %357
%413 = getelementptr inbounds double, double* %8, i64 %412
%414 = bitcast double* %413 to <2 x double>*
%415 = load <2 x double>, <2 x double>* %414
%416 = getelementptr inbounds double, double* %19, i64 %412
%417 = bitcast double* %416 to <2 x double>*
%418 = load <2 x double>, <2 x double>* %417
%419 = fsub <2 x double> %415, %418
%420 = load double, double* %362
%421 = insertelement <2 x double> poison, double %420, i64 0
%422 = shufflevector <2 x double> %421, <2 x double> poison, <2 x i32> zeroinitializer
%423 = fdiv <2 x double> %419, %422
%424 = getelementptr inbounds double, double* %9, i64 %412
%425 = bitcast double* %424 to <2 x double>*
store <2 x double> %423, <2 x double>* %425
br label %426
426: ; preds = %409, %411
br i1 %45, label %444, label %427
427: ; preds = %363, %356, %426
%428 = phi i64 [ 0, %363 ], [ 0, %356 ], [ %40, %426 ]
%429 = xor i64 %428, -1
br i1 %47, label %441, label %430
430: ; preds = %427
%431 = add nsw i64 %428, %357
%432 = getelementptr inbounds double, double* %8, i64 %431
%433 = load double, double* %432
%434 = getelementptr inbounds double, double* %19, i64 %431
%435 = load double, double* %434
%436 = fsub double %433, %435
%437 = load double, double* %362
%438 = fdiv double %436, %437
%439 = getelementptr inbounds double, double* %9, i64 %431
store double %438, double* %439
%440 = or i64 %428, 1
br label %441
441: ; preds = %430, %427
%442 = phi i64 [ %428, %427 ], [ %440, %430 ]
%443 = icmp eq i64 %429, %48
br i1 %443, label %444, label %453
444: ; preds = %441, %453, %426, %352
%445 = phi i32 [ %355, %352 ], [ %360, %426 ], [ %360, %453 ], [ %360, %441 ]
%446 = getelementptr inbounds i32, i32* %0, i64 %343
%447 = load i32, i32* %446
%448 = icmp slt i32 %447, %445
br i1 %448, label %449, label %330
449: ; preds = %444
%450 = mul nsw i64 %343, %16
%451 = sext i32 %447 to i64
%452 = sext i32 %445 to i64
br label %476
453: ; preds = %441, %453
%454 = phi i64 [ %474, %453 ], [ %442, %441 ]
%455 = add nsw i64 %454, %357
%456 = getelementptr inbounds double, double* %8, i64 %455
%457 = load double, double* %456
%458 = getelementptr inbounds double, double* %19, i64 %455
%459 = load double, double* %458
%460 = fsub double %457, %459
%461 = load double, double* %362
%462 = fdiv double %460, %461
%463 = getelementptr inbounds double, double* %9, i64 %455
store double %462, double* %463
%464 = add nuw nsw i64 %454, 1
%465 = add nsw i64 %464, %357
%466 = getelementptr inbounds double, double* %8, i64 %465
%467 = load double, double* %466
%468 = getelementptr inbounds double, double* %19, i64 %465
%469 = load double, double* %468
%470 = fsub double %467, %469
%471 = load double, double* %362
%472 = fdiv double %470, %471
%473 = getelementptr inbounds double, double* %9, i64 %465
store double %472, double* %473
%474 = add nuw nsw i64 %454, 2
%475 = icmp eq i64 %474, %25
br i1 %475, label %444, label %453
476: ; preds = %449, %557
%477 = phi i64 [ %451, %449 ], [ %562, %557 ]
%478 = getelementptr inbounds i32, i32* %1, i64 %477
%479 = load i32, i32* %478
br i1 %23, label %480, label %557
480: ; preds = %476
%481 = getelementptr inbounds double, double* %2, i64 %477
%482 = load double, double* %481
%483 = mul nsw i32 %479, %7
%484 = sext i32 %483 to i64
br i1 %49, label %555, label %485
485: ; preds = %480
%486 = insertelement <2 x double> poison, double %482, i64 0
%487 = shufflevector <2 x double> %486, <2 x double> poison, <2 x i32> zeroinitializer
%488 = insertelement <2 x double> poison, double %482, i64 0
%489 = shufflevector <2 x double> %488, <2 x double> poison, <2 x i32> zeroinitializer
br i1 %52, label %533, label %490
490: ; preds = %485, %490
%491 = phi i64 [ %530, %490 ], [ 0, %485 ]
%492 = phi i64 [ %531, %490 ], [ 0, %485 ]
%493 = add nsw i64 %491, %450
%494 = getelementptr inbounds double, double* %9, i64 %493
%495 = bitcast double* %494 to <2 x double>*
%496 = load <2 x double>, <2 x double>* %495
%497 = getelementptr inbounds double, double* %494, i64 2
%498 = bitcast double* %497 to <2 x double>*
%499 = load <2 x double>, <2 x double>* %498
%500 = add nsw i64 %491, %484
%501 = getelementptr inbounds double, double* %19, i64 %500
%502 = bitcast double* %501 to <2 x double>*
%503 = load <2 x double>, <2 x double>* %502
%504 = getelementptr inbounds double, double* %501, i64 2
%505 = bitcast double* %504 to <2 x double>*
%506 = load <2 x double>, <2 x double>* %505
%507 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %496, <2 x double> %487, <2 x double> %503)
%508 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %499, <2 x double> %489, <2 x double> %506)
%509 = bitcast double* %501 to <2 x double>*
store <2 x double> %507, <2 x double>* %509
%510 = bitcast double* %504 to <2 x double>*
store <2 x double> %508, <2 x double>* %510
%511 = or i64 %491, 4
%512 = add nsw i64 %511, %450
%513 = getelementptr inbounds double, double* %9, i64 %512
%514 = bitcast double* %513 to <2 x double>*
%515 = load <2 x double>, <2 x double>* %514
%516 = getelementptr inbounds double, double* %513, i64 2
%517 = bitcast double* %516 to <2 x double>*
%518 = load <2 x double>, <2 x double>* %517
%519 = add nsw i64 %511, %484
%520 = getelementptr inbounds double, double* %19, i64 %519
%521 = bitcast double* %520 to <2 x double>*
%522 = load <2 x double>, <2 x double>* %521
%523 = getelementptr inbounds double, double* %520, i64 2
%524 = bitcast double* %523 to <2 x double>*
%525 = load <2 x double>, <2 x double>* %524
%526 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %515, <2 x double> %487, <2 x double> %522)
%527 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %518, <2 x double> %489, <2 x double> %525)
%528 = bitcast double* %520 to <2 x double>*
store <2 x double> %526, <2 x double>* %528
%529 = bitcast double* %523 to <2 x double>*
store <2 x double> %527, <2 x double>* %529
%530 = add nuw i64 %491, 8
%531 = add i64 %492, 2
%532 = icmp eq i64 %531, %53
br i1 %532, label %533, label %490
533: ; preds = %490, %485
%534 = phi i64 [ 0, %485 ], [ %530, %490 ]
br i1 %54, label %554, label %535
535: ; preds = %533
%536 = add nsw i64 %534, %450
%537 = getelementptr inbounds double, double* %9, i64 %536
%538 = bitcast double* %537 to <2 x double>*
%539 = load <2 x double>, <2 x double>* %538
%540 = getelementptr inbounds double, double* %537, i64 2
%541 = bitcast double* %540 to <2 x double>*
%542 = load <2 x double>, <2 x double>* %541
%543 = add nsw i64 %534, %484
%544 = getelementptr inbounds double, double* %19, i64 %543
%545 = bitcast double* %544 to <2 x double>*
%546 = load <2 x double>, <2 x double>* %545
%547 = getelementptr inbounds double, double* %544, i64 2
%548 = bitcast double* %547 to <2 x double>*
%549 = load <2 x double>, <2 x double>* %548
%550 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %539, <2 x double> %487, <2 x double> %546)
%551 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %542, <2 x double> %489, <2 x double> %549)
%552 = bitcast double* %544 to <2 x double>*
store <2 x double> %550, <2 x double>* %552
%553 = bitcast double* %547 to <2 x double>*
store <2 x double> %551, <2 x double>* %553
br label %554
554: ; preds = %533, %535
br i1 %55, label %557, label %555
555: ; preds = %480, %554
%556 = phi i64 [ 0, %480 ], [ %50, %554 ]
br label %564
557: ; preds = %564, %554, %476
%558 = sext i32 %479 to i64
%559 = getelementptr inbounds i32, i32* %14, i64 %558
%560 = load i32, i32* %559
%561 = add nsw i32 %560, 1
store i32 %561, i32* %559
%562 = add nsw i64 %477, 1
%563 = icmp eq i64 %562, %452
br i1 %563, label %330, label %476
564: ; preds = %555, %564
%565 = phi i64 [ %573, %564 ], [ %556, %555 ]
%566 = add nsw i64 %565, %450
%567 = getelementptr inbounds double, double* %9, i64 %566
%568 = load double, double* %567
%569 = add nsw i64 %565, %484
%570 = getelementptr inbounds double, double* %19, i64 %569
%571 = load double, double* %570
%572 = tail call double @llvm.fmuladd.f64(double %568, double %482, double %571)
store double %572, double* %570
%573 = add nuw nsw i64 %565, 1
%574 = icmp eq i64 %573, %26
br i1 %574, label %557, label %564
575: ; preds = %330, %89, %20, %56, %10
tail call void @free(i8* %13)
tail call void @free(i8* %18)
ret i32 0
}