// File: /workspace/github_cpp_makefile_star2_O3/ambersun1234[P]AVL_Tree/./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 =
      GetReservedAttributesForElement(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 0x14c55
movq (%rbp), %rdi
movq 0x8(%rbp), %rsi
movq %r15, %rdx
callq 0x31cd6
cmpq 0x38(%rsp), %rax
jne 0x1cde5
leaq 0x18f03(%rip), %rdx     # 0x35c4c
leaq 0x10(%rsp), %rdi
movl $0x3, %esi
movl $0xfbb, %ecx            # imm = 0xFBB
callq 0x27dfe
movq 0x2c284(%rip), %rdi     # 0x48fe8
leaq 0x197a3(%rip), %rsi     # 0x3650e
movl $0x65, %edx
callq 0x7560
movq 0x2c26c(%rip), %rdi     # 0x48fe8
leaq 0x19972(%rip), %rsi     # 0x366f5
movl $0x5, %edx
callq 0x7560
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq 0x2c24d(%rip), %rdi     # 0x48fe8
callq 0x7560
movq %rax, %rbp
leaq 0x19951(%rip), %rsi     # 0x366fb
movl $0x1c, %edx
movq %rax, %rdi
callq 0x7560
movq (%r13), %rsi
movq 0x8(%r13), %rdx
movq %rbp, %rdi
callq 0x7560
leaq 0x1994a(%rip), %rsi     # 0x36718
movl $0x2, %edx
movq %rax, %rdi
callq 0x7560
leaq 0x10(%rsp), %rdi
callq 0x27f40
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %rbx, %rdi
callq 0x7560
movq %rax, %r12
leaq 0x19940(%rip), %rsi     # 0x36740
movl $0x1, %edx
movq %rax, %rdi
callq 0x7560
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %r12, %rdi
callq 0x7560
movq %rax, %r15
leaq 0x19917(%rip), %rsi     # 0x3673d
movl $0x4, %edx
movq %rax, %rdi
callq 0x7560
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0x1cb1e
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %r15, %rdi
callq 0x7560
leaq 0x198e7(%rip), %rsi     # 0x36740
movl $0x1, %edx
movq %rax, %rdi
callq 0x7560
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1ce81
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x7480
cmpb $0x0, 0xc(%rsp)
je 0x1ce9c
leaq 0x198b4(%rip), %rsi     # 0x36743
movl $0x2, %edx
movq %rbx, %rdi
callq 0x7560
leaq 0x30(%rsp), %rdi
callq 0x2a3ee
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1ceea
jmp 0x1ceea
jmp 0x1ceea
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1ceed
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x7480
jmp 0x1ceed
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x27f40
jmp 0x1ceed
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x2a3ee
movq %rbx, %rdi
callq 0x7960
nop