// File: /workspace/github_cpp_makefile_star2_O3/WeihuaZhu[P]hpc_prog2/./gtest/gtest-all.cc
// Function: testing::internal::UnitTestOptions::FilterMatchesTest(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
bool UnitTestOptions::FilterMatchesTest(const std::string &test_case_name,
                                        const std::string &test_name) {
  const std::string& full_name = test_case_name + "." + test_name.c_str();

  // Split --gtest_filter at '-', if there is one, to separate into
  // positive filter and negative filter portions
  const char* const p = GTEST_FLAG(filter).c_str();
  const char* const dash = strchr(p, '-');
  std::string positive;
  std::string negative;
  if (dash == NULL) {
    positive = GTEST_FLAG(filter).c_str();  // Whole string is a positive filter
    negative = "";
  } else {
    positive = std::string(p, dash);   // Everything up to the dash
    negative = std::string(dash + 1);  // Everything after the dash
    if (positive.empty()) {
      // Treat '-test1' as the same as '*-test1'
      positive = kUniversalFilter;
    }
  }

  // A filter is a colon-separated list of patterns.  It matches a
  // test if any pattern in it matches the test.
  return (MatchesFilter(full_name, positive.c_str()) &&
          !MatchesFilter(full_name, negative.c_str()));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rsi, %rbx
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rdi), %rsi
movq 0x8(%rdi), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x242d6
leaq 0x1f424(%rip), %rsi     # 0x282ef
movq %r14, %rdi
callq 0x69a0
movq (%rbx), %rsi
leaq 0x8(%rsp), %rdi
callq 0x69a0
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8f07
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x8f0f
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x8f3e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
movq 0x2e623(%rip), %rbx     # 0x37568
movq %rbx, %rdi
movl $0x2d, %esi
callq 0x61a0
movq %rax, %r14
movq %rbp, 0x8(%rsp)
xorl %eax, %eax
movq %rax, 0x10(%rsp)
movb %al, 0x18(%rsp)
leaq 0x58(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
testq %r14, %r14
je 0x902c
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x68(%rsp), %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x24240
leaq 0x8(%rsp), %rbx
leaq 0x68(%rsp), %r15
movq %rbx, %rdi
movq %r15, %rsi
callq 0x65d0
movq (%r15), %rdi
cmpq %r13, %rdi
je 0x8fc0
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6430
leaq 0x1(%r14), %r15
leaq 0x68(%rsp), %r12
movq %r13, (%r12)
movq %r15, %rdi
callq 0x61c0
leaq (%r14,%rax), %rdx
incq %rdx
movq %r12, %rdi
movq %r15, %rsi
callq 0x24240
leaq 0x48(%rsp), %rdi
leaq 0x68(%rsp), %r14
movq %r14, %rsi
callq 0x65d0
movq (%r14), %rdi
cmpq %r13, %rdi
je 0x900e
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6430
cmpq $0x0, 0x10(%rsp)
leaq 0x38(%rsp), %r13
jne 0x9065
movl $0x1, %r8d
leaq 0x1e478(%rip), %rcx     # 0x274a0
xorl %edx, %edx
jmp 0x905b
movq %rbx, %rdi
callq 0x61c0
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %rbx, %rcx
movq %rax, %r8
callq 0x67d0
leaq 0x1fa86(%rip), %rcx     # 0x28ad5
leaq 0x48(%rsp), %rbx
movq 0x8(%rbx), %rdx
xorl %r8d, %r8d
movq %rbx, %rdi
xorl %esi, %esi
callq 0x67d0
movq 0x8(%rsp), %r14
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
callq 0x8e44
movq 0x48(%rsp), %r15
testb %al, %al
je 0x9094
leaq 0x28(%rsp), %rdi
movq %r15, %rsi
callq 0x8e44
movl %eax, %ebx
xorb $0x1, %bl
jmp 0x9096
xorl %ebx, %ebx
leaq 0x58(%rsp), %rax
cmpq %rax, %r15
je 0x90b5
movq 0x58(%rsp), %rsi
incq %rsi
movq %r15, %rdi
callq 0x6430
movq 0x8(%rsp), %r14
cmpq %rbp, %r14
je 0x90ca
movq 0x18(%rsp), %rsi
incq %rsi
movq %r14, %rdi
callq 0x6430
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x90e1
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6430
movl %ebx, %eax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x90f9
jmp 0x90f9
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x9118
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6430
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x912f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x9161
movq 0x38(%rsp), %rsi
jmp 0x9159
jmp 0x9147
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x9161
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6430
movq %rbx, %rdi
callq 0x68e0
nop