#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
double cost(int *, int **, int, double *, int *, int);
double exp(double);
int integerrng(int, int);
int /*<<< orphan*/ self_adj_index_search(int *, double, double *, int);
double uniformrng();
void Mutation_SkeletalChange(int *z, int **zmat, double *fz, double *fz_cond,
                             int N_node, int *changelength, int *changelist,
                             double *theta, double *grid_points, int grid_size,
                             double temp, double *accpr_pop, int *z_new,
                             int **zmat_new, double *fz_cond_new) {
  int k_old;
  int k_new;
  int j;
  int i;
  int node1;
  int node2;
  double fz_new;
  double rat;
  double un;
  self_adj_index_search(&k_old, *fz, grid_points, grid_size);
  for (i = 1; i <= N_node; i++) {
    z_new[i] = z[i];
    fz_cond_new[i] = fz_cond[i];
    for (j = 1; j <= N_node; j++)
      zmat_new[i][j] = zmat[i][j];
  }
  node1 = integerrng(1, N_node);
  node2 = integerrng(1, N_node - 1);
  if (node2 >= node1)
    node2++;
  if (node1 > node2) {
    i = node1;
    node1 = node2;
    node2 = i;
  }
  zmat_new[node1][node2] = 1 - zmat_new[node1][node2];
  *changelength = 1;
  changelist[1] = node2;
  fz_new =
      cost(z_new, zmat_new, N_node, fz_cond_new, changelist, *changelength);
  self_adj_index_search(&k_new, fz_new, grid_points, grid_size);
  rat = -theta[k_new] - fz_new / temp + theta[k_old] + *fz / temp;
  *accpr_pop = exp((((0.0) < (rat)) ? (0.0) : (rat)));
  un = uniformrng();
  if (*accpr_pop > un) {
    *fz = fz_new;
    for (i = 1; i <= N_node; i++) {
      z[i] = z_new[i];
      fz_cond[i] = fz_cond_new[i];
      for (j = 1; j <= N_node; j++)
        zmat[i][j] = zmat_new[i][j];
    }
  }
}


x86 assembly (clang, -O0):
<Mutation_SkeletalChange>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    0x48(%rbp),%rax
mov    0x40(%rbp),%rax
mov    0x38(%rbp),%rax
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%eax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8d,-0x24(%rbp)
mov    %r9,-0x30(%rbp)
movsd  %xmm0,-0x38(%rbp)
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm0
mov    0x20(%rbp),%rsi
mov    0x28(%rbp),%edx
lea    -0x3c(%rbp),%rdi
call   1050 <self_adj_index_search@plt>
movl   $0x1,-0x48(%rbp)
mov    -0x48(%rbp),%eax
cmp    -0x24(%rbp),%eax
jg     1249 <Mutation_SkeletalChange+0xf9>
mov    -0x8(%rbp),%rax
movslq -0x48(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
mov    0x38(%rbp),%rax
movslq -0x48(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x20(%rbp),%rax
movslq -0x48(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x48(%rbp),%rax
movslq -0x48(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x1,-0x44(%rbp)
mov    -0x44(%rbp),%eax
cmp    -0x24(%rbp),%eax
jg     1236 <Mutation_SkeletalChange+0xe6>
mov    -0x10(%rbp),%rax
movslq -0x48(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x44(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
mov    0x40(%rbp),%rax
movslq -0x48(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x44(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    11f6 <Mutation_SkeletalChange+0xa6>
jmp    123b <Mutation_SkeletalChange+0xeb>
mov    -0x48(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x48(%rbp)
jmp    11b3 <Mutation_SkeletalChange+0x63>
mov    -0x24(%rbp),%esi
mov    $0x1,%edi
call   1060 <integerrng@plt>
mov    %eax,-0x4c(%rbp)
mov    -0x24(%rbp),%esi
sub    $0x1,%esi
mov    $0x1,%edi
call   1060 <integerrng@plt>
mov    %eax,-0x50(%rbp)
mov    -0x50(%rbp),%eax
cmp    -0x4c(%rbp),%eax
jl     1281 <Mutation_SkeletalChange+0x131>
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
mov    -0x4c(%rbp),%eax
cmp    -0x50(%rbp),%eax
jle    129f <Mutation_SkeletalChange+0x14f>
mov    -0x4c(%rbp),%eax
mov    %eax,-0x48(%rbp)
mov    -0x50(%rbp),%eax
mov    %eax,-0x4c(%rbp)
mov    -0x48(%rbp),%eax
mov    %eax,-0x50(%rbp)
mov    0x40(%rbp),%rax
movslq -0x4c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
mov    $0x1,%edx
sub    (%rax,%rcx,4),%edx
mov    0x40(%rbp),%rax
movslq -0x4c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x30(%rbp),%rax
movl   $0x1,(%rax)
mov    -0x50(%rbp),%ecx
mov    0x10(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    0x38(%rbp),%rdi
mov    0x40(%rbp),%rsi
mov    -0x24(%rbp),%edx
mov    0x48(%rbp),%rcx
mov    0x10(%rbp),%r8
mov    -0x30(%rbp),%rax
mov    (%rax),%r9d
call   1040 <cost@plt>
movsd  %xmm0,-0x58(%rbp)
movsd  -0x58(%rbp),%xmm0
mov    0x20(%rbp),%rsi
mov    0x28(%rbp),%edx
lea    -0x40(%rbp),%rdi
call   1050 <self_adj_index_search@plt>
mov    0x18(%rbp),%rax
movslq -0x40(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  -0x58(%rbp),%xmm1
divsd  -0x38(%rbp),%xmm1
subsd  %xmm1,%xmm0
mov    0x18(%rbp),%rax
movslq -0x3c(%rbp),%rcx
addsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm1
divsd  -0x38(%rbp),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x60(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jbe    138b <Mutation_SkeletalChange+0x23b>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x70(%rbp)
jmp    1395 <Mutation_SkeletalChange+0x245>
movsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x70(%rbp),%xmm0
call   1070 <exp@plt>
mov    0x30(%rbp),%rax
movsd  %xmm0,(%rax)
mov    $0x0,%al
call   1030 <uniformrng@plt>
movsd  %xmm0,-0x68(%rbp)
mov    0x30(%rbp),%rax
movsd  (%rax),%xmm0
ucomisd -0x68(%rbp),%xmm0
jbe    1475 <Mutation_SkeletalChange+0x325>
movsd  -0x58(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,(%rax)
movl   $0x1,-0x48(%rbp)
mov    -0x48(%rbp),%eax
cmp    -0x24(%rbp),%eax
jg     1470 <Mutation_SkeletalChange+0x320>
mov    0x38(%rbp),%rax
movslq -0x48(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
mov    -0x8(%rbp),%rax
movslq -0x48(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    0x48(%rbp),%rax
movslq -0x48(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x48(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x1,-0x44(%rbp)
mov    -0x44(%rbp),%eax
cmp    -0x24(%rbp),%eax
jg     145d <Mutation_SkeletalChange+0x30d>
mov    0x40(%rbp),%rax
movslq -0x48(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x44(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
mov    -0x10(%rbp),%rax
movslq -0x48(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x44(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    141d <Mutation_SkeletalChange+0x2cd>
jmp    1462 <Mutation_SkeletalChange+0x312>
mov    -0x48(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x48(%rbp)
jmp    13da <Mutation_SkeletalChange+0x28a>
jmp    1475 <Mutation_SkeletalChange+0x325>
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Mutation_SkeletalChange>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
movsd  %xmm0,0x38(%rsp)
mov    %r9,0x30(%rsp)
mov    %r8d,%ebp
mov    %rcx,%r14
mov    %rsi,%r15
mov    %rdi,%r13
mov    0xb8(%rsp),%rbx
mov    0x98(%rsp),%eax
mov    0x90(%rsp),%rsi
mov    %rdx,0x40(%rsp)
movsd  (%rdx),%xmm0
lea    0x24(%rsp),%rdi
mov    %eax,%edx
call   1050 <self_adj_index_search@plt>
mov    %rbp,0x28(%rsp)
test   %ebp,%ebp
jle    139c <Mutation_SkeletalChange+0x24c>
mov    %rbx,%r10
mov    0x28(%rsp),%r11d
lea    0x1(%r11),%r8
lea    -0x8(%r11),%rax
mov    %rax,0x8(%rsp)
shr    $0x3,%rax
add    $0x1,%rax
mov    %r11d,%r9d
and    $0xfffffff8,%r9d
lea    0x1(%r9),%rcx
mov    %rcx,0x18(%rsp)
mov    %eax,%r12d
and    $0x3,%r12d
and    $0xfffffffffffffffc,%rax
mov    %rax,0x10(%rsp)
mov    $0x1,%ebp
jmp    120d <Mutation_SkeletalChange+0xbd>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
add    $0x1,%rbp
cmp    %r8,%rbp
je     139c <Mutation_SkeletalChange+0x24c>
mov    0x0(%r13,%rbp,4),%ecx
mov    0xa8(%rsp),%rax
mov    %ecx,(%rax,%rbp,4)
movsd  (%r14,%rbp,8),%xmm0
movsd  %xmm0,(%r10,%rbp,8)
mov    (%r15,%rbp,8),%rdx
mov    0xb0(%rsp),%rax
mov    (%rax,%rbp,8),%rdi
mov    $0x1,%esi
cmp    $0x8,%r11d
jb     1330 <Mutation_SkeletalChange+0x1e0>
lea    0x4(%rdi),%rcx
lea    (%rdx,%r8,4),%rsi
cmp    %rsi,%rcx
jae    126b <Mutation_SkeletalChange+0x11b>
lea    (%rdi,%r8,4),%rcx
lea    0x4(%rdx),%rbx
mov    $0x1,%esi
cmp    %rcx,%rbx
jb     1330 <Mutation_SkeletalChange+0x1e0>
cmpq   $0x18,0x8(%rsp)
jae    1277 <Mutation_SkeletalChange+0x127>
xor    %esi,%esi
jmp    12da <Mutation_SkeletalChange+0x18a>
mov    0x10(%rsp),%r10
xor    %esi,%esi
xchg   %ax,%ax
movups 0x4(%rdx,%rsi,4),%xmm0
movups 0x14(%rdx,%rsi,4),%xmm1
movups %xmm0,0x4(%rdi,%rsi,4)
movups %xmm1,0x14(%rdi,%rsi,4)
movups 0x24(%rdx,%rsi,4),%xmm0
movups 0x34(%rdx,%rsi,4),%xmm1
movups %xmm0,0x24(%rdi,%rsi,4)
movups %xmm1,0x34(%rdi,%rsi,4)
movups 0x44(%rdx,%rsi,4),%xmm0
movups 0x54(%rdx,%rsi,4),%xmm1
movups %xmm0,0x44(%rdi,%rsi,4)
movups %xmm1,0x54(%rdi,%rsi,4)
movups 0x64(%rdx,%rsi,4),%xmm0
movups 0x74(%rdx,%rsi,4),%xmm1
movups %xmm0,0x64(%rdi,%rsi,4)
movups %xmm1,0x74(%rdi,%rsi,4)
add    $0x20,%rsi
add    $0xfffffffffffffffc,%r10
jne    1280 <Mutation_SkeletalChange+0x130>
test   %r12,%r12
mov    0xb8(%rsp),%r10
je     1318 <Mutation_SkeletalChange+0x1c8>
mov    %r12,%rcx
nopw   0x0(%rax,%rax,1)
lea    0x0(,%rsi,4),%rbx
or     $0x4,%rbx
movups (%rdx,%rbx,1),%xmm0
movups 0x10(%rdx,%rbx,1),%xmm1
movups %xmm0,(%rdi,%rbx,1)
movups %xmm1,0x10(%rdi,%rbx,1)
add    $0x8,%rsi
add    $0xffffffffffffffff,%rcx
jne    12f0 <Mutation_SkeletalChange+0x1a0>
mov    0x18(%rsp),%rsi
cmp    %r9,%r11
je     1200 <Mutation_SkeletalChange+0xb0>
cs nopw 0x0(%rax,%rax,1)
mov    %r8d,%ecx
sub    %esi,%ecx
mov    %rsi,%rbx
not    %rbx
add    %r8,%rbx
and    $0x3,%rcx
je     1360 <Mutation_SkeletalChange+0x210>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    (%rdx,%rsi,4),%eax
mov    %eax,(%rdi,%rsi,4)
add    $0x1,%rsi
add    $0xffffffffffffffff,%rcx
jne    1350 <Mutation_SkeletalChange+0x200>
cmp    $0x3,%rbx
jb     1200 <Mutation_SkeletalChange+0xb0>
nopw   0x0(%rax,%rax,1)
mov    (%rdx,%rsi,4),%eax
mov    %eax,(%rdi,%rsi,4)
mov    0x4(%rdx,%rsi,4),%eax
mov    %eax,0x4(%rdi,%rsi,4)
mov    0x8(%rdx,%rsi,4),%eax
mov    %eax,0x8(%rdi,%rsi,4)
mov    0xc(%rdx,%rsi,4),%eax
mov    %eax,0xc(%rdi,%rsi,4)
add    $0x4,%rsi
cmp    %rsi,%r8
jne    1370 <Mutation_SkeletalChange+0x220>
jmp    1200 <Mutation_SkeletalChange+0xb0>
mov    $0x1,%ebp
mov    $0x1,%edi
mov    0x28(%rsp),%rbx
mov    %ebx,%esi
call   1060 <integerrng@plt>
mov    %eax,%r12d
lea    -0x1(%rbx),%esi
mov    $0x1,%edi
call   1060 <integerrng@plt>
xor    %ecx,%ecx
cmp    %r12d,%eax
setge  %cl
add    %eax,%ecx
cmp    %ecx,%r12d
mov    %ecx,%eax
cmovg  %r12d,%eax
cmovle %r12d,%ecx
mov    %rbx,%r12
movslq %ecx,%rcx
mov    0xb0(%rsp),%rsi
mov    (%rsi,%rcx,8),%rcx
cltq
sub    (%rcx,%rax,4),%ebp
mov    %ebp,(%rcx,%rax,4)
mov    0x30(%rsp),%rcx
movl   $0x1,(%rcx)
mov    0x80(%rsp),%r8
mov    %eax,0x4(%r8)
mov    (%rcx),%r9d
mov    0xa8(%rsp),%rdi
mov    %r12d,%edx
mov    0xb8(%rsp),%rcx
call   1040 <cost@plt>
movsd  %xmm0,0x8(%rsp)
lea    0x20(%rsp),%rdi
mov    0x90(%rsp),%rsi
mov    0x98(%rsp),%edx
call   1050 <self_adj_index_search@plt>
movslq 0x20(%rsp),%rax
mov    0x88(%rsp),%rcx
movsd  (%rcx,%rax,8),%xmm0
xorpd  0xba2(%rip),%xmm0
movsd  0x8(%rsp),%xmm1
movsd  0x38(%rsp),%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
movslq 0x24(%rsp),%rax
addsd  (%rcx,%rax,8),%xmm0
mov    0x40(%rsp),%rbp
movsd  0x0(%rbp),%xmm1
divsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
xorpd  %xmm0,%xmm0
minsd  %xmm1,%xmm0
call   1070 <exp@plt>
mov    0xa0(%rsp),%rbx
movsd  %xmm0,(%rbx)
xor    %eax,%eax
call   1030 <uniformrng@plt>
mov    0xb8(%rsp),%r10
movsd  (%rbx),%xmm1
ucomisd %xmm0,%xmm1
jbe    16bc <Mutation_SkeletalChange+0x56c>
movsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x0(%rbp)
test   %r12d,%r12d
jle    16bc <Mutation_SkeletalChange+0x56c>
mov    %r12d,%r11d
lea    0x1(%r11),%r8
lea    -0x8(%r11),%rax
mov    %rax,0x8(%rsp)
shr    $0x3,%rax
add    $0x1,%rax
mov    %r11d,%r9d
and    $0xfffffff8,%r9d
lea    0x1(%r9),%rcx
mov    %rcx,0x18(%rsp)
mov    %eax,%r12d
and    $0x3,%r12d
and    $0xfffffffffffffffc,%rax
mov    %rax,0x10(%rsp)
mov    $0x1,%ebp
jmp    152d <Mutation_SkeletalChange+0x3dd>
nopw   0x0(%rax,%rax,1)
add    $0x1,%rbp
cmp    %r8,%rbp
je     16bc <Mutation_SkeletalChange+0x56c>
mov    0xa8(%rsp),%rax
mov    (%rax,%rbp,4),%ecx
mov    %ecx,0x0(%r13,%rbp,4)
movsd  (%r10,%rbp,8),%xmm0
movsd  %xmm0,(%r14,%rbp,8)
mov    0xb0(%rsp),%rax
mov    (%rax,%rbp,8),%rdx
mov    (%r15,%rbp,8),%rdi
mov    $0x1,%esi
cmp    $0x8,%r11d
jb     1650 <Mutation_SkeletalChange+0x500>
lea    0x4(%rdi),%rcx
lea    (%rdx,%r8,4),%rsi
cmp    %rsi,%rcx
jae    158b <Mutation_SkeletalChange+0x43b>
lea    (%rdi,%r8,4),%rcx
lea    0x4(%rdx),%rbx
mov    $0x1,%esi
cmp    %rcx,%rbx
jb     1650 <Mutation_SkeletalChange+0x500>
cmpq   $0x18,0x8(%rsp)
jae    1597 <Mutation_SkeletalChange+0x447>
xor    %esi,%esi
jmp    15fe <Mutation_SkeletalChange+0x4ae>
mov    0x10(%rsp),%r10
xor    %esi,%esi
xchg   %ax,%ax
movups 0x4(%rdx,%rsi,4),%xmm0
movups 0x14(%rdx,%rsi,4),%xmm1
movups %xmm0,0x4(%rdi,%rsi,4)
movups %xmm1,0x14(%rdi,%rsi,4)
movups 0x24(%rdx,%rsi,4),%xmm0
movups 0x34(%rdx,%rsi,4),%xmm1
movups %xmm0,0x24(%rdi,%rsi,4)
movups %xmm1,0x34(%rdi,%rsi,4)
movups 0x44(%rdx,%rsi,4),%xmm0
movups 0x54(%rdx,%rsi,4),%xmm1
movups %xmm0,0x44(%rdi,%rsi,4)
movups %xmm1,0x54(%rdi,%rsi,4)
movupd 0x64(%rdx,%rsi,4),%xmm0
movupd 0x74(%rdx,%rsi,4),%xmm1
movupd %xmm0,0x64(%rdi,%rsi,4)
movupd %xmm1,0x74(%rdi,%rsi,4)
add    $0x20,%rsi
add    $0xfffffffffffffffc,%r10
jne    15a0 <Mutation_SkeletalChange+0x450>
test   %r12,%r12
mov    0xb8(%rsp),%r10
je     163c <Mutation_SkeletalChange+0x4ec>
mov    %r12,%rcx
xchg   %ax,%ax
lea    0x0(,%rsi,4),%rbx
or     $0x4,%rbx
movupd (%rdx,%rbx,1),%xmm0
movupd 0x10(%rdx,%rbx,1),%xmm1
movupd %xmm0,(%rdi,%rbx,1)
movupd %xmm1,0x10(%rdi,%rbx,1)
add    $0x8,%rsi
add    $0xffffffffffffffff,%rcx
jne    1610 <Mutation_SkeletalChange+0x4c0>
mov    0x18(%rsp),%rsi
cmp    %r9,%r11
je     1520 <Mutation_SkeletalChange+0x3d0>
nopw   0x0(%rax,%rax,1)
mov    %r8d,%ecx
sub    %esi,%ecx
mov    %rsi,%rbx
not    %rbx
add    %r8,%rbx
and    $0x3,%rcx
je     1680 <Mutation_SkeletalChange+0x530>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    (%rdx,%rsi,4),%eax
mov    %eax,(%rdi,%rsi,4)
add    $0x1,%rsi
add    $0xffffffffffffffff,%rcx
jne    1670 <Mutation_SkeletalChange+0x520>
cmp    $0x3,%rbx
jb     1520 <Mutation_SkeletalChange+0x3d0>
nopw   0x0(%rax,%rax,1)
mov    (%rdx,%rsi,4),%eax
mov    %eax,(%rdi,%rsi,4)
mov    0x4(%rdx,%rsi,4),%eax
mov    %eax,0x4(%rdi,%rsi,4)
mov    0x8(%rdx,%rsi,4),%eax
mov    %eax,0x8(%rdi,%rsi,4)
mov    0xc(%rdx,%rsi,4),%eax
mov    %eax,0xc(%rdi,%rsi,4)
add    $0x4,%rsi
cmp    %rsi,%r8
jne    1690 <Mutation_SkeletalChange+0x540>
jmp    1520 <Mutation_SkeletalChange+0x3d0>
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @Mutation_SkeletalChange(i32* %0, i32** %1, double* %2, double* %3, i32 %4, i32* %5, i32* %6, double* %7, double* %8, i32 %9, double %10, double* %11, i32* %12, i32** %13, double* %14) {
%16 = alloca i32*
%17 = alloca i32**
%18 = alloca double*
%19 = alloca double*
%20 = alloca i32
%21 = alloca i32*
%22 = alloca i32*
%23 = alloca double*
%24 = alloca double*
%25 = alloca i32
%26 = alloca double
%27 = alloca double*
%28 = alloca i32*
%29 = alloca i32**
%30 = alloca double*
%31 = alloca i32
%32 = alloca i32
%33 = alloca i32
%34 = alloca i32
%35 = alloca i32
%36 = alloca i32
%37 = alloca double
%38 = alloca double
%39 = alloca double
store i32* %0, i32** %16
store i32** %1, i32*** %17
store double* %2, double** %18
store double* %3, double** %19
store i32 %4, i32* %20
store i32* %5, i32** %21
store i32* %6, i32** %22
store double* %7, double** %23
store double* %8, double** %24
store i32 %9, i32* %25
store double %10, double* %26
store double* %11, double** %27
store i32* %12, i32** %28
store i32** %13, i32*** %29
store double* %14, double** %30
%40 = load double*, double** %18
%41 = load double, double* %40
%42 = load double*, double** %24
%43 = load i32, i32* %25
%44 = call i32 @self_adj_index_search(i32* %31, double %41, double* %42, i32 %43)
store i32 1, i32* %34
br label %45
45: ; preds = %94, %15
%46 = load i32, i32* %34
%47 = load i32, i32* %20
%48 = icmp sle i32 %46, %47
br i1 %48, label %49, label %97
49: ; preds = %45
%50 = load i32*, i32** %16
%51 = load i32, i32* %34
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, i32* %50, i64 %52
%54 = load i32, i32* %53
%55 = load i32*, i32** %28
%56 = load i32, i32* %34
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, i32* %55, i64 %57
store i32 %54, i32* %58
%59 = load double*, double** %19
%60 = load i32, i32* %34
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, double* %59, i64 %61
%63 = load double, double* %62
%64 = load double*, double** %30
%65 = load i32, i32* %34
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds double, double* %64, i64 %66
store double %63, double* %67
store i32 1, i32* %33
br label %68
68: ; preds = %90, %49
%69 = load i32, i32* %33
%70 = load i32, i32* %20
%71 = icmp sle i32 %69, %70
br i1 %71, label %72, label %93
72: ; preds = %68
%73 = load i32**, i32*** %17
%74 = load i32, i32* %34
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32*, i32** %73, i64 %75
%77 = load i32*, i32** %76
%78 = load i32, i32* %33
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i32, i32* %77, i64 %79
%81 = load i32, i32* %80
%82 = load i32**, i32*** %29
%83 = load i32, i32* %34
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i32*, i32** %82, i64 %84
%86 = load i32*, i32** %85
%87 = load i32, i32* %33
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i32, i32* %86, i64 %88
store i32 %81, i32* %89
br label %90
90: ; preds = %72
%91 = load i32, i32* %33
%92 = add nsw i32 %91, 1
store i32 %92, i32* %33
br label %68
93: ; preds = %68
br label %94
94: ; preds = %93
%95 = load i32, i32* %34
%96 = add nsw i32 %95, 1
store i32 %96, i32* %34
br label %45
97: ; preds = %45
%98 = load i32, i32* %20
%99 = call i32 @integerrng(i32 1, i32 %98)
store i32 %99, i32* %35
%100 = load i32, i32* %20
%101 = sub nsw i32 %100, 1
%102 = call i32 @integerrng(i32 1, i32 %101)
store i32 %102, i32* %36
%103 = load i32, i32* %36
%104 = load i32, i32* %35
%105 = icmp sge i32 %103, %104
br i1 %105, label %106, label %109
106: ; preds = %97
%107 = load i32, i32* %36
%108 = add nsw i32 %107, 1
store i32 %108, i32* %36
br label %109
109: ; preds = %106, %97
%110 = load i32, i32* %35
%111 = load i32, i32* %36
%112 = icmp sgt i32 %110, %111
br i1 %112, label %113, label %117
113: ; preds = %109
%114 = load i32, i32* %35
store i32 %114, i32* %34
%115 = load i32, i32* %36
store i32 %115, i32* %35
%116 = load i32, i32* %34
store i32 %116, i32* %36
br label %117
117: ; preds = %113, %109
%118 = load i32**, i32*** %29
%119 = load i32, i32* %35
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds i32*, i32** %118, i64 %120
%122 = load i32*, i32** %121
%123 = load i32, i32* %36
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds i32, i32* %122, i64 %124
%126 = load i32, i32* %125
%127 = sub nsw i32 1, %126
%128 = load i32**, i32*** %29
%129 = load i32, i32* %35
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds i32*, i32** %128, i64 %130
%132 = load i32*, i32** %131
%133 = load i32, i32* %36
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds i32, i32* %132, i64 %134
store i32 %127, i32* %135
%136 = load i32*, i32** %21
store i32 1, i32* %136
%137 = load i32, i32* %36
%138 = load i32*, i32** %22
%139 = getelementptr inbounds i32, i32* %138, i64 1
store i32 %137, i32* %139
%140 = load i32*, i32** %28
%141 = load i32**, i32*** %29
%142 = load i32, i32* %20
%143 = load double*, double** %30
%144 = load i32*, i32** %22
%145 = load i32*, i32** %21
%146 = load i32, i32* %145
%147 = call double @cost(i32* %140, i32** %141, i32 %142, double* %143, i32* %144, i32 %146)
store double %147, double* %37
%148 = load double, double* %37
%149 = load double*, double** %24
%150 = load i32, i32* %25
%151 = call i32 @self_adj_index_search(i32* %32, double %148, double* %149, i32 %150)
%152 = load double*, double** %23
%153 = load i32, i32* %32
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds double, double* %152, i64 %154
%156 = load double, double* %155
%157 = fneg double %156
%158 = load double, double* %37
%159 = load double, double* %26
%160 = fdiv double %158, %159
%161 = fsub double %157, %160
%162 = load double*, double** %23
%163 = load i32, i32* %31
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds double, double* %162, i64 %164
%166 = load double, double* %165
%167 = fadd double %161, %166
%168 = load double*, double** %18
%169 = load double, double* %168
%170 = load double, double* %26
%171 = fdiv double %169, %170
%172 = fadd double %167, %171
store double %172, double* %38
%173 = load double, double* %38
%174 = fcmp olt double 0.000000e+00, %173
br i1 %174, label %175, label %176
175: ; preds = %117
br label %178
176: ; preds = %117
%177 = load double, double* %38
br label %178
178: ; preds = %176, %175
%179 = phi double [ 0.000000e+00, %175 ], [ %177, %176 ]
%180 = call double @exp(double %179)
%181 = load double*, double** %27
store double %180, double* %181
%182 = call double (...) @uniformrng()
store double %182, double* %39
%183 = load double*, double** %27
%184 = load double, double* %183
%185 = load double, double* %39
%186 = fcmp ogt double %184, %185
br i1 %186, label %187, label %243
187: ; preds = %178
%188 = load double, double* %37
%189 = load double*, double** %18
store double %188, double* %189
store i32 1, i32* %34
br label %190
190: ; preds = %239, %187
%191 = load i32, i32* %34
%192 = load i32, i32* %20
%193 = icmp sle i32 %191, %192
br i1 %193, label %194, label %242
194: ; preds = %190
%195 = load i32*, i32** %28
%196 = load i32, i32* %34
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds i32, i32* %195, i64 %197
%199 = load i32, i32* %198
%200 = load i32*, i32** %16
%201 = load i32, i32* %34
%202 = sext i32 %201 to i64
%203 = getelementptr inbounds i32, i32* %200, i64 %202
store i32 %199, i32* %203
%204 = load double*, double** %30
%205 = load i32, i32* %34
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds double, double* %204, i64 %206
%208 = load double, double* %207
%209 = load double*, double** %19
%210 = load i32, i32* %34
%211 = sext i32 %210 to i64
%212 = getelementptr inbounds double, double* %209, i64 %211
store double %208, double* %212
store i32 1, i32* %33
br label %213
213: ; preds = %235, %194
%214 = load i32, i32* %33
%215 = load i32, i32* %20
%216 = icmp sle i32 %214, %215
br i1 %216, label %217, label %238
217: ; preds = %213
%218 = load i32**, i32*** %29
%219 = load i32, i32* %34
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds i32*, i32** %218, i64 %220
%222 = load i32*, i32** %221
%223 = load i32, i32* %33
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds i32, i32* %222, i64 %224
%226 = load i32, i32* %225
%227 = load i32**, i32*** %17
%228 = load i32, i32* %34
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds i32*, i32** %227, i64 %229
%231 = load i32*, i32** %230
%232 = load i32, i32* %33
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds i32, i32* %231, i64 %233
store i32 %226, i32* %234
br label %235
235: ; preds = %217
%236 = load i32, i32* %33
%237 = add nsw i32 %236, 1
store i32 %237, i32* %33
br label %213
238: ; preds = %213
br label %239
239: ; preds = %238
%240 = load i32, i32* %34
%241 = add nsw i32 %240, 1
store i32 %241, i32* %34
br label %190
242: ; preds = %190
br label %243
243: ; preds = %242, %178
ret void
}

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