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

```asm
<find_test>:
  endbr64
  push   %r15
  lea    D36(%rip),%r15
  push   %r14
  push   %r13
  push   %r12
  lea    D69(%rip),%r12
  push   %rbp
  push   %rbx
  sub    $0x78,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  lea    D21(%rip),%rax
  mov    %rdx,0x38(%rsp)
  mov    %rsi,0x40(%rsp)
  mov    %rdi,0x18(%rsp)
  mov    %rax,0x58(%rsp)
  lea    D52(%rip),%rax
  mov    %rax,0x60(%rsp)
  lea    0x50(%rsp),%rax
  mov    %rax,0x8(%rsp)
  lea    0x68(%rsp),%rax
  mov    %rax,0x28(%rsp)
  lea    0x30(%rsp),%rax
  mov    %rax,0x20(%rsp)
  lea    0x48(%rsp),%rax
  mov    %rax,0x10(%rsp)
L42:
  lea    D57(%rip),%r13
  mov    0x20(%rsp),%rbp
  mov    0x18(%rsp),%rbx
  test   %r13,%r13
  je     L29
L51:
  mov    %r13,%rdi
  call   <strlen@plt>
  mov    %rbx,%rdi
  mov    %eax,%r14d
  call   <strlen@plt>
  mov    %r12,%rdi
  add    %eax,%r14d
  call   <strlen@plt>
  mov    $0x40d,%edx
  mov    %r15,%rsi
  lea    0x2(%r14,%rax,1),%r10d
  mov    %r10d,%edi
  mov    %r10d,0x4(%rsp)
  call   <x_malloc@plt>
  mov    0x4(%rsp),%esi
  mov    %r12,%r9
  mov    %rbx,%r8
  mov    %rax,%r14
  mov    %rax,%rdi
  lea    D62(%rip),%rdx
  mov    %r13,%rcx
  call   <snprintf@plt>
  mov    %r14,%rdi
  call   <is_valid_test@plt>
  test   %rax,%rax
  jne    L68
  mov    %r14,%rdi
  call   <free@plt>
L29:
  add    $0x8,%rbp
  cmp    0x10(%rsp),%rbp
  je     L21
  mov    0x0(%rbp),%r13
  test   %r13,%r13
  jne    L51
  jmp    L29
  nopl   (%rax)
L21:
  addq   $0x8,0x8(%rsp)
  mov    0x8(%rsp),%rax
  cmp    0x28(%rsp),%rax
  je     L12
  mov    (%rax),%r12
  jmp    L42
  nopw   0x0(%rax,%rax,1)
L12:
  mov    0x18(%rsp),%rbp
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L14
  add    $0x78,%rsp
  mov    %rbp,%rdi
  mov    $0x416,%edx
  pop    %rbx
  lea    D36(%rip),%rsi
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1110 <x_strdup@plt>
  nop
L68:
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L14
  add    $0x78,%rsp
  mov    %r14,%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L14:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: label: D36
data_type: string
name: read_data
arguments: label: D69
data_type: string
name: read_data
arguments: label: D21
data_type: string
name: read_data
arguments: label: D52
data_type: string
name: read_data
arguments: label: D57
data_type: string
name: read_data
arguments: label: D62
data_type: string

tool: D36: /scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/dnstap/knot/refs/heads/branches/dnstap/libtap/runtests.c

tool: D69: -t

tool: D21: .t

tool: 

tool: D57: .

tool: D62: %s/%s%s

assistant: ```c
char *find_test(const char *name, const char *source, const char *build) {
  char *path;
  const char *bases[3], *suffix, *base;
  unsigned int i, j;
  const char *suffixes[3] = {"-t", ".t", ""};
  bases[0] = ".";
  bases[1] = build;
  bases[2] = source;
  for (i = 0; i < (sizeof(suffixes) / sizeof((suffixes)[0])); i++) {
    suffix = suffixes[i];
    for (j = 0; j < (sizeof(bases) / sizeof((bases)[0])); j++) {
      unsigned int path_len;
      base = bases[j];
      if (base == NULL)
        continue;
      path_len = strlen(base) + strlen(name) + strlen(suffix) + 2;
      path = x_malloc((path_len), "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/dnstap/knot/refs/heads/branches/dnstap/libtap/runtests.c", 1037);
      snprintf(path, path_len, "%s/%s%s", base, name, suffix);
      if (is_valid_test(path))
        return path;
      free(path);
      path = NULL;
    }
  }
  if (path == NULL)
    path = x_strdup((name), "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/dnstap/knot/refs/heads/branches/dnstap/libtap/runtests.c", 1046);
  return path;
}
```