// File: /workspace/github_cpp_makefile_star2_O2/rksdna[P]json/./json.hpp
// Function: json::basic_reader<char, std::char_traits<char>, std::allocator<char>>::scan(char)
inline bool scan(char_type input)
    {
        switch (m_char_state)
        {
        case default_state:
            if (std::isspace(input))
                return next(default_state);

            if (input == '{')
                return token(object_begin_token), next(default_state);

            if (input == '}')
                return token(object_end_token), next(default_state);

            if (input == '[')
                return token(array_begin_token), next(default_state);

            if (input == ']')
                return token(array_end_token), next(default_state);

            if (input == ':')
                return token(colon_token), next(default_state);

            if (input == ',')
                return token(comma_token), next(default_state);

            if (input == '"')
                return next(string_state);

            if (input == '-')
                return take(input), next(integer_1_state);

            if (input == 'n')
                return next(null_1_state);

            if (input == 't')
                return next(true_1_state);

            if (input == 'f')
                return next(false_1_state);

            if (std::isdigit(input))
                return take(input), next(input == '0' ? integer_z_state : integer_n_state);

            break;

        case string_state:
            if (input == '"')
                return token(string_token), next(default_state);

            if (input == '\\')
                return next(escape_state);

            return take(input), next(string_state);

        case escape_state:
            if (input == '"')
                return take('"'), next(string_state);

            if (input == '\\')
                return take('\\'), next(string_state);

            if (input == '/')
                return take('/'), next(string_state);

            if (input == 'b')
                return take('\b'), next(string_state);

            if (input == 'f')
                return take('\f'), next(string_state);

            if (input == 'n')
                return take('\n'), next(string_state);

            if (input == 'r')
                return take('\r'), next(string_state);

            if (input == 't')
                return take('\t'), next(string_state);

            if (input == 'u')
                return next(unicode_1_state);

            break;

        case unicode_1_state:
            if (std::isxdigit(input))
                return unicode(input), next(unicode_2_state);

            break;

        case unicode_2_state:
            if (std::isxdigit(input))
                return unicode(input), next(unicode_3_state);

            break;

        case unicode_3_state:
            if (std::isxdigit(input))
                return unicode(input), next(unicode_4_state);

            break;

        case unicode_4_state:
            if (std::isxdigit(input))
                return unicode(input), take_unicode(), next(string_state);

            break;

        case integer_1_state:
            if (std::isdigit(input))
                return take(input), next(input == '0' ? integer_z_state : integer_n_state);

            break;

        case integer_n_state:
            if (std::isdigit(input))
                return take(input), next(integer_n_state);

            // no break

        case integer_z_state:
            if (input == '.')
                return take(input), next(fractional_1_state);

            if (input == 'e' || input == 'E')
                return take(input), next(exponent_state);

            return token(integer_token), repeat(default_state);

        case fractional_1_state:
            if (std::isdigit(input))
                return take(input), next(fractional_n_state);

            break;

        case fractional_n_state:
            if (std::isdigit(input))
                return take(input), next(fractional_n_state);

            if (input == 'e' || input == 'E')
                return take(input), next(exponent_state);

            return token(real_token), repeat(default_state);

        case exponent_state:
            if (std::isdigit(input))
                return take(input), next(exponent_n_state);

            if (input == '-' || input == '+')
                return take(input), next(exponent_1_state);

            break;

        case exponent_1_state:
            if (std::isdigit(input))
                return take(input), next(exponent_n_state);

            break;

        case exponent_n_state:
            if (std::isdigit(input))
                return take(input), next(exponent_n_state);

            return token(real_token), repeat(default_state);

        case null_1_state:
            if (input == 'u')
                return next(null_2_state);

            break;

        case null_2_state:
            if (input == 'l')
                return next(null_3_state);

            break;

        case null_3_state:
            if (input == 'l')
                return token(null_token), next(default_state);

            break;

        case true_1_state:
            if (input == 'r')
                return next(true_2_state);

            break;

        case true_2_state:
            if (input == 'u')
                return next(true_3_state);

            break;

        case true_3_state:
            if (input == 'e')
                return token(true_token), next(default_state);

            break;

        case false_1_state:
            if (input == 'a')
                return next(false_2_state);

            break;

        case false_2_state:
            if (input == 'l')
                return next(false_3_state);

            break;

        case false_3_state:
            if (input == 's')
                return next(false_4_state);

            break;

        case false_4_state:
            if (input == 'e')
                return token(false_token), next(default_state);

            break;
        }

        throw json::exception("unexpected character", m_row, m_column);
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
movl 0x70(%rdi), %eax
cmpq $0x18, %rax
ja 0x4371
movl %esi, %r14d
leaq 0x21e0(%rip), %rcx      # 0x60b4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movsbl %r14b, %r15d
movl %r15d, %edi
callq 0x2030
movb $0x1, %bpl
xorl %r12d, %r12d
testl %eax, %eax
jne 0x4303
cmpl $0x22, %r15d
je 0x42ff
cmpl $0x2c, %r15d
je 0x4312
cmpl $0x2d, %r15d
je 0x433b
cmpl $0x3a, %r15d
je 0x4322
cmpl $0x5b, %r15d
je 0x431e
cmpl $0x5d, %r15d
je 0x432e
cmpl $0x66, %r15d
je 0x4316
cmpl $0x6e, %r15d
je 0x431a
cmpl $0x74, %r15d
je 0x4326
cmpl $0x7d, %r15d
je 0x432a
cmpl $0x7b, %r15d
jne 0x434b
xorl %r12d, %r12d
movq %rbx, %rdi
xorl %esi, %esi
jmp 0x4334
cmpb $0x6c, %r14b
jne 0x4371
movb $0x1, %bpl
pushq $0x11
jmp 0x4301
movsbl %r14b, %esi
leal -0x30(%rsi), %eax
cmpl $0x9, %eax
jbe 0x41bf
jmp 0x4272
movsbl %r14b, %esi
leal -0x30(%rsi), %eax
cmpl $0x9, %eax
jbe 0x4223
andb $-0x21, %r14b
cmpb $0x45, %r14b
jne 0x4272
leaq 0x78(%rbx), %rdi
jmp 0x4287
movsbl %r14b, %ebp
movl %ebp, %edi
callq 0x2040
testl %eax, %eax
je 0x4371
movq %rbx, %rdi
movl %ebp, %esi
callq 0x475e
movb $0x1, %bpl
pushq $0x5
jmp 0x4301
movsbl %r14b, %esi
leal -0x30(%rsi), %eax
cmpl $0x9, %eax
jbe 0x41bf
cmpl $0x2d, %esi
je 0x4007
cmpl $0x2b, %esi
jne 0x4371
leaq 0x78(%rbx), %rdi
callq 0x2110
movb $0x1, %bpl
pushq $0xd
jmp 0x4301
movsbl %r14b, %esi
leal -0x30(%rsi), %eax
cmpl $0x9, %eax
ja 0x4039
leaq 0x78(%rbx), %rdi
callq 0x2110
movb $0x1, %bpl
pushq $0x8
jmp 0x4301
cmpb $0x2e, %r14b
jne 0x4276
leaq 0x78(%rbx), %rdi
pushq $0x2e
popq %rsi
callq 0x2110
movb $0x1, %bpl
pushq $0xa
jmp 0x4301
cmpb $0x65, %r14b
jne 0x4371
pushq $0xb
jmp 0x4160
movsbl %r14b, %eax
movb $0x1, %bpl
leal -0x6e(%rax), %ecx
cmpl $0x7, %ecx
jbe 0x4293
cmpl $0x66, %eax
je 0x42e3
cmpl $0x2f, %eax
je 0x42f3
cmpl $0x5c, %eax
je 0x42db
cmpl $0x62, %eax
je 0x42eb
cmpl $0x22, %eax
jne 0x4371
leaq 0x78(%rbx), %rdi
pushq $0x22
jmp 0x42f9
cmpb $0x75, %r14b
jne 0x4371
movb $0x1, %bpl
pushq $0x10
jmp 0x4301
movsbl %r14b, %ebp
movl %ebp, %edi
callq 0x2040
testl %eax, %eax
je 0x4371
movq %rbx, %rdi
movl %ebp, %esi
callq 0x475e
movb $0x1, %bpl
pushq $0x4
jmp 0x4301
movsbl %r14b, %esi
leal -0x30(%rsi), %eax
cmpl $0x9, %eax
ja 0x4371
leaq 0x78(%rbx), %rdi
callq 0x2110
xorl %r12d, %r12d
cmpb $0x30, %r14b
sete %r12b
orl $0x8, %r12d
movb $0x1, %bpl
jmp 0x4303
movsbl %r14b, %esi
movb $0x1, %bpl
cmpl $0x5c, %esi
je 0x42bd
cmpl $0x22, %esi
jne 0x42c1
pushq $0x6
popq %rsi
movq %rbx, %rdi
callq 0x43c2
jmp 0x416c
cmpb $0x6c, %r14b
jne 0x4371
pushq $0x9
jmp 0x4160
cmpb $0x65, %r14b
jne 0x4371
pushq $0xa
popq %rsi
movq %rbx, %rdi
callq 0x43c2
movb $0x1, %bpl
xorl %r12d, %r12d
jmp 0x4303
movsbl %r14b, %ebp
movl %ebp, %edi
callq 0x2040
testl %eax, %eax
je 0x4371
movq %rbx, %rdi
movl %ebp, %esi
callq 0x475e
movb $0x1, %bpl
pushq $0x6
jmp 0x4301
cmpb $0x61, %r14b
jne 0x4371
movb $0x1, %bpl
pushq $0x16
jmp 0x4301
movsbl %r14b, %esi
leal -0x30(%rsi), %eax
cmpl $0x9, %eax
ja 0x4371
leaq 0x78(%rbx), %rdi
callq 0x2110
movb $0x1, %bpl
pushq $0xe
jmp 0x4301
movsbl %r14b, %ebp
movl %ebp, %edi
callq 0x2040
testl %eax, %eax
je 0x4371
movq %rbx, %rdi
movl %ebp, %esi
callq 0x475e
movq %rbx, %rdi
callq 0x47ca
movb $0x1, %bpl
jmp 0x42ff
cmpb $0x72, %r14b
jne 0x4371
movb $0x1, %bpl
pushq $0x13
jmp 0x4301
movsbl %r14b, %esi
leal -0x30(%rsi), %eax
cmpl $0x9, %eax
ja 0x4371
leaq 0x78(%rbx), %rdi
callq 0x2110
movb $0x1, %bpl
pushq $0xb
jmp 0x4301
cmpb $0x6c, %r14b
jne 0x4371
movb $0x1, %bpl
pushq $0x17
jmp 0x4301
cmpb $0x75, %r14b
jne 0x4371
movb $0x1, %bpl
pushq $0x14
jmp 0x4301
cmpb $0x73, %r14b
jne 0x4371
movb $0x1, %bpl
pushq $0x18
jmp 0x4301
pushq $0x8
jmp 0x42ad
movl %r14d, %eax
andb $-0x21, %al
cmpb $0x45, %al
jne 0x42ab
leaq 0x78(%rbx), %rdi
movsbl %r14b, %esi
callq 0x2110
movb $0x1, %bpl
pushq $0xc
jmp 0x4301
leaq 0x1e7e(%rip), %rax      # 0x6118
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
leaq 0x78(%rbx), %rdi
pushq $0xa
jmp 0x42f9
pushq $0x7
popq %rsi
movq %rbx, %rdi
callq 0x43c2
xorl %r12d, %r12d
xorl %ebp, %ebp
jmp 0x4303
pushq $0x2
jmp 0x4301
leaq 0x78(%rbx), %rdi
jmp 0x42fa
leaq 0x78(%rbx), %rdi
pushq $0x9
jmp 0x42f9
leaq 0x78(%rbx), %rdi
pushq $0xd
jmp 0x42f9
pushq $0x3
jmp 0x4301
leaq 0x78(%rbx), %rdi
pushq $0x5c
jmp 0x42f9
leaq 0x78(%rbx), %rdi
pushq $0xc
jmp 0x42f9
leaq 0x78(%rbx), %rdi
pushq $0x8
jmp 0x42f9
leaq 0x78(%rbx), %rdi
pushq $0x2f
popq %rsi
callq 0x2110
pushq $0x1
popq %r12
movl %r12d, 0x70(%rbx)
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
pushq $0x5
jmp 0x4330
pushq $0x15
jmp 0x4301
pushq $0xf
jmp 0x4301
pushq $0x2
jmp 0x4330
pushq $0x4
jmp 0x4330
pushq $0x12
jmp 0x4301
pushq $0x1
jmp 0x4330
pushq $0x3
popq %rsi
movq %rbx, %rdi
callq 0x43c2
jmp 0x4303
leaq 0x78(%rbx), %rdi
pushq $0x2d
popq %rsi
callq 0x2110
pushq $0x7
jmp 0x4301
leal -0x30(%r15), %eax
cmpl $0x9, %eax
ja 0x4371
leaq 0x78(%rbx), %rdi
movl %r15d, %esi
callq 0x2110
xorl %r12d, %r12d
cmpb $0x30, %r14b
sete %r12b
orl $0x8, %r12d
jmp 0x4303
pushq $0x20
popq %rdi
callq 0x20b0
movq %rax, %r14
movq 0x98(%rbx), %rdx
movq 0xa0(%rbx), %rcx
leaq 0x1eed(%rip), %rsi      # 0x627e
movq %rax, %rdi
callq 0x33ec
leaq 0x4998(%rip), %rsi      # 0x8d38
movq 0x4c31(%rip), %rdx      # 0x8fd8
movq %r14, %rdi
callq 0x2200
movq %rax, %rbx
movq %r14, %rdi
callq 0x20f0
movq %rbx, %rdi
callq 0x2210