// File: asdfz1346[P]MyServer/MyServer.cpp
// Function: MyServer::worker_thread_proc(void*)
void *MyServer::worker_thread_proc(void *args){

	MyServer *pthis =((ARG*)args)->p;
	//StoC stoc;
	char rcv_buf[SND_BUF_SIZE];
	char snd_buf[RCV_BUF_SIZE];
	while(pthis->nstop){
		pthread_mutex_lock(&pthis->clientlist_mutex);
		if(!pthis->clientlist.empty()){
       			MYSQL *m_conn = mysql_init(NULL);
	        	MYSQL *m_sql = mysql_real_connect(m_conn,"localhost","root","a123456","PARKING",0,NULL,0);
		        if(!m_sql)
			        printf("connect mysql fail\n");
			
			memset(rcv_buf,0,sizeof rcv_buf);
			memset(snd_buf, 0,sizeof snd_buf);
			/*lock clientlist*/

			int fd = pthis->clientlist.front();
			pthis->clientlist.pop_front();
			pthread_mutex_unlock(&pthis->clientlist_mutex);
			
			/*recv CtoS msg*/
			int num_rcv=0;
			int allnum_rcv=0;
			while((num_rcv=recv(fd,&rcv_buf,sizeof rcv_buf,0))>=0){
        			allnum_rcv+=num_rcv;	
        			CtoS ctos;
        			memset(&ctos,0,sizeof ctos);
        			memcpy(&ctos,rcv_buf,sizeof rcv_buf);
        			//printf("fd:%d cmd:%dparkid:%dcarid:%s\n",fd,ctos.cmd,ctos.parkid,ctos.carid);
        			StoC stoc;
        			memset(&stoc,0,sizeof stoc);

				if(ctos.cmd==0){//==0
        				pthread_mutex_lock(&pthis->clientset_mutex);
        				pthis->clientset.erase(fd);
        				pthread_mutex_unlock(&pthis->clientset_mutex);
       					struct epoll_event e;
       					memset (&e,0,sizeof e);
       					e.data.fd = fd;
					e.events=EPOLLIN;
       					epoll_ctl(pthis->epollfd, EPOLL_CTL_DEL, fd,&e);
       					close(fd);
					printf("duanlian");
				}
        			/*putin*/
        			if(ctos.cmd==PUTIN){
        				/*putin(1,'S3','S4');*/
        				std::string S1 = "call putin(";
        				std::string S2 = std::to_string(ctos.parkid);
        				std::string S3 = ctos.carid;
        				std::string S4 = ctos.tele;
        				S1 = S1+S2+",'"+S3+"','"+S4+"');";
        
        				if(!mysql_query(m_sql,const_cast<char *>(S1.c_str()))){
        					stoc.cmd =PUTINSUCCESS;
        					memcpy(snd_buf,&stoc,sizeof stoc);
        					send(fd,&snd_buf,sizeof snd_buf,0);
        					//printf("putinsuccess\n");
        				}
        				else{
						//call putinupdate(1,'345');
						S1 = "call putinupdate(";
						S1 += std::to_string(ctos.parkid);
						S1+=",'";
						S1 += ctos.carid;
						S1 +="');";
						mysql_close(m_sql);
						MYSQL *m_conn = mysql_init(NULL);
						MYSQL *m_sql = mysql_real_connect(m_conn,"localhost","root","a123456","PARKING",0,NULL,0);

						if(!mysql_query(m_sql,const_cast<char *>(S1.c_str()))){
							std::cout << S1.c_str()<<std::endl;
							stoc.cmd =PUTINSUCCESS;
                                        	        memcpy(snd_buf,&stoc,sizeof stoc);
	   						send(fd,&snd_buf,sizeof snd_buf,0);
						}else{
        						stoc.cmd =PUTINFAIL;
        						memcpy(snd_buf,&stoc,sizeof snd_buf);
        						send(fd,&snd_buf,sizeof snd_buf,0);
        						//printf("putinfail\n");
						}
        				}
        
        				//sql_res = mysql_store_result(&m_sql);
        			}
        			if(ctos.cmd==PUTOUT){
        				//putout(1,'carid');
        				std::string S1 = "call putout(";
        				std::string S2 = std::to_string(ctos.parkid);
        				std::string S3 = ctos.carid;
        				S1 = S1+S2+",'"+S3+"');";
					stoc.cmd = PUTOUTFAIL;
        				if(!mysql_query(m_sql,const_cast<char *>(S1.c_str()))){
        					MYSQL_RES *result;
        					MYSQL_ROW row;
        					result = mysql_store_result(m_sql);
        					if(result!=NULL) {
        						//int num;
        						//num= mysql_num_fields(result);	
        						while((row = mysql_fetch_row(result))){
        							stoc.cmd = PUTOUTSUCCESS;
        							memcpy(stoc.carid, ctos.carid,sizeof ctos.carid);
        							if(row[0]!=NULL)
        								memcpy(stoc.ordertime,row[0],16);
        							if(row[1]!=NULL)
        								memcpy(stoc.intime,row[1],16);
        							if(row[2]!=NULL)
        								memcpy(stoc.outtime,row[2],16);
        							memcpy(snd_buf,&stoc,sizeof snd_buf); 
        						}
        						mysql_free_result(result);
        					}
        
        				}
        				else{	
        					memcpy(snd_buf,&stoc,sizeof snd_buf);
        				}
        				send(fd,&snd_buf,sizeof snd_buf,0);
        
        			}
        			if(ctos.cmd==ORDER){
        				//call porder(1,'carid','tele');
        				std::string S1 = "call porder(";
                                        std::string S2 = std::to_string(ctos.parkid);
                                        std::string S3 = ctos.carid;
                                        std::string S4 = ctos.tele;
                                        S1 = S1+S2+",'"+S3+"','"+S4+"');";
        				if(!mysql_query(m_sql,const_cast<char *>(S1.c_str()))){  
        					stoc.cmd = ORDERSUCCESS;
        				}else
        					stoc.cmd = ORDERFAIL;
        				memcpy(snd_buf,&stoc,sizeof stoc);
        				send(fd,&stoc,sizeof stoc,0);
        			}
        			if(ctos.cmd==RESET){
        				//call reset(1);
        				std::string S1 = "call reset(";
        				std::string S2 =std::to_string(ctos.parkid);
        				std::string S3 = ");";
        				S1 = S1+S2+S3;
        				if(!mysql_query(m_sql,const_cast<char *>(S1.c_str()))){
        					stoc.cmd = RESETSUCCESS;
        				}else
        					stoc.cmd = RESETFAIL;
        				memcpy(snd_buf,&stoc,sizeof stoc);
        				send(fd,&stoc,sizeof stoc,0);
        			}
        			if(ctos.cmd ==QUERY){
        				//SELECT * FROM PARKING-LOT-1;
        				std::string S1 ="SELECT * FROM parking_lot_";
        				std::string S2 = std::to_string(ctos.parkid);
        				S1 = S1+S2+" ;";
        				if(!mysql_query(m_sql,const_cast<char *>(S1.c_str()))){
        					MYSQL_RES *result;
        					MYSQL_ROW row;
        					result = mysql_store_result(m_sql);
        					while((row = mysql_fetch_row(result))){
        						memset(&stoc,0,sizeof stoc);
        						stoc.cmd=QUERYBACK;
        						if(row[0]!=NULL)//carid
        							memcpy(stoc.carid,row[0],sizeof stoc.carid );
        						if(row[1]!=NULL)//tele
        							memcpy(stoc.tele,row[1],sizeof stoc.tele);
        						if(row[2]!=NULL)//ordertime
        							memcpy(stoc.ordertime,row[2],sizeof stoc.ordertime);
        						if(row[3]!=NULL)//intime
        							memcpy(stoc.intime,row[3],sizeof stoc.intime);
        						if(row[4]!=NULL)//outtime
        							memcpy(stoc.outtime,row[4],sizeof stoc.outtime);
        						memset(snd_buf,0,sizeof snd_buf);
        						memcpy(snd_buf,&stoc,sizeof snd_buf);
							send(fd,&snd_buf,sizeof snd_buf,0);
							
        					}
						if(result!=NULL)
							mysql_free_result(result);
						stoc.cmd = QUERYOUT;
						memcpy(snd_buf,&stoc,sizeof stoc);
					        send(fd,&snd_buf,sizeof snd_buf,0);	
        				}
        				else{
        					stoc.cmd = QUERYFAIL;
        					send(fd,&snd_buf,sizeof snd_buf,0);
        				}
        			}
				if(ctos.cmd == registe){
					std::string S1 = "INSERT INTO user (user_id,user_password) VALUE ('";
					S1+=ctos.carid;
					S1+="','";
					S1+=ctos.tele;
					S1+="');";
					mysql_query(m_sql,const_cast<char *>(S1.c_str()));
				}
				if(ctos.cmd==login){
					std::string S1 = "SELECT user_password from user where user_id='";
					S1+= ctos.carid;
					S1+="';";
					mysql_query(m_sql,const_cast<char *>(S1.c_str()));
					MYSQL_RES *result;
					MYSQL_ROW row;			
					result = mysql_store_result(m_sql);
					stoc.cmd= loginfail;
					if(row = mysql_fetch_row(result)){
					if(row[0]!=NULL){
							std::string SA=ctos.tele;
							std::string SB=row[0];
							if(SA==SB){
								stoc.cmd=loginsuccess;
							}
						}
					}
					memcpy(snd_buf,&stoc,sizeof stoc);
					send(fd,&snd_buf,sizeof snd_buf,0);
				}
				if(ctos.cmd==user_query){
					std::string S1 ="select * from parking_lot_info;";
					mysql_query(m_sql,const_cast<char *>(S1.c_str()));
					MYSQL_RES *result;
					MYSQL_ROW row;
					result = mysql_store_result(m_sql);
					while((row = mysql_fetch_row(result))){
        					memset(&stoc,0,sizeof stoc);
        					stoc.cmd=QUERYBACK;
        					if(row[0]!=NULL)//parkid
        						memcpy(stoc.carid,row[0], strlen(row[0]) );
        					if(row[1]!=NULL)//tele
        						memcpy(stoc.tele,row[1],strlen(row[1]));
        					if(row[2]!=NULL)//allnum
        						memcpy(stoc.ordertime,row[2],strlen(row[2]));
        					if(row[3]!=NULL)//nownum
        						memcpy(stoc.intime,row[3],strlen(row[3]));
        					if(row[4]!=NULL)//addr
        						memcpy(stoc.outtime,row[4],strlen(row[4]));
        					memset(snd_buf,0,sizeof snd_buf);
        					memcpy(snd_buf,&stoc,sizeof snd_buf);
						send(fd,&snd_buf,sizeof snd_buf,0);	
        				}
				}
			}
        		mysql_close(m_sql);

		}
		else {
			pthread_mutex_unlock(&pthis->clientlist_mutex);
			sleep(0.1);
		}
	}
	return NULL;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x990, %rsp            # imm = 0x990
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
testb $0x1, 0x118(%rax)
je 0x5d25
movq -0x10(%rbp), %rdi
addq $0xc0, %rdi
callq 0x3430
movq -0x10(%rbp), %rdi
addq $0x28, %rdi
callq 0x6150
testb $0x1, %al
jne 0x5d09
xorl %eax, %eax
movl %eax, %edi
callq 0x3150
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rdi
leaq 0x539e(%rip), %rsi      # 0x90bc
leaq 0x53a1(%rip), %rdx      # 0x90c6
leaq 0x539f(%rip), %rcx      # 0x90cb
leaq 0x53a0(%rip), %r8       # 0x90d3
xorl %r9d, %r9d
xorl %eax, %eax
movq $0x0, (%rsp)
movq $0x0, 0x8(%rsp)
callq 0x3180
movq %rax, -0xa0(%rbp)
cmpq $0x0, -0xa0(%rbp)
jne 0x3d6d
leaq 0x5375(%rip), %rdi      # 0x90db
movb $0x0, %al
callq 0x3040
leaq -0x30(%rbp), %rdi
xorl %esi, %esi
movl $0x20, %edx
callq 0x31a0
leaq -0x90(%rbp), %rdi
xorl %esi, %esi
movl $0x58, %edx
callq 0x31a0
movq -0x10(%rbp), %rdi
addq $0x28, %rdi
callq 0x6170
movl (%rax), %eax
movl %eax, -0xa4(%rbp)
movq -0x10(%rbp), %rdi
addq $0x28, %rdi
callq 0x61a0
movq -0x10(%rbp), %rdi
addq $0xc0, %rdi
callq 0x3240
movl $0x0, -0xa8(%rbp)
movl $0x0, -0xac(%rbp)
movl -0xa4(%rbp), %edi
leaq -0x30(%rbp), %rsi
movl $0x20, %edx
xorl %ecx, %ecx
callq 0x30e0
movl %eax, -0xa8(%rbp)
cmpl $0x0, %eax
jl 0x5cfb
movl -0xa8(%rbp), %eax
addl -0xac(%rbp), %eax
movl %eax, -0xac(%rbp)
leaq -0xcc(%rbp), %rdi
xorl %esi, %esi
movl $0x20, %edx
callq 0x31a0
movq -0x30(%rbp), %rax
movq %rax, -0xcc(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0xc4(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0xbc(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0xb4(%rbp)
leaq -0x124(%rbp), %rdi
xorl %esi, %esi
movl $0x58, %edx
callq 0x31a0
cmpl $0x0, -0xcc(%rbp)
jne 0x3f00
movq -0x10(%rbp), %rdi
addq $0x98, %rdi
callq 0x3430
movq -0x10(%rbp), %rdi
addq $0x40, %rdi
leaq -0xa4(%rbp), %rsi
callq 0x61d0
movq -0x10(%rbp), %rdi
addq $0x98, %rdi
callq 0x3240
leaq -0x130(%rbp), %rdi
xorl %esi, %esi
movl $0xc, %edx
callq 0x31a0
movl -0xa4(%rbp), %eax
movl %eax, -0x12c(%rbp)
movl $0x1, -0x130(%rbp)
movq -0x10(%rbp), %rax
movl 0x1c(%rax), %edi
movl -0xa4(%rbp), %edx
movl $0x2, %esi
leaq -0x130(%rbp), %rcx
callq 0x3410
movl -0xa4(%rbp), %edi
callq 0x3510
leaq 0x51f6(%rip), %rdi      # 0x90ef
movb $0x0, %al
callq 0x3040
cmpl $0x1, -0xcc(%rbp)
jne 0x45d3
leaq -0x151(%rbp), %rdi
movq %rdi, -0x758(%rbp)
callq 0x34a0
movq -0x758(%rbp), %rdx
leaq 0x51ca(%rip), %rsi      # 0x90f8
leaq -0x150(%rbp), %rdi
callq 0x6200
jmp 0x3f3c
leaq -0x151(%rbp), %rdi
callq 0x3350
movl -0xc8(%rbp), %esi
leaq -0x188(%rbp), %rdi
callq 0x62b0
jmp 0x3f5c
leaq -0xc4(%rbp), %rax
movq %rax, -0x768(%rbp)
leaq -0x1a9(%rbp), %rdi
movq %rdi, -0x760(%rbp)
callq 0x34a0
movq -0x768(%rbp), %rsi
movq -0x760(%rbp), %rdx
leaq -0x1a8(%rbp), %rdi
callq 0x6200
jmp 0x3f99
leaq -0x1a9(%rbp), %rdi
callq 0x3350
leaq -0xb8(%rbp), %rax
movq %rax, -0x778(%rbp)
leaq -0x1d1(%rbp), %rdi
movq %rdi, -0x770(%rbp)
callq 0x34a0
movq -0x778(%rbp), %rsi
movq -0x770(%rbp), %rdx
leaq -0x1d0(%rbp), %rdi
callq 0x6200
jmp 0x3fe2
leaq -0x1d1(%rbp), %rdi
callq 0x3350
leaq -0x298(%rbp), %rdi
leaq -0x150(%rbp), %rsi
leaq -0x188(%rbp), %rdx
callq 0x6470
jmp 0x400a
leaq 0x50f4(%rip), %rdx      # 0x9105
leaq -0x278(%rbp), %rdi
leaq -0x298(%rbp), %rsi
callq 0x63d0
jmp 0x4026
leaq -0x258(%rbp), %rdi
leaq -0x278(%rbp), %rsi
leaq -0x1a8(%rbp), %rdx
callq 0x6420
jmp 0x4042
leaq 0x50bb(%rip), %rdx      # 0x9104
leaq -0x238(%rbp), %rdi
leaq -0x258(%rbp), %rsi
callq 0x63d0
jmp 0x405e
leaq -0x218(%rbp), %rdi
leaq -0x238(%rbp), %rsi
leaq -0x1d0(%rbp), %rdx
callq 0x6420
jmp 0x407a
leaq 0x5087(%rip), %rdx      # 0x9108
leaq -0x1f8(%rbp), %rdi
leaq -0x218(%rbp), %rsi
callq 0x63d0
jmp 0x4096
leaq -0x150(%rbp), %rdi
movq %rdi, -0x790(%rbp)
leaq -0x1f8(%rbp), %rsi
movq %rsi, -0x798(%rbp)
callq 0x33b0
movq -0x798(%rbp), %rdi
callq 0x31e0
leaq -0x218(%rbp), %rdi
callq 0x31e0
leaq -0x238(%rbp), %rdi
callq 0x31e0
leaq -0x258(%rbp), %rdi
callq 0x31e0
leaq -0x278(%rbp), %rdi
callq 0x31e0
leaq -0x298(%rbp), %rdi
callq 0x31e0
movq -0x790(%rbp), %rdi
movq -0xa0(%rbp), %rax
movq %rax, -0x788(%rbp)
callq 0x3110
movq -0x788(%rbp), %rdi
movq %rax, %rsi
callq 0x31f0
movl %eax, -0x77c(%rbp)
jmp 0x4130
movl -0x77c(%rbp), %eax
cmpl $0x0, %eax
jne 0x42e8
movl $0x1, -0x124(%rbp)
movq -0xd4(%rbp), %rax
movq %rax, -0x40(%rbp)
movups -0xe4(%rbp), %xmm0
movaps %xmm0, -0x50(%rbp)
movups -0x124(%rbp), %xmm0
movups -0x114(%rbp), %xmm1
movups -0x104(%rbp), %xmm2
movups -0xf4(%rbp), %xmm3
movaps %xmm3, -0x60(%rbp)
movaps %xmm2, -0x70(%rbp)
movaps %xmm1, -0x80(%rbp)
movaps %xmm0, -0x90(%rbp)
movl -0xa4(%rbp), %edi
leaq -0x90(%rbp), %rsi
movl $0x58, %edx
xorl %ecx, %ecx
callq 0x3170
jmp 0x41a9
jmp 0x456c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
leaq -0x151(%rbp), %rdi
callq 0x3350
jmp 0x5d30
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
jmp 0x45c2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
leaq -0x1a9(%rbp), %rdi
callq 0x3350
jmp 0x45b6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
leaq -0x1d1(%rbp), %rdi
callq 0x3350
jmp 0x45aa
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
jmp 0x459e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
jmp 0x42d7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
jmp 0x42cb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
jmp 0x42bf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
jmp 0x42b3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
leaq -0x218(%rbp), %rdi
callq 0x31e0
leaq -0x238(%rbp), %rdi
callq 0x31e0
leaq -0x258(%rbp), %rdi
callq 0x31e0
leaq -0x278(%rbp), %rdi
callq 0x31e0
leaq -0x298(%rbp), %rdi
callq 0x31e0
jmp 0x459e
leaq 0x4e1d(%rip), %rsi      # 0x910c
leaq -0x150(%rbp), %rdi
callq 0x3400
jmp 0x42fd
movl -0xc8(%rbp), %esi
leaq -0x2b8(%rbp), %rdi
callq 0x62b0
jmp 0x4311
leaq -0x150(%rbp), %rdi
leaq -0x2b8(%rbp), %rsi
callq 0x33d0
jmp 0x4326
leaq -0x2b8(%rbp), %rdi
callq 0x31e0
leaq 0x4dcc(%rip), %rsi      # 0x9105
leaq -0x150(%rbp), %rdi
callq 0x32b0
jmp 0x4347
leaq -0xc4(%rbp), %rsi
leaq -0x150(%rbp), %rdi
callq 0x32b0
jmp 0x435c
leaq 0x4da5(%rip), %rsi      # 0x9108
leaq -0x150(%rbp), %rdi
callq 0x32b0
jmp 0x4371
movq -0xa0(%rbp), %rdi
callq 0x33f0
jmp 0x437f
xorl %eax, %eax
movl %eax, %edi
callq 0x3150
movq %rax, -0x7a0(%rbp)
jmp 0x4391
movq -0x7a0(%rbp), %rax
movq %rax, -0x2c0(%rbp)
movq -0x2c0(%rbp), %rdi
movq %rsp, %rax
movq $0x0, 0x8(%rax)
movq $0x0, (%rax)
leaq 0x4cfd(%rip), %rsi      # 0x90bc
leaq 0x4d00(%rip), %rdx      # 0x90c6
leaq 0x4cfe(%rip), %rcx      # 0x90cb
leaq 0x4cff(%rip), %r8       # 0x90d3
xorl %r9d, %r9d
callq 0x3180
movq %rax, -0x7a8(%rbp)
jmp 0x43e5
movq -0x7a8(%rbp), %rax
movq %rax, -0x2c8(%rbp)
movq -0x2c8(%rbp), %rax
movq %rax, -0x7b8(%rbp)
leaq -0x150(%rbp), %rdi
callq 0x3110
movq -0x7b8(%rbp), %rdi
movq %rax, %rsi
callq 0x31f0
movl %eax, -0x7ac(%rbp)
jmp 0x4424
movl -0x7ac(%rbp), %eax
cmpl $0x0, %eax
jne 0x44fe
leaq -0x150(%rbp), %rdi
callq 0x3110
movq %rax, %rsi
movq 0x8b8f(%rip), %rdi      # 0xcfd8
callq 0x32c0
movq %rax, -0x7c0(%rbp)
jmp 0x4457
movq -0x7c0(%rbp), %rdi
movq 0x8b63(%rip), %rsi      # 0xcfc8
callq 0x3330
jmp 0x446c
movl $0x1, -0x124(%rbp)
movq -0xd4(%rbp), %rax
movq %rax, -0x40(%rbp)
movups -0xe4(%rbp), %xmm0
movaps %xmm0, -0x50(%rbp)
movups -0x124(%rbp), %xmm0
movups -0x114(%rbp), %xmm1
movups -0x104(%rbp), %xmm2
movups -0xf4(%rbp), %xmm3
movaps %xmm3, -0x60(%rbp)
movaps %xmm2, -0x70(%rbp)
movaps %xmm1, -0x80(%rbp)
movaps %xmm0, -0x90(%rbp)
movl -0xa4(%rbp), %edi
leaq -0x90(%rbp), %rsi
movl $0x58, %edx
xorl %ecx, %ecx
callq 0x3170
jmp 0x44d6
jmp 0x456a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
leaq -0x2b8(%rbp), %rdi
callq 0x31e0
jmp 0x459e
movl $0x0, -0x124(%rbp)
movq -0xd4(%rbp), %rax
movq %rax, -0x40(%rbp)
movups -0xe4(%rbp), %xmm0
movaps %xmm0, -0x50(%rbp)
movups -0x124(%rbp), %xmm0
movups -0x114(%rbp), %xmm1
movups -0x104(%rbp), %xmm2
movups -0xf4(%rbp), %xmm3
movaps %xmm3, -0x60(%rbp)
movaps %xmm2, -0x70(%rbp)
movaps %xmm1, -0x80(%rbp)
movaps %xmm0, -0x90(%rbp)
movl -0xa4(%rbp), %edi
leaq -0x90(%rbp), %rsi
movl $0x58, %edx
xorl %ecx, %ecx
callq 0x3170
jmp 0x4568
jmp 0x456a
jmp 0x456c
leaq -0x1d0(%rbp), %rdi
callq 0x31e0
leaq -0x1a8(%rbp), %rdi
callq 0x31e0
leaq -0x188(%rbp), %rdi
callq 0x31e0
leaq -0x150(%rbp), %rdi
callq 0x31e0
jmp 0x45d3
leaq -0x1d0(%rbp), %rdi
callq 0x31e0
leaq -0x1a8(%rbp), %rdi
callq 0x31e0
leaq -0x188(%rbp), %rdi
callq 0x31e0
leaq -0x150(%rbp), %rdi
callq 0x31e0
jmp 0x5d30
cmpl $0x2, -0xcc(%rbp)
jne 0x4a20
leaq -0x2e9(%rbp), %rdi
movq %rdi, -0x7c8(%rbp)
callq 0x34a0
movq -0x7c8(%rbp), %rdx
leaq 0x4b1d(%rip), %rsi      # 0x911e
leaq -0x2e8(%rbp), %rdi
callq 0x6200
jmp 0x460f
leaq -0x2e9(%rbp), %rdi
callq 0x3350
movl -0xc8(%rbp), %esi
leaq -0x310(%rbp), %rdi
callq 0x62b0
jmp 0x462f
leaq -0xc4(%rbp), %rax
movq %rax, -0x7d8(%rbp)
leaq -0x331(%rbp), %rdi
movq %rdi, -0x7d0(%rbp)
callq 0x34a0
movq -0x7d8(%rbp), %rsi
movq -0x7d0(%rbp), %rdx
leaq -0x330(%rbp), %rdi
callq 0x6200
jmp 0x466c
leaq -0x331(%rbp), %rdi
callq 0x3350
leaq -0x3b8(%rbp), %rdi
leaq -0x2e8(%rbp), %rsi
leaq -0x310(%rbp), %rdx
callq 0x6470
jmp 0x4694
leaq 0x4a6a(%rip), %rdx      # 0x9105
leaq -0x398(%rbp), %rdi
leaq -0x3b8(%rbp), %rsi
callq 0x63d0
jmp 0x46b0
leaq -0x378(%rbp), %rdi
leaq -0x398(%rbp), %rsi
leaq -0x330(%rbp), %rdx
callq 0x6420
jmp 0x46cc
leaq 0x4a35(%rip), %rdx      # 0x9108
leaq -0x358(%rbp), %rdi
leaq -0x378(%rbp), %rsi
callq 0x63d0
jmp 0x46e8
leaq -0x2e8(%rbp), %rdi
movq %rdi, -0x7f0(%rbp)
leaq -0x358(%rbp), %rsi
movq %rsi, -0x7f8(%rbp)
callq 0x33b0
movq -0x7f8(%rbp), %rdi
callq 0x31e0
leaq -0x378(%rbp), %rdi
callq 0x31e0
leaq -0x398(%rbp), %rdi
callq 0x31e0
leaq -0x3b8(%rbp), %rdi
callq 0x31e0
movq -0x7f0(%rbp), %rdi
movl $0x3, -0x124(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0x7e8(%rbp)
callq 0x3110
movq -0x7e8(%rbp), %rdi
movq %rax, %rsi
callq 0x31f0
movl %eax, -0x7dc(%rbp)
jmp 0x4774
movl -0x7dc(%rbp), %eax
cmpl $0x0, %eax
jne 0x499e
movq -0xa0(%rbp), %rdi
callq 0x3190
movq %rax, -0x800(%rbp)
jmp 0x4798
movq -0x800(%rbp), %rax
movq %rax, -0x3c0(%rbp)
cmpq $0x0, -0x3c0(%rbp)
je 0x499c
jmp 0x47b6
movq -0x3c0(%rbp), %rdi
callq 0x3310
movq %rax, -0x808(%rbp)
jmp 0x47cb
movq -0x808(%rbp), %rax
movq %rax, -0x3c8(%rbp)
cmpq $0x0, %rax
je 0x498c
movl $0x2, -0x124(%rbp)
movq -0xc4(%rbp), %rax
movq %rax, -0x120(%rbp)
movl -0xbc(%rbp), %eax
movl %eax, -0x118(%rbp)
movq -0x3c8(%rbp), %rax
cmpq $0x0, (%rax)
je 0x4913
movq -0x3c8(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rcx
movq %rcx, -0xe0(%rbp)
movq 0x8(%rax), %rax
movq %rax, -0xd8(%rbp)
jmp 0x4913
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
leaq -0x2e9(%rbp), %rdi
callq 0x3350
jmp 0x5d30
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
jmp 0x4a0f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
leaq -0x331(%rbp), %rdi
callq 0x3350
jmp 0x4a03
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
jmp 0x49f7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
jmp 0x4902
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
jmp 0x48f6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
leaq -0x378(%rbp), %rdi
callq 0x31e0
leaq -0x398(%rbp), %rdi
callq 0x31e0
leaq -0x3b8(%rbp), %rdi
callq 0x31e0
jmp 0x49f7
movq -0x3c8(%rbp), %rax
cmpq $0x0, 0x8(%rax)
je 0x4941
movq -0x3c8(%rbp), %rax
movq 0x8(%rax), %rax
movq (%rax), %rcx
movq %rcx, -0x108(%rbp)
movq 0x8(%rax), %rax
movq %rax, -0x100(%rbp)
movq -0x3c8(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0x496f
movq -0x3c8(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rcx
movq %rcx, -0xf4(%rbp)
movq 0x8(%rax), %rax
movq %rax, -0xec(%rbp)
leaq -0x90(%rbp), %rdi
leaq -0x124(%rbp), %rsi
movl $0x58, %edx
callq 0x3270
jmp 0x47b6
movq -0x3c0(%rbp), %rdi
callq 0x32f0
jmp 0x499a
jmp 0x499c
jmp 0x49b6
leaq -0x90(%rbp), %rdi
leaq -0x124(%rbp), %rsi
movl $0x58, %edx
callq 0x3270
movl -0xa4(%rbp), %edi
leaq -0x90(%rbp), %rsi
movl $0x58, %edx
xorl %ecx, %ecx
callq 0x3170
jmp 0x49d1
leaq -0x330(%rbp), %rdi
callq 0x31e0
leaq -0x310(%rbp), %rdi
callq 0x31e0
leaq -0x2e8(%rbp), %rdi
callq 0x31e0
jmp 0x4a20
leaq -0x330(%rbp), %rdi
callq 0x31e0
leaq -0x310(%rbp), %rdi
callq 0x31e0
leaq -0x2e8(%rbp), %rdi
callq 0x31e0
jmp 0x5d30
cmpl $0x3, -0xcc(%rbp)
jne 0x4e79
leaq -0x3e9(%rbp), %rdi
movq %rdi, -0x810(%rbp)
callq 0x34a0
movq -0x810(%rbp), %rdx
leaq 0x46dd(%rip), %rsi      # 0x912b
leaq -0x3e8(%rbp), %rdi
callq 0x6200
jmp 0x4a5c
leaq -0x3e9(%rbp), %rdi
callq 0x3350
movl -0xc8(%rbp), %esi
leaq -0x410(%rbp), %rdi
callq 0x62b0
jmp 0x4a7c
leaq -0xc4(%rbp), %rax
movq %rax, -0x820(%rbp)
leaq -0x431(%rbp), %rdi
movq %rdi, -0x818(%rbp)
callq 0x34a0
movq -0x820(%rbp), %rsi
movq -0x818(%rbp), %rdx
leaq -0x430(%rbp), %rdi
callq 0x6200
jmp 0x4ab9
leaq -0x431(%rbp), %rdi
callq 0x3350
leaq -0xb8(%rbp), %rax
movq %rax, -0x830(%rbp)
leaq -0x459(%rbp), %rdi
movq %rdi, -0x828(%rbp)
callq 0x34a0
movq -0x830(%rbp), %rsi
movq -0x828(%rbp), %rdx
leaq -0x458(%rbp), %rdi
callq 0x6200
jmp 0x4b02
leaq -0x459(%rbp), %rdi
callq 0x3350
leaq -0x520(%rbp), %rdi
leaq -0x3e8(%rbp), %rsi
leaq -0x410(%rbp), %rdx
callq 0x6470
jmp 0x4b2a
leaq 0x45d4(%rip), %rdx      # 0x9105
leaq -0x500(%rbp), %rdi
leaq -0x520(%rbp), %rsi
callq 0x63d0
jmp 0x4b46
leaq -0x4e0(%rbp), %rdi
leaq -0x500(%rbp), %rsi
leaq -0x430(%rbp), %rdx
callq 0x6420
jmp 0x4b62
leaq 0x459b(%rip), %rdx      # 0x9104
leaq -0x4c0(%rbp), %rdi
leaq -0x4e0(%rbp), %rsi
callq 0x63d0
jmp 0x4b7e
leaq -0x4a0(%rbp), %rdi
leaq -0x4c0(%rbp), %rsi
leaq -0x458(%rbp), %rdx
callq 0x6420
jmp 0x4b9a
leaq 0x4567(%rip), %rdx      # 0x9108
leaq -0x480(%rbp), %rdi
leaq -0x4a0(%rbp), %rsi
callq 0x63d0
jmp 0x4bb6
leaq -0x3e8(%rbp), %rdi
movq %rdi, -0x848(%rbp)
leaq -0x480(%rbp), %rsi
movq %rsi, -0x850(%rbp)
callq 0x33b0
movq -0x850(%rbp), %rdi
callq 0x31e0
leaq -0x4a0(%rbp), %rdi
callq 0x31e0
leaq -0x4c0(%rbp), %rdi
callq 0x31e0
leaq -0x4e0(%rbp), %rdi
callq 0x31e0
leaq -0x500(%rbp), %rdi
callq 0x31e0
leaq -0x520(%rbp), %rdi
callq 0x31e0
movq -0x848(%rbp), %rdi
movq -0xa0(%rbp), %rax
movq %rax, -0x840(%rbp)
callq 0x3110
movq -0x840(%rbp), %rdi
movq %rax, %rsi
callq 0x31f0
movl %eax, -0x834(%rbp)
jmp 0x4c50
movl -0x834(%rbp), %eax
cmpl $0x0, %eax
jne 0x4da8
movl $0x4, -0x124(%rbp)
jmp 0x4db2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
leaq -0x3e9(%rbp), %rdi
callq 0x3350
jmp 0x5d30
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
jmp 0x4e68
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
leaq -0x431(%rbp), %rdi
callq 0x3350
jmp 0x4e5c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
leaq -0x459(%rbp), %rdi
callq 0x3350
jmp 0x4e50
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
jmp 0x4e44
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
jmp 0x4d97
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
jmp 0x4d8b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
jmp 0x4d7f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
jmp 0x4d73
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
leaq -0x4a0(%rbp), %rdi
callq 0x31e0
leaq -0x4c0(%rbp), %rdi
callq 0x31e0
leaq -0x4e0(%rbp), %rdi
callq 0x31e0
leaq -0x500(%rbp), %rdi
callq 0x31e0
leaq -0x520(%rbp), %rdi
callq 0x31e0
jmp 0x4e44
movl $0x5, -0x124(%rbp)
movq -0xd4(%rbp), %rax
movq %rax, -0x40(%rbp)
movups -0xe4(%rbp), %xmm0
movaps %xmm0, -0x50(%rbp)
movups -0x124(%rbp), %xmm0
movups -0x114(%rbp), %xmm1
movups -0x104(%rbp), %xmm2
movups -0xf4(%rbp), %xmm3
movaps %xmm3, -0x60(%rbp)
movaps %xmm2, -0x70(%rbp)
movaps %xmm1, -0x80(%rbp)
movaps %xmm0, -0x90(%rbp)
movl -0xa4(%rbp), %edi
leaq -0x124(%rbp), %rsi
movl $0x58, %edx
xorl %ecx, %ecx
callq 0x3170
jmp 0x4e12
leaq -0x458(%rbp), %rdi
callq 0x31e0
leaq -0x430(%rbp), %rdi
callq 0x31e0
leaq -0x410(%rbp), %rdi
callq 0x31e0
leaq -0x3e8(%rbp), %rdi
callq 0x31e0
jmp 0x4e79
leaq -0x458(%rbp), %rdi
callq 0x31e0
leaq -0x430(%rbp), %rdi
callq 0x31e0
leaq -0x410(%rbp), %rdi
callq 0x31e0
leaq -0x3e8(%rbp), %rdi
callq 0x31e0
jmp 0x5d30
cmpl $0x4, -0xcc(%rbp)
jne 0x5120
leaq -0x541(%rbp), %rdi
movq %rdi, -0x858(%rbp)
callq 0x34a0
movq -0x858(%rbp), %rdx
leaq 0x4291(%rip), %rsi      # 0x9138
leaq -0x540(%rbp), %rdi
callq 0x6200
jmp 0x4eb5
leaq -0x541(%rbp), %rdi
callq 0x3350
movl -0xc8(%rbp), %esi
leaq -0x568(%rbp), %rdi
callq 0x62b0
jmp 0x4ed5
leaq -0x589(%rbp), %rdi
movq %rdi, -0x860(%rbp)
callq 0x34a0
movq -0x860(%rbp), %rdx
leaq 0x4213(%rip), %rsi      # 0x9109
leaq -0x588(%rbp), %rdi
callq 0x6200
jmp 0x4f04
leaq -0x589(%rbp), %rdi
callq 0x3350
leaq -0x5d0(%rbp), %rdi
leaq -0x540(%rbp), %rsi
leaq -0x568(%rbp), %rdx
callq 0x6470
jmp 0x4f2c
leaq -0x5b0(%rbp), %rdi
leaq -0x5d0(%rbp), %rsi
leaq -0x588(%rbp), %rdx
callq 0x6420
jmp 0x4f48
leaq -0x540(%rbp), %rdi
movq %rdi, -0x878(%rbp)
leaq -0x5b0(%rbp), %rsi
movq %rsi, -0x880(%rbp)
callq 0x33b0
movq -0x880(%rbp), %rdi
callq 0x31e0
leaq -0x5d0(%rbp), %rdi
callq 0x31e0
movq -0x878(%rbp), %rdi
movq -0xa0(%rbp), %rax
movq %rax, -0x870(%rbp)
callq 0x3110
movq -0x870(%rbp), %rdi
movq %rax, %rsi
callq 0x31f0
movl %eax, -0x864(%rbp)
jmp 0x4fb2
movl -0x864(%rbp), %eax
cmpl $0x0, %eax
jne 0x5067
movl $0x6, -0x124(%rbp)
jmp 0x5071
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
leaq -0x541(%rbp), %rdi
callq 0x3350
jmp 0x5d30
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
jmp 0x510f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
leaq -0x589(%rbp), %rdi
callq 0x3350
jmp 0x5103
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
jmp 0x50f7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
leaq -0x5d0(%rbp), %rdi
callq 0x31e0
jmp 0x50f7
movl $0x7, -0x124(%rbp)
movq -0xd4(%rbp), %rax
movq %rax, -0x40(%rbp)
movups -0xe4(%rbp), %xmm0
movaps %xmm0, -0x50(%rbp)
movups -0x124(%rbp), %xmm0
movups -0x114(%rbp), %xmm1
movups -0x104(%rbp), %xmm2
movups -0xf4(%rbp), %xmm3
movaps %xmm3, -0x60(%rbp)
movaps %xmm2, -0x70(%rbp)
movaps %xmm1, -0x80(%rbp)
movaps %xmm0, -0x90(%rbp)
movl -0xa4(%rbp), %edi
leaq -0x124(%rbp), %rsi
movl $0x58, %edx
xorl %ecx, %ecx
callq 0x3170
jmp 0x50d1
leaq -0x588(%rbp), %rdi
callq 0x31e0
leaq -0x568(%rbp), %rdi
callq 0x31e0
leaq -0x540(%rbp), %rdi
callq 0x31e0
jmp 0x5120
leaq -0x588(%rbp), %rdi
callq 0x31e0
leaq -0x568(%rbp), %rdi
callq 0x31e0
leaq -0x540(%rbp), %rdi
callq 0x31e0
jmp 0x5d30
cmpl $0x5, -0xcc(%rbp)
jne 0x557a
leaq -0x5f1(%rbp), %rdi
movq %rdi, -0x888(%rbp)
callq 0x34a0
movq -0x888(%rbp), %rdx
leaq 0x3ff6(%rip), %rsi      # 0x9144
leaq -0x5f0(%rbp), %rdi
callq 0x6200
jmp 0x515c
leaq -0x5f1(%rbp), %rdi
callq 0x3350
movl -0xc8(%rbp), %esi
leaq -0x618(%rbp), %rdi
callq 0x62b0
jmp 0x517c
leaq -0x658(%rbp), %rdi
leaq -0x5f0(%rbp), %rsi
leaq -0x618(%rbp), %rdx
callq 0x6470
jmp 0x5198
leaq 0x3fc0(%rip), %rdx      # 0x915f
leaq -0x638(%rbp), %rdi
leaq -0x658(%rbp), %rsi
callq 0x63d0
jmp 0x51b4
leaq -0x5f0(%rbp), %rdi
movq %rdi, -0x8a0(%rbp)
leaq -0x638(%rbp), %rsi
movq %rsi, -0x8a8(%rbp)
callq 0x33b0
movq -0x8a8(%rbp), %rdi
callq 0x31e0
leaq -0x658(%rbp), %rdi
callq 0x31e0
movq -0x8a0(%rbp), %rdi
movq -0xa0(%rbp), %rax
movq %rax, -0x898(%rbp)
callq 0x3110
movq -0x898(%rbp), %rdi
movq %rax, %rsi
callq 0x31f0
movl %eax, -0x88c(%rbp)
jmp 0x521e
movl -0x88c(%rbp), %eax
cmpl $0x0, %eax
jne 0x551c
movq -0xa0(%rbp), %rdi
callq 0x3190
movq %rax, -0x8b0(%rbp)
jmp 0x5242
movq -0x8b0(%rbp), %rax
movq %rax, -0x660(%rbp)
movq -0x660(%rbp), %rdi
callq 0x3310
movq %rax, -0x8b8(%rbp)
jmp 0x5265
movq -0x8b8(%rbp), %rax
movq %rax, -0x668(%rbp)
cmpq $0x0, %rax
je 0x5496
leaq -0x124(%rbp), %rdi
xorl %esi, %esi
movl $0x58, %edx
callq 0x31a0
movl $0xa, -0x124(%rbp)
movq -0x668(%rbp), %rax
cmpq $0x0, (%rax)
je 0x533e
movq -0x668(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rcx
movq %rcx, -0x120(%rbp)
movl 0x8(%rax), %eax
movl %eax, -0x118(%rbp)
jmp 0x533e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
leaq -0x5f1(%rbp), %rdi
callq 0x3350
jmp 0x5d30
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
jmp 0x5569
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
jmp 0x555d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
leaq -0x658(%rbp), %rdi
callq 0x31e0
jmp 0x555d
movq -0x668(%rbp), %rax
cmpq $0x0, 0x8(%rax)
je 0x536a
movq -0x668(%rbp), %rax
movq 0x8(%rax), %rax
movq (%rax), %rcx
movq %rcx, -0x114(%rbp)
movl 0x8(%rax), %eax
movl %eax, -0x10c(%rbp)
movq -0x668(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0x53a1
movq -0x668(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rcx
movq %rcx, -0xe0(%rbp)
movq 0x8(%rax), %rcx
movq %rcx, -0xd8(%rbp)
movl 0x10(%rax), %eax
movl %eax, -0xd0(%rbp)
movq -0x668(%rbp), %rax
cmpq $0x0, 0x18(%rax)
je 0x53d8
movq -0x668(%rbp), %rax
movq 0x18(%rax), %rax
movq (%rax), %rcx
movq %rcx, -0x108(%rbp)
movq 0x8(%rax), %rcx
movq %rcx, -0x100(%rbp)
movl 0x10(%rax), %eax
movl %eax, -0xf8(%rbp)
movq -0x668(%rbp), %rax
cmpq $0x0, 0x20(%rax)
je 0x540f
movq -0x668(%rbp), %rax
movq 0x20(%rax), %rax
movq (%rax), %rcx
movq %rcx, -0xf4(%rbp)
movq 0x8(%rax), %rcx
movq %rcx, -0xec(%rbp)
movl 0x10(%rax), %eax
movl %eax, -0xe4(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x50(%rbp)
movaps %xmm0, -0x60(%rbp)
movaps %xmm0, -0x70(%rbp)
movaps %xmm0, -0x80(%rbp)
movaps %xmm0, -0x90(%rbp)
movq $0x0, -0x40(%rbp)
movq -0xd4(%rbp), %rax
movq %rax, -0x40(%rbp)
movups -0xe4(%rbp), %xmm0
movaps %xmm0, -0x50(%rbp)
movups -0x124(%rbp), %xmm0
movups -0x114(%rbp), %xmm1
movups -0x104(%rbp), %xmm2
movups -0xf4(%rbp), %xmm3
movaps %xmm3, -0x60(%rbp)
movaps %xmm2, -0x70(%rbp)
movaps %xmm1, -0x80(%rbp)
movaps %xmm0, -0x90(%rbp)
movl -0xa4(%rbp), %edi
leaq -0x90(%rbp), %rsi
movl $0x58, %edx
xorl %ecx, %ecx
callq 0x3170
jmp 0x5491
jmp 0x5250
cmpq $0x0, -0x660(%rbp)
je 0x54b0
movq -0x660(%rbp), %rdi
callq 0x32f0
jmp 0x54ae
jmp 0x54b0
movl $0xb, -0x124(%rbp)
movq -0xd4(%rbp), %rax
movq %rax, -0x40(%rbp)
movups -0xe4(%rbp), %xmm0
movaps %xmm0, -0x50(%rbp)
movups -0x124(%rbp), %xmm0
movups -0x114(%rbp), %xmm1
movups -0x104(%rbp), %xmm2
movups -0xf4(%rbp), %xmm3
movaps %xmm3, -0x60(%rbp)
movaps %xmm2, -0x70(%rbp)
movaps %xmm1, -0x80(%rbp)
movaps %xmm0, -0x90(%rbp)
movl -0xa4(%rbp), %edi
leaq -0x90(%rbp), %rsi
movl $0x58, %edx
xorl %ecx, %ecx
callq 0x3170
jmp 0x551a
jmp 0x5543
movl $0x9, -0x124(%rbp)
movl -0xa4(%rbp), %edi
leaq -0x90(%rbp), %rsi
movl $0x58, %edx
xorl %ecx, %ecx
callq 0x3170
jmp 0x5541
jmp 0x5543
leaq -0x618(%rbp), %rdi
callq 0x31e0
leaq -0x5f0(%rbp), %rdi
callq 0x31e0
jmp 0x557a
leaq -0x618(%rbp), %rdi
callq 0x31e0
leaq -0x5f0(%rbp), %rdi
callq 0x31e0
jmp 0x5d30
cmpl $0xd, -0xcc(%rbp)
jne 0x5695
leaq -0x689(%rbp), %rdi
movq %rdi, -0x8c0(%rbp)
callq 0x34a0
movq -0x8c0(%rbp), %rdx
leaq 0x3bba(%rip), %rsi      # 0x9162
leaq -0x688(%rbp), %rdi
callq 0x6200
jmp 0x55b6
leaq -0x689(%rbp), %rdi
callq 0x3350
leaq -0xc4(%rbp), %rsi
leaq -0x688(%rbp), %rdi
callq 0x32b0
jmp 0x55d7
leaq 0x3b26(%rip), %rsi      # 0x9104
leaq -0x688(%rbp), %rdi
callq 0x32b0
jmp 0x55ec
leaq -0xb8(%rbp), %rsi
leaq -0x688(%rbp), %rdi
callq 0x32b0
jmp 0x5601
leaq 0x3b00(%rip), %rsi      # 0x9108
leaq -0x688(%rbp), %rdi
callq 0x32b0
jmp 0x5616
movq -0xa0(%rbp), %rax
movq %rax, -0x8c8(%rbp)
leaq -0x688(%rbp), %rdi
callq 0x3110
movq -0x8c8(%rbp), %rdi
movq %rax, %rsi
callq 0x31f0
jmp 0x5641
leaq -0x688(%rbp), %rdi
callq 0x31e0
jmp 0x5695
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
leaq -0x689(%rbp), %rdi
callq 0x3350
jmp 0x5d30
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
leaq -0x688(%rbp), %rdi
callq 0x31e0
jmp 0x5d30
cmpl $0xc, -0xcc(%rbp)
jne 0x5982
leaq -0x6b1(%rbp), %rdi
movq %rdi, -0x8d0(%rbp)
callq 0x34a0
movq -0x8d0(%rbp), %rdx
leaq 0x3ad1(%rip), %rsi      # 0x9194
leaq -0x6b0(%rbp), %rdi
callq 0x6200
jmp 0x56d1
leaq -0x6b1(%rbp), %rdi
callq 0x3350
leaq -0xc4(%rbp), %rsi
leaq -0x6b0(%rbp), %rdi
callq 0x32b0
jmp 0x56f2
leaq 0x3aca(%rip), %rsi      # 0x91c3
leaq -0x6b0(%rbp), %rdi
callq 0x32b0
jmp 0x5707
movq -0xa0(%rbp), %rax
movq %rax, -0x8d8(%rbp)
leaq -0x6b0(%rbp), %rdi
callq 0x3110
movq -0x8d8(%rbp), %rdi
movq %rax, %rsi
callq 0x31f0
jmp 0x5732
movq -0xa0(%rbp), %rdi
callq 0x3190
movq %rax, -0x8e0(%rbp)
jmp 0x5747
movq -0x8e0(%rbp), %rax
movq %rax, -0x6c0(%rbp)
movl $0xf, -0x124(%rbp)
movq -0x6c0(%rbp), %rdi
callq 0x3310
movq %rax, -0x8e8(%rbp)
jmp 0x5774
movq -0x8e8(%rbp), %rax
movq %rax, -0x6c8(%rbp)
cmpq $0x0, %rax
je 0x5903
movq -0x6c8(%rbp), %rax
cmpq $0x0, (%rax)
je 0x5901
leaq -0xb8(%rbp), %rax
movq %rax, -0x8f8(%rbp)
leaq -0x6e9(%rbp), %rdi
movq %rdi, -0x8f0(%rbp)
callq 0x34a0
movq -0x8f8(%rbp), %rsi
movq -0x8f0(%rbp), %rdx
leaq -0x6e8(%rbp), %rdi
callq 0x6200
jmp 0x57da
leaq -0x6e9(%rbp), %rdi
callq 0x3350
movq -0x6c8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x908(%rbp)
leaq -0x711(%rbp), %rdi
movq %rdi, -0x900(%rbp)
callq 0x34a0
movq -0x908(%rbp), %rsi
movq -0x900(%rbp), %rdx
leaq -0x710(%rbp), %rdi
callq 0x6200
jmp 0x5826
leaq -0x711(%rbp), %rdi
callq 0x3350
leaq -0x6e8(%rbp), %rdi
leaq -0x710(%rbp), %rsi
callq 0x64f0
testb $0x1, %al
jne 0x584e
jmp 0x58e9
movl $0xe, -0x124(%rbp)
jmp 0x58e9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
leaq -0x6b1(%rbp), %rdi
callq 0x3350
jmp 0x5d30
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
jmp 0x5971
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
leaq -0x6e9(%rbp), %rdi
callq 0x3350
jmp 0x5971
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
leaq -0x711(%rbp), %rdi
callq 0x3350
leaq -0x6e8(%rbp), %rdi
callq 0x31e0
jmp 0x5971
leaq -0x710(%rbp), %rdi
callq 0x31e0
leaq -0x6e8(%rbp), %rdi
callq 0x31e0
jmp 0x5903
movq -0xd4(%rbp), %rax
movq %rax, -0x40(%rbp)
movups -0xe4(%rbp), %xmm0
movaps %xmm0, -0x50(%rbp)
movups -0x124(%rbp), %xmm0
movups -0x114(%rbp), %xmm1
movups -0x104(%rbp), %xmm2
movups -0xf4(%rbp), %xmm3
movaps %xmm3, -0x60(%rbp)
movaps %xmm2, -0x70(%rbp)
movaps %xmm1, -0x80(%rbp)
movaps %xmm0, -0x90(%rbp)
movl -0xa4(%rbp), %edi
leaq -0x90(%rbp), %rsi
movl $0x58, %edx
xorl %ecx, %ecx
callq 0x3170
jmp 0x5963
leaq -0x6b0(%rbp), %rdi
callq 0x31e0
jmp 0x5982
leaq -0x6b0(%rbp), %rdi
callq 0x31e0
jmp 0x5d30
cmpl $0x6, -0xcc(%rbp)
jne 0x5cf6
leaq -0x739(%rbp), %rdi
movq %rdi, -0x910(%rbp)
callq 0x34a0
movq -0x910(%rbp), %rdx
leaq 0x3816(%rip), %rsi      # 0x91c6
leaq -0x738(%rbp), %rdi
callq 0x6200
jmp 0x59be
leaq -0x739(%rbp), %rdi
callq 0x3350
movq -0xa0(%rbp), %rax
movq %rax, -0x918(%rbp)
leaq -0x738(%rbp), %rdi
callq 0x3110
movq -0x918(%rbp), %rdi
movq %rax, %rsi
callq 0x31f0
jmp 0x59f5
movq -0xa0(%rbp), %rdi
callq 0x3190
movq %rax, -0x920(%rbp)
jmp 0x5a0a
movq -0x920(%rbp), %rax
movq %rax, -0x748(%rbp)
movq -0x748(%rbp), %rdi
callq 0x3310
movq %rax, -0x928(%rbp)
jmp 0x5a2d
movq -0x928(%rbp), %rax
movq %rax, -0x750(%rbp)
cmpq $0x0, %rax
je 0x5cea
leaq -0x124(%rbp), %rdi
xorl %esi, %esi
movl $0x58, %edx
callq 0x31a0
movl $0xa, -0x124(%rbp)
movq -0x750(%rbp), %rax
cmpq $0x0, (%rax)
je 0x5b03
leaq -0x124(%rbp), %rax
addq $0x4, %rax
movq %rax, -0x938(%rbp)
movq -0x750(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x930(%rbp)
movq -0x750(%rbp), %rax
movq (%rax), %rdi
callq 0x3130
movq -0x938(%rbp), %rdi
movq -0x930(%rbp), %rsi
movq %rax, %rdx
callq 0x3270
jmp 0x5b03
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
leaq -0x739(%rbp), %rdi
callq 0x3350
jmp 0x5d30
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
leaq -0x738(%rbp), %rdi
callq 0x31e0
jmp 0x5d30
movq -0x750(%rbp), %rax
cmpq $0x0, 0x8(%rax)
je 0x5b5b
leaq -0x124(%rbp), %rax
addq $0x10, %rax
movq %rax, -0x948(%rbp)
movq -0x750(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x940(%rbp)
movq -0x750(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x3130
movq -0x948(%rbp), %rdi
movq -0x940(%rbp), %rsi
movq %rax, %rdx
callq 0x3270
movq -0x750(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0x5bb3
leaq -0x124(%rbp), %rax
addq $0x44, %rax
movq %rax, -0x958(%rbp)
movq -0x750(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x950(%rbp)
movq -0x750(%rbp), %rax
movq 0x10(%rax), %rdi
callq 0x3130
movq -0x958(%rbp), %rdi
movq -0x950(%rbp), %rsi
movq %rax, %rdx
callq 0x3270
movq -0x750(%rbp), %rax
cmpq $0x0, 0x18(%rax)
je 0x5c0b
leaq -0x124(%rbp), %rax
addq $0x1c, %rax
movq %rax, -0x968(%rbp)
movq -0x750(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x960(%rbp)
movq -0x750(%rbp), %rax
movq 0x18(%rax), %rdi
callq 0x3130
movq -0x968(%rbp), %rdi
movq -0x960(%rbp), %rsi
movq %rax, %rdx
callq 0x3270
movq -0x750(%rbp), %rax
cmpq $0x0, 0x20(%rax)
je 0x5c63
leaq -0x124(%rbp), %rax
addq $0x30, %rax
movq %rax, -0x978(%rbp)
movq -0x750(%rbp), %rax
movq 0x20(%rax), %rax
movq %rax, -0x970(%rbp)
movq -0x750(%rbp), %rax
movq 0x20(%rax), %rdi
callq 0x3130
movq -0x978(%rbp), %rdi
movq -0x970(%rbp), %rsi
movq %rax, %rdx
callq 0x3270
xorps %xmm0, %xmm0
movaps %xmm0, -0x50(%rbp)
movaps %xmm0, -0x60(%rbp)
movaps %xmm0, -0x70(%rbp)
movaps %xmm0, -0x80(%rbp)
movaps %xmm0, -0x90(%rbp)
movq $0x0, -0x40(%rbp)
movq -0xd4(%rbp), %rax
movq %rax, -0x40(%rbp)
movups -0xe4(%rbp), %xmm0
movaps %xmm0, -0x50(%rbp)
movups -0x124(%rbp), %xmm0
movups -0x114(%rbp), %xmm1
movups -0x104(%rbp), %xmm2
movups -0xf4(%rbp), %xmm3
movaps %xmm3, -0x60(%rbp)
movaps %xmm2, -0x70(%rbp)
movaps %xmm1, -0x80(%rbp)
movaps %xmm0, -0x90(%rbp)
movl -0xa4(%rbp), %edi
leaq -0x90(%rbp), %rsi
movl $0x58, %edx
xorl %ecx, %ecx
callq 0x3170
jmp 0x5ce5
jmp 0x5a18
leaq -0x738(%rbp), %rdi
callq 0x31e0
jmp 0x3dd6
movq -0xa0(%rbp), %rdi
callq 0x33f0
jmp 0x5d20
movq -0x10(%rbp), %rdi
addq $0xc0, %rdi
callq 0x3240
xorl %edi, %edi
callq 0x3230
jmp 0x3cca
xorl %eax, %eax
addq $0x990, %rsp            # imm = 0x990
popq %rbp
retq
movq -0x160(%rbp), %rdi
callq 0x3490
nopl (%rax)