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

```asm
<NormalAI_alphaBetaSearch>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  mov    %esi,%r13d
  push   %r12
  mov    %rdi,%r12
  push   %rbp
  push   %rbx
  sub    $0x128,%rsp
  mov    %edx,0x24(%rsp)
  mov    %rcx,0x10(%rsp)
  mov    %r8,0x18(%rsp)
  mov    %r9d,0xc(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x118(%rsp)
  xor    %eax,%eax
  cmp    $0x1,%esi
  je     L31
  cmpl   $0x3,0x24(%rsp)
  jg     L20
  movl   $0x1,0x2c(%rsp)
  movl   $0xffffff,0x8(%rsp)
L215:
  lea    0x30(%rsp),%r14
  mov    %r12,%rdi
  mov    %r14,%rsi
  call   <NormalAI_createCheckMap@plt>
  cmpq   $0x0,0x10(%rsp)
  setne  %r15b
  cmpq   $0x0,0x18(%rsp)
  setne  %al
  and    %eax,%r15d
  xor    %eax,%eax
  mov    %r15b,0x23(%rsp)
  mov    %r14,%r15
  mov    %eax,%r14d
  nopl   0x0(%rax,%rax,1)
L77:
  xor    %ebx,%ebx
  jmp    L173
  nopl   0x0(%rax)
L40:
  add    $0x1,%rbx
  cmp    $0xf,%rbx
  je     L95
L173:
  cmpb   $0x1,(%r15,%rbx,1)
  jne    L40
  mov    %r13d,%ecx
  mov    %r14d,%edx
  mov    %ebx,%esi
  mov    %r12,%rdi
  call   <putStone@plt>
  test   %rax,%rax
  jne    L40
  mov    0x24(%rsp),%eax
  mov    0x8(%rsp),%r9d
  xor    %r8d,%r8d
  xor    %ecx,%ecx
  mov    0x2c(%rsp),%esi
  mov    %r12,%rdi
  lea    0x1(%rax),%edx
  call   <NormalAI_alphaBetaSearch>
  xor    %ecx,%ecx
  mov    %r14d,%edx
  mov    %ebx,%esi
  mov    %r12,%rdi
  mov    %eax,0x28(%rsp)
  call   <putStone@plt>
  cmp    $0x1,%r13d
  mov    0x28(%rsp),%r8d
  je     L129
  cmp    0x8(%rsp),%r8d
  jge    L40
  cmpb   $0x0,0x23(%rsp)
  jne    L6
L76:
  cmp    0xc(%rsp),%r8d
  jl     L207
L32:
  add    $0x1,%rbx
  mov    %r8d,0x8(%rsp)
  cmp    $0xf,%rbx
  jne    L173
  nopl   (%rax)
L95:
  add    $0x1,%r14d
  add    $0xf,%r15
  cmp    $0xf,%r14d
  jne    L77
  mov    0x8(%rsp),%r8d
L207:
  mov    0x118(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L113
  add    $0x128,%rsp
  mov    %r8d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L129:
  cmp    0x8(%rsp),%r8d
  jle    L40
  cmpb   $0x0,0x23(%rsp)
  jne    L8
L23:
  cmp    0xc(%rsp),%r8d
  jle    L32
  jmp    L207
  xchg   %ax,%ax
L6:
  mov    0x10(%rsp),%rax
  mov    %r8d,%ecx
  mov    %r14d,%edx
  mov    %ebx,%esi
  lea    D18(%rip),%rdi
  mov    %r8d,0x8(%rsp)
  mov    %ebx,(%rax)
  mov    0x18(%rsp),%rax
  mov    %r14d,(%rax)
  call   <printf@plt>
  mov    0x8(%rsp),%r8d
  jmp    L76
L8:
  mov    0x10(%rsp),%rax
  mov    %r8d,%ecx
  mov    %r14d,%edx
  mov    %ebx,%esi
  lea    D18(%rip),%rdi
  mov    %r8d,0x8(%rsp)
  mov    %ebx,(%rax)
  mov    0x18(%rsp),%rax
  mov    %r14d,(%rax)
  call   <printf@plt>
  mov    0x8(%rsp),%r8d
  jmp    L23
L31:
  cmpl   $0x3,0x24(%rsp)
  jg     L20
  movl   $0x2,0x2c(%rsp)
  movl   $0xff000001,0x8(%rsp)
  jmp    L215
L20:
  mov    0x118(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L113
  add    $0x128,%rsp
  mov    %r12,%rdi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    10d0 <NormalAI_evaluateBoard@plt>
L113:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_tag: D18
datatype: string

tool: D18: (%2d, %2d) eval: %d


assistant: ```c
int NormalAI_alphaBetaSearch(char *baseBoard, int putColor, int depthCount, int *toX, int *toY, int rootCandidateEval) {
  int candidateEval, tmpEval;
  int colAfter = (putColor == 1 ? 2 : 1);
  int x, y;
  char checkMap[15 * 15];
  if (depthCount >= 4) {
    return NormalAI_evaluateBoard(baseBoard);
  }
  if (putColor == 1) {
    candidateEval = -0xffffff;
  } else {
    candidateEval = 0xffffff;
  }
  NormalAI_createCheckMap(baseBoard, checkMap);
  for (y = 0; y < 15; y++) {
    for (x = 0; x < 15; x++) {
      if (checkMap[y * 15 + x] != 1) {
        continue;
      }
      if (putStone(baseBoard, x, y, putColor)) {
        continue;
      }
      tmpEval = NormalAI_alphaBetaSearch(baseBoard, colAfter, depthCount + 1, NULL, NULL, candidateEval);
      putStone(baseBoard, x, y, 0);
      if (putColor == 1) {
        if (tmpEval > candidateEval) {
          candidateEval = tmpEval;
          if (toX != NULL && toY != NULL) {
            *toX = x;
            *toY = y;
            printf("(%2d, %2d) eval: %d\n", x, y, candidateEval);
          }
          if (candidateEval > rootCandidateEval) {
            break;
          }
        }
      } else {
        if (tmpEval < candidateEval) {
          candidateEval = tmpEval;
          if (toX != NULL && toY != NULL) {
            *toX = x;
            *toY = y;
            printf("(%2d, %2d) eval: %d\n", x, y, candidateEval);
          }
          if (candidateEval < rootCandidateEval) {
            break;
          }
        }
      }
    }
    if (x < 15) {
      break;
    }
  }
  return candidateEval;
}
```