user: Translate the below assembly code into C programming language:

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xc8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0xb8(%rsp)
  xor    %eax,%eax
  lea    D18(%rip),%r12
  lea    0x10(%rsp),%rbx
  lea    D104(%rip),%r13
  jmp    L27
L47:
  lea    D45(%rip),%rdi
  call   <puts@plt>
  lea    D52(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  call   <getchar@plt>
L27:
  lea    D51(%rip),%rdi
  call   <system@plt>
  lea    D98(%rip),%rdi
  call   <puts@plt>
  lea    0x10(%rsp),%rax
  lea    0xb8(%rsp),%rdx
L44:
  movl   $0x2e,(%rax)
  add    $0x4,%rax
  cmp    %rdx,%rax
  jne    L44
  lea    D8(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x4(%rsp),%rsi
  mov    %r12,%rdi
  call   <scanf@plt>
  mov    $0x0,%eax
  call   <getchar@plt>
  mov    %rbx,%rdi
  call   <displayBoard@plt>
  lea    D43(%rip),%r14
  lea    D58(%rip),%r15
L31:
  mov    %r14,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x8(%rsp),%rsi
  mov    %r12,%rdi
  call   <scanf@plt>
  subl   $0x30,0x8(%rsp)
  mov    $0x0,%eax
  call   <getchar@plt>
  mov    0x8(%rsp),%edx
  mov    $0x4f,%esi
  mov    %rbx,%rdi
  call   <dropCounter@plt>
  mov    %rbx,%rdi
  call   <displayBoard@plt>
  mov    $0x4f,%edx
  mov    $0x58,%esi
  mov    %rbx,%rdi
  call   <score@plt>
  cmp    $0xfffffc18,%eax
  je     L47
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0xc(%rsp),%rcx
  mov    0x4(%rsp),%r8d
  mov    $0x4f,%edx
  mov    $0x58,%esi
  mov    %rbx,%rdi
  call   <bestMove@plt>
  mov    %eax,%ebp
  mov    0xc(%rsp),%esi
  mov    %r15,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0xc(%rsp),%edx
  mov    $0x58,%esi
  mov    %rbx,%rdi
  call   <dropCounter@plt>
  mov    %rbx,%rdi
  call   <displayBoard@plt>
  mov    %ebp,%esi
  lea    D24(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x4f,%edx
  mov    $0x58,%esi
  mov    %rbx,%rdi
  call   <score@plt>
  cmp    $0x3e8,%eax
  jne    L31
  lea    D44(%rip),%rdi
  call   <puts@plt>
  lea    D52(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  call   <getchar@plt>
  jmp    L27
```

tool_calls: name: read_data
arguments: data_label: D18
type_guessed: string
name: read_data
arguments: data_label: D104
type_guessed: string
name: read_data
arguments: data_label: D45
type_guessed: string
name: read_data
arguments: data_label: D52
type_guessed: string
name: read_data
arguments: data_label: D51
type_guessed: string
name: read_data
arguments: data_label: D98
type_guessed: string
name: read_data
arguments: data_label: D8
type_guessed: string
name: read_data
arguments: data_label: D43
type_guessed: string
name: read_data
arguments: data_label: D58
type_guessed: string
name: read_data
arguments: data_label: D24
type_guessed: string
name: read_data
arguments: data_label: D44
type_guessed: string

tool: D18: %c

tool: D104: My go: 

tool: D45: 
****CONGRATULATIONS YOU WIN****

tool: D52: Press return for new game

tool: D51: clear

tool: D98: 
~~~~~~Connect 4~~~~~~

tool: D8: Please select look ahead level 1-4 recomended.

tool: D43: Your go: 

tool: D58: %d


tool: D24: 
%d


tool: D44: 
****COMISERATIONS YOU LOST****

assistant: ```c
int main(void) {
  uint8_t lookAhead, playerInput, gameIsPlaying, board[42], best, i;
  uint32_t currentScore;
  while (1) {
    gameIsPlaying = 1;
    system("clear");
    printf("\n~~~~~~Connect 4~~~~~~\n");
    for (i = 0; i < 42; i++) {
      board[i] = '.';
    }
    printf("Please select look ahead level 1-4 recomended.");
    scanf("%c", &lookAhead);
    getchar();
    displayBoard(board);
    while (gameIsPlaying) {
      printf("Your go: ");
      scanf("%c", &playerInput);
      playerInput -= '0';
      getchar();
      dropCounter(board, 'O', playerInput);
      displayBoard(board);
      if (score(board, 'X', 'O') == -1000) {
        printf("\n****CONGRATULATIONS YOU WIN****\n");
        printf("Press return for new game");
        getchar();
        gameIsPlaying = 0;
        continue;
      } else {
        printf("My go: ");
        currentScore = bestMove(board, 'X', 'O', &best, lookAhead);
        printf("%d\n", best);
        dropCounter(board, 'X', best);
        displayBoard(board);
        printf("\n%d\n", currentScore);
        if (score(board, 'X', 'O') == 1000) {
          printf("\n****COMISERATIONS YOU LOST****\n");
          printf("Press return for new game");
          getchar();
          gameIsPlaying = 0;
          continue;
        }
      }
    }
  }
  return 0;
}
```