#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*/ __m128i;

/* Variables and functions */
int /*<<< orphan*/ _mm_loadl_epi64(int /*<<< orphan*/ *);
int /*<<< orphan*/ _mm_storeu_si128(int /*<<< orphan*/ *, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_unpackhi_epi16(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_unpackhi_epi32(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_unpackhi_epi64(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_unpacklo_epi16(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_unpacklo_epi32(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_unpacklo_epi64(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_unpacklo_epi8(int /*<<< orphan*/, int /*<<< orphan*/);
void transpose8x16(unsigned char *in0, unsigned char *in1, int in_p,
                   unsigned char *out, int out_p) {
  __m128i x0, x1, x2, x3, x4, x5, x6, x7;
  __m128i x8, x9, x10, x11, x12, x13, x14, x15;
  x0 = _mm_loadl_epi64((__m128i *)in0);
  x1 = _mm_loadl_epi64((__m128i *)(in0 + in_p));
  x0 = _mm_unpacklo_epi8(x0, x1);
  x2 = _mm_loadl_epi64((__m128i *)(in0 + 2 * in_p));
  x3 = _mm_loadl_epi64((__m128i *)(in0 + 3 * in_p));
  x1 = _mm_unpacklo_epi8(x2, x3);
  x4 = _mm_loadl_epi64((__m128i *)(in0 + 4 * in_p));
  x5 = _mm_loadl_epi64((__m128i *)(in0 + 5 * in_p));
  x2 = _mm_unpacklo_epi8(x4, x5);
  x6 = _mm_loadl_epi64((__m128i *)(in0 + 6 * in_p));
  x7 = _mm_loadl_epi64((__m128i *)(in0 + 7 * in_p));
  x3 = _mm_unpacklo_epi8(x6, x7);
  x4 = _mm_unpacklo_epi16(x0, x1);
  x8 = _mm_loadl_epi64((__m128i *)in1);
  x9 = _mm_loadl_epi64((__m128i *)(in1 + in_p));
  x8 = _mm_unpacklo_epi8(x8, x9);
  x5 = _mm_unpacklo_epi16(x2, x3);
  x10 = _mm_loadl_epi64((__m128i *)(in1 + 2 * in_p));
  x11 = _mm_loadl_epi64((__m128i *)(in1 + 3 * in_p));
  x9 = _mm_unpacklo_epi8(x10, x11);
  x12 = _mm_loadl_epi64((__m128i *)(in1 + 4 * in_p));
  x13 = _mm_loadl_epi64((__m128i *)(in1 + 5 * in_p));
  x10 = _mm_unpacklo_epi8(x12, x13);
  x12 = _mm_unpacklo_epi16(x8, x9);
  x14 = _mm_loadl_epi64((__m128i *)(in1 + 6 * in_p));
  x15 = _mm_loadl_epi64((__m128i *)(in1 + 7 * in_p));
  x11 = _mm_unpacklo_epi8(x14, x15);
  x13 = _mm_unpacklo_epi16(x10, x11);
  x6 = _mm_unpacklo_epi32(x4, x5);
  x7 = _mm_unpackhi_epi32(x4, x5);
  x14 = _mm_unpacklo_epi32(x12, x13);
  x15 = _mm_unpackhi_epi32(x12, x13);
  _mm_storeu_si128((__m128i *)out, _mm_unpacklo_epi64(x6, x14));
  _mm_storeu_si128((__m128i *)(out + out_p), _mm_unpackhi_epi64(x6, x14));
  _mm_storeu_si128((__m128i *)(out + 2 * out_p), _mm_unpacklo_epi64(x7, x15));
  _mm_storeu_si128((__m128i *)(out + 3 * out_p), _mm_unpackhi_epi64(x7, x15));
  x4 = _mm_unpackhi_epi16(x0, x1);
  x5 = _mm_unpackhi_epi16(x2, x3);
  x12 = _mm_unpackhi_epi16(x8, x9);
  x13 = _mm_unpackhi_epi16(x10, x11);
  x6 = _mm_unpacklo_epi32(x4, x5);
  x7 = _mm_unpackhi_epi32(x4, x5);
  x14 = _mm_unpacklo_epi32(x12, x13);
  x15 = _mm_unpackhi_epi32(x12, x13);
  _mm_storeu_si128((__m128i *)(out + 4 * out_p), _mm_unpacklo_epi64(x6, x14));
  _mm_storeu_si128((__m128i *)(out + 5 * out_p), _mm_unpackhi_epi64(x6, x14));
  _mm_storeu_si128((__m128i *)(out + 6 * out_p), _mm_unpacklo_epi64(x7, x15));
  _mm_storeu_si128((__m128i *)(out + 7 * out_p), _mm_unpackhi_epi64(x7, x15));
}


x86 assembly (clang, -O0):
<transpose8x16>:
push   %rbp
mov    %rsp,%rbp
sub    $0xb0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8d,-0x24(%rbp)
mov    -0x8(%rbp),%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %eax,-0x28(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x14(%rbp),%rax
add    %rax,%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x28(%rbp),%edi
mov    -0x2c(%rbp),%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,-0x28(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%eax
shl    $0x1,%eax
cltq
add    %rax,%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %eax,-0x30(%rbp)
mov    -0x8(%rbp),%rdi
imul   $0x3,-0x14(%rbp),%eax
cltq
add    %rax,%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %eax,-0x34(%rbp)
mov    -0x30(%rbp),%edi
mov    -0x34(%rbp),%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%eax
shl    $0x2,%eax
cltq
add    %rax,%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %eax,-0x38(%rbp)
mov    -0x8(%rbp),%rdi
imul   $0x5,-0x14(%rbp),%eax
cltq
add    %rax,%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %eax,-0x3c(%rbp)
mov    -0x38(%rbp),%edi
mov    -0x3c(%rbp),%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,-0x30(%rbp)
mov    -0x8(%rbp),%rdi
imul   $0x6,-0x14(%rbp),%eax
cltq
add    %rax,%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %eax,-0x40(%rbp)
mov    -0x8(%rbp),%rdi
imul   $0x7,-0x14(%rbp),%eax
cltq
add    %rax,%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %eax,-0x44(%rbp)
mov    -0x40(%rbp),%edi
mov    -0x44(%rbp),%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,-0x34(%rbp)
mov    -0x28(%rbp),%edi
mov    -0x2c(%rbp),%esi
call   1090 <_mm_unpacklo_epi16@plt>
mov    %eax,-0x38(%rbp)
mov    -0x10(%rbp),%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %eax,-0x48(%rbp)
mov    -0x10(%rbp),%rdi
movslq -0x14(%rbp),%rax
add    %rax,%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %eax,-0x4c(%rbp)
mov    -0x48(%rbp),%edi
mov    -0x4c(%rbp),%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,-0x48(%rbp)
mov    -0x30(%rbp),%edi
mov    -0x34(%rbp),%esi
call   1090 <_mm_unpacklo_epi16@plt>
mov    %eax,-0x3c(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%eax
shl    $0x1,%eax
cltq
add    %rax,%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %eax,-0x50(%rbp)
mov    -0x10(%rbp),%rdi
imul   $0x3,-0x14(%rbp),%eax
cltq
add    %rax,%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %eax,-0x54(%rbp)
mov    -0x50(%rbp),%edi
mov    -0x54(%rbp),%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,-0x4c(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%eax
shl    $0x2,%eax
cltq
add    %rax,%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %eax,-0x58(%rbp)
mov    -0x10(%rbp),%rdi
imul   $0x5,-0x14(%rbp),%eax
cltq
add    %rax,%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %eax,-0x5c(%rbp)
mov    -0x58(%rbp),%edi
mov    -0x5c(%rbp),%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,-0x50(%rbp)
mov    -0x48(%rbp),%edi
mov    -0x4c(%rbp),%esi
call   1090 <_mm_unpacklo_epi16@plt>
mov    %eax,-0x58(%rbp)
mov    -0x10(%rbp),%rdi
imul   $0x6,-0x14(%rbp),%eax
cltq
add    %rax,%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %eax,-0x60(%rbp)
mov    -0x10(%rbp),%rdi
imul   $0x7,-0x14(%rbp),%eax
cltq
add    %rax,%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %eax,-0x64(%rbp)
mov    -0x60(%rbp),%edi
mov    -0x64(%rbp),%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,-0x54(%rbp)
mov    -0x50(%rbp),%edi
mov    -0x54(%rbp),%esi
call   1090 <_mm_unpacklo_epi16@plt>
mov    %eax,-0x5c(%rbp)
mov    -0x38(%rbp),%edi
mov    -0x3c(%rbp),%esi
call   1040 <_mm_unpacklo_epi32@plt>
mov    %eax,-0x40(%rbp)
mov    -0x38(%rbp),%edi
mov    -0x3c(%rbp),%esi
call   10b0 <_mm_unpackhi_epi32@plt>
mov    %eax,-0x44(%rbp)
mov    -0x58(%rbp),%edi
mov    -0x5c(%rbp),%esi
call   1040 <_mm_unpacklo_epi32@plt>
mov    %eax,-0x60(%rbp)
mov    -0x58(%rbp),%edi
mov    -0x5c(%rbp),%esi
call   10b0 <_mm_unpackhi_epi32@plt>
mov    %eax,-0x64(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0xa8(%rbp)
mov    -0x40(%rbp),%edi
mov    -0x60(%rbp),%esi
call   10a0 <_mm_unpacklo_epi64@plt>
mov    -0xa8(%rbp),%rdi
mov    %eax,%esi
call   1080 <_mm_storeu_si128@plt>
mov    -0x20(%rbp),%rax
movslq -0x24(%rbp),%rcx
add    %rcx,%rax
mov    %rax,-0xa0(%rbp)
mov    -0x40(%rbp),%edi
mov    -0x60(%rbp),%esi
call   1060 <_mm_unpackhi_epi64@plt>
mov    -0xa0(%rbp),%rdi
mov    %eax,%esi
call   1080 <_mm_storeu_si128@plt>
mov    -0x20(%rbp),%rax
mov    -0x24(%rbp),%ecx
shl    $0x1,%ecx
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x98(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x64(%rbp),%esi
call   10a0 <_mm_unpacklo_epi64@plt>
mov    -0x98(%rbp),%rdi
mov    %eax,%esi
call   1080 <_mm_storeu_si128@plt>
mov    -0x20(%rbp),%rax
imul   $0x3,-0x24(%rbp),%ecx
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x90(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x64(%rbp),%esi
call   1060 <_mm_unpackhi_epi64@plt>
mov    -0x90(%rbp),%rdi
mov    %eax,%esi
call   1080 <_mm_storeu_si128@plt>
mov    -0x28(%rbp),%edi
mov    -0x2c(%rbp),%esi
call   1050 <_mm_unpackhi_epi16@plt>
mov    %eax,-0x38(%rbp)
mov    -0x30(%rbp),%edi
mov    -0x34(%rbp),%esi
call   1050 <_mm_unpackhi_epi16@plt>
mov    %eax,-0x3c(%rbp)
mov    -0x48(%rbp),%edi
mov    -0x4c(%rbp),%esi
call   1050 <_mm_unpackhi_epi16@plt>
mov    %eax,-0x58(%rbp)
mov    -0x50(%rbp),%edi
mov    -0x54(%rbp),%esi
call   1050 <_mm_unpackhi_epi16@plt>
mov    %eax,-0x5c(%rbp)
mov    -0x38(%rbp),%edi
mov    -0x3c(%rbp),%esi
call   1040 <_mm_unpacklo_epi32@plt>
mov    %eax,-0x40(%rbp)
mov    -0x38(%rbp),%edi
mov    -0x3c(%rbp),%esi
call   10b0 <_mm_unpackhi_epi32@plt>
mov    %eax,-0x44(%rbp)
mov    -0x58(%rbp),%edi
mov    -0x5c(%rbp),%esi
call   1040 <_mm_unpacklo_epi32@plt>
mov    %eax,-0x60(%rbp)
mov    -0x58(%rbp),%edi
mov    -0x5c(%rbp),%esi
call   10b0 <_mm_unpackhi_epi32@plt>
mov    %eax,-0x64(%rbp)
mov    -0x20(%rbp),%rax
mov    -0x24(%rbp),%ecx
shl    $0x2,%ecx
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x88(%rbp)
mov    -0x40(%rbp),%edi
mov    -0x60(%rbp),%esi
call   10a0 <_mm_unpacklo_epi64@plt>
mov    -0x88(%rbp),%rdi
mov    %eax,%esi
call   1080 <_mm_storeu_si128@plt>
mov    -0x20(%rbp),%rax
imul   $0x5,-0x24(%rbp),%ecx
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x80(%rbp)
mov    -0x40(%rbp),%edi
mov    -0x60(%rbp),%esi
call   1060 <_mm_unpackhi_epi64@plt>
mov    -0x80(%rbp),%rdi
mov    %eax,%esi
call   1080 <_mm_storeu_si128@plt>
mov    -0x20(%rbp),%rax
imul   $0x6,-0x24(%rbp),%ecx
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x78(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x64(%rbp),%esi
call   10a0 <_mm_unpacklo_epi64@plt>
mov    -0x78(%rbp),%rdi
mov    %eax,%esi
call   1080 <_mm_storeu_si128@plt>
mov    -0x20(%rbp),%rax
imul   $0x7,-0x24(%rbp),%ecx
movslq %ecx,%rcx
add    %rcx,%rax
mov    %rax,-0x70(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x64(%rbp),%esi
call   1060 <_mm_unpackhi_epi64@plt>
mov    -0x70(%rbp),%rdi
mov    %eax,%esi
call   1080 <_mm_storeu_si128@plt>
add    $0xb0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<transpose8x16>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x68,%rsp
mov    %r8d,0x38(%rsp)
mov    %rcx,0x50(%rsp)
mov    %edx,%ebx
mov    %rsi,%r14
mov    %rdi,%r13
call   1070 <_mm_loadl_epi64@plt>
mov    %eax,%ebp
movslq %ebx,%r12
lea    (%r12,%r13,1),%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %ebp,%edi
mov    %eax,%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,0xc(%rsp)
lea    (%r12,%r12,1),%eax
cltq
lea    (%rax,%r13,1),%rdi
mov    %rax,%rbp
mov    %rax,0x58(%rsp)
call   1070 <_mm_loadl_epi64@plt>
mov    %eax,%ebx
lea    (%r12,%r12,2),%eax
cltq
mov    %rax,0x30(%rsp)
lea    (%rax,%r13,1),%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,0x14(%rsp)
lea    0x0(,%r12,4),%eax
cltq
mov    %rax,0x28(%rsp)
lea    (%rax,%r13,1),%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %eax,%r15d
lea    (%r12,%r12,4),%eax
cltq
mov    %rax,0x18(%rsp)
lea    (%rax,%r13,1),%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %r15d,%edi
mov    %eax,%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,%r15d
mov    %eax,0x4c(%rsp)
lea    0x0(%rbp,%rbp,2),%eax
cltq
mov    %rax,0x20(%rsp)
lea    (%rax,%r13,1),%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %eax,%ebx
lea    0x0(,%r12,8),%eax
sub    %r12d,%eax
cltq
mov    %rax,0x60(%rsp)
add    %rax,%r13
mov    %r13,%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,%ebp
mov    %eax,0x48(%rsp)
mov    0xc(%rsp),%edi
mov    0x14(%rsp),%esi
call   1090 <_mm_unpacklo_epi16@plt>
mov    %eax,0x10(%rsp)
mov    %r14,%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %eax,%ebx
add    %r14,%r12
mov    %r12,%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,%r13d
mov    %eax,0x44(%rsp)
mov    %r15d,%edi
mov    %ebp,%esi
call   1090 <_mm_unpacklo_epi16@plt>
mov    %eax,0x40(%rsp)
mov    0x58(%rsp),%rdi
add    %r14,%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %eax,%ebx
mov    0x30(%rsp),%rdi
add    %r14,%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,%ebp
mov    %eax,0x30(%rsp)
mov    0x28(%rsp),%rdi
add    %r14,%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %eax,%ebx
mov    0x18(%rsp),%rdi
add    %r14,%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,%r15d
mov    %eax,0x28(%rsp)
mov    %r13d,%edi
mov    %ebp,%esi
call   1090 <_mm_unpacklo_epi16@plt>
mov    %eax,%r12d
mov    0x20(%rsp),%rdi
add    %r14,%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %eax,%ebx
add    0x60(%rsp),%r14
mov    %r14,%rdi
call   1070 <_mm_loadl_epi64@plt>
mov    %ebx,%edi
mov    %eax,%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,0x20(%rsp)
mov    %r15d,%edi
mov    %eax,%esi
call   1090 <_mm_unpacklo_epi16@plt>
mov    %eax,%r14d
mov    0x10(%rsp),%ebx
mov    %ebx,%edi
mov    0x40(%rsp),%ebp
mov    %ebp,%esi
call   1040 <_mm_unpacklo_epi32@plt>
mov    %eax,%r13d
mov    %ebx,%edi
mov    %ebp,%esi
call   10b0 <_mm_unpackhi_epi32@plt>
mov    %eax,0x10(%rsp)
mov    %r12d,%edi
mov    %r14d,%esi
call   1040 <_mm_unpacklo_epi32@plt>
mov    %eax,%r15d
mov    %r12d,%edi
mov    %r14d,%esi
call   10b0 <_mm_unpackhi_epi32@plt>
mov    %eax,0x18(%rsp)
mov    %r13d,%edi
mov    %r15d,%esi
call   10a0 <_mm_unpacklo_epi64@plt>
mov    0x50(%rsp),%r12
mov    %r12,%rdi
mov    %eax,%esi
call   1080 <_mm_storeu_si128@plt>
movslq 0x38(%rsp),%r14
lea    (%r12,%r14,1),%rbp
mov    %r13d,%edi
mov    %r15d,%esi
call   1060 <_mm_unpackhi_epi64@plt>
mov    %rbp,%rdi
mov    %eax,%esi
call   1080 <_mm_storeu_si128@plt>
lea    (%r14,%r14,1),%eax
cltq
mov    %rax,0x38(%rsp)
lea    (%r12,%rax,1),%rbx
mov    0x10(%rsp),%ebp
mov    %ebp,%edi
mov    0x18(%rsp),%r15d
mov    %r15d,%esi
call   10a0 <_mm_unpacklo_epi64@plt>
mov    %rbx,%rdi
mov    %eax,%esi
call   1080 <_mm_storeu_si128@plt>
lea    (%r14,%r14,2),%eax
movslq %eax,%rbx
add    %r12,%rbx
mov    %ebp,%edi
mov    %r15d,%esi
call   1060 <_mm_unpackhi_epi64@plt>
mov    %rbx,%rdi
mov    %eax,%esi
call   1080 <_mm_storeu_si128@plt>
mov    0xc(%rsp),%edi
mov    0x14(%rsp),%esi
call   1050 <_mm_unpackhi_epi16@plt>
mov    %eax,%r13d
mov    0x4c(%rsp),%edi
mov    0x48(%rsp),%esi
call   1050 <_mm_unpackhi_epi16@plt>
mov    %eax,%ebx
mov    0x44(%rsp),%edi
mov    0x30(%rsp),%esi
call   1050 <_mm_unpackhi_epi16@plt>
mov    %eax,%r12d
mov    0x28(%rsp),%edi
mov    0x20(%rsp),%esi
call   1050 <_mm_unpackhi_epi16@plt>
mov    %eax,%ebp
mov    %r13d,%edi
mov    %ebx,%esi
call   1040 <_mm_unpacklo_epi32@plt>
mov    %eax,%r15d
mov    %r13d,%edi
mov    %ebx,%esi
call   10b0 <_mm_unpackhi_epi32@plt>
mov    %eax,0xc(%rsp)
mov    %r12d,%edi
mov    %ebp,%esi
call   1040 <_mm_unpacklo_epi32@plt>
mov    %eax,%ebx
mov    %r12d,%edi
mov    %ebp,%esi
call   10b0 <_mm_unpackhi_epi32@plt>
mov    %eax,%r12d
lea    0x0(,%r14,4),%eax
movslq %eax,%rbp
mov    0x50(%rsp),%r13
add    %r13,%rbp
mov    %r15d,%edi
mov    %ebx,%esi
call   10a0 <_mm_unpacklo_epi64@plt>
mov    %rbp,%rdi
mov    %eax,%esi
call   1080 <_mm_storeu_si128@plt>
lea    (%r14,%r14,4),%eax
movslq %eax,%rbp
add    %r13,%rbp
mov    %r15d,%edi
mov    %ebx,%esi
call   1060 <_mm_unpackhi_epi64@plt>
mov    %rbp,%rdi
mov    %eax,%esi
call   1080 <_mm_storeu_si128@plt>
mov    0x38(%rsp),%rax
lea    (%rax,%rax,2),%eax
movslq %eax,%rbx
add    %r13,%rbx
mov    0xc(%rsp),%r15d
mov    %r15d,%edi
mov    %r12d,%esi
call   10a0 <_mm_unpacklo_epi64@plt>
mov    %rbx,%rdi
mov    %eax,%esi
call   1080 <_mm_storeu_si128@plt>
lea    0x0(,%r14,8),%eax
sub    %r14d,%eax
movslq %eax,%rbx
add    %r13,%rbx
mov    %r15d,%edi
mov    %r12d,%esi
call   1060 <_mm_unpackhi_epi64@plt>
mov    %rbx,%rdi
mov    %eax,%esi
add    $0x68,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1080 <_mm_storeu_si128@plt>

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

LLVM IR (-O2):
define void @transpose8x16(i8* %0, i8* %1, i32 %2, i8* %3, i32 %4) {
%6 = bitcast i8* %0 to i32*
%7 = tail call i32 @_mm_loadl_epi64(i32* %6)
%8 = sext i32 %2 to i64
%9 = getelementptr inbounds i8, i8* %0, i64 %8
%10 = bitcast i8* %9 to i32*
%11 = tail call i32 @_mm_loadl_epi64(i32* %10)
%12 = tail call i32 @_mm_unpacklo_epi8(i32 %7, i32 %11)
%13 = shl nsw i32 %2, 1
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, i8* %0, i64 %14
%16 = bitcast i8* %15 to i32*
%17 = tail call i32 @_mm_loadl_epi64(i32* %16)
%18 = mul nsw i32 %2, 3
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, i8* %0, i64 %19
%21 = bitcast i8* %20 to i32*
%22 = tail call i32 @_mm_loadl_epi64(i32* %21)
%23 = tail call i32 @_mm_unpacklo_epi8(i32 %17, i32 %22)
%24 = shl nsw i32 %2, 2
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, i8* %0, i64 %25
%27 = bitcast i8* %26 to i32*
%28 = tail call i32 @_mm_loadl_epi64(i32* %27)
%29 = mul nsw i32 %2, 5
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, i8* %0, i64 %30
%32 = bitcast i8* %31 to i32*
%33 = tail call i32 @_mm_loadl_epi64(i32* %32)
%34 = tail call i32 @_mm_unpacklo_epi8(i32 %28, i32 %33)
%35 = mul nsw i32 %2, 6
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, i8* %0, i64 %36
%38 = bitcast i8* %37 to i32*
%39 = tail call i32 @_mm_loadl_epi64(i32* %38)
%40 = mul nsw i32 %2, 7
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, i8* %0, i64 %41
%43 = bitcast i8* %42 to i32*
%44 = tail call i32 @_mm_loadl_epi64(i32* %43)
%45 = tail call i32 @_mm_unpacklo_epi8(i32 %39, i32 %44)
%46 = tail call i32 @_mm_unpacklo_epi16(i32 %12, i32 %23)
%47 = bitcast i8* %1 to i32*
%48 = tail call i32 @_mm_loadl_epi64(i32* %47)
%49 = getelementptr inbounds i8, i8* %1, i64 %8
%50 = bitcast i8* %49 to i32*
%51 = tail call i32 @_mm_loadl_epi64(i32* %50)
%52 = tail call i32 @_mm_unpacklo_epi8(i32 %48, i32 %51)
%53 = tail call i32 @_mm_unpacklo_epi16(i32 %34, i32 %45)
%54 = getelementptr inbounds i8, i8* %1, i64 %14
%55 = bitcast i8* %54 to i32*
%56 = tail call i32 @_mm_loadl_epi64(i32* %55)
%57 = getelementptr inbounds i8, i8* %1, i64 %19
%58 = bitcast i8* %57 to i32*
%59 = tail call i32 @_mm_loadl_epi64(i32* %58)
%60 = tail call i32 @_mm_unpacklo_epi8(i32 %56, i32 %59)
%61 = getelementptr inbounds i8, i8* %1, i64 %25
%62 = bitcast i8* %61 to i32*
%63 = tail call i32 @_mm_loadl_epi64(i32* %62)
%64 = getelementptr inbounds i8, i8* %1, i64 %30
%65 = bitcast i8* %64 to i32*
%66 = tail call i32 @_mm_loadl_epi64(i32* %65)
%67 = tail call i32 @_mm_unpacklo_epi8(i32 %63, i32 %66)
%68 = tail call i32 @_mm_unpacklo_epi16(i32 %52, i32 %60)
%69 = getelementptr inbounds i8, i8* %1, i64 %36
%70 = bitcast i8* %69 to i32*
%71 = tail call i32 @_mm_loadl_epi64(i32* %70)
%72 = getelementptr inbounds i8, i8* %1, i64 %41
%73 = bitcast i8* %72 to i32*
%74 = tail call i32 @_mm_loadl_epi64(i32* %73)
%75 = tail call i32 @_mm_unpacklo_epi8(i32 %71, i32 %74)
%76 = tail call i32 @_mm_unpacklo_epi16(i32 %67, i32 %75)
%77 = tail call i32 @_mm_unpacklo_epi32(i32 %46, i32 %53)
%78 = tail call i32 @_mm_unpackhi_epi32(i32 %46, i32 %53)
%79 = tail call i32 @_mm_unpacklo_epi32(i32 %68, i32 %76)
%80 = tail call i32 @_mm_unpackhi_epi32(i32 %68, i32 %76)
%81 = bitcast i8* %3 to i32*
%82 = tail call i32 @_mm_unpacklo_epi64(i32 %77, i32 %79)
%83 = tail call i32 @_mm_storeu_si128(i32* %81, i32 %82)
%84 = sext i32 %4 to i64
%85 = getelementptr inbounds i8, i8* %3, i64 %84
%86 = bitcast i8* %85 to i32*
%87 = tail call i32 @_mm_unpackhi_epi64(i32 %77, i32 %79)
%88 = tail call i32 @_mm_storeu_si128(i32* %86, i32 %87)
%89 = shl nsw i32 %4, 1
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i8, i8* %3, i64 %90
%92 = bitcast i8* %91 to i32*
%93 = tail call i32 @_mm_unpacklo_epi64(i32 %78, i32 %80)
%94 = tail call i32 @_mm_storeu_si128(i32* %92, i32 %93)
%95 = mul nsw i32 %4, 3
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i8, i8* %3, i64 %96
%98 = bitcast i8* %97 to i32*
%99 = tail call i32 @_mm_unpackhi_epi64(i32 %78, i32 %80)
%100 = tail call i32 @_mm_storeu_si128(i32* %98, i32 %99)
%101 = tail call i32 @_mm_unpackhi_epi16(i32 %12, i32 %23)
%102 = tail call i32 @_mm_unpackhi_epi16(i32 %34, i32 %45)
%103 = tail call i32 @_mm_unpackhi_epi16(i32 %52, i32 %60)
%104 = tail call i32 @_mm_unpackhi_epi16(i32 %67, i32 %75)
%105 = tail call i32 @_mm_unpacklo_epi32(i32 %101, i32 %102)
%106 = tail call i32 @_mm_unpackhi_epi32(i32 %101, i32 %102)
%107 = tail call i32 @_mm_unpacklo_epi32(i32 %103, i32 %104)
%108 = tail call i32 @_mm_unpackhi_epi32(i32 %103, i32 %104)
%109 = shl nsw i32 %4, 2
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i8, i8* %3, i64 %110
%112 = bitcast i8* %111 to i32*
%113 = tail call i32 @_mm_unpacklo_epi64(i32 %105, i32 %107)
%114 = tail call i32 @_mm_storeu_si128(i32* %112, i32 %113)
%115 = mul nsw i32 %4, 5
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i8, i8* %3, i64 %116
%118 = bitcast i8* %117 to i32*
%119 = tail call i32 @_mm_unpackhi_epi64(i32 %105, i32 %107)
%120 = tail call i32 @_mm_storeu_si128(i32* %118, i32 %119)
%121 = mul nsw i32 %4, 6
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds i8, i8* %3, i64 %122
%124 = bitcast i8* %123 to i32*
%125 = tail call i32 @_mm_unpacklo_epi64(i32 %106, i32 %108)
%126 = tail call i32 @_mm_storeu_si128(i32* %124, i32 %125)
%127 = mul nsw i32 %4, 7
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds i8, i8* %3, i64 %128
%130 = bitcast i8* %129 to i32*
%131 = tail call i32 @_mm_unpackhi_epi64(i32 %106, i32 %108)
%132 = tail call i32 @_mm_storeu_si128(i32* %130, i32 %131)
ret void
}