// File: /workspace/github_c_makefile_star2_O1/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 0xab1f
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 0xa6c4
leaq 0x114d1(%rip), %rdi     # 0x1bfc8
movq %r15, %rsi
callq 0xa991
movq %rax, %r13
testq %rax, %rax
je 0xab0e
cmpb $0x1, 0x10(%r13)
jne 0xab12
movb $0x1, 0x4(%rbx)
cmpb $0x0, 0x4(%rbx)
je 0xab22
xorl %eax, %eax
jmp 0xafa1
xorl %eax, %eax
retq
movb 0x5(%rbx), %bpl
cmpl $0x1, (%r13)
jne 0xaf66
callq 0xb0bc
testq %rax, %rax
je 0xab5b
cmpl $0x42, (%rax)
je 0xab96
leaq 0x114d1(%rip), %rdi     # 0x1c018
movl $0x18, %esi
callq 0xe23a
addq $-0x28, (%rax)
incq 0x8(%rax)
jmp 0xab18
movq $0x0, 0x114da(%rip) # 0x1c040
leaq 0x114cb(%rip), %rbx     # 0x1c038
movl $0x28, %esi
movq %rbx, %rdi
callq 0xe18c
movq %rax, %r14
movq %rax, %rdi
callq 0xb25f
movl (%r14), %eax
cmpl $0x2, %eax
je 0xab6d
cmpl $0x42, %eax
jne 0xae83
movb %bpl, 0xf(%rsp)
movq 0x1148e(%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 0xe10a
movq %rax, 0x10(%rsp)
callq 0xb0bc
movq %rax, %r15
testq %rax, %rax
jne 0xabe4
leaq 0x1152c(%rip), %r15     # 0x1c108
movq %r15, %rdi
callq 0xb25f
cmpq $0x0, 0x20(%r13)
je 0xaedf
leaq 0x30(%rsp), %r14
leaq 0x9e3f(%rip), %rbx      # 0x14a3a
xorl %eax, %eax
movq %r13, 0x48(%rsp)
movq 0x18(%r13), %r13
movq %rax, %rbp
shlq $0x4, %rbp
testb $0x2, 0x8(%r13,%rbp)
movq %rax, 0x18(%rsp)
je 0xac44
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
movq $0x0, 0x40(%rsp)
movl $0x1, %edx
movq %r14, %rdi
leaq 0x9d96(%rip), %rsi      # 0x149d0
callq 0xe213
movq 0x18(%rsp), %rax
addq %rbp, %r13
addq $0x8, %r13
imulq $0x38, %rax, %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 0xac8a
leaq 0x8(%r15), %rdi
leaq 0x9d4f(%rip), %rsi      # 0x149d2
xorl %eax, %eax
callq 0xd56a
movq 0x1139f(%rip), %r12     # 0x1c030
cmpq %rbp, %r12
ja 0xad96
movq 0x28(%rsp), %rcx
testq %rcx, %rcx
jne 0xacc1
movl (%r15), %eax
cmpl $0x6e, %eax
je 0xacb6
cmpl $0x43, %eax
jne 0xacc1
jmp 0xade9
testb $0x4, (%r13)
je 0xade9
movl (%r15), %eax
cmpl $0x43, %eax
je 0xacd3
cmpl $0x42, %eax
jne 0xacd6
incq %rcx
jmp 0xacd6
decq %rcx
testb $0x2, (%r13)
movq %rcx, 0x28(%rsp)
je 0xad93
cmpl $0x2, %eax
je 0xacf2
cmpb $0x0, 0x5(%r15)
je 0xad1d
movq 0x38(%rsp), %rax
cmpq $0x2, %rax
jb 0xad1d
movq 0x30(%rsp), %rcx
cmpb $0x20, -0x1(%rcx,%rax)
je 0xad1d
movl $0x1, %edx
movq %r14, %rdi
leaq 0xb521(%rip), %rsi      # 0x16239
callq 0xe213
movq 0x20(%r15), %rbp
testq %rbp, %rbp
jne 0xad34
movl (%r15), %eax
leaq 0x108e0(%rip), %rcx     # 0x1b610
movq (%rcx,%rax,8), %rbp
movl (%r15), %eax
andl $-0x2, %eax
cmpl $0x6, %eax
jne 0xad78
movzbl (%rbp), %eax
cmpl $0x22, %eax
je 0xad53
cmpl $0x5c, %eax
je 0xad53
testl %eax, %eax
jne 0xad63
jmp 0xad93
movl $0x1, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xe213
movl $0x1, %edx
movq %r14, %rdi
movq %rbp, %rsi
callq 0xe213
incq %rbp
jmp 0xad3f
testq %rbp, %rbp
je 0xad93
movq %rbp, %rdi
callq 0x3090
movq %r14, %rdi
movq %rbp, %rsi
movq %rax, %rdx
callq 0xe213
movq %r12, %rbp
testb $0x1, (%r13)
je 0xadc4
movq %r15, %rdi
callq 0xaab8
testb %al, %al
jne 0xadc4
movl $0x28, %edx
leaq 0x50(%rsp), %rdi
movq %r15, %rsi
callq 0xe213
movq 0x20(%rsp), %rax
incq 0x8(%rax)
callq 0xb0bc
movq %rax, %r15
testq %rax, %rax
jne 0xac72
leaq 0x1132c(%rip), %r15     # 0x1c108
movq %r15, %rdi
callq 0xb25f
jmp 0xac72
testb $0x2, (%r13)
je 0xae44
movl $0x2, %edx
movq %r14, %rdi
leaq 0x9bd1(%rip), %rsi      # 0x149d0
callq 0xe213
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)
cmpl $0x43, (%r15)
movq 0x48(%rsp), %r13
je 0xaee6
callq 0xb0bc
movq %rax, %r15
testq %rax, %rax
jne 0xae6f
leaq 0x112a1(%rip), %r15     # 0x1c108
movq %r15, %rdi
callq 0xb25f
movq 0x18(%rsp), %rax
incq %rax
cmpq 0x20(%r13), %rax
jb 0xac02
jmp 0xaeeb
movq 0x111b6(%rip), %rbx     # 0x1c040
movabsq $-0x3333333333333333, %rcx # imm = 0xCCCCCCCCCCCCCCCD
movq %rbx, %rax
mulq %rcx
movq %rdx, %r14
movq 0x11194(%rip), %r15     # 0x1c038
shrq $0x5, %r14
movb 0x5(%r15), %bpl
leaq 0x11165(%rip), %rdi     # 0x1c018
movl $0x18, %esi
callq 0xe18c
movq %r15, (%rax)
movq %r14, 0x8(%rax)
movq $0x0, 0x10(%rax)
cmpq $0x28, %rbx
jb 0xab18
movb %bpl, 0x5(%r15)
jmp 0xab18
movl $0x1, %eax
jmp 0xaeee
movq 0x18(%rsp), %rax
incq %rax
cmpq 0x20(%r13), %rax
jae 0xaf0a
leaq 0x8(%r15), %rdi
movq 0x8(%r13), %rdx
leaq 0x9af1(%rip), %rsi      # 0x149f4
xorl %eax, %eax
callq 0xd56a
cmpl $0x43, (%r15)
je 0xaf29
addq $0x8, %r15
movq 0x8(%r13), %rdx
leaq 0x9af9(%rip), %rsi      # 0x14a18
movq %r15, %rdi
xorl %eax, %eax
callq 0xd56a
movq 0x20(%r13), %rax
testq %rax, %rax
je 0xaf58
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 0xaf40
movq 0x10(%rsp), %rax
movq %rax, 0x28(%r13)
movb 0xf(%rsp), %bpl
movq 0x30(%r13), %rbx
movq 0x38(%r13), %r14
leaq 0x110a3(%rip), %rdi     # 0x1c018
movl $0x18, %esi
callq 0xe18c
movq %rbx, (%rax)
movq %r14, 0x8(%rax)
movq %r13, 0x10(%rax)
testq %r14, %r14
je 0xaf93
movb %bpl, 0x5(%rbx)
movb $0x1, 0x10(%r13)
incq 0x11091(%rip)           # 0x1c030
movb $0x1, %al
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq