#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 w7;
typedef int const w6;
typedef int const w5;
typedef int const w4;
typedef int const w3;
typedef int const w2;
typedef int const w1;
typedef int const w0;
typedef int /*<<< orphan*/ uint8_t;
typedef int uint64_t;

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


x86 assembly (clang, -O0):
<unpackforblock16_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   $0xffff,-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    -0x10(%rbp),%rax
mov    (%rax),%rcx
add    $0x100,%rcx
mov    %rcx,(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x30(%rbp),%eax
and    $0xffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x30(%rbp),%eax
sar    $0x10,%eax
and    $0xffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x8c(%rbp)
mov    -0x30(%rbp),%eax
mov    $0x20,%ecx
sar    %cl,%eax
mov    -0x8c(%rbp),%ecx
and    $0xffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x88(%rbp)
mov    -0x30(%rbp),%eax
mov    $0x30,%ecx
sar    %cl,%eax
mov    -0x88(%rbp),%ecx
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0xc(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x34(%rbp),%eax
and    $0xffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x10(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x34(%rbp),%eax
sar    $0x10,%eax
and    $0xffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x14(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x84(%rbp)
mov    -0x34(%rbp),%eax
mov    $0x20,%ecx
sar    %cl,%eax
mov    -0x84(%rbp),%ecx
and    $0xffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x18(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x80(%rbp)
mov    -0x34(%rbp),%eax
mov    $0x30,%ecx
sar    %cl,%eax
mov    -0x80(%rbp),%ecx
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x1c(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x38(%rbp),%eax
and    $0xffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x20(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x38(%rbp),%eax
sar    $0x10,%eax
and    $0xffff,%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    $0x20,%ecx
sar    %cl,%eax
mov    -0x7c(%rbp),%ecx
and    $0xffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x28(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x78(%rbp)
mov    -0x38(%rbp),%eax
mov    $0x30,%ecx
sar    %cl,%eax
mov    -0x78(%rbp),%ecx
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x2c(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x3c(%rbp),%eax
and    $0xffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x30(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x3c(%rbp),%eax
sar    $0x10,%eax
and    $0xffff,%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    $0x20,%ecx
sar    %cl,%eax
mov    -0x74(%rbp),%ecx
and    $0xffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x38(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x70(%rbp)
mov    -0x3c(%rbp),%eax
mov    $0x30,%ecx
sar    %cl,%eax
mov    -0x70(%rbp),%ecx
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x3c(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x40(%rbp),%eax
and    $0xffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x40(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x40(%rbp),%eax
sar    $0x10,%eax
and    $0xffff,%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    $0x20,%ecx
sar    %cl,%eax
mov    -0x6c(%rbp),%ecx
and    $0xffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x48(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x68(%rbp)
mov    -0x40(%rbp),%eax
mov    $0x30,%ecx
sar    %cl,%eax
mov    -0x68(%rbp),%ecx
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x4c(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x44(%rbp),%eax
and    $0xffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x50(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x44(%rbp),%eax
sar    $0x10,%eax
and    $0xffff,%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    $0x20,%ecx
sar    %cl,%eax
mov    -0x64(%rbp),%ecx
and    $0xffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x58(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x60(%rbp)
mov    -0x44(%rbp),%eax
mov    $0x30,%ecx
sar    %cl,%eax
mov    -0x60(%rbp),%ecx
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x5c(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x48(%rbp),%eax
and    $0xffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x60(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x48(%rbp),%eax
sar    $0x10,%eax
and    $0xffff,%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    $0x20,%ecx
sar    %cl,%eax
mov    -0x5c(%rbp),%ecx
and    $0xffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x68(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x58(%rbp)
mov    -0x48(%rbp),%eax
mov    $0x30,%ecx
sar    %cl,%eax
mov    -0x58(%rbp),%ecx
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x6c(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x4c(%rbp),%eax
and    $0xffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x70(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x4c(%rbp),%eax
sar    $0x10,%eax
and    $0xffff,%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    $0x20,%ecx
sar    %cl,%eax
mov    -0x54(%rbp),%ecx
and    $0xffff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x78(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x50(%rbp)
mov    -0x4c(%rbp),%eax
mov    $0x30,%ecx
sar    %cl,%eax
mov    -0x50(%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):
<unpackforblock16_64>:
push   %rbp
push   %r15
push   %r14
push   %rbx
mov    (%rsi),%rcx
mov    (%rdx),%rax
mov    (%rcx),%ebp
mov    0x4(%rcx),%ebx
mov    0x8(%rcx),%r15d
mov    0xc(%rcx),%r14d
mov    0x10(%rcx),%r11d
mov    0x14(%rcx),%r10d
mov    0x18(%rcx),%r9d
mov    0x1c(%rcx),%r8d
add    $0x100,%rcx
mov    %rcx,(%rsi)
movzwl %bp,%ecx
add    %edi,%ecx
mov    %ecx,(%rax)
shr    $0x10,%ebp
add    %edi,%ebp
mov    %ebp,0x4(%rax)
movzwl %bx,%ecx
add    %edi,%ecx
mov    %ecx,0x10(%rax)
shr    $0x10,%ebx
add    %edi,%ebx
mov    %ebx,0x14(%rax)
movzwl %r15w,%ecx
add    %edi,%ecx
mov    %ecx,0x20(%rax)
shr    $0x10,%r15d
add    %edi,%r15d
mov    %r15d,0x24(%rax)
movzwl %r14w,%ecx
add    %edi,%ecx
mov    %ecx,0x30(%rax)
shr    $0x10,%r14d
add    %edi,%r14d
mov    %r14d,0x34(%rax)
movzwl %r11w,%ecx
add    %edi,%ecx
mov    %ecx,0x40(%rax)
shr    $0x10,%r11d
add    %edi,%r11d
mov    %r11d,0x44(%rax)
movzwl %r10w,%ecx
add    %edi,%ecx
mov    %ecx,0x50(%rax)
shr    $0x10,%r10d
add    %edi,%r10d
mov    %r10d,0x54(%rax)
movzwl %r9w,%ecx
add    %edi,%ecx
mov    %ecx,0x60(%rax)
shr    $0x10,%r9d
add    %edi,%r9d
mov    %r9d,0x64(%rax)
movzwl %r8w,%ecx
add    %edi,%ecx
mov    %ecx,0x70(%rax)
shr    $0x10,%r8d
add    %edi,%r8d
mov    %r8d,0x74(%rax)
subq   $0xffffffffffffff80,(%rdx)
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

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

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