#include <cuda.h>
#include <cuda_runtime.h>
#include <math.h>
#include <math_constants.h>

#include <stdlib.h>
#include <vector>
#include <algorithm>

#include <thrust/host_vector.h>
#include <thrust/device_vector.h>
#include <thrust/generate.h>
#include <thrust/sort.h>
#include <thrust/copy.h>
#include <cstdlib>

#define BINNUM 9
#define CELLSIZE 6
#define CELLBLOCKSIZE 3
#define STEPSIZE 3
#define K 5
#define KERNEL_WIDTH 31

__global__ void computeGradient(float* outputGr,int* outputTag,float* input,unsigned int width,unsigned int height)
{
	unsigned int tx = blockIdx.x*blockDim.x + threadIdx.x;
	unsigned int ty = blockIdx.y*blockDim.y + threadIdx.y; 

	float gradientX, gradientY;
	float angle;
	int nAngle;
	int indTag;

	if(tx < width && ty < height)
	{
		if(tx == 0) //image boundary
			gradientX = input[tx+1 + ty*width] - input[tx + ty*width];
		else if(tx == width-1)
			gradientX = input[tx + ty*width] - input[tx-1 + ty*width];
		else if(ty == 0 || ty == height-1)
			gradientX = 0;
		else
			gradientX = input[tx+1 + ty*width] - input[tx-1 + ty*width];

		
		if(ty == 0) //image boundary
			gradientY = input[tx + (ty+1)*width] - input[tx + (ty)*width];
		else if (ty == height-1)
			gradientY = input[tx + (ty)*width] - input[tx + (ty-1)*width];
		else if (tx ==0 || tx == width-1)
			gradientY = 0;
		else
			gradientY = input[tx + (ty+1)*width] - input[tx + (ty-1)*width];

		outputGr[tx + ty*width] = sqrt(gradientX*gradientX + gradientY*gradientY);
		//outputGr[tx + ty*width] = gradientX;

		if(gradientX == 0)
			gradientX = 1e-5;
		//angle = ((atan(gradientY/gradientX)));
		angle = ((atan(gradientY/gradientX)+(CUDART_PI_F/2))*180)/CUDART_PI_F;
		nAngle = 180/BINNUM;
		indTag = ceil(angle/nAngle);
		if(indTag == 0)
			indTag=1;
		else if(indTag==10)
			indTag=9;


		outputTag[tx + ty*width] = indTag;
	}

	
	//outputX[tx + ty*width] = gradientX;
	//outputY[tx + ty*width] = gradientY;
}

__global__ void computeBinHOG(float* outputHOGFeature,float* outputWeight,int *outputPosition,int* outputOffset,float* Gr,int* Tag,unsigned int xStepNum,unsigned int yStepNum,
								unsigned int width,unsigned int height)
{
	unsigned int tx = blockIdx.x*blockDim.x + threadIdx.x;
	unsigned int ty = blockIdx.y*blockDim.y + threadIdx.y; 

	int centerX = floor(float(width)/2.0+0.5) - 1;
	int centerY = floor(float(height)/2.0+0.5) - 1;

	if(tx < xStepNum && ty < yStepNum)
	{
	//pixel position of center
	int x = tx*STEPSIZE+1.5*CELLSIZE-1;
	int y = ty*STEPSIZE+1.5*CELLSIZE-1;

	int leftupperX = x - 1.5*CELLSIZE +1 ;
	int leftupperY = y - 1.5*CELLSIZE +1 ;

	//__shared__ float tmp[CELLSIZE][CELLSIZE];
	float tmp[CELLBLOCKSIZE*CELLBLOCKSIZE][BINNUM] = {0.0f};

	int inc = 0;
	for(int i = 0; i < CELLBLOCKSIZE;i++)
	{
		for(int j=0; j<CELLBLOCKSIZE;j++)
		{
			int indX = leftupperX + j*CELLSIZE;
			int indY = leftupperY + i*CELLSIZE;
			for(int p=0;p<CELLSIZE;p++)
			{
				for(int q=0;q<CELLSIZE;q++)
				{
					//int currendindX = indX+p;
					//int currendindY = indY+q;
					int binind = Tag[indX+q + width*(indY+p)]-1;
					float tmpdebug = Gr[indX+q + width*(indY+p)];
					tmp[inc][binind] +=tmpdebug;
					//tmp[inc][binind] += Gr[indX+q + width*(indY+p)];
				}
			}
			inc++;
		}
	}

	float norm = 0.0f;
	int nonempty = 0;
	for(int p=0;p<CELLBLOCKSIZE*CELLBLOCKSIZE;p++)
	{
		for(int q=0;q<BINNUM;q++)
		{
			norm+= (tmp[p][q]*tmp[p][q]);
			if(tmp[p][q]>0)
				nonempty ++;
		}
	}
	norm = sqrt(norm);
	norm +=1e-5;
	//if(norm <= 0.0f)
	//	norm = 1e-5;
	//float acc = 0.0;
	for(int p=0;p<CELLBLOCKSIZE*CELLBLOCKSIZE;p++)
	{
		for(int q=0;q<BINNUM;q++)
		{
			//outputHOGFeature[ (tx+ty*xStepNum)*CELLBLOCKSIZE*CELLBLOCKSIZE*BINNUM +(q+p*BINNUM)] = tmp[p][q]/norm;
			outputHOGFeature[ (ty+tx*yStepNum)*CELLBLOCKSIZE*CELLBLOCKSIZE*BINNUM +(q+p*BINNUM)] = tmp[p][q]/norm;
			//acc +=tmp[p][q]/norm;
		}
	}
	/*outputPosition[(tx + ty*xStepNum)*2] = x;
	outputPosition[(tx + ty*xStepNum)*2 + 1] = y;

	outputOffset[(tx + ty*xStepNum)*2] = centerX - x;
	outputOffset[(tx + ty*xStepNum)*2 + 1] = centerY - y;

	outputWeight[tx + ty*xStepNum] = float(nonempty)/81.0f;*/

	outputPosition[(ty+tx*yStepNum)*2] = x;
	outputPosition[(ty+tx*yStepNum)*2 + 1] = y;

	outputOffset[(ty+tx*yStepNum)*2] = centerX - x;
	outputOffset[(ty+tx*yStepNum)*2 + 1] = centerY - y;

	outputWeight[(ty+tx*yStepNum)] = float(nonempty)/81.0f;
	//outputWeight[(ty+tx*yStepNum)] = float(acc)/1.0f;
	}
}

__global__ void computeBinHOGTar(float* outputHOGFeature,int *outputPosition,float* Gr,int* Tag,unsigned int xStepNum,unsigned int yStepNum,
								unsigned int width,unsigned int height)
{
	unsigned int tx = blockIdx.x*blockDim.x + threadIdx.x;
	unsigned int ty = blockIdx.y*blockDim.y + threadIdx.y; 

	if(tx < xStepNum && ty < yStepNum)
	{
	//pixel position of center
	int x = tx*STEPSIZE+1.5*CELLSIZE-1;
	int y = ty*STEPSIZE+1.5*CELLSIZE-1;

	int leftupperX = x - 1.5*CELLSIZE +1 ;
	int leftupperY = y - 1.5*CELLSIZE +1 ;

	//__shared__ float tmp[CELLSIZE][CELLSIZE];
	float tmp[CELLBLOCKSIZE*CELLBLOCKSIZE][BINNUM] = {0.0f};

	int inc = 0;
	for(int i = 0; i < CELLBLOCKSIZE;i++)
	{
		for(int j=0; j<CELLBLOCKSIZE;j++)
		{
			int indX = leftupperX + j*CELLSIZE;
			int indY = leftupperY + i*CELLSIZE;
			for(int p=0;p<CELLSIZE;p++)
			{
				for(int q=0;q<CELLSIZE;q++)
				{
					//int currendindX = indX+p;
					//int currendindY = indY+q;
					int binind = Tag[indX+q + width*(indY+p)]-1;
					tmp[inc][binind] += Gr[indX+q + width*(indY+p)];
				}
			}
			inc++;
		}
	}

	float norm = 0.0f;
	int nonempty = 0;
	for(int p=0;p<CELLBLOCKSIZE*CELLBLOCKSIZE;p++)
	{
		for(int q=0;q<BINNUM;q++)
		{
			norm+= (tmp[p][q]*tmp[p][q]);
			if(tmp[p][q]>0)
				nonempty ++;
		}
	}
	norm = sqrt(norm);
	norm +=1e-5;
	//if(norm <= 0.0f)
	//	norm = 1e-5;
	for(int p=0;p<CELLBLOCKSIZE*CELLBLOCKSIZE;p++)
	{
		for(int q=0;q<BINNUM;q++)
		{
			//outputHOGFeature[ (tx+ty*xStepNum)*CELLBLOCKSIZE*CELLBLOCKSIZE*BINNUM +(q+p*BINNUM)] = tmp[p][q]/norm;
			outputHOGFeature[ (ty+tx*yStepNum)*CELLBLOCKSIZE*CELLBLOCKSIZE*BINNUM +(q+p*BINNUM)] = tmp[p][q]/norm;
		}
	}
	//outputPosition[(tx + ty*xStepNum)*2] = x;
	//outputPosition[(tx + ty*xStepNum)*2 + 1] = y;
	outputPosition[(ty+tx*yStepNum)*2] = x;
	outputPosition[(ty+tx*yStepNum)*2 + 1] = y;
	}
}

__global__ void computeDistance(float* output,float* hog,float* hogTar,unsigned int width,unsigned int height)
{
	/*__shared__ float tmp[2][81];
	unsigned int bx = blockIdx.x * 1;
	unsigned int by = blockIdx.y * 1;
	unsigned int tx = threadIdx.x * 1;

	if(tx < 81)
	{
		tmp[0][tx] = hog[tx + bx*CELLBLOCKSIZE*CELLBLOCKSIZE*BINNUM];
		tmp[1][tx] = hogTar[tx + by*CELLBLOCKSIZE*CELLBLOCKSIZE*BINNUM];
	}
		__syncthreads();

		float perDistance=0.0;
		float tmp1 = 0.0;
		float tmp2 = 0.0;
		for(int i=0;i<81;i++)
		{
			tmp1 = tmp[0][i];
			tmp2 = tmp[1][i];
			perDistance += ((tmp1-tmp2)*(tmp1-tmp2))/(tmp1 + tmp2 + 1e-5); 
		}

		output[bx + by*width] = 0.5 * perDistance;*/

	unsigned int tx = blockIdx.x*blockDim.x + threadIdx.x;
	unsigned int ty = blockIdx.y*blockDim.y + threadIdx.y; 

	if(tx < width && ty < height)
	{
		float perDistance = 0.0;
		//float tmp[CELLBLOCKSIZE*CELLBLOCKSIZE*BINNUM]= {0.0f};
		//float tmpTar[CELLBLOCKSIZE*CELLBLOCKSIZE*BINNUM]= {0.0f};
		float tmp = 0.0;
		float tmpTar = 0.0;
		//int i=0;
		for(int i =0;i<CELLBLOCKSIZE*CELLBLOCKSIZE*BINNUM;i++)
		{

			tmp = hog[i + tx*CELLBLOCKSIZE*CELLBLOCKSIZE*BINNUM];
			tmpTar = hogTar[i + ty*CELLBLOCKSIZE*CELLBLOCKSIZE*BINNUM];

			//float tmp = hog[i*(width) + tx];
			//float tmpTar = hogTar[i*height + ty];

			perDistance = perDistance + ((tmp-tmpTar)*(tmp-tmpTar))/(tmp + tmpTar + 1e-5);
			//perDistance=1;
		}

		output[tx + ty*width] = 0.5 * perDistance;
		//output[ty + tx*height] = 0.5 * perDistance;
	}
}

__global__ void vote(float *OutputVoteMatrix,float *HOGDistance, float *weight,int *offset,int *samplepixel,
	                   unsigned int width,unsigned int height,unsigned int voteWidth,unsigned int voteHeight)
{
	unsigned int tx = blockIdx.x*blockDim.x + threadIdx.x;
	unsigned int ty = blockIdx.y*blockDim.y + threadIdx.y; 
	if(tx < width && ty < height)
	{
		//if (HOGDistance[tx + ty*width] <= threshold[ty])
		if (HOGDistance[tx + ty*width] <= 2)//
		{
			int x = samplepixel[ty*2];
			int y = samplepixel[ty*2+1];

			int offsetx = offset[tx*2];
			int offsety = offset[tx*2+1];

			int centerx = x + offsetx;
			int centery = y + offsety;

			if(centerx >= 0 && centery >= 0 && centerx < voteWidth && centery< voteHeight)
			{
				OutputVoteMatrix[centerx + centery*voteWidth] += 1/(HOGDistance[tx + ty*width]+1e-5 + 1) * weight[tx];
			}
		}
	}
}

__global__ void genGaussianFilter(float* output)
{
	unsigned int tx = blockIdx.x*blockDim.x + threadIdx.x;
	unsigned int ty = blockIdx.y*blockDim.y + threadIdx.y;

	__shared__ float gaussianKernel[KERNEL_WIDTH][KERNEL_WIDTH];

	float sigma = 5.0;
	float gaussianSum = 0.0;

	gaussianKernel[ty][tx] = powf(2.71828,-((tx-15)*(tx-15)/(2*sigma*sigma) + (ty-15)*(ty-15)/(2*sigma*sigma)));
	__syncthreads();

	for(int i=0;i<KERNEL_WIDTH;i++)
		for(int j=0;j<KERNEL_WIDTH;j++)
		{
			gaussianSum += gaussianKernel[i][j];
		}

	output[ty*KERNEL_WIDTH + tx] = gaussianKernel[ty][tx]/gaussianSum;
}

__global__ void gaussianFilter(float* output,float* input, float* gaussianKernel,unsigned int width,unsigned int height)
{
	unsigned int tx = blockIdx.x*blockDim.x + threadIdx.x;
	unsigned int ty = blockIdx.y*blockDim.y + threadIdx.y;

	if(tx < width && ty < height)
	{
		float accum = 0.0;
		float offset = 15;
		for (int i = 0; i < KERNEL_WIDTH; ++i)
		{
			for (int j = 0; j < KERNEL_WIDTH; ++j)
			{
				int ind = tx+j-offset + (ty+i-offset) * width;
				if(ind > 0 && ind < width*height)
					accum += gaussianKernel[j + KERNEL_WIDTH*i] * input[ind];
			}

			output[tx + ty*width] = accum;
		}	
	}
}

__global__ void detectMaximal(float* output,float* input,unsigned int width,unsigned int height,float maximal)
{
	unsigned int tx = blockIdx.x*blockDim.x + threadIdx.x;
	unsigned int ty = blockIdx.y*blockDim.y + threadIdx.y;
	if(tx < width-1 && ty < height-1 && tx >0 && ty>0)
	{
		if (input[tx + ty*width] > 0.8*maximal && input[tx + ty*width] > input[tx-1 + (ty-1)*width] && 
			input[tx + ty*width] > input[tx + (ty-1)*width] && input[tx + ty*width] > input[tx+1 + (ty-1)*width] &&
			input[tx + ty*width] > input[tx-1 + (ty)*width] && input[tx + ty*width] > input[tx+1 + (ty)*width] &&
			input[tx + ty*width] > input[tx-1 + (ty+1)*width] && input[tx + ty*width] > input[tx + (ty+1)*width] &&
			input[tx + ty*width] > input[tx+1 + (ty+1)*width])
		{
			output[tx + ty*width] = (tx+1) + (ty)*width;
		}
	}
}

__global__ void computeThreshold(float* output,float* input)
{
	unsigned int tx = threadIdx.x;
	unsigned int bx = blockIdx.x;
	__shared__ float partialMin[500];
	partialMin[tx] = input[tx + bx*blockDim.x];

	unsigned int stride = 1;

	for (stride = 1; stride < blockDim.x; stride *= 2) 
	{
	  __syncthreads();
	  if (tx % (2 * stride) == 0 && tx + stride < blockDim.x)
		  partialMin[tx] = partialMin[tx] < partialMin[tx + stride] ? partialMin[tx]:partialMin[tx + stride];
	}
	/*unsigned int stridenew = stride/2;
	float kmax = partialMin[0];

	for(int i=0;i<blockDim.x;i+=stridenew)
	{
		if(kmax < partialMin[i])
			kmax = partialMin[i];
	}*/

	output[0] = partialMin[0];
}

extern "C" float* computeHOG(float *img,float* imgTar,unsigned int width,unsigned int height,unsigned int widthTar,unsigned int heightTar)
{	
	//For performance analysis
	cudaEvent_t start, stop0,stop1, stop2, stop3, stop4, stop5, stop6,stop7,stop8,stop9,stop10,stop11,stop12,stop13,stop14;
	cudaEventCreate(&start);
	cudaEventCreate(&stop0);
	cudaEventCreate(&stop1);
	cudaEventCreate(&stop2);
	cudaEventCreate(&stop3);
	cudaEventCreate(&stop4);
	cudaEventCreate(&stop5);
	cudaEventCreate(&stop6);
	cudaEventCreate(&stop7);
	cudaEventCreate(&stop8);
	cudaEventCreate(&stop9);
	cudaEventCreate(&stop10);
	cudaEventCreate(&stop11);
	cudaEventCreate(&stop12);
	cudaEventCreate(&stop13);
	cudaEventCreate(&stop14);

	cudaEventRecord(start, 0);

	int xStepNum = floor((width-CELLSIZE*CELLBLOCKSIZE)/float(STEPSIZE));
	int yStepNum = floor((height-CELLSIZE*CELLBLOCKSIZE)/float(STEPSIZE));
	int xStepNumTar = floor((widthTar-CELLSIZE*CELLBLOCKSIZE)/float(STEPSIZE));
	int yStepNumTar = floor((heightTar-CELLSIZE*CELLBLOCKSIZE)/float(STEPSIZE));

	float *Gr;
	cudaMalloc((void**)&Gr , width*height*sizeof(float));

	int *Tag;
	cudaMalloc((void**)&Tag , width*height*sizeof(int));

	float *HOGFeature;
	cudaMalloc((void**)&HOGFeature , xStepNum*yStepNum*BINNUM*CELLBLOCKSIZE*CELLBLOCKSIZE*sizeof(float));
	cudaMemset(HOGFeature,0,xStepNum*yStepNum*BINNUM*CELLBLOCKSIZE*CELLBLOCKSIZE*sizeof(float));

	int *centerPosition;
	cudaMalloc((void**)&centerPosition , 2*xStepNum*yStepNum*sizeof(int));

	int *offset;
	cudaMalloc((void**)&offset , 2*xStepNum*yStepNum*sizeof(int));

	float *weight;
	cudaMalloc((void**)&weight , xStepNum*yStepNum*sizeof(float));

	
	float *GrTar;
	cudaMalloc((void**)&GrTar , widthTar*heightTar*sizeof(float));

	int *TagTar;
	cudaMalloc((void**)&TagTar , widthTar*heightTar*sizeof(int));

	int *samplepixel;
	cudaMalloc((void**)&samplepixel , 2*xStepNum*yStepNum*sizeof(int));

	float *HOGFeatureTar;
	cudaMalloc((void**)&HOGFeatureTar , xStepNumTar*yStepNumTar*BINNUM*CELLBLOCKSIZE*CELLBLOCKSIZE*sizeof(float));
	cudaMemset(HOGFeatureTar,0,xStepNumTar*yStepNumTar*BINNUM*CELLBLOCKSIZE*CELLBLOCKSIZE*sizeof(float));

	float *HOGDistance;
	cudaMalloc((void**)&HOGDistance , xStepNumTar*yStepNumTar*xStepNum*yStepNum*sizeof(float));
	cudaMemset(HOGDistance,0,xStepNumTar*yStepNumTar*xStepNum*yStepNum*sizeof(float));

	float *votematrix;
	cudaMalloc((void**)&votematrix , widthTar*heightTar* sizeof(float));
	cudaMemset(votematrix,0,widthTar*heightTar*sizeof(float));

	float *gaussianKernel_dev;
	cudaMalloc((void**)&gaussianKernel_dev , KERNEL_WIDTH*KERNEL_WIDTH* sizeof(float));
	cudaMemset(gaussianKernel_dev,0,KERNEL_WIDTH*KERNEL_WIDTH*sizeof(float));

	float *votematrix_smoothed;
	cudaMalloc((void**)&votematrix_smoothed , widthTar*heightTar* sizeof(float));
	cudaMemset(votematrix_smoothed,0,widthTar*heightTar*sizeof(float));

	float *vote_maxposition;
	cudaMalloc((void**)&vote_maxposition , widthTar*heightTar* sizeof(float));
	cudaMemset(vote_maxposition,0,widthTar*heightTar*sizeof(float));

	//********************
	cudaEventRecord(stop0, 0);
	cudaEventSynchronize(stop0);
	float elapsedTime0;
	cudaEventElapsedTime(&elapsedTime0, start, stop0);
	printf("Initialization :%f ms\n", elapsedTime0);
	//********************

	dim3 dimBlock(16,16,1);
	dim3 dimGrid(width/dimBlock.x + 1, height/dimBlock.y + 1,1);
	computeGradient<<<dimGrid,dimBlock>>>(Gr,Tag,img,width,height);

	//********************
	cudaEventRecord(stop1, 0);
	cudaEventSynchronize(stop1);
	float elapsedTime1;
	cudaEventElapsedTime(&elapsedTime1, start, stop1);
	printf("Gradient Computation for Ref Image :%f ms\n", elapsedTime1);
	//********************

	dimBlock = dim3(16,16,1);
	dimGrid = dim3(xStepNum/dimBlock.x + 1, yStepNum/dimBlock.y + 1,1);
	computeBinHOG<<<dimGrid,dimBlock>>>(HOGFeature,weight,centerPosition,offset,Gr,Tag,xStepNum,yStepNum,width,height);
	
	//********************
	cudaEventRecord(stop2, 0);
	cudaEventSynchronize(stop2);
	float elapsedTime2;
	cudaEventElapsedTime(&elapsedTime2, start, stop2);
	printf("HOG Computation for Ref Image :%f ms\n", elapsedTime2);
	//********************

	dimBlock = dim3(16,16,1);
	dimGrid = dim3(widthTar/dimBlock.x + 1, heightTar/dimBlock.y + 1,1);
	computeGradient<<<dimGrid,dimBlock>>>(GrTar,TagTar,imgTar,widthTar,heightTar);

	//********************
	cudaEventRecord(stop3, 0);
	cudaEventSynchronize(stop3);
	float elapsedTime3;
	cudaEventElapsedTime(&elapsedTime3, start, stop3);
	printf("Gradient Computation for Target Image :%f ms\n", elapsedTime3);
	//********************

	dimBlock = dim3(16,16,1);
	dimGrid = dim3(xStepNumTar/dimBlock.x + 1, yStepNumTar/dimBlock.y + 1,1);
	computeBinHOGTar<<<dimGrid,dimBlock>>>(HOGFeatureTar,samplepixel,GrTar,TagTar,xStepNumTar,yStepNumTar,widthTar,heightTar);

	//********************
	cudaEventRecord(stop4, 0);
	cudaEventSynchronize(stop4);
	float elapsedTime4;
	cudaEventElapsedTime(&elapsedTime4, start, stop4);
	printf("HOG Computation for Target Image :%f ms\n", elapsedTime4);
	//********************

	dimBlock = dim3(16,16,1);
	dimGrid = dim3((xStepNum*yStepNum)/dimBlock.x + 1, (xStepNumTar*yStepNumTar)/dimBlock.y + 1,1);
	computeDistance<<<dimGrid,dimBlock>>>(HOGDistance,HOGFeature,HOGFeatureTar,xStepNum*yStepNum,xStepNumTar*yStepNumTar);

	//********************
	cudaEventRecord(stop5, 0);
	cudaEventSynchronize(stop5);
	float elapsedTime5;
	cudaEventElapsedTime(&elapsedTime5, start, stop5);
	printf("Distance Matrix Computation:%f ms\n", elapsedTime5);
	//********************

	//float *HOGDistanceSorted = new float[xStepNumTar*yStepNumTar*xStepNum*yStepNum];
	//cudaMemcpy(HOGDistanceSorted,HOGDistance,  xStepNumTar*yStepNumTar*xStepNum*yStepNum*sizeof(float), cudaMemcpyDeviceToHost);

	/*float *threshold_host  = new float[xStepNumTar*yStepNumTar];

	for(int i=0;i<xStepNumTar*yStepNumTar;i++)
	{
		thrust::sort(HOGDistanceSorted + i*(xStepNum*yStepNum), HOGDistanceSorted +i*(xStepNum*yStepNum) +xStepNum*yStepNum);
		threshold_host[i] = HOGDistanceSorted[i*(xStepNum*yStepNum) + K - 1];
	}*/

	/*float *threshold_dev;
	cudaMalloc((void**)&threshold_dev , xStepNumTar*yStepNumTar* sizeof(float));
	cudaMemcpy(threshold_dev,threshold_host, xStepNumTar*yStepNumTar*sizeof(float), cudaMemcpyHostToDevice);*/
	//cudaMemcpy(threshold_dev,threshold_host, xStepNumTar*yStepNumTar*sizeof(float), cudaMemcpyHostToDevice);

	/*dimBlock = dim3(xStepNum*yStepNum,1,1);
	dimGrid = dim3(xStepNumTar*yStepNumTar,1,1);
	float *threshold_dev;
	cudaMalloc((void**)&threshold_dev , xStepNumTar*yStepNumTar* sizeof(float));
	cudaMemset(threshold_dev,0,xStepNumTar*yStepNumTar*sizeof(float));
	computeThreshold<<<dimGrid,dimBlock>>>(threshold_dev,HOGDistance);*/



	dimBlock = dim3(16,16,1);
	dimGrid = dim3((xStepNum*yStepNum)/dimBlock.x + 1, (xStepNumTar*yStepNumTar)/dimBlock.y + 1,1);
	//vote<<<dimGrid,dimBlock>>>(votematrix,threshold_dev,HOGDistance,weight,offset,samplepixel,xStepNum*yStepNum,xStepNumTar*yStepNumTar,widthTar,heightTar);
	vote<<<dimGrid,dimBlock>>>(votematrix,HOGDistance,weight,offset,samplepixel,xStepNum*yStepNum,xStepNumTar*yStepNumTar,widthTar,heightTar);

	//********************
	cudaEventRecord(stop6, 0);
	cudaEventSynchronize(stop6);
	float elapsedTime6;
	cudaEventElapsedTime(&elapsedTime6, start, stop6);
	printf("Threshold and Voting:%f ms\n", elapsedTime6);
	//********************

	dimBlock = dim3(KERNEL_WIDTH,KERNEL_WIDTH,1);
	dimGrid = dim3(1,1,1);
	genGaussianFilter<<<dimGrid,dimBlock>>>(gaussianKernel_dev);

	//********************
	cudaEventRecord(stop7, 0);
	cudaEventSynchronize(stop7);
	float elapsedTime7;
	cudaEventElapsedTime(&elapsedTime7, start, stop7);
	printf("Gaussian Kernel Generation:%f ms\n", elapsedTime7);
	//********************

	dimBlock = dim3(16,16,1);
	dimGrid = dim3(widthTar/dimBlock.x + 1, heightTar/dimBlock.y + 1,1);
	gaussianFilter<<<dimGrid,dimBlock>>>(votematrix_smoothed,votematrix, gaussianKernel_dev,widthTar,heightTar);

	//********************
	cudaEventRecord(stop8, 0);
	cudaEventSynchronize(stop8);
	float elapsedTime8;
	cudaEventElapsedTime(&elapsedTime8, start, stop8);
	printf("Gaussian Blur:%f ms\n", elapsedTime8);
	//********************

	float *votematrix_smoothed_sorted = new float[widthTar*heightTar];
	cudaMemcpy(votematrix_smoothed_sorted,votematrix_smoothed,  widthTar*heightTar*sizeof(float), cudaMemcpyDeviceToHost);

	thrust::sort(votematrix_smoothed_sorted, votematrix_smoothed_sorted +widthTar*heightTar);
	float maxvalue = votematrix_smoothed_sorted[widthTar*heightTar-1];

	//********************
	cudaEventRecord(stop9, 0);
	cudaEventSynchronize(stop9);
	float elapsedTime9;
	cudaEventElapsedTime(&elapsedTime9, start, stop9);
	printf("Maximal Voting Value Computation:%f ms\n", elapsedTime9);
	//********************

	dimBlock = dim3(16,16,1);
	dimGrid = dim3(widthTar/dimBlock.x + 1, heightTar/dimBlock.y + 1,1);
	detectMaximal<<<dimGrid,dimBlock>>>(vote_maxposition,votematrix_smoothed,widthTar,heightTar,maxvalue);

	//********************
	cudaEventRecord(stop10, 0);
	cudaEventSynchronize(stop10);
	float elapsedTime10;
	cudaEventElapsedTime(&elapsedTime10, start, stop10);
	printf("Local Maximal Detection:%f ms\n", elapsedTime10);
	//********************

	float *vote_maxposition_sorted = new float[widthTar*heightTar];
	cudaMemcpy(vote_maxposition_sorted,vote_maxposition,  widthTar*heightTar*sizeof(float), cudaMemcpyDeviceToHost);

	thrust::sort(vote_maxposition_sorted, vote_maxposition_sorted +widthTar*heightTar);

	int centernum = 0;
	for(int i=widthTar*heightTar-1;i>=0;i--)
	{
		if(vote_maxposition_sorted[i] > 0)
			centernum++;
		else
			break;
	}

	//********************
	cudaEventRecord(stop11, 0);
	cudaEventSynchronize(stop11);
	float elapsedTime11;
	cudaEventElapsedTime(&elapsedTime11, start, stop11);
	printf("Transfering Detected Logo Position to HOST:%f ms\n", elapsedTime11);
	//********************

	//float *ret = new float[centernum];
	//cudaMemcpy(ret,vote_maxposition_sorted + widthTar*heightTar - centernum,  centernum*sizeof(float), cudaMemcpyHostToHost);

	float *ret = new float[centernum+1];
	ret[0] = float(centernum);
	cudaMemcpy(ret+1,vote_maxposition_sorted + widthTar*heightTar - centernum,  centernum*sizeof(float), cudaMemcpyHostToHost);

	//float *ret = new float[widthTar*heightTar];
	//cudaMemcpy(ret,votematrix_smoothed,  widthTar*heightTar*sizeof(float), cudaMemcpyDeviceToHost);

	return ret;
}

	.file	"tmpxft_002b740a_00000000-6_hog.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.section	.text.nvtxEtiGetModuleFunctionTable_v3,"axG",@progbits,nvtxEtiGetModuleFunctionTable_v3,comdat
	.weak	nvtxEtiGetModuleFunctionTable_v3
	.hidden	nvtxEtiGetModuleFunctionTable_v3
	.type	nvtxEtiGetModuleFunctionTable_v3, @function
nvtxEtiGetModuleFunctionTable_v3:
.LFB8470:
	.cfi_startproc
	endbr64
	decl	%edi
	xorl	%eax, %eax
	cmpl	$5, %edi
	ja	.L1
	leaq	.L4(%rip), %rcx
	movslq	(%rcx,%rdi,4), %rax
	addq	%rcx, %rax
	notrack jmp	*%rax
	.section	.rodata.nvtxEtiGetModuleFunctionTable_v3,"aG",@progbits,nvtxEtiGetModuleFunctionTable_v3,comdat
	.align 4
	.align 4
.L4:
	.long	.L9-.L4
	.long	.L14-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.section	.text.nvtxEtiGetModuleFunctionTable_v3,"axG",@progbits,nvtxEtiGetModuleFunctionTable_v3,comdat
.L9:
	leaq	560+nvtxGlobals_v3(%rip), %rcx
	jmp	.L18
.L7:
	leaq	776+nvtxGlobals_v3(%rip), %rcx
	movl	$128, %eax
	jmp	.L8
.L6:
	leaq	904+nvtxGlobals_v3(%rip), %rcx
	jmp	.L19
.L5:
	leaq	968+nvtxGlobals_v3(%rip), %rcx
.L18:
	movl	$136, %eax
	jmp	.L8
.L3:
	leaq	1104+nvtxGlobals_v3(%rip), %rcx
.L19:
	movl	$64, %eax
	jmp	.L8
.L14:
	leaq	696+nvtxGlobals_v3(%rip), %rcx
	movl	$80, %eax
.L8:
	testq	%rdx, %rdx
	je	.L10
	shrl	$3, %eax
	decl	%eax
	movl	%eax, (%rdx)
.L10:
	testq	%rsi, %rsi
	jne	.L11
.L12:
	movl	$1, %eax
	ret
.L11:
	movq	%rcx, (%rsi)
	jmp	.L12
.L1:
	ret
	.cfi_endproc
.LFE8470:
	.size	nvtxEtiGetModuleFunctionTable_v3, .-nvtxEtiGetModuleFunctionTable_v3
	.section	.text.nvtxGetExportTable_v3,"axG",@progbits,nvtxGetExportTable_v3,comdat
	.weak	nvtxGetExportTable_v3
	.hidden	nvtxGetExportTable_v3
	.type	nvtxGetExportTable_v3, @function
nvtxGetExportTable_v3:
.LFB8471:
	.cfi_startproc
	endbr64
	leaq	8+nvtxGlobals_v3(%rip), %rax
	cmpl	$1, %edi
	je	.L21
	cmpl	$3, %edi
	leaq	16(%rax), %rax
	movl	$0, %edx
	cmovne	%rdx, %rax
.L21:
	ret
	.cfi_endproc
.LFE8471:
	.size	nvtxGetExportTable_v3, .-nvtxGetExportTable_v3
	.section	.text.nvtxEtiSetInjectionNvtxVersion_v3,"axG",@progbits,nvtxEtiSetInjectionNvtxVersion_v3,comdat
	.weak	nvtxEtiSetInjectionNvtxVersion_v3
	.hidden	nvtxEtiSetInjectionNvtxVersion_v3
	.type	nvtxEtiSetInjectionNvtxVersion_v3, @function
nvtxEtiSetInjectionNvtxVersion_v3:
.LFB8472:
	.cfi_startproc
	endbr64
	ret
	.cfi_endproc
.LFE8472:
	.size	nvtxEtiSetInjectionNvtxVersion_v3, .-nvtxEtiSetInjectionNvtxVersion_v3
	.section	.text._ZNK6thrust20THRUST_200700_890_NS6system6detail9bad_alloc4whatEv,"axG",@progbits,_ZNK6thrust20THRUST_200700_890_NS6system6detail9bad_alloc4whatEv,comdat
	.align 2
	.weak	_ZNK6thrust20THRUST_200700_890_NS6system6detail9bad_alloc4whatEv
	.type	_ZNK6thrust20THRUST_200700_890_NS6system6detail9bad_alloc4whatEv, @function
_ZNK6thrust20THRUST_200700_890_NS6system6detail9bad_alloc4whatEv:
.LFB9542:
	.cfi_startproc
	endbr64
	movq	8(%rdi), %rax
	ret
	.cfi_endproc
.LFE9542:
	.size	_ZNK6thrust20THRUST_200700_890_NS6system6detail9bad_alloc4whatEv, .-_ZNK6thrust20THRUST_200700_890_NS6system6detail9bad_alloc4whatEv
	.section	.text._ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocD2Ev,"axG",@progbits,_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocD5Ev,comdat
	.align 2
	.weak	_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocD2Ev
	.type	_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocD2Ev, @function
_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocD2Ev:
.LFB9539:
	.cfi_startproc
	endbr64
	leaq	16+_ZTVN6thrust20THRUST_200700_890_NS6system6detail9bad_allocE(%rip), %rax
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movq	%rdi, %rbx
	leaq	8(%rdi), %rdi
	movq	%rax, -8(%rdi)
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	_ZNSt9bad_allocD2Ev@PLT
	.cfi_endproc
.LFE9539:
	.size	_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocD2Ev, .-_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocD2Ev
	.weak	_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocD1Ev
	.set	_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocD1Ev,_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocD2Ev
	.section	.text._ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocD0Ev,"axG",@progbits,_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocD5Ev,comdat
	.align 2
	.weak	_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocD0Ev
	.type	_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocD0Ev, @function
_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocD0Ev:
.LFB9541:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	call	_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocD1Ev
	movq	8(%rsp), %rdi
	movl	$40, %esi
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	jmp	_ZdlPvm@PLT
	.cfi_endproc
.LFE9541:
	.size	_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocD0Ev, .-_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocD0Ev
	.text
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB11834:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE11834:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.section	.text._ZN3cub17CUB_200700_890_NS11EmptyKernelIvEEvv,"axG",@progbits,_ZN3cub17CUB_200700_890_NS11EmptyKernelIvEEvv,comdat
	.weak	_ZN3cub17CUB_200700_890_NS11EmptyKernelIvEEvv
	.hidden	_ZN3cub17CUB_200700_890_NS11EmptyKernelIvEEvv
	.type	_ZN3cub17CUB_200700_890_NS11EmptyKernelIvEEvv, @function
_ZN3cub17CUB_200700_890_NS11EmptyKernelIvEEvv:
.LFB12260:
	.cfi_startproc
	endbr64
	subq	$88, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	movabsq	$4294967297, %rax
	leaq	8(%rsp), %rcx
	movq	%rsp, %rdx
	leaq	28(%rsp), %rsi
	leaq	16(%rsp), %rdi
	movl	$1, 24(%rsp)
	movl	$1, 36(%rsp)
	movq	%rax, 16(%rsp)
	movq	%rax, 28(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L33
	pushq	8(%rsp)
	.cfi_def_cfa_offset 104
	leaq	_ZN3cub17CUB_200700_890_NS11EmptyKernelIvEEvv(%rip), %rdi
	pushq	8(%rsp)
	.cfi_def_cfa_offset 112
	movq	44(%rsp), %rcx
	movl	52(%rsp), %r8d
	movq	32(%rsp), %rsi
	movl	40(%rsp), %edx
	leaq	80(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 104
	popq	%rdx
	.cfi_def_cfa_offset 96
.L33:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	addq	$88, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE12260:
	.size	_ZN3cub17CUB_200700_890_NS11EmptyKernelIvEEvv, .-_ZN3cub17CUB_200700_890_NS11EmptyKernelIvEEvv
	.section	.text.nvtxSetInitFunctionsToNoops_v3,"axG",@progbits,nvtxSetInitFunctionsToNoops_v3,comdat
	.weak	nvtxSetInitFunctionsToNoops_v3
	.hidden	nvtxSetInitFunctionsToNoops_v3
	.type	nvtxSetInitFunctionsToNoops_v3, @function
nvtxSetInitFunctionsToNoops_v3:
.LFB8537:
	.cfi_startproc
	endbr64
	testl	%edi, %edi
	leaq	nvtxMarkEx_impl_init_v3(%rip), %rdx
	setne	%al
	cmpq	%rdx, 48+nvtxGlobals_v3(%rip)
	je	.L166
	testb	%al, %al
	je	.L38
.L166:
	xorl	%r10d, %r10d
	movq	%r10, 48+nvtxGlobals_v3(%rip)
.L38:
	leaq	nvtxMarkA_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 56+nvtxGlobals_v3(%rip)
	je	.L167
	testb	%al, %al
	je	.L40
.L167:
	xorl	%r9d, %r9d
	movq	%r9, 56+nvtxGlobals_v3(%rip)
.L40:
	leaq	nvtxMarkW_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 64+nvtxGlobals_v3(%rip)
	je	.L168
	testb	%al, %al
	je	.L42
.L168:
	xorl	%r8d, %r8d
	movq	%r8, 64+nvtxGlobals_v3(%rip)
.L42:
	leaq	nvtxRangeStartEx_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 72+nvtxGlobals_v3(%rip)
	je	.L169
	testb	%al, %al
	je	.L44
.L169:
	xorl	%edi, %edi
	movq	%rdi, 72+nvtxGlobals_v3(%rip)
.L44:
	leaq	nvtxRangeStartA_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 80+nvtxGlobals_v3(%rip)
	je	.L170
	testb	%al, %al
	je	.L46
.L170:
	xorl	%esi, %esi
	movq	%rsi, 80+nvtxGlobals_v3(%rip)
.L46:
	leaq	nvtxRangeStartW_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 88+nvtxGlobals_v3(%rip)
	je	.L171
	testb	%al, %al
	je	.L48
.L171:
	xorl	%ecx, %ecx
	movq	%rcx, 88+nvtxGlobals_v3(%rip)
.L48:
	leaq	nvtxRangeEnd_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 96+nvtxGlobals_v3(%rip)
	je	.L172
	testb	%al, %al
	je	.L50
.L172:
	xorl	%edx, %edx
	movq	%rdx, 96+nvtxGlobals_v3(%rip)
.L50:
	leaq	nvtxRangePushEx_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 104+nvtxGlobals_v3(%rip)
	je	.L173
	testb	%al, %al
	je	.L52
.L173:
	xorl	%r11d, %r11d
	movq	%r11, 104+nvtxGlobals_v3(%rip)
.L52:
	leaq	nvtxRangePushA_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 112+nvtxGlobals_v3(%rip)
	je	.L174
	testb	%al, %al
	je	.L54
.L174:
	xorl	%r10d, %r10d
	movq	%r10, 112+nvtxGlobals_v3(%rip)
.L54:
	leaq	nvtxRangePushW_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 120+nvtxGlobals_v3(%rip)
	je	.L175
	testb	%al, %al
	je	.L56
.L175:
	xorl	%r9d, %r9d
	movq	%r9, 120+nvtxGlobals_v3(%rip)
.L56:
	leaq	nvtxRangePop_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 128+nvtxGlobals_v3(%rip)
	je	.L176
	testb	%al, %al
	je	.L58
.L176:
	xorl	%r8d, %r8d
	movq	%r8, 128+nvtxGlobals_v3(%rip)
.L58:
	leaq	nvtxNameCategoryA_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 136+nvtxGlobals_v3(%rip)
	je	.L177
	testb	%al, %al
	je	.L60
.L177:
	xorl	%edi, %edi
	movq	%rdi, 136+nvtxGlobals_v3(%rip)
.L60:
	leaq	nvtxNameCategoryW_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 144+nvtxGlobals_v3(%rip)
	je	.L178
	testb	%al, %al
	je	.L62
.L178:
	xorl	%esi, %esi
	movq	%rsi, 144+nvtxGlobals_v3(%rip)
.L62:
	leaq	nvtxNameOsThreadA_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 152+nvtxGlobals_v3(%rip)
	je	.L179
	testb	%al, %al
	je	.L64
.L179:
	xorl	%ecx, %ecx
	movq	%rcx, 152+nvtxGlobals_v3(%rip)
.L64:
	leaq	nvtxNameOsThreadW_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 160+nvtxGlobals_v3(%rip)
	je	.L180
	testb	%al, %al
	je	.L66
.L180:
	xorl	%edx, %edx
	movq	%rdx, 160+nvtxGlobals_v3(%rip)
.L66:
	leaq	nvtxNameCuDeviceA_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 168+nvtxGlobals_v3(%rip)
	je	.L181
	testb	%al, %al
	je	.L68
.L181:
	xorl	%r11d, %r11d
	movq	%r11, 168+nvtxGlobals_v3(%rip)
.L68:
	leaq	nvtxNameCuDeviceW_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 176+nvtxGlobals_v3(%rip)
	je	.L182
	testb	%al, %al
	je	.L70
.L182:
	xorl	%r10d, %r10d
	movq	%r10, 176+nvtxGlobals_v3(%rip)
.L70:
	leaq	nvtxNameCuContextA_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 184+nvtxGlobals_v3(%rip)
	je	.L183
	testb	%al, %al
	je	.L72
.L183:
	xorl	%r9d, %r9d
	movq	%r9, 184+nvtxGlobals_v3(%rip)
.L72:
	leaq	nvtxNameCuContextW_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 192+nvtxGlobals_v3(%rip)
	je	.L184
	testb	%al, %al
	je	.L74
.L184:
	xorl	%r8d, %r8d
	movq	%r8, 192+nvtxGlobals_v3(%rip)
.L74:
	leaq	nvtxNameCuStreamA_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 200+nvtxGlobals_v3(%rip)
	je	.L185
	testb	%al, %al
	je	.L76
.L185:
	xorl	%edi, %edi
	movq	%rdi, 200+nvtxGlobals_v3(%rip)
.L76:
	leaq	nvtxNameCuStreamW_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 208+nvtxGlobals_v3(%rip)
	je	.L186
	testb	%al, %al
	je	.L78
.L186:
	xorl	%esi, %esi
	movq	%rsi, 208+nvtxGlobals_v3(%rip)
.L78:
	leaq	nvtxNameCuEventA_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 216+nvtxGlobals_v3(%rip)
	je	.L187
	testb	%al, %al
	je	.L80
.L187:
	xorl	%ecx, %ecx
	movq	%rcx, 216+nvtxGlobals_v3(%rip)
.L80:
	leaq	nvtxNameCuEventW_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 224+nvtxGlobals_v3(%rip)
	je	.L188
	testb	%al, %al
	je	.L82
.L188:
	xorl	%edx, %edx
	movq	%rdx, 224+nvtxGlobals_v3(%rip)
.L82:
	leaq	nvtxNameClDeviceA_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 232+nvtxGlobals_v3(%rip)
	je	.L189
	testb	%al, %al
	je	.L84
.L189:
	xorl	%r11d, %r11d
	movq	%r11, 232+nvtxGlobals_v3(%rip)
.L84:
	leaq	nvtxNameClDeviceW_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 240+nvtxGlobals_v3(%rip)
	je	.L190
	testb	%al, %al
	je	.L86
.L190:
	xorl	%r10d, %r10d
	movq	%r10, 240+nvtxGlobals_v3(%rip)
.L86:
	leaq	nvtxNameClContextA_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 248+nvtxGlobals_v3(%rip)
	je	.L191
	testb	%al, %al
	je	.L88
.L191:
	xorl	%r9d, %r9d
	movq	%r9, 248+nvtxGlobals_v3(%rip)
.L88:
	leaq	nvtxNameClContextW_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 256+nvtxGlobals_v3(%rip)
	je	.L192
	testb	%al, %al
	je	.L90
.L192:
	xorl	%r8d, %r8d
	movq	%r8, 256+nvtxGlobals_v3(%rip)
.L90:
	leaq	nvtxNameClCommandQueueA_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 264+nvtxGlobals_v3(%rip)
	je	.L193
	testb	%al, %al
	je	.L92
.L193:
	xorl	%edi, %edi
	movq	%rdi, 264+nvtxGlobals_v3(%rip)
.L92:
	leaq	nvtxNameClCommandQueueW_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 272+nvtxGlobals_v3(%rip)
	je	.L194
	testb	%al, %al
	je	.L94
.L194:
	xorl	%esi, %esi
	movq	%rsi, 272+nvtxGlobals_v3(%rip)
.L94:
	leaq	nvtxNameClMemObjectA_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 280+nvtxGlobals_v3(%rip)
	je	.L195
	testb	%al, %al
	je	.L96
.L195:
	xorl	%ecx, %ecx
	movq	%rcx, 280+nvtxGlobals_v3(%rip)
.L96:
	leaq	nvtxNameClMemObjectW_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 288+nvtxGlobals_v3(%rip)
	je	.L196
	testb	%al, %al
	je	.L98
.L196:
	xorl	%edx, %edx
	movq	%rdx, 288+nvtxGlobals_v3(%rip)
.L98:
	leaq	nvtxNameClSamplerA_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 296+nvtxGlobals_v3(%rip)
	je	.L197
	testb	%al, %al
	je	.L100
.L197:
	xorl	%r11d, %r11d
	movq	%r11, 296+nvtxGlobals_v3(%rip)
.L100:
	leaq	nvtxNameClSamplerW_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 304+nvtxGlobals_v3(%rip)
	je	.L198
	testb	%al, %al
	je	.L102
.L198:
	xorl	%r10d, %r10d
	movq	%r10, 304+nvtxGlobals_v3(%rip)
.L102:
	leaq	nvtxNameClProgramA_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 312+nvtxGlobals_v3(%rip)
	je	.L199
	testb	%al, %al
	je	.L104
.L199:
	xorl	%r9d, %r9d
	movq	%r9, 312+nvtxGlobals_v3(%rip)
.L104:
	leaq	nvtxNameClProgramW_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 320+nvtxGlobals_v3(%rip)
	je	.L200
	testb	%al, %al
	je	.L106
.L200:
	xorl	%r8d, %r8d
	movq	%r8, 320+nvtxGlobals_v3(%rip)
.L106:
	leaq	nvtxNameClEventA_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 328+nvtxGlobals_v3(%rip)
	je	.L201
	testb	%al, %al
	je	.L108
.L201:
	xorl	%edi, %edi
	movq	%rdi, 328+nvtxGlobals_v3(%rip)
.L108:
	leaq	nvtxNameClEventW_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 336+nvtxGlobals_v3(%rip)
	je	.L202
	testb	%al, %al
	je	.L110
.L202:
	xorl	%esi, %esi
	movq	%rsi, 336+nvtxGlobals_v3(%rip)
.L110:
	leaq	nvtxNameCudaDeviceA_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 344+nvtxGlobals_v3(%rip)
	je	.L203
	testb	%al, %al
	je	.L112
.L203:
	xorl	%ecx, %ecx
	movq	%rcx, 344+nvtxGlobals_v3(%rip)
.L112:
	leaq	nvtxNameCudaDeviceW_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 352+nvtxGlobals_v3(%rip)
	je	.L204
	testb	%al, %al
	je	.L114
.L204:
	xorl	%edx, %edx
	movq	%rdx, 352+nvtxGlobals_v3(%rip)
.L114:
	leaq	nvtxNameCudaStreamA_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 360+nvtxGlobals_v3(%rip)
	je	.L205
	testb	%al, %al
	je	.L116
.L205:
	xorl	%r11d, %r11d
	movq	%r11, 360+nvtxGlobals_v3(%rip)
.L116:
	leaq	nvtxNameCudaStreamW_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 368+nvtxGlobals_v3(%rip)
	je	.L206
	testb	%al, %al
	je	.L118
.L206:
	xorl	%r10d, %r10d
	movq	%r10, 368+nvtxGlobals_v3(%rip)
.L118:
	leaq	nvtxNameCudaEventA_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 376+nvtxGlobals_v3(%rip)
	je	.L207
	testb	%al, %al
	je	.L120
.L207:
	xorl	%r9d, %r9d
	movq	%r9, 376+nvtxGlobals_v3(%rip)
.L120:
	leaq	nvtxNameCudaEventW_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 384+nvtxGlobals_v3(%rip)
	je	.L208
	testb	%al, %al
	je	.L122
.L208:
	xorl	%r8d, %r8d
	movq	%r8, 384+nvtxGlobals_v3(%rip)
.L122:
	leaq	nvtxDomainMarkEx_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 392+nvtxGlobals_v3(%rip)
	je	.L209
	testb	%al, %al
	je	.L124
.L209:
	xorl	%edi, %edi
	movq	%rdi, 392+nvtxGlobals_v3(%rip)
.L124:
	leaq	nvtxDomainRangeStartEx_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 400+nvtxGlobals_v3(%rip)
	je	.L210
	testb	%al, %al
	je	.L126
.L210:
	xorl	%esi, %esi
	movq	%rsi, 400+nvtxGlobals_v3(%rip)
.L126:
	leaq	nvtxDomainRangeEnd_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 408+nvtxGlobals_v3(%rip)
	je	.L211
	testb	%al, %al
	je	.L128
.L211:
	xorl	%ecx, %ecx
	movq	%rcx, 408+nvtxGlobals_v3(%rip)
.L128:
	leaq	nvtxDomainRangePushEx_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 416+nvtxGlobals_v3(%rip)
	je	.L212
	testb	%al, %al
	je	.L130
.L212:
	xorl	%edx, %edx
	movq	%rdx, 416+nvtxGlobals_v3(%rip)
.L130:
	leaq	nvtxDomainRangePop_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 424+nvtxGlobals_v3(%rip)
	je	.L213
	testb	%al, %al
	je	.L132
.L213:
	xorl	%r11d, %r11d
	movq	%r11, 424+nvtxGlobals_v3(%rip)
.L132:
	leaq	nvtxDomainResourceCreate_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 432+nvtxGlobals_v3(%rip)
	je	.L214
	testb	%al, %al
	je	.L134
.L214:
	xorl	%r10d, %r10d
	movq	%r10, 432+nvtxGlobals_v3(%rip)
.L134:
	leaq	nvtxDomainResourceDestroy_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 440+nvtxGlobals_v3(%rip)
	je	.L215
	testb	%al, %al
	je	.L136
.L215:
	xorl	%r9d, %r9d
	movq	%r9, 440+nvtxGlobals_v3(%rip)
.L136:
	leaq	nvtxDomainNameCategoryA_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 448+nvtxGlobals_v3(%rip)
	je	.L216
	testb	%al, %al
	je	.L138
.L216:
	xorl	%r8d, %r8d
	movq	%r8, 448+nvtxGlobals_v3(%rip)
.L138:
	leaq	nvtxDomainNameCategoryW_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 456+nvtxGlobals_v3(%rip)
	je	.L217
	testb	%al, %al
	je	.L140
.L217:
	xorl	%edi, %edi
	movq	%rdi, 456+nvtxGlobals_v3(%rip)
.L140:
	leaq	nvtxDomainRegisterStringA_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 464+nvtxGlobals_v3(%rip)
	je	.L218
	testb	%al, %al
	je	.L142
.L218:
	xorl	%esi, %esi
	movq	%rsi, 464+nvtxGlobals_v3(%rip)
.L142:
	leaq	nvtxDomainRegisterStringW_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 472+nvtxGlobals_v3(%rip)
	je	.L219
	testb	%al, %al
	je	.L144
.L219:
	xorl	%ecx, %ecx
	movq	%rcx, 472+nvtxGlobals_v3(%rip)
.L144:
	leaq	nvtxDomainCreateA_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 480+nvtxGlobals_v3(%rip)
	je	.L220
	testb	%al, %al
	je	.L146
.L220:
	xorl	%edx, %edx
	movq	%rdx, 480+nvtxGlobals_v3(%rip)
.L146:
	leaq	nvtxDomainCreateW_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 488+nvtxGlobals_v3(%rip)
	je	.L221
	testb	%al, %al
	je	.L148
.L221:
	xorl	%r11d, %r11d
	movq	%r11, 488+nvtxGlobals_v3(%rip)
.L148:
	leaq	nvtxDomainDestroy_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 496+nvtxGlobals_v3(%rip)
	je	.L222
	testb	%al, %al
	je	.L150
.L222:
	xorl	%r10d, %r10d
	movq	%r10, 496+nvtxGlobals_v3(%rip)
.L150:
	leaq	nvtxInitialize_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 504+nvtxGlobals_v3(%rip)
	je	.L223
	testb	%al, %al
	je	.L152
.L223:
	xorl	%r9d, %r9d
	movq	%r9, 504+nvtxGlobals_v3(%rip)
.L152:
	leaq	nvtxDomainSyncUserCreate_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 512+nvtxGlobals_v3(%rip)
	je	.L224
	testb	%al, %al
	je	.L154
.L224:
	xorl	%r8d, %r8d
	movq	%r8, 512+nvtxGlobals_v3(%rip)
.L154:
	leaq	nvtxDomainSyncUserDestroy_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 520+nvtxGlobals_v3(%rip)
	je	.L225
	testb	%al, %al
	je	.L156
.L225:
	xorl	%edi, %edi
	movq	%rdi, 520+nvtxGlobals_v3(%rip)
.L156:
	leaq	nvtxDomainSyncUserAcquireStart_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 528+nvtxGlobals_v3(%rip)
	je	.L226
	testb	%al, %al
	je	.L158
.L226:
	xorl	%esi, %esi
	movq	%rsi, 528+nvtxGlobals_v3(%rip)
.L158:
	leaq	nvtxDomainSyncUserAcquireFailed_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 536+nvtxGlobals_v3(%rip)
	je	.L227
	testb	%al, %al
	je	.L160
.L227:
	xorl	%ecx, %ecx
	movq	%rcx, 536+nvtxGlobals_v3(%rip)
.L160:
	leaq	nvtxDomainSyncUserAcquireSuccess_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 544+nvtxGlobals_v3(%rip)
	je	.L228
	testb	%al, %al
	je	.L162
.L228:
	xorl	%edx, %edx
	movq	%rdx, 544+nvtxGlobals_v3(%rip)
.L162:
	leaq	nvtxDomainSyncUserReleasing_impl_init_v3(%rip), %rdx
	cmpq	%rdx, 552+nvtxGlobals_v3(%rip)
	je	.L229
	testb	%al, %al
	je	.L37
.L229:
	xorl	%eax, %eax
	movq	%rax, 552+nvtxGlobals_v3(%rip)
.L37:
	ret
	.cfi_endproc
.LFE8537:
	.size	nvtxSetInitFunctionsToNoops_v3, .-nvtxSetInitFunctionsToNoops_v3
	.section	.rodata.nvtxInitializeInjectionLibrary_v3.str1.1,"aMS",@progbits,1
.LC0:
	.string	"NVTX_INJECTION64_PATH"
.LC1:
	.string	"InitializeInjectionNvtx2"
	.section	.text.nvtxInitializeInjectionLibrary_v3,"axG",@progbits,nvtxInitializeInjectionLibrary_v3,comdat
	.weak	nvtxInitializeInjectionLibrary_v3
	.hidden	nvtxInitializeInjectionLibrary_v3
	.type	nvtxInitializeInjectionLibrary_v3, @function
nvtxInitializeInjectionLibrary_v3:
.LFB8538:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	.LC0(%rip), %rdi
	call	getenv@PLT
	movq	%rax, %rbx
	testq	%rax, %rax
	je	.L423
	movl	$1, %esi
	movq	%rax, %rdi
	call	dlopen@PLT
	movl	$4, %edx
	movq	%rax, %rbx
	testq	%rax, %rax
	je	.L422
	leaq	.LC1(%rip), %rsi
	movq	%rax, %rdi
	call	dlsym@PLT
	testq	%rax, %rax
	jne	.L425
	movq	%rbx, %rdi
	call	dlclose@PLT
	movl	$5, %edx
	jmp	.L422
.L423:
	movq	InitializeInjectionNvtx2_fnptr(%rip), %rax
	movl	$7, %edx
	testq	%rax, %rax
	je	.L422
.L425:
	leaq	nvtxGetExportTable_v3(%rip), %rdi
	call	*%rax
	xorl	%edx, %edx
	testl	%eax, %eax
	jne	.L422
	testq	%rbx, %rbx
	je	.L426
	movq	%rbx, %rdi
	call	dlclose@PLT
.L426:
	movl	$6, %edx
.L422:
	movl	%edx, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8538:
	.size	nvtxInitializeInjectionLibrary_v3, .-nvtxInitializeInjectionLibrary_v3
	.section	.text.nvtxInitOnce_v3,"axG",@progbits,nvtxInitOnce_v3,comdat
	.weak	nvtxInitOnce_v3
	.hidden	nvtxInitOnce_v3
	.type	nvtxInitOnce_v3, @function
nvtxInitOnce_v3:
.LFB8539:
	.cfi_startproc
	endbr64
	movl	nvtxGlobals_v3(%rip), %eax
	cmpl	$2, %eax
	je	.L442
	pushq	%rdx
	.cfi_def_cfa_offset 16
	movl	$1, %eax
	xorl	%edx, %edx
	mfence
	lock cmpxchgl	%edx, nvtxGlobals_v3(%rip)
	testl	%eax, %eax
	jne	.L445
	call	nvtxInitializeInjectionLibrary_v3
	xorl	%edi, %edi
	testl	%eax, %eax
	setne	%dil
	call	nvtxSetInitFunctionsToNoops_v3
	movl	$2, %eax
	mfence
	xchgl	nvtxGlobals_v3(%rip), %eax
	jmp	.L434
.L445:
	mfence
	movl	nvtxGlobals_v3(%rip), %eax
	cmpl	$2, %eax
	je	.L434
	call	sched_yield@PLT
	jmp	.L445
.L434:
	popq	%rax
	.cfi_def_cfa_offset 8
	ret
.L442:
	ret
	.cfi_endproc
.LFE8539:
	.size	nvtxInitOnce_v3, .-nvtxInitOnce_v3
	.section	.text.nvtxDomainSyncUserReleasing_impl_init_v3,"axG",@progbits,nvtxDomainSyncUserReleasing_impl_init_v3,comdat
	.weak	nvtxDomainSyncUserReleasing_impl_init_v3
	.hidden	nvtxDomainSyncUserReleasing_impl_init_v3
	.type	nvtxDomainSyncUserReleasing_impl_init_v3, @function
nvtxDomainSyncUserReleasing_impl_init_v3:
.LFB8536:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	call	nvtxInitOnce_v3
	movq	552+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L446
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L446:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8536:
	.size	nvtxDomainSyncUserReleasing_impl_init_v3, .-nvtxDomainSyncUserReleasing_impl_init_v3
	.section	.text.nvtxDomainSyncUserAcquireSuccess_impl_init_v3,"axG",@progbits,nvtxDomainSyncUserAcquireSuccess_impl_init_v3,comdat
	.weak	nvtxDomainSyncUserAcquireSuccess_impl_init_v3
	.hidden	nvtxDomainSyncUserAcquireSuccess_impl_init_v3
	.type	nvtxDomainSyncUserAcquireSuccess_impl_init_v3, @function
nvtxDomainSyncUserAcquireSuccess_impl_init_v3:
.LFB8535:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	call	nvtxInitOnce_v3
	movq	544+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L449
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L449:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8535:
	.size	nvtxDomainSyncUserAcquireSuccess_impl_init_v3, .-nvtxDomainSyncUserAcquireSuccess_impl_init_v3
	.section	.text.nvtxDomainSyncUserAcquireFailed_impl_init_v3,"axG",@progbits,nvtxDomainSyncUserAcquireFailed_impl_init_v3,comdat
	.weak	nvtxDomainSyncUserAcquireFailed_impl_init_v3
	.hidden	nvtxDomainSyncUserAcquireFailed_impl_init_v3
	.type	nvtxDomainSyncUserAcquireFailed_impl_init_v3, @function
nvtxDomainSyncUserAcquireFailed_impl_init_v3:
.LFB8534:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	call	nvtxInitOnce_v3
	movq	536+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L452
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L452:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8534:
	.size	nvtxDomainSyncUserAcquireFailed_impl_init_v3, .-nvtxDomainSyncUserAcquireFailed_impl_init_v3
	.section	.text.nvtxDomainSyncUserAcquireStart_impl_init_v3,"axG",@progbits,nvtxDomainSyncUserAcquireStart_impl_init_v3,comdat
	.weak	nvtxDomainSyncUserAcquireStart_impl_init_v3
	.hidden	nvtxDomainSyncUserAcquireStart_impl_init_v3
	.type	nvtxDomainSyncUserAcquireStart_impl_init_v3, @function
nvtxDomainSyncUserAcquireStart_impl_init_v3:
.LFB8533:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	call	nvtxInitOnce_v3
	movq	528+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L455
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L455:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8533:
	.size	nvtxDomainSyncUserAcquireStart_impl_init_v3, .-nvtxDomainSyncUserAcquireStart_impl_init_v3
	.section	.text.nvtxDomainSyncUserDestroy_impl_init_v3,"axG",@progbits,nvtxDomainSyncUserDestroy_impl_init_v3,comdat
	.weak	nvtxDomainSyncUserDestroy_impl_init_v3
	.hidden	nvtxDomainSyncUserDestroy_impl_init_v3
	.type	nvtxDomainSyncUserDestroy_impl_init_v3, @function
nvtxDomainSyncUserDestroy_impl_init_v3:
.LFB8532:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	call	nvtxInitOnce_v3
	movq	520+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L458
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L458:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8532:
	.size	nvtxDomainSyncUserDestroy_impl_init_v3, .-nvtxDomainSyncUserDestroy_impl_init_v3
	.section	.text.nvtxDomainSyncUserCreate_impl_init_v3,"axG",@progbits,nvtxDomainSyncUserCreate_impl_init_v3,comdat
	.weak	nvtxDomainSyncUserCreate_impl_init_v3
	.hidden	nvtxDomainSyncUserCreate_impl_init_v3
	.type	nvtxDomainSyncUserCreate_impl_init_v3, @function
nvtxDomainSyncUserCreate_impl_init_v3:
.LFB8531:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	512+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L462
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L462:
	.cfi_restore_state
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8531:
	.size	nvtxDomainSyncUserCreate_impl_init_v3, .-nvtxDomainSyncUserCreate_impl_init_v3
	.section	.text.nvtxInitialize_impl_init_v3,"axG",@progbits,nvtxInitialize_impl_init_v3,comdat
	.weak	nvtxInitialize_impl_init_v3
	.hidden	nvtxInitialize_impl_init_v3
	.type	nvtxInitialize_impl_init_v3, @function
nvtxInitialize_impl_init_v3:
.LFB8502:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	call	nvtxInitOnce_v3
	movq	504+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L464
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L464:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8502:
	.size	nvtxInitialize_impl_init_v3, .-nvtxInitialize_impl_init_v3
	.section	.text.nvtxDomainDestroy_impl_init_v3,"axG",@progbits,nvtxDomainDestroy_impl_init_v3,comdat
	.weak	nvtxDomainDestroy_impl_init_v3
	.hidden	nvtxDomainDestroy_impl_init_v3
	.type	nvtxDomainDestroy_impl_init_v3, @function
nvtxDomainDestroy_impl_init_v3:
.LFB8501:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	call	nvtxInitOnce_v3
	movq	496+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L467
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L467:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8501:
	.size	nvtxDomainDestroy_impl_init_v3, .-nvtxDomainDestroy_impl_init_v3
	.section	.text.nvtxDomainCreateW_impl_init_v3,"axG",@progbits,nvtxDomainCreateW_impl_init_v3,comdat
	.weak	nvtxDomainCreateW_impl_init_v3
	.hidden	nvtxDomainCreateW_impl_init_v3
	.type	nvtxDomainCreateW_impl_init_v3, @function
nvtxDomainCreateW_impl_init_v3:
.LFB8500:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	call	nvtxInitOnce_v3
	movq	488+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L471
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L471:
	.cfi_restore_state
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8500:
	.size	nvtxDomainCreateW_impl_init_v3, .-nvtxDomainCreateW_impl_init_v3
	.section	.text.nvtxDomainCreateA_impl_init_v3,"axG",@progbits,nvtxDomainCreateA_impl_init_v3,comdat
	.weak	nvtxDomainCreateA_impl_init_v3
	.hidden	nvtxDomainCreateA_impl_init_v3
	.type	nvtxDomainCreateA_impl_init_v3, @function
nvtxDomainCreateA_impl_init_v3:
.LFB8499:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	call	nvtxInitOnce_v3
	movq	480+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L474
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L474:
	.cfi_restore_state
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8499:
	.size	nvtxDomainCreateA_impl_init_v3, .-nvtxDomainCreateA_impl_init_v3
	.section	.text.nvtxDomainRegisterStringW_impl_init_v3,"axG",@progbits,nvtxDomainRegisterStringW_impl_init_v3,comdat
	.weak	nvtxDomainRegisterStringW_impl_init_v3
	.hidden	nvtxDomainRegisterStringW_impl_init_v3
	.type	nvtxDomainRegisterStringW_impl_init_v3, @function
nvtxDomainRegisterStringW_impl_init_v3:
.LFB8498:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	472+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L477
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L477:
	.cfi_restore_state
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8498:
	.size	nvtxDomainRegisterStringW_impl_init_v3, .-nvtxDomainRegisterStringW_impl_init_v3
	.section	.text.nvtxDomainRegisterStringA_impl_init_v3,"axG",@progbits,nvtxDomainRegisterStringA_impl_init_v3,comdat
	.weak	nvtxDomainRegisterStringA_impl_init_v3
	.hidden	nvtxDomainRegisterStringA_impl_init_v3
	.type	nvtxDomainRegisterStringA_impl_init_v3, @function
nvtxDomainRegisterStringA_impl_init_v3:
.LFB8497:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	464+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L480
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L480:
	.cfi_restore_state
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8497:
	.size	nvtxDomainRegisterStringA_impl_init_v3, .-nvtxDomainRegisterStringA_impl_init_v3
	.section	.text.nvtxDomainNameCategoryW_impl_init_v3,"axG",@progbits,nvtxDomainNameCategoryW_impl_init_v3,comdat
	.weak	nvtxDomainNameCategoryW_impl_init_v3
	.hidden	nvtxDomainNameCategoryW_impl_init_v3
	.type	nvtxDomainNameCategoryW_impl_init_v3, @function
nvtxDomainNameCategoryW_impl_init_v3:
.LFB8496:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	movq	%rdi, 24(%rsp)
	movl	%esi, 20(%rsp)
	movq	%rdx, 8(%rsp)
	call	nvtxInitOnce_v3
	movq	456+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L482
	movq	8(%rsp), %rdx
	movl	20(%rsp), %esi
	movq	24(%rsp), %rdi
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L482:
	.cfi_restore_state
	addq	$40, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8496:
	.size	nvtxDomainNameCategoryW_impl_init_v3, .-nvtxDomainNameCategoryW_impl_init_v3
	.section	.text.nvtxDomainNameCategoryA_impl_init_v3,"axG",@progbits,nvtxDomainNameCategoryA_impl_init_v3,comdat
	.weak	nvtxDomainNameCategoryA_impl_init_v3
	.hidden	nvtxDomainNameCategoryA_impl_init_v3
	.type	nvtxDomainNameCategoryA_impl_init_v3, @function
nvtxDomainNameCategoryA_impl_init_v3:
.LFB8495:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	movq	%rdi, 24(%rsp)
	movl	%esi, 20(%rsp)
	movq	%rdx, 8(%rsp)
	call	nvtxInitOnce_v3
	movq	448+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L485
	movq	8(%rsp), %rdx
	movl	20(%rsp), %esi
	movq	24(%rsp), %rdi
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L485:
	.cfi_restore_state
	addq	$40, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8495:
	.size	nvtxDomainNameCategoryA_impl_init_v3, .-nvtxDomainNameCategoryA_impl_init_v3
	.section	.text.nvtxDomainResourceDestroy_impl_init_v3,"axG",@progbits,nvtxDomainResourceDestroy_impl_init_v3,comdat
	.weak	nvtxDomainResourceDestroy_impl_init_v3
	.hidden	nvtxDomainResourceDestroy_impl_init_v3
	.type	nvtxDomainResourceDestroy_impl_init_v3, @function
nvtxDomainResourceDestroy_impl_init_v3:
.LFB8494:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	call	nvtxInitOnce_v3
	movq	440+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L488
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L488:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8494:
	.size	nvtxDomainResourceDestroy_impl_init_v3, .-nvtxDomainResourceDestroy_impl_init_v3
	.section	.text.nvtxDomainResourceCreate_impl_init_v3,"axG",@progbits,nvtxDomainResourceCreate_impl_init_v3,comdat
	.weak	nvtxDomainResourceCreate_impl_init_v3
	.hidden	nvtxDomainResourceCreate_impl_init_v3
	.type	nvtxDomainResourceCreate_impl_init_v3, @function
nvtxDomainResourceCreate_impl_init_v3:
.LFB8493:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	432+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L492
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L492:
	.cfi_restore_state
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8493:
	.size	nvtxDomainResourceCreate_impl_init_v3, .-nvtxDomainResourceCreate_impl_init_v3
	.section	.text.nvtxDomainRangePop_impl_init_v3,"axG",@progbits,nvtxDomainRangePop_impl_init_v3,comdat
	.weak	nvtxDomainRangePop_impl_init_v3
	.hidden	nvtxDomainRangePop_impl_init_v3
	.type	nvtxDomainRangePop_impl_init_v3, @function
nvtxDomainRangePop_impl_init_v3:
.LFB8492:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	call	nvtxInitOnce_v3
	movq	424+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L495
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L495:
	.cfi_restore_state
	movl	$-2, %eax
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8492:
	.size	nvtxDomainRangePop_impl_init_v3, .-nvtxDomainRangePop_impl_init_v3
	.section	.text.nvtxDomainRangePushEx_impl_init_v3,"axG",@progbits,nvtxDomainRangePushEx_impl_init_v3,comdat
	.weak	nvtxDomainRangePushEx_impl_init_v3
	.hidden	nvtxDomainRangePushEx_impl_init_v3
	.type	nvtxDomainRangePushEx_impl_init_v3, @function
nvtxDomainRangePushEx_impl_init_v3:
.LFB8491:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	416+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L498
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L498:
	.cfi_restore_state
	movl	$-2, %eax
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8491:
	.size	nvtxDomainRangePushEx_impl_init_v3, .-nvtxDomainRangePushEx_impl_init_v3
	.section	.text.nvtxDomainRangeEnd_impl_init_v3,"axG",@progbits,nvtxDomainRangeEnd_impl_init_v3,comdat
	.weak	nvtxDomainRangeEnd_impl_init_v3
	.hidden	nvtxDomainRangeEnd_impl_init_v3
	.type	nvtxDomainRangeEnd_impl_init_v3, @function
nvtxDomainRangeEnd_impl_init_v3:
.LFB8490:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	408+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L500
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L500:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8490:
	.size	nvtxDomainRangeEnd_impl_init_v3, .-nvtxDomainRangeEnd_impl_init_v3
	.section	.text.nvtxDomainRangeStartEx_impl_init_v3,"axG",@progbits,nvtxDomainRangeStartEx_impl_init_v3,comdat
	.weak	nvtxDomainRangeStartEx_impl_init_v3
	.hidden	nvtxDomainRangeStartEx_impl_init_v3
	.type	nvtxDomainRangeStartEx_impl_init_v3, @function
nvtxDomainRangeStartEx_impl_init_v3:
.LFB8489:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	400+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L504
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L504:
	.cfi_restore_state
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8489:
	.size	nvtxDomainRangeStartEx_impl_init_v3, .-nvtxDomainRangeStartEx_impl_init_v3
	.section	.text.nvtxDomainMarkEx_impl_init_v3,"axG",@progbits,nvtxDomainMarkEx_impl_init_v3,comdat
	.weak	nvtxDomainMarkEx_impl_init_v3
	.hidden	nvtxDomainMarkEx_impl_init_v3
	.type	nvtxDomainMarkEx_impl_init_v3, @function
nvtxDomainMarkEx_impl_init_v3:
.LFB8488:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	392+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L506
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L506:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8488:
	.size	nvtxDomainMarkEx_impl_init_v3, .-nvtxDomainMarkEx_impl_init_v3
	.section	.text.nvtxNameCudaEventW_impl_init_v3,"axG",@progbits,nvtxNameCudaEventW_impl_init_v3,comdat
	.weak	nvtxNameCudaEventW_impl_init_v3
	.hidden	nvtxNameCudaEventW_impl_init_v3
	.type	nvtxNameCudaEventW_impl_init_v3, @function
nvtxNameCudaEventW_impl_init_v3:
.LFB8516:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	384+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L509
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L509:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8516:
	.size	nvtxNameCudaEventW_impl_init_v3, .-nvtxNameCudaEventW_impl_init_v3
	.section	.text.nvtxNameCudaEventA_impl_init_v3,"axG",@progbits,nvtxNameCudaEventA_impl_init_v3,comdat
	.weak	nvtxNameCudaEventA_impl_init_v3
	.hidden	nvtxNameCudaEventA_impl_init_v3
	.type	nvtxNameCudaEventA_impl_init_v3, @function
nvtxNameCudaEventA_impl_init_v3:
.LFB8515:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	376+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L512
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L512:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8515:
	.size	nvtxNameCudaEventA_impl_init_v3, .-nvtxNameCudaEventA_impl_init_v3
	.section	.text.nvtxNameCudaStreamW_impl_init_v3,"axG",@progbits,nvtxNameCudaStreamW_impl_init_v3,comdat
	.weak	nvtxNameCudaStreamW_impl_init_v3
	.hidden	nvtxNameCudaStreamW_impl_init_v3
	.type	nvtxNameCudaStreamW_impl_init_v3, @function
nvtxNameCudaStreamW_impl_init_v3:
.LFB8514:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	368+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L515
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L515:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8514:
	.size	nvtxNameCudaStreamW_impl_init_v3, .-nvtxNameCudaStreamW_impl_init_v3
	.section	.text.nvtxNameCudaStreamA_impl_init_v3,"axG",@progbits,nvtxNameCudaStreamA_impl_init_v3,comdat
	.weak	nvtxNameCudaStreamA_impl_init_v3
	.hidden	nvtxNameCudaStreamA_impl_init_v3
	.type	nvtxNameCudaStreamA_impl_init_v3, @function
nvtxNameCudaStreamA_impl_init_v3:
.LFB8513:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	360+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L518
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L518:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8513:
	.size	nvtxNameCudaStreamA_impl_init_v3, .-nvtxNameCudaStreamA_impl_init_v3
	.section	.text.nvtxNameCudaDeviceW_impl_init_v3,"axG",@progbits,nvtxNameCudaDeviceW_impl_init_v3,comdat
	.weak	nvtxNameCudaDeviceW_impl_init_v3
	.hidden	nvtxNameCudaDeviceW_impl_init_v3
	.type	nvtxNameCudaDeviceW_impl_init_v3, @function
nvtxNameCudaDeviceW_impl_init_v3:
.LFB8512:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movl	%edi, 12(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	352+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L521
	movq	(%rsp), %rsi
	movl	12(%rsp), %edi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L521:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8512:
	.size	nvtxNameCudaDeviceW_impl_init_v3, .-nvtxNameCudaDeviceW_impl_init_v3
	.section	.text.nvtxNameCudaDeviceA_impl_init_v3,"axG",@progbits,nvtxNameCudaDeviceA_impl_init_v3,comdat
	.weak	nvtxNameCudaDeviceA_impl_init_v3
	.hidden	nvtxNameCudaDeviceA_impl_init_v3
	.type	nvtxNameCudaDeviceA_impl_init_v3, @function
nvtxNameCudaDeviceA_impl_init_v3:
.LFB8511:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movl	%edi, 12(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	344+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L524
	movq	(%rsp), %rsi
	movl	12(%rsp), %edi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L524:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8511:
	.size	nvtxNameCudaDeviceA_impl_init_v3, .-nvtxNameCudaDeviceA_impl_init_v3
	.section	.text.nvtxNameClEventW_impl_init_v3,"axG",@progbits,nvtxNameClEventW_impl_init_v3,comdat
	.weak	nvtxNameClEventW_impl_init_v3
	.hidden	nvtxNameClEventW_impl_init_v3
	.type	nvtxNameClEventW_impl_init_v3, @function
nvtxNameClEventW_impl_init_v3:
.LFB8530:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	336+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L527
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L527:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8530:
	.size	nvtxNameClEventW_impl_init_v3, .-nvtxNameClEventW_impl_init_v3
	.section	.text.nvtxNameClEventA_impl_init_v3,"axG",@progbits,nvtxNameClEventA_impl_init_v3,comdat
	.weak	nvtxNameClEventA_impl_init_v3
	.hidden	nvtxNameClEventA_impl_init_v3
	.type	nvtxNameClEventA_impl_init_v3, @function
nvtxNameClEventA_impl_init_v3:
.LFB8529:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	328+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L530
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L530:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8529:
	.size	nvtxNameClEventA_impl_init_v3, .-nvtxNameClEventA_impl_init_v3
	.section	.text.nvtxNameClProgramW_impl_init_v3,"axG",@progbits,nvtxNameClProgramW_impl_init_v3,comdat
	.weak	nvtxNameClProgramW_impl_init_v3
	.hidden	nvtxNameClProgramW_impl_init_v3
	.type	nvtxNameClProgramW_impl_init_v3, @function
nvtxNameClProgramW_impl_init_v3:
.LFB8528:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	320+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L533
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L533:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8528:
	.size	nvtxNameClProgramW_impl_init_v3, .-nvtxNameClProgramW_impl_init_v3
	.section	.text.nvtxNameClProgramA_impl_init_v3,"axG",@progbits,nvtxNameClProgramA_impl_init_v3,comdat
	.weak	nvtxNameClProgramA_impl_init_v3
	.hidden	nvtxNameClProgramA_impl_init_v3
	.type	nvtxNameClProgramA_impl_init_v3, @function
nvtxNameClProgramA_impl_init_v3:
.LFB8527:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	312+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L536
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L536:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8527:
	.size	nvtxNameClProgramA_impl_init_v3, .-nvtxNameClProgramA_impl_init_v3
	.section	.text.nvtxNameClSamplerW_impl_init_v3,"axG",@progbits,nvtxNameClSamplerW_impl_init_v3,comdat
	.weak	nvtxNameClSamplerW_impl_init_v3
	.hidden	nvtxNameClSamplerW_impl_init_v3
	.type	nvtxNameClSamplerW_impl_init_v3, @function
nvtxNameClSamplerW_impl_init_v3:
.LFB8526:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	304+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L539
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L539:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8526:
	.size	nvtxNameClSamplerW_impl_init_v3, .-nvtxNameClSamplerW_impl_init_v3
	.section	.text.nvtxNameClSamplerA_impl_init_v3,"axG",@progbits,nvtxNameClSamplerA_impl_init_v3,comdat
	.weak	nvtxNameClSamplerA_impl_init_v3
	.hidden	nvtxNameClSamplerA_impl_init_v3
	.type	nvtxNameClSamplerA_impl_init_v3, @function
nvtxNameClSamplerA_impl_init_v3:
.LFB8525:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	296+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L542
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L542:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8525:
	.size	nvtxNameClSamplerA_impl_init_v3, .-nvtxNameClSamplerA_impl_init_v3
	.section	.text.nvtxNameClMemObjectW_impl_init_v3,"axG",@progbits,nvtxNameClMemObjectW_impl_init_v3,comdat
	.weak	nvtxNameClMemObjectW_impl_init_v3
	.hidden	nvtxNameClMemObjectW_impl_init_v3
	.type	nvtxNameClMemObjectW_impl_init_v3, @function
nvtxNameClMemObjectW_impl_init_v3:
.LFB8524:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	288+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L545
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L545:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8524:
	.size	nvtxNameClMemObjectW_impl_init_v3, .-nvtxNameClMemObjectW_impl_init_v3
	.section	.text.nvtxNameClMemObjectA_impl_init_v3,"axG",@progbits,nvtxNameClMemObjectA_impl_init_v3,comdat
	.weak	nvtxNameClMemObjectA_impl_init_v3
	.hidden	nvtxNameClMemObjectA_impl_init_v3
	.type	nvtxNameClMemObjectA_impl_init_v3, @function
nvtxNameClMemObjectA_impl_init_v3:
.LFB8523:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	280+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L548
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L548:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8523:
	.size	nvtxNameClMemObjectA_impl_init_v3, .-nvtxNameClMemObjectA_impl_init_v3
	.section	.text.nvtxNameClCommandQueueW_impl_init_v3,"axG",@progbits,nvtxNameClCommandQueueW_impl_init_v3,comdat
	.weak	nvtxNameClCommandQueueW_impl_init_v3
	.hidden	nvtxNameClCommandQueueW_impl_init_v3
	.type	nvtxNameClCommandQueueW_impl_init_v3, @function
nvtxNameClCommandQueueW_impl_init_v3:
.LFB8522:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	272+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L551
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L551:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8522:
	.size	nvtxNameClCommandQueueW_impl_init_v3, .-nvtxNameClCommandQueueW_impl_init_v3
	.section	.text.nvtxNameClCommandQueueA_impl_init_v3,"axG",@progbits,nvtxNameClCommandQueueA_impl_init_v3,comdat
	.weak	nvtxNameClCommandQueueA_impl_init_v3
	.hidden	nvtxNameClCommandQueueA_impl_init_v3
	.type	nvtxNameClCommandQueueA_impl_init_v3, @function
nvtxNameClCommandQueueA_impl_init_v3:
.LFB8521:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	264+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L554
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L554:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8521:
	.size	nvtxNameClCommandQueueA_impl_init_v3, .-nvtxNameClCommandQueueA_impl_init_v3
	.section	.text.nvtxNameClContextW_impl_init_v3,"axG",@progbits,nvtxNameClContextW_impl_init_v3,comdat
	.weak	nvtxNameClContextW_impl_init_v3
	.hidden	nvtxNameClContextW_impl_init_v3
	.type	nvtxNameClContextW_impl_init_v3, @function
nvtxNameClContextW_impl_init_v3:
.LFB8520:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	256+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L557
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L557:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8520:
	.size	nvtxNameClContextW_impl_init_v3, .-nvtxNameClContextW_impl_init_v3
	.section	.text.nvtxNameClContextA_impl_init_v3,"axG",@progbits,nvtxNameClContextA_impl_init_v3,comdat
	.weak	nvtxNameClContextA_impl_init_v3
	.hidden	nvtxNameClContextA_impl_init_v3
	.type	nvtxNameClContextA_impl_init_v3, @function
nvtxNameClContextA_impl_init_v3:
.LFB8519:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	248+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L560
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L560:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8519:
	.size	nvtxNameClContextA_impl_init_v3, .-nvtxNameClContextA_impl_init_v3
	.section	.text.nvtxNameClDeviceW_impl_init_v3,"axG",@progbits,nvtxNameClDeviceW_impl_init_v3,comdat
	.weak	nvtxNameClDeviceW_impl_init_v3
	.hidden	nvtxNameClDeviceW_impl_init_v3
	.type	nvtxNameClDeviceW_impl_init_v3, @function
nvtxNameClDeviceW_impl_init_v3:
.LFB8518:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	240+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L563
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L563:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8518:
	.size	nvtxNameClDeviceW_impl_init_v3, .-nvtxNameClDeviceW_impl_init_v3
	.section	.text.nvtxNameClDeviceA_impl_init_v3,"axG",@progbits,nvtxNameClDeviceA_impl_init_v3,comdat
	.weak	nvtxNameClDeviceA_impl_init_v3
	.hidden	nvtxNameClDeviceA_impl_init_v3
	.type	nvtxNameClDeviceA_impl_init_v3, @function
nvtxNameClDeviceA_impl_init_v3:
.LFB8517:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	232+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L566
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L566:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8517:
	.size	nvtxNameClDeviceA_impl_init_v3, .-nvtxNameClDeviceA_impl_init_v3
	.section	.text.nvtxNameCuEventW_impl_init_v3,"axG",@progbits,nvtxNameCuEventW_impl_init_v3,comdat
	.weak	nvtxNameCuEventW_impl_init_v3
	.hidden	nvtxNameCuEventW_impl_init_v3
	.type	nvtxNameCuEventW_impl_init_v3, @function
nvtxNameCuEventW_impl_init_v3:
.LFB8510:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	224+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L569
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L569:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8510:
	.size	nvtxNameCuEventW_impl_init_v3, .-nvtxNameCuEventW_impl_init_v3
	.section	.text.nvtxNameCuEventA_impl_init_v3,"axG",@progbits,nvtxNameCuEventA_impl_init_v3,comdat
	.weak	nvtxNameCuEventA_impl_init_v3
	.hidden	nvtxNameCuEventA_impl_init_v3
	.type	nvtxNameCuEventA_impl_init_v3, @function
nvtxNameCuEventA_impl_init_v3:
.LFB8509:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	216+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L572
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L572:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8509:
	.size	nvtxNameCuEventA_impl_init_v3, .-nvtxNameCuEventA_impl_init_v3
	.section	.text.nvtxNameCuStreamW_impl_init_v3,"axG",@progbits,nvtxNameCuStreamW_impl_init_v3,comdat
	.weak	nvtxNameCuStreamW_impl_init_v3
	.hidden	nvtxNameCuStreamW_impl_init_v3
	.type	nvtxNameCuStreamW_impl_init_v3, @function
nvtxNameCuStreamW_impl_init_v3:
.LFB8508:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	208+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L575
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L575:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8508:
	.size	nvtxNameCuStreamW_impl_init_v3, .-nvtxNameCuStreamW_impl_init_v3
	.section	.text.nvtxNameCuStreamA_impl_init_v3,"axG",@progbits,nvtxNameCuStreamA_impl_init_v3,comdat
	.weak	nvtxNameCuStreamA_impl_init_v3
	.hidden	nvtxNameCuStreamA_impl_init_v3
	.type	nvtxNameCuStreamA_impl_init_v3, @function
nvtxNameCuStreamA_impl_init_v3:
.LFB8507:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	200+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L578
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L578:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8507:
	.size	nvtxNameCuStreamA_impl_init_v3, .-nvtxNameCuStreamA_impl_init_v3
	.section	.text.nvtxNameCuContextW_impl_init_v3,"axG",@progbits,nvtxNameCuContextW_impl_init_v3,comdat
	.weak	nvtxNameCuContextW_impl_init_v3
	.hidden	nvtxNameCuContextW_impl_init_v3
	.type	nvtxNameCuContextW_impl_init_v3, @function
nvtxNameCuContextW_impl_init_v3:
.LFB8506:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	192+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L581
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L581:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8506:
	.size	nvtxNameCuContextW_impl_init_v3, .-nvtxNameCuContextW_impl_init_v3
	.section	.text.nvtxNameCuContextA_impl_init_v3,"axG",@progbits,nvtxNameCuContextA_impl_init_v3,comdat
	.weak	nvtxNameCuContextA_impl_init_v3
	.hidden	nvtxNameCuContextA_impl_init_v3
	.type	nvtxNameCuContextA_impl_init_v3, @function
nvtxNameCuContextA_impl_init_v3:
.LFB8505:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	184+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L584
	movq	(%rsp), %rsi
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L584:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8505:
	.size	nvtxNameCuContextA_impl_init_v3, .-nvtxNameCuContextA_impl_init_v3
	.section	.text.nvtxNameCuDeviceW_impl_init_v3,"axG",@progbits,nvtxNameCuDeviceW_impl_init_v3,comdat
	.weak	nvtxNameCuDeviceW_impl_init_v3
	.hidden	nvtxNameCuDeviceW_impl_init_v3
	.type	nvtxNameCuDeviceW_impl_init_v3, @function
nvtxNameCuDeviceW_impl_init_v3:
.LFB8504:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movl	%edi, 12(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	176+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L587
	movq	(%rsp), %rsi
	movl	12(%rsp), %edi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L587:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8504:
	.size	nvtxNameCuDeviceW_impl_init_v3, .-nvtxNameCuDeviceW_impl_init_v3
	.section	.text.nvtxNameCuDeviceA_impl_init_v3,"axG",@progbits,nvtxNameCuDeviceA_impl_init_v3,comdat
	.weak	nvtxNameCuDeviceA_impl_init_v3
	.hidden	nvtxNameCuDeviceA_impl_init_v3
	.type	nvtxNameCuDeviceA_impl_init_v3, @function
nvtxNameCuDeviceA_impl_init_v3:
.LFB8503:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movl	%edi, 12(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	168+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L590
	movq	(%rsp), %rsi
	movl	12(%rsp), %edi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L590:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8503:
	.size	nvtxNameCuDeviceA_impl_init_v3, .-nvtxNameCuDeviceA_impl_init_v3
	.section	.text.nvtxNameOsThreadW_impl_init_v3,"axG",@progbits,nvtxNameOsThreadW_impl_init_v3,comdat
	.weak	nvtxNameOsThreadW_impl_init_v3
	.hidden	nvtxNameOsThreadW_impl_init_v3
	.type	nvtxNameOsThreadW_impl_init_v3, @function
nvtxNameOsThreadW_impl_init_v3:
.LFB8487:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movl	%edi, 12(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	160+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L593
	movq	(%rsp), %rsi
	movl	12(%rsp), %edi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L593:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8487:
	.size	nvtxNameOsThreadW_impl_init_v3, .-nvtxNameOsThreadW_impl_init_v3
	.section	.text.nvtxNameOsThreadA_impl_init_v3,"axG",@progbits,nvtxNameOsThreadA_impl_init_v3,comdat
	.weak	nvtxNameOsThreadA_impl_init_v3
	.hidden	nvtxNameOsThreadA_impl_init_v3
	.type	nvtxNameOsThreadA_impl_init_v3, @function
nvtxNameOsThreadA_impl_init_v3:
.LFB8486:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movl	%edi, 12(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	152+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L596
	movq	(%rsp), %rsi
	movl	12(%rsp), %edi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L596:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8486:
	.size	nvtxNameOsThreadA_impl_init_v3, .-nvtxNameOsThreadA_impl_init_v3
	.section	.text.nvtxNameCategoryW_impl_init_v3,"axG",@progbits,nvtxNameCategoryW_impl_init_v3,comdat
	.weak	nvtxNameCategoryW_impl_init_v3
	.hidden	nvtxNameCategoryW_impl_init_v3
	.type	nvtxNameCategoryW_impl_init_v3, @function
nvtxNameCategoryW_impl_init_v3:
.LFB8485:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movl	%edi, 12(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	144+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L599
	movq	(%rsp), %rsi
	movl	12(%rsp), %edi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L599:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8485:
	.size	nvtxNameCategoryW_impl_init_v3, .-nvtxNameCategoryW_impl_init_v3
	.section	.text.nvtxNameCategoryA_impl_init_v3,"axG",@progbits,nvtxNameCategoryA_impl_init_v3,comdat
	.weak	nvtxNameCategoryA_impl_init_v3
	.hidden	nvtxNameCategoryA_impl_init_v3
	.type	nvtxNameCategoryA_impl_init_v3, @function
nvtxNameCategoryA_impl_init_v3:
.LFB8484:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movl	%edi, 12(%rsp)
	movq	%rsi, (%rsp)
	call	nvtxInitOnce_v3
	movq	136+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L602
	movq	(%rsp), %rsi
	movl	12(%rsp), %edi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L602:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8484:
	.size	nvtxNameCategoryA_impl_init_v3, .-nvtxNameCategoryA_impl_init_v3
	.section	.text.nvtxRangePop_impl_init_v3,"axG",@progbits,nvtxRangePop_impl_init_v3,comdat
	.weak	nvtxRangePop_impl_init_v3
	.hidden	nvtxRangePop_impl_init_v3
	.type	nvtxRangePop_impl_init_v3, @function
nvtxRangePop_impl_init_v3:
.LFB8483:
	.cfi_startproc
	endbr64
	pushq	%rsi
	.cfi_def_cfa_offset 16
	call	nvtxInitOnce_v3
	movq	128+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L606
	popq	%rcx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L606:
	.cfi_restore_state
	movl	$-2, %eax
	popq	%rdx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8483:
	.size	nvtxRangePop_impl_init_v3, .-nvtxRangePop_impl_init_v3
	.section	.text.nvtxRangePushW_impl_init_v3,"axG",@progbits,nvtxRangePushW_impl_init_v3,comdat
	.weak	nvtxRangePushW_impl_init_v3
	.hidden	nvtxRangePushW_impl_init_v3
	.type	nvtxRangePushW_impl_init_v3, @function
nvtxRangePushW_impl_init_v3:
.LFB8482:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	call	nvtxInitOnce_v3
	movq	120+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L609
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L609:
	.cfi_restore_state
	movl	$-2, %eax
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8482:
	.size	nvtxRangePushW_impl_init_v3, .-nvtxRangePushW_impl_init_v3
	.section	.text.nvtxRangePushA_impl_init_v3,"axG",@progbits,nvtxRangePushA_impl_init_v3,comdat
	.weak	nvtxRangePushA_impl_init_v3
	.hidden	nvtxRangePushA_impl_init_v3
	.type	nvtxRangePushA_impl_init_v3, @function
nvtxRangePushA_impl_init_v3:
.LFB8481:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	call	nvtxInitOnce_v3
	movq	112+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L612
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L612:
	.cfi_restore_state
	movl	$-2, %eax
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8481:
	.size	nvtxRangePushA_impl_init_v3, .-nvtxRangePushA_impl_init_v3
	.section	.text.nvtxRangePushEx_impl_init_v3,"axG",@progbits,nvtxRangePushEx_impl_init_v3,comdat
	.weak	nvtxRangePushEx_impl_init_v3
	.hidden	nvtxRangePushEx_impl_init_v3
	.type	nvtxRangePushEx_impl_init_v3, @function
nvtxRangePushEx_impl_init_v3:
.LFB8480:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	call	nvtxInitOnce_v3
	movq	104+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L615
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L615:
	.cfi_restore_state
	movl	$-2, %eax
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8480:
	.size	nvtxRangePushEx_impl_init_v3, .-nvtxRangePushEx_impl_init_v3
	.section	.text.nvtxRangeEnd_impl_init_v3,"axG",@progbits,nvtxRangeEnd_impl_init_v3,comdat
	.weak	nvtxRangeEnd_impl_init_v3
	.hidden	nvtxRangeEnd_impl_init_v3
	.type	nvtxRangeEnd_impl_init_v3, @function
nvtxRangeEnd_impl_init_v3:
.LFB8479:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	call	nvtxInitOnce_v3
	movq	96+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L617
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L617:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8479:
	.size	nvtxRangeEnd_impl_init_v3, .-nvtxRangeEnd_impl_init_v3
	.section	.text.nvtxRangeStartW_impl_init_v3,"axG",@progbits,nvtxRangeStartW_impl_init_v3,comdat
	.weak	nvtxRangeStartW_impl_init_v3
	.hidden	nvtxRangeStartW_impl_init_v3
	.type	nvtxRangeStartW_impl_init_v3, @function
nvtxRangeStartW_impl_init_v3:
.LFB8478:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	call	nvtxInitOnce_v3
	movq	88+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L621
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L621:
	.cfi_restore_state
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8478:
	.size	nvtxRangeStartW_impl_init_v3, .-nvtxRangeStartW_impl_init_v3
	.section	.text.nvtxRangeStartA_impl_init_v3,"axG",@progbits,nvtxRangeStartA_impl_init_v3,comdat
	.weak	nvtxRangeStartA_impl_init_v3
	.hidden	nvtxRangeStartA_impl_init_v3
	.type	nvtxRangeStartA_impl_init_v3, @function
nvtxRangeStartA_impl_init_v3:
.LFB8477:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	call	nvtxInitOnce_v3
	movq	80+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L624
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L624:
	.cfi_restore_state
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8477:
	.size	nvtxRangeStartA_impl_init_v3, .-nvtxRangeStartA_impl_init_v3
	.section	.text.nvtxRangeStartEx_impl_init_v3,"axG",@progbits,nvtxRangeStartEx_impl_init_v3,comdat
	.weak	nvtxRangeStartEx_impl_init_v3
	.hidden	nvtxRangeStartEx_impl_init_v3
	.type	nvtxRangeStartEx_impl_init_v3, @function
nvtxRangeStartEx_impl_init_v3:
.LFB8476:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	call	nvtxInitOnce_v3
	movq	72+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L627
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L627:
	.cfi_restore_state
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8476:
	.size	nvtxRangeStartEx_impl_init_v3, .-nvtxRangeStartEx_impl_init_v3
	.section	.text.nvtxMarkW_impl_init_v3,"axG",@progbits,nvtxMarkW_impl_init_v3,comdat
	.weak	nvtxMarkW_impl_init_v3
	.hidden	nvtxMarkW_impl_init_v3
	.type	nvtxMarkW_impl_init_v3, @function
nvtxMarkW_impl_init_v3:
.LFB8475:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	call	nvtxInitOnce_v3
	movq	64+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L629
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L629:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8475:
	.size	nvtxMarkW_impl_init_v3, .-nvtxMarkW_impl_init_v3
	.section	.text.nvtxMarkA_impl_init_v3,"axG",@progbits,nvtxMarkA_impl_init_v3,comdat
	.weak	nvtxMarkA_impl_init_v3
	.hidden	nvtxMarkA_impl_init_v3
	.type	nvtxMarkA_impl_init_v3, @function
nvtxMarkA_impl_init_v3:
.LFB8474:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	call	nvtxInitOnce_v3
	movq	56+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L632
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L632:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8474:
	.size	nvtxMarkA_impl_init_v3, .-nvtxMarkA_impl_init_v3
	.section	.text.nvtxMarkEx_impl_init_v3,"axG",@progbits,nvtxMarkEx_impl_init_v3,comdat
	.weak	nvtxMarkEx_impl_init_v3
	.hidden	nvtxMarkEx_impl_init_v3
	.type	nvtxMarkEx_impl_init_v3, @function
nvtxMarkEx_impl_init_v3:
.LFB8473:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rdi, 8(%rsp)
	call	nvtxInitOnce_v3
	movq	48+nvtxGlobals_v3(%rip), %rax
	testq	%rax, %rax
	je	.L635
	movq	8(%rsp), %rdi
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	*%rax
.L635:
	.cfi_restore_state
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE8473:
	.size	nvtxMarkEx_impl_init_v3, .-nvtxMarkEx_impl_init_v3
	.section	.rodata._ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.str1.1,"aMS",@progbits,1
.LC2:
	.string	"basic_string::append"
.LC3:
	.string	": "
	.section	.text._ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE,"axG",@progbits,_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocC5ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE,comdat
	.align 2
	.weak	_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
	.type	_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE, @function
_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE:
.LFB9536:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA9536
	endbr64
	leaq	16+_ZTVN6thrust20THRUST_200700_890_NS6system6detail9bad_allocE(%rip), %rax
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xorl	%ecx, %ecx
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%rsi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leaq	8(%rdi), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movq	%rdi, %rbx
	pushq	%rdx
	.cfi_def_cfa_offset 48
	movq	%rax, (%rdi)
	leaq	24(%rdi), %rax
	movq	%rcx, 16(%rdi)
	movq	%rax, 8(%rdi)
	movb	$0, 24(%rdi)
	call	_ZNKSt9bad_alloc4whatEv@PLT
	movq	%rax, %rdi
	movq	%rax, %r13
	call	strlen@PLT
	movq	16(%rbx), %rdx
	movq	%r13, %rcx
	xorl	%esi, %esi
	movq	%rax, %r8
	movq	%rbp, %rdi
.LEHB0:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm@PLT
	movabsq	$4611686018427387903, %rax
	subq	16(%rbx), %rax
	cmpq	$1, %rax
	ja	.L639
	leaq	.LC2(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L639:
	movl	$2, %edx
	leaq	.LC3(%rip), %rsi
	movq	%rbp, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm@PLT
	movq	8(%r12), %rdx
	movq	(%r12), %rsi
	movabsq	$4611686018427387903, %rax
	subq	16(%rbx), %rax
	cmpq	%rdx, %rax
	jnb	.L640
	leaq	.LC2(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L640:
	movq	%rbp, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm@PLT
.LEHE0:
	popq	%rax
	.cfi_remember_state
	.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
.L642:
	.cfi_restore_state
	endbr64
	movq	%rax, %r12
.L641:
	movq	%rbp, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	%rbx, %rdi
	call	_ZNSt9bad_allocD2Ev@PLT
	movq	%r12, %rdi
.LEHB1:
	call	_Unwind_Resume@PLT
.LEHE1:
	.cfi_endproc
.LFE9536:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table._ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE,"aG",@progbits,_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocC5ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE,comdat
.LLSDA9536:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE9536-.LLSDACSB9536
.LLSDACSB9536:
	.uleb128 .LEHB0-.LFB9536
	.uleb128 .LEHE0-.LEHB0
	.uleb128 .L642-.LFB9536
	.uleb128 0
	.uleb128 .LEHB1-.LFB9536
	.uleb128 .LEHE1-.LEHB1
	.uleb128 0
	.uleb128 0
.LLSDACSE9536:
	.section	.text._ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE,"axG",@progbits,_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocC5ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE,comdat
	.size	_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE, .-_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
	.weak	_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
	.set	_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE,_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
	.text
	.globl	_Z41__device_stub__Z15computeGradientPfPiS_jjPfPiS_jj
	.type	_Z41__device_stub__Z15computeGradientPfPiS_jjPfPiS_jj, @function
_Z41__device_stub__Z15computeGradientPfPiS_jjPfPiS_jj:
.LFB11856:
	.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	.L645
	pushq	40(%rsp)
	.cfi_def_cfa_offset 168
	leaq	_Z15computeGradientPfPiS_jj(%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
.L645:
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	je	.L647
	call	__stack_chk_fail@PLT
.L647:
	addq	$152, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE11856:
	.size	_Z41__device_stub__Z15computeGradientPfPiS_jjPfPiS_jj, .-_Z41__device_stub__Z15computeGradientPfPiS_jjPfPiS_jj
	.globl	_Z15computeGradientPfPiS_jj
	.type	_Z15computeGradientPfPiS_jj, @function
_Z15computeGradientPfPiS_jj:
.LFB11857:
	.cfi_startproc
	endbr64
	jmp	_Z41__device_stub__Z15computeGradientPfPiS_jjPfPiS_jj
	.cfi_endproc
.LFE11857:
	.size	_Z15computeGradientPfPiS_jj, .-_Z15computeGradientPfPiS_jj
	.globl	_Z49__device_stub__Z13computeBinHOGPfS_PiS0_S_S0_jjjjPfS_PiS0_S_S0_jjjj
	.type	_Z49__device_stub__Z13computeBinHOGPfS_PiS0_S_S0_jjjjPfS_PiS0_S_S0_jjjj, @function
_Z49__device_stub__Z13computeBinHOGPfS_PiS0_S_S0_jjjjPfS_PiS0_S_S0_jjjj:
.LFB11858:
	.cfi_startproc
	endbr64
	subq	$216, %rsp
	.cfi_def_cfa_offset 224
	movq	%rdi, 40(%rsp)
	leaq	72(%rsp), %rdi
	movq	%rsi, 32(%rsp)
	leaq	84(%rsp), %rsi
	movq	%rdx, 24(%rsp)
	leaq	56(%rsp), %rdx
	movq	%rcx, 16(%rsp)
	leaq	64(%rsp), %rcx
	movq	%r8, 8(%rsp)
	movq	%r9, (%rsp)
	movq	%fs:40, %rax
	movq	%rax, 200(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rax
	movl	$1, 80(%rsp)
	movq	%rax, 120(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 128(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 136(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 144(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 152(%rsp)
	movq	%rsp, %rax
	movq	%rax, 160(%rsp)
	leaq	224(%rsp), %rax
	movq	%rax, 168(%rsp)
	leaq	232(%rsp), %rax
	movq	%rax, 176(%rsp)
	leaq	240(%rsp), %rax
	movq	%rax, 184(%rsp)
	leaq	248(%rsp), %rax
	movq	%rax, 192(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 72(%rsp)
	movq	%rax, 84(%rsp)
	movl	$1, 92(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L650
	pushq	64(%rsp)
	.cfi_def_cfa_offset 232
	leaq	_Z13computeBinHOGPfS_PiS0_S_S0_jjjj(%rip), %rdi
	pushq	64(%rsp)
	.cfi_def_cfa_offset 240
	movq	100(%rsp), %rcx
	movl	108(%rsp), %r8d
	movq	88(%rsp), %rsi
	movl	96(%rsp), %edx
	leaq	136(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 232
	popq	%rdx
	.cfi_def_cfa_offset 224
.L650:
	movq	200(%rsp), %rax
	subq	%fs:40, %rax
	je	.L652
	call	__stack_chk_fail@PLT
.L652:
	addq	$216, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE11858:
	.size	_Z49__device_stub__Z13computeBinHOGPfS_PiS0_S_S0_jjjjPfS_PiS0_S_S0_jjjj, .-_Z49__device_stub__Z13computeBinHOGPfS_PiS0_S_S0_jjjjPfS_PiS0_S_S0_jjjj
	.globl	_Z13computeBinHOGPfS_PiS0_S_S0_jjjj
	.type	_Z13computeBinHOGPfS_PiS0_S_S0_jjjj, @function
_Z13computeBinHOGPfS_PiS0_S_S0_jjjj:
.LFB11859:
	.cfi_startproc
	endbr64
	jmp	_Z49__device_stub__Z13computeBinHOGPfS_PiS0_S_S0_jjjjPfS_PiS0_S_S0_jjjj
	.cfi_endproc
.LFE11859:
	.size	_Z13computeBinHOGPfS_PiS0_S_S0_jjjj, .-_Z13computeBinHOGPfS_PiS0_S_S0_jjjj
	.globl	_Z47__device_stub__Z16computeBinHOGTarPfPiS_S0_jjjjPfPiS_S0_jjjj
	.type	_Z47__device_stub__Z16computeBinHOGTarPfPiS_S0_jjjjPfPiS_S0_jjjj, @function
_Z47__device_stub__Z16computeBinHOGTarPfPiS_S0_jjjjPfPiS_S0_jjjj:
.LFB11860:
	.cfi_startproc
	endbr64
	subq	$200, %rsp
	.cfi_def_cfa_offset 208
	movq	%rdi, 40(%rsp)
	leaq	72(%rsp), %rdi
	movq	%rsi, 32(%rsp)
	leaq	84(%rsp), %rsi
	movq	%rdx, 24(%rsp)
	leaq	56(%rsp), %rdx
	movq	%rcx, 16(%rsp)
	leaq	64(%rsp), %rcx
	movl	%r8d, 12(%rsp)
	movl	%r9d, 8(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 184(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rax
	movl	$1, 80(%rsp)
	movq	%rax, 120(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 128(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 136(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 144(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 152(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 160(%rsp)
	leaq	208(%rsp), %rax
	movq	%rax, 168(%rsp)
	leaq	216(%rsp), %rax
	movq	%rax, 176(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 72(%rsp)
	movq	%rax, 84(%rsp)
	movl	$1, 92(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L655
	pushq	64(%rsp)
	.cfi_def_cfa_offset 216
	leaq	_Z16computeBinHOGTarPfPiS_S0_jjjj(%rip), %rdi
	pushq	64(%rsp)
	.cfi_def_cfa_offset 224
	movq	100(%rsp), %rcx
	movl	108(%rsp), %r8d
	movq	88(%rsp), %rsi
	movl	96(%rsp), %edx
	leaq	136(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 216
	popq	%rdx
	.cfi_def_cfa_offset 208
.L655:
	movq	184(%rsp), %rax
	subq	%fs:40, %rax
	je	.L657
	call	__stack_chk_fail@PLT
.L657:
	addq	$200, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE11860:
	.size	_Z47__device_stub__Z16computeBinHOGTarPfPiS_S0_jjjjPfPiS_S0_jjjj, .-_Z47__device_stub__Z16computeBinHOGTarPfPiS_S0_jjjjPfPiS_S0_jjjj
	.globl	_Z16computeBinHOGTarPfPiS_S0_jjjj
	.type	_Z16computeBinHOGTarPfPiS_S0_jjjj, @function
_Z16computeBinHOGTarPfPiS_S0_jjjj:
.LFB11861:
	.cfi_startproc
	endbr64
	jmp	_Z47__device_stub__Z16computeBinHOGTarPfPiS_S0_jjjjPfPiS_S0_jjjj
	.cfi_endproc
.LFE11861:
	.size	_Z16computeBinHOGTarPfPiS_S0_jjjj, .-_Z16computeBinHOGTarPfPiS_S0_jjjj
	.globl	_Z41__device_stub__Z15computeDistancePfS_S_jjPfS_S_jj
	.type	_Z41__device_stub__Z15computeDistancePfS_S_jjPfS_S_jj, @function
_Z41__device_stub__Z15computeDistancePfS_S_jjPfS_S_jj:
.LFB11862:
	.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	.L660
	pushq	40(%rsp)
	.cfi_def_cfa_offset 168
	leaq	_Z15computeDistancePfS_S_jj(%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
.L660:
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	je	.L662
	call	__stack_chk_fail@PLT
.L662:
	addq	$152, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE11862:
	.size	_Z41__device_stub__Z15computeDistancePfS_S_jjPfS_S_jj, .-_Z41__device_stub__Z15computeDistancePfS_S_jjPfS_S_jj
	.globl	_Z15computeDistancePfS_S_jj
	.type	_Z15computeDistancePfS_S_jj, @function
_Z15computeDistancePfS_S_jj:
.LFB11863:
	.cfi_startproc
	endbr64
	jmp	_Z41__device_stub__Z15computeDistancePfS_S_jjPfS_S_jj
	.cfi_endproc
.LFE11863:
	.size	_Z15computeDistancePfS_S_jj, .-_Z15computeDistancePfS_S_jj
	.globl	_Z36__device_stub__Z4votePfS_S_PiS0_jjjjPfS_S_PiS0_jjjj
	.type	_Z36__device_stub__Z4votePfS_S_PiS0_jjjjPfS_S_PiS0_jjjj, @function
_Z36__device_stub__Z4votePfS_S_PiS0_jjjjPfS_S_PiS0_jjjj:
.LFB11864:
	.cfi_startproc
	endbr64
	subq	$200, %rsp
	.cfi_def_cfa_offset 208
	movq	%rdi, 40(%rsp)
	leaq	64(%rsp), %rdi
	movq	%rsi, 32(%rsp)
	leaq	76(%rsp), %rsi
	movq	%rdx, 24(%rsp)
	leaq	48(%rsp), %rdx
	movq	%rcx, 16(%rsp)
	leaq	56(%rsp), %rcx
	movq	%r8, 8(%rsp)
	movl	%r9d, 4(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 184(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rax
	movl	$1, 72(%rsp)
	movq	%rax, 112(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 120(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 128(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 136(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 144(%rsp)
	leaq	4(%rsp), %rax
	movq	%rax, 152(%rsp)
	leaq	208(%rsp), %rax
	movq	%rax, 160(%rsp)
	leaq	216(%rsp), %rax
	movq	%rax, 168(%rsp)
	leaq	224(%rsp), %rax
	movq	%rax, 176(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 64(%rsp)
	movq	%rax, 76(%rsp)
	movl	$1, 84(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L665
	pushq	56(%rsp)
	.cfi_def_cfa_offset 216
	leaq	_Z4votePfS_S_PiS0_jjjj(%rip), %rdi
	pushq	56(%rsp)
	.cfi_def_cfa_offset 224
	movq	92(%rsp), %rcx
	movl	100(%rsp), %r8d
	movq	80(%rsp), %rsi
	movl	88(%rsp), %edx
	leaq	128(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 216
	popq	%rdx
	.cfi_def_cfa_offset 208
.L665:
	movq	184(%rsp), %rax
	subq	%fs:40, %rax
	je	.L667
	call	__stack_chk_fail@PLT
.L667:
	addq	$200, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE11864:
	.size	_Z36__device_stub__Z4votePfS_S_PiS0_jjjjPfS_S_PiS0_jjjj, .-_Z36__device_stub__Z4votePfS_S_PiS0_jjjjPfS_S_PiS0_jjjj
	.globl	_Z4votePfS_S_PiS0_jjjj
	.type	_Z4votePfS_S_PiS0_jjjj, @function
_Z4votePfS_S_PiS0_jjjj:
.LFB11865:
	.cfi_startproc
	endbr64
	jmp	_Z36__device_stub__Z4votePfS_S_PiS0_jjjjPfS_S_PiS0_jjjj
	.cfi_endproc
.LFE11865:
	.size	_Z4votePfS_S_PiS0_jjjj, .-_Z4votePfS_S_PiS0_jjjj
	.globl	_Z37__device_stub__Z17genGaussianFilterPfPf
	.type	_Z37__device_stub__Z17genGaussianFilterPfPf, @function
_Z37__device_stub__Z17genGaussianFilterPfPf:
.LFB11866:
	.cfi_startproc
	endbr64
	subq	$104, %rsp
	.cfi_def_cfa_offset 112
	movq	%rdi, 8(%rsp)
	leaq	24(%rsp), %rcx
	leaq	16(%rsp), %rdx
	leaq	44(%rsp), %rsi
	leaq	32(%rsp), %rdi
	movq	%fs:40, %rax
	movq	%rax, 88(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rax
	movl	$1, 40(%rsp)
	movq	%rax, 80(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 32(%rsp)
	movq	%rax, 44(%rsp)
	movl	$1, 52(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L670
	pushq	24(%rsp)
	.cfi_def_cfa_offset 120
	leaq	_Z17genGaussianFilterPf(%rip), %rdi
	pushq	24(%rsp)
	.cfi_def_cfa_offset 128
	movq	60(%rsp), %rcx
	movl	68(%rsp), %r8d
	movq	48(%rsp), %rsi
	movl	56(%rsp), %edx
	leaq	96(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 120
	popq	%rdx
	.cfi_def_cfa_offset 112
.L670:
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	je	.L672
	call	__stack_chk_fail@PLT
.L672:
	addq	$104, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE11866:
	.size	_Z37__device_stub__Z17genGaussianFilterPfPf, .-_Z37__device_stub__Z17genGaussianFilterPfPf
	.globl	_Z17genGaussianFilterPf
	.type	_Z17genGaussianFilterPf, @function
_Z17genGaussianFilterPf:
.LFB11867:
	.cfi_startproc
	endbr64
	jmp	_Z37__device_stub__Z17genGaussianFilterPfPf
	.cfi_endproc
.LFE11867:
	.size	_Z17genGaussianFilterPf, .-_Z17genGaussianFilterPf
	.globl	_Z40__device_stub__Z14gaussianFilterPfS_S_jjPfS_S_jj
	.type	_Z40__device_stub__Z14gaussianFilterPfS_S_jjPfS_S_jj, @function
_Z40__device_stub__Z14gaussianFilterPfS_S_jjPfS_S_jj:
.LFB11868:
	.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	.L675
	pushq	40(%rsp)
	.cfi_def_cfa_offset 168
	leaq	_Z14gaussianFilterPfS_S_jj(%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
.L675:
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	je	.L677
	call	__stack_chk_fail@PLT
.L677:
	addq	$152, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE11868:
	.size	_Z40__device_stub__Z14gaussianFilterPfS_S_jjPfS_S_jj, .-_Z40__device_stub__Z14gaussianFilterPfS_S_jjPfS_S_jj
	.globl	_Z14gaussianFilterPfS_S_jj
	.type	_Z14gaussianFilterPfS_S_jj, @function
_Z14gaussianFilterPfS_S_jj:
.LFB11869:
	.cfi_startproc
	endbr64
	jmp	_Z40__device_stub__Z14gaussianFilterPfS_S_jjPfS_S_jj
	.cfi_endproc
.LFE11869:
	.size	_Z14gaussianFilterPfS_S_jj, .-_Z14gaussianFilterPfS_S_jj
	.globl	_Z38__device_stub__Z13detectMaximalPfS_jjfPfS_jjf
	.type	_Z38__device_stub__Z13detectMaximalPfS_jjfPfS_jjf, @function
_Z38__device_stub__Z13detectMaximalPfS_jjfPfS_jjf:
.LFB11870:
	.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
	movl	%edx, 12(%rsp)
	leaq	32(%rsp), %rdx
	movl	%ecx, 8(%rsp)
	leaq	40(%rsp), %rcx
	movss	%xmm0, 4(%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	12(%rsp), %rax
	movq	%rax, 112(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 120(%rsp)
	leaq	4(%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	.L680
	pushq	40(%rsp)
	.cfi_def_cfa_offset 168
	leaq	_Z13detectMaximalPfS_jjf(%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
.L680:
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	je	.L682
	call	__stack_chk_fail@PLT
.L682:
	addq	$152, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE11870:
	.size	_Z38__device_stub__Z13detectMaximalPfS_jjfPfS_jjf, .-_Z38__device_stub__Z13detectMaximalPfS_jjfPfS_jjf
	.globl	_Z13detectMaximalPfS_jjf
	.type	_Z13detectMaximalPfS_jjf, @function
_Z13detectMaximalPfS_jjf:
.LFB11871:
	.cfi_startproc
	endbr64
	jmp	_Z38__device_stub__Z13detectMaximalPfS_jjfPfS_jjf
	.cfi_endproc
.LFE11871:
	.size	_Z13detectMaximalPfS_jjf, .-_Z13detectMaximalPfS_jjf
	.globl	_Z38__device_stub__Z16computeThresholdPfS_PfS_
	.type	_Z38__device_stub__Z16computeThresholdPfS_PfS_, @function
_Z38__device_stub__Z16computeThresholdPfS_PfS_:
.LFB11872:
	.cfi_startproc
	endbr64
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rdi, 8(%rsp)
	leaq	32(%rsp), %rcx
	leaq	24(%rsp), %rdx
	movq	%rsi, (%rsp)
	leaq	40(%rsp), %rdi
	leaq	52(%rsp), %rsi
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rax
	movl	$1, 48(%rsp)
	movq	%rax, 88(%rsp)
	movq	%rsp, %rax
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 40(%rsp)
	movq	%rax, 52(%rsp)
	movl	$1, 60(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L685
	pushq	32(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z16computeThresholdPfS_(%rip), %rdi
	pushq	32(%rsp)
	.cfi_def_cfa_offset 144
	movq	68(%rsp), %rcx
	movl	76(%rsp), %r8d
	movq	56(%rsp), %rsi
	movl	64(%rsp), %edx
	leaq	104(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L685:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L687
	call	__stack_chk_fail@PLT
.L687:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE11872:
	.size	_Z38__device_stub__Z16computeThresholdPfS_PfS_, .-_Z38__device_stub__Z16computeThresholdPfS_PfS_
	.globl	_Z16computeThresholdPfS_
	.type	_Z16computeThresholdPfS_, @function
_Z16computeThresholdPfS_:
.LFB11873:
	.cfi_startproc
	endbr64
	jmp	_Z38__device_stub__Z16computeThresholdPfS_PfS_
	.cfi_endproc
.LFE11873:
	.size	_Z16computeThresholdPfS_, .-_Z16computeThresholdPfS_
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC4:
	.string	"_ZN3cub17CUB_200700_890_NS11EmptyKernelIvEEvv"
.LC5:
	.string	"_Z16computeThresholdPfS_"
.LC6:
	.string	"_Z13detectMaximalPfS_jjf"
.LC7:
	.string	"_Z14gaussianFilterPfS_S_jj"
.LC8:
	.string	"_Z17genGaussianFilterPf"
.LC9:
	.string	"_Z4votePfS_S_PiS0_jjjj"
.LC10:
	.string	"_Z15computeDistancePfS_S_jj"
.LC11:
	.string	"_Z16computeBinHOGTarPfPiS_S0_jjjj"
.LC12:
	.string	"_Z13computeBinHOGPfS_PiS0_S_S0_jjjj"
.LC13:
	.string	"_Z15computeGradientPfPiS_jj"
.LC14:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std3__45__cpo5beginE"
.LC15:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std3__45__cpo3endE"
.LC16:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std3__45__cpo6cbeginE"
.LC17:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std3__45__cpo4cendE"
.LC18:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std3__45__cpo6rbeginE"
.LC19:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std3__45__cpo4rendE"
.LC20:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std3__45__cpo7crbeginE"
.LC21:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std3__45__cpo5crendE"
.LC22:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std3__438_GLOBAL__N__69514e12_6_hog_cu_e954d3836ignoreE"
.LC23:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std3__419piecewise_constructE"
.LC24:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std3__48in_placeE"
.LC25:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std3__47nulloptE"
.LC26:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std3__420unreachable_sentinelE"
.LC27:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std6ranges3__45__cpo4swapE"
.LC28:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std6ranges3__45__cpo9iter_moveE"
.LC29:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std6ranges3__45__cpo7advanceE"
.LC30:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std6ranges3__45__cpo5beginE"
.LC31:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std6ranges3__45__cpo3endE"
.LC32:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std6ranges3__45__cpo6cbeginE"
.LC33:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std6ranges3__45__cpo4cendE"
.LC34:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std6ranges3__45__cpo9iter_swapE"
.LC35:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std6ranges3__45__cpo4nextE"
.LC36:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std6ranges3__45__cpo4prevE"
.LC37:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std6ranges3__45__cpo4dataE"
.LC38:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std6ranges3__45__cpo5cdataE"
.LC39:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std6ranges3__45__cpo4sizeE"
.LC40:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std6ranges3__45__cpo5ssizeE"
.LC41:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3834cuda3std6ranges3__45__cpo8distanceE"
.LC42:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3836thrust20THRUST_200700_890_NS8cuda_cub3parE"
.LC43:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3836thrust20THRUST_200700_890_NS8cuda_cub10par_nosyncE"
.LC44:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3836thrust20THRUST_200700_890_NS6system6detail10sequential3seqE"
.LC45:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3836thrust20THRUST_200700_890_NS6system3cpp3parE"
.LC46:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3836thrust20THRUST_200700_890_NS12placeholders2_1E"
.LC47:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3836thrust20THRUST_200700_890_NS12placeholders2_2E"
.LC48:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3836thrust20THRUST_200700_890_NS12placeholders2_3E"
.LC49:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3836thrust20THRUST_200700_890_NS12placeholders2_4E"
.LC50:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3836thrust20THRUST_200700_890_NS12placeholders2_5E"
.LC51:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3836thrust20THRUST_200700_890_NS12placeholders2_6E"
.LC52:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3836thrust20THRUST_200700_890_NS12placeholders2_7E"
.LC53:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3836thrust20THRUST_200700_890_NS12placeholders2_8E"
.LC54:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3836thrust20THRUST_200700_890_NS12placeholders2_9E"
.LC55:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3836thrust20THRUST_200700_890_NS12placeholders3_10E"
.LC56:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3836thrust20THRUST_200700_890_NS3seqE"
.LC57:
	.string	"_ZN36_INTERNAL_69514e12_6_hog_cu_e954d3836thrust20THRUST_200700_890_NS6deviceE"
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB11877:
	.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	.LC4(%rip), %rdx
	movq	%rax, %rdi
	movq	%rax, %rbx
	pushq	$0
	.cfi_def_cfa_offset 40
	movq	%rdx, %rcx
	leaq	_ZN3cub17CUB_200700_890_NS11EmptyKernelIvEEvv(%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
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC5(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z16computeThresholdPfS_(%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
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC6(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z13detectMaximalPfS_jjf(%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
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC7(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z14gaussianFilterPfS_S_jj(%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
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC8(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z17genGaussianFilterPf(%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
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC9(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z4votePfS_S_PiS0_jjjj(%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
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC10(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z15computeDistancePfS_S_jj(%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
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC11(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z16computeBinHOGTarPfPiS_S0_jjjj(%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
	leaq	.LC12(%rip), %rdx
	pushq	$0
	.cfi_def_cfa_offset 24
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	_Z13computeBinHOGPfS_PiS0_S_S0_jjjj(%rip), %rsi
	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
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC13(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z15computeGradientPfPiS_jj(%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
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC14(%rip), %rdx
	movl	$1, %r9d
	leaq	_ZN4cuda3std3__45__cpo5beginE(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	call	__cudaRegisterVar@PLT
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rdx
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC15(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std3__45__cpo3endE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rcx
	.cfi_def_cfa_offset 24
	popq	%rsi
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC16(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std3__45__cpo6cbeginE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rdi
	.cfi_def_cfa_offset 24
	popq	%r8
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC17(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std3__45__cpo4cendE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%r9
	.cfi_def_cfa_offset 24
	popq	%r10
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC18(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std3__45__cpo6rbeginE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%r11
	.cfi_def_cfa_offset 24
	popq	%rax
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC19(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std3__45__cpo4rendE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rdx
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC20(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std3__45__cpo7crbeginE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rcx
	.cfi_def_cfa_offset 24
	popq	%rsi
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC21(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std3__45__cpo5crendE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rdi
	.cfi_def_cfa_offset 24
	popq	%r8
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC22(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std3__438_GLOBAL__N__69514e12_6_hog_cu_e954d3836ignoreE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%r9
	.cfi_def_cfa_offset 24
	popq	%r10
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC23(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std3__419piecewise_constructE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%r11
	.cfi_def_cfa_offset 24
	popq	%rax
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC24(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std3__48in_placeE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rdx
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC25(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std3__47nulloptE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rcx
	.cfi_def_cfa_offset 24
	popq	%rsi
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC26(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std3__420unreachable_sentinelE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rdi
	.cfi_def_cfa_offset 24
	popq	%r8
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC27(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std6ranges3__45__cpo4swapE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%r9
	.cfi_def_cfa_offset 24
	popq	%r10
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC28(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std6ranges3__45__cpo9iter_moveE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%r11
	.cfi_def_cfa_offset 24
	popq	%rax
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC29(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std6ranges3__45__cpo7advanceE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rdx
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC30(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std6ranges3__45__cpo5beginE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rcx
	.cfi_def_cfa_offset 24
	popq	%rsi
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC31(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std6ranges3__45__cpo3endE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rdi
	.cfi_def_cfa_offset 24
	popq	%r8
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC32(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std6ranges3__45__cpo6cbeginE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%r9
	.cfi_def_cfa_offset 24
	popq	%r10
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC33(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std6ranges3__45__cpo4cendE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%r11
	.cfi_def_cfa_offset 24
	popq	%rax
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC34(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std6ranges3__45__cpo9iter_swapE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rdx
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC35(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std6ranges3__45__cpo4nextE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rcx
	.cfi_def_cfa_offset 24
	popq	%rsi
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC36(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std6ranges3__45__cpo4prevE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rdi
	.cfi_def_cfa_offset 24
	popq	%r8
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC37(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std6ranges3__45__cpo4dataE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%r9
	.cfi_def_cfa_offset 24
	popq	%r10
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC38(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std6ranges3__45__cpo5cdataE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%r11
	.cfi_def_cfa_offset 24
	popq	%rax
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC39(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std6ranges3__45__cpo4sizeE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rdx
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC40(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std6ranges3__45__cpo5ssizeE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rcx
	.cfi_def_cfa_offset 24
	popq	%rsi
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC41(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN4cuda3std6ranges3__45__cpo8distanceE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rdi
	.cfi_def_cfa_offset 24
	popq	%r8
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC42(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN6thrust20THRUST_200700_890_NS8cuda_cubL3parE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%r9
	.cfi_def_cfa_offset 24
	popq	%r10
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC43(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN6thrust20THRUST_200700_890_NS8cuda_cubL10par_nosyncE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%r11
	.cfi_def_cfa_offset 24
	popq	%rax
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC44(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN6thrust20THRUST_200700_890_NS6system6detail10sequentialL3seqE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rdx
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC45(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN6thrust20THRUST_200700_890_NS6system3cppL3parE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rcx
	.cfi_def_cfa_offset 24
	popq	%rsi
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC46(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_1E(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rdi
	.cfi_def_cfa_offset 24
	popq	%r8
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC47(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_2E(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%r9
	.cfi_def_cfa_offset 24
	popq	%r10
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC48(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_3E(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%r11
	.cfi_def_cfa_offset 24
	popq	%rax
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC49(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_4E(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rdx
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC50(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_5E(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rcx
	.cfi_def_cfa_offset 24
	popq	%rsi
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC51(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_6E(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rdi
	.cfi_def_cfa_offset 24
	popq	%r8
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC52(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_7E(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%r9
	.cfi_def_cfa_offset 24
	popq	%r10
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC53(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_8E(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%r11
	.cfi_def_cfa_offset 24
	popq	%rax
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC54(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_9E(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rdx
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC55(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN6thrust20THRUST_200700_890_NS12placeholdersL3_10E(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rcx
	.cfi_def_cfa_offset 24
	popq	%rsi
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC56(%rip), %rdx
	xorl	%r8d, %r8d
	movq	%rbx, %rdi
	movq	%rdx, %rcx
	movl	$1, %r9d
	leaq	_ZN6thrust20THRUST_200700_890_NSL3seqE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rdi
	.cfi_def_cfa_offset 24
	popq	%r8
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC57(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	movl	$1, %r9d
	movq	%rdx, %rcx
	leaq	_ZN6thrust20THRUST_200700_890_NSL6deviceE(%rip), %rsi
	call	__cudaRegisterVar@PLT
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	popq	%r9
	.cfi_def_cfa_offset 24
	popq	%r10
	.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
.LFE11877:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.text._ZN6thrust20THRUST_200700_890_NS20iterator_core_access11dereferenceINS0_6detail15normal_iteratorINS0_7pointerIfNS0_6system3cpp6detail3tagENS0_11use_defaultESA_EEEEEENT_9referenceERKSD_,"axG",@progbits,_ZN6thrust20THRUST_200700_890_NS20iterator_core_access11dereferenceINS0_6detail15normal_iteratorINS0_7pointerIfNS0_6system3cpp6detail3tagENS0_11use_defaultESA_EEEEEENT_9referenceERKSD_,comdat
	.weak	_ZN6thrust20THRUST_200700_890_NS20iterator_core_access11dereferenceINS0_6detail15normal_iteratorINS0_7pointerIfNS0_6system3cpp6detail3tagENS0_11use_defaultESA_EEEEEENT_9referenceERKSD_
	.type	_ZN6thrust20THRUST_200700_890_NS20iterator_core_access11dereferenceINS0_6detail15normal_iteratorINS0_7pointerIfNS0_6system3cpp6detail3tagENS0_11use_defaultESA_EEEEEENT_9referenceERKSD_, @function
_ZN6thrust20THRUST_200700_890_NS20iterator_core_access11dereferenceINS0_6detail15normal_iteratorINS0_7pointerIfNS0_6system3cpp6detail3tagENS0_11use_defaultESA_EEEEEENT_9referenceERKSD_:
.LFB13113:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	ret
	.cfi_endproc
.LFE13113:
	.size	_ZN6thrust20THRUST_200700_890_NS20iterator_core_access11dereferenceINS0_6detail15normal_iteratorINS0_7pointerIfNS0_6system3cpp6detail3tagENS0_11use_defaultESA_EEEEEENT_9referenceERKSD_, .-_ZN6thrust20THRUST_200700_890_NS20iterator_core_access11dereferenceINS0_6detail15normal_iteratorINS0_7pointerIfNS0_6system3cpp6detail3tagENS0_11use_defaultESA_EEEEEENT_9referenceERKSD_
	.section	.text._ZN6thrust20THRUST_200700_890_NS4copyINS0_6system3cpp6detail3tagENS0_6detail15normal_iteratorINS0_7pointerIfS5_NS0_11use_defaultES9_EEEEPfEET1_RKNS6_21execution_policy_baseIT_EET0_SJ_SD_.isra.0,"axG",@progbits,_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17stable_radix_sortINS1_3cpp6detail3tagEPfEEvRNS3_16execution_policyIT_EET0_SD_,comdat
	.type	_ZN6thrust20THRUST_200700_890_NS4copyINS0_6system3cpp6detail3tagENS0_6detail15normal_iteratorINS0_7pointerIfS5_NS0_11use_defaultES9_EEEEPfEET1_RKNS6_21execution_policy_baseIT_EET0_SJ_SD_.isra.0, @function
_ZN6thrust20THRUST_200700_890_NS4copyINS0_6system3cpp6detail3tagENS0_6detail15normal_iteratorINS0_7pointerIfS5_NS0_11use_defaultES9_EEEEPfEET1_RKNS6_21execution_policy_baseIT_EET0_SJ_SD_.isra.0:
.LFB14150:
	.cfi_startproc
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rdx, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rsi, %rbx
	subq	%rdi, %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	movq	%rdi, (%rsp)
	movq	%rsp, %rdi
	call	_ZN6thrust20THRUST_200700_890_NS20iterator_core_access11dereferenceINS0_6detail15normal_iteratorINS0_7pointerIfNS0_6system3cpp6detail3tagENS0_11use_defaultESA_EEEEEENT_9referenceERKSD_
	testq	%rbx, %rbx
	je	.L693
	movq	%rax, %rsi
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L698
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movq	%rbx, %rdx
	movq	%rbp, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	jmp	memmove@PLT
.L693:
	.cfi_restore_state
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	je	.L696
.L698:
	call	__stack_chk_fail@PLT
.L696:
	addq	$24, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE14150:
	.size	_ZN6thrust20THRUST_200700_890_NS4copyINS0_6system3cpp6detail3tagENS0_6detail15normal_iteratorINS0_7pointerIfS5_NS0_11use_defaultES9_EEEEPfEET1_RKNS6_21execution_policy_baseIT_EET0_SJ_SD_.isra.0, .-_ZN6thrust20THRUST_200700_890_NS4copyINS0_6system3cpp6detail3tagENS0_6detail15normal_iteratorINS0_7pointerIfS5_NS0_11use_defaultES9_EEEEPfEET1_RKNS6_21execution_policy_baseIT_EET0_SJ_SD_.isra.0
	.section	.text._ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail14bucket_functorILj8EfEclEf,"axG",@progbits,_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail14bucket_functorILj8EfEclEf,comdat
	.align 2
	.weak	_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail14bucket_functorILj8EfEclEf
	.type	_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail14bucket_functorILj8EfEclEf, @function
_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail14bucket_functorILj8EfEclEf:
.LFB14077:
	.cfi_startproc
	endbr64
	movd	%xmm0, %edx
	movl	4(%rdi), %ecx
	movl	%edx, %eax
	sarl	$31, %eax
	orl	$-2147483648, %eax
	xorl	%edx, %eax
	movq	8(%rdi), %rdx
	shrl	%cl, %eax
	movzbl	%al, %eax
	leaq	(%rdx,%rax,8), %rdx
	movq	(%rdx), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, (%rdx)
	ret
	.cfi_endproc
.LFE14077:
	.size	_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail14bucket_functorILj8EfEclEf, .-_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail14bucket_functorILj8EfEclEf
	.section	.text._ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail10radix_sortILj8ELb0ENS1_3cpp6detail3tagEPfNS0_6detail15normal_iteratorINS0_7pointerIfS8_NS0_11use_defaultESD_EEEEPiSG_EEvRNS3_16execution_policyIT1_EET2_T3_T4_T5_m.isra.0,"axG",@progbits,_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17stable_radix_sortINS1_3cpp6detail3tagEPfEEvRNS3_16execution_policyIT_EET0_SD_,comdat
	.type	_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail10radix_sortILj8ELb0ENS1_3cpp6detail3tagEPfNS0_6detail15normal_iteratorINS0_7pointerIfS8_NS0_11use_defaultESD_EEEEPiSG_EEvRNS3_16execution_policyIT1_EET2_T3_T4_T5_m.isra.0, @function
_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail10radix_sortILj8ELb0ENS1_3cpp6detail3tagEPfNS0_6detail15normal_iteratorINS0_7pointerIfS8_NS0_11use_defaultESD_EEEEPiSG_EEvRNS3_16execution_policyIT1_EET2_T3_T4_T5_m.isra.0:
.LFB14154:
	.cfi_startproc
	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
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4152
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 8248
	orq	$0, (%rsp)
	subq	$232, %rsp
	.cfi_def_cfa_offset 8480
	movl	$2048, %ecx
	movq	%fs:40, %rax
	movq	%rax, 8408(%rsp)
	xorl	%eax, %eax
	movq	%rdi, %r13
	leaq	216(%rsp), %rdi
	movq	%rsi, %r12
	movq	%rdx, %rbx
	rep stosl
	xorl	%eax, %eax
	xorl	%edi, %edi
	movl	%eax, 212(%rsp)
	leaq	216(%rsp), %rax
	movq	%rax, (%rsp)
.L701:
	cmpq	%rbx, %rdi
	je	.L724
	movl	0(%r13,%rdi,4), %eax
	xorl	%edx, %edx
	movl	%eax, %esi
	sarl	$31, %esi
	orl	$-2147483648, %esi
	xorl	%eax, %esi
.L702:
	leal	0(,%rdx,8), %ecx
	movl	%esi, %eax
	shrl	%cl, %eax
	movzbl	%al, %ecx
	movl	%edx, %eax
	incl	%edx
	salq	$8, %rax
	addq	%rcx, %rax
	incq	216(%rsp,%rax,8)
	cmpl	$4, %edx
	jne	.L702
	incq	%rdi
	jmp	.L701
.L724:
	movq	(%rsp), %rdi
	xorl	%edx, %edx
.L704:
	movq	%rdi, %rax
	movl	$256, %esi
	xorl	%ecx, %ecx
.L706:
	movq	(%rax), %r10
	cmpq	%r10, %rbx
	jne	.L705
	movb	$1, 212(%rsp,%rdx)
.L705:
	movq	%rcx, (%rax)
	addq	%r10, %rcx
	addq	$8, %rax
	decl	%esi
	jne	.L706
	incq	%rdx
	addq	$2048, %rdi
	cmpq	$4, %rdx
	jne	.L704
	salq	$2, %rbx
	xorl	%ebp, %ebp
	xorl	%ecx, %ecx
	leaq	0(%r13,%rbx), %rax
	movq	%rax, 16(%rsp)
	leaq	184(%rsp), %rax
	movq	%rax, 8(%rsp)
.L714:
	cmpb	$0, 212(%rsp,%rbp)
	jne	.L708
	movq	(%rsp), %rdx
	movq	%rbp, %rax
	leal	0(,%rbp,8), %r10d
	salq	$11, %rax
	addq	%rdx, %rax
	testb	%cl, %cl
	je	.L709
	leaq	(%r12,%rbx), %rcx
	movq	%rax, 152(%rsp)
	leaq	168(%rsp), %rdi
	movq	%rcx, 128(%rsp)
	leaq	128(%rsp), %rsi
	movl	$10, %ecx
	movq	%r12, 136(%rsp)
	movl	%r10d, 148(%rsp)
	movq	%r13, 160(%rsp)
	rep movsl
	movq	%r12, 128(%rsp)
	leaq	48(%rsp), %rdi
	leaq	168(%rsp), %rsi
	movl	$10, %ecx
	rep movsl
	leaq	168(%rsp), %rdi
	leaq	128(%rsp), %rsi
	movl	$10, %ecx
	rep movsl
	leaq	88(%rsp), %rdi
	leaq	168(%rsp), %rsi
	movl	$10, %ecx
	movq	48(%rsp), %r14
	rep movsl
	movq	%rax, 112(%rsp)
	leaq	128(%rsp), %rdi
	leaq	88(%rsp), %rsi
	movq	%r12, 96(%rsp)
	movl	$10, %ecx
	leaq	168(%rsp), %rax
	movl	%r10d, 108(%rsp)
	movq	%r13, 120(%rsp)
	rep movsl
	leaq	168(%rsp), %rdi
	leaq	128(%rsp), %rsi
	movl	$10, %ecx
	movq	%rax, 24(%rsp)
	leaq	176(%rsp), %rax
	rep movsl
	movq	%rax, 32(%rsp)
.L710:
	movq	168(%rsp), %r15
	cmpq	%r14, %r15
	je	.L725
	movq	32(%rsp), %rdi
	call	_ZN6thrust20THRUST_200700_890_NS20iterator_core_access11dereferenceINS0_6detail15normal_iteratorINS0_7pointerIfNS0_6system3cpp6detail3tagENS0_11use_defaultESA_EEEEEENT_9referenceERKSD_
	movq	8(%rsp), %rdi
	movss	(%rax), %xmm0
	call	_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail14bucket_functorILj8EfEclEf
	movq	24(%rsp), %rdi
	leaq	0(%r13,%rax,4), %rsi
	movq	%rsi, 40(%rsp)
	call	_ZN6thrust20THRUST_200700_890_NS20iterator_core_access11dereferenceINS0_6detail15normal_iteratorINS0_7pointerIfNS0_6system3cpp6detail3tagENS0_11use_defaultESA_EEEEEENT_9referenceERKSD_
	movq	40(%rsp), %rsi
	leaq	4(%r15), %rcx
	addq	$4, 176(%rsp)
	movss	(%rax), %xmm0
	movq	%rcx, 168(%rsp)
	movss	%xmm0, (%rsi)
	jmp	.L710
.L725:
	xorl	%ecx, %ecx
	jmp	.L708
.L709:
	movq	%r13, 168(%rsp)
	movq	%r13, 176(%rsp)
	movl	%r10d, 188(%rsp)
	movq	%rax, 192(%rsp)
	movq	%r12, 200(%rsp)
.L712:
	movq	168(%rsp), %r14
	cmpq	%r14, 16(%rsp)
	je	.L726
	movq	176(%rsp), %r15
	movq	8(%rsp), %rdi
	addq	$4, %r14
	movss	(%r15), %xmm0
	addq	$4, %r15
	call	_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail14bucket_functorILj8EfEclEf
	leaq	128(%rsp), %rdi
	leaq	(%r12,%rax,4), %rax
	movq	%rax, 128(%rsp)
	call	_ZN6thrust20THRUST_200700_890_NS20iterator_core_access11dereferenceINS0_6detail15normal_iteratorINS0_7pointerIfNS0_6system3cpp6detail3tagENS0_11use_defaultESA_EEEEEENT_9referenceERKSD_
	movss	-4(%r14), %xmm0
	movq	%r15, 176(%rsp)
	movq	%r14, 168(%rsp)
	movss	%xmm0, (%rax)
	jmp	.L712
.L726:
	movb	$1, %cl
.L708:
	incq	%rbp
	cmpq	$4, %rbp
	jne	.L714
	testb	%cl, %cl
	je	.L700
	leaq	(%r12,%rbx), %rsi
	movq	%r13, %rdx
	movq	%r12, %rdi
	call	_ZN6thrust20THRUST_200700_890_NS4copyINS0_6system3cpp6detail3tagENS0_6detail15normal_iteratorINS0_7pointerIfS5_NS0_11use_defaultES9_EEEEPfEET1_RKNS6_21execution_policy_baseIT_EET0_SJ_SD_.isra.0
.L700:
	movq	8408(%rsp), %rax
	subq	%fs:40, %rax
	je	.L716
	call	__stack_chk_fail@PLT
.L716:
	addq	$8424, %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
.LFE14154:
	.size	_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail10radix_sortILj8ELb0ENS1_3cpp6detail3tagEPfNS0_6detail15normal_iteratorINS0_7pointerIfS8_NS0_11use_defaultESD_EEEEPiSG_EEvRNS3_16execution_policyIT1_EET2_T3_T4_T5_m.isra.0, .-_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail10radix_sortILj8ELb0ENS1_3cpp6detail3tagEPfNS0_6detail15normal_iteratorINS0_7pointerIfS8_NS0_11use_defaultESD_EEEEPiSG_EEvRNS3_16execution_policyIT1_EET2_T3_T4_T5_m.isra.0
	.section	.text._ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail14bucket_functorILj4EfEclEf,"axG",@progbits,_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail14bucket_functorILj4EfEclEf,comdat
	.align 2
	.weak	_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail14bucket_functorILj4EfEclEf
	.type	_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail14bucket_functorILj4EfEclEf, @function
_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail14bucket_functorILj4EfEclEf:
.LFB14091:
	.cfi_startproc
	endbr64
	movd	%xmm0, %edx
	movl	4(%rdi), %ecx
	movl	%edx, %eax
	sarl	$31, %eax
	orl	$-2147483648, %eax
	xorl	%edx, %eax
	movq	8(%rdi), %rdx
	shrl	%cl, %eax
	andl	$15, %eax
	leaq	(%rdx,%rax,8), %rdx
	movq	(%rdx), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, (%rdx)
	ret
	.cfi_endproc
.LFE14091:
	.size	_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail14bucket_functorILj4EfEclEf, .-_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail14bucket_functorILj4EfEclEf
	.section	.text._ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail10radix_sortILj4ELb0ENS1_3cpp6detail3tagEPfNS0_6detail15normal_iteratorINS0_7pointerIfS8_NS0_11use_defaultESD_EEEEPiSG_EEvRNS3_16execution_policyIT1_EET2_T3_T4_T5_m.isra.0,"axG",@progbits,_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17stable_radix_sortINS1_3cpp6detail3tagEPfEEvRNS3_16execution_policyIT_EET0_SD_,comdat
	.type	_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail10radix_sortILj4ELb0ENS1_3cpp6detail3tagEPfNS0_6detail15normal_iteratorINS0_7pointerIfS8_NS0_11use_defaultESD_EEEEPiSG_EEvRNS3_16execution_policyIT1_EET2_T3_T4_T5_m.isra.0, @function
_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail10radix_sortILj4ELb0ENS1_3cpp6detail3tagEPfNS0_6detail15normal_iteratorINS0_7pointerIfS8_NS0_11use_defaultESD_EEEEPiSG_EEvRNS3_16execution_policyIT1_EET2_T3_T4_T5_m.isra.0:
.LFB14167:
	.cfi_startproc
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$256, %ecx
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movq	%rdi, %r13
	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
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rdx, %rbx
	subq	$1256, %rsp
	.cfi_def_cfa_offset 1312
	movq	%fs:40, %rax
	movq	%rax, 1240(%rsp)
	xorl	%eax, %eax
	leaq	216(%rsp), %rdi
	rep stosl
	xorl	%eax, %eax
	xorl	%edi, %edi
	movq	%rax, 208(%rsp)
	leaq	216(%rsp), %rax
	movq	%rax, (%rsp)
.L729:
	cmpq	%rbx, %rdi
	je	.L752
	movl	0(%r13,%rdi,4), %eax
	xorl	%edx, %edx
	movl	%eax, %esi
	sarl	$31, %esi
	orl	$-2147483648, %esi
	xorl	%eax, %esi
.L730:
	leal	0(,%rdx,4), %ecx
	movl	%esi, %eax
	shrl	%cl, %eax
	movl	%eax, %ecx
	movl	%edx, %eax
	incl	%edx
	andl	$15, %ecx
	salq	$4, %rax
	addq	%rcx, %rax
	incq	216(%rsp,%rax,8)
	cmpl	$8, %edx
	jne	.L730
	incq	%rdi
	jmp	.L729
.L752:
	movq	(%rsp), %rdi
	xorl	%edx, %edx
.L732:
	movq	%rdi, %rax
	movl	$16, %esi
	xorl	%ecx, %ecx
.L734:
	movq	(%rax), %r10
	cmpq	%r10, %rbx
	jne	.L733
	movb	$1, 208(%rsp,%rdx)
.L733:
	movq	%rcx, (%rax)
	addq	%r10, %rcx
	addq	$8, %rax
	decl	%esi
	jne	.L734
	incq	%rdx
	subq	$-128, %rdi
	cmpq	$8, %rdx
	jne	.L732
	salq	$2, %rbx
	xorl	%ebp, %ebp
	xorl	%ecx, %ecx
	leaq	0(%r13,%rbx), %rax
	movq	%rax, 16(%rsp)
	leaq	184(%rsp), %rax
	movq	%rax, 8(%rsp)
.L742:
	cmpb	$0, 208(%rsp,%rbp)
	jne	.L736
	movq	(%rsp), %rdx
	movq	%rbp, %rax
	leal	0(,%rbp,4), %r10d
	salq	$7, %rax
	addq	%rdx, %rax
	testb	%cl, %cl
	je	.L737
	leaq	(%r12,%rbx), %rcx
	movq	%rax, 152(%rsp)
	leaq	168(%rsp), %rdi
	movq	%rcx, 128(%rsp)
	leaq	128(%rsp), %rsi
	movl	$10, %ecx
	movq	%r12, 136(%rsp)
	movl	%r10d, 148(%rsp)
	movq	%r13, 160(%rsp)
	rep movsl
	movq	%r12, 128(%rsp)
	leaq	48(%rsp), %rdi
	leaq	168(%rsp), %rsi
	movl	$10, %ecx
	rep movsl
	leaq	168(%rsp), %rdi
	leaq	128(%rsp), %rsi
	movl	$10, %ecx
	rep movsl
	leaq	88(%rsp), %rdi
	leaq	168(%rsp), %rsi
	movl	$10, %ecx
	movq	48(%rsp), %r14
	rep movsl
	movq	%rax, 112(%rsp)
	leaq	128(%rsp), %rdi
	leaq	88(%rsp), %rsi
	movq	%r12, 96(%rsp)
	movl	$10, %ecx
	leaq	168(%rsp), %rax
	movl	%r10d, 108(%rsp)
	movq	%r13, 120(%rsp)
	rep movsl
	leaq	168(%rsp), %rdi
	leaq	128(%rsp), %rsi
	movl	$10, %ecx
	movq	%rax, 24(%rsp)
	leaq	176(%rsp), %rax
	rep movsl
	movq	%rax, 32(%rsp)
.L738:
	movq	168(%rsp), %r15
	cmpq	%r14, %r15
	je	.L753
	movq	32(%rsp), %rdi
	call	_ZN6thrust20THRUST_200700_890_NS20iterator_core_access11dereferenceINS0_6detail15normal_iteratorINS0_7pointerIfNS0_6system3cpp6detail3tagENS0_11use_defaultESA_EEEEEENT_9referenceERKSD_
	movq	8(%rsp), %rdi
	movss	(%rax), %xmm0
	call	_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail14bucket_functorILj4EfEclEf
	movq	24(%rsp), %rdi
	leaq	0(%r13,%rax,4), %rsi
	movq	%rsi, 40(%rsp)
	call	_ZN6thrust20THRUST_200700_890_NS20iterator_core_access11dereferenceINS0_6detail15normal_iteratorINS0_7pointerIfNS0_6system3cpp6detail3tagENS0_11use_defaultESA_EEEEEENT_9referenceERKSD_
	movq	40(%rsp), %rsi
	leaq	4(%r15), %rcx
	addq	$4, 176(%rsp)
	movss	(%rax), %xmm0
	movq	%rcx, 168(%rsp)
	movss	%xmm0, (%rsi)
	jmp	.L738
.L753:
	xorl	%ecx, %ecx
	jmp	.L736
.L737:
	movq	%r13, 168(%rsp)
	movq	%r13, 176(%rsp)
	movl	%r10d, 188(%rsp)
	movq	%rax, 192(%rsp)
	movq	%r12, 200(%rsp)
.L740:
	movq	168(%rsp), %r14
	cmpq	%r14, 16(%rsp)
	je	.L754
	movq	176(%rsp), %r15
	movq	8(%rsp), %rdi
	addq	$4, %r14
	movss	(%r15), %xmm0
	addq	$4, %r15
	call	_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail14bucket_functorILj4EfEclEf
	leaq	128(%rsp), %rdi
	leaq	(%r12,%rax,4), %rax
	movq	%rax, 128(%rsp)
	call	_ZN6thrust20THRUST_200700_890_NS20iterator_core_access11dereferenceINS0_6detail15normal_iteratorINS0_7pointerIfNS0_6system3cpp6detail3tagENS0_11use_defaultESA_EEEEEENT_9referenceERKSD_
	movss	-4(%r14), %xmm0
	movq	%r15, 176(%rsp)
	movq	%r14, 168(%rsp)
	movss	%xmm0, (%rax)
	jmp	.L740
.L754:
	movb	$1, %cl
.L736:
	incq	%rbp
	cmpq	$8, %rbp
	jne	.L742
	testb	%cl, %cl
	je	.L728
	leaq	(%r12,%rbx), %rsi
	movq	%r13, %rdx
	movq	%r12, %rdi
	call	_ZN6thrust20THRUST_200700_890_NS4copyINS0_6system3cpp6detail3tagENS0_6detail15normal_iteratorINS0_7pointerIfS5_NS0_11use_defaultES9_EEEEPfEET1_RKNS6_21execution_policy_baseIT_EET0_SJ_SD_.isra.0
.L728:
	movq	1240(%rsp), %rax
	subq	%fs:40, %rax
	je	.L744
	call	__stack_chk_fail@PLT
.L744:
	addq	$1256, %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
.LFE14167:
	.size	_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail10radix_sortILj4ELb0ENS1_3cpp6detail3tagEPfNS0_6detail15normal_iteratorINS0_7pointerIfS8_NS0_11use_defaultESD_EEEEPiSG_EEvRNS3_16execution_policyIT1_EET2_T3_T4_T5_m.isra.0, .-_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail10radix_sortILj4ELb0ENS1_3cpp6detail3tagEPfNS0_6detail15normal_iteratorINS0_7pointerIfS8_NS0_11use_defaultESD_EEEEPiSG_EEvRNS3_16execution_policyIT1_EET2_T3_T4_T5_m.isra.0
	.section	.rodata._ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17stable_radix_sortINS1_3cpp6detail3tagEPfEEvRNS3_16execution_policyIT_EET0_SD_.str1.1,"aMS",@progbits,1
.LC58:
	.string	"temporary_buffer::allocate: get_temporary_buffer failed"
	.section	.text._ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17stable_radix_sortINS1_3cpp6detail3tagEPfEEvRNS3_16execution_policyIT_EET0_SD_,"axG",@progbits,_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17stable_radix_sortINS1_3cpp6detail3tagEPfEEvRNS3_16execution_policyIT_EET0_SD_,comdat
	.weak	_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17stable_radix_sortINS1_3cpp6detail3tagEPfEEvRNS3_16execution_policyIT_EET0_SD_
	.type	_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17stable_radix_sortINS1_3cpp6detail3tagEPfEEvRNS3_16execution_policyIT_EET0_SD_, @function
_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17stable_radix_sortINS1_3cpp6detail3tagEPfEEvRNS3_16execution_policyIT_EET0_SD_:
.LFB12744:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA12744
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	subq	%rsi, %rdx
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%rdx, %r13
	movq	%rsi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	movq	%rdx, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$56, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	sarq	$2, %r13
	je	.L773
	movq	%rdx, %rdi
	call	malloc@PLT
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	.L756
	xorl	%edi, %edi
	leaq	8(%rsp), %r12
	call	free@PLT
	movl	$40, %edi
	call	__cxa_allocate_exception@PLT
	movq	%rsp, %rsi
	xorl	%edx, %edx
	movq	%r12, %rdi
	movq	%rax, %rbp
	leaq	24(%rsp), %rax
	movq	$55, (%rsp)
	movq	%rax, 8(%rsp)
.LEHB2:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm@PLT
.LEHE2:
	movq	%rax, %rdi
	leaq	55+.LC58(%rip), %rdx
	movq	%rax, 8(%rsp)
	movq	(%rsp), %rax
	leaq	-55(%rdx), %rsi
	movq	%rax, 24(%rsp)
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_S_copy_charsEPcPKcS7_@PLT
	movq	(%rsp), %rax
	movq	%r12, %rsi
	movq	%rbp, %rdi
	movq	8(%rsp), %rdx
	movq	%rax, 16(%rsp)
	movb	$0, (%rdx,%rax)
.LEHB3:
	call	_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
.LEHE3:
	movq	%r12, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L776
	leaq	_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocD1Ev(%rip), %rdx
	leaq	_ZTIN6thrust20THRUST_200700_890_NS6system6detail9bad_allocE(%rip), %rsi
	movq	%rbp, %rdi
.LEHB4:
	call	__cxa_throw@PLT
.L770:
	endbr64
	movq	%rax, %rbx
.L760:
	movq	%r12, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L761
.L769:
	endbr64
	movq	%rax, %rbx
.L761:
	movq	%rbp, %rdi
	call	__cxa_free_exception@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L776
	movq	%rbx, %rdi
	call	_Unwind_Resume@PLT
.LEHE4:
.L773:
	xorl	%ebx, %ebx
.L756:
	movq	%r13, %rdx
	movq	%rbx, %rsi
	movq	%r12, %rdi
	cmpq	$16777212, %rbp
	ja	.L763
	call	_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail10radix_sortILj8ELb0ENS1_3cpp6detail3tagEPfNS0_6detail15normal_iteratorINS0_7pointerIfS8_NS0_11use_defaultESD_EEEEPiSG_EEvRNS3_16execution_policyIT1_EET2_T3_T4_T5_m.isra.0
	testq	%r13, %r13
	je	.L772
	jmp	.L764
.L763:
	call	_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17radix_sort_detail10radix_sortILj4ELb0ENS1_3cpp6detail3tagEPfNS0_6detail15normal_iteratorINS0_7pointerIfS8_NS0_11use_defaultESD_EEEEPiSG_EEvRNS3_16execution_policyIT1_EET2_T3_T4_T5_m.isra.0
.L764:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L776
	addq	$56, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	movq	%rbx, %rdi
	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
	jmp	free@PLT
.L772:
	.cfi_restore_state
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	je	.L767
.L776:
	call	__stack_chk_fail@PLT
.L767:
	addq	$56, %rsp
	.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
.LFE12744:
	.section	.gcc_except_table._ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17stable_radix_sortINS1_3cpp6detail3tagEPfEEvRNS3_16execution_policyIT_EET0_SD_,"aG",@progbits,_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17stable_radix_sortINS1_3cpp6detail3tagEPfEEvRNS3_16execution_policyIT_EET0_SD_,comdat
.LLSDA12744:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE12744-.LLSDACSB12744
.LLSDACSB12744:
	.uleb128 .LEHB2-.LFB12744
	.uleb128 .LEHE2-.LEHB2
	.uleb128 .L769-.LFB12744
	.uleb128 0
	.uleb128 .LEHB3-.LFB12744
	.uleb128 .LEHE3-.LEHB3
	.uleb128 .L770-.LFB12744
	.uleb128 0
	.uleb128 .LEHB4-.LFB12744
	.uleb128 .LEHE4-.LEHB4
	.uleb128 0
	.uleb128 0
.LLSDACSE12744:
	.section	.text._ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17stable_radix_sortINS1_3cpp6detail3tagEPfEEvRNS3_16execution_policyIT_EET0_SD_,"axG",@progbits,_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17stable_radix_sortINS1_3cpp6detail3tagEPfEEvRNS3_16execution_policyIT_EET0_SD_,comdat
	.size	_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17stable_radix_sortINS1_3cpp6detail3tagEPfEEvRNS3_16execution_policyIT_EET0_SD_, .-_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17stable_radix_sortINS1_3cpp6detail3tagEPfEEvRNS3_16execution_policyIT_EET0_SD_
	.section	.rodata.str1.1
.LC60:
	.string	"Initialization :%f ms\n"
.LC61:
	.string	"Gradient Computation for Ref Image :%f ms\n"
.LC62:
	.string	"HOG Computation for Ref Image :%f ms\n"
.LC63:
	.string	"Gradient Computation for Target Image :%f ms\n"
.LC64:
	.string	"HOG Computation for Target Image :%f ms\n"
.LC65:
	.string	"Distance Matrix Computation:%f ms\n"
.LC66:
	.string	"Threshold and Voting:%f ms\n"
.LC67:
	.string	"Gaussian Kernel Generation:%f ms\n"
.LC68:
	.string	"Gaussian Blur:%f ms\n"
.LC69:
	.string	"Maximal Voting Value Computation:%f ms\n"
.LC70:
	.string	"Local Maximal Detection:%f ms\n"
.LC72:
	.string	"Transfering Detected Logo Position to HOST:%f ms\n"
	.text
	.globl	computeHOG
	.type	computeHOG, @function
computeHOG:
.LFB11831:
	.cfi_startproc
	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
	movl	%ecx, %r13d
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movl	%edx, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movl	%r9d, %ebp
	movl	%r12d, %r14d
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movl	%r8d, %ebx
	imull	%r13d, %r14d
	subq	$408, %rsp
	.cfi_def_cfa_offset 464
	salq	$2, %r14
	movq	%rsi, 48(%rsp)
	movq	%rdi, 40(%rsp)
	leaq	120(%rsp), %rdi
	movq	%fs:40, %rax
	movq	%rax, 392(%rsp)
	xorl	%eax, %eax
	call	cudaEventCreate@PLT
	leaq	128(%rsp), %rdi
	call	cudaEventCreate@PLT
	leaq	136(%rsp), %rdi
	call	cudaEventCreate@PLT
	leaq	144(%rsp), %rdi
	call	cudaEventCreate@PLT
	leaq	152(%rsp), %rdi
	call	cudaEventCreate@PLT
	leaq	160(%rsp), %rdi
	call	cudaEventCreate@PLT
	leaq	168(%rsp), %rdi
	call	cudaEventCreate@PLT
	leaq	176(%rsp), %rdi
	call	cudaEventCreate@PLT
	leaq	184(%rsp), %rdi
	call	cudaEventCreate@PLT
	leaq	192(%rsp), %rdi
	call	cudaEventCreate@PLT
	leaq	200(%rsp), %rdi
	call	cudaEventCreate@PLT
	leaq	208(%rsp), %rdi
	call	cudaEventCreate@PLT
	leaq	216(%rsp), %rdi
	call	cudaEventCreate@PLT
	leaq	224(%rsp), %rdi
	call	cudaEventCreate@PLT
	leaq	232(%rsp), %rdi
	call	cudaEventCreate@PLT
	leaq	240(%rsp), %rdi
	call	cudaEventCreate@PLT
	movq	120(%rsp), %rdi
	xorl	%esi, %esi
	call	cudaEventRecord@PLT
	leal	-18(%r12), %eax
	cvtsi2ssq	%rax, %xmm0
	divss	.LC59(%rip), %xmm0
	call	truncf@PLT
	leal	-18(%r13), %eax
	cvttss2sil	%xmm0, %r15d
	cvtsi2ssq	%rax, %xmm0
	divss	.LC59(%rip), %xmm0
	call	truncf@PLT
	cvttss2sil	%xmm0, %eax
	movl	%eax, 16(%rsp)
	leal	-18(%rbx), %eax
	cvtsi2ssq	%rax, %xmm0
	divss	.LC59(%rip), %xmm0
	call	truncf@PLT
	cvttss2sil	%xmm0, %eax
	movl	%eax, 20(%rsp)
	leal	-18(%rbp), %eax
	cvtsi2ssq	%rax, %xmm0
	divss	.LC59(%rip), %xmm0
	call	truncf@PLT
	movq	%r14, %rsi
	leaq	248(%rsp), %rdi
	cvttss2sil	%xmm0, %eax
	movl	%eax, 24(%rsp)
	call	cudaMalloc@PLT
	movq	%r14, %rsi
	leaq	256(%rsp), %rdi
	call	cudaMalloc@PLT
	movl	16(%rsp), %eax
	leaq	264(%rsp), %rdi
	imull	%r15d, %eax
	imull	$81, %eax, %r14d
	movl	%eax, 12(%rsp)
	movslq	%r14d, %r14
	salq	$2, %r14
	movq	%r14, %rsi
	call	cudaMalloc@PLT
	movq	264(%rsp), %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	call	cudaMemset@PLT
	movl	12(%rsp), %eax
	leaq	272(%rsp), %rdi
	leal	(%rax,%rax), %r14d
	movslq	%r14d, %r14
	salq	$2, %r14
	movq	%r14, %rsi
	call	cudaMalloc@PLT
	movq	%r14, %rsi
	leaq	280(%rsp), %rdi
	call	cudaMalloc@PLT
	movslq	12(%rsp), %rsi
	leaq	288(%rsp), %rdi
	salq	$2, %rsi
	call	cudaMalloc@PLT
	movl	%ebx, %eax
	leaq	296(%rsp), %rdi
	imull	%ebp, %eax
	movl	%eax, 28(%rsp)
	movq	%rax, 32(%rsp)
	salq	$2, %rax
	movq	%rax, %rsi
	movq	%rax, (%rsp)
	call	cudaMalloc@PLT
	movq	(%rsp), %rsi
	leaq	304(%rsp), %rdi
	call	cudaMalloc@PLT
	movq	%r14, %rsi
	leaq	312(%rsp), %rdi
	call	cudaMalloc@PLT
	movl	20(%rsp), %r14d
	movl	24(%rsp), %eax
	leaq	320(%rsp), %rdi
	imull	%eax, %r14d
	imull	$81, %r14d, %edx
	movslq	%edx, %rdx
	salq	$2, %rdx
	movq	%rdx, %rsi
	movq	%rdx, 56(%rsp)
	call	cudaMalloc@PLT
	movq	56(%rsp), %rdx
	movq	320(%rsp), %rdi
	xorl	%esi, %esi
	call	cudaMemset@PLT
	movl	%r14d, %edx
	movl	16(%rsp), %eax
	leaq	328(%rsp), %rdi
	imull	%r15d, %edx
	imull	%eax, %edx
	movslq	%edx, %rdx
	salq	$2, %rdx
	movq	%rdx, %rsi
	movq	%rdx, 56(%rsp)
	call	cudaMalloc@PLT
	movq	56(%rsp), %rdx
	movq	328(%rsp), %rdi
	xorl	%esi, %esi
	call	cudaMemset@PLT
	movq	(%rsp), %rsi
	leaq	336(%rsp), %rdi
	call	cudaMalloc@PLT
	movq	(%rsp), %rdx
	movq	336(%rsp), %rdi
	xorl	%esi, %esi
	call	cudaMemset@PLT
	leaq	344(%rsp), %rdi
	movl	$3844, %esi
	call	cudaMalloc@PLT
	movq	344(%rsp), %rdi
	movl	$3844, %edx
	xorl	%esi, %esi
	call	cudaMemset@PLT
	movq	(%rsp), %rsi
	leaq	352(%rsp), %rdi
	call	cudaMalloc@PLT
	movq	(%rsp), %rdx
	movq	352(%rsp), %rdi
	xorl	%esi, %esi
	call	cudaMemset@PLT
	movq	(%rsp), %rsi
	leaq	360(%rsp), %rdi
	call	cudaMalloc@PLT
	movq	(%rsp), %rdx
	movq	360(%rsp), %rdi
	xorl	%esi, %esi
	call	cudaMemset@PLT
	movq	128(%rsp), %rdi
	xorl	%esi, %esi
	call	cudaEventRecord@PLT
	movq	128(%rsp), %rdi
	call	cudaEventSynchronize@PLT
	movq	120(%rsp), %rsi
	leaq	72(%rsp), %rdi
	movq	128(%rsp), %rdx
	call	cudaEventElapsedTime@PLT
	leaq	.LC60(%rip), %rsi
	movl	$2, %edi
	movb	$1, %al
	cvtss2sd	72(%rsp), %xmm0
	call	__printf_chk@PLT
	movl	%r12d, %eax
	movabsq	$68719476752, %rdx
	shrl	$4, %eax
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	$1, %ecx
	incl	%eax
	movl	$1, %esi
	movl	$1, 388(%rsp)
	movl	%eax, 380(%rsp)
	movl	%r13d, %eax
	shrl	$4, %eax
	movq	%rdx, 368(%rsp)
	movl	$1, 376(%rsp)
	incl	%eax
	movl	%eax, 384(%rsp)
	movq	380(%rsp), %rdi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L786
	movq	40(%rsp), %rdx
	movq	256(%rsp), %rsi
	movl	%r13d, %r8d
	movl	%r12d, %ecx
	movq	248(%rsp), %rdi
	call	_Z41__device_stub__Z15computeGradientPfPiS_jjPfPiS_jj
.L786:
	movq	136(%rsp), %rdi
	xorl	%esi, %esi
	call	cudaEventRecord@PLT
	movq	136(%rsp), %rdi
	call	cudaEventSynchronize@PLT
	movq	120(%rsp), %rsi
	leaq	76(%rsp), %rdi
	movq	136(%rsp), %rdx
	call	cudaEventElapsedTime@PLT
	leaq	.LC61(%rip), %rsi
	movl	$2, %edi
	movb	$1, %al
	cvtss2sd	76(%rsp), %xmm0
	call	__printf_chk@PLT
	movl	%r15d, %eax
	movl	376(%rsp), %ecx
	shrl	$4, %eax
	movl	388(%rsp), %esi
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	incl	%eax
	movq	368(%rsp), %rdx
	movl	%eax, 380(%rsp)
	movl	16(%rsp), %eax
	shrl	$4, %eax
	incl	%eax
	movl	%eax, 384(%rsp)
	movq	380(%rsp), %rdi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L787
	pushq	%r13
	.cfi_def_cfa_offset 472
	pushq	%r12
	.cfi_def_cfa_offset 480
	movl	32(%rsp), %eax
	pushq	%rax
	.cfi_def_cfa_offset 488
	pushq	%r15
	.cfi_def_cfa_offset 496
	movq	288(%rsp), %r9
	movq	280(%rsp), %r8
	movq	312(%rsp), %rcx
	movq	304(%rsp), %rdx
	movq	320(%rsp), %rsi
	movq	296(%rsp), %rdi
	call	_Z49__device_stub__Z13computeBinHOGPfS_PiS0_S_S0_jjjjPfS_PiS0_S_S0_jjjj
	addq	$32, %rsp
	.cfi_def_cfa_offset 464
.L787:
	movq	144(%rsp), %rdi
	xorl	%esi, %esi
	movl	%ebp, %r12d
	movl	%ebx, %r13d
	shrl	$4, %r12d
	shrl	$4, %r13d
	call	cudaEventRecord@PLT
	movq	144(%rsp), %rdi
	incl	%r12d
	incl	%r13d
	call	cudaEventSynchronize@PLT
	movq	120(%rsp), %rsi
	leaq	80(%rsp), %rdi
	movq	144(%rsp), %rdx
	call	cudaEventElapsedTime@PLT
	leaq	.LC62(%rip), %rsi
	movl	$2, %edi
	movb	$1, %al
	cvtss2sd	80(%rsp), %xmm0
	call	__printf_chk@PLT
	xorl	%r9d, %r9d
	movl	%r13d, 380(%rsp)
	movl	%r12d, 384(%rsp)
	movl	376(%rsp), %ecx
	xorl	%r8d, %r8d
	movq	368(%rsp), %rdx
	movq	380(%rsp), %rdi
	movl	388(%rsp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L788
	movq	48(%rsp), %rdx
	movq	304(%rsp), %rsi
	movl	%ebp, %r8d
	movl	%ebx, %ecx
	movq	296(%rsp), %rdi
	call	_Z41__device_stub__Z15computeGradientPfPiS_jjPfPiS_jj
.L788:
	movq	152(%rsp), %rdi
	xorl	%esi, %esi
	call	cudaEventRecord@PLT
	movq	152(%rsp), %rdi
	call	cudaEventSynchronize@PLT
	movq	120(%rsp), %rsi
	leaq	84(%rsp), %rdi
	movq	152(%rsp), %rdx
	call	cudaEventElapsedTime@PLT
	leaq	.LC63(%rip), %rsi
	movl	$2, %edi
	movb	$1, %al
	cvtss2sd	84(%rsp), %xmm0
	call	__printf_chk@PLT
	movl	20(%rsp), %eax
	movl	376(%rsp), %ecx
	movq	368(%rsp), %rdx
	movl	388(%rsp), %esi
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	shrl	$4, %eax
	incl	%eax
	movl	%eax, 380(%rsp)
	movl	24(%rsp), %eax
	shrl	$4, %eax
	incl	%eax
	movl	%eax, 384(%rsp)
	movq	380(%rsp), %rdi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L789
	pushq	%rbp
	.cfi_def_cfa_offset 472
	pushq	%rbx
	.cfi_def_cfa_offset 480
	movl	40(%rsp), %r9d
	movl	36(%rsp), %r8d
	movq	320(%rsp), %rcx
	movq	312(%rsp), %rdx
	movq	328(%rsp), %rsi
	movq	336(%rsp), %rdi
	call	_Z47__device_stub__Z16computeBinHOGTarPfPiS_S0_jjjjPfPiS_S0_jjjj
	popq	%rdx
	.cfi_def_cfa_offset 472
	popq	%rcx
	.cfi_def_cfa_offset 464
.L789:
	movq	160(%rsp), %rdi
	xorl	%esi, %esi
	call	cudaEventRecord@PLT
	movq	160(%rsp), %rdi
	call	cudaEventSynchronize@PLT
	movq	120(%rsp), %rsi
	leaq	88(%rsp), %rdi
	movq	160(%rsp), %rdx
	call	cudaEventElapsedTime@PLT
	leaq	.LC64(%rip), %rsi
	movl	$2, %edi
	movb	$1, %al
	cvtss2sd	88(%rsp), %xmm0
	call	__printf_chk@PLT
	movl	12(%rsp), %eax
	movl	376(%rsp), %ecx
	movq	368(%rsp), %rdx
	movl	388(%rsp), %esi
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	shrl	$4, %eax
	incl	%eax
	movl	%eax, 380(%rsp)
	movl	%r14d, %eax
	shrl	$4, %eax
	incl	%eax
	movl	%eax, 384(%rsp)
	movq	380(%rsp), %rdi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L790
	movl	12(%rsp), %ecx
	movq	320(%rsp), %rdx
	movl	%r14d, %r8d
	movq	264(%rsp), %rsi
	movq	328(%rsp), %rdi
	call	_Z41__device_stub__Z15computeDistancePfS_S_jjPfS_S_jj
.L790:
	movq	168(%rsp), %rdi
	xorl	%esi, %esi
	call	cudaEventRecord@PLT
	movq	168(%rsp), %rdi
	call	cudaEventSynchronize@PLT
	movq	120(%rsp), %rsi
	leaq	92(%rsp), %rdi
	movq	168(%rsp), %rdx
	call	cudaEventElapsedTime@PLT
	leaq	.LC65(%rip), %rsi
	movl	$2, %edi
	movb	$1, %al
	cvtss2sd	92(%rsp), %xmm0
	call	__printf_chk@PLT
	xorl	%r9d, %r9d
	movl	376(%rsp), %ecx
	movq	368(%rsp), %rdx
	movq	380(%rsp), %rdi
	xorl	%r8d, %r8d
	movl	388(%rsp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L791
	pushq	%rax
	.cfi_def_cfa_offset 472
	pushq	%rbp
	.cfi_def_cfa_offset 480
	pushq	%rbx
	.cfi_def_cfa_offset 488
	pushq	%r14
	.cfi_def_cfa_offset 496
	movl	44(%rsp), %r9d
	movq	344(%rsp), %r8
	movq	312(%rsp), %rcx
	movq	320(%rsp), %rdx
	movq	360(%rsp), %rsi
	movq	368(%rsp), %rdi
	call	_Z36__device_stub__Z4votePfS_S_PiS0_jjjjPfS_S_PiS0_jjjj
	addq	$32, %rsp
	.cfi_def_cfa_offset 464
.L791:
	movq	176(%rsp), %rdi
	xorl	%esi, %esi
	call	cudaEventRecord@PLT
	movq	176(%rsp), %rdi
	call	cudaEventSynchronize@PLT
	movq	120(%rsp), %rsi
	leaq	96(%rsp), %rdi
	movq	176(%rsp), %rdx
	call	cudaEventElapsedTime@PLT
	leaq	.LC66(%rip), %rsi
	movl	$2, %edi
	movb	$1, %al
	cvtss2sd	96(%rsp), %xmm0
	call	__printf_chk@PLT
	xorl	%r9d, %r9d
	movl	376(%rsp), %ecx
	movl	388(%rsp), %esi
	xorl	%r8d, %r8d
	movabsq	$133143986207, %rdx
	movabsq	$4294967297, %rdi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L792
	movq	344(%rsp), %rdi
	call	_Z37__device_stub__Z17genGaussianFilterPfPf
.L792:
	movq	184(%rsp), %rdi
	xorl	%esi, %esi
	call	cudaEventRecord@PLT
	movq	184(%rsp), %rdi
	call	cudaEventSynchronize@PLT
	movq	120(%rsp), %rsi
	leaq	100(%rsp), %rdi
	movq	184(%rsp), %rdx
	call	cudaEventElapsedTime@PLT
	leaq	.LC67(%rip), %rsi
	movl	$2, %edi
	movb	$1, %al
	cvtss2sd	100(%rsp), %xmm0
	call	__printf_chk@PLT
	xorl	%r9d, %r9d
	movl	%r13d, 380(%rsp)
	movl	%r12d, 384(%rsp)
	xorl	%r8d, %r8d
	movl	376(%rsp), %ecx
	movabsq	$68719476752, %rdx
	movq	380(%rsp), %rdi
	movl	388(%rsp), %esi
	movq	%rdx, 368(%rsp)
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L793
	movq	344(%rsp), %rdx
	movq	336(%rsp), %rsi
	movl	%ebp, %r8d
	movl	%ebx, %ecx
	movq	352(%rsp), %rdi
	call	_Z40__device_stub__Z14gaussianFilterPfS_S_jjPfS_S_jj
.L793:
	movq	192(%rsp), %rdi
	xorl	%esi, %esi
	leaq	116(%rsp), %r14
	call	cudaEventRecord@PLT
	movq	192(%rsp), %rdi
	call	cudaEventSynchronize@PLT
	movq	120(%rsp), %rsi
	leaq	104(%rsp), %rdi
	movq	192(%rsp), %rdx
	call	cudaEventElapsedTime@PLT
	leaq	.LC68(%rip), %rsi
	movl	$2, %edi
	movb	$1, %al
	cvtss2sd	104(%rsp), %xmm0
	call	__printf_chk@PLT
	movq	(%rsp), %rdi
	call	_Znam@PLT
	movq	(%rsp), %rdx
	movl	$2, %ecx
	movq	352(%rsp), %rsi
	movq	%rax, %rdi
	movq	%rax, %r13
	call	cudaMemcpy@PLT
	movq	(%rsp), %rax
	movq	%r13, %rsi
	movq	%r14, %rdi
	leaq	0(%r13,%rax), %rdx
	call	_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17stable_radix_sortINS1_3cpp6detail3tagEPfEEvRNS3_16execution_policyIT_EET0_SD_
	movl	28(%rsp), %r12d
	movq	200(%rsp), %rdi
	xorl	%esi, %esi
	leal	-1(%r12), %eax
	movl	0(%r13,%rax,4), %r13d
	movq	%rax, %r12
	call	cudaEventRecord@PLT
	movq	200(%rsp), %rdi
	call	cudaEventSynchronize@PLT
	movq	120(%rsp), %rsi
	leaq	108(%rsp), %rdi
	movq	200(%rsp), %rdx
	call	cudaEventElapsedTime@PLT
	leaq	.LC69(%rip), %rsi
	movl	$2, %edi
	movb	$1, %al
	cvtss2sd	108(%rsp), %xmm0
	call	__printf_chk@PLT
	xorl	%r9d, %r9d
	movl	376(%rsp), %ecx
	movq	368(%rsp), %rdx
	movq	380(%rsp), %rdi
	xorl	%r8d, %r8d
	movl	388(%rsp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L794
	movq	352(%rsp), %rsi
	movq	360(%rsp), %rdi
	movl	%ebp, %ecx
	movl	%ebx, %edx
	movd	%r13d, %xmm0
	call	_Z38__device_stub__Z13detectMaximalPfS_jjfPfS_jjf
.L794:
	movq	208(%rsp), %rdi
	xorl	%esi, %esi
	movslq	%r12d, %r12
	xorl	%r13d, %r13d
	call	cudaEventRecord@PLT
	movq	208(%rsp), %rdi
	call	cudaEventSynchronize@PLT
	movq	120(%rsp), %rsi
	leaq	112(%rsp), %rdi
	movq	208(%rsp), %rdx
	call	cudaEventElapsedTime@PLT
	leaq	.LC70(%rip), %rsi
	movl	$2, %edi
	movb	$1, %al
	cvtss2sd	112(%rsp), %xmm0
	call	__printf_chk@PLT
	movq	(%rsp), %rdi
	call	_Znam@PLT
	movq	(%rsp), %rdx
	movl	$2, %ecx
	movq	360(%rsp), %rsi
	movq	%rax, %rdi
	movq	%rax, %rbx
	call	cudaMemcpy@PLT
	movq	(%rsp), %rdx
	movq	%rbx, %rsi
	movq	%r14, %rdi
	addq	%rbx, %rdx
	call	_ZN6thrust20THRUST_200700_890_NS6system6detail10sequential17stable_radix_sortINS1_3cpp6detail3tagEPfEEvRNS3_16execution_policyIT_EET0_SD_
	xorps	%xmm0, %xmm0
.L795:
	leal	1(%r13), %ebp
	testl	%r12d, %r12d
	js	.L796
	movss	(%rbx,%r12,4), %xmm1
	comiss	%xmm0, %xmm1
	jbe	.L796
	decq	%r12
	movl	%ebp, %r13d
	jmp	.L795
.L796:
	movq	216(%rsp), %rdi
	xorl	%esi, %esi
	call	cudaEventRecord@PLT
	movq	216(%rsp), %rdi
	call	cudaEventSynchronize@PLT
	movq	216(%rsp), %rdx
	movq	120(%rsp), %rsi
	movq	%r14, %rdi
	call	cudaEventElapsedTime@PLT
	leaq	.LC72(%rip), %rsi
	movl	$2, %edi
	movb	$1, %al
	cvtss2sd	116(%rsp), %xmm0
	call	__printf_chk@PLT
	movslq	%ebp, %rdi
	salq	$2, %rdi
	call	_Znam@PLT
	cvtsi2ssl	%r13d, %xmm0
	movq	32(%rsp), %rdx
	xorl	%ecx, %ecx
	movq	%rax, %rbp
	leaq	4(%rbp), %rdi
	movss	%xmm0, (%rax)
	movslq	%r13d, %rax
	subq	%rax, %rdx
	leaq	0(,%rax,4), %r8
	leaq	(%rbx,%rdx,4), %rsi
	movq	%r8, %rdx
	call	cudaMemcpy@PLT
	movq	392(%rsp), %rax
	subq	%fs:40, %rax
	je	.L799
	call	__stack_chk_fail@PLT
.L799:
	addq	$408, %rsp
	.cfi_def_cfa_offset 56
	movq	%rbp, %rax
	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
.LFE11831:
	.size	computeHOG, .-computeHOG
	.weak	_ZTSN6thrust20THRUST_200700_890_NS6system6detail9bad_allocE
	.section	.rodata._ZTSN6thrust20THRUST_200700_890_NS6system6detail9bad_allocE,"aG",@progbits,_ZTSN6thrust20THRUST_200700_890_NS6system6detail9bad_allocE,comdat
	.align 32
	.type	_ZTSN6thrust20THRUST_200700_890_NS6system6detail9bad_allocE, @object
	.size	_ZTSN6thrust20THRUST_200700_890_NS6system6detail9bad_allocE, 56
_ZTSN6thrust20THRUST_200700_890_NS6system6detail9bad_allocE:
	.string	"N6thrust20THRUST_200700_890_NS6system6detail9bad_allocE"
	.weak	_ZTIN6thrust20THRUST_200700_890_NS6system6detail9bad_allocE
	.section	.data.rel.ro._ZTIN6thrust20THRUST_200700_890_NS6system6detail9bad_allocE,"awG",@progbits,_ZTIN6thrust20THRUST_200700_890_NS6system6detail9bad_allocE,comdat
	.align 8
	.type	_ZTIN6thrust20THRUST_200700_890_NS6system6detail9bad_allocE, @object
	.size	_ZTIN6thrust20THRUST_200700_890_NS6system6detail9bad_allocE, 24
_ZTIN6thrust20THRUST_200700_890_NS6system6detail9bad_allocE:
	.quad	_ZTVN10__cxxabiv120__si_class_type_infoE+16
	.quad	_ZTSN6thrust20THRUST_200700_890_NS6system6detail9bad_allocE
	.quad	_ZTISt9bad_alloc
	.weak	_ZTVN6thrust20THRUST_200700_890_NS6system6detail9bad_allocE
	.section	.data.rel.ro.local._ZTVN6thrust20THRUST_200700_890_NS6system6detail9bad_allocE,"awG",@progbits,_ZTVN6thrust20THRUST_200700_890_NS6system6detail9bad_allocE,comdat
	.align 8
	.type	_ZTVN6thrust20THRUST_200700_890_NS6system6detail9bad_allocE, @object
	.size	_ZTVN6thrust20THRUST_200700_890_NS6system6detail9bad_allocE, 40
_ZTVN6thrust20THRUST_200700_890_NS6system6detail9bad_allocE:
	.quad	0
	.quad	_ZTIN6thrust20THRUST_200700_890_NS6system6detail9bad_allocE
	.quad	_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocD1Ev
	.quad	_ZN6thrust20THRUST_200700_890_NS6system6detail9bad_allocD0Ev
	.quad	_ZNK6thrust20THRUST_200700_890_NS6system6detail9bad_alloc4whatEv
	.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
	.type	_ZN6thrust20THRUST_200700_890_NSL6deviceE, @object
	.size	_ZN6thrust20THRUST_200700_890_NSL6deviceE, 1
_ZN6thrust20THRUST_200700_890_NSL6deviceE:
	.zero	1
	.type	_ZN6thrust20THRUST_200700_890_NS6system3cppL3parE, @object
	.size	_ZN6thrust20THRUST_200700_890_NS6system3cppL3parE, 1
_ZN6thrust20THRUST_200700_890_NS6system3cppL3parE:
	.zero	1
	.weak	_ZN4cuda3std3__420unreachable_sentinelE
	.section	.rodata._ZN4cuda3std3__420unreachable_sentinelE,"aG",@progbits,_ZN4cuda3std3__420unreachable_sentinelE,comdat
	.type	_ZN4cuda3std3__420unreachable_sentinelE, @gnu_unique_object
	.size	_ZN4cuda3std3__420unreachable_sentinelE, 1
_ZN4cuda3std3__420unreachable_sentinelE:
	.zero	1
	.weak	_ZN4cuda3std3__45__cpo5crendE
	.section	.rodata._ZN4cuda3std3__45__cpo5crendE,"aG",@progbits,_ZN4cuda3std3__45__cpo5crendE,comdat
	.type	_ZN4cuda3std3__45__cpo5crendE, @gnu_unique_object
	.size	_ZN4cuda3std3__45__cpo5crendE, 1
_ZN4cuda3std3__45__cpo5crendE:
	.zero	1
	.weak	_ZN4cuda3std3__45__cpo7crbeginE
	.section	.rodata._ZN4cuda3std3__45__cpo7crbeginE,"aG",@progbits,_ZN4cuda3std3__45__cpo7crbeginE,comdat
	.type	_ZN4cuda3std3__45__cpo7crbeginE, @gnu_unique_object
	.size	_ZN4cuda3std3__45__cpo7crbeginE, 1
_ZN4cuda3std3__45__cpo7crbeginE:
	.zero	1
	.weak	_ZN4cuda3std3__45__cpo4rendE
	.section	.rodata._ZN4cuda3std3__45__cpo4rendE,"aG",@progbits,_ZN4cuda3std3__45__cpo4rendE,comdat
	.type	_ZN4cuda3std3__45__cpo4rendE, @gnu_unique_object
	.size	_ZN4cuda3std3__45__cpo4rendE, 1
_ZN4cuda3std3__45__cpo4rendE:
	.zero	1
	.weak	_ZN4cuda3std3__45__cpo6rbeginE
	.section	.rodata._ZN4cuda3std3__45__cpo6rbeginE,"aG",@progbits,_ZN4cuda3std3__45__cpo6rbeginE,comdat
	.type	_ZN4cuda3std3__45__cpo6rbeginE, @gnu_unique_object
	.size	_ZN4cuda3std3__45__cpo6rbeginE, 1
_ZN4cuda3std3__45__cpo6rbeginE:
	.zero	1
	.weak	_ZN4cuda3std6ranges3__45__cpo8distanceE
	.section	.rodata._ZN4cuda3std6ranges3__45__cpo8distanceE,"aG",@progbits,_ZN4cuda3std6ranges3__45__cpo8distanceE,comdat
	.type	_ZN4cuda3std6ranges3__45__cpo8distanceE, @gnu_unique_object
	.size	_ZN4cuda3std6ranges3__45__cpo8distanceE, 1
_ZN4cuda3std6ranges3__45__cpo8distanceE:
	.zero	1
	.weak	_ZN4cuda3std6ranges3__45__cpo5ssizeE
	.section	.rodata._ZN4cuda3std6ranges3__45__cpo5ssizeE,"aG",@progbits,_ZN4cuda3std6ranges3__45__cpo5ssizeE,comdat
	.type	_ZN4cuda3std6ranges3__45__cpo5ssizeE, @gnu_unique_object
	.size	_ZN4cuda3std6ranges3__45__cpo5ssizeE, 1
_ZN4cuda3std6ranges3__45__cpo5ssizeE:
	.zero	1
	.weak	_ZN4cuda3std6ranges3__45__cpo4sizeE
	.section	.rodata._ZN4cuda3std6ranges3__45__cpo4sizeE,"aG",@progbits,_ZN4cuda3std6ranges3__45__cpo4sizeE,comdat
	.type	_ZN4cuda3std6ranges3__45__cpo4sizeE, @gnu_unique_object
	.size	_ZN4cuda3std6ranges3__45__cpo4sizeE, 1
_ZN4cuda3std6ranges3__45__cpo4sizeE:
	.zero	1
	.weak	_ZN4cuda3std6ranges3__45__cpo5cdataE
	.section	.rodata._ZN4cuda3std6ranges3__45__cpo5cdataE,"aG",@progbits,_ZN4cuda3std6ranges3__45__cpo5cdataE,comdat
	.type	_ZN4cuda3std6ranges3__45__cpo5cdataE, @gnu_unique_object
	.size	_ZN4cuda3std6ranges3__45__cpo5cdataE, 1
_ZN4cuda3std6ranges3__45__cpo5cdataE:
	.zero	1
	.weak	_ZN4cuda3std6ranges3__45__cpo4dataE
	.section	.rodata._ZN4cuda3std6ranges3__45__cpo4dataE,"aG",@progbits,_ZN4cuda3std6ranges3__45__cpo4dataE,comdat
	.type	_ZN4cuda3std6ranges3__45__cpo4dataE, @gnu_unique_object
	.size	_ZN4cuda3std6ranges3__45__cpo4dataE, 1
_ZN4cuda3std6ranges3__45__cpo4dataE:
	.zero	1
	.weak	_ZN4cuda3std6ranges3__45__cpo4prevE
	.section	.rodata._ZN4cuda3std6ranges3__45__cpo4prevE,"aG",@progbits,_ZN4cuda3std6ranges3__45__cpo4prevE,comdat
	.type	_ZN4cuda3std6ranges3__45__cpo4prevE, @gnu_unique_object
	.size	_ZN4cuda3std6ranges3__45__cpo4prevE, 1
_ZN4cuda3std6ranges3__45__cpo4prevE:
	.zero	1
	.weak	_ZN4cuda3std6ranges3__45__cpo4nextE
	.section	.rodata._ZN4cuda3std6ranges3__45__cpo4nextE,"aG",@progbits,_ZN4cuda3std6ranges3__45__cpo4nextE,comdat
	.type	_ZN4cuda3std6ranges3__45__cpo4nextE, @gnu_unique_object
	.size	_ZN4cuda3std6ranges3__45__cpo4nextE, 1
_ZN4cuda3std6ranges3__45__cpo4nextE:
	.zero	1
	.weak	_ZN4cuda3std6ranges3__45__cpo9iter_swapE
	.section	.rodata._ZN4cuda3std6ranges3__45__cpo9iter_swapE,"aG",@progbits,_ZN4cuda3std6ranges3__45__cpo9iter_swapE,comdat
	.type	_ZN4cuda3std6ranges3__45__cpo9iter_swapE, @gnu_unique_object
	.size	_ZN4cuda3std6ranges3__45__cpo9iter_swapE, 1
_ZN4cuda3std6ranges3__45__cpo9iter_swapE:
	.zero	1
	.weak	_ZN4cuda3std6ranges3__45__cpo4cendE
	.section	.rodata._ZN4cuda3std6ranges3__45__cpo4cendE,"aG",@progbits,_ZN4cuda3std6ranges3__45__cpo4cendE,comdat
	.type	_ZN4cuda3std6ranges3__45__cpo4cendE, @gnu_unique_object
	.size	_ZN4cuda3std6ranges3__45__cpo4cendE, 1
_ZN4cuda3std6ranges3__45__cpo4cendE:
	.zero	1
	.weak	_ZN4cuda3std6ranges3__45__cpo6cbeginE
	.section	.rodata._ZN4cuda3std6ranges3__45__cpo6cbeginE,"aG",@progbits,_ZN4cuda3std6ranges3__45__cpo6cbeginE,comdat
	.type	_ZN4cuda3std6ranges3__45__cpo6cbeginE, @gnu_unique_object
	.size	_ZN4cuda3std6ranges3__45__cpo6cbeginE, 1
_ZN4cuda3std6ranges3__45__cpo6cbeginE:
	.zero	1
	.weak	_ZN4cuda3std6ranges3__45__cpo3endE
	.section	.rodata._ZN4cuda3std6ranges3__45__cpo3endE,"aG",@progbits,_ZN4cuda3std6ranges3__45__cpo3endE,comdat
	.type	_ZN4cuda3std6ranges3__45__cpo3endE, @gnu_unique_object
	.size	_ZN4cuda3std6ranges3__45__cpo3endE, 1
_ZN4cuda3std6ranges3__45__cpo3endE:
	.zero	1
	.weak	_ZN4cuda3std6ranges3__45__cpo5beginE
	.section	.rodata._ZN4cuda3std6ranges3__45__cpo5beginE,"aG",@progbits,_ZN4cuda3std6ranges3__45__cpo5beginE,comdat
	.type	_ZN4cuda3std6ranges3__45__cpo5beginE, @gnu_unique_object
	.size	_ZN4cuda3std6ranges3__45__cpo5beginE, 1
_ZN4cuda3std6ranges3__45__cpo5beginE:
	.zero	1
	.weak	_ZN4cuda3std3__47nulloptE
	.section	.rodata._ZN4cuda3std3__47nulloptE,"aG",@progbits,_ZN4cuda3std3__47nulloptE,comdat
	.type	_ZN4cuda3std3__47nulloptE, @gnu_unique_object
	.size	_ZN4cuda3std3__47nulloptE, 1
_ZN4cuda3std3__47nulloptE:
	.zero	1
	.hidden	InitializeInjectionNvtx2_fnptr
	.weak	InitializeInjectionNvtx2_fnptr
	.bss
	.align 8
	.type	InitializeInjectionNvtx2_fnptr, @object
	.size	InitializeInjectionNvtx2_fnptr, 8
InitializeInjectionNvtx2_fnptr:
	.zero	8
	.hidden	nvtxGlobals_v3
	.weak	nvtxGlobals_v3
	.section	.data.rel.local,"aw"
	.align 32
	.type	nvtxGlobals_v3, @object
	.size	nvtxGlobals_v3, 1168
nvtxGlobals_v3:
	.long	0
	.zero	4
	.quad	16
	.quad	nvtxEtiGetModuleFunctionTable_v3
	.quad	24
	.long	3
	.long	0
	.quad	nvtxEtiSetInjectionNvtxVersion_v3
	.quad	nvtxMarkEx_impl_init_v3
	.quad	nvtxMarkA_impl_init_v3
	.quad	nvtxMarkW_impl_init_v3
	.quad	nvtxRangeStartEx_impl_init_v3
	.quad	nvtxRangeStartA_impl_init_v3
	.quad	nvtxRangeStartW_impl_init_v3
	.quad	nvtxRangeEnd_impl_init_v3
	.quad	nvtxRangePushEx_impl_init_v3
	.quad	nvtxRangePushA_impl_init_v3
	.quad	nvtxRangePushW_impl_init_v3
	.quad	nvtxRangePop_impl_init_v3
	.quad	nvtxNameCategoryA_impl_init_v3
	.quad	nvtxNameCategoryW_impl_init_v3
	.quad	nvtxNameOsThreadA_impl_init_v3
	.quad	nvtxNameOsThreadW_impl_init_v3
	.quad	nvtxNameCuDeviceA_impl_init_v3
	.quad	nvtxNameCuDeviceW_impl_init_v3
	.quad	nvtxNameCuContextA_impl_init_v3
	.quad	nvtxNameCuContextW_impl_init_v3
	.quad	nvtxNameCuStreamA_impl_init_v3
	.quad	nvtxNameCuStreamW_impl_init_v3
	.quad	nvtxNameCuEventA_impl_init_v3
	.quad	nvtxNameCuEventW_impl_init_v3
	.quad	nvtxNameClDeviceA_impl_init_v3
	.quad	nvtxNameClDeviceW_impl_init_v3
	.quad	nvtxNameClContextA_impl_init_v3
	.quad	nvtxNameClContextW_impl_init_v3
	.quad	nvtxNameClCommandQueueA_impl_init_v3
	.quad	nvtxNameClCommandQueueW_impl_init_v3
	.quad	nvtxNameClMemObjectA_impl_init_v3
	.quad	nvtxNameClMemObjectW_impl_init_v3
	.quad	nvtxNameClSamplerA_impl_init_v3
	.quad	nvtxNameClSamplerW_impl_init_v3
	.quad	nvtxNameClProgramA_impl_init_v3
	.quad	nvtxNameClProgramW_impl_init_v3
	.quad	nvtxNameClEventA_impl_init_v3
	.quad	nvtxNameClEventW_impl_init_v3
	.quad	nvtxNameCudaDeviceA_impl_init_v3
	.quad	nvtxNameCudaDeviceW_impl_init_v3
	.quad	nvtxNameCudaStreamA_impl_init_v3
	.quad	nvtxNameCudaStreamW_impl_init_v3
	.quad	nvtxNameCudaEventA_impl_init_v3
	.quad	nvtxNameCudaEventW_impl_init_v3
	.quad	nvtxDomainMarkEx_impl_init_v3
	.quad	nvtxDomainRangeStartEx_impl_init_v3
	.quad	nvtxDomainRangeEnd_impl_init_v3
	.quad	nvtxDomainRangePushEx_impl_init_v3
	.quad	nvtxDomainRangePop_impl_init_v3
	.quad	nvtxDomainResourceCreate_impl_init_v3
	.quad	nvtxDomainResourceDestroy_impl_init_v3
	.quad	nvtxDomainNameCategoryA_impl_init_v3
	.quad	nvtxDomainNameCategoryW_impl_init_v3
	.quad	nvtxDomainRegisterStringA_impl_init_v3
	.quad	nvtxDomainRegisterStringW_impl_init_v3
	.quad	nvtxDomainCreateA_impl_init_v3
	.quad	nvtxDomainCreateW_impl_init_v3
	.quad	nvtxDomainDestroy_impl_init_v3
	.quad	nvtxInitialize_impl_init_v3
	.quad	nvtxDomainSyncUserCreate_impl_init_v3
	.quad	nvtxDomainSyncUserDestroy_impl_init_v3
	.quad	nvtxDomainSyncUserAcquireStart_impl_init_v3
	.quad	nvtxDomainSyncUserAcquireFailed_impl_init_v3
	.quad	nvtxDomainSyncUserAcquireSuccess_impl_init_v3
	.quad	nvtxDomainSyncUserReleasing_impl_init_v3
	.quad	0
	.quad	nvtxGlobals_v3+48
	.quad	nvtxGlobals_v3+56
	.quad	nvtxGlobals_v3+64
	.quad	nvtxGlobals_v3+72
	.quad	nvtxGlobals_v3+80
	.quad	nvtxGlobals_v3+88
	.quad	nvtxGlobals_v3+96
	.quad	nvtxGlobals_v3+104
	.quad	nvtxGlobals_v3+112
	.quad	nvtxGlobals_v3+120
	.quad	nvtxGlobals_v3+128
	.quad	nvtxGlobals_v3+136
	.quad	nvtxGlobals_v3+144
	.quad	nvtxGlobals_v3+152
	.quad	nvtxGlobals_v3+160
	.quad	0
	.quad	0
	.quad	nvtxGlobals_v3+168
	.quad	nvtxGlobals_v3+176
	.quad	nvtxGlobals_v3+184
	.quad	nvtxGlobals_v3+192
	.quad	nvtxGlobals_v3+200
	.quad	nvtxGlobals_v3+208
	.quad	nvtxGlobals_v3+216
	.quad	nvtxGlobals_v3+224
	.quad	0
	.quad	0
	.quad	nvtxGlobals_v3+232
	.quad	nvtxGlobals_v3+240
	.quad	nvtxGlobals_v3+248
	.quad	nvtxGlobals_v3+256
	.quad	nvtxGlobals_v3+264
	.quad	nvtxGlobals_v3+272
	.quad	nvtxGlobals_v3+280
	.quad	nvtxGlobals_v3+288
	.quad	nvtxGlobals_v3+296
	.quad	nvtxGlobals_v3+304
	.quad	nvtxGlobals_v3+312
	.quad	nvtxGlobals_v3+320
	.quad	nvtxGlobals_v3+328
	.quad	nvtxGlobals_v3+336
	.quad	0
	.quad	0
	.quad	nvtxGlobals_v3+344
	.quad	nvtxGlobals_v3+352
	.quad	nvtxGlobals_v3+360
	.quad	nvtxGlobals_v3+368
	.quad	nvtxGlobals_v3+376
	.quad	nvtxGlobals_v3+384
	.quad	0
	.quad	0
	.quad	nvtxGlobals_v3+392
	.quad	nvtxGlobals_v3+400
	.quad	nvtxGlobals_v3+408
	.quad	nvtxGlobals_v3+416
	.quad	nvtxGlobals_v3+424
	.quad	nvtxGlobals_v3+432
	.quad	nvtxGlobals_v3+440
	.quad	nvtxGlobals_v3+448
	.quad	nvtxGlobals_v3+456
	.quad	nvtxGlobals_v3+464
	.quad	nvtxGlobals_v3+472
	.quad	nvtxGlobals_v3+480
	.quad	nvtxGlobals_v3+488
	.quad	nvtxGlobals_v3+496
	.quad	nvtxGlobals_v3+504
	.quad	0
	.quad	0
	.quad	nvtxGlobals_v3+512
	.quad	nvtxGlobals_v3+520
	.quad	nvtxGlobals_v3+528
	.quad	nvtxGlobals_v3+536
	.quad	nvtxGlobals_v3+544
	.quad	nvtxGlobals_v3+552
	.quad	0
	.section	.rodata
	.type	_ZN6thrust20THRUST_200700_890_NS8cuda_cubL10par_nosyncE, @object
	.size	_ZN6thrust20THRUST_200700_890_NS8cuda_cubL10par_nosyncE, 1
_ZN6thrust20THRUST_200700_890_NS8cuda_cubL10par_nosyncE:
	.zero	1
	.type	_ZN6thrust20THRUST_200700_890_NS8cuda_cubL3parE, @object
	.size	_ZN6thrust20THRUST_200700_890_NS8cuda_cubL3parE, 1
_ZN6thrust20THRUST_200700_890_NS8cuda_cubL3parE:
	.zero	1
	.type	_ZN6thrust20THRUST_200700_890_NS12placeholdersL3_10E, @object
	.size	_ZN6thrust20THRUST_200700_890_NS12placeholdersL3_10E, 1
_ZN6thrust20THRUST_200700_890_NS12placeholdersL3_10E:
	.zero	1
	.type	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_9E, @object
	.size	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_9E, 1
_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_9E:
	.zero	1
	.type	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_8E, @object
	.size	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_8E, 1
_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_8E:
	.zero	1
	.type	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_7E, @object
	.size	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_7E, 1
_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_7E:
	.zero	1
	.type	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_6E, @object
	.size	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_6E, 1
_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_6E:
	.zero	1
	.type	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_5E, @object
	.size	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_5E, 1
_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_5E:
	.zero	1
	.type	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_4E, @object
	.size	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_4E, 1
_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_4E:
	.zero	1
	.type	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_3E, @object
	.size	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_3E, 1
_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_3E:
	.zero	1
	.type	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_2E, @object
	.size	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_2E, 1
_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_2E:
	.zero	1
	.type	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_1E, @object
	.size	_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_1E, 1
_ZN6thrust20THRUST_200700_890_NS12placeholdersL2_1E:
	.zero	1
	.type	_ZN6thrust20THRUST_200700_890_NSL3seqE, @object
	.size	_ZN6thrust20THRUST_200700_890_NSL3seqE, 1
_ZN6thrust20THRUST_200700_890_NSL3seqE:
	.zero	1
	.type	_ZN6thrust20THRUST_200700_890_NS6system6detail10sequentialL3seqE, @object
	.size	_ZN6thrust20THRUST_200700_890_NS6system6detail10sequentialL3seqE, 1
_ZN6thrust20THRUST_200700_890_NS6system6detail10sequentialL3seqE:
	.zero	1
	.weak	_ZN4cuda3std6ranges3__45__cpo7advanceE
	.section	.rodata._ZN4cuda3std6ranges3__45__cpo7advanceE,"aG",@progbits,_ZN4cuda3std6ranges3__45__cpo7advanceE,comdat
	.type	_ZN4cuda3std6ranges3__45__cpo7advanceE, @gnu_unique_object
	.size	_ZN4cuda3std6ranges3__45__cpo7advanceE, 1
_ZN4cuda3std6ranges3__45__cpo7advanceE:
	.zero	1
	.hidden	_ZN4cuda3std3__438_GLOBAL__N__69514e12_6_hog_cu_e954d3836ignoreE
	.weak	_ZN4cuda3std3__438_GLOBAL__N__69514e12_6_hog_cu_e954d3836ignoreE
	.section	.rodata._ZN4cuda3std3__438_GLOBAL__N__69514e12_6_hog_cu_e954d3836ignoreE,"aG",@progbits,_ZN4cuda3std3__438_GLOBAL__N__69514e12_6_hog_cu_e954d3836ignoreE,comdat
	.type	_ZN4cuda3std3__438_GLOBAL__N__69514e12_6_hog_cu_e954d3836ignoreE, @gnu_unique_object
	.size	_ZN4cuda3std3__438_GLOBAL__N__69514e12_6_hog_cu_e954d3836ignoreE, 1
_ZN4cuda3std3__438_GLOBAL__N__69514e12_6_hog_cu_e954d3836ignoreE:
	.zero	1
	.weak	_ZN4cuda3std3__48in_placeE
	.section	.rodata._ZN4cuda3std3__48in_placeE,"aG",@progbits,_ZN4cuda3std3__48in_placeE,comdat
	.type	_ZN4cuda3std3__48in_placeE, @gnu_unique_object
	.size	_ZN4cuda3std3__48in_placeE, 1
_ZN4cuda3std3__48in_placeE:
	.zero	1
	.weak	_ZN4cuda3std3__45__cpo4cendE
	.section	.rodata._ZN4cuda3std3__45__cpo4cendE,"aG",@progbits,_ZN4cuda3std3__45__cpo4cendE,comdat
	.type	_ZN4cuda3std3__45__cpo4cendE, @gnu_unique_object
	.size	_ZN4cuda3std3__45__cpo4cendE, 1
_ZN4cuda3std3__45__cpo4cendE:
	.zero	1
	.weak	_ZN4cuda3std3__45__cpo6cbeginE
	.section	.rodata._ZN4cuda3std3__45__cpo6cbeginE,"aG",@progbits,_ZN4cuda3std3__45__cpo6cbeginE,comdat
	.type	_ZN4cuda3std3__45__cpo6cbeginE, @gnu_unique_object
	.size	_ZN4cuda3std3__45__cpo6cbeginE, 1
_ZN4cuda3std3__45__cpo6cbeginE:
	.zero	1
	.weak	_ZN4cuda3std3__45__cpo3endE
	.section	.rodata._ZN4cuda3std3__45__cpo3endE,"aG",@progbits,_ZN4cuda3std3__45__cpo3endE,comdat
	.type	_ZN4cuda3std3__45__cpo3endE, @gnu_unique_object
	.size	_ZN4cuda3std3__45__cpo3endE, 1
_ZN4cuda3std3__45__cpo3endE:
	.zero	1
	.weak	_ZN4cuda3std3__45__cpo5beginE
	.section	.rodata._ZN4cuda3std3__45__cpo5beginE,"aG",@progbits,_ZN4cuda3std3__45__cpo5beginE,comdat
	.type	_ZN4cuda3std3__45__cpo5beginE, @gnu_unique_object
	.size	_ZN4cuda3std3__45__cpo5beginE, 1
_ZN4cuda3std3__45__cpo5beginE:
	.zero	1
	.weak	_ZN4cuda3std3__419piecewise_constructE
	.section	.rodata._ZN4cuda3std3__419piecewise_constructE,"aG",@progbits,_ZN4cuda3std3__419piecewise_constructE,comdat
	.type	_ZN4cuda3std3__419piecewise_constructE, @gnu_unique_object
	.size	_ZN4cuda3std3__419piecewise_constructE, 1
_ZN4cuda3std3__419piecewise_constructE:
	.zero	1
	.weak	_ZN4cuda3std6ranges3__45__cpo9iter_moveE
	.section	.rodata._ZN4cuda3std6ranges3__45__cpo9iter_moveE,"aG",@progbits,_ZN4cuda3std6ranges3__45__cpo9iter_moveE,comdat
	.type	_ZN4cuda3std6ranges3__45__cpo9iter_moveE, @gnu_unique_object
	.size	_ZN4cuda3std6ranges3__45__cpo9iter_moveE, 1
_ZN4cuda3std6ranges3__45__cpo9iter_moveE:
	.zero	1
	.weak	_ZN4cuda3std6ranges3__45__cpo4swapE
	.section	.rodata._ZN4cuda3std6ranges3__45__cpo4swapE,"aG",@progbits,_ZN4cuda3std6ranges3__45__cpo4swapE,comdat
	.type	_ZN4cuda3std6ranges3__45__cpo4swapE, @gnu_unique_object
	.size	_ZN4cuda3std6ranges3__45__cpo4swapE, 1
_ZN4cuda3std6ranges3__45__cpo4swapE:
	.zero	1
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC59:
	.long	1077936128
	.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:

#include <hip/hip_runtime.h>

#include <math.h>
#include <hip/hip_math_constants.h>

#include <stdlib.h>
#include <vector>
#include <algorithm>

#include <thrust/host_vector.h>
#include <thrust/device_vector.h>
#include <thrust/generate.h>
#include <thrust/sort.h>
#include <thrust/copy.h>
#include <cstdlib>

#define BINNUM 9
#define CELLSIZE 6
#define CELLBLOCKSIZE 3
#define STEPSIZE 3
#define K 5
#define KERNEL_WIDTH 31

__global__ void computeGradient(float* outputGr,int* outputTag,float* input,unsigned int width,unsigned int height)
{
	unsigned int tx = blockIdx.x*blockDim.x + threadIdx.x;
	unsigned int ty = blockIdx.y*blockDim.y + threadIdx.y; 

	float gradientX, gradientY;
	float angle;
	int nAngle;
	int indTag;

	if(tx < width && ty < height)
	{
		if(tx == 0) //image boundary
			gradientX = input[tx+1 + ty*width] - input[tx + ty*width];
		else if(tx == width-1)
			gradientX = input[tx + ty*width] - input[tx-1 + ty*width];
		else if(ty == 0 || ty == height-1)
			gradientX = 0;
		else
			gradientX = input[tx+1 + ty*width] - input[tx-1 + ty*width];

		
		if(ty == 0) //image boundary
			gradientY = input[tx + (ty+1)*width] - input[tx + (ty)*width];
		else if (ty == height-1)
			gradientY = input[tx + (ty)*width] - input[tx + (ty-1)*width];
		else if (tx ==0 || tx == width-1)
			gradientY = 0;
		else
			gradientY = input[tx + (ty+1)*width] - input[tx + (ty-1)*width];

		outputGr[tx + ty*width] = sqrt(gradientX*gradientX + gradientY*gradientY);
		//outputGr[tx + ty*width] = gradientX;

		if(gradientX == 0)
			gradientX = 1e-5;
		//angle = ((atan(gradientY/gradientX)));
		angle = ((atan(gradientY/gradientX)+(HIP_PI_F/2))*180)/HIP_PI_F;
		nAngle = 180/BINNUM;
		indTag = ceil(angle/nAngle);
		if(indTag == 0)
			indTag=1;
		else if(indTag==10)
			indTag=9;


		outputTag[tx + ty*width] = indTag;
	}

	
	//outputX[tx + ty*width] = gradientX;
	//outputY[tx + ty*width] = gradientY;
}

__global__ void computeBinHOG(float* outputHOGFeature,float* outputWeight,int *outputPosition,int* outputOffset,float* Gr,int* Tag,unsigned int xStepNum,unsigned int yStepNum,
								unsigned int width,unsigned int height)
{
	unsigned int tx = blockIdx.x*blockDim.x + threadIdx.x;
	unsigned int ty = blockIdx.y*blockDim.y + threadIdx.y; 

	int centerX = floor(float(width)/2.0+0.5) - 1;
	int centerY = floor(float(height)/2.0+0.5) - 1;

	if(tx < xStepNum && ty < yStepNum)
	{
	//pixel position of center
	int x = tx*STEPSIZE+1.5*CELLSIZE-1;
	int y = ty*STEPSIZE+1.5*CELLSIZE-1;

	int leftupperX = x - 1.5*CELLSIZE +1 ;
	int leftupperY = y - 1.5*CELLSIZE +1 ;

	//__shared__ float tmp[CELLSIZE][CELLSIZE];
	float tmp[CELLBLOCKSIZE*CELLBLOCKSIZE][BINNUM] = {0.0f};

	int inc = 0;
	for(int i = 0; i < CELLBLOCKSIZE;i++)
	{
		for(int j=0; j<CELLBLOCKSIZE;j++)
		{
			int indX = leftupperX + j*CELLSIZE;
			int indY = leftupperY + i*CELLSIZE;
			for(int p=0;p<CELLSIZE;p++)
			{
				for(int q=0;q<CELLSIZE;q++)
				{
					//int currendindX = indX+p;
					//int currendindY = indY+q;
					int binind = Tag[indX+q + width*(indY+p)]-1;
					float tmpdebug = Gr[indX+q + width*(indY+p)];
					tmp[inc][binind] +=tmpdebug;
					//tmp[inc][binind] += Gr[indX+q + width*(indY+p)];
				}
			}
			inc++;
		}
	}

	float norm = 0.0f;
	int nonempty = 0;
	for(int p=0;p<CELLBLOCKSIZE*CELLBLOCKSIZE;p++)
	{
		for(int q=0;q<BINNUM;q++)
		{
			norm+= (tmp[p][q]*tmp[p][q]);
			if(tmp[p][q]>0)
				nonempty ++;
		}
	}
	norm = sqrt(norm);
	norm +=1e-5;
	//if(norm <= 0.0f)
	//	norm = 1e-5;
	//float acc = 0.0;
	for(int p=0;p<CELLBLOCKSIZE*CELLBLOCKSIZE;p++)
	{
		for(int q=0;q<BINNUM;q++)
		{
			//outputHOGFeature[ (tx+ty*xStepNum)*CELLBLOCKSIZE*CELLBLOCKSIZE*BINNUM +(q+p*BINNUM)] = tmp[p][q]/norm;
			outputHOGFeature[ (ty+tx*yStepNum)*CELLBLOCKSIZE*CELLBLOCKSIZE*BINNUM +(q+p*BINNUM)] = tmp[p][q]/norm;
			//acc +=tmp[p][q]/norm;
		}
	}
	/*outputPosition[(tx + ty*xStepNum)*2] = x;
	outputPosition[(tx + ty*xStepNum)*2 + 1] = y;

	outputOffset[(tx + ty*xStepNum)*2] = centerX - x;
	outputOffset[(tx + ty*xStepNum)*2 + 1] = centerY - y;

	outputWeight[tx + ty*xStepNum] = float(nonempty)/81.0f;*/

	outputPosition[(ty+tx*yStepNum)*2] = x;
	outputPosition[(ty+tx*yStepNum)*2 + 1] = y;

	outputOffset[(ty+tx*yStepNum)*2] = centerX - x;
	outputOffset[(ty+tx*yStepNum)*2 + 1] = centerY - y;

	outputWeight[(ty+tx*yStepNum)] = float(nonempty)/81.0f;
	//outputWeight[(ty+tx*yStepNum)] = float(acc)/1.0f;
	}
}

__global__ void computeBinHOGTar(float* outputHOGFeature,int *outputPosition,float* Gr,int* Tag,unsigned int xStepNum,unsigned int yStepNum,
								unsigned int width,unsigned int height)
{
	unsigned int tx = blockIdx.x*blockDim.x + threadIdx.x;
	unsigned int ty = blockIdx.y*blockDim.y + threadIdx.y; 

	if(tx < xStepNum && ty < yStepNum)
	{
	//pixel position of center
	int x = tx*STEPSIZE+1.5*CELLSIZE-1;
	int y = ty*STEPSIZE+1.5*CELLSIZE-1;

	int leftupperX = x - 1.5*CELLSIZE +1 ;
	int leftupperY = y - 1.5*CELLSIZE +1 ;

	//__shared__ float tmp[CELLSIZE][CELLSIZE];
	float tmp[CELLBLOCKSIZE*CELLBLOCKSIZE][BINNUM] = {0.0f};

	int inc = 0;
	for(int i = 0; i < CELLBLOCKSIZE;i++)
	{
		for(int j=0; j<CELLBLOCKSIZE;j++)
		{
			int indX = leftupperX + j*CELLSIZE;
			int indY = leftupperY + i*CELLSIZE;
			for(int p=0;p<CELLSIZE;p++)
			{
				for(int q=0;q<CELLSIZE;q++)
				{
					//int currendindX = indX+p;
					//int currendindY = indY+q;
					int binind = Tag[indX+q + width*(indY+p)]-1;
					tmp[inc][binind] += Gr[indX+q + width*(indY+p)];
				}
			}
			inc++;
		}
	}

	float norm = 0.0f;
	int nonempty = 0;
	for(int p=0;p<CELLBLOCKSIZE*CELLBLOCKSIZE;p++)
	{
		for(int q=0;q<BINNUM;q++)
		{
			norm+= (tmp[p][q]*tmp[p][q]);
			if(tmp[p][q]>0)
				nonempty ++;
		}
	}
	norm = sqrt(norm);
	norm +=1e-5;
	//if(norm <= 0.0f)
	//	norm = 1e-5;
	for(int p=0;p<CELLBLOCKSIZE*CELLBLOCKSIZE;p++)
	{
		for(int q=0;q<BINNUM;q++)
		{
			//outputHOGFeature[ (tx+ty*xStepNum)*CELLBLOCKSIZE*CELLBLOCKSIZE*BINNUM +(q+p*BINNUM)] = tmp[p][q]/norm;
			outputHOGFeature[ (ty+tx*yStepNum)*CELLBLOCKSIZE*CELLBLOCKSIZE*BINNUM +(q+p*BINNUM)] = tmp[p][q]/norm;
		}
	}
	//outputPosition[(tx + ty*xStepNum)*2] = x;
	//outputPosition[(tx + ty*xStepNum)*2 + 1] = y;
	outputPosition[(ty+tx*yStepNum)*2] = x;
	outputPosition[(ty+tx*yStepNum)*2 + 1] = y;
	}
}

__global__ void computeDistance(float* output,float* hog,float* hogTar,unsigned int width,unsigned int height)
{
	/*__shared__ float tmp[2][81];
	unsigned int bx = blockIdx.x * 1;
	unsigned int by = blockIdx.y * 1;
	unsigned int tx = threadIdx.x * 1;

	if(tx < 81)
	{
		tmp[0][tx] = hog[tx + bx*CELLBLOCKSIZE*CELLBLOCKSIZE*BINNUM];
		tmp[1][tx] = hogTar[tx + by*CELLBLOCKSIZE*CELLBLOCKSIZE*BINNUM];
	}
		__syncthreads();

		float perDistance=0.0;
		float tmp1 = 0.0;
		float tmp2 = 0.0;
		for(int i=0;i<81;i++)
		{
			tmp1 = tmp[0][i];
			tmp2 = tmp[1][i];
			perDistance += ((tmp1-tmp2)*(tmp1-tmp2))/(tmp1 + tmp2 + 1e-5); 
		}

		output[bx + by*width] = 0.5 * perDistance;*/

	unsigned int tx = blockIdx.x*blockDim.x + threadIdx.x;
	unsigned int ty = blockIdx.y*blockDim.y + threadIdx.y; 

	if(tx < width && ty < height)
	{
		float perDistance = 0.0;
		//float tmp[CELLBLOCKSIZE*CELLBLOCKSIZE*BINNUM]= {0.0f};
		//float tmpTar[CELLBLOCKSIZE*CELLBLOCKSIZE*BINNUM]= {0.0f};
		float tmp = 0.0;
		float tmpTar = 0.0;
		//int i=0;
		for(int i =0;i<CELLBLOCKSIZE*CELLBLOCKSIZE*BINNUM;i++)
		{

			tmp = hog[i + tx*CELLBLOCKSIZE*CELLBLOCKSIZE*BINNUM];
			tmpTar = hogTar[i + ty*CELLBLOCKSIZE*CELLBLOCKSIZE*BINNUM];

			//float tmp = hog[i*(width) + tx];
			//float tmpTar = hogTar[i*height + ty];

			perDistance = perDistance + ((tmp-tmpTar)*(tmp-tmpTar))/(tmp + tmpTar + 1e-5);
			//perDistance=1;
		}

		output[tx + ty*width] = 0.5 * perDistance;
		//output[ty + tx*height] = 0.5 * perDistance;
	}
}

__global__ void vote(float *OutputVoteMatrix,float *HOGDistance, float *weight,int *offset,int *samplepixel,
	                   unsigned int width,unsigned int height,unsigned int voteWidth,unsigned int voteHeight)
{
	unsigned int tx = blockIdx.x*blockDim.x + threadIdx.x;
	unsigned int ty = blockIdx.y*blockDim.y + threadIdx.y; 
	if(tx < width && ty < height)
	{
		//if (HOGDistance[tx + ty*width] <= threshold[ty])
		if (HOGDistance[tx + ty*width] <= 2)//
		{
			int x = samplepixel[ty*2];
			int y = samplepixel[ty*2+1];

			int offsetx = offset[tx*2];
			int offsety = offset[tx*2+1];

			int centerx = x + offsetx;
			int centery = y + offsety;

			if(centerx >= 0 && centery >= 0 && centerx < voteWidth && centery< voteHeight)
			{
				OutputVoteMatrix[centerx + centery*voteWidth] += 1/(HOGDistance[tx + ty*width]+1e-5 + 1) * weight[tx];
			}
		}
	}
}

__global__ void genGaussianFilter(float* output)
{
	unsigned int tx = blockIdx.x*blockDim.x + threadIdx.x;
	unsigned int ty = blockIdx.y*blockDim.y + threadIdx.y;

	__shared__ float gaussianKernel[KERNEL_WIDTH][KERNEL_WIDTH];

	float sigma = 5.0;
	float gaussianSum = 0.0;

	gaussianKernel[ty][tx] = powf(2.71828,-((tx-15)*(tx-15)/(2*sigma*sigma) + (ty-15)*(ty-15)/(2*sigma*sigma)));
	__syncthreads();

	for(int i=0;i<KERNEL_WIDTH;i++)
		for(int j=0;j<KERNEL_WIDTH;j++)
		{
			gaussianSum += gaussianKernel[i][j];
		}

	output[ty*KERNEL_WIDTH + tx] = gaussianKernel[ty][tx]/gaussianSum;
}

__global__ void gaussianFilter(float* output,float* input, float* gaussianKernel,unsigned int width,unsigned int height)
{
	unsigned int tx = blockIdx.x*blockDim.x + threadIdx.x;
	unsigned int ty = blockIdx.y*blockDim.y + threadIdx.y;

	if(tx < width && ty < height)
	{
		float accum = 0.0;
		float offset = 15;
		for (int i = 0; i < KERNEL_WIDTH; ++i)
		{
			for (int j = 0; j < KERNEL_WIDTH; ++j)
			{
				int ind = tx+j-offset + (ty+i-offset) * width;
				if(ind > 0 && ind < width*height)
					accum += gaussianKernel[j + KERNEL_WIDTH*i] * input[ind];
			}

			output[tx + ty*width] = accum;
		}	
	}
}

__global__ void detectMaximal(float* output,float* input,unsigned int width,unsigned int height,float maximal)
{
	unsigned int tx = blockIdx.x*blockDim.x + threadIdx.x;
	unsigned int ty = blockIdx.y*blockDim.y + threadIdx.y;
	if(tx < width-1 && ty < height-1 && tx >0 && ty>0)
	{
		if (input[tx + ty*width] > 0.8*maximal && input[tx + ty*width] > input[tx-1 + (ty-1)*width] && 
			input[tx + ty*width] > input[tx + (ty-1)*width] && input[tx + ty*width] > input[tx+1 + (ty-1)*width] &&
			input[tx + ty*width] > input[tx-1 + (ty)*width] && input[tx + ty*width] > input[tx+1 + (ty)*width] &&
			input[tx + ty*width] > input[tx-1 + (ty+1)*width] && input[tx + ty*width] > input[tx + (ty+1)*width] &&
			input[tx + ty*width] > input[tx+1 + (ty+1)*width])
		{
			output[tx + ty*width] = (tx+1) + (ty)*width;
		}
	}
}

__global__ void computeThreshold(float* output,float* input)
{
	unsigned int tx = threadIdx.x;
	unsigned int bx = blockIdx.x;
	__shared__ float partialMin[500];
	partialMin[tx] = input[tx + bx*blockDim.x];

	unsigned int stride = 1;

	for (stride = 1; stride < blockDim.x; stride *= 2) 
	{
	  __syncthreads();
	  if (tx % (2 * stride) == 0 && tx + stride < blockDim.x)
		  partialMin[tx] = partialMin[tx] < partialMin[tx + stride] ? partialMin[tx]:partialMin[tx + stride];
	}
	/*unsigned int stridenew = stride/2;
	float kmax = partialMin[0];

	for(int i=0;i<blockDim.x;i+=stridenew)
	{
		if(kmax < partialMin[i])
			kmax = partialMin[i];
	}*/

	output[0] = partialMin[0];
}

extern "C" float* computeHOG(float *img,float* imgTar,unsigned int width,unsigned int height,unsigned int widthTar,unsigned int heightTar)
{	
	//For performance analysis
	hipEvent_t start, stop0,stop1, stop2, stop3, stop4, stop5, stop6,stop7,stop8,stop9,stop10,stop11,stop12,stop13,stop14;
	hipEventCreate(&start);
	hipEventCreate(&stop0);
	hipEventCreate(&stop1);
	hipEventCreate(&stop2);
	hipEventCreate(&stop3);
	hipEventCreate(&stop4);
	hipEventCreate(&stop5);
	hipEventCreate(&stop6);
	hipEventCreate(&stop7);
	hipEventCreate(&stop8);
	hipEventCreate(&stop9);
	hipEventCreate(&stop10);
	hipEventCreate(&stop11);
	hipEventCreate(&stop12);
	hipEventCreate(&stop13);
	hipEventCreate(&stop14);

	hipEventRecord(start, 0);

	int xStepNum = floor((width-CELLSIZE*CELLBLOCKSIZE)/float(STEPSIZE));
	int yStepNum = floor((height-CELLSIZE*CELLBLOCKSIZE)/float(STEPSIZE));
	int xStepNumTar = floor((widthTar-CELLSIZE*CELLBLOCKSIZE)/float(STEPSIZE));
	int yStepNumTar = floor((heightTar-CELLSIZE*CELLBLOCKSIZE)/float(STEPSIZE));

	float *Gr;
	hipMalloc((void**)&Gr , width*height*sizeof(float));

	int *Tag;
	hipMalloc((void**)&Tag , width*height*sizeof(int));

	float *HOGFeature;
	hipMalloc((void**)&HOGFeature , xStepNum*yStepNum*BINNUM*CELLBLOCKSIZE*CELLBLOCKSIZE*sizeof(float));
	hipMemset(HOGFeature,0,xStepNum*yStepNum*BINNUM*CELLBLOCKSIZE*CELLBLOCKSIZE*sizeof(float));

	int *centerPosition;
	hipMalloc((void**)&centerPosition , 2*xStepNum*yStepNum*sizeof(int));

	int *offset;
	hipMalloc((void**)&offset , 2*xStepNum*yStepNum*sizeof(int));

	float *weight;
	hipMalloc((void**)&weight , xStepNum*yStepNum*sizeof(float));

	
	float *GrTar;
	hipMalloc((void**)&GrTar , widthTar*heightTar*sizeof(float));

	int *TagTar;
	hipMalloc((void**)&TagTar , widthTar*heightTar*sizeof(int));

	int *samplepixel;
	hipMalloc((void**)&samplepixel , 2*xStepNum*yStepNum*sizeof(int));

	float *HOGFeatureTar;
	hipMalloc((void**)&HOGFeatureTar , xStepNumTar*yStepNumTar*BINNUM*CELLBLOCKSIZE*CELLBLOCKSIZE*sizeof(float));
	hipMemset(HOGFeatureTar,0,xStepNumTar*yStepNumTar*BINNUM*CELLBLOCKSIZE*CELLBLOCKSIZE*sizeof(float));

	float *HOGDistance;
	hipMalloc((void**)&HOGDistance , xStepNumTar*yStepNumTar*xStepNum*yStepNum*sizeof(float));
	hipMemset(HOGDistance,0,xStepNumTar*yStepNumTar*xStepNum*yStepNum*sizeof(float));

	float *votematrix;
	hipMalloc((void**)&votematrix , widthTar*heightTar* sizeof(float));
	hipMemset(votematrix,0,widthTar*heightTar*sizeof(float));

	float *gaussianKernel_dev;
	hipMalloc((void**)&gaussianKernel_dev , KERNEL_WIDTH*KERNEL_WIDTH* sizeof(float));
	hipMemset(gaussianKernel_dev,0,KERNEL_WIDTH*KERNEL_WIDTH*sizeof(float));

	float *votematrix_smoothed;
	hipMalloc((void**)&votematrix_smoothed , widthTar*heightTar* sizeof(float));
	hipMemset(votematrix_smoothed,0,widthTar*heightTar*sizeof(float));

	float *vote_maxposition;
	hipMalloc((void**)&vote_maxposition , widthTar*heightTar* sizeof(float));
	hipMemset(vote_maxposition,0,widthTar*heightTar*sizeof(float));

	//********************
	hipEventRecord(stop0, 0);
	hipEventSynchronize(stop0);
	float elapsedTime0;
	hipEventElapsedTime(&elapsedTime0, start, stop0);
	printf("Initialization :%f ms\n", elapsedTime0);
	//********************

	dim3 dimBlock(16,16,1);
	dim3 dimGrid(width/dimBlock.x + 1, height/dimBlock.y + 1,1);
	computeGradient<<<dimGrid,dimBlock>>>(Gr,Tag,img,width,height);

	//********************
	hipEventRecord(stop1, 0);
	hipEventSynchronize(stop1);
	float elapsedTime1;
	hipEventElapsedTime(&elapsedTime1, start, stop1);
	printf("Gradient Computation for Ref Image :%f ms\n", elapsedTime1);
	//********************

	dimBlock = dim3(16,16,1);
	dimGrid = dim3(xStepNum/dimBlock.x + 1, yStepNum/dimBlock.y + 1,1);
	computeBinHOG<<<dimGrid,dimBlock>>>(HOGFeature,weight,centerPosition,offset,Gr,Tag,xStepNum,yStepNum,width,height);
	
	//********************
	hipEventRecord(stop2, 0);
	hipEventSynchronize(stop2);
	float elapsedTime2;
	hipEventElapsedTime(&elapsedTime2, start, stop2);
	printf("HOG Computation for Ref Image :%f ms\n", elapsedTime2);
	//********************

	dimBlock = dim3(16,16,1);
	dimGrid = dim3(widthTar/dimBlock.x + 1, heightTar/dimBlock.y + 1,1);
	computeGradient<<<dimGrid,dimBlock>>>(GrTar,TagTar,imgTar,widthTar,heightTar);

	//********************
	hipEventRecord(stop3, 0);
	hipEventSynchronize(stop3);
	float elapsedTime3;
	hipEventElapsedTime(&elapsedTime3, start, stop3);
	printf("Gradient Computation for Target Image :%f ms\n", elapsedTime3);
	//********************

	dimBlock = dim3(16,16,1);
	dimGrid = dim3(xStepNumTar/dimBlock.x + 1, yStepNumTar/dimBlock.y + 1,1);
	computeBinHOGTar<<<dimGrid,dimBlock>>>(HOGFeatureTar,samplepixel,GrTar,TagTar,xStepNumTar,yStepNumTar,widthTar,heightTar);

	//********************
	hipEventRecord(stop4, 0);
	hipEventSynchronize(stop4);
	float elapsedTime4;
	hipEventElapsedTime(&elapsedTime4, start, stop4);
	printf("HOG Computation for Target Image :%f ms\n", elapsedTime4);
	//********************

	dimBlock = dim3(16,16,1);
	dimGrid = dim3((xStepNum*yStepNum)/dimBlock.x + 1, (xStepNumTar*yStepNumTar)/dimBlock.y + 1,1);
	computeDistance<<<dimGrid,dimBlock>>>(HOGDistance,HOGFeature,HOGFeatureTar,xStepNum*yStepNum,xStepNumTar*yStepNumTar);

	//********************
	hipEventRecord(stop5, 0);
	hipEventSynchronize(stop5);
	float elapsedTime5;
	hipEventElapsedTime(&elapsedTime5, start, stop5);
	printf("Distance Matrix Computation:%f ms\n", elapsedTime5);
	//********************

	//float *HOGDistanceSorted = new float[xStepNumTar*yStepNumTar*xStepNum*yStepNum];
	//cudaMemcpy(HOGDistanceSorted,HOGDistance,  xStepNumTar*yStepNumTar*xStepNum*yStepNum*sizeof(float), cudaMemcpyDeviceToHost);

	/*float *threshold_host  = new float[xStepNumTar*yStepNumTar];

	for(int i=0;i<xStepNumTar*yStepNumTar;i++)
	{
		thrust::sort(HOGDistanceSorted + i*(xStepNum*yStepNum), HOGDistanceSorted +i*(xStepNum*yStepNum) +xStepNum*yStepNum);
		threshold_host[i] = HOGDistanceSorted[i*(xStepNum*yStepNum) + K - 1];
	}*/

	/*float *threshold_dev;
	cudaMalloc((void**)&threshold_dev , xStepNumTar*yStepNumTar* sizeof(float));
	cudaMemcpy(threshold_dev,threshold_host, xStepNumTar*yStepNumTar*sizeof(float), cudaMemcpyHostToDevice);*/
	//cudaMemcpy(threshold_dev,threshold_host, xStepNumTar*yStepNumTar*sizeof(float), cudaMemcpyHostToDevice);

	/*dimBlock = dim3(xStepNum*yStepNum,1,1);
	dimGrid = dim3(xStepNumTar*yStepNumTar,1,1);
	float *threshold_dev;
	cudaMalloc((void**)&threshold_dev , xStepNumTar*yStepNumTar* sizeof(float));
	cudaMemset(threshold_dev,0,xStepNumTar*yStepNumTar*sizeof(float));
	computeThreshold<<<dimGrid,dimBlock>>>(threshold_dev,HOGDistance);*/



	dimBlock = dim3(16,16,1);
	dimGrid = dim3((xStepNum*yStepNum)/dimBlock.x + 1, (xStepNumTar*yStepNumTar)/dimBlock.y + 1,1);
	//vote<<<dimGrid,dimBlock>>>(votematrix,threshold_dev,HOGDistance,weight,offset,samplepixel,xStepNum*yStepNum,xStepNumTar*yStepNumTar,widthTar,heightTar);
	vote<<<dimGrid,dimBlock>>>(votematrix,HOGDistance,weight,offset,samplepixel,xStepNum*yStepNum,xStepNumTar*yStepNumTar,widthTar,heightTar);

	//********************
	hipEventRecord(stop6, 0);
	hipEventSynchronize(stop6);
	float elapsedTime6;
	hipEventElapsedTime(&elapsedTime6, start, stop6);
	printf("Threshold and Voting:%f ms\n", elapsedTime6);
	//********************

	dimBlock = dim3(KERNEL_WIDTH,KERNEL_WIDTH,1);
	dimGrid = dim3(1,1,1);
	genGaussianFilter<<<dimGrid,dimBlock>>>(gaussianKernel_dev);

	//********************
	hipEventRecord(stop7, 0);
	hipEventSynchronize(stop7);
	float elapsedTime7;
	hipEventElapsedTime(&elapsedTime7, start, stop7);
	printf("Gaussian Kernel Generation:%f ms\n", elapsedTime7);
	//********************

	dimBlock = dim3(16,16,1);
	dimGrid = dim3(widthTar/dimBlock.x + 1, heightTar/dimBlock.y + 1,1);
	gaussianFilter<<<dimGrid,dimBlock>>>(votematrix_smoothed,votematrix, gaussianKernel_dev,widthTar,heightTar);

	//********************
	hipEventRecord(stop8, 0);
	hipEventSynchronize(stop8);
	float elapsedTime8;
	hipEventElapsedTime(&elapsedTime8, start, stop8);
	printf("Gaussian Blur:%f ms\n", elapsedTime8);
	//********************

	float *votematrix_smoothed_sorted = new float[widthTar*heightTar];
	hipMemcpy(votematrix_smoothed_sorted,votematrix_smoothed,  widthTar*heightTar*sizeof(float), hipMemcpyDeviceToHost);

	thrust::sort(votematrix_smoothed_sorted, votematrix_smoothed_sorted +widthTar*heightTar);
	float maxvalue = votematrix_smoothed_sorted[widthTar*heightTar-1];

	//********************
	hipEventRecord(stop9, 0);
	hipEventSynchronize(stop9);
	float elapsedTime9;
	hipEventElapsedTime(&elapsedTime9, start, stop9);
	printf("Maximal Voting Value Computation:%f ms\n", elapsedTime9);
	//********************

	dimBlock = dim3(16,16,1);
	dimGrid = dim3(widthTar/dimBlock.x + 1, heightTar/dimBlock.y + 1,1);
	detectMaximal<<<dimGrid,dimBlock>>>(vote_maxposition,votematrix_smoothed,widthTar,heightTar,maxvalue);

	//********************
	hipEventRecord(stop10, 0);
	hipEventSynchronize(stop10);
	float elapsedTime10;
	hipEventElapsedTime(&elapsedTime10, start, stop10);
	printf("Local Maximal Detection:%f ms\n", elapsedTime10);
	//********************

	float *vote_maxposition_sorted = new float[widthTar*heightTar];
	hipMemcpy(vote_maxposition_sorted,vote_maxposition,  widthTar*heightTar*sizeof(float), hipMemcpyDeviceToHost);

	thrust::sort(vote_maxposition_sorted, vote_maxposition_sorted +widthTar*heightTar);

	int centernum = 0;
	for(int i=widthTar*heightTar-1;i>=0;i--)
	{
		if(vote_maxposition_sorted[i] > 0)
			centernum++;
		else
			break;
	}

	//********************
	hipEventRecord(stop11, 0);
	hipEventSynchronize(stop11);
	float elapsedTime11;
	hipEventElapsedTime(&elapsedTime11, start, stop11);
	printf("Transfering Detected Logo Position to HOST:%f ms\n", elapsedTime11);
	//********************

	//float *ret = new float[centernum];
	//cudaMemcpy(ret,vote_maxposition_sorted + widthTar*heightTar - centernum,  centernum*sizeof(float), cudaMemcpyHostToHost);

	float *ret = new float[centernum+1];
	ret[0] = float(centernum);
	hipMemcpy(ret+1,vote_maxposition_sorted + widthTar*heightTar - centernum,  centernum*sizeof(float), hipMemcpyHostToHost);

	//float *ret = new float[widthTar*heightTar];
	//cudaMemcpy(ret,votematrix_smoothed,  widthTar*heightTar*sizeof(float), cudaMemcpyDeviceToHost);

	return ret;
}

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

                                        # End of file scope inline assembly
	.globl	_Z30__device_stub__computeGradientPfPiS_jj # -- Begin function _Z30__device_stub__computeGradientPfPiS_jj
	.type	_Z30__device_stub__computeGradientPfPiS_jj,@function
_Z30__device_stub__computeGradientPfPiS_jj: # @_Z30__device_stub__computeGradientPfPiS_jj
	.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	$_Z15computeGradientPfPiS_jj, %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_end0:
	.size	_Z30__device_stub__computeGradientPfPiS_jj, .Lfunc_end0-_Z30__device_stub__computeGradientPfPiS_jj
	.cfi_endproc
                                        # -- End function
	.globl	_Z28__device_stub__computeBinHOGPfS_PiS0_S_S0_jjjj # -- Begin function _Z28__device_stub__computeBinHOGPfS_PiS0_S_S0_jjjj
	.type	_Z28__device_stub__computeBinHOGPfS_PiS0_S_S0_jjjj,@function
_Z28__device_stub__computeBinHOGPfS_PiS0_S_S0_jjjj: # @_Z28__device_stub__computeBinHOGPfS_PiS0_S_S0_jjjj
	.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	$176, %rsp
	.cfi_def_cfa_offset 224
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	56(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	48(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	40(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	32(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	24(%rsp), %rcx
	movq	%r8, (%rcx)
	leaq	16(%rsp), %r8
	movq	%r9, (%r8)
	leaq	96(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	movq	%r8, 40(%rbx)
	leaq	224(%rsp), %rax
	movq	%rax, 48(%rbx)
	leaq	232(%rsp), %rax
	movq	%rax, 56(%rbx)
	leaq	240(%rsp), %rax
	movq	%rax, 64(%rbx)
	leaq	248(%rsp), %rax
	movq	%rax, 72(%rbx)
	leaq	80(%rsp), %r14
	leaq	64(%rsp), %r15
	leaq	8(%rsp), %r12
	movq	%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	$_Z13computeBinHOGPfS_PiS0_S_S0_jjjj, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$192, %rsp
	.cfi_adjust_cfa_offset -192
	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_end1:
	.size	_Z28__device_stub__computeBinHOGPfS_PiS0_S_S0_jjjj, .Lfunc_end1-_Z28__device_stub__computeBinHOGPfS_PiS0_S_S0_jjjj
	.cfi_endproc
                                        # -- End function
	.globl	_Z31__device_stub__computeBinHOGTarPfPiS_S0_jjjj # -- Begin function _Z31__device_stub__computeBinHOGTarPfPiS_S0_jjjj
	.type	_Z31__device_stub__computeBinHOGTarPfPiS_S0_jjjj,@function
_Z31__device_stub__computeBinHOGTarPfPiS_S0_jjjj: # @_Z31__device_stub__computeBinHOGTarPfPiS_S0_jjjj
	.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	$160, %rsp
	.cfi_def_cfa_offset 208
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	56(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	48(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	40(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	32(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	12(%rsp), %rcx
	movl	%r8d, (%rcx)
	leaq	8(%rsp), %r8
	movl	%r9d, (%r8)
	leaq	96(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	movq	%r8, 40(%rbx)
	leaq	208(%rsp), %rax
	movq	%rax, 48(%rbx)
	leaq	216(%rsp), %rax
	movq	%rax, 56(%rbx)
	leaq	80(%rsp), %r14
	leaq	64(%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	$_Z16computeBinHOGTarPfPiS_S0_jjjj, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$176, %rsp
	.cfi_adjust_cfa_offset -176
	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	_Z31__device_stub__computeBinHOGTarPfPiS_S0_jjjj, .Lfunc_end2-_Z31__device_stub__computeBinHOGTarPfPiS_S0_jjjj
	.cfi_endproc
                                        # -- End function
	.globl	_Z30__device_stub__computeDistancePfS_S_jj # -- Begin function _Z30__device_stub__computeDistancePfS_S_jj
	.type	_Z30__device_stub__computeDistancePfS_S_jj,@function
_Z30__device_stub__computeDistancePfS_S_jj: # @_Z30__device_stub__computeDistancePfS_S_jj
	.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	$_Z15computeDistancePfS_S_jj, %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	_Z30__device_stub__computeDistancePfS_S_jj, .Lfunc_end3-_Z30__device_stub__computeDistancePfS_S_jj
	.cfi_endproc
                                        # -- End function
	.globl	_Z19__device_stub__votePfS_S_PiS0_jjjj # -- Begin function _Z19__device_stub__votePfS_S_PiS0_jjjj
	.type	_Z19__device_stub__votePfS_S_PiS0_jjjj,@function
_Z19__device_stub__votePfS_S_PiS0_jjjj: # @_Z19__device_stub__votePfS_S_PiS0_jjjj
	.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	$176, %rsp
	.cfi_def_cfa_offset 224
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	56(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	48(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	40(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	32(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	24(%rsp), %rcx
	movq	%r8, (%rcx)
	leaq	4(%rsp), %r8
	movl	%r9d, (%r8)
	leaq	96(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	movq	%r8, 40(%rbx)
	leaq	224(%rsp), %rax
	movq	%rax, 48(%rbx)
	leaq	232(%rsp), %rax
	movq	%rax, 56(%rbx)
	leaq	240(%rsp), %rax
	movq	%rax, 64(%rbx)
	leaq	80(%rsp), %r14
	leaq	64(%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	$_Z4votePfS_S_PiS0_jjjj, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$192, %rsp
	.cfi_adjust_cfa_offset -192
	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	_Z19__device_stub__votePfS_S_PiS0_jjjj, .Lfunc_end4-_Z19__device_stub__votePfS_S_PiS0_jjjj
	.cfi_endproc
                                        # -- End function
	.globl	_Z32__device_stub__genGaussianFilterPf # -- Begin function _Z32__device_stub__genGaussianFilterPf
	.type	_Z32__device_stub__genGaussianFilterPf,@function
_Z32__device_stub__genGaussianFilterPf: # @_Z32__device_stub__genGaussianFilterPf
	.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	$64, %rsp
	.cfi_def_cfa_offset 112
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	24(%rsp), %rax
	movq	%rdi, (%rax)
	movq	%rsp, %rbx
	movq	%rax, (%rbx)
	leaq	48(%rsp), %r14
	leaq	32(%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	$_Z17genGaussianFilterPf, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$80, %rsp
	.cfi_adjust_cfa_offset -80
	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	_Z32__device_stub__genGaussianFilterPf, .Lfunc_end5-_Z32__device_stub__genGaussianFilterPf
	.cfi_endproc
                                        # -- End function
	.globl	_Z29__device_stub__gaussianFilterPfS_S_jj # -- Begin function _Z29__device_stub__gaussianFilterPfS_S_jj
	.type	_Z29__device_stub__gaussianFilterPfS_S_jj,@function
_Z29__device_stub__gaussianFilterPfS_S_jj: # @_Z29__device_stub__gaussianFilterPfS_S_jj
	.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	$_Z14gaussianFilterPfS_S_jj, %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_end6:
	.size	_Z29__device_stub__gaussianFilterPfS_S_jj, .Lfunc_end6-_Z29__device_stub__gaussianFilterPfS_S_jj
	.cfi_endproc
                                        # -- End function
	.globl	_Z28__device_stub__detectMaximalPfS_jjf # -- Begin function _Z28__device_stub__detectMaximalPfS_jjf
	.type	_Z28__device_stub__detectMaximalPfS_jjf,@function
_Z28__device_stub__detectMaximalPfS_jjf: # @_Z28__device_stub__detectMaximalPfS_jjf
	.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	12(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	8(%rsp), %rdx
	movl	%ecx, (%rdx)
	leaq	4(%rsp), %rcx
	movss	%xmm0, (%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	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	$_Z13detectMaximalPfS_jjf, %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_end7:
	.size	_Z28__device_stub__detectMaximalPfS_jjf, .Lfunc_end7-_Z28__device_stub__detectMaximalPfS_jjf
	.cfi_endproc
                                        # -- End function
	.globl	_Z31__device_stub__computeThresholdPfS_ # -- Begin function _Z31__device_stub__computeThresholdPfS_
	.type	_Z31__device_stub__computeThresholdPfS_,@function
_Z31__device_stub__computeThresholdPfS_: # @_Z31__device_stub__computeThresholdPfS_
	.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	$80, %rsp
	.cfi_def_cfa_offset 128
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	24(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	16(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	64(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	leaq	48(%rsp), %r14
	leaq	32(%rsp), %r15
	leaq	8(%rsp), %r12
	movq	%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	$_Z16computeThresholdPfS_, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$96, %rsp
	.cfi_adjust_cfa_offset -96
	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_end8:
	.size	_Z31__device_stub__computeThresholdPfS_, .Lfunc_end8-_Z31__device_stub__computeThresholdPfS_
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst4,"aM",@progbits,4
	.p2align	2, 0x0                          # -- Begin function computeHOG
.LCPI9_0:
	.long	0x40400000                      # float 3
	.text
	.globl	computeHOG
	.type	computeHOG,@function
computeHOG:                             # @computeHOG
	.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	$392, %rsp                      # imm = 0x188
	.cfi_def_cfa_offset 448
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movl	%r9d, %ebx
	movq	%rbx, 24(%rsp)                  # 8-byte Spill
	movl	%r8d, %r15d
	movq	%r15, 16(%rsp)                  # 8-byte Spill
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movq	%rsi, 272(%rsp)                 # 8-byte Spill
	movq	%rdi, 264(%rsp)                 # 8-byte Spill
	movq	%rsp, %rdi
	movq	%rdi, %r14
	callq	hipEventCreate
	leaq	320(%rsp), %rdi
	callq	hipEventCreate
	leaq	136(%rsp), %rdi
	callq	hipEventCreate
	leaq	128(%rsp), %rdi
	callq	hipEventCreate
	leaq	120(%rsp), %rdi
	callq	hipEventCreate
	leaq	112(%rsp), %rdi
	callq	hipEventCreate
	leaq	104(%rsp), %rdi
	callq	hipEventCreate
	leaq	96(%rsp), %rdi
	callq	hipEventCreate
	leaq	88(%rsp), %rdi
	callq	hipEventCreate
	leaq	80(%rsp), %rdi
	callq	hipEventCreate
	leaq	72(%rsp), %rdi
	callq	hipEventCreate
	leaq	64(%rsp), %rdi
	callq	hipEventCreate
	leaq	56(%rsp), %rdi
	callq	hipEventCreate
	leaq	384(%rsp), %rdi
	callq	hipEventCreate
	leaq	376(%rsp), %rdi
	callq	hipEventCreate
	leaq	368(%rsp), %rdi
	callq	hipEventCreate
	movq	(%r14), %rdi
	xorl	%esi, %esi
	callq	hipEventRecord
	movq	%r13, %r14
	movq	%r13, 280(%rsp)                 # 8-byte Spill
	leal	-18(%r13), %eax
	cvtsi2ss	%rax, %xmm0
	divss	.LCPI9_0(%rip), %xmm0
	callq	floorf@PLT
	cvttss2si	%xmm0, %ebp
	movq	%r12, 288(%rsp)                 # 8-byte Spill
	leal	-18(%r12), %eax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	divss	.LCPI9_0(%rip), %xmm0
	callq	floorf@PLT
	cvttss2si	%xmm0, %r13d
	leal	-18(%r15), %eax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	divss	.LCPI9_0(%rip), %xmm0
	callq	floorf@PLT
	cvttss2si	%xmm0, %eax
	movl	%eax, 12(%rsp)                  # 4-byte Spill
	leal	-18(%rbx), %eax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	divss	.LCPI9_0(%rip), %xmm0
	callq	floorf@PLT
	cvttss2si	%xmm0, %ebx
                                        # kill: def $r12d killed $r12d killed $r12 def $r12
	imull	%r14d, %r12d
	shlq	$2, %r12
	leaq	256(%rsp), %rdi
	movq	%r12, %rsi
	callq	hipMalloc
	leaq	248(%rsp), %rdi
	movq	%r12, %rsi
	callq	hipMalloc
	movq	%r13, 304(%rsp)                 # 8-byte Spill
	movl	%r13d, %r15d
	movq	%rbp, 32(%rsp)                  # 8-byte Spill
	imull	%ebp, %r15d
	leal	(%r15,%r15,8), %eax
	leal	(%rax,%rax,8), %eax
	movslq	%eax, %r12
	shlq	$2, %r12
	leaq	240(%rsp), %rbp
	movq	%rbp, %rdi
	movq	%r12, %rsi
	callq	hipMalloc
	movq	(%rbp), %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	hipMemset
	leal	(%r15,%r15), %eax
	movslq	%eax, %rbp
	shlq	$2, %rbp
	leaq	312(%rsp), %rdi
	movq	%rbp, %rsi
	callq	hipMalloc
	leaq	232(%rsp), %rdi
	movq	%rbp, %rsi
	callq	hipMalloc
	movslq	%r15d, %rsi
	shlq	$2, %rsi
	leaq	224(%rsp), %rdi
	callq	hipMalloc
	movq	24(%rsp), %r13                  # 8-byte Reload
                                        # kill: def $r13d killed $r13d killed $r13 def $r13
	imull	16(%rsp), %r13d                 # 4-byte Folded Reload
	leaq	(,%r13,4), %r12
	leaq	216(%rsp), %rdi
	movq	%r12, %rsi
	callq	hipMalloc
	leaq	208(%rsp), %rdi
	movq	%r12, %rsi
	callq	hipMalloc
	leaq	200(%rsp), %rdi
	movq	%rbp, %rsi
	callq	hipMalloc
	movl	%ebx, 148(%rsp)                 # 4-byte Spill
	movl	%ebx, %ebp
	imull	12(%rsp), %ebp                  # 4-byte Folded Reload
	leal	(%rbp,%rbp,8), %eax
	leal	(%rax,%rax,8), %eax
	movslq	%eax, %rbx
	shlq	$2, %rbx
	leaq	192(%rsp), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	hipMalloc
	movq	(%r14), %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	hipMemset
	movq	%r15, 40(%rsp)                  # 8-byte Spill
	movl	%r15d, %eax
	movq	%rbp, 296(%rsp)                 # 8-byte Spill
	imull	%ebp, %eax
	movslq	%eax, %rbx
	shlq	$2, %rbx
	leaq	184(%rsp), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	hipMalloc
	movq	(%r14), %rdi
	movq	280(%rsp), %r14                 # 8-byte Reload
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	hipMemset
	leaq	176(%rsp), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	hipMalloc
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	hipMemset
	leaq	168(%rsp), %rbx
	movl	$3844, %esi                     # imm = 0xF04
	movq	%rbx, %rdi
	callq	hipMalloc
	movq	(%rbx), %rdi
	movl	$3844, %edx                     # imm = 0xF04
	xorl	%esi, %esi
	callq	hipMemset
	leaq	48(%rsp), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	hipMalloc
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	hipMemset
	leaq	160(%rsp), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	hipMalloc
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	hipMemset
	leaq	320(%rsp), %rbx
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	callq	hipEventRecord
	movq	(%rbx), %rdi
	callq	hipEventSynchronize
	movq	%rsp, %rax
	movq	(%rax), %rsi
	movq	(%rbx), %rdx
	leaq	364(%rsp), %rbx
	movq	%rbx, %rdi
	callq	hipEventElapsedTime
	cvtss2sd	(%rbx), %xmm0
	movl	$.L.str, %edi
	movb	$1, %al
	callq	printf
	movq	%r14, %rbp
	movl	%r14d, %eax
	shrl	$4, %eax
	movq	288(%rsp), %rcx                 # 8-byte Reload
	movq	%rcx, %r15
                                        # kill: def $ecx killed $ecx killed $rcx def $rcx
	shrl	$4, %ecx
	incl	%ecx
	shlq	$32, %rcx
	leaq	(%rcx,%rax), %rdi
	incq	%rdi
	movl	$1, %esi
	movabsq	$68719476752, %rdx              # imm = 0x1000000010
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB9_2
# %bb.1:
	movq	256(%rsp), %rdi
	movq	248(%rsp), %rsi
	movq	264(%rsp), %rdx                 # 8-byte Reload
	movl	%ebp, %ecx
	movl	%r15d, %r8d
	callq	_Z30__device_stub__computeGradientPfPiS_jj
.LBB9_2:
	movq	136(%rsp), %rdi
	xorl	%esi, %esi
	callq	hipEventRecord
	movq	136(%rsp), %rdi
	callq	hipEventSynchronize
	movq	(%rsp), %rsi
	movq	136(%rsp), %rdx
	leaq	360(%rsp), %rbx
	movq	%rbx, %rdi
	callq	hipEventElapsedTime
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rbx), %xmm0
	movl	$.L.str.1, %edi
	movb	$1, %al
	callq	printf
	movq	32(%rsp), %rbx                  # 8-byte Reload
	movl	%ebx, %eax
	shrl	$4, %eax
	movq	304(%rsp), %r14                 # 8-byte Reload
	movl	%r14d, %ecx
	shrl	$4, %ecx
	incl	%ecx
	shlq	$32, %rcx
	leaq	(%rcx,%rax), %rdi
	incq	%rdi
	movl	$1, %esi
	movabsq	$68719476752, %rdx              # imm = 0x1000000010
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB9_4
# %bb.3:
	movq	240(%rsp), %rdi
	movq	224(%rsp), %rsi
	movq	312(%rsp), %rdx
	movq	232(%rsp), %rcx
	movq	256(%rsp), %r8
	movq	248(%rsp), %r9
	pushq	%r15
	.cfi_adjust_cfa_offset 8
	pushq	%rbp
	.cfi_adjust_cfa_offset 8
	pushq	%r14
	.cfi_adjust_cfa_offset 8
	pushq	%rbx
	.cfi_adjust_cfa_offset 8
	callq	_Z28__device_stub__computeBinHOGPfS_PiS0_S_S0_jjjj
	addq	$32, %rsp
	.cfi_adjust_cfa_offset -32
.LBB9_4:
	movq	128(%rsp), %rdi
	xorl	%esi, %esi
	callq	hipEventRecord
	movq	128(%rsp), %rdi
	callq	hipEventSynchronize
	movq	(%rsp), %rsi
	movq	128(%rsp), %rdx
	leaq	356(%rsp), %rbx
	movq	%rbx, %rdi
	callq	hipEventElapsedTime
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rbx), %xmm0
	movl	$.L.str.2, %edi
	movb	$1, %al
	callq	printf
	movq	16(%rsp), %rax                  # 8-byte Reload
                                        # kill: def $eax killed $eax killed $rax def $rax
	shrl	$4, %eax
	movq	24(%rsp), %rcx                  # 8-byte Reload
                                        # kill: def $ecx killed $ecx killed $rcx def $rcx
	shrl	$4, %ecx
	incl	%ecx
	shlq	$32, %rcx
	leaq	(%rcx,%rax), %rdi
	incq	%rdi
	movq	%rdi, 32(%rsp)                  # 8-byte Spill
	movl	$1, %esi
	movabsq	$68719476752, %r15              # imm = 0x1000000010
	movq	%r15, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	movl	148(%rsp), %r14d                # 4-byte Reload
	jne	.LBB9_6
# %bb.5:
	movq	216(%rsp), %rdi
	movq	208(%rsp), %rsi
	movq	272(%rsp), %rdx                 # 8-byte Reload
	movq	16(%rsp), %rcx                  # 8-byte Reload
                                        # kill: def $ecx killed $ecx killed $rcx
	movq	24(%rsp), %r8                   # 8-byte Reload
                                        # kill: def $r8d killed $r8d killed $r8
	callq	_Z30__device_stub__computeGradientPfPiS_jj
.LBB9_6:
	movq	120(%rsp), %rdi
	xorl	%esi, %esi
	callq	hipEventRecord
	movq	120(%rsp), %rdi
	callq	hipEventSynchronize
	movq	(%rsp), %rsi
	movq	120(%rsp), %rdx
	leaq	352(%rsp), %rbx
	movq	%rbx, %rdi
	callq	hipEventElapsedTime
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rbx), %xmm0
	movl	$.L.str.3, %edi
	movb	$1, %al
	callq	printf
	movl	12(%rsp), %ebx                  # 4-byte Reload
	movl	%ebx, %eax
	shrl	$4, %eax
	movl	%r14d, %ecx
	shrl	$4, %ecx
	incl	%ecx
	shlq	$32, %rcx
	leaq	(%rcx,%rax), %rdi
	incq	%rdi
	movl	$1, %esi
	movq	%r15, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	movq	296(%rsp), %rbp                 # 8-byte Reload
	jne	.LBB9_8
# %bb.7:
	movq	192(%rsp), %rdi
	movq	200(%rsp), %rsi
	movq	216(%rsp), %rdx
	movq	208(%rsp), %rcx
	movl	%ebx, %r8d
	movl	%r14d, %r9d
	pushq	24(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	24(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	callq	_Z31__device_stub__computeBinHOGTarPfPiS_S0_jjjj
	addq	$16, %rsp
	.cfi_adjust_cfa_offset -16
.LBB9_8:
	movq	112(%rsp), %rdi
	xorl	%esi, %esi
	callq	hipEventRecord
	movq	112(%rsp), %rdi
	callq	hipEventSynchronize
	movq	(%rsp), %rsi
	movq	112(%rsp), %rdx
	leaq	348(%rsp), %rbx
	movq	%rbx, %rdi
	callq	hipEventElapsedTime
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rbx), %xmm0
	movl	$.L.str.4, %edi
	movb	$1, %al
	callq	printf
	movq	40(%rsp), %rax                  # 8-byte Reload
                                        # kill: def $eax killed $eax killed $rax def $rax
	shrl	$4, %eax
	movl	%ebp, %ecx
	shrl	$4, %ecx
	incl	%ecx
	shlq	$32, %rcx
	leaq	(%rcx,%rax), %rbx
	incq	%rbx
	movq	%rbx, %rdi
	movl	$1, %esi
	movq	%r15, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	movq	%r15, %r14
	jne	.LBB9_10
# %bb.9:
	movq	184(%rsp), %rdi
	movq	240(%rsp), %rsi
	movq	192(%rsp), %rdx
	movq	40(%rsp), %rcx                  # 8-byte Reload
                                        # kill: def $ecx killed $ecx killed $rcx
	movl	%ebp, %r8d
	callq	_Z30__device_stub__computeDistancePfS_S_jj
.LBB9_10:
	movq	104(%rsp), %rdi
	xorl	%esi, %esi
	callq	hipEventRecord
	movq	104(%rsp), %rdi
	callq	hipEventSynchronize
	movq	(%rsp), %rsi
	movq	104(%rsp), %rdx
	leaq	344(%rsp), %r15
	movq	%r15, %rdi
	callq	hipEventElapsedTime
	xorps	%xmm0, %xmm0
	cvtss2sd	(%r15), %xmm0
	movl	$.L.str.5, %edi
	movb	$1, %al
	callq	printf
	movq	%rbx, %rdi
	movl	$1, %esi
	movq	%r14, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	movq	%r14, %r15
	jne	.LBB9_12
# %bb.11:
	movq	176(%rsp), %rdi
	movq	184(%rsp), %rsi
	movq	224(%rsp), %rdx
	movq	232(%rsp), %rcx
	movq	200(%rsp), %r8
	subq	$8, %rsp
	.cfi_adjust_cfa_offset 8
	movq	48(%rsp), %r9                   # 8-byte Reload
                                        # kill: def $r9d killed $r9d killed $r9
	pushq	32(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	32(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	%rbp
	.cfi_adjust_cfa_offset 8
	callq	_Z19__device_stub__votePfS_S_PiS0_jjjj
	addq	$32, %rsp
	.cfi_adjust_cfa_offset -32
.LBB9_12:
	movq	96(%rsp), %rdi
	xorl	%esi, %esi
	callq	hipEventRecord
	movq	96(%rsp), %rdi
	callq	hipEventSynchronize
	movq	(%rsp), %rsi
	movq	96(%rsp), %rdx
	leaq	340(%rsp), %rbx
	movq	%rbx, %rdi
	callq	hipEventElapsedTime
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rbx), %xmm0
	movl	$.L.str.6, %edi
	movb	$1, %al
	callq	printf
	movabsq	$4294967297, %rdi               # imm = 0x100000001
	movabsq	$133143986207, %rdx             # imm = 0x1F0000001F
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	movq	32(%rsp), %r14                  # 8-byte Reload
	jne	.LBB9_14
# %bb.13:
	movq	168(%rsp), %rdi
	callq	_Z32__device_stub__genGaussianFilterPf
.LBB9_14:
	movq	88(%rsp), %rdi
	xorl	%esi, %esi
	callq	hipEventRecord
	movq	88(%rsp), %rdi
	callq	hipEventSynchronize
	movq	(%rsp), %rsi
	movq	88(%rsp), %rdx
	leaq	336(%rsp), %rbx
	movq	%rbx, %rdi
	callq	hipEventElapsedTime
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rbx), %xmm0
	movl	$.L.str.7, %edi
	movb	$1, %al
	callq	printf
	movq	%r14, %rdi
	movl	$1, %esi
	movq	%r15, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB9_16
# %bb.15:
	movq	48(%rsp), %rdi
	movq	176(%rsp), %rsi
	movq	168(%rsp), %rdx
	movq	16(%rsp), %rcx                  # 8-byte Reload
                                        # kill: def $ecx killed $ecx killed $rcx
	movq	24(%rsp), %r8                   # 8-byte Reload
                                        # kill: def $r8d killed $r8d killed $r8
	callq	_Z29__device_stub__gaussianFilterPfS_S_jj
.LBB9_16:
	movq	80(%rsp), %rdi
	xorl	%ebp, %ebp
	xorl	%esi, %esi
	callq	hipEventRecord
	movq	80(%rsp), %rdi
	callq	hipEventSynchronize
	movq	(%rsp), %rsi
	movq	80(%rsp), %rdx
	leaq	332(%rsp), %rbx
	movq	%rbx, %rdi
	callq	hipEventElapsedTime
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rbx), %xmm0
	movl	$.L.str.8, %edi
	movb	$1, %al
	callq	printf
	movq	%r12, %rdi
	callq	_Znam
	movq	%rax, %rbx
	movq	48(%rsp), %rsi
	movq	%rax, %rdi
	movq	%r12, %rdx
	movl	$2, %ecx
	callq	hipMemcpy
	leaq	(%rbx,%r13,4), %rdx
	leaq	156(%rsp), %rdi
	movq	%rbx, %rsi
	callq	_ZN6thrust6system6detail10sequential17stable_radix_sortINS0_3cpp6detail3tagEPfEEvRNS2_16execution_policyIT_EET0_SC_
	leal	-1(%r13), %r15d
	movss	(%rbx,%r15,4), %xmm0            # xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 12(%rsp)                 # 4-byte Spill
	movq	72(%rsp), %rdi
	xorl	%esi, %esi
	callq	hipEventRecord
	movq	72(%rsp), %rdi
	callq	hipEventSynchronize
	movq	(%rsp), %rsi
	movq	72(%rsp), %rdx
	leaq	156(%rsp), %rbx
	movq	%rbx, %rdi
	callq	hipEventElapsedTime
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rbx), %xmm0
	movl	$.L.str.9, %edi
	movb	$1, %al
	callq	printf
	movq	%r14, %rdi
	movl	$1, %esi
	movabsq	$68719476752, %rdx              # imm = 0x1000000010
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB9_18
# %bb.17:
	movq	160(%rsp), %rdi
	movq	48(%rsp), %rsi
	movq	16(%rsp), %rdx                  # 8-byte Reload
                                        # kill: def $edx killed $edx killed $rdx
	movq	24(%rsp), %rcx                  # 8-byte Reload
                                        # kill: def $ecx killed $ecx killed $rcx
	movss	12(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	_Z28__device_stub__detectMaximalPfS_jjf
.LBB9_18:
	movq	64(%rsp), %rdi
	xorl	%esi, %esi
	callq	hipEventRecord
	movq	64(%rsp), %rdi
	callq	hipEventSynchronize
	movq	(%rsp), %rsi
	movq	64(%rsp), %rdx
	leaq	328(%rsp), %rbx
	movq	%rbx, %rdi
	callq	hipEventElapsedTime
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rbx), %xmm0
	movl	$.L.str.10, %edi
	movb	$1, %al
	callq	printf
	movq	%r12, %rdi
	callq	_Znam
	movq	%rax, %r14
	movq	160(%rsp), %rsi
	movq	%rax, %rdi
	movq	%r12, %rdx
	movl	$2, %ecx
	callq	hipMemcpy
	leaq	(%r14,%r13,4), %rbx
	leaq	152(%rsp), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_ZN6thrust6system6detail10sequential17stable_radix_sortINS0_3cpp6detail3tagEPfEEvRNS2_16execution_policyIT_EET0_SC_
	testl	%r15d, %r15d
	js	.LBB9_23
# %bb.19:                               # %.lr.ph.preheader
	leaq	(%r14,%r15,4), %rax
	xorl	%ebp, %ebp
	xorps	%xmm0, %xmm0
.LBB9_20:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movss	(%rax), %xmm1                   # xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jbe	.LBB9_23
# %bb.21:                               #   in Loop: Header=BB9_20 Depth=1
	incl	%ebp
	addq	$-4, %rax
	cmpl	%ebp, %r13d
	jne	.LBB9_20
# %bb.22:
	movl	%r13d, %ebp
.LBB9_23:                               # %._crit_edge
	movq	56(%rsp), %rdi
	xorl	%esi, %esi
	callq	hipEventRecord
	movq	56(%rsp), %rdi
	callq	hipEventSynchronize
	movq	(%rsp), %rsi
	movq	56(%rsp), %rdx
	leaq	152(%rsp), %r14
	movq	%r14, %rdi
	callq	hipEventElapsedTime
	xorps	%xmm0, %xmm0
	cvtss2sd	(%r14), %xmm0
	movl	$.L.str.11, %edi
	movb	$1, %al
	callq	printf
	movl	%ebp, %r14d
	leaq	4(,%r14,4), %rdi
	callq	_Znam
	movq	%rax, %r15
	xorps	%xmm0, %xmm0
	cvtsi2ss	%ebp, %xmm0
	movss	%xmm0, (%rax)
	leaq	4(%rax), %rdi
	shlq	$2, %r14
	subq	%r14, %rbx
	movq	%rbx, %rsi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	hipMemcpy
	movq	%r15, %rax
	addq	$392, %rsp                      # imm = 0x188
	.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_end9:
	.size	computeHOG, .Lfunc_end9-computeHOG
	.cfi_endproc
                                        # -- End function
	.section	.text._ZN6thrust6system6detail10sequential17stable_radix_sortINS0_3cpp6detail3tagEPfEEvRNS2_16execution_policyIT_EET0_SC_,"axG",@progbits,_ZN6thrust6system6detail10sequential17stable_radix_sortINS0_3cpp6detail3tagEPfEEvRNS2_16execution_policyIT_EET0_SC_,comdat
	.weak	_ZN6thrust6system6detail10sequential17stable_radix_sortINS0_3cpp6detail3tagEPfEEvRNS2_16execution_policyIT_EET0_SC_ # -- Begin function _ZN6thrust6system6detail10sequential17stable_radix_sortINS0_3cpp6detail3tagEPfEEvRNS2_16execution_policyIT_EET0_SC_
	.type	_ZN6thrust6system6detail10sequential17stable_radix_sortINS0_3cpp6detail3tagEPfEEvRNS2_16execution_policyIT_EET0_SC_,@function
_ZN6thrust6system6detail10sequential17stable_radix_sortINS0_3cpp6detail3tagEPfEEvRNS2_16execution_policyIT_EET0_SC_: # @_ZN6thrust6system6detail10sequential17stable_radix_sortINS0_3cpp6detail3tagEPfEEvRNS2_16execution_policyIT_EET0_SC_
.Lfunc_begin0:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception0
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	subq	$32, %rsp
	.cfi_def_cfa_offset 64
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rdx, %rbx
	subq	%rsi, %rbx
	sarq	$2, %rbx
	movq	%rdi, 8(%rsp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	cmpq	%rsi, %rdx
	je	.LBB10_1
# %bb.2:                                # %.noexc.i.i
	leaq	8(%rsp), %rdi
	movq	%rbx, %rsi
	callq	_ZN6thrust6detail19temporary_allocatorIfNS_6system3cpp6detail3tagEE8allocateEm
	movq	%rax, %rcx
	jmp	.LBB10_3
.LBB10_1:
	xorl	%ecx, %ecx
.LBB10_3:                               # %_ZN6thrust6detail15temporary_arrayIfNS_6system3cpp6detail3tagEEC2ERNS_16execution_policyIS5_EEm.exit
	movq	%rcx, 16(%rsp)
	movq	%rbx, 24(%rsp)
.Ltmp0:
	leaq	7(%rsp), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%rbx, %r8
	callq	_ZN6thrust6system6detail10sequential17radix_sort_detail21radix_sort_dispatcherILm4EEclINS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS9_NS_11use_defaultESE_EEEEEEvRNS2_16execution_policyIT_EET0_T1_m
.Ltmp1:
# %bb.4:
	cmpq	$0, 24(%rsp)
	je	.LBB10_6
# %bb.5:
	movq	16(%rsp), %rdi
	callq	free
.LBB10_6:                               # %_ZN6thrust6detail15temporary_arrayIfNS_6system3cpp6detail3tagEED2Ev.exit
	addq	$32, %rsp
	.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
.LBB10_7:
	.cfi_def_cfa_offset 64
.Ltmp2:
	movq	%rax, %rbx
	cmpq	$0, 24(%rsp)
	je	.LBB10_9
# %bb.8:
	movq	16(%rsp), %rdi
	callq	free
.LBB10_9:                               # %_ZN6thrust6detail15temporary_arrayIfNS_6system3cpp6detail3tagEED2Ev.exit11
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end10:
	.size	_ZN6thrust6system6detail10sequential17stable_radix_sortINS0_3cpp6detail3tagEPfEEvRNS2_16execution_policyIT_EET0_SC_, .Lfunc_end10-_ZN6thrust6system6detail10sequential17stable_radix_sortINS0_3cpp6detail3tagEPfEEvRNS2_16execution_policyIT_EET0_SC_
	.cfi_endproc
	.section	.gcc_except_table._ZN6thrust6system6detail10sequential17stable_radix_sortINS0_3cpp6detail3tagEPfEEvRNS2_16execution_policyIT_EET0_SC_,"aG",@progbits,_ZN6thrust6system6detail10sequential17stable_radix_sortINS0_3cpp6detail3tagEPfEEvRNS2_16execution_policyIT_EET0_SC_,comdat
	.p2align	2, 0x0
GCC_except_table10:
.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 .Ltmp1-.Ltmp0                  #   Call between .Ltmp0 and .Ltmp1
	.uleb128 .Ltmp2-.Lfunc_begin0           #     jumps to .Ltmp2
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp1-.Lfunc_begin0           # >> Call Site 3 <<
	.uleb128 .Lfunc_end10-.Ltmp1            #   Call between .Ltmp1 and .Lfunc_end10
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZN6thrust6detail19temporary_allocatorIfNS_6system3cpp6detail3tagEE8allocateEm,"axG",@progbits,_ZN6thrust6detail19temporary_allocatorIfNS_6system3cpp6detail3tagEE8allocateEm,comdat
	.weak	_ZN6thrust6detail19temporary_allocatorIfNS_6system3cpp6detail3tagEE8allocateEm # -- Begin function _ZN6thrust6detail19temporary_allocatorIfNS_6system3cpp6detail3tagEE8allocateEm
	.p2align	1, 0x90
	.type	_ZN6thrust6detail19temporary_allocatorIfNS_6system3cpp6detail3tagEE8allocateEm,@function
_ZN6thrust6detail19temporary_allocatorIfNS_6system3cpp6detail3tagEE8allocateEm: # @_ZN6thrust6detail19temporary_allocatorIfNS_6system3cpp6detail3tagEE8allocateEm
.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	%rbx
	.cfi_def_cfa_offset 40
	subq	$40, %rsp
	.cfi_def_cfa_offset 80
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rsi, %rbx
	leaq	(,%rsi,4), %rdi
	callq	malloc
	testq	%rbx, %rbx
	je	.LBB11_11
# %bb.1:
	testq	%rax, %rax
	je	.LBB11_2
.LBB11_11:
	addq	$40, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.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_2:
	.cfi_def_cfa_offset 80
	movl	$40, %edi
	callq	__cxa_allocate_exception
	movq	%rax, %rbx
	leaq	24(%rsp), %r15
	movq	%r15, -16(%r15)
.Ltmp3:
	leaq	8(%rsp), %rdi
	movl	$.L.str.12, %esi
	movl	$.L.str.12+55, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
.Ltmp4:
# %bb.3:                                # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.exit
	movb	$1, %bpl
.Ltmp6:
	leaq	8(%rsp), %rsi
	movq	%rbx, %rdi
	callq	_ZN6thrust6system6detail9bad_allocC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
.Ltmp7:
# %bb.4:
	xorl	%ebp, %ebp
.Ltmp8:
	movl	$_ZTIN6thrust6system6detail9bad_allocE, %esi
	movl	$_ZN6thrust6system6detail9bad_allocD2Ev, %edx
	movq	%rbx, %rdi
	callq	__cxa_throw
.Ltmp9:
# %bb.12:
.LBB11_6:
.Ltmp10:
	movq	%rax, %r14
	movq	8(%rsp), %rdi
	cmpq	%r15, %rdi
	je	.LBB11_8
# %bb.7:                                # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit
	callq	_ZdlPv
.LBB11_8:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit
	testb	%bpl, %bpl
	jne	.LBB11_9
	jmp	.LBB11_10
.LBB11_5:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit.thread
.Ltmp5:
	movq	%rax, %r14
.LBB11_9:
	movq	%rbx, %rdi
	callq	__cxa_free_exception
.LBB11_10:
	movq	%r14, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end11:
	.size	_ZN6thrust6detail19temporary_allocatorIfNS_6system3cpp6detail3tagEE8allocateEm, .Lfunc_end11-_ZN6thrust6detail19temporary_allocatorIfNS_6system3cpp6detail3tagEE8allocateEm
	.cfi_endproc
	.section	.gcc_except_table._ZN6thrust6detail19temporary_allocatorIfNS_6system3cpp6detail3tagEE8allocateEm,"aG",@progbits,_ZN6thrust6detail19temporary_allocatorIfNS_6system3cpp6detail3tagEE8allocateEm,comdat
	.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 .Lfunc_begin1-.Lfunc_begin1    # >> Call Site 1 <<
	.uleb128 .Ltmp3-.Lfunc_begin1           #   Call between .Lfunc_begin1 and .Ltmp3
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp3-.Lfunc_begin1           # >> Call Site 2 <<
	.uleb128 .Ltmp4-.Ltmp3                  #   Call between .Ltmp3 and .Ltmp4
	.uleb128 .Ltmp5-.Lfunc_begin1           #     jumps to .Ltmp5
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp6-.Lfunc_begin1           # >> Call Site 3 <<
	.uleb128 .Ltmp9-.Ltmp6                  #   Call between .Ltmp6 and .Ltmp9
	.uleb128 .Ltmp10-.Lfunc_begin1          #     jumps to .Ltmp10
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp9-.Lfunc_begin1           # >> Call Site 4 <<
	.uleb128 .Lfunc_end11-.Ltmp9            #   Call between .Ltmp9 and .Lfunc_end11
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end1:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZN6thrust6system6detail9bad_allocC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE,"axG",@progbits,_ZN6thrust6system6detail9bad_allocC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE,comdat
	.weak	_ZN6thrust6system6detail9bad_allocC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # -- Begin function _ZN6thrust6system6detail9bad_allocC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
	.p2align	1, 0x90
	.type	_ZN6thrust6system6detail9bad_allocC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE,@function
_ZN6thrust6system6detail9bad_allocC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE: # @_ZN6thrust6system6detail9bad_allocC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
.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
	pushq	%rax
	.cfi_def_cfa_offset 64
	.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, %r15
	movq	%rdi, %rbx
	movq	$_ZTVN6thrust6system6detail9bad_allocE+16, (%rdi)
	leaq	8(%rdi), %r14
	leaq	24(%rdi), %rbp
	movq	%rbp, 8(%rdi)
	movq	$0, 16(%rdi)
	movb	$0, 24(%rdi)
	callq	_ZNKSt9bad_alloc4whatEv
	movq	%rax, %r12
	movq	16(%rbx), %r13
	movq	%rax, %rdi
	callq	strlen
.Ltmp11:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%r13, %rdx
	movq	%r12, %rcx
	movq	%rax, %r8
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm
.Ltmp12:
# %bb.1:                                # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc.exit
.Ltmp13:
	movl	$.L.str.14, %esi
	movq	%r14, %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKc
.Ltmp14:
# %bb.2:                                # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc.exit
	movq	(%r15), %rsi
	movq	8(%r15), %rdx
.Ltmp15:
	movq	%r14, %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKcm
.Ltmp16:
# %bb.3:                                # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_.exit
	addq	$8, %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
.LBB12_4:
	.cfi_def_cfa_offset 64
.Ltmp17:
	movq	%rax, %r15
	movq	(%r14), %rdi
	cmpq	%rbp, %rdi
	je	.LBB12_6
# %bb.5:                                # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i
	callq	_ZdlPv
.LBB12_6:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit
	movq	%rbx, %rdi
	callq	_ZNSt9bad_allocD2Ev
	movq	%r15, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end12:
	.size	_ZN6thrust6system6detail9bad_allocC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE, .Lfunc_end12-_ZN6thrust6system6detail9bad_allocC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
	.cfi_endproc
	.section	.gcc_except_table._ZN6thrust6system6detail9bad_allocC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE,"aG",@progbits,_ZN6thrust6system6detail9bad_allocC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE,comdat
	.p2align	2, 0x0
GCC_except_table12:
.Lexception2:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end2-.Lcst_begin2
.Lcst_begin2:
	.uleb128 .Ltmp11-.Lfunc_begin2          # >> Call Site 1 <<
	.uleb128 .Ltmp16-.Ltmp11                #   Call between .Ltmp11 and .Ltmp16
	.uleb128 .Ltmp17-.Lfunc_begin2          #     jumps to .Ltmp17
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp16-.Lfunc_begin2          # >> Call Site 2 <<
	.uleb128 .Lfunc_end12-.Ltmp16           #   Call between .Ltmp16 and .Lfunc_end12
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end2:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZN6thrust6system6detail9bad_allocD2Ev,"axG",@progbits,_ZN6thrust6system6detail9bad_allocD2Ev,comdat
	.weak	_ZN6thrust6system6detail9bad_allocD2Ev # -- Begin function _ZN6thrust6system6detail9bad_allocD2Ev
	.p2align	1, 0x90
	.type	_ZN6thrust6system6detail9bad_allocD2Ev,@function
_ZN6thrust6system6detail9bad_allocD2Ev: # @_ZN6thrust6system6detail9bad_allocD2Ev
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	%rdi, %rbx
	movq	$_ZTVN6thrust6system6detail9bad_allocE+16, (%rdi)
	movq	8(%rdi), %rdi
	leaq	24(%rbx), %rax
	cmpq	%rax, %rdi
	je	.LBB13_2
# %bb.1:                                # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i
	callq	_ZdlPv
.LBB13_2:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	_ZNSt9bad_allocD2Ev             # TAILCALL
.Lfunc_end13:
	.size	_ZN6thrust6system6detail9bad_allocD2Ev, .Lfunc_end13-_ZN6thrust6system6detail9bad_allocD2Ev
	.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	.LBB14_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	.LBB14_3
.LBB14_1:                               # %._crit_edge
	movq	(%rbx), %rax
.LBB14_3:
	testq	%r14, %r14
	je	.LBB14_7
# %bb.4:
	cmpq	$1, %r14
	jne	.LBB14_6
# %bb.5:
	movb	(%r15), %cl
	movb	%cl, (%rax)
	jmp	.LBB14_7
.LBB14_6:
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	memcpy@PLT
.LBB14_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_end14:
	.size	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag, .Lfunc_end14-_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
	.cfi_endproc
                                        # -- End function
	.section	.text._ZN6thrust6system6detail9bad_allocD0Ev,"axG",@progbits,_ZN6thrust6system6detail9bad_allocD0Ev,comdat
	.weak	_ZN6thrust6system6detail9bad_allocD0Ev # -- Begin function _ZN6thrust6system6detail9bad_allocD0Ev
	.p2align	1, 0x90
	.type	_ZN6thrust6system6detail9bad_allocD0Ev,@function
_ZN6thrust6system6detail9bad_allocD0Ev: # @_ZN6thrust6system6detail9bad_allocD0Ev
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	%rdi, %rbx
	movq	$_ZTVN6thrust6system6detail9bad_allocE+16, (%rdi)
	movq	8(%rdi), %rdi
	leaq	24(%rbx), %rax
	cmpq	%rax, %rdi
	je	.LBB15_2
# %bb.1:                                # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i.i
	callq	_ZdlPv
.LBB15_2:                               # %_ZN6thrust6system6detail9bad_allocD2Ev.exit
	movq	%rbx, %rdi
	callq	_ZNSt9bad_allocD2Ev
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	_ZdlPv                          # TAILCALL
.Lfunc_end15:
	.size	_ZN6thrust6system6detail9bad_allocD0Ev, .Lfunc_end15-_ZN6thrust6system6detail9bad_allocD0Ev
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNK6thrust6system6detail9bad_alloc4whatEv,"axG",@progbits,_ZNK6thrust6system6detail9bad_alloc4whatEv,comdat
	.weak	_ZNK6thrust6system6detail9bad_alloc4whatEv # -- Begin function _ZNK6thrust6system6detail9bad_alloc4whatEv
	.p2align	1, 0x90
	.type	_ZNK6thrust6system6detail9bad_alloc4whatEv,@function
_ZNK6thrust6system6detail9bad_alloc4whatEv: # @_ZNK6thrust6system6detail9bad_alloc4whatEv
	.cfi_startproc
# %bb.0:
	movq	8(%rdi), %rax
	retq
.Lfunc_end16:
	.size	_ZNK6thrust6system6detail9bad_alloc4whatEv, .Lfunc_end16-_ZNK6thrust6system6detail9bad_alloc4whatEv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZN6thrust6system6detail10sequential17radix_sort_detail21radix_sort_dispatcherILm4EEclINS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS9_NS_11use_defaultESE_EEEEEEvRNS2_16execution_policyIT_EET0_T1_m,"axG",@progbits,_ZN6thrust6system6detail10sequential17radix_sort_detail21radix_sort_dispatcherILm4EEclINS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS9_NS_11use_defaultESE_EEEEEEvRNS2_16execution_policyIT_EET0_T1_m,comdat
	.weak	_ZN6thrust6system6detail10sequential17radix_sort_detail21radix_sort_dispatcherILm4EEclINS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS9_NS_11use_defaultESE_EEEEEEvRNS2_16execution_policyIT_EET0_T1_m # -- Begin function _ZN6thrust6system6detail10sequential17radix_sort_detail21radix_sort_dispatcherILm4EEclINS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS9_NS_11use_defaultESE_EEEEEEvRNS2_16execution_policyIT_EET0_T1_m
	.p2align	1, 0x90
	.type	_ZN6thrust6system6detail10sequential17radix_sort_detail21radix_sort_dispatcherILm4EEclINS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS9_NS_11use_defaultESE_EEEEEEvRNS2_16execution_policyIT_EET0_T1_m,@function
_ZN6thrust6system6detail10sequential17radix_sort_detail21radix_sort_dispatcherILm4EEclINS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS9_NS_11use_defaultESE_EEEEEEvRNS2_16execution_policyIT_EET0_T1_m: # @_ZN6thrust6system6detail10sequential17radix_sort_detail21radix_sort_dispatcherILm4EEclINS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS9_NS_11use_defaultESE_EEEEEEvRNS2_16execution_policyIT_EET0_T1_m
	.cfi_startproc
# %bb.0:
	movq	%r8, %r9
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	xorl	%ecx, %ecx
	cmpq	$4194303, %r8                   # imm = 0x3FFFFF
	ja	.LBB17_2
# %bb.1:
	xorl	%r8d, %r8d
	jmp	_ZN6thrust6system6detail10sequential17radix_sort_detail10radix_sortILj8ELb0ENS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS7_NS_11use_defaultESC_EEEEPiSF_EEvRNS2_16execution_policyIT1_EET2_T3_T4_T5_m # TAILCALL
.LBB17_2:
	xorl	%r8d, %r8d
	jmp	_ZN6thrust6system6detail10sequential17radix_sort_detail10radix_sortILj4ELb0ENS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS7_NS_11use_defaultESC_EEEEPiSF_EEvRNS2_16execution_policyIT1_EET2_T3_T4_T5_m # TAILCALL
.Lfunc_end17:
	.size	_ZN6thrust6system6detail10sequential17radix_sort_detail21radix_sort_dispatcherILm4EEclINS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS9_NS_11use_defaultESE_EEEEEEvRNS2_16execution_policyIT_EET0_T1_m, .Lfunc_end17-_ZN6thrust6system6detail10sequential17radix_sort_detail21radix_sort_dispatcherILm4EEclINS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS9_NS_11use_defaultESE_EEEEEEvRNS2_16execution_policyIT_EET0_T1_m
	.cfi_endproc
                                        # -- End function
	.section	.text._ZN6thrust6system6detail10sequential17radix_sort_detail10radix_sortILj8ELb0ENS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS7_NS_11use_defaultESC_EEEEPiSF_EEvRNS2_16execution_policyIT1_EET2_T3_T4_T5_m,"axG",@progbits,_ZN6thrust6system6detail10sequential17radix_sort_detail10radix_sortILj8ELb0ENS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS7_NS_11use_defaultESC_EEEEPiSF_EEvRNS2_16execution_policyIT1_EET2_T3_T4_T5_m,comdat
	.weak	_ZN6thrust6system6detail10sequential17radix_sort_detail10radix_sortILj8ELb0ENS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS7_NS_11use_defaultESC_EEEEPiSF_EEvRNS2_16execution_policyIT1_EET2_T3_T4_T5_m # -- Begin function _ZN6thrust6system6detail10sequential17radix_sort_detail10radix_sortILj8ELb0ENS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS7_NS_11use_defaultESC_EEEEPiSF_EEvRNS2_16execution_policyIT1_EET2_T3_T4_T5_m
	.type	_ZN6thrust6system6detail10sequential17radix_sort_detail10radix_sortILj8ELb0ENS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS7_NS_11use_defaultESC_EEEEPiSF_EEvRNS2_16execution_policyIT1_EET2_T3_T4_T5_m,@function
_ZN6thrust6system6detail10sequential17radix_sort_detail10radix_sortILj8ELb0ENS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS7_NS_11use_defaultESC_EEEEPiSF_EEvRNS2_16execution_policyIT1_EET2_T3_T4_T5_m: # @_ZN6thrust6system6detail10sequential17radix_sort_detail10radix_sortILj8ELb0ENS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS7_NS_11use_defaultESC_EEEEPiSF_EEvRNS2_16execution_policyIT1_EET2_T3_T4_T5_m
	.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
	subq	$8216, %rsp                     # imm = 0x2018
	.cfi_def_cfa_offset 8256
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%r9, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r14
	leaq	16(%rsp), %r12
	movl	$8192, %edx                     # imm = 0x2000
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	memset@PLT
	movl	$0, 12(%rsp)
	testq	%r15, %r15
	je	.LBB18_5
# %bb.1:                                # %.lr.ph.preheader
	xorl	%eax, %eax
.LBB18_2:                               # %.lr.ph
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB18_3 Depth 2
	movl	(%r14,%rax,4), %ecx
	movl	%ecx, %edx
	sarl	$31, %edx
	orl	$-2147483648, %edx              # imm = 0x80000000
	xorl	%ecx, %edx
	movq	%r12, %rsi
	xorl	%ecx, %ecx
.LBB18_3:                               #   Parent Loop BB18_2 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movl	%edx, %edi
	shrl	%cl, %edi
	movzbl	%dil, %edi
	incq	(%rsi,%rdi,8)
	addq	$8, %rcx
	addq	$2048, %rsi                     # imm = 0x800
	cmpq	$32, %rcx
	jne	.LBB18_3
# %bb.4:                                #   in Loop: Header=BB18_2 Depth=1
	incq	%rax
	cmpq	%r15, %rax
	jne	.LBB18_2
.LBB18_5:                               # %.preheader63.preheader
	leaq	16(%rsp), %rax
	xorl	%ecx, %ecx
.LBB18_6:                               # %.preheader63
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB18_7 Depth 2
	xorl	%edx, %edx
	xorl	%esi, %esi
.LBB18_7:                               #   Parent Loop BB18_6 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movq	(%rax,%rdx,8), %rdi
	cmpq	%r15, %rdi
	jne	.LBB18_9
# %bb.8:                                #   in Loop: Header=BB18_7 Depth=2
	movb	$1, 12(%rsp,%rcx)
.LBB18_9:                               #   in Loop: Header=BB18_7 Depth=2
	movq	%rsi, (%rax,%rdx,8)
	addq	%rdi, %rsi
	incq	%rdx
	cmpq	$256, %rdx                      # imm = 0x100
	jne	.LBB18_7
# %bb.10:                               #   in Loop: Header=BB18_6 Depth=1
	incq	%rcx
	addq	$2048, %rax                     # imm = 0x800
	cmpq	$4, %rcx
	jne	.LBB18_6
# %bb.11:                               # %.preheader
	leaq	(,%r15,4), %rdx
	xorl	%esi, %esi
	xorl	%eax, %eax
.LBB18_12:                              # =>This Loop Header: Depth=1
                                        #     Child Loop BB18_16 Depth 2
                                        #     Child Loop BB18_22 Depth 2
	cmpb	$0, 12(%rsp,%rsi)
	jne	.LBB18_24
# %bb.13:                               #   in Loop: Header=BB18_12 Depth=1
	leaq	(,%rsi,8), %rcx
	movq	%rsi, %rdi
	shlq	$11, %rdi
	addq	%rsp, %rdi
	addq	$16, %rdi
	andb	$1, %al
	jne	.LBB18_14
# %bb.20:                               #   in Loop: Header=BB18_12 Depth=1
	testq	%r15, %r15
	je	.LBB18_23
# %bb.21:                               # %.lr.ph.i.i.i.i.i.i.i57.preheader
                                        #   in Loop: Header=BB18_12 Depth=1
	xorl	%r8d, %r8d
.LBB18_22:                              # %.lr.ph.i.i.i.i.i.i.i57
                                        #   Parent Loop BB18_12 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movl	(%r14,%r8), %r9d
	movl	%r9d, %r10d
	sarl	$31, %r10d
	orl	$-2147483648, %r10d             # imm = 0x80000000
	xorl	%r9d, %r10d
	shrl	%cl, %r10d
	movzbl	%r10b, %r10d
	movq	(%rdi,%r10,8), %r11
	leaq	1(%r11), %r12
	movq	%r12, (%rdi,%r10,8)
	movl	%r9d, (%rbx,%r11,4)
	addq	$4, %r8
	cmpq	%r8, %rdx
	jne	.LBB18_22
	jmp	.LBB18_23
.LBB18_14:                              #   in Loop: Header=BB18_12 Depth=1
	testq	%r15, %r15
	je	.LBB18_23
# %bb.15:                               # %.lr.ph.i.i.i.i.i.i.i.preheader
                                        #   in Loop: Header=BB18_12 Depth=1
	xorl	%r8d, %r8d
.LBB18_16:                              # %.lr.ph.i.i.i.i.i.i.i
                                        #   Parent Loop BB18_12 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movl	(%rbx,%r8), %r9d
	movl	%r9d, %r10d
	sarl	$31, %r10d
	orl	$-2147483648, %r10d             # imm = 0x80000000
	xorl	%r9d, %r10d
	shrl	%cl, %r10d
	movzbl	%r10b, %r10d
	movq	(%rdi,%r10,8), %r11
	leaq	1(%r11), %r12
	movq	%r12, (%rdi,%r10,8)
	movl	%r9d, (%r14,%r11,4)
	addq	$4, %r8
	cmpq	%r8, %rdx
	jne	.LBB18_16
.LBB18_23:                              # %_ZN6thrust6system6detail10sequential17radix_sort_detail15radix_shuffle_nILj8ENS0_3cpp6detail3tagENS_6detail15normal_iteratorINS_7pointerIfS7_NS_11use_defaultESB_EEEEPfjEEvRNS2_16execution_policyIT0_EET1_mT2_T3_Pm.exit
                                        #   in Loop: Header=BB18_12 Depth=1
	xorb	$1, %al
.LBB18_24:                              #   in Loop: Header=BB18_12 Depth=1
	incq	%rsi
	cmpq	$4, %rsi
	jne	.LBB18_12
# %bb.17:
	testq	%r15, %r15
	je	.LBB18_25
# %bb.18:
	andb	$1, %al
	je	.LBB18_25
# %bb.19:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8216, %rsp                     # imm = 0x2018
	.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
	jmp	memmove@PLT                     # TAILCALL
.LBB18_25:                              # %_ZN6thrust4copyINS_6system3cpp6detail3tagENS_6detail15normal_iteratorINS_7pointerIfS4_NS_11use_defaultES8_EEEEPfEET1_RKNS5_21execution_policy_baseIT_EET0_SI_SC_.exit
	.cfi_def_cfa_offset 8256
	addq	$8216, %rsp                     # imm = 0x2018
	.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	_ZN6thrust6system6detail10sequential17radix_sort_detail10radix_sortILj8ELb0ENS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS7_NS_11use_defaultESC_EEEEPiSF_EEvRNS2_16execution_policyIT1_EET2_T3_T4_T5_m, .Lfunc_end18-_ZN6thrust6system6detail10sequential17radix_sort_detail10radix_sortILj8ELb0ENS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS7_NS_11use_defaultESC_EEEEPiSF_EEvRNS2_16execution_policyIT1_EET2_T3_T4_T5_m
	.cfi_endproc
                                        # -- End function
	.section	.text._ZN6thrust6system6detail10sequential17radix_sort_detail10radix_sortILj4ELb0ENS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS7_NS_11use_defaultESC_EEEEPiSF_EEvRNS2_16execution_policyIT1_EET2_T3_T4_T5_m,"axG",@progbits,_ZN6thrust6system6detail10sequential17radix_sort_detail10radix_sortILj4ELb0ENS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS7_NS_11use_defaultESC_EEEEPiSF_EEvRNS2_16execution_policyIT1_EET2_T3_T4_T5_m,comdat
	.weak	_ZN6thrust6system6detail10sequential17radix_sort_detail10radix_sortILj4ELb0ENS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS7_NS_11use_defaultESC_EEEEPiSF_EEvRNS2_16execution_policyIT1_EET2_T3_T4_T5_m # -- Begin function _ZN6thrust6system6detail10sequential17radix_sort_detail10radix_sortILj4ELb0ENS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS7_NS_11use_defaultESC_EEEEPiSF_EEvRNS2_16execution_policyIT1_EET2_T3_T4_T5_m
	.type	_ZN6thrust6system6detail10sequential17radix_sort_detail10radix_sortILj4ELb0ENS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS7_NS_11use_defaultESC_EEEEPiSF_EEvRNS2_16execution_policyIT1_EET2_T3_T4_T5_m,@function
_ZN6thrust6system6detail10sequential17radix_sort_detail10radix_sortILj4ELb0ENS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS7_NS_11use_defaultESC_EEEEPiSF_EEvRNS2_16execution_policyIT1_EET2_T3_T4_T5_m: # @_ZN6thrust6system6detail10sequential17radix_sort_detail10radix_sortILj4ELb0ENS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS7_NS_11use_defaultESC_EEEEPiSF_EEvRNS2_16execution_policyIT1_EET2_T3_T4_T5_m
	.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
	subq	$1048, %rsp                     # imm = 0x418
	.cfi_def_cfa_offset 1088
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%r9, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r14
	leaq	16(%rsp), %r12
	movl	$1024, %edx                     # imm = 0x400
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	memset@PLT
	movq	$0, 8(%rsp)
	testq	%r15, %r15
	je	.LBB19_5
# %bb.1:                                # %.lr.ph.preheader
	xorl	%eax, %eax
.LBB19_2:                               # %.lr.ph
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB19_3 Depth 2
	movl	(%r14,%rax,4), %ecx
	movl	%ecx, %edx
	sarl	$31, %edx
	orl	$-2147483648, %edx              # imm = 0x80000000
	xorl	%ecx, %edx
	movq	%r12, %rsi
	xorl	%ecx, %ecx
.LBB19_3:                               #   Parent Loop BB19_2 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movl	%edx, %edi
	shrl	%cl, %edi
	andl	$15, %edi
	incq	(%rsi,%rdi,8)
	addq	$4, %rcx
	subq	$-128, %rsi
	cmpq	$32, %rcx
	jne	.LBB19_3
# %bb.4:                                #   in Loop: Header=BB19_2 Depth=1
	incq	%rax
	cmpq	%r15, %rax
	jne	.LBB19_2
.LBB19_5:                               # %.preheader63.preheader
	leaq	16(%rsp), %rax
	xorl	%ecx, %ecx
.LBB19_6:                               # %.preheader63
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB19_7 Depth 2
	xorl	%edx, %edx
	xorl	%esi, %esi
.LBB19_7:                               #   Parent Loop BB19_6 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movq	(%rax,%rdx,8), %rdi
	cmpq	%r15, %rdi
	jne	.LBB19_9
# %bb.8:                                #   in Loop: Header=BB19_7 Depth=2
	movb	$1, 8(%rsp,%rcx)
.LBB19_9:                               #   in Loop: Header=BB19_7 Depth=2
	movq	%rsi, (%rax,%rdx,8)
	addq	%rdi, %rsi
	incq	%rdx
	cmpq	$16, %rdx
	jne	.LBB19_7
# %bb.10:                               #   in Loop: Header=BB19_6 Depth=1
	incq	%rcx
	subq	$-128, %rax
	cmpq	$8, %rcx
	jne	.LBB19_6
# %bb.11:                               # %.preheader
	leaq	(,%r15,4), %rdx
	xorl	%esi, %esi
	xorl	%eax, %eax
.LBB19_12:                              # =>This Loop Header: Depth=1
                                        #     Child Loop BB19_16 Depth 2
                                        #     Child Loop BB19_22 Depth 2
	cmpb	$0, 8(%rsp,%rsi)
	jne	.LBB19_24
# %bb.13:                               #   in Loop: Header=BB19_12 Depth=1
	leaq	(,%rsi,4), %rcx
	movq	%rsi, %rdi
	shlq	$7, %rdi
	addq	%rsp, %rdi
	addq	$16, %rdi
	andb	$1, %al
	jne	.LBB19_14
# %bb.20:                               #   in Loop: Header=BB19_12 Depth=1
	testq	%r15, %r15
	je	.LBB19_23
# %bb.21:                               # %.lr.ph.i.i.i.i.i.i.i57.preheader
                                        #   in Loop: Header=BB19_12 Depth=1
	xorl	%r8d, %r8d
.LBB19_22:                              # %.lr.ph.i.i.i.i.i.i.i57
                                        #   Parent Loop BB19_12 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movl	(%r14,%r8), %r9d
	movl	%r9d, %r10d
	sarl	$31, %r10d
	orl	$-2147483648, %r10d             # imm = 0x80000000
	xorl	%r9d, %r10d
	shrl	%cl, %r10d
	andl	$15, %r10d
	movq	(%rdi,%r10,8), %r11
	leaq	1(%r11), %r12
	movq	%r12, (%rdi,%r10,8)
	movl	%r9d, (%rbx,%r11,4)
	addq	$4, %r8
	cmpq	%r8, %rdx
	jne	.LBB19_22
	jmp	.LBB19_23
.LBB19_14:                              #   in Loop: Header=BB19_12 Depth=1
	testq	%r15, %r15
	je	.LBB19_23
# %bb.15:                               # %.lr.ph.i.i.i.i.i.i.i.preheader
                                        #   in Loop: Header=BB19_12 Depth=1
	xorl	%r8d, %r8d
.LBB19_16:                              # %.lr.ph.i.i.i.i.i.i.i
                                        #   Parent Loop BB19_12 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movl	(%rbx,%r8), %r9d
	movl	%r9d, %r10d
	sarl	$31, %r10d
	orl	$-2147483648, %r10d             # imm = 0x80000000
	xorl	%r9d, %r10d
	shrl	%cl, %r10d
	andl	$15, %r10d
	movq	(%rdi,%r10,8), %r11
	leaq	1(%r11), %r12
	movq	%r12, (%rdi,%r10,8)
	movl	%r9d, (%r14,%r11,4)
	addq	$4, %r8
	cmpq	%r8, %rdx
	jne	.LBB19_16
.LBB19_23:                              # %_ZN6thrust6system6detail10sequential17radix_sort_detail15radix_shuffle_nILj4ENS0_3cpp6detail3tagENS_6detail15normal_iteratorINS_7pointerIfS7_NS_11use_defaultESB_EEEEPfjEEvRNS2_16execution_policyIT0_EET1_mT2_T3_Pm.exit
                                        #   in Loop: Header=BB19_12 Depth=1
	xorb	$1, %al
.LBB19_24:                              #   in Loop: Header=BB19_12 Depth=1
	incq	%rsi
	cmpq	$8, %rsi
	jne	.LBB19_12
# %bb.17:
	testq	%r15, %r15
	je	.LBB19_25
# %bb.18:
	andb	$1, %al
	je	.LBB19_25
# %bb.19:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$1048, %rsp                     # imm = 0x418
	.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
	jmp	memmove@PLT                     # TAILCALL
.LBB19_25:                              # %_ZN6thrust4copyINS_6system3cpp6detail3tagENS_6detail15normal_iteratorINS_7pointerIfS4_NS_11use_defaultES8_EEEEPfEET1_RKNS5_21execution_policy_baseIT_EET0_SI_SC_.exit
	.cfi_def_cfa_offset 1088
	addq	$1048, %rsp                     # imm = 0x418
	.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_end19:
	.size	_ZN6thrust6system6detail10sequential17radix_sort_detail10radix_sortILj4ELb0ENS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS7_NS_11use_defaultESC_EEEEPiSF_EEvRNS2_16execution_policyIT1_EET2_T3_T4_T5_m, .Lfunc_end19-_ZN6thrust6system6detail10sequential17radix_sort_detail10radix_sortILj4ELb0ENS0_3cpp6detail3tagEPfNS_6detail15normal_iteratorINS_7pointerIfS7_NS_11use_defaultESC_EEEEPiSF_EEvRNS2_16execution_policyIT1_EET2_T3_T4_T5_m
	.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	.LBB20_2
# %bb.1:
	movl	$__hip_fatbin_wrapper, %edi
	callq	__hipRegisterFatBinary
	movq	%rax, %rbx
	movq	%rax, __hip_gpubin_handle(%rip)
.LBB20_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z15computeGradientPfPiS_jj, %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	$_Z13computeBinHOGPfS_PiS0_S_S0_jjjj, %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	$_Z16computeBinHOGTarPfPiS_S0_jjjj, %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	$_Z15computeDistancePfS_S_jj, %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	$_Z4votePfS_S_PiS0_jjjj, %esi
	movl	$.L__unnamed_5, %edx
	movl	$.L__unnamed_5, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z17genGaussianFilterPf, %esi
	movl	$.L__unnamed_6, %edx
	movl	$.L__unnamed_6, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z14gaussianFilterPfS_S_jj, %esi
	movl	$.L__unnamed_7, %edx
	movl	$.L__unnamed_7, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z13detectMaximalPfS_jjf, %esi
	movl	$.L__unnamed_8, %edx
	movl	$.L__unnamed_8, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z16computeThresholdPfS_, %esi
	movl	$.L__unnamed_9, %edx
	movl	$.L__unnamed_9, %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_end20:
	.size	__hip_module_ctor, .Lfunc_end20-__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	.LBB21_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
.LBB21_2:
	retq
.Lfunc_end21:
	.size	__hip_module_dtor, .Lfunc_end21-__hip_module_dtor
	.cfi_endproc
                                        # -- End function
	.type	_Z15computeGradientPfPiS_jj,@object # @_Z15computeGradientPfPiS_jj
	.section	.rodata,"a",@progbits
	.globl	_Z15computeGradientPfPiS_jj
	.p2align	3, 0x0
_Z15computeGradientPfPiS_jj:
	.quad	_Z30__device_stub__computeGradientPfPiS_jj
	.size	_Z15computeGradientPfPiS_jj, 8

	.type	_Z13computeBinHOGPfS_PiS0_S_S0_jjjj,@object # @_Z13computeBinHOGPfS_PiS0_S_S0_jjjj
	.globl	_Z13computeBinHOGPfS_PiS0_S_S0_jjjj
	.p2align	3, 0x0
_Z13computeBinHOGPfS_PiS0_S_S0_jjjj:
	.quad	_Z28__device_stub__computeBinHOGPfS_PiS0_S_S0_jjjj
	.size	_Z13computeBinHOGPfS_PiS0_S_S0_jjjj, 8

	.type	_Z16computeBinHOGTarPfPiS_S0_jjjj,@object # @_Z16computeBinHOGTarPfPiS_S0_jjjj
	.globl	_Z16computeBinHOGTarPfPiS_S0_jjjj
	.p2align	3, 0x0
_Z16computeBinHOGTarPfPiS_S0_jjjj:
	.quad	_Z31__device_stub__computeBinHOGTarPfPiS_S0_jjjj
	.size	_Z16computeBinHOGTarPfPiS_S0_jjjj, 8

	.type	_Z15computeDistancePfS_S_jj,@object # @_Z15computeDistancePfS_S_jj
	.globl	_Z15computeDistancePfS_S_jj
	.p2align	3, 0x0
_Z15computeDistancePfS_S_jj:
	.quad	_Z30__device_stub__computeDistancePfS_S_jj
	.size	_Z15computeDistancePfS_S_jj, 8

	.type	_Z4votePfS_S_PiS0_jjjj,@object  # @_Z4votePfS_S_PiS0_jjjj
	.globl	_Z4votePfS_S_PiS0_jjjj
	.p2align	3, 0x0
_Z4votePfS_S_PiS0_jjjj:
	.quad	_Z19__device_stub__votePfS_S_PiS0_jjjj
	.size	_Z4votePfS_S_PiS0_jjjj, 8

	.type	_Z17genGaussianFilterPf,@object # @_Z17genGaussianFilterPf
	.globl	_Z17genGaussianFilterPf
	.p2align	3, 0x0
_Z17genGaussianFilterPf:
	.quad	_Z32__device_stub__genGaussianFilterPf
	.size	_Z17genGaussianFilterPf, 8

	.type	_Z14gaussianFilterPfS_S_jj,@object # @_Z14gaussianFilterPfS_S_jj
	.globl	_Z14gaussianFilterPfS_S_jj
	.p2align	3, 0x0
_Z14gaussianFilterPfS_S_jj:
	.quad	_Z29__device_stub__gaussianFilterPfS_S_jj
	.size	_Z14gaussianFilterPfS_S_jj, 8

	.type	_Z13detectMaximalPfS_jjf,@object # @_Z13detectMaximalPfS_jjf
	.globl	_Z13detectMaximalPfS_jjf
	.p2align	3, 0x0
_Z13detectMaximalPfS_jjf:
	.quad	_Z28__device_stub__detectMaximalPfS_jjf
	.size	_Z13detectMaximalPfS_jjf, 8

	.type	_Z16computeThresholdPfS_,@object # @_Z16computeThresholdPfS_
	.globl	_Z16computeThresholdPfS_
	.p2align	3, 0x0
_Z16computeThresholdPfS_:
	.quad	_Z31__device_stub__computeThresholdPfS_
	.size	_Z16computeThresholdPfS_, 8

	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	"Initialization :%f ms\n"
	.size	.L.str, 23

	.type	.L.str.1,@object                # @.str.1
.L.str.1:
	.asciz	"Gradient Computation for Ref Image :%f ms\n"
	.size	.L.str.1, 43

	.type	.L.str.2,@object                # @.str.2
.L.str.2:
	.asciz	"HOG Computation for Ref Image :%f ms\n"
	.size	.L.str.2, 38

	.type	.L.str.3,@object                # @.str.3
.L.str.3:
	.asciz	"Gradient Computation for Target Image :%f ms\n"
	.size	.L.str.3, 46

	.type	.L.str.4,@object                # @.str.4
.L.str.4:
	.asciz	"HOG Computation for Target Image :%f ms\n"
	.size	.L.str.4, 41

	.type	.L.str.5,@object                # @.str.5
.L.str.5:
	.asciz	"Distance Matrix Computation:%f ms\n"
	.size	.L.str.5, 35

	.type	.L.str.6,@object                # @.str.6
.L.str.6:
	.asciz	"Threshold and Voting:%f ms\n"
	.size	.L.str.6, 28

	.type	.L.str.7,@object                # @.str.7
.L.str.7:
	.asciz	"Gaussian Kernel Generation:%f ms\n"
	.size	.L.str.7, 34

	.type	.L.str.8,@object                # @.str.8
.L.str.8:
	.asciz	"Gaussian Blur:%f ms\n"
	.size	.L.str.8, 21

	.type	.L.str.9,@object                # @.str.9
.L.str.9:
	.asciz	"Maximal Voting Value Computation:%f ms\n"
	.size	.L.str.9, 40

	.type	.L.str.10,@object               # @.str.10
.L.str.10:
	.asciz	"Local Maximal Detection:%f ms\n"
	.size	.L.str.10, 31

	.type	.L.str.11,@object               # @.str.11
.L.str.11:
	.asciz	"Transfering Detected Logo Position to HOST:%f ms\n"
	.size	.L.str.11, 50

	.type	.L.str.12,@object               # @.str.12
.L.str.12:
	.asciz	"temporary_buffer::allocate: get_temporary_buffer failed"
	.size	.L.str.12, 56

	.type	_ZTSN6thrust6system6detail9bad_allocE,@object # @_ZTSN6thrust6system6detail9bad_allocE
	.section	.rodata._ZTSN6thrust6system6detail9bad_allocE,"aG",@progbits,_ZTSN6thrust6system6detail9bad_allocE,comdat
	.weak	_ZTSN6thrust6system6detail9bad_allocE
_ZTSN6thrust6system6detail9bad_allocE:
	.asciz	"N6thrust6system6detail9bad_allocE"
	.size	_ZTSN6thrust6system6detail9bad_allocE, 34

	.type	_ZTIN6thrust6system6detail9bad_allocE,@object # @_ZTIN6thrust6system6detail9bad_allocE
	.section	.rodata._ZTIN6thrust6system6detail9bad_allocE,"aG",@progbits,_ZTIN6thrust6system6detail9bad_allocE,comdat
	.weak	_ZTIN6thrust6system6detail9bad_allocE
	.p2align	3, 0x0
_ZTIN6thrust6system6detail9bad_allocE:
	.quad	_ZTVN10__cxxabiv120__si_class_type_infoE+16
	.quad	_ZTSN6thrust6system6detail9bad_allocE
	.quad	_ZTISt9bad_alloc
	.size	_ZTIN6thrust6system6detail9bad_allocE, 24

	.type	_ZTVN6thrust6system6detail9bad_allocE,@object # @_ZTVN6thrust6system6detail9bad_allocE
	.section	.rodata._ZTVN6thrust6system6detail9bad_allocE,"aG",@progbits,_ZTVN6thrust6system6detail9bad_allocE,comdat
	.weak	_ZTVN6thrust6system6detail9bad_allocE
	.p2align	3, 0x0
_ZTVN6thrust6system6detail9bad_allocE:
	.quad	0
	.quad	_ZTIN6thrust6system6detail9bad_allocE
	.quad	_ZN6thrust6system6detail9bad_allocD2Ev
	.quad	_ZN6thrust6system6detail9bad_allocD0Ev
	.quad	_ZNK6thrust6system6detail9bad_alloc4whatEv
	.size	_ZTVN6thrust6system6detail9bad_allocE, 40

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

	.type	.L__unnamed_1,@object           # @0
.L__unnamed_1:
	.asciz	"_Z15computeGradientPfPiS_jj"
	.size	.L__unnamed_1, 28

	.type	.L__unnamed_2,@object           # @1
.L__unnamed_2:
	.asciz	"_Z13computeBinHOGPfS_PiS0_S_S0_jjjj"
	.size	.L__unnamed_2, 36

	.type	.L__unnamed_3,@object           # @2
.L__unnamed_3:
	.asciz	"_Z16computeBinHOGTarPfPiS_S0_jjjj"
	.size	.L__unnamed_3, 34

	.type	.L__unnamed_4,@object           # @3
.L__unnamed_4:
	.asciz	"_Z15computeDistancePfS_S_jj"
	.size	.L__unnamed_4, 28

	.type	.L__unnamed_5,@object           # @4
.L__unnamed_5:
	.asciz	"_Z4votePfS_S_PiS0_jjjj"
	.size	.L__unnamed_5, 23

	.type	.L__unnamed_6,@object           # @5
.L__unnamed_6:
	.asciz	"_Z17genGaussianFilterPf"
	.size	.L__unnamed_6, 24

	.type	.L__unnamed_7,@object           # @6
.L__unnamed_7:
	.asciz	"_Z14gaussianFilterPfS_S_jj"
	.size	.L__unnamed_7, 27

	.type	.L__unnamed_8,@object           # @7
.L__unnamed_8:
	.asciz	"_Z13detectMaximalPfS_jjf"
	.size	.L__unnamed_8, 25

	.type	.L__unnamed_9,@object           # @8
.L__unnamed_9:
	.asciz	"_Z16computeThresholdPfS_"
	.size	.L__unnamed_9, 25

	.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 _Z30__device_stub__computeGradientPfPiS_jj
	.addrsig_sym _Z28__device_stub__computeBinHOGPfS_PiS0_S_S0_jjjj
	.addrsig_sym _Z31__device_stub__computeBinHOGTarPfPiS_S0_jjjj
	.addrsig_sym _Z30__device_stub__computeDistancePfS_S_jj
	.addrsig_sym _Z19__device_stub__votePfS_S_PiS0_jjjj
	.addrsig_sym _Z32__device_stub__genGaussianFilterPf
	.addrsig_sym _Z29__device_stub__gaussianFilterPfS_S_jj
	.addrsig_sym _Z28__device_stub__detectMaximalPfS_jjf
	.addrsig_sym _Z31__device_stub__computeThresholdPfS_
	.addrsig_sym __gxx_personality_v0
	.addrsig_sym __hip_module_ctor
	.addrsig_sym __hip_module_dtor
	.addrsig_sym _Unwind_Resume
	.addrsig_sym _Z15computeGradientPfPiS_jj
	.addrsig_sym _Z13computeBinHOGPfS_PiS0_S_S0_jjjj
	.addrsig_sym _Z16computeBinHOGTarPfPiS_S0_jjjj
	.addrsig_sym _Z15computeDistancePfS_S_jj
	.addrsig_sym _Z4votePfS_S_PiS0_jjjj
	.addrsig_sym _Z17genGaussianFilterPf
	.addrsig_sym _Z14gaussianFilterPfS_S_jj
	.addrsig_sym _Z13detectMaximalPfS_jjf
	.addrsig_sym _Z16computeThresholdPfS_
	.addrsig_sym _ZTVN10__cxxabiv120__si_class_type_infoE
	.addrsig_sym _ZTSN6thrust6system6detail9bad_allocE
	.addrsig_sym _ZTISt9bad_alloc
	.addrsig_sym _ZTIN6thrust6system6detail9bad_allocE
	.addrsig_sym __hip_fatbin
	.addrsig_sym __hip_fatbin_wrapper
	.addrsig_sym __hip_cuid_

	.text
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.protected	_Z15computeGradientPfPiS_jj ; -- Begin function _Z15computeGradientPfPiS_jj
	.globl	_Z15computeGradientPfPiS_jj
	.p2align	8
	.type	_Z15computeGradientPfPiS_jj,@function
_Z15computeGradientPfPiS_jj:            ; @_Z15computeGradientPfPiS_jj
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x2c
	s_load_b64 s[8:9], s[0:1], 0x18
	v_and_b32_e32 v2, 0x3ff, v0
	v_bfe_u32 v3, v0, 10, 10
	s_waitcnt lgkmcnt(0)
	s_lshr_b32 s3, s2, 16
	s_and_b32 s2, s2, 0xffff
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	v_mad_u64_u32 v[0:1], null, s14, s2, v[2:3]
	v_mad_u64_u32 v[1:2], null, s15, s3, v[3:4]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_gt_u32_e32 vcc_lo, s8, v0
	v_cmp_gt_u32_e64 s2, s9, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_b32 s2, vcc_lo, s2
	s_and_saveexec_b32 s3, s2
	s_cbranch_execz .LBB0_26
; %bb.1:
	s_load_b64 s[10:11], s[0:1], 0x10
	v_cmp_eq_u32_e32 vcc_lo, 0, v0
	s_mov_b32 s3, 0
	s_mov_b32 s5, exec_lo
                                        ; implicit-def: $vgpr2_vgpr3
                                        ; implicit-def: $vgpr4
                                        ; implicit-def: $sgpr4
	v_cmpx_ne_u32_e32 0, v0
	s_xor_b32 s5, exec_lo, s5
	s_cbranch_execz .LBB0_9
; %bb.2:
	s_add_i32 s2, s8, -1
	s_mov_b32 s6, exec_lo
                                        ; implicit-def: $vgpr2_vgpr3
                                        ; implicit-def: $vgpr4
                                        ; implicit-def: $sgpr4
	v_cmpx_ne_u32_e64 s2, v0
	s_xor_b32 s6, exec_lo, s6
	s_cbranch_execz .LBB0_6
; %bb.3:
	s_add_i32 s3, s9, -1
	v_cmp_ne_u32_e64 s2, 0, v1
	v_cmp_ne_u32_e64 s3, s3, v1
	s_mov_b32 s4, 0
                                        ; implicit-def: $vgpr2_vgpr3
                                        ; implicit-def: $vgpr4
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(SALU_CYCLE_1)
	s_and_b32 s2, s2, s3
	s_mov_b32 s3, 0
	s_and_saveexec_b32 s7, s2
	s_xor_b32 s7, exec_lo, s7
	s_cbranch_execz .LBB0_5
; %bb.4:
	v_mad_u64_u32 v[4:5], null, v1, s8, v[0:1]
	v_mov_b32_e32 v3, 0
	s_mov_b32 s3, exec_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_nc_u32_e32 v2, 1, v4
	v_add_nc_u32_e32 v4, -1, v4
	v_lshlrev_b64 v[2:3], 2, v[2:3]
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v2, s2, s10, v2
	v_add_co_ci_u32_e64 v3, s2, s11, v3, s2
.LBB0_5:                                ; %Flow132
	s_or_b32 exec_lo, exec_lo, s7
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_b32 s3, s3, exec_lo
.LBB0_6:                                ; %Flow131
	s_and_not1_saveexec_b32 s6, s6
	s_cbranch_execz .LBB0_8
; %bb.7:
	v_mad_u64_u32 v[4:5], null, v1, s8, v[0:1]
	v_mov_b32_e32 v5, 0
	s_or_b32 s3, s3, exec_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_2)
	v_lshlrev_b64 v[2:3], 2, v[4:5]
	v_add_nc_u32_e32 v4, -1, v4
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v2, s2, s10, v2
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v3, s2, s11, v3, s2
.LBB0_8:                                ; %Flow133
	s_or_b32 exec_lo, exec_lo, s6
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_b32 s3, s3, exec_lo
.LBB0_9:                                ; %Flow130
	s_and_not1_saveexec_b32 s5, s5
	s_cbranch_execz .LBB0_11
; %bb.10:
	v_mul_lo_u32 v4, v1, s8
	v_mov_b32_e32 v3, 0
	s_or_b32 s3, s3, exec_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_nc_u32_e32 v2, 1, v4
	v_lshlrev_b64 v[2:3], 2, v[2:3]
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v2, s2, s10, v2
	v_add_co_ci_u32_e64 v3, s2, s11, v3, s2
.LBB0_11:                               ; %Flow134
	s_or_b32 exec_lo, exec_lo, s5
	v_mov_b32_e32 v6, s4
	s_and_saveexec_b32 s4, s3
	s_cbranch_execz .LBB0_13
; %bb.12:                               ; %.sink.split
	v_mov_b32_e32 v5, 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[4:5], 2, v[4:5]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v4, s2, s10, v4
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v5, s2, s11, v5, s2
	global_load_b32 v2, v[2:3], off
	global_load_b32 v3, v[4:5], off
	s_waitcnt vmcnt(0)
	v_sub_f32_e32 v6, v2, v3
.LBB0_13:
	s_or_b32 exec_lo, exec_lo, s4
	s_load_b128 s[4:7], s[0:1], 0x0
	s_mov_b32 s3, 0
	s_mov_b32 s2, exec_lo
                                        ; implicit-def: $vgpr2_vgpr3
                                        ; implicit-def: $vgpr4
                                        ; implicit-def: $sgpr1
	v_cmpx_ne_u32_e32 0, v1
	s_xor_b32 s2, exec_lo, s2
	s_cbranch_execz .LBB0_21
; %bb.14:
	s_add_i32 s0, s9, -1
	s_mov_b32 s9, 0
	s_mov_b32 s3, exec_lo
                                        ; implicit-def: $vgpr2_vgpr3
                                        ; implicit-def: $vgpr4
                                        ; implicit-def: $sgpr1
	v_cmpx_ne_u32_e64 s0, v1
	s_xor_b32 s3, exec_lo, s3
	s_cbranch_execz .LBB0_18
; %bb.15:
	s_add_i32 s0, s8, -1
	s_xor_b32 s9, vcc_lo, -1
	v_cmp_ne_u32_e64 s0, s0, v0
	s_mov_b32 s1, 0
                                        ; implicit-def: $vgpr2_vgpr3
                                        ; implicit-def: $vgpr4
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(SALU_CYCLE_1)
	s_and_b32 s9, s9, s0
	s_mov_b32 s0, 0
	s_and_saveexec_b32 s12, s9
	s_xor_b32 s9, exec_lo, s12
	s_cbranch_execz .LBB0_17
; %bb.16:
	v_mad_u64_u32 v[2:3], null, s8, v1, s[8:9]
	v_mov_b32_e32 v4, 0
	s_lshl_b32 s12, s8, 1
	s_mov_b32 s0, exec_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_nc_u32_e32 v3, v2, v0
	v_subrev_nc_u32_e32 v5, s12, v2
	v_lshlrev_b64 v[3:4], 2, v[3:4]
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v2, vcc_lo, s10, v3
	v_add_co_ci_u32_e32 v3, vcc_lo, s11, v4, vcc_lo
	v_add_nc_u32_e32 v4, v5, v0
.LBB0_17:                               ; %Flow126
	s_or_b32 exec_lo, exec_lo, s9
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_b32 s9, s0, exec_lo
.LBB0_18:                               ; %Flow125
	s_and_not1_saveexec_b32 s0, s3
	s_cbranch_execz .LBB0_20
; %bb.19:
	v_mul_lo_u32 v4, v1, s8
	v_mov_b32_e32 v3, 0
	s_or_b32 s9, s9, exec_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_nc_u32_e32 v2, v4, v0
	v_subrev_nc_u32_e32 v4, s8, v4
	v_lshlrev_b64 v[2:3], 2, v[2:3]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_nc_u32_e32 v4, v4, v0
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v2, vcc_lo, s10, v2
	s_delay_alu instid0(VALU_DEP_3)
	v_add_co_ci_u32_e32 v3, vcc_lo, s11, v3, vcc_lo
.LBB0_20:                               ; %Flow127
	s_or_b32 exec_lo, exec_lo, s0
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_b32 s3, s9, exec_lo
.LBB0_21:                               ; %Flow
	s_and_not1_saveexec_b32 s0, s2
	s_cbranch_execz .LBB0_23
; %bb.22:
	v_dual_mov_b32 v3, 0 :: v_dual_add_nc_u32 v2, s8, v0
	v_mov_b32_e32 v4, v0
	s_or_b32 s3, s3, exec_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[2:3], 2, v[2:3]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v2, vcc_lo, s10, v2
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v3, vcc_lo, s11, v3, vcc_lo
.LBB0_23:                               ; %Flow128
	s_or_b32 exec_lo, exec_lo, s0
	v_mov_b32_e32 v5, s1
	s_and_saveexec_b32 s0, s3
	s_cbranch_execz .LBB0_25
; %bb.24:                               ; %.sink.split102
	v_mov_b32_e32 v5, 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[4:5], 2, v[4:5]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v4, vcc_lo, s10, v4
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v5, vcc_lo, s11, v5, vcc_lo
	global_load_b32 v2, v[2:3], off
	global_load_b32 v3, v[4:5], off
	s_waitcnt vmcnt(0)
	v_sub_f32_e32 v5, v2, v3
.LBB0_25:
	s_or_b32 exec_lo, exec_lo, s0
	v_cmp_neq_f32_e32 vcc_lo, 0, v6
	s_mov_b32 s0, 0x3b2d2a58
	v_cndmask_b32_e32 v2, 0x3727c5ac, v6, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_div_scale_f32 v3, null, v2, v2, v5
	v_div_scale_f32 v8, vcc_lo, v5, v2, v5
	v_rcp_f32_e32 v4, v3
	s_waitcnt_depctr 0xfff
	v_fma_f32 v7, -v3, v4, 1.0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v4, v7, v4
	v_mul_f32_e32 v7, v8, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v9, -v3, v7, v8
	v_fmac_f32_e32 v7, v9, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v3, -v3, v7, v8
	v_div_fmas_f32 v3, v3, v4, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_div_fixup_f32 v2, v3, v2, v5
	v_mul_f32_e32 v5, v5, v5
	v_rcp_f32_e64 v3, |v2|
	v_cmp_gt_f32_e64 vcc_lo, |v2|, 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v5, v6, v6
	s_waitcnt_depctr 0xfff
	v_cndmask_b32_e64 v3, |v2|, v3, vcc_lo
	v_mul_f32_e32 v4, v3, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fmaak_f32 v7, s0, v4, 0xbc7a590c
	v_cmp_gt_f32_e64 s0, 0xf800000, v5
	v_fmaak_f32 v7, v4, v7, 0x3d29fb3f
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmaak_f32 v7, v4, v7, 0xbd97d4d7
	v_fmaak_f32 v7, v4, v7, 0x3dd931b2
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmaak_f32 v7, v4, v7, 0xbe1160e6
	v_fmaak_f32 v7, v4, v7, 0x3e4cb8bf
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmaak_f32 v7, v4, v7, 0xbeaaaa62
	v_mul_f32_e32 v4, v4, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v3, v3, v4
	v_sub_f32_e32 v4, 0x3fc90fdb, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v3, v3, v4, vcc_lo
	v_bfi_b32 v2, 0x7fffffff, v3, v2
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v2, 0x3fc90fdb, v2
	v_mul_f32_e32 v2, 0x43340000, v2
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_div_scale_f32 v3, null, 0x40490fdb, 0x40490fdb, v2
	v_div_scale_f32 v8, vcc_lo, v2, 0x40490fdb, v2
	v_rcp_f32_e32 v4, v3
	s_waitcnt_depctr 0xfff
	v_fma_f32 v7, -v3, v4, 1.0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v4, v7, v4
	v_mul_f32_e32 v7, v8, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v9, -v3, v7, v8
	v_fmac_f32_e32 v7, v9, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v3, -v3, v7, v8
	v_div_fmas_f32 v3, v3, v4, v7
	v_mul_f32_e32 v7, 0x4f800000, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_div_fixup_f32 v2, v3, 0x40490fdb, v2
	v_cndmask_b32_e64 v5, v5, v7, s0
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_div_scale_f32 v3, null, 0x41a00000, 0x41a00000, v2
	v_div_scale_f32 v8, vcc_lo, v2, 0x41a00000, v2
	v_sqrt_f32_e32 v7, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_rcp_f32_e32 v4, v3
	s_waitcnt_depctr 0xfff
	v_fma_f32 v6, -v3, v4, 1.0
	v_fmac_f32_e32 v4, v6, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v6, v8, v4
	v_fma_f32 v9, -v3, v6, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_fmac_f32 v6, v9, v4 :: v_dual_add_nc_u32 v9, -1, v7
	v_fma_f32 v3, -v3, v6, v8
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_fma_f32 v10, -v9, v7, v5
	v_add_nc_u32_e32 v8, 1, v7
	v_div_fmas_f32 v3, v3, v4, v6
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_ge_f32_e32 vcc_lo, 0, v10
	v_fma_f32 v4, -v8, v7, v5
	v_cndmask_b32_e32 v6, v7, v9, vcc_lo
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_div_fixup_f32 v7, v3, 0x41a00000, v2
	v_mad_u64_u32 v[2:3], null, v1, s8, v[0:1]
	v_cmp_lt_f32_e32 vcc_lo, 0, v4
	v_mov_b32_e32 v3, 0
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_ceil_f32_e32 v0, v7
	v_cndmask_b32_e32 v4, v6, v8, vcc_lo
	v_cvt_i32_f32_e32 v7, v0
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_lshlrev_b64 v[0:1], 2, v[2:3]
	v_mul_f32_e32 v6, 0x37800000, v4
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_ne_u32_e32 vcc_lo, 10, v7
	v_cndmask_b32_e64 v4, v4, v6, s0
	v_cndmask_b32_e32 v6, 9, v7, vcc_lo
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v2, vcc_lo, s4, v0
	v_add_co_ci_u32_e32 v3, vcc_lo, s5, v1, vcc_lo
	v_cmp_class_f32_e64 vcc_lo, v5, 0x260
	v_cndmask_b32_e32 v4, v4, v5, vcc_lo
	v_cmp_ne_u32_e32 vcc_lo, 0, v7
	v_cndmask_b32_e32 v5, 1, v6, vcc_lo
	v_add_co_u32 v0, vcc_lo, s6, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, s7, v1, vcc_lo
	global_store_b32 v[2:3], v4, off
	global_store_b32 v[0:1], v5, off
.LBB0_26:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z15computeGradientPfPiS_jj
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 288
		.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 11
		.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	_Z15computeGradientPfPiS_jj, .Lfunc_end0-_Z15computeGradientPfPiS_jj
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1632
; NumSgprs: 18
; NumVgprs: 11
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 11
; 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	_Z13computeBinHOGPfS_PiS0_S_S0_jjjj ; -- Begin function _Z13computeBinHOGPfS_PiS0_S_S0_jjjj
	.globl	_Z13computeBinHOGPfS_PiS0_S_S0_jjjj
	.p2align	8
	.type	_Z13computeBinHOGPfS_PiS0_S_S0_jjjj,@function
_Z13computeBinHOGPfS_PiS0_S_S0_jjjj:    ; @_Z13computeBinHOGPfS_PiS0_S_S0_jjjj
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x4c
	s_load_b128 s[16:19], s[0:1], 0x30
	v_and_b32_e32 v3, 0x3ff, v0
	v_bfe_u32 v7, v0, 10, 10
	s_waitcnt lgkmcnt(0)
	s_lshr_b32 s3, s2, 16
	s_and_b32 s2, s2, 0xffff
	s_mul_i32 s20, s15, s3
	v_mad_u64_u32 v[1:2], null, s14, s2, v[3:4]
	v_add_nc_u32_e32 v6, s20, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_gt_u32_e64 s2, s17, v6
	v_cmp_gt_u32_e32 vcc_lo, s16, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_b32 s2, vcc_lo, s2
	s_and_saveexec_b32 s3, s2
	s_cbranch_execz .LBB1_18
; %bb.1:
	s_clause 0x1
	s_load_b256 s[4:11], s[0:1], 0x0
	s_load_b128 s[0:3], s[0:1], 0x20
	v_mul_lo_u32 v2, s18, v6
	v_lshl_add_u32 v0, v1, 1, v1
	s_mov_b32 s12, 0
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_3) | instid1(VALU_DEP_3)
	s_mov_b32 s13, s12
	s_mov_b32 s14, s12
	s_mov_b32 s15, s12
	v_dual_mov_b32 v3, 0 :: v_dual_mov_b32 v8, s12
	v_mad_u64_u32 v[4:5], null, v2, 3, v[0:1]
	v_dual_mov_b32 v9, s13 :: v_dual_mov_b32 v10, s14
	v_mov_b32_e32 v11, s15
	v_add_nc_u32_e64 v5, 16, -4
	s_mul_i32 s13, s18, 6
	s_clause 0x14
	scratch_store_b32 off, v3, off offset:336
	scratch_store_b128 off, v[8:11], off offset:320
	scratch_store_b128 off, v[8:11], off offset:304
	scratch_store_b128 off, v[8:11], off offset:288
	scratch_store_b128 off, v[8:11], off offset:272
	scratch_store_b128 off, v[8:11], off offset:256
	scratch_store_b128 off, v[8:11], off offset:240
	scratch_store_b128 off, v[8:11], off offset:224
	scratch_store_b128 off, v[8:11], off offset:208
	scratch_store_b128 off, v[8:11], off offset:192
	scratch_store_b128 off, v[8:11], off offset:176
	scratch_store_b128 off, v[8:11], off offset:160
	scratch_store_b128 off, v[8:11], off offset:144
	scratch_store_b128 off, v[8:11], off offset:128
	scratch_store_b128 off, v[8:11], off offset:112
	scratch_store_b128 off, v[8:11], off offset:96
	scratch_store_b128 off, v[8:11], off offset:80
	scratch_store_b128 off, v[8:11], off offset:64
	scratch_store_b128 off, v[8:11], off offset:48
	scratch_store_b128 off, v[8:11], off offset:32
	scratch_store_b128 off, v[8:11], off offset:16
.LBB1_2:                                ; %.preheader116
                                        ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB1_3 Depth 2
                                        ;       Child Loop BB1_4 Depth 3
                                        ;         Child Loop BB1_5 Depth 4
	s_delay_alu instid0(VALU_DEP_1)
	v_mov_b32_e32 v8, v4
	s_mov_b32 s15, 0
.LBB1_3:                                ;   Parent Loop BB1_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB1_4 Depth 3
                                        ;         Child Loop BB1_5 Depth 4
	s_delay_alu instid0(VALU_DEP_1)
	v_mov_b32_e32 v9, v8
	s_mov_b32 s16, 0
	s_mul_i32 s21, s12, 36
.LBB1_4:                                ; %.preheader115
                                        ;   Parent Loop BB1_2 Depth=1
                                        ;     Parent Loop BB1_3 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB1_5 Depth 4
	s_mov_b32 s22, 0
.LBB1_5:                                ;   Parent Loop BB1_2 Depth=1
                                        ;     Parent Loop BB1_3 Depth=2
                                        ;       Parent Loop BB1_4 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	v_add_nc_u32_e32 v2, s22, v9
	s_add_i32 s22, s22, 1
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	s_cmp_eq_u32 s22, 6
	v_lshlrev_b64 v[10:11], 2, v[2:3]
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v12, vcc_lo, s2, v10
	v_add_co_ci_u32_e32 v13, vcc_lo, s3, v11, vcc_lo
	v_add_co_u32 v10, vcc_lo, s0, v10
	v_add_co_ci_u32_e32 v11, vcc_lo, s1, v11, vcc_lo
	global_load_b32 v2, v[12:13], off
	s_waitcnt vmcnt(0)
	v_lshlrev_b32_e32 v2, 2, v2
	s_delay_alu instid0(VALU_DEP_1)
	v_add3_u32 v2, v5, s21, v2
	global_load_b32 v10, v[10:11], off
	scratch_load_b32 v11, v2, off
	s_waitcnt vmcnt(0)
	v_add_f32_e32 v10, v10, v11
	scratch_store_b32 v2, v10, off
	s_cbranch_scc0 .LBB1_5
; %bb.6:                                ;   in Loop: Header=BB1_4 Depth=3
	v_add_nc_u32_e32 v9, s18, v9
	s_add_i32 s16, s16, 1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_cmp_eq_u32 s16, 6
	s_cbranch_scc0 .LBB1_4
; %bb.7:                                ;   in Loop: Header=BB1_3 Depth=2
	v_add_nc_u32_e32 v8, 6, v8
	s_add_i32 s15, s15, 1
	s_add_i32 s12, s12, 1
	s_cmp_eq_u32 s15, 3
	s_cbranch_scc0 .LBB1_3
; %bb.8:                                ;   in Loop: Header=BB1_2 Depth=1
	v_add_nc_u32_e32 v4, s13, v4
	s_add_i32 s14, s14, 1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_cmp_lg_u32 s14, 3
	s_cbranch_scc1 .LBB1_2
; %bb.9:                                ; %.preheader113.preheader
	v_dual_mov_b32 v4, 16 :: v_dual_mov_b32 v3, 0
	v_mov_b32_e32 v2, 0
	s_mov_b32 s0, 0
.LBB1_10:                               ; %.preheader113
                                        ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB1_11 Depth 2
	s_mov_b32 s1, 0
.LBB1_11:                               ;   Parent Loop BB1_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	v_add_nc_u32_e32 v5, s1, v4
	s_add_i32 s1, s1, 4
	s_delay_alu instid0(SALU_CYCLE_1)
	s_cmp_eq_u32 s1, 36
	scratch_load_b32 v5, v5, off
	s_waitcnt vmcnt(0)
	v_cmp_lt_f32_e32 vcc_lo, 0, v5
	v_fmac_f32_e32 v2, v5, v5
	v_add_co_ci_u32_e32 v3, vcc_lo, 0, v3, vcc_lo
	s_cbranch_scc0 .LBB1_11
; %bb.12:                               ;   in Loop: Header=BB1_10 Depth=1
	v_add_nc_u32_e32 v4, 36, v4
	s_add_i32 s0, s0, 1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_cmp_eq_u32 s0, 9
	s_cbranch_scc0 .LBB1_10
; %bb.13:
	v_mul_f32_e32 v4, 0x4f800000, v2
	v_cmp_gt_f32_e32 vcc_lo, 0xf800000, v2
	s_mulk_i32 s20, 0x51
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v2, v2, v4, vcc_lo
	v_sqrt_f32_e32 v4, v2
	s_waitcnt_depctr 0xfff
	v_add_nc_u32_e32 v5, -1, v4
	v_add_nc_u32_e32 v8, 1, v4
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v9, -v5, v4, v2
	v_fma_f32 v10, -v8, v4, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cmp_ge_f32_e64 s0, 0, v9
	v_cndmask_b32_e64 v4, v4, v5, s0
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cmp_lt_f32_e64 s0, 0, v10
	v_cndmask_b32_e64 v4, v4, v8, s0
	s_mov_b32 s0, 0x88e368f1
	s_mov_b32 s1, 0x3ee4f8b5
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_mov_b32 v8, 16 :: v_dual_mul_f32 v5, 0x37800000, v4
	v_cndmask_b32_e32 v4, v4, v5, vcc_lo
	v_cmp_class_f32_e64 vcc_lo, v2, 0x260
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v2, v4, v2, vcc_lo
	v_cvt_f64_f32_e32 v[4:5], v2
	v_mul_u32_u24_e32 v2, 0x51, v7
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[4:5], v[4:5], s[0:1]
	s_mov_b32 s0, 0
	v_cvt_f32_f64_e32 v5, v[4:5]
	v_mul_lo_u32 v4, v1, s17
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_lo_u32 v1, 0x51, v4
	v_add3_u32 v7, v1, s20, v2
	v_mov_b32_e32 v2, 0
.LBB1_14:                               ; %.preheader
                                        ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB1_15 Depth 2
	v_mov_b32_e32 v9, v8
	s_mov_b32 s1, 0
.LBB1_15:                               ;   Parent Loop BB1_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	scratch_load_b32 v12, v9, off
	v_add_nc_u32_e32 v9, 4, v9
	s_waitcnt vmcnt(0)
	v_div_scale_f32 v10, null, v5, v5, v12
	v_div_scale_f32 v11, vcc_lo, v12, v5, v12
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_rcp_f32_e32 v13, v10
	s_waitcnt_depctr 0xfff
	v_fma_f32 v1, -v10, v13, 1.0
	v_fmac_f32_e32 v13, v1, v13
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v14, v11, v13
	v_fma_f32 v1, -v10, v14, v11
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(SALU_CYCLE_1)
	v_dual_fmac_f32 v14, v1, v13 :: v_dual_add_nc_u32 v1, s1, v7
	s_add_i32 s1, s1, 1
	s_cmp_eq_u32 s1, 9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v15, -v10, v14, v11
	v_lshlrev_b64 v[10:11], 2, v[1:2]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_div_fmas_f32 v1, v15, v13, v14
	v_add_co_u32 v10, vcc_lo, s4, v10
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_ci_u32_e32 v11, vcc_lo, s5, v11, vcc_lo
	v_div_fixup_f32 v1, v1, v5, v12
	global_store_b32 v[10:11], v1, off
	s_cbranch_scc0 .LBB1_15
; %bb.16:                               ;   in Loop: Header=BB1_14 Depth=1
	v_add_nc_u32_e32 v8, 36, v8
	v_add_nc_u32_e32 v7, 9, v7
	s_add_i32 s0, s0, 1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_cmp_eq_u32 s0, 9
	s_cbranch_scc0 .LBB1_14
; %bb.17:
	v_cvt_f32_u32_e32 v1, s18
	v_cvt_f32_u32_e32 v5, s19
	v_cvt_f32_i32_e32 v10, v3
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cvt_f64_f32_e32 v[1:2], v1
	v_cvt_f64_f32_e32 v[7:8], v5
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_div_scale_f32 v11, null, 0x42a20000, 0x42a20000, v10
	v_div_scale_f32 v15, vcc_lo, v10, 0x42a20000, v10
	v_mov_b32_e32 v5, 0
	v_rcp_f32_e32 v12, v11
	v_fma_f64 v[1:2], v[1:2], 0.5, 0.5
	v_fma_f64 v[7:8], v[7:8], 0.5, 0.5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_floor_f64_e32 v[1:2], v[1:2]
	v_floor_f64_e32 v[7:8], v[7:8]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[1:2], v[1:2], -1.0
	v_add_f64 v[7:8], v[7:8], -1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_i32_f64_e32 v13, v[1:2]
	v_cvt_i32_f64_e32 v14, v[7:8]
	s_delay_alu instid0(TRANS32_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fma_f32 v1, -v11, v12, 1.0
	v_mov_b32_e32 v2, v5
	v_fmac_f32_e32 v12, v1, v12
	v_add_nc_u32_e32 v1, v6, v4
	v_mad_u64_u32 v[3:4], null, v6, 3, 8
	v_add_nc_u32_e32 v6, 8, v0
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_mul_f32_e32 v16, v15, v12
	v_lshlrev_b32_e32 v4, 1, v1
	v_lshlrev_b64 v[0:1], 2, v[1:2]
	v_mov_b32_e32 v7, v3
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_fma_f32 v8, -v11, v16, v15
	v_lshlrev_b64 v[4:5], 2, v[4:5]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fmac_f32_e32 v16, v8, v12
	v_add_co_u32 v8, s0, s8, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_ci_u32_e64 v9, s0, s9, v5, s0
	v_fma_f32 v2, -v11, v16, v15
	v_add_co_u32 v4, s0, s10, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_ci_u32_e64 v5, s0, s11, v5, s0
	v_div_fmas_f32 v11, v2, v12, v16
	v_add_co_u32 v0, vcc_lo, s6, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, s7, v1, vcc_lo
	v_sub_nc_u32_e32 v2, v13, v6
	v_sub_nc_u32_e32 v3, v14, v3
	v_div_fixup_f32 v10, v11, 0x42a20000, v10
	global_store_b64 v[8:9], v[6:7], off
	global_store_b64 v[4:5], v[2:3], off
	global_store_b32 v[0:1], v10, off
.LBB1_18:
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z13computeBinHOGPfS_PiS0_S_S0_jjjj
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 352
		.amdhsa_kernarg_size 320
		.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 1
		.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 17
		.amdhsa_next_free_sgpr 23
		.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	_Z13computeBinHOGPfS_PiS0_S_S0_jjjj, .Lfunc_end1-_Z13computeBinHOGPfS_PiS0_S_S0_jjjj
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1416
; NumSgprs: 25
; NumVgprs: 17
; ScratchSize: 352
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 3
; VGPRBlocks: 2
; NumSGPRsForWavesPerEU: 25
; NumVGPRsForWavesPerEU: 17
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 1
; 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	_Z16computeBinHOGTarPfPiS_S0_jjjj ; -- Begin function _Z16computeBinHOGTarPfPiS_S0_jjjj
	.globl	_Z16computeBinHOGTarPfPiS_S0_jjjj
	.p2align	8
	.type	_Z16computeBinHOGTarPfPiS_S0_jjjj,@function
_Z16computeBinHOGTarPfPiS_S0_jjjj:      ; @_Z16computeBinHOGTarPfPiS_S0_jjjj
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x3c
	s_load_b128 s[16:19], s[0:1], 0x20
	v_and_b32_e32 v3, 0x3ff, v0
	v_bfe_u32 v7, v0, 10, 10
	s_waitcnt lgkmcnt(0)
	s_lshr_b32 s3, s2, 16
	s_and_b32 s2, s2, 0xffff
	s_mul_i32 s3, s15, s3
	v_mad_u64_u32 v[1:2], null, s14, s2, v[3:4]
	v_add_nc_u32_e32 v6, s3, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_gt_u32_e64 s2, s17, v6
	v_cmp_gt_u32_e32 vcc_lo, s16, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_b32 s2, vcc_lo, s2
	s_and_saveexec_b32 s4, s2
	s_cbranch_execz .LBB2_18
; %bb.1:
	s_load_b256 s[4:11], s[0:1], 0x0
	v_mul_lo_u32 v2, s18, v6
	v_lshl_add_u32 v0, v1, 1, v1
	s_mov_b32 s12, 0
	s_mul_i32 s0, s18, 6
	s_mov_b32 s13, s12
	s_mov_b32 s14, s12
	s_mov_b32 s15, s12
	v_dual_mov_b32 v3, 0 :: v_dual_mov_b32 v8, s12
	v_mad_u64_u32 v[4:5], null, v2, 3, v[0:1]
	v_dual_mov_b32 v9, s13 :: v_dual_mov_b32 v10, s14
	v_mov_b32_e32 v11, s15
	v_add_nc_u32_e64 v5, 16, -4
	s_mov_b32 s1, s12
	s_clause 0x14
	scratch_store_b32 off, v3, off offset:336
	scratch_store_b128 off, v[8:11], off offset:320
	scratch_store_b128 off, v[8:11], off offset:304
	scratch_store_b128 off, v[8:11], off offset:288
	scratch_store_b128 off, v[8:11], off offset:272
	scratch_store_b128 off, v[8:11], off offset:256
	scratch_store_b128 off, v[8:11], off offset:240
	scratch_store_b128 off, v[8:11], off offset:224
	scratch_store_b128 off, v[8:11], off offset:208
	scratch_store_b128 off, v[8:11], off offset:192
	scratch_store_b128 off, v[8:11], off offset:176
	scratch_store_b128 off, v[8:11], off offset:160
	scratch_store_b128 off, v[8:11], off offset:144
	scratch_store_b128 off, v[8:11], off offset:128
	scratch_store_b128 off, v[8:11], off offset:112
	scratch_store_b128 off, v[8:11], off offset:96
	scratch_store_b128 off, v[8:11], off offset:80
	scratch_store_b128 off, v[8:11], off offset:64
	scratch_store_b128 off, v[8:11], off offset:48
	scratch_store_b128 off, v[8:11], off offset:32
	scratch_store_b128 off, v[8:11], off offset:16
.LBB2_2:                                ; %.preheader94
                                        ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB2_3 Depth 2
                                        ;       Child Loop BB2_4 Depth 3
                                        ;         Child Loop BB2_5 Depth 4
	s_delay_alu instid0(VALU_DEP_1)
	v_mov_b32_e32 v8, v4
	s_mov_b32 s2, 0
.LBB2_3:                                ;   Parent Loop BB2_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB2_4 Depth 3
                                        ;         Child Loop BB2_5 Depth 4
	s_delay_alu instid0(VALU_DEP_1)
	v_mov_b32_e32 v9, v8
	s_mov_b32 s13, 0
	s_mul_i32 s14, s12, 36
.LBB2_4:                                ; %.preheader93
                                        ;   Parent Loop BB2_2 Depth=1
                                        ;     Parent Loop BB2_3 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB2_5 Depth 4
	s_mov_b32 s15, 0
.LBB2_5:                                ;   Parent Loop BB2_2 Depth=1
                                        ;     Parent Loop BB2_3 Depth=2
                                        ;       Parent Loop BB2_4 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	v_add_nc_u32_e32 v2, s15, v9
	s_add_i32 s15, s15, 1
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	s_cmp_eq_u32 s15, 6
	v_lshlrev_b64 v[10:11], 2, v[2:3]
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v12, vcc_lo, s10, v10
	v_add_co_ci_u32_e32 v13, vcc_lo, s11, v11, vcc_lo
	v_add_co_u32 v10, vcc_lo, s8, v10
	v_add_co_ci_u32_e32 v11, vcc_lo, s9, v11, vcc_lo
	global_load_b32 v2, v[12:13], off
	s_waitcnt vmcnt(0)
	v_lshlrev_b32_e32 v2, 2, v2
	s_delay_alu instid0(VALU_DEP_1)
	v_add3_u32 v2, v5, s14, v2
	global_load_b32 v10, v[10:11], off
	scratch_load_b32 v11, v2, off
	s_waitcnt vmcnt(0)
	v_add_f32_e32 v10, v10, v11
	scratch_store_b32 v2, v10, off
	s_cbranch_scc0 .LBB2_5
; %bb.6:                                ;   in Loop: Header=BB2_4 Depth=3
	v_add_nc_u32_e32 v9, s18, v9
	s_add_i32 s13, s13, 1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_cmp_eq_u32 s13, 6
	s_cbranch_scc0 .LBB2_4
; %bb.7:                                ;   in Loop: Header=BB2_3 Depth=2
	v_add_nc_u32_e32 v8, 6, v8
	s_add_i32 s2, s2, 1
	s_add_i32 s12, s12, 1
	s_cmp_eq_u32 s2, 3
	s_cbranch_scc0 .LBB2_3
; %bb.8:                                ;   in Loop: Header=BB2_2 Depth=1
	v_add_nc_u32_e32 v4, s0, v4
	s_add_i32 s1, s1, 1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_cmp_lg_u32 s1, 3
	s_cbranch_scc1 .LBB2_2
; %bb.9:                                ; %.preheader91.preheader
	v_dual_mov_b32 v3, 16 :: v_dual_mov_b32 v2, 0
	s_mov_b32 s0, 0
.LBB2_10:                               ; %.preheader91
                                        ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB2_11 Depth 2
	s_mov_b32 s1, 0
.LBB2_11:                               ;   Parent Loop BB2_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	v_add_nc_u32_e32 v4, s1, v3
	s_add_i32 s1, s1, 4
	s_delay_alu instid0(SALU_CYCLE_1)
	s_cmp_eq_u32 s1, 36
	scratch_load_b32 v4, v4, off
	s_waitcnt vmcnt(0)
	v_fmac_f32_e32 v2, v4, v4
	s_cbranch_scc0 .LBB2_11
; %bb.12:                               ;   in Loop: Header=BB2_10 Depth=1
	v_add_nc_u32_e32 v3, 36, v3
	s_add_i32 s0, s0, 1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_cmp_eq_u32 s0, 9
	s_cbranch_scc0 .LBB2_10
; %bb.13:
	v_mul_f32_e32 v3, 0x4f800000, v2
	v_cmp_gt_f32_e32 vcc_lo, 0xf800000, v2
	s_mulk_i32 s3, 0x51
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v2, v2, v3, vcc_lo
	v_sqrt_f32_e32 v3, v2
	s_waitcnt_depctr 0xfff
	v_add_nc_u32_e32 v4, -1, v3
	v_add_nc_u32_e32 v5, 1, v3
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v8, -v4, v3, v2
	v_fma_f32 v9, -v5, v3, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cmp_ge_f32_e64 s0, 0, v8
	v_cndmask_b32_e64 v3, v3, v4, s0
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cmp_lt_f32_e64 s0, 0, v9
	v_cndmask_b32_e64 v3, v3, v5, s0
	s_mov_b32 s0, 0x88e368f1
	s_mov_b32 s1, 0x3ee4f8b5
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v4, 0x37800000, v3
	v_cndmask_b32_e32 v3, v3, v4, vcc_lo
	v_cmp_class_f32_e64 vcc_lo, v2, 0x260
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v2, v3, v2, vcc_lo
	v_cvt_f64_f32_e32 v[2:3], v2
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[2:3], v[2:3], s[0:1]
	s_mov_b32 s0, 0
	v_cvt_f32_f64_e32 v4, v[2:3]
	v_mul_lo_u32 v3, v1, s17
	v_mul_u32_u24_e32 v2, 0x51, v7
	v_mov_b32_e32 v7, 16
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_lo_u32 v1, 0x51, v3
	v_add3_u32 v5, v1, s3, v2
	v_mov_b32_e32 v2, 0
.LBB2_14:                               ; %.preheader
                                        ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB2_15 Depth 2
	s_delay_alu instid0(VALU_DEP_4)
	v_mov_b32_e32 v8, v7
	s_mov_b32 s1, 0
.LBB2_15:                               ;   Parent Loop BB2_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	scratch_load_b32 v11, v8, off
	v_add_nc_u32_e32 v8, 4, v8
	s_waitcnt vmcnt(0)
	v_div_scale_f32 v9, null, v4, v4, v11
	v_div_scale_f32 v10, vcc_lo, v11, v4, v11
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_rcp_f32_e32 v12, v9
	s_waitcnt_depctr 0xfff
	v_fma_f32 v1, -v9, v12, 1.0
	v_fmac_f32_e32 v12, v1, v12
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v13, v10, v12
	v_fma_f32 v1, -v9, v13, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(SALU_CYCLE_1)
	v_fmac_f32_e32 v13, v1, v12
	v_add_nc_u32_e32 v1, s1, v5
	s_add_i32 s1, s1, 1
	s_cmp_eq_u32 s1, 9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v14, -v9, v13, v10
	v_lshlrev_b64 v[9:10], 2, v[1:2]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_div_fmas_f32 v1, v14, v12, v13
	v_add_co_u32 v9, vcc_lo, s4, v9
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_ci_u32_e32 v10, vcc_lo, s5, v10, vcc_lo
	v_div_fixup_f32 v1, v1, v4, v11
	global_store_b32 v[9:10], v1, off
	s_cbranch_scc0 .LBB2_15
; %bb.16:                               ;   in Loop: Header=BB2_14 Depth=1
	v_add_nc_u32_e32 v7, 36, v7
	v_add_nc_u32_e32 v5, 9, v5
	s_add_i32 s0, s0, 1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_cmp_eq_u32 s0, 9
	s_cbranch_scc0 .LBB2_14
; %bb.17:
	v_add_lshl_u32 v1, v6, v3, 1
	v_mad_u64_u32 v[3:4], null, v6, 3, 8
	v_mov_b32_e32 v2, 0
	v_add_nc_u32_e32 v0, 8, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[1:2], 2, v[1:2]
	v_add_co_u32 v4, vcc_lo, s6, v1
	v_mov_b32_e32 v1, v3
	s_delay_alu instid0(VALU_DEP_3)
	v_add_co_ci_u32_e32 v5, vcc_lo, s7, v2, vcc_lo
	global_store_b64 v[4:5], v[0:1], off
.LBB2_18:
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z16computeBinHOGTarPfPiS_S0_jjjj
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 352
		.amdhsa_kernarg_size 304
		.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 1
		.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 15
		.amdhsa_next_free_sgpr 20
		.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	_Z16computeBinHOGTarPfPiS_S0_jjjj, .Lfunc_end2-_Z16computeBinHOGTarPfPiS_S0_jjjj
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1140
; NumSgprs: 22
; NumVgprs: 15
; ScratchSize: 352
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 22
; NumVGPRsForWavesPerEU: 15
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 1
; 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	_Z15computeDistancePfS_S_jj ; -- Begin function _Z15computeDistancePfS_S_jj
	.globl	_Z15computeDistancePfS_S_jj
	.p2align	8
	.type	_Z15computeDistancePfS_S_jj,@function
_Z15computeDistancePfS_S_jj:            ; @_Z15computeDistancePfS_S_jj
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x2c
	s_load_b64 s[8:9], s[0:1], 0x18
	v_and_b32_e32 v1, 0x3ff, v0
	v_bfe_u32 v2, v0, 10, 10
	s_waitcnt lgkmcnt(0)
	s_and_b32 s3, s2, 0xffff
	s_lshr_b32 s2, s2, 16
	s_mul_i32 s3, s14, s3
	s_mul_i32 s10, s15, s2
	v_add_nc_u32_e32 v0, s3, v1
	v_add_nc_u32_e32 v3, s10, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_gt_u32_e32 vcc_lo, s8, v0
	v_cmp_gt_u32_e64 s2, s9, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_b32 s2, vcc_lo, s2
	s_and_saveexec_b32 s4, s2
	s_cbranch_execz .LBB3_4
; %bb.1:                                ; %.preheader
	s_clause 0x1
	s_load_b128 s[4:7], s[0:1], 0x0
	s_load_b64 s[0:1], s[0:1], 0x10
	s_mulk_i32 s10, 0x51
	s_mulk_i32 s3, 0x51
	v_mad_u32_u24 v4, 0x51, v2, s10
	v_mad_u32_u24 v5, 0x51, v1, s3
	v_mov_b32_e32 v2, 0
	v_mov_b32_e32 v6, 0
	s_mov_b32 s2, 0x88e368f1
	s_mov_b32 s3, 0x3ee4f8b5
	s_mov_b32 s9, 0
.LBB3_2:                                ; =>This Inner Loop Header: Depth=1
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_nc_u32_e32 v1, s9, v5
	v_lshlrev_b64 v[7:8], 2, v[1:2]
	v_add_nc_u32_e32 v1, s9, v4
	s_add_i32 s9, s9, 1
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	s_cmpk_eq_i32 s9, 0x51
	v_lshlrev_b64 v[9:10], 2, v[1:2]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v7, vcc_lo, s6, v7
	v_add_co_ci_u32_e32 v8, vcc_lo, s7, v8, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_co_u32 v9, vcc_lo, s0, v9
	v_add_co_ci_u32_e32 v10, vcc_lo, s1, v10, vcc_lo
	global_load_b32 v1, v[7:8], off
	global_load_b32 v9, v[9:10], off
	s_waitcnt vmcnt(0)
	v_add_f32_e32 v7, v1, v9
	v_sub_f32_e32 v1, v1, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_f64_f32_e32 v[7:8], v7
	v_mul_f32_e32 v1, v1, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cvt_f64_f32_e32 v[9:10], v1
	v_add_f64 v[7:8], v[7:8], s[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_div_scale_f64 v[11:12], null, v[7:8], v[7:8], v[9:10]
	v_div_scale_f64 v[17:18], vcc_lo, v[9:10], v[7:8], v[9:10]
	v_rcp_f64_e32 v[13:14], v[11:12]
	s_waitcnt_depctr 0xfff
	v_fma_f64 v[15:16], -v[11:12], v[13:14], 1.0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[13:14], v[13:14], v[15:16], v[13:14]
	v_fma_f64 v[15:16], -v[11:12], v[13:14], 1.0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[13:14], v[13:14], v[15:16], v[13:14]
	v_mul_f64 v[15:16], v[17:18], v[13:14]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[11:12], -v[11:12], v[15:16], v[17:18]
	v_div_fmas_f64 v[11:12], v[11:12], v[13:14], v[15:16]
	v_cvt_f64_f32_e32 v[13:14], v6
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_div_fixup_f64 v[6:7], v[11:12], v[7:8], v[9:10]
	v_add_f64 v[6:7], v[6:7], v[13:14]
	s_delay_alu instid0(VALU_DEP_1)
	v_cvt_f32_f64_e32 v6, v[6:7]
	s_cbranch_scc0 .LBB3_2
; %bb.3:
	v_mad_u64_u32 v[1:2], null, v3, s8, v[0:1]
	v_mov_b32_e32 v2, 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_lshlrev_b64 v[0:1], 2, v[1:2]
	v_mul_f32_e32 v2, 0.5, v6
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v0, vcc_lo, s4, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, s5, v1, vcc_lo
	global_store_b32 v[0:1], v2, off
.LBB3_4:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z15computeDistancePfS_S_jj
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 288
		.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 19
		.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	_Z15computeDistancePfS_S_jj, .Lfunc_end3-_Z15computeDistancePfS_S_jj
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 504
; NumSgprs: 18
; NumVgprs: 19
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 2
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 19
; 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	_Z4votePfS_S_PiS0_jjjj  ; -- Begin function _Z4votePfS_S_PiS0_jjjj
	.globl	_Z4votePfS_S_PiS0_jjjj
	.p2align	8
	.type	_Z4votePfS_S_PiS0_jjjj,@function
_Z4votePfS_S_PiS0_jjjj:                 ; @_Z4votePfS_S_PiS0_jjjj
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x44
	s_load_b128 s[16:19], s[0:1], 0x28
	v_and_b32_e32 v2, 0x3ff, v0
	v_bfe_u32 v5, v0, 10, 10
	s_waitcnt lgkmcnt(0)
	s_lshr_b32 s3, s2, 16
	s_and_b32 s2, s2, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mad_u64_u32 v[0:1], null, s14, s2, v[2:3]
	v_mad_u64_u32 v[3:4], null, s15, s3, v[5:6]
	v_cmp_gt_u32_e32 vcc_lo, s16, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cmp_gt_u32_e64 s2, s17, v3
	s_and_b32 s2, vcc_lo, s2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_saveexec_b32 s3, s2
	s_cbranch_execz .LBB4_4
; %bb.1:
	s_load_b256 s[4:11], s[0:1], 0x0
	v_mad_u64_u32 v[1:2], null, v3, s16, v[0:1]
	v_mov_b32_e32 v2, 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[4:5], 2, v[1:2]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v4, vcc_lo, s6, v4
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v5, vcc_lo, s7, v5, vcc_lo
	global_load_b32 v4, v[4:5], off
	s_waitcnt vmcnt(0)
	v_cmp_ge_f32_e32 vcc_lo, 2.0, v4
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB4_4
; %bb.2:
	s_load_b64 s[0:1], s[0:1], 0x20
	v_lshlrev_b32_e32 v1, 1, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[5:6], 2, v[1:2]
	v_lshlrev_b32_e32 v1, 1, v0
	v_lshlrev_b64 v[1:2], 2, v[1:2]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v1, vcc_lo, s10, v1
	v_add_co_ci_u32_e32 v2, vcc_lo, s11, v2, vcc_lo
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v5, vcc_lo, s0, v5
	v_add_co_ci_u32_e32 v6, vcc_lo, s1, v6, vcc_lo
	global_load_b64 v[2:3], v[1:2], off
	global_load_b64 v[5:6], v[5:6], off
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v2, v2, v5
	v_add_nc_u32_e32 v3, v3, v6
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_gt_u32_e32 vcc_lo, s18, v2
	v_or_b32_e32 v1, v2, v3
	v_cmp_gt_u32_e64 s0, s19, v3
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_lt_i32_e64 s1, -1, v1
	s_and_b32 s0, vcc_lo, s0
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	s_and_b32 s0, s0, s1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_b32 exec_lo, exec_lo, s0
	s_cbranch_execz .LBB4_4
; %bb.3:
	v_cvt_f64_f32_e32 v[4:5], v4
	s_mov_b32 s0, 0x88e368f1
	s_mov_b32 s1, 0x3ee4f8b5
	v_mov_b32_e32 v1, 0
	v_mad_u64_u32 v[8:9], null, v3, s18, v[2:3]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mov_b32_e32 v9, v1
	v_lshlrev_b64 v[0:1], 2, v[0:1]
	v_lshlrev_b64 v[2:3], 2, v[8:9]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v0, vcc_lo, s8, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, s9, v1, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_co_u32 v2, vcc_lo, s4, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s5, v3, vcc_lo
	global_load_b32 v12, v[0:1], off
	global_load_b32 v13, v[2:3], off
	v_add_f64 v[4:5], v[4:5], s[0:1]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[4:5], v[4:5], 1.0
	v_div_scale_f64 v[6:7], null, v[4:5], v[4:5], 1.0
	v_div_scale_f64 v[10:11], vcc_lo, 1.0, v[4:5], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_rcp_f64_e32 v[0:1], v[6:7]
	s_waitcnt_depctr 0xfff
	v_fma_f64 v[8:9], -v[6:7], v[0:1], 1.0
	v_fma_f64 v[0:1], v[0:1], v[8:9], v[0:1]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[8:9], -v[6:7], v[0:1], 1.0
	v_fma_f64 v[0:1], v[0:1], v[8:9], v[0:1]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f64 v[8:9], v[10:11], v[0:1]
	v_fma_f64 v[6:7], -v[6:7], v[8:9], v[10:11]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_2)
	v_div_fmas_f64 v[0:1], v[6:7], v[0:1], v[8:9]
	s_waitcnt vmcnt(1)
	v_cvt_f64_f32_e32 v[6:7], v12
	v_div_fixup_f64 v[0:1], v[0:1], v[4:5], 1.0
	s_waitcnt vmcnt(0)
	v_cvt_f64_f32_e32 v[4:5], v13
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[0:1], v[0:1], v[6:7], v[4:5]
	v_cvt_f32_f64_e32 v0, v[0:1]
	global_store_b32 v[2:3], v0, off
.LBB4_4:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z4votePfS_S_PiS0_jjjj
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 312
		.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 14
		.amdhsa_next_free_sgpr 20
		.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	_Z4votePfS_S_PiS0_jjjj, .Lfunc_end4-_Z4votePfS_S_PiS0_jjjj
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 612
; NumSgprs: 22
; NumVgprs: 14
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 22
; NumVGPRsForWavesPerEU: 14
; Occupancy: 16
; WaveLimiterHint : 1
; 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	_Z17genGaussianFilterPf ; -- Begin function _Z17genGaussianFilterPf
	.globl	_Z17genGaussianFilterPf
	.p2align	8
	.type	_Z17genGaussianFilterPf,@function
_Z17genGaussianFilterPf:                ; @_Z17genGaussianFilterPf
; %bb.0:
	s_load_b32 s2, s[0:1], 0x14
	v_and_b32_e32 v2, 0x3ff, v0
	v_bfe_u32 v3, v0, 10, 10
	s_waitcnt lgkmcnt(0)
	s_lshr_b32 s3, s2, 16
	s_and_b32 s2, s2, 0xffff
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	v_mad_u64_u32 v[0:1], null, s14, s2, v[2:3]
	v_mad_u64_u32 v[1:2], null, s15, s3, v[3:4]
	s_mov_b32 s3, 0x3e76c4e1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_nc_u32_e32 v2, -15, v0
	v_mul_lo_u32 v2, v2, v2
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cvt_f32_u32_e32 v2, v2
	v_div_scale_f32 v4, null, 0x42480000, 0x42480000, v2
	v_div_scale_f32 v10, vcc_lo, v2, 0x42480000, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_rcp_f32_e32 v6, v4
	s_waitcnt_depctr 0xfff
	v_fma_f32 v8, -v4, v6, 1.0
	v_dual_fmac_f32 v6, v8, v6 :: v_dual_add_nc_u32 v3, -15, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_lo_u32 v3, v3, v3
	v_cvt_f32_u32_e32 v3, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_div_scale_f32 v5, null, 0x42480000, 0x42480000, v3
	v_div_scale_f32 v8, s2, v3, 0x42480000, v3
	v_rcp_f32_e32 v7, v5
	s_waitcnt_depctr 0xfff
	v_fma_f32 v9, -v5, v7, 1.0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fmac_f32_e32 v7, v9, v7
	v_mul_f32_e32 v9, v10, v6
	v_mul_f32_e32 v11, v8, v7
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v12, -v4, v9, v10
	v_fma_f32 v13, -v5, v11, v8
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fmac_f32_e32 v9, v12, v6
	v_fmac_f32_e32 v11, v13, v7
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v4, -v4, v9, v10
	v_fma_f32 v5, -v5, v11, v8
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_div_fmas_f32 v4, v4, v6, v9
	s_mov_b32 vcc_lo, s2
	v_div_fmas_f32 v5, v5, v7, v11
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_div_fixup_f32 v2, v4, 0x42480000, v2
	v_div_fixup_f32 v3, v5, 0x42480000, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v2, v2, v3
	v_cmp_eq_f32_e32 vcc_lo, 0, v2
	v_cndmask_b32_e64 v3, 0x402df84d, 1.0, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_frexp_mant_f32_e32 v4, v3
	v_frexp_exp_i32_f32_e32 v3, v3
	v_cmp_gt_f32_e64 s2, 0x3f2aaaab, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v5, 0, 1, s2
	v_subrev_co_ci_u32_e64 v3, s2, 0, v3, s2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_ldexp_f32 v4, v4, v5
	v_cvt_f32_i32_e32 v3, v3
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f32_e32 v5, 1.0, v4
	v_add_f32_e32 v7, -1.0, v4
	v_rcp_f32_e32 v6, v5
	s_waitcnt_depctr 0xfff
	v_dual_mul_f32 v8, v7, v6 :: v_dual_add_f32 v9, -1.0, v5
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mul_f32_e32 v10, v5, v8
	v_sub_f32_e32 v4, v4, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v5, v8, v5, -v10
	v_fmac_f32_e32 v5, v8, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v4, v10, v5
	v_dual_sub_f32 v9, v7, v4 :: v_dual_sub_f32 v10, v4, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v5, v10, v5
	v_sub_f32_e32 v7, v7, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v4, v7, v4
	v_add_f32_e32 v4, v5, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v4, v9, v4
	v_mul_f32_e32 v4, v6, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v5, v8, v4
	v_mul_f32_e32 v7, v5, v5
	v_sub_f32_e32 v6, v5, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v4, v4, v6
	v_fma_f32 v6, v5, v5, -v7
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v8, v4, v4
	v_fmac_f32_e32 v6, v5, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v8, v7, v6
	v_fmaak_f32 v9, s3, v8, 0x3e91f4c4
	v_sub_f32_e32 v7, v8, v7
	s_mov_b32 s3, 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_fmaak_f32 v9, v8, v9, 0x3ecccdef :: v_dual_sub_f32 v6, v6, v7
	v_mul_f32_e32 v10, v8, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v7, v8, v9, -v10
	v_fmac_f32_e32 v7, v6, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v9, v10, v7
	v_dual_sub_f32 v10, v9, v10 :: v_dual_add_f32 v11, 0x3f2aaaaa, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_mul_f32 v12, v5, v8 :: v_dual_sub_f32 v7, v7, v10
	v_fma_f32 v13, v8, v5, -v12
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f32_e32 v10, 0xbf2aaaaa, v11
	v_add_f32_e32 v7, 0x31739010, v7
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fmac_f32_e32 v13, v8, v4
	v_ldexp_f32 v4, v4, 1
	v_fmac_f32_e32 v13, v6, v5
	v_sub_f32_e32 v9, v9, v10
	v_ldexp_f32 v5, v5, 1
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f32_e32 v8, v12, v13
	v_add_f32_e32 v7, v7, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v6, v11, v7
	v_mul_f32_e32 v10, v8, v6
	v_sub_f32_e32 v9, v11, v6
	v_sub_f32_e32 v11, v8, v12
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f32_e32 v7, v7, v9
	v_fma_f32 v9, v8, v6, -v10
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v11, v13, v11
	v_fmac_f32_e32 v9, v8, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v9, v11, v6
	v_add_f32_e32 v6, v10, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f32_e32 v7, v5, v6
	v_sub_f32_e32 v8, v6, v10
	v_dual_mul_f32 v10, 0x3f317218, v3 :: v_dual_sub_f32 v5, v7, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v8, v9, v8
	v_fma_f32 v9, 0x3f317218, v3, -v10
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v5, v6, v5 :: v_dual_add_f32 v4, v4, v8
	v_add_f32_e32 v4, v4, v5
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f32_e32 v6, v7, v4
	v_fmamk_f32 v3, v3, 0xb102e308, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v7, v6, v7
	v_sub_f32_e32 v4, v4, v7
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v5, v10, v3
	v_add_f32_e32 v8, v5, v6
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v10, v5, v10 :: v_dual_sub_f32 v9, v8, v5
	v_sub_f32_e32 v3, v3, v10
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v11, v8, v9
	v_dual_sub_f32 v6, v6, v9 :: v_dual_add_f32 v7, v3, v4
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v5, v5, v11
	v_dual_add_f32 v5, v6, v5 :: v_dual_sub_f32 v6, v7, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v5, v7, v5
	v_sub_f32_e32 v7, v7, v6
	v_sub_f32_e32 v4, v4, v6
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v9, v8, v5
	v_dual_sub_f32 v3, v3, v7 :: v_dual_sub_f32 v6, v9, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v3, v4, v3 :: v_dual_sub_f32 v4, v5, v6
	v_add_f32_e32 v3, v3, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v4, v9, v3
	v_sub_f32_e32 v5, v4, v9
	v_mul_f32_e64 v6, v4, -v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v3, v3, v5
	v_fma_f32 v4, -v2, v4, -v6
	v_cmp_class_f32_e64 s2, v6, 0x204
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v3, -v2, v3, v4
	v_add_f32_e32 v4, v6, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v5, v4, v6, s2
	v_sub_f32_e32 v4, v4, v6
	v_cmp_eq_f32_e64 s2, 0x42b17218, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v3, v3, v4
	v_cndmask_b32_e64 v7, 0, 0x37000000, s2
	v_cmp_neq_f32_e64 s2, 0x7f800000, |v5|
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v8, v5, v7
	v_cndmask_b32_e64 v3, 0, v3, s2
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_mul_f32_e32 v9, 0x3fb8aa3b, v8
	v_cmp_ngt_f32_e64 s2, 0xc2ce8ed0, v8
	v_add_f32_e32 v3, v7, v3
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_fma_f32 v10, 0x3fb8aa3b, v8, -v9
	v_rndne_f32_e32 v11, v9
	v_dual_fmamk_f32 v10, v8, 0x32a5705f, v10 :: v_dual_sub_f32 v9, v9, v11
	v_cvt_i32_f32_e32 v6, v11
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v9, v9, v10
	v_exp_f32_e32 v9, v9
	s_waitcnt_depctr 0xfff
	v_ldexp_f32 v4, v9, v6
	v_mul_lo_u32 v6, 0x7c, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v4, 0, v4, s2
	v_cmp_nlt_f32_e64 s2, 0x42b17218, v8
	v_cndmask_b32_e64 v4, 0x7f800000, v4, s2
	v_cmp_eq_f32_e64 s2, |v2|, -v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v3, v4, v3, v4
	v_cndmask_b32_e64 v5, 0, |v2|, s2
	v_cmp_class_f32_e64 s2, v2, 0x204
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_4) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v5, v5, 1.0, vcc_lo
	v_cmp_eq_f32_e32 vcc_lo, 0x7f800000, v4
	v_cndmask_b32_e32 v3, v3, v4, vcc_lo
	v_cmp_o_f32_e32 vcc_lo, v2, v2
	v_mov_b32_e32 v2, 0
	v_cndmask_b32_e64 v4, |v3|, v5, s2
	v_lshl_add_u32 v3, v0, 2, v6
	s_mov_b32 s2, 0
	s_delay_alu instid0(VALU_DEP_2)
	v_cndmask_b32_e32 v4, 0x7fc00000, v4, vcc_lo
	ds_store_b32 v3, v4
	s_waitcnt lgkmcnt(0)
	s_barrier
	buffer_gl0_inv
.LBB5_1:                                ; %.preheader
                                        ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB5_2 Depth 2
	s_mov_b32 s4, 0
.LBB5_2:                                ;   Parent Loop BB5_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_add_i32 s5, s2, s4
	s_add_i32 s4, s4, 4
	v_mov_b32_e32 v4, s5
	s_cmpk_eq_i32 s4, 0x7c
	ds_load_b32 v4, v4
	s_waitcnt lgkmcnt(0)
	v_add_f32_e32 v2, v2, v4
	s_cbranch_scc0 .LBB5_2
; %bb.3:                                ;   in Loop: Header=BB5_1 Depth=1
	s_add_i32 s3, s3, 1
	s_addk_i32 s2, 0x7c
	s_cmp_eq_u32 s3, 31
	s_cbranch_scc0 .LBB5_1
; %bb.4:
	ds_load_b32 v5, v3
	s_load_b64 s[0:1], s[0:1], 0x0
	s_waitcnt lgkmcnt(0)
	v_div_scale_f32 v6, null, v2, v2, v5
	v_div_scale_f32 v8, vcc_lo, v5, v2, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_rcp_f32_e32 v7, v6
	s_waitcnt_depctr 0xfff
	v_fma_f32 v3, -v6, v7, 1.0
	v_fmac_f32_e32 v7, v3, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v9, v8, v7
	v_fma_f32 v3, -v6, v9, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fmac_f32_e32 v9, v3, v7
	v_mad_u64_u32 v[3:4], null, v1, 31, v[0:1]
	v_mov_b32_e32 v4, 0
	v_fma_f32 v0, -v6, v9, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_div_fmas_f32 v6, v0, v7, v9
	v_lshlrev_b64 v[0:1], 2, v[3:4]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_div_fixup_f32 v2, v6, v2, v5
	v_add_co_u32 v0, vcc_lo, s0, v0
	s_delay_alu instid0(VALU_DEP_3)
	v_add_co_ci_u32_e32 v1, vcc_lo, s1, v1, vcc_lo
	global_store_b32 v[0:1], v2, off
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z17genGaussianFilterPf
		.amdhsa_group_segment_fixed_size 3844
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 264
		.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 14
		.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_end5:
	.size	_Z17genGaussianFilterPf, .Lfunc_end5-_Z17genGaussianFilterPf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1616
; NumSgprs: 18
; NumVgprs: 14
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 3844 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 14
; 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	_Z14gaussianFilterPfS_S_jj ; -- Begin function _Z14gaussianFilterPfS_S_jj
	.globl	_Z14gaussianFilterPfS_S_jj
	.p2align	8
	.type	_Z14gaussianFilterPfS_S_jj,@function
_Z14gaussianFilterPfS_S_jj:             ; @_Z14gaussianFilterPfS_S_jj
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x2c
	s_load_b64 s[8:9], s[0:1], 0x18
	v_and_b32_e32 v2, 0x3ff, v0
	v_bfe_u32 v3, v0, 10, 10
	s_waitcnt lgkmcnt(0)
	s_lshr_b32 s3, s2, 16
	s_and_b32 s2, s2, 0xffff
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	v_mad_u64_u32 v[0:1], null, s14, s2, v[2:3]
	v_mad_u64_u32 v[1:2], null, s15, s3, v[3:4]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_gt_u32_e32 vcc_lo, s8, v0
	v_cmp_gt_u32_e64 s2, s9, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_b32 s2, vcc_lo, s2
	s_and_saveexec_b32 s3, s2
	s_cbranch_execz .LBB6_7
; %bb.1:                                ; %.preheader42
	s_clause 0x1
	s_load_b128 s[4:7], s[0:1], 0x0
	s_load_b64 s[2:3], s[0:1], 0x10
	v_mad_u64_u32 v[2:3], null, v1, s8, v[0:1]
	v_mov_b32_e32 v3, 0
	v_cvt_f32_u32_e32 v6, s8
	v_mov_b32_e32 v7, 0
	s_mul_i32 s1, s9, s8
	s_mov_b32 s8, 0
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[4:5], 2, v[2:3]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v4, vcc_lo, s4, v4
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v5, vcc_lo, s5, v5, vcc_lo
.LBB6_2:                                ; %.preheader
                                        ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB6_3 Depth 2
	v_add_nc_u32_e32 v2, s8, v1
	s_mov_b64 s[4:5], s[2:3]
	s_mov_b32 s9, 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cvt_f32_u32_e32 v2, v2
	v_add_f32_e32 v2, 0xc1700000, v2
	s_delay_alu instid0(VALU_DEP_1)
	v_mul_f32_e32 v8, v2, v6
.LBB6_3:                                ;   Parent Loop BB6_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	v_add_nc_u32_e32 v2, s9, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cvt_f32_u32_e32 v2, v2
	v_add_f32_e32 v2, 0xc1700000, v2
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v2, v8, v2
	v_cvt_i32_f32_e32 v2, v2
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cmp_lt_i32_e32 vcc_lo, 0, v2
	v_cmp_gt_u32_e64 s0, s1, v2
	s_and_b32 s10, vcc_lo, s0
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_saveexec_b32 s0, s10
	s_cbranch_execz .LBB6_5
; %bb.4:                                ;   in Loop: Header=BB6_3 Depth=2
	v_lshlrev_b64 v[9:10], 2, v[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v9, vcc_lo, s6, v9
	v_add_co_ci_u32_e32 v10, vcc_lo, s7, v10, vcc_lo
	global_load_b32 v2, v3, s[4:5]
	global_load_b32 v9, v[9:10], off
	s_waitcnt vmcnt(0)
	v_fmac_f32_e32 v7, v2, v9
.LBB6_5:                                ;   in Loop: Header=BB6_3 Depth=2
	s_or_b32 exec_lo, exec_lo, s0
	s_add_i32 s9, s9, 1
	s_add_u32 s4, s4, 4
	s_addc_u32 s5, s5, 0
	s_cmp_eq_u32 s9, 31
	s_cbranch_scc0 .LBB6_3
; %bb.6:                                ;   in Loop: Header=BB6_2 Depth=1
	s_add_i32 s8, s8, 1
	s_add_u32 s2, s2, 0x7c
	s_addc_u32 s3, s3, 0
	s_cmp_eq_u32 s8, 31
	global_store_b32 v[4:5], v7, off
	s_cbranch_scc0 .LBB6_2
.LBB6_7:                                ; %.loopexit
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z14gaussianFilterPfS_S_jj
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 288
		.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 11
		.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_end6:
	.size	_Z14gaussianFilterPfS_S_jj, .Lfunc_end6-_Z14gaussianFilterPfS_S_jj
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 400
; NumSgprs: 18
; NumVgprs: 11
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 11
; 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	_Z13detectMaximalPfS_jjf ; -- Begin function _Z13detectMaximalPfS_jjf
	.globl	_Z13detectMaximalPfS_jjf
	.p2align	8
	.type	_Z13detectMaximalPfS_jjf,@function
_Z13detectMaximalPfS_jjf:               ; @_Z13detectMaximalPfS_jjf
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x2c
	s_load_b128 s[4:7], s[0:1], 0x10
	v_and_b32_e32 v3, 0x3ff, v0
	s_waitcnt lgkmcnt(0)
	s_and_b32 s3, s2, 0xffff
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	v_mad_u64_u32 v[1:2], null, s14, s3, v[3:4]
	s_add_i32 s3, s4, -1
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	v_cmp_gt_u32_e32 vcc_lo, s3, v1
	s_and_saveexec_b32 s3, vcc_lo
	s_cbranch_execz .LBB7_12
; %bb.1:
	v_bfe_u32 v0, v0, 10, 10
	s_lshr_b32 s2, s2, 16
	s_add_i32 s3, s5, -1
	v_cmp_ne_u32_e32 vcc_lo, 0, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[2:3], null, s15, s2, v[0:1]
	v_cmp_ne_u32_e64 s2, 0, v2
	v_cmp_gt_u32_e64 s3, s3, v2
	s_delay_alu instid0(VALU_DEP_2)
	s_and_b32 s2, vcc_lo, s2
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	s_and_b32 s2, s2, s3
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_b32 exec_lo, exec_lo, s2
	s_cbranch_execz .LBB7_12
; %bb.2:
	s_load_b128 s[0:3], s[0:1], 0x0
	v_mul_lo_u32 v6, v2, s4
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_mov_b32 v5, 0 :: v_dual_add_nc_u32 v4, v6, v1
	v_lshlrev_b64 v[2:3], 2, v[4:5]
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v7, vcc_lo, s2, v2
	v_add_co_ci_u32_e32 v8, vcc_lo, s3, v3, vcc_lo
	global_load_b32 v0, v[7:8], off
	v_cvt_f64_f32_e32 v[7:8], s6
	s_mov_b32 s6, 0x9999999a
	s_mov_b32 s7, 0x3fe99999
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	v_mul_f64 v[7:8], v[7:8], s[6:7]
	s_waitcnt vmcnt(0)
	v_cvt_f64_f32_e32 v[9:10], v0
	s_delay_alu instid0(VALU_DEP_1)
	v_cmp_lt_f64_e32 vcc_lo, v[7:8], v[9:10]
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB7_12
; %bb.3:
	v_add_nc_u32_e32 v7, -1, v1
	v_subrev_nc_u32_e32 v9, s4, v6
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_nc_u32_e32 v4, v9, v7
	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, s2, v4
	v_add_co_ci_u32_e32 v5, vcc_lo, s3, v5, vcc_lo
	global_load_b32 v4, v[4:5], off
	s_waitcnt vmcnt(0)
	v_cmp_gt_f32_e32 vcc_lo, v0, v4
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB7_12
; %bb.4:
	v_dual_mov_b32 v5, 0 :: v_dual_add_nc_u32 v4, v9, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[10:11], 2, v[4:5]
	v_add_co_u32 v10, vcc_lo, s2, v10
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v11, vcc_lo, s3, v11, vcc_lo
	global_load_b32 v4, v[10:11], off
	s_waitcnt vmcnt(0)
	v_cmp_gt_f32_e32 vcc_lo, v0, v4
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB7_12
; %bb.5:
	v_add_nc_u32_e32 v8, 1, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_nc_u32_e32 v4, v9, v8
	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, s2, v4
	v_add_co_ci_u32_e32 v5, vcc_lo, s3, v5, vcc_lo
	global_load_b32 v4, v[4:5], off
	s_waitcnt vmcnt(0)
	v_cmp_gt_f32_e32 vcc_lo, v0, v4
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB7_12
; %bb.6:
	v_dual_mov_b32 v5, 0 :: v_dual_add_nc_u32 v4, v6, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[10:11], 2, v[4:5]
	v_add_co_u32 v10, vcc_lo, s2, v10
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v11, vcc_lo, s3, v11, vcc_lo
	global_load_b32 v4, v[10:11], off
	s_waitcnt vmcnt(0)
	v_cmp_gt_f32_e32 vcc_lo, v0, v4
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB7_12
; %bb.7:
	v_add_nc_u32_e32 v4, v6, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[5:6], 2, v[4:5]
	v_add_co_u32 v5, vcc_lo, s2, v5
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v6, vcc_lo, s3, v6, vcc_lo
	global_load_b32 v5, v[5:6], off
	s_waitcnt vmcnt(0)
	v_cmp_gt_f32_e32 vcc_lo, v0, v5
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB7_12
; %bb.8:
	v_lshl_add_u32 v9, s4, 1, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_mov_b32 v6, 0 :: v_dual_add_nc_u32 v5, v9, v7
	v_lshlrev_b64 v[10:11], 2, v[5:6]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v10, vcc_lo, s2, v10
	v_add_co_ci_u32_e32 v11, vcc_lo, s3, v11, vcc_lo
	global_load_b32 v5, v[10:11], off
	s_waitcnt vmcnt(0)
	v_cmp_gt_f32_e32 vcc_lo, v0, v5
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB7_12
; %bb.9:
	v_add_nc_u32_e32 v5, v9, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[5:6], 2, v[5:6]
	v_add_co_u32 v5, vcc_lo, s2, v5
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v6, vcc_lo, s3, v6, vcc_lo
	global_load_b32 v1, v[5:6], off
	s_waitcnt vmcnt(0)
	v_cmp_gt_f32_e32 vcc_lo, v0, v1
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB7_12
; %bb.10:
	v_dual_mov_b32 v6, 0 :: v_dual_add_nc_u32 v5, v9, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[5:6], 2, v[5:6]
	v_add_co_u32 v5, vcc_lo, s2, v5
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v6, vcc_lo, s3, v6, vcc_lo
	global_load_b32 v1, v[5:6], off
	s_waitcnt vmcnt(0)
	v_cmp_gt_f32_e32 vcc_lo, v0, v1
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB7_12
; %bb.11:
	v_add_co_u32 v0, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v1, vcc_lo, s1, v3, vcc_lo
	v_cvt_f32_u32_e32 v2, v4
	global_store_b32 v[0:1], v2, off
.LBB7_12:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z13detectMaximalPfS_jjf
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 288
		.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 12
		.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_end7:
	.size	_Z13detectMaximalPfS_jjf, .Lfunc_end7-_Z13detectMaximalPfS_jjf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 788
; NumSgprs: 18
; NumVgprs: 12
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 12
; 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	_Z16computeThresholdPfS_ ; -- Begin function _Z16computeThresholdPfS_
	.globl	_Z16computeThresholdPfS_
	.p2align	8
	.type	_Z16computeThresholdPfS_,@function
_Z16computeThresholdPfS_:               ; @_Z16computeThresholdPfS_
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x1c
	s_load_b128 s[4:7], s[0:1], 0x0
	s_waitcnt lgkmcnt(0)
	s_and_b32 s1, s2, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s15, s1, v[0:1]
	v_mov_b32_e32 v2, 0
	s_cmp_lt_u32 s1, 2
	v_lshlrev_b64 v[3:4], 2, v[1:2]
	v_lshlrev_b32_e32 v1, 2, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v3, vcc_lo, s6, v3
	v_add_co_ci_u32_e32 v4, vcc_lo, s7, v4, vcc_lo
	global_load_b32 v3, v[3:4], off
	s_waitcnt vmcnt(0)
	ds_store_b32 v1, v3
	s_cbranch_scc1 .LBB8_5
; %bb.1:                                ; %.lr.ph.preheader
	s_mov_b32 s2, 1
.LBB8_2:                                ; %.lr.ph
                                        ; =>This Inner Loop Header: Depth=1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_lshl_b32 s3, s2, 1
	v_add_nc_u32_e32 v4, s2, v0
	s_add_i32 s0, s3, -1
	s_waitcnt lgkmcnt(0)
	v_and_b32_e32 v3, s0, v0
	s_barrier
	v_cmp_gt_u32_e64 s0, s1, v4
	buffer_gl0_inv
	v_cmp_eq_u32_e32 vcc_lo, 0, v3
	s_and_b32 s6, vcc_lo, s0
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_saveexec_b32 s0, s6
	s_cbranch_execz .LBB8_4
; %bb.3:                                ;   in Loop: Header=BB8_2 Depth=1
	v_lshl_add_u32 v3, s2, 2, v1
	ds_load_b32 v4, v1
	ds_load_b32 v3, v3
	s_waitcnt lgkmcnt(0)
	v_cmp_lt_f32_e32 vcc_lo, v4, v3
	v_cndmask_b32_e32 v3, v3, v4, vcc_lo
	ds_store_b32 v1, v3
.LBB8_4:                                ;   in Loop: Header=BB8_2 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
	s_cmp_lt_u32 s3, s1
	s_mov_b32 s2, s3
	s_cbranch_scc1 .LBB8_2
.LBB8_5:                                ; %._crit_edge
	ds_load_b32 v0, v2
	s_waitcnt lgkmcnt(0)
	global_store_b32 v2, v0, s[4:5]
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z16computeThresholdPfS_
		.amdhsa_group_segment_fixed_size 2000
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 272
		.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_end8:
	.size	_Z16computeThresholdPfS_, .Lfunc_end8-_Z16computeThresholdPfS_
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 264
; NumSgprs: 18
; NumVgprs: 5
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 2000 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
      - .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
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         36
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         40
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         44
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         46
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         48
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         50
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         52
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         54
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         88
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         96
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 288
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z15computeGradientPfPiS_jj
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z15computeGradientPfPiS_jj.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     11
    .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
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         32
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         40
        .size:           8
        .value_kind:     global_buffer
      - .offset:         48
        .size:           4
        .value_kind:     by_value
      - .offset:         52
        .size:           4
        .value_kind:     by_value
      - .offset:         56
        .size:           4
        .value_kind:     by_value
      - .offset:         60
        .size:           4
        .value_kind:     by_value
      - .offset:         64
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         68
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         72
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         76
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         78
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         80
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         82
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         84
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         86
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         104
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         112
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         120
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         128
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 320
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z13computeBinHOGPfS_PiS0_S_S0_jjjj
    .private_segment_fixed_size: 352
    .sgpr_count:     25
    .sgpr_spill_count: 0
    .symbol:         _Z13computeBinHOGPfS_PiS0_S_S0_jjjj.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     17
    .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
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .offset:         32
        .size:           4
        .value_kind:     by_value
      - .offset:         36
        .size:           4
        .value_kind:     by_value
      - .offset:         40
        .size:           4
        .value_kind:     by_value
      - .offset:         44
        .size:           4
        .value_kind:     by_value
      - .offset:         48
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         52
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         56
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         60
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         62
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         64
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         66
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         68
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         70
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         88
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         96
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         104
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         112
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 304
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z16computeBinHOGTarPfPiS_S0_jjjj
    .private_segment_fixed_size: 352
    .sgpr_count:     22
    .sgpr_spill_count: 0
    .symbol:         _Z16computeBinHOGTarPfPiS_S0_jjjj.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     15
    .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
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         36
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         40
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         44
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         46
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         48
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         50
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         52
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         54
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         88
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         96
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 288
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z15computeDistancePfS_S_jj
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z15computeDistancePfS_S_jj.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     19
    .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
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         32
        .size:           8
        .value_kind:     global_buffer
      - .offset:         40
        .size:           4
        .value_kind:     by_value
      - .offset:         44
        .size:           4
        .value_kind:     by_value
      - .offset:         48
        .size:           4
        .value_kind:     by_value
      - .offset:         52
        .size:           4
        .value_kind:     by_value
      - .offset:         56
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         60
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         64
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         68
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         70
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         72
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         74
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         76
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         78
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         96
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         104
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         112
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         120
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 312
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z4votePfS_S_PiS0_jjjj
    .private_segment_fixed_size: 0
    .sgpr_count:     22
    .sgpr_spill_count: 0
    .symbol:         _Z4votePfS_S_PiS0_jjjj.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     14
    .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:           4
        .value_kind:     hidden_block_count_x
      - .offset:         12
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         16
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         20
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         22
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         24
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         26
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         28
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         30
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         48
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         56
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         72
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 3844
    .kernarg_segment_align: 8
    .kernarg_segment_size: 264
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z17genGaussianFilterPf
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z17genGaussianFilterPf.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     14
    .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
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         36
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         40
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         44
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         46
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         48
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         50
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         52
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         54
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         88
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         96
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 288
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z14gaussianFilterPfS_S_jj
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z14gaussianFilterPfS_S_jj.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     11
    .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:           4
        .value_kind:     by_value
      - .offset:         20
        .size:           4
        .value_kind:     by_value
      - .offset:         24
        .size:           4
        .value_kind:     by_value
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         36
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         40
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         44
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         46
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         48
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         50
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         52
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         54
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         88
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         96
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 288
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z13detectMaximalPfS_jjf
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z13detectMaximalPfS_jjf.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     12
    .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:           4
        .value_kind:     hidden_block_count_x
      - .offset:         20
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         28
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         30
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         32
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         34
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         36
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         38
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         56
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         80
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 2000
    .kernarg_segment_align: 8
    .kernarg_segment_size: 272
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z16computeThresholdPfS_
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z16computeThresholdPfS_.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
