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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x130,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x114(%rbp)
  movl   $0x0,-0x11c(%rbp)
  jmp    L75
L47:
  movl   $0x0,-0x118(%rbp)
  jmp    L113
L118:
  mov    -0x118(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x11c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movl   $0x0,-0x110(%rbp,%rax,4)
  addl   $0x1,-0x118(%rbp)
L113:
  cmpl   $0x7,-0x118(%rbp)
  jle    L118
  addl   $0x1,-0x11c(%rbp)
L75:
  cmpl   $0x7,-0x11c(%rbp)
  jle    L47
  lea    -0x128(%rbp),%rax
  mov    %rax,%rsi
  lea    D25(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  movl   $0x1,-0x11c(%rbp)
  jmp    L131
L10:
  lea    -0x120(%rbp),%rdx
  lea    -0x124(%rbp),%rax
  mov    %rax,%rsi
  lea    D32(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    -0x124(%rbp),%eax
  mov    -0x120(%rbp),%edx
  movslq %edx,%rdx
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movl   $0x1,-0x110(%rbp,%rax,4)
  addl   $0x1,-0x11c(%rbp)
L131:
  mov    -0x128(%rbp),%eax
  cmp    %eax,-0x11c(%rbp)
  jle    L10
  movl   $0x0,-0x11c(%rbp)
  jmp    L44
L42:
  movl   $0x0,-0x118(%rbp)
  jmp    L148
L136:
  mov    -0x118(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x11c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    -0x110(%rbp,%rax,4),%eax
  cmp    $0x1,%eax
  jne    L37
  lea    -0x110(%rbp),%rdx
  mov    -0x118(%rbp),%ecx
  mov    -0x11c(%rbp),%eax
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <checkrow@plt>
  test   %rax,%rax
  jne    L37
  lea    -0x110(%rbp),%rdx
  mov    -0x118(%rbp),%ecx
  mov    -0x11c(%rbp),%eax
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <checkcolumn@plt>
  test   %rax,%rax
  jne    L37
  lea    -0x110(%rbp),%rdx
  mov    -0x118(%rbp),%ecx
  mov    -0x11c(%rbp),%eax
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <checkdiagonal@plt>
  test   %rax,%rax
  jne    L37
  addl   $0x1,-0x114(%rbp)
L37:
  addl   $0x1,-0x118(%rbp)
L148:
  cmpl   $0x7,-0x118(%rbp)
  jle    L136
  addl   $0x1,-0x11c(%rbp)
L44:
  cmpl   $0x7,-0x11c(%rbp)
  jle    L42
  mov    -0x128(%rbp),%eax
  cmp    %eax,-0x114(%rbp)
  jne    L26
  lea    D26(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L156
L26:
  lea    D1(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L156:
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L76
  call   <__stack_chk_fail@plt>
L76:
  leave
  ret
```

tool_calls: name: parse_data
arguments: label: D25
type: string
name: parse_data
arguments: label: D32
type: string
name: parse_data
arguments: label: D26
type: string
name: parse_data
arguments: label: D1
type: string

tool: D25: %d


tool: D32: %d%d


tool: D26: yes

tool: D1: no

assistant: ```c
int main() {
  int chess[8][8];
  int i, j, N, R, C, count = 0;
  for (i = 0; i < 8; i++) {
    for (j = 0; j < 8; j++) {
      chess[i][j] = 0;
    }
  }
  scanf("%d\n", &N);
  for (i = 1; i <= N; i++) {
    scanf("%d%d\n", &R, &C);
    chess[R][C] = 1;
  }
  for (i = 0; i < 8; i++) {
    for (j = 0; j < 8; j++) {
      if (chess[i][j] == 1) {
        if (!(checkrow(i, j, chess) || checkcolumn(i, j, chess) || checkdiagonal(i, j, chess))) {
          count++;
        }
      }
    }
  }
  if (count == N) {
    printf("yes");
  } else {
    printf("no");
  }
  return 0;
}
```