// File: /workspace/github_cpp_makefile_star2_O2/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::(anonymous namespace)::PositiveAndNegativeUnitTestFilter::PositiveAndNegativeUnitTestFilter(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
explicit PositiveAndNegativeUnitTestFilter(const std::string& filter) {
    std::vector<std::string> positive_and_negative_filters;

    // NOTE: `SplitString` always returns a non-empty container.
    SplitString(filter, '-', &positive_and_negative_filters);
    const auto& positive_filter = positive_and_negative_filters.front();

    if (positive_and_negative_filters.size() > 1) {
      positive_filter_ = UnitTestFilter(
          positive_filter.empty() ? kUniversalFilter : positive_filter);

      // TODO(b/214626361): Fail on multiple '-' characters
      // For the moment to preserve old behavior we concatenate the rest of the
      // string parts with `-` as separator to generate the negative filter.
      auto negative_filter_string = positive_and_negative_filters[1];
      for (std::size_t i = 2; i < positive_and_negative_filters.size(); i++)
        negative_filter_string =
            negative_filter_string + '-' + positive_and_negative_filters[i];
      negative_filter_ = UnitTestFilter(negative_filter_string);
    } else {
      // In case we don't have a negative filter and positive filter is ""
      // we do not use kUniversalFilter by design as opposed to when we have a
      // negative filter.
      positive_filter_ = UnitTestFilter(positive_filter);
    }
  }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
andq $0x0, 0x10(%rdi)
leaq 0x48(%rdi), %rax
movq %rax, 0x18(%rdi)
pushq $0x1
popq %rax
movq %rax, 0x20(%rdi)
movups %xmm0, 0x28(%rdi)
movl $0x3f800000, %ecx       # imm = 0x3F800000
movl %ecx, 0x38(%rdi)
leaq 0x50(%rdi), %rdx
movq %rdx, 0x30(%rsp)
leaq 0x98(%rdi), %rdx
andq $0x0, 0x60(%rdi)
movups %xmm0, 0x40(%rdi)
movups %xmm0, 0x50(%rdi)
movq %rdx, 0x68(%rdi)
movq %rax, 0x70(%rdi)
movups %xmm0, 0x78(%rdi)
movl %ecx, 0x88(%rdi)
movups %xmm0, 0x90(%rdi)
leaq 0x10(%rsp), %rdx
movaps %xmm0, (%rdx)
andq $0x0, 0x10(%rdx)
leaq 0x47dba(%rip), %rdi     # 0x84908
pushq $0x2d
popq %rsi
callq 0x38726
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rax
subq %rsi, %rax
cmpq $0x21, %rax
jb 0x3cb83
movq 0x8(%rsi), %r12
testq %r12, %r12
movq %rbx, 0x8(%rsp)
je 0x3cbaa
leaq 0x38(%rsp), %rdi
callq 0xd880
jmp 0x3cbc0
leaq 0x58(%rsp), %rdi
callq 0x3c872
leaq 0x58(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4a952
movq %r14, %rdi
callq 0x3ca5c
jmp 0x3ccad
leaq 0x1d263(%rip), %rsi     # 0x59e14
leaq 0x38(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x1337a
leaq 0x58(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x3c872
leaq 0x58(%rsp), %r15
movq %rbx, %rdi
movq %r15, %rsi
callq 0x4a952
movq %r15, %rdi
callq 0x3ca5c
leaq 0x38(%rsp), %rdi
callq 0xdbe8
testq %r12, %r12
movq 0x10(%rsp), %rsi
addq $0x20, %rsi
leaq 0x38(%rsp), %rdi
callq 0xd880
pushq $0x2
popq %r14
pushq $0x40
popq %rbx
leaq 0xa8(%rsp), %r15
leaq 0x38(%rsp), %r12
pushq $0x2d
popq %rbp
leaq 0x58(%rsp), %r13
movq 0x18(%rsp), %rax
subq 0x10(%rsp), %rax
sarq $0x5, %rax
cmpq %rax, %r14
jae 0x3cc7a
movq %r15, %rdi
movq %r12, %rsi
movl %ebp, %edx
callq 0x4c46d
movq 0x10(%rsp), %rdx
addq %rbx, %rdx
movq %r13, %rdi
movq %r15, %rsi
callq 0x1dd09
movq %r12, %rdi
movq %r13, %rsi
callq 0xd730
movq %r13, %rdi
callq 0xdbe8
movq %r15, %rdi
callq 0xdbe8
incq %r14
addq $0x20, %rbx
jmp 0x3cc23
leaq 0x58(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x3c872
leaq 0x58(%rsp), %rbx
movq 0x30(%rsp), %rdi
movq %rbx, %rsi
callq 0x4a952
movq %rbx, %rdi
callq 0x3ca5c
leaq 0x38(%rsp), %rdi
callq 0xdbe8
leaq 0x10(%rsp), %rdi
callq 0x1cc42
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3cd02
jmp 0x3cceb
movq %rax, %r15
leaq 0x38(%rsp), %rdi
callq 0xdbe8
jmp 0x3ccdf
movq %rax, %r15
testq %r12, %r12
jmp 0x3cd0f
jmp 0x3cce6
movq %rbx, 0x8(%rsp)
movq %rax, %r15
jmp 0x3cd0f
movq %rax, %r15
leaq 0xa8(%rsp), %rdi
callq 0xdbe8
jmp 0x3cd05
movq %rax, %r15
leaq 0x38(%rsp), %rdi
callq 0xdbe8
leaq 0x10(%rsp), %rdi
callq 0x1cc42
movq 0x30(%rsp), %rdi
callq 0x3ca5c
movq 0x8(%rsp), %rdi
callq 0x3ca5c
movq %r15, %rdi
callq 0xdaa0
nop