// File: /workspace/github_c_makefile_star2_O2/oridb[P]mc/parse/use.c
// Function: loaduse
int
loaduse(char *path, FILE *f, Stab *st, Vis vis)
{
	size_t startdecl, starttype, startimpl;
	Node *dcl, *impl, *fn;
	Stab *s, *ns;
	intptr_t tid;
	size_t i, j;
	char *pkg;
	Type *ty;
	Trait *tr;
	char *lib;
	int c, v;

	startdecl = ndecls;
	starttype = ntypes;
	startimpl = nimpltab;
	pushstab(file.globls);
	if (!trdeduptab)
		trdeduptab = mkht(namehash, nameeq);
	if (fgetc(f) != 'U')
		return 0;
	v = rdint(f);
	if (v != Abiversion) {
		fprintf(stderr, "%s: abi version %d, expected %d\n", path, v, Abiversion);
		return 0;
	}
	pkg = rdstr(f);
	/* if the package names match up, or the usefile has no declared
	* package, then we simply add to the current stab. Otherwise,
	* we add a new stab under the current one */
	if (st->name) {
		if (pkg && !strcmp(pkg, st->name)) {
			s = st;
		} else {
			s = findstab(st, pkg);
		}
	} else {
		if (pkg) {
			s = findstab(st, pkg);
		} else {
			s = st;
		}
	}
	if (!streq(st->name, pkg))
		vis = Visintern;
	if (!s) {
		printf("could not find matching package for merge: %s in %s\n", st->name, path);
		exit(1);
	}
	tidmap = mkht(ptrhash, ptreq);
	trmap = mkht(ptrhash, ptreq);
	if (!autocallmap)
		autocallmap = mkht(namehash, nameeq);
	/* builtin traits */
	for (i = 0; i < Ntraits; i++)
		htput(trmap, itop(i), traittab[i]);
	while ((c = fgetc(f)) != EOF) {
		switch (c) {
		case 'L':
			lib = rdstr(f);
			for (i = 0; i < file.nlibdeps; i++)
				if (!strcmp(file.libdeps[i], lib))
					/* break out of both loop and switch */
					goto foundlib;
			lappend(&file.libdeps, &file.nlibdeps, lib);
foundlib:
			break;
		case 'X':
			lib = rdstr(f);
			for (i = 0; i < file.nextlibs; i++)
				if (!strcmp(file.extlibs[i], lib))
					/* break out of both loop and switch */
					goto foundextlib;
			lappend(&file.extlibs, &file.nextlibs, lib);
foundextlib:
			break;
		case 'F': lappend(&file.files, &file.nfiles, rdstr(f)); break;
		case 'G':
		case 'D':
			dcl = rdsym(f, NULL);
			dcl->decl.vis = vis;
			dcl->decl.isglobl = 1;
			putdcl(s, dcl);
			break;
		case 'S':
		case 'E':
			fn = unpickle(f);
			if (hthas(autocallmap, fn))
				break;
			htput(autocallmap, fn, fn);
			if (c == 'S')
				lappend(&file.init, &file.ninit, fn);
			else
				lappend(&file.fini, &file.nfini, fn);
			break;
		case 'R':
			tr = traitunpickle(f);
			tr->vis = vis;
			puttrait(s, tr->name, tr);
			for (i = 0; i < tr->nproto; i++) {
				putdcl(s, tr->proto[i]);
				tr->proto[i]->decl.ishidden = tr->ishidden;
				if (tr->proto[i]->decl.env)
					tr->proto[i]->decl.env->super = tr->env;
			}
			break;
		case 'T':
			tid = rdint(f);
			ty = tyunpickle(f);
			if (!ty->ishidden)
				ty->vis = vis;
			htput(tidmap, itop(tid), ty);
			/* fix up types */
			if (ty->type == Tyname || ty->type == Tygeneric) {
				if (!streq(s->name, ty->name->name.ns))
					ty->ishidden = 1;
				if (!gettype(s, ty->name) && !ty->ishidden)
					puttype(s, ty->name, ty);
			} else if (ty->type == Tyunion) {
				for (i = 0; i < ty->nmemb; i++) {
					ns = findstab(s, ty->udecls[i]->name->name.ns);
					if (getucon(ns, ty->udecls[i]->name))
						continue;
					if (ty->udecls[i]->synth)
						continue;
					putucon(ns, ty->udecls[i]);
				}
			}
			break;
		case 'I':
			impl = unpickle(f);
			impl->impl.isextern = 1;
			impl->impl.vis = vis;
			/*
			 * Unfortunately, impls can insert their symbols into whatever
			 * namespace the trait comes from. This complicates things a bit.
			 */
			for (i = 0; i < impl->impl.ndecls; i++) {
				dcl = impl->impl.decls[i];
				dcl->decl.isglobl = 1;
				ns = file.globls;
				if (dcl->decl.name->name.ns)
					ns = findstab(s, dcl->decl.name->name.ns);
				putdcl(ns, dcl);
			}
			break;
		case EOF:
			break;
		}
	}
	fixtypemappings(s);
	fixtraitmappings(s);
	htfree(tidmap);
	for (i = starttype; i < ntypes; i++) {
		ty = types[i];
		if (ty->type == Tygeneric || ty->type == Tyname) {
			if (hasparams(ty) && !ty->env) {
				ty->env = mkenv();
				for (j = 0; j < ty->ngparam; j++)
					bindtype(ty->env, ty->gparam[j]);
				for (j = 0; j < ty->narg; j++)
					bindtype(ty->env, ty->arg[j]);
			}
			if (ty->sub[0]->env)
				ty->sub[0]->env->super = ty->env;
			else
				ty->sub[0]->env = ty->env;
		}
	}
	for (i = startdecl; i < ndecls; i++) {
		dcl = decls[i];
		if (hasparams(dcl->decl.type)) {
			dcl->decl.env = mkenv();
			bindtype(dcl->decl.env, dcl->decl.type);
		}
	}
	for (i = startimpl; i < nimpltab; i++) {
		impl = impltab[i];
		if (!impl->impl.env) {
			impl->impl.env = mkenv();
			bindtype(impl->impl.env, impl->impl.type);
		}
	}
	fiximplmappings(s);
	popstab();
	return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movl %ecx, 0x8(%rsp)
movq %rdx, %r13
movq %rsi, %r15
movq %rdi, %r12
leaq 0x3b78f(%rip), %rax     # 0x5e960
movq (%rax), %r14
leaq 0x3c00d(%rip), %rax     # 0x5f1e8
movq (%rax), %rax
movq %rax, 0x48(%rsp)
leaq 0x3c026(%rip), %rax     # 0x5f210
movq (%rax), %rbp
leaq 0x3b084(%rip), %rax     # 0x5e278
movq 0x90(%rax), %rdi
callq 0x1d890
cmpq $0x0, 0x3c018(%rip)     # 0x5f220
jne 0x23224
leaq -0x7174(%rip), %rdi     # 0x1c09d
leaq -0x7118(%rip), %rsi     # 0x1c100
callq 0x2a188
movq %rax, 0x3bffc(%rip)     # 0x5f220
movq %r15, %rdi
callq 0x41d0
xorl %ebx, %ebx
cmpl $0x55, %eax
jne 0x23bf0
movq %r15, %rdi
callq 0x2a844
cmpl $0x17, %eax
jne 0x23c12
movq %r14, 0x38(%rsp)
movq %r15, %rdi
callq 0x2a8d3
movq %rax, %rbx
movq 0x8(%r13), %rsi
testq %rsi, %rsi
je 0x23c01
testq %rbx, %rbx
je 0x23279
movq %rbx, %rdi
callq 0x4230
movq %r13, %r14
testl %eax, %eax
je 0x23287
movq %r13, %rdi
movq %rbx, %rsi
callq 0x23caf
movq %rax, %r14
movq 0x8(%r13), %rdi
movq %rbx, %rsi
callq 0x2a626
testl %eax, %eax
movl 0x8(%rsp), %ecx
cmovel %eax, %ecx
movl %ecx, 0x8(%rsp)
movq %r14, 0x10(%rsp)
testq %r14, %r14
je 0x23c92
leaq 0x73f6(%rip), %rbx      # 0x2a6ab
leaq 0x7411(%rip), %r12      # 0x2a6cd
movq %rbx, %rdi
movq %r12, %rsi
callq 0x2a188
movq %rax, 0x3bf5a(%rip)     # 0x5f228
movq %rbx, %rdi
movq %r12, %rsi
callq 0x2a188
movq %rax, 0x3bf38(%rip)     # 0x5f218
cmpq $0x0, 0x3bf48(%rip)     # 0x5f230
jne 0x23304
leaq -0x7254(%rip), %rdi     # 0x1c09d
leaq -0x71f8(%rip), %rsi     # 0x1c100
callq 0x2a188
movq %rax, 0x3bf2c(%rip)     # 0x5f230
xorl %ebx, %ebx
leaq 0x3beeb(%rip), %r14     # 0x5f1f8
cmpq $0x8, %rbx
je 0x2332e
movq 0x3befe(%rip), %rdi     # 0x5f218
movq (%r14), %rax
movq (%rax,%rbx,8), %rdx
movq %rbx, %rsi
callq 0x2a22a
incq %rbx
jmp 0x2330d
movq %rbp, 0x40(%rsp)
leaq 0x10c3e(%rip), %r14     # 0x33f78
leaq 0x3af37(%rip), %rax     # 0x5e278
leaq 0x50(%rax), %rcx
movq %rcx, 0x20(%rsp)
leaq 0x58(%rax), %rcx
movq %rcx, 0x60(%rsp)
leaq 0x60(%rax), %rcx
movq %rcx, 0x58(%rsp)
leaq 0x68(%rax), %rcx
movq %rcx, 0x50(%rsp)
leaq 0x8(%rax), %rcx
movq %rcx, 0x18(%rsp)
leaq 0x20(%rax), %rcx
movq %rcx, 0x30(%rsp)
addq $0x28, %rax
movq %rax, 0x28(%rsp)
movq %r15, %rdi
callq 0x41d0
movl %eax, %ebx
leal -0x44(%rbx), %eax
cmpl $0x14, %eax
ja 0x23627
movslq (%r14,%rax,4), %rax
addq %r14, %rax
jmpq *%rax
movq %r15, %rdi
xorl %esi, %esi
callq 0x230c3
movl 0x8(%rsp), %ecx
movb %cl, 0x70(%rax)
movb $0x1, 0x71(%rax)
movq 0x10(%rsp), %rdi
movq %rax, %rsi
callq 0x1deda
jmp 0x23380
movq %r15, %rdi
callq 0x227cd
movq %rax, %r13
movq 0x3be5b(%rip), %rdi     # 0x5f230
movq %rax, %rsi
callq 0x2a517
testl %eax, %eax
jne 0x23380
movq 0x3be48(%rip), %rdi     # 0x5f230
movq %r13, %rsi
movq %r13, %rdx
callq 0x2a22a
cmpl $0x53, %ebx
jne 0x236cd
movq 0x20(%rsp), %rdi
movq 0x60(%rsp), %rsi
jmp 0x236d7
movq %r15, %rdi
callq 0x2a8d3
movq 0x18(%rsp), %rdi
leaq 0x3ae59(%rip), %rsi     # 0x5e278
movq %rax, %rdx
callq 0x29b2d
jmp 0x23380
movq %r15, %rdi
callq 0x2a8d3
movq %rax, %rbx
leaq 0x3ae3a(%rip), %rax     # 0x5e278
movq 0x30(%rax), %r12
movq 0x38(%rax), %r13
xorl %ebp, %ebp
cmpq %rbp, %r13
je 0x23635
movq (%r12,%rbp,8), %rdi
movq %rbx, %rsi
callq 0x4230
incq %rbp
testl %eax, %eax
jne 0x23448
jmp 0x23380
movq %r15, %rdi
callq 0x226a4
movq %rax, %rbx
movl 0x8(%rsp), %eax
movl %eax, 0xc(%rbx)
movq 0x10(%rbx), %rsi
movq 0x10(%rsp), %rdi
movq %rbx, %rdx
callq 0x1e436
xorl %r12d, %r12d
cmpq 0x38(%rbx), %r12
jae 0x23380
movq 0x30(%rbx), %rax
movq (%rax,%r12,8), %rsi
movq 0x10(%rsp), %rdi
callq 0x1deda
movb 0x49(%rbx), %al
movq 0x30(%rbx), %rcx
movq (%rcx,%r12,8), %rcx
movb %al, 0x76(%rcx)
movq 0x30(%rbx), %rax
movq (%rax,%r12,8), %rax
movq 0x38(%rax), %rax
testq %rax, %rax
je 0x234d1
movq 0x40(%rbx), %rcx
movq %rcx, (%rax)
incq %r12
jmp 0x2348f
movq %r15, %rdi
callq 0x227cd
movq %rax, %rbx
movb $0x1, 0x5d(%rax)
movl 0x8(%rsp), %eax
movl %eax, 0x58(%rbx)
xorl %r12d, %r12d
cmpq 0x50(%rbx), %r12
jae 0x23380
movq 0x48(%rbx), %rax
movq (%rax,%r12,8), %r13
movb $0x1, 0x71(%r13)
movq 0x20(%r13), %rax
movq 0x18(%rax), %rsi
testq %rsi, %rsi
je 0x23522
movq 0x10(%rsp), %rdi
callq 0x23caf
movq %rax, %rdi
jmp 0x23530
leaq 0x3ad4f(%rip), %rax     # 0x5e278
movq 0x90(%rax), %rdi
movq %r13, %rsi
callq 0x1deda
incq %r12
jmp 0x234ef
movq %r15, %rdi
callq 0x2a8d3
movq %rax, %rbx
leaq 0x3ad29(%rip), %rax     # 0x5e278
movq 0x20(%rax), %r12
movq 0x28(%rax), %r13
xorl %ebp, %ebp
cmpq %rbp, %r13
je 0x23646
movq (%r12,%rbp,8), %rdi
movq %rbx, %rsi
callq 0x4230
incq %rbp
testl %eax, %eax
jne 0x23559
jmp 0x23380
movq %r15, %rdi
callq 0x2a844
movq %rax, %rbx
movq %r15, %rdi
callq 0x22c9e
movq %rax, %r13
cmpb $0x0, 0x92(%rax)
jne 0x235a1
movl 0x8(%rsp), %eax
movl %eax, 0x10(%r13)
movq 0x3bc80(%rip), %rdi     # 0x5f228
movq %rbx, %rsi
movq %r13, %rdx
callq 0x2a22a
movl (%r13), %eax
leal -0x1c(%rax), %ecx
cmpl $0x2, %ecx
jae 0x2365d
movq 0x10(%rsp), %rbx
movq 0x8(%rbx), %rdi
movq 0x88(%r13), %rax
movq 0x18(%rax), %rsi
callq 0x2a626
testl %eax, %eax
jne 0x235e8
movb $0x1, 0x92(%r13)
movq 0x88(%r13), %rsi
movq %rbx, %rdi
callq 0x1dda3
testq %rax, %rax
jne 0x23380
cmpb $0x0, 0x92(%r13)
jne 0x23380
movq 0x88(%r13), %rsi
movq 0x10(%rsp), %rdi
movq %r13, %rdx
callq 0x1e2a4
jmp 0x23380
cmpl $-0x1, %ebx
jne 0x23380
jmp 0x236e4
leaq 0x3ac3c(%rip), %rax     # 0x5e278
leaq 0x30(%rax), %rdi
leaq 0x38(%rax), %rsi
jmp 0x23650
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq %rbx, %rdx
callq 0x29b2d
jmp 0x23380
cmpl $0x18, %eax
jne 0x23380
xorl %r12d, %r12d
cmpq 0x78(%r13), %r12
jae 0x23380
movq 0x88(%r13), %rax
movq (%rax,%r12,8), %rax
movq 0x18(%rax), %rax
movq 0x18(%rax), %rsi
movq 0x10(%rsp), %rdi
callq 0x23caf
movq %rax, %rbx
movq 0x88(%r13), %rax
movq (%rax,%r12,8), %rax
movq 0x18(%rax), %rsi
movq %rbx, %rdi
callq 0x1de08
testq %rax, %rax
jne 0x236c8
movq 0x88(%r13), %rax
movq (%rax,%r12,8), %rsi
cmpl $0x0, 0x10(%rsi)
jne 0x236c8
movq %rbx, %rdi
callq 0x1e3ba
incq %r12
jmp 0x23669
movq 0x58(%rsp), %rdi
movq 0x50(%rsp), %rsi
movq %r13, %rdx
callq 0x29b2d
jmp 0x23380
pushq $0x8
popq %rbx
xorl %r14d, %r14d
movq 0x3bb5f(%rip), %rax     # 0x5f250
cmpq %rax, %r14
jae 0x2372e
movq 0x3bb2b(%rip), %rdi     # 0x5f228
movq 0x3bb44(%rip), %rax     # 0x5f248
movq (%rax,%rbx), %rsi
callq 0x2a3e8
movq 0x3bb34(%rip), %rcx     # 0x5f248
testq %rax, %rax
je 0x23c37
movq -0x8(%rcx,%rbx), %rcx
movq %rax, (%rcx)
incq %r14
addq $0x10, %rbx
jmp 0x236ea
xorl %ebx, %ebx
xorl %r14d, %r14d
movq 0x40(%rsp), %rbp
cmpq %rax, %r14
jae 0x23778
movq 0x3bb04(%rip), %rcx     # 0x5f248
movq (%rcx,%rbx), %rcx
movq (%rcx), %rdi
movl (%rdi), %ecx
andl $-0x2, %ecx
cmpl $0x1c, %ecx
jne 0x2376f
callq 0x1fd76
movq 0x3bae7(%rip), %rcx     # 0x5f248
movq (%rcx,%rbx), %rcx
movq %rax, (%rcx)
movq 0x3bae1(%rip), %rax     # 0x5f250
incq %r14
addq $0x10, %rbx
jmp 0x23738
pushq $0x8
popq %r14
xorl %r12d, %r12d
cmpq %rax, %r12
jae 0x2381e
movq 0x3ba99(%rip), %rdi     # 0x5f228
movq 0x3bab2(%rip), %rax     # 0x5f248
movq (%rax,%r14), %rsi
callq 0x2a3e8
movq %rax, %rbx
movl (%rax), %eax
andl $-0x2, %eax
cmpl $0x1c, %eax
jne 0x2380b
movq %rbx, %rdi
callq 0x1fd76
movq %rax, %r15
movq %rbx, %rdi
movq %rax, %rsi
callq 0x215f5
testl %eax, %eax
jne 0x2380b
movl (%rbx), %eax
cmpl $0x1c, %eax
je 0x237e1
cmpl $0x1d, %eax
jne 0x23c5e
cmpl $0x1c, (%r15)
je 0x237f0
jmp 0x23c5e
movl (%r15), %eax
andl $-0x2, %eax
cmpl $0x1c, %eax
jne 0x23c5e
movq 0x88(%rbx), %rdi
movq 0x88(%r15), %rsi
callq 0x1c100
testl %eax, %eax
je 0x23c5e
incq %r12
movq 0x3ba3b(%rip), %rax     # 0x5f250
addq $0x10, %r14
jmp 0x2377f
leaq 0x3ba23(%rip), %rdi     # 0x5f248
leaq 0x3ba24(%rip), %rsi     # 0x5f250
callq 0x29cc7
xorl %r14d, %r14d
xorl %r12d, %r12d
cmpq 0x3ba02(%rip), %r12     # 0x5f240
jae 0x238f3
movq 0x3b9cd(%rip), %rdi     # 0x5f218
movq 0x3b9e6(%rip), %rax     # 0x5f238
movq 0x10(%rax,%r14), %rsi
callq 0x2a3e8
testq %rax, %rax
je 0x23c44
movq %rax, %r15
movq 0x3b9b1(%rip), %rdi     # 0x5f220
movq 0x10(%rax), %rsi
callq 0x2a3e8
movq %rax, %rbx
testq %rax, %rax
jne 0x23896
movq 0x3b999(%rip), %rdi     # 0x5f220
movq 0x10(%r15), %rsi
movq %r15, %rdx
callq 0x2a22a
movq %r15, %rbx
movq 0x3b99b(%rip), %rax     # 0x5f238
movq (%rax,%r14), %rcx
testq %rcx, %rcx
je 0x238a9
movq %rbx, (%rcx)
movq 0x8(%rax,%r14), %rax
testq %rax, %rax
je 0x238e7
cmpl $0x1a, (%rax)
jne 0x238e7
movq 0x80(%rax), %rdi
testq %rdi, %rdi
jne 0x238df
callq 0x29d3c
movq %rax, %rdi
movq 0x3b965(%rip), %rax     # 0x5f238
movq 0x8(%rax,%r14), %rax
movq %rdi, 0x80(%rax)
movslq (%rbx), %rsi
callq 0x29ed5
incq %r12
addq $0x18, %r14
jmp 0x23837
movq 0x3b93e(%rip), %rdi     # 0x5f238
callq 0x4040
andq $0x0, 0x3b931(%rip)     # 0x5f238
andq $0x0, 0x3b931(%rip)     # 0x5f240
movq 0x3b912(%rip), %rdi     # 0x5f228
callq 0x2a1f3
leaq 0x3b8b6(%rip), %r14     # 0x5f1d8
leaq 0x3b037(%rip), %r12     # 0x5e960
movq 0x48(%rsp), %r13
leaq 0x3b8b3(%rip), %rax     # 0x5f1e8
cmpq (%rax), %r13
jae 0x239cb
movq (%r14), %rax
movq (%rax,%r13,8), %rbx
movl (%rbx), %eax
andl $-0x2, %eax
cmpl $0x1c, %eax
jne 0x2397f
movq %rbx, %rdi
callq 0x2065a
testl %eax, %eax
je 0x23962
cmpq $0x0, 0x60(%rbx)
je 0x23984
movq 0x60(%rbx), %rax
movq 0x68(%rbx), %rcx
movq (%rcx), %rcx
movq 0x60(%rcx), %rdx
addq $0x60, %rcx
testq %rdx, %rdx
cmovneq %rdx, %rcx
movq %rax, (%rcx)
incq %r13
jmp 0x2392e
callq 0x1d928
movq %rax, 0x60(%rbx)
xorl %r15d, %r15d
cmpq 0x38(%rbx), %r15
jae 0x239ac
movq 0x30(%rbx), %rax
movq 0x60(%rbx), %rdi
movq (%rax,%r15,8), %rsi
callq 0x1e6ec
incq %r15
jmp 0x23990
xorl %r15d, %r15d
cmpq 0x48(%rbx), %r15
jae 0x23962
movq 0x40(%rbx), %rax
movq 0x60(%rbx), %rdi
movq (%rax,%r15,8), %rsi
callq 0x1e6ec
incq %r15
jmp 0x239af
leaq 0x3af96(%rip), %rbx     # 0x5e968
movq 0x38(%rsp), %rcx
leaq 0x3b832(%rip), %r13     # 0x5f210
cmpq (%r12), %rcx
jae 0x23a18
movq (%rbx), %rax
movq %rcx, %r15
movq (%rax,%rcx,8), %r14
movq 0x28(%r14), %rdi
callq 0x2065a
testl %eax, %eax
je 0x23a10
callq 0x1d928
movq %rax, 0x38(%r14)
movq 0x28(%r14), %rsi
movq %rax, %rdi
callq 0x1e6ec
movq %r15, %rcx
incq %rcx
jmp 0x239de
movq (%r13), %rax
leaq 0x3b7e5(%rip), %rbx     # 0x5f208
cmpq %rax, %rbp
jae 0x23a54
movq (%rbx), %rcx
movq (%rcx,%rbp,8), %r14
cmpq $0x0, 0x38(%r14)
jne 0x23a4f
callq 0x1d928
movq %rax, 0x38(%r14)
movq 0x28(%r14), %rsi
movq %rax, %rdi
callq 0x1e6ec
movq (%r13), %rax
incq %rbp
jmp 0x23a23
xorl %ecx, %ecx
cmpq 0x3b803(%rip), %rcx     # 0x5f260
jae 0x23be8
movq 0x3b7ee(%rip), %rax     # 0x5f258
movq %rcx, 0x20(%rsp)
movq (%rax,%rcx,8), %rbx
movq 0x20(%rbx), %r13
movq 0x10(%rsp), %rdi
movq %rbx, %rsi
callq 0x1e67d
testq %rax, %rax
je 0x23a93
movq 0x20(%rsp), %rcx
incq %rcx
jmp 0x23a56
movq 0x10(%rsp), %rdi
movq %rbx, %rsi
callq 0x1e589
xorl %r14d, %r14d
movq %rbx, 0x28(%rsp)
cmpq 0x50(%rbx), %r14
jae 0x23a89
leaq 0x3a7c3(%rip), %rax     # 0x5e278
movq 0x90(%rax), %rdi
movq 0x48(%rbx), %rax
movq (%rax,%r14,8), %rsi
callq 0x1deda
movq 0x28(%rbx), %rax
movq %rax, 0x8(%rsp)
movq 0x48(%rbx), %rax
movq %r14, 0x30(%rsp)
movq (%rax,%r14,8), %rdi
movq %rdi, 0x18(%rsp)
callq 0x1befe
movq %rax, %rbp
xorl %r12d, %r12d
cmpq 0x38(%r13), %r12
jae 0x23bd6
movq 0x30(%r13), %rax
movq (%rax,%r12,8), %rax
movq 0x20(%rax), %rbx
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x23b18
callq 0x1da38
movq %rax, %rdi
jmp 0x23b26
leaq 0x3a759(%rip), %rax     # 0x5e278
movq 0x90(%rax), %rdi
movq %rbx, %rsi
callq 0x1dc67
movq %rax, %rbx
testq %rax, %rax
jne 0x23b3e
movq 0x30(%r13), %rax
movq (%rax,%r12,8), %rbx
movq %rbx, %rdi
callq 0x1befe
movq %rax, %r14
movq %rbp, %rdi
movq %rax, %rsi
callq 0x4370
testq %rax, %rax
je 0x23bce
movq %rax, %r15
movq %r14, %rdi
callq 0x4120
cmpb $0x24, (%r15,%rax)
jne 0x23bce
movq 0x48(%rbx), %rdi
movq 0x8(%rsp), %rsi
callq 0x2a517
testl %eax, %eax
jne 0x23bce
movq 0x48(%rbx), %rdi
movq 0x8(%rsp), %r14
movq %r14, %rsi
movq 0x18(%rsp), %rdx
callq 0x2a22a
cmpl $0x1d, (%r14)
je 0x23ba7
movq 0x8(%rsp), %rdi
callq 0x2065a
testl %eax, %eax
je 0x23bce
leaq 0x50(%rbx), %rdi
leaq 0x58(%rbx), %rsi
movq 0x18(%rsp), %rdx
callq 0x29b2d
leaq 0x60(%rbx), %rdi
addq $0x68, %rbx
movq %rbx, %rsi
movq 0x8(%rsp), %rdx
callq 0x29b2d
incq %r12
jmp 0x23aef
movq 0x30(%rsp), %r14
incq %r14
movq 0x28(%rsp), %rbx
jmp 0x23aa8
callq 0x1d8d4
pushq $0x1
popq %rbx
movl %ebx, %eax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r13, %r14
testq %rbx, %rbx
jne 0x23279
jmp 0x23287
movq 0x1d3d7(%rip), %rcx     # 0x40ff0
movq (%rcx), %rdi
leaq 0x10425(%rip), %rsi     # 0x34048
xorl %ebx, %ebx
pushq $0x17
popq %r8
movq %r12, %rdx
movl %eax, %ecx
xorl %eax, %eax
callq 0x4240
jmp 0x23bf0
movq (%rcx,%rbx), %rsi
leaq 0x10517(%rip), %rdi     # 0x34159
jmp 0x23c57
movq 0x3b5ed(%rip), %rax     # 0x5f238
movq 0x10(%rax,%r14), %rsi
leaq 0x1054b(%rip), %rdi     # 0x341a2
xorl %eax, %eax
callq 0x1205c
movq %r15, %rdi
callq 0x21009
leaq 0x3a60b(%rip), %rcx     # 0x5e278
movq 0x8(%rcx), %rcx
movslq 0xc(%r15), %rdx
movq (%rcx,%rdx,8), %rcx
movl 0x8(%r15), %r8d
movq 0x8(%rbx), %rdi
leaq 0x104f1(%rip), %rsi     # 0x34179
movq %rax, %rdx
xorl %eax, %eax
callq 0x121e4
movq 0x8(%r13), %rsi
leaq 0x103cc(%rip), %rdi     # 0x34069
movq %r12, %rdx
xorl %eax, %eax
callq 0x4140
pushq $0x1
popq %rdi
callq 0x4320