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

```asm
<main>:
  endbr64
  push   %r15
  mov    $0x50,%ecx
  pxor   %xmm0,%xmm0
  push   %r14
  lea    D81(%rip),%r14
  push   %r13
  mov    $0x14,%r13d
  push   %r12
  push   %rbp
  lea    D15(%rip),%rbp
  push   %rbx
  sub    $0x2f8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x2e8(%rsp)
  xor    %eax,%eax
  lea    0x60(%rsp),%rdi
  movaps %xmm0,0x20(%rsp)
  lea    0x14(%rsp),%r12
  mov    %rdi,(%rsp)
  movaps %xmm0,0x30(%rsp)
  movaps %xmm0,0x40(%rsp)
  movaps %xmm0,0x50(%rsp)
  rep stos %rax,%es:(%rdi)
L109:
  mov    %r12,%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    0x14(%rsp),%eax
  sub    $0x2,%eax
  cmp    $0x8,%eax
  ja     L127
L120:
  lea    0x80(%rsp),%rax
  mov    (%rsp),%r12
  xor    %r15d,%r15d
  lea    0x18(%rsp),%r14
  mov    %rax,0x8(%rsp)
  mov    %rax,%rbp
  lea    D48(%rip),%r13
  nopw   0x0(%rax,%rax,1)
L78:
  lea    -0x20(%rbp),%rbx
L33:
  mov    %r14,%rsi
  mov    %r13,%rdi
  xor    %eax,%eax
  add    $0x8,%rbx
  call   <scanf@plt>
  movsd  0x18(%rsp),%xmm0
  movsd  %xmm0,-0x8(%rbx)
  cmp    %rbp,%rbx
  jne    L33
  mov    0x14(%rsp),%esi
  add    $0x1,%r15d
  lea    0x20(%rbx),%rbp
  cmp    %r15d,%esi
  jg     L78
  test   %esi,%esi
  jle    L30
  lea    -0x1(%rsi),%r8d
  movsd  D89(%rip),%xmm1
  movsd  D31(%rip),%xmm2
  lea    0x20(%rsp),%rdi
  movsd  D38(%rip),%xmm3
  shl    $0x5,%r8
  lea    0x40(%rsp),%rcx
  add    0x8(%rsp),%r8
  nopl   (%rax)
L133:
  mov    %rdi,%rax
  mov    %r12,%rdx
L124:
  movsd  (%rdx),%xmm0
  comisd %xmm1,%xmm0
  jb     L138
  comisd %xmm0,%xmm2
  jb     L138
  movsd  (%rax),%xmm0
  addsd  %xmm3,%xmm0
  movsd  %xmm0,(%rax)
L138:
  add    $0x8,%rax
  add    $0x8,%rdx
  cmp    %rax,%rcx
  jne    L124
  add    $0x20,%r12
  cmp    %r8,%r12
  jne    L133
L101:
  pxor   %xmm0,%xmm0
  xor    %eax,%eax
  cvtsi2sd %esi,%xmm0
  divsd  %xmm0,%xmm2
L49:
  movsd  (%rdi,%rax,1),%xmm0
  mulsd  %xmm2,%xmm0
  movsd  %xmm0,(%rcx,%rax,1)
  add    $0x8,%rax
  cmp    $0x20,%rax
  jne    L49
  lea    D71(%rip),%rdi
  xor    %r12d,%r12d
  lea    D87(%rip),%rbp
  call   <puts@plt>
  mov    0x14(%rsp),%eax
  mov    (%rsp),%rbx
  lea    D18(%rip),%r13
  test   %eax,%eax
  jle    L7
  nopw   0x0(%rax,%rax,1)
L28:
  movsd  (%rbx),%xmm0
  mov    %rbp,%rdi
  mov    $0x1,%eax
  add    $0x1,%r12d
  add    $0x20,%rbx
  call   <printf@plt>
  movsd  -0x18(%rbx),%xmm0
  mov    %rbp,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movsd  -0x10(%rbx),%xmm0
  mov    %rbp,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movsd  -0x8(%rbx),%xmm0
  mov    %r13,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  cmp    %r12d,0x14(%rsp)
  jg     L28
L7:
  movsd  0x40(%rsp),%xmm0
  mov    %rbp,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movsd  0x48(%rsp),%xmm0
  mov    %rbp,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movsd  0x50(%rsp),%xmm0
  mov    %rbp,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movsd  0x58(%rsp),%xmm0
  mov    %r13,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    0x2e8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L103
  add    $0x2f8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L127:
  mov    %r14,%rdi
  call   <puts@plt>
  sub    $0x1,%r13d
  jne    L109
  mov    0x14(%rsp),%esi
  test   %esi,%esi
  jg     L120
L30:
  movsd  D31(%rip),%xmm2
  lea    0x20(%rsp),%rdi
  lea    0x40(%rsp),%rcx
  jmp    L101
L103:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D81
type: string
name: disassemble_data
arguments: data_label: D15
type: string
name: disassemble_data
arguments: data_label: D48
type: string
name: disassemble_data
arguments: data_label: D89
type: byte[8]
name: disassemble_data
arguments: data_label: D31
type: f64
name: disassemble_data
arguments: data_label: D38
type: byte[8]
name: disassemble_data
arguments: data_label: D71
type: string
name: disassemble_data
arguments: data_label: D87
type: string
name: disassemble_data
arguments: data_label: D18
type: string

tool: D81: Pogresan unos broja. Unesite ponovno broj studenata:

tool: D15: %d

tool: D48: %lf

tool: {"D89": [0x00,0x00,0x00,0x00,0x00,0x00,0x49,0x40]}

tool: D31: 100

tool: {"D38": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x3f]}

tool: D71: Prolaznost:

tool: D87: %.0lf	

tool: D18: %.0lf

assistant: ```c
int main() {
  int i, j, studenti;
  double postotak, tablica[20][4] = {{0}}, prolaznost[4] = {}, pomocna[4] = {};
  for (i = 0; i < 20; i++) {
    scanf("%d", &studenti);
    if (studenti < 2 || studenti > 10) {
      printf("Pogresan unos broja. Unesite ponovno broj studenata:\n");
      continue;
    } else {
      break;
    }
  }
  for (i = 0; i < studenti; i++) {
    for (j = 0; j < 4; j++) {
      scanf("%lf", &postotak);
      tablica[i][j] = postotak;
    }
  }
  for (i = 0; i < studenti; i++) {
    for (j = 0; j < 4; j++) {
      if (tablica[i][j] >= 50 && tablica[i][j] <= 100) {
        prolaznost[j]++;
      }
    }
  }
  for (i = 0; i < 4; i++) {
    pomocna[i] = (100.00 / studenti) * prolaznost[i];
  }
  printf("Prolaznost:\n");
  for (i = 0; i < studenti; i++) {
    for (j = 0; j < 4; j++) {
      if (j <= 2) {
        printf("%.0lf\t", tablica[i][j]);
      } else {
        printf("%.0lf", tablica[i][j]);
      }
    }
    printf("\n");
  }
  for (i = 0; i < 4; i++) {
    if (i <= 2) {
      printf("%.0lf\t", pomocna[i]);
    } else {
      printf("%.0lf", pomocna[i]);
    }
  }
  return 0;
}
```