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

```asm
<monShell>:
  endbr64
  push   %r15
  pxor   %xmm0,%xmm0
  push   %r14
  lea    D13(%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    D21(%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    D11(%rip),%r13
  mov    %rax,%rsi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L4
  nopw   0x0(%rax,%rax,1)
L77:
  lea    D12(%rip),%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L40
  lea    D16(%rip),%rsi
  mov    %r15,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L20
  lea    D24(%rip),%rsi
  mov    %r15,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L109
  lea    D34(%rip),%rsi
  mov    %r15,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L22
L109:
  mov    0x8(%rsp),%rsi
  mov    %rbp,%rdi
  call   <modifEntreeSortie@plt>
L36:
  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>
L4:
  mov    %r13,%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L57
  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    L77
L22:
  mov    0x10(%rsp),%rdi
  call   <testCommandeInterne@plt>
  test   %rax,%rax
  je     L117
  mov    0x8(%rsp),%rsi
  mov    %rbp,%rdi
  call   <execCommandeInterne@plt>
  jmp    L36
  nopw   0x0(%rax,%rax,1)
L40:
  mov    0x8(%rsp),%rsi
  mov    %rbp,%rdi
  call   <executePipe@plt>
  jmp    L36
  nopw   0x0(%rax,%rax,1)
L117:
  mov    %rbp,%rdi
  call   <execCommandeExterne@plt>
  jmp    L36
  nopl   (%rax)
L20:
  mov    0x8(%rsp),%rsi
  mov    %rbp,%rdi
  call   <executeCommandeSequentielle@plt>
  jmp    L36
  nopw   0x0(%rax,%rax,1)
L57:
  mov    0x138(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L62
  add    $0x148,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L62:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D13
type: string
name: disassemble_data
arguments: data_label: D21
type: string
name: disassemble_data
arguments: data_label: D11
type: string
name: disassemble_data
arguments: data_label: D12
type: string
name: disassemble_data
arguments: data_label: D16
type: string
name: disassemble_data
arguments: data_label: D24
type: string
name: disassemble_data
arguments: data_label: D34
type: string

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

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

tool: D11: Q

tool: D12: |

tool: D16: ;

tool: D24: <

tool: D34: >

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);
  }
}
```