// File: /workspace/github_cpp_makefile_star2_O1/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 0x5780e
movq (%rbp), %rdi
movq 0x8(%rbp), %rsi
movq %r15, %rdx
callq 0x6c22a
cmpq 0x38(%rsp), %rax
jne 0x5a845
leaq 0x18f02(%rip), %rdx     # 0x736ab
leaq 0x10(%rsp), %rdi
movl $0x3, %esi
movl $0x1219, %ecx           # imm = 0x1219
callq 0x48796
movq 0x3b82c(%rip), %rdi     # 0x95ff0
leaq 0x19bcc(%rip), %rsi     # 0x74397
movl $0x65, %edx
callq 0xd600
movq 0x3b814(%rip), %rdi     # 0x95ff0
leaq 0x19e0b(%rip), %rsi     # 0x745ee
movl $0x5, %edx
callq 0xd600
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq 0x3b7f5(%rip), %rdi     # 0x95ff0
callq 0xd600
movq %rax, %rbp
leaq 0x19dea(%rip), %rsi     # 0x745f4
movl $0x1c, %edx
movq %rax, %rdi
callq 0xd600
movq (%r13), %rsi
movq 0x8(%r13), %rdx
movq %rbp, %rdi
callq 0xd600
leaq 0x14f4d(%rip), %rsi     # 0x6f77b
movl $0x2, %edx
movq %rax, %rdi
callq 0xd600
leaq 0x10(%rsp), %rdi
callq 0x488d8
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %rbx, %rdi
callq 0xd600
movq %rax, %r12
leaq 0x19e00(%rip), %rsi     # 0x74660
movl $0x1, %edx
movq %rax, %rdi
callq 0xd600
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %r12, %rdi
callq 0xd600
movq %rax, %r15
leaq 0x19dd7(%rip), %rsi     # 0x7465d
movl $0x4, %edx
movq %rax, %rdi
callq 0xd600
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0x5a586
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %r15, %rdi
callq 0xd600
leaq 0x19da7(%rip), %rsi     # 0x74660
movl $0x1, %edx
movq %rax, %rdi
callq 0xd600
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5a8e1
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xd530
cmpb $0x0, 0xc(%rsp)
je 0x5a8fc
leaq 0x19d74(%rip), %rsi     # 0x74663
movl $0x2, %edx
movq %rbx, %rdi
callq 0xd600
leaq 0x30(%rsp), %rdi
callq 0x20fca
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5a94a
jmp 0x5a94a
jmp 0x5a94a
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5a94d
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x5a94d
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x488d8
jmp 0x5a94d
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x20fca
movq %rbx, %rdi
callq 0xda70
nop