/* All the source */
#include <iostream> // Cin/ Cout
#include <fstream>  // For Read/Write File
#include <string>
#include <sstream>  // using sstream
#include <vector>   // For using Vector
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctime>
using namespace std;
#define TILE_DIM 32    // For 2D Thread Block Allocation 
#define Block_Size 128 // For 1D Thread Block Allocation 
enum run_mode {GPU_PARA=0, CPU_GOLDEN, READ_THRU};

//int parse_cmd_line(int argc, char* argv[], string & G_File_Name, string & K_File_Name, int & Individual_Num, int & MarkerBlock_Size);

int parse_cmd_line(int argc, char* argv[], string & Z_File_Name, string & W_File_Name, string & K_File_Name, int & Individual_Num, int & Marker_Num_Length, int & MarkerPair_Block_Size, char & Run_Mode)
{ 
	if((argc!=2)&&(argc <15))
	{
		cerr <<"Please specific the correct parameters, or use parameter -u for usermanuals!" <<endl;
		return 1;
	}
	else
	{
	   for (int i=1; i<argc;i++)
       {
	       string arg=argv[i];
	       if((arg=="-z")||(arg=="-Z"))
	       {
             if(i+1<argc)
		     {
		       Z_File_Name =argv[i+1];
		     }
		     else
		     {
			   cerr<<"Parse cmd_line fail, Need to clearly specific the full file name of the first genotype matrix!" <<endl;
			   return 1; // Parse cmd_line fail
		      }
		    }	
		    
		   if((arg=="-w")||(arg=="-W"))
	       {
             if(i+1<argc)
		     {
		       W_File_Name =argv[i+1];
		     }
		     else
		     {
			   cerr<<"Parse cmd_line fail, Need to clearly specific the full file name of the second genotype matrix!" <<endl;
			   return 1; // Parse cmd_line fail
		      }
		   }	
		    
		   if((arg=="-k")||(arg=="-K"))
	       {
             if(i+1<argc)
		     {
		       K_File_Name =argv[i+1];
		     }
		     else
		     {
			   cerr<<"Parse cmd_line fail, Need to clearly specific the full file name of the output kinship matrix !" <<endl;
			   return 1; // Parse cmd_line fail
		      }
		    }        

            if((arg=="-i")||(arg=="-I"))
	        {
              if(i+1<argc)
		      {
		           Individual_Num =atoi(argv[i+1]);
		      }
		      else
		      {
			   cerr<<"Parse cmd_line fail, Need to clearly specific the Individual Number!" <<endl;
			   return 1; // Parse cmd_line fail
		      }
	        }
	        
	        if((arg=="-l")||(arg=="-L"))
	        {
              if(i+1<argc)
		      {
		           Marker_Num_Length =atoi(argv[i+1]);
		      }
		      else
		      {
			   cerr<<"Parse cmd_line fail, Need to clearly specific the Direct Marker Number Length!" <<endl;
			   return 1; // Parse cmd_line fail
		      }
	        }
	        
	        if((arg=="-b")||(arg=="-B"))
	        {
              if(i+1<argc)
		      {
		         MarkerPair_Block_Size =atoi(argv[i+1]);
		      }
		      else
		      {
			   cerr<<"Parse cmd_line fail, Need to clearly specific the Marker Pair Block Size!" <<endl;
			   return 1; // Parse cmd_line fail
		      }
	        }
	        
	        if((arg=="-m")||(arg=="-M"))
	        {
              if(i+1<argc)
		      {
		           Run_Mode =atoi(argv[i+1]);
		      }
		      else
		      {
			   cerr<<"Parse cmd_line fail, Need to clearly specific the Run Mode(0: GPU Paral; 1: Golden CPU; 2: Read thorugh) !" <<endl;
			   return 1; // Parse cmd_line fail
		      }
	        } 

		   if((arg=="-h")||(arg=="-H"))
	       {
			     cout<<"Welcome to use this program to do Kinship Matrix Calculation" <<endl;
				 cout << "The usage of input parameter arguments are listed as followings:" <<endl;
				 cout << "-h or -H: Output this Help usage message" <<endl;
				 cout << "-z or -Z: The full name of the 1st Genotype file"<<endl;
				 cout << "-w or -W: The full name of the 2nd Genotype file"<<endl;
				 cout << "-k or -K: The full name of Kinship Matrix file"<<endl;
				 cout << "-i or -I: The Individual number" <<endl;
				 cout << "-l or -L: The direct marker Length" <<endl;
				 cout << "-b or -B: The Block size for dividing the genotype marker pairs " <<endl;
				 cout << "-m or -M: Run_Mode(0, 1, 2 for the GPU/CPU/Read Through) " <<endl;
			     return 1; // Parse cmd_line fail
		    }
	    }
	}
    return 0;
}

__global__ void Genotype_Matrix_Transpose(float *GMatrix_O, float *GMatrix_I, int Matrix_Width, int Matrix_Height) //ok
{
   __shared__ float block[TILE_DIM][TILE_DIM+1];
   int xIndex = blockIdx.x * TILE_DIM + threadIdx.x;
   int yIndex = blockIdx.y * TILE_DIM + threadIdx.y;
   int Index_In = xIndex + (yIndex)*Matrix_Width;
    
   if( (xIndex < Matrix_Width) && (yIndex < Matrix_Height))
      block[threadIdx.y][threadIdx.x] = GMatrix_I[Index_In];
   else    
      block[threadIdx.y][threadIdx.x] = 0.0; //pad zero for the unarbitrary matrix 
          
   __syncthreads();
    
   xIndex = blockIdx.y * TILE_DIM + threadIdx.y;
   yIndex = blockIdx.x * TILE_DIM + threadIdx.x;
   int Index_Out = xIndex + (yIndex)*Matrix_Height;
   if( (xIndex < Matrix_Height)&&(yIndex < Matrix_Width))
      GMatrix_O[Index_Out] = block[threadIdx.y][threadIdx.x];     
      
   __syncthreads();  
     
}

__global__ void Kinship_Matrix_Cal(float *Genotype_Matrix_Transpose_In, float *Genotype_Matrix_In, float *Kinship_Matrix_Out,int Individual_Num,  int Marker_Num) 
{
   /* Use shared memory to calculate t(GM)*GM, 
    * GM is original genotype matrix, which is a mxn matrix and m is marker number; 
    * t(GM) means the transpose of the original genotype matrix, which is a nXm matrix  */
      
   __shared__ float t_s[TILE_DIM][TILE_DIM];   // shared memory for transposed matrix
   __shared__ float m_s[TILE_DIM][TILE_DIM];   // shared memory for matrix 
   
   int r_t     = TILE_DIM* blockIdx.y+ threadIdx.y; // row index for transposed matrix 
   int c_t     = threadIdx.x;                       // column index for transposed matrix
   int r_m     = threadIdx.y;                       // row index of matrix
   int c_m     = blockIdx.x* TILE_DIM+  threadIdx.x;// column index for matrix                  
   
   float entry_sub =0.0;  
   for(int i=0; i< (Marker_Num +TILE_DIM-1)/TILE_DIM; i++)
   {
	   float value_t, value_m;
	   int index_t = r_t*Marker_Num +c_t;         //linear index of transposed matrix
	   int index_m = r_m* Individual_Num+ c_m;    //linear index of genotype matrix
	   
	   if ((r_t < Individual_Num )&&(c_t < Marker_Num))	   
	       value_t = Genotype_Matrix_Transpose_In[index_t];	   
	   else	   
		   value_t =0.0;  // pad with 0
	   
	   if ((r_m< Marker_Num)&&(c_m < Individual_Num))
	       value_m = Genotype_Matrix_In[index_m];
	   else
	       value_m =0.0;  // pad with 0
	   
	   c_t += TILE_DIM;
	   r_m += TILE_DIM;    
	   t_s[threadIdx.y][threadIdx.x]  = value_t; 
	   m_s[threadIdx.y][threadIdx.x]  = value_m;	   
	   __syncthreads();
	   
	   for (int k=0; k< TILE_DIM; k++)
	     entry_sub += t_s[threadIdx.y][k]* m_s[k][threadIdx.x];
	     
	   __syncthreads();
	   	  
   }
   
   int r_k     = TILE_DIM* blockIdx.y+ threadIdx.y; // row index for kinship matrix;
   int c_k     = TILE_DIM* blockIdx.x+ threadIdx.x; // column index for kinship matrix;
   int index_k = r_k* Individual_Num+ c_k;          //linear index of kinship matrix
   
   if((r_k<Individual_Num) &&(c_k<Individual_Num))
	   Kinship_Matrix_Out[index_k] =entry_sub;
	   
   __syncthreads();
  
}

__global__ void Kinship_Matrix_Add(float *Kinship_Matrix_Sub, float *Kinship_Matrix, long Matrix_Size) 
{  
   int index  = blockIdx.x * blockDim.x + threadIdx.x;
   long stride = blockDim.x * gridDim.x; 
   for (long i = index; i < Matrix_Size; i += stride)
   Kinship_Matrix[i] = Kinship_Matrix[i] +  Kinship_Matrix_Sub[i];
   
}

__global__ void Kinship_Matrix_Normalize(float *Kinship_Matrix, long Matrix_Size, float Normalize_Rate) 
{
   int index  = blockIdx.x * blockDim.x + threadIdx.x;
   long stride = blockDim.x * gridDim.x; 
   for (long i = index; i < Matrix_Size; i += stride)
      Kinship_Matrix[i] = Kinship_Matrix[i]/Normalize_Rate ;
}

__global__ void Matrix_AllValue_Set(float *Matrix, long Matrix_Size, float Value_Set) 
{
   int index  = blockIdx.x * blockDim.x + threadIdx.x;
   int stride = blockDim.x * gridDim.x; 
   
   for (long i = index; i < Matrix_Size; i += stride)
       Matrix[i] = Value_Set;
}

/*The golden code implementation of kinship matrix calculoation, which can be used for the base evaluation of GPU paralleling*/
void Golden_Kinship_Matrix_Cal(float *Kinship_Matrix_Out, float *GMatrix_I,  int Individual_Num,  int Marker_Num)
{
	for (int i =0; i< Individual_Num; i++)
	{		
	   for (int j=0; j< Individual_Num; j++)
	   {  
		   float sum =0.0;
		   for (int m=0; m< Marker_Num; m++)
		   { 
			  	float temp1 = *(GMatrix_I+m*Individual_Num +i);
			  	float temp2 = *(GMatrix_I+m*Individual_Num +j); 
			  	sum += temp1 * temp2;			   
		   }
		   *(Kinship_Matrix_Out+i* Individual_Num+j) = sum; 		   
	   }
    }
}

void Golden_Kinship_Matrix_Add (float *Kinship_Matrix_Sub, float *Kinship_Matrix, long Matrix_Size)
{ 
	 for (long i = 0; i < Matrix_Size; i ++)
     Kinship_Matrix[i] = Kinship_Matrix[i] +  Kinship_Matrix_Sub[i];
}


void Golden_Kinship_Matrix_Normalize(float *Kinship_Matrix, long Matrix_Size, float Normalize_Rate) 
{  
   for (long i = 0; i < Matrix_Size; i ++)
      Kinship_Matrix[i] = Kinship_Matrix[i]/Normalize_Rate ;
}

void Golden_Matrix_AllValue_Set(float *Matrix, long Matrix_Size, float Value_Set) 
{   
   for (long i = 0; i < Matrix_Size; i ++)
       Matrix[i] = Value_Set;
}

int main(int argc, char* argv[])
{
   clock_t c_begin, c_end;
   c_begin=clock();
 
   // begin to calculate the time
   string Z_File_Name, W_File_Name, K_File_Name;   
   char Run_Mode;
   int Individual_Num, Marker_Num, MarkerPair_Block_Size;
   string OS_Path_Sep="//";
   long read_line_count=0;

   // Parse the command line for the inputting
   if(1==parse_cmd_line(argc, argv, Z_File_Name, W_File_Name, K_File_Name, Individual_Num, Marker_Num, MarkerPair_Block_Size, Run_Mode))
        return 1;
  
   //Open and Read the Geneotype Matrix .
	ifstream Z_File(Z_File_Name.c_str(), ios::in);
	ifstream W_File(W_File_Name.c_str(), ios::in);

    if(!Z_File.is_open())
	{
		cerr<< Z_File_Name <<" The 1st Genotype File Can't be accessed!"<<endl;
		return 1;
	}
	
	if(!W_File.is_open())
	{
		cerr<< W_File_Name <<" The 2nd Genotype File Can't be accessed!"<<endl;
		return 1;
	}
	
				
	if(Z_File && W_File)
    {
       float *Z_Matrix, *W_Matrix;
       string sLine;
       
       Z_Matrix = new float[Individual_Num*Marker_Num];
       
       int Line_Count=0;      
	   while(getline(Z_File, sLine))
	   {
		  if(sLine.empty()) ; // Ignore empty lines
		  else
		  {
            stringstream ss(sLine);
			vector <string> s_v;
			string item;
			char delim1 =','; 
			char delim2 ='\t';
		
			while(getline(ss, item, delim1))
			{
				s_v.push_back(item);
			}

			int Col_Num=s_v.size(); 
			if (Col_Num < Individual_Num)
			{
				s_v.clear(); 
				while(getline(ss, item, delim2))// try delim2;
			    {
				   s_v.push_back(item);
			    }
			    Col_Num=s_v.size(); 				
			}
			
			if(Col_Num != Individual_Num) 
			{
				cerr<< Z_File_Name <<"File Format (Indivual Num) is not right, Error at Line=" << Line_Count<<endl;
				if(Z_Matrix!=NULL) 
				{
				   delete []Z_Matrix; 
				   Z_Matrix =NULL;
			    }
		        return 1;
			}
			
			for (int i=0; i<Col_Num;i++)
			{
			   float value= atof(s_v.at(i).c_str());
			     Z_Matrix[Line_Count*Individual_Num+i] = value;
			}
          }
		  Line_Count++;
       }  
            
       if(Marker_Num != Line_Count)
       {
		   cerr<< Z_File_Name <<"File Format (Marker Num) is not Right, Total Read Line Num =" << Line_Count<<endl;
		   if(Z_Matrix!=NULL) 
		   {  
			  delete []Z_Matrix;
			  Z_Matrix =NULL;
		   }
		   return 1;
	   }
       
       Line_Count=0; 
       W_Matrix = new float[Individual_Num*Marker_Num];            
	   while(getline(W_File, sLine))
	   {
		  if(sLine.empty()) ; // Ignore empty lines
		  else
		  {
            stringstream ss(sLine);
			vector <string> s_v;
			string item;
			char delim1 =','; 
			char delim2 ='\t';
		
			while(getline(ss, item, delim1))
			{
				s_v.push_back(item);
			}

			int Col_Num=s_v.size(); 
			if (Col_Num < Individual_Num)
			{
				s_v.clear(); 
				while(getline(ss, item, delim2))// try delim2;
			    {
				   s_v.push_back(item);
			    }
			    Col_Num=s_v.size(); 				
			}
			
			if(Col_Num != Individual_Num) 
			{
				cerr<< W_File_Name <<"File Format (Indivudal Num) is not right, Error at Line=" << Line_Count<<endl;
				if(W_Matrix!=NULL) 
				{
					delete []W_Matrix;
					W_Matrix =NULL;
				}
		        return 1;
			}
			
			for (int i=0; i<Col_Num;i++)
			{
			   float value= atof(s_v.at(i).c_str());
			     W_Matrix[Line_Count*Individual_Num+i] = value;
			}
          }
		  Line_Count++;
       }
       
       if(Marker_Num != Line_Count)
       {
		   cerr<< W_File_Name <<"File Format (Marker Num) is not Right, Total Read Line Num =" << Line_Count<<endl;
		   if(W_Matrix!=NULL) 
		   {  
			  delete []W_Matrix;
			  W_Matrix =NULL;
		   }
		   return 1;
	   }
             
       float *G_Matrix, *G_Matrix_Tran, *KinshipMatrix_Sub, *KinshipMatrix;
       
       const long g_matrix_size =  Individual_Num*MarkerPair_Block_Size;
       const long k_matrix_size =  Individual_Num*Individual_Num;
       
       switch (Run_Mode)
       {
         case GPU_PARA :
            cudaMallocManaged(&G_Matrix, sizeof(float)*g_matrix_size);
            cudaMallocManaged(&G_Matrix_Tran, sizeof(float)*g_matrix_size);
            cudaMallocManaged(&KinshipMatrix_Sub, sizeof(float)*k_matrix_size);
            cudaMallocManaged(&KinshipMatrix, sizeof(float)*k_matrix_size);
            break;
         default :  
		    G_Matrix          = new float[g_matrix_size]; 
		    KinshipMatrix_Sub = new float[k_matrix_size];
		    KinshipMatrix     = new float[k_matrix_size];
		    break;
	   }
       	   
	   dim3 thread2ds(TILE_DIM,TILE_DIM);
       dim3 grid2ds((Individual_Num+TILE_DIM-1)/TILE_DIM, (MarkerPair_Block_Size+TILE_DIM-1)/TILE_DIM);
       dim3 grid2ds1((Individual_Num+TILE_DIM-1)/TILE_DIM, (Individual_Num+TILE_DIM-1)/TILE_DIM);
       dim3 thread1ds(Block_Size);
	   dim3 grid1ds((Individual_Num*Individual_Num)/Block_Size);
	   
	   int MairPair_Count =0;
	   for (int Marker_Z=0; Marker_Z < Marker_Num ; Marker_Z++)
	   for (int Marker_W=Marker_Z+1; Marker_W < Marker_Num ; Marker_W++)
	   {
		   for (int index =0; index < Individual_Num; index ++)
			 G_Matrix[MairPair_Count*Individual_Num+index] = Z_Matrix[Marker_Z*Individual_Num+index] * W_Matrix[Marker_W*Individual_Num+index];
			 
		   MairPair_Count ++;			
			
		   if (MairPair_Count < MarkerPair_Block_Size)
			  continue;
		   else  // Process the full Marker_Pair Block 
		   { 
			  switch(Run_Mode)
			  {
			    case GPU_PARA :
			       // begin to call the GPU program to calculate the partial kinship matrix			  
                   Genotype_Matrix_Transpose<<<grid2ds, thread2ds >>>(G_Matrix_Tran, G_Matrix, Individual_Num, MarkerPair_Block_Size);
                   cudaDeviceSynchronize();// Wait for GPU to finish before accessing on host
             
                   Kinship_Matrix_Cal<<<grid2ds1, thread2ds >>>(G_Matrix_Tran, G_Matrix, KinshipMatrix_Sub, Individual_Num, MarkerPair_Block_Size);  
                   cudaDeviceSynchronize(); // Wait for GPU to finish before accessing on host
			 
			       // add the block kinship matrix into the all kinship matrix
			       Kinship_Matrix_Add <<<grid1ds, thread1ds>>>(KinshipMatrix_Sub,  KinshipMatrix, k_matrix_size); 		  
		           cudaDeviceSynchronize(); // Wait for GPU to finish before accessing on host
					 
			       Matrix_AllValue_Set <<<grid1ds, thread1ds>>> (G_Matrix, g_matrix_size, 0.0);
			       cudaDeviceSynchronize(); // Wait for GPU to finish before accessing on host		
			       break;	
			    case CPU_GOLDEN:
			       Golden_Kinship_Matrix_Cal(KinshipMatrix_Sub, G_Matrix,  Individual_Num,  MarkerPair_Block_Size);
			       Golden_Kinship_Matrix_Add(KinshipMatrix_Sub, KinshipMatrix, k_matrix_size);
			       Golden_Matrix_AllValue_Set(G_Matrix, g_matrix_size, 0.0); 
			       break;
			    default :
			       break;  			         
			  }
			  MairPair_Count =0; 
		  }	   		     
	   }	  
       
       if(MairPair_Count>0) //  At the rear part of the residual marker pair lines 
       { 
		   
		   switch(Run_Mode)
		   {
			 case GPU_PARA :  
		       
                Genotype_Matrix_Transpose<<<grid2ds, thread2ds >>>(G_Matrix_Tran, G_Matrix, Individual_Num, MarkerPair_Block_Size);
                cudaDeviceSynchronize();// Wait for GPU to finish before accessing on host
                        
                Kinship_Matrix_Cal<<<grid2ds1, thread2ds >>>(G_Matrix_Tran, G_Matrix, KinshipMatrix_Sub, Individual_Num,  MarkerPair_Block_Size);  
                cudaDeviceSynchronize(); // Wait for GPU to finish before accessing on host
			 
		        // add the block kinship matrix into the all kinship matrix
		        Kinship_Matrix_Add <<<grid1ds, thread1ds>>>(KinshipMatrix_Sub,  KinshipMatrix, k_matrix_size); 
		        cudaDeviceSynchronize(); // Wait for GPU to finish before accessing on host
		        break;
		        
		     case CPU_GOLDEN:
			    Golden_Kinship_Matrix_Cal(KinshipMatrix_Sub, G_Matrix,  Individual_Num,  MarkerPair_Block_Size);
			    Golden_Kinship_Matrix_Add(KinshipMatrix_Sub, KinshipMatrix, k_matrix_size);
			    Golden_Matrix_AllValue_Set(G_Matrix, g_matrix_size, 0.0);   
		        break;
		        
			  default:
			    break;   
		   }		   
		   MairPair_Count =0;  // Reset the MairPair_Count to 0 
	   }
	   
	   // Begin to calculate the Normalized ratio 
	   float Normalize_Rate =0.0;
	   for (int i_index =0; i_index < Individual_Num; i_index++)
	   Normalize_Rate += KinshipMatrix[i_index*Individual_Num+i_index];
	  
	   Normalize_Rate =Normalize_Rate/Individual_Num;
	   
	   switch(Run_Mode)
	   {
	      case GPU_PARA : 	      
	        Kinship_Matrix_Normalize <<<grid1ds, thread1ds>>>(KinshipMatrix, k_matrix_size, Normalize_Rate) ;
	        cudaDeviceSynchronize(); // Wait for GPU to finish before accessing on host
	        break;
	      case CPU_GOLDEN:
	        Golden_Kinship_Matrix_Normalize(KinshipMatrix, k_matrix_size, Normalize_Rate);
	        break;
	      default :
	        break;
	   }
	   
	   //Output the kinship matrix
	   ofstream Kinship_File; // used to output the calculated kinship matrix 
	   Kinship_File.open(K_File_Name.c_str());
	   if(Kinship_File.is_open())
	   {
			if(Run_Mode <READ_THRU)
			{
			   char delim ='\t';			
			   for (int i_individual=0; i_individual < Individual_Num; i_individual++)
			   {
			     Kinship_File<<KinshipMatrix[i_individual*Individual_Num]; 
			     for (int j_individual=1; j_individual < Individual_Num; j_individual++)
			     {
			        Kinship_File<< delim<< KinshipMatrix[i_individual*Individual_Num + j_individual];
			     }
			     Kinship_File<<endl;  // end line			   
			   }
		    }
		    else
		    {
				Kinship_File << "Read through, Read_Line_Count is:" << read_line_count << endl;
			}
		}
		else
		{
			cerr <<"Error open the result file for the output Kinship Matrix!"<<endl;
		}

		Kinship_File.close();
	   
	    // Free the allocated matrix 	
	    switch (Run_Mode)
	    {  
		   case GPU_PARA : 
              cudaFree(G_Matrix);
              cudaFree(G_Matrix_Tran);
              cudaFree(KinshipMatrix_Sub);
              cudaFree(KinshipMatrix);  
              break;
           default:   	    
		      delete []G_Matrix; 
		      delete []KinshipMatrix_Sub;
		      delete []KinshipMatrix;
		      break;
		}     
	} 

   c_end =clock();
   double elapse_time = double (c_end-c_begin)/CLOCKS_PER_SEC; 
   cout << "Hello, the elapse time is " <<  elapse_time << " seconds" << endl;
  
}

void test_matrix_transpose() 
{
   /* The following are GPU interface for testing the GPU version for Matrix Transpose at arbitrary dimension*/ 
  
   int Matrix_Width  =10000;
   int Matrix_Height =50000;  
   dim3 threads(TILE_DIM,TILE_DIM);
   dim3 grids((Matrix_Width+TILE_DIM-1)/TILE_DIM, (Matrix_Height+TILE_DIM-1)/TILE_DIM);
   
   const long mem_size = sizeof(float)*Matrix_Width*Matrix_Height;
   float *GMatrix_O, *GMatrix_I;
   cudaMallocManaged(&GMatrix_O, mem_size);
   cudaMallocManaged(&GMatrix_I, mem_size);
  
   // initalize host data
   for(long i = 0; i < (Matrix_Width*Matrix_Height); ++i)
   GMatrix_I[i] = (float) i;
     
   Genotype_Matrix_Transpose<<<grids, threads >>>(GMatrix_O, GMatrix_I, Matrix_Width, Matrix_Height);
  
   // Wait for GPU to finish before accessing on host
   cudaDeviceSynchronize();
  
   
   float maxError = 0.0f;
   for (int i = 0; i < Matrix_Height; i++)
   { 
	   for (int j = 0; j < Matrix_Width; j++)
	   {
		   maxError = fmax(maxError, fabs(GMatrix_I[i*Matrix_Width+j]-GMatrix_O[j*Matrix_Height+i]));
		   if(maxError>0.1)
		     cout << "i=" <<i << "j=" <<j << "GMatrix_I(i,j)="  << GMatrix_I[i*Matrix_Width+j] << "GMatrix_O(j,i)=" << GMatrix_O[j*Matrix_Height+i]<< endl;
	   }
   }
     
  std::cout << "Max error: " << maxError << std::endl;
   
  cudaFree(GMatrix_O);
  cudaFree(GMatrix_I);
  return ; 	
}

void test_kinship()
{
	  /* The following are GPU interface for testing the GPU version for kinship matrix calculating by multiplying the transpose of genotype Matrix and genotype matrix at arbitrary dimension*/ 
   
   int Marker_Num =1000;
   int Individual_Num =2500;
    
   dim3 threads(TILE_DIM,TILE_DIM);
   dim3 grids((Individual_Num+TILE_DIM-1)/TILE_DIM, (Marker_Num+TILE_DIM-1)/TILE_DIM);
   
   const long genotype_matrix_size = sizeof(float)*Marker_Num*Individual_Num;
   const long kinship_matrix_size = sizeof(float)* Individual_Num*Individual_Num;
   float *Genotype_Matrix_T,  *Genotype_Matrix,  *Kinship_Matrix;
   cudaMallocManaged(&Genotype_Matrix_T, genotype_matrix_size);
   cudaMallocManaged(&Genotype_Matrix, genotype_matrix_size);
   cudaMallocManaged(&Kinship_Matrix, kinship_matrix_size);
    
   // initalize host data
   for(long i = 0; i < (Marker_Num*Individual_Num); ++i)
   Genotype_Matrix[i] = (float) 1.0*i/(Marker_Num);
     
   Genotype_Matrix_Transpose<<<grids, threads >>>(Genotype_Matrix_T, Genotype_Matrix, Individual_Num, Marker_Num);
  
   // Wait for GPU to finish before accessing on host
   cudaDeviceSynchronize();
   
      
   float maxError = 0.0f;
   for (int i = 0; i < Marker_Num; i++)
   { 
	   for (int j = 0; j < Individual_Num; j++)
	   {
		   maxError = fmax(maxError, fabs(Genotype_Matrix[i*Individual_Num+j]-Genotype_Matrix_T[j*Marker_Num+i]));
		   if(maxError>0.1)
		     cout << "i=" <<i << "j=" <<j << "Genotype_Matrix(i,j)="  << Genotype_Matrix[i*Individual_Num+j] << "Genotype_Matrix_T(j,i)=" << Genotype_Matrix_T[j*Marker_Num+i]<< endl;
	   }
   }
     
  std::cout << "Matrix Transpose Max error: " << maxError << std::endl;
  
  dim3 grids1((Individual_Num+TILE_DIM-1)/TILE_DIM, (Individual_Num+TILE_DIM-1)/TILE_DIM);
  Kinship_Matrix_Cal<<<grids1, threads >>>(Genotype_Matrix_T, Genotype_Matrix, Kinship_Matrix, Marker_Num, Individual_Num);
  
  // Wait for GPU to finish before accessing on host
  cudaDeviceSynchronize();
  std::cout <<"Kinship_Matrix[0,0]="<< Kinship_Matrix[0] <<"Kinship_Matrix[0,1]=" <<Kinship_Matrix[1] << "Kinship_Matrix[0,1023]="<< Kinship_Matrix[1023] <<"Kinship_Matrix[1,1]=" <<Kinship_Matrix[1024]<< std::endl; 
 
  cudaFree(Genotype_Matrix_T);
  cudaFree(Genotype_Matrix);
  cudaFree(Kinship_Matrix); 
  return;
}

void test_mis()
{
/*	  std::cout << "g_matrix(0,0)=" <<  G_Matrix[0]<< std::endl;
			 cudaMemset(G_Matrix, 0, g_mem_size*sizeof(float));
			 cudaMemset(KinshipMatrix_Sub, 0, k_mem_size*sizeof(float));
	  std::cout << "Line_Count= " << Line_Count << std::endl;
			 std::cout << "g_matrix(0,0)=" <<  G_Matrix[0]<< std::endl;
			 std::cout << "kmatrix_sub(0,0)=" <<  KinshipMatrix_Sub[0]<< std::endl;
			 std::cout << "kmatrix(0,0)=" <<  KinshipMatrix[0]<< std::endl;
			 std::cout << "Line_Count= " << Line_Count << std::endl;	  
		   std::cout << "kmatrix_sub( 0,0)=" <<  KinshipMatrix_Sub[0]<< std::endl;
		   std::cout << "kmatrix(0,0)=" <<  KinshipMatrix[0]<< std::endl;
		
*/

  /*   dim3 thread2ds(TILE_DIM,TILE_DIM);
       dim3 grid2ds((Individual_Num+TILE_DIM-1)/TILE_DIM, (MarkerBlock_Size+TILE_DIM-1)/TILE_DIM);*/
    
                   /*dim3 grid2ds1((Individual_Num+TILE_DIM-1)/TILE_DIM, (Individual_Num+TILE_DIM-1)/TILE_DIM);*/  
                     /*dim3 thread1ds(Block_Size);
			       dim3 grid1ds((Individual_Num*Individual_Num)/Block_Size);*/ 
			       
			       /* dim3 thread2ds(TILE_DIM,TILE_DIM);
                dim3 grid2ds((Individual_Num+TILE_DIM-1)/TILE_DIM, (MarkerBlock_Size+TILE_DIM-1)/TILE_DIM);*/
                
                 /*  dim3 grid2ds1((Individual_Num+TILE_DIM-1)/TILE_DIM, (Individual_Num+TILE_DIM-1)/TILE_DIM);*/
                   /*   dim3 thread1ds(Block_Size);
		        dim3 grid1ds((Individual_Num*Individual_Num)/Block_Size);*/
		        /*  dim3 thread1ds(Block_Size);
	        dim3 grid1ds((Individual_Num*Individual_Num)/Block_Size);*/
       
  return;
}

	.file	"tmpxft_0032e132_00000000-6_KMC2D.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB4208:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE4208:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.type	_Z17cudaMallocManagedIfE9cudaErrorPPT_mj.constprop.0.isra.0, @function
_Z17cudaMallocManagedIfE9cudaErrorPPT_mj.constprop.0.isra.0:
.LFB5075:
	.cfi_startproc
	movl	$1, %edx
	jmp	cudaMallocManaged@PLT
	.cfi_endproc
.LFE5075:
	.size	_Z17cudaMallocManagedIfE9cudaErrorPPT_mj.constprop.0.isra.0, .-_Z17cudaMallocManagedIfE9cudaErrorPPT_mj.constprop.0.isra.0
	.align 2
	.type	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc.isra.0, @function
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc.isra.0:
.LFB5076:
	.cfi_startproc
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	pushq	%rax
	.cfi_def_cfa_offset 32
	call	strlen@PLT
	movq	8(%rbx), %rdx
	movq	%rbp, %rcx
	popq	%r9
	.cfi_def_cfa_offset 24
	movq	%rbx, %rdi
	movq	%rax, %r8
	popq	%rbx
	.cfi_def_cfa_offset 16
	xorl	%esi, %esi
	popq	%rbp
	.cfi_def_cfa_offset 8
	jmp	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm@PLT
	.cfi_endproc
.LFE5076:
	.size	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc.isra.0, .-_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc.isra.0
	.align 2
	.type	_ZNSolsEPFRSoS_E.isra.0, @function
_ZNSolsEPFRSoS_E.isra.0:
.LFB5078:
	.cfi_startproc
	jmp	*%rsi
	.cfi_endproc
.LFE5078:
	.size	_ZNSolsEPFRSoS_E.isra.0, .-_ZNSolsEPFRSoS_E.isra.0
	.globl	_Z25Golden_Kinship_Matrix_CalPfS_ii
	.type	_Z25Golden_Kinship_Matrix_CalPfS_ii, @function
_Z25Golden_Kinship_Matrix_CalPfS_ii:
.LFB4187:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movq	%rdi, %r8
	xorl	%r9d, %r9d
	xorl	%edi, %edi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	movslq	%edx, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	0(,%r12,4), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
.L7:
	cmpl	%edi, %edx
	jle	.L6
	leaq	(%rsi,%rdi,4), %r14
	leaq	(%r8,%r9,4), %r13
	xorl	%eax, %eax
.L12:
	leaq	(%rsi,%rax,4), %rbx
	movq	%r14, %r11
	xorps	%xmm0, %xmm0
	xorl	%r10d, %r10d
.L10:
	cmpl	%ecx, %r10d
	jge	.L15
	movss	(%r11), %xmm1
	mulss	(%rbx), %xmm1
	incl	%r10d
	addq	%rbp, %r11
	addq	%rbp, %rbx
	addss	%xmm1, %xmm0
	jmp	.L10
.L15:
	movss	%xmm0, 0(%r13,%rax,4)
	incq	%rax
	cmpl	%eax, %edx
	jg	.L12
	incq	%rdi
	addq	%r12, %r9
	jmp	.L7
.L6:
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4187:
	.size	_Z25Golden_Kinship_Matrix_CalPfS_ii, .-_Z25Golden_Kinship_Matrix_CalPfS_ii
	.globl	_Z25Golden_Kinship_Matrix_AddPfS_l
	.type	_Z25Golden_Kinship_Matrix_AddPfS_l, @function
_Z25Golden_Kinship_Matrix_AddPfS_l:
.LFB4188:
	.cfi_startproc
	endbr64
	xorl	%eax, %eax
.L17:
	cmpq	%rdx, %rax
	jge	.L19
	movss	(%rsi,%rax,4), %xmm0
	addss	(%rdi,%rax,4), %xmm0
	movss	%xmm0, (%rsi,%rax,4)
	incq	%rax
	jmp	.L17
.L19:
	ret
	.cfi_endproc
.LFE4188:
	.size	_Z25Golden_Kinship_Matrix_AddPfS_l, .-_Z25Golden_Kinship_Matrix_AddPfS_l
	.globl	_Z31Golden_Kinship_Matrix_NormalizePflf
	.type	_Z31Golden_Kinship_Matrix_NormalizePflf, @function
_Z31Golden_Kinship_Matrix_NormalizePflf:
.LFB4189:
	.cfi_startproc
	endbr64
	xorl	%eax, %eax
.L21:
	cmpq	%rsi, %rax
	jge	.L23
	movss	(%rdi,%rax,4), %xmm1
	divss	%xmm0, %xmm1
	movss	%xmm1, (%rdi,%rax,4)
	incq	%rax
	jmp	.L21
.L23:
	ret
	.cfi_endproc
.LFE4189:
	.size	_Z31Golden_Kinship_Matrix_NormalizePflf, .-_Z31Golden_Kinship_Matrix_NormalizePflf
	.globl	_Z26Golden_Matrix_AllValue_SetPflf
	.type	_Z26Golden_Matrix_AllValue_SetPflf, @function
_Z26Golden_Matrix_AllValue_SetPflf:
.LFB4190:
	.cfi_startproc
	endbr64
	xorl	%eax, %eax
.L25:
	cmpq	%rsi, %rax
	jge	.L27
	movss	%xmm0, (%rdi,%rax,4)
	incq	%rax
	jmp	.L25
.L27:
	ret
	.cfi_endproc
.LFE4190:
	.size	_Z26Golden_Matrix_AllValue_SetPflf, .-_Z26Golden_Matrix_AllValue_SetPflf
	.globl	_Z8test_misv
	.type	_Z8test_misv, @function
_Z8test_misv:
.LFB4205:
	.cfi_startproc
	endbr64
	ret
	.cfi_endproc
.LFE4205:
	.size	_Z8test_misv, .-_Z8test_misv
	.globl	_Z49__device_stub__Z25Genotype_Matrix_TransposePfS_iiPfS_ii
	.type	_Z49__device_stub__Z25Genotype_Matrix_TransposePfS_iiPfS_ii, @function
_Z49__device_stub__Z25Genotype_Matrix_TransposePfS_iiPfS_ii:
.LFB4230:
	.cfi_startproc
	endbr64
	subq	$152, %rsp
	.cfi_def_cfa_offset 160
	movq	%rdi, 24(%rsp)
	leaq	56(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	68(%rsp), %rsi
	movl	%edx, 12(%rsp)
	leaq	40(%rsp), %rdx
	movl	%ecx, 8(%rsp)
	leaq	48(%rsp), %rcx
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 64(%rsp)
	movq	%rax, 104(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 112(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 120(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 128(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movq	%rax, 68(%rsp)
	movl	$1, 76(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L29
	pushq	48(%rsp)
	.cfi_def_cfa_offset 168
	leaq	_Z25Genotype_Matrix_TransposePfS_ii(%rip), %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 176
	movq	84(%rsp), %rcx
	movl	92(%rsp), %r8d
	movq	72(%rsp), %rsi
	movl	80(%rsp), %edx
	leaq	120(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 168
	popq	%rdx
	.cfi_def_cfa_offset 160
.L29:
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	addq	$152, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4230:
	.size	_Z49__device_stub__Z25Genotype_Matrix_TransposePfS_iiPfS_ii, .-_Z49__device_stub__Z25Genotype_Matrix_TransposePfS_iiPfS_ii
	.globl	_Z25Genotype_Matrix_TransposePfS_ii
	.type	_Z25Genotype_Matrix_TransposePfS_ii, @function
_Z25Genotype_Matrix_TransposePfS_ii:
.LFB4231:
	.cfi_startproc
	endbr64
	jmp	_Z49__device_stub__Z25Genotype_Matrix_TransposePfS_iiPfS_ii
	.cfi_endproc
.LFE4231:
	.size	_Z25Genotype_Matrix_TransposePfS_ii, .-_Z25Genotype_Matrix_TransposePfS_ii
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"i="
.LC4:
	.string	"j="
.LC5:
	.string	"GMatrix_I(i,j)="
.LC6:
	.string	"GMatrix_O(j,i)="
.LC7:
	.string	"Max error: "
	.text
	.globl	_Z21test_matrix_transposev
	.type	_Z21test_matrix_transposev, @function
_Z21test_matrix_transposev:
.LFB4203:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$2000000000, %esi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$72, %rsp
	.cfi_def_cfa_offset 128
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	movabsq	$137438953504, %rax
	leaq	16(%rsp), %rdi
	movl	$1, 40(%rsp)
	movl	$1, 52(%rsp)
	movq	%rax, 32(%rsp)
	movabsq	$6713033883961, %rax
	movq	%rax, 44(%rsp)
	call	_Z17cudaMallocManagedIfE9cudaErrorPPT_mj.constprop.0.isra.0
	leaq	24(%rsp), %rdi
	movl	$2000000000, %esi
	call	_Z17cudaMallocManagedIfE9cudaErrorPPT_mj.constprop.0.isra.0
	movq	24(%rsp), %rdx
	xorl	%eax, %eax
.L35:
	cvtsi2ssq	%rax, %xmm0
	movss	%xmm0, (%rdx,%rax,4)
	incq	%rax
	cmpq	$500000000, %rax
	jne	.L35
	movl	40(%rsp), %ecx
	movq	32(%rsp), %rdx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	44(%rsp), %rdi
	movl	52(%rsp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L36
	movq	24(%rsp), %rsi
	movq	16(%rsp), %rdi
	movl	$50000, %ecx
	movl	$10000, %edx
	call	_Z49__device_stub__Z25Genotype_Matrix_TransposePfS_iiPfS_ii
.L36:
	call	cudaDeviceSynchronize@PLT
	xorl	%r15d, %r15d
	xorps	%xmm1, %xmm1
.L37:
	imulq	$40000, %r15, %r13
	movl	%r15d, %r14d
	leaq	0(,%r15,4), %rbp
	xorl	%ebx, %ebx
.L40:
	movq	24(%rsp), %rax
	leaq	0(%r13,%rbx,4), %r12
	movss	(%rax,%r12), %xmm0
	movq	16(%rsp), %rax
	subss	(%rax,%rbp), %xmm0
	andps	.LC1(%rip), %xmm0
	call	fmaxf@PLT
	cvtss2sd	%xmm0, %xmm2
	comisd	.LC2(%rip), %xmm2
	movaps	%xmm0, %xmm1
	movsd	%xmm2, (%rsp)
	jbe	.L38
	leaq	.LC3(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	movss	%xmm0, 12(%rsp)
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	%r14d, %esi
	movq	%rax, %rdi
	call	_ZNSolsEi@PLT
	leaq	.LC4(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	%ebx, %esi
	movq	%rax, %rdi
	call	_ZNSolsEi@PLT
	leaq	.LC5(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	24(%rsp), %rax
	cvtss2sd	(%rax,%r12), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	leaq	.LC6(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	16(%rsp), %rax
	cvtss2sd	(%rax,%rbp), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movss	12(%rsp), %xmm1
.L38:
	incq	%rbx
	addq	$200000, %rbp
	cmpq	$10000, %rbx
	jne	.L40
	incq	%r15
	cmpq	$50000, %r15
	jne	.L37
	leaq	.LC7(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movsd	(%rsp), %xmm0
	movq	%rax, %rdi
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	16(%rsp), %rdi
	call	cudaFree@PLT
	movq	24(%rsp), %rdi
	call	cudaFree@PLT
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	addq	$72, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4203:
	.size	_Z21test_matrix_transposev, .-_Z21test_matrix_transposev
	.globl	_Z44__device_stub__Z18Kinship_Matrix_CalPfS_S_iiPfS_S_ii
	.type	_Z44__device_stub__Z18Kinship_Matrix_CalPfS_S_iiPfS_S_ii, @function
_Z44__device_stub__Z18Kinship_Matrix_CalPfS_S_iiPfS_S_ii:
.LFB4232:
	.cfi_startproc
	endbr64
	subq	$152, %rsp
	.cfi_def_cfa_offset 160
	movq	%rdi, 24(%rsp)
	leaq	48(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	60(%rsp), %rsi
	movq	%rdx, 8(%rsp)
	leaq	32(%rsp), %rdx
	movl	%ecx, 4(%rsp)
	leaq	40(%rsp), %rcx
	movl	%r8d, (%rsp)
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 56(%rsp)
	movq	%rax, 96(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 104(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 112(%rsp)
	leaq	4(%rsp), %rax
	movq	%rax, 120(%rsp)
	movq	%rsp, %rax
	movq	%rax, 128(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 48(%rsp)
	movq	%rax, 60(%rsp)
	movl	$1, 68(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L47
	pushq	40(%rsp)
	.cfi_def_cfa_offset 168
	leaq	_Z18Kinship_Matrix_CalPfS_S_ii(%rip), %rdi
	pushq	40(%rsp)
	.cfi_def_cfa_offset 176
	movq	76(%rsp), %rcx
	movl	84(%rsp), %r8d
	movq	64(%rsp), %rsi
	movl	72(%rsp), %edx
	leaq	112(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 168
	popq	%rdx
	.cfi_def_cfa_offset 160
.L47:
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	je	.L49
	call	__stack_chk_fail@PLT
.L49:
	addq	$152, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4232:
	.size	_Z44__device_stub__Z18Kinship_Matrix_CalPfS_S_iiPfS_S_ii, .-_Z44__device_stub__Z18Kinship_Matrix_CalPfS_S_iiPfS_S_ii
	.globl	_Z18Kinship_Matrix_CalPfS_S_ii
	.type	_Z18Kinship_Matrix_CalPfS_S_ii, @function
_Z18Kinship_Matrix_CalPfS_S_ii:
.LFB4233:
	.cfi_startproc
	endbr64
	jmp	_Z44__device_stub__Z18Kinship_Matrix_CalPfS_S_iiPfS_S_ii
	.cfi_endproc
.LFE4233:
	.size	_Z18Kinship_Matrix_CalPfS_S_ii, .-_Z18Kinship_Matrix_CalPfS_S_ii
	.section	.rodata.str1.1
.LC9:
	.string	"Genotype_Matrix(i,j)="
.LC10:
	.string	"Genotype_Matrix_T(j,i)="
.LC11:
	.string	"Matrix Transpose Max error: "
.LC12:
	.string	"Kinship_Matrix[0,0]="
.LC13:
	.string	"Kinship_Matrix[0,1]="
.LC14:
	.string	"Kinship_Matrix[0,1023]="
.LC15:
	.string	"Kinship_Matrix[1,1]="
	.text
	.globl	_Z12test_kinshipv
	.type	_Z12test_kinshipv, @function
_Z12test_kinshipv:
.LFB4204:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$10000000, %esi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$104, %rsp
	.cfi_def_cfa_offset 160
	movq	%fs:40, %rax
	movq	%rax, 88(%rsp)
	movabsq	$137438953504, %rax
	leaq	24(%rsp), %rdi
	movl	$1, 60(%rsp)
	movl	$1, 72(%rsp)
	movq	%rax, 52(%rsp)
	addq	$47, %rax
	movq	%rax, 64(%rsp)
	call	_Z17cudaMallocManagedIfE9cudaErrorPPT_mj.constprop.0.isra.0
	leaq	32(%rsp), %rdi
	movl	$10000000, %esi
	call	_Z17cudaMallocManagedIfE9cudaErrorPPT_mj.constprop.0.isra.0
	leaq	40(%rsp), %rdi
	movl	$25000000, %esi
	call	_Z17cudaMallocManagedIfE9cudaErrorPPT_mj.constprop.0.isra.0
	movq	32(%rsp), %rdx
	movss	.LC8(%rip), %xmm1
	xorl	%eax, %eax
.L53:
	cvtsi2ssq	%rax, %xmm0
	divss	%xmm1, %xmm0
	movss	%xmm0, (%rdx,%rax,4)
	incq	%rax
	cmpq	$2500000, %rax
	jne	.L53
	movl	60(%rsp), %ecx
	movq	52(%rsp), %rdx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	64(%rsp), %rdi
	movl	72(%rsp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L54
	movq	32(%rsp), %rsi
	movq	24(%rsp), %rdi
	movl	$1000, %ecx
	movl	$2500, %edx
	call	_Z49__device_stub__Z25Genotype_Matrix_TransposePfS_iiPfS_ii
.L54:
	call	cudaDeviceSynchronize@PLT
	xorl	%r15d, %r15d
	xorps	%xmm1, %xmm1
.L55:
	imulq	$10000, %r15, %r13
	movl	%r15d, %r14d
	leaq	0(,%r15,4), %rbp
	xorl	%ebx, %ebx
.L58:
	movq	32(%rsp), %rax
	leaq	0(%r13,%rbx,4), %r12
	movss	(%rax,%r12), %xmm0
	movq	24(%rsp), %rax
	subss	(%rax,%rbp), %xmm0
	andps	.LC1(%rip), %xmm0
	call	fmaxf@PLT
	cvtss2sd	%xmm0, %xmm2
	comisd	.LC2(%rip), %xmm2
	movaps	%xmm0, %xmm1
	movsd	%xmm2, (%rsp)
	jbe	.L56
	leaq	.LC3(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	movss	%xmm0, 12(%rsp)
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	%r14d, %esi
	movq	%rax, %rdi
	call	_ZNSolsEi@PLT
	leaq	.LC4(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	%ebx, %esi
	movq	%rax, %rdi
	call	_ZNSolsEi@PLT
	leaq	.LC9(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	32(%rsp), %rax
	cvtss2sd	(%rax,%r12), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	leaq	.LC10(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	24(%rsp), %rax
	cvtss2sd	(%rax,%rbp), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movss	12(%rsp), %xmm1
.L56:
	incq	%rbx
	addq	$4000, %rbp
	cmpq	$2500, %rbx
	jne	.L58
	incq	%r15
	cmpq	$1000, %r15
	jne	.L55
	leaq	_ZSt4cout(%rip), %rbx
	leaq	.LC11(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movsd	(%rsp), %xmm0
	movq	%rax, %rdi
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movl	60(%rsp), %ecx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	52(%rsp), %rdx
	movl	$1, %esi
	movabsq	$339302416463, %rdi
	movl	$1, 84(%rsp)
	movq	%rdi, 76(%rsp)
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L60
	movq	40(%rsp), %rdx
	movq	32(%rsp), %rsi
	movl	$1000, %ecx
	movl	$2500, %r8d
	movq	24(%rsp), %rdi
	call	_Z44__device_stub__Z18Kinship_Matrix_CalPfS_S_iiPfS_S_ii
.L60:
	call	cudaDeviceSynchronize@PLT
	leaq	.LC12(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	40(%rsp), %rax
	cvtss2sd	(%rax), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	leaq	.LC13(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	40(%rsp), %rax
	cvtss2sd	4(%rax), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	leaq	.LC14(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	40(%rsp), %rax
	cvtss2sd	4092(%rax), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	leaq	.LC15(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	40(%rsp), %rax
	cvtss2sd	4096(%rax), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	24(%rsp), %rdi
	call	cudaFree@PLT
	movq	32(%rsp), %rdi
	call	cudaFree@PLT
	movq	40(%rsp), %rdi
	call	cudaFree@PLT
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	je	.L61
	call	__stack_chk_fail@PLT
.L61:
	addq	$104, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4204:
	.size	_Z12test_kinshipv, .-_Z12test_kinshipv
	.globl	_Z41__device_stub__Z18Kinship_Matrix_AddPfS_lPfS_l
	.type	_Z41__device_stub__Z18Kinship_Matrix_AddPfS_lPfS_l, @function
_Z41__device_stub__Z18Kinship_Matrix_AddPfS_lPfS_l:
.LFB4234:
	.cfi_startproc
	endbr64
	subq	$136, %rsp
	.cfi_def_cfa_offset 144
	movq	%rdi, 24(%rsp)
	leaq	40(%rsp), %rcx
	leaq	48(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	60(%rsp), %rsi
	movq	%rdx, 8(%rsp)
	leaq	32(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 56(%rsp)
	movq	%rax, 96(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 104(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 112(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 48(%rsp)
	movq	%rax, 60(%rsp)
	movl	$1, 68(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L66
	pushq	40(%rsp)
	.cfi_def_cfa_offset 152
	leaq	_Z18Kinship_Matrix_AddPfS_l(%rip), %rdi
	pushq	40(%rsp)
	.cfi_def_cfa_offset 160
	movq	76(%rsp), %rcx
	movl	84(%rsp), %r8d
	movq	64(%rsp), %rsi
	movl	72(%rsp), %edx
	leaq	112(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 152
	popq	%rdx
	.cfi_def_cfa_offset 144
.L66:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	je	.L68
	call	__stack_chk_fail@PLT
.L68:
	addq	$136, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4234:
	.size	_Z41__device_stub__Z18Kinship_Matrix_AddPfS_lPfS_l, .-_Z41__device_stub__Z18Kinship_Matrix_AddPfS_lPfS_l
	.globl	_Z18Kinship_Matrix_AddPfS_l
	.type	_Z18Kinship_Matrix_AddPfS_l, @function
_Z18Kinship_Matrix_AddPfS_l:
.LFB4235:
	.cfi_startproc
	endbr64
	jmp	_Z41__device_stub__Z18Kinship_Matrix_AddPfS_lPfS_l
	.cfi_endproc
.LFE4235:
	.size	_Z18Kinship_Matrix_AddPfS_l, .-_Z18Kinship_Matrix_AddPfS_l
	.globl	_Z46__device_stub__Z24Kinship_Matrix_NormalizePflfPflf
	.type	_Z46__device_stub__Z24Kinship_Matrix_NormalizePflfPflf, @function
_Z46__device_stub__Z24Kinship_Matrix_NormalizePflfPflf:
.LFB4236:
	.cfi_startproc
	endbr64
	subq	$136, %rsp
	.cfi_def_cfa_offset 144
	movq	%rdi, 24(%rsp)
	leaq	40(%rsp), %rcx
	leaq	32(%rsp), %rdx
	movq	%rsi, 16(%rsp)
	leaq	48(%rsp), %rdi
	leaq	60(%rsp), %rsi
	movss	%xmm0, 12(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 56(%rsp)
	movq	%rax, 96(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 104(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 112(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 48(%rsp)
	movq	%rax, 60(%rsp)
	movl	$1, 68(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L71
	pushq	40(%rsp)
	.cfi_def_cfa_offset 152
	leaq	_Z24Kinship_Matrix_NormalizePflf(%rip), %rdi
	pushq	40(%rsp)
	.cfi_def_cfa_offset 160
	movq	76(%rsp), %rcx
	movl	84(%rsp), %r8d
	movq	64(%rsp), %rsi
	movl	72(%rsp), %edx
	leaq	112(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 152
	popq	%rdx
	.cfi_def_cfa_offset 144
.L71:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	je	.L73
	call	__stack_chk_fail@PLT
.L73:
	addq	$136, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4236:
	.size	_Z46__device_stub__Z24Kinship_Matrix_NormalizePflfPflf, .-_Z46__device_stub__Z24Kinship_Matrix_NormalizePflfPflf
	.globl	_Z24Kinship_Matrix_NormalizePflf
	.type	_Z24Kinship_Matrix_NormalizePflf, @function
_Z24Kinship_Matrix_NormalizePflf:
.LFB4237:
	.cfi_startproc
	endbr64
	jmp	_Z46__device_stub__Z24Kinship_Matrix_NormalizePflfPflf
	.cfi_endproc
.LFE4237:
	.size	_Z24Kinship_Matrix_NormalizePflf, .-_Z24Kinship_Matrix_NormalizePflf
	.globl	_Z41__device_stub__Z19Matrix_AllValue_SetPflfPflf
	.type	_Z41__device_stub__Z19Matrix_AllValue_SetPflfPflf, @function
_Z41__device_stub__Z19Matrix_AllValue_SetPflfPflf:
.LFB4238:
	.cfi_startproc
	endbr64
	subq	$136, %rsp
	.cfi_def_cfa_offset 144
	movq	%rdi, 24(%rsp)
	leaq	40(%rsp), %rcx
	leaq	32(%rsp), %rdx
	movq	%rsi, 16(%rsp)
	leaq	48(%rsp), %rdi
	leaq	60(%rsp), %rsi
	movss	%xmm0, 12(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 56(%rsp)
	movq	%rax, 96(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 104(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 112(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 48(%rsp)
	movq	%rax, 60(%rsp)
	movl	$1, 68(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L76
	pushq	40(%rsp)
	.cfi_def_cfa_offset 152
	leaq	_Z19Matrix_AllValue_SetPflf(%rip), %rdi
	pushq	40(%rsp)
	.cfi_def_cfa_offset 160
	movq	76(%rsp), %rcx
	movl	84(%rsp), %r8d
	movq	64(%rsp), %rsi
	movl	72(%rsp), %edx
	leaq	112(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 152
	popq	%rdx
	.cfi_def_cfa_offset 144
.L76:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	je	.L78
	call	__stack_chk_fail@PLT
.L78:
	addq	$136, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4238:
	.size	_Z41__device_stub__Z19Matrix_AllValue_SetPflfPflf, .-_Z41__device_stub__Z19Matrix_AllValue_SetPflfPflf
	.globl	_Z19Matrix_AllValue_SetPflf
	.type	_Z19Matrix_AllValue_SetPflf, @function
_Z19Matrix_AllValue_SetPflf:
.LFB4239:
	.cfi_startproc
	endbr64
	jmp	_Z41__device_stub__Z19Matrix_AllValue_SetPflfPflf
	.cfi_endproc
.LFE4239:
	.size	_Z19Matrix_AllValue_SetPflf, .-_Z19Matrix_AllValue_SetPflf
	.section	.rodata.str1.1
.LC16:
	.string	"_Z19Matrix_AllValue_SetPflf"
.LC17:
	.string	"_Z24Kinship_Matrix_NormalizePflf"
.LC18:
	.string	"_Z18Kinship_Matrix_AddPfS_l"
.LC19:
	.string	"_Z18Kinship_Matrix_CalPfS_S_ii"
.LC20:
	.string	"_Z25Genotype_Matrix_TransposePfS_ii"
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB4241:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	_ZL15__fatDeviceText(%rip), %rdi
	call	__cudaRegisterFatBinary@PLT
	pushq	$0
	.cfi_def_cfa_offset 24
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC16(%rip), %rdx
	movq	%rax, %rdi
	movq	%rax, %rbx
	pushq	$0
	.cfi_def_cfa_offset 40
	movq	%rdx, %rcx
	leaq	_Z19Matrix_AllValue_SetPflf(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 48
	movq	%rax, _ZL20__cudaFatCubinHandle(%rip)
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	xorl	%r9d, %r9d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC17(%rip), %rdx
	orl	$-1, %r8d
	leaq	_Z24Kinship_Matrix_NormalizePflf(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	xorl	%r9d, %r9d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC18(%rip), %rdx
	orl	$-1, %r8d
	leaq	_Z18Kinship_Matrix_AddPfS_l(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	xorl	%r9d, %r9d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC19(%rip), %rdx
	orl	$-1, %r8d
	leaq	_Z18Kinship_Matrix_CalPfS_S_ii(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	xorl	%r9d, %r9d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC20(%rip), %rdx
	orl	$-1, %r8d
	leaq	_Z25Genotype_Matrix_TransposePfS_ii(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	call	__cudaRegisterFatBinaryEnd@PLT
	leaq	_ZL26__cudaUnregisterBinaryUtilv(%rip), %rdi
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	atexit@PLT
	.cfi_endproc
.LFE4241:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.rodata._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.str1.1,"aMS",@progbits,1
.LC21:
	.string	"basic_string: construction from null is not valid"
	.section	.text._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_,"axG",@progbits,_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC5IS3_EEPKcRKS3_,comdat
	.align 2
	.weak	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
	.type	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_, @function
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_:
.LFB4561:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$16, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	16(%rdi), %rax
	movq	%rax, (%rdi)
	testq	%rsi, %rsi
	jne	.L84
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L89
	leaq	.LC21(%rip), %rdi
	call	_ZSt19__throw_logic_errorPKc@PLT
.L84:
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	movq	%rsi, %rbp
	call	strlen@PLT
	movq	%rax, (%rsp)
	leaq	0(%rbp,%rax), %r12
	cmpq	$15, %rax
	jbe	.L86
	movq	%rsp, %rsi
	xorl	%edx, %edx
	movq	%rbx, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm@PLT
	movq	%rax, (%rbx)
	movq	(%rsp), %rax
	movq	%rax, 16(%rbx)
.L86:
	movq	(%rbx), %rdi
	movq	%r12, %rdx
	movq	%rbp, %rsi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_S_copy_charsEPcPKcS7_@PLT
	movq	(%rsp), %rax
	movq	(%rbx), %rdx
	movq	%rax, 8(%rbx)
	movb	$0, (%rdx,%rax)
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	je	.L87
.L89:
	call	__stack_chk_fail@PLT
.L87:
	addq	$16, %rsp
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4561:
	.size	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_, .-_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
	.weak	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_
	.set	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_,_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
	.section	.text._ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_,"axG",@progbits,_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_,comdat
	.weak	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	.type	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_, @function
_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_:
.LFB4563:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rdi, %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	movq	8(%rdi), %r12
	movq	%rsi, %rdi
	movq	%rsi, 8(%rsp)
	call	strlen@PLT
	movq	8(%rsp), %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	cmpq	%rdx, %r12
	jne	.L90
	movb	$1, %al
	testq	%r12, %r12
	je	.L90
	movq	(%rbx), %rdi
	movq	%r12, %rdx
	call	memcmp@PLT
	testl	%eax, %eax
	sete	%al
.L90:
	addq	$24, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4563:
	.size	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_, .-_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	.section	.rodata.str1.1
.LC22:
	.string	"Please specific the correct parameters, or use parameter -u for usermanuals!"
.LC23:
	.string	"-z"
.LC24:
	.string	"-Z"
.LC25:
	.string	"Parse cmd_line fail, Need to clearly specific the full file name of the first genotype matrix!"
.LC26:
	.string	"-w"
.LC27:
	.string	"-W"
.LC28:
	.string	"Parse cmd_line fail, Need to clearly specific the full file name of the second genotype matrix!"
.LC29:
	.string	"-k"
.LC30:
	.string	"-K"
.LC31:
	.string	"Parse cmd_line fail, Need to clearly specific the full file name of the output kinship matrix !"
.LC32:
	.string	"-i"
.LC33:
	.string	"-I"
.LC34:
	.string	"Parse cmd_line fail, Need to clearly specific the Individual Number!"
.LC35:
	.string	"-l"
.LC36:
	.string	"-L"
.LC37:
	.string	"Parse cmd_line fail, Need to clearly specific the Direct Marker Number Length!"
.LC38:
	.string	"-b"
.LC39:
	.string	"-B"
.LC40:
	.string	"Parse cmd_line fail, Need to clearly specific the Marker Pair Block Size!"
.LC41:
	.string	"-m"
.LC42:
	.string	"-M"
.LC43:
	.string	"Parse cmd_line fail, Need to clearly specific the Run Mode(0: GPU Paral; 1: Golden CPU; 2: Read thorugh) !"
.LC44:
	.string	"-h"
.LC45:
	.string	"-H"
.LC46:
	.string	"Welcome to use this program to do Kinship Matrix Calculation"
.LC47:
	.string	"The usage of input parameter arguments are listed as followings:"
.LC48:
	.string	"-h or -H: Output this Help usage message"
.LC49:
	.string	"-z or -Z: The full name of the 1st Genotype file"
.LC50:
	.string	"-w or -W: The full name of the 2nd Genotype file"
.LC51:
	.string	"-k or -K: The full name of Kinship Matrix file"
.LC52:
	.string	"-i or -I: The Individual number"
.LC53:
	.string	"-l or -L: The direct marker Length"
.LC54:
	.string	"-b or -B: The Block size for dividing the genotype marker pairs "
.LC55:
	.string	"-m or -M: Run_Mode(0, 1, 2 for the GPU/CPU/Read Through) "
	.text
	.globl	_Z14parse_cmd_lineiPPcRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_RiS8_S8_Rc
	.type	_Z14parse_cmd_lineiPPcRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_RiS8_S8_Rc, @function
_Z14parse_cmd_lineiPPcRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_RiS8_S8_Rc:
.LFB4186:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4186
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movq	%rsi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movl	%edi, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$104, %rsp
	.cfi_def_cfa_offset 160
	movq	%rdx, 16(%rsp)
	movq	160(%rsp), %r13
	movq	%rcx, 24(%rsp)
	movq	168(%rsp), %r14
	movq	%r8, 32(%rsp)
	movq	176(%rsp), %r15
	movq	%r9, 40(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 88(%rsp)
	xorl	%eax, %eax
	cmpl	$2, %edi
	je	.L125
	cmpl	$14, %edi
	jg	.L125
	leaq	.LC22(%rip), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
.LEHB0:
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	jmp	.L97
.L125:
	movl	$2, %ebx
.L96:
	leaq	56(%rsp), %rax
	movq	-8(%r12,%rbx,8), %rsi
	leaq	55(%rsp), %rdx
	movq	%rax, %rdi
	movq	%rax, 8(%rsp)
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_
.LEHE0:
	movq	8(%rsp), %rdi
	leaq	.LC23(%rip), %rsi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	jne	.L98
	movq	8(%rsp), %rdi
	leaq	.LC24(%rip), %rsi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	je	.L99
.L98:
	cmpl	%ebx, %ebp
	jle	.L100
	movq	(%r12,%rbx,8), %rsi
	movq	16(%rsp), %rdi
.LEHB1:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc.isra.0
	jmp	.L99
.L100:
	leaq	.LC25(%rip), %rsi
.L166:
	leaq	_ZSt4cerr(%rip), %rdi
.L173:
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	8(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L97
.L99:
	movq	8(%rsp), %rdi
	leaq	.LC26(%rip), %rsi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	jne	.L101
	movq	8(%rsp), %rdi
	leaq	.LC27(%rip), %rsi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	je	.L102
.L101:
	cmpl	%ebx, %ebp
	jle	.L103
	movq	(%r12,%rbx,8), %rsi
	movq	24(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc.isra.0
	jmp	.L102
.L103:
	leaq	.LC28(%rip), %rsi
	jmp	.L166
.L102:
	movq	8(%rsp), %rdi
	leaq	.LC29(%rip), %rsi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	jne	.L105
	movq	8(%rsp), %rdi
	leaq	.LC30(%rip), %rsi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	je	.L106
.L105:
	cmpl	%ebx, %ebp
	jle	.L107
	movq	(%r12,%rbx,8), %rsi
	movq	32(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc.isra.0
	jmp	.L106
.L107:
	leaq	.LC31(%rip), %rsi
	jmp	.L166
.L106:
	movq	8(%rsp), %rdi
	leaq	.LC32(%rip), %rsi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	jne	.L108
	movq	8(%rsp), %rdi
	leaq	.LC33(%rip), %rsi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	je	.L109
.L108:
	cmpl	%ebx, %ebp
	jle	.L110
	movq	(%r12,%rbx,8), %rdi
	call	atoi@PLT
	movq	40(%rsp), %rcx
	movl	%eax, (%rcx)
	jmp	.L109
.L110:
	leaq	.LC34(%rip), %rsi
	jmp	.L166
.L109:
	movq	8(%rsp), %rdi
	leaq	.LC35(%rip), %rsi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	jne	.L111
	movq	8(%rsp), %rdi
	leaq	.LC36(%rip), %rsi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	je	.L112
.L111:
	cmpl	%ebx, %ebp
	jle	.L113
	movq	(%r12,%rbx,8), %rdi
	call	atoi@PLT
	movl	%eax, 0(%r13)
	jmp	.L112
.L113:
	leaq	.LC37(%rip), %rsi
	jmp	.L166
.L112:
	movq	8(%rsp), %rdi
	leaq	.LC38(%rip), %rsi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	jne	.L114
	movq	8(%rsp), %rdi
	leaq	.LC39(%rip), %rsi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	je	.L115
.L114:
	cmpl	%ebx, %ebp
	jle	.L116
	movq	(%r12,%rbx,8), %rdi
	call	atoi@PLT
	movl	%eax, (%r14)
	jmp	.L115
.L116:
	leaq	.LC40(%rip), %rsi
	jmp	.L166
.L115:
	movq	8(%rsp), %rdi
	leaq	.LC41(%rip), %rsi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	jne	.L117
	movq	8(%rsp), %rdi
	leaq	.LC42(%rip), %rsi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	je	.L118
.L117:
	cmpl	%ebx, %ebp
	jle	.L119
	movq	(%r12,%rbx,8), %rdi
	call	atoi@PLT
	movb	%al, (%r15)
	jmp	.L118
.L119:
	leaq	.LC43(%rip), %rsi
	jmp	.L166
.L118:
	movq	8(%rsp), %rdi
	leaq	.LC44(%rip), %rsi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	jne	.L120
	movq	8(%rsp), %rdi
	leaq	.LC45(%rip), %rsi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	jne	.L120
	movq	8(%rsp), %rdi
	incq	%rbx
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	leal	-1(%rbx), %eax
	cmpl	%eax, %ebp
	jg	.L96
	xorl	%eax, %eax
	jmp	.L95
.L120:
	leaq	_ZSt4cout(%rip), %rbx
	leaq	.LC46(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	.LC47(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	.LC48(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	.LC49(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	.LC50(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	.LC51(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	.LC52(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	.LC53(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	.LC54(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
.LEHE1:
	leaq	.LC55(%rip), %rsi
	movq	%rbx, %rdi
	jmp	.L173
.L97:
	movl	$1, %eax
	jmp	.L95
.L126:
	endbr64
	movq	%rax, %rbx
.L122:
	movq	8(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L164
	movq	%rbx, %rdi
.LEHB2:
	call	_Unwind_Resume@PLT
.LEHE2:
.L95:
	movq	88(%rsp), %rdx
	subq	%fs:40, %rdx
	je	.L124
.L164:
	call	__stack_chk_fail@PLT
.L124:
	addq	$104, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4186:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table,"a",@progbits
.LLSDA4186:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4186-.LLSDACSB4186
.LLSDACSB4186:
	.uleb128 .LEHB0-.LFB4186
	.uleb128 .LEHE0-.LEHB0
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB1-.LFB4186
	.uleb128 .LEHE1-.LEHB1
	.uleb128 .L126-.LFB4186
	.uleb128 0
	.uleb128 .LEHB2-.LFB4186
	.uleb128 .LEHE2-.LEHB2
	.uleb128 0
	.uleb128 0
.LLSDACSE4186:
	.text
	.size	_Z14parse_cmd_lineiPPcRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_RiS8_S8_Rc, .-_Z14parse_cmd_lineiPPcRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_RiS8_S8_Rc
	.section	.text._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev,"axG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev
	.type	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev, @function
_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev:
.LFB4601:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	8(%rdi), %r12
	movq	%rdi, %rbx
	movq	(%rdi), %rbp
.L175:
	cmpq	%rbp, %r12
	je	.L179
	movq	%rbp, %rdi
	addq	$32, %rbp
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L175
.L179:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.L174
	movq	16(%rbx), %rsi
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	subq	%rdi, %rsi
	jmp	_ZdlPvm@PLT
.L174:
	.cfi_restore_state
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4601:
	.size	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev, .-_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev
	.weak	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED1Ev
	.set	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED1Ev,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev
	.section	.text._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5clearEv,"axG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5clearEv,comdat
	.align 2
	.weak	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5clearEv
	.type	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5clearEv, @function
_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5clearEv:
.LFB4606:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	pushq	%rdx
	.cfi_def_cfa_offset 48
	movq	(%rdi), %r12
	movq	8(%rdi), %r13
	cmpq	%r13, %r12
	je	.L180
	movq	%rdi, %rbx
	movq	%r12, %rbp
.L182:
	movq	%rbp, %rdi
	addq	$32, %rbp
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	cmpq	%rbp, %r13
	jne	.L182
	movq	%r12, 8(%rbx)
.L180:
	popq	%rax
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4606:
	.size	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5clearEv, .-_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5clearEv
	.section	.rodata._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE2atEm.str1.1,"aMS",@progbits,1
.LC56:
	.string	"vector::_M_range_check: __n (which is %zu) >= this->size() (which is %zu)"
	.section	.text._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE2atEm,"axG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE2atEm,comdat
	.align 2
	.weak	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE2atEm
	.type	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE2atEm, @function
_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE2atEm:
.LFB4607:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	movq	8(%rdi), %rdx
	subq	%rax, %rdx
	sarq	$5, %rdx
	cmpq	%rdx, %rsi
	jb	.L186
	pushq	%rax
	.cfi_def_cfa_offset 16
	leaq	.LC56(%rip), %rdi
	xorl	%eax, %eax
	call	_ZSt24__throw_out_of_range_fmtPKcz@PLT
.L186:
	.cfi_def_cfa_offset 8
	salq	$5, %rsi
	addq	%rsi, %rax
	ret
	.cfi_endproc
.LFE4607:
	.size	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE2atEm, .-_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE2atEm
	.section	.rodata._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_.str1.1,"aMS",@progbits,1
.LC57:
	.string	"vector::_M_realloc_insert"
	.section	.text._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,"axG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,comdat
	.align 2
	.weak	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_
	.type	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_, @function
_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_:
.LFB4819:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4819
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movq	%rdx, %r15
	movabsq	$288230376151711743, %rdx
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	8(%rdi), %rax
	movq	(%rdi), %r14
	movq	%rsi, 8(%rsp)
	movq	%rax, %rbx
	movq	%rax, (%rsp)
	subq	%r14, %rbx
	sarq	$5, %rbx
	cmpq	%rdx, %rbx
	jne	.L191
	leaq	.LC57(%rip), %rdi
.LEHB3:
	call	_ZSt20__throw_length_errorPKc@PLT
.L191:
	cmpq	%r14, (%rsp)
	movl	$1, %eax
	movq	8(%rsp), %rbp
	movq	%rdi, %r13
	cmovne	%rbx, %rax
	addq	%rax, %rbx
	setc	%al
	subq	%r14, %rbp
	movzbl	%al, %eax
	testq	%rax, %rax
	jne	.L207
	xorl	%r12d, %r12d
	testq	%rbx, %rbx
	je	.L196
	movabsq	$288230376151711743, %rax
	cmpq	%rax, %rbx
	cmova	%rax, %rbx
	jmp	.L195
.L207:
	movq	%rdx, %rbx
.L195:
	movq	%rbx, %rdi
	salq	$5, %rdi
	call	_Znwm@PLT
.LEHE3:
	movq	%rax, %r12
.L196:
	addq	%r12, %rbp
	movq	%r15, %rsi
	movq	%rbp, %rdi
.LEHB4:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_@PLT
.LEHE4:
	movq	%r12, %rdi
	movq	%r14, %rbp
.L197:
	leaq	32(%rdi), %r15
	cmpq	%rbp, 8(%rsp)
	je	.L199
	movq	%rbp, %rsi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EOS4_@PLT
	movq	%rbp, %rdi
	addq	$32, %rbp
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	%r15, %rdi
	jmp	.L197
.L199:
	cmpq	%rbp, (%rsp)
	je	.L219
	movq	%rbp, %rsi
	movq	%r15, %rdi
	addq	$32, %r15
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EOS4_@PLT
	movq	%rbp, %rdi
	addq	$32, %rbp
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L199
.L219:
	testq	%r14, %r14
	je	.L201
	movq	16(%r13), %rsi
	movq	%r14, %rdi
	subq	%r14, %rsi
	call	_ZdlPvm@PLT
.L201:
	salq	$5, %rbx
	movq	%r12, 0(%r13)
	addq	%r12, %rbx
	movq	%r15, 8(%r13)
	movq	%rbx, 16(%r13)
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L210:
	.cfi_restore_state
	endbr64
	movq	%rax, %rdi
.L202:
	call	__cxa_begin_catch@PLT
	testq	%r12, %r12
	jne	.L203
	movq	%rbp, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
.L205:
.LEHB5:
	call	__cxa_rethrow@PLT
.LEHE5:
.L211:
	endbr64
	movq	%rax, %rbx
.L204:
	call	__cxa_end_catch@PLT
	movq	%rbx, %rdi
.LEHB6:
	call	_Unwind_Resume@PLT
.LEHE6:
.L203:
	movq	%rbx, %rsi
	movq	%r12, %rdi
	salq	$5, %rsi
	call	_ZdlPvm@PLT
	jmp	.L205
	.cfi_endproc
.LFE4819:
	.section	.gcc_except_table
	.align 4
.LLSDA4819:
	.byte	0xff
	.byte	0x9b
	.uleb128 .LLSDATT4819-.LLSDATTD4819
.LLSDATTD4819:
	.byte	0x1
	.uleb128 .LLSDACSE4819-.LLSDACSB4819
.LLSDACSB4819:
	.uleb128 .LEHB3-.LFB4819
	.uleb128 .LEHE3-.LEHB3
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB4-.LFB4819
	.uleb128 .LEHE4-.LEHB4
	.uleb128 .L210-.LFB4819
	.uleb128 0x1
	.uleb128 .LEHB5-.LFB4819
	.uleb128 .LEHE5-.LEHB5
	.uleb128 .L211-.LFB4819
	.uleb128 0
	.uleb128 .LEHB6-.LFB4819
	.uleb128 .LEHE6-.LEHB6
	.uleb128 0
	.uleb128 0
.LLSDACSE4819:
	.byte	0x1
	.byte	0
	.align 4
	.long	0

.LLSDATT4819:
	.section	.text._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,"axG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,comdat
	.size	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_, .-_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_
	.section	.text._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_,"axG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_,comdat
	.align 2
	.weak	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_
	.type	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_, @function
_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_:
.LFB4603:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	cmpq	16(%rbx), %rdi
	je	.L221
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_@PLT
	addq	$32, 8(%rbx)
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L221:
	.cfi_restore_state
	movq	%rsi, %rdx
	movq	%rdi, %rsi
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_
	.cfi_endproc
.LFE4603:
	.size	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_, .-_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_
	.section	.rodata.str1.1
.LC58:
	.string	"//"
.LC59:
	.string	" The 1st Genotype File Can't be accessed!"
.LC60:
	.string	" The 2nd Genotype File Can't be accessed!"
.LC61:
	.string	"File Format (Indivual Num) is not right, Error at Line="
.LC62:
	.string	"File Format (Marker Num) is not Right, Total Read Line Num ="
.LC63:
	.string	"File Format (Indivudal Num) is not right, Error at Line="
.LC64:
	.string	"Read through, Read_Line_Count is:"
.LC65:
	.string	"Error open the result file for the output Kinship Matrix!"
.LC67:
	.string	"Hello, the elapse time is "
.LC68:
	.string	" seconds"
	.section	.text.startup
	.globl	main
	.type	main, @function
main:
.LFB4191:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4191
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	.cfi_offset 15, -24
	xorl	%r15d, %r15d
	pushq	%r14
	.cfi_offset 14, -32
	movq	%rsi, %r14
	pushq	%r13
	.cfi_offset 13, -40
	xorl	%r13d, %r13d
	pushq	%r12
	pushq	%rbx
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movl	%edi, %ebx
	subq	$1976, %rsp
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	clock@PLT
	leaq	-1704(%rbp), %rdi
	leaq	.LC58(%rip), %rsi
	movq	%r13, -1792(%rbp)
	movq	%rax, -2008(%rbp)
	leaq	-1784(%rbp), %rax
	movq	%rax, -1800(%rbp)
	leaq	-1752(%rbp), %rax
	movq	%rax, -1768(%rbp)
	leaq	-1720(%rbp), %rax
	movq	%rax, -1736(%rbp)
	xorl	%eax, %eax
	movq	%rax, -1728(%rbp)
	leaq	-1824(%rbp), %rax
	movq	%rax, %rdx
	movb	$0, -1784(%rbp)
	movq	%r15, -1760(%rbp)
	movb	$0, -1752(%rbp)
	movb	$0, -1720(%rbp)
	movq	%rax, -1928(%rbp)
.LEHB7:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_
.LEHE7:
	leaq	-1768(%rbp), %rax
	leaq	-1916(%rbp), %r9
	movq	%r14, %rsi
	movl	%ebx, %edi
	movq	%rax, -1992(%rbp)
	leaq	-1800(%rbp), %rax
	leaq	-1736(%rbp), %r8
	movq	%rax, -1952(%rbp)
	leaq	-1917(%rbp), %rax
	pushq	%r12
	movq	-1992(%rbp), %rcx
	pushq	%rax
	leaq	-1908(%rbp), %rax
	movq	-1952(%rbp), %rdx
	pushq	%rax
	leaq	-1912(%rbp), %rax
	pushq	%rax
.LEHB8:
	.cfi_escape 0x2e,0x20
	call	_Z14parse_cmd_lineiPPcRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_RiS8_S8_Rc
	movl	%eax, %ebx
	addq	$32, %rsp
	cmpl	$1, %eax
	je	.L226
	leaq	-1096(%rbp), %r13
	movq	-1800(%rbp), %rsi
	movl	$8, %edx
	movq	%r13, %rdi
	.cfi_escape 0x2e,0
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode@PLT
.LEHE8:
	movq	-1768(%rbp), %rsi
	leaq	-576(%rbp), %rdi
	movl	$8, %edx
.LEHB9:
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode@PLT
.LEHE9:
	leaq	-976(%rbp), %rdi
	call	_ZNKSt12__basic_fileIcE7is_openEv@PLT
	testb	%al, %al
	jne	.L227
	movq	-1952(%rbp), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
.LEHB10:
	call	_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movq	%rax, %rdi
	leaq	.LC59(%rip), %rsi
	jmp	.L350
.L227:
	leaq	-456(%rbp), %rdi
	call	_ZNKSt12__basic_fileIcE7is_openEv@PLT
	testb	%al, %al
	jne	.L229
	movq	-1992(%rbp), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
	call	_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movq	%rax, %rdi
	leaq	.LC60(%rip), %rsi
.L350:
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
.LEHE10:
	jmp	.L303
.L229:
	movl	-808(%rbp), %eax
	orl	-288(%rbp), %eax
	andl	$5, %eax
	movl	%eax, -1996(%rbp)
	jne	.L230
	movl	-1916(%rbp), %r15d
	leaq	-1656(%rbp), %rax
	movl	-1912(%rbp), %r12d
	xorl	%ebx, %ebx
	movq	%rax, -1672(%rbp)
	movabsq	$2305843009213693950, %rdx
	movl	%r15d, %eax
	movq	%rbx, -1664(%rbp)
	imull	%r12d, %eax
	movb	$0, -1656(%rbp)
	cltq
	cmpq	%rax, %rdx
	jb	.L231
	salq	$2, %rax
	movq	%rax, %rdi
	movq	%rax, -1960(%rbp)
.LEHB11:
	call	_Znam@PLT
	movq	%rax, -1976(%rbp)
	xorl	%r11d, %r11d
	leaq	-1672(%rbp), %rax
	movl	%r11d, -1936(%rbp)
	movq	%rax, -1968(%rbp)
	jmp	.L232
.L231:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L339
	call	__cxa_throw_bad_array_new_length@PLT
.L353:
	movq	(%rax), %rdx
	movq	-24(%rdx), %rdx
	testb	$5, 32(%rax,%rdx)
	jne	.L351
	cmpq	$0, -1664(%rbp)
	jne	.L352
.L234:
	incl	-1936(%rbp)
.L232:
	movq	-1968(%rbp), %rsi
	movq	%r13, %rdi
	call	_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	jmp	.L353
.L352:
	leaq	-1608(%rbp), %rax
	movq	-1968(%rbp), %rsi
	movl	$24, %edx
	movq	%rax, %rdi
	movq	%rax, %r14
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode@PLT
.LEHE11:
	xorl	%r9d, %r9d
	leaq	-1624(%rbp), %rax
	xorl	%r10d, %r10d
	movb	$0, -1624(%rbp)
	movq	%r9, -1824(%rbp)
	leaq	-1640(%rbp), %rbx
	movq	%r9, -1816(%rbp)
	movq	%r9, -1808(%rbp)
	movq	%rax, -1640(%rbp)
	movq	%r10, -1632(%rbp)
.L235:
	leaq	-1608(%rbp), %rdi
	movl	$44, %edx
	movq	%rbx, %rsi
.LEHB12:
	call	_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EES4_@PLT
	movq	(%rax), %rdx
	movq	-24(%rdx), %rdx
	testb	$5, 32(%rax,%rdx)
	jne	.L354
	movq	-1928(%rbp), %rdi
	movq	%rbx, %rsi
	call	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_
	jmp	.L235
.L354:
	movq	-1816(%rbp), %rax
	subq	-1824(%rbp), %rax
	sarq	$5, %rax
	movl	%eax, %ebx
	cmpl	%eax, %r15d
	jle	.L237
	movq	-1928(%rbp), %rdi
	leaq	-1640(%rbp), %rbx
	call	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5clearEv
.L238:
	leaq	-1608(%rbp), %rdi
	movl	$9, %edx
	movq	%rbx, %rsi
	call	_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EES4_@PLT
	movq	(%rax), %rdx
	movq	-24(%rdx), %rdx
	testb	$5, 32(%rax,%rdx)
	jne	.L355
	movq	-1928(%rbp), %rdi
	movq	%rbx, %rsi
	call	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_
	jmp	.L238
.L355:
	movq	-1816(%rbp), %rbx
	subq	-1824(%rbp), %rbx
	sarq	$5, %rbx
.L237:
	cmpl	%ebx, %r15d
	jne	.L240
	movl	-1936(%rbp), %eax
	movq	-1976(%rbp), %rcx
	xorl	%r8d, %r8d
	movq	%r8, -1944(%rbp)
	imull	%r15d, %eax
	cltq
	leaq	(%rcx,%rax,4), %r14
	jmp	.L241
.L240:
	movq	-1952(%rbp), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
	call	_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movq	%rax, %rdi
	leaq	.LC61(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	-1936(%rbp), %esi
	movq	%rax, %rdi
	call	_ZNSolsEi@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	-1976(%rbp), %rdi
	call	_ZdaPv@PLT
	leaq	-1640(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	-1928(%rbp), %rdi
	call	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED1Ev
	movq	%r14, %rdi
	jmp	.L343
.L243:
	movq	-1944(%rbp), %rsi
	movq	-1928(%rbp), %rdi
	call	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE2atEm
.LEHE12:
	movq	(%rax), %rdi
	call	atof@PLT
	movq	-1944(%rbp), %rax
	incq	-1944(%rbp)
	cvtsd2ss	%xmm0, %xmm0
	movss	%xmm0, (%r14,%rax,4)
.L241:
	movl	-1944(%rbp), %eax
	cmpl	%eax, %ebx
	jg	.L243
	leaq	-1640(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	-1928(%rbp), %rdi
	call	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED1Ev
	leaq	-1608(%rbp), %rdi
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev@PLT
	jmp	.L234
.L351:
	movl	-1936(%rbp), %eax
	cmpl	%eax, %r12d
	je	.L245
	movq	-1952(%rbp), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
.LEHB13:
	call	_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movq	%rax, %rdi
	leaq	.LC62(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	-1936(%rbp), %esi
	movq	%rax, %rdi
	call	_ZNSolsEi@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	-1976(%rbp), %rdi
	jmp	.L344
.L245:
	movq	-1960(%rbp), %rdi
	call	_Znam@PLT
.LEHE13:
	xorl	%edi, %edi
	movq	%rax, -1984(%rbp)
	leaq	-576(%rbp), %r13
	movl	%edi, -1960(%rbp)
	jmp	.L246
.L253:
	movq	-1992(%rbp), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
.LEHB14:
	call	_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movq	%rax, %rdi
	leaq	.LC63(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	-1960(%rbp), %esi
	movq	%rax, %rdi
	call	_ZNSolsEi@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
.LEHE14:
	movq	-1984(%rbp), %rdi
	call	_ZdaPv@PLT
	movq	-1944(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	-1928(%rbp), %rdi
	call	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED1Ev
	movq	-1952(%rbp), %rdi
.L343:
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev@PLT
	jmp	.L242
.L358:
	movq	(%rax), %rdx
	movq	-24(%rdx), %rdx
	testb	$5, 32(%rax,%rdx)
	jne	.L356
	cmpq	$0, -1664(%rbp)
	jne	.L357
.L247:
	incl	-1960(%rbp)
.L246:
	movq	-1968(%rbp), %rsi
	movq	%r13, %rdi
.LEHB15:
	call	_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	jmp	.L358
.L357:
	leaq	-1608(%rbp), %rax
	movq	-1968(%rbp), %rsi
	movl	$24, %edx
	movq	%rax, %rdi
	movq	%rax, -1952(%rbp)
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode@PLT
.LEHE15:
	leaq	-1624(%rbp), %rax
	xorl	%ecx, %ecx
	xorl	%esi, %esi
	movb	$0, -1624(%rbp)
	movq	%rax, -1640(%rbp)
	leaq	-1640(%rbp), %rax
	movq	%rcx, -1824(%rbp)
	movq	%rcx, -1816(%rbp)
	movq	%rcx, -1808(%rbp)
	movq	%rsi, -1632(%rbp)
	movq	%rax, -1944(%rbp)
.L248:
	movq	-1944(%rbp), %rsi
	movq	-1952(%rbp), %rdi
	movl	$44, %edx
.LEHB16:
	call	_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EES4_@PLT
	movq	(%rax), %rdx
	movq	-24(%rdx), %rdx
	testb	$5, 32(%rax,%rdx)
	jne	.L359
	movq	-1944(%rbp), %rsi
	movq	-1928(%rbp), %rdi
	call	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_
	jmp	.L248
.L359:
	movq	-1816(%rbp), %rax
	subq	-1824(%rbp), %rax
	sarq	$5, %rax
	movl	%eax, %ebx
	cmpl	%eax, %r15d
	jle	.L250
	movq	-1928(%rbp), %rdi
	call	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5clearEv
.L251:
	movq	-1944(%rbp), %rsi
	movq	-1952(%rbp), %rdi
	movl	$9, %edx
	call	_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EES4_@PLT
	movq	(%rax), %rdx
	movq	-24(%rdx), %rdx
	testb	$5, 32(%rax,%rdx)
	jne	.L360
	movq	-1944(%rbp), %rsi
	movq	-1928(%rbp), %rdi
	call	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_
	jmp	.L251
.L360:
	movq	-1816(%rbp), %rbx
	subq	-1824(%rbp), %rbx
	sarq	$5, %rbx
.L250:
	cmpl	%ebx, %r15d
	jne	.L253
	movl	-1960(%rbp), %eax
	movq	-1984(%rbp), %rcx
	xorl	%r12d, %r12d
	imull	%r15d, %eax
	cltq
	leaq	(%rcx,%rax,4), %r14
	jmp	.L254
.L255:
	movq	-1928(%rbp), %rdi
	movq	%r12, %rsi
	call	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE2atEm
.LEHE16:
	movq	(%rax), %rdi
	call	atof@PLT
	cvtsd2ss	%xmm0, %xmm0
	movss	%xmm0, (%r14,%r12,4)
	incq	%r12
.L254:
	cmpl	%r12d, %ebx
	jg	.L255
	movq	-1944(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	-1928(%rbp), %rdi
	call	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED1Ev
	movq	-1952(%rbp), %rdi
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev@PLT
	jmp	.L247
.L356:
	movl	-1960(%rbp), %ecx
	cmpl	%ecx, -1936(%rbp)
	je	.L257
	movq	-1992(%rbp), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
.LEHB17:
	call	_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movq	%rax, %rdi
	leaq	.LC62(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	-1960(%rbp), %esi
	movq	%rax, %rdi
	call	_ZNSolsEi@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	-1984(%rbp), %rdi
.L344:
	call	_ZdaPv@PLT
	jmp	.L242
.L257:
	movl	-1908(%rbp), %r13d
	movl	%r15d, %eax
	movb	-1917(%rbp), %bl
	imull	%r13d, %eax
	cltq
	movq	%rax, -1944(%rbp)
	movl	%r15d, %eax
	imull	%r15d, %eax
	testb	%bl, %bl
	movl	%eax, %r14d
	cltq
	movq	%rax, -1928(%rbp)
	movq	-1944(%rbp), %rax
	leaq	0(,%rax,4), %r12
	jne	.L258
	leaq	-1904(%rbp), %rdi
	movq	%r12, %rsi
	call	_Z17cudaMallocManagedIfE9cudaErrorPPT_mj.constprop.0.isra.0
	leaq	-1896(%rbp), %rdi
	movq	%r12, %rsi
	call	_Z17cudaMallocManagedIfE9cudaErrorPPT_mj.constprop.0.isra.0
	movq	-1928(%rbp), %rax
	leaq	-1888(%rbp), %rdi
	leaq	0(,%rax,4), %r12
	movq	%r12, %rsi
	call	_Z17cudaMallocManagedIfE9cudaErrorPPT_mj.constprop.0.isra.0
	leaq	-1880(%rbp), %rdi
	movq	%r12, %rsi
	call	_Z17cudaMallocManagedIfE9cudaErrorPPT_mj.constprop.0.isra.0
	jmp	.L259
.L258:
	movq	-1944(%rbp), %rcx
	movabsq	$2305843009213693950, %rax
	cmpq	%rcx, %rax
	jb	.L260
	movq	%r12, %rdi
	call	_Znam@PLT
	movq	%rax, -1904(%rbp)
	movq	-1928(%rbp), %rax
	leaq	0(,%rax,4), %r12
	movq	%r12, %rdi
	call	_Znam@PLT
	jmp	.L361
.L260:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L339
	call	__cxa_throw_bad_array_new_length@PLT
.L361:
	movq	%r12, %rdi
	movq	%rax, -1888(%rbp)
	call	_Znam@PLT
	movq	%rax, -1880(%rbp)
.L259:
	movabsq	$137438953504, %rax
	movl	$32, %esi
	movl	$1, -1864(%rbp)
	movq	%rax, -1872(%rbp)
	leal	31(%r15), %eax
	movl	$1, -1852(%rbp)
	cltd
	idivl	%esi
	movl	$1, -1840(%rbp)
	movl	$1, -1828(%rbp)
	movl	%eax, %ecx
	movl	%eax, -1860(%rbp)
	leal	31(%r13), %eax
	cltd
	movl	%ecx, -1848(%rbp)
	idivl	%esi
	movl	%ecx, -1844(%rbp)
	xorl	%edx, %edx
	movl	%edx, -1952(%rbp)
	movl	%eax, -1856(%rbp)
	movl	$33554433, %eax
	salq	$7, %rax
	movq	%rax, -1836(%rbp)
	movl	%r14d, %eax
	xorl	%r14d, %r14d
	sarl	$7, %eax
	movl	%eax, -1824(%rbp)
	movabsq	$4294967297, %rax
	movq	%rax, -1820(%rbp)
	xorl	%eax, %eax
.L263:
	movl	-1952(%rbp), %edx
	cmpl	%edx, -1936(%rbp)
	je	.L362
	movq	-1976(%rbp), %rcx
	movslq	%r14d, %rdx
	incl	-1952(%rbp)
	addl	%r15d, %r14d
	movl	%r14d, -1968(%rbp)
	leaq	(%rcx,%rdx,4), %r12
	movl	-1952(%rbp), %ecx
	movl	%ecx, -1960(%rbp)
.L264:
	movl	-1960(%rbp), %edx
	cmpl	%edx, -1936(%rbp)
	je	.L263
	movslq	-1968(%rbp), %rdx
	movq	-1984(%rbp), %rcx
	movq	-1904(%rbp), %r8
	leaq	(%rcx,%rdx,4), %rsi
	movl	%eax, %edx
	imull	%r15d, %edx
	movslq	%edx, %rdx
	leaq	(%r8,%rdx,4), %rcx
	xorl	%edx, %edx
.L274:
	cmpl	%edx, %r15d
	jle	.L363
	movss	(%r12,%rdx,4), %xmm0
	mulss	(%rsi,%rdx,4), %xmm0
	movss	%xmm0, (%rcx,%rdx,4)
	incq	%rdx
	jmp	.L274
.L363:
	incl	%eax
	cmpl	%eax, %r13d
	jg	.L266
	testb	%bl, %bl
	je	.L267
	cmpb	$1, %bl
	je	.L268
	jmp	.L269
.L267:
	movl	-1864(%rbp), %ecx
	movq	-1872(%rbp), %rdx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	-1860(%rbp), %rdi
	movl	-1852(%rbp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L270
	movq	-1904(%rbp), %rsi
	movq	-1896(%rbp), %rdi
	movl	%r13d, %ecx
	movl	%r15d, %edx
	call	_Z49__device_stub__Z25Genotype_Matrix_TransposePfS_iiPfS_ii
.L270:
	call	cudaDeviceSynchronize@PLT
	movl	-1864(%rbp), %ecx
	movq	-1872(%rbp), %rdx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	-1848(%rbp), %rdi
	movl	-1840(%rbp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L271
	movq	-1888(%rbp), %rdx
	movq	-1904(%rbp), %rsi
	movl	%r13d, %r8d
	movl	%r15d, %ecx
	movq	-1896(%rbp), %rdi
	call	_Z44__device_stub__Z18Kinship_Matrix_CalPfS_S_iiPfS_S_ii
.L271:
	call	cudaDeviceSynchronize@PLT
	movl	-1828(%rbp), %ecx
	movq	-1836(%rbp), %rdx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	-1824(%rbp), %rdi
	movl	-1816(%rbp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L272
	movq	-1928(%rbp), %rdx
	movq	-1880(%rbp), %rsi
	movq	-1888(%rbp), %rdi
	call	_Z41__device_stub__Z18Kinship_Matrix_AddPfS_lPfS_l
.L272:
	call	cudaDeviceSynchronize@PLT
	movl	-1828(%rbp), %ecx
	movq	-1836(%rbp), %rdx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	-1824(%rbp), %rdi
	movl	-1816(%rbp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L273
	movq	-1944(%rbp), %rsi
	movq	-1904(%rbp), %rdi
	xorps	%xmm0, %xmm0
	call	_Z41__device_stub__Z19Matrix_AllValue_SetPflfPflf
.L273:
	call	cudaDeviceSynchronize@PLT
.L269:
	xorl	%eax, %eax
	jmp	.L266
.L268:
	movq	-1888(%rbp), %rdi
	movl	%r15d, %edx
	movq	%r8, %rsi
	movl	%r13d, %ecx
	movq	%r8, -2016(%rbp)
	movq	%rdi, -1992(%rbp)
	call	_Z25Golden_Kinship_Matrix_CalPfS_ii
	movq	-1880(%rbp), %rsi
	movq	-1992(%rbp), %rdi
	movq	-1928(%rbp), %rdx
	call	_Z25Golden_Kinship_Matrix_AddPfS_l
	movq	-1944(%rbp), %rsi
	movq	-2016(%rbp), %rdi
	xorps	%xmm0, %xmm0
	call	_Z26Golden_Matrix_AllValue_SetPflf
	jmp	.L269
.L266:
	incl	-1960(%rbp)
	addl	%r15d, -1968(%rbp)
	jmp	.L264
.L362:
	testl	%eax, %eax
	jle	.L277
	testb	%bl, %bl
	je	.L278
	cmpb	$1, %bl
	jne	.L277
	movq	-1904(%rbp), %r14
	movq	-1888(%rbp), %r12
	movl	%r15d, %edx
	movl	%r13d, %ecx
	movq	%r14, %rsi
	movq	%r12, %rdi
	call	_Z25Golden_Kinship_Matrix_CalPfS_ii
	movq	-1880(%rbp), %rsi
	movq	-1928(%rbp), %rdx
	movq	%r12, %rdi
	call	_Z25Golden_Kinship_Matrix_AddPfS_l
	movq	-1944(%rbp), %rsi
	xorps	%xmm0, %xmm0
	movq	%r14, %rdi
	call	_Z26Golden_Matrix_AllValue_SetPflf
	jmp	.L277
.L278:
	movl	-1864(%rbp), %ecx
	movq	-1872(%rbp), %rdx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	-1860(%rbp), %rdi
	movl	-1852(%rbp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L280
	movq	-1904(%rbp), %rsi
	movq	-1896(%rbp), %rdi
	movl	%r13d, %ecx
	movl	%r15d, %edx
	call	_Z49__device_stub__Z25Genotype_Matrix_TransposePfS_iiPfS_ii
.L280:
	call	cudaDeviceSynchronize@PLT
	movl	-1864(%rbp), %ecx
	movq	-1872(%rbp), %rdx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	-1848(%rbp), %rdi
	movl	-1840(%rbp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L281
	movq	-1888(%rbp), %rdx
	movq	-1904(%rbp), %rsi
	movl	%r13d, %r8d
	movl	%r15d, %ecx
	movq	-1896(%rbp), %rdi
	call	_Z44__device_stub__Z18Kinship_Matrix_CalPfS_S_iiPfS_S_ii
.L281:
	call	cudaDeviceSynchronize@PLT
	movl	-1828(%rbp), %ecx
	movq	-1836(%rbp), %rdx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	-1824(%rbp), %rdi
	movl	-1816(%rbp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L282
	movq	-1928(%rbp), %rdx
	movq	-1880(%rbp), %rsi
	movq	-1888(%rbp), %rdi
	call	_Z41__device_stub__Z18Kinship_Matrix_AddPfS_lPfS_l
.L282:
	call	cudaDeviceSynchronize@PLT
.L277:
	movq	-1880(%rbp), %rdi
	movslq	%r15d, %rax
	xorps	%xmm0, %xmm0
	leaq	4(,%rax,4), %r12
	xorl	%eax, %eax
	movq	%rdi, %rdx
.L284:
	cmpl	%eax, %r15d
	jle	.L364
	addss	(%rdx), %xmm0
	incl	%eax
	addq	%r12, %rdx
	jmp	.L284
.L364:
	cvtsi2ssl	%r15d, %xmm1
	divss	%xmm1, %xmm0
	movd	%xmm0, %r14d
	testb	%bl, %bl
	je	.L286
	cmpb	$1, %bl
	jne	.L288
	movq	-1928(%rbp), %rsi
	call	_Z31Golden_Kinship_Matrix_NormalizePflf
	jmp	.L288
.L286:
	movl	-1828(%rbp), %ecx
	movq	-1836(%rbp), %rdx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	-1824(%rbp), %rdi
	movl	-1816(%rbp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L289
	movq	-1928(%rbp), %rsi
	movq	-1880(%rbp), %rdi
	movd	%r14d, %xmm0
	call	_Z46__device_stub__Z24Kinship_Matrix_NormalizePflfPflf
.L289:
	call	cudaDeviceSynchronize@PLT
.L288:
	leaq	-1608(%rbp), %rax
	movq	%rax, %rdi
	movq	%rax, -1928(%rbp)
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev@PLT
.LEHE17:
	movq	-1736(%rbp), %rsi
	movq	-1928(%rbp), %rdi
	movl	$16, %edx
.LEHB18:
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode@PLT
	leaq	-1496(%rbp), %rdi
	call	_ZNKSt12__basic_fileIcE7is_openEv@PLT
	testb	%al, %al
	je	.L290
	cmpb	$1, %bl
	jg	.L291
	leaq	-4(%r12), %rax
	leal	-1(%r15), %r14d
	movq	%rax, -1944(%rbp)
	xorl	%eax, %eax
	salq	$2, %r14
	movq	%rax, -1936(%rbp)
.L292:
	movl	-1996(%rbp), %eax
	cmpl	%eax, %r15d
	jle	.L296
	movq	-1880(%rbp), %rax
	movq	-1936(%rbp), %rcx
	movq	-1928(%rbp), %rdi
	cvtss2sd	(%rax,%rcx), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	-1936(%rbp), %rax
	leaq	(%rax,%r14), %r12
	movq	%rax, %r13
.L293:
	cmpq	%r12, %r13
	je	.L365
	movq	-1928(%rbp), %rdi
	movl	$9, %esi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c@PLT
	movq	%rax, %rdi
	movq	-1880(%rbp), %rax
	addq	$4, %r13
	cvtss2sd	(%rax,%r13), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	jmp	.L293
.L365:
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	-1928(%rbp), %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	-1944(%rbp), %rcx
	incl	-1996(%rbp)
	addq	%rcx, -1936(%rbp)
	jmp	.L292
.L291:
	movq	-1928(%rbp), %rdi
	leaq	.LC64(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	xorl	%esi, %esi
	call	_ZNSo9_M_insertIlEERSoT_@PLT
	jmp	.L342
.L290:
	leaq	.LC65(%rip), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
.L342:
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
.L296:
	movq	-1928(%rbp), %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv@PLT
	movq	-1904(%rbp), %rdi
	testb	%bl, %bl
	jne	.L297
	call	cudaFree@PLT
	movq	-1896(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1888(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1880(%rbp), %rdi
	call	cudaFree@PLT
.LEHE18:
	jmp	.L298
.L297:
	testq	%rdi, %rdi
	je	.L299
	call	_ZdaPv@PLT
.L299:
	movq	-1888(%rbp), %rdi
	testq	%rdi, %rdi
	je	.L300
	call	_ZdaPv@PLT
.L300:
	movq	-1880(%rbp), %rdi
	testq	%rdi, %rdi
	je	.L298
	call	_ZdaPv@PLT
.L298:
	movq	-1928(%rbp), %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	leaq	-1672(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L230
.L242:
	movq	-1968(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
.L303:
	movl	$1, %ebx
	jmp	.L302
.L230:
	call	clock@PLT
	movq	-2008(%rbp), %rbx
	leaq	.LC67(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	subq	%rbx, %rax
	cvtsi2sdq	%rax, %xmm0
	divsd	.LC66(%rip), %xmm0
	movq	%xmm0, %rbx
.LEHB19:
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	%rbx, %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC68(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
.LEHE19:
	xorl	%ebx, %ebx
.L302:
	leaq	-576(%rbp), %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
	leaq	-1096(%rbp), %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
.L226:
	leaq	-1704(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	leaq	-1736(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	leaq	-1768(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	leaq	-1800(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	je	.L313
	jmp	.L339
.L322:
	endbr64
	movq	%rax, %rbx
.L304:
	leaq	-1640(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	-1928(%rbp), %rdi
	call	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED1Ev
	leaq	-1608(%rbp), %rdi
	jmp	.L347
.L323:
	endbr64
	movq	%rax, %rbx
.L306:
	movq	-1944(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	-1928(%rbp), %rdi
	call	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED1Ev
	movq	-1952(%rbp), %rdi
.L347:
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev@PLT
	jmp	.L305
.L324:
	endbr64
	movq	%rax, %rbx
.L307:
	movq	-1928(%rbp), %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	jmp	.L305
.L321:
	endbr64
	movq	%rax, %rbx
.L305:
	leaq	-1672(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L308
.L320:
	endbr64
	movq	%rax, %rbx
.L308:
	leaq	-576(%rbp), %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
	jmp	.L309
.L319:
	endbr64
	movq	%rax, %rbx
.L309:
	leaq	-1096(%rbp), %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
	jmp	.L310
.L318:
	endbr64
	movq	%rax, %rbx
.L310:
	leaq	-1704(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L311
.L317:
	endbr64
	movq	%rax, %rbx
.L311:
	leaq	-1736(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	leaq	-1768(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	leaq	-1800(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L339
	movq	%rbx, %rdi
.LEHB20:
	call	_Unwind_Resume@PLT
.LEHE20:
.L339:
	call	__stack_chk_fail@PLT
.L313:
	leaq	-40(%rbp), %rsp
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4191:
	.section	.gcc_except_table
.LLSDA4191:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4191-.LLSDACSB4191
.LLSDACSB4191:
	.uleb128 .LEHB7-.LFB4191
	.uleb128 .LEHE7-.LEHB7
	.uleb128 .L317-.LFB4191
	.uleb128 0
	.uleb128 .LEHB8-.LFB4191
	.uleb128 .LEHE8-.LEHB8
	.uleb128 .L318-.LFB4191
	.uleb128 0
	.uleb128 .LEHB9-.LFB4191
	.uleb128 .LEHE9-.LEHB9
	.uleb128 .L319-.LFB4191
	.uleb128 0
	.uleb128 .LEHB10-.LFB4191
	.uleb128 .LEHE10-.LEHB10
	.uleb128 .L320-.LFB4191
	.uleb128 0
	.uleb128 .LEHB11-.LFB4191
	.uleb128 .LEHE11-.LEHB11
	.uleb128 .L321-.LFB4191
	.uleb128 0
	.uleb128 .LEHB12-.LFB4191
	.uleb128 .LEHE12-.LEHB12
	.uleb128 .L322-.LFB4191
	.uleb128 0
	.uleb128 .LEHB13-.LFB4191
	.uleb128 .LEHE13-.LEHB13
	.uleb128 .L321-.LFB4191
	.uleb128 0
	.uleb128 .LEHB14-.LFB4191
	.uleb128 .LEHE14-.LEHB14
	.uleb128 .L323-.LFB4191
	.uleb128 0
	.uleb128 .LEHB15-.LFB4191
	.uleb128 .LEHE15-.LEHB15
	.uleb128 .L321-.LFB4191
	.uleb128 0
	.uleb128 .LEHB16-.LFB4191
	.uleb128 .LEHE16-.LEHB16
	.uleb128 .L323-.LFB4191
	.uleb128 0
	.uleb128 .LEHB17-.LFB4191
	.uleb128 .LEHE17-.LEHB17
	.uleb128 .L321-.LFB4191
	.uleb128 0
	.uleb128 .LEHB18-.LFB4191
	.uleb128 .LEHE18-.LEHB18
	.uleb128 .L324-.LFB4191
	.uleb128 0
	.uleb128 .LEHB19-.LFB4191
	.uleb128 .LEHE19-.LEHB19
	.uleb128 .L320-.LFB4191
	.uleb128 0
	.uleb128 .LEHB20-.LFB4191
	.uleb128 .LEHE20-.LEHB20
	.uleb128 0
	.uleb128 0
.LLSDACSE4191:
	.section	.text.startup
	.size	main, .-main
	.section	.nvFatBinSegment,"aw"
	.align 8
	.type	_ZL15__fatDeviceText, @object
	.size	_ZL15__fatDeviceText, 24
_ZL15__fatDeviceText:
	.long	1180844977
	.long	1
	.quad	fatbinData
	.quad	0
	.local	_ZL20__cudaFatCubinHandle
	.comm	_ZL20__cudaFatCubinHandle,8,8
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.long	2147483647
	.long	0
	.long	0
	.long	0
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC2:
	.long	-1717986918
	.long	1069128089
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC8:
	.long	1148846080
	.section	.rodata.cst8
	.align 8
.LC66:
	.long	0
	.long	1093567616
	.hidden	DW.ref.__gxx_personality_v0
	.weak	DW.ref.__gxx_personality_v0
	.section	.data.rel.local.DW.ref.__gxx_personality_v0,"awG",@progbits,DW.ref.__gxx_personality_v0,comdat
	.align 8
	.type	DW.ref.__gxx_personality_v0, @object
	.size	DW.ref.__gxx_personality_v0, 8
DW.ref.__gxx_personality_v0:
	.quad	__gxx_personality_v0
	.ident	"GCC: (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

/* All the source */

#include <hip/hip_runtime.h>
#include <iostream> // Cin/ Cout
#include <fstream>  // For Read/Write File
#include <string>
#include <sstream>  // using sstream
#include <vector>   // For using Vector
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctime>
using namespace std;
#define TILE_DIM 32    // For 2D Thread Block Allocation 
#define Block_Size 128 // For 1D Thread Block Allocation 
enum run_mode {GPU_PARA=0, CPU_GOLDEN, READ_THRU};

//int parse_cmd_line(int argc, char* argv[], string & G_File_Name, string & K_File_Name, int & Individual_Num, int & MarkerBlock_Size);

int parse_cmd_line(int argc, char* argv[], string & Z_File_Name, string & W_File_Name, string & K_File_Name, int & Individual_Num, int & Marker_Num_Length, int & MarkerPair_Block_Size, char & Run_Mode)
{ 
	if((argc!=2)&&(argc <15))
	{
		cerr <<"Please specific the correct parameters, or use parameter -u for usermanuals!" <<endl;
		return 1;
	}
	else
	{
	   for (int i=1; i<argc;i++)
       {
	       string arg=argv[i];
	       if((arg=="-z")||(arg=="-Z"))
	       {
             if(i+1<argc)
		     {
		       Z_File_Name =argv[i+1];
		     }
		     else
		     {
			   cerr<<"Parse cmd_line fail, Need to clearly specific the full file name of the first genotype matrix!" <<endl;
			   return 1; // Parse cmd_line fail
		      }
		    }	
		    
		   if((arg=="-w")||(arg=="-W"))
	       {
             if(i+1<argc)
		     {
		       W_File_Name =argv[i+1];
		     }
		     else
		     {
			   cerr<<"Parse cmd_line fail, Need to clearly specific the full file name of the second genotype matrix!" <<endl;
			   return 1; // Parse cmd_line fail
		      }
		   }	
		    
		   if((arg=="-k")||(arg=="-K"))
	       {
             if(i+1<argc)
		     {
		       K_File_Name =argv[i+1];
		     }
		     else
		     {
			   cerr<<"Parse cmd_line fail, Need to clearly specific the full file name of the output kinship matrix !" <<endl;
			   return 1; // Parse cmd_line fail
		      }
		    }        

            if((arg=="-i")||(arg=="-I"))
	        {
              if(i+1<argc)
		      {
		           Individual_Num =atoi(argv[i+1]);
		      }
		      else
		      {
			   cerr<<"Parse cmd_line fail, Need to clearly specific the Individual Number!" <<endl;
			   return 1; // Parse cmd_line fail
		      }
	        }
	        
	        if((arg=="-l")||(arg=="-L"))
	        {
              if(i+1<argc)
		      {
		           Marker_Num_Length =atoi(argv[i+1]);
		      }
		      else
		      {
			   cerr<<"Parse cmd_line fail, Need to clearly specific the Direct Marker Number Length!" <<endl;
			   return 1; // Parse cmd_line fail
		      }
	        }
	        
	        if((arg=="-b")||(arg=="-B"))
	        {
              if(i+1<argc)
		      {
		         MarkerPair_Block_Size =atoi(argv[i+1]);
		      }
		      else
		      {
			   cerr<<"Parse cmd_line fail, Need to clearly specific the Marker Pair Block Size!" <<endl;
			   return 1; // Parse cmd_line fail
		      }
	        }
	        
	        if((arg=="-m")||(arg=="-M"))
	        {
              if(i+1<argc)
		      {
		           Run_Mode =atoi(argv[i+1]);
		      }
		      else
		      {
			   cerr<<"Parse cmd_line fail, Need to clearly specific the Run Mode(0: GPU Paral; 1: Golden CPU; 2: Read thorugh) !" <<endl;
			   return 1; // Parse cmd_line fail
		      }
	        } 

		   if((arg=="-h")||(arg=="-H"))
	       {
			     cout<<"Welcome to use this program to do Kinship Matrix Calculation" <<endl;
				 cout << "The usage of input parameter arguments are listed as followings:" <<endl;
				 cout << "-h or -H: Output this Help usage message" <<endl;
				 cout << "-z or -Z: The full name of the 1st Genotype file"<<endl;
				 cout << "-w or -W: The full name of the 2nd Genotype file"<<endl;
				 cout << "-k or -K: The full name of Kinship Matrix file"<<endl;
				 cout << "-i or -I: The Individual number" <<endl;
				 cout << "-l or -L: The direct marker Length" <<endl;
				 cout << "-b or -B: The Block size for dividing the genotype marker pairs " <<endl;
				 cout << "-m or -M: Run_Mode(0, 1, 2 for the GPU/CPU/Read Through) " <<endl;
			     return 1; // Parse cmd_line fail
		    }
	    }
	}
    return 0;
}

__global__ void Genotype_Matrix_Transpose(float *GMatrix_O, float *GMatrix_I, int Matrix_Width, int Matrix_Height) //ok
{
   __shared__ float block[TILE_DIM][TILE_DIM+1];
   int xIndex = blockIdx.x * TILE_DIM + threadIdx.x;
   int yIndex = blockIdx.y * TILE_DIM + threadIdx.y;
   int Index_In = xIndex + (yIndex)*Matrix_Width;
    
   if( (xIndex < Matrix_Width) && (yIndex < Matrix_Height))
      block[threadIdx.y][threadIdx.x] = GMatrix_I[Index_In];
   else    
      block[threadIdx.y][threadIdx.x] = 0.0; //pad zero for the unarbitrary matrix 
          
   __syncthreads();
    
   xIndex = blockIdx.y * TILE_DIM + threadIdx.y;
   yIndex = blockIdx.x * TILE_DIM + threadIdx.x;
   int Index_Out = xIndex + (yIndex)*Matrix_Height;
   if( (xIndex < Matrix_Height)&&(yIndex < Matrix_Width))
      GMatrix_O[Index_Out] = block[threadIdx.y][threadIdx.x];     
      
   __syncthreads();  
     
}

__global__ void Kinship_Matrix_Cal(float *Genotype_Matrix_Transpose_In, float *Genotype_Matrix_In, float *Kinship_Matrix_Out,int Individual_Num,  int Marker_Num) 
{
   /* Use shared memory to calculate t(GM)*GM, 
    * GM is original genotype matrix, which is a mxn matrix and m is marker number; 
    * t(GM) means the transpose of the original genotype matrix, which is a nXm matrix  */
      
   __shared__ float t_s[TILE_DIM][TILE_DIM];   // shared memory for transposed matrix
   __shared__ float m_s[TILE_DIM][TILE_DIM];   // shared memory for matrix 
   
   int r_t     = TILE_DIM* blockIdx.y+ threadIdx.y; // row index for transposed matrix 
   int c_t     = threadIdx.x;                       // column index for transposed matrix
   int r_m     = threadIdx.y;                       // row index of matrix
   int c_m     = blockIdx.x* TILE_DIM+  threadIdx.x;// column index for matrix                  
   
   float entry_sub =0.0;  
   for(int i=0; i< (Marker_Num +TILE_DIM-1)/TILE_DIM; i++)
   {
	   float value_t, value_m;
	   int index_t = r_t*Marker_Num +c_t;         //linear index of transposed matrix
	   int index_m = r_m* Individual_Num+ c_m;    //linear index of genotype matrix
	   
	   if ((r_t < Individual_Num )&&(c_t < Marker_Num))	   
	       value_t = Genotype_Matrix_Transpose_In[index_t];	   
	   else	   
		   value_t =0.0;  // pad with 0
	   
	   if ((r_m< Marker_Num)&&(c_m < Individual_Num))
	       value_m = Genotype_Matrix_In[index_m];
	   else
	       value_m =0.0;  // pad with 0
	   
	   c_t += TILE_DIM;
	   r_m += TILE_DIM;    
	   t_s[threadIdx.y][threadIdx.x]  = value_t; 
	   m_s[threadIdx.y][threadIdx.x]  = value_m;	   
	   __syncthreads();
	   
	   for (int k=0; k< TILE_DIM; k++)
	     entry_sub += t_s[threadIdx.y][k]* m_s[k][threadIdx.x];
	     
	   __syncthreads();
	   	  
   }
   
   int r_k     = TILE_DIM* blockIdx.y+ threadIdx.y; // row index for kinship matrix;
   int c_k     = TILE_DIM* blockIdx.x+ threadIdx.x; // column index for kinship matrix;
   int index_k = r_k* Individual_Num+ c_k;          //linear index of kinship matrix
   
   if((r_k<Individual_Num) &&(c_k<Individual_Num))
	   Kinship_Matrix_Out[index_k] =entry_sub;
	   
   __syncthreads();
  
}

__global__ void Kinship_Matrix_Add(float *Kinship_Matrix_Sub, float *Kinship_Matrix, long Matrix_Size) 
{  
   int index  = blockIdx.x * blockDim.x + threadIdx.x;
   long stride = blockDim.x * gridDim.x; 
   for (long i = index; i < Matrix_Size; i += stride)
   Kinship_Matrix[i] = Kinship_Matrix[i] +  Kinship_Matrix_Sub[i];
   
}

__global__ void Kinship_Matrix_Normalize(float *Kinship_Matrix, long Matrix_Size, float Normalize_Rate) 
{
   int index  = blockIdx.x * blockDim.x + threadIdx.x;
   long stride = blockDim.x * gridDim.x; 
   for (long i = index; i < Matrix_Size; i += stride)
      Kinship_Matrix[i] = Kinship_Matrix[i]/Normalize_Rate ;
}

__global__ void Matrix_AllValue_Set(float *Matrix, long Matrix_Size, float Value_Set) 
{
   int index  = blockIdx.x * blockDim.x + threadIdx.x;
   int stride = blockDim.x * gridDim.x; 
   
   for (long i = index; i < Matrix_Size; i += stride)
       Matrix[i] = Value_Set;
}

/*The golden code implementation of kinship matrix calculoation, which can be used for the base evaluation of GPU paralleling*/
void Golden_Kinship_Matrix_Cal(float *Kinship_Matrix_Out, float *GMatrix_I,  int Individual_Num,  int Marker_Num)
{
	for (int i =0; i< Individual_Num; i++)
	{		
	   for (int j=0; j< Individual_Num; j++)
	   {  
		   float sum =0.0;
		   for (int m=0; m< Marker_Num; m++)
		   { 
			  	float temp1 = *(GMatrix_I+m*Individual_Num +i);
			  	float temp2 = *(GMatrix_I+m*Individual_Num +j); 
			  	sum += temp1 * temp2;			   
		   }
		   *(Kinship_Matrix_Out+i* Individual_Num+j) = sum; 		   
	   }
    }
}

void Golden_Kinship_Matrix_Add (float *Kinship_Matrix_Sub, float *Kinship_Matrix, long Matrix_Size)
{ 
	 for (long i = 0; i < Matrix_Size; i ++)
     Kinship_Matrix[i] = Kinship_Matrix[i] +  Kinship_Matrix_Sub[i];
}


void Golden_Kinship_Matrix_Normalize(float *Kinship_Matrix, long Matrix_Size, float Normalize_Rate) 
{  
   for (long i = 0; i < Matrix_Size; i ++)
      Kinship_Matrix[i] = Kinship_Matrix[i]/Normalize_Rate ;
}

void Golden_Matrix_AllValue_Set(float *Matrix, long Matrix_Size, float Value_Set) 
{   
   for (long i = 0; i < Matrix_Size; i ++)
       Matrix[i] = Value_Set;
}

int main(int argc, char* argv[])
{
   clock_t c_begin, c_end;
   c_begin=clock();
 
   // begin to calculate the time
   string Z_File_Name, W_File_Name, K_File_Name;   
   char Run_Mode;
   int Individual_Num, Marker_Num, MarkerPair_Block_Size;
   string OS_Path_Sep="//";
   long read_line_count=0;

   // Parse the command line for the inputting
   if(1==parse_cmd_line(argc, argv, Z_File_Name, W_File_Name, K_File_Name, Individual_Num, Marker_Num, MarkerPair_Block_Size, Run_Mode))
        return 1;
  
   //Open and Read the Geneotype Matrix .
	ifstream Z_File(Z_File_Name.c_str(), ios::in);
	ifstream W_File(W_File_Name.c_str(), ios::in);

    if(!Z_File.is_open())
	{
		cerr<< Z_File_Name <<" The 1st Genotype File Can't be accessed!"<<endl;
		return 1;
	}
	
	if(!W_File.is_open())
	{
		cerr<< W_File_Name <<" The 2nd Genotype File Can't be accessed!"<<endl;
		return 1;
	}
	
				
	if(Z_File && W_File)
    {
       float *Z_Matrix, *W_Matrix;
       string sLine;
       
       Z_Matrix = new float[Individual_Num*Marker_Num];
       
       int Line_Count=0;      
	   while(getline(Z_File, sLine))
	   {
		  if(sLine.empty()) ; // Ignore empty lines
		  else
		  {
            stringstream ss(sLine);
			vector <string> s_v;
			string item;
			char delim1 =','; 
			char delim2 ='\t';
		
			while(getline(ss, item, delim1))
			{
				s_v.push_back(item);
			}

			int Col_Num=s_v.size(); 
			if (Col_Num < Individual_Num)
			{
				s_v.clear(); 
				while(getline(ss, item, delim2))// try delim2;
			    {
				   s_v.push_back(item);
			    }
			    Col_Num=s_v.size(); 				
			}
			
			if(Col_Num != Individual_Num) 
			{
				cerr<< Z_File_Name <<"File Format (Indivual Num) is not right, Error at Line=" << Line_Count<<endl;
				if(Z_Matrix!=NULL) 
				{
				   delete []Z_Matrix; 
				   Z_Matrix =NULL;
			    }
		        return 1;
			}
			
			for (int i=0; i<Col_Num;i++)
			{
			   float value= atof(s_v.at(i).c_str());
			     Z_Matrix[Line_Count*Individual_Num+i] = value;
			}
          }
		  Line_Count++;
       }  
            
       if(Marker_Num != Line_Count)
       {
		   cerr<< Z_File_Name <<"File Format (Marker Num) is not Right, Total Read Line Num =" << Line_Count<<endl;
		   if(Z_Matrix!=NULL) 
		   {  
			  delete []Z_Matrix;
			  Z_Matrix =NULL;
		   }
		   return 1;
	   }
       
       Line_Count=0; 
       W_Matrix = new float[Individual_Num*Marker_Num];            
	   while(getline(W_File, sLine))
	   {
		  if(sLine.empty()) ; // Ignore empty lines
		  else
		  {
            stringstream ss(sLine);
			vector <string> s_v;
			string item;
			char delim1 =','; 
			char delim2 ='\t';
		
			while(getline(ss, item, delim1))
			{
				s_v.push_back(item);
			}

			int Col_Num=s_v.size(); 
			if (Col_Num < Individual_Num)
			{
				s_v.clear(); 
				while(getline(ss, item, delim2))// try delim2;
			    {
				   s_v.push_back(item);
			    }
			    Col_Num=s_v.size(); 				
			}
			
			if(Col_Num != Individual_Num) 
			{
				cerr<< W_File_Name <<"File Format (Indivudal Num) is not right, Error at Line=" << Line_Count<<endl;
				if(W_Matrix!=NULL) 
				{
					delete []W_Matrix;
					W_Matrix =NULL;
				}
		        return 1;
			}
			
			for (int i=0; i<Col_Num;i++)
			{
			   float value= atof(s_v.at(i).c_str());
			     W_Matrix[Line_Count*Individual_Num+i] = value;
			}
          }
		  Line_Count++;
       }
       
       if(Marker_Num != Line_Count)
       {
		   cerr<< W_File_Name <<"File Format (Marker Num) is not Right, Total Read Line Num =" << Line_Count<<endl;
		   if(W_Matrix!=NULL) 
		   {  
			  delete []W_Matrix;
			  W_Matrix =NULL;
		   }
		   return 1;
	   }
             
       float *G_Matrix, *G_Matrix_Tran, *KinshipMatrix_Sub, *KinshipMatrix;
       
       const long g_matrix_size =  Individual_Num*MarkerPair_Block_Size;
       const long k_matrix_size =  Individual_Num*Individual_Num;
       
       switch (Run_Mode)
       {
         case GPU_PARA :
            hipMallocManaged(&G_Matrix, sizeof(float)*g_matrix_size);
            hipMallocManaged(&G_Matrix_Tran, sizeof(float)*g_matrix_size);
            hipMallocManaged(&KinshipMatrix_Sub, sizeof(float)*k_matrix_size);
            hipMallocManaged(&KinshipMatrix, sizeof(float)*k_matrix_size);
            break;
         default :  
		    G_Matrix          = new float[g_matrix_size]; 
		    KinshipMatrix_Sub = new float[k_matrix_size];
		    KinshipMatrix     = new float[k_matrix_size];
		    break;
	   }
       	   
	   dim3 thread2ds(TILE_DIM,TILE_DIM);
       dim3 grid2ds((Individual_Num+TILE_DIM-1)/TILE_DIM, (MarkerPair_Block_Size+TILE_DIM-1)/TILE_DIM);
       dim3 grid2ds1((Individual_Num+TILE_DIM-1)/TILE_DIM, (Individual_Num+TILE_DIM-1)/TILE_DIM);
       dim3 thread1ds(Block_Size);
	   dim3 grid1ds((Individual_Num*Individual_Num)/Block_Size);
	   
	   int MairPair_Count =0;
	   for (int Marker_Z=0; Marker_Z < Marker_Num ; Marker_Z++)
	   for (int Marker_W=Marker_Z+1; Marker_W < Marker_Num ; Marker_W++)
	   {
		   for (int index =0; index < Individual_Num; index ++)
			 G_Matrix[MairPair_Count*Individual_Num+index] = Z_Matrix[Marker_Z*Individual_Num+index] * W_Matrix[Marker_W*Individual_Num+index];
			 
		   MairPair_Count ++;			
			
		   if (MairPair_Count < MarkerPair_Block_Size)
			  continue;
		   else  // Process the full Marker_Pair Block 
		   { 
			  switch(Run_Mode)
			  {
			    case GPU_PARA :
			       // begin to call the GPU program to calculate the partial kinship matrix			  
                   Genotype_Matrix_Transpose<<<grid2ds, thread2ds >>>(G_Matrix_Tran, G_Matrix, Individual_Num, MarkerPair_Block_Size);
                   hipDeviceSynchronize();// Wait for GPU to finish before accessing on host
             
                   Kinship_Matrix_Cal<<<grid2ds1, thread2ds >>>(G_Matrix_Tran, G_Matrix, KinshipMatrix_Sub, Individual_Num, MarkerPair_Block_Size);  
                   hipDeviceSynchronize(); // Wait for GPU to finish before accessing on host
			 
			       // add the block kinship matrix into the all kinship matrix
			       Kinship_Matrix_Add <<<grid1ds, thread1ds>>>(KinshipMatrix_Sub,  KinshipMatrix, k_matrix_size); 		  
		           hipDeviceSynchronize(); // Wait for GPU to finish before accessing on host
					 
			       Matrix_AllValue_Set <<<grid1ds, thread1ds>>> (G_Matrix, g_matrix_size, 0.0);
			       hipDeviceSynchronize(); // Wait for GPU to finish before accessing on host		
			       break;	
			    case CPU_GOLDEN:
			       Golden_Kinship_Matrix_Cal(KinshipMatrix_Sub, G_Matrix,  Individual_Num,  MarkerPair_Block_Size);
			       Golden_Kinship_Matrix_Add(KinshipMatrix_Sub, KinshipMatrix, k_matrix_size);
			       Golden_Matrix_AllValue_Set(G_Matrix, g_matrix_size, 0.0); 
			       break;
			    default :
			       break;  			         
			  }
			  MairPair_Count =0; 
		  }	   		     
	   }	  
       
       if(MairPair_Count>0) //  At the rear part of the residual marker pair lines 
       { 
		   
		   switch(Run_Mode)
		   {
			 case GPU_PARA :  
		       
                Genotype_Matrix_Transpose<<<grid2ds, thread2ds >>>(G_Matrix_Tran, G_Matrix, Individual_Num, MarkerPair_Block_Size);
                hipDeviceSynchronize();// Wait for GPU to finish before accessing on host
                        
                Kinship_Matrix_Cal<<<grid2ds1, thread2ds >>>(G_Matrix_Tran, G_Matrix, KinshipMatrix_Sub, Individual_Num,  MarkerPair_Block_Size);  
                hipDeviceSynchronize(); // Wait for GPU to finish before accessing on host
			 
		        // add the block kinship matrix into the all kinship matrix
		        Kinship_Matrix_Add <<<grid1ds, thread1ds>>>(KinshipMatrix_Sub,  KinshipMatrix, k_matrix_size); 
		        hipDeviceSynchronize(); // Wait for GPU to finish before accessing on host
		        break;
		        
		     case CPU_GOLDEN:
			    Golden_Kinship_Matrix_Cal(KinshipMatrix_Sub, G_Matrix,  Individual_Num,  MarkerPair_Block_Size);
			    Golden_Kinship_Matrix_Add(KinshipMatrix_Sub, KinshipMatrix, k_matrix_size);
			    Golden_Matrix_AllValue_Set(G_Matrix, g_matrix_size, 0.0);   
		        break;
		        
			  default:
			    break;   
		   }		   
		   MairPair_Count =0;  // Reset the MairPair_Count to 0 
	   }
	   
	   // Begin to calculate the Normalized ratio 
	   float Normalize_Rate =0.0;
	   for (int i_index =0; i_index < Individual_Num; i_index++)
	   Normalize_Rate += KinshipMatrix[i_index*Individual_Num+i_index];
	  
	   Normalize_Rate =Normalize_Rate/Individual_Num;
	   
	   switch(Run_Mode)
	   {
	      case GPU_PARA : 	      
	        Kinship_Matrix_Normalize <<<grid1ds, thread1ds>>>(KinshipMatrix, k_matrix_size, Normalize_Rate) ;
	        hipDeviceSynchronize(); // Wait for GPU to finish before accessing on host
	        break;
	      case CPU_GOLDEN:
	        Golden_Kinship_Matrix_Normalize(KinshipMatrix, k_matrix_size, Normalize_Rate);
	        break;
	      default :
	        break;
	   }
	   
	   //Output the kinship matrix
	   ofstream Kinship_File; // used to output the calculated kinship matrix 
	   Kinship_File.open(K_File_Name.c_str());
	   if(Kinship_File.is_open())
	   {
			if(Run_Mode <READ_THRU)
			{
			   char delim ='\t';			
			   for (int i_individual=0; i_individual < Individual_Num; i_individual++)
			   {
			     Kinship_File<<KinshipMatrix[i_individual*Individual_Num]; 
			     for (int j_individual=1; j_individual < Individual_Num; j_individual++)
			     {
			        Kinship_File<< delim<< KinshipMatrix[i_individual*Individual_Num + j_individual];
			     }
			     Kinship_File<<endl;  // end line			   
			   }
		    }
		    else
		    {
				Kinship_File << "Read through, Read_Line_Count is:" << read_line_count << endl;
			}
		}
		else
		{
			cerr <<"Error open the result file for the output Kinship Matrix!"<<endl;
		}

		Kinship_File.close();
	   
	    // Free the allocated matrix 	
	    switch (Run_Mode)
	    {  
		   case GPU_PARA : 
              hipFree(G_Matrix);
              hipFree(G_Matrix_Tran);
              hipFree(KinshipMatrix_Sub);
              hipFree(KinshipMatrix);  
              break;
           default:   	    
		      delete []G_Matrix; 
		      delete []KinshipMatrix_Sub;
		      delete []KinshipMatrix;
		      break;
		}     
	} 

   c_end =clock();
   double elapse_time = double (c_end-c_begin)/CLOCKS_PER_SEC; 
   cout << "Hello, the elapse time is " <<  elapse_time << " seconds" << endl;
  
}

void test_matrix_transpose() 
{
   /* The following are GPU interface for testing the GPU version for Matrix Transpose at arbitrary dimension*/ 
  
   int Matrix_Width  =10000;
   int Matrix_Height =50000;  
   dim3 threads(TILE_DIM,TILE_DIM);
   dim3 grids((Matrix_Width+TILE_DIM-1)/TILE_DIM, (Matrix_Height+TILE_DIM-1)/TILE_DIM);
   
   const long mem_size = sizeof(float)*Matrix_Width*Matrix_Height;
   float *GMatrix_O, *GMatrix_I;
   hipMallocManaged(&GMatrix_O, mem_size);
   hipMallocManaged(&GMatrix_I, mem_size);
  
   // initalize host data
   for(long i = 0; i < (Matrix_Width*Matrix_Height); ++i)
   GMatrix_I[i] = (float) i;
     
   Genotype_Matrix_Transpose<<<grids, threads >>>(GMatrix_O, GMatrix_I, Matrix_Width, Matrix_Height);
  
   // Wait for GPU to finish before accessing on host
   hipDeviceSynchronize();
  
   
   float maxError = 0.0f;
   for (int i = 0; i < Matrix_Height; i++)
   { 
	   for (int j = 0; j < Matrix_Width; j++)
	   {
		   maxError = fmax(maxError, fabs(GMatrix_I[i*Matrix_Width+j]-GMatrix_O[j*Matrix_Height+i]));
		   if(maxError>0.1)
		     cout << "i=" <<i << "j=" <<j << "GMatrix_I(i,j)="  << GMatrix_I[i*Matrix_Width+j] << "GMatrix_O(j,i)=" << GMatrix_O[j*Matrix_Height+i]<< endl;
	   }
   }
     
  std::cout << "Max error: " << maxError << std::endl;
   
  hipFree(GMatrix_O);
  hipFree(GMatrix_I);
  return ; 	
}

void test_kinship()
{
	  /* The following are GPU interface for testing the GPU version for kinship matrix calculating by multiplying the transpose of genotype Matrix and genotype matrix at arbitrary dimension*/ 
   
   int Marker_Num =1000;
   int Individual_Num =2500;
    
   dim3 threads(TILE_DIM,TILE_DIM);
   dim3 grids((Individual_Num+TILE_DIM-1)/TILE_DIM, (Marker_Num+TILE_DIM-1)/TILE_DIM);
   
   const long genotype_matrix_size = sizeof(float)*Marker_Num*Individual_Num;
   const long kinship_matrix_size = sizeof(float)* Individual_Num*Individual_Num;
   float *Genotype_Matrix_T,  *Genotype_Matrix,  *Kinship_Matrix;
   hipMallocManaged(&Genotype_Matrix_T, genotype_matrix_size);
   hipMallocManaged(&Genotype_Matrix, genotype_matrix_size);
   hipMallocManaged(&Kinship_Matrix, kinship_matrix_size);
    
   // initalize host data
   for(long i = 0; i < (Marker_Num*Individual_Num); ++i)
   Genotype_Matrix[i] = (float) 1.0*i/(Marker_Num);
     
   Genotype_Matrix_Transpose<<<grids, threads >>>(Genotype_Matrix_T, Genotype_Matrix, Individual_Num, Marker_Num);
  
   // Wait for GPU to finish before accessing on host
   hipDeviceSynchronize();
   
      
   float maxError = 0.0f;
   for (int i = 0; i < Marker_Num; i++)
   { 
	   for (int j = 0; j < Individual_Num; j++)
	   {
		   maxError = fmax(maxError, fabs(Genotype_Matrix[i*Individual_Num+j]-Genotype_Matrix_T[j*Marker_Num+i]));
		   if(maxError>0.1)
		     cout << "i=" <<i << "j=" <<j << "Genotype_Matrix(i,j)="  << Genotype_Matrix[i*Individual_Num+j] << "Genotype_Matrix_T(j,i)=" << Genotype_Matrix_T[j*Marker_Num+i]<< endl;
	   }
   }
     
  std::cout << "Matrix Transpose Max error: " << maxError << std::endl;
  
  dim3 grids1((Individual_Num+TILE_DIM-1)/TILE_DIM, (Individual_Num+TILE_DIM-1)/TILE_DIM);
  Kinship_Matrix_Cal<<<grids1, threads >>>(Genotype_Matrix_T, Genotype_Matrix, Kinship_Matrix, Marker_Num, Individual_Num);
  
  // Wait for GPU to finish before accessing on host
  hipDeviceSynchronize();
  std::cout <<"Kinship_Matrix[0,0]="<< Kinship_Matrix[0] <<"Kinship_Matrix[0,1]=" <<Kinship_Matrix[1] << "Kinship_Matrix[0,1023]="<< Kinship_Matrix[1023] <<"Kinship_Matrix[1,1]=" <<Kinship_Matrix[1024]<< std::endl; 
 
  hipFree(Genotype_Matrix_T);
  hipFree(Genotype_Matrix);
  hipFree(Kinship_Matrix); 
  return;
}

void test_mis()
{
/*	  std::cout << "g_matrix(0,0)=" <<  G_Matrix[0]<< std::endl;
			 cudaMemset(G_Matrix, 0, g_mem_size*sizeof(float));
			 cudaMemset(KinshipMatrix_Sub, 0, k_mem_size*sizeof(float));
	  std::cout << "Line_Count= " << Line_Count << std::endl;
			 std::cout << "g_matrix(0,0)=" <<  G_Matrix[0]<< std::endl;
			 std::cout << "kmatrix_sub(0,0)=" <<  KinshipMatrix_Sub[0]<< std::endl;
			 std::cout << "kmatrix(0,0)=" <<  KinshipMatrix[0]<< std::endl;
			 std::cout << "Line_Count= " << Line_Count << std::endl;	  
		   std::cout << "kmatrix_sub( 0,0)=" <<  KinshipMatrix_Sub[0]<< std::endl;
		   std::cout << "kmatrix(0,0)=" <<  KinshipMatrix[0]<< std::endl;
		
*/

  /*   dim3 thread2ds(TILE_DIM,TILE_DIM);
       dim3 grid2ds((Individual_Num+TILE_DIM-1)/TILE_DIM, (MarkerBlock_Size+TILE_DIM-1)/TILE_DIM);*/
    
                   /*dim3 grid2ds1((Individual_Num+TILE_DIM-1)/TILE_DIM, (Individual_Num+TILE_DIM-1)/TILE_DIM);*/  
                     /*dim3 thread1ds(Block_Size);
			       dim3 grid1ds((Individual_Num*Individual_Num)/Block_Size);*/ 
			       
			       /* dim3 thread2ds(TILE_DIM,TILE_DIM);
                dim3 grid2ds((Individual_Num+TILE_DIM-1)/TILE_DIM, (MarkerBlock_Size+TILE_DIM-1)/TILE_DIM);*/
                
                 /*  dim3 grid2ds1((Individual_Num+TILE_DIM-1)/TILE_DIM, (Individual_Num+TILE_DIM-1)/TILE_DIM);*/
                   /*   dim3 thread1ds(Block_Size);
		        dim3 grid1ds((Individual_Num*Individual_Num)/Block_Size);*/
		        /*  dim3 thread1ds(Block_Size);
	        dim3 grid1ds((Individual_Num*Individual_Num)/Block_Size);*/
       
  return;
}

	.text
	.file	"KMC2D.hip"
                                        # Start of file scope inline assembly
	.globl	_ZSt21ios_base_library_initv

                                        # End of file scope inline assembly
	.globl	_Z14parse_cmd_lineiPPcRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_RiS8_S8_Rc # -- Begin function _Z14parse_cmd_lineiPPcRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_RiS8_S8_Rc
	.type	_Z14parse_cmd_lineiPPcRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_RiS8_S8_Rc,@function
_Z14parse_cmd_lineiPPcRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_RiS8_S8_Rc: # @_Z14parse_cmd_lineiPPcRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_RiS8_S8_Rc
.Lfunc_begin0:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception0
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$88, %rsp
	.cfi_def_cfa_offset 144
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%r9, 64(%rsp)                   # 8-byte Spill
	movq	%r8, 72(%rsp)                   # 8-byte Spill
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %rbx
	cmpl	$2, %edi
	je	.LBB0_2
# %bb.1:
	cmpl	$15, %edi
	jge	.LBB0_2
# %bb.99:
	movl	$_ZSt4cerr, %ebx
	movl	$_ZSt4cerr, %edi
	movl	$.L.str, %esi
	movl	$76, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	_ZSt4cerr(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movl	$_ZSt4cerr, %edi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	movl	$1, %eax
	jmp	.LBB0_98
.LBB0_2:                                # %.lr.ph
	movl	%edi, %r15d
	movl	$1, %eax
	subq	%r15, %rax
	movq	%rax, 80(%rsp)                  # 8-byte Spill
	movb	$1, %cl
	movl	$2, %ebp
	movq	%r15, 16(%rsp)                  # 8-byte Spill
	movq	%rbx, 56(%rsp)                  # 8-byte Spill
.LBB0_3:                                # =>This Inner Loop Header: Depth=1
	movb	%cl, 14(%rsp)                   # 1-byte Spill
	movq	-8(%rbx,%rbp,8), %rsi
	leaq	24(%rsp), %rdi
	leaq	15(%rsp), %rdx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
	movq	24(%rsp), %r14
	cmpq	$2, 32(%rsp)
	jne	.LBB0_94
# %bb.4:                                # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit
                                        #   in Loop: Header=BB0_3 Depth=1
	movzwl	(%r14), %eax
	cmpl	$31277, %eax                    # imm = 0x7A2D
	je	.LBB0_6
# %bb.5:                                # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit.thread197
                                        #   in Loop: Header=BB0_3 Depth=1
	movzwl	(%r14), %eax
	cmpl	$23085, %eax                    # imm = 0x5A2D
	jne	.LBB0_21
.LBB0_6:                                # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit.thread
                                        #   in Loop: Header=BB0_3 Depth=1
	cmpq	%r15, %rbp
	jae	.LBB0_7
# %bb.19:                               #   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx,%rbp,8), %r14
	movq	8(%r13), %r15
	movq	%r14, %rdi
	callq	strlen
.Ltmp0:
	movq	%r13, %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	%rax, %r8
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm
.Ltmp1:
# %bb.20:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc.exit
                                        #   in Loop: Header=BB0_3 Depth=1
	movq	24(%rsp), %r14
	cmpq	$2, 32(%rsp)
	movq	16(%rsp), %r15                  # 8-byte Reload
	jne	.LBB0_94
.LBB0_21:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit64
                                        #   in Loop: Header=BB0_3 Depth=1
	movzwl	(%r14), %eax
	cmpl	$30509, %eax                    # imm = 0x772D
	je	.LBB0_23
# %bb.22:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit64.thread199
                                        #   in Loop: Header=BB0_3 Depth=1
	movzwl	(%r14), %eax
	cmpl	$22317, %eax                    # imm = 0x572D
	jne	.LBB0_28
.LBB0_23:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit64.thread
                                        #   in Loop: Header=BB0_3 Depth=1
	cmpq	%r15, %rbp
	jae	.LBB0_24
# %bb.26:                               #   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx,%rbp,8), %r14
	movq	8(%r12), %r15
	movq	%r14, %rdi
	callq	strlen
.Ltmp2:
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	%rax, %r8
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm
.Ltmp3:
# %bb.27:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc.exit67
                                        #   in Loop: Header=BB0_3 Depth=1
	movq	24(%rsp), %r14
	cmpq	$2, 32(%rsp)
	movq	16(%rsp), %r15                  # 8-byte Reload
	jne	.LBB0_94
.LBB0_28:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit71
                                        #   in Loop: Header=BB0_3 Depth=1
	movzwl	(%r14), %eax
	cmpl	$27437, %eax                    # imm = 0x6B2D
	je	.LBB0_30
# %bb.29:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit71.thread201
                                        #   in Loop: Header=BB0_3 Depth=1
	movzwl	(%r14), %eax
	cmpl	$19245, %eax                    # imm = 0x4B2D
	jne	.LBB0_34
.LBB0_30:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit71.thread
                                        #   in Loop: Header=BB0_3 Depth=1
	cmpq	%r15, %rbp
	jae	.LBB0_31
# %bb.32:                               #   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx,%rbp,8), %r14
	movq	%r13, %rbx
	movq	%r12, %r13
	movq	72(%rsp), %r12                  # 8-byte Reload
	movq	8(%r12), %r15
	movq	%r14, %rdi
	callq	strlen
.Ltmp4:
	movq	%r12, %rdi
	movq	%r13, %r12
	movq	%rbx, %r13
	movq	56(%rsp), %rbx                  # 8-byte Reload
	xorl	%esi, %esi
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	%rax, %r8
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm
.Ltmp5:
# %bb.33:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc.exit74
                                        #   in Loop: Header=BB0_3 Depth=1
	movq	24(%rsp), %r14
	cmpq	$2, 32(%rsp)
	movq	16(%rsp), %r15                  # 8-byte Reload
	jne	.LBB0_94
.LBB0_34:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit78
                                        #   in Loop: Header=BB0_3 Depth=1
	movzwl	(%r14), %eax
	cmpl	$26925, %eax                    # imm = 0x692D
	je	.LBB0_36
# %bb.35:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit78.thread203
                                        #   in Loop: Header=BB0_3 Depth=1
	movzwl	(%r14), %eax
	cmpl	$18733, %eax                    # imm = 0x492D
	jne	.LBB0_39
.LBB0_36:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit78.thread
                                        #   in Loop: Header=BB0_3 Depth=1
	cmpq	%r15, %rbp
	jae	.LBB0_37
# %bb.38:                               #   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx,%rbp,8), %rdi
	callq	atoi
	movq	64(%rsp), %rcx                  # 8-byte Reload
	movl	%eax, (%rcx)
.LBB0_39:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit80.thread204
                                        #   in Loop: Header=BB0_3 Depth=1
	movzwl	(%r14), %eax
	cmpl	$27693, %eax                    # imm = 0x6C2D
	je	.LBB0_41
# %bb.40:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit84.thread205
                                        #   in Loop: Header=BB0_3 Depth=1
	movzwl	(%r14), %eax
	cmpl	$19501, %eax                    # imm = 0x4C2D
	jne	.LBB0_44
.LBB0_41:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit84.thread
                                        #   in Loop: Header=BB0_3 Depth=1
	cmpq	%r15, %rbp
	jae	.LBB0_42
# %bb.43:                               #   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx,%rbp,8), %rdi
	callq	atoi
	movq	144(%rsp), %rcx
	movl	%eax, (%rcx)
.LBB0_44:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit86.thread206
                                        #   in Loop: Header=BB0_3 Depth=1
	movzwl	(%r14), %eax
	cmpl	$25133, %eax                    # imm = 0x622D
	je	.LBB0_46
# %bb.45:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit90.thread207
                                        #   in Loop: Header=BB0_3 Depth=1
	movzwl	(%r14), %eax
	cmpl	$16941, %eax                    # imm = 0x422D
	jne	.LBB0_49
.LBB0_46:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit90.thread
                                        #   in Loop: Header=BB0_3 Depth=1
	cmpq	%r15, %rbp
	jae	.LBB0_47
# %bb.48:                               #   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx,%rbp,8), %rdi
	callq	atoi
	movq	152(%rsp), %rcx
	movl	%eax, (%rcx)
.LBB0_49:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit92.thread208
                                        #   in Loop: Header=BB0_3 Depth=1
	movzwl	(%r14), %eax
	cmpl	$27949, %eax                    # imm = 0x6D2D
	je	.LBB0_51
# %bb.50:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit96.thread209
                                        #   in Loop: Header=BB0_3 Depth=1
	movzwl	(%r14), %eax
	cmpl	$19757, %eax                    # imm = 0x4D2D
	jne	.LBB0_54
.LBB0_51:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit96.thread
                                        #   in Loop: Header=BB0_3 Depth=1
	cmpq	%r15, %rbp
	jae	.LBB0_52
# %bb.53:                               #   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx,%rbp,8), %rdi
	callq	atoi
	movq	160(%rsp), %rcx
	movb	%al, (%rcx)
.LBB0_54:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit98.thread210
                                        #   in Loop: Header=BB0_3 Depth=1
	movzwl	(%r14), %eax
	cmpl	$26669, %eax                    # imm = 0x682D
	je	.LBB0_56
# %bb.55:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit102.thread211
                                        #   in Loop: Header=BB0_3 Depth=1
	movzwl	(%r14), %eax
	cmpl	$18477, %eax                    # imm = 0x482D
	je	.LBB0_56
.LBB0_94:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit104.thread212
                                        #   in Loop: Header=BB0_3 Depth=1
	leaq	40(%rsp), %rax
	cmpq	%rax, %r14
	je	.LBB0_96
# %bb.95:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i125
                                        #   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_ZdlPv
.LBB0_96:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit127
                                        #   in Loop: Header=BB0_3 Depth=1
	cmpq	%r15, %rbp
	setb	%cl
	movq	80(%rsp), %rax                  # 8-byte Reload
	addq	%rbp, %rax
	incq	%rax
	incq	%rbp
	cmpq	$2, %rax
	jne	.LBB0_3
	jmp	.LBB0_97
.LBB0_7:
	movl	$94, %edx
	movl	$.L.str.3, %esi
	jmp	.LBB0_25
.LBB0_56:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit102.thread
.Ltmp11:
	movl	$_ZSt4cout, %ebx
	movl	$_ZSt4cout, %edi
	movl	$.L.str.24, %esi
	movl	$60, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp12:
# %bb.57:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit105
	movq	_ZSt4cout(%rip), %rax
	addq	-24(%rax), %rbx
.Ltmp13:
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp14:
# %bb.58:                               # %.noexc157
.Ltmp15:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp16:
# %bb.59:                               # %.noexc158
.Ltmp17:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp18:
# %bb.60:                               # %_ZNSolsEPFRSoS_E.exit106
.Ltmp19:
	movl	$_ZSt4cout, %ebx
	movl	$_ZSt4cout, %edi
	movl	$.L.str.25, %esi
	movl	$64, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp20:
# %bb.61:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit107
	movq	_ZSt4cout(%rip), %rax
	addq	-24(%rax), %rbx
.Ltmp21:
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp22:
# %bb.62:                               # %.noexc161
.Ltmp23:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp24:
# %bb.63:                               # %.noexc162
.Ltmp25:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp26:
# %bb.64:                               # %_ZNSolsEPFRSoS_E.exit108
.Ltmp27:
	movl	$_ZSt4cout, %ebx
	movl	$_ZSt4cout, %edi
	movl	$.L.str.26, %esi
	movl	$40, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp28:
# %bb.65:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit109
	movq	_ZSt4cout(%rip), %rax
	addq	-24(%rax), %rbx
.Ltmp29:
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp30:
# %bb.66:                               # %.noexc165
.Ltmp31:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp32:
# %bb.67:                               # %.noexc166
.Ltmp33:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp34:
# %bb.68:                               # %_ZNSolsEPFRSoS_E.exit110
.Ltmp35:
	movl	$_ZSt4cout, %ebx
	movl	$_ZSt4cout, %edi
	movl	$.L.str.27, %esi
	movl	$48, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp36:
# %bb.69:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit111
	movq	_ZSt4cout(%rip), %rax
	addq	-24(%rax), %rbx
.Ltmp37:
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp38:
# %bb.70:                               # %.noexc169
.Ltmp39:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp40:
# %bb.71:                               # %.noexc170
.Ltmp41:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp42:
# %bb.72:                               # %_ZNSolsEPFRSoS_E.exit112
.Ltmp43:
	movl	$_ZSt4cout, %ebx
	movl	$_ZSt4cout, %edi
	movl	$.L.str.28, %esi
	movl	$48, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp44:
# %bb.73:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit113
	movq	_ZSt4cout(%rip), %rax
	addq	-24(%rax), %rbx
.Ltmp45:
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp46:
# %bb.74:                               # %.noexc173
.Ltmp47:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp48:
# %bb.75:                               # %.noexc174
.Ltmp49:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp50:
# %bb.76:                               # %_ZNSolsEPFRSoS_E.exit114
.Ltmp51:
	movl	$_ZSt4cout, %ebx
	movl	$_ZSt4cout, %edi
	movl	$.L.str.29, %esi
	movl	$46, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp52:
# %bb.77:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit115
	movq	_ZSt4cout(%rip), %rax
	addq	-24(%rax), %rbx
.Ltmp53:
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp54:
# %bb.78:                               # %.noexc177
.Ltmp55:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp56:
# %bb.79:                               # %.noexc178
.Ltmp57:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp58:
# %bb.80:                               # %_ZNSolsEPFRSoS_E.exit116
.Ltmp59:
	movl	$_ZSt4cout, %ebx
	movl	$_ZSt4cout, %edi
	movl	$.L.str.30, %esi
	movl	$31, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp60:
# %bb.81:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit117
	movq	_ZSt4cout(%rip), %rax
	addq	-24(%rax), %rbx
.Ltmp61:
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp62:
# %bb.82:                               # %.noexc181
.Ltmp63:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp64:
# %bb.83:                               # %.noexc182
.Ltmp65:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp66:
# %bb.84:                               # %_ZNSolsEPFRSoS_E.exit118
.Ltmp67:
	movl	$_ZSt4cout, %ebx
	movl	$_ZSt4cout, %edi
	movl	$.L.str.31, %esi
	movl	$34, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp68:
# %bb.85:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit119
	movq	_ZSt4cout(%rip), %rax
	addq	-24(%rax), %rbx
.Ltmp69:
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp70:
# %bb.86:                               # %.noexc185
.Ltmp71:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp72:
# %bb.87:                               # %.noexc186
.Ltmp73:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp74:
# %bb.88:                               # %_ZNSolsEPFRSoS_E.exit120
.Ltmp75:
	movl	$_ZSt4cout, %ebx
	movl	$_ZSt4cout, %edi
	movl	$.L.str.32, %esi
	movl	$64, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp76:
# %bb.89:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit121
	movq	_ZSt4cout(%rip), %rax
	addq	-24(%rax), %rbx
.Ltmp77:
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp78:
# %bb.90:                               # %.noexc189
.Ltmp79:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp80:
# %bb.91:                               # %.noexc190
.Ltmp81:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp82:
# %bb.92:                               # %_ZNSolsEPFRSoS_E.exit122
.Ltmp83:
	movl	$_ZSt4cout, %ebx
	movl	$_ZSt4cout, %edi
	movl	$.L.str.33, %esi
	movl	$57, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp84:
# %bb.93:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit123
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
.Ltmp85:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp86:
	jmp	.LBB0_14
.LBB0_24:
	movl	$95, %edx
	movl	$.L.str.6, %esi
	jmp	.LBB0_25
.LBB0_31:
	movl	$95, %edx
	movl	$.L.str.9, %esi
	jmp	.LBB0_25
.LBB0_37:
	movl	$68, %edx
	movl	$.L.str.12, %esi
	jmp	.LBB0_25
.LBB0_42:
	movl	$78, %edx
	movl	$.L.str.15, %esi
	jmp	.LBB0_25
.LBB0_47:
	movl	$73, %edx
	movl	$.L.str.18, %esi
	jmp	.LBB0_25
.LBB0_52:
	movl	$106, %edx
	movl	$.L.str.21, %esi
.LBB0_25:                               # %.invoke.invoke
.Ltmp7:
	movl	$_ZSt4cerr, %ebx
	movl	$_ZSt4cerr, %edi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp8:
# %bb.13:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit.invoke
	movq	_ZSt4cerr(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
.Ltmp9:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp10:
.LBB0_14:                               # %.noexc.invoke
.Ltmp87:
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_ZNSo3putEc
.Ltmp88:
# %bb.15:                               # %.noexc131.invoke
.Ltmp89:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp90:
# %bb.16:                               # %.critedge
	movq	24(%rsp), %rdi
	leaq	40(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_18
# %bb.17:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i128
	callq	_ZdlPv
.LBB0_18:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit130
	movb	14(%rsp), %cl                   # 1-byte Reload
.LBB0_97:                               # %.loopexit
	movzbl	%cl, %eax
	andl	$1, %eax
.LBB0_98:
	addq	$88, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB0_9:                                # %.loopexit.split-lp
	.cfi_def_cfa_offset 144
.Ltmp91:
	jmp	.LBB0_10
.LBB0_8:                                # %.loopexit224
.Ltmp6:
.LBB0_10:
	movq	%rax, %rbx
	movq	24(%rsp), %rdi
	leaq	40(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_12
# %bb.11:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i
	callq	_ZdlPv
.LBB0_12:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end0:
	.size	_Z14parse_cmd_lineiPPcRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_RiS8_S8_Rc, .Lfunc_end0-_Z14parse_cmd_lineiPPcRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_RiS8_S8_Rc
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table0:
.Lexception0:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end0-.Lcst_begin0
.Lcst_begin0:
	.uleb128 .Lfunc_begin0-.Lfunc_begin0    # >> Call Site 1 <<
	.uleb128 .Ltmp0-.Lfunc_begin0           #   Call between .Lfunc_begin0 and .Ltmp0
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp0-.Lfunc_begin0           # >> Call Site 2 <<
	.uleb128 .Ltmp5-.Ltmp0                  #   Call between .Ltmp0 and .Ltmp5
	.uleb128 .Ltmp6-.Lfunc_begin0           #     jumps to .Ltmp6
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp11-.Lfunc_begin0          # >> Call Site 3 <<
	.uleb128 .Ltmp90-.Ltmp11                #   Call between .Ltmp11 and .Ltmp90
	.uleb128 .Ltmp91-.Lfunc_begin0          #     jumps to .Ltmp91
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp90-.Lfunc_begin0          # >> Call Site 4 <<
	.uleb128 .Lfunc_end0-.Ltmp90            #   Call between .Ltmp90 and .Lfunc_end0
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_,"axG",@progbits,_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_,comdat
	.weak	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_ # -- Begin function _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
	.p2align	1, 0x90
	.type	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_,@function
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_: # @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
	.cfi_startproc
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	leaq	16(%rdi), %rax
	movq	%rax, (%rdi)
	testq	%rsi, %rsi
	je	.LBB1_1
# %bb.2:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	strlen
	leaq	(%rax,%rbx), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	jmp	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag # TAILCALL
.LBB1_1:
	.cfi_def_cfa_offset 32
	movl	$.L.str.56, %edi
	callq	_ZSt19__throw_logic_errorPKc
.Lfunc_end1:
	.size	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_, .Lfunc_end1-_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
	.cfi_endproc
                                        # -- End function
	.text
	.globl	_Z40__device_stub__Genotype_Matrix_TransposePfS_ii # -- Begin function _Z40__device_stub__Genotype_Matrix_TransposePfS_ii
	.type	_Z40__device_stub__Genotype_Matrix_TransposePfS_ii,@function
_Z40__device_stub__Genotype_Matrix_TransposePfS_ii: # @_Z40__device_stub__Genotype_Matrix_TransposePfS_ii
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	12(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	8(%rsp), %rdx
	movl	%ecx, (%rdx)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z25Genotype_Matrix_TransposePfS_ii, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end2:
	.size	_Z40__device_stub__Genotype_Matrix_TransposePfS_ii, .Lfunc_end2-_Z40__device_stub__Genotype_Matrix_TransposePfS_ii
	.cfi_endproc
                                        # -- End function
	.globl	_Z33__device_stub__Kinship_Matrix_CalPfS_S_ii # -- Begin function _Z33__device_stub__Kinship_Matrix_CalPfS_S_ii
	.type	_Z33__device_stub__Kinship_Matrix_CalPfS_S_ii,@function
_Z33__device_stub__Kinship_Matrix_CalPfS_S_ii: # @_Z33__device_stub__Kinship_Matrix_CalPfS_S_ii
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$128, %rsp
	.cfi_def_cfa_offset 176
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	24(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	4(%rsp), %rdx
	movl	%ecx, (%rdx)
	movq	%rsp, %rcx
	movl	%r8d, (%rcx)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	16(%rsp), %r12
	leaq	8(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z18Kinship_Matrix_CalPfS_S_ii, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$144, %rsp
	.cfi_adjust_cfa_offset -144
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end3:
	.size	_Z33__device_stub__Kinship_Matrix_CalPfS_S_ii, .Lfunc_end3-_Z33__device_stub__Kinship_Matrix_CalPfS_S_ii
	.cfi_endproc
                                        # -- End function
	.globl	_Z33__device_stub__Kinship_Matrix_AddPfS_l # -- Begin function _Z33__device_stub__Kinship_Matrix_AddPfS_l
	.type	_Z33__device_stub__Kinship_Matrix_AddPfS_l,@function
_Z33__device_stub__Kinship_Matrix_AddPfS_l: # @_Z33__device_stub__Kinship_Matrix_AddPfS_l
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	24(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	16(%rsp), %r12
	leaq	8(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z18Kinship_Matrix_AddPfS_l, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end4:
	.size	_Z33__device_stub__Kinship_Matrix_AddPfS_l, .Lfunc_end4-_Z33__device_stub__Kinship_Matrix_AddPfS_l
	.cfi_endproc
                                        # -- End function
	.globl	_Z39__device_stub__Kinship_Matrix_NormalizePflf # -- Begin function _Z39__device_stub__Kinship_Matrix_NormalizePflf
	.type	_Z39__device_stub__Kinship_Matrix_NormalizePflf,@function
_Z39__device_stub__Kinship_Matrix_NormalizePflf: # @_Z39__device_stub__Kinship_Matrix_NormalizePflf
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	12(%rsp), %rdx
	movss	%xmm0, (%rdx)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rdx, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z24Kinship_Matrix_NormalizePflf, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end5:
	.size	_Z39__device_stub__Kinship_Matrix_NormalizePflf, .Lfunc_end5-_Z39__device_stub__Kinship_Matrix_NormalizePflf
	.cfi_endproc
                                        # -- End function
	.globl	_Z34__device_stub__Matrix_AllValue_SetPflf # -- Begin function _Z34__device_stub__Matrix_AllValue_SetPflf
	.type	_Z34__device_stub__Matrix_AllValue_SetPflf,@function
_Z34__device_stub__Matrix_AllValue_SetPflf: # @_Z34__device_stub__Matrix_AllValue_SetPflf
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	12(%rsp), %rdx
	movss	%xmm0, (%rdx)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rdx, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z19Matrix_AllValue_SetPflf, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end6:
	.size	_Z34__device_stub__Matrix_AllValue_SetPflf, .Lfunc_end6-_Z34__device_stub__Matrix_AllValue_SetPflf
	.cfi_endproc
                                        # -- End function
	.globl	_Z25Golden_Kinship_Matrix_CalPfS_ii # -- Begin function _Z25Golden_Kinship_Matrix_CalPfS_ii
	.type	_Z25Golden_Kinship_Matrix_CalPfS_ii,@function
_Z25Golden_Kinship_Matrix_CalPfS_ii:    # @_Z25Golden_Kinship_Matrix_CalPfS_ii
	.cfi_startproc
# %bb.0:
	testl	%edx, %edx
	jle	.LBB7_7
# %bb.1:                                # %.preheader28.lr.ph
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movl	%edx, %eax
	movl	%ecx, %edx
	leaq	(,%rax,4), %r8
	xorl	%r9d, %r9d
	xorl	%r10d, %r10d
.LBB7_2:                                # %.preheader.lr.ph
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB7_3 Depth 2
                                        #       Child Loop BB7_9 Depth 3
	movq	%r10, %r11
	imulq	%rax, %r11
	leaq	(%rdi,%r11,4), %r11
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
.LBB7_3:                                # %.preheader
                                        #   Parent Loop BB7_2 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB7_9 Depth 3
	xorps	%xmm0, %xmm0
	testl	%ecx, %ecx
	jle	.LBB7_4
# %bb.8:                                # %.lr.ph.preheader
                                        #   in Loop: Header=BB7_3 Depth=2
	movq	%rdx, %r15
	movq	%rsi, %r12
.LBB7_9:                                # %.lr.ph
                                        #   Parent Loop BB7_2 Depth=1
                                        #     Parent Loop BB7_3 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movss	(%r12,%r9), %xmm1               # xmm1 = mem[0],zero,zero,zero
	mulss	(%r12,%rbx), %xmm1
	addss	%xmm1, %xmm0
	addq	%r8, %r12
	decq	%r15
	jne	.LBB7_9
.LBB7_4:                                # %._crit_edge
                                        #   in Loop: Header=BB7_3 Depth=2
	movss	%xmm0, (%r11,%r14,4)
	incq	%r14
	addq	$4, %rbx
	cmpq	%rax, %r14
	jne	.LBB7_3
# %bb.5:                                # %._crit_edge32
                                        #   in Loop: Header=BB7_2 Depth=1
	incq	%r10
	addq	$4, %r9
	cmpq	%rax, %r10
	jne	.LBB7_2
# %bb.6:
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	.cfi_restore %rbx
	.cfi_restore %r12
	.cfi_restore %r14
	.cfi_restore %r15
.LBB7_7:                                # %._crit_edge34
	retq
.Lfunc_end7:
	.size	_Z25Golden_Kinship_Matrix_CalPfS_ii, .Lfunc_end7-_Z25Golden_Kinship_Matrix_CalPfS_ii
	.cfi_endproc
                                        # -- End function
	.globl	_Z25Golden_Kinship_Matrix_AddPfS_l # -- Begin function _Z25Golden_Kinship_Matrix_AddPfS_l
	.type	_Z25Golden_Kinship_Matrix_AddPfS_l,@function
_Z25Golden_Kinship_Matrix_AddPfS_l:     # @_Z25Golden_Kinship_Matrix_AddPfS_l
	.cfi_startproc
# %bb.0:
	testq	%rdx, %rdx
	jle	.LBB8_3
# %bb.1:                                # %.lr.ph.preheader
	xorl	%eax, %eax
.LBB8_2:                                # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movss	(%rsi,%rax,4), %xmm0            # xmm0 = mem[0],zero,zero,zero
	addss	(%rdi,%rax,4), %xmm0
	movss	%xmm0, (%rsi,%rax,4)
	incq	%rax
	cmpq	%rax, %rdx
	jne	.LBB8_2
.LBB8_3:                                # %._crit_edge
	retq
.Lfunc_end8:
	.size	_Z25Golden_Kinship_Matrix_AddPfS_l, .Lfunc_end8-_Z25Golden_Kinship_Matrix_AddPfS_l
	.cfi_endproc
                                        # -- End function
	.globl	_Z31Golden_Kinship_Matrix_NormalizePflf # -- Begin function _Z31Golden_Kinship_Matrix_NormalizePflf
	.type	_Z31Golden_Kinship_Matrix_NormalizePflf,@function
_Z31Golden_Kinship_Matrix_NormalizePflf: # @_Z31Golden_Kinship_Matrix_NormalizePflf
	.cfi_startproc
# %bb.0:
	testq	%rsi, %rsi
	jle	.LBB9_3
# %bb.1:                                # %.lr.ph.preheader
	xorl	%eax, %eax
.LBB9_2:                                # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movss	(%rdi,%rax,4), %xmm1            # xmm1 = mem[0],zero,zero,zero
	divss	%xmm0, %xmm1
	movss	%xmm1, (%rdi,%rax,4)
	incq	%rax
	cmpq	%rax, %rsi
	jne	.LBB9_2
.LBB9_3:                                # %._crit_edge
	retq
.Lfunc_end9:
	.size	_Z31Golden_Kinship_Matrix_NormalizePflf, .Lfunc_end9-_Z31Golden_Kinship_Matrix_NormalizePflf
	.cfi_endproc
                                        # -- End function
	.globl	_Z26Golden_Matrix_AllValue_SetPflf # -- Begin function _Z26Golden_Matrix_AllValue_SetPflf
	.type	_Z26Golden_Matrix_AllValue_SetPflf,@function
_Z26Golden_Matrix_AllValue_SetPflf:     # @_Z26Golden_Matrix_AllValue_SetPflf
	.cfi_startproc
# %bb.0:
	testq	%rsi, %rsi
	jle	.LBB10_3
# %bb.1:                                # %.lr.ph.preheader
	xorl	%eax, %eax
.LBB10_2:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movss	%xmm0, (%rdi,%rax,4)
	incq	%rax
	cmpq	%rax, %rsi
	jne	.LBB10_2
.LBB10_3:                               # %._crit_edge
	retq
.Lfunc_end10:
	.size	_Z26Golden_Matrix_AllValue_SetPflf, .Lfunc_end10-_Z26Golden_Matrix_AllValue_SetPflf
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0                          # -- Begin function main
.LCPI11_0:
	.quad	0x412e848000000000              # double 1.0E+6
	.section	.rodata.cst16,"aM",@progbits,16
	.p2align	4, 0x0
.LCPI11_1:
	.zero	16
	.text
	.globl	main
	.type	main,@function
main:                                   # @main
.Lfunc_begin1:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception1
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$1944, %rsp                     # imm = 0x798
	.cfi_def_cfa_offset 2000
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rsi, %rbx
	movl	%edi, %ebp
	.cfi_escape 0x2e, 0x00
	callq	clock
	movq	%rax, 320(%rsp)                 # 8-byte Spill
	leaq	216(%rsp), %r15
	movq	%r15, -16(%r15)
	xorl	%eax, %eax
	movq	%rax, -8(%r15)
	movb	%al, (%r15)
	leaq	256(%rsp), %r13
	movq	%r13, -16(%r13)
	movq	%rax, -8(%r13)
	movb	%al, (%r13)
	leaq	344(%rsp), %r14
	movq	%r14, -16(%r14)
	movq	%rax, -8(%r14)
	movb	%al, (%r14)
	leaq	376(%rsp), %rax
	movq	%rax, -16(%rax)
.Ltmp92:
	.cfi_escape 0x2e, 0x00
	leaq	360(%rsp), %rdi
	movl	$.L.str.34, %esi
	movl	$.L.str.34+2, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
.Ltmp93:
# %bb.1:                                # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.exit
.Ltmp95:
	.cfi_escape 0x2e, 0x20
	subq	$8, %rsp
	.cfi_adjust_cfa_offset 8
	leaq	38(%rsp), %rax
	leaq	284(%rsp), %r10
	leaq	124(%rsp), %r11
	leaq	208(%rsp), %rdx
	leaq	248(%rsp), %rcx
	leaq	336(%rsp), %r8
	leaq	68(%rsp), %r9
	movl	%ebp, %edi
	movq	%rbx, %rsi
	pushq	%rax
	.cfi_adjust_cfa_offset 8
	pushq	%r10
	.cfi_adjust_cfa_offset 8
	pushq	%r11
	.cfi_adjust_cfa_offset 8
	callq	_Z14parse_cmd_lineiPPcRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_RiS8_S8_Rc
	addq	$32, %rsp
	.cfi_adjust_cfa_offset -32
.Ltmp96:
# %bb.2:
	movl	$1, %ebp
	cmpl	$1, %eax
	je	.LBB11_138
# %bb.3:
	movq	200(%rsp), %rsi
.Ltmp98:
	.cfi_escape 0x2e, 0x00
	leaq	1424(%rsp), %rdi
	movl	$8, %edx
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode
.Ltmp99:
# %bb.4:
	movq	240(%rsp), %rsi
.Ltmp101:
	.cfi_escape 0x2e, 0x00
	leaq	904(%rsp), %rdi
	movl	$8, %edx
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode
.Ltmp102:
# %bb.5:
	leaq	1544(%rsp), %rdi
	.cfi_escape 0x2e, 0x00
	callq	_ZNKSt12__basic_fileIcE7is_openEv
	testb	%al, %al
	je	.LBB11_53
# %bb.6:
	leaq	1024(%rsp), %rdi
	.cfi_escape 0x2e, 0x00
	callq	_ZNKSt12__basic_fileIcE7is_openEv
	testb	%al, %al
	je	.LBB11_56
# %bb.7:
	movq	1424(%rsp), %r14
	movq	-24(%r14), %rax
	xorl	%ebp, %ebp
	testb	$5, 1456(%rsp,%rax)
	jne	.LBB11_131
# %bb.8:
	movq	904(%rsp), %rax
	movq	-24(%rax), %rax
	testb	$5, 936(%rsp,%rax)
	jne	.LBB11_131
# %bb.9:
	leaq	184(%rsp), %rax
	movq	%rax, -16(%rax)
	movq	$0, -8(%rax)
	movb	$0, (%rax)
	movslq	60(%rsp), %rax
	movslq	116(%rsp), %rcx
	imulq	%rax, %rcx
	movq	%rcx, %rax
	shlq	$2, %rax
	testl	%ecx, %ecx
	movq	$-1, %rdi
	cmovnsq	%rax, %rdi
.Ltmp121:
	.cfi_escape 0x2e, 0x00
	callq	_Znam
	movq	%rax, 32(%rsp)                  # 8-byte Spill
.Ltmp122:
# %bb.10:                               # %.preheader484
	leaq	392(%rsp), %r15
	leaq	120(%rsp), %rbx
	xorl	%r12d, %r12d
	xorl	%ebp, %ebp
.LBB11_11:                              # =>This Loop Header: Depth=1
                                        #     Child Loop BB11_17 Depth 2
                                        #     Child Loop BB11_23 Depth 2
                                        #     Child Loop BB11_28 Depth 2
                                        #     Child Loop BB11_35 Depth 2
	movq	-24(%r14), %rdi
	leaq	1424(%rsp), %r14
	addq	%r14, %rdi
.Ltmp124:
	.cfi_escape 0x2e, 0x00
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp125:
# %bb.12:                               # %.noexc
                                        #   in Loop: Header=BB11_11 Depth=1
.Ltmp126:
	.cfi_escape 0x2e, 0x00
	movsbl	%al, %edx
	movq	%r14, %rdi
	leaq	168(%rsp), %rsi
	callq	_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EES4_
.Ltmp127:
# %bb.13:                               #   in Loop: Header=BB11_11 Depth=1
	movq	(%rax), %rcx
	movq	-24(%rcx), %rcx
	testb	$5, 32(%rax,%rcx)
	movq	32(%rsp), %r14                  # 8-byte Reload
	jne	.LBB11_61
# %bb.14:                               #   in Loop: Header=BB11_11 Depth=1
	cmpq	$0, 176(%rsp)
	je	.LBB11_52
# %bb.15:                               #   in Loop: Header=BB11_11 Depth=1
.Ltmp288:
	.cfi_escape 0x2e, 0x00
	movq	%r15, %rdi
	leaq	168(%rsp), %rsi
	movl	$24, %edx
	callq	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode
.Ltmp289:
	leaq	64(%rsp), %r14
# %bb.16:                               #   in Loop: Header=BB11_11 Depth=1
	xorps	%xmm0, %xmm0
	movaps	%xmm0, 64(%rsp)
	xorl	%ecx, %ecx
	movq	%rcx, 80(%rsp)
	leaq	136(%rsp), %rax
	movq	%rax, 120(%rsp)
	movq	%rcx, 128(%rsp)
	movb	$0, 136(%rsp)
.LBB11_17:                              #   Parent Loop BB11_11 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
.Ltmp291:
	.cfi_escape 0x2e, 0x00
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$44, %edx
	callq	_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EES4_
.Ltmp292:
# %bb.18:                               #   in Loop: Header=BB11_17 Depth=2
	movq	(%rax), %rcx
	movq	-24(%rcx), %rcx
	testb	$5, 32(%rax,%rcx)
	jne	.LBB11_20
# %bb.19:                               #   in Loop: Header=BB11_17 Depth=2
.Ltmp327:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_
.Ltmp328:
	jmp	.LBB11_17
.LBB11_20:                              #   in Loop: Header=BB11_11 Depth=1
	movl	%r12d, 16(%rsp)                 # 4-byte Spill
	movq	64(%rsp), %r14
	movq	72(%rsp), %r12
	movq	%r12, %rcx
	subq	%r14, %rcx
	shrq	$5, %rcx
	movl	60(%rsp), %eax
	movq	%rax, 8(%rsp)                   # 8-byte Spill
	cmpl	%ecx, %eax
	jle	.LBB11_32
# %bb.21:                               #   in Loop: Header=BB11_11 Depth=1
	cmpq	%r14, %r12
	je	.LBB11_27
# %bb.22:                               # %.lr.ph.i.i.i.i.i.preheader
                                        #   in Loop: Header=BB11_11 Depth=1
	movl	%ebp, 24(%rsp)                  # 4-byte Spill
	movq	%r13, %rbp
	movq	%r14, %r13
.LBB11_23:                              # %.lr.ph.i.i.i.i.i
                                        #   Parent Loop BB11_11 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movq	(%r13), %rdi
	addq	$16, %r13
	cmpq	%r13, %rdi
	je	.LBB11_25
# %bb.24:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i.i.i.i.i.i.i
                                        #   in Loop: Header=BB11_23 Depth=2
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB11_25:                              # %_ZSt8_DestroyINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEvPT_.exit.i.i.i.i.i
                                        #   in Loop: Header=BB11_23 Depth=2
	addq	$16, %r13
	cmpq	%r12, %r13
	jne	.LBB11_23
# %bb.26:                               # %_ZSt8_DestroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EvT_S7_RSaIT0_E.exit.i.i
                                        #   in Loop: Header=BB11_11 Depth=1
	movq	%r14, 72(%rsp)
	movq	%rbp, %r13
	movl	24(%rsp), %ebp                  # 4-byte Reload
.LBB11_27:                              # %_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5clearEv.exit.preheader
                                        #   in Loop: Header=BB11_11 Depth=1
	leaq	64(%rsp), %r14
.LBB11_28:                              # %_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5clearEv.exit
                                        #   Parent Loop BB11_11 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
.Ltmp293:
	.cfi_escape 0x2e, 0x00
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$9, %edx
	callq	_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EES4_
.Ltmp294:
# %bb.29:                               #   in Loop: Header=BB11_28 Depth=2
	movq	(%rax), %rcx
	movq	-24(%rcx), %rcx
	testb	$5, 32(%rax,%rcx)
	jne	.LBB11_31
# %bb.30:                               #   in Loop: Header=BB11_28 Depth=2
.Ltmp324:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_
.Ltmp325:
	jmp	.LBB11_28
.LBB11_31:                              #   in Loop: Header=BB11_11 Depth=1
	movq	64(%rsp), %r14
	movq	72(%rsp), %r12
	movq	%r12, %rcx
	subq	%r14, %rcx
	shrq	$5, %rcx
.LBB11_32:                              #   in Loop: Header=BB11_11 Depth=1
	movq	8(%rsp), %rax                   # 8-byte Reload
	cmpl	%eax, %ecx
	movq	%rcx, 104(%rsp)                 # 8-byte Spill
	jne	.LBB11_39
# %bb.33:                               # %.preheader477
                                        #   in Loop: Header=BB11_11 Depth=1
	testl	%eax, %eax
	jle	.LBB11_38
# %bb.34:                               # %.lr.ph
                                        #   in Loop: Header=BB11_11 Depth=1
	movl	%ebp, 24(%rsp)                  # 4-byte Spill
	subq	%r14, %r12
	sarq	$5, %r12
                                        # kill: def $eax killed $eax killed $rax def $rax
	imull	16(%rsp), %eax                  # 4-byte Folded Reload
	movq	32(%rsp), %rcx                  # 8-byte Reload
	leaq	(%rcx,%rax,4), %r13
	xorl	%ebp, %ebp
.LBB11_35:                              #   Parent Loop BB11_11 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	cmpq	%rbp, %r12
	je	.LBB11_253
# %bb.36:                               #   in Loop: Header=BB11_35 Depth=2
	movq	(%r14), %rdi
	.cfi_escape 0x2e, 0x00
	callq	atof
	cvtsd2ss	%xmm0, %xmm0
	movss	%xmm0, (%r13,%rbp,4)
	incq	%rbp
	addq	$32, %r14
	cmpq	%rbp, 8(%rsp)                   # 8-byte Folded Reload
	jne	.LBB11_35
# %bb.37:                               #   in Loop: Header=BB11_11 Depth=1
	leaq	256(%rsp), %r13
	movl	24(%rsp), %ebp                  # 4-byte Reload
.LBB11_38:                              #   in Loop: Header=BB11_11 Depth=1
	movq	32(%rsp), %r14                  # 8-byte Reload
	jmp	.LBB11_48
.LBB11_39:                              #   in Loop: Header=BB11_11 Depth=1
	movq	200(%rsp), %rsi
	movq	208(%rsp), %rdx
.Ltmp295:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cerr, %edi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp296:
# %bb.40:                               # %_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE.exit285
                                        #   in Loop: Header=BB11_11 Depth=1
.Ltmp297:
	movq	%rax, %r12
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.37, %esi
	movl	$55, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp298:
# %bb.41:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit287
                                        #   in Loop: Header=BB11_11 Depth=1
.Ltmp299:
	.cfi_escape 0x2e, 0x00
	movq	%r12, %rdi
	movl	16(%rsp), %esi                  # 4-byte Reload
	callq	_ZNSolsEi
.Ltmp300:
# %bb.42:                               #   in Loop: Header=BB11_11 Depth=1
	movq	%rax, %r12
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r12, %rdi
.Ltmp301:
	.cfi_escape 0x2e, 0x00
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp302:
# %bb.43:                               # %.noexc417
                                        #   in Loop: Header=BB11_11 Depth=1
.Ltmp303:
	.cfi_escape 0x2e, 0x00
	movsbl	%al, %esi
	movq	%r12, %rdi
	callq	_ZNSo3putEc
.Ltmp304:
# %bb.44:                               # %.noexc418
                                        #   in Loop: Header=BB11_11 Depth=1
.Ltmp305:
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp306:
# %bb.45:                               # %_ZNSolsEPFRSoS_E.exit289
                                        #   in Loop: Header=BB11_11 Depth=1
	movl	$1, %ebp
	movq	32(%rsp), %rdi                  # 8-byte Reload
	testq	%rdi, %rdi
	je	.LBB11_47
# %bb.46:                               #   in Loop: Header=BB11_11 Depth=1
	.cfi_escape 0x2e, 0x00
	callq	_ZdaPv
.LBB11_47:                              #   in Loop: Header=BB11_11 Depth=1
	xorl	%r14d, %r14d
.LBB11_48:                              # %.loopexit478
                                        #   in Loop: Header=BB11_11 Depth=1
	movl	16(%rsp), %r12d                 # 4-byte Reload
	movq	120(%rsp), %rdi
	leaq	136(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB11_50
# %bb.49:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i
                                        #   in Loop: Header=BB11_11 Depth=1
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB11_50:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit
                                        #   in Loop: Header=BB11_11 Depth=1
	.cfi_escape 0x2e, 0x00
	leaq	64(%rsp), %rdi
	callq	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev
	.cfi_escape 0x2e, 0x00
	movl	$_ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE, %esi
	movq	%r15, %rdi
	callq	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED2Ev
	.cfi_escape 0x2e, 0x00
	leaq	520(%rsp), %rdi
	callq	_ZNSt8ios_baseD2Ev
	movq	104(%rsp), %rax                 # 8-byte Reload
	cmpl	8(%rsp), %eax                   # 4-byte Folded Reload
	jne	.LBB11_105
# %bb.51:                               #   in Loop: Header=BB11_11 Depth=1
	movq	%r14, 32(%rsp)                  # 8-byte Spill
.LBB11_52:                              #   in Loop: Header=BB11_11 Depth=1
	incl	%r12d
	movq	1424(%rsp), %r14
	jmp	.LBB11_11
.LBB11_53:
	movq	200(%rsp), %rsi
	movq	208(%rsp), %rdx
.Ltmp104:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cerr, %edi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp105:
# %bb.54:                               # %_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE.exit
.Ltmp106:
	movq	%rax, %rbx
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.35, %esi
	movl	$41, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp107:
# %bb.55:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit
	movq	(%rbx), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
.Ltmp108:
	.cfi_escape 0x2e, 0x00
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp109:
	jmp	.LBB11_59
.LBB11_56:
	movq	240(%rsp), %rsi
	movq	248(%rsp), %rdx
.Ltmp110:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cerr, %edi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp111:
# %bb.57:                               # %_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE.exit276
.Ltmp112:
	movq	%rax, %rbx
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.36, %esi
	movl	$41, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp113:
# %bb.58:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit277
	movq	(%rbx), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
.Ltmp114:
	.cfi_escape 0x2e, 0x00
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp115:
.LBB11_59:                              # %.noexc413.invoke
.Ltmp116:
	.cfi_escape 0x2e, 0x00
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_ZNSo3putEc
.Ltmp117:
# %bb.60:                               # %.noexc414.invoke
	movl	$1, %ebp
.Ltmp118:
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp119:
	jmp	.LBB11_137
.LBB11_61:
	cmpl	%r12d, 116(%rsp)
	jne	.LBB11_106
# %bb.62:
	movslq	60(%rsp), %rax
	movslq	%r12d, %rcx
	imulq	%rax, %rcx
	movq	%rcx, %rax
	shlq	$2, %rax
	testl	%ecx, %ecx
	movq	$-1, %rdi
	cmovnsq	%rax, %rdi
.Ltmp137:
	.cfi_escape 0x2e, 0x00
	callq	_Znam
	movq	%rax, 96(%rsp)                  # 8-byte Spill
.Ltmp138:
# %bb.63:                               # %.preheader470
	leaq	392(%rsp), %r15
	leaq	120(%rsp), %r13
	xorl	%r12d, %r12d
	leaq	904(%rsp), %rbx
.LBB11_64:                              # =>This Loop Header: Depth=1
                                        #     Child Loop BB11_70 Depth 2
                                        #     Child Loop BB11_76 Depth 2
                                        #     Child Loop BB11_81 Depth 2
                                        #     Child Loop BB11_88 Depth 2
	movq	904(%rsp), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
.Ltmp139:
	.cfi_escape 0x2e, 0x00
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp140:
# %bb.65:                               # %.noexc301
                                        #   in Loop: Header=BB11_64 Depth=1
.Ltmp141:
	.cfi_escape 0x2e, 0x00
	movsbl	%al, %edx
	movq	%rbx, %rdi
	leaq	168(%rsp), %rsi
	callq	_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EES4_
.Ltmp142:
# %bb.66:                               #   in Loop: Header=BB11_64 Depth=1
	movq	(%rax), %rcx
	movq	-24(%rcx), %rcx
	testb	$5, 32(%rax,%rcx)
	jne	.LBB11_112
# %bb.67:                               #   in Loop: Header=BB11_64 Depth=1
	cmpq	$0, 176(%rsp)
	je	.LBB11_104
# %bb.68:                               #   in Loop: Header=BB11_64 Depth=1
.Ltmp259:
	.cfi_escape 0x2e, 0x00
	movq	%r15, %rdi
	leaq	168(%rsp), %rsi
	movl	$24, %edx
	callq	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode
.Ltmp260:
# %bb.69:                               #   in Loop: Header=BB11_64 Depth=1
	xorps	%xmm0, %xmm0
	movaps	%xmm0, 64(%rsp)
	xorl	%ecx, %ecx
	movq	%rcx, 80(%rsp)
	leaq	136(%rsp), %rax
	movq	%rax, 120(%rsp)
	movq	%rcx, 128(%rsp)
	movb	$0, 136(%rsp)
	leaq	64(%rsp), %r14
.LBB11_70:                              #   Parent Loop BB11_64 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
.Ltmp262:
	.cfi_escape 0x2e, 0x00
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	$44, %edx
	callq	_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EES4_
.Ltmp263:
# %bb.71:                               #   in Loop: Header=BB11_70 Depth=2
	movq	(%rax), %rcx
	movq	-24(%rcx), %rcx
	testb	$5, 32(%rax,%rcx)
	jne	.LBB11_73
# %bb.72:                               #   in Loop: Header=BB11_70 Depth=2
.Ltmp285:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_
.Ltmp286:
	jmp	.LBB11_70
.LBB11_73:                              #   in Loop: Header=BB11_64 Depth=1
	movl	%r12d, 16(%rsp)                 # 4-byte Spill
	movq	64(%rsp), %r14
	movq	72(%rsp), %r12
	movq	%r12, %rcx
	subq	%r14, %rcx
	shrq	$5, %rcx
	movl	60(%rsp), %eax
	movq	%rax, 8(%rsp)                   # 8-byte Spill
	cmpl	%ecx, %eax
	jle	.LBB11_85
# %bb.74:                               #   in Loop: Header=BB11_64 Depth=1
	cmpq	%r14, %r12
	je	.LBB11_80
# %bb.75:                               # %.lr.ph.i.i.i.i.i307.preheader
                                        #   in Loop: Header=BB11_64 Depth=1
	movq	%r14, %rbx
.LBB11_76:                              # %.lr.ph.i.i.i.i.i307
                                        #   Parent Loop BB11_64 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movq	(%rbx), %rdi
	addq	$16, %rbx
	cmpq	%rbx, %rdi
	je	.LBB11_78
# %bb.77:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i.i.i.i.i.i.i309
                                        #   in Loop: Header=BB11_76 Depth=2
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB11_78:                              # %_ZSt8_DestroyINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEvPT_.exit.i.i.i.i.i310
                                        #   in Loop: Header=BB11_76 Depth=2
	addq	$16, %rbx
	cmpq	%r12, %rbx
	jne	.LBB11_76
# %bb.79:                               # %_ZSt8_DestroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EvT_S7_RSaIT0_E.exit.i.i312
                                        #   in Loop: Header=BB11_64 Depth=1
	movq	%r14, 72(%rsp)
	leaq	904(%rsp), %rbx
.LBB11_80:                              # %_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5clearEv.exit314.preheader
                                        #   in Loop: Header=BB11_64 Depth=1
	leaq	64(%rsp), %r14
.LBB11_81:                              # %_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5clearEv.exit314
                                        #   Parent Loop BB11_64 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
.Ltmp264:
	.cfi_escape 0x2e, 0x00
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	$9, %edx
	callq	_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EES4_
.Ltmp265:
# %bb.82:                               #   in Loop: Header=BB11_81 Depth=2
	movq	(%rax), %rcx
	movq	-24(%rcx), %rcx
	testb	$5, 32(%rax,%rcx)
	jne	.LBB11_84
# %bb.83:                               #   in Loop: Header=BB11_81 Depth=2
.Ltmp282:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_
.Ltmp283:
	jmp	.LBB11_81
.LBB11_84:                              #   in Loop: Header=BB11_64 Depth=1
	movq	64(%rsp), %r14
	movq	72(%rsp), %r12
	movq	%r12, %rcx
	subq	%r14, %rcx
	shrq	$5, %rcx
.LBB11_85:                              #   in Loop: Header=BB11_64 Depth=1
	movq	8(%rsp), %rax                   # 8-byte Reload
	cmpl	%eax, %ecx
	movq	%rcx, 104(%rsp)                 # 8-byte Spill
	jne	.LBB11_91
# %bb.86:                               # %.preheader467
                                        #   in Loop: Header=BB11_64 Depth=1
	testl	%eax, %eax
	jle	.LBB11_100
# %bb.87:                               # %.lr.ph558
                                        #   in Loop: Header=BB11_64 Depth=1
	movl	%ebp, 24(%rsp)                  # 4-byte Spill
	subq	%r14, %r12
	sarq	$5, %r12
                                        # kill: def $eax killed $eax killed $rax def $rax
	imull	16(%rsp), %eax                  # 4-byte Folded Reload
	movq	96(%rsp), %rcx                  # 8-byte Reload
	leaq	(%rcx,%rax,4), %rbx
	xorl	%ebp, %ebp
.LBB11_88:                              #   Parent Loop BB11_64 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	cmpq	%rbp, %r12
	je	.LBB11_255
# %bb.89:                               #   in Loop: Header=BB11_88 Depth=2
	movq	(%r14), %rdi
	.cfi_escape 0x2e, 0x00
	callq	atof
	cvtsd2ss	%xmm0, %xmm0
	movss	%xmm0, (%rbx,%rbp,4)
	incq	%rbp
	addq	$32, %r14
	cmpq	%rbp, 8(%rsp)                   # 8-byte Folded Reload
	jne	.LBB11_88
# %bb.90:                               #   in Loop: Header=BB11_64 Depth=1
	movl	24(%rsp), %ebp                  # 4-byte Reload
	movq	32(%rsp), %r14                  # 8-byte Reload
	leaq	904(%rsp), %rbx
	jmp	.LBB11_101
.LBB11_91:                              #   in Loop: Header=BB11_64 Depth=1
	movq	240(%rsp), %rsi
	movq	248(%rsp), %rdx
.Ltmp266:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cerr, %edi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp267:
# %bb.92:                               # %_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE.exit317
                                        #   in Loop: Header=BB11_64 Depth=1
.Ltmp268:
	movq	%rax, %r12
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.39, %esi
	movl	$56, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp269:
# %bb.93:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit319
                                        #   in Loop: Header=BB11_64 Depth=1
.Ltmp270:
	.cfi_escape 0x2e, 0x00
	movq	%r12, %rdi
	movl	16(%rsp), %esi                  # 4-byte Reload
	callq	_ZNSolsEi
.Ltmp271:
# %bb.94:                               #   in Loop: Header=BB11_64 Depth=1
	movq	%rax, %r12
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r12, %rdi
.Ltmp272:
	.cfi_escape 0x2e, 0x00
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp273:
# %bb.95:                               # %.noexc421
                                        #   in Loop: Header=BB11_64 Depth=1
.Ltmp274:
	.cfi_escape 0x2e, 0x00
	movsbl	%al, %esi
	movq	%r12, %rdi
	callq	_ZNSo3putEc
.Ltmp275:
# %bb.96:                               # %.noexc422
                                        #   in Loop: Header=BB11_64 Depth=1
.Ltmp276:
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp277:
# %bb.97:                               # %_ZNSolsEPFRSoS_E.exit321
                                        #   in Loop: Header=BB11_64 Depth=1
	movl	$1, %ebp
	movq	96(%rsp), %rdi                  # 8-byte Reload
	testq	%rdi, %rdi
	movq	32(%rsp), %r14                  # 8-byte Reload
	je	.LBB11_99
# %bb.98:                               #   in Loop: Header=BB11_64 Depth=1
	.cfi_escape 0x2e, 0x00
	callq	_ZdaPv
.LBB11_99:                              #   in Loop: Header=BB11_64 Depth=1
	xorl	%eax, %eax
	movq	%rax, 96(%rsp)                  # 8-byte Spill
	jmp	.LBB11_101
.LBB11_100:                             #   in Loop: Header=BB11_64 Depth=1
	movq	32(%rsp), %r14                  # 8-byte Reload
.LBB11_101:                             # %.loopexit468
                                        #   in Loop: Header=BB11_64 Depth=1
	movl	16(%rsp), %r12d                 # 4-byte Reload
	movq	120(%rsp), %rdi
	leaq	136(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB11_103
# %bb.102:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i325
                                        #   in Loop: Header=BB11_64 Depth=1
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB11_103:                             # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit327
                                        #   in Loop: Header=BB11_64 Depth=1
	.cfi_escape 0x2e, 0x00
	leaq	64(%rsp), %rdi
	callq	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev
	.cfi_escape 0x2e, 0x00
	movl	$_ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE, %esi
	movq	%r15, %rdi
	callq	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED2Ev
	.cfi_escape 0x2e, 0x00
	leaq	520(%rsp), %rdi
	callq	_ZNSt8ios_baseD2Ev
	movq	104(%rsp), %rax                 # 8-byte Reload
	cmpl	8(%rsp), %eax                   # 4-byte Folded Reload
	jne	.LBB11_118
.LBB11_104:                             #   in Loop: Header=BB11_64 Depth=1
	incl	%r12d
	jmp	.LBB11_64
.LBB11_105:
	xorl	%ebx, %ebx
	leaq	216(%rsp), %r15
	jmp	.LBB11_127
.LBB11_106:
	movq	200(%rsp), %rsi
	movq	208(%rsp), %rdx
.Ltmp129:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cerr, %edi
	leaq	216(%rsp), %r15
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp130:
# %bb.107:                              # %_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE.exit296
.Ltmp131:
	movq	%rax, %rbx
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.38, %esi
	movl	$60, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp132:
# %bb.108:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit298
.Ltmp133:
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_ZNSolsEi
.Ltmp134:
# %bb.109:
.Ltmp135:
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp136:
# %bb.110:                              # %_ZNSolsEPFRSoS_E.exit300
	movl	$1, %ebp
	testq	%r14, %r14
	je	.LBB11_126
# %bb.111:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	jmp	.LBB11_125
.LBB11_112:
	cmpl	%r12d, 116(%rsp)
	jne	.LBB11_119
# %bb.113:
	movl	%r12d, 16(%rsp)                 # 4-byte Spill
	movslq	60(%rsp), %r12
	movl	276(%rsp), %eax
	movq	%rax, 8(%rsp)                   # 8-byte Spill
                                        # kill: def $eax killed $eax killed $rax
	imull	%r12d, %eax
	movslq	%eax, %rcx
	movq	%r12, 152(%rsp)                 # 8-byte Spill
                                        # kill: def $r12d killed $r12d killed $r12 def $r12
	imull	%r12d, %r12d
	movzbl	30(%rsp), %r13d
	testl	%r13d, %r13d
	movl	%ebp, 24(%rsp)                  # 4-byte Spill
	movl	%eax, 272(%rsp)                 # 4-byte Spill
	movq	%rcx, 232(%rsp)                 # 8-byte Spill
	je	.LBB11_147
# %bb.114:
	leaq	(,%rcx,4), %rax
	testl	%ecx, %ecx
	movq	$-1, %rdi
	cmovnsq	%rax, %rdi
.Ltmp153:
	.cfi_escape 0x2e, 0x00
	callq	_Znam
.Ltmp154:
# %bb.115:
	movq	%rax, 120(%rsp)
	leaq	(,%r12,4), %rbx
.Ltmp155:
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rdi
	callq	_Znam
.Ltmp156:
# %bb.116:
	movq	%rax, 48(%rsp)
.Ltmp157:
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rdi
	callq	_Znam
.Ltmp158:
# %bb.117:
	movq	%rax, 40(%rsp)
	jmp	.LBB11_151
.LBB11_118:
	xorl	%ebx, %ebx
	leaq	216(%rsp), %r15
	leaq	256(%rsp), %r13
	jmp	.LBB11_127
.LBB11_119:
	movq	240(%rsp), %rsi
	movq	248(%rsp), %rdx
.Ltmp144:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cerr, %edi
	leaq	216(%rsp), %r15
	leaq	256(%rsp), %r13
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp145:
# %bb.120:                              # %_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE.exit332
.Ltmp146:
	movq	%rax, %rbx
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.38, %esi
	movl	$60, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp147:
# %bb.121:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit334
.Ltmp148:
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_ZNSolsEi
.Ltmp149:
# %bb.122:
.Ltmp150:
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp151:
# %bb.123:                              # %_ZNSolsEPFRSoS_E.exit336
	movl	$1, %ebp
	movq	96(%rsp), %rdi                  # 8-byte Reload
	testq	%rdi, %rdi
	je	.LBB11_126
# %bb.124:
	.cfi_escape 0x2e, 0x00
.LBB11_125:                             # %.loopexit476
	callq	_ZdaPv
.LBB11_126:
	xorl	%ebx, %ebx
.LBB11_127:                             # %.loopexit476
	leaq	184(%rsp), %rax
.LBB11_128:                             # %.loopexit476
	movq	168(%rsp), %rdi
	cmpq	%rax, %rdi
	je	.LBB11_130
# %bb.129:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i373
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB11_130:                             # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit375
	testb	%bl, %bl
	je	.LBB11_137
.LBB11_131:
	.cfi_escape 0x2e, 0x00
	callq	clock
	movq	%rax, %rbx
.Ltmp308:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %edi
	movl	$.L.str.42, %esi
	movl	$26, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp309:
# %bb.132:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit380
	subq	320(%rsp), %rbx                 # 8-byte Folded Reload
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rbx, %xmm0
	divsd	.LCPI11_0(%rip), %xmm0
.Ltmp310:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp311:
# %bb.133:                              # %_ZNSolsEd.exit
.Ltmp312:
	movq	%rax, %rbx
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.43, %esi
	movl	$8, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp313:
# %bb.134:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit383
	movq	(%rbx), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
.Ltmp314:
	.cfi_escape 0x2e, 0x00
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp315:
# %bb.135:                              # %.noexc429
.Ltmp316:
	.cfi_escape 0x2e, 0x00
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_ZNSo3putEc
.Ltmp317:
# %bb.136:                              # %.noexc430
.Ltmp318:
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp319:
.LBB11_137:                             # %_ZNSolsEPFRSoS_E.exit
	.cfi_escape 0x2e, 0x00
	leaq	904(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
	.cfi_escape 0x2e, 0x00
	leaq	1424(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
	leaq	344(%rsp), %r14
.LBB11_138:
	movq	360(%rsp), %rdi
	leaq	376(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB11_140
# %bb.139:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i386
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB11_140:                             # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit388
	movq	328(%rsp), %rdi
	cmpq	%r14, %rdi
	je	.LBB11_142
# %bb.141:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i389
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB11_142:                             # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit391
	movq	240(%rsp), %rdi
	cmpq	%r13, %rdi
	je	.LBB11_144
# %bb.143:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i392
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB11_144:                             # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit394
	movq	200(%rsp), %rdi
	cmpq	%r15, %rdi
	je	.LBB11_146
# %bb.145:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i395
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB11_146:                             # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit397
	movl	%ebp, %eax
	addq	$1944, %rsp                     # imm = 0x798
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB11_147:
	.cfi_def_cfa_offset 2000
	leaq	(,%rcx,4), %rbx
.Ltmp159:
	.cfi_escape 0x2e, 0x00
	leaq	120(%rsp), %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	hipMallocManaged
.Ltmp160:
# %bb.148:                              # %_ZL16hipMallocManagedIfE10hipError_tPPT_mj.exit
.Ltmp161:
	.cfi_escape 0x2e, 0x00
	leaq	64(%rsp), %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	hipMallocManaged
.Ltmp162:
# %bb.149:                              # %_ZL16hipMallocManagedIfE10hipError_tPPT_mj.exit339
	leaq	(,%r12,4), %rbx
.Ltmp163:
	.cfi_escape 0x2e, 0x00
	leaq	48(%rsp), %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	hipMallocManaged
.Ltmp164:
# %bb.150:                              # %_ZL16hipMallocManagedIfE10hipError_tPPT_mj.exit341
.Ltmp165:
	.cfi_escape 0x2e, 0x00
	leaq	40(%rsp), %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	hipMallocManaged
.Ltmp166:
.LBB11_151:                             # %_ZL16hipMallocManagedIfE10hipError_tPPT_mj.exit343
	movl	152(%rsp), %r15d                # 4-byte Reload
	leal	31(%r15), %ecx
	leal	62(%r15), %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	movq	8(%rsp), %rdx                   # 8-byte Reload
	leal	31(%rdx), %ecx
	addl	$62, %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	movl	%r12d, %ecx
	shrl	$7, %ecx
	btsq	$32, %rcx
	movq	%rcx, 160(%rsp)                 # 8-byte Spill
	movl	16(%rsp), %ecx                  # 4-byte Reload
	testl	%ecx, %ecx
	movl	%r13d, 104(%rsp)                # 4-byte Spill
	je	.LBB11_203
# %bb.152:                              # %.lr.ph565
	sarl	$5, %eax
	sarl	$5, %edx
	shlq	$32, %rdx
	orq	%rax, %rdx
	movq	%rdx, 296(%rsp)                 # 8-byte Spill
	movabsq	$4294967296, %rdx               # imm = 0x100000000
	orq	$1, %rdx
	imulq	%rax, %rdx
	movq	%rdx, 288(%rsp)                 # 8-byte Spill
	movq	232(%rsp), %rax                 # 8-byte Reload
	leaq	(,%rax,4), %rax
	movq	%rax, 280(%rsp)                 # 8-byte Spill
	movl	%ecx, %edx
	movq	152(%rsp), %rax                 # 8-byte Reload
	leaq	(,%rax,4), %rcx
	movq	%rcx, 16(%rsp)                  # 8-byte Spill
	movq	96(%rsp), %rcx                  # 8-byte Reload
	leaq	(%rcx,%rax,4), %rbx
	xorl	%eax, %eax
	movl	$1, %ebp
	xorl	%r13d, %r13d
	movq	%rdx, 32(%rsp)                  # 8-byte Spill
.LBB11_153:                             # =>This Loop Header: Depth=1
                                        #     Child Loop BB11_154 Depth 2
                                        #       Child Loop BB11_156 Depth 3
                                        #       Child Loop BB11_178 Depth 3
	incq	%rax
	movq	%rax, 312(%rsp)                 # 8-byte Spill
	cmpq	%rdx, %rax
	movq	%rbx, 96(%rsp)                  # 8-byte Spill
	movq	%rbp, 304(%rsp)                 # 8-byte Spill
	jae	.LBB11_182
.LBB11_154:                             # %.preheader466
                                        #   Parent Loop BB11_153 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB11_156 Depth 3
                                        #       Child Loop BB11_178 Depth 3
	testl	%r15d, %r15d
	jle	.LBB11_157
# %bb.155:                              # %.lr.ph560
                                        #   in Loop: Header=BB11_154 Depth=2
	movl	%r13d, %eax
	imull	%r15d, %eax
	cltq
	shlq	$2, %rax
	addq	120(%rsp), %rax
	xorl	%ecx, %ecx
.LBB11_156:                             #   Parent Loop BB11_153 Depth=1
                                        #     Parent Loop BB11_154 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movss	(%r14,%rcx,4), %xmm0            # xmm0 = mem[0],zero,zero,zero
	mulss	(%rbx,%rcx,4), %xmm0
	movss	%xmm0, (%rax,%rcx,4)
	incq	%rcx
	cmpq	%rcx, %r15
	jne	.LBB11_156
.LBB11_157:                             # %._crit_edge
                                        #   in Loop: Header=BB11_154 Depth=2
	incl	%r13d
	cmpl	8(%rsp), %r13d                  # 4-byte Folded Reload
	jl	.LBB11_181
# %bb.158:                              #   in Loop: Header=BB11_154 Depth=2
	xorl	%r13d, %r13d
	movl	104(%rsp), %eax                 # 4-byte Reload
	cmpl	$1, %eax
	je	.LBB11_176
# %bb.159:                              #   in Loop: Header=BB11_154 Depth=2
	testl	%eax, %eax
	jne	.LBB11_181
# %bb.160:                              #   in Loop: Header=BB11_154 Depth=2
.Ltmp168:
	.cfi_escape 0x2e, 0x00
	movq	296(%rsp), %rdi                 # 8-byte Reload
	movl	$1, %esi
	movabsq	$137438953504, %rdx             # imm = 0x2000000020
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp169:
# %bb.161:                              #   in Loop: Header=BB11_154 Depth=2
	testl	%eax, %eax
	jne	.LBB11_163
# %bb.162:                              #   in Loop: Header=BB11_154 Depth=2
	movq	64(%rsp), %rdi
	movq	120(%rsp), %rsi
.Ltmp170:
	.cfi_escape 0x2e, 0x00
	movq	152(%rsp), %rdx                 # 8-byte Reload
                                        # kill: def $edx killed $edx killed $rdx
	movq	8(%rsp), %rcx                   # 8-byte Reload
                                        # kill: def $ecx killed $ecx killed $rcx
	callq	_Z40__device_stub__Genotype_Matrix_TransposePfS_ii
.Ltmp171:
.LBB11_163:                             #   in Loop: Header=BB11_154 Depth=2
.Ltmp172:
	.cfi_escape 0x2e, 0x00
	callq	hipDeviceSynchronize
.Ltmp173:
# %bb.164:                              #   in Loop: Header=BB11_154 Depth=2
.Ltmp174:
	.cfi_escape 0x2e, 0x00
	movq	288(%rsp), %rdi                 # 8-byte Reload
	movl	$1, %esi
	movabsq	$137438953504, %rdx             # imm = 0x2000000020
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp175:
# %bb.165:                              #   in Loop: Header=BB11_154 Depth=2
	testl	%eax, %eax
	jne	.LBB11_167
# %bb.166:                              #   in Loop: Header=BB11_154 Depth=2
	movq	64(%rsp), %rdi
	movq	120(%rsp), %rsi
	movq	48(%rsp), %rdx
.Ltmp176:
	.cfi_escape 0x2e, 0x00
	movl	%r15d, %ecx
	movq	8(%rsp), %r8                    # 8-byte Reload
                                        # kill: def $r8d killed $r8d killed $r8
	callq	_Z33__device_stub__Kinship_Matrix_CalPfS_S_ii
.Ltmp177:
.LBB11_167:                             #   in Loop: Header=BB11_154 Depth=2
.Ltmp178:
	.cfi_escape 0x2e, 0x00
	callq	hipDeviceSynchronize
.Ltmp179:
# %bb.168:                              #   in Loop: Header=BB11_154 Depth=2
.Ltmp180:
	.cfi_escape 0x2e, 0x00
	movq	160(%rsp), %rdi                 # 8-byte Reload
	movl	$1, %esi
	movabsq	$4294967424, %rdx               # imm = 0x100000080
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp181:
# %bb.169:                              #   in Loop: Header=BB11_154 Depth=2
	testl	%eax, %eax
	jne	.LBB11_171
# %bb.170:                              #   in Loop: Header=BB11_154 Depth=2
	movq	48(%rsp), %rdi
	movq	40(%rsp), %rsi
.Ltmp182:
	.cfi_escape 0x2e, 0x00
	movq	%r12, %rdx
	callq	_Z33__device_stub__Kinship_Matrix_AddPfS_l
.Ltmp183:
.LBB11_171:                             #   in Loop: Header=BB11_154 Depth=2
.Ltmp184:
	.cfi_escape 0x2e, 0x00
	callq	hipDeviceSynchronize
.Ltmp185:
# %bb.172:                              #   in Loop: Header=BB11_154 Depth=2
.Ltmp186:
	.cfi_escape 0x2e, 0x00
	movq	160(%rsp), %rdi                 # 8-byte Reload
	movl	$1, %esi
	movabsq	$4294967424, %rdx               # imm = 0x100000080
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp187:
# %bb.173:                              #   in Loop: Header=BB11_154 Depth=2
	testl	%eax, %eax
	jne	.LBB11_175
# %bb.174:                              #   in Loop: Header=BB11_154 Depth=2
	movq	120(%rsp), %rdi
.Ltmp188:
	.cfi_escape 0x2e, 0x00
	xorps	%xmm0, %xmm0
	movq	232(%rsp), %rsi                 # 8-byte Reload
	callq	_Z34__device_stub__Matrix_AllValue_SetPflf
.Ltmp189:
.LBB11_175:                             #   in Loop: Header=BB11_154 Depth=2
.Ltmp190:
	.cfi_escape 0x2e, 0x00
	callq	hipDeviceSynchronize
.Ltmp191:
	jmp	.LBB11_181
.LBB11_176:                             #   in Loop: Header=BB11_154 Depth=2
	movq	48(%rsp), %rdi
	movq	120(%rsp), %rsi
	.cfi_escape 0x2e, 0x00
	movl	%r15d, %edx
	movq	8(%rsp), %rcx                   # 8-byte Reload
                                        # kill: def $ecx killed $ecx killed $rcx
	callq	_Z25Golden_Kinship_Matrix_CalPfS_ii
	cmpl	$0, 152(%rsp)                   # 4-byte Folded Reload
	je	.LBB11_181
# %bb.177:                              # %.lr.ph.i.preheader
                                        #   in Loop: Header=BB11_154 Depth=2
	movq	48(%rsp), %rax
	movq	40(%rsp), %rcx
	xorl	%edx, %edx
.LBB11_178:                             # %.lr.ph.i
                                        #   Parent Loop BB11_153 Depth=1
                                        #     Parent Loop BB11_154 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movss	(%rcx,%rdx,4), %xmm0            # xmm0 = mem[0],zero,zero,zero
	addss	(%rax,%rdx,4), %xmm0
	movss	%xmm0, (%rcx,%rdx,4)
	incq	%rdx
	cmpq	%rdx, %r12
	jne	.LBB11_178
# %bb.179:                              # %_Z25Golden_Kinship_Matrix_AddPfS_l.exit
                                        #   in Loop: Header=BB11_154 Depth=2
	cmpl	$0, 232(%rsp)                   # 4-byte Folded Reload
	jle	.LBB11_181
# %bb.180:                              # %.lr.ph.i344.preheader
                                        #   in Loop: Header=BB11_154 Depth=2
	movq	120(%rsp), %rdi
	.cfi_escape 0x2e, 0x00
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	movq	280(%rsp), %rdx                 # 8-byte Reload
	callq	memset@PLT
.LBB11_181:                             # %_Z26Golden_Matrix_AllValue_SetPflf.exit
                                        #   in Loop: Header=BB11_154 Depth=2
	incq	%rbp
	addq	16(%rsp), %rbx                  # 8-byte Folded Reload
	cmpq	32(%rsp), %rbp                  # 8-byte Folded Reload
	jne	.LBB11_154
.LBB11_182:                             # %.loopexit
                                        #   in Loop: Header=BB11_153 Depth=1
	movq	304(%rsp), %rbp                 # 8-byte Reload
	incq	%rbp
	movq	16(%rsp), %rax                  # 8-byte Reload
	movq	96(%rsp), %rbx                  # 8-byte Reload
	addq	%rax, %rbx
	addq	%rax, %r14
	movq	32(%rsp), %rdx                  # 8-byte Reload
	movq	312(%rsp), %rax                 # 8-byte Reload
	cmpq	%rdx, %rax
	jne	.LBB11_153
# %bb.183:                              # %._crit_edge566
	testl	%r13d, %r13d
	movl	104(%rsp), %r13d                # 4-byte Reload
	jle	.LBB11_203
# %bb.184:
	cmpl	$1, %r13d
	je	.LBB11_198
# %bb.185:
	testl	%r13d, %r13d
	jne	.LBB11_203
# %bb.186:
.Ltmp193:
	.cfi_escape 0x2e, 0x00
	movabsq	$137438953504, %rdx             # imm = 0x2000000020
	movq	296(%rsp), %rdi                 # 8-byte Reload
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp194:
# %bb.187:
	testl	%eax, %eax
	jne	.LBB11_189
# %bb.188:
	movq	64(%rsp), %rdi
	movq	120(%rsp), %rsi
.Ltmp195:
	.cfi_escape 0x2e, 0x00
	movl	%r15d, %edx
	movq	8(%rsp), %rcx                   # 8-byte Reload
                                        # kill: def $ecx killed $ecx killed $rcx
	callq	_Z40__device_stub__Genotype_Matrix_TransposePfS_ii
.Ltmp196:
.LBB11_189:
.Ltmp197:
	.cfi_escape 0x2e, 0x00
	callq	hipDeviceSynchronize
.Ltmp198:
# %bb.190:
.Ltmp199:
	.cfi_escape 0x2e, 0x00
	movabsq	$137438953504, %rdx             # imm = 0x2000000020
	movq	288(%rsp), %rdi                 # 8-byte Reload
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp200:
# %bb.191:
	testl	%eax, %eax
	jne	.LBB11_193
# %bb.192:
	movq	64(%rsp), %rdi
	movq	120(%rsp), %rsi
	movq	48(%rsp), %rdx
.Ltmp201:
	.cfi_escape 0x2e, 0x00
	movl	%r15d, %ecx
	movq	8(%rsp), %r8                    # 8-byte Reload
                                        # kill: def $r8d killed $r8d killed $r8
	callq	_Z33__device_stub__Kinship_Matrix_CalPfS_S_ii
.Ltmp202:
.LBB11_193:
.Ltmp203:
	.cfi_escape 0x2e, 0x00
	callq	hipDeviceSynchronize
.Ltmp204:
# %bb.194:
.Ltmp205:
	.cfi_escape 0x2e, 0x00
	movabsq	$4294967424, %rdx               # imm = 0x100000080
	movq	160(%rsp), %rdi                 # 8-byte Reload
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp206:
# %bb.195:
	testl	%eax, %eax
	jne	.LBB11_197
# %bb.196:
	movq	48(%rsp), %rdi
	movq	40(%rsp), %rsi
.Ltmp207:
	.cfi_escape 0x2e, 0x00
	movq	%r12, %rdx
	callq	_Z33__device_stub__Kinship_Matrix_AddPfS_l
.Ltmp208:
.LBB11_197:
.Ltmp209:
	.cfi_escape 0x2e, 0x00
	callq	hipDeviceSynchronize
.Ltmp210:
	jmp	.LBB11_203
.LBB11_198:
	movq	48(%rsp), %rdi
	movq	120(%rsp), %rsi
	.cfi_escape 0x2e, 0x00
	movl	%r15d, %edx
	movq	8(%rsp), %rcx                   # 8-byte Reload
                                        # kill: def $ecx killed $ecx killed $rcx
	callq	_Z25Golden_Kinship_Matrix_CalPfS_ii
	testq	%r15, %r15
	je	.LBB11_252
# %bb.199:                              # %.lr.ph.i346.preheader
	movq	48(%rsp), %rax
	movq	40(%rsp), %rcx
	xorl	%edx, %edx
.LBB11_200:                             # %.lr.ph.i346
                                        # =>This Inner Loop Header: Depth=1
	movss	(%rcx,%rdx,4), %xmm0            # xmm0 = mem[0],zero,zero,zero
	addss	(%rax,%rdx,4), %xmm0
	movss	%xmm0, (%rcx,%rdx,4)
	incq	%rdx
	cmpq	%rdx, %r12
	jne	.LBB11_200
# %bb.201:                              # %_Z25Golden_Kinship_Matrix_AddPfS_l.exit349
	cmpl	$0, 272(%rsp)                   # 4-byte Folded Reload
	jle	.LBB11_203
# %bb.202:                              # %.lr.ph.i350.preheader
	movq	120(%rsp), %rdi
	.cfi_escape 0x2e, 0x00
	xorl	%esi, %esi
	movq	280(%rsp), %rdx                 # 8-byte Reload
	callq	memset@PLT
.LBB11_203:                             # %_Z26Golden_Matrix_AllValue_SetPflf.exit353
	xorl	%eax, %eax
	testl	%r15d, %r15d
	setg	%bpl
	jle	.LBB11_206
# %bb.204:                              # %.lr.ph570
	movq	40(%rsp), %rcx
	movq	152(%rsp), %rsi                 # 8-byte Reload
	incl	%esi
	xorps	%xmm1, %xmm1
	movq	%r15, %rdx
.LBB11_205:                             # =>This Inner Loop Header: Depth=1
	cltq
	addss	(%rcx,%rax,4), %xmm1
	addl	%esi, %eax
	decq	%rdx
	jne	.LBB11_205
	jmp	.LBB11_207
.LBB11_206:
	xorps	%xmm1, %xmm1
	xorl	%ebp, %ebp
.LBB11_207:                             # %._crit_edge571
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r15d, %xmm0
	divss	%xmm0, %xmm1
	movss	%xmm1, 8(%rsp)                  # 4-byte Spill
	testl	%r13d, %r13d
	je	.LBB11_212
# %bb.208:                              # %._crit_edge571
	cmpl	$1, %r13d
	jne	.LBB11_216
# %bb.209:
	testq	%r15, %r15
	je	.LBB11_216
# %bb.210:                              # %.lr.ph.i354.preheader
	movq	40(%rsp), %rax
	xorl	%ecx, %ecx
	movss	8(%rsp), %xmm1                  # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
.LBB11_211:                             # %.lr.ph.i354
                                        # =>This Inner Loop Header: Depth=1
	movss	(%rax,%rcx,4), %xmm0            # xmm0 = mem[0],zero,zero,zero
	divss	%xmm1, %xmm0
	movss	%xmm0, (%rax,%rcx,4)
	incq	%rcx
	cmpq	%rcx, %r12
	jne	.LBB11_211
	jmp	.LBB11_216
.LBB11_212:
.Ltmp212:
	.cfi_escape 0x2e, 0x00
	movabsq	$4294967424, %rdx               # imm = 0x100000080
	movq	160(%rsp), %rdi                 # 8-byte Reload
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp213:
# %bb.213:
	testl	%eax, %eax
	jne	.LBB11_215
# %bb.214:
	movq	40(%rsp), %rdi
.Ltmp214:
	.cfi_escape 0x2e, 0x00
	movq	%r12, %rsi
	movss	8(%rsp), %xmm0                  # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	_Z39__device_stub__Kinship_Matrix_NormalizePflf
.Ltmp215:
.LBB11_215:
.Ltmp216:
	.cfi_escape 0x2e, 0x00
	callq	hipDeviceSynchronize
.Ltmp217:
.LBB11_216:                             # %_Z31Golden_Kinship_Matrix_NormalizePflf.exit
.Ltmp219:
	.cfi_escape 0x2e, 0x00
	leaq	392(%rsp), %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev
.Ltmp220:
# %bb.217:
	movq	328(%rsp), %rsi
.Ltmp222:
	.cfi_escape 0x2e, 0x00
	leaq	392(%rsp), %rbx
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode
.Ltmp223:
# %bb.218:
	leaq	504(%rsp), %rdi
	.cfi_escape 0x2e, 0x00
	callq	_ZNKSt12__basic_fileIcE7is_openEv
	testb	%al, %al
	je	.LBB11_234
# %bb.219:
	cmpb	$1, 104(%rsp)                   # 1-byte Folded Reload
	jg	.LBB11_235
# %bb.220:                              # %.preheader
	testb	%bpl, %bpl
	je	.LBB11_239
# %bb.221:                              # %.lr.ph576
	leaq	-1(%r15), %rax
	movq	%rax, 8(%rsp)                   # 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%ebp, %ebp
.LBB11_222:                             # =>This Loop Header: Depth=1
                                        #     Child Loop BB11_225 Depth 2
	movq	40(%rsp), %rax
	movq	%rbp, %rcx
	imulq	%r15, %rcx
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rax,%rcx,4), %xmm0
.Ltmp232:
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp233:
# %bb.223:                              # %_ZNSolsEf.exit.preheader
                                        #   in Loop: Header=BB11_222 Depth=1
	cmpl	$1, %r15d
	je	.LBB11_230
# %bb.224:                              #   in Loop: Header=BB11_222 Depth=1
	movl	%r13d, %r12d
	incq	%r12
	movq	8(%rsp), %r14                   # 8-byte Reload
.LBB11_225:                             # %.lr.ph574
                                        #   Parent Loop BB11_222 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movb	$9, 31(%rsp)
	movq	392(%rsp), %rax
	movq	-24(%rax), %rax
	cmpq	$0, 408(%rsp,%rax)
	je	.LBB11_227
# %bb.226:                              #   in Loop: Header=BB11_225 Depth=2
.Ltmp234:
	.cfi_escape 0x2e, 0x00
	movl	$1, %edx
	movq	%rbx, %rdi
	leaq	31(%rsp), %rsi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp235:
	jmp	.LBB11_228
.LBB11_227:                             #   in Loop: Header=BB11_225 Depth=2
.Ltmp236:
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rdi
	movl	$9, %esi
	callq	_ZNSo3putEc
.Ltmp237:
	movq	%rbx, %rax
.LBB11_228:                             #   in Loop: Header=BB11_225 Depth=2
	movq	40(%rsp), %rcx
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rcx,%r12,4), %xmm0
.Ltmp238:
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp239:
# %bb.229:                              # %_ZNSolsEf.exit363
                                        #   in Loop: Header=BB11_225 Depth=2
	incq	%r12
	decq	%r14
	jne	.LBB11_225
.LBB11_230:                             # %_ZNSolsEf.exit._crit_edge
                                        #   in Loop: Header=BB11_222 Depth=1
	movq	392(%rsp), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
.Ltmp241:
	.cfi_escape 0x2e, 0x00
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp242:
# %bb.231:                              # %.noexc425
                                        #   in Loop: Header=BB11_222 Depth=1
.Ltmp243:
	.cfi_escape 0x2e, 0x00
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_ZNSo3putEc
.Ltmp244:
# %bb.232:                              # %.noexc426
                                        #   in Loop: Header=BB11_222 Depth=1
.Ltmp245:
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp246:
# %bb.233:                              # %_ZNSolsEPFRSoS_E.exit358
                                        #   in Loop: Header=BB11_222 Depth=1
	incq	%rbp
	addl	%r15d, %r13d
	cmpq	%r15, %rbp
	jne	.LBB11_222
	jmp	.LBB11_239
.LBB11_234:
	movl	$_ZSt4cerr, %ebx
.Ltmp224:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cerr, %edi
	movl	$.L.str.41, %esi
	movl	$57, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp225:
	jmp	.LBB11_238
.LBB11_235:
.Ltmp226:
	.cfi_escape 0x2e, 0x00
	leaq	392(%rsp), %rdi
	movl	$.L.str.40, %esi
	movl	$33, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp227:
# %bb.236:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit365
.Ltmp228:
	.cfi_escape 0x2e, 0x00
	leaq	392(%rsp), %rdi
	xorl	%esi, %esi
	callq	_ZNSo9_M_insertIlEERSoT_
.Ltmp229:
# %bb.237:
	movq	%rax, %rbx
.LBB11_238:                             # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit370.invoke
.Ltmp230:
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp231:
.LBB11_239:                             # %_ZNSolsEPFRSoS_E.exit368
.Ltmp248:
	.cfi_escape 0x2e, 0x00
	leaq	392(%rsp), %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv
.Ltmp249:
# %bb.240:
	movq	120(%rsp), %rdi
	cmpl	$0, 104(%rsp)                   # 4-byte Folded Reload
	je	.LBB11_247
# %bb.241:
	testq	%rdi, %rdi
	je	.LBB11_243
# %bb.242:
	.cfi_escape 0x2e, 0x00
	callq	_ZdaPv
.LBB11_243:
	movq	48(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB11_245
# %bb.244:
	.cfi_escape 0x2e, 0x00
	callq	_ZdaPv
.LBB11_245:
	movq	40(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB11_251
# %bb.246:
	.cfi_escape 0x2e, 0x00
	callq	_ZdaPv
	jmp	.LBB11_251
.LBB11_247:
.Ltmp250:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp251:
# %bb.248:
	movq	64(%rsp), %rdi
.Ltmp252:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp253:
# %bb.249:
	movq	48(%rsp), %rdi
.Ltmp254:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp255:
# %bb.250:
	movq	40(%rsp), %rdi
.Ltmp256:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp257:
.LBB11_251:
	.cfi_escape 0x2e, 0x00
	leaq	392(%rsp), %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev
	movb	$1, %bl
	leaq	216(%rsp), %r15
	leaq	256(%rsp), %r13
	leaq	184(%rsp), %rax
	movl	24(%rsp), %ebp                  # 4-byte Reload
	jmp	.LBB11_128
.LBB11_252:
	xorl	%ebp, %ebp
	jmp	.LBB11_216
.LBB11_253:
.Ltmp321:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.58, %edi
	movq	%r12, %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_ZSt24__throw_out_of_range_fmtPKcz
.Ltmp322:
# %bb.254:                              # %.noexc291
.LBB11_255:
.Ltmp279:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.58, %edi
	movq	%r12, %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_ZSt24__throw_out_of_range_fmtPKcz
.Ltmp280:
# %bb.256:                              # %.noexc323
.LBB11_257:
.Ltmp218:
	jmp	.LBB11_263
.LBB11_258:
.Ltmp211:
	jmp	.LBB11_263
.LBB11_259:
.Ltmp221:
	jmp	.LBB11_263
.LBB11_260:
.Ltmp167:
	jmp	.LBB11_263
.LBB11_261:
.Ltmp258:
	jmp	.LBB11_270
.LBB11_262:
.Ltmp123:
	jmp	.LBB11_263
.LBB11_264:
.Ltmp247:
	jmp	.LBB11_270
.LBB11_265:                             # %.loopexit.split-lp472.loopexit.split-lp
.Ltmp152:
	jmp	.LBB11_263
.LBB11_266:
.Ltmp261:
	jmp	.LBB11_263
.LBB11_267:                             # %.loopexit.split-lp
.Ltmp278:
	jmp	.LBB11_287
.LBB11_268:
.Ltmp290:
	jmp	.LBB11_263
.LBB11_269:
.Ltmp240:
.LBB11_270:
	movq	%rax, %rbx
	.cfi_escape 0x2e, 0x00
	leaq	392(%rsp), %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev
	jmp	.LBB11_296
.LBB11_271:                             # %.loopexit471
.Ltmp143:
	jmp	.LBB11_263
.LBB11_272:
.Ltmp103:
	movq	%rax, %rbx
	jmp	.LBB11_299
.LBB11_273:
.Ltmp100:
	jmp	.LBB11_280
.LBB11_274:                             # %.loopexit.split-lp480
.Ltmp307:
	jmp	.LBB11_292
.LBB11_275:
.Ltmp281:
	jmp	.LBB11_287
.LBB11_276:
.Ltmp320:
	jmp	.LBB11_283
.LBB11_277:                             # %.loopexit.split-lp472.loopexit
.Ltmp128:
	jmp	.LBB11_263
.LBB11_278:
.Ltmp192:
.LBB11_263:                             # %.loopexit.split-lp472
	movq	%rax, %rbx
	jmp	.LBB11_296
.LBB11_279:
.Ltmp97:
.LBB11_280:
	movq	%rax, %rbx
	jmp	.LBB11_300
.LBB11_281:
.Ltmp94:
	movq	%rax, %rbx
	jmp	.LBB11_302
.LBB11_282:
.Ltmp120:
.LBB11_283:
	movq	%rax, %rbx
	jmp	.LBB11_298
.LBB11_284:                             # %.loopexit469
.Ltmp284:
	jmp	.LBB11_287
.LBB11_285:
.Ltmp323:
	jmp	.LBB11_292
.LBB11_286:
.Ltmp287:
.LBB11_287:
	movq	%rax, %rbx
	movq	120(%rsp), %rdi
	leaq	136(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB11_289
# %bb.288:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i328
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB11_289:                             # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit330
	.cfi_escape 0x2e, 0x00
	jmp	.LBB11_295
.LBB11_290:                             # %.loopexit479
.Ltmp326:
	jmp	.LBB11_292
.LBB11_291:
.Ltmp329:
.LBB11_292:
	movq	%rax, %rbx
	movq	120(%rsp), %rdi
	leaq	136(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB11_294
# %bb.293:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i292
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB11_294:                             # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit294
	.cfi_escape 0x2e, 0x00
.LBB11_295:                             # %.loopexit.split-lp472
	leaq	64(%rsp), %rdi
	callq	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev
	.cfi_escape 0x2e, 0x00
	leaq	392(%rsp), %rdi
	movl	$_ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE, %esi
	callq	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED2Ev
	.cfi_escape 0x2e, 0x00
	leaq	520(%rsp), %rdi
	callq	_ZNSt8ios_baseD2Ev
.LBB11_296:                             # %.loopexit.split-lp472
	movq	168(%rsp), %rdi
	leaq	184(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB11_298
# %bb.297:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i376
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB11_298:
	.cfi_escape 0x2e, 0x00
	leaq	904(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
.LBB11_299:
	.cfi_escape 0x2e, 0x00
	leaq	1424(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
.LBB11_300:
	movq	360(%rsp), %rdi
	leaq	376(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB11_302
# %bb.301:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i398
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB11_302:                             # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit400
	movq	328(%rsp), %rdi
	leaq	344(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB11_304
# %bb.303:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i401
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB11_304:                             # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit403
	movq	240(%rsp), %rdi
	leaq	256(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB11_306
# %bb.305:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i404
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB11_306:                             # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit406
	movq	200(%rsp), %rdi
	leaq	216(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB11_308
# %bb.307:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i407
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB11_308:                             # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit409
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end11:
	.size	main, .Lfunc_end11-main
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table11:
.Lexception1:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end1-.Lcst_begin1
.Lcst_begin1:
	.uleb128 .Ltmp92-.Lfunc_begin1          # >> Call Site 1 <<
	.uleb128 .Ltmp93-.Ltmp92                #   Call between .Ltmp92 and .Ltmp93
	.uleb128 .Ltmp94-.Lfunc_begin1          #     jumps to .Ltmp94
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp95-.Lfunc_begin1          # >> Call Site 2 <<
	.uleb128 .Ltmp96-.Ltmp95                #   Call between .Ltmp95 and .Ltmp96
	.uleb128 .Ltmp97-.Lfunc_begin1          #     jumps to .Ltmp97
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp98-.Lfunc_begin1          # >> Call Site 3 <<
	.uleb128 .Ltmp99-.Ltmp98                #   Call between .Ltmp98 and .Ltmp99
	.uleb128 .Ltmp100-.Lfunc_begin1         #     jumps to .Ltmp100
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp101-.Lfunc_begin1         # >> Call Site 4 <<
	.uleb128 .Ltmp102-.Ltmp101              #   Call between .Ltmp101 and .Ltmp102
	.uleb128 .Ltmp103-.Lfunc_begin1         #     jumps to .Ltmp103
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp121-.Lfunc_begin1         # >> Call Site 5 <<
	.uleb128 .Ltmp122-.Ltmp121              #   Call between .Ltmp121 and .Ltmp122
	.uleb128 .Ltmp123-.Lfunc_begin1         #     jumps to .Ltmp123
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp124-.Lfunc_begin1         # >> Call Site 6 <<
	.uleb128 .Ltmp127-.Ltmp124              #   Call between .Ltmp124 and .Ltmp127
	.uleb128 .Ltmp128-.Lfunc_begin1         #     jumps to .Ltmp128
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp288-.Lfunc_begin1         # >> Call Site 7 <<
	.uleb128 .Ltmp289-.Ltmp288              #   Call between .Ltmp288 and .Ltmp289
	.uleb128 .Ltmp290-.Lfunc_begin1         #     jumps to .Ltmp290
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp291-.Lfunc_begin1         # >> Call Site 8 <<
	.uleb128 .Ltmp328-.Ltmp291              #   Call between .Ltmp291 and .Ltmp328
	.uleb128 .Ltmp329-.Lfunc_begin1         #     jumps to .Ltmp329
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp293-.Lfunc_begin1         # >> Call Site 9 <<
	.uleb128 .Ltmp325-.Ltmp293              #   Call between .Ltmp293 and .Ltmp325
	.uleb128 .Ltmp326-.Lfunc_begin1         #     jumps to .Ltmp326
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp295-.Lfunc_begin1         # >> Call Site 10 <<
	.uleb128 .Ltmp306-.Ltmp295              #   Call between .Ltmp295 and .Ltmp306
	.uleb128 .Ltmp307-.Lfunc_begin1         #     jumps to .Ltmp307
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp104-.Lfunc_begin1         # >> Call Site 11 <<
	.uleb128 .Ltmp119-.Ltmp104              #   Call between .Ltmp104 and .Ltmp119
	.uleb128 .Ltmp120-.Lfunc_begin1         #     jumps to .Ltmp120
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp137-.Lfunc_begin1         # >> Call Site 12 <<
	.uleb128 .Ltmp138-.Ltmp137              #   Call between .Ltmp137 and .Ltmp138
	.uleb128 .Ltmp152-.Lfunc_begin1         #     jumps to .Ltmp152
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp139-.Lfunc_begin1         # >> Call Site 13 <<
	.uleb128 .Ltmp142-.Ltmp139              #   Call between .Ltmp139 and .Ltmp142
	.uleb128 .Ltmp143-.Lfunc_begin1         #     jumps to .Ltmp143
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp259-.Lfunc_begin1         # >> Call Site 14 <<
	.uleb128 .Ltmp260-.Ltmp259              #   Call between .Ltmp259 and .Ltmp260
	.uleb128 .Ltmp261-.Lfunc_begin1         #     jumps to .Ltmp261
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp262-.Lfunc_begin1         # >> Call Site 15 <<
	.uleb128 .Ltmp286-.Ltmp262              #   Call between .Ltmp262 and .Ltmp286
	.uleb128 .Ltmp287-.Lfunc_begin1         #     jumps to .Ltmp287
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp264-.Lfunc_begin1         # >> Call Site 16 <<
	.uleb128 .Ltmp283-.Ltmp264              #   Call between .Ltmp264 and .Ltmp283
	.uleb128 .Ltmp284-.Lfunc_begin1         #     jumps to .Ltmp284
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp266-.Lfunc_begin1         # >> Call Site 17 <<
	.uleb128 .Ltmp277-.Ltmp266              #   Call between .Ltmp266 and .Ltmp277
	.uleb128 .Ltmp278-.Lfunc_begin1         #     jumps to .Ltmp278
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp129-.Lfunc_begin1         # >> Call Site 18 <<
	.uleb128 .Ltmp136-.Ltmp129              #   Call between .Ltmp129 and .Ltmp136
	.uleb128 .Ltmp152-.Lfunc_begin1         #     jumps to .Ltmp152
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp153-.Lfunc_begin1         # >> Call Site 19 <<
	.uleb128 .Ltmp158-.Ltmp153              #   Call between .Ltmp153 and .Ltmp158
	.uleb128 .Ltmp167-.Lfunc_begin1         #     jumps to .Ltmp167
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp144-.Lfunc_begin1         # >> Call Site 20 <<
	.uleb128 .Ltmp151-.Ltmp144              #   Call between .Ltmp144 and .Ltmp151
	.uleb128 .Ltmp152-.Lfunc_begin1         #     jumps to .Ltmp152
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp308-.Lfunc_begin1         # >> Call Site 21 <<
	.uleb128 .Ltmp319-.Ltmp308              #   Call between .Ltmp308 and .Ltmp319
	.uleb128 .Ltmp320-.Lfunc_begin1         #     jumps to .Ltmp320
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp159-.Lfunc_begin1         # >> Call Site 22 <<
	.uleb128 .Ltmp166-.Ltmp159              #   Call between .Ltmp159 and .Ltmp166
	.uleb128 .Ltmp167-.Lfunc_begin1         #     jumps to .Ltmp167
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp168-.Lfunc_begin1         # >> Call Site 23 <<
	.uleb128 .Ltmp191-.Ltmp168              #   Call between .Ltmp168 and .Ltmp191
	.uleb128 .Ltmp192-.Lfunc_begin1         #     jumps to .Ltmp192
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp191-.Lfunc_begin1         # >> Call Site 24 <<
	.uleb128 .Ltmp193-.Ltmp191              #   Call between .Ltmp191 and .Ltmp193
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp193-.Lfunc_begin1         # >> Call Site 25 <<
	.uleb128 .Ltmp210-.Ltmp193              #   Call between .Ltmp193 and .Ltmp210
	.uleb128 .Ltmp211-.Lfunc_begin1         #     jumps to .Ltmp211
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp210-.Lfunc_begin1         # >> Call Site 26 <<
	.uleb128 .Ltmp212-.Ltmp210              #   Call between .Ltmp210 and .Ltmp212
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp212-.Lfunc_begin1         # >> Call Site 27 <<
	.uleb128 .Ltmp217-.Ltmp212              #   Call between .Ltmp212 and .Ltmp217
	.uleb128 .Ltmp218-.Lfunc_begin1         #     jumps to .Ltmp218
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp219-.Lfunc_begin1         # >> Call Site 28 <<
	.uleb128 .Ltmp220-.Ltmp219              #   Call between .Ltmp219 and .Ltmp220
	.uleb128 .Ltmp221-.Lfunc_begin1         #     jumps to .Ltmp221
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp222-.Lfunc_begin1         # >> Call Site 29 <<
	.uleb128 .Ltmp223-.Ltmp222              #   Call between .Ltmp222 and .Ltmp223
	.uleb128 .Ltmp258-.Lfunc_begin1         #     jumps to .Ltmp258
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp232-.Lfunc_begin1         # >> Call Site 30 <<
	.uleb128 .Ltmp233-.Ltmp232              #   Call between .Ltmp232 and .Ltmp233
	.uleb128 .Ltmp247-.Lfunc_begin1         #     jumps to .Ltmp247
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp234-.Lfunc_begin1         # >> Call Site 31 <<
	.uleb128 .Ltmp239-.Ltmp234              #   Call between .Ltmp234 and .Ltmp239
	.uleb128 .Ltmp240-.Lfunc_begin1         #     jumps to .Ltmp240
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp241-.Lfunc_begin1         # >> Call Site 32 <<
	.uleb128 .Ltmp246-.Ltmp241              #   Call between .Ltmp241 and .Ltmp246
	.uleb128 .Ltmp247-.Lfunc_begin1         #     jumps to .Ltmp247
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp224-.Lfunc_begin1         # >> Call Site 33 <<
	.uleb128 .Ltmp257-.Ltmp224              #   Call between .Ltmp224 and .Ltmp257
	.uleb128 .Ltmp258-.Lfunc_begin1         #     jumps to .Ltmp258
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp321-.Lfunc_begin1         # >> Call Site 34 <<
	.uleb128 .Ltmp322-.Ltmp321              #   Call between .Ltmp321 and .Ltmp322
	.uleb128 .Ltmp323-.Lfunc_begin1         #     jumps to .Ltmp323
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp279-.Lfunc_begin1         # >> Call Site 35 <<
	.uleb128 .Ltmp280-.Ltmp279              #   Call between .Ltmp279 and .Ltmp280
	.uleb128 .Ltmp281-.Lfunc_begin1         #     jumps to .Ltmp281
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp280-.Lfunc_begin1         # >> Call Site 36 <<
	.uleb128 .Lfunc_end11-.Ltmp280          #   Call between .Ltmp280 and .Lfunc_end11
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end1:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_,"axG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_,comdat
	.weak	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_ # -- Begin function _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_
	.p2align	1, 0x90
	.type	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_,@function
_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_: # @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	%rsi, %rdx
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	je	.LBB12_2
# %bb.1:
	leaq	16(%rax), %rcx
	movq	%rcx, (%rax)
	movq	(%rdx), %rsi
	movq	8(%rdx), %rdx
	addq	%rsi, %rdx
	movq	%rax, %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag
	addq	$32, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.LBB12_2:
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	movq	%rax, %rsi
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_ # TAILCALL
.Lfunc_end12:
	.size	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_, .Lfunc_end12-_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev,"axG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev,comdat
	.weak	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev # -- Begin function _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev
	.p2align	1, 0x90
	.type	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev,@function
_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev: # @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	(%rdi), %rbx
	movq	8(%rdi), %r15
	cmpq	%r15, %rbx
	je	.LBB13_6
# %bb.1:                                # %.lr.ph.i.i.i.preheader
	movq	%rdi, %r14
.LBB13_2:                               # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	addq	$16, %rbx
	cmpq	%rbx, %rdi
	je	.LBB13_4
# %bb.3:                                # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i.i.i.i.i
                                        #   in Loop: Header=BB13_2 Depth=1
	callq	_ZdlPv
.LBB13_4:                               # %_ZSt8_DestroyINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEvPT_.exit.i.i.i
                                        #   in Loop: Header=BB13_2 Depth=1
	addq	$16, %rbx
	cmpq	%r15, %rbx
	jne	.LBB13_2
# %bb.5:                                # %_ZSt8_DestroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EvT_S7_RSaIT0_E.exitthread-pre-split
	movq	(%r14), %rbx
.LBB13_6:                               # %_ZSt8_DestroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EvT_S7_RSaIT0_E.exit
	testq	%rbx, %rbx
	je	.LBB13_7
# %bb.8:
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZdlPv                          # TAILCALL
.LBB13_7:                               # %_ZNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev.exit
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end13:
	.size	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev, .Lfunc_end13-_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst16,"aM",@progbits,16
	.p2align	4, 0x0                          # -- Begin function _Z21test_matrix_transposev
.LCPI14_0:
	.long	0x7fffffff                      # float NaN
	.long	0x7fffffff                      # float NaN
	.long	0x7fffffff                      # float NaN
	.long	0x7fffffff                      # float NaN
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0
.LCPI14_1:
	.quad	0x3fb999999999999a              # double 0.10000000000000001
	.text
	.globl	_Z21test_matrix_transposev
	.type	_Z21test_matrix_transposev,@function
_Z21test_matrix_transposev:             # @_Z21test_matrix_transposev
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	leaq	16(%rsp), %rdi
	movl	$2000000000, %esi               # imm = 0x77359400
	movl	$1, %edx
	callq	hipMallocManaged
	leaq	8(%rsp), %rbx
	movl	$2000000000, %esi               # imm = 0x77359400
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	hipMallocManaged
	xorl	%eax, %eax
	movq	(%rbx), %rcx
.LBB14_1:                               # =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	movss	%xmm0, (%rcx,%rax,4)
	incq	%rax
	cmpq	$500000000, %rax                # imm = 0x1DCD6500
	jne	.LBB14_1
# %bb.2:
	movabsq	$6713033883961, %rdi            # imm = 0x61B00000139
	movabsq	$137438953504, %rdx             # imm = 0x2000000020
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB14_4
# %bb.3:
	movq	16(%rsp), %rdi
	movq	8(%rsp), %rsi
	movl	$10000, %edx                    # imm = 0x2710
	movl	$50000, %ecx                    # imm = 0xC350
	callq	_Z40__device_stub__Genotype_Matrix_TransposePfS_ii
.LBB14_4:
	callq	hipDeviceSynchronize
	xorps	%xmm0, %xmm0
	xorl	%r12d, %r12d
	movaps	.LCPI14_0(%rip), %xmm3          # xmm3 = [NaN,NaN,NaN,NaN]
	movsd	.LCPI14_1(%rip), %xmm4          # xmm4 = mem[0],zero
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
.LBB14_5:                               # %.preheader
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB14_6 Depth 2
	movq	%r13, %rbp
	xorl	%r14d, %r14d
	movaps	%xmm0, %xmm5
.LBB14_6:                               #   Parent Loop BB14_5 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movq	8(%rsp), %rax
	addq	%r12, %rax
	movss	(%rax,%r14,4), %xmm1            # xmm1 = mem[0],zero,zero,zero
	movq	16(%rsp), %rax
	subss	(%rax,%rbp), %xmm1
	andps	%xmm3, %xmm1
	cmpunordss	%xmm5, %xmm5
	movaps	%xmm5, %xmm2
	andps	%xmm1, %xmm2
	maxss	%xmm0, %xmm1
	andnps	%xmm1, %xmm5
	orps	%xmm2, %xmm5
	xorps	%xmm0, %xmm0
	cvtss2sd	%xmm5, %xmm0
	movsd	%xmm0, 24(%rsp)                 # 8-byte Spill
	ucomisd	%xmm4, %xmm0
	jbe	.LBB14_8
# %bb.7:                                #   in Loop: Header=BB14_6 Depth=2
	movl	$_ZSt4cout, %edi
	movl	$.L.str.44, %esi
	movl	$2, %edx
	movaps	%xmm5, 32(%rsp)                 # 16-byte Spill
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movl	%ebx, %esi
	callq	_ZNSolsEi
	movq	%rax, %r15
	movl	$.L.str.45, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_ZNSolsEi
	movq	%rax, %r15
	movl	$.L.str.46, %esi
	movl	$15, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	8(%rsp), %rax
	addq	%r12, %rax
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rax,%r14,4), %xmm0
	movq	%r15, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r15
	movl	$.L.str.47, %esi
	movl	$15, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	16(%rsp), %rax
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rax,%rbp), %xmm0
	movq	%r15, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r15
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r15, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r15, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	movaps	32(%rsp), %xmm5                 # 16-byte Reload
	movsd	.LCPI14_1(%rip), %xmm4          # xmm4 = mem[0],zero
	movaps	.LCPI14_0(%rip), %xmm3          # xmm3 = [NaN,NaN,NaN,NaN]
.LBB14_8:                               #   in Loop: Header=BB14_6 Depth=2
	movaps	%xmm5, %xmm0
	incq	%r14
	addq	$200000, %rbp                   # imm = 0x30D40
	cmpq	$10000, %r14                    # imm = 0x2710
	jne	.LBB14_6
# %bb.9:                                #   in Loop: Header=BB14_5 Depth=1
	incq	%rbx
	addq	$4, %r13
	addq	$40000, %r12                    # imm = 0x9C40
	cmpq	$50000, %rbx                    # imm = 0xC350
	jne	.LBB14_5
# %bb.10:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.48, %esi
	movl	$11, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movsd	24(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	movq	16(%rsp), %rdi
	callq	hipFree
	movq	8(%rsp), %rdi
	callq	hipFree
	addq	$56, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end14:
	.size	_Z21test_matrix_transposev, .Lfunc_end14-_Z21test_matrix_transposev
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst4,"aM",@progbits,4
	.p2align	2, 0x0                          # -- Begin function _Z12test_kinshipv
.LCPI15_0:
	.long	0x447a0000                      # float 1000
	.section	.rodata.cst16,"aM",@progbits,16
	.p2align	4, 0x0
.LCPI15_1:
	.long	0x7fffffff                      # float NaN
	.long	0x7fffffff                      # float NaN
	.long	0x7fffffff                      # float NaN
	.long	0x7fffffff                      # float NaN
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0
.LCPI15_2:
	.quad	0x3fb999999999999a              # double 0.10000000000000001
	.text
	.globl	_Z12test_kinshipv
	.type	_Z12test_kinshipv,@function
_Z12test_kinshipv:                      # @_Z12test_kinshipv
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	leaq	16(%rsp), %rdi
	movl	$10000000, %esi                 # imm = 0x989680
	movl	$1, %edx
	callq	hipMallocManaged
	leaq	8(%rsp), %rbx
	movl	$10000000, %esi                 # imm = 0x989680
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	hipMallocManaged
	movq	%rsp, %rdi
	movl	$25000000, %esi                 # imm = 0x17D7840
	movl	$1, %edx
	callq	hipMallocManaged
	xorl	%eax, %eax
	movq	(%rbx), %rcx
	movss	.LCPI15_0(%rip), %xmm0          # xmm0 = mem[0],zero,zero,zero
.LBB15_1:                               # =>This Inner Loop Header: Depth=1
	xorps	%xmm1, %xmm1
	cvtsi2ss	%rax, %xmm1
	divss	%xmm0, %xmm1
	movss	%xmm1, (%rcx,%rax,4)
	incq	%rax
	cmpq	$2500000, %rax                  # imm = 0x2625A0
	jne	.LBB15_1
# %bb.2:
	movabsq	$137438953504, %rdx             # imm = 0x2000000020
	leaq	47(%rdx), %rdi
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB15_4
# %bb.3:
	movq	16(%rsp), %rdi
	movq	8(%rsp), %rsi
	movl	$2500, %edx                     # imm = 0x9C4
	movl	$1000, %ecx                     # imm = 0x3E8
	callq	_Z40__device_stub__Genotype_Matrix_TransposePfS_ii
.LBB15_4:
	callq	hipDeviceSynchronize
	xorps	%xmm0, %xmm0
	xorl	%r13d, %r13d
	movaps	.LCPI15_1(%rip), %xmm3          # xmm3 = [NaN,NaN,NaN,NaN]
	movsd	.LCPI15_2(%rip), %xmm4          # xmm4 = mem[0],zero
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
.LBB15_5:                               # %.preheader
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB15_6 Depth 2
	movq	%rbx, %rbp
	xorl	%r15d, %r15d
	movaps	%xmm0, %xmm5
.LBB15_6:                               #   Parent Loop BB15_5 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movq	8(%rsp), %rax
	addq	%r13, %rax
	movss	(%rax,%r15,4), %xmm1            # xmm1 = mem[0],zero,zero,zero
	movq	16(%rsp), %rax
	subss	(%rax,%rbp), %xmm1
	andps	%xmm3, %xmm1
	cmpunordss	%xmm5, %xmm5
	movaps	%xmm5, %xmm2
	andps	%xmm1, %xmm2
	maxss	%xmm0, %xmm1
	andnps	%xmm1, %xmm5
	orps	%xmm2, %xmm5
	xorps	%xmm0, %xmm0
	cvtss2sd	%xmm5, %xmm0
	movsd	%xmm0, 24(%rsp)                 # 8-byte Spill
	ucomisd	%xmm4, %xmm0
	jbe	.LBB15_8
# %bb.7:                                #   in Loop: Header=BB15_6 Depth=2
	movl	$_ZSt4cout, %edi
	movl	$.L.str.44, %esi
	movl	$2, %edx
	movaps	%xmm5, 32(%rsp)                 # 16-byte Spill
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movl	%r14d, %esi
	callq	_ZNSolsEi
	movq	%rax, %r12
	movl	$.L.str.45, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_ZNSolsEi
	movq	%rax, %r12
	movl	$.L.str.49, %esi
	movl	$21, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	8(%rsp), %rax
	addq	%r13, %rax
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rax,%r15,4), %xmm0
	movq	%r12, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r12
	movl	$.L.str.50, %esi
	movl	$23, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	16(%rsp), %rax
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rax,%rbp), %xmm0
	movq	%r12, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r12
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r12, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r12, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	movaps	32(%rsp), %xmm5                 # 16-byte Reload
	movsd	.LCPI15_2(%rip), %xmm4          # xmm4 = mem[0],zero
	movaps	.LCPI15_1(%rip), %xmm3          # xmm3 = [NaN,NaN,NaN,NaN]
.LBB15_8:                               #   in Loop: Header=BB15_6 Depth=2
	movaps	%xmm5, %xmm0
	incq	%r15
	addq	$4000, %rbp                     # imm = 0xFA0
	cmpq	$2500, %r15                     # imm = 0x9C4
	jne	.LBB15_6
# %bb.9:                                #   in Loop: Header=BB15_5 Depth=1
	incq	%r14
	addq	$4, %rbx
	addq	$10000, %r13                    # imm = 0x2710
	cmpq	$1000, %r14                     # imm = 0x3E8
	jne	.LBB15_5
# %bb.10:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.51, %esi
	movl	$28, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movsd	24(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	movabsq	$339302416463, %rdi             # imm = 0x4F0000004F
	movl	$1, %esi
	movabsq	$137438953504, %rdx             # imm = 0x2000000020
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB15_12
# %bb.11:
	movq	16(%rsp), %rdi
	movq	8(%rsp), %rsi
	movq	(%rsp), %rdx
	movl	$1000, %ecx                     # imm = 0x3E8
	movl	$2500, %r8d                     # imm = 0x9C4
	callq	_Z33__device_stub__Kinship_Matrix_CalPfS_S_ii
.LBB15_12:
	callq	hipDeviceSynchronize
	movl	$_ZSt4cout, %edi
	movl	$.L.str.52, %esi
	movl	$20, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	(%rsp), %rax
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rax), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %rbx
	movl	$.L.str.53, %esi
	movl	$20, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	(%rsp), %rax
	xorps	%xmm0, %xmm0
	cvtss2sd	4(%rax), %xmm0
	movq	%rbx, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %rbx
	movl	$.L.str.54, %esi
	movl	$23, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	(%rsp), %rax
	xorps	%xmm0, %xmm0
	cvtss2sd	4092(%rax), %xmm0
	movq	%rbx, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %rbx
	movl	$.L.str.55, %esi
	movl	$20, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	(%rsp), %rax
	xorps	%xmm0, %xmm0
	cvtss2sd	4096(%rax), %xmm0
	movq	%rbx, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	movq	16(%rsp), %rdi
	callq	hipFree
	movq	8(%rsp), %rdi
	callq	hipFree
	movq	(%rsp), %rdi
	callq	hipFree
	addq	$56, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end15:
	.size	_Z12test_kinshipv, .Lfunc_end15-_Z12test_kinshipv
	.cfi_endproc
                                        # -- End function
	.globl	_Z8test_misv                    # -- Begin function _Z8test_misv
	.type	_Z8test_misv,@function
_Z8test_misv:                           # @_Z8test_misv
	.cfi_startproc
# %bb.0:
	retq
.Lfunc_end16:
	.size	_Z8test_misv, .Lfunc_end16-_Z8test_misv
	.cfi_endproc
                                        # -- End function
	.section	.text.__clang_call_terminate,"axG",@progbits,__clang_call_terminate,comdat
	.hidden	__clang_call_terminate          # -- Begin function __clang_call_terminate
	.weak	__clang_call_terminate
	.type	__clang_call_terminate,@function
__clang_call_terminate:                 # @__clang_call_terminate
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	callq	__cxa_begin_catch
	callq	_ZSt9terminatev
.Lfunc_end17:
	.size	__clang_call_terminate, .Lfunc_end17-__clang_call_terminate
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag,"axG",@progbits,_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag,comdat
	.weak	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag # -- Begin function _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
	.p2align	1, 0x90
	.type	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag,@function
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag: # @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	subq	%rsi, %r14
	movq	%r14, (%rsp)
	cmpq	$15, %r14
	jbe	.LBB18_1
# %bb.2:
	movq	%rsp, %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm
	movq	%rax, (%rbx)
	movq	(%r12), %rcx
	movq	%rcx, 16(%rbx)
	jmp	.LBB18_3
.LBB18_1:                               # %._crit_edge
	movq	(%rbx), %rax
.LBB18_3:
	testq	%r14, %r14
	je	.LBB18_7
# %bb.4:
	cmpq	$1, %r14
	jne	.LBB18_6
# %bb.5:
	movb	(%r15), %cl
	movb	%cl, (%rax)
	jmp	.LBB18_7
.LBB18_6:
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	memcpy@PLT
.LBB18_7:                               # %_ZZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tagEN6_GuardD2Ev.exit
	movq	(%rsp), %rax
	movq	%rax, 8(%rbx)
	movq	(%rbx), %rcx
	movb	$0, (%rcx,%rax)
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end18:
	.size	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag, .Lfunc_end18-_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,"axG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,comdat
	.weak	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_ # -- Begin function _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_
	.p2align	1, 0x90
	.type	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,@function
_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_: # @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_
.Lfunc_begin2:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception2
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rdx, %rbp
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movl	$1, %esi
	movl	$.L.str.57, %edx
	callq	_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc
	movq	%rax, %r14
	movq	(%rbx), %rax
	movq	8(%rbx), %r15
	movq	%r13, %r12
	movq	%rax, (%rsp)                    # 8-byte Spill
	subq	%rax, %r12
	sarq	$5, %r12
	testq	%r14, %r14
	je	.LBB19_1
# %bb.2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv
	jmp	.LBB19_3
.LBB19_1:
	xorl	%eax, %eax
.LBB19_3:                               # %_ZNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE11_M_allocateEm.exit
	shlq	$5, %r12
	leaq	(%rax,%r12), %rdi
	leaq	(%rax,%r12), %rcx
	addq	$16, %rcx
	movq	%rcx, -16(%rcx)
	movq	(%rbp), %rsi
	movq	8(%rbp), %rdx
	addq	%rsi, %rdx
.Ltmp330:
	movq	%rax, %r12
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag
.Ltmp331:
# %bb.4:                                # %_ZNSt16allocator_traitsISaINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE9constructIS5_JRKS5_EEEvRS6_PT_DpOT0_.exit
	movq	%r12, %rbp
	movq	(%rsp), %rdi                    # 8-byte Reload
	cmpq	%r13, %rdi
	movq	%r12, 8(%rsp)                   # 8-byte Spill
	je	.LBB19_11
# %bb.5:                                # %.lr.ph.i.i.i.preheader
	movq	%rbx, 16(%rsp)                  # 8-byte Spill
	leaq	16(%r12), %rbp
	leaq	16(%rdi), %r12
.LBB19_6:                               # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	%rbp, -16(%rbp)
	movq	-16(%r12), %rsi
	cmpq	%rsi, %r12
	je	.LBB19_7
# %bb.8:                                # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i.i.i.i.i.i
                                        #   in Loop: Header=BB19_6 Depth=1
	movq	%rsi, -16(%rbp)
	movq	(%r12), %rax
	movq	%rax, (%rbp)
	movq	-8(%r12), %rbx
	jmp	.LBB19_9
.LBB19_7:                               #   in Loop: Header=BB19_6 Depth=1
	movq	-8(%r12), %rbx
	leaq	1(%rbx), %rdx
	movq	%rbp, %rdi
	callq	memcpy@PLT
.LBB19_9:                               # %_ZSt19__relocate_object_aINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_SaIS5_EEvPT_PT0_RT1_.exit.i.i.i
                                        #   in Loop: Header=BB19_6 Depth=1
	movq	%rbx, -8(%rbp)
	movq	%r12, -16(%r12)
	movq	$0, -8(%r12)
	movb	$0, (%r12)
	addq	$32, %rbp
	leaq	32(%r12), %rax
	addq	$16, %r12
	cmpq	%r13, %r12
	movq	%rax, %r12
	jne	.LBB19_6
# %bb.10:                               # %_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE11_S_relocateEPS5_S8_S8_RS6_.exit.loopexit
	addq	$-16, %rbp
	movq	16(%rsp), %rbx                  # 8-byte Reload
	movq	(%rsp), %rdi                    # 8-byte Reload
	movq	8(%rsp), %r12                   # 8-byte Reload
.LBB19_11:                              # %_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE11_S_relocateEPS5_S8_S8_RS6_.exit
	cmpq	%r13, %r15
	je	.LBB19_12
# %bb.13:                               # %.lr.ph.i.i.i27.preheader
	movq	%rbx, %r12
	addq	$48, %rbp
	addq	$16, %r13
.LBB19_14:                              # %.lr.ph.i.i.i27
                                        # =>This Inner Loop Header: Depth=1
	movq	%rbp, -16(%rbp)
	movq	-16(%r13), %rsi
	cmpq	%rsi, %r13
	je	.LBB19_15
# %bb.16:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i.i.i.i.i.i30
                                        #   in Loop: Header=BB19_14 Depth=1
	movq	%rsi, -16(%rbp)
	movq	(%r13), %rax
	movq	%rax, (%rbp)
	movq	-8(%r13), %rbx
	jmp	.LBB19_17
.LBB19_15:                              #   in Loop: Header=BB19_14 Depth=1
	movq	-8(%r13), %rbx
	leaq	1(%rbx), %rdx
	movq	%rbp, %rdi
	callq	memcpy@PLT
.LBB19_17:                              # %_ZSt19__relocate_object_aINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_SaIS5_EEvPT_PT0_RT1_.exit.i.i.i33
                                        #   in Loop: Header=BB19_14 Depth=1
	movq	%rbx, -8(%rbp)
	movq	%r13, -16(%r13)
	movq	$0, -8(%r13)
	movb	$0, (%r13)
	addq	$32, %rbp
	leaq	32(%r13), %rax
	addq	$16, %r13
	cmpq	%r15, %r13
	movq	%rax, %r13
	jne	.LBB19_14
# %bb.18:                               # %_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE11_S_relocateEPS5_S8_S8_RS6_.exit36.loopexit
	addq	$-16, %rbp
	movq	%r12, %rbx
	movq	(%rsp), %rdi                    # 8-byte Reload
	movq	8(%rsp), %r12                   # 8-byte Reload
	jmp	.LBB19_19
.LBB19_12:
	addq	$32, %rbp
.LBB19_19:                              # %_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE11_S_relocateEPS5_S8_S8_RS6_.exit36
	testq	%rdi, %rdi
	je	.LBB19_21
# %bb.20:
	callq	_ZdlPv
.LBB19_21:                              # %_ZNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE13_M_deallocateEPS5_m.exit
	movq	%r12, (%rbx)
	movq	%rbp, 8(%rbx)
	shlq	$5, %r14
	addq	%r12, %r14
	movq	%r14, 16(%rbx)
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB19_25:
	.cfi_def_cfa_offset 80
.Ltmp332:
	movq	%rax, %rdi
	callq	__cxa_begin_catch
	movq	%r12, %rdi
	callq	_ZdlPv
.Ltmp333:
	callq	__cxa_rethrow
.Ltmp334:
# %bb.26:
.LBB19_22:
.Ltmp335:
	movq	%rax, %rbx
.Ltmp336:
	callq	__cxa_end_catch
.Ltmp337:
# %bb.23:
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.LBB19_24:
.Ltmp338:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end19:
	.size	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_, .Lfunc_end19-_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,"aG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,comdat
	.p2align	2, 0x0
GCC_except_table19:
.Lexception2:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase0-.Lttbaseref0
.Lttbaseref0:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end2-.Lcst_begin2
.Lcst_begin2:
	.uleb128 .Lfunc_begin2-.Lfunc_begin2    # >> Call Site 1 <<
	.uleb128 .Ltmp330-.Lfunc_begin2         #   Call between .Lfunc_begin2 and .Ltmp330
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp330-.Lfunc_begin2         # >> Call Site 2 <<
	.uleb128 .Ltmp331-.Ltmp330              #   Call between .Ltmp330 and .Ltmp331
	.uleb128 .Ltmp332-.Lfunc_begin2         #     jumps to .Ltmp332
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp331-.Lfunc_begin2         # >> Call Site 3 <<
	.uleb128 .Ltmp333-.Ltmp331              #   Call between .Ltmp331 and .Ltmp333
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp333-.Lfunc_begin2         # >> Call Site 4 <<
	.uleb128 .Ltmp334-.Ltmp333              #   Call between .Ltmp333 and .Ltmp334
	.uleb128 .Ltmp335-.Lfunc_begin2         #     jumps to .Ltmp335
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp336-.Lfunc_begin2         # >> Call Site 5 <<
	.uleb128 .Ltmp337-.Ltmp336              #   Call between .Ltmp336 and .Ltmp337
	.uleb128 .Ltmp338-.Lfunc_begin2         #     jumps to .Ltmp338
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp337-.Lfunc_begin2         # >> Call Site 6 <<
	.uleb128 .Lfunc_end19-.Ltmp337          #   Call between .Ltmp337 and .Lfunc_end19
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end2:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag,"axG",@progbits,_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag,comdat
	.weak	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag # -- Begin function _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag
	.p2align	1, 0x90
	.type	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag,@function
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag: # @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	subq	%rsi, %r14
	movq	%r14, (%rsp)
	cmpq	$15, %r14
	jbe	.LBB20_1
# %bb.2:
	movq	%rsp, %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm
	movq	%rax, (%rbx)
	movq	(%r12), %rcx
	movq	%rcx, 16(%rbx)
	jmp	.LBB20_3
.LBB20_1:                               # %._crit_edge
	movq	(%rbx), %rax
.LBB20_3:
	testq	%r14, %r14
	je	.LBB20_7
# %bb.4:
	cmpq	$1, %r14
	jne	.LBB20_6
# %bb.5:
	movb	(%r15), %cl
	movb	%cl, (%rax)
	jmp	.LBB20_7
.LBB20_6:
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	memcpy@PLT
.LBB20_7:                               # %_ZZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tagEN6_GuardD2Ev.exit
	movq	(%rsp), %rax
	movq	%rax, 8(%rbx)
	movq	(%rbx), %rcx
	movb	$0, (%rcx,%rax)
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end20:
	.size	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag, .Lfunc_end20-_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc,"axG",@progbits,_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc,comdat
	.weak	_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc # -- Begin function _ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc
	.p2align	1, 0x90
	.type	_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc,@function
_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc: # @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc
	.cfi_startproc
# %bb.0:
	movabsq	$288230376151711743, %rcx       # imm = 0x3FFFFFFFFFFFFFF
	movq	8(%rdi), %r8
	subq	(%rdi), %r8
	sarq	$5, %r8
	movq	%rcx, %rax
	subq	%r8, %rax
	cmpq	%rsi, %rax
	jb	.LBB21_2
# %bb.1:
	cmpq	%rsi, %r8
	cmovaq	%r8, %rsi
	leaq	(%rsi,%r8), %rax
	cmpq	%rcx, %rax
	cmovaeq	%rcx, %rax
	addq	%r8, %rsi
	cmovbq	%rcx, %rax
	retq
.LBB21_2:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdx, %rdi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end21:
	.size	_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc, .Lfunc_end21-_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv,@function
_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv: # @_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$58, %rax
	jne	.LBB22_1
# %bb.3:
	shlq	$5, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB22_1:
	.cfi_def_cfa_offset 16
	shrq	$59, %rsi
	je	.LBB22_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB22_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end22:
	.size	_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv, .Lfunc_end22-_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.text
	.p2align	4, 0x90                         # -- Begin function __hip_module_ctor
	.type	__hip_module_ctor,@function
__hip_module_ctor:                      # @__hip_module_ctor
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -16
	movq	__hip_gpubin_handle(%rip), %rbx
	testq	%rbx, %rbx
	jne	.LBB23_2
# %bb.1:
	movl	$__hip_fatbin_wrapper, %edi
	callq	__hipRegisterFatBinary
	movq	%rax, %rbx
	movq	%rax, __hip_gpubin_handle(%rip)
.LBB23_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z25Genotype_Matrix_TransposePfS_ii, %esi
	movl	$.L__unnamed_1, %edx
	movl	$.L__unnamed_1, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z18Kinship_Matrix_CalPfS_S_ii, %esi
	movl	$.L__unnamed_2, %edx
	movl	$.L__unnamed_2, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z18Kinship_Matrix_AddPfS_l, %esi
	movl	$.L__unnamed_3, %edx
	movl	$.L__unnamed_3, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z24Kinship_Matrix_NormalizePflf, %esi
	movl	$.L__unnamed_4, %edx
	movl	$.L__unnamed_4, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z19Matrix_AllValue_SetPflf, %esi
	movl	$.L__unnamed_5, %edx
	movl	$.L__unnamed_5, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	movl	$__hip_module_dtor, %edi
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	atexit                          # TAILCALL
.Lfunc_end23:
	.size	__hip_module_ctor, .Lfunc_end23-__hip_module_ctor
	.cfi_endproc
                                        # -- End function
	.p2align	4, 0x90                         # -- Begin function __hip_module_dtor
	.type	__hip_module_dtor,@function
__hip_module_dtor:                      # @__hip_module_dtor
	.cfi_startproc
# %bb.0:
	movq	__hip_gpubin_handle(%rip), %rdi
	testq	%rdi, %rdi
	je	.LBB24_2
# %bb.1:
	pushq	%rax
	.cfi_def_cfa_offset 16
	callq	__hipUnregisterFatBinary
	movq	$0, __hip_gpubin_handle(%rip)
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
.LBB24_2:
	retq
.Lfunc_end24:
	.size	__hip_module_dtor, .Lfunc_end24-__hip_module_dtor
	.cfi_endproc
                                        # -- End function
	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	"Please specific the correct parameters, or use parameter -u for usermanuals!"
	.size	.L.str, 77

	.type	.L.str.1,@object                # @.str.1
.L.str.1:
	.asciz	"-z"
	.size	.L.str.1, 3

	.type	.L.str.2,@object                # @.str.2
.L.str.2:
	.asciz	"-Z"
	.size	.L.str.2, 3

	.type	.L.str.3,@object                # @.str.3
.L.str.3:
	.asciz	"Parse cmd_line fail, Need to clearly specific the full file name of the first genotype matrix!"
	.size	.L.str.3, 95

	.type	.L.str.4,@object                # @.str.4
.L.str.4:
	.asciz	"-w"
	.size	.L.str.4, 3

	.type	.L.str.5,@object                # @.str.5
.L.str.5:
	.asciz	"-W"
	.size	.L.str.5, 3

	.type	.L.str.6,@object                # @.str.6
.L.str.6:
	.asciz	"Parse cmd_line fail, Need to clearly specific the full file name of the second genotype matrix!"
	.size	.L.str.6, 96

	.type	.L.str.7,@object                # @.str.7
.L.str.7:
	.asciz	"-k"
	.size	.L.str.7, 3

	.type	.L.str.8,@object                # @.str.8
.L.str.8:
	.asciz	"-K"
	.size	.L.str.8, 3

	.type	.L.str.9,@object                # @.str.9
.L.str.9:
	.asciz	"Parse cmd_line fail, Need to clearly specific the full file name of the output kinship matrix !"
	.size	.L.str.9, 96

	.type	.L.str.10,@object               # @.str.10
.L.str.10:
	.asciz	"-i"
	.size	.L.str.10, 3

	.type	.L.str.11,@object               # @.str.11
.L.str.11:
	.asciz	"-I"
	.size	.L.str.11, 3

	.type	.L.str.12,@object               # @.str.12
.L.str.12:
	.asciz	"Parse cmd_line fail, Need to clearly specific the Individual Number!"
	.size	.L.str.12, 69

	.type	.L.str.13,@object               # @.str.13
.L.str.13:
	.asciz	"-l"
	.size	.L.str.13, 3

	.type	.L.str.14,@object               # @.str.14
.L.str.14:
	.asciz	"-L"
	.size	.L.str.14, 3

	.type	.L.str.15,@object               # @.str.15
.L.str.15:
	.asciz	"Parse cmd_line fail, Need to clearly specific the Direct Marker Number Length!"
	.size	.L.str.15, 79

	.type	.L.str.16,@object               # @.str.16
.L.str.16:
	.asciz	"-b"
	.size	.L.str.16, 3

	.type	.L.str.17,@object               # @.str.17
.L.str.17:
	.asciz	"-B"
	.size	.L.str.17, 3

	.type	.L.str.18,@object               # @.str.18
.L.str.18:
	.asciz	"Parse cmd_line fail, Need to clearly specific the Marker Pair Block Size!"
	.size	.L.str.18, 74

	.type	.L.str.19,@object               # @.str.19
.L.str.19:
	.asciz	"-m"
	.size	.L.str.19, 3

	.type	.L.str.20,@object               # @.str.20
.L.str.20:
	.asciz	"-M"
	.size	.L.str.20, 3

	.type	.L.str.21,@object               # @.str.21
.L.str.21:
	.asciz	"Parse cmd_line fail, Need to clearly specific the Run Mode(0: GPU Paral; 1: Golden CPU; 2: Read thorugh) !"
	.size	.L.str.21, 107

	.type	.L.str.22,@object               # @.str.22
.L.str.22:
	.asciz	"-h"
	.size	.L.str.22, 3

	.type	.L.str.23,@object               # @.str.23
.L.str.23:
	.asciz	"-H"
	.size	.L.str.23, 3

	.type	.L.str.24,@object               # @.str.24
.L.str.24:
	.asciz	"Welcome to use this program to do Kinship Matrix Calculation"
	.size	.L.str.24, 61

	.type	.L.str.25,@object               # @.str.25
.L.str.25:
	.asciz	"The usage of input parameter arguments are listed as followings:"
	.size	.L.str.25, 65

	.type	.L.str.26,@object               # @.str.26
.L.str.26:
	.asciz	"-h or -H: Output this Help usage message"
	.size	.L.str.26, 41

	.type	.L.str.27,@object               # @.str.27
.L.str.27:
	.asciz	"-z or -Z: The full name of the 1st Genotype file"
	.size	.L.str.27, 49

	.type	.L.str.28,@object               # @.str.28
.L.str.28:
	.asciz	"-w or -W: The full name of the 2nd Genotype file"
	.size	.L.str.28, 49

	.type	.L.str.29,@object               # @.str.29
.L.str.29:
	.asciz	"-k or -K: The full name of Kinship Matrix file"
	.size	.L.str.29, 47

	.type	.L.str.30,@object               # @.str.30
.L.str.30:
	.asciz	"-i or -I: The Individual number"
	.size	.L.str.30, 32

	.type	.L.str.31,@object               # @.str.31
.L.str.31:
	.asciz	"-l or -L: The direct marker Length"
	.size	.L.str.31, 35

	.type	.L.str.32,@object               # @.str.32
.L.str.32:
	.asciz	"-b or -B: The Block size for dividing the genotype marker pairs "
	.size	.L.str.32, 65

	.type	.L.str.33,@object               # @.str.33
.L.str.33:
	.asciz	"-m or -M: Run_Mode(0, 1, 2 for the GPU/CPU/Read Through) "
	.size	.L.str.33, 58

	.type	_Z25Genotype_Matrix_TransposePfS_ii,@object # @_Z25Genotype_Matrix_TransposePfS_ii
	.section	.rodata,"a",@progbits
	.globl	_Z25Genotype_Matrix_TransposePfS_ii
	.p2align	3, 0x0
_Z25Genotype_Matrix_TransposePfS_ii:
	.quad	_Z40__device_stub__Genotype_Matrix_TransposePfS_ii
	.size	_Z25Genotype_Matrix_TransposePfS_ii, 8

	.type	_Z18Kinship_Matrix_CalPfS_S_ii,@object # @_Z18Kinship_Matrix_CalPfS_S_ii
	.globl	_Z18Kinship_Matrix_CalPfS_S_ii
	.p2align	3, 0x0
_Z18Kinship_Matrix_CalPfS_S_ii:
	.quad	_Z33__device_stub__Kinship_Matrix_CalPfS_S_ii
	.size	_Z18Kinship_Matrix_CalPfS_S_ii, 8

	.type	_Z18Kinship_Matrix_AddPfS_l,@object # @_Z18Kinship_Matrix_AddPfS_l
	.globl	_Z18Kinship_Matrix_AddPfS_l
	.p2align	3, 0x0
_Z18Kinship_Matrix_AddPfS_l:
	.quad	_Z33__device_stub__Kinship_Matrix_AddPfS_l
	.size	_Z18Kinship_Matrix_AddPfS_l, 8

	.type	_Z24Kinship_Matrix_NormalizePflf,@object # @_Z24Kinship_Matrix_NormalizePflf
	.globl	_Z24Kinship_Matrix_NormalizePflf
	.p2align	3, 0x0
_Z24Kinship_Matrix_NormalizePflf:
	.quad	_Z39__device_stub__Kinship_Matrix_NormalizePflf
	.size	_Z24Kinship_Matrix_NormalizePflf, 8

	.type	_Z19Matrix_AllValue_SetPflf,@object # @_Z19Matrix_AllValue_SetPflf
	.globl	_Z19Matrix_AllValue_SetPflf
	.p2align	3, 0x0
_Z19Matrix_AllValue_SetPflf:
	.quad	_Z34__device_stub__Matrix_AllValue_SetPflf
	.size	_Z19Matrix_AllValue_SetPflf, 8

	.type	.L.str.34,@object               # @.str.34
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str.34:
	.asciz	"//"
	.size	.L.str.34, 3

	.type	.L.str.35,@object               # @.str.35
.L.str.35:
	.asciz	" The 1st Genotype File Can't be accessed!"
	.size	.L.str.35, 42

	.type	.L.str.36,@object               # @.str.36
.L.str.36:
	.asciz	" The 2nd Genotype File Can't be accessed!"
	.size	.L.str.36, 42

	.type	.L.str.37,@object               # @.str.37
.L.str.37:
	.asciz	"File Format (Indivual Num) is not right, Error at Line="
	.size	.L.str.37, 56

	.type	.L.str.38,@object               # @.str.38
.L.str.38:
	.asciz	"File Format (Marker Num) is not Right, Total Read Line Num ="
	.size	.L.str.38, 61

	.type	.L.str.39,@object               # @.str.39
.L.str.39:
	.asciz	"File Format (Indivudal Num) is not right, Error at Line="
	.size	.L.str.39, 57

	.type	.L.str.40,@object               # @.str.40
.L.str.40:
	.asciz	"Read through, Read_Line_Count is:"
	.size	.L.str.40, 34

	.type	.L.str.41,@object               # @.str.41
.L.str.41:
	.asciz	"Error open the result file for the output Kinship Matrix!"
	.size	.L.str.41, 58

	.type	.L.str.42,@object               # @.str.42
.L.str.42:
	.asciz	"Hello, the elapse time is "
	.size	.L.str.42, 27

	.type	.L.str.43,@object               # @.str.43
.L.str.43:
	.asciz	" seconds"
	.size	.L.str.43, 9

	.type	.L.str.44,@object               # @.str.44
.L.str.44:
	.asciz	"i="
	.size	.L.str.44, 3

	.type	.L.str.45,@object               # @.str.45
.L.str.45:
	.asciz	"j="
	.size	.L.str.45, 3

	.type	.L.str.46,@object               # @.str.46
.L.str.46:
	.asciz	"GMatrix_I(i,j)="
	.size	.L.str.46, 16

	.type	.L.str.47,@object               # @.str.47
.L.str.47:
	.asciz	"GMatrix_O(j,i)="
	.size	.L.str.47, 16

	.type	.L.str.48,@object               # @.str.48
.L.str.48:
	.asciz	"Max error: "
	.size	.L.str.48, 12

	.type	.L.str.49,@object               # @.str.49
.L.str.49:
	.asciz	"Genotype_Matrix(i,j)="
	.size	.L.str.49, 22

	.type	.L.str.50,@object               # @.str.50
.L.str.50:
	.asciz	"Genotype_Matrix_T(j,i)="
	.size	.L.str.50, 24

	.type	.L.str.51,@object               # @.str.51
.L.str.51:
	.asciz	"Matrix Transpose Max error: "
	.size	.L.str.51, 29

	.type	.L.str.52,@object               # @.str.52
.L.str.52:
	.asciz	"Kinship_Matrix[0,0]="
	.size	.L.str.52, 21

	.type	.L.str.53,@object               # @.str.53
.L.str.53:
	.asciz	"Kinship_Matrix[0,1]="
	.size	.L.str.53, 21

	.type	.L.str.54,@object               # @.str.54
.L.str.54:
	.asciz	"Kinship_Matrix[0,1023]="
	.size	.L.str.54, 24

	.type	.L.str.55,@object               # @.str.55
.L.str.55:
	.asciz	"Kinship_Matrix[1,1]="
	.size	.L.str.55, 21

	.type	.L.str.56,@object               # @.str.56
.L.str.56:
	.asciz	"basic_string: construction from null is not valid"
	.size	.L.str.56, 50

	.type	.L.str.57,@object               # @.str.57
.L.str.57:
	.asciz	"vector::_M_realloc_insert"
	.size	.L.str.57, 26

	.type	.L.str.58,@object               # @.str.58
.L.str.58:
	.asciz	"vector::_M_range_check: __n (which is %zu) >= this->size() (which is %zu)"
	.size	.L.str.58, 74

	.type	.L__unnamed_1,@object           # @0
.L__unnamed_1:
	.asciz	"_Z25Genotype_Matrix_TransposePfS_ii"
	.size	.L__unnamed_1, 36

	.type	.L__unnamed_2,@object           # @1
.L__unnamed_2:
	.asciz	"_Z18Kinship_Matrix_CalPfS_S_ii"
	.size	.L__unnamed_2, 31

	.type	.L__unnamed_3,@object           # @2
.L__unnamed_3:
	.asciz	"_Z18Kinship_Matrix_AddPfS_l"
	.size	.L__unnamed_3, 28

	.type	.L__unnamed_4,@object           # @3
.L__unnamed_4:
	.asciz	"_Z24Kinship_Matrix_NormalizePflf"
	.size	.L__unnamed_4, 33

	.type	.L__unnamed_5,@object           # @4
.L__unnamed_5:
	.asciz	"_Z19Matrix_AllValue_SetPflf"
	.size	.L__unnamed_5, 28

	.type	__hip_fatbin_wrapper,@object    # @__hip_fatbin_wrapper
	.section	.hipFatBinSegment,"a",@progbits
	.p2align	3, 0x0
__hip_fatbin_wrapper:
	.long	1212764230                      # 0x48495046
	.long	1                               # 0x1
	.quad	__hip_fatbin
	.quad	0
	.size	__hip_fatbin_wrapper, 24

	.type	__hip_gpubin_handle,@object     # @__hip_gpubin_handle
	.local	__hip_gpubin_handle
	.comm	__hip_gpubin_handle,8,8
	.section	.init_array,"aw",@init_array
	.p2align	3, 0x0
	.quad	__hip_module_ctor
	.type	__hip_cuid_,@object             # @__hip_cuid_
	.bss
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               # 0x0
	.size	__hip_cuid_, 1

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym __gxx_personality_v0
	.addrsig_sym _Z40__device_stub__Genotype_Matrix_TransposePfS_ii
	.addrsig_sym _Z33__device_stub__Kinship_Matrix_CalPfS_S_ii
	.addrsig_sym _Z33__device_stub__Kinship_Matrix_AddPfS_l
	.addrsig_sym _Z39__device_stub__Kinship_Matrix_NormalizePflf
	.addrsig_sym _Z34__device_stub__Matrix_AllValue_SetPflf
	.addrsig_sym __hip_module_ctor
	.addrsig_sym __hip_module_dtor
	.addrsig_sym _Unwind_Resume
	.addrsig_sym _ZSt4cerr
	.addrsig_sym _ZSt4cout
	.addrsig_sym _Z25Genotype_Matrix_TransposePfS_ii
	.addrsig_sym _Z18Kinship_Matrix_CalPfS_S_ii
	.addrsig_sym _Z18Kinship_Matrix_AddPfS_l
	.addrsig_sym _Z24Kinship_Matrix_NormalizePflf
	.addrsig_sym _Z19Matrix_AllValue_SetPflf
	.addrsig_sym __hip_fatbin
	.addrsig_sym __hip_fatbin_wrapper
	.addrsig_sym __hip_cuid_

	.text
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.protected	_Z25Genotype_Matrix_TransposePfS_ii ; -- Begin function _Z25Genotype_Matrix_TransposePfS_ii
	.globl	_Z25Genotype_Matrix_TransposePfS_ii
	.p2align	8
	.type	_Z25Genotype_Matrix_TransposePfS_ii,@function
_Z25Genotype_Matrix_TransposePfS_ii:    ; @_Z25Genotype_Matrix_TransposePfS_ii
; %bb.0:
	s_clause 0x1
	s_load_b64 s[2:3], s[0:1], 0x10
	s_load_b128 s[4:7], s[0:1], 0x0
	v_and_b32_e32 v2, 0x3ff, v0
	v_bfe_u32 v3, v0, 10, 10
	v_mov_b32_e32 v4, 0
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_lshl_add_u32 v0, s14, 5, v2
	v_lshl_add_u32 v1, s15, 5, v3
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_gt_i32_e32 vcc_lo, s2, v0
	v_cmp_gt_i32_e64 s0, s3, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_b32 s0, vcc_lo, s0
	s_and_saveexec_b32 s1, s0
	s_cbranch_execz .LBB0_2
; %bb.1:
	v_mad_u64_u32 v[4:5], null, v1, s2, v[0:1]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v5, 31, v4
	v_lshlrev_b64 v[4:5], 2, v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v4, vcc_lo, s6, v4
	v_add_co_ci_u32_e32 v5, vcc_lo, s7, v5, vcc_lo
	global_load_b32 v4, v[4:5], off
.LBB0_2:
	s_or_b32 exec_lo, exec_lo, s1
	v_lshlrev_b32_e32 v2, 2, v2
	s_delay_alu instid0(VALU_DEP_1)
	v_mad_u32_u24 v2, 0x84, v3, v2
	s_waitcnt vmcnt(0)
	ds_store_b32 v2, v4
	s_waitcnt lgkmcnt(0)
	s_barrier
	buffer_gl0_inv
	s_and_saveexec_b32 s1, s0
	s_cbranch_execz .LBB0_4
; %bb.3:
	v_mad_u64_u32 v[3:4], null, v0, s3, v[1:2]
	ds_load_b32 v2, v2
	v_ashrrev_i32_e32 v4, 31, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[0:1], 2, v[3:4]
	v_add_co_u32 v0, vcc_lo, s4, v0
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v1, vcc_lo, s5, v1, vcc_lo
	s_waitcnt lgkmcnt(0)
	global_store_b32 v[0:1], v2, off
.LBB0_4:
	s_or_b32 exec_lo, exec_lo, s1
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z25Genotype_Matrix_TransposePfS_ii
		.amdhsa_group_segment_fixed_size 4224
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 24
		.amdhsa_user_sgpr_count 14
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 1
		.amdhsa_next_free_vgpr 6
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end0:
	.size	_Z25Genotype_Matrix_TransposePfS_ii, .Lfunc_end0-_Z25Genotype_Matrix_TransposePfS_ii
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 288
; NumSgprs: 18
; NumVgprs: 6
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 4224 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 6
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 14
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 1
	.text
	.protected	_Z18Kinship_Matrix_CalPfS_S_ii ; -- Begin function _Z18Kinship_Matrix_CalPfS_S_ii
	.globl	_Z18Kinship_Matrix_CalPfS_S_ii
	.p2align	8
	.type	_Z18Kinship_Matrix_CalPfS_S_ii,@function
_Z18Kinship_Matrix_CalPfS_S_ii:         ; @_Z18Kinship_Matrix_CalPfS_S_ii
; %bb.0:
	s_load_b256 s[4:11], s[0:1], 0x0
	v_bfe_u32 v2, v0, 10, 10
	v_and_b32_e32 v4, 0x3ff, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_lshl_add_u32 v1, s15, 5, v2
	v_lshl_add_u32 v0, s14, 5, v4
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_i32 s11, 1
	s_cbranch_scc1 .LBB1_9
; %bb.1:                                ; %.lr.ph
	v_lshlrev_b32_e32 v5, 2, v4
	v_lshlrev_b32_e32 v3, 7, v2
	v_mul_lo_u32 v7, v1, s11
	v_cmp_gt_i32_e32 vcc_lo, s10, v1
	v_cmp_gt_i32_e64 s0, s10, v0
	s_add_i32 s1, s11, 31
	v_add_nc_u32_e32 v6, v3, v5
	v_dual_mov_b32 v3, 0 :: v_dual_add_nc_u32 v8, 0x1000, v3
	s_lshr_b32 s2, s1, 5
	s_mov_b32 s3, 0
	s_delay_alu instid0(VALU_DEP_2)
	v_add_nc_u32_e32 v9, 0x1000, v6
.LBB1_2:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB1_7 Depth 2
	v_cmp_gt_i32_e64 s1, s11, v4
	v_mov_b32_e32 v10, 0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_b32 s1, vcc_lo, s1
	s_and_saveexec_b32 s12, s1
	s_cbranch_execz .LBB1_4
; %bb.3:                                ;   in Loop: Header=BB1_2 Depth=1
	v_add_nc_u32_e32 v10, v4, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v11, 31, v10
	v_lshlrev_b64 v[10:11], 2, v[10:11]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v10, s1, s4, v10
	v_add_co_ci_u32_e64 v11, s1, s5, v11, s1
	global_load_b32 v10, v[10:11], off
.LBB1_4:                                ;   in Loop: Header=BB1_2 Depth=1
	s_or_b32 exec_lo, exec_lo, s12
	v_cmp_gt_i32_e64 s1, s11, v2
	v_mov_b32_e32 v11, 0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_b32 s1, s0, s1
	s_and_saveexec_b32 s12, s1
	s_cbranch_execz .LBB1_6
; %bb.5:                                ;   in Loop: Header=BB1_2 Depth=1
	v_mad_u64_u32 v[11:12], null, v2, s10, v[0:1]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v12, 31, v11
	v_lshlrev_b64 v[11:12], 2, v[11:12]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v11, s1, s6, v11
	v_add_co_ci_u32_e64 v12, s1, s7, v12, s1
	global_load_b32 v11, v[11:12], off
.LBB1_6:                                ;   in Loop: Header=BB1_2 Depth=1
	s_or_b32 exec_lo, exec_lo, s12
	s_waitcnt vmcnt(0)
	ds_store_b32 v9, v10
	ds_store_b32 v6, v11
	v_mov_b32_e32 v10, v5
	s_mov_b32 s1, 0
	s_waitcnt lgkmcnt(0)
	s_barrier
	buffer_gl0_inv
.LBB1_7:                                ;   Parent Loop BB1_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	v_add_nc_u32_e32 v11, s1, v8
	s_add_i32 s1, s1, 4
	ds_load_b32 v12, v10
	ds_load_b32 v11, v11
	v_add_nc_u32_e32 v10, 0x80, v10
	s_cmpk_eq_i32 s1, 0x80
	s_waitcnt lgkmcnt(0)
	v_fmac_f32_e32 v3, v11, v12
	s_cbranch_scc0 .LBB1_7
; %bb.8:                                ;   in Loop: Header=BB1_2 Depth=1
	v_add_nc_u32_e32 v4, 32, v4
	v_add_nc_u32_e32 v2, 32, v2
	s_add_i32 s3, s3, 1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_cmp_eq_u32 s3, s2
	s_barrier
	buffer_gl0_inv
	s_cbranch_scc0 .LBB1_2
	s_branch .LBB1_10
.LBB1_9:
	v_mov_b32_e32 v3, 0
.LBB1_10:                               ; %Flow76
	v_max_i32_e32 v2, v1, v0
	s_mov_b32 s0, exec_lo
	s_delay_alu instid0(VALU_DEP_1)
	v_cmpx_gt_i32_e64 s10, v2
	s_cbranch_execz .LBB1_12
; %bb.11:
	v_mad_u64_u32 v[4:5], null, v1, s10, v[0:1]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v5, 31, v4
	v_lshlrev_b64 v[0:1], 2, v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v0, vcc_lo, s8, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, s9, v1, vcc_lo
	global_store_b32 v[0:1], v3, off
.LBB1_12:
	s_or_b32 exec_lo, exec_lo, s0
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z18Kinship_Matrix_CalPfS_S_ii
		.amdhsa_group_segment_fixed_size 8192
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 32
		.amdhsa_user_sgpr_count 14
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 1
		.amdhsa_next_free_vgpr 13
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end1:
	.size	_Z18Kinship_Matrix_CalPfS_S_ii, .Lfunc_end1-_Z18Kinship_Matrix_CalPfS_S_ii
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 520
; NumSgprs: 18
; NumVgprs: 13
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 8192 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 13
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 14
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 1
	.text
	.protected	_Z18Kinship_Matrix_AddPfS_l ; -- Begin function _Z18Kinship_Matrix_AddPfS_l
	.globl	_Z18Kinship_Matrix_AddPfS_l
	.p2align	8
	.type	_Z18Kinship_Matrix_AddPfS_l,@function
_Z18Kinship_Matrix_AddPfS_l:            ; @_Z18Kinship_Matrix_AddPfS_l
; %bb.0:
	s_clause 0x1
	s_load_b32 s6, s[0:1], 0x24
	s_load_b64 s[2:3], s[0:1], 0x10
	s_add_u32 s4, s0, 24
	s_addc_u32 s5, s1, 0
	s_waitcnt lgkmcnt(0)
	s_and_b32 s8, s6, 0xffff
	s_mov_b32 s6, exec_lo
	v_mad_u64_u32 v[1:2], null, s15, s8, v[0:1]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v2, 31, v1
	v_cmpx_gt_i64_e64 s[2:3], v[1:2]
	s_cbranch_execz .LBB2_3
; %bb.1:                                ; %.lr.ph.preheader
	s_load_b32 s9, s[4:5], 0x0
	s_load_b128 s[4:7], s[0:1], 0x0
	v_lshlrev_b64 v[3:4], 2, v[1:2]
	s_waitcnt lgkmcnt(0)
	s_mul_i32 s8, s9, s8
	s_mov_b32 s9, 0
	s_delay_alu instid0(SALU_CYCLE_1)
	s_lshl_b64 s[10:11], s[8:9], 2
.LBB2_2:                                ; %.lr.ph
                                        ; =>This Inner Loop Header: Depth=1
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_u32 v5, vcc_lo, s6, v3
	v_add_co_ci_u32_e32 v6, vcc_lo, s7, v4, vcc_lo
	v_add_co_u32 v7, vcc_lo, s4, v3
	v_add_co_ci_u32_e32 v8, vcc_lo, s5, v4, vcc_lo
	v_add_co_u32 v1, vcc_lo, v1, s8
	global_load_b32 v0, v[5:6], off
	global_load_b32 v7, v[7:8], off
	v_add_co_ci_u32_e32 v2, vcc_lo, 0, v2, vcc_lo
	v_add_co_u32 v3, s0, v3, s10
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_ci_u32_e64 v4, s0, s11, v4, s0
	v_cmp_le_i64_e32 vcc_lo, s[2:3], v[1:2]
	s_or_b32 s9, vcc_lo, s9
	s_waitcnt vmcnt(0)
	v_add_f32_e32 v0, v0, v7
	global_store_b32 v[5:6], v0, off
	s_and_not1_b32 exec_lo, exec_lo, s9
	s_cbranch_execnz .LBB2_2
.LBB2_3:                                ; %Flow22
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z18Kinship_Matrix_AddPfS_l
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 9
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end2:
	.size	_Z18Kinship_Matrix_AddPfS_l, .Lfunc_end2-_Z18Kinship_Matrix_AddPfS_l
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 236
; NumSgprs: 18
; NumVgprs: 9
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 9
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z24Kinship_Matrix_NormalizePflf ; -- Begin function _Z24Kinship_Matrix_NormalizePflf
	.globl	_Z24Kinship_Matrix_NormalizePflf
	.p2align	8
	.type	_Z24Kinship_Matrix_NormalizePflf,@function
_Z24Kinship_Matrix_NormalizePflf:       ; @_Z24Kinship_Matrix_NormalizePflf
; %bb.0:
	s_clause 0x1
	s_load_b32 s8, s[0:1], 0x24
	s_load_b128 s[4:7], s[0:1], 0x0
	s_add_u32 s2, s0, 24
	s_addc_u32 s3, s1, 0
	s_mov_b32 s9, exec_lo
	s_waitcnt lgkmcnt(0)
	s_and_b32 s8, s8, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s15, s8, v[0:1]
	v_ashrrev_i32_e32 v2, 31, v1
	s_delay_alu instid0(VALU_DEP_1)
	v_cmpx_gt_i64_e64 s[6:7], v[1:2]
	s_cbranch_execz .LBB3_3
; %bb.1:                                ; %.lr.ph.preheader
	s_load_b32 s2, s[2:3], 0x0
	s_load_b32 s1, s[0:1], 0x10
	v_lshlrev_b64 v[3:4], 2, v[1:2]
	s_mov_b32 s3, 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v3, vcc_lo, s4, v3
	v_add_co_ci_u32_e32 v4, vcc_lo, s5, v4, vcc_lo
	s_waitcnt lgkmcnt(0)
	s_mul_i32 s2, s2, s8
	s_delay_alu instid0(SALU_CYCLE_1)
	s_lshl_b64 s[4:5], s[2:3], 2
.LBB3_2:                                ; %.lr.ph
                                        ; =>This Inner Loop Header: Depth=1
	global_load_b32 v0, v[3:4], off
	s_waitcnt vmcnt(0)
	v_div_scale_f32 v5, null, s1, s1, v0
	v_div_scale_f32 v8, vcc_lo, v0, s1, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_rcp_f32_e32 v6, v5
	s_waitcnt_depctr 0xfff
	v_fma_f32 v7, -v5, v6, 1.0
	v_fmac_f32_e32 v6, v7, v6
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v7, v8, v6
	v_fma_f32 v9, -v5, v7, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v7, v9, v6
	v_fma_f32 v5, -v5, v7, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_div_fmas_f32 v5, v5, v6, v7
	v_add_co_u32 v1, vcc_lo, v1, s2
	v_add_co_ci_u32_e32 v2, vcc_lo, 0, v2, vcc_lo
	v_div_fixup_f32 v0, v5, s1, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_cmp_le_i64_e32 vcc_lo, s[6:7], v[1:2]
	global_store_b32 v[3:4], v0, off
	v_add_co_u32 v3, s0, v3, s4
	v_add_co_ci_u32_e64 v4, s0, s5, v4, s0
	s_or_b32 s3, vcc_lo, s3
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_not1_b32 exec_lo, exec_lo, s3
	s_cbranch_execnz .LBB3_2
.LBB3_3:                                ; %Flow19
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z24Kinship_Matrix_NormalizePflf
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 10
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end3:
	.size	_Z24Kinship_Matrix_NormalizePflf, .Lfunc_end3-_Z24Kinship_Matrix_NormalizePflf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 312
; NumSgprs: 18
; NumVgprs: 10
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 10
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z19Matrix_AllValue_SetPflf ; -- Begin function _Z19Matrix_AllValue_SetPflf
	.globl	_Z19Matrix_AllValue_SetPflf
	.p2align	8
	.type	_Z19Matrix_AllValue_SetPflf,@function
_Z19Matrix_AllValue_SetPflf:            ; @_Z19Matrix_AllValue_SetPflf
; %bb.0:
	s_clause 0x1
	s_load_b32 s8, s[0:1], 0x24
	s_load_b128 s[4:7], s[0:1], 0x0
	s_add_u32 s2, s0, 24
	s_addc_u32 s3, s1, 0
	s_mov_b32 s9, exec_lo
	s_waitcnt lgkmcnt(0)
	s_and_b32 s8, s8, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s15, s8, v[0:1]
	v_ashrrev_i32_e32 v2, 31, v1
	s_delay_alu instid0(VALU_DEP_1)
	v_cmpx_gt_i64_e64 s[6:7], v[1:2]
	s_cbranch_execz .LBB4_3
; %bb.1:                                ; %.lr.ph
	s_load_b32 s2, s[2:3], 0x0
	s_load_b32 s0, s[0:1], 0x10
	v_lshlrev_b64 v[3:4], 2, v[1:2]
	s_mov_b32 s1, 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v3, vcc_lo, s4, v3
	v_add_co_ci_u32_e32 v4, vcc_lo, s5, v4, vcc_lo
	s_waitcnt lgkmcnt(0)
	s_mul_i32 s2, s2, s8
	v_mov_b32_e32 v0, s0
	s_ashr_i32 s3, s2, 31
	s_delay_alu instid0(SALU_CYCLE_1)
	s_lshl_b64 s[4:5], s[2:3], 2
.LBB4_2:                                ; =>This Inner Loop Header: Depth=1
	v_add_co_u32 v1, vcc_lo, v1, s2
	v_add_co_ci_u32_e32 v2, vcc_lo, s3, v2, vcc_lo
	global_store_b32 v[3:4], v0, off
	v_add_co_u32 v3, s0, v3, s4
	v_cmp_le_i64_e32 vcc_lo, s[6:7], v[1:2]
	v_add_co_ci_u32_e64 v4, s0, s5, v4, s0
	s_or_b32 s1, vcc_lo, s1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_not1_b32 exec_lo, exec_lo, s1
	s_cbranch_execnz .LBB4_2
.LBB4_3:                                ; %Flow17
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z19Matrix_AllValue_SetPflf
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 5
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end4:
	.size	_Z19Matrix_AllValue_SetPflf, .Lfunc_end4-_Z19Matrix_AllValue_SetPflf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 212
; NumSgprs: 18
; NumVgprs: 5
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 5
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.p2alignl 7, 3214868480
	.fill 96, 4, 3214868480
	.type	__hip_cuid_,@object             ; @__hip_cuid_
	.section	.bss,"aw",@nobits
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               ; 0x0
	.size	__hip_cuid_, 1

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym __hip_cuid_
	.amdgpu_metadata
---
amdhsa.kernels:
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         20
        .size:           4
        .value_kind:     by_value
    .group_segment_fixed_size: 4224
    .kernarg_segment_align: 8
    .kernarg_segment_size: 24
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z25Genotype_Matrix_TransposePfS_ii
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z25Genotype_Matrix_TransposePfS_ii.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     6
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .offset:         24
        .size:           4
        .value_kind:     by_value
      - .offset:         28
        .size:           4
        .value_kind:     by_value
    .group_segment_fixed_size: 8192
    .kernarg_segment_align: 8
    .kernarg_segment_size: 32
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z18Kinship_Matrix_CalPfS_S_ii
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z18Kinship_Matrix_CalPfS_S_ii.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     13
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .offset:         16
        .size:           8
        .value_kind:     by_value
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z18Kinship_Matrix_AddPfS_l
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z18Kinship_Matrix_AddPfS_l.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     9
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .offset:         8
        .size:           8
        .value_kind:     by_value
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z24Kinship_Matrix_NormalizePflf
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z24Kinship_Matrix_NormalizePflf.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     10
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .offset:         8
        .size:           8
        .value_kind:     by_value
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z19Matrix_AllValue_SetPflf
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z19Matrix_AllValue_SetPflf.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     5
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
amdhsa.target:   amdgcn-amd-amdhsa--gfx1100
amdhsa.version:
  - 1
  - 2
...

	.end_amdgpu_metadata
