user: What would the C source look like for the assembly code provided here?

```asm
<packforblock46_64>:
  endbr64
  push   %r15
  mov    %rdx,%r8
  mov    %edi,%r15d
  mov    %rsi,%r9
  push   %r14
  mov    $0x24,%ecx
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    (%rsi),%rax
  mov    (%rdx),%rdi
  mov    0x14(%rax),%r14d
  mov    0x18(%rax),%edx
  mov    0x20(%rax),%r12d
  mov    0x24(%rax),%ebx
  mov    0x8(%rax),%esi
  sub    %r15d,%edx
  sub    %r15d,%r14d
  mov    0x4(%rax),%r10d
  sub    %r15d,%ebx
  sub    %r15d,%r12d
  sar    $0x1a,%r14d
  mov    %edx,%r13d
  sub    %r15d,%esi
  sar    $0x10,%r12d
  mov    %ebx,%ebp
  sub    %r15d,%r10d
  shl    $0x14,%edx
  shl    $0x1e,%ebx
  mov    %esi,%r11d
  sar    %cl,%r11d
  or     %r14d,%edx
  or     %r12d,%ebx
  mov    0x28(%rax),%r12d
  movd   %ebx,%xmm1
  mov    $0x2c,%ecx
  mov    0x2c(%rax),%ebx
  movd   %edx,%xmm0
  mov    0x34(%rax),%edx
  sar    %cl,%r13d
  sub    %r15d,%r12d
  mov    $0x22,%ecx
  mov    0x1c(%rax),%r14d
  sar    %cl,%ebp
  sub    %r15d,%ebx
  shl    $0xc,%r12d
  sub    %r15d,%edx
  or     %ebp,%r12d
  sar    $0x6,%ebx
  mov    $0x2a,%ecx
  mov    %edx,%ebp
  shl    $0x16,%edx
  sub    %r15d,%r14d
  movd   %r12d,%xmm7
  movd   %ebx,%xmm5
  mov    0x30(%rax),%r12d
  mov    %edx,%ebx
  mov    0x38(%rax),%edx
  shl    $0x2,%r14d
  punpckldq %xmm7,%xmm1
  sar    %cl,%ebp
  mov    $0x20,%ecx
  or     %r13d,%r14d
  sub    %r15d,%r12d
  sub    %r15d,%edx
  sar    $0x12,%r10d
  sar    $0x18,%r12d
  movd   %r14d,%xmm7
  shl    $0x4,%edx
  mov    0x40(%rax),%r13d
  or     %r12d,%ebx
  punpckldq %xmm7,%xmm0
  or     %ebp,%edx
  mov    0x3c(%rax),%ebp
  mov    0x4c(%rax),%r12d
  movd   %ebx,%xmm2
  punpcklqdq %xmm1,%xmm0
  mov    0x44(%rax),%ebx
  movd   %edx,%xmm1
  mov    0x50(%rax),%edx
  sub    %r15d,%ebp
  sub    %r15d,%r13d
  sar    $0xe,%ebp
  sub    %r15d,%r12d
  sub    %r15d,%ebx
  sar    %cl,%r13d
  sub    %r15d,%edx
  movd   %ebp,%xmm7
  sar    $0x16,%r12d
  punpckldq %xmm2,%xmm5
  mov    %edx,%ebp
  shl    $0xe,%ebx
  punpckldq %xmm7,%xmm1
  mov    $0x28,%ecx
  shl    $0x18,%edx
  or     %r13d,%ebx
  punpcklqdq %xmm1,%xmm5
  sar    %cl,%ebp
  or     %r12d,%edx
  movd   %ebx,%xmm4
  mov    0x48(%rax),%ebx
  mov    0x5c(%rax),%r12d
  movd   %edx,%xmm1
  mov    0x58(%rax),%edx
  mov    $0x26,%ecx
  sub    %r15d,%ebx
  sub    %r15d,%r12d
  sar    $0x4,%ebx
  sub    %r15d,%edx
  sar    $0x1e,%r12d
  sar    $0xc,%edx
  mov    %ebx,%r13d
  mov    0x54(%rax),%ebx
  movd   %edx,%xmm2
  mov    0x60(%rax),%edx
  movd   %r13d,%xmm7
  sub    %r15d,%ebx
  punpckldq %xmm7,%xmm4
  sub    %r15d,%edx
  shl    $0x6,%ebx
  shl    $0x10,%edx
  or     %ebp,%ebx
  mov    0x68(%rax),%ebp
  or     %r12d,%edx
  movd   %ebx,%xmm6
  mov    0x6c(%rax),%ebx
  movd   %edx,%xmm3
  mov    0x64(%rax),%edx
  punpckldq %xmm6,%xmm1
  sub    %r15d,%ebp
  sub    %r15d,%ebx
  punpcklqdq %xmm1,%xmm4
  sar    $0x14,%ebp
  punpckldq %xmm3,%xmm2
  sub    %r15d,%edx
  mov    %ebx,%r12d
  sar    $0x2,%edx
  shl    $0x1a,%r12d
  movd   %edx,%xmm1
  mov    0x70(%rax),%edx
  or     %ebp,%r12d
  sar    %cl,%ebx
  movd   %r12d,%xmm6
  shl    $0x1c,%esi
  mov    (%rax),%ecx
  sub    $0xffffffffffffff80,%rax
  sub    %r15d,%edx
  punpckldq %xmm6,%xmm1
  or     %r10d,%esi
  mov    -0x70(%rax),%r10d
  shl    $0x8,%edx
  punpcklqdq %xmm1,%xmm2
  sub    %r15d,%ecx
  or     %ebx,%edx
  mov    -0xc(%rax),%ebx
  sub    %r15d,%r10d
  movd   %ecx,%xmm6
  movd   %edx,%xmm1
  mov    -0x8(%rax),%edx
  sar    $0x8,%r10d
  sub    %r15d,%ebx
  movd   %r10d,%xmm7
  sar    $0xa,%ebx
  sub    %r15d,%edx
  movd   %ebx,%xmm3
  mov    -0x4(%rax),%ebx
  sar    $0x1c,%edx
  punpckldq %xmm3,%xmm1
  sub    %r15d,%ebx
  shl    $0x12,%ebx
  or     %edx,%ebx
  mov    -0x74(%rax),%edx
  movups %xmm0,0x10(%rdi)
  mov    %ebx,0x58(%rdi)
  sub    %r15d,%edx
  movups %xmm5,0x20(%rdi)
  shl    $0xa,%edx
  movups %xmm4,0x30(%rdi)
  or     %r11d,%edx
  movups %xmm2,0x40(%rdi)
  movd   %edx,%xmm3
  movq   %xmm1,0x50(%rdi)
  punpckldq %xmm7,%xmm3
  movd   %esi,%xmm7
  punpckldq %xmm7,%xmm6
  punpcklqdq %xmm3,%xmm6
  movups %xmm6,(%rdi)
  pop    %rbx
  pop    %rbp
  mov    %rax,(%r9)
  pop    %r12
  addq   $0x2e0,(%r8)
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void packforblock46_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;
  uint64_t w20;
  uint64_t w21;
  uint64_t w22;
  w0 = (in[0] - base);
  w0 |= (in[1] - base) << 46;
  w1 = (in[1] - base) >> 18;
  w1 |= (in[2] - base) << 28;
  w2 = (in[2] - base) >> 36;
  w2 |= (in[3] - base) << 10;
  w2 |= (in[4] - base) << 56;
  w3 = (in[4] - base) >> 8;
  w3 |= (in[5] - base) << 38;
  w4 = (in[5] - base) >> 26;
  w4 |= (in[6] - base) << 20;
  w5 = (in[6] - base) >> 44;
  w5 |= (in[7] - base) << 2;
  w5 |= (in[8] - base) << 48;
  w6 = (in[8] - base) >> 16;
  w6 |= (in[9] - base) << 30;
  w7 = (in[9] - base) >> 34;
  w7 |= (in[10] - base) << 12;
  w7 |= (in[11] - base) << 58;
  w8 = (in[11] - base) >> 6;
  w8 |= (in[12] - base) << 40;
  w9 = (in[12] - base) >> 24;
  w9 |= (in[13] - base) << 22;
  w10 = (in[13] - base) >> 42;
  w10 |= (in[14] - base) << 4;
  w10 |= (in[15] - base) << 50;
  w11 = (in[15] - base) >> 14;
  w11 |= (in[16] - base) << 32;
  w12 = (in[16] - base) >> 32;
  w12 |= (in[17] - base) << 14;
  w12 |= (in[18] - base) << 60;
  w13 = (in[18] - base) >> 4;
  w13 |= (in[19] - base) << 42;
  w14 = (in[19] - base) >> 22;
  w14 |= (in[20] - base) << 24;
  w15 = (in[20] - base) >> 40;
  w15 |= (in[21] - base) << 6;
  w15 |= (in[22] - base) << 52;
  w16 = (in[22] - base) >> 12;
  w16 |= (in[23] - base) << 34;
  w17 = (in[23] - base) >> 30;
  w17 |= (in[24] - base) << 16;
  w17 |= (in[25] - base) << 62;
  w18 = (in[25] - base) >> 2;
  w18 |= (in[26] - base) << 44;
  w19 = (in[26] - base) >> 20;
  w19 |= (in[27] - base) << 26;
  w20 = (in[27] - base) >> 38;
  w20 |= (in[28] - base) << 8;
  w20 |= (in[29] - base) << 54;
  w21 = (in[29] - base) >> 10;
  w21 |= (in[30] - base) << 36;
  w22 = (in[30] - base) >> 28;
  w22 |= (in[31] - base) << 18;
  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;
  pw64[20] = w20;
  pw64[21] = w21;
  pw64[22] = w22;
  *pin += 32;
  *pw += 184;
}
```