// File: /workspace/github_cpp_makefile_star2_O2/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, %r12
movq (%rdi), %rbx
movq 0x8(%rdi), %r13
leaq 0x48(%rsp), %r14
leaq 0x1d0a9(%rip), %r15     # 0x46971
cmpq %r13, %rbx
je 0x2997b
movb (%r12), %al
testb %al, %al
jne 0x2991f
movq (%rbx), %rdi
movq 0x8(%rbx), %rsi
addq %rdi, %rsi
callq 0x29a28
movl %eax, %ecx
movb $0x2, %al
testb %cl, %cl
jne 0x298fd
movq %rbx, %rdi
movq %r15, %rsi
callq 0xc160
incb %al
movzbl %al, %esi
movq %r14, %rdi
callq 0x1d7d8
movq %r12, %rdi
movq %r14, %rsi
callq 0xceca
movq %r14, %rdi
callq 0xccf0
movb (%r12), %al
cmpb $0x2, %al
je 0x29938
movzbl %al, %eax
cmpl $0x1, %eax
jne 0x2998d
movq %r12, %rdi
movq %rbx, %rsi
callq 0xcde4
jmp 0x2996f
movq %rbx, %rdi
movq %r15, %rsi
callq 0xc160
testb %al, %al
je 0x2995c
movq 0x8(%r12), %rax
movq 0x8(%rax), %rsi
subq (%rax), %rsi
sarq $0x4, %rsi
movq %r12, %rdi
jmp 0x2996a
movq %rbx, %rdi
callq 0x293de
movq %r12, %rdi
movq %rax, %rsi
callq 0x29a3a
movq %rax, %r12
addq $0x20, %rbx
jmp 0x298c8
movq %r12, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x20
popq %rdi
callq 0x9200
movq %rax, %r14
leaq 0x201df(%rip), %rsi     # 0x49b7e
leaq 0x8(%rsp), %rdi
movq %rbx, %rdx
callq 0xfdb9
leaq 0x1f47b(%rip), %rdx     # 0x48e2e
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1093d
movb $0x1, %bpl
leaq 0x28(%rsp), %rdx
movq %r14, %rdi
movl $0x194, %esi            # imm = 0x194
callq 0x1ed9e
xorl %ebp, %ebp
leaq 0x47588(%rip), %rsi     # 0x70f68
leaq -0x7f91(%rip), %rdx     # 0x21a56
movq %r14, %rdi
callq 0x9760
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x9898
jmp 0x29a04
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x8(%rsp), %rdi
callq 0x9898
testb %bpl, %bpl
jne 0x29a18
jmp 0x29a20
movq %rax, %rbx
movq %r14, %rdi
callq 0x9320
movq %rbx, %rdi
callq 0x97a0