// File: /workspace/github_cpp_makefile_star2_O1/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 0x37d4(%rip), %r14      # 0x903c
movq %rbx, %rdi
callq 0x3412
movl 0x10(%rbx), %eax
cmpl $0x1f, %eax
jle 0x588e
cmpl $0x5a, %eax
jg 0x58cb
addl $-0x20, %eax
cmpl $0x1a, %eax
ja 0x58a7
movslq (%r14,%rax,4), %rax
addq %r14, %rax
jmpq *%rax
leal -0x9(%rax), %ecx
cmpl $0x2, %ecx
jb 0x5868
leal 0x1(%rax), %ecx
cmpl $0x2, %ecx
jb 0x5933
cmpl $0xd, %eax
je 0x5868
leaq 0x4048(%rip), %rax      # 0x98f6
movq %rax, 0x58(%rbx)
movl $0xe, %eax
jmp 0x598a
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x5da6
cmpl $0x6d, %eax
jle 0x58f5
cmpl $0x7a, %eax
jg 0x591e
cmpl $0x6e, %eax
je 0x5957
cmpl $0x74, %eax
jne 0x58a7
leaq 0x4000(%rip), %rsi      # 0x98e6
movl $0x4, %edx
movq %rbx, %rdi
movl $0x1, %ecx
jmp 0x596b
cmpl $0x5b, %eax
je 0x5985
cmpl $0x5d, %eax
je 0x597e
cmpl $0x66, %eax
jne 0x58a7
leaq 0x3fdc(%rip), %rsi      # 0x98eb
movl $0x5, %edx
movq %rbx, %rdi
movl $0x2, %ecx
jmp 0x596b
cmpl $0x7b, %eax
je 0x5977
cmpl $0x7d, %eax
jne 0x58a7
movl $0xb, %eax
jmp 0x598a
movl $0xf, %eax
jmp 0x598a
movl $0xc, %eax
jmp 0x598a
movl $0xd, %eax
jmp 0x598a
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x5a10
leaq 0x3f93(%rip), %rsi      # 0x98f1
movl $0x4, %edx
movq %rbx, %rdi
movl $0x3, %ecx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x5992
movl $0x9, %eax
jmp 0x598a
movl $0xa, %eax
jmp 0x598a
movl $0x8, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq