#include <stdio.h>
#include <algorithm>
#include <iterator>
#include <stdlib.h>
#include <math.h>
#include <string>
#include <vector>
#include <map>
#include <mutex>
using namespace std;
#define gpuErrchk(ans) { gpuAssert((ans), __FILE__, __LINE__); }

typedef struct
{
	int id;
	double x;
	double y;
} City;

typedef struct
{
	double cost;
	vector<int> path;
} PathCost;

typedef struct
{
	int threadId;
	unsigned long long numPermutations;
} TSPArgs;

void printDistanceMatrix(float*h_distances, int numCities, int numFeatures);
double fRand(double fMin, double fMax);
vector<City> generateCities(int numCities, int gridDimX, int gridDimY);
inline void gpuAssert(cudaError_t code, const char *file, int line, bool abort = true);
void genKey(vector<int> set, int z, long long &key);
#define DEBUG false
int NUM_THREADS=1024;
int numCities = 16;
int numFeatures = 3;
vector<vector<int>> subsets;
map<long long int, PathCost> solutionsMap;
mutex m;
float* h_distances;

__global__ void computeDistances(int numInstances, int numAttributes, float* dataset, float* distances)
{
	int tid = blockDim.x * blockIdx.x + threadIdx.x;
	int row = tid / numInstances; // instance1Index
	int column = tid - ((tid / numInstances) * numInstances); //instance2Index
	if ((tid < numInstances * numInstances))
	{
		float sum = 0;
		int instance1 = row * numAttributes;
		int instance2 = column * numAttributes;
		for (int atIdx = 1; atIdx < numAttributes; atIdx++) // start at 1 so we don't compare the id of each city
		{
			sum += ((dataset[instance1 + atIdx] - dataset[instance2 + atIdx]) * (dataset[instance1 + atIdx] - dataset[instance2 + atIdx]));
		}
		distances[row * numInstances + column] = (float) sqrt(sum);
		distances[column * numInstances + row] = distances[row * numInstances + column]; //set the distance for the other half of the pair we just computed
	}
}

__device__ unsigned long long countNumBits(unsigned long long n)
{
	unsigned long long count = 0;
	while (n)
	{
		count += n & 1;
		n >>= 1;
	}
	return count;
}

__device__ unsigned long long curPosition = 0;
__global__ void findPermutations(char* permutationsOfK, int k, unsigned long long lowerBound, unsigned long long upperBound)
{
	unsigned long long tid = blockDim.x * blockIdx.x + threadIdx.x;
	unsigned long long numToCheck = lowerBound + tid;
	unsigned long long count = 0;
	unsigned long long curBitPosition = 0;
	if (numToCheck < upperBound)
	{

		if (countNumBits(numToCheck) == k)
		{
			unsigned long long added = atomicAdd(&curPosition, 1);
			unsigned long long permutationStartPos = (added) * (unsigned long long) k;
			while (numToCheck)
			{
				if (numToCheck & 1)
				{
					permutationsOfK[permutationStartPos + count] = curBitPosition;
					count++;
				}
				numToCheck >>= 1;
				curBitPosition++;
			}

		}
	}
}

void * computeCosts(void* args)
{
	TSPArgs* tspArgs = (TSPArgs*) args;
	int threadId = tspArgs->threadId;
	int numPermutations = tspArgs->numPermutations;
	int calcsPerTask = (numPermutations + NUM_THREADS - 1) / NUM_THREADS;
	int beginIndex = threadId * calcsPerTask;
	int endIndex = min(beginIndex + calcsPerTask, numPermutations);
	double currentCost = 0;
	long long key = 0x00000;
	for (int i = beginIndex; i < endIndex; i++)
	{
		vector<int> set = subsets[i];
		for (int k : set)
		{
			vector<int> kSet
			{ k };
			vector<int> diff;
			set_difference(set.begin(), set.end(), kSet.begin(), kSet.end(), inserter(diff, diff.begin()));
			double minCost = INT_MAX;
			vector<int> minPath;
			int bestM;
			// we initialized 2 levels earlier so this for loop will always be able to run.
			for (int m : diff)
			{
				vector<int> mSet
				{ m }; // need to generate the key for k-1
				vector<int> noMoreM; // get rid of m because thats where we're going
				set_difference(diff.begin(), diff.end(), mSet.begin(), mSet.end(), inserter(noMoreM, noMoreM.begin()));

				genKey(noMoreM, m, key);
				currentCost = solutionsMap[key].cost + h_distances[m * numCities + k];
				if (currentCost < minCost)
				{
					minCost = currentCost;
					minPath = solutionsMap[key].path;
					bestM = m;
				}
			}
			genKey(diff, k, key);

			PathCost pathCost;
			pathCost.cost = minCost;
			minPath.push_back(bestM);
			pathCost.path = minPath;
			m.lock();
			solutionsMap.insert(pair<long long, PathCost>(key, pathCost));
			m.unlock();
		}
	}
	return NULL;
}
vector<City> tsp(vector<City> cities, int numCities, float* distances, float* d_distances)
{

	cudaEvent_t permutationsStart, permutationsStop;
	cudaEventCreate(&permutationsStart);
	cudaEventCreate(&permutationsStop);
	float permutationMilliseconds = 0;

	pthread_t *threads = (pthread_t*) malloc(NUM_THREADS * sizeof(pthread_t));
	int* threadIds = (int*) malloc(NUM_THREADS * sizeof(int));

	for (int i = 0; i < NUM_THREADS; i++)
		threadIds[i] = i;

	vector<int> cityNums;
// convert cities back to integer array
	for (int i = 1; i < numCities; i++)
	{
		cityNums.push_back(i);
	}
// calculate the highest layer number so we know how large we need to be for our permutation storage at worst
	double currentCost = 0;
	long long key = 0x00000;
	int k = numCities % 2 == 0 ? numCities / 2 : (ceil(numCities / 2));
// initalize first 2 levels of the lookup table
	for (int i = 1; i < numCities; i++)
	{
		for (int j = 1; j < numCities; j++)
		{
			if (i == j)
				continue;
			vector<int> iSet
			{ i };
			genKey(iSet, j, key);
			PathCost pathCost;
			vector<int> path
			{ 0, i };
			pathCost.path = path;
			pathCost.cost = distances[i * numCities + j] + distances[0 + i];
			solutionsMap.insert(pair<long long, PathCost>(key, pathCost));
		}
	}

	char* d_permutationsOfK;
	char *h_permutationsOfK = (char*) malloc(pow(2, numCities) * sizeof(char) * k);
	gpuErrchk(cudaMalloc(&d_permutationsOfK, pow(2, numCities) * sizeof(char) * k));

	unsigned long long finalPos;
	unsigned long long numPossibilities = pow(2, numCities); // - pow(2, k - 1);
	int threadsPerBlock = 1024;
	unsigned long long blocksPerGrid = ((numPossibilities) + threadsPerBlock - 1) / threadsPerBlock;
	unsigned long long*curPosPtr;
	gpuErrchk(cudaGetSymbolAddress((void** )&curPosPtr, curPosition));
	for (int subsetSize = 2; subsetSize < numCities; subsetSize++)
	{
		cudaEventRecord(permutationsStart);
		gpuErrchk(cudaMemset(curPosPtr, 0, sizeof(unsigned long long)));
		findPermutations<<<blocksPerGrid, threadsPerBlock, 0>>>(d_permutationsOfK, subsetSize, (unsigned long long) (pow(2, subsetSize) - 1),
				(unsigned long long) pow(2, numCities));
//		cudaDeviceSynchronize();
		gpuErrchk(cudaMemcpyFromSymbol(&finalPos, curPosition, sizeof(unsigned long long), 0, cudaMemcpyDeviceToHost));
		gpuErrchk(cudaMemcpy(h_permutationsOfK, d_permutationsOfK, finalPos * sizeof(char) * subsetSize, cudaMemcpyDeviceToHost));

		cudaEventRecord(permutationsStop);
		cudaEventSynchronize(permutationsStop);
		cudaEventElapsedTime(&permutationMilliseconds, permutationsStart, permutationsStop);
		printf("%i choose %i is %llu and took %f ms\n", numCities, subsetSize, finalPos, permutationMilliseconds);

		// use the permutations we generated here
		// remember the permutations are stored in k length 'arrays' within the 1-D array we have them in
		// so we need to index them interestingly.
		// converting to vector<vector<int>> so I don't have to rethink the logic at the current moment... definitely need to in the interests of speed
		subsets.clear();
		for (int pos = 0; pos < finalPos; pos++)
		{
			vector<int> permutation;
			for (int l = 0; l < subsetSize; l++)
			{
				permutation.push_back(h_permutationsOfK[pos * subsetSize + l]);
			}
			subsets.push_back(permutation);
		}
		int numThreads = min(NUM_THREADS, (int)(finalPos / 4));

		for (int i = 0; i < numThreads; i++)
		{
			TSPArgs* args = new TSPArgs;
			args->threadId = threadIds[i];
			args->numPermutations = finalPos;
			int status = pthread_create(&threads[i], NULL, computeCosts, (void*) args);
		}

		for (int i = 0; i < numThreads; i++)
		{
			pthread_join(threads[i], NULL);
		}
//
//		// printf("we have %i subsets of size %i\n", counter, i);
	}
	double minCost = INT_MAX;
	vector<int> minPath;
	int bestM;
	for (int m : cityNums)
	{
		vector<int> mSet
		{ m }; // need to generate the key for k-1
		vector<int> noMoreM; // get rid of m because thats where we're going
		set_difference(cityNums.begin(), cityNums.end(), mSet.begin(), mSet.end(), inserter(noMoreM, noMoreM.begin()));

		genKey(noMoreM, m, key);
		currentCost = solutionsMap[key].cost + distances[m * numCities + 0];
		if (currentCost < minCost)
		{
			minCost = currentCost;
			vector<int> path = solutionsMap[key].path;
			minPath = path;
			bestM = m;
		}
	}

	minPath.push_back(bestM);
	minPath.push_back(0);
	vector<City> bestPath;
	for (int i = 0; i < minPath.size(); i++)
	{
		bestPath.push_back(cities[minPath[i]]);
	}
	printf("Cost for this set of %i cities was %f\n", numCities, minCost);

	free(threads);
	free(threadIds);
	return bestPath;
}

int main(int argc, char*argv[])
{
	if (argc < 3) {
            printf("./cuda-tsp numCities numThreads\n");
            exit(-1);
        }
        else{
            numCities=atoi(argv[1]);
            NUM_THREADS=atoi(argv[2]);
        }
        float* d_distances;
	float* h_dataset;
	float* d_dataset;
        
	int k = numCities % 2 == 0 ? numCities / 2 : (ceil(numCities / 2));

	cudaEvent_t allStart, allStop, distStart, distStop;
	cudaEventCreate(&allStart);
	cudaEventCreate(&allStop);
	cudaEventCreate(&distStart);
	cudaEventCreate(&distStop);

	float allMilliseconds = 0, distMilliseconds = 0;

	vector<City> cities = generateCities(numCities, 500, 500);

	cudaMallocHost(&h_dataset, sizeof(float) * numCities * numFeatures);
	cudaMalloc(&d_dataset, sizeof(float) * numCities * numFeatures);

	cudaMallocHost(&h_distances, sizeof(float) * numCities * numCities);
	cudaMalloc(&d_distances, sizeof(float) * numCities * numCities);

	for (int i = 0; i < numCities; i++) // convert cities vector to the array the distance computation kernel expects
	{
		h_dataset[i * numFeatures] = cities[i].id; //cities[i].id;
		h_dataset[i * numFeatures + 1] = cities[i].x;
		h_dataset[i * numFeatures + 2] = cities[i].y;
	}

	cudaEventRecord(allStart);

	int threadsPerBlock = 1024;
	int blocksPerGrid = ((numCities * numCities) + threadsPerBlock - 1) / threadsPerBlock;

	cudaEventRecord(distStart);
	gpuErrchk(cudaMemcpy(d_dataset, h_dataset, numCities * numFeatures * sizeof(float), cudaMemcpyHostToDevice));
	gpuErrchk(cudaMemcpy(d_distances, h_distances, numCities * numCities * sizeof(float), cudaMemcpyHostToDevice));
	computeDistances<<<blocksPerGrid, threadsPerBlock, 0>>>(numCities, numFeatures, d_dataset, d_distances);
	gpuErrchk(cudaPeekAtLastError());
	gpuErrchk(cudaMemcpy(h_distances, d_distances, numCities * numCities * sizeof(float), cudaMemcpyDeviceToHost));
	cudaEventRecord(distStop);
	cudaEventSynchronize(distStop);

	gpuErrchk(cudaFree(d_dataset));

	vector<City> solution = tsp(cities, numCities, h_distances, d_distances);
	gpuErrchk(cudaPeekAtLastError());
//	cudaDeviceSynchronize();

	cudaEventRecord(allStop);
	cudaEventSynchronize(allStop);
	cudaEventElapsedTime(&distMilliseconds, distStart, distStop);

	cudaEventElapsedTime(&allMilliseconds, allStart, allStop);

	printf("The distance calculation for %i cities took %llu ms.\n", numCities, (long long unsigned int) distMilliseconds);
//	printf("The permutations calculation for %i cities took %llu ms.\n", numCities, (long long unsigned int) permutationMilliseconds);
	printf("The salesman traversed %i cities in %llu ms.\n", numCities, (long long unsigned int) allMilliseconds);

	cudaFreeHost(h_dataset);
	cudaFreeHost(h_distances);
	cudaFree(d_distances);
	return 0;
}

void printDistanceMatrix(float*h_distances, int numCities, int numFeatures)
{
	for (int i = 0; i < numCities; i++)
	{
		int city1Offset = i * numCities;
		for (int j = 0; j < numCities; j++)
		{
			printf("%f ", h_distances[city1Offset + j]);
		}
		printf("\n");
	}
}

inline void gpuAssert(cudaError_t code, const char *file, int line, bool abort)
{
// https://stackoverflow.com/a/14038590
	if (code != cudaSuccess)
	{
		fprintf(stderr, "GPUassert: %s %s %d\n", cudaGetErrorString(code), file, line);
		if (abort)
			exit(code);
	}
}

double fRand(double fMin, double fMax)
{
	double f = (double) rand() / RAND_MAX;
	return fMin + f * (fMax - fMin);
}

vector<City> generateCities(int numCities, int gridDimX, int gridDimY)
{
	vector<City> cities;
	if (DEBUG)
	{
		City city0;
		city0.id = 0;
		city0.x = 323.05;
		city0.y = 24.73;
		cities.push_back(city0);
		City city1;
		city1.id = 1;
		city1.x = 24.56;
		city1.y = 101.00;
		cities.push_back(city1);
		City city2;
		city2.id = 2;
		city2.x = 275.87;
		city2.y = 44.57;
		cities.push_back(city2);
		City city3;
		city3.id = 3;
		city3.x = 114.67;
		city3.y = 186.45;
		cities.push_back(city3);
		City city4;
		city4.id = 4;
		city4.x = 164.11;
		city4.y = 334.44;
		cities.push_back(city4);
		City city5;
		city5.id = 5;
		city5.x = 485.90;
		city5.y = 401.21;
		cities.push_back(city5);
		City city6;
		city6.id = 6;
		city6.x = 333.49;
		city6.y = 464.63;
		cities.push_back(city6);
		City city7;
		city7.id = 7;
		city7.x = 133.37;
		city7.y = 168.05;
		cities.push_back(city7);
		City city8;
		city8.id = 8;
		city8.x = 362.79;
		city8.y = 255.52;
		cities.push_back(city8);
		City city9;
		city9.id = 9;
		city9.x = 378.74;
		city9.y = 235.48;
		cities.push_back(city9);
	}
	else
	{
		for (int i = 0; i < numCities; i++)
		{
			City city;
			city.id = i;
			city.x = fRand(0, gridDimX);
			city.y = fRand(0, gridDimY);
			cities.push_back(city);
		}
	}
	return cities;
}

void genKey(vector<int> set, int z, long long &key)
{
	key = 0;
	key |= z;
	for (int j : set)
	{
		key |= (1 << (j + 8));
	}
}

	.file	"tmpxft_002dfb9d_00000000-6_cuda-tsp.cudafe1.cpp"
	.text
#APP

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB4677:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE4677:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.align 2
	.type	_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv.isra.0, @function
_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv.isra.0:
.LFB5999:
	.cfi_startproc
	movabsq	$384307168202282325, %rax
	cmpq	%rdi, %rax
	jnb	.L3
	pushq	%rax
	.cfi_def_cfa_offset 16
	movabsq	$768614336404564650, %rax
	cmpq	%rdi, %rax
	jnb	.L4
	call	_ZSt28__throw_bad_array_new_lengthv@PLT
.L4:
	call	_ZSt17__throw_bad_allocv@PLT
.L3:
	.cfi_def_cfa_offset 8
	imulq	$24, %rdi, %rdi
	jmp	_Znwm@PLT
	.cfi_endproc
.LFE5999:
	.size	_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv.isra.0, .-_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv.isra.0
	.align 2
	.type	_ZNSt12_Vector_baseIiSaIiEE11_M_allocateEm.isra.0, @function
_ZNSt12_Vector_baseIiSaIiEE11_M_allocateEm.isra.0:
.LFB6000:
	.cfi_startproc
	testq	%rdi, %rdi
	je	.L10
	movabsq	$2305843009213693951, %rax
	cmpq	%rdi, %rax
	jnb	.L11
	pushq	%rax
	.cfi_def_cfa_offset 16
	movabsq	$4611686018427387903, %rax
	cmpq	%rdi, %rax
	jnb	.L12
	call	_ZSt28__throw_bad_array_new_lengthv@PLT
.L12:
	call	_ZSt17__throw_bad_allocv@PLT
.L11:
	.cfi_def_cfa_offset 8
	salq	$2, %rdi
	jmp	_Znwm@PLT
.L10:
	xorl	%eax, %eax
	ret
	.cfi_endproc
.LFE6000:
	.size	_ZNSt12_Vector_baseIiSaIiEE11_M_allocateEm.isra.0, .-_ZNSt12_Vector_baseIiSaIiEE11_M_allocateEm.isra.0
	.section	.text._ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE24_M_get_insert_unique_posERS1_.isra.0,"axG",@progbits,_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_,comdat
	.align 2
	.type	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE24_M_get_insert_unique_posERS1_.isra.0, @function
_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE24_M_get_insert_unique_posERS1_.isra.0:
.LFB6003:
	.cfi_startproc
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movb	$1, %al
	movq	%rsi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	8(%rdi), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	16(%rdi), %rbx
.L17:
	testq	%rbx, %rbx
	je	.L25
	cmpq	%r12, 32(%rbx)
	movq	24(%rbx), %rdx
	movq	%rbx, %rbp
	cmovg	16(%rbx), %rdx
	setg	%al
	movq	%rdx, %rbx
	jmp	.L17
.L25:
	testb	%al, %al
	je	.L23
	cmpq	%rbp, 24(%rdi)
	je	.L21
	movq	%rbp, %rdi
	call	_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base@PLT
	jmp	.L20
.L23:
	movq	%rbp, %rax
.L20:
	xorl	%edx, %edx
	cmpq	%r12, 32(%rax)
	cmovge	%rdx, %rbp
	cmovge	%rax, %rbx
.L21:
	movq	%rbx, %rax
	movq	%rbp, %rdx
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE6003:
	.size	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE24_M_get_insert_unique_posERS1_.isra.0, .-_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE24_M_get_insert_unique_posERS1_.isra.0
	.text
	.globl	_Z12countNumBitsy
	.type	_Z12countNumBitsy, @function
_Z12countNumBitsy:
.LFB4615:
	.cfi_startproc
	endbr64
	pushq	%rax
	.cfi_def_cfa_offset 16
	popq	%rax
	.cfi_def_cfa_offset 8
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movl	$1, 12(%rsp)
	movl	12(%rsp), %edi
	call	exit@PLT
	.cfi_endproc
.LFE4615:
	.size	_Z12countNumBitsy, .-_Z12countNumBitsy
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%f "
.LC1:
	.string	"\n"
	.text
	.globl	_Z19printDistanceMatrixPfii
	.type	_Z19printDistanceMatrixPfii, @function
_Z19printDistanceMatrixPfii:
.LFB4670:
	.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
	leaq	.LC0(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movslq	%esi, %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	xorl	%r12d, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%r13, %rbp
	salq	$2, %r13
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rdi, %rbx
	pushq	%rdx
	.cfi_def_cfa_offset 64
.L29:
	cmpl	%ebp, %r12d
	jge	.L34
	leaq	(%rbx,%r13), %r15
.L30:
	cvtss2sd	(%rbx), %xmm0
	movq	%r14, %rsi
	movl	$2, %edi
	movb	$1, %al
	call	__printf_chk@PLT
	addq	$4, %rbx
	cmpq	%r15, %rbx
	jne	.L30
	leaq	.LC1(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	incl	%r12d
	call	__printf_chk@PLT
	jmp	.L29
.L34:
	popq	%rax
	.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
.LFE4670:
	.size	_Z19printDistanceMatrixPfii, .-_Z19printDistanceMatrixPfii
	.section	.rodata._Z9gpuAssert9cudaErrorPKcib.str1.1,"aMS",@progbits,1
.LC2:
	.string	"GPUassert: %s %s %d\n"
	.section	.text._Z9gpuAssert9cudaErrorPKcib,"axG",@progbits,_Z9gpuAssert9cudaErrorPKcib,comdat
	.weak	_Z9gpuAssert9cudaErrorPKcib
	.type	_Z9gpuAssert9cudaErrorPKcib, @function
_Z9gpuAssert9cudaErrorPKcib:
.LFB4671:
	.cfi_startproc
	endbr64
	testl	%edi, %edi
	je	.L41
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movl	%ecx, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movl	%edi, %ebx
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	movl	%edx, 12(%rsp)
	movq	%rsi, (%rsp)
	call	cudaGetErrorString@PLT
	movl	12(%rsp), %r9d
	movq	(%rsp), %r8
	leaq	.LC2(%rip), %rdx
	movq	stderr(%rip), %rdi
	movq	%rax, %rcx
	movl	$2, %esi
	xorl	%eax, %eax
	call	__fprintf_chk@PLT
	testb	%bpl, %bpl
	je	.L35
	movl	%ebx, %edi
	call	exit@PLT
.L35:
	addq	$24, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L41:
	.cfi_restore 3
	.cfi_restore 6
	ret
	.cfi_endproc
.LFE4671:
	.size	_Z9gpuAssert9cudaErrorPKcib, .-_Z9gpuAssert9cudaErrorPKcib
	.text
	.globl	_Z5fRanddd
	.type	_Z5fRanddd, @function
_Z5fRanddd:
.LFB4672:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movsd	%xmm0, 8(%rsp)
	movsd	%xmm1, (%rsp)
	call	rand@PLT
	movsd	8(%rsp), %xmm2
	movsd	(%rsp), %xmm1
	cvtsi2sdl	%eax, %xmm0
	divsd	.LC3(%rip), %xmm0
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	subsd	%xmm2, %xmm1
	mulsd	%xmm0, %xmm1
	movaps	%xmm1, %xmm0
	addsd	%xmm2, %xmm0
	ret
	.cfi_endproc
.LFE4672:
	.size	_Z5fRanddd, .-_Z5fRanddd
	.globl	_Z6genKeySt6vectorIiSaIiEEiRx
	.type	_Z6genKeySt6vectorIiSaIiEEiRx, @function
_Z6genKeySt6vectorIiSaIiEEiRx:
.LFB4674:
	.cfi_startproc
	endbr64
	movslq	%esi, %rsi
	movq	(%rdi), %rax
	movq	%rsi, (%rdx)
	movq	8(%rdi), %rsi
	movl	$1, %edi
.L47:
	cmpq	%rsi, %rax
	je	.L49
	movl	(%rax), %ecx
	movl	%edi, %r8d
	addq	$4, %rax
	addl	$8, %ecx
	sall	%cl, %r8d
	movslq	%r8d, %rcx
	orq	%rcx, (%rdx)
	jmp	.L47
.L49:
	ret
	.cfi_endproc
.LFE4674:
	.size	_Z6genKeySt6vectorIiSaIiEEiRx, .-_Z6genKeySt6vectorIiSaIiEEiRx
	.globl	_Z40__device_stub__Z16computeDistancesiiPfS_iiPfS_
	.type	_Z40__device_stub__Z16computeDistancesiiPfS_iiPfS_, @function
_Z40__device_stub__Z16computeDistancesiiPfS_iiPfS_:
.LFB4699:
	.cfi_startproc
	endbr64
	subq	$152, %rsp
	.cfi_def_cfa_offset 160
	movl	%edi, 28(%rsp)
	leaq	56(%rsp), %rdi
	movl	%esi, 24(%rsp)
	leaq	68(%rsp), %rsi
	movq	%rdx, 16(%rsp)
	leaq	40(%rsp), %rdx
	movq	%rcx, 8(%rsp)
	leaq	48(%rsp), %rcx
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rax
	movl	$1, 64(%rsp)
	movq	%rax, 104(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 112(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 120(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 128(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movq	%rax, 68(%rsp)
	movl	$1, 76(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L50
	pushq	48(%rsp)
	.cfi_def_cfa_offset 168
	leaq	_Z16computeDistancesiiPfS_(%rip), %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 176
	movq	84(%rsp), %rcx
	movl	92(%rsp), %r8d
	movq	72(%rsp), %rsi
	movl	80(%rsp), %edx
	leaq	120(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 168
	popq	%rdx
	.cfi_def_cfa_offset 160
.L50:
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	je	.L52
	call	__stack_chk_fail@PLT
.L52:
	addq	$152, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4699:
	.size	_Z40__device_stub__Z16computeDistancesiiPfS_iiPfS_, .-_Z40__device_stub__Z16computeDistancesiiPfS_iiPfS_
	.globl	_Z16computeDistancesiiPfS_
	.type	_Z16computeDistancesiiPfS_, @function
_Z16computeDistancesiiPfS_:
.LFB4700:
	.cfi_startproc
	endbr64
	jmp	_Z40__device_stub__Z16computeDistancesiiPfS_iiPfS_
	.cfi_endproc
.LFE4700:
	.size	_Z16computeDistancesiiPfS_, .-_Z16computeDistancesiiPfS_
	.globl	_Z39__device_stub__Z16findPermutationsPciyyPciyy
	.type	_Z39__device_stub__Z16findPermutationsPciyyPciyy, @function
_Z39__device_stub__Z16findPermutationsPciyyPciyy:
.LFB4701:
	.cfi_startproc
	endbr64
	subq	$152, %rsp
	.cfi_def_cfa_offset 160
	movq	%rdi, 24(%rsp)
	leaq	56(%rsp), %rdi
	movl	%esi, 20(%rsp)
	leaq	68(%rsp), %rsi
	movq	%rdx, 8(%rsp)
	leaq	40(%rsp), %rdx
	movq	%rcx, (%rsp)
	leaq	48(%rsp), %rcx
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 64(%rsp)
	movq	%rax, 104(%rsp)
	leaq	20(%rsp), %rax
	movq	%rax, 112(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 120(%rsp)
	movq	%rsp, %rax
	movq	%rax, 128(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movq	%rax, 68(%rsp)
	movl	$1, 76(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L55
	pushq	48(%rsp)
	.cfi_def_cfa_offset 168
	leaq	_Z16findPermutationsPciyy(%rip), %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 176
	movq	84(%rsp), %rcx
	movl	92(%rsp), %r8d
	movq	72(%rsp), %rsi
	movl	80(%rsp), %edx
	leaq	120(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 168
	popq	%rdx
	.cfi_def_cfa_offset 160
.L55:
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	je	.L57
	call	__stack_chk_fail@PLT
.L57:
	addq	$152, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4701:
	.size	_Z39__device_stub__Z16findPermutationsPciyyPciyy, .-_Z39__device_stub__Z16findPermutationsPciyyPciyy
	.globl	_Z16findPermutationsPciyy
	.type	_Z16findPermutationsPciyy, @function
_Z16findPermutationsPciyy:
.LFB4702:
	.cfi_startproc
	endbr64
	jmp	_Z39__device_stub__Z16findPermutationsPciyyPciyy
	.cfi_endproc
.LFE4702:
	.size	_Z16findPermutationsPciyy, .-_Z16findPermutationsPciyy
	.section	.rodata.str1.1
.LC4:
	.string	"_Z16findPermutationsPciyy"
.LC5:
	.string	"_Z16computeDistancesiiPfS_"
.LC6:
	.string	"curPosition"
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB4704:
	.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	_Z16findPermutationsPciyy(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 48
	movq	%rax, _ZL20__cudaFatCubinHandle(%rip)
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	xorl	%r9d, %r9d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC5(%rip), %rdx
	orl	$-1, %r8d
	leaq	_Z16computeDistancesiiPfS_(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC6(%rip), %rdx
	movl	$8, %r9d
	leaq	_ZL11curPosition(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	call	__cudaRegisterVar@PLT
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rdx
	.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
.LFE4704:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.text._ZNSt12_Vector_baseIiSaIiEED2Ev,"axG",@progbits,_ZNSt12_Vector_baseIiSaIiEED5Ev,comdat
	.align 2
	.weak	_ZNSt12_Vector_baseIiSaIiEED2Ev
	.type	_ZNSt12_Vector_baseIiSaIiEED2Ev, @function
_ZNSt12_Vector_baseIiSaIiEED2Ev:
.LFB5077:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L62
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L62:
	ret
	.cfi_endproc
.LFE5077:
	.size	_ZNSt12_Vector_baseIiSaIiEED2Ev, .-_ZNSt12_Vector_baseIiSaIiEED2Ev
	.weak	_ZNSt12_Vector_baseIiSaIiEED1Ev
	.set	_ZNSt12_Vector_baseIiSaIiEED1Ev,_ZNSt12_Vector_baseIiSaIiEED2Ev
	.section	.text._ZNSt6vectorIiSaIiEED2Ev,"axG",@progbits,_ZNSt6vectorIiSaIiEED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIiSaIiEED2Ev
	.type	_ZNSt6vectorIiSaIiEED2Ev, @function
_ZNSt6vectorIiSaIiEED2Ev:
.LFB5055:
	.cfi_startproc
	endbr64
	jmp	_ZNSt12_Vector_baseIiSaIiEED2Ev
	.cfi_endproc
.LFE5055:
	.size	_ZNSt6vectorIiSaIiEED2Ev, .-_ZNSt6vectorIiSaIiEED2Ev
	.weak	_ZNSt6vectorIiSaIiEED1Ev
	.set	_ZNSt6vectorIiSaIiEED1Ev,_ZNSt6vectorIiSaIiEED2Ev
	.section	.text._ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev,"axG",@progbits,_ZNSt6vectorIS_IiSaIiEESaIS1_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.type	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev, @function
_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev:
.LFB5988:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	8(%rdi), %r12
	movq	%rdi, %rbx
	movq	(%rdi), %rbp
.L66:
	cmpq	%rbp, %r12
	je	.L70
	movq	%rbp, %rdi
	addq	$24, %rbp
	call	_ZNSt6vectorIiSaIiEED1Ev
	jmp	.L66
.L70:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.L65
	movq	16(%rbx), %rsi
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	subq	%rdi, %rsi
	jmp	_ZdlPvm@PLT
.L65:
	.cfi_restore_state
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5988:
	.size	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev, .-_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.weak	_ZNSt6vectorIS_IiSaIiEESaIS1_EED1Ev
	.set	_ZNSt6vectorIS_IiSaIiEESaIS1_EED1Ev,_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.section	.text._ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E.isra.0,"axG",@progbits,_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEED5Ev,comdat
	.align 2
	.type	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E.isra.0, @function
_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E.isra.0:
.LFB6010:
	.cfi_startproc
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rdi, %rbx
	pushq	%rdx
	.cfi_def_cfa_offset 32
.L72:
	testq	%rbx, %rbx
	je	.L75
	movq	24(%rbx), %rdi
	call	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E.isra.0
	leaq	48(%rbx), %rdi
	movq	16(%rbx), %rbp
	call	_ZNSt6vectorIiSaIiEED1Ev
	movq	%rbx, %rdi
	movl	$72, %esi
	call	_ZdlPvm@PLT
	movq	%rbp, %rbx
	jmp	.L72
.L75:
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE6010:
	.size	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E.isra.0, .-_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E.isra.0
	.section	.text._ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEED2Ev,"axG",@progbits,_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEED5Ev,comdat
	.align 2
	.weak	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEED2Ev
	.type	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEED2Ev, @function
_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEED2Ev:
.LFB5985:
	.cfi_startproc
	endbr64
	movq	16(%rdi), %rdi
	jmp	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E.isra.0
	.cfi_endproc
.LFE5985:
	.size	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEED2Ev, .-_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEED2Ev
	.weak	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEED1Ev
	.set	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEED1Ev,_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEED2Ev
	.section	.text._ZNSt6vectorI4CitySaIS0_EED2Ev,"axG",@progbits,_ZNSt6vectorI4CitySaIS0_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorI4CitySaIS0_EED2Ev
	.type	_ZNSt6vectorI4CitySaIS0_EED2Ev, @function
_ZNSt6vectorI4CitySaIS0_EED2Ev:
.LFB5122:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L77
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L77:
	ret
	.cfi_endproc
.LFE5122:
	.size	_ZNSt6vectorI4CitySaIS0_EED2Ev, .-_ZNSt6vectorI4CitySaIS0_EED2Ev
	.weak	_ZNSt6vectorI4CitySaIS0_EED1Ev
	.set	_ZNSt6vectorI4CitySaIS0_EED1Ev,_ZNSt6vectorI4CitySaIS0_EED2Ev
	.section	.rodata._ZNSt6vectorI4CitySaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_.str1.1,"aMS",@progbits,1
.LC7:
	.string	"vector::_M_realloc_insert"
	.section	.text._ZNSt6vectorI4CitySaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_,"axG",@progbits,_ZNSt6vectorI4CitySaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_,comdat
	.align 2
	.weak	_ZNSt6vectorI4CitySaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_
	.type	_ZNSt6vectorI4CitySaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_, @function
_ZNSt6vectorI4CitySaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_:
.LFB5409:
	.cfi_startproc
	endbr64
	movabsq	$-6148914691236517205, %rax
	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	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	8(%rdi), %r12
	movq	(%rdi), %r15
	movq	%rsi, (%rsp)
	movabsq	$384307168202282325, %rsi
	movq	%r12, %rbx
	subq	%r15, %rbx
	sarq	$3, %rbx
	imulq	%rax, %rbx
	cmpq	%rsi, %rbx
	jne	.L80
	leaq	.LC7(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L80:
	cmpq	%r15, %r12
	movl	$1, %eax
	movq	(%rsp), %r13
	movq	%rdi, %r14
	cmovne	%rbx, %rax
	addq	%rax, %rbx
	setc	%al
	subq	%r15, %r13
	movzbl	%al, %eax
	testq	%rax, %rax
	jne	.L90
	xorl	%ebp, %ebp
	testq	%rbx, %rbx
	je	.L85
	movabsq	$384307168202282325, %rax
	cmpq	%rax, %rbx
	cmova	%rax, %rbx
	jmp	.L84
.L90:
	movq	%rsi, %rbx
.L84:
	movq	%rbx, %rdi
	movq	%rdx, 8(%rsp)
	call	_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv.isra.0
	movq	8(%rsp), %rdx
	movq	%rax, %rbp
.L85:
	movups	(%rdx), %xmm0
	movq	16(%rdx), %rax
	movups	%xmm0, 0(%rbp,%r13)
	movq	%rax, 16(%rbp,%r13)
	testq	%r13, %r13
	jle	.L86
	movq	%r13, %rdx
	movq	%r15, %rsi
	movq	%rbp, %rdi
	call	memmove@PLT
.L86:
	movq	(%rsp), %rcx
	leaq	24(%rbp,%r13), %rax
	subq	%rcx, %r12
	testq	%r12, %r12
	jle	.L87
	movq	%rcx, %rsi
	movq	%rax, %rdi
	movq	%r12, %rcx
	rep movsb
.L87:
	addq	%rax, %r12
	testq	%r15, %r15
	je	.L88
	movq	16(%r14), %rsi
	movq	%r15, %rdi
	subq	%r15, %rsi
	call	_ZdlPvm@PLT
.L88:
	imulq	$24, %rbx, %rbx
	movq	%rbp, (%r14)
	movq	%r12, 8(%r14)
	addq	%rbx, %rbp
	movq	%rbp, 16(%r14)
	addq	$24, %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
.LFE5409:
	.size	_ZNSt6vectorI4CitySaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_, .-_ZNSt6vectorI4CitySaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_
	.section	.text._ZNSt6vectorI4CitySaIS0_EE9push_backERKS0_,"axG",@progbits,_ZNSt6vectorI4CitySaIS0_EE9push_backERKS0_,comdat
	.align 2
	.weak	_ZNSt6vectorI4CitySaIS0_EE9push_backERKS0_
	.type	_ZNSt6vectorI4CitySaIS0_EE9push_backERKS0_, @function
_ZNSt6vectorI4CitySaIS0_EE9push_backERKS0_:
.LFB5127:
	.cfi_startproc
	endbr64
	movq	%rsi, %rdx
	movq	8(%rdi), %rsi
	cmpq	16(%rdi), %rsi
	je	.L98
	movups	(%rdx), %xmm0
	addq	$24, %rsi
	movups	%xmm0, -24(%rsi)
	movq	16(%rdx), %rax
	movq	%rax, -8(%rsi)
	movq	%rsi, 8(%rdi)
	ret
.L98:
	jmp	_ZNSt6vectorI4CitySaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_
	.cfi_endproc
.LFE5127:
	.size	_ZNSt6vectorI4CitySaIS0_EE9push_backERKS0_, .-_ZNSt6vectorI4CitySaIS0_EE9push_backERKS0_
	.text
	.globl	_Z14generateCitiesiii
	.type	_Z14generateCitiesiii, @function
_Z14generateCitiesiii:
.LFB4673:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4673
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movl	%ecx, %r14d
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movl	%edx, %r13d
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movl	%esi, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	xorl	%ebp, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rdi, %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	xorl	%eax, %eax
	movq	%rsp, %r15
	movq	%rax, (%rdi)
	movq	%rax, 8(%rdi)
	movq	%rax, 16(%rdi)
.L102:
	cmpl	%r12d, %ebp
	jge	.L111
	cvtsi2sdl	%r13d, %xmm1
	xorps	%xmm0, %xmm0
	movl	%ebp, (%rsp)
	call	_Z5fRanddd
	cvtsi2sdl	%r14d, %xmm1
	movsd	%xmm0, 8(%rsp)
	xorps	%xmm0, %xmm0
	call	_Z5fRanddd
	movq	%r15, %rsi
	movq	%rbx, %rdi
	movsd	%xmm0, 16(%rsp)
.LEHB0:
	call	_ZNSt6vectorI4CitySaIS0_EE9push_backERKS0_
.LEHE0:
	incl	%ebp
	jmp	.L102
.L107:
	endbr64
	movq	%rax, %rbp
.L104:
	movq	%rbx, %rdi
	call	_ZNSt6vectorI4CitySaIS0_EED1Ev
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L110
	movq	%rbp, %rdi
.LEHB1:
	call	_Unwind_Resume@PLT
.LEHE1:
.L111:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	je	.L106
.L110:
	call	__stack_chk_fail@PLT
.L106:
	addq	$40, %rsp
	.cfi_def_cfa_offset 56
	movq	%rbx, %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
.LFE4673:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table,"a",@progbits
.LLSDA4673:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4673-.LLSDACSB4673
.LLSDACSB4673:
	.uleb128 .LEHB0-.LFB4673
	.uleb128 .LEHE0-.LEHB0
	.uleb128 .L107-.LFB4673
	.uleb128 0
	.uleb128 .LEHB1-.LFB4673
	.uleb128 .LEHE1-.LEHB1
	.uleb128 0
	.uleb128 0
.LLSDACSE4673:
	.text
	.size	_Z14generateCitiesiii, .-_Z14generateCitiesiii
	.section	.text._ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_nodeD2Ev,"axG",@progbits,_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_nodeD5Ev,comdat
	.align 2
	.weak	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_nodeD2Ev
	.type	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_nodeD2Ev, @function
_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_nodeD2Ev:
.LFB5567:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movq	8(%rdi), %rbx
	testq	%rbx, %rbx
	je	.L112
	leaq	48(%rbx), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	movq	%rbx, %rdi
	movl	$72, %esi
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	_ZdlPvm@PLT
.L112:
	.cfi_restore_state
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5567:
	.size	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_nodeD2Ev, .-_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_nodeD2Ev
	.weak	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_nodeD1Ev
	.set	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_nodeD1Ev,_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_nodeD2Ev
	.section	.text._ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_,"axG",@progbits,_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_,comdat
	.align 2
	.weak	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_
	.type	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_, @function
_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_:
.LFB5569:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	8(%rdi), %rax
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rsi, %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	movq	(%rdx), %rsi
	cmpq	%rax, %rbx
	jne	.L116
	cmpq	$0, 40(%rdi)
	je	.L125
	movq	32(%rdi), %rdx
	cmpq	32(%rdx), %rsi
	jle	.L125
	jmp	.L128
.L116:
	cmpq	32(%rbx), %rsi
	jge	.L119
	movq	24(%rdi), %rax
	cmpq	%rbx, %rax
	je	.L126
	movq	%rbx, %rdi
	movq	%rsi, 8(%rsp)
	call	_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base@PLT
	movq	8(%rsp), %rsi
	movq	%rax, %rdx
	cmpq	32(%rax), %rsi
	jle	.L125
	cmpq	$0, 24(%rdx)
	movq	%rbx, %rax
	jne	.L126
	jmp	.L128
.L119:
	jle	.L123
	movq	32(%rdi), %rdx
	cmpq	%rbx, %rdx
	jne	.L124
.L128:
	xorl	%eax, %eax
	jmp	.L118
.L124:
	movq	%rbx, %rdi
	movq	%rsi, 8(%rsp)
	call	_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base@PLT
	movq	8(%rsp), %rsi
	cmpq	32(%rax), %rsi
	jge	.L125
	cmpq	$0, 24(%rbx)
	jne	.L126
	xorl	%eax, %eax
	movq	%rbx, %rdx
	jmp	.L118
.L126:
	movq	%rax, %rdx
	jmp	.L118
.L125:
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movq	%rbp, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	jmp	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE24_M_get_insert_unique_posERS1_.isra.0
.L123:
	.cfi_restore_state
	movq	%rbx, %rax
	xorl	%edx, %edx
.L118:
	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
.LFE5569:
	.size	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_, .-_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_
	.section	.text._ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_node9_M_insertES0_IPSt18_Rb_tree_node_baseSC_E,"axG",@progbits,_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_node9_M_insertES0_IPSt18_Rb_tree_node_baseSC_E,comdat
	.align 2
	.weak	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_node9_M_insertES0_IPSt18_Rb_tree_node_baseSC_E
	.type	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_node9_M_insertES0_IPSt18_Rb_tree_node_baseSC_E, @function
_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_node9_M_insertES0_IPSt18_Rb_tree_node_baseSC_E:
.LFB5579:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	testq	%rsi, %rsi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	(%rdi), %r12
	movq	%rdi, %rbx
	movq	8(%rdi), %rbp
	movb	$1, %dil
	leaq	8(%r12), %rcx
	jne	.L130
	cmpq	%rcx, %rdx
	je	.L130
	movq	32(%rdx), %rax
	cmpq	%rax, 32(%rbp)
	setl	%dil
.L130:
	movq	%rbp, %rsi
	movzbl	%dil, %edi
	call	_ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_@PLT
	xorl	%eax, %eax
	incq	40(%r12)
	movq	%rax, 8(%rbx)
	movq	%rbp, %rax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5579:
	.size	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_node9_M_insertES0_IPSt18_Rb_tree_node_baseSC_E, .-_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_node9_M_insertES0_IPSt18_Rb_tree_node_baseSC_E
	.section	.text._ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEEixERS4_,"axG",@progbits,_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEEixERS4_,comdat
	.align 2
	.weak	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEEixERS4_
	.type	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEEixERS4_, @function
_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEEixERS4_:
.LFB5081:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	8(%rdi), %rcx
	movq	%rsi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	%rcx, %rbx
	subq	$32, %rsp
	.cfi_def_cfa_offset 64
	movq	(%rsi), %rdx
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movq	16(%rdi), %rax
.L135:
	testq	%rax, %rax
	je	.L145
	movq	16(%rax), %rsi
	movq	24(%rax), %rdi
	cmpq	32(%rax), %rdx
	jle	.L136
	movq	%rbx, %rax
	movq	%rdi, %rsi
.L136:
	movq	%rax, %rbx
	movq	%rsi, %rax
	jmp	.L135
.L145:
	cmpq	%rbx, %rcx
	je	.L138
	cmpq	%rdx, 32(%rbx)
	jle	.L139
.L138:
	movl	$72, %edi
	movq	%rbp, 8(%rsp)
	call	_Znwm@PLT
	movl	$8, %ecx
	movq	%rbx, %rsi
	movq	%rax, %rdx
	movq	(%r12), %rax
	leaq	40(%rdx), %rdi
	movq	%rdx, 16(%rsp)
	addq	$32, %rdx
	movq	%rax, (%rdx)
	xorl	%eax, %eax
	rep stosl
	movq	%rbp, %rdi
	leaq	8(%rsp), %rbp
	call	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_
	testq	%rdx, %rdx
	movq	%rax, %rbx
	je	.L141
	movq	%rax, %rsi
	movq	%rbp, %rdi
	call	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_node9_M_insertES0_IPSt18_Rb_tree_node_baseSC_E
	movq	%rax, %rbx
.L141:
	movq	%rbp, %rdi
	call	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_nodeD1Ev
.L139:
	leaq	40(%rbx), %rax
	movq	24(%rsp), %rdx
	subq	%fs:40, %rdx
	je	.L142
	call	__stack_chk_fail@PLT
.L142:
	addq	$32, %rsp
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5081:
	.size	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEEixERS4_, .-_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEEixERS4_
	.section	.text._ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEE6insertIS3_IxS0_EEENSt9enable_ifIXsrSt16is_constructibleIS5_JT_EE5valueES3_ISt17_Rb_tree_iteratorIS5_EbEE4typeEOSC_,"axG",@progbits,_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEE6insertIS3_IxS0_EEENSt9enable_ifIXsrSt16is_constructibleIS5_JT_EE5valueES3_ISt17_Rb_tree_iteratorIS5_EbEE4typeEOSC_,comdat
	.align 2
	.weak	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEE6insertIS3_IxS0_EEENSt9enable_ifIXsrSt16is_constructibleIS5_JT_EE5valueES3_ISt17_Rb_tree_iteratorIS5_EbEE4typeEOSC_
	.type	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEE6insertIS3_IxS0_EEENSt9enable_ifIXsrSt16is_constructibleIS5_JT_EE5valueES3_ISt17_Rb_tree_iteratorIS5_EbEE4typeEOSC_, @function
_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEE6insertIS3_IxS0_EEENSt9enable_ifIXsrSt16is_constructibleIS5_JT_EE5valueES3_ISt17_Rb_tree_iteratorIS5_EbEE4typeEOSC_:
.LFB5098:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	8(%rdi), %rcx
	movq	%rdi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	movq	%rsi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	%rcx, %rbx
	subq	$32, %rsp
	.cfi_def_cfa_offset 64
	movq	(%rsi), %rdx
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movq	16(%rdi), %rax
.L147:
	testq	%rax, %rax
	je	.L158
	movq	16(%rax), %rsi
	movq	24(%rax), %rdi
	cmpq	32(%rax), %rdx
	jle	.L148
	movq	%rbx, %rax
	movq	%rdi, %rsi
.L148:
	movq	%rax, %rbx
	movq	%rsi, %rax
	jmp	.L147
.L158:
	cmpq	%rbx, %rcx
	je	.L150
	cmpq	%rdx, 32(%rbx)
	jle	.L151
.L150:
	movl	$72, %edi
	movq	%r12, 8(%rsp)
	call	_Znwm@PLT
	movq	0(%rbp), %rdx
	movq	%rbx, %rsi
	movq	%r12, %rdi
	movsd	8(%rbp), %xmm0
	movq	%rax, 16(%rsp)
	movq	%rdx, 32(%rax)
	movq	16(%rbp), %rdx
	movsd	%xmm0, 40(%rax)
	movq	%rdx, 48(%rax)
	movq	24(%rbp), %rdx
	movq	%rdx, 56(%rax)
	movq	32(%rbp), %rdx
	movq	%rdx, 64(%rax)
	xorl	%edx, %edx
	movq	%rdx, 32(%rbp)
	movq	%rdx, 24(%rbp)
	movq	%rdx, 16(%rbp)
	leaq	32(%rax), %rdx
	leaq	8(%rsp), %rbp
	call	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_
	testq	%rdx, %rdx
	movq	%rax, %rbx
	je	.L153
	movq	%rax, %rsi
	movq	%rbp, %rdi
	call	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_node9_M_insertES0_IPSt18_Rb_tree_node_baseSC_E
	movq	%rax, %rbx
.L153:
	movq	%rbp, %rdi
	call	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_nodeD1Ev
	movb	$1, %al
.L151:
	movzbl	%al, %edx
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	je	.L154
	call	__stack_chk_fail@PLT
.L154:
	addq	$32, %rsp
	.cfi_def_cfa_offset 32
	movq	%rbx, %rax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5098:
	.size	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEE6insertIS3_IxS0_EEENSt9enable_ifIXsrSt16is_constructibleIS5_JT_EE5valueES3_ISt17_Rb_tree_iteratorIS5_EbEE4typeEOSC_, .-_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEE6insertIS3_IxS0_EEENSt9enable_ifIXsrSt16is_constructibleIS5_JT_EE5valueES3_ISt17_Rb_tree_iteratorIS5_EbEE4typeEOSC_
	.section	.text._ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc,"axG",@progbits,_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc,comdat
	.align 2
	.weak	_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc
	.type	_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc, @function
_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc:
.LFB5594:
	.cfi_startproc
	endbr64
	movq	%rdi, %rax
	movq	%rdx, %rdi
	movq	8(%rax), %rcx
	subq	(%rax), %rcx
	movabsq	$2305843009213693951, %rax
	sarq	$2, %rcx
	movq	%rax, %rdx
	subq	%rcx, %rdx
	cmpq	%rsi, %rdx
	jnb	.L160
	pushq	%rax
	.cfi_def_cfa_offset 16
	call	_ZSt20__throw_length_errorPKc@PLT
.L160:
	.cfi_def_cfa_offset 8
	cmpq	%rcx, %rsi
	cmovb	%rcx, %rsi
	addq	%rsi, %rcx
	jc	.L159
	movabsq	$2305843009213693951, %rax
	cmpq	%rax, %rcx
	cmovbe	%rcx, %rax
.L159:
	ret
	.cfi_endproc
.LFE5594:
	.size	_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc, .-_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc
	.section	.text._ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_,"axG",@progbits,_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_,comdat
	.align 2
	.weak	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
	.type	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_, @function
_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_:
.LFB5372:
	.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
	movq	%rsi, %r13
	movl	$1, %esi
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movq	%r13, %r15
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rdi, %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	%rdx, 8(%rsp)
	leaq	.LC7(%rip), %rdx
	call	_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc
	movq	(%rbx), %r14
	movq	8(%rbx), %r12
	movq	%rax, %rdi
	movq	%rax, (%rsp)
	call	_ZNSt12_Vector_baseIiSaIiEE11_M_allocateEm.isra.0
	movq	8(%rsp), %rcx
	subq	%r14, %r15
	movq	%rax, %rbp
	movl	(%rcx), %eax
	movl	%eax, 0(%rbp,%r15)
	testq	%r15, %r15
	jle	.L169
	movq	%r15, %rdx
	movq	%r14, %rsi
	movq	%rbp, %rdi
	call	memmove@PLT
.L169:
	subq	%r13, %r12
	leaq	4(%rbp,%r15), %rdx
	testq	%r12, %r12
	jle	.L170
	movq	%rdx, %rdi
	movq	%r13, %rsi
	movq	%r12, %rcx
	rep movsb
.L170:
	addq	%rdx, %r12
	testq	%r14, %r14
	je	.L171
	movq	16(%rbx), %rsi
	movq	%r14, %rdi
	subq	%r14, %rsi
	call	_ZdlPvm@PLT
.L171:
	movq	(%rsp), %rax
	movq	%rbp, (%rbx)
	movq	%r12, 8(%rbx)
	leaq	0(%rbp,%rax,4), %rax
	movq	%rax, 16(%rbx)
	addq	$24, %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
.LFE5372:
	.size	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_, .-_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
	.section	.text._ZNSt6vectorIiSaIiEE9push_backERKi,"axG",@progbits,_ZNSt6vectorIiSaIiEE9push_backERKi,comdat
	.align 2
	.weak	_ZNSt6vectorIiSaIiEE9push_backERKi
	.type	_ZNSt6vectorIiSaIiEE9push_backERKi, @function
_ZNSt6vectorIiSaIiEE9push_backERKi:
.LFB5090:
	.cfi_startproc
	endbr64
	movq	%rsi, %rdx
	movq	8(%rdi), %rsi
	cmpq	16(%rdi), %rsi
	je	.L177
	movl	(%rdx), %eax
	addq	$4, %rsi
	movl	%eax, -4(%rsi)
	movq	%rsi, 8(%rdi)
	ret
.L177:
	jmp	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
	.cfi_endproc
.LFE5090:
	.size	_ZNSt6vectorIiSaIiEE9push_backERKi, .-_ZNSt6vectorIiSaIiEE9push_backERKi
	.section	.text._ZNSt15insert_iteratorISt6vectorIiSaIiEEEaSERKi.isra.0,"axG",@progbits,_ZSt14set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_EET1_T_SA_T0_SB_S9_,comdat
	.align 2
	.type	_ZNSt15insert_iteratorISt6vectorIiSaIiEEEaSERKi.isra.0, @function
_ZNSt15insert_iteratorISt6vectorIiSaIiEEEaSERKi.isra.0:
.LFB6028:
	.cfi_startproc
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movq	%rsi, %rdx
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	movq	%rdi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	(%rdi), %rbp
	movq	8(%rdi), %rbx
	movq	8(%rbp), %rdi
	movq	%rbx, %r13
	subq	0(%rbp), %r13
	cmpq	16(%rbp), %rdi
	je	.L181
	movl	(%rsi), %r14d
	leaq	4(%rdi), %rax
	cmpq	%rdi, %rbx
	jne	.L182
	movl	%r14d, (%rbx)
	movq	%rax, 8(%rbp)
	jmp	.L183
.L182:
	movl	-4(%rdi), %edx
	movl	%edx, (%rdi)
	leaq	-4(%rdi), %rdx
	subq	%rbx, %rdx
	movq	%rax, 8(%rbp)
	cmpq	$4, %rdx
	jle	.L184
	subq	%rdx, %rdi
	movq	%rbx, %rsi
	call	memmove@PLT
	jmp	.L185
.L184:
	jne	.L185
	movl	(%rbx), %eax
	movl	%eax, -4(%rdi)
.L185:
	movl	%r14d, (%rbx)
	jmp	.L183
.L181:
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	call	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
.L183:
	movq	0(%rbp), %rax
	leaq	4(%rax,%r13), %rax
	movq	%rax, 8(%r12)
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE6028:
	.size	_ZNSt15insert_iteratorISt6vectorIiSaIiEEEaSERKi.isra.0, .-_ZNSt15insert_iteratorISt6vectorIiSaIiEEEaSERKi.isra.0
	.section	.text._ZSt14set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_EET1_T_SA_T0_SB_S9_,"axG",@progbits,_ZSt14set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_EET1_T_SA_T0_SB_S9_,comdat
	.weak	_ZSt14set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_EET1_T_SA_T0_SB_S9_
	.type	_ZSt14set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_EET1_T_SA_T0_SB_S9_, @function
_ZSt14set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_EET1_T_SA_T0_SB_S9_:
.LFB5080:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	movq	%rcx, %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	movq	%rdx, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movq	%rsi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	%rdi, %rbx
	subq	$48, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	movq	%r8, 8(%rsp)
	leaq	8(%rsp), %r14
	movq	%r9, 16(%rsp)
.L188:
	cmpq	%rbp, %rbx
	je	.L190
	cmpq	%r13, %r12
	je	.L190
	movl	(%rbx), %edx
	movl	(%r12), %eax
	cmpl	%eax, %edx
	jge	.L196
	movq	%rbx, %rsi
	movq	%r14, %rdi
	call	_ZNSt15insert_iteratorISt6vectorIiSaIiEEEaSERKi.isra.0
	jmp	.L198
.L196:
	addq	$4, %r12
	cmpl	%eax, %edx
	jg	.L188
.L198:
	addq	$4, %rbx
	jmp	.L188
.L190:
	movq	8(%rsp), %rax
	subq	%rbx, %rbp
	leaq	24(%rsp), %r12
	sarq	$2, %rbp
	movq	%rax, 24(%rsp)
	movq	16(%rsp), %rax
	movq	%rax, 32(%rsp)
.L193:
	testq	%rbp, %rbp
	jle	.L199
	movq	%rbx, %rsi
	movq	%r12, %rdi
	addq	$4, %rbx
	decq	%rbp
	call	_ZNSt15insert_iteratorISt6vectorIiSaIiEEEaSERKi.isra.0
	jmp	.L193
.L199:
	movq	24(%rsp), %rax
	movq	32(%rsp), %rdx
	movq	40(%rsp), %rcx
	subq	%fs:40, %rcx
	je	.L195
	call	__stack_chk_fail@PLT
.L195:
	addq	$48, %rsp
	.cfi_def_cfa_offset 48
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5080:
	.size	_ZSt14set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_EET1_T_SA_T0_SB_S9_, .-_ZSt14set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_EET1_T_SA_T0_SB_S9_
	.text
	.align 2
	.type	_ZNSt6vectorIiSaIiEE12emplace_backIJiEEERiDpOT_.isra.0, @function
_ZNSt6vectorIiSaIiEE12emplace_backIJiEEERiDpOT_.isra.0:
.LFB6032:
	.cfi_startproc
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movq	%rdi, %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	8(%rdi), %rbx
	cmpq	16(%rdi), %rbx
	je	.L201
	movl	(%rsi), %eax
	addq	$4, %rbx
	movl	%eax, -4(%rbx)
	movq	%rbx, 8(%rdi)
	jmp	.L200
.L201:
	movq	%rsi, 8(%rsp)
	leaq	.LC7(%rip), %rdx
	movl	$1, %esi
	movq	%rbx, %r15
	call	_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc
	movq	(%r14), %r12
	movq	8(%r14), %r13
	movq	%rax, %rdi
	movq	%rax, (%rsp)
	call	_ZNSt12_Vector_baseIiSaIiEE11_M_allocateEm.isra.0
	movq	8(%rsp), %r8
	subq	%r12, %r15
	movq	%rax, %rbp
	movl	(%r8), %eax
	movl	%eax, 0(%rbp,%r15)
	testq	%r15, %r15
	jle	.L203
	movq	%r15, %rdx
	movq	%r12, %rsi
	movq	%rbp, %rdi
	call	memmove@PLT
.L203:
	subq	%rbx, %r13
	leaq	4(%rbp,%r15), %rdi
	testq	%r13, %r13
	jle	.L204
	movq	%r13, %rdx
	movq	%rbx, %rsi
	call	memmove@PLT
	movq	%rax, %rdi
.L204:
	addq	%rdi, %r13
	testq	%r12, %r12
	je	.L205
	movq	16(%r14), %rsi
	movq	%r12, %rdi
	subq	%r12, %rsi
	call	_ZdlPvm@PLT
.L205:
	movq	(%rsp), %rax
	movq	%rbp, (%r14)
	movq	%r13, 8(%r14)
	leaq	0(%rbp,%rax,4), %rax
	movq	%rax, 16(%r14)
.L200:
	addq	$24, %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
.LFE6032:
	.size	_ZNSt6vectorIiSaIiEE12emplace_backIJiEEERiDpOT_.isra.0, .-_ZNSt6vectorIiSaIiEE12emplace_backIJiEEERiDpOT_.isra.0
	.section	.text._ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKiiEEPT0_PT_S7_S5_,"axG",@progbits,_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKiiEEPT0_PT_S7_S5_,comdat
	.weak	_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKiiEEPT0_PT_S7_S5_
	.type	_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKiiEEPT0_PT_S7_S5_, @function
_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKiiEEPT0_PT_S7_S5_:
.LFB5898:
	.cfi_startproc
	endbr64
	subq	%rdi, %rsi
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movq	%rdx, %rcx
	movq	%rsi, %rbx
	cmpq	$4, %rsi
	jle	.L211
	movq	%rsi, %rdx
	movq	%rdi, %rsi
	movq	%rcx, %rdi
	call	memmove@PLT
	movq	%rax, %rcx
	jmp	.L212
.L211:
	jne	.L212
	movl	(%rdi), %eax
	movl	%eax, (%rdx)
.L212:
	leaq	(%rcx,%rbx), %rax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5898:
	.size	_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKiiEEPT0_PT_S7_S5_, .-_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKiiEEPT0_PT_S7_S5_
	.section	.text._ZNSt6vectorIiSaIiEEC2ERKS1_,"axG",@progbits,_ZNSt6vectorIiSaIiEEC5ERKS1_,comdat
	.align 2
	.weak	_ZNSt6vectorIiSaIiEEC2ERKS1_
	.type	_ZNSt6vectorIiSaIiEEC2ERKS1_, @function
_ZNSt6vectorIiSaIiEEC2ERKS1_:
.LFB5052:
	.cfi_startproc
	endbr64
	xorl	%eax, %eax
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	movq	%rsi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	8(%rsi), %r12
	movq	%rdi, %rbx
	subq	(%rsi), %r12
	movq	%rax, (%rdi)
	movq	%rax, 8(%rdi)
	movq	%rax, 16(%rdi)
	movq	%r12, %rdi
	sarq	$2, %rdi
	call	_ZNSt12_Vector_baseIiSaIiEE11_M_allocateEm.isra.0
	addq	%rax, %r12
	movq	%rax, (%rbx)
	movq	%rax, %rdx
	movq	%r12, 16(%rbx)
	movq	%rax, 8(%rbx)
	movq	8(%rbp), %rsi
	movq	0(%rbp), %rdi
	call	_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKiiEEPT0_PT_S7_S5_
	movq	%rax, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5052:
	.size	_ZNSt6vectorIiSaIiEEC2ERKS1_, .-_ZNSt6vectorIiSaIiEEC2ERKS1_
	.weak	_ZNSt6vectorIiSaIiEEC1ERKS1_
	.set	_ZNSt6vectorIiSaIiEEC1ERKS1_,_ZNSt6vectorIiSaIiEEC2ERKS1_
	.section	.text._ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_,"axG",@progbits,_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_,comdat
	.align 2
	.weak	_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_
	.type	_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_, @function
_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_:
.LFB5391:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA5391
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movq	%rdx, %r14
	movabsq	$384307168202282325, %rdx
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	8(%rdi), %rax
	movq	(%rdi), %r13
	movq	%rsi, 8(%rsp)
	movq	%rax, %rbx
	movq	%rax, (%rsp)
	movabsq	$-6148914691236517205, %rax
	subq	%r13, %rbx
	sarq	$3, %rbx
	imulq	%rax, %rbx
	cmpq	%rdx, %rbx
	jne	.L217
	leaq	.LC7(%rip), %rdi
.LEHB2:
	call	_ZSt20__throw_length_errorPKc@PLT
.L217:
	cmpq	%r13, (%rsp)
	movl	$1, %eax
	movq	8(%rsp), %r15
	movq	%rdi, %r12
	cmovne	%rbx, %rax
	addq	%rax, %rbx
	setc	%al
	subq	%r13, %r15
	movzbl	%al, %eax
	testq	%rax, %rax
	jne	.L233
	xorl	%ebp, %ebp
	testq	%rbx, %rbx
	je	.L222
	movabsq	$384307168202282325, %rax
	cmpq	%rax, %rbx
	cmova	%rax, %rbx
	jmp	.L221
.L233:
	movq	%rdx, %rbx
.L221:
	movq	%rbx, %rdi
	call	_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv.isra.0
.LEHE2:
	movq	%rax, %rbp
.L222:
	leaq	0(%rbp,%r15), %rax
	movq	%r14, %rsi
	movq	%rax, %rdi
	movq	%rax, %r15
.LEHB3:
	call	_ZNSt6vectorIiSaIiEEC1ERKS1_
.LEHE3:
	movq	%rbp, %r14
	movq	%r13, %r15
.L223:
	addq	$24, %r14
	cmpq	%r15, 8(%rsp)
	je	.L225
	movq	(%r15), %rcx
	xorl	%edx, %edx
	movq	%r15, %rdi
	addq	$24, %r15
	movq	%rdx, -24(%r15)
	movq	%rcx, -24(%r14)
	movq	-16(%r15), %rcx
	movq	%rdx, -16(%r15)
	movq	%rcx, -16(%r14)
	movq	-8(%r15), %rcx
	movq	%rdx, -8(%r15)
	movq	%rcx, -8(%r14)
	call	_ZNSt6vectorIiSaIiEED1Ev
	jmp	.L223
.L225:
	cmpq	%r15, (%rsp)
	je	.L245
	movq	(%r15), %rcx
	xorl	%eax, %eax
	movq	%r15, %rdi
	addq	$24, %r14
	movq	%rax, (%r15)
	addq	$24, %r15
	movq	%rcx, -24(%r14)
	movq	-16(%r15), %rcx
	movq	%rax, -16(%r15)
	movq	%rcx, -16(%r14)
	movq	-8(%r15), %rcx
	movq	%rax, -8(%r15)
	movq	%rcx, -8(%r14)
	call	_ZNSt6vectorIiSaIiEED1Ev
	jmp	.L225
.L245:
	testq	%r13, %r13
	je	.L227
	movq	16(%r12), %rsi
	movq	%r13, %rdi
	subq	%r13, %rsi
	call	_ZdlPvm@PLT
.L227:
	imulq	$24, %rbx, %rbx
	movq	%rbp, (%r12)
	movq	%r14, 8(%r12)
	addq	%rbp, %rbx
	movq	%rbx, 16(%r12)
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L236:
	.cfi_restore_state
	endbr64
	movq	%rax, %rdi
.L228:
	call	__cxa_begin_catch@PLT
	testq	%rbp, %rbp
	jne	.L229
	movq	%r15, %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
.L231:
.LEHB4:
	call	__cxa_rethrow@PLT
.LEHE4:
.L237:
	endbr64
	movq	%rax, %rbx
.L230:
	call	__cxa_end_catch@PLT
	movq	%rbx, %rdi
.LEHB5:
	call	_Unwind_Resume@PLT
.LEHE5:
.L229:
	imulq	$24, %rbx, %rsi
	movq	%rbp, %rdi
	call	_ZdlPvm@PLT
	jmp	.L231
	.cfi_endproc
.LFE5391:
	.section	.gcc_except_table
	.align 4
.LLSDA5391:
	.byte	0xff
	.byte	0x9b
	.uleb128 .LLSDATT5391-.LLSDATTD5391
.LLSDATTD5391:
	.byte	0x1
	.uleb128 .LLSDACSE5391-.LLSDACSB5391
.LLSDACSB5391:
	.uleb128 .LEHB2-.LFB5391
	.uleb128 .LEHE2-.LEHB2
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB3-.LFB5391
	.uleb128 .LEHE3-.LEHB3
	.uleb128 .L236-.LFB5391
	.uleb128 0x1
	.uleb128 .LEHB4-.LFB5391
	.uleb128 .LEHE4-.LEHB4
	.uleb128 .L237-.LFB5391
	.uleb128 0
	.uleb128 .LEHB5-.LFB5391
	.uleb128 .LEHE5-.LEHB5
	.uleb128 0
	.uleb128 0
.LLSDACSE5391:
	.byte	0x1
	.byte	0
	.align 4
	.long	0

.LLSDATT5391:
	.section	.text._ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_,"axG",@progbits,_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_,comdat
	.size	_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_, .-_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_
	.text
	.align 2
	.type	_ZNSt6vectorIiSaIiEEaSERKS1_.isra.0, @function
_ZNSt6vectorIiSaIiEEaSERKS1_.isra.0:
.LFB6036:
	.cfi_startproc
	cmpq	%rdi, %rsi
	je	.L259
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	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
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movq	%rdi, %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	movq	8(%rsi), %rsi
	movq	(%r12), %r13
	movq	(%rdi), %rdi
	movq	16(%rbx), %rax
	movq	%rsi, %rbp
	subq	%r13, %rbp
	subq	%rdi, %rax
	cmpq	%rbp, %rax
	jnb	.L248
	movq	%rbp, %rdi
	movq	%rsi, 8(%rsp)
	sarq	$2, %rdi
	call	_ZNSt12_Vector_baseIiSaIiEE11_M_allocateEm.isra.0
	movq	8(%rsp), %rsi
	movq	%r13, %rdi
	movq	%rax, %rdx
	movq	%rax, %r12
	call	_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKiiEEPT0_PT_S7_S5_
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.L249
	movq	16(%rbx), %rsi
	subq	%rdi, %rsi
	call	_ZdlPvm@PLT
.L249:
	movq	%r12, (%rbx)
	addq	%rbp, %r12
	movq	%r12, 16(%rbx)
	jmp	.L250
.L248:
	movq	8(%rbx), %rdx
	subq	%rdi, %rdx
	cmpq	%rbp, %rdx
	jb	.L251
	movq	%rdi, %rdx
	movq	%r13, %rdi
	call	_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKiiEEPT0_PT_S7_S5_
	jmp	.L250
.L251:
	cmpq	$4, %rdx
	jle	.L252
	movq	%r13, %rsi
	call	memmove@PLT
	jmp	.L253
.L252:
	jne	.L253
	movl	0(%r13), %eax
	movl	%eax, (%rdi)
.L253:
	movq	8(%rbx), %rdi
	movq	8(%r12), %rdx
	movq	%rdi, %rsi
	subq	(%rbx), %rsi
	addq	(%r12), %rsi
	subq	%rsi, %rdx
	cmpq	$4, %rdx
	jle	.L254
	call	memmove@PLT
	jmp	.L250
.L254:
	jne	.L250
	movl	(%rsi), %eax
	movl	%eax, (%rdi)
.L250:
	addq	(%rbx), %rbp
	movq	%rbp, 8(%rbx)
	addq	$24, %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
.L259:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	ret
	.cfi_endproc
.LFE6036:
	.size	_ZNSt6vectorIiSaIiEEaSERKS1_.isra.0, .-_ZNSt6vectorIiSaIiEEaSERKS1_.isra.0
	.section	.rodata._ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_.str1.1,"aMS",@progbits,1
.LC9:
	.string	"cannot create std::vector larger than max_size()"
	.section	.text._ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_,"axG",@progbits,_ZNSt6vectorIiSaIiEEC5ESt16initializer_listIiERKS0_,comdat
	.align 2
	.weak	_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_
	.type	_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_, @function
_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_:
.LFB5071:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA5071
	endbr64
	movabsq	$9223372036854775804, %rax
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xorl	%r8d, %r8d
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leaq	0(,%rdx,4), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movq	%rdi, %rbx
	leaq	(%rsi,%rbp), %r13
	pushq	%rcx
	.cfi_def_cfa_offset 48
	movq	%r8, (%rdi)
	movq	%r8, 8(%rdi)
	movq	%r8, 16(%rdi)
	movq	%rbp, %rdi
	sarq	$2, %rdi
	cmpq	%rbp, %rax
	jnb	.L263
	leaq	.LC9(%rip), %rdi
.LEHB6:
	call	_ZSt20__throw_length_errorPKc@PLT
.L263:
	movq	%rsi, %r12
	call	_ZNSt12_Vector_baseIiSaIiEE11_M_allocateEm.isra.0
.LEHE6:
	addq	%rax, %rbp
	movq	%rax, (%rbx)
	movq	%r13, %rsi
	movq	%r12, %rdi
	movq	%rbp, 16(%rbx)
	movq	%rax, %rdx
	call	_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKiiEEPT0_PT_S7_S5_
	movq	%rax, 8(%rbx)
	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
.L265:
	.cfi_restore_state
	endbr64
	movq	%rax, %rbp
.L264:
	movq	%rbx, %rdi
	call	_ZNSt12_Vector_baseIiSaIiEED2Ev
	movq	%rbp, %rdi
.LEHB7:
	call	_Unwind_Resume@PLT
.LEHE7:
	.cfi_endproc
.LFE5071:
	.section	.gcc_except_table
.LLSDA5071:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE5071-.LLSDACSB5071
.LLSDACSB5071:
	.uleb128 .LEHB6-.LFB5071
	.uleb128 .LEHE6-.LEHB6
	.uleb128 .L265-.LFB5071
	.uleb128 0
	.uleb128 .LEHB7-.LFB5071
	.uleb128 .LEHE7-.LEHB7
	.uleb128 0
	.uleb128 0
.LLSDACSE5071:
	.section	.text._ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_,"axG",@progbits,_ZNSt6vectorIiSaIiEEC5ESt16initializer_listIiERKS0_,comdat
	.size	_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_, .-_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_
	.weak	_ZNSt6vectorIiSaIiEEC1ESt16initializer_listIiERKS0_
	.set	_ZNSt6vectorIiSaIiEEC1ESt16initializer_listIiERKS0_,_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_
	.text
	.globl	_Z12computeCostsPv
	.type	_Z12computeCostsPv, @function
_Z12computeCostsPv:
.LFB4616:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4616
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$296, %rsp
	.cfi_def_cfa_offset 352
	movq	8(%rdi), %rcx
	movl	NUM_THREADS(%rip), %esi
	movq	%fs:40, %rax
	movq	%rax, 280(%rsp)
	xorl	%eax, %eax
	movl	(%rdi), %ebx
	leal	-1(%rsi,%rcx), %eax
	cltd
	idivl	%esi
	imull	%eax, %ebx
	addl	%ebx, %eax
	cmpl	%ecx, %eax
	cmovle	%eax, %ecx
	xorl	%edi, %edi
	movslq	%ebx, %rax
	movq	%rdi, 72(%rsp)
	imulq	$24, %rax, %r15
	movl	%ecx, 52(%rsp)
.L269:
	movl	52(%rsp), %eax
	cmpl	%eax, %ebx
	jge	.L298
	movq	subsets(%rip), %rsi
	leaq	80(%rsp), %rdi
	addq	%r15, %rsi
.LEHB8:
	call	_ZNSt6vectorIiSaIiEEC1ERKS1_
.LEHE8:
	movq	80(%rsp), %rax
	movq	%rax, 32(%rsp)
	movq	88(%rsp), %rax
	movq	32(%rsp), %r14
	movq	%rax, 40(%rsp)
.L270:
	cmpq	%r14, 40(%rsp)
	je	.L299
	movl	(%r14), %r12d
	leaq	104(%rsp), %rdi
	movl	$1, %edx
	leaq	276(%rsp), %rsi
	leaq	232(%rsp), %rcx
	movl	%r12d, 276(%rsp)
.LEHB9:
	call	_ZNSt6vectorIiSaIiEEC1ESt16initializer_listIiERKS0_
.LEHE9:
	xorl	%esi, %esi
	movq	112(%rsp), %rcx
	movq	104(%rsp), %rdx
	xorl	%r9d, %r9d
	movq	%rsi, 128(%rsp)
	movq	32(%rsp), %rdi
	leaq	128(%rsp), %r8
	movq	%rsi, 136(%rsp)
	movq	%rsi, 144(%rsp)
	movq	40(%rsp), %rsi
.LEHB10:
	call	_ZSt14set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_EET1_T_SA_T0_SB_S9_
.LEHE10:
	movq	136(%rsp), %rax
	xorl	%ecx, %ecx
	movq	128(%rsp), %rbp
	movq	%rcx, 152(%rsp)
	movq	%rax, 56(%rsp)
	movq	.LC3(%rip), %rax
	movq	%rcx, 160(%rsp)
	movq	%rcx, 168(%rsp)
	movq	%rax, 16(%rsp)
.L271:
	leaq	232(%rsp), %rax
	cmpq	%rbp, 56(%rsp)
	movq	%rax, 8(%rsp)
	je	.L300
	movl	0(%rbp), %r13d
	movq	8(%rsp), %rcx
	leaq	276(%rsp), %rsi
	leaq	176(%rsp), %rdi
	movl	$1, %edx
	movl	%r13d, 276(%rsp)
.LEHB11:
	call	_ZNSt6vectorIiSaIiEEC1ESt16initializer_listIiERKS0_
.LEHE11:
	xorl	%edx, %edx
	leaq	200(%rsp), %rax
	movq	184(%rsp), %rcx
	movq	136(%rsp), %rsi
	movq	%rdx, 200(%rsp)
	movq	%rax, %r8
	xorl	%r9d, %r9d
	movq	128(%rsp), %rdi
	movq	%rdx, 208(%rsp)
	movq	%rdx, 216(%rsp)
	movq	176(%rsp), %rdx
	movq	%rax, 24(%rsp)
.LEHB12:
	call	_ZSt14set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_EET1_T_SA_T0_SB_S9_
	leaq	232(%rsp), %rax
	movq	24(%rsp), %rsi
	movq	%rax, %rdi
	movq	%rax, 8(%rsp)
	call	_ZNSt6vectorIiSaIiEEC1ERKS1_
	leaq	72(%rsp), %rax
	movq	8(%rsp), %rdi
	movl	%r13d, %esi
	movq	%rax, %rdx
	movq	%rax, 24(%rsp)
	call	_Z6genKeySt6vectorIiSaIiEEiRx
	movq	8(%rsp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	movq	24(%rsp), %rsi
	leaq	solutionsMap(%rip), %rdi
	call	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEEixERS4_
	movq	%rax, %rdx
	movl	numCities(%rip), %eax
	movq	h_distances(%rip), %rcx
	movsd	16(%rsp), %xmm1
	imull	%r13d, %eax
	addl	%r12d, %eax
	cltq
	cvtss2sd	(%rcx,%rax,4), %xmm0
	addsd	(%rdx), %xmm0
	comisd	%xmm0, %xmm1
	movsd	%xmm0, 8(%rsp)
	jbe	.L272
	movq	24(%rsp), %rsi
	leaq	solutionsMap(%rip), %rdi
	call	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEEixERS4_
	leaq	8(%rax), %rsi
	leaq	152(%rsp), %rdi
	call	_ZNSt6vectorIiSaIiEEaSERKS1_.isra.0
.LEHE12:
	movsd	8(%rsp), %xmm3
	movl	%r13d, 68(%rsp)
	movsd	%xmm3, 16(%rsp)
.L272:
	leaq	200(%rsp), %rdi
	addq	$4, %rbp
	call	_ZNSt6vectorIiSaIiEED1Ev
	leaq	176(%rsp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	jmp	.L271
.L300:
	leaq	128(%rsp), %rax
	movq	8(%rsp), %rdi
	movq	%rax, %rsi
	movq	%rax, 24(%rsp)
.LEHB13:
	call	_ZNSt6vectorIiSaIiEEC1ERKS1_
.LEHE13:
	movq	8(%rsp), %rdi
	movl	%r12d, %esi
	leaq	72(%rsp), %rdx
	leaq	152(%rsp), %r13
	leaq	208(%rsp), %rbp
	call	_Z6genKeySt6vectorIiSaIiEEiRx
	movq	8(%rsp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	movsd	16(%rsp), %xmm4
	xorl	%eax, %eax
	movq	%r13, %rdi
	leaq	68(%rsp), %rsi
	movq	%rax, 208(%rsp)
	movq	%rax, 216(%rsp)
	movq	%rax, 224(%rsp)
	movsd	%xmm4, 200(%rsp)
.LEHB14:
	call	_ZNSt6vectorIiSaIiEE9push_backERKi
	movq	%r13, %rsi
	movq	%rbp, %rdi
	call	_ZNSt6vectorIiSaIiEEaSERKS1_.isra.0
	leaq	m(%rip), %rdi
	call	pthread_mutex_lock@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L275
	movq	280(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L294
	call	_ZSt20__throw_system_errori@PLT
.L275:
	movq	72(%rsp), %rax
	leaq	248(%rsp), %r12
	movq	%rbp, %rsi
	movsd	200(%rsp), %xmm0
	movq	%r12, %rdi
	movq	%rax, 232(%rsp)
	movsd	%xmm0, 240(%rsp)
	call	_ZNSt6vectorIiSaIiEEC1ERKS1_
.LEHE14:
	movq	8(%rsp), %rsi
	leaq	solutionsMap(%rip), %rdi
.LEHB15:
	call	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEE6insertIS3_IxS0_EEENSt9enable_ifIXsrSt16is_constructibleIS5_JT_EE5valueES3_ISt17_Rb_tree_iteratorIS5_EbEE4typeEOSC_
.LEHE15:
	movq	%r12, %rdi
	addq	$4, %r14
	call	_ZNSt6vectorIiSaIiEED1Ev
	leaq	m(%rip), %rdi
	call	pthread_mutex_unlock@PLT
	movq	%rbp, %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	movq	%r13, %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	movq	24(%rsp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	leaq	104(%rsp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	jmp	.L270
.L299:
	leaq	80(%rsp), %rdi
	incl	%ebx
	addq	$24, %r15
	call	_ZNSt6vectorIiSaIiEED1Ev
	jmp	.L269
.L298:
	movq	280(%rsp), %rax
	subq	%fs:40, %rax
	je	.L286
	jmp	.L294
.L289:
	endbr64
	movq	%rax, %rbx
.L279:
	leaq	200(%rsp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	leaq	176(%rsp), %rdi
	jmp	.L296
.L292:
	endbr64
	movq	%rax, %rbx
.L281:
	movq	%r12, %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	jmp	.L282
.L291:
	endbr64
	movq	%rax, %rbx
.L282:
	movq	%rbp, %rdi
.L296:
	call	_ZNSt6vectorIiSaIiEED1Ev
	jmp	.L280
.L290:
	endbr64
	movq	%rax, %rbx
.L280:
	leaq	152(%rsp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	jmp	.L283
.L288:
	endbr64
	movq	%rax, %rbx
.L283:
	leaq	128(%rsp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	leaq	104(%rsp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	jmp	.L284
.L287:
	endbr64
	movq	%rax, %rbx
.L284:
	leaq	80(%rsp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	movq	280(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L294
	movq	%rbx, %rdi
.LEHB16:
	call	_Unwind_Resume@PLT
.LEHE16:
.L294:
	call	__stack_chk_fail@PLT
.L286:
	addq	$296, %rsp
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	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
.LFE4616:
	.section	.gcc_except_table
.LLSDA4616:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4616-.LLSDACSB4616
.LLSDACSB4616:
	.uleb128 .LEHB8-.LFB4616
	.uleb128 .LEHE8-.LEHB8
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB9-.LFB4616
	.uleb128 .LEHE9-.LEHB9
	.uleb128 .L287-.LFB4616
	.uleb128 0
	.uleb128 .LEHB10-.LFB4616
	.uleb128 .LEHE10-.LEHB10
	.uleb128 .L288-.LFB4616
	.uleb128 0
	.uleb128 .LEHB11-.LFB4616
	.uleb128 .LEHE11-.LEHB11
	.uleb128 .L290-.LFB4616
	.uleb128 0
	.uleb128 .LEHB12-.LFB4616
	.uleb128 .LEHE12-.LEHB12
	.uleb128 .L289-.LFB4616
	.uleb128 0
	.uleb128 .LEHB13-.LFB4616
	.uleb128 .LEHE13-.LEHB13
	.uleb128 .L290-.LFB4616
	.uleb128 0
	.uleb128 .LEHB14-.LFB4616
	.uleb128 .LEHE14-.LEHB14
	.uleb128 .L291-.LFB4616
	.uleb128 0
	.uleb128 .LEHB15-.LFB4616
	.uleb128 .LEHE15-.LEHB15
	.uleb128 .L292-.LFB4616
	.uleb128 0
	.uleb128 .LEHB16-.LFB4616
	.uleb128 .LEHE16-.LEHB16
	.uleb128 0
	.uleb128 0
.LLSDACSE4616:
	.text
	.size	_Z12computeCostsPv, .-_Z12computeCostsPv
	.section	.rodata.str1.1
.LC13:
	.string	"/home/ubuntu/Datasets/stackv2/train-structured/JZHeadley/Parallel-Held-Karp/master/cuda/cuda-tsp.cu"
.LC15:
	.string	"%i choose %i is %llu and took %f ms\n"
.LC16:
	.string	"Cost for this set of %i cities was %f\n"
	.text
	.globl	_Z3tspSt6vectorI4CitySaIS0_EEiPfS3_
	.type	_Z3tspSt6vectorI4CitySaIS0_EEiPfS3_, @function
_Z3tspSt6vectorI4CitySaIS0_EEiPfS3_:
.LFB4652:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4652
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	%edx, %r15d
	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	$312, %rsp
	.cfi_def_cfa_offset 368
	movq	%rsi, 64(%rsp)
	movq	%rcx, 32(%rsp)
	movq	%rdi, (%rsp)
	leaq	96(%rsp), %rdi
	movq	%fs:40, %rax
	movq	%rax, 296(%rsp)
	xorl	%eax, %eax
.LEHB17:
	call	cudaEventCreate@PLT
	leaq	104(%rsp), %rdi
	call	cudaEventCreate@PLT
.LEHE17:
	movslq	NUM_THREADS(%rip), %rbx
	movl	$0x00000000, 88(%rsp)
	leaq	0(,%rbx,8), %rdi
	movq	%rbx, %rbp
	call	malloc@PLT
	leaq	0(,%rbx,4), %rdi
	movq	%rax, 16(%rsp)
	call	malloc@PLT
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
.L302:
	cmpl	%eax, %ebp
	jle	.L373
	movq	24(%rsp), %rcx
	movl	%eax, (%rcx,%rax,4)
	incq	%rax
	jmp	.L302
.L373:
	xorl	%ebx, %ebx
	leaq	248(%rsp), %rbp
	movq	%rbx, 144(%rsp)
	movq	%rbx, 152(%rsp)
	movq	%rbx, 160(%rsp)
	movl	$1, %ebx
.L304:
	movl	%ebx, 248(%rsp)
	cmpl	%ebx, %r15d
	jle	.L374
	leaq	144(%rsp), %rdi
	movq	%rbp, %rsi
.LEHB18:
	call	_ZNSt6vectorIiSaIiEE9push_backERKi
	incl	%ebx
	jmp	.L304
.L374:
	movl	%r15d, %eax
	movl	$2, %ecx
	xorl	%r11d, %r11d
	movl	%r15d, %r13d
	cltd
	movq	%r11, 112(%rsp)
	movl	$1, %ebx
	idivl	%ecx
	movl	%eax, 76(%rsp)
.L306:
	movl	%ebx, 48(%rsp)
	movl	%ebx, %r14d
	cmpl	%ebx, %r15d
	jle	.L375
	movl	$1, %ebp
.L308:
	movl	48(%rsp), %eax
	cmpl	%eax, %ebp
	je	.L307
	leaq	168(%rsp), %rax
	leaq	248(%rsp), %r12
	movl	$1, %edx
	movl	%r14d, 288(%rsp)
	leaq	288(%rsp), %rsi
	movq	%r12, %rcx
	movq	%rax, %rdi
	movq	%rax, 8(%rsp)
	call	_ZNSt6vectorIiSaIiEEC1ESt16initializer_listIiERKS0_
.LEHE18:
	movq	8(%rsp), %rsi
	movq	%r12, %rdi
.LEHB19:
	call	_ZNSt6vectorIiSaIiEEC1ERKS1_
.LEHE19:
	leaq	112(%rsp), %rdx
	movl	%ebp, %esi
	movq	%r12, %rdi
	call	_Z6genKeySt6vectorIiSaIiEEiRx
	movq	%r12, %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	xorl	%r9d, %r9d
	xorl	%r10d, %r10d
	movq	%r12, %rcx
	leaq	192(%rsp), %rax
	leaq	288(%rsp), %rsi
	movl	$2, %edx
	movq	%r9, 224(%rsp)
	movq	%rax, %rdi
	movq	%r9, 232(%rsp)
	movq	%r9, 240(%rsp)
	movl	%r10d, 288(%rsp)
	movl	%r14d, 292(%rsp)
	movq	%rax, 8(%rsp)
.LEHB20:
	call	_ZNSt6vectorIiSaIiEEC1ESt16initializer_listIiERKS0_
.LEHE20:
	movq	8(%rsp), %rsi
	leaq	224(%rsp), %rdi
.LEHB21:
	call	_ZNSt6vectorIiSaIiEEaSERKS1_.isra.0
	movq	32(%rsp), %rcx
	leal	0(%rbp,%r13), %eax
	leaq	264(%rsp), %r12
	cltq
	movq	%r12, %rdi
	movss	(%rcx,%rax,4), %xmm0
	movq	112(%rsp), %rax
	addss	(%rcx,%rbx,4), %xmm0
	movq	%rax, 248(%rsp)
	leaq	224(%rsp), %rax
	movq	%rax, %rsi
	movq	%rax, 40(%rsp)
	cvtss2sd	%xmm0, %xmm0
	movsd	%xmm0, 216(%rsp)
	movsd	%xmm0, 256(%rsp)
	call	_ZNSt6vectorIiSaIiEEC1ERKS1_
.LEHE21:
	leaq	248(%rsp), %rsi
	leaq	solutionsMap(%rip), %rdi
.LEHB22:
	call	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEE6insertIS3_IxS0_EEENSt9enable_ifIXsrSt16is_constructibleIS5_JT_EE5valueES3_ISt17_Rb_tree_iteratorIS5_EbEE4typeEOSC_
.LEHE22:
	movq	%r12, %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	movq	8(%rsp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	movq	40(%rsp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	leaq	168(%rsp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
.L307:
	incl	%ebp
	cmpl	%ebp, %r15d
	jne	.L308
	incq	%rbx
	addl	%r15d, %r13d
	jmp	.L306
.L375:
	cvtsi2sdl	%r15d, %xmm3
	movsd	.LC11(%rip), %xmm0
	movaps	%xmm3, %xmm1
	movsd	%xmm3, 56(%rsp)
	call	pow@PLT
	cvtsi2sdl	76(%rsp), %xmm2
	mulsd	%xmm2, %xmm0
	comisd	.LC12(%rip), %xmm0
	jnb	.L309
	cvttsd2siq	%xmm0, %rdi
	jmp	.L310
.L309:
	subsd	.LC12(%rip), %xmm0
	cvttsd2siq	%xmm0, %rdi
	btcq	$63, %rdi
.L310:
	movsd	%xmm2, 8(%rsp)
	call	malloc@PLT
	cvtsi2sdl	%r15d, %xmm1
	movsd	.LC11(%rip), %xmm0
	movq	%rax, 40(%rsp)
	call	pow@PLT
	movsd	8(%rsp), %xmm2
	mulsd	%xmm2, %xmm0
	comisd	.LC12(%rip), %xmm0
	jnb	.L311
	cvttsd2siq	%xmm0, %rsi
	jmp	.L312
.L311:
	subsd	.LC12(%rip), %xmm0
	cvttsd2siq	%xmm0, %rsi
	btcq	$63, %rsi
.L312:
	leaq	120(%rsp), %rdi
.LEHB23:
	call	cudaMalloc@PLT
	leaq	.LC13(%rip), %rbx
	movl	%eax, %edi
	movl	$1, %ecx
	movl	$202, %edx
	movq	%rbx, %rsi
	call	_Z9gpuAssert9cudaErrorPKcib
	cvtsi2sdl	%r15d, %xmm1
	movsd	.LC11(%rip), %xmm0
	call	pow@PLT
	comisd	.LC12(%rip), %xmm0
	jnb	.L313
	cvttsd2siq	%xmm0, %rax
	jmp	.L314
.L313:
	subsd	.LC12(%rip), %xmm0
	cvttsd2siq	%xmm0, %rax
	btcq	$63, %rax
.L314:
	addq	$1023, %rax
	leaq	136(%rsp), %rdi
	leaq	_ZL11curPosition(%rip), %rsi
	shrq	$10, %rax
	movq	%rax, 48(%rsp)
	call	cudaGetSymbolAddress@PLT
	movl	%eax, %edi
	movl	$1, %ecx
	movl	$209, %edx
	movq	%rbx, %rsi
	call	_Z9gpuAssert9cudaErrorPKcib
	movl	$2, %ebx
.L315:
	movl	%ebx, %ebp
	cmpl	%ebx, %r15d
	jle	.L376
	movq	96(%rsp), %rdi
	xorl	%esi, %esi
	call	cudaEventRecord@PLT
	movq	136(%rsp), %rdi
	movl	$8, %edx
	xorl	%esi, %esi
	call	cudaMemset@PLT
	movl	%eax, %edi
	movl	$1, %ecx
	movl	$213, %edx
	leaq	.LC13(%rip), %rsi
	call	_Z9gpuAssert9cudaErrorPKcib
	movl	48(%rsp), %eax
	movl	$4194305, %edx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	salq	$10, %rdx
	movl	$1, %ecx
	movl	$1, 256(%rsp)
	movl	%eax, 216(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 220(%rsp)
	movq	216(%rsp), %rdi
	movl	224(%rsp), %esi
	movq	%rdx, 248(%rsp)
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L316
	movsd	56(%rsp), %xmm1
	movsd	.LC11(%rip), %xmm0
	call	pow@PLT
	cvtsi2sdl	%ebp, %xmm1
	movsd	%xmm0, 8(%rsp)
	movsd	.LC11(%rip), %xmm0
	call	pow@PLT
	movsd	8(%rsp), %xmm2
	comisd	.LC12(%rip), %xmm2
	jnb	.L317
	cvttsd2siq	%xmm2, %rcx
	jmp	.L318
.L317:
	subsd	.LC12(%rip), %xmm2
	cvttsd2siq	%xmm2, %rcx
	btcq	$63, %rcx
.L318:
	subsd	.LC14(%rip), %xmm0
	comisd	.LC12(%rip), %xmm0
	jnb	.L319
	cvttsd2siq	%xmm0, %rdx
	jmp	.L320
.L319:
	subsd	.LC12(%rip), %xmm0
	cvttsd2siq	%xmm0, %rdx
	btcq	$63, %rdx
.L320:
	movq	120(%rsp), %rdi
	movl	%ebp, %esi
	call	_Z39__device_stub__Z16findPermutationsPciyyPciyy
.L316:
	leaq	128(%rsp), %rdi
	movl	$2, %r8d
	xorl	%ecx, %ecx
	movl	$8, %edx
	leaq	_ZL11curPosition(%rip), %rsi
	call	cudaMemcpyFromSymbol@PLT
	movl	%eax, %edi
	movl	$1, %ecx
	movl	$217, %edx
	leaq	.LC13(%rip), %rsi
	call	_Z9gpuAssert9cudaErrorPKcib
	movq	120(%rsp), %rsi
	movq	40(%rsp), %rdi
	movl	$2, %ecx
	movq	128(%rsp), %rdx
	imulq	%rbx, %rdx
	call	cudaMemcpy@PLT
	movl	%eax, %edi
	movl	$1, %ecx
	movl	$218, %edx
	leaq	.LC13(%rip), %rsi
	call	_Z9gpuAssert9cudaErrorPKcib
	movq	104(%rsp), %rdi
	xorl	%esi, %esi
	call	cudaEventRecord@PLT
	movq	104(%rsp), %rdi
	call	cudaEventSynchronize@PLT
	movq	104(%rsp), %rdx
	movq	96(%rsp), %rsi
	leaq	88(%rsp), %rdi
	call	cudaEventElapsedTime@PLT
	movq	128(%rsp), %r8
	movl	%ebp, %ecx
	movl	%r15d, %edx
	movb	$1, %al
	leaq	.LC15(%rip), %rsi
	movl	$2, %edi
	cvtss2sd	88(%rsp), %xmm0
	call	__printf_chk@PLT
.LEHE23:
	movq	subsets(%rip), %r12
	movq	8+subsets(%rip), %r13
	cmpq	%r13, %r12
	je	.L321
	movq	%r12, %rbp
.L322:
	movq	%rbp, %rdi
	addq	$24, %rbp
	call	_ZNSt6vectorIiSaIiEED1Ev
	cmpq	%rbp, %r13
	jne	.L322
	movq	%r12, 8+subsets(%rip)
.L321:
	movq	40(%rsp), %r13
	xorl	%r12d, %r12d
.L323:
	movq	128(%rsp), %rax
	cmpq	%rax, %r12
	jnb	.L377
	xorl	%r8d, %r8d
	leaq	248(%rsp), %rax
	movq	%r13, %rbp
	movq	%r8, 248(%rsp)
	movq	%r8, 256(%rsp)
	movq	%r8, 264(%rsp)
	movq	%rax, 8(%rsp)
.L324:
	movsbl	0(%rbp), %eax
	movq	8(%rsp), %rdi
	leaq	216(%rsp), %rsi
	movl	%eax, 216(%rsp)
.LEHB24:
	call	_ZNSt6vectorIiSaIiEE12emplace_backIJiEEERiDpOT_.isra.0
	incq	%rbp
	leaq	0(%r13,%rbx), %r14
	cmpq	%r14, %rbp
	jne	.L324
	movq	8+subsets(%rip), %rdi
	cmpq	16+subsets(%rip), %rdi
	je	.L325
	movq	8(%rsp), %rsi
	call	_ZNSt6vectorIiSaIiEEC1ERKS1_
	addq	$24, 8+subsets(%rip)
	jmp	.L326
.L325:
	movq	8(%rsp), %rdx
	movq	%rdi, %rsi
	leaq	subsets(%rip), %rdi
	call	_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_
.LEHE24:
.L326:
	movq	8(%rsp), %rdi
	incq	%r12
	movq	%r14, %r13
	call	_ZNSt6vectorIiSaIiEED1Ev
	jmp	.L323
.L377:
	movl	NUM_THREADS(%rip), %ebp
	shrq	$2, %rax
	movq	16(%rsp), %r13
	leaq	_Z12computeCostsPv(%rip), %r14
	cmpl	%eax, %ebp
	cmovg	%eax, %ebp
	xorl	%r12d, %r12d
.L328:
	cmpl	%r12d, %ebp
	jle	.L378
	movl	$16, %edi
.LEHB25:
	call	_Znwm@PLT
	movq	%rax, %rcx
	movq	24(%rsp), %rax
	movq	%r13, %rdi
	movq	%r14, %rdx
	xorl	%esi, %esi
	addq	$8, %r13
	movl	(%rax,%r12,4), %eax
	incq	%r12
	movl	%eax, (%rcx)
	movq	128(%rsp), %rax
	movq	%rax, 8(%rcx)
	call	pthread_create@PLT
	jmp	.L328
.L378:
	xorl	%r12d, %r12d
.L330:
	cmpl	%r12d, %ebp
	jle	.L379
	movq	16(%rsp), %rax
	xorl	%esi, %esi
	movq	(%rax,%r12,8), %rdi
	call	pthread_join@PLT
.LEHE25:
	incq	%r12
	jmp	.L330
.L379:
	incq	%rbx
	jmp	.L315
.L376:
	xorl	%edi, %edi
	movq	144(%rsp), %r13
	movsd	.LC3(%rip), %xmm4
	movq	%rdi, 168(%rsp)
	movq	152(%rsp), %r14
	movq	%rdi, 176(%rsp)
	movq	%r13, %rbx
	movq	%rdi, 184(%rsp)
	movsd	%xmm4, 8(%rsp)
.L333:
	cmpq	%rbx, %r14
	leaq	248(%rsp), %r12
	je	.L380
	movl	(%rbx), %ebp
	leaq	288(%rsp), %rsi
	movq	%r12, %rcx
	movl	$1, %edx
	leaq	192(%rsp), %rdi
	movl	%ebp, 288(%rsp)
.LEHB26:
	call	_ZNSt6vectorIiSaIiEEC1ESt16initializer_listIiERKS0_
.LEHE26:
	xorl	%esi, %esi
	leaq	216(%rsp), %r12
	xorl	%r9d, %r9d
	movq	%r13, %rdi
	movq	200(%rsp), %rcx
	movq	192(%rsp), %rdx
	movq	%rsi, 216(%rsp)
	movq	%r12, %r8
	movq	%rsi, 224(%rsp)
	movq	%rsi, 232(%rsp)
	movq	%r14, %rsi
.LEHB27:
	call	_ZSt14set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_EET1_T_SA_T0_SB_S9_
	leaq	248(%rsp), %rax
	movq	%r12, %rsi
	movq	%rax, %rdi
	movq	%rax, 40(%rsp)
	call	_ZNSt6vectorIiSaIiEEC1ERKS1_
	movq	40(%rsp), %rdi
	leaq	112(%rsp), %r12
	movl	%ebp, %esi
	movq	%r12, %rdx
	call	_Z6genKeySt6vectorIiSaIiEEiRx
	movq	40(%rsp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	movq	%r12, %rsi
	leaq	solutionsMap(%rip), %rdi
	call	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEEixERS4_
	movq	%rax, %rdx
	movl	%r15d, %eax
	movq	32(%rsp), %rcx
	movsd	8(%rsp), %xmm5
	imull	%ebp, %eax
	cltq
	cvtss2sd	(%rcx,%rax,4), %xmm0
	addsd	(%rdx), %xmm0
	comisd	%xmm0, %xmm5
	movsd	%xmm0, 40(%rsp)
	jbe	.L334
	movq	%r12, %rsi
	leaq	solutionsMap(%rip), %rdi
	call	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEEixERS4_
	leaq	248(%rsp), %r12
	leaq	8(%rax), %rsi
	movq	%r12, %rdi
	call	_ZNSt6vectorIiSaIiEEC1ERKS1_
.LEHE27:
	leaq	168(%rsp), %rdi
	movq	%r12, %rsi
.LEHB28:
	call	_ZNSt6vectorIiSaIiEEaSERKS1_.isra.0
.LEHE28:
	movq	%r12, %rdi
	movl	%ebp, 92(%rsp)
	call	_ZNSt6vectorIiSaIiEED1Ev
	movsd	40(%rsp), %xmm7
	movsd	%xmm7, 8(%rsp)
.L334:
	leaq	216(%rsp), %rdi
	addq	$4, %rbx
	call	_ZNSt6vectorIiSaIiEED1Ev
	leaq	192(%rsp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	jmp	.L333
.L380:
	leaq	168(%rsp), %rbx
	leaq	92(%rsp), %rsi
	movq	%rbx, %rdi
.LEHB29:
	call	_ZNSt6vectorIiSaIiEE9push_backERKi
	xorl	%ecx, %ecx
	movq	%r12, %rsi
	movq	%rbx, %rdi
	movl	%ecx, 248(%rsp)
	call	_ZNSt6vectorIiSaIiEE12emplace_backIJiEEERiDpOT_.isra.0
.LEHE29:
	movq	(%rsp), %rax
	xorl	%edx, %edx
	xorl	%ebp, %ebp
	movq	%rdx, (%rax)
	movq	%rdx, 8(%rax)
	movq	%rdx, 16(%rax)
.L337:
	movq	168(%rsp), %rdx
	movq	176(%rsp), %rax
	subq	%rdx, %rax
	sarq	$2, %rax
	cmpq	%rax, %rbp
	jnb	.L381
	movslq	(%rdx,%rbp,4), %rsi
	movq	64(%rsp), %rax
	movq	(%rsp), %rdi
	imulq	$24, %rsi, %rsi
	addq	(%rax), %rsi
.LEHB30:
	call	_ZNSt6vectorI4CitySaIS0_EE9push_backERKS0_
	incq	%rbp
	jmp	.L337
.L381:
	movsd	8(%rsp), %xmm0
	movl	%r15d, %edx
	movl	$2, %edi
	movb	$1, %al
	leaq	.LC16(%rip), %rsi
	call	__printf_chk@PLT
.LEHE30:
	movq	16(%rsp), %rdi
	call	free@PLT
	movq	24(%rsp), %rdi
	call	free@PLT
	movq	%rbx, %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	leaq	144(%rsp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	movq	296(%rsp), %rax
	subq	%fs:40, %rax
	je	.L350
	jmp	.L368
.L357:
	endbr64
	movq	%rax, %rbx
.L339:
	movq	%r12, %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	jmp	.L340
.L356:
	endbr64
	movq	%rax, %rbx
.L340:
	movq	8(%rsp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	jmp	.L341
.L355:
	endbr64
	movq	%rax, %rbx
.L341:
	leaq	224(%rsp), %rdi
	jmp	.L372
.L354:
	endbr64
	jmp	.L371
.L358:
	endbr64
	movq	%rax, %rbx
.L344:
	movq	8(%rsp), %rdi
	jmp	.L370
.L360:
	endbr64
	movq	%rax, %rbx
.L345:
	movq	%r12, %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	jmp	.L346
.L359:
	endbr64
	movq	%rax, %rbx
.L346:
	leaq	216(%rsp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	leaq	192(%rsp), %rdi
.L372:
	call	_ZNSt6vectorIiSaIiEED1Ev
	jmp	.L347
.L362:
	endbr64
	movq	%rax, %rbx
.L348:
	movq	(%rsp), %rdi
	call	_ZNSt6vectorI4CitySaIS0_EED1Ev
	jmp	.L347
.L361:
	endbr64
.L371:
	movq	%rax, %rbx
.L347:
	leaq	168(%rsp), %rdi
.L370:
	call	_ZNSt6vectorIiSaIiEED1Ev
	jmp	.L343
.L353:
	endbr64
	movq	%rax, %rbx
.L343:
	leaq	144(%rsp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	movq	296(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L368
	movq	%rbx, %rdi
.LEHB31:
	call	_Unwind_Resume@PLT
.LEHE31:
.L368:
	call	__stack_chk_fail@PLT
.L350:
	movq	(%rsp), %rax
	addq	$312, %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
.LFE4652:
	.section	.gcc_except_table
.LLSDA4652:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4652-.LLSDACSB4652
.LLSDACSB4652:
	.uleb128 .LEHB17-.LFB4652
	.uleb128 .LEHE17-.LEHB17
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB18-.LFB4652
	.uleb128 .LEHE18-.LEHB18
	.uleb128 .L353-.LFB4652
	.uleb128 0
	.uleb128 .LEHB19-.LFB4652
	.uleb128 .LEHE19-.LEHB19
	.uleb128 .L354-.LFB4652
	.uleb128 0
	.uleb128 .LEHB20-.LFB4652
	.uleb128 .LEHE20-.LEHB20
	.uleb128 .L355-.LFB4652
	.uleb128 0
	.uleb128 .LEHB21-.LFB4652
	.uleb128 .LEHE21-.LEHB21
	.uleb128 .L356-.LFB4652
	.uleb128 0
	.uleb128 .LEHB22-.LFB4652
	.uleb128 .LEHE22-.LEHB22
	.uleb128 .L357-.LFB4652
	.uleb128 0
	.uleb128 .LEHB23-.LFB4652
	.uleb128 .LEHE23-.LEHB23
	.uleb128 .L353-.LFB4652
	.uleb128 0
	.uleb128 .LEHB24-.LFB4652
	.uleb128 .LEHE24-.LEHB24
	.uleb128 .L358-.LFB4652
	.uleb128 0
	.uleb128 .LEHB25-.LFB4652
	.uleb128 .LEHE25-.LEHB25
	.uleb128 .L353-.LFB4652
	.uleb128 0
	.uleb128 .LEHB26-.LFB4652
	.uleb128 .LEHE26-.LEHB26
	.uleb128 .L361-.LFB4652
	.uleb128 0
	.uleb128 .LEHB27-.LFB4652
	.uleb128 .LEHE27-.LEHB27
	.uleb128 .L359-.LFB4652
	.uleb128 0
	.uleb128 .LEHB28-.LFB4652
	.uleb128 .LEHE28-.LEHB28
	.uleb128 .L360-.LFB4652
	.uleb128 0
	.uleb128 .LEHB29-.LFB4652
	.uleb128 .LEHE29-.LEHB29
	.uleb128 .L361-.LFB4652
	.uleb128 0
	.uleb128 .LEHB30-.LFB4652
	.uleb128 .LEHE30-.LEHB30
	.uleb128 .L362-.LFB4652
	.uleb128 0
	.uleb128 .LEHB31-.LFB4652
	.uleb128 .LEHE31-.LEHB31
	.uleb128 0
	.uleb128 0
.LLSDACSE4652:
	.text
	.size	_Z3tspSt6vectorI4CitySaIS0_EEiPfS3_, .-_Z3tspSt6vectorI4CitySaIS0_EEiPfS3_
	.section	.rodata.str1.1
.LC17:
	.string	"./cuda-tsp numCities numThreads\n"
.LC19:
	.string	"The distance calculation for %i cities took %llu ms.\n"
.LC20:
	.string	"The salesman traversed %i cities in %llu ms.\n"
	.section	.text.startup
	.globl	main
	.type	main, @function
main:
.LFB4669:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4669
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$168, %rsp
	.cfi_def_cfa_offset 224
	movq	%fs:40, %rax
	movq	%rax, 152(%rsp)
	xorl	%eax, %eax
	cmpl	$2, %edi
	jg	.L383
	movl	$2, %edi
	leaq	.LC17(%rip), %rsi
.LEHB32:
	call	__printf_chk@PLT
	orl	$-1, %edi
	call	exit@PLT
.L383:
	movq	8(%rsi), %rdi
	movq	%rsi, %rbx
	call	atoi@PLT
	movq	16(%rbx), %rdi
	movl	%eax, numCities(%rip)
	call	atoi@PLT
	leaq	48(%rsp), %rdi
	movl	%eax, NUM_THREADS(%rip)
	call	cudaEventCreate@PLT
	leaq	56(%rsp), %rdi
	call	cudaEventCreate@PLT
	leaq	64(%rsp), %rdi
	call	cudaEventCreate@PLT
	leaq	72(%rsp), %rdi
	call	cudaEventCreate@PLT
	leaq	80(%rsp), %rax
	movl	numCities(%rip), %esi
	movl	$500, %edx
	movq	%rax, %rdi
	movl	$500, %ecx
	movq	%rax, 8(%rsp)
	movl	$0x00000000, 16(%rsp)
	movl	$0x00000000, 20(%rsp)
	call	_Z14generateCitiesiii
.LEHE32:
	movslq	numCities(%rip), %rsi
	movslq	numFeatures(%rip), %rax
	xorl	%edx, %edx
	leaq	32(%rsp), %rdi
	imulq	%rax, %rsi
	salq	$2, %rsi
.LEHB33:
	call	cudaHostAlloc@PLT
	movslq	numCities(%rip), %rsi
	movslq	numFeatures(%rip), %rax
	leaq	40(%rsp), %rdi
	imulq	%rax, %rsi
	salq	$2, %rsi
	call	cudaMalloc@PLT
	movslq	numCities(%rip), %rsi
	xorl	%edx, %edx
	leaq	h_distances(%rip), %rdi
	imulq	%rsi, %rsi
	salq	$2, %rsi
	call	cudaHostAlloc@PLT
	movslq	numCities(%rip), %rsi
	leaq	24(%rsp), %rdi
	imulq	%rsi, %rsi
	salq	$2, %rsi
	call	cudaMalloc@PLT
	movq	80(%rsp), %r12
	movslq	numFeatures(%rip), %rsi
	xorl	%ecx, %ecx
	movl	numCities(%rip), %edi
	movq	32(%rsp), %rax
	movq	%r12, %rdx
	salq	$2, %rsi
.L384:
	cmpl	%ecx, %edi
	jle	.L406
	cvtsi2ssl	(%rdx), %xmm0
	incl	%ecx
	addq	$24, %rdx
	movss	%xmm0, (%rax)
	cvtsd2ss	-16(%rdx), %xmm0
	movss	%xmm0, 4(%rax)
	cvtsd2ss	-8(%rdx), %xmm0
	movss	%xmm0, 8(%rax)
	addq	%rsi, %rax
	jmp	.L384
.L406:
	movq	48(%rsp), %rdi
	xorl	%esi, %esi
	call	cudaEventRecord@PLT
	movl	numCities(%rip), %ebp
	movq	64(%rsp), %rdi
	xorl	%esi, %esi
	imull	%ebp, %ebp
	addl	$1023, %ebp
	sarl	$10, %ebp
	call	cudaEventRecord@PLT
	movl	numCities(%rip), %edx
	movq	32(%rsp), %rsi
	movl	$1, %ecx
	imull	numFeatures(%rip), %edx
	movq	40(%rsp), %rdi
	movslq	%edx, %rdx
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	movl	%eax, %edi
	movl	$1, %ecx
	movl	$336, %edx
	leaq	.LC13(%rip), %rsi
	call	_Z9gpuAssert9cudaErrorPKcib
	movl	numCities(%rip), %edx
	movq	24(%rsp), %rdi
	movl	$1, %ecx
	movq	h_distances(%rip), %rsi
	imull	%edx, %edx
	movslq	%edx, %rdx
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	movl	%eax, %edi
	movl	$1, %ecx
	movl	$337, %edx
	leaq	.LC13(%rip), %rsi
	call	_Z9gpuAssert9cudaErrorPKcib
	movl	%ebp, 104(%rsp)
	movl	$4194305, %edx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movabsq	$4294967297, %rax
	salq	$10, %rdx
	movl	$1, %ecx
	movl	$1, 136(%rsp)
	movq	%rax, 108(%rsp)
	movq	104(%rsp), %rdi
	movl	112(%rsp), %esi
	movq	%rdx, 128(%rsp)
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L386
	movq	24(%rsp), %rcx
	movq	40(%rsp), %rdx
	movl	numFeatures(%rip), %esi
	movl	numCities(%rip), %edi
	call	_Z40__device_stub__Z16computeDistancesiiPfS_iiPfS_
.L386:
	call	cudaPeekAtLastError@PLT
	movl	%eax, %edi
	movl	$1, %ecx
	movl	$339, %edx
	leaq	.LC13(%rip), %rsi
	call	_Z9gpuAssert9cudaErrorPKcib
	movl	numCities(%rip), %edx
	movq	24(%rsp), %rsi
	movl	$2, %ecx
	movq	h_distances(%rip), %rdi
	imull	%edx, %edx
	movslq	%edx, %rdx
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	movl	%eax, %edi
	movl	$1, %ecx
	movl	$340, %edx
	leaq	.LC13(%rip), %rsi
	call	_Z9gpuAssert9cudaErrorPKcib
	movq	72(%rsp), %rdi
	xorl	%esi, %esi
	call	cudaEventRecord@PLT
	movq	72(%rsp), %rdi
	call	cudaEventSynchronize@PLT
	movq	40(%rsp), %rdi
	call	cudaFree@PLT
	movl	%eax, %edi
	movl	$1, %ecx
	movl	$344, %edx
	leaq	.LC13(%rip), %rsi
	call	_Z9gpuAssert9cudaErrorPKcib
	movq	88(%rsp), %rbp
	movq	24(%rsp), %r15
	movabsq	$-6148914691236517205, %rax
	movq	h_distances(%rip), %r14
	movl	numCities(%rip), %r13d
	subq	%r12, %rbp
	movq	%rbp, %rdi
	sarq	$3, %rdi
	imulq	%rax, %rdi
	xorl	%eax, %eax
	movq	%rax, 128(%rsp)
	movq	%rax, 136(%rsp)
	movq	%rax, 144(%rsp)
	testq	%rdi, %rdi
	je	.L399
	call	_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv.isra.0
.LEHE33:
	movq	%rax, %rdi
	jmp	.L387
.L399:
	xorl	%edi, %edi
.L387:
	leaq	(%rdi,%rbp), %rbx
	movq	%rdi, 128(%rsp)
	movq	%rbx, 144(%rsp)
	cmpq	$24, %rbp
	jle	.L388
	movq	%rbp, %rdx
	movq	%r12, %rsi
	call	memmove@PLT
	jmp	.L389
.L388:
	jne	.L389
	movups	(%r12), %xmm1
	movups	%xmm1, (%rdi)
	movq	16(%r12), %rax
	movq	%rax, 16(%rdi)
.L389:
	leaq	104(%rsp), %rbp
	movq	%r15, %r8
	movq	%r14, %rcx
	movl	%r13d, %edx
	leaq	128(%rsp), %r12
	movq	%rbp, %rdi
	movq	%rbx, 136(%rsp)
	movq	%r12, %rsi
.LEHB34:
	call	_Z3tspSt6vectorI4CitySaIS0_EEiPfS3_
.LEHE34:
	movq	%r12, %rdi
	call	_ZNSt6vectorI4CitySaIS0_EED1Ev
.LEHB35:
	call	cudaPeekAtLastError@PLT
	movl	%eax, %edi
	movl	$1, %ecx
	movl	$347, %edx
	leaq	.LC13(%rip), %rsi
	call	_Z9gpuAssert9cudaErrorPKcib
	movq	56(%rsp), %rdi
	xorl	%esi, %esi
	call	cudaEventRecord@PLT
	movq	56(%rsp), %rdi
	call	cudaEventSynchronize@PLT
	movq	72(%rsp), %rdx
	movq	64(%rsp), %rsi
	leaq	20(%rsp), %rdi
	call	cudaEventElapsedTime@PLT
	movq	56(%rsp), %rdx
	movq	48(%rsp), %rsi
	leaq	16(%rsp), %rdi
	call	cudaEventElapsedTime@PLT
	movss	20(%rsp), %xmm0
	comiss	.LC18(%rip), %xmm0
	jnb	.L390
	cvttss2siq	%xmm0, %rcx
	jmp	.L391
.L390:
	subss	.LC18(%rip), %xmm0
	cvttss2siq	%xmm0, %rcx
	btcq	$63, %rcx
.L391:
	movl	numCities(%rip), %edx
	leaq	.LC19(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movss	16(%rsp), %xmm0
	comiss	.LC18(%rip), %xmm0
	jnb	.L392
	cvttss2siq	%xmm0, %rcx
	jmp	.L393
.L392:
	subss	.LC18(%rip), %xmm0
	cvttss2siq	%xmm0, %rcx
	btcq	$63, %rcx
.L393:
	movl	numCities(%rip), %edx
	leaq	.LC20(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	32(%rsp), %rdi
	call	cudaFreeHost@PLT
	movq	h_distances(%rip), %rdi
	call	cudaFreeHost@PLT
	movq	24(%rsp), %rdi
	call	cudaFree@PLT
.LEHE35:
	movq	%rbp, %rdi
	call	_ZNSt6vectorI4CitySaIS0_EED1Ev
	leaq	80(%rsp), %rdi
	call	_ZNSt6vectorI4CitySaIS0_EED1Ev
	movq	152(%rsp), %rax
	subq	%fs:40, %rax
	je	.L398
	jmp	.L403
.L401:
	endbr64
	movq	%rax, %rbx
.L394:
	movq	%r12, %rdi
	jmp	.L405
.L402:
	endbr64
	movq	%rax, %rbx
.L396:
	movq	%rbp, %rdi
.L405:
	call	_ZNSt6vectorI4CitySaIS0_EED1Ev
	jmp	.L395
.L400:
	endbr64
	movq	%rax, %rbx
.L395:
	movq	8(%rsp), %rdi
	call	_ZNSt6vectorI4CitySaIS0_EED1Ev
	movq	152(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L403
	movq	%rbx, %rdi
.LEHB36:
	call	_Unwind_Resume@PLT
.LEHE36:
.L403:
	call	__stack_chk_fail@PLT
.L398:
	addq	$168, %rsp
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	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
.LFE4669:
	.section	.gcc_except_table
.LLSDA4669:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4669-.LLSDACSB4669
.LLSDACSB4669:
	.uleb128 .LEHB32-.LFB4669
	.uleb128 .LEHE32-.LEHB32
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB33-.LFB4669
	.uleb128 .LEHE33-.LEHB33
	.uleb128 .L400-.LFB4669
	.uleb128 0
	.uleb128 .LEHB34-.LFB4669
	.uleb128 .LEHE34-.LEHB34
	.uleb128 .L401-.LFB4669
	.uleb128 0
	.uleb128 .LEHB35-.LFB4669
	.uleb128 .LEHE35-.LEHB35
	.uleb128 .L402-.LFB4669
	.uleb128 0
	.uleb128 .LEHB36-.LFB4669
	.uleb128 .LEHE36-.LEHB36
	.uleb128 0
	.uleb128 0
.LLSDACSE4669:
	.section	.text.startup
	.size	main, .-main
	.type	_GLOBAL__sub_I_NUM_THREADS, @function
_GLOBAL__sub_I_NUM_THREADS:
.LFB5990:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	__dso_handle(%rip), %rbx
	xorl	%eax, %eax
	leaq	subsets(%rip), %rsi
	movq	%rbx, %rdx
	leaq	_ZNSt6vectorIS_IiSaIiEESaIS1_EED1Ev(%rip), %rdi
	movq	%rax, subsets(%rip)
	movq	%rax, 8+subsets(%rip)
	movq	%rax, 16+subsets(%rip)
	call	__cxa_atexit@PLT
	leaq	8+solutionsMap(%rip), %rax
	xorl	%edx, %edx
	xorl	%esi, %esi
	movl	%edx, 8+solutionsMap(%rip)
	xorl	%ecx, %ecx
	movq	%rbx, %rdx
	popq	%rbx
	.cfi_def_cfa_offset 8
	movq	%rsi, 40+solutionsMap(%rip)
	leaq	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEED1Ev(%rip), %rdi
	leaq	-8(%rax), %rsi
	movq	%rcx, 16+solutionsMap(%rip)
	movq	%rax, 24+solutionsMap(%rip)
	movq	%rax, 32+solutionsMap(%rip)
	jmp	__cxa_atexit@PLT
	.cfi_endproc
.LFE5990:
	.size	_GLOBAL__sub_I_NUM_THREADS, .-_GLOBAL__sub_I_NUM_THREADS
	.section	.init_array
	.align 8
	.quad	_GLOBAL__sub_I_NUM_THREADS
	.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
	.local	_ZL11curPosition
	.comm	_ZL11curPosition,8,8
	.globl	h_distances
	.bss
	.align 8
	.type	h_distances, @object
	.size	h_distances, 8
h_distances:
	.zero	8
	.globl	m
	.align 32
	.type	m, @object
	.size	m, 40
m:
	.zero	40
	.globl	solutionsMap
	.align 32
	.type	solutionsMap, @object
	.size	solutionsMap, 48
solutionsMap:
	.zero	48
	.globl	subsets
	.align 16
	.type	subsets, @object
	.size	subsets, 24
subsets:
	.zero	24
	.globl	numFeatures
	.data
	.align 4
	.type	numFeatures, @object
	.size	numFeatures, 4
numFeatures:
	.long	3
	.globl	numCities
	.align 4
	.type	numCities, @object
	.size	numCities, 4
numCities:
	.long	16
	.globl	NUM_THREADS
	.align 4
	.type	NUM_THREADS, @object
	.size	NUM_THREADS, 4
NUM_THREADS:
	.long	1024
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC3:
	.long	-4194304
	.long	1105199103
	.align 8
.LC11:
	.long	0
	.long	1073741824
	.align 8
.LC12:
	.long	0
	.long	1138753536
	.align 8
.LC14:
	.long	0
	.long	1072693248
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC18:
	.long	1593835520
	.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
	.hidden	__dso_handle
	.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 <stdio.h>
#include <algorithm>
#include <iterator>
#include <stdlib.h>
#include <math.h>
#include <string>
#include <vector>
#include <map>
#include <mutex>
using namespace std;
#define gpuErrchk(ans) { gpuAssert((ans), __FILE__, __LINE__); }

typedef struct
{
	int id;
	double x;
	double y;
} City;

typedef struct
{
	double cost;
	vector<int> path;
} PathCost;

typedef struct
{
	int threadId;
	unsigned long long numPermutations;
} TSPArgs;

void printDistanceMatrix(float*h_distances, int numCities, int numFeatures);
double fRand(double fMin, double fMax);
vector<City> generateCities(int numCities, int gridDimX, int gridDimY);
inline void gpuAssert(hipError_t code, const char *file, int line, bool abort = true);
void genKey(vector<int> set, int z, long long &key);
#define DEBUG false
int NUM_THREADS=1024;
int numCities = 16;
int numFeatures = 3;
vector<vector<int>> subsets;
map<long long int, PathCost> solutionsMap;
mutex m;
float* h_distances;

__global__ void computeDistances(int numInstances, int numAttributes, float* dataset, float* distances)
{
	int tid = blockDim.x * blockIdx.x + threadIdx.x;
	int row = tid / numInstances; // instance1Index
	int column = tid - ((tid / numInstances) * numInstances); //instance2Index
	if ((tid < numInstances * numInstances))
	{
		float sum = 0;
		int instance1 = row * numAttributes;
		int instance2 = column * numAttributes;
		for (int atIdx = 1; atIdx < numAttributes; atIdx++) // start at 1 so we don't compare the id of each city
		{
			sum += ((dataset[instance1 + atIdx] - dataset[instance2 + atIdx]) * (dataset[instance1 + atIdx] - dataset[instance2 + atIdx]));
		}
		distances[row * numInstances + column] = (float) sqrt(sum);
		distances[column * numInstances + row] = distances[row * numInstances + column]; //set the distance for the other half of the pair we just computed
	}
}

__device__ unsigned long long countNumBits(unsigned long long n)
{
	unsigned long long count = 0;
	while (n)
	{
		count += n & 1;
		n >>= 1;
	}
	return count;
}

__device__ unsigned long long curPosition = 0;
__global__ void findPermutations(char* permutationsOfK, int k, unsigned long long lowerBound, unsigned long long upperBound)
{
	unsigned long long tid = blockDim.x * blockIdx.x + threadIdx.x;
	unsigned long long numToCheck = lowerBound + tid;
	unsigned long long count = 0;
	unsigned long long curBitPosition = 0;
	if (numToCheck < upperBound)
	{

		if (countNumBits(numToCheck) == k)
		{
			unsigned long long added = atomicAdd(&curPosition, 1);
			unsigned long long permutationStartPos = (added) * (unsigned long long) k;
			while (numToCheck)
			{
				if (numToCheck & 1)
				{
					permutationsOfK[permutationStartPos + count] = curBitPosition;
					count++;
				}
				numToCheck >>= 1;
				curBitPosition++;
			}

		}
	}
}

void * computeCosts(void* args)
{
	TSPArgs* tspArgs = (TSPArgs*) args;
	int threadId = tspArgs->threadId;
	int numPermutations = tspArgs->numPermutations;
	int calcsPerTask = (numPermutations + NUM_THREADS - 1) / NUM_THREADS;
	int beginIndex = threadId * calcsPerTask;
	int endIndex = min(beginIndex + calcsPerTask, numPermutations);
	double currentCost = 0;
	long long key = 0x00000;
	for (int i = beginIndex; i < endIndex; i++)
	{
		vector<int> set = subsets[i];
		for (int k : set)
		{
			vector<int> kSet
			{ k };
			vector<int> diff;
			set_difference(set.begin(), set.end(), kSet.begin(), kSet.end(), inserter(diff, diff.begin()));
			double minCost = INT_MAX;
			vector<int> minPath;
			int bestM;
			// we initialized 2 levels earlier so this for loop will always be able to run.
			for (int m : diff)
			{
				vector<int> mSet
				{ m }; // need to generate the key for k-1
				vector<int> noMoreM; // get rid of m because thats where we're going
				set_difference(diff.begin(), diff.end(), mSet.begin(), mSet.end(), inserter(noMoreM, noMoreM.begin()));

				genKey(noMoreM, m, key);
				currentCost = solutionsMap[key].cost + h_distances[m * numCities + k];
				if (currentCost < minCost)
				{
					minCost = currentCost;
					minPath = solutionsMap[key].path;
					bestM = m;
				}
			}
			genKey(diff, k, key);

			PathCost pathCost;
			pathCost.cost = minCost;
			minPath.push_back(bestM);
			pathCost.path = minPath;
			m.lock();
			solutionsMap.insert(pair<long long, PathCost>(key, pathCost));
			m.unlock();
		}
	}
	return NULL;
}
vector<City> tsp(vector<City> cities, int numCities, float* distances, float* d_distances)
{

	hipEvent_t permutationsStart, permutationsStop;
	hipEventCreate(&permutationsStart);
	hipEventCreate(&permutationsStop);
	float permutationMilliseconds = 0;

	pthread_t *threads = (pthread_t*) malloc(NUM_THREADS * sizeof(pthread_t));
	int* threadIds = (int*) malloc(NUM_THREADS * sizeof(int));

	for (int i = 0; i < NUM_THREADS; i++)
		threadIds[i] = i;

	vector<int> cityNums;
// convert cities back to integer array
	for (int i = 1; i < numCities; i++)
	{
		cityNums.push_back(i);
	}
// calculate the highest layer number so we know how large we need to be for our permutation storage at worst
	double currentCost = 0;
	long long key = 0x00000;
	int k = numCities % 2 == 0 ? numCities / 2 : (ceil(numCities / 2));
// initalize first 2 levels of the lookup table
	for (int i = 1; i < numCities; i++)
	{
		for (int j = 1; j < numCities; j++)
		{
			if (i == j)
				continue;
			vector<int> iSet
			{ i };
			genKey(iSet, j, key);
			PathCost pathCost;
			vector<int> path
			{ 0, i };
			pathCost.path = path;
			pathCost.cost = distances[i * numCities + j] + distances[0 + i];
			solutionsMap.insert(pair<long long, PathCost>(key, pathCost));
		}
	}

	char* d_permutationsOfK;
	char *h_permutationsOfK = (char*) malloc(pow(2, numCities) * sizeof(char) * k);
	gpuErrchk(hipMalloc(&d_permutationsOfK, pow(2, numCities) * sizeof(char) * k));

	unsigned long long finalPos;
	unsigned long long numPossibilities = pow(2, numCities); // - pow(2, k - 1);
	int threadsPerBlock = 1024;
	unsigned long long blocksPerGrid = ((numPossibilities) + threadsPerBlock - 1) / threadsPerBlock;
	unsigned long long*curPosPtr;
	gpuErrchk(hipGetSymbolAddress((void** )&curPosPtr, HIP_SYMBOL(curPosition)));
	for (int subsetSize = 2; subsetSize < numCities; subsetSize++)
	{
		hipEventRecord(permutationsStart);
		gpuErrchk(hipMemset(curPosPtr, 0, sizeof(unsigned long long)));
		findPermutations<<<blocksPerGrid, threadsPerBlock, 0>>>(d_permutationsOfK, subsetSize, (unsigned long long) (pow(2, subsetSize) - 1),
				(unsigned long long) pow(2, numCities));
//		cudaDeviceSynchronize();
		gpuErrchk(hipMemcpyFromSymbol(&finalPos, HIP_SYMBOL(curPosition), sizeof(unsigned long long), 0, hipMemcpyDeviceToHost));
		gpuErrchk(hipMemcpy(h_permutationsOfK, d_permutationsOfK, finalPos * sizeof(char) * subsetSize, hipMemcpyDeviceToHost));

		hipEventRecord(permutationsStop);
		hipEventSynchronize(permutationsStop);
		hipEventElapsedTime(&permutationMilliseconds, permutationsStart, permutationsStop);
		printf("%i choose %i is %llu and took %f ms\n", numCities, subsetSize, finalPos, permutationMilliseconds);

		// use the permutations we generated here
		// remember the permutations are stored in k length 'arrays' within the 1-D array we have them in
		// so we need to index them interestingly.
		// converting to vector<vector<int>> so I don't have to rethink the logic at the current moment... definitely need to in the interests of speed
		subsets.clear();
		for (int pos = 0; pos < finalPos; pos++)
		{
			vector<int> permutation;
			for (int l = 0; l < subsetSize; l++)
			{
				permutation.push_back(h_permutationsOfK[pos * subsetSize + l]);
			}
			subsets.push_back(permutation);
		}
		int numThreads = min(NUM_THREADS, (int)(finalPos / 4));

		for (int i = 0; i < numThreads; i++)
		{
			TSPArgs* args = new TSPArgs;
			args->threadId = threadIds[i];
			args->numPermutations = finalPos;
			int status = pthread_create(&threads[i], NULL, computeCosts, (void*) args);
		}

		for (int i = 0; i < numThreads; i++)
		{
			pthread_join(threads[i], NULL);
		}
//
//		// printf("we have %i subsets of size %i\n", counter, i);
	}
	double minCost = INT_MAX;
	vector<int> minPath;
	int bestM;
	for (int m : cityNums)
	{
		vector<int> mSet
		{ m }; // need to generate the key for k-1
		vector<int> noMoreM; // get rid of m because thats where we're going
		set_difference(cityNums.begin(), cityNums.end(), mSet.begin(), mSet.end(), inserter(noMoreM, noMoreM.begin()));

		genKey(noMoreM, m, key);
		currentCost = solutionsMap[key].cost + distances[m * numCities + 0];
		if (currentCost < minCost)
		{
			minCost = currentCost;
			vector<int> path = solutionsMap[key].path;
			minPath = path;
			bestM = m;
		}
	}

	minPath.push_back(bestM);
	minPath.push_back(0);
	vector<City> bestPath;
	for (int i = 0; i < minPath.size(); i++)
	{
		bestPath.push_back(cities[minPath[i]]);
	}
	printf("Cost for this set of %i cities was %f\n", numCities, minCost);

	free(threads);
	free(threadIds);
	return bestPath;
}

int main(int argc, char*argv[])
{
	if (argc < 3) {
            printf("./cuda-tsp numCities numThreads\n");
            exit(-1);
        }
        else{
            numCities=atoi(argv[1]);
            NUM_THREADS=atoi(argv[2]);
        }
        float* d_distances;
	float* h_dataset;
	float* d_dataset;
        
	int k = numCities % 2 == 0 ? numCities / 2 : (ceil(numCities / 2));

	hipEvent_t allStart, allStop, distStart, distStop;
	hipEventCreate(&allStart);
	hipEventCreate(&allStop);
	hipEventCreate(&distStart);
	hipEventCreate(&distStop);

	float allMilliseconds = 0, distMilliseconds = 0;

	vector<City> cities = generateCities(numCities, 500, 500);

	hipHostMalloc(&h_dataset, sizeof(float) * numCities * numFeatures, hipHostMallocDefault);
	hipMalloc(&d_dataset, sizeof(float) * numCities * numFeatures);

	hipHostMalloc(&h_distances, sizeof(float) * numCities * numCities, hipHostMallocDefault);
	hipMalloc(&d_distances, sizeof(float) * numCities * numCities);

	for (int i = 0; i < numCities; i++) // convert cities vector to the array the distance computation kernel expects
	{
		h_dataset[i * numFeatures] = cities[i].id; //cities[i].id;
		h_dataset[i * numFeatures + 1] = cities[i].x;
		h_dataset[i * numFeatures + 2] = cities[i].y;
	}

	hipEventRecord(allStart);

	int threadsPerBlock = 1024;
	int blocksPerGrid = ((numCities * numCities) + threadsPerBlock - 1) / threadsPerBlock;

	hipEventRecord(distStart);
	gpuErrchk(hipMemcpy(d_dataset, h_dataset, numCities * numFeatures * sizeof(float), hipMemcpyHostToDevice));
	gpuErrchk(hipMemcpy(d_distances, h_distances, numCities * numCities * sizeof(float), hipMemcpyHostToDevice));
	computeDistances<<<blocksPerGrid, threadsPerBlock, 0>>>(numCities, numFeatures, d_dataset, d_distances);
	gpuErrchk(hipPeekAtLastError());
	gpuErrchk(hipMemcpy(h_distances, d_distances, numCities * numCities * sizeof(float), hipMemcpyDeviceToHost));
	hipEventRecord(distStop);
	hipEventSynchronize(distStop);

	gpuErrchk(hipFree(d_dataset));

	vector<City> solution = tsp(cities, numCities, h_distances, d_distances);
	gpuErrchk(hipPeekAtLastError());
//	cudaDeviceSynchronize();

	hipEventRecord(allStop);
	hipEventSynchronize(allStop);
	hipEventElapsedTime(&distMilliseconds, distStart, distStop);

	hipEventElapsedTime(&allMilliseconds, allStart, allStop);

	printf("The distance calculation for %i cities took %llu ms.\n", numCities, (long long unsigned int) distMilliseconds);
//	printf("The permutations calculation for %i cities took %llu ms.\n", numCities, (long long unsigned int) permutationMilliseconds);
	printf("The salesman traversed %i cities in %llu ms.\n", numCities, (long long unsigned int) allMilliseconds);

	hipHostFree(h_dataset);
	hipHostFree(h_distances);
	hipFree(d_distances);
	return 0;
}

void printDistanceMatrix(float*h_distances, int numCities, int numFeatures)
{
	for (int i = 0; i < numCities; i++)
	{
		int city1Offset = i * numCities;
		for (int j = 0; j < numCities; j++)
		{
			printf("%f ", h_distances[city1Offset + j]);
		}
		printf("\n");
	}
}

inline void gpuAssert(hipError_t code, const char *file, int line, bool abort)
{
// https://stackoverflow.com/a/14038590
	if (code != hipSuccess)
	{
		fprintf(stderr, "GPUassert: %s %s %d\n", hipGetErrorString(code), file, line);
		if (abort)
			exit(code);
	}
}

double fRand(double fMin, double fMax)
{
	double f = (double) rand() / RAND_MAX;
	return fMin + f * (fMax - fMin);
}

vector<City> generateCities(int numCities, int gridDimX, int gridDimY)
{
	vector<City> cities;
	if (DEBUG)
	{
		City city0;
		city0.id = 0;
		city0.x = 323.05;
		city0.y = 24.73;
		cities.push_back(city0);
		City city1;
		city1.id = 1;
		city1.x = 24.56;
		city1.y = 101.00;
		cities.push_back(city1);
		City city2;
		city2.id = 2;
		city2.x = 275.87;
		city2.y = 44.57;
		cities.push_back(city2);
		City city3;
		city3.id = 3;
		city3.x = 114.67;
		city3.y = 186.45;
		cities.push_back(city3);
		City city4;
		city4.id = 4;
		city4.x = 164.11;
		city4.y = 334.44;
		cities.push_back(city4);
		City city5;
		city5.id = 5;
		city5.x = 485.90;
		city5.y = 401.21;
		cities.push_back(city5);
		City city6;
		city6.id = 6;
		city6.x = 333.49;
		city6.y = 464.63;
		cities.push_back(city6);
		City city7;
		city7.id = 7;
		city7.x = 133.37;
		city7.y = 168.05;
		cities.push_back(city7);
		City city8;
		city8.id = 8;
		city8.x = 362.79;
		city8.y = 255.52;
		cities.push_back(city8);
		City city9;
		city9.id = 9;
		city9.x = 378.74;
		city9.y = 235.48;
		cities.push_back(city9);
	}
	else
	{
		for (int i = 0; i < numCities; i++)
		{
			City city;
			city.id = i;
			city.x = fRand(0, gridDimX);
			city.y = fRand(0, gridDimY);
			cities.push_back(city);
		}
	}
	return cities;
}

void genKey(vector<int> set, int z, long long &key)
{
	key = 0;
	key |= z;
	for (int j : set)
	{
		key |= (1 << (j + 8));
	}
}

	.text
	.file	"cuda-tsp.hip"
	.section	.text._ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev,"axG",@progbits,_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev,comdat
	.weak	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev # -- Begin function _ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev,@function
_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev:    # @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	(%rdi), %rbx
	movq	8(%rdi), %r15
	cmpq	%r15, %rbx
	je	.LBB0_6
# %bb.1:                                # %.lr.ph.i.i.i.preheader
	movq	%rdi, %r14
.LBB0_2:                                # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB0_4
# %bb.3:                                #   in Loop: Header=BB0_2 Depth=1
	callq	_ZdlPv
.LBB0_4:                                # %_ZSt8_DestroyISt6vectorIiSaIiEEEvPT_.exit.i.i.i
                                        #   in Loop: Header=BB0_2 Depth=1
	addq	$24, %rbx
	cmpq	%r15, %rbx
	jne	.LBB0_2
# %bb.5:                                # %_ZSt8_DestroyIPSt6vectorIiSaIiEES2_EvT_S4_RSaIT0_E.exitthread-pre-split
	movq	(%r14), %rbx
.LBB0_6:                                # %_ZSt8_DestroyIPSt6vectorIiSaIiEES2_EvT_S4_RSaIT0_E.exit
	testq	%rbx, %rbx
	je	.LBB0_7
# %bb.8:
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZdlPv                          # TAILCALL
.LBB0_7:                                # %_ZNSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EED2Ev.exit
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end0:
	.size	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev, .Lfunc_end0-_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEED2Ev,"axG",@progbits,_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEED2Ev,comdat
	.weak	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEED2Ev # -- Begin function _ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEED2Ev
	.p2align	1, 0x90
	.type	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEED2Ev,@function
_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEED2Ev: # @_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEED2Ev
	.cfi_startproc
# %bb.0:
	jmp	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EED2Ev # TAILCALL
.Lfunc_end1:
	.size	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEED2Ev, .Lfunc_end1-_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEED2Ev
	.cfi_endproc
                                        # -- End function
	.text
	.globl	_Z31__device_stub__computeDistancesiiPfS_ # -- Begin function _Z31__device_stub__computeDistancesiiPfS_
	.type	_Z31__device_stub__computeDistancesiiPfS_,@function
_Z31__device_stub__computeDistancesiiPfS_: # @_Z31__device_stub__computeDistancesiiPfS_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	12(%rsp), %rax
	movl	%edi, (%rax)
	leaq	8(%rsp), %rdi
	movl	%esi, (%rdi)
	leaq	40(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	32(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z16computeDistancesiiPfS_, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end2:
	.size	_Z31__device_stub__computeDistancesiiPfS_, .Lfunc_end2-_Z31__device_stub__computeDistancesiiPfS_
	.cfi_endproc
                                        # -- End function
	.globl	_Z31__device_stub__findPermutationsPciyy # -- Begin function _Z31__device_stub__findPermutationsPciyy
	.type	_Z31__device_stub__findPermutationsPciyy,@function
_Z31__device_stub__findPermutationsPciyy: # @_Z31__device_stub__findPermutationsPciyy
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	4(%rsp), %rdi
	movl	%esi, (%rdi)
	leaq	32(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	24(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	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	$_Z16findPermutationsPciyy, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end3:
	.size	_Z31__device_stub__findPermutationsPciyy, .Lfunc_end3-_Z31__device_stub__findPermutationsPciyy
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0                          # -- Begin function _Z12computeCostsPv
.LCPI4_0:
	.quad	0x41dfffffffc00000              # double 2147483647
	.section	.rodata.cst16,"aM",@progbits,16
	.p2align	4, 0x0
.LCPI4_1:
	.zero	16
	.text
	.globl	_Z12computeCostsPv
	.type	_Z12computeCostsPv,@function
_Z12computeCostsPv:                     # @_Z12computeCostsPv
.Lfunc_begin0:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception0
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$312, %rsp                      # imm = 0x138
	.cfi_def_cfa_offset 368
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movslq	(%rdi), %r8
	movl	8(%rdi), %ecx
	movl	NUM_THREADS(%rip), %esi
	leal	(%rcx,%rsi), %eax
	decl	%eax
	cltd
	idivl	%esi
	cltq
	imulq	%rax, %r8
	addl	%r8d, %eax
	cmpl	%ecx, %eax
	cmovgel	%ecx, %eax
	movq	$0, 8(%rsp)
	movq	%rax, 200(%rsp)                 # 8-byte Spill
	cmpl	%eax, %r8d
	jge	.LBB4_53
# %bb.1:                                # %.lr.ph142
	leaq	96(%rsp), %rbp
	leaq	64(%rsp), %r15
	leaq	8(%rsp), %rbx
.LBB4_2:                                # =>This Loop Header: Depth=1
                                        #     Child Loop BB4_3 Depth 2
                                        #       Child Loop BB4_7 Depth 3
                                        #         Child Loop BB4_11 Depth 4
                                        #       Child Loop BB4_27 Depth 3
	movq	%r8, 208(%rsp)                  # 8-byte Spill
	leaq	(%r8,%r8,2), %rsi
	shlq	$3, %rsi
	addq	subsets(%rip), %rsi
	leaq	176(%rsp), %rdi
	callq	_ZNSt6vectorIiSaIiEEC2ERKS1_
	movq	176(%rsp), %r14
	movq	184(%rsp), %rax
	movq	%rax, 216(%rsp)                 # 8-byte Spill
	cmpq	%rax, %r14
	je	.LBB4_50
.LBB4_3:                                # %.lr.ph138
                                        #   Parent Loop BB4_2 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB4_7 Depth 3
                                        #         Child Loop BB4_11 Depth 4
                                        #       Child Loop BB4_27 Depth 3
	movslq	(%r14), %r12
	movl	%r12d, 136(%rsp)
.Ltmp0:
	movl	$1, %edx
	leaq	240(%rsp), %rdi
	leaq	136(%rsp), %rsi
	movq	%rbp, %rcx
	callq	_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_
.Ltmp1:
# %bb.4:                                #   in Loop: Header=BB4_3 Depth=2
	xorpd	%xmm0, %xmm0
	movapd	%xmm0, 64(%rsp)
	movq	$0, 80(%rsp)
	movq	176(%rsp), %rdi
	movq	184(%rsp), %rsi
	movq	240(%rsp), %rdx
	movq	248(%rsp), %rcx
.Ltmp3:
	movq	%r15, %r8
	xorl	%r9d, %r9d
	callq	_ZSt16__set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_ENS0_5__ops15_Iter_less_iterEET1_T_SC_T0_SD_SB_T2_
.Ltmp4:
# %bb.5:                                # %_ZSt14set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_EET1_T_SA_T0_SB_S9_.exit
                                        #   in Loop: Header=BB4_3 Depth=2
	movq	%r14, 224(%rsp)                 # 8-byte Spill
	xorpd	%xmm0, %xmm0
	movapd	%xmm0, 32(%rsp)
	movq	$0, 48(%rsp)
	movq	64(%rsp), %r14
	movq	72(%rsp), %r15
	movsd	.LCPI4_0(%rip), %xmm0           # xmm0 = mem[0],zero
	movsd	%xmm0, 24(%rsp)                 # 8-byte Spill
	cmpq	%r15, %r14
	je	.LBB4_25
# %bb.6:                                # %.lr.ph.preheader
                                        #   in Loop: Header=BB4_3 Depth=2
	movsd	.LCPI4_0(%rip), %xmm0           # xmm0 = mem[0],zero
	movsd	%xmm0, 24(%rsp)                 # 8-byte Spill
.LBB4_7:                                # %.lr.ph
                                        #   Parent Loop BB4_2 Depth=1
                                        #     Parent Loop BB4_3 Depth=2
                                        # =>    This Loop Header: Depth=3
                                        #         Child Loop BB4_11 Depth 4
	movl	(%r14), %r13d
	movl	%r13d, 96(%rsp)
.Ltmp6:
	movl	$1, %edx
	leaq	136(%rsp), %rdi
	movq	%rbp, %rsi
	leaq	7(%rsp), %rcx
	callq	_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_
.Ltmp7:
# %bb.8:                                #   in Loop: Header=BB4_7 Depth=3
	xorpd	%xmm0, %xmm0
	movapd	%xmm0, 96(%rsp)
	movq	$0, 112(%rsp)
	movq	64(%rsp), %rdi
	movq	72(%rsp), %rsi
	movq	136(%rsp), %rdx
	movq	144(%rsp), %rcx
.Ltmp9:
	movq	%rbp, %r8
	xorl	%r9d, %r9d
	callq	_ZSt16__set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_ENS0_5__ops15_Iter_less_iterEET1_T_SC_T0_SD_SB_T2_
.Ltmp10:
# %bb.9:                                # %_ZSt14set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_EET1_T_SA_T0_SB_S9_.exit71
                                        #   in Loop: Header=BB4_7 Depth=3
.Ltmp11:
	leaq	288(%rsp), %rdi
	movq	%rbp, %rsi
	callq	_ZNSt6vectorIiSaIiEEC2ERKS1_
.Ltmp12:
# %bb.10:                               #   in Loop: Header=BB4_7 Depth=3
	movslq	%r13d, %rax
	movq	%rax, 8(%rsp)
	movq	288(%rsp), %rdi
	movq	296(%rsp), %rdx
	movq	%rdi, %rsi
	cmpq	%rdx, %rdi
	je	.LBB4_13
.LBB4_11:                               # %.lr.ph.i
                                        #   Parent Loop BB4_2 Depth=1
                                        #     Parent Loop BB4_3 Depth=2
                                        #       Parent Loop BB4_7 Depth=3
                                        # =>      This Inner Loop Header: Depth=4
	movb	(%rsi), %cl
	addb	$8, %cl
	movl	$1, %r8d
	shll	%cl, %r8d
	movslq	%r8d, %rcx
	orq	%rcx, %rax
	addq	$4, %rsi
	cmpq	%rdx, %rsi
	jne	.LBB4_11
# %bb.12:                               # %._crit_edge.i
                                        #   in Loop: Header=BB4_7 Depth=3
	movq	%rax, 8(%rsp)
.LBB4_13:                               # %_Z6genKeySt6vectorIiSaIiEEiRx.exit
                                        #   in Loop: Header=BB4_7 Depth=3
	testq	%rdi, %rdi
	je	.LBB4_15
# %bb.14:                               #   in Loop: Header=BB4_7 Depth=3
	callq	_ZdlPv
.LBB4_15:                               # %_ZNSt6vectorIiSaIiEED2Ev.exit73
                                        #   in Loop: Header=BB4_7 Depth=3
.Ltmp13:
	movl	$solutionsMap, %edi
	movq	%rbx, %rsi
	callq	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEEixERS4_
.Ltmp14:
# %bb.16:                               #   in Loop: Header=BB4_7 Depth=3
	movq	h_distances(%rip), %rcx
	movl	numCities(%rip), %edx
	imull	%r13d, %edx
	addl	%r12d, %edx
	movslq	%edx, %rdx
	xorps	%xmm1, %xmm1
	cvtss2sd	(%rcx,%rdx,4), %xmm1
	addsd	(%rax), %xmm1
	movsd	24(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	movsd	%xmm1, 232(%rsp)                # 8-byte Spill
	ucomisd	%xmm1, %xmm0
	jbe	.LBB4_20
# %bb.17:                               #   in Loop: Header=BB4_7 Depth=3
.Ltmp15:
	movl	$solutionsMap, %edi
	movq	%rbx, %rsi
	callq	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEEixERS4_
.Ltmp16:
# %bb.18:                               #   in Loop: Header=BB4_7 Depth=3
	addq	$8, %rax
.Ltmp17:
	leaq	32(%rsp), %rdi
	movq	%rax, %rsi
	callq	_ZNSt6vectorIiSaIiEEaSERKS1_
.Ltmp18:
# %bb.19:                               #   in Loop: Header=BB4_7 Depth=3
	movl	%r13d, 20(%rsp)
	movsd	232(%rsp), %xmm0                # 8-byte Reload
                                        # xmm0 = mem[0],zero
	movsd	%xmm0, 24(%rsp)                 # 8-byte Spill
.LBB4_20:                               #   in Loop: Header=BB4_7 Depth=3
	movq	96(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB4_22
# %bb.21:                               #   in Loop: Header=BB4_7 Depth=3
	callq	_ZdlPv
.LBB4_22:                               # %_ZNSt6vectorIiSaIiEED2Ev.exit79
                                        #   in Loop: Header=BB4_7 Depth=3
	movq	136(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB4_24
# %bb.23:                               #   in Loop: Header=BB4_7 Depth=3
	callq	_ZdlPv
.LBB4_24:                               # %_ZNSt6vectorIiSaIiEED2Ev.exit81
                                        #   in Loop: Header=BB4_7 Depth=3
	addq	$4, %r14
	cmpq	%r15, %r14
	jne	.LBB4_7
.LBB4_25:                               # %._crit_edge
                                        #   in Loop: Header=BB4_3 Depth=2
.Ltmp20:
	leaq	264(%rsp), %rdi
	leaq	64(%rsp), %r15
	movq	%r15, %rsi
	callq	_ZNSt6vectorIiSaIiEEC2ERKS1_
.Ltmp21:
# %bb.26:                               #   in Loop: Header=BB4_3 Depth=2
	movq	%r12, 8(%rsp)
	movq	264(%rsp), %rdi
	movq	272(%rsp), %rax
	movq	%rdi, %rdx
	cmpq	%rax, %rdi
	je	.LBB4_29
.LBB4_27:                               # %.lr.ph.i83
                                        #   Parent Loop BB4_2 Depth=1
                                        #     Parent Loop BB4_3 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movb	(%rdx), %cl
	addb	$8, %cl
	movl	$1, %esi
	shll	%cl, %esi
	movslq	%esi, %rcx
	orq	%rcx, %r12
	addq	$4, %rdx
	cmpq	%rax, %rdx
	jne	.LBB4_27
# %bb.28:                               # %._crit_edge.i86
                                        #   in Loop: Header=BB4_3 Depth=2
	movq	%r12, 8(%rsp)
.LBB4_29:                               # %_Z6genKeySt6vectorIiSaIiEEiRx.exit87
                                        #   in Loop: Header=BB4_3 Depth=2
	testq	%rdi, %rdi
	leaq	104(%rsp), %r14
	je	.LBB4_31
# %bb.30:                               #   in Loop: Header=BB4_3 Depth=2
	callq	_ZdlPv
.LBB4_31:                               # %_ZNSt6vectorIiSaIiEED2Ev.exit89
                                        #   in Loop: Header=BB4_3 Depth=2
	xorpd	%xmm0, %xmm0
	movupd	%xmm0, (%r14)
	movq	$0, 16(%r14)
	movsd	24(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	movsd	%xmm0, 96(%rsp)
	movq	40(%rsp), %rsi
	cmpq	48(%rsp), %rsi
	je	.LBB4_33
# %bb.32:                               #   in Loop: Header=BB4_3 Depth=2
	movl	20(%rsp), %eax
	movl	%eax, (%rsi)
	addq	$4, %rsi
	movq	%rsi, 40(%rsp)
	jmp	.LBB4_34
.LBB4_33:                               #   in Loop: Header=BB4_3 Depth=2
.Ltmp23:
	leaq	32(%rsp), %rdi
	leaq	20(%rsp), %rdx
	callq	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
.Ltmp24:
.LBB4_34:                               # %_ZNSt6vectorIiSaIiEE9push_backERKi.exit
                                        #   in Loop: Header=BB4_3 Depth=2
.Ltmp25:
	movq	%r14, %rdi
	leaq	32(%rsp), %rsi
	callq	_ZNSt6vectorIiSaIiEEaSERKS1_
.Ltmp26:
# %bb.35:                               #   in Loop: Header=BB4_3 Depth=2
	movl	$m, %edi
	callq	pthread_mutex_lock
	testl	%eax, %eax
	jne	.LBB4_54
# %bb.36:                               # %_ZNSt5mutex4lockEv.exit
                                        #   in Loop: Header=BB4_3 Depth=2
	movq	8(%rsp), %rax
	movq	%rax, 136(%rsp)
	movsd	96(%rsp), %xmm0                 # xmm0 = mem[0],zero
	movsd	%xmm0, 144(%rsp)
.Ltmp31:
	leaq	152(%rsp), %rdi
	movq	%r14, %rsi
	callq	_ZNSt6vectorIiSaIiEEC2ERKS1_
.Ltmp32:
# %bb.37:                               # %_ZNSt4pairIx8PathCostEC2IRxRS0_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS6_S7_EEEbE4typeELb1EEEOS6_OS7_.exit
                                        #   in Loop: Header=BB4_3 Depth=2
.Ltmp34:
	movl	$solutionsMap, %edi
	leaq	136(%rsp), %rsi
	callq	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEE6insertIS3_IxS0_EEENSt9enable_ifIXsr16is_constructibleIS5_T_EE5valueES3_ISt17_Rb_tree_iteratorIS5_EbEE4typeEOSB_
.Ltmp35:
# %bb.38:                               #   in Loop: Header=BB4_3 Depth=2
	movq	152(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB4_40
# %bb.39:                               #   in Loop: Header=BB4_3 Depth=2
	callq	_ZdlPv
.LBB4_40:                               #   in Loop: Header=BB4_3 Depth=2
	movl	$m, %edi
	callq	pthread_mutex_unlock
	movq	104(%rsp), %rdi
	testq	%rdi, %rdi
	movq	224(%rsp), %r14                 # 8-byte Reload
	je	.LBB4_42
# %bb.41:                               #   in Loop: Header=BB4_3 Depth=2
	callq	_ZdlPv
.LBB4_42:                               # %_ZN8PathCostD2Ev.exit
                                        #   in Loop: Header=BB4_3 Depth=2
	movq	32(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB4_44
# %bb.43:                               #   in Loop: Header=BB4_3 Depth=2
	callq	_ZdlPv
.LBB4_44:                               # %_ZNSt6vectorIiSaIiEED2Ev.exit95
                                        #   in Loop: Header=BB4_3 Depth=2
	movq	64(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB4_46
# %bb.45:                               #   in Loop: Header=BB4_3 Depth=2
	callq	_ZdlPv
.LBB4_46:                               # %_ZNSt6vectorIiSaIiEED2Ev.exit97
                                        #   in Loop: Header=BB4_3 Depth=2
	movq	240(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB4_48
# %bb.47:                               #   in Loop: Header=BB4_3 Depth=2
	callq	_ZdlPv
.LBB4_48:                               # %_ZNSt6vectorIiSaIiEED2Ev.exit99
                                        #   in Loop: Header=BB4_3 Depth=2
	addq	$4, %r14
	cmpq	216(%rsp), %r14                 # 8-byte Folded Reload
	jne	.LBB4_3
# %bb.49:                               # %._crit_edge139.loopexit
                                        #   in Loop: Header=BB4_2 Depth=1
	movq	176(%rsp), %r14
.LBB4_50:                               # %._crit_edge139
                                        #   in Loop: Header=BB4_2 Depth=1
	testq	%r14, %r14
	je	.LBB4_52
# %bb.51:                               #   in Loop: Header=BB4_2 Depth=1
	movq	%r14, %rdi
	callq	_ZdlPv
.LBB4_52:                               # %_ZNSt6vectorIiSaIiEED2Ev.exit
                                        #   in Loop: Header=BB4_2 Depth=1
	movq	208(%rsp), %r8                  # 8-byte Reload
	incq	%r8
	cmpl	%r8d, 200(%rsp)                 # 4-byte Folded Reload
	jne	.LBB4_2
.LBB4_53:                               # %._crit_edge143
	xorl	%eax, %eax
	addq	$312, %rsp                      # imm = 0x138
	.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
.LBB4_54:
	.cfi_def_cfa_offset 368
.Ltmp28:
	movl	%eax, %edi
	callq	_ZSt20__throw_system_errori
.Ltmp29:
# %bb.55:                               # %.noexc92
.LBB4_56:
.Ltmp22:
	jmp	.LBB4_67
.LBB4_57:                               # %.loopexit.split-lp
.Ltmp30:
	jmp	.LBB4_64
.LBB4_58:
.Ltmp33:
	jmp	.LBB4_64
.LBB4_59:
.Ltmp36:
	movq	%rax, %rbx
	movq	152(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB4_65
# %bb.60:
	callq	_ZdlPv
	jmp	.LBB4_65
.LBB4_61:
.Ltmp2:
	movq	%rax, %rbx
	jmp	.LBB4_79
.LBB4_62:
.Ltmp5:
	movq	%rax, %rbx
	jmp	.LBB4_75
.LBB4_63:                               # %.loopexit
.Ltmp27:
.LBB4_64:
	movq	%rax, %rbx
.LBB4_65:
	movq	104(%rsp), %rdi
	jmp	.LBB4_71
.LBB4_66:
.Ltmp8:
.LBB4_67:
	movq	%rax, %rbx
	jmp	.LBB4_73
.LBB4_68:
.Ltmp19:
	movq	%rax, %rbx
	movq	96(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB4_70
# %bb.69:
	callq	_ZdlPv
.LBB4_70:                               # %_ZNSt6vectorIiSaIiEED2Ev.exit75
	movq	136(%rsp), %rdi
.LBB4_71:
	testq	%rdi, %rdi
	je	.LBB4_73
# %bb.72:
	callq	_ZdlPv
.LBB4_73:
	movq	32(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB4_75
# %bb.74:
	callq	_ZdlPv
.LBB4_75:
	movq	64(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB4_77
# %bb.76:
	callq	_ZdlPv
.LBB4_77:                               # %_ZNSt6vectorIiSaIiEED2Ev.exit107
	movq	240(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB4_79
# %bb.78:
	callq	_ZdlPv
.LBB4_79:                               # %_ZNSt6vectorIiSaIiEED2Ev.exit109
	movq	176(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB4_81
# %bb.80:
	callq	_ZdlPv
.LBB4_81:                               # %_ZNSt6vectorIiSaIiEED2Ev.exit111
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end4:
	.size	_Z12computeCostsPv, .Lfunc_end4-_Z12computeCostsPv
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table4:
.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 .Ltmp3-.Lfunc_begin0           # >> Call Site 3 <<
	.uleb128 .Ltmp4-.Ltmp3                  #   Call between .Ltmp3 and .Ltmp4
	.uleb128 .Ltmp5-.Lfunc_begin0           #     jumps to .Ltmp5
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp6-.Lfunc_begin0           # >> Call Site 4 <<
	.uleb128 .Ltmp7-.Ltmp6                  #   Call between .Ltmp6 and .Ltmp7
	.uleb128 .Ltmp8-.Lfunc_begin0           #     jumps to .Ltmp8
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp9-.Lfunc_begin0           # >> Call Site 5 <<
	.uleb128 .Ltmp18-.Ltmp9                 #   Call between .Ltmp9 and .Ltmp18
	.uleb128 .Ltmp19-.Lfunc_begin0          #     jumps to .Ltmp19
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp20-.Lfunc_begin0          # >> Call Site 6 <<
	.uleb128 .Ltmp21-.Ltmp20                #   Call between .Ltmp20 and .Ltmp21
	.uleb128 .Ltmp22-.Lfunc_begin0          #     jumps to .Ltmp22
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp23-.Lfunc_begin0          # >> Call Site 7 <<
	.uleb128 .Ltmp26-.Ltmp23                #   Call between .Ltmp23 and .Ltmp26
	.uleb128 .Ltmp27-.Lfunc_begin0          #     jumps to .Ltmp27
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp31-.Lfunc_begin0          # >> Call Site 8 <<
	.uleb128 .Ltmp32-.Ltmp31                #   Call between .Ltmp31 and .Ltmp32
	.uleb128 .Ltmp33-.Lfunc_begin0          #     jumps to .Ltmp33
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp34-.Lfunc_begin0          # >> Call Site 9 <<
	.uleb128 .Ltmp35-.Ltmp34                #   Call between .Ltmp34 and .Ltmp35
	.uleb128 .Ltmp36-.Lfunc_begin0          #     jumps to .Ltmp36
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp28-.Lfunc_begin0          # >> Call Site 10 <<
	.uleb128 .Ltmp29-.Ltmp28                #   Call between .Ltmp28 and .Ltmp29
	.uleb128 .Ltmp30-.Lfunc_begin0          #     jumps to .Ltmp30
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp29-.Lfunc_begin0          # >> Call Site 11 <<
	.uleb128 .Lfunc_end4-.Ltmp29            #   Call between .Ltmp29 and .Lfunc_end4
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorIiSaIiEEC2ERKS1_,"axG",@progbits,_ZNSt6vectorIiSaIiEEC2ERKS1_,comdat
	.weak	_ZNSt6vectorIiSaIiEEC2ERKS1_    # -- Begin function _ZNSt6vectorIiSaIiEEC2ERKS1_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIiSaIiEEC2ERKS1_,@function
_ZNSt6vectorIiSaIiEEC2ERKS1_:           # @_ZNSt6vectorIiSaIiEEC2ERKS1_
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rsi), %rax
	movq	(%rsi), %rcx
	movq	%rax, %r12
	subq	%rcx, %r12
	sarq	$2, %r12
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	cmpq	%rcx, %rax
	je	.LBB5_1
# %bb.2:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIiE8allocateEmPKv
	movq	%rax, %r15
	jmp	.LBB5_3
.LBB5_1:
	xorl	%r15d, %r15d
.LBB5_3:
	movq	%r15, (%rbx)
	movq	%r15, 8(%rbx)
	leaq	(%r15,%r12,4), %rax
	movq	%rax, 16(%rbx)
	movq	(%r14), %rsi
	movq	8(%r14), %r14
	subq	%rsi, %r14
	cmpq	$5, %r14
	jl	.LBB5_5
# %bb.4:
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	memmove@PLT
.LBB5_7:
	addq	%r14, %r15
	movq	%r15, 8(%rbx)
	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
.LBB5_5:
	.cfi_def_cfa_offset 48
	cmpq	$4, %r14
	jne	.LBB5_7
# %bb.6:
	movl	(%rsi), %eax
	movl	%eax, (%r15)
	jmp	.LBB5_7
.Lfunc_end5:
	.size	_ZNSt6vectorIiSaIiEEC2ERKS1_, .Lfunc_end5-_ZNSt6vectorIiSaIiEEC2ERKS1_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_,"axG",@progbits,_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_,comdat
	.weak	_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_ # -- Begin function _ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_,@function
_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_: # @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_
.Lfunc_begin1:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception1
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	leaq	(%rsi,%rdx,4), %rdx
.Ltmp37:
	callq	_ZNSt6vectorIiSaIiEE19_M_range_initializeIPKiEEvT_S5_St20forward_iterator_tag
.Ltmp38:
# %bb.1:
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.LBB6_2:
	.cfi_def_cfa_offset 32
.Ltmp39:
	movq	%rax, %r14
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB6_4
# %bb.3:
	callq	_ZdlPv
.LBB6_4:                                # %_ZNSt12_Vector_baseIiSaIiEED2Ev.exit
	movq	%r14, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end6:
	.size	_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_, .Lfunc_end6-_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_,"aG",@progbits,_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_,comdat
	.p2align	2, 0x0
GCC_except_table6:
.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 .Ltmp37-.Lfunc_begin1          # >> Call Site 1 <<
	.uleb128 .Ltmp38-.Ltmp37                #   Call between .Ltmp37 and .Ltmp38
	.uleb128 .Ltmp39-.Lfunc_begin1          #     jumps to .Ltmp39
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp38-.Lfunc_begin1          # >> Call Site 2 <<
	.uleb128 .Lfunc_end6-.Ltmp38            #   Call between .Ltmp38 and .Lfunc_end6
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end1:
	.p2align	2, 0x0
                                        # -- End function
	.text
	.globl	_Z6genKeySt6vectorIiSaIiEEiRx   # -- Begin function _Z6genKeySt6vectorIiSaIiEEiRx
	.type	_Z6genKeySt6vectorIiSaIiEEiRx,@function
_Z6genKeySt6vectorIiSaIiEEiRx:          # @_Z6genKeySt6vectorIiSaIiEEiRx
	.cfi_startproc
# %bb.0:
	movslq	%esi, %rax
	movq	%rax, (%rdx)
	movq	(%rdi), %rsi
	movq	8(%rdi), %rdi
	cmpq	%rdi, %rsi
	je	.LBB7_3
.LBB7_1:                                # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movb	(%rsi), %cl
	addb	$8, %cl
	movl	$1, %r8d
	shll	%cl, %r8d
	movslq	%r8d, %rcx
	orq	%rcx, %rax
	addq	$4, %rsi
	cmpq	%rdi, %rsi
	jne	.LBB7_1
# %bb.2:                                # %._crit_edge
	movq	%rax, (%rdx)
.LBB7_3:
	retq
.Lfunc_end7:
	.size	_Z6genKeySt6vectorIiSaIiEEiRx, .Lfunc_end7-_Z6genKeySt6vectorIiSaIiEEiRx
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEEixERS4_,"axG",@progbits,_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEEixERS4_,comdat
	.weak	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEEixERS4_ # -- Begin function _ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEEixERS4_
	.p2align	1, 0x90
	.type	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEEixERS4_,@function
_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEEixERS4_: # @_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEEixERS4_
	.cfi_startproc
# %bb.0:
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movq	%rsi, %rdx
	movq	16(%rdi), %r8
	leaq	8(%rdi), %rsi
	testq	%r8, %r8
	je	.LBB8_5
# %bb.1:                                # %.lr.ph.i.i.i
	movq	(%rdx), %rcx
	movq	%rsi, %rax
.LBB8_2:                                # =>This Inner Loop Header: Depth=1
	xorl	%r9d, %r9d
	cmpq	%rcx, 32(%r8)
	setl	%r9b
	cmovgeq	%r8, %rax
	movq	16(%r8,%r9,8), %r8
	testq	%r8, %r8
	jne	.LBB8_2
# %bb.3:                                # %_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEE11lower_boundERS4_.exit
	cmpq	%rsi, %rax
	je	.LBB8_5
# %bb.4:
	movq	%rax, %rsi
	cmpq	32(%rax), %rcx
	jge	.LBB8_6
.LBB8_5:                                # %.critedge
	leaq	16(%rsp), %rcx
	movq	%rdx, (%rcx)
	leaq	15(%rsp), %r8
	movl	$_ZSt19piecewise_construct, %edx
	callq	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESE_IJEEEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_
.LBB8_6:
	addq	$40, %rax
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end8:
	.size	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEEixERS4_, .Lfunc_end8-_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEEixERS4_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIiSaIiEEaSERKS1_,"axG",@progbits,_ZNSt6vectorIiSaIiEEaSERKS1_,comdat
	.weak	_ZNSt6vectorIiSaIiEEaSERKS1_    # -- Begin function _ZNSt6vectorIiSaIiEEaSERKS1_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIiSaIiEEaSERKS1_,@function
_ZNSt6vectorIiSaIiEEaSERKS1_:           # @_ZNSt6vectorIiSaIiEEaSERKS1_
	.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	%rdi, %rbx
	cmpq	%rdi, %rsi
	je	.LBB9_23
# %bb.1:
	movq	%rsi, %r12
	movq	(%rsi), %r15
	movq	8(%rsi), %r14
	subq	%r15, %r14
	movq	(%rbx), %rax
	movq	16(%rbx), %rcx
	subq	%rax, %rcx
	cmpq	%rcx, %r14
	jbe	.LBB9_9
# %bb.2:                                # %_ZNSt12_Vector_baseIiSaIiEE11_M_allocateEm.exit.i
	movq	%r14, %rsi
	sarq	$2, %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIiE8allocateEmPKv
	movq	%rax, %r12
	cmpq	$5, %r14
	jl	.LBB9_4
# %bb.3:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	memmove@PLT
.LBB9_6:                                # %_ZNSt6vectorIiSaIiEE20_M_allocate_and_copyIN9__gnu_cxx17__normal_iteratorIPKiS1_EEEEPimT_S9_.exit
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB9_8
# %bb.7:
	callq	_ZdlPv
.LBB9_8:                                # %_ZNSt12_Vector_baseIiSaIiEE13_M_deallocateEPim.exit
	movq	%r12, (%rbx)
	addq	%r14, %r12
	movq	%r12, 16(%rbx)
	jmp	.LBB9_22
.LBB9_9:
	movq	8(%rbx), %rdi
	movq	%rdi, %rdx
	subq	%rax, %rdx
	cmpq	%r14, %rdx
	jae	.LBB9_10
# %bb.14:
	cmpq	$5, %rdx
	jl	.LBB9_16
# %bb.15:
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	memmove@PLT
	movq	8(%rbx), %rdi
.LBB9_18:                               # %_ZSt4copyIPiS0_ET0_T_S2_S1_.exit
	movq	%rdi, %rsi
	subq	(%rbx), %rsi
	addq	(%r12), %rsi
	movq	8(%r12), %rdx
	subq	%rsi, %rdx
	cmpq	$5, %rdx
	jge	.LBB9_19
# %bb.20:
	cmpq	$4, %rdx
	jne	.LBB9_22
# %bb.21:
	movl	(%rsi), %eax
	movl	%eax, (%rdi)
	jmp	.LBB9_22
.LBB9_10:
	cmpq	$5, %r14
	jl	.LBB9_12
# %bb.11:
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
.LBB9_19:
	callq	memmove@PLT
.LBB9_22:                               # %_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEENS1_IPiS6_EEET0_T_SB_SA_.exit
	addq	(%rbx), %r14
	movq	%r14, 8(%rbx)
.LBB9_23:
	movq	%rbx, %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
.LBB9_4:
	.cfi_def_cfa_offset 48
	cmpq	$4, %r14
	jne	.LBB9_6
# %bb.5:
	movl	(%r15), %eax
	movl	%eax, (%r12)
	jmp	.LBB9_6
.LBB9_16:
	cmpq	$4, %rdx
	jne	.LBB9_18
# %bb.17:
	movl	(%r15), %ecx
	movl	%ecx, (%rax)
	jmp	.LBB9_18
.LBB9_12:
	cmpq	$4, %r14
	jne	.LBB9_22
# %bb.13:
	movl	(%r15), %ecx
	movl	%ecx, (%rax)
	jmp	.LBB9_22
.Lfunc_end9:
	.size	_ZNSt6vectorIiSaIiEEaSERKS1_, .Lfunc_end9-_ZNSt6vectorIiSaIiEEaSERKS1_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEE6insertIS3_IxS0_EEENSt9enable_ifIXsr16is_constructibleIS5_T_EE5valueES3_ISt17_Rb_tree_iteratorIS5_EbEE4typeEOSB_,"axG",@progbits,_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEE6insertIS3_IxS0_EEENSt9enable_ifIXsr16is_constructibleIS5_T_EE5valueES3_ISt17_Rb_tree_iteratorIS5_EbEE4typeEOSB_,comdat
	.weak	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEE6insertIS3_IxS0_EEENSt9enable_ifIXsr16is_constructibleIS5_T_EE5valueES3_ISt17_Rb_tree_iteratorIS5_EbEE4typeEOSB_ # -- Begin function _ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEE6insertIS3_IxS0_EEENSt9enable_ifIXsr16is_constructibleIS5_T_EE5valueES3_ISt17_Rb_tree_iteratorIS5_EbEE4typeEOSB_
	.p2align	1, 0x90
	.type	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEE6insertIS3_IxS0_EEENSt9enable_ifIXsr16is_constructibleIS5_T_EE5valueES3_ISt17_Rb_tree_iteratorIS5_EbEE4typeEOSB_,@function
_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEE6insertIS3_IxS0_EEENSt9enable_ifIXsr16is_constructibleIS5_T_EE5valueES3_ISt17_Rb_tree_iteratorIS5_EbEE4typeEOSB_: # @_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEE6insertIS3_IxS0_EEENSt9enable_ifIXsr16is_constructibleIS5_T_EE5valueES3_ISt17_Rb_tree_iteratorIS5_EbEE4typeEOSB_
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rdx
	movq	16(%rdi), %r8
	leaq	8(%rdi), %rsi
	testq	%r8, %r8
	je	.LBB10_6
# %bb.1:                                # %.lr.ph.i.i.i
	movq	(%rdx), %rcx
	movq	%rsi, %rax
.LBB10_2:                               # =>This Inner Loop Header: Depth=1
	xorl	%r9d, %r9d
	cmpq	%rcx, 32(%r8)
	setl	%r9b
	cmovgeq	%r8, %rax
	movq	16(%r8,%r9,8), %r8
	testq	%r8, %r8
	jne	.LBB10_2
# %bb.3:                                # %_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEE11lower_boundERS4_.exit
	cmpq	%rsi, %rax
	je	.LBB10_6
# %bb.4:
	cmpq	32(%rax), %rcx
	jge	.LBB10_8
# %bb.5:
	movq	%rax, %rsi
.LBB10_6:                               # %.critedge
	callq	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE22_M_emplace_hint_uniqueIJS0_IxS2_EEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_
	movb	$1, %dl
.LBB10_7:
                                        # kill: def $dl killed $dl killed $edx
	popq	%rcx
	.cfi_def_cfa_offset 8
	retq
.LBB10_8:
	.cfi_def_cfa_offset 16
	xorl	%edx, %edx
	jmp	.LBB10_7
.Lfunc_end10:
	.size	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEE6insertIS3_IxS0_EEENSt9enable_ifIXsr16is_constructibleIS5_T_EE5valueES3_ISt17_Rb_tree_iteratorIS5_EbEE4typeEOSB_, .Lfunc_end10-_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEE6insertIS3_IxS0_EEENSt9enable_ifIXsr16is_constructibleIS5_T_EE5valueES3_ISt17_Rb_tree_iteratorIS5_EbEE4typeEOSB_
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0                          # -- Begin function _Z3tspSt6vectorI4CitySaIS0_EEiPfS3_
.LCPI11_0:
	.quad	0x3ff0000000000000              # double 1
.LCPI11_1:
	.quad	0x43e0000000000000              # double 9.2233720368547758E+18
.LCPI11_2:
	.quad	0xbff0000000000000              # double -1
.LCPI11_3:
	.quad	0x41dfffffffc00000              # double 2147483647
	.section	.rodata.cst16,"aM",@progbits,16
	.p2align	4, 0x0
.LCPI11_4:
	.zero	16
	.text
	.globl	_Z3tspSt6vectorI4CitySaIS0_EEiPfS3_
	.type	_Z3tspSt6vectorI4CitySaIS0_EEiPfS3_,@function
_Z3tspSt6vectorI4CitySaIS0_EEiPfS3_:    # @_Z3tspSt6vectorI4CitySaIS0_EEiPfS3_
.Lfunc_begin2:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception2
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$344, %rsp                      # imm = 0x158
	.cfi_def_cfa_offset 400
	.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	%rcx, 160(%rsp)                 # 8-byte Spill
	movl	%edx, %ebp
	movq	%rsi, %r12
	movq	%rdi, %r15
	leaq	256(%rsp), %rdi
	callq	hipEventCreate
	leaq	176(%rsp), %rdi
	callq	hipEventCreate
	movl	$0, 92(%rsp)
	movslq	NUM_THREADS(%rip), %rbx
	leaq	(,%rbx,8), %rdi
	callq	malloc
	movq	%rax, 152(%rsp)                 # 8-byte Spill
	leaq	(,%rbx,4), %rdi
	callq	malloc
	testq	%rbx, %rbx
	jle	.LBB11_3
# %bb.1:                                # %.lr.ph.preheader
	movl	%ebx, %edx
	xorl	%ecx, %ecx
.LBB11_2:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movl	%ecx, (%rax,%rcx,4)
	incq	%rcx
	cmpq	%rcx, %rdx
	jne	.LBB11_2
.LBB11_3:                               # %._crit_edge
	movq	%rax, 248(%rsp)                 # 8-byte Spill
	xorps	%xmm0, %xmm0
	movaps	%xmm0, 112(%rsp)
	movq	$0, 128(%rsp)
	movl	$1, 16(%rsp)
	cmpl	$2, %ebp
	jl	.LBB11_9
# %bb.4:                                # %.lr.ph282
	movl	$1, %eax
	leaq	112(%rsp), %rbx
	leaq	16(%rsp), %r14
.LBB11_5:                               # =>This Inner Loop Header: Depth=1
	movq	120(%rsp), %rsi
	cmpq	128(%rsp), %rsi
	je	.LBB11_7
# %bb.6:                                #   in Loop: Header=BB11_5 Depth=1
	movl	%eax, (%rsi)
	addq	$4, %rsi
	movq	%rsi, 120(%rsp)
	jmp	.LBB11_8
.LBB11_7:                               #   in Loop: Header=BB11_5 Depth=1
.Ltmp40:
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
.Ltmp41:
.LBB11_8:                               # %_ZNSt6vectorIiSaIiEE9push_backERKi.exit
                                        #   in Loop: Header=BB11_5 Depth=1
	movl	16(%rsp), %eax
	incl	%eax
	movl	%eax, 16(%rsp)
	cmpl	%ebp, %eax
	jl	.LBB11_5
.LBB11_9:                               # %._crit_edge283
	movq	$0, 64(%rsp)
	testb	$1, %bpl
	movq	%r15, 144(%rsp)                 # 8-byte Spill
	movq	%r12, 136(%rsp)                 # 8-byte Spill
	movl	%ebp, %eax
	je	.LBB11_11
# %bb.10:
	shrl	$31, %eax
	addl	%ebp, %eax
.LBB11_11:
	sarl	%eax
	movl	%eax, 88(%rsp)                  # 4-byte Spill
	cmpl	$2, %ebp
	movl	%ebp, 12(%rsp)                  # 4-byte Spill
	jl	.LBB11_36
# %bb.12:                               # %.preheader246.lr.ph
	leaq	200(%rsp), %r13
	movl	%ebp, %r12d
	movl	$1, %eax
	leaq	224(%rsp), %r15
	leaq	272(%rsp), %rbx
	movq	%r12, 72(%rsp)                  # 8-byte Spill
.LBB11_13:                              # %.lr.ph285
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB11_14 Depth 2
                                        #       Child Loop BB11_18 Depth 3
	movq	%rax, %rcx
	movq	%rax, (%rsp)                    # 8-byte Spill
                                        # kill: def $eax killed $eax killed $rax def $rax
	imull	%ebp, %eax
	movq	160(%rsp), %rcx                 # 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	movq	%rax, 96(%rsp)                  # 8-byte Spill
	movl	$1, %r14d
.LBB11_14:                              #   Parent Loop BB11_13 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB11_18 Depth 3
	cmpq	%r14, (%rsp)                    # 8-byte Folded Reload
	je	.LBB11_34
# %bb.15:                               #   in Loop: Header=BB11_14 Depth=2
	movq	(%rsp), %rax                    # 8-byte Reload
	movl	%eax, 16(%rsp)
.Ltmp43:
	movl	$1, %edx
	movq	%r15, %rbp
	movq	%r15, %rdi
	leaq	16(%rsp), %rsi
	leaq	192(%rsp), %rcx
	callq	_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_
.Ltmp44:
# %bb.16:                               #   in Loop: Header=BB11_14 Depth=2
.Ltmp46:
	leaq	320(%rsp), %rdi
	movq	%rbp, %r15
	movq	%rbp, %rsi
	callq	_ZNSt6vectorIiSaIiEEC2ERKS1_
.Ltmp47:
# %bb.17:                               #   in Loop: Header=BB11_14 Depth=2
	movq	%r14, 64(%rsp)
	movq	320(%rsp), %rdi
	movq	328(%rsp), %rax
	movq	%rdi, %rsi
	movq	%r14, %rdx
	cmpq	%rax, %rdi
	je	.LBB11_20
.LBB11_18:                              # %.lr.ph.i
                                        #   Parent Loop BB11_13 Depth=1
                                        #     Parent Loop BB11_14 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movb	(%rsi), %cl
	addb	$8, %cl
	movl	$1, %r8d
	shll	%cl, %r8d
	movslq	%r8d, %rcx
	orq	%rcx, %rdx
	addq	$4, %rsi
	cmpq	%rax, %rsi
	jne	.LBB11_18
# %bb.19:                               # %._crit_edge.i
                                        #   in Loop: Header=BB11_14 Depth=2
	movq	%rdx, 64(%rsp)
.LBB11_20:                              # %_Z6genKeySt6vectorIiSaIiEEiRx.exit
                                        #   in Loop: Header=BB11_14 Depth=2
	testq	%rdi, %rdi
	je	.LBB11_22
# %bb.21:                               #   in Loop: Header=BB11_14 Depth=2
	callq	_ZdlPv
.LBB11_22:                              # %_ZNSt6vectorIiSaIiEED2Ev.exit
                                        #   in Loop: Header=BB11_14 Depth=2
	xorps	%xmm0, %xmm0
	movq	%r13, %r12
	movups	%xmm0, (%r13)
	movq	$0, 16(%r13)
	movl	$0, 16(%rsp)
	movq	(%rsp), %rax                    # 8-byte Reload
	movl	%eax, 20(%rsp)
.Ltmp49:
	movl	$2, %edx
	movq	%rbx, %rbp
	movq	%rbx, %rdi
	leaq	16(%rsp), %rsi
	leaq	168(%rsp), %rcx
	callq	_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_
.Ltmp50:
# %bb.23:                               #   in Loop: Header=BB11_14 Depth=2
.Ltmp52:
	movq	%r12, %rdi
	movq	%rbp, %rsi
	callq	_ZNSt6vectorIiSaIiEEaSERKS1_
.Ltmp53:
# %bb.24:                               #   in Loop: Header=BB11_14 Depth=2
	movq	96(%rsp), %rax                  # 8-byte Reload
	movss	(%rax,%r14,4), %xmm0            # xmm0 = mem[0],zero,zero,zero
	movq	160(%rsp), %rax                 # 8-byte Reload
	movq	(%rsp), %rcx                    # 8-byte Reload
	addss	(%rax,%rcx,4), %xmm0
	cvtss2sd	%xmm0, %xmm0
	movsd	%xmm0, 192(%rsp)
	movq	64(%rsp), %rax
	movq	%rax, 16(%rsp)
	movsd	%xmm0, 24(%rsp)
.Ltmp55:
	leaq	32(%rsp), %rdi
	movq	%r12, %rsi
	callq	_ZNSt6vectorIiSaIiEEC2ERKS1_
.Ltmp56:
# %bb.25:                               # %_ZNSt4pairIx8PathCostEC2IRxRS0_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS6_S7_EEEbE4typeELb1EEEOS6_OS7_.exit
                                        #   in Loop: Header=BB11_14 Depth=2
.Ltmp58:
	movl	$solutionsMap, %edi
	leaq	16(%rsp), %rsi
	callq	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEE6insertIS3_IxS0_EEENSt9enable_ifIXsr16is_constructibleIS5_T_EE5valueES3_ISt17_Rb_tree_iteratorIS5_EbEE4typeEOSB_
.Ltmp59:
# %bb.26:                               #   in Loop: Header=BB11_14 Depth=2
	movq	32(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB11_28
# %bb.27:                               #   in Loop: Header=BB11_14 Depth=2
	callq	_ZdlPv
.LBB11_28:                              # %_ZNSt4pairIx8PathCostED2Ev.exit
                                        #   in Loop: Header=BB11_14 Depth=2
	movq	272(%rsp), %rdi
	testq	%rdi, %rdi
	movq	72(%rsp), %r12                  # 8-byte Reload
	je	.LBB11_30
# %bb.29:                               #   in Loop: Header=BB11_14 Depth=2
	callq	_ZdlPv
.LBB11_30:                              # %_ZNSt6vectorIiSaIiEED2Ev.exit164
                                        #   in Loop: Header=BB11_14 Depth=2
	movq	200(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB11_32
# %bb.31:                               #   in Loop: Header=BB11_14 Depth=2
	callq	_ZdlPv
.LBB11_32:                              # %_ZN8PathCostD2Ev.exit
                                        #   in Loop: Header=BB11_14 Depth=2
	movq	224(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB11_34
# %bb.33:                               #   in Loop: Header=BB11_14 Depth=2
	callq	_ZdlPv
.LBB11_34:                              #   in Loop: Header=BB11_14 Depth=2
	incq	%r14
	cmpq	%r12, %r14
	jne	.LBB11_14
# %bb.35:                               # %._crit_edge286
                                        #   in Loop: Header=BB11_13 Depth=1
	movq	(%rsp), %rax                    # 8-byte Reload
	incq	%rax
	cmpq	%r12, %rax
	movl	12(%rsp), %ebp                  # 4-byte Reload
	jne	.LBB11_13
.LBB11_36:                              # %._crit_edge288
	movsd	.LCPI11_0(%rip), %xmm0          # xmm0 = mem[0],zero
	movl	%ebp, %edi
	callq	ldexp@PLT
	cvtsi2sdl	88(%rsp), %xmm1         # 4-byte Folded Reload
	movsd	%xmm1, 96(%rsp)                 # 8-byte Spill
	mulsd	%xmm1, %xmm0
	cvttsd2si	%xmm0, %rax
	movq	%rax, %rcx
	sarq	$63, %rcx
	subsd	.LCPI11_1(%rip), %xmm0
	cvttsd2si	%xmm0, %rdi
	andq	%rcx, %rdi
	orq	%rax, %rdi
	callq	malloc
	movq	%rax, (%rsp)                    # 8-byte Spill
	movsd	.LCPI11_0(%rip), %xmm0          # xmm0 = mem[0],zero
	movl	%ebp, %edi
	callq	ldexp@PLT
	mulsd	96(%rsp), %xmm0                 # 8-byte Folded Reload
	cvttsd2si	%xmm0, %rax
	movq	%rax, %rcx
	sarq	$63, %rcx
	subsd	.LCPI11_1(%rip), %xmm0
	cvttsd2si	%xmm0, %rsi
	andq	%rcx, %rsi
	orq	%rax, %rsi
.Ltmp61:
	leaq	168(%rsp), %rdi
	callq	hipMalloc
.Ltmp62:
# %bb.37:                               # %_ZL9hipMallocIcE10hipError_tPPT_m.exit
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	.LBB11_127
# %bb.38:                               # %_Z9gpuAssert10hipError_tPKcib.exit
	movsd	.LCPI11_0(%rip), %xmm0          # xmm0 = mem[0],zero
	movl	%ebp, %edi
	callq	ldexp@PLT
	movapd	%xmm0, 96(%rsp)                 # 16-byte Spill
.Ltmp66:
	leaq	264(%rsp), %rdi
	movl	$curPosition, %esi
	callq	hipGetSymbolAddress
.Ltmp67:
# %bb.39:                               # %_Z19hipGetSymbolAddressIyE10hipError_tPPvRKT_.exit
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	.LBB11_129
# %bb.40:                               # %_Z9gpuAssert10hipError_tPKcib.exit180.preheader
	cmpl	$3, %ebp
	jl	.LBB11_76
# %bb.41:                               # %.lr.ph301
	movapd	96(%rsp), %xmm0                 # 16-byte Reload
	cvttsd2si	%xmm0, %rax
	movq	%rax, %rcx
	sarq	$63, %rcx
	subsd	.LCPI11_1(%rip), %xmm0
	cvttsd2si	%xmm0, %rdx
	andq	%rcx, %rdx
	orq	%rax, %rdx
	addq	$1023, %rdx                     # imm = 0x3FF
	shrq	$10, %rdx
	movl	%edx, %eax
	btsq	$32, %rax
	movq	%rax, 96(%rsp)                  # 8-byte Spill
	movl	%ebp, %eax
	movq	%rax, 72(%rsp)                  # 8-byte Spill
	movl	$2, %ebx
	leaq	16(%rsp), %r14
.LBB11_42:                              # =>This Loop Header: Depth=1
                                        #     Child Loop BB11_57 Depth 2
                                        #       Child Loop BB11_58 Depth 3
                                        #     Child Loop BB11_69 Depth 2
                                        #     Child Loop BB11_73 Depth 2
	movq	256(%rsp), %rdi
.Ltmp71:
	xorl	%esi, %esi
	callq	hipEventRecord
.Ltmp72:
# %bb.43:                               #   in Loop: Header=BB11_42 Depth=1
	movq	264(%rsp), %rdi
.Ltmp73:
	movl	$8, %edx
	xorl	%esi, %esi
	callq	hipMemset
.Ltmp74:
# %bb.44:                               #   in Loop: Header=BB11_42 Depth=1
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	.LBB11_124
# %bb.45:                               # %_Z9gpuAssert10hipError_tPKcib.exit183
                                        #   in Loop: Header=BB11_42 Depth=1
.Ltmp77:
	movq	96(%rsp), %rdi                  # 8-byte Reload
	movl	$1, %esi
	movabsq	$4294968320, %rdx               # imm = 0x100000400
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp78:
# %bb.46:                               #   in Loop: Header=BB11_42 Depth=1
	testl	%eax, %eax
	jne	.LBB11_48
# %bb.47:                               #   in Loop: Header=BB11_42 Depth=1
	movq	168(%rsp), %r15
	movsd	.LCPI11_0(%rip), %xmm0          # xmm0 = mem[0],zero
	movl	%ebx, %edi
	callq	ldexp@PLT
	addsd	.LCPI11_2(%rip), %xmm0
	cvttsd2si	%xmm0, %rax
	movq	%rax, %rcx
	sarq	$63, %rcx
	movsd	.LCPI11_1(%rip), %xmm1          # xmm1 = mem[0],zero
	subsd	%xmm1, %xmm0
	cvttsd2si	%xmm0, %r12
	andq	%rcx, %r12
	orq	%rax, %r12
	movsd	.LCPI11_0(%rip), %xmm0          # xmm0 = mem[0],zero
	movl	%ebp, %edi
	callq	ldexp@PLT
	cvttsd2si	%xmm0, %rax
	movq	%rax, %rdx
	sarq	$63, %rdx
	subsd	.LCPI11_1(%rip), %xmm0
	cvttsd2si	%xmm0, %rcx
	andq	%rdx, %rcx
	orq	%rax, %rcx
.Ltmp79:
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	callq	_Z31__device_stub__findPermutationsPciyy
.Ltmp80:
.LBB11_48:                              #   in Loop: Header=BB11_42 Depth=1
.Ltmp81:
	movl	$curPosition, %esi
	movl	$8, %edx
	leaq	80(%rsp), %rdi
	xorl	%ecx, %ecx
	movl	$2, %r8d
	callq	hipMemcpyFromSymbol
.Ltmp82:
# %bb.49:                               # %_Z19hipMemcpyFromSymbolIyE10hipError_tPvRKT_mm13hipMemcpyKind.exit
                                        #   in Loop: Header=BB11_42 Depth=1
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	.LBB11_122
# %bb.50:                               # %_Z9gpuAssert10hipError_tPKcib.exit187
                                        #   in Loop: Header=BB11_42 Depth=1
	movq	168(%rsp), %rsi
	movq	80(%rsp), %rdx
	imulq	%rbx, %rdx
.Ltmp85:
	movq	(%rsp), %rdi                    # 8-byte Reload
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp86:
# %bb.51:                               #   in Loop: Header=BB11_42 Depth=1
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	.LBB11_120
# %bb.52:                               # %_Z9gpuAssert10hipError_tPKcib.exit190
                                        #   in Loop: Header=BB11_42 Depth=1
	movq	176(%rsp), %rdi
.Ltmp90:
	xorl	%esi, %esi
	callq	hipEventRecord
.Ltmp91:
# %bb.53:                               #   in Loop: Header=BB11_42 Depth=1
	movq	176(%rsp), %rdi
.Ltmp92:
	callq	hipEventSynchronize
.Ltmp93:
# %bb.54:                               #   in Loop: Header=BB11_42 Depth=1
	movq	256(%rsp), %rsi
	movq	176(%rsp), %rdx
.Ltmp94:
	leaq	92(%rsp), %rdi
	callq	hipEventElapsedTime
.Ltmp95:
# %bb.55:                               #   in Loop: Header=BB11_42 Depth=1
	movq	80(%rsp), %rcx
	xorps	%xmm0, %xmm0
	cvtss2sd	92(%rsp), %xmm0
	movl	$.L.str.2, %edi
	movl	%ebp, %esi
	movl	%ebx, %edx
	movb	$1, %al
	callq	printf
	movl	$subsets, %edi
	callq	_ZNSt6vectorIS_IiSaIiEESaIS1_EE5clearEv
	cmpq	$0, 80(%rsp)
	je	.LBB11_66
# %bb.56:                               # %.lr.ph292.preheader
                                        #   in Loop: Header=BB11_42 Depth=1
	movq	(%rsp), %r15                    # 8-byte Reload
	xorl	%r12d, %r12d
.LBB11_57:                              # %.lr.ph292
                                        #   Parent Loop BB11_42 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB11_58 Depth 3
	xorps	%xmm0, %xmm0
	movaps	%xmm0, 16(%rsp)
	movq	$0, 32(%rsp)
	xorl	%r13d, %r13d
.LBB11_58:                              #   Parent Loop BB11_42 Depth=1
                                        #     Parent Loop BB11_57 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movsbl	(%r15,%r13), %eax
	movl	%eax, 192(%rsp)
	movq	24(%rsp), %rsi
	cmpq	32(%rsp), %rsi
	je	.LBB11_60
# %bb.59:                               #   in Loop: Header=BB11_58 Depth=3
	movl	%eax, (%rsi)
	addq	$4, %rsi
	movq	%rsi, 24(%rsp)
	jmp	.LBB11_61
.LBB11_60:                              #   in Loop: Header=BB11_58 Depth=3
.Ltmp97:
	movq	%r14, %rdi
	leaq	192(%rsp), %rdx
	callq	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
.Ltmp98:
.LBB11_61:                              # %_ZNSt6vectorIiSaIiEE9push_backEOi.exit
                                        #   in Loop: Header=BB11_58 Depth=3
	incq	%r13
	cmpq	%r13, %rbx
	jne	.LBB11_58
# %bb.62:                               #   in Loop: Header=BB11_57 Depth=2
.Ltmp100:
	movl	$subsets, %edi
	movq	%r14, %rsi
	callq	_ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_
.Ltmp101:
# %bb.63:                               #   in Loop: Header=BB11_57 Depth=2
	movq	16(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB11_65
# %bb.64:                               #   in Loop: Header=BB11_57 Depth=2
	callq	_ZdlPv
.LBB11_65:                              # %_ZNSt6vectorIiSaIiEED2Ev.exit193
                                        #   in Loop: Header=BB11_57 Depth=2
	incq	%r12
	movq	80(%rsp), %r13
	addq	%rbx, %r15
	cmpq	%r12, %r13
	ja	.LBB11_57
	jmp	.LBB11_67
.LBB11_66:                              #   in Loop: Header=BB11_42 Depth=1
	xorl	%r13d, %r13d
.LBB11_67:                              # %._crit_edge293
                                        #   in Loop: Header=BB11_42 Depth=1
	movl	NUM_THREADS(%rip), %eax
	shrq	$2, %r13
	cmpl	%r13d, %eax
	cmovll	%eax, %r13d
	testl	%r13d, %r13d
	jle	.LBB11_75
# %bb.68:                               # %.lr.ph296.preheader
                                        #   in Loop: Header=BB11_42 Depth=1
	movl	%r13d, %r12d
	movq	152(%rsp), %r15                 # 8-byte Reload
	xorl	%ebp, %ebp
.LBB11_69:                              # %.lr.ph296
                                        #   Parent Loop BB11_42 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
.Ltmp103:
	movl	$16, %edi
	callq	_Znwm
.Ltmp104:
# %bb.70:                               #   in Loop: Header=BB11_69 Depth=2
	movq	248(%rsp), %rcx                 # 8-byte Reload
	movl	(%rcx,%rbp,4), %ecx
	movl	%ecx, (%rax)
	movq	80(%rsp), %rcx
	movq	%rcx, 8(%rax)
	movl	$_Z12computeCostsPv, %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%rax, %rcx
	callq	pthread_create
	incq	%rbp
	addq	$8, %r15
	cmpq	%rbp, %r12
	jne	.LBB11_69
# %bb.71:                               # %.preheader
                                        #   in Loop: Header=BB11_42 Depth=1
	testl	%r13d, %r13d
	movl	12(%rsp), %ebp                  # 4-byte Reload
	jle	.LBB11_75
# %bb.72:                               # %.lr.ph298.preheader
                                        #   in Loop: Header=BB11_42 Depth=1
	xorl	%r15d, %r15d
.LBB11_73:                              # %.lr.ph298
                                        #   Parent Loop BB11_42 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movq	152(%rsp), %rax                 # 8-byte Reload
	movq	(%rax,%r15,8), %rdi
.Ltmp106:
	xorl	%esi, %esi
	callq	pthread_join
.Ltmp107:
# %bb.74:                               #   in Loop: Header=BB11_73 Depth=2
	incq	%r15
	cmpq	%r15, %r12
	jne	.LBB11_73
.LBB11_75:                              # %_Z9gpuAssert10hipError_tPKcib.exit180
                                        #   in Loop: Header=BB11_42 Depth=1
	incq	%rbx
	cmpq	72(%rsp), %rbx                  # 8-byte Folded Reload
	jne	.LBB11_42
.LBB11_76:                              # %_Z9gpuAssert10hipError_tPKcib.exit180._crit_edge
	xorpd	%xmm0, %xmm0
	movapd	%xmm0, 16(%rsp)
	movq	$0, 32(%rsp)
	movq	112(%rsp), %r13
	movq	120(%rsp), %r12
	movsd	.LCPI11_3(%rip), %xmm0          # xmm0 = mem[0],zero
	cmpq	%r12, %r13
	je	.LBB11_101
# %bb.77:                               # %.lr.ph306
	movsd	%xmm0, (%rsp)                   # 8-byte Spill
	leaq	224(%rsp), %r14
	leaq	272(%rsp), %rbp
	leaq	64(%rsp), %r15
                                        # implicit-def: $eax
                                        # kill: killed $eax
.LBB11_78:                              # =>This Loop Header: Depth=1
                                        #     Child Loop BB11_82 Depth 2
	movl	(%r13), %ebx
	movl	%ebx, 224(%rsp)
.Ltmp109:
	movl	$1, %edx
	leaq	192(%rsp), %rdi
	movq	%r14, %rsi
	movq	%rbp, %rcx
	callq	_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_
.Ltmp110:
# %bb.79:                               #   in Loop: Header=BB11_78 Depth=1
	xorpd	%xmm0, %xmm0
	movapd	%xmm0, 224(%rsp)
	movq	$0, 240(%rsp)
	movq	112(%rsp), %rdi
	movq	120(%rsp), %rsi
	movq	192(%rsp), %rdx
	movq	200(%rsp), %rcx
.Ltmp112:
	movq	%r14, %r8
	xorl	%r9d, %r9d
	callq	_ZSt16__set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_ENS0_5__ops15_Iter_less_iterEET1_T_SC_T0_SD_SB_T2_
.Ltmp113:
# %bb.80:                               # %_ZSt14set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_EET1_T_SA_T0_SB_S9_.exit
                                        #   in Loop: Header=BB11_78 Depth=1
.Ltmp114:
	leaq	296(%rsp), %rdi
	movq	%r14, %rsi
	callq	_ZNSt6vectorIiSaIiEEC2ERKS1_
.Ltmp115:
# %bb.81:                               #   in Loop: Header=BB11_78 Depth=1
	movslq	%ebx, %rax
	movq	%rax, 64(%rsp)
	movq	296(%rsp), %rdi
	movq	304(%rsp), %rdx
	movq	%rdi, %rsi
	cmpq	%rdx, %rdi
	je	.LBB11_84
.LBB11_82:                              # %.lr.ph.i201
                                        #   Parent Loop BB11_78 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movb	(%rsi), %cl
	addb	$8, %cl
	movl	$1, %r8d
	shll	%cl, %r8d
	movslq	%r8d, %rcx
	orq	%rcx, %rax
	addq	$4, %rsi
	cmpq	%rdx, %rsi
	jne	.LBB11_82
# %bb.83:                               # %._crit_edge.i204
                                        #   in Loop: Header=BB11_78 Depth=1
	movq	%rax, 64(%rsp)
.LBB11_84:                              # %_Z6genKeySt6vectorIiSaIiEEiRx.exit205
                                        #   in Loop: Header=BB11_78 Depth=1
	testq	%rdi, %rdi
	je	.LBB11_86
# %bb.85:                               #   in Loop: Header=BB11_78 Depth=1
	callq	_ZdlPv
.LBB11_86:                              # %_ZNSt6vectorIiSaIiEED2Ev.exit207
                                        #   in Loop: Header=BB11_78 Depth=1
.Ltmp116:
	movl	$solutionsMap, %edi
	movq	%r15, %rsi
	callq	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEEixERS4_
.Ltmp117:
# %bb.87:                               #   in Loop: Header=BB11_78 Depth=1
	movl	%ebx, %ecx
	imull	12(%rsp), %ecx                  # 4-byte Folded Reload
	movslq	%ecx, %rcx
	movq	160(%rsp), %rdx                 # 8-byte Reload
	xorps	%xmm1, %xmm1
	cvtss2sd	(%rdx,%rcx,4), %xmm1
	addsd	(%rax), %xmm1
	movsd	(%rsp), %xmm0                   # 8-byte Reload
                                        # xmm0 = mem[0],zero
	movsd	%xmm1, 96(%rsp)                 # 8-byte Spill
	ucomisd	%xmm1, %xmm0
	jbe	.LBB11_94
# %bb.88:                               #   in Loop: Header=BB11_78 Depth=1
.Ltmp119:
	movl	$solutionsMap, %edi
	movq	%r15, %rsi
	callq	_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEEixERS4_
.Ltmp120:
# %bb.89:                               #   in Loop: Header=BB11_78 Depth=1
	addq	$8, %rax
.Ltmp121:
	movq	%rbp, %rdi
	movq	%rax, %rsi
	callq	_ZNSt6vectorIiSaIiEEC2ERKS1_
.Ltmp122:
# %bb.90:                               #   in Loop: Header=BB11_78 Depth=1
.Ltmp124:
	leaq	16(%rsp), %rdi
	movq	%rbp, %rsi
	callq	_ZNSt6vectorIiSaIiEEaSERKS1_
.Ltmp125:
# %bb.91:                               #   in Loop: Header=BB11_78 Depth=1
	movl	%ebx, 188(%rsp)
	movq	272(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB11_93
# %bb.92:                               #   in Loop: Header=BB11_78 Depth=1
	callq	_ZdlPv
.LBB11_93:                              # %_ZNSt6vectorIiSaIiEED2Ev.exit209
                                        #   in Loop: Header=BB11_78 Depth=1
	movl	%ebx, 72(%rsp)                  # 4-byte Spill
	movsd	96(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	movsd	%xmm0, (%rsp)                   # 8-byte Spill
.LBB11_94:                              #   in Loop: Header=BB11_78 Depth=1
	movq	224(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB11_96
# %bb.95:                               #   in Loop: Header=BB11_78 Depth=1
	callq	_ZdlPv
.LBB11_96:                              # %_ZNSt6vectorIiSaIiEED2Ev.exit213
                                        #   in Loop: Header=BB11_78 Depth=1
	movq	192(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB11_98
# %bb.97:                               #   in Loop: Header=BB11_78 Depth=1
	callq	_ZdlPv
.LBB11_98:                              # %_ZNSt6vectorIiSaIiEED2Ev.exit215
                                        #   in Loop: Header=BB11_78 Depth=1
	addq	$4, %r13
	cmpq	%r12, %r13
	jne	.LBB11_78
# %bb.99:                               # %._crit_edge307
	movq	24(%rsp), %rsi
	movq	32(%rsp), %rax
	cmpq	%rax, %rsi
	je	.LBB11_102
# %bb.100:
	movl	72(%rsp), %eax                  # 4-byte Reload
	movl	%eax, (%rsi)
	addq	$4, %rsi
	movq	%rsi, 24(%rsp)
	movq	144(%rsp), %r14                 # 8-byte Reload
	movl	12(%rsp), %ebp                  # 4-byte Reload
	movq	136(%rsp), %r15                 # 8-byte Reload
	jmp	.LBB11_105
.LBB11_101:                             # %._crit_edge307.thread
	movsd	%xmm0, (%rsp)                   # 8-byte Spill
	xorl	%eax, %eax
	movq	144(%rsp), %r14                 # 8-byte Reload
	jmp	.LBB11_103
.LBB11_102:
	movq	144(%rsp), %r14                 # 8-byte Reload
	movl	12(%rsp), %ebp                  # 4-byte Reload
.LBB11_103:
	movq	136(%rsp), %r15                 # 8-byte Reload
.Ltmp127:
	leaq	16(%rsp), %rdi
	leaq	188(%rsp), %rdx
	movq	%rax, %rsi
	callq	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
.Ltmp128:
# %bb.104:                              # %._ZNSt6vectorIiSaIiEE9push_backERKi.exit198_crit_edge
	movq	24(%rsp), %rsi
.LBB11_105:                             # %_ZNSt6vectorIiSaIiEE9push_backERKi.exit198
	movl	$0, 192(%rsp)
	cmpq	32(%rsp), %rsi
	je	.LBB11_107
# %bb.106:
	movl	$0, (%rsi)
	addq	$4, %rsi
	movq	%rsi, 24(%rsp)
	jmp	.LBB11_109
.LBB11_107:
.Ltmp130:
	leaq	16(%rsp), %rdi
	leaq	192(%rsp), %rdx
	callq	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
.Ltmp131:
# %bb.108:                              # %._ZNSt6vectorIiSaIiEE9push_backEOi.exit222_crit_edge
	movq	24(%rsp), %rsi
.LBB11_109:                             # %_ZNSt6vectorIiSaIiEE9push_backEOi.exit222
	xorpd	%xmm0, %xmm0
	movupd	%xmm0, (%r14)
	movq	$0, 16(%r14)
	movq	16(%rsp), %rax
	cmpq	%rax, %rsi
	je	.LBB11_115
# %bb.110:                              # %.lr.ph310
	xorl	%ebx, %ebx
.LBB11_111:                             # =>This Inner Loop Header: Depth=1
	movslq	(%rax,%rbx,4), %rax
	leaq	(%rax,%rax,2), %rdx
	shlq	$3, %rdx
	addq	(%r15), %rdx
	movq	8(%r14), %rsi
	cmpq	16(%r14), %rsi
	je	.LBB11_113
# %bb.112:                              #   in Loop: Header=BB11_111 Depth=1
	movq	16(%rdx), %rax
	movq	%rax, 16(%rsi)
	movupd	(%rdx), %xmm0
	movupd	%xmm0, (%rsi)
	addq	$24, 8(%r14)
	jmp	.LBB11_114
.LBB11_113:                             #   in Loop: Header=BB11_111 Depth=1
.Ltmp133:
	movq	%r14, %rdi
	callq	_ZNSt6vectorI4CitySaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_
.Ltmp134:
.LBB11_114:                             # %_ZNSt6vectorI4CitySaIS0_EE9push_backERKS0_.exit
                                        #   in Loop: Header=BB11_111 Depth=1
	incq	%rbx
	movq	16(%rsp), %rax
	movq	24(%rsp), %rcx
	subq	%rax, %rcx
	sarq	$2, %rcx
	cmpq	%rbx, %rcx
	ja	.LBB11_111
.LBB11_115:                             # %._crit_edge311
	movl	$.L.str.3, %edi
	movl	%ebp, %esi
	movsd	(%rsp), %xmm0                   # 8-byte Reload
                                        # xmm0 = mem[0],zero
	movb	$1, %al
	callq	printf
	movq	152(%rsp), %rdi                 # 8-byte Reload
	callq	free
	movq	248(%rsp), %rdi                 # 8-byte Reload
	callq	free
	movq	16(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB11_117
# %bb.116:
	callq	_ZdlPv
.LBB11_117:                             # %_ZNSt6vectorIiSaIiEED2Ev.exit224
	movq	112(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB11_119
# %bb.118:
	callq	_ZdlPv
.LBB11_119:                             # %_ZNSt6vectorIiSaIiEED2Ev.exit226
	movq	%r14, %rax
	addq	$344, %rsp                      # imm = 0x158
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB11_120:
	.cfi_def_cfa_offset 400
	movq	stderr(%rip), %rbx
.Ltmp87:
	movl	%r15d, %edi
	callq	hipGetErrorString
.Ltmp88:
# %bb.121:                              # %.noexc189
	movl	$.L.str.9, %esi
	movl	$.L.str, %ecx
	movq	%rbx, %rdi
	movq	%rax, %rdx
	movl	$220, %r8d
	jmp	.LBB11_126
.LBB11_122:
	movq	stderr(%rip), %rbx
.Ltmp83:
	movl	%r15d, %edi
	callq	hipGetErrorString
.Ltmp84:
# %bb.123:                              # %.noexc186
	movl	$.L.str.9, %esi
	movl	$.L.str, %ecx
	movq	%rbx, %rdi
	movq	%rax, %rdx
	movl	$219, %r8d
	jmp	.LBB11_126
.LBB11_124:
	movq	stderr(%rip), %rbx
.Ltmp75:
	movl	%r15d, %edi
	callq	hipGetErrorString
.Ltmp76:
# %bb.125:                              # %.noexc182
	movl	$.L.str.9, %esi
	movl	$.L.str, %ecx
	movq	%rbx, %rdi
	movq	%rax, %rdx
	movl	$215, %r8d
.LBB11_126:                             # %.noexc182
	xorl	%eax, %eax
	callq	fprintf
	movl	%r15d, %edi
	callq	exit
.LBB11_127:
	movq	stderr(%rip), %r14
.Ltmp63:
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp64:
# %bb.128:                              # %.noexc176
	movl	$.L.str.9, %esi
	movl	$.L.str, %ecx
	movq	%r14, %rdi
	movq	%rax, %rdx
	movl	$204, %r8d
	jmp	.LBB11_131
.LBB11_129:
	movq	stderr(%rip), %r14
.Ltmp68:
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp69:
# %bb.130:                              # %.noexc179
	movl	$.L.str.9, %esi
	movl	$.L.str, %ecx
	movq	%r14, %rdi
	movq	%rax, %rdx
	movl	$211, %r8d
.LBB11_131:                             # %.noexc176
	xorl	%eax, %eax
	callq	fprintf
	movl	%ebx, %edi
	callq	exit
.LBB11_132:
.Ltmp132:
	jmp	.LBB11_169
.LBB11_133:
.Ltmp129:
	jmp	.LBB11_169
.LBB11_134:
.Ltmp70:
	jmp	.LBB11_155
.LBB11_135:
.Ltmp65:
	jmp	.LBB11_155
.LBB11_136:
.Ltmp42:
	jmp	.LBB11_155
.LBB11_137:
.Ltmp135:
	movq	%rax, %rbx
	movq	(%r14), %rdi
	jmp	.LBB11_148
.LBB11_138:
.Ltmp126:
	movq	%rax, %rbx
	movq	272(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB11_145
# %bb.139:
	callq	_ZdlPv
	jmp	.LBB11_145
.LBB11_140:
.Ltmp111:
	jmp	.LBB11_169
.LBB11_141:
.Ltmp123:
	jmp	.LBB11_144
.LBB11_142:                             # %.loopexit.split-lp
.Ltmp89:
	jmp	.LBB11_155
.LBB11_143:
.Ltmp118:
.LBB11_144:
	movq	%rax, %rbx
.LBB11_145:
	movq	224(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB11_147
# %bb.146:
	callq	_ZdlPv
.LBB11_147:                             # %_ZNSt6vectorIiSaIiEED2Ev.exit217
	movq	192(%rsp), %rdi
.LBB11_148:
	testq	%rdi, %rdi
	je	.LBB11_170
# %bb.149:
	callq	_ZdlPv
	jmp	.LBB11_170
.LBB11_150:                             # %.loopexit
.Ltmp96:
	jmp	.LBB11_155
.LBB11_151:
.Ltmp108:
	jmp	.LBB11_155
.LBB11_152:
.Ltmp57:
	jmp	.LBB11_159
.LBB11_153:
.Ltmp51:
	movq	%rax, %rbx
	jmp	.LBB11_162
.LBB11_154:
.Ltmp45:
	jmp	.LBB11_155
.LBB11_156:
.Ltmp60:
	movq	%rax, %rbx
	movq	32(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB11_160
# %bb.157:
	callq	_ZdlPv
	jmp	.LBB11_160
.LBB11_158:
.Ltmp54:
.LBB11_159:
	movq	%rax, %rbx
.LBB11_160:
	movq	272(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB11_162
# %bb.161:
	callq	_ZdlPv
.LBB11_162:                             # %_ZNSt6vectorIiSaIiEED2Ev.exit170
	movq	200(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB11_165
# %bb.163:
	callq	_ZdlPv
	jmp	.LBB11_165
.LBB11_164:
.Ltmp48:
	movq	%rax, %rbx
.LBB11_165:
	movq	224(%rsp), %rdi
	jmp	.LBB11_171
.LBB11_166:
.Ltmp102:
	jmp	.LBB11_169
.LBB11_167:
.Ltmp105:
.LBB11_155:
	movq	%rax, %rbx
	jmp	.LBB11_173
.LBB11_168:
.Ltmp99:
.LBB11_169:
	movq	%rax, %rbx
.LBB11_170:                             # %_ZNSt6vectorI4CitySaIS0_EED2Ev.exit
	movq	16(%rsp), %rdi
.LBB11_171:                             # %_ZNSt6vectorI4CitySaIS0_EED2Ev.exit
	testq	%rdi, %rdi
	je	.LBB11_173
# %bb.172:
	callq	_ZdlPv
.LBB11_173:
	movq	112(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB11_175
# %bb.174:
	callq	_ZdlPv
.LBB11_175:                             # %_ZNSt6vectorIiSaIiEED2Ev.exit233
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end11:
	.size	_Z3tspSt6vectorI4CitySaIS0_EEiPfS3_, .Lfunc_end11-_Z3tspSt6vectorI4CitySaIS0_EEiPfS3_
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table11:
.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 .Lfunc_begin2-.Lfunc_begin2    # >> Call Site 1 <<
	.uleb128 .Ltmp40-.Lfunc_begin2          #   Call between .Lfunc_begin2 and .Ltmp40
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp40-.Lfunc_begin2          # >> Call Site 2 <<
	.uleb128 .Ltmp41-.Ltmp40                #   Call between .Ltmp40 and .Ltmp41
	.uleb128 .Ltmp42-.Lfunc_begin2          #     jumps to .Ltmp42
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp43-.Lfunc_begin2          # >> Call Site 3 <<
	.uleb128 .Ltmp44-.Ltmp43                #   Call between .Ltmp43 and .Ltmp44
	.uleb128 .Ltmp45-.Lfunc_begin2          #     jumps to .Ltmp45
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp46-.Lfunc_begin2          # >> Call Site 4 <<
	.uleb128 .Ltmp47-.Ltmp46                #   Call between .Ltmp46 and .Ltmp47
	.uleb128 .Ltmp48-.Lfunc_begin2          #     jumps to .Ltmp48
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp49-.Lfunc_begin2          # >> Call Site 5 <<
	.uleb128 .Ltmp50-.Ltmp49                #   Call between .Ltmp49 and .Ltmp50
	.uleb128 .Ltmp51-.Lfunc_begin2          #     jumps to .Ltmp51
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp52-.Lfunc_begin2          # >> Call Site 6 <<
	.uleb128 .Ltmp53-.Ltmp52                #   Call between .Ltmp52 and .Ltmp53
	.uleb128 .Ltmp54-.Lfunc_begin2          #     jumps to .Ltmp54
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp55-.Lfunc_begin2          # >> Call Site 7 <<
	.uleb128 .Ltmp56-.Ltmp55                #   Call between .Ltmp55 and .Ltmp56
	.uleb128 .Ltmp57-.Lfunc_begin2          #     jumps to .Ltmp57
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp58-.Lfunc_begin2          # >> Call Site 8 <<
	.uleb128 .Ltmp59-.Ltmp58                #   Call between .Ltmp58 and .Ltmp59
	.uleb128 .Ltmp60-.Lfunc_begin2          #     jumps to .Ltmp60
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp59-.Lfunc_begin2          # >> Call Site 9 <<
	.uleb128 .Ltmp61-.Ltmp59                #   Call between .Ltmp59 and .Ltmp61
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp61-.Lfunc_begin2          # >> Call Site 10 <<
	.uleb128 .Ltmp62-.Ltmp61                #   Call between .Ltmp61 and .Ltmp62
	.uleb128 .Ltmp65-.Lfunc_begin2          #     jumps to .Ltmp65
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp62-.Lfunc_begin2          # >> Call Site 11 <<
	.uleb128 .Ltmp66-.Ltmp62                #   Call between .Ltmp62 and .Ltmp66
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp66-.Lfunc_begin2          # >> Call Site 12 <<
	.uleb128 .Ltmp67-.Ltmp66                #   Call between .Ltmp66 and .Ltmp67
	.uleb128 .Ltmp70-.Lfunc_begin2          #     jumps to .Ltmp70
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp71-.Lfunc_begin2          # >> Call Site 13 <<
	.uleb128 .Ltmp78-.Ltmp71                #   Call between .Ltmp71 and .Ltmp78
	.uleb128 .Ltmp96-.Lfunc_begin2          #     jumps to .Ltmp96
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp78-.Lfunc_begin2          # >> Call Site 14 <<
	.uleb128 .Ltmp79-.Ltmp78                #   Call between .Ltmp78 and .Ltmp79
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp79-.Lfunc_begin2          # >> Call Site 15 <<
	.uleb128 .Ltmp95-.Ltmp79                #   Call between .Ltmp79 and .Ltmp95
	.uleb128 .Ltmp96-.Lfunc_begin2          #     jumps to .Ltmp96
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp97-.Lfunc_begin2          # >> Call Site 16 <<
	.uleb128 .Ltmp98-.Ltmp97                #   Call between .Ltmp97 and .Ltmp98
	.uleb128 .Ltmp99-.Lfunc_begin2          #     jumps to .Ltmp99
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp100-.Lfunc_begin2         # >> Call Site 17 <<
	.uleb128 .Ltmp101-.Ltmp100              #   Call between .Ltmp100 and .Ltmp101
	.uleb128 .Ltmp102-.Lfunc_begin2         #     jumps to .Ltmp102
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp103-.Lfunc_begin2         # >> Call Site 18 <<
	.uleb128 .Ltmp104-.Ltmp103              #   Call between .Ltmp103 and .Ltmp104
	.uleb128 .Ltmp105-.Lfunc_begin2         #     jumps to .Ltmp105
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp106-.Lfunc_begin2         # >> Call Site 19 <<
	.uleb128 .Ltmp107-.Ltmp106              #   Call between .Ltmp106 and .Ltmp107
	.uleb128 .Ltmp108-.Lfunc_begin2         #     jumps to .Ltmp108
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp109-.Lfunc_begin2         # >> Call Site 20 <<
	.uleb128 .Ltmp110-.Ltmp109              #   Call between .Ltmp109 and .Ltmp110
	.uleb128 .Ltmp111-.Lfunc_begin2         #     jumps to .Ltmp111
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp112-.Lfunc_begin2         # >> Call Site 21 <<
	.uleb128 .Ltmp117-.Ltmp112              #   Call between .Ltmp112 and .Ltmp117
	.uleb128 .Ltmp118-.Lfunc_begin2         #     jumps to .Ltmp118
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp119-.Lfunc_begin2         # >> Call Site 22 <<
	.uleb128 .Ltmp122-.Ltmp119              #   Call between .Ltmp119 and .Ltmp122
	.uleb128 .Ltmp123-.Lfunc_begin2         #     jumps to .Ltmp123
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp124-.Lfunc_begin2         # >> Call Site 23 <<
	.uleb128 .Ltmp125-.Ltmp124              #   Call between .Ltmp124 and .Ltmp125
	.uleb128 .Ltmp126-.Lfunc_begin2         #     jumps to .Ltmp126
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp127-.Lfunc_begin2         # >> Call Site 24 <<
	.uleb128 .Ltmp128-.Ltmp127              #   Call between .Ltmp127 and .Ltmp128
	.uleb128 .Ltmp129-.Lfunc_begin2         #     jumps to .Ltmp129
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp130-.Lfunc_begin2         # >> Call Site 25 <<
	.uleb128 .Ltmp131-.Ltmp130              #   Call between .Ltmp130 and .Ltmp131
	.uleb128 .Ltmp132-.Lfunc_begin2         #     jumps to .Ltmp132
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp133-.Lfunc_begin2         # >> Call Site 26 <<
	.uleb128 .Ltmp134-.Ltmp133              #   Call between .Ltmp133 and .Ltmp134
	.uleb128 .Ltmp135-.Lfunc_begin2         #     jumps to .Ltmp135
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp87-.Lfunc_begin2          # >> Call Site 27 <<
	.uleb128 .Ltmp76-.Ltmp87                #   Call between .Ltmp87 and .Ltmp76
	.uleb128 .Ltmp89-.Lfunc_begin2          #     jumps to .Ltmp89
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp63-.Lfunc_begin2          # >> Call Site 28 <<
	.uleb128 .Ltmp64-.Ltmp63                #   Call between .Ltmp63 and .Ltmp64
	.uleb128 .Ltmp65-.Lfunc_begin2          #     jumps to .Ltmp65
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp68-.Lfunc_begin2          # >> Call Site 29 <<
	.uleb128 .Ltmp69-.Ltmp68                #   Call between .Ltmp68 and .Ltmp69
	.uleb128 .Ltmp70-.Lfunc_begin2          #     jumps to .Ltmp70
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp69-.Lfunc_begin2          # >> Call Site 30 <<
	.uleb128 .Lfunc_end11-.Ltmp69           #   Call between .Ltmp69 and .Lfunc_end11
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end2:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorIS_IiSaIiEESaIS1_EE5clearEv,"axG",@progbits,_ZNSt6vectorIS_IiSaIiEESaIS1_EE5clearEv,comdat
	.weak	_ZNSt6vectorIS_IiSaIiEESaIS1_EE5clearEv # -- Begin function _ZNSt6vectorIS_IiSaIiEESaIS1_EE5clearEv
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_IiSaIiEESaIS1_EE5clearEv,@function
_ZNSt6vectorIS_IiSaIiEESaIS1_EE5clearEv: # @_ZNSt6vectorIS_IiSaIiEESaIS1_EE5clearEv
	.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	(%rdi), %r14
	movq	8(%rdi), %r15
	cmpq	%r14, %r15
	je	.LBB12_6
# %bb.1:                                # %.lr.ph.i.i.i.i.preheader
	movq	%rdi, %rbx
	movq	%r14, %r12
.LBB12_2:                               # %.lr.ph.i.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	.LBB12_4
# %bb.3:                                #   in Loop: Header=BB12_2 Depth=1
	callq	_ZdlPv
.LBB12_4:                               # %_ZSt8_DestroyISt6vectorIiSaIiEEEvPT_.exit.i.i.i.i
                                        #   in Loop: Header=BB12_2 Depth=1
	addq	$24, %r12
	cmpq	%r15, %r12
	jne	.LBB12_2
# %bb.5:                                # %_ZSt8_DestroyIPSt6vectorIiSaIiEES2_EvT_S4_RSaIT0_E.exit.i
	movq	%r14, 8(%rbx)
.LBB12_6:                               # %_ZNSt6vectorIS_IiSaIiEESaIS1_EE15_M_erase_at_endEPS1_.exit
	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_end12:
	.size	_ZNSt6vectorIS_IiSaIiEESaIS1_EE5clearEv, .Lfunc_end12-_ZNSt6vectorIS_IiSaIiEESaIS1_EE5clearEv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_,"axG",@progbits,_ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_,comdat
	.weak	_ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_ # -- Begin function _ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_,@function
_ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_: # @_ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	%rsi, %rdx
	movq	%rdi, %rbx
	movq	8(%rdi), %rsi
	cmpq	16(%rdi), %rsi
	je	.LBB13_2
# %bb.1:
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	callq	_ZNSt6vectorIiSaIiEEC2ERKS1_
	addq	$24, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.LBB13_2:
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_ # TAILCALL
.Lfunc_end13:
	.size	_ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_, .Lfunc_end13-_ZNSt6vectorIS_IiSaIiEESaIS1_EE9push_backERKS1_
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst4,"aM",@progbits,4
	.p2align	2, 0x0                          # -- Begin function main
.LCPI14_0:
	.long	0x5f000000                      # float 9.22337203E+18
	.text
	.globl	main
	.type	main,@function
main:                                   # @main
.Lfunc_begin3:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception3
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	subq	$144, %rsp
	.cfi_def_cfa_offset 176
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %rbp, -16
	cmpl	$2, %edi
	jle	.LBB14_43
# %bb.1:
	movq	%rsi, %rbx
	movq	8(%rsi), %rdi
	callq	atoi
	movl	%eax, numCities(%rip)
	movq	16(%rbx), %rdi
	callq	atoi
	movl	%eax, NUM_THREADS(%rip)
	leaq	64(%rsp), %rdi
	callq	hipEventCreate
	leaq	32(%rsp), %rdi
	callq	hipEventCreate
	leaq	56(%rsp), %rdi
	callq	hipEventCreate
	leaq	24(%rsp), %rdi
	callq	hipEventCreate
	xorl	%eax, %eax
	movl	%eax, 12(%rsp)
	movl	%eax, 8(%rsp)
	movl	numCities(%rip), %esi
	leaq	72(%rsp), %rdi
	movl	$500, %edx                      # imm = 0x1F4
	movl	$500, %ecx                      # imm = 0x1F4
	callq	_Z14generateCitiesiii
	movslq	numCities(%rip), %rax
	movslq	numFeatures(%rip), %rsi
	imulq	%rax, %rsi
	shlq	$2, %rsi
.Ltmp136:
	leaq	48(%rsp), %rdi
	xorl	%edx, %edx
	callq	hipHostMalloc
.Ltmp137:
# %bb.2:                                # %_ZL13hipHostMallocIfE10hipError_tPPT_mj.exit
	movslq	numCities(%rip), %rax
	movslq	numFeatures(%rip), %rsi
	imulq	%rax, %rsi
	shlq	$2, %rsi
.Ltmp138:
	leaq	40(%rsp), %rdi
	callq	hipMalloc
.Ltmp139:
# %bb.3:                                # %_ZL9hipMallocIfE10hipError_tPPT_m.exit
	movslq	numCities(%rip), %rsi
	imulq	%rsi, %rsi
	shlq	$2, %rsi
.Ltmp140:
	movl	$h_distances, %edi
	xorl	%edx, %edx
	callq	hipHostMalloc
.Ltmp141:
# %bb.4:                                # %_ZL13hipHostMallocIfE10hipError_tPPT_mj.exit26
	movslq	numCities(%rip), %rsi
	imulq	%rsi, %rsi
	shlq	$2, %rsi
.Ltmp142:
	leaq	16(%rsp), %rdi
	callq	hipMalloc
.Ltmp143:
# %bb.5:                                # %_ZL9hipMallocIfE10hipError_tPPT_m.exit27.preheader
	movl	numCities(%rip), %esi
	testl	%esi, %esi
	jle	.LBB14_8
# %bb.6:                                # %.lr.ph
	movq	72(%rsp), %rax
	movq	48(%rsp), %rcx
	movslq	numFeatures(%rip), %rdx
	addq	$8, %rcx
	shlq	$2, %rdx
	shlq	$3, %rsi
	leaq	(%rsi,%rsi,2), %rsi
	xorl	%edi, %edi
.LBB14_7:                               # %_ZL9hipMallocIfE10hipError_tPPT_m.exit27
                                        # =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2ssl	(%rax,%rdi), %xmm0
	movss	%xmm0, -8(%rcx)
	xorps	%xmm0, %xmm0
	cvtsd2ss	8(%rax,%rdi), %xmm0
	movss	%xmm0, -4(%rcx)
	xorps	%xmm0, %xmm0
	cvtsd2ss	16(%rax,%rdi), %xmm0
	movss	%xmm0, (%rcx)
	addq	%rdx, %rcx
	addq	$24, %rdi
	cmpq	%rdi, %rsi
	jne	.LBB14_7
.LBB14_8:                               # %_ZL9hipMallocIfE10hipError_tPPT_m.exit27._crit_edge
	movq	64(%rsp), %rdi
.Ltmp144:
	xorl	%esi, %esi
	callq	hipEventRecord
.Ltmp145:
# %bb.9:
	movl	numCities(%rip), %ebp
	movq	56(%rsp), %rdi
.Ltmp147:
	xorl	%esi, %esi
	callq	hipEventRecord
.Ltmp148:
# %bb.10:
	movq	40(%rsp), %rdi
	movq	48(%rsp), %rsi
	movslq	numCities(%rip), %rax
	movslq	numFeatures(%rip), %rdx
	imulq	%rax, %rdx
	shlq	$2, %rdx
.Ltmp149:
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp150:
# %bb.11:
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	.LBB14_44
# %bb.12:                               # %_Z9gpuAssert10hipError_tPKcib.exit
	movq	16(%rsp), %rdi
	movq	h_distances(%rip), %rsi
	movl	numCities(%rip), %edx
	imull	%edx, %edx
	shlq	$2, %rdx
.Ltmp153:
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp154:
# %bb.13:
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	.LBB14_46
# %bb.14:                               # %_Z9gpuAssert10hipError_tPKcib.exit30
	imull	%ebp, %ebp
	addl	$1023, %ebp                     # imm = 0x3FF
	shrl	$10, %ebp
	movl	%ebp, %edi
	btsq	$32, %rdi
.Ltmp157:
	movabsq	$4294968320, %rdx               # imm = 0x100000400
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp158:
# %bb.15:
	testl	%eax, %eax
	jne	.LBB14_17
# %bb.16:
	movl	numCities(%rip), %edi
	movl	numFeatures(%rip), %esi
	movq	40(%rsp), %rdx
	movq	16(%rsp), %rcx
.Ltmp159:
	callq	_Z31__device_stub__computeDistancesiiPfS_
.Ltmp160:
.LBB14_17:
.Ltmp161:
	callq	hipPeekAtLastError
.Ltmp162:
# %bb.18:
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	.LBB14_48
# %bb.19:                               # %_Z9gpuAssert10hipError_tPKcib.exit33
	movq	h_distances(%rip), %rdi
	movq	16(%rsp), %rsi
	movl	numCities(%rip), %edx
	imull	%edx, %edx
	shlq	$2, %rdx
.Ltmp165:
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp166:
# %bb.20:
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	.LBB14_50
# %bb.21:                               # %_Z9gpuAssert10hipError_tPKcib.exit36
	movq	24(%rsp), %rdi
.Ltmp169:
	xorl	%esi, %esi
	callq	hipEventRecord
.Ltmp170:
# %bb.22:
	movq	24(%rsp), %rdi
.Ltmp171:
	callq	hipEventSynchronize
.Ltmp172:
# %bb.23:
	movq	40(%rsp), %rdi
.Ltmp173:
	callq	hipFree
.Ltmp174:
# %bb.24:
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	.LBB14_52
# %bb.25:                               # %_Z9gpuAssert10hipError_tPKcib.exit39
.Ltmp178:
	leaq	96(%rsp), %rdi
	leaq	72(%rsp), %rsi
	callq	_ZNSt6vectorI4CitySaIS0_EEC2ERKS2_
.Ltmp179:
# %bb.26:
	movl	numCities(%rip), %edx
	movq	h_distances(%rip), %rcx
.Ltmp181:
	leaq	120(%rsp), %rdi
	leaq	96(%rsp), %rsi
	callq	_Z3tspSt6vectorI4CitySaIS0_EEiPfS3_
.Ltmp182:
# %bb.27:
	movq	96(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB14_29
# %bb.28:
	callq	_ZdlPv
.LBB14_29:                              # %_ZNSt6vectorI4CitySaIS0_EED2Ev.exit
.Ltmp184:
	callq	hipPeekAtLastError
.Ltmp185:
# %bb.30:
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	.LBB14_54
# %bb.31:                               # %_Z9gpuAssert10hipError_tPKcib.exit42
	movq	32(%rsp), %rdi
.Ltmp188:
	xorl	%esi, %esi
	callq	hipEventRecord
.Ltmp189:
# %bb.32:
	movq	32(%rsp), %rdi
.Ltmp190:
	callq	hipEventSynchronize
.Ltmp191:
# %bb.33:
	movq	56(%rsp), %rsi
	movq	24(%rsp), %rdx
.Ltmp192:
	leaq	8(%rsp), %rdi
	callq	hipEventElapsedTime
.Ltmp193:
# %bb.34:
	movq	64(%rsp), %rsi
	movq	32(%rsp), %rdx
.Ltmp194:
	leaq	12(%rsp), %rdi
	callq	hipEventElapsedTime
.Ltmp195:
# %bb.35:
	movl	numCities(%rip), %esi
	movss	8(%rsp), %xmm0                  # xmm0 = mem[0],zero,zero,zero
	cvttss2si	%xmm0, %rax
	subss	.LCPI14_0(%rip), %xmm0
	cvttss2si	%xmm0, %rcx
	movq	%rax, %rdx
	sarq	$63, %rdx
	andq	%rcx, %rdx
	orq	%rax, %rdx
	movl	$.L.str.5, %edi
	xorl	%eax, %eax
	callq	printf
	movl	numCities(%rip), %esi
	movss	12(%rsp), %xmm0                 # xmm0 = mem[0],zero,zero,zero
	cvttss2si	%xmm0, %rax
	subss	.LCPI14_0(%rip), %xmm0
	cvttss2si	%xmm0, %rcx
	movq	%rax, %rdx
	sarq	$63, %rdx
	andq	%rcx, %rdx
	orq	%rax, %rdx
	movl	$.L.str.6, %edi
	xorl	%eax, %eax
	callq	printf
	movq	48(%rsp), %rdi
.Ltmp196:
	callq	hipHostFree
.Ltmp197:
# %bb.36:
	movq	h_distances(%rip), %rdi
.Ltmp198:
	callq	hipHostFree
.Ltmp199:
# %bb.37:
	movq	16(%rsp), %rdi
.Ltmp200:
	callq	hipFree
.Ltmp201:
# %bb.38:
	movq	120(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB14_40
# %bb.39:
	callq	_ZdlPv
.LBB14_40:                              # %_ZNSt6vectorI4CitySaIS0_EED2Ev.exit44
	movq	72(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB14_42
# %bb.41:
	callq	_ZdlPv
.LBB14_42:                              # %_ZNSt6vectorI4CitySaIS0_EED2Ev.exit46
	xorl	%eax, %eax
	addq	$144, %rsp
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB14_43:
	.cfi_def_cfa_offset 176
	movl	$.Lstr, %edi
	callq	puts@PLT
	movl	$-1, %edi
	callq	exit
.LBB14_44:
	movq	stderr(%rip), %r14
.Ltmp151:
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp152:
# %bb.45:                               # %.noexc
	movl	$.L.str.9, %esi
	movl	$.L.str, %ecx
	movq	%r14, %rdi
	movq	%rax, %rdx
	movl	$338, %r8d                      # imm = 0x152
	jmp	.LBB14_56
.LBB14_46:
	movq	stderr(%rip), %r14
.Ltmp155:
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp156:
# %bb.47:                               # %.noexc29
	movl	$.L.str.9, %esi
	movl	$.L.str, %ecx
	movq	%r14, %rdi
	movq	%rax, %rdx
	movl	$339, %r8d                      # imm = 0x153
	jmp	.LBB14_56
.LBB14_48:
	movq	stderr(%rip), %r14
.Ltmp163:
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp164:
# %bb.49:                               # %.noexc32
	movl	$.L.str.9, %esi
	movl	$.L.str, %ecx
	movq	%r14, %rdi
	movq	%rax, %rdx
	movl	$341, %r8d                      # imm = 0x155
	jmp	.LBB14_56
.LBB14_50:
	movq	stderr(%rip), %r14
.Ltmp167:
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp168:
# %bb.51:                               # %.noexc35
	movl	$.L.str.9, %esi
	movl	$.L.str, %ecx
	movq	%r14, %rdi
	movq	%rax, %rdx
	movl	$342, %r8d                      # imm = 0x156
	jmp	.LBB14_56
.LBB14_52:
	movq	stderr(%rip), %r14
.Ltmp175:
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp176:
# %bb.53:                               # %.noexc38
	movl	$.L.str.9, %esi
	movl	$.L.str, %ecx
	movq	%r14, %rdi
	movq	%rax, %rdx
	movl	$346, %r8d                      # imm = 0x15A
	jmp	.LBB14_56
.LBB14_54:
	movq	stderr(%rip), %r14
.Ltmp186:
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp187:
# %bb.55:                               # %.noexc41
	movl	$.L.str.9, %esi
	movl	$.L.str, %ecx
	movq	%r14, %rdi
	movq	%rax, %rdx
	movl	$349, %r8d                      # imm = 0x15D
.LBB14_56:                              # %.noexc
	xorl	%eax, %eax
	callq	fprintf
	movl	%ebx, %edi
	callq	exit
.LBB14_57:
.Ltmp183:
	movq	%rax, %rbx
	movq	96(%rsp), %rdi
	jmp	.LBB14_61
.LBB14_58:
.Ltmp180:
	jmp	.LBB14_64
.LBB14_59:
.Ltmp146:
	jmp	.LBB14_64
.LBB14_60:
.Ltmp202:
	movq	%rax, %rbx
	movq	120(%rsp), %rdi
.LBB14_61:
	testq	%rdi, %rdi
	je	.LBB14_65
# %bb.62:
	callq	_ZdlPv
	jmp	.LBB14_65
.LBB14_63:
.Ltmp177:
.LBB14_64:
	movq	%rax, %rbx
.LBB14_65:
	movq	72(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB14_67
# %bb.66:
	callq	_ZdlPv
.LBB14_67:                              # %_ZNSt6vectorI4CitySaIS0_EED2Ev.exit52
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end14:
	.size	main, .Lfunc_end14-main
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table14:
.Lexception3:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end3-.Lcst_begin3
.Lcst_begin3:
	.uleb128 .Lfunc_begin3-.Lfunc_begin3    # >> Call Site 1 <<
	.uleb128 .Ltmp136-.Lfunc_begin3         #   Call between .Lfunc_begin3 and .Ltmp136
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp136-.Lfunc_begin3         # >> Call Site 2 <<
	.uleb128 .Ltmp145-.Ltmp136              #   Call between .Ltmp136 and .Ltmp145
	.uleb128 .Ltmp146-.Lfunc_begin3         #     jumps to .Ltmp146
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp147-.Lfunc_begin3         # >> Call Site 3 <<
	.uleb128 .Ltmp174-.Ltmp147              #   Call between .Ltmp147 and .Ltmp174
	.uleb128 .Ltmp177-.Lfunc_begin3         #     jumps to .Ltmp177
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp178-.Lfunc_begin3         # >> Call Site 4 <<
	.uleb128 .Ltmp179-.Ltmp178              #   Call between .Ltmp178 and .Ltmp179
	.uleb128 .Ltmp180-.Lfunc_begin3         #     jumps to .Ltmp180
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp181-.Lfunc_begin3         # >> Call Site 5 <<
	.uleb128 .Ltmp182-.Ltmp181              #   Call between .Ltmp181 and .Ltmp182
	.uleb128 .Ltmp183-.Lfunc_begin3         #     jumps to .Ltmp183
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp184-.Lfunc_begin3         # >> Call Site 6 <<
	.uleb128 .Ltmp201-.Ltmp184              #   Call between .Ltmp184 and .Ltmp201
	.uleb128 .Ltmp202-.Lfunc_begin3         #     jumps to .Ltmp202
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp151-.Lfunc_begin3         # >> Call Site 7 <<
	.uleb128 .Ltmp176-.Ltmp151              #   Call between .Ltmp151 and .Ltmp176
	.uleb128 .Ltmp177-.Lfunc_begin3         #     jumps to .Ltmp177
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp186-.Lfunc_begin3         # >> Call Site 8 <<
	.uleb128 .Ltmp187-.Ltmp186              #   Call between .Ltmp186 and .Ltmp187
	.uleb128 .Ltmp202-.Lfunc_begin3         #     jumps to .Ltmp202
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp187-.Lfunc_begin3         # >> Call Site 9 <<
	.uleb128 .Lfunc_end14-.Ltmp187          #   Call between .Ltmp187 and .Lfunc_end14
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end3:
	.p2align	2, 0x0
                                        # -- End function
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0                          # -- Begin function _Z14generateCitiesiii
.LCPI15_0:
	.quad	0x41dfffffffc00000              # double 2147483647
.LCPI15_1:
	.quad	0x0000000000000000              # double 0
	.text
	.globl	_Z14generateCitiesiii
	.type	_Z14generateCitiesiii,@function
_Z14generateCitiesiii:                  # @_Z14generateCitiesiii
.Lfunc_begin4:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception4
# %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	%rdi, %rbx
	xorpd	%xmm0, %xmm0
	movupd	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	testl	%esi, %esi
	jle	.LBB15_6
# %bb.1:                                # %.lr.ph
	movl	%esi, %ebp
	xorps	%xmm0, %xmm0
	cvtsi2sd	%edx, %xmm0
	movsd	%xmm0, 8(%rsp)                  # 8-byte Spill
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ecx, %xmm0
	movsd	%xmm0, (%rsp)                   # 8-byte Spill
	xorl	%r15d, %r15d
	leaq	16(%rsp), %r14
.LBB15_2:                               # =>This Inner Loop Header: Depth=1
	movl	%r15d, 16(%rsp)
	callq	rand
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	movsd	.LCPI15_0(%rip), %xmm1          # xmm1 = mem[0],zero
	divsd	%xmm1, %xmm0
	mulsd	8(%rsp), %xmm0                  # 8-byte Folded Reload
	xorpd	%xmm1, %xmm1
	addsd	%xmm1, %xmm0
	movsd	%xmm0, 24(%rsp)
	callq	rand
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	divsd	.LCPI15_0(%rip), %xmm0
	mulsd	(%rsp), %xmm0                   # 8-byte Folded Reload
	addsd	.LCPI15_1(%rip), %xmm0
	movsd	%xmm0, 32(%rsp)
	movq	8(%rbx), %rsi
	cmpq	16(%rbx), %rsi
	je	.LBB15_4
# %bb.3:                                #   in Loop: Header=BB15_2 Depth=1
	movq	32(%rsp), %rax
	movq	%rax, 16(%rsi)
	movupd	16(%rsp), %xmm0
	movupd	%xmm0, (%rsi)
	addq	$24, 8(%rbx)
	jmp	.LBB15_5
.LBB15_4:                               #   in Loop: Header=BB15_2 Depth=1
.Ltmp203:
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_ZNSt6vectorI4CitySaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_
.Ltmp204:
.LBB15_5:                               # %_ZNSt6vectorI4CitySaIS0_EE9push_backERKS0_.exit
                                        #   in Loop: Header=BB15_2 Depth=1
	incl	%r15d
	cmpl	%r15d, %ebp
	jne	.LBB15_2
.LBB15_6:                               # %._crit_edge
	movq	%rbx, %rax
	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
.LBB15_7:
	.cfi_def_cfa_offset 80
.Ltmp205:
	movq	%rax, %r14
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB15_9
# %bb.8:
	callq	_ZdlPv
.LBB15_9:                               # %_ZNSt6vectorI4CitySaIS0_EED2Ev.exit
	movq	%r14, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end15:
	.size	_Z14generateCitiesiii, .Lfunc_end15-_Z14generateCitiesiii
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table15:
.Lexception4:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end4-.Lcst_begin4
.Lcst_begin4:
	.uleb128 .Ltmp203-.Lfunc_begin4         # >> Call Site 1 <<
	.uleb128 .Ltmp204-.Ltmp203              #   Call between .Ltmp203 and .Ltmp204
	.uleb128 .Ltmp205-.Lfunc_begin4         #     jumps to .Ltmp205
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp204-.Lfunc_begin4         # >> Call Site 2 <<
	.uleb128 .Lfunc_end15-.Ltmp204          #   Call between .Ltmp204 and .Lfunc_end15
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end4:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorI4CitySaIS0_EEC2ERKS2_,"axG",@progbits,_ZNSt6vectorI4CitySaIS0_EEC2ERKS2_,comdat
	.weak	_ZNSt6vectorI4CitySaIS0_EEC2ERKS2_ # -- Begin function _ZNSt6vectorI4CitySaIS0_EEC2ERKS2_
	.p2align	1, 0x90
	.type	_ZNSt6vectorI4CitySaIS0_EEC2ERKS2_,@function
_ZNSt6vectorI4CitySaIS0_EEC2ERKS2_:     # @_ZNSt6vectorI4CitySaIS0_EEC2ERKS2_
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rsi), %rax
	movq	(%rsi), %rcx
	movq	%rax, %rdx
	subq	%rcx, %rdx
	sarq	$3, %rdx
	movabsq	$-6148914691236517205, %r12     # imm = 0xAAAAAAAAAAAAAAAB
	imulq	%rdx, %r12
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	cmpq	%rcx, %rax
	je	.LBB16_1
# %bb.2:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorI4CityE8allocateEmPKv
	movq	%rax, %r15
	jmp	.LBB16_3
.LBB16_1:
	xorl	%r15d, %r15d
.LBB16_3:
	movq	%r15, (%rbx)
	movq	%r15, 8(%rbx)
	leaq	(%r12,%r12,2), %rax
	leaq	(%r15,%rax,8), %rax
	movq	%rax, 16(%rbx)
	movq	(%r14), %rsi
	movq	8(%r14), %r14
	subq	%rsi, %r14
	cmpq	$25, %r14
	jl	.LBB16_5
# %bb.4:
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	memmove@PLT
.LBB16_7:
	addq	%r14, %r15
	movq	%r15, 8(%rbx)
	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
.LBB16_5:
	.cfi_def_cfa_offset 48
	cmpq	$24, %r14
	jne	.LBB16_7
# %bb.6:
	movq	16(%rsi), %rax
	movq	%rax, 16(%r15)
	movups	(%rsi), %xmm0
	movups	%xmm0, (%r15)
	jmp	.LBB16_7
.Lfunc_end16:
	.size	_ZNSt6vectorI4CitySaIS0_EEC2ERKS2_, .Lfunc_end16-_ZNSt6vectorI4CitySaIS0_EEC2ERKS2_
	.cfi_endproc
                                        # -- End function
	.text
	.globl	_Z19printDistanceMatrixPfii     # -- Begin function _Z19printDistanceMatrixPfii
	.type	_Z19printDistanceMatrixPfii,@function
_Z19printDistanceMatrixPfii:            # @_Z19printDistanceMatrixPfii
	.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
	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	%rdi, (%rsp)                    # 8-byte Spill
	testl	%esi, %esi
	jle	.LBB17_5
# %bb.1:                                # %.lr.ph15
	movl	%esi, %ebx
	movl	%esi, %r15d
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
.LBB17_2:                               # %.lr.ph.preheader
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB17_3 Depth 2
	movl	%r12d, %eax
	movq	(%rsp), %rcx                    # 8-byte Reload
	leaq	(%rcx,%rax,4), %rbp
	xorl	%r14d, %r14d
.LBB17_3:                               # %.lr.ph
                                        #   Parent Loop BB17_2 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rbp,%r14,4), %xmm0
	movl	$.L.str.7, %edi
	movb	$1, %al
	callq	printf
	incq	%r14
	cmpq	%r14, %r15
	jne	.LBB17_3
# %bb.4:                                # %._crit_edge
                                        #   in Loop: Header=BB17_2 Depth=1
	movl	$10, %edi
	callq	putchar@PLT
	incq	%r13
	addl	%ebx, %r12d
	cmpq	%r15, %r13
	jne	.LBB17_2
.LBB17_5:                               # %._crit_edge16
	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
.Lfunc_end17:
	.size	_Z19printDistanceMatrixPfii, .Lfunc_end17-_Z19printDistanceMatrixPfii
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0                          # -- Begin function _Z5fRanddd
.LCPI18_0:
	.quad	0x41dfffffffc00000              # double 2147483647
	.text
	.globl	_Z5fRanddd
	.type	_Z5fRanddd,@function
_Z5fRanddd:                             # @_Z5fRanddd
	.cfi_startproc
# %bb.0:
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movsd	%xmm1, 16(%rsp)                 # 8-byte Spill
	movsd	%xmm0, 8(%rsp)                  # 8-byte Spill
	callq	rand
	xorps	%xmm1, %xmm1
	cvtsi2sd	%eax, %xmm1
	divsd	.LCPI18_0(%rip), %xmm1
	movsd	16(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	movsd	8(%rsp), %xmm2                  # 8-byte Reload
                                        # xmm2 = mem[0],zero
	subsd	%xmm2, %xmm0
	mulsd	%xmm1, %xmm0
	addsd	%xmm2, %xmm0
	addq	$24, %rsp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end18:
	.size	_Z5fRanddd, .Lfunc_end18-_Z5fRanddd
	.cfi_endproc
                                        # -- End function
	.section	.text.__clang_call_terminate,"axG",@progbits,__clang_call_terminate,comdat
	.hidden	__clang_call_terminate          # -- Begin function __clang_call_terminate
	.weak	__clang_call_terminate
	.type	__clang_call_terminate,@function
__clang_call_terminate:                 # @__clang_call_terminate
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	callq	__cxa_begin_catch
	callq	_ZSt9terminatev
.Lfunc_end19:
	.size	__clang_call_terminate, .Lfunc_end19-__clang_call_terminate
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EED2Ev,"axG",@progbits,_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EED2Ev,comdat
	.weak	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EED2Ev # -- Begin function _ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EED2Ev
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EED2Ev,@function
_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EED2Ev: # @_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EED2Ev
.Lfunc_begin5:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception5
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	16(%rdi), %rsi
.Ltmp206:
	callq	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E
.Ltmp207:
# %bb.1:
	popq	%rax
	.cfi_def_cfa_offset 8
	retq
.LBB20_2:
	.cfi_def_cfa_offset 16
.Ltmp208:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end20:
	.size	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EED2Ev, .Lfunc_end20-_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EED2Ev
	.cfi_endproc
	.section	.gcc_except_table._ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EED2Ev,"aG",@progbits,_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EED2Ev,comdat
	.p2align	2, 0x0
GCC_except_table20:
.Lexception5:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase0-.Lttbaseref0
.Lttbaseref0:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end5-.Lcst_begin5
.Lcst_begin5:
	.uleb128 .Ltmp206-.Lfunc_begin5         # >> Call Site 1 <<
	.uleb128 .Ltmp207-.Ltmp206              #   Call between .Ltmp206 and .Ltmp207
	.uleb128 .Ltmp208-.Lfunc_begin5         #     jumps to .Ltmp208
	.byte	1                               #   On action: 1
.Lcst_end5:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E,"axG",@progbits,_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E,comdat
	.weak	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E # -- Begin function _ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E,@function
_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E: # @_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E
	.cfi_startproc
# %bb.0:
	testq	%rsi, %rsi
	je	.LBB21_6
# %bb.1:                                # %.lr.ph.preheader
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %r14
	movq	%rdi, %rbx
.LBB21_2:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rsi
	movq	%rbx, %rdi
	callq	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E
	movq	16(%r14), %r15
	movq	48(%r14), %rdi
	testq	%rdi, %rdi
	je	.LBB21_4
# %bb.3:                                #   in Loop: Header=BB21_2 Depth=1
	callq	_ZdlPv
.LBB21_4:                               # %_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE12_M_drop_nodeEPSt13_Rb_tree_nodeIS3_E.exit
                                        #   in Loop: Header=BB21_2 Depth=1
	movq	%r14, %rdi
	callq	_ZdlPv
	movq	%r15, %r14
	testq	%r15, %r15
	jne	.LBB21_2
# %bb.5:
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	.cfi_restore %rbx
	.cfi_restore %r14
	.cfi_restore %r15
.LBB21_6:                               # %._crit_edge
	retq
.Lfunc_end21:
	.size	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E, .Lfunc_end21-_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE8_M_eraseEPSt13_Rb_tree_nodeIS3_E
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorIiE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorIiE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorIiE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorIiE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorIiE8allocateEmPKv,@function
_ZNSt15__new_allocatorIiE8allocateEmPKv: # @_ZNSt15__new_allocatorIiE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$61, %rax
	jne	.LBB22_1
# %bb.3:
	shlq	$2, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB22_1:
	.cfi_def_cfa_offset 16
	shrq	$62, %rsi
	je	.LBB22_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB22_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end22:
	.size	_ZNSt15__new_allocatorIiE8allocateEmPKv, .Lfunc_end22-_ZNSt15__new_allocatorIiE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIiSaIiEE19_M_range_initializeIPKiEEvT_S5_St20forward_iterator_tag,"axG",@progbits,_ZNSt6vectorIiSaIiEE19_M_range_initializeIPKiEEvT_S5_St20forward_iterator_tag,comdat
	.weak	_ZNSt6vectorIiSaIiEE19_M_range_initializeIPKiEEvT_S5_St20forward_iterator_tag # -- Begin function _ZNSt6vectorIiSaIiEE19_M_range_initializeIPKiEEvT_S5_St20forward_iterator_tag
	.p2align	1, 0x90
	.type	_ZNSt6vectorIiSaIiEE19_M_range_initializeIPKiEEvT_S5_St20forward_iterator_tag,@function
_ZNSt6vectorIiSaIiEE19_M_range_initializeIPKiEEvT_S5_St20forward_iterator_tag: # @_ZNSt6vectorIiSaIiEE19_M_range_initializeIPKiEEvT_S5_St20forward_iterator_tag
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdx, %r14
	subq	%rsi, %r14
	movq	%r14, %r13
	sarq	$2, %r13
	movq	%r13, %rax
	shrq	$61, %rax
	jne	.LBB23_9
# %bb.1:                                # %_ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0_.exit
	movq	%rsi, %r15
	movq	%rdi, %rbx
	cmpq	%rsi, %rdx
	je	.LBB23_2
# %bb.3:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIiE8allocateEmPKv
	movq	%rax, %r12
	jmp	.LBB23_4
.LBB23_2:
	xorl	%r12d, %r12d
.LBB23_4:                               # %_ZNSt12_Vector_baseIiSaIiEE11_M_allocateEm.exit
	movq	%r12, (%rbx)
	leaq	(%r12,%r13,4), %rax
	movq	%rax, 16(%rbx)
	cmpq	$5, %r14
	jl	.LBB23_6
# %bb.5:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	memmove@PLT
.LBB23_8:                               # %_ZSt22__uninitialized_copy_aIPKiPiiET0_T_S4_S3_RSaIT1_E.exit
	addq	%r14, %r12
	movq	%r12, 8(%rbx)
	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
.LBB23_6:
	.cfi_def_cfa_offset 48
	cmpq	$4, %r14
	jne	.LBB23_8
# %bb.7:
	movl	(%r15), %eax
	movl	%eax, (%r12)
	jmp	.LBB23_8
.LBB23_9:
	movl	$.L.str.10, %edi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end23:
	.size	_ZNSt6vectorIiSaIiEE19_M_range_initializeIPKiEEvT_S5_St20forward_iterator_tag, .Lfunc_end23-_ZNSt6vectorIiSaIiEE19_M_range_initializeIPKiEEvT_S5_St20forward_iterator_tag
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt16__set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_ENS0_5__ops15_Iter_less_iterEET1_T_SC_T0_SD_SB_T2_,"axG",@progbits,_ZSt16__set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_ENS0_5__ops15_Iter_less_iterEET1_T_SC_T0_SD_SB_T2_,comdat
	.weak	_ZSt16__set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_ENS0_5__ops15_Iter_less_iterEET1_T_SC_T0_SD_SB_T2_ # -- Begin function _ZSt16__set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_ENS0_5__ops15_Iter_less_iterEET1_T_SC_T0_SD_SB_T2_
	.type	_ZSt16__set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_ENS0_5__ops15_Iter_less_iterEET1_T_SC_T0_SD_SB_T2_,@function
_ZSt16__set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_ENS0_5__ops15_Iter_less_iterEET1_T_SC_T0_SD_SB_T2_: # @_ZSt16__set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_ENS0_5__ops15_Iter_less_iterEET1_T_SC_T0_SD_SB_T2_
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%r8, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	cmpq	%rsi, %rdi
	je	.LBB24_9
# %bb.1:
	movq	%rcx, %r12
	movq	%rdx, %r13
.LBB24_2:                               # =>This Inner Loop Header: Depth=1
	cmpq	%r12, %r13
	je	.LBB24_9
# %bb.3:                                # %.lr.ph
                                        #   in Loop: Header=BB24_2 Depth=1
	movl	(%r15), %eax
	movl	(%r13), %ecx
	cmpl	%ecx, %eax
	jge	.LBB24_5
# %bb.4:                                #   in Loop: Header=BB24_2 Depth=1
	movq	%rbx, %rdi
	movq	%r9, %rsi
	movq	%r15, %rdx
	callq	_ZNSt6vectorIiSaIiEE6insertEN9__gnu_cxx17__normal_iteratorIPKiS1_EERS4_
	movq	%rax, %r9
	addq	$4, %r9
	addq	$4, %r15
	jmp	.LBB24_8
.LBB24_5:                               #   in Loop: Header=BB24_2 Depth=1
	jg	.LBB24_7
# %bb.6:                                #   in Loop: Header=BB24_2 Depth=1
	addq	$4, %r15
.LBB24_7:                               #   in Loop: Header=BB24_2 Depth=1
	addq	$4, %r13
.LBB24_8:                               #   in Loop: Header=BB24_2 Depth=1
	cmpq	%r14, %r15
	jne	.LBB24_2
.LBB24_9:                               # %.critedge
	subq	%r15, %r14
	sarq	$2, %r14
	testq	%r14, %r14
	jle	.LBB24_12
# %bb.10:                               # %.lr.ph.i.i.i.i.i.preheader
	incq	%r14
.LBB24_11:                              # %.lr.ph.i.i.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r9, %rsi
	movq	%r15, %rdx
	callq	_ZNSt6vectorIiSaIiEE6insertEN9__gnu_cxx17__normal_iteratorIPKiS1_EERS4_
	movq	%rax, %r9
	addq	$4, %r9
	addq	$4, %r15
	decq	%r14
	cmpq	$1, %r14
	ja	.LBB24_11
.LBB24_12:                              # %_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEESt15insert_iteratorIS5_EET0_T_SA_S9_.exit
	movq	%rbx, %rax
	movq	%r9, %rdx
	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_end24:
	.size	_ZSt16__set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_ENS0_5__ops15_Iter_less_iterEET1_T_SC_T0_SD_SB_T2_, .Lfunc_end24-_ZSt16__set_differenceIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_St15insert_iteratorIS5_ENS0_5__ops15_Iter_less_iterEET1_T_SC_T0_SD_SB_T2_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIiSaIiEE6insertEN9__gnu_cxx17__normal_iteratorIPKiS1_EERS4_,"axG",@progbits,_ZNSt6vectorIiSaIiEE6insertEN9__gnu_cxx17__normal_iteratorIPKiS1_EERS4_,comdat
	.weak	_ZNSt6vectorIiSaIiEE6insertEN9__gnu_cxx17__normal_iteratorIPKiS1_EERS4_ # -- Begin function _ZNSt6vectorIiSaIiEE6insertEN9__gnu_cxx17__normal_iteratorIPKiS1_EERS4_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIiSaIiEE6insertEN9__gnu_cxx17__normal_iteratorIPKiS1_EERS4_,@function
_ZNSt6vectorIiSaIiEE6insertEN9__gnu_cxx17__normal_iteratorIPKiS1_EERS4_: # @_ZNSt6vectorIiSaIiEE6insertEN9__gnu_cxx17__normal_iteratorIPKiS1_EERS4_
	.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	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rdi, %rbx
	movq	(%rdi), %r15
	movq	8(%rdi), %rdi
	movq	%rsi, %r14
	subq	%r15, %r14
	cmpq	16(%rbx), %rdi
	je	.LBB25_8
# %bb.1:
	cmpq	%rsi, %rdi
	je	.LBB25_2
# %bb.3:
	addq	%r14, %r15
	movl	(%rdx), %ebp
	leaq	-4(%rdi), %rax
	movl	-4(%rdi), %ecx
	movl	%ecx, (%rdi)
	leaq	4(%rdi), %rcx
	movq	%rcx, 8(%rbx)
	movq	%rax, %rdx
	subq	%rsi, %rdx
	movq	%rdx, %rcx
	sarq	$2, %rcx
	cmpq	$2, %rcx
	jl	.LBB25_5
# %bb.4:
	shlq	$2, %rcx
	subq	%rcx, %rdi
	movq	%r15, %rsi
	callq	memmove@PLT
.LBB25_7:
	movl	%ebp, (%r15)
	jmp	.LBB25_9
.LBB25_8:
	addq	%r14, %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
	jmp	.LBB25_9
.LBB25_2:
	movl	(%rdx), %eax
	movl	%eax, (%rsi)
	addq	$4, %rsi
	movq	%rsi, 8(%rbx)
.LBB25_9:
	addq	(%rbx), %r14
	movq	%r14, %rax
	addq	$8, %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
.LBB25_5:
	.cfi_def_cfa_offset 48
	cmpq	$4, %rdx
	jne	.LBB25_7
# %bb.6:
	movl	(%r15), %ecx
	movl	%ecx, (%rax)
	jmp	.LBB25_7
.Lfunc_end25:
	.size	_ZNSt6vectorIiSaIiEE6insertEN9__gnu_cxx17__normal_iteratorIPKiS1_EERS4_, .Lfunc_end25-_ZNSt6vectorIiSaIiEE6insertEN9__gnu_cxx17__normal_iteratorIPKiS1_EERS4_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_,"axG",@progbits,_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_,comdat
	.weak	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_ # -- Begin function _ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_,@function
_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_: # @_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
	.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	$24, %rsp
	.cfi_def_cfa_offset 80
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rdx, (%rsp)                    # 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	$1, %esi
	movl	$.L.str.11, %edx
	callq	_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc
	movq	(%rbx), %r13
	movq	8(%rbx), %r15
	movq	%r12, 8(%rsp)                   # 8-byte Spill
	subq	%r13, %r12
	movq	%r12, %r14
	sarq	$2, %r14
	testq	%rax, %rax
	movq	%rax, 16(%rsp)                  # 8-byte Spill
	je	.LBB26_1
# %bb.2:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIiE8allocateEmPKv
	movq	%rax, %rbp
	jmp	.LBB26_3
.LBB26_1:
	xorl	%ebp, %ebp
.LBB26_3:                               # %_ZNSt12_Vector_baseIiSaIiEE11_M_allocateEm.exit
	movq	(%rsp), %rax                    # 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, (%rbp,%r14,4)
	testq	%r12, %r12
	jle	.LBB26_5
# %bb.4:
	movq	%rbp, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	memmove@PLT
.LBB26_5:                               # %_ZNSt6vectorIiSaIiEE11_S_relocateEPiS2_S2_RS0_.exit
	addq	%rbp, %r12
	addq	$4, %r12
	movq	8(%rsp), %rsi                   # 8-byte Reload
	subq	%rsi, %r15
	testq	%r15, %r15
	jle	.LBB26_7
# %bb.6:
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	memmove@PLT
.LBB26_7:                               # %_ZNSt6vectorIiSaIiEE11_S_relocateEPiS2_S2_RS0_.exit16
	testq	%r13, %r13
	je	.LBB26_9
# %bb.8:
	movq	%r13, %rdi
	callq	_ZdlPv
.LBB26_9:                               # %_ZNSt12_Vector_baseIiSaIiEE13_M_deallocateEPim.exit
	addq	%r15, %r12
	movq	%rbp, (%rbx)
	movq	%r12, 8(%rbx)
	movq	16(%rsp), %rax                  # 8-byte Reload
	leaq	(,%rax,4), %rax
	addq	%rbp, %rax
	movq	%rax, 16(%rbx)
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end26:
	.size	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_, .Lfunc_end26-_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc,"axG",@progbits,_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc,comdat
	.weak	_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc # -- Begin function _ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc
	.p2align	1, 0x90
	.type	_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc,@function
_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc: # @_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc
	.cfi_startproc
# %bb.0:
	movabsq	$2305843009213693951, %rcx      # imm = 0x1FFFFFFFFFFFFFFF
	movq	8(%rdi), %r8
	subq	(%rdi), %r8
	sarq	$2, %r8
	movq	%rcx, %rax
	subq	%r8, %rax
	cmpq	%rsi, %rax
	jb	.LBB27_2
# %bb.1:
	cmpq	%rsi, %r8
	cmovaq	%r8, %rsi
	leaq	(%rsi,%r8), %rax
	cmpq	%rcx, %rax
	cmovaeq	%rcx, %rax
	addq	%r8, %rsi
	cmovbq	%rcx, %rax
	retq
.LBB27_2:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdx, %rdi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end27:
	.size	_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc, .Lfunc_end27-_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESE_IJEEEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_,"axG",@progbits,_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESE_IJEEEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_,comdat
	.weak	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESE_IJEEEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_ # -- Begin function _ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESE_IJEEEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESE_IJEEEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_,@function
_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESE_IJEEEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_: # @_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESE_IJEEEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_
.Lfunc_begin6:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception6
# %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	$24, %rsp
	.cfi_def_cfa_offset 64
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rcx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	%rdi, 8(%rsp)
	movl	$72, %edi
	callq	_Znwm
	movq	%rax, %r14
	leaq	32(%rax), %rdx
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%r14)
	movups	%xmm0, 56(%r14)
	movq	%r14, 16(%rsp)
.Ltmp209:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_
.Ltmp210:
# %bb.1:
	movq	%rax, %r15
	testq	%rdx, %rdx
	je	.LBB28_4
# %bb.2:
.Ltmp211:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rcx
	callq	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSB_PSt13_Rb_tree_nodeIS3_E
.Ltmp212:
# %bb.3:
	movq	%rax, %r15
	movq	$0, 16(%rsp)
.LBB28_4:
	leaq	8(%rsp), %rdi
	callq	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_nodeD2Ev
	movq	%r15, %rax
	addq	$24, %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
.LBB28_5:
	.cfi_def_cfa_offset 64
.Ltmp213:
	movq	%rax, %rbx
	leaq	8(%rsp), %rdi
	callq	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_nodeD2Ev
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end28:
	.size	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESE_IJEEEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_, .Lfunc_end28-_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESE_IJEEEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESE_IJEEEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_,"aG",@progbits,_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS1_EESE_IJEEEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_,comdat
	.p2align	2, 0x0
GCC_except_table28:
.Lexception6:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end6-.Lcst_begin6
.Lcst_begin6:
	.uleb128 .Lfunc_begin6-.Lfunc_begin6    # >> Call Site 1 <<
	.uleb128 .Ltmp209-.Lfunc_begin6         #   Call between .Lfunc_begin6 and .Ltmp209
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp209-.Lfunc_begin6         # >> Call Site 2 <<
	.uleb128 .Ltmp212-.Ltmp209              #   Call between .Ltmp209 and .Ltmp212
	.uleb128 .Ltmp213-.Lfunc_begin6         #     jumps to .Ltmp213
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp212-.Lfunc_begin6         # >> Call Site 3 <<
	.uleb128 .Lfunc_end28-.Ltmp212          #   Call between .Ltmp212 and .Lfunc_end28
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end6:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_,"axG",@progbits,_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_,comdat
	.weak	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_ # -- Begin function _ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_,@function
_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_: # @_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_
	.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	%rdi, %r15
	leaq	8(%rdi), %rax
	cmpq	%rsi, %rax
	je	.LBB29_1
# %bb.4:
	movq	%rsi, %rbx
	movq	(%r14), %r12
	movq	32(%rsi), %rax
	cmpq	%rax, %r12
	jge	.LBB29_9
# %bb.5:
	cmpq	%rbx, 24(%r15)
	je	.LBB29_6
# %bb.7:
	movq	%rbx, %rdi
	callq	_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base
	cmpq	%r12, 32(%rax)
	jge	.LBB29_14
# %bb.8:
	movq	%rax, %rcx
	movq	24(%rax), %rax
	testq	%rax, %rax
	cmovneq	%rbx, %rax
	cmoveq	%rcx, %rbx
	jmp	.LBB29_15
.LBB29_1:
	cmpq	$0, 40(%r15)
	je	.LBB29_14
# %bb.2:
	movq	32(%r15), %rbx
	movq	32(%rbx), %rax
	cmpq	(%r14), %rax
	jge	.LBB29_14
	jmp	.LBB29_3
.LBB29_9:
	jle	.LBB29_10
# %bb.11:
	cmpq	%rbx, 32(%r15)
	je	.LBB29_3
# %bb.12:
	movq	%rbx, %rdi
	callq	_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base
	cmpq	32(%rax), %r12
	jge	.LBB29_14
# %bb.13:
	movq	%rax, %rcx
	movq	24(%rbx), %rax
	testq	%rax, %rax
	cmovneq	%rcx, %rax
	cmovneq	%rcx, %rbx
	jmp	.LBB29_15
.LBB29_14:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE24_M_get_insert_unique_posERS1_
	movq	%rdx, %rbx
	jmp	.LBB29_15
.LBB29_3:
	xorl	%eax, %eax
	jmp	.LBB29_15
.LBB29_10:
	movq	%rbx, %rax
	xorl	%ebx, %ebx
	jmp	.LBB29_15
.LBB29_6:
	movq	%rbx, %rax
.LBB29_15:
	movq	%rbx, %rdx
	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_end29:
	.size	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_, .Lfunc_end29-_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_nodeD2Ev,"axG",@progbits,_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_nodeD2Ev,comdat
	.weak	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_nodeD2Ev # -- Begin function _ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_nodeD2Ev
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_nodeD2Ev,@function
_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_nodeD2Ev: # @_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_nodeD2Ev
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	8(%rdi), %rbx
	testq	%rbx, %rbx
	je	.LBB30_4
# %bb.1:
	movq	48(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB30_3
# %bb.2:
	callq	_ZdlPv
.LBB30_3:                               # %_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE12_M_drop_nodeEPSt13_Rb_tree_nodeIS3_E.exit
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	_ZdlPv                          # TAILCALL
.LBB30_4:
	.cfi_def_cfa_offset 16
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end30:
	.size	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_nodeD2Ev, .Lfunc_end30-_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_nodeD2Ev
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE24_M_get_insert_unique_posERS1_,"axG",@progbits,_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE24_M_get_insert_unique_posERS1_,comdat
	.weak	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE24_M_get_insert_unique_posERS1_ # -- Begin function _ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE24_M_get_insert_unique_posERS1_
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE24_M_get_insert_unique_posERS1_,@function
_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE24_M_get_insert_unique_posERS1_: # @_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE24_M_get_insert_unique_posERS1_
	.cfi_startproc
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	movq	%rsi, %r14
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	.LBB31_1
# %bb.2:                                # %.lr.ph
	movq	(%r14), %rcx
.LBB31_3:                               # =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	movq	32(%rax), %rdx
	xorl	%eax, %eax
	cmpq	%rdx, %rcx
	setge	%al
	movq	16(%rbx,%rax,8), %rax
	testq	%rax, %rax
	jne	.LBB31_3
# %bb.4:                                # %._crit_edge
	movq	%rbx, %rax
	cmpq	%rdx, %rcx
	jl	.LBB31_5
	jmp	.LBB31_8
.LBB31_1:
	leaq	8(%rdi), %rbx
.LBB31_5:                               # %._crit_edge.thread
	cmpq	24(%rdi), %rbx
	je	.LBB31_6
# %bb.7:
	movq	%rbx, %rdi
	callq	_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base
.LBB31_8:
	movq	32(%rax), %rcx
	xorl	%edx, %edx
	cmpq	(%r14), %rcx
	cmovlq	%rdx, %rax
	cmovgeq	%rdx, %rbx
	jmp	.LBB31_9
.LBB31_6:
	xorl	%eax, %eax
.LBB31_9:
	movq	%rbx, %rdx
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end31:
	.size	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE24_M_get_insert_unique_posERS1_, .Lfunc_end31-_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE24_M_get_insert_unique_posERS1_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSB_PSt13_Rb_tree_nodeIS3_E,"axG",@progbits,_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSB_PSt13_Rb_tree_nodeIS3_E,comdat
	.weak	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSB_PSt13_Rb_tree_nodeIS3_E # -- Begin function _ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSB_PSt13_Rb_tree_nodeIS3_E
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSB_PSt13_Rb_tree_nodeIS3_E,@function
_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSB_PSt13_Rb_tree_nodeIS3_E: # @_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSB_PSt13_Rb_tree_nodeIS3_E
	.cfi_startproc
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	movq	%rcx, %rbx
	movq	%rdi, %r14
	leaq	8(%rdi), %rcx
	movb	$1, %al
	testq	%rsi, %rsi
	jne	.LBB32_3
# %bb.1:
	cmpq	%rdx, %rcx
	je	.LBB32_3
# %bb.2:
	movq	32(%rbx), %rax
	cmpq	32(%rdx), %rax
	setl	%al
.LBB32_3:
	movzbl	%al, %edi
	movq	%rbx, %rsi
	callq	_ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_
	incq	40(%r14)
	movq	%rbx, %rax
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end32:
	.size	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSB_PSt13_Rb_tree_nodeIS3_E, .Lfunc_end32-_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSB_PSt13_Rb_tree_nodeIS3_E
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE22_M_emplace_hint_uniqueIJS0_IxS2_EEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_,"axG",@progbits,_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE22_M_emplace_hint_uniqueIJS0_IxS2_EEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_,comdat
	.weak	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE22_M_emplace_hint_uniqueIJS0_IxS2_EEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_ # -- Begin function _ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE22_M_emplace_hint_uniqueIJS0_IxS2_EEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_
	.p2align	1, 0x90
	.type	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE22_M_emplace_hint_uniqueIJS0_IxS2_EEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_,@function
_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE22_M_emplace_hint_uniqueIJS0_IxS2_EEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_: # @_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE22_M_emplace_hint_uniqueIJS0_IxS2_EEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_
.Lfunc_begin7:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception7
# %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	$24, %rsp
	.cfi_def_cfa_offset 64
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	%rdi, 8(%rsp)
	movl	$72, %edi
	callq	_Znwm
	movq	%rax, %r14
	leaq	32(%rax), %rdx
	movq	(%r15), %rax
	movq	%rax, 32(%r14)
	movsd	8(%r15), %xmm0                  # xmm0 = mem[0],zero
	movsd	%xmm0, 40(%r14)
	movq	16(%r15), %rax
	movq	%rax, 48(%r14)
	movq	24(%r15), %rax
	movq	%rax, 56(%r14)
	movq	32(%r15), %rax
	movq	%rax, 64(%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r15)
	movq	$0, 32(%r15)
	movq	%r14, 16(%rsp)
.Ltmp214:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS3_ERS1_
.Ltmp215:
# %bb.1:
	movq	%rax, %r15
	testq	%rdx, %rdx
	je	.LBB33_4
# %bb.2:
.Ltmp216:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rcx
	callq	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSB_PSt13_Rb_tree_nodeIS3_E
.Ltmp217:
# %bb.3:
	movq	%rax, %r15
	movq	$0, 16(%rsp)
.LBB33_4:
	leaq	8(%rsp), %rdi
	callq	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_nodeD2Ev
	movq	%r15, %rax
	addq	$24, %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
.LBB33_5:
	.cfi_def_cfa_offset 64
.Ltmp218:
	movq	%rax, %rbx
	leaq	8(%rsp), %rdi
	callq	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE10_Auto_nodeD2Ev
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end33:
	.size	_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE22_M_emplace_hint_uniqueIJS0_IxS2_EEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_, .Lfunc_end33-_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE22_M_emplace_hint_uniqueIJS0_IxS2_EEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE22_M_emplace_hint_uniqueIJS0_IxS2_EEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_,"aG",@progbits,_ZNSt8_Rb_treeIxSt4pairIKx8PathCostESt10_Select1stIS3_ESt4lessIxESaIS3_EE22_M_emplace_hint_uniqueIJS0_IxS2_EEEESt17_Rb_tree_iteratorIS3_ESt23_Rb_tree_const_iteratorIS3_EDpOT_,comdat
	.p2align	2, 0x0
GCC_except_table33:
.Lexception7:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end7-.Lcst_begin7
.Lcst_begin7:
	.uleb128 .Lfunc_begin7-.Lfunc_begin7    # >> Call Site 1 <<
	.uleb128 .Ltmp214-.Lfunc_begin7         #   Call between .Lfunc_begin7 and .Ltmp214
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp214-.Lfunc_begin7         # >> Call Site 2 <<
	.uleb128 .Ltmp217-.Ltmp214              #   Call between .Ltmp214 and .Ltmp217
	.uleb128 .Ltmp218-.Lfunc_begin7         #     jumps to .Ltmp218
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp217-.Lfunc_begin7         # >> Call Site 3 <<
	.uleb128 .Lfunc_end33-.Ltmp217          #   Call between .Ltmp217 and .Lfunc_end33
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end7:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_,"axG",@progbits,_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_,comdat
	.weak	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_ # -- Begin function _ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_,@function
_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_: # @_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
	.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	$24, %rsp
	.cfi_def_cfa_offset 80
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rdx, (%rsp)                    # 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	$1, %esi
	movl	$.L.str.11, %edx
	callq	_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc
	movq	(%rbx), %r13
	movq	8(%rbx), %r15
	movq	%r12, 8(%rsp)                   # 8-byte Spill
	subq	%r13, %r12
	movq	%r12, %r14
	sarq	$2, %r14
	testq	%rax, %rax
	movq	%rax, 16(%rsp)                  # 8-byte Spill
	je	.LBB34_1
# %bb.2:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIiE8allocateEmPKv
	movq	%rax, %rbp
	jmp	.LBB34_3
.LBB34_1:
	xorl	%ebp, %ebp
.LBB34_3:                               # %_ZNSt12_Vector_baseIiSaIiEE11_M_allocateEm.exit
	movq	(%rsp), %rax                    # 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, (%rbp,%r14,4)
	testq	%r12, %r12
	jle	.LBB34_5
# %bb.4:
	movq	%rbp, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	memmove@PLT
.LBB34_5:                               # %_ZNSt6vectorIiSaIiEE11_S_relocateEPiS2_S2_RS0_.exit
	addq	%rbp, %r12
	addq	$4, %r12
	movq	8(%rsp), %rsi                   # 8-byte Reload
	subq	%rsi, %r15
	testq	%r15, %r15
	jle	.LBB34_7
# %bb.6:
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	memmove@PLT
.LBB34_7:                               # %_ZNSt6vectorIiSaIiEE11_S_relocateEPiS2_S2_RS0_.exit16
	testq	%r13, %r13
	je	.LBB34_9
# %bb.8:
	movq	%r13, %rdi
	callq	_ZdlPv
.LBB34_9:                               # %_ZNSt12_Vector_baseIiSaIiEE13_M_deallocateEPim.exit
	addq	%r15, %r12
	movq	%rbp, (%rbx)
	movq	%r12, 8(%rbx)
	movq	16(%rsp), %rax                  # 8-byte Reload
	leaq	(,%rax,4), %rax
	addq	%rbp, %rax
	movq	%rax, 16(%rbx)
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end34:
	.size	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_, .Lfunc_end34-_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_,"axG",@progbits,_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_,comdat
	.weak	_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_ # -- Begin function _ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_,@function
_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_: # @_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_
.Lfunc_begin8:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception8
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rdx, 16(%rsp)                  # 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movl	$1, %esi
	movl	$.L.str.11, %edx
	callq	_ZNKSt6vectorIS_IiSaIiEESaIS1_EE12_M_check_lenEmPKc
	movq	%rax, %rsi
	movq	(%rbx), %r12
	movq	8(%rbx), %rbp
	movq	%r13, %rax
	subq	%r12, %rax
	sarq	$3, %rax
	movabsq	$-6148914691236517205, %r14     # imm = 0xAAAAAAAAAAAAAAAB
	imulq	%rax, %r14
	testq	%rsi, %rsi
	movq	%rsi, 8(%rsp)                   # 8-byte Spill
	je	.LBB35_1
# %bb.2:
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv
	movq	%rax, %r15
	jmp	.LBB35_3
.LBB35_1:
	xorl	%r15d, %r15d
.LBB35_3:                               # %_ZNSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EE11_M_allocateEm.exit
	leaq	(%r14,%r14,2), %rax
	leaq	(%r15,%rax,8), %r14
.Ltmp219:
	movq	%r14, %rdi
	movq	16(%rsp), %rsi                  # 8-byte Reload
	callq	_ZNSt6vectorIiSaIiEEC2ERKS1_
.Ltmp220:
# %bb.4:                                # %_ZNSt16allocator_traitsISaISt6vectorIiSaIiEEEE9constructIS2_JRKS2_EEEvRS3_PT_DpOT0_.exit
	movq	%r15, %r14
	cmpq	%r13, %r12
	je	.LBB35_7
# %bb.5:                                # %.lr.ph.i.i.i.preheader
	xorps	%xmm0, %xmm0
	movq	%r15, %r14
	movq	%r12, %rax
.LBB35_6:                               # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rax), %rcx
	movq	%rcx, (%r14)
	movq	8(%rax), %rcx
	movq	%rcx, 8(%r14)
	movq	16(%rax), %rcx
	movq	%rcx, 16(%r14)
	movups	%xmm0, (%rax)
	movq	$0, 16(%rax)
	addq	$24, %r14
	addq	$24, %rax
	cmpq	%r13, %rax
	jne	.LBB35_6
.LBB35_7:                               # %_ZNSt6vectorIS_IiSaIiEESaIS1_EE11_S_relocateEPS1_S4_S4_RS2_.exit
	addq	$24, %r14
	cmpq	%r13, %rbp
	je	.LBB35_10
# %bb.8:                                # %.lr.ph.i.i.i27.preheader
	xorps	%xmm0, %xmm0
.LBB35_9:                               # %.lr.ph.i.i.i27
                                        # =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	%rax, (%r14)
	movq	8(%r13), %rax
	movq	%rax, 8(%r14)
	movq	16(%r13), %rax
	movq	%rax, 16(%r14)
	movups	%xmm0, (%r13)
	movq	$0, 16(%r13)
	addq	$24, %r14
	addq	$24, %r13
	cmpq	%rbp, %r13
	jne	.LBB35_9
.LBB35_10:                              # %_ZNSt6vectorIS_IiSaIiEESaIS1_EE11_S_relocateEPS1_S4_S4_RS2_.exit32
	testq	%r12, %r12
	je	.LBB35_12
# %bb.11:
	movq	%r12, %rdi
	callq	_ZdlPv
.LBB35_12:                              # %_ZNSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EE13_M_deallocateEPS2_m.exit
	movq	%r15, (%rbx)
	movq	%r14, 8(%rbx)
	movq	8(%rsp), %rax                   # 8-byte Reload
	leaq	(%rax,%rax,2), %rax
	leaq	(%r15,%rax,8), %rax
	movq	%rax, 16(%rbx)
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB35_13:
	.cfi_def_cfa_offset 80
.Ltmp221:
	movq	%rax, %rdi
	callq	__cxa_begin_catch
	testq	%r15, %r15
	jne	.LBB35_15
# %bb.14:
	movq	(%r14), %r15
	testq	%r15, %r15
	je	.LBB35_16
.LBB35_15:                              # %_ZNSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EE13_M_deallocateEPS2_m.exit35.sink.split
	movq	%r15, %rdi
	callq	_ZdlPv
.LBB35_16:                              # %_ZNSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EE13_M_deallocateEPS2_m.exit35
.Ltmp222:
	callq	__cxa_rethrow
.Ltmp223:
# %bb.20:
.LBB35_17:
.Ltmp224:
	movq	%rax, %rbx
.Ltmp225:
	callq	__cxa_end_catch
.Ltmp226:
# %bb.18:
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.LBB35_19:
.Ltmp227:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end35:
	.size	_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_, .Lfunc_end35-_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_,"aG",@progbits,_ZNSt6vectorIS_IiSaIiEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_,comdat
	.p2align	2, 0x0
GCC_except_table35:
.Lexception8:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase1-.Lttbaseref1
.Lttbaseref1:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end8-.Lcst_begin8
.Lcst_begin8:
	.uleb128 .Lfunc_begin8-.Lfunc_begin8    # >> Call Site 1 <<
	.uleb128 .Ltmp219-.Lfunc_begin8         #   Call between .Lfunc_begin8 and .Ltmp219
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp219-.Lfunc_begin8         # >> Call Site 2 <<
	.uleb128 .Ltmp220-.Ltmp219              #   Call between .Ltmp219 and .Ltmp220
	.uleb128 .Ltmp221-.Lfunc_begin8         #     jumps to .Ltmp221
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp220-.Lfunc_begin8         # >> Call Site 3 <<
	.uleb128 .Ltmp222-.Ltmp220              #   Call between .Ltmp220 and .Ltmp222
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp222-.Lfunc_begin8         # >> Call Site 4 <<
	.uleb128 .Ltmp223-.Ltmp222              #   Call between .Ltmp222 and .Ltmp223
	.uleb128 .Ltmp224-.Lfunc_begin8         #     jumps to .Ltmp224
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp225-.Lfunc_begin8         # >> Call Site 5 <<
	.uleb128 .Ltmp226-.Ltmp225              #   Call between .Ltmp225 and .Ltmp226
	.uleb128 .Ltmp227-.Lfunc_begin8         #     jumps to .Ltmp227
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp226-.Lfunc_begin8         # >> Call Site 6 <<
	.uleb128 .Lfunc_end35-.Ltmp226          #   Call between .Ltmp226 and .Lfunc_end35
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end8:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase1:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNKSt6vectorIS_IiSaIiEESaIS1_EE12_M_check_lenEmPKc,"axG",@progbits,_ZNKSt6vectorIS_IiSaIiEESaIS1_EE12_M_check_lenEmPKc,comdat
	.weak	_ZNKSt6vectorIS_IiSaIiEESaIS1_EE12_M_check_lenEmPKc # -- Begin function _ZNKSt6vectorIS_IiSaIiEESaIS1_EE12_M_check_lenEmPKc
	.p2align	1, 0x90
	.type	_ZNKSt6vectorIS_IiSaIiEESaIS1_EE12_M_check_lenEmPKc,@function
_ZNKSt6vectorIS_IiSaIiEESaIS1_EE12_M_check_lenEmPKc: # @_ZNKSt6vectorIS_IiSaIiEESaIS1_EE12_M_check_lenEmPKc
	.cfi_startproc
# %bb.0:
	movabsq	$384307168202282325, %rcx       # imm = 0x555555555555555
	movq	8(%rdi), %rax
	subq	(%rdi), %rax
	sarq	$3, %rax
	movabsq	$-6148914691236517205, %rdi     # imm = 0xAAAAAAAAAAAAAAAB
	imulq	%rax, %rdi
	movq	%rcx, %rax
	subq	%rdi, %rax
	cmpq	%rsi, %rax
	jb	.LBB36_2
# %bb.1:
	cmpq	%rsi, %rdi
	cmovaq	%rdi, %rsi
	leaq	(%rsi,%rdi), %rax
	cmpq	%rcx, %rax
	cmovaeq	%rcx, %rax
	addq	%rdi, %rsi
	cmovbq	%rcx, %rax
	retq
.LBB36_2:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdx, %rdi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end36:
	.size	_ZNKSt6vectorIS_IiSaIiEESaIS1_EE12_M_check_lenEmPKc, .Lfunc_end36-_ZNKSt6vectorIS_IiSaIiEESaIS1_EE12_M_check_lenEmPKc
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv,@function
_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv: # @_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movabsq	$384307168202282326, %rax       # imm = 0x555555555555556
	cmpq	%rax, %rsi
	jae	.LBB37_1
# %bb.3:
	shlq	$3, %rsi
	leaq	(%rsi,%rsi,2), %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB37_1:
	.cfi_def_cfa_offset 16
	movabsq	$768614336404564651, %rax       # imm = 0xAAAAAAAAAAAAAAB
	cmpq	%rax, %rsi
	jb	.LBB37_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB37_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end37:
	.size	_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv, .Lfunc_end37-_ZNSt15__new_allocatorISt6vectorIiSaIiEEE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorI4CitySaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_,"axG",@progbits,_ZNSt6vectorI4CitySaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_,comdat
	.weak	_ZNSt6vectorI4CitySaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_ # -- Begin function _ZNSt6vectorI4CitySaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_
	.p2align	1, 0x90
	.type	_ZNSt6vectorI4CitySaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_,@function
_ZNSt6vectorI4CitySaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_: # @_ZNSt6vectorI4CitySaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_
	.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	$24, %rsp
	.cfi_def_cfa_offset 80
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rdx, (%rsp)                    # 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	$1, %esi
	movl	$.L.str.11, %edx
	callq	_ZNKSt6vectorI4CitySaIS0_EE12_M_check_lenEmPKc
	movq	%rax, %rsi
	movq	(%rbx), %r13
	movq	8(%rbx), %r15
	movq	%r12, 8(%rsp)                   # 8-byte Spill
	subq	%r13, %r12
	movq	%r12, %rax
	sarq	$3, %rax
	movabsq	$-6148914691236517205, %r14     # imm = 0xAAAAAAAAAAAAAAAB
	imulq	%rax, %r14
	testq	%rsi, %rsi
	movq	%rsi, 16(%rsp)                  # 8-byte Spill
	je	.LBB38_1
# %bb.2:
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorI4CityE8allocateEmPKv
	movq	%rax, %rbp
	jmp	.LBB38_3
.LBB38_1:
	xorl	%ebp, %ebp
.LBB38_3:                               # %_ZNSt12_Vector_baseI4CitySaIS0_EE11_M_allocateEm.exit
	leaq	(%r14,%r14,2), %rax
	movq	(%rsp), %rdx                    # 8-byte Reload
	movq	16(%rdx), %rcx
	movq	%rcx, 16(%rbp,%rax,8)
	movups	(%rdx), %xmm0
	movups	%xmm0, (%rbp,%rax,8)
	testq	%r12, %r12
	jle	.LBB38_5
# %bb.4:
	movq	%rbp, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	memmove@PLT
.LBB38_5:                               # %_ZNSt6vectorI4CitySaIS0_EE11_S_relocateEPS0_S3_S3_RS1_.exit
	leaq	(%r12,%rbp), %r14
	addq	$24, %r14
	movq	8(%rsp), %rsi                   # 8-byte Reload
	subq	%rsi, %r15
	testq	%r15, %r15
	jle	.LBB38_7
# %bb.6:
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	memmove@PLT
.LBB38_7:                               # %_ZNSt6vectorI4CitySaIS0_EE11_S_relocateEPS0_S3_S3_RS1_.exit16
	testq	%r13, %r13
	je	.LBB38_9
# %bb.8:
	movq	%r13, %rdi
	callq	_ZdlPv
.LBB38_9:                               # %_ZNSt12_Vector_baseI4CitySaIS0_EE13_M_deallocateEPS0_m.exit
	addq	%r15, %r14
	movq	%rbp, (%rbx)
	movq	%r14, 8(%rbx)
	movq	16(%rsp), %rax                  # 8-byte Reload
	leaq	(%rax,%rax,2), %rax
	leaq	(,%rax,8), %rax
	addq	%rbp, %rax
	movq	%rax, 16(%rbx)
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end38:
	.size	_ZNSt6vectorI4CitySaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_, .Lfunc_end38-_ZNSt6vectorI4CitySaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNKSt6vectorI4CitySaIS0_EE12_M_check_lenEmPKc,"axG",@progbits,_ZNKSt6vectorI4CitySaIS0_EE12_M_check_lenEmPKc,comdat
	.weak	_ZNKSt6vectorI4CitySaIS0_EE12_M_check_lenEmPKc # -- Begin function _ZNKSt6vectorI4CitySaIS0_EE12_M_check_lenEmPKc
	.p2align	1, 0x90
	.type	_ZNKSt6vectorI4CitySaIS0_EE12_M_check_lenEmPKc,@function
_ZNKSt6vectorI4CitySaIS0_EE12_M_check_lenEmPKc: # @_ZNKSt6vectorI4CitySaIS0_EE12_M_check_lenEmPKc
	.cfi_startproc
# %bb.0:
	movabsq	$384307168202282325, %rcx       # imm = 0x555555555555555
	movq	8(%rdi), %rax
	subq	(%rdi), %rax
	sarq	$3, %rax
	movabsq	$-6148914691236517205, %rdi     # imm = 0xAAAAAAAAAAAAAAAB
	imulq	%rax, %rdi
	movq	%rcx, %rax
	subq	%rdi, %rax
	cmpq	%rsi, %rax
	jb	.LBB39_2
# %bb.1:
	cmpq	%rsi, %rdi
	cmovaq	%rdi, %rsi
	leaq	(%rsi,%rdi), %rax
	cmpq	%rcx, %rax
	cmovaeq	%rcx, %rax
	addq	%rdi, %rsi
	cmovbq	%rcx, %rax
	retq
.LBB39_2:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdx, %rdi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end39:
	.size	_ZNKSt6vectorI4CitySaIS0_EE12_M_check_lenEmPKc, .Lfunc_end39-_ZNKSt6vectorI4CitySaIS0_EE12_M_check_lenEmPKc
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorI4CityE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorI4CityE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorI4CityE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorI4CityE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorI4CityE8allocateEmPKv,@function
_ZNSt15__new_allocatorI4CityE8allocateEmPKv: # @_ZNSt15__new_allocatorI4CityE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movabsq	$384307168202282326, %rax       # imm = 0x555555555555556
	cmpq	%rax, %rsi
	jae	.LBB40_1
# %bb.3:
	shlq	$3, %rsi
	leaq	(%rsi,%rsi,2), %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB40_1:
	.cfi_def_cfa_offset 16
	movabsq	$768614336404564651, %rax       # imm = 0xAAAAAAAAAAAAAAB
	cmpq	%rax, %rsi
	jb	.LBB40_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB40_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end40:
	.size	_ZNSt15__new_allocatorI4CityE8allocateEmPKv, .Lfunc_end40-_ZNSt15__new_allocatorI4CityE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text.startup,"ax",@progbits
	.type	_GLOBAL__sub_I_cuda_tsp.hip,@function # -- Begin function _GLOBAL__sub_I_cuda_tsp.hip
_GLOBAL__sub_I_cuda_tsp.hip:            # @_GLOBAL__sub_I_cuda_tsp.hip
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	xorps	%xmm0, %xmm0
	movups	%xmm0, subsets(%rip)
	xorl	%ebx, %ebx
	movq	%rbx, subsets+16(%rip)
	movl	$_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev, %edi
	movl	$subsets, %esi
	movl	$__dso_handle, %edx
	callq	__cxa_atexit
	movl	$0, solutionsMap+8(%rip)
	movq	%rbx, solutionsMap+16(%rip)
	movq	$solutionsMap+8, solutionsMap+24(%rip)
	movq	$solutionsMap+8, solutionsMap+32(%rip)
	movq	%rbx, solutionsMap+40(%rip)
	movl	$_ZNSt3mapIx8PathCostSt4lessIxESaISt4pairIKxS0_EEED2Ev, %edi
	movl	$solutionsMap, %esi
	movl	$__dso_handle, %edx
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	__cxa_atexit                    # TAILCALL
.Lfunc_end41:
	.size	_GLOBAL__sub_I_cuda_tsp.hip, .Lfunc_end41-_GLOBAL__sub_I_cuda_tsp.hip
	.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	.LBB42_2
# %bb.1:
	movl	$__hip_fatbin_wrapper, %edi
	callq	__hipRegisterFatBinary
	movq	%rax, %rbx
	movq	%rax, __hip_gpubin_handle(%rip)
.LBB42_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z16computeDistancesiiPfS_, %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	$_Z16findPermutationsPciyy, %esi
	movl	$.L__unnamed_2, %edx
	movl	$.L__unnamed_2, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	movl	$0, 8(%rsp)
	movl	$0, (%rsp)
	movl	$curPosition, %esi
	movl	$.L__unnamed_3, %edx
	movl	$.L__unnamed_3, %ecx
	movl	$8, %r9d
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	callq	__hipRegisterVar
	movl	$__hip_module_dtor, %edi
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	atexit                          # TAILCALL
.Lfunc_end42:
	.size	__hip_module_ctor, .Lfunc_end42-__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	.LBB43_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
.LBB43_2:
	retq
.Lfunc_end43:
	.size	__hip_module_dtor, .Lfunc_end43-__hip_module_dtor
	.cfi_endproc
                                        # -- End function
	.type	NUM_THREADS,@object             # @NUM_THREADS
	.data
	.globl	NUM_THREADS
	.p2align	2, 0x0
NUM_THREADS:
	.long	1024                            # 0x400
	.size	NUM_THREADS, 4

	.type	numCities,@object               # @numCities
	.globl	numCities
	.p2align	2, 0x0
numCities:
	.long	16                              # 0x10
	.size	numCities, 4

	.type	numFeatures,@object             # @numFeatures
	.globl	numFeatures
	.p2align	2, 0x0
numFeatures:
	.long	3                               # 0x3
	.size	numFeatures, 4

	.type	subsets,@object                 # @subsets
	.bss
	.globl	subsets
	.p2align	3, 0x0
subsets:
	.zero	24
	.size	subsets, 24

	.hidden	__dso_handle
	.type	solutionsMap,@object            # @solutionsMap
	.globl	solutionsMap
	.p2align	3, 0x0
solutionsMap:
	.zero	48
	.size	solutionsMap, 48

	.type	m,@object                       # @m
	.globl	m
	.p2align	3, 0x0
m:
	.zero	40
	.size	m, 40

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

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

	.type	curPosition,@object             # @curPosition
	.local	curPosition
	.comm	curPosition,8,8
	.type	_Z16findPermutationsPciyy,@object # @_Z16findPermutationsPciyy
	.globl	_Z16findPermutationsPciyy
	.p2align	3, 0x0
_Z16findPermutationsPciyy:
	.quad	_Z31__device_stub__findPermutationsPciyy
	.size	_Z16findPermutationsPciyy, 8

	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	"/home/ubuntu/Datasets/stackv2/train-structured-repos-hip-sm89/JZHeadley/Parallel-Held-Karp/master/cuda/cuda-tsp.hip"
	.size	.L.str, 116

	.type	.L.str.2,@object                # @.str.2
.L.str.2:
	.asciz	"%i choose %i is %llu and took %f ms\n"
	.size	.L.str.2, 37

	.type	.L.str.3,@object                # @.str.3
.L.str.3:
	.asciz	"Cost for this set of %i cities was %f\n"
	.size	.L.str.3, 39

	.type	.L.str.5,@object                # @.str.5
.L.str.5:
	.asciz	"The distance calculation for %i cities took %llu ms.\n"
	.size	.L.str.5, 54

	.type	.L.str.6,@object                # @.str.6
.L.str.6:
	.asciz	"The salesman traversed %i cities in %llu ms.\n"
	.size	.L.str.6, 46

	.type	.L.str.7,@object                # @.str.7
.L.str.7:
	.asciz	"%f "
	.size	.L.str.7, 4

	.type	.L.str.9,@object                # @.str.9
.L.str.9:
	.asciz	"GPUassert: %s %s %d\n"
	.size	.L.str.9, 21

	.type	.L.str.10,@object               # @.str.10
.L.str.10:
	.asciz	"cannot create std::vector larger than max_size()"
	.size	.L.str.10, 49

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

	.type	_ZSt19piecewise_construct,@object # @_ZSt19piecewise_construct
	.section	.rodata._ZSt19piecewise_construct,"aG",@progbits,_ZSt19piecewise_construct,comdat
	.weak	_ZSt19piecewise_construct
_ZSt19piecewise_construct:
	.zero	1
	.size	_ZSt19piecewise_construct, 1

	.type	.L__unnamed_1,@object           # @0
	.section	.rodata.str1.1,"aMS",@progbits,1
.L__unnamed_1:
	.asciz	"_Z16computeDistancesiiPfS_"
	.size	.L__unnamed_1, 27

	.type	.L__unnamed_2,@object           # @1
.L__unnamed_2:
	.asciz	"_Z16findPermutationsPciyy"
	.size	.L__unnamed_2, 26

	.type	.L__unnamed_3,@object           # @2
.L__unnamed_3:
	.asciz	"curPosition"
	.size	.L__unnamed_3, 12

	.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	_GLOBAL__sub_I_cuda_tsp.hip
	.quad	__hip_module_ctor
	.type	__hip_cuid_,@object             # @__hip_cuid_
	.bss
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               # 0x0
	.size	__hip_cuid_, 1

	.type	.Lstr,@object                   # @str
	.section	.rodata.str1.1,"aMS",@progbits,1
.Lstr:
	.asciz	"./cuda-tsp numCities numThreads"
	.size	.Lstr, 32

	.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 _Z31__device_stub__computeDistancesiiPfS_
	.addrsig_sym _Z31__device_stub__findPermutationsPciyy
	.addrsig_sym _Z12computeCostsPv
	.addrsig_sym __gxx_personality_v0
	.addrsig_sym _GLOBAL__sub_I_cuda_tsp.hip
	.addrsig_sym __hip_module_ctor
	.addrsig_sym __hip_module_dtor
	.addrsig_sym _Unwind_Resume
	.addrsig_sym subsets
	.addrsig_sym __dso_handle
	.addrsig_sym solutionsMap
	.addrsig_sym m
	.addrsig_sym h_distances
	.addrsig_sym _Z16computeDistancesiiPfS_
	.addrsig_sym curPosition
	.addrsig_sym _Z16findPermutationsPciyy
	.addrsig_sym _ZSt19piecewise_construct
	.addrsig_sym __hip_fatbin
	.addrsig_sym __hip_fatbin_wrapper
	.addrsig_sym __hip_cuid_

	.text
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.protected	_Z16computeDistancesiiPfS_ ; -- Begin function _Z16computeDistancesiiPfS_
	.globl	_Z16computeDistancesiiPfS_
	.p2align	8
	.type	_Z16computeDistancesiiPfS_,@function
_Z16computeDistancesiiPfS_:             ; @_Z16computeDistancesiiPfS_
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x24
	s_load_b64 s[4:5], s[0:1], 0x0
	s_waitcnt lgkmcnt(0)
	s_and_b32 s2, s2, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1)
	v_mad_u64_u32 v[1:2], null, s15, s2, v[0:1]
	s_mul_i32 s2, s4, s4
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	v_cmp_gt_i32_e32 vcc_lo, s2, v1
	s_and_saveexec_b32 s2, vcc_lo
	s_cbranch_execz .LBB0_5
; %bb.1:
	s_ashr_i32 s2, s4, 31
	v_ashrrev_i32_e32 v2, 31, v1
	s_add_i32 s3, s4, s2
	v_mov_b32_e32 v8, 0
	s_xor_b32 s3, s3, s2
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_3) | instid1(VALU_DEP_2)
	v_add_nc_u32_e32 v4, v1, v2
	v_cvt_f32_u32_e32 v0, s3
	s_sub_i32 s6, 0, s3
	s_cmp_lt_i32 s5, 2
	v_xor_b32_e32 v4, v4, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_rcp_iflag_f32_e32 v0, v0
	s_waitcnt_depctr 0xfff
	v_mul_f32_e32 v0, 0x4f7ffffe, v0
	v_cvt_u32_f32_e32 v0, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_lo_u32 v3, s6, v0
	v_mul_hi_u32 v3, v0, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_nc_u32_e32 v0, v0, v3
	v_mul_hi_u32 v0, v4, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_lo_u32 v3, v0, s3
	v_sub_nc_u32_e32 v3, v4, v3
	v_add_nc_u32_e32 v4, 1, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_subrev_nc_u32_e32 v5, s3, v3
	v_cmp_le_u32_e32 vcc_lo, s3, v3
	v_dual_cndmask_b32 v3, v3, v5 :: v_dual_cndmask_b32 v0, v0, v4
	v_xor_b32_e32 v5, s2, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_le_u32_e32 vcc_lo, s3, v3
	v_add_nc_u32_e32 v4, 1, v0
	s_load_b128 s[0:3], s[0:1], 0x8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v0, v0, v4, vcc_lo
	v_xor_b32_e32 v0, v0, v5
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_nc_u32_e32 v0, v0, v5
	v_mul_lo_u32 v3, v0, s4
	s_delay_alu instid0(VALU_DEP_1)
	v_sub_nc_u32_e32 v7, v1, v3
	s_cbranch_scc1 .LBB0_4
; %bb.2:                                ; %.lr.ph.preheader
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_mad_u64_u32 v[3:4], null, v7, s5, 1
	v_mad_u64_u32 v[5:6], null, v0, s5, 1
	v_mov_b32_e32 v8, 0
	v_ashrrev_i32_e32 v4, 31, v3
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_ashrrev_i32_e32 v6, 31, v5
	v_lshlrev_b64 v[3:4], 2, v[3:4]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_lshlrev_b64 v[5:6], 2, v[5:6]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v3, vcc_lo, s0, v3
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_ci_u32_e32 v4, vcc_lo, s1, v4, vcc_lo
	v_add_co_u32 v5, vcc_lo, s0, v5
	s_delay_alu instid0(VALU_DEP_4)
	v_add_co_ci_u32_e32 v6, vcc_lo, s1, v6, vcc_lo
	s_add_i32 s0, s5, -1
.LBB0_3:                                ; %.lr.ph
                                        ; =>This Inner Loop Header: Depth=1
	global_load_b32 v9, v[5:6], off
	global_load_b32 v10, v[3:4], off
	v_add_co_u32 v3, vcc_lo, v3, 4
	v_add_co_ci_u32_e32 v4, vcc_lo, 0, v4, vcc_lo
	v_add_co_u32 v5, vcc_lo, v5, 4
	v_add_co_ci_u32_e32 v6, vcc_lo, 0, v6, vcc_lo
	s_add_i32 s0, s0, -1
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	s_cmp_eq_u32 s0, 0
	s_waitcnt vmcnt(0)
	v_sub_f32_e32 v9, v9, v10
	v_fmac_f32_e32 v8, v9, v9
	s_cbranch_scc0 .LBB0_3
.LBB0_4:                                ; %Flow63
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cmp_gt_f32_e32 vcc_lo, 0xf800000, v8
	v_mul_f32_e32 v3, 0x4f800000, v8
	v_cndmask_b32_e32 v5, v8, v3, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_3) | instid1(VALU_DEP_2)
	v_sqrt_f32_e32 v3, v5
	s_waitcnt_depctr 0xfff
	v_add_nc_u32_e32 v4, -1, v3
	v_add_nc_u32_e32 v6, 1, v3
	v_fma_f32 v8, -v4, v3, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fma_f32 v9, -v6, v3, v5
	s_waitcnt lgkmcnt(0)
	v_cmp_ge_f32_e64 s0, 0, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v8, v3, v4, s0
	v_cmp_lt_f32_e64 s0, 0, v9
	v_mad_u64_u32 v[3:4], null, v7, s4, v[0:1]
	v_lshlrev_b64 v[0:1], 2, v[1:2]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v6, v8, v6, s0
	v_ashrrev_i32_e32 v4, 31, v3
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mul_f32_e32 v7, 0x37800000, v6
	v_lshlrev_b64 v[2:3], 2, v[3:4]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_3) | instid1(VALU_DEP_4)
	v_cndmask_b32_e32 v4, v6, v7, vcc_lo
	v_add_co_u32 v0, vcc_lo, s2, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, s3, v1, vcc_lo
	v_cmp_class_f32_e64 vcc_lo, v5, 0x260
	v_cndmask_b32_e32 v4, v4, v5, vcc_lo
	v_add_co_u32 v2, vcc_lo, s2, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s3, v3, vcc_lo
	s_clause 0x1
	global_store_b32 v[0:1], v4, off
	global_store_b32 v[2:3], v4, off
.LBB0_5:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z16computeDistancesiiPfS_
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 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	_Z16computeDistancesiiPfS_, .Lfunc_end0-_Z16computeDistancesiiPfS_
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 664
; 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: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z16findPermutationsPciyy ; -- Begin function _Z16findPermutationsPciyy
	.globl	_Z16findPermutationsPciyy
	.p2align	8
	.type	_Z16findPermutationsPciyy,@function
_Z16findPermutationsPciyy:              ; @_Z16findPermutationsPciyy
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x2c
	s_load_b128 s[4:7], s[0:1], 0x10
	s_waitcnt lgkmcnt(0)
	s_and_b32 s2, s2, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s15, s2, v[0:1]
	v_add_co_u32 v0, s2, v1, s4
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e64 v1, null, 0, s5, s2
	s_mov_b32 s2, exec_lo
	v_cmpx_gt_u64_e64 s[6:7], v[0:1]
	s_cbranch_execz .LBB1_13
; %bb.1:
	v_cmp_ne_u64_e32 vcc_lo, 0, v[0:1]
	v_mov_b32_e32 v2, 0
	v_mov_b32_e32 v3, 0
	s_and_saveexec_b32 s4, vcc_lo
	s_cbranch_execz .LBB1_5
; %bb.2:                                ; %.lr.ph.i.preheader
	v_dual_mov_b32 v2, 0 :: v_dual_mov_b32 v5, v1
	v_dual_mov_b32 v3, 0 :: v_dual_mov_b32 v4, v0
	s_mov_b32 s5, 0
.LBB1_3:                                ; %.lr.ph.i
                                        ; =>This Inner Loop Header: Depth=1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_lshrrev_b64 v[6:7], 1, v[4:5]
	v_and_b32_e32 v8, 1, v4
	v_cmp_gt_u64_e64 s2, 2, v[4:5]
	v_dual_mov_b32 v4, v6 :: v_dual_mov_b32 v5, v7
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v2, s3, v8, v2
	v_add_co_ci_u32_e64 v3, s3, 0, v3, s3
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_or_b32 s5, s2, s5
	s_and_not1_b32 exec_lo, exec_lo, s5
	s_cbranch_execnz .LBB1_3
; %bb.4:                                ; %Flow37
	s_or_b32 exec_lo, exec_lo, s5
.LBB1_5:                                ; %Flow38
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_3) | instid1(SALU_CYCLE_1)
	s_or_b32 exec_lo, exec_lo, s4
	s_load_b32 s2, s[0:1], 0x8
	s_waitcnt lgkmcnt(0)
	s_ashr_i32 s3, s2, 31
	v_cmp_eq_u64_e64 s2, s[2:3], v[2:3]
	s_delay_alu instid0(VALU_DEP_1)
	s_and_b32 exec_lo, exec_lo, s2
	s_cbranch_execz .LBB1_13
; %bb.6:
	s_mov_b32 s4, exec_lo
	s_mov_b32 s3, exec_lo
	v_mbcnt_lo_u32_b32 v6, s4, 0
                                        ; implicit-def: $vgpr4_vgpr5
	s_delay_alu instid0(VALU_DEP_1)
	v_cmpx_eq_u32_e32 0, v6
	s_cbranch_execz .LBB1_8
; %bb.7:
	s_bcnt1_i32_b32 s2, s4
	s_delay_alu instid0(SALU_CYCLE_1)
	v_dual_mov_b32 v5, 0 :: v_dual_mov_b32 v4, s2
	s_getpc_b64 s[4:5]
	s_add_u32 s4, s4, curPosition@rel32@lo+4
	s_addc_u32 s5, s5, curPosition@rel32@hi+12
	global_atomic_add_u64 v[4:5], v5, v[4:5], s[4:5] glc
.LBB1_8:
	s_or_b32 exec_lo, exec_lo, s3
	s_waitcnt vmcnt(0)
	v_readfirstlane_b32 s2, v5
	v_readfirstlane_b32 s3, v4
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB1_13
; %bb.9:                                ; %.lr.ph
	s_load_b64 s[0:1], s[0:1], 0x0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v5, s3, s3, v6
	v_add_co_ci_u32_e64 v4, null, s2, 0, s3
	s_mov_b32 s2, 0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mul_lo_u32 v7, v5, v3
	v_mul_lo_u32 v8, v4, v2
	s_waitcnt lgkmcnt(0)
	v_mad_u64_u32 v[3:4], null, v5, v2, s[0:1]
	v_mov_b32_e32 v5, 0
	v_mov_b32_e32 v6, 0
	s_mov_b64 s[0:1], 0
	s_delay_alu instid0(VALU_DEP_3)
	v_add3_u32 v4, v8, v4, v7
.LBB1_10:                               ; =>This Inner Loop Header: Depth=1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_and_b32_e32 v2, 1, v0
	s_mov_b32 s3, exec_lo
	v_cmpx_eq_u32_e32 1, v2
	s_cbranch_execz .LBB1_12
; %bb.11:                               ;   in Loop: Header=BB1_10 Depth=1
	v_add_co_u32 v7, vcc_lo, v5, 1
	v_add_co_ci_u32_e32 v8, vcc_lo, 0, v6, vcc_lo
	v_add_co_u32 v9, vcc_lo, v3, v5
	v_add_co_ci_u32_e32 v10, vcc_lo, v4, v6, vcc_lo
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_dual_mov_b32 v2, s0 :: v_dual_mov_b32 v5, v7
	v_mov_b32_e32 v6, v8
	global_store_b8 v[9:10], v2, off
.LBB1_12:                               ;   in Loop: Header=BB1_10 Depth=1
	s_or_b32 exec_lo, exec_lo, s3
	v_lshrrev_b64 v[7:8], 1, v[0:1]
	v_cmp_gt_u64_e32 vcc_lo, 2, v[0:1]
	s_add_u32 s0, s0, 1
	s_addc_u32 s1, s1, 0
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(SALU_CYCLE_1)
	v_dual_mov_b32 v0, v7 :: v_dual_mov_b32 v1, v8
	s_or_b32 s2, vcc_lo, s2
	s_and_not1_b32 exec_lo, exec_lo, s2
	s_cbranch_execnz .LBB1_10
.LBB1_13:                               ; %.loopexit
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z16findPermutationsPciyy
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 288
		.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 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_end1:
	.size	_Z16findPermutationsPciyy, .Lfunc_end1-_Z16findPermutationsPciyy
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 548
; 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: 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
	.protected	curPosition             ; @curPosition
	.type	curPosition,@object
	.section	.bss,"aw",@nobits
	.globl	curPosition
	.p2align	3, 0x0
curPosition:
	.quad	0                               ; 0x0
	.size	curPosition, 8

	.type	__hip_cuid_,@object             ; @__hip_cuid_
	.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 curPosition
	.addrsig_sym __hip_cuid_
	.amdgpu_metadata
---
amdhsa.kernels:
  - .args:
      - .offset:         0
        .size:           4
        .value_kind:     by_value
      - .offset:         4
        .size:           4
        .value_kind:     by_value
      - .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:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z16computeDistancesiiPfS_
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z16computeDistancesiiPfS_.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
      - .offset:         8
        .size:           4
        .value_kind:     by_value
      - .offset:         16
        .size:           8
        .value_kind:     by_value
      - .offset:         24
        .size:           8
        .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:           _Z16findPermutationsPciyy
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z16findPermutationsPciyy.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     11
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
amdhsa.target:   amdgcn-amd-amdhsa--gfx1100
amdhsa.version:
  - 1
  - 2
...

	.end_amdgpu_metadata
