// File: /workspace/github_cpp_makefile_star2_O3/mattn[P]wandbox-run/./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::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>::parse<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, 0>(__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, __gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::function<bool (int, 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>::parse_event_t, 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>&)>)
static basic_json parse(IteratorType first, IteratorType last,
                            const parser_callback_t cb = nullptr)
    {
        // assertion to check that the iterator range is indeed contiguous,
        // see http://stackoverflow.com/a/35008842/266378 for more discussion
        assert(std::accumulate(first, last, std::pair<bool, int>(true, 0),
                               [&first](std::pair<bool, int> res, decltype(*first) val)
        {
            res.first &= (val == *(std::next(std::addressof(*first), res.second++)));
            return res;
        }).first);

        // assertion to check that each element is 1 byte long
        static_assert(sizeof(typename std::iterator_traits<IteratorType>::value_type) == 1,
                      "each element in the iterator range must have the size of 1 byte");

        // if iterator range is empty, create a parser with an empty string
        // to generate "unexpected EOF" error message
        if (std::distance(first, last) <= 0)
        {
            return parser("").parse();
        }

        return parser(first, last, cb).parse();
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
cmpq %rdx, %rsi
je 0x177f6
movl $0x1, %edi
movabsq $-0x100000000, %rax     # imm = 0xFFFFFFFF00000000
movabsq $0x100000000, %rdx      # imm = 0x100000000
movq %r15, %rsi
movb (%rsi), %r8b
movq %rdi, %r9
sarq $0x20, %r9
cmpb (%r15,%r9), %r8b
sete %r8b
andb %dil, %r8b
andq %rax, %rdi
movzbl %r8b, %r9d
orq %rdi, %r9
addq %rdx, %r9
incq %rsi
movq %r9, %rdi
cmpq %r14, %rsi
jne 0x177c0
testb %r8b, %r8b
je 0x17961
movq %r14, %rax
subq %r15, %rax
testq %rax, %rax
jle 0x178b2
leaq 0x20(%rsp), %r12
movq %r12, %rdi
movq %rcx, %rsi
callq 0x179f0
leaq 0x40(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %r12, %rcx
callq 0x17b8c
leaq 0x40(%rsp), %rsi
movq %rbx, %rdi
callq 0x17a8a
leaq 0xa8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x17856
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x1c0c0
leaq 0x88(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x17877
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x1c0c0
movq 0x58(%rsp), %rax
testq %rax, %rax
je 0x17890
leaq 0x48(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x30(%rsp), %rax
testq %rax, %rax
je 0x1794f
leaq 0x20(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x1794f
xorps %xmm0, %xmm0
movq %rsp, %rdx
movaps %xmm0, (%rdx)
movaps %xmm0, 0x10(%rdx)
leaq 0xb453e(%rip), %rsi     # 0xcbe04
leaq 0x40(%rsp), %rdi
callq 0x17a4e
leaq 0x40(%rsp), %rsi
movq %rbx, %rdi
callq 0x17a8a
leaq 0xa8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x178fe
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x1c0c0
leaq 0x88(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1791f
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x1c0c0
movq 0x58(%rsp), %rax
testq %rax, %rax
je 0x17938
leaq 0x48(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x1794f
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq %rbx, %rax
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0xb38c7(%rip), %rdi     # 0xcb22f
leaq 0xb3996(%rip), %rsi     # 0xcb305
leaq 0xb399a(%rip), %rcx     # 0xcb310
movl $0x1b2a, %edx           # imm = 0x1B2A
callq 0x13130
jmp 0x179e8
jmp 0x179e8
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x17b34
jmp 0x17996
movq %rax, %rbx
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x179e0
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x179e0
jmp 0x179e8
jmp 0x179e8
jmp 0x179e8
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x17b34
jmp 0x179c7
movq %rax, %rbx
movq 0x30(%rsp), %rax
testq %rax, %rax
je 0x179e0
leaq 0x20(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq %rbx, %rdi
callq 0xc7ad0
movq %rax, %rdi
callq 0x1777d