// File: /workspace/github_cpp_makefile_star2_O1/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 0x1995e
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 0x992a0
movq 0x50(%r14), %r12
movq 0x60(%r14), %rsi
leaq 0x1(%r12), %rbp
decq %rsi
cmpq %rsi, %rbp
jae 0x1994c
movb $0x5c, (%rsp)
movq %rbp, %rdi
movq %rsp, %rdx
callq 0x1a28d
movq %rax, %r15
movq %rax, %r13
subq %rbp, %r13
je 0x19747
jbe 0x1973f
xorl %r12d, %r12d
movsbl (%rbp,%r12), %esi
movq %rbx, %rdi
callq 0x996c0
incq %r12
cmpq %r12, %r13
jne 0x19729
decq %r15
jmp 0x19891
leaq 0x2(%r12), %r15
movzbl 0x2(%r12), %eax
cmpl $0x61, %eax
jg 0x19776
cmpl $0x22, %eax
je 0x1979a
cmpl $0x2f, %eax
je 0x197a6
cmpl $0x5c, %eax
jne 0x19891
leaq 0xb2698(%rip), %rsi     # 0xcbe09
jmp 0x19889
leal -0x6e(%rax), %ecx
cmpl $0x7, %ecx
ja 0x197b2
leaq 0xb18bf(%rip), %rdx     # 0xcb044
movslq (%rdx,%rcx,4), %rax
addq %rdx, %rax
jmpq *%rax
leaq 0xb41bf(%rip), %rsi     # 0xcd954
jmp 0x19889
leaq 0xb266c(%rip), %rsi     # 0xcbe0d
jmp 0x19889
leaq 0xb265e(%rip), %rsi     # 0xcbe0b
jmp 0x19889
leaq 0xb264a(%rip), %rsi     # 0xcbe03
cmpl $0x62, %eax
je 0x19889
cmpl $0x66, %eax
jne 0x19891
leaq 0xb2633(%rip), %rsi     # 0xcbe05
jmp 0x19889
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 0x1981f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x1c120
movq %r13, %rax
andq $-0x400, %rax           # imm = 0xFC00
cmpq $0xd800, %rax           # imm = 0xD800
je 0x198a4
cmpq $0xdc00, %rax           # imm = 0xDC00
je 0x1999b
movq %rsp, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x1a080
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x9a6a0
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x19870
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x1c120
addq $0x6, %r12
jmp 0x19944
leaq 0xb2587(%rip), %rsi     # 0xcbe07
jmp 0x19889
leaq 0xb2578(%rip), %rsi     # 0xcbe01
movq %rbx, %rdi
callq 0x9a7e0
leaq 0x1(%r15), %rbp
movq 0x60(%r14), %rsi
decq %rsi
movq %r15, %r12
jmp 0x19701
leaq 0x8(%r12), %rax
cmpq 0x68(%r14), %rax
jae 0x1997d
cmpb $0x5c, 0x7(%r12)
jne 0x1997d
cmpb $0x75, (%rax)
jne 0x1997d
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 0x1990b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x1c120
movq %rsp, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x1a080
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x9a6a0
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x19940
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x1c120
addq $0xc, %r12
movq %r12, %r15
jmp 0x19891
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xb233b(%rip), %rdi     # 0xcbca0
leaq 0xb1999(%rip), %rsi     # 0xcb305
leaq 0xb2345(%rip), %rcx     # 0xcbcb8
movl $0x2b2b, %edx           # imm = 0x2B2B
callq 0x13130
movl $0x10, %edi
callq 0x1c400
movq %rax, %r15
leaq 0xb247e(%rip), %rsi     # 0xcbe0f
movq %rax, %rdi
callq 0x301c0
jmp 0x199b7
movl $0x10, %edi
callq 0x1c400
movq %rax, %r15
leaq 0xb2476(%rip), %rsi     # 0xcbe25
movq %rax, %rdi
callq 0x301c0
leaq 0xec4ea(%rip), %rsi     # 0x105ea8
leaq 0xc3bb(%rip), %rdx      # 0x25d80
movq %r15, %rdi
callq 0x1d450
jmp 0x199f0
jmp 0x199d5
jmp 0x19a05
jmp 0x19a05
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x19a08
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x1c120
jmp 0x19a08
movq %rax, %r14
movq %r15, %rdi
callq 0x1c460
jmp 0x19a08
jmp 0x19a05
jmp 0x19a05
jmp 0x19a05
jmp 0x19a05
movq %rax, %r14
movq (%rbx), %rdi
movq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x19a20
movq (%rax), %rsi
incq %rsi
callq 0x1c120
movq %r14, %rdi
callq 0xc7b30