user: 请将以下的汇编代码转换成C语言代码:

```asm
<main>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x30,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  lea    D13(%rip),%r14
  mov    %r14,%rdi
  call   <printf@plt>
  lea    0x8(%rsp),%rsi
  lea    D89(%rip),%rbx
  mov    %rbx,%rdi
  call   <scanf@plt>
  lea    D78(%rip),%r13
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x10(%rsp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  lea    D3(%rip),%r12
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x18(%rsp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  lea    D38(%rip),%rbp
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x20(%rsp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  mov    %r14,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0xc(%rsp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x14(%rsp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x1c(%rsp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x24(%rsp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  mov    $0x0,%ebx
  lea    D11(%rip),%r14
  lea    D18(%rip),%r13
  lea    D77(%rip),%r12
  lea    D36(%rip),%rbp
L4:
  cmpl   $0x63,0x10(%rsp,%rbx,1)
  jg     L9
L27:
  add    $0x4,%rbx
  cmp    $0x8,%rbx
  jne    L4
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L35
  mov    $0x0,%eax
  add    $0x30,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L9:
  mov    0x8(%rsp,%rbx,1),%esi
  mov    %r14,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x10(%rsp,%rbx,1),%esi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x18(%rsp,%rbx,1),%esi
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x20(%rsp,%rbx,1),%esi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L27
L35:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: tag: D13
datatype: string
name: parse_data
arguments: tag: D89
datatype: string
name: parse_data
arguments: tag: D78
datatype: string
name: parse_data
arguments: tag: D3
datatype: string
name: parse_data
arguments: tag: D38
datatype: string
name: parse_data
arguments: tag: D11
datatype: string
name: parse_data
arguments: tag: D18
datatype: string
name: parse_data
arguments: tag: D77
datatype: string
name: parse_data
arguments: tag: D36
datatype: string

tool: D13: Digite a matricula do aluno

tool: D89: %d

tool: D78: Digite a quantidade de acertos 

tool: D3: Digite a quantidade de erros

tool: D38: Digite a quantidade de questoes em brancos

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


tool: D18: com %d acertos


tool: D77: errou %d questoes


tool: D36: 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]);
    }
  }
}
```