// File: /workspace/github_cpp_makefile_star2_O1/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), %rax
movq -0x8(%rax), %rcx
testq %rcx, %rcx
je 0x6a026
subq 0x8(%rbx), %rax
shrq $0x3, %rax
decl %eax
movl %eax, -0x38(%rbp)
movb $0x1, -0x58(%rbp)
cmpq $0x0, 0x90(%rbx)
je 0x6a167
leaq 0x80(%rbx), %rdi
leaq -0x38(%rbp), %rsi
leaq -0x58(%rbp), %rdx
callq *0x98(%rbx)
testb %al, %al
jne 0x6a026
leaq 0xa8(%rbx), %rsi
leaq -0x68(%rbp), %r14
movq %r14, %rdi
callq 0x6b1d6
movq 0x10(%rbx), %rax
movq -0x8(%rax), %rdi
movq %r14, %rsi
callq 0x68c64
movq %r14, %rdi
callq 0x65da4
movq 0x8(%rbx), %rcx
movq 0x10(%rbx), %rax
cmpq %rax, %rcx
je 0x6a129
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 0x6a148
leaq -0x8(%rax), %rdi
movq %rdi, 0x10(%rbx)
subl $0x1, %esi
movl %esi, 0x38(%rbx)
jae 0x6a078
movl $0x3f, 0x38(%rbx)
addq $-0x8, %rdx
movq %rdx, 0x30(%rbx)
cmpq %rdi, %rcx
je 0x6a11c
movq -0x10(%rax), %rcx
testq %rcx, %rcx
je 0x6a11c
movb (%rcx), %cl
decb %cl
cmpb $0x1, %cl
ja 0x6a11c
movq -0x10(%rax), %rsi
leaq -0x38(%rbp), %r14
movq %r14, %rdi
callq 0x6b27c
movq 0x10(%rbx), %rax
movq -0x8(%rax), %rsi
leaq -0x58(%rbp), %r15
movq %r15, %rdi
callq 0x6b2d8
movq %r14, %rdi
movq %r15, %rsi
callq 0x6bd34
testb %al, %al
jne 0x6a11c
movq %r14, %rdi
callq 0x6b334
cmpb $0x9, (%rax)
je 0x6a0ed
movq %r14, %rdi
callq 0x6b6c0
movq 0x10(%rbx), %rax
movq -0x8(%rax), %rsi
jmp 0x6a0b7
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 0x6b484
movb $0x1, %al
addq $0x78, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x189bb(%rip), %rdi     # 0x82aeb
leaq 0x16fa8(%rip), %rsi     # 0x810df
leaq 0x189c0(%rip), %rcx     # 0x82afe
movl $0x1b7b, %edx           # imm = 0x1B7B
callq 0x1b320
leaq 0x1883e(%rip), %rdi     # 0x8298d
leaq 0x16f89(%rip), %rsi     # 0x810df
leaq 0x189a1(%rip), %rcx     # 0x82afe
movl $0x1b7c, %edx           # imm = 0x1B7C
callq 0x1b320
callq 0x1b1b0