user: What would the C source look like for the assembly code provided here?

```asm
<analise_fifo_m>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x58,%rsp
  mov    %edi,-0x74(%rbp)
  mov    %rsi,-0x80(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  mov    %rsp,%rax
  mov    %rax,%rbx
  mov    -0x74(%rbp),%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x58(%rbp)
  movslq %eax,%rdx
  mov    %rdx,%r14
  mov    $0x0,%r15d
  movslq %eax,%rdx
  mov    %rdx,%r12
  mov    $0x0,%r13d
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%edi
  mov    $0x0,%edx
  div    %rdi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L33:
  cmp    %rdx,%rsp
  je     L117
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L33
L117:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L65
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L65:
  mov    %rsp,%rax
  add    $0x3,%rax
  shr    $0x2,%rax
  shl    $0x2,%rax
  mov    %rax,-0x50(%rbp)
  mov    -0x74(%rbp),%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x48(%rbp)
  movslq %eax,%rdx
  mov    %rdx,%r10
  mov    $0x0,%r11d
  movslq %eax,%rdx
  mov    %rdx,%r8
  mov    $0x0,%r9d
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%edi
  mov    $0x0,%edx
  div    %rdi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L114:
  cmp    %rdx,%rsp
  je     L97
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L114
L97:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L90
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L90:
  mov    %rsp,%rax
  add    $0x3,%rax
  shr    $0x2,%rax
  shl    $0x2,%rax
  mov    %rax,-0x40(%rbp)
  movl   $0x0,-0x64(%rbp)
  movl   $0x0,-0x68(%rbp)
  jmp    L22
L98:
  mov    -0x68(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    -0x40(%rbp),%rcx
  mov    -0x74(%rbp),%edx
  mov    -0x50(%rbp),%rsi
  mov    %eax,%edi
  call   <quadro_ausente_fifo_m@plt>
  mov    %eax,-0x60(%rbp)
  cmpl   $0x0,-0x60(%rbp)
  je     L73
  mov    -0x68(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x50(%rbp),%rax
  mov    -0x68(%rbp),%edx
  movslq %edx,%rdx
  mov    %ecx,(%rax,%rdx,4)
L73:
  addl   $0x1,-0x68(%rbp)
L22:
  mov    -0x68(%rbp),%eax
  cmp    -0x74(%rbp),%eax
  jl     L98
  jmp    L126
L21:
  mov    -0x68(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    -0x40(%rbp),%rcx
  mov    -0x74(%rbp),%edx
  mov    -0x50(%rbp),%rsi
  mov    %eax,%edi
  call   <quadro_ausente_fifo_m@plt>
  mov    %eax,-0x60(%rbp)
  cmpl   $0x0,-0x60(%rbp)
  je     L113
  addl   $0x1,-0x64(%rbp)
  mov    -0x74(%rbp),%edx
  mov    -0x40(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <calc_posicao_fifo_m@plt>
  mov    %eax,-0x5c(%rbp)
  mov    -0x68(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x50(%rbp),%rax
  mov    -0x5c(%rbp),%edx
  movslq %edx,%rdx
  mov    %ecx,(%rax,%rdx,4)
L113:
  addl   $0x1,-0x68(%rbp)
L126:
  mov    -0x68(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  test   %eax,%eax
  jg     L21
  mov    -0x64(%rbp),%eax
  mov    %rbx,%rsp
  mov    -0x38(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L85
  call   <__stack_chk_fail@plt>
L85:
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

assistant: ```c
int analise_fifo_m(int numero_de_quadros, int *referencias) {
  int vetor_quadros[numero_de_quadros], vetor_alloc[numero_de_quadros];
  int cont, cont_alloc;
  int page_fault;
  int qtd_page_fault = 0;
  for (cont = 0; cont < numero_de_quadros; cont++) {
    page_fault = quadro_ausente_fifo_m(referencias[cont], vetor_quadros, numero_de_quadros, vetor_alloc);
    if (page_fault) {
      vetor_quadros[cont] = referencias[cont];
    }
  }
  while (referencias[cont] > 0) {
    page_fault = quadro_ausente_fifo_m(referencias[cont], vetor_quadros, numero_de_quadros, vetor_alloc);
    if (page_fault) {
      qtd_page_fault++;
      cont_alloc = calc_posicao_fifo_m(vetor_alloc, numero_de_quadros);
      vetor_quadros[cont_alloc] = referencias[cont];
    };
    cont++;
  }
  return qtd_page_fault;
}
```