user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<LeeDct>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  mov    %rdi,-0x30(%rbp)
  mov    %rsi,-0x38(%rbp)
  mov    -0x38(%rbp),%r12
  mov    -0x30(%rbp),%rbx
  jmp    L177
L148:
  mov    (%rbx),%edx
  lea    0x1c(%rbx),%rax
  mov    (%rax),%eax
  lea    (%rdx,%rax,1),%r14d
  mov    (%rbx),%edx
  lea    0x1c(%rbx),%rax
  mov    (%rax),%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  cltq
  imul   $0x3ec,%rax,%rax
  sar    $0x9,%rax
  mov    %eax,%esi
  lea    0x4(%rbx),%rax
  mov    (%rax),%edx
  lea    0x18(%rbx),%rax
  mov    (%rax),%eax
  lea    (%rdx,%rax,1),%r13d
  lea    0x4(%rbx),%rax
  mov    (%rax),%edx
  lea    0x18(%rbx),%rax
  mov    (%rax),%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  cltq
  imul   $0x353,%rax,%rax
  sar    $0x9,%rax
  mov    %eax,%r8d
  lea    0x8(%rbx),%rax
  mov    (%rax),%edx
  lea    0x14(%rbx),%rax
  mov    (%rax),%eax
  lea    (%rdx,%rax,1),%r9d
  lea    0x8(%rbx),%rax
  mov    (%rax),%edx
  lea    0x14(%rbx),%rax
  mov    (%rax),%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  cltq
  imul   $0x239,%rax,%rax
  sar    $0x9,%rax
  mov    %eax,%r11d
  lea    0xc(%rbx),%rax
  mov    (%rax),%edx
  lea    0x10(%rbx),%rax
  mov    (%rax),%eax
  lea    (%rdx,%rax,1),%r15d
  lea    0xc(%rbx),%rax
  mov    (%rax),%edx
  lea    0x10(%rbx),%rax
  mov    (%rax),%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  shl    $0x3,%rax
  sar    $0x9,%rax
  mov    %eax,%r10d
  lea    (%r14,%r15,1),%edi
  lea    0x0(%r13,%r9,1),%edx
  mov    %r14d,%eax
  sub    %r15d,%eax
  cltq
  imul   $0x3b2,%rax,%rax
  sar    $0x9,%rax
  mov    %eax,%ecx
  mov    %r13d,%eax
  sub    %r9d,%eax
  cltq
  imul   $0x188,%rax,%rax
  sar    $0x9,%rax
  mov    %eax,%r9d
  mov    %edi,%eax
  add    %edx,%eax
  cltq
  imul   $0x2d4,%rax,%rax
  sar    $0x9,%rax
  mov    %eax,(%r12)
  sub    %edx,%edi
  mov    %edi,%eax
  cltq
  imul   $0x2d4,%rax,%rax
  sar    $0x9,%rax
  mov    %rax,%rdx
  lea    0x10(%r12),%rax
  mov    %edx,(%rax)
  mov    %ecx,%r13d
  add    %r9d,%r13d
  lea    0x8(%r12),%rax
  mov    %r13d,(%rax)
  sub    %r9d,%ecx
  mov    %ecx,%eax
  cltq
  imul   $0x2d4,%rax,%rax
  sar    $0x9,%rax
  mov    %r13d,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  lea    0x18(%r12),%rax
  mov    %edx,(%rax)
  mov    %esi,%edi
  add    %r10d,%edi
  mov    %r8d,%ecx
  add    %r11d,%ecx
  sub    %r10d,%esi
  mov    %esi,%eax
  cltq
  imul   $0x3b2,%rax,%rax
  sar    $0x9,%rax
  mov    %eax,%esi
  sub    %r11d,%r8d
  mov    %r8d,%eax
  cltq
  imul   $0x188,%rax,%rax
  sar    $0x9,%rax
  mov    %eax,%r10d
  mov    %edi,%r13d
  mov    %ecx,%r8d
  add    %r8d,%r13d
  lea    0x4(%r12),%rax
  mov    %r13d,(%rax)
  mov    %esi,%ecx
  add    %r10d,%ecx
  mov    %ecx,%eax
  sub    %r13d,%eax
  mov    %eax,%r13d
  lea    0xc(%r12),%rax
  mov    %r13d,(%rax)
  sub    %r8d,%edi
  mov    %edi,%eax
  cltq
  imul   $0x2d4,%rax,%rax
  sar    $0x9,%rax
  mov    %r13d,%edx
  sub    %edx,%eax
  mov    %eax,%r13d
  lea    0x14(%r12),%rax
  mov    %r13d,(%rax)
  mov    %esi,%eax
  sub    %r10d,%eax
  cltq
  imul   $0x2d4,%rax,%rax
  sar    $0x9,%rax
  mov    %ecx,%edx
  sub    %edx,%eax
  mov    %r13d,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  lea    0x1c(%r12),%rax
  mov    %edx,(%rax)
  add    $0x20,%r12
  add    $0x20,%rbx
L177:
  mov    -0x30(%rbp),%rax
  add    $0x100,%rax
  cmp    %rax,%rbx
  jb     L148
  mov    -0x38(%rbp),%r12
  mov    -0x38(%rbp),%rbx
  jmp    L121
L66:
  mov    (%rbx),%edx
  lea    0xe0(%rbx),%rax
  mov    (%rax),%eax
  lea    (%rdx,%rax,1),%r14d
  mov    (%rbx),%edx
  lea    0xe0(%rbx),%rax
  mov    (%rax),%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  cltq
  imul   $0x3ec,%rax,%rax
  sar    $0x9,%rax
  mov    %eax,%r11d
  lea    0x20(%rbx),%rax
  mov    (%rax),%edx
  lea    0xc0(%rbx),%rax
  mov    (%rax),%eax
  lea    (%rdx,%rax,1),%r13d
  lea    0x20(%rbx),%rax
  mov    (%rax),%edx
  lea    0xc0(%rbx),%rax
  mov    (%rax),%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  cltq
  imul   $0x353,%rax,%rax
  sar    $0x9,%rax
  mov    %eax,%r8d
  lea    0x40(%rbx),%rax
  mov    (%rax),%edx
  lea    0xa0(%rbx),%rax
  mov    (%rax),%eax
  lea    (%rdx,%rax,1),%edi
  lea    0x40(%rbx),%rax
  mov    (%rax),%edx
  lea    0xa0(%rbx),%rax
  mov    (%rax),%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  cltq
  imul   $0x239,%rax,%rax
  sar    $0x9,%rax
  mov    %eax,%r10d
  lea    0x60(%rbx),%rax
  mov    (%rax),%edx
  lea    0x80(%rbx),%rax
  mov    (%rax),%eax
  lea    (%rdx,%rax,1),%r15d
  lea    0x60(%rbx),%rax
  mov    (%rax),%edx
  lea    0x80(%rbx),%rax
  mov    (%rax),%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  shl    $0x3,%rax
  sar    $0x9,%rax
  mov    %eax,%r9d
  lea    (%r14,%r15,1),%esi
  mov    %edi,%ecx
  lea    0x0(%r13,%rcx,1),%edx
  mov    %r14d,%eax
  sub    %r15d,%eax
  cltq
  imul   $0x3b2,%rax,%rax
  sar    $0x9,%rax
  mov    %eax,%edi
  mov    %r13d,%eax
  sub    %ecx,%eax
  cltq
  imul   $0x188,%rax,%rax
  sar    $0x9,%rax
  mov    %eax,%ecx
  mov    %esi,%eax
  add    %edx,%eax
  cltq
  imul   $0x2d4,%rax,%rax
  sar    $0x9,%rax
  mov    %eax,%r14d
  sub    %edx,%esi
  mov    %esi,%eax
  cltq
  imul   $0x2d4,%rax,%rax
  sar    $0x9,%rax
  mov    %eax,%r15d
  mov    %edi,%r13d
  add    %ecx,%r13d
  sub    %ecx,%edi
  mov    %edi,%eax
  cltq
  imul   $0x2d4,%rax,%rax
  sar    $0x9,%rax
  mov    %r13d,%edx
  sub    %edx,%eax
  mov    %eax,%esi
  test   %r14d,%r14d
  jns    L57
  lea    -0x8(%r14),%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  jmp    L6
L57:
  lea    0x8(%r14),%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
L6:
  mov    %eax,(%r12)
  test   %r13d,%r13d
  jns    L161
  lea    -0x8(%r13),%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%edx
  jmp    L10
L161:
  lea    0x8(%r13),%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%edx
L10:
  lea    0x40(%r12),%rax
  mov    %edx,(%rax)
  test   %r15d,%r15d
  jns    L150
  lea    -0x8(%r15),%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%edx
  jmp    L97
L150:
  lea    0x8(%r15),%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%edx
L97:
  lea    0x80(%r12),%rax
  mov    %edx,(%rax)
  mov    %esi,%eax
  test   %eax,%eax
  jns    L75
  sub    $0x8,%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%edx
  jmp    L50
L75:
  mov    %esi,%eax
  add    $0x8,%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%edx
L50:
  lea    0xc0(%r12),%rax
  mov    %edx,(%rax)
  mov    %r11d,%eax
  mov    %eax,%esi
  mov    %r9d,%ecx
  add    %ecx,%esi
  mov    %r8d,%edx
  mov    %edx,%edi
  add    %r10d,%edi
  sub    %ecx,%eax
  cltq
  imul   $0x3b2,%rax,%rax
  sar    $0x9,%rax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %r10d,%eax
  cltq
  imul   $0x188,%rax,%rax
  sar    $0x9,%rax
  mov    %eax,%r11d
  mov    %esi,%r14d
  mov    %edi,%eax
  add    %eax,%r14d
  mov    %ecx,%edi
  add    %r11d,%edi
  mov    %edi,%r13d
  sub    %r14d,%r13d
  sub    %eax,%esi
  mov    %esi,%eax
  cltq
  imul   $0x2d4,%rax,%rax
  sar    $0x9,%rax
  mov    %r13d,%edx
  sub    %edx,%eax
  mov    %eax,%r15d
  mov    %ecx,%eax
  sub    %r11d,%eax
  cltq
  imul   $0x2d4,%rax,%rax
  sar    $0x9,%rax
  mov    %edi,%edx
  sub    %edx,%eax
  mov    %r15d,%edx
  sub    %edx,%eax
  mov    %eax,%esi
  test   %r14d,%r14d
  jns    L8
  lea    -0x8(%r14),%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%edx
  jmp    L114
L8:
  lea    0x8(%r14),%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%edx
L114:
  lea    0x20(%r12),%rax
  mov    %edx,(%rax)
  test   %r13d,%r13d
  jns    L16
  lea    -0x8(%r13),%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%edx
  jmp    L73
L16:
  lea    0x8(%r13),%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%edx
L73:
  lea    0x60(%r12),%rax
  mov    %edx,(%rax)
  test   %r15d,%r15d
  jns    L26
  lea    -0x8(%r15),%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%edx
  jmp    L46
L26:
  lea    0x8(%r15),%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%edx
L46:
  lea    0xa0(%r12),%rax
  mov    %edx,(%rax)
  mov    %esi,%eax
  test   %eax,%eax
  jns    L24
  sub    $0x8,%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%edx
  jmp    L55
L24:
  mov    %esi,%eax
  add    $0x8,%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,%edx
L55:
  lea    0xe0(%r12),%rax
  mov    %edx,(%rax)
  add    $0x4,%r12
  add    $0x4,%rbx
L121:
  mov    -0x38(%rbp),%rax
  add    $0x20,%rax
  cmp    %rax,%rbx
  jb     L66
  nop
  nop
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  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);
    ;
  }
}
```