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

```asm
<unpackforblock27_64>:
  endbr64
  push   %r15
  mov    %edi,%eax
  push   %r14
  mov    %rsi,%r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    (%rsi),%rcx
  mov    0x18(%rcx),%esi
  mov    0x1c(%rcx),%edi
  add    $0x1b0,%rcx
  mov    -0x18c(%rcx),%r10d
  mov    -0x1b0(%rcx),%r13d
  mov    %rdx,-0x8(%rsp)
  mov    %esi,-0x14(%rsp)
  mov    (%rdx),%rdx
  mov    %edi,-0x10(%rsp)
  mov    -0x1a8(%rcx),%r9d
  mov    %r10d,-0xc(%rsp)
  mov    -0x19c(%rcx),%r8d
  mov    -0x190(%rcx),%edi
  mov    -0x188(%rcx),%esi
  mov    -0x1ac(%rcx),%r12d
  mov    -0x1a0(%rcx),%ebx
  mov    -0x184(%rcx),%r11d
  mov    -0x180(%rcx),%r10d
  mov    -0x17c(%rcx),%r15d
  mov    -0x1a4(%rcx),%ebp
  mov    %rcx,(%r14)
  mov    %r13d,%ecx
  and    $0x7ffffff,%ecx
  mov    %r9d,%r14d
  add    %eax,%ecx
  mov    %ecx,(%rdx)
  mov    %r13d,%ecx
  sar    $0x1b,%ecx
  and    $0x7ffffff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x4(%rdx)
  mov    $0x36,%ecx
  sar    %cl,%r13d
  mov    %r12d,%ecx
  shl    $0xa,%ecx
  or     %ecx,%r13d
  mov    %r12d,%ecx
  sar    $0x11,%ecx
  and    $0x7ffffff,%r13d
  and    $0x7ffffff,%ecx
  add    %eax,%r13d
  add    %eax,%ecx
  mov    %r13d,0x8(%rdx)
  mov    %ecx,0xc(%rdx)
  mov    $0x2c,%ecx
  sar    %cl,%r12d
  mov    %r9d,%ecx
  shl    $0x14,%ecx
  or     %ecx,%r12d
  mov    %r9d,%ecx
  sar    $0x7,%ecx
  and    $0x7ffffff,%r12d
  and    $0x7ffffff,%ecx
  add    %eax,%r12d
  add    %eax,%ecx
  mov    %r12d,0x10(%rdx)
  mov    %ecx,0x14(%rdx)
  mov    $0x22,%ecx
  sar    %cl,%r14d
  mov    %r14d,%ecx
  and    $0x7ffffff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x18(%rdx)
  mov    $0x3d,%ecx
  sar    %cl,%r9d
  lea    0x0(,%rbp,8),%ecx
  or     %ecx,%r9d
  mov    %ebp,%ecx
  sar    $0x18,%ecx
  and    $0x7ffffff,%r9d
  and    $0x7ffffff,%ecx
  add    %eax,%r9d
  add    %eax,%ecx
  mov    %r9d,0x1c(%rdx)
  mov    %ecx,0x20(%rdx)
  mov    $0x33,%ecx
  sar    %cl,%ebp
  mov    %ebx,%ecx
  shl    $0xd,%ecx
  or     %ecx,%ebp
  mov    %ebx,%ecx
  sar    $0xe,%ecx
  and    $0x7ffffff,%ebp
  and    $0x7ffffff,%ecx
  add    %eax,%ebp
  add    %eax,%ecx
  mov    %ebp,0x24(%rdx)
  mov    %ecx,0x28(%rdx)
  mov    $0x29,%ecx
  sar    %cl,%ebx
  mov    %r8d,%ecx
  shl    $0x17,%ecx
  or     %ecx,%ebx
  mov    %r8d,%ecx
  sar    $0x4,%ecx
  and    $0x7ffffff,%ebx
  and    $0x7ffffff,%ecx
  add    %eax,%ebx
  add    %eax,%ecx
  mov    %ebx,0x2c(%rdx)
  mov    -0x14(%rsp),%ebx
  mov    %ecx,0x30(%rdx)
  mov    %r8d,%ecx
  sar    $0x1f,%ecx
  and    $0x7ffffff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x34(%rdx)
  mov    $0x3a,%ecx
  sar    %cl,%r8d
  mov    %ebx,%ecx
  shl    $0x6,%ecx
  or     %ecx,%r8d
  mov    %ebx,%ecx
  sar    $0x15,%ecx
  and    $0x7ffffff,%r8d
  and    $0x7ffffff,%ecx
  add    %eax,%r8d
  add    %eax,%ecx
  mov    %r8d,0x38(%rdx)
  mov    %ecx,0x3c(%rdx)
  mov    $0x30,%ecx
  sar    %cl,%ebx
  mov    %ebx,%ecx
  mov    -0x10(%rsp),%ebx
  mov    %ebx,%r8d
  shl    $0x10,%r8d
  or     %r8d,%ecx
  mov    %edi,%r8d
  and    $0x7ffffff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x40(%rdx)
  mov    %ebx,%ecx
  sar    $0xb,%ecx
  shl    $0x1a,%r8d
  and    $0x7ffffff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x44(%rdx)
  mov    $0x26,%ecx
  sar    %cl,%ebx
  mov    %ebx,%ecx
  mov    -0xc(%rsp),%ebx
  or     %r8d,%ecx
  and    $0x7ffffff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x48(%rdx)
  mov    %edi,%ecx
  sar    %ecx
  and    $0x7ffffff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x4c(%rdx)
  mov    %edi,%ecx
  sar    $0x1c,%ecx
  and    $0x7ffffff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x50(%rdx)
  mov    $0x37,%ecx
  sar    %cl,%edi
  mov    %ebx,%ecx
  shl    $0x9,%ecx
  or     %ecx,%edi
  mov    %ebx,%ecx
  sar    $0x12,%ecx
  and    $0x7ffffff,%edi
  and    $0x7ffffff,%ecx
  add    %eax,%edi
  add    %eax,%ecx
  mov    %edi,0x54(%rdx)
  mov    %esi,%edi
  mov    %ecx,0x58(%rdx)
  mov    $0x2d,%ecx
  shl    $0x13,%edi
  sar    %cl,%ebx
  mov    %ebx,%ecx
  or     %edi,%ecx
  mov    %esi,%edi
  and    $0x7ffffff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x5c(%rdx)
  mov    %esi,%ecx
  sar    $0x8,%ecx
  and    $0x7ffffff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x60(%rdx)
  mov    $0x23,%ecx
  sar    %cl,%edi
  mov    %edi,%ecx
  and    $0x7ffffff,%ecx
  add    %eax,%ecx
  mov    %ecx,0x64(%rdx)
  mov    $0x3e,%ecx
  sar    %cl,%esi
  lea    0x0(,%r11,4),%ecx
  or     %ecx,%esi
  mov    %r11d,%ecx
  sar    $0x19,%ecx
  and    $0x7ffffff,%esi
  and    $0x7ffffff,%ecx
  add    %eax,%esi
  add    %eax,%ecx
  mov    %esi,0x68(%rdx)
  mov    %r15d,%esi
  mov    %ecx,0x6c(%rdx)
  mov    $0x34,%ecx
  shr    $0x5,%esi
  sar    %cl,%r11d
  mov    %r10d,%ecx
  shl    $0xc,%ecx
  or     %ecx,%r11d
  mov    %r10d,%ecx
  sar    $0xf,%ecx
  and    $0x7ffffff,%r11d
  and    $0x7ffffff,%ecx
  add    %eax,%r11d
  add    %eax,%ecx
  mov    %r11d,0x70(%rdx)
  mov    %ecx,0x74(%rdx)
  mov    $0x2a,%ecx
  sar    %cl,%r10d
  mov    %r15d,%ecx
  shl    $0x16,%ecx
  or     %ecx,%r10d
  and    $0x7ffffff,%r10d
  add    %eax,%r10d
  add    %esi,%eax
  mov    %eax,0x7c(%rdx)
  mov    -0x8(%rsp),%rax
  mov    %r10d,0x78(%rdx)
  subq   $0xffffffffffffff80,(%rax)
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void unpackforblock27_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 = (134217727ULL);
  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];
  uint64_t w12 = pw64[12];
  uint64_t w13 = pw64[13];
  *pw += 108;
  out[0] = base + ((w0)&mask);
  out[1] = base + ((w0 >> 27) & mask);
  out[2] = base + (((w0 >> 54) | (w1 << 10)) & mask);
  out[3] = base + ((w1 >> 17) & mask);
  out[4] = base + (((w1 >> 44) | (w2 << 20)) & mask);
  out[5] = base + ((w2 >> 7) & mask);
  out[6] = base + ((w2 >> 34) & mask);
  out[7] = base + (((w2 >> 61) | (w3 << 3)) & mask);
  out[8] = base + ((w3 >> 24) & mask);
  out[9] = base + (((w3 >> 51) | (w4 << 13)) & mask);
  out[10] = base + ((w4 >> 14) & mask);
  out[11] = base + (((w4 >> 41) | (w5 << 23)) & mask);
  out[12] = base + ((w5 >> 4) & mask);
  out[13] = base + ((w5 >> 31) & mask);
  out[14] = base + (((w5 >> 58) | (w6 << 6)) & mask);
  out[15] = base + ((w6 >> 21) & mask);
  out[16] = base + (((w6 >> 48) | (w7 << 16)) & mask);
  out[17] = base + ((w7 >> 11) & mask);
  out[18] = base + (((w7 >> 38) | (w8 << 26)) & mask);
  out[19] = base + ((w8 >> 1) & mask);
  out[20] = base + ((w8 >> 28) & mask);
  out[21] = base + (((w8 >> 55) | (w9 << 9)) & mask);
  out[22] = base + ((w9 >> 18) & mask);
  out[23] = base + (((w9 >> 45) | (w10 << 19)) & mask);
  out[24] = base + ((w10 >> 8) & mask);
  out[25] = base + ((w10 >> 35) & mask);
  out[26] = base + (((w10 >> 62) | (w11 << 2)) & mask);
  out[27] = base + ((w11 >> 25) & mask);
  out[28] = base + (((w11 >> 52) | (w12 << 12)) & mask);
  out[29] = base + ((w12 >> 15) & mask);
  out[30] = base + (((w12 >> 42) | (w13 << 22)) & mask);
  out[31] = base + ((w13 >> 5) & mask);
  *pout += 32;
}
```