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

```asm
<computer_move>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x120,%rsp
  mov    %rdi,-0x108(%rbp)
  mov    %rsi,-0x110(%rbp)
  mov    %edx,%eax
  mov    %al,-0x114(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0xf0(%rbp)
  movl   $0x0,-0xec(%rbp)
  movl   $0x0,-0xe8(%rbp)
  movl   $0x0,-0xe4(%rbp)
  movl   $0x0,-0xe0(%rbp)
  movl   $0x0,-0xdc(%rbp)
  movl   $0x0,-0xd4(%rbp)
  movl   $0x64,-0xd8(%rbp)
  cmpb   $0x4f,-0x114(%rbp)
  jne    L74
  mov    $0x40,%eax
  jmp    L60
L74:
  mov    $0x4f,%eax
L60:
  mov    %al,-0xf1(%rbp)
  movl   $0x0,-0xf0(%rbp)
  jmp    L68
L89:
  movl   $0x0,-0xec(%rbp)
  jmp    L62
L135:
  mov    -0xf0(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x3,%rax
  mov    %rax,%rdx
  mov    -0x110(%rbp),%rax
  add    %rax,%rdx
  mov    -0xec(%rbp),%eax
  cltq
  mov    (%rdx,%rax,4),%eax
  test   %eax,%eax
  je     L3
  movl   $0x0,-0xe0(%rbp)
  jmp    L5
L95:
  movl   $0x0,-0xdc(%rbp)
  jmp    L122
L102:
  mov    -0xe0(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rax,%rax
  mov    %rax,%rdx
  mov    -0x108(%rbp),%rax
  add    %rax,%rdx
  mov    -0xdc(%rbp),%eax
  cltq
  movzbl (%rdx,%rax,1),%edx
  mov    -0xdc(%rbp),%eax
  movslq %eax,%rsi
  mov    -0xe0(%rbp),%eax
  movslq %eax,%rcx
  mov    %rcx,%rax
  add    %rax,%rax
  add    %rcx,%rax
  add    %rax,%rax
  add    %rbp,%rax
  add    %rsi,%rax
  sub    $0xd0,%rax
  mov    %dl,(%rax)
  addl   $0x1,-0xdc(%rbp)
L122:
  cmpl   $0x5,-0xdc(%rbp)
  jle    L102
  addl   $0x1,-0xe0(%rbp)
L5:
  cmpl   $0x5,-0xe0(%rbp)
  jle    L95
  movsbl -0x114(%rbp),%ecx
  mov    -0xec(%rbp),%edx
  mov    -0xf0(%rbp),%esi
  lea    -0xd0(%rbp),%rax
  mov    %rax,%rdi
  call   <make_move@plt>
  movsbl -0xf1(%rbp),%edx
  lea    -0xa0(%rbp),%rcx
  lea    -0xd0(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <valid_moves@plt>
  movsbl -0xf1(%rbp),%edx
  lea    -0xa0(%rbp),%rcx
  lea    -0xd0(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <best_move@plt>
  mov    %eax,-0xd4(%rbp)
  mov    -0xd4(%rbp),%eax
  cmp    -0xd8(%rbp),%eax
  jge    L67
  mov    -0xd4(%rbp),%eax
  mov    %eax,-0xd8(%rbp)
  mov    -0xf0(%rbp),%eax
  mov    %eax,-0xe8(%rbp)
  mov    -0xec(%rbp),%eax
  mov    %eax,-0xe4(%rbp)
  jmp    L67
L3:
  nop
L67:
  addl   $0x1,-0xec(%rbp)
L62:
  cmpl   $0x5,-0xec(%rbp)
  jle    L135
  addl   $0x1,-0xf0(%rbp)
L68:
  cmpl   $0x5,-0xf0(%rbp)
  jle    L89
  movsbl -0x114(%rbp),%ecx
  mov    -0xe4(%rbp),%edx
  mov    -0xe8(%rbp),%esi
  mov    -0x108(%rbp),%rax
  mov    %rax,%rdi
  call   <make_move@plt>
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L16
  call   <__stack_chk_fail@plt>
L16:
  leave
  ret
```

assistant: ```c
void computer_move(char board[][6], int moves[][6], char player) {
  int row = 0;
  int col = 0;
  int best_row = 0;
  int best_col = 0;
  int i = 0;
  int j = 0;
  int new_score = 0;
  int score = 100;
  char temp_board[6][6];
  int temp_moves[6][6];
  char opponent = (player == 'O') ? '@' : 'O';
  for (row = 0; row < 6; row++)
    for (col = 0; col < 6; col++) {
      if (moves[row][col] == 0)
        continue;
      for (i = 0; i < 6; i++)
        for (j = 0; j < 6; j++)
          temp_board[i][j] = board[i][j];
      make_move(temp_board, row, col, player);
      valid_moves(temp_board, temp_moves, opponent);
      new_score = best_move(temp_board, temp_moves, opponent);
      if (new_score < score) {
        score = new_score;
        best_row = row;
        best_col = col;
      }
    }
  make_move(board, best_row, best_col, player);
}
```