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

```asm
<main>:
  endbr64
  push   %rbp
  lea    D42(%rip),%rdi
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  lea    D54(%rip),%r12
  push   %rbx
  sub    $0x48,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  call   <printf@plt>
  lea    -0x3c(%rbp),%rsi
  mov    %r12,%rdi
  call   <scanf@plt>
  movslq -0x3c(%rbp),%rax
  lea    0x0(,%rax,4),%rcx
  imul   %rax,%rax
  mov    %rcx,-0x50(%rbp)
  mov    %rsp,%rcx
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rsi
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rsi
  and    $0xfffffffffffffff0,%rdx
  sub    %rsi,%rcx
  cmp    %rcx,%rsp
  je     L54
L152:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L152
L54:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L187
L105:
  mov    %rax,%rsi
  mov    %rsp,-0x60(%rbp)
  mov    %rax,%rdx
  mov    %rsp,%rcx
  and    $0xfffffffffffff000,%rsi
  and    $0xfffffffffffffff0,%rdx
  sub    %rsi,%rcx
L211:
  cmp    %rcx,%rsp
  je     L246
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L211
L187:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L105
L246:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L111
L59:
  mov    %rax,%rdx
  mov    %rsp,%rcx
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%r13
  and    $0xfffffffffffffff0,%rdx
  sub    %rax,%rcx
L122:
  cmp    %rcx,%rsp
  je     L26
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L122
L111:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L59
L26:
  mov    %rdx,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L269
  orq    $0x0,-0x8(%rsp,%rax,1)
L269:
  lea    D48(%rip),%rdi
  mov    %rsp,-0x68(%rbp)
  call   <puts@plt>
  cmpl   $0x0,-0x3c(%rbp)
  jle    L97
  mov    -0x50(%rbp),%rax
  movl   $0x0,-0x44(%rbp)
  xor    %r15d,%r15d
  shr    $0x2,%rax
  mov    %rax,-0x58(%rbp)
  nopl   (%rax)
L4:
  mov    -0x60(%rbp),%rax
  xor    %ebx,%ebx
  lea    (%rax,%r15,4),%r14
  nopw   0x0(%rax,%rax,1)
L223:
  mov    %r14,%rsi
  mov    %r12,%rdi
  add    $0x1,%ebx
  add    $0x4,%r14
  call   <scanf@plt>
  mov    -0x3c(%rbp),%eax
  cmp    %ebx,%eax
  jg     L223
  addl   $0x1,-0x44(%rbp)
  mov    -0x44(%rbp),%ecx
  cmp    %ecx,%eax
  jle    L97
  add    -0x58(%rbp),%r15
  test   %eax,%eax
  jg     L4
L97:
  lea    D37(%rip),%rdi
  call   <puts@plt>
  mov    -0x3c(%rbp),%edx
  test   %edx,%edx
  jle    L42
  mov    -0x50(%rbp),%r14
  movq   $0x0,-0x58(%rbp)
  movl   $0x0,-0x44(%rbp)
  shr    $0x2,%r14
  nopw   0x0(%rax,%rax,1)
L266:
  mov    -0x58(%rbp),%rax
  xor    %r15d,%r15d
  lea    0x0(%r13,%rax,4),%rbx
  nopl   0x0(%rax)
L210:
  mov    %rbx,%rsi
  mov    %r12,%rdi
  add    $0x1,%r15d
  add    $0x4,%rbx
  call   <scanf@plt>
  mov    -0x3c(%rbp),%r10d
  cmp    %r15d,%r10d
  jg     L210
  addl   $0x1,-0x44(%rbp)
  mov    -0x44(%rbp),%eax
  cmp    %eax,%r10d
  jle    L61
  add    %r14,-0x58(%rbp)
  jmp    L266
L61:
  test   %r10d,%r10d
  jle    L42
  mov    -0x68(%rbp),%r12
  mov    -0x60(%rbp),%rbx
  xor    %r8d,%r8d
  movslq %r10d,%rsi
  nopl   0x0(%rax)
L249:
  xor    %r11d,%r11d
  nopl   0x0(%rax,%rax,1)
L248:
  xor    %edx,%edx
  xor    %ecx,%ecx
  movslq %r11d,%rdi
  nopw   0x0(%rax,%rax,1)
L60:
  movslq %edx,%rax
  mov    (%rbx,%rdx,4),%r15d
  add    $0x1,%rdx
  imul   %r14,%rax
  add    %rdi,%rax
  imul   0x0(%r13,%rax,4),%r15d
  add    %r15d,%ecx
  cmp    %rsi,%rdx
  jne    L60
  mov    %ecx,(%r12,%r11,4)
  add    $0x1,%r11
  cmp    %rsi,%r11
  jne    L248
  mov    -0x50(%rbp),%rax
  add    $0x1,%r8d
  add    %rax,%r12
  add    %rax,%rbx
  cmp    %r8d,%r10d
  jne    L249
L42:
  lea    D0(%rip),%rdi
  call   <puts@plt>
  mov    -0x3c(%rbp),%eax
  test   %eax,%eax
  jle    L78
  mov    -0x68(%rbp),%r12
  xor    %r15d,%r15d
  lea    D33(%rip),%r14
  nopl   0x0(%rax)
L195:
  xor    %ebx,%ebx
  nopw   0x0(%rax,%rax,1)
L49:
  mov    (%r12,%rbx,4),%esi
  mov    %r14,%rdi
  xor    %eax,%eax
  add    $0x1,%rbx
  call   <printf@plt>
  cmp    %ebx,-0x3c(%rbp)
  jg     L49
  mov    $0xa,%edi
  add    $0x1,%r15d
  call   <putchar@plt>
  add    -0x50(%rbp),%r12
  cmp    %r15d,-0x3c(%rbp)
  jg     L195
L78:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L259
  lea    -0x28(%rbp),%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L259:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: tag: D42
type: string
name: extract_symbolic_data
arguments: tag: D54
type: string
name: extract_symbolic_data
arguments: tag: D48
type: string
name: extract_symbolic_data
arguments: tag: D37
type: string
name: extract_symbolic_data
arguments: tag: D0
type: string
name: extract_symbolic_data
arguments: tag: D33
type: string

tool: D42: Enter The Value of N: 

tool: D54: %d

tool: D48: Enter the Matrix A: 

tool: D37: Enter the Matrix B: 

tool: D0: AxB: 

tool: D33: %d 

assistant: ```c
int main() {
  int n;
  printf("Enter The Value of N: ");
  scanf("%d", &n);
  int a[n][n], b[n][n], c[n][n];
  int i, j, k, sum;
  printf("Enter the Matrix A: \n");
  for (i = 0; i < n; i++)
    for (j = 0; j < n; j++)
      scanf("%d", &a[i][j]);
  printf("Enter the Matrix B: \n");
  for (i = 0; i < n; i++)
    for (j = 0; j < n; j++)
      scanf("%d", &b[i][j]);
  for (i = 0; i < n; i++) {
    for (j = 0; j < n; j++) {
      sum = 0;
      for (k = 0; k < n; k++)
        sum += (a[i][k] * b[k][j]);
      c[i][j] = sum;
    }
  }
  printf("AxB: \n");
  for (i = 0; i < n; i++) {
    for (j = 0; j < n; j++)
      printf("%d ", c[i][j]);
    printf("\n");
  }
  return 0;
}
```