user: What is the c source code of the assembly code below:

```asm
<filevercmp>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  mov    %rdi,-0x48(%rbp)
  mov    %rsi,-0x50(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0x50(%rbp),%rdx
  mov    -0x48(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  mov    %eax,-0x40(%rbp)
  cmpl   $0x0,-0x40(%rbp)
  jne    L169
  mov    $0x0,%eax
  jmp    L327
L169:
  mov    -0x48(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L64
  mov    $0xffffffff,%eax
  jmp    L327
L64:
  mov    -0x50(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L97
  mov    $0x1,%eax
  jmp    L327
L97:
  mov    -0x48(%rbp),%rax
  mov    %rax,%rsi
  lea    D13(%rip),%rax
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L228
  mov    $0xffffffff,%eax
  jmp    L327
L228:
  mov    -0x50(%rbp),%rax
  mov    %rax,%rsi
  lea    D13(%rip),%rax
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L145
  mov    $0x1,%eax
  jmp    L327
L145:
  mov    -0x48(%rbp),%rax
  mov    %rax,%rsi
  lea    D7(%rip),%rax
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L329
  mov    $0xffffffff,%eax
  jmp    L327
L329:
  mov    -0x50(%rbp),%rax
  mov    %rax,%rsi
  lea    D7(%rip),%rax
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L4
  mov    $0x1,%eax
  jmp    L327
L4:
  mov    -0x48(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2e,%al
  jne    L69
  mov    -0x50(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2e,%al
  je     L69
  mov    $0xffffffff,%eax
  jmp    L327
L69:
  mov    -0x48(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2e,%al
  je     L108
  mov    -0x50(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2e,%al
  jne    L108
  mov    $0x1,%eax
  jmp    L327
L108:
  mov    -0x48(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2e,%al
  jne    L199
  mov    -0x50(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2e,%al
  jne    L199
  addq   $0x1,-0x48(%rbp)
  addq   $0x1,-0x50(%rbp)
L199:
  mov    -0x48(%rbp),%rax
  mov    %rax,-0x38(%rbp)
  mov    -0x50(%rbp),%rax
  mov    %rax,-0x30(%rbp)
  lea    -0x38(%rbp),%rax
  mov    %rax,%rdi
  call   <match_suffix@plt>
  mov    %rax,-0x18(%rbp)
  lea    -0x30(%rbp),%rax
  mov    %rax,%rdi
  call   <match_suffix@plt>
  mov    %rax,-0x10(%rbp)
  cmpq   $0x0,-0x18(%rbp)
  je     L190
  mov    -0x18(%rbp),%rax
  jmp    L194
L190:
  mov    -0x38(%rbp),%rax
L194:
  sub    -0x48(%rbp),%rax
  mov    %rax,-0x28(%rbp)
  cmpq   $0x0,-0x10(%rbp)
  je     L135
  mov    -0x10(%rbp),%rax
  jmp    L293
L135:
  mov    -0x30(%rbp),%rax
L293:
  sub    -0x50(%rbp),%rax
  mov    %rax,-0x20(%rbp)
  cmpq   $0x0,-0x18(%rbp)
  jne    L25
  cmpq   $0x0,-0x10(%rbp)
  je     L248
L25:
  mov    -0x28(%rbp),%rax
  cmp    -0x20(%rbp),%rax
  jne    L248
  mov    -0x28(%rbp),%rdx
  mov    -0x50(%rbp),%rcx
  mov    -0x48(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  jne    L248
  mov    -0x38(%rbp),%rax
  sub    -0x48(%rbp),%rax
  mov    %rax,-0x28(%rbp)
  mov    -0x30(%rbp),%rax
  sub    -0x50(%rbp),%rax
  mov    %rax,-0x20(%rbp)
L248:
  mov    -0x20(%rbp),%rcx
  mov    -0x50(%rbp),%rdx
  mov    -0x28(%rbp),%rsi
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <verrevcmp@plt>
  mov    %eax,-0x3c(%rbp)
  cmpl   $0x0,-0x3c(%rbp)
  jne    L298
  mov    -0x40(%rbp),%eax
  jmp    L327
L298:
  mov    -0x3c(%rbp),%eax
L327:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L310
  call   <__stack_chk_fail@plt>
L310:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D13
type: string
name: extract_symbolic_data
arguments: data_tag: D7
type: string

tool: D13: .

tool: D7: ..

assistant: ```c
int filevercmp(const char *s1, const char *s2) {
  const char *s1_pos;
  const char *s2_pos;
  const char *s1_suffix, *s2_suffix;
  size_t s1_len, s2_len;
  int result;
  int simple_cmp = strcmp(s1, s2);
  if (simple_cmp == 0)
    return 0;
  if (!*s1)
    return -1;
  if (!*s2)
    return 1;
  if (0 == strcmp(".", s1))
    return -1;
  if (0 == strcmp(".", s2))
    return 1;
  if (0 == strcmp("..", s1))
    return -1;
  if (0 == strcmp("..", s2))
    return 1;
  if (*s1 == '.' && *s2 != '.')
    return -1;
  if (*s1 != '.' && *s2 == '.')
    return 1;
  if (*s1 == '.' && *s2 == '.') {
    s1++;
    s2++;
  }
  s1_pos = s1;
  s2_pos = s2;
  s1_suffix = match_suffix(&s1_pos);
  s2_suffix = match_suffix(&s2_pos);
  s1_len = (s1_suffix ? s1_suffix : s1_pos) - s1;
  s2_len = (s2_suffix ? s2_suffix : s2_pos) - s2;
  if ((s1_suffix || s2_suffix) && (s1_len == s2_len) && 0 == strncmp(s1, s2, s1_len)) {
    s1_len = s1_pos - s1;
    s2_len = s2_pos - s2;
  }
  result = verrevcmp(s1, s1_len, s2, s2_len);
  return result == 0 ? simple_cmp : result;
}
```