// File: ys1998[P]spsim/src/main.cpp
// Function: main
int main(int argc, char const *argv[])
{
	if(argc <= 1) {
		error_msg("main", "Program needed for execution");
	}
	if(argc == 3){
		int l = std::stoi(argv[2]);
		if(l < 0 || l > 2)
			error_msg("main", "Invalid logging level");
		LOG_LEVEL = l;
	}

	std::ifstream programFile(argv[1]);
	if(!programFile) {
    	error_msg("main", "Unable to open program file");
 	}

	initialize_ISA();

	/**********************************************************************************
						Instantiate classes and build data path
	**********************************************************************************/

	Buffer<Instruction> output_order, ICache, if_de_queue;
	int DCache[DCACHE_SIZE];
	int RegisterMapping[NUM_LOG_REGS];
	bool BusyBitTable[NUM_PHY_REGS];

	int BranchPredict[BRANCH_PREDICT_SLOTS];
	int BranchPredictAddr[BRANCH_PREDICT_SLOTS];

	Fetcher f(&ICache, &if_de_queue);

	FreeList fl;
	ActiveList al(&fl, &output_order, &RegisterMapping[0], &BusyBitTable[0]);
	IntegerQueue iq(&BusyBitTable[0]);
	AddressQueue aq(&BusyBitTable[0],&al);
	IntegerRegisterFile rf;

	Decoder d(&if_de_queue, &fl, &al, &RegisterMapping[0], &BusyBitTable[0],
				&iq, &aq, &BranchPredict[0], &BranchPredictAddr[0], &f);

	Latch< std::tuple<Instruction, int, int> > in_latch_1, in_latch_2,in_latch_3,in_latch_4;

	Issuer is(&iq, &aq, &rf);

	Latch< std::tuple<Instruction, int> > out_latch_1,out_latch_3,out_latch_4;
	Latch< std::tuple<Instruction, int, int> > out_latch_2;

	ALU2 a2(&in_latch_2, &out_latch_2, &BusyBitTable[0]);
	ALU3 a3(&in_latch_3, &out_latch_3, &BusyBitTable[0]);
	MEM  mem(&in_latch_4,&out_latch_4, &DCache[0], &BusyBitTable[0]);

	Writer w(&out_latch_1, &out_latch_2, &out_latch_4, &al, &rf, &BusyBitTable[0]);
	Flusher flsh(&is, &f, &d, &w);
	ALU1 a1(&in_latch_1, &out_latch_1, &BusyBitTable[0], &a2, &a3, &flsh,
			&BranchPredict[0], &BranchPredictAddr[0]);

	is.attach_latch(0, &in_latch_1,1);
	is.attach_latch(1, &in_latch_2,1);
	is.attach_latch(2,&in_latch_3,2);
	is.attach_latch(3,&in_latch_4,3);
	is.attach_cal_latch_outer(&out_latch_3);

	/**********************************************************************************/

	for(int i=0; i<NUM_LOG_REGS; ++i)
		RegisterMapping[i] = -1;
	for(int i=0; i<NUM_PHY_REGS; ++i)
		BusyBitTable[i] = false;
	for(int i=0; i<DCACHE_SIZE;++i)
		DCache[i] = 0;
	for(int i=0; i<BRANCH_PREDICT_SLOTS; ++i){
		BranchPredict[i] = STRONGLY_NOT_TAKEN;
		BranchPredictAddr[i] = i + 1;
	}

	int PC = 0, stage = -1;
	bool main_found = false;
	std::string input = "";

	while(std::getline(programFile, input)){
		if(input.compare("") == 0)
			continue;
		if(PC > PROG_SIZE) {
			error_msg("main", std::string("Program size limit [") + std::to_string(PROG_SIZE) + "] exceeded");
		}
		switch(stage){
			case -1:
			if(input.compare("data:") == 0)
				stage = 0;
			else if(input.compare("main:") == 0)
				stage = 1;
			break;

			case 0:
			if(input.compare("main:") == 0)
				stage = 1;
			else{
				size_t pos;
				int idx = std::stoi(input, &pos);
				if(idx >= DCACHE_SIZE)
					error_msg("parser", "D-Cache size limit exceeded");
				else{
					int value = std::stoi(input.substr(pos));
					DCache[idx] = value;
				}
			}
			break;

			case 1:
			main_found = true;
			Instruction instr(PC, input);
			instr.set_id();
			ICache.push_back(instr);
			PC++;
			break;
		}
	}
	programFile.close();

	if(!main_found)
		error_msg("parser", "Main label not found");

	if(LOG_LEVEL >= 1)
		status_msg("main", "Program parsing complete");
	
	while(!terminate){
		CLOCK++;
		f.tick();
		d.tick();
		w.tick(); // for preventing additional stall
		a1.tick();
		a2.tick();
		a3.tick();
		mem.tick();
		is.tick();

		f.tock();
		d.tock();
		is.tock();
		a1.tock();
		a2.tock();
		a3.tock();
		mem.tock();
		w.tock();
	}
	if(LOG_LEVEL >= 1)
		status_msg("main", "Program simulation complete, ticks = " + std::to_string(CLOCK));

	std::cout << std::endl;
	print_std(output_order);

	std::cout << std::endl;
	print_regs(rf, &RegisterMapping[0]);

	std::cout << std::endl;
	print_mem(&DCache[0]);

	std::cout << std::endl;
	if(LOG_LEVEL >= 1)
		status_msg("main", "Space-Time Diagram, register values and memory content displayed");

    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1ba0, %rsp           # imm = 0x1BA0
movl $0x0, -0x4(%rbp)
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
cmpl $0x1, -0x8(%rbp)
jg 0x17f5b
leaq -0x31(%rbp), %rdi
movq %rdi, -0x1ab0(%rbp)
callq 0x3490
movq -0x1ab0(%rbp), %rdx
leaq 0xa590(%rip), %rsi      # 0x22431
leaq -0x30(%rbp), %rdi
callq 0x6020
jmp 0x17eac
leaq -0x69(%rbp), %rdi
movq %rdi, -0x1ab8(%rbp)
callq 0x3490
movq -0x1ab8(%rbp), %rdx
leaq 0xa56c(%rip), %rsi      # 0x22436
leaq -0x68(%rbp), %rdi
callq 0x6020
jmp 0x17ed5
leaq -0x30(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x163d0
jmp 0x17ee4
leaq -0x68(%rbp), %rdi
callq 0x31e0
leaq -0x69(%rbp), %rdi
callq 0x3300
leaq -0x30(%rbp), %rdi
callq 0x31e0
leaq -0x31(%rbp), %rdi
callq 0x3300
jmp 0x17f5b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x17f4d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x17f3b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x31e0
leaq -0x69(%rbp), %rdi
callq 0x3300
leaq -0x30(%rbp), %rdi
callq 0x31e0
leaq -0x31(%rbp), %rdi
callq 0x3300
jmp 0x196b6
cmpl $0x3, -0x8(%rbp)
jne 0x18136
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x1ac8(%rbp)
leaq -0x91(%rbp), %rdi
movq %rdi, -0x1ac0(%rbp)
callq 0x3490
movq -0x1ac8(%rbp), %rsi
movq -0x1ac0(%rbp), %rdx
leaq -0x90(%rbp), %rdi
callq 0x6020
jmp 0x17fa3
xorl %eax, %eax
movl %eax, %esi
leaq -0x90(%rbp), %rdi
movl $0xa, %edx
callq 0x19740
movl %eax, -0x1acc(%rbp)
jmp 0x17fc0
leaq -0x90(%rbp), %rdi
callq 0x31e0
leaq -0x91(%rbp), %rdi
callq 0x3300
movl -0x1acc(%rbp), %eax
movl %eax, -0x70(%rbp)
cmpl $0x0, -0x70(%rbp)
jl 0x17ff1
cmpl $0x2, -0x70(%rbp)
jle 0x1812d
leaq -0xb9(%rbp), %rdi
movq %rdi, -0x1ad8(%rbp)
callq 0x3490
movq -0x1ad8(%rbp), %rdx
leaq 0xa41f(%rip), %rsi      # 0x22431
leaq -0xb8(%rbp), %rdi
callq 0x6020
jmp 0x18020
leaq -0xe1(%rbp), %rdi
movq %rdi, -0x1ae0(%rbp)
callq 0x3490
movq -0x1ae0(%rbp), %rdx
leaq 0xa412(%rip), %rsi      # 0x22453
leaq -0xe0(%rbp), %rdi
callq 0x6020
jmp 0x1804f
leaq -0xb8(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
callq 0x163d0
jmp 0x18064
leaq -0xe0(%rbp), %rdi
callq 0x31e0
leaq -0xe1(%rbp), %rdi
callq 0x3300
leaq -0xb8(%rbp), %rdi
callq 0x31e0
leaq -0xb9(%rbp), %rdi
callq 0x3300
jmp 0x1812d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x180bf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x90(%rbp), %rdi
callq 0x31e0
leaq -0x91(%rbp), %rdi
callq 0x3300
jmp 0x196b6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x1811c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x18104
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0xe0(%rbp), %rdi
callq 0x31e0
leaq -0xe1(%rbp), %rdi
callq 0x3300
leaq -0xb8(%rbp), %rdi
callq 0x31e0
leaq -0xb9(%rbp), %rdi
callq 0x3300
jmp 0x196b6
movl -0x70(%rbp), %eax
movl %eax, 0x17162(%rip)     # 0x2f298
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rsi
leaq -0x2f0(%rbp), %rdi
movl $0x8, %edx
callq 0x34b0
movq -0x2f0(%rbp), %rax
movq -0x18(%rax), %rax
leaq -0x2f0(%rbp,%rax), %rdi
callq 0x3160
movb %al, -0x1ae1(%rbp)
jmp 0x1816f
movb -0x1ae1(%rbp), %al
testb $0x1, %al
jne 0x1817e
jmp 0x18291
leaq -0x311(%rbp), %rdi
movq %rdi, -0x1af0(%rbp)
callq 0x3490
movq -0x1af0(%rbp), %rdx
leaq 0xa292(%rip), %rsi      # 0x22431
leaq -0x310(%rbp), %rdi
callq 0x6020
jmp 0x181ad
leaq -0x339(%rbp), %rdi
movq %rdi, -0x1af8(%rbp)
callq 0x3490
movq -0x1af8(%rbp), %rdx
leaq 0xa29b(%rip), %rsi      # 0x22469
leaq -0x338(%rbp), %rdi
callq 0x6020
jmp 0x181dc
leaq -0x310(%rbp), %rdi
leaq -0x338(%rbp), %rsi
callq 0x163d0
jmp 0x181f1
leaq -0x338(%rbp), %rdi
callq 0x31e0
leaq -0x339(%rbp), %rdi
callq 0x3300
leaq -0x310(%rbp), %rdi
callq 0x31e0
leaq -0x311(%rbp), %rdi
callq 0x3300
jmp 0x18291
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x196aa
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x18280
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x18268
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x338(%rbp), %rdi
callq 0x31e0
leaq -0x339(%rbp), %rdi
callq 0x3300
leaq -0x310(%rbp), %rdi
callq 0x31e0
leaq -0x311(%rbp), %rdi
callq 0x3300
jmp 0x196aa
callq 0xde50
jmp 0x18298
leaq -0x390(%rbp), %rdi
callq 0xa9b0
jmp 0x182a6
leaq -0x3e0(%rbp), %rdi
callq 0xa9b0
jmp 0x182b4
leaq -0x430(%rbp), %rdi
callq 0xa9b0
jmp 0x182c2
leaq -0x7a0(%rbp), %rdi
leaq -0x3e0(%rbp), %rsi
leaq -0x430(%rbp), %rdx
callq 0xdc00
jmp 0x182de
leaq -0x7e0(%rbp), %rdi
callq 0x12b80
jmp 0x182ec
leaq -0x850(%rbp), %rdi
leaq -0x7e0(%rbp), %rsi
leaq -0x390(%rbp), %rdx
leaq -0x640(%rbp), %rcx
leaq -0x680(%rbp), %r8
callq 0x13550
jmp 0x18316
leaq -0x8a8(%rbp), %rdi
leaq -0x680(%rbp), %rsi
callq 0x1b370
jmp 0x1832b
leaq -0x958(%rbp), %rdi
leaq -0x680(%rbp), %rsi
leaq -0x850(%rbp), %rdx
callq 0x1c660
jmp 0x18347
leaq -0xa68(%rbp), %rdi
callq 0x19780
jmp 0x18355
movq %rsp, %rax
leaq -0x7a0(%rbp), %rcx
movq %rcx, 0x20(%rax)
leaq -0x780(%rbp), %rcx
movq %rcx, 0x18(%rax)
leaq -0x700(%rbp), %rcx
movq %rcx, 0x10(%rax)
leaq -0x958(%rbp), %rcx
movq %rcx, 0x8(%rax)
leaq -0x8a8(%rbp), %rcx
movq %rcx, (%rax)
leaq -0xb18(%rbp), %rdi
leaq -0x430(%rbp), %rsi
leaq -0x7e0(%rbp), %rdx
leaq -0x850(%rbp), %rcx
leaq -0x640(%rbp), %r8
leaq -0x680(%rbp), %r9
callq 0x9ad0
jmp 0x183bf
leaq -0xba0(%rbp), %rdi
callq 0x197e0
jmp 0x183cd
leaq -0xc28(%rbp), %rdi
callq 0x197e0
jmp 0x183db
leaq -0xcb0(%rbp), %rdi
callq 0x197e0
jmp 0x183e9
leaq -0xd38(%rbp), %rdi
callq 0x197e0
jmp 0x183f7
leaq -0xf78(%rbp), %rdi
leaq -0x8a8(%rbp), %rsi
leaq -0x958(%rbp), %rdx
leaq -0xa68(%rbp), %rcx
callq 0x11710
jmp 0x1841a
leaq -0x1000(%rbp), %rdi
callq 0x19810
jmp 0x18428
leaq -0x1088(%rbp), %rdi
callq 0x19810
jmp 0x18436
leaq -0x1110(%rbp), %rdi
callq 0x19810
jmp 0x18444
leaq -0x1198(%rbp), %rdi
callq 0x197e0
jmp 0x18452
leaq -0x1278(%rbp), %rdi
leaq -0xc28(%rbp), %rsi
leaq -0x1198(%rbp), %rdx
leaq -0x680(%rbp), %rcx
callq 0x4990
jmp 0x18475
leaq -0x1358(%rbp), %rdi
leaq -0xcb0(%rbp), %rsi
leaq -0x1088(%rbp), %rdx
leaq -0x680(%rbp), %rcx
callq 0x5720
jmp 0x18498
leaq -0x1410(%rbp), %rdi
leaq -0xd38(%rbp), %rsi
leaq -0x1110(%rbp), %rdx
leaq -0x5c0(%rbp), %rcx
leaq -0x680(%rbp), %r8
callq 0x1af20
jmp 0x184c2
movq %rsp, %rax
leaq -0x680(%rbp), %rcx
movq %rcx, (%rax)
leaq -0x15c8(%rbp), %rdi
leaq -0x1000(%rbp), %rsi
leaq -0x1198(%rbp), %rdx
leaq -0x1110(%rbp), %rcx
leaq -0x850(%rbp), %r8
leaq -0xa68(%rbp), %r9
callq 0x202a0
jmp 0x18500
leaq -0x15e8(%rbp), %rdi
leaq -0xf78(%rbp), %rsi
leaq -0x7a0(%rbp), %rdx
leaq -0xb18(%rbp), %rcx
leaq -0x15c8(%rbp), %r8
callq 0xddb0
jmp 0x1852a
movq %rsp, %rax
leaq -0x780(%rbp), %rcx
movq %rcx, 0x10(%rax)
leaq -0x700(%rbp), %rcx
movq %rcx, 0x8(%rax)
leaq -0x15e8(%rbp), %rcx
movq %rcx, (%rax)
leaq -0x16f0(%rbp), %rdi
leaq -0xba0(%rbp), %rsi
leaq -0x1000(%rbp), %rdx
leaq -0x680(%rbp), %rcx
leaq -0x1278(%rbp), %r8
leaq -0x1358(%rbp), %r9
callq 0x3970
jmp 0x1857e
leaq -0xf78(%rbp), %rdi
xorl %esi, %esi
leaq -0xba0(%rbp), %rdx
movl $0x1, %ecx
callq 0x11800
jmp 0x1859a
leaq -0xf78(%rbp), %rdi
leaq -0xc28(%rbp), %rdx
movl $0x1, %ecx
movl %ecx, %esi
callq 0x11800
jmp 0x185b6
leaq -0xf78(%rbp), %rdi
leaq -0xcb0(%rbp), %rdx
movl $0x2, %ecx
movl %ecx, %esi
callq 0x11800
jmp 0x185d2
leaq -0xf78(%rbp), %rdi
leaq -0xd38(%rbp), %rdx
movl $0x3, %ecx
movl %ecx, %esi
callq 0x11800
jmp 0x185ee
leaq -0xf78(%rbp), %rdi
leaq -0x1088(%rbp), %rsi
callq 0x11860
jmp 0x18603
movl $0x0, -0x16f4(%rbp)
cmpl $0x20, -0x16f4(%rbp)
jge 0x187a2
movslq -0x16f4(%rbp), %rax
movl $0xffffffff, -0x640(%rbp,%rax,4) # imm = 0xFFFFFFFF
movl -0x16f4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x16f4(%rbp)
jmp 0x1860d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x1969e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x19692
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x19686
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x1967a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x1966e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x19662
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x19656
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x1964a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x1963e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x19632
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x19626
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x1961a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x1960e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x19602
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x195f6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x195ea
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x195de
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x195d2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x195c6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x195ba
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x195ae
movl $0x0, -0x16f8(%rbp)
cmpl $0x40, -0x16f8(%rbp)
jge 0x187d5
movslq -0x16f8(%rbp), %rax
movb $0x0, -0x680(%rbp,%rax)
movl -0x16f8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x16f8(%rbp)
jmp 0x187ac
movl $0x0, -0x16fc(%rbp)
cmpl $0x64, -0x16fc(%rbp)
jge 0x1880b
movslq -0x16fc(%rbp), %rax
movl $0x0, -0x5c0(%rbp,%rax,4)
movl -0x16fc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x16fc(%rbp)
jmp 0x187df
movl $0x0, -0x1700(%rbp)
cmpl $0x20, -0x1700(%rbp)
jge 0x18858
movslq -0x1700(%rbp), %rax
movl $0x0, -0x700(%rbp,%rax,4)
movl -0x1700(%rbp), %ecx
addl $0x1, %ecx
movslq -0x1700(%rbp), %rax
movl %ecx, -0x780(%rbp,%rax,4)
movl -0x1700(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1700(%rbp)
jmp 0x18815
movl $0x0, -0x1704(%rbp)
movl $0xffffffff, -0x1708(%rbp) # imm = 0xFFFFFFFF
movb $0x0, -0x1709(%rbp)
leaq -0x1731(%rbp), %rdi
movq %rdi, -0x1b00(%rbp)
callq 0x3490
movq -0x1b00(%rbp), %rdx
leaq 0x9a59(%rip), %rsi      # 0x222ed
leaq -0x1730(%rbp), %rdi
callq 0x6020
jmp 0x188a2
leaq -0x1731(%rbp), %rdi
callq 0x3300
leaq -0x2f0(%rbp), %rdi
leaq -0x1730(%rbp), %rsi
callq 0x30a0
movq %rax, -0x1b08(%rbp)
jmp 0x188ca
movq -0x1b08(%rbp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x3380
movb %al, -0x1b09(%rbp)
jmp 0x188e8
movb -0x1b09(%rbp), %al
testb $0x1, %al
jne 0x188f7
jmp 0x18e59
leaq -0x1730(%rbp), %rdi
leaq 0x99e8(%rip), %rsi      # 0x222ed
callq 0x30f0
cmpl $0x0, %eax
jne 0x1893f
jmp 0x188ae
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x1731(%rbp), %rdi
callq 0x3300
jmp 0x195ae
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x195a2
cmpl $0xf4240, -0x1704(%rbp) # imm = 0xF4240
jle 0x18b14
leaq -0x1759(%rbp), %rdi
movq %rdi, -0x1b18(%rbp)
callq 0x3490
movq -0x1b18(%rbp), %rdx
leaq 0x9ac1(%rip), %rsi      # 0x22431
leaq -0x1758(%rbp), %rdi
callq 0x6020
jmp 0x1897e
leaq -0x17c1(%rbp), %rdi
movq %rdi, -0x1b20(%rbp)
callq 0x3490
movq -0x1b20(%rbp), %rdx
leaq 0x9ae6(%rip), %rsi      # 0x22485
leaq -0x17c0(%rbp), %rdi
callq 0x6020
jmp 0x189ad
leaq -0x17e8(%rbp), %rdi
movl $0xf4240, %esi          # imm = 0xF4240
callq 0x10880
jmp 0x189c0
leaq -0x17a0(%rbp), %rdi
leaq -0x17c0(%rbp), %rsi
leaq -0x17e8(%rbp), %rdx
callq 0x10650
jmp 0x189dc
leaq 0x9ab7(%rip), %rdx      # 0x2249a
leaq -0x1780(%rbp), %rdi
leaq -0x17a0(%rbp), %rsi
callq 0x10720
jmp 0x189f8
leaq -0x1758(%rbp), %rdi
leaq -0x1780(%rbp), %rsi
callq 0x163d0
jmp 0x18a0d
leaq -0x1780(%rbp), %rdi
callq 0x31e0
leaq -0x17a0(%rbp), %rdi
callq 0x31e0
leaq -0x17e8(%rbp), %rdi
callq 0x31e0
leaq -0x17c0(%rbp), %rdi
callq 0x31e0
leaq -0x17c1(%rbp), %rdi
callq 0x3300
leaq -0x1758(%rbp), %rdi
callq 0x31e0
leaq -0x1759(%rbp), %rdi
callq 0x3300
jmp 0x18b14
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x18b03
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x18aeb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x18adf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x18ad3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x18ac7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x1780(%rbp), %rdi
callq 0x31e0
leaq -0x17a0(%rbp), %rdi
callq 0x31e0
leaq -0x17e8(%rbp), %rdi
callq 0x31e0
leaq -0x17c0(%rbp), %rdi
callq 0x31e0
leaq -0x17c1(%rbp), %rdi
callq 0x3300
leaq -0x1758(%rbp), %rdi
callq 0x31e0
leaq -0x1759(%rbp), %rdi
callq 0x3300
jmp 0x195a2
movl -0x1708(%rbp), %eax
movl %eax, -0x1b24(%rbp)
subl $-0x1, %eax
je 0x18b47
jmp 0x18b27
movl -0x1b24(%rbp), %eax
testl %eax, %eax
je 0x18b94
jmp 0x18b33
movl -0x1b24(%rbp), %eax
subl $0x1, %eax
je 0x18d8b
jmp 0x18e54
leaq -0x1730(%rbp), %rdi
leaq 0x9950(%rip), %rsi      # 0x224a5
callq 0x30f0
cmpl $0x0, %eax
jne 0x18b6b
movl $0x0, -0x1708(%rbp)
jmp 0x18b8f
leaq -0x1730(%rbp), %rdi
leaq 0x9932(%rip), %rsi      # 0x224ab
callq 0x30f0
cmpl $0x0, %eax
jne 0x18b8d
movl $0x1, -0x1708(%rbp)
jmp 0x18b8f
jmp 0x18e54
leaq -0x1730(%rbp), %rdi
leaq 0x9909(%rip), %rsi      # 0x224ab
callq 0x30f0
cmpl $0x0, %eax
jne 0x18bbb
movl $0x1, -0x1708(%rbp)
jmp 0x18d86
leaq -0x1730(%rbp), %rdi
leaq -0x17f0(%rbp), %rsi
movl $0xa, %edx
callq 0x19740
movl %eax, -0x1b28(%rbp)
jmp 0x18bdb
movl -0x1b28(%rbp), %eax
movl %eax, -0x17f4(%rbp)
cmpl $0x64, -0x17f4(%rbp)
jl 0x18cf9
leaq -0x1819(%rbp), %rdi
movq %rdi, -0x1b30(%rbp)
callq 0x3490
movq -0x1b30(%rbp), %rdx
leaq 0x94af(%rip), %rsi      # 0x220c4
leaq -0x1818(%rbp), %rdi
callq 0x6020
jmp 0x18c23
leaq -0x1841(%rbp), %rdi
movq %rdi, -0x1b38(%rbp)
callq 0x3490
movq -0x1b38(%rbp), %rdx
leaq 0x986d(%rip), %rsi      # 0x224b1
leaq -0x1840(%rbp), %rdi
callq 0x6020
jmp 0x18c52
leaq -0x1818(%rbp), %rdi
leaq -0x1840(%rbp), %rsi
callq 0x163d0
jmp 0x18c67
leaq -0x1840(%rbp), %rdi
callq 0x31e0
leaq -0x1841(%rbp), %rdi
callq 0x3300
leaq -0x1818(%rbp), %rdi
callq 0x31e0
leaq -0x1819(%rbp), %rdi
callq 0x3300
jmp 0x18d84
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x18ce8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x18cd0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x1840(%rbp), %rdi
callq 0x31e0
leaq -0x1841(%rbp), %rdi
callq 0x3300
leaq -0x1818(%rbp), %rdi
callq 0x31e0
leaq -0x1819(%rbp), %rdi
callq 0x3300
jmp 0x195a2
movq -0x17f0(%rbp), %rdx
leaq -0x1868(%rbp), %rdi
leaq -0x1730(%rbp), %rsi
movq $-0x1, %rcx
callq 0x32c0
jmp 0x18d1c
xorl %eax, %eax
movl %eax, %esi
leaq -0x1868(%rbp), %rdi
movl $0xa, %edx
callq 0x19740
movl %eax, -0x1b3c(%rbp)
jmp 0x18d39
leaq -0x1868(%rbp), %rdi
callq 0x31e0
movl -0x1b3c(%rbp), %eax
movl %eax, -0x1848(%rbp)
movl -0x1848(%rbp), %ecx
movslq -0x17f4(%rbp), %rax
movl %ecx, -0x5c0(%rbp,%rax,4)
jmp 0x18d84
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x1868(%rbp), %rdi
callq 0x31e0
jmp 0x195a2
jmp 0x18d86
jmp 0x18e54
movb $0x1, -0x1709(%rbp)
movl -0x1704(%rbp), %eax
movl %eax, -0x1b40(%rbp)
leaq -0x1900(%rbp), %rdi
leaq -0x1730(%rbp), %rsi
callq 0x3140
jmp 0x18db3
movl -0x1b40(%rbp), %esi
leaq -0x18e0(%rbp), %rdi
leaq -0x1900(%rbp), %rdx
callq 0xe8e0
jmp 0x18dce
leaq -0x1900(%rbp), %rdi
callq 0x31e0
leaq -0x18e0(%rbp), %rdi
callq 0xab10
jmp 0x18de8
leaq -0x3e0(%rbp), %rdi
leaq -0x18e0(%rbp), %rsi
callq 0xab70
jmp 0x18dfd
movl -0x1704(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1704(%rbp)
leaq -0x18e0(%rbp), %rdi
callq 0x61d0
jmp 0x18e54
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x1900(%rbp), %rdi
callq 0x31e0
jmp 0x195a2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x18e0(%rbp), %rdi
callq 0x61d0
jmp 0x195a2
jmp 0x188ae
leaq -0x2f0(%rbp), %rdi
callq 0x30b0
jmp 0x18e67
testb $0x1, -0x1709(%rbp)
jne 0x18f76
leaq -0x1921(%rbp), %rdi
movq %rdi, -0x1b48(%rbp)
callq 0x3490
movq -0x1b48(%rbp), %rdx
leaq 0x922f(%rip), %rsi      # 0x220c4
leaq -0x1920(%rbp), %rdi
callq 0x6020
jmp 0x18ea3
leaq -0x1949(%rbp), %rdi
movq %rdi, -0x1b50(%rbp)
callq 0x3490
movq -0x1b50(%rbp), %rdx
leaq 0x9609(%rip), %rsi      # 0x224cd
leaq -0x1948(%rbp), %rdi
callq 0x6020
jmp 0x18ed2
leaq -0x1920(%rbp), %rdi
leaq -0x1948(%rbp), %rsi
callq 0x163d0
jmp 0x18ee7
leaq -0x1948(%rbp), %rdi
callq 0x31e0
leaq -0x1949(%rbp), %rdi
callq 0x3300
leaq -0x1920(%rbp), %rdi
callq 0x31e0
leaq -0x1921(%rbp), %rdi
callq 0x3300
jmp 0x18f76
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x18f65
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x18f4d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x1948(%rbp), %rdi
callq 0x31e0
leaq -0x1949(%rbp), %rdi
callq 0x3300
leaq -0x1920(%rbp), %rdi
callq 0x31e0
leaq -0x1921(%rbp), %rdi
callq 0x3300
jmp 0x195a2
cmpl $0x1, 0x1631b(%rip)     # 0x2f298
jl 0x19085
leaq -0x1971(%rbp), %rdi
movq %rdi, -0x1b58(%rbp)
callq 0x3490
movq -0x1b58(%rbp), %rdx
leaq 0x948d(%rip), %rsi      # 0x22431
leaq -0x1970(%rbp), %rdi
callq 0x6020
jmp 0x18fb2
leaq -0x1999(%rbp), %rdi
movq %rdi, -0x1b60(%rbp)
callq 0x3490
movq -0x1b60(%rbp), %rdx
leaq 0x950f(%rip), %rsi      # 0x224e2
leaq -0x1998(%rbp), %rdi
callq 0x6020
jmp 0x18fe1
leaq -0x1970(%rbp), %rdi
leaq -0x1998(%rbp), %rsi
callq 0x16610
jmp 0x18ff6
leaq -0x1998(%rbp), %rdi
callq 0x31e0
leaq -0x1999(%rbp), %rdi
callq 0x3300
leaq -0x1970(%rbp), %rdi
callq 0x31e0
leaq -0x1971(%rbp), %rdi
callq 0x3300
jmp 0x19085
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x19074
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x1905c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x1998(%rbp), %rdi
callq 0x31e0
leaq -0x1999(%rbp), %rdi
callq 0x3300
leaq -0x1970(%rbp), %rdi
callq 0x31e0
leaq -0x1971(%rbp), %rdi
callq 0x3300
jmp 0x195a2
jmp 0x19087
movb 0x16233(%rip), %al      # 0x2f2c0
xorb $-0x1, %al
testb $0x1, %al
jne 0x19098
jmp 0x1918b
movl 0x1621e(%rip), %eax     # 0x2f2bc
incl %eax
movl %eax, 0x16216(%rip)     # 0x2f2bc
leaq -0x7a0(%rbp), %rdi
callq 0x6550
jmp 0x190b4
leaq -0xb18(%rbp), %rdi
callq 0xa6f0
jmp 0x190c2
leaq -0x15c8(%rbp), %rdi
callq 0x203a0
jmp 0x190d0
leaq -0x16f0(%rbp), %rdi
callq 0x4510
jmp 0x190de
leaq -0x1278(%rbp), %rdi
callq 0x51e0
jmp 0x190ec
leaq -0x1358(%rbp), %rdi
callq 0x5960
jmp 0x190fa
leaq -0x1410(%rbp), %rdi
callq 0x1afb0
jmp 0x19108
leaq -0xf78(%rbp), %rdi
callq 0x11880
jmp 0x19116
leaq -0x7a0(%rbp), %rdi
callq 0xdc50
jmp 0x19124
leaq -0xb18(%rbp), %rdi
callq 0xa760
jmp 0x19132
leaq -0xf78(%rbp), %rdi
callq 0x11ca0
jmp 0x19140
leaq -0x16f0(%rbp), %rdi
callq 0x4810
jmp 0x1914e
leaq -0x1278(%rbp), %rdi
callq 0x54e0
jmp 0x1915c
leaq -0x1358(%rbp), %rdi
callq 0x5c10
jmp 0x1916a
leaq -0x1410(%rbp), %rdi
callq 0x1b220
jmp 0x19178
leaq -0x15c8(%rbp), %rdi
callq 0x20b90
jmp 0x19186
jmp 0x19087
cmpl $0x1, 0x16106(%rip)     # 0x2f298
jl 0x192a9
leaq -0x19c1(%rbp), %rdi
movq %rdi, -0x1b68(%rbp)
callq 0x3490
movq -0x1b68(%rbp), %rdx
leaq 0x9278(%rip), %rsi      # 0x22431
leaq -0x19c0(%rbp), %rdi
callq 0x6020
jmp 0x191c7
movl 0x160ef(%rip), %esi     # 0x2f2bc
leaq -0x1a08(%rbp), %rdi
callq 0x10880
jmp 0x191db
leaq 0x9319(%rip), %rsi      # 0x224fb
leaq -0x19e8(%rbp), %rdi
leaq -0x1a08(%rbp), %rdx
callq 0x10a80
jmp 0x191f7
leaq -0x19c0(%rbp), %rdi
leaq -0x19e8(%rbp), %rsi
callq 0x16610
jmp 0x1920c
leaq -0x19e8(%rbp), %rdi
callq 0x31e0
leaq -0x1a08(%rbp), %rdi
callq 0x31e0
leaq -0x19c0(%rbp), %rdi
callq 0x31e0
leaq -0x19c1(%rbp), %rdi
callq 0x3300
jmp 0x192a9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x19298
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x1928c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x19280
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x19e8(%rbp), %rdi
callq 0x31e0
leaq -0x1a08(%rbp), %rdi
callq 0x31e0
leaq -0x19c0(%rbp), %rdi
callq 0x31e0
leaq -0x19c1(%rbp), %rdi
callq 0x3300
jmp 0x195a2
movq 0x15d20(%rip), %rdi     # 0x2efd0
movq 0x15d09(%rip), %rsi     # 0x2efc0
callq 0x32e0
jmp 0x192be
leaq -0x1a58(%rbp), %rdi
leaq -0x390(%rbp), %rsi
callq 0x19840
jmp 0x192d3
leaq -0x1a58(%rbp), %rdi
callq 0x17050
jmp 0x192e1
leaq -0x1a58(%rbp), %rdi
callq 0x19960
movq 0x15cdc(%rip), %rdi     # 0x2efd0
movq 0x15cc5(%rip), %rsi     # 0x2efc0
callq 0x32e0
jmp 0x19302
leaq -0xa68(%rbp), %rdi
leaq -0x640(%rbp), %rsi
callq 0x16bf0
jmp 0x19317
movq 0x15cb2(%rip), %rdi     # 0x2efd0
movq 0x15c9b(%rip), %rsi     # 0x2efc0
callq 0x32e0
jmp 0x1932c
leaq -0x5c0(%rbp), %rdi
callq 0x16eb0
jmp 0x1933a
movq 0x15c8f(%rip), %rdi     # 0x2efd0
movq 0x15c78(%rip), %rsi     # 0x2efc0
callq 0x32e0
jmp 0x1934f
cmpl $0x1, 0x15f42(%rip)     # 0x2f298
jl 0x1947b
leaq -0x1a79(%rbp), %rdi
movq %rdi, -0x1b70(%rbp)
callq 0x3490
movq -0x1b70(%rbp), %rdx
leaq 0x90b4(%rip), %rsi      # 0x22431
leaq -0x1a78(%rbp), %rdi
callq 0x6020
jmp 0x1938b
leaq -0x1aa1(%rbp), %rdi
movq %rdi, -0x1b78(%rbp)
callq 0x3490
movq -0x1b78(%rbp), %rdx
leaq 0x9175(%rip), %rsi      # 0x22521
leaq -0x1aa0(%rbp), %rdi
callq 0x6020
jmp 0x193ba
leaq -0x1a78(%rbp), %rdi
leaq -0x1aa0(%rbp), %rsi
callq 0x16610
jmp 0x193cf
leaq -0x1aa0(%rbp), %rdi
callq 0x31e0
leaq -0x1aa1(%rbp), %rdi
callq 0x3300
leaq -0x1a78(%rbp), %rdi
callq 0x31e0
leaq -0x1a79(%rbp), %rdi
callq 0x3300
jmp 0x1947b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x1a58(%rbp), %rdi
callq 0x19960
jmp 0x195a2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x1946a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x19452
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x1aa0(%rbp), %rdi
callq 0x31e0
leaq -0x1aa1(%rbp), %rdi
callq 0x3300
leaq -0x1a78(%rbp), %rdi
callq 0x31e0
leaq -0x1a79(%rbp), %rdi
callq 0x3300
jmp 0x195a2
movl $0x0, -0x4(%rbp)
leaq -0x1730(%rbp), %rdi
callq 0x31e0
leaq -0x16f0(%rbp), %rdi
callq 0x199d0
leaq -0x15c8(%rbp), %rdi
callq 0x19a20
leaq -0x1410(%rbp), %rdi
callq 0x19a80
leaq -0x1358(%rbp), %rdi
callq 0x19ab0
leaq -0x1278(%rbp), %rdi
callq 0x19b00
leaq -0x1198(%rbp), %rdi
callq 0x19b50
leaq -0x1110(%rbp), %rdi
callq 0x19b70
leaq -0x1088(%rbp), %rdi
callq 0x19b70
leaq -0x1000(%rbp), %rdi
callq 0x19b70
leaq -0xf78(%rbp), %rdi
callq 0x19b90
leaq -0xd38(%rbp), %rdi
callq 0x19b50
leaq -0xcb0(%rbp), %rdi
callq 0x19b50
leaq -0xc28(%rbp), %rdi
callq 0x19b50
leaq -0xba0(%rbp), %rdi
callq 0x19b50
leaq -0xb18(%rbp), %rdi
callq 0x19bf0
leaq -0x958(%rbp), %rdi
callq 0x19c20
leaq -0x8a8(%rbp), %rdi
callq 0x19c50
leaq -0x850(%rbp), %rdi
callq 0x19c70
leaq -0x430(%rbp), %rdi
callq 0x19960
leaq -0x3e0(%rbp), %rdi
callq 0x19960
leaq -0x390(%rbp), %rdi
callq 0x19960
leaq -0x2f0(%rbp), %rdi
callq 0x30d0
movl -0x4(%rbp), %eax
addq $0x1ba0, %rsp           # imm = 0x1BA0
popq %rbp
retq
leaq -0x1730(%rbp), %rdi
callq 0x31e0
leaq -0x16f0(%rbp), %rdi
callq 0x199d0
leaq -0x15c8(%rbp), %rdi
callq 0x19a20
leaq -0x1410(%rbp), %rdi
callq 0x19a80
leaq -0x1358(%rbp), %rdi
callq 0x19ab0
leaq -0x1278(%rbp), %rdi
callq 0x19b00
leaq -0x1198(%rbp), %rdi
callq 0x19b50
leaq -0x1110(%rbp), %rdi
callq 0x19b70
leaq -0x1088(%rbp), %rdi
callq 0x19b70
leaq -0x1000(%rbp), %rdi
callq 0x19b70
leaq -0xf78(%rbp), %rdi
callq 0x19b90
leaq -0xd38(%rbp), %rdi
callq 0x19b50
leaq -0xcb0(%rbp), %rdi
callq 0x19b50
leaq -0xc28(%rbp), %rdi
callq 0x19b50
leaq -0xba0(%rbp), %rdi
callq 0x19b50
leaq -0xb18(%rbp), %rdi
callq 0x19bf0
leaq -0x958(%rbp), %rdi
callq 0x19c20
leaq -0x8a8(%rbp), %rdi
callq 0x19c50
leaq -0x850(%rbp), %rdi
callq 0x19c70
leaq -0x430(%rbp), %rdi
callq 0x19960
leaq -0x3e0(%rbp), %rdi
callq 0x19960
leaq -0x390(%rbp), %rdi
callq 0x19960
leaq -0x2f0(%rbp), %rdi
callq 0x30d0
movq -0x40(%rbp), %rdi
callq 0x3480
nop