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

/* Variables and functions */
void unpackforblock12_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 = (4095ULL);
  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];
  *pw += 48;
  out[0] = base + ((w0)&mask);
  out[1] = base + ((w0 >> 12) & mask);
  out[2] = base + ((w0 >> 24) & mask);
  out[3] = base + ((w0 >> 36) & mask);
  out[4] = base + ((w0 >> 48) & mask);
  out[5] = base + (((w0 >> 60) | (w1 << 4)) & mask);
  out[6] = base + ((w1 >> 8) & mask);
  out[7] = base + ((w1 >> 20) & mask);
  out[8] = base + ((w1 >> 32) & mask);
  out[9] = base + ((w1 >> 44) & mask);
  out[10] = base + (((w1 >> 56) | (w2 << 8)) & mask);
  out[11] = base + ((w2 >> 4) & mask);
  out[12] = base + ((w2 >> 16) & mask);
  out[13] = base + ((w2 >> 28) & mask);
  out[14] = base + ((w2 >> 40) & mask);
  out[15] = base + (w2 >> 52);
  out[16] = base + ((w3)&mask);
  out[17] = base + ((w3 >> 12) & mask);
  out[18] = base + ((w3 >> 24) & mask);
  out[19] = base + ((w3 >> 36) & mask);
  out[20] = base + ((w3 >> 48) & mask);
  out[21] = base + (((w3 >> 60) | (w4 << 4)) & mask);
  out[22] = base + ((w4 >> 8) & mask);
  out[23] = base + ((w4 >> 20) & mask);
  out[24] = base + ((w4 >> 32) & mask);
  out[25] = base + ((w4 >> 44) & mask);
  out[26] = base + (((w4 >> 56) | (w5 << 8)) & mask);
  out[27] = base + ((w5 >> 4) & mask);
  out[28] = base + ((w5 >> 16) & mask);
  out[29] = base + ((w5 >> 28) & mask);
  out[30] = base + ((w5 >> 40) & mask);
  out[31] = base + (w5 >> 52);
  *pout += 32;
}


x86 assembly (clang, -O0):
<unpackforblock12_64>:
push   %rbp
mov    %rsp,%rbp
push   %rax
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   $0xfff,-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    -0x10(%rbp),%rax
mov    (%rax),%rcx
add    $0xc0,%rcx
mov    %rcx,(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x30(%rbp),%eax
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x30(%rbp),%eax
sar    $0xc,%eax
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x30(%rbp),%eax
sar    $0x18,%eax
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x84(%rbp)
mov    -0x30(%rbp),%eax
mov    $0x24,%ecx
sar    %cl,%eax
mov    -0x84(%rbp),%ecx
and    $0xfff,%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    $0x30,%ecx
sar    %cl,%eax
mov    -0x80(%rbp),%ecx
and    $0xfff,%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    $0x3c,%ecx
sar    %cl,%eax
mov    -0x7c(%rbp),%ecx
mov    -0x34(%rbp),%edx
shl    $0x4,%edx
or     %edx,%eax
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x14(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x34(%rbp),%eax
sar    $0x8,%eax
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x18(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x34(%rbp),%eax
sar    $0x14,%eax
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x1c(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x78(%rbp)
mov    -0x34(%rbp),%eax
mov    $0x20,%ecx
sar    %cl,%eax
mov    -0x78(%rbp),%ecx
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x20(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x74(%rbp)
mov    -0x34(%rbp),%eax
mov    $0x2c,%ecx
sar    %cl,%eax
mov    -0x74(%rbp),%ecx
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x24(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x70(%rbp)
mov    -0x34(%rbp),%eax
mov    $0x38,%ecx
sar    %cl,%eax
mov    -0x70(%rbp),%ecx
mov    -0x38(%rbp),%edx
shl    $0x8,%edx
or     %edx,%eax
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x28(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x38(%rbp),%eax
sar    $0x4,%eax
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x2c(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x38(%rbp),%eax
sar    $0x10,%eax
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x30(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x38(%rbp),%eax
sar    $0x1c,%eax
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x34(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x6c(%rbp)
mov    -0x38(%rbp),%eax
mov    $0x28,%ecx
sar    %cl,%eax
mov    -0x6c(%rbp),%ecx
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x38(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x68(%rbp)
mov    -0x38(%rbp),%eax
mov    $0x34,%ecx
sar    %cl,%eax
mov    -0x68(%rbp),%ecx
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x3c(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x3c(%rbp),%eax
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x40(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x3c(%rbp),%eax
sar    $0xc,%eax
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x44(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x3c(%rbp),%eax
sar    $0x18,%eax
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x48(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x64(%rbp)
mov    -0x3c(%rbp),%eax
mov    $0x24,%ecx
sar    %cl,%eax
mov    -0x64(%rbp),%ecx
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x4c(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x60(%rbp)
mov    -0x3c(%rbp),%eax
mov    $0x30,%ecx
sar    %cl,%eax
mov    -0x60(%rbp),%ecx
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x50(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x5c(%rbp)
mov    -0x3c(%rbp),%eax
mov    $0x3c,%ecx
sar    %cl,%eax
mov    -0x5c(%rbp),%ecx
mov    -0x40(%rbp),%edx
shl    $0x4,%edx
or     %edx,%eax
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x54(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x40(%rbp),%eax
sar    $0x8,%eax
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x58(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x40(%rbp),%eax
sar    $0x14,%eax
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x5c(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x58(%rbp)
mov    -0x40(%rbp),%eax
mov    $0x20,%ecx
sar    %cl,%eax
mov    -0x58(%rbp),%ecx
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x60(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x54(%rbp)
mov    -0x40(%rbp),%eax
mov    $0x2c,%ecx
sar    %cl,%eax
mov    -0x54(%rbp),%ecx
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x64(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x50(%rbp)
mov    -0x40(%rbp),%eax
mov    $0x38,%ecx
sar    %cl,%eax
mov    -0x50(%rbp),%ecx
mov    -0x44(%rbp),%edx
shl    $0x8,%edx
or     %edx,%eax
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x68(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x44(%rbp),%eax
sar    $0x4,%eax
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x6c(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x44(%rbp),%eax
sar    $0x10,%eax
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x70(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x44(%rbp),%eax
sar    $0x1c,%eax
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x74(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x4c(%rbp)
mov    -0x44(%rbp),%eax
mov    $0x28,%ecx
sar    %cl,%eax
mov    -0x4c(%rbp),%ecx
and    $0xfff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x78(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x48(%rbp)
mov    -0x44(%rbp),%eax
mov    $0x34,%ecx
sar    %cl,%eax
mov    -0x48(%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    $0x8,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<unpackforblock12_64>:
push   %rbp
push   %rbx
mov    (%rsi),%rbx
mov    (%rdx),%rax
mov    (%rbx),%ebp
mov    0x4(%rbx),%r11d
mov    0x8(%rbx),%ecx
mov    0xc(%rbx),%r10d
mov    0x10(%rbx),%r8d
mov    0x14(%rbx),%r9d
add    $0xc0,%rbx
mov    %rbx,(%rsi)
mov    %ebp,%esi
and    $0xfff,%esi
add    %edi,%esi
mov    %esi,(%rax)
mov    %ebp,%esi
shr    $0xc,%esi
and    $0xfff,%esi
add    %edi,%esi
mov    %esi,0x4(%rax)
sar    $0x18,%ebp
and    $0xfff,%ebp
add    %edi,%ebp
mov    %ebp,0x8(%rax)
mov    %r11d,%esi
shr    $0x8,%esi
and    $0xfff,%esi
add    %edi,%esi
mov    %esi,0x18(%rax)
shr    $0x14,%r11d
add    %edi,%r11d
mov    %r11d,0x1c(%rax)
mov    %ecx,%esi
shr    $0x4,%esi
and    $0xfff,%esi
add    %edi,%esi
mov    %esi,0x2c(%rax)
mov    %ecx,%esi
shr    $0x10,%esi
and    $0xfff,%esi
add    %edi,%esi
mov    %esi,0x30(%rax)
sar    $0x1c,%ecx
and    $0xfff,%ecx
add    %edi,%ecx
mov    %ecx,0x34(%rax)
mov    %r10d,%ecx
and    $0xfff,%ecx
add    %edi,%ecx
mov    %ecx,0x40(%rax)
mov    %r10d,%ecx
shr    $0xc,%ecx
and    $0xfff,%ecx
add    %edi,%ecx
mov    %ecx,0x44(%rax)
sar    $0x18,%r10d
and    $0xfff,%r10d
add    %edi,%r10d
mov    %r10d,0x48(%rax)
mov    %r8d,%ecx
shr    $0x8,%ecx
and    $0xfff,%ecx
add    %edi,%ecx
mov    %ecx,0x58(%rax)
shr    $0x14,%r8d
add    %edi,%r8d
mov    %r8d,0x5c(%rax)
mov    %r9d,%ecx
shr    $0x4,%ecx
and    $0xfff,%ecx
add    %edi,%ecx
mov    %ecx,0x6c(%rax)
mov    %r9d,%ecx
shr    $0x10,%ecx
and    $0xfff,%ecx
add    %edi,%ecx
mov    %ecx,0x70(%rax)
sar    $0x1c,%r9d
and    $0xfff,%r9d
add    %edi,%r9d
mov    %r9d,0x74(%rax)
subq   $0xffffffffffffff80,(%rdx)
pop    %rbx
pop    %rbp
ret

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

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