void unpack10(unsigned int *p, unsigned int *w) {
  int i;
  for (i = 0; i < 128; i += 32, p += 32, w += 10) {
    p[0] = (w[0] >> 22);
    p[1] = (w[0] >> 12) & 1023;
    p[2] = (w[0] >> 2) & 1023;
    p[3] = (w[0] << 8) & 1023;
    p[3] |= (w[1] >> 24);
    p[4] = (w[1] >> 14) & 1023;
    p[5] = (w[1] >> 4) & 1023;
    p[6] = (w[1] << 6) & 1023;
    p[6] |= (w[2] >> 26);
    p[7] = (w[2] >> 16) & 1023;
    p[8] = (w[2] >> 6) & 1023;
    p[9] = (w[2] << 4) & 1023;
    p[9] |= (w[3] >> 28);
    p[10] = (w[3] >> 18) & 1023;
    p[11] = (w[3] >> 8) & 1023;
    p[12] = (w[3] << 2) & 1023;
    p[12] |= (w[4] >> 30);
    p[13] = (w[4] >> 20) & 1023;
    p[14] = (w[4] >> 10) & 1023;
    p[15] = (w[4]) & 1023;
    p[16] = (w[5] >> 22);
    p[17] = (w[5] >> 12) & 1023;
    p[18] = (w[5] >> 2) & 1023;
    p[19] = (w[5] << 8) & 1023;
    p[19] |= (w[6] >> 24);
    p[20] = (w[6] >> 14) & 1023;
    p[21] = (w[6] >> 4) & 1023;
    p[22] = (w[6] << 6) & 1023;
    p[22] |= (w[7] >> 26);
    p[23] = (w[7] >> 16) & 1023;
    p[24] = (w[7] >> 6) & 1023;
    p[25] = (w[7] << 4) & 1023;
    p[25] |= (w[8] >> 28);
    p[26] = (w[8] >> 18) & 1023;
    p[27] = (w[8] >> 8) & 1023;
    p[28] = (w[8] << 2) & 1023;
    p[28] |= (w[9] >> 30);
    p[29] = (w[9] >> 20) & 1023;
    p[30] = (w[9] >> 10) & 1023;
    p[31] = (w[9]) & 1023;
  }
}


x86 assembly (clang, -O0):
<unpack10>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
cmpl   $0x80,-0x14(%rbp)
jge    14b1 <unpack10+0x3b1>
mov    -0x10(%rbp),%rax
mov    (%rax),%ecx
shr    $0x16,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x10(%rbp),%rax
mov    (%rax),%ecx
shr    $0xc,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x4(%rax)
mov    -0x10(%rbp),%rax
mov    (%rax),%ecx
shr    $0x2,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0x10(%rbp),%rax
mov    (%rax),%ecx
shl    $0x8,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0xc(%rax)
mov    -0x10(%rbp),%rax
mov    0x4(%rax),%ecx
shr    $0x18,%ecx
mov    -0x8(%rbp),%rax
or     0xc(%rax),%ecx
mov    %ecx,0xc(%rax)
mov    -0x10(%rbp),%rax
mov    0x4(%rax),%ecx
shr    $0xe,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x10(%rax)
mov    -0x10(%rbp),%rax
mov    0x4(%rax),%ecx
shr    $0x4,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x14(%rax)
mov    -0x10(%rbp),%rax
mov    0x4(%rax),%ecx
shl    $0x6,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x18(%rax)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%ecx
shr    $0x1a,%ecx
mov    -0x8(%rbp),%rax
or     0x18(%rax),%ecx
mov    %ecx,0x18(%rax)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%ecx
shr    $0x10,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x1c(%rax)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%ecx
shr    $0x6,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x20(%rax)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%ecx
shl    $0x4,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x24(%rax)
mov    -0x10(%rbp),%rax
mov    0xc(%rax),%ecx
shr    $0x1c,%ecx
mov    -0x8(%rbp),%rax
or     0x24(%rax),%ecx
mov    %ecx,0x24(%rax)
mov    -0x10(%rbp),%rax
mov    0xc(%rax),%ecx
shr    $0x12,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x28(%rax)
mov    -0x10(%rbp),%rax
mov    0xc(%rax),%ecx
shr    $0x8,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x2c(%rax)
mov    -0x10(%rbp),%rax
mov    0xc(%rax),%ecx
shl    $0x2,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x30(%rax)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%ecx
shr    $0x1e,%ecx
mov    -0x8(%rbp),%rax
or     0x30(%rax),%ecx
mov    %ecx,0x30(%rax)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%ecx
shr    $0x14,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x34(%rax)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%ecx
shr    $0xa,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x38(%rax)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x3c(%rax)
mov    -0x10(%rbp),%rax
mov    0x14(%rax),%ecx
shr    $0x16,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x40(%rax)
mov    -0x10(%rbp),%rax
mov    0x14(%rax),%ecx
shr    $0xc,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x44(%rax)
mov    -0x10(%rbp),%rax
mov    0x14(%rax),%ecx
shr    $0x2,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x48(%rax)
mov    -0x10(%rbp),%rax
mov    0x14(%rax),%ecx
shl    $0x8,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x4c(%rax)
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%ecx
shr    $0x18,%ecx
mov    -0x8(%rbp),%rax
or     0x4c(%rax),%ecx
mov    %ecx,0x4c(%rax)
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%ecx
shr    $0xe,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x50(%rax)
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%ecx
shr    $0x4,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x54(%rax)
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%ecx
shl    $0x6,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x58(%rax)
mov    -0x10(%rbp),%rax
mov    0x1c(%rax),%ecx
shr    $0x1a,%ecx
mov    -0x8(%rbp),%rax
or     0x58(%rax),%ecx
mov    %ecx,0x58(%rax)
mov    -0x10(%rbp),%rax
mov    0x1c(%rax),%ecx
shr    $0x10,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x5c(%rax)
mov    -0x10(%rbp),%rax
mov    0x1c(%rax),%ecx
shr    $0x6,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x60(%rax)
mov    -0x10(%rbp),%rax
mov    0x1c(%rax),%ecx
shl    $0x4,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x64(%rax)
mov    -0x10(%rbp),%rax
mov    0x20(%rax),%ecx
shr    $0x1c,%ecx
mov    -0x8(%rbp),%rax
or     0x64(%rax),%ecx
mov    %ecx,0x64(%rax)
mov    -0x10(%rbp),%rax
mov    0x20(%rax),%ecx
shr    $0x12,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x68(%rax)
mov    -0x10(%rbp),%rax
mov    0x20(%rax),%ecx
shr    $0x8,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x6c(%rax)
mov    -0x10(%rbp),%rax
mov    0x20(%rax),%ecx
shl    $0x2,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x70(%rax)
mov    -0x10(%rbp),%rax
mov    0x24(%rax),%ecx
shr    $0x1e,%ecx
mov    -0x8(%rbp),%rax
or     0x70(%rax),%ecx
mov    %ecx,0x70(%rax)
mov    -0x10(%rbp),%rax
mov    0x24(%rax),%ecx
shr    $0x14,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x74(%rax)
mov    -0x10(%rbp),%rax
mov    0x24(%rax),%ecx
shr    $0xa,%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x78(%rax)
mov    -0x10(%rbp),%rax
mov    0x24(%rax),%ecx
and    $0x3ff,%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,0x7c(%rax)
mov    -0x14(%rbp),%eax
add    $0x20,%eax
mov    %eax,-0x14(%rbp)
mov    -0x8(%rbp),%rax
add    $0x80,%rax
mov    %rax,-0x8(%rbp)
mov    -0x10(%rbp),%rax
add    $0x28,%rax
mov    %rax,-0x10(%rbp)
jmp    1113 <unpack10+0x13>
pop    %rbp
ret

x86 assembly (clang, -O2):
<unpack10>:
mov    $0xffffffe0,%eax
mov    $0x3ff,%r8d
nopl   0x0(%rax,%rax,1)
mov    (%rsi),%edx
shr    $0x16,%edx
mov    %edx,(%rdi)
mov    (%rsi),%edx
shr    $0xc,%edx
and    $0x3ff,%edx
mov    %edx,0x4(%rdi)
mov    (%rsi),%edx
shr    $0x2,%edx
and    $0x3ff,%edx
mov    %edx,0x8(%rdi)
mov    (%rsi),%ecx
mov    %ecx,%edx
and    $0x3,%edx
shl    $0x8,%edx
mov    %edx,0xc(%rdi)
mov    0x4(%rsi),%edx
shrd   $0x18,%ecx,%edx
and    $0x3ff,%edx
mov    %edx,0xc(%rdi)
mov    0x4(%rsi),%ecx
shr    $0xe,%ecx
and    $0x3ff,%ecx
mov    %ecx,0x10(%rdi)
mov    0x4(%rsi),%ecx
shr    $0x4,%ecx
and    $0x3ff,%ecx
mov    %ecx,0x14(%rdi)
mov    0x4(%rsi),%ecx
mov    %ecx,%edx
and    $0xf,%edx
shl    $0x6,%edx
mov    %edx,0x18(%rdi)
mov    0x8(%rsi),%edx
shrd   $0x1a,%ecx,%edx
and    $0x3ff,%edx
mov    %edx,0x18(%rdi)
movzwl 0xa(%rsi),%ecx
and    $0x3ff,%ecx
mov    %ecx,0x1c(%rdi)
mov    0x8(%rsi),%ecx
shr    $0x6,%ecx
and    $0x3ff,%ecx
mov    %ecx,0x20(%rdi)
mov    0x8(%rsi),%ecx
mov    %ecx,%edx
and    $0x3f,%edx
shl    $0x4,%edx
mov    %edx,0x24(%rdi)
mov    0xc(%rsi),%edx
shrd   $0x1c,%ecx,%edx
and    $0x3ff,%edx
mov    %edx,0x24(%rdi)
mov    0xc(%rsi),%ecx
shr    $0x12,%ecx
and    $0x3ff,%ecx
mov    %ecx,0x28(%rdi)
mov    0xc(%rsi),%ecx
shr    $0x8,%ecx
and    $0x3ff,%ecx
mov    %ecx,0x2c(%rdi)
mov    0xc(%rsi),%ecx
movzbl %cl,%edx
shl    $0x2,%edx
mov    %edx,0x30(%rdi)
mov    0x10(%rsi),%edx
shrd   $0x1e,%ecx,%edx
and    $0x3ff,%edx
mov    %edx,0x30(%rdi)
mov    0x10(%rsi),%ecx
shr    $0x14,%ecx
and    $0x3ff,%ecx
mov    %ecx,0x34(%rdi)
mov    0x10(%rsi),%ecx
shr    $0xa,%ecx
and    $0x3ff,%ecx
mov    %ecx,0x38(%rdi)
mov    0x10(%rsi),%ecx
and    %r8d,%ecx
mov    %ecx,0x3c(%rdi)
mov    0x14(%rsi),%ecx
shr    $0x16,%ecx
mov    %ecx,0x40(%rdi)
mov    0x14(%rsi),%ecx
shr    $0xc,%ecx
and    $0x3ff,%ecx
mov    %ecx,0x44(%rdi)
mov    0x14(%rsi),%ecx
shr    $0x2,%ecx
and    $0x3ff,%ecx
mov    %ecx,0x48(%rdi)
mov    0x14(%rsi),%ecx
mov    %ecx,%edx
and    $0x3,%edx
shl    $0x8,%edx
mov    %edx,0x4c(%rdi)
mov    0x18(%rsi),%edx
shrd   $0x18,%ecx,%edx
and    $0x3ff,%edx
mov    %edx,0x4c(%rdi)
mov    0x18(%rsi),%ecx
shr    $0xe,%ecx
and    $0x3ff,%ecx
mov    %ecx,0x50(%rdi)
mov    0x18(%rsi),%ecx
shr    $0x4,%ecx
and    $0x3ff,%ecx
mov    %ecx,0x54(%rdi)
mov    0x18(%rsi),%ecx
mov    %ecx,%edx
and    $0xf,%edx
shl    $0x6,%edx
mov    %edx,0x58(%rdi)
mov    0x1c(%rsi),%edx
shrd   $0x1a,%ecx,%edx
and    $0x3ff,%edx
mov    %edx,0x58(%rdi)
movzwl 0x1e(%rsi),%ecx
and    $0x3ff,%ecx
mov    %ecx,0x5c(%rdi)
mov    0x1c(%rsi),%ecx
shr    $0x6,%ecx
and    $0x3ff,%ecx
mov    %ecx,0x60(%rdi)
mov    0x1c(%rsi),%ecx
mov    %ecx,%edx
and    $0x3f,%edx
shl    $0x4,%edx
mov    %edx,0x64(%rdi)
mov    0x20(%rsi),%edx
shrd   $0x1c,%ecx,%edx
and    $0x3ff,%edx
mov    %edx,0x64(%rdi)
mov    0x20(%rsi),%ecx
shr    $0x12,%ecx
and    $0x3ff,%ecx
mov    %ecx,0x68(%rdi)
mov    0x20(%rsi),%ecx
shr    $0x8,%ecx
and    $0x3ff,%ecx
mov    %ecx,0x6c(%rdi)
mov    0x20(%rsi),%ecx
movzbl %cl,%edx
shl    $0x2,%edx
mov    %edx,0x70(%rdi)
mov    0x24(%rsi),%edx
shrd   $0x1e,%ecx,%edx
and    $0x3ff,%edx
mov    %edx,0x70(%rdi)
mov    0x24(%rsi),%ecx
shr    $0x14,%ecx
and    $0x3ff,%ecx
mov    %ecx,0x74(%rdi)
mov    0x24(%rsi),%ecx
shr    $0xa,%ecx
and    $0x3ff,%ecx
mov    %ecx,0x78(%rdi)
mov    0x24(%rsi),%ecx
and    %r8d,%ecx
mov    %ecx,0x7c(%rdi)
add    $0x20,%eax
add    $0x28,%rsi
sub    $0xffffffffffffff80,%rdi
cmp    $0x60,%eax
jb     1110 <unpack10+0x10>
ret

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

LLVM IR (-O2):
define void @unpack10(i32* writeonly %0, i32* nocapture %1) {
br label %3
3: ; preds = %2, %3
%4 = phi i32 [ 0, %2 ], [ %163, %3 ]
%5 = phi i32* [ %1, %2 ], [ %165, %3 ]
%6 = phi i32* [ %0, %2 ], [ %164, %3 ]
%7 = load i32, i32* %5
%8 = lshr i32 %7, 22
store i32 %8, i32* %6
%9 = load i32, i32* %5
%10 = lshr i32 %9, 12
%11 = and i32 %10, 1023
%12 = getelementptr inbounds i32, i32* %6, i64 1
store i32 %11, i32* %12
%13 = load i32, i32* %5
%14 = lshr i32 %13, 2
%15 = and i32 %14, 1023
%16 = getelementptr inbounds i32, i32* %6, i64 2
store i32 %15, i32* %16
%17 = load i32, i32* %5
%18 = shl i32 %17, 8
%19 = and i32 %18, 768
%20 = getelementptr inbounds i32, i32* %6, i64 3
store i32 %19, i32* %20
%21 = getelementptr inbounds i32, i32* %5, i64 1
%22 = load i32, i32* %21
%23 = lshr i32 %22, 24
%24 = or i32 %23, %19
store i32 %24, i32* %20
%25 = load i32, i32* %21
%26 = lshr i32 %25, 14
%27 = and i32 %26, 1023
%28 = getelementptr inbounds i32, i32* %6, i64 4
store i32 %27, i32* %28
%29 = load i32, i32* %21
%30 = lshr i32 %29, 4
%31 = and i32 %30, 1023
%32 = getelementptr inbounds i32, i32* %6, i64 5
store i32 %31, i32* %32
%33 = load i32, i32* %21
%34 = shl i32 %33, 6
%35 = and i32 %34, 960
%36 = getelementptr inbounds i32, i32* %6, i64 6
store i32 %35, i32* %36
%37 = getelementptr inbounds i32, i32* %5, i64 2
%38 = load i32, i32* %37
%39 = lshr i32 %38, 26
%40 = or i32 %39, %35
store i32 %40, i32* %36
%41 = load i32, i32* %37
%42 = lshr i32 %41, 16
%43 = and i32 %42, 1023
%44 = getelementptr inbounds i32, i32* %6, i64 7
store i32 %43, i32* %44
%45 = load i32, i32* %37
%46 = lshr i32 %45, 6
%47 = and i32 %46, 1023
%48 = getelementptr inbounds i32, i32* %6, i64 8
store i32 %47, i32* %48
%49 = load i32, i32* %37
%50 = shl i32 %49, 4
%51 = and i32 %50, 1008
%52 = getelementptr inbounds i32, i32* %6, i64 9
store i32 %51, i32* %52
%53 = getelementptr inbounds i32, i32* %5, i64 3
%54 = load i32, i32* %53
%55 = lshr i32 %54, 28
%56 = or i32 %55, %51
store i32 %56, i32* %52
%57 = load i32, i32* %53
%58 = lshr i32 %57, 18
%59 = and i32 %58, 1023
%60 = getelementptr inbounds i32, i32* %6, i64 10
store i32 %59, i32* %60
%61 = load i32, i32* %53
%62 = lshr i32 %61, 8
%63 = and i32 %62, 1023
%64 = getelementptr inbounds i32, i32* %6, i64 11
store i32 %63, i32* %64
%65 = load i32, i32* %53
%66 = shl i32 %65, 2
%67 = and i32 %66, 1020
%68 = getelementptr inbounds i32, i32* %6, i64 12
store i32 %67, i32* %68
%69 = getelementptr inbounds i32, i32* %5, i64 4
%70 = load i32, i32* %69
%71 = lshr i32 %70, 30
%72 = or i32 %71, %67
store i32 %72, i32* %68
%73 = load i32, i32* %69
%74 = lshr i32 %73, 20
%75 = and i32 %74, 1023
%76 = getelementptr inbounds i32, i32* %6, i64 13
store i32 %75, i32* %76
%77 = load i32, i32* %69
%78 = lshr i32 %77, 10
%79 = and i32 %78, 1023
%80 = getelementptr inbounds i32, i32* %6, i64 14
store i32 %79, i32* %80
%81 = load i32, i32* %69
%82 = and i32 %81, 1023
%83 = getelementptr inbounds i32, i32* %6, i64 15
store i32 %82, i32* %83
%84 = getelementptr inbounds i32, i32* %5, i64 5
%85 = load i32, i32* %84
%86 = lshr i32 %85, 22
%87 = getelementptr inbounds i32, i32* %6, i64 16
store i32 %86, i32* %87
%88 = load i32, i32* %84
%89 = lshr i32 %88, 12
%90 = and i32 %89, 1023
%91 = getelementptr inbounds i32, i32* %6, i64 17
store i32 %90, i32* %91
%92 = load i32, i32* %84
%93 = lshr i32 %92, 2
%94 = and i32 %93, 1023
%95 = getelementptr inbounds i32, i32* %6, i64 18
store i32 %94, i32* %95
%96 = load i32, i32* %84
%97 = shl i32 %96, 8
%98 = and i32 %97, 768
%99 = getelementptr inbounds i32, i32* %6, i64 19
store i32 %98, i32* %99
%100 = getelementptr inbounds i32, i32* %5, i64 6
%101 = load i32, i32* %100
%102 = lshr i32 %101, 24
%103 = or i32 %102, %98
store i32 %103, i32* %99
%104 = load i32, i32* %100
%105 = lshr i32 %104, 14
%106 = and i32 %105, 1023
%107 = getelementptr inbounds i32, i32* %6, i64 20
store i32 %106, i32* %107
%108 = load i32, i32* %100
%109 = lshr i32 %108, 4
%110 = and i32 %109, 1023
%111 = getelementptr inbounds i32, i32* %6, i64 21
store i32 %110, i32* %111
%112 = load i32, i32* %100
%113 = shl i32 %112, 6
%114 = and i32 %113, 960
%115 = getelementptr inbounds i32, i32* %6, i64 22
store i32 %114, i32* %115
%116 = getelementptr inbounds i32, i32* %5, i64 7
%117 = load i32, i32* %116
%118 = lshr i32 %117, 26
%119 = or i32 %118, %114
store i32 %119, i32* %115
%120 = load i32, i32* %116
%121 = lshr i32 %120, 16
%122 = and i32 %121, 1023
%123 = getelementptr inbounds i32, i32* %6, i64 23
store i32 %122, i32* %123
%124 = load i32, i32* %116
%125 = lshr i32 %124, 6
%126 = and i32 %125, 1023
%127 = getelementptr inbounds i32, i32* %6, i64 24
store i32 %126, i32* %127
%128 = load i32, i32* %116
%129 = shl i32 %128, 4
%130 = and i32 %129, 1008
%131 = getelementptr inbounds i32, i32* %6, i64 25
store i32 %130, i32* %131
%132 = getelementptr inbounds i32, i32* %5, i64 8
%133 = load i32, i32* %132
%134 = lshr i32 %133, 28
%135 = or i32 %134, %130
store i32 %135, i32* %131
%136 = load i32, i32* %132
%137 = lshr i32 %136, 18
%138 = and i32 %137, 1023
%139 = getelementptr inbounds i32, i32* %6, i64 26
store i32 %138, i32* %139
%140 = load i32, i32* %132
%141 = lshr i32 %140, 8
%142 = and i32 %141, 1023
%143 = getelementptr inbounds i32, i32* %6, i64 27
store i32 %142, i32* %143
%144 = load i32, i32* %132
%145 = shl i32 %144, 2
%146 = and i32 %145, 1020
%147 = getelementptr inbounds i32, i32* %6, i64 28
store i32 %146, i32* %147
%148 = getelementptr inbounds i32, i32* %5, i64 9
%149 = load i32, i32* %148
%150 = lshr i32 %149, 30
%151 = or i32 %150, %146
store i32 %151, i32* %147
%152 = load i32, i32* %148
%153 = lshr i32 %152, 20
%154 = and i32 %153, 1023
%155 = getelementptr inbounds i32, i32* %6, i64 29
store i32 %154, i32* %155
%156 = load i32, i32* %148
%157 = lshr i32 %156, 10
%158 = and i32 %157, 1023
%159 = getelementptr inbounds i32, i32* %6, i64 30
store i32 %158, i32* %159
%160 = load i32, i32* %148
%161 = and i32 %160, 1023
%162 = getelementptr inbounds i32, i32* %6, i64 31
store i32 %161, i32* %162
%163 = add nuw nsw i32 %4, 32
%164 = getelementptr inbounds i32, i32* %6, i64 32
%165 = getelementptr inbounds i32, i32* %5, i64 10
%166 = icmp ult i32 %4, 96
br i1 %166, label %3, label %167
167: ; preds = %3
ret void
}