// File: /workspace/github_c_makefile_star2_O2/Oric4ever[P]lcc65/6502/build/../src/dag.c
// Function: listnodes
Node listnodes(Tree tp, int tlab, int flab) {
	Opcode op;
	Node p, l, r;

	if (tp == 0)
		return 0;
	if (tp->node)
		return tp->node;
	op = generic(tp->op);
	switch (op) {
	case AND:
		if (flab) {
			listnodes(tp->kids[0], 0, flab);
			r = listnodes(tp->kids[1], 0, flab);
		} else {
			listnodes(tp->kids[0], 0, flab = genlabel(1));
			listnodes(tp->kids[1], tlab, 0);
			r = labelnode(flab);
		}
		trash(0);
		return r;
	case NOT:
		return listnodes(tp->kids[0], flab, tlab);
	case OR:
		if (tlab) {
			listnodes(tp->kids[0], tlab, 0);
			r = listnodes(tp->kids[1], tlab, 0);
		} else {
			listnodes(tp->kids[0], tlab = genlabel(1), 0);
			listnodes(tp->kids[1], 0, flab);
			r = labelnode(tlab);
		}
		trash(0);
		return r;
	case COND: {
		Tree q;
		assert(tlab == 0 && flab == 0);
		if (tp->u.sym)
			addlocal(tp->u.sym);
		trash(0);
		listnodes(tp->kids[0], 0, flab = genlabel(2));
		trash(0);
		q = tp->kids[1];
		if (q) {
			assert(q->op == RIGHT);
			listnodes(q->kids[0], 0, 0);
			if (islabel(nodelist)) {
				equatelab(nodelist->syms[0], findlabel(flab + 1));
				remove(nodelist);
			}
			trash(0);
		}
		if (q && q->kids[1]) {
			list(jump(flab + 1));
			labelnode(flab);
			listnodes(q->kids[1], 0, 0);
			if (islabel(nodelist)) {
				equatelab(nodelist->syms[0], findlabel(flab + 1));
				remove(nodelist);
			}
		} else
			labelnode(flab);
		p = labelnode(flab + 1);
		trash(0);
		if (tp->u.sym) {
			Tree t = idnode(tp->u.sym);
			tp->u.sym->ref = 0;	/* undo idnode's setting ref */
			p = listnodes(t, 0, 0);
		}
		break;
		}
	case CNST: {
		Type ty = unqual(tp->type);
		assert(op == CNST+S || ty->u.sym);
		if (op == CNST+S || ty->u.sym->addressed)
			p = listnodes(cvtconst(tp), tlab, flab);
		else if (tlab == 0 && flab == 0)
			p = node(tp->op, 0, 0, constant(ty, tp->u.v));
		else {
			assert(ty == inttype);
			if (tlab && tp->u.v.i != 0)
				p = list(jump(tlab));
			else if (flab && tp->u.v.i == 0)
				p = list(jump(flab));
			else
				p = 0;
		}
		break;
		}
	case RIGHT:
		if (tp->kids[0] && generic(tp->kids[0]->op) == INDIR
		&&  tp->kids[1] && generic(tp->kids[1]->op) == ASGN
		&&  tp->kids[0]->kids[0] == tp->kids[1]->kids[0]) {	/* e++ */
			p = listnodes(tp->kids[0], 0, 0);
			if (nodelist) {
				Node t;
				for (t = nodelist; ; t = t->link)
					if (haskid(p, t->link)) {
						p->link = t->link;
						t->link = p;
						break;
					} else if (t->link == nodelist) {
						list(p);
						break;
					}
			} else
				list(p);
			listnodes(tp->kids[1], 0, 0);
		} else if (tp->kids[1]) {
			if (tp->kids[0] && generic(tp->kids[0]->op) == CNST)
				tp->kids[0] = 0;
			listnodes(tp->kids[0], 0, 0);
			p = listnodes(tp->kids[1], tlab, flab);
		} else
			p = listnodes(tp->kids[0], tlab, flab);
		break;
	case JUMP:
		assert(tlab == 0 && flab == 0);
		assert(tp->u.sym == 0);
		assert(tp->kids[0]);
		l = listnodes(tp->kids[0], 0, 0);
		p = newnode(JUMP+V, l, 0, 0);
		trash(0);
		list(p);
		break;
	case CALL:
		assert(tlab == 0 && flab == 0);
		l = listnodes(tp->kids[0], 0, 0);	/* arguments, function name */
		r = listnodes(tp->kids[1], 0, 0);
		p = newnode(tp->op, l, r, 0);
		p->syms[0] = (Symbol)talloc(sizeof *p->syms[0]);
		BZERO(p->syms[0], struct symbol);
		assert(isptr(tp->kids[0]->type) && isfunc(tp->kids[0]->type->type));
		p->syms[0]->type = tp->kids[0]->type->type;
		trash(0);
		list(p);
		cfunc->u.f.ncalls++;
		break;
	case ARG:
		assert(tlab == 0 && flab == 0);
#ifdef LEFT_TO_RIGHT
		listnodes(tp->kids[1], 0, 0);
#endif
		l = listnodes(tp->kids[0], 0, 0);
		p = newnode(tp->op, l, 0, 0);
		p->syms[0] = intconst(tp->type->size);
		p->syms[1] = intconst(tp->type->align);
		list(p);
#ifndef LEFT_TO_RIGHT
		listnodes(tp->kids[1], 0, 0);
#endif
		return 0;
	case EQ: case NE: case GT: case GE: case LE: case LT: {
		int lab;
		assert(tp->u.sym == 0);
		assert(errcnt || tlab || flab);
		if (lab = flab) {
			assert(tlab == 0);
			switch (op) {
			case EQ: op = NE + optype(tp->op); break;
			case NE: op = EQ + optype(tp->op); break;
			case GT: op = LE + optype(tp->op); break;
			case LT: op = GE + optype(tp->op); break;
			case GE: op = LT + optype(tp->op); break;
			case LE: op = GT + optype(tp->op); break;
			}
		} else if (lab = tlab)
			op = tp->op;
		l = listnodes(tp->kids[0], 0, 0);
		r = listnodes(tp->kids[1], 0, 0);
		p = newnode(op, l, r, findlabel(lab));
		p->syms[0]->ref++;
		list(p);
		break;
		}
	case ASGN:
		assert(tlab == 0 && flab == 0);
		if (tp->kids[0]->op == FIELD) {
			Tree x = tp->kids[0]->kids[0];
			Field p = tp->kids[0]->u.field;
			assert(generic(x->op) == INDIR);
			trash(0);
			l = listnodes(lvalue(x), 0, 0);
			if (fieldsize(p) < 8*p->type->size) {
				unsigned int fmask = fieldmask(p);
				unsigned int mask = fmask<<fieldright(p);
				Tree q = tp->kids[1];
				if ((q->op == CNST+I && q->u.v.i == 0)
				||  (q->op == CNST+U && q->u.v.u == 0))
					q = bitnode(BAND, x, constnode(~mask, unsignedtype));
				else if ((q->op == CNST+I && (q->u.v.i&fmask) == fmask)
				||       (q->op == CNST+U && (q->u.v.u&fmask) == fmask))
					q = bitnode(BOR, x, constnode(mask, unsignedtype));
				else
					q = bitnode(BOR,
						bitnode(BAND, x, constnode(~mask, unsignedtype)),
						bitnode(BAND, shnode(LSH, cast(q, unsignedtype),
							constnode(fieldright(p), inttype)),
							constnode(mask, unsignedtype)));
				r = listnodes(q, 0, 0);
			} else
				r = listnodes(tp->kids[1], 0, 0);
		} else {
			l = listnodes(tp->kids[0], 0, 0);
			r = listnodes(tp->kids[1], 0, 0);
		}
		trash(isaddrop(tp->kids[0]->op) && !tp->kids[0]->u.sym->computed ? l : 0);
		p = newnode(tp->op, l, r, 0);
		p->syms[0] = intconst(tp->type->size);
		p->syms[1] = intconst(tp->type->align);
		list(p);
		p = listnodes(tp->kids[1], 0, 0);
		break;
	case BAND:
		assert(tlab == 0 && flab == 0);
		l = listnodes(tp->kids[0], 0, 0);
#ifdef VAX
		r = listnodes(cast(
			simplify(BCOM+U, unsignedtype, cast(tp->kids[1], unsignedtype), 0),
			tp->kids[1]->type), 0, 0);
#else
		r = listnodes(tp->kids[1], 0, 0);
#endif
		p = node(tp->op, l, r, 0);
		break;
	case RSH:
		assert(tlab == 0 && flab == 0);
		l = listnodes(tp->kids[0], 0, 0);
#ifdef VAX
		if (tp->op == RSH+I)
			r = listnodes(simplify(NEG+I, inttype, tp->kids[1], 0), 0, 0);
		else
#endif
			r = listnodes(tp->kids[1], 0, 0);
		p = node(tp->op, l, r, 0);
		break;
	case ADD: case SUB:  case DIV: case MUL: case MOD:
	case BOR: case BXOR: case LSH:
		assert(tlab == 0 && flab == 0);
		l = listnodes(tp->kids[0], 0, 0);
		r = listnodes(tp->kids[1], 0, 0);
		p = node(tp->op, l, r, 0);
#ifdef SPARC
		if(p->op == DIV+I || p->op == MOD+I || p->op == MUL+I
		|| p->op == DIV+U || p->op == MOD+U || p->op == MUL+U)
			list(p);
#endif
		break;
	case RET:
		assert(tlab == 0 && flab == 0);
		l = listnodes(tp->kids[0], 0, 0);
		p = newnode(tp->op, l, 0, 0);
		list(p);
		break;
	case CVC: case CVD: case CVF: case CVI:
	case CVP: case CVS: case CVU: case NEG: case BCOM:
		assert(tlab == 0 && flab == 0);
		l = listnodes(tp->kids[0], 0, 0);
		p = node(tp->op, l, 0, 0);
		break;
	case INDIR: {
		Type ty = tp->kids[0]->type;
		if (isptr(ty))
			ty = unqual(ty)->type;
		assert(tlab == 0 && flab == 0);
		l = listnodes(tp->kids[0], 0, 0);
		if (isvolatile(ty) || (isstruct(ty) && unqual(ty)->u.sym->u.s.vfields))
			p = newnode(tp->op, l, 0, 0);
		else
			p = node(tp->op, l, 0, 0);
		break;
		}
	case FIELD: {
		Tree q;
		assert(tlab == 0 && flab == 0);
		q = shnode(RSH,
			shnode(LSH, tp->kids[0],
				constnode(fieldleft(tp->u.field), inttype)),
			constnode(8*tp->type->size - fieldsize(tp->u.field), inttype));
		p = listnodes(q, 0, 0);
		break;
		}
	case ADDRL:
		assert(tlab == 0 && flab == 0);
		if (tp->u.sym->temporary) {
			addlocal(tp->u.sym);
			release(tp->u.sym);
		}
		p = node(tp->op, 0, 0, tp->u.sym);
		break;
	case ADDRG: case ADDRF:
		assert(tlab == 0 && flab == 0);
		if (tp->u.sym->scope == LABELS)
			tp->u.sym->ref++;
		p = node(tp->op, 0, 0, tp->u.sym);
		break;
	default:assert(0);
	}
	return tp->node = p;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rdi, %rbx
leaq 0x1887b(%rip), %rax     # 0x1c05c
testq %rbx, %rbx
je 0x38dc
movq 0x20(%rbx), %r14
testq %r14, %r14
jne 0x393c
movl (%rbx), %r14d
leal -0x10(%r14), %ecx
shrl $0x4, %ecx
cmpl $0x2a, %ecx
ja 0x42eb
movl %esi, %r15d
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movq 0x10(%rbx), %rbx
movl %ebp, %esi
movl %r15d, %ebp
jmp 0x37e1
orl %r15d, %ebp
jne 0x430a
movq 0x10(%rbx), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x37ca
movl (%rbx), %edi
movq %rax, %rsi
xorl %edx, %edx
jmp 0x386e
orl %r15d, %ebp
jne 0x4329
movq 0x10(%rbx), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x37ca
movq %rax, %r14
movq 0x18(%rbx), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x37ca
movl (%rbx), %edi
movq %r14, %rsi
movq %rax, %rdx
xorl %ecx, %ecx
callq 0x478b
movq %rax, %r14
jmp 0x3938
cmpq $0x0, 0x28(%rbx)
jne 0x4348
leaq 0x2601d(%rip), %rax     # 0x298ac
movl (%rax), %eax
orl %r15d, %eax
orl %ebp, %eax
je 0x4367
movl %r14d, %r12d
andl $-0x10, %r12d
testl %ebp, %ebp
je 0x38e1
testl %r15d, %r15d
jne 0x4386
leal -0x1e0(%r14), %eax
shrl $0x4, %eax
cmpl $0x5, %eax
ja 0x38ee
leaq 0x18842(%rip), %rcx     # 0x1c108
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
andl $0xf, %r14d
orl $0x230, %r14d           # imm = 0x230
jmp 0x38eb
xorl %r14d, %r14d
jmp 0x393c
testl %r15d, %r15d
cmovel %r12d, %r14d
movl %r15d, %ebp
movl %r14d, %r12d
movq 0x10(%rbx), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x37ca
movq %rax, %r14
movq 0x18(%rbx), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x37ca
movq %rax, %r15
movl %ebp, %edi
callq 0x15e6a
movl %r12d, %edi
movq %r14, %rsi
movq %r15, %rdx
movq %rax, %rcx
callq 0x4822
movq %rax, %r14
movq 0x8(%rax), %rax
incl 0x1c(%rax)
movq %r14, %rdi
callq 0x4726
movq %r14, 0x20(%rbx)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
orl %r15d, %ebp
jne 0x43a5
movq 0x28(%rbx), %rcx
cmpw $0x2, 0x18(%rcx)
jne 0x3c2a
incl 0x1c(%rcx)
jmp 0x3c26
movq 0x10(%rbx), %r14
testl %r15d, %r15d
je 0x40b6
movq %r14, %rdi
movl %r15d, %esi
xorl %edx, %edx
callq 0x37ca
movq 0x18(%rbx), %rdi
movl %r15d, %esi
xorl %edx, %edx
jmp 0x3ae5
orl %r15d, %ebp
jne 0x43e3
movq 0x28(%rbx), %rdi
testq %rdi, %rdi
je 0x39ad
callq 0x32ac
xorl %edi, %edi
callq 0x463a
movq 0x10(%rbx), %r15
pushq $0x2
popq %rdi
callq 0x1616e
movl %eax, %r14d
movq %r15, %rdi
xorl %esi, %esi
movl %eax, %edx
callq 0x37ca
xorl %edi, %edi
callq 0x463a
movq 0x18(%rbx), %r12
testq %r12, %r12
je 0x3f28
cmpl $0x2a0, (%r12)          # imm = 0x2A0
jne 0x4557
movq 0x10(%r12), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x37ca
movq 0x25dda(%rip), %rax     # 0x297e0
testq %rax, %rax
je 0x3a3c
cmpl $0x258, (%rax)          # imm = 0x258
jne 0x3a3c
movq 0x8(%rax), %r15
testq %r15, %r15
je 0x3a3c
leal 0x1(%r14), %edi
callq 0x15e6a
movq %r15, %rdi
movq %rax, %rsi
callq 0x13d0e
movq 0x25da9(%rip), %rdi     # 0x297e0
callq 0x46cb
xorl %edi, %edi
callq 0x463a
cmpq $0x0, 0x18(%r12)
je 0x3f28
movl %r14d, %ebp
incl %ebp
movl %ebp, %edi
callq 0x475f
movq %rax, %rdi
callq 0x4726
movl %r14d, %edi
callq 0x45b4
movq 0x18(%r12), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x37ca
movq 0x25d60(%rip), %rax     # 0x297e0
testq %rax, %rax
je 0x3f36
cmpl $0x258, (%rax)          # imm = 0x258
jne 0x3f36
movq 0x8(%rax), %r14
testq %r14, %r14
je 0x3f36
movl %ebp, %edi
callq 0x15e6a
movq %r14, %rdi
movq %rax, %rsi
callq 0x13d0e
movq 0x25d25(%rip), %rdi     # 0x297e0
callq 0x46cb
jmp 0x3f36
movq 0x10(%rbx), %r14
testl %ebp, %ebp
je 0x40df
movq %r14, %rdi
xorl %esi, %esi
movl %ebp, %edx
callq 0x37ca
movq 0x18(%rbx), %rdi
xorl %esi, %esi
movl %ebp, %edx
callq 0x37ca
jmp 0x410a
orl %r15d, %ebp
je 0x3849
leaq 0x18687(%rip), %rdi     # 0x1c186
leaq 0x18652(%rip), %rsi     # 0x1c158
leaq 0x18690(%rip), %rcx     # 0x1c19d
movl $0x1d2, %edx            # imm = 0x1D2
callq 0x30d0
orl %r15d, %ebp
jne 0x4402
cmpq $0x0, 0x28(%rbx)
jne 0x4519
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x4538
xorl %esi, %esi
xorl %edx, %edx
callq 0x37ca
movl $0x248, %edi            # imm = 0x248
movq %rax, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x4822
movq %rax, %r14
xorl %edi, %edi
callq 0x463a
jmp 0x3930
orl %r15d, %ebp
jne 0x4421
movq 0x10(%rbx), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x37ca
movl (%rbx), %edi
movq %rax, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x4822
movq %rax, %r14
movq %rax, %rdi
jmp 0x3933
movq 0x10(%rbx), %rdi
movq 0x8(%rdi), %r14
movl (%r14), %ecx
cmpl $0xf, %ecx
jb 0x3fbc
movq 0x10(%r14), %rax
cmpl $0x7, (%rax)
je 0x3fc4
jmp 0x3fc8
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x4119
movl (%rdi), %ecx
andl $-0x10, %ecx
movq 0x18(%rbx), %rax
cmpl $0x40, %ecx
jne 0x4140
testq %rax, %rax
je 0x4161
movl (%rax), %ecx
andl $-0x10, %ecx
cmpl $0x30, %ecx
jne 0x3bf6
movq 0x10(%rdi), %rcx
cmpq 0x10(%rax), %rcx
je 0x4291
leaq 0x18(%rbx), %r14
jmp 0x4155
orl %r15d, %ebp
jne 0x4440
movq 0x28(%rbx), %rcx
testb $0x2, 0x1b(%rcx)
je 0x3c2a
movq %rcx, %rdi
callq 0x32ac
movq 0x28(%rbx), %rdi
callq 0x16370
movl (%rbx), %r14d
movq 0x28(%rbx), %rcx
movl %r14d, %edi
xorl %esi, %esi
xorl %edx, %edx
jmp 0x3870
orl %r15d, %ebp
jne 0x445f
movq 0x10(%rbx), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x37ca
movq %rax, %r14
movq 0x18(%rbx), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x37ca
movl (%rbx), %edi
movq %r14, %rsi
movq %rax, %rdx
xorl %ecx, %ecx
callq 0x4822
movq %rax, %r14
leaq 0x25b03(%rip), %rax     # 0x29778
movq (%rax), %rcx
movl $0x88, (%rcx)
movq 0x8(%rcx), %rax
leaq 0x88(%rax), %rdx
cmpq 0x10(%rcx), %rdx
jae 0x3ffe
movq %rdx, 0x8(%rcx)
jmp 0x400f
orl %r15d, %ebp
jne 0x447e
movq 0x18(%rbx), %rdi
xorl %r14d, %r14d
xorl %esi, %esi
xorl %edx, %edx
callq 0x37ca
movq 0x10(%rbx), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x37ca
movl (%rbx), %edi
movq %rax, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x4822
movq %rax, %r15
movq 0x8(%rbx), %rax
movl 0x8(%rax), %edi
callq 0x16220
movq %rax, 0x8(%r15)
movq 0x8(%rbx), %rax
movswl 0x4(%rax), %edi
callq 0x16220
movq %rax, 0x10(%r15)
movq %r15, %rdi
callq 0x4726
jmp 0x393c
movq 0x8(%rbx), %rdi
cmpl $0xf, (%rdi)
jb 0x3d0e
movq 0x10(%rdi), %rdi
movq 0x18(%rdi), %rax
testq %rax, %rax
je 0x449d
testb $0x10, 0x1b(%rax)
jne 0x4091
movl %ebp, %eax
orl %r15d, %eax
je 0x417d
leaq 0x2e261(%rip), %rax     # 0x31f98
cmpq (%rax), %rdi
jne 0x4595
testl %r15d, %r15d
je 0x416b
cmpl $0x0, 0x28(%rbx)
je 0x416b
movl %r15d, %edi
jmp 0x41d0
orl %r15d, %ebp
je 0x3849
leaq 0x1841b(%rip), %rdi     # 0x1c186
leaq 0x183e6(%rip), %rsi     # 0x1c158
leaq 0x18424(%rip), %rcx     # 0x1c19d
movl $0x1de, %edx            # imm = 0x1DE
callq 0x30d0
orl %r15d, %ebp
jne 0x44db
movq 0x10(%rbx), %rdi
cmpl $0x2b0, (%rdi)          # imm = 0x2B0
jne 0x40a1
movq 0x10(%rdi), %r15
movl (%r15), %eax
andl $-0x10, %eax
cmpl $0x40, %eax
jne 0x4576
movq 0x28(%rdi), %r13
xorl %edi, %edi
callq 0x463a
movq %r15, %rdi
callq 0xa87d
movq %rax, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x37ca
movq %rax, %r14
movswl 0x16(%r13), %ecx
movswl 0x14(%r13), %eax
subl %eax, %ecx
movq 0x8(%r13), %rdx
movl 0x8(%rdx), %edx
shll $0x3, %edx
cmpl %edx, %ecx
jge 0x40ad
pushq $-0x1
popq %rdx
shll %cl, %edx
movl %edx, %ebp
notl %ebp
movl %eax, %ecx
shll %cl, %ebp
movq 0x18(%rbx), %r12
movl (%r12), %eax
cmpl $0x16, %eax
je 0x3e0e
cmpl $0x15, %eax
jne 0x3e26
movl 0x28(%r12), %eax
testl %eax, %eax
je 0x41b4
orl %edx, %eax
cmpl $-0x1, %eax
je 0x41da
movl %ebp, %edi
notl %edi
leaq 0x2e1a7(%rip), %rax     # 0x31fd8
movq (%rax), %rsi
callq 0x8726
movl $0x180, %edi            # imm = 0x180
movq %r15, %rsi
movq %rax, %rdx
callq 0x7a60
movq %rax, (%rsp)
leaq 0x2e184(%rip), %r15     # 0x31fd8
movq (%r15), %rsi
movq %r12, %rdi
callq 0x9912
movq %rax, %r12
movswl 0x14(%r13), %edi
leaq 0x2e12a(%rip), %rax     # 0x31f98
movq (%rax), %rsi
callq 0x8726
movl $0x150, %edi            # imm = 0x150
movq %r12, %rsi
movq %rax, %rdx
callq 0x82d7
movq %rax, %r12
movq (%r15), %rsi
movl %ebp, %edi
callq 0x8726
movl $0x180, %edi            # imm = 0x180
movq %r12, %rsi
movq %rax, %rdx
callq 0x7a60
movl $0x1a0, %edi            # imm = 0x1A0
movq (%rsp), %rsi
jmp 0x41f3
orl %r15d, %ebp
jne 0x44fa
movq 0x10(%rbx), %r14
movq 0x28(%rbx), %rax
movq 0x8(%rax), %rcx
movl 0x8(%rcx), %edi
shll $0x3, %edi
movswl 0x16(%rax), %eax
subl %eax, %edi
leaq 0x2e0bf(%rip), %r15     # 0x31f98
movq (%r15), %rsi
callq 0x8726
movl $0x150, %edi            # imm = 0x150
movq %r14, %rsi
movq %rax, %rdx
callq 0x82d7
movq %rax, %r14
movq 0x8(%rbx), %rax
movq 0x28(%rbx), %rcx
movl 0x8(%rax), %eax
shll $0x3, %eax
movswl 0x16(%rcx), %edx
subl %edx, %eax
movswl 0x14(%rcx), %edi
addl %eax, %edi
movq (%r15), %rsi
callq 0x8726
movl $0x170, %edi            # imm = 0x170
movq %r14, %rsi
movq %rax, %rdx
callq 0x82d7
jmp 0x3f61
movl %r14d, %edi
callq 0x45b4
incl %r14d
movl %r14d, %ebp
movl %ebp, %edi
callq 0x45b4
movq %rax, %r14
xorl %edi, %edi
callq 0x463a
movq 0x28(%rbx), %rdi
testq %rdi, %rdi
je 0x3938
callq 0x93b4
movq 0x28(%rbx), %rcx
andl $0x0, 0x1c(%rcx)
movq %rax, %rdi
jmp 0x4283
orl $0x1f0, %r14d           # imm = 0x1F0
andl $0x1ff, %r14d           # imm = 0x1FF
jmp 0x38eb
andl $0xf, %r14d
orl $0x210, %r14d           # imm = 0x210
jmp 0x38eb
andl $0xf, %r14d
orl $0x200, %r14d           # imm = 0x200
jmp 0x38eb
andl $0xf, %r14d
orl $0x220, %r14d           # imm = 0x220
jmp 0x38eb
andl $0xf, %r14d
orl $0x1e0, %r14d           # imm = 0x1E0
jmp 0x38eb
movq %r14, %rax
cmpl $0x7, %ecx
jne 0x3fc8
movq 0x10(%rax), %r14
orl %r15d, %ebp
jne 0x44bc
xorl %esi, %esi
xorl %edx, %edx
callq 0x37ca
movl (%r14), %ecx
cmpl $0x10, %ecx
je 0x3feb
cmpl $0x1f, %ecx
jne 0x4126
movl (%rbx), %edi
movq %rax, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x4822
jmp 0x3875
leaq 0x25773(%rip), %rsi     # 0x29778
movl $0x88, %edi
callq 0x16438
movq %rax, 0x8(%r14)
xorl %ecx, %ecx
xorps %xmm0, %xmm0
cmpq $0x7f, %rcx
ja 0x402f
leaq (%rax,%rcx), %rdx
addq $0x20, %rcx
movups %xmm0, 0x10(%rdx)
movups %xmm0, (%rdx)
jmp 0x4018
andq $0x0, (%rax,%rcx)
movq 0x10(%rbx), %rcx
movq 0x8(%rcx), %rcx
movl (%rcx), %edx
cmpl $0xf, %edx
jb 0x4049
movq 0x10(%rcx), %rdx
movl (%rdx), %edx
cmpl $0x7, %edx
jne 0x43c4
movq 0x10(%rcx), %rcx
movl (%rcx), %edx
cmpl $0xf, %edx
jb 0x4063
movq 0x10(%rcx), %rdx
movl (%rdx), %edx
cmpl $0xb, %edx
jne 0x43c4
movq %rcx, 0x20(%rax)
xorl %edi, %edi
callq 0x463a
movq %r14, %rdi
callq 0x4726
leaq 0x257f2(%rip), %rax     # 0x29878
movq (%rax), %rax
incl 0x7c(%rax)
jmp 0x3938
movq %rbx, %rdi
callq 0x1656a
movq %rax, %rdi
jmp 0x4161
xorl %esi, %esi
xorl %edx, %edx
callq 0x37ca
movq %rax, %r14
movq 0x18(%rbx), %rdi
jmp 0x41fe
pushq $0x1
popq %rdi
callq 0x1616e
movl %eax, %r15d
movq %r14, %rdi
movl %eax, %esi
xorl %edx, %edx
callq 0x37ca
movq 0x18(%rbx), %rdi
xorl %esi, %esi
movl %ebp, %edx
callq 0x37ca
movl %r15d, %edi
jmp 0x4105
pushq $0x1
popq %rdi
callq 0x1616e
movl %eax, %ebp
movq %r14, %rdi
xorl %esi, %esi
movl %eax, %edx
callq 0x37ca
movq 0x18(%rbx), %rdi
movl %r15d, %esi
xorl %edx, %edx
callq 0x37ca
movl %ebp, %edi
callq 0x45b4
movq %rax, %r14
xorl %edi, %edi
callq 0x463a
jmp 0x393c
cmpq $0x0, 0x18(%rbx)
je 0x4161
leaq 0x18(%rbx), %r14
jmp 0x4153
cmpl $0xf, %ecx
jb 0x4195
movq 0x10(%r14), %r14
movl (%r14), %ecx
addl $-0x9, %ecx
cmpl $0x2, %ecx
jae 0x3837
jmp 0x41a1
testq %rax, %rax
je 0x4161
leaq 0x18(%rbx), %r14
cmpl $0x10, %ecx
jne 0x4155
andq $0x0, 0x10(%rbx)
xorl %edi, %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0x37ca
movq (%r14), %rdi
movl %r15d, %esi
movl %ebp, %edx
jmp 0x4287
testl %ebp, %ebp
je 0x4175
cmpl $0x0, 0x28(%rbx)
je 0x41ce
xorl %r14d, %r14d
jmp 0x3938
movq 0x28(%rbx), %rsi
callq 0x15a24
movl %r14d, %edi
xorl %esi, %esi
xorl %edx, %edx
movq %rax, %rcx
jmp 0x3870
addl $-0x9, %ecx
cmpl $0x1, %ecx
ja 0x3837
movq 0x18(%r14), %rcx
testb $0x2, 0x48(%rcx)
je 0x3837
jmp 0x3feb
notl %ebp
leaq 0x2de1b(%rip), %rax     # 0x31fd8
movq (%rax), %rsi
movl %ebp, %edi
callq 0x8726
movl $0x180, %edi            # imm = 0x180
jmp 0x41f0
movl %ebp, %edi
callq 0x475f
jmp 0x3b85
leaq 0x2ddf7(%rip), %rax     # 0x31fd8
movq (%rax), %rsi
movl %ebp, %edi
callq 0x8726
movl $0x1a0, %edi            # imm = 0x1A0
movq %r15, %rsi
movq %rax, %rdx
callq 0x7a60
movq %rax, %rdi
xorl %r12d, %r12d
xorl %esi, %esi
xorl %edx, %edx
callq 0x37ca
movq %rax, %r15
movq 0x10(%rbx), %rax
movl $0xfffffef9, %ecx       # imm = 0xFFFFFEF9
addl (%rax), %ecx
cmpl $0x20, %ecx
ja 0x423c
movabsq $0x100010001, %rdx      # imm = 0x100010001
btq %rcx, %rdx
jae 0x423c
movq 0x28(%rax), %rax
xorl %r12d, %r12d
testb $0x8, 0x1b(%rax)
cmoveq %r14, %r12
movq %r12, %rdi
callq 0x463a
movl (%rbx), %edi
movq %r14, %rsi
movq %r15, %rdx
xorl %ecx, %ecx
callq 0x4822
movq %rax, %r14
movq 0x8(%rbx), %rax
movl 0x8(%rax), %edi
callq 0x16220
movq %rax, 0x8(%r14)
movq 0x8(%rbx), %rax
movswl 0x4(%rax), %edi
callq 0x16220
movq %rax, 0x10(%r14)
movq %r14, %rdi
callq 0x4726
movq 0x18(%rbx), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x37ca
jmp 0x3875
xorl %esi, %esi
xorl %edx, %edx
callq 0x37ca
movq %rax, %r14
movq 0x2553c(%rip), %r12     # 0x297e0
testq %r12, %r12
je 0x42c7
movq %r12, %r13
movq 0x30(%r13), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x47e8
testl %eax, %eax
jne 0x42d1
movq %r15, %r13
cmpq %r12, %r15
jne 0x42ac
movq %r14, %rdi
callq 0x4726
jmp 0x42d9
movq %r15, 0x30(%r14)
movq %r14, 0x30(%r13)
movq 0x18(%rbx), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x37ca
jmp 0x3938
leaq 0x17ea9(%rip), %rdi     # 0x1c19b
leaq 0x17e5f(%rip), %rsi     # 0x1c158
leaq 0x17e9d(%rip), %rcx     # 0x1c19d
movl $0x224, %edx            # imm = 0x224
callq 0x30d0
leaq 0x17e75(%rip), %rdi     # 0x1c186
leaq 0x17e40(%rip), %rsi     # 0x1c158
leaq 0x17e7e(%rip), %rcx     # 0x1c19d
movl $0x1fc, %edx            # imm = 0x1FC
callq 0x30d0
leaq 0x17e56(%rip), %rdi     # 0x1c186
leaq 0x17e21(%rip), %rsi     # 0x1c158
leaq 0x17e5f(%rip), %rcx     # 0x1c19d
movl $0x1ea, %edx            # imm = 0x1EA
callq 0x30d0
leaq 0x17e95(%rip), %rdi     # 0x1c1e4
leaq 0x17e02(%rip), %rsi     # 0x1c158
leaq 0x17e40(%rip), %rcx     # 0x1c19d
movl $0x196, %edx            # imm = 0x196
callq 0x30d0
leaq 0x17ecd(%rip), %rdi     # 0x1c23b
leaq 0x17de3(%rip), %rsi     # 0x1c158
leaq 0x17e21(%rip), %rcx     # 0x1c19d
movl $0x197, %edx            # imm = 0x197
callq 0x30d0
leaq 0x17ec5(%rip), %rdi     # 0x1c252
leaq 0x17dc4(%rip), %rsi     # 0x1c158
leaq 0x17e02(%rip), %rcx     # 0x1c19d
movl $0x199, %edx            # imm = 0x199
callq 0x30d0
leaq 0x17dda(%rip), %rdi     # 0x1c186
leaq 0x17da5(%rip), %rsi     # 0x1c158
leaq 0x17de3(%rip), %rcx     # 0x1c19d
movl $0x21f, %edx            # imm = 0x21F
callq 0x30d0
leaq 0x17e34(%rip), %rdi     # 0x1c1ff
leaq 0x17d86(%rip), %rsi     # 0x1c158
leaq 0x17dc4(%rip), %rcx     # 0x1c19d
movl $0x180, %edx            # imm = 0x180
callq 0x30d0
leaq 0x17d9c(%rip), %rdi     # 0x1c186
leaq 0x17d67(%rip), %rsi     # 0x1c158
leaq 0x17da5(%rip), %rcx     # 0x1c19d
movl $0x120, %edx            # imm = 0x120
callq 0x30d0
leaq 0x17d7d(%rip), %rdi     # 0x1c186
leaq 0x17d48(%rip), %rsi     # 0x1c158
leaq 0x17d86(%rip), %rcx     # 0x1c19d
movl $0x171, %edx            # imm = 0x171
callq 0x30d0
leaq 0x17d5e(%rip), %rdi     # 0x1c186
leaq 0x17d29(%rip), %rsi     # 0x1c158
leaq 0x17d67(%rip), %rcx     # 0x1c19d
movl $0x1f5, %edx            # imm = 0x1F5
callq 0x30d0
leaq 0x17d3f(%rip), %rdi     # 0x1c186
leaq 0x17d0a(%rip), %rsi     # 0x1c158
leaq 0x17d48(%rip), %rcx     # 0x1c19d
movl $0x217, %edx            # imm = 0x217
callq 0x30d0
leaq 0x17d20(%rip), %rdi     # 0x1c186
leaq 0x17ceb(%rip), %rsi     # 0x1c158
leaq 0x17d29(%rip), %rcx     # 0x1c19d
movl $0x17a, %edx            # imm = 0x17A
callq 0x30d0
leaq 0x17d01(%rip), %rdi     # 0x1c186
leaq 0x17ccc(%rip), %rsi     # 0x1c158
leaq 0x17d0a(%rip), %rcx     # 0x1c19d
movl $0x187, %edx            # imm = 0x187
callq 0x30d0
leaq 0x17d18(%rip), %rdi     # 0x1c1bc
leaq 0x17cad(%rip), %rsi     # 0x1c158
leaq 0x17ceb(%rip), %rcx     # 0x1c19d
movl $0x145, %edx            # imm = 0x145
callq 0x30d0
leaq 0x17cc3(%rip), %rdi     # 0x1c186
leaq 0x17c8e(%rip), %rsi     # 0x1c158
leaq 0x17ccc(%rip), %rcx     # 0x1c19d
movl $0x204, %edx            # imm = 0x204
callq 0x30d0
leaq 0x17ca4(%rip), %rdi     # 0x1c186
leaq 0x17c6f(%rip), %rsi     # 0x1c158
leaq 0x17cad(%rip), %rcx     # 0x1c19d
movl $0x1ac, %edx            # imm = 0x1AC
callq 0x30d0
leaq 0x17c85(%rip), %rdi     # 0x1c186
leaq 0x17c50(%rip), %rsi     # 0x1c158
leaq 0x17c8e(%rip), %rcx     # 0x1c19d
movl $0x20e, %edx            # imm = 0x20E
callq 0x30d0
leaq 0x17cc4(%rip), %rdi     # 0x1c1e4
leaq 0x17c31(%rip), %rsi     # 0x1c158
leaq 0x17c6f(%rip), %rcx     # 0x1c19d
movl $0x172, %edx            # imm = 0x172
callq 0x30d0
leaq 0x17cb4(%rip), %rdi     # 0x1c1f3
leaq 0x17c12(%rip), %rsi     # 0x1c158
leaq 0x17c50(%rip), %rcx     # 0x1c19d
movl $0x173, %edx            # imm = 0x173
callq 0x30d0
leaq 0x1a9a6(%rip), %rdi     # 0x1ef04
leaq 0x17bf3(%rip), %rsi     # 0x1c158
leaq 0x17c31(%rip), %rcx     # 0x1c19d
movl $0x128, %edx            # imm = 0x128
callq 0x30d0
leaq 0x17cdf(%rip), %rdi     # 0x1c25c
leaq 0x17bd4(%rip), %rsi     # 0x1c158
leaq 0x17c12(%rip), %rcx     # 0x1c19d
movl $0x1b0, %edx            # imm = 0x1B0
callq 0x30d0
leaq 0x17c3a(%rip), %rdi     # 0x1c1d6
leaq 0x17bb5(%rip), %rsi     # 0x1c158
leaq 0x17bf3(%rip), %rcx     # 0x1c19d
movl $0x14b, %edx            # imm = 0x14B
callq 0x30d0