// File: /workspace/github_c_makefile_star2_O1/michaelforney[P]cproc/scan.c
// Function: scan
void
scan(struct token *t)
{
	scanner->sawspace = false;
	for (;;) {
		t->kind = scankind(scanner, &t->loc);
		if (t->kind != TEOF || !scanner->next)
			break;
		scanclose();
		scanner = scanner->next;
		scanopen();
	}
	if (scanner->usebuf) {
		t->lit = bufget(&scanner->buf);
		scanner->usebuf = false;
	} else {
		t->lit = NULL;
	}
	t->space = scanner->sawspace;
	t->hide = false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x10431(%rip), %rax     # 0x1c050
movb $0x0, 0x5(%rax)
leaq 0x8(%rdi), %r13
leaq 0x91da(%rip), %r14      # 0x14e08
movq %rdi, 0x8(%rsp)
movq 0x10416(%rip), %r15     # 0x1c050
leaq 0x10(%r15), %r12
movq 0x10(%r12), %rax
movq %rax, 0x10(%r13)
movups (%r12), %xmm0
movups %xmm0, (%r13)
movslq (%r15), %rbp
cmpq $0x4b, %rbp
jg 0xbd24
leal 0x1(%rbp), %eax
cmpl $0x40, %eax
ja 0xc114
leaq 0x8f93(%rip), %rcx      # 0x14c04
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movb $0x1, 0x5(%r15)
movq %r15, %rdi
callq 0xbb3a
jmp 0xbc3e
movq %r15, %rdi
callq 0xbb3a
movl (%r15), %ebx
movl $0x50, %ebp
cmpl $0x3d, %ebx
jne 0xbcab
movq %r15, %rdi
callq 0xbb3a
movl $0x65, %ebp
cmpl $0x3d, %ebx
je 0xc10a
movl (%r15), %eax
cmpl $0x2a, %eax
movq 0x8(%rsp), %rbx
je 0xbce1
cmpl $0x2f, %eax
jne 0xc056
movq %r15, %rdi
callq 0xbb3a
movl (%r15), %eax
cmpl $-0x1, %eax
je 0xbd1a
cmpl $0xa, %eax
jne 0xbcca
jmp 0xbd1a
movq %r15, %rdi
callq 0xbb3a
movl (%r15), %ebp
movq %r15, %rdi
callq 0xbb3a
cmpl $-0x1, (%r15)
jne 0xbd07
movq %r12, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0xd56a
cmpl $0x2a, %ebp
jne 0xbce9
cmpl $0x2f, (%r15)
jne 0xbce9
movq %r15, %rdi
callq 0xbb3a
movb $0x1, 0x5(%r15)
jmp 0xbc3e
leal -0x75(%rbp), %eax
cmpl $0x9, %eax
jbe 0xbd56
leal -0x55(%rbp), %eax
cmpl $0x9, %eax
ja 0xbd78
leaq 0x8fcd(%rip), %rcx      # 0x14d08
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %r15, %rdi
callq 0xbb3a
movl $0x40, %ebp
jmp 0xc056
leaq 0x8fd3(%rip), %rcx      # 0x14d30
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %r15, %rdi
callq 0xbb3a
movl $0x44, %ebp
jmp 0xc056
cmpl $0x4c, %ebp
jne 0xc114
movb $0x1, 0x4(%r15)
movq %r15, %rdi
callq 0xbb3a
movq 0x28(%r15), %rax
cmpb $0x75, (%rax)
jne 0xbda5
cmpl $0x38, (%r15)
jne 0xbda5
movq %r15, %rdi
callq 0xbb3a
movl (%r15), %eax
cmpl $0x22, %eax
je 0xbdc8
cmpl $0x27, %eax
jne 0xc149
movq %r15, %rdi
callq 0xc335
movl $0x6, %ebp
jmp 0xc056
movq %r15, %rdi
callq 0xc274
movl $0x7, %ebp
jmp 0xc056
movq %r15, %rdi
movl $0x5b, %esi
movl $0x6d, %edx
movl $0x5d, %ecx
jmp 0xc04f
movq %r15, %rdi
callq 0xbb3a
movl $0x45, %ebp
jmp 0xc056
movq %r15, %rdi
callq 0xbb3a
movl $0x4e, %ebp
jmp 0xc056
movq %r15, %rdi
callq 0xbb3a
movl $0x5a, %ebp
cmpl $0x3d, (%r15)
jne 0xc056
movq %r15, %rdi
callq 0xbb3a
movl $0x6c, %ebp
jmp 0xc056
movq %r15, %rdi
callq 0xbb3a
movl $0x41, %ebp
jmp 0xc056
movq %r15, %rdi
callq 0xbb3a
movl $0x42, %ebp
jmp 0xc056
movq %r15, %rdi
callq 0xbb3a
movl $0x6e, %ebp
jmp 0xc056
movq %r15, %rdi
callq 0xbb3a
movl $0x6f, %ebp
cmpl $0x23, (%r15)
jne 0xc056
movq %r15, %rdi
callq 0xbb3a
movl $0x70, %ebp
jmp 0xc056
movq %r15, %rdi
callq 0xbb3a
movl $0x63, %ebp
cmpl $0x3d, (%r15)
jne 0xc056
movq %r15, %rdi
callq 0xbb3a
movl $0x58, %ebp
jmp 0xc056
movq %r15, %rdi
movl $0x55, %esi
movl $0x57, %edx
movl $0x53, %ecx
movl $0x6a, %r8d
jmp 0xbf9f
movq %r15, %rdi
callq 0xbb3a
movl $0x5f, %ebp
cmpl $0x3a, (%r15)
jne 0xc056
movq %r15, %rdi
callq 0xbb3a
movl $0x60, %ebp
jmp 0xc056
movq %r15, %rdi
callq 0xbb3a
movl $0x5e, %ebp
jmp 0xc056
movq %r15, %rdi
callq 0xbb3a
movl $0x4b, %ebp
cmpl $0x3d, (%r15)
jne 0xc056
movq %r15, %rdi
callq 0xbb3a
movl $0x64, %ebp
jmp 0xc056
movq %r15, %rdi
callq 0xbb3a
movl $0x4f, %ebp
cmpl $0x3d, (%r15)
jne 0xc056
movq %r15, %rdi
callq 0xbb3a
movl $0x59, %ebp
jmp 0xc056
movq %r15, %rdi
movl $0x4c, %esi
movl $0x67, %edx
movl $0x48, %ecx
jmp 0xc04f
movq %r15, %rdi
movl $0x54, %esi
movl $0x56, %edx
movl $0x52, %ecx
movl $0x69, %r8d
callq 0xc3b7
jmp 0xc054
movq %r15, %rdi
callq 0xbb3a
callq 0x3240
movq (%rax), %rcx
movslq (%r15), %rax
testb $0x8, 0x1(%rcx,%rax,2)
jne 0xc15b
movl $0x46, %ebp
cmpl $0x2e, %eax
jne 0xc056
movq 0x10(%r12), %rax
movq %rax, 0x20(%rsp)
movups (%r12), %xmm0
movaps %xmm0, 0x10(%rsp)
movq %r15, %rdi
callq 0xbb3a
movl (%r15), %edi
cmpl $0x2e, %edi
jne 0xc17b
movq %r15, %rdi
callq 0xbb3a
movl $0x62, %ebp
jmp 0xc056
movq %r15, %rdi
callq 0xbb3a
movl $0x51, %ebp
cmpl $0x3d, (%r15)
jne 0xc056
movq %r15, %rdi
callq 0xbb3a
movl $0x66, %ebp
jmp 0xc056
movq %r15, %rdi
callq 0xbb3a
movl $0x43, %ebp
jmp 0xc056
movq %r15, %rdi
movl $0x4a, %esi
movl $0x6b, %edx
movl $0x5c, %ecx
callq 0xc2f6
movl %eax, %ebp
movl %ebp, (%rbx)
cmpl $0x1, %ebp
jne 0xc1a4
movq 0xffe8(%rip), %rax      # 0x1c050
cmpq $0x0, 0x40(%rax)
je 0xc1a4
movq 0x8(%rax), %rdi
callq 0x3080
movq 0xffcd(%rip), %r15      # 0x1c050
movq 0x28(%r15), %rdi
callq 0x3250
movq %r15, %rdi
callq 0x3250
movq 0x40(%r15), %rax
movq %rax, 0xffb1(%rip)      # 0x1c050
callq 0xbb9e
jmp 0xbc33
movl $0x1, %ebp
jmp 0xc056
movq %r15, %rdi
movl $0x4d, %esi
movl $0x68, %edx
movl $0x49, %ecx
callq 0xc2f6
movl %eax, %ebp
cmpl $0x4d, %eax
jne 0xc056
cmpl $0x3e, (%r15)
jne 0xc056
movq %r15, %rdi
callq 0xbb3a
movl $0x47, %ebp
jmp 0xc056
movq %r15, %rdi
callq 0xbb3a
movl $0x2, %ebp
jmp 0xc056
movq %r15, %rdi
callq 0xbb3a
movl $0x61, %ebp
jmp 0xc056
movq 0x8(%rsp), %rbx
jmp 0xc056
callq 0x3240
movq (%rax), %rax
movzwl (%rax,%rbp,2), %eax
btl $0xb, %eax
jb 0xc169
cmpl $0x5f, %ebp
je 0xc149
andl $0x400, %eax            # imm = 0x400
jne 0xc149
movb $0x1, 0x4(%r15)
movq %r15, %rdi
callq 0xbb3a
movl $0x3, %ebp
jmp 0xc056
movq %r15, %rdi
callq 0xc4a1
movl $0x4, %ebp
jmp 0xc056
leaq 0x28(%r15), %rdi
movl $0x2e, %esi
callq 0xc223
movq %r15, %rdi
callq 0xc416
movl $0x5, %ebp
jmp 0xc056
movq 0x8(%r15), %rsi
callq 0x31a0
movaps 0x10(%rsp), %xmm0
movups %xmm0, (%r12)
movq 0x20(%rsp), %rax
movq %rax, 0x10(%r12)
movl $0x2e, (%r15)
jmp 0xc056
movq 0xfea5(%rip), %rbx      # 0x1c050
cmpb $0x1, 0x4(%rbx)
jne 0xc1f6
leaq 0x28(%rbx), %rdi
xorl %esi, %esi
callq 0xc223
movq 0x30(%rbx), %rdi
callq 0xe13e
movq %rax, %r14
movq 0x28(%rbx), %rsi
movq 0x30(%rbx), %rdx
movq %rax, %rdi
callq 0x3170
movq $0x0, 0x30(%rbx)
movq 0x8(%rsp), %rcx
movq %r14, 0x20(%rcx)
movq 0xfe60(%rip), %rax      # 0x1c050
movb $0x0, 0x4(%rax)
jmp 0xc203
movq 0x8(%rsp), %rcx
movq $0x0, 0x20(%rcx)
movq 0xfe46(%rip), %rax      # 0x1c050
movb 0x5(%rax), %al
movb %al, 0x5(%rcx)
movb $0x0, 0x4(%rcx)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq