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

```asm
<packforblock7>:
  endbr64
  mov    %rsi,%r9
  push   %rbx
  mov    %rdx,%r8
  mov    (%rdx),%rsi
  mov    (%r9),%rax
  mov    %rdi,%rcx
  mov    (%rax),%r10d
  mov    0x8(%rax),%edx
  mov    0x18(%rax),%ebx
  mov    0xe0(%rax),%r11d
  sub    %edi,%r10d
  sub    %edi,%edx
  mov    0x10(%rax),%edi
  shl    $0x7,%edx
  sub    %ecx,%ebx
  sub    %ecx,%edi
  shl    $0x15,%ebx
  shl    $0xe,%edi
  or     %edi,%edx
  mov    0x48(%rax),%edi
  or     %r10d,%edx
  mov    0x68(%rax),%r10d
  or     %edx,%ebx
  mov    0x50(%rax),%edx
  sub    %ecx,%edi
  sar    %edi
  sub    %ecx,%r10d
  sub    %ecx,%edx
  shl    $0x1b,%r10d
  shl    $0x6,%edx
  or     %edi,%edx
  mov    0x58(%rax),%edi
  sub    %ecx,%edi
  shl    $0xd,%edi
  or     %edx,%edi
  mov    0x60(%rax),%edx
  sub    %ecx,%edx
  shl    $0x14,%edx
  or     %edi,%edx
  mov    0x90(%rax),%edi
  or     %edx,%r10d
  mov    0x98(%rax),%edx
  sub    %ecx,%edi
  sub    %ecx,%edx
  sar    $0x2,%edi
  shl    $0x5,%edx
  or     %edi,%edx
  mov    0xa0(%rax),%edi
  sub    %ecx,%edi
  shl    $0xc,%edi
  or     %edx,%edi
  mov    0xa8(%rax),%edx
  sub    %ecx,%edx
  sub    %ecx,%r11d
  add    $0x100,%rax
  add    $0x70,%rsi
  shl    $0x13,%edx
  shl    $0x4,%r11d
  or     %edi,%edx
  mov    -0x50(%rax),%edi
  sub    %ecx,%edi
  shl    $0x1a,%edi
  or     %edx,%edi
  mov    -0x28(%rax),%edx
  sub    %ecx,%edx
  sar    $0x3,%edx
  or     %edx,%r11d
  mov    -0x18(%rax),%edx
  sub    %ecx,%edx
  shl    $0xb,%edx
  or     %r11d,%edx
  mov    -0x10(%rax),%r11d
  sub    %ecx,%r11d
  shl    $0x12,%r11d
  or     %edx,%r11d
  mov    -0x8(%rax),%edx
  sub    %ecx,%edx
  shl    $0x19,%edx
  or     %r11d,%edx
  mov    -0xe0(%rax),%r11d
  mov    %r10d,-0x6c(%rsi)
  mov    %edi,-0x68(%rsi)
  sub    %ecx,%r11d
  mov    %edx,-0x64(%rsi)
  mov    %r11d,%ecx
  shl    $0x1c,%ecx
  or     %ebx,%ecx
  mov    %ecx,-0x70(%rsi)
  pop    %rbx
  mov    %rax,(%r9)
  mov    %rsi,(%r8)
  ret
```

assistant: ```c
void packforblock7(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;
  w0 = (uint64_t)(in[0] - base);
  w0 |= (uint64_t)(in[1] - base) << 7;
  w0 |= (uint64_t)(in[2] - base) << 14;
  w0 |= (uint64_t)(in[3] - base) << 21;
  w0 |= (uint64_t)(in[4] - base) << 28;
  w0 |= (uint64_t)(in[5] - base) << 35;
  w0 |= (uint64_t)(in[6] - base) << 42;
  w0 |= (uint64_t)(in[7] - base) << 49;
  w0 |= (uint64_t)(in[8] - base) << 56;
  w0 |= (uint64_t)(in[9] - base) << 63;
  w1 = (uint64_t)(in[9] - base) >> 1;
  w1 |= (uint64_t)(in[10] - base) << 6;
  w1 |= (uint64_t)(in[11] - base) << 13;
  w1 |= (uint64_t)(in[12] - base) << 20;
  w1 |= (uint64_t)(in[13] - base) << 27;
  w1 |= (uint64_t)(in[14] - base) << 34;
  w1 |= (uint64_t)(in[15] - base) << 41;
  w1 |= (uint64_t)(in[16] - base) << 48;
  w1 |= (uint64_t)(in[17] - base) << 55;
  w1 |= (uint64_t)(in[18] - base) << 62;
  w2 = (uint64_t)(in[18] - base) >> 2;
  w2 |= (uint64_t)(in[19] - base) << 5;
  w2 |= (uint64_t)(in[20] - base) << 12;
  w2 |= (uint64_t)(in[21] - base) << 19;
  w2 |= (uint64_t)(in[22] - base) << 26;
  w2 |= (uint64_t)(in[23] - base) << 33;
  w2 |= (uint64_t)(in[24] - base) << 40;
  w2 |= (uint64_t)(in[25] - base) << 47;
  w2 |= (uint64_t)(in[26] - base) << 54;
  w2 |= (uint64_t)(in[27] - base) << 61;
  w3 = (uint64_t)(in[27] - base) >> 3;
  w3 |= (uint64_t)(in[28] - base) << 4;
  w3 |= (uint64_t)(in[29] - base) << 11;
  w3 |= (uint64_t)(in[30] - base) << 18;
  w3 |= (uint64_t)(in[31] - base) << 25;
  pw64[0] = w0;
  pw64[1] = w1;
  pw64[2] = w2;
  pw64[3] = w3;
  *pin += 32;
  *pw += 28;
}
```