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

/* Variables and functions */
int /*<<< orphan*/ _mm256_permute2x128_si256(int /*<<< orphan*/,
                                             int /*<<< orphan*/, int);
int /*<<< orphan*/ _mm256_unpackhi_epi16(int /*<<< orphan*/,
                                         int /*<<< orphan*/);
int /*<<< orphan*/ _mm256_unpackhi_epi32(int /*<<< orphan*/,
                                         int /*<<< orphan*/);
int /*<<< orphan*/ _mm256_unpackhi_epi64(int /*<<< orphan*/,
                                         int /*<<< orphan*/);
int /*<<< orphan*/ _mm256_unpacklo_epi16(int /*<<< orphan*/,
                                         int /*<<< orphan*/);
int /*<<< orphan*/ _mm256_unpacklo_epi32(int /*<<< orphan*/,
                                         int /*<<< orphan*/);
int /*<<< orphan*/ _mm256_unpacklo_epi64(int /*<<< orphan*/,
                                         int /*<<< orphan*/);
void mm256_transpose_16x16(__m256i *in) {
  __m256i tr0_0 = _mm256_unpacklo_epi16(in[0], in[1]);
  __m256i tr0_1 = _mm256_unpackhi_epi16(in[0], in[1]);
  __m256i tr0_2 = _mm256_unpacklo_epi16(in[2], in[3]);
  __m256i tr0_3 = _mm256_unpackhi_epi16(in[2], in[3]);
  __m256i tr0_4 = _mm256_unpacklo_epi16(in[4], in[5]);
  __m256i tr0_5 = _mm256_unpackhi_epi16(in[4], in[5]);
  __m256i tr0_6 = _mm256_unpacklo_epi16(in[6], in[7]);
  __m256i tr0_7 = _mm256_unpackhi_epi16(in[6], in[7]);
  __m256i tr0_8 = _mm256_unpacklo_epi16(in[8], in[9]);
  __m256i tr0_9 = _mm256_unpackhi_epi16(in[8], in[9]);
  __m256i tr0_a = _mm256_unpacklo_epi16(in[10], in[11]);
  __m256i tr0_b = _mm256_unpackhi_epi16(in[10], in[11]);
  __m256i tr0_c = _mm256_unpacklo_epi16(in[12], in[13]);
  __m256i tr0_d = _mm256_unpackhi_epi16(in[12], in[13]);
  __m256i tr0_e = _mm256_unpacklo_epi16(in[14], in[15]);
  __m256i tr0_f = _mm256_unpackhi_epi16(in[14], in[15]);
  __m256i tr1_0 = _mm256_unpacklo_epi32(tr0_0, tr0_2);
  __m256i tr1_1 = _mm256_unpackhi_epi32(tr0_0, tr0_2);
  __m256i tr1_2 = _mm256_unpacklo_epi32(tr0_1, tr0_3);
  __m256i tr1_3 = _mm256_unpackhi_epi32(tr0_1, tr0_3);
  __m256i tr1_4 = _mm256_unpacklo_epi32(tr0_4, tr0_6);
  __m256i tr1_5 = _mm256_unpackhi_epi32(tr0_4, tr0_6);
  __m256i tr1_6 = _mm256_unpacklo_epi32(tr0_5, tr0_7);
  __m256i tr1_7 = _mm256_unpackhi_epi32(tr0_5, tr0_7);
  __m256i tr1_8 = _mm256_unpacklo_epi32(tr0_8, tr0_a);
  __m256i tr1_9 = _mm256_unpackhi_epi32(tr0_8, tr0_a);
  __m256i tr1_a = _mm256_unpacklo_epi32(tr0_9, tr0_b);
  __m256i tr1_b = _mm256_unpackhi_epi32(tr0_9, tr0_b);
  __m256i tr1_c = _mm256_unpacklo_epi32(tr0_c, tr0_e);
  __m256i tr1_d = _mm256_unpackhi_epi32(tr0_c, tr0_e);
  __m256i tr1_e = _mm256_unpacklo_epi32(tr0_d, tr0_f);
  __m256i tr1_f = _mm256_unpackhi_epi32(tr0_d, tr0_f);
  tr0_0 = _mm256_unpacklo_epi64(tr1_0, tr1_4);
  tr0_1 = _mm256_unpackhi_epi64(tr1_0, tr1_4);
  tr0_2 = _mm256_unpacklo_epi64(tr1_1, tr1_5);
  tr0_3 = _mm256_unpackhi_epi64(tr1_1, tr1_5);
  tr0_4 = _mm256_unpacklo_epi64(tr1_2, tr1_6);
  tr0_5 = _mm256_unpackhi_epi64(tr1_2, tr1_6);
  tr0_6 = _mm256_unpacklo_epi64(tr1_3, tr1_7);
  tr0_7 = _mm256_unpackhi_epi64(tr1_3, tr1_7);
  tr0_8 = _mm256_unpacklo_epi64(tr1_8, tr1_c);
  tr0_9 = _mm256_unpackhi_epi64(tr1_8, tr1_c);
  tr0_a = _mm256_unpacklo_epi64(tr1_9, tr1_d);
  tr0_b = _mm256_unpackhi_epi64(tr1_9, tr1_d);
  tr0_c = _mm256_unpacklo_epi64(tr1_a, tr1_e);
  tr0_d = _mm256_unpackhi_epi64(tr1_a, tr1_e);
  tr0_e = _mm256_unpacklo_epi64(tr1_b, tr1_f);
  tr0_f = _mm256_unpackhi_epi64(tr1_b, tr1_f);
  in[0] = _mm256_permute2x128_si256(tr0_0, tr0_8, 0x20);
  in[8] = _mm256_permute2x128_si256(tr0_0, tr0_8, 0x31);
  in[1] = _mm256_permute2x128_si256(tr0_1, tr0_9, 0x20);
  in[9] = _mm256_permute2x128_si256(tr0_1, tr0_9, 0x31);
  in[2] = _mm256_permute2x128_si256(tr0_2, tr0_a, 0x20);
  in[10] = _mm256_permute2x128_si256(tr0_2, tr0_a, 0x31);
  in[3] = _mm256_permute2x128_si256(tr0_3, tr0_b, 0x20);
  in[11] = _mm256_permute2x128_si256(tr0_3, tr0_b, 0x31);
  in[4] = _mm256_permute2x128_si256(tr0_4, tr0_c, 0x20);
  in[12] = _mm256_permute2x128_si256(tr0_4, tr0_c, 0x31);
  in[5] = _mm256_permute2x128_si256(tr0_5, tr0_d, 0x20);
  in[13] = _mm256_permute2x128_si256(tr0_5, tr0_d, 0x31);
  in[6] = _mm256_permute2x128_si256(tr0_6, tr0_e, 0x20);
  in[14] = _mm256_permute2x128_si256(tr0_6, tr0_e, 0x31);
  in[7] = _mm256_permute2x128_si256(tr0_7, tr0_f, 0x20);
  in[15] = _mm256_permute2x128_si256(tr0_7, tr0_f, 0x31);
}


x86 assembly (clang, -O0):
<mm256_transpose_16x16>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%esi
call   1030 <_mm256_unpacklo_epi16@plt>
mov    %eax,-0xc(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%esi
call   1090 <_mm256_unpackhi_epi16@plt>
mov    %eax,-0x10(%rbp)
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0xc(%rax),%esi
call   1030 <_mm256_unpacklo_epi16@plt>
mov    %eax,-0x14(%rbp)
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0xc(%rax),%esi
call   1090 <_mm256_unpackhi_epi16@plt>
mov    %eax,-0x18(%rbp)
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x14(%rax),%esi
call   1030 <_mm256_unpacklo_epi16@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x14(%rax),%esi
call   1090 <_mm256_unpackhi_epi16@plt>
mov    %eax,-0x20(%rbp)
mov    -0x8(%rbp),%rax
mov    0x18(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x1c(%rax),%esi
call   1030 <_mm256_unpacklo_epi16@plt>
mov    %eax,-0x24(%rbp)
mov    -0x8(%rbp),%rax
mov    0x18(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x1c(%rax),%esi
call   1090 <_mm256_unpackhi_epi16@plt>
mov    %eax,-0x28(%rbp)
mov    -0x8(%rbp),%rax
mov    0x20(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x24(%rax),%esi
call   1030 <_mm256_unpacklo_epi16@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x8(%rbp),%rax
mov    0x20(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x24(%rax),%esi
call   1090 <_mm256_unpackhi_epi16@plt>
mov    %eax,-0x30(%rbp)
mov    -0x8(%rbp),%rax
mov    0x28(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x2c(%rax),%esi
call   1030 <_mm256_unpacklo_epi16@plt>
mov    %eax,-0x34(%rbp)
mov    -0x8(%rbp),%rax
mov    0x28(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x2c(%rax),%esi
call   1090 <_mm256_unpackhi_epi16@plt>
mov    %eax,-0x38(%rbp)
mov    -0x8(%rbp),%rax
mov    0x30(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x34(%rax),%esi
call   1030 <_mm256_unpacklo_epi16@plt>
mov    %eax,-0x3c(%rbp)
mov    -0x8(%rbp),%rax
mov    0x30(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x34(%rax),%esi
call   1090 <_mm256_unpackhi_epi16@plt>
mov    %eax,-0x40(%rbp)
mov    -0x8(%rbp),%rax
mov    0x38(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x3c(%rax),%esi
call   1030 <_mm256_unpacklo_epi16@plt>
mov    %eax,-0x44(%rbp)
mov    -0x8(%rbp),%rax
mov    0x38(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x3c(%rax),%esi
call   1090 <_mm256_unpackhi_epi16@plt>
mov    %eax,-0x48(%rbp)
mov    -0xc(%rbp),%edi
mov    -0x14(%rbp),%esi
call   1050 <_mm256_unpacklo_epi32@plt>
mov    %eax,-0x4c(%rbp)
mov    -0xc(%rbp),%edi
mov    -0x14(%rbp),%esi
call   1060 <_mm256_unpackhi_epi32@plt>
mov    %eax,-0x50(%rbp)
mov    -0x10(%rbp),%edi
mov    -0x18(%rbp),%esi
call   1050 <_mm256_unpacklo_epi32@plt>
mov    %eax,-0x54(%rbp)
mov    -0x10(%rbp),%edi
mov    -0x18(%rbp),%esi
call   1060 <_mm256_unpackhi_epi32@plt>
mov    %eax,-0x58(%rbp)
mov    -0x1c(%rbp),%edi
mov    -0x24(%rbp),%esi
call   1050 <_mm256_unpacklo_epi32@plt>
mov    %eax,-0x5c(%rbp)
mov    -0x1c(%rbp),%edi
mov    -0x24(%rbp),%esi
call   1060 <_mm256_unpackhi_epi32@plt>
mov    %eax,-0x60(%rbp)
mov    -0x20(%rbp),%edi
mov    -0x28(%rbp),%esi
call   1050 <_mm256_unpacklo_epi32@plt>
mov    %eax,-0x64(%rbp)
mov    -0x20(%rbp),%edi
mov    -0x28(%rbp),%esi
call   1060 <_mm256_unpackhi_epi32@plt>
mov    %eax,-0x68(%rbp)
mov    -0x2c(%rbp),%edi
mov    -0x34(%rbp),%esi
call   1050 <_mm256_unpacklo_epi32@plt>
mov    %eax,-0x6c(%rbp)
mov    -0x2c(%rbp),%edi
mov    -0x34(%rbp),%esi
call   1060 <_mm256_unpackhi_epi32@plt>
mov    %eax,-0x70(%rbp)
mov    -0x30(%rbp),%edi
mov    -0x38(%rbp),%esi
call   1050 <_mm256_unpacklo_epi32@plt>
mov    %eax,-0x74(%rbp)
mov    -0x30(%rbp),%edi
mov    -0x38(%rbp),%esi
call   1060 <_mm256_unpackhi_epi32@plt>
mov    %eax,-0x78(%rbp)
mov    -0x3c(%rbp),%edi
mov    -0x44(%rbp),%esi
call   1050 <_mm256_unpacklo_epi32@plt>
mov    %eax,-0x7c(%rbp)
mov    -0x3c(%rbp),%edi
mov    -0x44(%rbp),%esi
call   1060 <_mm256_unpackhi_epi32@plt>
mov    %eax,-0x80(%rbp)
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
call   1050 <_mm256_unpacklo_epi32@plt>
mov    %eax,-0x84(%rbp)
mov    -0x40(%rbp),%edi
mov    -0x48(%rbp),%esi
call   1060 <_mm256_unpackhi_epi32@plt>
mov    %eax,-0x88(%rbp)
mov    -0x4c(%rbp),%edi
mov    -0x5c(%rbp),%esi
call   1040 <_mm256_unpacklo_epi64@plt>
mov    %eax,-0xc(%rbp)
mov    -0x4c(%rbp),%edi
mov    -0x5c(%rbp),%esi
call   1080 <_mm256_unpackhi_epi64@plt>
mov    %eax,-0x10(%rbp)
mov    -0x50(%rbp),%edi
mov    -0x60(%rbp),%esi
call   1040 <_mm256_unpacklo_epi64@plt>
mov    %eax,-0x14(%rbp)
mov    -0x50(%rbp),%edi
mov    -0x60(%rbp),%esi
call   1080 <_mm256_unpackhi_epi64@plt>
mov    %eax,-0x18(%rbp)
mov    -0x54(%rbp),%edi
mov    -0x64(%rbp),%esi
call   1040 <_mm256_unpacklo_epi64@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x54(%rbp),%edi
mov    -0x64(%rbp),%esi
call   1080 <_mm256_unpackhi_epi64@plt>
mov    %eax,-0x20(%rbp)
mov    -0x58(%rbp),%edi
mov    -0x68(%rbp),%esi
call   1040 <_mm256_unpacklo_epi64@plt>
mov    %eax,-0x24(%rbp)
mov    -0x58(%rbp),%edi
mov    -0x68(%rbp),%esi
call   1080 <_mm256_unpackhi_epi64@plt>
mov    %eax,-0x28(%rbp)
mov    -0x6c(%rbp),%edi
mov    -0x7c(%rbp),%esi
call   1040 <_mm256_unpacklo_epi64@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x6c(%rbp),%edi
mov    -0x7c(%rbp),%esi
call   1080 <_mm256_unpackhi_epi64@plt>
mov    %eax,-0x30(%rbp)
mov    -0x70(%rbp),%edi
mov    -0x80(%rbp),%esi
call   1040 <_mm256_unpacklo_epi64@plt>
mov    %eax,-0x34(%rbp)
mov    -0x70(%rbp),%edi
mov    -0x80(%rbp),%esi
call   1080 <_mm256_unpackhi_epi64@plt>
mov    %eax,-0x38(%rbp)
mov    -0x74(%rbp),%edi
mov    -0x84(%rbp),%esi
call   1040 <_mm256_unpacklo_epi64@plt>
mov    %eax,-0x3c(%rbp)
mov    -0x74(%rbp),%edi
mov    -0x84(%rbp),%esi
call   1080 <_mm256_unpackhi_epi64@plt>
mov    %eax,-0x40(%rbp)
mov    -0x78(%rbp),%edi
mov    -0x88(%rbp),%esi
call   1040 <_mm256_unpacklo_epi64@plt>
mov    %eax,-0x44(%rbp)
mov    -0x78(%rbp),%edi
mov    -0x88(%rbp),%esi
call   1080 <_mm256_unpackhi_epi64@plt>
mov    %eax,-0x48(%rbp)
mov    -0xc(%rbp),%edi
mov    -0x2c(%rbp),%esi
mov    $0x20,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,(%rax)
mov    -0xc(%rbp),%edi
mov    -0x2c(%rbp),%esi
mov    $0x31,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x20(%rax)
mov    -0x10(%rbp),%edi
mov    -0x30(%rbp),%esi
mov    $0x20,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x10(%rbp),%edi
mov    -0x30(%rbp),%esi
mov    $0x31,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x24(%rax)
mov    -0x14(%rbp),%edi
mov    -0x34(%rbp),%esi
mov    $0x20,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0x14(%rbp),%edi
mov    -0x34(%rbp),%esi
mov    $0x31,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x28(%rax)
mov    -0x18(%rbp),%edi
mov    -0x38(%rbp),%esi
mov    $0x20,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0xc(%rax)
mov    -0x18(%rbp),%edi
mov    -0x38(%rbp),%esi
mov    $0x31,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x2c(%rax)
mov    -0x1c(%rbp),%edi
mov    -0x3c(%rbp),%esi
mov    $0x20,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x10(%rax)
mov    -0x1c(%rbp),%edi
mov    -0x3c(%rbp),%esi
mov    $0x31,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x30(%rax)
mov    -0x20(%rbp),%edi
mov    -0x40(%rbp),%esi
mov    $0x20,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x14(%rax)
mov    -0x20(%rbp),%edi
mov    -0x40(%rbp),%esi
mov    $0x31,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x34(%rax)
mov    -0x24(%rbp),%edi
mov    -0x44(%rbp),%esi
mov    $0x20,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x18(%rax)
mov    -0x24(%rbp),%edi
mov    -0x44(%rbp),%esi
mov    $0x31,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x38(%rax)
mov    -0x28(%rbp),%edi
mov    -0x48(%rbp),%esi
mov    $0x20,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x1c(%rax)
mov    -0x28(%rbp),%edi
mov    -0x48(%rbp),%esi
mov    $0x31,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x3c(%rax)
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<mm256_transpose_16x16>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    %rdi,%rbx
mov    (%rdi),%edi
mov    0x4(%rbx),%esi
call   1030 <_mm256_unpacklo_epi16@plt>
mov    %eax,%ebp
mov    (%rbx),%edi
mov    0x4(%rbx),%esi
call   1090 <_mm256_unpackhi_epi16@plt>
mov    %eax,0x4(%rsp)
mov    0x8(%rbx),%edi
mov    0xc(%rbx),%esi
call   1030 <_mm256_unpacklo_epi16@plt>
mov    %eax,%r14d
mov    0x8(%rbx),%edi
mov    0xc(%rbx),%esi
call   1090 <_mm256_unpackhi_epi16@plt>
mov    %eax,0x38(%rsp)
mov    0x10(%rbx),%edi
mov    0x14(%rbx),%esi
call   1030 <_mm256_unpacklo_epi16@plt>
mov    %eax,0x8(%rsp)
mov    0x10(%rbx),%edi
mov    0x14(%rbx),%esi
call   1090 <_mm256_unpackhi_epi16@plt>
mov    %eax,0xc(%rsp)
mov    0x18(%rbx),%edi
mov    0x1c(%rbx),%esi
call   1030 <_mm256_unpacklo_epi16@plt>
mov    %eax,%r15d
mov    0x18(%rbx),%edi
mov    0x1c(%rbx),%esi
call   1090 <_mm256_unpackhi_epi16@plt>
mov    %eax,%r12d
mov    0x20(%rbx),%edi
mov    0x24(%rbx),%esi
call   1030 <_mm256_unpacklo_epi16@plt>
mov    %eax,0x2c(%rsp)
mov    0x20(%rbx),%edi
mov    0x24(%rbx),%esi
call   1090 <_mm256_unpackhi_epi16@plt>
mov    %eax,0x34(%rsp)
mov    0x28(%rbx),%edi
mov    0x2c(%rbx),%esi
call   1030 <_mm256_unpacklo_epi16@plt>
mov    %eax,(%rsp)
mov    0x28(%rbx),%edi
mov    0x2c(%rbx),%esi
call   1090 <_mm256_unpackhi_epi16@plt>
mov    %eax,0x28(%rsp)
mov    0x30(%rbx),%edi
mov    0x34(%rbx),%esi
call   1030 <_mm256_unpacklo_epi16@plt>
mov    %eax,0x1c(%rsp)
mov    0x30(%rbx),%edi
mov    0x34(%rbx),%esi
call   1090 <_mm256_unpackhi_epi16@plt>
mov    %eax,0x20(%rsp)
mov    0x38(%rbx),%edi
mov    0x3c(%rbx),%esi
call   1030 <_mm256_unpacklo_epi16@plt>
mov    %eax,%r13d
mov    0x38(%rbx),%edi
mov    0x3c(%rbx),%esi
call   1090 <_mm256_unpackhi_epi16@plt>
mov    %eax,0x10(%rsp)
mov    %ebp,%edi
mov    %r14d,%esi
call   1050 <_mm256_unpacklo_epi32@plt>
mov    %eax,0x44(%rsp)
mov    %ebp,%edi
mov    %r14d,%esi
call   1060 <_mm256_unpackhi_epi32@plt>
mov    %eax,0x18(%rsp)
mov    0x4(%rsp),%r14d
mov    %r14d,%edi
mov    0x38(%rsp),%ebp
mov    %ebp,%esi
call   1050 <_mm256_unpacklo_epi32@plt>
mov    %eax,0x24(%rsp)
mov    %r14d,%edi
mov    %ebp,%esi
call   1060 <_mm256_unpackhi_epi32@plt>
mov    %eax,0x30(%rsp)
mov    0x8(%rsp),%ebp
mov    %ebp,%edi
mov    %r15d,%esi
call   1050 <_mm256_unpacklo_epi32@plt>
mov    %eax,%r14d
mov    %ebp,%edi
mov    %r15d,%esi
call   1060 <_mm256_unpackhi_epi32@plt>
mov    %eax,0x4(%rsp)
mov    0xc(%rsp),%ebp
mov    %ebp,%edi
mov    %r12d,%esi
call   1050 <_mm256_unpacklo_epi32@plt>
mov    %eax,0x8(%rsp)
mov    %ebp,%edi
mov    %r12d,%esi
call   1060 <_mm256_unpackhi_epi32@plt>
mov    %eax,0xc(%rsp)
mov    0x2c(%rsp),%ebp
mov    %ebp,%edi
mov    (%rsp),%r12d
mov    %r12d,%esi
call   1050 <_mm256_unpacklo_epi32@plt>
mov    %eax,0x40(%rsp)
mov    %ebp,%edi
mov    %r12d,%esi
call   1060 <_mm256_unpackhi_epi32@plt>
mov    %eax,0x14(%rsp)
mov    0x34(%rsp),%ebp
mov    %ebp,%edi
mov    0x28(%rsp),%r12d
mov    %r12d,%esi
call   1050 <_mm256_unpacklo_epi32@plt>
mov    %eax,(%rsp)
mov    %ebp,%edi
mov    %r12d,%esi
call   1060 <_mm256_unpackhi_epi32@plt>
mov    %eax,0x28(%rsp)
mov    0x1c(%rsp),%ebp
mov    %ebp,%edi
mov    %r13d,%esi
call   1050 <_mm256_unpacklo_epi32@plt>
mov    %eax,%r12d
mov    %ebp,%edi
mov    %r13d,%esi
call   1060 <_mm256_unpackhi_epi32@plt>
mov    %eax,%r13d
mov    0x20(%rsp),%ebp
mov    %ebp,%edi
mov    0x10(%rsp),%r15d
mov    %r15d,%esi
call   1050 <_mm256_unpacklo_epi32@plt>
mov    %eax,0x3c(%rsp)
mov    %ebp,%edi
mov    %r15d,%esi
call   1060 <_mm256_unpackhi_epi32@plt>
mov    %eax,0x10(%rsp)
mov    0x44(%rsp),%ebp
mov    %ebp,%edi
mov    %r14d,%esi
call   1040 <_mm256_unpacklo_epi64@plt>
mov    %eax,0x1c(%rsp)
mov    %ebp,%edi
mov    %r14d,%esi
call   1080 <_mm256_unpackhi_epi64@plt>
mov    %eax,0x20(%rsp)
mov    0x18(%rsp),%ebp
mov    %ebp,%edi
mov    0x4(%rsp),%r14d
mov    %r14d,%esi
call   1040 <_mm256_unpacklo_epi64@plt>
mov    %eax,0x2c(%rsp)
mov    %ebp,%edi
mov    %r14d,%esi
call   1080 <_mm256_unpackhi_epi64@plt>
mov    %eax,0x34(%rsp)
mov    0x24(%rsp),%ebp
mov    %ebp,%edi
mov    0x8(%rsp),%r14d
mov    %r14d,%esi
call   1040 <_mm256_unpacklo_epi64@plt>
mov    %eax,0x38(%rsp)
mov    %ebp,%edi
mov    %r14d,%esi
call   1080 <_mm256_unpackhi_epi64@plt>
mov    %eax,0x4(%rsp)
mov    0x30(%rsp),%ebp
mov    %ebp,%edi
mov    0xc(%rsp),%r14d
mov    %r14d,%esi
call   1040 <_mm256_unpacklo_epi64@plt>
mov    %eax,0x8(%rsp)
mov    %ebp,%edi
mov    %r14d,%esi
call   1080 <_mm256_unpackhi_epi64@plt>
mov    %eax,0xc(%rsp)
mov    0x40(%rsp),%ebp
mov    %ebp,%edi
mov    %r12d,%esi
call   1040 <_mm256_unpacklo_epi64@plt>
mov    %eax,%r14d
mov    %ebp,%edi
mov    %r12d,%esi
call   1080 <_mm256_unpackhi_epi64@plt>
mov    %eax,%r15d
mov    0x14(%rsp),%ebp
mov    %ebp,%edi
mov    %r13d,%esi
call   1040 <_mm256_unpacklo_epi64@plt>
mov    %eax,%r12d
mov    %ebp,%edi
mov    %r13d,%esi
call   1080 <_mm256_unpackhi_epi64@plt>
mov    %eax,0x14(%rsp)
mov    (%rsp),%ebp
mov    %ebp,%edi
mov    0x3c(%rsp),%r13d
mov    %r13d,%esi
call   1040 <_mm256_unpacklo_epi64@plt>
mov    %eax,0x18(%rsp)
mov    %ebp,%edi
mov    %r13d,%esi
call   1080 <_mm256_unpackhi_epi64@plt>
mov    %eax,(%rsp)
mov    0x28(%rsp),%ebp
mov    %ebp,%edi
mov    0x10(%rsp),%r13d
mov    %r13d,%esi
call   1040 <_mm256_unpacklo_epi64@plt>
mov    %eax,0x24(%rsp)
mov    %ebp,%edi
mov    %r13d,%esi
call   1080 <_mm256_unpackhi_epi64@plt>
mov    %eax,0x30(%rsp)
mov    0x1c(%rsp),%ebp
mov    %ebp,%edi
mov    %r14d,%esi
mov    $0x20,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,(%rbx)
mov    %ebp,%edi
mov    %r14d,%esi
mov    $0x31,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,0x20(%rbx)
mov    0x20(%rsp),%ebp
mov    %ebp,%edi
mov    %r15d,%esi
mov    $0x20,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,0x4(%rbx)
mov    %ebp,%edi
mov    %r15d,%esi
mov    $0x31,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,0x24(%rbx)
mov    0x2c(%rsp),%ebp
mov    %ebp,%edi
mov    %r12d,%esi
mov    $0x20,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,0x8(%rbx)
mov    %ebp,%edi
mov    %r12d,%esi
mov    $0x31,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,0x28(%rbx)
mov    0x34(%rsp),%ebp
mov    %ebp,%edi
mov    0x14(%rsp),%r14d
mov    %r14d,%esi
mov    $0x20,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,0xc(%rbx)
mov    %ebp,%edi
mov    %r14d,%esi
mov    $0x31,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,0x2c(%rbx)
mov    0x38(%rsp),%ebp
mov    %ebp,%edi
mov    0x18(%rsp),%r14d
mov    %r14d,%esi
mov    $0x20,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,0x10(%rbx)
mov    %ebp,%edi
mov    %r14d,%esi
mov    $0x31,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,0x30(%rbx)
mov    0x4(%rsp),%ebp
mov    %ebp,%edi
mov    (%rsp),%r14d
mov    %r14d,%esi
mov    $0x20,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,0x14(%rbx)
mov    %ebp,%edi
mov    %r14d,%esi
mov    $0x31,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,0x34(%rbx)
mov    0x8(%rsp),%ebp
mov    %ebp,%edi
mov    0x24(%rsp),%r14d
mov    %r14d,%esi
mov    $0x20,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,0x18(%rbx)
mov    %ebp,%edi
mov    %r14d,%esi
mov    $0x31,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,0x38(%rbx)
mov    0xc(%rsp),%ebp
mov    %ebp,%edi
mov    0x30(%rsp),%r14d
mov    %r14d,%esi
mov    $0x20,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,0x1c(%rbx)
mov    %ebp,%edi
mov    %r14d,%esi
mov    $0x31,%edx
call   1070 <_mm256_permute2x128_si256@plt>
mov    %eax,0x3c(%rbx)
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define void @mm256_transpose_16x16(i32* nocapture %0) {
%2 = load i32, i32* %0
%3 = getelementptr inbounds i32, i32* %0, i64 1
%4 = load i32, i32* %3
%5 = tail call i32 @_mm256_unpacklo_epi16(i32 %2, i32 %4)
%6 = load i32, i32* %0
%7 = load i32, i32* %3
%8 = tail call i32 @_mm256_unpackhi_epi16(i32 %6, i32 %7)
%9 = getelementptr inbounds i32, i32* %0, i64 2
%10 = load i32, i32* %9
%11 = getelementptr inbounds i32, i32* %0, i64 3
%12 = load i32, i32* %11
%13 = tail call i32 @_mm256_unpacklo_epi16(i32 %10, i32 %12)
%14 = load i32, i32* %9
%15 = load i32, i32* %11
%16 = tail call i32 @_mm256_unpackhi_epi16(i32 %14, i32 %15)
%17 = getelementptr inbounds i32, i32* %0, i64 4
%18 = load i32, i32* %17
%19 = getelementptr inbounds i32, i32* %0, i64 5
%20 = load i32, i32* %19
%21 = tail call i32 @_mm256_unpacklo_epi16(i32 %18, i32 %20)
%22 = load i32, i32* %17
%23 = load i32, i32* %19
%24 = tail call i32 @_mm256_unpackhi_epi16(i32 %22, i32 %23)
%25 = getelementptr inbounds i32, i32* %0, i64 6
%26 = load i32, i32* %25
%27 = getelementptr inbounds i32, i32* %0, i64 7
%28 = load i32, i32* %27
%29 = tail call i32 @_mm256_unpacklo_epi16(i32 %26, i32 %28)
%30 = load i32, i32* %25
%31 = load i32, i32* %27
%32 = tail call i32 @_mm256_unpackhi_epi16(i32 %30, i32 %31)
%33 = getelementptr inbounds i32, i32* %0, i64 8
%34 = load i32, i32* %33
%35 = getelementptr inbounds i32, i32* %0, i64 9
%36 = load i32, i32* %35
%37 = tail call i32 @_mm256_unpacklo_epi16(i32 %34, i32 %36)
%38 = load i32, i32* %33
%39 = load i32, i32* %35
%40 = tail call i32 @_mm256_unpackhi_epi16(i32 %38, i32 %39)
%41 = getelementptr inbounds i32, i32* %0, i64 10
%42 = load i32, i32* %41
%43 = getelementptr inbounds i32, i32* %0, i64 11
%44 = load i32, i32* %43
%45 = tail call i32 @_mm256_unpacklo_epi16(i32 %42, i32 %44)
%46 = load i32, i32* %41
%47 = load i32, i32* %43
%48 = tail call i32 @_mm256_unpackhi_epi16(i32 %46, i32 %47)
%49 = getelementptr inbounds i32, i32* %0, i64 12
%50 = load i32, i32* %49
%51 = getelementptr inbounds i32, i32* %0, i64 13
%52 = load i32, i32* %51
%53 = tail call i32 @_mm256_unpacklo_epi16(i32 %50, i32 %52)
%54 = load i32, i32* %49
%55 = load i32, i32* %51
%56 = tail call i32 @_mm256_unpackhi_epi16(i32 %54, i32 %55)
%57 = getelementptr inbounds i32, i32* %0, i64 14
%58 = load i32, i32* %57
%59 = getelementptr inbounds i32, i32* %0, i64 15
%60 = load i32, i32* %59
%61 = tail call i32 @_mm256_unpacklo_epi16(i32 %58, i32 %60)
%62 = load i32, i32* %57
%63 = load i32, i32* %59
%64 = tail call i32 @_mm256_unpackhi_epi16(i32 %62, i32 %63)
%65 = tail call i32 @_mm256_unpacklo_epi32(i32 %5, i32 %13)
%66 = tail call i32 @_mm256_unpackhi_epi32(i32 %5, i32 %13)
%67 = tail call i32 @_mm256_unpacklo_epi32(i32 %8, i32 %16)
%68 = tail call i32 @_mm256_unpackhi_epi32(i32 %8, i32 %16)
%69 = tail call i32 @_mm256_unpacklo_epi32(i32 %21, i32 %29)
%70 = tail call i32 @_mm256_unpackhi_epi32(i32 %21, i32 %29)
%71 = tail call i32 @_mm256_unpacklo_epi32(i32 %24, i32 %32)
%72 = tail call i32 @_mm256_unpackhi_epi32(i32 %24, i32 %32)
%73 = tail call i32 @_mm256_unpacklo_epi32(i32 %37, i32 %45)
%74 = tail call i32 @_mm256_unpackhi_epi32(i32 %37, i32 %45)
%75 = tail call i32 @_mm256_unpacklo_epi32(i32 %40, i32 %48)
%76 = tail call i32 @_mm256_unpackhi_epi32(i32 %40, i32 %48)
%77 = tail call i32 @_mm256_unpacklo_epi32(i32 %53, i32 %61)
%78 = tail call i32 @_mm256_unpackhi_epi32(i32 %53, i32 %61)
%79 = tail call i32 @_mm256_unpacklo_epi32(i32 %56, i32 %64)
%80 = tail call i32 @_mm256_unpackhi_epi32(i32 %56, i32 %64)
%81 = tail call i32 @_mm256_unpacklo_epi64(i32 %65, i32 %69)
%82 = tail call i32 @_mm256_unpackhi_epi64(i32 %65, i32 %69)
%83 = tail call i32 @_mm256_unpacklo_epi64(i32 %66, i32 %70)
%84 = tail call i32 @_mm256_unpackhi_epi64(i32 %66, i32 %70)
%85 = tail call i32 @_mm256_unpacklo_epi64(i32 %67, i32 %71)
%86 = tail call i32 @_mm256_unpackhi_epi64(i32 %67, i32 %71)
%87 = tail call i32 @_mm256_unpacklo_epi64(i32 %68, i32 %72)
%88 = tail call i32 @_mm256_unpackhi_epi64(i32 %68, i32 %72)
%89 = tail call i32 @_mm256_unpacklo_epi64(i32 %73, i32 %77)
%90 = tail call i32 @_mm256_unpackhi_epi64(i32 %73, i32 %77)
%91 = tail call i32 @_mm256_unpacklo_epi64(i32 %74, i32 %78)
%92 = tail call i32 @_mm256_unpackhi_epi64(i32 %74, i32 %78)
%93 = tail call i32 @_mm256_unpacklo_epi64(i32 %75, i32 %79)
%94 = tail call i32 @_mm256_unpackhi_epi64(i32 %75, i32 %79)
%95 = tail call i32 @_mm256_unpacklo_epi64(i32 %76, i32 %80)
%96 = tail call i32 @_mm256_unpackhi_epi64(i32 %76, i32 %80)
%97 = tail call i32 @_mm256_permute2x128_si256(i32 %81, i32 %89, i32 32)
store i32 %97, i32* %0
%98 = tail call i32 @_mm256_permute2x128_si256(i32 %81, i32 %89, i32 49)
store i32 %98, i32* %33
%99 = tail call i32 @_mm256_permute2x128_si256(i32 %82, i32 %90, i32 32)
store i32 %99, i32* %3
%100 = tail call i32 @_mm256_permute2x128_si256(i32 %82, i32 %90, i32 49)
store i32 %100, i32* %35
%101 = tail call i32 @_mm256_permute2x128_si256(i32 %83, i32 %91, i32 32)
store i32 %101, i32* %9
%102 = tail call i32 @_mm256_permute2x128_si256(i32 %83, i32 %91, i32 49)
store i32 %102, i32* %41
%103 = tail call i32 @_mm256_permute2x128_si256(i32 %84, i32 %92, i32 32)
store i32 %103, i32* %11
%104 = tail call i32 @_mm256_permute2x128_si256(i32 %84, i32 %92, i32 49)
store i32 %104, i32* %43
%105 = tail call i32 @_mm256_permute2x128_si256(i32 %85, i32 %93, i32 32)
store i32 %105, i32* %17
%106 = tail call i32 @_mm256_permute2x128_si256(i32 %85, i32 %93, i32 49)
store i32 %106, i32* %49
%107 = tail call i32 @_mm256_permute2x128_si256(i32 %86, i32 %94, i32 32)
store i32 %107, i32* %19
%108 = tail call i32 @_mm256_permute2x128_si256(i32 %86, i32 %94, i32 49)
store i32 %108, i32* %51
%109 = tail call i32 @_mm256_permute2x128_si256(i32 %87, i32 %95, i32 32)
store i32 %109, i32* %25
%110 = tail call i32 @_mm256_permute2x128_si256(i32 %87, i32 %95, i32 49)
store i32 %110, i32* %57
%111 = tail call i32 @_mm256_permute2x128_si256(i32 %88, i32 %96, i32 32)
store i32 %111, i32* %27
%112 = tail call i32 @_mm256_permute2x128_si256(i32 %88, i32 %96, i32 49)
store i32 %112, i32* %59
ret void
}