// 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>>::start_object(unsigned long)
bool start_object(std::size_t len)
    {
        // check callback for object start
        const bool keep = callback(static_cast<int>(ref_stack.size()), parse_event_t::object_start, discarded);
        keep_stack.push_back(keep);

        auto val = handle_value(BasicJsonType::value_t::object, true);
        ref_stack.push_back(val.second);

        // check object limit
        if (ref_stack.back() && JSON_HEDLEY_UNLIKELY(len != static_cast<std::size_t>(-1) && len > ref_stack.back()->max_size()))
        {
            JSON_THROW(out_of_range::create(408, concat("excessive object size: ", std::to_string(len)), ref_stack.back()));
        }

        return true;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
movq 0x10(%rdi), %rax
subq 0x8(%rdi), %rax
shrq $0x3, %rax
movl %eax, -0x58(%rbp)
movb $0x0, -0x38(%rbp)
cmpq $0x0, 0x90(%rdi)
je 0x68ef9
movq %rsi, %r15
movq %rdi, %rbx
addq $0x80, %rdi
leaq 0xa8(%rbx), %rcx
leaq -0x58(%rbp), %r14
leaq -0x38(%rbp), %rdx
movq %r14, %rsi
callq *0x98(%rbx)
leaq 0x20(%rbx), %rdi
movzbl %al, %esi
callq 0x689a2
movb $0x1, (%r14)
leaq -0x58(%rbp), %rsi
movq %rbx, %rdi
movl $0x1, %edx
callq 0x697e8
movb %al, -0x68(%rbp)
movq %rdx, -0x60(%rbp)
movq 0x10(%rbx), %rsi
cmpq 0x18(%rbx), %rsi
je 0x68e4c
movq %rdx, (%rsi)
movq 0x10(%rbx), %rax
addq $0x8, %rax
movq %rax, 0x10(%rbx)
jmp 0x68e5d
leaq 0x8(%rbx), %rdi
leaq -0x60(%rbp), %rdx
callq 0x69ff0
movq 0x10(%rbx), %rax
cmpq $-0x1, %r15
je 0x68e8a
movq -0x8(%rax), %rax
testq %rax, %rax
je 0x68e8a
movzbl (%rax), %eax
movl $0x1, %ecx
cmpq $0x2, %rax
ja 0x68e85
leaq 0x1a05f(%rip), %rcx     # 0x82ee0
movq (%rcx,%rax,8), %rcx
cmpq %r15, %rcx
jb 0x68e97
movb $0x1, %al
addq $0x58, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0x1b250
movq %rax, %r14
leaq -0x38(%rbp), %rdi
movq %r15, %rsi
callq 0x69d17
leaq 0x18a8e(%rip), %rsi     # 0x81945
leaq -0x58(%rbp), %rdi
leaq -0x38(%rbp), %rdx
callq 0x69c9b
movq 0x10(%rbx), %rax
movq -0x8(%rax), %rcx
movb $0x1, %r15b
leaq -0x58(%rbp), %rdx
movq %r14, %rdi
movl $0x198, %esi            # imm = 0x198
callq 0x69afe
xorl %r15d, %r15d
leaq 0x40aee(%rip), %rsi     # 0xa99d8
leaq -0x11ff(%rip), %rdx     # 0x67cf2
movq %r14, %rdi
callq 0x1b8b0
callq 0x1b1b0
movq %rax, %rbx
leaq -0x48(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x68f13
callq 0x1b4d0
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x68f25
callq 0x1b4d0
testb %r15b, %r15b
jne 0x68f46
jmp 0x68f4e
movq %rax, %rbx
leaq -0x28(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x68f46
callq 0x1b4d0
jmp 0x68f46
movq %rax, %rbx
movq %r14, %rdi
callq 0x1b3c0
movq %rbx, %rdi
callq 0x1b910