user: 这段汇编代码用C语言表示是什么样的？

```asm
<fill_table_color>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %edi,-0x34(%rbp)
  mov    %rsi,-0x40(%rbp)
  mov    %rdx,-0x48(%rbp)
  mov    %rcx,-0x50(%rbp)
  mov    -0x34(%rbp),%eax
  shl    $0x8,%eax
  mov    %eax,%eax
  shl    $0x2,%rax
  add    %rax,-0x40(%rbp)
  movl   $0x0,-0x30(%rbp)
  jmp    L232
L39:
  mov    -0x30(%rbp),%eax
  shl    $0x7,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x18(%rbp)
  movl   $0x0,-0x24(%rbp)
  jmp    L265
L54:
  mov    -0x30(%rbp),%eax
  shl    $0xe,%eax
  movslq %eax,%rdx
  mov    -0x24(%rbp),%eax
  shl    $0xa,%eax
  cltq
  add    %rax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x30(%rbp),%eax
  shl    $0xc,%eax
  movslq %eax,%rdx
  mov    -0x24(%rbp),%eax
  shl    $0x8,%eax
  cltq
  add    %rax,%rdx
  mov    -0x50(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x8(%rbp)
  movl   $0x0,-0x2c(%rbp)
  jmp    L91
L69:
  movl   $0x0,-0x28(%rbp)
  jmp    L79
L87:
  cmpl   $0x0,-0x28(%rbp)
  jne    L259
  movl   $0x1,-0x20(%rbp)
  jmp    L208
L259:
  cmpl   $0x0,-0x28(%rbp)
  jle    L168
  cmpl   $0x2,-0x28(%rbp)
  jg     L168
  mov    -0x18(%rbp),%rax
  mov    (%rax),%eax
  shr    $0xf,%eax
  and    $0x7,%eax
  mov    %eax,-0x20(%rbp)
  jmp    L208
L168:
  cmpl   $0x2,-0x28(%rbp)
  jle    L61
  cmpl   $0x5,-0x28(%rbp)
  jg     L61
  mov    -0x18(%rbp),%rax
  mov    (%rax),%eax
  shr    $0xc,%eax
  and    $0x7,%eax
  mov    %eax,-0x20(%rbp)
  jmp    L208
L61:
  cmpl   $0x5,-0x28(%rbp)
  jle    L260
  cmpl   $0x9,-0x28(%rbp)
  jg     L260
  mov    -0x18(%rbp),%rax
  mov    (%rax),%eax
  shr    $0x9,%eax
  and    $0x7,%eax
  mov    %eax,-0x20(%rbp)
  jmp    L208
L260:
  cmpl   $0x9,-0x28(%rbp)
  jle    L170
  cmpl   $0xc,-0x28(%rbp)
  jg     L170
  mov    -0x18(%rbp),%rax
  mov    (%rax),%eax
  shr    $0x6,%eax
  and    $0x7,%eax
  mov    %eax,-0x20(%rbp)
  jmp    L208
L170:
  cmpl   $0xc,-0x28(%rbp)
  jle    L135
  cmpl   $0xe,-0x28(%rbp)
  jg     L135
  mov    -0x18(%rbp),%rax
  mov    (%rax),%eax
  shr    $0x3,%eax
  and    $0x7,%eax
  mov    %eax,-0x20(%rbp)
  jmp    L208
L135:
  mov    -0x18(%rbp),%rax
  mov    (%rax),%eax
  and    $0x7,%eax
  mov    %eax,-0x20(%rbp)
L208:
  cmpl   $0x0,-0x28(%rbp)
  jne    L258
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  movb   $0x8,(%rax)
  jmp    L5
L258:
  mov    -0x2c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x20(%rbp),%eax
  mov    %eax,%esi
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  sub    %esi,%ecx
  mov    %ecx,%edx
  mov    %dl,(%rax)
L5:
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x20(%rbp),%edx
  mov    %dl,(%rax)
  mov    -0x20(%rbp),%eax
  mov    $0x1,%edx
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    %edx,%eax
  mov    %eax,-0x1c(%rbp)
  mov    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x28(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  lea    -0x80(%rcx),%edx
  mov    %dl,(%rax)
  mov    -0x1c(%rbp),%eax
  add    $0x40,%eax
  mov    %eax,%edx
  mov    -0x28(%rbp),%eax
  cltq
  lea    0x10(%rax),%rcx
  mov    -0x10(%rbp),%rax
  add    %rcx,%rax
  add    %edx,%edx
  mov    %dl,(%rax)
  mov    -0x1c(%rbp),%eax
  mov    %eax,%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %eax,%edx
  mov    -0x28(%rbp),%eax
  cltq
  lea    0x20(%rax),%rcx
  mov    -0x10(%rbp),%rax
  add    %rcx,%rax
  add    $0xffffff80,%edx
  mov    %dl,(%rax)
  mov    -0x1c(%rbp),%eax
  add    $0x20,%eax
  mov    %eax,%edx
  mov    -0x28(%rbp),%eax
  cltq
  lea    0x30(%rax),%rcx
  mov    -0x10(%rbp),%rax
  add    %rcx,%rax
  shl    $0x2,%edx
  mov    %dl,(%rax)
  mov    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x28(%rbp),%eax
  cltq
  lea    0x40(%rax),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    $0xffffff80,%edx
  sub    %ecx,%edx
  mov    %dl,(%rax)
  mov    -0x1c(%rbp),%eax
  sub    $0x40,%eax
  mov    %eax,%ecx
  mov    -0x28(%rbp),%eax
  cltq
  lea    0x50(%rax),%rdx
  mov    -0x10(%rbp),%rax
  add    %rax,%rdx
  mov    $0x0,%eax
  sub    %ecx,%eax
  add    %eax,%eax
  mov    %al,(%rdx)
  mov    -0x1c(%rbp),%eax
  mov    %eax,%edx
  shl    $0x2,%eax
  sub    %eax,%edx
  mov    -0x28(%rbp),%eax
  cltq
  lea    0x60(%rax),%rcx
  mov    -0x10(%rbp),%rax
  add    %rcx,%rax
  add    $0xffffff80,%edx
  mov    %dl,(%rax)
  mov    -0x1c(%rbp),%eax
  sub    $0x20,%eax
  mov    %eax,%ecx
  mov    -0x28(%rbp),%eax
  cltq
  lea    0x70(%rax),%rdx
  mov    -0x10(%rbp),%rax
  add    %rax,%rdx
  mov    $0x0,%eax
  sub    %ecx,%eax
  shl    $0x2,%eax
  mov    %al,(%rdx)
  addl   $0x1,-0x28(%rbp)
L79:
  cmpl   $0xf,-0x28(%rbp)
  jle    L87
  addl   $0x1,-0x2c(%rbp)
  addq   $0x4,-0x18(%rbp)
  subq   $0xffffffffffffff80,-0x10(%rbp)
L91:
  cmpl   $0x7,-0x2c(%rbp)
  jle    L69
  addl   $0x1,-0x24(%rbp)
L265:
  cmpl   $0xf,-0x24(%rbp)
  jle    L54
  addl   $0x1,-0x30(%rbp)
L232:
  cmpl   $0x1,-0x30(%rbp)
  jle    L39
  nop
  nop
  pop    %rbp
  ret
```

assistant: ```c
void fill_table_color(unsigned int version, const unsigned int *romtable, unsigned char *p0004, unsigned char *p8004) {
  const unsigned int *table;
  unsigned char *p0, *p8;
  int i, j, k;
  int dl, bit, pw;
  romtable += version * 256;
  for (i = 0; i < 2; i++) {
    table = romtable + i * 128;
    for (dl = 0; dl < 16; dl++) {
      p0 = p0004 + (i << 14) + (dl << 10);
      p8 = p8004 + (i << 12) + (dl << 8);
      for (j = 0; j < 8; j++, table++, p0 += 128) {
        for (k = 0; k < 16; k++) {
          if (k == 0)
            bit = 1;
          else if (k >= 1 && k < 3)
            bit = (table[0] >> 15) & 7;
          else if (k >= 3 && k < 6)
            bit = (table[0] >> 12) & 7;
          else if (k >= 6 && k < 10)
            bit = (table[0] >> 9) & 7;
          else if (k >= 10 && k < 13)
            bit = (table[0] >> 6) & 7;
          else if (k >= 13 && k < 15)
            bit = (table[0] >> 3) & 7;
          else
            bit = (table[0]) & 7;
          if (k == 0)
            *(unsigned char *)p8++ = 8;
          else
            *(unsigned char *)p8++ = j - bit;
          *(unsigned char *)p8++ = bit;
          pw = 1 << bit;
          p0[k + 0x00] = (1 * pw) + 0x80;
          p0[k + 0x10] = (2 * pw) + 0x80;
          p0[k + 0x20] = (3 * pw) + 0x80;
          p0[k + 0x30] = (4 * pw) + 0x80;
          p0[k + 0x40] = (-pw) + 0x80;
          p0[k + 0x50] = (2 * -pw) + 0x80;
          p0[k + 0x60] = (3 * -pw) + 0x80;
          p0[k + 0x70] = (4 * -pw) + 0x80;
        }
      }
    }
  }
}
```