// 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&, int, 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, int 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 << "\": " << StreamableToString(value);
  if (comma) *stream << ",\n";
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %r9d, %ebp
movq %r8, %r15
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
movl %ecx, 0xc(%rsp)
leaq 0x30(%rsp), %r13
movq %r13, %rdi
callq 0x55ec2
movq (%r13), %rdi
movq 0x8(%r13), %rsi
movq %r14, %rdx
callq 0x6a9b6
cmpq 0x38(%rsp), %rax
jne 0x59107
leaq 0x18651(%rip), %rdx     # 0x716bb
leaq 0x10(%rsp), %rdi
movl $0x3, %esi
movl $0x1228, %ecx           # imm = 0x1228
callq 0x47006
movq 0x3af6b(%rip), %rdi     # 0x93ff0
leaq 0x1931b(%rip), %rsi     # 0x723a7
movl $0x65, %edx
callq 0xd600
movq 0x3af53(%rip), %rdi     # 0x93ff0
leaq 0x1955a(%rip), %rsi     # 0x725fe
movl $0x5, %edx
callq 0xd600
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq 0x3af34(%rip), %rdi     # 0x93ff0
callq 0xd600
movq %rax, %r13
leaq 0x19539(%rip), %rsi     # 0x72604
movl $0x1c, %edx
movq %rax, %rdi
callq 0xd600
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %r13, %rdi
callq 0xd600
leaq 0x142ce(%rip), %rsi     # 0x6d3be
movl $0x2, %edx
movq %rax, %rdi
callq 0xd600
leaq 0x10(%rsp), %rdi
callq 0x47148
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0xd600
movq %rax, %r15
leaq 0x19550(%rip), %rsi     # 0x72670
movl $0x1, %edx
movq %rax, %rdi
callq 0xd600
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %r15, %rdi
callq 0xd600
movq %rax, %r14
leaq 0x194db(%rip), %rsi     # 0x72621
movl $0x3, %edx
movq %rax, %rdi
callq 0xd600
leaq 0x10(%rsp), %rdi
leaq 0xc(%rsp), %rsi
callq 0x61b3f
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %r14, %rdi
callq 0xd600
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5918f
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xd530
testb %bpl, %bpl
je 0x591a8
leaq 0x194d8(%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 0x591f6
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x591f9
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x591f9
jmp 0x591f6
jmp 0x591f6
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x47148
jmp 0x591f9
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x20770
movq %rbx, %rdi
callq 0xda70
nop