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,-0x68(%rbp)
  movl   $0x0,-0x64(%rbp)
  lea    D37(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movl   $0x0,-0x84(%rbp)
  jmp    L117
L217:
  movl   $0x0,-0x88(%rbp)
  jmp    L132
L173:
  lea    -0x60(%rbp),%rcx
  mov    -0x84(%rbp),%eax
  movslq %eax,%rsi
  mov    -0x88(%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    D41(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  addl   $0x1,-0x88(%rbp)
L132:
  cmpl   $0x3,-0x88(%rbp)
  jle    L173
  addl   $0x1,-0x84(%rbp)
L117:
  cmpl   $0x4,-0x84(%rbp)
  jle    L217
  mov    $0xa,%edi
  call   <putchar@plt>
  movl   $0x0,-0x88(%rbp)
  jmp    L165
L153:
  mov    -0x88(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,%esi
  lea    D17(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movl   $0x0,-0x84(%rbp)
  jmp    L114
L181:
  mov    -0x84(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x88(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  mov    -0x60(%rbp,%rax,4),%eax
  mov    %eax,%esi
  lea    D83(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  addl   $0x1,-0x84(%rbp)
L114:
  cmpl   $0x4,-0x84(%rbp)
  jle    L181
  mov    $0xa,%edi
  call   <putchar@plt>
  addl   $0x1,-0x88(%rbp)
L165:
  cmpl   $0x3,-0x88(%rbp)
  jle    L153
  lea    D5(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movl   $0x0,-0x88(%rbp)
  jmp    L52
L16:
  movl   $0x0,-0x84(%rbp)
  jmp    L51
L15:
  mov    -0x84(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x88(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  mov    -0x60(%rbp,%rax,4),%eax
  mov    %eax,%esi
  lea    D77(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  addl   $0x1,-0x84(%rbp)
L51:
  cmpl   $0x4,-0x84(%rbp)
  jle    L15
  mov    $0xa,%edi
  call   <putchar@plt>
  addl   $0x1,-0x88(%rbp)
L52:
  cmpl   $0x3,-0x88(%rbp)
  jle    L16
  mov    -0x60(%rbp),%eax
  mov    %eax,-0x80(%rbp)
  mov    -0x60(%rbp),%eax
  mov    %eax,-0x7c(%rbp)
  movl   $0x0,-0x70(%rbp)
  movl   $0x0,-0x6c(%rbp)
  movl   $0x0,-0x78(%rbp)
  movl   $0x0,-0x74(%rbp)
  movl   $0x0,-0x84(%rbp)
  jmp    L158
L205:
  movl   $0x0,-0x88(%rbp)
  jmp    L87
L2:
  mov    -0x84(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x88(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  mov    -0x60(%rbp,%rax,4),%eax
  cmp    %eax,-0x80(%rbp)
  jge    L41
  mov    -0x84(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x88(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  mov    -0x60(%rbp,%rax,4),%eax
  mov    %eax,-0x80(%rbp)
  mov    -0x88(%rbp),%eax
  mov    %eax,-0x70(%rbp)
  mov    -0x84(%rbp),%eax
  mov    %eax,-0x6c(%rbp)
  jmp    L22
L41:
  mov    -0x84(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x88(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  mov    -0x60(%rbp,%rax,4),%eax
  cmp    %eax,-0x7c(%rbp)
  jle    L22
  mov    -0x84(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x88(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  mov    -0x60(%rbp,%rax,4),%eax
  mov    %eax,-0x7c(%rbp)
  mov    -0x88(%rbp),%eax
  mov    %eax,-0x78(%rbp)
  mov    -0x84(%rbp),%eax
  mov    %eax,-0x74(%rbp)
L22:
  mov    -0x84(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x88(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  mov    -0x60(%rbp,%rax,4),%eax
  test   %eax,%eax
  jns    L42
  addl   $0x1,-0x68(%rbp)
L42:
  cmpl   $0x2,-0x84(%rbp)
  jne    L26
  mov    -0x84(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x88(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  mov    -0x60(%rbp,%rax,4),%eax
  add    %eax,-0x64(%rbp)
L26:
  addl   $0x1,-0x88(%rbp)
L87:
  cmpl   $0x3,-0x88(%rbp)
  jle    L2
  addl   $0x1,-0x84(%rbp)
L158:
  cmpl   $0x4,-0x84(%rbp)
  jle    L205
  mov    -0x78(%rbp),%r8d
  mov    -0x7c(%rbp),%edi
  mov    -0x6c(%rbp),%ecx
  mov    -0x70(%rbp),%edx
  mov    -0x80(%rbp),%eax
  sub    $0x8,%rsp
  mov    -0x74(%rbp),%esi
  push   %rsi
  mov    %r8d,%r9d
  mov    %edi,%r8d
  mov    %eax,%esi
  lea    D34(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x10,%rsp
  mov    -0x64(%rbp),%eax
  mov    %eax,%esi
  lea    D26(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x14,%eax
  sub    -0x68(%rbp),%eax
  mov    %eax,%edx
  mov    -0x68(%rbp),%eax
  mov    %eax,%esi
  lea    D74(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L17
  call   <__stack_chk_fail@plt>
L17:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D37
data_type: string
name: extract_symbolic_data
arguments: data_label: D41
data_type: string
name: extract_symbolic_data
arguments: data_label: D17
data_type: string
name: extract_symbolic_data
arguments: data_label: D83
data_type: string
name: extract_symbolic_data
arguments: data_label: D5
data_type: string
name: extract_symbolic_data
arguments: data_label: D77
data_type: string
name: extract_symbolic_data
arguments: data_label: D34
data_type: string
name: extract_symbolic_data
arguments: data_label: D26
data_type: string
name: extract_symbolic_data
arguments: data_label: D74
data_type: string

tool: D37: Vamos analisar uma matriz 4x5!
Forneca os valores dela, ao todo 20.
(A matriz sera orientada por Linhas)

tool: D41: %d

tool: D17: Linha %d:  

tool: D83: %d 

tool: D5: 

Matriz dos Dados:

tool: D77: [%d]	

tool: D34: 

O maior numero digitado e o: %d [Pos: %d %d]
 e o menor numero digitado e o: %d [Pos: %d %d]



tool: D26: A soma dos elementos da terceira coluna e: %d



tool: D74: Foram inseridos %d numeros negativos e %d numeros positivos.


assistant: ```c
int main() {
  int numero[4][5];
  int i, j, maior, menor, menori, menorj, maiori, maiorj, negativos = 0, col3 = 0;
  printf("Vamos analisar uma matriz 4x5!\nForneca os valores dela, ao todo 20.\n(A matriz sera orientada por Linhas)\n");
  for (j = 0; j < 5; j++) {
    for (i = 0; i < 4; i++) {
      scanf("%d", &numero[i][j]);
    }
  }
  printf("\n");
  for (i = 0; i < 4; i++) {
    printf("Linha %d:  ", (i + 1));
    for (j = 0; j < 5; j++) {
      printf("%d ", numero[i][j]);
    }
    printf("\n");
  }
  printf("\n\nMatriz dos Dados:\n");
  for (i = 0; i < 4; i++) {
    for (j = 0; j < 5; j++) {
      printf("[%d]\t", numero[i][j]);
    }
    printf("\n");
  }
  maior = numero[0][0];
  menor = numero[0][0];
  maiori = 0;
  maiorj = 0;
  menori = 0;
  menorj = 0;
  for (j = 0; j < 5; j++) {
    for (i = 0; i < 4; i++) {
      if (numero[i][j] > maior) {
        maior = numero[i][j];
        maiori = i;
        maiorj = j;
      } else if (numero[i][j] < menor) {
        menor = numero[i][j];
        menori = i;
        menorj = j;
      }
      if (numero[i][j] < 0) {
        negativos++;
      }
      if (j == 2) {
        col3 = col3 + numero[i][j];
      }
    }
  }
  printf("\n\nO maior numero digitado e o: %d [Pos: %d %d]\n e o menor numero digitado e o: %d [Pos: %d %d]\n\n", maior, maiori, maiorj, menor, menori, menorj);
  printf("A soma dos elementos da terceira coluna e: %d\n\n", col3);
  printf("Foram inseridos %d numeros negativos e %d numeros positivos.\n", negativos, (20 - negativos));
  return 0;
}
```