user: 请从给定的汇编指令推导出C源代码:

```asm
<save_makefile_uninstall>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x228,%rsp
  mov    %rdi,%rbp
  mov    %rsi,(%rsp)
  mov    %rdx,0x8(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x218(%rsp)
  xor    %eax,%eax
  test   %ecx,%ecx
  jle    L68
  mov    %r8,%rbx
  lea    -0x1(%rcx),%eax
  lea    0x8(%r8,%rax,8),%r14
  lea    0x10(%rsp),%r13
  lea    D155(%rip),%r15
  jmp    L70
L24:
  mov    (%rbx),%rdi
  call   <get_subdirectory_string@plt>
  mov    %rax,%rdx
  lea    D15(%rip),%rsi
  mov    %r13,%rdi
  call   <sprintf@plt>
L63:
  mov    %r13,%rdx
  mov    %r15,%rsi
  mov    %rbp,%rdi
  call   <add_makefile_entry_to_file@plt>
L89:
  add    $0x8,%rbx
  cmp    %r14,%rbx
  je     L68
L70:
  mov    (%rbx),%rdi
  call   <get_subdirectory_string@plt>
  test   %rax,%rax
  je     L89
  mov    $0x20,%esi
  mov    (%rbx),%rdi
  call   <contains_char@plt>
  test   %rax,%rax
  jne    L24
  mov    (%rbx),%rdi
  call   <get_subdirectory_string@plt>
  mov    %rax,%rdx
  lea    D175(%rip),%rsi
  mov    %r13,%rdi
  call   <sprintf@plt>
  jmp    L63
L68:
  lea    D97(%rip),%rdx
  lea    D155(%rip),%rsi
  mov    %rbp,%rdi
  call   <add_makefile_entry_to_file@plt>
  mov    (%rsp),%rdi
  call   <is_library@plt>
  test   %rax,%rax
  jne    L65
  lea    D22(%rip),%rdx
  lea    D155(%rip),%rbx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <add_makefile_entry_to_file@plt>
  lea    D43(%rip),%rdx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <add_makefile_entry_to_file@plt>
L91:
  mov    0x8(%rsp),%rax
  cmpb   $0x0,(%rax)
  je     L99
L51:
  mov    0x218(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L87
  add    $0x228,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L65:
  lea    D4(%rip),%rdx
  lea    D155(%rip),%rbx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <add_makefile_entry_to_file@plt>
  lea    D105(%rip),%rdx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <add_makefile_entry_to_file@plt>
  lea    D94(%rip),%rdx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <add_makefile_entry_to_file@plt>
  lea    D178(%rip),%rdx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <add_makefile_entry_to_file@plt>
  lea    D142(%rip),%rdx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <add_makefile_entry_to_file@plt>
  jmp    L91
L99:
  lea    D3(%rip),%rdx
  lea    D155(%rip),%rbx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <add_makefile_entry_to_file@plt>
  lea    D47(%rip),%rdx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <add_makefile_entry_to_file@plt>
  lea    D96(%rip),%rdx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <add_makefile_entry_to_file@plt>
  jmp    L51
L87:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D155
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D15
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D175
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D97
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D22
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D43
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D4
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D105
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D94
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D178
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D142
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D3
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D47
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D96
type_infered: string

tool: D155: uninstall

tool: D15: rm -f "/%s"

tool: D175: rm -f /%s

tool: D97: rm -f ${PREFIX}/share/man/man1/${APP}.1.gz

tool: D22: rm -rf ${PREFIX}/share/${APP}

tool: D43: rm -f ${PREFIX}/bin/${APP}

tool: D4: rm -f ${PREFIX}/${LIBDIR}/${LIBNAME}

tool: D105: rm -f ${PREFIX}/${LIBDIR}/${APP}.so

tool: D94: rm -f ${PREFIX}/${LIBDIR}/${SONAME}

tool: D178: rm -rf ${PREFIX}/include/${APP}

tool: D142: ldconfig

tool: D3: rm -f ${PREFIX}/share/applications/${APP}.desktop

tool: D47: rm -f ${PREFIX}/share/icons/hicolor/scalable/apps/${APP}.svg

tool: D96: rm -f ${PREFIX}/share/pixmaps/${APP}.svg

assistant: ```c
void save_makefile_uninstall(char *filename, char *project_name, char *commandline, int no_of_binaries, char **binaries) {
  int i;
  char str[512];
  for (i = 0; i < no_of_binaries; i++) {
    if (get_subdirectory_string(binaries[i]) != 0) {
      if (contains_char(binaries[i], ' ') == 0) {
        sprintf(str, "rm -f /%s", get_subdirectory_string(binaries[i]));
      } else {
        sprintf(str, "rm -f \"/%s\"", get_subdirectory_string(binaries[i]));
      }
      add_makefile_entry_to_file(filename, "uninstall", str);
    }
  }
  add_makefile_entry_to_file(filename, "uninstall", "rm -f ${PREFIX}/share/man/man1/${APP}.1.gz");
  if (is_library(project_name) == 0) {
    add_makefile_entry_to_file(filename, "uninstall", "rm -rf ${PREFIX}/share/${APP}");
    add_makefile_entry_to_file(filename, "uninstall", "rm -f ${PREFIX}/bin/${APP}");
  } else {
    add_makefile_entry_to_file(filename, "uninstall", "rm -f ${PREFIX}/${LIBDIR}/${LIBNAME}");
    add_makefile_entry_to_file(filename, "uninstall", "rm -f ${PREFIX}/${LIBDIR}/${APP}.so");
    add_makefile_entry_to_file(filename, "uninstall", "rm -f ${PREFIX}/${LIBDIR}/${SONAME}");
    add_makefile_entry_to_file(filename, "uninstall", "rm -rf ${PREFIX}/include/${APP}");
    add_makefile_entry_to_file(filename, "uninstall", "ldconfig");
  }
  if (strlen(commandline) == 0) {
    add_makefile_entry_to_file(filename, "uninstall", "rm -f ${PREFIX}/share/applications/${APP}.desktop");
    add_makefile_entry_to_file(filename, "uninstall", "rm -f ${PREFIX}/share/icons/hicolor/scalable/apps/${APP}.svg");
    add_makefile_entry_to_file(filename, "uninstall", "rm -f ${PREFIX}/share/pixmaps/${APP}.svg");
  }
}
```