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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x1b0,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x17c(%rbp)
  movl   $0x0,-0x178(%rbp)
  movl   $0x0,-0x174(%rbp)
  movl   $0x0,-0x1a0(%rbp)
  movl   $0x0,-0x19c(%rbp)
  lea    D97(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x1a4(%rbp),%rax
  mov    %rax,%rsi
  lea    D52(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  mov    -0x1a4(%rbp),%eax
  cmp    $0x1e,%eax
  jle    L74
  lea    D138(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0x0,%edi
  call   <exit@plt>
L74:
  lea    D186(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D140(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D26(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D184(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D159(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D55(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D186(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movl   $0x1,-0x198(%rbp)
  jmp    L205
L164:
  movl   $0x0,-0x194(%rbp)
  jmp    L90
L133:
  mov    -0x194(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,%esi
  lea    D189(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x1a4(%rbp),%eax
  lea    -0x170(%rbp),%rcx
  mov    -0x194(%rbp),%edx
  movslq %edx,%rsi
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rsi,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  mov    %rax,%rsi
  lea    D52(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  mov    -0x1a4(%rbp),%eax
  mov    -0x194(%rbp),%edx
  movslq %edx,%rcx
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  mov    -0x170(%rbp,%rax,4),%eax
  cmp    $0x1,%eax
  jne    L60
  mov    -0x194(%rbp),%eax
  cltq
  mov    -0x17c(%rbp,%rax,4),%eax
  lea    0x1(%rax),%edx
  mov    -0x194(%rbp),%eax
  cltq
  mov    %edx,-0x17c(%rbp,%rax,4)
  addl   $0x1,-0x190(%rbp)
L60:
  mov    -0x1a4(%rbp),%eax
  mov    -0x194(%rbp),%edx
  movslq %edx,%rcx
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  mov    -0x170(%rbp,%rax,4),%eax
  cmp    $0x5,%eax
  jne    L145
  addl   $0x1,-0x1a0(%rbp)
L145:
  mov    -0x1a4(%rbp),%eax
  mov    -0x194(%rbp),%edx
  movslq %edx,%rcx
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  mov    -0x170(%rbp,%rax,4),%eax
  cmp    $0x6,%eax
  jne    L71
  addl   $0x1,-0x19c(%rbp)
L71:
  cmpl   $0x3,-0x194(%rbp)
  jne    L93
  mov    -0x1a4(%rbp),%eax
  cmp    %eax,-0x198(%rbp)
  je     L93
  lea    D13(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
L93:
  addl   $0x1,-0x194(%rbp)
L90:
  cmpl   $0x3,-0x194(%rbp)
  jle    L133
  addl   $0x1,-0x198(%rbp)
L205:
  mov    -0x1a4(%rbp),%eax
  cmp    %eax,-0x198(%rbp)
  jle    L164
  lea    D186(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D128(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movl   $0x0,-0x194(%rbp)
  jmp    L37
L172:
  mov    -0x194(%rbp),%eax
  cltq
  mov    -0x17c(%rbp,%rax,4),%eax
  mov    -0x194(%rbp),%edx
  lea    0x1(%rdx),%ecx
  mov    %eax,%edx
  mov    %ecx,%esi
  lea    D104(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  addl   $0x1,-0x194(%rbp)
L37:
  cmpl   $0x3,-0x194(%rbp)
  jle    L172
  movl   $0x0,-0x198(%rbp)
  jmp    L176
L96:
  mov    -0x198(%rbp),%eax
  cltq
  mov    -0x17c(%rbp,%rax,4),%eax
  cmp    %eax,-0x18c(%rbp)
  jge    L81
  mov    -0x198(%rbp),%eax
  cltq
  mov    -0x17c(%rbp,%rax,4),%eax
  mov    %eax,-0x18c(%rbp)
  mov    -0x198(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x188(%rbp)
L81:
  addl   $0x1,-0x198(%rbp)
L176:
  cmpl   $0x3,-0x198(%rbp)
  jle    L96
  cmpl   $0x0,-0x19c(%rbp)
  jle    L83
  mov    -0x190(%rbp),%eax
  cltd
  idivl  -0x19c(%rbp)
  imul   $0x64,%eax,%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  jmp    L180
L83:
  pxor   %xmm0,%xmm0
L180:
  movss  %xmm0,-0x184(%rbp)
  cmpl   $0x0,-0x1a0(%rbp)
  jle    L76
  mov    -0x190(%rbp),%eax
  cltd
  idivl  -0x1a0(%rbp)
  imul   $0x64,%eax,%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  jmp    L157
L76:
  pxor   %xmm0,%xmm0
L157:
  movss  %xmm0,-0x180(%rbp)
  cmpl   $0x0,-0x188(%rbp)
  je     L50
  mov    -0x18c(%rbp),%edx
  mov    -0x188(%rbp),%eax
  mov    %eax,%esi
  lea    D172(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L50:
  pxor   %xmm1,%xmm1
  cvtss2sd -0x184(%rbp),%xmm1
  movq   %xmm1,%rdx
  mov    -0x19c(%rbp),%eax
  movq   %rdx,%xmm0
  mov    %eax,%esi
  lea    D133(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  pxor   %xmm2,%xmm2
  cvtss2sd -0x180(%rbp),%xmm2
  movq   %xmm2,%rdx
  mov    -0x1a0(%rbp),%eax
  movq   %rdx,%xmm0
  mov    %eax,%esi
  lea    D178(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L135
  call   <__stack_chk_fail@plt>
L135:
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: data_tag: D97
datatype: string
name: retrieve_data
arguments: data_tag: D52
datatype: string
name: retrieve_data
arguments: data_tag: D138
datatype: string
name: retrieve_data
arguments: data_tag: D186
datatype: string
name: retrieve_data
arguments: data_tag: D140
datatype: string
name: retrieve_data
arguments: data_tag: D26
datatype: string
name: retrieve_data
arguments: data_tag: D184
datatype: string
name: retrieve_data
arguments: data_tag: D159
datatype: string
name: retrieve_data
arguments: data_tag: D55
datatype: string
name: retrieve_data
arguments: data_tag: D189
datatype: string
name: retrieve_data
arguments: data_tag: D13
datatype: string
name: retrieve_data
arguments: data_tag: D128
datatype: string
name: retrieve_data
arguments: data_tag: D104
datatype: string
name: retrieve_data
arguments: data_tag: D172
datatype: string
name: retrieve_data
arguments: data_tag: D133
datatype: string
name: retrieve_data
arguments: data_tag: D178
datatype: string

tool: D97: Please, insert the total people to vote (max 30 peoples): 

tool: D52: %d

tool: D138: -----MAX PEOPLE EXCEDED----- 

tool: D186: 
---------------------------------

tool: D140: Here, you can vote, using: 
 

tool: D26: * 1 = Vote in actual candidate; 
 

tool: D184: * 0 = Not vote in candidate actual; 
 

tool: D159: * 5 = Vote null 
 

tool: D55: * 6 = Vote white 
 

tool: D189: Please, do you want vote in candidate %d? 


tool: D13: 
--------Next people--------

tool: D128: Candidates: 

tool: D104: * Candidate %d; Total Vote: %d 


tool: D172: 
Candidate with the most votes: %d; Total votes: %d

tool: D133: 
Total of votes white: %d; Porcent: %.2f 


tool: D178: 
Total of votes null: %d; Porcent: %.2f 


assistant: ```c
int main() {
  int candidate[30][3];
  int candidateTotalVote[3] = {0, 0, 0};
  int totalVoteNull = 0;
  int totalVoteWhite = 0;
  int i, j;
  int people;
  int totalVote;
  int maxVote;
  int candidateMaxVote;
  float porcentVoteNull;
  float porcentVoteWhite;
  printf("Please, insert the total people to vote (max 30 peoples): ");
  scanf("%d", &people);
  if (people > 30) {
    printf("-----MAX PEOPLE EXCEDED----- \n");
    exit(0);
  }
  printf("\n---------------------------------\n");
  printf("Here, you can vote, using: \n ");
  printf("* 1 = Vote in actual candidate; \n ");
  printf("* 0 = Not vote in candidate actual; \n ");
  printf("* 5 = Vote null \n ");
  printf("* 6 = Vote white \n ");
  printf("\n---------------------------------\n");
  for (i = 1; i <= people; i++) {
    for (j = 0; j <= 3; j++) {
      printf("Please, do you want vote in candidate %d? \n", j + 1);
      scanf("%d", &candidate[people][j]);
      if (candidate[people][j] == 1) {
        candidateTotalVote[j] = candidateTotalVote[j] + 1;
        totalVote = totalVote + 1;
      }
      if (candidate[people][j] == 5) {
        totalVoteNull = totalVoteNull + 1;
      }
      if (candidate[people][j] == 6) {
        totalVoteWhite = totalVoteWhite + 1;
      }
      if ((j == 3) && (people != i)) {
        printf("\n--------Next people--------\n");
      }
    }
  }
  printf("\n---------------------------------\n");
  printf("Candidates: \n");
  for (j = 0; j <= 3; j++) {
    printf("* Candidate %d; Total Vote: %d \n", (j + 1), candidateTotalVote[j]);
  }
  for (i = 0; i <= 3; i++) {
    if (candidateTotalVote[i] > maxVote) {
      maxVote = candidateTotalVote[i];
      candidateMaxVote = (i + 1);
    }
  }
  porcentVoteWhite = (totalVoteWhite > 0) ? (totalVote / totalVoteWhite) * 100 : 0;
  porcentVoteNull = (totalVoteNull > 0) ? (totalVote / totalVoteNull) * 100 : 0;
  if (candidateMaxVote != 0)
    printf("\nCandidate with the most votes: %d; Total votes: %d", candidateMaxVote, maxVote);
  printf("\nTotal of votes white: %d; Porcent: %.2f \n", totalVoteWhite, porcentVoteWhite);
  printf("\nTotal of votes null: %d; Porcent: %.2f \n", totalVoteNull, porcentVoteNull);
}
```