// File: /workspace/github_cpp_makefile_star2_O3/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 0x4b8b
movl %esi, %r14d
leaq 0x1bf4(%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 0x4af4
cmpl $0x5c, %r15d
jle 0x4a49
cmpl $0x73, %r15d
jg 0x4a97
cmpl $0x5d, %r15d
je 0x4b4b
cmpl $0x66, %r15d
je 0x4b23
cmpl $0x6e, %r15d
jne 0x4b62
movl $0xf, %r12d
jmp 0x4af4
cmpb $0x6c, %r14b
jne 0x4b8b
movb $0x1, %bpl
movl $0x11, %r12d
jmp 0x4af4
movsbl %r14b, %esi
leal -0x30(%rsi), %eax
cmpl $0x9, %eax
jbe 0x4839
jmp 0x4944
movsbl %r14b, %esi
leal -0x30(%rsi), %eax
cmpl $0x9, %eax
jbe 0x48e5
andb $-0x21, %r14b
cmpb $0x45, %r14b
jne 0x4944
leaq 0x78(%rbx), %rdi
jmp 0x495f
movsbl %r14b, %edi
callq 0x2040
testl %eax, %eax
je 0x4b8b
leal -0x30(%r14), %ecx
movw $0xffd0, %ax            # imm = 0xFFD0
cmpb $0xa, %cl
jb 0x45b0
leal -0x61(%r14), %ecx
movw $0xffa9, %ax            # imm = 0xFFA9
cmpb $0x6, %cl
jb 0x45b0
leal -0x41(%r14), %ecx
movw $0xffc9, %ax            # imm = 0xFFC9
cmpb $0x6, %cl
jae 0x4bcb
movzbl %r14b, %ecx
cwtl
addl %ecx, %eax
movl 0xa8(%rbx), %ecx
shll $0x4, %ecx
orl %eax, %ecx
movw %cx, 0xa8(%rbx)
movb $0x1, %bpl
movl $0x5, %r12d
jmp 0x4af4
movsbl %r14b, %esi
leal -0x30(%rsi), %eax
cmpl $0x9, %eax
jbe 0x4839
cmpl $0x2d, %esi
je 0x45f5
cmpl $0x2b, %esi
jne 0x4b8b
leaq 0x78(%rbx), %rdi
callq 0x2140
movb $0x1, %bpl
movl $0xd, %r12d
jmp 0x4af4
movsbl %r14b, %esi
leal -0x30(%rsi), %eax
cmpl $0x9, %eax
ja 0x462f
leaq 0x78(%rbx), %rdi
callq 0x2140
movb $0x1, %bpl
movl $0x8, %r12d
jmp 0x4af4
cmpb $0x2e, %r14b
jne 0x494e
leaq 0x78(%rbx), %rdi
movl $0x2e, %esi
callq 0x2140
movb $0x1, %bpl
movl $0xa, %r12d
jmp 0x4af4
cmpb $0x65, %r14b
jne 0x4b8b
movq %rbx, %rdi
movl $0xb, %esi
jmp 0x479e
movsbl %r14b, %eax
movb $0x1, %bpl
cmpl $0x61, %eax
jg 0x4988
cmpl $0x22, %eax
je 0x4a2d
cmpl $0x2f, %eax
je 0x4a3b
cmpl $0x5c, %eax
jne 0x4b8b
leaq 0x78(%rbx), %rdi
movl $0x5c, %esi
jmp 0x4ae9
cmpb $0x75, %r14b
jne 0x4b8b
movb $0x1, %bpl
movl $0x10, %r12d
jmp 0x4af4
movsbl %r14b, %edi
callq 0x2040
testl %eax, %eax
je 0x4b8b
leal -0x30(%r14), %ecx
movw $0xffd0, %ax            # imm = 0xFFD0
cmpb $0xa, %cl
jb 0x46f9
leal -0x61(%r14), %ecx
movw $0xffa9, %ax            # imm = 0xFFA9
cmpb $0x6, %cl
jb 0x46f9
leal -0x41(%r14), %ecx
movw $0xffc9, %ax            # imm = 0xFFC9
cmpb $0x6, %cl
jae 0x4bcb
movzbl %r14b, %ecx
cwtl
addl %ecx, %eax
movl 0xa8(%rbx), %ecx
shll $0x4, %ecx
orl %eax, %ecx
movw %cx, 0xa8(%rbx)
movb $0x1, %bpl
movl $0x4, %r12d
jmp 0x4af4
movsbl %r14b, %esi
leal -0x30(%rsi), %eax
cmpl $0x9, %eax
ja 0x4b8b
leaq 0x78(%rbx), %rdi
callq 0x2140
xorl %r12d, %r12d
cmpb $0x30, %r14b
sete %r12b
orl $0x8, %r12d
movb $0x1, %bpl
jmp 0x4af4
movsbl %r14b, %esi
movb $0x1, %bpl
cmpl $0x5c, %esi
je 0x49c9
cmpl $0x22, %esi
jne 0x49d4
movq %rbx, %rdi
movl $0x6, %esi
callq 0x4c0c
jmp 0x47a6
cmpb $0x6c, %r14b
jne 0x4b8b
movq %rbx, %rdi
movl $0x9, %esi
jmp 0x479e
cmpb $0x65, %r14b
jne 0x4b8b
movq %rbx, %rdi
movl $0xa, %esi
callq 0x4c0c
movb $0x1, %bpl
xorl %r12d, %r12d
jmp 0x4af4
movsbl %r14b, %edi
callq 0x2040
testl %eax, %eax
je 0x4b8b
leal -0x30(%r14), %ecx
movw $0xffd0, %ax            # imm = 0xFFD0
cmpb $0xa, %cl
jb 0x47ea
leal -0x61(%r14), %ecx
movw $0xffa9, %ax            # imm = 0xFFA9
cmpb $0x6, %cl
jb 0x47ea
leal -0x41(%r14), %ecx
movw $0xffc9, %ax            # imm = 0xFFC9
cmpb $0x6, %cl
jae 0x4bcb
movzbl %r14b, %ecx
cwtl
addl %ecx, %eax
movl 0xa8(%rbx), %ecx
shll $0x4, %ecx
orl %eax, %ecx
movw %cx, 0xa8(%rbx)
movb $0x1, %bpl
movl $0x6, %r12d
jmp 0x4af4
cmpb $0x61, %r14b
jne 0x4b8b
movb $0x1, %bpl
movl $0x16, %r12d
jmp 0x4af4
movsbl %r14b, %esi
leal -0x30(%rsi), %eax
cmpl $0x9, %eax
ja 0x4b8b
leaq 0x78(%rbx), %rdi
callq 0x2140
movb $0x1, %bpl
movl $0xe, %r12d
jmp 0x4af4
movsbl %r14b, %edi
callq 0x2040
testl %eax, %eax
je 0x4b8b
leal -0x30(%r14), %ecx
movw $0xffd0, %ax            # imm = 0xFFD0
cmpb $0xa, %cl
jb 0x488c
leal -0x61(%r14), %ecx
movw $0xffa9, %ax            # imm = 0xFFA9
cmpb $0x6, %cl
jb 0x488c
leal -0x41(%r14), %ecx
movw $0xffc9, %ax            # imm = 0xFFC9
cmpb $0x6, %cl
jae 0x4bcb
movzbl %r14b, %ecx
movswl %ax, %edx
addl %ecx, %edx
movl 0xa8(%rbx), %eax
shll $0x4, %eax
orl %edx, %eax
movw %ax, 0xa8(%rbx)
cmpw $0x7f, %ax
ja 0x4972
leaq 0x78(%rbx), %rdi
movsbl %al, %esi
jmp 0x4a17
cmpb $0x72, %r14b
jne 0x4b8b
movb $0x1, %bpl
movl $0x13, %r12d
jmp 0x4af4
movsbl %r14b, %esi
leal -0x30(%rsi), %eax
cmpl $0x9, %eax
ja 0x4b8b
leaq 0x78(%rbx), %rdi
callq 0x2140
movb $0x1, %bpl
movl $0xb, %r12d
jmp 0x4af4
cmpb $0x6c, %r14b
jne 0x4b8b
movb $0x1, %bpl
movl $0x17, %r12d
jmp 0x4af4
cmpb $0x75, %r14b
jne 0x4b8b
movb $0x1, %bpl
movl $0x14, %r12d
jmp 0x4af4
cmpb $0x73, %r14b
jne 0x4b8b
movb $0x1, %bpl
movl $0x18, %r12d
jmp 0x4af4
movq %rbx, %rdi
movl $0x8, %esi
jmp 0x49ba
movl %r14d, %eax
andb $-0x21, %al
cmpb $0x45, %al
jne 0x49b2
leaq 0x78(%rbx), %rdi
movsbl %r14b, %esi
callq 0x2140
movb $0x1, %bpl
movl $0xc, %r12d
jmp 0x4af4
movzwl %ax, %ecx
leaq 0x78(%rbx), %r14
cmpl $0x7ff, %ecx            # imm = 0x7FF
ja 0x49dd
shrl $0x6, %eax
orb $-0x40, %al
jmp 0x49fc
leal -0x6e(%rax), %ecx
cmpl $0x7, %ecx
ja 0x4a7e
leaq 0x177d(%rip), %rax      # 0x6118
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
leaq 0x78(%rbx), %rdi
movl $0xa, %esi
jmp 0x4ae9
movq %rbx, %rdi
movl $0x7, %esi
callq 0x4c0c
xorl %r12d, %r12d
xorl %ebp, %ebp
jmp 0x4af4
movl $0x2, %r12d
jmp 0x4af4
leaq 0x78(%rbx), %rdi
jmp 0x4ae9
shrl $0xc, %ecx
orb $-0x20, %cl
movsbl %cl, %esi
movq %r14, %rdi
callq 0x2140
movzwl 0xa8(%rbx), %eax
shrl $0x6, %eax
andb $0x3f, %al
orb $-0x80, %al
movsbl %al, %esi
movq %r14, %rdi
callq 0x2140
movb 0xa8(%rbx), %al
andb $0x3f, %al
orb $-0x80, %al
movsbl %al, %esi
movq %r14, %rdi
callq 0x2140
movw $0x0, 0xa8(%rbx)
movb $0x1, %bpl
jmp 0x4aee
leaq 0x78(%rbx), %rdi
movl $0x22, %esi
jmp 0x4ae9
leaq 0x78(%rbx), %rdi
movl $0x2f, %esi
jmp 0x4ae9
cmpl $0x2c, %r15d
jle 0x4b03
cmpl $0x2d, %r15d
je 0x4b35
cmpl $0x3a, %r15d
je 0x4b19
cmpl $0x5b, %r15d
jne 0x4b62
movq %rbx, %rdi
movl $0x2, %esi
jmp 0x4b53
cmpl $0x62, %eax
je 0x4ae0
cmpl $0x66, %eax
jne 0x4b8b
leaq 0x78(%rbx), %rdi
movl $0xc, %esi
jmp 0x4ae9
cmpl $0x74, %r15d
je 0x4b5a
cmpl $0x7d, %r15d
je 0x4b2b
cmpl $0x7b, %r15d
jne 0x4b62
xorl %r12d, %r12d
movq %rbx, %rdi
xorl %esi, %esi
jmp 0x4b53
movl $0x3, %r12d
jmp 0x4af4
leaq 0x78(%rbx), %rdi
movl $0xd, %esi
jmp 0x4ae9
leaq 0x78(%rbx), %rdi
movl $0x9, %esi
jmp 0x4ae9
leaq 0x78(%rbx), %rdi
movl $0x8, %esi
callq 0x2140
movl $0x1, %r12d
movl %r12d, 0x70(%rbx)
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
cmpl $0x22, %r15d
je 0x4aee
cmpl $0x2c, %r15d
jne 0x4b62
movq %rbx, %rdi
movl $0x5, %esi
jmp 0x4b53
movq %rbx, %rdi
movl $0x4, %esi
jmp 0x4b53
movl $0x15, %r12d
jmp 0x4af4
movq %rbx, %rdi
movl $0x1, %esi
jmp 0x4b53
leaq 0x78(%rbx), %rdi
movl $0x2d, %esi
callq 0x2140
movl $0x7, %r12d
jmp 0x4af4
movq %rbx, %rdi
movl $0x3, %esi
callq 0x4c0c
jmp 0x4af4
movl $0x12, %r12d
jmp 0x4af4
leal -0x30(%r15), %eax
cmpl $0x9, %eax
ja 0x4b8b
leaq 0x78(%rbx), %rdi
movl %r15d, %esi
callq 0x2140
xorl %r12d, %r12d
cmpb $0x30, %r14b
sete %r12b
orl $0x8, %r12d
jmp 0x4af4
movl $0x20, %edi
callq 0x20c0
movq %rax, %r14
movq 0x98(%rbx), %rdx
movq 0xa0(%rbx), %rcx
leaq 0x16fb(%rip), %rsi      # 0x62a8
movq %rax, %rdi
callq 0x3bbe
leaq 0x417c(%rip), %rsi      # 0x8d38
movq 0x4415(%rip), %rdx      # 0x8fd8
movq %r14, %rdi
callq 0x2210
movl $0x8, %edi
callq 0x20c0
movq 0x43d4(%rip), %rcx      # 0x8fb0
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0x43d6(%rip), %rsi      # 0x8fc0
movq 0x43b7(%rip), %rdx      # 0x8fa8
movq %rax, %rdi
callq 0x2210
movq %rax, %rbx
movq %r14, %rdi
callq 0x2110
movq %rbx, %rdi
callq 0x2220