LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/oridb[P]mc/parse/type.c
// Function: tydedup
Type *
tydedup(Type *ty)
{
	Type *had;

	had = htget(tydeduptab, ty);
	if (!had) {
		htput(tydeduptab, ty, ty);
		return ty;
	}
	/* if one is emitted, both are */
	ty->isemitted = ty->isemitted || had->isemitted;
	return had;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x3f984(%rip), %rdi     # 0x621e0
movq %rbx, %rsi
callq 0x2d8fa
testq %rax, %rax
je 0x22886
movb $0x1, %cl
cmpb $0x0, 0x96(%rbx)
jne 0x2287e
cmpb $0x0, 0x96(%rax)
setne %cl
movb %cl, 0x96(%rbx)
jmp 0x2289b
movq 0x3f953(%rip), %rdi     # 0x621e0
movq %rbx, %rsi
movq %rbx, %rdx
callq 0x2d71e
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/oridb[P]mc/parse/type.c
// Function: mktype
Type *
mktype(Srcloc loc, Ty ty)
{
	Type *t;

	/* the first 'n' types will be identity mapped: tytab[Tyint], eg,
	 * will map to an instantitaion of Tyint.
	 *
	 * This is accomplished at program startup by calling mktype() on
	 * each builtin type in order. As we do this, we put the type into
	 * the table as ususal, which gives us an identity mapping.
	 */
	if (ty <= Tyvalist && ty < ntypes)
		return types[ty];

	t = zalloc(sizeof(Type));
	t->type = ty;
	t->tid = ntypes++;
	t->loc = loc;
	tytab = xrealloc(tytab, ntypes * sizeof(Type *));
	tytab[t->tid] = NULL;
	types = xrealloc(types, ntypes * sizeof(Type *));
	types[t->tid] = t;
	if (ty <= Tyvalist) /* the last builtin atomic type */
		t->vis = Visbuiltin;

	return t;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl %esi, %ebx
movq %rdi, %r15
cmpl $0x11, %esi
ja 0x228c7
movl %ebx, %eax
cmpq %rax, 0x3f933(%rip)     # 0x621e8
jbe 0x228c7
movq 0x3f91a(%rip), %rcx     # 0x621d8
movq (%rcx,%rax,8), %r14
jmp 0x2294a
movl $0xa0, %edi
callq 0x2ce48
movq %rax, %r14
movl %ebx, (%rax)
movq 0x3f90b(%rip), %rax     # 0x621e8
leaq 0x1(%rax), %rcx
movq %rcx, 0x3f900(%rip)     # 0x621e8
movl %eax, 0x4(%r14)
movq %r15, 0x8(%r14)
movq 0x3f8d9(%rip), %rdi     # 0x621d0
leaq 0x8(,%rax,8), %rsi
callq 0x2ced6
movq %rax, 0x3f8c5(%rip)     # 0x621d0
movl 0x4(%r14), %ecx
movq $0x0, (%rax,%rcx,8)
movq 0x3f8ba(%rip), %rdi     # 0x621d8
movq 0x3f8c3(%rip), %rsi     # 0x621e8
shlq $0x3, %rsi
callq 0x2ced6
movq %rax, 0x3f8a3(%rip)     # 0x621d8
movl 0x4(%r14), %ecx
movq %r14, (%rax,%rcx,8)
cmpl $0x11, %ebx
ja 0x2294a
movl $0x3, 0x10(%r14)
movq %r14, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/oridb[P]mc/parse/type.c
// Function: tydup
Type *
tydup(Type *t)
{
	Type *r;

	r = mktype(t->loc, t->type);
	r->resolved = 0;	/* re-resolving doesn't hurt */
	r->fixed = 0;		/* re-resolving doesn't hurt */

	r->arg = memdup(t->arg, t->narg * sizeof(Type *));
	r->narg = t->narg;
	r->inst = memdup(t->arg, t->narg * sizeof(Type *));
	r->ninst = t->ninst;

	r->sub = memdup(t->sub, t->nsub * sizeof(Type *));
	r->nsub = t->nsub;
	r->nmemb = t->nmemb;
	switch (t->type) {
	case Tyname:	r->name = t->name;	break;
	case Tyunres:	r->name = t->name;	break;
	case Tyarray:	r->asize = t->asize;	break;
	case Typaram:	r->pname = strdup(t->pname);	break;
	case Tystruct:	r->sdecls = memdup(t->sdecls, t->nmemb * sizeof(Node *));	break;
	case Tyunion:	r->udecls = memdup(t->udecls, t->nmemb * sizeof(Node *));	break;
	default: break;
	}
	return r;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movl (%rdi), %esi
movq 0x8(%rdi), %rdi
callq 0x2289d
movq %rax, %rbx
movw $0x0, 0x97(%rax)
movq 0x40(%r14), %rdi
movq 0x48(%r14), %rsi
shlq $0x3, %rsi
callq 0x2d10d
movq %rax, 0x40(%rbx)
movq 0x48(%r14), %rsi
movq %rsi, 0x48(%rbx)
movq 0x40(%r14), %rdi
shlq $0x3, %rsi
callq 0x2d10d
movq %rax, 0x50(%rbx)
movq 0x58(%r14), %rax
movq %rax, 0x58(%rbx)
movq 0x68(%r14), %rdi
movq 0x70(%r14), %rsi
shlq $0x3, %rsi
callq 0x2d10d
movq %rax, 0x68(%rbx)
movq 0x70(%r14), %rax
movq %rax, 0x70(%rbx)
movq 0x78(%r14), %rsi
movq %rsi, 0x78(%rbx)
movl (%r14), %eax
addl $-0x15, %eax
cmpl $0x7, %eax
ja 0x22a15
leaq 0x151d2(%rip), %rcx     # 0x37bb0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x88(%r14), %rax
jmp 0x22a0e
movq 0x88(%r14), %rdi
shlq $0x3, %rsi
callq 0x2d10d
jmp 0x22a0e
movq 0x88(%r14), %rdi
callq 0x4340
movq %rax, 0x88(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/oridb[P]mc/parse/type.c
// Function: mktrait
Trait *
mktrait(Srcloc loc, Node *name, Type *param,
	Type **aux, size_t naux,
	Node **proto, size_t nproto,
	int isproto)
{
	Trait *t;
	size_t i;

	t = zalloc(sizeof(Trait));
	t->uid = ntraittab++;
	t->loc = loc;
	if (t->uid < Ntraits)
		t->vis = Visbuiltin;
	t->vis = Visintern;
	t->name = name;
	t->param = param;
	t->proto = proto;
	t->nproto = nproto;
	t->aux = aux;
	t->env = mkenv();
	t->naux = naux;
	t->isproto = isproto;

	bindtype(t->env, param);
	for (i = 0; i < naux; i++)
		bindtype(t->env, aux[i]);

	for (i = 0; i < nproto; i++)
		if (proto[i]->decl.env)
			proto[i]->decl.env->super = t->env;


	traittab = xrealloc(traittab, ntraittab * sizeof(Trait *));
	traittab[t->uid] = t;
	return t;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, %r14
movq %r8, %r15
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, 0x10(%rsp)
movq %rdi, 0x8(%rsp)
movq 0x50(%rsp), %rbp
movl $0x50, %edi
callq 0x2ce48
movq %rax, %rbx
movq 0x3f793(%rip), %rax     # 0x621f0
leaq 0x1(%rax), %rcx
movq %rcx, 0x3f788(%rip)     # 0x621f0
movl %eax, (%rbx)
movq 0x8(%rsp), %rax
movq %rax, 0x4(%rbx)
movl $0x0, 0xc(%rbx)
movq 0x10(%rsp), %rax
movq %rax, 0x10(%rbx)
movq %r13, 0x18(%rbx)
movq %r14, 0x30(%rbx)
movq %rbp, 0x38(%rbx)
movq %r12, 0x20(%rbx)
callq 0x1fecc
movq %rax, 0x40(%rbx)
movq %r15, 0x28(%rbx)
movb 0x58(%rsp), %cl
movb %cl, 0x48(%rbx)
movq %rax, %rdi
movq %r13, %rsi
callq 0x20d76
testq %r15, %r15
je 0x22acf
xorl %r13d, %r13d
movq 0x40(%rbx), %rdi
movq (%r12,%r13,8), %rsi
callq 0x20d76
incq %r13
cmpq %r13, %r15
jne 0x22aba
testq %rbp, %rbp
je 0x22af2
xorl %eax, %eax
movq (%r14,%rax,8), %rcx
movq 0x38(%rcx), %rcx
testq %rcx, %rcx
je 0x22aea
movq 0x40(%rbx), %rdx
movq %rdx, (%rcx)
incq %rax
cmpq %rax, %rbp
jne 0x22ad6
movq 0x3f6ff(%rip), %rdi     # 0x621f8
movq 0x3f6f0(%rip), %rsi     # 0x621f0
shlq $0x3, %rsi
callq 0x2ced6
movq %rax, 0x3f6e8(%rip)     # 0x621f8
movslq (%rbx), %rcx
movq %rbx, (%rax,%rcx,8)
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x2289d
movq %rax, %r15
movq %r12, 0x88(%rax)
movq %r14, 0x40(%rax)
movq %rbx, 0x48(%rax)
callq 0x1fecc
movq %rax, 0x60(%r15)
testq %rbx, %rbx
je 0x22bb4
xorl %r12d, %r12d
movq 0x60(%r15), %rdi
movq (%r14,%r12,8), %rsi
callq 0x20d76
incq %r12
cmpq %r12, %rbx
jne 0x22b9f
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x2289d
movq %rax, %r15
movq %r13, 0x88(%rax)
movq $0x1, 0x70(%rax)
movl $0x8, %edi
callq 0x2ce79
movq %rax, 0x68(%r15)
movq %rbx, (%rax)
movq %r12, 0x30(%r15)
movq %r14, 0x38(%r15)
callq 0x1fecc
movq %rax, 0x60(%r15)
testq %r14, %r14
je 0x22c33
xorl %r13d, %r13d
movq 0x60(%r15), %rdi
movq (%r12,%r13,8), %rsi
callq 0x20d76
incq %r13
cmpq %r13, %r14
jne 0x22c1e
cmpq $0x0, 0x60(%rbx)
jne 0x22c42
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_O3/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 0x2289d
movq %rax, %r15
movq %r14, 0x88(%rax)
movq $0x1, 0x70(%rax)
movl $0x8, %edi
callq 0x2ce79
movq %rax, 0x68(%r15)
movq %rbx, (%rax)
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x2289d
movq %rax, %r15
movl $0x1, %eax
movq %rax, 0x70(%r15)
movq %rax, 0x78(%r15)
movl $0x8, %edi
callq 0x2ce79
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_O3/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 0x2289d
movq %rax, %r14
movq $0x1, 0x70(%rax)
movl $0x8, %edi
callq 0x2ce79
movq %rax, 0x68(%r14)
movq %rbx, (%rax)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x2289d
movq %rax, %r14
movq $0x1, 0x70(%rax)
movl $0x8, %edi
callq 0x2ce79
movq %rax, 0x68(%r14)
movq %rbx, (%rax)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x2289d
movq %rax, %r15
movq %rbx, 0x70(%rax)
leaq (,%rbx,8), %rdi
callq 0x2ce79
movq %rax, 0x68(%r15)
testq %rbx, %rbx
je 0x22d8e
xorl %eax, %eax
movq (%r14,%rax,8), %rcx
movq 0x68(%r15), %rdx
movq %rcx, (%rdx,%rax,8)
incq %rax
cmpq %rax, %rbx
jne 0x22d7a
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x2289d
movq %rax, %rbx
leaq 0x1(%r14), %rax
movq %rax, 0x70(%rbx)
leaq 0x8(,%r14,8), %rdi
callq 0x2ce79
movq %rax, 0x68(%rbx)
movq %r12, (%rax)
callq 0x1fecc
movq %rax, 0x60(%rbx)
testq %r14, %r14
je 0x22dfc
xorl %r12d, %r12d
movq (%r15,%r12,8), %rdi
callq 0x1e346
movq 0x68(%rbx), %rcx
movq %rax, 0x8(%rcx,%r12,8)
incq %r12
cmpq %r12, %r14
jne 0x22de2
cmpq $0x0, 0x70(%rbx)
je 0x22e20
xorl %r14d, %r14d
movq 0x60(%rbx), %rdi
movq 0x68(%rbx), %rax
movq (%rax,%r14,8), %rsi
callq 0x20d76
incq %r14
cmpq 0x70(%rbx), %r14
jb 0x22e06
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x2289d
movq %rax, %r15
movq $0x0, 0x70(%rax)
movq %rbx, 0x78(%rax)
leaq 0xac33(%rip), %rdi      # 0x2da93
leaq 0xacd4(%rip), %rsi      # 0x2db3b
callq 0x2d678
movq %rax, %r12
testq %rbx, %rbx
je 0x22ea7
xorl %ebp, %ebp
movq (%r14,%rbp,8), %rdi
callq 0x1e2ed
movq %rax, %r13
movq %r12, %rdi
movq %rax, %rsi
callq 0x2da24
testl %eax, %eax
jne 0x22ed7
movq %r12, %rdi
movq %r13, %rsi
movq %r13, %rdx
callq 0x2d71e
incq %rbp
cmpq %rbp, %rbx
jne 0x22e76
movq %r12, %rdi
callq 0x2d6e7
shlq $0x3, %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2d10d
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 0x1e2ed
leaq 0x14e8c(%rip), %rsi     # 0x37d76
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x138e7
// File: /workspace/github_c_makefile_star2_O3/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 0x2289d
movq %rbx, 0x78(%rax)
movq %r14, 0x88(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x227ac
cmpq $0x0, 0x78(%rax)
je 0x22f77
movq %rax, %r15
xorl %ebx, %ebx
xorl %r13d, %r13d
movq 0x88(%r15), %rax
movq (%rax,%r13,8), %rax
movq 0x18(%rax), %rdi
callq 0x1e4eb
movq %rax, %r12
movq %r14, %rdi
callq 0x1e4eb
movq %r12, %rdi
movq %rax, %rsi
callq 0x4230
testl %eax, %eax
je 0x22f7b
incq %r13
cmpq 0x78(%r15), %r13
jb 0x22f3e
jmp 0x22f86
xorl %ebx, %ebx
jmp 0x22f86
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_O3/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 0x2309f
movq 0x8(%rbx), %rax
movl %esi, %ecx
shrl $0x6, %ecx
movq (%rax,%rcx,8), %rax
btq %rsi, %rax
jb 0x231e0
movq %rbx, %rdi
callq 0x2d369
movl (%r14), %eax
cmpl $0x1c, %eax
jne 0x230df
cmpq $0x0, 0x48(%r14)
je 0x230d6
xorl %r15d, %r15d
movq 0x40(%r14), %rax
movq (%rax,%r15,8), %rdi
movq %rbx, %rsi
callq 0x2306d
testl %eax, %eax
jne 0x230fb
incq %r15
cmpq 0x48(%r14), %r15
jb 0x230b9
movq 0x68(%r14), %rax
movq (%rax), %r14
jmp 0x23078
addl $-0x17, %eax
cmpl $0x6, %eax
ja 0x231ae
leaq 0x14ade(%rip), %rcx     # 0x37bd0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x1, %eax
popq %rbx
popq %r14
popq %r15
retq
movq 0x78(%r14), %rcx
testq %rcx, %rcx
je 0x231e0
xorl %r15d, %r15d
movq 0x88(%r14), %rax
movq (%rax,%r15,8), %rax
movq 0x28(%rax), %rdi
testq %rdi, %rdi
je 0x2313a
movq %rbx, %rsi
callq 0x2306d
testl %eax, %eax
jne 0x230fb
movq 0x78(%r14), %rcx
incq %r15
xorl %eax, %eax
cmpq %rcx, %r15
jb 0x23116
jmp 0x23100
cmpq $0x0, 0x78(%r14)
je 0x231e0
xorl %r15d, %r15d
movq 0x88(%r14), %rax
movq (%rax,%r15,8), %rax
movq 0x28(%rax), %rdi
movq %rbx, %rsi
callq 0x2306d
testl %eax, %eax
jne 0x230fb
incq %r15
xorl %eax, %eax
cmpq 0x78(%r14), %r15
jb 0x23154
jmp 0x23100
cmpq $0x0, 0x48(%r14)
je 0x231e0
xorl %r15d, %r15d
movq 0x40(%r14), %rax
movq (%rax,%r15,8), %rdi
movq %rbx, %rsi
callq 0x2306d
testl %eax, %eax
jne 0x230fb
incq %r15
xorl %eax, %eax
cmpq 0x48(%r14), %r15
jb 0x23186
jmp 0x23100
cmpq $0x0, 0x70(%r14)
je 0x231e0
xorl %r15d, %r15d
movq 0x68(%r14), %rax
movq (%rax,%r15,8), %rdi
movq %rbx, %rsi
callq 0x2306d
testl %eax, %eax
jne 0x230fb
incq %r15
xorl %eax, %eax
cmpq 0x70(%r14), %r15
jb 0x231b8
jmp 0x23100
xorl %eax, %eax
jmp 0x23100
// File: /workspace/github_c_makefile_star2_O3/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 0x231f6
retq
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x2d13c
movq %rax, %r14
movq %rbx, %rdi
movq %rax, %rsi
callq 0x2306d
movb %al, 0x90(%rbx)
movq %r14, %rdi
callq 0x2d164
movsbl 0x90(%rbx), %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x2330f
movq %rdx, %r14
movq %rsi, %r13
callq 0x2d21c
testq %rax, %rax
je 0x2330f
leaq 0x14b45(%rip), %rdx     # 0x37db1
movq %rbx, %rdi
movq %r13, %rsi
xorl %eax, %eax
callq 0x2dfae
movq %rax, %r15
addq %rbx, %r15
leaq 0x8(%rsp), %rsi
movq $0x0, (%rsi)
movq 0x80(%r14), %rdi
callq 0x2d2a6
testl %eax, %eax
movq %rbx, 0x10(%rsp)
je 0x2330a
addq %rbx, %r13
leaq 0xeba0(%rip), %rbx      # 0x31e4a
leaq 0x15a97(%rip), %rbp     # 0x38d48
movq %r13, %r12
subq %r15, %r12
movq 0x3ef3a(%rip), %rax     # 0x621f8
movq 0x8(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x10(%rax), %rdi
callq 0x1e4eb
movq %r15, %rdi
movq %r12, %rsi
leaq 0xe866(%rip), %rdx      # 0x31b43
movq %rbx, %rcx
movq %rax, %r8
xorl %eax, %eax
callq 0x2dfae
addq %rax, %r15
incq 0x8(%rsp)
movq 0x80(%r14), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2d2a6
movq %rbp, %rbx
testl %eax, %eax
jne 0x232b1
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_O3/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 0x2d13c
movq %rax, %r12
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
movq %rbx, %rcx
callq 0x23362
movq %r12, %rdi
callq 0x2d164
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x23a0b
leaq 0x1427b(%rip), %rcx     # 0x37c6c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x17, %edi
jmp 0x23a0b
movl 0x4(%rbx), %edi
jmp 0x23a0b
movl $0x18, %edi
callq 0x2dbc9
movq %rax, %r14
cmpq $0x0, 0x48(%rbx)
je 0x23a36
xorl %r15d, %r15d
movq 0x40(%rbx), %rax
movq (%rax,%r15,8), %rdi
callq 0x239d8
xorq %rax, %r14
incq %r15
cmpq 0x48(%rbx), %r15
jb 0x23a1d
movq %r14, %rax
popq %rbx
popq %r14
popq %r15
retq
movq 0x88(%rbx), %rdi
callq 0x2da93
jmp 0x23a10
movq 0x88(%rbx), %rdi
callq 0x1e491
jmp 0x23a10
// File: /workspace/github_c_makefile_star2_O3/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 0x2ce48
movq %rax, %r14
movl %ebp, (%rax)
movl %ebx, 0x4(%rax)
movl $0x8, %edi
callq 0x2ce48
movq %rax, %r15
movl %ebp, (%rax)
movl %ebx, 0x4(%rax)
movq 0x3e248(%rip), %rdi     # 0x62200
movq %r14, %rsi
movq %r14, %rdx
callq 0x2d71e
movq 0x3e236(%rip), %rdi     # 0x62200
movq %r15, %rsi
movq %r15, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x2d71e
// File: /workspace/github_c_makefile_star2_O3/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 0x24036
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0x2d13c
movq %rax, %r15
callq 0x2d13c
movq %rax, %r12
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
movq %rax, %rcx
xorl %r8d, %r8d
callq 0x23a5b
movl %eax, %ebx
movq %r15, %rdi
callq 0x2d164
movq %r12, %rdi
callq 0x2d164
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_O3/oridb[P]mc/parse/type.c
// Function: tyeq
int
tyeq(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, 1);
	bsfree(avisited);
	bsfree(bvisited);
	return eq;
}

// Assembly:
cmpq %rsi, %rdi
je 0x24096
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0x2d13c
movq %rax, %r15
callq 0x2d13c
movq %rax, %r12
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
movq %rax, %rcx
movl $0x1, %r8d
callq 0x23a5b
movl %eax, %ebx
movq %r15, %rdi
callq 0x2d164
movq %r12, %rdi
callq 0x2d164
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_O3/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 0x2289d
movq %rax, %r15
leaq 0x10d4e(%rip), %r13     # 0x35612
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 0x13521(%rip), %rsi     # 0x37e16
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x1d6f5
movq %rax, %rbp
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
movl $0x1a, %esi
callq 0x2289d
movq %rax, %rbx
movq %r13, %rdi
callq 0x4340
movq %rax, 0x88(%rbx)
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
movq %rbp, %rsi
movq %rbx, %rdx
callq 0x1e04f
movq %r15, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x2ceff
movq (%r15), %rbx
movq (%r12), %r15
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
movl $0x1, %esi
callq 0x2289d
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
movq %rbx, %rsi
movq %r15, %rdx
movq %rax, %rcx
callq 0x22d97
movq %rax, %rbx
leaq 0x134b2(%rip), %rsi     # 0x37e26
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x1d6f5
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
movq %rax, %rsi
movq %rbx, %rdx
callq 0x1e04f
movq %rax, %rbx
movq %r14, 0x40(%rax)
leaq -0xfc4(%rip), %rdi      # 0x239d8
leaq -0x967(%rip), %rsi      # 0x2403c
callq 0x2d678
movq %rax, 0x48(%rbx)
leaq 0x30(%r14), %rdi
addq $0x38, %r14
movl $0x1010101, 0x71(%rbx)  # imm = 0x1010101
movq %r14, %rsi
movq %rbx, %rdx
callq 0x2ceff
movq (%rsp), %rdi
movq %rbx, %rsi
callq 0x204de
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x251c1
leaq 0xd9fa(%rip), %rdx      # 0x32ba8
movq %r14, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2dfae
movq %rax, %r15
addq %r14, %r15
addq %rbx, %r14
movq %r14, %rsi
subq %r15, %rsi
movq 0x20(%r12), %rcx
leaq 0x118f7(%rip), %rdx     # 0x36acd
movq %r15, %rdi
xorl %eax, %eax
callq 0x2dfae
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_O3/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 0x101e1(%rip), %rdx     # 0x353fa
xorl %eax, %eax
callq 0x2dfae
movq %rax, %rbp
movq %rbx, 0x8(%rsp)
addq %rbx, %rbp
testq %r13, %r13
je 0x2528b
leaq 0xcc13(%rip), %rcx      # 0x31e4a
movq %r15, 0x10(%rsp)
movq %r12, %r15
xorl %r12d, %r12d
movq %r14, %rsi
subq %rbp, %rsi
movq %rbp, %rdi
leaq 0x1187b(%rip), %rdx     # 0x36acd
xorl %eax, %eax
callq 0x2dfae
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 0x23362
movslq %eax, %rbp
addq %rbx, %rbp
incq %r12
leaq 0x10d32(%rip), %rcx     # 0x35fb8
cmpq %r12, %r13
jne 0x25242
subq %rbp, %r14
leaq 0x1215e(%rip), %rdx     # 0x373f3
movq %rbp, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x2dfae
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_O3/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 0x12bdc(%rip), %rdx     # 0x37eb8
xorl %eax, %eax
callq 0x2dfae
movq %rax, %r15
movq %rbx, (%rsp)
addq %rbx, %r15
cmpq $0x0, 0x78(%r12)
je 0x25366
movq %r14, 0x8(%rsp)
xorl %r13d, %r13d
movq 0x88(%r12), %rax
movq (%rax,%r13,8), %rdi
callq 0x1e2ed
movq %rax, %rbx
movq 0x88(%r12), %rax
movq (%rax,%r13,8), %rdi
callq 0x1e31c
movl $0x200, %esi            # imm = 0x200
leaq 0x10(%rsp), %r14
movq %r14, %rdi
movq 0x8(%rsp), %rdx
movq %rax, %rcx
callq 0x23362
movq %rbp, %rsi
subq %r15, %rsi
movq %r15, %rdi
leaq 0x12b74(%rip), %rdx     # 0x37ec0
movq %rbx, %rcx
movq %r14, %r8
xorl %eax, %eax
callq 0x2dfae
addq %rax, %r15
incq %r13
cmpq 0x78(%r12), %r13
jb 0x252fd
subq %r15, %rbp
leaq 0x12b59(%rip), %rdx     # 0x37ec9
movq %r15, %rdi
movq %rbp, %rsi
xorl %eax, %eax
callq 0x2dfae
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_O3/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 0x12b0b(%rip), %rdx     # 0x37ecc
xorl %eax, %eax
callq 0x2dfae
movq %rax, %r15
movq %r14, 0x10(%rsp)
addq %r14, %r15
cmpq $0x0, 0x78(%rbx)
je 0x25486
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 0x12a89(%rip), %r13     # 0x37e8b
leaq 0xca41(%rip), %rax      # 0x31e4a
cmoveq %rax, %r13
movq 0x20(%rdx), %r9
cmoveq %rax, %rbp
testq %rcx, %rcx
je 0x25457
movl $0x200, %esi            # imm = 0x200
leaq 0x20(%rsp), %rdi
movq 0x18(%rsp), %rdx
movq %r9, %r12
callq 0x23362
movq 0x8(%rsp), %rsi
subq %r15, %rsi
leaq 0x20(%rsp), %rax
movq %rax, (%rsp)
movq %r15, %rdi
leaq 0x12a87(%rip), %rdx     # 0x37ed3
movq %rbp, %rcx
movq %r13, %r8
movq %r12, %r9
jmp 0x2546f
movq 0x8(%rsp), %rsi
subq %r15, %rsi
movq %r15, %rdi
leaq 0x12a77(%rip), %rdx     # 0x37ee0
movq %rbp, %rcx
movq %r13, %r8
xorl %eax, %eax
callq 0x2dfae
addq %rax, %r15
incq %r14
cmpq 0x78(%rbx), %r14
jb 0x253e1
movq 0x8(%rsp), %rsi
subq %r15, %rsi
leaq 0x12a34(%rip), %rdx     # 0x37ec9
movq %r15, %rdi
xorl %eax, %eax
callq 0x2dfae
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_O3/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 0x22a20
addq $0x10, %rsp
movq %rax, %r14
movq %rbx, %rdi
callq 0x2dd89
movq %rax, (%rsp)
movq %rbx, %rdi
callq 0x2dd89
cmpq $0x2, %rax
jne 0x2554d
movb $0x1, 0x49(%r14)
movq %rbx, %rdi
callq 0x25628
movq %rax, 0x10(%r14)
movq %rbx, %rdi
callq 0x25b30
movq %rax, 0x18(%r14)
movq %rbx, %rdi
callq 0x2dd89
movq %rax, 0x28(%r14)
leaq (,%rax,8), %rdi
callq 0x2ce48
movq %rax, 0x20(%r14)
movb $0x1, 0x4a(%r14)
cmpq $0x0, 0x28(%r14)
je 0x255b0
xorl %r15d, %r15d
xorl %r12d, %r12d
movq 0x20(%r14), %rsi
addq %r15, %rsi
movq %rbx, %rdi
callq 0x25eff
incq %r12
addq $0x8, %r15
cmpq 0x28(%r14), %r12
jb 0x25594
movq %rbx, %rdi
callq 0x2dd89
testq %rax, %rax
je 0x25603
movq %rax, %r12
leaq 0x30(%r14), %r13
movq %r14, %rbp
addq $0x38, %rbp
movq %rbx, %rdi
movq %r14, %rsi
callq 0x25f7c
movq %rax, %r15
leaq -0x1c08(%rip), %rdi     # 0x239d8
leaq -0x15ab(%rip), %rsi     # 0x2403c
callq 0x2d678
movq %rax, 0x48(%r15)
movq %r13, %rdi
movq %rbp, %rsi
movq %r15, %rdx
callq 0x2ceff
decq %r12
jne 0x255cb
movq 0x3cc0e(%rip), %rdi     # 0x62218
movq (%rsp), %rsi
movq %r14, %rdx
callq 0x2d71e
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_O3/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 0x2dd89
testq %rax, %rax
je 0x25f74
movq %rax, %r14
btl $0x1e, %r14d
jb 0x25f5d
movq 0x3c327(%rip), %rdi     # 0x62248
movq 0x3c328(%rip), %rsi     # 0x62250
shlq $0x4, %rsi
addq $0x10, %rsi
callq 0x2ced6
movq %rax, 0x3c30c(%rip)     # 0x62248
movq 0x3c30d(%rip), %rcx     # 0x62250
leaq 0x1(%rcx), %rdx
movq %rdx, 0x3c302(%rip)     # 0x62250
shlq $0x4, %rcx
movq %rbx, (%rax,%rcx)
movq %r14, 0x8(%rax,%rcx)
jmp 0x25f74
andl $0xbfffffff, %r14d      # imm = 0xBFFFFFFF
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
movl %r14d, %esi
callq 0x2289d
movq %rax, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x2dd89
movq %rax, %r12
movq %rbx, %rdi
callq 0x25628
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
movq %rax, %rsi
xorl %edx, %edx
callq 0x1e04f
movq %rax, %r14
movl %r12d, (%rax)
leaq 0x3b2c2(%rip), %rax     # 0x61278
movl (%rax), %eax
decl %eax
movl %eax, 0x4(%r14)
leaq 0x28(%r14), %rsi
movq %rbx, %rdi
callq 0x25eff
movq %rbx, %rdi
callq 0x2dd89
cmpq $0x2, %rax
jne 0x25fdd
movb $0x1, 0x76(%r14)
movq %r15, 0x40(%r14)
movq %rbx, %rdi
callq 0x2e04b
movb %al, 0x72(%r14)
movq %rbx, %rdi
callq 0x2e04b
movb %al, 0x73(%r14)
movq %rbx, %rdi
callq 0x2e04b
movb %al, 0x74(%r14)
movq %rbx, %rdi
callq 0x2e04b
movb %al, 0x75(%r14)
movq %rbx, %rdi
callq 0x2e04b
movb %al, 0x78(%r14)
movb $0x1, 0x77(%r14)
movq %rbx, %rdi
callq 0x2e04b
movb %al, 0x79(%r14)
movq %rbx, %rdi
callq 0x2e04b
movb %al, 0x7a(%r14)
movq %rbx, %rdi
callq 0x2e04b
movb %al, 0x7b(%r14)
cmpb $0x0, 0x79(%r14)
je 0x26059
movq %rbx, %rdi
callq 0x25628
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_O3/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 0x26c59
movq %rsi, %r14
movq %rsi, %rdi
callq 0x1ffef
movq %rax, %rbx
testq %rax, %rax
jne 0x26c64
xorl %edi, %edi
callq 0x1fcd1
movq %rax, %rbx
movq %r14, %rdi
callq 0x4340
movq %rax, 0x8(%rbx)
movq %rbx, %rdi
callq 0x20d22
jmp 0x26c64
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_O3/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 0x2dd70
movq 0x20(%r14), %rsi
movq %rbx, %rdi
callq 0x27717
movq 0x28(%r14), %rsi
movq %rbx, %rdi
callq 0x27d89
movsbq 0x70(%r14), %rsi
movq %rbx, %rdi
callq 0x2dd70
movsbl 0x72(%r14), %esi
movq %rbx, %rdi
callq 0x2e042
movsbl 0x73(%r14), %esi
movq %rbx, %rdi
callq 0x2e042
movsbl 0x74(%r14), %esi
movq %rbx, %rdi
callq 0x2e042
movsbl 0x75(%r14), %esi
movq %rbx, %rdi
callq 0x2e042
movsbl 0x78(%r14), %esi
movq %rbx, %rdi
callq 0x2e042
movsbl 0x79(%r14), %esi
movq %rbx, %rdi
callq 0x2e042
movsbl 0x7a(%r14), %esi
movq %rbx, %rdi
callq 0x2dd32
movsbl 0x7b(%r14), %esi
movq %rbx, %rdi
callq 0x2dd32
cmpb $0x0, 0x79(%r14)
je 0x27c02
movq 0x30(%r14), %rsi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x27717
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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, %r14
movq %rsi, %r15
callq 0x2dd89
movq %rax, %rbx
btl $0x1e, %ebx
jb 0x27c72
movq 0x3a60b(%rip), %rdi     # 0x62238
movq 0x3a60c(%rip), %rax     # 0x62240
leaq (%rax,%rax,2), %rax
leaq 0x18(,%rax,8), %rsi
callq 0x2ced6
movq %rax, 0x3a5ec(%rip)     # 0x62238
movq 0x3a5ed(%rip), %rcx     # 0x62240
leaq 0x1(%rcx), %rdx
movq %rdx, 0x3a5e2(%rip)     # 0x62240
leaq (%rcx,%rcx,2), %rcx
movq %r15, (%rax,%rcx,8)
movq %r14, 0x8(%rax,%rcx,8)
movq %rbx, 0x10(%rax,%rcx,8)
jmp 0x27cdc
movabsq $0x1fffffffbfffffff, %r12 # imm = 0x1FFFFFFFBFFFFFFF
testq %r15, %r15
je 0x27c98
leaq 0x3a570(%rip), %rax     # 0x621f8
movq (%rax), %rax
movq %rbx, %rcx
andq %r12, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, (%r15)
testq %r14, %r14
je 0x27cdc
movq 0x80(%r14), %rdi
testq %rdi, %rdi
jne 0x27cb8
callq 0x2d13c
movq %rax, %rdi
movq %rax, 0x80(%r14)
leaq 0x3a539(%rip), %rax     # 0x621f8
movq (%rax), %rax
andq %r12, %rbx
movq (%rax,%rbx,8), %rax
movslq (%rax), %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x2d369
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x1fcd1
movq %rax, %r14
movq %rbx, %rdi
callq 0x2de31
movq %rax, 0x8(%r14)
movq %rbx, %rdi
callq 0x2dd89
movq %rax, %r15
testl %r15d, %r15d
jle 0x27d38
movq %rbx, %rdi
xorl %esi, %esi
callq 0x25f7c
movq %r14, %rdi
movq %rax, %rsi
callq 0x204de
decl %r15d
jne 0x27d1e
movq %rbx, %rdi
callq 0x2dd89
movq %rax, %r15
testl %r15d, %r15d
jle 0x27d78
leaq 0x8(%rsp), %r12
movq %rbx, %rdi
callq 0x25628
movq %rax, %r13
movq %rbx, %rdi
movq %r12, %rsi
callq 0x25eff
movq 0x8(%rsp), %rdx
movq %r14, %rdi
movq %r13, %rsi
callq 0x208aa
decl %r15d
jne 0x27d4d
movq %r14, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x27da9
movl 0x4(%rsi), %ebx
cmpl $0x40000000, %ebx       # imm = 0x40000000
jae 0x27db3
cmpl $0x3, 0x10(%rsi)
jne 0x27dab
movl $0x40000000, %ebx       # imm = 0x40000000
orl (%rsi), %ebx
jmp 0x27dab
xorl %ebx, %ebx
movl %ebx, %esi
popq %rbx
jmp 0x2dd70
movq %rsi, %rdi
callq 0x2398e
leaq 0x1043b(%rip), %rdi     # 0x381fd
movl %ebx, %esi
movq %rax, %rdx
xorl %eax, %eax
callq 0x13844
// File: /workspace/github_c_makefile_star2_O3/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 0x2ddc9
movq 0x18(%rbx), %rdi
movq %rsp, %r12
movq %r12, %rsi
callq 0x2da36
movq %rax, %r15
movq (%r12), %rsi
movq %r14, %rdi
callq 0x2dd70
cmpq $0x0, (%r12)
je 0x27e2d
xorl %r12d, %r12d
movq (%r15,%r12,8), %rsi
movq %rbx, %rdi
callq 0x20250
movq %r14, %rdi
movq %rax, %rsi
callq 0x27b49
incq %r12
cmpq (%rsp), %r12
jb 0x27e0d
movq %r15, %rdi
callq 0x4040
movq 0x28(%rbx), %rdi
movq %rsp, %r12
movq %r12, %rsi
callq 0x2da36
movq %rax, %r15
movq (%r12), %rsi
movq %r14, %rdi
callq 0x2dd70
cmpq $0x0, (%r12)
je 0x27e89
xorl %r12d, %r12d
movq (%r15,%r12,8), %rsi
movq %r14, %rdi
callq 0x27717
movq (%r15,%r12,8), %rsi
movq %rbx, %rdi
callq 0x20396
movq %r14, %rdi
movq %rax, %rsi
callq 0x27d89
incq %r12
cmpq (%rsp), %r12
jb 0x27e5d
movq %r15, %rdi
callq 0x4040
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O3/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 0x27fc9
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
cmpq %rsi, 0x18(%rdi)
je 0x27fbe
movq %rsp, %rsi
movq $0x0, (%rsi)
movq 0x28(%rbx), %rdi
callq 0x2d2a6
testl %eax, %eax
je 0x27f21
movq %rsp, %r15
movq 0x8(%r14), %rax
movq (%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x30(%rax), %rdi
movq 0x30(%rbx), %rsi
callq 0x2d3f9
movq 0x8(%r14), %rax
movq (%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x30(%rax), %rdi
movslq (%rbx), %rsi
callq 0x2d3d4
incq (%rsp)
movq 0x28(%rbx), %rdi
movq %r15, %rsi
callq 0x2d2a6
testl %eax, %eax
jne 0x27edc
movq %rsp, %rsi
movq $0x0, (%rsi)
movq 0x30(%rbx), %rdi
callq 0x2d2a6
testl %eax, %eax
je 0x27faf
movq %rsp, %r15
movq 0x8(%r14), %rax
movq (%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x28(%rax), %rdi
movq 0x28(%rbx), %rsi
callq 0x2d3f9
movq 0x8(%r14), %rax
movq (%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x28(%rax), %rdi
movslq (%rbx), %rsi
callq 0x2d3d4
cmpq $0x0, 0x10(%rbx)
je 0x27f9b
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 0x27fca
incq %r12
cmpq 0x10(%rbx), %r12
jb 0x27f76
incq (%rsp)
movq 0x30(%rbx), %rdi
movq %r15, %rsi
callq 0x2d2a6
testl %eax, %eax
jne 0x27f3b
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_O3/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 0x2d2a6
testl %eax, %eax
je 0x2806e
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 0x2d3d4
incq 0x8(%rsp)
movq 0x30(%rbx), %rdi
movq %r15, %rsi
callq 0x2d2a6
testl %eax, %eax
jne 0x28040
movq 0x30(%rbx), %rdi
callq 0x2d1ce
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq