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

```asm
<file_cvt>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
  movzbl (%rdi),%ebx
  test   %bl,%bl
  je     L130
  mov    %rsi,%r14
  lea    0x1(%rdi),%rbp
  movl   $0x0,0xc(%rsp)
  mov    $0x8,%r15d
  jmp    L64
L147:
  lea    D28(%rip),%rdi
  call   <printf@plt>
  movl   $0x0,0xc(%rsp)
  jmp    L170
L291:
  cmpl   $0x0,0xc(%rsp)
  jne    L151
  lea    -0x1(%r15),%ecx
  mov    %r15d,%edx
  add    %r14,%rdx
  mov    %r14,%rax
  test   %r15d,%r15d
  je     L249
L261:
  add    $0x1,%rax
  movb   $0x20,-0x1(%rax)
  cmp    %rdx,%rax
  jne    L261
  mov    %ecx,%ecx
  lea    0x1(%r14,%rcx,1),%r14
L249:
  mov    %rbp,%rax
  movl   $0x1,0xc(%rsp)
  mov    $0x3,%r15d
  jmp    L49
L151:
  lea    D33(%rip),%rdi
  call   <printf@plt>
  movl   $0x0,0xc(%rsp)
  jmp    L170
L111:
  lea    0x3(%r12),%rdx
L21:
  movzbl (%r12),%eax
  sub    $0x30,%eax
  cmp    $0x7,%al
  ja     L33
  add    $0x1,%r12
  cmp    %rdx,%r12
  jne    L21
  lea    D45(%rip),%rdi
  call   <printf@plt>
  movl   $0x0,0xc(%rsp)
L170:
  mov    0xc(%rsp),%eax
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L33:
  lea    D17(%rip),%rdi
  call   <printf@plt>
  movl   $0x0,0xc(%rsp)
  jmp    L170
L12:
  mov    %r13d,%edi
  call   <toupper@plt>
  mov    %eax,%ebx
  jmp    L295
L50:
  mov    %rbp,%rax
L49:
  movzbl (%rax),%ebx
  add    $0x1,%rbp
  test   %bl,%bl
  je     L114
L64:
  lea    -0x1(%rbp),%r12
  lea    -0x20(%rbx),%eax
  cmp    $0x5e,%al
  ja     L147
  movzbl %bl,%r13d
  mov    %r13d,%esi
  lea    D30(%rip),%rdi
  call   <strchr@plt>
  test   %rax,%rax
  jne    L147
  cmp    $0x2e,%bl
  je     L291
  cmp    $0x5c,%bl
  je     L111
  mov    %r13d,%edi
  call   <islower@plt>
  test   %rax,%rax
  jne    L12
L295:
  test   %r15d,%r15d
  je     L50
  mov    %bl,(%r14)
  sub    $0x1,%r15d
  lea    0x1(%r14),%r14
  jmp    L50
L114:
  cmp    $0x8,%r15d
  je     L20
  cmpl   $0x0,0xc(%rsp)
  je     L69
  lea    -0x1(%r15),%eax
  test   %r15d,%r15d
  jne    L253
  jmp    L170
L69:
  lea    -0x1(%r15),%ecx
  test   %r15d,%r15d
  je     L60
  lea    -0x1(%r15),%eax
  lea    0x1(%r14,%rax,1),%rdx
  mov    %r14,%rax
L14:
  add    $0x1,%rax
  movb   $0x20,-0x1(%rax)
  cmp    %rax,%rdx
  jne    L14
  mov    %ecx,%eax
  lea    0x1(%r14,%rax,1),%r14
L60:
  mov    $0x2,%eax
L253:
  mov    %eax,%eax
  lea    0x1(%r14,%rax,1),%rax
L119:
  add    $0x1,%r14
  movb   $0x20,-0x1(%r14)
  cmp    %rax,%r14
  jne    L119
  movl   $0x1,0xc(%rsp)
  jmp    L170
L130:
  movl   $0x0,0xc(%rsp)
  jmp    L170
L20:
  movl   $0x0,0xc(%rsp)
  jmp    L170
```

tool_calls: name: unpack_data
arguments: label: D28
datatype: string
name: unpack_data
arguments: label: D33
datatype: string
name: unpack_data
arguments: label: D45
datatype: string
name: unpack_data
arguments: label: D17
datatype: string
name: unpack_data
arguments: label: D30
datatype: string

tool: D28: Invalid character in name. Use \ooo for special characters.


tool: D33: Duplicate dots in name.


tool: D45: Expected three octal digits.


tool: D17: Invalid octal character.


tool: D30: *?<>|"/

assistant: ```c
int file_cvt(unsigned char *name, unsigned char *fixed) {
  unsigned char c;
  int size, ext, cnt;
  size = 8;
  ext = 0;
  while (*name) {
    c = *name;
    if (c < ' ' || c > 0x7e || strchr("*?<>|\"/", c)) {
      printf("Invalid character in name. Use \\ooo for special "
             "characters.\n");
      return 0;
    }
    if (c == '.') {
      if (ext) {
        printf("Duplicate dots in name.\n");
        return 0;
      }
      while (size--)
        *fixed++ = ' ';
      size = 3;
      ext = 1;
      name++;
      continue;
    }
    if (c == '\\') {
      c = 0;
      for (cnt = 3; cnt; cnt--) {
        if (*name < '0' || *name > '7') {
          printf("Invalid octal character.\n");
          return 0;
        }
        c = c * 8 + *name++ - '0';
      }
      if (cnt < 4) {
        printf("Expected three octal digits.\n");
        return 0;
      }
      name += 3;
    }
    if (islower(c))
      c = toupper(c);
    if (size) {
      *fixed++ = c;
      size--;
    }
    name++;
  }
  if (*name || size == 8)
    return 0;
  if (!ext) {
    while (size--)
      *fixed++ = ' ';
    size = 3;
  }
  while (size--)
    *fixed++ = ' ';
  return 1;
}
```