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

```asm
<main>:
  endbr64
  push   %r15
  lea    D18(%rip),%rdx
  lea    D60(%rip),%r15
  push   %r14
  lea    D58(%rip),%r14
  push   %r13
  lea    D64(%rip),%r13
  push   %r12
  push   %rbp
  lea    D88(%rip),%rbp
  push   %rbx
  xor    %ebx,%ebx
  sub    $0x58,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x48(%rsp)
  xor    %eax,%eax
  lea    0x28(%rsp),%rax
  lea    0x30(%rsp),%r12
  mov    %rax,0x18(%rsp)
  lea    0x38(%rsp),%rax
  mov    %rax,0x8(%rsp)
  lea    0x40(%rsp),%rax
  mov    %rax,0x10(%rsp)
L24:
  mov    %rdx,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x18(%rsp),%rax
  mov    %rbp,%rdi
  lea    (%rax,%rbx,1),%rsi
  call   <scanf@plt>
  mov    %r15,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    (%r12,%rbx,1),%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x8(%rsp),%rax
  mov    %rbp,%rdi
  lea    (%rax,%rbx,1),%rsi
  call   <scanf@plt>
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x10(%rsp),%rax
  mov    %rbp,%rdi
  lea    (%rax,%rbx,1),%rsi
  add    $0x4,%rbx
  call   <scanf@plt>
  cmp    $0x8,%rbx
  lea    D18(%rip),%rdx
  jne    L24
  xor    %r14d,%r14d
  lea    D2(%rip),%r15
  lea    D24(%rip),%rbp
  lea    D82(%rip),%rbx
  lea    D14(%rip),%r13
L46:
  cmpl   $0x63,(%r12,%r14,1)
  jg     L48
L14:
  add    $0x4,%r14
  cmp    $0x8,%r14
  jne    L46
  mov    0x48(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L37
  add    $0x58,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L48:
  mov    0x18(%rsp),%rax
  mov    %r15,%rdi
  mov    (%rax,%r14,1),%esi
  xor    %eax,%eax
  call   <printf@plt>
  mov    (%r12,%r14,1),%esi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x8(%rsp),%rax
  mov    %rbx,%rdi
  mov    (%rax,%r14,1),%esi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x10(%rsp),%rax
  mov    %r13,%rdi
  mov    (%rax,%r14,1),%esi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L14
L37:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D18
type: string
name: extract_symbolic_data
arguments: data_label: D60
type: string
name: extract_symbolic_data
arguments: data_label: D58
type: string
name: extract_symbolic_data
arguments: data_label: D64
type: string
name: extract_symbolic_data
arguments: data_label: D88
type: string
name: extract_symbolic_data
arguments: data_label: D2
type: string
name: extract_symbolic_data
arguments: data_label: D24
type: string
name: extract_symbolic_data
arguments: data_label: D82
type: string
name: extract_symbolic_data
arguments: data_label: D14
type: string

tool: D18: Digite a matricula do aluno

tool: D60: Digite a quantidade de acertos 

tool: D58: Digite a quantidade de erros

tool: D64: Digite a quantidade de questoes em brancos

tool: D88: %d

tool: D2: matricula : %d acertou mais de 50 por cento das questoes


tool: D24: com %d acertos


tool: D82: errou %d questoes


tool: D14: com %d questoes nao respondidas

assistant: ```c
int main() {
  int i, c, matricula[2], qtdacerto[2], qtderros[2], qtdbranco[2];
  for (c = 0; c < 2; c++) {
    printf("Digite a matricula do aluno");
    scanf("%d", &matricula[c]);
    printf("Digite a quantidade de acertos ");
    scanf("%d", &qtdacerto[c]);
    printf("Digite a quantidade de erros");
    scanf("%d", &qtderros[c]);
    printf("Digite a quantidade de questoes em brancos");
    scanf("%d", &qtdbranco[c]);
  }
  for (c = 0; c < 2; c++) {
    if (qtdacerto[c] >= 100) {
      printf("matricula : %d acertou mais de 50 por cento das questoes\n", matricula[c]);
      printf("com %d acertos\n", qtdacerto[c]);
      printf("errou %d questoes\n", qtderros[c]);
      printf("com %d questoes nao respondidas", qtdbranco[c]);
    }
  }
}
```