void spack_trans(int n, double *a, double *z, double *tmp) {
  register int i, j, k;
  int ij, ik, ii;
  double s, *zij, *zji, *zjk, *zik, *zi, *tjk;
  for (i = 0; i < n; i++) {
    zij = z + i * n;
    zji = z + i;
    for (j = 0; j < i; j++) {
      s = (*(zij));
      (*zij++) = (*zji);
      (*zji) = s;
      zji += n;
    }
  }
  for (i = 0; i < n; i++) {
    ii = i * (i + 1) / 2;
    for (j = 0; j < n; j++) {
      zjk = z + j * n;
      ik = ii;
      s = 0.0;
      for (k = 0; k <= i; ik++, k++) {
        s += a[ik] * (*zjk++);
      }
      --ik;
      for (k = (i + 1); k < n; k++) {
        ik = ik + k;
        s += a[ik] * (*zjk++);
      }
      (*(tmp + j * n + i)) = s;
    }
  }
  for (i = 0; i < n; i++) {
    zi = z + i * n;
    ij = i * (i + 1) / 2;
    for (j = 0; j <= i; ij++, j++) {
      zik = zi;
      tjk = tmp + j * n;
      s = 0.0;
      for (k = 0; k < n; k++) {
        s += (*zik++) * (*tjk++);
      }
      a[ij] = s;
    }
  }
  for (i = 0; i < n; i++) {
    zij = z + i * n;
    zji = z + i;
    for (j = 0; j < i; j++) {
      s = (*(zij));
      (*zij++) = (*zji);
      (*zji) = s;
      zji += n;
    }
  }
  return;
}


x86 assembly (clang, -O0):
<spack_trans>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    11d0 <spack_trans+0xd0>
mov    -0x18(%rbp),%rax
mov    -0x24(%rbp),%ecx
imul   -0x4(%rbp),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x48(%rbp)
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x50(%rbp)
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    11bd <spack_trans+0xbd>
mov    -0x48(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x50(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x48(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x48(%rbp)
movsd  %xmm0,(%rax)
movsd  -0x40(%rbp),%xmm0
mov    -0x50(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x50(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x50(%rbp)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    1159 <spack_trans+0x59>
jmp    11c2 <spack_trans+0xc2>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    111a <spack_trans+0x1a>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    133b <spack_trans+0x23b>
mov    -0x24(%rbp),%eax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
imul   %ecx,%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,-0x38(%rbp)
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    1328 <spack_trans+0x228>
mov    -0x18(%rbp),%rax
mov    -0x28(%rbp),%ecx
imul   -0x4(%rbp),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x58(%rbp)
mov    -0x38(%rbp),%eax
mov    %eax,-0x34(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x40(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x24(%rbp),%eax
jg     1290 <spack_trans+0x190>
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x58(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x58(%rbp)
movsd  (%rax),%xmm2
movsd  -0x40(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    123b <spack_trans+0x13b>
mov    -0x34(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x34(%rbp)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    12f7 <spack_trans+0x1f7>
mov    -0x34(%rbp),%eax
add    -0x2c(%rbp),%eax
mov    %eax,-0x34(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x58(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x58(%rbp)
movsd  (%rax),%xmm2
movsd  -0x40(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    12a2 <spack_trans+0x1a2>
movsd  -0x40(%rbp),%xmm0
mov    -0x20(%rbp),%rax
mov    -0x28(%rbp),%ecx
imul   -0x4(%rbp),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
movslq -0x24(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    1201 <spack_trans+0x101>
jmp    132d <spack_trans+0x22d>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    11d7 <spack_trans+0xd7>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    144f <spack_trans+0x34f>
mov    -0x18(%rbp),%rax
mov    -0x24(%rbp),%ecx
imul   -0x4(%rbp),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x68(%rbp)
mov    -0x24(%rbp),%eax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
imul   %ecx,%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,-0x30(%rbp)
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x24(%rbp),%eax
jg     143c <spack_trans+0x33c>
mov    -0x68(%rbp),%rax
mov    %rax,-0x60(%rbp)
mov    -0x20(%rbp),%rax
mov    -0x28(%rbp),%ecx
imul   -0x4(%rbp),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x70(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x40(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    1413 <spack_trans+0x313>
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm0
mov    -0x70(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x70(%rbp)
movsd  (%rax),%xmm2
movsd  -0x40(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    13c1 <spack_trans+0x2c1>
movsd  -0x40(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    1385 <spack_trans+0x285>
jmp    1441 <spack_trans+0x341>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1342 <spack_trans+0x242>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    150c <spack_trans+0x40c>
mov    -0x18(%rbp),%rax
mov    -0x24(%rbp),%ecx
imul   -0x4(%rbp),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x48(%rbp)
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x50(%rbp)
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    14f9 <spack_trans+0x3f9>
mov    -0x48(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x50(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x48(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x48(%rbp)
movsd  %xmm0,(%rax)
movsd  -0x40(%rbp),%xmm0
mov    -0x50(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x50(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x50(%rbp)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    1495 <spack_trans+0x395>
jmp    14fe <spack_trans+0x3fe>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1456 <spack_trans+0x356>
pop    %rbp
ret

x86 assembly (clang, -O2):
<spack_trans>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
mov    %rcx,-0x58(%rsp)
test   %edi,%edi
jle    1703 <spack_trans+0x603>
mov    %rdi,-0x60(%rsp)
mov    %edi,%eax
mov    %rax,%r8
shl    $0x5,%r8
mov    %rax,-0x70(%rsp)
lea    0x0(,%rax,8),%r10
xor    %r11d,%r11d
mov    %rdx,%r9
jmp    1153 <spack_trans+0x53>
nopw   0x0(%rax,%rax,1)
add    $0x1,%r11
add    $0x8,%r9
cmp    -0x70(%rsp),%r11
je     1243 <spack_trans+0x143>
test   %r11,%r11
je     1140 <spack_trans+0x40>
lea    -0x1(%r11),%rax
mov    %r11,%rcx
imul   -0x70(%rsp),%rcx
lea    (%rdx,%rcx,8),%rdi
cmp    $0x3,%rax
jae    1180 <spack_trans+0x80>
lea    (%rdx,%r11,8),%rax
test   $0x3,%r11b
jne    120d <spack_trans+0x10d>
jmp    1140 <spack_trans+0x40>
nop
mov    %r11,%rcx
and    $0xfffffffffffffffc,%rcx
mov    %r9,%rbp
nopw   0x0(%rax,%rax,1)
mov    %rbp,%rax
movsd  (%rdi),%xmm0
movsd  0x0(%rbp),%xmm1
movsd  %xmm1,(%rdi)
movsd  %xmm0,0x0(%rbp)
movsd  0x8(%rdi),%xmm0
add    %r10,%rbp
movsd  (%rax,%r10,1),%xmm1
movsd  %xmm1,0x8(%rdi)
movsd  %xmm0,(%rax,%r10,1)
movsd  0x10(%rdi),%xmm0
lea    0x0(%rbp,%r10,1),%rbx
movsd  (%r10,%rbp,1),%xmm1
movsd  %xmm1,0x10(%rdi)
movsd  %xmm0,(%r10,%rbp,1)
movsd  0x18(%rdi),%xmm0
lea    (%rbx,%r10,1),%rbp
movsd  (%r10,%rbx,1),%xmm1
movsd  %xmm1,0x18(%rdi)
add    $0x20,%rdi
movsd  %xmm0,(%r10,%rbx,1)
add    %r10,%rbp
add    $0xfffffffffffffffc,%rcx
jne    1190 <spack_trans+0x90>
add    %r8,%rax
test   $0x3,%r11b
je     1140 <spack_trans+0x40>
mov    %r11d,%ecx
and    $0x3,%ecx
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nop
movsd  (%rdi,%rbp,8),%xmm0
movsd  (%rax),%xmm1
movsd  %xmm1,(%rdi,%rbp,8)
movsd  %xmm0,(%rax)
add    $0x1,%rbp
add    %r10,%rax
cmp    %rbp,%rcx
jne    1220 <spack_trans+0x120>
jmp    1140 <spack_trans+0x40>
cmpl   $0x0,-0x60(%rsp)
jle    1703 <spack_trans+0x603>
mov    %rdx,-0x68(%rsp)
mov    -0x70(%rsp),%rbp
mov    %rbp,%rax
neg    %rax
mov    %rax,-0x20(%rsp)
mov    $0x1,%eax
mov    $0x2,%ecx
mov    $0x1,%edx
xor    %edi,%edi
xor    %r8d,%r8d
jmp    12a3 <spack_trans+0x1a3>
nopl   0x0(%rax)
mov    -0x2c(%rsp),%ecx
mov    -0x18(%rsp),%rdi
add    %ecx,%edi
add    $0x1,%rax
add    $0x2,%ecx
mov    -0x10(%rsp),%rdx
add    $0x1,%edx
cmp    %rbp,%r8
je     1458 <spack_trans+0x358>
mov    %ecx,-0x2c(%rsp)
mov    %edi,%ebx
shr    %ebx
mov    %rdi,-0x18(%rsp)
mov    %edi,%ecx
shr    %rcx
mov    %rcx,-0x50(%rsp)
lea    (%rsi,%rcx,8),%r9
mov    %edx,%r14d
and    $0x3,%r14d
lea    0x1(%r8),%rcx
mov    %rcx,-0x38(%rsp)
imul   %r8d,%ecx
shr    %ecx
mov    %ecx,-0x28(%rsp)
mov    -0x58(%rsp),%rcx
mov    %r8,-0x40(%rsp)
lea    (%rcx,%r8,8),%rcx
mov    %rcx,-0x48(%rsp)
mov    %rbx,-0x8(%rsp)
mov    %ebx,%ecx
mov    %rdx,-0x10(%rsp)
add    %edx,%ecx
mov    %ecx,-0x24(%rsp)
mov    -0x20(%rsp),%rcx
lea    (%rcx,%rax,1),%r15
mov    -0x68(%rsp),%r11
xor    %edi,%edi
jmp    132a <spack_trans+0x22a>
nop
mov    -0x48(%rsp),%rdx
movsd  %xmm0,(%rdx,%rcx,8)
add    $0x1,%rdi
add    %r10,%r11
cmp    %rbp,%rdi
je     1280 <spack_trans+0x180>
mov    %rdi,%rcx
imul   %rbp,%rcx
test   $0x3,%al
je     1390 <spack_trans+0x290>
xorpd  %xmm0,%xmm0
xor    %edx,%edx
xor    %ebx,%ebx
nopl   (%rax)
movsd  (%r9,%rbx,8),%xmm1
mulsd  (%r11,%rbx,8),%xmm1
addsd  %xmm1,%xmm0
add    $0x1,%rbx
add    $0xfffffffffffffff8,%rdx
cmp    %ebx,%r14d
jne    1340 <spack_trans+0x240>
mov    -0x50(%rsp),%rbp
lea    (%rbx,%rbp,1),%r12
add    $0xffffffffffffffff,%r12
lea    (%rbx,%rbp,1),%r8
mov    %r11,%r13
sub    %rdx,%r13
add    %ebp,%ebx
cmpl   $0x3,-0x40(%rsp)
jae    13af <spack_trans+0x2af>
jmp    1411 <spack_trans+0x311>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    -0x68(%rsp),%rdx
lea    (%rdx,%rcx,8),%r13
xorpd  %xmm0,%xmm0
mov    -0x8(%rsp),%r8
mov    -0x28(%rsp),%edx
mov    %edx,%ebx
cmpl   $0x3,-0x40(%rsp)
jb     1411 <spack_trans+0x311>
add    $0xffffffffffffffff,%r8
mov    -0x24(%rsp),%edx
sub    %ebx,%edx
mov    %r8,%r12
nopl   0x0(%rax)
movsd  0x8(%rsi,%r12,8),%xmm1
mulsd  0x0(%r13),%xmm1
movsd  0x10(%rsi,%r12,8),%xmm2
addsd  %xmm0,%xmm1
mulsd  0x8(%r13),%xmm2
addsd  %xmm1,%xmm2
movsd  0x18(%rsi,%r12,8),%xmm1
mulsd  0x10(%r13),%xmm1
addsd  %xmm2,%xmm1
movsd  0x20(%rsi,%r12,8),%xmm0
mulsd  0x18(%r13),%xmm0
add    $0x20,%r13
addsd  %xmm1,%xmm0
add    $0x4,%r12
add    $0xfffffffc,%edx
jne    13c0 <spack_trans+0x2c0>
mov    -0x70(%rsp),%rbp
mov    -0x38(%rsp),%r8
cmp    %rbp,%r8
jae    1310 <spack_trans+0x210>
xor    %edx,%edx
cs nopw 0x0(%rax,%rax,1)
add    %eax,%r12d
add    %edx,%r12d
movsd  (%rsi,%r12,8),%xmm1
mulsd  0x0(%r13,%rdx,8),%xmm1
addsd  %xmm1,%xmm0
add    $0x1,%rdx
mov    %r15,%rbx
add    %rdx,%rbx
jne    1430 <spack_trans+0x330>
jmp    1310 <spack_trans+0x210>
mov    -0x60(%rsp),%rbp
test   %ebp,%ebp
mov    -0x68(%rsp),%r11
jle    1703 <spack_trans+0x603>
lea    -0x1(%rbp),%r12d
mov    -0x70(%rsp),%r9
mov    %r9d,%ecx
and    $0xfffffffc,%ecx
mov    %ebp,%edx
and    $0x3,%edx
xor    %r14d,%r14d
mov    $0x1,%r13d
mov    $0x2,%eax
mov    %r11,%rbx
xor    %edi,%edi
jmp    14ce <spack_trans+0x3ce>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    -0x48(%rsp),%rax
mov    -0x50(%rsp),%edi
add    %eax,%edi
add    $0x2,%rax
add    $0x1,%r13
add    %r10,%rbx
mov    -0x70(%rsp),%r9
mov    -0x40(%rsp),%r14
cmp    %r9,%r14
mov    -0x68(%rsp),%r11
je     15ed <spack_trans+0x4ed>
mov    %rax,-0x48(%rsp)
mov    %edi,-0x50(%rsp)
mov    %edi,%r8d
shr    %r8d
mov    %r14,%rax
imul   %r9,%rax
lea    (%r11,%rax,8),%rax
mov    %rax,-0x38(%rsp)
add    $0x1,%r14
mov    %r14,-0x40(%rsp)
mov    -0x58(%rsp),%rax
xor    %r14d,%r14d
jmp    1516 <spack_trans+0x416>
movsd  %xmm0,(%rsi,%r8,8)
add    $0x1,%r8
add    $0x1,%r14
add    %r10,%rax
cmp    %r13,%r14
je     14a0 <spack_trans+0x3a0>
cmp    $0x3,%r12d
jae    1550 <spack_trans+0x450>
mov    %r14,%rdi
imul   -0x70(%rsp),%rdi
mov    -0x58(%rsp),%rbp
lea    0x0(,%rdi,8),%r9
add    %rbp,%r9
mov    -0x60(%rsp),%rbp
xorpd  %xmm0,%xmm0
mov    -0x38(%rsp),%r15
test   $0x3,%bpl
jne    15c0 <spack_trans+0x4c0>
jmp    1500 <spack_trans+0x400>
nopl   0x0(%rax,%rax,1)
xorpd  %xmm0,%xmm0
xor    %edi,%edi
xor    %r11d,%r11d
nopl   0x0(%rax)
movsd  (%rbx,%rdi,8),%xmm1
mulsd  (%rax,%rdi,8),%xmm1
movsd  0x8(%rbx,%rdi,8),%xmm2
addsd  %xmm0,%xmm1
mulsd  0x8(%rax,%rdi,8),%xmm2
addsd  %xmm1,%xmm2
movsd  0x10(%rbx,%rdi,8),%xmm1
mulsd  0x10(%rax,%rdi,8),%xmm1
addsd  %xmm2,%xmm1
movsd  0x18(%rbx,%rdi,8),%xmm0
mulsd  0x18(%rax,%rdi,8),%xmm0
addsd  %xmm1,%xmm0
add    $0xffffffffffffffe0,%r11
add    $0x4,%rdi
cmp    %edi,%ecx
jne    1560 <spack_trans+0x460>
mov    %rax,%r9
sub    %r11,%r9
mov    %rbx,%r15
sub    %r11,%r15
test   $0x3,%bpl
je     1500 <spack_trans+0x400>
xor    %edi,%edi
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movsd  (%r15,%rdi,8),%xmm1
mulsd  (%r9,%rdi,8),%xmm1
addsd  %xmm1,%xmm0
add    $0x1,%rdi
cmp    %edi,%edx
jne    15d0 <spack_trans+0x4d0>
jmp    1500 <spack_trans+0x400>
test   %ebp,%ebp
jle    1703 <spack_trans+0x603>
mov    -0x70(%rsp),%rax
mov    %rax,%r8
shl    $0x5,%r8
lea    0x0(,%rax,8),%rcx
xor    %ebx,%ebx
mov    %r11,%r9
jmp    1623 <spack_trans+0x523>
add    $0x1,%rbx
add    $0x8,%r9
cmp    -0x70(%rsp),%rbx
je     1703 <spack_trans+0x603>
test   %rbx,%rbx
je     1610 <spack_trans+0x510>
lea    -0x1(%rbx),%rax
mov    %rbx,%rdx
imul   -0x70(%rsp),%rdx
lea    (%r11,%rdx,8),%rdi
cmp    $0x3,%rax
jae    1650 <spack_trans+0x550>
lea    (%r11,%rbx,8),%rax
test   $0x3,%bl
jne    16d6 <spack_trans+0x5d6>
jmp    1610 <spack_trans+0x510>
xchg   %ax,%ax
mov    %rbx,%rdx
and    $0xfffffffffffffffc,%rdx
mov    %r9,%rbp
nopw   0x0(%rax,%rax,1)
mov    %rbp,%rax
movsd  (%rdi),%xmm0
movsd  0x0(%rbp),%xmm1
movsd  %xmm1,(%rdi)
movsd  %xmm0,0x0(%rbp)
movsd  0x8(%rdi),%xmm0
add    %rcx,%rbp
movsd  (%rax,%rcx,1),%xmm1
movsd  %xmm1,0x8(%rdi)
movsd  %xmm0,(%rax,%rcx,1)
movsd  0x10(%rdi),%xmm0
lea    0x0(%rbp,%rcx,1),%rsi
movsd  (%rcx,%rbp,1),%xmm1
movsd  %xmm1,0x10(%rdi)
movsd  %xmm0,(%rcx,%rbp,1)
movsd  0x18(%rdi),%xmm0
lea    (%rsi,%rcx,1),%rbp
movsd  (%rcx,%rsi,1),%xmm1
movsd  %xmm1,0x18(%rdi)
add    $0x20,%rdi
movsd  %xmm0,(%rcx,%rsi,1)
add    %rcx,%rbp
add    $0xfffffffffffffffc,%rdx
jne    1660 <spack_trans+0x560>
add    %r8,%rax
test   $0x3,%bl
je     1610 <spack_trans+0x510>
mov    %ebx,%edx
and    $0x3,%edx
xor    %ebp,%ebp
nopl   (%rax)
movsd  (%rdi,%rbp,8),%xmm0
movsd  (%rax),%xmm1
movsd  %xmm1,(%rdi,%rbp,8)
movsd  %xmm0,(%rax)
add    $0x1,%rbp
add    %rcx,%rax
cmp    %rbp,%rdx
jne    16e0 <spack_trans+0x5e0>
jmp    1610 <spack_trans+0x510>
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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