#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 const w0;
typedef int /*<<< orphan*/ uint8_t;
typedef int uint64_t;

/* Variables and functions */
void unpackforblock31_64(const uint64_t base, const uint8_t **pw,
                         uint64_t **pout) {
  const uint64_t *pw64 = *(const uint64_t **)pw;
  uint64_t *out = *pout;
  const uint64_t mask = (2147483647ULL);
  uint64_t w0 = pw64[0];
  uint64_t w1 = pw64[1];
  uint64_t w2 = pw64[2];
  uint64_t w3 = pw64[3];
  uint64_t w4 = pw64[4];
  uint64_t w5 = pw64[5];
  uint64_t w6 = pw64[6];
  uint64_t w7 = pw64[7];
  uint64_t w8 = pw64[8];
  uint64_t w9 = pw64[9];
  uint64_t w10 = pw64[10];
  uint64_t w11 = pw64[11];
  uint64_t w12 = pw64[12];
  uint64_t w13 = pw64[13];
  uint64_t w14 = pw64[14];
  uint64_t w15 = pw64[15];
  *pw += 124;
  out[0] = base + ((w0)&mask);
  out[1] = base + ((w0 >> 31) & mask);
  out[2] = base + (((w0 >> 62) | (w1 << 2)) & mask);
  out[3] = base + ((w1 >> 29) & mask);
  out[4] = base + (((w1 >> 60) | (w2 << 4)) & mask);
  out[5] = base + ((w2 >> 27) & mask);
  out[6] = base + (((w2 >> 58) | (w3 << 6)) & mask);
  out[7] = base + ((w3 >> 25) & mask);
  out[8] = base + (((w3 >> 56) | (w4 << 8)) & mask);
  out[9] = base + ((w4 >> 23) & mask);
  out[10] = base + (((w4 >> 54) | (w5 << 10)) & mask);
  out[11] = base + ((w5 >> 21) & mask);
  out[12] = base + (((w5 >> 52) | (w6 << 12)) & mask);
  out[13] = base + ((w6 >> 19) & mask);
  out[14] = base + (((w6 >> 50) | (w7 << 14)) & mask);
  out[15] = base + ((w7 >> 17) & mask);
  out[16] = base + (((w7 >> 48) | (w8 << 16)) & mask);
  out[17] = base + ((w8 >> 15) & mask);
  out[18] = base + (((w8 >> 46) | (w9 << 18)) & mask);
  out[19] = base + ((w9 >> 13) & mask);
  out[20] = base + (((w9 >> 44) | (w10 << 20)) & mask);
  out[21] = base + ((w10 >> 11) & mask);
  out[22] = base + (((w10 >> 42) | (w11 << 22)) & mask);
  out[23] = base + ((w11 >> 9) & mask);
  out[24] = base + (((w11 >> 40) | (w12 << 24)) & mask);
  out[25] = base + ((w12 >> 7) & mask);
  out[26] = base + (((w12 >> 38) | (w13 << 26)) & mask);
  out[27] = base + ((w13 >> 5) & mask);
  out[28] = base + (((w13 >> 36) | (w14 << 28)) & mask);
  out[29] = base + ((w14 >> 3) & mask);
  out[30] = base + (((w14 >> 34) | (w15 << 30)) & mask);
  out[31] = base + ((w15 >> 1) & mask);
  *pout += 32;
}


x86 assembly (clang, -O0):
<unpackforblock31_64>:
push   %rbp
mov    %rsp,%rbp
sub    $0x28,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x20(%rbp)
mov    -0x18(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x28(%rbp)
movl   $0x7fffffff,-0x2c(%rbp)
mov    -0x20(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x30(%rbp)
mov    -0x20(%rbp),%rax
mov    0x4(%rax),%eax
mov    %eax,-0x34(%rbp)
mov    -0x20(%rbp),%rax
mov    0x8(%rax),%eax
mov    %eax,-0x38(%rbp)
mov    -0x20(%rbp),%rax
mov    0xc(%rax),%eax
mov    %eax,-0x3c(%rbp)
mov    -0x20(%rbp),%rax
mov    0x10(%rax),%eax
mov    %eax,-0x40(%rbp)
mov    -0x20(%rbp),%rax
mov    0x14(%rax),%eax
mov    %eax,-0x44(%rbp)
mov    -0x20(%rbp),%rax
mov    0x18(%rax),%eax
mov    %eax,-0x48(%rbp)
mov    -0x20(%rbp),%rax
mov    0x1c(%rax),%eax
mov    %eax,-0x4c(%rbp)
mov    -0x20(%rbp),%rax
mov    0x20(%rax),%eax
mov    %eax,-0x50(%rbp)
mov    -0x20(%rbp),%rax
mov    0x24(%rax),%eax
mov    %eax,-0x54(%rbp)
mov    -0x20(%rbp),%rax
mov    0x28(%rax),%eax
mov    %eax,-0x58(%rbp)
mov    -0x20(%rbp),%rax
mov    0x2c(%rax),%eax
mov    %eax,-0x5c(%rbp)
mov    -0x20(%rbp),%rax
mov    0x30(%rax),%eax
mov    %eax,-0x60(%rbp)
mov    -0x20(%rbp),%rax
mov    0x34(%rax),%eax
mov    %eax,-0x64(%rbp)
mov    -0x20(%rbp),%rax
mov    0x38(%rax),%eax
mov    %eax,-0x68(%rbp)
mov    -0x20(%rbp),%rax
mov    0x3c(%rax),%eax
mov    %eax,-0x6c(%rbp)
mov    -0x10(%rbp),%rax
mov    (%rax),%rcx
add    $0x1f0,%rcx
mov    %rcx,(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x30(%rbp),%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x30(%rbp),%eax
sar    $0x1f,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0xa8(%rbp)
mov    -0x30(%rbp),%eax
mov    $0x3e,%ecx
sar    %cl,%eax
mov    -0xa8(%rbp),%ecx
mov    -0x34(%rbp),%edx
shl    $0x2,%edx
or     %edx,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x34(%rbp),%eax
sar    $0x1d,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0xc(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0xa4(%rbp)
mov    -0x34(%rbp),%eax
mov    $0x3c,%ecx
sar    %cl,%eax
mov    -0xa4(%rbp),%ecx
mov    -0x38(%rbp),%edx
shl    $0x4,%edx
or     %edx,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x10(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x38(%rbp),%eax
sar    $0x1b,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x14(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0xa0(%rbp)
mov    -0x38(%rbp),%eax
mov    $0x3a,%ecx
sar    %cl,%eax
mov    -0xa0(%rbp),%ecx
mov    -0x3c(%rbp),%edx
shl    $0x6,%edx
or     %edx,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x18(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x3c(%rbp),%eax
sar    $0x19,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x1c(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x9c(%rbp)
mov    -0x3c(%rbp),%eax
mov    $0x38,%ecx
sar    %cl,%eax
mov    -0x9c(%rbp),%ecx
mov    -0x40(%rbp),%edx
shl    $0x8,%edx
or     %edx,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x20(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x40(%rbp),%eax
sar    $0x17,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x24(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x98(%rbp)
mov    -0x40(%rbp),%eax
mov    $0x36,%ecx
sar    %cl,%eax
mov    -0x98(%rbp),%ecx
mov    -0x44(%rbp),%edx
shl    $0xa,%edx
or     %edx,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x28(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x44(%rbp),%eax
sar    $0x15,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x2c(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x94(%rbp)
mov    -0x44(%rbp),%eax
mov    $0x34,%ecx
sar    %cl,%eax
mov    -0x94(%rbp),%ecx
mov    -0x48(%rbp),%edx
shl    $0xc,%edx
or     %edx,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x30(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x48(%rbp),%eax
sar    $0x13,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x34(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x90(%rbp)
mov    -0x48(%rbp),%eax
mov    $0x32,%ecx
sar    %cl,%eax
mov    -0x90(%rbp),%ecx
mov    -0x4c(%rbp),%edx
shl    $0xe,%edx
or     %edx,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x38(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x4c(%rbp),%eax
sar    $0x11,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x3c(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x8c(%rbp)
mov    -0x4c(%rbp),%eax
mov    $0x30,%ecx
sar    %cl,%eax
mov    -0x8c(%rbp),%ecx
mov    -0x50(%rbp),%edx
shl    $0x10,%edx
or     %edx,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x40(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x50(%rbp),%eax
sar    $0xf,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x44(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x88(%rbp)
mov    -0x50(%rbp),%eax
mov    $0x2e,%ecx
sar    %cl,%eax
mov    -0x88(%rbp),%ecx
mov    -0x54(%rbp),%edx
shl    $0x12,%edx
or     %edx,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x48(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x54(%rbp),%eax
sar    $0xd,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x4c(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x84(%rbp)
mov    -0x54(%rbp),%eax
mov    $0x2c,%ecx
sar    %cl,%eax
mov    -0x84(%rbp),%ecx
mov    -0x58(%rbp),%edx
shl    $0x14,%edx
or     %edx,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x50(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x58(%rbp),%eax
sar    $0xb,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x54(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x80(%rbp)
mov    -0x58(%rbp),%eax
mov    $0x2a,%ecx
sar    %cl,%eax
mov    -0x80(%rbp),%ecx
mov    -0x5c(%rbp),%edx
shl    $0x16,%edx
or     %edx,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x58(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x5c(%rbp),%eax
sar    $0x9,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x5c(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x7c(%rbp)
mov    -0x5c(%rbp),%eax
mov    $0x28,%ecx
sar    %cl,%eax
mov    -0x7c(%rbp),%ecx
mov    -0x60(%rbp),%edx
shl    $0x18,%edx
or     %edx,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x60(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x60(%rbp),%eax
sar    $0x7,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x64(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x78(%rbp)
mov    -0x60(%rbp),%eax
mov    $0x26,%ecx
sar    %cl,%eax
mov    -0x78(%rbp),%ecx
mov    -0x64(%rbp),%edx
shl    $0x1a,%edx
or     %edx,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x68(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x64(%rbp),%eax
sar    $0x5,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x6c(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x74(%rbp)
mov    -0x64(%rbp),%eax
mov    $0x24,%ecx
sar    %cl,%eax
mov    -0x74(%rbp),%ecx
mov    -0x68(%rbp),%edx
shl    $0x1c,%edx
or     %edx,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x70(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x68(%rbp),%eax
sar    $0x3,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x74(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x70(%rbp)
mov    -0x68(%rbp),%eax
mov    $0x22,%ecx
sar    %cl,%eax
mov    -0x70(%rbp),%ecx
mov    -0x6c(%rbp),%edx
shl    $0x1e,%edx
or     %edx,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x78(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x6c(%rbp),%eax
sar    $0x1,%eax
and    $0x7fffffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x7c(%rax)
mov    -0x18(%rbp),%rax
mov    (%rax),%rcx
add    $0x80,%rcx
mov    %rcx,(%rax)
add    $0x28,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<unpackforblock31_64>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
mov    %rdx,-0x10(%rsp)
mov    %rsi,-0x8(%rsp)
mov    %edi,%r8d
mov    (%rsi),%rax
mov    (%rax),%ecx
mov    0x4(%rax),%edx
mov    0x8(%rax),%edi
mov    0xc(%rax),%r9d
mov    0x10(%rax),%r10d
mov    0x14(%rax),%r11d
mov    0x18(%rax),%ebp
mov    0x1c(%rax),%ebx
mov    0x20(%rax),%r13d
mov    0x24(%rax),%r12d
mov    0x28(%rax),%r15d
mov    0x2c(%rax),%esi
mov    %esi,-0x24(%rsp)
mov    0x30(%rax),%esi
mov    %esi,-0x20(%rsp)
mov    0x34(%rax),%esi
mov    %esi,-0x1c(%rsp)
mov    0x38(%rax),%esi
mov    %esi,-0x18(%rsp)
mov    0x3c(%rax),%esi
mov    %esi,-0x14(%rsp)
add    $0x1f0,%rax
mov    -0x10(%rsp),%rsi
mov    (%rsi),%rsi
mov    -0x8(%rsp),%r14
mov    %rax,(%r14)
mov    %ecx,%eax
and    $0x7fffffff,%eax
add    %r8d,%eax
mov    %eax,(%rsi)
sar    $0x1f,%ecx
and    $0x7fffffff,%ecx
add    %r8d,%ecx
mov    %ecx,0x4(%rsi)
sar    $0x1d,%edx
and    $0x7fffffff,%edx
add    %r8d,%edx
mov    %edx,0xc(%rsi)
sar    $0x1b,%edi
and    $0x7fffffff,%edi
add    %r8d,%edi
mov    %edi,0x14(%rsi)
sar    $0x19,%r9d
and    $0x7fffffff,%r9d
add    %r8d,%r9d
mov    %r9d,0x1c(%rsi)
sar    $0x17,%r10d
and    $0x7fffffff,%r10d
add    %r8d,%r10d
mov    %r10d,0x24(%rsi)
sar    $0x15,%r11d
and    $0x7fffffff,%r11d
add    %r8d,%r11d
mov    %r11d,0x2c(%rsi)
sar    $0x13,%ebp
and    $0x7fffffff,%ebp
add    %r8d,%ebp
mov    %ebp,0x34(%rsi)
sar    $0x11,%ebx
and    $0x7fffffff,%ebx
add    %r8d,%ebx
mov    %ebx,0x3c(%rsi)
sar    $0xf,%r13d
and    $0x7fffffff,%r13d
add    %r8d,%r13d
mov    %r13d,0x44(%rsi)
sar    $0xd,%r12d
and    $0x7fffffff,%r12d
add    %r8d,%r12d
mov    %r12d,0x4c(%rsi)
sar    $0xb,%r15d
and    $0x7fffffff,%r15d
add    %r8d,%r15d
mov    %r15d,0x54(%rsi)
mov    -0x24(%rsp),%eax
sar    $0x9,%eax
and    $0x7fffffff,%eax
add    %r8d,%eax
mov    %eax,0x5c(%rsi)
mov    -0x20(%rsp),%eax
sar    $0x7,%eax
and    $0x7fffffff,%eax
add    %r8d,%eax
mov    %eax,0x64(%rsi)
mov    -0x1c(%rsp),%eax
sar    $0x5,%eax
and    $0x7fffffff,%eax
add    %r8d,%eax
mov    %eax,0x6c(%rsi)
mov    -0x18(%rsp),%eax
sar    $0x3,%eax
and    $0x7fffffff,%eax
add    %r8d,%eax
mov    %eax,0x74(%rsi)
mov    -0x14(%rsp),%eax
shr    %eax
add    %r8d,%eax
mov    %eax,0x7c(%rsi)
mov    -0x10(%rsp),%rax
subq   $0xffffffffffffff80,(%rax)
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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