user: Please show me the C implementation that matches the assembly code listed below:

```asm
<unpackforblock17_64>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %edi,%eax
  mov    %rsi,%r14
  mov    %rdx,%r9
  mov    (%rsi),%r13
  mov    (%rdx),%rdx
  mov    0x0(%r13),%r12d
  mov    0x4(%r13),%ebp
  mov    0x8(%r13),%r11d
  mov    0xc(%r13),%r10d
  mov    0x10(%r13),%ebx
  mov    0x14(%r13),%edi
  mov    0x18(%r13),%esi
  mov    0x1c(%r13),%r15d
  mov    0x20(%r13),%r8d
  add    $0x110,%r13
  mov    %r13,(%r14)
  mov    %r12d,%r13d
  and    $0x1ffff,%r13d
  add    %eax,%r13d
  mov    %r13d,(%rdx)
  mov    %r12d,%r13d
  sar    $0x11,%r13d
  and    $0x1ffff,%r13d
  add    %eax,%r13d
  mov    %r13d,0x4(%rdx)
  mov    %r12d,%r13d
  mov    $0x22,%ecx
  sar    %cl,%r13d
  and    $0x1ffff,%r13d
  add    %eax,%r13d
  mov    %r13d,0x8(%rdx)
  mov    $0x33,%ecx
  sar    %cl,%r12d
  mov    %ebp,%r13d
  shl    $0xd,%r13d
  or     %r13d,%r12d
  and    $0x1ffff,%r12d
  add    %eax,%r12d
  mov    %r12d,0xc(%rdx)
  mov    %ebp,%r12d
  sar    $0x4,%r12d
  and    $0x1ffff,%r12d
  add    %eax,%r12d
  mov    %r12d,0x10(%rdx)
  mov    %ebp,%r12d
  sar    $0x15,%r12d
  and    $0x1ffff,%r12d
  add    %eax,%r12d
  mov    %r12d,0x14(%rdx)
  mov    %ebp,%r12d
  mov    $0x26,%ecx
  sar    %cl,%r12d
  and    $0x1ffff,%r12d
  add    %eax,%r12d
  mov    %r12d,0x18(%rdx)
  mov    $0x37,%ecx
  sar    %cl,%ebp
  mov    %r11d,%r12d
  shl    $0x9,%r12d
  or     %r12d,%ebp
  and    $0x1ffff,%ebp
  add    %eax,%ebp
  mov    %ebp,0x1c(%rdx)
  mov    %r11d,%ebp
  sar    $0x8,%ebp
  and    $0x1ffff,%ebp
  add    %eax,%ebp
  mov    %ebp,0x20(%rdx)
  mov    %r11d,%ebp
  sar    $0x19,%ebp
  and    $0x1ffff,%ebp
  add    %eax,%ebp
  mov    %ebp,0x24(%rdx)
  mov    %r11d,%ebp
  mov    $0x2a,%ecx
  sar    %cl,%ebp
  and    $0x1ffff,%ebp
  add    %eax,%ebp
  mov    %ebp,0x28(%rdx)
  mov    $0x3b,%ecx
  sar    %cl,%r11d
  mov    %r10d,%ebp
  shl    $0x5,%ebp
  or     %ebp,%r11d
  and    $0x1ffff,%r11d
  add    %eax,%r11d
  mov    %r11d,0x2c(%rdx)
  mov    %r10d,%r11d
  sar    $0xc,%r11d
  and    $0x1ffff,%r11d
  add    %eax,%r11d
  mov    %r11d,0x30(%rdx)
  mov    %r10d,%r11d
  sar    $0x1d,%r11d
  and    $0x1ffff,%r11d
  add    %eax,%r11d
  mov    %r11d,0x34(%rdx)
  mov    %r10d,%r11d
  mov    $0x2e,%ecx
  sar    %cl,%r11d
  and    $0x1ffff,%r11d
  add    %eax,%r11d
  mov    %r11d,0x38(%rdx)
  mov    $0x3f,%ecx
  sar    %cl,%r10d
  lea    (%rbx,%rbx,1),%r11d
  or     %r11d,%r10d
  and    $0x1ffff,%r10d
  add    %eax,%r10d
  mov    %r10d,0x3c(%rdx)
  mov    %ebx,%r10d
  sar    $0x10,%r10d
  and    $0x1ffff,%r10d
  add    %eax,%r10d
  mov    %r10d,0x40(%rdx)
  mov    %ebx,%r10d
  mov    $0x21,%ecx
  sar    %cl,%r10d
  and    $0x1ffff,%r10d
  add    %eax,%r10d
  mov    %r10d,0x44(%rdx)
  mov    $0x32,%ecx
  sar    %cl,%ebx
  mov    %edi,%r10d
  shl    $0xe,%r10d
  or     %r10d,%ebx
  and    $0x1ffff,%ebx
  add    %eax,%ebx
  mov    %ebx,0x48(%rdx)
  mov    %edi,%r10d
  sar    $0x3,%r10d
  and    $0x1ffff,%r10d
  add    %eax,%r10d
  mov    %r10d,0x4c(%rdx)
  mov    %edi,%r10d
  sar    $0x14,%r10d
  and    $0x1ffff,%r10d
  add    %eax,%r10d
  mov    %r10d,0x50(%rdx)
  mov    %edi,%r10d
  mov    $0x25,%ecx
  sar    %cl,%r10d
  and    $0x1ffff,%r10d
  add    %eax,%r10d
  mov    %r10d,0x54(%rdx)
  mov    $0x36,%ecx
  sar    %cl,%edi
  mov    %esi,%r10d
  shl    $0xa,%r10d
  or     %r10d,%edi
  and    $0x1ffff,%edi
  add    %eax,%edi
  mov    %edi,0x58(%rdx)
  mov    %esi,%edi
  sar    $0x7,%edi
  and    $0x1ffff,%edi
  add    %eax,%edi
  mov    %edi,0x5c(%rdx)
  mov    %esi,%edi
  sar    $0x18,%edi
  and    $0x1ffff,%edi
  add    %eax,%edi
  mov    %edi,0x60(%rdx)
  mov    %esi,%edi
  mov    $0x29,%ecx
  sar    %cl,%edi
  and    $0x1ffff,%edi
  add    %eax,%edi
  mov    %edi,0x64(%rdx)
  mov    $0x3a,%ecx
  sar    %cl,%esi
  mov    %r15d,%ecx
  shl    $0x6,%ecx
  or     %ecx,%esi
  and    $0x1ffff,%esi
  add    %eax,%esi
  mov    %esi,0x68(%rdx)
  mov    %r15d,%esi
  sar    $0xb,%esi
  and    $0x1ffff,%esi
  add    %eax,%esi
  mov    %esi,0x6c(%rdx)
  mov    %r15d,%esi
  sar    $0x1c,%esi
  and    $0x1ffff,%esi
  add    %eax,%esi
  mov    %esi,0x70(%rdx)
  mov    %r15d,%esi
  mov    $0x2d,%ecx
  sar    %cl,%esi
  and    $0x1ffff,%esi
  add    %eax,%esi
  mov    %esi,0x74(%rdx)
  mov    $0x3e,%ecx
  sar    %cl,%r15d
  mov    %r15d,%ecx
  lea    0x0(,%r8,4),%esi
  or     %esi,%ecx
  and    $0x1ffff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x78(%rdx)
  shr    $0xf,%r8d
  add    %eax,%r8d
  mov    %r8d,0x7c(%rdx)
  subq   $0xffffffffffffff80,(%r9)
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void unpackforblock17_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 = (131071ULL);
  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];
  uint64_t w8 = pw64[8];
  *pw += 68;
  out[0] = base + ((w0)&mask);
  out[1] = base + ((w0 >> 17) & mask);
  out[2] = base + ((w0 >> 34) & mask);
  out[3] = base + (((w0 >> 51) | (w1 << 13)) & mask);
  out[4] = base + ((w1 >> 4) & mask);
  out[5] = base + ((w1 >> 21) & mask);
  out[6] = base + ((w1 >> 38) & mask);
  out[7] = base + (((w1 >> 55) | (w2 << 9)) & mask);
  out[8] = base + ((w2 >> 8) & mask);
  out[9] = base + ((w2 >> 25) & mask);
  out[10] = base + ((w2 >> 42) & mask);
  out[11] = base + (((w2 >> 59) | (w3 << 5)) & mask);
  out[12] = base + ((w3 >> 12) & mask);
  out[13] = base + ((w3 >> 29) & mask);
  out[14] = base + ((w3 >> 46) & mask);
  out[15] = base + (((w3 >> 63) | (w4 << 1)) & mask);
  out[16] = base + ((w4 >> 16) & mask);
  out[17] = base + ((w4 >> 33) & mask);
  out[18] = base + (((w4 >> 50) | (w5 << 14)) & mask);
  out[19] = base + ((w5 >> 3) & mask);
  out[20] = base + ((w5 >> 20) & mask);
  out[21] = base + ((w5 >> 37) & mask);
  out[22] = base + (((w5 >> 54) | (w6 << 10)) & mask);
  out[23] = base + ((w6 >> 7) & mask);
  out[24] = base + ((w6 >> 24) & mask);
  out[25] = base + ((w6 >> 41) & mask);
  out[26] = base + (((w6 >> 58) | (w7 << 6)) & mask);
  out[27] = base + ((w7 >> 11) & mask);
  out[28] = base + ((w7 >> 28) & mask);
  out[29] = base + ((w7 >> 45) & mask);
  out[30] = base + (((w7 >> 62) | (w8 << 2)) & mask);
  out[31] = base + ((w8 >> 15) & mask);
  *pout += 32;
}
```