user: Translate the below assembly code into C programming language:

```asm
<packforblock10_64>:
  endbr64
  push   %rbp
  mov    %rsi,%r8
  mov    %rdx,%r9
  mov    %edi,%ecx
  push   %rbx
  mov    (%rsi),%rax
  mov    (%rdx),%r10
  mov    0x4(%rax),%esi
  mov    0x8(%rax),%edx
  mov    (%rax),%edi
  mov    0x20(%rax),%ebp
  sub    %ecx,%esi
  sub    %ecx,%edx
  mov    0x38(%rax),%ebx
  mov    0x54(%rax),%r11d
  shl    $0x14,%edx
  shl    $0xa,%esi
  sub    %ecx,%edi
  sub    %ecx,%ebp
  or     %edx,%esi
  mov    0x1c(%rax),%edx
  shl    $0x10,%ebp
  sub    %ecx,%ebx
  or     %edi,%esi
  mov    0x18(%rax),%edi
  shl    $0xc,%ebx
  sub    %ecx,%r11d
  sub    %ecx,%edx
  shl    $0x12,%r11d
  sub    %ecx,%edi
  shl    $0x6,%edx
  sar    $0x4,%edi
  or     %edi,%edx
  mov    0x30(%rax),%edi
  or     %edx,%ebp
  mov    0x34(%rax),%edx
  sub    %ecx,%edi
  sub    %ecx,%edx
  sar    $0x8,%edi
  shl    $0x2,%edx
  or     %edi,%edx
  mov    0x4c(%rax),%edi
  or     %edx,%ebx
  mov    0x50(%rax),%edx
  sub    %ecx,%edi
  sub    %ecx,%edx
  sar    $0x2,%edi
  shl    $0x8,%edx
  or     %edi,%edx
  mov    0x68(%rax),%edi
  or     %edx,%r11d
  mov    0x64(%rax),%edx
  sub    %ecx,%edx
  sar    $0x6,%edx
  sub    %ecx,%edi
  sub    $0xffffffffffffff80,%rax
  shl    $0x4,%edi
  or     %edx,%edi
  mov    -0x14(%rax),%edx
  sub    %ecx,%edx
  shl    $0xe,%edx
  or     %edi,%edx
  mov    -0x10(%rax),%edi
  sub    %ecx,%edi
  shl    $0x18,%edi
  or     %edx,%edi
  mov    -0x74(%rax),%edx
  sub    %ecx,%edx
  shl    $0x1e,%edx
  or     %esi,%edx
  movd   %edx,%xmm0
  mov    -0x5c(%rax),%edx
  sub    %ecx,%edx
  shl    $0x1a,%edx
  mov    %edx,%esi
  mov    -0x44(%rax),%edx
  or     %ebp,%esi
  sub    %ecx,%edx
  movd   %esi,%xmm3
  shl    $0x16,%edx
  punpckldq %xmm3,%xmm0
  or     %ebx,%edx
  mov    -0x28(%rax),%ebx
  mov    %edi,0x10(%r10)
  movd   %edx,%xmm1
  sub    %ecx,%ebx
  shl    $0x1c,%ebx
  mov    %ebx,%ecx
  or     %r11d,%ecx
  movd   %ecx,%xmm2
  punpckldq %xmm2,%xmm1
  punpcklqdq %xmm1,%xmm0
  movups %xmm0,(%r10)
  pop    %rbx
  pop    %rbp
  mov    %rax,(%r8)
  addq   $0xa0,(%r9)
  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;
}
```