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

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  movl   $0x1,0x24(%rsp)
  movl   $0x0,0xc(%rsp)
  movl   $0x0,0x8(%rsp)
  mov    $0x0,%ebp
  mov    $0x0,%ebx
  lea    0x20(%rsp),%r15
  lea    D2(%rip),%r14
  lea    D15(%rip),%r13
  lea    D52(%rip),%r12
  jmp    L51
L85:
  jge    L1
  addl   $0x1,0x8(%rsp)
L2:
  add    $0x1,%ebx
  mov    %r13,%rdi
  call   <puts@plt>
  lea    0x24(%rsp),%rsi
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  cmpl   $0x1,0x24(%rsp)
  jne    L105
L51:
  lea    0x1c(%rsp),%rsi
  mov    %r15,%rdx
  mov    %r14,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    0x1c(%rsp),%edx
  mov    0x20(%rsp),%eax
  cmp    %eax,%edx
  jle    L85
  add    $0x1,%ebp
  jmp    L2
L1:
  addl   $0x1,0xc(%rsp)
  jmp    L2
L105:
  mov    %ebx,%esi
  lea    D22(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %ebp,%esi
  lea    D34(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x8(%rsp),%ebx
  mov    %ebx,%esi
  lea    D99(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0xc(%rsp),%esi
  lea    D51(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmp    %ebx,%ebp
  jg     L87
  cmp    0x8(%rsp),%ebp
  jge    L38
  lea    D33(%rip),%rdi
  call   <puts@plt>
L7:
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L94
  mov    $0x0,%eax
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L87:
  lea    D3(%rip),%rdi
  call   <puts@plt>
  jmp    L7
L38:
  lea    D49(%rip),%rdi
  call   <puts@plt>
  jmp    L7
L94:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_label: D2
type_guessed: string
name: unpack_data
arguments: data_label: D15
type_guessed: string
name: unpack_data
arguments: data_label: D52
type_guessed: string
name: unpack_data
arguments: data_label: D22
type_guessed: string
name: unpack_data
arguments: data_label: D34
type_guessed: string
name: unpack_data
arguments: data_label: D99
type_guessed: string
name: unpack_data
arguments: data_label: D51
type_guessed: string
name: unpack_data
arguments: data_label: D33
type_guessed: string
name: unpack_data
arguments: data_label: D3
type_guessed: string
name: unpack_data
arguments: data_label: D49
type_guessed: string

tool: D2:  %d %d

tool: D15: Novo grenal (1-sim 2-nao)

tool: D52:  %d

tool: D22: %d grenais


tool: D34: Inter:%d


tool: D99: Gremio:%d


tool: D51: Empates:%d


tool: D33: Gremio venceu mais

tool: D3: Inter venceu mais

tool: D49: Nao houve vencedor

assistant: ```c
int main() {
  int X, Y, cont = 0, op = 1, resu[3] = {0, 0, 0};
  while (op == 1) {
    scanf(" %d %d", &X, &Y);
    if (X > Y)
      resu[0]++;
    else if (X < Y)
      resu[1]++;
    else
      resu[2]++;
    cont++;
    printf("Novo grenal (1-sim 2-nao)\n");
    scanf(" %d", &op);
  }
  printf("%d grenais\n", cont);
  printf("Inter:%d\n", resu[0]);
  printf("Gremio:%d\n", resu[1]);
  printf("Empates:%d\n", resu[2]);
  if (resu[0] > resu[1])
    printf("Inter venceu mais\n");
  else if (resu[1] > resu[0])
    printf("Gremio venceu mais\n");
  else
    printf("Nao houve vencedor\n");
}
```