LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/type.c
// Function: mktyunres
Type *
mktyunres(Srcloc loc, Node *name, Type **arg, size_t narg)
{
	size_t i;
	Type *t;

	/* resolve it in the type inference stage */
	t = mktype(loc, Tyunres);
	t->name = name;
	t->arg = arg;
	t->narg = narg;
	t->env = mkenv();
	for (i = 0; i < narg; i++)
		bindtype(t->env, arg[i]);
	return t;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r12
movl $0x1b, %esi
callq 0x22d38
movq %rax, %r15
movq %r12, 0x88(%rax)
movq %r14, 0x40(%rax)
movq %rbx, 0x48(%rax)
callq 0x2010c
movq %rax, 0x60(%r15)
testq %rbx, %rbx
je 0x23062
xorl %r12d, %r12d
movq 0x60(%r15), %rdi
movq (%r14,%r12,8), %rsi
callq 0x20ffe
incq %r12
cmpq %r12, %rbx
jne 0x2304d
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/type.c
// Function: mktygeneric
Type *
mktygeneric(Srcloc loc, Node *name, Type **param, size_t nparam, Type *base)
{
	Type *t;
	int i;

	t = mktype(loc, Tygeneric);
	t->name = name;
	t->nsub = 1;
	t->sub = xalloc(sizeof(Type *));
	t->sub[0] = base;
	t->gparam = param;
	t->ngparam = nparam;
	t->env = mkenv();
	for (i = 0; i < nparam; i++)
		bindtype(t->env, param[i]);
	if (!base->env)
		base->env = t->env;
	return t;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r12
movq %rsi, %r13
movl $0x1d, %esi
callq 0x22d38
movq %rax, %r15
movq %r13, 0x88(%rax)
movq $0x1, 0x70(%rax)
movl $0x8, %edi
callq 0x2d379
movq %rax, 0x68(%r15)
movq %rbx, (%rax)
movq %r12, 0x30(%r15)
movq %r14, 0x38(%r15)
callq 0x2010c
movq %rax, 0x60(%r15)
testq %r14, %r14
je 0x230e1
xorl %r13d, %r13d
movq 0x60(%r15), %rdi
movq (%r12,%r13,8), %rsi
callq 0x20ffe
incq %r13
cmpq %r13, %r14
jne 0x230cc
cmpq $0x0, 0x60(%rbx)
jne 0x230f0
movq 0x60(%r15), %rax
movq %rax, 0x60(%rbx)
movq %r15, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/type.c
// Function: mktyname
Type *
mktyname(Srcloc loc, Node *name, Type *base)
{
	Type *t;

	t = mktype(loc, Tyname);
	t->name = name;
	t->nsub = 1;
	t->sub = xalloc(sizeof(Type *));
	t->sub[0] = base;
	return t;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movl $0x1c, %esi
callq 0x22d38
movq %rax, %r15
movq %r14, 0x88(%rax)
movq $0x1, 0x70(%rax)
movl $0x8, %edi
callq 0x2d379
movq %rax, 0x68(%r15)
movq %rbx, (%rax)
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/type.c
// Function: mktyarray
Type *
mktyarray(Srcloc loc, Type *base, Node *sz)
{
	Type *t;

	t = mktype(loc, Tyarray);
	t->nsub = 1;
	t->nmemb = 1; /* the size is a "member" */
	t->sub = xalloc(sizeof(Type *));
	t->sub[0] = base;
	t->asize = sz;

	return t;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movl $0x15, %esi
callq 0x22d38
movq %rax, %r15
movl $0x1, %eax
movq %rax, 0x70(%r15)
movq %rax, 0x78(%r15)
movl $0x8, %edi
callq 0x2d379
movq %rax, 0x68(%r15)
movq %r14, (%rax)
movq %rbx, 0x88(%r15)
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/type.c
// Function: mktyslice
Type *
mktyslice(Srcloc loc, Type *base)
{
	Type *t;

	t = mktype(loc, Tyslice);
	t->nsub = 1;
	t->sub = xalloc(sizeof(Type *));
	t->sub[0] = base;
	return t;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movl $0x14, %esi
callq 0x22d38
movq %rax, %r14
movq $0x1, 0x70(%rax)
movl $0x8, %edi
callq 0x2d379
movq %rax, 0x68(%r14)
movq %rbx, (%rax)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/type.c
// Function: mktyptr
Type *
mktyptr(Srcloc loc, Type *base)
{
	Type *t;

	t = mktype(loc, Typtr);
	t->nsub = 1;
	t->sub = xalloc(sizeof(Type *));
	t->sub[0] = base;
	return t;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movl $0x12, %esi
callq 0x22d38
movq %rax, %r14
movq $0x1, 0x70(%rax)
movl $0x8, %edi
callq 0x2d379
movq %rax, 0x68(%r14)
movq %rbx, (%rax)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/type.c
// Function: mktytuple
Type *
mktytuple(Srcloc loc, Type **sub, size_t nsub)
{
	Type *t;
	size_t i;

	t = mktype(loc, Tytuple);
	t->nsub = nsub;
	t->sub = xalloc(nsub * sizeof(Type *));
	for (i = 0; i < nsub; i++)
		t->sub[i] = sub[i];
	return t;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movl $0x16, %esi
callq 0x22d38
movq %rax, %r15
movq %rbx, 0x70(%rax)
leaq (,%rbx,8), %rdi
callq 0x2d379
movq %rax, 0x68(%r15)
testq %rbx, %rbx
je 0x2323c
xorl %eax, %eax
movq (%r14,%rax,8), %rcx
movq 0x68(%r15), %rdx
movq %rcx, (%rdx,%rax,8)
incq %rax
cmpq %rax, %rbx
jne 0x23228
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/type.c
// Function: mktyfunc
Type *
mktyfunc(Srcloc loc, Node **args, size_t nargs, Type *ret)
{
	Type *t;
	size_t i;

	t = mktype(loc, Tyfunc);
	t->nsub = nargs + 1;
	t->sub = xalloc((1 + nargs) * sizeof(Type *));
	t->sub[0] = ret;
	t->env = mkenv();
	for (i = 0; i < nargs; i++)
		t->sub[i + 1] = nodetype(args[i]);
	for (i = 0; i < t->nsub; i++)
		bindtype(t->env, t->sub[i]);
	return t;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r12
movq %rdx, %r14
movq %rsi, %r15
movl $0x13, %esi
callq 0x22d38
movq %rax, %rbx
leaq 0x1(%r14), %rax
movq %rax, 0x70(%rbx)
leaq 0x8(,%r14,8), %rdi
callq 0x2d379
movq %rax, 0x68(%rbx)
movq %r12, (%rax)
callq 0x2010c
movq %rax, 0x60(%rbx)
testq %r14, %r14
je 0x232aa
xorl %r12d, %r12d
movq (%r15,%r12,8), %rdi
callq 0x1e596
movq 0x68(%rbx), %rcx
movq %rax, 0x8(%rcx,%r12,8)
incq %r12
cmpq %r12, %r14
jne 0x23290
cmpq $0x0, 0x70(%rbx)
je 0x232ce
xorl %r14d, %r14d
movq 0x60(%rbx), %rdi
movq 0x68(%rbx), %rax
movq (%rax,%r14,8), %rsi
callq 0x20ffe
incq %r14
cmpq 0x70(%rbx), %r14
jb 0x232b4
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/type.c
// Function: mktystruct
Type *
mktystruct(Srcloc loc, Node **decls, size_t ndecls)
{
	Type *t;
	Htab *ht;
	int i;
	char *s;

	t = mktype(loc, Tystruct);
	t->nsub = 0;
	t->nmemb = ndecls;

	ht = mkht(strhash, streq);
	for (i = 0; i < ndecls; i++) {
		s = declname(decls[i]);
		if (hthas(ht, s))
			fatal(decls[i], "duplicate struct member %s\n", declname(decls[i]));
		htput(ht, s, s);
	}
	htfree(ht);

	t->sdecls = memdup(decls, ndecls * sizeof(Node *));
	return t;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movl $0x17, %esi
callq 0x22d38
movq %rax, %r15
movq $0x0, 0x70(%rax)
movq %rbx, 0x78(%rax)
leaq 0xac2e(%rip), %rdi      # 0x2df3c
leaq 0xacc5(%rip), %rsi      # 0x2dfda
callq 0x2db1c
movq %rax, %r12
testq %rbx, %rbx
je 0x23355
xorl %ebp, %ebp
movq (%r14,%rbp,8), %rdi
callq 0x1e53d
movq %rax, %r13
movq %r12, %rdi
movq %rax, %rsi
callq 0x2decd
testl %eax, %eax
jne 0x23385
movq %r12, %rdi
movq %r13, %rsi
movq %r13, %rdx
callq 0x2dbc2
incq %rbp
cmpq %rbp, %rbx
jne 0x23324
movq %r12, %rdi
callq 0x2db8b
shlq $0x3, %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2d60b
movq %rax, 0x88(%r15)
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq (%r14,%rbp,8), %rbx
movq %rbx, %rdi
callq 0x1e53d
leaq 0x14a0e(%rip), %rsi     # 0x37da6
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x13aa3
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/type.c
// Function: mktyunion
Type *
mktyunion(Srcloc loc, Ucon **decls, size_t ndecls)
{
	Type *t;

	t = mktype(loc, Tyunion);
	t->nmemb = ndecls;
	t->udecls = decls;
	return t;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movl $0x18, %esi
callq 0x22d38
movq %rbx, 0x78(%rax)
movq %r14, 0x88(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/type.c
// Function: finducon
Ucon *
finducon(Type *ty, Node *name)
{
	size_t i;

	ty = tybase(ty);
	for (i = 0; i < ty->nmemb; i++)
		if (!strcmp(namestr(ty->udecls[i]->name), namestr(name)))
			return ty->udecls[i];
	return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r14
callq 0x22c44
cmpq $0x0, 0x78(%rax)
je 0x23425
movq %rax, %r15
xorl %ebx, %ebx
xorl %r13d, %r13d
movq 0x88(%r15), %rax
movq (%rax,%r13,8), %rax
movq 0x18(%rax), %rdi
callq 0x1e73b
movq %rax, %r12
movq %r14, %rdi
callq 0x1e73b
movq %r12, %rdi
movq %rax, %rsi
callq 0x4230
testl %eax, %eax
je 0x23429
incq %r13
cmpq 0x78(%r15), %r13
jb 0x233ec
jmp 0x23434
xorl %ebx, %ebx
jmp 0x23434
movq 0x88(%r15), %rax
movq (%rax,%r13,8), %rbx
movq %rbx, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/type.c
// Function: hasparamsrec
int
hasparamsrec(Type *t, Bitset *visited)
{
	size_t i;

	if (bshas(visited, t->tid))
		return 0;
	bsput(visited, t->tid);
	switch (t->type) {
	case Typaram:	return 1;
	case Tygeneric: return 1;
	case Tyname:
		for (i = 0; i < t->narg; i++)
			if (hasparamsrec(t->arg[i], visited))
				return 1;
		return hasparamsrec(t->sub[0], visited);
	case Tyunres:
		for (i = 0; i < t->narg; i++)
			if (hasparamsrec(t->arg[i], visited))
				return 1;
		break;
	case Tystruct:
		for (i = 0; i < t->nmemb; i++)
			if (hasparamsrec(t->sdecls[i]->decl.type, visited))
				return 1;
		break;
	case Tyunion:
		for (i = 0; i < t->nmemb; i++)
			if (t->udecls[i]->etype && hasparamsrec(t->udecls[i]->etype, visited))
				return 1;
		break;
	default:
		for (i = 0; i < t->nsub; i++)
			if (hasparamsrec(t->sub[i], visited))
				return 1;
		break;
	}
	return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movl 0x4(%r14), %esi
movq (%rbx), %rax
shlq $0x6, %rax
cmpq %rsi, %rax
jbe 0x2354d
movq 0x8(%rbx), %rax
movl %esi, %ecx
shrl $0x6, %ecx
movq (%rax,%rcx,8), %rax
btq %rsi, %rax
jb 0x23689
movq %rbx, %rdi
callq 0x2d816
movl (%r14), %eax
cmpl $0x1c, %eax
jne 0x2358d
cmpq $0x0, 0x48(%r14)
je 0x23584
xorl %r15d, %r15d
movq 0x40(%r14), %rax
movq (%rax,%r15,8), %rdi
movq %rbx, %rsi
callq 0x2351b
testl %eax, %eax
jne 0x235a9
incq %r15
cmpq 0x48(%r14), %r15
jb 0x23567
movq 0x68(%r14), %rax
movq (%rax), %r14
jmp 0x23526
addl $-0x17, %eax
cmpl $0x6, %eax
ja 0x23657
leaq 0x14660(%rip), %rcx     # 0x37c00
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x1, %eax
popq %rbx
popq %r14
popq %r15
retq
cmpq $0x0, 0x78(%r14)
je 0x23689
xorl %r15d, %r15d
movq 0x88(%r14), %rax
movq (%rax,%r15,8), %rax
movq 0x28(%rax), %rdi
testq %rdi, %rdi
je 0x235e2
movq %rbx, %rsi
callq 0x2351b
testl %eax, %eax
jne 0x235a9
incq %r15
xorl %eax, %eax
cmpq 0x78(%r14), %r15
jb 0x235c2
jmp 0x235ae
cmpq $0x0, 0x78(%r14)
je 0x23689
xorl %r15d, %r15d
movq 0x88(%r14), %rax
movq (%rax,%r15,8), %rax
movq 0x28(%rax), %rdi
movq %rbx, %rsi
callq 0x2351b
testl %eax, %eax
jne 0x235a9
incq %r15
xorl %eax, %eax
cmpq 0x78(%r14), %r15
jb 0x235fd
jmp 0x235ae
cmpq $0x0, 0x48(%r14)
je 0x23689
xorl %r15d, %r15d
movq 0x40(%r14), %rax
movq (%rax,%r15,8), %rdi
movq %rbx, %rsi
callq 0x2351b
testl %eax, %eax
jne 0x235a9
incq %r15
xorl %eax, %eax
cmpq 0x48(%r14), %r15
jb 0x2362f
jmp 0x235ae
cmpq $0x0, 0x70(%r14)
je 0x23689
xorl %r15d, %r15d
movq 0x68(%r14), %rax
movq (%rax,%r15,8), %rdi
movq %rbx, %rsi
callq 0x2351b
testl %eax, %eax
jne 0x235a9
incq %r15
xorl %eax, %eax
cmpq 0x70(%r14), %r15
jb 0x23661
jmp 0x235ae
xorl %eax, %eax
jmp 0x235ae
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/type.c
// Function: hasparams
int
hasparams(Type *t)
{
	Bitset *visited;

	if (t->hasparams)
		return 1;
	visited = mkbs();
	t->hasparams = hasparamsrec(t, visited);
	bsfree(visited);
	return t->hasparams;
}

// Assembly:
movl $0x1, %eax
cmpb $0x0, 0x90(%rdi)
je 0x2369f
retq
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x2d63c
movq %rax, %r14
movq %rbx, %rdi
movq %rax, %rsi
callq 0x2351b
movb %al, 0x90(%rbx)
movq %r14, %rdi
callq 0x2d664
movsbl 0x90(%rbx), %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/type.c
// Function: traitfmt
int
traitfmt(char *buf, size_t len, Type *t)
{
	size_t i;
	char *p;
	char *end;
	char *sep;

	if (!t->trneed || !bscount(t->trneed))
		return 0;

	p = buf;
	end = p + len;

	p += bprintf(p, end - p, " :: ");
	sep = "";
	for (i = 0; bsiter(t->trneed, &i); i++) {
		p += bprintf(p, end - p, "%s%s", sep, namestr(traittab[i]->name));
		sep = ",";
	}
	return p - buf;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq 0x80(%rdx), %rdi
xorl %r15d, %r15d
testq %rdi, %rdi
je 0x237b8
movq %rdx, %r14
movq %rsi, %r13
callq 0x2d71f
testq %rax, %rax
je 0x237b8
leaq 0x146cc(%rip), %rdx     # 0x37de1
movq %rbx, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x2e42e
movq %rax, %r15
addq %rbx, %r15
leaq 0x8(%rsp), %rsi
movq $0x0, (%rsi)
movq 0x80(%r14), %rdi
callq 0x2d753
testl %eax, %eax
movq %rbx, 0x10(%rsp)
je 0x237b3
addq %rbx, %r13
leaq 0xe6e7(%rip), %rbx      # 0x31e3a
leaq 0x1561e(%rip), %rbp     # 0x38d78
movq %r13, %r12
subq %r15, %r12
movq 0x3ea91(%rip), %rax     # 0x621f8
movq 0x8(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x10(%rax), %rdi
callq 0x1e73b
movq %r15, %rdi
movq %r12, %rsi
leaq 0xe3ad(%rip), %rdx      # 0x31b33
movq %rbx, %rcx
movq %rax, %r8
xorl %eax, %eax
callq 0x2e42e
addq %rax, %r15
incq 0x8(%rsp)
movq 0x80(%r14), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2d753
movq %rbp, %rbx
testl %eax, %eax
jne 0x2375a
subl 0x10(%rsp), %r15d
movl %r15d, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/type.c
// Function: tyfmt
char *
tyfmt(char *buf, size_t len, Type *t)
{
	Bitset *bs;

	bs = mkbs();
	tybfmt(buf, len, bs, t);
	bsfree(bs);
	return buf;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq 0x2d63c
movq %rax, %r12
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
movq %rbx, %rcx
callq 0x2380b
movq %r12, %rdi
callq 0x2d664
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/type.c
// Function: tyhash
ulong
tyhash(void *ty)
{
	size_t i;
	Type *t;
	ulong hash;

	t = (Type *)ty;
	switch (t->type) {
	case Tyvar:	hash = inthash(t->tid);	break;
	case Tyunion:	hash = inthash(t->type);	break;
	case Tystruct:	hash = inthash(t->type);	break;
	case Tyname:	hash = namehash(t->name);	break;
	case Typaram:	hash = strhash(t->pname);	break;
	default: hash = inthash(t->type); break;
	}

	for (i = 0; i < t->narg; i++)
		hash ^= tyhash(t->arg[i]);
	return hash;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movl (%rdi), %edi
leal -0x17(%rdi), %eax
cmpl $0x5, %eax
ja 0x23ec1
leaq 0x13df5(%rip), %rcx     # 0x37c9c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x17, %edi
jmp 0x23ec1
movl 0x4(%rbx), %edi
jmp 0x23ec1
movl $0x18, %edi
callq 0x2e079
movq %rax, %r14
cmpq $0x0, 0x48(%rbx)
je 0x23eec
xorl %r15d, %r15d
movq 0x40(%rbx), %rax
movq (%rax,%r15,8), %rdi
callq 0x23e8e
xorq %rax, %r14
incq %r15
cmpq 0x48(%rbx), %r15
jb 0x23ed3
movq %r14, %rax
popq %rbx
popq %r14
popq %r15
retq
movq 0x88(%rbx), %rdi
callq 0x2df3c
jmp 0x23ec6
movq 0x88(%rbx), %rdi
callq 0x1e6e1
jmp 0x23ec6
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/type.c
// Function: equate
static void
equate(int32_t ta, int32_t tb)
{
	Typair *pa, *pb;

	/*
	 * unfortunately, we can't negatively cache
	 * here because tyvars may unify down and
	 * eventually make the negative result inaccurate.
	 */
	pa = zalloc(sizeof(Typair));
	*pa = (Typair){ta, tb};
	pb = zalloc(sizeof(Typair));
	*pb = (Typair){ta, tb};

	htput(eqcache, pa, pa);
	htput(eqcache, pb, pb);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movl %edi, %ebp
movl $0x8, %edi
callq 0x2d348
movq %rax, %r14
movl %ebp, (%rax)
movl %ebx, 0x4(%rax)
movl $0x8, %edi
callq 0x2d348
movq %rax, %r15
movl %ebp, (%rax)
movl %ebx, 0x4(%rax)
movq 0x3ddd0(%rip), %rdi     # 0x62200
movq %r14, %rsi
movq %r14, %rdx
callq 0x2dbc2
movq 0x3ddbe(%rip), %rdi     # 0x62200
movq %r15, %rsi
movq %r15, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x2dbc2
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/type.c
// Function: tystricteq
int
tystricteq(void *a, void *b)
{
	Bitset *avisited, *bvisited;
	int eq;

	if (a == b)
		return 1;
	avisited = mkbs();
	bvisited = mkbs();
	eq = tyeq_rec(a, b, avisited, bvisited, 0);
	bsfree(avisited);
	bsfree(bvisited);
	return eq;
}

// Assembly:
cmpq %rsi, %rdi
je 0x244ae
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0x2d63c
movq %rax, %r15
callq 0x2d63c
movq %rax, %r12
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
movq %rax, %rcx
xorl %r8d, %r8d
callq 0x23f11
movl %eax, %ebx
movq %r15, %rdi
callq 0x2d664
movq %r12, %rdi
callq 0x2d664
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movl $0x1, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/type.c
// Function: disposableinit
void
disposableinit(Stab *st, Trait *tr)
{
	Node *func, *arg, **args;
	Type *ty;
	size_t nargs;

	tr->param = mktyparam(Zloc, "a");
	tr->naux = 0;

	/* __dispose__ : (val : @a -> void) */
	args = NULL;
	nargs = 0;
	arg = mkdecl(Zloc, mkname(Zloc, "val"), mktyparam(Zloc, "a"));
	lappend(&args, &nargs, arg);
	ty = mktyfunc(Zloc, args, nargs, mktype(Zloc, Tyvoid));

	func = mkdecl(Zloc, mkname(Zloc, "__dispose__"), ty);
	func->decl.trait = tr;
	func->decl.impls = mkht(tyhash, tyeq);
	func->decl.isgeneric = 1;
	func->decl.isconst = 1;
	func->decl.isglobl = 1;
	func->decl.isextern = 1;

	lappend(&tr->proto, &tr->nproto, func);
	putdcl(st, func);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, (%rsp)
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
movl $0x1a, %esi
callq 0x22d38
movq %rax, %r15
leaq 0x108c6(%rip), %r13     # 0x35602
movq %r13, %rdi
callq 0x4340
movq %rax, 0x88(%r15)
movq %r15, 0x18(%r14)
xorl %eax, %eax
movq %rax, 0x28(%r14)
leaq 0x10(%rsp), %r15
movq %rax, (%r15)
leaq 0x8(%rsp), %r12
movq %rax, (%r12)
leaq 0x130d9(%rip), %rsi     # 0x37e46
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x1d945
movq %rax, %rbp
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
movl $0x1a, %esi
callq 0x22d38
movq %rax, %rbx
movq %r13, %rdi
callq 0x4340
movq %rax, 0x88(%rbx)
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
movq %rbp, %rsi
movq %rbx, %rdx
callq 0x1e29f
movq %r15, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x2d3ff
movq (%r15), %rbx
movq (%r12), %r15
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
movl $0x1, %esi
callq 0x22d38
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
movq %rbx, %rsi
movq %r15, %rdx
movq %rax, %rcx
callq 0x23245
movq %rax, %rbx
leaq 0x1306a(%rip), %rsi     # 0x37e56
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x1d945
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
movq %rax, %rsi
movq %rbx, %rdx
callq 0x1e29f
movq %rax, %rbx
movq %r14, 0x40(%rax)
leaq -0xf86(%rip), %rdi      # 0x23e8e
leaq -0x967(%rip), %rsi      # 0x244b4
callq 0x2db1c
movq %rax, 0x48(%rbx)
leaq 0x30(%r14), %rdi
addq $0x38, %r14
movl $0x1010101, 0x71(%rbx)  # imm = 0x1010101
movq %r14, %rsi
movq %rbx, %rdx
callq 0x2d3ff
movq (%rsp), %rdi
movq %rbx, %rsi
callq 0x2071e
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/type.c
// Function: namefmt
static int
namefmt(char *buf, size_t len, Node *n)
{
	char *p;
	char *end;

	p = buf;
	end = p + len;
	if (n->name.ns)
		p += bprintf(p, end - p, "%s.", n->name.ns);
	p += bprintf(p, end - p, "%s", n->name.name);
	return len - (end - p);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, %r14
movq 0x18(%rdx), %rcx
movq %rdi, %r15
testq %rcx, %rcx
je 0x25639
leaq 0xd572(%rip), %rdx      # 0x32b98
movq %r14, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2e42e
movq %rax, %r15
addq %r14, %r15
addq %rbx, %r14
movq %r14, %rsi
subq %r15, %rsi
movq 0x20(%r12), %rcx
leaq 0x1146f(%rip), %rdx     # 0x36abd
movq %r15, %rdi
xorl %eax, %eax
callq 0x2e42e
subl %r14d, %ebx
addl %r15d, %ebx
addl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/type.c
// Function: fmtlist
static int
fmtlist(char *buf, size_t len, Bitset *visited, Type **arg, size_t narg)
{
	char *end, *p, *sep;
	size_t i;

	sep = "";
	p = buf;
	end = p + len;
	p += bprintf(p, end - p, "(");
	for (i = 0; i < narg; i++) {
		p += bprintf(p, end - p, "%s", sep);
		p += tybfmt(p, end - p, visited, arg[i]);
		sep = ", ";
	}
	p += bprintf(p, end - p, ")");
	return p - buf;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %r13
movq %rcx, %r12
movq %rdx, %r15
movq %rdi, %rbx
leaq (%rdi,%rsi), %r14
leaq 0xfd59(%rip), %rdx      # 0x353ea
xorl %eax, %eax
callq 0x2e42e
movq %rax, %rbp
movq %rbx, 0x8(%rsp)
addq %rbx, %rbp
testq %r13, %r13
je 0x25703
leaq 0xc78b(%rip), %rcx      # 0x31e3a
movq %r15, 0x10(%rsp)
movq %r12, %r15
xorl %r12d, %r12d
movq %r14, %rsi
subq %rbp, %rsi
movq %rbp, %rdi
leaq 0x113f3(%rip), %rdx     # 0x36abd
xorl %eax, %eax
callq 0x2e42e
movq %rax, %rbx
addq %rbp, %rbx
movq %r14, %rsi
subq %rbx, %rsi
movq (%r15,%r12,8), %rcx
movq %rbx, %rdi
movq 0x10(%rsp), %rdx
callq 0x2380b
movslq %eax, %rbp
addq %rbx, %rbp
incq %r12
leaq 0x108aa(%rip), %rcx     # 0x35fa8
cmpq %r12, %r13
jne 0x256ba
subq %rbp, %r14
leaq 0x11cd6(%rip), %rdx     # 0x373e3
movq %rbp, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x2e42e
addl %ebp, %eax
subl 0x8(%rsp), %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/type.c
// Function: fmtstruct
static int
fmtstruct(char *buf, size_t len, Bitset *visited, Type *t)
{
	size_t i;
	char *end, *p;
	char *name;
	char subbuf[512];

	p = buf;
	end = p + len;
	p += bprintf(p, end - p, "struct\n");
	for (i = 0; i < t->nmemb; i++) {
		name = declname(t->sdecls[i]);
		tybfmt(subbuf, sizeof subbuf, visited, decltype(t->sdecls[i]));
		p += bprintf(p, end - p, "\t%s:%s\n ", name, subbuf);
	}
	p += bprintf(p, end - p, ";;");
	return p - buf;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x218, %rsp            # imm = 0x218
movq %rcx, %r12
movq %rdx, %r14
movq %rdi, %rbx
leaq (%rdi,%rsi), %rbp
leaq 0x12794(%rip), %rdx     # 0x37ee8
xorl %eax, %eax
callq 0x2e42e
movq %rax, %r15
movq %rbx, (%rsp)
addq %rbx, %r15
cmpq $0x0, 0x78(%r12)
je 0x257de
movq %r14, 0x8(%rsp)
xorl %r13d, %r13d
movq 0x88(%r12), %rax
movq (%rax,%r13,8), %rdi
callq 0x1e53d
movq %rax, %rbx
movq 0x88(%r12), %rax
movq (%rax,%r13,8), %rdi
callq 0x1e56c
movl $0x200, %esi            # imm = 0x200
leaq 0x10(%rsp), %r14
movq %r14, %rdi
movq 0x8(%rsp), %rdx
movq %rax, %rcx
callq 0x2380b
movq %rbp, %rsi
subq %r15, %rsi
movq %r15, %rdi
leaq 0x1272c(%rip), %rdx     # 0x37ef0
movq %rbx, %rcx
movq %r14, %r8
xorl %eax, %eax
callq 0x2e42e
addq %rax, %r15
incq %r13
cmpq 0x78(%r12), %r13
jb 0x25775
subq %r15, %rbp
leaq 0x12711(%rip), %rdx     # 0x37ef9
movq %r15, %rdi
movq %rbp, %rsi
xorl %eax, %eax
callq 0x2e42e
addl %r15d, %eax
subl (%rsp), %eax
addq $0x218, %rsp            # imm = 0x218
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/type.c
// Function: fmtunion
static int
fmtunion(char *buf, size_t len, Bitset *visited, Type *t)
{
	char subbuf[512];
	char *name, *ns, *sep;
	char *end, *p;
	size_t i;
	Node *n;

	p = buf;
	end = p + len;
	p += bprintf(p, end - p, "union\n");
	for (i = 0; i < t->nmemb; i++) {
		n = t->udecls[i]->name;
		if (n->name.ns) {
			sep = ".";
			ns = n->name.ns;
		} else {
			sep = "";
			ns = "";
		}
		name = n->name.name;
		if (t->udecls[i]->etype) {
			tybfmt(subbuf, sizeof subbuf, visited, t->udecls[i]->etype);
			p += bprintf(p, end - p, "\t`%s%s%s %s\n", ns, sep, name, subbuf);
		} else {
			p += bprintf(p, end - p, "\t`%s%s%s\n", ns, sep, name);
		}
	}
	p += bprintf(p, end - p, ";;");
	return p - buf;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x228, %rsp            # imm = 0x228
movq %rcx, %rbx
movq %rdx, 0x18(%rsp)
movq %rdi, %r14
leaq (%rdi,%rsi), %rax
movq %rax, 0x8(%rsp)
leaq 0x126c3(%rip), %rdx     # 0x37efc
xorl %eax, %eax
callq 0x2e42e
movq %rax, %r15
movq %r14, 0x10(%rsp)
addq %r14, %r15
cmpq $0x0, 0x78(%rbx)
je 0x258fe
xorl %r14d, %r14d
movq 0x88(%rbx), %rax
movq (%rax,%r14,8), %rax
movq 0x18(%rax), %rdx
movq 0x28(%rax), %rcx
movq 0x18(%rdx), %rbp
testq %rbp, %rbp
leaq 0x12641(%rip), %r13     # 0x37ebb
leaq 0xc5b9(%rip), %rax      # 0x31e3a
cmoveq %rax, %r13
movq 0x20(%rdx), %r9
cmoveq %rax, %rbp
testq %rcx, %rcx
je 0x258cf
movl $0x200, %esi            # imm = 0x200
leaq 0x20(%rsp), %rdi
movq 0x18(%rsp), %rdx
movq %r9, %r12
callq 0x2380b
movq 0x8(%rsp), %rsi
subq %r15, %rsi
leaq 0x20(%rsp), %rax
movq %rax, (%rsp)
movq %r15, %rdi
leaq 0x1263f(%rip), %rdx     # 0x37f03
movq %rbp, %rcx
movq %r13, %r8
movq %r12, %r9
jmp 0x258e7
movq 0x8(%rsp), %rsi
subq %r15, %rsi
movq %r15, %rdi
leaq 0x1262f(%rip), %rdx     # 0x37f10
movq %rbp, %rcx
movq %r13, %r8
xorl %eax, %eax
callq 0x2e42e
addq %rax, %r15
incq %r14
cmpq 0x78(%rbx), %r14
jb 0x25859
movq 0x8(%rsp), %rsi
subq %r15, %rsi
leaq 0x125ec(%rip), %rdx     # 0x37ef9
movq %r15, %rdi
xorl %eax, %eax
callq 0x2e42e
addl %r15d, %eax
subl 0x10(%rsp), %eax
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/use.c
// Function: traitunpickle
Trait *
traitunpickle(FILE *fd)
{
	Trait *tr;
	Node *proto;
	size_t i, n;
	intptr_t uid;

	/* create an empty trait */
	tr = mktrait(Zloc, NULL, NULL,
		NULL, 0,
		NULL, 0,
		0);
	uid = rdint(fd);
	if (rdint(fd) == Vishidden)
		tr->ishidden = 1;
	tr->name = unpickle(fd);
	tr->param = tyunpickle(fd);
	tr->naux = rdint(fd);
	tr->aux = zalloc(tr->naux * sizeof(Type*));
	tr->isimport = 1;
	for (i = 0; i < tr->naux; i++)
		rdtype(fd, &tr->aux[i]);
	n = rdint(fd);
	for (i = 0; i < n; i++) {
		proto = rdsym(fd, tr);
		proto->decl.impls = mkht(tyhash, tyeq);
		lappend(&tr->proto, &tr->nproto, proto);
	}
	htput(trmap, itop(uid), tr);
	return tr;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq $0x0
pushq $0x0
callq 0x22ec3
addq $0x10, %rsp
movq %rax, %r14
movq %rbx, %rdi
callq 0x2e209
movq %rax, (%rsp)
movq %rbx, %rdi
callq 0x2e209
cmpq $0x2, %rax
jne 0x259c5
movb $0x1, 0x49(%r14)
movq %rbx, %rdi
callq 0x25aa0
movq %rax, 0x10(%r14)
movq %rbx, %rdi
callq 0x25fa8
movq %rax, 0x18(%r14)
movq %rbx, %rdi
callq 0x2e209
movq %rax, 0x28(%r14)
leaq (,%rax,8), %rdi
callq 0x2d348
movq %rax, 0x20(%r14)
movb $0x1, 0x4a(%r14)
cmpq $0x0, 0x28(%r14)
je 0x25a28
xorl %r15d, %r15d
xorl %r12d, %r12d
movq 0x20(%r14), %rsi
addq %r15, %rsi
movq %rbx, %rdi
callq 0x2637c
incq %r12
addq $0x8, %r15
cmpq 0x28(%r14), %r12
jb 0x25a0c
movq %rbx, %rdi
callq 0x2e209
testq %rax, %rax
je 0x25a7b
movq %rax, %r12
leaq 0x30(%r14), %r13
movq %r14, %rbp
addq $0x38, %rbp
movq %rbx, %rdi
movq %r14, %rsi
callq 0x263f9
movq %rax, %r15
leaq -0x1bca(%rip), %rdi     # 0x23e8e
leaq -0x15ab(%rip), %rsi     # 0x244b4
callq 0x2db1c
movq %rax, 0x48(%r15)
movq %r13, %rdi
movq %rbp, %rsi
movq %r15, %rdx
callq 0x2d3ff
decq %r12
jne 0x25a43
movq 0x3c796(%rip), %rdi     # 0x62218
movq (%rsp), %rsi
movq %r14, %rdx
callq 0x2dbc2
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/use.c
// Function: rdtype
static void
rdtype(FILE *fd, Type **dest)
{
	uintptr_t tid;

	tid = rdint(fd);
	if (tid == 0) {
		return;
	} else if (tid & Builtinmask) {
		*dest = mktype(Zloc, tid & ~Builtinmask);
	} else {
		typefix = xrealloc(typefix, (ntypefix + 1) * sizeof(typefix[0]));
		typefix[ntypefix++] = (Typefix){dest, tid};
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
callq 0x2e209
testq %rax, %rax
je 0x263f1
movq %rax, %r14
btl $0x1e, %r14d
jb 0x263da
movq 0x3beaa(%rip), %rdi     # 0x62248
movq 0x3beab(%rip), %rsi     # 0x62250
shlq $0x4, %rsi
addq $0x10, %rsi
callq 0x2d3d6
movq %rax, 0x3be8f(%rip)     # 0x62248
movq 0x3be90(%rip), %rcx     # 0x62250
leaq 0x1(%rcx), %rdx
movq %rdx, 0x3be85(%rip)     # 0x62250
shlq $0x4, %rcx
movq %rbx, (%rax,%rcx)
movq %r14, 0x8(%rax,%rcx)
jmp 0x263f1
andl $0xbfffffff, %r14d      # imm = 0xBFFFFFFF
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
movl %r14d, %esi
callq 0x22d38
movq %rax, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/use.c
// Function: rdsym
static Node *
rdsym(FILE *fd, Trait *ctx)
{
	int line;
	Node *name;
	Node *n;

	line = rdint(fd);
	name = unpickle(fd);
	n = mkdecl(Zloc, name, NULL);
	n->loc.line = line;
	n->loc.file = file.nfiles - 1;
	rdtype(fd, &n->decl.type);

	if (rdint(fd) == Vishidden)
		n->decl.ishidden = 1;
	n->decl.trait = ctx;
	n->decl.isconst = rdbool(fd);
	n->decl.isgeneric = rdbool(fd);
	n->decl.isextern = rdbool(fd);
	n->decl.ispkglocal = rdbool(fd);
	n->decl.isnoret = rdbool(fd);
	n->decl.isimport = 1;
	n->decl.isexportval = rdbool(fd);
	n->decl.isinit = rdbool(fd);
	n->decl.isfini = rdbool(fd);
	if (n->decl.isexportval)
		n->decl.init = unpickle(fd);
	return n;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %rbx
callq 0x2e209
movq %rax, %r12
movq %rbx, %rdi
callq 0x25aa0
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
movq %rax, %rsi
xorl %edx, %edx
callq 0x1e29f
movq %rax, %r14
movl %r12d, (%rax)
leaq 0x3ae45(%rip), %rax     # 0x61278
movl (%rax), %eax
decl %eax
movl %eax, 0x4(%r14)
leaq 0x28(%r14), %rsi
movq %rbx, %rdi
callq 0x2637c
movq %rbx, %rdi
callq 0x2e209
cmpq $0x2, %rax
jne 0x2645a
movb $0x1, 0x76(%r14)
movq %r15, 0x40(%r14)
movq %rbx, %rdi
callq 0x2e4cb
movb %al, 0x72(%r14)
movq %rbx, %rdi
callq 0x2e4cb
movb %al, 0x73(%r14)
movq %rbx, %rdi
callq 0x2e4cb
movb %al, 0x74(%r14)
movq %rbx, %rdi
callq 0x2e4cb
movb %al, 0x75(%r14)
movq %rbx, %rdi
callq 0x2e4cb
movb %al, 0x78(%r14)
movb $0x1, 0x77(%r14)
movq %rbx, %rdi
callq 0x2e4cb
movb %al, 0x79(%r14)
movq %rbx, %rdi
callq 0x2e4cb
movb %al, 0x7a(%r14)
movq %rbx, %rdi
callq 0x2e4cb
movb %al, 0x7b(%r14)
cmpb $0x0, 0x79(%r14)
je 0x264d6
movq %rbx, %rdi
callq 0x25aa0
movq %rax, 0x30(%r14)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/use.c
// Function: findstab
static Stab *
findstab(Stab *st, char *pkg)
{
	Stab *s;

	if (!pkg) {
		if (!st->name)
			return st;
		else
			return NULL;
	}

	s = getns(pkg);
	if (!s) {
		s = mkstab(0);
		s->name = strdup(pkg);
		putns(s);
	}
	return s;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rsi, %rsi
je 0x270d0
movq %rsi, %r14
movq %rsi, %rdi
callq 0x2022f
movq %rax, %rbx
testq %rax, %rax
jne 0x270db
xorl %edi, %edi
callq 0x1ff11
movq %rax, %rbx
movq %r14, %rdi
callq 0x4340
movq %rax, 0x8(%rbx)
movq %rbx, %rdi
callq 0x20faa
jmp 0x270db
xorl %ebx, %ebx
cmpq $0x0, 0x8(%rdi)
cmoveq %rdi, %rbx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/use.c
// Function: hassuffix
int
hassuffix(char *str, char *suff)
{
	size_t nstr, nsuff;

	nstr = strlen(str);
	nsuff = strlen(suff);
	if (nstr < nsuff)
		return 0;
	return !strcmp(str + nstr - nsuff, suff);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
callq 0x4120
movq %rax, %r15
movq %rbx, %rdi
callq 0x4120
movq %rax, %rcx
xorl %eax, %eax
cmpq %rcx, %r15
jb 0x27125
addq %r15, %r14
subq %rcx, %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4230
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
sete %al
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/use.c
// Function: wrsym
static void
wrsym(FILE *fd, Node *val)
{
	/* sym */
	wrint(fd, val->loc.line);
	pickle(fd, val->decl.name);
	wrtype(fd, val->decl.type);

	/* symflags */
	wrint(fd, val->decl.vis);
	wrbool(fd, val->decl.isconst);
	wrbool(fd, val->decl.isgeneric);
	wrbool(fd, val->decl.isextern);
	wrbool(fd, val->decl.ispkglocal);
	wrbool(fd, val->decl.isnoret);
	wrbool(fd, val->decl.isexportval);
	wrbyte(fd, val->decl.isinit);
	wrbyte(fd, val->decl.isfini);
	if (val->decl.isexportval)
		pickle(fd, val->decl.init);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movslq (%rsi), %rsi
callq 0x2e1f0
movq 0x20(%r14), %rsi
movq %rbx, %rdi
callq 0x27c12
movq 0x28(%r14), %rsi
movq %rbx, %rdi
callq 0x28288
movsbq 0x70(%r14), %rsi
movq %rbx, %rdi
callq 0x2e1f0
movsbl 0x72(%r14), %esi
movq %rbx, %rdi
callq 0x2e4c2
movsbl 0x73(%r14), %esi
movq %rbx, %rdi
callq 0x2e4c2
movsbl 0x74(%r14), %esi
movq %rbx, %rdi
callq 0x2e4c2
movsbl 0x75(%r14), %esi
movq %rbx, %rdi
callq 0x2e4c2
movsbl 0x78(%r14), %esi
movq %rbx, %rdi
callq 0x2e4c2
movsbl 0x79(%r14), %esi
movq %rbx, %rdi
callq 0x2e4c2
movsbl 0x7a(%r14), %esi
movq %rbx, %rdi
callq 0x2e1b2
movsbl 0x7b(%r14), %esi
movq %rbx, %rdi
callq 0x2e1b2
cmpb $0x0, 0x79(%r14)
je 0x280fe
movq 0x30(%r14), %rsi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x27c12
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/use.c
// Function: rdtrait
static void
rdtrait(FILE *fd, Trait **dest, Type *ty)
{
	uintptr_t tid;

	tid = rdint(fd);
	if (tid & Builtinmask) {
		if (dest)
			*dest = traittab[tid & ~Builtinmask];
		if (ty) {
			if (!ty->trneed)
				ty->trneed = mkbs();
			bsput(ty->trneed, traittab[tid & ~Builtinmask]->uid);
		}
	} else {
		traitfix = xrealloc(traitfix, (ntraitfix + 1) * sizeof(traitfix[0]));
		traitfix[ntraitfix++] = (Traitfix){dest, ty, tid};
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r15
callq 0x2e209
movq %rax, %r14
btl $0x1e, %r14d
jb 0x2816f
movq 0x3a10e(%rip), %rdi     # 0x62238
movq 0x3a10f(%rip), %rax     # 0x62240
leaq (%rax,%rax,2), %rax
leaq 0x18(,%rax,8), %rsi
callq 0x2d3d6
movq %rax, 0x3a0ef(%rip)     # 0x62238
movq 0x3a0f0(%rip), %rcx     # 0x62240
leaq 0x1(%rcx), %rdx
movq %rdx, 0x3a0e5(%rip)     # 0x62240
leaq (%rcx,%rcx,2), %rcx
movq %r15, (%rax,%rcx,8)
movq %rbx, 0x8(%rax,%rcx,8)
movq %r14, 0x10(%rax,%rcx,8)
jmp 0x281db
movabsq $0x1fffffffbfffffff, %r12 # imm = 0x1FFFFFFFBFFFFFFF
testq %r15, %r15
je 0x28195
leaq 0x3a073(%rip), %rax     # 0x621f8
movq (%rax), %rax
movq %r14, %rcx
andq %r12, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, (%r15)
testq %rbx, %rbx
je 0x281db
cmpq $0x0, 0x80(%rbx)
jne 0x281b0
callq 0x2d63c
movq %rax, 0x80(%rbx)
movq 0x80(%rbx), %rdi
leaq 0x3a03a(%rip), %rax     # 0x621f8
movq (%rax), %rax
andq %r12, %r14
movq (%rax,%r14,8), %rax
movslq (%rax), %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x2d816
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/use.c
// Function: rdstab
static Stab *
rdstab(FILE *fd, int isfunc)
{
	Stab *st;
	Type *ty;
	Node *nm;
	int n;
	int i;

	/* read dcls */
	st = mkstab(isfunc);
	st->name = rdstr(fd);
	n = rdint(fd);
	for (i = 0; i < n; i++)
		putdcl(st, rdsym(fd, NULL));

	/* read types */
	n = rdint(fd);
	for (i = 0; i < n; i++) {
		nm = unpickle(fd);
		rdtype(fd, &ty);
		puttype(st, nm, ty);
	}
	return st;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movl %esi, %edi
callq 0x1ff11
movq %rax, %r14
movq %rbx, %rdi
callq 0x2e2b1
movq %rax, 0x8(%r14)
movq %rbx, %rdi
callq 0x2e209
movq %rax, %r15
testl %r15d, %r15d
jle 0x28237
movq %rbx, %rdi
xorl %esi, %esi
callq 0x263f9
movq %r14, %rdi
movq %rax, %rsi
callq 0x2071e
decl %r15d
jne 0x2821d
movq %rbx, %rdi
callq 0x2e209
movq %rax, %r15
testl %r15d, %r15d
jle 0x28277
leaq 0x8(%rsp), %r12
movq %rbx, %rdi
callq 0x25aa0
movq %rax, %r13
movq %rbx, %rdi
movq %r12, %rsi
callq 0x2637c
movq 0x8(%rsp), %rdx
movq %r14, %rdi
movq %r13, %rsi
callq 0x20b03
decl %r15d
jne 0x2824c
movq %r14, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/use.c
// Function: wrtype
static void
wrtype(FILE *fd, Type *ty)
{
	if (!ty) {
		wrint(fd, 0);
		return;
	}
	if (ty->tid >= Builtinmask)
		die("Type id %d for %s too big", ty->tid, tystr(ty));
	if (ty->vis == Visbuiltin)
		wrint(fd, ty->type | Builtinmask);
	else
		wrint(fd, ty->tid);
}

// Assembly:
pushq %rbx
testq %rsi, %rsi
je 0x282a8
movl 0x4(%rsi), %ebx
cmpl $0x40000000, %ebx       # imm = 0x40000000
jae 0x282b2
cmpl $0x3, 0x10(%rsi)
jne 0x282aa
movl $0x40000000, %ebx       # imm = 0x40000000
orl (%rsi), %ebx
jmp 0x282aa
xorl %ebx, %ebx
movl %ebx, %esi
popq %rbx
jmp 0x2e1f0
movq %rsi, %rdi
callq 0x23e44
leaq 0xff6c(%rip), %rdi      # 0x3822d
movl %ebx, %esi
movq %rax, %rdx
xorl %eax, %eax
callq 0x13a00
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/parse/use.c
// Function: wrstab
static void
wrstab(FILE *fd, Stab *val)
{
	size_t n, i;
	void **keys;

	wrstr(fd, val->name);

	/* write decls */
	keys = htkeys(val->dcl, &n);
	wrint(fd, n);
	for (i = 0; i < n; i++)
		wrsym(fd, getdcl(val, keys[i]));
	free(keys);

	/* write types */
	keys = htkeys(val->ty, &n);
	wrint(fd, n);
	for (i = 0; i < n; i++) {
		pickle(fd, keys[i]);			/* name */
		wrtype(fd, gettype(val, keys[i]));	/* type */
	}
	free(keys);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rsi), %rsi
callq 0x2e249
movq 0x18(%rbx), %rdi
movq %rsp, %r12
movq %r12, %rsi
callq 0x2dedf
movq %rax, %r15
movq (%r12), %rsi
movq %r14, %rdi
callq 0x2e1f0
cmpq $0x0, (%r12)
je 0x2832c
xorl %r12d, %r12d
movq (%r15,%r12,8), %rsi
movq %rbx, %rdi
callq 0x2048b
movq %r14, %rdi
movq %rax, %rsi
callq 0x28045
incq %r12
cmpq (%rsp), %r12
jb 0x2830c
movq %r15, %rdi
callq 0x4040
movq 0x28(%rbx), %rdi
movq %rsp, %r12
movq %r12, %rsi
callq 0x2dedf
movq %rax, %r15
movq (%r12), %rsi
movq %r14, %rdi
callq 0x2e1f0
cmpq $0x0, (%r12)
je 0x28388
xorl %r12d, %r12d
movq (%r15,%r12,8), %rsi
movq %r14, %rdi
callq 0x27c12
movq (%r15,%r12,8), %rsi
movq %rbx, %rdi
callq 0x205d4
movq %r14, %rdi
movq %rax, %rsi
callq 0x28288
incq %r12
cmpq (%rsp), %r12
jb 0x2835c
movq %r15, %rdi
callq 0x4040
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/mi/cfg.c
// Function: delete
void
delete(Cfg *cfg, Bb *bb)
{
	size_t i, j;

	if (bb == cfg->start || bb == cfg->end)
		return;
	for (i = 0; bsiter(bb->pred, &i); i++) {
		bsunion(cfg->bb[i]->succ, bb->succ);
		bsdel(cfg->bb[i]->succ, bb->id);
	}
	for (i = 0; bsiter(bb->succ, &i); i++) {
		bsunion(cfg->bb[i]->pred, bb->pred);
		bsdel(cfg->bb[i]->pred, bb->id);
		for (j = 0; j < bb->nlbls; j++)
			strlabel(cfg, bb->lbls[j], cfg->bb[i]);
	}
	cfg->bb[bb->id] = NULL;
}

// Assembly:
cmpq %rsi, 0x10(%rdi)
je 0x284c5
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
cmpq %rsi, 0x18(%rdi)
je 0x284ba
movq %rsp, %rsi
movq $0x0, (%rsi)
movq 0x28(%rbx), %rdi
callq 0x2d753
testl %eax, %eax
je 0x2841d
movq %rsp, %r15
movq 0x8(%r14), %rax
movq (%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x30(%rax), %rdi
movq 0x30(%rbx), %rsi
callq 0x2d897
movq 0x8(%r14), %rax
movq (%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x30(%rax), %rdi
movslq (%rbx), %rsi
callq 0x2d872
incq (%rsp)
movq 0x28(%rbx), %rdi
movq %r15, %rsi
callq 0x2d753
testl %eax, %eax
jne 0x283d8
movq %rsp, %rsi
movq $0x0, (%rsi)
movq 0x30(%rbx), %rdi
callq 0x2d753
testl %eax, %eax
je 0x284ab
movq %rsp, %r15
movq 0x8(%r14), %rax
movq (%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x28(%rax), %rdi
movq 0x28(%rbx), %rsi
callq 0x2d897
movq 0x8(%r14), %rax
movq (%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x28(%rax), %rdi
movslq (%rbx), %rsi
callq 0x2d872
cmpq $0x0, 0x10(%rbx)
je 0x28497
xorl %r12d, %r12d
movq 0x8(%rbx), %rax
movq (%rax,%r12,8), %rsi
movq 0x8(%r14), %rax
movq (%rsp), %rcx
movq (%rax,%rcx,8), %rdx
movq %r14, %rdi
callq 0x284c6
incq %r12
cmpq 0x10(%rbx), %r12
jb 0x28472
incq (%rsp)
movq 0x30(%rbx), %rdi
movq %r15, %rsi
callq 0x2d753
testl %eax, %eax
jne 0x28437
movq 0x8(%r14), %rax
movslq (%rbx), %rcx
movq $0x0, (%rax,%rcx,8)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/mi/cfg.c
// Function: noexit
void
noexit(Cfg *cfg, Bb *bb)
{
	size_t i;
	for (i = 0; bsiter(bb->succ, &i); i++)
		bsdel(cfg->bb[i]->pred, bb->id);
	bsclear(bb->succ);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x8(%rsp), %rsi
movq $0x0, (%rsi)
movq 0x30(%rbx), %rdi
callq 0x2d753
testl %eax, %eax
je 0x2856a
leaq 0x8(%rsp), %r15
movq 0x8(%r14), %rax
movq 0x8(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x28(%rax), %rdi
movslq (%rbx), %rsi
callq 0x2d872
incq 0x8(%rsp)
movq 0x30(%rbx), %rdi
movq %r15, %rsi
callq 0x2d753
testl %eax, %eax
jne 0x2853c
movq 0x30(%rbx), %rdi
callq 0x2d6d1
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/mi/cfg.c
// Function: trimdead
void
trimdead(Cfg *cfg, Bb *bb)
{
	size_t i;

	if (!bb)
		return;
	for (i = 0; i < bb->nnl; i++) {
		switch (exprop(bb->nl[i])) {
			/* if we're jumping, we can't keep going
			 * within this BB */
		case Ojmp:
		case Ocjmp:
		case Oret:
			bb->nnl = i + 1;
			return;
		case Odead:
			noexit(cfg, bb);
			bb->nnl = i + 1;
			return;
		case Ocall:
			if (isnonretcall(bb->nl[i]->expr.args[0])) {
				noexit(cfg, bb);
				bb->nnl = i + 1;
				return;
			}
			break;
		default:
			/* nothing */
			break;
		}
	}
}

// Assembly:
testq %rsi, %rsi
je 0x28629
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rbx
cmpq $0x0, 0x20(%rsi)
je 0x28620
movq %rdi, %r14
xorl %r12d, %r12d
leaq 0x393be(%rip), %r13     # 0x61968
movq 0x18(%rbx), %rax
movq (%rax,%r12,8), %rdi
callq 0x1d672
cmpl $0x2e, %eax
jg 0x285f1
cmpl $0x2d, %eax
jne 0x28603
movq 0x18(%rbx), %rax
movq (%rax,%r12,8), %rax
movq 0x50(%rax), %rax
movq (%rax), %r15
movq %r15, %rdi
callq 0x1d672
cmpl $0x33, %eax
jne 0x28603
movq (%r13), %rax
movq 0x38(%r15), %rcx
movq (%rax,%rcx,8), %rax
cmpb $0x0, 0x78(%rax)
je 0x28603
jmp 0x2860e
leal -0x2f(%rax), %ecx
cmpl $0x2, %ecx
jb 0x28619
cmpl $0x3e, %eax
je 0x28619
cmpl $0x3b, %eax
je 0x2860e
incq %r12
cmpq 0x20(%rbx), %r12
jb 0x285aa
jmp 0x28620
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2850f
incq %r12
movq %r12, 0x20(%rbx)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/mi/cfg.c
// Function: trim
void
trim(Cfg *cfg)
{
	Bb *bb;
	size_t i;
	int deleted;

	deleted = 1;
	while (deleted) {
		deleted = 0;
		for (i = 0; i < cfg->nbb; i++) {
			bb = cfg->bb[i];
			if (bb == cfg->start || bb == cfg->end)
				continue;
			trimdead(cfg, bb);
			if (bb && bsisempty(bb->pred)) {
				delete(cfg, bb);
				deleted = 1;
			}
		}
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq $0x0, 0x20(%rbx)
je 0x28692
xorl %r12d, %r12d
xorl %r15d, %r15d
movq 0x8(%rbx), %rax
movq (%rax,%r15,8), %r14
cmpq 0x10(%rbx), %r14
je 0x28684
cmpq 0x18(%rbx), %r14
je 0x28684
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2857d
testq %r14, %r14
je 0x28684
movq 0x28(%r14), %rdi
callq 0x2daa7
testl %eax, %eax
je 0x28684
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2839c
movl $0x1, %r12d
incq %r15
cmpq 0x20(%rbx), %r15
jb 0x28642
testl %r12d, %r12d
jne 0x28635
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/mi/cfg.c
// Function: mkbb
static Bb *
mkbb(Cfg *cfg)
{
	Bb *bb;

	bb = zalloc(sizeof(Bb));
	bb->id = cfg->nextbbid++;
	bb->pred = mkbs();
	bb->succ = mkbs();
	lappend(&cfg->bb, &cfg->nbb, bb);
	return bb;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x38, %edi
callq 0x2d348
movq %rax, %r14
movl 0x28(%rbx), %eax
leal 0x1(%rax), %ecx
movl %ecx, 0x28(%rbx)
movl %eax, (%r14)
callq 0x2d63c
movq %rax, 0x28(%r14)
callq 0x2d63c
movq %rax, 0x30(%r14)
leaq 0x8(%rbx), %rdi
addq $0x20, %rbx
movq %rbx, %rsi
movq %r14, %rdx
callq 0x2d3ff
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/mi/cfg.c
// Function: addnode
static int
addnode(Cfg *cfg, Bb *bb, Node *n)
{
	switch (exprop(n)) {
	case Ojmp:
	case Ocjmp:
	case Oret:
		lappend(&bb->nl, &bb->nnl, n);
		lappend(&cfg->fixjmp, &cfg->nfixjmp, n);
		lappend(&cfg->fixblk, &cfg->nfixblk, bb);
		return 1;
	case Ocall:
		lappend(&bb->nl, &bb->nnl, n);
		return isnonretcall(n->expr.args[0]);
	case Odead:
		lappend(&bb->nl, &bb->nnl, n);
		return 1;
	default:
		lappend(&bb->nl, &bb->nnl, n);
		break;
	}
	return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
movq %rdx, %rdi
callq 0x1d672
cmpl $0x3a, %eax
jg 0x28b10
leal -0x2f(%rax), %ecx
cmpl $0x2, %ecx
jb 0x28b1a
cmpl $0x2d, %eax
jne 0x28b68
leaq 0x18(%rbx), %rdi
addq $0x20, %rbx
movq %rbx, %rsi
movq %r14, %rdx
callq 0x2d3ff
movq 0x50(%r14), %rax
movq (%rax), %rbx
movq %rbx, %rdi
callq 0x1d672
movl %eax, %ecx
xorl %eax, %eax
cmpl $0x33, %ecx
jne 0x28b62
leaq 0x38e69(%rip), %rax     # 0x61968
movq (%rax), %rax
movq 0x38(%rbx), %rcx
movq (%rax,%rcx,8), %rax
movsbl 0x78(%rax), %eax
jmp 0x28b62
cmpl $0x3b, %eax
je 0x28b4a
cmpl $0x3e, %eax
jne 0x28b68
leaq 0x18(%rbx), %rdi
leaq 0x20(%rbx), %rsi
movq %r14, %rdx
callq 0x2d3ff
leaq 0x38(%r15), %rdi
leaq 0x40(%r15), %rsi
movq %r14, %rdx
callq 0x2d3ff
leaq 0x48(%r15), %rdi
addq $0x50, %r15
movq %r15, %rsi
movq %rbx, %rdx
jmp 0x28b58
leaq 0x18(%rbx), %rdi
addq $0x20, %rbx
movq %rbx, %rsi
movq %r14, %rdx
callq 0x2d3ff
movl $0x1, %eax
popq %rbx
popq %r14
popq %r15
retq
leaq 0x18(%rbx), %rdi
addq $0x20, %rbx
movq %rbx, %rsi
movq %r14, %rdx
callq 0x2d3ff
xorl %eax, %eax
jmp 0x28b62
// File: /workspace/github_c_makefile_star2_O1/oridb[P]mc/mi/cfg.c
// Function: dumpcfg
void
dumpcfg(Cfg *cfg, FILE *fd)
{
	size_t i;

	for (i = 0; i < cfg->nbb; i++) {
		if (!cfg->bb[i])
			continue;
		fprintf(fd, "\n");
		dumpbb(cfg->bb[i], fd);
	}
}

// Assembly:
cmpq $0x0, 0x20(%rdi)
je 0x28bca
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
xorl %r15d, %r15d
movq 0x8(%r14), %rax
cmpq $0x0, (%rax,%r15,8)
je 0x28bbc
movl $0xa, %edi
movq %rbx, %rsi
callq 0x41f0
movq 0x8(%r14), %rax
movq (%rax,%r15,8), %rdi
movq %rbx, %rsi
callq 0x28bcb
incq %r15
cmpq 0x20(%r14), %r15
jb 0x28b94
popq %rbx
popq %r14
popq %r15
retq