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

```asm
<LeeDct>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rsi,%rcx
  lea    0x100(%rdi),%r9
  mov    %rsi,%r8
L107:
  mov    (%rdi),%edx
  mov    %edx,%eax
  add    0x1c(%rdi),%eax
  sub    0x1c(%rdi),%edx
  movslq %edx,%rdx
  imul   $0x3ec,%rdx,%rdx
  sar    $0x9,%rdx
  mov    0x4(%rdi),%r10d
  mov    %r10d,%ebp
  add    0x18(%rdi),%ebp
  sub    0x18(%rdi),%r10d
  movslq %r10d,%r10
  imul   $0x353,%r10,%r10
  sar    $0x9,%r10
  mov    0x8(%rdi),%r11d
  mov    %r11d,%r13d
  add    0x14(%rdi),%r13d
  sub    0x14(%rdi),%r11d
  movslq %r11d,%r11
  imul   $0x239,%r11,%r11
  sar    $0x9,%r11
  mov    0xc(%rdi),%esi
  mov    %esi,%r14d
  add    0x10(%rdi),%r14d
  sub    0x10(%rdi),%esi
  movslq %esi,%rsi
  lea    (%rsi,%rsi,4),%rsi
  lea    (%rsi,%rsi,4),%rbx
  sar    $0x6,%rbx
  lea    (%rax,%r14,1),%esi
  lea    0x0(%rbp,%r13,1),%r12d
  sub    %r14d,%eax
  cltq
  imul   $0x3b2,%rax,%rax
  sar    $0x9,%rax
  sub    %r13d,%ebp
  movslq %ebp,%rbp
  imul   $0x188,%rbp,%rbp
  sar    $0x9,%rbp
  lea    (%rsi,%r12,1),%r13d
  movslq %r13d,%r13
  imul   $0x2d4,%r13,%r13
  sar    $0x9,%r13
  mov    %r13d,(%r8)
  sub    %r12d,%esi
  movslq %esi,%rsi
  imul   $0x2d4,%rsi,%rsi
  sar    $0x9,%rsi
  mov    %esi,0x10(%r8)
  lea    0x0(%rbp,%rax,1),%esi
  mov    %esi,0x8(%r8)
  sub    %ebp,%eax
  cltq
  imul   $0x2d4,%rax,%rax
  sar    $0x9,%rax
  sub    %esi,%eax
  mov    %eax,0x18(%r8)
  lea    (%rbx,%rdx,1),%esi
  lea    (%r11,%r10,1),%ebp
  sub    %ebx,%edx
  movslq %edx,%rax
  imul   $0x3b2,%rax,%rax
  sar    $0x9,%rax
  sub    %r11d,%r10d
  movslq %r10d,%r10
  imul   $0x188,%r10,%r10
  sar    $0x9,%r10
  lea    (%rsi,%rbp,1),%edx
  mov    %edx,0x4(%r8)
  lea    (%r10,%rax,1),%r11d
  mov    %r11d,%ebx
  sub    %edx,%ebx
  mov    %ebx,0xc(%r8)
  sub    %ebp,%esi
  movslq %esi,%rdx
  imul   $0x2d4,%rdx,%rdx
  sar    $0x9,%rdx
  mov    %edx,%esi
  sub    %ebx,%esi
  mov    %esi,0x14(%r8)
  sub    %r10d,%eax
  cltq
  imul   $0x2d4,%rax,%rax
  sar    $0x9,%rax
  sub    %r11d,%ebx
  mov    %ebx,%esi
  sub    %edx,%esi
  add    %esi,%eax
  mov    %eax,0x1c(%r8)
  add    $0x20,%r8
  add    $0x20,%rdi
  cmp    %r9,%rdi
  jne    L107
  lea    0x20(%rcx),%rdi
  jmp    L63
L12:
  lea    0x17(%r11),%ebp
  add    $0x8,%r11d
  cmovs  %ebp,%r11d
  sar    $0x4,%r11d
L182:
  mov    %r11d,(%rcx)
  test   %ebx,%ebx
  js     L94
  lea    0x17(%rbx),%r11d
  add    $0x8,%ebx
  cmovs  %r11d,%ebx
  sar    $0x4,%ebx
L6:
  mov    %ebx,0x40(%rcx)
  test   %r8d,%r8d
  js     L161
  lea    0x17(%r8),%r11d
  add    $0x8,%r8d
  cmovs  %r11d,%r8d
  sar    $0x4,%r8d
L95:
  mov    %r8d,0x80(%rcx)
  test   %edx,%edx
  js     L129
  lea    0x17(%rdx),%r8d
  add    $0x8,%edx
  cmovs  %r8d,%edx
  sar    $0x4,%edx
L23:
  mov    %edx,0xc0(%rcx)
  lea    (%r10,%rax,1),%edx
  lea    (%r9,%rsi,1),%r11d
  sub    %r10d,%eax
  cltq
  imul   $0x3b2,%rax,%rax
  sar    $0x9,%rax
  sub    %r9d,%esi
  movslq %esi,%rsi
  imul   $0x188,%rsi,%rsi
  sar    $0x9,%rsi
  lea    (%rdx,%r11,1),%r9d
  lea    (%rsi,%rax,1),%r10d
  mov    %r10d,%r8d
  sub    %r9d,%r8d
  sub    %r11d,%edx
  movslq %edx,%rdx
  imul   $0x2d4,%rdx,%rdx
  sar    $0x9,%rdx
  mov    %edx,%r11d
  sub    %r8d,%r11d
  sub    %esi,%eax
  cltq
  imul   $0x2d4,%rax,%rax
  sar    $0x9,%rax
  mov    %r8d,%esi
  sub    %r10d,%esi
  sub    %edx,%esi
  add    %esi,%eax
  test   %r9d,%r9d
  js     L92
  lea    0x17(%r9),%edx
  add    $0x8,%r9d
  cmovs  %edx,%r9d
  sar    $0x4,%r9d
L181:
  mov    %r9d,0x20(%rcx)
  test   %r8d,%r8d
  js     L177
  lea    0x17(%r8),%edx
  add    $0x8,%r8d
  cmovs  %edx,%r8d
  sar    $0x4,%r8d
L64:
  mov    %r8d,0x60(%rcx)
  test   %r11d,%r11d
  js     L188
  lea    0x17(%r11),%esi
  mov    %r11d,%edx
  add    $0x8,%edx
  cmovs  %esi,%edx
  sar    $0x4,%edx
L153:
  mov    %edx,0xa0(%rcx)
  test   %eax,%eax
  js     L131
  lea    0x17(%rax),%edx
  add    $0x8,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
L112:
  mov    %eax,0xe0(%rcx)
  add    $0x4,%rcx
  cmp    %rdi,%rcx
  je     L118
L63:
  mov    (%rcx),%eax
  mov    %eax,%edx
  add    0xe0(%rcx),%edx
  sub    0xe0(%rcx),%eax
  cltq
  imul   $0x3ec,%rax,%rax
  sar    $0x9,%rax
  mov    0x20(%rcx),%esi
  mov    %esi,%ebp
  add    0xc0(%rcx),%ebp
  sub    0xc0(%rcx),%esi
  movslq %esi,%rsi
  imul   $0x353,%rsi,%rsi
  sar    $0x9,%rsi
  mov    0x40(%rcx),%r9d
  mov    %r9d,%r11d
  add    0xa0(%rcx),%r11d
  sub    0xa0(%rcx),%r9d
  movslq %r9d,%r9
  imul   $0x239,%r9,%r9
  sar    $0x9,%r9
  mov    0x60(%rcx),%r8d
  mov    %r8d,%r12d
  add    0x80(%rcx),%r12d
  sub    0x80(%rcx),%r8d
  movslq %r8d,%r8
  lea    (%r8,%r8,4),%r8
  lea    (%r8,%r8,4),%r10
  sar    $0x6,%r10
  lea    (%rdx,%r12,1),%r8d
  lea    0x0(%rbp,%r11,1),%ebx
  sub    %r12d,%edx
  movslq %edx,%rdx
  imul   $0x3b2,%rdx,%rdx
  sar    $0x9,%rdx
  sub    %r11d,%ebp
  movslq %ebp,%rbp
  imul   $0x188,%rbp,%rbp
  sar    $0x9,%rbp
  lea    (%r8,%rbx,1),%r11d
  movslq %r11d,%r11
  imul   $0x2d4,%r11,%r11
  sar    $0x9,%r11
  sub    %ebx,%r8d
  movslq %r8d,%r8
  imul   $0x2d4,%r8,%r8
  sar    $0x9,%r8
  lea    0x0(%rbp,%rdx,1),%ebx
  sub    %ebp,%edx
  movslq %edx,%rdx
  imul   $0x2d4,%rdx,%rdx
  sar    $0x9,%rdx
  sub    %ebx,%edx
  test   %r11d,%r11d
  jns    L12
  lea    0x7(%r11),%ebp
  sub    $0x8,%r11d
  cmovs  %ebp,%r11d
  sar    $0x4,%r11d
  jmp    L182
L94:
  lea    0x7(%rbx),%r11d
  sub    $0x8,%ebx
  cmovs  %r11d,%ebx
  sar    $0x4,%ebx
  jmp    L6
L161:
  lea    0x7(%r8),%r11d
  sub    $0x8,%r8d
  cmovs  %r11d,%r8d
  sar    $0x4,%r8d
  jmp    L95
L129:
  lea    0x7(%rdx),%r8d
  sub    $0x8,%edx
  cmovs  %r8d,%edx
  sar    $0x4,%edx
  jmp    L23
L92:
  lea    0x7(%r9),%edx
  sub    $0x8,%r9d
  cmovs  %edx,%r9d
  sar    $0x4,%r9d
  jmp    L181
L177:
  lea    0x7(%r8),%edx
  sub    $0x8,%r8d
  cmovs  %edx,%r8d
  sar    $0x4,%r8d
  jmp    L64
L188:
  lea    0x7(%r11),%esi
  mov    %r11d,%edx
  sub    $0x8,%edx
  cmovs  %esi,%edx
  sar    $0x4,%edx
  jmp    L153
L131:
  lea    0x7(%rax),%edx
  sub    $0x8,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  jmp    L112
L118:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
```

assistant: ```c
void LeeDct(x, y) int *x;
int *y;
{
  register int rx0, rx1, rx2, rx3, rx4, rx5, rx6, rx7;
  register int sx0, sx1, sx2, sx3;
  register int hold, c2;
  register int *iptr, *jptr;
  for (jptr = y, iptr = x; iptr < x + 64; jptr += 8, iptr += 8) {
    rx0 = iptr[0] + iptr[7];
    sx0 = (((1004L * (iptr[0] - iptr[7]))) >> (9));
    rx1 = iptr[1] + iptr[6];
    sx1 = (((851L * (iptr[1] - iptr[6]))) >> (9));
    rx3 = iptr[2] + iptr[5];
    sx3 = (((569L * (iptr[2] - iptr[5]))) >> (9));
    rx2 = iptr[3] + iptr[4];
    sx2 = (((200L * (iptr[3] - iptr[4]))) >> (9));
    rx4 = rx0 + rx2;
    rx5 = rx1 + rx3;
    rx6 = (((946L * (rx0 - rx2))) >> (9));
    rx7 = (((392L * (rx1 - rx3))) >> (9));
    jptr[0] = (((724L * (rx4 + rx5))) >> (9));
    jptr[4] = (((724L * (rx4 - rx5))) >> (9));
    jptr[2] = hold = rx6 + rx7;
    jptr[6] = (((724L * (rx6 - rx7))) >> (9)) - hold;
    rx4 = sx0 + sx2;
    rx5 = sx1 + sx3;
    rx6 = (((946L * (sx0 - sx2))) >> (9));
    rx7 = (((392L * (sx1 - sx3))) >> (9));
    jptr[1] = hold = rx4 + rx5;
    c2 = rx6 + rx7;
    jptr[3] = hold = c2 - hold;
    jptr[5] = hold = (((724L * (rx4 - rx5))) >> (9)) - hold;
    jptr[7] = (((724L * (rx6 - rx7))) >> (9)) - c2 - hold;
  }
  for (jptr = y, iptr = y; iptr < y + 8; jptr++, iptr++) {
    rx0 = iptr[0] + iptr[56];
    sx0 = (((1004L * (iptr[0] - iptr[56]))) >> (9));
    rx1 = iptr[8] + iptr[48];
    sx1 = (((851L * (iptr[8] - iptr[48]))) >> (9));
    rx3 = iptr[16] + iptr[40];
    sx3 = (((569L * (iptr[16] - iptr[40]))) >> (9));
    rx2 = iptr[24] + iptr[32];
    sx2 = (((200L * (iptr[24] - iptr[32]))) >> (9));
    rx4 = rx0 + rx2;
    rx5 = rx1 + rx3;
    rx6 = (((946L * (rx0 - rx2))) >> (9));
    rx7 = (((392L * (rx1 - rx3))) >> (9));
    rx0 = (((724L * (rx4 + rx5))) >> (9));
    rx2 = (((724L * (rx4 - rx5))) >> (9));
    rx1 = rx6 + rx7;
    rx3 = (((724L * (rx6 - rx7))) >> (9)) - rx1;
    jptr[0] = (((rx0 < 0) ? (rx0 - 8) : (rx0 + 8)) / 16);
    ;
    jptr[16] = (((rx1 < 0) ? (rx1 - 8) : (rx1 + 8)) / 16);
    ;
    jptr[32] = (((rx2 < 0) ? (rx2 - 8) : (rx2 + 8)) / 16);
    ;
    jptr[48] = (((rx3 < 0) ? (rx3 - 8) : (rx3 + 8)) / 16);
    ;
    rx4 = sx0 + sx2;
    rx5 = sx1 + sx3;
    rx6 = (((946L * (sx0 - sx2))) >> (9));
    rx7 = (((392L * (sx1 - sx3))) >> (9));
    rx0 = rx4 + rx5;
    c2 = rx6 + rx7;
    rx1 = c2 - rx0;
    rx2 = (((724L * (rx4 - rx5))) >> (9)) - rx1;
    rx3 = (((724L * (rx6 - rx7))) >> (9)) - c2 - rx2;
    jptr[8] = (((rx0 < 0) ? (rx0 - 8) : (rx0 + 8)) / 16);
    ;
    jptr[24] = (((rx1 < 0) ? (rx1 - 8) : (rx1 + 8)) / 16);
    ;
    jptr[40] = (((rx2 < 0) ? (rx2 - 8) : (rx2 + 8)) / 16);
    ;
    jptr[56] = (((rx3 < 0) ? (rx3 - 8) : (rx3 + 8)) / 16);
    ;
  }
}
```