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

```asm
<cmml_tstr_fix>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  mov    %rdi,-0x48(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movq   $0x0,-0x30(%rbp)
  movq   $0x0,-0x28(%rbp)
  movl   $0x0,-0x34(%rbp)
  cmpq   $0x0,-0x48(%rbp)
  jne    L142
  mov    $0x0,%eax
  jmp    L166
L142:
  lea    -0x20(%rbp),%rdx
  mov    -0x48(%rbp),%rax
  lea    D73(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sscanf@plt>
  cmp    $0x1,%eax
  je     L135
  lea    -0x20(%rbp),%rdx
  mov    -0x48(%rbp),%rax
  lea    D69(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sscanf@plt>
  cmp    $0x1,%eax
  je     L135
  lea    -0x20(%rbp),%rdx
  mov    -0x48(%rbp),%rax
  lea    D46(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sscanf@plt>
  cmp    $0x1,%eax
  je     L135
  lea    -0x20(%rbp),%rdx
  mov    -0x48(%rbp),%rax
  lea    D70(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sscanf@plt>
  cmp    $0x1,%eax
  je     L135
  lea    -0x20(%rbp),%rdx
  mov    -0x48(%rbp),%rax
  lea    D45(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sscanf@plt>
  cmp    $0x1,%eax
  je     L135
  lea    -0x20(%rbp),%rdx
  mov    -0x48(%rbp),%rax
  lea    D7(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sscanf@plt>
  cmp    $0x1,%eax
  je     L135
  lea    -0x20(%rbp),%rdx
  mov    -0x48(%rbp),%rax
  lea    D77(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sscanf@plt>
  cmp    $0x1,%eax
  je     L135
  lea    -0x20(%rbp),%rdx
  mov    -0x48(%rbp),%rax
  lea    D85(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sscanf@plt>
  cmp    $0x1,%eax
  jne    L112
L135:
  mov    -0x48(%rbp),%rax
  jmp    L166
L112:
  lea    -0x20(%rbp),%rdx
  mov    -0x48(%rbp),%rax
  lea    D67(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sscanf@plt>
  cmp    $0x1,%eax
  jne    L156
  movl   $0x4,-0x34(%rbp)
  mov    -0x34(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,%rdi
  call   <fix_npt_str@plt>
  mov    %rax,-0x30(%rbp)
  jmp    L79
L156:
  movl   $0x0,-0x34(%rbp)
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <fix_npt_str@plt>
  mov    %rax,-0x30(%rbp)
L79:
  cmpq   $0x0,-0x30(%rbp)
  jne    L116
  mov    $0x0,%eax
  jmp    L166
L116:
  mov    -0x30(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %rax,%rdx
  mov    -0x34(%rbp),%eax
  cltq
  add    %rdx,%rax
  add    $0x1,%rax
  mov    %rax,%rdi
  call   <emalloc@plt>
  mov    %rax,-0x28(%rbp)
  cmpl   $0x0,-0x34(%rbp)
  jle    L92
  mov    -0x28(%rbp),%rax
  mov    $0x4,%edx
  lea    D20(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncpy@plt>
L92:
  mov    -0x34(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  mov    -0x30(%rbp),%rdx
  mov    -0x28(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcat@plt>
  mov    -0x28(%rbp),%rax
L166:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L101
  call   <__stack_chk_fail@plt>
L101:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D73
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D69
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D46
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D70
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D45
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D7
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D77
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D85
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D67
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D20
type_infered: string

tool: D73: smpte-24:%16s

tool: D69: smpte-24-drop:%16s

tool: D46: smpte-25:%16s

tool: D70: smpte-30:%16s

tool: D45: smpte-30-drop:%16s

tool: D7: smpte-50:%16s

tool: D77: smpte-60:%16s

tool: D85: smpte-60-drop:%16s

tool: D67: npt:%16s

tool: D20: npt:

assistant: ```c
char *cmml_tstr_fix(const char *str) {
  char timespec[16];
  char *fix_timespec = NULL;
  char *full_timespec = NULL;
  int speclen = 0;
  if (str == NULL) {
    return NULL;
  }
  if ((sscanf(str, "smpte-24:%16s", timespec) == 1) || (sscanf(str, "smpte-24-drop:%16s", timespec) == 1) || (sscanf(str, "smpte-25:%16s", timespec) == 1) || (sscanf(str, "smpte-30:%16s", timespec) == 1) || (sscanf(str, "smpte-30-drop:%16s", timespec) == 1) || (sscanf(str, "smpte-50:%16s", timespec) == 1) || (sscanf(str, "smpte-60:%16s", timespec) == 1) || (sscanf(str, "smpte-60-drop:%16s", timespec) == 1)) {
    return (char *)str;
  }
  if (sscanf(str, "npt:%16s", timespec) == 1) {
    speclen = 4;
    fix_timespec = fix_npt_str(str + speclen);
  } else {
    speclen = 0;
    fix_timespec = fix_npt_str(str);
  }
  if (fix_timespec == NULL)
    return NULL;
  full_timespec = (char *)emalloc(strlen(fix_timespec) + speclen + 1);
  if (speclen > 0) {
    strncpy(full_timespec, "npt:", 4);
  }
  full_timespec[speclen] = '\0';
  strcat(full_timespec, fix_timespec);
  return full_timespec;
}
```