user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x4e8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x4d8(%rsp)
  xor    %eax,%eax
  lea    0x340(%rsp),%rdi
  mov    $0x32,%ecx
  rep stos %rax,%es:(%rdi)
  lea    D45(%rip),%rdi
  call   <printf@plt>
  lea    D33(%rip),%rdi
  call   <puts@plt>
  lea    D67(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D65(%rip),%rdi
  call   <puts@plt>
  lea    0x14(%rsp),%rdx
  lea    0x10(%rsp),%rsi
  lea    D166(%rip),%rbx
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D101(%rip),%rdi
  call   <puts@plt>
  lea    0x1c(%rsp),%rdx
  lea    0x18(%rsp),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    0x18(%rsp),%eax
  cmp    %eax,0x14(%rsp)
  jne    L419
L83:
  lea    D15(%rip),%rdi
  call   <puts@plt>
  cmpl   $0x0,0x10(%rsp)
  jle    L232
  lea    0x20(%rsp),%r14
  mov    $0x0,%r13d
  lea    D157(%rip),%r12
  jmp    L359
L419:
  lea    D76(%rip),%rdi
  call   <puts@plt>
  mov    $0x0,%edi
  call   <exit@plt>
  jmp    L83
L390:
  mov    %rbp,%rsi
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  add    $0x1,%ebx
  add    $0x4,%rbp
  cmp    %ebx,0x14(%rsp)
  jg     L390
L259:
  add    $0x1,%r13
  add    $0x28,%r14
  cmp    %r13d,0x10(%rsp)
  jle    L232
L359:
  mov    %r14,%rbp
  mov    $0x0,%ebx
  cmpl   $0x0,0x14(%rsp)
  jg     L390
  jmp    L259
L232:
  lea    D54(%rip),%rdi
  call   <puts@plt>
  mov    0x1c(%rsp),%r12d
  test   %r12d,%r12d
  jle    L227
  lea    0x1b0(%rsp),%r15
  mov    $0x0,%r14d
  lea    D157(%rip),%r13
  jmp    L51
L79:
  mov    %rbp,%rsi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  add    $0x1,%ebx
  add    $0x28,%rbp
  cmp    %ebx,0x18(%rsp)
  jg     L79
L84:
  mov    0x1c(%rsp),%r12d
  add    $0x1,%r14
  add    $0x4,%r15
  cmp    %r14d,%r12d
  jle    L227
L51:
  mov    %r15,%rbp
  mov    $0x0,%ebx
  cmpl   $0x0,0x18(%rsp)
  jg     L79
  jmp    L84
L227:
  mov    0x10(%rsp),%eax
  test   %eax,%eax
  jle    L234
  mov    0x14(%rsp),%ebx
  lea    0x340(%rsp),%r13
  lea    0x20(%rsp),%r11
  lea    -0x1(%rax),%eax
  lea    (%rax,%rax,4),%rax
  lea    0x48(%rsp,%rax,8),%r15
  lea    0x1b0(%rsp),%r14
  lea    -0x1(%rbx),%eax
  lea    (%rax,%rax,4),%rax
  lea    0x1d8(%rsp,%rax,8),%rax
  mov    %rax,0x8(%rsp)
  lea    -0x1(%r12),%eax
  lea    0x1b4(%rsp,%rax,4),%rbp
  jmp    L60
L35:
  mov    %r9,%r10
  mov    (%r9),%esi
  mov    %r8,%rax
  mov    %r11,%rcx
L319:
  mov    (%rcx),%edx
  imul   (%rax),%edx
  add    %edx,%esi
  add    $0x4,%rcx
  add    $0x28,%rax
  cmp    %rdi,%rax
  jne    L319
  mov    %esi,(%r10)
L399:
  add    $0x4,%r9
  add    $0x4,%r8
  add    $0x4,%rdi
  cmp    %rbp,%r8
  je     L59
L355:
  test   %ebx,%ebx
  jg     L35
  jmp    L399
L59:
  add    $0x28,%r13
  add    $0x28,%r11
  cmp    %r15,%r11
  je     L234
L60:
  mov    0x8(%rsp),%rdi
  mov    %r14,%r8
  mov    %r13,%r9
  test   %r12d,%r12d
  jg     L355
  jmp    L59
L234:
  lea    D35(%rip),%rdi
  call   <puts@plt>
  cmpl   $0x0,0x10(%rsp)
  jle    L387
  lea    0x20(%rsp),%rbp
  mov    $0x0,%r13d
  lea    D93(%rip),%r12
  jmp    L239
L343:
  mov    0x0(%rbp,%rbx,4),%esi
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x1,%rbx
  cmp    %ebx,0x14(%rsp)
  jg     L343
L34:
  mov    $0xa,%edi
  call   <putchar@plt>
  add    $0x1,%r13d
  add    $0x28,%rbp
  cmp    %r13d,0x10(%rsp)
  jle    L387
L239:
  mov    $0x0,%ebx
  cmpl   $0x0,0x14(%rsp)
  jg     L343
  jmp    L34
L387:
  mov    $0xa,%edi
  call   <putchar@plt>
  lea    D151(%rip),%rdi
  call   <puts@plt>
  cmpl   $0x0,0x18(%rsp)
  jle    L202
  lea    0x1b0(%rsp),%rbp
  mov    $0x0,%r13d
  lea    D93(%rip),%r12
  jmp    L113
L170:
  mov    0x0(%rbp,%rbx,4),%esi
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x1,%rbx
  cmp    %ebx,0x1c(%rsp)
  jg     L170
L114:
  mov    $0xa,%edi
  call   <putchar@plt>
  add    $0x1,%r13d
  add    $0x28,%rbp
  cmp    %r13d,0x18(%rsp)
  jle    L202
L113:
  mov    $0x0,%ebx
  cmpl   $0x0,0x1c(%rsp)
  jg     L170
  jmp    L114
L202:
  mov    $0xa,%edi
  call   <putchar@plt>
  lea    D64(%rip),%rdi
  call   <puts@plt>
  cmpl   $0x0,0x10(%rsp)
  jle    L98
  lea    0x340(%rsp),%rbp
  mov    $0x0,%r13d
  lea    D93(%rip),%r12
  jmp    L161
L254:
  mov    0x0(%rbp,%rbx,4),%esi
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x1,%rbx
  cmp    %ebx,0x1c(%rsp)
  jg     L254
L386:
  mov    $0xa,%edi
  call   <putchar@plt>
  add    $0x1,%r13d
  add    $0x28,%rbp
  cmp    %r13d,0x10(%rsp)
  jle    L98
L161:
  mov    $0x0,%ebx
  cmpl   $0x0,0x1c(%rsp)
  jg     L254
  jmp    L386
L98:
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    0x4d8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L100
  mov    $0x0,%eax
  add    $0x4e8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L100:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D45
type: string
name: extract_symbolic_data
arguments: data_tag: D33
type: string
name: extract_symbolic_data
arguments: data_tag: D67
type: string
name: extract_symbolic_data
arguments: data_tag: D65
type: string
name: extract_symbolic_data
arguments: data_tag: D166
type: string
name: extract_symbolic_data
arguments: data_tag: D101
type: string
name: extract_symbolic_data
arguments: data_tag: D15
type: string
name: extract_symbolic_data
arguments: data_tag: D157
type: string
name: extract_symbolic_data
arguments: data_tag: D76
type: string
name: extract_symbolic_data
arguments: data_tag: D54
type: string
name: extract_symbolic_data
arguments: data_tag: D35
type: string
name: extract_symbolic_data
arguments: data_tag: D93
type: string
name: extract_symbolic_data
arguments: data_tag: D151
type: string
name: extract_symbolic_data
arguments: data_tag: D64
type: string

tool: D45: 
*********************************************************

tool: D33: 
*	PROGRAM TO IMPLEMENT MATRIX MULIPLICATION	*

tool: D67: *********************************************************

tool: D65: 
Enter the order of Matrix1

tool: D166: %d%d

tool: D101: 
Enter the order of Matrix2

tool: D15: 
Enter the elements of Matrix 1 in row major order

tool: D157: %d

tool: D76: 
Matrix Multiplication not possible

tool: D54: 
Enter the elements of Matrix 2 in column major order

tool: D35: 
Matrix 1

tool: D93: %d	

tool: D151: 
Matrix 2

tool: D64: 
The Product matrix is is 

assistant: ```c
int main(void) {
  int iM, iN, iP, iQ, i, j, k, 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 in row major order\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 in column major order\n");
  for (i = 0; i < iQ; i++)
    for (j = 0; j < iP; j++)
      scanf("%d", &iaMat2[j][i]);
  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");
  return 0;
}
```