// File: /workspace/github_cpp_makefile_star2_O3/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 0x55ec2
movq (%rbp), %rdi
movq 0x8(%rbp), %rsi
movq %r15, %rdx
callq 0x6a9b6
cmpq 0x38(%rsp), %rax
jne 0x58eff
leaq 0x18858(%rip), %rdx     # 0x716bb
leaq 0x10(%rsp), %rdi
movl $0x3, %esi
movl $0x1219, %ecx           # imm = 0x1219
callq 0x47006
movq 0x3b172(%rip), %rdi     # 0x93ff0
leaq 0x19522(%rip), %rsi     # 0x723a7
movl $0x65, %edx
callq 0xd600
movq 0x3b15a(%rip), %rdi     # 0x93ff0
leaq 0x19761(%rip), %rsi     # 0x725fe
movl $0x5, %edx
callq 0xd600
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq 0x3b13b(%rip), %rdi     # 0x93ff0
callq 0xd600
movq %rax, %rbp
leaq 0x19740(%rip), %rsi     # 0x72604
movl $0x1c, %edx
movq %rax, %rdi
callq 0xd600
movq (%r13), %rsi
movq 0x8(%r13), %rdx
movq %rbp, %rdi
callq 0xd600
leaq 0x144d6(%rip), %rsi     # 0x6d3be
movl $0x2, %edx
movq %rax, %rdi
callq 0xd600
leaq 0x10(%rsp), %rdi
callq 0x47148
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %rbx, %rdi
callq 0xd600
movq %rax, %r12
leaq 0x19756(%rip), %rsi     # 0x72670
movl $0x1, %edx
movq %rax, %rdi
callq 0xd600
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %r12, %rdi
callq 0xd600
movq %rax, %r15
leaq 0x1972d(%rip), %rsi     # 0x7266d
movl $0x4, %edx
movq %rax, %rdi
callq 0xd600
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0x58c38
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %r15, %rdi
callq 0xd600
leaq 0x196fd(%rip), %rsi     # 0x72670
movl $0x1, %edx
movq %rax, %rdi
callq 0xd600
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x58f9b
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xd530
cmpb $0x0, 0xc(%rsp)
je 0x58fb6
leaq 0x196ca(%rip), %rsi     # 0x72673
movl $0x2, %edx
movq %rbx, %rdi
callq 0xd600
leaq 0x30(%rsp), %rdi
callq 0x20770
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x59004
jmp 0x59004
jmp 0x59004
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x59007
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x59007
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x47148
jmp 0x59007
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x20770
movq %rbx, %rdi
callq 0xda70
nop