// File: /workspace/github_c_makefile_star2_O3/michaelforney[P]cproc/pp.c
// Function: expand
static bool
expand(struct token *t)
{
	struct macro *m;
	bool space;

	if (t->kind != TIDENT)
		return false;
	m = macroget(t->lit);
	if (!m || m->hide)
		t->hide = true;
	if (t->hide)
		return false;
	space = t->space;
	if (m->kind == MACROFUNC) {
		if (!peekparen())
			return false;
		expandfunc(m);
	}
	ctxpush(m->token, m->ntoken, m, space);
	m->hide = true;
	++macrodepth;
	return true;
}

// Assembly:
cmpl $0x4, (%rdi)
jne 0xaa75
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdi, %rbx
movq 0x20(%rdi), %r14
movq %r14, %rdi
callq 0x3090
leaq 0x68(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0xa500
leaq 0x11581(%rip), %rdi     # 0x1bfc8
movq %r15, %rsi
callq 0xa8df
testq %rax, %rax
je 0xaa5d
movq %rax, %r13
cmpb $0x1, 0x10(%rax)
jne 0xaa78
movb $0x1, 0x4(%rbx)
xorl %eax, %eax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %eax, %eax
retq
testb $0x1, 0x4(%rbx)
jne 0xaa61
movb 0x5(%rbx), %bpl
cmpl $0x1, (%r13)
jne 0xaee4
callq 0xb02d
testq %rax, %rax
je 0xaab7
cmpl $0x42, (%rax)
je 0xaaf2
leaq 0x11575(%rip), %rdi     # 0x1c018
movl $0x18, %esi
callq 0xe23f
addq $-0x28, (%rax)
incq 0x8(%rax)
jmp 0xaa61
movq $0x0, 0x1157e(%rip) # 0x1c040
leaq 0x1156f(%rip), %rbx     # 0x1c038
movl $0x28, %esi
movq %rbx, %rdi
callq 0xe190
movq %rax, %r14
movq %rax, %rdi
callq 0xb207
movl (%r14), %eax
cmpl $0x2, %eax
je 0xaac9
cmpl $0x42, %eax
jne 0xadfe
movb %bpl, 0xf(%rsp)
movq 0x11532(%rip), %r12     # 0x1c030
xorps %xmm0, %xmm0
movaps %xmm0, 0x50(%rsp)
movq $0x0, 0x60(%rsp)
movq 0x20(%r13), %rsi
movl $0x38, %edx
xorl %edi, %edi
callq 0xe10e
movq %rax, 0x10(%rsp)
callq 0xb02d
movq %rax, %r15
testq %rax, %rax
jne 0xab40
leaq 0x115d0(%rip), %r15     # 0x1c108
movq %r15, %rdi
callq 0xb207
cmpq $0x0, 0x20(%r13)
je 0xae5a
leaq 0x30(%rsp), %r14
leaq 0x9f7d(%rip), %rbx      # 0x14ad4
xorl %ecx, %ecx
movq %r13, 0x48(%rsp)
movq 0x18(%r13), %r13
movq %rcx, %rbp
shlq $0x4, %rbp
testb $0x2, 0x8(%r13,%rbp)
movq %rcx, 0x18(%rsp)
je 0xaba0
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
movq $0x0, 0x40(%rsp)
movl $0x1, %edx
movq %r14, %rdi
leaq 0x9ed4(%rip), %rsi      # 0x14a6a
callq 0xe218
movq 0x18(%rsp), %rcx
addq %rbp, %r13
addq $0x8, %r13
imulq $0x38, %rcx, %rax
movq 0x10(%rsp), %rcx
leaq (%rcx,%rax), %rdx
movq %rdx, 0x20(%rsp)
movq $0x0, 0x8(%rcx,%rax)
movq $0x0, 0x28(%rsp)
movq %r12, %rbp
cmpl $0x1, (%r15)
jne 0xabe6
leaq 0x8(%r15), %rdi
leaq 0x9e8d(%rip), %rsi      # 0x14a6c
xorl %eax, %eax
callq 0xd55c
movq 0x11443(%rip), %r12     # 0x1c030
cmpq %rbp, %r12
ja 0xad0a
movl (%r15), %eax
movq 0x28(%rsp), %rdx
testq %rdx, %rdx
je 0xac0f
cmpl $0x43, %eax
je 0xac2d
cmpl $0x42, %eax
je 0xac23
jmp 0xac4b
cmpl $0x42, %eax
je 0xac23
cmpl $0x6e, %eax
je 0xac37
cmpl $0x43, %eax
jne 0xac4b
jmp 0xad5d
incq %rdx
movl $0x42, %eax
jmp 0xac4b
decq %rdx
movl $0x43, %eax
jmp 0xac4b
movl (%r13), %ecx
testb $0x4, %cl
je 0xad61
movl $0x6e, %eax
xorl %edx, %edx
testb $0x2, (%r13)
movq %rdx, 0x28(%rsp)
je 0xad07
cmpl $0x2, %eax
je 0xac67
cmpb $0x0, 0x5(%r15)
je 0xac95
movq 0x38(%rsp), %rcx
cmpq $0x2, %rcx
jb 0xac95
movq 0x30(%rsp), %rdx
cmpb $0x20, -0x1(%rdx,%rcx)
je 0xac95
movl $0x1, %edx
movq %r14, %rdi
leaq 0xb64c(%rip), %rsi      # 0x162d9
callq 0xe218
movl (%r15), %eax
movq 0x20(%r15), %rbp
testq %rbp, %rbp
jne 0xacab
movl %eax, %ecx
leaq 0x10969(%rip), %rdx     # 0x1b610
movq (%rdx,%rcx,8), %rbp
andl $-0x2, %eax
cmpl $0x6, %eax
jne 0xacec
movzbl (%rbp), %eax
cmpl $0x22, %eax
je 0xacc7
cmpl $0x5c, %eax
je 0xacc7
testl %eax, %eax
jne 0xacd7
jmp 0xad07
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xe218
movl $0x1, %edx
movq %r14, %rdi
movq %rbp, %rsi
callq 0xe218
incq %rbp
jmp 0xacb3
testq %rbp, %rbp
je 0xad07
movq %rbp, %rdi
callq 0x3090
movq %r14, %rdi
movq %rbp, %rsi
movq %rax, %rdx
callq 0xe218
movq %r12, %rbp
testb $0x1, (%r13)
je 0xad38
movq %r15, %rdi
callq 0xaa08
testb %al, %al
jne 0xad38
movl $0x28, %edx
leaq 0x50(%rsp), %rdi
movq %r15, %rsi
callq 0xe218
movq 0x20(%rsp), %rax
incq 0x8(%rax)
callq 0xb02d
movq %rax, %r15
testq %rax, %rax
jne 0xabce
leaq 0x113b8(%rip), %r15     # 0x1c108
movq %r15, %rdi
callq 0xb207
jmp 0xabce
movl (%r13), %ecx
testb $0x2, %cl
je 0xadbd
movl $0x2, %edx
movq %r14, %rdi
leaq 0x9cf5(%rip), %rsi      # 0x14a6a
callq 0xe218
leaq 0x6a(%rsp), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq $0x0, 0x10(%rax)
movq 0x30(%rsp), %rax
movq 0x20(%rsp), %rcx
movl $0x7, 0x10(%rcx)
movw $0x0, 0x14(%rcx)
movups 0x68(%rsp), %xmm0
movups 0x72(%rsp), %xmm1
movups %xmm0, 0x16(%rcx)
movups %xmm1, 0x20(%rcx)
movq %rax, 0x30(%rcx)
movl (%r15), %eax
cmpl $0x43, %eax
movq 0x48(%rsp), %r13
je 0xae61
callq 0xb02d
movq %rax, %r15
testq %rax, %rax
jne 0xade7
leaq 0x11329(%rip), %r15     # 0x1c108
movq %r15, %rdi
callq 0xb207
movq 0x18(%rsp), %rcx
incq %rcx
movq 0x20(%r13), %rax
cmpq %rax, %rcx
jb 0xab5e
jmp 0xae6a
movq 0x1123b(%rip), %rbx     # 0x1c040
movabsq $-0x3333333333333333, %rcx # imm = 0xCCCCCCCCCCCCCCCD
movq %rbx, %rax
mulq %rcx
movq %rdx, %r14
movq 0x11219(%rip), %r15     # 0x1c038
shrq $0x5, %r14
movb 0x5(%r15), %bpl
leaq 0x111ea(%rip), %rdi     # 0x1c018
movl $0x18, %esi
callq 0xe190
movq %r15, (%rax)
movq %r14, 0x8(%rax)
movq $0x0, 0x10(%rax)
cmpq $0x28, %rbx
jb 0xaa61
movb %bpl, 0x5(%r15)
jmp 0xaa61
movb 0xf(%rsp), %bpl
jmp 0xae8d
movq 0x20(%r13), %rax
movq 0x18(%rsp), %rcx
incq %rcx
cmpq %rax, %rcx
movb 0xf(%rsp), %bpl
jae 0xae8d
leaq 0x8(%r15), %rdi
movq 0x8(%r13), %rdx
leaq 0x9c08(%rip), %rsi      # 0x14a8e
xorl %eax, %eax
callq 0xd55c
cmpl $0x43, (%r15)
je 0xaeac
addq $0x8, %r15
movq 0x8(%r13), %rdx
leaq 0x9c10(%rip), %rsi      # 0x14ab2
movq %r15, %rdi
xorl %eax, %eax
callq 0xd55c
movq 0x20(%r13), %rax
testq %rax, %rax
je 0xaedb
movq 0x50(%rsp), %rcx
movq 0x10(%rsp), %rdx
addq $0x8, %rdx
movq %rcx, -0x8(%rdx)
movq (%rdx), %rsi
leaq (%rsi,%rsi,4), %rsi
leaq (%rcx,%rsi,8), %rcx
addq $0x38, %rdx
decq %rax
jne 0xaec3
movq 0x10(%rsp), %rax
movq %rax, 0x28(%r13)
movq 0x30(%r13), %rbx
movq 0x38(%r13), %r14
leaq 0x11125(%rip), %rdi     # 0x1c018
movl $0x18, %esi
callq 0xe190
movq %rbx, (%rax)
movq %r14, 0x8(%rax)
movq %r13, 0x10(%rax)
testq %r14, %r14
je 0xaf11
movb %bpl, 0x5(%rbx)
movb $0x1, 0x10(%r13)
incq 0x11113(%rip)           # 0x1c030
movb $0x1, %al
jmp 0xaa63