#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_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_unpackhi_epi8(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 TAA_H264_16X16_TRANSPOSE(__m128i X[16], __m128i Y[16]) {
  __m128i x3, x7, x11, x15, x19, x23, x27, x31, x4, x8, x12, x16, x20, x24, x28,
      x32;
  __m128i y17, y19, y21, y23, y25, y27, y29, y31, y18, y20, y22, y24, y26, y28,
      y30, y32;
  __m128i z17, z19, z21, z23, z25, z27, z29, z31, z18, z20, z22, z24, z26, z28,
      z30, z32;
  x3 = _mm_unpacklo_epi8(X[0], X[1]);
  x4 = _mm_unpackhi_epi8(X[0], X[1]);
  x7 = _mm_unpacklo_epi8(X[2], X[3]);
  x8 = _mm_unpackhi_epi8(X[2], X[3]);
  x11 = _mm_unpacklo_epi8(X[4], X[5]);
  x12 = _mm_unpackhi_epi8(X[4], X[5]);
  x15 = _mm_unpacklo_epi8(X[6], X[7]);
  x16 = _mm_unpackhi_epi8(X[6], X[7]);
  x19 = _mm_unpacklo_epi8(X[8], X[9]);
  x20 = _mm_unpackhi_epi8(X[8], X[9]);
  x23 = _mm_unpacklo_epi8(X[10], X[11]);
  x24 = _mm_unpackhi_epi8(X[10], X[11]);
  x27 = _mm_unpacklo_epi8(X[12], X[13]);
  x28 = _mm_unpackhi_epi8(X[12], X[13]);
  x31 = _mm_unpacklo_epi8(X[14], X[15]);
  x32 = _mm_unpackhi_epi8(X[14], X[15]);
  y17 = _mm_unpacklo_epi16(x3, x7);
  y18 = _mm_unpackhi_epi16(x3, x7);
  y19 = _mm_unpacklo_epi16(x4, x8);
  y20 = _mm_unpackhi_epi16(x4, x8);
  y21 = _mm_unpacklo_epi16(x11, x15);
  y22 = _mm_unpackhi_epi16(x11, x15);
  y23 = _mm_unpacklo_epi16(x12, x16);
  y24 = _mm_unpackhi_epi16(x12, x16);
  y25 = _mm_unpacklo_epi16(x19, x23);
  y26 = _mm_unpackhi_epi16(x19, x23);
  y27 = _mm_unpacklo_epi16(x20, x24);
  y28 = _mm_unpackhi_epi16(x20, x24);
  y29 = _mm_unpacklo_epi16(x27, x31);
  y30 = _mm_unpackhi_epi16(x27, x31);
  y31 = _mm_unpacklo_epi16(x28, x32);
  y32 = _mm_unpackhi_epi16(x28, x32);
  z17 = _mm_unpacklo_epi32(y17, y21);
  z18 = _mm_unpackhi_epi32(y17, y21);
  z19 = _mm_unpacklo_epi32(y18, y22);
  z20 = _mm_unpackhi_epi32(y18, y22);
  z21 = _mm_unpacklo_epi32(y19, y23);
  z22 = _mm_unpackhi_epi32(y19, y23);
  z23 = _mm_unpacklo_epi32(y20, y24);
  z24 = _mm_unpackhi_epi32(y20, y24);
  z25 = _mm_unpacklo_epi32(y25, y29);
  z26 = _mm_unpackhi_epi32(y25, y29);
  z27 = _mm_unpacklo_epi32(y26, y30);
  z28 = _mm_unpackhi_epi32(y26, y30);
  z29 = _mm_unpacklo_epi32(y27, y31);
  z30 = _mm_unpackhi_epi32(y27, y31);
  z31 = _mm_unpacklo_epi32(y28, y32);
  z32 = _mm_unpackhi_epi32(y28, y32);
  Y[0] = _mm_unpacklo_epi64(z17, z25);
  Y[1] = _mm_unpackhi_epi64(z17, z25);
  Y[2] = _mm_unpacklo_epi64(z18, z26);
  Y[3] = _mm_unpackhi_epi64(z18, z26);
  Y[4] = _mm_unpacklo_epi64(z19, z27);
  Y[5] = _mm_unpackhi_epi64(z19, z27);
  Y[6] = _mm_unpacklo_epi64(z20, z28);
  Y[7] = _mm_unpackhi_epi64(z20, z28);
  Y[8] = _mm_unpacklo_epi64(z21, z29);
  Y[9] = _mm_unpackhi_epi64(z21, z29);
  Y[10] = _mm_unpacklo_epi64(z22, z30);
  Y[11] = _mm_unpackhi_epi64(z22, z30);
  Y[12] = _mm_unpacklo_epi64(z23, z31);
  Y[13] = _mm_unpackhi_epi64(z23, z31);
  Y[14] = _mm_unpacklo_epi64(z24, z32);
  Y[15] = _mm_unpackhi_epi64(z24, z32);
}


x86 assembly (clang, -O0):
<TAA_H264_16X16_TRANSPOSE>:
push   %rbp
mov    %rsp,%rbp
sub    $0xd0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,-0x14(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%esi
call   1040 <_mm_unpackhi_epi8@plt>
mov    %eax,-0x34(%rbp)
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0xc(%rax),%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,-0x18(%rbp)
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0xc(%rax),%esi
call   1040 <_mm_unpackhi_epi8@plt>
mov    %eax,-0x38(%rbp)
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x14(%rax),%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x14(%rax),%esi
call   1040 <_mm_unpackhi_epi8@plt>
mov    %eax,-0x3c(%rbp)
mov    -0x8(%rbp),%rax
mov    0x18(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x1c(%rax),%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,-0x20(%rbp)
mov    -0x8(%rbp),%rax
mov    0x18(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x1c(%rax),%esi
call   1040 <_mm_unpackhi_epi8@plt>
mov    %eax,-0x40(%rbp)
mov    -0x8(%rbp),%rax
mov    0x20(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x24(%rax),%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,-0x24(%rbp)
mov    -0x8(%rbp),%rax
mov    0x20(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x24(%rax),%esi
call   1040 <_mm_unpackhi_epi8@plt>
mov    %eax,-0x44(%rbp)
mov    -0x8(%rbp),%rax
mov    0x28(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x2c(%rax),%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,-0x28(%rbp)
mov    -0x8(%rbp),%rax
mov    0x28(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x2c(%rax),%esi
call   1040 <_mm_unpackhi_epi8@plt>
mov    %eax,-0x48(%rbp)
mov    -0x8(%rbp),%rax
mov    0x30(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x34(%rax),%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x8(%rbp),%rax
mov    0x30(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x34(%rax),%esi
call   1040 <_mm_unpackhi_epi8@plt>
mov    %eax,-0x4c(%rbp)
mov    -0x8(%rbp),%rax
mov    0x38(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x3c(%rax),%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,-0x30(%rbp)
mov    -0x8(%rbp),%rax
mov    0x38(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x3c(%rax),%esi
call   1040 <_mm_unpackhi_epi8@plt>
mov    %eax,-0x50(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x18(%rbp),%esi
call   1080 <_mm_unpacklo_epi16@plt>
mov    %eax,-0x54(%rbp)
mov    -0x14(%rbp),%edi
mov    -0x18(%rbp),%esi
call   1060 <_mm_unpackhi_epi16@plt>
mov    %eax,-0x74(%rbp)
mov    -0x34(%rbp),%edi
mov    -0x38(%rbp),%esi
call   1080 <_mm_unpacklo_epi16@plt>
mov    %eax,-0x58(%rbp)
mov    -0x34(%rbp),%edi
mov    -0x38(%rbp),%esi
call   1060 <_mm_unpackhi_epi16@plt>
mov    %eax,-0x78(%rbp)
mov    -0x1c(%rbp),%edi
mov    -0x20(%rbp),%esi
call   1080 <_mm_unpacklo_epi16@plt>
mov    %eax,-0x5c(%rbp)
mov    -0x1c(%rbp),%edi
mov    -0x20(%rbp),%esi
call   1060 <_mm_unpackhi_epi16@plt>
mov    %eax,-0x7c(%rbp)
mov    -0x3c(%rbp),%edi
mov    -0x40(%rbp),%esi
call   1080 <_mm_unpacklo_epi16@plt>
mov    %eax,-0x60(%rbp)
mov    -0x3c(%rbp),%edi
mov    -0x40(%rbp),%esi
call   1060 <_mm_unpackhi_epi16@plt>
mov    %eax,-0x80(%rbp)
mov    -0x24(%rbp),%edi
mov    -0x28(%rbp),%esi
call   1080 <_mm_unpacklo_epi16@plt>
mov    %eax,-0x64(%rbp)
mov    -0x24(%rbp),%edi
mov    -0x28(%rbp),%esi
call   1060 <_mm_unpackhi_epi16@plt>
mov    %eax,-0x84(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x48(%rbp),%esi
call   1080 <_mm_unpacklo_epi16@plt>
mov    %eax,-0x68(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x48(%rbp),%esi
call   1060 <_mm_unpackhi_epi16@plt>
mov    %eax,-0x88(%rbp)
mov    -0x2c(%rbp),%edi
mov    -0x30(%rbp),%esi
call   1080 <_mm_unpacklo_epi16@plt>
mov    %eax,-0x6c(%rbp)
mov    -0x2c(%rbp),%edi
mov    -0x30(%rbp),%esi
call   1060 <_mm_unpackhi_epi16@plt>
mov    %eax,-0x8c(%rbp)
mov    -0x4c(%rbp),%edi
mov    -0x50(%rbp),%esi
call   1080 <_mm_unpacklo_epi16@plt>
mov    %eax,-0x70(%rbp)
mov    -0x4c(%rbp),%edi
mov    -0x50(%rbp),%esi
call   1060 <_mm_unpackhi_epi16@plt>
mov    %eax,-0x90(%rbp)
mov    -0x54(%rbp),%edi
mov    -0x5c(%rbp),%esi
call   1050 <_mm_unpacklo_epi32@plt>
mov    %eax,-0x94(%rbp)
mov    -0x54(%rbp),%edi
mov    -0x5c(%rbp),%esi
call   10a0 <_mm_unpackhi_epi32@plt>
mov    %eax,-0xb4(%rbp)
mov    -0x74(%rbp),%edi
mov    -0x7c(%rbp),%esi
call   1050 <_mm_unpacklo_epi32@plt>
mov    %eax,-0x98(%rbp)
mov    -0x74(%rbp),%edi
mov    -0x7c(%rbp),%esi
call   10a0 <_mm_unpackhi_epi32@plt>
mov    %eax,-0xb8(%rbp)
mov    -0x58(%rbp),%edi
mov    -0x60(%rbp),%esi
call   1050 <_mm_unpacklo_epi32@plt>
mov    %eax,-0x9c(%rbp)
mov    -0x58(%rbp),%edi
mov    -0x60(%rbp),%esi
call   10a0 <_mm_unpackhi_epi32@plt>
mov    %eax,-0xbc(%rbp)
mov    -0x78(%rbp),%edi
mov    -0x80(%rbp),%esi
call   1050 <_mm_unpacklo_epi32@plt>
mov    %eax,-0xa0(%rbp)
mov    -0x78(%rbp),%edi
mov    -0x80(%rbp),%esi
call   10a0 <_mm_unpackhi_epi32@plt>
mov    %eax,-0xc0(%rbp)
mov    -0x64(%rbp),%edi
mov    -0x6c(%rbp),%esi
call   1050 <_mm_unpacklo_epi32@plt>
mov    %eax,-0xa4(%rbp)
mov    -0x64(%rbp),%edi
mov    -0x6c(%rbp),%esi
call   10a0 <_mm_unpackhi_epi32@plt>
mov    %eax,-0xc4(%rbp)
mov    -0x84(%rbp),%edi
mov    -0x8c(%rbp),%esi
call   1050 <_mm_unpacklo_epi32@plt>
mov    %eax,-0xa8(%rbp)
mov    -0x84(%rbp),%edi
mov    -0x8c(%rbp),%esi
call   10a0 <_mm_unpackhi_epi32@plt>
mov    %eax,-0xc8(%rbp)
mov    -0x68(%rbp),%edi
mov    -0x70(%rbp),%esi
call   1050 <_mm_unpacklo_epi32@plt>
mov    %eax,-0xac(%rbp)
mov    -0x68(%rbp),%edi
mov    -0x70(%rbp),%esi
call   10a0 <_mm_unpackhi_epi32@plt>
mov    %eax,-0xcc(%rbp)
mov    -0x88(%rbp),%edi
mov    -0x90(%rbp),%esi
call   1050 <_mm_unpacklo_epi32@plt>
mov    %eax,-0xb0(%rbp)
mov    -0x88(%rbp),%edi
mov    -0x90(%rbp),%esi
call   10a0 <_mm_unpackhi_epi32@plt>
mov    %eax,-0xd0(%rbp)
mov    -0x94(%rbp),%edi
mov    -0xa4(%rbp),%esi
call   1090 <_mm_unpacklo_epi64@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x94(%rbp),%edi
mov    -0xa4(%rbp),%esi
call   1070 <_mm_unpackhi_epi64@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0xb4(%rbp),%edi
mov    -0xc4(%rbp),%esi
call   1090 <_mm_unpacklo_epi64@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0xb4(%rbp),%edi
mov    -0xc4(%rbp),%esi
call   1070 <_mm_unpackhi_epi64@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0xc(%rax)
mov    -0x98(%rbp),%edi
mov    -0xa8(%rbp),%esi
call   1090 <_mm_unpacklo_epi64@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x10(%rax)
mov    -0x98(%rbp),%edi
mov    -0xa8(%rbp),%esi
call   1070 <_mm_unpackhi_epi64@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x14(%rax)
mov    -0xb8(%rbp),%edi
mov    -0xc8(%rbp),%esi
call   1090 <_mm_unpacklo_epi64@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x18(%rax)
mov    -0xb8(%rbp),%edi
mov    -0xc8(%rbp),%esi
call   1070 <_mm_unpackhi_epi64@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x1c(%rax)
mov    -0x9c(%rbp),%edi
mov    -0xac(%rbp),%esi
call   1090 <_mm_unpacklo_epi64@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x20(%rax)
mov    -0x9c(%rbp),%edi
mov    -0xac(%rbp),%esi
call   1070 <_mm_unpackhi_epi64@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x24(%rax)
mov    -0xbc(%rbp),%edi
mov    -0xcc(%rbp),%esi
call   1090 <_mm_unpacklo_epi64@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x28(%rax)
mov    -0xbc(%rbp),%edi
mov    -0xcc(%rbp),%esi
call   1070 <_mm_unpackhi_epi64@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x2c(%rax)
mov    -0xa0(%rbp),%edi
mov    -0xb0(%rbp),%esi
call   1090 <_mm_unpacklo_epi64@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x30(%rax)
mov    -0xa0(%rbp),%edi
mov    -0xb0(%rbp),%esi
call   1070 <_mm_unpackhi_epi64@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x34(%rax)
mov    -0xc0(%rbp),%edi
mov    -0xd0(%rbp),%esi
call   1090 <_mm_unpacklo_epi64@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x38(%rax)
mov    -0xc0(%rbp),%edi
mov    -0xd0(%rbp),%esi
call   1070 <_mm_unpackhi_epi64@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,0x3c(%rax)
add    $0xd0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<TAA_H264_16X16_TRANSPOSE>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
mov    %rsi,%r15
mov    %rdi,%rbp
mov    (%rdi),%edi
mov    0x4(%rbp),%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,%r12d
mov    0x0(%rbp),%edi
mov    0x4(%rbp),%esi
call   1040 <_mm_unpackhi_epi8@plt>
mov    %eax,%r14d
mov    0x8(%rbp),%edi
mov    0xc(%rbp),%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,%r13d
mov    0x8(%rbp),%edi
mov    0xc(%rbp),%esi
call   1040 <_mm_unpackhi_epi8@plt>
mov    %eax,0x48(%rsp)
mov    0x10(%rbp),%edi
mov    0x14(%rbp),%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,0x10(%rsp)
mov    0x10(%rbp),%edi
mov    0x14(%rbp),%esi
call   1040 <_mm_unpackhi_epi8@plt>
mov    %eax,0x14(%rsp)
mov    0x18(%rbp),%edi
mov    0x1c(%rbp),%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,%ebx
mov    0x18(%rbp),%edi
mov    0x1c(%rbp),%esi
call   1040 <_mm_unpackhi_epi8@plt>
mov    %eax,0x38(%rsp)
mov    0x20(%rbp),%edi
mov    0x24(%rbp),%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,0x40(%rsp)
mov    0x20(%rbp),%edi
mov    0x24(%rbp),%esi
call   1040 <_mm_unpackhi_epi8@plt>
mov    %eax,0x44(%rsp)
mov    0x28(%rbp),%edi
mov    0x2c(%rbp),%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,0xc(%rsp)
mov    0x28(%rbp),%edi
mov    0x2c(%rbp),%esi
call   1040 <_mm_unpackhi_epi8@plt>
mov    %eax,0x20(%rsp)
mov    0x30(%rbp),%edi
mov    0x34(%rbp),%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,0x2c(%rsp)
mov    0x30(%rbp),%edi
mov    0x34(%rbp),%esi
call   1040 <_mm_unpackhi_epi8@plt>
mov    %eax,0x34(%rsp)
mov    0x38(%rbp),%edi
mov    0x3c(%rbp),%esi
call   1030 <_mm_unpacklo_epi8@plt>
mov    %eax,0x18(%rsp)
mov    0x38(%rbp),%edi
mov    0x3c(%rbp),%esi
call   1040 <_mm_unpackhi_epi8@plt>
mov    %eax,0x1c(%rsp)
mov    %r12d,%edi
mov    %r13d,%esi
call   1080 <_mm_unpacklo_epi16@plt>
mov    %eax,0x54(%rsp)
mov    %r12d,%edi
mov    %r13d,%esi
call   1060 <_mm_unpackhi_epi16@plt>
mov    %eax,0x28(%rsp)
mov    %r14d,%edi
mov    0x48(%rsp),%r13d
mov    %r13d,%esi
call   1080 <_mm_unpacklo_epi16@plt>
mov    %eax,0x30(%rsp)
mov    %r14d,%edi
mov    %r13d,%esi
call   1060 <_mm_unpackhi_epi16@plt>
mov    %eax,0x3c(%rsp)
mov    0x10(%rsp),%ebp
mov    %ebp,%edi
mov    %ebx,%esi
call   1080 <_mm_unpacklo_epi16@plt>
mov    %eax,%r13d
mov    %ebp,%edi
mov    %ebx,%esi
call   1060 <_mm_unpackhi_epi16@plt>
mov    %eax,%r12d
mov    0x14(%rsp),%ebp
mov    %ebp,%edi
mov    0x38(%rsp),%ebx
mov    %ebx,%esi
call   1080 <_mm_unpacklo_epi16@plt>
mov    %eax,0x10(%rsp)
mov    %ebp,%edi
mov    %ebx,%esi
call   1060 <_mm_unpackhi_epi16@plt>
mov    %eax,0x14(%rsp)
mov    0x40(%rsp),%ebp
mov    %ebp,%edi
mov    0xc(%rsp),%ebx
mov    %ebx,%esi
call   1080 <_mm_unpacklo_epi16@plt>
mov    %eax,0x50(%rsp)
mov    %ebp,%edi
mov    %ebx,%esi
call   1060 <_mm_unpackhi_epi16@plt>
mov    %eax,0x24(%rsp)
mov    0x44(%rsp),%ebp
mov    %ebp,%edi
mov    0x20(%rsp),%ebx
mov    %ebx,%esi
call   1080 <_mm_unpacklo_epi16@plt>
mov    %eax,0xc(%rsp)
mov    %ebp,%edi
mov    %ebx,%esi
call   1060 <_mm_unpackhi_epi16@plt>
mov    %eax,0x38(%rsp)
mov    0x2c(%rsp),%ebx
mov    %ebx,%edi
mov    0x18(%rsp),%ebp
mov    %ebp,%esi
call   1080 <_mm_unpacklo_epi16@plt>
mov    %eax,%r14d
mov    %ebx,%edi
mov    %ebp,%esi
call   1060 <_mm_unpackhi_epi16@plt>
mov    %eax,0x4c(%rsp)
mov    0x34(%rsp),%ebp
mov    %ebp,%edi
mov    0x1c(%rsp),%ebx
mov    %ebx,%esi
call   1080 <_mm_unpacklo_epi16@plt>
mov    %eax,0x18(%rsp)
mov    %ebp,%edi
mov    %ebx,%esi
call   1060 <_mm_unpackhi_epi16@plt>
mov    %eax,0x1c(%rsp)
mov    0x54(%rsp),%ebp
mov    %ebp,%edi
mov    %r13d,%esi
call   1050 <_mm_unpacklo_epi32@plt>
mov    %eax,0x20(%rsp)
mov    %ebp,%edi
mov    %r13d,%esi
call   10a0 <_mm_unpackhi_epi32@plt>
mov    %eax,0x2c(%rsp)
mov    0x28(%rsp),%ebp
mov    %ebp,%edi
mov    %r12d,%esi
call   1050 <_mm_unpacklo_epi32@plt>
mov    %eax,0x34(%rsp)
mov    %ebp,%edi
mov    %r12d,%esi
call   10a0 <_mm_unpackhi_epi32@plt>
mov    %eax,0x40(%rsp)
mov    0x30(%rsp),%ebp
mov    %ebp,%edi
mov    0x10(%rsp),%ebx
mov    %ebx,%esi
call   1050 <_mm_unpacklo_epi32@plt>
mov    %eax,0x44(%rsp)
mov    %ebp,%edi
mov    %ebx,%esi
call   10a0 <_mm_unpackhi_epi32@plt>
mov    %eax,0x48(%rsp)
mov    0x3c(%rsp),%ebp
mov    %ebp,%edi
mov    0x14(%rsp),%ebx
mov    %ebx,%esi
call   1050 <_mm_unpacklo_epi32@plt>
mov    %eax,0x10(%rsp)
mov    %ebp,%edi
mov    %ebx,%esi
call   10a0 <_mm_unpackhi_epi32@plt>
mov    %eax,0x14(%rsp)
mov    0x50(%rsp),%ebp
mov    %ebp,%edi
mov    %r14d,%esi
call   1050 <_mm_unpacklo_epi32@plt>
mov    %eax,%r12d
mov    %ebp,%edi
mov    %r14d,%esi
call   10a0 <_mm_unpackhi_epi32@plt>
mov    %eax,%r14d
mov    0x24(%rsp),%ebp
mov    %ebp,%edi
mov    0x4c(%rsp),%ebx
mov    %ebx,%esi
call   1050 <_mm_unpacklo_epi32@plt>
mov    %eax,%r13d
mov    %ebp,%edi
mov    %ebx,%esi
call   10a0 <_mm_unpackhi_epi32@plt>
mov    %eax,0x24(%rsp)
mov    0xc(%rsp),%ebp
mov    %ebp,%edi
mov    0x18(%rsp),%ebx
mov    %ebx,%esi
call   1050 <_mm_unpacklo_epi32@plt>
mov    %eax,0x28(%rsp)
mov    %ebp,%edi
mov    %ebx,%esi
call   10a0 <_mm_unpackhi_epi32@plt>
mov    %eax,0xc(%rsp)
mov    0x38(%rsp),%ebp
mov    %ebp,%edi
mov    0x1c(%rsp),%ebx
mov    %ebx,%esi
call   1050 <_mm_unpacklo_epi32@plt>
mov    %eax,0x30(%rsp)
mov    %ebp,%edi
mov    %ebx,%esi
call   10a0 <_mm_unpackhi_epi32@plt>
mov    %eax,0x3c(%rsp)
mov    0x20(%rsp),%ebp
mov    %ebp,%edi
mov    %r12d,%esi
call   1090 <_mm_unpacklo_epi64@plt>
mov    %eax,(%r15)
mov    %ebp,%edi
mov    %r12d,%esi
call   1070 <_mm_unpackhi_epi64@plt>
mov    %eax,0x4(%r15)
mov    0x2c(%rsp),%ebp
mov    %ebp,%edi
mov    %r14d,%esi
call   1090 <_mm_unpacklo_epi64@plt>
mov    %eax,0x8(%r15)
mov    %ebp,%edi
mov    %r14d,%esi
call   1070 <_mm_unpackhi_epi64@plt>
mov    %eax,0xc(%r15)
mov    0x34(%rsp),%ebp
mov    %ebp,%edi
mov    %r13d,%esi
call   1090 <_mm_unpacklo_epi64@plt>
mov    %eax,0x10(%r15)
mov    %ebp,%edi
mov    %r13d,%esi
call   1070 <_mm_unpackhi_epi64@plt>
mov    %eax,0x14(%r15)
mov    0x40(%rsp),%ebp
mov    %ebp,%edi
mov    0x24(%rsp),%ebx
mov    %ebx,%esi
call   1090 <_mm_unpacklo_epi64@plt>
mov    %eax,0x18(%r15)
mov    %ebp,%edi
mov    %ebx,%esi
call   1070 <_mm_unpackhi_epi64@plt>
mov    %eax,0x1c(%r15)
mov    0x44(%rsp),%ebp
mov    %ebp,%edi
mov    0x28(%rsp),%ebx
mov    %ebx,%esi
call   1090 <_mm_unpacklo_epi64@plt>
mov    %eax,0x20(%r15)
mov    %ebp,%edi
mov    %ebx,%esi
call   1070 <_mm_unpackhi_epi64@plt>
mov    %eax,0x24(%r15)
mov    0x48(%rsp),%ebp
mov    %ebp,%edi
mov    0xc(%rsp),%ebx
mov    %ebx,%esi
call   1090 <_mm_unpacklo_epi64@plt>
mov    %eax,0x28(%r15)
mov    %ebp,%edi
mov    %ebx,%esi
call   1070 <_mm_unpackhi_epi64@plt>
mov    %eax,0x2c(%r15)
mov    0x10(%rsp),%ebp
mov    %ebp,%edi
mov    0x30(%rsp),%ebx
mov    %ebx,%esi
call   1090 <_mm_unpacklo_epi64@plt>
mov    %eax,0x30(%r15)
mov    %ebp,%edi
mov    %ebx,%esi
call   1070 <_mm_unpackhi_epi64@plt>
mov    %eax,0x34(%r15)
mov    0x14(%rsp),%ebp
mov    %ebp,%edi
mov    0x3c(%rsp),%ebx
mov    %ebx,%esi
call   1090 <_mm_unpacklo_epi64@plt>
mov    %eax,0x38(%r15)
mov    %ebp,%edi
mov    %ebx,%esi
call   1070 <_mm_unpackhi_epi64@plt>
mov    %eax,0x3c(%r15)
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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