#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 */
typedef int /*<<< orphan*/ __m128d;

/* Variables and functions */
int /*<<< orphan*/ _mm_load_sd(double *);
int /*<<< orphan*/ _mm_loadu_pd(double *);
int /*<<< orphan*/ _mm_mul_pd(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_shuffle_pd(int /*<<< orphan*/, int /*<<< orphan*/, int);
int /*<<< orphan*/ _mm_storeu_pd(double *, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_unpacklo_pd(int /*<<< orphan*/, int /*<<< orphan*/);
void tce_sort_4_simd(double *unsorted, double *sorted, int a, int b, int c,
                     int d, int i, int j, int k, int l, double factor) {
  int id[4], jd[4], ia, ib, j1, j2, j3, j4;
  int l1, l2, l3, l4;
  int ia1, ia2, ia3, ia4;
  int ib1, ib2, ib3, ib4;
  int rangea1, rangea2, rangea3, rangea4;
  int rangeb1, rangeb2, rangeb3, rangeb4;
  int range[4], order[4], order_r[4];
  int jj1, jj2, jj3, jj4;
  int jj1_bound, jj2_bound, jj3_bound, jj4_bound;
  int count, ir, jr, kr, lr, N1, N2;
  double *pA, *pB;
  register __m128d x, y, z, w, t, t1, fac_vector;
  fac_vector = _mm_load_sd(&factor);
  fac_vector = _mm_unpacklo_pd(fac_vector, fac_vector);
  jd[0] = a;
  jd[1] = b;
  jd[2] = c;
  jd[3] = d;
  range[0] = b * c * d;
  range[1] = c * d;
  range[2] = d;
  range[3] = 1;
  l1 = jd[i];
  l2 = jd[j];
  l3 = jd[k];
  l4 = jd[l];
  rangea1 = range[i];
  rangea2 = range[j];
  rangea3 = range[k];
  rangea4 = range[l];
  rangeb1 = l2 * l3 * l4;
  rangeb2 = l3 * l4;
  rangeb3 = l4;
  rangeb4 = 1;
  if (l == 3) {
    for (j1 = 0; j1 < l1; j1++) {
      ia1 = j1 * rangea1;
      ib1 = j1 * rangeb1;
      for (j2 = 0; j2 < l2; j2++) {
        ia2 = ia1 + j2 * rangea2;
        ib2 = ib1 + j2 * rangeb2;
        for (j3 = 0; j3 < l3; j3++) {
          ia3 = ia2 + j3 * rangea3;
          ib3 = ib2 + j3 * rangeb3;
          for (j4 = 0; j4 < l4; j4++) {
            ia = ia3 + j4 * rangea4;
            ib = ib3 + j4 * rangeb4;
            sorted[ib] = unsorted[ia] * factor;
          }
        }
      }
    }
  }
  if (k == 3) {
    for (j1 = 0; j1 < l1; j1++) {
      ia1 = j1 * rangea1;
      ib1 = j1 * rangeb1;
      for (j2 = 0; j2 < l2; j2++) {
        ia2 = ia1 + j2 * rangea2;
        ib2 = ib1 + j2 * rangeb2;
        for (j3 = 0; j3 < l3; j3 += 8) {
          for (j4 = 0; j4 < l4; j4 += 8) {
            jj3_bound = (j3 + 8 > l3) ? l3 : j3 + 8;
            for (jj3 = j3; jj3 < jj3_bound; jj3 += 2) {
              ia3 = ia2 + jj3 * rangea3;
              ib3 = ib2 + jj3 * rangeb3;
              jj4_bound = (j4 + 8 > l4) ? l4 : j4 + 8;
              for (jj4 = j4; jj4 < jj4_bound; jj4 += 2) {
                ia = ia3 + jj4 * rangea4;
                ib = ib3 + jj4 * rangeb4;
                N1 = rangeb3;
                N2 = rangea4;
                pA = unsorted + ia;
                pB = sorted + ib;
                x = _mm_loadu_pd(pA);
                x = _mm_mul_pd(x, fac_vector);
                y = _mm_loadu_pd(pA + N2);
                y = _mm_mul_pd(y, fac_vector);
                z = _mm_shuffle_pd(x, y, 0);
                w = _mm_shuffle_pd(x, y, 3);
                _mm_storeu_pd(pB, z);
                _mm_storeu_pd(pB + N1, w);
              }
            }
          }
        }
      }
    }
  }
  if (j == 3) {
    for (j1 = 0; j1 < l1; j1++) {
      ia1 = j1 * rangea1;
      ib1 = j1 * rangeb1;
      for (j2 = 0; j2 < l2; j2 += 8) {
        for (j3 = 0; j3 < l3; j3++) {
          ia3 = ia1 + j3 * rangea3;
          ib3 = ib1 + j3 * rangeb3;
          for (j4 = 0; j4 < l4; j4 += 8) {
            jj2_bound = (j2 + 8 > l2) ? l2 : j2 + 8;
            for (jj2 = j2; jj2 < jj2_bound; jj2 += 2) {
              ia2 = ia3 + jj2 * rangea2;
              ib2 = ib3 + jj2 * rangeb2;
              jj4_bound = (j4 + 8 > l4) ? l4 : j4 + 8;
              for (jj4 = j4; jj4 < jj4_bound; jj4 += 2) {
                ia = ia2 + jj4 * rangea4;
                ib = ib2 + jj4 * rangeb4;
                N1 = rangeb2;
                N2 = rangea4;
                pA = unsorted + ia;
                pB = sorted + ib;
                x = _mm_loadu_pd(pA);
                x = _mm_mul_pd(x, fac_vector);
                y = _mm_loadu_pd(pA + N2);
                y = _mm_mul_pd(y, fac_vector);
                z = _mm_shuffle_pd(x, y, 0);
                w = _mm_shuffle_pd(x, y, 3);
                _mm_storeu_pd(pB, z);
                _mm_storeu_pd(pB + N1, w);
              }
            }
          }
        }
      }
    }
  }
  if (i == 3) {
    for (j1 = 0; j1 < l1; j1 += 8) {
      for (j2 = 0; j2 < l2; j2++) {
        ia2 = j2 * rangea2;
        ib2 = j2 * rangeb2;
        for (j3 = 0; j3 < l3; j3++) {
          ia3 = ia2 + j3 * rangea3;
          ib3 = ib2 + j3 * rangeb3;
          for (j4 = 0; j4 < l4; j4 += 8) {
            jj1_bound = (j1 + 8 > l1) ? l1 : j1 + 8;
            for (jj1 = j1; jj1 < jj1_bound; jj1 += 2) {
              ia1 = ia3 + jj1 * rangea1;
              ib1 = ib3 + jj1 * rangeb1;
              jj4_bound = (j4 + 8 > l4) ? l4 : j4 + 8;
              for (jj4 = j4; jj4 < jj4_bound; jj4 += 2) {
                ia = ia1 + jj4 * rangea4;
                ib = ib1 + jj4 * rangeb4;
                N1 = rangeb1;
                N2 = rangea4;
                pA = unsorted + ia;
                pB = sorted + ib;
                x = _mm_loadu_pd(pA);
                x = _mm_mul_pd(x, fac_vector);
                y = _mm_loadu_pd(pA + N2);
                y = _mm_mul_pd(y, fac_vector);
                z = _mm_shuffle_pd(x, y, 0);
                w = _mm_shuffle_pd(x, y, 3);
                _mm_storeu_pd(pB, z);
                _mm_storeu_pd(pB + N1, w);
              }
            }
          }
        }
      }
    }
  }
}


x86 assembly (clang, -O0):
<tce_sort_4_simd>:
push   %rbp
mov    %rsp,%rbp
sub    $0x180,%rsp
mov    0x28(%rbp),%eax
mov    0x20(%rbp),%eax
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%eax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %ecx,-0x18(%rbp)
mov    %r8d,-0x1c(%rbp)
mov    %r9d,-0x20(%rbp)
movsd  %xmm0,-0x28(%rbp)
lea    -0x28(%rbp),%rdi
call   1040 <_mm_load_sd@plt>
mov    %eax,-0x15c(%rbp)
mov    -0x15c(%rbp),%edi
mov    -0x15c(%rbp),%esi
call   1030 <_mm_unpacklo_pd@plt>
mov    %eax,-0x15c(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x50(%rbp)
mov    -0x18(%rbp),%eax
mov    %eax,-0x4c(%rbp)
mov    -0x1c(%rbp),%eax
mov    %eax,-0x48(%rbp)
mov    -0x20(%rbp),%eax
mov    %eax,-0x44(%rbp)
mov    -0x18(%rbp),%eax
imul   -0x1c(%rbp),%eax
imul   -0x20(%rbp),%eax
mov    %eax,-0xd0(%rbp)
mov    -0x1c(%rbp),%eax
imul   -0x20(%rbp),%eax
mov    %eax,-0xcc(%rbp)
mov    -0x20(%rbp),%eax
mov    %eax,-0xc8(%rbp)
movl   $0x1,-0xc4(%rbp)
movslq 0x10(%rbp),%rax
mov    -0x50(%rbp,%rax,4),%eax
mov    %eax,-0x6c(%rbp)
movslq 0x18(%rbp),%rax
mov    -0x50(%rbp,%rax,4),%eax
mov    %eax,-0x70(%rbp)
movslq 0x20(%rbp),%rax
mov    -0x50(%rbp,%rax,4),%eax
mov    %eax,-0x74(%rbp)
movslq 0x28(%rbp),%rax
mov    -0x50(%rbp,%rax,4),%eax
mov    %eax,-0x78(%rbp)
movslq 0x10(%rbp),%rax
mov    -0xd0(%rbp,%rax,4),%eax
mov    %eax,-0x9c(%rbp)
movslq 0x18(%rbp),%rax
mov    -0xd0(%rbp,%rax,4),%eax
mov    %eax,-0xa0(%rbp)
movslq 0x20(%rbp),%rax
mov    -0xd0(%rbp,%rax,4),%eax
mov    %eax,-0xa4(%rbp)
movslq 0x28(%rbp),%rax
mov    -0xd0(%rbp,%rax,4),%eax
mov    %eax,-0xa8(%rbp)
mov    -0x70(%rbp),%eax
imul   -0x74(%rbp),%eax
imul   -0x78(%rbp),%eax
mov    %eax,-0xac(%rbp)
mov    -0x74(%rbp),%eax
imul   -0x78(%rbp),%eax
mov    %eax,-0xb0(%rbp)
mov    -0x78(%rbp),%eax
mov    %eax,-0xb4(%rbp)
movl   $0x1,-0xb8(%rbp)
cmpl   $0x3,0x28(%rbp)
jne    1401 <tce_sort_4_simd+0x2a1>
movl   $0x0,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
cmp    -0x6c(%rbp),%eax
jge    13fc <tce_sort_4_simd+0x29c>
mov    -0x5c(%rbp),%eax
imul   -0x9c(%rbp),%eax
mov    %eax,-0x7c(%rbp)
mov    -0x5c(%rbp),%eax
imul   -0xac(%rbp),%eax
mov    %eax,-0x8c(%rbp)
movl   $0x0,-0x60(%rbp)
mov    -0x60(%rbp),%eax
cmp    -0x70(%rbp),%eax
jge    13e9 <tce_sort_4_simd+0x289>
mov    -0x7c(%rbp),%eax
mov    -0x60(%rbp),%ecx
imul   -0xa0(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x80(%rbp)
mov    -0x8c(%rbp),%eax
mov    -0x60(%rbp),%ecx
imul   -0xb0(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x90(%rbp)
movl   $0x0,-0x64(%rbp)
mov    -0x64(%rbp),%eax
cmp    -0x74(%rbp),%eax
jge    13d6 <tce_sort_4_simd+0x276>
mov    -0x80(%rbp),%eax
mov    -0x64(%rbp),%ecx
imul   -0xa4(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x84(%rbp)
mov    -0x90(%rbp),%eax
mov    -0x64(%rbp),%ecx
imul   -0xb4(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x94(%rbp)
movl   $0x0,-0x68(%rbp)
mov    -0x68(%rbp),%eax
cmp    -0x78(%rbp),%eax
jge    13c3 <tce_sort_4_simd+0x263>
mov    -0x84(%rbp),%eax
mov    -0x68(%rbp),%ecx
imul   -0xa8(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x54(%rbp)
mov    -0x94(%rbp),%eax
mov    -0x68(%rbp),%ecx
imul   -0xb8(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x58(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x54(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mulsd  -0x28(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x58(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x68(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x68(%rbp)
jmp    1360 <tce_sort_4_simd+0x200>
jmp    13c8 <tce_sort_4_simd+0x268>
mov    -0x64(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x64(%rbp)
jmp    1320 <tce_sort_4_simd+0x1c0>
jmp    13db <tce_sort_4_simd+0x27b>
mov    -0x60(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x60(%rbp)
jmp    12e3 <tce_sort_4_simd+0x183>
jmp    13ee <tce_sort_4_simd+0x28e>
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    12b3 <tce_sort_4_simd+0x153>
jmp    1401 <tce_sort_4_simd+0x2a1>
cmpl   $0x3,0x20(%rbp)
jne    172a <tce_sort_4_simd+0x5ca>
movl   $0x0,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
cmp    -0x6c(%rbp),%eax
jge    1725 <tce_sort_4_simd+0x5c5>
mov    -0x5c(%rbp),%eax
imul   -0x9c(%rbp),%eax
mov    %eax,-0x7c(%rbp)
mov    -0x5c(%rbp),%eax
imul   -0xac(%rbp),%eax
mov    %eax,-0x8c(%rbp)
movl   $0x0,-0x60(%rbp)
mov    -0x60(%rbp),%eax
cmp    -0x70(%rbp),%eax
jge    1712 <tce_sort_4_simd+0x5b2>
mov    -0x7c(%rbp),%eax
mov    -0x60(%rbp),%ecx
imul   -0xa0(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x80(%rbp)
mov    -0x8c(%rbp),%eax
mov    -0x60(%rbp),%ecx
imul   -0xb0(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x90(%rbp)
movl   $0x0,-0x64(%rbp)
mov    -0x64(%rbp),%eax
cmp    -0x74(%rbp),%eax
jge    16ff <tce_sort_4_simd+0x59f>
movl   $0x0,-0x68(%rbp)
mov    -0x68(%rbp),%eax
cmp    -0x78(%rbp),%eax
jge    16ec <tce_sort_4_simd+0x58c>
mov    -0x64(%rbp),%eax
add    $0x8,%eax
cmp    -0x74(%rbp),%eax
jle    14bb <tce_sort_4_simd+0x35b>
mov    -0x74(%rbp),%eax
mov    %eax,-0x160(%rbp)
jmp    14c7 <tce_sort_4_simd+0x367>
mov    -0x64(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x160(%rbp)
mov    -0x160(%rbp),%eax
mov    %eax,-0x10c(%rbp)
mov    -0x64(%rbp),%eax
mov    %eax,-0xfc(%rbp)
mov    -0xfc(%rbp),%eax
cmp    -0x10c(%rbp),%eax
jge    16d9 <tce_sort_4_simd+0x579>
mov    -0x80(%rbp),%eax
mov    -0xfc(%rbp),%ecx
imul   -0xa4(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x84(%rbp)
mov    -0x90(%rbp),%eax
mov    -0xfc(%rbp),%ecx
imul   -0xb4(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x94(%rbp)
mov    -0x68(%rbp),%eax
add    $0x8,%eax
cmp    -0x78(%rbp),%eax
jle    153e <tce_sort_4_simd+0x3de>
mov    -0x78(%rbp),%eax
mov    %eax,-0x164(%rbp)
jmp    154a <tce_sort_4_simd+0x3ea>
mov    -0x68(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x164(%rbp)
mov    -0x164(%rbp),%eax
mov    %eax,-0x110(%rbp)
mov    -0x68(%rbp),%eax
mov    %eax,-0x100(%rbp)
mov    -0x100(%rbp),%eax
cmp    -0x110(%rbp),%eax
jge    16c0 <tce_sort_4_simd+0x560>
mov    -0x84(%rbp),%eax
mov    -0x100(%rbp),%ecx
imul   -0xa8(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x54(%rbp)
mov    -0x94(%rbp),%eax
mov    -0x100(%rbp),%ecx
imul   -0xb8(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x58(%rbp)
mov    -0xb4(%rbp),%eax
mov    %eax,-0x128(%rbp)
mov    -0xa8(%rbp),%eax
mov    %eax,-0x12c(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x54(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x138(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x58(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x140(%rbp)
mov    -0x138(%rbp),%rdi
call   1080 <_mm_loadu_pd@plt>
mov    %eax,-0x144(%rbp)
mov    -0x144(%rbp),%edi
mov    -0x15c(%rbp),%esi
call   1070 <_mm_mul_pd@plt>
mov    %eax,-0x144(%rbp)
mov    -0x138(%rbp),%rdi
movslq -0x12c(%rbp),%rax
shl    $0x3,%rax
add    %rax,%rdi
call   1080 <_mm_loadu_pd@plt>
mov    %eax,-0x148(%rbp)
mov    -0x148(%rbp),%edi
mov    -0x15c(%rbp),%esi
call   1070 <_mm_mul_pd@plt>
mov    %eax,-0x148(%rbp)
mov    -0x144(%rbp),%edi
mov    -0x148(%rbp),%esi
xor    %edx,%edx
call   1050 <_mm_shuffle_pd@plt>
mov    %eax,-0x14c(%rbp)
mov    -0x144(%rbp),%edi
mov    -0x148(%rbp),%esi
mov    $0x3,%edx
call   1050 <_mm_shuffle_pd@plt>
mov    %eax,-0x150(%rbp)
mov    -0x140(%rbp),%rdi
mov    -0x14c(%rbp),%esi
call   1060 <_mm_storeu_pd@plt>
mov    -0x140(%rbp),%rdi
movslq -0x128(%rbp),%rax
shl    $0x3,%rax
add    %rax,%rdi
mov    -0x150(%rbp),%esi
call   1060 <_mm_storeu_pd@plt>
mov    -0x100(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x100(%rbp)
jmp    155f <tce_sort_4_simd+0x3ff>
jmp    16c5 <tce_sort_4_simd+0x565>
mov    -0xfc(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0xfc(%rbp)
jmp    14dc <tce_sort_4_simd+0x37c>
jmp    16de <tce_sort_4_simd+0x57e>
mov    -0x68(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x68(%rbp)
jmp    1492 <tce_sort_4_simd+0x332>
jmp    16f1 <tce_sort_4_simd+0x591>
mov    -0x64(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x64(%rbp)
jmp    147f <tce_sort_4_simd+0x31f>
jmp    1704 <tce_sort_4_simd+0x5a4>
mov    -0x60(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x60(%rbp)
jmp    1442 <tce_sort_4_simd+0x2e2>
jmp    1717 <tce_sort_4_simd+0x5b7>
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    1412 <tce_sort_4_simd+0x2b2>
jmp    172a <tce_sort_4_simd+0x5ca>
cmpl   $0x3,0x18(%rbp)
jne    1a53 <tce_sort_4_simd+0x8f3>
movl   $0x0,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
cmp    -0x6c(%rbp),%eax
jge    1a4e <tce_sort_4_simd+0x8ee>
mov    -0x5c(%rbp),%eax
imul   -0x9c(%rbp),%eax
mov    %eax,-0x7c(%rbp)
mov    -0x5c(%rbp),%eax
imul   -0xac(%rbp),%eax
mov    %eax,-0x8c(%rbp)
movl   $0x0,-0x60(%rbp)
mov    -0x60(%rbp),%eax
cmp    -0x70(%rbp),%eax
jge    1a3b <tce_sort_4_simd+0x8db>
movl   $0x0,-0x64(%rbp)
mov    -0x64(%rbp),%eax
cmp    -0x74(%rbp),%eax
jge    1a28 <tce_sort_4_simd+0x8c8>
mov    -0x7c(%rbp),%eax
mov    -0x64(%rbp),%ecx
imul   -0xa4(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x84(%rbp)
mov    -0x8c(%rbp),%eax
mov    -0x64(%rbp),%ecx
imul   -0xb4(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x94(%rbp)
movl   $0x0,-0x68(%rbp)
mov    -0x68(%rbp),%eax
cmp    -0x78(%rbp),%eax
jge    1a15 <tce_sort_4_simd+0x8b5>
mov    -0x60(%rbp),%eax
add    $0x8,%eax
cmp    -0x70(%rbp),%eax
jle    17e7 <tce_sort_4_simd+0x687>
mov    -0x70(%rbp),%eax
mov    %eax,-0x168(%rbp)
jmp    17f3 <tce_sort_4_simd+0x693>
mov    -0x60(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x168(%rbp)
mov    -0x168(%rbp),%eax
mov    %eax,-0x108(%rbp)
mov    -0x60(%rbp),%eax
mov    %eax,-0xf8(%rbp)
mov    -0xf8(%rbp),%eax
cmp    -0x108(%rbp),%eax
jge    1a02 <tce_sort_4_simd+0x8a2>
mov    -0x84(%rbp),%eax
mov    -0xf8(%rbp),%ecx
imul   -0xa0(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x80(%rbp)
mov    -0x94(%rbp),%eax
mov    -0xf8(%rbp),%ecx
imul   -0xb0(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x90(%rbp)
mov    -0x68(%rbp),%eax
add    $0x8,%eax
cmp    -0x78(%rbp),%eax
jle    186a <tce_sort_4_simd+0x70a>
mov    -0x78(%rbp),%eax
mov    %eax,-0x16c(%rbp)
jmp    1876 <tce_sort_4_simd+0x716>
mov    -0x68(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x16c(%rbp)
mov    -0x16c(%rbp),%eax
mov    %eax,-0x110(%rbp)
mov    -0x68(%rbp),%eax
mov    %eax,-0x100(%rbp)
mov    -0x100(%rbp),%eax
cmp    -0x110(%rbp),%eax
jge    19e9 <tce_sort_4_simd+0x889>
mov    -0x80(%rbp),%eax
mov    -0x100(%rbp),%ecx
imul   -0xa8(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x54(%rbp)
mov    -0x90(%rbp),%eax
mov    -0x100(%rbp),%ecx
imul   -0xb8(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x58(%rbp)
mov    -0xb0(%rbp),%eax
mov    %eax,-0x128(%rbp)
mov    -0xa8(%rbp),%eax
mov    %eax,-0x12c(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x54(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x138(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x58(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x140(%rbp)
mov    -0x138(%rbp),%rdi
call   1080 <_mm_loadu_pd@plt>
mov    %eax,-0x144(%rbp)
mov    -0x144(%rbp),%edi
mov    -0x15c(%rbp),%esi
call   1070 <_mm_mul_pd@plt>
mov    %eax,-0x144(%rbp)
mov    -0x138(%rbp),%rdi
movslq -0x12c(%rbp),%rax
shl    $0x3,%rax
add    %rax,%rdi
call   1080 <_mm_loadu_pd@plt>
mov    %eax,-0x148(%rbp)
mov    -0x148(%rbp),%edi
mov    -0x15c(%rbp),%esi
call   1070 <_mm_mul_pd@plt>
mov    %eax,-0x148(%rbp)
mov    -0x144(%rbp),%edi
mov    -0x148(%rbp),%esi
xor    %edx,%edx
call   1050 <_mm_shuffle_pd@plt>
mov    %eax,-0x14c(%rbp)
mov    -0x144(%rbp),%edi
mov    -0x148(%rbp),%esi
mov    $0x3,%edx
call   1050 <_mm_shuffle_pd@plt>
mov    %eax,-0x150(%rbp)
mov    -0x140(%rbp),%rdi
mov    -0x14c(%rbp),%esi
call   1060 <_mm_storeu_pd@plt>
mov    -0x140(%rbp),%rdi
movslq -0x128(%rbp),%rax
shl    $0x3,%rax
add    %rax,%rdi
mov    -0x150(%rbp),%esi
call   1060 <_mm_storeu_pd@plt>
mov    -0x100(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x100(%rbp)
jmp    188b <tce_sort_4_simd+0x72b>
jmp    19ee <tce_sort_4_simd+0x88e>
mov    -0xf8(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0xf8(%rbp)
jmp    1808 <tce_sort_4_simd+0x6a8>
jmp    1a07 <tce_sort_4_simd+0x8a7>
mov    -0x68(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x68(%rbp)
jmp    17be <tce_sort_4_simd+0x65e>
jmp    1a1a <tce_sort_4_simd+0x8ba>
mov    -0x64(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x64(%rbp)
jmp    177e <tce_sort_4_simd+0x61e>
jmp    1a2d <tce_sort_4_simd+0x8cd>
mov    -0x60(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x60(%rbp)
jmp    176b <tce_sort_4_simd+0x60b>
jmp    1a40 <tce_sort_4_simd+0x8e0>
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    173b <tce_sort_4_simd+0x5db>
jmp    1a53 <tce_sort_4_simd+0x8f3>
cmpl   $0x3,0x10(%rbp)
jne    1d7c <tce_sort_4_simd+0xc1c>
movl   $0x0,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
cmp    -0x6c(%rbp),%eax
jge    1d77 <tce_sort_4_simd+0xc17>
movl   $0x0,-0x60(%rbp)
mov    -0x60(%rbp),%eax
cmp    -0x70(%rbp),%eax
jge    1d64 <tce_sort_4_simd+0xc04>
mov    -0x60(%rbp),%eax
imul   -0xa0(%rbp),%eax
mov    %eax,-0x80(%rbp)
mov    -0x60(%rbp),%eax
imul   -0xb0(%rbp),%eax
mov    %eax,-0x90(%rbp)
movl   $0x0,-0x64(%rbp)
mov    -0x64(%rbp),%eax
cmp    -0x74(%rbp),%eax
jge    1d51 <tce_sort_4_simd+0xbf1>
mov    -0x80(%rbp),%eax
mov    -0x64(%rbp),%ecx
imul   -0xa4(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x84(%rbp)
mov    -0x90(%rbp),%eax
mov    -0x64(%rbp),%ecx
imul   -0xb4(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x94(%rbp)
movl   $0x0,-0x68(%rbp)
mov    -0x68(%rbp),%eax
cmp    -0x78(%rbp),%eax
jge    1d3e <tce_sort_4_simd+0xbde>
mov    -0x5c(%rbp),%eax
add    $0x8,%eax
cmp    -0x6c(%rbp),%eax
jle    1b10 <tce_sort_4_simd+0x9b0>
mov    -0x6c(%rbp),%eax
mov    %eax,-0x170(%rbp)
jmp    1b1c <tce_sort_4_simd+0x9bc>
mov    -0x5c(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x170(%rbp)
mov    -0x170(%rbp),%eax
mov    %eax,-0x104(%rbp)
mov    -0x5c(%rbp),%eax
mov    %eax,-0xf4(%rbp)
mov    -0xf4(%rbp),%eax
cmp    -0x104(%rbp),%eax
jge    1d2b <tce_sort_4_simd+0xbcb>
mov    -0x84(%rbp),%eax
mov    -0xf4(%rbp),%ecx
imul   -0x9c(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x7c(%rbp)
mov    -0x94(%rbp),%eax
mov    -0xf4(%rbp),%ecx
imul   -0xac(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x8c(%rbp)
mov    -0x68(%rbp),%eax
add    $0x8,%eax
cmp    -0x78(%rbp),%eax
jle    1b93 <tce_sort_4_simd+0xa33>
mov    -0x78(%rbp),%eax
mov    %eax,-0x174(%rbp)
jmp    1b9f <tce_sort_4_simd+0xa3f>
mov    -0x68(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x174(%rbp)
mov    -0x174(%rbp),%eax
mov    %eax,-0x110(%rbp)
mov    -0x68(%rbp),%eax
mov    %eax,-0x100(%rbp)
mov    -0x100(%rbp),%eax
cmp    -0x110(%rbp),%eax
jge    1d12 <tce_sort_4_simd+0xbb2>
mov    -0x7c(%rbp),%eax
mov    -0x100(%rbp),%ecx
imul   -0xa8(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x54(%rbp)
mov    -0x8c(%rbp),%eax
mov    -0x100(%rbp),%ecx
imul   -0xb8(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x58(%rbp)
mov    -0xac(%rbp),%eax
mov    %eax,-0x128(%rbp)
mov    -0xa8(%rbp),%eax
mov    %eax,-0x12c(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x54(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x138(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x58(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x140(%rbp)
mov    -0x138(%rbp),%rdi
call   1080 <_mm_loadu_pd@plt>
mov    %eax,-0x144(%rbp)
mov    -0x144(%rbp),%edi
mov    -0x15c(%rbp),%esi
call   1070 <_mm_mul_pd@plt>
mov    %eax,-0x144(%rbp)
mov    -0x138(%rbp),%rdi
movslq -0x12c(%rbp),%rax
shl    $0x3,%rax
add    %rax,%rdi
call   1080 <_mm_loadu_pd@plt>
mov    %eax,-0x148(%rbp)
mov    -0x148(%rbp),%edi
mov    -0x15c(%rbp),%esi
call   1070 <_mm_mul_pd@plt>
mov    %eax,-0x148(%rbp)
mov    -0x144(%rbp),%edi
mov    -0x148(%rbp),%esi
xor    %edx,%edx
call   1050 <_mm_shuffle_pd@plt>
mov    %eax,-0x14c(%rbp)
mov    -0x144(%rbp),%edi
mov    -0x148(%rbp),%esi
mov    $0x3,%edx
call   1050 <_mm_shuffle_pd@plt>
mov    %eax,-0x150(%rbp)
mov    -0x140(%rbp),%rdi
mov    -0x14c(%rbp),%esi
call   1060 <_mm_storeu_pd@plt>
mov    -0x140(%rbp),%rdi
movslq -0x128(%rbp),%rax
shl    $0x3,%rax
add    %rax,%rdi
mov    -0x150(%rbp),%esi
call   1060 <_mm_storeu_pd@plt>
mov    -0x100(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x100(%rbp)
jmp    1bb4 <tce_sort_4_simd+0xa54>
jmp    1d17 <tce_sort_4_simd+0xbb7>
mov    -0xf4(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0xf4(%rbp)
jmp    1b31 <tce_sort_4_simd+0x9d1>
jmp    1d30 <tce_sort_4_simd+0xbd0>
mov    -0x68(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x68(%rbp)
jmp    1ae7 <tce_sort_4_simd+0x987>
jmp    1d43 <tce_sort_4_simd+0xbe3>
mov    -0x64(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x64(%rbp)
jmp    1aa7 <tce_sort_4_simd+0x947>
jmp    1d56 <tce_sort_4_simd+0xbf6>
mov    -0x60(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x60(%rbp)
jmp    1a77 <tce_sort_4_simd+0x917>
jmp    1d69 <tce_sort_4_simd+0xc09>
mov    -0x5c(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x5c(%rbp)
jmp    1a64 <tce_sort_4_simd+0x904>
jmp    1d7c <tce_sort_4_simd+0xc1c>
add    $0x180,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<tce_sort_4_simd>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x1f8,%rsp
mov    %r9d,%r14d
mov    %r8d,%ebp
mov    %ecx,%ebx
mov    %edx,0x18(%rsp)
mov    %rsi,0xe0(%rsp)
mov    %rdi,0xd8(%rsp)
movslq 0x240(%rsp),%rax
mov    %rax,0x70(%rsp)
movslq 0x238(%rsp),%r13
movslq 0x230(%rsp),%r12
movslq 0x248(%rsp),%r15
movsd  %xmm0,0x1d8(%rsp)
lea    0x1d8(%rsp),%rdi
call   1040 <_mm_load_sd@plt>
mov    %eax,%edi
mov    %eax,%esi
call   1030 <_mm_unpacklo_pd@plt>
mov    %eax,0x44(%rsp)
mov    0x18(%rsp),%eax
mov    %eax,0x1b0(%rsp)
mov    %ebx,0x1b4(%rsp)
mov    %ebp,0x1b8(%rsp)
mov    %r14d,0x1bc(%rsp)
imul   %r14d,%ebp
imul   %ebp,%ebx
mov    0x1b0(%rsp,%r13,4),%ecx
mov    0x70(%rsp),%rdi
mov    0x1b0(%rsp,%rdi,4),%edx
mov    0x1b0(%rsp,%r15,4),%esi
mov    %esi,%eax
mov    %rdx,0x68(%rsp)
imul   %edx,%eax
movslq %eax,%rdx
mov    %rdx,0x140(%rsp)
mov    %rcx,0x60(%rsp)
imul   %ecx,%eax
mov    %ebx,0x1a0(%rsp)
mov    %ebp,0x1a4(%rsp)
mov    %r14d,0x1a8(%rsp)
movl   $0x1,0x1ac(%rsp)
mov    0x1b0(%rsp,%r12,4),%ecx
mov    %rcx,0x58(%rsp)
mov    %rsi,0xa0(%rsp)
movslq %esi,%rcx
mov    %rcx,0x8(%rsp)
mov    %r12,0x1e8(%rsp)
movslq 0x1a0(%rsp,%r12,4),%rcx
mov    %rcx,0x120(%rsp)
mov    %r13,0x1e0(%rsp)
movslq 0x1a0(%rsp,%r13,4),%rcx
mov    %rcx,0x138(%rsp)
mov    %rdi,%rcx
movslq 0x1a0(%rsp,%rdi,4),%rcx
mov    %rcx,0x160(%rsp)
movslq 0x1a0(%rsp,%r15,4),%rcx
mov    %rcx,0x128(%rsp)
cltq
mov    %rax,0x118(%rsp)
cmp    $0x3,%r15
jne    1584 <tce_sort_4_simd+0x424>
cmpl   $0x0,0x58(%rsp)
jle    1584 <tce_sort_4_simd+0x424>
movsd  0x1d8(%rsp),%xmm0
mov    0xa0(%rsp),%rax
and    $0xfffffffe,%eax
mov    0xd8(%rsp),%rdx
mov    0x128(%rsp),%rbp
lea    (%rdx,%rbp,8),%rcx
mov    %rcx,0x30(%rsp)
mov    0x120(%rsp),%rcx
lea    0x0(,%rcx,8),%rcx
mov    %rcx,0xb0(%rsp)
mov    0x138(%rsp),%rcx
lea    0x0(,%rcx,8),%rcx
mov    %rcx,0x130(%rsp)
mov    0x160(%rsp),%rcx
lea    0x0(,%rcx,8),%rdi
shl    $0x4,%rbp
mov    0xe0(%rsp),%rcx
add    $0x8,%rcx
mov    %rcx,0x50(%rsp)
mov    0x118(%rsp),%rcx
lea    0x0(,%rcx,8),%rcx
mov    %rcx,0xa8(%rsp)
mov    0x140(%rsp),%rcx
lea    0x0(,%rcx,8),%rcx
mov    %rcx,0x38(%rsp)
mov    0x8(%rsp),%rcx
lea    0x0(,%rcx,8),%r13
xor    %ecx,%ecx
mov    %rcx,0x20(%rsp)
mov    %rdx,0x78(%rsp)
jmp    13eb <tce_sort_4_simd+0x28b>
mov    0x20(%rsp),%rsi
add    $0x1,%rsi
mov    0xb0(%rsp),%rcx
add    %rcx,0x30(%rsp)
mov    0xa8(%rsp),%rdx
add    %rdx,0x50(%rsp)
add    %rcx,0x78(%rsp)
mov    %rsi,%rcx
mov    %rsi,0x20(%rsp)
cmp    0x58(%rsp),%rsi
je     1584 <tce_sort_4_simd+0x424>
cmpl   $0x0,0x60(%rsp)
jle    13b0 <tce_sort_4_simd+0x250>
mov    0x20(%rsp),%rcx
mov    %rcx,%rdx
imul   0x120(%rsp),%rdx
mov    %rdx,0x28(%rsp)
imul   0x118(%rsp),%rcx
mov    %rcx,0x10(%rsp)
mov    0x78(%rsp),%rcx
mov    %rcx,0xc0(%rsp)
mov    0x50(%rsp),%rcx
mov    %rcx,0x18(%rsp)
mov    0x30(%rsp),%rcx
mov    %rcx,0xb8(%rsp)
xor    %r15d,%r15d
jmp    1476 <tce_sort_4_simd+0x316>
nop
add    $0x1,%r15
mov    0x130(%rsp),%rcx
add    %rcx,0xb8(%rsp)
mov    0x18(%rsp),%rdx
add    0x38(%rsp),%rdx
mov    %rdx,0x18(%rsp)
add    %rcx,0xc0(%rsp)
cmp    0x60(%rsp),%r15
je     13b0 <tce_sort_4_simd+0x250>
cmpl   $0x0,0x68(%rsp)
jle    1440 <tce_sort_4_simd+0x2e0>
mov    %r15,%r9
imul   0x138(%rsp),%r9
add    0x28(%rsp),%r9
mov    %r15,%r8
imul   0x140(%rsp),%r8
add    0x10(%rsp),%r8
mov    0xc0(%rsp),%r14
mov    0x18(%rsp),%r11
mov    0xb8(%rsp),%r10
xor    %edx,%edx
jmp    14d8 <tce_sort_4_simd+0x378>
nopl   0x0(%rax,%rax,1)
add    $0x1,%rdx
add    %rdi,%r10
add    %r13,%r11
add    %rdi,%r14
cmp    0x68(%rsp),%rdx
je     1440 <tce_sort_4_simd+0x2e0>
cmpl   $0x0,0x8(%rsp)
jle    14c0 <tce_sort_4_simd+0x360>
cmpl   $0x1,0xa0(%rsp)
01
jne    14f0 <tce_sort_4_simd+0x390>
xor    %esi,%esi
jmp    152d <tce_sort_4_simd+0x3cd>
nopl   (%rax)
xor    %r12d,%r12d
xor    %esi,%esi
cs nopw 0x0(%rax,%rax,1)
nop
movsd  (%r14,%r12,1),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,-0x8(%r11,%rsi,8)
movsd  (%r10,%r12,1),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,(%r11,%rsi,8)
add    $0x2,%rsi
add    %rbp,%r12
cmp    %rsi,%rax
jne    1500 <tce_sort_4_simd+0x3a0>
testb  $0x1,0xa0(%rsp)
01
je     14c0 <tce_sort_4_simd+0x360>
mov    %rdx,%rbx
imul   0x160(%rsp),%rbx
add    %r9,%rbx
mov    %rdx,%rcx
imul   0x8(%rsp),%rcx
add    %r8,%rcx
add    %rsi,%rcx
imul   0x128(%rsp),%rsi
add    %rbx,%rsi
mov    0xd8(%rsp),%rbx
movsd  (%rbx,%rsi,8),%xmm1
mulsd  %xmm0,%xmm1
mov    0xe0(%rsp),%rsi
movsd  %xmm1,(%rsi,%rcx,8)
jmp    14c0 <tce_sort_4_simd+0x360>
cmpl   $0x3,0x70(%rsp)
jne    1a71 <tce_sort_4_simd+0x911>
cmpl   $0x0,0x58(%rsp)
jle    1a71 <tce_sort_4_simd+0x911>
mov    0xe0(%rsp),%rax
mov    0x8(%rsp),%rdx
lea    (%rax,%rdx,8),%rcx
mov    %rcx,0x188(%rsp)
mov    0x118(%rsp),%rcx
lea    0x0(,%rcx,8),%rcx
mov    %rcx,0x1c0(%rsp)
mov    0x140(%rsp),%rcx
lea    0x0(,%rcx,8),%rcx
mov    %rcx,0x1d0(%rsp)
mov    %rdx,%rcx
shl    $0x6,%rcx
mov    %rcx,0x158(%rsp)
shl    $0x4,%rdx
mov    %rdx,0x70(%rsp)
mov    0xd8(%rsp),%rcx
mov    0x128(%rsp),%rsi
lea    (%rcx,%rsi,8),%rdx
mov    %rdx,0x180(%rsp)
mov    0x120(%rsp),%rdx
lea    0x0(,%rdx,8),%rdx
mov    %rdx,0x1f0(%rsp)
mov    0x138(%rsp),%rdx
lea    0x0(,%rdx,8),%rdx
mov    %rdx,0x1c8(%rsp)
mov    0x160(%rsp),%rdx
mov    %rdx,%rdi
shl    $0x6,%rdi
mov    %rdi,0x150(%rsp)
mov    %rsi,%rdi
shl    $0x6,%rdi
mov    %rdi,0x168(%rsp)
shl    $0x4,%rdx
mov    %rdx,0x110(%rsp)
shl    $0x4,%rsi
xor    %edx,%edx
mov    %rcx,0x178(%rsp)
mov    %rax,0x190(%rsp)
mov    %rsi,0x38(%rsp)
mov    0x44(%rsp),%ebp
jmp    16e7 <tce_sort_4_simd+0x587>
nopw   0x0(%rax,%rax,1)
mov    0x198(%rsp),%rdx
add    $0x1,%rdx
mov    0x1c0(%rsp),%rax
add    %rax,0x188(%rsp)
add    %rax,0x190(%rsp)
mov    0x1f0(%rsp),%rax
add    %rax,0x180(%rsp)
add    %rax,0x178(%rsp)
cmp    0x58(%rsp),%rdx
je     1a71 <tce_sort_4_simd+0x911>
mov    %rdx,0x198(%rsp)
cmpl   $0x0,0x60(%rsp)
jle    16a0 <tce_sort_4_simd+0x540>
mov    0x178(%rsp),%rax
mov    %rax,0x88(%rsp)
mov    0x180(%rsp),%rax
mov    %rax,0x80(%rsp)
mov    0x190(%rsp),%rax
mov    %rax,0xc8(%rsp)
mov    0x188(%rsp),%rax
mov    %rax,0x148(%rsp)
xor    %ecx,%ecx
jmp    1787 <tce_sort_4_simd+0x627>
nopw   0x0(%rax,%rax,1)
mov    0xd0(%rsp),%rcx
add    $0x1,%rcx
mov    0x1d0(%rsp),%rax
add    %rax,0x148(%rsp)
add    %rax,0xc8(%rsp)
mov    0x1c8(%rsp),%rax
add    %rax,0x80(%rsp)
add    %rax,0x88(%rsp)
cmp    0x60(%rsp),%rcx
je     16a0 <tce_sort_4_simd+0x540>
mov    %rcx,0xd0(%rsp)
cmpl   $0x0,0x68(%rsp)
jle    1740 <tce_sort_4_simd+0x5e0>
mov    0x88(%rsp),%rax
mov    %rax,0x98(%rsp)
mov    0x80(%rsp),%rax
mov    %rax,0xf0(%rsp)
mov    0xc8(%rsp),%rax
mov    %rax,0xe8(%rsp)
mov    0x148(%rsp),%rax
mov    %rax,0x90(%rsp)
xor    %eax,%eax
mov    %rax,(%rsp)
jmp    1826 <tce_sort_4_simd+0x6c6>
xchg   %ax,%ax
mov    (%rsp),%rcx
add    $0x8,%rcx
mov    0x158(%rsp),%rax
add    %rax,0x90(%rsp)
add    %rax,0xe8(%rsp)
mov    0x150(%rsp),%rax
add    %rax,0xf0(%rsp)
add    %rax,0x98(%rsp)
mov    %rcx,(%rsp)
cmp    %ecx,0x68(%rsp)
jle    1740 <tce_sort_4_simd+0x5e0>
cmpl   $0x0,0x8(%rsp)
jle    17e0 <tce_sort_4_simd+0x680>
mov    (%rsp),%rax
add    $0x8,%eax
mov    0x68(%rsp),%rcx
cmp    %ecx,%eax
cmovle %eax,%ecx
mov    %ecx,0x170(%rsp)
movslq %ecx,%rax
mov    %rax,0xa8(%rsp)
mov    0x98(%rsp),%rax
mov    %rax,0x108(%rsp)
mov    0xf0(%rsp),%rax
mov    %rax,0x100(%rsp)
mov    0xe8(%rsp),%rax
mov    %rax,0x48(%rsp)
mov    0x90(%rsp),%rax
mov    %rax,0xf8(%rsp)
xor    %eax,%eax
mov    %rax,0x10(%rsp)
jmp    18df <tce_sort_4_simd+0x77f>
cs nopw 0x0(%rax,%rax,1)
mov    0x10(%rsp),%rcx
add    $0x8,%rcx
addq   $0x40,0xf8(%rsp)
addq   $0x40,0x48(%rsp)
mov    0x168(%rsp),%rax
add    %rax,0x100(%rsp)
add    %rax,0x108(%rsp)
mov    %rcx,0x10(%rsp)
cmp    %ecx,0x8(%rsp)
jle    17e0 <tce_sort_4_simd+0x680>
mov    0x170(%rsp),%eax
cmp    (%rsp),%eax
jle    18a0 <tce_sort_4_simd+0x740>
mov    0x10(%rsp),%rax
add    $0x8,%eax
cmp    0x8(%rsp),%eax
cmovg  0xa0(%rsp),%eax
mov    %eax,0xb0(%rsp)
movslq %eax,%rcx
mov    0x108(%rsp),%rax
mov    %rax,0x20(%rsp)
mov    0x100(%rsp),%rax
mov    %rax,0x30(%rsp)
mov    0x48(%rsp),%rax
mov    %rax,0x50(%rsp)
mov    0xf8(%rsp),%rax
mov    %rax,0x78(%rsp)
mov    (%rsp),%rdx
mov    %rcx,0x130(%rsp)
jmp    1988 <tce_sort_4_simd+0x828>
nopl   0x0(%rax,%rax,1)
mov    0x28(%rsp),%rdx
add    $0x2,%rdx
mov    0x70(%rsp),%rax
add    %rax,0x78(%rsp)
add    %rax,0x50(%rsp)
mov    0x110(%rsp),%rax
add    %rax,0x30(%rsp)
add    %rax,0x20(%rsp)
cmp    0xa8(%rsp),%rdx
jge    18a0 <tce_sort_4_simd+0x740>
mov    %rdx,0x28(%rsp)
mov    0xb0(%rsp),%eax
cmp    0x10(%rsp),%eax
jle    1950 <tce_sort_4_simd+0x7f0>
mov    0x20(%rsp),%rax
mov    0x30(%rsp),%rbx
mov    0x50(%rsp),%r13
mov    0x78(%rsp),%r14
mov    0x10(%rsp),%r15
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %r13,0xc0(%rsp)
mov    %rax,0x18(%rsp)
mov    0x18(%rsp),%rdi
call   1080 <_mm_loadu_pd@plt>
mov    %eax,%edi
mov    %ebp,%esi
call   1070 <_mm_mul_pd@plt>
mov    %eax,%r13d
mov    %rbx,%rdi
call   1080 <_mm_loadu_pd@plt>
mov    %eax,%edi
mov    %ebp,%esi
call   1070 <_mm_mul_pd@plt>
mov    %eax,%r12d
mov    %r13d,%edi
mov    %eax,%esi
xor    %edx,%edx
call   1050 <_mm_shuffle_pd@plt>
mov    %eax,0xb8(%rsp)
mov    %r13d,%edi
mov    0xc0(%rsp),%r13
mov    %r12d,%esi
mov    $0x3,%edx
call   1050 <_mm_shuffle_pd@plt>
mov    %eax,%r12d
mov    %r13,%rdi
mov    0xb8(%rsp),%esi
call   1060 <_mm_storeu_pd@plt>
mov    %r14,%rdi
mov    %r12d,%esi
call   1060 <_mm_storeu_pd@plt>
mov    0x18(%rsp),%rax
mov    0x130(%rsp),%rcx
mov    0x38(%rsp),%rsi
add    $0x2,%r15
add    $0x10,%r14
add    $0x10,%r13
add    %rsi,%rbx
add    %rsi,%rax
cmp    %rcx,%r15
jl     19c0 <tce_sort_4_simd+0x860>
jmp    1950 <tce_sort_4_simd+0x7f0>
cmpl   $0x3,0x1e0(%rsp)
03
jne    1f4f <tce_sort_4_simd+0xdef>
cmpl   $0x0,0x58(%rsp)
jle    1f4f <tce_sort_4_simd+0xdef>
mov    0xe0(%rsp),%rax
mov    0x140(%rsp),%rcx
lea    (%rax,%rcx,8),%rdx
mov    %rdx,0x198(%rsp)
mov    0x118(%rsp),%rdx
lea    0x0(,%rdx,8),%rdx
mov    %rdx,0x190(%rsp)
mov    %rcx,%rdx
shl    $0x6,%rdx
mov    %rdx,0x148(%rsp)
mov    0x8(%rsp),%rdx
lea    0x0(,%rdx,8),%rdx
mov    %rdx,0x158(%rsp)
shl    $0x4,%rcx
mov    %rcx,0xa8(%rsp)
mov    0xd8(%rsp),%rcx
mov    0x128(%rsp),%rdi
lea    (%rcx,%rdi,8),%rdx
mov    %rdx,0x188(%rsp)
mov    0x120(%rsp),%rdx
lea    0x0(,%rdx,8),%rdx
mov    %rdx,0x1c0(%rsp)
mov    0x138(%rsp),%rdx
mov    %rdx,%rsi
shl    $0x6,%rsi
mov    %rsi,0x1d0(%rsp)
mov    0x160(%rsp),%rsi
lea    0x0(,%rsi,8),%rsi
mov    %rsi,0x150(%rsp)
mov    %rdi,%rsi
shl    $0x6,%rsi
mov    %rsi,0x170(%rsp)
shl    $0x4,%rdx
mov    %rdx,0x70(%rsp)
mov    %rdi,%rsi
shl    $0x4,%rsi
xor    %edx,%edx
mov    %rcx,0x180(%rsp)
mov    %rax,0x178(%rsp)
mov    %rsi,0x130(%rsp)
jmp    1bd7 <tce_sort_4_simd+0xa77>
nopl   0x0(%rax)
mov    0x1c8(%rsp),%rdx
add    $0x1,%rdx
mov    0x190(%rsp),%rax
add    %rax,0x198(%rsp)
add    %rax,0x178(%rsp)
mov    0x1c0(%rsp),%rax
add    %rax,0x188(%rsp)
add    %rax,0x180(%rsp)
cmp    0x58(%rsp),%rdx
je     1f4f <tce_sort_4_simd+0xdef>
mov    %rdx,0x1c8(%rsp)
cmpl   $0x0,0x60(%rsp)
jle    1b90 <tce_sort_4_simd+0xa30>
mov    0x180(%rsp),%rax
mov    %rax,0xd0(%rsp)
mov    0x188(%rsp),%rax
mov    %rax,0x88(%rsp)
mov    0x178(%rsp),%rax
mov    %rax,0x80(%rsp)
mov    0x198(%rsp),%rax
mov    %rax,0xc8(%rsp)
xor    %eax,%eax
mov    %rax,0x48(%rsp)
jmp    1c78 <tce_sort_4_simd+0xb18>
nop
mov    0x48(%rsp),%rcx
add    $0x8,%rcx
mov    0x148(%rsp),%rax
add    %rax,0xc8(%rsp)
add    %rax,0x80(%rsp)
mov    0x1d0(%rsp),%rax
add    %rax,0x88(%rsp)
add    %rax,0xd0(%rsp)
mov    %rcx,0x48(%rsp)
cmp    %ecx,0x60(%rsp)
jle    1b90 <tce_sort_4_simd+0xa30>
cmpl   $0x0,0x68(%rsp)
jle    1c30 <tce_sort_4_simd+0xad0>
mov    0x48(%rsp),%rax
add    $0x8,%eax
mov    0x60(%rsp),%rcx
cmp    %ecx,%eax
cmovle %eax,%ecx
mov    %ecx,0xf8(%rsp)
movslq %ecx,%rax
mov    %rax,0xb0(%rsp)
mov    0xd0(%rsp),%rax
mov    %rax,0x98(%rsp)
mov    0x88(%rsp),%rax
mov    %rax,0xf0(%rsp)
mov    0x80(%rsp),%rax
mov    %rax,0xe8(%rsp)
mov    0xc8(%rsp),%rax
mov    %rax,0x90(%rsp)
xor    %ecx,%ecx
jmp    1d37 <tce_sort_4_simd+0xbd7>
nopw   0x0(%rax,%rax,1)
mov    0x168(%rsp),%rcx
add    $0x1,%rcx
mov    0x158(%rsp),%rax
add    %rax,0x90(%rsp)
add    %rax,0xe8(%rsp)
mov    0x150(%rsp),%rax
add    %rax,0xf0(%rsp)
add    %rax,0x98(%rsp)
cmp    0x68(%rsp),%rcx
je     1c30 <tce_sort_4_simd+0xad0>
mov    %rcx,0x168(%rsp)
cmpl   $0x0,0x8(%rsp)
jle    1cf0 <tce_sort_4_simd+0xb90>
mov    0x98(%rsp),%rax
mov    %rax,0x110(%rsp)
mov    0xf0(%rsp),%rax
mov    %rax,(%rsp)
mov    0xe8(%rsp),%rax
mov    %rax,0x108(%rsp)
mov    0x90(%rsp),%rax
mov    %rax,0x100(%rsp)
xor    %eax,%eax
mov    %rax,0x28(%rsp)
jmp    1dce <tce_sort_4_simd+0xc6e>
nopl   0x0(%rax,%rax,1)
mov    0x28(%rsp),%rcx
add    $0x8,%rcx
addq   $0x40,0x100(%rsp)
addq   $0x40,0x108(%rsp)
mov    0x170(%rsp),%rax
add    %rax,(%rsp)
add    %rax,0x110(%rsp)
mov    %rcx,0x28(%rsp)
cmp    %ecx,0x8(%rsp)
jle    1cf0 <tce_sort_4_simd+0xb90>
mov    0xf8(%rsp),%eax
cmp    0x48(%rsp),%eax
jle    1d90 <tce_sort_4_simd+0xc30>
mov    0x28(%rsp),%rax
add    $0x8,%eax
cmp    0x8(%rsp),%eax
mov    0xa0(%rsp),%rcx
cmovle %eax,%ecx
mov    %ecx,0x78(%rsp)
movslq %ecx,%rcx
mov    0x110(%rsp),%rax
mov    %rax,0x10(%rsp)
mov    (%rsp),%rax
mov    %rax,0x20(%rsp)
mov    0x108(%rsp),%rax
mov    %rax,0x30(%rsp)
mov    0x100(%rsp),%rax
mov    %rax,0x50(%rsp)
mov    0x48(%rsp),%rdx
mov    %rcx,0xb8(%rsp)
jmp    1e78 <tce_sort_4_simd+0xd18>
nopl   0x0(%rax,%rax,1)
mov    0x38(%rsp),%rdx
add    $0x2,%rdx
mov    0xa8(%rsp),%rax
add    %rax,0x50(%rsp)
add    %rax,0x30(%rsp)
mov    0x70(%rsp),%rax
add    %rax,0x20(%rsp)
add    %rax,0x10(%rsp)
cmp    0xb0(%rsp),%rdx
jge    1d90 <tce_sort_4_simd+0xc30>
mov    %rdx,0x38(%rsp)
mov    0x78(%rsp),%eax
cmp    0x28(%rsp),%eax
mov    0x44(%rsp),%ebx
jle    1e40 <tce_sort_4_simd+0xce0>
mov    0x10(%rsp),%rdi
mov    0x20(%rsp),%r14
mov    0x30(%rsp),%r12
mov    0x50(%rsp),%rbp
mov    0x28(%rsp),%r15
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %rdi,0x18(%rsp)
call   1080 <_mm_loadu_pd@plt>
mov    %eax,%edi
mov    %ebx,%esi
call   1070 <_mm_mul_pd@plt>
mov    %eax,%r13d
mov    %r14,%rdi
call   1080 <_mm_loadu_pd@plt>
mov    %eax,%edi
mov    %ebx,%esi
call   1070 <_mm_mul_pd@plt>
mov    %eax,%ebx
mov    %r13d,%edi
mov    %eax,%esi
xor    %edx,%edx
call   1050 <_mm_shuffle_pd@plt>
mov    %eax,0xc0(%rsp)
mov    %r13d,%edi
mov    %ebx,%esi
mov    $0x3,%edx
call   1050 <_mm_shuffle_pd@plt>
mov    %eax,%ebx
mov    %r12,%rdi
mov    0xc0(%rsp),%esi
call   1060 <_mm_storeu_pd@plt>
mov    %rbp,%rdi
mov    %ebx,%esi
mov    0x44(%rsp),%ebx
call   1060 <_mm_storeu_pd@plt>
mov    0x18(%rsp),%rdi
mov    0xb8(%rsp),%rcx
mov    0x130(%rsp),%rsi
add    $0x2,%r15
add    $0x10,%rbp
add    $0x10,%r12
add    %rsi,%r14
add    %rsi,%rdi
cmp    %rcx,%r15
jl     1eb0 <tce_sort_4_simd+0xd50>
jmp    1e40 <tce_sort_4_simd+0xce0>
cmpl   $0x3,0x1e8(%rsp)
03
mov    0x128(%rsp),%rdx
jne    23f4 <tce_sort_4_simd+0x1294>
cmpl   $0x0,0x58(%rsp)
jle    23f4 <tce_sort_4_simd+0x1294>
mov    0xe0(%rsp),%rax
mov    0x118(%rsp),%rcx
lea    (%rax,%rcx,8),%rax
mov    %rax,0x88(%rsp)
mov    %rcx,%rax
shl    $0x6,%rax
mov    %rax,0xc8(%rsp)
shlq   $0x3,0x140(%rsp)
mov    0x8(%rsp),%rax
shl    $0x3,%rax
mov    %rax,0xf0(%rsp)
shl    $0x4,%rcx
mov    %rcx,0x118(%rsp)
mov    0xd8(%rsp),%rax
lea    (%rax,%rdx,8),%rax
mov    %rax,0x80(%rsp)
mov    0x120(%rsp),%rax
mov    %rax,%rcx
shl    $0x6,%rcx
mov    %rcx,0x148(%rsp)
shlq   $0x3,0x138(%rsp)
shlq   $0x3,0x160(%rsp)
mov    %rdx,%rcx
shl    $0x6,%rcx
mov    %rcx,0x100(%rsp)
shl    $0x4,%rax
mov    %rax,0x120(%rsp)
shl    $0x4,%rdx
xor    %eax,%eax
mov    %rax,(%rsp)
mov    %rdx,0x128(%rsp)
jmp    2076 <tce_sort_4_simd+0xf16>
nopl   (%rax)
mov    (%rsp),%rcx
add    $0x8,%rcx
mov    0xc8(%rsp),%rax
add    %rax,0x88(%rsp)
add    %rax,0xe0(%rsp)
mov    0x148(%rsp),%rax
add    %rax,0x80(%rsp)
add    %rax,0xd8(%rsp)
mov    %rcx,(%rsp)
cmp    %ecx,0x58(%rsp)
jle    23f4 <tce_sort_4_simd+0x1294>
cmpl   $0x0,0x60(%rsp)
jle    2030 <tce_sort_4_simd+0xed0>
mov    (%rsp),%rax
add    $0x8,%eax
mov    0x58(%rsp),%rcx
cmp    %ecx,%eax
cmovle %eax,%ecx
mov    %ecx,0x108(%rsp)
movslq %ecx,%rax
mov    %rax,0x78(%rsp)
mov    0xd8(%rsp),%rax
mov    %rax,0x90(%rsp)
mov    0x80(%rsp),%rax
mov    %rax,0x158(%rsp)
mov    0xe0(%rsp),%rax
mov    %rax,0x150(%rsp)
mov    0x88(%rsp),%rax
mov    %rax,0xd0(%rsp)
xor    %ecx,%ecx
jmp    2137 <tce_sort_4_simd+0xfd7>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    0xe8(%rsp),%rcx
add    $0x1,%rcx
mov    0x140(%rsp),%rax
add    %rax,0xd0(%rsp)
add    %rax,0x150(%rsp)
mov    0x138(%rsp),%rax
add    %rax,0x158(%rsp)
add    %rax,0x90(%rsp)
cmp    0x60(%rsp),%rcx
je     2030 <tce_sort_4_simd+0xed0>
mov    %rcx,0xe8(%rsp)
cmpl   $0x0,0x68(%rsp)
jle    20f0 <tce_sort_4_simd+0xf90>
mov    0x90(%rsp),%rax
mov    %rax,0xf8(%rsp)
mov    0x158(%rsp),%rax
mov    %rax,0x170(%rsp)
mov    0x150(%rsp),%rax
mov    %rax,0x168(%rsp)
mov    0xd0(%rsp),%rax
mov    %rax,0x98(%rsp)
xor    %ecx,%ecx
jmp    21d4 <tce_sort_4_simd+0x1074>
nopw   0x0(%rax,%rax,1)
mov    0x48(%rsp),%rcx
add    $0x1,%rcx
mov    0xf0(%rsp),%rax
add    %rax,0x98(%rsp)
add    %rax,0x168(%rsp)
mov    0x160(%rsp),%rax
add    %rax,0x170(%rsp)
add    %rax,0xf8(%rsp)
cmp    0x68(%rsp),%rcx
je     20f0 <tce_sort_4_simd+0xf90>
mov    %rcx,0x48(%rsp)
cmpl   $0x0,0xa0(%rsp)
jle    2190 <tce_sort_4_simd+0x1030>
mov    0xf8(%rsp),%rax
mov    %rax,0xb0(%rsp)
mov    0x170(%rsp),%rax
mov    %rax,0xa8(%rsp)
mov    0x168(%rsp),%rax
mov    %rax,0x70(%rsp)
mov    0x98(%rsp),%rax
mov    %rax,0x110(%rsp)
xor    %eax,%eax
mov    %rax,0x38(%rsp)
jmp    2272 <tce_sort_4_simd+0x1112>
nopl   0x0(%rax)
mov    0x38(%rsp),%rcx
add    $0x8,%rcx
addq   $0x40,0x110(%rsp)
addq   $0x40,0x70(%rsp)
mov    0x100(%rsp),%rax
add    %rax,0xa8(%rsp)
add    %rax,0xb0(%rsp)
mov    %rcx,0x38(%rsp)
cmp    %ecx,0xa0(%rsp)
jle    2190 <tce_sort_4_simd+0x1030>
mov    0x108(%rsp),%eax
cmp    (%rsp),%eax
jle    2230 <tce_sort_4_simd+0x10d0>
mov    0x38(%rsp),%rax
add    $0x8,%eax
cmp    0xa0(%rsp),%eax
mov    0x8(%rsp),%rcx
cmovle %eax,%ecx
mov    %ecx,0x50(%rsp)
movslq %ecx,%rcx
mov    0xb0(%rsp),%rax
mov    %rax,0x28(%rsp)
mov    0xa8(%rsp),%rax
mov    %rax,0x10(%rsp)
mov    0x70(%rsp),%rax
mov    %rax,0x20(%rsp)
mov    0x110(%rsp),%rax
mov    %rax,0x30(%rsp)
mov    (%rsp),%rsi
mov    %rcx,0xb8(%rsp)
jmp    231b <tce_sort_4_simd+0x11bb>
nopl   0x0(%rax,%rax,1)
mov    0x130(%rsp),%rsi
add    $0x2,%rsi
mov    0x118(%rsp),%rax
add    %rax,0x30(%rsp)
add    %rax,0x20(%rsp)
mov    0x120(%rsp),%rax
add    %rax,0x10(%rsp)
add    %rax,0x28(%rsp)
cmp    0x78(%rsp),%rsi
jge    2230 <tce_sort_4_simd+0x10d0>
mov    %rsi,0x130(%rsp)
mov    0x50(%rsp),%eax
cmp    0x38(%rsp),%eax
mov    0x44(%rsp),%ebx
jle    22e0 <tce_sort_4_simd+0x1180>
mov    0x28(%rsp),%rax
mov    0x10(%rsp),%r14
mov    0x20(%rsp),%r12
mov    0x30(%rsp),%rbp
mov    0x38(%rsp),%r15
nopw   0x0(%rax,%rax,1)
mov    %rax,0x18(%rsp)
mov    0x18(%rsp),%rdi
call   1080 <_mm_loadu_pd@plt>
mov    %eax,%edi
mov    %ebx,%esi
call   1070 <_mm_mul_pd@plt>
mov    %eax,%r13d
mov    %r14,%rdi
call   1080 <_mm_loadu_pd@plt>
mov    %eax,%edi
mov    %ebx,%esi
call   1070 <_mm_mul_pd@plt>
mov    %eax,%ebx
mov    %r13d,%edi
mov    %eax,%esi
xor    %edx,%edx
call   1050 <_mm_shuffle_pd@plt>
mov    %eax,0xc0(%rsp)
mov    %r13d,%edi
mov    %ebx,%esi
mov    $0x3,%edx
call   1050 <_mm_shuffle_pd@plt>
mov    %eax,%ebx
mov    %r12,%rdi
mov    0xc0(%rsp),%esi
call   1060 <_mm_storeu_pd@plt>
mov    %rbp,%rdi
mov    %ebx,%esi
mov    0x44(%rsp),%ebx
call   1060 <_mm_storeu_pd@plt>
mov    0x18(%rsp),%rax
mov    0xb8(%rsp),%rcx
mov    0x128(%rsp),%rdx
add    $0x2,%r15
add    $0x10,%rbp
add    $0x10,%r12
add    %rdx,%r14
add    %rdx,%rax
cmp    %rcx,%r15
jl     2350 <tce_sort_4_simd+0x11f0>
jmp    22e0 <tce_sort_4_simd+0x1180>
add    $0x1f8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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