user: 请将以下的汇编代码转换成C语言代码:

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

assistant: ```c
void unpackforblock6_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 = (63ULL);
  uint64_t w0 = pw64[0];
  uint64_t w1 = pw64[1];
  uint64_t w2 = pw64[2];
  *pw += 24;
  out[0] = base + ((w0)&mask);
  out[1] = base + ((w0 >> 6) & mask);
  out[2] = base + ((w0 >> 12) & mask);
  out[3] = base + ((w0 >> 18) & mask);
  out[4] = base + ((w0 >> 24) & mask);
  out[5] = base + ((w0 >> 30) & mask);
  out[6] = base + ((w0 >> 36) & mask);
  out[7] = base + ((w0 >> 42) & mask);
  out[8] = base + ((w0 >> 48) & mask);
  out[9] = base + ((w0 >> 54) & mask);
  out[10] = base + (((w0 >> 60) | (w1 << 4)) & mask);
  out[11] = base + ((w1 >> 2) & mask);
  out[12] = base + ((w1 >> 8) & mask);
  out[13] = base + ((w1 >> 14) & mask);
  out[14] = base + ((w1 >> 20) & mask);
  out[15] = base + ((w1 >> 26) & mask);
  out[16] = base + ((w1 >> 32) & mask);
  out[17] = base + ((w1 >> 38) & mask);
  out[18] = base + ((w1 >> 44) & mask);
  out[19] = base + ((w1 >> 50) & mask);
  out[20] = base + ((w1 >> 56) & mask);
  out[21] = base + (((w1 >> 62) | (w2 << 2)) & mask);
  out[22] = base + ((w2 >> 4) & mask);
  out[23] = base + ((w2 >> 10) & mask);
  out[24] = base + ((w2 >> 16) & mask);
  out[25] = base + ((w2 >> 22) & mask);
  out[26] = base + ((w2 >> 28) & mask);
  out[27] = base + ((w2 >> 34) & mask);
  out[28] = base + ((w2 >> 40) & mask);
  out[29] = base + ((w2 >> 46) & mask);
  out[30] = base + ((w2 >> 52) & mask);
  out[31] = base + (w2 >> 58);
  *pout += 32;
}
```