// File: /workspace/github_c_makefile_star2_O0/deplinenoise[P]tundra/unittest/googletest/googletest/src/gtest-port.cc
// Function: testing::internal::StringFromGTestEnv[abi:cxx11](char const*, char const*)
std::string StringFromGTestEnv(const char* flag, const char* default_value) {
#if defined(GTEST_GET_STRING_FROM_ENV_)
  return GTEST_GET_STRING_FROM_ENV_(flag, default_value);
#endif  // defined(GTEST_GET_STRING_FROM_ENV_)
  const std::string env_var = FlagToEnvVar(flag);
  const char* value = posix::GetEnv(env_var.c_str());
  if (value != NULL) {
    return value;
  }

  // As a special case for the 'output' flag, if GTEST_OUTPUT is not
  // set, we look for XML_OUTPUT_FILE, which is set by the Bazel build
  // system.  The value of XML_OUTPUT_FILE is a filename without the
  // "xml:" prefix of GTEST_OUTPUT.
  //
  // The net priority order after flag processing is thus:
  //   --gtest_output command line flag
  //   GTEST_OUTPUT environment variable
  //   XML_OUTPUT_FILE environment variable
  //   'default_value'
  if (strcmp(flag, "output") == 0) {
    value = posix::GetEnv("XML_OUTPUT_FILE");
    if (value != NULL) {
      return std::string("xml:") + value;
    }
  }
  return default_value;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rdi, -0xa0(%rbp)
movq %rdi, %rax
movq %rax, -0x98(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x10(%rbp), %rsi
leaq -0x38(%rbp), %rdi
movq %rdi, -0x90(%rbp)
callq 0x2e030
movq -0x90(%rbp), %rdi
callq 0xe2b0
movq %rax, %rdi
callq 0x35010
movq %rax, -0x88(%rbp)
jmp 0x13989
movq -0x88(%rbp), %rax
movq %rax, -0x40(%rbp)
cmpq $0x0, -0x40(%rbp)
je 0x13a12
movq -0x40(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq -0x4d(%rbp), %rdi
movq %rdi, -0xa8(%rbp)
callq 0xee90
movq -0xa0(%rbp), %rdi
movq -0xb0(%rbp), %rsi
movq -0xa8(%rbp), %rdx
callq 0x30890
jmp 0x139d2
leaq -0x4d(%rbp), %rdi
callq 0xe850
movl $0x1, -0x54(%rbp)
jmp 0x13b43
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x13b5c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x4d(%rbp), %rdi
callq 0xe850
jmp 0x13b5c
movq -0x10(%rbp), %rdi
leaq 0x7adc2(%rip), %rsi     # 0x8e7df
callq 0xf060
cmpl $0x0, %eax
jne 0x13ae3
leaq 0x77ef8(%rip), %rdi     # 0x8b92a
callq 0x35010
movq %rax, -0xb8(%rbp)
jmp 0x13a40
movq -0xb8(%rbp), %rax
movq %rax, -0x40(%rbp)
cmpq $0x0, -0x40(%rbp)
je 0x13ae1
leaq -0x79(%rbp), %rdi
movq %rdi, -0xc0(%rbp)
callq 0xee90
movq -0xc0(%rbp), %rdx
leaq 0x77ec6(%rip), %rsi     # 0x8b93a
leaq -0x78(%rbp), %rdi
callq 0x30890
jmp 0x13a7f
movq -0xa0(%rbp), %rdi
movq -0x40(%rbp), %rdx
leaq -0x78(%rbp), %rsi
callq 0x30980
jmp 0x13a95
leaq -0x78(%rbp), %rdi
callq 0xf058
leaq -0x79(%rbp), %rdi
callq 0xe850
movl $0x1, -0x54(%rbp)
jmp 0x13b43
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x13ad6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x78(%rbp), %rdi
callq 0xf058
leaq -0x79(%rbp), %rdi
callq 0xe850
jmp 0x13b5c
jmp 0x13ae3
movq -0x18(%rbp), %rax
movq %rax, -0xd0(%rbp)
leaq -0x7a(%rbp), %rdi
movq %rdi, -0xc8(%rbp)
callq 0xee90
movq -0xa0(%rbp), %rdi
movq -0xd0(%rbp), %rsi
movq -0xc8(%rbp), %rdx
callq 0x30890
jmp 0x13b1a
leaq -0x7a(%rbp), %rdi
callq 0xe850
movl $0x1, -0x54(%rbp)
jmp 0x13b43
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x7a(%rbp), %rdi
callq 0xe850
jmp 0x13b5c
leaq -0x38(%rbp), %rdi
callq 0xf058
movq -0x98(%rbp), %rax
addq $0xd0, %rsp
popq %rbp
retq
leaq -0x38(%rbp), %rdi
callq 0xf058
movq -0x48(%rbp), %rdi
callq 0xee80
nop