user: 请将以下的汇编代码转换成C语言代码：

```asm
<displayBoard>:
  endbr64
  push   %r15
  lea    D68(%rip),%rdx
  lea    D41(%rip),%r11
  push   %r14
  mov    %esi,%r14d
  lea    D25(%rip),%rsi
  lea    D91(%rip),%r10
  push   %r13
  mov    %rdi,%r13
  lea    D12(%rip),%rdi
  lea    D93(%rip),%r9
  push   %r12
  lea    D72(%rip),%r8
  lea    D64(%rip),%rcx
  push   %rbp
  push   %rbx
  lea    D62(%rip),%rbx
  sub    $0xc8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0xb8(%rsp)
  xor    %eax,%eax
  cmp    $0x1,%r14d
  lea    D47(%rip),%rax
  mov    %rdi,0x38(%rsp)
  mov    %rax,0x58(%rsp)
  mov    %rax,0xa8(%rsp)
  sbb    %eax,%eax
  and    $0x4,%eax
  mov    %rsi,0x40(%rsp)
  add    $0xd,%eax
  cmp    $0x1,%r14d
  mov    %rdx,0x50(%rsp)
  sbb    %ebp,%ebp
  mov    %eax,0x8(%rsp)
  and    $0x4,%ebp
  mov    %rdi,0x88(%rsp)
  add    $0xc,%ebp
  cmp    $0x1,%r14d
  mov    %rbx,0x10(%rsp)
  sbb    %r15d,%r15d
  mov    %rsi,0x90(%rsp)
  and    $0x28,%r15d
  mov    %rdx,0xa0(%rsp)
  add    $0x78,%r15d
  cmp    $0x1,%r14d
  mov    %r11,0x18(%rsp)
  sbb    %r12d,%r12d
  mov    %r10,0x20(%rsp)
  and    $0x3c,%r12d
  mov    %r9,0x28(%rsp)
  add    $0x1,%r12d
  cmp    $0x1,%r14d
  mov    %r8,0x30(%rsp)
  sbb    %eax,%eax
  xor    %edx,%edx
  xor    %esi,%esi
  xor    %edi,%edi
  and    $0x96,%eax
  mov    %rcx,0x48(%rsp)
  add    $0x1,%eax
  mov    %rbx,0x60(%rsp)
  mov    %r11,0x68(%rsp)
  mov    %eax,%ebx
  mov    %r10,0x70(%rsp)
  mov    %r9,0x78(%rsp)
  mov    %r8,0x80(%rsp)
  mov    %rcx,0x98(%rsp)
  mov    %eax,0xc(%rsp)
  call   <colorRGB@plt>
  mov    %r15d,%ecx
  mov    %r15d,%edx
  mov    %r12d,%esi
  mov    %eax,%r8d
  mov    %ebx,%edi
  xor    %r15d,%r15d
  call   <drawBox@plt>
  jmp    L140
  nopl   0x0(%rax,%rax,1)
L151:
  cmp    $0x9,%r15
  jbe    L178
  mov    0xc(%rsp),%ebx
  lea    0x2(%rbp,%r12,1),%r12d
L178:
  test   %r14d,%r14d
  je     L51
L124:
  mov    0x0(%r13,%r15,4),%eax
  test   %eax,%eax
  je     L177
L113:
  cmp    $0x2,%eax
  je     L95
L103:
  cmp    $0x4,%eax
  je     L50
L148:
  cmp    $0x7,%eax
  jle    L40
  test   %r14d,%r14d
  jne    L139
  mov    $0xff,%edx
  xor    %esi,%esi
  xor    %edi,%edi
L176:
  call   <colorRGB@plt>
  mov    %ebp,%ecx
  mov    %ebp,%edx
  mov    %r12d,%esi
  mov    %eax,%r8d
  mov    %ebx,%edi
  call   <drawBox@plt>
L40:
  add    $0x1,%r15
  add    0x8(%rsp),%ebx
  cmp    $0x64,%r15
  je     L170
L140:
  imul   $0xcccccccd,%r15d,%eax
  mov    %r15d,%edx
  ror    %eax
  cmp    $0x19999999,%eax
  jbe    L151
L93:
  cmp    $0x9,%r15d
  jg     L124
  test   %r14d,%r14d
  jne    L124
  mov    0x60(%rsp,%r15,8),%rdx
  lea    -0xa(%r12),%esi
  lea    0x5(%rbx),%edi
  call   <drawText@plt>
  mov    0x0(%r13,%r15,4),%eax
  test   %eax,%eax
  jne    L113
L177:
  mov    $0xff,%edx
  xor    %esi,%esi
  xor    %edi,%edi
  call   <colorRGB@plt>
  mov    %ebp,%ecx
  mov    %ebp,%edx
  mov    %r12d,%esi
  mov    %eax,%r8d
  mov    %ebx,%edi
  call   <drawBox@plt>
  mov    0x0(%r13,%r15,4),%eax
  cmp    $0x2,%eax
  jne    L103
L95:
  xor    %edx,%edx
  mov    $0xff,%esi
  mov    $0xff,%edi
  call   <colorRGB@plt>
  mov    %ebp,%ecx
  mov    %ebp,%edx
  mov    %r12d,%esi
  mov    %eax,%r8d
  mov    %ebx,%edi
  call   <drawBox@plt>
  mov    0x0(%r13,%r15,4),%eax
  cmp    $0x4,%eax
  jne    L148
L50:
  xor    %edx,%edx
  xor    %esi,%esi
  mov    $0xff,%edi
  call   <colorRGB@plt>
  mov    %ebp,%ecx
  mov    %ebp,%edx
  mov    %r12d,%esi
  mov    %eax,%r8d
  mov    %ebx,%edi
  call   <drawBox@plt>
  mov    0x0(%r13,%r15,4),%eax
  jmp    L148
  nopl   (%rax)
L51:
  mov    $0xcccccccd,%eax
  lea    0xc(%r12),%esi
  lea    -0xa(%rbx),%edi
  imul   %rax,%rdx
  shr    $0x23,%rdx
  mov    0x10(%rsp,%rdx,8),%rdx
  call   <drawText@plt>
  jmp    L93
  nopl   0x0(%rax)
L139:
  mov    $0x80,%edx
  mov    $0x80,%esi
  mov    $0x80,%edi
  jmp    L176
L170:
  mov    0xb8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L141
  add    $0xc8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L141:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D68
data_type: string
name: disassemble_data
arguments: data_label: D41
data_type: string
name: disassemble_data
arguments: data_label: D25
data_type: string
name: disassemble_data
arguments: data_label: D91
data_type: string
name: disassemble_data
arguments: data_label: D12
data_type: string
name: disassemble_data
arguments: data_label: D93
data_type: string
name: disassemble_data
arguments: data_label: D72
data_type: string
name: disassemble_data
arguments: data_label: D64
data_type: string
name: disassemble_data
arguments: data_label: D62
data_type: string
name: disassemble_data
arguments: data_label: D47
data_type: string

tool: D68: 8

tool: D41: 1

tool: D25: 6

tool: D91: 2

tool: D12: 5

tool: D93: 3

tool: D72: 4

tool: D64: 7

tool: D62: 0

tool: D47: 9

assistant: ```c
void displayBoard(int board[], int yourBoard) {
  int x = 1;
  int y = 1;
  int dimension = 120;
  int top = 0;
  int left = 0;
  int textWidthSpace = 10;
  const char *rows[] = {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9"};
  const char *cols[] = {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9"};
  if (yourBoard) {
    x = left = 1;
    y = top = 1;
  } else {
    x = left = dimension + 3 * textWidthSpace + 1;
    y = top = dimension - 60 + 1;
    dimension = 160;
  }
  drawBox(x, y, dimension, dimension, colorRGB(0, 0, 0));
  int square = dimension / 10;
  int i = 0;
  for (i = 0; i < 100; ++i) {
    if (i % 10 == 0) {
      if (i > 9) {
        x = left;
        y += square + 2;
      }
      if (!yourBoard)
        drawText(x - textWidthSpace, y + textWidthSpace + textWidthSpace / 4, rows[i / 10]);
    }
    if (i <= 9 && !yourBoard) {
      drawText(x + textWidthSpace / 2, y - textWidthSpace, cols[i]);
    }
    if (board[i] == 0)
      drawBox(x, y, square, square, colorRGB(0, 0, 255));
    if (board[i] == 2)
      drawBox(x, y, square, square, colorRGB(255, 255, 0));
    if (board[i] == 4)
      drawBox(x, y, square, square, colorRGB(255, 0, 0));
    if (board[i] > 7 && yourBoard)
      drawBox(x, y, square, square, colorRGB(128, 128, 128));
    else if (board[i] > 7)
      drawBox(x, y, square, square, colorRGB(0, 0, 255));
    x += square + 1;
  }
}
```