#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 unpackforblock17_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 = (131071ULL);
  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];
  *pw += 68;
  out[0] = base + ((w0)&mask);
  out[1] = base + ((w0 >> 17) & mask);
  out[2] = base + ((w0 >> 34) & mask);
  out[3] = base + (((w0 >> 51) | (w1 << 13)) & mask);
  out[4] = base + ((w1 >> 4) & mask);
  out[5] = base + ((w1 >> 21) & mask);
  out[6] = base + ((w1 >> 38) & mask);
  out[7] = base + (((w1 >> 55) | (w2 << 9)) & mask);
  out[8] = base + ((w2 >> 8) & mask);
  out[9] = base + ((w2 >> 25) & mask);
  out[10] = base + ((w2 >> 42) & mask);
  out[11] = base + (((w2 >> 59) | (w3 << 5)) & mask);
  out[12] = base + ((w3 >> 12) & mask);
  out[13] = base + ((w3 >> 29) & mask);
  out[14] = base + ((w3 >> 46) & mask);
  out[15] = base + (((w3 >> 63) | (w4 << 1)) & mask);
  out[16] = base + ((w4 >> 16) & mask);
  out[17] = base + ((w4 >> 33) & mask);
  out[18] = base + (((w4 >> 50) | (w5 << 14)) & mask);
  out[19] = base + ((w5 >> 3) & mask);
  out[20] = base + ((w5 >> 20) & mask);
  out[21] = base + ((w5 >> 37) & mask);
  out[22] = base + (((w5 >> 54) | (w6 << 10)) & mask);
  out[23] = base + ((w6 >> 7) & mask);
  out[24] = base + ((w6 >> 24) & mask);
  out[25] = base + ((w6 >> 41) & mask);
  out[26] = base + (((w6 >> 58) | (w7 << 6)) & mask);
  out[27] = base + ((w7 >> 11) & mask);
  out[28] = base + ((w7 >> 28) & mask);
  out[29] = base + ((w7 >> 45) & mask);
  out[30] = base + (((w7 >> 62) | (w8 << 2)) & mask);
  out[31] = base + ((w8 >> 15) & mask);
  *pout += 32;
}


x86 assembly (clang, -O0):
<unpackforblock17_64>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%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   $0x1ffff,-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    -0x10(%rbp),%rax
mov    (%rax),%rcx
add    $0x110,%rcx
mov    %rcx,(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x30(%rbp),%eax
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x30(%rbp),%eax
sar    $0x11,%eax
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x90(%rbp)
mov    -0x30(%rbp),%eax
mov    $0x22,%ecx
sar    %cl,%eax
mov    -0x90(%rbp),%ecx
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x8c(%rbp)
mov    -0x30(%rbp),%eax
mov    $0x33,%ecx
sar    %cl,%eax
mov    -0x8c(%rbp),%ecx
mov    -0x34(%rbp),%edx
shl    $0xd,%edx
or     %edx,%eax
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0xc(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x34(%rbp),%eax
sar    $0x4,%eax
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x10(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x34(%rbp),%eax
sar    $0x15,%eax
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x14(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x88(%rbp)
mov    -0x34(%rbp),%eax
mov    $0x26,%ecx
sar    %cl,%eax
mov    -0x88(%rbp),%ecx
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x18(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x84(%rbp)
mov    -0x34(%rbp),%eax
mov    $0x37,%ecx
sar    %cl,%eax
mov    -0x84(%rbp),%ecx
mov    -0x38(%rbp),%edx
shl    $0x9,%edx
or     %edx,%eax
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x1c(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x38(%rbp),%eax
sar    $0x8,%eax
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x20(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x38(%rbp),%eax
sar    $0x19,%eax
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x24(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x80(%rbp)
mov    -0x38(%rbp),%eax
mov    $0x2a,%ecx
sar    %cl,%eax
mov    -0x80(%rbp),%ecx
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x28(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x7c(%rbp)
mov    -0x38(%rbp),%eax
mov    $0x3b,%ecx
sar    %cl,%eax
mov    -0x7c(%rbp),%ecx
mov    -0x3c(%rbp),%edx
shl    $0x5,%edx
or     %edx,%eax
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x2c(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x3c(%rbp),%eax
sar    $0xc,%eax
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x30(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x3c(%rbp),%eax
sar    $0x1d,%eax
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x34(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x78(%rbp)
mov    -0x3c(%rbp),%eax
mov    $0x2e,%ecx
sar    %cl,%eax
mov    -0x78(%rbp),%ecx
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x38(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x74(%rbp)
mov    -0x3c(%rbp),%eax
mov    $0x3f,%ecx
sar    %cl,%eax
mov    -0x74(%rbp),%ecx
mov    -0x40(%rbp),%edx
shl    $0x1,%edx
or     %edx,%eax
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x3c(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x40(%rbp),%eax
sar    $0x10,%eax
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x40(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x70(%rbp)
mov    -0x40(%rbp),%eax
mov    $0x21,%ecx
sar    %cl,%eax
mov    -0x70(%rbp),%ecx
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x44(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x6c(%rbp)
mov    -0x40(%rbp),%eax
mov    $0x32,%ecx
sar    %cl,%eax
mov    -0x6c(%rbp),%ecx
mov    -0x44(%rbp),%edx
shl    $0xe,%edx
or     %edx,%eax
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x48(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x44(%rbp),%eax
sar    $0x3,%eax
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x4c(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x44(%rbp),%eax
sar    $0x14,%eax
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x50(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x68(%rbp)
mov    -0x44(%rbp),%eax
mov    $0x25,%ecx
sar    %cl,%eax
mov    -0x68(%rbp),%ecx
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x54(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x64(%rbp)
mov    -0x44(%rbp),%eax
mov    $0x36,%ecx
sar    %cl,%eax
mov    -0x64(%rbp),%ecx
mov    -0x48(%rbp),%edx
shl    $0xa,%edx
or     %edx,%eax
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x58(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x48(%rbp),%eax
sar    $0x7,%eax
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x5c(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x48(%rbp),%eax
sar    $0x18,%eax
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x60(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x60(%rbp)
mov    -0x48(%rbp),%eax
mov    $0x29,%ecx
sar    %cl,%eax
mov    -0x60(%rbp),%ecx
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x64(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x5c(%rbp)
mov    -0x48(%rbp),%eax
mov    $0x3a,%ecx
sar    %cl,%eax
mov    -0x5c(%rbp),%ecx
mov    -0x4c(%rbp),%edx
shl    $0x6,%edx
or     %edx,%eax
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x68(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x4c(%rbp),%eax
sar    $0xb,%eax
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x6c(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x4c(%rbp),%eax
sar    $0x1c,%eax
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x70(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x58(%rbp)
mov    -0x4c(%rbp),%eax
mov    $0x2d,%ecx
sar    %cl,%eax
mov    -0x58(%rbp),%ecx
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x74(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x54(%rbp)
mov    -0x4c(%rbp),%eax
mov    $0x3e,%ecx
sar    %cl,%eax
mov    -0x54(%rbp),%ecx
mov    -0x50(%rbp),%edx
shl    $0x2,%edx
or     %edx,%eax
and    $0x1ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x78(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x50(%rbp),%eax
sar    $0xf,%eax
and    $0x1ffff,%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    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<unpackforblock17_64>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
mov    (%rsi),%rbx
mov    (%rdx),%r12
mov    (%rbx),%eax
mov    0x4(%rbx),%ecx
mov    0x8(%rbx),%ebp
mov    0xc(%rbx),%r15d
movswl 0x12(%rbx),%r11d
mov    0x14(%rbx),%r14d
mov    0x18(%rbx),%r10d
mov    0x1c(%rbx),%r9d
mov    0x20(%rbx),%r8d
add    $0x110,%rbx
mov    %rbx,(%rsi)
mov    %eax,%esi
and    $0x1ffff,%esi
add    %edi,%esi
mov    %esi,(%r12)
sar    $0x11,%eax
and    $0x1ffff,%eax
add    %edi,%eax
mov    %eax,0x4(%r12)
mov    %ecx,%eax
shr    $0x4,%eax
and    $0x1ffff,%eax
add    %edi,%eax
mov    %eax,0x10(%r12)
sar    $0x15,%ecx
and    $0x1ffff,%ecx
add    %edi,%ecx
mov    %ecx,0x14(%r12)
mov    %ebp,%eax
shr    $0x8,%eax
and    $0x1ffff,%eax
add    %edi,%eax
mov    %eax,0x20(%r12)
sar    $0x19,%ebp
and    $0x1ffff,%ebp
add    %edi,%ebp
mov    %ebp,0x24(%r12)
mov    %r15d,%eax
shr    $0xc,%eax
and    $0x1ffff,%eax
add    %edi,%eax
mov    %eax,0x30(%r12)
sar    $0x1d,%r15d
and    $0x1ffff,%r15d
add    %edi,%r15d
mov    %r15d,0x34(%r12)
and    $0x1ffff,%r11d
add    %edi,%r11d
mov    %r11d,0x40(%r12)
mov    %r14d,%eax
shr    $0x3,%eax
and    $0x1ffff,%eax
add    %edi,%eax
mov    %eax,0x4c(%r12)
sar    $0x14,%r14d
and    $0x1ffff,%r14d
add    %edi,%r14d
mov    %r14d,0x50(%r12)
mov    %r10d,%eax
shr    $0x7,%eax
and    $0x1ffff,%eax
add    %edi,%eax
mov    %eax,0x5c(%r12)
sar    $0x18,%r10d
and    $0x1ffff,%r10d
add    %edi,%r10d
mov    %r10d,0x60(%r12)
mov    %r9d,%eax
shr    $0xb,%eax
and    $0x1ffff,%eax
add    %edi,%eax
mov    %eax,0x6c(%r12)
sar    $0x1c,%r9d
and    $0x1ffff,%r9d
add    %edi,%r9d
mov    %r9d,0x70(%r12)
shr    $0xf,%r8d
add    %edi,%r8d
mov    %r8d,0x7c(%r12)
subq   $0xffffffffffffff80,(%rdx)
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define void @unpackforblock17_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 68
store i32* %23, i32** %1
%24 = and i32 %6, 131071
%25 = add nsw i32 %24, %0
store i32 %25, i32* %5
%26 = ashr i32 %6, 17
%27 = and i32 %26, 131071
%28 = add nsw i32 %27, %0
%29 = getelementptr inbounds i32, i32* %5, i64 1
store i32 %28, i32* %29
%30 = lshr i32 %8, 4
%31 = and i32 %30, 131071
%32 = add nsw i32 %31, %0
%33 = getelementptr inbounds i32, i32* %5, i64 4
store i32 %32, i32* %33
%34 = ashr i32 %8, 21
%35 = and i32 %34, 131071
%36 = add nsw i32 %35, %0
%37 = getelementptr inbounds i32, i32* %5, i64 5
store i32 %36, i32* %37
%38 = lshr i32 %10, 8
%39 = and i32 %38, 131071
%40 = add nsw i32 %39, %0
%41 = getelementptr inbounds i32, i32* %5, i64 8
store i32 %40, i32* %41
%42 = ashr i32 %10, 25
%43 = and i32 %42, 131071
%44 = add nsw i32 %43, %0
%45 = getelementptr inbounds i32, i32* %5, i64 9
store i32 %44, i32* %45
%46 = lshr i32 %12, 12
%47 = and i32 %46, 131071
%48 = add nsw i32 %47, %0
%49 = getelementptr inbounds i32, i32* %5, i64 12
store i32 %48, i32* %49
%50 = ashr i32 %12, 29
%51 = and i32 %50, 131071
%52 = add nsw i32 %51, %0
%53 = getelementptr inbounds i32, i32* %5, i64 13
store i32 %52, i32* %53
%54 = ashr i32 %14, 16
%55 = and i32 %54, 131071
%56 = add nsw i32 %55, %0
%57 = getelementptr inbounds i32, i32* %5, i64 16
store i32 %56, i32* %57
%58 = lshr i32 %16, 3
%59 = and i32 %58, 131071
%60 = add nsw i32 %59, %0
%61 = getelementptr inbounds i32, i32* %5, i64 19
store i32 %60, i32* %61
%62 = ashr i32 %16, 20
%63 = and i32 %62, 131071
%64 = add nsw i32 %63, %0
%65 = getelementptr inbounds i32, i32* %5, i64 20
store i32 %64, i32* %65
%66 = lshr i32 %18, 7
%67 = and i32 %66, 131071
%68 = add nsw i32 %67, %0
%69 = getelementptr inbounds i32, i32* %5, i64 23
store i32 %68, i32* %69
%70 = ashr i32 %18, 24
%71 = and i32 %70, 131071
%72 = add nsw i32 %71, %0
%73 = getelementptr inbounds i32, i32* %5, i64 24
store i32 %72, i32* %73
%74 = lshr i32 %20, 11
%75 = and i32 %74, 131071
%76 = add nsw i32 %75, %0
%77 = getelementptr inbounds i32, i32* %5, i64 27
store i32 %76, i32* %77
%78 = ashr i32 %20, 28
%79 = and i32 %78, 131071
%80 = add nsw i32 %79, %0
%81 = getelementptr inbounds i32, i32* %5, i64 28
store i32 %80, i32* %81
%82 = lshr i32 %22, 15
%83 = add nsw i32 %82, %0
%84 = getelementptr inbounds i32, i32* %5, i64 31
store i32 %83, i32* %84
%85 = load i32*, i32** %2
%86 = getelementptr inbounds i32, i32* %85, i64 32
store i32* %86, i32** %2
ret void
}