// File: 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
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
movb %r9b, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
andb $0x1, %al
movb %al, -0x29(%rbp)
movq -0x10(%rbp), %rsi
leaq -0x50(%rbp), %rdi
movq %rdi, -0xb8(%rbp)
callq 0x1e6a0
movq -0xb8(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rdi
callq 0x3c1a0
movq %rax, -0x60(%rbp)
movq -0x38(%rbp), %rdi
callq 0x3c1d0
movq %rax, -0x68(%rbp)
movq -0x18(%rbp), %rdx
movq -0x60(%rbp), %rdi
movq -0x68(%rbp), %rsi
callq 0x3c150
movq %rax, -0xb0(%rbp)
jmp 0x2796a
movq -0xb0(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x38(%rbp), %rdi
callq 0x3c1d0
movq %rax, -0x80(%rbp)
leaq -0x58(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x3c110
movzbl %al, %edi
callq 0x16060
movb %al, -0xb9(%rbp)
jmp 0x2799f
movb -0xb9(%rbp), %al
testb $0x1, %al
jne 0x279ab
jmp 0x279c1
jmp 0x27abb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
jmp 0x27bb7
leaq 0x307a6(%rip), %rdx     # 0x5816e
leaq -0x84(%rbp), %rdi
movl $0x3, %esi
movl $0xfbb, %ecx            # imm = 0xFBB
callq 0x33f70
jmp 0x279e0
leaq -0x84(%rbp), %rdi
callq 0x377b0
movq %rax, -0xc8(%rbp)
jmp 0x279f5
movq -0xc8(%rbp), %rdi
leaq 0x31083(%rip), %rsi     # 0x58a86
callq 0x95e0
movq %rax, -0xd0(%rbp)
jmp 0x27a11
movq -0xd0(%rbp), %rdi
leaq 0x31244(%rip), %rsi     # 0x58c63
callq 0x95e0
movq %rax, -0xd8(%rbp)
jmp 0x27a2d
movq -0xd8(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x9550
movq %rax, -0xe0(%rbp)
jmp 0x27a46
movq -0xe0(%rbp), %rdi
leaq 0x31215(%rip), %rsi     # 0x58c69
callq 0x95e0
movq %rax, -0xe8(%rbp)
jmp 0x27a62
movq -0xe8(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x9550
movq %rax, -0xf0(%rbp)
jmp 0x27a7b
movq -0xf0(%rbp), %rdi
leaq 0x311fd(%rip), %rsi     # 0x58c86
callq 0x95e0
jmp 0x27a90
leaq -0x84(%rbp), %rdi
callq 0x340b0
jmp 0x27abb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
leaq -0x84(%rbp), %rdi
callq 0x340b0
jmp 0x27bb7
movq -0x8(%rbp), %rdi
movq -0x28(%rbp), %rsi
callq 0x9550
movq %rax, -0xf8(%rbp)
jmp 0x27ad1
movq -0xf8(%rbp), %rdi
leaq 0x311cf(%rip), %rsi     # 0x58cae
callq 0x95e0
movq %rax, -0x100(%rbp)
jmp 0x27aed
movq -0x100(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x9550
movq %rax, -0x108(%rbp)
jmp 0x27b06
movq -0x108(%rbp), %rdi
leaq 0x31197(%rip), %rsi     # 0x58cab
callq 0x95e0
movq %rax, -0x110(%rbp)
jmp 0x27b22
movq -0x20(%rbp), %rsi
leaq -0xa8(%rbp), %rdi
callq 0x276b0
jmp 0x27b34
movq -0x110(%rbp), %rdi
leaq -0xa8(%rbp), %rsi
callq 0x9550
movq %rax, -0x118(%rbp)
jmp 0x27b50
movq -0x118(%rbp), %rdi
leaq 0x31150(%rip), %rsi     # 0x58cae
callq 0x95e0
jmp 0x27b65
leaq -0xa8(%rbp), %rdi
callq 0x9db8
testb $0x1, -0x29(%rbp)
je 0x27ba5
movq -0x8(%rbp), %rdi
leaq 0x3112f(%rip), %rsi     # 0x58cb1
callq 0x95e0
jmp 0x27b89
jmp 0x27ba5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
leaq -0xa8(%rbp), %rdi
callq 0x9db8
jmp 0x27bb7
leaq -0x50(%rbp), %rdi
callq 0x378c0
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
leaq -0x50(%rbp), %rdi
callq 0x378c0
movq -0x70(%rbp), %rdi
callq 0x9c40
nopl (%rax)