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

```asm
<packforblock20>:
  endbr64
  push   %r14
  mov    %rdi,%rcx
  mov    %rsi,%r8
  mov    %rdx,%r9
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    (%rsi),%rax
  mov    (%rdx),%rdi
  mov    0x50(%rax),%esi
  mov    0x48(%rax),%edx
  mov    0x68(%rax),%r14d
  mov    0x80(%rax),%r13d
  sub    %ecx,%edx
  sub    %ecx,%esi
  mov    0x98(%rax),%r12d
  mov    0x18(%rax),%r11d
  sar    $0xc,%edx
  shl    $0x8,%esi
  sub    %ecx,%r14d
  sub    %ecx,%r13d
  or     %edx,%esi
  mov    0x60(%rax),%edx
  shl    $0x4,%r14d
  sub    %ecx,%r12d
  sar    $0x4,%r12d
  mov    0xb0(%rax),%ebp
  mov    (%rax),%ebx
  sub    %ecx,%r11d
  sub    %ecx,%edx
  mov    0x30(%rax),%r10d
  sar    $0x4,%r11d
  sar    $0x10,%edx
  sub    %ecx,%ebp
  sub    %ecx,%ebx
  or     %edx,%r14d
  mov    0x70(%rax),%edx
  sar    $0x8,%ebp
  sub    %ecx,%r10d
  sar    $0x8,%r10d
  sub    %ecx,%edx
  shl    $0x18,%edx
  or     %r14d,%edx
  movd   %edx,%xmm0
  mov    0x88(%rax),%edx
  sub    %ecx,%edx
  shl    $0x14,%edx
  or     %edx,%r13d
  mov    0xa0(%rax),%edx
  movd   %r13d,%xmm5
  sub    %ecx,%edx
  punpckldq %xmm5,%xmm0
  shl    $0x10,%edx
  or     %r12d,%edx
  mov    0xb8(%rax),%r12d
  movd   %edx,%xmm1
  mov    0xc8(%rax),%edx
  sub    %ecx,%r12d
  shl    $0xc,%r12d
  or     %ebp,%r12d
  mov    0xd0(%rax),%ebp
  sub    %ecx,%edx
  add    $0x100,%rax
  sar    $0xc,%edx
  movd   %r12d,%xmm4
  mov    -0x18(%rax),%r12d
  add    $0x140,%rdi
  sub    %ecx,%ebp
  punpckldq %xmm4,%xmm1
  shl    $0x8,%ebp
  sub    %ecx,%r12d
  punpcklqdq %xmm1,%xmm0
  or     %edx,%ebp
  mov    -0x20(%rax),%edx
  shl    $0x4,%r12d
  sub    %ecx,%edx
  sar    $0x10,%edx
  or     %edx,%r12d
  mov    -0x28(%rax),%edx
  sub    %ecx,%edx
  shl    $0x1c,%edx
  or     %ebp,%edx
  mov    -0x10(%rax),%ebp
  movd   %edx,%xmm2
  mov    -0xf8(%rax),%edx
  sub    %ecx,%ebp
  sub    %ecx,%edx
  shl    $0x18,%ebp
  shl    $0x14,%edx
  or     %r12d,%ebp
  or     %ebx,%edx
  movd   %ebp,%xmm6
  movd   %edx,%xmm1
  mov    -0xe0(%rax),%edx
  punpckldq %xmm6,%xmm2
  sub    %ecx,%edx
  shl    $0x10,%edx
  or     %edx,%r11d
  mov    -0xc8(%rax),%edx
  movd   %r11d,%xmm4
  sub    %ecx,%edx
  punpckldq %xmm4,%xmm1
  shl    $0xc,%edx
  or     %r10d,%edx
  mov    -0xa8(%rax),%r10d
  movd   %edx,%xmm3
  sub    %ecx,%r10d
  mov    %r10d,%ecx
  shl    $0x1c,%ecx
  or     %esi,%ecx
  movd   %ecx,%xmm7
  punpckldq %xmm7,%xmm3
  punpcklqdq %xmm3,%xmm1
  movups %xmm1,-0x140(%rdi)
  movups %xmm0,-0x130(%rdi)
  movq   %xmm2,-0x120(%rdi)
  pop    %rbx
  pop    %rbp
  mov    %rax,(%r8)
  pop    %r12
  mov    %rdi,(%r9)
  pop    %r13
  pop    %r14
  ret
```

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