int ls_cost_nm4_f0(const double **arg, double **res, int *iw, double *w,
                   int mem) {
  double a0 = arg[0] ? arg[0][0] : 0;
  if (res[0] != 0)
    res[0][0] = a0;
  a0 = arg[0] ? arg[0][1] : 0;
  if (res[0] != 0)
    res[0][1] = a0;
  a0 = arg[0] ? arg[0][2] : 0;
  if (res[0] != 0)
    res[0][2] = a0;
  a0 = arg[0] ? arg[0][3] : 0;
  if (res[0] != 0)
    res[0][3] = a0;
  a0 = arg[0] ? arg[0][4] : 0;
  if (res[0] != 0)
    res[0][4] = a0;
  a0 = arg[0] ? arg[0][5] : 0;
  if (res[0] != 0)
    res[0][5] = a0;
  a0 = arg[0] ? arg[0][6] : 0;
  if (res[0] != 0)
    res[0][6] = a0;
  a0 = arg[0] ? arg[0][7] : 0;
  if (res[0] != 0)
    res[0][7] = a0;
  a0 = arg[0] ? arg[0][8] : 0;
  if (res[0] != 0)
    res[0][8] = a0;
  a0 = arg[0] ? arg[0][9] : 0;
  if (res[0] != 0)
    res[0][9] = a0;
  a0 = arg[0] ? arg[0][10] : 0;
  if (res[0] != 0)
    res[0][10] = a0;
  a0 = arg[0] ? arg[0][11] : 0;
  if (res[0] != 0)
    res[0][11] = a0;
  a0 = arg[0] ? arg[0][12] : 0;
  if (res[0] != 0)
    res[0][12] = a0;
  a0 = arg[0] ? arg[0][13] : 0;
  if (res[0] != 0)
    res[0][13] = a0;
  a0 = arg[0] ? arg[0][14] : 0;
  if (res[0] != 0)
    res[0][14] = a0;
  a0 = arg[0] ? arg[0][15] : 0;
  if (res[0] != 0)
    res[0][15] = a0;
  a0 = arg[0] ? arg[0][16] : 0;
  if (res[0] != 0)
    res[0][16] = a0;
  a0 = arg[0] ? arg[0][17] : 0;
  if (res[0] != 0)
    res[0][17] = a0;
  a0 = arg[1] ? arg[1][0] : 0;
  if (res[0] != 0)
    res[0][18] = a0;
  a0 = arg[1] ? arg[1][1] : 0;
  if (res[0] != 0)
    res[0][19] = a0;
  a0 = arg[1] ? arg[1][2] : 0;
  if (res[0] != 0)
    res[0][20] = a0;
  a0 = 1.;
  if (res[1] != 0)
    res[1][0] = a0;
  if (res[1] != 0)
    res[1][1] = a0;
  if (res[1] != 0)
    res[1][2] = a0;
  if (res[1] != 0)
    res[1][3] = a0;
  if (res[1] != 0)
    res[1][4] = a0;
  if (res[1] != 0)
    res[1][5] = a0;
  if (res[1] != 0)
    res[1][6] = a0;
  if (res[1] != 0)
    res[1][7] = a0;
  if (res[1] != 0)
    res[1][8] = a0;
  if (res[1] != 0)
    res[1][9] = a0;
  if (res[1] != 0)
    res[1][10] = a0;
  if (res[1] != 0)
    res[1][11] = a0;
  if (res[1] != 0)
    res[1][12] = a0;
  if (res[1] != 0)
    res[1][13] = a0;
  if (res[1] != 0)
    res[1][14] = a0;
  if (res[1] != 0)
    res[1][15] = a0;
  if (res[1] != 0)
    res[1][16] = a0;
  if (res[1] != 0)
    res[1][17] = a0;
  if (res[1] != 0)
    res[1][18] = a0;
  if (res[1] != 0)
    res[1][19] = a0;
  if (res[1] != 0)
    res[1][20] = a0;
  return 0;
}


x86 assembly (clang, -O0):
<ls_cost_nm4_f0>:
push   %rbp
mov    %rsp,%rbp
sub    $0x58,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8d,-0x24(%rbp)
mov    -0x8(%rbp),%rax
cmpq   $0x0,(%rax)
je     113f <ls_cost_nm4_f0+0x3f>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
jmp    114c <ls_cost_nm4_f0+0x4c>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x38(%rbp)
jmp    114c <ls_cost_nm4_f0+0x4c>
movsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,(%rax)
je     1174 <ls_cost_nm4_f0+0x74>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movsd  %xmm0,(%rax)
mov    -0x8(%rbp),%rax
cmpq   $0x0,(%rax)
je     1198 <ls_cost_nm4_f0+0x98>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
jmp    11a5 <ls_cost_nm4_f0+0xa5>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x40(%rbp)
jmp    11a5 <ls_cost_nm4_f0+0xa5>
movsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,(%rax)
je     11ce <ls_cost_nm4_f0+0xce>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x8(%rbp),%rax
cmpq   $0x0,(%rax)
je     11f2 <ls_cost_nm4_f0+0xf2>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
jmp    11ff <ls_cost_nm4_f0+0xff>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x48(%rbp)
jmp    11ff <ls_cost_nm4_f0+0xff>
movsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,(%rax)
je     1228 <ls_cost_nm4_f0+0x128>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movsd  %xmm0,0x10(%rax)
mov    -0x8(%rbp),%rax
cmpq   $0x0,(%rax)
je     124c <ls_cost_nm4_f0+0x14c>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
jmp    1259 <ls_cost_nm4_f0+0x159>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x50(%rbp)
jmp    1259 <ls_cost_nm4_f0+0x159>
movsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,(%rax)
je     1282 <ls_cost_nm4_f0+0x182>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movsd  %xmm0,0x18(%rax)
mov    -0x8(%rbp),%rax
cmpq   $0x0,(%rax)
je     12a6 <ls_cost_nm4_f0+0x1a6>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
jmp    12b3 <ls_cost_nm4_f0+0x1b3>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x58(%rbp)
jmp    12b3 <ls_cost_nm4_f0+0x1b3>
movsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,(%rax)
je     12dc <ls_cost_nm4_f0+0x1dc>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movsd  %xmm0,0x20(%rax)
mov    -0x8(%rbp),%rax
cmpq   $0x0,(%rax)
je     1300 <ls_cost_nm4_f0+0x200>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
jmp    130d <ls_cost_nm4_f0+0x20d>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x60(%rbp)
jmp    130d <ls_cost_nm4_f0+0x20d>
movsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,(%rax)
je     1336 <ls_cost_nm4_f0+0x236>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movsd  %xmm0,0x28(%rax)
mov    -0x8(%rbp),%rax
cmpq   $0x0,(%rax)
je     135a <ls_cost_nm4_f0+0x25a>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movsd  0x30(%rax),%xmm0
movsd  %xmm0,-0x68(%rbp)
jmp    1367 <ls_cost_nm4_f0+0x267>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x68(%rbp)
jmp    1367 <ls_cost_nm4_f0+0x267>
movsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,(%rax)
je     1390 <ls_cost_nm4_f0+0x290>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movsd  %xmm0,0x30(%rax)
mov    -0x8(%rbp),%rax
cmpq   $0x0,(%rax)
je     13b4 <ls_cost_nm4_f0+0x2b4>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movsd  0x38(%rax),%xmm0
movsd  %xmm0,-0x70(%rbp)
jmp    13c1 <ls_cost_nm4_f0+0x2c1>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x70(%rbp)
jmp    13c1 <ls_cost_nm4_f0+0x2c1>
movsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,(%rax)
je     13ea <ls_cost_nm4_f0+0x2ea>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movsd  %xmm0,0x38(%rax)
mov    -0x8(%rbp),%rax
cmpq   $0x0,(%rax)
je     140e <ls_cost_nm4_f0+0x30e>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movsd  0x40(%rax),%xmm0
movsd  %xmm0,-0x78(%rbp)
jmp    141b <ls_cost_nm4_f0+0x31b>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x78(%rbp)
jmp    141b <ls_cost_nm4_f0+0x31b>
movsd  -0x78(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,(%rax)
je     1444 <ls_cost_nm4_f0+0x344>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movsd  %xmm0,0x40(%rax)
mov    -0x8(%rbp),%rax
cmpq   $0x0,(%rax)
je     1468 <ls_cost_nm4_f0+0x368>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movsd  0x48(%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
jmp    1475 <ls_cost_nm4_f0+0x375>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x80(%rbp)
jmp    1475 <ls_cost_nm4_f0+0x375>
movsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,(%rax)
je     149e <ls_cost_nm4_f0+0x39e>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movsd  %xmm0,0x48(%rax)
mov    -0x8(%rbp),%rax
cmpq   $0x0,(%rax)
je     14c5 <ls_cost_nm4_f0+0x3c5>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movsd  0x50(%rax),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
jmp    14d5 <ls_cost_nm4_f0+0x3d5>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
jmp    14d5 <ls_cost_nm4_f0+0x3d5>
movsd  -0x88(%rbp),%xmm0
ff
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,(%rax)
je     1501 <ls_cost_nm4_f0+0x401>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movsd  %xmm0,0x50(%rax)
mov    -0x8(%rbp),%rax
cmpq   $0x0,(%rax)
je     1528 <ls_cost_nm4_f0+0x428>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movsd  0x58(%rax),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
jmp    1538 <ls_cost_nm4_f0+0x438>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
jmp    1538 <ls_cost_nm4_f0+0x438>
movsd  -0x90(%rbp),%xmm0
ff
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,(%rax)
je     1564 <ls_cost_nm4_f0+0x464>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movsd  %xmm0,0x58(%rax)
mov    -0x8(%rbp),%rax
cmpq   $0x0,(%rax)
je     158b <ls_cost_nm4_f0+0x48b>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movsd  0x60(%rax),%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
jmp    159b <ls_cost_nm4_f0+0x49b>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
jmp    159b <ls_cost_nm4_f0+0x49b>
movsd  -0x98(%rbp),%xmm0
ff
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,(%rax)
je     15c7 <ls_cost_nm4_f0+0x4c7>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movsd  %xmm0,0x60(%rax)
mov    -0x8(%rbp),%rax
cmpq   $0x0,(%rax)
je     15ee <ls_cost_nm4_f0+0x4ee>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movsd  0x68(%rax),%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
jmp    15fe <ls_cost_nm4_f0+0x4fe>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
jmp    15fe <ls_cost_nm4_f0+0x4fe>
movsd  -0xa0(%rbp),%xmm0
ff
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,(%rax)
je     162a <ls_cost_nm4_f0+0x52a>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movsd  %xmm0,0x68(%rax)
mov    -0x8(%rbp),%rax
cmpq   $0x0,(%rax)
je     1651 <ls_cost_nm4_f0+0x551>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movsd  0x70(%rax),%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
jmp    1661 <ls_cost_nm4_f0+0x561>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
jmp    1661 <ls_cost_nm4_f0+0x561>
movsd  -0xa8(%rbp),%xmm0
ff
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,(%rax)
je     168d <ls_cost_nm4_f0+0x58d>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movsd  %xmm0,0x70(%rax)
mov    -0x8(%rbp),%rax
cmpq   $0x0,(%rax)
je     16b4 <ls_cost_nm4_f0+0x5b4>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movsd  0x78(%rax),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
jmp    16c4 <ls_cost_nm4_f0+0x5c4>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
jmp    16c4 <ls_cost_nm4_f0+0x5c4>
movsd  -0xb0(%rbp),%xmm0
ff
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,(%rax)
je     16f0 <ls_cost_nm4_f0+0x5f0>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movsd  %xmm0,0x78(%rax)
mov    -0x8(%rbp),%rax
cmpq   $0x0,(%rax)
je     171a <ls_cost_nm4_f0+0x61a>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movsd  0x80(%rax),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
jmp    172a <ls_cost_nm4_f0+0x62a>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
jmp    172a <ls_cost_nm4_f0+0x62a>
movsd  -0xb8(%rbp),%xmm0
ff
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,(%rax)
je     1759 <ls_cost_nm4_f0+0x659>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movsd  %xmm0,0x80(%rax)
mov    -0x8(%rbp),%rax
cmpq   $0x0,(%rax)
je     1783 <ls_cost_nm4_f0+0x683>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movsd  0x88(%rax),%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
jmp    1793 <ls_cost_nm4_f0+0x693>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
jmp    1793 <ls_cost_nm4_f0+0x693>
movsd  -0xc0(%rbp),%xmm0
ff
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,(%rax)
je     17c2 <ls_cost_nm4_f0+0x6c2>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movsd  %xmm0,0x88(%rax)
mov    -0x8(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     17ea <ls_cost_nm4_f0+0x6ea>
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
jmp    17fa <ls_cost_nm4_f0+0x6fa>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
jmp    17fa <ls_cost_nm4_f0+0x6fa>
movsd  -0xc8(%rbp),%xmm0
ff
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,(%rax)
je     1829 <ls_cost_nm4_f0+0x729>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movsd  %xmm0,0x90(%rax)
mov    -0x8(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     1852 <ls_cost_nm4_f0+0x752>
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
jmp    1862 <ls_cost_nm4_f0+0x762>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
jmp    1862 <ls_cost_nm4_f0+0x762>
movsd  -0xd0(%rbp),%xmm0
ff
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,(%rax)
je     1891 <ls_cost_nm4_f0+0x791>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movsd  %xmm0,0x98(%rax)
mov    -0x8(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     18ba <ls_cost_nm4_f0+0x7ba>
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
jmp    18ca <ls_cost_nm4_f0+0x7ca>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
jmp    18ca <ls_cost_nm4_f0+0x7ca>
movsd  -0xd8(%rbp),%xmm0
ff
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,(%rax)
je     18f9 <ls_cost_nm4_f0+0x7f9>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movsd  %xmm0,0xa0(%rax)
movsd  0x6ff(%rip),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     1926 <ls_cost_nm4_f0+0x826>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsd  %xmm0,(%rax)
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     1947 <ls_cost_nm4_f0+0x847>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     1968 <ls_cost_nm4_f0+0x868>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsd  %xmm0,0x10(%rax)
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     1989 <ls_cost_nm4_f0+0x889>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsd  %xmm0,0x18(%rax)
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     19aa <ls_cost_nm4_f0+0x8aa>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsd  %xmm0,0x20(%rax)
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     19cb <ls_cost_nm4_f0+0x8cb>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsd  %xmm0,0x28(%rax)
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     19ec <ls_cost_nm4_f0+0x8ec>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsd  %xmm0,0x30(%rax)
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     1a0d <ls_cost_nm4_f0+0x90d>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsd  %xmm0,0x38(%rax)
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     1a2e <ls_cost_nm4_f0+0x92e>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsd  %xmm0,0x40(%rax)
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     1a4f <ls_cost_nm4_f0+0x94f>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsd  %xmm0,0x48(%rax)
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     1a70 <ls_cost_nm4_f0+0x970>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsd  %xmm0,0x50(%rax)
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     1a91 <ls_cost_nm4_f0+0x991>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsd  %xmm0,0x58(%rax)
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     1ab2 <ls_cost_nm4_f0+0x9b2>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsd  %xmm0,0x60(%rax)
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     1ad3 <ls_cost_nm4_f0+0x9d3>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsd  %xmm0,0x68(%rax)
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     1af4 <ls_cost_nm4_f0+0x9f4>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsd  %xmm0,0x70(%rax)
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     1b15 <ls_cost_nm4_f0+0xa15>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsd  %xmm0,0x78(%rax)
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     1b39 <ls_cost_nm4_f0+0xa39>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsd  %xmm0,0x80(%rax)
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     1b5d <ls_cost_nm4_f0+0xa5d>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsd  %xmm0,0x88(%rax)
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     1b81 <ls_cost_nm4_f0+0xa81>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsd  %xmm0,0x90(%rax)
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     1ba5 <ls_cost_nm4_f0+0xaa5>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsd  %xmm0,0x98(%rax)
mov    -0x10(%rbp),%rax
cmpq   $0x0,0x8(%rax)
je     1bc9 <ls_cost_nm4_f0+0xac9>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
movsd  %xmm0,0xa0(%rax)
xor    %eax,%eax
add    $0x58,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ls_cost_nm4_f0>:
mov    (%rdi),%rcx
test   %rcx,%rcx
je     110e <ls_cost_nm4_f0+0xe>
movsd  (%rcx),%xmm0
jmp    1111 <ls_cost_nm4_f0+0x11>
xorps  %xmm0,%xmm0
mov    (%rsi),%rax
test   %rax,%rax
je     111d <ls_cost_nm4_f0+0x1d>
movsd  %xmm0,(%rax)
test   %rcx,%rcx
je     1366 <ls_cost_nm4_f0+0x266>
movsd  0x8(%rcx),%xmm0
test   %rax,%rax
je     1135 <ls_cost_nm4_f0+0x35>
movsd  %xmm0,0x8(%rax)
test   %rcx,%rcx
je     1377 <ls_cost_nm4_f0+0x277>
movsd  0x10(%rcx),%xmm0
test   %rax,%rax
je     114d <ls_cost_nm4_f0+0x4d>
movsd  %xmm0,0x10(%rax)
test   %rcx,%rcx
je     1388 <ls_cost_nm4_f0+0x288>
movsd  0x18(%rcx),%xmm0
test   %rax,%rax
je     1165 <ls_cost_nm4_f0+0x65>
movsd  %xmm0,0x18(%rax)
test   %rcx,%rcx
je     1399 <ls_cost_nm4_f0+0x299>
movsd  0x20(%rcx),%xmm0
test   %rax,%rax
je     117d <ls_cost_nm4_f0+0x7d>
movsd  %xmm0,0x20(%rax)
test   %rcx,%rcx
je     13aa <ls_cost_nm4_f0+0x2aa>
movsd  0x28(%rcx),%xmm0
test   %rax,%rax
je     1195 <ls_cost_nm4_f0+0x95>
movsd  %xmm0,0x28(%rax)
test   %rcx,%rcx
je     13bb <ls_cost_nm4_f0+0x2bb>
movsd  0x30(%rcx),%xmm0
test   %rax,%rax
je     11ad <ls_cost_nm4_f0+0xad>
movsd  %xmm0,0x30(%rax)
test   %rcx,%rcx
je     13cc <ls_cost_nm4_f0+0x2cc>
movsd  0x38(%rcx),%xmm0
test   %rax,%rax
je     11c5 <ls_cost_nm4_f0+0xc5>
movsd  %xmm0,0x38(%rax)
test   %rcx,%rcx
je     13dd <ls_cost_nm4_f0+0x2dd>
movsd  0x40(%rcx),%xmm0
test   %rax,%rax
je     11dd <ls_cost_nm4_f0+0xdd>
movsd  %xmm0,0x40(%rax)
test   %rcx,%rcx
je     13ee <ls_cost_nm4_f0+0x2ee>
movsd  0x48(%rcx),%xmm0
test   %rax,%rax
je     11f5 <ls_cost_nm4_f0+0xf5>
movsd  %xmm0,0x48(%rax)
test   %rcx,%rcx
je     13ff <ls_cost_nm4_f0+0x2ff>
movsd  0x50(%rcx),%xmm0
test   %rax,%rax
je     120d <ls_cost_nm4_f0+0x10d>
movsd  %xmm0,0x50(%rax)
test   %rcx,%rcx
je     1410 <ls_cost_nm4_f0+0x310>
movsd  0x58(%rcx),%xmm0
test   %rax,%rax
je     1225 <ls_cost_nm4_f0+0x125>
movsd  %xmm0,0x58(%rax)
test   %rcx,%rcx
je     1421 <ls_cost_nm4_f0+0x321>
movsd  0x60(%rcx),%xmm0
test   %rax,%rax
je     123d <ls_cost_nm4_f0+0x13d>
movsd  %xmm0,0x60(%rax)
test   %rcx,%rcx
je     1432 <ls_cost_nm4_f0+0x332>
movsd  0x68(%rcx),%xmm0
test   %rax,%rax
je     1255 <ls_cost_nm4_f0+0x155>
movsd  %xmm0,0x68(%rax)
test   %rcx,%rcx
je     1443 <ls_cost_nm4_f0+0x343>
movsd  0x70(%rcx),%xmm0
test   %rax,%rax
je     126d <ls_cost_nm4_f0+0x16d>
movsd  %xmm0,0x70(%rax)
test   %rcx,%rcx
je     1454 <ls_cost_nm4_f0+0x354>
movsd  0x78(%rcx),%xmm0
test   %rax,%rax
je     1285 <ls_cost_nm4_f0+0x185>
movsd  %xmm0,0x78(%rax)
test   %rcx,%rcx
je     1465 <ls_cost_nm4_f0+0x365>
movsd  0x80(%rcx),%xmm0
test   %rax,%rax
je     12a3 <ls_cost_nm4_f0+0x1a3>
movsd  %xmm0,0x80(%rax)
test   %rcx,%rcx
je     1476 <ls_cost_nm4_f0+0x376>
movsd  0x88(%rcx),%xmm0
test   %rax,%rax
je     12c1 <ls_cost_nm4_f0+0x1c1>
movsd  %xmm0,0x88(%rax)
mov    0x8(%rdi),%rcx
test   %rcx,%rcx
je     1487 <ls_cost_nm4_f0+0x387>
movsd  (%rcx),%xmm0
test   %rax,%rax
je     12df <ls_cost_nm4_f0+0x1df>
movsd  %xmm0,0x90(%rax)
test   %rcx,%rcx
je     1498 <ls_cost_nm4_f0+0x398>
movsd  0x8(%rcx),%xmm0
test   %rax,%rax
je     12fa <ls_cost_nm4_f0+0x1fa>
movsd  %xmm0,0x98(%rax)
test   %rcx,%rcx
je     14a9 <ls_cost_nm4_f0+0x3a9>
movsd  0x10(%rcx),%xmm0
test   %rax,%rax
je     1315 <ls_cost_nm4_f0+0x215>
movsd  %xmm0,0xa0(%rax)
mov    0x8(%rsi),%rax
test   %rax,%rax
je     1363 <ls_cost_nm4_f0+0x263>
movaps 0xcdb(%rip),%xmm0
movups %xmm0,(%rax)
movups %xmm0,0x10(%rax)
movups %xmm0,0x20(%rax)
movups %xmm0,0x30(%rax)
movups %xmm0,0x40(%rax)
movups %xmm0,0x50(%rax)
movups %xmm0,0x60(%rax)
movups %xmm0,0x70(%rax)
movups %xmm0,0x80(%rax)
movups %xmm0,0x90(%rax)
movabs $0x3ff0000000000000,%rcx
mov    %rcx,0xa0(%rax)
xor    %eax,%eax
ret
xorps  %xmm0,%xmm0
test   %rax,%rax
jne    1130 <ls_cost_nm4_f0+0x30>
jmp    1135 <ls_cost_nm4_f0+0x35>
xorps  %xmm0,%xmm0
test   %rax,%rax
jne    1148 <ls_cost_nm4_f0+0x48>
jmp    114d <ls_cost_nm4_f0+0x4d>
xorps  %xmm0,%xmm0
test   %rax,%rax
jne    1160 <ls_cost_nm4_f0+0x60>
jmp    1165 <ls_cost_nm4_f0+0x65>
xorps  %xmm0,%xmm0
test   %rax,%rax
jne    1178 <ls_cost_nm4_f0+0x78>
jmp    117d <ls_cost_nm4_f0+0x7d>
xorps  %xmm0,%xmm0
test   %rax,%rax
jne    1190 <ls_cost_nm4_f0+0x90>
jmp    1195 <ls_cost_nm4_f0+0x95>
xorps  %xmm0,%xmm0
test   %rax,%rax
jne    11a8 <ls_cost_nm4_f0+0xa8>
jmp    11ad <ls_cost_nm4_f0+0xad>
xorps  %xmm0,%xmm0
test   %rax,%rax
jne    11c0 <ls_cost_nm4_f0+0xc0>
jmp    11c5 <ls_cost_nm4_f0+0xc5>
xorps  %xmm0,%xmm0
test   %rax,%rax
jne    11d8 <ls_cost_nm4_f0+0xd8>
jmp    11dd <ls_cost_nm4_f0+0xdd>
xorps  %xmm0,%xmm0
test   %rax,%rax
jne    11f0 <ls_cost_nm4_f0+0xf0>
jmp    11f5 <ls_cost_nm4_f0+0xf5>
xorps  %xmm0,%xmm0
test   %rax,%rax
jne    1208 <ls_cost_nm4_f0+0x108>
jmp    120d <ls_cost_nm4_f0+0x10d>
xorps  %xmm0,%xmm0
test   %rax,%rax
jne    1220 <ls_cost_nm4_f0+0x120>
jmp    1225 <ls_cost_nm4_f0+0x125>
xorps  %xmm0,%xmm0
test   %rax,%rax
jne    1238 <ls_cost_nm4_f0+0x138>
jmp    123d <ls_cost_nm4_f0+0x13d>
xorps  %xmm0,%xmm0
test   %rax,%rax
jne    1250 <ls_cost_nm4_f0+0x150>
jmp    1255 <ls_cost_nm4_f0+0x155>
xorps  %xmm0,%xmm0
test   %rax,%rax
jne    1268 <ls_cost_nm4_f0+0x168>
jmp    126d <ls_cost_nm4_f0+0x16d>
xorps  %xmm0,%xmm0
test   %rax,%rax
jne    1280 <ls_cost_nm4_f0+0x180>
jmp    1285 <ls_cost_nm4_f0+0x185>
xorps  %xmm0,%xmm0
test   %rax,%rax
jne    129b <ls_cost_nm4_f0+0x19b>
jmp    12a3 <ls_cost_nm4_f0+0x1a3>
xorps  %xmm0,%xmm0
test   %rax,%rax
jne    12b9 <ls_cost_nm4_f0+0x1b9>
jmp    12c1 <ls_cost_nm4_f0+0x1c1>
xorps  %xmm0,%xmm0
test   %rax,%rax
jne    12d7 <ls_cost_nm4_f0+0x1d7>
jmp    12df <ls_cost_nm4_f0+0x1df>
xorps  %xmm0,%xmm0
test   %rax,%rax
jne    12f2 <ls_cost_nm4_f0+0x1f2>
jmp    12fa <ls_cost_nm4_f0+0x1fa>
xorps  %xmm0,%xmm0
test   %rax,%rax
jne    130d <ls_cost_nm4_f0+0x20d>
jmp    1315 <ls_cost_nm4_f0+0x215>

LLVM IR (-O0):
define i32 @ls_cost_nm4_f0(double** %0, double** %1, i32* %2, double* %3, i32 %4) {
%6 = alloca double**
%7 = alloca double**
%8 = alloca i32*
%9 = alloca double*
%10 = alloca i32
%11 = alloca double
store double** %0, double*** %6
store double** %1, double*** %7
store i32* %2, i32** %8
store double* %3, double** %9
store i32 %4, i32* %10
%12 = load double**, double*** %6
%13 = getelementptr inbounds double*, double** %12, i64 0
%14 = load double*, double** %13
%15 = icmp ne double* %14, null
br i1 %15, label %16, label %22
16: ; preds = %5
%17 = load double**, double*** %6
%18 = getelementptr inbounds double*, double** %17, i64 0
%19 = load double*, double** %18
%20 = getelementptr inbounds double, double* %19, i64 0
%21 = load double, double* %20
br label %23
22: ; preds = %5
br label %23
23: ; preds = %22, %16
%24 = phi double [ %21, %16 ], [ 0.000000e+00, %22 ]
store double %24, double* %11
%25 = load double**, double*** %7
%26 = getelementptr inbounds double*, double** %25, i64 0
%27 = load double*, double** %26
%28 = icmp ne double* %27, null
br i1 %28, label %29, label %35
29: ; preds = %23
%30 = load double, double* %11
%31 = load double**, double*** %7
%32 = getelementptr inbounds double*, double** %31, i64 0
%33 = load double*, double** %32
%34 = getelementptr inbounds double, double* %33, i64 0
store double %30, double* %34
br label %35
35: ; preds = %29, %23
%36 = load double**, double*** %6
%37 = getelementptr inbounds double*, double** %36, i64 0
%38 = load double*, double** %37
%39 = icmp ne double* %38, null
br i1 %39, label %40, label %46
40: ; preds = %35
%41 = load double**, double*** %6
%42 = getelementptr inbounds double*, double** %41, i64 0
%43 = load double*, double** %42
%44 = getelementptr inbounds double, double* %43, i64 1
%45 = load double, double* %44
br label %47
46: ; preds = %35
br label %47
47: ; preds = %46, %40
%48 = phi double [ %45, %40 ], [ 0.000000e+00, %46 ]
store double %48, double* %11
%49 = load double**, double*** %7
%50 = getelementptr inbounds double*, double** %49, i64 0
%51 = load double*, double** %50
%52 = icmp ne double* %51, null
br i1 %52, label %53, label %59
53: ; preds = %47
%54 = load double, double* %11
%55 = load double**, double*** %7
%56 = getelementptr inbounds double*, double** %55, i64 0
%57 = load double*, double** %56
%58 = getelementptr inbounds double, double* %57, i64 1
store double %54, double* %58
br label %59
59: ; preds = %53, %47
%60 = load double**, double*** %6
%61 = getelementptr inbounds double*, double** %60, i64 0
%62 = load double*, double** %61
%63 = icmp ne double* %62, null
br i1 %63, label %64, label %70
64: ; preds = %59
%65 = load double**, double*** %6
%66 = getelementptr inbounds double*, double** %65, i64 0
%67 = load double*, double** %66
%68 = getelementptr inbounds double, double* %67, i64 2
%69 = load double, double* %68
br label %71
70: ; preds = %59
br label %71
71: ; preds = %70, %64
%72 = phi double [ %69, %64 ], [ 0.000000e+00, %70 ]
store double %72, double* %11
%73 = load double**, double*** %7
%74 = getelementptr inbounds double*, double** %73, i64 0
%75 = load double*, double** %74
%76 = icmp ne double* %75, null
br i1 %76, label %77, label %83
77: ; preds = %71
%78 = load double, double* %11
%79 = load double**, double*** %7
%80 = getelementptr inbounds double*, double** %79, i64 0
%81 = load double*, double** %80
%82 = getelementptr inbounds double, double* %81, i64 2
store double %78, double* %82
br label %83
83: ; preds = %77, %71
%84 = load double**, double*** %6
%85 = getelementptr inbounds double*, double** %84, i64 0
%86 = load double*, double** %85
%87 = icmp ne double* %86, null
br i1 %87, label %88, label %94
88: ; preds = %83
%89 = load double**, double*** %6
%90 = getelementptr inbounds double*, double** %89, i64 0
%91 = load double*, double** %90
%92 = getelementptr inbounds double, double* %91, i64 3
%93 = load double, double* %92
br label %95
94: ; preds = %83
br label %95
95: ; preds = %94, %88
%96 = phi double [ %93, %88 ], [ 0.000000e+00, %94 ]
store double %96, double* %11
%97 = load double**, double*** %7
%98 = getelementptr inbounds double*, double** %97, i64 0
%99 = load double*, double** %98
%100 = icmp ne double* %99, null
br i1 %100, label %101, label %107
101: ; preds = %95
%102 = load double, double* %11
%103 = load double**, double*** %7
%104 = getelementptr inbounds double*, double** %103, i64 0
%105 = load double*, double** %104
%106 = getelementptr inbounds double, double* %105, i64 3
store double %102, double* %106
br label %107
107: ; preds = %101, %95
%108 = load double**, double*** %6
%109 = getelementptr inbounds double*, double** %108, i64 0
%110 = load double*, double** %109
%111 = icmp ne double* %110, null
br i1 %111, label %112, label %118
112: ; preds = %107
%113 = load double**, double*** %6
%114 = getelementptr inbounds double*, double** %113, i64 0
%115 = load double*, double** %114
%116 = getelementptr inbounds double, double* %115, i64 4
%117 = load double, double* %116
br label %119
118: ; preds = %107
br label %119
119: ; preds = %118, %112
%120 = phi double [ %117, %112 ], [ 0.000000e+00, %118 ]
store double %120, double* %11
%121 = load double**, double*** %7
%122 = getelementptr inbounds double*, double** %121, i64 0
%123 = load double*, double** %122
%124 = icmp ne double* %123, null
br i1 %124, label %125, label %131
125: ; preds = %119
%126 = load double, double* %11
%127 = load double**, double*** %7
%128 = getelementptr inbounds double*, double** %127, i64 0
%129 = load double*, double** %128
%130 = getelementptr inbounds double, double* %129, i64 4
store double %126, double* %130
br label %131
131: ; preds = %125, %119
%132 = load double**, double*** %6
%133 = getelementptr inbounds double*, double** %132, i64 0
%134 = load double*, double** %133
%135 = icmp ne double* %134, null
br i1 %135, label %136, label %142
136: ; preds = %131
%137 = load double**, double*** %6
%138 = getelementptr inbounds double*, double** %137, i64 0
%139 = load double*, double** %138
%140 = getelementptr inbounds double, double* %139, i64 5
%141 = load double, double* %140
br label %143
142: ; preds = %131
br label %143
143: ; preds = %142, %136
%144 = phi double [ %141, %136 ], [ 0.000000e+00, %142 ]
store double %144, double* %11
%145 = load double**, double*** %7
%146 = getelementptr inbounds double*, double** %145, i64 0
%147 = load double*, double** %146
%148 = icmp ne double* %147, null
br i1 %148, label %149, label %155
149: ; preds = %143
%150 = load double, double* %11
%151 = load double**, double*** %7
%152 = getelementptr inbounds double*, double** %151, i64 0
%153 = load double*, double** %152
%154 = getelementptr inbounds double, double* %153, i64 5
store double %150, double* %154
br label %155
155: ; preds = %149, %143
%156 = load double**, double*** %6
%157 = getelementptr inbounds double*, double** %156, i64 0
%158 = load double*, double** %157
%159 = icmp ne double* %158, null
br i1 %159, label %160, label %166
160: ; preds = %155
%161 = load double**, double*** %6
%162 = getelementptr inbounds double*, double** %161, i64 0
%163 = load double*, double** %162
%164 = getelementptr inbounds double, double* %163, i64 6
%165 = load double, double* %164
br label %167
166: ; preds = %155
br label %167
167: ; preds = %166, %160
%168 = phi double [ %165, %160 ], [ 0.000000e+00, %166 ]
store double %168, double* %11
%169 = load double**, double*** %7
%170 = getelementptr inbounds double*, double** %169, i64 0
%171 = load double*, double** %170
%172 = icmp ne double* %171, null
br i1 %172, label %173, label %179
173: ; preds = %167
%174 = load double, double* %11
%175 = load double**, double*** %7
%176 = getelementptr inbounds double*, double** %175, i64 0
%177 = load double*, double** %176
%178 = getelementptr inbounds double, double* %177, i64 6
store double %174, double* %178
br label %179
179: ; preds = %173, %167
%180 = load double**, double*** %6
%181 = getelementptr inbounds double*, double** %180, i64 0
%182 = load double*, double** %181
%183 = icmp ne double* %182, null
br i1 %183, label %184, label %190
184: ; preds = %179
%185 = load double**, double*** %6
%186 = getelementptr inbounds double*, double** %185, i64 0
%187 = load double*, double** %186
%188 = getelementptr inbounds double, double* %187, i64 7
%189 = load double, double* %188
br label %191
190: ; preds = %179
br label %191
191: ; preds = %190, %184
%192 = phi double [ %189, %184 ], [ 0.000000e+00, %190 ]
store double %192, double* %11
%193 = load double**, double*** %7
%194 = getelementptr inbounds double*, double** %193, i64 0
%195 = load double*, double** %194
%196 = icmp ne double* %195, null
br i1 %196, label %197, label %203
197: ; preds = %191
%198 = load double, double* %11
%199 = load double**, double*** %7
%200 = getelementptr inbounds double*, double** %199, i64 0
%201 = load double*, double** %200
%202 = getelementptr inbounds double, double* %201, i64 7
store double %198, double* %202
br label %203
203: ; preds = %197, %191
%204 = load double**, double*** %6
%205 = getelementptr inbounds double*, double** %204, i64 0
%206 = load double*, double** %205
%207 = icmp ne double* %206, null
br i1 %207, label %208, label %214
208: ; preds = %203
%209 = load double**, double*** %6
%210 = getelementptr inbounds double*, double** %209, i64 0
%211 = load double*, double** %210
%212 = getelementptr inbounds double, double* %211, i64 8
%213 = load double, double* %212
br label %215
214: ; preds = %203
br label %215
215: ; preds = %214, %208
%216 = phi double [ %213, %208 ], [ 0.000000e+00, %214 ]
store double %216, double* %11
%217 = load double**, double*** %7
%218 = getelementptr inbounds double*, double** %217, i64 0
%219 = load double*, double** %218
%220 = icmp ne double* %219, null
br i1 %220, label %221, label %227
221: ; preds = %215
%222 = load double, double* %11
%223 = load double**, double*** %7
%224 = getelementptr inbounds double*, double** %223, i64 0
%225 = load double*, double** %224
%226 = getelementptr inbounds double, double* %225, i64 8
store double %222, double* %226
br label %227
227: ; preds = %221, %215
%228 = load double**, double*** %6
%229 = getelementptr inbounds double*, double** %228, i64 0
%230 = load double*, double** %229
%231 = icmp ne double* %230, null
br i1 %231, label %232, label %238
232: ; preds = %227
%233 = load double**, double*** %6
%234 = getelementptr inbounds double*, double** %233, i64 0
%235 = load double*, double** %234
%236 = getelementptr inbounds double, double* %235, i64 9
%237 = load double, double* %236
br label %239
238: ; preds = %227
br label %239
239: ; preds = %238, %232
%240 = phi double [ %237, %232 ], [ 0.000000e+00, %238 ]
store double %240, double* %11
%241 = load double**, double*** %7
%242 = getelementptr inbounds double*, double** %241, i64 0
%243 = load double*, double** %242
%244 = icmp ne double* %243, null
br i1 %244, label %245, label %251
245: ; preds = %239
%246 = load double, double* %11
%247 = load double**, double*** %7
%248 = getelementptr inbounds double*, double** %247, i64 0
%249 = load double*, double** %248
%250 = getelementptr inbounds double, double* %249, i64 9
store double %246, double* %250
br label %251
251: ; preds = %245, %239
%252 = load double**, double*** %6
%253 = getelementptr inbounds double*, double** %252, i64 0
%254 = load double*, double** %253
%255 = icmp ne double* %254, null
br i1 %255, label %256, label %262
256: ; preds = %251
%257 = load double**, double*** %6
%258 = getelementptr inbounds double*, double** %257, i64 0
%259 = load double*, double** %258
%260 = getelementptr inbounds double, double* %259, i64 10
%261 = load double, double* %260
br label %263
262: ; preds = %251
br label %263
263: ; preds = %262, %256
%264 = phi double [ %261, %256 ], [ 0.000000e+00, %262 ]
store double %264, double* %11
%265 = load double**, double*** %7
%266 = getelementptr inbounds double*, double** %265, i64 0
%267 = load double*, double** %266
%268 = icmp ne double* %267, null
br i1 %268, label %269, label %275
269: ; preds = %263
%270 = load double, double* %11
%271 = load double**, double*** %7
%272 = getelementptr inbounds double*, double** %271, i64 0
%273 = load double*, double** %272
%274 = getelementptr inbounds double, double* %273, i64 10
store double %270, double* %274
br label %275
275: ; preds = %269, %263
%276 = load double**, double*** %6
%277 = getelementptr inbounds double*, double** %276, i64 0
%278 = load double*, double** %277
%279 = icmp ne double* %278, null
br i1 %279, label %280, label %286
280: ; preds = %275
%281 = load double**, double*** %6
%282 = getelementptr inbounds double*, double** %281, i64 0
%283 = load double*, double** %282
%284 = getelementptr inbounds double, double* %283, i64 11
%285 = load double, double* %284
br label %287
286: ; preds = %275
br label %287
287: ; preds = %286, %280
%288 = phi double [ %285, %280 ], [ 0.000000e+00, %286 ]
store double %288, double* %11
%289 = load double**, double*** %7
%290 = getelementptr inbounds double*, double** %289, i64 0
%291 = load double*, double** %290
%292 = icmp ne double* %291, null
br i1 %292, label %293, label %299
293: ; preds = %287
%294 = load double, double* %11
%295 = load double**, double*** %7
%296 = getelementptr inbounds double*, double** %295, i64 0
%297 = load double*, double** %296
%298 = getelementptr inbounds double, double* %297, i64 11
store double %294, double* %298
br label %299
299: ; preds = %293, %287
%300 = load double**, double*** %6
%301 = getelementptr inbounds double*, double** %300, i64 0
%302 = load double*, double** %301
%303 = icmp ne double* %302, null
br i1 %303, label %304, label %310
304: ; preds = %299
%305 = load double**, double*** %6
%306 = getelementptr inbounds double*, double** %305, i64 0
%307 = load double*, double** %306
%308 = getelementptr inbounds double, double* %307, i64 12
%309 = load double, double* %308
br label %311
310: ; preds = %299
br label %311
311: ; preds = %310, %304
%312 = phi double [ %309, %304 ], [ 0.000000e+00, %310 ]
store double %312, double* %11
%313 = load double**, double*** %7
%314 = getelementptr inbounds double*, double** %313, i64 0
%315 = load double*, double** %314
%316 = icmp ne double* %315, null
br i1 %316, label %317, label %323
317: ; preds = %311
%318 = load double, double* %11
%319 = load double**, double*** %7
%320 = getelementptr inbounds double*, double** %319, i64 0
%321 = load double*, double** %320
%322 = getelementptr inbounds double, double* %321, i64 12
store double %318, double* %322
br label %323
323: ; preds = %317, %311
%324 = load double**, double*** %6
%325 = getelementptr inbounds double*, double** %324, i64 0
%326 = load double*, double** %325
%327 = icmp ne double* %326, null
br i1 %327, label %328, label %334
328: ; preds = %323
%329 = load double**, double*** %6
%330 = getelementptr inbounds double*, double** %329, i64 0
%331 = load double*, double** %330
%332 = getelementptr inbounds double, double* %331, i64 13
%333 = load double, double* %332
br label %335
334: ; preds = %323
br label %335
335: ; preds = %334, %328
%336 = phi double [ %333, %328 ], [ 0.000000e+00, %334 ]
store double %336, double* %11
%337 = load double**, double*** %7
%338 = getelementptr inbounds double*, double** %337, i64 0
%339 = load double*, double** %338
%340 = icmp ne double* %339, null
br i1 %340, label %341, label %347
341: ; preds = %335
%342 = load double, double* %11
%343 = load double**, double*** %7
%344 = getelementptr inbounds double*, double** %343, i64 0
%345 = load double*, double** %344
%346 = getelementptr inbounds double, double* %345, i64 13
store double %342, double* %346
br label %347
347: ; preds = %341, %335
%348 = load double**, double*** %6
%349 = getelementptr inbounds double*, double** %348, i64 0
%350 = load double*, double** %349
%351 = icmp ne double* %350, null
br i1 %351, label %352, label %358
352: ; preds = %347
%353 = load double**, double*** %6
%354 = getelementptr inbounds double*, double** %353, i64 0
%355 = load double*, double** %354
%356 = getelementptr inbounds double, double* %355, i64 14
%357 = load double, double* %356
br label %359
358: ; preds = %347
br label %359
359: ; preds = %358, %352
%360 = phi double [ %357, %352 ], [ 0.000000e+00, %358 ]
store double %360, double* %11
%361 = load double**, double*** %7
%362 = getelementptr inbounds double*, double** %361, i64 0
%363 = load double*, double** %362
%364 = icmp ne double* %363, null
br i1 %364, label %365, label %371
365: ; preds = %359
%366 = load double, double* %11
%367 = load double**, double*** %7
%368 = getelementptr inbounds double*, double** %367, i64 0
%369 = load double*, double** %368
%370 = getelementptr inbounds double, double* %369, i64 14
store double %366, double* %370
br label %371
371: ; preds = %365, %359
%372 = load double**, double*** %6
%373 = getelementptr inbounds double*, double** %372, i64 0
%374 = load double*, double** %373
%375 = icmp ne double* %374, null
br i1 %375, label %376, label %382
376: ; preds = %371
%377 = load double**, double*** %6
%378 = getelementptr inbounds double*, double** %377, i64 0
%379 = load double*, double** %378
%380 = getelementptr inbounds double, double* %379, i64 15
%381 = load double, double* %380
br label %383
382: ; preds = %371
br label %383
383: ; preds = %382, %376
%384 = phi double [ %381, %376 ], [ 0.000000e+00, %382 ]
store double %384, double* %11
%385 = load double**, double*** %7
%386 = getelementptr inbounds double*, double** %385, i64 0
%387 = load double*, double** %386
%388 = icmp ne double* %387, null
br i1 %388, label %389, label %395
389: ; preds = %383
%390 = load double, double* %11
%391 = load double**, double*** %7
%392 = getelementptr inbounds double*, double** %391, i64 0
%393 = load double*, double** %392
%394 = getelementptr inbounds double, double* %393, i64 15
store double %390, double* %394
br label %395
395: ; preds = %389, %383
%396 = load double**, double*** %6
%397 = getelementptr inbounds double*, double** %396, i64 0
%398 = load double*, double** %397
%399 = icmp ne double* %398, null
br i1 %399, label %400, label %406
400: ; preds = %395
%401 = load double**, double*** %6
%402 = getelementptr inbounds double*, double** %401, i64 0
%403 = load double*, double** %402
%404 = getelementptr inbounds double, double* %403, i64 16
%405 = load double, double* %404
br label %407
406: ; preds = %395
br label %407
407: ; preds = %406, %400
%408 = phi double [ %405, %400 ], [ 0.000000e+00, %406 ]
store double %408, double* %11
%409 = load double**, double*** %7
%410 = getelementptr inbounds double*, double** %409, i64 0
%411 = load double*, double** %410
%412 = icmp ne double* %411, null
br i1 %412, label %413, label %419
413: ; preds = %407
%414 = load double, double* %11
%415 = load double**, double*** %7
%416 = getelementptr inbounds double*, double** %415, i64 0
%417 = load double*, double** %416
%418 = getelementptr inbounds double, double* %417, i64 16
store double %414, double* %418
br label %419
419: ; preds = %413, %407
%420 = load double**, double*** %6
%421 = getelementptr inbounds double*, double** %420, i64 0
%422 = load double*, double** %421
%423 = icmp ne double* %422, null
br i1 %423, label %424, label %430
424: ; preds = %419
%425 = load double**, double*** %6
%426 = getelementptr inbounds double*, double** %425, i64 0
%427 = load double*, double** %426
%428 = getelementptr inbounds double, double* %427, i64 17
%429 = load double, double* %428
br label %431
430: ; preds = %419
br label %431
431: ; preds = %430, %424
%432 = phi double [ %429, %424 ], [ 0.000000e+00, %430 ]
store double %432, double* %11
%433 = load double**, double*** %7
%434 = getelementptr inbounds double*, double** %433, i64 0
%435 = load double*, double** %434
%436 = icmp ne double* %435, null
br i1 %436, label %437, label %443
437: ; preds = %431
%438 = load double, double* %11
%439 = load double**, double*** %7
%440 = getelementptr inbounds double*, double** %439, i64 0
%441 = load double*, double** %440
%442 = getelementptr inbounds double, double* %441, i64 17
store double %438, double* %442
br label %443
443: ; preds = %437, %431
%444 = load double**, double*** %6
%445 = getelementptr inbounds double*, double** %444, i64 1
%446 = load double*, double** %445
%447 = icmp ne double* %446, null
br i1 %447, label %448, label %454
448: ; preds = %443
%449 = load double**, double*** %6
%450 = getelementptr inbounds double*, double** %449, i64 1
%451 = load double*, double** %450
%452 = getelementptr inbounds double, double* %451, i64 0
%453 = load double, double* %452
br label %455
454: ; preds = %443
br label %455
455: ; preds = %454, %448
%456 = phi double [ %453, %448 ], [ 0.000000e+00, %454 ]
store double %456, double* %11
%457 = load double**, double*** %7
%458 = getelementptr inbounds double*, double** %457, i64 0
%459 = load double*, double** %458
%460 = icmp ne double* %459, null
br i1 %460, label %461, label %467
461: ; preds = %455
%462 = load double, double* %11
%463 = load double**, double*** %7
%464 = getelementptr inbounds double*, double** %463, i64 0
%465 = load double*, double** %464
%466 = getelementptr inbounds double, double* %465, i64 18
store double %462, double* %466
br label %467
467: ; preds = %461, %455
%468 = load double**, double*** %6
%469 = getelementptr inbounds double*, double** %468, i64 1
%470 = load double*, double** %469
%471 = icmp ne double* %470, null
br i1 %471, label %472, label %478
472: ; preds = %467
%473 = load double**, double*** %6
%474 = getelementptr inbounds double*, double** %473, i64 1
%475 = load double*, double** %474
%476 = getelementptr inbounds double, double* %475, i64 1
%477 = load double, double* %476
br label %479
478: ; preds = %467
br label %479
479: ; preds = %478, %472
%480 = phi double [ %477, %472 ], [ 0.000000e+00, %478 ]
store double %480, double* %11
%481 = load double**, double*** %7
%482 = getelementptr inbounds double*, double** %481, i64 0
%483 = load double*, double** %482
%484 = icmp ne double* %483, null
br i1 %484, label %485, label %491
485: ; preds = %479
%486 = load double, double* %11
%487 = load double**, double*** %7
%488 = getelementptr inbounds double*, double** %487, i64 0
%489 = load double*, double** %488
%490 = getelementptr inbounds double, double* %489, i64 19
store double %486, double* %490
br label %491
491: ; preds = %485, %479
%492 = load double**, double*** %6
%493 = getelementptr inbounds double*, double** %492, i64 1
%494 = load double*, double** %493
%495 = icmp ne double* %494, null
br i1 %495, label %496, label %502
496: ; preds = %491
%497 = load double**, double*** %6
%498 = getelementptr inbounds double*, double** %497, i64 1
%499 = load double*, double** %498
%500 = getelementptr inbounds double, double* %499, i64 2
%501 = load double, double* %500
br label %503
502: ; preds = %491
br label %503
503: ; preds = %502, %496
%504 = phi double [ %501, %496 ], [ 0.000000e+00, %502 ]
store double %504, double* %11
%505 = load double**, double*** %7
%506 = getelementptr inbounds double*, double** %505, i64 0
%507 = load double*, double** %506
%508 = icmp ne double* %507, null
br i1 %508, label %509, label %515
509: ; preds = %503
%510 = load double, double* %11
%511 = load double**, double*** %7
%512 = getelementptr inbounds double*, double** %511, i64 0
%513 = load double*, double** %512
%514 = getelementptr inbounds double, double* %513, i64 20
store double %510, double* %514
br label %515
515: ; preds = %509, %503
store double 1.000000e+00, double* %11
%516 = load double**, double*** %7
%517 = getelementptr inbounds double*, double** %516, i64 1
%518 = load double*, double** %517
%519 = icmp ne double* %518, null
br i1 %519, label %520, label %526
520: ; preds = %515
%521 = load double, double* %11
%522 = load double**, double*** %7
%523 = getelementptr inbounds double*, double** %522, i64 1
%524 = load double*, double** %523
%525 = getelementptr inbounds double, double* %524, i64 0
store double %521, double* %525
br label %526
526: ; preds = %520, %515
%527 = load double**, double*** %7
%528 = getelementptr inbounds double*, double** %527, i64 1
%529 = load double*, double** %528
%530 = icmp ne double* %529, null
br i1 %530, label %531, label %537
531: ; preds = %526
%532 = load double, double* %11
%533 = load double**, double*** %7
%534 = getelementptr inbounds double*, double** %533, i64 1
%535 = load double*, double** %534
%536 = getelementptr inbounds double, double* %535, i64 1
store double %532, double* %536
br label %537
537: ; preds = %531, %526
%538 = load double**, double*** %7
%539 = getelementptr inbounds double*, double** %538, i64 1
%540 = load double*, double** %539
%541 = icmp ne double* %540, null
br i1 %541, label %542, label %548
542: ; preds = %537
%543 = load double, double* %11
%544 = load double**, double*** %7
%545 = getelementptr inbounds double*, double** %544, i64 1
%546 = load double*, double** %545
%547 = getelementptr inbounds double, double* %546, i64 2
store double %543, double* %547
br label %548
548: ; preds = %542, %537
%549 = load double**, double*** %7
%550 = getelementptr inbounds double*, double** %549, i64 1
%551 = load double*, double** %550
%552 = icmp ne double* %551, null
br i1 %552, label %553, label %559
553: ; preds = %548
%554 = load double, double* %11
%555 = load double**, double*** %7
%556 = getelementptr inbounds double*, double** %555, i64 1
%557 = load double*, double** %556
%558 = getelementptr inbounds double, double* %557, i64 3
store double %554, double* %558
br label %559
559: ; preds = %553, %548
%560 = load double**, double*** %7
%561 = getelementptr inbounds double*, double** %560, i64 1
%562 = load double*, double** %561
%563 = icmp ne double* %562, null
br i1 %563, label %564, label %570
564: ; preds = %559
%565 = load double, double* %11
%566 = load double**, double*** %7
%567 = getelementptr inbounds double*, double** %566, i64 1
%568 = load double*, double** %567
%569 = getelementptr inbounds double, double* %568, i64 4
store double %565, double* %569
br label %570
570: ; preds = %564, %559
%571 = load double**, double*** %7
%572 = getelementptr inbounds double*, double** %571, i64 1
%573 = load double*, double** %572
%574 = icmp ne double* %573, null
br i1 %574, label %575, label %581
575: ; preds = %570
%576 = load double, double* %11
%577 = load double**, double*** %7
%578 = getelementptr inbounds double*, double** %577, i64 1
%579 = load double*, double** %578
%580 = getelementptr inbounds double, double* %579, i64 5
store double %576, double* %580
br label %581
581: ; preds = %575, %570
%582 = load double**, double*** %7
%583 = getelementptr inbounds double*, double** %582, i64 1
%584 = load double*, double** %583
%585 = icmp ne double* %584, null
br i1 %585, label %586, label %592
586: ; preds = %581
%587 = load double, double* %11
%588 = load double**, double*** %7
%589 = getelementptr inbounds double*, double** %588, i64 1
%590 = load double*, double** %589
%591 = getelementptr inbounds double, double* %590, i64 6
store double %587, double* %591
br label %592
592: ; preds = %586, %581
%593 = load double**, double*** %7
%594 = getelementptr inbounds double*, double** %593, i64 1
%595 = load double*, double** %594
%596 = icmp ne double* %595, null
br i1 %596, label %597, label %603
597: ; preds = %592
%598 = load double, double* %11
%599 = load double**, double*** %7
%600 = getelementptr inbounds double*, double** %599, i64 1
%601 = load double*, double** %600
%602 = getelementptr inbounds double, double* %601, i64 7
store double %598, double* %602
br label %603
603: ; preds = %597, %592
%604 = load double**, double*** %7
%605 = getelementptr inbounds double*, double** %604, i64 1
%606 = load double*, double** %605
%607 = icmp ne double* %606, null
br i1 %607, label %608, label %614
608: ; preds = %603
%609 = load double, double* %11
%610 = load double**, double*** %7
%611 = getelementptr inbounds double*, double** %610, i64 1
%612 = load double*, double** %611
%613 = getelementptr inbounds double, double* %612, i64 8
store double %609, double* %613
br label %614
614: ; preds = %608, %603
%615 = load double**, double*** %7
%616 = getelementptr inbounds double*, double** %615, i64 1
%617 = load double*, double** %616
%618 = icmp ne double* %617, null
br i1 %618, label %619, label %625
619: ; preds = %614
%620 = load double, double* %11
%621 = load double**, double*** %7
%622 = getelementptr inbounds double*, double** %621, i64 1
%623 = load double*, double** %622
%624 = getelementptr inbounds double, double* %623, i64 9
store double %620, double* %624
br label %625
625: ; preds = %619, %614
%626 = load double**, double*** %7
%627 = getelementptr inbounds double*, double** %626, i64 1
%628 = load double*, double** %627
%629 = icmp ne double* %628, null
br i1 %629, label %630, label %636
630: ; preds = %625
%631 = load double, double* %11
%632 = load double**, double*** %7
%633 = getelementptr inbounds double*, double** %632, i64 1
%634 = load double*, double** %633
%635 = getelementptr inbounds double, double* %634, i64 10
store double %631, double* %635
br label %636
636: ; preds = %630, %625
%637 = load double**, double*** %7
%638 = getelementptr inbounds double*, double** %637, i64 1
%639 = load double*, double** %638
%640 = icmp ne double* %639, null
br i1 %640, label %641, label %647
641: ; preds = %636
%642 = load double, double* %11
%643 = load double**, double*** %7
%644 = getelementptr inbounds double*, double** %643, i64 1
%645 = load double*, double** %644
%646 = getelementptr inbounds double, double* %645, i64 11
store double %642, double* %646
br label %647
647: ; preds = %641, %636
%648 = load double**, double*** %7
%649 = getelementptr inbounds double*, double** %648, i64 1
%650 = load double*, double** %649
%651 = icmp ne double* %650, null
br i1 %651, label %652, label %658
652: ; preds = %647
%653 = load double, double* %11
%654 = load double**, double*** %7
%655 = getelementptr inbounds double*, double** %654, i64 1
%656 = load double*, double** %655
%657 = getelementptr inbounds double, double* %656, i64 12
store double %653, double* %657
br label %658
658: ; preds = %652, %647
%659 = load double**, double*** %7
%660 = getelementptr inbounds double*, double** %659, i64 1
%661 = load double*, double** %660
%662 = icmp ne double* %661, null
br i1 %662, label %663, label %669
663: ; preds = %658
%664 = load double, double* %11
%665 = load double**, double*** %7
%666 = getelementptr inbounds double*, double** %665, i64 1
%667 = load double*, double** %666
%668 = getelementptr inbounds double, double* %667, i64 13
store double %664, double* %668
br label %669
669: ; preds = %663, %658
%670 = load double**, double*** %7
%671 = getelementptr inbounds double*, double** %670, i64 1
%672 = load double*, double** %671
%673 = icmp ne double* %672, null
br i1 %673, label %674, label %680
674: ; preds = %669
%675 = load double, double* %11
%676 = load double**, double*** %7
%677 = getelementptr inbounds double*, double** %676, i64 1
%678 = load double*, double** %677
%679 = getelementptr inbounds double, double* %678, i64 14
store double %675, double* %679
br label %680
680: ; preds = %674, %669
%681 = load double**, double*** %7
%682 = getelementptr inbounds double*, double** %681, i64 1
%683 = load double*, double** %682
%684 = icmp ne double* %683, null
br i1 %684, label %685, label %691
685: ; preds = %680
%686 = load double, double* %11
%687 = load double**, double*** %7
%688 = getelementptr inbounds double*, double** %687, i64 1
%689 = load double*, double** %688
%690 = getelementptr inbounds double, double* %689, i64 15
store double %686, double* %690
br label %691
691: ; preds = %685, %680
%692 = load double**, double*** %7
%693 = getelementptr inbounds double*, double** %692, i64 1
%694 = load double*, double** %693
%695 = icmp ne double* %694, null
br i1 %695, label %696, label %702
696: ; preds = %691
%697 = load double, double* %11
%698 = load double**, double*** %7
%699 = getelementptr inbounds double*, double** %698, i64 1
%700 = load double*, double** %699
%701 = getelementptr inbounds double, double* %700, i64 16
store double %697, double* %701
br label %702
702: ; preds = %696, %691
%703 = load double**, double*** %7
%704 = getelementptr inbounds double*, double** %703, i64 1
%705 = load double*, double** %704
%706 = icmp ne double* %705, null
br i1 %706, label %707, label %713
707: ; preds = %702
%708 = load double, double* %11
%709 = load double**, double*** %7
%710 = getelementptr inbounds double*, double** %709, i64 1
%711 = load double*, double** %710
%712 = getelementptr inbounds double, double* %711, i64 17
store double %708, double* %712
br label %713
713: ; preds = %707, %702
%714 = load double**, double*** %7
%715 = getelementptr inbounds double*, double** %714, i64 1
%716 = load double*, double** %715
%717 = icmp ne double* %716, null
br i1 %717, label %718, label %724
718: ; preds = %713
%719 = load double, double* %11
%720 = load double**, double*** %7
%721 = getelementptr inbounds double*, double** %720, i64 1
%722 = load double*, double** %721
%723 = getelementptr inbounds double, double* %722, i64 18
store double %719, double* %723
br label %724
724: ; preds = %718, %713
%725 = load double**, double*** %7
%726 = getelementptr inbounds double*, double** %725, i64 1
%727 = load double*, double** %726
%728 = icmp ne double* %727, null
br i1 %728, label %729, label %735
729: ; preds = %724
%730 = load double, double* %11
%731 = load double**, double*** %7
%732 = getelementptr inbounds double*, double** %731, i64 1
%733 = load double*, double** %732
%734 = getelementptr inbounds double, double* %733, i64 19
store double %730, double* %734
br label %735
735: ; preds = %729, %724
%736 = load double**, double*** %7
%737 = getelementptr inbounds double*, double** %736, i64 1
%738 = load double*, double** %737
%739 = icmp ne double* %738, null
br i1 %739, label %740, label %746
740: ; preds = %735
%741 = load double, double* %11
%742 = load double**, double*** %7
%743 = getelementptr inbounds double*, double** %742, i64 1
%744 = load double*, double** %743
%745 = getelementptr inbounds double, double* %744, i64 20
store double %741, double* %745
br label %746
746: ; preds = %740, %735
ret i32 0
}

LLVM IR (-O2):
define i32 @ls_cost_nm4_f0(double** nocapture %0, double** %1, i32* nocapture readnone %2, double* nocapture readnone %3, i32 %4) {
%6 = load double*, double** %0
%7 = icmp eq double* %6, null
br i1 %7, label %10, label %8
8: ; preds = %5
%9 = load double, double* %6
br label %10
10: ; preds = %5, %8
%11 = phi double [ %9, %8 ], [ 0.000000e+00, %5 ]
%12 = load double*, double** %1
%13 = icmp eq double* %12, null
br i1 %13, label %15, label %14
14: ; preds = %10
store double %11, double* %12
br label %15
15: ; preds = %14, %10
br i1 %7, label %19, label %16
16: ; preds = %15
%17 = getelementptr inbounds double, double* %6, i64 1
%18 = load double, double* %17
br label %19
19: ; preds = %15, %16
%20 = phi double [ %18, %16 ], [ 0.000000e+00, %15 ]
br i1 %13, label %23, label %21
21: ; preds = %19
%22 = getelementptr inbounds double, double* %12, i64 1
store double %20, double* %22
br label %23
23: ; preds = %21, %19
br i1 %7, label %27, label %24
24: ; preds = %23
%25 = getelementptr inbounds double, double* %6, i64 2
%26 = load double, double* %25
br label %27
27: ; preds = %23, %24
%28 = phi double [ %26, %24 ], [ 0.000000e+00, %23 ]
br i1 %13, label %31, label %29
29: ; preds = %27
%30 = getelementptr inbounds double, double* %12, i64 2
store double %28, double* %30
br label %31
31: ; preds = %29, %27
br i1 %7, label %35, label %32
32: ; preds = %31
%33 = getelementptr inbounds double, double* %6, i64 3
%34 = load double, double* %33
br label %35
35: ; preds = %31, %32
%36 = phi double [ %34, %32 ], [ 0.000000e+00, %31 ]
br i1 %13, label %39, label %37
37: ; preds = %35
%38 = getelementptr inbounds double, double* %12, i64 3
store double %36, double* %38
br label %39
39: ; preds = %37, %35
br i1 %7, label %43, label %40
40: ; preds = %39
%41 = getelementptr inbounds double, double* %6, i64 4
%42 = load double, double* %41
br label %43
43: ; preds = %39, %40
%44 = phi double [ %42, %40 ], [ 0.000000e+00, %39 ]
br i1 %13, label %47, label %45
45: ; preds = %43
%46 = getelementptr inbounds double, double* %12, i64 4
store double %44, double* %46
br label %47
47: ; preds = %45, %43
br i1 %7, label %51, label %48
48: ; preds = %47
%49 = getelementptr inbounds double, double* %6, i64 5
%50 = load double, double* %49
br label %51
51: ; preds = %47, %48
%52 = phi double [ %50, %48 ], [ 0.000000e+00, %47 ]
br i1 %13, label %55, label %53
53: ; preds = %51
%54 = getelementptr inbounds double, double* %12, i64 5
store double %52, double* %54
br label %55
55: ; preds = %53, %51
br i1 %7, label %59, label %56
56: ; preds = %55
%57 = getelementptr inbounds double, double* %6, i64 6
%58 = load double, double* %57
br label %59
59: ; preds = %55, %56
%60 = phi double [ %58, %56 ], [ 0.000000e+00, %55 ]
br i1 %13, label %63, label %61
61: ; preds = %59
%62 = getelementptr inbounds double, double* %12, i64 6
store double %60, double* %62
br label %63
63: ; preds = %61, %59
br i1 %7, label %67, label %64
64: ; preds = %63
%65 = getelementptr inbounds double, double* %6, i64 7
%66 = load double, double* %65
br label %67
67: ; preds = %63, %64
%68 = phi double [ %66, %64 ], [ 0.000000e+00, %63 ]
br i1 %13, label %71, label %69
69: ; preds = %67
%70 = getelementptr inbounds double, double* %12, i64 7
store double %68, double* %70
br label %71
71: ; preds = %69, %67
br i1 %7, label %75, label %72
72: ; preds = %71
%73 = getelementptr inbounds double, double* %6, i64 8
%74 = load double, double* %73
br label %75
75: ; preds = %71, %72
%76 = phi double [ %74, %72 ], [ 0.000000e+00, %71 ]
br i1 %13, label %79, label %77
77: ; preds = %75
%78 = getelementptr inbounds double, double* %12, i64 8
store double %76, double* %78
br label %79
79: ; preds = %77, %75
br i1 %7, label %83, label %80
80: ; preds = %79
%81 = getelementptr inbounds double, double* %6, i64 9
%82 = load double, double* %81
br label %83
83: ; preds = %79, %80
%84 = phi double [ %82, %80 ], [ 0.000000e+00, %79 ]
br i1 %13, label %87, label %85
85: ; preds = %83
%86 = getelementptr inbounds double, double* %12, i64 9
store double %84, double* %86
br label %87
87: ; preds = %85, %83
br i1 %7, label %91, label %88
88: ; preds = %87
%89 = getelementptr inbounds double, double* %6, i64 10
%90 = load double, double* %89
br label %91
91: ; preds = %87, %88
%92 = phi double [ %90, %88 ], [ 0.000000e+00, %87 ]
br i1 %13, label %95, label %93
93: ; preds = %91
%94 = getelementptr inbounds double, double* %12, i64 10
store double %92, double* %94
br label %95
95: ; preds = %93, %91
br i1 %7, label %99, label %96
96: ; preds = %95
%97 = getelementptr inbounds double, double* %6, i64 11
%98 = load double, double* %97
br label %99
99: ; preds = %95, %96
%100 = phi double [ %98, %96 ], [ 0.000000e+00, %95 ]
br i1 %13, label %103, label %101
101: ; preds = %99
%102 = getelementptr inbounds double, double* %12, i64 11
store double %100, double* %102
br label %103
103: ; preds = %101, %99
br i1 %7, label %107, label %104
104: ; preds = %103
%105 = getelementptr inbounds double, double* %6, i64 12
%106 = load double, double* %105
br label %107
107: ; preds = %103, %104
%108 = phi double [ %106, %104 ], [ 0.000000e+00, %103 ]
br i1 %13, label %111, label %109
109: ; preds = %107
%110 = getelementptr inbounds double, double* %12, i64 12
store double %108, double* %110
br label %111
111: ; preds = %109, %107
br i1 %7, label %115, label %112
112: ; preds = %111
%113 = getelementptr inbounds double, double* %6, i64 13
%114 = load double, double* %113
br label %115
115: ; preds = %111, %112
%116 = phi double [ %114, %112 ], [ 0.000000e+00, %111 ]
br i1 %13, label %119, label %117
117: ; preds = %115
%118 = getelementptr inbounds double, double* %12, i64 13
store double %116, double* %118
br label %119
119: ; preds = %117, %115
br i1 %7, label %123, label %120
120: ; preds = %119
%121 = getelementptr inbounds double, double* %6, i64 14
%122 = load double, double* %121
br label %123
123: ; preds = %119, %120
%124 = phi double [ %122, %120 ], [ 0.000000e+00, %119 ]
br i1 %13, label %127, label %125
125: ; preds = %123
%126 = getelementptr inbounds double, double* %12, i64 14
store double %124, double* %126
br label %127
127: ; preds = %125, %123
br i1 %7, label %131, label %128
128: ; preds = %127
%129 = getelementptr inbounds double, double* %6, i64 15
%130 = load double, double* %129
br label %131
131: ; preds = %127, %128
%132 = phi double [ %130, %128 ], [ 0.000000e+00, %127 ]
br i1 %13, label %135, label %133
133: ; preds = %131
%134 = getelementptr inbounds double, double* %12, i64 15
store double %132, double* %134
br label %135
135: ; preds = %133, %131
br i1 %7, label %139, label %136
136: ; preds = %135
%137 = getelementptr inbounds double, double* %6, i64 16
%138 = load double, double* %137
br label %139
139: ; preds = %135, %136
%140 = phi double [ %138, %136 ], [ 0.000000e+00, %135 ]
br i1 %13, label %143, label %141
141: ; preds = %139
%142 = getelementptr inbounds double, double* %12, i64 16
store double %140, double* %142
br label %143
143: ; preds = %141, %139
br i1 %7, label %147, label %144
144: ; preds = %143
%145 = getelementptr inbounds double, double* %6, i64 17
%146 = load double, double* %145
br label %147
147: ; preds = %143, %144
%148 = phi double [ %146, %144 ], [ 0.000000e+00, %143 ]
br i1 %13, label %151, label %149
149: ; preds = %147
%150 = getelementptr inbounds double, double* %12, i64 17
store double %148, double* %150
br label %151
151: ; preds = %149, %147
%152 = getelementptr inbounds double*, double** %0, i64 1
%153 = load double*, double** %152
%154 = icmp eq double* %153, null
br i1 %154, label %157, label %155
155: ; preds = %151
%156 = load double, double* %153
br label %157
157: ; preds = %151, %155
%158 = phi double [ %156, %155 ], [ 0.000000e+00, %151 ]
br i1 %13, label %161, label %159
159: ; preds = %157
%160 = getelementptr inbounds double, double* %12, i64 18
store double %158, double* %160
br label %161
161: ; preds = %159, %157
br i1 %154, label %165, label %162
162: ; preds = %161
%163 = getelementptr inbounds double, double* %153, i64 1
%164 = load double, double* %163
br label %165
165: ; preds = %161, %162
%166 = phi double [ %164, %162 ], [ 0.000000e+00, %161 ]
br i1 %13, label %169, label %167
167: ; preds = %165
%168 = getelementptr inbounds double, double* %12, i64 19
store double %166, double* %168
br label %169
169: ; preds = %167, %165
br i1 %154, label %173, label %170
170: ; preds = %169
%171 = getelementptr inbounds double, double* %153, i64 2
%172 = load double, double* %171
br label %173
173: ; preds = %169, %170
%174 = phi double [ %172, %170 ], [ 0.000000e+00, %169 ]
br i1 %13, label %177, label %175
175: ; preds = %173
%176 = getelementptr inbounds double, double* %12, i64 20
store double %174, double* %176
br label %177
177: ; preds = %175, %173
%178 = getelementptr inbounds double*, double** %1, i64 1
%179 = load double*, double** %178
%180 = icmp eq double* %179, null
br i1 %180, label %202, label %181
181: ; preds = %177
%182 = bitcast double* %179 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %182
%183 = getelementptr inbounds double, double* %179, i64 2
%184 = bitcast double* %183 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %184
%185 = getelementptr inbounds double, double* %179, i64 4
%186 = bitcast double* %185 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %186
%187 = getelementptr inbounds double, double* %179, i64 6
%188 = bitcast double* %187 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %188
%189 = getelementptr inbounds double, double* %179, i64 8
%190 = bitcast double* %189 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %190
%191 = getelementptr inbounds double, double* %179, i64 10
%192 = bitcast double* %191 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %192
%193 = getelementptr inbounds double, double* %179, i64 12
%194 = bitcast double* %193 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %194
%195 = getelementptr inbounds double, double* %179, i64 14
%196 = bitcast double* %195 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %196
%197 = getelementptr inbounds double, double* %179, i64 16
%198 = bitcast double* %197 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %198
%199 = getelementptr inbounds double, double* %179, i64 18
%200 = bitcast double* %199 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %200
%201 = getelementptr inbounds double, double* %179, i64 20
store double 1.000000e+00, double* %201
br label %202
202: ; preds = %177, %181
ret i32 0
}