user: Translate the below assembly code into C programming language:

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    D34(%rip),%rbx
  sub    $0x108,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0xf8(%rsp)
  xor    %eax,%eax
  lea    0x18(%rsp),%rax
  lea    0x20(%rsp),%r13
  mov    %rax,0x8(%rsp)
  xchg   %ax,%ax
L198:
  mov    0x8(%rsp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  cmp    $0xffffffff,%eax
  je     L54
  mov    0x18(%rsp),%edx
  test   %edx,%edx
  je     L54
  mov    $0x64,%edx
  xor    %esi,%esi
  lea    0x21(%rsp),%r14
  mov    %r13,%rdi
  lea    0x90(%rsp),%r15
  lea    0x1c(%rsp),%rbp
  call   <memset@plt>
  mov    $0x64,%edx
  xor    %esi,%esi
  mov    %r15,%rdi
  call   <memset@plt>
  mov    0x18(%rsp),%eax
  movl   $0x1,0x4(%rsp)
  test   %eax,%eax
  jle    L42
  nopw   0x0(%rax,%rax,1)
L46:
  mov    $0x1,%r12d
  xchg   %ax,%ax
L199:
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  mov    0x1c(%rsp),%eax
  add    %al,(%r15,%r12,1)
  add    $0x1,%r12
  add    %al,(%r14)
  mov    0x18(%rsp),%eax
  cmp    %r12d,%eax
  jge    L199
  addl   $0x1,0x4(%rsp)
  mov    0x4(%rsp),%ecx
  cmp    %ecx,%eax
  jl     L13
  add    $0x1,%r14
  jmp    L46
L42:
  lea    D8(%rip),%rdi
  call   <puts@plt>
  jmp    L198
L54:
  mov    0xf8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L32
  add    $0x108,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L13:
  test   %eax,%eax
  jle    L42
  mov    $0x1,%ecx
  xor    %esi,%esi
  jmp    L86
  nop
L21:
  add    $0x1,%rcx
  cmp    %ecx,%eax
  jl     L17
L86:
  movzbl 0x0(%r13,%rcx,1),%edx
  mov    %edx,%edi
  shr    $0x7,%dil
  add    %edi,%edx
  and    $0x1,%edx
  sub    %edi,%edx
  cmp    $0x1,%dl
  jne    L21
  test   %esi,%esi
  jne    L131
  mov    %ecx,%esi
  add    $0x1,%rcx
  cmp    %ecx,%eax
  jge    L86
L17:
  lea    0x1(%rax),%edi
  mov    $0x1,%edx
  xor    %r9d,%r9d
L207:
  movzbl (%r15,%rdx,1),%eax
  mov    %eax,%ecx
  shr    $0x7,%cl
  add    %ecx,%eax
  and    $0x1,%eax
  sub    %ecx,%eax
  cmp    $0x1,%al
  je     L62
L197:
  add    $0x1,%rdx
  cmp    %rdx,%rdi
  jne    L207
  mov    %r9d,%eax
  or     %esi,%eax
  je     L42
  mov    %r9d,%edx
  lea    D28(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L198
L62:
  test   %r9d,%r9d
  jne    L131
  mov    %edx,%r9d
  jmp    L197
L131:
  lea    D22(%rip),%rdi
  call   <puts@plt>
  jmp    L198
L32:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D34
type_guessed: string
name: disassemble_data
arguments: data_label: D8
type_guessed: string
name: disassemble_data
arguments: data_label: D28
type_guessed: string
name: disassemble_data
arguments: data_label: D22
type_guessed: string

tool: D34: %d

tool: D8: OK

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


tool: D22: 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;
}
```