// File: /workspace/github_cpp_makefile_star2_O2/halfflat[P]tinyopt/test/googletest/googletest/src/gtest.cc
// Function: testing::internal::JsonUnitTestResultPrinter::OutputJsonKey(std::ostream*, 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&, 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)
void JsonUnitTestResultPrinter::OutputJsonKey(std::ostream* stream,
                                              const std::string& element_name,
                                              const std::string& name,
                                              const std::string& value,
                                              const std::string& indent,
                                              bool comma) {
  const std::vector<std::string>& allowed_names =
      GetReservedOutputAttributesForElement(element_name);

  GTEST_CHECK_(std::find(allowed_names.begin(), allowed_names.end(), name) !=
               allowed_names.end())
      << "Key \"" << name << "\" is not allowed for value \"" << element_name
      << "\".";

  *stream << indent << "\"" << name << "\": \"" << EscapeJson(value) << "\"";
  if (comma) *stream << ",\n";
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %r9d, 0xc(%rsp)
movq %r8, %r12
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r13
movq %rdi, %rbx
leaq 0x30(%rsp), %rbp
movq %rbp, %rdi
callq 0x4405e
movq (%rbp), %rdi
movq 0x8(%rbp), %rsi
movq %r15, %rdx
callq 0x5419b
cmpq 0x38(%rsp), %rax
jne 0x4611f
leaq 0x1564e(%rip), %rdx     # 0x5b6fb
leaq 0x10(%rsp), %rdi
pushq $0x3
popq %rsi
movl $0x1219, %ecx           # imm = 0x1219
callq 0x39dd8
movq 0x3df22(%rip), %rdi     # 0x83fe8
leaq 0x1631a(%rip), %rsi     # 0x5c3e7
callq 0xd550
leaq 0x16565(%rip), %rsi     # 0x5c63e
movq %rax, %rdi
callq 0xd550
movq %rax, %rdi
movq %r15, %rsi
callq 0xd4e0
leaq 0x16551(%rip), %rsi     # 0x5c644
movq %rax, %rdi
callq 0xd550
movq %rax, %rdi
movq %r13, %rsi
callq 0xd4e0
leaq 0x116de(%rip), %rsi     # 0x577eb
movq %rax, %rdi
callq 0xd550
leaq 0x10(%rsp), %rdi
callq 0x39e9c
movq %rbx, %rdi
movq %r12, %rsi
callq 0xd4e0
leaq 0x1657f(%rip), %rsi     # 0x5c6b0
movq %rax, %rdi
callq 0xd550
movq %rax, %rdi
movq %r15, %rsi
callq 0xd4e0
leaq 0x16562(%rip), %rsi     # 0x5c6ad
movq %rax, %rdi
callq 0xd550
movq %rax, %r15
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0x45ee4
leaq 0x10(%rsp), %rsi
movq %r15, %rdi
callq 0xd4e0
leaq 0x16539(%rip), %rsi     # 0x5c6b0
movq %rax, %rdi
callq 0xd550
leaq 0x10(%rsp), %rdi
callq 0xdbe8
cmpb $0x0, 0xc(%rsp)
je 0x4619f
leaq 0x1651c(%rip), %rsi     # 0x5c6b3
movq %rbx, %rdi
callq 0xd550
leaq 0x30(%rsp), %rdi
callq 0x1cc42
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x461dc
jmp 0x461dc
jmp 0x461dc
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xdbe8
jmp 0x461df
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x39e9c
jmp 0x461df
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x1cc42
movq %rbx, %rdi
callq 0xdaa0
nop