// File: /workspace/github_cpp_makefile_star2_O2/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 0x18cf8
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
addq $-0x2, %rsi
callq 0x98410
movq 0x50(%r14), %r12
leaq 0x8(%rsp), %r15
leaq 0x1(%r12), %r13
movq 0x60(%r14), %rsi
decq %rsi
cmpq %rsi, %r13
jae 0x18cca
movq %r12, %rbp
movb $0x5c, 0x8(%rsp)
movq %r13, %rdi
movq %r15, %rdx
callq 0x1959c
movq %rax, %r12
cmpq %r13, %rax
je 0x18b2c
cmpq %r12, %r13
jae 0x18b27
movsbl (%r13), %esi
movq %rbx, %rdi
callq 0x98830
incq %r13
jmp 0x18b10
decq %r12
jmp 0x18ae0
leaq 0x2(%rbp), %r12
movzbl 0x2(%rbp), %eax
leal -0x6e(%rax), %ecx
cmpl $0x7, %ecx
jbe 0x18b7c
cmpl $0x22, %eax
je 0x18c2d
cmpl $0x2f, %eax
je 0x18c3f
cmpl $0x5c, %eax
je 0x18c36
leaq 0xb22a5(%rip), %rsi     # 0xcae03
cmpl $0x62, %eax
je 0x18c46
cmpl $0x66, %eax
jne 0x18ae0
leaq 0xb228e(%rip), %rsi     # 0xcae05
jmp 0x18c46
leaq 0xb14c1(%rip), %rdx     # 0xca044
movslq (%rdx,%rcx,4), %rax
addq %rdx, %rax
jmpq *%rax
leaq 0xb3dc1(%rip), %rsi     # 0xcc954
jmp 0x18c46
leaq 0xb2262(%rip), %rsi     # 0xcae01
jmp 0x18c46
leaq 0x3(%rbp), %rsi
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x7(%rbp), %r13
movq %r15, %rdi
movq %r13, %rdx
callq 0x19350
movq 0x8(%rsp), %rdi
xorl %esi, %esi
pushq $0x10
popq %rdx
callq 0x13590
movq %rax, %r12
movq %r15, %rdi
callq 0x981a0
movq %r12, %rax
andq $-0x400, %rax           # imm = 0xFC00
cmpq $0xd800, %rax           # imm = 0xD800
je 0x18c53
cmpq $0xdc00, %rax           # imm = 0xDC00
je 0x18d17
movq %r15, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x193e6
movq %rbx, %rdi
movq %r15, %rsi
callq 0x998b0
movq %r15, %rdi
callq 0x981a0
addq $0x6, %rbp
movq %rbp, %r12
jmp 0x18ae0
leaq 0xb21dc(%rip), %rsi     # 0xcae07
jmp 0x18c46
leaq 0xb21d9(%rip), %rsi     # 0xcae0d
jmp 0x18c46
leaq 0xb21cc(%rip), %rsi     # 0xcae09
jmp 0x18c46
leaq 0xb21c5(%rip), %rsi     # 0xcae0b
movq %rbx, %rdi
callq 0x99950
jmp 0x18ae0
leaq 0x8(%rbp), %rax
cmpq 0x68(%r14), %rax
jae 0x18cdc
cmpb $0x5c, (%r13)
jne 0x18cdc
cmpb $0x75, (%rax)
jne 0x18cdc
leaq 0x9(%rbp), %rsi
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0xd(%rbp), %rdx
movq %r15, %rdi
callq 0x19350
movq 0x8(%rsp), %rdi
xorl %esi, %esi
pushq $0x10
popq %rdx
callq 0x13590
movq %rax, %r13
movq %r15, %rdi
callq 0x981a0
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x193e6
movq %rbx, %rdi
movq %r15, %rsi
callq 0x998b0
movq %r15, %rdi
callq 0x981a0
addq $0xc, %rbp
movq %rbp, %r12
jmp 0x18ae0
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x10
popq %rdi
callq 0x1b570
movq %rax, %r15
leaq 0xb2121(%rip), %rsi     # 0xcae0f
movq %rax, %rdi
callq 0x2f330
jmp 0x18d31
leaq 0xb1fa1(%rip), %rdi     # 0xcaca0
leaq 0xb15ff(%rip), %rsi     # 0xca305
leaq 0xb1fab(%rip), %rcx     # 0xcacb8
movl $0x2b2b, %edx           # imm = 0x2B2B
callq 0x13130
pushq $0x10
popq %rdi
callq 0x1b570
movq %rax, %r15
leaq 0xb20fc(%rip), %rsi     # 0xcae25
movq %rax, %rdi
callq 0x2f330
leaq 0xed170(%rip), %rsi     # 0x105ea8
leaq 0xc1b1(%rip), %rdx      # 0x24ef0
movq %r15, %rdi
callq 0x1c5c0
jmp 0x18d60
jmp 0x18d4f
jmp 0x18d77
jmp 0x18d77
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x981a0
jmp 0x18d7a
jmp 0x18d77
movq %rax, %r14
movq %r15, %rdi
callq 0x1b5d0
jmp 0x18d7a
jmp 0x18d77
jmp 0x18d77
jmp 0x18d77
jmp 0x18d77
jmp 0x18d77
movq %rax, %r14
movq %rbx, %rdi
callq 0x981a0
movq %r14, %rdi
callq 0xc6e00