user: Converte this assembly snippet into its equivalent C code:

```asm
<unpackforblock4_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   $0xf,-0x1c(%rbp)
  mov    -0x10(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,-0x18(%rbp)
  mov    -0x10(%rbp),%rax
  add    $0x4,%rax
  mov    (%rax),%eax
  mov    %eax,-0x14(%rbp)
  mov    -0x30(%rbp),%rax
  mov    (%rax),%rax
  lea    0x40(%rax),%rdx
  mov    -0x30(%rbp),%rax
  mov    %rdx,(%rax)
  mov    -0x18(%rbp),%eax
  and    -0x1c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x24(%rbp),%eax
  add    %eax,%edx
  mov    -0x8(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0x18(%rbp),%eax
  sar    $0x4,%eax
  and    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x4,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x18(%rbp),%eax
  sar    $0x8,%eax
  and    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x8,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x18(%rbp),%eax
  sar    $0xc,%eax
  and    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0xc,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x18(%rbp),%eax
  sar    $0x10,%eax
  and    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x10,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x18(%rbp),%eax
  sar    $0x14,%eax
  and    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x14,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x18(%rbp),%eax
  sar    $0x18,%eax
  and    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x18,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x18(%rbp),%eax
  sar    $0x1c,%eax
  and    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x1c,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    $0x20,%edx
  mov    -0x18(%rbp),%eax
  mov    %edx,%ecx
  sar    %cl,%eax
  and    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x20,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    $0x24,%edx
  mov    -0x18(%rbp),%eax
  mov    %edx,%ecx
  sar    %cl,%eax
  and    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x24,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    $0x28,%edx
  mov    -0x18(%rbp),%eax
  mov    %edx,%ecx
  sar    %cl,%eax
  and    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x28,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    $0x2c,%edx
  mov    -0x18(%rbp),%eax
  mov    %edx,%ecx
  sar    %cl,%eax
  and    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x2c,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    $0x30,%edx
  mov    -0x18(%rbp),%eax
  mov    %edx,%ecx
  sar    %cl,%eax
  and    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x30,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    $0x34,%edx
  mov    -0x18(%rbp),%eax
  mov    %edx,%ecx
  sar    %cl,%eax
  and    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x34,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    $0x38,%edx
  mov    -0x18(%rbp),%eax
  mov    %edx,%ecx
  sar    %cl,%eax
  and    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x38,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    $0x3c,%edx
  mov    -0x18(%rbp),%eax
  mov    %edx,%ecx
  sar    %cl,%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x3c,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x14(%rbp),%eax
  and    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x40,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x14(%rbp),%eax
  sar    $0x4,%eax
  and    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x44,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x14(%rbp),%eax
  sar    $0x8,%eax
  and    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x48,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x14(%rbp),%eax
  sar    $0xc,%eax
  and    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x4c,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x14(%rbp),%eax
  sar    $0x10,%eax
  and    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x50,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x14(%rbp),%eax
  sar    $0x14,%eax
  and    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x54,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x14(%rbp),%eax
  sar    $0x18,%eax
  and    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x58,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x14(%rbp),%eax
  sar    $0x1c,%eax
  and    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x5c,%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    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x60,%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    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x64,%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    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x68,%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    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x6c,%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    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x70,%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    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x74,%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    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%rax
  add    $0x78,%rax
  mov    -0x24(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    $0x3c,%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 unpackforblock4_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 = (15ULL);
  uint64_t w0 = pw64[0];
  uint64_t w1 = pw64[1];
  *pw += 16;
  out[0] = base + ((w0)&mask);
  out[1] = base + ((w0 >> 4) & mask);
  out[2] = base + ((w0 >> 8) & mask);
  out[3] = base + ((w0 >> 12) & mask);
  out[4] = base + ((w0 >> 16) & mask);
  out[5] = base + ((w0 >> 20) & mask);
  out[6] = base + ((w0 >> 24) & mask);
  out[7] = base + ((w0 >> 28) & mask);
  out[8] = base + ((w0 >> 32) & mask);
  out[9] = base + ((w0 >> 36) & mask);
  out[10] = base + ((w0 >> 40) & mask);
  out[11] = base + ((w0 >> 44) & mask);
  out[12] = base + ((w0 >> 48) & mask);
  out[13] = base + ((w0 >> 52) & mask);
  out[14] = base + ((w0 >> 56) & mask);
  out[15] = base + (w0 >> 60);
  out[16] = base + ((w1)&mask);
  out[17] = base + ((w1 >> 4) & mask);
  out[18] = base + ((w1 >> 8) & mask);
  out[19] = base + ((w1 >> 12) & mask);
  out[20] = base + ((w1 >> 16) & mask);
  out[21] = base + ((w1 >> 20) & mask);
  out[22] = base + ((w1 >> 24) & mask);
  out[23] = base + ((w1 >> 28) & mask);
  out[24] = base + ((w1 >> 32) & mask);
  out[25] = base + ((w1 >> 36) & mask);
  out[26] = base + ((w1 >> 40) & mask);
  out[27] = base + ((w1 >> 44) & mask);
  out[28] = base + ((w1 >> 48) & mask);
  out[29] = base + ((w1 >> 52) & mask);
  out[30] = base + ((w1 >> 56) & mask);
  out[31] = base + (w1 >> 60);
  *pout += 32;
}
```