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


x86 assembly (clang, -O0):
<unpackforblock10_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   $0x3ff,-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    $0xa0,%rcx
mov    %rcx,(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x30(%rbp),%eax
and    $0x3ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x30(%rbp),%eax
sar    $0xa,%eax
and    $0x3ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x30(%rbp),%eax
sar    $0x14,%eax
and    $0x3ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x30(%rbp),%eax
sar    $0x1e,%eax
and    $0x3ff,%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    $0x28,%ecx
sar    %cl,%eax
mov    -0x80(%rbp),%ecx
and    $0x3ff,%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    $0x32,%ecx
sar    %cl,%eax
mov    -0x7c(%rbp),%ecx
and    $0x3ff,%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    $0x3c,%ecx
sar    %cl,%eax
mov    -0x78(%rbp),%ecx
mov    -0x34(%rbp),%edx
shl    $0x4,%edx
or     %edx,%eax
and    $0x3ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x18(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x34(%rbp),%eax
sar    $0x6,%eax
and    $0x3ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x1c(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x34(%rbp),%eax
sar    $0x10,%eax
and    $0x3ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x20(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x34(%rbp),%eax
sar    $0x1a,%eax
and    $0x3ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x24(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x74(%rbp)
mov    -0x34(%rbp),%eax
mov    $0x24,%ecx
sar    %cl,%eax
mov    -0x74(%rbp),%ecx
and    $0x3ff,%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    $0x2e,%ecx
sar    %cl,%eax
mov    -0x70(%rbp),%ecx
and    $0x3ff,%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    $0x38,%ecx
sar    %cl,%eax
mov    -0x6c(%rbp),%ecx
mov    -0x38(%rbp),%edx
shl    $0x8,%edx
or     %edx,%eax
and    $0x3ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x30(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x38(%rbp),%eax
sar    $0x2,%eax
and    $0x3ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x34(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x38(%rbp),%eax
sar    $0xc,%eax
and    $0x3ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x38(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x38(%rbp),%eax
sar    $0x16,%eax
and    $0x3ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x3c(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x68(%rbp)
mov    -0x38(%rbp),%eax
mov    $0x20,%ecx
sar    %cl,%eax
mov    -0x68(%rbp),%ecx
and    $0x3ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x40(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x64(%rbp)
mov    -0x38(%rbp),%eax
mov    $0x2a,%ecx
sar    %cl,%eax
mov    -0x64(%rbp),%ecx
and    $0x3ff,%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    $0x34,%ecx
sar    %cl,%eax
mov    -0x60(%rbp),%ecx
and    $0x3ff,%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    $0x3e,%ecx
sar    %cl,%eax
mov    -0x5c(%rbp),%ecx
mov    -0x3c(%rbp),%edx
shl    $0x2,%edx
or     %edx,%eax
and    $0x3ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x4c(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x3c(%rbp),%eax
sar    $0x8,%eax
and    $0x3ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x50(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x3c(%rbp),%eax
sar    $0x12,%eax
and    $0x3ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x54(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x3c(%rbp),%eax
sar    $0x1c,%eax
and    $0x3ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x58(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x58(%rbp)
mov    -0x3c(%rbp),%eax
mov    $0x26,%ecx
sar    %cl,%eax
mov    -0x58(%rbp),%ecx
and    $0x3ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x5c(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x54(%rbp)
mov    -0x3c(%rbp),%eax
mov    $0x30,%ecx
sar    %cl,%eax
mov    -0x54(%rbp),%ecx
and    $0x3ff,%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    $0x3a,%ecx
sar    %cl,%eax
mov    -0x50(%rbp),%ecx
mov    -0x40(%rbp),%edx
shl    $0x6,%edx
or     %edx,%eax
and    $0x3ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x64(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x40(%rbp),%eax
sar    $0x4,%eax
and    $0x3ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x68(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x40(%rbp),%eax
sar    $0xe,%eax
and    $0x3ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x6c(%rax)
mov    -0x4(%rbp),%ecx
mov    -0x40(%rbp),%eax
sar    $0x18,%eax
and    $0x3ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x70(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x4c(%rbp)
mov    -0x40(%rbp),%eax
mov    $0x22,%ecx
sar    %cl,%eax
mov    -0x4c(%rbp),%ecx
and    $0x3ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x74(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x48(%rbp)
mov    -0x40(%rbp),%eax
mov    $0x2c,%ecx
sar    %cl,%eax
mov    -0x48(%rbp),%ecx
and    $0x3ff,%eax
add    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,0x78(%rax)
mov    -0x4(%rbp),%eax
mov    %eax,-0x44(%rbp)
mov    -0x40(%rbp),%eax
mov    $0x36,%ecx
sar    %cl,%eax
mov    -0x44(%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)
pop    %rbp
ret

x86 assembly (clang, -O2):
<unpackforblock10_64>:
push   %rbx
mov    (%rsi),%rax
mov    (%rdx),%r11
mov    (%rax),%ebx
mov    0x4(%rax),%ecx
mov    0x8(%rax),%r9d
mov    0xc(%rax),%r10d
mov    0x10(%rax),%r8d
add    $0xa0,%rax
mov    %rax,(%rsi)
mov    %ebx,%eax
shr    $0xa,%eax
mov    %ebx,%esi
shr    $0x14,%esi
movd   %ebx,%xmm0
sar    $0x1e,%ebx
movd   %ebx,%xmm1
movd   %esi,%xmm2
punpckldq %xmm1,%xmm2
movd   %eax,%xmm1
punpckldq %xmm1,%xmm0
punpcklqdq %xmm2,%xmm0
pand   0xeae(%rip),%xmm0
movd   %edi,%xmm1
pshufd $0x0,%xmm1,%xmm1
paddd  %xmm0,%xmm1
movdqu %xmm1,(%r11)
mov    %ecx,%eax
shr    $0x6,%eax
and    $0x3ff,%eax
add    %edi,%eax
mov    %eax,0x1c(%r11)
mov    %ecx,%eax
shr    $0x10,%eax
and    $0x3ff,%eax
add    %edi,%eax
mov    %eax,0x20(%r11)
sar    $0x1a,%ecx
and    $0x3ff,%ecx
add    %edi,%ecx
mov    %ecx,0x24(%r11)
mov    %r9d,%eax
shr    $0x2,%eax
and    $0x3ff,%eax
add    %edi,%eax
mov    %eax,0x34(%r11)
mov    %r9d,%eax
shr    $0xc,%eax
and    $0x3ff,%eax
add    %edi,%eax
mov    %eax,0x38(%r11)
shr    $0x16,%r9d
add    %edi,%r9d
mov    %r9d,0x3c(%r11)
mov    %r10d,%eax
shr    $0x8,%eax
and    $0x3ff,%eax
add    %edi,%eax
mov    %eax,0x50(%r11)
mov    %r10d,%eax
shr    $0x12,%eax
and    $0x3ff,%eax
add    %edi,%eax
mov    %eax,0x54(%r11)
sar    $0x1c,%r10d
and    $0x3ff,%r10d
add    %edi,%r10d
mov    %r10d,0x58(%r11)
mov    %r8d,%eax
shr    $0x4,%eax
and    $0x3ff,%eax
add    %edi,%eax
mov    %eax,0x68(%r11)
mov    %r8d,%eax
shr    $0xe,%eax
and    $0x3ff,%eax
add    %edi,%eax
mov    %eax,0x6c(%r11)
sar    $0x18,%r8d
and    $0x3ff,%r8d
add    %edi,%r8d
mov    %r8d,0x70(%r11)
subq   $0xffffffffffffff80,(%rdx)
pop    %rbx
ret

LLVM IR (-O0):
define void @unpackforblock10_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 1023, 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 40
store i32* %36, i32** %34
%37 = load i32, i32* %4
%38 = load i32, i32* %10
%39 = and i32 %38, 1023
%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, 10
%46 = and i32 %45, 1023
%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, 20
%53 = and i32 %52, 1023
%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, 30
%60 = and i32 %59, 1023
%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, 40
%67 = and i32 %66, 1023
%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, 50
%74 = and i32 %73, 1023
%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, 60
%81 = load i32, i32* %11
%82 = shl i32 %81, 4
%83 = or i32 %80, %82
%84 = and i32 %83, 1023
%85 = add nsw i32 %78, %84
%86 = load i32*, i32** %8
%87 = getelementptr inbounds i32, i32* %86, i64 6
store i32 %85, i32* %87
%88 = load i32, i32* %4
%89 = load i32, i32* %11
%90 = ashr i32 %89, 6
%91 = and i32 %90, 1023
%92 = add nsw i32 %88, %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, 16
%98 = and i32 %97, 1023
%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, 26
%105 = and i32 %104, 1023
%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, 36
%112 = and i32 %111, 1023
%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, 46
%119 = and i32 %118, 1023
%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, 56
%126 = load i32, i32* %12
%127 = shl i32 %126, 8
%128 = or i32 %125, %127
%129 = and i32 %128, 1023
%130 = add nsw i32 %123, %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* %12
%135 = ashr i32 %134, 2
%136 = and i32 %135, 1023
%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* %12
%142 = ashr i32 %141, 12
%143 = and i32 %142, 1023
%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* %12
%149 = ashr i32 %148, 22
%150 = and i32 %149, 1023
%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, 32
%157 = and i32 %156, 1023
%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, 42
%164 = and i32 %163, 1023
%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, 52
%171 = and i32 %170, 1023
%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, 62
%178 = load i32, i32* %13
%179 = shl i32 %178, 2
%180 = or i32 %177, %179
%181 = and i32 %180, 1023
%182 = add nsw i32 %175, %181
%183 = load i32*, i32** %8
%184 = getelementptr inbounds i32, i32* %183, i64 19
store i32 %182, i32* %184
%185 = load i32, i32* %4
%186 = load i32, i32* %13
%187 = ashr i32 %186, 8
%188 = and i32 %187, 1023
%189 = add nsw i32 %185, %188
%190 = load i32*, i32** %8
%191 = getelementptr inbounds i32, i32* %190, i64 20
store i32 %189, i32* %191
%192 = load i32, i32* %4
%193 = load i32, i32* %13
%194 = ashr i32 %193, 18
%195 = and i32 %194, 1023
%196 = add nsw i32 %192, %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, 28
%202 = and i32 %201, 1023
%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, 38
%209 = and i32 %208, 1023
%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, 48
%216 = and i32 %215, 1023
%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, 58
%223 = load i32, i32* %14
%224 = shl i32 %223, 6
%225 = or i32 %222, %224
%226 = and i32 %225, 1023
%227 = add nsw i32 %220, %226
%228 = load i32*, i32** %8
%229 = getelementptr inbounds i32, i32* %228, i64 25
store i32 %227, i32* %229
%230 = load i32, i32* %4
%231 = load i32, i32* %14
%232 = ashr i32 %231, 4
%233 = and i32 %232, 1023
%234 = add nsw i32 %230, %233
%235 = load i32*, i32** %8
%236 = getelementptr inbounds i32, i32* %235, i64 26
store i32 %234, i32* %236
%237 = load i32, i32* %4
%238 = load i32, i32* %14
%239 = ashr i32 %238, 14
%240 = and i32 %239, 1023
%241 = add nsw i32 %237, %240
%242 = load i32*, i32** %8
%243 = getelementptr inbounds i32, i32* %242, i64 27
store i32 %241, i32* %243
%244 = load i32, i32* %4
%245 = load i32, i32* %14
%246 = ashr i32 %245, 24
%247 = and i32 %246, 1023
%248 = add nsw i32 %244, %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, 34
%254 = and i32 %253, 1023
%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, 44
%261 = and i32 %260, 1023
%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, 54
%268 = add nsw i32 %265, %267
%269 = load i32*, i32** %8
%270 = getelementptr inbounds i32, i32* %269, i64 31
store i32 %268, i32* %270
%271 = load i32**, i32*** %6
%272 = load i32*, i32** %271
%273 = getelementptr inbounds i32, i32* %272, i64 32
store i32* %273, i32** %271
ret void
}

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