// File: /workspace/github_c_makefile_star2_O2/vtereshkov[P]umka-lang/src/umka_lexer.c
// Function: lexNextWithEOLN
static void lexNextWithEOLN(Lexer *lex)
{
    lexSpacesAndComments(lex);

    lex->tok.kind = TOK_NONE;
    lex->tok.line = lex->debug->line = lex->line;
    lex->tok.pos = lex->pos;

    char ch = lex->buf[lex->bufPos];
    if ((ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z') || ch == '_')
        lexKeywordOrIdent(lex);
    else if ((ch >= '0' && ch <= '9') || ch == '.')
        lexNumber(lex);
    else if (ch == '\'')
        lexCharLiteral(lex);
    else if (ch == '"')
        lexStrLiteral(lex);

    if (lex->tok.kind == TOK_NONE)
        lexOperator(lex);

    if (lex->tok.kind == TOK_NONE)
    {
        if (!lex->buf[lex->bufPos])
            lex->tok.kind = TOK_EOF;
        else
            lex->error->handler(lex->error->context, "Unexpected character or end of file");
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2a8, %rsp            # imm = 0x2A8
movq %rdi, %rbx
movq 0x10(%rdi), %rax
movslq 0x18(%rdi), %rcx
movb (%rax,%rcx), %al
cmpb $0x9, %al
je 0x11017
movzbl %al, %eax
cmpl $0xd, %eax
je 0x11017
cmpl $0x20, %eax
jne 0x11021
movq %rbx, %rdi
callq 0x11909
jmp 0x11006
cmpl $0x2f, %eax
jne 0x1109b
movq %rbx, %rdi
callq 0x11909
cmpb $0x2f, %al
je 0x11070
movzbl %al, %eax
cmpl $0x2a, %eax
jne 0x110a3
xorl %ebp, %ebp
movq %rbx, %rdi
callq 0x11909
cmpb $0x2f, %al
sete %cl
testb %al, %al
je 0x11086
andb %cl, %bpl
jne 0x11086
testb %al, %al
je 0x11068
movzbl %al, %ecx
cmpl $0x2a, %ecx
je 0x11068
movq %rbx, %rdi
callq 0x11909
jmp 0x11052
cmpb $0x2a, %al
sete %bpl
jmp 0x1103c
movq %rbx, %rdi
callq 0x11909
testb %al, %al
je 0x1108e
movzbl %al, %eax
cmpl $0xa, %eax
jne 0x11070
jmp 0x1108e
movq %rbx, %rdi
callq 0x11909
movq 0x10(%rbx), %rax
movslq 0x18(%rbx), %rcx
jmp 0x11003
movl 0x18(%rbx), %ecx
movl 0x20(%rbx), %eax
jmp 0x110b3
movl 0x18(%rbx), %ecx
movl 0x20(%rbx), %eax
decl %ecx
movl %ecx, 0x18(%rbx)
decl %eax
movl %eax, 0x20(%rbx)
andl $0x0, 0x28(%rbx)
movl 0x1c(%rbx), %edx
movq 0x260(%rbx), %rsi
movl %edx, 0x10(%rsi)
movl %edx, 0x138(%rbx)
movl %eax, 0x13c(%rbx)
movq 0x10(%rbx), %rax
movslq %ecx, %rcx
movzbl (%rax,%rcx), %edx
leal -0x41(%rdx), %esi
cmpb $0x1a, %sil
jb 0x110ff
leal -0x61(%rdx), %esi
cmpb $0x1a, %sil
setae %sil
cmpl $0x5f, %edx
setne %dil
testb %sil, %dil
jne 0x111ae
movb (%rax,%rcx), %al
leaq 0x30(%rbx), %r14
pushq $0x30
popq %r12
movb %al, (%rbx,%r12)
movq %rbx, %rdi
callq 0x11909
cmpq $0x12f, %r12            # imm = 0x12F
je 0x11191
movl %eax, %ecx
andb $-0x21, %cl
addb $-0x41, %cl
incq %r12
cmpb $0x1a, %cl
jb 0x1110a
cmpb $0x5f, %al
je 0x1110a
movl %eax, %ecx
addb $-0x30, %cl
cmpb $0xa, %cl
jb 0x1110a
movb $0x0, (%rbx,%r12)
movq %r14, %rdi
callq 0x10f33
movl %eax, %ebp
movl %eax, 0x130(%rbx)
pushq $0x1
popq %r12
leaq 0x6a0b3(%rip), %r13     # 0x7b210
leaq 0x6974c(%rip), %r15     # 0x7a8b0
cmpq $0x16, %r12
je 0x111f0
cmpl (%r13), %ebp
jne 0x11188
movq (%r15,%r12,8), %rsi
movq %r14, %rdi
callq 0x3210
testl %eax, %eax
je 0x1125d
incq %r12
addq $0x4, %r13
jmp 0x11164
movq 0x268(%rbx), %rcx
movq 0x20(%rcx), %rdi
leaq 0x5a2f3(%rip), %rsi     # 0x6b496
xorl %ebp, %ebp
xorl %eax, %eax
callq *(%rcx)
jmp 0x11260
leal -0x30(%rdx), %esi
cmpb $0xa, %sil
setae %sil
cmpl $0x2e, %edx
setne %dil
testb %sil, %dil
jne 0x111ff
andl $0x0, 0x38(%rsp)
andl $0x0, 0x8(%rsp)
andl $0x0, 0xc(%rsp)
movb (%rax,%rcx), %bpl
cmpb $0x30, %bpl
setne %r15b
je 0x11268
pushq $0xa
popq %rsi
movl %ebp, %edx
jmp 0x112a2
cmpl $0x0, 0x28(%rbx)
pushq $0x45
popq %rbp
jne 0x117e3
jmp 0x11260
cmpl $0x22, %edx
je 0x112c3
cmpl $0x27, %edx
jne 0x114cb
movl $0x48, 0x28(%rbx)
movq %rbx, %rdi
xorl %esi, %esi
callq 0x11ad9
movsbq %al, %rax
movq %rax, 0x30(%rbx)
movq %rbx, %rdi
callq 0x11909
cmpb $0x27, %al
je 0x11250
movq 0x268(%rbx), %rcx
movq 0x20(%rcx), %rdi
leaq 0x5a2a8(%rip), %rsi     # 0x6b4f0
xorl %eax, %eax
callq *(%rcx)
andl $0x0, 0x28(%rbx)
movq %rbx, %rdi
callq 0x11909
jmp 0x114cb
movl %r12d, %ebp
movl %ebp, 0x28(%rbx)
jmp 0x114ce
movzbl 0x1(%rax,%rcx), %eax
orl $0x20, %eax
cmpl $0x78, %eax
jne 0x11307
movq %rbx, %rdi
callq 0x11909
movq %rbx, %rdi
callq 0x11909
pushq $0x5f
popq %rsi
movq %rbx, %rdi
callq 0x11936
movq 0x10(%rbx), %rax
movslq 0x18(%rbx), %rcx
movb (%rax,%rcx), %dl
pushq $0x10
popq %rsi
cmpb $0x2e, %dl
jne 0x1130d
movb 0x1(%rax,%rcx), %al
addb $-0x3a, %al
cmpb $-0xa, %al
jb 0x114cb
xorl %r15d, %r15d
cmpb $0x30, %bpl
je 0x1130d
xorl %r14d, %r14d
jmp 0x11328
leaq 0x38(%rsp), %r14
movl $0x270, %edx            # imm = 0x270
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3260
andq $0x0, 0x30(%r14)
movq %r14, %rdi
callq 0x11c06
movq 0x258(%rbx), %rdi
decl %eax
movslq %eax, %rsi
callq 0x41e7
movq %rax, 0x30(%rbx)
movq %rbx, %rdi
callq 0x11c06
jmp 0x114cb
movb $0x1, %r15b
pushq $0xa
popq %rsi
leaq 0x38(%rsp), %rdx
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x119a8
movq %rax, %r14
testb %r15b, %r15b
je 0x114c0
pushq $0x2e
popq %rsi
movq %rbx, %rdi
callq 0x11936
movl %eax, %ebp
xorpd %xmm1, %xmm1
testb %al, %al
je 0x11382
movq 0x10(%rbx), %rax
movslq 0x18(%rbx), %rcx
movb (%rax,%rcx), %al
addb $-0x3a, %al
cmpb $-0xa, %al
jb 0x11382
pushq $0xa
popq %rsi
leaq 0x8(%rsp), %rdx
pushq $0x1
popq %rcx
movq %rbx, %rdi
callq 0x119a8
movq %rax, %xmm0
punpckldq 0x58c62(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x58c6a(%rip), %xmm0    # 0x69fe0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movapd %xmm1, 0x20(%rsp)
pushq $0x65
popq %rsi
movq %rbx, %rdi
callq 0x11936
testb %al, %al
jne 0x113aa
pushq $0x45
popq %rsi
movq %rbx, %rdi
callq 0x11936
testb %al, %al
je 0x114aa
pushq $0x2d
popq %rsi
movq %rbx, %rdi
callq 0x11936
testb %al, %al
setne %bpl
jne 0x113c8
pushq $0x2b
popq %rsi
movq %rbx, %rdi
callq 0x11936
pushq $0xa
popq %rsi
leaq 0xc(%rsp), %rdx
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x119a8
movq %rax, %xmm0
punpckldq 0x58be9(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x58bf1(%rip), %xmm0    # 0x69fe0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movapd %xmm1, 0x10(%rsp)
movl $0x47, 0x28(%rbx)
movq %r14, %xmm0
punpckldq 0x58bbb(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x58bc3(%rip), %xmm0    # 0x69fe0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd %xmm1, 0x30(%rbx)
cvtsi2sdl 0x8(%rsp), %xmm1
movsd 0x59e54(%rip), %xmm0    # 0x6b290
callq 0x3110
movapd 0x20(%rsp), %xmm1
divsd %xmm0, %xmm1
addsd 0x30(%rbx), %xmm1
movsd %xmm1, 0x30(%rbx)
movsd 0x59e33(%rip), %xmm0    # 0x6b290
movaps 0x10(%rsp), %xmm1
callq 0x3110
movsd 0x30(%rbx), %xmm1
testb %bpl, %bpl
jne 0x11477
mulsd %xmm0, %xmm1
jmp 0x1147b
divsd %xmm0, %xmm1
movsd %xmm1, 0x30(%rbx)
andpd 0x58b28(%rip), %xmm1    # 0x69fb0
ucomisd 0x58b60(%rip), %xmm1    # 0x69ff0
jbe 0x114cb
movq 0x268(%rbx), %rcx
movq 0x20(%rcx), %rdi
leaq 0x5a009(%rip), %rsi     # 0x6b4ad
xorl %eax, %eax
callq *(%rcx)
jmp 0x114cb
testb %bpl, %bpl
je 0x114c0
xorpd %xmm0, %xmm0
movapd %xmm0, 0x10(%rsp)
xorl %ebp, %ebp
jmp 0x11401
movl $0x46, 0x28(%rbx)
movq %r14, 0x30(%rbx)
movl 0x28(%rbx), %ebp
testl %ebp, %ebp
jne 0x117dd
andl $0x0, 0x28(%rbx)
movq 0x10(%rbx), %rax
movslq 0x18(%rbx), %rcx
movzbl (%rax,%rcx), %eax
leal -0x21(%rax), %ecx
cmpl $0x1e, %ecx
ja 0x11515
leaq 0x59da3(%rip), %rax     # 0x6b298
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movq %rbx, %rdi
callq 0x11909
cmpb $0x3d, %al
jne 0x1175d
pushq $0x34
jmp 0x117d1
leal -0x7b(%rax), %ecx
cmpl $0x3, %ecx
jbe 0x11548
cmpl $0xa, %eax
je 0x116e7
cmpl $0x5b, %eax
je 0x116f5
cmpl $0x5d, %eax
je 0x116fc
cmpl $0x5e, %eax
jne 0x117dd
pushq $0x3e
jmp 0x117d1
leaq 0x59dc5(%rip), %rax     # 0x6b314
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
pushq $0x3c
jmp 0x117d1
movq %rbx, %rdi
callq 0x11909
cmpb $0x3d, %al
je 0x11781
movzbl %al, %eax
cmpl $0x3a, %eax
jne 0x11789
pushq $0x42
jmp 0x117d1
pushq $0x38
jmp 0x117d1
movq %rbx, %rdi
callq 0x11909
cmpb $0x3d, %al
je 0x11785
movzbl %al, %eax
cmpl $0x26, %eax
jne 0x1179a
pushq $0x2a
jmp 0x117d1
pushq $0x40
jmp 0x117d1
movq %rbx, %rdi
callq 0x11909
cmpb $0x3d, %al
jne 0x11739
pushq $0x2e
jmp 0x117d1
movq %rbx, %rdi
callq 0x11909
cmpb $0x3d, %al
jne 0x11745
pushq $0x24
jmp 0x117d1
movq %rbx, %rdi
callq 0x11909
cmpb $0x3d, %al
jne 0x11751
pushq $0x22
jmp 0x117d1
pushq $0x39
jmp 0x117d1
movq %rbx, %rdi
callq 0x11909
cmpb $0x3d, %al
je 0x11792
movzbl %al, %eax
cmpl $0x2d, %eax
jne 0x117a7
pushq $0x2d
jmp 0x117d1
movq %rbx, %rdi
callq 0x11909
cmpb $0x3d, %al
je 0x11796
movzbl %al, %eax
cmpl $0x2b, %eax
jne 0x117b0
pushq $0x2c
jmp 0x117d1
pushq $0x32
jmp 0x117d1
pushq $0x3f
jmp 0x117d1
movq %rbx, %rdi
callq 0x11909
cmpb $0x3d, %al
je 0x117a3
movzbl %al, %eax
cmpl $0x3c, %eax
jne 0x117bd
movq %rbx, %rdi
callq 0x11909
cmpb $0x3d, %al
jne 0x1183f
pushq $0x28
jmp 0x117d1
movq %rbx, %rdi
callq 0x11909
cmpb $0x2e, %al
jne 0x11766
pushq $0x44
jmp 0x117d1
movq %rbx, %rdi
callq 0x11909
cmpb $0x3d, %al
jne 0x1176f
pushq $0x23
jmp 0x117d1
movq %rbx, %rdi
callq 0x11909
cmpb $0x3d, %al
je 0x117b9
movzbl %al, %eax
cmpl $0x3e, %eax
jne 0x117c6
movq %rbx, %rdi
callq 0x11909
cmpb $0x3d, %al
jne 0x11848
pushq $0x29
jmp 0x117d1
pushq $0x4b
jmp 0x117d1
pushq $0x3d
jmp 0x117d1
pushq $0x3a
jmp 0x117d1
pushq $0x3b
jmp 0x117d1
movq %rbx, %rdi
callq 0x11909
cmpb $0x3d, %al
jne 0x11778
pushq $0x27
jmp 0x117d1
movq %rbx, %rdi
callq 0x11909
cmpb $0x3d, %al
je 0x117cf
movzbl %al, %eax
cmpl $0x7c, %eax
jne 0x11836
pushq $0x2b
jmp 0x117d1
movl $0x31, 0x28(%rbx)
jmp 0x117e3
movl $0x1a, 0x28(%rbx)
jmp 0x117e3
movl $0x18, 0x28(%rbx)
jmp 0x117e3
movl $0x33, 0x28(%rbx)
jmp 0x117e3
movl $0x43, 0x28(%rbx)
jmp 0x117e3
movl $0x19, 0x28(%rbx)
jmp 0x117e3
movl $0x1d, 0x28(%rbx)
jmp 0x117e3
pushq $0x37
jmp 0x117d1
pushq $0x25
jmp 0x117d1
movl $0x41, 0x28(%rbx)
jmp 0x117e3
pushq $0x21
jmp 0x117d1
pushq $0x20
jmp 0x117d1
movl $0x1b, 0x28(%rbx)
jmp 0x117e3
pushq $0x35
jmp 0x117d1
movl $0x17, 0x28(%rbx)
jmp 0x117e3
movl $0x16, 0x28(%rbx)
jmp 0x117e3
pushq $0x36
jmp 0x117d1
movl $0x2f, 0x28(%rbx)
jmp 0x117e3
movl $0x30, 0x28(%rbx)
jmp 0x117e3
pushq $0x26
popq %rax
movl %eax, 0x28(%rbx)
movq %rbx, %rdi
callq 0x11909
cmpl $0x0, 0x28(%rbx)
je 0x117f5
addq $0x2a8, %rsp            # imm = 0x2A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x10(%rbx), %rax
movslq 0x18(%rbx), %rcx
cmpb $0x0, (%rax,%rcx)
je 0x1182d
movq 0x268(%rbx), %rax
movq (%rax), %rcx
movq 0x20(%rax), %rdi
leaq 0x59c5a(%rip), %rsi     # 0x6b472
xorl %eax, %eax
addq $0x2a8, %rsp            # imm = 0x2A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rcx
movl $0x4c, 0x28(%rbx)
jmp 0x117e3
movl $0x1c, 0x28(%rbx)
jmp 0x117e3
movl $0x1e, 0x28(%rbx)
jmp 0x117e3
movl $0x1f, 0x28(%rbx)
jmp 0x117e3