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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x58,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  lea    D114(%rip),%rdi
  call   <puts@plt>
  lea    -0x48(%rbp),%rsi
  lea    D77(%rip),%rbx
  mov    %rbx,%rdi
  call   <scanf@plt>
  lea    D93(%rip),%rdi
  call   <puts@plt>
  lea    -0x44(%rbp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  movslq -0x44(%rbp),%rdx
  lea    0x0(,%rdx,4),%rax
  mov    %rax,-0x60(%rbp)
  movslq -0x48(%rbp),%rax
  imul   %rdx,%rax
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rdx
  and    $0xfffffffffffffff0,%rdx
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rcx
  sub    %rax,%rcx
L453:
  cmp    %rcx,%rsp
  je     L425
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L453
L425:
  mov    %rdx,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L299
  orq    $0x0,-0x8(%rsp,%rax,1)
L299:
  mov    %rsp,-0x58(%rbp)
  lea    D149(%rip),%rdi
  call   <puts@plt>
  cmpl   $0x0,-0x48(%rbp)
  jle    L316
  mov    -0x60(%rbp),%rax
  shr    $0x2,%rax
  mov    %rax,-0x68(%rbp)
  mov    $0x0,%r15d
  mov    $0x0,%r14d
  lea    D77(%rip),%r13
  jmp    L469
L119:
  mov    %r12,%rsi
  mov    %r13,%rdi
  call   <scanf@plt>
  add    $0x1,%ebx
  add    $0x4,%r12
  cmp    %ebx,-0x44(%rbp)
  jg     L119
L434:
  add    $0x1,%r14d
  add    -0x68(%rbp),%r15
  cmp    %r14d,-0x48(%rbp)
  jle    L316
L469:
  mov    -0x58(%rbp),%rax
  lea    (%rax,%r15,4),%r12
  mov    $0x0,%ebx
  cmpl   $0x0,-0x44(%rbp)
  jg     L119
  jmp    L434
L316:
  lea    D16(%rip),%rdi
  call   <puts@plt>
  cmpl   $0x0,-0x48(%rbp)
  jle    L135
  mov    -0x58(%rbp),%r12
  mov    $0x0,%r14d
  lea    D102(%rip),%r13
  jmp    L363
L137:
  mov    (%r12,%rbx,4),%esi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x1,%rbx
  cmp    %ebx,-0x44(%rbp)
  jg     L137
L275:
  mov    $0xa,%edi
  call   <putchar@plt>
  add    $0x1,%r14d
  add    -0x60(%rbp),%r12
  cmp    %r14d,-0x48(%rbp)
  jle    L135
L363:
  mov    $0x0,%ebx
  cmpl   $0x0,-0x44(%rbp)
  jg     L137
  jmp    L275
L135:
  lea    D128(%rip),%rdi
  call   <puts@plt>
  lea    -0x40(%rbp),%rsi
  lea    D77(%rip),%rbx
  mov    %rbx,%rdi
  call   <scanf@plt>
  lea    D47(%rip),%rdi
  call   <puts@plt>
  lea    -0x3c(%rbp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  mov    -0x40(%rbp),%ecx
  movslq -0x3c(%rbp),%rdx
  movslq %ecx,%rax
  imul   %rdx,%rax
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rsi
  and    $0xfffffffffffffff0,%rsi
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rdi
  sub    %rax,%rdi
L297:
  cmp    %rdi,%rsp
  je     L252
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L297
L252:
  mov    %rsi,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L484
  orq    $0x0,-0x8(%rsp,%rax,1)
L484:
  mov    %rsp,%r15
  movslq -0x48(%rbp),%rax
  imul   %rdx,%rax
  lea    0xf(,%rax,4),%rsi
  mov    %rsi,%rax
  and    $0xfffffffffffffff0,%rax
  and    $0xfffffffffffff000,%rsi
  mov    %rsp,%rdi
  sub    %rsi,%rdi
L60:
  cmp    %rdi,%rsp
  je     L64
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L60
L64:
  mov    %rax,%rsi
  and    $0xfff,%esi
  sub    %rsi,%rsp
  test   %rsi,%rsi
  je     L32
  orq    $0x0,-0x8(%rsp,%rsi,1)
L32:
  mov    %rsp,-0x80(%rbp)
  cmp    %ecx,-0x44(%rbp)
  je     L163
  lea    D157(%rip),%rdi
  call   <puts@plt>
L62:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L416
  mov    $0x0,%eax
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L163:
  lea    0x0(,%rdx,4),%rax
  mov    %rax,%rbx
  mov    %rax,-0x68(%rbp)
  lea    D118(%rip),%rdi
  call   <puts@plt>
  cmpl   $0x0,-0x40(%rbp)
  jle    L242
  mov    %rbx,%rax
  shr    $0x2,%rax
  mov    %rax,-0x78(%rbp)
  mov    $0x0,%eax
  mov    $0x0,%r14d
  lea    D77(%rip),%r13
  mov    %r15,-0x70(%rbp)
  mov    %rax,%r15
  jmp    L40
L355:
  mov    %r12,%rsi
  mov    %r13,%rdi
  call   <scanf@plt>
  add    $0x1,%ebx
  add    $0x4,%r12
  cmp    %ebx,-0x3c(%rbp)
  jg     L355
L387:
  add    $0x1,%r14d
  add    -0x78(%rbp),%r15
  cmp    %r14d,-0x40(%rbp)
  jle    L69
L40:
  mov    -0x70(%rbp),%rax
  lea    (%rax,%r15,4),%r12
  mov    $0x0,%ebx
  cmpl   $0x0,-0x3c(%rbp)
  jg     L355
  jmp    L387
L69:
  mov    -0x70(%rbp),%r15
L242:
  lea    D148(%rip),%rdi
  call   <puts@plt>
  mov    -0x40(%rbp),%r11d
  test   %r11d,%r11d
  jle    L273
  mov    %r15,%r12
  mov    $0x0,%r14d
  lea    D102(%rip),%r13
  jmp    L94
L417:
  mov    (%r12,%rbx,4),%esi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x1,%rbx
  cmp    %ebx,-0x3c(%rbp)
  jg     L417
L317:
  mov    $0xa,%edi
  call   <putchar@plt>
  add    $0x1,%r14d
  mov    -0x40(%rbp),%r11d
  add    -0x68(%rbp),%r12
  cmp    %r14d,%r11d
  jle    L273
L94:
  mov    $0x0,%ebx
  cmpl   $0x0,-0x3c(%rbp)
  jg     L417
  jmp    L317
L273:
  mov    -0x48(%rbp),%eax
  mov    %eax,-0x70(%rbp)
  test   %eax,%eax
  jle    L33
  mov    -0x3c(%rbp),%r14d
  mov    -0x68(%rbp),%r9
  shr    $0x2,%r9
  mov    -0x80(%rbp),%rbx
  mov    -0x58(%rbp),%rdi
  mov    $0x0,%r13d
  mov    %r14d,%r12d
  mov    %r11d,%r8d
  jmp    L172
L344:
  mov    %r10,-0x58(%rbp)
L329:
  movslq %edx,%rax
  imul   %r9,%rax
  add    %rsi,%rax
  mov    (%rdi,%rdx,4),%r10d
  imul   (%r15,%rax,4),%r10d
  add    %r10d,%ecx
  add    $0x1,%rdx
  cmp    %rdx,%r8
  jne    L329
  mov    -0x58(%rbp),%r10
L106:
  mov    %ecx,(%rbx,%r10,4)
  add    $0x1,%r10
  cmp    %r12,%r10
  je     L100
L169:
  mov    $0x0,%edx
  mov    $0x0,%ecx
  movslq %r10d,%rsi
  test   %r11d,%r11d
  jg     L344
  jmp    L106
L100:
  add    $0x1,%r13d
  add    -0x68(%rbp),%rbx
  add    -0x60(%rbp),%rdi
  cmp    -0x70(%rbp),%r13d
  je     L33
L172:
  test   %r14d,%r14d
  jle    L100
  mov    $0x0,%r10d
  jmp    L169
L33:
  lea    D48(%rip),%rdi
  call   <puts@plt>
  cmpl   $0x0,-0x48(%rbp)
  jle    L62
  mov    -0x80(%rbp),%r12
  mov    $0x0,%r14d
  lea    D23(%rip),%r13
  mov    -0x68(%rbp),%r15
  jmp    L141
L369:
  mov    (%r12,%rbx,4),%esi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x1,%rbx
  cmp    %ebx,-0x3c(%rbp)
  jg     L369
L43:
  mov    $0xa,%edi
  call   <putchar@plt>
  add    $0x1,%r14d
  add    %r15,%r12
  cmp    %r14d,-0x48(%rbp)
  jle    L62
L141:
  mov    $0x0,%ebx
  cmpl   $0x0,-0x3c(%rbp)
  jg     L369
  jmp    L43
L416:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: label: D114
type_guessed: string
name: unpack_data
arguments: label: D77
type_guessed: string
name: unpack_data
arguments: label: D93
type_guessed: string
name: unpack_data
arguments: label: D149
type_guessed: string
name: unpack_data
arguments: label: D16
type_guessed: string
name: unpack_data
arguments: label: D102
type_guessed: string
name: unpack_data
arguments: label: D128
type_guessed: string
name: unpack_data
arguments: label: D47
type_guessed: string
name: unpack_data
arguments: label: D157
type_guessed: string
name: unpack_data
arguments: label: D118
type_guessed: string
name: unpack_data
arguments: label: D148
type_guessed: string
name: unpack_data
arguments: label: D48
type_guessed: string
name: unpack_data
arguments: label: D23
type_guessed: string

tool: D114: Wprowadz liczbe wierszy pierwszej macierzy!

tool: D77: %d

tool: D93: Wprowadz liczbe kolumn pierwszej macierzy!

tool: D149: Wprowadz elementy macierzy 1

tool: D16: 
Twoja macierz 1 to:

tool: D102: %d 

tool: D128: Wprowadz liczbe wierszy drugiej macierzy!

tool: D47: Wprowadz liczbe kolumn drugiej macierzy!

tool: D157: Macierze nie moga byc pomnozone! Kolumny macierzy 1 nie sa rowne liczbie wierszy macierzy 2!

tool: D118: Wprowadz ilosc elementow macierzy 2

tool: D148: 
Twoja macierz 2 to :

tool: D48: Wynik mnozenia macierzy: 

tool: D23: %d	

assistant: ```c
int main() {
  int m, n, p, q, y, x, k, sum = 0;
  printf("Wprowadz liczbe wierszy pierwszej macierzy!\n");
  scanf("%d", &m);
  printf("Wprowadz liczbe kolumn pierwszej macierzy!\n");
  scanf("%d", &n);
  int pierwsza[m][n];
  printf("Wprowadz elementy macierzy 1\n");
  for (y = 0; y < m; y++)
    for (x = 0; x < n; x++)
      scanf("%d", &pierwsza[y][x]);
  printf("\nTwoja macierz 1 to:\n");
  for (y = 0; y < m; y++) {
    for (x = 0; x < n; x++) {
      printf("%d ", pierwsza[y][x]);
    }
    printf("\n");
  }
  printf("Wprowadz liczbe wierszy drugiej macierzy!\n");
  scanf("%d", &p);
  printf("Wprowadz liczbe kolumn drugiej macierzy!\n");
  scanf("%d", &q);
  int druga[p][q];
  int mnozenie[m][q];
  if (n != p)
    printf("Macierze nie moga byc pomnozone! Kolumny macierzy 1 nie sa rowne liczbie wierszy macierzy 2!\n");
  else {
    printf("Wprowadz ilosc elementow macierzy 2\n");
    for (y = 0; y < p; y++)
      for (x = 0; x < q; x++)
        scanf("%d", &druga[y][x]);
    printf("\nTwoja macierz 2 to :\n");
    for (y = 0; y < p; y++) {
      for (x = 0; x < q; x++) {
        printf("%d ", druga[y][x]);
      }
      printf("\n");
    }
    for (y = 0; y < m; y++) {
      for (x = 0; x < q; x++) {
        for (k = 0; k < p; k++) {
          sum = sum + pierwsza[y][k] * druga[k][x];
        }
        mnozenie[y][x] = sum;
        sum = 0;
      }
    }
    printf("Wynik mnozenia macierzy: \n");
    for (y = 0; y < m; y++) {
      for (x = 0; x < q; x++)
        printf("%d\t", mnozenie[y][x]);
      printf("\n");
    }
  }
  return 0;
}
```