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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x60,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x58(%rbp)
  movl   $0x0,-0x60(%rbp)
  jmp    L20
L12:
  movl   $0x0,-0x54(%rbp)
  lea    D17(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x50(%rbp),%rcx
  mov    -0x60(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  mov    %rax,%rsi
  lea    D14(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  movl   $0x1,-0x5c(%rbp)
  jmp    L88
L39:
  mov    -0x5c(%rbp),%eax
  mov    %eax,%esi
  lea    D30(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x50(%rbp),%rcx
  mov    -0x5c(%rbp),%eax
  movslq %eax,%rsi
  mov    -0x60(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rsi,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  mov    %rax,%rsi
  lea    D14(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  mov    -0x5c(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x60(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  mov    -0x50(%rbp,%rax,4),%eax
  add    %eax,-0x54(%rbp)
  addl   $0x1,-0x5c(%rbp)
L88:
  cmpl   $0x3,-0x5c(%rbp)
  jle    L39
  mov    -0x54(%rbp),%eax
  movslq %eax,%rdx
  imul   $0x55555556,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x1f,%eax
  mov    %edx,%ecx
  sub    %eax,%ecx
  mov    -0x60(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rbp,%rax
  sub    $0x40,%rax
  mov    %ecx,(%rax)
  addl   $0x1,-0x60(%rbp)
L20:
  cmpl   $0x2,-0x60(%rbp)
  jle    L12
  movl   $0x0,-0x60(%rbp)
  jmp    L45
L6:
  mov    -0x60(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rbp,%rax
  sub    $0x40,%rax
  mov    (%rax),%eax
  cmp    $0x45,%eax
  jle    L9
  mov    -0x60(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rbp,%rax
  sub    $0x50,%rax
  mov    (%rax),%eax
  mov    %eax,%esi
  lea    D10(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  addl   $0x1,-0x58(%rbp)
  jmp    L44
L9:
  mov    -0x60(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rbp,%rax
  sub    $0x50,%rax
  mov    (%rax),%eax
  mov    %eax,%esi
  lea    D33(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L44:
  addl   $0x1,-0x60(%rbp)
L45:
  cmpl   $0x2,-0x60(%rbp)
  jle    L6
  mov    -0x58(%rbp),%eax
  mov    %eax,%esi
  lea    D32(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L8
  call   <__stack_chk_fail@plt>
L8:
  leave
  ret
```

tool_calls: name: read_data
arguments: data_tag: D17
type_infered: string
name: read_data
arguments: data_tag: D14
type_infered: string
name: read_data
arguments: data_tag: D30
type_infered: string
name: read_data
arguments: data_tag: D10
type_infered: string
name: read_data
arguments: data_tag: D33
type_infered: string
name: read_data
arguments: data_tag: D32
type_infered: string

tool: D17: Digite sua matricula

tool: D14: %d

tool: D30: digite sua %d nota

tool: D10: aluno da matricula %d APROVADO


tool: D33: Aluno da matricula %d REPROVADO


tool: D32: a quantidade de alunos aprovados foram de %d

assistant: ```c
int main() {
  int i, j, aprovado = 0, soma, matriz[3][5];
  for (i = 0; i < 3; i++) {
    soma = 0;
    printf("Digite sua matricula");
    scanf("%d", &matriz[i][0]);
    for (j = 1; j < 5 - 1; j++) {
      printf("digite sua %d nota", j);
      scanf("%d", &matriz[i][j]);
      soma = soma + matriz[i][j];
    }
    matriz[i][4] = soma / 3;
  }
  for (i = 0; i < 3; i++) {
    if (matriz[i][4] >= 70) {
      printf("aluno da matricula %d APROVADO\n", matriz[i][0]);
      aprovado++;
    } else {
      printf("Aluno da matricula %d REPROVADO\n", matriz[i][0]);
    }
  }
  printf("a quantidade de alunos aprovados foram de %d", aprovado);
  return 0;
}
```