user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<main>:
  endbr64
  push   %r15
  lea    D52(%rip),%rdi
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x348,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x338(%rsp)
  xor    %eax,%eax
  call   <puts@plt>
  lea    0x8(%rsp),%rsi
  lea    0xc(%rsp),%rdx
  xor    %eax,%eax
  lea    D34(%rip),%rdi
  call   <scanf@plt>
  lea    D19(%rip),%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%esi
  test   %esi,%esi
  jle    L11
  lea    0x10(%rsp),%r12
  xor    %r14d,%r14d
  lea    D3(%rip),%r13
  mov    %r12,%r15
  cs nopw 0x0(%rax,%rax,1)
L51:
  mov    0xc(%rsp),%ecx
  mov    %r15,%rbp
  xor    %ebx,%ebx
  test   %ecx,%ecx
  jle    L100
  nopl   (%rax)
L18:
  mov    %rbp,%rsi
  mov    %r13,%rdi
  xor    %eax,%eax
  add    $0x1,%ebx
  call   <scanf@plt>
  add    $0x4,%rbp
  cmp    %ebx,0xc(%rsp)
  jg     L18
L100:
  mov    0x8(%rsp),%eax
  add    $0x1,%r14
  add    $0x28,%r15
  cmp    %r14d,%eax
  jg     L51
  test   %eax,%eax
  jle    L11
  mov    0xc(%rsp),%r8d
  sub    $0x1,%eax
  lea    0x1a0(%rsp),%rdi
  lea    0x1a4(%rsp,%rax,4),%r9
  lea    -0x1(%r8),%edx
  lea    (%rdx,%rdx,4),%rdx
  lea    0x1c8(%rsp,%rdx,8),%rsi
  nopw   0x0(%rax,%rax,1)
L102:
  mov    %rdi,%rax
  mov    %r12,%rdx
  test   %r8d,%r8d
  jle    L9
  nopl   0x0(%rax,%rax,1)
L49:
  mov    (%rdx),%ecx
  add    $0x28,%rax
  add    $0x4,%rdx
  mov    %ecx,-0x28(%rax)
  cmp    %rsi,%rax
  jne    L49
L9:
  add    $0x4,%rdi
  add    $0x28,%r12
  add    $0x4,%rsi
  cmp    %r9,%rdi
  jne    L102
L11:
  lea    D56(%rip),%rdi
  call   <puts@plt>
  mov    0xc(%rsp),%edx
  test   %edx,%edx
  jle    L91
  lea    0x1a0(%rsp),%rbp
  xor    %r13d,%r13d
  lea    D14(%rip),%r12
  nopl   0x0(%rax)
L71:
  mov    0x8(%rsp),%eax
  xor    %ebx,%ebx
  test   %eax,%eax
  jle    L47
  nopw   0x0(%rax,%rax,1)
L15:
  mov    0x0(%rbp,%rbx,4),%esi
  mov    %r12,%rdi
  xor    %eax,%eax
  add    $0x1,%rbx
  call   <printf@plt>
  cmp    %ebx,0x8(%rsp)
  jg     L15
L47:
  mov    $0xa,%edi
  add    $0x1,%r13d
  add    $0x28,%rbp
  call   <putchar@plt>
  cmp    %r13d,0xc(%rsp)
  jg     L71
L91:
  mov    0x338(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L120
  add    $0x348,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L120:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D52
data_type: string
name: extract_symbolic_data
arguments: data_label: D34
data_type: string
name: extract_symbolic_data
arguments: data_label: D19
data_type: string
name: extract_symbolic_data
arguments: data_label: D3
data_type: string
name: extract_symbolic_data
arguments: data_label: D56
data_type: string
name: extract_symbolic_data
arguments: data_label: D14
data_type: string

tool: D52: Vyvedi broi redove i koloni na matircata 

tool: D34: %d%d

tool: D19: Vyvedete elementite na matricata

tool: D3: %d

tool: D56: Transponiranata matrica :-

tool: D14: %d	

assistant: ```c
int main() {
  int m, n, c, d, matrix[10][10], transpose[10][10];
  printf("Vyvedi broi redove i koloni na matircata \n");
  scanf("%d%d", &m, &n);
  printf("Vyvedete elementite na matricata\n");
  for (c = 0; c < m; c++)
    for (d = 0; d < n; d++)
      scanf("%d", &matrix[c][d]);
  for (c = 0; c < m; c++)
    for (d = 0; d < n; d++)
      transpose[d][c] = matrix[c][d];
  printf("Transponiranata matrica :-\n");
  for (c = 0; c < n; c++) {
    for (d = 0; d < m; d++)
      printf("%d\t", transpose[c][d]);
    printf("\n");
  }
  return 0;
}
```