// File: /workspace/github_cpp_makefile_star2_O3/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
movb (%rdi), %al
testb %al, %al
jne 0x9285
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 0xd118
movb (%r14), %al
cmpb $0x2, %al
jne 0x9321
movq 0x8(%r14), %r15
movq (%r15), %rax
movq 0x8(%r15), %r12
movq %r12, %rcx
subq %rax, %rcx
sarq $0x4, %rcx
cmpq %rbx, %rcx
ja 0x9308
movq %rbx, %r13
subq %rcx, %r13
incq %r13
leaq 0x8(%rsp), %rbp
movb $0x0, (%rbp)
movq $0x0, 0x8(%rbp)
movq %rbp, %rdi
callq 0xd118
movq %rbp, %rdi
callq 0xd118
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
movq %rbp, %rcx
callq 0xe09e
leaq 0x10(%rsp), %r15
leaq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0xd118
movzbl (%r12), %esi
movq %r15, %rdi
callq 0xd1ba
movq 0x8(%r14), %rax
movq (%rax), %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 0x9345
leaq 0x49779(%rip), %rcx     # 0x52ab8
movq (%rcx,%rax,8), %r14
jmp 0x934c
leaq 0x341a9(%rip), %r14     # 0x3d4f5
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 0xa960
leaq 0x341c1(%rip), %rsi     # 0x3d536
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0xbd1e
movb $0x1, %bpl
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
movl $0x131, %esi            # imm = 0x131
callq 0xbb5e
xorl %ebp, %ebp
leaq 0x49496(%rip), %rsi     # 0x52838
leaq 0x84e9(%rip), %rdx      # 0x11892
movq %rbx, %rdi
callq 0x56b0
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x907c
jmp 0x9423
movq %rax, %r14
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x93de
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x53a0
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x93f5
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x53a0
testb %bpl, %bpl
jne 0x941b
jmp 0x9423
movq %rax, %r14
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x941b
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x53a0
jmp 0x941b
movq %rax, %r14
movq %rbx, %rdi
callq 0x52d0
movq %r14, %rdi
callq 0x56e0
nop