user: What would the C source look like for the assembly code provided here:

```asm
<ShouldUseColor>:
  endbr64
  push   %rbp
  lea    D84(%rip),%rbp
  push   %rbx
  mov    %rbp,%rsi
  mov    %edi,%ebx
  mov    %rbp,%rdi
  sub    $0x8,%rsp
  call   <StringCaseInsensitiveCStringEquals@plt>
  test   %rax,%rax
  jne    L11
  lea    D123(%rip),%rsi
  mov    %rbp,%rdi
  call   <StringCaseInsensitiveCStringEquals@plt>
  test   %rax,%rax
  je     L32
L49:
  mov    $0x1,%eax
L46:
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  ret
  nopl   0x0(%rax,%rax,1)
L32:
  lea    D120(%rip),%rsi
  mov    %rbp,%rdi
  call   <StringCaseInsensitiveCStringEquals@plt>
  test   %rax,%rax
  jne    L49
  lea    D4(%rip),%rsi
  mov    %rbp,%rdi
  call   <StringCaseInsensitiveCStringEquals@plt>
  test   %rax,%rax
  jne    L49
  lea    D18(%rip),%rsi
  mov    %rbp,%rdi
  call   <StringCStringEquals@plt>
  test   %rax,%rax
  setne  %al
  movzbl %al,%eax
  jmp    L46
  nopw   0x0(%rax,%rax,1)
L11:
  lea    D76(%rip),%rdi
  call   <posixGetEnv@plt>
  lea    D59(%rip),%rsi
  mov    %rax,%rdi
  mov    %rax,%rbp
  call   <StringCStringEquals@plt>
  test   %rax,%rax
  je     L111
L63:
  mov    $0x1,%edx
L92:
  xor    %eax,%eax
  test   %ebx,%ebx
  setne  %al
  add    $0x8,%rsp
  and    %edx,%eax
  pop    %rbx
  pop    %rbp
  ret
  nopl   0x0(%rax,%rax,1)
L111:
  lea    D23(%rip),%rsi
  mov    %rbp,%rdi
  call   <StringCStringEquals@plt>
  test   %rax,%rax
  jne    L63
  lea    D72(%rip),%rsi
  mov    %rbp,%rdi
  call   <StringCStringEquals@plt>
  test   %rax,%rax
  jne    L63
  lea    D16(%rip),%rsi
  mov    %rbp,%rdi
  call   <StringCStringEquals@plt>
  test   %rax,%rax
  jne    L63
  lea    D14(%rip),%rsi
  mov    %rbp,%rdi
  call   <StringCStringEquals@plt>
  test   %rax,%rax
  jne    L63
  lea    D127(%rip),%rsi
  mov    %rbp,%rdi
  call   <StringCStringEquals@plt>
  test   %rax,%rax
  jne    L63
  lea    D107(%rip),%rsi
  mov    %rbp,%rdi
  call   <StringCStringEquals@plt>
  test   %rax,%rax
  setne  %dl
  jmp    L92
```

tool_calls: name: unpack_data
arguments: data_label: D84
datatype: string
name: unpack_data
arguments: data_label: D123
datatype: string
name: unpack_data
arguments: data_label: D120
datatype: string
name: unpack_data
arguments: data_label: D4
datatype: string
name: unpack_data
arguments: data_label: D18
datatype: string
name: unpack_data
arguments: data_label: D76
datatype: string
name: unpack_data
arguments: data_label: D59
datatype: string
name: unpack_data
arguments: data_label: D23
datatype: string
name: unpack_data
arguments: data_label: D72
datatype: string
name: unpack_data
arguments: data_label: D16
datatype: string
name: unpack_data
arguments: data_label: D14
datatype: string
name: unpack_data
arguments: data_label: D127
datatype: string
name: unpack_data
arguments: data_label: D107
datatype: string

tool: D84: auto

tool: D123: yes

tool: D120: true

tool: D4: t

tool: D18: 1

tool: D76: TERM

tool: D59: xterm

tool: D23: xterm-color

tool: D72: xterm-256color

tool: D16: screen

tool: D14: screen-256color

tool: D127: linux

tool: D107: cygwin

assistant: ```c
int ShouldUseColor(int stdout_is_tty) {
  const char *const gtest_color = "auto";
  if (StringCaseInsensitiveCStringEquals(gtest_color, "auto")) {
    const char *const term = posixGetEnv("TERM");
    const int term_supports_color = StringCStringEquals(term, "xterm") || StringCStringEquals(term, "xterm-color") || StringCStringEquals(term, "xterm-256color") || StringCStringEquals(term, "screen") || StringCStringEquals(term, "screen-256color") || StringCStringEquals(term, "linux") || StringCStringEquals(term, "cygwin");
    return stdout_is_tty && term_supports_color;
  }
  return StringCaseInsensitiveCStringEquals(gtest_color, "yes") || StringCaseInsensitiveCStringEquals(gtest_color, "true") || StringCaseInsensitiveCStringEquals(gtest_color, "t") || StringCStringEquals(gtest_color, "1");
}
```