LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::TestEventListeners::SetDefaultResultPrinter(testing::TestEventListener*)
void TestEventListeners::SetDefaultResultPrinter(TestEventListener* listener) {
  if (default_result_printer_ != listener) {
    // It is an error to pass this method a listener that is already in the
    // list.
    delete Release(default_result_printer_);
    default_result_printer_ = listener;
    if (listener != NULL)
      Append(listener);
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq 0x8(%rdi), %rsi
cmpq %rbx, %rsi
je 0x1320c
movq %rdi, %r14
movq $0x0, 0x8(%rdi)
movq (%rdi), %rdi
callq 0xfa42
testq %rax, %rax
je 0x131f1
movq (%rax), %rcx
movq %rax, %rdi
callq *0x8(%rcx)
movq %rbx, 0x8(%r14)
testq %rbx, %rbx
je 0x1320c
movq (%r14), %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xfa18
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::TestEventListeners::SetDefaultXmlGenerator(testing::TestEventListener*)
void TestEventListeners::SetDefaultXmlGenerator(TestEventListener* listener) {
  if (default_xml_generator_ != listener) {
    // It is an error to pass this method a listener that is already in the
    // list.
    delete Release(default_xml_generator_);
    default_xml_generator_ = listener;
    if (listener != NULL)
      Append(listener);
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq 0x10(%rdi), %rsi
cmpq %rbx, %rsi
je 0x1326a
movq %rdi, %r14
xorl %eax, %eax
cmpq %rsi, 0x8(%rdi)
setne %al
movq $0x0, 0x8(%rdi,%rax,8)
movq (%rdi), %rdi
callq 0xfa42
testq %rax, %rax
je 0x1324f
movq (%rax), %rcx
movq %rax, %rdi
callq *0x8(%rcx)
movq %rbx, 0x10(%r14)
testq %rbx, %rbx
je 0x1326a
movq (%r14), %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xfa18
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::UnitTest::AddEnvironment(testing::Environment*)
Environment* UnitTest::AddEnvironment(Environment* env) {
  if (env == NULL) {
    return NULL;
  }

  impl_->environments().push_back(env);
  return env;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rsi, 0x8(%rsp)
testq %rsi, %rsi
je 0x1337b
movq %rsi, %rax
movq 0x40(%rdi), %rdi
movq 0xa8(%rdi), %rsi
cmpq 0xb0(%rdi), %rsi
je 0x1337f
movq %rax, (%rsi)
addq $0x8, 0xa8(%rdi)
jmp 0x13396
xorl %eax, %eax
jmp 0x13396
addq $0xa0, %rdi
leaq 0x8(%rsp), %rbx
movq %rbx, %rdx
callq 0x25880
movq (%rbx), %rax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::UnitTestImpl::RecordProperty(testing::TestProperty const&)
void UnitTestImpl::RecordProperty(const TestProperty& test_property) {
  std::string xml_element;
  TestResult* test_result;  // TestResult appropriate for property recording.

  if (current_test_info_ != NULL) {
    xml_element = "testcase";
    test_result = &(current_test_info_->result_);
  } else if (current_test_case_ != NULL) {
    xml_element = "testsuite";
    test_result = &(current_test_case_->ad_hoc_test_result_);
  } else {
    xml_element = "testsuites";
    test_result = &ad_hoc_test_result_;
  }
  test_result->RecordProperty(xml_element, test_property);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
cmpq $0x0, 0x110(%rdi)
je 0x133f0
leaq 0x1588f(%rip), %rcx     # 0x28c60
movq %rsp, %rdi
movl $0x8, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x67d0
movq 0x110(%r14), %r14
addq $0x68, %r14
jmp 0x13440
cmpq $0x0, 0x108(%r14)
je 0x13420
leaq 0x158e2(%rip), %rcx     # 0x28ce3
movq %rsp, %rdi
movl $0x9, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x67d0
movq 0x108(%r14), %r14
subq $-0x80, %r14
jmp 0x13440
leaq 0x158df(%rip), %rcx     # 0x28d06
movq %rsp, %rdi
movl $0xa, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x67d0
addq $0x118, %r14            # imm = 0x118
movq %rsp, %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq 0xc584
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x13464
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6430
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x13487
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6430
movq %rbx, %rdi
callq 0x68e0
nop
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::UnitTestImpl::~UnitTestImpl()
UnitTestImpl::~UnitTestImpl() {
  // Deletes every TestCase.
  ForEach(test_cases_, internal::Delete<TestCase>);

  // Deletes every Environment.
  ForEach(environments_, internal::Delete<Environment>);

  delete os_stack_trace_getter_;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x229cb(%rip), %rax     # 0x366c0
movq %rax, (%rdi)
movq 0xb8(%rdi), %r14
movq 0xc0(%rdi), %r15
cmpq %r15, %r14
je 0x13d1f
movq (%r14), %rdi
testq %rdi, %rdi
je 0x13d19
movq (%rdi), %rax
callq *0x8(%rax)
addq $0x8, %r14
jmp 0x13d06
movq 0xa0(%rbx), %r14
movq 0xa8(%rbx), %r15
cmpq %r15, %r14
je 0x13d46
movq (%r14), %rdi
testq %rdi, %rdi
je 0x13d40
movq (%rdi), %rax
callq *0x8(%rax)
addq $0x8, %r14
jmp 0x13d2d
movq 0x1a8(%rbx), %rdi
testq %rdi, %rdi
je 0x13d58
movq (%rdi), %rax
callq *0x8(%rax)
leaq 0x1e0(%rbx), %rdi
callq 0x1fe48
movq 0x1d8(%rbx), %rdi
testq %rdi, %rdi
je 0x13d81
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x1d8(%rbx)
leaq 0x1d0(%rbx), %rdi
xorl %esi, %esi
callq 0x23bfe
movq 0x190(%rbx), %rdi
testq %rdi, %rdi
je 0x13da1
movq (%rdi), %rax
callq *0x8(%rax)
leaq 0x118(%rbx), %r14
leaq 0x168(%rbx), %rdi
callq 0x1ed62
leaq 0x150(%rbx), %rdi
callq 0x1ed92
movq %r14, %rdi
callq 0x1edc2
leaq 0xe8(%rbx), %rdi
callq 0x1feee
movq 0xd0(%rbx), %rdi
testq %rdi, %rdi
je 0x13def
movq 0xe0(%rbx), %rsi
subq %rdi, %rsi
callq 0x6430
movq 0xb8(%rbx), %rdi
testq %rdi, %rdi
je 0x13e0a
movq 0xc8(%rbx), %rsi
subq %rdi, %rsi
callq 0x6430
movq 0xa0(%rbx), %rdi
testq %rdi, %rdi
je 0x13e25
movq 0xb0(%rbx), %rsi
subq %rdi, %rsi
callq 0x6430
leaq 0x90(%rbx), %rdi
callq 0x1ff42
leaq 0x58(%rbx), %rdi
callq 0x1edc2
movq 0x10(%rbx), %rdi
addq $0x20, %rbx
cmpq %rbx, %rdi
je 0x13e57
movq (%rbx), %rsi
incq %rsi
popq %rbx
popq %r14
popq %r15
jmp 0x6430
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::UnitTestImpl::ConfigureXmlOutput()
void UnitTestImpl::ConfigureXmlOutput() {
  const std::string& output_format = UnitTestOptions::GetOutputFormat();
  if (output_format == "xml") {
    listeners()->SetDefaultXmlGenerator(new XmlUnitTestResultPrinter(
        UnitTestOptions::GetAbsolutePathToOutputFile().c_str()));
  } else if (output_format != "") {
    printf("WARNING: unrecognized output format \"%s\" ignored.\n",
           output_format.c_str());
    fflush(stdout);
  }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rdi, %r14
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x84ec
leaq 0x14fd7(%rip), %rsi     # 0x28e80
movq %rbx, %rdi
callq 0x6120
testl %eax, %eax
je 0x13eeb
leaq 0x14c19(%rip), %rsi     # 0x28ad5
movq %rsp, %rdi
callq 0x6120
testl %eax, %eax
je 0x13f41
movq (%rsp), %rsi
leaq 0x14fb1(%rip), %rdi     # 0x28e84
xorl %eax, %eax
callq 0x6080
movq 0x230a7(%rip), %rax     # 0x36f88
movq (%rax), %rdi
callq 0x6560
jmp 0x13f41
movl $0x28, %edi
callq 0x6400
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x8562
movb $0x1, %bpl
movq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0xfe96
addq $0x190, %r14            # imm = 0x190
xorl %ebp, %ebp
movq %r14, %rdi
movq %rbx, %rsi
callq 0x13214
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x13f41
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x6430
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x13f5c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6430
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
jmp 0x13f92
movq %rax, %r14
jmp 0x13f9f
movq %rax, %r14
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x13f8d
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x6430
testb %bpl, %bpl
je 0x13f9f
movl $0x28, %esi
movq %rbx, %rdi
callq 0x6430
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x13fba
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6430
movq %r14, %rdi
callq 0x68e0
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::UnitTestImpl::PostFlagParsingInit()
void UnitTestImpl::PostFlagParsingInit() {
  // Ensures that this function does not execute more than once.
  if (!post_flag_parse_init_performed_) {
    post_flag_parse_init_performed_ = true;

#if GTEST_HAS_DEATH_TEST
    InitDeathTestSubprocessControlInfo();
    SuppressTestEventsIfInSubprocess();
#endif  // GTEST_HAS_DEATH_TEST

    // Registers parameterized tests. This makes parameterized tests
    // available to the UnitTest reflection API without running
    // RUN_ALL_TESTS.
    RegisterParameterizedTests();

    // Configures listeners for XML output. This makes it possible for users
    // to shut down the default XML output before invoking RUN_ALL_TESTS.
    ConfigureXmlOutput();

#if GTEST_CAN_STREAM_RESULTS_
    // Configures listeners for streaming test results to the specified server.
    ConfigureStreamingOutput();
#endif  // GTEST_CAN_STREAM_RESULTS_
  }
}

// Assembly:
cmpb $0x0, 0x1b0(%rdi)
je 0x14156
retq
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movb $0x1, 0x1b0(%rdi)
leaq 0x1d0(%rdi), %r14
callq 0x1afc9
movq %r14, %rdi
movq %rax, %rsi
callq 0x23bfe
cmpq $0x0, 0x1d0(%rbx)
je 0x14190
movq 0x190(%rbx), %rax
movb $0x0, 0x8(%rax)
cmpb $0x0, 0x100(%rbx)
jne 0x141bf
movq 0xe8(%rbx), %r14
cmpq 0xf0(%rbx), %r14
je 0x141b8
movq (%r14), %rdi
movq (%rdi), %rax
callq *0x20(%rax)
addq $0x8, %r14
jmp 0x141a0
movb $0x1, 0x100(%rbx)
movq %rbx, %rdi
callq 0x13e8c
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x13fc2
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::UnitTestImpl::ShuffleTests()
void UnitTestImpl::ShuffleTests() {
  // Shuffles the death test cases.
  ShuffleRange(random(), 0, last_death_test_case_ + 1, &test_case_indices_);

  // Shuffles the non-death test cases.
  ShuffleRange(random(), last_death_test_case_ + 1,
               static_cast<int>(test_cases_.size()), &test_case_indices_);

  // Shuffles the tests inside each test case.
  for (size_t i = 0; i < test_cases_.size(); i++) {
    test_cases_[i]->ShuffleTests(random());
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x1b8(%rdi), %r14
movl 0x104(%rdi), %edx
incl %edx
leaq 0xd0(%rdi), %r15
movq %r14, %rdi
xorl %esi, %esi
movq %r15, %rcx
callq 0x203e6
movl 0x104(%rbx), %esi
incl %esi
movq 0xc0(%rbx), %rdx
subq 0xb8(%rbx), %rdx
shrq $0x3, %rdx
movq %r14, %rdi
movq %r15, %rcx
callq 0x203e6
movq 0xb8(%rbx), %rax
cmpq %rax, 0xc0(%rbx)
je 0x148a0
xorl %r15d, %r15d
movq (%rax,%r15,8), %rax
leaq 0x48(%rax), %rcx
movq 0x50(%rax), %rdx
subq 0x48(%rax), %rdx
shrq $0x2, %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x203e6
incq %r15
movq 0xb8(%rbx), %rax
movq 0xc0(%rbx), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %rcx, %r15
jb 0x14865
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::UnitTestImpl::UnshuffleTests()
void UnitTestImpl::UnshuffleTests() {
  for (size_t i = 0; i < test_cases_.size(); i++) {
    // Unshuffles the tests in each test case.
    test_cases_[i]->UnshuffleTests();
    // Resets the index of each test case.
    test_case_indices_[i] = static_cast<int>(i);
  }
}

// Assembly:
movq 0xb8(%rdi), %rax
movq 0xc0(%rdi), %rcx
subq %rax, %rcx
je 0x1499f
sarq $0x3, %rcx
movq 0xd0(%rdi), %rdx
cmpq $0x1, %rcx
adcq $0x0, %rcx
xorl %esi, %esi
movdqa 0x12a06(%rip), %xmm0    # 0x272e0
movdqa 0x12a0e(%rip), %xmm1    # 0x272f0
pcmpeqd %xmm2, %xmm2
movdqa 0x12a12(%rip), %xmm3    # 0x27300
movq (%rax,%rsi,8), %r8
movq 0x48(%r8), %rdi
movq 0x50(%r8), %r9
subq %rdi, %r9
je 0x14990
sarq $0x2, %r9
cmpq $0x1, %r9
adcq $0x0, %r9
leaq 0x1(%r9), %r8
andq $-0x2, %r8
decq %r9
movq %r9, %xmm4
pshufd $0x44, %xmm4, %xmm4     # xmm4 = xmm4[0,1,0,1]
pxor %xmm1, %xmm4
xorl %r9d, %r9d
movdqa %xmm0, %xmm5
movdqa %xmm5, %xmm6
pxor %xmm1, %xmm6
movdqa %xmm6, %xmm7
pcmpgtd %xmm4, %xmm7
pcmpeqd %xmm4, %xmm6
pshufd $0xf5, %xmm6, %xmm8     # xmm8 = xmm6[1,1,3,3]
pand %xmm7, %xmm8
pshufd $0xf5, %xmm7, %xmm6     # xmm6 = xmm7[1,1,3,3]
por %xmm8, %xmm6
movd %xmm6, %r10d
notl %r10d
testb $0x1, %r10b
je 0x1496a
movl %r9d, (%rdi,%r9,4)
pxor %xmm2, %xmm6
pextrw $0x4, %xmm6, %r10d
testb $0x1, %r10b
je 0x14983
leal 0x1(%r9), %r10d
movl %r10d, 0x4(%rdi,%r9,4)
addq $0x2, %r9
paddq %xmm3, %xmm5
cmpq %r9, %r8
jne 0x1492f
movl %esi, (%rdx,%rsi,4)
incq %rsi
cmpq %rcx, %rsi
jne 0x148ee
retq
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::PrintOnOneLine(char const*, int)
static void PrintOnOneLine(const char* str, int max_length) {
  if (str != NULL) {
    for (int i = 0; *str != '\0'; ++str) {
      if (i >= max_length) {
        printf("...");
        break;
      }
      if (*str == '\n') {
        printf("\\n");
        i += 2;
      } else {
        printf("%c", *str);
        ++i;
      }
    }
  }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x14c93
movq %rdi, %rbx
movb (%rdi), %al
testb %al, %al
je 0x14c93
incq %rbx
leaq 0x14dcc(%rip), %r14     # 0x29a28
xorl %ebp, %ebp
cmpl $0xfa, %ebp
jae 0x14c98
cmpb $0xa, %al
jne 0x14c7b
movq %r14, %rdi
xorl %eax, %eax
callq 0x6080
movl $0x2, %eax
jmp 0x14c88
movsbl %al, %edi
callq 0x66c0
movl $0x1, %eax
addl %eax, %ebp
movb (%rbx), %al
incq %rbx
testb %al, %al
jne 0x14c5e
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x14186(%rip), %rdi     # 0x28e25
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp 0x6080
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::SkipPrefix(char const*, char const**)
bool SkipPrefix(const char* prefix, const char** pstr) {
  const size_t prefix_len = strlen(prefix);
  if (strncmp(*pstr, prefix, prefix_len) == 0) {
    *pstr += prefix_len;
    return true;
  }
  return false;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r12
callq 0x61c0
movq %rax, %r14
movq (%rbx), %r15
movq %r15, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x61e0
testl %eax, %eax
jne 0x14d24
addq %r14, %r15
movq %r15, (%rbx)
testl %eax, %eax
sete %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::ParseBoolFlag(char const*, char const*, bool*)
bool ParseBoolFlag(const char* str, const char* flag, bool* value) {
  // Gets the value of the flag as a string.
  const char* const value_str = ParseFlagValue(str, flag, true);

  // Aborts if the parsing failed.
  if (value_str == NULL) return false;

  // Converts the string value to a bool.
  *value = !(*value_str == '0' || *value_str == 'f' || *value_str == 'F');
  return true;
}

// Assembly:
pushq %rbx
movq %rdx, %rbx
movl $0x1, %edx
callq 0x14d35
testq %rax, %rax
je 0x14f29
movzbl (%rax), %edx
xorl %ecx, %ecx
cmpl $0x30, %edx
je 0x14f27
cmpl $0x66, %edx
je 0x14f27
cmpb $0x46, %dl
setne %cl
movb %cl, (%rbx)
testq %rax, %rax
setne %al
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::ParseInt32Flag(char const*, char const*, int*)
bool ParseInt32Flag(const char* str, const char* flag, Int32* value) {
  // Gets the value of the flag as a string.
  const char* const value_str = ParseFlagValue(str, flag, false);

  // Aborts if the parsing failed.
  if (value_str == NULL) return false;

  // Sets *value to the value of the flag.
  return ParseInt32(Message() << "The value of flag --" << flag,
                    value_str, value);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r12
xorl %ebp, %ebp
xorl %edx, %edx
callq 0x14d35
testq %rax, %rax
je 0x14fc0
movq %rax, %r15
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x9d20
movq (%rbx), %rbx
leaq 0x10(%rbx), %r13
leaq 0x140a3(%rip), %rsi     # 0x2900f
movl $0x14, %edx
movq %r13, %rdi
callq 0x6510
testq %r12, %r12
je 0x14f8b
movq %r12, %rdi
callq 0x61c0
movq %rax, %rdx
jmp 0x14f97
movl $0x6, %edx
leaq 0x1352f(%rip), %r12     # 0x284c6
movq %r13, %rdi
movq %r12, %rsi
callq 0x6510
movq %rsp, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x149a0
movl %eax, %ebp
testq %rbx, %rbx
je 0x14fc0
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
testq %rbx, %rbx
je 0x14fe2
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
movq %r14, %rdi
callq 0x68e0
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::ParseStringFlag(char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*)
bool ParseStringFlag(const char* str, const char* flag, std::string* value) {
  // Gets the value of the flag as a string.
  const char* const value_str = ParseFlagValue(str, flag, false);

  // Aborts if the parsing failed.
  if (value_str == NULL) return false;

  // Sets *value to the value of the flag.
  *value = value_str;
  return true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
xorl %edx, %edx
callq 0x14d35
movq %rax, %r14
testq %rax, %rax
je 0x15020
movq 0x8(%rbx), %r15
movq %r14, %rdi
callq 0x61c0
movq %rbx, %rdi
xorl %esi, %esi
movq %r15, %rdx
movq %r14, %rcx
movq %rax, %r8
callq 0x67d0
testq %r14, %r14
setne %al
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::InDeathTestChild()
bool InDeathTestChild() {
# if GTEST_OS_WINDOWS

  // On Windows, death tests are thread-safe regardless of the value of the
  // death_test_style flag.
  return !GTEST_FLAG(internal_run_death_test).empty();

# else

  if (GTEST_FLAG(death_test_style) == "threadsafe")
    return !GTEST_FLAG(internal_run_death_test).empty();
  else
    return g_in_fast_death_test_child;
#endif
}

// Assembly:
pushq %rax
leaq 0x22688(%rip), %rdi     # 0x376d0
leaq 0x13fd5(%rip), %rsi     # 0x29024
callq 0x6120
xorl %ecx, %ecx
cmpq $0x0, 0x2265a(%rip)     # 0x376b8
setne %cl
testl %eax, %eax
movzbl 0x22687(%rip), %eax     # 0x376f1
cmovel %ecx, %eax
andb $0x1, %al
popq %rcx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::DeathTestAbort(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void DeathTestAbort(const std::string& message) {
  // On a POSIX system, this function may be called from a threadsafe-style
  // death test child process, which operates on a very small stack.  Use
  // the heap for any additional non-minuscule memory requirements.
  const InternalRunDeathTestFlag* const flag =
      GetUnitTestImpl()->internal_run_death_test_flag();
  if (flag != NULL) {
    FILE* parent = posix::FDOpen(flag->write_fd(), "w");
    fputc(kDeathTestInternalError, parent);
    fprintf(parent, "%s", message.c_str());
    fflush(parent);
    _exit(1);
  } else {
    fprintf(stderr, "%s", message.c_str());
    fflush(stderr);
    posix::Abort();
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x7dc8
movq 0x225dc(%rip), %rax     # 0x376a0
movq 0x1d0(%rax), %rax
testq %rax, %rax
jne 0x150ef
movq 0x21ef1(%rip), %r14     # 0x36fc8
movq (%r14), %rsi
movq (%rbx), %rdi
callq 0x64e0
movq (%r14), %rdi
callq 0x6560
callq 0x6240
movl 0x28(%rax), %edi
leaq 0x13a7b(%rip), %rsi     # 0x28b74
callq 0x20e80
movq %rax, %r14
movl $0x49, %edi
movq %rax, %rsi
callq 0x65f0
movq (%rbx), %rdi
movq %r14, %rsi
callq 0x64e0
movq %r14, %rdi
callq 0x6560
movl $0x1, %edi
callq 0x6850
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::DeathTest::DeathTest()
DeathTest::DeathTest() {
  TestInfo* const info = GetUnitTestImpl()->current_test_info();
  if (info == NULL) {
    DeathTestAbort("Cannot run a death test outside of a TEST or "
                   "TEST_F construct");
  }
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
leaq 0x219e4(%rip), %rax     # 0x36b58
movq %rax, (%rdi)
callq 0x7dc8
movq 0x2251d(%rip), %rax     # 0x376a0
cmpq $0x0, 0x110(%rax)
je 0x15195
addq $0x28, %rsp
popq %rbx
popq %r14
retq
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x13e8a(%rip), %rsi     # 0x2902f
leaq 0x13ec0(%rip), %rdx     # 0x2906c
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x24240
movq %rbx, %rdi
callq 0x150b1
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x151db
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
movq %rbx, %rdi
callq 0x68e0
nop
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::FormatDeathTestOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
static ::std::string FormatDeathTestOutput(const ::std::string& output) {
  ::std::string ret;
  for (size_t at = 0; ; ) {
    const size_t line_end = output.find('\n', at);
    ret += "[  DEATH   ] ";
    if (line_end == ::std::string::npos) {
      ret += output.substr(at);
      break;
    }
    ret += output.substr(at, line_end + 1 - at);
    at = line_end + 1;
  }
  return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, 0x20(%rsp)
movq %rax, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
xorl %ebp, %ebp
leaq 0x135e0(%rip), %r15     # 0x29a55
movq %rsp, %r12
movq %r14, %rdi
movl $0xa, %esi
movq %rbp, %rdx
callq 0x6660
movq %rax, %r13
movq %rbx, %rdi
movq %r15, %rsi
callq 0x69a0
cmpq $-0x1, %r13
je 0x164e4
incq %r13
movq %r13, %rcx
subq %rbp, %rcx
movq %r12, %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0x6460
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x6130
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x164df
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6430
movq %r13, %rbp
jmp 0x16478
movq %rsp, %rdi
movq %r14, %rsi
movq %rbp, %rdx
movq $-0x1, %rcx
callq 0x6460
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x6130
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x16525
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6430
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1653a
jmp 0x1655a
jmp 0x1655a
movq %rax, %r14
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x1655d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x1655d
movq %rax, %r14
movq (%rbx), %rdi
movq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x16575
movq (%rax), %rsi
incq %rsi
callq 0x6430
movq %r14, %rdi
callq 0x68e0
nop
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::FilePath::GetCurrentDir()
FilePath FilePath::GetCurrentDir() {
#if GTEST_OS_WINDOWS_MOBILE
  // Windows CE doesn't have a current directory, so we just return
  // something reasonable.
  return FilePath(kCurrentDirectoryString);
#elif GTEST_OS_WINDOWS
  char cwd[GTEST_PATH_MAX_ + 1] = { '\0' };
  return FilePath(_getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd);
#else
  char cwd[GTEST_PATH_MAX_ + 1] = { '\0' };
  return FilePath(getcwd(cwd, sizeof(cwd)) == NULL ? "" : cwd);
#endif  // GTEST_OS_WINDOWS_MOBILE
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1028, %rsp           # imm = 0x1028
movq %rdi, %rbx
leaq 0x20(%rsp), %r14
movl $0x1001, %edx           # imm = 0x1001
movq %r14, %rdi
xorl %esi, %esi
callq 0x6230
movl $0x1001, %esi           # imm = 0x1001
movq %r14, %rdi
callq 0x6200
testq %rax, %rax
leaq 0xd7bd(%rip), %r15      # 0x28ad5
cmovneq %r14, %r15
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
movq %r15, %rdi
callq 0x61c0
leaq (%rax,%r15), %rdx
movq %rsp, %r14
movq %r14, %rdi
movq %r15, %rsi
callq 0x24240
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1dc70
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x1b361
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6430
movq %rbx, %rax
addq $0x1028, %rsp           # imm = 0x1028
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x1b38c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6430
movq %rbx, %rdi
callq 0x68e0
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::FilePath::RemoveExtension(char const*) const
FilePath FilePath::RemoveExtension(const char* extension) const {
  const std::string dot_extension = std::string(".") + extension;
  if (String::EndsWithCaseInsensitive(pathname_, dot_extension)) {
    return FilePath(pathname_.substr(
        0, pathname_.length() - dot_extension.length()));
  }
  return *this;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0xcf36(%rip), %rsi      # 0x282ef
leaq 0xcf30(%rip), %rdx      # 0x282f0
leaq 0x8(%rsp), %rdi
callq 0x24240
leaq 0x8(%rsp), %rdi
movq %r15, %rsi
callq 0x69a0
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x1b3fe
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x1b405
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x1b434
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
leaq 0x28(%rsp), %rsi
movq %r14, %rdi
callq 0xc268
testb %al, %al
je 0x1b483
movq 0x8(%r14), %rcx
subq 0x30(%rsp), %rcx
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x6460
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x1dc70
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x1b49c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x1b49c
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x242d6
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x1b4b3
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6430
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x1b4e3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x1b4e3
jmp 0x1b4e0
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x1b513
movq 0x38(%rsp), %rsi
jmp 0x1b506
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x1b513
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
jmp 0x1b513
movq %rax, %rbx
movq %rbx, %rdi
callq 0x68e0
nop
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::FilePath::Normalize()
void FilePath::Normalize() {
  if (pathname_.c_str() == NULL) {
    pathname_ = "";
    return;
  }
  const char* src = pathname_.c_str();
  char* const dest = new char[pathname_.length() + 1];
  char* dest_ptr = dest;
  memset(dest_ptr, 0, pathname_.length() + 1);

  while (*src != '\0') {
    *dest_ptr = *src;
    if (!IsPathSeparator(*src)) {
      src++;
    } else {
#if GTEST_HAS_ALT_PATH_SEP_
      if (*dest_ptr == kAlternatePathSeparator) {
        *dest_ptr = kPathSeparator;
      }
#endif
      while (IsPathSeparator(*src))
        src++;
    }
    dest_ptr++;
  }
  *dest_ptr = '\0';
  pathname_ = dest;
  delete[] dest;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %r14
movq (%rdi), %r13
movq 0x8(%rdi), %rbx
testq %r13, %r13
je 0x1bb9e
leaq 0x1(%rbx), %r12
movq %r12, %rdi
callq 0x6040
movq %rax, %r15
movq %rax, %rdi
xorl %esi, %esi
movq %r12, %rdx
callq 0x6230
movb (%r13), %cl
movq %r15, %rax
testb %cl, %cl
je 0x1bb6f
movq %r15, %rax
movb %cl, (%rax)
cmpb $0x2f, (%r13)
jne 0x1bb61
movb 0x1(%r13), %cl
incq %r13
cmpb $0x2f, %cl
je 0x1bb53
jmp 0x1bb68
movb 0x1(%r13), %cl
incq %r13
incq %rax
testb %cl, %cl
jne 0x1bb4a
movb $0x0, (%rax)
movq %r15, %rdi
callq 0x61c0
movq %r14, %rdi
xorl %esi, %esi
movq %rbx, %rdx
movq %r15, %rcx
movq %rax, %r8
callq 0x67d0
movq %r15, %rdi
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x6640
leaq 0xcf30(%rip), %rcx      # 0x28ad5
movq %r14, %rdi
xorl %esi, %esi
movq %rbx, %rdx
xorl %r8d, %r8d
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x67d0
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::RE::~RE()
RE::~RE() {
  if (is_valid_) {
    // regfree'ing an invalid regex might crash because the content
    // of the regex is undefined. Since the regex's are essentially
    // the same, one cannot be valid (or invalid) without the other
    // being so too.
    regfree(&partial_regex_);
    regfree(&full_regex_);
  }
  free(const_cast<char*>(pattern_));
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
cmpb $0x1, 0x8(%rdi)
jne 0x1bbda
leaq 0x50(%rbx), %rdi
callq 0x6410
leaq 0x10(%rbx), %rdi
callq 0x6410
movq (%rbx), %rdi
popq %rbx
jmp 0x65a0
movq %rax, %rdi
callq 0x7596
nop
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::GTestLog::GTestLog(testing::internal::GTestLogSeverity, char const*, int)
GTestLog::GTestLog(GTestLogSeverity severity, const char* file, int line)
    : severity_(severity) {
  const char* const marker =
      severity == GTEST_INFO ?    "[  INFO ]" :
      severity == GTEST_WARNING ? "[WARNING]" :
      severity == GTEST_ERROR ?   "[ ERROR ]" : "[ FATAL ]";
  GetStream() << ::std::endl << marker << " "
              << FormatFileLocation(file, line).c_str() << ": ";
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movl %ecx, %ebp
movq %rdx, %r14
movl %esi, (%rdi)
cmpl $0x2, %esi
leaq 0xd5c9(%rip), %rax      # 0x29410
leaq 0xd5cc(%rip), %rcx      # 0x2941a
cmoveq %rax, %rcx
cmpl $0x1, %esi
leaq 0xd5aa(%rip), %rax      # 0x29406
cmovneq %rcx, %rax
testl %esi, %esi
leaq 0xd593(%rip), %r15      # 0x293fc
cmovneq %rax, %r15
movq 0x1b17c(%rip), %rbx     # 0x36ff0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x63e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6050
movq %rax, %rdi
callq 0x62a0
movq %rax, %rbx
movl $0x9, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x6510
leaq 0xd389(%rip), %rsi      # 0x2923e
movl $0x1, %edx
movq %rbx, %rdi
callq 0x6510
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0xdc4d
movq (%r15), %r14
testq %r14, %r14
je 0x1bef4
movq %r14, %rdi
callq 0x61c0
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x6510
jmp 0x1bf0d
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %rbx, %rdi
addq %rax, %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x6870
leaq 0xc5e1(%rip), %rsi      # 0x284f5
movl $0x2, %edx
movq %rbx, %rdi
callq 0x6510
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1bf3c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1bf65
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
movq %rbx, %rdi
callq 0x68e0
nop
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::GTestLog::~GTestLog()
GTestLog::~GTestLog() {
  GetStream() << ::std::endl;
  if (severity_ == GTEST_FATAL) {
    fflush(stderr);
    posix::Abort();
  }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x1b077(%rip), %rdi     # 0x36ff0
movq (%rdi), %rax
addq -0x18(%rax), %rdi
movl $0xa, %esi
callq 0x63e0
movsbl %al, %esi
movq 0x1b05c(%rip), %rdi     # 0x36ff0
callq 0x6050
movq %rax, %rdi
callq 0x62a0
cmpl $0x3, (%rbx)
je 0x1bfa8
popq %rbx
retq
movq 0x1b019(%rip), %rax     # 0x36fc8
movq (%rax), %rdi
callq 0x6560
callq 0x6240
movq %rax, %rdi
callq 0x7596
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::CapturedStream::ReadEntireFile[abi:cxx11](_IO_FILE*)
std::string CapturedStream::ReadEntireFile(FILE* file) {
  const size_t file_size = GetFileSize(file);
  char* const buffer = new char[file_size];

  size_t bytes_last_read = 0;  // # of bytes read in the last fread()
  size_t bytes_read = 0;       // # of bytes read so far

  fseek(file, 0, SEEK_SET);

  // Keeps reading the file until we cannot read further or the
  // pre-determined file size is reached.
  do {
    bytes_last_read = fread(buffer+bytes_read, 1, file_size-bytes_read, file);
    bytes_read += bytes_last_read;
  } while (bytes_last_read > 0 && bytes_read < file_size);

  const std::string content(buffer, bytes_read);
  delete[] buffer;

  return content;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
xorl %r13d, %r13d
movq %rsi, %rdi
xorl %esi, %esi
movl $0x2, %edx
callq 0x64d0
movq %r14, %rdi
callq 0x6030
movq %rax, %r12
movq %rax, %rdi
callq 0x6040
movq %rax, %r15
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x64d0
leaq (%r15,%r13), %rdi
movq %r12, %rdx
subq %r13, %rdx
movl $0x1, %esi
movq %r14, %rcx
callq 0x6770
addq %rax, %r13
testq %rax, %rax
je 0x1c045
cmpq %r12, %r13
jb 0x1c021
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq %r15, %rdx
addq %r13, %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x24240
movq %r15, %rdi
callq 0x6640
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::CaptureStream(int, char const*, testing::internal::CapturedStream**)
void CaptureStream(int fd, const char* stream_name, CapturedStream** stream) {
  if (*stream != NULL) {
    GTEST_LOG_(FATAL) << "Only one " << stream_name
                      << " capturer can exist at a time.";
  }
  *stream = new CapturedStream(fd);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movl %edi, %ebp
cmpq $0x0, (%rdx)
je 0x1c11c
movq %rsi, %r14
leaq 0xc1ff(%rip), %rdx      # 0x28291
leaq 0x4(%rsp), %rdi
movl $0x3, %esi
movl $0x228f, %ecx           # imm = 0x228F
callq 0x1be2c
movq 0x1af43(%rip), %r15     # 0x36ff0
leaq 0xd370(%rip), %rsi      # 0x29424
movl $0x9, %edx
movq %r15, %rdi
callq 0x6510
testq %r14, %r14
je 0x1c0e2
movq %r14, %rdi
callq 0x61c0
movq 0x1af1b(%rip), %rdi     # 0x36ff0
movq %r14, %rsi
movq %rax, %rdx
callq 0x6510
jmp 0x1c0fa
movq (%r15), %rax
movq -0x18(%rax), %rax
leaq (%r15,%rax), %rdi
movl 0x20(%r15,%rax), %esi
orl $0x1, %esi
callq 0x6870
movq 0x1aeef(%rip), %rdi     # 0x36ff0
leaq 0xd326(%rip), %rsi      # 0x2942e
movl $0x1e, %edx
callq 0x6510
leaq 0x4(%rsp), %rdi
callq 0x1bf6e
movl $0x28, %edi
callq 0x6400
movq %rax, %r14
movq %rax, %rdi
movl %ebp, %esi
callq 0x21074
movq %r14, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movl $0x28, %esi
movq %r14, %rdi
callq 0x6430
jmp 0x1c160
movq %rax, %rbx
leaq 0x4(%rsp), %rdi
callq 0x1bf6e
movq %rbx, %rdi
callq 0x68e0
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::GetCapturedStream[abi:cxx11](testing::internal::CapturedStream**)
std::string GetCapturedStream(CapturedStream** captured_stream) {
  const std::string content = (*captured_stream)->GetCapturedString();

  delete *captured_stream;
  *captured_stream = NULL;

  return content;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
callq 0x21132
movq (%rbx), %r15
testq %r15, %r15
je 0x1c18b
movq %r15, %rdi
callq 0x21198
movl $0x28, %esi
movq %r15, %rdi
callq 0x6430
movq $0x0, (%rbx)
movq %r14, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::FlagToEnvVar[abi:cxx11](char const*)
static std::string FlagToEnvVar(const char* flag) {
  const std::string full_flag =
      (Message() << GTEST_FLAG_PREFIX_ << flag).GetString();

  Message env_var;
  for (size_t i = 0; i != full_flag.length(); i++) {
    env_var << ToUpper(full_flag.c_str()[i]);
  }

  return env_var.GetString();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x9d20
movq (%r14), %r14
leaq 0x10(%r14), %r12
leaq 0xcdb3(%rip), %rsi      # 0x29008
movl $0x6, %r13d
movl $0x6, %edx
movq %r12, %rdi
callq 0x6510
testq %r15, %r15
je 0x1c27a
movq %r15, %rdi
callq 0x61c0
movq %rax, %r13
jmp 0x1c281
leaq 0xc245(%rip), %r15      # 0x284c6
movq %r12, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x6510
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0x9f89
testq %r14, %r14
je 0x1c2aa
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
leaq 0x8(%rsp), %rdi
callq 0x9d20
cmpq $0x0, 0x18(%rsp)
movq 0x8(%rsp), %r14
je 0x1c2fa
leaq 0x10(%r14), %r15
xorl %r13d, %r13d
leaq 0x7(%rsp), %r12
movq 0x10(%rsp), %rax
movzbl (%rax,%r13), %edi
callq 0x6950
movb %al, 0x7(%rsp)
movl $0x1, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x6510
incq %r13
cmpq 0x18(%rsp), %r13
jne 0x1c2cd
movq %rbx, %rdi
movq %r14, %rsi
callq 0x9f89
testq %r14, %r14
je 0x1c313
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1c32e
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6430
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x1c356
movq %rax, %rbx
jmp 0x1c367
movq %rax, %rbx
testq %r14, %r14
je 0x1c382
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
jmp 0x1c382
movq %rax, %rbx
testq %r14, %r14
je 0x1c367
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1c382
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6430
movq %rbx, %rdi
callq 0x68e0
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::PrintTo(char const*, std::ostream*)
void PrintTo(const char* s, ostream* os) {
  if (s == NULL) {
    *os << "NULL";
  } else {
    *os << ImplicitCast_<const void*>(s) << " pointing to ";
    PrintCharsAsStringTo(s, strlen(s), os);
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
testq %rdi, %rdi
je 0x1c4e5
movq %rdi, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6310
leaq 0xd044(%rip), %rsi      # 0x29502
movl $0xd, %edx
movq %rax, %rdi
callq 0x6510
movq %r14, %rdi
callq 0x61c0
movq %r14, %rdi
movq %rax, %rsi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x1c500
leaq 0xd011(%rip), %rsi      # 0x294fd
movl $0x4, %edx
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x6510
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: void testing::internal::PrintCharsAsStringTo<char>(char const*, unsigned long, std::ostream*)
static void PrintCharsAsStringTo(
    const CharType* begin, size_t len, ostream* os) {
  const char* const kQuoteBegin = sizeof(CharType) == 1 ? "\"" : "L\"";
  *os << kQuoteBegin;
  bool is_previous_hex = false;
  for (size_t index = 0; index < len; ++index) {
    const CharType cur = begin[index];
    if (is_previous_hex && IsXDigit(cur)) {
      // Previous character is of '\x..' form and this character can be
      // interpreted as another hexadecimal digit in its number. Break string to
      // disambiguate.
      *os << "\" " << kQuoteBegin;
    }
    is_previous_hex = PrintAsStringLiteralTo(cur, os) == kHexEscape;
  }
  *os << "\"";
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0xbf95(%rip), %rsi      # 0x284b0
movl $0x1, %edx
movq %rbx, %rdi
callq 0x6510
testq %r14, %r14
je 0x1c589
xorl %eax, %eax
leaq 0xbf7a(%rip), %r13      # 0x284b0
xorl %r12d, %r12d
movzbl (%r15,%r12), %ebp
testb $0x1, %al
je 0x1c571
movl %ebp, %edi
callq 0x60e0
testl %eax, %eax
je 0x1c571
movl $0x2, %edx
movq %rbx, %rdi
leaq 0xd995(%rip), %rsi      # 0x29ef1
callq 0x6510
movl $0x1, %edx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x6510
movl %ebp, %edi
movq %rbx, %rsi
callq 0x1dbe8
cmpl $0x1, %eax
sete %al
incq %r12
cmpq %r12, %r14
jne 0x1c539
leaq 0xbf20(%rip), %rsi      # 0x284b0
movl $0x1, %edx
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x6510
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::PrintTo(wchar_t const*, std::ostream*)
void PrintTo(const wchar_t* s, ostream* os) {
  if (s == NULL) {
    *os << "NULL";
  } else {
    *os << ImplicitCast_<const void*>(s) << " pointing to ";
    PrintCharsAsStringTo(s, wcslen(s), os);
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
testq %rdi, %rdi
je 0x1c5f3
movq %rdi, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6310
leaq 0xcf36(%rip), %rsi      # 0x29502
movl $0xd, %edx
movq %rax, %rdi
callq 0x6510
movq %r14, %rdi
callq 0x6380
movq %r14, %rdi
movq %rax, %rsi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x1c60e
leaq 0xcf03(%rip), %rsi      # 0x294fd
movl $0x4, %edx
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x6510
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::operator<<(std::ostream&, testing::TestPartResult const&)
std::ostream& operator<<(std::ostream& os, const TestPartResult& result) {
  return os
      << result.file_name() << ":" << result.line_number() << ": "
      << (result.type() == TestPartResult::kSuccess ? "Success" :
          result.type() == TestPartResult::kFatalFailure ? "Fatal failure" :
          "Non-fatal failure") << ":\n"
      << result.message() << std::endl;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
cmpq $0x0, 0x10(%rsi)
sete %al
movq 0x8(%rsi), %r15
testq %r15, %r15
sete %cl
orb %al, %cl
cmpb $0x1, %cl
jne 0x1c776
movq (%r14), %rax
movq -0x18(%rax), %rax
leaq (%r14,%rax), %rdi
movl 0x20(%r14,%rax), %esi
orl $0x1, %esi
callq 0x6870
jmp 0x1c78c
movq %r15, %rdi
callq 0x61c0
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x6510
leaq 0xc69c(%rip), %rsi      # 0x28e2f
movl $0x1, %edx
movq %r14, %rdi
callq 0x6510
movl 0x28(%rbx), %esi
movq %r14, %rdi
callq 0x68a0
movq %rax, %r14
leaq 0xbd40(%rip), %rsi      # 0x284f5
movl $0x2, %edx
movq %rax, %rdi
callq 0x6510
movl (%rbx), %eax
cmpl $0x2, %eax
leaq 0xcd4a(%rip), %rcx      # 0x29518
leaq 0xcd51(%rip), %rdx      # 0x29526
cmoveq %rcx, %rdx
testl %eax, %eax
leaq 0xcd2e(%rip), %r15      # 0x29510
cmovneq %rdx, %r15
movq %r15, %rdi
callq 0x61c0
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x6510
leaq 0xca2d(%rip), %rsi      # 0x29230
movl $0x2, %edx
movq %r14, %rdi
callq 0x6510
movq 0x50(%rbx), %rbx
testq %rbx, %rbx
je 0x1c831
movq %rbx, %rdi
callq 0x61c0
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x6510
jmp 0x1c84b
movq (%r14), %rax
movq -0x18(%rax), %rax
movq %r14, %rdi
addq %rax, %rdi
movl 0x20(%r14,%rax), %esi
orl $0x1, %esi
callq 0x6870
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x63e0
movsbl %al, %esi
movq %r14, %rdi
callq 0x6050
movq %rax, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x62a0
nop
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::(anonymous namespace)::PrintByteSegmentInObjectTo(unsigned char const*, unsigned long, unsigned long, std::ostream*)
void PrintByteSegmentInObjectTo(const unsigned char* obj_bytes, size_t start,
                                size_t count, ostream* os) {
  char text[5] = "";
  for (size_t i = 0; i != count; i++) {
    const size_t j = start + i;
    if (i != 0) {
      // Organizes the bytes into groups of 2 for easy parsing by
      // human.
      if ((j % 2) == 0)
        *os << ' ';
      else
        *os << '-';
    }
    GTEST_SNPRINTF_(text, sizeof(text), "%02X", obj_bytes[j]);
    *os << text;
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movb $0x0, 0x14(%rsp)
movl $0x0, 0x10(%rsp)
testq %rdx, %rdx
je 0x1d78a
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
negq %r14
leaq 0x10(%rsp), %rbp
xorl %r13d, %r13d
subq $0x1, %r13
jb 0x1d751
testb $0x1, %r15b
jne 0x1d73a
movb $0x20, 0xe(%rsp)
movl $0x1, %edx
movq %rbx, %rdi
leaq 0xe(%rsp), %rsi
jmp 0x1d74c
movb $0x2d, 0xf(%rsp)
movl $0x1, %edx
movq %rbx, %rdi
leaq 0xf(%rsp), %rsi
callq 0x6510
movzbl (%r12,%r15), %ecx
movl $0x5, %esi
movq %rbp, %rdi
leaq 0xc536(%rip), %rdx      # 0x29c9b
xorl %eax, %eax
callq 0x6810
movq %rbp, %rdi
callq 0x61c0
movq %rbx, %rdi
movq %rbp, %rsi
movq %rax, %rdx
callq 0x6510
incq %r15
cmpq %r13, %r14
jne 0x1d71a
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::FormatCxxExceptionMessage[abi:cxx11](char const*, char const*)
static std::string FormatCxxExceptionMessage(const char* description,
                                             const char* location) {
  Message message;
  if (description != NULL) {
    message << "C++ exception with description \"" << description << "\"";
  } else {
    message << "Unknown C++ exception";
  }
  message << " thrown in " << location << ".";

  return message.GetString();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %r14
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x9d20
movq (%rbx), %rbx
leaq 0x10(%rbx), %r15
testq %r13, %r13
je 0x1d800
leaq 0xc56c(%rip), %rsi      # 0x29d3b
movl $0x20, %edx
movq %r15, %rdi
callq 0x6510
movq %r13, %rdi
callq 0x61c0
movq %r15, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0x6510
movl $0x1, %edx
leaq 0xacb2(%rip), %rsi      # 0x284b0
jmp 0x1d80c
movl $0x15, %edx
leaq 0xc550(%rip), %rsi      # 0x29d5c
movq %r15, %rdi
callq 0x6510
leaq 0xc557(%rip), %rsi      # 0x29d72
movl $0xb, %edx
movq %r15, %rdi
callq 0x6510
testq %r12, %r12
je 0x1d83a
movq %r12, %rdi
callq 0x61c0
movq %rax, %rdx
jmp 0x1d846
movl $0x6, %edx
leaq 0xac80(%rip), %r12      # 0x284c6
movq %r15, %rdi
movq %r12, %rsi
callq 0x6510
leaq 0xaa97(%rip), %rsi      # 0x282ef
movl $0x1, %edx
movq %r15, %rdi
callq 0x6510
movq %r14, %rdi
movq %rbx, %rsi
callq 0x9f89
testq %rbx, %rbx
je 0x1d88b
movq (%rbx), %rax
movq %rbx, %rdi
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmpq *0x8(%rax)
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x1d8ac
movq (%rdi), %rax
callq *0x8(%rax)
movq %rbx, %rdi
callq 0x68e0