user: 这段汇编代码用C语言表示是什么样的：

```asm
<func_notdir_suffix>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %rdi,%r13
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  mov    (%rsi),%rax
  mov    %rax,0x20(%rsp)
  movl   $0x0,0x1c(%rsp)
  mov    $0x1,%r12d
  lea    D19(%rip),%rax
  cmp    %rax,%rdx
  je     L200
  mov    $0x0,%r12d
  cmpb   $0x73,(%rdx)
  je     L18
L200:
  test   %r12d,%r12d
  sete   %r15b
  movl   $0x0,0xc(%rsp)
  lea    D7(%rip),%r14
  jmp    L117
L18:
  lea    0x1(%rax),%rsi
  lea    0x1(%rdx),%edi
  call   <strcmp@plt>
  test   %eax,%eax
  sete   %r12b
  movzbl %r12b,%r12d
  jmp    L200
L28:
  cmpb   $0x2f,(%rbx)
  je     L122
  sub    $0x1,%rbx
  cmp    %rbx,%rbp
  ja     L56
L196:
  test   %r12d,%r12d
  je     L28
  cmpb   $0x2e,(%rbx)
  jne    L28
  cmp    %rbx,%rbp
  ja     L117
L100:
  cmpb   $0x2e,(%rbx)
  jne    L117
  mov    %rbx,%rax
  sub    %rbp,%rax
  sub    %eax,%edx
  mov    %rbx,%rsi
  mov    %r13,%rdi
  call   <variable_buffer_output@plt>
  mov    %rax,%r13
  cmp    %rbx,%rbp
  jbe    L38
  test   %r15b,%r15b
  je     L117
  jmp    L38
L122:
  cmp    %rbx,%rbp
  ja     L56
  test   %r12d,%r12d
  jne    L100
  lea    0x1(%rbx),%rsi
  mov    %rsi,%rax
  sub    %rbp,%rax
  sub    %eax,%edx
  mov    %r13,%rdi
  call   <variable_buffer_output@plt>
  mov    %rax,%r13
L38:
  mov    $0x1,%edx
  mov    %r14,%rsi
  mov    %r13,%rdi
  call   <variable_buffer_output@plt>
  mov    %rax,%r13
  movl   $0x1,0xc(%rsp)
  jmp    L117
L56:
  test   %r12d,%r12d
  je     L71
L117:
  lea    0x1c(%rsp),%rsi
  lea    0x20(%rsp),%rdi
  call   <find_next_token@plt>
  mov    %rax,%rbp
  test   %rax,%rax
  je     L163
  mov    0x1c(%rsp),%edx
  mov    %edx,%ebx
  add    %rbp,%rbx
  jae    L196
  jmp    L56
L71:
  mov    %rbp,%rsi
  mov    %r13,%rdi
  call   <variable_buffer_output@plt>
  mov    %rax,%r13
  jmp    L38
L163:
  cmpl   $0x1,0xc(%rsp)
  adc    $0xffffffffffffffff,%r13
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L21
  mov    %r13,%rax
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L21:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D19
data_type: string
name: parse_data
arguments: label: D7
data_type: string

tool: D19: suffix

tool: D7:  

assistant: ```c
char *func_notdir_suffix(char *o, char **argv, const char *funcname) {
  const char *list_iterator = argv[0];
  const char *p2;
  int doneany = 0;
  unsigned int len = 0;
  int is_suffix = ((funcname) == ("suffix") || (*(funcname) == *("suffix") && (*(funcname) == '\0' || !strcmp((funcname) + 1, ("suffix") + 1))));
  int is_notdir = !is_suffix;
  while ((p2 = find_next_token(&list_iterator, &len)) != 0) {
    const char *p = p2 + len;
    while (p >= p2 && (!is_suffix || *p != '.')) {
      if (((*p) == '/'))
        break;
      --p;
    }
    if (p >= p2) {
      if (is_notdir)
        ++p;
      else if (*p != '.')
        continue;
      o = variable_buffer_output(o, p, len - (p - p2));
    } else if (is_notdir)
      o = variable_buffer_output(o, p2, len);
    if (is_notdir || p >= p2) {
      o = variable_buffer_output(o, " ", 1);
      doneany = 1;
    }
  }
  if (doneany)
    --o;
  return o;
}
```