// File: /workspace/github_cpp_makefile_star2_O3/SYZYGYfpga[P]syzygy-tools/include/json.hpp
// Function: nlohmann::detail::lexer<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>>::scan()
token_type scan()
    {
        // read next character and ignore whitespace
        do
        {
            get();
        }
        while (current == ' ' or current == '\t' or current == '\n' or current == '\r');

        switch (current)
        {
            // structural characters
            case '[':
                return token_type::begin_array;
            case ']':
                return token_type::end_array;
            case '{':
                return token_type::begin_object;
            case '}':
                return token_type::end_object;
            case ':':
                return token_type::name_separator;
            case ',':
                return token_type::value_separator;

            // literals
            case 't':
                return scan_literal("true", 4, token_type::literal_true);
            case 'f':
                return scan_literal("false", 5, token_type::literal_false);
            case 'n':
                return scan_literal("null", 4, token_type::literal_null);

            // string
            case '\"':
                return scan_string();

            // number
            case '-':
            case '0':
            case '1':
            case '2':
            case '3':
            case '4':
            case '5':
            case '6':
            case '7':
            case '8':
            case '9':
                return scan_number();

            // end of input (the null byte is needed when parsing from
            // string literals)
            case '\0':
            case std::char_traits<char>::eof():
                return token_type::end_of_input;

            // error
            default:
                error_message = "invalid literal";
                return token_type::parse_error;
        }
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x3716(%rip), %r14      # 0x9044
movq %rbx, %rdi
callq 0x3410
movl 0x10(%rbx), %eax
cmpl $0x1f, %eax
jle 0x5954
cmpl $0x5a, %eax
jg 0x5991
addl $-0x20, %eax
cmpl $0x1a, %eax
ja 0x596d
movslq (%r14,%rax,4), %rax
addq %r14, %rax
jmpq *%rax
leal -0x9(%rax), %ecx
cmpl $0x2, %ecx
jb 0x592e
leal 0x1(%rax), %ecx
cmpl $0x2, %ecx
jb 0x59f9
cmpl $0xd, %eax
je 0x592e
leaq 0x3f82(%rip), %rax      # 0x98f6
movq %rax, 0x58(%rbx)
movl $0xe, %eax
jmp 0x5a50
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x5dd8
cmpl $0x6d, %eax
jle 0x59bb
cmpl $0x7a, %eax
jg 0x59e4
cmpl $0x6e, %eax
je 0x5a1d
cmpl $0x74, %eax
jne 0x596d
leaq 0x3f3a(%rip), %rsi      # 0x98e6
movl $0x4, %edx
movq %rbx, %rdi
movl $0x1, %ecx
jmp 0x5a31
cmpl $0x5b, %eax
je 0x5a4b
cmpl $0x5d, %eax
je 0x5a44
cmpl $0x66, %eax
jne 0x596d
leaq 0x3f16(%rip), %rsi      # 0x98eb
movl $0x5, %edx
movq %rbx, %rdi
movl $0x2, %ecx
jmp 0x5a31
cmpl $0x7b, %eax
je 0x5a3d
cmpl $0x7d, %eax
jne 0x596d
movl $0xb, %eax
jmp 0x5a50
movl $0xf, %eax
jmp 0x5a50
movl $0xc, %eax
jmp 0x5a50
movl $0xd, %eax
jmp 0x5a50
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x5ad6
leaq 0x3ecd(%rip), %rsi      # 0x98f1
movl $0x4, %edx
movq %rbx, %rdi
movl $0x3, %ecx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x5a58
movl $0x9, %eax
jmp 0x5a50
movl $0xa, %eax
jmp 0x5a50
movl $0x8, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq