// File: /workspace/github_cpp_makefile_star2_O1/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 0x4ad4
movl %esi, %r14d
leaq 0x1ca8(%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 0x4a3f
cmpl $0x5c, %r15d
jle 0x4994
cmpl $0x73, %r15d
jg 0x49e2
cmpl $0x5d, %r15d
je 0x4a94
cmpl $0x66, %r15d
je 0x4a6e
cmpl $0x6e, %r15d
jne 0x4aab
movl $0xf, %r12d
jmp 0x4a3f
cmpb $0x6c, %r14b
jne 0x4ad4
movb $0x1, %bpl
movl $0x11, %r12d
jmp 0x4a3f
movsbl %r14b, %esi
leal -0x30(%rsi), %eax
cmpl $0x9, %eax
jbe 0x4784
jmp 0x488f
movsbl %r14b, %esi
leal -0x30(%rsi), %eax
cmpl $0x9, %eax
jbe 0x4830
andb $-0x21, %r14b
cmpb $0x45, %r14b
jne 0x488f
leaq 0x78(%rbx), %rdi
jmp 0x48aa
movsbl %r14b, %edi
callq 0x2040
testl %eax, %eax
je 0x4ad4
leal -0x30(%r14), %ecx
movw $0xffd0, %ax            # imm = 0xFFD0
cmpb $0xa, %cl
jb 0x44fc
leal -0x61(%r14), %ecx
movw $0xffa9, %ax            # imm = 0xFFA9
cmpb $0x6, %cl
jb 0x44fc
leal -0x41(%r14), %ecx
movw $0xffc9, %ax            # imm = 0xFFC9
cmpb $0x6, %cl
jae 0x4b14
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 0x4a3f
movsbl %r14b, %esi
leal -0x30(%rsi), %eax
cmpl $0x9, %eax
jbe 0x4784
cmpl $0x2d, %esi
je 0x4541
cmpl $0x2b, %esi
jne 0x4ad4
leaq 0x78(%rbx), %rdi
callq 0x2140
movb $0x1, %bpl
movl $0xd, %r12d
jmp 0x4a3f
movsbl %r14b, %esi
leal -0x30(%rsi), %eax
cmpl $0x9, %eax
ja 0x457b
leaq 0x78(%rbx), %rdi
callq 0x2140
movb $0x1, %bpl
movl $0x8, %r12d
jmp 0x4a3f
cmpb $0x2e, %r14b
jne 0x4899
leaq 0x78(%rbx), %rdi
movsbl %r14b, %esi
callq 0x2140
movb $0x1, %bpl
movl $0xa, %r12d
jmp 0x4a3f
cmpb $0x65, %r14b
jne 0x4ad4
movq %rbx, %rdi
movl $0xb, %esi
jmp 0x46e9
movsbl %r14b, %eax
movb $0x1, %bpl
cmpl $0x61, %eax
jg 0x48d3
cmpl $0x22, %eax
je 0x4978
cmpl $0x2f, %eax
je 0x4986
cmpl $0x5c, %eax
jne 0x4ad4
leaq 0x78(%rbx), %rdi
movl $0x5c, %esi
jmp 0x4a34
cmpb $0x75, %r14b
jne 0x4ad4
movb $0x1, %bpl
movl $0x10, %r12d
jmp 0x4a3f
movsbl %r14b, %edi
callq 0x2040
testl %eax, %eax
je 0x4ad4
leal -0x30(%r14), %ecx
movw $0xffd0, %ax            # imm = 0xFFD0
cmpb $0xa, %cl
jb 0x4644
leal -0x61(%r14), %ecx
movw $0xffa9, %ax            # imm = 0xFFA9
cmpb $0x6, %cl
jb 0x4644
leal -0x41(%r14), %ecx
movw $0xffc9, %ax            # imm = 0xFFC9
cmpb $0x6, %cl
jae 0x4b14
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 0x4a3f
movsbl %r14b, %esi
leal -0x30(%rsi), %eax
cmpl $0x9, %eax
ja 0x4ad4
leaq 0x78(%rbx), %rdi
callq 0x2140
xorl %r12d, %r12d
cmpb $0x30, %r14b
sete %r12b
orl $0x8, %r12d
movb $0x1, %bpl
jmp 0x4a3f
movsbl %r14b, %esi
movb $0x1, %bpl
cmpl $0x5c, %esi
je 0x4914
cmpl $0x22, %esi
jne 0x491f
movq %rbx, %rdi
movl $0x6, %esi
callq 0x4b56
jmp 0x46f1
cmpb $0x6c, %r14b
jne 0x4ad4
movq %rbx, %rdi
movl $0x9, %esi
jmp 0x46e9
cmpb $0x65, %r14b
jne 0x4ad4
movq %rbx, %rdi
movl $0xa, %esi
callq 0x4b56
movb $0x1, %bpl
xorl %r12d, %r12d
jmp 0x4a3f
movsbl %r14b, %edi
callq 0x2040
testl %eax, %eax
je 0x4ad4
leal -0x30(%r14), %ecx
movw $0xffd0, %ax            # imm = 0xFFD0
cmpb $0xa, %cl
jb 0x4735
leal -0x61(%r14), %ecx
movw $0xffa9, %ax            # imm = 0xFFA9
cmpb $0x6, %cl
jb 0x4735
leal -0x41(%r14), %ecx
movw $0xffc9, %ax            # imm = 0xFFC9
cmpb $0x6, %cl
jae 0x4b14
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 0x4a3f
cmpb $0x61, %r14b
jne 0x4ad4
movb $0x1, %bpl
movl $0x16, %r12d
jmp 0x4a3f
movsbl %r14b, %esi
leal -0x30(%rsi), %eax
cmpl $0x9, %eax
ja 0x4ad4
leaq 0x78(%rbx), %rdi
callq 0x2140
movb $0x1, %bpl
movl $0xe, %r12d
jmp 0x4a3f
movsbl %r14b, %edi
callq 0x2040
testl %eax, %eax
je 0x4ad4
leal -0x30(%r14), %ecx
movw $0xffd0, %ax            # imm = 0xFFD0
cmpb $0xa, %cl
jb 0x47d7
leal -0x61(%r14), %ecx
movw $0xffa9, %ax            # imm = 0xFFA9
cmpb $0x6, %cl
jb 0x47d7
leal -0x41(%r14), %ecx
movw $0xffc9, %ax            # imm = 0xFFC9
cmpb $0x6, %cl
jae 0x4b14
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 0x48bd
leaq 0x78(%rbx), %rdi
movsbl %al, %esi
jmp 0x4962
cmpb $0x72, %r14b
jne 0x4ad4
movb $0x1, %bpl
movl $0x13, %r12d
jmp 0x4a3f
movsbl %r14b, %esi
leal -0x30(%rsi), %eax
cmpl $0x9, %eax
ja 0x4ad4
leaq 0x78(%rbx), %rdi
callq 0x2140
movb $0x1, %bpl
movl $0xb, %r12d
jmp 0x4a3f
cmpb $0x6c, %r14b
jne 0x4ad4
movb $0x1, %bpl
movl $0x17, %r12d
jmp 0x4a3f
cmpb $0x75, %r14b
jne 0x4ad4
movb $0x1, %bpl
movl $0x14, %r12d
jmp 0x4a3f
cmpb $0x73, %r14b
jne 0x4ad4
movb $0x1, %bpl
movl $0x18, %r12d
jmp 0x4a3f
movq %rbx, %rdi
movl $0x8, %esi
jmp 0x4905
movl %r14d, %eax
andb $-0x21, %al
cmpb $0x45, %al
jne 0x48fd
leaq 0x78(%rbx), %rdi
movsbl %r14b, %esi
callq 0x2140
movb $0x1, %bpl
movl $0xc, %r12d
jmp 0x4a3f
movzwl %ax, %ecx
leaq 0x78(%rbx), %r14
cmpl $0x7ff, %ecx            # imm = 0x7FF
ja 0x4928
shrl $0x6, %eax
orb $-0x40, %al
jmp 0x4947
leal -0x6e(%rax), %ecx
cmpl $0x7, %ecx
ja 0x49c9
leaq 0x1832(%rip), %rax      # 0x6118
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
leaq 0x78(%rbx), %rdi
movl $0xa, %esi
jmp 0x4a34
movq %rbx, %rdi
movl $0x7, %esi
callq 0x4b56
xorl %r12d, %r12d
xorl %ebp, %ebp
jmp 0x4a3f
movl $0x2, %r12d
jmp 0x4a3f
leaq 0x78(%rbx), %rdi
jmp 0x4a34
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 0x4a39
leaq 0x78(%rbx), %rdi
movl $0x22, %esi
jmp 0x4a34
leaq 0x78(%rbx), %rdi
movl $0x2f, %esi
jmp 0x4a34
cmpl $0x2c, %r15d
jle 0x4a4e
cmpl $0x2d, %r15d
je 0x4a80
cmpl $0x3a, %r15d
je 0x4a64
cmpl $0x5b, %r15d
jne 0x4aab
movq %rbx, %rdi
movl $0x2, %esi
jmp 0x4a9c
cmpl $0x62, %eax
je 0x4a2b
cmpl $0x66, %eax
jne 0x4ad4
leaq 0x78(%rbx), %rdi
movl $0xc, %esi
jmp 0x4a34
cmpl $0x74, %r15d
je 0x4aa3
cmpl $0x7d, %r15d
je 0x4a76
cmpl $0x7b, %r15d
jne 0x4aab
xorl %r12d, %r12d
movq %rbx, %rdi
xorl %esi, %esi
jmp 0x4a9c
movl $0x3, %r12d
jmp 0x4a3f
leaq 0x78(%rbx), %rdi
movl $0xd, %esi
jmp 0x4a34
leaq 0x78(%rbx), %rdi
movl $0x9, %esi
jmp 0x4a34
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 0x4a39
cmpl $0x2c, %r15d
jne 0x4aab
movq %rbx, %rdi
movl $0x5, %esi
jmp 0x4a9c
movq %rbx, %rdi
movl $0x4, %esi
jmp 0x4a9c
movl $0x15, %r12d
jmp 0x4a3f
movq %rbx, %rdi
movl $0x1, %esi
jmp 0x4a9c
leaq 0x78(%rbx), %rdi
movl %r15d, %esi
callq 0x2140
movl $0x7, %r12d
jmp 0x4a3f
movq %rbx, %rdi
movl $0x3, %esi
callq 0x4b56
jmp 0x4a3f
movl $0x12, %r12d
jmp 0x4a3f
leal -0x30(%r15), %eax
cmpl $0x9, %eax
ja 0x4ad4
leaq 0x78(%rbx), %rdi
movl %r15d, %esi
callq 0x2140
xorl %r12d, %r12d
cmpb $0x30, %r14b
sete %r12b
orl $0x8, %r12d
jmp 0x4a3f
movl $0x20, %edi
callq 0x20c0
movq %rax, %r14
movq 0x98(%rbx), %rdx
movq 0xa0(%rbx), %rcx
leaq 0x17b2(%rip), %rsi      # 0x62a8
movq %rax, %rdi
callq 0x3b0e
leaq 0x4233(%rip), %rsi      # 0x8d38
movq 0x44cc(%rip), %rdx      # 0x8fd8
movq %r14, %rdi
callq 0x2210
movl $0x8, %edi
callq 0x20c0
movq 0x448b(%rip), %rcx      # 0x8fb0
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0x448d(%rip), %rsi      # 0x8fc0
movq 0x446e(%rip), %rdx      # 0x8fa8
movq %rax, %rdi
callq 0x2210
movq %rax, %rbx
movq %r14, %rdi
callq 0x2110
movq %rbx, %rdi
callq 0x2220
nop