// File: /workspace/github_c_makefile_star2_O2/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 $0x108, %rsp            # imm = 0x108
movq %rdi, %rbx
callq 0x2a08b
movl %eax, %r12d
leaq 0x1775f(%rip), %r14     # 0x413f0
leaq 0x17868(%rip), %rbp     # 0x41500
cmpl $-0x1, %r12d
je 0x29f70
callq 0xe310
movq (%rax), %rax
movl %r12d, %r13d
testb $0x20, 0x1(%rax,%r13,2)
jne 0x29d0f
movq %rbx, %rdi
callq 0x2a02b
movq %rax, 0x28(%rbx)
andq $0x0, 0x18(%rbx)
movzbl 0x1(%r13,%r14), %eax
testb $0x2, %al
jne 0x29d26
testb $0x1, %al
jne 0x29e4a
movq %rbx, %rdi
callq 0x2a08b
cmpl $0x22, %r12d
je 0x29e35
cmpl $0x27, %r12d
je 0x29d43
cmpl $0x2f, %r12d
je 0x29d4f
cmpl $0x2e, %r12d
jne 0x29d81
leal -0x30(%rax), %ecx
cmpl $0x9, %ecx
ja 0x29d81
pushq $0x2e
popq %rdi
movl %eax, %esi
jmp 0x29d33
movl $0x1, 0x1c(%rbx)
movq %rbx, %rdi
callq 0x2a08b
movl %eax, %r12d
jmp 0x29c98
movq %rbx, %rdi
callq 0x2a08b
movl %r12d, %edi
movl %eax, %esi
movq %rbx, %rdx
callq 0x2a225
movl %eax, %r12d
jmp 0x29c98
movl %eax, %edi
movq %rbx, %rsi
pushq $0x6
jmp 0x29e3c
cmpl $0x2a, %eax
je 0x29f16
cmpl $0x2f, %eax
jne 0x29d81
movq %rbx, %rdi
callq 0x2a596
movq %rbx, %rdi
callq 0x2a08b
movl %eax, %r12d
cmpl $-0x1, %eax
je 0x29c98
cmpl $0xa, %r12d
jne 0x29d65
jmp 0x29d16
leal 0x1(%rax), %ecx
testb $0x20, (%rcx,%r14)
je 0x29dfa
leal (,%r12,8), %ecx
leal (%rcx,%rax,2), %ecx
movl %ecx, %r15d
shrl $0x5, %r15d
addl %ecx, %r15d
andl $0x1f, %r15d
movzbl (%rbp,%r15,2), %ecx
cmpl %ecx, %r12d
jne 0x29dfa
movzbl 0x1(%rbp,%r15,2), %ecx
cmpl %ecx, %eax
jne 0x29dfa
leaq 0x17780(%rip), %rax     # 0x41540
movl (%rax,%r15,4), %r12d
movq %rbx, %rdi
callq 0x2a08b
movl $0x84000400, %ecx       # imm = 0x84000400
btl %r15d, %ecx
jae 0x29dfa
leal -0x112(%r12), %ecx
leaq 0x179c1(%rip), %rdx     # 0x417a7
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jne 0x29dfa
addl $0x3, %r12d
movq %rbx, %rdi
callq 0x2a08b
movq 0x28(%rbx), %rcx
movq (%rcx), %rdx
andq $-0x40, %rdx
orq $0x12, %rdx
movq %rdx, (%rcx)
movl %r12d, 0x10(%rcx)
movq 0x28(%rbx), %rcx
andq $0x0, 0x28(%rbx)
leaq 0x8(%rcx), %rdx
andq $0x0, 0x8(%rcx)
movq 0x20(%rbx), %rsi
movq %rcx, (%rsi)
movq %rdx, 0x20(%rbx)
movl %eax, %r12d
jmp 0x29c98
movl %eax, %edi
movq %rbx, %rsi
pushq $0x10
popq %rdx
callq 0x2a34d
movl %eax, %r12d
jmp 0x29c98
movb %r12b, (%rsp)
pushq $0x1
popq %rbp
movq %rbx, %rdi
callq 0x2a08b
movl %eax, %r15d
leal 0x1(%r15), %eax
movzbl (%rax,%r14), %eax
testb $0x3, %al
je 0x29e85
cmpq $0xff, %rbp
ja 0x29e85
imulq $0xb, %r13, %rax
movl %r15d, %r13d
addq %rax, %r13
movb %r15b, (%rsp,%rbp)
incq %rbp
jmp 0x29e51
testb $0x40, %al
je 0x29eb2
cmpq $0x1, %rbp
setne %al
cmpb $0x4c, %r12b
setne %cl
orb %al, %cl
jne 0x29eb2
movq %rbx, %rdi
callq 0x2a08b
movl %eax, %edi
movq %rbx, %rsi
cmpl $0x27, %r15d
jne 0x29f06
pushq $0xb
jmp 0x29f08
movl %r13d, %edx
shrl $0xd, %edx
addl %r13d, %edx
andl $0x1fff, %edx           # imm = 0x1FFF
movq %rsp, %rdi
movl %ebp, %esi
callq 0x29b05
movq 0x28(%rbx), %rcx
movq (%rcx), %rdx
andq $-0x40, %rdx
orq $0x3, %rdx
movq %rdx, (%rcx)
movq %rax, 0x10(%rcx)
movq 0x28(%rbx), %rax
andq $0x0, 0x28(%rbx)
leaq 0x8(%rax), %rcx
andq $0x0, 0x8(%rax)
movq 0x20(%rbx), %rdx
movq %rax, (%rdx)
movq %rcx, 0x20(%rbx)
movl %r15d, %r12d
jmp 0x29c91
pushq $0x11
popq %rdx
callq 0x2a34d
movl %eax, %r12d
jmp 0x29c91
movq %rbx, %rdi
callq 0x2a596
movl 0x18(%rbx), %r15d
movq %rbx, %rdi
callq 0x2a08b
movl %eax, %ebp
movq %rbx, %rdi
cmpl $-0x1, %ebp
je 0x29f55
callq 0x2a08b
xorl $0x2a, %ebp
movl %eax, %ecx
xorl $0x2f, %ecx
orl %ebp, %ecx
movl %eax, %ebp
jne 0x29f2c
movl %r15d, 0x18(%rbx)
movq %rbx, %rdi
callq 0x2a08b
jmp 0x29f0e
callq 0x2a052
movq %rax, %rdi
leaq 0x17847(%rip), %rsi     # 0x417ab
xorl %eax, %eax
callq 0x1108a
pushq $-0x1
popq %rax
jmp 0x29f0e
movq %rbx, %rdi
callq 0x2a02b
movq (%rax), %rcx
movq %rcx, 0x5665e(%rip)     # 0x805e0
leaq 0x56657(%rip), %rdx     # 0x805e0
andq $-0x100040, %rcx        # imm = 0xFFEFFFC0
orq $0x100014, %rcx         # imm = 0x100014
movq %rcx, (%rax)
movq %rdx, 0x56647(%rip)     # 0x805e8
orb $0x10, 0x5663a(%rip)    # 0x805e2
movq %rdx, 0x8(%rax)
movq 0x20(%rbx), %rcx
movq %rax, (%rcx)
andq $0x0, 0x20(%rbx)
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq