// File: /workspace/github_cpp_makefile_star2_O1/harry830622[P]floorplanner/src/././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>::basic_json(std::initializer_list<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>>, bool, nlohmann::detail::value_t)
basic_json(std::initializer_list<basic_json> init,
               bool type_deduction = true,
               value_t manual_type = value_t::array)
    {
        // check if each element is an array with two elements whose first
        // element is a string
        bool is_an_object = std::all_of(init.begin(), init.end(),
                                        [](const basic_json & element)
        {
            return element.is_array() and element.size() == 2 and element[0].is_string();
        });

        // adjust type if type deduction is not wanted
        if (not type_deduction)
        {
            // if array is wanted, do not create an object though possible
            if (manual_type == value_t::array)
            {
                is_an_object = false;
            }

            // if object is wanted but impossible, throw an exception
            if (manual_type == value_t::object and not is_an_object)
            {
                JSON_THROW(std::domain_error("cannot create object from initializer list"));
            }
        }

        if (is_an_object)
        {
            // the initializer list is a list of pairs -> create object
            m_type = value_t::object;
            m_value = value_t::object;

            std::for_each(init.begin(), init.end(), [this](const basic_json & element)
            {
                m_value.object->emplace(*(element[0].m_value.string), element[1]);
            });
        }
        else
        {
            // the initializer list describes an array -> create array
            m_type = value_t::array;
            m_value.array = create<array_t>(init);
        }

        assert_invariant();
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movl %r8d, %ebp
movl %ecx, %r14d
movq %rdx, %r15
movq %rdi, %rbx
movq %rsi, 0x8(%rsp)
movq %rdx, 0x10(%rsp)
movb $0x0, (%rdi)
movq $0x0, 0x8(%rdi)
shlq $0x4, %r15
addq %rsi, %r15
movq %rsi, %rdi
movq %r15, %rsi
callq 0xf019
xorl %ecx, %ecx
cmpq %r15, %rax
sete %al
testl %r14d, %r14d
jne 0xe1c9
xorl %edx, %edx
cmpb $0x2, %bpl
movb %al, %cl
cmovel %edx, %ecx
movl %ecx, %eax
cmpb $0x1, %bpl
jne 0xe1c9
testb %al, %al
je 0xe23f
testb %al, %al
je 0xe21b
movb $0x1, (%rbx)
movl $0x30, %edi
callq 0x6380
leaq 0x8(%rax), %rcx
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, (%rax)
movq %rcx, 0x18(%rax)
movq %rcx, 0x20(%rax)
movq $0x0, 0x28(%rax)
movq %rax, 0x8(%rbx)
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rsi
shlq $0x4, %rsi
addq %rdi, %rsi
movq %rbx, %rdx
callq 0xef73
jmp 0xe22c
movb $0x2, (%rbx)
leaq 0x8(%rsp), %rdi
callq 0xefce
movq %rax, 0x8(%rbx)
movq %rbx, %rdi
callq 0xe608
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x61b0
movq %rax, %rbx
leaq 0x133e0(%rip), %rsi     # 0x21633
movq %rax, %rdi
callq 0x6210
movq 0x1ecfe(%rip), %rsi     # 0x2cf60
movq 0x1ed27(%rip), %rdx     # 0x2cf90
movq %rbx, %rdi
callq 0x6610
movq %rax, %r14
movq %rbx, %rdi
callq 0x62a0
movq %r14, %rdi
callq 0x6640