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

```asm
<tosFilename_split>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    %rdx,-0x38(%rbp)
  mov    %rcx,-0x40(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  cmpq   $0x0,-0x30(%rbp)
  je     L127
  mov    -0x30(%rbp),%rax
  movb   $0x0,(%rax)
L127:
  cmpq   $0x0,-0x38(%rbp)
  je     L82
  mov    -0x38(%rbp),%rax
  movb   $0x0,(%rax)
L82:
  cmpq   $0x0,-0x40(%rbp)
  je     L62
  mov    -0x40(%rbp),%rax
  movb   $0x0,(%rax)
L62:
  lea    -0xc(%rbp),%rcx
  lea    -0x10(%rbp),%rdx
  lea    -0x14(%rbp),%rsi
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <tosFilename_getSlashDotLen@plt>
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x5c,%al
  je     L13
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x2f,%al
  je     L13
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x3a,%al
  jne    L30
L13:
  cmpq   $0x0,-0x30(%rbp)
  je     L97
  mov    -0x14(%rbp),%eax
  lea    0x1(%rax),%esi
  mov    -0x28(%rbp),%rdx
  mov    -0x30(%rbp),%rax
  mov    %rdx,%rcx
  mov    %esi,%edx
  mov    $0x0,%esi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <tosString_extract@plt>
L97:
  cmpq   $0x0,-0x38(%rbp)
  je     L123
  mov    -0x10(%rbp),%eax
  mov    -0x14(%rbp),%edx
  sub    $0x1,%edx
  sub    %edx,%eax
  mov    %eax,%edi
  mov    -0x14(%rbp),%eax
  lea    0x1(%rax),%esi
  mov    -0x28(%rbp),%rdx
  mov    -0x38(%rbp),%rax
  mov    %rdx,%rcx
  mov    %edi,%edx
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <tosString_extract@plt>
  jmp    L123
L30:
  cmpq   $0x0,-0x38(%rbp)
  je     L123
  mov    -0x10(%rbp),%eax
  mov    -0x14(%rbp),%edx
  sub    %edx,%eax
  mov    %eax,%esi
  mov    -0x28(%rbp),%rdx
  mov    -0x38(%rbp),%rax
  mov    %rdx,%rcx
  mov    %esi,%edx
  mov    $0x0,%esi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <tosString_extract@plt>
L123:
  mov    -0x10(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x2e,%al
  jne    L53
  cmpq   $0x0,-0x40(%rbp)
  je     L53
  mov    -0xc(%rbp),%eax
  mov    -0x10(%rbp),%edx
  sub    %edx,%eax
  mov    %eax,%edi
  mov    -0x10(%rbp),%eax
  lea    0x1(%rax),%esi
  mov    -0x28(%rbp),%rdx
  mov    -0x40(%rbp),%rax
  mov    %rdx,%rcx
  mov    %edi,%edx
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <tosString_extract@plt>
L53:
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L98
  call   <__stack_chk_fail@plt>
L98:
  leave
  ret
```

assistant: ```c
void tosFilename_split(const char *pszFilename, char *pszPath, char *pszName, char *pszExtension) {
  int slash, dot, len;
  if (pszPath != ((void *)0))
    *pszPath = '\0';
  if (pszName != ((void *)0))
    *pszName = '\0';
  if (pszExtension != ((void *)0))
    *pszExtension = '\0';
  tosFilename_getSlashDotLen(pszFilename, &slash, &dot, &len);
  if ((pszFilename[slash] == '\\') || (pszFilename[slash] == '/') || (pszFilename[slash] == ':')) {
    if (pszPath != ((void *)0))
      tosString_extract(pszPath, 0, slash + 1, pszFilename);
    if (pszName != ((void *)0))
      tosString_extract(pszName, slash + 1, dot - (slash - 1), pszFilename);
  } else if (pszName != ((void *)0))
    tosString_extract(pszName, 0, dot - slash, pszFilename);
  if ((pszFilename[dot] == '.') && (pszExtension != ((void *)0)))
    tosString_extract(pszExtension, dot + 1, len - dot, pszFilename);
}
```