// File: /workspace/github_cpp_makefile_star2_O2/xelia-it[P]mustache/test/src/../../src/../third-party/json/single_include/nlohmann/json.hpp
// Function: nlohmann::json_abi_v3_11_2::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>>::end_object()
bool end_object()
    {
        if (ref_stack.back())
        {
            if (!callback(static_cast<int>(ref_stack.size()) - 1, parse_event_t::object_end, *ref_stack.back()))
            {
                // discard object
                *ref_stack.back() = discarded;
            }
            else
            {
                ref_stack.back()->set_parents();
            }
        }

        JSON_ASSERT(!ref_stack.empty());
        JSON_ASSERT(!keep_stack.empty());
        ref_stack.pop_back();
        keep_stack.pop_back();

        if (!ref_stack.empty() && ref_stack.back() && ref_stack.back()->is_structured())
        {
            // remove discarded value
            for (auto it = ref_stack.back()->begin(); it != ref_stack.back()->end(); ++it)
            {
                if (it->is_discarded())
                {
                    ref_stack.back()->erase(it);
                    break;
                }
            }
        }

        return true;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x78, %rsp
movq %rdi, %rbx
movq 0x10(%rdi), %rsi
movq -0x8(%rsi), %rcx
testq %rcx, %rcx
je 0x64b8b
leaq 0x80(%rbx), %rdi
subq 0x8(%rbx), %rsi
shrq $0x3, %rsi
decl %esi
pushq $0x1
popq %rdx
callq 0x6522a
testb %al, %al
jne 0x64b8b
leaq 0xa8(%rbx), %rsi
leaq -0x68(%rbp), %r14
movq %r14, %rdi
callq 0x65b54
movq 0x10(%rbx), %rax
movq -0x8(%rax), %rdi
movq %r14, %rsi
callq 0x639d0
movq %r14, %rdi
callq 0x60da8
movq 0x10(%rbx), %rax
cmpq %rax, 0x8(%rbx)
je 0x64c5f
movq 0x20(%rbx), %rcx
cmpq 0x30(%rbx), %rcx
jne 0x64bad
cmpl $0x0, 0x38(%rbx)
je 0x64c7e
leaq 0x30(%rbx), %rdi
addq $-0x8, %rax
movq %rax, 0x10(%rbx)
callq 0x6484e
movq 0x10(%rbx), %rax
cmpq %rax, 0x8(%rbx)
je 0x64c52
movq -0x8(%rax), %rsi
testq %rsi, %rsi
je 0x64c52
movb (%rsi), %al
decb %al
cmpb $0x1, %al
ja 0x64c52
leaq -0x38(%rbp), %r14
movq %r14, %rdi
callq 0x65bda
leaq -0x58(%rbp), %r15
movq 0x10(%rbx), %rax
movq -0x8(%rax), %rsi
movq %r15, %rdi
callq 0x65c18
movq %r14, %rdi
movq %r15, %rsi
callq 0x65c0a
testb %al, %al
je 0x64c52
movq %r14, %rdi
callq 0x65c48
cmpb $0x9, (%rax)
je 0x64c23
movq %r14, %rdi
callq 0x65f6c
jmp 0x64bed
movq 0x10(%rbx), %rax
movq -0x8(%rax), %rsi
movq -0x38(%rbp), %rax
leaq -0x88(%rbp), %rdx
movq %rax, (%rdx)
movups -0x30(%rbp), %xmm0
movups %xmm0, 0x8(%rdx)
movq -0x20(%rbp), %rax
movq %rax, 0x18(%rdx)
leaq -0x58(%rbp), %rdi
callq 0x65d7e
movb $0x1, %al
addq $0x78, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x15fc1(%rip), %rdi     # 0x7ac27
leaq 0x143f1(%rip), %rsi     # 0x7905e
leaq 0x15fc6(%rip), %rcx     # 0x7ac3a
movl $0x1b7b, %edx           # imm = 0x1B7B
callq 0x24390
leaq 0x15e44(%rip), %rdi     # 0x7aac9
leaq 0x143d2(%rip), %rsi     # 0x7905e
leaq 0x15fa7(%rip), %rcx     # 0x7ac3a
movl $0x1b7c, %edx           # imm = 0x1B7C
callq 0x24390
nop