// File: /workspace/github_cpp_makefile_star2_O3/Konano[P]UselessDatabase/./json.hpp
// Function: nlohmann::detail::json_sax_dom_callback_parser<nlohmann::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::adl_serializer>>::end_object()
bool end_object()
    {
        if (ref_stack.back() and not callback(static_cast<int>(ref_stack.size()) - 1, parse_event_t::object_end, *ref_stack.back()))
        {
            // discard object
            *ref_stack.back() = discarded;
        }

        assert(not ref_stack.empty());
        assert(not keep_stack.empty());
        ref_stack.pop_back();
        keep_stack.pop_back();

        if (not ref_stack.empty() and ref_stack.back() and ref_stack.back()->is_object())
        {
            // 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
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 0x12d7b
subq 0x8(%rbx), %rax
shrq $0x3, %rax
decl %eax
movl %eax, 0x28(%rsp)
movb $0x1, 0x8(%rsp)
cmpq $0x0, 0x90(%rbx)
je 0x12f23
leaq 0x80(%rbx), %rdi
leaq 0x28(%rsp), %rsi
leaq 0x8(%rsp), %rdx
callq *0x98(%rbx)
testb %al, %al
jne 0x12d7b
leaq 0xa8(%rbx), %rsi
leaq 0x48(%rsp), %r14
movq %r14, %rdi
callq 0x942c
movq 0x10(%rbx), %rax
movq -0x8(%rax), %r15
movq %r14, %rdi
callq 0xd118
movb (%r15), %al
movb (%r14), %cl
movb %cl, (%r15)
movb %al, (%r14)
leaq 0x50(%rsp), %r12
movq 0x8(%r15), %rax
movq (%r12), %rcx
movq %rcx, 0x8(%r15)
movq %rax, (%r12)
movq %r15, %rdi
callq 0xd118
movq %r14, %rdi
callq 0xd118
movzbl -0x8(%r12), %esi
movq %r12, %rdi
callq 0xd1ba
movq 0x8(%rbx), %rcx
movq 0x10(%rbx), %rax
cmpq %rax, %rcx
je 0x12ee5
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 0x12f04
leaq -0x8(%rax), %rdi
movq %rdi, 0x10(%rbx)
subl $0x1, %esi
movl %esi, 0x38(%rbx)
jae 0x12dcd
movl $0x3f, 0x38(%rbx)
addq $-0x8, %rdx
movq %rdx, 0x30(%rbx)
cmpq %rdi, %rcx
je 0x12ed4
movq -0x10(%rax), %rax
testq %rax, %rax
je 0x12ed4
cmpb $0x1, (%rax)
jne 0x12ed4
movabsq $-0x8000000000000000, %r12 # imm = 0x8000000000000000
leaq 0x28(%rsp), %r14
movq %rax, (%r14)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%r14)
movq %r12, 0x18(%r14)
movq %r14, %rdi
callq 0x13e70
movq 0x10(%rbx), %rax
movq -0x8(%rax), %rax
leaq 0x8(%rsp), %r15
movq %rax, (%r15)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%r15)
movq %r12, 0x18(%r15)
movq %r15, %rdi
callq 0x14168
movq %r14, %rdi
movq %r15, %rsi
callq 0x13ed4
testb %al, %al
jne 0x12ed4
leaq 0x30(%rsp), %r13
leaq 0x10(%rsp), %rbp
leaq 0x28(%rsp), %r14
leaq 0x8(%rsp), %r15
movq %r14, %rdi
callq 0x13a22
cmpb $0x8, (%rax)
je 0x12ea4
movq %r14, %rdi
callq 0x13e18
movq 0x10(%rbx), %rax
movq -0x8(%rax), %rax
movq %rax, 0x8(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, (%rbp)
movq %r12, 0x20(%rsp)
movq %r15, %rdi
callq 0x14168
movq %r14, %rdi
movq %r15, %rsi
callq 0x13ed4
testb %al, %al
je 0x12e5d
jmp 0x12ed4
movq 0x10(%rbx), %rax
movq -0x8(%rax), %rsi
movq 0x28(%rsp), %rax
leaq 0x58(%rsp), %rdx
movq %rax, (%rdx)
movups (%r13), %xmm0
movups %xmm0, 0x8(%rdx)
movq 0x10(%r13), %rax
movq %rax, 0x18(%rdx)
leaq 0x8(%rsp), %rdi
callq 0x13b6c
movb $0x1, %al
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2b951(%rip), %rdi     # 0x3e83d
leaq 0x29907(%rip), %rsi     # 0x3c7fa
leaq 0x2b959(%rip), %rcx     # 0x3e853
movl $0x1284, %edx           # imm = 0x1284
callq 0x5280
leaq 0x2b7db(%rip), %rdi     # 0x3e6e6
leaq 0x298e8(%rip), %rsi     # 0x3c7fa
leaq 0x2b93a(%rip), %rcx     # 0x3e853
movl $0x1285, %edx           # imm = 0x1285
callq 0x5280
callq 0x51a0