user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<packforblock10_64>:
  endbr64
  push   %rbp
  mov    %rsi,%r11
  mov    %edi,%ecx
  push   %rbx
  mov    (%rsi),%rax
  mov    %rdx,%rbx
  mov    (%rdx),%rbp
  mov    0x8(%rax),%esi
  mov    0x4(%rax),%edx
  mov    (%rax),%edi
  mov    0x24(%rax),%r9d
  sub    %ecx,%edx
  sub    %ecx,%esi
  mov    0x3c(%rax),%r8d
  mov    0x64(%rax),%r10d
  shl    $0x14,%esi
  shl    $0xa,%edx
  sub    %ecx,%edi
  sub    %ecx,%r9d
  or     %esi,%edx
  mov    0x18(%rax),%esi
  shl    $0x1a,%r9d
  sub    %ecx,%r8d
  or     %edi,%edx
  mov    0x1c(%rax),%edi
  shl    $0x16,%r8d
  sub    %ecx,%esi
  sub    %ecx,%edi
  sar    $0x4,%esi
  shl    $0x6,%edi
  or     %esi,%edi
  mov    0x20(%rax),%esi
  sub    %ecx,%esi
  shl    $0x10,%esi
  or     %edi,%esi
  mov    0x34(%rax),%edi
  or     %esi,%r9d
  mov    0x30(%rax),%esi
  sub    %ecx,%edi
  sub    %ecx,%esi
  shl    $0x2,%edi
  sar    $0x8,%esi
  or     %esi,%edi
  mov    0x38(%rax),%esi
  sub    %ecx,%esi
  shl    $0xc,%esi
  or     %edi,%esi
  mov    0x50(%rax),%edi
  or     %esi,%r8d
  mov    0x4c(%rax),%esi
  sub    %ecx,%edi
  sub    %ecx,%esi
  sar    $0x2,%esi
  shl    $0x8,%edi
  sub    %ecx,%r10d
  sub    $0xffffffffffffff80,%rax
  or     %esi,%edi
  mov    -0x2c(%rax),%esi
  sar    $0x6,%r10d
  sub    %ecx,%esi
  shl    $0x12,%esi
  or     %edi,%esi
  mov    -0x28(%rax),%edi
  sub    %ecx,%edi
  shl    $0x1c,%edi
  or     %esi,%edi
  mov    -0x18(%rax),%esi
  sub    %ecx,%esi
  shl    $0x4,%esi
  or     %r10d,%esi
  mov    -0x14(%rax),%r10d
  sub    %ecx,%r10d
  shl    $0xe,%r10d
  or     %esi,%r10d
  mov    -0x10(%rax),%esi
  sub    %ecx,%esi
  shl    $0x18,%esi
  or     %r10d,%esi
  mov    -0x74(%rax),%r10d
  mov    %r9d,0x4(%rbp)
  mov    %r8d,0x8(%rbp)
  sub    %ecx,%r10d
  mov    %edi,0xc(%rbp)
  mov    %r10d,%ecx
  mov    %esi,0x10(%rbp)
  shl    $0x1e,%ecx
  or     %ecx,%edx
  mov    %edx,0x0(%rbp)
  mov    %rax,(%r11)
  addq   $0xa0,(%rbx)
  pop    %rbx
  pop    %rbp
  ret
```

assistant: ```c
void packforblock10_64(const uint64_t base, const uint64_t **pin, uint8_t **pw) {
  uint64_t *pw64 = *(uint64_t **)pw;
  const uint64_t *in = *pin;
  uint64_t w0;
  uint64_t w1;
  uint64_t w2;
  uint64_t w3;
  uint64_t w4;
  w0 = (in[0] - base);
  w0 |= (in[1] - base) << 10;
  w0 |= (in[2] - base) << 20;
  w0 |= (in[3] - base) << 30;
  w0 |= (in[4] - base) << 40;
  w0 |= (in[5] - base) << 50;
  w0 |= (in[6] - base) << 60;
  w1 = (in[6] - base) >> 4;
  w1 |= (in[7] - base) << 6;
  w1 |= (in[8] - base) << 16;
  w1 |= (in[9] - base) << 26;
  w1 |= (in[10] - base) << 36;
  w1 |= (in[11] - base) << 46;
  w1 |= (in[12] - base) << 56;
  w2 = (in[12] - base) >> 8;
  w2 |= (in[13] - base) << 2;
  w2 |= (in[14] - base) << 12;
  w2 |= (in[15] - base) << 22;
  w2 |= (in[16] - base) << 32;
  w2 |= (in[17] - base) << 42;
  w2 |= (in[18] - base) << 52;
  w2 |= (in[19] - base) << 62;
  w3 = (in[19] - base) >> 2;
  w3 |= (in[20] - base) << 8;
  w3 |= (in[21] - base) << 18;
  w3 |= (in[22] - base) << 28;
  w3 |= (in[23] - base) << 38;
  w3 |= (in[24] - base) << 48;
  w3 |= (in[25] - base) << 58;
  w4 = (in[25] - base) >> 6;
  w4 |= (in[26] - base) << 4;
  w4 |= (in[27] - base) << 14;
  w4 |= (in[28] - base) << 24;
  w4 |= (in[29] - base) << 34;
  w4 |= (in[30] - base) << 44;
  w4 |= (in[31] - base) << 54;
  pw64[0] = w0;
  pw64[1] = w1;
  pw64[2] = w2;
  pw64[3] = w3;
  pw64[4] = w4;
  *pin += 32;
  *pw += 40;
}
```