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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x4e0,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x4cc(%rbp)
  movl   $0x1,-0x4c8(%rbp)
  movl   $0x1,-0x4c4(%rbp)
  movl   $0x0,-0x4d0(%rbp)
  jmp    L165
L25:
  mov    -0x4d0(%rbp),%eax
  cltq
  movl   $0x0,-0x1a0(%rbp,%rax,4)
  addl   $0x1,-0x4d0(%rbp)
L165:
  cmpl   $0x64,-0x4d0(%rbp)
  jle    L25
  lea    -0x4d4(%rbp),%rax
  mov    %rax,%rsi
  lea    D23(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  movl   $0x0,-0x4d0(%rbp)
  jmp    L88
L135:
  lea    -0x330(%rbp),%rdx
  mov    -0x4d0(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rax,%rdx
  lea    -0x4c0(%rbp),%rcx
  mov    -0x4d0(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rcx,%rax
  mov    %rax,%rsi
  lea    D0(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    -0x4d0(%rbp),%eax
  cltq
  mov    -0x4c0(%rbp,%rax,4),%eax
  mov    %eax,-0x4cc(%rbp)
  jmp    L128
L46:
  mov    -0x4cc(%rbp),%eax
  cltq
  mov    -0x1a0(%rbp,%rax,4),%eax
  lea    0x1(%rax),%edx
  mov    -0x4cc(%rbp),%eax
  cltq
  mov    %edx,-0x1a0(%rbp,%rax,4)
  addl   $0x1,-0x4cc(%rbp)
L128:
  mov    -0x4d0(%rbp),%eax
  cltq
  mov    -0x330(%rbp,%rax,4),%eax
  cmp    %eax,-0x4cc(%rbp)
  jle    L46
  addl   $0x1,-0x4d0(%rbp)
L88:
  mov    -0x4d4(%rbp),%eax
  cmp    %eax,-0x4d0(%rbp)
  jl     L135
  movl   $0x1,-0x4d0(%rbp)
  jmp    L9
L140:
  mov    -0x4d0(%rbp),%eax
  cltq
  mov    -0x1a0(%rbp,%rax,4),%eax
  cmp    %eax,-0x4c8(%rbp)
  jg     L164
  mov    -0x4d0(%rbp),%eax
  cltq
  mov    -0x1a0(%rbp,%rax,4),%eax
  cmp    %eax,-0x4d0(%rbp)
  jne    L164
  mov    -0x4d0(%rbp),%eax
  cltq
  mov    -0x1a0(%rbp,%rax,4),%eax
  mov    %eax,-0x4c8(%rbp)
  mov    -0x4d0(%rbp),%eax
  mov    %eax,-0x4c4(%rbp)
L164:
  addl   $0x1,-0x4d0(%rbp)
L9:
  mov    -0x4d4(%rbp),%eax
  cmp    %eax,-0x4d0(%rbp)
  jle    L140
  cmpl   $0x1,-0x4c8(%rbp)
  jne    L110
  movl   $0x1,-0x4c4(%rbp)
L110:
  mov    -0x4c4(%rbp),%eax
  mov    %eax,%esi
  lea    D8(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  movl   $0x0,-0x4d0(%rbp)
  jmp    L56
L134:
  mov    -0x4d0(%rbp),%eax
  cltq
  mov    -0x4c0(%rbp,%rax,4),%eax
  cmp    %eax,-0x4c4(%rbp)
  jl     L149
  mov    -0x4d0(%rbp),%eax
  cltq
  mov    -0x330(%rbp,%rax,4),%eax
  cmp    %eax,-0x4c4(%rbp)
  jg     L149
  mov    -0x4d0(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x4cc(%rbp)
  jmp    L157
L149:
  addl   $0x1,-0x4d0(%rbp)
L56:
  mov    -0x4d4(%rbp),%eax
  cmp    %eax,-0x4d0(%rbp)
  jl     L134
L157:
  mov    -0x4cc(%rbp),%eax
  mov    %eax,%esi
  lea    D17(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L30
  call   <__stack_chk_fail@plt>
L30:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: label: D23
type_infered: string
name: disassemble_data
arguments: label: D0
type_infered: string
name: disassemble_data
arguments: label: D8
type_infered: string
name: disassemble_data
arguments: label: D17
type_infered: string

tool: D23: %d


tool: D0: %d %d


tool: D8: Numero de guardioes sinceros = %d


tool: D17: Guardiao %d


assistant: ```c
int main() {
  int nGuardioes, i, ctrl = 0, quantidadeVotos = 1, nGuardioesSinceros = 1;
  int votoGuardioes[100 + 1];
  int inicio[100];
  int fim[100];
  for (i = 0; i < 100 + 1; i++)
    votoGuardioes[i] = 0;
  scanf("%d\n", &nGuardioes);
  for (i = 0; i < nGuardioes; i++) {
    scanf("%d %d\n", &inicio[i], &fim[i]);
    ctrl = inicio[i];
    while (ctrl <= fim[i]) {
      votoGuardioes[ctrl]++;
      ctrl++;
    }
  }
  for (i = 1; i <= nGuardioes; i++) {
    if (votoGuardioes[i] >= quantidadeVotos && votoGuardioes[i] == i) {
      quantidadeVotos = votoGuardioes[i];
      nGuardioesSinceros = i;
    }
  }
  if (quantidadeVotos == 1)
    nGuardioesSinceros = 1;
  printf("Numero de guardioes sinceros = %d\n", nGuardioesSinceros);
  i = 0;
  while (i < nGuardioes) {
    if (inicio[i] <= nGuardioesSinceros && fim[i] >= nGuardioesSinceros) {
      ctrl = i + 1;
      break;
    } else
      i++;
  }
  printf("Guardiao %d\n", ctrl);
  return 0;
}
```