// File: /workspace/github_c_makefile_star2_O1/nimble-code[P]gh_cpp/Src/gh_cpp1.c
// Function: expand_macro
static TS *
expand_macro(TS *s, MD *m)
{	TS *ni;
	ML *mp;
#ifdef RECURSE
	TS  *li, *hold_start, *hold_last;
	ARL *sa, *hold_saa;
	MD *mm;
#endif
	ni = prelude(s, m);
	if (ni) return ni;

	if (debugging)
	{	Enesting++; nested("");
		printf("Expand %s\n", m->nm);
	}

#ifdef RECURSE
	/* preserve copy of original actual params */
	/* to be used for formals preceded by # or ## in macro body */

	for (sa = saa; sa; sa = sa->nxt)
		sa->oal = cpy_orig(sa->al);

	/* expand actual params */
	hold_start = start;
	hold_saa   = saa;
	hold_last  = last;
	for (sa = saa; sa; sa = sa->nxt)	/* for each actual param */
	for (ni = sa->al; ni; ni = ni->nxt)	/* check token sequence  */
	{	if (ni->tok == NAME		/* for macro names */
		&& (mm = is_macro(ni->name)) != NULL)
		{
			if (debugging)
			{	nested("expanding macro ");
				printf("%s, pre-expand actual param %s\n",
					m->nm, ni->name);
				nested("Before: "); prep_line(start); printf("%s\n", lbuf);
				nested("Fragmt: "); prep_line(ni); printf("%s\n", lbuf);
			}
			start = ni;
			li = expand_macro(ni, mm);

			if (debugging)
			{	nested("Expnd : "); prep_line(start); printf("%s\n", lbuf);
				nested("LI    : "); prep_line(li); printf("%s\n", lbuf);
			}

			if (start != ni)
			{	if (ni->prv)
				{	ni->prv->nxt = start;
					if (start) start->prv = ni->prv;
				} else
				{	sa->al = start;
				}
				ni = li;
			}	/* else: macro not replaced - e.g., no params */

			start = hold_start;
			saa   = hold_saa;
			last  = hold_last;

			if (debugging)
			{	ARL *na;
				nested("new actual param list:\n");
				for (na = saa; na; na = na->nxt)
				{	prep_line(na->al);
					nested(""); printf("\t%s\n", lbuf);
					printf("\n"); fflush(stdout);
	}	}	}	}
#endif
	frst = lst = (TS *) 0;

	if (debugging && !m->body) printf("	empty body\n");

	purge_body(s, last, m, m->body);

	if (debugging)
	{	nested("PostPurge: ");
		prep_line(frst);
		printf("%s\n", lbuf);
	}

	token_pasting();

	if (debugging)
	{	nested("PostPaste: ");
		prep_line(frst);
		printf("%s\n", lbuf);
	}

	for (ni = frst; ni; ni = ni->nxt)		/* tag new TS seq with macro   */
	{	add_tag(ni, m);
		if (debugging)
		{	nested("");
			printf("tag expansion of %p with %s\t", ni, m->nm);
			tokfull(ni, stdout);
			printf("\n");
		}
		inherit_tags(s, last, ni);
	}

	if (frst)	/* replace macro s..last with expansion frst..lst */
	{	frst->space = s->space;
		if (!s->prv)
		{	start = frst;
			if (debugging) nested("new start\n");
		} else
		{	s->prv->nxt = frst;
			frst->prv = s->prv;
		}
	
		if (last && last->nxt)
		{	last->nxt->prv = lst;
			lst->nxt = last->nxt;
		}
	} else
	{	if (!s->prv)
		{	/* start = s->nxt; */
			start = last?last->nxt:last;
			if (debugging) nested("new start - no frst\n");
		} else
			s->prv->nxt = s->nxt;
	}
	if (debugging)
	{	nested("Done Expanding"); printf(" %s\n\n", m->nm);
		nested("PostAll: "); prep_line(start); printf("%s\n", lbuf);
	
		for (ni = start; ni; ni = ni->nxt)
		{	if (!ni->ml) continue;
			nested(""); printf("tags on %p ", ni);
			tokfull(ni, stdout);
			printf("are: ");
			for (mp = ni->ml; mp; mp = mp->nxt)
				printf(" %s,", mp->m->nm);
			printf("\n");
		}
		printf("\n");
		Enesting--;
	}

	return last;	/* point in parse string now reached */
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r13
movq %rdi, -0x30(%rbp)
movq (%rsi), %rbx
leaq 0x7eac(%rip), %rsi      # 0xef0d
movl $0x2, %edx
movq %rbx, %rdi
callq 0x4060
testl %eax, %eax
movq %r13, -0x38(%rbp)
je 0x70c3
movq 0x18(%r13), %r14
testq %r14, %r14
je 0x7187
xorl %r12d, %r12d
leaq 0x78c4(%rip), %rbx      # 0xe951
movl $0x1, %r13d
xorl %r15d, %r15d
movq (%r14), %rdi
movq %rbx, %rsi
callq 0x4140
testl %eax, %eax
cmovel %r13d, %r12d
incl %r15d
movq 0x8(%r14), %r14
testq %r14, %r14
jne 0x7096
testl %r12d, %r12d
sete -0x58(%rbp)
movq -0x38(%rbp), %r13
jmp 0x718e
leaq 0x7df3(%rip), %rsi      # 0xeebd
movq %rbx, %rdi
callq 0x4140
testl %eax, %eax
je 0x73da
leaq 0x7df0(%rip), %rsi      # 0xeed1
movq %rbx, %rdi
callq 0x4140
testl %eax, %eax
je 0x73e6
leaq 0x7deb(%rip), %rsi      # 0xeee3
movq %rbx, %rdi
callq 0x4140
testl %eax, %eax
je 0x73f2
leaq 0x7ddd(%rip), %rsi      # 0xeeec
movq %rbx, %rdi
callq 0x4140
testl %eax, %eax
je 0x7548
leaq 0x7dcf(%rip), %rsi      # 0xeef5
movq %rbx, %rdi
callq 0x4140
testl %eax, %eax
je 0x7550
leaq 0x7dca(%rip), %rsi      # 0xef07
movq %rbx, %rdi
callq 0x4140
testl %eax, %eax
je 0x7ede
leaq 0x7dbc(%rip), %rsi      # 0xef10
movq %rbx, %rdi
callq 0x4140
testl %eax, %eax
je 0x7f2c
leaq 0x7db5(%rip), %rsi      # 0xef20
movq %rbx, %rdi
callq 0x4140
xorl %ebx, %ebx
testl %eax, %eax
leaq 0x7db3(%rip), %rax      # 0xef31
cmoveq %rax, %rbx
jmp 0x7597
movb $0x1, -0x58(%rbp)
xorl %r15d, %r15d
movq $0x0, 0xe1af(%rip) # 0x15348
movq -0x30(%rbp), %rax
movq %rax, %rbx
testl %r15d, %r15d
je 0x7441
movq 0x28(%rax), %r12
movq %rax, %rbx
testq %r12, %r12
je 0x7441
cmpl $0x2, (%r12)
movq %rax, %rbx
jne 0x7441
cmpl $0x28, 0x4(%r12)
movq %rax, %rbx
jne 0x7441
movq 0x28(%r12), %rbx
testq %rbx, %rbx
je 0x71ef
cmpl $0x2, (%rbx)
jne 0x71ef
cmpl $0x29, 0x4(%rbx)
je 0x7441
movl $0x1, -0x40(%rbp)
xorl %esi, %esi
xorl %r14d, %r14d
movq $0x0, -0x50(%rbp)
testq %rbx, %rbx
sete %al
je 0x736a
movq %rbx, %r12
movl (%rbx), %eax
leal -0x3(%rax), %ecx
cmpl $0x2, %ecx
jb 0x728c
cmpl $0x1, %eax
je 0x729c
cmpl $0x2, %eax
jne 0x7f38
movl 0x4(%r12), %eax
xorl %ecx, %ecx
cmpl $0x28, %eax
sete %cl
movl -0x40(%rbp), %ebx
addl %ecx, %ebx
cmpl $0x1, %ebx
jne 0x7338
cmpl $0x2c, %eax
je 0x7253
cmpl $0x29, %eax
jne 0x7338
movl $0x18, %edi
callq 0x4afa
movq %r14, (%rax)
movq -0x50(%rbp), %rcx
testq %rcx, %rcx
je 0x726d
movq %rax, 0x10(%rcx)
cmpq $0x0, 0xe0d3(%rip)      # 0x15348
jne 0x727e
movq %rax, 0xe0ca(%rip)      # 0x15348
xorl %esi, %esi
xorl %r14d, %r14d
movq %rax, -0x50(%rbp)
jmp 0x7343
movq %r12, %rdi
callq 0x82c5
movq %rax, %rsi
jmp 0x7359
movq %r12, %rdi
callq 0x82c5
movq %rax, %rsi
cmpl $0x0, 0xbbe6(%rip)      # 0x12e94
je 0x7359
movq %rsi, -0x48(%rbp)
movq 0x8(%r12), %rbx
movq %rbx, %rdi
leaq 0x8070(%rip), %rsi      # 0xf337
callq 0x4140
testl %eax, %eax
jne 0x72e6
movl $0x13, %edi
movl $0x9, %esi
leaq 0x7c8a(%rip), %rdx      # 0xef6b
callq 0xa250
movl $0x10, %r13d
leaq 0x7a21(%rip), %rsi      # 0xed14
movq %rbx, %rdi
callq 0x4140
testl %eax, %eax
jne 0x7315
movl $0x13, %edi
movl $0x9, %esi
leaq 0x7c5b(%rip), %rdx      # 0xef6b
callq 0xa250
leaq 0xa9f4(%rip), %rax      # 0x11d10
movq (%r13,%rax), %rsi
addq $0x10, %r13
cmpq $0xd0, %r13
jne 0x72f3
movq -0x38(%rbp), %r13
movq -0x48(%rbp), %rsi
jmp 0x7359
movq %r12, %rdi
callq 0x82c5
movq %rax, %rsi
xorl %eax, %eax
cmpl $0x29, 0x4(%r12)
sete %al
subl %eax, %ebx
movl %ebx, -0x40(%rbp)
je 0x743a
testq %r14, %r14
cmoveq %rsi, %r14
movq 0x28(%r12), %rbx
jmp 0x7203
testb %al, %al
je 0x743d
cmpl $0x0, -0x40(%rbp)
movq -0x30(%rbp), %rax
jle 0x7441
movq %rsi, -0x48(%rbp)
callq 0x875c
leaq 0xbb20(%rip), %rdi      # 0x12eb0
leaq 0xe0e9(%rip), %rsi      # 0x15480
callq 0x4070
callq 0x5548
movq 0x28(%r12), %rbx
testq %rbx, %rbx
jne 0x73bb
cmpl $0x0, 0xcf2e(%rip)      # 0x142e0
je 0x7384
callq 0x44a9
jmp 0x7384
cmpl $0x0, 0xcf1e(%rip)      # 0x142e0
movq -0x48(%rbp), %rsi
je 0x7203
callq 0x44d3
movq -0x48(%rbp), %rsi
jmp 0x7203
leaq 0x7ae5(%rip), %rbx      # 0xeec6
jmp 0x7597
leaq 0x7aed(%rip), %rbx      # 0xeeda
jmp 0x7597
movq 0xad17(%rip), %rdi      # 0x12110
callq 0x40a0
leal 0x3(%rax), %edi
callq 0x4afa
movq %rax, %rbx
movq %rax, 0xced8(%rip)      # 0x142e8
movw $0x22, %r14w
movw %r14w, (%rax)
movq 0xacf0(%rip), %rsi      # 0x12110
movq %rax, %rdi
callq 0x41a0
movq %rbx, %rdi
callq 0x40a0
movw %r14w, (%rbx,%rax)
jmp 0x7597
movq %r12, %rbx
movq -0x30(%rbp), %rax
movq %rbx, 0xdf08(%rip)      # 0x15350
movq 0x18(%rax), %rcx
testq %rcx, %rcx
je 0x7478
movq -0x30(%rbp), %rax
cmpq %r13, (%rcx)
je 0x7465
movq 0x8(%rcx), %rcx
testq %rcx, %rcx
jne 0x7455
jmp 0x7478
cmpq %rbx, %rax
je 0x7e84
movq 0x28(%rax), %rax
movq 0x18(%rax), %rcx
jmp 0x745e
movq 0xdec9(%rip), %r13      # 0x15348
testq %r13, %r13
je 0x74d8
movq 0xab45(%rip), %r14      # 0x11fd0
xorl %ebx, %ebx
incl %ebx
cmpl $0x0, 0xce4a(%rip)      # 0x142e0
je 0x74cd
leaq 0x7af2(%rip), %rdi      # 0xef91
movl %ebx, %esi
xorl %eax, %eax
callq 0x40c0
movq (%r13), %r12
testq %r12, %r12
je 0x74c3
movq (%r14), %rsi
movq %r12, %rdi
callq 0x60a2
movq 0x28(%r12), %r12
jmp 0x74ac
movl $0xa, %edi
callq 0x4040
movq 0x10(%r13), %r13
testq %r13, %r13
jne 0x748d
jmp 0x74da
xorl %ebx, %ebx
cmpl %ebx, %r15d
jne 0x74ea
xorl %eax, %eax
movq -0x38(%rbp), %r13
jmp 0x7617
setbe %al
movb -0x58(%rbp), %cl
notb %cl
testb %al, %cl
movq -0x38(%rbp), %r13
jne 0x7541
testl %ebx, %ebx
je 0x7516
movslq 0xc9af(%rip), %rax      # 0x13eb4
leaq 0xc9b4(%rip), %rcx      # 0x13ec0
cmpl $0x0, (%rcx,%rax,4)
je 0x7eea
movl $0x10, %esi
cmpl $0x0, 0xb972(%rip)      # 0x12e94
je 0x7535
leaq 0x796b(%rip), %rdx      # 0xee96
movl $0x13, %edi
callq 0xa250
movq 0xde14(%rip), %rax      # 0x15350
jmp 0x7617
xorl %eax, %eax
jmp 0x7617
movl 0xb942(%rip), %edx      # 0x12e90
jmp 0x755b
leaq 0xef35(%rip), %rax      # 0x1648c
movl (%rax), %edx
decl %edx
leaq 0xb94e(%rip), %r14      # 0x12eb0
leaq 0x733f(%rip), %rsi      # 0xe8a8
movq %r14, %rdi
xorl %eax, %eax
callq 0x41b0
movq %r14, %rdi
callq 0x40a0
movl %eax, %edi
callq 0x4afa
movq %rax, %rbx
movq %rax, 0xcd5c(%rip)      # 0x142e8
movq %rax, %rdi
movq %r14, %rsi
callq 0x4070
testq %rbx, %rbx
je 0x7076
movq 0xcd59(%rip), %rax      # 0x14300
testq %rax, %rax
je 0x75c7
movq 0x28(%rax), %rcx
movq %rcx, 0xcd49(%rip)      # 0x14300
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, (%rax)
jmp 0x75d1
movl $0x30, %edi
callq 0x4afa
movl $0x1, (%rax)
movq %rbx, 0x8(%rax)
movq -0x30(%rbp), %rdi
movl 0x10(%rdi), %ecx
movl %ecx, 0x10(%rax)
movq 0x20(%rdi), %rcx
leaq 0x28(%rcx), %rdx
testq %rcx, %rcx
leaq 0xccd1(%rip), %rsi      # 0x142c8
cmovneq %rdx, %rsi
cmoveq %rax, %rcx
movq %rax, (%rsi)
movq %rcx, 0x20(%rax)
movq 0x28(%rdi), %rcx
testq %rcx, %rcx
je 0x7617
movq %rax, 0x20(%rcx)
movq %rcx, 0x28(%rax)
testq %rax, %rax
jne 0x7e75
cmpl $0x0, 0xccb9(%rip)      # 0x142e0
je 0x764d
incl 0xdd11(%rip)            # 0x15340
leaq 0x7f62(%rip), %rdi      # 0xf598
callq 0x7f44
movq (%r13), %rsi
leaq 0x76f3(%rip), %rdi      # 0xed39
xorl %eax, %eax
callq 0x40c0
movq 0xdcf4(%rip), %rbx      # 0x15348
testq %rbx, %rbx
je 0x766b
movq (%rbx), %rdi
callq 0x7f85
movq %rax, 0x8(%rbx)
movq 0x10(%rbx), %rbx
jmp 0x7654
movq 0xdcd6(%rip), %rax      # 0x15348
movq %rax, -0x40(%rbp)
testq %rax, %rax
je 0x787a
movq 0xcc42(%rip), %rax      # 0x142c8
movq %rax, -0x48(%rbp)
movq 0xdcbf(%rip), %rax      # 0x15350
movq %rax, -0x50(%rbp)
leaq 0x7715(%rip), %r13      # 0xedb1
leaq 0xb80d(%rip), %rbx      # 0x12eb0
movq 0xa926(%rip), %r12      # 0x11fd0
movq -0x40(%rbp), %rax
movq %rax, -0x60(%rbp)
movq (%rax), %r15
testq %r15, %r15
je 0x7869
cmpl $0x1, (%r15)
jne 0x7860
movq 0x8(%r15), %rdi
callq 0x6aa1
testq %rax, %rax
je 0x7860
movq %rax, %r14
cmpl $0x0, 0xcbfc(%rip)      # 0x142e0
je 0x7747
leaq 0x7657(%rip), %rdi      # 0xed44
callq 0x7f44
movq -0x38(%rbp), %rax
movq (%rax), %rsi
movq 0x8(%r15), %rdx
leaq 0x7651(%rip), %rdi      # 0xed55
xorl %eax, %eax
callq 0x40c0
leaq 0x7663(%rip), %rdi      # 0xed75
callq 0x7f44
movq 0xcbaa(%rip), %rdi      # 0x142c8
callq 0x4dfa
movq %rbx, %rdi
callq 0x4080
leaq 0x764c(%rip), %rdi      # 0xed7e
callq 0x7f44
movq %r15, %rdi
callq 0x4dfa
movq %rbx, %rdi
callq 0x4080
movq %r15, 0xcb7a(%rip)      # 0x142c8
movq %r15, %rdi
movq %r14, %rsi
callq 0x703f
movq %rax, %r14
cmpl $0x0, 0xcb7d(%rip)      # 0x142e0
je 0x77a1
leaq 0x761b(%rip), %rdi      # 0xed87
callq 0x7f44
movq 0xcb50(%rip), %rdi      # 0x142c8
callq 0x4dfa
movq %rbx, %rdi
callq 0x4080
leaq 0x7604(%rip), %rdi      # 0xed90
callq 0x7f44
movq %r14, %rdi
callq 0x4dfa
movq %rbx, %rdi
callq 0x4080
movq 0xcb20(%rip), %rax      # 0x142c8
cmpq %r15, %rax
je 0x77c5
movq 0x20(%r15), %rcx
testq %rcx, %rcx
je 0x77ca
movq %rax, 0x28(%rcx)
testq %rax, %rax
je 0x77d1
movq %rcx, 0x20(%rax)
jmp 0x77d1
movq %r15, %r14
jmp 0x77d1
movq -0x60(%rbp), %rcx
movq %rax, (%rcx)
movq -0x48(%rbp), %rax
movq %rax, 0xcaec(%rip)      # 0x142c8
movq -0x40(%rbp), %rax
movq %rax, 0xdb61(%rip)      # 0x15348
movq -0x50(%rbp), %rax
movq %rax, 0xdb5e(%rip)      # 0x15350
cmpl $0x0, 0xcae7(%rip)      # 0x142e0
je 0x785d
leaq 0x7597(%rip), %rdi      # 0xed99
callq 0x7f44
movq 0xdb3a(%rip), %r15      # 0x15348
testq %r15, %r15
je 0x785d
movq %r14, -0x58(%rbp)
leaq 0x7d7a(%rip), %r14      # 0xf598
movq (%r15), %rdi
callq 0x4dfa
movq %r14, %rdi
callq 0x7f44
movq %r13, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x40c0
movl $0xa, %edi
callq 0x4040
movq (%r12), %rdi
callq 0x4170
movq 0x10(%r15), %r15
testq %r15, %r15
jne 0x781e
movq -0x58(%rbp), %r15
jmp 0x7860
movq %r14, %r15
movq 0x28(%r15), %r15
jmp 0x76b5
movq -0x60(%rbp), %rax
movq 0x10(%rax), %rax
testq %rax, %rax
jne 0x76ae
xorl %eax, %eax
movq %rax, 0xdad5(%rip)      # 0x15358
movq %rax, 0xdad6(%rip)      # 0x15360
cmpl $0x0, 0xca4f(%rip)      # 0x142e0
movq -0x38(%rbp), %rbx
je 0x78aa
cmpq $0x0, 0x20(%rbx)
jne 0x78aa
leaq 0x788d(%rip), %rdi      # 0xf132
callq 0x4080
movq 0x20(%rbx), %rsi
movq %rbx, %rdi
callq 0x7feb
cmpl $0x0, 0xca23(%rip)      # 0x142e0
je 0x78e3
leaq 0x74f0(%rip), %rdi      # 0xedb6
callq 0x7f44
movq 0xda8e(%rip), %rdi      # 0x15360
callq 0x4dfa
leaq 0xb5d2(%rip), %rdi      # 0x12eb0
callq 0x4080
movq 0xda76(%rip), %r12      # 0x15360
testq %r12, %r12
je 0x7b9a
leaq 0xda5e(%rip), %rax      # 0x15358
movq %r12, %rcx
cmpl $0x2, (%rcx)
jne 0x7952
cmpl $0x23, 0x4(%rcx)
jne 0x7952
movq 0x28(%rcx), %rdx
testq %rdx, %rdx
je 0x7952
cmpl $0x2, (%rdx)
jne 0x7952
cmpl $0x23, 0x4(%rdx)
jne 0x7952
cmpl $0x0, 0x10(%rdx)
jne 0x7952
movq 0x28(%rdx), %rsi
movq 0x20(%rcx), %rdx
testq %rdx, %rdx
je 0x7934
cmpl $0x20, (%rdx)
je 0x793d
movl $0x20, (%rcx)
movq %rcx, %rdx
movq %rsi, 0x28(%rdx)
leaq 0x20(%rsi), %rcx
testq %rsi, %rsi
cmoveq %rax, %rcx
movq %rdx, (%rcx)
movq %rdx, %rcx
movq 0x28(%rcx), %rcx
testq %rcx, %rcx
jne 0x78fd
jmp 0x7b91
cmpl $0x20, (%r12)
jne 0x7b10
movq 0x20(%r12), %r15
movq 0x28(%r12), %rbx
leaq 0x20(%r12), %r13
cmpl $0x1, (%r15)
jne 0x79b7
cmpl $0x1, (%rbx)
jne 0x79b7
movq 0x8(%r15), %rax
movzbl (%rax), %eax
cmpl $0x22, %eax
je 0x7b17
cmpl $0x27, %eax
je 0x7b17
movq 0x8(%rbx), %rax
movzbl (%rax), %eax
cmpl $0x27, %eax
je 0x7b17
cmpl $0x22, %eax
je 0x7b17
cmpl $0x2, (%rbx)
jne 0x79c6
cmpl $0x3b, 0x4(%rbx)
je 0x7b2c
cmpl $0x2, (%r15)
jne 0x7a36
cmpl $0x2, (%rbx)
jne 0x79f3
movl 0x4(%r15), %r8d
cmpl $0x2f, %r8d
jne 0x79f3
movl 0x4(%rbx), %r9d
cmpl $0x2f, %r9d
je 0x7b67
cmpl $0x2a, %r9d
je 0x7b67
cmpl $0x1, (%rbx)
jne 0x7a36
movl 0x4(%r15), %r14d
cmpl $0x23, %r14d
jne 0x7a36
movq 0x8(%rbx), %rdi
movq %rdi, -0x40(%rbp)
leaq 0x718e(%rip), %rsi      # 0xeb9f
callq 0x4140
testl %eax, %eax
je 0x7b36
movq -0x40(%rbp), %rdi
leaq 0x790e(%rip), %rsi      # 0xf337
callq 0x4140
testl %eax, %eax
je 0x7b36
movq %r15, %rdi
callq 0x85c3
movl %eax, %r14d
movq %rbx, %rdi
callq 0x85c3
addl %r14d, %eax
leal 0x5(,%rax,2), %edi
callq 0x4afa
movq %rax, %r14
movq %r15, %rdi
movq %r15, %rsi
callq 0x8494
movq %r14, %rdi
movq %rax, %rsi
callq 0x4070
movq %rbx, %rdi
movq %rbx, %rsi
callq 0x8494
movq %r14, %rdi
movq %rax, %rsi
callq 0x41a0
cmpl $0x4, (%r15)
jne 0x7aa9
cmpl $0x4, (%rbx)
jne 0x7aa9
movl $0x4, (%r12)
movq %r14, %rdi
callq 0x4190
movl %eax, 0x4(%r12)
jmp 0x7ab6
movl $0x1, (%r12)
movq %r14, 0x8(%r12)
movq (%r13), %rax
testq %rax, %rax
je 0x7ad6
movl 0x10(%rax), %ecx
movl %ecx, 0x10(%r12)
movq 0x20(%rax), %rax
testq %rax, %rax
je 0x7ad6
movq %r12, 0x28(%rax)
jmp 0x7ae8
movq %r12, 0xd883(%rip)      # 0x15360
movl $0x0, 0x10(%r12)
xorl %eax, %eax
movq %rax, (%r13)
movq 0x28(%rbx), %rax
testq %rax, %rax
je 0x7b00
movq %rax, 0x28(%r12)
movq %r12, 0x20(%rax)
jmp 0x7b10
movq %r12, 0xd851(%rip)      # 0x15358
movq $0x0, 0x28(%r12)
movq 0x28(%r12), %r12
jmp 0x7b91
leaq 0x28(%r12), %rcx
movq %r15, %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq 0x44fd
jmp 0x7b10
callq 0x4571
jmp 0x79c6
movq 0xa4bb(%rip), %rax      # 0x11ff8
movq (%rax), %rdi
movq 0xa5c9(%rip), %rdx      # 0x12110
movl 0xb343(%rip), %ecx      # 0x12e90
leaq 0x756c(%rip), %rsi      # 0xf0c0
movl %r14d, %r8d
movq -0x40(%rbp), %r9
xorl %eax, %eax
callq 0x4150
jmp 0x7a36
movq 0xa48a(%rip), %rax      # 0x11ff8
movq (%rax), %rdi
movq 0xa598(%rip), %rdx      # 0x12110
movl 0xb312(%rip), %ecx      # 0x12e90
leaq 0x74ff(%rip), %rsi      # 0xf084
xorl %eax, %eax
callq 0x4150
jmp 0x79f3
testq %r12, %r12
jne 0x7960
cmpl $0x0, 0xc73f(%rip)      # 0x142e0
je 0x7bc7
leaq 0x7218(%rip), %rdi      # 0xedc2
callq 0x7f44
movq 0xd7aa(%rip), %rdi      # 0x15360
callq 0x4dfa
leaq 0xb2ee(%rip), %rdi      # 0x12eb0
callq 0x4080
movq 0xd792(%rip), %rbx      # 0x15360
testq %rbx, %rbx
je 0x7cc6
leaq 0x79ba(%rip), %r15      # 0xf598
movq 0xa3eb(%rip), %r13      # 0x11fd0
movq %rbx, %rdi
movq -0x38(%rbp), %r14
movq %r14, %rsi
callq 0x6ad9
cmpl $0x0, 0xc6e5(%rip)      # 0x142e0
je 0x7c2f
movq %r15, %rdi
callq 0x7f44
movq (%r14), %rdx
leaq 0x71bf(%rip), %rdi      # 0xedce
movq %rbx, %rsi
xorl %eax, %eax
callq 0x40c0
movq (%r13), %rsi
movq %rbx, %rdi
callq 0x60a2
movl $0xa, %edi
callq 0x4040
movq -0x30(%rbp), %rax
movq 0x18(%rax), %r12
testq %r12, %r12
je 0x7cb9
movq 0xd70d(%rip), %r14      # 0x15350
cmpq %rax, %r14
je 0x7c60
movq -0x30(%rbp), %rax
movq 0x28(%rax), %rdi
movq (%r12), %rdx
movq %r14, %rsi
callq 0x8639
testl %eax, %eax
je 0x7cab
movq (%r12), %rsi
movq %rbx, %rdi
callq 0x6ad9
cmpl $0x0, 0xc66d(%rip)      # 0x142e0
je 0x7cab
movq %r15, %rdi
callq 0x7f44
movq (%r12), %rax
movq (%rax), %rdx
leaq 0x7471(%rip), %rdi      # 0xf0fc
movq %rbx, %rsi
xorl %eax, %eax
callq 0x40c0
movq (%r13), %rsi
movq %rbx, %rdi
callq 0x60a2
movl $0xa, %edi
callq 0x4040
movq 0x8(%r12), %r12
testq %r12, %r12
movq -0x30(%rbp), %rax
jne 0x7c43
movq 0x28(%rbx), %rbx
testq %rbx, %rbx
jne 0x7be5
movq 0xd693(%rip), %rax      # 0x15360
testq %rax, %rax
je 0x7cf3
movq -0x30(%rbp), %rdx
movl 0x10(%rdx), %ecx
movl %ecx, 0x10(%rax)
movq 0x20(%rdx), %rcx
testq %rcx, %rcx
movq -0x38(%rbp), %rbx
je 0x7d0e
movq %rax, 0x28(%rcx)
movq %rcx, 0x20(%rax)
jmp 0x7d2a
movq -0x30(%rbp), %rcx
movq 0x20(%rcx), %rax
testq %rax, %rax
movq -0x38(%rbp), %rbx
je 0x7d50
movq 0x28(%rcx), %rcx
movq %rcx, 0x28(%rax)
jmp 0x7d80
movq %rax, 0xc5b3(%rip)      # 0x142c8
cmpl $0x0, 0xc5c4(%rip)      # 0x142e0
je 0x7d2a
leaq 0x70c6(%rip), %rdi      # 0xedeb
callq 0x7f44
movq 0xd61f(%rip), %rax      # 0x15350
testq %rax, %rax
je 0x7d80
movq 0x28(%rax), %rax
testq %rax, %rax
je 0x7d80
movq 0xd612(%rip), %rcx      # 0x15358
movq %rcx, 0x20(%rax)
movq %rax, 0x28(%rcx)
jmp 0x7d80
movq 0xd5f9(%rip), %rax      # 0x15350
testq %rax, %rax
je 0x7d62
movq 0x28(%rax), %rax
jmp 0x7d64
xorl %eax, %eax
movq %rax, 0xc55d(%rip)      # 0x142c8
cmpl $0x0, 0xc56e(%rip)      # 0x142e0
je 0x7d80
leaq 0x707b(%rip), %rdi      # 0xedf6
callq 0x7f44
cmpl $0x0, 0xc559(%rip)      # 0x142e0
je 0x7e6e
leaq 0x7077(%rip), %rdi      # 0xee0b
callq 0x7f44
movq (%rbx), %rsi
leaq 0x7077(%rip), %rdi      # 0xee1a
xorl %eax, %eax
callq 0x40c0
leaq 0x706f(%rip), %rdi      # 0xee20
callq 0x7f44
movq 0xc50b(%rip), %rdi      # 0x142c8
callq 0x4dfa
leaq 0xb0e7(%rip), %rdi      # 0x12eb0
callq 0x4080
movq 0xc4f3(%rip), %rbx      # 0x142c8
testq %rbx, %rbx
je 0x7e5e
movq 0xa1eb(%rip), %r14      # 0x11fd0
leaq 0x704a(%rip), %r12      # 0xee36
leaq 0x7049(%rip), %r13      # 0xee3c
cmpq $0x0, 0x18(%rbx)
je 0x7e55
leaq 0x7797(%rip), %rdi      # 0xf598
callq 0x7f44
leaq 0x701d(%rip), %rdi      # 0xee2a
movq %rbx, %rsi
xorl %eax, %eax
callq 0x40c0
movq (%r14), %rsi
movq %rbx, %rdi
callq 0x60a2
movq %r12, %rdi
xorl %eax, %eax
callq 0x40c0
movq 0x18(%rbx), %r15
testq %r15, %r15
je 0x7e4b
movq (%r15), %rax
movq (%rax), %rsi
movq %r13, %rdi
xorl %eax, %eax
callq 0x40c0
movq 0x8(%r15), %r15
jmp 0x7e30
movl $0xa, %edi
callq 0x4040
movq 0x28(%rbx), %rbx
testq %rbx, %rbx
jne 0x7df3
movl $0xa, %edi
callq 0x4040
decl 0xd4d2(%rip)            # 0x15340
movq 0xd4db(%rip), %rax      # 0x15350
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpl $0x0, 0xc025(%rip)      # 0x13eb0
movq -0x30(%rbp), %rax
je 0x7617
cmpl $0x0, 0xc444(%rip)      # 0x142e0
je 0x7eb6
incl 0xd49c(%rip)            # 0x15340
leaq 0x76ed(%rip), %rdi      # 0xf598
callq 0x7f44
decl 0xd48a(%rip)            # 0x15340
movq 0xa253(%rip), %rsi      # 0x12110
movl 0xafcd(%rip), %edx      # 0x12e90
movq (%r13), %rcx
leaq 0x6f73(%rip), %rdi      # 0xee41
xorl %eax, %eax
callq 0x40c0
movq -0x30(%rbp), %rax
jmp 0x7617
leaq 0x4237(%rip), %rbx      # 0xc11c
jmp 0x7597
movq 0xa107(%rip), %rax      # 0x11ff8
movq (%rax), %rdi
movq 0xa215(%rip), %rdx      # 0x12110
movl 0xaf8f(%rip), %ecx      # 0x12e90
movq (%r13), %r8
movl %ebx, (%rsp)
leaq 0x6f54(%rip), %rsi      # 0xee63
movl %r15d, %r9d
xorl %eax, %eax
callq 0x4150
cmpl %r15d, %ebx
jae 0x7535
movl $0x8, %esi
jmp 0x751b
leaq 0x75aa(%rip), %rbx      # 0xf4dd
jmp 0x7597
leaq 0x6c2f(%rip), %rdi      # 0xeb6e
callq 0x4a9c