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

```asm
<unpackforblock24_64>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %edi,%eax
  mov    %rsi,%r14
  mov    (%rsi),%rcx
  mov    %rdx,-0x8(%rsp)
  mov    (%rdx),%rdx
  mov    (%rcx),%ebx
  mov    0x4(%rcx),%r9d
  mov    0x8(%rcx),%r15d
  mov    0xc(%rcx),%r11d
  mov    0x10(%rcx),%r8d
  mov    0x14(%rcx),%r13d
  mov    0x18(%rcx),%r10d
  mov    0x1c(%rcx),%edi
  mov    0x20(%rcx),%r12d
  mov    0x24(%rcx),%esi
  mov    %esi,-0xc(%rsp)
  mov    0x28(%rcx),%esi
  mov    0x2c(%rcx),%ebp
  add    $0x180,%rcx
  mov    %rcx,(%r14)
  mov    %ebx,%ecx
  and    $0xffffff,%ecx
  add    %eax,%ecx
  mov    %ecx,(%rdx)
  mov    %ebx,%ecx
  sar    $0x18,%ecx
  and    $0xffffff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x4(%rdx)
  mov    $0x30,%ecx
  sar    %cl,%ebx
  mov    %r9d,%r14d
  shl    $0x10,%r14d
  or     %r14d,%ebx
  and    $0xffffff,%ebx
  add    %eax,%ebx
  mov    %ebx,0x8(%rdx)
  mov    %r9d,%r14d
  shr    $0x8,%r14d
  mov    %r14d,%ecx
  add    %eax,%ecx
  mov    %ecx,0xc(%rdx)
  mov    %r9d,%r14d
  mov    $0x20,%ecx
  sar    %cl,%r14d
  mov    %r14d,%ecx
  and    $0xffffff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x10(%rdx)
  mov    $0x38,%ecx
  sar    %cl,%r9d
  mov    %r15d,%r14d
  shl    $0x8,%r14d
  or     %r14d,%r9d
  and    $0xffffff,%r9d
  add    %eax,%r9d
  mov    %r9d,0x14(%rdx)
  mov    %r15d,%r9d
  sar    $0x10,%r9d
  mov    %r9d,%ecx
  and    $0xffffff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x18(%rdx)
  mov    $0x28,%ecx
  sar    %cl,%r15d
  add    %eax,%r15d
  mov    %r15d,0x1c(%rdx)
  mov    %r11d,%r15d
  and    $0xffffff,%r15d
  mov    %r15d,%ecx
  add    %eax,%ecx
  mov    %ecx,0x20(%rdx)
  mov    %r11d,%r15d
  sar    $0x18,%r15d
  mov    %r15d,%ecx
  and    $0xffffff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x24(%rdx)
  mov    $0x30,%ecx
  sar    %cl,%r11d
  mov    %r8d,%r15d
  shl    $0x10,%r15d
  or     %r15d,%r11d
  and    $0xffffff,%r11d
  add    %eax,%r11d
  mov    %r11d,0x28(%rdx)
  mov    %r8d,%r11d
  shr    $0x8,%r11d
  mov    %r11d,%ecx
  add    %eax,%ecx
  mov    %ecx,0x2c(%rdx)
  mov    %r8d,%r11d
  mov    $0x20,%ecx
  sar    %cl,%r11d
  mov    %r11d,%ecx
  and    $0xffffff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x30(%rdx)
  mov    $0x38,%ecx
  sar    %cl,%r8d
  mov    %r13d,%r14d
  shl    $0x8,%r14d
  or     %r14d,%r8d
  and    $0xffffff,%r8d
  add    %eax,%r8d
  mov    %r8d,0x34(%rdx)
  mov    %r13d,%r8d
  sar    $0x10,%r8d
  mov    %r8d,%ecx
  and    $0xffffff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x38(%rdx)
  mov    $0x28,%ecx
  sar    %cl,%r13d
  add    %eax,%r13d
  mov    %r13d,0x3c(%rdx)
  mov    %r10d,%r8d
  and    $0xffffff,%r8d
  mov    %r8d,%ecx
  add    %eax,%ecx
  mov    %ecx,0x40(%rdx)
  mov    %r10d,%r9d
  sar    $0x18,%r9d
  mov    %r9d,%ecx
  and    $0xffffff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x44(%rdx)
  mov    $0x30,%ecx
  sar    %cl,%r10d
  mov    %edi,%r15d
  shl    $0x10,%r15d
  or     %r15d,%r10d
  and    $0xffffff,%r10d
  add    %eax,%r10d
  mov    %r10d,0x48(%rdx)
  mov    %edi,%r10d
  shr    $0x8,%r10d
  mov    %r10d,%ecx
  add    %eax,%ecx
  mov    %ecx,0x4c(%rdx)
  mov    %edi,%r10d
  mov    $0x20,%ecx
  sar    %cl,%r10d
  mov    %r10d,%ecx
  and    $0xffffff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x50(%rdx)
  mov    $0x38,%ecx
  sar    %cl,%edi
  mov    %r12d,%r10d
  shl    $0x8,%r10d
  or     %r10d,%edi
  and    $0xffffff,%edi
  add    %eax,%edi
  mov    %edi,0x54(%rdx)
  mov    %r12d,%edi
  sar    $0x10,%edi
  mov    %edi,%ecx
  and    $0xffffff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x58(%rdx)
  mov    $0x28,%ecx
  sar    %cl,%r12d
  add    %eax,%r12d
  mov    %r12d,0x5c(%rdx)
  mov    -0xc(%rsp),%ebx
  mov    %ebx,%edi
  and    $0xffffff,%edi
  mov    %edi,%ecx
  add    %eax,%ecx
  mov    %ecx,0x60(%rdx)
  mov    %ebx,%edi
  sar    $0x18,%edi
  mov    %edi,%ecx
  and    $0xffffff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x64(%rdx)
  mov    $0x30,%ecx
  sar    %cl,%ebx
  mov    %ebx,%ecx
  mov    %esi,%edi
  shl    $0x10,%edi
  or     %edi,%ecx
  and    $0xffffff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x68(%rdx)
  mov    %esi,%ebx
  shr    $0x8,%ebx
  mov    %ebx,%ecx
  add    %eax,%ecx
  mov    %ecx,0x6c(%rdx)
  mov    %esi,%ebx
  mov    $0x20,%ecx
  sar    %cl,%ebx
  mov    %ebx,%ecx
  and    $0xffffff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x70(%rdx)
  mov    $0x38,%ecx
  sar    %cl,%esi
  mov    %ebp,%ebx
  shl    $0x8,%ebx
  or     %ebx,%esi
  and    $0xffffff,%esi
  add    %eax,%esi
  mov    %esi,0x74(%rdx)
  mov    %ebp,%edi
  sar    $0x10,%edi
  mov    %edi,%ecx
  and    $0xffffff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x78(%rdx)
  mov    $0x28,%ecx
  sar    %cl,%ebp
  add    %eax,%ebp
  mov    %ebp,0x7c(%rdx)
  mov    -0x8(%rsp),%rsi
  subq   $0xffffffffffffff80,(%rsi)
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void unpackforblock24_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 = (16777215ULL);
  uint64_t w0 = pw64[0];
  uint64_t w1 = pw64[1];
  uint64_t w2 = pw64[2];
  uint64_t w3 = pw64[3];
  uint64_t w4 = pw64[4];
  uint64_t w5 = pw64[5];
  uint64_t w6 = pw64[6];
  uint64_t w7 = pw64[7];
  uint64_t w8 = pw64[8];
  uint64_t w9 = pw64[9];
  uint64_t w10 = pw64[10];
  uint64_t w11 = pw64[11];
  *pw += 96;
  out[0] = base + ((w0)&mask);
  out[1] = base + ((w0 >> 24) & mask);
  out[2] = base + (((w0 >> 48) | (w1 << 16)) & mask);
  out[3] = base + ((w1 >> 8) & mask);
  out[4] = base + ((w1 >> 32) & mask);
  out[5] = base + (((w1 >> 56) | (w2 << 8)) & mask);
  out[6] = base + ((w2 >> 16) & mask);
  out[7] = base + (w2 >> 40);
  out[8] = base + ((w3)&mask);
  out[9] = base + ((w3 >> 24) & mask);
  out[10] = base + (((w3 >> 48) | (w4 << 16)) & mask);
  out[11] = base + ((w4 >> 8) & mask);
  out[12] = base + ((w4 >> 32) & mask);
  out[13] = base + (((w4 >> 56) | (w5 << 8)) & mask);
  out[14] = base + ((w5 >> 16) & mask);
  out[15] = base + (w5 >> 40);
  out[16] = base + ((w6)&mask);
  out[17] = base + ((w6 >> 24) & mask);
  out[18] = base + (((w6 >> 48) | (w7 << 16)) & mask);
  out[19] = base + ((w7 >> 8) & mask);
  out[20] = base + ((w7 >> 32) & mask);
  out[21] = base + (((w7 >> 56) | (w8 << 8)) & mask);
  out[22] = base + ((w8 >> 16) & mask);
  out[23] = base + (w8 >> 40);
  out[24] = base + ((w9)&mask);
  out[25] = base + ((w9 >> 24) & mask);
  out[26] = base + (((w9 >> 48) | (w10 << 16)) & mask);
  out[27] = base + ((w10 >> 8) & mask);
  out[28] = base + ((w10 >> 32) & mask);
  out[29] = base + (((w10 >> 56) | (w11 << 8)) & mask);
  out[30] = base + ((w11 >> 16) & mask);
  out[31] = base + (w11 >> 40);
  *pout += 32;
}
```