user: 提供的汇编代码用C语言表示会是什么样子:

```asm
<save_makefile_java>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %rdi,%rbp
  lea    D22(%rip),%rdi
  push   %rbx
  sub    $0xc18,%rsp
  lea    0x400(%rsp),%r13
  lea    0x200(%rsp),%r12
  mov    %fs:0x28,%rax
  mov    %rax,0xc08(%rsp)
  xor    %eax,%eax
  mov    %r13,%rsi
  lea    0x600(%rsp),%r14
  lea    0x800(%rsp),%rbx
  call   <get_setting@plt>
  mov    %r12,%rsi
  lea    D52(%rip),%rdi
  lea    0xa00(%rsp),%r15
  call   <get_setting@plt>
  mov    %r14,%rsi
  lea    D43(%rip),%rdi
  call   <get_setting@plt>
  mov    %rbx,%rsi
  lea    D6(%rip),%rdi
  call   <get_setting@plt>
  mov    %r15,%rsi
  lea    D9(%rip),%rdi
  call   <get_setting@plt>
  lea    D65(%rip),%rsi
  mov    %r12,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L5
L51:
  mov    0xc08(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L14
  add    $0xc18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L5:
  mov    %r13,%rdi
  call   <is_library@plt>
  test   %rax,%rax
  jne    L51
  lea    D36(%rip),%r12
  mov    %rbp,%rdi
  mov    %r12,%rsi
  call   <empty_makefile_section@plt>
  cmp    $0x1,%eax
  je     L63
L40:
  lea    D39(%rip),%r12
  mov    %rbp,%rdi
  mov    %r12,%rsi
  call   <empty_makefile_section@plt>
  cmp    $0x1,%eax
  jne    L51
  mov    %rsp,%r13
  sub    $0x8,%rsp
  mov    %rbx,%r9
  mov    %rbx,%r8
  push   $0x2f
  mov    %r15,%rcx
  mov    %r14,%rdx
  lea    D19(%rip),%rsi
  mov    %r13,%rdi
  call   <sprintf@plt>
  mov    %r13,%rdx
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <add_makefile_entry_to_file@plt>
  mov    %r13,%rsp
  jmp    L51
  nopl   (%rax)
L63:
  mov    %rsp,%r13
  sub    $0x8,%rsp
  mov    %rbx,%r9
  mov    %rbx,%r8
  push   $0x2f
  mov    %r15,%rcx
  mov    %r14,%rdx
  lea    D19(%rip),%rsi
  mov    %r13,%rdi
  call   <sprintf@plt>
  mov    %r13,%rdx
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <add_makefile_entry_to_file@plt>
  mov    %r13,%rsp
  jmp    L40
L14:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D22
type: string
name: extract_symbolic_data
arguments: data_tag: D52
type: string
name: extract_symbolic_data
arguments: data_tag: D43
type: string
name: extract_symbolic_data
arguments: data_tag: D6
type: string
name: extract_symbolic_data
arguments: data_tag: D9
type: string
name: extract_symbolic_data
arguments: data_tag: D65
type: string
name: extract_symbolic_data
arguments: data_tag: D36
type: string
name: extract_symbolic_data
arguments: data_tag: D39
type: string
name: extract_symbolic_data
arguments: data_tag: D19
type: string

tool: D22: project name

tool: D52: project type

tool: D43: compile

tool: D6: source dir

tool: D9: build dir

tool: D65: java

tool: D36: all

tool: D39: debug

tool: D19: javac %s -d %s -sourcepath %s %s%c${APP}.java

assistant: ```c
void save_makefile_java(char *filename) {
  char str[512];
  char project_type[512];
  char project_name[512];
  char compile_args[512];
  char sourcedir[512];
  char build_dir[512];
  get_setting("project name", project_name);
  get_setting("project type", project_type);
  get_setting("compile", compile_args);
  get_setting("source dir", sourcedir);
  get_setting("build dir", build_dir);
  if (strcmp(project_type, "java") == 0) {
    if (is_library(project_name) == 0) {
      if (empty_makefile_section(filename, "all") == 1) {
        sprintf(str, "javac %s -d %s -sourcepath %s %s%c${APP}.java", compile_args, build_dir, sourcedir, sourcedir, '/');
        add_makefile_entry_to_file(filename, "all", str);
      }
      if (empty_makefile_section(filename, "debug") == 1) {
        sprintf(str, "javac %s -d %s -sourcepath %s %s%c${APP}.java", compile_args, build_dir, sourcedir, sourcedir, '/');
        add_makefile_entry_to_file(filename, "debug", str);
      }
    } else {
    }
  }
}
```