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

```asm
<parse_false_true>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  mov    %rsi,%rbp
  mov    %edx,%r12d
  lea    D74(%rip),%rsi
  call   <strcasecmp@plt>
  mov    %rax,%rdx
  mov    $0x1,%eax
  test   %rdx,%rdx
  jne    L98
L58:
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
L98:
  lea    D91(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcasecmp@plt>
  mov    %rax,%rdx
  mov    $0x1,%eax
  test   %rdx,%rdx
  je     L58
  lea    D62(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcasecmp@plt>
  mov    %rax,%rdx
  mov    $0x1,%eax
  test   %rdx,%rdx
  je     L58
  lea    D90(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcasecmp@plt>
  mov    %rax,%rdx
  mov    $0x1,%eax
  test   %rdx,%rdx
  je     L58
  lea    D25(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcasecmp@plt>
  mov    %rax,%rdx
  mov    $0x1,%eax
  test   %rdx,%rdx
  je     L58
  lea    D13(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcasecmp@plt>
  mov    %rax,%rdx
  mov    $0x0,%eax
  test   %rdx,%rdx
  je     L58
  lea    D38(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcasecmp@plt>
  mov    %rax,%rdx
  mov    $0x0,%eax
  test   %rdx,%rdx
  je     L58
  lea    D29(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcasecmp@plt>
  mov    %rax,%rdx
  mov    $0x0,%eax
  test   %rdx,%rdx
  je     L58
  lea    D0(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcasecmp@plt>
  mov    %rax,%rdx
  mov    $0x0,%eax
  test   %rdx,%rdx
  je     L58
  lea    D24(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcasecmp@plt>
  mov    %rax,%rdx
  mov    $0x0,%eax
  test   %rdx,%rdx
  je     L58
  mov    %r12d,%r8d
  mov    %rbx,%rcx
  mov    %rbp,%rdx
  lea    D45(%rip),%rsi
  mov    $0x0,%edi
  call   <error_exit@plt>
  mov    $0x0,%eax
  jmp    L58
```

tool_calls: name: unpack_data
arguments: label: D74
type_guessed: string
name: unpack_data
arguments: label: D91
type_guessed: string
name: unpack_data
arguments: label: D62
type_guessed: string
name: unpack_data
arguments: label: D90
type_guessed: string
name: unpack_data
arguments: label: D25
type_guessed: string
name: unpack_data
arguments: label: D13
type_guessed: string
name: unpack_data
arguments: label: D38
type_guessed: string
name: unpack_data
arguments: label: D29
type_guessed: string
name: unpack_data
arguments: label: D0
type_guessed: string
name: unpack_data
arguments: label: D24
type_guessed: string
name: unpack_data
arguments: label: D45
type_guessed: string

tool: D74: YES

tool: D91: JA

tool: D62: TRUE

tool: D90: ON

tool: D25: 1

tool: D13: NO

tool: D38: NEE

tool: D29: FALSE

tool: D0: OFF

tool: D24: 0

tool: D45: %s requires either 'true' or 'false', not '%s' (line %d)

assistant: ```c
char parse_false_true(const char *value_in, const char *subject, int line) {
  if (strcasecmp(value_in, "YES") == 0 || strcasecmp(value_in, "JA") == 0 || strcasecmp(value_in, "TRUE") == 0 || strcasecmp(value_in, "ON") == 0 || strcasecmp(value_in, "1") == 0) {
    return 1;
  } else if (strcasecmp(value_in, "NO") == 0 || strcasecmp(value_in, "NEE") == 0 || strcasecmp(value_in, "FALSE") == 0 || strcasecmp(value_in, "OFF") == 0 || strcasecmp(value_in, "0") == 0) {
    return 0;
  }
  error_exit(0, "%s requires either 'true' or 'false', not '%s' (line %d)", subject, value_in, line);
  return 0;
}
```