// File: /workspace/github_c_makefile_star2_O0/aap[P]rx-0/misc/wwas.c
// Function: token
Token
token(void)
{
	static char *self = "+-!,=$*&()[]<>";
	int c;
	Token t;

tail:
	if(peekt.type != None){
		t = peekt;
		peekt.type = None;
		return t;
	}

	while(c = chsp(), c != EOF){
		if(isdigit(c)){
			peekc = c;
			return number();
		}else if(isalpha(c)){
			peekc = c;
			t = symbol();
			return t;
		}else if(strchr(self, c)){
			t.type = c;
			return t;
		}else switch(c){
		case '.':
			t.type = TokSymbol;
			t.sym = dot;
			return t;
		case ';':
		case '\n':
			t.type = TokEol;
			return t;
		case '"':
			t.type = TokWord;
			t.w = ch() | 0200;
			return t;
		case '/':
			while(ch() != '\n');
			t.type = TokEol;
			return t;
		default:
			err(0, "warning: ignored character %c", ch());
		}
	}
	t.type = TokEol;
	return t;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
cmpl $0x0, 0x1afa9(%rip)     # 0x1cad8
je 0x1b66
movq 0x1afa0(%rip), %rax     # 0x1cad8
movq %rax, -0x28(%rbp)
movq 0x1af9d(%rip), %rax     # 0x1cae0
movq %rax, -0x20(%rbp)
movl $0x0, 0x1af87(%rip)     # 0x1cad8
movq -0x28(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x1d25
jmp 0x1b68
callq 0x17a0
movl %eax, -0x14(%rbp)
cmpl $-0x1, -0x14(%rbp)
je 0x1d0e
callq 0x1160
movq (%rax), %rax
movslq -0x14(%rbp), %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x800, %eax            # imm = 0x800
cmpl $0x0, %eax
je 0x1bae
movl -0x14(%rbp), %eax
movl %eax, 0x1af23(%rip)     # 0x1cac0
callq 0x1950
movl %eax, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
jmp 0x1d25
callq 0x1160
movq (%rax), %rax
movslq -0x14(%rbp), %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x400, %eax            # imm = 0x400
cmpl $0x0, %eax
je 0x1c02
movl -0x14(%rbp), %eax
movl %eax, 0x1aeef(%rip)     # 0x1cac0
callq 0x1a90
movl %eax, -0x38(%rbp)
movq %rdx, -0x30(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x1d25
movq 0x34df(%rip), %rdi      # 0x50e8
movl -0x14(%rbp), %esi
callq 0x1070
cmpq $0x0, %rax
je 0x1c32
movl -0x14(%rbp), %eax
movl %eax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x1d25
movl -0x14(%rbp), %eax
addl $-0xa, %eax
movl %eax, %ecx
movq %rcx, -0x40(%rbp)
subl $0x31, %eax
ja 0x1cec
movq -0x40(%rbp), %rax
leaq 0x13b2(%rip), %rcx      # 0x3004
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x81, -0x28(%rbp)
movq 0x1ae7f(%rip), %rax     # 0x1cae8
movq %rax, -0x20(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x1d25
movl $0x80, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x1d25
movl $0x82, -0x28(%rbp)
callq 0x1600
orl $0x80, %eax
movw %ax, -0x20(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x1d25
jmp 0x1cc7
callq 0x1600
cmpl $0xa, %eax
je 0x1cd3
jmp 0x1cc7
movl $0x80, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x1d25
callq 0x1600
movl %eax, %edx
xorl %edi, %edi
leaq 0x1579(%rip), %rsi      # 0x3275
movb $0x0, %al
callq 0x1270
jmp 0x1d05
jmp 0x1d07
jmp 0x1d09
jmp 0x1b68
movl $0x80, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x8(%rbp)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rdx
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)