user: Converte this assembly snippet into its equivalent C code:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x178,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x18(%rbp)
  xor    %eax,%eax
  movl   $0x1,-0x174(%rbp)
  mov    $0x73,%esi
  lea    D4(%rip),%rax
  mov    %rax,%rdi
  call   <strchr@plt>
  lea    -0x80(%rbp),%rcx
  lea    -0xf0(%rbp),%rdx
  lea    -0x160(%rbp),%rax
  mov    %rax,%rsi
  lea    D10(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  lea    -0x160(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %rax,%rbx
  lea    -0xf0(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  add    %rax,%rbx
  lea    -0x80(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  cmp    %rax,%rbx
  je     L133
  movl   $0x0,-0x174(%rbp)
L133:
  movl   $0x0,-0x178(%rbp)
  jmp    L120
L70:
  mov    -0x178(%rbp),%eax
  cltq
  movzbl -0x160(%rbp,%rax,1),%eax
  movsbl %al,%edx
  lea    -0x80(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <strchr@plt>
  mov    %rax,-0x170(%rbp)
  cmpq   $0x0,-0x170(%rbp)
  jne    L111
  movl   $0x0,-0x174(%rbp)
  jmp    L148
L111:
  mov    -0x170(%rbp),%rax
  movb   $0x2d,(%rax)
  addl   $0x1,-0x178(%rbp)
L120:
  mov    -0x178(%rbp),%eax
  cltq
  movzbl -0x160(%rbp,%rax,1),%eax
  test   %al,%al
  je     L148
  cmpl   $0x0,-0x174(%rbp)
  jne    L70
L148:
  movl   $0x0,-0x178(%rbp)
  jmp    L57
L87:
  mov    -0x178(%rbp),%eax
  cltq
  movzbl -0xf0(%rbp,%rax,1),%eax
  movsbl %al,%edx
  lea    -0x80(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <strchr@plt>
  mov    %rax,-0x168(%rbp)
  cmpq   $0x0,-0x168(%rbp)
  jne    L62
  movl   $0x0,-0x174(%rbp)
  jmp    L77
L62:
  mov    -0x168(%rbp),%rax
  movb   $0x2d,(%rax)
  addl   $0x1,-0x178(%rbp)
L57:
  mov    -0x178(%rbp),%eax
  cltq
  movzbl -0xf0(%rbp,%rax,1),%eax
  test   %al,%al
  je     L77
  cmpl   $0x0,-0x174(%rbp)
  jne    L87
L77:
  lea    -0x80(%rbp),%rax
  lea    D33(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strspn@plt>
  mov    %rax,%rbx
  lea    -0x80(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  cmp    %rax,%rbx
  je     L36
  movl   $0x0,-0x174(%rbp)
L36:
  cmpl   $0x0,-0x174(%rbp)
  jne    L29
  lea    D2(%rip),%rax
  jmp    L27
L29:
  lea    D15(%rip),%rax
L27:
  mov    %rax,%rsi
  lea    D57(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  mov    -0x18(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L48
  call   <__stack_chk_fail@plt>
L48:
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D4
type: string
name: extract_symbolic_data
arguments: data_tag: D10
type: string
name: extract_symbolic_data
arguments: data_tag: D33
type: string
name: extract_symbolic_data
arguments: data_tag: D2
type: string
name: extract_symbolic_data
arguments: data_tag: D15
type: string
name: extract_symbolic_data
arguments: data_tag: D57
type: string

tool: D4: dfgg

tool: D10: %s%s%s

tool: D33: -

tool: D2: NO

tool: D15: YES

tool: D57: %s

assistant: ```c
int main() {
  char str1[102], str2[102], strs[102];
  int count;
  int is = 1;
  strchr("dfgg", 's');
  scanf("%s%s%s", str1, str2, strs);
  if (strlen(str1) + strlen(str2) != strlen(strs))
    is = 0;
  for (count = 0; str1[count] != '\0' && is != 0; count++) {
    char *z = strchr(strs, str1[count]);
    if (z == NULL) {
      is = 0;
      break;
    } else
      *z = '-';
  }
  for (count = 0; str2[count] != '\0' && is != 0; count++) {
    char *z = strchr(strs, str2[count]);
    if (z == NULL) {
      is = 0;
      break;
    } else
      *z = '-';
  }
  if (strspn(strs, "-") != strlen(strs)) {
    is = 0;
  }
  printf("%s", ((is == 0) ? "NO" : "YES"));
  return 0;
}
```