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

```asm
<packforblock39_64>:
  endbr64
  push   %r15
  mov    %rsi,%r11
  mov    %rdx,%r8
  mov    $0x24,%ecx
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    (%rsi),%rax
  mov    (%rdx),%r9
  mov    0x18(%rax),%r15d
  mov    0x10(%rax),%esi
  mov    0x4(%rax),%ebx
  mov    0xc(%rax),%r10d
  mov    %edi,-0xc(%rsp)
  mov    0x20(%rax),%r14d
  mov    0x1c(%rax),%edx
  sub    %edi,%r15d
  sub    %edi,%esi
  sub    -0xc(%rsp),%edx
  sar    $0x16,%r15d
  sub    %edi,%ebx
  sub    %edi,%r10d
  shl    $0x11,%edx
  sub    %edi,%r14d
  mov    %esi,%ebp
  mov    0x24(%rax),%edi
  or     %r15d,%edx
  sub    -0xc(%rsp),%edi
  sar    %cl,%ebp
  mov    $0x21,%ecx
  mov    %edi,%r13d
  movd   %edx,%xmm4
  mov    0x28(%rax),%edx
  sub    -0xc(%rsp),%edx
  sar    %cl,%r13d
  shl    $0x6,%edx
  mov    0x2c(%rax),%r12d
  sub    -0xc(%rsp),%r12d
  sar    $0x8,%r14d
  or     %r13d,%edx
  shl    $0x1f,%edi
  mov    0x30(%rax),%r13d
  movd   %edx,%xmm0
  sub    -0xc(%rsp),%r13d
  mov    0x34(%rax),%edx
  or     %r14d,%edi
  sub    -0xc(%rsp),%edx
  movd   %edi,%xmm7
  sar    $0x13,%r12d
  mov    0x40(%rax),%edi
  sar    $0x5,%edx
  shl    $0x14,%r13d
  sub    -0xc(%rsp),%edi
  punpckldq %xmm7,%xmm4
  or     %r12d,%r13d
  movd   %edx,%xmm3
  mov    0x38(%rax),%r12d
  mov    0x3c(%rax),%edx
  sar    $0x19,%ebx
  sub    -0xc(%rsp),%r12d
  sub    -0xc(%rsp),%edx
  sar    $0x10,%edi
  sar    $0xb,%r10d
  sar    $0x1e,%r12d
  movd   %r13d,%xmm6
  mov    $0x26,%ecx
  shl    $0x9,%edx
  punpckldq %xmm6,%xmm0
  or     %edx,%r12d
  mov    0x44(%rax),%edx
  sub    -0xc(%rsp),%edx
  punpcklqdq %xmm0,%xmm4
  shl    $0x17,%edx
  mov    0x4c(%rax),%r15d
  mov    0x54(%rax),%r14d
  movd   %r12d,%xmm7
  or     %edi,%edx
  mov    0x48(%rax),%edi
  sub    -0xc(%rsp),%edi
  punpckldq %xmm7,%xmm3
  sar    $0x2,%edi
  sub    -0xc(%rsp),%r15d
  movd   %edx,%xmm0
  mov    0x50(%rax),%edx
  movd   %edi,%xmm6
  sub    -0xc(%rsp),%r14d
  mov    0x58(%rax),%edi
  sar    $0x1b,%r15d
  sub    -0xc(%rsp),%edi
  sub    -0xc(%rsp),%edx
  sar    $0xd,%r14d
  punpckldq %xmm6,%xmm0
  mov    %edi,%r13d
  shl    $0xc,%edx
  mov    0x60(%rax),%r12d
  sub    -0xc(%rsp),%r12d
  shl    $0x1a,%edi
  or     %r15d,%edx
  sar    %cl,%r13d
  punpcklqdq %xmm0,%xmm3
  or     %edi,%r14d
  mov    0x5c(%rax),%edi
  sub    -0xc(%rsp),%edi
  movd   %edx,%xmm2
  lea    (%rdi,%rdi,1),%edx
  sar    $0x18,%r12d
  mov    0x68(%rax),%edi
  sub    -0xc(%rsp),%edi
  or     %r13d,%edx
  mov    0x64(%rax),%r13d
  sub    -0xc(%rsp),%r13d
  sar    $0xa,%edi
  shl    $0xf,%r13d
  movd   %edx,%xmm0
  mov    0x6c(%rax),%edx
  sub    -0xc(%rsp),%edx
  or     %r12d,%r13d
  mov    $0x23,%ecx
  mov    0x74(%rax),%r12d
  sub    -0xc(%rsp),%r12d
  movd   %r13d,%xmm6
  mov    %edx,%r13d
  shl    $0x1d,%edx
  movd   %r14d,%xmm7
  sar    %cl,%r13d
  sar    $0x15,%r12d
  or     %edi,%edx
  mov    0x70(%rax),%edi
  sub    -0xc(%rsp),%edi
  punpckldq %xmm6,%xmm0
  punpckldq %xmm7,%xmm2
  mov    (%rax),%ecx
  shl    $0x4,%edi
  sub    -0xc(%rsp),%ecx
  punpcklqdq %xmm0,%xmm2
  shl    $0x1c,%esi
  or     %edi,%r13d
  mov    0x78(%rax),%edi
  sub    -0xc(%rsp),%edi
  movd   %edx,%xmm0
  shl    $0x12,%edi
  movd   %r13d,%xmm6
  or     %r10d,%esi
  sub    $0xffffffffffffff80,%rax
  or     %r12d,%edi
  mov    -0x4(%rax),%r12d
  sub    -0xc(%rsp),%r12d
  punpckldq %xmm6,%xmm0
  sar    $0x7,%r12d
  mov    -0x78(%rax),%edx
  movd   %edi,%xmm1
  sub    -0xc(%rsp),%edx
  mov    -0x6c(%rax),%edi
  movd   %r12d,%xmm5
  sub    -0xc(%rsp),%edi
  shl    $0xe,%edx
  punpckldq %xmm5,%xmm1
  movd   %ecx,%xmm5
  or     %ebx,%edx
  movups %xmm4,0x10(%r9)
  lea    0x0(,%rdi,8),%ecx
  punpcklqdq %xmm1,%xmm0
  movd   %edx,%xmm6
  movups %xmm3,0x20(%r9)
  or     %ebp,%ecx
  movd   %esi,%xmm1
  punpckldq %xmm6,%xmm5
  movups %xmm2,0x30(%r9)
  movd   %ecx,%xmm7
  movups %xmm0,0x40(%r9)
  punpckldq %xmm7,%xmm1
  punpcklqdq %xmm1,%xmm5
  movups %xmm5,(%r9)
  pop    %rbx
  pop    %rbp
  mov    %rax,(%r11)
  pop    %r12
  addq   $0x270,(%r8)
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void packforblock39_64(const uint64_t base, const uint64_t **pin, uint8_t **pw) {
  uint64_t *pw64 = *(uint64_t **)pw;
  const uint64_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;
  uint64_t w16;
  uint64_t w17;
  uint64_t w18;
  uint64_t w19;
  w0 = (in[0] - base);
  w0 |= (in[1] - base) << 39;
  w1 = (in[1] - base) >> 25;
  w1 |= (in[2] - base) << 14;
  w1 |= (in[3] - base) << 53;
  w2 = (in[3] - base) >> 11;
  w2 |= (in[4] - base) << 28;
  w3 = (in[4] - base) >> 36;
  w3 |= (in[5] - base) << 3;
  w3 |= (in[6] - base) << 42;
  w4 = (in[6] - base) >> 22;
  w4 |= (in[7] - base) << 17;
  w4 |= (in[8] - base) << 56;
  w5 = (in[8] - base) >> 8;
  w5 |= (in[9] - base) << 31;
  w6 = (in[9] - base) >> 33;
  w6 |= (in[10] - base) << 6;
  w6 |= (in[11] - base) << 45;
  w7 = (in[11] - base) >> 19;
  w7 |= (in[12] - base) << 20;
  w7 |= (in[13] - base) << 59;
  w8 = (in[13] - base) >> 5;
  w8 |= (in[14] - base) << 34;
  w9 = (in[14] - base) >> 30;
  w9 |= (in[15] - base) << 9;
  w9 |= (in[16] - base) << 48;
  w10 = (in[16] - base) >> 16;
  w10 |= (in[17] - base) << 23;
  w10 |= (in[18] - base) << 62;
  w11 = (in[18] - base) >> 2;
  w11 |= (in[19] - base) << 37;
  w12 = (in[19] - base) >> 27;
  w12 |= (in[20] - base) << 12;
  w12 |= (in[21] - base) << 51;
  w13 = (in[21] - base) >> 13;
  w13 |= (in[22] - base) << 26;
  w14 = (in[22] - base) >> 38;
  w14 |= (in[23] - base) << 1;
  w14 |= (in[24] - base) << 40;
  w15 = (in[24] - base) >> 24;
  w15 |= (in[25] - base) << 15;
  w15 |= (in[26] - base) << 54;
  w16 = (in[26] - base) >> 10;
  w16 |= (in[27] - base) << 29;
  w17 = (in[27] - base) >> 35;
  w17 |= (in[28] - base) << 4;
  w17 |= (in[29] - base) << 43;
  w18 = (in[29] - base) >> 21;
  w18 |= (in[30] - base) << 18;
  w18 |= (in[31] - base) << 57;
  w19 = (in[31] - base) >> 7;
  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;
  pw64[16] = w16;
  pw64[17] = w17;
  pw64[18] = w18;
  pw64[19] = w19;
  *pin += 32;
  *pw += 156;
}
```