user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<main>:
  endbr64
  push   %r15
  lea    D74(%rip),%r15
  push   %r14
  push   %r13
  lea    D87(%rip),%r13
  push   %r12
  push   %rbp
  lea    D42(%rip),%rbp
  push   %rbx
  sub    $0xd8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0xc8(%rsp)
  xor    %eax,%eax
  lea    0x14(%rsp),%rax
  lea    0x20(%rsp),%rbx
  mov    %rax,0x8(%rsp)
  lea    0x1c(%rsp),%rax
  lea    0x18(%rsp),%r12
  mov    %rax,(%rsp)
  nopw   0x0(%rax,%rax,1)
L29:
  lea    D3(%rip),%rdi
  call   <system@plt>
  lea    D122(%rip),%rdi
  call   <puts@plt>
  mov    D13(%rip),%rax
  movdqa D13(%rip),%xmm0
  lea    D101(%rip),%rdi
  mov    %rax,0xc0(%rsp)
  xor    %eax,%eax
  movaps %xmm0,0x20(%rsp)
  movaps %xmm0,0x30(%rsp)
  movaps %xmm0,0x40(%rsp)
  movaps %xmm0,0x50(%rsp)
  movaps %xmm0,0x60(%rsp)
  movaps %xmm0,0x70(%rsp)
  movaps %xmm0,0x80(%rsp)
  movaps %xmm0,0x90(%rsp)
  movaps %xmm0,0xa0(%rsp)
  movaps %xmm0,0xb0(%rsp)
  call   <printf@plt>
  mov    0x8(%rsp),%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
  xor    %eax,%eax
  call   <getchar@plt>
  mov    %rbx,%rdi
  call   <displayBoard@plt>
L37:
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
  xor    %eax,%eax
  subl   $0x30,0x18(%rsp)
  call   <getchar@plt>
  mov    0x18(%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     L36
  mov    %r15,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x14(%rsp),%r8d
  mov    (%rsp),%rcx
  mov    %rbx,%rdi
  mov    $0x4f,%edx
  mov    $0x58,%esi
  call   <bestMove@plt>
  mov    0x1c(%rsp),%esi
  lea    D6(%rip),%rdi
  mov    %eax,%r14d
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x1c(%rsp),%edx
  mov    $0x58,%esi
  mov    %rbx,%rdi
  call   <dropCounter@plt>
  mov    %rbx,%rdi
  call   <displayBoard@plt>
  mov    %r14d,%esi
  lea    D111(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    $0x4f,%edx
  mov    $0x58,%esi
  mov    %rbx,%rdi
  call   <score@plt>
  cmp    $0x3e8,%eax
  jne    L37
  lea    D88(%rip),%rdi
L2:
  call   <puts@plt>
  lea    D23(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %eax,%eax
  call   <getchar@plt>
  jmp    L29
  nopl   (%rax)
L36:
  lea    D100(%rip),%rdi
  jmp    L2
```

tool_calls: name: parse_data
arguments: data_tag: D74
type_guessed: string
name: parse_data
arguments: data_tag: D87
type_guessed: string
name: parse_data
arguments: data_tag: D42
type_guessed: string
name: parse_data
arguments: data_tag: D3
type_guessed: string
name: parse_data
arguments: data_tag: D122
type_guessed: string
name: parse_data
arguments: data_tag: D13
type_guessed: byte[16]
name: parse_data
arguments: data_tag: D101
type_guessed: string
name: parse_data
arguments: data_tag: D6
type_guessed: string
name: parse_data
arguments: data_tag: D111
type_guessed: string
name: parse_data
arguments: data_tag: D88
type_guessed: string
name: parse_data
arguments: data_tag: D23
type_guessed: string
name: parse_data
arguments: data_tag: D100
type_guessed: string

tool: D74: My go: 

tool: D87: Your go: 

tool: D42: %c

tool: D3: clear

tool: D122: 
~~~~~~Connect 4~~~~~~

tool: {"D13": [0x2e,0x00,0x00,0x00,0x2e,0x00,0x00,0x00,0x2e,0x00,0x00,0x00,0x2e,0x00,0x00,0x00]}

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

tool: D6: %d


tool: D111: 
%d


tool: D88: 
****COMISERATIONS YOU LOST****

tool: D23: Press return for new game

tool: D100: 
****CONGRATULATIONS YOU WIN****

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;
}
```