#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 unpackforblock18_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 = (262143ULL);
  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 += 72;
  out[0] = base + ((w0)&mask);
  out[1] = base + ((w0 >> 18) & mask);
  out[2] = base + ((w0 >> 36) & mask);
  out[3] = base + (((w0 >> 54) | (w1 << 10)) & mask);
  out[4] = base + ((w1 >> 8) & mask);
  out[5] = base + ((w1 >> 26) & mask);
  out[6] = base + ((w1 >> 44) & mask);
  out[7] = base + (((w1 >> 62) | (w2 << 2)) & mask);
  out[8] = base + ((w2 >> 16) & mask);
  out[9] = base + ((w2 >> 34) & mask);
  out[10] = base + (((w2 >> 52) | (w3 << 12)) & mask);
  out[11] = base + ((w3 >> 6) & mask);
  out[12] = base + ((w3 >> 24) & mask);
  out[13] = base + ((w3 >> 42) & mask);
  out[14] = base + (((w3 >> 60) | (w4 << 4)) & mask);
  out[15] = base + ((w4 >> 14) & mask);
  out[16] = base + ((w4 >> 32) & mask);
  out[17] = base + (((w4 >> 50) | (w5 << 14)) & mask);
  out[18] = base + ((w5 >> 4) & mask);
  out[19] = base + ((w5 >> 22) & mask);
  out[20] = base + ((w5 >> 40) & mask);
  out[21] = base + (((w5 >> 58) | (w6 << 6)) & mask);
  out[22] = base + ((w6 >> 12) & mask);
  out[23] = base + ((w6 >> 30) & mask);
  out[24] = base + (((w6 >> 48) | (w7 << 16)) & mask);
  out[25] = base + ((w7 >> 2) & mask);
  out[26] = base + ((w7 >> 20) & mask);
  out[27] = base + ((w7 >> 38) & mask);
  out[28] = base + (((w7 >> 56) | (w8 << 8)) & mask);
  out[29] = base + ((w8 >> 10) & mask);
  out[30] = base + ((w8 >> 28) & mask);
  out[31] = base + (w8 >> 46);
  *pout += 32;
}


x86 assembly (clang, -O0):
<unpackforblock18_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   $0x3ffff,-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    $0x120,%rcx
mov    %rcx,(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x30(%rbp),%eax
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x30(%rbp),%eax
sar    $0x12,%eax
and    $0x3ffff,%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    $0x24,%ecx
sar    %cl,%eax
mov    -0x90(%rbp),%ecx
and    $0x3ffff,%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    $0x36,%ecx
sar    %cl,%eax
mov    -0x8c(%rbp),%ecx
mov    -0x34(%rbp),%edx
shl    $0xa,%edx
or     %edx,%eax
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0xc(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x34(%rbp),%eax
sar    $0x8,%eax
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x10(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x34(%rbp),%eax
sar    $0x1a,%eax
and    $0x3ffff,%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    $0x2c,%ecx
sar    %cl,%eax
mov    -0x88(%rbp),%ecx
and    $0x3ffff,%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    $0x3e,%ecx
sar    %cl,%eax
mov    -0x84(%rbp),%ecx
mov    -0x38(%rbp),%edx
shl    $0x2,%edx
or     %edx,%eax
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x1c(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x38(%rbp),%eax
sar    $0x10,%eax
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x20(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x80(%rbp)
mov    -0x38(%rbp),%eax
mov    $0x22,%ecx
sar    %cl,%eax
mov    -0x80(%rbp),%ecx
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x24(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x7c(%rbp)
mov    -0x38(%rbp),%eax
mov    $0x34,%ecx
sar    %cl,%eax
mov    -0x7c(%rbp),%ecx
mov    -0x3c(%rbp),%edx
shl    $0xc,%edx
or     %edx,%eax
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x28(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x3c(%rbp),%eax
sar    $0x6,%eax
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x2c(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x3c(%rbp),%eax
sar    $0x18,%eax
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x30(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x78(%rbp)
mov    -0x3c(%rbp),%eax
mov    $0x2a,%ecx
sar    %cl,%eax
mov    -0x78(%rbp),%ecx
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x34(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x74(%rbp)
mov    -0x3c(%rbp),%eax
mov    $0x3c,%ecx
sar    %cl,%eax
mov    -0x74(%rbp),%ecx
mov    -0x40(%rbp),%edx
shl    $0x4,%edx
or     %edx,%eax
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x38(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x40(%rbp),%eax
sar    $0xe,%eax
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x3c(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x70(%rbp)
mov    -0x40(%rbp),%eax
mov    $0x20,%ecx
sar    %cl,%eax
mov    -0x70(%rbp),%ecx
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x40(%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    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x44(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x44(%rbp),%eax
sar    $0x4,%eax
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x48(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x44(%rbp),%eax
sar    $0x16,%eax
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x4c(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x68(%rbp)
mov    -0x44(%rbp),%eax
mov    $0x28,%ecx
sar    %cl,%eax
mov    -0x68(%rbp),%ecx
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x50(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x64(%rbp)
mov    -0x44(%rbp),%eax
mov    $0x3a,%ecx
sar    %cl,%eax
mov    -0x64(%rbp),%ecx
mov    -0x48(%rbp),%edx
shl    $0x6,%edx
or     %edx,%eax
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x54(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x48(%rbp),%eax
sar    $0xc,%eax
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x58(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x48(%rbp),%eax
sar    $0x1e,%eax
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x5c(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x60(%rbp)
mov    -0x48(%rbp),%eax
mov    $0x30,%ecx
sar    %cl,%eax
mov    -0x60(%rbp),%ecx
mov    -0x4c(%rbp),%edx
shl    $0x10,%edx
or     %edx,%eax
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x60(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x4c(%rbp),%eax
sar    $0x2,%eax
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x64(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x4c(%rbp),%eax
sar    $0x14,%eax
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x68(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x5c(%rbp)
mov    -0x4c(%rbp),%eax
mov    $0x26,%ecx
sar    %cl,%eax
mov    -0x5c(%rbp),%ecx
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x6c(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x58(%rbp)
mov    -0x4c(%rbp),%eax
mov    $0x38,%ecx
sar    %cl,%eax
mov    -0x58(%rbp),%ecx
mov    -0x50(%rbp),%edx
shl    $0x8,%edx
or     %edx,%eax
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x70(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x50(%rbp),%eax
sar    $0xa,%eax
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x74(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x50(%rbp),%eax
sar    $0x1c,%eax
and    $0x3ffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x78(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x54(%rbp)
mov    -0x50(%rbp),%eax
mov    $0x2e,%ecx
sar    %cl,%eax
mov    -0x54(%rbp),%ecx
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):
<unpackforblock18_64>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
mov    (%rsi),%rcx
mov    (%rdx),%rax
mov    (%rcx),%ebx
mov    0x4(%rcx),%ebp
movswl 0xa(%rcx),%r14d
mov    0xc(%rcx),%r12d
mov    0x10(%rcx),%r11d
mov    0x14(%rcx),%r15d
mov    0x18(%rcx),%r10d
mov    0x1c(%rcx),%r9d
mov    0x20(%rcx),%r8d
add    $0x120,%rcx
mov    %rcx,(%rsi)
mov    %ebx,%ecx
and    $0x3ffff,%ecx
add    %edi,%ecx
mov    %ecx,(%rax)
sar    $0x12,%ebx
and    $0x3ffff,%ebx
add    %edi,%ebx
mov    %ebx,0x4(%rax)
mov    %ebp,%ecx
shr    $0x8,%ecx
and    $0x3ffff,%ecx
add    %edi,%ecx
mov    %ecx,0x10(%rax)
sar    $0x1a,%ebp
and    $0x3ffff,%ebp
add    %edi,%ebp
mov    %ebp,0x14(%rax)
and    $0x3ffff,%r14d
add    %edi,%r14d
mov    %r14d,0x20(%rax)
mov    %r12d,%ecx
shr    $0x6,%ecx
and    $0x3ffff,%ecx
add    %edi,%ecx
mov    %ecx,0x2c(%rax)
sar    $0x18,%r12d
and    $0x3ffff,%r12d
add    %edi,%r12d
mov    %r12d,0x30(%rax)
shr    $0xe,%r11d
add    %edi,%r11d
mov    %r11d,0x3c(%rax)
mov    %r15d,%ecx
shr    $0x4,%ecx
and    $0x3ffff,%ecx
add    %edi,%ecx
mov    %ecx,0x48(%rax)
sar    $0x16,%r15d
and    $0x3ffff,%r15d
add    %edi,%r15d
mov    %r15d,0x4c(%rax)
mov    %r10d,%ecx
shr    $0xc,%ecx
and    $0x3ffff,%ecx
add    %edi,%ecx
mov    %ecx,0x58(%rax)
sar    $0x1e,%r10d
and    $0x3ffff,%r10d
add    %edi,%r10d
mov    %r10d,0x5c(%rax)
mov    %r9d,%ecx
shr    $0x2,%ecx
and    $0x3ffff,%ecx
add    %edi,%ecx
mov    %ecx,0x64(%rax)
sar    $0x14,%r9d
and    $0x3ffff,%r9d
add    %edi,%r9d
mov    %r9d,0x68(%rax)
mov    %r8d,%ecx
shr    $0xa,%ecx
and    $0x3ffff,%ecx
add    %edi,%ecx
mov    %ecx,0x74(%rax)
sar    $0x1c,%r8d
and    $0x3ffff,%r8d
add    %edi,%r8d
mov    %r8d,0x78(%rax)
subq   $0xffffffffffffff80,(%rdx)
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @unpackforblock18_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 262143, 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 72
store i32* %52, i32** %50
%53 = load i32, i32* %4
%54 = load i32, i32* %10
%55 = and i32 %54, 262143
%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, 18
%62 = and i32 %61, 262143
%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, 36
%69 = and i32 %68, 262143
%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, 54
%76 = load i32, i32* %11
%77 = shl i32 %76, 10
%78 = or i32 %75, %77
%79 = and i32 %78, 262143
%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, 8
%86 = and i32 %85, 262143
%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, 26
%93 = and i32 %92, 262143
%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, 44
%100 = and i32 %99, 262143
%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, 62
%107 = load i32, i32* %12
%108 = shl i32 %107, 2
%109 = or i32 %106, %108
%110 = and i32 %109, 262143
%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, 16
%117 = and i32 %116, 262143
%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, 34
%124 = and i32 %123, 262143
%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, 52
%131 = load i32, i32* %13
%132 = shl i32 %131, 12
%133 = or i32 %130, %132
%134 = and i32 %133, 262143
%135 = add nsw i32 %128, %134
%136 = load i32*, i32** %8
%137 = getelementptr inbounds i32, i32* %136, i64 10
store i32 %135, i32* %137
%138 = load i32, i32* %4
%139 = load i32, i32* %13
%140 = ashr i32 %139, 6
%141 = and i32 %140, 262143
%142 = add nsw i32 %138, %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, 24
%148 = and i32 %147, 262143
%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, 42
%155 = and i32 %154, 262143
%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, 60
%162 = load i32, i32* %14
%163 = shl i32 %162, 4
%164 = or i32 %161, %163
%165 = and i32 %164, 262143
%166 = add nsw i32 %159, %165
%167 = load i32*, i32** %8
%168 = getelementptr inbounds i32, i32* %167, i64 14
store i32 %166, i32* %168
%169 = load i32, i32* %4
%170 = load i32, i32* %14
%171 = ashr i32 %170, 14
%172 = and i32 %171, 262143
%173 = add nsw i32 %169, %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, 32
%179 = and i32 %178, 262143
%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, 50
%186 = load i32, i32* %15
%187 = shl i32 %186, 14
%188 = or i32 %185, %187
%189 = and i32 %188, 262143
%190 = add nsw i32 %183, %189
%191 = load i32*, i32** %8
%192 = getelementptr inbounds i32, i32* %191, i64 17
store i32 %190, i32* %192
%193 = load i32, i32* %4
%194 = load i32, i32* %15
%195 = ashr i32 %194, 4
%196 = and i32 %195, 262143
%197 = add nsw i32 %193, %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, 22
%203 = and i32 %202, 262143
%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, 40
%210 = and i32 %209, 262143
%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, 58
%217 = load i32, i32* %16
%218 = shl i32 %217, 6
%219 = or i32 %216, %218
%220 = and i32 %219, 262143
%221 = add nsw i32 %214, %220
%222 = load i32*, i32** %8
%223 = getelementptr inbounds i32, i32* %222, i64 21
store i32 %221, i32* %223
%224 = load i32, i32* %4
%225 = load i32, i32* %16
%226 = ashr i32 %225, 12
%227 = and i32 %226, 262143
%228 = add nsw i32 %224, %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, 30
%234 = and i32 %233, 262143
%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, 48
%241 = load i32, i32* %17
%242 = shl i32 %241, 16
%243 = or i32 %240, %242
%244 = and i32 %243, 262143
%245 = add nsw i32 %238, %244
%246 = load i32*, i32** %8
%247 = getelementptr inbounds i32, i32* %246, i64 24
store i32 %245, i32* %247
%248 = load i32, i32* %4
%249 = load i32, i32* %17
%250 = ashr i32 %249, 2
%251 = and i32 %250, 262143
%252 = add nsw i32 %248, %251
%253 = load i32*, i32** %8
%254 = getelementptr inbounds i32, i32* %253, i64 25
store i32 %252, i32* %254
%255 = load i32, i32* %4
%256 = load i32, i32* %17
%257 = ashr i32 %256, 20
%258 = and i32 %257, 262143
%259 = add nsw i32 %255, %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, 38
%265 = and i32 %264, 262143
%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, 56
%272 = load i32, i32* %18
%273 = shl i32 %272, 8
%274 = or i32 %271, %273
%275 = and i32 %274, 262143
%276 = add nsw i32 %269, %275
%277 = load i32*, i32** %8
%278 = getelementptr inbounds i32, i32* %277, i64 28
store i32 %276, i32* %278
%279 = load i32, i32* %4
%280 = load i32, i32* %18
%281 = ashr i32 %280, 10
%282 = and i32 %281, 262143
%283 = add nsw i32 %279, %282
%284 = load i32*, i32** %8
%285 = getelementptr inbounds i32, i32* %284, i64 29
store i32 %283, i32* %285
%286 = load i32, i32* %4
%287 = load i32, i32* %18
%288 = ashr i32 %287, 28
%289 = and i32 %288, 262143
%290 = add nsw i32 %286, %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, 46
%296 = add nsw i32 %293, %295
%297 = load i32*, i32** %8
%298 = getelementptr inbounds i32, i32* %297, i64 31
store i32 %296, i32* %298
%299 = load i32**, i32*** %6
%300 = load i32*, i32** %299
%301 = getelementptr inbounds i32, i32* %300, i64 32
store i32* %301, i32** %299
ret void
}

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