// File: lhydave[P]SysYCompilerLab/back/eeyore_AST.cpp
// Function: eeyore_AST::parseline()
static bool parseline()
{
	string line;
	getline(eeyore_f, line);
	std::istringstream line_f(line);
	if (eeyore_f.peek() == EOF)
		return false;
	if (line.empty())
		return true;
	switch (line[0])
	{
	// function definition
	case 'f':
	{
		int param_n;
		char temp;
		line_f >> now_func >> temp >> param_n;
		reg_func(now_func, param_n);
		break;
	}
	// function end
	case 'e':
		simple_label();
		now_func = "";
		break;
	// variable
	case 'v':
	{
		string temp, var;
		int size = -1;
		line_f >> temp;
		line_f.get();
		if (isdigit(line_f.peek()))
			line_f >> size >> var;
		else
			line_f >> var;
		reg_var(var, size);
		break;
	}
	// label
	case 'l':
	{
		int label;
		char ch;
		line_f >> ch >> label;
		dbg_printf("label %d\n", label);
		labels.push_back(label);
		break;
	}
	// an inner statement
	case '\t':
	{
		line_f.get();
		line = line.substr(1, line.length() - 1);
		shared_ptr<stmt_node> stmt;
		switch (line[0])
		{
		// goto statement
		case 'g':
		{
			string temp1;
			char temp2;
			int label;
			line_f >> temp1 >> temp2 >> label;
			stmt = make_shared<goto_node>(label);
			dbg_printf("goto: %d\n", label);
			gotos.push_back(std::static_pointer_cast<goto_node>(stmt));
			break;
		}
		// variable
		case 'v':
		{
			string temp, name;
			int size = -1;
			line_f >> temp;
			line_f.get();
			if (isdigit(line_f.peek()))
				line_f >> size >> name;
			else
				line_f >> name;
			reg_var(name, size);
			break;
		}
		// parameter or assignment
		case 'p':
		{
			// parameter
			if (line[1] == 'a')
			{
				string temp, param;
				line_f >> temp >> param;
				params.push(parse_var_num(param));
				break;
			}
			// assignment
			string lval, rval;
			char eq;
			line_f >> lval >> eq;
			line_f.get();
			getline(line_f, rval);
			auto lval_pt = parseop(lval);
			auto rval_pt = parseop(rval);
			stmt = make_shared<assign_node>(lval_pt, rval_pt);
			break;
		}
		// return
		case 'r':
		{
			string temp, ret_val;
			line_f >> temp;
			if (line_f.peek() == EOF)
				stmt = make_shared<ret_node>();
			else
			{
				line_f >> ret_val;
				stmt = make_shared<ret_node>(parse_var_num(ret_val));
			}
			break;
		}
		// function call
		case 'c':
			stmt = parseop(line);
			stmt->stmt_type = STMT_CALL;
			break;
		// conditional jump
		case 'i':
		{
			string cond, temp;
			int label;
			char tempc;
			line_f >> temp >> cond;
			line_f >> temp;
			cond += " " + temp;
			line_f >> temp;
			cond += " " + temp;
			dbg_printf("cond on %s ", cond.c_str());
			line_f >> temp >> tempc >> label;
			auto cond_pt = parseop(cond);
			dbg_printf("if goto: %d\n", label);
			stmt = make_shared<goto_node>(label, cond_pt);
			gotos.push_back(std::static_pointer_cast<goto_node>(stmt));
			break;
		}
		// assignment
		case 't':
		case 'T':
		{
			string lval, rval;
			char eq;
			line_f >> lval >> eq;
			line_f.get();
			getline(line_f, rval);
			auto lval_pt = parseop(lval);
			auto rval_pt = parseop(rval);
			stmt = make_shared<assign_node>(lval_pt, rval_pt);
			break;
		}
		default: break;
		} // switch
		if (stmt) // push the statement
		{
			func_table[now_func].funcbody.push_back(stmt);
			if (!labels.empty()) // assign the labels
			{
				stmt->label = *std::min_element(
					labels.begin(), labels.end(), std::greater<int>());
				dbg_printf("now stmt label: %d\n", stmt->label);
				for (auto i : labels)
					label2stmt[i] = stmt;
				labels.clear();
			}
		}
	} // case '\t'
	default: break;
	} // switch
	return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x700, %rsp            # imm = 0x700
leaq -0x28(%rbp), %rdi
movq %rdi, -0x598(%rbp)
callq 0x54c0
movq -0x598(%rbp), %rsi
leaq 0x5058f(%rip), %rdi     # 0x728d8
callq 0x50b0
jmp 0x22350
leaq -0x1b8(%rbp), %rdi
leaq -0x28(%rbp), %rsi
movl $0x8, %edx
callq 0x55c0
jmp 0x22367
leaq 0x5056a(%rip), %rdi     # 0x728d8
callq 0x5130
movl %eax, -0x59c(%rbp)
jmp 0x2237b
movl -0x59c(%rbp), %eax
cmpl $-0x1, %eax
jne 0x223bb
movb $0x0, -0x1(%rbp)
movl $0x1, -0x1bc(%rbp)
jmp 0x2335d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x2338c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x23380
leaq -0x28(%rbp), %rdi
callq 0x55b0
testb $0x1, %al
jne 0x223ca
jmp 0x223dd
movb $0x1, -0x1(%rbp)
movl $0x1, -0x1bc(%rbp)
jmp 0x2335d
xorl %eax, %eax
movl %eax, %esi
leaq -0x28(%rbp), %rdi
callq 0x56a0
movq %rax, -0x5a8(%rbp)
jmp 0x223f3
movq -0x5a8(%rbp), %rax
movsbl (%rax), %eax
movl %eax, -0x5ac(%rbp)
subl $0x9, %eax
je 0x22641
jmp 0x2240e
movl -0x5ac(%rbp), %eax
subl $0x65, %eax
je 0x224b7
jmp 0x2241f
movl -0x5ac(%rbp), %eax
subl $0x66, %eax
je 0x22451
jmp 0x2242c
movl -0x5ac(%rbp), %eax
subl $0x6c, %eax
je 0x225f6
jmp 0x2243d
movl -0x5ac(%rbp), %eax
subl $0x76, %eax
je 0x224d8
jmp 0x2333f
leaq 0x50460(%rip), %rsi     # 0x728b8
leaq -0x1b8(%rbp), %rdi
callq 0x5430
movq %rax, -0x5b8(%rbp)
jmp 0x2246d
movq -0x5b8(%rbp), %rdi
leaq -0x1c1(%rbp), %rsi
callq 0x5470
movq %rax, -0x5c0(%rbp)
jmp 0x22489
movq -0x5c0(%rbp), %rdi
leaq -0x1c0(%rbp), %rsi
callq 0x51f0
jmp 0x2249e
movl -0x1c0(%rbp), %esi
leaq 0x5040d(%rip), %rdi     # 0x728b8
callq 0x233a0
jmp 0x224b2
jmp 0x2334f
callq 0x23440
jmp 0x224be
leaq 0x503f3(%rip), %rdi     # 0x728b8
leaq 0x2c794(%rip), %rsi     # 0x4ec60
callq 0x54b0
jmp 0x224d3
jmp 0x2334f
leaq -0x1e8(%rbp), %rdi
movq %rdi, -0x5c8(%rbp)
callq 0x54c0
leaq -0x208(%rbp), %rdi
callq 0x54c0
movq -0x5c8(%rbp), %rsi
movl $0xffffffff, -0x20c(%rbp) # imm = 0xFFFFFFFF
leaq -0x1b8(%rbp), %rdi
callq 0x5430
jmp 0x22516
leaq -0x1b8(%rbp), %rdi
callq 0x53f0
jmp 0x22524
leaq -0x1b8(%rbp), %rdi
callq 0x5130
movl %eax, -0x5cc(%rbp)
jmp 0x22538
movl -0x5cc(%rbp), %edi
callq 0x52c0
cmpl $0x0, %eax
je 0x225a4
leaq -0x1b8(%rbp), %rdi
leaq -0x20c(%rbp), %rsi
callq 0x51f0
movq %rax, -0x5d8(%rbp)
jmp 0x22564
movq -0x5d8(%rbp), %rdi
leaq -0x208(%rbp), %rsi
callq 0x5430
jmp 0x22579
jmp 0x225bb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x208(%rbp), %rdi
callq 0x56c0
leaq -0x1e8(%rbp), %rdi
callq 0x56c0
jmp 0x23380
leaq -0x1b8(%rbp), %rdi
leaq -0x208(%rbp), %rsi
callq 0x5430
jmp 0x225b9
jmp 0x225bb
movl -0x20c(%rbp), %esi
leaq -0x208(%rbp), %rdi
callq 0x23540
jmp 0x225cf
movl $0x2, -0x1bc(%rbp)
leaq -0x208(%rbp), %rdi
callq 0x56c0
leaq -0x1e8(%rbp), %rdi
callq 0x56c0
jmp 0x2334f
leaq -0x1b8(%rbp), %rdi
leaq -0x211(%rbp), %rsi
callq 0x5470
movq %rax, -0x5e0(%rbp)
jmp 0x22612
movq -0x5e0(%rbp), %rdi
leaq -0x210(%rbp), %rsi
callq 0x51f0
jmp 0x22627
leaq 0x50222(%rip), %rdi     # 0x72850
leaq -0x210(%rbp), %rsi
callq 0x12fc0
jmp 0x2263c
jmp 0x2334f
leaq -0x1b8(%rbp), %rdi
callq 0x53f0
jmp 0x2264f
leaq -0x28(%rbp), %rdi
movq %rdi, -0x5e8(%rbp)
callq 0x5510
movq -0x5e8(%rbp), %rsi
movq %rax, %rcx
decq %rcx
leaq -0x238(%rbp), %rdi
movl $0x1, %edx
callq 0x5340
jmp 0x2267f
leaq -0x28(%rbp), %rdi
movq %rdi, -0x5f8(%rbp)
leaq -0x238(%rbp), %rsi
movq %rsi, -0x600(%rbp)
callq 0x5410
movq -0x600(%rbp), %rdi
callq 0x56c0
leaq -0x248(%rbp), %rdi
callq 0x269c0
movq -0x5f8(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x56a0
movq %rax, -0x5f0(%rbp)
jmp 0x226ce
movq -0x5f0(%rbp), %rax
movsbl (%rax), %eax
addl $-0x54, %eax
movl %eax, %ecx
movq %rcx, -0x608(%rbp)
subl $0x22, %eax
ja 0x231a7
movq -0x608(%rbp), %rax
leaq 0x2bc1d(%rip), %rcx     # 0x4e318
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x23341
leaq -0x268(%rbp), %rdi
movq %rdi, -0x618(%rbp)
callq 0x54c0
movq -0x618(%rbp), %rsi
leaq -0x1b8(%rbp), %rdi
callq 0x5430
movq %rax, -0x610(%rbp)
jmp 0x22744
movq -0x610(%rbp), %rdi
leaq -0x269(%rbp), %rsi
callq 0x5470
movq %rax, -0x620(%rbp)
jmp 0x22760
movq -0x620(%rbp), %rdi
leaq -0x270(%rbp), %rsi
callq 0x51f0
jmp 0x22775
leaq -0x280(%rbp), %rdi
leaq -0x270(%rbp), %rsi
callq 0x269e0
jmp 0x2278a
leaq -0x248(%rbp), %rdi
movq %rdi, -0x630(%rbp)
leaq -0x280(%rbp), %rsi
movq %rsi, -0x638(%rbp)
callq 0x26a50
movq -0x638(%rbp), %rdi
callq 0x26a80
movq -0x630(%rbp), %rsi
leaq -0x290(%rbp), %rdi
movq %rdi, -0x628(%rbp)
callq 0x26ad0
movq -0x628(%rbp), %rsi
leaq 0x50059(%rip), %rdi     # 0x72838
callq 0x26aa0
jmp 0x227e6
leaq -0x290(%rbp), %rdi
callq 0x26a80
movl $0x3, -0x1bc(%rbp)
leaq -0x268(%rbp), %rdi
callq 0x56c0
jmp 0x231a9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x22833
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x290(%rbp), %rdi
callq 0x26a80
leaq -0x268(%rbp), %rdi
callq 0x56c0
jmp 0x23341
leaq -0x2b0(%rbp), %rdi
movq %rdi, -0x640(%rbp)
callq 0x54c0
leaq -0x2d0(%rbp), %rdi
callq 0x54c0
movq -0x640(%rbp), %rsi
movl $0xffffffff, -0x2d4(%rbp) # imm = 0xFFFFFFFF
leaq -0x1b8(%rbp), %rdi
callq 0x5430
jmp 0x22882
leaq -0x1b8(%rbp), %rdi
callq 0x53f0
jmp 0x22890
leaq -0x1b8(%rbp), %rdi
callq 0x5130
movl %eax, -0x644(%rbp)
jmp 0x228a4
movl -0x644(%rbp), %edi
callq 0x52c0
cmpl $0x0, %eax
je 0x22910
leaq -0x1b8(%rbp), %rdi
leaq -0x2d4(%rbp), %rsi
callq 0x51f0
movq %rax, -0x650(%rbp)
jmp 0x228d0
movq -0x650(%rbp), %rdi
leaq -0x2d0(%rbp), %rsi
callq 0x5430
jmp 0x228e5
jmp 0x22927
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x2d0(%rbp), %rdi
callq 0x56c0
leaq -0x2b0(%rbp), %rdi
callq 0x56c0
jmp 0x23341
leaq -0x1b8(%rbp), %rdi
leaq -0x2d0(%rbp), %rsi
callq 0x5430
jmp 0x22925
jmp 0x22927
movl -0x2d4(%rbp), %esi
leaq -0x2d0(%rbp), %rdi
callq 0x23540
jmp 0x2293b
movl $0x3, -0x1bc(%rbp)
leaq -0x2d0(%rbp), %rdi
callq 0x56c0
leaq -0x2b0(%rbp), %rdi
callq 0x56c0
jmp 0x231a9
leaq -0x28(%rbp), %rdi
movl $0x1, %esi
callq 0x56a0
movq %rax, -0x658(%rbp)
jmp 0x22979
movq -0x658(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x61, %eax
jne 0x22a7c
leaq -0x2f8(%rbp), %rdi
movq %rdi, -0x668(%rbp)
callq 0x54c0
leaq -0x318(%rbp), %rdi
callq 0x54c0
movq -0x668(%rbp), %rsi
leaq -0x1b8(%rbp), %rdi
callq 0x5430
movq %rax, -0x660(%rbp)
jmp 0x229c7
movq -0x660(%rbp), %rdi
leaq -0x318(%rbp), %rsi
callq 0x5430
jmp 0x229dc
leaq -0x328(%rbp), %rdi
leaq -0x318(%rbp), %rsi
callq 0x23670
jmp 0x229f1
leaq 0x4fe70(%rip), %rdi     # 0x72868
leaq -0x328(%rbp), %rsi
callq 0x26b20
jmp 0x22a06
leaq -0x328(%rbp), %rdi
callq 0x25790
movl $0x3, -0x1bc(%rbp)
leaq -0x318(%rbp), %rdi
callq 0x56c0
leaq -0x2f8(%rbp), %rdi
callq 0x56c0
jmp 0x231a9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x22a5f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x328(%rbp), %rdi
callq 0x25790
leaq -0x318(%rbp), %rdi
callq 0x56c0
leaq -0x2f8(%rbp), %rdi
callq 0x56c0
jmp 0x23341
leaq -0x348(%rbp), %rdi
movq %rdi, -0x678(%rbp)
callq 0x54c0
leaq -0x368(%rbp), %rdi
callq 0x54c0
movq -0x678(%rbp), %rsi
leaq -0x1b8(%rbp), %rdi
callq 0x5430
movq %rax, -0x670(%rbp)
jmp 0x22ab7
movq -0x670(%rbp), %rdi
leaq -0x369(%rbp), %rsi
callq 0x5470
jmp 0x22acc
leaq -0x1b8(%rbp), %rdi
callq 0x53f0
jmp 0x22ada
leaq -0x1b8(%rbp), %rdi
leaq -0x368(%rbp), %rsi
callq 0x50b0
jmp 0x22aef
leaq -0x380(%rbp), %rdi
leaq -0x348(%rbp), %rsi
callq 0x237a0
jmp 0x22b04
leaq -0x390(%rbp), %rdi
leaq -0x368(%rbp), %rsi
callq 0x237a0
jmp 0x22b19
leaq -0x3a0(%rbp), %rdi
leaq -0x380(%rbp), %rsi
leaq -0x390(%rbp), %rdx
callq 0x26b50
jmp 0x22b35
leaq -0x248(%rbp), %rdi
leaq -0x3a0(%rbp), %rsi
callq 0x26bd0
leaq -0x3a0(%rbp), %rdi
callq 0x26c00
movl $0x3, -0x1bc(%rbp)
leaq -0x390(%rbp), %rdi
callq 0x25790
leaq -0x380(%rbp), %rdi
callq 0x25790
leaq -0x368(%rbp), %rdi
callq 0x56c0
leaq -0x348(%rbp), %rdi
callq 0x56c0
jmp 0x231a9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x22bd3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x22bc7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x390(%rbp), %rdi
callq 0x25790
leaq -0x380(%rbp), %rdi
callq 0x25790
leaq -0x368(%rbp), %rdi
callq 0x56c0
leaq -0x348(%rbp), %rdi
callq 0x56c0
jmp 0x23341
leaq -0x3c0(%rbp), %rdi
movq %rdi, -0x680(%rbp)
callq 0x54c0
leaq -0x3e0(%rbp), %rdi
callq 0x54c0
movq -0x680(%rbp), %rsi
leaq -0x1b8(%rbp), %rdi
callq 0x5430
jmp 0x22c24
leaq -0x1b8(%rbp), %rdi
callq 0x5130
movl %eax, -0x684(%rbp)
jmp 0x22c38
movl -0x684(%rbp), %eax
cmpl $-0x1, %eax
jne 0x22c86
leaq -0x3f0(%rbp), %rdi
callq 0x26c20
jmp 0x22c51
leaq -0x248(%rbp), %rdi
leaq -0x3f0(%rbp), %rsi
callq 0x26c90
leaq -0x3f0(%rbp), %rdi
callq 0x26cc0
jmp 0x22d0c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x22d33
leaq -0x1b8(%rbp), %rdi
leaq -0x3e0(%rbp), %rsi
callq 0x5430
jmp 0x22c9b
leaq -0x410(%rbp), %rdi
leaq -0x3e0(%rbp), %rsi
callq 0x23670
jmp 0x22cb0
leaq -0x400(%rbp), %rdi
leaq -0x410(%rbp), %rsi
callq 0x26ce0
jmp 0x22cc5
leaq -0x248(%rbp), %rdi
leaq -0x400(%rbp), %rsi
callq 0x26c90
leaq -0x400(%rbp), %rdi
callq 0x26cc0
leaq -0x410(%rbp), %rdi
callq 0x25790
jmp 0x22d0c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x410(%rbp), %rdi
callq 0x25790
jmp 0x22d33
movl $0x3, -0x1bc(%rbp)
leaq -0x3e0(%rbp), %rdi
callq 0x56c0
leaq -0x3c0(%rbp), %rdi
callq 0x56c0
jmp 0x231a9
leaq -0x3e0(%rbp), %rdi
callq 0x56c0
leaq -0x3c0(%rbp), %rdi
callq 0x56c0
jmp 0x23341
leaq -0x420(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x237a0
jmp 0x22d62
leaq -0x248(%rbp), %rdi
leaq -0x420(%rbp), %rsi
callq 0x26d50
leaq -0x420(%rbp), %rdi
callq 0x25790
leaq -0x248(%rbp), %rdi
callq 0x26d80
movl $0x3, (%rax)
jmp 0x231a9
leaq -0x440(%rbp), %rdi
callq 0x54c0
leaq -0x460(%rbp), %rdi
movq %rdi, -0x698(%rbp)
callq 0x54c0
movq -0x698(%rbp), %rsi
leaq -0x1b8(%rbp), %rdi
callq 0x5430
movq %rax, -0x690(%rbp)
jmp 0x22dd3
movq -0x690(%rbp), %rdi
leaq -0x440(%rbp), %rsi
callq 0x5430
jmp 0x22de8
leaq -0x1b8(%rbp), %rdi
leaq -0x460(%rbp), %rsi
callq 0x5430
jmp 0x22dfd
leaq 0x2afc6(%rip), %rsi     # 0x4ddca
leaq -0x488(%rbp), %rdi
leaq -0x460(%rbp), %rdx
callq 0x12d60
jmp 0x22e19
leaq -0x440(%rbp), %rdi
leaq -0x488(%rbp), %rsi
callq 0x5440
jmp 0x22e2e
leaq -0x488(%rbp), %rdi
callq 0x56c0
leaq -0x1b8(%rbp), %rdi
leaq -0x460(%rbp), %rsi
callq 0x5430
jmp 0x22e4f
leaq 0x2af74(%rip), %rsi     # 0x4ddca
leaq -0x4a8(%rbp), %rdi
leaq -0x460(%rbp), %rdx
callq 0x12d60
jmp 0x22e6b
leaq -0x440(%rbp), %rdi
leaq -0x4a8(%rbp), %rsi
callq 0x5440
jmp 0x22e80
leaq -0x4a8(%rbp), %rdi
callq 0x56c0
leaq -0x1b8(%rbp), %rdi
leaq -0x460(%rbp), %rsi
callq 0x5430
movq %rax, -0x6a0(%rbp)
jmp 0x22ea8
movq -0x6a0(%rbp), %rdi
leaq -0x465(%rbp), %rsi
callq 0x5470
movq %rax, -0x6a8(%rbp)
jmp 0x22ec4
movq -0x6a8(%rbp), %rdi
leaq -0x464(%rbp), %rsi
callq 0x51f0
jmp 0x22ed9
leaq -0x4b8(%rbp), %rdi
leaq -0x440(%rbp), %rsi
callq 0x237a0
jmp 0x22eee
leaq -0x4c8(%rbp), %rdi
leaq -0x464(%rbp), %rsi
leaq -0x4b8(%rbp), %rdx
callq 0x26da0
jmp 0x22f0a
leaq -0x248(%rbp), %rdi
movq %rdi, -0x6b8(%rbp)
leaq -0x4c8(%rbp), %rsi
movq %rsi, -0x6c0(%rbp)
callq 0x26a50
movq -0x6c0(%rbp), %rdi
callq 0x26a80
movq -0x6b8(%rbp), %rsi
leaq -0x4d8(%rbp), %rdi
movq %rdi, -0x6b0(%rbp)
callq 0x26ad0
movq -0x6b0(%rbp), %rsi
leaq 0x4f8d9(%rip), %rdi     # 0x72838
callq 0x26aa0
jmp 0x22f66
leaq -0x4d8(%rbp), %rdi
callq 0x26a80
movl $0x3, -0x1bc(%rbp)
leaq -0x4b8(%rbp), %rdi
callq 0x25790
leaq -0x460(%rbp), %rdi
callq 0x56c0
leaq -0x440(%rbp), %rdi
callq 0x56c0
jmp 0x231a9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x23019
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x488(%rbp), %rdi
callq 0x56c0
jmp 0x23019
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x4a8(%rbp), %rdi
callq 0x56c0
jmp 0x23019
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x2300d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x4d8(%rbp), %rdi
callq 0x26a80
leaq -0x4b8(%rbp), %rdi
callq 0x25790
leaq -0x460(%rbp), %rdi
callq 0x56c0
leaq -0x440(%rbp), %rdi
callq 0x56c0
jmp 0x23341
leaq -0x4f8(%rbp), %rdi
movq %rdi, -0x6d0(%rbp)
callq 0x54c0
leaq -0x518(%rbp), %rdi
callq 0x54c0
movq -0x6d0(%rbp), %rsi
leaq -0x1b8(%rbp), %rdi
callq 0x5430
movq %rax, -0x6c8(%rbp)
jmp 0x23071
movq -0x6c8(%rbp), %rdi
leaq -0x519(%rbp), %rsi
callq 0x5470
jmp 0x23086
leaq -0x1b8(%rbp), %rdi
callq 0x53f0
jmp 0x23094
leaq -0x1b8(%rbp), %rdi
leaq -0x518(%rbp), %rsi
callq 0x50b0
jmp 0x230a9
leaq -0x530(%rbp), %rdi
leaq -0x4f8(%rbp), %rsi
callq 0x237a0
jmp 0x230be
leaq -0x540(%rbp), %rdi
leaq -0x518(%rbp), %rsi
callq 0x237a0
jmp 0x230d3
leaq -0x550(%rbp), %rdi
leaq -0x530(%rbp), %rsi
leaq -0x540(%rbp), %rdx
callq 0x26b50
jmp 0x230ef
leaq -0x248(%rbp), %rdi
leaq -0x550(%rbp), %rsi
callq 0x26bd0
leaq -0x550(%rbp), %rdi
callq 0x26c00
movl $0x3, -0x1bc(%rbp)
leaq -0x540(%rbp), %rdi
callq 0x25790
leaq -0x530(%rbp), %rdi
callq 0x25790
leaq -0x518(%rbp), %rdi
callq 0x56c0
leaq -0x4f8(%rbp), %rdi
callq 0x56c0
jmp 0x231a9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x2318a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x2317e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x540(%rbp), %rdi
callq 0x25790
leaq -0x530(%rbp), %rdi
callq 0x25790
leaq -0x518(%rbp), %rdi
callq 0x56c0
leaq -0x4f8(%rbp), %rdi
callq 0x56c0
jmp 0x23341
jmp 0x231a9
leaq -0x248(%rbp), %rdi
callq 0x26e20
testb $0x1, %al
jne 0x231be
jmp 0x23333
leaq 0x4f5eb(%rip), %rdi     # 0x727b0
leaq 0x4f6ec(%rip), %rsi     # 0x728b8
callq 0x26e40
movq %rax, -0x6d8(%rbp)
jmp 0x231da
movq -0x6d8(%rbp), %rdi
addq $0x58, %rdi
leaq -0x248(%rbp), %rsi
callq 0x26e70
jmp 0x231f3
leaq 0x4f656(%rip), %rdi     # 0x72850
callq 0x13580
testb $0x1, %al
jne 0x23331
leaq 0x4f642(%rip), %rdi     # 0x72850
movq %rdi, -0x6e8(%rbp)
callq 0x13690
movq -0x6e8(%rbp), %rdi
movq %rax, -0x560(%rbp)
callq 0x130f0
movq %rax, -0x568(%rbp)
movq -0x560(%rbp), %rdi
movq -0x568(%rbp), %rsi
callq 0x26ee0
movq %rax, -0x6e0(%rbp)
jmp 0x23250
movq -0x6e0(%rbp), %rax
movq %rax, -0x558(%rbp)
leaq -0x558(%rbp), %rdi
callq 0x16af0
movl (%rax), %eax
movl %eax, -0x6ec(%rbp)
leaq -0x248(%rbp), %rdi
callq 0x26d80
movl -0x6ec(%rbp), %ecx
movl %ecx, 0x4(%rax)
leaq 0x4f5c2(%rip), %rax     # 0x72850
movq %rax, -0x578(%rbp)
leaq 0x4f5b4(%rip), %rdi     # 0x72850
callq 0x13690
movq %rax, -0x580(%rbp)
leaq 0x4f5a1(%rip), %rdi     # 0x72850
callq 0x130f0
movq %rax, -0x588(%rbp)
leaq -0x580(%rbp), %rdi
leaq -0x588(%rbp), %rsi
callq 0x171c0
testb $0x1, %al
jne 0x232d4
jmp 0x23325
leaq -0x580(%rbp), %rdi
callq 0x16af0
movl (%rax), %eax
movl %eax, -0x58c(%rbp)
leaq 0x4f511(%rip), %rdi     # 0x72800
leaq -0x58c(%rbp), %rsi
callq 0x26f20
movq %rax, -0x6f8(%rbp)
jmp 0x23304
movq -0x6f8(%rbp), %rdi
leaq -0x248(%rbp), %rsi
callq 0x26f50
leaq -0x580(%rbp), %rdi
callq 0x17200
jmp 0x232bb
leaq 0x4f524(%rip), %rdi     # 0x72850
callq 0x24290
jmp 0x23333
leaq -0x248(%rbp), %rdi
callq 0x24f10
jmp 0x2334f
leaq -0x248(%rbp), %rdi
callq 0x24f10
jmp 0x23380
movb $0x1, -0x1(%rbp)
movl $0x1, -0x1bc(%rbp)
leaq -0x1b8(%rbp), %rdi
callq 0x56b8
leaq -0x28(%rbp), %rdi
callq 0x56c0
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x700, %rsp            # imm = 0x700
popq %rbp
retq
leaq -0x1b8(%rbp), %rdi
callq 0x56b8
leaq -0x28(%rbp), %rdi
callq 0x56c0
movq -0x30(%rbp), %rdi
callq 0x5610
nop