user: Converte this assembly snippet into its equivalent C code:

```asm
<viderDossierInventaireSauvegarde>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xe0,%rsp
  mov    %rdi,-0xd8(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0xd8(%rbp),%rdx
  lea    -0xd0(%rbp),%rax
  lea    D51(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sprintf@plt>
  lea    -0xd0(%rbp),%rax
  mov    %rax,%rdi
  call   <remove@plt>
  mov    -0xd8(%rbp),%rdx
  lea    -0xd0(%rbp),%rax
  lea    D45(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sprintf@plt>
  lea    -0xd0(%rbp),%rax
  mov    %rax,%rdi
  call   <remove@plt>
  mov    -0xd8(%rbp),%rdx
  lea    -0xd0(%rbp),%rax
  lea    D46(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sprintf@plt>
  lea    -0xd0(%rbp),%rax
  mov    %rax,%rdi
  call   <remove@plt>
  mov    -0xd8(%rbp),%rdx
  lea    -0xd0(%rbp),%rax
  lea    D11(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sprintf@plt>
  lea    -0xd0(%rbp),%rax
  mov    %rax,%rdi
  call   <remove@plt>
  mov    -0xd8(%rbp),%rdx
  lea    -0xd0(%rbp),%rax
  lea    D52(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sprintf@plt>
  lea    -0xd0(%rbp),%rax
  mov    %rax,%rdi
  call   <remove@plt>
  mov    -0xd8(%rbp),%rdx
  lea    -0xd0(%rbp),%rax
  lea    D56(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sprintf@plt>
  lea    -0xd0(%rbp),%rax
  mov    %rax,%rdi
  call   <remove@plt>
  mov    -0xd8(%rbp),%rdx
  lea    -0xd0(%rbp),%rax
  lea    D61(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sprintf@plt>
  lea    -0xd0(%rbp),%rax
  mov    %rax,%rdi
  call   <rmdir@plt>
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L8
  call   <__stack_chk_fail@plt>
L8:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: data_tag: D51
type_infered: string
name: disassemble_data
arguments: data_tag: D45
type_infered: string
name: disassemble_data
arguments: data_tag: D46
type_infered: string
name: disassemble_data
arguments: data_tag: D11
type_infered: string
name: disassemble_data
arguments: data_tag: D52
type_infered: string
name: disassemble_data
arguments: data_tag: D56
type_infered: string
name: disassemble_data
arguments: data_tag: D61
type_infered: string

tool: D51: Sauvegarde/%s/Inventaire/tek.txt

tool: D45: Sauvegarde/%s/Inventaire/armure.txt

tool: D46: Sauvegarde/%s/Inventaire/arme.txt

tool: D11: Sauvegarde/%s/Inventaire/tresor.txt

tool: D52: Sauvegarde/%s/Inventaire/potion.txt

tool: D56: Sauvegarde/%s/Inventaire/cle.txt

tool: D61: Sauvegarde/%s/Inventaire

assistant: ```c
void viderDossierInventaireSauvegarde(const char *nomPartie) {
  char chemin[200];
  sprintf(chemin, "Sauvegarde/%s/Inventaire/tek.txt", nomPartie);
  remove(chemin);
  sprintf(chemin, "Sauvegarde/%s/Inventaire/armure.txt", nomPartie);
  remove(chemin);
  sprintf(chemin, "Sauvegarde/%s/Inventaire/arme.txt", nomPartie);
  remove(chemin);
  sprintf(chemin, "Sauvegarde/%s/Inventaire/tresor.txt", nomPartie);
  remove(chemin);
  sprintf(chemin, "Sauvegarde/%s/Inventaire/potion.txt", nomPartie);
  remove(chemin);
  sprintf(chemin, "Sauvegarde/%s/Inventaire/cle.txt", nomPartie);
  remove(chemin);
  sprintf(chemin, "Sauvegarde/%s/Inventaire", nomPartie);
  rmdir(chemin);
}
```