user: 请将以下的汇编代码转换成C语言代码：

```asm
<main>:
  endbr64
  push   %r15
  mov    $0x32,%ecx
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  lea    D104(%rip),%rbp
  push   %rbx
  sub    $0x4e8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x4d8(%rsp)
  xor    %eax,%eax
  lea    0x340(%rsp),%rdi
  mov    %rdi,0x8(%rsp)
  rep stos %rax,%es:(%rdi)
  lea    D177(%rip),%rdi
  call   <printf@plt>
  lea    D137(%rip),%rdi
  call   <puts@plt>
  lea    D83(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D152(%rip),%rdi
  call   <puts@plt>
  lea    0x14(%rsp),%rdx
  mov    %rbp,%rdi
  xor    %eax,%eax
  lea    0x10(%rsp),%rsi
  call   <scanf@plt>
  lea    D124(%rip),%rdi
  call   <puts@plt>
  lea    0x1c(%rsp),%rdx
  mov    %rbp,%rdi
  xor    %eax,%eax
  lea    0x18(%rsp),%rsi
  call   <scanf@plt>
  mov    0x18(%rsp),%eax
  cmp    %eax,0x14(%rsp)
  je     L240
  lea    D116(%rip),%rdi
  call   <puts@plt>
  xor    %edi,%edi
  call   <exit@plt>
L240:
  lea    D61(%rip),%rdi
  call   <puts@plt>
  mov    0x10(%rsp),%ebx
  test   %ebx,%ebx
  jle    L116
  lea    0x20(%rsp),%r14
  xor    %r13d,%r13d
  lea    D46(%rip),%r12
  nopw   0x0(%rax,%rax,1)
L143:
  mov    0x14(%rsp),%r11d
  mov    %r14,%rbp
  xor    %ebx,%ebx
  test   %r11d,%r11d
  jle    L190
  nop
L297:
  mov    %rbp,%rsi
  mov    %r12,%rdi
  xor    %eax,%eax
  add    $0x1,%ebx
  call   <scanf@plt>
  add    $0x4,%rbp
  cmp    %ebx,0x14(%rsp)
  jg     L297
L190:
  add    $0x1,%r13
  add    $0x28,%r14
  cmp    %r13d,0x10(%rsp)
  jg     L143
L116:
  lea    D150(%rip),%rdi
  call   <puts@plt>
  mov    0x18(%rsp),%r10d
  test   %r10d,%r10d
  jle    L111
  lea    0x1b0(%rsp),%r14
  xor    %r13d,%r13d
  lea    D46(%rip),%r12
  nopl   0x0(%rax)
L231:
  mov    0x1c(%rsp),%r9d
  mov    %r14,%rbp
  xor    %ebx,%ebx
  test   %r9d,%r9d
  jle    L311
  nopw   0x0(%rax,%rax,1)
L14:
  mov    %rbp,%rsi
  mov    %r12,%rdi
  xor    %eax,%eax
  add    $0x1,%ebx
  call   <scanf@plt>
  add    $0x4,%rbp
  cmp    %ebx,0x1c(%rsp)
  jg     L14
L311:
  add    $0x1,%r13
  add    $0x28,%r14
  cmp    %r13d,0x18(%rsp)
  jg     L231
L111:
  mov    0x10(%rsp),%eax
  test   %eax,%eax
  jle    L304
  mov    0x14(%rsp),%r11d
  sub    $0x1,%eax
  mov    0x1c(%rsp),%r12d
  lea    0x20(%rsp),%r10
  lea    (%rax,%rax,4),%rax
  mov    0x8(%rsp),%rbp
  lea    0x1b0(%rsp),%r14
  lea    0x48(%rsp,%rax,8),%r15
  lea    -0x1(%r11),%eax
  lea    (%rax,%rax,4),%rax
  lea    0x1d8(%rsp,%rax,8),%r13
  lea    -0x1(%r12),%eax
  lea    0x1b4(%rsp,%rax,4),%rbx
  nopw   0x0(%rax,%rax,1)
L205:
  mov    %r13,%rdi
  mov    %r14,%r8
  mov    %rbp,%r9
  test   %r12d,%r12d
  jle    L75
  xchg   %ax,%ax
L56:
  test   %r11d,%r11d
  jle    L85
  mov    (%r9),%esi
  mov    %r8,%rax
  mov    %r10,%rcx
  xchg   %ax,%ax
L65:
  mov    (%rcx),%edx
  imul   (%rax),%edx
  add    $0x28,%rax
  add    $0x4,%rcx
  add    %edx,%esi
  cmp    %rdi,%rax
  jne    L65
  mov    %esi,(%r9)
L85:
  add    $0x4,%r8
  add    $0x4,%r9
  add    $0x4,%rdi
  cmp    %rbx,%r8
  jne    L56
L75:
  add    $0x28,%r10
  add    $0x28,%rbp
  cmp    %r15,%r10
  jne    L205
L304:
  lea    D159(%rip),%rdi
  call   <puts@plt>
  mov    0x10(%rsp),%r8d
  test   %r8d,%r8d
  jle    L91
  lea    0x20(%rsp),%rbp
  xor    %r13d,%r13d
  lea    D94(%rip),%r12
  nopw   0x0(%rax,%rax,1)
L184:
  mov    0x14(%rsp),%edi
  xor    %ebx,%ebx
  test   %edi,%edi
  jle    L178
  nopw   0x0(%rax,%rax,1)
L25:
  mov    0x0(%rbp,%rbx,4),%esi
  mov    %r12,%rdi
  xor    %eax,%eax
  add    $0x1,%rbx
  call   <printf@plt>
  cmp    %ebx,0x14(%rsp)
  jg     L25
L178:
  mov    $0xa,%edi
  add    $0x1,%r13d
  add    $0x28,%rbp
  call   <putchar@plt>
  cmp    %r13d,0x10(%rsp)
  jg     L184
L91:
  mov    $0xa,%edi
  call   <putchar@plt>
  lea    D156(%rip),%rdi
  call   <puts@plt>
  mov    0x18(%rsp),%esi
  test   %esi,%esi
  jle    L34
  lea    0x1b0(%rsp),%rbp
  xor    %r13d,%r13d
  lea    D94(%rip),%r12
  nopl   0x0(%rax)
L145:
  mov    0x1c(%rsp),%ecx
  xor    %ebx,%ebx
  test   %ecx,%ecx
  jle    L102
  nopw   0x0(%rax,%rax,1)
L186:
  mov    0x0(%rbp,%rbx,4),%esi
  mov    %r12,%rdi
  xor    %eax,%eax
  add    $0x1,%rbx
  call   <printf@plt>
  cmp    %ebx,0x1c(%rsp)
  jg     L186
L102:
  mov    $0xa,%edi
  add    $0x1,%r13d
  add    $0x28,%rbp
  call   <putchar@plt>
  cmp    %r13d,0x18(%rsp)
  jg     L145
L34:
  mov    $0xa,%edi
  call   <putchar@plt>
  lea    D5(%rip),%rdi
  call   <puts@plt>
  mov    0x10(%rsp),%edx
  test   %edx,%edx
  jle    L277
  mov    0x8(%rsp),%rbp
  xor    %r13d,%r13d
  lea    D94(%rip),%r12
  cs nopw 0x0(%rax,%rax,1)
L94:
  mov    0x1c(%rsp),%eax
  xor    %ebx,%ebx
  test   %eax,%eax
  jle    L318
  nopw   0x0(%rax,%rax,1)
L321:
  mov    0x0(%rbp,%rbx,4),%esi
  mov    %r12,%rdi
  xor    %eax,%eax
  add    $0x1,%rbx
  call   <printf@plt>
  cmp    %ebx,0x1c(%rsp)
  jg     L321
L318:
  mov    $0xa,%edi
  add    $0x1,%r13d
  add    $0x28,%rbp
  call   <putchar@plt>
  cmp    %r13d,0x10(%rsp)
  jg     L94
L277:
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    0x10(%rsp),%edx
  cmp    0x1c(%rsp),%edx
  jne    L127
  test   %edx,%edx
  jle    L281
  sub    $0x1,%edx
  mov    0x8(%rsp),%rax
  xor    %esi,%esi
  imul   $0x2c,%rdx,%rdx
  lea    0x36c(%rsp,%rdx,1),%rdx
L1:
  add    (%rax),%esi
  add    $0x2c,%rax
  cmp    %rax,%rdx
  jne    L1
L195:
  lea    D99(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
L247:
  mov    0x4d8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L163
  add    $0x4e8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L127:
  lea    D180(%rip),%rdi
  call   <puts@plt>
  jmp    L247
L281:
  xor    %esi,%esi
  jmp    L195
L163:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_tag: D104
type_guessed: string
name: disassemble_data
arguments: data_tag: D177
type_guessed: string
name: disassemble_data
arguments: data_tag: D137
type_guessed: string
name: disassemble_data
arguments: data_tag: D83
type_guessed: string
name: disassemble_data
arguments: data_tag: D152
type_guessed: string
name: disassemble_data
arguments: data_tag: D124
type_guessed: string
name: disassemble_data
arguments: data_tag: D116
type_guessed: string
name: disassemble_data
arguments: data_tag: D61
type_guessed: string
name: disassemble_data
arguments: data_tag: D46
type_guessed: string
name: disassemble_data
arguments: data_tag: D150
type_guessed: string
name: disassemble_data
arguments: data_tag: D159
type_guessed: string
name: disassemble_data
arguments: data_tag: D94
type_guessed: string
name: disassemble_data
arguments: data_tag: D156
type_guessed: string
name: disassemble_data
arguments: data_tag: D5
type_guessed: string
name: disassemble_data
arguments: data_tag: D99
type_guessed: string
name: disassemble_data
arguments: data_tag: D180
type_guessed: string

tool: D104: %d%d

tool: D177: 
*********************************************************

tool: D137: 
*	PROGRAM TO IMPLEMENT MATRIX MULIPLICATION	*

tool: D83: *********************************************************

tool: D152: 
Enter the order of Matrix1

tool: D124: 
Enter the order of Matrix2

tool: D116: 
Matrix Multiplication not possible

tool: D61: 
Enter the elements of Matrix 1

tool: D46: %d

tool: D150: 
Enter the elements of Matrix 2

tool: D159: 
Matrix 1

tool: D94: %d	

tool: D156: 
Matrix 2

tool: D5: 
The Product matrix is is 

tool: D99: 
Trace of the Product Matrix is : %d


tool: D180: 
Trace does not exist for the Product Matrix

assistant: ```c
int main(void) {
  int iM, iN, iP, iQ, i, j, k, iTrace = 0, iaMat1[10][10], iaMat2[10][10];
  int iaProd[10][10] = {0};
  printf("\n*********************************************************");
  printf("\n*\tPROGRAM TO IMPLEMENT MATRIX MULIPLICATION\t*\n");
  printf("*********************************************************");
  printf("\nEnter the order of Matrix1\n");
  scanf("%d%d", &iM, &iN);
  printf("\nEnter the order of Matrix2\n");
  scanf("%d%d", &iP, &iQ);
  if (iN != iP) {
    printf("\nMatrix Multiplication not possible\n");
    exit(0);
  }
  printf("\nEnter the elements of Matrix 1\n");
  for (i = 0; i < iM; i++)
    for (j = 0; j < iN; j++)
      scanf("%d", &iaMat1[i][j]);
  printf("\nEnter the elements of Matrix 2\n");
  for (i = 0; i < iP; i++)
    for (j = 0; j < iQ; j++)
      scanf("%d", &iaMat2[i][j]);
  for (i = 0; i < iM; i++) {
    for (j = 0; j < iQ; j++) {
      for (k = 0; k < iN; k++) {
        iaProd[i][j] += iaMat1[i][k] * iaMat2[k][j];
      }
    }
  }
  printf("\nMatrix 1\n");
  for (i = 0; i < iM; i++) {
    for (j = 0; j < iN; j++) {
      printf("%d\t", iaMat1[i][j]);
    }
    printf("\n");
  }
  printf("\n");
  printf("\nMatrix 2\n");
  for (i = 0; i < iP; i++) {
    for (j = 0; j < iQ; j++) {
      printf("%d\t", iaMat2[i][j]);
    }
    printf("\n");
  }
  printf("\n");
  printf("\nThe Product matrix is is \n");
  for (i = 0; i < iM; i++) {
    for (j = 0; j < iQ; j++) {
      printf("%d\t", iaProd[i][j]);
    }
    printf("\n");
  }
  printf("\n");
  if (iM == iQ) {
    for (i = 0; i < iM; i++)
      iTrace += iaProd[i][i];
    printf("\nTrace of the Product Matrix is : %d\n", iTrace);
  } else
    printf("\nTrace does not exist for the Product Matrix\n");
  return 0;
}
```