// File: /workspace/github_c_makefile_star2_O0/deplinenoise[P]tundra/unittest/googletest/googletest/src/gtest-port.cc
// Function: testing::internal::Int32FromGTestEnv(char const*, int)
Int32 Int32FromGTestEnv(const char* flag, Int32 default_value) {
#if defined(GTEST_GET_INT32_FROM_ENV_)
  return GTEST_GET_INT32_FROM_ENV_(flag, default_value);
#endif  // defined(GTEST_GET_INT32_FROM_ENV_)
  const std::string env_var = FlagToEnvVar(flag);
  const char* const string_value = posix::GetEnv(env_var.c_str());
  if (string_value == NULL) {
    // The environment variable is not set.
    return default_value;
  }

  Int32 result = default_value;
  if (!ParseInt32(Message() << "Environment variable " << env_var,
                  string_value, &result)) {
    printf("The default value %s is used.\n",
           (Message() << default_value).GetString().c_str());
    fflush(stdout);
    return default_value;
  }

  return result;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq -0x10(%rbp), %rsi
leaq -0x38(%rbp), %rdi
movq %rdi, -0x98(%rbp)
callq 0x2e030
movq -0x98(%rbp), %rdi
callq 0xe2b0
movq %rax, %rdi
callq 0x35010
movq %rax, -0x90(%rbp)
jmp 0x13bc3
movq -0x90(%rbp), %rax
movq %rax, -0x40(%rbp)
cmpq $0x0, -0x40(%rbp)
jne 0x13bf8
movl -0x14(%rbp), %eax
movl %eax, -0x4(%rbp)
movl $0x1, -0x50(%rbp)
jmp 0x13d5c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x13d71
movl -0x14(%rbp), %eax
movl %eax, -0x54(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x16d70
jmp 0x13c09
leaq 0x77ce5(%rip), %rsi     # 0x8b8f5
leaq -0x60(%rbp), %rdi
callq 0x38e90
movq %rax, -0xa0(%rbp)
jmp 0x13c22
movq -0xa0(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x30b60
movq %rax, -0xa8(%rbp)
jmp 0x13c3b
movq -0xa8(%rbp), %rdi
movq -0x40(%rbp), %rsi
leaq -0x54(%rbp), %rdx
callq 0x26920
movb %al, -0xa9(%rbp)
jmp 0x13c57
movb -0xa9(%rbp), %al
xorb $-0x1, %al
movb %al, -0xaa(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x31070
movb -0xaa(%rbp), %al
testb $0x1, %al
jne 0x13c7d
jmp 0x13d4f
leaq -0x88(%rbp), %rdi
callq 0x16d70
jmp 0x13c8b
leaq -0x88(%rbp), %rdi
leaq -0x14(%rbp), %rsi
callq 0x30be0
movq %rax, -0xb8(%rbp)
jmp 0x13ca4
movq -0xb8(%rbp), %rsi
leaq -0x80(%rbp), %rdi
callq 0x170f0
jmp 0x13cb6
leaq -0x80(%rbp), %rdi
callq 0xe2b0
movq %rax, %rsi
leaq 0x77c42(%rip), %rdi     # 0x8b90b
xorl %eax, %eax
callq 0xe0a0
jmp 0x13cd2
leaq -0x80(%rbp), %rdi
callq 0xf058
leaq -0x88(%rbp), %rdi
callq 0x31070
movq 0xad2a2(%rip), %rax     # 0xc0f90
movq (%rax), %rdi
callq 0xe970
jmp 0x13cf8
movl -0x14(%rbp), %eax
movl %eax, -0x4(%rbp)
movl $0x1, -0x50(%rbp)
jmp 0x13d5c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x31070
jmp 0x13d71
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x13d41
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x80(%rbp), %rdi
callq 0xf058
leaq -0x88(%rbp), %rdi
callq 0x31070
jmp 0x13d71
movl -0x54(%rbp), %eax
movl %eax, -0x4(%rbp)
movl $0x1, -0x50(%rbp)
leaq -0x38(%rbp), %rdi
callq 0xf058
movl -0x4(%rbp), %eax
addq $0xc0, %rsp
popq %rbp
retq
leaq -0x38(%rbp), %rdi
callq 0xf058
movq -0x48(%rbp), %rdi
callq 0xee80
nopw %cs:(%rax,%rax)