// File: 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_array(unsigned long)
bool start_array(std::size_t len)
    {
        const bool keep = callback(static_cast<int>(ref_stack.size()), parse_event_t::array_start, discarded);
        keep_stack.push_back(keep);

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

        // check array 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 array size: ", std::to_string(len)), ref_stack.back()));
        }

        return true;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x88(%rbp)
movq %rdi, %rax
addq $0x80, %rax
movq %rax, -0x90(%rbp)
addq $0x8, %rdi
callq 0x11d010
movq -0x90(%rbp), %rdi
movq -0x88(%rbp), %rcx
movl %eax, %esi
addq $0xa8, %rcx
movl $0x2, %edx
callq 0x11cfc0
movq -0x88(%rbp), %rdi
andb $0x1, %al
movb %al, -0x11(%rbp)
addq $0x20, %rdi
movb -0x11(%rbp), %al
andb $0x1, %al
movzbl %al, %esi
callq 0x11a060
movq -0x88(%rbp), %rdi
movb $0x2, -0x29(%rbp)
leaq -0x29(%rbp), %rsi
movl $0x1, %edx
callq 0x11d030
movq -0x88(%rbp), %rdi
movb %al, -0x28(%rbp)
movq %rdx, -0x20(%rbp)
addq $0x8, %rdi
leaq -0x28(%rbp), %rsi
addq $0x8, %rsi
callq 0x11d550
movq -0x88(%rbp), %rdi
addq $0x8, %rdi
callq 0x11d5c0
cmpq $0x0, (%rax)
je 0x11c806
xorl %eax, %eax
cmpq $-0x1, -0x10(%rbp)
movb %al, -0x91(%rbp)
je 0x11c71f
movq -0x88(%rbp), %rdi
movq -0x10(%rbp), %rax
movq %rax, -0xa0(%rbp)
addq $0x8, %rdi
callq 0x11d5c0
movq (%rax), %rdi
callq 0x11d600
movq %rax, %rcx
movq -0xa0(%rbp), %rax
cmpq %rcx, %rax
seta %al
movb %al, -0x91(%rbp)
movb -0x91(%rbp), %al
xorb $-0x1, %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x11c732
jmp 0x11c806
movb $0x1, -0x7d(%rbp)
movl $0x20, %edi
callq 0x52380
movq %rax, -0xa8(%rbp)
movq -0x10(%rbp), %rsi
leaq -0x70(%rbp), %rdi
callq 0x11d8d0
jmp 0x11c756
leaq 0x2af89(%rip), %rsi     # 0x1476e6
leaq -0x50(%rbp), %rdi
leaq -0x70(%rbp), %rdx
callq 0x126290
jmp 0x11c76c
movq -0x88(%rbp), %rdi
addq $0x8, %rdi
callq 0x11d5c0
movq -0xa8(%rbp), %rdi
movq (%rax), %rcx
movl $0x198, %esi            # imm = 0x198
leaq -0x50(%rbp), %rdx
callq 0x11d680
jmp 0x11c796
movq -0xa8(%rbp), %rdi
movb $0x0, -0x7d(%rbp)
leaq 0xa4250(%rip), %rsi     # 0x1c09f8
leaq 0x551(%rip), %rdx       # 0x11cd00
callq 0x52c20
jmp 0x11c81c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
jmp 0x11c7f0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
jmp 0x11c7e7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x52e58
leaq -0x70(%rbp), %rdi
callq 0x52e58
testb $0x1, -0x7d(%rbp)
jne 0x11c7f8
jmp 0x11c804
movq -0xa8(%rbp), %rdi
callq 0x52540
jmp 0x11c813
movb $0x1, %al
andb $0x1, %al
addq $0xb0, %rsp
popq %rbp
retq
movq -0x78(%rbp), %rdi
callq 0x52c90
nopl (%rax)