// File: /workspace/github_cpp_makefile_star2_O3/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x288, %rsp            # imm = 0x288
movq (%rdi), %rax
movq %rax, -0x188(%rbp)
cmpb $0x1, 0x118(%rax)
jne 0x45a7
movq -0x188(%rbp), %rax
leaq 0xc0(%rax), %r14
leaq 0x28(%rax), %rcx
movq %rcx, -0x210(%rbp)
leaq 0x98(%rax), %rcx
movq %rcx, -0x220(%rbp)
addq $0x40, %rax
movq %rax, -0x218(%rbp)
leaq -0x40(%rbp), %r13
leaq -0x90(%rbp), %r12
movq %r14, -0x208(%rbp)
movq %r14, %rdi
callq 0x2300
movq -0x210(%rbp), %rax
cmpq %rax, (%rax)
je 0x457d
xorl %edi, %edi
callq 0x2100
xorps %xmm0, %xmm0
movups %xmm0, (%rsp)
movq %rax, %rdi
leaq 0x2570(%rip), %rsi      # 0x507f
leaq 0x2573(%rip), %rdx      # 0x5089
leaq 0x2571(%rip), %rcx      # 0x508e
leaq 0x2572(%rip), %r8       # 0x5096
xorl %r9d, %r9d
callq 0x2130
movq %rax, %r15
testq %rax, %rax
jne 0x2b40
leaq 0x26d0(%rip), %rdi      # 0x520b
callq 0x2330
xorps %xmm0, %xmm0
movaps %xmm0, -0x290(%rbp)
movaps %xmm0, -0x2a0(%rbp)
movaps %xmm0, -0x280(%rbp)
movaps %xmm0, -0x270(%rbp)
movaps %xmm0, -0x260(%rbp)
movaps %xmm0, -0x250(%rbp)
movaps %xmm0, -0x240(%rbp)
movq $0x0, -0x230(%rbp)
movq -0x188(%rbp), %rcx
movq 0x28(%rcx), %r14
movl 0x10(%r14), %eax
movl %eax, -0x2c(%rbp)
decq 0x38(%rcx)
movq %r14, %rdi
callq 0x2350
movl $0x18, %esi
movq %r14, %rdi
callq 0x2250
movq -0x208(%rbp), %rdi
callq 0x21d0
movl -0x2c(%rbp), %edi
movl $0x20, %edx
leaq -0x2a0(%rbp), %rsi
xorl %ecx, %ecx
callq 0x20d0
testl %eax, %eax
js 0x4573
movq %r15, -0x98(%rbp)
movaps -0x2a0(%rbp), %xmm0
movaps -0x290(%rbp), %xmm1
movaps %xmm1, -0x150(%rbp)
movaps %xmm0, -0x160(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x1a0(%rbp)
movaps %xmm0, -0x1b0(%rbp)
movaps %xmm0, -0x1c0(%rbp)
movaps %xmm0, -0x1d0(%rbp)
movaps %xmm0, -0x1e0(%rbp)
movq $0x0, -0x190(%rbp)
movl -0x160(%rbp), %eax
testl %eax, %eax
jne 0x2cba
movq -0x220(%rbp), %r14
movq %r14, %rdi
callq 0x2300
movq -0x218(%rbp), %r15
movq %r15, %rdi
leaq -0x2c(%rbp), %rsi
callq 0x4cea
movq %r15, %rdi
movq -0x98(%rbp), %r15
movq %rax, %rsi
callq 0x4d6c
movq %r14, %rdi
callq 0x21d0
movl $0x0, -0x48(%rbp)
movl -0x2c(%rbp), %edx
movl %edx, -0x4c(%rbp)
movl $0x1, -0x50(%rbp)
movq -0x188(%rbp), %rax
movl 0x1c(%rax), %edi
movl $0x2, %esi
leaq -0x50(%rbp), %rcx
callq 0x22f0
movl -0x2c(%rbp), %edi
callq 0x23e0
leaq 0x23f1(%rip), %rdi      # 0x509e
xorl %eax, %eax
callq 0x2050
movl -0x160(%rbp), %eax
cmpl $0x1, %eax
jne 0x33aa
movq %r13, -0x50(%rbp)
leaq -0x50(%rbp), %rdi
leaq 0x23d5(%rip), %rsi      # 0x50a7
leaq 0x23d9(%rip), %rdx      # 0x50b2
callq 0x4e2a
movl -0x15c(%rbp), %r15d
movl %r15d, %r13d
negl %r13d
cmovsl %r15d, %r13d
movl $0x1, %r14d
cmpl $0xa, %r13d
jb 0x2d42
movl $0x4, %r14d
movl %r13d, %eax
cmpl $0x63, %eax
jbe 0x2d39
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x2d3f
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x2d42
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r14d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x2d04
addl $-0x3, %r14d
jmp 0x2d42
addl $-0x2, %r14d
jmp 0x2d42
decl %r14d
shrl $0x1f, %r15d
leal (%r14,%r15), %esi
leaq -0x60(%rbp), %rax
movq %rax, -0x70(%rbp)
leaq -0x70(%rbp), %rdi
movl $0x2d, %edx
callq 0x22c0
addq -0x70(%rbp), %r15
movq %r15, %rdi
movl %r14d, %esi
movl %r13d, %edx
callq 0x4b5b
leaq -0x80(%rbp), %rax
movq %rax, -0x90(%rbp)
leaq -0x158(%rbp), %r14
movq %r14, %rdi
callq 0x20f0
leaq (%rax,%r14), %rdx
movq %r12, %rdi
movq %r14, %rsi
callq 0x4e2a
leaq -0xc8(%rbp), %rax
movq %rax, -0xd8(%rbp)
leaq -0x14c(%rbp), %r14
movq %r14, %rdi
callq 0x20f0
leaq (%rax,%r14), %rdx
leaq -0xd8(%rbp), %rdi
movq %r14, %rsi
leaq -0x40(%rbp), %r13
callq 0x4e2a
movq -0x98(%rbp), %r15
leaq -0x200(%rbp), %rbx
movq %rbx, %rdi
leaq -0x50(%rbp), %rsi
leaq -0x70(%rbp), %rdx
callq 0x4a8b
leaq -0x118(%rbp), %r14
movq %rbx, %rdi
leaq 0x22b6(%rip), %rsi      # 0x50b4
callq 0x23d0
leaq -0x128(%rbp), %rsi
movq %rsi, -0x138(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2e33
movq %rdx, -0x138(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x128(%rbp)
jmp 0x2e39
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0x130(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
leaq -0x138(%rbp), %rdi
callq 0x20b0
leaq -0x170(%rbp), %rsi
movq %rsi, -0x180(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2e9d
movq %rdx, -0x180(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x170(%rbp)
jmp 0x2ea3
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0x178(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x180(%rbp), %rdi
leaq 0x21e8(%rip), %rsi      # 0x50b3
callq 0x23d0
leaq -0x108(%rbp), %rsi
movq %rsi, -0x118(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2f00
movq %rdx, -0x118(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x108(%rbp)
jmp 0x2f06
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0x110(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0xd8(%rbp), %rsi
movq -0xd0(%rbp), %rdx
movq %r14, %rdi
callq 0x20b0
leaq -0xe8(%rbp), %rsi
movq %rsi, -0xf8(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2f66
movq %rdx, -0xf8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xe8(%rbp)
jmp 0x2f6c
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0xf0(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0xf8(%rbp), %rdi
leaq 0x2123(%rip), %rsi      # 0x50b7
callq 0x23d0
leaq -0xa8(%rbp), %r14
movq %r14, -0xb8(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2fc9
movq %rdx, -0xb8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xa8(%rbp)
jmp 0x2fd0
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, -0xb0(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x50(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
callq 0x22d0
movq -0xb8(%rbp), %rdi
cmpq %r14, %rdi
je 0x3015
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0xf8(%rbp), %rdi
leaq -0xe8(%rbp), %rax
cmpq %rax, %rdi
je 0x3037
movq -0xe8(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x118(%rbp), %rdi
leaq -0x108(%rbp), %rax
cmpq %rax, %rdi
je 0x3059
movq -0x108(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x180(%rbp), %rdi
leaq -0x170(%rbp), %rax
cmpq %rax, %rdi
je 0x307b
movq -0x170(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x138(%rbp), %rdi
leaq -0x128(%rbp), %rax
cmpq %rax, %rdi
je 0x309d
movq -0x128(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x200(%rbp), %rdi
leaq -0x1f0(%rbp), %rax
cmpq %rax, %rdi
je 0x30bf
movq -0x1f0(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x50(%rbp), %rsi
movq %r15, %rdi
callq 0x2180
testl %eax, %eax
je 0x314a
movq -0x48(%rbp), %rdx
movl $0x11, %r8d
leaq -0x50(%rbp), %rdi
xorl %esi, %esi
leaq 0x1fd5(%rip), %rcx      # 0x50bb
callq 0x2340
movl -0x15c(%rbp), %r15d
movl %r15d, %r13d
negl %r13d
cmovsl %r15d, %r13d
movl $0x1, %r14d
cmpl $0xa, %r13d
jb 0x318c
movl $0x4, %r14d
movl %r13d, %eax
cmpl $0x63, %eax
jbe 0x3183
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x3189
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x318c
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r14d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x3115
addl $-0x3, %r14d
jmp 0x318c
movl $0x1, -0x1e0(%rbp)
movl $0x16, %ecx
leaq -0x280(%rbp), %rax
movq %rax, %rdi
leaq -0x1e0(%rbp), %rsi
rep  movsl (%rsi), %es:(%rdi)
movl -0x2c(%rbp), %edi
movl $0x58, %edx
movq %rax, %rsi
xorl %ecx, %ecx
callq 0x2120
jmp 0x3338
addl $-0x2, %r14d
jmp 0x318c
decl %r14d
shrl $0x1f, %r15d
leal (%r14,%r15), %esi
leaq -0xa8(%rbp), %rax
movq %rax, -0xb8(%rbp)
leaq -0xb8(%rbp), %rdi
movl $0x2d, %edx
callq 0x22c0
addq -0xb8(%rbp), %r15
movq %r15, %rdi
movl %r14d, %esi
movl %r13d, %edx
callq 0x4b5b
movq -0xb8(%rbp), %rsi
movq -0xb0(%rbp), %rdx
leaq -0x50(%rbp), %rdi
callq 0x20b0
movq -0xb8(%rbp), %rdi
leaq -0xa8(%rbp), %rax
cmpq %rax, %rdi
leaq -0x40(%rbp), %r13
movq -0x98(%rbp), %r15
je 0x320c
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x2250
leaq -0x50(%rbp), %rdi
leaq 0x1e9d(%rip), %rsi      # 0x50b4
callq 0x23d0
leaq -0x50(%rbp), %rdi
leaq -0x158(%rbp), %rsi
callq 0x23d0
leaq -0x50(%rbp), %rdi
leaq 0x1e80(%rip), %rsi      # 0x50b7
callq 0x23d0
movq %r15, %rdi
callq 0x22e0
xorl %edi, %edi
callq 0x2100
xorps %xmm0, %xmm0
movups %xmm0, (%rsp)
movq %rax, %rdi
leaq 0x1e23(%rip), %rsi      # 0x507f
leaq 0x1e26(%rip), %rdx      # 0x5089
leaq 0x1e24(%rip), %rcx      # 0x508e
leaq 0x1e25(%rip), %r8       # 0x5096
xorl %r9d, %r9d
callq 0x2130
movq -0x50(%rbp), %rsi
movq %rax, %rdi
callq 0x2180
xorl %r14d, %r14d
testl %eax, %eax
jne 0x3307
movq -0x50(%rbp), %r14
testq %r14, %r14
je 0x32b1
movq %r14, %rdi
callq 0x20f0
movq 0x3d34(%rip), %rdi      # 0x6fd8
movq %r14, %rsi
movq %rax, %rdx
callq 0x22a0
jmp 0x32cf
movq 0x3d20(%rip), %rcx      # 0x6fd8
movq (%rcx), %rax
movq -0x18(%rax), %rax
leaq (%rcx,%rax), %rdi
movl 0x20(%rcx,%rax), %esi
orl $0x1, %esi
callq 0x2360
movq 0x3d02(%rip), %rcx      # 0x6fd8
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq 0x3ce4(%rip), %rdi      # 0x6fd8
callq 0x2040
movl $0x1, %r14d
movq %rax, %rdi
callq 0x21a0
movl %r14d, -0x1e0(%rbp)
movl $0x16, %ecx
leaq -0x280(%rbp), %rax
movq %rax, %rdi
leaq -0x1e0(%rbp), %rsi
rep  movsl (%rsi), %es:(%rdi)
movl -0x2c(%rbp), %edi
movl $0x58, %edx
movq %rax, %rsi
xorl %ecx, %ecx
callq 0x2120
movq -0xd8(%rbp), %rdi
leaq -0xc8(%rbp), %rax
cmpq %rax, %rdi
je 0x335a
movq -0xc8(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x3376
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x338f
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
je 0x33a4
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2250
movl -0x160(%rbp), %eax
cmpl $0x2, %eax
leaq -0x50(%rbp), %rdi
jne 0x37b4
movq %r13, -0x50(%rbp)
leaq 0x1d0b(%rip), %rsi      # 0x50cd
leaq 0x1d10(%rip), %rdx      # 0x50d9
callq 0x4e2a
movl -0x15c(%rbp), %r15d
movl %r15d, %r13d
negl %r13d
cmovsl %r15d, %r13d
movl $0x1, %r14d
cmpl $0xa, %r13d
jb 0x3432
movl $0x4, %r14d
movl %r13d, %eax
cmpl $0x63, %eax
jbe 0x3429
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x342f
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x3432
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r14d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x33f4
addl $-0x3, %r14d
jmp 0x3432
addl $-0x2, %r14d
jmp 0x3432
decl %r14d
shrl $0x1f, %r15d
leal (%r14,%r15), %esi
leaq -0x60(%rbp), %rax
movq %rax, -0x70(%rbp)
leaq -0x70(%rbp), %rdi
movl $0x2d, %edx
callq 0x22c0
addq -0x70(%rbp), %r15
movq %r15, %rdi
movl %r14d, %esi
movl %r13d, %edx
callq 0x4b5b
leaq -0x80(%rbp), %rax
movq %rax, -0x90(%rbp)
leaq -0x158(%rbp), %r14
movq %r14, %rdi
callq 0x20f0
leaq (%rax,%r14), %rdx
movq %r12, %rdi
movq %r14, %rsi
callq 0x4e2a
leaq -0x118(%rbp), %rbx
movq %rbx, %rdi
leaq -0x50(%rbp), %rsi
leaq -0x70(%rbp), %rdx
leaq -0x40(%rbp), %r13
callq 0x4a8b
leaq -0xb8(%rbp), %r14
movq -0x98(%rbp), %r15
movq %rbx, %rdi
leaq 0x1bf6(%rip), %rsi      # 0x50b4
callq 0x23d0
leaq -0xe8(%rbp), %rsi
movq %rsi, -0xf8(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x34f3
movq %rdx, -0xf8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xe8(%rbp)
jmp 0x34f9
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0xf0(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
leaq -0xf8(%rbp), %rdi
callq 0x20b0
leaq -0xa8(%rbp), %rsi
movq %rsi, -0xb8(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x355d
movq %rdx, -0xb8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xa8(%rbp)
jmp 0x3563
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0xb0(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r14, %rdi
leaq 0x1b30(%rip), %rsi      # 0x50b7
callq 0x23d0
leaq -0xc8(%rbp), %r14
movq %r14, -0xd8(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x35bc
movq %rdx, -0xd8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xc8(%rbp)
jmp 0x35c3
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, -0xd0(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x50(%rbp), %rdi
leaq -0xd8(%rbp), %rsi
callq 0x22d0
movq -0xd8(%rbp), %rdi
cmpq %r14, %rdi
je 0x3608
movq -0xc8(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0xb8(%rbp), %rdi
leaq -0xa8(%rbp), %rax
cmpq %rax, %rdi
je 0x362a
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0xf8(%rbp), %rdi
leaq -0xe8(%rbp), %rax
cmpq %rax, %rdi
je 0x364c
movq -0xe8(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x118(%rbp), %rdi
leaq -0x108(%rbp), %rax
cmpq %rax, %rdi
je 0x366e
movq -0x108(%rbp), %rsi
incq %rsi
callq 0x2250
movl $0x3, -0x1e0(%rbp)
movq -0x50(%rbp), %rsi
movq %r15, %rdi
callq 0x2180
testl %eax, %eax
je 0x36a2
movl $0x16, %ecx
leaq -0x280(%rbp), %rdi
leaq -0x1e0(%rbp), %rsi
rep  movsl (%rsi), %es:(%rdi)
jmp 0x374a
movq %r15, %rdi
callq 0x2140
movq %rax, %r14
testq %rax, %rax
je 0x374a
movq %r14, %rdi
callq 0x2260
testq %rax, %rax
je 0x3742
movl $0x2, -0x1e0(%rbp)
leaq -0x158(%rbp), %rdx
movl 0x8(%rdx), %ecx
leaq -0x1dc(%rbp), %rsi
movl %ecx, 0x8(%rsi)
movq (%rdx), %rcx
movq %rcx, (%rsi)
movq (%rax), %rcx
testq %rcx, %rcx
je 0x36fc
movups (%rcx), %xmm0
leaq -0x19c(%rbp), %rcx
movups %xmm0, (%rcx)
movq 0x8(%rax), %rcx
testq %rcx, %rcx
je 0x3712
movups (%rcx), %xmm0
leaq -0x1c4(%rbp), %rcx
movups %xmm0, (%rcx)
movq 0x10(%rax), %rax
testq %rax, %rax
je 0x3728
movups (%rax), %xmm0
leaq -0x1b0(%rbp), %rax
movups %xmm0, (%rax)
movl $0x16, %ecx
leaq -0x280(%rbp), %rdi
leaq -0x1e0(%rbp), %rsi
rep  movsl (%rsi), %es:(%rdi)
jmp 0x36b6
movq %r14, %rdi
callq 0x2240
movl -0x2c(%rbp), %edi
movl $0x58, %edx
leaq -0x280(%rbp), %rsi
xorl %ecx, %ecx
callq 0x2120
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x377c
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x3795
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
je 0x37aa
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2250
movl -0x160(%rbp), %eax
leaq -0x50(%rbp), %rdi
cmpl $0x3, %eax
jne 0x3c72
movq %r13, -0x50(%rbp)
leaq 0x1912(%rip), %rsi      # 0x50da
leaq 0x1917(%rip), %rdx      # 0x50e6
callq 0x4e2a
movl -0x15c(%rbp), %r15d
movl %r15d, %r13d
negl %r13d
cmovsl %r15d, %r13d
movl $0x1, %r14d
cmpl $0xa, %r13d
jb 0x3838
movl $0x4, %r14d
movl %r13d, %eax
cmpl $0x63, %eax
jbe 0x382f
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x3835
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x3838
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r14d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x37fa
addl $-0x3, %r14d
jmp 0x3838
addl $-0x2, %r14d
jmp 0x3838
decl %r14d
shrl $0x1f, %r15d
leal (%r14,%r15), %esi
leaq -0x60(%rbp), %rax
movq %rax, -0x70(%rbp)
leaq -0x70(%rbp), %rdi
movl $0x2d, %edx
callq 0x22c0
addq -0x70(%rbp), %r15
movq %r15, %rdi
movl %r14d, %esi
movl %r13d, %edx
callq 0x4b5b
leaq -0x80(%rbp), %rax
movq %rax, -0x90(%rbp)
leaq -0x158(%rbp), %r14
movq %r14, %rdi
callq 0x20f0
leaq (%rax,%r14), %rdx
movq %r12, %rdi
movq %r14, %rsi
callq 0x4e2a
leaq -0xc8(%rbp), %rax
movq %rax, -0xd8(%rbp)
leaq -0x14c(%rbp), %r14
movq %r14, %rdi
callq 0x20f0
leaq (%rax,%r14), %rdx
leaq -0xd8(%rbp), %rdi
movq %r14, %rsi
leaq -0x40(%rbp), %r13
callq 0x4e2a
movq -0x98(%rbp), %r15
leaq -0x200(%rbp), %rbx
movq %rbx, %rdi
leaq -0x50(%rbp), %rsi
leaq -0x70(%rbp), %rdx
callq 0x4a8b
leaq -0x118(%rbp), %r14
movq %rbx, %rdi
leaq 0x17c0(%rip), %rsi      # 0x50b4
callq 0x23d0
leaq -0x128(%rbp), %rsi
movq %rsi, -0x138(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3929
movq %rdx, -0x138(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x128(%rbp)
jmp 0x392f
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0x130(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
leaq -0x138(%rbp), %rdi
callq 0x20b0
leaq -0x170(%rbp), %rsi
movq %rsi, -0x180(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3993
movq %rdx, -0x180(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x170(%rbp)
jmp 0x3999
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0x178(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x180(%rbp), %rdi
leaq 0x16f2(%rip), %rsi      # 0x50b3
callq 0x23d0
leaq -0x108(%rbp), %rsi
movq %rsi, -0x118(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x39f6
movq %rdx, -0x118(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x108(%rbp)
jmp 0x39fc
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0x110(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0xd8(%rbp), %rsi
movq -0xd0(%rbp), %rdx
movq %r14, %rdi
callq 0x20b0
leaq -0xe8(%rbp), %rsi
movq %rsi, -0xf8(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3a5c
movq %rdx, -0xf8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xe8(%rbp)
jmp 0x3a62
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0xf0(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0xf8(%rbp), %rdi
leaq 0x162d(%rip), %rsi      # 0x50b7
callq 0x23d0
leaq -0xa8(%rbp), %r14
movq %r14, -0xb8(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3abf
movq %rdx, -0xb8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xa8(%rbp)
jmp 0x3ac6
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, -0xb0(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x50(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
callq 0x22d0
movq -0xb8(%rbp), %rdi
cmpq %r14, %rdi
je 0x3b0b
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0xf8(%rbp), %rdi
leaq -0xe8(%rbp), %rax
cmpq %rax, %rdi
je 0x3b2d
movq -0xe8(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x118(%rbp), %rdi
leaq -0x108(%rbp), %rax
cmpq %rax, %rdi
je 0x3b4f
movq -0x108(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x180(%rbp), %rdi
leaq -0x170(%rbp), %rax
cmpq %rax, %rdi
je 0x3b71
movq -0x170(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x138(%rbp), %rdi
leaq -0x128(%rbp), %rax
cmpq %rax, %rdi
je 0x3b93
movq -0x128(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x200(%rbp), %rdi
leaq -0x1f0(%rbp), %rax
cmpq %rax, %rdi
je 0x3bb5
movq -0x1f0(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x50(%rbp), %rsi
movq %r15, %rdi
callq 0x2180
cmpl $0x1, %eax
movl $0x5, %eax
sbbl $0x0, %eax
movl %eax, -0x1e0(%rbp)
movl $0x16, %ecx
leaq -0x280(%rbp), %rdi
leaq -0x1e0(%rbp), %rax
movq %rax, %rsi
rep  movsl (%rsi), %es:(%rdi)
movl -0x2c(%rbp), %edi
movl $0x58, %edx
movq %rax, %rsi
xorl %ecx, %ecx
callq 0x2120
movq -0xd8(%rbp), %rdi
leaq -0xc8(%rbp), %rax
cmpq %rax, %rdi
je 0x3c1e
movq -0xc8(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x3c3a
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x3c53
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
je 0x3c68
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2250
movl -0x160(%rbp), %eax
leaq -0x50(%rbp), %rdi
cmpl $0x4, %eax
jne 0x3eb8
movq %r13, -0x50(%rbp)
leaq 0x1461(%rip), %rsi      # 0x50e7
leaq 0x1465(%rip), %rdx      # 0x50f2
callq 0x4e2a
movl -0x15c(%rbp), %r15d
movl %r15d, %r13d
negl %r13d
cmovsl %r15d, %r13d
movl $0x1, %r14d
cmpl $0xa, %r13d
jb 0x3cf6
movl $0x4, %r14d
movl %r13d, %eax
cmpl $0x63, %eax
jbe 0x3ced
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x3cf3
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x3cf6
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r14d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x3cb8
addl $-0x3, %r14d
jmp 0x3cf6
addl $-0x2, %r14d
jmp 0x3cf6
decl %r14d
shrl $0x1f, %r15d
leal (%r14,%r15), %esi
leaq -0x60(%rbp), %rax
movq %rax, -0x70(%rbp)
leaq -0x70(%rbp), %rdi
movl $0x2d, %edx
callq 0x22c0
addq -0x70(%rbp), %r15
movq %r15, %rdi
movl %r14d, %esi
movl %r13d, %edx
callq 0x4b5b
leaq -0x80(%rbp), %rax
movq %rax, -0x90(%rbp)
movq %r12, %rdi
leaq 0x137d(%rip), %rsi      # 0x50b8
leaq 0x1378(%rip), %rdx      # 0x50ba
callq 0x4e2a
leaq -0xb8(%rbp), %rbx
movq %rbx, %rdi
leaq -0x50(%rbp), %rsi
leaq -0x70(%rbp), %rdx
leaq -0x40(%rbp), %r13
callq 0x4a8b
movq -0x98(%rbp), %r15
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
movq %rbx, %rdi
callq 0x20b0
leaq -0xc8(%rbp), %r14
movq %r14, -0xd8(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3daf
movq %rdx, -0xd8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xc8(%rbp)
jmp 0x3db6
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, -0xd0(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x50(%rbp), %rdi
leaq -0xd8(%rbp), %rsi
callq 0x22d0
movq -0xd8(%rbp), %rdi
cmpq %r14, %rdi
je 0x3dfb
movq -0xc8(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0xb8(%rbp), %rdi
leaq -0xa8(%rbp), %rax
cmpq %rax, %rdi
je 0x3e1d
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x50(%rbp), %rsi
movq %r15, %rdi
callq 0x2180
cmpl $0x1, %eax
movl $0x7, %eax
sbbl $0x0, %eax
movl %eax, -0x1e0(%rbp)
movl $0x16, %ecx
leaq -0x280(%rbp), %rdi
leaq -0x1e0(%rbp), %rax
movq %rax, %rsi
rep  movsl (%rsi), %es:(%rdi)
movl -0x2c(%rbp), %edi
movl $0x58, %edx
movq %rax, %rsi
xorl %ecx, %ecx
callq 0x2120
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x3e80
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x3e99
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
je 0x3eae
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2250
movl -0x160(%rbp), %eax
leaq -0x50(%rbp), %rdi
cmpl $0x5, %eax
jne 0x41ec
movq %r13, -0x50(%rbp)
leaq 0x1227(%rip), %rsi      # 0x50f3
leaq 0x123a(%rip), %rdx      # 0x510d
callq 0x4e2a
movl -0x15c(%rbp), %r15d
movl %r15d, %r13d
negl %r13d
cmovsl %r15d, %r13d
movl $0x1, %r14d
cmpl $0xa, %r13d
jb 0x3f3c
movl $0x4, %r14d
movl %r13d, %eax
cmpl $0x63, %eax
jbe 0x3f33
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x3f39
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x3f3c
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r14d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x3efe
addl $-0x3, %r14d
jmp 0x3f3c
addl $-0x2, %r14d
jmp 0x3f3c
decl %r14d
movq %r12, %rbx
shrl $0x1f, %r15d
leal (%r14,%r15), %esi
leaq -0x60(%rbp), %rax
movq %rax, -0x70(%rbp)
leaq -0x70(%rbp), %r12
movq %r12, %rdi
movl $0x2d, %edx
callq 0x22c0
addq -0x70(%rbp), %r15
movq %r15, %rdi
movl %r14d, %esi
movl %r13d, %edx
callq 0x4b5b
leaq -0xd8(%rbp), %r14
movq %r14, %rdi
leaq -0x50(%rbp), %rsi
movq %r12, %rdx
callq 0x4a8b
movq %r14, %rdi
leaq 0x117c(%rip), %rsi      # 0x510e
leaq -0x40(%rbp), %r13
callq 0x23d0
movq %rbx, %r12
movq -0x98(%rbp), %rbx
leaq -0x80(%rbp), %r14
movq %r14, -0x90(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3fcf
movq %rdx, -0x90(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x80(%rbp)
jmp 0x3fd6
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, -0x88(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x50(%rbp), %rdi
movq %r12, %rsi
callq 0x22d0
movq -0x90(%rbp), %rdi
cmpq %r14, %rdi
je 0x4014
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0xd8(%rbp), %rdi
leaq -0xc8(%rbp), %rax
cmpq %rax, %rdi
je 0x4036
movq -0xc8(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x50(%rbp), %rsi
movq %rbx, %rdi
callq 0x2180
testl %eax, %eax
je 0x406b
movl $0x9, -0x1e0(%rbp)
movl -0x2c(%rbp), %edi
movl $0x58, %edx
leaq -0x280(%rbp), %rsi
xorl %ecx, %ecx
callq 0x2120
jmp 0x41ad
movq -0x98(%rbp), %rdi
callq 0x2140
movq %rax, %r15
movq %r15, %rdi
callq 0x2260
testq %rax, %rax
je 0x416c
xorps %xmm0, %xmm0
leaq -0x1dc(%rbp), %rsi
movups %xmm0, 0x40(%rsi)
movups %xmm0, 0x30(%rsi)
movups %xmm0, 0x20(%rsi)
movups %xmm0, 0x10(%rsi)
movups %xmm0, (%rsi)
movl $0x0, 0x50(%rsi)
movl $0xa, -0x1e0(%rbp)
movq (%rax), %rcx
testq %rcx, %rcx
je 0x40cd
movl 0x8(%rcx), %edx
movl %edx, 0x8(%rsi)
movq (%rcx), %rcx
movq %rcx, (%rsi)
movq 0x8(%rax), %rcx
testq %rcx, %rcx
je 0x40e9
movl 0x8(%rcx), %edx
leaq -0x1d0(%rbp), %rsi
movl %edx, 0x8(%rsi)
movq (%rcx), %rcx
movq %rcx, (%rsi)
movq 0x10(%rax), %rcx
testq %rcx, %rcx
je 0x4105
movl 0x10(%rcx), %edx
leaq -0x19c(%rbp), %rsi
movl %edx, 0x10(%rsi)
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x18(%rax), %rcx
testq %rcx, %rcx
je 0x4121
movl 0x10(%rcx), %edx
leaq -0x1c4(%rbp), %rsi
movl %edx, 0x10(%rsi)
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x20(%rax), %rax
testq %rax, %rax
je 0x413d
movl 0x10(%rax), %ecx
leaq -0x1b0(%rbp), %rdx
movl %ecx, 0x10(%rdx)
movups (%rax), %xmm0
movups %xmm0, (%rdx)
movl $0x16, %ecx
leaq -0x280(%rbp), %rax
movq %rax, %rdi
leaq -0x1e0(%rbp), %rsi
rep  movsl (%rsi), %es:(%rdi)
movl -0x2c(%rbp), %edi
movl $0x58, %edx
movq %rax, %rsi
xorl %ecx, %ecx
callq 0x2120
jmp 0x407a
testq %r15, %r15
je 0x4179
movq %r15, %rdi
callq 0x2240
movl $0xb, -0x1e0(%rbp)
movl $0x16, %ecx
leaq -0x280(%rbp), %rax
movq %rax, %rdi
leaq -0x1e0(%rbp), %rsi
rep  movsl (%rsi), %es:(%rdi)
movl -0x2c(%rbp), %edi
movl $0x58, %edx
movq %rax, %rsi
xorl %ecx, %ecx
callq 0x2120
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x41c6
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
movq -0x98(%rbp), %r15
je 0x41e2
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2250
movl -0x160(%rbp), %eax
leaq -0x50(%rbp), %rdi
cmpl $0xd, %eax
jne 0x4276
movq %r13, -0x50(%rbp)
leaq 0xf11(%rip), %rsi       # 0x5111
leaq 0xf3b(%rip), %rdx       # 0x5142
movq %rdi, %r14
callq 0x4e2a
movq %r14, %rdi
leaq -0x158(%rbp), %rsi
callq 0x23d0
movq %r14, %rdi
leaq 0xe8b(%rip), %rsi       # 0x50b3
callq 0x23d0
movq %r14, %rdi
leaq -0x14c(%rbp), %rsi
callq 0x23d0
movq %r14, %rdi
leaq 0xe71(%rip), %rsi       # 0x50b7
callq 0x23d0
movq -0x50(%rbp), %rsi
movq %r15, %rdi
callq 0x2180
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
je 0x426c
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2250
movl -0x160(%rbp), %eax
leaq -0x50(%rbp), %rdi
cmpl $0xc, %eax
jne 0x43e2
movq %r13, -0x50(%rbp)
leaq 0xeb9(%rip), %rsi       # 0x5143
leaq 0xee0(%rip), %rdx       # 0x5171
movq %rdi, %r14
callq 0x4e2a
movq %r14, %rdi
leaq -0x158(%rbp), %rsi
callq 0x23d0
leaq -0x50(%rbp), %rdi
leaq 0xebf(%rip), %rsi       # 0x5172
callq 0x23d0
movq -0x50(%rbp), %rsi
movq %r15, %rdi
callq 0x2180
movq %r15, %rdi
callq 0x2140
movl $0xf, -0x1e0(%rbp)
movq %rax, %rdi
callq 0x2260
movq %rax, %r14
testq %rax, %rax
je 0x4399
cmpq $0x0, (%r14)
je 0x4399
leaq -0x60(%rbp), %rax
movq %rax, -0x70(%rbp)
leaq -0x14c(%rbp), %r15
movq %r15, %rdi
callq 0x20f0
leaq (%rax,%r15), %rdx
leaq -0x70(%rbp), %rdi
movq %r15, %rsi
callq 0x4e2a
movq (%r14), %rsi
movq %r12, %rdi
leaq -0xd8(%rbp), %rdx
callq 0x4a4e
movq -0x68(%rbp), %rdx
cmpq -0x88(%rbp), %rdx
movq -0x98(%rbp), %r15
jne 0x4364
testq %rdx, %rdx
je 0x435a
movq -0x90(%rbp), %rsi
movq -0x70(%rbp), %rdi
callq 0x2270
testl %eax, %eax
jne 0x4364
movl $0xe, -0x1e0(%rbp)
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x4380
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x4399
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2250
movl $0x16, %ecx
leaq -0x280(%rbp), %rax
movq %rax, %rdi
leaq -0x1e0(%rbp), %rsi
rep  movsl (%rsi), %es:(%rdi)
movl -0x2c(%rbp), %edi
movl $0x58, %edx
movq %rax, %rsi
xorl %ecx, %ecx
callq 0x2120
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
je 0x43d8
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2250
movl -0x160(%rbp), %eax
leaq -0x50(%rbp), %rdi
cmpl $0x6, %eax
jne 0x4555
movq %r13, -0x50(%rbp)
leaq 0xd7f(%rip), %rsi       # 0x5175
leaq 0xd97(%rip), %rdx       # 0x5194
callq 0x4e2a
movq -0x50(%rbp), %rsi
movq %r15, %rdi
callq 0x2180
movq %r15, %rdi
callq 0x2140
movq %rax, %r15
movq %r15, %rdi
callq 0x2260
movq %rax, %r13
testq %rax, %rax
je 0x4535
xorps %xmm0, %xmm0
leaq -0x1dc(%rbp), %rbx
movups %xmm0, 0x40(%rbx)
movups %xmm0, 0x30(%rbx)
movups %xmm0, 0x20(%rbx)
movups %xmm0, 0x10(%rbx)
movups %xmm0, (%rbx)
movl $0x0, 0x50(%rbx)
movl $0xa, -0x1e0(%rbp)
movq (%r13), %r14
testq %r14, %r14
je 0x447a
movq %r14, %rdi
callq 0x20f0
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x21e0
movq 0x8(%r13), %r14
testq %r14, %r14
je 0x449d
movq %r14, %rdi
callq 0x20f0
leaq -0x1d0(%rbp), %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x21e0
movq 0x10(%r13), %r14
testq %r14, %r14
je 0x44c0
movq %r14, %rdi
callq 0x20f0
leaq -0x19c(%rbp), %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x21e0
movq 0x18(%r13), %r14
testq %r14, %r14
je 0x44e3
movq %r14, %rdi
callq 0x20f0
leaq -0x1c4(%rbp), %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x21e0
movq 0x20(%r13), %r14
testq %r14, %r14
je 0x4506
movq %r14, %rdi
callq 0x20f0
leaq -0x1b0(%rbp), %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x21e0
movl $0x16, %ecx
leaq -0x280(%rbp), %rax
movq %rax, %rdi
leaq -0x1e0(%rbp), %rsi
rep  movsl (%rsi), %es:(%rdi)
movl -0x2c(%rbp), %edi
movl $0x58, %edx
movq %rax, %rsi
xorl %ecx, %ecx
callq 0x2120
jmp 0x4419
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %r13
cmpq %r13, %rdi
je 0x454e
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x98(%rbp), %r15
movl -0x2c(%rbp), %edi
movl $0x20, %edx
leaq -0x2a0(%rbp), %rsi
xorl %ecx, %ecx
callq 0x20d0
testl %eax, %eax
jns 0x2bdb
movq %r15, %rdi
callq 0x22e0
jmp 0x458c
movq %r14, %rdi
callq 0x21d0
xorl %edi, %edi
callq 0x21c0
movq -0x188(%rbp), %rax
cmpb $0x0, 0x118(%rax)
movq -0x208(%rbp), %r14
jne 0x2adf
xorl %eax, %eax
addq $0x288, %rsp            # imm = 0x288
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x48cd
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2250
jmp 0x48cd
jmp 0x48ca
jmp 0x488b
movq %rax, %rbx
movq -0xb8(%rbp), %rdi
leaq -0xa8(%rbp), %rax
cmpq %rax, %rdi
je 0x4614
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x2250
jmp 0x4614
movq %rax, %rbx
leaq -0x40(%rbp), %r13
jmp 0x4862
jmp 0x485f
jmp 0x48ac
jmp 0x4886
jmp 0x46e4
jmp 0x46e4
jmp 0x46e4
jmp 0x4886
jmp 0x46e4
jmp 0x488b
jmp 0x46e4
movq %rax, %rbx
movq -0xd8(%rbp), %rdi
leaq -0xc8(%rbp), %rax
cmpq %rax, %rdi
je 0x48af
movq -0xc8(%rbp), %rsi
jmp 0x48a2
jmp 0x46c1
jmp 0x4711
jmp 0x46ce
jmp 0x485f
movq %rax, %rbx
movq -0xb8(%rbp), %rdi
leaq -0xa8(%rbp), %rax
cmpq %rax, %rdi
je 0x488e
movq -0xa8(%rbp), %rsi
jmp 0x487c
jmp 0x48ca
movq %rax, %rbx
jmp 0x4742
jmp 0x46e4
jmp 0x48ca
jmp 0x4711
jmp 0x4711
movq %rax, %rbx
jmp 0x47b1
jmp 0x485f
movq %rax, %rbx
leaq -0x128(%rbp), %r14
jmp 0x480d
jmp 0x48ca
jmp 0x46e4
movq %rax, %rbx
jmp 0x48e6
jmp 0x478c
jmp 0x48ca
jmp 0x47e1
movq %rax, %rbx
jmp 0x4764
jmp 0x488b
jmp 0x482a
jmp 0x4711
jmp 0x488b
movq %rax, %rbx
leaq -0x40(%rbp), %r13
jmp 0x48af
movq %rax, %rbx
movq -0xb8(%rbp), %rdi
leaq -0xa8(%rbp), %rax
cmpq %rax, %rdi
je 0x4742
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x2250
leaq -0xe8(%rbp), %rax
movq -0xf8(%rbp), %rdi
cmpq %rax, %rdi
je 0x4764
movq -0xe8(%rbp), %rsi
incq %rsi
callq 0x2250
leaq -0x108(%rbp), %rax
movq -0x118(%rbp), %rdi
cmpq %rax, %rdi
je 0x488e
movq -0x108(%rbp), %rsi
jmp 0x487c
jmp 0x48ca
movq %rax, %rbx
movq -0xf8(%rbp), %rdi
leaq -0xe8(%rbp), %rax
cmpq %rax, %rdi
je 0x47b1
movq -0xe8(%rbp), %rsi
incq %rsi
callq 0x2250
leaq -0x128(%rbp), %r14
movq -0x118(%rbp), %rdi
leaq -0x108(%rbp), %rax
cmpq %rax, %rdi
je 0x47eb
movq -0x108(%rbp), %rsi
incq %rsi
callq 0x2250
jmp 0x47eb
jmp 0x488b
movq %rax, %rbx
leaq -0x128(%rbp), %r14
movq -0x180(%rbp), %rdi
leaq -0x170(%rbp), %rax
cmpq %rax, %rdi
je 0x480d
movq -0x170(%rbp), %rsi
incq %rsi
callq 0x2250
movq -0x138(%rbp), %rdi
cmpq %r14, %rdi
je 0x482d
movq -0x128(%rbp), %rsi
incq %rsi
callq 0x2250
jmp 0x482d
movq %rax, %rbx
movq -0x200(%rbp), %rdi
leaq -0x1f0(%rbp), %rax
cmpq %rax, %rdi
je 0x4862
movq -0x1f0(%rbp), %rsi
incq %rsi
callq 0x2250
jmp 0x4862
jmp 0x48ac
jmp 0x488b
jmp 0x485f
jmp 0x488b
jmp 0x485f
jmp 0x4886
jmp 0x4886
movq %rax, %rbx
movq -0xd8(%rbp), %rdi
leaq -0xc8(%rbp), %rax
cmpq %rax, %rdi
je 0x488e
movq -0xc8(%rbp), %rsi
incq %rsi
callq 0x2250
jmp 0x488e
movq %rax, %rbx
jmp 0x48d1
movq %rax, %rbx
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x48af
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2250
jmp 0x48af
movq %rax, %rbx
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x48d1
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2250
jmp 0x48d1
movq %rax, %rbx
leaq -0x40(%rbp), %r13
movq -0x50(%rbp), %rdi
cmpq %r13, %rdi
je 0x48e6
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2250
movq %rbx, %rdi
callq 0x2380