user: What is the c source code of the assembly code below?

```asm
<NormalAI_alphaBetaSearch>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x128,%rsp
  mov    %rdi,%r15
  mov    %esi,0xc(%rsp)
  mov    %edx,0x28(%rsp)
  mov    %rcx,0x10(%rsp)
  mov    %r8,0x20(%rsp)
  mov    %r9d,0x1c(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x118(%rsp)
  xor    %eax,%eax
  cmp    $0x1,%esi
  je     L48
  cmpl   $0x3,0x28(%rsp)
  jg     L113
  movl   $0x1,0x2c(%rsp)
  movl   $0xffffff,0x18(%rsp)
L182:
  lea    0x30(%rsp),%r12
  mov    %r12,%rsi
  mov    %r15,%rdi
  call   <NormalAI_createCheckMap@plt>
  mov    $0x0,%r13d
  jmp    L246
L113:
  mov    %r15,%rdi
  call   <NormalAI_evaluateBoard@plt>
  mov    %eax,%r14d
  jmp    L165
L238:
  mov    %ebx,(%rax)
  mov    %r13d,(%rdi)
  mov    %r14d,%ecx
  mov    %r13d,%edx
  mov    %ebx,%esi
  lea    D4(%rip),%rdi
  call   <printf@plt>
  jmp    L80
L103:
  cmp    0x18(%rsp),%r14d
  jge    L56
  mov    0x10(%rsp),%rax
  test   %rax,%rax
  je     L130
  mov    0x20(%rsp),%rcx
  test   %rcx,%rcx
  jne    L190
L130:
  cmp    0x1c(%rsp),%r14d
  jl     L102
  mov    %r14d,0x18(%rsp)
L56:
  add    $0x1,%rbx
  cmp    $0xf,%rbx
  je     L54
L149:
  mov    %ebx,%ebp
  cmpb   $0x1,(%r12,%rbx,1)
  jne    L56
  mov    0xc(%rsp),%ecx
  mov    %r13d,%edx
  mov    %ebx,%esi
  mov    %r15,%rdi
  call   <putStone@plt>
  test   %rax,%rax
  jne    L56
  mov    0x28(%rsp),%edx
  add    $0x1,%edx
  mov    0x18(%rsp),%r9d
  mov    $0x0,%r8d
  mov    $0x0,%ecx
  mov    0x2c(%rsp),%esi
  mov    %r15,%rdi
  call   <NormalAI_alphaBetaSearch>
  mov    %eax,%r14d
  mov    $0x0,%ecx
  mov    %r13d,%edx
  mov    %ebx,%esi
  mov    %r15,%rdi
  call   <putStone@plt>
  cmpl   $0x1,0xc(%rsp)
  jne    L103
  cmp    0x18(%rsp),%r14d
  jle    L56
  mov    0x10(%rsp),%rax
  test   %rax,%rax
  je     L80
  mov    0x20(%rsp),%rdi
  test   %rdi,%rdi
  jne    L238
L80:
  cmp    0x1c(%rsp),%r14d
  jg     L102
  mov    %r14d,0x18(%rsp)
  jmp    L56
L190:
  mov    %ebx,(%rax)
  mov    %r13d,(%rcx)
  mov    %r14d,%ecx
  mov    %r13d,%edx
  mov    %ebx,%esi
  lea    D4(%rip),%rdi
  call   <printf@plt>
  jmp    L130
L102:
  cmp    $0xe,%ebp
  jg     L144
L165:
  mov    0x118(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L37
  mov    %r14d,%eax
  add    $0x128,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L144:
  mov    %r14d,0x18(%rsp)
L54:
  add    $0x1,%r13d
  add    $0xf,%r12
  cmp    $0xf,%r13d
  je     L32
L246:
  mov    $0x0,%ebx
  jmp    L149
L32:
  mov    0x18(%rsp),%r14d
  jmp    L165
L48:
  cmpl   $0x3,0x28(%rsp)
  jg     L113
  movl   $0x2,0x2c(%rsp)
  movl   $0xff000001,0x18(%rsp)
  jmp    L182
L37:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: tag: D4
type: string

tool: D4: (%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;
}
```