user: Please show me the C implementation that matches the assembly code listed below:

```asm
<displayBoard>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xe0,%rsp
  mov    %rdi,-0xd8(%rbp)
  mov    %esi,-0xdc(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x1,-0xd0(%rbp)
  movl   $0x1,-0xcc(%rbp)
  movl   $0x78,-0xc8(%rbp)
  movl   $0x0,-0xbc(%rbp)
  movl   $0x0,-0xc4(%rbp)
  movl   $0xa,-0xb8(%rbp)
  lea    D169(%rip),%rax
  mov    %rax,-0xb0(%rbp)
  lea    D142(%rip),%rax
  mov    %rax,-0xa8(%rbp)
  lea    D160(%rip),%rax
  mov    %rax,-0xa0(%rbp)
  lea    D55(%rip),%rax
  mov    %rax,-0x98(%rbp)
  lea    D176(%rip),%rax
  mov    %rax,-0x90(%rbp)
  lea    D100(%rip),%rax
  mov    %rax,-0x88(%rbp)
  lea    D13(%rip),%rax
  mov    %rax,-0x80(%rbp)
  lea    D101(%rip),%rax
  mov    %rax,-0x78(%rbp)
  lea    D184(%rip),%rax
  mov    %rax,-0x70(%rbp)
  lea    D82(%rip),%rax
  mov    %rax,-0x68(%rbp)
  lea    D169(%rip),%rax
  mov    %rax,-0x60(%rbp)
  lea    D142(%rip),%rax
  mov    %rax,-0x58(%rbp)
  lea    D160(%rip),%rax
  mov    %rax,-0x50(%rbp)
  lea    D55(%rip),%rax
  mov    %rax,-0x48(%rbp)
  lea    D176(%rip),%rax
  mov    %rax,-0x40(%rbp)
  lea    D100(%rip),%rax
  mov    %rax,-0x38(%rbp)
  lea    D13(%rip),%rax
  mov    %rax,-0x30(%rbp)
  lea    D101(%rip),%rax
  mov    %rax,-0x28(%rbp)
  lea    D184(%rip),%rax
  mov    %rax,-0x20(%rbp)
  lea    D82(%rip),%rax
  mov    %rax,-0x18(%rbp)
  cmpl   $0x0,-0xdc(%rbp)
  je     L53
  movl   $0x1,-0xc4(%rbp)
  mov    -0xc4(%rbp),%eax
  mov    %eax,-0xd0(%rbp)
  movl   $0x1,-0xbc(%rbp)
  mov    -0xbc(%rbp),%eax
  mov    %eax,-0xcc(%rbp)
  jmp    L119
L53:
  mov    -0xb8(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %eax,%edx
  mov    -0xc8(%rbp),%eax
  add    %edx,%eax
  add    $0x1,%eax
  mov    %eax,-0xc4(%rbp)
  mov    -0xc4(%rbp),%eax
  mov    %eax,-0xd0(%rbp)
  mov    -0xc8(%rbp),%eax
  sub    $0x3b,%eax
  mov    %eax,-0xbc(%rbp)
  mov    -0xbc(%rbp),%eax
  mov    %eax,-0xcc(%rbp)
  movl   $0xa0,-0xc8(%rbp)
L119:
  mov    $0x0,%edx
  mov    $0x0,%esi
  mov    $0x0,%edi
  call   <colorRGB@plt>
  mov    %eax,%edi
  mov    -0xc8(%rbp),%ecx
  mov    -0xc8(%rbp),%edx
  mov    -0xcc(%rbp),%esi
  mov    -0xd0(%rbp),%eax
  mov    %edi,%r8d
  mov    %eax,%edi
  call   <drawBox@plt>
  mov    -0xc8(%rbp),%eax
  movslq %eax,%rdx
  imul   $0x66666667,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x2,%edx
  sar    $0x1f,%eax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,-0xb4(%rbp)
  movl   $0x0,-0xc0(%rbp)
  movl   $0x0,-0xc0(%rbp)
  jmp    L9
L125:
  mov    -0xc0(%rbp),%ecx
  movslq %ecx,%rax
  imul   $0x66666667,%rax,%rax
  shr    $0x20,%rax
  sar    $0x2,%eax
  mov    %ecx,%esi
  sar    $0x1f,%esi
  sub    %esi,%eax
  mov    %eax,%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  add    %eax,%eax
  sub    %eax,%ecx
  mov    %ecx,%edx
  test   %edx,%edx
  jne    L24
  cmpl   $0x9,-0xc0(%rbp)
  jle    L130
  mov    -0xc4(%rbp),%eax
  mov    %eax,-0xd0(%rbp)
  mov    -0xb4(%rbp),%eax
  add    $0x2,%eax
  add    %eax,-0xcc(%rbp)
L130:
  cmpl   $0x0,-0xdc(%rbp)
  jne    L24
  mov    -0xc0(%rbp),%eax
  movslq %eax,%rdx
  imul   $0x66666667,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x2,%edx
  sar    $0x1f,%eax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  cltq
  mov    -0xb0(%rbp,%rax,8),%rdx
  mov    -0xcc(%rbp),%ecx
  mov    -0xb8(%rbp),%eax
  lea    (%rcx,%rax,1),%esi
  mov    -0xb8(%rbp),%eax
  lea    0x3(%rax),%ecx
  test   %eax,%eax
  cmovs  %ecx,%eax
  sar    $0x2,%eax
  lea    (%rsi,%rax,1),%ecx
  mov    -0xd0(%rbp),%eax
  sub    -0xb8(%rbp),%eax
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <drawText@plt>
L24:
  cmpl   $0x9,-0xc0(%rbp)
  jg     L123
  cmpl   $0x0,-0xdc(%rbp)
  jne    L123
  mov    -0xc0(%rbp),%eax
  cltq
  mov    -0x60(%rbp,%rax,8),%rdx
  mov    -0xcc(%rbp),%eax
  sub    -0xb8(%rbp),%eax
  mov    -0xb8(%rbp),%ecx
  mov    %ecx,%esi
  shr    $0x1f,%esi
  add    %esi,%ecx
  sar    %ecx
  mov    %ecx,%esi
  mov    -0xd0(%rbp),%ecx
  add    %esi,%ecx
  mov    %eax,%esi
  mov    %ecx,%edi
  call   <drawText@plt>
L123:
  mov    -0xc0(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  test   %eax,%eax
  jne    L82
  mov    $0xff,%edx
  mov    $0x0,%esi
  mov    $0x0,%edi
  call   <colorRGB@plt>
  mov    %eax,%edi
  mov    -0xb4(%rbp),%ecx
  mov    -0xb4(%rbp),%edx
  mov    -0xcc(%rbp),%esi
  mov    -0xd0(%rbp),%eax
  mov    %edi,%r8d
  mov    %eax,%edi
  call   <drawBox@plt>
L82:
  mov    -0xc0(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    $0x2,%eax
  jne    L107
  mov    $0x0,%edx
  mov    $0xff,%esi
  mov    $0xff,%edi
  call   <colorRGB@plt>
  mov    %eax,%edi
  mov    -0xb4(%rbp),%ecx
  mov    -0xb4(%rbp),%edx
  mov    -0xcc(%rbp),%esi
  mov    -0xd0(%rbp),%eax
  mov    %edi,%r8d
  mov    %eax,%edi
  call   <drawBox@plt>
L107:
  mov    -0xc0(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    $0x4,%eax
  jne    L40
  mov    $0x0,%edx
  mov    $0x0,%esi
  mov    $0xff,%edi
  call   <colorRGB@plt>
  mov    %eax,%edi
  mov    -0xb4(%rbp),%ecx
  mov    -0xb4(%rbp),%edx
  mov    -0xcc(%rbp),%esi
  mov    -0xd0(%rbp),%eax
  mov    %edi,%r8d
  mov    %eax,%edi
  call   <drawBox@plt>
L40:
  mov    -0xc0(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    $0x7,%eax
  jle    L87
  cmpl   $0x0,-0xdc(%rbp)
  je     L87
  mov    $0x80,%edx
  mov    $0x80,%esi
  mov    $0x80,%edi
  call   <colorRGB@plt>
  mov    %eax,%edi
  mov    -0xb4(%rbp),%ecx
  mov    -0xb4(%rbp),%edx
  mov    -0xcc(%rbp),%esi
  mov    -0xd0(%rbp),%eax
  mov    %edi,%r8d
  mov    %eax,%edi
  call   <drawBox@plt>
  jmp    L38
L87:
  mov    -0xc0(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    $0x7,%eax
  jle    L38
  mov    $0xff,%edx
  mov    $0x0,%esi
  mov    $0x0,%edi
  call   <colorRGB@plt>
  mov    %eax,%edi
  mov    -0xb4(%rbp),%ecx
  mov    -0xb4(%rbp),%edx
  mov    -0xcc(%rbp),%esi
  mov    -0xd0(%rbp),%eax
  mov    %edi,%r8d
  mov    %eax,%edi
  call   <drawBox@plt>
L38:
  mov    -0xb4(%rbp),%eax
  add    $0x1,%eax
  add    %eax,-0xd0(%rbp)
  addl   $0x1,-0xc0(%rbp)
L9:
  cmpl   $0x63,-0xc0(%rbp)
  jle    L125
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L18
  call   <__stack_chk_fail@plt>
L18:
  leave
  ret
```

tool_calls: name: parse_data
arguments: tag: D169
data_type: string
name: parse_data
arguments: tag: D142
data_type: string
name: parse_data
arguments: tag: D160
data_type: string
name: parse_data
arguments: tag: D55
data_type: string
name: parse_data
arguments: tag: D176
data_type: string
name: parse_data
arguments: tag: D100
data_type: string
name: parse_data
arguments: tag: D13
data_type: string
name: parse_data
arguments: tag: D101
data_type: string
name: parse_data
arguments: tag: D184
data_type: string
name: parse_data
arguments: tag: D82
data_type: string

tool: D169: 0

tool: D142: 1

tool: D160: 2

tool: D55: 3

tool: D176: 4

tool: D100: 5

tool: D13: 6

tool: D101: 7

tool: D184: 8

tool: D82: 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;
  }
}
```