// File: /workspace/github_cpp_makefile_star2_O1/Konano[P]UselessDatabase/./json.hpp
// Function: 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>::operator[](unsigned long)
reference operator[](size_type idx)
    {
        // implicitly convert null value to an empty array
        if (is_null())
        {
            m_type = value_t::array;
            m_value.array = create<array_t>();
            assert_invariant();
        }

        // operator[] only works for arrays
        if (JSON_HEDLEY_LIKELY(is_array()))
        {
            // fill up array with null values if given idx is outside range
            if (idx >= m_value.array->size())
            {
                m_value.array->insert(m_value.array->end(),
                                      idx - m_value.array->size() + 1,
                                      basic_json());
            }

            return m_value.array->operator[](idx);
        }

        JSON_THROW(type_error::create(305, "cannot use operator[] with a numeric argument with " + std::string(type_name())));
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
movq %rdi, %r14
cmpb $0x0, (%rdi)
jne 0x934f
movb $0x2, (%r14)
movl $0x18, %edi
callq 0x5390
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq $0x0, 0x10(%rax)
movq %rax, 0x8(%r14)
movq %r14, %rdi
callq 0xd52a
cmpb $0x2, (%r14)
jne 0x93e7
movq 0x8(%r14), %r15
movq 0x8(%r15), %r12
movq %r12, %rax
subq (%r15), %rax
sarq $0x4, %rax
cmpq %rbx, %rax
ja 0x93ca
movq %rbx, %r13
subq %rax, %r13
incq %r13
leaq 0x8(%rsp), %rbp
movb $0x0, (%rbp)
movq $0x0, 0x8(%rbp)
movq %rbp, %rdi
callq 0xd52a
movq %rbp, %rdi
callq 0xd52a
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
movq %rbp, %rcx
callq 0xe482
leaq 0x10(%rsp), %r15
leaq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0xd52a
movzbl (%r12), %esi
movq %r15, %rdi
callq 0xd5cc
movq 0x8(%r14), %rax
shlq $0x4, %rbx
addq (%rax), %rbx
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0x5210
movq %rax, %rbx
movzbl (%r14), %eax
cmpq $0x8, %rax
ja 0x940b
leaq 0x4a6b3(%rip), %rcx     # 0x53ab8
movq (%rcx,%rax,8), %r14
jmp 0x9412
leaq 0x350e6(%rip), %r14     # 0x3e4f8
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
movq %r14, %rdi
callq 0x51f0
leaq (%rax,%r14), %rdx
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
callq 0xaccc
leaq 0x350fe(%rip), %rsi     # 0x3e539
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0xc0ee
movb $0x1, %bpl
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
movl $0x131, %esi            # imm = 0x131
callq 0xbf2e
xorl %ebp, %ebp
leaq 0x4a3d0(%rip), %rsi     # 0x53838
leaq 0x899d(%rip), %rdx      # 0x11e0c
movq %rbx, %rdi
callq 0x56b0
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x915e
jmp 0x94d8
movq %rax, %r14
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x94ac
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x53a0
jmp 0x94ac
movq %rax, %r14
movb $0x1, %bpl
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x94cb
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x53a0
jmp 0x94cb
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x94d8
movq %rbx, %rdi
callq 0x52d0
movq %r14, %rdi
callq 0x56e0