user: Translate the below assembly code into C programming language:

```asm
<get_simetrik>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  mov    %rdi,%r12
  lea    D11(%rip),%rdi
  push   %rbx
  sub    $0x88,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  call   <clr_file@plt>
  mov    %r12,%rdi
  call   <get_file_mtrx_size@plt>
  mov    %eax,%r14d
  sub    $0x4,%eax
  cmp    $0xc,%eax
  ja     L138
  movslq %r14d,%rax
  mov    %rsp,%rcx
  mov    %rsp,-0x90(%rbp)
  mov    %rax,-0x78(%rbp)
  imul   %rax,%rax
  lea    0xf(,%rax,4),%rdx
  mov    %rdx,%rax
  and    $0xfffffffffffff000,%rdx
  sub    %rdx,%rcx
  and    $0xfffffffffffffff0,%rax
  cmp    %rcx,%rsp
  je     L105
L117:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L117
L105:
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L63
  orq    $0x0,-0x8(%rsp,%rax,1)
L63:
  mov    %rsp,%rbx
  mov    %r14d,%esi
  mov    %r12,%rdi
  mov    %rbx,%rdx
  mov    %rbx,-0xa0(%rbp)
  call   <file2mtrx@plt>
  mov    %rbx,%rsi
  mov    %r14d,%edi
  call   <simetrik@plt>
  test   %rax,%rax
  je     L81
  lea    D11(%rip),%rdi
  lea    D18(%rip),%rsi
  call   <wrt2file@plt>
  lea    D39(%rip),%rdi
  call   <printf@plt>
L123:
  lea    -0x1(%r14),%eax
  movq   $0x1,-0x68(%rbp)
  mov    %eax,-0x84(%rbp)
  mov    %eax,-0x70(%rbp)
  mov    -0x78(%rbp),%rax
  lea    0x0(,%rax,4),%r13
  lea    0x1(%r14),%eax
  mov    %eax,-0x88(%rbp)
L100:
  mov    -0x78(%rbp),%rax
  mov    %rsp,-0x98(%rbp)
  lea    0x0(,%rax,4),%rcx
  imul   %rax,%rax
  mov    %rcx,-0x48(%rbp)
  mov    %rsp,%rcx
  lea    0xf(,%rax,4),%rdx
  mov    %rdx,%rax
  and    $0xfffffffffffff000,%rdx
  sub    %rdx,%rcx
  and    $0xfffffffffffffff0,%rax
  cmp    %rcx,%rsp
  je     L187
L139:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L139
L187:
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L106
  orq    $0x0,-0x8(%rsp,%rax,1)
L106:
  mov    -0xa0(%rbp),%rax
  mov    %rsp,-0x58(%rbp)
  movl   $0x0,-0x6c(%rbp)
  mov    %rax,-0x80(%rbp)
  mov    -0x70(%rbp),%eax
  lea    0x4(,%rax,4),%rbx
  mov    -0x88(%rbp),%eax
  sub    %r14d,%eax
  mov    %eax,-0xa4(%rbp)
L96:
  mov    -0x80(%rbp),%rax
  movq   $0x0,-0x50(%rbp)
  mov    %rax,-0x60(%rbp)
  nopw   0x0(%rax,%rax,1)
L64:
  test   %r14d,%r14d
  jle    L92
  mov    -0x58(%rbp),%rdi
  mov    -0x60(%rbp),%r12
  xor    %r15d,%r15d
  nopl   0x0(%rax,%rax,1)
L78:
  mov    %r12,%rsi
  mov    %rbx,%rdx
  add    $0x1,%r15d
  add    %r13,%r12
  call   <memcpy@plt>
  mov    %rax,%rdi
  add    -0x48(%rbp),%rdi
  cmp    %r14d,%r15d
  jne    L78
L92:
  mov    -0x58(%rbp),%rsi
  mov    %r14d,%edi
  call   <simetrik@plt>
  test   %rax,%rax
  jne    L168
L141:
  addq   $0x1,-0x50(%rbp)
  mov    -0x50(%rbp),%rax
  addq   $0x4,-0x60(%rbp)
  cmp    -0x68(%rbp),%rax
  jne    L64
  addl   $0x1,-0x6c(%rbp)
  mov    -0x6c(%rbp),%eax
  add    %r13,-0x80(%rbp)
  cmp    -0xa4(%rbp),%eax
  jne    L96
  mov    -0x50(%rbp),%rcx
  mov    -0x84(%rbp),%eax
  subl   $0x1,-0x70(%rbp)
  mov    -0x98(%rbp),%rsp
  add    $0x1,%rcx
  subq   $0x1,-0x78(%rbp)
  mov    %eax,%r14d
  mov    %rcx,-0x68(%rbp)
  cmp    $0x1,%eax
  je     L124
  sub    $0x1,%eax
  mov    %eax,-0x84(%rbp)
  jmp    L100
L138:
  lea    D23(%rip),%rdi
  call   <printf@plt>
L9:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L182
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L168:
  mov    -0x58(%rbp),%rdx
  mov    %r14d,%esi
  lea    D11(%rip),%rdi
  call   <mtrx2file@plt>
  jmp    L141
L124:
  mov    -0x90(%rbp),%rsp
  jmp    L9
L81:
  lea    D85(%rip),%rsi
  lea    D11(%rip),%rdi
  call   <wrt2file@plt>
  lea    D77(%rip),%rdi
  call   <printf@plt>
  jmp    L123
L182:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D11
data_type: string
name: extract_symbolic_data
arguments: data_label: D18
data_type: string
name: extract_symbolic_data
arguments: data_label: D39
data_type: string
name: extract_symbolic_data
arguments: data_label: D23
data_type: string
name: extract_symbolic_data
arguments: data_label: D85
data_type: string
name: extract_symbolic_data
arguments: data_label: D77
data_type: string

tool: D11: simetrik.txt

tool: D18: Girilen matris simetrik matristir



tool: D39: 
Girilen matris simetrik matristir


tool: D23: get_simetrik(): Hatali matris formati


tool: D85: Girilen matris simetrik degildir



tool: D77: 
Girilen matris simetrik degildir


assistant: ```c
void get_simetrik(char *filename) {
  clr_file("simetrik.txt");
  int mtrx_size = get_file_mtrx_size(filename);
  if (mtrx_size >= 4 && mtrx_size <= 16) {
    int mat[mtrx_size][mtrx_size];
    file2mtrx(filename, mtrx_size, mat);
    if (simetrik(mtrx_size, mat)) {
      wrt2file("simetrik.txt", "Girilen matris simetrik matristir\n\n");
      printf("\nGirilen matris simetrik matristir\n");
    } else {
      wrt2file("simetrik.txt", "Girilen matris simetrik degildir\n\n");
      printf("\nGirilen matris simetrik degildir\n");
    }
    int i, j, ioff, joff, off_cnt;
    int sub_mtrx_size;
    for (sub_mtrx_size = mtrx_size; sub_mtrx_size > 1; sub_mtrx_size--) {
      int tmp_mtrx[sub_mtrx_size][sub_mtrx_size];
      off_cnt = mtrx_size - sub_mtrx_size + 1;
      for (ioff = 0; ioff < off_cnt; ioff++) {
        for (joff = 0; joff < off_cnt; joff++) {
          for (i = 0; i < sub_mtrx_size; i++) {
            for (j = 0; j < sub_mtrx_size; j++) {
              tmp_mtrx[i][j] = mat[i + ioff][j + joff];
            }
          }
          if (simetrik(sub_mtrx_size, tmp_mtrx)) {
            mtrx2file("simetrik.txt", sub_mtrx_size, tmp_mtrx);
          }
        }
      }
    }
  } else {
    printf("get_simetrik(): Hatali matris formati\n");
  }
}
```