// 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>* nlohmann::detail::json_sax_dom_parser<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>>::handle_value<double&>(double&)
JSON_HEDLEY_RETURNS_NON_NULL
    BasicJsonType* handle_value(Value&& v)
    {
        if (ref_stack.empty())
        {
            root = BasicJsonType(std::forward<Value>(v));
            return &root;
        }

        assert(ref_stack.back()->is_array() or ref_stack.back()->is_object());

        if (ref_stack.back()->is_array())
        {
            ref_stack.back()->m_value.array->emplace_back(std::forward<Value>(v));
            return &(ref_stack.back()->m_value.array->back());
        }

        assert(ref_stack.back()->is_object());
        assert(object_element);
        *object_element = BasicJsonType(std::forward<Value>(v));
        return object_element;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x10(%rdi), %rax
cmpq %rax, 0x8(%rdi)
je 0x16a81
movq -0x8(%rax), %rax
movzbl (%rax), %ecx
cmpl $0x1, %ecx
je 0x16b0b
cmpl $0x2, %ecx
jne 0x16ba9
movq 0x8(%rax), %rdi
callq 0x16be8
movq 0x10(%rbx), %rax
movq -0x8(%rax), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rax
addq $-0x10, %rax
jmp 0x16b9d
leaq 0x20(%rsp), %r14
movb $0x0, -0x8(%r14)
movq $0x0, (%r14)
movsd (%rsi), %xmm0
movb $0x7, -0x8(%r14)
movsd %xmm0, (%rsp)
movq (%rsp), %rax
movq %rax, (%r14)
leaq 0x18(%rsp), %r15
movq %r15, %rdi
callq 0xd52a
movq %r15, %rdi
callq 0xd52a
movq (%rbx), %r12
movq %r15, %rdi
callq 0xd52a
movb (%r12), %al
movb (%r15), %cl
movb %cl, (%r12)
movb %al, (%r15)
movq 0x8(%r12), %rax
movq 0x8(%r15), %rcx
movq %rcx, 0x8(%r12)
movq %rax, 0x8(%r15)
movq %r12, %rdi
callq 0xd52a
movq %r15, %rdi
callq 0xd52a
movzbl (%r15), %esi
movq %r14, %rdi
callq 0xd5cc
movq (%rbx), %rax
jmp 0x16b9d
cmpq $0x0, 0x20(%rbx)
je 0x16bc8
leaq 0x10(%rsp), %r14
movb $0x0, -0x8(%r14)
movq $0x0, (%r14)
movsd (%rsi), %xmm0
movb $0x7, -0x8(%r14)
movsd %xmm0, (%rsp)
movq (%rsp), %rax
movq %rax, (%r14)
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0xd52a
movq %r15, %rdi
callq 0xd52a
movq 0x20(%rbx), %r12
movq %r15, %rdi
callq 0xd52a
movb (%r12), %al
movb (%r15), %cl
movb %cl, (%r12)
movb %al, (%r15)
movq 0x8(%r12), %rax
movq 0x8(%r15), %rcx
movq %rcx, 0x8(%r12)
movq %rax, 0x8(%r15)
movq %r12, %rdi
callq 0xd52a
movq %r15, %rdi
callq 0xd52a
movzbl (%r15), %esi
movq %r14, %rdi
callq 0xd5cc
movq 0x20(%rbx), %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x28c28(%rip), %rdi     # 0x3f7d8
leaq 0x26c46(%rip), %rsi     # 0x3d7fd
leaq 0x29976(%rip), %rcx     # 0x40534
movl $0x1201, %edx           # imm = 0x1201
callq 0x5280
leaq 0x28c62(%rip), %rdi     # 0x3f831
leaq 0x26c27(%rip), %rsi     # 0x3d7fd
leaq 0x29957(%rip), %rcx     # 0x40534
movl $0x120a, %edx           # imm = 0x120A
callq 0x5280
nop