// File: 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
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x98(%rbp)
callq 0x1b300
testb $0x1, %al
jne 0xb499
jmp 0xb4b8
movq -0x98(%rbp), %rax
movb $0x2, (%rax)
callq 0x19b60
movq -0x98(%rbp), %rdi
movq %rax, 0x8(%rdi)
callq 0x17ae0
movq -0x98(%rbp), %rdi
callq 0x18420
xorb $-0x1, %al
xorb $-0x1, %al
testb $0x1, %al
jne 0xb4d1
jmp 0xb5e1
movq -0x98(%rbp), %rax
movq -0x10(%rbp), %rcx
movq %rcx, -0xa0(%rbp)
movq 0x8(%rax), %rdi
callq 0x18170
movq %rax, %rcx
movq -0xa0(%rbp), %rax
cmpq %rcx, %rax
jb 0xb5c4
movq -0x98(%rbp), %rax
movq 0x8(%rax), %rdi
movq %rdi, -0xc0(%rbp)
callq 0x15e40
movq %rax, -0x20(%rbp)
leaq -0x18(%rbp), %rdi
leaq -0x20(%rbp), %rsi
callq 0x1d2b0
movq -0x98(%rbp), %rax
movq -0x10(%rbp), %rcx
movq %rcx, -0xc8(%rbp)
movq 0x8(%rax), %rdi
callq 0x18170
movq %rax, %rcx
movq -0xc8(%rbp), %rax
subq %rcx, %rax
incq %rax
movq %rax, -0xb8(%rbp)
xorl %eax, %eax
movl %eax, %esi
leaq -0x30(%rbp), %rdi
movq %rdi, -0xb0(%rbp)
callq 0xadd0
movq -0xc0(%rbp), %rdi
movq -0xb8(%rbp), %rdx
movq -0xb0(%rbp), %rcx
movq -0x18(%rbp), %rsi
callq 0x1d210
movq %rax, -0xa8(%rbp)
jmp 0xb594
movq -0xa8(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq -0x30(%rbp), %rdi
callq 0xb110
jmp 0xb5c4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x30(%rbp), %rdi
callq 0xb110
jmp 0xb6f0
movq -0x98(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x10(%rbp), %rsi
callq 0x1d2f0
addq $0xe0, %rsp
popq %rbp
retq
movb $0x1, -0x8a(%rbp)
movl $0x20, %edi
callq 0x62a0
movq -0x98(%rbp), %rdi
movq %rax, -0xe0(%rbp)
callq 0x1b400
movq %rax, -0xd8(%rbp)
leaq -0x89(%rbp), %rdi
movq %rdi, -0xd0(%rbp)
callq 0x68a0
movq -0xd8(%rbp), %rsi
movq -0xd0(%rbp), %rdx
leaq -0x88(%rbp), %rdi
callq 0xc020
jmp 0xb63b
leaq 0x7496c(%rip), %rsi     # 0x7ffae
leaq -0x68(%rbp), %rdi
leaq -0x88(%rbp), %rdx
callq 0x150c0
jmp 0xb654
movq -0xe0(%rbp), %rdi
movl $0x131, %esi            # imm = 0x131
leaq -0x68(%rbp), %rdx
callq 0x14ed0
jmp 0xb66b
movq -0xe0(%rbp), %rdi
movb $0x0, -0x8a(%rbp)
leaq 0xa52b8(%rip), %rsi     # 0xb0938
leaq 0x9b69(%rip), %rdx      # 0x151f0
callq 0x6850
jmp 0xb6f9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0xb6cb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0xb6bf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x6340
leaq -0x88(%rbp), %rdi
callq 0x6340
leaq -0x89(%rbp), %rdi
callq 0x6530
testb $0x1, -0x8a(%rbp)
jne 0xb6e2
jmp 0xb6ee
movq -0xe0(%rbp), %rdi
callq 0x63a0
jmp 0xb6f0
movq -0x38(%rbp), %rdi
callq 0x6890
nopl (%rax)