user: What is the c source code of the assembly code below?

```asm
<packforblock6>:
  endbr64
  mov    %rdi,%rax
  mov    %rsi,%r8
  mov    %rdx,%rdi
  mov    (%rdx),%r9
  mov    (%rsi),%rdx
  mov    (%rdx),%r10d
  sub    %eax,%r10d
  mov    0x8(%rdx),%ecx
  sub    %eax,%ecx
  shl    $0x6,%ecx
  mov    0x10(%rdx),%esi
  sub    %eax,%esi
  shl    $0xc,%esi
  or     %esi,%ecx
  or     %r10d,%ecx
  mov    0x18(%rdx),%esi
  sub    %eax,%esi
  shl    $0x12,%esi
  or     %esi,%ecx
  mov    0x20(%rdx),%r10d
  sub    %eax,%r10d
  shl    $0x18,%r10d
  or     %ecx,%r10d
  mov    0x50(%rdx),%ecx
  sub    %eax,%ecx
  sar    $0x4,%ecx
  mov    0x58(%rdx),%esi
  sub    %eax,%esi
  shl    $0x2,%esi
  or     %ecx,%esi
  mov    0x60(%rdx),%ecx
  sub    %eax,%ecx
  shl    $0x8,%ecx
  or     %esi,%ecx
  mov    0x68(%rdx),%esi
  sub    %eax,%esi
  shl    $0xe,%esi
  or     %ecx,%esi
  mov    0x70(%rdx),%ecx
  sub    %eax,%ecx
  shl    $0x14,%ecx
  or     %esi,%ecx
  mov    0x78(%rdx),%esi
  sub    %eax,%esi
  shl    $0x1a,%esi
  or     %ecx,%esi
  mov    0xa8(%rdx),%r11d
  sub    %eax,%r11d
  sar    $0x2,%r11d
  mov    0xb0(%rdx),%ecx
  sub    %eax,%ecx
  shl    $0x4,%ecx
  or     %r11d,%ecx
  mov    0xb8(%rdx),%r11d
  sub    %eax,%r11d
  shl    $0xa,%r11d
  or     %ecx,%r11d
  mov    0xc0(%rdx),%ecx
  sub    %eax,%ecx
  shl    $0x10,%ecx
  or     %r11d,%ecx
  mov    0xc8(%rdx),%r11d
  sub    %eax,%r11d
  shl    $0x16,%r11d
  or     %ecx,%r11d
  mov    0xd0(%rdx),%ecx
  sub    %eax,%ecx
  shl    $0x1c,%ecx
  or     %r11d,%ecx
  mov    0x28(%rdx),%rdx
  sub    %eax,%edx
  mov    %edx,%eax
  shl    $0x1e,%eax
  or     %r10d,%eax
  mov    %eax,(%r9)
  mov    %esi,0x4(%r9)
  mov    %ecx,0x8(%r9)
  addq   $0x100,(%r8)
  addq   $0x60,(%rdi)
  ret
```

assistant: ```c
void packforblock6(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;
  w0 = (uint64_t)(in[0] - base);
  w0 |= (uint64_t)(in[1] - base) << 6;
  w0 |= (uint64_t)(in[2] - base) << 12;
  w0 |= (uint64_t)(in[3] - base) << 18;
  w0 |= (uint64_t)(in[4] - base) << 24;
  w0 |= (uint64_t)(in[5] - base) << 30;
  w0 |= (uint64_t)(in[6] - base) << 36;
  w0 |= (uint64_t)(in[7] - base) << 42;
  w0 |= (uint64_t)(in[8] - base) << 48;
  w0 |= (uint64_t)(in[9] - base) << 54;
  w0 |= (uint64_t)(in[10] - base) << 60;
  w1 = (uint64_t)(in[10] - base) >> 4;
  w1 |= (uint64_t)(in[11] - base) << 2;
  w1 |= (uint64_t)(in[12] - base) << 8;
  w1 |= (uint64_t)(in[13] - base) << 14;
  w1 |= (uint64_t)(in[14] - base) << 20;
  w1 |= (uint64_t)(in[15] - base) << 26;
  w1 |= (uint64_t)(in[16] - base) << 32;
  w1 |= (uint64_t)(in[17] - base) << 38;
  w1 |= (uint64_t)(in[18] - base) << 44;
  w1 |= (uint64_t)(in[19] - base) << 50;
  w1 |= (uint64_t)(in[20] - base) << 56;
  w1 |= (uint64_t)(in[21] - base) << 62;
  w2 = (uint64_t)(in[21] - base) >> 2;
  w2 |= (uint64_t)(in[22] - base) << 4;
  w2 |= (uint64_t)(in[23] - base) << 10;
  w2 |= (uint64_t)(in[24] - base) << 16;
  w2 |= (uint64_t)(in[25] - base) << 22;
  w2 |= (uint64_t)(in[26] - base) << 28;
  w2 |= (uint64_t)(in[27] - base) << 34;
  w2 |= (uint64_t)(in[28] - base) << 40;
  w2 |= (uint64_t)(in[29] - base) << 46;
  w2 |= (uint64_t)(in[30] - base) << 52;
  w2 |= (uint64_t)(in[31] - base) << 58;
  pw64[0] = w0;
  pw64[1] = w1;
  pw64[2] = w2;
  *pin += 32;
  *pw += 24;
}
```