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

```asm
<main>:
  endbr64
  push   %r14
  push   %r13
  lea    D49(%rip),%r13
  push   %r12
  lea    D62(%rip),%r12
  push   %rbp
  lea    D48(%rip),%rbp
  push   %rbx
  sub    $0x20,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  movb   $0x30,0xf(%rsp)
  mov    $0x30,%eax
  movl   $0x0,0x10(%rsp)
  movl   $0x0,0x14(%rsp)
  jmp    L27
  nopl   0x0(%rax)
L59:
  cmp    $0x32,%al
  jne    L54
  lea    D13(%rip),%rdi
  call   <printf@plt>
  mov    0x14(%rsp),%esi
  mov    0x10(%rsp),%edi
  call   <wyswietl@plt>
L76:
  movzbl 0xf(%rsp),%eax
L27:
  lea    D81(%rip),%rbx
L54:
  cmp    $0x34,%al
  je     L56
L72:
  mov    %r13,%rdi
  call   <printf@plt>
  mov    %r12,%rdi
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <printf@plt>
  mov    %rbx,%rdi
  call   <printf@plt>
  lea    D102(%rip),%rdi
  call   <printf@plt>
  lea    0xf(%rsp),%rsi
  lea    D77(%rip),%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  movzbl 0xf(%rsp),%eax
  cmp    $0x33,%al
  je     L96
  jg     L37
  cmp    $0x31,%al
  jne    L59
  lea    D44(%rip),%rdi
  lea    D12(%rip),%r14
  call   <printf@plt>
  lea    D76(%rip),%rdi
  call   <printf@plt>
  lea    0x10(%rsp),%rsi
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    0x14(%rsp),%rsi
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    0x14(%rsp),%esi
  mov    0x10(%rsp),%edi
  call   <utworz@plt>
  jmp    L76
  cs nopw 0x0(%rax,%rax,1)
L37:
  cmp    $0x34,%al
  jne    L72
  lea    D46(%rip),%rdi
  call   <printf@plt>
  jmp    L76
  nopl   0x0(%rax)
L96:
  lea    D24(%rip),%rdi
  call   <printf@plt>
  mov    0x14(%rsp),%esi
  mov    0x10(%rsp),%edi
  call   <zmianaznaku@plt>
  jmp    L76
  xchg   %ax,%ax
L56:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L28
  add    $0x20,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L28:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D49
type: string
name: parse_data
arguments: label: D62
type: string
name: parse_data
arguments: label: D48
type: string
name: parse_data
arguments: label: D13
type: string
name: parse_data
arguments: label: D81
type: string
name: parse_data
arguments: label: D102
type: string
name: parse_data
arguments: label: D77
type: string
name: parse_data
arguments: label: D44
type: string
name: parse_data
arguments: label: D12
type: string
name: parse_data
arguments: label: D76
type: string
name: parse_data
arguments: label: D46
type: string
name: parse_data
arguments: label: D24
type: string

tool: D49: ----------PROSTE MENU----------


tool: D62: 1 - utworz tablice


tool: D48: 2 - wyswietl tablice


tool: D13: wybrano wariant drugi


tool: D81: 3 - zmien znaki w tablicy


tool: D102: 4 - zakoncz dzialanie programu


tool: D77: %c

tool: D44: wybrano wariant pierwszy


tool: D12: %i

tool: D76: podaj wymiar tablicy:


tool: D46: PAPA ! 


tool: D24: wybrano wariant trzeci


assistant: ```c
int main() {
  char wybor = '0';
  int w = 0, k = 0;
  while (wybor != '4') {
    printf("----------PROSTE MENU----------\n");
    printf("1 - utworz tablice\n");
    printf("2 - wyswietl tablice\n");
    printf("3 - zmien znaki w tablicy\n");
    printf("4 - zakoncz dzialanie programu\n");
    scanf("%c", &wybor);
    switch (wybor) {
    case '1':
      printf("wybrano wariant pierwszy\n");
      printf("podaj wymiar tablicy:\n");
      scanf("%i", &w);
      scanf("%i", &k);
      utworz(w, k);
      break;
    case '2':
      printf("wybrano wariant drugi\n");
      wyswietl(w, k);
      break;
    case '3':
      printf("wybrano wariant trzeci\n");
      zmianaznaku(w, k);
      break;
    case '4':
      printf("PAPA ! \n");
    }
  }
  return 0;
}
```