user: 请将以下的汇编代码转换成C语言代码：

```asm
<packforblock32>:
  endbr64
  mov    %rdi,%rcx
  mov    %rsi,%rdi
  push   %r15
  mov    %rdx,%rsi
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    (%rdx),%rax
  mov    (%rdi),%rdx
  add    $0x200,%rax
  mov    0x10(%rdx),%r14d
  mov    0x20(%rdx),%r13d
  add    $0x100,%rdx
  mov    -0x70(%rdx),%r8d
  mov    -0x60(%rdx),%r15d
  mov    -0xb0(%rdx),%ebx
  sub    %ecx,%r14d
  sub    %ecx,%r13d
  mov    -0x80(%rdx),%r9d
  sub    %ecx,%r8d
  sub    %ecx,%r15d
  mov    -0xd0(%rdx),%r12d
  mov    -0xc0(%rdx),%ebp
  mov    %r8d,-0x18(%rsp)
  mov    -0x50(%rdx),%r8d
  sub    %ecx,%ebx
  sub    %ecx,%r9d
  mov    %r15d,-0x14(%rsp)
  mov    -0x40(%rdx),%r15d
  sub    %ecx,%r12d
  sub    %ecx,%ebp
  sub    %ecx,%r8d
  mov    -0xa0(%rdx),%r11d
  mov    -0x90(%rdx),%r10d
  mov    %r8d,-0x10(%rsp)
  mov    -0x30(%rdx),%r8d
  sub    %ecx,%r15d
  mov    %r15d,-0xc(%rsp)
  mov    -0x100(%rdx),%r15d
  sub    %ecx,%r11d
  sub    %ecx,%r10d
  sub    %ecx,%r8d
  mov    %r8d,-0x8(%rsp)
  mov    -0x20(%rdx),%r8d
  sub    %ecx,%r15d
  sub    %ecx,%r8d
  mov    %r8d,-0x4(%rsp)
  mov    -0x10(%rdx),%r8d
  mov    %r15d,-0x200(%rax)
  mov    %r14d,-0x1fc(%rax)
  sub    %ecx,%r8d
  mov    %r13d,-0x1f8(%rax)
  mov    -0x14(%rsp),%r15d
  mov    %ebx,-0x1ec(%rax)
  mov    -0x18(%rsp),%ebx
  mov    %r15d,-0x1d8(%rax)
  mov    -0xc(%rsp),%r15d
  mov    %ebx,-0x1dc(%rax)
  mov    -0x10(%rsp),%ebx
  mov    %r12d,-0x1f4(%rax)
  mov    %ebx,-0x1d4(%rax)
  mov    -0x8(%rsp),%ebx
  mov    %ebp,-0x1f0(%rax)
  mov    %ebx,-0x1cc(%rax)
  mov    -0x4(%rsp),%ebx
  mov    %r11d,-0x1e8(%rax)
  mov    %r10d,-0x1e4(%rax)
  mov    %r9d,-0x1e0(%rax)
  mov    %r15d,-0x1d0(%rax)
  mov    %ebx,-0x1c8(%rax)
  mov    %r8d,-0x1c4(%rax)
  pop    %rbx
  mov    %rdx,(%rdi)
  pop    %rbp
  mov    %rax,(%rsi)
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

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