user: 请从给定的汇编指令推导出C源代码:

```asm
<unpackforblock10_64>:
  endbr64
  push   %r14
  push   %rbx
  mov    %edi,%eax
  mov    %rdx,%r10
  mov    (%rsi),%rbx
  mov    (%rdx),%rdx
  mov    (%rbx),%r11d
  mov    0x4(%rbx),%r8d
  mov    0x8(%rbx),%r14d
  mov    0xc(%rbx),%edi
  mov    0x10(%rbx),%r9d
  add    $0xa0,%rbx
  mov    %rbx,(%rsi)
  mov    %r11d,%esi
  and    $0x3ff,%esi
  add    %eax,%esi
  mov    %esi,(%rdx)
  mov    %r11d,%esi
  sar    $0xa,%esi
  and    $0x3ff,%esi
  add    %eax,%esi
  mov    %esi,0x4(%rdx)
  mov    %r11d,%esi
  sar    $0x14,%esi
  and    $0x3ff,%esi
  add    %eax,%esi
  mov    %esi,0x8(%rdx)
  mov    %r11d,%esi
  sar    $0x1e,%esi
  and    $0x3ff,%esi
  add    %eax,%esi
  mov    %esi,0xc(%rdx)
  mov    %r11d,%esi
  mov    $0x28,%ecx
  sar    %cl,%esi
  and    $0x3ff,%esi
  add    %eax,%esi
  mov    %esi,0x10(%rdx)
  mov    %r11d,%esi
  mov    $0x32,%ecx
  sar    %cl,%esi
  and    $0x3ff,%esi
  add    %eax,%esi
  mov    %esi,0x14(%rdx)
  mov    $0x3c,%ecx
  sar    %cl,%r11d
  mov    %r8d,%esi
  shl    $0x4,%esi
  or     %esi,%r11d
  and    $0x3ff,%r11d
  add    %eax,%r11d
  mov    %r11d,0x18(%rdx)
  mov    %r8d,%esi
  sar    $0x6,%esi
  and    $0x3ff,%esi
  add    %eax,%esi
  mov    %esi,0x1c(%rdx)
  mov    %r8d,%esi
  sar    $0x10,%esi
  and    $0x3ff,%esi
  add    %eax,%esi
  mov    %esi,0x20(%rdx)
  mov    %r8d,%esi
  sar    $0x1a,%esi
  and    $0x3ff,%esi
  add    %eax,%esi
  mov    %esi,0x24(%rdx)
  mov    %r8d,%esi
  mov    $0x24,%ecx
  sar    %cl,%esi
  and    $0x3ff,%esi
  add    %eax,%esi
  mov    %esi,0x28(%rdx)
  mov    %r8d,%esi
  mov    $0x2e,%ecx
  sar    %cl,%esi
  and    $0x3ff,%esi
  add    %eax,%esi
  mov    %esi,0x2c(%rdx)
  mov    $0x38,%ecx
  sar    %cl,%r8d
  mov    %r14d,%ecx
  shl    $0x8,%ecx
  or     %ecx,%r8d
  and    $0x3ff,%r8d
  add    %eax,%r8d
  mov    %r8d,0x30(%rdx)
  mov    %r14d,%ecx
  sar    $0x2,%ecx
  mov    %ecx,%esi
  and    $0x3ff,%esi
  add    %eax,%esi
  mov    %esi,0x34(%rdx)
  mov    %r14d,%ecx
  sar    $0xc,%ecx
  mov    %ecx,%esi
  and    $0x3ff,%esi
  add    %eax,%esi
  mov    %esi,0x38(%rdx)
  mov    %r14d,%ecx
  shr    $0x16,%ecx
  mov    %ecx,%esi
  add    %eax,%esi
  mov    %esi,0x3c(%rdx)
  mov    %r14d,%esi
  mov    $0x20,%ecx
  sar    %cl,%esi
  and    $0x3ff,%esi
  add    %eax,%esi
  mov    %esi,0x40(%rdx)
  mov    %r14d,%esi
  mov    $0x2a,%ecx
  sar    %cl,%esi
  and    $0x3ff,%esi
  add    %eax,%esi
  mov    %esi,0x44(%rdx)
  mov    %r14d,%esi
  mov    $0x34,%ecx
  sar    %cl,%esi
  and    $0x3ff,%esi
  add    %eax,%esi
  mov    %esi,0x48(%rdx)
  mov    $0x3e,%ecx
  sar    %cl,%r14d
  mov    %r14d,%ecx
  lea    0x0(,%rdi,4),%esi
  or     %esi,%ecx
  and    $0x3ff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x4c(%rdx)
  mov    %edi,%ecx
  sar    $0x8,%ecx
  and    $0x3ff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x50(%rdx)
  mov    %edi,%ecx
  sar    $0x12,%ecx
  and    $0x3ff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x54(%rdx)
  mov    %edi,%ecx
  sar    $0x1c,%ecx
  and    $0x3ff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x58(%rdx)
  mov    %edi,%ebx
  mov    $0x26,%ecx
  sar    %cl,%ebx
  mov    %ebx,%ecx
  and    $0x3ff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x5c(%rdx)
  mov    %edi,%ebx
  mov    $0x30,%ecx
  sar    %cl,%ebx
  mov    %ebx,%ecx
  and    $0x3ff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x60(%rdx)
  mov    $0x3a,%ecx
  sar    %cl,%edi
  mov    %r9d,%ecx
  shl    $0x6,%ecx
  or     %ecx,%edi
  and    $0x3ff,%edi
  add    %eax,%edi
  mov    %edi,0x64(%rdx)
  mov    %r9d,%ecx
  sar    $0x4,%ecx
  and    $0x3ff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x68(%rdx)
  mov    %r9d,%ecx
  sar    $0xe,%ecx
  and    $0x3ff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x6c(%rdx)
  mov    %r9d,%ecx
  sar    $0x18,%ecx
  and    $0x3ff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x70(%rdx)
  mov    %r9d,%ebx
  mov    $0x22,%ecx
  sar    %cl,%ebx
  mov    %ebx,%ecx
  and    $0x3ff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x74(%rdx)
  mov    %r9d,%ebx
  mov    $0x2c,%ecx
  sar    %cl,%ebx
  mov    %ebx,%ecx
  and    $0x3ff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x78(%rdx)
  mov    $0x36,%ecx
  sar    %cl,%r9d
  add    %eax,%r9d
  mov    %r9d,0x7c(%rdx)
  subq   $0xffffffffffffff80,(%r10)
  pop    %rbx
  pop    %r14
  ret
```

assistant: ```c
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;
}
```