user: 下面的汇编指令对应的C源代码是什么:

```asm
<dng_compress>:
  endbr64
  push   %r13
  push   %r12
  mov    %esi,%r12d
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  sub    $0x7e8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x7d8(%rsp)
  xor    %eax,%eax
  call   <find_adobe_dng_converter@plt>
  test   %rax,%rax
  je     L10
  mov    %rax,%rsi
  mov    %rax,%rbx
  lea    D41(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rsp,%r13
  mov    %rbp,%rsi
  xor    %eax,%eax
  lea    D42(%rip),%rdi
  call   <printf@plt>
  mov    %rbp,%rcx
  mov    $0x3e8,%esi
  mov    %r13,%rdi
  lea    D45(%rip),%rdx
  xor    %eax,%eax
  call   <snprintf@plt>
  mov    %r13,%rsi
  mov    %rbp,%rdi
  call   <rename@plt>
  test   %r12d,%r12d
  mov    $0x3e8,%esi
  mov    %rbx,%r8
  lea    0x3f0(%rsp),%r12
  lea    D27(%rip),%rcx
  push   %r13
  lea    D2(%rip),%r9
  push   %rbp
  lea    D0(%rip),%rdx
  mov    %r12,%rdi
  cmove  %rcx,%r9
  xor    %eax,%eax
  call   <snprintf@plt>
  mov    %r12,%rdi
  call   <puts@plt>
  mov    %r12,%rdi
  call   <system@plt>
  mov    %r13,%rsp
  mov    %eax,%esi
  test   %eax,%eax
  jne    L11
  mov    %r13,%rdi
  call   <unlink@plt>
L47:
  mov    0x7d8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L41
  add    $0x7e8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nop
L11:
  lea    D21(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rbp,%rsi
  mov    %r13,%rdi
  call   <rename@plt>
  jmp    L47
  nopl   0x0(%rax,%rax,1)
L10:
  mov    0x7d8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L41
  add    $0x7e8,%rsp
  lea    D33(%rip),%rdi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  jmp    10d0 <puts@plt>
L41:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: label: D41
type: string
name: disassemble_data
arguments: label: D42
type: string
name: disassemble_data
arguments: label: D45
type: string
name: disassemble_data
arguments: label: D27
type: string
name: disassemble_data
arguments: label: D2
type: string
name: disassemble_data
arguments: label: D0
type: string
name: disassemble_data
arguments: label: D21
type: string
name: disassemble_data
arguments: label: D33
type: string

tool: D41: Found %s


tool: D42: Compressing %s...


tool: D45: %s.DNG

tool: 

tool: D2: -lossy

tool: D0: %s"%s" -dng1.4 %s -o "%s" "%s"

tool: D21: Adobe DNG Converter returned error(%d).


tool: D33: Adobe DNG Converter not found.

assistant: ```c
void dng_compress(const char *source, int lossy) {
  const char *adobe_dng = find_adobe_dng_converter();
  if (adobe_dng) {
    printf("Found %s\n", adobe_dng);
  } else {
    printf("Adobe DNG Converter not found.\n");
    return;
  }
  printf("Compressing %s...\n", source);
  char tmp[1000];
  snprintf(tmp, sizeof(tmp), "%s.DNG", source);
  rename(source, tmp);
  char compress_cmd[1000];
  char *start = "";
  snprintf(compress_cmd, sizeof(compress_cmd), "%s\"%s\" -dng1.4 %s -o \"%s\" \"%s\"", start, adobe_dng, lossy ? "-lossy" : "", source, tmp);
  printf("%s\n", compress_cmd);
  int r = system(compress_cmd);
  if (r != 0) {
    printf("Adobe DNG Converter returned error(%d).\n", r);
    rename(tmp, source);
  } else {
    unlink(tmp);
  }
}
```