user: What is the c source code of the assembly code below:

```asm
<SV_WipeSavegame>:
  endbr64
  push   %rbp
  mov    %rdi,%rsi
  push   %rbx
  mov    %rdi,%rbx
  lea    D18(%rip),%rdi
  sub    $0x98,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x88(%rsp)
  xor    %eax,%eax
  mov    %rsp,%rbp
  call   <Com_DPrintf@plt>
  xor    %eax,%eax
  call   <FS_Gamedir@plt>
  mov    %rbx,%r8
  mov    $0x80,%esi
  mov    %rbp,%rdi
  mov    %eax,%ecx
  lea    D5(%rip),%rdx
  call   <Com_sprintf@plt>
  mov    %rbp,%rdi
  call   <remove@plt>
  xor    %eax,%eax
  call   <FS_Gamedir@plt>
  mov    %rbx,%r8
  mov    $0x80,%esi
  mov    %rbp,%rdi
  mov    %eax,%ecx
  lea    D52(%rip),%rdx
  call   <Com_sprintf@plt>
  mov    %rbp,%rdi
  call   <remove@plt>
  xor    %eax,%eax
  call   <FS_Gamedir@plt>
  mov    %rbx,%r8
  mov    $0x80,%esi
  mov    %rbp,%rdi
  mov    %eax,%ecx
  lea    D11(%rip),%rdx
  call   <Com_sprintf@plt>
  mov    %rbp,%rdi
  call   <remove@plt>
  xor    %eax,%eax
  call   <FS_Gamedir@plt>
  mov    $0x80,%esi
  mov    %rbp,%rdi
  mov    %rbx,%r8
  lea    D42(%rip),%rdx
  mov    %eax,%ecx
  call   <Com_sprintf@plt>
  xor    %edx,%edx
  xor    %esi,%esi
  mov    %rbp,%rdi
  call   <Sys_FindFirst@plt>
  test   %rax,%rax
  je     L33
  mov    %rax,%rdi
  nopl   0x0(%rax)
L25:
  call   <remove@plt>
  xor    %edi,%edi
  xor    %esi,%esi
  call   <Sys_FindNext@plt>
  mov    %rax,%rdi
  test   %rax,%rax
  jne    L25
L33:
  xor    %eax,%eax
  call   <Sys_FindClose@plt>
  xor    %eax,%eax
  call   <FS_Gamedir@plt>
  mov    %rbx,%r8
  mov    $0x80,%esi
  mov    %rbp,%rdi
  mov    %eax,%ecx
  lea    D23(%rip),%rdx
  call   <Com_sprintf@plt>
  mov    %rbp,%rdi
  xor    %edx,%edx
  xor    %esi,%esi
  call   <Sys_FindFirst@plt>
  mov    %rax,%rdi
  test   %rax,%rax
  je     L32
  nopl   0x0(%rax)
L9:
  call   <remove@plt>
  xor    %edi,%edi
  xor    %esi,%esi
  call   <Sys_FindNext@plt>
  mov    %rax,%rdi
  test   %rax,%rax
  jne    L9
L32:
  xor    %eax,%eax
  call   <Sys_FindClose@plt>
  mov    0x88(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L29
  add    $0x98,%rsp
  pop    %rbx
  pop    %rbp
  ret
L29:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: data_tag: D18
type_guessed: string
name: retrieve_data
arguments: data_tag: D5
type_guessed: string
name: retrieve_data
arguments: data_tag: D52
type_guessed: string
name: retrieve_data
arguments: data_tag: D11
type_guessed: string
name: retrieve_data
arguments: data_tag: D42
type_guessed: string
name: retrieve_data
arguments: data_tag: D23
type_guessed: string

tool: D18: SV_WipeSaveGame(%s)


tool: D5: %s/save/%s/server.ssv

tool: D52: %s/save/%s/game.ssv

tool: D11: %s/save/%s/shot.jpg

tool: D42: %s/save/%s/*.sav

tool: D23: %s/save/%s/*.sv2

assistant: ```c
void SV_WipeSavegame(char *savename) {
  char name[128];
  char *s;
  Com_DPrintf("SV_WipeSaveGame(%s)\n", savename);
  Com_sprintf(name, sizeof(name), "%s/save/%s/server.ssv", FS_Gamedir(), savename);
  remove(name);
  Com_sprintf(name, sizeof(name), "%s/save/%s/game.ssv", FS_Gamedir(), savename);
  remove(name);
  Com_sprintf(name, sizeof(name), "%s/save/%s/shot.jpg", FS_Gamedir(), savename);
  remove(name);
  Com_sprintf(name, sizeof(name), "%s/save/%s/*.sav", FS_Gamedir(), savename);
  s = Sys_FindFirst(name, 0, 0);
  while (s) {
    remove(s);
    s = Sys_FindNext(0, 0);
  }
  Sys_FindClose();
  Com_sprintf(name, sizeof(name), "%s/save/%s/*.sv2", FS_Gamedir(), savename);
  s = Sys_FindFirst(name, 0, 0);
  while (s) {
    remove(s);
    s = Sys_FindNext(0, 0);
  }
  Sys_FindClose();
}
```