// File: /workspace/github_cpp_makefile_star2_O1/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 %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdi, %rbx
movq 0x10(%rdi), %rax
movq -0x8(%rax), %rcx
testq %rcx, %rcx
je 0x133c2
subq 0x8(%rbx), %rax
shrq $0x3, %rax
decl %eax
movl %eax, 0x8(%rsp)
movb $0x1, 0x28(%rsp)
cmpq $0x0, 0x90(%rbx)
je 0x13525
leaq 0x80(%rbx), %rdi
leaq 0x8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq *0x98(%rbx)
testb %al, %al
jne 0x133c2
leaq 0xa8(%rbx), %rsi
leaq 0x48(%rsp), %r14
movq %r14, %rdi
callq 0x94e0
movq 0x10(%rbx), %rax
movq -0x8(%rax), %r15
movq %r14, %rdi
callq 0xd52a
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 0xd52a
movq %r14, %rdi
callq 0xd52a
movzbl -0x8(%r12), %esi
movq %r12, %rdi
callq 0xd5cc
movq 0x8(%rbx), %rcx
movq 0x10(%rbx), %rax
cmpq %rax, %rcx
je 0x134e7
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 0x13506
leaq -0x8(%rax), %rdi
movq %rdi, 0x10(%rbx)
subl $0x1, %esi
movl %esi, 0x38(%rbx)
jae 0x13414
movl $0x3f, 0x38(%rbx)
addq $-0x8, %rdx
movq %rdx, 0x30(%rbx)
cmpq %rdi, %rcx
je 0x134d9
movq -0x10(%rax), %rcx
testq %rcx, %rcx
je 0x134d9
cmpb $0x1, (%rcx)
jne 0x134d9
movq -0x10(%rax), %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x14010
movq 0x10(%rbx), %rax
movq -0x8(%rax), %rsi
leaq 0x28(%rsp), %r15
movq %r15, %rdi
callq 0x14062
movq %r14, %rdi
movq %r15, %rsi
callq 0x14540
testb %al, %al
jne 0x134d9
leaq 0x8(%rsp), %r14
leaq 0x28(%rsp), %r15
movq %r14, %rdi
callq 0x140b4
cmpb $0x8, (%rax)
je 0x134a8
movq %r14, %rdi
callq 0x14484
movq 0x10(%rbx), %rax
movq -0x8(%rax), %rsi
movq %r15, %rdi
callq 0x14062
movq %r14, %rdi
movq %r15, %rsi
callq 0x14540
testb %al, %al
je 0x13472
jmp 0x134d9
movq 0x10(%rbx), %rax
movq -0x8(%rax), %rsi
movq 0x8(%rsp), %rax
leaq 0x58(%rsp), %rdx
movq %rax, (%rdx)
movups 0x10(%rsp), %xmm0
movups %xmm0, 0x8(%rdx)
movq 0x20(%rsp), %rax
movq %rax, 0x18(%rdx)
leaq 0x28(%rsp), %rdi
callq 0x14202
movb $0x1, %al
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x2c352(%rip), %rdi     # 0x3f840
leaq 0x2a308(%rip), %rsi     # 0x3d7fd
leaq 0x2c35a(%rip), %rcx     # 0x3f856
movl $0x1284, %edx           # imm = 0x1284
callq 0x5280
leaq 0x2c1dc(%rip), %rdi     # 0x3f6e9
leaq 0x2a2e9(%rip), %rsi     # 0x3d7fd
leaq 0x2c33b(%rip), %rcx     # 0x3f856
movl $0x1285, %edx           # imm = 0x1285
callq 0x5280
callq 0x51a0