// File: /workspace/github_cpp_makefile_star2_O3/Falldog[P]dcinja/src/include/nlohmann/json.hpp
// Function: nlohmann::json_pointer<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, std::vector<unsigned char, std::allocator<unsigned char>>>>::get_unchecked(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, std::vector<unsigned char, std::allocator<unsigned char>>>*) const
BasicJsonType& get_unchecked(BasicJsonType* ptr) const
    {
        for (const auto& reference_token : reference_tokens)
        {
            // convert null values to arrays or objects before continuing
            if (ptr->is_null())
            {
                // check if reference token is a number
                const bool nums =
                    std::all_of(reference_token.begin(), reference_token.end(),
                                [](const unsigned char x)
                {
                    return std::isdigit(x);
                });

                // change value to array for numbers or "-" or to object otherwise
                *ptr = (nums || reference_token == "-")
                       ? detail::value_t::array
                       : detail::value_t::object;
            }

            switch (ptr->type())
            {
                case detail::value_t::object:
                {
                    // use unchecked object access
                    ptr = &ptr->operator[](reference_token);
                    break;
                }

                case detail::value_t::array:
                {
                    if (reference_token == "-")
                    {
                        // explicitly treat "-" as index beyond the end
                        ptr = &ptr->operator[](ptr->m_value.array->size());
                    }
                    else
                    {
                        // convert array index to number; unchecked access
                        ptr = &ptr->operator[](array_index(reference_token));
                    }
                    break;
                }

                default:
                    JSON_THROW(detail::out_of_range::create(404, "unresolved reference token '" + reference_token + "'"));
            }
        }

        return *ptr;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r14
movq (%rdi), %rbx
movq 0x8(%rdi), %r13
cmpq %r13, %rbx
je 0x344f0
leaq 0x8(%rsp), %r12
leaq 0x215e0(%rip), %rbp     # 0x559c9
movb (%r14), %al
testb %al, %al
jne 0x34491
movq %rbp, %r15
movq (%rbx), %rdi
movq 0x8(%rbx), %rbp
addq %rdi, %rbp
movq %rbp, %rsi
callq 0x347ee
cmpq %rbp, %rax
je 0x34428
movq %rbx, %rdi
movq %r15, %rbp
movq %r15, %rsi
callq 0x90e0
cmpl $0x1, %eax
movl $0x0, %eax
adcb $0x1, %al
jmp 0x3442d
movb $0x2, %al
movq %r15, %rbp
movb %al, 0x8(%rsp)
movzbl %al, %esi
leaq 0x10(%rsp), %r15
movq %r15, %rdi
callq 0x2a06e
movq %r12, %rdi
callq 0x24080
movq %r12, %rdi
callq 0x24080
movb (%r14), %al
movb 0x8(%rsp), %cl
movb %cl, (%r14)
movb %al, 0x8(%rsp)
movq 0x8(%r14), %rax
movq 0x10(%rsp), %rcx
movq %rcx, 0x8(%r14)
movq %rax, 0x10(%rsp)
movq %r14, %rdi
callq 0x24080
movq %r12, %rdi
callq 0x24080
movzbl 0x8(%rsp), %esi
movq %r15, %rdi
callq 0x3bf6e
movb (%r14), %al
cmpb $0x2, %al
je 0x344aa
movzbl %al, %eax
cmpl $0x1, %eax
jne 0x34502
movq %r14, %rdi
movq %rbx, %rsi
callq 0xf01c
jmp 0x344e0
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x90e0
testl %eax, %eax
je 0x344c9
movq %rbx, %rdi
callq 0x33d6c
movq %r14, %rdi
movq %rax, %rsi
jmp 0x344db
movq 0x8(%r14), %rax
movq 0x8(%rax), %rsi
subq (%rax), %rsi
sarq $0x4, %rsi
movq %r14, %rdi
callq 0x34616
movq %rax, %r14
addq $0x20, %rbx
cmpq %r13, %rbx
jne 0x343e9
movq %r14, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0x91f0
movq %rax, %r14
leaq 0x2451b(%rip), %rsi     # 0x58a31
leaq 0x18(%rsp), %rdi
movq %rbx, %rdx
callq 0x1254c
leaq 0x2395c(%rip), %rsi     # 0x57e86
leaq 0x18(%rsp), %rdi
callq 0x9820
leaq 0x48(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x34555
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x34562
movq %rdx, 0x38(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x48(%rsp)
movq 0x8(%rax), %rsi
leaq 0x38(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movb $0x1, %bpl
movq %r14, %rdi
movl $0x194, %esi            # imm = 0x194
callq 0x2670e
xorl %ebp, %ebp
leaq 0x429d1(%rip), %rsi     # 0x76f68
leaq -0xa448(%rip), %rdx     # 0x2a156
movq %r14, %rdi
callq 0x9750
movq %rax, %rbx
movq 0x38(%rsp), %rdi
cmpq %r15, %rdi
je 0x345c0
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x93c0
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x345db
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x93c0
testb %bpl, %bpl
jne 0x34605
jmp 0x3460d
movq %rax, %rbx
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x34605
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x93c0
jmp 0x34605
movq %rax, %rbx
movq %r14, %rdi
callq 0x92e0
movq %rbx, %rdi
callq 0x9790
nop