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

```asm
<LeeDct>:
  endbr64
  push   %r14
  mov    %rdi,%r8
  mov    %rsi,%rcx
  lea    0x100(%rsi),%r9
  push   %r13
  mov    %rsi,%rdi
  push   %r12
  push   %rbp
  push   %rbx
  nopl   0x0(%rax)
L69:
  mov    0xc(%r8),%esi
  mov    0x10(%r8),%r14d
  mov    (%r8),%edx
  mov    0x4(%r8),%r10d
  mov    0x8(%r8),%r11d
  mov    0x1c(%r8),%eax
  add    %esi,%r14d
  mov    0x18(%r8),%ebp
  sub    0x10(%r8),%esi
  mov    0x14(%r8),%r13d
  movslq %esi,%rsi
  add    %edx,%eax
  sub    0x1c(%r8),%edx
  add    %r10d,%ebp
  lea    (%rsi,%rsi,4),%rsi
  sub    0x18(%r8),%r10d
  movslq %edx,%rdx
  add    %r11d,%r13d
  lea    (%rsi,%rsi,4),%rbx
  lea    (%rax,%r14,1),%esi
  sub    %r14d,%eax
  lea    0x0(%rbp,%r13,1),%r12d
  sub    %r13d,%ebp
  cltq
  sub    0x14(%r8),%r11d
  lea    (%rsi,%r12,1),%r13d
  sub    %r12d,%esi
  movslq %ebp,%rbp
  sar    $0x6,%rbx
  movslq %esi,%rsi
  imul   $0x3b2,%rax,%rax
  movslq %r10d,%r10
  movslq %r11d,%r11
  imul   $0x188,%rbp,%rbp
  movslq %r13d,%r13
  imul   $0x2d4,%rsi,%rsi
  sar    $0x9,%rax
  imul   $0x3ec,%rdx,%rdx
  sar    $0x9,%rbp
  imul   $0x353,%r10,%r10
  sar    $0x9,%rsi
  imul   $0x239,%r11,%r11
  mov    %esi,0x10(%rdi)
  lea    0x0(%rbp,%rax,1),%esi
  sub    %ebp,%eax
  sar    $0x9,%rdx
  cltq
  mov    %esi,0x8(%rdi)
  imul   $0x2d4,%r13,%r13
  sar    $0x9,%r10
  imul   $0x2d4,%rax,%rax
  sar    $0x9,%r11
  lea    (%r11,%r10,1),%ebp
  sar    $0x9,%r13
  sar    $0x9,%rax
  mov    %r13d,(%rdi)
  sub    %esi,%eax
  lea    (%rbx,%rdx,1),%esi
  sub    %ebx,%edx
  mov    %eax,0x18(%rdi)
  movslq %edx,%rax
  lea    (%rsi,%rbp,1),%edx
  imul   $0x3b2,%rax,%rax
  mov    %edx,0x4(%rdi)
  sar    $0x9,%rax
  sub    %r11d,%r10d
  sub    %ebp,%esi
  add    $0x20,%rdi
  movslq %r10d,%r10
  add    $0x20,%r8
  imul   $0x188,%r10,%r10
  sar    $0x9,%r10
  lea    (%r10,%rax,1),%r11d
  sub    %r10d,%eax
  mov    %r11d,%ebx
  cltq
  sub    %edx,%ebx
  imul   $0x2d4,%rax,%rax
  movslq %esi,%rdx
  imul   $0x2d4,%rdx,%rdx
  mov    %ebx,-0x14(%rdi)
  sar    $0x9,%rax
  sar    $0x9,%rdx
  mov    %edx,%esi
  sub    %ebx,%esi
  sub    %r11d,%ebx
  mov    %esi,-0xc(%rdi)
  mov    %ebx,%esi
  sub    %edx,%esi
  add    %esi,%eax
  mov    %eax,-0x4(%rdi)
  cmp    %r9,%rdi
  jne    L69
  lea    0x20(%rcx),%rdi
  nopl   0x0(%rax,%rax,1)
L95:
  mov    0x60(%rcx),%r8d
  mov    0x80(%rcx),%r12d
  mov    (%rcx),%eax
  mov    0x20(%rcx),%esi
  add    %r8d,%r12d
  mov    0x40(%rcx),%r9d
  mov    0xe0(%rcx),%edx
  mov    0xc0(%rcx),%ebp
  mov    0xa0(%rcx),%r11d
  sub    0x80(%rcx),%r8d
  add    %eax,%edx
  sub    0xe0(%rcx),%eax
  movslq %r8d,%r8
  add    %r9d,%r11d
  add    %esi,%ebp
  sub    0xa0(%rcx),%r9d
  lea    (%r8,%r8,4),%r8
  lea    0x0(%rbp,%r11,1),%ebx
  sub    %r11d,%ebp
  cltq
  lea    (%r8,%r8,4),%r10
  lea    (%rdx,%r12,1),%r8d
  sub    %r12d,%edx
  movslq %ebp,%rbp
  movslq %edx,%rdx
  lea    (%r8,%rbx,1),%r11d
  sub    %ebx,%r8d
  sub    0xc0(%rcx),%esi
  imul   $0x3b2,%rdx,%rdx
  movslq %r11d,%r11
  movslq %esi,%rsi
  movslq %r9d,%r9
  imul   $0x188,%rbp,%rbp
  movslq %r8d,%r8
  sar    $0x6,%r10
  imul   $0x2d4,%r11,%r11
  sar    $0x9,%rdx
  imul   $0x3ec,%rax,%rax
  sar    $0x9,%rbp
  imul   $0x353,%rsi,%rsi
  imul   $0x239,%r9,%r9
  lea    0x0(%rbp,%rdx,1),%ebx
  sub    %ebp,%edx
  sar    $0x9,%r11
  movslq %edx,%rdx
  imul   $0x2d4,%r8,%r8
  lea    0x8(%r11),%ebp
  sar    $0x9,%rax
  imul   $0x2d4,%rdx,%rdx
  sar    $0x9,%rsi
  sar    $0x4,%ebp
  sar    $0x9,%r9
  sar    $0x9,%r8
  sar    $0x9,%rdx
  sub    %ebx,%edx
  test   %r11d,%r11d
  jns    L80
  lea    0x7(%r11),%ebp
  sub    $0x8,%r11d
  cmovns %r11d,%ebp
  sar    $0x4,%ebp
L80:
  lea    0x8(%rbx),%r11d
  mov    %ebp,(%rcx)
  sar    $0x4,%r11d
  test   %ebx,%ebx
  jns    L3
  lea    0x7(%rbx),%r11d
  sub    $0x8,%ebx
  cmovns %ebx,%r11d
  sar    $0x4,%r11d
L3:
  mov    %r11d,0x40(%rcx)
  lea    0x8(%r8),%r11d
  sar    $0x4,%r11d
  test   %r8d,%r8d
  jns    L83
  lea    0x7(%r8),%r11d
  sub    $0x8,%r8d
  cmovns %r8d,%r11d
  sar    $0x4,%r11d
L83:
  lea    0x8(%rdx),%r8d
  mov    %r11d,0x80(%rcx)
  sar    $0x4,%r8d
  test   %edx,%edx
  jns    L73
  lea    0x7(%rdx),%r8d
  sub    $0x8,%edx
  cmovns %edx,%r8d
  sar    $0x4,%r8d
L73:
  lea    (%r10,%rax,1),%edx
  lea    (%r9,%rsi,1),%r11d
  sub    %r10d,%eax
  sub    %r9d,%esi
  cltq
  movslq %esi,%rsi
  lea    (%rdx,%r11,1),%r9d
  sub    %r11d,%edx
  imul   $0x3b2,%rax,%rax
  movslq %edx,%rdx
  mov    %r8d,0xc0(%rcx)
  imul   $0x188,%rsi,%rsi
  imul   $0x2d4,%rdx,%rdx
  sar    $0x9,%rax
  sar    $0x9,%rsi
  lea    (%rsi,%rax,1),%r10d
  sub    %esi,%eax
  sar    $0x9,%rdx
  mov    %r10d,%r8d
  cltq
  mov    %edx,%r11d
  sub    %r9d,%r8d
  imul   $0x2d4,%rax,%rax
  mov    %r8d,%esi
  sub    %r8d,%r11d
  sub    %r10d,%esi
  sub    %edx,%esi
  sar    $0x9,%rax
  lea    0x8(%r9),%edx
  add    %esi,%eax
  sar    $0x4,%edx
  test   %r9d,%r9d
  jns    L22
  lea    0x7(%r9),%edx
  sub    $0x8,%r9d
  cmovns %r9d,%edx
  sar    $0x4,%edx
L22:
  mov    %edx,0x20(%rcx)
  lea    0x8(%r8),%edx
  sar    $0x4,%edx
  test   %r8d,%r8d
  jns    L1
  lea    0x7(%r8),%edx
  sub    $0x8,%r8d
  cmovns %r8d,%edx
  sar    $0x4,%edx
L1:
  mov    %edx,0x60(%rcx)
  lea    0x8(%r11),%edx
  sar    $0x4,%edx
  test   %r11d,%r11d
  jns    L60
  lea    0x7(%r11),%edx
  sub    $0x8,%r11d
  cmovns %r11d,%edx
  sar    $0x4,%edx
L60:
  mov    %edx,0xa0(%rcx)
  lea    0x8(%rax),%edx
  sar    $0x4,%edx
  test   %eax,%eax
  jns    L45
  lea    0x7(%rax),%edx
  sub    $0x8,%eax
  cmovns %eax,%edx
  sar    $0x4,%edx
L45:
  mov    %edx,0xe0(%rcx)
  add    $0x4,%rcx
  cmp    %rdi,%rcx
  jne    L95
  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);
    ;
  }
}
```