// File: /workspace/github_cpp_makefile_star2_O3/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 %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdi, %rbx
movq 0x10(%rdi), %rax
movq -0x8(%rax), %rcx
testq %rcx, %rcx
je 0x68fda
subq 0x8(%rbx), %rax
shrq $0x3, %rax
decl %eax
movl %eax, -0x68(%rbp)
movb $0x1, -0x48(%rbp)
cmpq $0x0, 0x90(%rbx)
je 0x69171
leaq 0x80(%rbx), %rdi
leaq -0x68(%rbp), %rsi
leaq -0x48(%rbp), %rdx
callq *0x98(%rbx)
testb %al, %al
jne 0x68fda
leaq 0xa8(%rbx), %rsi
leaq -0x78(%rbp), %r14
movq %r14, %rdi
callq 0x6a1e6
movq 0x10(%rbx), %rax
movq -0x8(%rax), %rdi
movq %r14, %rsi
callq 0x67d20
movq %r14, %rdi
callq 0x6503c
movq 0x8(%rbx), %rcx
movq 0x10(%rbx), %rax
cmpq %rax, %rcx
je 0x69133
movq 0x30(%rbx), %rdx
movl 0x38(%rbx), %esi
cmpq %rdx, 0x20(%rbx)
sete %dil
testl %esi, %esi
sete %r8b
andb %dil, %r8b
cmpb $0x1, %r8b
je 0x69152
leaq -0x8(%rax), %rdi
movq %rdi, 0x10(%rbx)
subl $0x1, %esi
movl %esi, 0x38(%rbx)
jae 0x6902c
movl $0x3f, 0x38(%rbx)
addq $-0x8, %rdx
movq %rdx, 0x30(%rbx)
cmpq %rdi, %rcx
je 0x69122
movq -0x10(%rax), %rax
testq %rax, %rax
je 0x69122
movb (%rax), %cl
decb %cl
cmpb $0x1, %cl
ja 0x69122
movabsq $-0x8000000000000000, %r12 # imm = 0x8000000000000000
leaq -0x68(%rbp), %r14
movq %rax, (%r14)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%r14)
movq %r12, 0x18(%r14)
movq %r14, %rdi
callq 0x6ac2a
movq 0x10(%rbx), %rax
movq -0x8(%rax), %rax
leaq -0x48(%rbp), %r15
movq %rax, (%r15)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%r15)
movq %r12, 0x18(%r15)
movq %r15, %rdi
callq 0x6af68
movq %r14, %rdi
movq %r15, %rsi
callq 0x6ac92
testb %al, %al
jne 0x69122
leaq -0x40(%rbp), %r13
movq %r14, %rdi
callq 0x6a272
cmpb $0x9, (%rax)
je 0x690f0
movq %r14, %rdi
callq 0x6a61e
movq 0x10(%rbx), %rax
movq -0x8(%rax), %rax
movq %rax, -0x48(%rbp)
xorps %xmm0, %xmm0
movups %xmm0, (%r13)
movq %r12, -0x30(%rbp)
movq %r15, %rdi
callq 0x6af68
movq %r14, %rdi
movq %r15, %rsi
callq 0x6ac92
testb %al, %al
je 0x690aa
jmp 0x69122
movq 0x10(%rbx), %rax
movq -0x8(%rax), %rsi
movq -0x68(%rbp), %rax
leaq -0x98(%rbp), %rdx
movq %rax, (%rdx)
leaq -0x60(%rbp), %rax
movups (%rax), %xmm0
movups %xmm0, 0x8(%rdx)
movq 0x10(%rax), %rax
movq %rax, 0x18(%rdx)
leaq -0x48(%rbp), %rdi
callq 0x6a3be
movb $0x1, %al
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x18981(%rip), %rdi     # 0x81abb
leaq 0x16f6e(%rip), %rsi     # 0x800af
leaq 0x18986(%rip), %rcx     # 0x81ace
movl $0x1b7b, %edx           # imm = 0x1B7B
callq 0x1b320
leaq 0x18804(%rip), %rdi     # 0x8195d
leaq 0x16f4f(%rip), %rsi     # 0x800af
leaq 0x18967(%rip), %rcx     # 0x81ace
movl $0x1b7c, %edx           # imm = 0x1B7C
callq 0x1b320
callq 0x1b1b0