user: Please show me the C implementation that matches the assembly code listed below:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x90,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x90(%rbp)
  movl   $0x0,-0x84(%rbp)
  jmp    L17
L69:
  mov    -0x84(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,%esi
  lea    D21(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x70(%rbp),%rcx
  mov    -0x84(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    $0x10,%rax
  lea    (%rcx,%rax,1),%r8
  lea    -0x70(%rbp),%rcx
  mov    -0x84(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    $0xc,%rax
  lea    (%rcx,%rax,1),%rdi
  lea    -0x70(%rbp),%rcx
  mov    -0x84(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    $0x8,%rax
  add    %rax,%rcx
  lea    -0x70(%rbp),%rsi
  mov    -0x84(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    $0x4,%rax
  lea    (%rsi,%rax,1),%rdx
  lea    -0x70(%rbp),%r9
  mov    -0x84(%rbp),%eax
  movslq %eax,%rsi
  mov    %rsi,%rax
  shl    $0x2,%rax
  add    %rsi,%rax
  shl    $0x2,%rax
  add    %r9,%rax
  mov    %r8,%r9
  mov    %rdi,%r8
  mov    %rax,%rsi
  lea    D44(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  addl   $0x1,-0x84(%rbp)
L17:
  cmpl   $0x4,-0x84(%rbp)
  jle    L69
  lea    D51(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movl   $0x0,-0x80(%rbp)
  jmp    L110
L104:
  movl   $0x0,-0x90(%rbp)
  movl   $0x0,-0x7c(%rbp)
  jmp    L63
L47:
  mov    -0x7c(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x80(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  mov    -0x70(%rbp,%rax,4),%eax
  add    %eax,-0x90(%rbp)
  addl   $0x1,-0x7c(%rbp)
L63:
  cmpl   $0x4,-0x7c(%rbp)
  jle    L47
  mov    -0x90(%rbp),%eax
  movslq %eax,%rdx
  imul   $0x66666667,%rdx,%rdx
  shr    $0x20,%rdx
  sar    %edx
  sar    $0x1f,%eax
  mov    %edx,%ecx
  sub    %eax,%ecx
  mov    -0x90(%rbp),%edx
  mov    -0x80(%rbp),%eax
  mov    %eax,%esi
  lea    D17(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  addl   $0x1,-0x80(%rbp)
L110:
  cmpl   $0x4,-0x80(%rbp)
  jle    L104
  lea    D37(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movl   $0x0,-0x78(%rbp)
  jmp    L51
L126:
  movl   $0x0,-0x90(%rbp)
  movl   $0x0,-0x88(%rbp)
  movl   $0x65,-0x8c(%rbp)
  movl   $0x0,-0x74(%rbp)
  jmp    L116
L14:
  mov    -0x78(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x74(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  mov    -0x70(%rbp,%rax,4),%eax
  add    %eax,-0x90(%rbp)
  mov    -0x78(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x74(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  mov    -0x70(%rbp,%rax,4),%eax
  cmp    %eax,-0x88(%rbp)
  jge    L64
  mov    -0x78(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x74(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  mov    -0x70(%rbp,%rax,4),%eax
  mov    %eax,-0x88(%rbp)
L64:
  mov    -0x78(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x74(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  mov    -0x70(%rbp,%rax,4),%eax
  cmp    %eax,-0x8c(%rbp)
  jle    L70
  mov    -0x78(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x74(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  mov    -0x70(%rbp,%rax,4),%eax
  mov    %eax,-0x8c(%rbp)
L70:
  addl   $0x1,-0x74(%rbp)
L116:
  cmpl   $0x4,-0x74(%rbp)
  jle    L14
  mov    -0x90(%rbp),%eax
  movslq %eax,%rdx
  imul   $0x66666667,%rdx,%rdx
  shr    $0x20,%rdx
  sar    %edx
  sar    $0x1f,%eax
  mov    %edx,%esi
  sub    %eax,%esi
  mov    -0x8c(%rbp),%ecx
  mov    -0x88(%rbp),%edx
  mov    -0x78(%rbp),%eax
  mov    %esi,%r8d
  mov    %eax,%esi
  lea    D14(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  addl   $0x1,-0x78(%rbp)
L51:
  cmpl   $0x4,-0x78(%rbp)
  jle    L126
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L95
  call   <__stack_chk_fail@plt>
L95:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D21
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D44
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D51
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D17
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D37
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D14
type_infered: string

tool: D21: Enter student %d's 5 quiz scores: 

tool: D44: %d %d %d %d %d

tool: D51: Student quiz averages:

tool: D17: Student %d's Total: %d Average: %d 


tool: D37: Quiz stats:

tool: D14: Quiz %d: High: %d Low: %d Avg: %d


assistant: ```c
int main(void) {
  int a[5][5];
  int sum = 0;
  int low;
  int high;
  for (int i = 0; i < 5; i += 1) {
    printf("Enter student %d's 5 quiz scores: ", i + 1);
    scanf("%d %d %d %d %d", &a[i][0], &a[i][1], &a[i][2], &a[i][3], &a[i][4]);
  }
  printf("Student quiz averages:\n");
  for (int i = 0; i < 5; i += 1) {
    sum = 0;
    for (int j = 0; j < 5; j += 1) {
      sum += a[i][j];
    }
    printf("Student %d's Total: %d Average: %d \n", i, sum, sum / 5);
  }
  printf("Quiz stats:\n");
  for (int j = 0; j < 5; j += 1) {
    sum = 0;
    high = 0;
    low = 101;
    for (int i = 0; i < 5; i += 1) {
      sum += a[i][j];
      if (a[i][j] > high) {
        high = a[i][j];
      }
      if (a[i][j] < low) {
        low = a[i][j];
      }
    }
    printf("Quiz %d: High: %d Low: %d Avg: %d\n", j, high, low, sum / 5);
  }
  return 0;
}
```