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

```asm
<monShell>:
  endbr64
  push   %r15
  pxor   %xmm0,%xmm0
  push   %r14
  lea    D16(%rip),%r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x148,%rsp
  mov    %rdi,0x8(%rsp)
  lea    0xd0(%rsp),%r12
  lea    0x60(%rsp),%rbx
  lea    D53(%rip),%rdi
  mov    %fs:0x28,%rax
  mov    %rax,0x138(%rsp)
  xor    %eax,%eax
  movaps %xmm0,0x60(%rsp)
  movaps %xmm0,0x70(%rsp)
  movaps %xmm0,0x80(%rsp)
  movaps %xmm0,0x90(%rsp)
  movaps %xmm0,0xa0(%rsp)
  movaps %xmm0,0xb0(%rsp)
  movl   $0x0,0xc0(%rsp)
  call   <puts@plt>
  mov    $0x64,%esi
  mov    %r12,%rdi
  call   <getcwd@plt>
  xor    %esi,%esi
  xor    %edi,%edi
  call   <getcwd@plt>
  mov    %rax,%r13
  xor    %eax,%eax
  call   <getlogin@plt>
  mov    %r13,%rdx
  mov    %r14,%rdi
  lea    D14(%rip),%r13
  mov    %rax,%rsi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L98
  nopw   0x0(%rax,%rax,1)
L71:
  lea    D46(%rip),%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L61
  lea    D1(%rip),%rsi
  mov    %r15,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L94
  lea    D44(%rip),%rsi
  mov    %r15,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L24
  lea    D43(%rip),%rsi
  mov    %r15,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L1
L24:
  mov    0x8(%rsp),%rsi
  mov    %rbp,%rdi
  call   <modifEntreeSortie@plt>
L110:
  mov    $0x64,%esi
  mov    %r12,%rdi
  call   <getcwd@plt>
  xor    %eax,%eax
  call   <getlogin@plt>
  mov    %r12,%rdx
  mov    %r14,%rdi
  mov    %rax,%rsi
  xor    %eax,%eax
  call   <printf@plt>
L98:
  mov    %r13,%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L83
  mov    %rbx,%rdi
  lea    0x10(%rsp),%rbp
  call   <gets@plt>
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <lireCommande@plt>
  mov    %rbp,%rdi
  call   <rechercheCaractereSpecial@plt>
  mov    %rax,%r15
  test   %rax,%rax
  jne    L71
L1:
  mov    0x10(%rsp),%rdi
  call   <testCommandeInterne@plt>
  test   %rax,%rax
  je     L93
  mov    0x8(%rsp),%rsi
  mov    %rbp,%rdi
  call   <execCommandeInterne@plt>
  jmp    L110
  nopw   0x0(%rax,%rax,1)
L61:
  mov    0x8(%rsp),%rsi
  mov    %rbp,%rdi
  call   <executePipe@plt>
  jmp    L110
  nopw   0x0(%rax,%rax,1)
L93:
  mov    %rbp,%rdi
  call   <execCommandeExterne@plt>
  jmp    L110
  nopl   (%rax)
L94:
  mov    0x8(%rsp),%rsi
  mov    %rbp,%rdi
  call   <executeCommandeSequentielle@plt>
  jmp    L110
  nopw   0x0(%rax,%rax,1)
L83:
  mov    0x138(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L118
  add    $0x148,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L118:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_tag: D16
datatype: string
name: parse_data
arguments: data_tag: D53
datatype: string
name: parse_data
arguments: data_tag: D14
datatype: string
name: parse_data
arguments: data_tag: D46
datatype: string
name: parse_data
arguments: data_tag: D1
datatype: string
name: parse_data
arguments: data_tag: D44
datatype: string
name: parse_data
arguments: data_tag: D43
datatype: string

tool: D16: %s@[%s]--> 

tool: D53: Voici mon shell, taper Q pour sortir

tool: D14: Q

tool: D46: |

tool: D1: ;

tool: D44: <

tool: D43: >

assistant: ```c
void monShell(char *arge[]) {
  char cmd[100] = "";
  char *com[10];
  char *caractereSpe;
  char prompt[100];
  printf("Voici mon shell, taper Q pour sortir\n");
  getcwd(prompt, 100);
  printf("%s@[%s]--> ", getlogin(), getcwd(NULL, 0));
  while (strcmp(cmd, "Q") != 0) {
    gets(cmd);
    lireCommande(cmd, com);
    caractereSpe = rechercheCaractereSpecial(com);
    if (caractereSpe != NULL && (strcmp(caractereSpe, "|") == 0))
      executePipe(com, arge);
    else if (caractereSpe != NULL && (strcmp(caractereSpe, ";") == 0))
      executeCommandeSequentielle(com, arge);
    else if (caractereSpe != NULL && (strcmp(caractereSpe, "<") == 0 || strcmp(caractereSpe, ">") == 0))
      modifEntreeSortie(com, arge);
    else {
      if (testCommandeInterne(com[0])) {
        execCommandeInterne(com, arge);
      } else {
        execCommandeExterne(com);
      }
    }
    getcwd(prompt, 100);
    printf("%s@[%s]--> ", getlogin(), prompt);
  }
}
```