user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<packforblock24_64>:
  endbr64
  mov    %rsi,%r9
  push   %r14
  mov    %rdx,%rsi
  mov    %edi,%ecx
  mov    (%r9),%rax
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    0x28(%rax),%r14d
  mov    (%rdx),%r10
  mov    0x2c(%rax),%edx
  sub    %ecx,%r14d
  mov    0x34(%rax),%r13d
  mov    0x40(%rax),%r12d
  sub    %ecx,%edx
  sar    $0x10,%r14d
  mov    0x48(%rax),%ebp
  mov    (%rax),%ebx
  shl    $0x8,%edx
  sub    %ecx,%r13d
  sub    %ecx,%r12d
  mov    0x8(%rax),%r8d
  or     %r14d,%edx
  sar    $0x8,%r13d
  sub    %ecx,%ebp
  mov    0x54(%rax),%r14d
  movd   %edx,%xmm1
  mov    0x38(%rax),%edx
  sar    $0x10,%ebp
  sub    %edi,%ebx
  sub    %edi,%r8d
  mov    0x14(%rax),%edi
  mov    0x20(%rax),%r11d
  sub    %ecx,%r14d
  sar    $0x8,%r14d
  sub    %ecx,%edx
  sar    $0x10,%r8d
  shl    $0x10,%edx
  sub    %ecx,%edi
  sub    %ecx,%r11d
  or     %edx,%r13d
  mov    0x44(%rax),%edx
  sar    $0x8,%edi
  movd   %r13d,%xmm5
  mov    0x60(%rax),%r13d
  sub    %ecx,%edx
  punpckldq %xmm5,%xmm1
  shl    $0x18,%edx
  sub    %ecx,%r13d
  or     %r12d,%edx
  mov    0x4c(%rax),%r12d
  movd   %edx,%xmm0
  mov    0x58(%rax),%edx
  sub    %ecx,%r12d
  shl    $0x8,%r12d
  or     %ebp,%r12d
  mov    0x74(%rax),%ebp
  movd   %r12d,%xmm4
  mov    0x68(%rax),%r12d
  sub    %ecx,%ebp
  punpckldq %xmm4,%xmm0
  sub    %ecx,%r12d
  sar    $0x8,%ebp
  punpcklqdq %xmm0,%xmm1
  sar    $0x10,%r12d
  sub    %ecx,%edx
  sub    $0xffffffffffffff80,%rax
  shl    $0x10,%edx
  or     %r14d,%edx
  movd   %edx,%xmm0
  mov    -0x1c(%rax),%edx
  sub    %ecx,%edx
  shl    $0x18,%edx
  or     %edx,%r13d
  mov    -0x14(%rax),%edx
  movd   %r13d,%xmm7
  sub    %ecx,%edx
  punpckldq %xmm7,%xmm0
  shl    $0x8,%edx
  or     %r12d,%edx
  mov    -0x8(%rax),%r12d
  movd   %edx,%xmm2
  mov    -0x7c(%rax),%edx
  sub    %ecx,%r12d
  shl    $0x10,%r12d
  sub    %ecx,%edx
  or     %ebp,%r12d
  shl    $0x18,%edx
  movd   %r12d,%xmm6
  or     %ebx,%edx
  punpckldq %xmm6,%xmm2
  punpcklqdq %xmm2,%xmm0
  movd   %edx,%xmm2
  mov    -0x74(%rax),%edx
  sub    %ecx,%edx
  shl    $0x8,%edx
  or     %edx,%r8d
  mov    -0x68(%rax),%edx
  movd   %r8d,%xmm5
  sub    %ecx,%edx
  punpckldq %xmm5,%xmm2
  shl    $0x10,%edx
  or     %edi,%edx
  mov    -0x5c(%rax),%edi
  movd   %edx,%xmm3
  sub    %ecx,%edi
  shl    $0x18,%edi
  mov    %edi,%ecx
  or     %r11d,%ecx
  movd   %ecx,%xmm4
  punpckldq %xmm4,%xmm3
  punpcklqdq %xmm3,%xmm2
  movups %xmm2,(%r10)
  movups %xmm1,0x10(%r10)
  movups %xmm0,0x20(%r10)
  pop    %rbx
  pop    %rbp
  mov    %rax,(%r9)
  pop    %r12
  addq   $0x180,(%rsi)
  pop    %r13
  pop    %r14
  ret
```

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