user: Demonstrate the C code that generates the assembly output below:

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  mov    $0x1,%r13d
  push   %r12
  push   %rbp
  lea    D39(%rip),%rbp
  push   %rbx
  sub    $0x108,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0xf8(%rsp)
  xor    %eax,%eax
  lea    0x20(%rsp),%r12
  lea    0x18(%rsp),%rax
  sub    %r12d,%r13d
  mov    %rax,0x8(%rsp)
  mov    %r13d,0x4(%rsp)
  nopl   0x0(%rax)
L209:
  mov    0x8(%rsp),%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
  cmp    $0xffffffff,%eax
  je     L55
  mov    0x18(%rsp),%eax
  test   %eax,%eax
  je     L55
  mov    $0x64,%edx
  xor    %esi,%esi
  mov    %r12,%rdi
  call   <memset@plt>
  lea    0x90(%rsp),%r15
  mov    $0x64,%edx
  xor    %esi,%esi
  mov    %r15,%rdi
  call   <memset@plt>
  mov    0x18(%rsp),%eax
  test   %eax,%eax
  jle    L48
  mov    %r12,%r14
  nopw   0x0(%rax,%rax,1)
L200:
  mov    $0x1,%r13d
  lea    0x1c(%rsp),%rbx
  test   %eax,%eax
  jle    L9
  nop
L90:
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
  mov    0x1c(%rsp),%eax
  add    %al,(%r15,%r13,1)
  add    $0x1,%r13
  add    %al,0x1(%r14)
  mov    0x18(%rsp),%eax
  cmp    %r13d,%eax
  jge    L90
L9:
  mov    0x4(%rsp),%ecx
  add    $0x1,%r14
  lea    (%rcx,%r14,1),%edx
  cmp    %edx,%eax
  jge    L200
  test   %eax,%eax
  jle    L48
  mov    $0x1,%ecx
  xor    %r9d,%r9d
  jmp    L102
  cs nopw 0x0(%rax,%rax,1)
L23:
  add    $0x1,%rcx
  cmp    %ecx,%eax
  jl     L49
L102:
  movzbl (%r12,%rcx,1),%edx
  mov    %edx,%esi
  shr    $0x7,%sil
  add    %esi,%edx
  and    $0x1,%edx
  sub    %esi,%edx
  cmp    $0x1,%dl
  jne    L23
  test   %r9d,%r9d
  jne    L198
  mov    %ecx,%r9d
  add    $0x1,%rcx
  cmp    %ecx,%eax
  jge    L102
L49:
  lea    0x1(%rax),%esi
  mov    $0x1,%edx
  xor    %r10d,%r10d
L180:
  movzbl (%r15,%rdx,1),%eax
  mov    %eax,%ecx
  shr    $0x7,%cl
  add    %ecx,%eax
  and    $0x1,%eax
  sub    %ecx,%eax
  cmp    $0x1,%al
  je     L145
L51:
  add    $0x1,%rdx
  cmp    %rsi,%rdx
  jne    L180
  mov    %r10d,%eax
  or     %r9d,%eax
  je     L48
  mov    %r10d,%edx
  mov    %r9d,%esi
  lea    D11(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L209
L145:
  test   %r10d,%r10d
  jne    L198
  mov    %edx,%r10d
  jmp    L51
L48:
  lea    D29(%rip),%rdi
  call   <puts@plt>
  jmp    L209
L198:
  lea    D34(%rip),%rdi
  call   <puts@plt>
  jmp    L209
L55:
  mov    0xf8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L71
  add    $0x108,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L71:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: label: D39
type_infered: string
name: retrieve_data
arguments: label: D11
type_infered: string
name: retrieve_data
arguments: label: D29
type_infered: string
name: retrieve_data
arguments: label: D34
type_infered: string

tool: D39: %d

tool: D11: Change bit (%d,%d)


tool: D29: OK

tool: D34: Corrupt

assistant: ```c
int main() {
  int n, i, j, t, x, y;
  char row[100], col[100];
  while (scanf("%d", &n) != -1) {
    if (!n)
      break;
    memset(row, 0, sizeof(row));
    memset(col, 0, sizeof(col));
    for (i = 1; i <= n; i++)
      for (j = 1; j <= n; j++) {
        scanf("%d", &t);
        row[i] += t;
        col[j] += t;
      }
    x = y = 0;
    for (i = 1; i <= n; i++)
      if (row[i] % 2 == 1)
        if (!y)
          y = i;
        else
          goto cor;
    for (j = 1; j <= n; j++)
      if (col[j] % 2 == 1)
        if (!x)
          x = j;
        else
          goto cor;
    if (!x && !y)
      printf("OK\n");
    else
      printf("Change bit (%d,%d)\n", y, x);
    continue;
  cor:
    printf("Corrupt\n");
  }
  return 0;
}
```