#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 unpackforblock9_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 = (511ULL);
  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];
  *pw += 36;
  out[0] = base + ((w0)&mask);
  out[1] = base + ((w0 >> 9) & mask);
  out[2] = base + ((w0 >> 18) & mask);
  out[3] = base + ((w0 >> 27) & mask);
  out[4] = base + ((w0 >> 36) & mask);
  out[5] = base + ((w0 >> 45) & mask);
  out[6] = base + ((w0 >> 54) & mask);
  out[7] = base + (((w0 >> 63) | (w1 << 1)) & mask);
  out[8] = base + ((w1 >> 8) & mask);
  out[9] = base + ((w1 >> 17) & mask);
  out[10] = base + ((w1 >> 26) & mask);
  out[11] = base + ((w1 >> 35) & mask);
  out[12] = base + ((w1 >> 44) & mask);
  out[13] = base + ((w1 >> 53) & mask);
  out[14] = base + (((w1 >> 62) | (w2 << 2)) & mask);
  out[15] = base + ((w2 >> 7) & mask);
  out[16] = base + ((w2 >> 16) & mask);
  out[17] = base + ((w2 >> 25) & mask);
  out[18] = base + ((w2 >> 34) & mask);
  out[19] = base + ((w2 >> 43) & mask);
  out[20] = base + ((w2 >> 52) & mask);
  out[21] = base + (((w2 >> 61) | (w3 << 3)) & mask);
  out[22] = base + ((w3 >> 6) & mask);
  out[23] = base + ((w3 >> 15) & mask);
  out[24] = base + ((w3 >> 24) & mask);
  out[25] = base + ((w3 >> 33) & mask);
  out[26] = base + ((w3 >> 42) & mask);
  out[27] = base + ((w3 >> 51) & mask);
  out[28] = base + (((w3 >> 60) | (w4 << 4)) & mask);
  out[29] = base + ((w4 >> 5) & mask);
  out[30] = base + ((w4 >> 14) & mask);
  out[31] = base + ((w4 >> 23) & mask);
  *pout += 32;
}


x86 assembly (clang, -O0):
<unpackforblock9_64>:
push   %rbp
mov    %rsp,%rbp
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   $0x1ff,-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    -0x10(%rbp),%rax
mov    (%rax),%rcx
add    $0x90,%rcx
mov    %rcx,(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x30(%rbp),%eax
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x30(%rbp),%eax
sar    $0x9,%eax
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x30(%rbp),%eax
sar    $0x12,%eax
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x30(%rbp),%eax
sar    $0x1b,%eax
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0xc(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x80(%rbp)
mov    -0x30(%rbp),%eax
mov    $0x24,%ecx
sar    %cl,%eax
mov    -0x80(%rbp),%ecx
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x10(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x7c(%rbp)
mov    -0x30(%rbp),%eax
mov    $0x2d,%ecx
sar    %cl,%eax
mov    -0x7c(%rbp),%ecx
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x14(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x78(%rbp)
mov    -0x30(%rbp),%eax
mov    $0x36,%ecx
sar    %cl,%eax
mov    -0x78(%rbp),%ecx
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x18(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x74(%rbp)
mov    -0x30(%rbp),%eax
mov    $0x3f,%ecx
sar    %cl,%eax
mov    -0x74(%rbp),%ecx
mov    -0x34(%rbp),%edx
shl    $0x1,%edx
or     %edx,%eax
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x1c(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x34(%rbp),%eax
sar    $0x8,%eax
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x20(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x34(%rbp),%eax
sar    $0x11,%eax
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x24(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x34(%rbp),%eax
sar    $0x1a,%eax
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x28(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x70(%rbp)
mov    -0x34(%rbp),%eax
mov    $0x23,%ecx
sar    %cl,%eax
mov    -0x70(%rbp),%ecx
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x2c(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x6c(%rbp)
mov    -0x34(%rbp),%eax
mov    $0x2c,%ecx
sar    %cl,%eax
mov    -0x6c(%rbp),%ecx
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x30(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x68(%rbp)
mov    -0x34(%rbp),%eax
mov    $0x35,%ecx
sar    %cl,%eax
mov    -0x68(%rbp),%ecx
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x34(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x64(%rbp)
mov    -0x34(%rbp),%eax
mov    $0x3e,%ecx
sar    %cl,%eax
mov    -0x64(%rbp),%ecx
mov    -0x38(%rbp),%edx
shl    $0x2,%edx
or     %edx,%eax
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x38(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x38(%rbp),%eax
sar    $0x7,%eax
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x3c(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x38(%rbp),%eax
sar    $0x10,%eax
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x40(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x38(%rbp),%eax
sar    $0x19,%eax
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x44(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x60(%rbp)
mov    -0x38(%rbp),%eax
mov    $0x22,%ecx
sar    %cl,%eax
mov    -0x60(%rbp),%ecx
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x48(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x5c(%rbp)
mov    -0x38(%rbp),%eax
mov    $0x2b,%ecx
sar    %cl,%eax
mov    -0x5c(%rbp),%ecx
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x4c(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x58(%rbp)
mov    -0x38(%rbp),%eax
mov    $0x34,%ecx
sar    %cl,%eax
mov    -0x58(%rbp),%ecx
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x50(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x54(%rbp)
mov    -0x38(%rbp),%eax
mov    $0x3d,%ecx
sar    %cl,%eax
mov    -0x54(%rbp),%ecx
mov    -0x3c(%rbp),%edx
shl    $0x3,%edx
or     %edx,%eax
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x54(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x3c(%rbp),%eax
sar    $0x6,%eax
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x58(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x3c(%rbp),%eax
sar    $0xf,%eax
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x5c(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x3c(%rbp),%eax
sar    $0x18,%eax
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x60(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x50(%rbp)
mov    -0x3c(%rbp),%eax
mov    $0x21,%ecx
sar    %cl,%eax
mov    -0x50(%rbp),%ecx
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x64(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x4c(%rbp)
mov    -0x3c(%rbp),%eax
mov    $0x2a,%ecx
sar    %cl,%eax
mov    -0x4c(%rbp),%ecx
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x68(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x48(%rbp)
mov    -0x3c(%rbp),%eax
mov    $0x33,%ecx
sar    %cl,%eax
mov    -0x48(%rbp),%ecx
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x6c(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x44(%rbp)
mov    -0x3c(%rbp),%eax
mov    $0x3c,%ecx
sar    %cl,%eax
mov    -0x44(%rbp),%ecx
mov    -0x40(%rbp),%edx
shl    $0x4,%edx
or     %edx,%eax
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x70(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x40(%rbp),%eax
sar    $0x5,%eax
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x74(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x40(%rbp),%eax
sar    $0xe,%eax
and    $0x1ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x78(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x40(%rbp),%eax
sar    $0x17,%eax
and    $0x1ff,%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)
pop    %rbp
ret

x86 assembly (clang, -O2):
<unpackforblock9_64>:
push   %rbx
mov    (%rsi),%rcx
mov    (%rdx),%r10
mov    (%rcx),%ebx
mov    0x4(%rcx),%eax
mov    0x8(%rcx),%r11d
mov    0xc(%rcx),%r9d
mov    0x10(%rcx),%r8d
add    $0x90,%rcx
mov    %rcx,(%rsi)
mov    %ebx,%ecx
shr    $0x9,%ecx
mov    %ebx,%esi
shr    $0x12,%esi
movd   %ebx,%xmm0
sar    $0x1b,%ebx
movd   %ebx,%xmm1
movd   %esi,%xmm2
punpckldq %xmm1,%xmm2
movd   %ecx,%xmm1
punpckldq %xmm1,%xmm0
punpcklqdq %xmm2,%xmm0
pand   0xead(%rip),%xmm0
movd   %edi,%xmm1
pshufd $0x0,%xmm1,%xmm1
paddd  %xmm0,%xmm1
movdqu %xmm1,(%r10)
mov    %eax,%ecx
shr    $0x8,%ecx
and    $0x1ff,%ecx
add    %edi,%ecx
mov    %ecx,0x20(%r10)
mov    %eax,%ecx
shr    $0x11,%ecx
and    $0x1ff,%ecx
add    %edi,%ecx
mov    %ecx,0x24(%r10)
sar    $0x1a,%eax
and    $0x1ff,%eax
add    %edi,%eax
mov    %eax,0x28(%r10)
mov    %r11d,%eax
shr    $0x7,%eax
and    $0x1ff,%eax
add    %edi,%eax
mov    %eax,0x3c(%r10)
mov    %r11d,%eax
shr    $0x10,%eax
and    $0x1ff,%eax
add    %edi,%eax
mov    %eax,0x40(%r10)
sar    $0x19,%r11d
and    $0x1ff,%r11d
add    %edi,%r11d
mov    %r11d,0x44(%r10)
mov    %r9d,%eax
shr    $0x6,%eax
and    $0x1ff,%eax
add    %edi,%eax
mov    %eax,0x58(%r10)
mov    %r9d,%eax
shr    $0xf,%eax
and    $0x1ff,%eax
add    %edi,%eax
mov    %eax,0x5c(%r10)
sar    $0x18,%r9d
and    $0x1ff,%r9d
add    %edi,%r9d
mov    %r9d,0x60(%r10)
mov    %r8d,%eax
shr    $0x5,%eax
and    $0x1ff,%eax
add    %edi,%eax
mov    %eax,0x74(%r10)
mov    %r8d,%eax
shr    $0xe,%eax
and    $0x1ff,%eax
add    %edi,%eax
mov    %eax,0x78(%r10)
shr    $0x17,%r8d
add    %edi,%r8d
mov    %r8d,0x7c(%r10)
subq   $0xffffffffffffff80,(%rdx)
pop    %rbx
ret

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

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