// 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>::lexer::get_string() const
string_t get_string() const
        {
            assert(m_cursor - m_start >= 2);

            string_t result;
            result.reserve(static_cast<size_t>(m_cursor - m_start - 2));

            // iterate the result between the quotes
            for (const lexer_char_t* i = m_start + 1; i < m_cursor - 1; ++i)
            {
                // find next escape character
                auto e = std::find(i, m_cursor - 1, '\\');
                if (e != i)
                {
                    // see https://github.com/nlohmann/json/issues/365#issuecomment-262874705
                    for (auto k = i; k < e; k++)
                    {
                        result.push_back(static_cast<typename string_t::value_type>(*k));
                    }
                    i = e - 1; // -1 because of ++i
                }
                else
                {
                    // processing escaped character
                    // read next character
                    ++i;

                    switch (*i)
                    {
                        // the default escapes
                        case 't':
                        {
                            result += "\t";
                            break;
                        }
                        case 'b':
                        {
                            result += "\b";
                            break;
                        }
                        case 'f':
                        {
                            result += "\f";
                            break;
                        }
                        case 'n':
                        {
                            result += "\n";
                            break;
                        }
                        case 'r':
                        {
                            result += "\r";
                            break;
                        }
                        case '\\':
                        {
                            result += "\\";
                            break;
                        }
                        case '/':
                        {
                            result += "/";
                            break;
                        }
                        case '"':
                        {
                            result += "\"";
                            break;
                        }

                        // unicode
                        case 'u':
                        {
                            // get code xxxx from uxxxx
                            auto codepoint = std::strtoul(std::string(reinterpret_cast<typename string_t::const_pointer>(i + 1),
                                                          4).c_str(), nullptr, 16);

                            // check if codepoint is a high surrogate
                            if (codepoint >= 0xD800 and codepoint <= 0xDBFF)
                            {
                                // make sure there is a subsequent unicode
                                if ((i + 6 >= m_limit) or * (i + 5) != '\\' or * (i + 6) != 'u')
                                {
                                    JSON_THROW(std::invalid_argument("missing low surrogate"));
                                }

                                // get code yyyy from uxxxx\uyyyy
                                auto codepoint2 = std::strtoul(std::string(reinterpret_cast<typename string_t::const_pointer>
                                                               (i + 7), 4).c_str(), nullptr, 16);
                                result += to_unicode(codepoint, codepoint2);
                                // skip the next 10 characters (xxxx\uyyyy)
                                i += 10;
                            }
                            else if (codepoint >= 0xDC00 and codepoint <= 0xDFFF)
                            {
                                // we found a lone low surrogate
                                JSON_THROW(std::invalid_argument("missing high surrogate"));
                            }
                            else
                            {
                                // add unicode character(s)
                                result += to_unicode(codepoint);
                                // skip the next four characters (xxxx)
                                i += 4;
                            }
                            break;
                        }
                    }
                }
            }

            return result;
        }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq 0x60(%rsi), %rsi
subq 0x50(%r14), %rsi
cmpq $0x1, %rsi
jle 0x1983a
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, 0x20(%rsp)
movq %rax, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
addq $-0x2, %rsi
callq 0x99240
movq 0x50(%r14), %r12
movq 0x60(%r14), %rsi
leaq 0x1(%r12), %rbp
decq %rsi
cmpq %rsi, %rbp
jae 0x19828
movb $0x5c, (%rsp)
movq %rbp, %rdi
movq %rsp, %rdx
callq 0x1a1cc
movq %rax, %r15
movq %rax, %r13
subq %rbp, %r13
je 0x19623
jbe 0x1961b
xorl %r12d, %r12d
movsbl (%rbp,%r12), %esi
movq %rbx, %rdi
callq 0x99660
incq %r12
cmpq %r12, %r13
jne 0x19605
decq %r15
jmp 0x1976d
leaq 0x2(%r12), %r15
movzbl 0x2(%r12), %eax
cmpl $0x61, %eax
jg 0x19652
cmpl $0x22, %eax
je 0x19676
cmpl $0x2f, %eax
je 0x19682
cmpl $0x5c, %eax
jne 0x1976d
leaq 0xb27bc(%rip), %rsi     # 0xcbe09
jmp 0x19765
leal -0x6e(%rax), %ecx
cmpl $0x7, %ecx
ja 0x1968e
leaq 0xb19e3(%rip), %rdx     # 0xcb044
movslq (%rdx,%rcx,4), %rax
addq %rdx, %rax
jmpq *%rax
leaq 0xb42e3(%rip), %rsi     # 0xcd954
jmp 0x19765
leaq 0xb2790(%rip), %rsi     # 0xcbe0d
jmp 0x19765
leaq 0xb2782(%rip), %rsi     # 0xcbe0b
jmp 0x19765
leaq 0xb276e(%rip), %rsi     # 0xcbe03
cmpl $0x62, %eax
je 0x19765
cmpl $0x66, %eax
jne 0x1976d
leaq 0xb2757(%rip), %rsi     # 0xcbe05
jmp 0x19765
leaq 0x10(%rsp), %r15
movq %r15, (%rsp)
movl 0x3(%r12), %eax
movl %eax, 0x10(%rsp)
movq $0x4, 0x8(%rsp)
movb $0x0, 0x14(%rsp)
movq %r15, %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x13590
movq %rax, %r13
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x196fb
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x1c0c0
movq %r13, %rax
andq $-0x400, %rax           # imm = 0xFC00
cmpq $0xd800, %rax           # imm = 0xD800
je 0x19780
cmpq $0xdc00, %rax           # imm = 0xDC00
je 0x19877
movq %rsp, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x19f8c
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x9a640
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x1974c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x1c0c0
addq $0x6, %r12
jmp 0x19820
leaq 0xb26ab(%rip), %rsi     # 0xcbe07
jmp 0x19765
leaq 0xb269c(%rip), %rsi     # 0xcbe01
movq %rbx, %rdi
callq 0x9a780
leaq 0x1(%r15), %rbp
movq 0x60(%r14), %rsi
decq %rsi
movq %r15, %r12
jmp 0x195dd
leaq 0x8(%r12), %rax
cmpq 0x68(%r14), %rax
jae 0x19859
cmpb $0x5c, 0x7(%r12)
jne 0x19859
cmpb $0x75, (%rax)
jne 0x19859
movq %r15, (%rsp)
movl 0x9(%r12), %eax
movl %eax, 0x10(%rsp)
movq $0x4, 0x8(%rsp)
movb $0x0, 0x14(%rsp)
movq %r15, %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x13590
movq %rax, %rbp
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x197e7
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x1c0c0
movq %rsp, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x19f8c
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x9a640
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x1981c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x1c0c0
addq $0xc, %r12
movq %r12, %r15
jmp 0x1976d
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xb245f(%rip), %rdi     # 0xcbca0
leaq 0xb1abd(%rip), %rsi     # 0xcb305
leaq 0xb2469(%rip), %rcx     # 0xcbcb8
movl $0x2b2b, %edx           # imm = 0x2B2B
callq 0x13130
movl $0x10, %edi
callq 0x1c3a0
movq %rax, %r15
leaq 0xb25a2(%rip), %rsi     # 0xcbe0f
movq %rax, %rdi
callq 0x30160
jmp 0x19893
movl $0x10, %edi
callq 0x1c3a0
movq %rax, %r15
leaq 0xb259a(%rip), %rsi     # 0xcbe25
movq %rax, %rdi
callq 0x30160
leaq 0xec60e(%rip), %rsi     # 0x105ea8
leaq 0xc47f(%rip), %rdx      # 0x25d20
movq %r15, %rdi
callq 0x1d3f0
jmp 0x198cc
jmp 0x198b1
jmp 0x198e1
jmp 0x198e1
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x198e4
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x1c0c0
jmp 0x198e4
movq %rax, %r14
movq %r15, %rdi
callq 0x1c400
jmp 0x198e4
jmp 0x198e1
jmp 0x198e1
jmp 0x198e1
jmp 0x198e1
movq %rax, %r14
movq (%rbx), %rdi
movq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x198fc
movq (%rax), %rsi
incq %rsi
callq 0x1c0c0
movq %r14, %rdi
callq 0xc7ad0