// File: /workspace/github_c_makefile_star2_O1/lucvoo[P]sparse-dev/tokenize.c
// Function: tokenize_stream
static struct token *tokenize_stream(stream_t *stream)
{
	int c = nextchar(stream);
	while (c != EOF) {
		if (!isspace(c)) {
			struct token *token = alloc_token(stream);
			stream->token = token;
			stream->newline = 0;
			stream->whitespace = 0;
			c = get_one_token(c, stream);
			continue;
		}
		stream->whitespace = 1;
		c = nextchar(stream);
	}
	return mark_eof(stream);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movq %rdi, %rbx
callq 0x2f4dd
cmpl $-0x1, %eax
je 0x2f383
movl %eax, %r13d
callq 0xe300
movq %rax, %r15
leaq 0x1a42e(%rip), %r12     # 0x493d0
movq %rax, 0x8(%rsp)
movq (%r15), %rax
movslq %r13d, %rcx
testb $0x20, 0x1(%rax,%rcx,2)
jne 0x2f015
movq %rbx, %rdi
callq 0x2f494
movq %rax, 0x28(%rbx)
movq $0x0, 0x18(%rbx)
movl %r13d, %r14d
leaq 0x1a2ee(%rip), %rax     # 0x492c0
movzbl 0x1(%r14,%rax), %eax
testb $0x2, %al
jne 0x2f026
testb $0x1, %al
jne 0x2f04d
movq %rbx, %rdi
callq 0x2f4dd
cmpl $0x2d, %r13d
jg 0x2f0ba
cmpl $0x22, %r13d
je 0x2f179
cmpl $0x27, %r13d
jne 0x2f1dc
movl %eax, %edi
movq %rbx, %rsi
movl $0x6, %edx
jmp 0x2f183
movl $0x1, 0x1c(%rbx)
movq %rbx, %rdi
callq 0x2f4dd
jmp 0x2f03b
movq %rbx, %rdi
callq 0x2f4dd
movl %r13d, %edi
movl %eax, %esi
movq %rbx, %rdx
callq 0x2f6f5
movl %eax, %r13d
cmpl $-0x1, %r13d
jne 0x2efa7
jmp 0x2f383
movb %r13b, 0x10(%rsp)
movq %rbx, %rdi
callq 0x2f4dd
movl %eax, %ebp
incl %eax
leaq 0x1a25b(%rip), %rcx     # 0x492c0
movzbl (%rax,%rcx), %eax
testb $0x3, %al
je 0x2f0e6
movl $0x1, %r12d
movq %r12, %r15
leaq (%r14,%r14,4), %rax
leaq (%r14,%rax,2), %rax
movl %ebp, %r14d
addq %rax, %r14
movb %bpl, 0x10(%rsp,%r12)
incq %r12
movq %rbx, %rdi
callq 0x2f4dd
movl %eax, %ebp
incl %eax
leaq 0x1a221(%rip), %rcx     # 0x492c0
movzbl (%rax,%rcx), %eax
cmpq $0xfe, %r15
ja 0x2f0b3
movl %eax, %ecx
andl $0x3, %ecx
jne 0x2f073
movq 0x8(%rsp), %r15
jmp 0x2f0ec
cmpl $0x2f, %r13d
je 0x2f18d
cmpl $0x2e, %r13d
jne 0x2f1dc
leal -0x30(%rax), %ecx
cmpl $0x9, %ecx
ja 0x2f1dc
movl $0x2e, %edi
movl %eax, %esi
jmp 0x2f033
movl $0x1, %r12d
testb $0x40, %al
je 0x2f122
cmpl $0x1, %r12d
setne %al
cmpb $0x4c, %r13b
setne %cl
orb %al, %cl
jne 0x2f122
movq %rbx, %rdi
callq 0x2f4dd
movl %eax, %edi
movq %rbx, %rsi
cmpl $0x27, %ebp
jne 0x2f294
movl $0xb, %edx
jmp 0x2f299
movl %r14d, %edx
shrl $0xd, %edx
addl %r14d, %edx
andl $0x1fff, %edx           # imm = 0x1FFF
leaq 0x10(%rsp), %rdi
movl %r12d, %esi
callq 0x2ee15
movq 0x28(%rbx), %rcx
movq (%rcx), %rdx
andq $-0x40, %rdx
orq $0x3, %rdx
movq %rdx, (%rcx)
movq %rax, 0x10(%rcx)
movq 0x28(%rbx), %rax
xorl %edx, %edx
movq %rdx, 0x28(%rbx)
leaq 0x8(%rax), %rcx
movq %rdx, 0x8(%rax)
movq 0x20(%rbx), %rdx
movq %rax, (%rdx)
movq %rcx, 0x20(%rbx)
movl %ebp, %r13d
jmp 0x2f2a1
movl %eax, %edi
movq %rbx, %rsi
movl $0x10, %edx
callq 0x2f84b
jmp 0x2f03b
cmpl $0x2a, %eax
je 0x2f2ad
cmpl $0x2f, %eax
jne 0x2f1dc
movq 0x28(%rbx), %rax
movl (%rax), %ecx
shrl $0x14, %ecx
andl $0x1, %ecx
orl %ecx, 0x18(%rbx)
movl (%rax), %eax
shrl $0x15, %eax
andl $0x1, %eax
orl %eax, 0x1c(%rbx)
movq $0x0, 0x28(%rbx)
movq %rbx, %rdi
callq 0x2f4dd
movl %eax, %r13d
cmpl $-0x1, %eax
je 0x2f03e
cmpl $0xa, %r13d
jne 0x2f1bd
jmp 0x2f01c
leal 0x1(%rax), %ecx
leaq 0x1a0da(%rip), %rdx     # 0x492c0
testb $0x20, (%rcx,%rdx)
je 0x2f259
leal (,%r13,8), %ecx
leal (%rcx,%rax,2), %ecx
movl %ecx, %r14d
shrl $0x5, %r14d
addl %ecx, %r14d
andl $0x1f, %r14d
movzbl (%r12,%r14,2), %ecx
cmpl %ecx, %r13d
jne 0x2f259
movzbl 0x1(%r12,%r14,2), %ecx
cmpl %ecx, %eax
jne 0x2f259
leaq 0x1a1f0(%rip), %rax     # 0x49410
movl (%rax,%r14,4), %r13d
movq %rbx, %rdi
callq 0x2f4dd
movl $0x84000400, %ecx       # imm = 0x84000400
btl %r14d, %ecx
jae 0x2f259
leal -0x112(%r13), %ecx
leaq 0x1a442(%rip), %rdx     # 0x49687
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jne 0x2f259
addl $0x3, %r13d
movq %rbx, %rdi
callq 0x2f4dd
movq 0x28(%rbx), %rcx
movq (%rcx), %rdx
andq $-0x40, %rdx
orq $0x12, %rdx
movq %rdx, (%rcx)
movl %r13d, 0x10(%rcx)
movq 0x28(%rbx), %rcx
xorl %esi, %esi
movq %rsi, 0x28(%rbx)
leaq 0x8(%rcx), %rdx
movq %rsi, 0x8(%rcx)
movq 0x20(%rbx), %rsi
movq %rcx, (%rsi)
movq %rdx, 0x20(%rbx)
movl %eax, %r13d
jmp 0x2f03e
movl $0x11, %edx
callq 0x2f84b
movl %eax, %r13d
leaq 0x1a128(%rip), %r12     # 0x493d0
jmp 0x2f03e
movq %r15, %r14
movq 0x28(%rbx), %rax
movl (%rax), %r15d
shrl $0x14, %r15d
andl $0x1, %r15d
orl 0x18(%rbx), %r15d
movl %r15d, 0x18(%rbx)
movl (%rax), %eax
shrl $0x15, %eax
andl $0x1, %eax
orl %eax, 0x1c(%rbx)
movq $0x0, 0x28(%rbx)
movq %rbx, %rdi
callq 0x2f4dd
movl %eax, %ebp
movl $0x7fffffff, %r13d      # imm = 0x7FFFFFFF
cmpl $-0x1, %ebp
je 0x2f30c
movq %rbx, %rdi
callq 0x2f4dd
xorl $0x2a, %ebp
movl %eax, %edx
xorl $0x2f, %edx
xorl %ecx, %ecx
orl %ebp, %edx
sete %cl
addl %ecx, %ecx
movl %eax, %ebp
jmp 0x2f35b
movl 0xc(%rbx), %eax
movl 0x14(%rbx), %ecx
shll $0x6, %ecx
movl 0x18(%rbx), %edx
andl $0x1, %edx
shll $0x14, %edx
andl $0xfffc0, %ecx          # imm = 0xFFFC0
orl %edx, %ecx
movl 0x1c(%rbx), %edx
shll $0x16, %eax
andl $0x1, %edx
shll $0x15, %edx
orl %ecx, %edx
orl %eax, %edx
movl 0x10(%rbx), %edi
andl %r13d, %edi
shlq $0x20, %rdi
orq %rdx, %rdi
leaq 0x1a341(%rip), %rsi     # 0x4968b
xorl %eax, %eax
callq 0x118b4
movl $0x1, %ecx
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
testl %ecx, %ecx
je 0x2f2ea
cmpl $0x2, %ecx
jne 0x2f375
movl %r15d, 0x18(%rbx)
movq %rbx, %rdi
callq 0x2f4dd
movl %eax, %r13d
jmp 0x2f37b
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
movq %r14, %r15
jmp 0x2f03e
movq %rbx, %rdi
callq 0x2f494
movq (%rax), %rcx
movq %rcx, 0x5824b(%rip)     # 0x875e0
movq $-0x100040, %rcx        # imm = 0xFFEFFFC0
andq (%rax), %rcx
leaq 0x5823a(%rip), %rdx     # 0x875e0
orq $0x100014, %rcx         # imm = 0x100014
movq %rcx, (%rax)
movq %rdx, 0x58231(%rip)     # 0x875e8
orb $0x10, 0x58224(%rip)    # 0x875e2
movq %rdx, 0x8(%rax)
movq 0x20(%rbx), %rcx
movq %rax, (%rcx)
movq $0x0, 0x20(%rbx)
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq