user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<unpackforblock2_64>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %edi,-0x24(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    %rdx,-0x38(%rbp)
  mov    -0x30(%rbp),%rax
  mov    (%rax),%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x38(%rbp),%rax
  mov    (%rax),%rax
  mov    %rax,-0x8(%rbp)
  movl   $0x3,-0x18(%rbp)
  mov    -0x10(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,-0x14(%rbp)
  mov    -0x30(%rbp),%rax
  mov    (%rax),%rax
  lea    0x20(%rax),%rdx
  mov    -0x30(%rbp),%rax
  mov    %rdx,(%rax)
  mov    -0x14(%rbp),%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%edx
  mov    -0x24(%rbp),%eax
  add    %eax,%edx
  mov    -0x8(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0x14(%rbp),%eax
  sar    $0x2,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x4,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x14(%rbp),%eax
  sar    $0x4,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x8,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x14(%rbp),%eax
  sar    $0x6,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0xc,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x14(%rbp),%eax
  sar    $0x8,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x10,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x14(%rbp),%eax
  sar    $0xa,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x14,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x14(%rbp),%eax
  sar    $0xc,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x18,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x14(%rbp),%eax
  sar    $0xe,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x1c,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x14(%rbp),%eax
  sar    $0x10,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x20,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x14(%rbp),%eax
  sar    $0x12,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x24,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x14(%rbp),%eax
  sar    $0x14,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x28,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x14(%rbp),%eax
  sar    $0x16,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x2c,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x14(%rbp),%eax
  sar    $0x18,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x30,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x14(%rbp),%eax
  sar    $0x1a,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x34,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x14(%rbp),%eax
  sar    $0x1c,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x38,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x14(%rbp),%eax
  sar    $0x1e,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x3c,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    $0x20,%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%ecx
  sar    %cl,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x40,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    $0x22,%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%ecx
  sar    %cl,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x44,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    $0x24,%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%ecx
  sar    %cl,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x48,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    $0x26,%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%ecx
  sar    %cl,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x4c,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    $0x28,%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%ecx
  sar    %cl,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x50,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    $0x2a,%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%ecx
  sar    %cl,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x54,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    $0x2c,%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%ecx
  sar    %cl,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x58,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    $0x2e,%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%ecx
  sar    %cl,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x5c,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    $0x30,%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%ecx
  sar    %cl,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x60,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    $0x32,%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%ecx
  sar    %cl,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x64,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    $0x34,%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%ecx
  sar    %cl,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x68,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    $0x36,%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%ecx
  sar    %cl,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x6c,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    $0x38,%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%ecx
  sar    %cl,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x70,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    $0x3a,%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%ecx
  sar    %cl,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x74,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    $0x3c,%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%ecx
  sar    %cl,%eax
  and    -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x78,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    $0x3e,%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%ecx
  sar    %cl,%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x7c,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x38(%rbp),%rax
  mov    (%rax),%rax
  lea    0x80(%rax),%rdx
  mov    -0x38(%rbp),%rax
  mov    %rdx,(%rax)
  nop
  pop    %rbp
  ret
```

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