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

/* Variables and functions */
int /*<<< orphan*/ _mm256_and_si256(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm256_set1_epi32(int);
int /*<<< orphan*/ _mm256_set_epi32(int const, int const, int const, int const,
                                    int const, int const, int const, int const);
int /*<<< orphan*/ _mm256_srlv_epi32(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm256_storeu_si256(int /*<<< orphan*/ *,
                                       int /*<<< orphan*/);
const uint32_t *unpack31_32_avx2(const uint32_t *in, uint32_t *out) {
  uint32_t mask = 0x7fffffff;
  __m256i reg_shifts, reg_inls, reg_masks;
  __m256i results;
  reg_masks = _mm256_set1_epi32(mask);
  reg_shifts = _mm256_set_epi32(0, 0, 0, 0, 0, 0, 0, 0);
  reg_inls =
      _mm256_set_epi32(in[6] >> 25 | in[7] << 7, in[5] >> 26 | in[6] << 6,
                       in[4] >> 27 | in[5] << 5, in[3] >> 28 | in[4] << 4,
                       in[2] >> 29 | in[3] << 3, in[1] >> 30 | in[2] << 2,
                       in[0] >> 31 | in[1] << 1, in[0]);
  results =
      _mm256_and_si256(_mm256_srlv_epi32(reg_inls, reg_shifts), reg_masks);
  _mm256_storeu_si256((__m256i *)(out), results);
  out += 8;
  reg_shifts = _mm256_set_epi32(0, 0, 0, 0, 0, 0, 0, 0);
  reg_inls =
      _mm256_set_epi32(in[14] >> 17 | in[15] << 15, in[13] >> 18 | in[14] << 14,
                       in[12] >> 19 | in[13] << 13, in[11] >> 20 | in[12] << 12,
                       in[10] >> 21 | in[11] << 11, in[9] >> 22 | in[10] << 10,
                       in[8] >> 23 | in[9] << 9, in[7] >> 24 | in[8] << 8);
  results =
      _mm256_and_si256(_mm256_srlv_epi32(reg_inls, reg_shifts), reg_masks);
  _mm256_storeu_si256((__m256i *)(out), results);
  out += 8;
  reg_shifts = _mm256_set_epi32(0, 0, 0, 0, 0, 0, 0, 0);
  reg_inls = _mm256_set_epi32(
      in[22] >> 9 | in[23] << 23, in[21] >> 10 | in[22] << 22,
      in[20] >> 11 | in[21] << 21, in[19] >> 12 | in[20] << 20,
      in[18] >> 13 | in[19] << 19, in[17] >> 14 | in[18] << 18,
      in[16] >> 15 | in[17] << 17, in[15] >> 16 | in[16] << 16);
  results =
      _mm256_and_si256(_mm256_srlv_epi32(reg_inls, reg_shifts), reg_masks);
  _mm256_storeu_si256((__m256i *)(out), results);
  out += 8;
  reg_shifts = _mm256_set_epi32(1, 0, 0, 0, 0, 0, 0, 0);
  reg_inls =
      _mm256_set_epi32(in[30], in[29] >> 2 | in[30] << 30,
                       in[28] >> 3 | in[29] << 29, in[27] >> 4 | in[28] << 28,
                       in[26] >> 5 | in[27] << 27, in[25] >> 6 | in[26] << 26,
                       in[24] >> 7 | in[25] << 25, in[23] >> 8 | in[24] << 24);
  results =
      _mm256_and_si256(_mm256_srlv_epi32(reg_inls, reg_shifts), reg_masks);
  _mm256_storeu_si256((__m256i *)(out), results);
  out += 8;
  in += 31;
  return in;
}


x86 assembly (clang, -O0):
<unpack31_32_avx2>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x7fffffff,-0x14(%rbp)
mov    -0x14(%rbp),%edi
call   1050 <_mm256_set1_epi32@plt>
mov    %eax,-0x20(%rbp)
xor    %r9d,%r9d
mov    %r9d,%edi
mov    %r9d,%esi
mov    %r9d,%edx
mov    %r9d,%ecx
mov    %r9d,%r8d
movl   $0x0,(%rsp)
movl   $0x0,0x8(%rsp)
call   1070 <_mm256_set_epi32@plt>
mov    %eax,-0x18(%rbp)
mov    -0x8(%rbp),%rax
mov    0x18(%rax),%edi
sar    $0x19,%edi
mov    -0x8(%rbp),%rax
mov    0x1c(%rax),%eax
shl    $0x7,%eax
or     %eax,%edi
mov    -0x8(%rbp),%rax
mov    0x14(%rax),%esi
sar    $0x1a,%esi
mov    -0x8(%rbp),%rax
mov    0x18(%rax),%eax
shl    $0x6,%eax
or     %eax,%esi
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%edx
sar    $0x1b,%edx
mov    -0x8(%rbp),%rax
mov    0x14(%rax),%eax
shl    $0x5,%eax
or     %eax,%edx
mov    -0x8(%rbp),%rax
mov    0xc(%rax),%ecx
sar    $0x1c,%ecx
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%eax
shl    $0x4,%eax
or     %eax,%ecx
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%r8d
sar    $0x1d,%r8d
mov    -0x8(%rbp),%rax
mov    0xc(%rax),%eax
shl    $0x3,%eax
or     %eax,%r8d
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%r9d
sar    $0x1e,%r9d
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%eax
shl    $0x2,%eax
or     %eax,%r9d
mov    -0x8(%rbp),%rax
mov    (%rax),%r10d
sar    $0x1f,%r10d
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%eax
shl    $0x1,%eax
or     %eax,%r10d
mov    -0x8(%rbp),%rax
mov    (%rax),%eax
mov    %r10d,(%rsp)
mov    %eax,0x8(%rsp)
call   1070 <_mm256_set_epi32@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%edi
mov    -0x18(%rbp),%esi
call   1060 <_mm256_srlv_epi32@plt>
mov    %eax,%edi
mov    -0x20(%rbp),%esi
call   1040 <_mm256_and_si256@plt>
mov    %eax,-0x24(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x24(%rbp),%esi
call   1030 <_mm256_storeu_si256@plt>
mov    -0x10(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x10(%rbp)
xor    %r9d,%r9d
mov    %r9d,%edi
mov    %r9d,%esi
mov    %r9d,%edx
mov    %r9d,%ecx
mov    %r9d,%r8d
movl   $0x0,(%rsp)
movl   $0x0,0x8(%rsp)
call   1070 <_mm256_set_epi32@plt>
mov    %eax,-0x18(%rbp)
mov    -0x8(%rbp),%rax
mov    0x38(%rax),%edi
sar    $0x11,%edi
mov    -0x8(%rbp),%rax
mov    0x3c(%rax),%eax
shl    $0xf,%eax
or     %eax,%edi
mov    -0x8(%rbp),%rax
mov    0x34(%rax),%esi
sar    $0x12,%esi
mov    -0x8(%rbp),%rax
mov    0x38(%rax),%eax
shl    $0xe,%eax
or     %eax,%esi
mov    -0x8(%rbp),%rax
mov    0x30(%rax),%edx
sar    $0x13,%edx
mov    -0x8(%rbp),%rax
mov    0x34(%rax),%eax
shl    $0xd,%eax
or     %eax,%edx
mov    -0x8(%rbp),%rax
mov    0x2c(%rax),%ecx
sar    $0x14,%ecx
mov    -0x8(%rbp),%rax
mov    0x30(%rax),%eax
shl    $0xc,%eax
or     %eax,%ecx
mov    -0x8(%rbp),%rax
mov    0x28(%rax),%r8d
sar    $0x15,%r8d
mov    -0x8(%rbp),%rax
mov    0x2c(%rax),%eax
shl    $0xb,%eax
or     %eax,%r8d
mov    -0x8(%rbp),%rax
mov    0x24(%rax),%r9d
sar    $0x16,%r9d
mov    -0x8(%rbp),%rax
mov    0x28(%rax),%eax
shl    $0xa,%eax
or     %eax,%r9d
mov    -0x8(%rbp),%rax
mov    0x20(%rax),%r10d
sar    $0x17,%r10d
mov    -0x8(%rbp),%rax
mov    0x24(%rax),%eax
shl    $0x9,%eax
or     %eax,%r10d
mov    -0x8(%rbp),%rax
mov    0x1c(%rax),%eax
sar    $0x18,%eax
mov    -0x8(%rbp),%r11
mov    0x20(%r11),%r11d
shl    $0x8,%r11d
or     %r11d,%eax
mov    %r10d,(%rsp)
mov    %eax,0x8(%rsp)
call   1070 <_mm256_set_epi32@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%edi
mov    -0x18(%rbp),%esi
call   1060 <_mm256_srlv_epi32@plt>
mov    %eax,%edi
mov    -0x20(%rbp),%esi
call   1040 <_mm256_and_si256@plt>
mov    %eax,-0x24(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x24(%rbp),%esi
call   1030 <_mm256_storeu_si256@plt>
mov    -0x10(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x10(%rbp)
xor    %r9d,%r9d
mov    %r9d,%edi
mov    %r9d,%esi
mov    %r9d,%edx
mov    %r9d,%ecx
mov    %r9d,%r8d
movl   $0x0,(%rsp)
movl   $0x0,0x8(%rsp)
call   1070 <_mm256_set_epi32@plt>
mov    %eax,-0x18(%rbp)
mov    -0x8(%rbp),%rax
mov    0x58(%rax),%edi
sar    $0x9,%edi
mov    -0x8(%rbp),%rax
mov    0x5c(%rax),%eax
shl    $0x17,%eax
or     %eax,%edi
mov    -0x8(%rbp),%rax
mov    0x54(%rax),%esi
sar    $0xa,%esi
mov    -0x8(%rbp),%rax
mov    0x58(%rax),%eax
shl    $0x16,%eax
or     %eax,%esi
mov    -0x8(%rbp),%rax
mov    0x50(%rax),%edx
sar    $0xb,%edx
mov    -0x8(%rbp),%rax
mov    0x54(%rax),%eax
shl    $0x15,%eax
or     %eax,%edx
mov    -0x8(%rbp),%rax
mov    0x4c(%rax),%ecx
sar    $0xc,%ecx
mov    -0x8(%rbp),%rax
mov    0x50(%rax),%eax
shl    $0x14,%eax
or     %eax,%ecx
mov    -0x8(%rbp),%rax
mov    0x48(%rax),%r8d
sar    $0xd,%r8d
mov    -0x8(%rbp),%rax
mov    0x4c(%rax),%eax
shl    $0x13,%eax
or     %eax,%r8d
mov    -0x8(%rbp),%rax
mov    0x44(%rax),%r9d
sar    $0xe,%r9d
mov    -0x8(%rbp),%rax
mov    0x48(%rax),%eax
shl    $0x12,%eax
or     %eax,%r9d
mov    -0x8(%rbp),%rax
mov    0x40(%rax),%r10d
sar    $0xf,%r10d
mov    -0x8(%rbp),%rax
mov    0x44(%rax),%eax
shl    $0x11,%eax
or     %eax,%r10d
mov    -0x8(%rbp),%rax
mov    0x3c(%rax),%eax
sar    $0x10,%eax
mov    -0x8(%rbp),%r11
mov    0x40(%r11),%r11d
shl    $0x10,%r11d
or     %r11d,%eax
mov    %r10d,(%rsp)
mov    %eax,0x8(%rsp)
call   1070 <_mm256_set_epi32@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%edi
mov    -0x18(%rbp),%esi
call   1060 <_mm256_srlv_epi32@plt>
mov    %eax,%edi
mov    -0x20(%rbp),%esi
call   1040 <_mm256_and_si256@plt>
mov    %eax,-0x24(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x24(%rbp),%esi
call   1030 <_mm256_storeu_si256@plt>
mov    -0x10(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x10(%rbp)
mov    $0x1,%edi
xor    %r9d,%r9d
mov    %r9d,%esi
mov    %r9d,%edx
mov    %r9d,%ecx
mov    %r9d,%r8d
movl   $0x0,(%rsp)
movl   $0x0,0x8(%rsp)
call   1070 <_mm256_set_epi32@plt>
mov    %eax,-0x18(%rbp)
mov    -0x8(%rbp),%rax
mov    0x78(%rax),%edi
mov    -0x8(%rbp),%rax
mov    0x74(%rax),%esi
sar    $0x2,%esi
mov    -0x8(%rbp),%rax
mov    0x78(%rax),%eax
shl    $0x1e,%eax
or     %eax,%esi
mov    -0x8(%rbp),%rax
mov    0x70(%rax),%edx
sar    $0x3,%edx
mov    -0x8(%rbp),%rax
mov    0x74(%rax),%eax
shl    $0x1d,%eax
or     %eax,%edx
mov    -0x8(%rbp),%rax
mov    0x6c(%rax),%ecx
sar    $0x4,%ecx
mov    -0x8(%rbp),%rax
mov    0x70(%rax),%eax
shl    $0x1c,%eax
or     %eax,%ecx
mov    -0x8(%rbp),%rax
mov    0x68(%rax),%r8d
sar    $0x5,%r8d
mov    -0x8(%rbp),%rax
mov    0x6c(%rax),%eax
shl    $0x1b,%eax
or     %eax,%r8d
mov    -0x8(%rbp),%rax
mov    0x64(%rax),%r9d
sar    $0x6,%r9d
mov    -0x8(%rbp),%rax
mov    0x68(%rax),%eax
shl    $0x1a,%eax
or     %eax,%r9d
mov    -0x8(%rbp),%rax
mov    0x60(%rax),%r10d
sar    $0x7,%r10d
mov    -0x8(%rbp),%rax
mov    0x64(%rax),%eax
shl    $0x19,%eax
or     %eax,%r10d
mov    -0x8(%rbp),%rax
mov    0x5c(%rax),%eax
sar    $0x8,%eax
mov    -0x8(%rbp),%r11
mov    0x60(%r11),%r11d
shl    $0x18,%r11d
or     %r11d,%eax
mov    %r10d,(%rsp)
mov    %eax,0x8(%rsp)
call   1070 <_mm256_set_epi32@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%edi
mov    -0x18(%rbp),%esi
call   1060 <_mm256_srlv_epi32@plt>
mov    %eax,%edi
mov    -0x20(%rbp),%esi
call   1040 <_mm256_and_si256@plt>
mov    %eax,-0x24(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x24(%rbp),%esi
call   1030 <_mm256_storeu_si256@plt>
mov    -0x10(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x10(%rbp)
mov    -0x8(%rbp),%rax
add    $0x7c,%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<unpack31_32_avx2>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %rsi,%r14
mov    %rdi,%r15
mov    $0x7fffffff,%edi
call   1050 <_mm256_set1_epi32@plt>
mov    %eax,%ebx
xor    %edi,%edi
xor    %esi,%esi
xor    %edx,%edx
xor    %ecx,%ecx
xor    %r8d,%r8d
xor    %r9d,%r9d
push   $0x0
push   $0x0
call   1070 <_mm256_set_epi32@plt>
add    $0x10,%rsp
mov    %eax,%r12d
mov    0x18(%r15),%esi
mov    %esi,%eax
sar    $0x19,%eax
mov    0x1c(%r15),%edi
shl    $0x7,%edi
or     %eax,%edi
mov    0x14(%r15),%edx
mov    %edx,%eax
sar    $0x1a,%eax
shl    $0x6,%esi
or     %eax,%esi
mov    0x10(%r15),%ecx
mov    %ecx,%eax
sar    $0x1b,%eax
shl    $0x5,%edx
or     %eax,%edx
mov    0xc(%r15),%r8d
mov    %r8d,%eax
sar    $0x1c,%eax
shl    $0x4,%ecx
or     %eax,%ecx
mov    0x8(%r15),%r9d
mov    %r9d,%eax
sar    $0x1d,%eax
shl    $0x3,%r8d
or     %eax,%r8d
mov    (%r15),%r10d
mov    0x4(%r15),%ebp
mov    %ebp,%eax
sar    $0x1e,%eax
shl    $0x2,%r9d
or     %eax,%r9d
mov    %r10d,%eax
sar    $0x1f,%eax
add    %ebp,%ebp
or     %eax,%ebp
push   %r10
push   %rbp
call   1070 <_mm256_set_epi32@plt>
add    $0x10,%rsp
mov    %eax,%edi
mov    %r12d,%esi
call   1060 <_mm256_srlv_epi32@plt>
mov    %eax,%edi
mov    %ebx,%esi
mov    %ebx,%r12d
mov    %ebx,0xc(%rsp)
call   1040 <_mm256_and_si256@plt>
mov    %r14,%rdi
mov    %eax,%esi
call   1030 <_mm256_storeu_si256@plt>
lea    0x20(%r14),%rax
mov    %rax,0x10(%rsp)
xor    %edi,%edi
xor    %esi,%esi
xor    %edx,%edx
xor    %ecx,%ecx
xor    %r8d,%r8d
xor    %r9d,%r9d
push   $0x0
push   $0x0
call   1070 <_mm256_set_epi32@plt>
add    $0x10,%rsp
mov    %eax,%r13d
mov    0x38(%r15),%esi
mov    %esi,%eax
sar    $0x11,%eax
mov    0x3c(%r15),%edi
shl    $0xf,%edi
or     %eax,%edi
mov    0x34(%r15),%edx
mov    %edx,%eax
sar    $0x12,%eax
shl    $0xe,%esi
or     %eax,%esi
mov    0x30(%r15),%ecx
mov    %ecx,%eax
sar    $0x13,%eax
shl    $0xd,%edx
or     %eax,%edx
mov    0x2c(%r15),%r8d
mov    %r8d,%eax
sar    $0x14,%eax
shl    $0xc,%ecx
or     %eax,%ecx
mov    0x28(%r15),%r9d
mov    %r9d,%eax
sar    $0x15,%eax
shl    $0xb,%r8d
or     %eax,%r8d
mov    0x20(%r15),%eax
mov    0x24(%r15),%ebp
mov    %ebp,%ebx
sar    $0x16,%ebx
shl    $0xa,%r9d
or     %ebx,%r9d
mov    %eax,%ebx
sar    $0x17,%ebx
shl    $0x9,%ebp
or     %ebx,%ebp
movsbl 0x1f(%r15),%ebx
shl    $0x8,%eax
or     %ebx,%eax
push   %rax
push   %rbp
call   1070 <_mm256_set_epi32@plt>
add    $0x10,%rsp
mov    %eax,%edi
mov    %r13d,%esi
call   1060 <_mm256_srlv_epi32@plt>
mov    %eax,%edi
mov    %r12d,%esi
call   1040 <_mm256_and_si256@plt>
mov    0x10(%rsp),%rdi
mov    %eax,%esi
call   1030 <_mm256_storeu_si256@plt>
lea    0x40(%r14),%r12
xor    %edi,%edi
xor    %esi,%esi
xor    %edx,%edx
xor    %ecx,%ecx
xor    %r8d,%r8d
xor    %r9d,%r9d
push   $0x0
push   $0x0
call   1070 <_mm256_set_epi32@plt>
add    $0x10,%rsp
mov    %eax,%r13d
mov    0x58(%r15),%esi
mov    %esi,%eax
sar    $0x9,%eax
mov    0x5c(%r15),%edi
shl    $0x17,%edi
or     %eax,%edi
mov    0x54(%r15),%edx
mov    %edx,%eax
sar    $0xa,%eax
shl    $0x16,%esi
or     %eax,%esi
mov    0x50(%r15),%ecx
mov    %ecx,%eax
sar    $0xb,%eax
shl    $0x15,%edx
or     %eax,%edx
mov    0x4c(%r15),%r8d
mov    %r8d,%eax
sar    $0xc,%eax
shl    $0x14,%ecx
or     %eax,%ecx
mov    0x48(%r15),%r9d
mov    %r9d,%eax
sar    $0xd,%eax
shl    $0x13,%r8d
or     %eax,%r8d
mov    0x40(%r15),%eax
mov    0x44(%r15),%ebx
mov    %ebx,%ebp
sar    $0xe,%ebp
shl    $0x12,%r9d
or     %ebp,%r9d
mov    %eax,%ebp
sar    $0xf,%ebp
shl    $0x11,%ebx
or     %ebp,%ebx
movswl 0x3e(%r15),%ebp
shl    $0x10,%eax
or     %ebp,%eax
push   %rax
push   %rbx
call   1070 <_mm256_set_epi32@plt>
add    $0x10,%rsp
mov    %eax,%edi
mov    %r13d,%esi
call   1060 <_mm256_srlv_epi32@plt>
mov    %eax,%edi
mov    0xc(%rsp),%r13d
mov    %r13d,%esi
call   1040 <_mm256_and_si256@plt>
mov    %r12,%rdi
mov    %eax,%esi
call   1030 <_mm256_storeu_si256@plt>
add    $0x60,%r14
mov    $0x1,%edi
xor    %esi,%esi
xor    %edx,%edx
xor    %ecx,%ecx
xor    %r8d,%r8d
xor    %r9d,%r9d
push   $0x0
push   $0x0
call   1070 <_mm256_set_epi32@plt>
add    $0x10,%rsp
mov    %eax,%r12d
mov    0x78(%r15),%edi
mov    0x74(%r15),%edx
mov    %edx,%eax
sar    $0x2,%eax
mov    %edi,%esi
shl    $0x1e,%esi
or     %eax,%esi
mov    0x70(%r15),%ecx
mov    %ecx,%eax
sar    $0x3,%eax
shl    $0x1d,%edx
or     %eax,%edx
mov    0x6c(%r15),%r8d
mov    %r8d,%eax
sar    $0x4,%eax
shl    $0x1c,%ecx
or     %eax,%ecx
mov    0x68(%r15),%r9d
mov    %r9d,%eax
sar    $0x5,%eax
shl    $0x1b,%r8d
or     %eax,%r8d
mov    0x64(%r15),%eax
mov    %eax,%ebx
sar    $0x6,%ebx
shl    $0x1a,%r9d
or     %ebx,%r9d
mov    0x5c(%r15),%r10d
mov    0x60(%r15),%ebp
mov    %ebp,%ebx
sar    $0x7,%ebx
shl    $0x19,%eax
or     %ebx,%eax
sar    $0x8,%r10d
shl    $0x18,%ebp
or     %r10d,%ebp
push   %rbp
push   %rax
call   1070 <_mm256_set_epi32@plt>
add    $0x10,%rsp
mov    %eax,%edi
mov    %r12d,%esi
call   1060 <_mm256_srlv_epi32@plt>
mov    %eax,%edi
mov    %r13d,%esi
call   1040 <_mm256_and_si256@plt>
mov    %r14,%rdi
mov    %eax,%esi
call   1030 <_mm256_storeu_si256@plt>
add    $0x7c,%r15
mov    %r15,%rax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define i32* @unpack31_32_avx2(i32* %0, i32* %1) {
%3 = tail call i32 @_mm256_set1_epi32(i32 2147483647)
%4 = tail call i32 @_mm256_set_epi32(i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0)
%5 = getelementptr inbounds i32, i32* %0, i64 6
%6 = load i32, i32* %5
%7 = ashr i32 %6, 25
%8 = getelementptr inbounds i32, i32* %0, i64 7
%9 = load i32, i32* %8
%10 = shl i32 %9, 7
%11 = or i32 %10, %7
%12 = getelementptr inbounds i32, i32* %0, i64 5
%13 = load i32, i32* %12
%14 = ashr i32 %13, 26
%15 = shl i32 %6, 6
%16 = or i32 %14, %15
%17 = getelementptr inbounds i32, i32* %0, i64 4
%18 = load i32, i32* %17
%19 = ashr i32 %18, 27
%20 = shl i32 %13, 5
%21 = or i32 %19, %20
%22 = getelementptr inbounds i32, i32* %0, i64 3
%23 = load i32, i32* %22
%24 = ashr i32 %23, 28
%25 = shl i32 %18, 4
%26 = or i32 %24, %25
%27 = getelementptr inbounds i32, i32* %0, i64 2
%28 = load i32, i32* %27
%29 = ashr i32 %28, 29
%30 = shl i32 %23, 3
%31 = or i32 %29, %30
%32 = getelementptr inbounds i32, i32* %0, i64 1
%33 = load i32, i32* %32
%34 = ashr i32 %33, 30
%35 = shl i32 %28, 2
%36 = or i32 %34, %35
%37 = load i32, i32* %0
%38 = ashr i32 %37, 31
%39 = shl i32 %33, 1
%40 = or i32 %38, %39
%41 = tail call i32 @_mm256_set_epi32(i32 %11, i32 %16, i32 %21, i32 %26, i32 %31, i32 %36, i32 %40, i32 %37)
%42 = tail call i32 @_mm256_srlv_epi32(i32 %41, i32 %4)
%43 = tail call i32 @_mm256_and_si256(i32 %42, i32 %3)
%44 = tail call i32 @_mm256_storeu_si256(i32* %1, i32 %43)
%45 = getelementptr inbounds i32, i32* %1, i64 8
%46 = tail call i32 @_mm256_set_epi32(i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0)
%47 = getelementptr inbounds i32, i32* %0, i64 14
%48 = load i32, i32* %47
%49 = ashr i32 %48, 17
%50 = getelementptr inbounds i32, i32* %0, i64 15
%51 = load i32, i32* %50
%52 = shl i32 %51, 15
%53 = or i32 %52, %49
%54 = getelementptr inbounds i32, i32* %0, i64 13
%55 = load i32, i32* %54
%56 = ashr i32 %55, 18
%57 = shl i32 %48, 14
%58 = or i32 %56, %57
%59 = getelementptr inbounds i32, i32* %0, i64 12
%60 = load i32, i32* %59
%61 = ashr i32 %60, 19
%62 = shl i32 %55, 13
%63 = or i32 %61, %62
%64 = getelementptr inbounds i32, i32* %0, i64 11
%65 = load i32, i32* %64
%66 = ashr i32 %65, 20
%67 = shl i32 %60, 12
%68 = or i32 %66, %67
%69 = getelementptr inbounds i32, i32* %0, i64 10
%70 = load i32, i32* %69
%71 = ashr i32 %70, 21
%72 = shl i32 %65, 11
%73 = or i32 %71, %72
%74 = getelementptr inbounds i32, i32* %0, i64 9
%75 = load i32, i32* %74
%76 = ashr i32 %75, 22
%77 = shl i32 %70, 10
%78 = or i32 %76, %77
%79 = getelementptr inbounds i32, i32* %0, i64 8
%80 = load i32, i32* %79
%81 = ashr i32 %80, 23
%82 = shl i32 %75, 9
%83 = or i32 %81, %82
%84 = load i32, i32* %8
%85 = ashr i32 %84, 24
%86 = shl i32 %80, 8
%87 = or i32 %85, %86
%88 = tail call i32 @_mm256_set_epi32(i32 %53, i32 %58, i32 %63, i32 %68, i32 %73, i32 %78, i32 %83, i32 %87)
%89 = tail call i32 @_mm256_srlv_epi32(i32 %88, i32 %46)
%90 = tail call i32 @_mm256_and_si256(i32 %89, i32 %3)
%91 = tail call i32 @_mm256_storeu_si256(i32* %45, i32 %90)
%92 = getelementptr inbounds i32, i32* %1, i64 16
%93 = tail call i32 @_mm256_set_epi32(i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0)
%94 = getelementptr inbounds i32, i32* %0, i64 22
%95 = load i32, i32* %94
%96 = ashr i32 %95, 9
%97 = getelementptr inbounds i32, i32* %0, i64 23
%98 = load i32, i32* %97
%99 = shl i32 %98, 23
%100 = or i32 %99, %96
%101 = getelementptr inbounds i32, i32* %0, i64 21
%102 = load i32, i32* %101
%103 = ashr i32 %102, 10
%104 = shl i32 %95, 22
%105 = or i32 %103, %104
%106 = getelementptr inbounds i32, i32* %0, i64 20
%107 = load i32, i32* %106
%108 = ashr i32 %107, 11
%109 = shl i32 %102, 21
%110 = or i32 %108, %109
%111 = getelementptr inbounds i32, i32* %0, i64 19
%112 = load i32, i32* %111
%113 = ashr i32 %112, 12
%114 = shl i32 %107, 20
%115 = or i32 %113, %114
%116 = getelementptr inbounds i32, i32* %0, i64 18
%117 = load i32, i32* %116
%118 = ashr i32 %117, 13
%119 = shl i32 %112, 19
%120 = or i32 %118, %119
%121 = getelementptr inbounds i32, i32* %0, i64 17
%122 = load i32, i32* %121
%123 = ashr i32 %122, 14
%124 = shl i32 %117, 18
%125 = or i32 %123, %124
%126 = getelementptr inbounds i32, i32* %0, i64 16
%127 = load i32, i32* %126
%128 = ashr i32 %127, 15
%129 = shl i32 %122, 17
%130 = or i32 %128, %129
%131 = load i32, i32* %50
%132 = ashr i32 %131, 16
%133 = shl i32 %127, 16
%134 = or i32 %132, %133
%135 = tail call i32 @_mm256_set_epi32(i32 %100, i32 %105, i32 %110, i32 %115, i32 %120, i32 %125, i32 %130, i32 %134)
%136 = tail call i32 @_mm256_srlv_epi32(i32 %135, i32 %93)
%137 = tail call i32 @_mm256_and_si256(i32 %136, i32 %3)
%138 = tail call i32 @_mm256_storeu_si256(i32* %92, i32 %137)
%139 = getelementptr inbounds i32, i32* %1, i64 24
%140 = tail call i32 @_mm256_set_epi32(i32 1, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0)
%141 = getelementptr inbounds i32, i32* %0, i64 30
%142 = load i32, i32* %141
%143 = getelementptr inbounds i32, i32* %0, i64 29
%144 = load i32, i32* %143
%145 = ashr i32 %144, 2
%146 = shl i32 %142, 30
%147 = or i32 %145, %146
%148 = getelementptr inbounds i32, i32* %0, i64 28
%149 = load i32, i32* %148
%150 = ashr i32 %149, 3
%151 = shl i32 %144, 29
%152 = or i32 %150, %151
%153 = getelementptr inbounds i32, i32* %0, i64 27
%154 = load i32, i32* %153
%155 = ashr i32 %154, 4
%156 = shl i32 %149, 28
%157 = or i32 %155, %156
%158 = getelementptr inbounds i32, i32* %0, i64 26
%159 = load i32, i32* %158
%160 = ashr i32 %159, 5
%161 = shl i32 %154, 27
%162 = or i32 %160, %161
%163 = getelementptr inbounds i32, i32* %0, i64 25
%164 = load i32, i32* %163
%165 = ashr i32 %164, 6
%166 = shl i32 %159, 26
%167 = or i32 %165, %166
%168 = getelementptr inbounds i32, i32* %0, i64 24
%169 = load i32, i32* %168
%170 = ashr i32 %169, 7
%171 = shl i32 %164, 25
%172 = or i32 %170, %171
%173 = load i32, i32* %97
%174 = ashr i32 %173, 8
%175 = shl i32 %169, 24
%176 = or i32 %174, %175
%177 = tail call i32 @_mm256_set_epi32(i32 %142, i32 %147, i32 %152, i32 %157, i32 %162, i32 %167, i32 %172, i32 %176)
%178 = tail call i32 @_mm256_srlv_epi32(i32 %177, i32 %140)
%179 = tail call i32 @_mm256_and_si256(i32 %178, i32 %3)
%180 = tail call i32 @_mm256_storeu_si256(i32* %139, i32 %179)
%181 = getelementptr inbounds i32, i32* %0, i64 31
ret i32* %181
}