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

```asm
<main>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  movl   $0x0,0x14(%rsp)
  pxor   %xmm7,%xmm7
  movss  %xmm7,0x4(%rsp)
  movss  %xmm7,0xc(%rsp)
  movss  %xmm7,0x8(%rsp)
  lea    D51(%rip),%r13
  lea    D8(%rip),%rbx
  lea    D124(%rip),%r12
  jmp    L41
L15:
  movss  0x8(%rsp),%xmm6
  addss  D129(%rip),%xmm6
  movss  %xmm6,0x8(%rsp)
  jmp    L95
L10:
  mov    %r12,%rdi
  call   <puts@plt>
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    0x14(%rsp),%eax
  cmp    $0x1,%eax
  je     L78
  cmp    $0x2,%eax
  jne    L10
  movss  0xc(%rsp),%xmm4
  addss  D129(%rip),%xmm4
  movss  %xmm4,0xc(%rsp)
  jmp    L95
L78:
  movss  0x8(%rsp),%xmm3
  addss  D129(%rip),%xmm3
  movss  %xmm3,0x8(%rsp)
L95:
  movss  0x4(%rsp),%xmm2
  addss  D129(%rip),%xmm2
  movss  %xmm2,0x4(%rsp)
  lea    D64(%rip),%rdi
  call   <puts@plt>
  lea    0x13(%rsp),%rsi
  lea    D5(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  cmpb   $0x73,0x13(%rsp)
  jne    L37
L41:
  mov    %r13,%rdi
  call   <puts@plt>
  lea    0x14(%rsp),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    0x14(%rsp),%eax
  cmp    $0x1,%eax
  je     L15
  lea    0x14(%rsp),%rbp
  cmp    $0x2,%eax
  jne    L10
  movss  0xc(%rsp),%xmm5
  addss  D129(%rip),%xmm5
  movss  %xmm5,0xc(%rsp)
  jmp    L95
L37:
  movss  0x8(%rsp),%xmm0
  movaps %xmm0,%xmm1
  divss  0x4(%rsp),%xmm1
  mulss  D41(%rip),%xmm1
  cvtss2sd %xmm0,%xmm0
  cvtss2sd %xmm1,%xmm1
  lea    D3(%rip),%rdi
  mov    $0x2,%eax
  call   <printf@plt>
  movss  0xc(%rsp),%xmm5
  movaps %xmm5,%xmm1
  divss  0x4(%rsp),%xmm1
  mulss  D41(%rip),%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd %xmm5,%xmm0
  cvtss2sd %xmm1,%xmm1
  lea    D71(%rip),%rdi
  mov    $0x2,%eax
  call   <printf@plt>
  pxor   %xmm0,%xmm0
  cvtss2sd 0x4(%rsp),%xmm0
  lea    D88(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L76
  mov    $0x0,%eax
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L76:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: label: D51
datatype: string
name: unpack_data
arguments: label: D8
datatype: string
name: unpack_data
arguments: label: D124
datatype: string
name: unpack_data
arguments: label: D129
datatype: byte[4]
name: unpack_data
arguments: label: D64
datatype: string
name: unpack_data
arguments: label: D5
datatype: string
name: unpack_data
arguments: label: D41
datatype: byte[4]
name: unpack_data
arguments: label: D3
datatype: string
name: unpack_data
arguments: label: D71
datatype: string
name: unpack_data
arguments: label: D88
datatype: string

tool: D51: Para votar no Candidato1, digite 1 ou para votar no Candidato2, digite 2:

tool: D8: %d

tool: D124: 
Vc digitou um numero errado, favor repetir.
Para votar no Candidato1, digite 1 ou para votar no Candidato2, digite 2:

tool: {"D129": [0x00,0x00,0x80,0x3f]}

tool: D64: 
Deseja continuar:(s/n)?

tool: D5:  %c

tool: {"D41": [0x00,0x00,0xc8,0x42]}

tool: D3: 
Total de Votos do Candidato1 = %.0f, com %.0f%% dos Votos.


tool: D71: 
Total de Votos do Candidato2 = %.0f, com %.0f%% dos Votos.


tool: D88: 
Total de Votantes: %.0f.


assistant: ```c
int main() {
  int voto = 0;
  float cand1 = 0, cand2 = 0, percent1 = 0, percent2 = 0, cont = 0;
  char continuar;
  do {
    printf("Para votar no Candidato1, digite 1 ou para votar no Candidato2, digite 2:\n");
    scanf("%d", &voto);
    if (voto == 1) {
      cand1 = cand1 + 1;
    } else if (voto == 2) {
      cand2 = cand2 + 1;
    } else {
      while (voto > 2 || voto < 1) {
        printf("\nVc digitou um numero errado, favor repetir.\nPara votar no Candidato1, digite 1 ou para votar no Candidato2, digite 2:\n");
        scanf("%d", &voto);
        if (voto == 1) {
          cand1 = cand1 + 1;
        } else if (voto == 2) {
          cand2 = cand2 + 1;
        }
      }
    }
    cont = cont + 1;
    printf("\nDeseja continuar:(s/n)?\n");
    scanf(" %c", &continuar);
  } while (continuar == 's');
  percent1 = (100 * (cand1 / cont));
  percent2 = (100 * (cand2 / cont));
  printf("\nTotal de Votos do Candidato1 = %.0f, com %.0f%% dos Votos.\n", cand1, percent1);
  printf("\nTotal de Votos do Candidato2 = %.0f, com %.0f%% dos Votos.\n", cand2, percent2);
  printf("\nTotal de Votantes: %.0f.\n", cont);
  return 0;
}
```