user: Converte this assembly snippet into its equivalent C code:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x78,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  mov    %rsp,%rax
  mov    %rax,-0x98(%rbp)
  movl   $0x0,-0x60(%rbp)
  lea    -0x60(%rbp),%rax
  mov    %rax,%rsi
  lea    D11(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  mov    -0x60(%rbp),%ecx
  mov    -0x60(%rbp),%esi
  movslq %ecx,%rax
  sub    $0x1,%rax
  mov    %rax,-0x50(%rbp)
  movslq %ecx,%rax
  mov    %rax,-0x90(%rbp)
  movq   $0x0,-0x88(%rbp)
  movslq %ecx,%rax
  lea    0x0(,%rax,4),%rbx
  movslq %esi,%rax
  sub    $0x1,%rax
  mov    %rax,-0x48(%rbp)
  movslq %ecx,%rax
  mov    %rax,-0x70(%rbp)
  movq   $0x0,-0x68(%rbp)
  movslq %esi,%rax
  mov    %rax,-0x80(%rbp)
  movq   $0x0,-0x78(%rbp)
  mov    -0x70(%rbp),%r8
  mov    -0x68(%rbp),%r9
  mov    %r9,%rdx
  mov    -0x80(%rbp),%r10
  mov    -0x78(%rbp),%r11
  imul   %r10,%rdx
  mov    %r11,%rax
  imul   %r8,%rax
  lea    (%rdx,%rax,1),%rdi
  mov    %r8,%rax
  mul    %r10
  add    %rdx,%rdi
  mov    %rdi,%rdx
  movslq %ecx,%rax
  mov    %rax,%r14
  mov    $0x0,%r15d
  movslq %esi,%rax
  mov    %rax,%r12
  mov    $0x0,%r13d
  mov    %r15,%rdx
  imul   %r12,%rdx
  mov    %r13,%rax
  imul   %r14,%rax
  lea    (%rdx,%rax,1),%rdi
  mov    %r14,%rax
  mul    %r12
  add    %rdx,%rdi
  mov    %rdi,%rdx
  movslq %ecx,%rdx
  movslq %esi,%rax
  imul   %rdx,%rax
  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
L65:
  cmp    %rdx,%rsp
  je     L55
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L65
L55:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L4
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L4:
  mov    %rsp,%rax
  add    $0x3,%rax
  shr    $0x2,%rax
  shl    $0x2,%rax
  mov    %rax,-0x40(%rbp)
  movl   $0x0,-0x5c(%rbp)
  jmp    L74
L79:
  mov    -0x5c(%rbp),%eax
  mov    %eax,-0x58(%rbp)
  jmp    L106
L134:
  mov    -0x5c(%rbp),%eax
  mov    %eax,-0x54(%rbp)
  jmp    L1
L31:
  mov    %rbx,%rsi
  shr    $0x2,%rsi
  mov    -0x5c(%rbp),%eax
  lea    0x1(%rax),%ecx
  mov    -0x40(%rbp),%rax
  mov    -0x54(%rbp),%edx
  movslq %edx,%rdi
  mov    -0x58(%rbp),%edx
  movslq %edx,%rdx
  imul   %rsi,%rdx
  add    %rdi,%rdx
  mov    %ecx,(%rax,%rdx,4)
  addl   $0x1,-0x54(%rbp)
L1:
  mov    -0x60(%rbp),%eax
  sub    -0x5c(%rbp),%eax
  cmp    %eax,-0x54(%rbp)
  jl     L31
  addl   $0x1,-0x58(%rbp)
L106:
  mov    -0x60(%rbp),%eax
  sub    -0x5c(%rbp),%eax
  cmp    %eax,-0x58(%rbp)
  jl     L134
  addl   $0x1,-0x5c(%rbp)
L74:
  mov    -0x60(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  cmp    %eax,-0x5c(%rbp)
  jle    L79
  movl   $0x0,-0x5c(%rbp)
  jmp    L104
L58:
  movl   $0x0,-0x58(%rbp)
  jmp    L66
L71:
  mov    %rbx,%rcx
  shr    $0x2,%rcx
  mov    -0x40(%rbp),%rax
  mov    -0x58(%rbp),%edx
  movslq %edx,%rsi
  mov    -0x5c(%rbp),%edx
  movslq %edx,%rdx
  imul   %rcx,%rdx
  add    %rsi,%rdx
  mov    (%rax,%rdx,4),%eax
  mov    %eax,%esi
  lea    D11(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  addl   $0x1,-0x58(%rbp)
L66:
  mov    -0x60(%rbp),%eax
  cmp    %eax,-0x58(%rbp)
  jl     L71
  mov    $0xa,%edi
  call   <putchar@plt>
  addl   $0x1,-0x5c(%rbp)
L104:
  mov    -0x60(%rbp),%eax
  cmp    %eax,-0x5c(%rbp)
  jl     L58
  mov    $0x0,%eax
  mov    -0x98(%rbp),%rsp
  mov    -0x38(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L128
  call   <__stack_chk_fail@plt>
L128:
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

tool_calls: name: parse_data
arguments: data_tag: D11
type_guessed: string

tool: D11: %d

assistant: ```c
int main() {
  int n = 0;
  scanf("%d", &n);
  int matriz[n][n];
  int i;
  int j;
  int k;
  for (i = 0; i < (n / 2 + 1); i++) {
    for (j = i; j < n - i; j++) {
      for (k = i; k < n - i; k++) {
        matriz[j][k] = i + 1;
      }
    }
  }
  for (i = 0; i < n; i++) {
    for (j = 0; j < n; j++) {
      printf("%d", matriz[i][j]);
    }
    printf("\n");
  }
  return 0;
}
```