// File: /workspace/github_c_makefile_star2_O2/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 0x112d8(%rip), %r14     # 0x1c050
movb $0x0, 0x5(%r14)
movq %rdi, 0x8(%rsp)
leaq 0x8(%rdi), %r12
leaq 0x8ed7(%rip), %rbx      # 0x13c64
leaq 0x90d4(%rip), %r13      # 0x13e68
leaq 0x10(%r14), %r15
movq 0x10(%r15), %rax
movq %rax, 0x10(%r12)
movups (%r15), %xmm0
movups %xmm0, (%r12)
movl (%r14), %ebp
leal 0x1(%rbp), %eax
cmpl $0x40, %eax
ja 0xaeb0
movslq (%rbx,%rax,4), %rax
addq %rbx, %rax
jmpq *%rax
movb $0x1, 0x5(%r14)
movq %r14, %rdi
callq 0xac9c
jmp 0xad98
movq %r14, %rdi
pushq $0x50
popq %rsi
pushq $0x65
popq %rdx
callq 0xb2cd
cmpl $0x50, %eax
jne 0xb18c
movl (%r14), %eax
cmpl $0x2a, %eax
je 0xae10
cmpl $0x2f, %eax
jne 0xb1ce
movq %r14, %rdi
callq 0xac9c
movl (%r14), %eax
cmpl $-0x1, %eax
je 0xae4b
cmpl $0xa, %eax
jne 0xadf9
jmp 0xae4b
movq %r14, %rdi
callq 0xac9c
movl (%r14), %ebp
movq %r14, %rdi
callq 0xac9c
cmpl $-0x1, (%r14)
jne 0xae36
movq %r15, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0xc536
cmpl $0x2a, %ebp
jne 0xae18
movl (%r14), %ebp
cmpl $0x2f, %ebp
jne 0xae1b
movq %r14, %rdi
callq 0xac9c
movb $0x1, 0x5(%r14)
jmp 0xad98
movq 0x8(%rsp), %rbp
movl $0x1, (%rbp)
movq 0x111e8(%rip), %r15     # 0x1c050
cmpq $0x0, 0x40(%r15)
je 0xb1f2
movq 0x8(%r15), %rdi
callq 0x3080
movq 0x111cd(%rip), %r14     # 0x1c050
movq 0x28(%r14), %rdi
callq 0x3250
movq %r14, %rdi
callq 0x3250
movq 0x40(%r14), %rax
movq %rax, 0x111b1(%rip)     # 0x1c050
callq 0xacfa
movq 0x111a5(%rip), %r14     # 0x1c050
jmp 0xad94
leal -0x75(%rbp), %eax
cmpl $0x9, %eax
ja 0xaed7
leaq 0x8ed1(%rip), %rcx      # 0x13d90
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %r14, %rdi
callq 0xac9c
pushq $0x44
jmp 0xb1e2
leal -0x55(%rbp), %eax
cmpl $0x9, %eax
ja 0xaefe
leaq 0x8e82(%rip), %rcx      # 0x13d68
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %r14, %rdi
callq 0xac9c
pushq $0x40
jmp 0xb1e2
cmpl $0x4c, %ebp
jne 0xaf52
movb $0x1, 0x4(%r14)
movq %r14, %rdi
callq 0xac9c
movq 0x28(%r14), %rax
cmpb $0x75, (%rax)
jne 0xaf29
movl (%r14), %eax
cmpl $0x38, %eax
jne 0xaf2c
movq %r14, %rdi
callq 0xac9c
movl (%r14), %eax
cmpl $0x22, %eax
movq 0x8(%rsp), %rbp
movq %r14, %rdi
je 0xb19c
cmpl $0x27, %eax
jne 0xb1a5
callq 0xb3b2
pushq $0x6
jmp 0xb1d5
movslq %ebp, %rbx
callq 0x3240
movq (%rax), %rax
movzwl (%rax,%rbx,2), %eax
btl $0xb, %eax
jb 0xb1ba
cmpl $0x5f, %ebp
je 0xb1d8
andl $0x400, %eax            # imm = 0x400
jne 0xb1d8
movb $0x1, 0x4(%r14)
movq %r14, %rdi
callq 0xac9c
pushq $0x3
jmp 0xb1e2
movq %r14, %rdi
callq 0xac9c
pushq $0x4e
jmp 0xb1e2
movq %r14, %rdi
callq 0xac9c
pushq $0x45
jmp 0xb1e2
pushq $0x5b
popq %rsi
pushq $0x6d
popq %rdx
pushq $0x5d
jmp 0xb061
movq %r14, %rdi
callq 0xac9c
pushq $0x61
jmp 0xb1e2
movq %r14, %rdi
callq 0xac9c
callq 0x3240
movq (%rax), %rcx
movslq (%r14), %rax
testb $0x8, 0x1(%rcx,%rax,2)
jne 0xb1ae
pushq $0x46
popq %rbx
cmpl $0x2e, %eax
jne 0xb1e3
movq 0x10(%r15), %rax
movq %rax, 0x20(%rsp)
movups (%r15), %xmm0
movaps %xmm0, 0x10(%rsp)
movq %r14, %rdi
callq 0xac9c
movl (%r14), %edi
cmpl $0x2e, %edi
movq 0x8(%rsp), %rbp
jne 0xb254
movq %r14, %rdi
callq 0xac9c
pushq $0x62
jmp 0xb1d5
pushq $0x4a
popq %rsi
pushq $0x6b
popq %rdx
pushq $0x5c
jmp 0xb061
movq %r14, %rdi
callq 0xac9c
pushq $0x42
jmp 0xb1e2
movq %r14, %rdi
callq 0xb2f4
pushq $0x7
jmp 0xb1e2
pushq $0x4c
popq %rsi
pushq $0x67
popq %rdx
pushq $0x48
popq %rcx
movq %r14, %rdi
callq 0xb373
jmp 0xb18c
movq %r14, %rdi
callq 0xac9c
pushq $0x2
jmp 0xb1e2
pushq $0x63
popq %rsi
pushq $0x58
jmp 0xb183
pushq $0x55
popq %rsi
pushq $0x57
popq %rdx
pushq $0x53
popq %rcx
pushq $0x6a
jmp 0xb172
movq %r14, %rdi
callq 0xac9c
pushq $0x6e
jmp 0xb1e2
pushq $0x51
popq %rsi
pushq $0x66
jmp 0xb183
pushq $0x4b
popq %rsi
pushq $0x64
jmp 0xb183
movq %r14, %rdi
callq 0xac9c
pushq $0x5e
jmp 0xb1e2
movq %r14, %rdi
callq 0xac9c
cmpl $0x3a, (%r14)
jne 0xb1c6
movq %r14, %rdi
callq 0xac9c
pushq $0x60
jmp 0xb1e2
pushq $0x4f
popq %rsi
pushq $0x59
jmp 0xb183
pushq $0x4d
popq %rbx
pushq $0x68
popq %rdx
pushq $0x49
popq %rcx
movq %r14, %rdi
movl %ebx, %esi
callq 0xb373
cmpl $0x4d, %eax
jne 0xb18c
cmpl $0x3e, (%r14)
movq 0x8(%rsp), %rbp
jne 0xb1e8
movq %r14, %rdi
callq 0xac9c
pushq $0x47
jmp 0xb1d5
movq %r14, %rdi
callq 0xac9c
cmpl $0x23, (%r14)
jne 0xb1ca
movq %r14, %rdi
callq 0xac9c
pushq $0x70
jmp 0xb1e2
movq %r14, %rdi
callq 0xb3b2
pushq $0x6
jmp 0xb1e2
movq %r14, %rdi
callq 0xac9c
pushq $0x43
jmp 0xb1e2
pushq $0x54
popq %rsi
pushq $0x56
popq %rdx
pushq $0x52
popq %rcx
pushq $0x69
popq %r8
movq %r14, %rdi
callq 0xb431
jmp 0xb18c
pushq $0x5a
popq %rsi
pushq $0x6c
popq %rdx
movq %r14, %rdi
callq 0xb2cd
movl %eax, %ebx
jmp 0xb1e3
movq %r14, %rdi
callq 0xac9c
pushq $0x41
jmp 0xb1e2
callq 0xb2f4
pushq $0x7
jmp 0xb1d5
callq 0xb518
pushq $0x4
jmp 0xb1d5
leaq 0x28(%r14), %rdi
pushq $0x2e
popq %rsi
callq 0xb27b
movq %r14, %rdi
callq 0xb490
pushq $0x5
jmp 0xb1e2
pushq $0x5f
jmp 0xb1e2
pushq $0x6f
jmp 0xb1e2
movq 0x8(%rsp), %rbp
pushq $0x50
popq %rbx
jmp 0xb1e8
movq %r14, %rdi
callq 0xb518
pushq $0x4
popq %rbx
movq 0x8(%rsp), %rbp
movl %ebx, (%rbp)
movq 0x10e5e(%rip), %r15     # 0x1c050
cmpb $0x1, 0x4(%r15)
jne 0xb233
leaq 0x28(%r15), %rdi
xorl %esi, %esi
callq 0xb27b
movq 0x30(%r15), %rdi
callq 0xd0e3
movq %rax, %r14
movq 0x28(%r15), %rsi
movq 0x30(%r15), %rdx
movq %rax, %rdi
callq 0x3170
andq $0x0, 0x30(%r15)
movq 0x10e24(%rip), %r15     # 0x1c050
movb $0x0, 0x4(%r15)
jmp 0xb236
xorl %r14d, %r14d
movq %r14, 0x20(%rbp)
movb 0x5(%r15), %al
movb %al, 0x5(%rbp)
movb $0x0, 0x4(%rbp)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%r14), %rsi
callq 0x31a0
movaps 0x10(%rsp), %xmm0
movups %xmm0, (%r15)
movq 0x20(%rsp), %rax
movq %rax, 0x10(%r15)
movl $0x2e, (%r14)
jmp 0xb1e8