user: 下面的汇编指令对应的C源代码是什么:

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x4d8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x4c8(%rsp)
  xor    %eax,%eax
  lea    0x330(%rsp),%rbp
  lea    0x4c4(%rsp),%rdx
  mov    %rbp,%rax
L145:
  movl   $0x0,(%rax)
  add    $0x4,%rax
  cmp    %rdx,%rax
  jne    L145
  lea    0xc(%rsp),%rsi
  lea    D25(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  cmpl   $0x0,0xc(%rsp)
  jle    L97
  lea    0x10(%rsp),%r12
  mov    $0x0,%ebx
  lea    D27(%rip),%r13
L42:
  lea    0x1a0(%rsp),%r15
  lea    (%r15,%rbx,4),%rdx
  mov    %r12,%rsi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    (%r12),%r14d
  mov    (%r15,%rbx,4),%ecx
  cmp    %ecx,%r14d
  jg     L9
  movslq %r14d,%rsi
  lea    0x330(%rsp,%rsi,4),%rax
  mov    %ecx,%edx
  sub    %r14d,%edx
  add    %rsi,%rdx
  lea    0x4(%rbp,%rdx,4),%rdx
L4:
  addl   $0x1,(%rax)
  add    $0x4,%rax
  cmp    %rdx,%rax
  jne    L4
  lea    0x1(%rcx),%r14d
L9:
  mov    0xc(%rsp),%eax
  add    $0x1,%rbx
  add    $0x4,%r12
  cmp    %ebx,%eax
  jg     L42
  test   %eax,%eax
  jle    L45
  lea    -0x1(%rax),%edi
  add    $0x2,%rdi
  mov    $0x1,%eax
  mov    $0x1,%ebx
  mov    $0x1,%ecx
  jmp    L136
L111:
  add    $0x1,%rax
  cmp    %rdi,%rax
  je     L140
L136:
  mov    0x330(%rsp,%rax,4),%edx
  cmp    %eax,%edx
  jne    L111
  cmp    %ecx,%edx
  cmovge %eax,%ebx
  cmovge %edx,%ecx
  jmp    L111
L140:
  cmp    $0x1,%ecx
  cmove  %ecx,%ebx
L169:
  mov    %ebx,%esi
  lea    D14(%rip),%rdi
  call   <printf@plt>
  mov    0xc(%rsp),%edx
  test   %edx,%edx
  jle    L108
  mov    %edx,%edx
  mov    $0x0,%eax
  lea    0x10(%rsp),%rcx
  lea    0x1a0(%rsp),%rdi
  jmp    L114
L120:
  add    $0x1,%rax
  cmp    %rax,%rdx
  je     L108
L114:
  cmp    %ebx,(%rcx,%rax,4)
  jg     L120
  cmp    %ebx,(%rdi,%rax,4)
  jl     L120
  lea    0x1(%rax),%r14d
L108:
  mov    %r14d,%esi
  lea    D7(%rip),%rdi
  call   <printf@plt>
  mov    0x4c8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L102
  mov    $0x0,%eax
  add    $0x4d8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L97:
  mov    $0x0,%r14d
L45:
  mov    $0x1,%ebx
  jmp    L169
L102:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D25
type: string
name: extract_symbolic_data
arguments: data_label: D27
type: string
name: extract_symbolic_data
arguments: data_label: D14
type: string
name: extract_symbolic_data
arguments: data_label: D7
type: string

tool: D25: %d


tool: D27: %d %d


tool: D14: Numero de guardioes sinceros = %d


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