
#include "cuda_runtime.h"
#include "device_launch_parameters.h"

#include <stdio.h>

#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <algorithm>
#include <time.h>
#include <cmath>
#include <limits.h>

#define MAXHOPS 4
#define MAX_WAITING_TIME 420
#define BLOCK_LENGTH 512
#define END_OF_ARRAY 2147483647
#define BUFFER_LENGTH 50
#define AIRPORT_PATH "C:/Users/acer/Desktop/Semester 7/Project/AA_airports.txt" //"C:/Users/acer/Desktop/Semester 7/Project/Data/AA_airports.txt"

#define FLIGHT_PATH "C:/Users/acer/Desktop/Semester 7/Project/AA_data1.txt" //"C:/Users/acer/Desktop/Semester 7/Project/Data/OAGX_data_num_1.txt"

bool bool1 = true;
bool bool2 = false;
using namespace std;

cudaError_t addWithCuda(int *c, const int *a, const int *b, size_t size);

// for cuda error checking
#define cudaCheckErrors(msg) \
    do { \
        cudaError_t __err = cudaGetLastError(); \
        if (__err != cudaSuccess) { \
            fprintf(stderr, "Fatal error: %s (%s at %s:%d)\n", \
                msg, cudaGetErrorString(__err), \
                __FILE__, __LINE__); \
            fprintf(stderr, "*** FAILED - ABORTING\n"); \
            return 1; \
        } \
    } while (0)


int ADJ_MATRIX_DIM;
__device__ int DEV_ADJ_MATRIX_DIM;

// FYP_BFS.cpp : Defines the entry point for the console application.
//

///////////////////Global Variables///////////////////
struct Flight{
	int flightNumber;
	int source;
	int destination;
	int arrivalTime;
	int departureTime;
	int price;
	string code;
};

vector<string> Airport_List;
vector<Flight> Flight_List;
vector<int>** AdjMatrix;

//////////////////////////////////////////////////////

//////////////////Data Read///////////////////////////
int readAirports(){
	
	ifstream myFile;
	myFile.open(AIRPORT_PATH);
	int numberOfAirports=0;
	if(myFile.is_open()){

		
		string line;

		cout<<"Reading Airports"<<endl;
		
		while(myFile.good()){
//------------------------------changed-------------------//			
			//myFile.ignore(256,' ');
			string s;
			myFile>>s;
			Airport_List.push_back(s);
			
			numberOfAirports++;
		}
	}
	myFile.close();
	ADJ_MATRIX_DIM = Airport_List.size();

	//cudaMemcpy(DEV_ADJ_MATRIX_DIM,&ADJ_MATRIX_DIM,sizeof(int),cudaMemcpyHostToDevice);
	cudaMemcpyToSymbol(DEV_ADJ_MATRIX_DIM,&ADJ_MATRIX_DIM,sizeof(int),0,cudaMemcpyHostToDevice);
	cudaCheckErrors("Error copying adj matrix dim to device");
	cout<<Airport_List.size()<<" Airports Found"<<endl;

	return 1;
}


void readFlights(){

	//this is a bloody array of pointers
	AdjMatrix = new vector<int>*[Airport_List.size()];

	for(int i=0;i<Airport_List.size();i++){
		//thisi is a bloody array of vectors
		AdjMatrix[i] = new vector<int>[Airport_List.size()];
	}

	ifstream myFile;
	myFile.open(FLIGHT_PATH);

	int numOfFlights = 0;
	if(myFile.is_open()){
				
		string line;
		
		Flight tempFlight;
		while(myFile.good()){
//---------------------------------------changed----------------------------------------//			
			tempFlight.flightNumber= numOfFlights;
			/*myFile>>tempFlight.source;
			myFile>>tempFlight.destination;
			myFile>>tempFlight.departureTime;
			myFile>>tempFlight.arrivalTime;
			if(tempFlight.arrivalTime<tempFlight.departureTime) tempFlight.arrivalTime+=10080;
			myFile>>tempFlight.price;
			
			myFile>>tempFlight.code;*/

			myFile>>tempFlight.source;
			myFile>>tempFlight.destination;
			myFile>>tempFlight.price;
			myFile>>tempFlight.departureTime;
			myFile>>tempFlight.arrivalTime;
			if(tempFlight.arrivalTime<tempFlight.departureTime) tempFlight.arrivalTime+=10080;			
			
			myFile>>tempFlight.code;
						
			//add this flight to the adjmatrix;
			Flight_List.push_back(tempFlight);

			AdjMatrix[tempFlight.source][tempFlight.destination].push_back(tempFlight.flightNumber);

			numOfFlights++;

			if(numOfFlights%10000==0) cout<<"*";
		}
			
			cout<<endl;
	}
	myFile.close();
	
	cout<<Flight_List.size()<<" Flights Found"<<endl;
}

/////////////////////////////////////////////////////////////////////////////////////


struct route{
	vector<int> flights;
	int weight;
};



int initializeFlightListInDevice(Flight* &dev_flight_list){
	//allocate space for the flight list in cuda
	cudaMalloc((void**)&dev_flight_list, Flight_List.size()*sizeof(Flight));
	cudaCheckErrors("Failed to allocate memory to flight list");	
	cudaMemcpy(dev_flight_list,&Flight_List[0],Flight_List.size()*sizeof(Flight),cudaMemcpyHostToDevice);
	cudaCheckErrors("Failed to copy flight list");
	
	return 1;
}



int initializeAdjMatrixInDevice(int** &dev_adj_list, int ** &host_adj_vector){

	
	size_t size = ADJ_MATRIX_DIM*ADJ_MATRIX_DIM*sizeof(int*);

	

	//the vector in host that records the pointers in device memory
	host_adj_vector = (int **)malloc(size);
	
	//i indicates rows and j indicates columns of the adjacency matrix
	//allocate device memory for the boolean vector
	
	//allocate memory for each manhattan in device and store the pointer in memory
	for(int i=0;i<ADJ_MATRIX_DIM;i++){
		for(int j=0;j<ADJ_MATRIX_DIM;j++){
			
			cudaMalloc((void **)&host_adj_vector[i*ADJ_MATRIX_DIM+j],AdjMatrix[i][j].size()*sizeof(int));
			cudaCheckErrors("Failed to allocate memory to airport list manhattan:");
			cudaMemcpy(host_adj_vector[i*ADJ_MATRIX_DIM+j],&AdjMatrix[i][j][0],AdjMatrix[i][j].size()*sizeof(int),cudaMemcpyHostToDevice);
			cudaCheckErrors("Failed to copy data to airport list manhattan:");
			
		}
		if(i%100==0) cout<<"&";
	}	
	cout<<endl;

	cudaMalloc((void***)&dev_adj_list,size);
	cudaCheckErrors("Failed to allocate memory to pointer list in device");
	cudaMemcpy(dev_adj_list,host_adj_vector,size,cudaMemcpyHostToDevice);
	cudaCheckErrors("Failed to allocate data to pointer list in device");

	return 1;
}

int initializeBooleanMatrixInDevice(int* &boolean_matrix){
	int* host_bool_matrix= new int[ADJ_MATRIX_DIM*ADJ_MATRIX_DIM];
	for(int i=0;i<ADJ_MATRIX_DIM;i++){
		for(int j=0;j<ADJ_MATRIX_DIM;j++){
			host_bool_matrix[i*ADJ_MATRIX_DIM+j] =  (AdjMatrix[i][j].size() !=0);
		}
	}
	size_t size_bool =ADJ_MATRIX_DIM*ADJ_MATRIX_DIM*sizeof(int);
	cudaMalloc((void**)&boolean_matrix,size_bool);
	cudaCheckErrors("Failed to allocate memory to boolean adj matrix");
	cudaMemcpy(boolean_matrix,host_bool_matrix,size_bool,cudaMemcpyHostToDevice);
	cudaCheckErrors("Failed to move data to boolean adj matrix");
	delete(host_bool_matrix);

	return 1;
}

int initializeBuffer(int* &buffer){

	//buffer size
	int* host_bool_buffer= new int[ADJ_MATRIX_DIM*ADJ_MATRIX_DIM*MAXHOPS];

	//
	for(int k=0;k<MAXHOPS;k++){
		for(int i=0;i<ADJ_MATRIX_DIM;i++){
			for(int j=0;j<ADJ_MATRIX_DIM;j++){
				host_bool_buffer[k*ADJ_MATRIX_DIM*ADJ_MATRIX_DIM+ i*ADJ_MATRIX_DIM+j] = false;
			}
		}
	}

	size_t size_bool =MAXHOPS*ADJ_MATRIX_DIM*ADJ_MATRIX_DIM*sizeof(int);
	cudaMalloc((void**)&buffer,size_bool);
	cudaCheckErrors("Failed to allocate memory to boolean buffer");
	cudaMemcpy(buffer,host_bool_buffer,size_bool,cudaMemcpyHostToDevice);
	cudaCheckErrors("Failed to move data to boolean buffer");
	delete(host_bool_buffer);
	return 1;
}

__global__ void testBuffer(int* buffer,int* result, int size){
	int id =blockIdx.x*blockDim.x+threadIdx.x;
	if(id<size){
		if(buffer[id])
		result[id] = 1234345;
		else
			result[id] = 0;
	}
}

__global__ void testMatrix(int** devVector,int size, int* result, Flight* flights){
	//block dimension is the number of threads in a block. since blockid is zero based multiplying gets you somewhre close. 
	//to gt the correct position all u have to do then is to add the thread id
	int i = blockIdx.x*blockDim.x+threadIdx.x;
	result[i] = 0;
	if(i<size*size && devVector[i]!= NULL )		
		result[i] = flights[devVector[i][0]].source;
}

__global__ void testMatrixBoolean(int* devMatrixBoolean,int size, int* result){
	int i = blockIdx.x*blockDim.x+threadIdx.x;
	result[i] = 0;
	//put 1 if a manhattan exists for the particular position
	if(i<size*size && devMatrixBoolean[i])		
		result[i] = 1;
}
//initialize buffer to end of array value so that as values are filled the array size will change, but will still be
//indicated by the first end of array value

//__global__ void initializeBuffer(bool* buffer, int size){
//	int id = blockIdx.x*blockDim.x+threadIdx.x;
//	if(id<size)
//		buffer[id] = false;
//}

//give enough threads to span the source row
//maximum id should be adj_matrix_dimension

__global__ void firstExpansion(int* buffer, int*dev_boolean_matrix, int source){
	int id = blockIdx.x*blockDim.x+threadIdx.x;
	//the source row. 
	
	//if(id<DEV_ADJ_MATRIX_DIM*DEV_ADJ_MATRIX_DIM){
	//	//if(dev_adj_matrix[DEV_ADJ_MATRIX_DIM*(source-1)+id]!=NULL){
	//	//	//set source to the precedant node list of each relevant airport
	//	//	buffer[id*BUFFER_LENGTH] = source;
	//	//}
	//}
}

//max id is number of airports
__global__ void expansion(int* dev_buffer1,int* boolean_matrix, int* dev_source_vector,int matrix_dimension){
	
	int id = blockIdx.x*blockDim.x+threadIdx.x;
		int row = (int) floor((double)id/matrix_dimension);
		int column = id%matrix_dimension;

	for(int k=0;k<MAXHOPS;k++){
		
		if(row<matrix_dimension && column<matrix_dimension ){
		
			//for the source row if the matrix row column position has a manhattan set the buffer position to true
			dev_buffer1[k*matrix_dimension*matrix_dimension+id] = (dev_source_vector[row] && boolean_matrix[id]);
		
		
		}
		__syncthreads();
		//set the 'next source vector' positions to zero by the first of each row
		if(row<matrix_dimension && column<matrix_dimension&& column==0) dev_source_vector[row]= 0;
		__syncthreads();
		
		//if the relevant cell in the frame has been set, contribute to making sure the relevant cell in the 'next source vector' is set to 1
		if((row<matrix_dimension && column<matrix_dimension) && dev_buffer1[k*matrix_dimension*matrix_dimension+id]){
			dev_source_vector[column] = 1;
		}

		__syncthreads();
	}
}

//__global__ void copyNextSource(bool* next_source_array, bool* current_array, int size){
//	int id = blockDim.x*blockIdx.x+threadIdx.x;
//	if(id<size)
//		cudaMemcpy
//}

int main(int argc)
{
	
	readAirports();
	readFlights();
	
	int source = 344;
	int destination = 190;

	
	Flight* dev_flight_list;
	
	int** dev_adj_list;
	int* dev_adj_matrix_boolean;
	int** host_adj_vector;
	int* dev_level1;
	int* dev_level2;
	int* frames;
	//boolean array containing source airports in the next expansion
	int* dev_next_source_array;
	
	size_t matrixSize = ADJ_MATRIX_DIM*ADJ_MATRIX_DIM*sizeof(int);
	size_t bufferSize = ADJ_MATRIX_DIM*ADJ_MATRIX_DIM*sizeof(int);
		
	//add the flight array to GPU memory
	cout<<"Initializing Flights"<<endl;	
	initializeFlightListInDevice(dev_flight_list);
	cout<<"finished initializing FLights"<<endl;

	//add the adjacency matrix with manhattans to GPU
	cout<<"Initializing Matrix"<<endl;
	initializeAdjMatrixInDevice(dev_adj_list,host_adj_vector);	
	cout<<"Finished with adj matrix"<<endl;

	//add the boolean adjacency matrix (without manhattans) to GPU
	cout<<"Initializing Boolean Matrix"<<endl;
	initializeBooleanMatrixInDevice(dev_adj_matrix_boolean);	
	cout<<"Finished with boolean matrix"<<endl;

	//allocate memory for the 'next source array' in device
	cudaMalloc((void**)&dev_next_source_array,ADJ_MATRIX_DIM*sizeof(int));
	cudaCheckErrors("Failed to allocate memory to next source list");

	int* source_vector = new int [ADJ_MATRIX_DIM];

	//initialize the 'next source vector' with the source row of the adjacency matrix
	for(int i=0;i<ADJ_MATRIX_DIM;i++){
		source_vector[i] = AdjMatrix[source][i].size()!=0;
	}
	//intialize 'next source array' in device
	cudaMemcpy(dev_next_source_array,source_vector,ADJ_MATRIX_DIM*sizeof(int),cudaMemcpyHostToDevice);
	cudaCheckErrors("Failed to move data  to next source list");

	delete(source_vector);
	//////////////////////initialize the buffers for all the levels/////////////////
	cout<<"initializing Buffers"<<endl;

	initializeBuffer(dev_level1);
	//initializeBuffer(dev_level2);
	
	cout<<"initialized buffers"<<endl;
	///////////////////////////////////////Interations///////////////////////////////////////
	
	int numBlocks = ceil((double)ADJ_MATRIX_DIM*ADJ_MATRIX_DIM/BLOCK_LENGTH);

	ofstream myFile;
	myFile.open("nextSource.txt");

	
	int* myArray = (int*) malloc(ADJ_MATRIX_DIM*sizeof(int));
	cudaMemcpy(myArray,dev_next_source_array,ADJ_MATRIX_DIM*sizeof(int),cudaMemcpyDeviceToHost);
	cudaCheckErrors("Failed to copy data from buffer array to host array");


	for(int i=0;i<ADJ_MATRIX_DIM;i++){
		//if(myArray[i]!= NULL)
			myFile<<myArray[i];
	}
	myFile<<endl<<endl;
	free(myArray);
	cout<<"moving into first expansion"<<endl;

	ofstream myFile2;
	myFile2.open("Frame1.txt");
	int* myArray2 = (int*)malloc(MAXHOPS*ADJ_MATRIX_DIM*ADJ_MATRIX_DIM*sizeof(int));

	 expansion<<<numBlocks,BLOCK_LENGTH>>>(dev_level1,dev_adj_matrix_boolean,dev_next_source_array,ADJ_MATRIX_DIM);
	 cudaThreadSynchronize();
	 cudaCheckErrors("Error occured in expansion");
	cout<<"finished expansion"<<endl;
	cudaMemcpy(myArray2,dev_level1,MAXHOPS*ADJ_MATRIX_DIM*ADJ_MATRIX_DIM*sizeof(int),cudaMemcpyDeviceToHost);
	 cudaCheckErrors("Failed to retrieve memory from first frame");
	 
	 for(int j=0;j<MAXHOPS;j++){
		for(int i=0;i<ADJ_MATRIX_DIM*ADJ_MATRIX_DIM;i++){
		//if(myArray[i]!= NULL)
			myFile2<<myArray2[j*ADJ_MATRIX_DIM*ADJ_MATRIX_DIM+i];
		}
		myFile2<<endl;
	 }
	myFile2<<endl<<endl;
	myFile2.close();

	free(myArray2);
	int* myArray1 = (int*)malloc(ADJ_MATRIX_DIM*sizeof(int));

	/* expansion<<<numBlocks,BLOCK_LENGTH>>>(dev_level1,dev_adj_matrix_boolean,dev_next_source_array,ADJ_MATRIX_DIM);
	 cudaThreadSynchronize();
	 cudaCheckErrors("Error occured in expansion");
	cout<<"finished expansion"<<endl;*/
	 cudaMemcpy(myArray1,dev_next_source_array,ADJ_MATRIX_DIM*sizeof(int),cudaMemcpyDeviceToHost);
	 cudaCheckErrors("Failed to retrieve memory from buffer array 1.2 to host");
	for(int i=0;i<ADJ_MATRIX_DIM;i++){
		//if(myArray[i]!= NULL)
			myFile<<myArray1[i];
	}
	myFile<<endl<<endl;
	free(myArray1);
	myFile.close();
	
	
	//cudaFree(dev_next_source_array);
	
	
	cudaFree(dev_level1);
	cudaFree(dev_level2);
	cudaFree(dev_flight_list);
	
	//for(int i=0;i<ADJ_MATRIX_DIM*ADJ_MATRIX_DIM;i++){
	//	//cout<<i<<endl;
	//	if(host_adj_vector[i] !=NULL)
	//		cudaFree(host_adj_vector[i]);
	//}
	cudaFree(dev_adj_list);
	free(host_adj_vector);
	
	
	
	return 0;
}


	.file	"tmpxft_002fe5e1_00000000-6_kernel.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB4429:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE4429:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.section	.text._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev,"axG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev
	.type	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev, @function
_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev:
.LFB5380:
	.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
.L3:
	cmpq	%rbp, %r12
	je	.L8
	movq	%rbp, %rdi
	addq	$32, %rbp
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L3
.L8:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.L2
	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
.L2:
	.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
.LFE5380:
	.size	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev, .-_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev
	.weak	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED1Ev
	.set	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED1Ev,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev
	.section	.text._ZNSt6vectorI6FlightSaIS0_EED2Ev,"axG",@progbits,_ZNSt6vectorI6FlightSaIS0_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorI6FlightSaIS0_EED2Ev
	.type	_ZNSt6vectorI6FlightSaIS0_EED2Ev, @function
_ZNSt6vectorI6FlightSaIS0_EED2Ev:
.LFB5383:
	.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
.L10:
	cmpq	%rbp, %r12
	je	.L14
	leaq	24(%rbp), %rdi
	addq	$56, %rbp
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L10
.L14:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.L9
	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
.L9:
	.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
.LFE5383:
	.size	_ZNSt6vectorI6FlightSaIS0_EED2Ev, .-_ZNSt6vectorI6FlightSaIS0_EED2Ev
	.weak	_ZNSt6vectorI6FlightSaIS0_EED1Ev
	.set	_ZNSt6vectorI6FlightSaIS0_EED1Ev,_ZNSt6vectorI6FlightSaIS0_EED2Ev
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"/home/ubuntu/Datasets/stackv2/train-structured/chathura-g21/FYP1/master/Trunk/Source/FYPCudaNew/FYPCudaNew/kernel.cu"
.LC1:
	.string	"Failed to allocate memory to flight list"
.LC2:
	.string	"Fatal error: %s (%s at %s:%d)\n"
.LC3:
	.string	"*** FAILED - ABORTING\n"
.LC4:
	.string	"Failed to copy flight list"
	.text
	.globl	_Z28initializeFlightListInDeviceRP6Flight
	.type	_Z28initializeFlightListInDeviceRP6Flight, @function
_Z28initializeFlightListInDeviceRP6Flight:
.LFB4422:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movq	8+Flight_List(%rip), %rsi
	movq	%rdi, %rbx
	subq	Flight_List(%rip), %rsi
	call	cudaMalloc@PLT
	call	cudaGetLastError@PLT
	testl	%eax, %eax
	je	.L16
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	leaq	.LC0(%rip), %r9
	leaq	.LC1(%rip), %rcx
	pushq	%rsi
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movq	%rax, %r8
	pushq	$173
	.cfi_def_cfa_offset 32
	jmp	.L22
.L16:
	.cfi_restore_state
	movq	Flight_List(%rip), %rsi
	movq	(%rbx), %rdi
	movl	$1, %ecx
	movq	8+Flight_List(%rip), %rdx
	subq	%rsi, %rdx
	call	cudaMemcpy@PLT
	call	cudaGetLastError@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L17
	call	cudaGetErrorString@PLT
	leaq	.LC0(%rip), %r9
	pushq	%rcx
	.cfi_def_cfa_offset 24
	movq	%rax, %r8
	leaq	.LC4(%rip), %rcx
	pushq	$175
	.cfi_def_cfa_offset 32
.L22:
	movq	stderr(%rip), %rdi
	leaq	.LC2(%rip), %rdx
	movl	$2, %esi
	xorl	%eax, %eax
	call	__fprintf_chk@PLT
	movq	stderr(%rip), %rdi
	popq	%rax
	.cfi_def_cfa_offset 24
	movl	$2, %esi
	popq	%rdx
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	leaq	.LC3(%rip), %rdx
	call	__fprintf_chk@PLT
.L17:
	movl	$1, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4422:
	.size	_Z28initializeFlightListInDeviceRP6Flight, .-_Z28initializeFlightListInDeviceRP6Flight
	.section	.rodata.str1.1
.LC5:
	.string	"Failed to allocate memory to airport list manhattan:"
.LC6:
	.string	"Failed to copy data to airport list manhattan:"
.LC7:
	.string	"&"
.LC8:
	.string	"Failed to allocate memory to pointer list in device"
.LC9:
	.string	"Failed to allocate data to pointer list in device"
	.text
	.globl	_Z27initializeAdjMatrixInDeviceRPPiS1_
	.type	_Z27initializeAdjMatrixInDeviceRPPiS1_, @function
_Z27initializeAdjMatrixInDeviceRPPiS1_:
.LFB4423:
	.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	%rdi, %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	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	%rsi, %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movl	ADJ_MATRIX_DIM(%rip), %eax
	imull	%eax, %eax
	cltq
	salq	$3, %rax
	movq	%rax, %rdi
	movq	%rax, 8(%rsp)
	call	malloc@PLT
	movq	%rax, (%rbx)
.L24:
	cmpl	%ebp, ADJ_MATRIX_DIM(%rip)
	movl	%ebp, %r12d
	jle	.L30
	leaq	0(,%rbp,8), %r14
	xorl	%r15d, %r15d
.L27:
	movl	ADJ_MATRIX_DIM(%rip), %eax
	movl	%r15d, 20(%rsp)
	cmpl	%r15d, %eax
	jle	.L39
	imulq	$24, %r15, %rdx
	movq	AdjMatrix(%rip), %rcx
	imull	%r12d, %eax
	movq	%rdx, %rsi
	addq	(%rcx,%r14), %rsi
	movq	%rdx, 24(%rsp)
	movq	%rsi, %rcx
	addl	%r15d, %eax
	movq	8(%rsi), %rsi
	subq	(%rcx), %rsi
	movq	(%rbx), %rcx
	cltq
	leaq	(%rcx,%rax,8), %rdi
	call	cudaMalloc@PLT
	call	cudaGetLastError@PLT
	movq	24(%rsp), %rdx
	testl	%eax, %eax
	movl	%eax, %edi
	je	.L25
	call	cudaGetErrorString@PLT
	leaq	.LC5(%rip), %rcx
	pushq	%r9
	.cfi_remember_state
	.cfi_def_cfa_offset 104
	movq	%rax, %r8
	leaq	.LC0(%rip), %r9
	pushq	$200
	.cfi_def_cfa_offset 112
	jmp	.L38
.L25:
	.cfi_restore_state
	movq	AdjMatrix(%rip), %rax
	movl	20(%rsp), %ecx
	incq	%r15
	addq	(%rax,%r14), %rdx
	movl	ADJ_MATRIX_DIM(%rip), %eax
	movq	(%rdx), %rsi
	movq	8(%rdx), %rdx
	imull	%r12d, %eax
	subq	%rsi, %rdx
	addl	%ecx, %eax
	movq	(%rbx), %rcx
	cltq
	movq	(%rcx,%rax,8), %rdi
	movl	$1, %ecx
	call	cudaMemcpy@PLT
	call	cudaGetLastError@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L27
	call	cudaGetErrorString@PLT
	leaq	.LC0(%rip), %r9
	leaq	.LC6(%rip), %rcx
	pushq	%rdi
	.cfi_remember_state
	.cfi_def_cfa_offset 104
	movq	%rax, %r8
	pushq	$202
	.cfi_def_cfa_offset 112
	jmp	.L38
.L39:
	.cfi_restore_state
	movl	%r12d, %eax
	movl	$100, %ecx
	cltd
	idivl	%ecx
	testl	%edx, %edx
	jne	.L29
	leaq	.LC7(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
.L29:
	incq	%rbp
	jmp	.L24
.L30:
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	movq	8(%rsp), %rsi
	movq	%r13, %rdi
	call	cudaMalloc@PLT
	call	cudaGetLastError@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L31
	call	cudaGetErrorString@PLT
	leaq	.LC0(%rip), %r9
	leaq	.LC8(%rip), %rcx
	pushq	%rsi
	.cfi_remember_state
	.cfi_def_cfa_offset 104
	movq	%rax, %r8
	pushq	$210
	.cfi_def_cfa_offset 112
	jmp	.L38
.L31:
	.cfi_restore_state
	movq	0(%r13), %rdi
	movq	8(%rsp), %rdx
	movl	$1, %ecx
	movq	(%rbx), %rsi
	call	cudaMemcpy@PLT
	call	cudaGetLastError@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L26
	call	cudaGetErrorString@PLT
	leaq	.LC0(%rip), %r9
	pushq	%rcx
	.cfi_def_cfa_offset 104
	movq	%rax, %r8
	leaq	.LC9(%rip), %rcx
	pushq	$212
	.cfi_def_cfa_offset 112
.L38:
	movq	stderr(%rip), %rdi
	leaq	.LC2(%rip), %rdx
	movl	$2, %esi
	xorl	%eax, %eax
	call	__fprintf_chk@PLT
	movq	stderr(%rip), %rdi
	popq	%rax
	.cfi_def_cfa_offset 104
	movl	$2, %esi
	popq	%rdx
	.cfi_def_cfa_offset 96
	xorl	%eax, %eax
	leaq	.LC3(%rip), %rdx
	call	__fprintf_chk@PLT
.L26:
	addq	$40, %rsp
	.cfi_def_cfa_offset 56
	movl	$1, %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
.LFE4423:
	.size	_Z27initializeAdjMatrixInDeviceRPPiS1_, .-_Z27initializeAdjMatrixInDeviceRPPiS1_
	.section	.rodata.str1.1
.LC10:
	.string	"Failed to allocate memory to boolean adj matrix"
.LC11:
	.string	"Failed to move data to boolean adj matrix"
	.text
	.globl	_Z31initializeBooleanMatrixInDeviceRPi
	.type	_Z31initializeBooleanMatrixInDeviceRPi, @function
_Z31initializeBooleanMatrixInDeviceRPi:
.LFB4424:
	.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
	movq	%rdi, %rbp
	movl	ADJ_MATRIX_DIM(%rip), %edi
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	imull	%edi, %edi
	movslq	%edi, %rdi
	salq	$2, %rdi
	call	_Znam@PLT
	movslq	ADJ_MATRIX_DIM(%rip), %r8
	movq	AdjMatrix(%rip), %r9
	movq	%rax, %r12
	movq	%rax, %rdi
	xorl	%eax, %eax
	movq	%r8, %rdx
	salq	$2, %r8
.L41:
	cmpl	%eax, %edx
	jle	.L50
	movq	(%r9,%rax,8), %rsi
	xorl	%ecx, %ecx
.L42:
	movq	(%rsi), %rbx
	xorl	%r10d, %r10d
	cmpq	%rbx, 8(%rsi)
	setne	%r10b
	addq	$24, %rsi
	movl	%r10d, (%rdi,%rcx,4)
	incq	%rcx
	cmpl	%ecx, %edx
	jg	.L42
	incq	%rax
	addq	%r8, %rdi
	jmp	.L41
.L50:
	imull	%edx, %edx
	movq	%rbp, %rdi
	movslq	%edx, %rbx
	salq	$2, %rbx
	movq	%rbx, %rsi
	call	cudaMalloc@PLT
	call	cudaGetLastError@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L44
	call	cudaGetErrorString@PLT
	leaq	.LC0(%rip), %r9
	leaq	.LC10(%rip), %rcx
	pushq	%rsi
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	movq	%rax, %r8
	pushq	$226
	.cfi_def_cfa_offset 48
	jmp	.L49
.L44:
	.cfi_restore_state
	movq	0(%rbp), %rdi
	movl	$1, %ecx
	movq	%rbx, %rdx
	movq	%r12, %rsi
	call	cudaMemcpy@PLT
	call	cudaGetLastError@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L46
	call	cudaGetErrorString@PLT
	leaq	.LC0(%rip), %r9
	pushq	%rcx
	.cfi_def_cfa_offset 40
	movq	%rax, %r8
	leaq	.LC11(%rip), %rcx
	pushq	$228
	.cfi_def_cfa_offset 48
.L49:
	movq	stderr(%rip), %rdi
	leaq	.LC2(%rip), %rdx
	movl	$2, %esi
	xorl	%eax, %eax
	call	__fprintf_chk@PLT
	movq	stderr(%rip), %rdi
	popq	%rax
	.cfi_def_cfa_offset 40
	movl	$2, %esi
	popq	%rdx
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	leaq	.LC3(%rip), %rdx
	call	__fprintf_chk@PLT
	jmp	.L45
.L46:
	movl	$4, %esi
	movq	%r12, %rdi
	call	_ZdlPvm@PLT
.L45:
	popq	%rbx
	.cfi_def_cfa_offset 24
	movl	$1, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4424:
	.size	_Z31initializeBooleanMatrixInDeviceRPi, .-_Z31initializeBooleanMatrixInDeviceRPi
	.section	.rodata.str1.1
.LC12:
	.string	"Failed to allocate memory to boolean buffer"
.LC13:
	.string	"Failed to move data to boolean buffer"
	.text
	.globl	_Z16initializeBufferRPi
	.type	_Z16initializeBufferRPi, @function
_Z16initializeBufferRPi:
.LFB4425:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movq	%rdi, %r12
	movl	ADJ_MATRIX_DIM(%rip), %edi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	imull	%edi, %edi
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sall	$2, %edi
	movslq	%edi, %rdi
	salq	$2, %rdi
	call	_Znam@PLT
	movslq	ADJ_MATRIX_DIM(%rip), %r10
	xorl	%r9d, %r9d
	movl	$4, %r11d
	movq	%rax, %rbp
	movq	%r10, %rdx
	salq	$2, %r10
	leal	-1(%rdx), %eax
	leaq	4(,%rax,4), %rbx
	xorl	%eax, %eax
.L52:
	movl	%r9d, %ecx
	xorl	%r8d, %r8d
	imull	%edx, %ecx
	movslq	%ecx, %rcx
	leaq	0(%rbp,%rcx,4), %rsi
.L55:
	cmpl	%r8d, %edx
	jle	.L61
	movq	%rsi, %rdi
	movq	%rbx, %rcx
	incl	%r8d
	addq	%r10, %rsi
	rep stosb
	jmp	.L55
.L61:
	addl	%edx, %r9d
	decl	%r11d
	jne	.L52
	imull	%edx, %edx
	movq	%r12, %rdi
	leal	0(,%rdx,4), %ebx
	movslq	%ebx, %rbx
	salq	$2, %rbx
	movq	%rbx, %rsi
	call	cudaMalloc@PLT
	call	cudaGetLastError@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L56
	call	cudaGetErrorString@PLT
	leaq	.LC0(%rip), %r9
	leaq	.LC12(%rip), %rcx
	pushq	%rsi
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	movq	%rax, %r8
	pushq	$250
	.cfi_def_cfa_offset 48
	jmp	.L60
.L56:
	.cfi_restore_state
	movq	(%r12), %rdi
	movl	$1, %ecx
	movq	%rbx, %rdx
	movq	%rbp, %rsi
	call	cudaMemcpy@PLT
	call	cudaGetLastError@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L58
	call	cudaGetErrorString@PLT
	leaq	.LC0(%rip), %r9
	pushq	%rcx
	.cfi_def_cfa_offset 40
	movq	%rax, %r8
	leaq	.LC13(%rip), %rcx
	pushq	$252
	.cfi_def_cfa_offset 48
.L60:
	movq	stderr(%rip), %rdi
	leaq	.LC2(%rip), %rdx
	movl	$2, %esi
	xorl	%eax, %eax
	call	__fprintf_chk@PLT
	movq	stderr(%rip), %rdi
	popq	%rax
	.cfi_def_cfa_offset 40
	movl	$2, %esi
	popq	%rdx
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	leaq	.LC3(%rip), %rdx
	call	__fprintf_chk@PLT
	jmp	.L57
.L58:
	movl	$4, %esi
	movq	%rbp, %rdi
	call	_ZdlPvm@PLT
.L57:
	popq	%rbx
	.cfi_def_cfa_offset 24
	movl	$1, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4425:
	.size	_Z16initializeBufferRPi, .-_Z16initializeBufferRPi
	.globl	_Z33__device_stub__Z10testBufferPiS_iPiS_i
	.type	_Z33__device_stub__Z10testBufferPiS_iPiS_i, @function
_Z33__device_stub__Z10testBufferPiS_iPiS_i:
.LFB4451:
	.cfi_startproc
	endbr64
	subq	$136, %rsp
	.cfi_def_cfa_offset 144
	movq	%rdi, 24(%rsp)
	leaq	40(%rsp), %rcx
	leaq	48(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	60(%rsp), %rsi
	movl	%edx, 12(%rsp)
	leaq	32(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 56(%rsp)
	movq	%rax, 96(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 104(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 112(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 48(%rsp)
	movq	%rax, 60(%rsp)
	movl	$1, 68(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L62
	pushq	40(%rsp)
	.cfi_def_cfa_offset 152
	leaq	_Z10testBufferPiS_i(%rip), %rdi
	pushq	40(%rsp)
	.cfi_def_cfa_offset 160
	movq	76(%rsp), %rcx
	movl	84(%rsp), %r8d
	movq	64(%rsp), %rsi
	movl	72(%rsp), %edx
	leaq	112(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 152
	popq	%rdx
	.cfi_def_cfa_offset 144
.L62:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	je	.L64
	call	__stack_chk_fail@PLT
.L64:
	addq	$136, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4451:
	.size	_Z33__device_stub__Z10testBufferPiS_iPiS_i, .-_Z33__device_stub__Z10testBufferPiS_iPiS_i
	.globl	_Z10testBufferPiS_i
	.type	_Z10testBufferPiS_i, @function
_Z10testBufferPiS_i:
.LFB4452:
	.cfi_startproc
	endbr64
	jmp	_Z33__device_stub__Z10testBufferPiS_iPiS_i
	.cfi_endproc
.LFE4452:
	.size	_Z10testBufferPiS_i, .-_Z10testBufferPiS_i
	.globl	_Z42__device_stub__Z10testMatrixPPiiS_P6FlightPPiiS_P6Flight
	.type	_Z42__device_stub__Z10testMatrixPPiiS_P6FlightPPiiS_P6Flight, @function
_Z42__device_stub__Z10testMatrixPPiiS_P6FlightPPiiS_P6Flight:
.LFB4453:
	.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	.L67
	pushq	48(%rsp)
	.cfi_def_cfa_offset 168
	leaq	_Z10testMatrixPPiiS_P6Flight(%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
.L67:
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	je	.L69
	call	__stack_chk_fail@PLT
.L69:
	addq	$152, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4453:
	.size	_Z42__device_stub__Z10testMatrixPPiiS_P6FlightPPiiS_P6Flight, .-_Z42__device_stub__Z10testMatrixPPiiS_P6FlightPPiiS_P6Flight
	.globl	_Z10testMatrixPPiiS_P6Flight
	.type	_Z10testMatrixPPiiS_P6Flight, @function
_Z10testMatrixPPiiS_P6Flight:
.LFB4454:
	.cfi_startproc
	endbr64
	jmp	_Z42__device_stub__Z10testMatrixPPiiS_P6FlightPPiiS_P6Flight
	.cfi_endproc
.LFE4454:
	.size	_Z10testMatrixPPiiS_P6Flight, .-_Z10testMatrixPPiiS_P6Flight
	.globl	_Z40__device_stub__Z17testMatrixBooleanPiiS_PiiS_
	.type	_Z40__device_stub__Z17testMatrixBooleanPiiS_PiiS_, @function
_Z40__device_stub__Z17testMatrixBooleanPiiS_PiiS_:
.LFB4455:
	.cfi_startproc
	endbr64
	subq	$136, %rsp
	.cfi_def_cfa_offset 144
	movq	%rdi, 24(%rsp)
	leaq	40(%rsp), %rcx
	leaq	48(%rsp), %rdi
	movl	%esi, 20(%rsp)
	leaq	60(%rsp), %rsi
	movq	%rdx, 8(%rsp)
	leaq	32(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 56(%rsp)
	movq	%rax, 96(%rsp)
	leaq	20(%rsp), %rax
	movq	%rax, 104(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 112(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 48(%rsp)
	movq	%rax, 60(%rsp)
	movl	$1, 68(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L72
	pushq	40(%rsp)
	.cfi_def_cfa_offset 152
	leaq	_Z17testMatrixBooleanPiiS_(%rip), %rdi
	pushq	40(%rsp)
	.cfi_def_cfa_offset 160
	movq	76(%rsp), %rcx
	movl	84(%rsp), %r8d
	movq	64(%rsp), %rsi
	movl	72(%rsp), %edx
	leaq	112(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 152
	popq	%rdx
	.cfi_def_cfa_offset 144
.L72:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	je	.L74
	call	__stack_chk_fail@PLT
.L74:
	addq	$136, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4455:
	.size	_Z40__device_stub__Z17testMatrixBooleanPiiS_PiiS_, .-_Z40__device_stub__Z17testMatrixBooleanPiiS_PiiS_
	.globl	_Z17testMatrixBooleanPiiS_
	.type	_Z17testMatrixBooleanPiiS_, @function
_Z17testMatrixBooleanPiiS_:
.LFB4456:
	.cfi_startproc
	endbr64
	jmp	_Z40__device_stub__Z17testMatrixBooleanPiiS_PiiS_
	.cfi_endproc
.LFE4456:
	.size	_Z17testMatrixBooleanPiiS_, .-_Z17testMatrixBooleanPiiS_
	.globl	_Z37__device_stub__Z14firstExpansionPiS_iPiS_i
	.type	_Z37__device_stub__Z14firstExpansionPiS_iPiS_i, @function
_Z37__device_stub__Z14firstExpansionPiS_iPiS_i:
.LFB4457:
	.cfi_startproc
	endbr64
	subq	$136, %rsp
	.cfi_def_cfa_offset 144
	movq	%rdi, 24(%rsp)
	leaq	40(%rsp), %rcx
	leaq	48(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	60(%rsp), %rsi
	movl	%edx, 12(%rsp)
	leaq	32(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 56(%rsp)
	movq	%rax, 96(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 104(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 112(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 48(%rsp)
	movq	%rax, 60(%rsp)
	movl	$1, 68(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L77
	pushq	40(%rsp)
	.cfi_def_cfa_offset 152
	leaq	_Z14firstExpansionPiS_i(%rip), %rdi
	pushq	40(%rsp)
	.cfi_def_cfa_offset 160
	movq	76(%rsp), %rcx
	movl	84(%rsp), %r8d
	movq	64(%rsp), %rsi
	movl	72(%rsp), %edx
	leaq	112(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 152
	popq	%rdx
	.cfi_def_cfa_offset 144
.L77:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	je	.L79
	call	__stack_chk_fail@PLT
.L79:
	addq	$136, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4457:
	.size	_Z37__device_stub__Z14firstExpansionPiS_iPiS_i, .-_Z37__device_stub__Z14firstExpansionPiS_iPiS_i
	.globl	_Z14firstExpansionPiS_i
	.type	_Z14firstExpansionPiS_i, @function
_Z14firstExpansionPiS_i:
.LFB4458:
	.cfi_startproc
	endbr64
	jmp	_Z37__device_stub__Z14firstExpansionPiS_iPiS_i
	.cfi_endproc
.LFE4458:
	.size	_Z14firstExpansionPiS_i, .-_Z14firstExpansionPiS_i
	.globl	_Z33__device_stub__Z9expansionPiS_S_iPiS_S_i
	.type	_Z33__device_stub__Z9expansionPiS_S_iPiS_S_i, @function
_Z33__device_stub__Z9expansionPiS_S_iPiS_S_i:
.LFB4459:
	.cfi_startproc
	endbr64
	subq	$152, %rsp
	.cfi_def_cfa_offset 160
	movq	%rdi, 24(%rsp)
	leaq	56(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	68(%rsp), %rsi
	movq	%rdx, 8(%rsp)
	leaq	40(%rsp), %rdx
	movl	%ecx, 4(%rsp)
	leaq	48(%rsp), %rcx
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 64(%rsp)
	movq	%rax, 104(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 112(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 120(%rsp)
	leaq	4(%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	.L82
	pushq	48(%rsp)
	.cfi_def_cfa_offset 168
	leaq	_Z9expansionPiS_S_i(%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
.L82:
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	je	.L84
	call	__stack_chk_fail@PLT
.L84:
	addq	$152, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4459:
	.size	_Z33__device_stub__Z9expansionPiS_S_iPiS_S_i, .-_Z33__device_stub__Z9expansionPiS_S_iPiS_S_i
	.globl	_Z9expansionPiS_S_i
	.type	_Z9expansionPiS_S_i, @function
_Z9expansionPiS_S_i:
.LFB4460:
	.cfi_startproc
	endbr64
	jmp	_Z33__device_stub__Z9expansionPiS_S_iPiS_S_i
	.cfi_endproc
.LFE4460:
	.size	_Z9expansionPiS_S_i, .-_Z9expansionPiS_S_i
	.section	.rodata.str1.1
.LC14:
	.string	"_Z9expansionPiS_S_i"
.LC15:
	.string	"_Z14firstExpansionPiS_i"
.LC16:
	.string	"_Z17testMatrixBooleanPiiS_"
.LC17:
	.string	"_Z10testMatrixPPiiS_P6Flight"
.LC18:
	.string	"_Z10testBufferPiS_i"
.LC19:
	.string	"DEV_ADJ_MATRIX_DIM"
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB4462:
	.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	.LC14(%rip), %rdx
	movq	%rax, %rdi
	movq	%rax, %rbx
	pushq	$0
	.cfi_def_cfa_offset 40
	movq	%rdx, %rcx
	leaq	_Z9expansionPiS_S_i(%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	.LC15(%rip), %rdx
	orl	$-1, %r8d
	leaq	_Z14firstExpansionPiS_i(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	xorl	%r9d, %r9d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC16(%rip), %rdx
	orl	$-1, %r8d
	leaq	_Z17testMatrixBooleanPiiS_(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	xorl	%r9d, %r9d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC17(%rip), %rdx
	orl	$-1, %r8d
	leaq	_Z10testMatrixPPiiS_P6Flight(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	xorl	%r9d, %r9d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC18(%rip), %rdx
	orl	$-1, %r8d
	leaq	_Z10testBufferPiS_i(%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	.LC19(%rip), %rdx
	movl	$4, %r9d
	leaq	_ZL18DEV_ADJ_MATRIX_DIM(%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
.LFE4462:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.rodata._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_.str1.1,"aMS",@progbits,1
.LC20:
	.string	"vector::_M_realloc_insert"
	.section	.text._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,"axG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,comdat
	.align 2
	.weak	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_
	.type	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_, @function
_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_:
.LFB5035:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA5035
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movq	%rdx, %r15
	movabsq	$288230376151711743, %rdx
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	8(%rdi), %rax
	movq	(%rdi), %r14
	movq	%rsi, 8(%rsp)
	movq	%rax, %rbx
	movq	%rax, (%rsp)
	subq	%r14, %rbx
	sarq	$5, %rbx
	cmpq	%rdx, %rbx
	jne	.L90
	leaq	.LC20(%rip), %rdi
.LEHB0:
	call	_ZSt20__throw_length_errorPKc@PLT
.L90:
	cmpq	%r14, (%rsp)
	movl	$1, %eax
	movq	8(%rsp), %rbp
	movq	%rdi, %r13
	cmovne	%rbx, %rax
	addq	%rax, %rbx
	setc	%al
	subq	%r14, %rbp
	movzbl	%al, %eax
	testq	%rax, %rax
	jne	.L106
	xorl	%r12d, %r12d
	testq	%rbx, %rbx
	je	.L95
	movabsq	$288230376151711743, %rax
	cmpq	%rax, %rbx
	cmova	%rax, %rbx
	jmp	.L94
.L106:
	movq	%rdx, %rbx
.L94:
	movq	%rbx, %rdi
	salq	$5, %rdi
	call	_Znwm@PLT
.LEHE0:
	movq	%rax, %r12
.L95:
	addq	%r12, %rbp
	movq	%r15, %rsi
	movq	%rbp, %rdi
.LEHB1:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_@PLT
.LEHE1:
	movq	%r12, %rdi
	movq	%r14, %rbp
.L96:
	leaq	32(%rdi), %r15
	cmpq	%rbp, 8(%rsp)
	je	.L98
	movq	%rbp, %rsi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EOS4_@PLT
	movq	%rbp, %rdi
	addq	$32, %rbp
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	%r15, %rdi
	jmp	.L96
.L98:
	cmpq	%rbp, (%rsp)
	je	.L118
	movq	%rbp, %rsi
	movq	%r15, %rdi
	addq	$32, %r15
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EOS4_@PLT
	movq	%rbp, %rdi
	addq	$32, %rbp
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L98
.L118:
	testq	%r14, %r14
	je	.L100
	movq	16(%r13), %rsi
	movq	%r14, %rdi
	subq	%r14, %rsi
	call	_ZdlPvm@PLT
.L100:
	salq	$5, %rbx
	movq	%r12, 0(%r13)
	addq	%r12, %rbx
	movq	%r15, 8(%r13)
	movq	%rbx, 16(%r13)
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L109:
	.cfi_restore_state
	endbr64
	movq	%rax, %rdi
.L101:
	call	__cxa_begin_catch@PLT
	testq	%r12, %r12
	jne	.L102
	movq	%rbp, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
.L104:
.LEHB2:
	call	__cxa_rethrow@PLT
.LEHE2:
.L110:
	endbr64
	movq	%rax, %rbx
.L103:
	call	__cxa_end_catch@PLT
	movq	%rbx, %rdi
.LEHB3:
	call	_Unwind_Resume@PLT
.LEHE3:
.L102:
	movq	%rbx, %rsi
	movq	%r12, %rdi
	salq	$5, %rsi
	call	_ZdlPvm@PLT
	jmp	.L104
	.cfi_endproc
.LFE5035:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,"aG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,comdat
	.align 4
.LLSDA5035:
	.byte	0xff
	.byte	0x9b
	.uleb128 .LLSDATT5035-.LLSDATTD5035
.LLSDATTD5035:
	.byte	0x1
	.uleb128 .LLSDACSE5035-.LLSDACSB5035
.LLSDACSB5035:
	.uleb128 .LEHB0-.LFB5035
	.uleb128 .LEHE0-.LEHB0
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB1-.LFB5035
	.uleb128 .LEHE1-.LEHB1
	.uleb128 .L109-.LFB5035
	.uleb128 0x1
	.uleb128 .LEHB2-.LFB5035
	.uleb128 .LEHE2-.LEHB2
	.uleb128 .L110-.LFB5035
	.uleb128 0
	.uleb128 .LEHB3-.LFB5035
	.uleb128 .LEHE3-.LEHB3
	.uleb128 0
	.uleb128 0
.LLSDACSE5035:
	.byte	0x1
	.byte	0
	.align 4
	.long	0

.LLSDATT5035:
	.section	.text._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,"axG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,comdat
	.size	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_, .-_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_
	.section	.rodata.str1.1
.LC21:
	.string	"C:/Users/acer/Desktop/Semester 7/Project/AA_airports.txt"
.LC22:
	.string	"Reading Airports"
.LC23:
	.string	"Error copying adj matrix dim to device"
.LC24:
	.string	" Airports Found"
	.text
	.globl	_Z12readAirportsv
	.type	_Z12readAirportsv, @function
_Z12readAirportsv:
.LFB4403:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4403
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$600, %rsp
	.cfi_offset 14, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	movq	%fs:40, %rax
	movq	%rax, -40(%rbp)
	xorl	%eax, %eax
	leaq	-560(%rbp), %rax
	movq	%rax, %r14
	movq	%rax, %rdi
.LEHB4:
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev@PLT
.LEHE4:
	movl	$8, %edx
	leaq	.LC21(%rip), %rsi
	movq	%r14, %rdi
.LEHB5:
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode@PLT
.LEHE5:
	leaq	-440(%rbp), %rdi
	call	_ZNKSt12__basic_fileIcE7is_openEv@PLT
	testb	%al, %al
	je	.L120
	xorl	%edi, %edi
	leaq	-608(%rbp), %rax
	leaq	.LC22(%rip), %rsi
	movb	$0, -608(%rbp)
	movq	%rdi, -616(%rbp)
	leaq	_ZSt4cout(%rip), %rdi
	movq	%rax, -624(%rbp)
.LEHB6:
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
.LEHE6:
	leaq	_Z12Airport_ListB5cxx11(%rip), %rbx
.L121:
	cmpl	$0, -272(%rbp)
	jne	.L140
	xorl	%esi, %esi
	leaq	-592(%rbp), %r12
	movq	%r14, %rdi
	movb	$0, -576(%rbp)
	movq	%rsi, -584(%rbp)
	leaq	-576(%rbp), %rax
	movq	%r12, %rsi
	movq	%rax, -592(%rbp)
.LEHB7:
	call	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movq	8+_Z12Airport_ListB5cxx11(%rip), %rdi
	cmpq	16+_Z12Airport_ListB5cxx11(%rip), %rdi
	je	.L122
	movq	%r12, %rsi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_@PLT
	addq	$32, 8+_Z12Airport_ListB5cxx11(%rip)
	jmp	.L123
.L122:
	movq	%rdi, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rdi
	call	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_
.LEHE7:
.L123:
	movq	%r12, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L121
.L140:
	leaq	-624(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
.L120:
	movq	%r14, %rdi
.LEHB8:
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv@PLT
	movq	8+_Z12Airport_ListB5cxx11(%rip), %rax
	subq	_Z12Airport_ListB5cxx11(%rip), %rax
	movl	$1, %r8d
	xorl	%ecx, %ecx
	sarq	$5, %rax
	movl	$4, %edx
	leaq	ADJ_MATRIX_DIM(%rip), %rsi
	leaq	_ZL18DEV_ADJ_MATRIX_DIM(%rip), %rdi
	movl	%eax, ADJ_MATRIX_DIM(%rip)
	call	cudaMemcpyToSymbol@PLT
	call	cudaGetLastError@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L125
	call	cudaGetErrorString@PLT
	pushq	%rcx
	movq	stderr(%rip), %rdi
	movq	%rax, %r8
	movl	$2, %esi
	pushq	$96
	leaq	.LC0(%rip), %r9
	leaq	.LC23(%rip), %rcx
	xorl	%eax, %eax
	leaq	.LC2(%rip), %rdx
	.cfi_escape 0x2e,0x10
	call	__fprintf_chk@PLT
	movq	stderr(%rip), %rdi
	popq	%rax
	movl	$2, %esi
	xorl	%eax, %eax
	popq	%rdx
	leaq	.LC3(%rip), %rdx
	.cfi_escape 0x2e,0
	call	__fprintf_chk@PLT
.L126:
	movq	%r14, %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	-40(%rbp), %rax
	subq	%fs:40, %rax
	je	.L131
	jmp	.L138
.L125:
	movq	8+_Z12Airport_ListB5cxx11(%rip), %rsi
	subq	_Z12Airport_ListB5cxx11(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	sarq	$5, %rsi
	call	_ZNSo9_M_insertImEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC24(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
.LEHE8:
	jmp	.L126
.L134:
	endbr64
	movq	%rax, %rbx
.L127:
	movq	%r12, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L128
.L133:
	endbr64
	movq	%rax, %rbx
.L128:
	leaq	-624(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L129
.L132:
	endbr64
	movq	%rax, %rbx
.L129:
	movq	%r14, %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	-40(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L138
	movq	%rbx, %rdi
.LEHB9:
	call	_Unwind_Resume@PLT
.LEHE9:
.L138:
	call	__stack_chk_fail@PLT
.L131:
	leaq	-24(%rbp), %rsp
	movl	$1, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4403:
	.section	.gcc_except_table,"a",@progbits
.LLSDA4403:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4403-.LLSDACSB4403
.LLSDACSB4403:
	.uleb128 .LEHB4-.LFB4403
	.uleb128 .LEHE4-.LEHB4
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB5-.LFB4403
	.uleb128 .LEHE5-.LEHB5
	.uleb128 .L132-.LFB4403
	.uleb128 0
	.uleb128 .LEHB6-.LFB4403
	.uleb128 .LEHE6-.LEHB6
	.uleb128 .L133-.LFB4403
	.uleb128 0
	.uleb128 .LEHB7-.LFB4403
	.uleb128 .LEHE7-.LEHB7
	.uleb128 .L134-.LFB4403
	.uleb128 0
	.uleb128 .LEHB8-.LFB4403
	.uleb128 .LEHE8-.LEHB8
	.uleb128 .L132-.LFB4403
	.uleb128 0
	.uleb128 .LEHB9-.LFB4403
	.uleb128 .LEHE9-.LEHB9
	.uleb128 0
	.uleb128 0
.LLSDACSE4403:
	.text
	.size	_Z12readAirportsv, .-_Z12readAirportsv
	.section	.text._ZNSt6vectorI6FlightSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_,"axG",@progbits,_ZNSt6vectorI6FlightSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_,comdat
	.align 2
	.weak	_ZNSt6vectorI6FlightSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_
	.type	_ZNSt6vectorI6FlightSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_, @function
_ZNSt6vectorI6FlightSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_:
.LFB5053:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA5053
	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	$164703072086692425, %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	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	8(%rdi), %rax
	movq	(%rdi), %r13
	movq	%rsi, 24(%rsp)
	movq	%rax, %rbx
	movq	%rax, 8(%rsp)
	movabsq	$7905747460161236407, %rax
	subq	%r13, %rbx
	sarq	$3, %rbx
	imulq	%rax, %rbx
	cmpq	%rdx, %rbx
	jne	.L142
	leaq	.LC20(%rip), %rdi
.LEHB10:
	call	_ZSt20__throw_length_errorPKc@PLT
.L142:
	cmpq	%r13, 8(%rsp)
	movl	$1, %eax
	movq	24(%rsp), %r15
	movq	%rdi, %r12
	cmovne	%rbx, %rax
	addq	%rax, %rbx
	setc	%al
	subq	%r13, %r15
	movzbl	%al, %eax
	testq	%rax, %rax
	jne	.L158
	xorl	%ebp, %ebp
	testq	%rbx, %rbx
	je	.L147
	movabsq	$164703072086692425, %rax
	cmpq	%rax, %rbx
	cmova	%rax, %rbx
	jmp	.L146
.L158:
	movq	%rdx, %rbx
.L146:
	imulq	$56, %rbx, %rdi
	call	_Znwm@PLT
.LEHE10:
	movq	%rax, %rbp
.L147:
	movq	(%r14), %rdx
	leaq	0(%rbp,%r15), %rax
	leaq	24(%r14), %rsi
	addq	$24, %rax
	movq	%rdx, -24(%rax)
	movq	8(%r14), %rdx
	movq	%rdx, -16(%rax)
	movq	16(%r14), %rdx
	movq	%rdx, -8(%rax)
	movq	%rax, %rdi
	movq	%rax, %r15
.LEHB11:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_@PLT
.LEHE11:
	movq	%rbp, %r15
	movq	%r13, %r14
.L148:
	addq	$56, %r15
	cmpq	%r14, 24(%rsp)
	je	.L150
	movl	(%r14), %ecx
	leaq	24(%r14), %rax
	leaq	-32(%r15), %rdi
	addq	$56, %r14
	movq	%rax, %rsi
	movq	%rax, 16(%rsp)
	movl	%ecx, -56(%r15)
	movl	-52(%r14), %ecx
	movl	%ecx, -52(%r15)
	movl	-48(%r14), %ecx
	movl	%ecx, -48(%r15)
	movl	-44(%r14), %ecx
	movl	%ecx, -44(%r15)
	movl	-40(%r14), %ecx
	movl	%ecx, -40(%r15)
	movl	-36(%r14), %ecx
	movl	%ecx, -36(%r15)
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EOS4_@PLT
	movq	16(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L148
.L150:
	cmpq	%r14, 8(%rsp)
	je	.L170
	movl	(%r14), %ecx
	leaq	24(%r14), %rax
	leaq	24(%r15), %rdi
	addq	$56, %r14
	movq	%rax, %rsi
	movq	%rax, 16(%rsp)
	addq	$56, %r15
	movl	%ecx, -56(%r15)
	movl	-52(%r14), %ecx
	movl	%ecx, -52(%r15)
	movl	-48(%r14), %ecx
	movl	%ecx, -48(%r15)
	movl	-44(%r14), %ecx
	movl	%ecx, -44(%r15)
	movl	-40(%r14), %ecx
	movl	%ecx, -40(%r15)
	movl	-36(%r14), %ecx
	movl	%ecx, -36(%r15)
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EOS4_@PLT
	movq	16(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L150
.L170:
	testq	%r13, %r13
	je	.L152
	movq	16(%r12), %rsi
	movq	%r13, %rdi
	subq	%r13, %rsi
	call	_ZdlPvm@PLT
.L152:
	imulq	$56, %rbx, %rbx
	movq	%rbp, (%r12)
	movq	%r15, 8(%r12)
	addq	%rbp, %rbx
	movq	%rbx, 16(%r12)
	addq	$40, %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
.L161:
	.cfi_restore_state
	endbr64
	movq	%rax, %rdi
.L153:
	call	__cxa_begin_catch@PLT
	testq	%rbp, %rbp
	jne	.L154
	movq	%r15, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
.L156:
.LEHB12:
	call	__cxa_rethrow@PLT
.LEHE12:
.L162:
	endbr64
	movq	%rax, %rbx
.L155:
	call	__cxa_end_catch@PLT
	movq	%rbx, %rdi
.LEHB13:
	call	_Unwind_Resume@PLT
.LEHE13:
.L154:
	imulq	$56, %rbx, %rsi
	movq	%rbp, %rdi
	call	_ZdlPvm@PLT
	jmp	.L156
	.cfi_endproc
.LFE5053:
	.section	.gcc_except_table
	.align 4
.LLSDA5053:
	.byte	0xff
	.byte	0x9b
	.uleb128 .LLSDATT5053-.LLSDATTD5053
.LLSDATTD5053:
	.byte	0x1
	.uleb128 .LLSDACSE5053-.LLSDACSB5053
.LLSDACSB5053:
	.uleb128 .LEHB10-.LFB5053
	.uleb128 .LEHE10-.LEHB10
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB11-.LFB5053
	.uleb128 .LEHE11-.LEHB11
	.uleb128 .L161-.LFB5053
	.uleb128 0x1
	.uleb128 .LEHB12-.LFB5053
	.uleb128 .LEHE12-.LEHB12
	.uleb128 .L162-.LFB5053
	.uleb128 0
	.uleb128 .LEHB13-.LFB5053
	.uleb128 .LEHE13-.LEHB13
	.uleb128 0
	.uleb128 0
.LLSDACSE5053:
	.byte	0x1
	.byte	0
	.align 4
	.long	0

.LLSDATT5053:
	.section	.text._ZNSt6vectorI6FlightSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_,"axG",@progbits,_ZNSt6vectorI6FlightSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_,comdat
	.size	_ZNSt6vectorI6FlightSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_, .-_ZNSt6vectorI6FlightSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_
	.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_:
.LFB5059:
	.cfi_startproc
	endbr64
	movabsq	$2305843009213693951, %rcx
	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), %rax
	movq	(%rdi), %r14
	movq	%rax, %rbx
	movq	%rax, (%rsp)
	subq	%r14, %rbx
	sarq	$2, %rbx
	cmpq	%rcx, %rbx
	jne	.L172
	leaq	.LC20(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L172:
	cmpq	%r14, (%rsp)
	movl	$1, %eax
	movq	%rsi, %r15
	movq	%rdi, %r13
	cmovne	%rbx, %rax
	movq	%rsi, %rbp
	addq	%rax, %rbx
	setc	%al
	subq	%r14, %r15
	movzbl	%al, %eax
	testq	%rax, %rax
	jne	.L182
	xorl	%r12d, %r12d
	testq	%rbx, %rbx
	je	.L177
	movabsq	$2305843009213693951, %rax
	cmpq	%rax, %rbx
	cmova	%rax, %rbx
	jmp	.L176
.L182:
	movq	%rcx, %rbx
.L176:
	leaq	0(,%rbx,4), %rdi
	movq	%rdx, 8(%rsp)
	call	_Znwm@PLT
	movq	8(%rsp), %rdx
	movq	%rax, %r12
.L177:
	movl	(%rdx), %eax
	movl	%eax, (%r12,%r15)
	testq	%r15, %r15
	jle	.L178
	movq	%r15, %rdx
	movq	%r14, %rsi
	movq	%r12, %rdi
	call	memmove@PLT
.L178:
	movq	(%rsp), %rax
	leaq	4(%r12,%r15), %rdx
	subq	%rbp, %rax
	testq	%rax, %rax
	jle	.L179
	movq	%rdx, %rdi
	movq	%rbp, %rsi
	movq	%rax, %rcx
	rep movsb
.L179:
	leaq	(%rdx,%rax), %rbp
	testq	%r14, %r14
	je	.L180
	movq	16(%r13), %rsi
	movq	%r14, %rdi
	subq	%r14, %rsi
	call	_ZdlPvm@PLT
.L180:
	leaq	(%r12,%rbx,4), %rax
	movq	%r12, 0(%r13)
	movq	%rbp, 8(%r13)
	movq	%rax, 16(%r13)
	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
.LFE5059:
	.size	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_, .-_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
	.section	.rodata.str1.1
.LC25:
	.string	"C:/Users/acer/Desktop/Semester 7/Project/AA_data1.txt"
.LC26:
	.string	"*"
.LC27:
	.string	" Flights Found"
	.text
	.globl	_Z11readFlightsv
	.type	_Z11readFlightsv, @function
_Z11readFlightsv:
.LFB4405:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4405
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$632, %rsp
	.cfi_def_cfa_offset 672
	movq	%fs:40, %rax
	movq	%rax, 616(%rsp)
	movq	8+_Z12Airport_ListB5cxx11(%rip), %rax
	subq	_Z12Airport_ListB5cxx11(%rip), %rax
	movq	%rax, %rdi
	sarq	$5, %rdi
	testq	%rax, %rax
	js	.L190
	salq	$3, %rdi
	xorl	%ebp, %ebp
.LEHB14:
	call	_Znam@PLT
	movq	%rax, AdjMatrix(%rip)
	jmp	.L191
.L190:
	movq	616(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L217
	call	__cxa_throw_bad_array_new_length@PLT
.L221:
	movq	AdjMatrix(%rip), %rdx
	movq	%rax, (%rdx,%rbp,8)
	incq	%rbp
.L191:
	movq	8+_Z12Airport_ListB5cxx11(%rip), %rax
	subq	_Z12Airport_ListB5cxx11(%rip), %rax
	movq	%rax, %rbx
	sarq	$5, %rbx
	cmpq	%rbx, %rbp
	jnb	.L220
	orq	$-1, %rdi
	testq	%rax, %rax
	js	.L193
	imulq	$24, %rbx, %rdi
	addq	$8, %rdi
.L193:
	call	_Znam@PLT
	movq	%rbx, (%rax)
	addq	$8, %rax
	decq	%rbx
	movq	%rax, %rdx
.L194:
	testq	%rbx, %rbx
	js	.L221
	xorl	%ecx, %ecx
	addq	$24, %rdx
	decq	%rbx
	movq	%rcx, -24(%rdx)
	movq	%rcx, -16(%rdx)
	movq	%rcx, -8(%rdx)
	jmp	.L194
.L220:
	leaq	96(%rsp), %rbx
	movq	%rbx, %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev@PLT
.LEHE14:
	movl	$8, %edx
	leaq	.LC25(%rip), %rsi
	movq	%rbx, %rdi
.LEHB15:
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode@PLT
.LEHE15:
	leaq	216(%rsp), %rdi
	call	_ZNKSt12__basic_fileIcE7is_openEv@PLT
	testb	%al, %al
	je	.L197
	leaq	24(%rsp), %rax
	xorl	%edx, %edx
	movb	$0, 24(%rsp)
	xorl	%ebp, %ebp
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	Flight_List(%rip), %r13
	movq	%rax, 16(%rsp)
	leaq	80(%rsp), %rax
	movq	%rax, 64(%rsp)
	movq	%rdx, 72(%rsp)
	movb	$0, 80(%rsp)
.L198:
	cmpl	$0, 384(%rsp)
	leaq	64(%rsp), %r12
	jne	.L222
	leaq	44(%rsp), %rsi
	movq	%rbx, %rdi
	movl	%ebp, 40(%rsp)
.LEHB16:
	call	_ZNSirsERi@PLT
	leaq	48(%rsp), %rsi
	movq	%rbx, %rdi
	call	_ZNSirsERi@PLT
	leaq	60(%rsp), %rsi
	movq	%rbx, %rdi
	call	_ZNSirsERi@PLT
	leaq	56(%rsp), %rsi
	movq	%rbx, %rdi
	call	_ZNSirsERi@PLT
	leaq	52(%rsp), %rsi
	movq	%rbx, %rdi
	call	_ZNSirsERi@PLT
	movl	52(%rsp), %eax
	cmpl	56(%rsp), %eax
	jge	.L199
	addl	$10080, %eax
	movl	%eax, 52(%rsp)
.L199:
	movq	%r12, %rsi
	movq	%rbx, %rdi
	call	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movq	8+Flight_List(%rip), %rsi
	cmpq	16+Flight_List(%rip), %rsi
	je	.L200
	movq	40(%rsp), %rax
	leaq	24(%rsi), %rdi
	movq	%rax, (%rsi)
	movq	48(%rsp), %rax
	movq	%rax, 8(%rsi)
	movq	56(%rsp), %rax
	movq	%rax, 16(%rsi)
	movq	%r12, %rsi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_@PLT
	addq	$56, 8+Flight_List(%rip)
	jmp	.L201
.L200:
	leaq	40(%rsp), %rdx
	movq	%r13, %rdi
	call	_ZNSt6vectorI6FlightSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_
.L201:
	movslq	44(%rsp), %rdx
	movslq	48(%rsp), %rdi
	movq	AdjMatrix(%rip), %rax
	imulq	$24, %rdi, %rdi
	addq	(%rax,%rdx,8), %rdi
	movq	8(%rdi), %rsi
	cmpq	16(%rdi), %rsi
	je	.L202
	movl	40(%rsp), %eax
	addq	$4, %rsi
	movl	%eax, -4(%rsi)
	movq	%rsi, 8(%rdi)
	jmp	.L203
.L202:
	leaq	40(%rsp), %rdx
	call	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
.L203:
	incl	%ebp
	movl	$10000, %ecx
	movl	%ebp, %eax
	cltd
	idivl	%ecx
	testl	%edx, %edx
	jne	.L198
	leaq	.LC26(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	jmp	.L198
.L222:
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZNSolsEPFRSoS_E@PLT
.LEHE16:
	movq	%r12, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	leaq	8(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
.L197:
	movq	%rbx, %rdi
.LEHB17:
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv@PLT
	movq	8+Flight_List(%rip), %rsi
	subq	Flight_List(%rip), %rsi
	movabsq	$7905747460161236407, %rax
	leaq	_ZSt4cout(%rip), %rdi
	sarq	$3, %rsi
	imulq	%rax, %rsi
	call	_ZNSo9_M_insertImEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC27(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
.LEHE17:
	movq	%rbx, %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	616(%rsp), %rax
	subq	%fs:40, %rax
	je	.L210
	jmp	.L217
.L213:
	endbr64
	movq	%rax, %rbp
.L207:
	movq	%r12, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	leaq	8(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L208
.L212:
	endbr64
	movq	%rax, %rbp
.L208:
	movq	%rbx, %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	616(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L217
	movq	%rbp, %rdi
.LEHB18:
	call	_Unwind_Resume@PLT
.LEHE18:
.L217:
	call	__stack_chk_fail@PLT
.L210:
	addq	$632, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4405:
	.section	.gcc_except_table
.LLSDA4405:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4405-.LLSDACSB4405
.LLSDACSB4405:
	.uleb128 .LEHB14-.LFB4405
	.uleb128 .LEHE14-.LEHB14
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB15-.LFB4405
	.uleb128 .LEHE15-.LEHB15
	.uleb128 .L212-.LFB4405
	.uleb128 0
	.uleb128 .LEHB16-.LFB4405
	.uleb128 .LEHE16-.LEHB16
	.uleb128 .L213-.LFB4405
	.uleb128 0
	.uleb128 .LEHB17-.LFB4405
	.uleb128 .LEHE17-.LEHB17
	.uleb128 .L212-.LFB4405
	.uleb128 0
	.uleb128 .LEHB18-.LFB4405
	.uleb128 .LEHE18-.LEHB18
	.uleb128 0
	.uleb128 0
.LLSDACSE4405:
	.text
	.size	_Z11readFlightsv, .-_Z11readFlightsv
	.section	.rodata.str1.1
.LC28:
	.string	"Initializing Flights"
.LC29:
	.string	"finished initializing FLights"
.LC30:
	.string	"Initializing Matrix"
.LC31:
	.string	"Finished with adj matrix"
.LC32:
	.string	"Initializing Boolean Matrix"
.LC33:
	.string	"Finished with boolean matrix"
.LC34:
	.string	"Failed to allocate memory to next source list"
.LC35:
	.string	"Failed to move data  to next source list"
.LC36:
	.string	"initializing Buffers"
.LC37:
	.string	"initialized buffers"
.LC39:
	.string	"nextSource.txt"
.LC40:
	.string	"Failed to copy data from buffer array to host array"
.LC41:
	.string	"moving into first expansion"
.LC42:
	.string	"Frame1.txt"
.LC43:
	.string	"Error occured in expansion"
.LC44:
	.string	"finished expansion"
.LC45:
	.string	"Failed to retrieve memory from first frame"
.LC46:
	.string	"Failed to retrieve memory from buffer array 1.2 to host"
	.section	.text.startup
	.globl	main
	.type	main, @function
main:
.LFB4426:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4426
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	pushq	%r13
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	leaq	_ZSt4cout(%rip), %r13
	pushq	%r12
	pushq	%rbx
	subq	$1112, %rsp
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
.LEHB19:
	call	_Z12readAirportsv
	call	_Z11readFlightsv
	leaq	.LC28(%rip), %rsi
	movq	%r13, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	leaq	-1152(%rbp), %rdi
	call	_Z28initializeFlightListInDeviceRP6Flight
	leaq	.LC29(%rip), %rsi
	movq	%r13, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	leaq	.LC30(%rip), %rsi
	movq	%r13, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	leaq	-1128(%rbp), %rsi
	leaq	-1144(%rbp), %rdi
	call	_Z27initializeAdjMatrixInDeviceRPPiS1_
	leaq	.LC31(%rip), %rsi
	movq	%r13, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	leaq	.LC32(%rip), %rsi
	movq	%r13, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	leaq	-1136(%rbp), %rdi
	call	_Z31initializeBooleanMatrixInDeviceRPi
	leaq	.LC33(%rip), %rsi
	movq	%r13, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	movslq	ADJ_MATRIX_DIM(%rip), %rsi
	leaq	-1112(%rbp), %rdi
	salq	$2, %rsi
	call	cudaMalloc@PLT
	call	cudaGetLastError@PLT
	testl	%eax, %eax
	je	.L224
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	leaq	.LC0(%rip), %r9
	pushq	%r13
	leaq	.LC34(%rip), %rcx
	pushq	$384
	movq	%rax, %r8
	jmp	.L265
.L224:
	movslq	ADJ_MATRIX_DIM(%rip), %rdi
	movabsq	$2305843009213693950, %rax
	cmpq	%rdi, %rax
	jb	.L226
	salq	$2, %rdi
	call	_Znam@PLT
	movslq	ADJ_MATRIX_DIM(%rip), %rdx
	movq	AdjMatrix(%rip), %rsi
	movq	%rax, %rbx
	xorl	%eax, %eax
	jmp	.L227
.L226:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L270
	call	__cxa_throw_bad_array_new_length@PLT
.L227:
	cmpl	%eax, %edx
	jle	.L274
	imulq	$24, %rax, %rcx
	addq	2752(%rsi), %rcx
	movq	(%rcx), %rdi
	cmpq	%rdi, 8(%rcx)
	setne	%cl
	movzbl	%cl, %ecx
	movl	%ecx, (%rbx,%rax,4)
	incq	%rax
	jmp	.L227
.L274:
	movq	-1112(%rbp), %rdi
	salq	$2, %rdx
	movl	$1, %ecx
	movq	%rbx, %rsi
	call	cudaMemcpy@PLT
	call	cudaGetLastError@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L230
	call	cudaGetErrorString@PLT
	pushq	%r12
	leaq	.LC0(%rip), %r9
	leaq	.LC35(%rip), %rcx
	pushq	$394
	movq	%rax, %r8
.L265:
	movq	stderr(%rip), %rdi
	leaq	.LC2(%rip), %rdx
	movl	$2, %esi
	xorl	%eax, %eax
	movl	$1, %r12d
	call	__fprintf_chk@PLT
	movq	stderr(%rip), %rdi
	popq	%r11
	xorl	%eax, %eax
	popq	%rbx
	leaq	.LC3(%rip), %rdx
	movl	$2, %esi
	call	__fprintf_chk@PLT
	jmp	.L223
.L230:
	movl	$4, %esi
	movq	%rbx, %rdi
	call	_ZdlPvm@PLT
	leaq	.LC36(%rip), %rsi
	movq	%r13, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	leaq	-1120(%rbp), %rdi
	call	_Z16initializeBufferRPi
	leaq	.LC37(%rip), %rsi
	movq	%r13, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	cvtsi2sdl	ADJ_MATRIX_DIM(%rip), %xmm0
	mulsd	%xmm0, %xmm0
	mulsd	.LC38(%rip), %xmm0
	call	ceil@PLT
	leaq	-1080(%rbp), %rax
	movq	%rax, %r15
	cvttsd2sil	%xmm0, %r14d
	movq	%rax, %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev@PLT
.LEHE19:
	movl	$16, %edx
	leaq	.LC39(%rip), %rsi
	movq	%r15, %rdi
.LEHB20:
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode@PLT
	movslq	ADJ_MATRIX_DIM(%rip), %r12
	salq	$2, %r12
	movq	%r12, %rdi
	call	malloc@PLT
	movq	-1112(%rbp), %rsi
	movl	$2, %ecx
	movq	%r12, %rdx
	movq	%rax, %rdi
	movq	%rax, %rbx
	call	cudaMemcpy@PLT
	call	cudaGetLastError@PLT
	movl	%eax, %edi
	xorl	%r12d, %r12d
	testl	%eax, %eax
	je	.L232
	call	cudaGetErrorString@PLT
	pushq	%r10
	movq	%rax, %r8
	xorl	%eax, %eax
	movq	stderr(%rip), %rdi
	pushq	$414
	leaq	.LC0(%rip), %r9
	leaq	.LC40(%rip), %rcx
	movl	$2, %esi
	leaq	.LC2(%rip), %rdx
	.cfi_escape 0x2e,0x10
	call	__fprintf_chk@PLT
	movq	stderr(%rip), %rdi
	popq	%r8
	movl	$2, %esi
	xorl	%eax, %eax
	popq	%r9
	leaq	.LC3(%rip), %rdx
	.cfi_escape 0x2e,0
	call	__fprintf_chk@PLT
	movl	$1, %r12d
	jmp	.L233
.L234:
	movl	(%rbx,%r12,4), %esi
	movq	%r15, %rdi
	call	_ZNSolsEi@PLT
	incq	%r12
.L232:
	cmpl	%r12d, ADJ_MATRIX_DIM(%rip)
	jg	.L234
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	movq	%rbx, %rdi
	call	free@PLT
	leaq	.LC41(%rip), %rsi
	movq	%r13, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	leaq	-568(%rbp), %rbx
	movq	%rbx, %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev@PLT
.LEHE20:
	movl	$16, %edx
	leaq	.LC42(%rip), %rsi
	movq	%rbx, %rdi
.LEHB21:
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode@PLT
	movl	ADJ_MATRIX_DIM(%rip), %edi
	imull	%edi, %edi
	sall	$2, %edi
	movslq	%edi, %rdi
	salq	$2, %rdi
	call	malloc@PLT
	movl	$8388609, %edx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	%rax, %r12
	movl	%r14d, -1104(%rbp)
	salq	$9, %rdx
	movabsq	$4294967297, %rax
	movq	%rax, -1100(%rbp)
	movq	-1104(%rbp), %rdi
	movl	$1, %ecx
	movl	-1096(%rbp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	je	.L235
.L237:
	call	cudaThreadSynchronize@PLT
	jmp	.L275
.L235:
	movl	ADJ_MATRIX_DIM(%rip), %ecx
	movq	-1112(%rbp), %rdx
	movq	-1136(%rbp), %rsi
	movq	-1120(%rbp), %rdi
	call	_Z33__device_stub__Z9expansionPiS_S_iPiS_S_i
	jmp	.L237
.L275:
	call	cudaGetLastError@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L238
	call	cudaGetErrorString@PLT
	pushq	%rdi
	movq	%rax, %r8
	leaq	.LC0(%rip), %r9
	leaq	.LC43(%rip), %rcx
	pushq	$431
.L272:
	movq	stderr(%rip), %rdi
	leaq	.LC2(%rip), %rdx
	movl	$2, %esi
	xorl	%eax, %eax
	.cfi_escape 0x2e,0x10
	call	__fprintf_chk@PLT
	movq	stderr(%rip), %rdi
	popq	%rcx
	leaq	.LC3(%rip), %rdx
	xorl	%eax, %eax
	popq	%rsi
	movl	$2, %esi
	.cfi_escape 0x2e,0
	call	__fprintf_chk@PLT
	movl	$1, %r12d
	jmp	.L239
.L238:
	leaq	.LC44(%rip), %rsi
	movq	%r13, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	movl	ADJ_MATRIX_DIM(%rip), %edx
	movq	-1120(%rbp), %rsi
	movl	$2, %ecx
	movq	%r12, %rdi
	imull	%edx, %edx
	sall	$2, %edx
	movslq	%edx, %rdx
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	call	cudaGetLastError@PLT
	movl	%eax, %edi
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	.L240
	call	cudaGetErrorString@PLT
	movq	%rax, %r8
	pushq	%rdx
	leaq	.LC0(%rip), %r9
	leaq	.LC45(%rip), %rcx
	pushq	$434
	jmp	.L272
.L242:
	movl	%r14d, %eax
	movq	%rbx, %rdi
	imull	%edx, %eax
	imull	%edx, %eax
	addl	%r13d, %eax
	cltq
	movl	(%r12,%rax,4), %esi
	call	_ZNSolsEi@PLT
	incl	%r13d
.L244:
	movl	ADJ_MATRIX_DIM(%rip), %edx
	movl	%edx, %eax
	imull	%edx, %eax
	cmpl	%r13d, %eax
	jg	.L242
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	incl	%r14d
	cmpl	$4, %r14d
	je	.L243
.L240:
	xorl	%r13d, %r13d
	jmp	.L244
.L243:
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	movq	%rbx, %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv@PLT
	movq	%r12, %rdi
	call	free@PLT
	movslq	ADJ_MATRIX_DIM(%rip), %r13
	salq	$2, %r13
	movq	%r13, %rdi
	call	malloc@PLT
	movq	-1112(%rbp), %rsi
	movl	$2, %ecx
	movq	%r13, %rdx
	movq	%rax, %rdi
	movq	%rax, %r12
	call	cudaMemcpy@PLT
	call	cudaGetLastError@PLT
	movl	%eax, %edi
	xorl	%r13d, %r13d
	leaq	-1080(%rbp), %r14
	testl	%eax, %eax
	je	.L245
	call	cudaGetErrorString@PLT
	movq	%rax, %r8
	leaq	.LC0(%rip), %r9
	pushq	%rax
	leaq	.LC46(%rip), %rcx
	pushq	$454
	jmp	.L272
.L246:
	movl	(%r12,%r13,4), %esi
	movq	%r14, %rdi
	call	_ZNSolsEi@PLT
	incq	%r13
.L245:
	cmpl	%r13d, ADJ_MATRIX_DIM(%rip)
	jg	.L246
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	movq	%r12, %rdi
	call	free@PLT
	movq	%r14, %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv@PLT
	movq	-1120(%rbp), %rdi
	call	cudaFree@PLT
	xorl	%edi, %edi
	call	cudaFree@PLT
	movq	-1152(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1144(%rbp), %rdi
	call	cudaFree@PLT
.LEHE21:
	movq	-1128(%rbp), %rdi
	xorl	%r12d, %r12d
	call	free@PLT
.L239:
	movq	%rbx, %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
.L233:
	movq	%r15, %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	jmp	.L223
.L256:
	endbr64
	movq	%rax, %r12
.L247:
	movq	%rbx, %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	jmp	.L248
.L255:
	endbr64
	movq	%rax, %r12
.L248:
	movq	%r15, %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L270
	movq	%r12, %rdi
.LEHB22:
	call	_Unwind_Resume@PLT
.LEHE22:
.L223:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	je	.L250
.L270:
	call	__stack_chk_fail@PLT
.L250:
	leaq	-40(%rbp), %rsp
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4426:
	.section	.gcc_except_table
.LLSDA4426:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4426-.LLSDACSB4426
.LLSDACSB4426:
	.uleb128 .LEHB19-.LFB4426
	.uleb128 .LEHE19-.LEHB19
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB20-.LFB4426
	.uleb128 .LEHE20-.LEHB20
	.uleb128 .L255-.LFB4426
	.uleb128 0
	.uleb128 .LEHB21-.LFB4426
	.uleb128 .LEHE21-.LEHB21
	.uleb128 .L256-.LFB4426
	.uleb128 0
	.uleb128 .LEHB22-.LFB4426
	.uleb128 .LEHE22-.LEHB22
	.uleb128 0
	.uleb128 0
.LLSDACSE4426:
	.section	.text.startup
	.size	main, .-main
	.type	_GLOBAL__sub_I_bool1, @function
_GLOBAL__sub_I_bool1:
.LFB5385:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	__dso_handle(%rip), %rbx
	xorl	%eax, %eax
	leaq	_Z12Airport_ListB5cxx11(%rip), %rsi
	movq	%rbx, %rdx
	leaq	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED1Ev(%rip), %rdi
	movq	%rax, _Z12Airport_ListB5cxx11(%rip)
	movq	%rax, 8+_Z12Airport_ListB5cxx11(%rip)
	movq	%rax, 16+_Z12Airport_ListB5cxx11(%rip)
	call	__cxa_atexit@PLT
	xorl	%edx, %edx
	leaq	Flight_List(%rip), %rsi
	leaq	_ZNSt6vectorI6FlightSaIS0_EED1Ev(%rip), %rdi
	movq	%rdx, Flight_List(%rip)
	movq	%rdx, 8+Flight_List(%rip)
	movq	%rdx, 16+Flight_List(%rip)
	movq	%rbx, %rdx
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	__cxa_atexit@PLT
	.cfi_endproc
.LFE5385:
	.size	_GLOBAL__sub_I_bool1, .-_GLOBAL__sub_I_bool1
	.section	.init_array
	.align 8
	.quad	_GLOBAL__sub_I_bool1
	.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
	.globl	AdjMatrix
	.bss
	.align 8
	.type	AdjMatrix, @object
	.size	AdjMatrix, 8
AdjMatrix:
	.zero	8
	.globl	Flight_List
	.align 16
	.type	Flight_List, @object
	.size	Flight_List, 24
Flight_List:
	.zero	24
	.globl	_Z12Airport_ListB5cxx11
	.align 16
	.type	_Z12Airport_ListB5cxx11, @object
	.size	_Z12Airport_ListB5cxx11, 24
_Z12Airport_ListB5cxx11:
	.zero	24
	.local	_ZL18DEV_ADJ_MATRIX_DIM
	.comm	_ZL18DEV_ADJ_MATRIX_DIM,4,4
	.globl	ADJ_MATRIX_DIM
	.align 4
	.type	ADJ_MATRIX_DIM, @object
	.size	ADJ_MATRIX_DIM, 4
ADJ_MATRIX_DIM:
	.zero	4
	.globl	bool2
	.type	bool2, @object
	.size	bool2, 1
bool2:
	.zero	1
	.globl	bool1
	.data
	.type	bool1, @object
	.size	bool1, 1
bool1:
	.byte	1
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC38:
	.long	0
	.long	1063256064
	.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 <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <algorithm>
#include <time.h>
#include <cmath>
#include <limits.h>

#define MAXHOPS 4
#define MAX_WAITING_TIME 420
#define BLOCK_LENGTH 512
#define END_OF_ARRAY 2147483647
#define BUFFER_LENGTH 50
#define AIRPORT_PATH "C:/Users/acer/Desktop/Semester 7/Project/AA_airports.txt" //"C:/Users/acer/Desktop/Semester 7/Project/Data/AA_airports.txt"

#define FLIGHT_PATH "C:/Users/acer/Desktop/Semester 7/Project/AA_data1.txt" //"C:/Users/acer/Desktop/Semester 7/Project/Data/OAGX_data_num_1.txt"

bool bool1 = true;
bool bool2 = false;
using namespace std;

hipError_t addWithCuda(int *c, const int *a, const int *b, size_t size);

// for cuda error checking
#define cudaCheckErrors(msg) \
    do { \
        hipError_t __err = hipGetLastError(); \
        if (__err != hipSuccess) { \
            fprintf(stderr, "Fatal error: %s (%s at %s:%d)\n", \
                msg, hipGetErrorString(__err), \
                __FILE__, __LINE__); \
            fprintf(stderr, "*** FAILED - ABORTING\n"); \
            return 1; \
        } \
    } while (0)


int ADJ_MATRIX_DIM;
__device__ int DEV_ADJ_MATRIX_DIM;

// FYP_BFS.cpp : Defines the entry point for the console application.
//

///////////////////Global Variables///////////////////
struct Flight{
	int flightNumber;
	int source;
	int destination;
	int arrivalTime;
	int departureTime;
	int price;
	string code;
};

vector<string> Airport_List;
vector<Flight> Flight_List;
vector<int>** AdjMatrix;

//////////////////////////////////////////////////////

//////////////////Data Read///////////////////////////
int readAirports(){
	
	ifstream myFile;
	myFile.open(AIRPORT_PATH);
	int numberOfAirports=0;
	if(myFile.is_open()){

		
		string line;

		cout<<"Reading Airports"<<endl;
		
		while(myFile.good()){
//------------------------------changed-------------------//			
			//myFile.ignore(256,' ');
			string s;
			myFile>>s;
			Airport_List.push_back(s);
			
			numberOfAirports++;
		}
	}
	myFile.close();
	ADJ_MATRIX_DIM = Airport_List.size();

	//cudaMemcpy(DEV_ADJ_MATRIX_DIM,&ADJ_MATRIX_DIM,sizeof(int),cudaMemcpyHostToDevice);
	hipMemcpyToSymbol(HIP_SYMBOL(DEV_ADJ_MATRIX_DIM),&ADJ_MATRIX_DIM,sizeof(int),0,hipMemcpyHostToDevice);
	cudaCheckErrors("Error copying adj matrix dim to device");
	cout<<Airport_List.size()<<" Airports Found"<<endl;

	return 1;
}


void readFlights(){

	//this is a bloody array of pointers
	AdjMatrix = new vector<int>*[Airport_List.size()];

	for(int i=0;i<Airport_List.size();i++){
		//thisi is a bloody array of vectors
		AdjMatrix[i] = new vector<int>[Airport_List.size()];
	}

	ifstream myFile;
	myFile.open(FLIGHT_PATH);

	int numOfFlights = 0;
	if(myFile.is_open()){
				
		string line;
		
		Flight tempFlight;
		while(myFile.good()){
//---------------------------------------changed----------------------------------------//			
			tempFlight.flightNumber= numOfFlights;
			/*myFile>>tempFlight.source;
			myFile>>tempFlight.destination;
			myFile>>tempFlight.departureTime;
			myFile>>tempFlight.arrivalTime;
			if(tempFlight.arrivalTime<tempFlight.departureTime) tempFlight.arrivalTime+=10080;
			myFile>>tempFlight.price;
			
			myFile>>tempFlight.code;*/

			myFile>>tempFlight.source;
			myFile>>tempFlight.destination;
			myFile>>tempFlight.price;
			myFile>>tempFlight.departureTime;
			myFile>>tempFlight.arrivalTime;
			if(tempFlight.arrivalTime<tempFlight.departureTime) tempFlight.arrivalTime+=10080;			
			
			myFile>>tempFlight.code;
						
			//add this flight to the adjmatrix;
			Flight_List.push_back(tempFlight);

			AdjMatrix[tempFlight.source][tempFlight.destination].push_back(tempFlight.flightNumber);

			numOfFlights++;

			if(numOfFlights%10000==0) cout<<"*";
		}
			
			cout<<endl;
	}
	myFile.close();
	
	cout<<Flight_List.size()<<" Flights Found"<<endl;
}

/////////////////////////////////////////////////////////////////////////////////////


struct route{
	vector<int> flights;
	int weight;
};



int initializeFlightListInDevice(Flight* &dev_flight_list){
	//allocate space for the flight list in cuda
	hipMalloc((void**)&dev_flight_list, Flight_List.size()*sizeof(Flight));
	cudaCheckErrors("Failed to allocate memory to flight list");	
	hipMemcpy(dev_flight_list,&Flight_List[0],Flight_List.size()*sizeof(Flight),hipMemcpyHostToDevice);
	cudaCheckErrors("Failed to copy flight list");
	
	return 1;
}



int initializeAdjMatrixInDevice(int** &dev_adj_list, int ** &host_adj_vector){

	
	size_t size = ADJ_MATRIX_DIM*ADJ_MATRIX_DIM*sizeof(int*);

	

	//the vector in host that records the pointers in device memory
	host_adj_vector = (int **)malloc(size);
	
	//i indicates rows and j indicates columns of the adjacency matrix
	//allocate device memory for the boolean vector
	
	//allocate memory for each manhattan in device and store the pointer in memory
	for(int i=0;i<ADJ_MATRIX_DIM;i++){
		for(int j=0;j<ADJ_MATRIX_DIM;j++){
			
			hipMalloc((void **)&host_adj_vector[i*ADJ_MATRIX_DIM+j],AdjMatrix[i][j].size()*sizeof(int));
			cudaCheckErrors("Failed to allocate memory to airport list manhattan:");
			hipMemcpy(host_adj_vector[i*ADJ_MATRIX_DIM+j],&AdjMatrix[i][j][0],AdjMatrix[i][j].size()*sizeof(int),hipMemcpyHostToDevice);
			cudaCheckErrors("Failed to copy data to airport list manhattan:");
			
		}
		if(i%100==0) cout<<"&";
	}	
	cout<<endl;

	hipMalloc((void***)&dev_adj_list,size);
	cudaCheckErrors("Failed to allocate memory to pointer list in device");
	hipMemcpy(dev_adj_list,host_adj_vector,size,hipMemcpyHostToDevice);
	cudaCheckErrors("Failed to allocate data to pointer list in device");

	return 1;
}

int initializeBooleanMatrixInDevice(int* &boolean_matrix){
	int* host_bool_matrix= new int[ADJ_MATRIX_DIM*ADJ_MATRIX_DIM];
	for(int i=0;i<ADJ_MATRIX_DIM;i++){
		for(int j=0;j<ADJ_MATRIX_DIM;j++){
			host_bool_matrix[i*ADJ_MATRIX_DIM+j] =  (AdjMatrix[i][j].size() !=0);
		}
	}
	size_t size_bool =ADJ_MATRIX_DIM*ADJ_MATRIX_DIM*sizeof(int);
	hipMalloc((void**)&boolean_matrix,size_bool);
	cudaCheckErrors("Failed to allocate memory to boolean adj matrix");
	hipMemcpy(boolean_matrix,host_bool_matrix,size_bool,hipMemcpyHostToDevice);
	cudaCheckErrors("Failed to move data to boolean adj matrix");
	delete(host_bool_matrix);

	return 1;
}

int initializeBuffer(int* &buffer){

	//buffer size
	int* host_bool_buffer= new int[ADJ_MATRIX_DIM*ADJ_MATRIX_DIM*MAXHOPS];

	//
	for(int k=0;k<MAXHOPS;k++){
		for(int i=0;i<ADJ_MATRIX_DIM;i++){
			for(int j=0;j<ADJ_MATRIX_DIM;j++){
				host_bool_buffer[k*ADJ_MATRIX_DIM*ADJ_MATRIX_DIM+ i*ADJ_MATRIX_DIM+j] = false;
			}
		}
	}

	size_t size_bool =MAXHOPS*ADJ_MATRIX_DIM*ADJ_MATRIX_DIM*sizeof(int);
	hipMalloc((void**)&buffer,size_bool);
	cudaCheckErrors("Failed to allocate memory to boolean buffer");
	hipMemcpy(buffer,host_bool_buffer,size_bool,hipMemcpyHostToDevice);
	cudaCheckErrors("Failed to move data to boolean buffer");
	delete(host_bool_buffer);
	return 1;
}

__global__ void testBuffer(int* buffer,int* result, int size){
	int id =blockIdx.x*blockDim.x+threadIdx.x;
	if(id<size){
		if(buffer[id])
		result[id] = 1234345;
		else
			result[id] = 0;
	}
}

__global__ void testMatrix(int** devVector,int size, int* result, Flight* flights){
	//block dimension is the number of threads in a block. since blockid is zero based multiplying gets you somewhre close. 
	//to gt the correct position all u have to do then is to add the thread id
	int i = blockIdx.x*blockDim.x+threadIdx.x;
	result[i] = 0;
	if(i<size*size && devVector[i]!= NULL )		
		result[i] = flights[devVector[i][0]].source;
}

__global__ void testMatrixBoolean(int* devMatrixBoolean,int size, int* result){
	int i = blockIdx.x*blockDim.x+threadIdx.x;
	result[i] = 0;
	//put 1 if a manhattan exists for the particular position
	if(i<size*size && devMatrixBoolean[i])		
		result[i] = 1;
}
//initialize buffer to end of array value so that as values are filled the array size will change, but will still be
//indicated by the first end of array value

//__global__ void initializeBuffer(bool* buffer, int size){
//	int id = blockIdx.x*blockDim.x+threadIdx.x;
//	if(id<size)
//		buffer[id] = false;
//}

//give enough threads to span the source row
//maximum id should be adj_matrix_dimension

__global__ void firstExpansion(int* buffer, int*dev_boolean_matrix, int source){
	int id = blockIdx.x*blockDim.x+threadIdx.x;
	//the source row. 
	
	//if(id<DEV_ADJ_MATRIX_DIM*DEV_ADJ_MATRIX_DIM){
	//	//if(dev_adj_matrix[DEV_ADJ_MATRIX_DIM*(source-1)+id]!=NULL){
	//	//	//set source to the precedant node list of each relevant airport
	//	//	buffer[id*BUFFER_LENGTH] = source;
	//	//}
	//}
}

//max id is number of airports
__global__ void expansion(int* dev_buffer1,int* boolean_matrix, int* dev_source_vector,int matrix_dimension){
	
	int id = blockIdx.x*blockDim.x+threadIdx.x;
		int row = (int) floor((double)id/matrix_dimension);
		int column = id%matrix_dimension;

	for(int k=0;k<MAXHOPS;k++){
		
		if(row<matrix_dimension && column<matrix_dimension ){
		
			//for the source row if the matrix row column position has a manhattan set the buffer position to true
			dev_buffer1[k*matrix_dimension*matrix_dimension+id] = (dev_source_vector[row] && boolean_matrix[id]);
		
		
		}
		__syncthreads();
		//set the 'next source vector' positions to zero by the first of each row
		if(row<matrix_dimension && column<matrix_dimension&& column==0) dev_source_vector[row]= 0;
		__syncthreads();
		
		//if the relevant cell in the frame has been set, contribute to making sure the relevant cell in the 'next source vector' is set to 1
		if((row<matrix_dimension && column<matrix_dimension) && dev_buffer1[k*matrix_dimension*matrix_dimension+id]){
			dev_source_vector[column] = 1;
		}

		__syncthreads();
	}
}

//__global__ void copyNextSource(bool* next_source_array, bool* current_array, int size){
//	int id = blockDim.x*blockIdx.x+threadIdx.x;
//	if(id<size)
//		cudaMemcpy
//}

int main(int argc)
{
	
	readAirports();
	readFlights();
	
	int source = 344;
	int destination = 190;

	
	Flight* dev_flight_list;
	
	int** dev_adj_list;
	int* dev_adj_matrix_boolean;
	int** host_adj_vector;
	int* dev_level1;
	int* dev_level2;
	int* frames;
	//boolean array containing source airports in the next expansion
	int* dev_next_source_array;
	
	size_t matrixSize = ADJ_MATRIX_DIM*ADJ_MATRIX_DIM*sizeof(int);
	size_t bufferSize = ADJ_MATRIX_DIM*ADJ_MATRIX_DIM*sizeof(int);
		
	//add the flight array to GPU memory
	cout<<"Initializing Flights"<<endl;	
	initializeFlightListInDevice(dev_flight_list);
	cout<<"finished initializing FLights"<<endl;

	//add the adjacency matrix with manhattans to GPU
	cout<<"Initializing Matrix"<<endl;
	initializeAdjMatrixInDevice(dev_adj_list,host_adj_vector);	
	cout<<"Finished with adj matrix"<<endl;

	//add the boolean adjacency matrix (without manhattans) to GPU
	cout<<"Initializing Boolean Matrix"<<endl;
	initializeBooleanMatrixInDevice(dev_adj_matrix_boolean);	
	cout<<"Finished with boolean matrix"<<endl;

	//allocate memory for the 'next source array' in device
	hipMalloc((void**)&dev_next_source_array,ADJ_MATRIX_DIM*sizeof(int));
	cudaCheckErrors("Failed to allocate memory to next source list");

	int* source_vector = new int [ADJ_MATRIX_DIM];

	//initialize the 'next source vector' with the source row of the adjacency matrix
	for(int i=0;i<ADJ_MATRIX_DIM;i++){
		source_vector[i] = AdjMatrix[source][i].size()!=0;
	}
	//intialize 'next source array' in device
	hipMemcpy(dev_next_source_array,source_vector,ADJ_MATRIX_DIM*sizeof(int),hipMemcpyHostToDevice);
	cudaCheckErrors("Failed to move data  to next source list");

	delete(source_vector);
	//////////////////////initialize the buffers for all the levels/////////////////
	cout<<"initializing Buffers"<<endl;

	initializeBuffer(dev_level1);
	//initializeBuffer(dev_level2);
	
	cout<<"initialized buffers"<<endl;
	///////////////////////////////////////Interations///////////////////////////////////////
	
	int numBlocks = ceil((double)ADJ_MATRIX_DIM*ADJ_MATRIX_DIM/BLOCK_LENGTH);

	ofstream myFile;
	myFile.open("nextSource.txt");

	
	int* myArray = (int*) malloc(ADJ_MATRIX_DIM*sizeof(int));
	hipMemcpy(myArray,dev_next_source_array,ADJ_MATRIX_DIM*sizeof(int),hipMemcpyDeviceToHost);
	cudaCheckErrors("Failed to copy data from buffer array to host array");


	for(int i=0;i<ADJ_MATRIX_DIM;i++){
		//if(myArray[i]!= NULL)
			myFile<<myArray[i];
	}
	myFile<<endl<<endl;
	free(myArray);
	cout<<"moving into first expansion"<<endl;

	ofstream myFile2;
	myFile2.open("Frame1.txt");
	int* myArray2 = (int*)malloc(MAXHOPS*ADJ_MATRIX_DIM*ADJ_MATRIX_DIM*sizeof(int));

	 expansion<<<numBlocks,BLOCK_LENGTH>>>(dev_level1,dev_adj_matrix_boolean,dev_next_source_array,ADJ_MATRIX_DIM);
	 hipDeviceSynchronize();
	 cudaCheckErrors("Error occured in expansion");
	cout<<"finished expansion"<<endl;
	hipMemcpy(myArray2,dev_level1,MAXHOPS*ADJ_MATRIX_DIM*ADJ_MATRIX_DIM*sizeof(int),hipMemcpyDeviceToHost);
	 cudaCheckErrors("Failed to retrieve memory from first frame");
	 
	 for(int j=0;j<MAXHOPS;j++){
		for(int i=0;i<ADJ_MATRIX_DIM*ADJ_MATRIX_DIM;i++){
		//if(myArray[i]!= NULL)
			myFile2<<myArray2[j*ADJ_MATRIX_DIM*ADJ_MATRIX_DIM+i];
		}
		myFile2<<endl;
	 }
	myFile2<<endl<<endl;
	myFile2.close();

	free(myArray2);
	int* myArray1 = (int*)malloc(ADJ_MATRIX_DIM*sizeof(int));

	/* expansion<<<numBlocks,BLOCK_LENGTH>>>(dev_level1,dev_adj_matrix_boolean,dev_next_source_array,ADJ_MATRIX_DIM);
	 cudaThreadSynchronize();
	 cudaCheckErrors("Error occured in expansion");
	cout<<"finished expansion"<<endl;*/
	 hipMemcpy(myArray1,dev_next_source_array,ADJ_MATRIX_DIM*sizeof(int),hipMemcpyDeviceToHost);
	 cudaCheckErrors("Failed to retrieve memory from buffer array 1.2 to host");
	for(int i=0;i<ADJ_MATRIX_DIM;i++){
		//if(myArray[i]!= NULL)
			myFile<<myArray1[i];
	}
	myFile<<endl<<endl;
	free(myArray1);
	myFile.close();
	
	
	//cudaFree(dev_next_source_array);
	
	
	hipFree(dev_level1);
	hipFree(dev_level2);
	hipFree(dev_flight_list);
	
	//for(int i=0;i<ADJ_MATRIX_DIM*ADJ_MATRIX_DIM;i++){
	//	//cout<<i<<endl;
	//	if(host_adj_vector[i] !=NULL)
	//		cudaFree(host_adj_vector[i]);
	//}
	hipFree(dev_adj_list);
	free(host_adj_vector);
	
	
	
	return 0;
}


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

                                        # End of file scope inline assembly
	.section	.text._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev,"axG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev,comdat
	.weak	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev # -- Begin function _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev
	.p2align	1, 0x90
	.type	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev,@function
_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev: # @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	(%rdi), %rbx
	movq	8(%rdi), %r15
	cmpq	%r15, %rbx
	je	.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
	addq	$16, %rbx
	cmpq	%rbx, %rdi
	je	.LBB0_4
# %bb.3:                                # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i.i.i.i.i
                                        #   in Loop: Header=BB0_2 Depth=1
	callq	_ZdlPv
.LBB0_4:                                # %_ZSt8_DestroyINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEvPT_.exit.i.i.i
                                        #   in Loop: Header=BB0_2 Depth=1
	addq	$16, %rbx
	cmpq	%r15, %rbx
	jne	.LBB0_2
# %bb.5:                                # %_ZSt8_DestroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EvT_S7_RSaIT0_E.exitthread-pre-split
	movq	(%r14), %rbx
.LBB0_6:                                # %_ZSt8_DestroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EvT_S7_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_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev.exit
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end0:
	.size	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev, .Lfunc_end0-_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorI6FlightSaIS0_EED2Ev,"axG",@progbits,_ZNSt6vectorI6FlightSaIS0_EED2Ev,comdat
	.weak	_ZNSt6vectorI6FlightSaIS0_EED2Ev # -- Begin function _ZNSt6vectorI6FlightSaIS0_EED2Ev
	.p2align	1, 0x90
	.type	_ZNSt6vectorI6FlightSaIS0_EED2Ev,@function
_ZNSt6vectorI6FlightSaIS0_EED2Ev:       # @_ZNSt6vectorI6FlightSaIS0_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	.LBB1_6
# %bb.1:                                # %.lr.ph.i.i.i.preheader
	movq	%rdi, %r14
	addq	$40, %rbx
.LBB1_2:                                # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	-16(%rbx), %rdi
	cmpq	%rdi, %rbx
	je	.LBB1_4
# %bb.3:                                # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i.i.i.i.i.i
                                        #   in Loop: Header=BB1_2 Depth=1
	callq	_ZdlPv
.LBB1_4:                                # %_ZSt8_DestroyI6FlightEvPT_.exit.i.i.i
                                        #   in Loop: Header=BB1_2 Depth=1
	leaq	56(%rbx), %rax
	addq	$16, %rbx
	cmpq	%r15, %rbx
	movq	%rax, %rbx
	jne	.LBB1_2
# %bb.5:                                # %_ZSt8_DestroyIP6FlightS0_EvT_S2_RSaIT0_E.exitthread-pre-split
	movq	(%r14), %rbx
.LBB1_6:                                # %_ZSt8_DestroyIP6FlightS0_EvT_S2_RSaIT0_E.exit
	testq	%rbx, %rbx
	je	.LBB1_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
.LBB1_7:                                # %_ZNSt12_Vector_baseI6FlightSaIS0_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_end1:
	.size	_ZNSt6vectorI6FlightSaIS0_EED2Ev, .Lfunc_end1-_ZNSt6vectorI6FlightSaIS0_EED2Ev
	.cfi_endproc
                                        # -- End function
	.text
	.globl	_Z12readAirportsv               # -- Begin function _Z12readAirportsv
	.type	_Z12readAirportsv,@function
_Z12readAirportsv:                      # @_Z12readAirportsv
.Lfunc_begin0:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception0
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	subq	$584, %rsp                      # imm = 0x248
	.cfi_def_cfa_offset 624
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	64(%rsp), %rbx
	movq	%rbx, %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev
.Ltmp0:
	movl	$.L.str, %esi
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode
.Ltmp1:
# %bb.1:
	leaq	184(%rsp), %rdi
	callq	_ZNKSt12__basic_fileIcE7is_openEv
	testb	%al, %al
	je	.LBB2_15
# %bb.2:
	leaq	48(%rsp), %r15
	movq	%r15, -16(%r15)
	movq	$0, -8(%r15)
	movb	$0, (%r15)
.Ltmp3:
	movl	$_ZSt4cout, %ebx
	movl	$_ZSt4cout, %edi
	movl	$.L.str.2, %esi
	movl	$16, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp4:
# %bb.3:                                # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit
	movq	_ZSt4cout(%rip), %rax
	addq	-24(%rax), %rbx
.Ltmp5:
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp6:
# %bb.4:                                # %.noexc
.Ltmp7:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp8:
# %bb.5:                                # %.noexc28
.Ltmp9:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp10:
# %bb.6:                                # %_ZNSolsEPFRSoS_E.exit.preheader
	movq	64(%rsp), %rax
	movq	-24(%rax), %rax
	cmpl	$0, 96(%rsp,%rax)
	jne	.LBB2_13
# %bb.7:                                # %.lr.ph
	leaq	16(%rsp), %r12
	leaq	64(%rsp), %rbx
	movq	%rsp, %r14
.LBB2_8:                                # =>This Inner Loop Header: Depth=1
	movq	%r12, (%rsp)
	movq	$0, 8(%rsp)
	movb	$0, 16(%rsp)
.Ltmp12:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE
.Ltmp13:
# %bb.9:                                #   in Loop: Header=BB2_8 Depth=1
.Ltmp14:
	movl	$_Z12Airport_ListB5cxx11, %edi
	movq	%r14, %rsi
	callq	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_
.Ltmp15:
# %bb.10:                               #   in Loop: Header=BB2_8 Depth=1
	movq	(%rsp), %rdi
	cmpq	%r12, %rdi
	je	.LBB2_12
# %bb.11:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i
                                        #   in Loop: Header=BB2_8 Depth=1
	callq	_ZdlPv
.LBB2_12:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit
                                        #   in Loop: Header=BB2_8 Depth=1
	movq	64(%rsp), %rax
	movq	-24(%rax), %rax
	cmpl	$0, 96(%rsp,%rax)
	je	.LBB2_8
.LBB2_13:                               # %_ZNSolsEPFRSoS_E.exit._crit_edge
	movq	32(%rsp), %rdi
	cmpq	%r15, %rdi
	je	.LBB2_15
# %bb.14:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i20
	callq	_ZdlPv
.LBB2_15:
.Ltmp17:
	leaq	64(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv
.Ltmp18:
# %bb.16:
	movq	_Z12Airport_ListB5cxx11+8(%rip), %rax
	subq	_Z12Airport_ListB5cxx11(%rip), %rax
	shrq	$5, %rax
	movl	%eax, ADJ_MATRIX_DIM(%rip)
.Ltmp19:
	movl	$DEV_ADJ_MATRIX_DIM, %edi
	movl	$ADJ_MATRIX_DIM, %esi
	movl	$4, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	hipMemcpyToSymbol
.Ltmp20:
# %bb.17:                               # %_Z17hipMemcpyToSymbolIiE10hipError_tRKT_PKvmm13hipMemcpyKind.exit
.Ltmp21:
	callq	hipGetLastError
.Ltmp22:
# %bb.18:
	testl	%eax, %eax
	jne	.LBB2_19
# %bb.28:                               # %.critedge
	movq	_Z12Airport_ListB5cxx11+8(%rip), %rsi
	subq	_Z12Airport_ListB5cxx11(%rip), %rsi
	sarq	$5, %rsi
.Ltmp26:
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertImEERSoT_
.Ltmp27:
# %bb.29:                               # %_ZNSolsEm.exit
.Ltmp28:
	movq	%rax, %rbx
	movl	$.L.str.7, %esi
	movl	$15, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp29:
# %bb.30:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit26
	movq	(%rbx), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
.Ltmp30:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp31:
# %bb.31:                               # %.noexc30
.Ltmp32:
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_ZNSo3putEc
.Ltmp33:
# %bb.32:                               # %.noexc31
.Ltmp34:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp35:
.LBB2_33:                               # %_ZNSolsEPFRSoS_E.exit27
	leaq	64(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
	movl	$1, %eax
	addq	$584, %rsp                      # imm = 0x248
	.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
.LBB2_19:
	.cfi_def_cfa_offset 624
	movq	stderr(%rip), %rbx
.Ltmp23:
	movl	%eax, %edi
	callq	hipGetErrorString
.Ltmp24:
# %bb.20:
	movl	$.L.str.3, %esi
	movl	$.L.str.4, %edx
	movl	$.L.str.5, %r8d
	movq	%rbx, %rdi
	movq	%rax, %rcx
	movl	$96, %r9d
	xorl	%eax, %eax
	callq	fprintf
	movq	stderr(%rip), %rcx
	movl	$.L.str.6, %edi
	movl	$22, %esi
	movl	$1, %edx
	callq	fwrite@PLT
	jmp	.LBB2_33
.LBB2_34:
.Ltmp2:
	jmp	.LBB2_35
.LBB2_27:
.Ltmp25:
	jmp	.LBB2_35
.LBB2_24:
.Ltmp11:
	movq	%rax, %rbx
	jmp	.LBB2_25
.LBB2_21:
.Ltmp36:
.LBB2_35:
	movq	%rax, %rbx
	jmp	.LBB2_36
.LBB2_22:
.Ltmp16:
	movq	%rax, %rbx
	movq	(%rsp), %rdi
	cmpq	%r12, %rdi
	je	.LBB2_25
# %bb.23:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i17
	callq	_ZdlPv
.LBB2_25:
	movq	32(%rsp), %rdi
	cmpq	%r15, %rdi
	je	.LBB2_36
# %bb.26:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i23
	callq	_ZdlPv
.LBB2_36:
	leaq	64(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end2:
	.size	_Z12readAirportsv, .Lfunc_end2-_Z12readAirportsv
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table2:
.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 .Ltmp10-.Ltmp3                 #   Call between .Ltmp3 and .Ltmp10
	.uleb128 .Ltmp11-.Lfunc_begin0          #     jumps to .Ltmp11
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp12-.Lfunc_begin0          # >> Call Site 4 <<
	.uleb128 .Ltmp15-.Ltmp12                #   Call between .Ltmp12 and .Ltmp15
	.uleb128 .Ltmp16-.Lfunc_begin0          #     jumps to .Ltmp16
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp17-.Lfunc_begin0          # >> Call Site 5 <<
	.uleb128 .Ltmp20-.Ltmp17                #   Call between .Ltmp17 and .Ltmp20
	.uleb128 .Ltmp36-.Lfunc_begin0          #     jumps to .Ltmp36
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp21-.Lfunc_begin0          # >> Call Site 6 <<
	.uleb128 .Ltmp22-.Ltmp21                #   Call between .Ltmp21 and .Ltmp22
	.uleb128 .Ltmp25-.Lfunc_begin0          #     jumps to .Ltmp25
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp26-.Lfunc_begin0          # >> Call Site 7 <<
	.uleb128 .Ltmp35-.Ltmp26                #   Call between .Ltmp26 and .Ltmp35
	.uleb128 .Ltmp36-.Lfunc_begin0          #     jumps to .Ltmp36
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp23-.Lfunc_begin0          # >> Call Site 8 <<
	.uleb128 .Ltmp24-.Ltmp23                #   Call between .Ltmp23 and .Ltmp24
	.uleb128 .Ltmp25-.Lfunc_begin0          #     jumps to .Ltmp25
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp24-.Lfunc_begin0          # >> Call Site 9 <<
	.uleb128 .Lfunc_end2-.Ltmp24            #   Call between .Ltmp24 and .Lfunc_end2
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_,"axG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_,comdat
	.weak	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_ # -- Begin function _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_
	.p2align	1, 0x90
	.type	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_,@function
_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_: # @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	%rsi, %rdx
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	je	.LBB3_2
# %bb.1:
	leaq	16(%rax), %rcx
	movq	%rcx, (%rax)
	movq	(%rdx), %rsi
	movq	8(%rdx), %rdx
	addq	%rsi, %rdx
	movq	%rax, %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag
	addq	$32, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.LBB3_2:
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	movq	%rax, %rsi
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_ # TAILCALL
.Lfunc_end3:
	.size	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_, .Lfunc_end3-_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_
	.cfi_endproc
                                        # -- End function
	.text
	.globl	_Z11readFlightsv                # -- Begin function _Z11readFlightsv
	.type	_Z11readFlightsv,@function
_Z11readFlightsv:                       # @_Z11readFlightsv
.Lfunc_begin1:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception1
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$616, %rsp                      # imm = 0x268
	.cfi_def_cfa_offset 672
	.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	_Z12Airport_ListB5cxx11+8(%rip), %rbx
	movq	_Z12Airport_ListB5cxx11(%rip), %r14
	movq	%rbx, %rax
	subq	%r14, %rax
	movq	%rax, %rdi
	sarq	$2, %rdi
	testq	%rax, %rax
	movq	$-1, %r12
	cmovsq	%r12, %rdi
	callq	_Znam
	movq	%rax, AdjMatrix(%rip)
	subq	%r14, %rbx
	je	.LBB4_3
# %bb.1:                                # %.lr.ph.preheader
	sarq	$5, %rbx
	xorl	%r13d, %r13d
	movabsq	$-6148914691236517205, %rbp     # imm = 0xAAAAAAAAAAAAAAAB
.LBB4_2:                                # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movq	%rbx, %rax
	movl	$24, %ecx
	mulq	%rcx
	movq	%rax, %r14
	seto	%al
	movq	%r14, %rdi
	addq	$8, %rdi
	cmovbq	%r12, %rdi
	testb	%al, %al
	cmovneq	%r12, %rdi
	callq	_Znam
	movq	%rax, %r15
	movq	%rbx, (%rax)
	addq	$8, %r15
	leaq	-24(%r14), %rax
	mulq	%rbp
	shrq	$4, %rdx
	leaq	(%rdx,%rdx,2), %rax
	leaq	24(,%rax,8), %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	memset@PLT
	movq	AdjMatrix(%rip), %rax
	movq	%r15, (%rax,%r13,8)
	incq	%r13
	movq	_Z12Airport_ListB5cxx11+8(%rip), %rbx
	subq	_Z12Airport_ListB5cxx11(%rip), %rbx
	sarq	$5, %rbx
	cmpq	%r13, %rbx
	ja	.LBB4_2
.LBB4_3:                                # %._crit_edge
	leaq	96(%rsp), %rbx
	movq	%rbx, %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev
.Ltmp37:
	movl	$.L.str.8, %esi
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode
.Ltmp38:
# %bb.4:
	leaq	216(%rsp), %rdi
	callq	_ZNKSt12__basic_fileIcE7is_openEv
	testb	%al, %al
	je	.LBB4_36
# %bb.5:
	leaq	80(%rsp), %rax
	movq	%rax, -16(%rax)
	xorl	%r15d, %r15d
	movq	%r15, -8(%rax)
	movb	%r15b, (%rax)
	leaq	48(%rsp), %rax
	movq	%rax, -16(%rax)
	movq	%r15, -8(%rax)
	movb	%r15b, (%rax)
	movq	96(%rsp), %rax
	movq	-24(%rax), %rax
	cmpl	$0, 128(%rsp,%rax)
	jne	.LBB4_29
# %bb.6:                                # %.lr.ph40
	movl	$1, %r12d
	leaq	20(%rsp), %rbp
	movl	$3518437209, %r13d              # imm = 0xD1B71759
	leaq	96(%rsp), %rbx
	leaq	8(%rsp), %r14
.LBB4_7:                                # =>This Inner Loop Header: Depth=1
	movl	%r15d, 8(%rsp)
.Ltmp40:
	movq	%rbx, %rdi
	leaq	12(%rsp), %rsi
	callq	_ZNSirsERi
.Ltmp41:
# %bb.8:                                #   in Loop: Header=BB4_7 Depth=1
.Ltmp42:
	movq	%rbx, %rdi
	leaq	16(%rsp), %rsi
	callq	_ZNSirsERi
.Ltmp43:
# %bb.9:                                #   in Loop: Header=BB4_7 Depth=1
.Ltmp44:
	movq	%rbx, %rdi
	leaq	28(%rsp), %rsi
	callq	_ZNSirsERi
.Ltmp45:
# %bb.10:                               #   in Loop: Header=BB4_7 Depth=1
.Ltmp46:
	movq	%rbx, %rdi
	leaq	24(%rsp), %rsi
	callq	_ZNSirsERi
.Ltmp47:
# %bb.11:                               #   in Loop: Header=BB4_7 Depth=1
.Ltmp48:
	movq	%rbx, %rdi
	movq	%rbp, %rsi
	callq	_ZNSirsERi
.Ltmp49:
# %bb.12:                               #   in Loop: Header=BB4_7 Depth=1
	movl	20(%rsp), %eax
	cmpl	24(%rsp), %eax
	jge	.LBB4_14
# %bb.13:                               #   in Loop: Header=BB4_7 Depth=1
	addl	$10080, %eax                    # imm = 0x2760
	movl	%eax, 20(%rsp)
.LBB4_14:                               #   in Loop: Header=BB4_7 Depth=1
.Ltmp50:
	movq	%rbx, %rdi
	leaq	32(%rsp), %rsi
	callq	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE
.Ltmp51:
# %bb.15:                               #   in Loop: Header=BB4_7 Depth=1
.Ltmp52:
	movl	$Flight_List, %edi
	movq	%r14, %rsi
	callq	_ZNSt6vectorI6FlightSaIS0_EE9push_backERKS0_
.Ltmp53:
# %bb.16:                               #   in Loop: Header=BB4_7 Depth=1
	movq	AdjMatrix(%rip), %rax
	movslq	12(%rsp), %rcx
	movq	(%rax,%rcx,8), %rax
	movslq	16(%rsp), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	(%rax,%rcx,8), %rdi
	movq	8(%rdi), %rsi
	cmpq	16(%rdi), %rsi
	je	.LBB4_25
# %bb.17:                               #   in Loop: Header=BB4_7 Depth=1
	movl	8(%rsp), %eax
	movl	%eax, (%rsi)
	addq	$4, %rsi
	movq	%rsi, 8(%rdi)
	jmp	.LBB4_26
.LBB4_25:                               #   in Loop: Header=BB4_7 Depth=1
.Ltmp54:
	movq	%r14, %rdx
	callq	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_
.Ltmp55:
.LBB4_26:                               # %_ZNSt6vectorIiSaIiEE9push_backERKi.exit
                                        #   in Loop: Header=BB4_7 Depth=1
	movl	%r12d, %eax
	imulq	%r13, %rax
	shrq	$45, %rax
	imull	$10000, %eax, %eax              # imm = 0x2710
	decl	%eax
	cmpl	%r15d, %eax
	jne	.LBB4_28
# %bb.27:                               #   in Loop: Header=BB4_7 Depth=1
.Ltmp56:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.9, %esi
	movl	$1, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp57:
.LBB4_28:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit
                                        #   in Loop: Header=BB4_7 Depth=1
	movq	96(%rsp), %rax
	movq	-24(%rax), %rax
	incl	%r12d
	incl	%r15d
	cmpl	$0, 128(%rsp,%rax)
	je	.LBB4_7
.LBB4_29:                               # %._crit_edge41
	movq	_ZSt4cout(%rip), %rax
	movl	$_ZSt4cout, %edi
	addq	-24(%rax), %rdi
.Ltmp59:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp60:
# %bb.30:                               # %.noexc29
.Ltmp61:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp62:
# %bb.31:                               # %.noexc30
.Ltmp63:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp64:
# %bb.32:                               # %_ZNSolsEPFRSoS_E.exit
	movq	32(%rsp), %rdi
	leaq	48(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB4_34
# %bb.33:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i.i18
	callq	_ZdlPv
.LBB4_34:                               # %_ZN6FlightD2Ev.exit20
	movq	64(%rsp), %rdi
	leaq	80(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB4_36
# %bb.35:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i21
	callq	_ZdlPv
.LBB4_36:
.Ltmp66:
	leaq	96(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv
.Ltmp67:
# %bb.37:
	movq	Flight_List+8(%rip), %rax
	subq	Flight_List(%rip), %rax
	sarq	$3, %rax
	movabsq	$7905747460161236407, %rsi      # imm = 0x6DB6DB6DB6DB6DB7
	imulq	%rax, %rsi
.Ltmp68:
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertImEERSoT_
.Ltmp69:
# %bb.38:                               # %_ZNSolsEm.exit
.Ltmp70:
	movq	%rax, %rbx
	movl	$.L.str.10, %esi
	movl	$14, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp71:
# %bb.39:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit26
	movq	(%rbx), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
.Ltmp72:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp73:
# %bb.40:                               # %.noexc32
.Ltmp74:
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_ZNSo3putEc
.Ltmp75:
# %bb.41:                               # %.noexc33
.Ltmp76:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp77:
# %bb.42:                               # %_ZNSolsEPFRSoS_E.exit28
	leaq	96(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
	addq	$616, %rsp                      # imm = 0x268
	.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_43:
	.cfi_def_cfa_offset 672
.Ltmp39:
	jmp	.LBB4_44
.LBB4_20:                               # %.loopexit.split-lp
.Ltmp65:
	jmp	.LBB4_21
.LBB4_18:
.Ltmp78:
.LBB4_44:
	movq	%rax, %rbx
	jmp	.LBB4_45
.LBB4_19:                               # %.loopexit
.Ltmp58:
.LBB4_21:
	movq	%rax, %rbx
	movq	32(%rsp), %rdi
	leaq	48(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB4_23
# %bb.22:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i.i
	callq	_ZdlPv
.LBB4_23:                               # %_ZN6FlightD2Ev.exit
	movq	64(%rsp), %rdi
	leaq	80(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB4_45
# %bb.24:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i
	callq	_ZdlPv
.LBB4_45:
	leaq	96(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end4:
	.size	_Z11readFlightsv, .Lfunc_end4-_Z11readFlightsv
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table4:
.Lexception1:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end1-.Lcst_begin1
.Lcst_begin1:
	.uleb128 .Lfunc_begin1-.Lfunc_begin1    # >> Call Site 1 <<
	.uleb128 .Ltmp37-.Lfunc_begin1          #   Call between .Lfunc_begin1 and .Ltmp37
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp37-.Lfunc_begin1          # >> Call Site 2 <<
	.uleb128 .Ltmp38-.Ltmp37                #   Call between .Ltmp37 and .Ltmp38
	.uleb128 .Ltmp39-.Lfunc_begin1          #     jumps to .Ltmp39
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp40-.Lfunc_begin1          # >> Call Site 3 <<
	.uleb128 .Ltmp57-.Ltmp40                #   Call between .Ltmp40 and .Ltmp57
	.uleb128 .Ltmp58-.Lfunc_begin1          #     jumps to .Ltmp58
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp59-.Lfunc_begin1          # >> Call Site 4 <<
	.uleb128 .Ltmp64-.Ltmp59                #   Call between .Ltmp59 and .Ltmp64
	.uleb128 .Ltmp65-.Lfunc_begin1          #     jumps to .Ltmp65
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp66-.Lfunc_begin1          # >> Call Site 5 <<
	.uleb128 .Ltmp77-.Ltmp66                #   Call between .Ltmp66 and .Ltmp77
	.uleb128 .Ltmp78-.Lfunc_begin1          #     jumps to .Ltmp78
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp77-.Lfunc_begin1          # >> Call Site 6 <<
	.uleb128 .Lfunc_end4-.Ltmp77            #   Call between .Ltmp77 and .Lfunc_end4
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end1:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorI6FlightSaIS0_EE9push_backERKS0_,"axG",@progbits,_ZNSt6vectorI6FlightSaIS0_EE9push_backERKS0_,comdat
	.weak	_ZNSt6vectorI6FlightSaIS0_EE9push_backERKS0_ # -- Begin function _ZNSt6vectorI6FlightSaIS0_EE9push_backERKS0_
	.p2align	1, 0x90
	.type	_ZNSt6vectorI6FlightSaIS0_EE9push_backERKS0_,@function
_ZNSt6vectorI6FlightSaIS0_EE9push_backERKS0_: # @_ZNSt6vectorI6FlightSaIS0_EE9push_backERKS0_
	.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	.LBB5_2
# %bb.1:
	movq	16(%rdx), %rax
	movq	%rax, 16(%rsi)
	movups	(%rdx), %xmm0
	movups	%xmm0, (%rsi)
	leaq	24(%rsi), %rdi
	leaq	40(%rsi), %rax
	movq	%rax, 24(%rsi)
	movq	24(%rdx), %rsi
	movq	32(%rdx), %rdx
	addq	%rsi, %rdx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag
	addq	$56, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.LBB5_2:
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	_ZNSt6vectorI6FlightSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_ # TAILCALL
.Lfunc_end5:
	.size	_ZNSt6vectorI6FlightSaIS0_EE9push_backERKS0_, .Lfunc_end5-_ZNSt6vectorI6FlightSaIS0_EE9push_backERKS0_
	.cfi_endproc
                                        # -- End function
	.text
	.globl	_Z28initializeFlightListInDeviceRP6Flight # -- Begin function _Z28initializeFlightListInDeviceRP6Flight
	.type	_Z28initializeFlightListInDeviceRP6Flight,@function
_Z28initializeFlightListInDeviceRP6Flight: # @_Z28initializeFlightListInDeviceRP6Flight
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	%rdi, %rbx
	movq	Flight_List+8(%rip), %rsi
	subq	Flight_List(%rip), %rsi
	callq	hipMalloc
	callq	hipGetLastError
	testl	%eax, %eax
	jne	.LBB6_1
# %bb.2:
	movq	(%rbx), %rdi
	movq	Flight_List(%rip), %rsi
	movq	Flight_List+8(%rip), %rdx
	subq	%rsi, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
	callq	hipGetLastError
	testl	%eax, %eax
	jne	.LBB6_3
.LBB6_5:
	movl	$1, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.LBB6_1:
	.cfi_def_cfa_offset 16
	movq	stderr(%rip), %rbx
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str.3, %esi
	movl	$.L.str.11, %edx
	movl	$.L.str.5, %r8d
	movq	%rbx, %rdi
	movq	%rax, %rcx
	movl	$173, %r9d
	jmp	.LBB6_4
.LBB6_3:
	movq	stderr(%rip), %rbx
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str.3, %esi
	movl	$.L.str.12, %edx
	movl	$.L.str.5, %r8d
	movq	%rbx, %rdi
	movq	%rax, %rcx
	movl	$175, %r9d
.LBB6_4:                                # %.sink.split
	xorl	%eax, %eax
	callq	fprintf
	movq	stderr(%rip), %rcx
	movl	$.L.str.6, %edi
	movl	$22, %esi
	movl	$1, %edx
	callq	fwrite@PLT
	jmp	.LBB6_5
.Lfunc_end6:
	.size	_Z28initializeFlightListInDeviceRP6Flight, .Lfunc_end6-_Z28initializeFlightListInDeviceRP6Flight
	.cfi_endproc
                                        # -- End function
	.globl	_Z27initializeAdjMatrixInDeviceRPPiS1_ # -- Begin function _Z27initializeAdjMatrixInDeviceRPPiS1_
	.type	_Z27initializeAdjMatrixInDeviceRPPiS1_,@function
_Z27initializeAdjMatrixInDeviceRPPiS1_: # @_Z27initializeAdjMatrixInDeviceRPPiS1_
	.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	%rsi, %r14
	movq	%rdi, 8(%rsp)                   # 8-byte Spill
	movl	ADJ_MATRIX_DIM(%rip), %ebp
	movl	%ebp, %edi
	imull	%edi, %edi
	shlq	$3, %rdi
	movq	%rdi, 16(%rsp)                  # 8-byte Spill
	callq	malloc
	movq	%rax, (%r14)
	testl	%ebp, %ebp
	jle	.LBB7_12
# %bb.1:                                # %.preheader.preheader
	xorl	%r12d, %r12d
.LBB7_2:                                # %.preheader
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB7_5 Depth 2
	testl	%ebp, %ebp
	jle	.LBB7_9
# %bb.3:                                # %.lr.ph.preheader
                                        #   in Loop: Header=BB7_2 Depth=1
	movl	$8, %r13d
	movslq	%r12d, %r15
	xorl	%ebx, %ebx
.LBB7_5:                                # %.lr.ph
                                        #   Parent Loop BB7_2 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	imull	%r12d, %ebp
	movslq	%ebp, %rdi
	addq	%rbx, %rdi
	shlq	$3, %rdi
	addq	(%r14), %rdi
	movq	AdjMatrix(%rip), %rax
	movq	(%rax,%r12,8), %rax
	movq	(%rax,%r13), %rsi
	subq	-8(%rax,%r13), %rsi
	callq	hipMalloc
	callq	hipGetLastError
	testl	%eax, %eax
	jne	.LBB7_6
# %bb.7:                                # %.critedge
                                        #   in Loop: Header=BB7_5 Depth=2
	movq	(%r14), %rax
	movslq	ADJ_MATRIX_DIM(%rip), %rcx
	imulq	%r15, %rcx
	addq	%rbx, %rcx
	movq	(%rax,%rcx,8), %rdi
	movq	AdjMatrix(%rip), %rax
	movq	(%rax,%r12,8), %rax
	movq	-8(%rax,%r13), %rsi
	movq	(%rax,%r13), %rdx
	subq	%rsi, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
	callq	hipGetLastError
	testl	%eax, %eax
	jne	.LBB7_8
# %bb.4:                                #   in Loop: Header=BB7_5 Depth=2
	incq	%rbx
	movslq	ADJ_MATRIX_DIM(%rip), %rbp
	addq	$24, %r13
	cmpq	%rbp, %rbx
	jl	.LBB7_5
.LBB7_9:                                # %.critedge64
                                        #   in Loop: Header=BB7_2 Depth=1
	imull	$-1030792151, %r12d, %eax       # imm = 0xC28F5C29
	rorl	$2, %eax
	cmpl	$42949672, %eax                 # imm = 0x28F5C28
	ja	.LBB7_11
# %bb.10:                               #   in Loop: Header=BB7_2 Depth=1
	movl	$_ZSt4cout, %edi
	movl	$.L.str.15, %esi
	movl	$1, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	ADJ_MATRIX_DIM(%rip), %ebp
.LBB7_11:                               #   in Loop: Header=BB7_2 Depth=1
	incq	%r12
	movslq	%ebp, %rax
	cmpq	%rax, %r12
	jl	.LBB7_2
.LBB7_12:                               # %.critedge66
	movq	_ZSt4cout(%rip), %rax
	movl	$_ZSt4cout, %ecx
	movq	-24(%rax), %rdi
	addq	%rcx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	movq	8(%rsp), %r15                   # 8-byte Reload
	movq	%r15, %rdi
	movq	16(%rsp), %rbx                  # 8-byte Reload
	movq	%rbx, %rsi
	callq	hipMalloc
	callq	hipGetLastError
	testl	%eax, %eax
	jne	.LBB7_13
# %bb.14:                               # %.critedge68
	movq	(%r15), %rdi
	movq	(%r14), %rsi
	movq	%rbx, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
	callq	hipGetLastError
	testl	%eax, %eax
	je	.LBB7_17
# %bb.15:
	movq	stderr(%rip), %rbx
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str.3, %esi
	movl	$.L.str.17, %edx
	movl	$.L.str.5, %r8d
	movq	%rbx, %rdi
	movq	%rax, %rcx
	movl	$212, %r9d
	jmp	.LBB7_16
.LBB7_6:
	movq	stderr(%rip), %rbx
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str.3, %esi
	movl	$.L.str.13, %edx
	movl	$.L.str.5, %r8d
	movq	%rbx, %rdi
	movq	%rax, %rcx
	movl	$200, %r9d
	jmp	.LBB7_16
.LBB7_8:
	movq	stderr(%rip), %rbx
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str.3, %esi
	movl	$.L.str.14, %edx
	movl	$.L.str.5, %r8d
	movq	%rbx, %rdi
	movq	%rax, %rcx
	movl	$202, %r9d
.LBB7_16:                               # %.critedge70.sink.split
	xorl	%eax, %eax
	callq	fprintf
	movq	stderr(%rip), %rcx
	movl	$.L.str.6, %edi
	movl	$22, %esi
	movl	$1, %edx
	callq	fwrite@PLT
.LBB7_17:                               # %.critedge70
	movl	$1, %eax
	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
.LBB7_13:
	.cfi_def_cfa_offset 80
	movq	stderr(%rip), %rbx
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str.3, %esi
	movl	$.L.str.16, %edx
	movl	$.L.str.5, %r8d
	movq	%rbx, %rdi
	movq	%rax, %rcx
	movl	$210, %r9d
	jmp	.LBB7_16
.Lfunc_end7:
	.size	_Z27initializeAdjMatrixInDeviceRPPiS1_, .Lfunc_end7-_Z27initializeAdjMatrixInDeviceRPPiS1_
	.cfi_endproc
                                        # -- End function
	.globl	_Z31initializeBooleanMatrixInDeviceRPi # -- Begin function _Z31initializeBooleanMatrixInDeviceRPi
	.type	_Z31initializeBooleanMatrixInDeviceRPi,@function
_Z31initializeBooleanMatrixInDeviceRPi: # @_Z31initializeBooleanMatrixInDeviceRPi
	.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, %r15
	movl	ADJ_MATRIX_DIM(%rip), %r12d
	movl	%r12d, %r14d
	imull	%r14d, %r14d
	shlq	$2, %r14
	movq	%r14, %rdi
	callq	_Znam
	movq	%rax, %rbx
	testl	%r12d, %r12d
	jle	.LBB8_5
# %bb.1:                                # %.preheader.lr.ph
	xorl	%eax, %eax
	movq	AdjMatrix(%rip), %rcx
	xorl	%edx, %edx
.LBB8_2:                                # %.lr.ph
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB8_3 Depth 2
	movl	%eax, %esi
	leaq	(%rbx,%rsi,4), %rsi
	movq	(%rcx,%rdx,8), %rdi
	addq	$8, %rdi
	xorl	%r8d, %r8d
.LBB8_3:                                #   Parent Loop BB8_2 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movq	(%rdi), %r9
	xorl	%r10d, %r10d
	cmpq	-8(%rdi), %r9
	setne	%r10b
	movl	%r10d, (%rsi,%r8,4)
	incq	%r8
	addq	$24, %rdi
	cmpq	%r8, %r12
	jne	.LBB8_3
# %bb.4:                                # %._crit_edge
                                        #   in Loop: Header=BB8_2 Depth=1
	incq	%rdx
	addl	%r12d, %eax
	cmpq	%r12, %rdx
	jne	.LBB8_2
.LBB8_5:                                # %._crit_edge33
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	hipMalloc
	callq	hipGetLastError
	testl	%eax, %eax
	jne	.LBB8_6
# %bb.8:                                # %.critedge
	movq	(%r15), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
	callq	hipGetLastError
	testl	%eax, %eax
	jne	.LBB8_9
# %bb.10:                               # %.critedge30
	movq	%rbx, %rdi
	callq	_ZdlPv
.LBB8_11:
	movl	$1, %eax
	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
.LBB8_6:
	.cfi_def_cfa_offset 48
	movq	stderr(%rip), %rbx
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str.3, %esi
	movl	$.L.str.18, %edx
	movl	$.L.str.5, %r8d
	movq	%rbx, %rdi
	movq	%rax, %rcx
	movl	$226, %r9d
	jmp	.LBB8_7
.LBB8_9:
	movq	stderr(%rip), %rbx
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str.3, %esi
	movl	$.L.str.19, %edx
	movl	$.L.str.5, %r8d
	movq	%rbx, %rdi
	movq	%rax, %rcx
	movl	$228, %r9d
.LBB8_7:
	xorl	%eax, %eax
	callq	fprintf
	movq	stderr(%rip), %rcx
	movl	$.L.str.6, %edi
	movl	$22, %esi
	movl	$1, %edx
	callq	fwrite@PLT
	jmp	.LBB8_11
.Lfunc_end8:
	.size	_Z31initializeBooleanMatrixInDeviceRPi, .Lfunc_end8-_Z31initializeBooleanMatrixInDeviceRPi
	.cfi_endproc
                                        # -- End function
	.globl	_Z16initializeBufferRPi         # -- Begin function _Z16initializeBufferRPi
	.type	_Z16initializeBufferRPi,@function
_Z16initializeBufferRPi:                # @_Z16initializeBufferRPi
	.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	$40, %rsp
	.cfi_def_cfa_offset 96
	.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, 24(%rsp)                  # 8-byte Spill
	movl	ADJ_MATRIX_DIM(%rip), %r13d
	movl	%r13d, %eax
	imull	%eax, %eax
	movq	%rax, 32(%rsp)                  # 8-byte Spill
	leal	(,%rax,4), %eax
	movq	%rax, 16(%rsp)                  # 8-byte Spill
	leaq	(,%rax,4), %rdi
	callq	_Znam
	movq	%rax, %rbx
	leaq	(,%r13,4), %r15
	xorl	%eax, %eax
	xorl	%ebp, %ebp
.LBB9_1:                                # %.preheader33
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB9_2 Depth 2
	movq	%r13, %r12
	movl	%eax, 12(%rsp)                  # 4-byte Spill
	movl	%eax, %r14d
	testl	%r13d, %r13d
	jle	.LBB9_3
.LBB9_2:                                # %.preheader
                                        #   Parent Loop BB9_1 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movslq	%r14d, %r14
	leaq	(%rbx,%r14,4), %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	memset@PLT
	addl	%r13d, %r14d
	decq	%r12
	jne	.LBB9_2
.LBB9_3:                                # %._crit_edge36
                                        #   in Loop: Header=BB9_1 Depth=1
	incl	%ebp
	movl	12(%rsp), %eax                  # 4-byte Reload
	addl	32(%rsp), %eax                  # 4-byte Folded Reload
	cmpl	$4, %ebp
	jne	.LBB9_1
# %bb.4:
	movslq	16(%rsp), %r15                  # 4-byte Folded Reload
	shlq	$2, %r15
	movq	24(%rsp), %r14                  # 8-byte Reload
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	hipMalloc
	callq	hipGetLastError
	testl	%eax, %eax
	jne	.LBB9_5
# %bb.7:                                # %.critedge
	movq	(%r14), %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
	callq	hipGetLastError
	testl	%eax, %eax
	jne	.LBB9_8
# %bb.9:                                # %.critedge32
	movq	%rbx, %rdi
	callq	_ZdlPv
.LBB9_10:
	movl	$1, %eax
	addq	$40, %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
.LBB9_5:
	.cfi_def_cfa_offset 96
	movq	stderr(%rip), %rbx
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str.3, %esi
	movl	$.L.str.20, %edx
	movl	$.L.str.5, %r8d
	movq	%rbx, %rdi
	movq	%rax, %rcx
	movl	$250, %r9d
	jmp	.LBB9_6
.LBB9_8:
	movq	stderr(%rip), %rbx
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str.3, %esi
	movl	$.L.str.21, %edx
	movl	$.L.str.5, %r8d
	movq	%rbx, %rdi
	movq	%rax, %rcx
	movl	$252, %r9d
.LBB9_6:
	xorl	%eax, %eax
	callq	fprintf
	movq	stderr(%rip), %rcx
	movl	$.L.str.6, %edi
	movl	$22, %esi
	movl	$1, %edx
	callq	fwrite@PLT
	jmp	.LBB9_10
.Lfunc_end9:
	.size	_Z16initializeBufferRPi, .Lfunc_end9-_Z16initializeBufferRPi
	.cfi_endproc
                                        # -- End function
	.globl	_Z25__device_stub__testBufferPiS_i # -- Begin function _Z25__device_stub__testBufferPiS_i
	.type	_Z25__device_stub__testBufferPiS_i,@function
_Z25__device_stub__testBufferPiS_i:     # @_Z25__device_stub__testBufferPiS_i
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	12(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	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	$_Z10testBufferPiS_i, %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_end10:
	.size	_Z25__device_stub__testBufferPiS_i, .Lfunc_end10-_Z25__device_stub__testBufferPiS_i
	.cfi_endproc
                                        # -- End function
	.globl	_Z25__device_stub__testMatrixPPiiS_P6Flight # -- Begin function _Z25__device_stub__testMatrixPPiiS_P6Flight
	.type	_Z25__device_stub__testMatrixPPiiS_P6Flight,@function
_Z25__device_stub__testMatrixPPiiS_P6Flight: # @_Z25__device_stub__testMatrixPPiiS_P6Flight
	.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	$_Z10testMatrixPPiiS_P6Flight, %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_end11:
	.size	_Z25__device_stub__testMatrixPPiiS_P6Flight, .Lfunc_end11-_Z25__device_stub__testMatrixPPiiS_P6Flight
	.cfi_endproc
                                        # -- End function
	.globl	_Z32__device_stub__testMatrixBooleanPiiS_ # -- Begin function _Z32__device_stub__testMatrixBooleanPiiS_
	.type	_Z32__device_stub__testMatrixBooleanPiiS_,@function
_Z32__device_stub__testMatrixBooleanPiiS_: # @_Z32__device_stub__testMatrixBooleanPiiS_
	.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	12(%rsp), %rcx
	movl	%esi, (%rcx)
	leaq	32(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	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	$_Z17testMatrixBooleanPiiS_, %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_end12:
	.size	_Z32__device_stub__testMatrixBooleanPiiS_, .Lfunc_end12-_Z32__device_stub__testMatrixBooleanPiiS_
	.cfi_endproc
                                        # -- End function
	.globl	_Z29__device_stub__firstExpansionPiS_i # -- Begin function _Z29__device_stub__firstExpansionPiS_i
	.type	_Z29__device_stub__firstExpansionPiS_i,@function
_Z29__device_stub__firstExpansionPiS_i: # @_Z29__device_stub__firstExpansionPiS_i
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	12(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	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	$_Z14firstExpansionPiS_i, %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_end13:
	.size	_Z29__device_stub__firstExpansionPiS_i, .Lfunc_end13-_Z29__device_stub__firstExpansionPiS_i
	.cfi_endproc
                                        # -- End function
	.globl	_Z24__device_stub__expansionPiS_S_i # -- Begin function _Z24__device_stub__expansionPiS_S_i
	.type	_Z24__device_stub__expansionPiS_S_i,@function
_Z24__device_stub__expansionPiS_S_i:    # @_Z24__device_stub__expansionPiS_S_i
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	24(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	4(%rsp), %rdx
	movl	%ecx, (%rdx)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	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	$_Z9expansionPiS_S_i, %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_end14:
	.size	_Z24__device_stub__expansionPiS_S_i, .Lfunc_end14-_Z24__device_stub__expansionPiS_S_i
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0                          # -- Begin function main
.LCPI15_0:
	.quad	0x3f60000000000000              # double 0.001953125
	.text
	.globl	main
	.type	main,@function
main:                                   # @main
.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	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$1088, %rsp                     # imm = 0x440
	.cfi_def_cfa_offset 1136
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	callq	_Z12readAirportsv
	callq	_Z11readFlightsv
	movl	$_ZSt4cout, %ebx
	movl	$_ZSt4cout, %edi
	movl	$.L.str.22, %esi
	movl	$20, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	leaq	56(%rsp), %rdi
	callq	_Z28initializeFlightListInDeviceRP6Flight
	movl	$_ZSt4cout, %edi
	movl	$.L.str.23, %esi
	movl	$29, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	movl	$_ZSt4cout, %edi
	movl	$.L.str.24, %esi
	movl	$19, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	leaq	48(%rsp), %rdi
	leaq	32(%rsp), %rsi
	callq	_Z27initializeAdjMatrixInDeviceRPPiS1_
	movl	$_ZSt4cout, %edi
	movl	$.L.str.25, %esi
	movl	$24, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	movl	$_ZSt4cout, %edi
	movl	$.L.str.26, %esi
	movl	$27, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	leaq	40(%rsp), %rdi
	callq	_Z31initializeBooleanMatrixInDeviceRPi
	movl	$_ZSt4cout, %edi
	movl	$.L.str.27, %esi
	movl	$28, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	movslq	ADJ_MATRIX_DIM(%rip), %rsi
	shlq	$2, %rsi
	leaq	8(%rsp), %rdi
	callq	hipMalloc
	callq	hipGetLastError
	testl	%eax, %eax
	jne	.LBB15_1
# %bb.3:
	movslq	ADJ_MATRIX_DIM(%rip), %rbx
	leaq	(,%rbx,4), %r15
	testq	%rbx, %rbx
	movq	$-1, %rdi
	cmovnsq	%r15, %rdi
	callq	_Znam
	movq	%rax, %r14
	testq	%rbx, %rbx
	jle	.LBB15_6
# %bb.4:                                # %.lr.ph
	movl	%ebx, %eax
	movq	AdjMatrix(%rip), %rcx
	movq	2752(%rcx), %rcx
	addq	$8, %rcx
	xorl	%edx, %edx
.LBB15_5:                               # =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rsi
	xorl	%edi, %edi
	cmpq	-8(%rcx), %rsi
	setne	%dil
	movl	%edi, (%r14,%rdx,4)
	incq	%rdx
	addq	$24, %rcx
	cmpq	%rdx, %rax
	jne	.LBB15_5
.LBB15_6:                               # %._crit_edge
	movq	8(%rsp), %rdi
	movl	$1, %ebx
	movq	%r14, %rsi
	movq	%r15, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
	callq	hipGetLastError
	testl	%eax, %eax
	jne	.LBB15_7
# %bb.8:
	movq	%r14, %rdi
	callq	_ZdlPv
	movl	$_ZSt4cout, %ebx
	movl	$_ZSt4cout, %edi
	movl	$.L.str.30, %esi
	movl	$20, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	leaq	16(%rsp), %rdi
	callq	_Z16initializeBufferRPi
	movl	$_ZSt4cout, %edi
	movl	$.L.str.31, %esi
	movl	$19, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	cvtsi2sdl	ADJ_MATRIX_DIM(%rip), %xmm0
	mulsd	%xmm0, %xmm0
	mulsd	.LCPI15_0(%rip), %xmm0
	callq	ceil@PLT
	movsd	%xmm0, 24(%rsp)                 # 8-byte Spill
	leaq	64(%rsp), %r14
	movq	%r14, %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev
.Ltmp79:
	movl	$.L.str.32, %esi
	movq	%r14, %rdi
	movl	$16, %edx
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode
.Ltmp80:
# %bb.9:
	movslq	ADJ_MATRIX_DIM(%rip), %r15
	shlq	$2, %r15
	movq	%r15, %rdi
	callq	malloc
	movq	%rax, %rbx
	movq	8(%rsp), %rsi
.Ltmp82:
	movq	%rax, %rdi
	movq	%r15, %rdx
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp83:
# %bb.10:
.Ltmp84:
	callq	hipGetLastError
.Ltmp85:
# %bb.11:
	testl	%eax, %eax
	jne	.LBB15_37
# %bb.12:                               # %.preheader147
	cmpl	$0, ADJ_MATRIX_DIM(%rip)
	jle	.LBB15_16
# %bb.13:                               # %.lr.ph150.preheader
	xorl	%r12d, %r12d
	leaq	64(%rsp), %r15
.LBB15_14:                              # %.lr.ph150
                                        # =>This Inner Loop Header: Depth=1
	movl	(%rbx,%r12,4), %esi
.Ltmp89:
	movq	%r15, %rdi
	callq	_ZNSolsEi
.Ltmp90:
# %bb.15:                               #   in Loop: Header=BB15_14 Depth=1
	incq	%r12
	movslq	ADJ_MATRIX_DIM(%rip), %rax
	cmpq	%rax, %r12
	jl	.LBB15_14
.LBB15_16:                              # %._crit_edge151
	movq	64(%rsp), %rax
	addq	-24(%rax), %r14
.Ltmp92:
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp93:
# %bb.17:                               # %.noexc
.Ltmp94:
	movsbl	%al, %esi
	leaq	64(%rsp), %rdi
	callq	_ZNSo3putEc
.Ltmp95:
# %bb.18:                               # %.noexc114
.Ltmp96:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp97:
# %bb.19:                               # %_ZNSolsEPFRSoS_E.exit
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
.Ltmp98:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp99:
# %bb.20:                               # %.noexc116
.Ltmp100:
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
.Ltmp101:
# %bb.21:                               # %.noexc117
.Ltmp102:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp103:
# %bb.22:                               # %_ZNSolsEPFRSoS_E.exit105
	movq	%rbx, %rdi
	callq	free
.Ltmp104:
	movl	$_ZSt4cout, %ebx
	movl	$_ZSt4cout, %edi
	movl	$.L.str.34, %esi
	movl	$27, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp105:
# %bb.23:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit
	movq	_ZSt4cout(%rip), %rax
	addq	-24(%rax), %rbx
.Ltmp106:
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp107:
# %bb.24:                               # %.noexc120
.Ltmp108:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp109:
# %bb.25:                               # %.noexc121
.Ltmp110:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp111:
# %bb.26:                               # %_ZNSolsEPFRSoS_E.exit106
.Ltmp113:
	leaq	576(%rsp), %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev
.Ltmp114:
# %bb.27:
.Ltmp116:
	leaq	576(%rsp), %r14
	movl	$.L.str.35, %esi
	movq	%r14, %rdi
	movl	$16, %edx
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode
.Ltmp117:
# %bb.28:
	cvttsd2si	24(%rsp), %ebp          # 8-byte Folded Reload
	movslq	ADJ_MATRIX_DIM(%rip), %rdi
	imulq	%rdi, %rdi
	shlq	$4, %rdi
	callq	malloc
	movq	%rax, %rbx
	movl	%ebp, %edi
	btsq	$32, %rdi
.Ltmp119:
	movabsq	$4294967808, %rdx               # imm = 0x100000200
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp120:
# %bb.29:
	testl	%eax, %eax
	jne	.LBB15_31
# %bb.30:
	movq	16(%rsp), %rdi
	movq	40(%rsp), %rsi
	movq	8(%rsp), %rdx
	movl	ADJ_MATRIX_DIM(%rip), %ecx
.Ltmp121:
	callq	_Z24__device_stub__expansionPiS_S_i
.Ltmp122:
.LBB15_31:
.Ltmp123:
	callq	hipDeviceSynchronize
.Ltmp124:
# %bb.32:
.Ltmp125:
	callq	hipGetLastError
.Ltmp126:
# %bb.33:
	testl	%eax, %eax
	jne	.LBB15_34
# %bb.45:
.Ltmp130:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.37, %esi
	movl	$18, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp131:
# %bb.46:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit107
.Ltmp132:
	movl	$_ZSt4cout, %edi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp133:
# %bb.47:                               # %_ZNSolsEPFRSoS_E.exit108
	movq	16(%rsp), %rsi
	movslq	ADJ_MATRIX_DIM(%rip), %rdx
	imulq	%rdx, %rdx
	shlq	$4, %rdx
.Ltmp134:
	movq	%rbx, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp135:
# %bb.48:
.Ltmp136:
	callq	hipGetLastError
.Ltmp137:
# %bb.49:
	testl	%eax, %eax
	jne	.LBB15_78
# %bb.50:                               # %.preheader145.preheader
	xorl	%r15d, %r15d
.LBB15_51:                              # %.preheader145
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB15_53 Depth 2
	movl	ADJ_MATRIX_DIM(%rip), %eax
	testl	%eax, %eax
	je	.LBB15_55
# %bb.52:                               # %.lr.ph153.preheader
                                        #   in Loop: Header=BB15_51 Depth=1
	xorl	%r12d, %r12d
.LBB15_53:                              # %.lr.ph153
                                        #   Parent Loop BB15_51 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	imull	%eax, %eax
	imull	%r15d, %eax
	cltq
	addq	%r12, %rax
	movl	(%rbx,%rax,4), %esi
.Ltmp141:
	movq	%r14, %rdi
	callq	_ZNSolsEi
.Ltmp142:
# %bb.54:                               #   in Loop: Header=BB15_53 Depth=2
	movl	ADJ_MATRIX_DIM(%rip), %eax
	movl	%eax, %ecx
	imull	%eax, %ecx
	incq	%r12
	cmpl	%ecx, %r12d
	jb	.LBB15_53
.LBB15_55:                              # %._crit_edge154
                                        #   in Loop: Header=BB15_51 Depth=1
	movq	576(%rsp), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
.Ltmp144:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp145:
# %bb.56:                               # %.noexc124
                                        #   in Loop: Header=BB15_51 Depth=1
.Ltmp146:
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
.Ltmp147:
# %bb.57:                               # %.noexc125
                                        #   in Loop: Header=BB15_51 Depth=1
.Ltmp148:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp149:
# %bb.58:                               # %_ZNSolsEPFRSoS_E.exit110
                                        #   in Loop: Header=BB15_51 Depth=1
	incl	%r15d
	cmpl	$4, %r15d
	jne	.LBB15_51
# %bb.59:
.Ltmp151:
	leaq	576(%rsp), %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp152:
# %bb.60:                               # %_ZNSolsEPFRSoS_E.exit109
.Ltmp153:
	movq	%rax, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp154:
# %bb.61:                               # %_ZNSolsEPFRSoS_E.exit111
.Ltmp155:
	leaq	576(%rsp), %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv
.Ltmp156:
# %bb.62:
	movq	%rbx, %rdi
	callq	free
	movslq	ADJ_MATRIX_DIM(%rip), %r14
	shlq	$2, %r14
	movq	%r14, %rdi
	callq	malloc
	movq	%rax, %rbx
	movq	8(%rsp), %rsi
.Ltmp158:
	movq	%rax, %rdi
	movq	%r14, %rdx
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp159:
# %bb.63:
.Ltmp160:
	callq	hipGetLastError
.Ltmp161:
# %bb.64:
	testl	%eax, %eax
	jne	.LBB15_81
# %bb.65:                               # %.preheader
	cmpl	$0, ADJ_MATRIX_DIM(%rip)
	jle	.LBB15_69
# %bb.66:                               # %.lr.ph157.preheader
	xorl	%r15d, %r15d
	leaq	64(%rsp), %r14
.LBB15_67:                              # %.lr.ph157
                                        # =>This Inner Loop Header: Depth=1
	movl	(%rbx,%r15,4), %esi
.Ltmp165:
	movq	%r14, %rdi
	callq	_ZNSolsEi
.Ltmp166:
# %bb.68:                               #   in Loop: Header=BB15_67 Depth=1
	incq	%r15
	movslq	ADJ_MATRIX_DIM(%rip), %rax
	cmpq	%rax, %r15
	jl	.LBB15_67
.LBB15_69:                              # %._crit_edge158
.Ltmp168:
	leaq	64(%rsp), %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp169:
# %bb.70:                               # %_ZNSolsEPFRSoS_E.exit112
.Ltmp170:
	movq	%rax, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp171:
# %bb.71:                               # %_ZNSolsEPFRSoS_E.exit113
	movq	%rbx, %rdi
	callq	free
.Ltmp172:
	leaq	64(%rsp), %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv
.Ltmp173:
# %bb.72:
	movq	16(%rsp), %rdi
.Ltmp174:
	callq	hipFree
.Ltmp175:
# %bb.73:
.Ltmp176:
	callq	hipFree
.Ltmp177:
# %bb.74:
	movq	56(%rsp), %rdi
.Ltmp178:
	callq	hipFree
.Ltmp179:
# %bb.75:
	movq	48(%rsp), %rdi
.Ltmp180:
	callq	hipFree
.Ltmp181:
# %bb.76:
	movq	32(%rsp), %rdi
	callq	free
	xorl	%ebx, %ebx
.LBB15_77:
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE(%rip), %r14
	leaq	584(%rsp), %rdi
	movq	%r14, -8(%rdi)
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE+24(%rip), %r15
	movq	-24(%r14), %rax
	movq	%r15, 576(%rsp,%rax)
	callq	_ZNSt13basic_filebufIcSt11char_traitsIcEED2Ev
	leaq	824(%rsp), %rdi
	callq	_ZNSt8ios_baseD2Ev
.LBB15_39:
	leaq	72(%rsp), %rdi
	movq	%r14, -8(%rdi)
	movq	-24(%r14), %rax
	movq	%r15, 64(%rsp,%rax)
	callq	_ZNSt13basic_filebufIcSt11char_traitsIcEED2Ev
	leaq	312(%rsp), %rdi
	callq	_ZNSt8ios_baseD2Ev
.LBB15_2:
	movl	%ebx, %eax
	addq	$1088, %rsp                     # imm = 0x440
	.cfi_def_cfa_offset 48
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.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_1:
	.cfi_def_cfa_offset 1136
	movq	stderr(%rip), %rbx
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str.3, %esi
	movl	$.L.str.28, %edx
	movl	$.L.str.5, %r8d
	movq	%rbx, %rdi
	movq	%rax, %rcx
	movl	$384, %r9d                      # imm = 0x180
	xorl	%eax, %eax
	callq	fprintf
	movq	stderr(%rip), %rcx
	movl	$.L.str.6, %edi
	movl	$22, %esi
	movl	$1, %edx
	callq	fwrite@PLT
	movl	$1, %ebx
	jmp	.LBB15_2
.LBB15_7:
	movq	stderr(%rip), %r14
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str.3, %esi
	movl	$.L.str.29, %edx
	movl	$.L.str.5, %r8d
	movq	%r14, %rdi
	movq	%rax, %rcx
	movl	$394, %r9d                      # imm = 0x18A
	xorl	%eax, %eax
	callq	fprintf
	movq	stderr(%rip), %rcx
	movl	$.L.str.6, %edi
	movl	$22, %esi
	movl	$1, %edx
	callq	fwrite@PLT
	jmp	.LBB15_2
.LBB15_37:
	movq	stderr(%rip), %rbx
.Ltmp86:
	movl	%eax, %edi
	callq	hipGetErrorString
.Ltmp87:
# %bb.38:                               # %.thread136
	movl	$.L.str.3, %esi
	movl	$.L.str.33, %edx
	movl	$.L.str.5, %r8d
	movq	%rbx, %rdi
	movq	%rax, %rcx
	movl	$414, %r9d                      # imm = 0x19E
	xorl	%eax, %eax
	callq	fprintf
	movq	stderr(%rip), %rcx
	movl	$.L.str.6, %edi
	movl	$22, %esi
	movl	$1, %edx
	callq	fwrite@PLT
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE(%rip), %r14
	movl	$1, %ebx
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE+24(%rip), %r15
	jmp	.LBB15_39
.LBB15_34:
	movq	stderr(%rip), %rbx
.Ltmp127:
	movl	%eax, %edi
	callq	hipGetErrorString
.Ltmp128:
# %bb.35:
	movl	$.L.str.3, %esi
	movl	$.L.str.36, %edx
	movl	$.L.str.5, %r8d
	movq	%rbx, %rdi
	movq	%rax, %rcx
	movl	$431, %r9d                      # imm = 0x1AF
	jmp	.LBB15_36
.LBB15_78:
	movq	stderr(%rip), %rbx
.Ltmp138:
	movl	%eax, %edi
	callq	hipGetErrorString
.Ltmp139:
# %bb.79:                               # %.thread141
	movl	$.L.str.3, %esi
	movl	$.L.str.38, %edx
	movl	$.L.str.5, %r8d
	movq	%rbx, %rdi
	movq	%rax, %rcx
	movl	$434, %r9d                      # imm = 0x1B2
	jmp	.LBB15_36
.LBB15_81:
	movq	stderr(%rip), %rbx
.Ltmp162:
	movl	%eax, %edi
	callq	hipGetErrorString
.Ltmp163:
# %bb.82:                               # %.thread143
	movl	$.L.str.3, %esi
	movl	$.L.str.39, %edx
	movl	$.L.str.5, %r8d
	movq	%rbx, %rdi
	movq	%rax, %rcx
	movl	$454, %r9d                      # imm = 0x1C6
.LBB15_36:
	xorl	%eax, %eax
	callq	fprintf
	movq	stderr(%rip), %rcx
	movl	$.L.str.6, %edi
	movl	$22, %esi
	movl	$1, %edx
	callq	fwrite@PLT
	movl	$1, %ebx
	jmp	.LBB15_77
.LBB15_86:
.Ltmp118:
	jmp	.LBB15_87
.LBB15_42:
.Ltmp115:
	jmp	.LBB15_89
.LBB15_88:
.Ltmp81:
	jmp	.LBB15_89
.LBB15_84:
.Ltmp164:
	jmp	.LBB15_87
.LBB15_80:
.Ltmp140:
	jmp	.LBB15_87
.LBB15_44:
.Ltmp129:
	jmp	.LBB15_87
.LBB15_41:
.Ltmp88:
	jmp	.LBB15_89
.LBB15_83:
.Ltmp182:
	jmp	.LBB15_87
.LBB15_43:
.Ltmp157:
	jmp	.LBB15_87
.LBB15_40:
.Ltmp112:
	jmp	.LBB15_89
.LBB15_85:
.Ltmp167:
	jmp	.LBB15_87
.LBB15_91:
.Ltmp91:
.LBB15_89:
	movq	%rax, %rbx
	jmp	.LBB15_90
.LBB15_93:
.Ltmp150:
	jmp	.LBB15_87
.LBB15_92:
.Ltmp143:
.LBB15_87:
	movq	%rax, %rbx
	leaq	576(%rsp), %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev
.LBB15_90:
	leaq	64(%rsp), %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end15:
	.size	main, .Lfunc_end15-main
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table15:
.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 .Ltmp79-.Lfunc_begin2          #   Call between .Lfunc_begin2 and .Ltmp79
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp79-.Lfunc_begin2          # >> Call Site 2 <<
	.uleb128 .Ltmp80-.Ltmp79                #   Call between .Ltmp79 and .Ltmp80
	.uleb128 .Ltmp81-.Lfunc_begin2          #     jumps to .Ltmp81
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp82-.Lfunc_begin2          # >> Call Site 3 <<
	.uleb128 .Ltmp83-.Ltmp82                #   Call between .Ltmp82 and .Ltmp83
	.uleb128 .Ltmp112-.Lfunc_begin2         #     jumps to .Ltmp112
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp84-.Lfunc_begin2          # >> Call Site 4 <<
	.uleb128 .Ltmp85-.Ltmp84                #   Call between .Ltmp84 and .Ltmp85
	.uleb128 .Ltmp88-.Lfunc_begin2          #     jumps to .Ltmp88
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp89-.Lfunc_begin2          # >> Call Site 5 <<
	.uleb128 .Ltmp90-.Ltmp89                #   Call between .Ltmp89 and .Ltmp90
	.uleb128 .Ltmp91-.Lfunc_begin2          #     jumps to .Ltmp91
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp92-.Lfunc_begin2          # >> Call Site 6 <<
	.uleb128 .Ltmp111-.Ltmp92               #   Call between .Ltmp92 and .Ltmp111
	.uleb128 .Ltmp112-.Lfunc_begin2         #     jumps to .Ltmp112
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp113-.Lfunc_begin2         # >> Call Site 7 <<
	.uleb128 .Ltmp114-.Ltmp113              #   Call between .Ltmp113 and .Ltmp114
	.uleb128 .Ltmp115-.Lfunc_begin2         #     jumps to .Ltmp115
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp116-.Lfunc_begin2         # >> Call Site 8 <<
	.uleb128 .Ltmp117-.Ltmp116              #   Call between .Ltmp116 and .Ltmp117
	.uleb128 .Ltmp118-.Lfunc_begin2         #     jumps to .Ltmp118
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp119-.Lfunc_begin2         # >> Call Site 9 <<
	.uleb128 .Ltmp124-.Ltmp119              #   Call between .Ltmp119 and .Ltmp124
	.uleb128 .Ltmp157-.Lfunc_begin2         #     jumps to .Ltmp157
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp125-.Lfunc_begin2         # >> Call Site 10 <<
	.uleb128 .Ltmp126-.Ltmp125              #   Call between .Ltmp125 and .Ltmp126
	.uleb128 .Ltmp129-.Lfunc_begin2         #     jumps to .Ltmp129
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp130-.Lfunc_begin2         # >> Call Site 11 <<
	.uleb128 .Ltmp135-.Ltmp130              #   Call between .Ltmp130 and .Ltmp135
	.uleb128 .Ltmp157-.Lfunc_begin2         #     jumps to .Ltmp157
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp136-.Lfunc_begin2         # >> Call Site 12 <<
	.uleb128 .Ltmp137-.Ltmp136              #   Call between .Ltmp136 and .Ltmp137
	.uleb128 .Ltmp140-.Lfunc_begin2         #     jumps to .Ltmp140
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp141-.Lfunc_begin2         # >> Call Site 13 <<
	.uleb128 .Ltmp142-.Ltmp141              #   Call between .Ltmp141 and .Ltmp142
	.uleb128 .Ltmp143-.Lfunc_begin2         #     jumps to .Ltmp143
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp144-.Lfunc_begin2         # >> Call Site 14 <<
	.uleb128 .Ltmp149-.Ltmp144              #   Call between .Ltmp144 and .Ltmp149
	.uleb128 .Ltmp150-.Lfunc_begin2         #     jumps to .Ltmp150
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp151-.Lfunc_begin2         # >> Call Site 15 <<
	.uleb128 .Ltmp156-.Ltmp151              #   Call between .Ltmp151 and .Ltmp156
	.uleb128 .Ltmp157-.Lfunc_begin2         #     jumps to .Ltmp157
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp158-.Lfunc_begin2         # >> Call Site 16 <<
	.uleb128 .Ltmp159-.Ltmp158              #   Call between .Ltmp158 and .Ltmp159
	.uleb128 .Ltmp182-.Lfunc_begin2         #     jumps to .Ltmp182
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp160-.Lfunc_begin2         # >> Call Site 17 <<
	.uleb128 .Ltmp161-.Ltmp160              #   Call between .Ltmp160 and .Ltmp161
	.uleb128 .Ltmp164-.Lfunc_begin2         #     jumps to .Ltmp164
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp165-.Lfunc_begin2         # >> Call Site 18 <<
	.uleb128 .Ltmp166-.Ltmp165              #   Call between .Ltmp165 and .Ltmp166
	.uleb128 .Ltmp167-.Lfunc_begin2         #     jumps to .Ltmp167
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp168-.Lfunc_begin2         # >> Call Site 19 <<
	.uleb128 .Ltmp181-.Ltmp168              #   Call between .Ltmp168 and .Ltmp181
	.uleb128 .Ltmp182-.Lfunc_begin2         #     jumps to .Ltmp182
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp181-.Lfunc_begin2         # >> Call Site 20 <<
	.uleb128 .Ltmp86-.Ltmp181               #   Call between .Ltmp181 and .Ltmp86
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp86-.Lfunc_begin2          # >> Call Site 21 <<
	.uleb128 .Ltmp87-.Ltmp86                #   Call between .Ltmp86 and .Ltmp87
	.uleb128 .Ltmp88-.Lfunc_begin2          #     jumps to .Ltmp88
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp127-.Lfunc_begin2         # >> Call Site 22 <<
	.uleb128 .Ltmp128-.Ltmp127              #   Call between .Ltmp127 and .Ltmp128
	.uleb128 .Ltmp129-.Lfunc_begin2         #     jumps to .Ltmp129
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp138-.Lfunc_begin2         # >> Call Site 23 <<
	.uleb128 .Ltmp139-.Ltmp138              #   Call between .Ltmp138 and .Ltmp139
	.uleb128 .Ltmp140-.Lfunc_begin2         #     jumps to .Ltmp140
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp162-.Lfunc_begin2         # >> Call Site 24 <<
	.uleb128 .Ltmp163-.Ltmp162              #   Call between .Ltmp162 and .Ltmp163
	.uleb128 .Ltmp164-.Lfunc_begin2         #     jumps to .Ltmp164
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp163-.Lfunc_begin2         # >> Call Site 25 <<
	.uleb128 .Lfunc_end15-.Ltmp163          #   Call between .Ltmp163 and .Lfunc_end15
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end2:
	.p2align	2, 0x0
                                        # -- 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_end16:
	.size	__clang_call_terminate, .Lfunc_end16-__clang_call_terminate
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,"axG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,comdat
	.weak	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_ # -- Begin function _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_
	.p2align	1, 0x90
	.type	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,@function
_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_: # @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_
.Lfunc_begin3:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception3
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rdx, %rbp
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movl	$1, %esi
	movl	$.L.str.40, %edx
	callq	_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc
	movq	%rax, %r14
	movq	(%rbx), %rax
	movq	8(%rbx), %r15
	movq	%r13, %r12
	movq	%rax, (%rsp)                    # 8-byte Spill
	subq	%rax, %r12
	sarq	$5, %r12
	testq	%r14, %r14
	je	.LBB17_1
# %bb.2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv
	jmp	.LBB17_3
.LBB17_1:
	xorl	%eax, %eax
.LBB17_3:                               # %_ZNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE11_M_allocateEm.exit
	shlq	$5, %r12
	leaq	(%rax,%r12), %rdi
	leaq	(%rax,%r12), %rcx
	addq	$16, %rcx
	movq	%rcx, -16(%rcx)
	movq	(%rbp), %rsi
	movq	8(%rbp), %rdx
	addq	%rsi, %rdx
.Ltmp183:
	movq	%rax, %r12
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag
.Ltmp184:
# %bb.4:                                # %_ZNSt16allocator_traitsISaINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE9constructIS5_JRKS5_EEEvRS6_PT_DpOT0_.exit
	movq	%r12, %rbp
	movq	(%rsp), %rdi                    # 8-byte Reload
	cmpq	%r13, %rdi
	movq	%r12, 8(%rsp)                   # 8-byte Spill
	je	.LBB17_11
# %bb.5:                                # %.lr.ph.i.i.i.preheader
	movq	%rbx, 16(%rsp)                  # 8-byte Spill
	leaq	16(%r12), %rbp
	leaq	16(%rdi), %r12
.LBB17_6:                               # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	%rbp, -16(%rbp)
	movq	-16(%r12), %rsi
	cmpq	%rsi, %r12
	je	.LBB17_7
# %bb.8:                                # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i.i.i.i.i.i
                                        #   in Loop: Header=BB17_6 Depth=1
	movq	%rsi, -16(%rbp)
	movq	(%r12), %rax
	movq	%rax, (%rbp)
	movq	-8(%r12), %rbx
	jmp	.LBB17_9
.LBB17_7:                               #   in Loop: Header=BB17_6 Depth=1
	movq	-8(%r12), %rbx
	leaq	1(%rbx), %rdx
	movq	%rbp, %rdi
	callq	memcpy@PLT
.LBB17_9:                               # %_ZSt19__relocate_object_aINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_SaIS5_EEvPT_PT0_RT1_.exit.i.i.i
                                        #   in Loop: Header=BB17_6 Depth=1
	movq	%rbx, -8(%rbp)
	movq	%r12, -16(%r12)
	movq	$0, -8(%r12)
	movb	$0, (%r12)
	addq	$32, %rbp
	leaq	32(%r12), %rax
	addq	$16, %r12
	cmpq	%r13, %r12
	movq	%rax, %r12
	jne	.LBB17_6
# %bb.10:                               # %_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE11_S_relocateEPS5_S8_S8_RS6_.exit.loopexit
	addq	$-16, %rbp
	movq	16(%rsp), %rbx                  # 8-byte Reload
	movq	(%rsp), %rdi                    # 8-byte Reload
	movq	8(%rsp), %r12                   # 8-byte Reload
.LBB17_11:                              # %_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE11_S_relocateEPS5_S8_S8_RS6_.exit
	cmpq	%r13, %r15
	je	.LBB17_12
# %bb.13:                               # %.lr.ph.i.i.i27.preheader
	movq	%rbx, %r12
	addq	$48, %rbp
	addq	$16, %r13
.LBB17_14:                              # %.lr.ph.i.i.i27
                                        # =>This Inner Loop Header: Depth=1
	movq	%rbp, -16(%rbp)
	movq	-16(%r13), %rsi
	cmpq	%rsi, %r13
	je	.LBB17_15
# %bb.16:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i.i.i.i.i.i30
                                        #   in Loop: Header=BB17_14 Depth=1
	movq	%rsi, -16(%rbp)
	movq	(%r13), %rax
	movq	%rax, (%rbp)
	movq	-8(%r13), %rbx
	jmp	.LBB17_17
.LBB17_15:                              #   in Loop: Header=BB17_14 Depth=1
	movq	-8(%r13), %rbx
	leaq	1(%rbx), %rdx
	movq	%rbp, %rdi
	callq	memcpy@PLT
.LBB17_17:                              # %_ZSt19__relocate_object_aINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_SaIS5_EEvPT_PT0_RT1_.exit.i.i.i33
                                        #   in Loop: Header=BB17_14 Depth=1
	movq	%rbx, -8(%rbp)
	movq	%r13, -16(%r13)
	movq	$0, -8(%r13)
	movb	$0, (%r13)
	addq	$32, %rbp
	leaq	32(%r13), %rax
	addq	$16, %r13
	cmpq	%r15, %r13
	movq	%rax, %r13
	jne	.LBB17_14
# %bb.18:                               # %_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE11_S_relocateEPS5_S8_S8_RS6_.exit36.loopexit
	addq	$-16, %rbp
	movq	%r12, %rbx
	movq	(%rsp), %rdi                    # 8-byte Reload
	movq	8(%rsp), %r12                   # 8-byte Reload
	jmp	.LBB17_19
.LBB17_12:
	addq	$32, %rbp
.LBB17_19:                              # %_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE11_S_relocateEPS5_S8_S8_RS6_.exit36
	testq	%rdi, %rdi
	je	.LBB17_21
# %bb.20:
	callq	_ZdlPv
.LBB17_21:                              # %_ZNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE13_M_deallocateEPS5_m.exit
	movq	%r12, (%rbx)
	movq	%rbp, 8(%rbx)
	shlq	$5, %r14
	addq	%r12, %r14
	movq	%r14, 16(%rbx)
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB17_25:
	.cfi_def_cfa_offset 80
.Ltmp185:
	movq	%rax, %rdi
	callq	__cxa_begin_catch
	movq	%r12, %rdi
	callq	_ZdlPv
.Ltmp186:
	callq	__cxa_rethrow
.Ltmp187:
# %bb.26:
.LBB17_22:
.Ltmp188:
	movq	%rax, %rbx
.Ltmp189:
	callq	__cxa_end_catch
.Ltmp190:
# %bb.23:
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.LBB17_24:
.Ltmp191:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end17:
	.size	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_, .Lfunc_end17-_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,"aG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,comdat
	.p2align	2, 0x0
GCC_except_table17:
.Lexception3:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase0-.Lttbaseref0
.Lttbaseref0:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end3-.Lcst_begin3
.Lcst_begin3:
	.uleb128 .Lfunc_begin3-.Lfunc_begin3    # >> Call Site 1 <<
	.uleb128 .Ltmp183-.Lfunc_begin3         #   Call between .Lfunc_begin3 and .Ltmp183
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp183-.Lfunc_begin3         # >> Call Site 2 <<
	.uleb128 .Ltmp184-.Ltmp183              #   Call between .Ltmp183 and .Ltmp184
	.uleb128 .Ltmp185-.Lfunc_begin3         #     jumps to .Ltmp185
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp184-.Lfunc_begin3         # >> Call Site 3 <<
	.uleb128 .Ltmp186-.Ltmp184              #   Call between .Ltmp184 and .Ltmp186
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp186-.Lfunc_begin3         # >> Call Site 4 <<
	.uleb128 .Ltmp187-.Ltmp186              #   Call between .Ltmp186 and .Ltmp187
	.uleb128 .Ltmp188-.Lfunc_begin3         #     jumps to .Ltmp188
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp189-.Lfunc_begin3         # >> Call Site 5 <<
	.uleb128 .Ltmp190-.Ltmp189              #   Call between .Ltmp189 and .Ltmp190
	.uleb128 .Ltmp191-.Lfunc_begin3         #     jumps to .Ltmp191
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp190-.Lfunc_begin3         # >> Call Site 6 <<
	.uleb128 .Lfunc_end17-.Ltmp190          #   Call between .Ltmp190 and .Lfunc_end17
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end3:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag,"axG",@progbits,_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag,comdat
	.weak	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag # -- Begin function _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag
	.p2align	1, 0x90
	.type	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag,@function
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag: # @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	subq	%rsi, %r14
	movq	%r14, (%rsp)
	cmpq	$15, %r14
	jbe	.LBB18_1
# %bb.2:
	movq	%rsp, %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm
	movq	%rax, (%rbx)
	movq	(%r12), %rcx
	movq	%rcx, 16(%rbx)
	jmp	.LBB18_3
.LBB18_1:                               # %._crit_edge
	movq	(%rbx), %rax
.LBB18_3:
	testq	%r14, %r14
	je	.LBB18_7
# %bb.4:
	cmpq	$1, %r14
	jne	.LBB18_6
# %bb.5:
	movb	(%r15), %cl
	movb	%cl, (%rax)
	jmp	.LBB18_7
.LBB18_6:
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	memcpy@PLT
.LBB18_7:                               # %_ZZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tagEN6_GuardD2Ev.exit
	movq	(%rsp), %rax
	movq	%rax, 8(%rbx)
	movq	(%rbx), %rcx
	movb	$0, (%rcx,%rax)
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end18:
	.size	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag, .Lfunc_end18-_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc,"axG",@progbits,_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc,comdat
	.weak	_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc # -- Begin function _ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc
	.p2align	1, 0x90
	.type	_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc,@function
_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc: # @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc
	.cfi_startproc
# %bb.0:
	movabsq	$288230376151711743, %rcx       # imm = 0x3FFFFFFFFFFFFFF
	movq	8(%rdi), %r8
	subq	(%rdi), %r8
	sarq	$5, %r8
	movq	%rcx, %rax
	subq	%r8, %rax
	cmpq	%rsi, %rax
	jb	.LBB19_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
.LBB19_2:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdx, %rdi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end19:
	.size	_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc, .Lfunc_end19-_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv,@function
_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv: # @_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$58, %rax
	jne	.LBB20_1
# %bb.3:
	shlq	$5, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB20_1:
	.cfi_def_cfa_offset 16
	shrq	$59, %rsi
	je	.LBB20_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB20_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end20:
	.size	_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv, .Lfunc_end20-_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorI6FlightSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_,"axG",@progbits,_ZNSt6vectorI6FlightSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_,comdat
	.weak	_ZNSt6vectorI6FlightSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_ # -- Begin function _ZNSt6vectorI6FlightSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_
	.p2align	1, 0x90
	.type	_ZNSt6vectorI6FlightSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_,@function
_ZNSt6vectorI6FlightSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_: # @_ZNSt6vectorI6FlightSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_
.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	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rdx, %rbp
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	$1, %esi
	movl	$.L.str.40, %edx
	callq	_ZNKSt6vectorI6FlightSaIS0_EE12_M_check_lenEmPKc
	movq	(%rbx), %r15
	movq	8(%rbx), %rcx
	movq	%rcx, 8(%rsp)                   # 8-byte Spill
	movq	%r12, %rcx
	subq	%r15, %rcx
	sarq	$3, %rcx
	movabsq	$7905747460161236407, %r14      # imm = 0x6DB6DB6DB6DB6DB7
	imulq	%rcx, %r14
	testq	%rax, %rax
	movq	%rax, 16(%rsp)                  # 8-byte Spill
	je	.LBB21_1
# %bb.2:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorI6FlightE8allocateEmPKv
	movq	%rax, %r13
	jmp	.LBB21_3
.LBB21_1:
	xorl	%r13d, %r13d
.LBB21_3:                               # %_ZNSt12_Vector_baseI6FlightSaIS0_EE11_M_allocateEm.exit
	imulq	$56, %r14, %rax
	movq	16(%rbp), %rcx
	leaq	(%rax,%r13), %rdi
	addq	$24, %rdi
	movq	%rcx, -8(%rdi)
	movups	(%rbp), %xmm0
	movups	%xmm0, -24(%rdi)
	leaq	40(%r13,%rax), %rax
	movq	%rax, -16(%rax)
	movq	24(%rbp), %rsi
	movq	32(%rbp), %rdx
	addq	%rsi, %rdx
.Ltmp192:
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag
.Ltmp193:
# %bb.4:                                # %_ZNSt16allocator_traitsISaI6FlightEE9constructIS0_JRKS0_EEEvRS1_PT_DpOT0_.exit
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	callq	_ZNSt6vectorI6FlightSaIS0_EE11_S_relocateEPS0_S3_S3_RS1_
	leaq	56(%rax), %rdx
	movq	%r12, %rdi
	movq	8(%rsp), %rsi                   # 8-byte Reload
	movq	%rbx, %rcx
	callq	_ZNSt6vectorI6FlightSaIS0_EE11_S_relocateEPS0_S3_S3_RS1_
	movq	%rax, %r12
	testq	%r15, %r15
	je	.LBB21_6
# %bb.5:
	movq	%r15, %rdi
	callq	_ZdlPv
.LBB21_6:                               # %_ZNSt12_Vector_baseI6FlightSaIS0_EE13_M_deallocateEPS0_m.exit
	movq	%r13, (%rbx)
	movq	%r12, 8(%rbx)
	imulq	$56, 16(%rsp), %rax             # 8-byte Folded Reload
	addq	%r13, %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
.LBB21_10:
	.cfi_def_cfa_offset 80
.Ltmp194:
	movq	%rax, %rdi
	callq	__cxa_begin_catch
	movq	%r13, %rdi
	callq	_ZdlPv
.Ltmp195:
	callq	__cxa_rethrow
.Ltmp196:
# %bb.11:
.LBB21_7:
.Ltmp197:
	movq	%rax, %rbx
.Ltmp198:
	callq	__cxa_end_catch
.Ltmp199:
# %bb.8:
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.LBB21_9:
.Ltmp200:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end21:
	.size	_ZNSt6vectorI6FlightSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_, .Lfunc_end21-_ZNSt6vectorI6FlightSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt6vectorI6FlightSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_,"aG",@progbits,_ZNSt6vectorI6FlightSaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_,comdat
	.p2align	2, 0x0
GCC_except_table21:
.Lexception4:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase1-.Lttbaseref1
.Lttbaseref1:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end4-.Lcst_begin4
.Lcst_begin4:
	.uleb128 .Lfunc_begin4-.Lfunc_begin4    # >> Call Site 1 <<
	.uleb128 .Ltmp192-.Lfunc_begin4         #   Call between .Lfunc_begin4 and .Ltmp192
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp192-.Lfunc_begin4         # >> Call Site 2 <<
	.uleb128 .Ltmp193-.Ltmp192              #   Call between .Ltmp192 and .Ltmp193
	.uleb128 .Ltmp194-.Lfunc_begin4         #     jumps to .Ltmp194
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp193-.Lfunc_begin4         # >> Call Site 3 <<
	.uleb128 .Ltmp195-.Ltmp193              #   Call between .Ltmp193 and .Ltmp195
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp195-.Lfunc_begin4         # >> Call Site 4 <<
	.uleb128 .Ltmp196-.Ltmp195              #   Call between .Ltmp195 and .Ltmp196
	.uleb128 .Ltmp197-.Lfunc_begin4         #     jumps to .Ltmp197
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp198-.Lfunc_begin4         # >> Call Site 5 <<
	.uleb128 .Ltmp199-.Ltmp198              #   Call between .Ltmp198 and .Ltmp199
	.uleb128 .Ltmp200-.Lfunc_begin4         #     jumps to .Ltmp200
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp199-.Lfunc_begin4         # >> Call Site 6 <<
	.uleb128 .Lfunc_end21-.Ltmp199          #   Call between .Ltmp199 and .Lfunc_end21
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end4:
	.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._ZNKSt6vectorI6FlightSaIS0_EE12_M_check_lenEmPKc,"axG",@progbits,_ZNKSt6vectorI6FlightSaIS0_EE12_M_check_lenEmPKc,comdat
	.weak	_ZNKSt6vectorI6FlightSaIS0_EE12_M_check_lenEmPKc # -- Begin function _ZNKSt6vectorI6FlightSaIS0_EE12_M_check_lenEmPKc
	.p2align	1, 0x90
	.type	_ZNKSt6vectorI6FlightSaIS0_EE12_M_check_lenEmPKc,@function
_ZNKSt6vectorI6FlightSaIS0_EE12_M_check_lenEmPKc: # @_ZNKSt6vectorI6FlightSaIS0_EE12_M_check_lenEmPKc
	.cfi_startproc
# %bb.0:
	movabsq	$164703072086692425, %rcx       # imm = 0x249249249249249
	movq	8(%rdi), %rax
	subq	(%rdi), %rax
	sarq	$3, %rax
	movabsq	$7905747460161236407, %rdi      # imm = 0x6DB6DB6DB6DB6DB7
	imulq	%rax, %rdi
	movq	%rcx, %rax
	subq	%rdi, %rax
	cmpq	%rsi, %rax
	jb	.LBB22_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
.LBB22_2:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdx, %rdi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end22:
	.size	_ZNKSt6vectorI6FlightSaIS0_EE12_M_check_lenEmPKc, .Lfunc_end22-_ZNKSt6vectorI6FlightSaIS0_EE12_M_check_lenEmPKc
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorI6FlightSaIS0_EE11_S_relocateEPS0_S3_S3_RS1_,"axG",@progbits,_ZNSt6vectorI6FlightSaIS0_EE11_S_relocateEPS0_S3_S3_RS1_,comdat
	.weak	_ZNSt6vectorI6FlightSaIS0_EE11_S_relocateEPS0_S3_S3_RS1_ # -- Begin function _ZNSt6vectorI6FlightSaIS0_EE11_S_relocateEPS0_S3_S3_RS1_
	.p2align	1, 0x90
	.type	_ZNSt6vectorI6FlightSaIS0_EE11_S_relocateEPS0_S3_S3_RS1_,@function
_ZNSt6vectorI6FlightSaIS0_EE11_S_relocateEPS0_S3_S3_RS1_: # @_ZNSt6vectorI6FlightSaIS0_EE11_S_relocateEPS0_S3_S3_RS1_
	.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, %rbx
	cmpq	%rsi, %rdi
	je	.LBB23_7
# %bb.1:                                # %.lr.ph.i.i.preheader
	movq	%rsi, %r14
	movq	%rdi, %r15
	addq	$40, %rbx
	addq	$40, %r15
.LBB23_2:                               # %.lr.ph.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	-24(%r15), %rax
	movq	%rax, -24(%rbx)
	movups	-40(%r15), %xmm0
	movups	%xmm0, -40(%rbx)
	movq	%rbx, -16(%rbx)
	movq	-16(%r15), %rsi
	cmpq	%rsi, %r15
	je	.LBB23_3
# %bb.4:                                # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i.i.i.i.i.i
                                        #   in Loop: Header=BB23_2 Depth=1
	movq	%rsi, -16(%rbx)
	movq	(%r15), %rax
	movq	%rax, (%rbx)
	movq	-8(%r15), %r12
	jmp	.LBB23_5
.LBB23_3:                               #   in Loop: Header=BB23_2 Depth=1
	movq	-8(%r15), %r12
	leaq	1(%r12), %rdx
	movq	%rbx, %rdi
	callq	memcpy@PLT
.LBB23_5:                               # %_ZSt19__relocate_object_aI6FlightS0_SaIS0_EEvPT_PT0_RT1_.exit.i.i
                                        #   in Loop: Header=BB23_2 Depth=1
	movq	%r12, -8(%rbx)
	movq	%r15, -16(%r15)
	movq	$0, -8(%r15)
	movb	$0, (%r15)
	addq	$56, %rbx
	leaq	56(%r15), %rax
	addq	$16, %r15
	cmpq	%r14, %r15
	movq	%rax, %r15
	jne	.LBB23_2
# %bb.6:                                # %_ZSt12__relocate_aIP6FlightS1_SaIS0_EET0_T_S4_S3_RT1_.exit.loopexit
	addq	$-40, %rbx
.LBB23_7:                               # %_ZSt12__relocate_aIP6FlightS1_SaIS0_EET0_T_S4_S3_RT1_.exit
	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
.Lfunc_end23:
	.size	_ZNSt6vectorI6FlightSaIS0_EE11_S_relocateEPS0_S3_S3_RS1_, .Lfunc_end23-_ZNSt6vectorI6FlightSaIS0_EE11_S_relocateEPS0_S3_S3_RS1_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorI6FlightE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorI6FlightE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorI6FlightE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorI6FlightE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorI6FlightE8allocateEmPKv,@function
_ZNSt15__new_allocatorI6FlightE8allocateEmPKv: # @_ZNSt15__new_allocatorI6FlightE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movabsq	$164703072086692426, %rax       # imm = 0x24924924924924A
	cmpq	%rax, %rsi
	jae	.LBB24_1
# %bb.3:
	imulq	$56, %rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB24_1:
	.cfi_def_cfa_offset 16
	movabsq	$329406144173384851, %rax       # imm = 0x492492492492493
	cmpq	%rax, %rsi
	jb	.LBB24_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB24_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end24:
	.size	_ZNSt15__new_allocatorI6FlightE8allocateEmPKv, .Lfunc_end24-_ZNSt15__new_allocatorI6FlightE8allocateEmPKv
	.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.40, %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	.LBB25_1
# %bb.2:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIiE8allocateEmPKv
	movq	%rax, %rbp
	jmp	.LBB25_3
.LBB25_1:
	xorl	%ebp, %ebp
.LBB25_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	.LBB25_5
# %bb.4:
	movq	%rbp, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	memmove@PLT
.LBB25_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	.LBB25_7
# %bb.6:
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	memmove@PLT
.LBB25_7:                               # %_ZNSt6vectorIiSaIiEE11_S_relocateEPiS2_S2_RS0_.exit16
	testq	%r13, %r13
	je	.LBB25_9
# %bb.8:
	movq	%r13, %rdi
	callq	_ZdlPv
.LBB25_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_end25:
	.size	_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_, .Lfunc_end25-_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	.LBB26_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
.LBB26_2:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdx, %rdi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end26:
	.size	_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc, .Lfunc_end26-_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc
	.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	.LBB27_1
# %bb.3:
	shlq	$2, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB27_1:
	.cfi_def_cfa_offset 16
	shrq	$62, %rsi
	je	.LBB27_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB27_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end27:
	.size	_ZNSt15__new_allocatorIiE8allocateEmPKv, .Lfunc_end27-_ZNSt15__new_allocatorIiE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst16,"aM",@progbits,16
	.p2align	4, 0x0                          # -- Begin function _GLOBAL__sub_I_kernel.hip
.LCPI28_0:
	.zero	16
	.section	.text.startup,"ax",@progbits
	.type	_GLOBAL__sub_I_kernel.hip,@function
_GLOBAL__sub_I_kernel.hip:              # @_GLOBAL__sub_I_kernel.hip
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	xorps	%xmm0, %xmm0
	movups	%xmm0, _Z12Airport_ListB5cxx11(%rip)
	xorl	%ebx, %ebx
	movq	%rbx, _Z12Airport_ListB5cxx11+16(%rip)
	movl	$_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev, %edi
	movl	$_Z12Airport_ListB5cxx11, %esi
	movl	$__dso_handle, %edx
	callq	__cxa_atexit
	xorps	%xmm0, %xmm0
	movups	%xmm0, Flight_List(%rip)
	movq	%rbx, Flight_List+16(%rip)
	movl	$_ZNSt6vectorI6FlightSaIS0_EED2Ev, %edi
	movl	$Flight_List, %esi
	movl	$__dso_handle, %edx
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	__cxa_atexit                    # TAILCALL
.Lfunc_end28:
	.size	_GLOBAL__sub_I_kernel.hip, .Lfunc_end28-_GLOBAL__sub_I_kernel.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	.LBB29_2
# %bb.1:
	movl	$__hip_fatbin_wrapper, %edi
	callq	__hipRegisterFatBinary
	movq	%rax, %rbx
	movq	%rax, __hip_gpubin_handle(%rip)
.LBB29_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z10testBufferPiS_i, %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	$_Z10testMatrixPPiiS_P6Flight, %esi
	movl	$.L__unnamed_2, %edx
	movl	$.L__unnamed_2, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z17testMatrixBooleanPiiS_, %esi
	movl	$.L__unnamed_3, %edx
	movl	$.L__unnamed_3, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z14firstExpansionPiS_i, %esi
	movl	$.L__unnamed_4, %edx
	movl	$.L__unnamed_4, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z9expansionPiS_S_i, %esi
	movl	$.L__unnamed_5, %edx
	movl	$.L__unnamed_5, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	movl	$0, 8(%rsp)
	movl	$0, (%rsp)
	movl	$DEV_ADJ_MATRIX_DIM, %esi
	movl	$.L__unnamed_6, %edx
	movl	$.L__unnamed_6, %ecx
	movl	$4, %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_end29:
	.size	__hip_module_ctor, .Lfunc_end29-__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	.LBB30_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
.LBB30_2:
	retq
.Lfunc_end30:
	.size	__hip_module_dtor, .Lfunc_end30-__hip_module_dtor
	.cfi_endproc
                                        # -- End function
	.type	bool1,@object                   # @bool1
	.data
	.globl	bool1
bool1:
	.byte	1                               # 0x1
	.size	bool1, 1

	.type	bool2,@object                   # @bool2
	.bss
	.globl	bool2
bool2:
	.byte	0                               # 0x0
	.size	bool2, 1

	.type	ADJ_MATRIX_DIM,@object          # @ADJ_MATRIX_DIM
	.globl	ADJ_MATRIX_DIM
	.p2align	2, 0x0
ADJ_MATRIX_DIM:
	.long	0                               # 0x0
	.size	ADJ_MATRIX_DIM, 4

	.type	DEV_ADJ_MATRIX_DIM,@object      # @DEV_ADJ_MATRIX_DIM
	.local	DEV_ADJ_MATRIX_DIM
	.comm	DEV_ADJ_MATRIX_DIM,4,4
	.type	_Z12Airport_ListB5cxx11,@object # @_Z12Airport_ListB5cxx11
	.globl	_Z12Airport_ListB5cxx11
	.p2align	3, 0x0
_Z12Airport_ListB5cxx11:
	.zero	24
	.size	_Z12Airport_ListB5cxx11, 24

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

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

	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	"C:/Users/acer/Desktop/Semester 7/Project/AA_airports.txt"
	.size	.L.str, 57

	.type	.L.str.2,@object                # @.str.2
.L.str.2:
	.asciz	"Reading Airports"
	.size	.L.str.2, 17

	.type	.L.str.3,@object                # @.str.3
.L.str.3:
	.asciz	"Fatal error: %s (%s at %s:%d)\n"
	.size	.L.str.3, 31

	.type	.L.str.4,@object                # @.str.4
.L.str.4:
	.asciz	"Error copying adj matrix dim to device"
	.size	.L.str.4, 39

	.type	.L.str.5,@object                # @.str.5
.L.str.5:
	.asciz	"/home/ubuntu/Datasets/stackv2/train-structured-repos-hip-sm89/chathura-g21/FYP1/master/Trunk/Source/FYPCudaNew/FYPCudaNew/kernel.hip"
	.size	.L.str.5, 133

	.type	.L.str.6,@object                # @.str.6
.L.str.6:
	.asciz	"*** FAILED - ABORTING\n"
	.size	.L.str.6, 23

	.type	.L.str.7,@object                # @.str.7
.L.str.7:
	.asciz	" Airports Found"
	.size	.L.str.7, 16

	.type	.L.str.8,@object                # @.str.8
.L.str.8:
	.asciz	"C:/Users/acer/Desktop/Semester 7/Project/AA_data1.txt"
	.size	.L.str.8, 54

	.type	.L.str.9,@object                # @.str.9
.L.str.9:
	.asciz	"*"
	.size	.L.str.9, 2

	.type	.L.str.10,@object               # @.str.10
.L.str.10:
	.asciz	" Flights Found"
	.size	.L.str.10, 15

	.type	.L.str.11,@object               # @.str.11
.L.str.11:
	.asciz	"Failed to allocate memory to flight list"
	.size	.L.str.11, 41

	.type	.L.str.12,@object               # @.str.12
.L.str.12:
	.asciz	"Failed to copy flight list"
	.size	.L.str.12, 27

	.type	.L.str.13,@object               # @.str.13
.L.str.13:
	.asciz	"Failed to allocate memory to airport list manhattan:"
	.size	.L.str.13, 53

	.type	.L.str.14,@object               # @.str.14
.L.str.14:
	.asciz	"Failed to copy data to airport list manhattan:"
	.size	.L.str.14, 47

	.type	.L.str.15,@object               # @.str.15
.L.str.15:
	.asciz	"&"
	.size	.L.str.15, 2

	.type	.L.str.16,@object               # @.str.16
.L.str.16:
	.asciz	"Failed to allocate memory to pointer list in device"
	.size	.L.str.16, 52

	.type	.L.str.17,@object               # @.str.17
.L.str.17:
	.asciz	"Failed to allocate data to pointer list in device"
	.size	.L.str.17, 50

	.type	.L.str.18,@object               # @.str.18
.L.str.18:
	.asciz	"Failed to allocate memory to boolean adj matrix"
	.size	.L.str.18, 48

	.type	.L.str.19,@object               # @.str.19
.L.str.19:
	.asciz	"Failed to move data to boolean adj matrix"
	.size	.L.str.19, 42

	.type	.L.str.20,@object               # @.str.20
.L.str.20:
	.asciz	"Failed to allocate memory to boolean buffer"
	.size	.L.str.20, 44

	.type	.L.str.21,@object               # @.str.21
.L.str.21:
	.asciz	"Failed to move data to boolean buffer"
	.size	.L.str.21, 38

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

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

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

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

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

	.type	.L.str.22,@object               # @.str.22
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str.22:
	.asciz	"Initializing Flights"
	.size	.L.str.22, 21

	.type	.L.str.23,@object               # @.str.23
.L.str.23:
	.asciz	"finished initializing FLights"
	.size	.L.str.23, 30

	.type	.L.str.24,@object               # @.str.24
.L.str.24:
	.asciz	"Initializing Matrix"
	.size	.L.str.24, 20

	.type	.L.str.25,@object               # @.str.25
.L.str.25:
	.asciz	"Finished with adj matrix"
	.size	.L.str.25, 25

	.type	.L.str.26,@object               # @.str.26
.L.str.26:
	.asciz	"Initializing Boolean Matrix"
	.size	.L.str.26, 28

	.type	.L.str.27,@object               # @.str.27
.L.str.27:
	.asciz	"Finished with boolean matrix"
	.size	.L.str.27, 29

	.type	.L.str.28,@object               # @.str.28
.L.str.28:
	.asciz	"Failed to allocate memory to next source list"
	.size	.L.str.28, 46

	.type	.L.str.29,@object               # @.str.29
.L.str.29:
	.asciz	"Failed to move data  to next source list"
	.size	.L.str.29, 41

	.type	.L.str.30,@object               # @.str.30
.L.str.30:
	.asciz	"initializing Buffers"
	.size	.L.str.30, 21

	.type	.L.str.31,@object               # @.str.31
.L.str.31:
	.asciz	"initialized buffers"
	.size	.L.str.31, 20

	.type	.L.str.32,@object               # @.str.32
.L.str.32:
	.asciz	"nextSource.txt"
	.size	.L.str.32, 15

	.type	.L.str.33,@object               # @.str.33
.L.str.33:
	.asciz	"Failed to copy data from buffer array to host array"
	.size	.L.str.33, 52

	.type	.L.str.34,@object               # @.str.34
.L.str.34:
	.asciz	"moving into first expansion"
	.size	.L.str.34, 28

	.type	.L.str.35,@object               # @.str.35
.L.str.35:
	.asciz	"Frame1.txt"
	.size	.L.str.35, 11

	.type	.L.str.36,@object               # @.str.36
.L.str.36:
	.asciz	"Error occured in expansion"
	.size	.L.str.36, 27

	.type	.L.str.37,@object               # @.str.37
.L.str.37:
	.asciz	"finished expansion"
	.size	.L.str.37, 19

	.type	.L.str.38,@object               # @.str.38
.L.str.38:
	.asciz	"Failed to retrieve memory from first frame"
	.size	.L.str.38, 43

	.type	.L.str.39,@object               # @.str.39
.L.str.39:
	.asciz	"Failed to retrieve memory from buffer array 1.2 to host"
	.size	.L.str.39, 56

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

	.type	.L__unnamed_1,@object           # @0
.L__unnamed_1:
	.asciz	"_Z10testBufferPiS_i"
	.size	.L__unnamed_1, 20

	.type	.L__unnamed_2,@object           # @1
.L__unnamed_2:
	.asciz	"_Z10testMatrixPPiiS_P6Flight"
	.size	.L__unnamed_2, 29

	.type	.L__unnamed_3,@object           # @2
.L__unnamed_3:
	.asciz	"_Z17testMatrixBooleanPiiS_"
	.size	.L__unnamed_3, 27

	.type	.L__unnamed_4,@object           # @3
.L__unnamed_4:
	.asciz	"_Z14firstExpansionPiS_i"
	.size	.L__unnamed_4, 24

	.type	.L__unnamed_5,@object           # @4
.L__unnamed_5:
	.asciz	"_Z9expansionPiS_S_i"
	.size	.L__unnamed_5, 20

	.type	.L__unnamed_6,@object           # @5
.L__unnamed_6:
	.asciz	"DEV_ADJ_MATRIX_DIM"
	.size	.L__unnamed_6, 19

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

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym __gxx_personality_v0
	.addrsig_sym _Z25__device_stub__testBufferPiS_i
	.addrsig_sym _Z25__device_stub__testMatrixPPiiS_P6Flight
	.addrsig_sym _Z32__device_stub__testMatrixBooleanPiiS_
	.addrsig_sym _Z29__device_stub__firstExpansionPiS_i
	.addrsig_sym _Z24__device_stub__expansionPiS_S_i
	.addrsig_sym _GLOBAL__sub_I_kernel.hip
	.addrsig_sym __hip_module_ctor
	.addrsig_sym __hip_module_dtor
	.addrsig_sym _Unwind_Resume
	.addrsig_sym ADJ_MATRIX_DIM
	.addrsig_sym DEV_ADJ_MATRIX_DIM
	.addrsig_sym _Z12Airport_ListB5cxx11
	.addrsig_sym __dso_handle
	.addrsig_sym Flight_List
	.addrsig_sym _ZSt4cout
	.addrsig_sym _Z10testBufferPiS_i
	.addrsig_sym _Z10testMatrixPPiiS_P6Flight
	.addrsig_sym _Z17testMatrixBooleanPiiS_
	.addrsig_sym _Z14firstExpansionPiS_i
	.addrsig_sym _Z9expansionPiS_S_i
	.addrsig_sym __hip_fatbin
	.addrsig_sym __hip_fatbin_wrapper
	.addrsig_sym __hip_cuid_

	.text
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.protected	_Z10testBufferPiS_i     ; -- Begin function _Z10testBufferPiS_i
	.globl	_Z10testBufferPiS_i
	.p2align	8
	.type	_Z10testBufferPiS_i,@function
_Z10testBufferPiS_i:                    ; @_Z10testBufferPiS_i
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x24
	s_load_b32 s3, s[0:1], 0x10
	s_waitcnt lgkmcnt(0)
	s_and_b32 s2, s2, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s15, s2, v[0:1]
	s_mov_b32 s2, exec_lo
	v_cmpx_gt_i32_e64 s3, v1
	s_cbranch_execz .LBB0_2
; %bb.1:                                ; %.sink.split
	s_load_b128 s[0:3], s[0:1], 0x0
	v_ashrrev_i32_e32 v2, 31, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[0:1], 2, v[1:2]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v2, vcc_lo, s0, v0
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v1, vcc_lo
	v_add_co_u32 v0, vcc_lo, s2, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, s3, v1, vcc_lo
	global_load_b32 v2, v[2:3], off
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e32 vcc_lo, 0, v2
	v_cndmask_b32_e64 v2, 0x12d5a9, 0, vcc_lo
	global_store_b32 v[0:1], v2, off
.LBB0_2:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z10testBufferPiS_i
		.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 4
		.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	_Z10testBufferPiS_i, .Lfunc_end0-_Z10testBufferPiS_i
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 164
; NumSgprs: 18
; NumVgprs: 4
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 4
; 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	_Z10testMatrixPPiiS_P6Flight ; -- Begin function _Z10testMatrixPPiiS_P6Flight
	.globl	_Z10testMatrixPPiiS_P6Flight
	.p2align	8
	.type	_Z10testMatrixPPiiS_P6Flight,@function
_Z10testMatrixPPiiS_P6Flight:           ; @_Z10testMatrixPPiiS_P6Flight
; %bb.0:
	s_clause 0x2
	s_load_b32 s2, s[0:1], 0x2c
	s_load_b32 s3, s[0:1], 0x8
	s_load_b128 s[4:7], s[0:1], 0x10
	v_mov_b32_e32 v4, 0
	s_waitcnt lgkmcnt(0)
	s_and_b32 s2, s2, 0xffff
	s_mul_i32 s3, s3, s3
	v_mad_u64_u32 v[2:3], null, s15, s2, v[0:1]
	s_mov_b32 s2, exec_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v3, 31, v2
	v_lshlrev_b64 v[0:1], 2, v[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v0, vcc_lo, s4, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, s5, v1, vcc_lo
	global_store_b32 v[0:1], v4, off
	v_cmpx_gt_i32_e64 s3, v2
	s_cbranch_execz .LBB1_3
; %bb.1:
	s_load_b64 s[0:1], s[0:1], 0x0
	v_lshlrev_b64 v[2:3], 3, v[2:3]
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	global_load_b64 v[2:3], v[2:3], off
	s_waitcnt vmcnt(0)
	v_cmp_ne_u64_e32 vcc_lo, 0, v[2:3]
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB1_3
; %bb.2:
	global_load_b32 v4, v[2:3], off
	s_waitcnt vmcnt(0)
	v_mad_i64_i32 v[2:3], null, v4, 56, s[6:7]
	global_load_b32 v2, v[2:3], off offset:4
	s_waitcnt vmcnt(0)
	global_store_b32 v[0:1], v2, off
.LBB1_3:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z10testMatrixPPiiS_P6Flight
		.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 5
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end1:
	.size	_Z10testMatrixPPiiS_P6Flight, .Lfunc_end1-_Z10testMatrixPPiiS_P6Flight
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 224
; NumSgprs: 18
; NumVgprs: 5
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 5
; Occupancy: 16
; WaveLimiterHint : 1
; 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	_Z17testMatrixBooleanPiiS_ ; -- Begin function _Z17testMatrixBooleanPiiS_
	.globl	_Z17testMatrixBooleanPiiS_
	.p2align	8
	.type	_Z17testMatrixBooleanPiiS_,@function
_Z17testMatrixBooleanPiiS_:             ; @_Z17testMatrixBooleanPiiS_
; %bb.0:
	s_clause 0x2
	s_load_b32 s4, s[0:1], 0x24
	s_load_b32 s5, s[0:1], 0x8
	s_load_b64 s[2:3], s[0:1], 0x10
	s_waitcnt lgkmcnt(0)
	s_and_b32 s4, s4, 0xffff
	s_mul_i32 s5, s5, s5
	v_mad_u64_u32 v[4:5], null, s15, s4, v[0:1]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v5, 31, v4
	v_lshlrev_b64 v[2:3], 2, v[4:5]
	v_mov_b32_e32 v5, 0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v0, vcc_lo, s2, v2
	v_add_co_ci_u32_e32 v1, vcc_lo, s3, v3, vcc_lo
	s_mov_b32 s2, exec_lo
	global_store_b32 v[0:1], v5, off
	v_cmpx_gt_i32_e64 s5, v4
	s_cbranch_execz .LBB2_3
; %bb.1:
	s_load_b64 s[0:1], s[0:1], 0x0
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	global_load_b32 v2, v[2:3], off
	s_waitcnt vmcnt(0)
	v_cmp_ne_u32_e32 vcc_lo, 0, v2
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB2_3
; %bb.2:
	v_mov_b32_e32 v2, 1
	global_store_b32 v[0:1], v2, off
.LBB2_3:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z17testMatrixBooleanPiiS_
		.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 6
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end2:
	.size	_Z17testMatrixBooleanPiiS_, .Lfunc_end2-_Z17testMatrixBooleanPiiS_
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 184
; NumSgprs: 18
; NumVgprs: 6
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 6
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 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	_Z14firstExpansionPiS_i ; -- Begin function _Z14firstExpansionPiS_i
	.globl	_Z14firstExpansionPiS_i
	.p2align	8
	.type	_Z14firstExpansionPiS_i,@function
_Z14firstExpansionPiS_i:                ; @_Z14firstExpansionPiS_i
; %bb.0:
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z14firstExpansionPiS_i
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 20
		.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 1
		.amdhsa_next_free_sgpr 1
		.amdhsa_reserve_vcc 0
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end3:
	.size	_Z14firstExpansionPiS_i, .Lfunc_end3-_Z14firstExpansionPiS_i
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 4
; NumSgprs: 0
; NumVgprs: 0
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 0
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 1
; NumVGPRsForWavesPerEU: 1
; 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	_Z9expansionPiS_S_i     ; -- Begin function _Z9expansionPiS_S_i
	.globl	_Z9expansionPiS_S_i
	.p2align	8
	.type	_Z9expansionPiS_S_i,@function
_Z9expansionPiS_S_i:                    ; @_Z9expansionPiS_S_i
; %bb.0:
	s_clause 0x2
	s_load_b32 s2, s[0:1], 0x2c
	s_load_b32 s8, s[0:1], 0x18
	s_load_b128 s[4:7], s[0:1], 0x0
	s_waitcnt lgkmcnt(0)
	s_and_b32 s2, s2, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_2) | instid1(SALU_CYCLE_1)
	v_mad_u64_u32 v[1:2], null, s15, s2, v[0:1]
	v_cvt_f64_i32_e32 v[2:3], s8
	s_ashr_i32 s2, s8, 31
	s_add_i32 s3, s8, s2
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	s_xor_b32 s2, s3, s2
	v_cvt_f64_i32_e32 v[4:5], v1
	v_cvt_f32_u32_e32 v0, s2
	s_sub_i32 s3, 0, s2
	s_delay_alu instid0(VALU_DEP_1) | 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
	v_div_scale_f64 v[6:7], null, v[2:3], v[2:3], v[4:5]
	v_div_scale_f64 v[12:13], vcc_lo, v[4:5], v[2:3], v[4:5]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_rcp_f64_e32 v[8:9], v[6:7]
	s_waitcnt_depctr 0xfff
	v_fma_f64 v[10:11], -v[6:7], v[8:9], 1.0
	v_fma_f64 v[8:9], v[8:9], v[10:11], v[8:9]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[10:11], -v[6:7], v[8:9], 1.0
	v_fma_f64 v[8:9], v[8:9], v[10:11], v[8:9]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f64 v[10:11], v[12:13], v[8:9]
	v_fma_f64 v[6:7], -v[6:7], v[10:11], v[12:13]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_div_fmas_f64 v[6:7], v[6:7], v[8:9], v[10:11]
	v_div_fixup_f64 v[2:3], v[6:7], v[2:3], v[4:5]
	v_mul_lo_u32 v5, s3, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_hi_u32 v5, v0, v5
	v_add_nc_u32_e32 v0, v0, v5
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_floor_f64_e32 v[3:4], v[2:3]
	v_ashrrev_i32_e32 v2, 31, v1
	v_add_nc_u32_e32 v6, v1, v2
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_xor_b32_e32 v6, v6, v2
	v_mul_hi_u32 v0, v6, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_lo_u32 v0, v0, s2
	v_sub_nc_u32_e32 v0, v6, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_cmp_le_u32_e32 vcc_lo, s2, v0
	v_cvt_i32_f64_e32 v5, v[3:4]
	v_subrev_nc_u32_e32 v3, s2, v0
	v_cndmask_b32_e32 v0, v0, v3, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_2)
	v_subrev_nc_u32_e32 v3, s2, v0
	v_cmp_le_u32_e32 vcc_lo, s2, v0
	s_load_b64 s[2:3], s[0:1], 0x10
	v_cndmask_b32_e32 v0, v0, v3, vcc_lo
	v_lshlrev_b64 v[3:4], 2, v[1:2]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_xor_b32_e32 v0, v0, v2
	v_add_co_u32 v3, vcc_lo, s6, v3
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_ci_u32_e32 v4, vcc_lo, s7, v4, vcc_lo
	v_sub_nc_u32_e32 v7, v0, v2
	v_mov_b32_e32 v0, 0
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_ashrrev_i32_e32 v8, 31, v7
	v_cmp_eq_u32_e64 s0, 0, v7
	v_lshlrev_b64 v[8:9], 2, v[7:8]
	v_ashrrev_i32_e32 v6, 31, v5
	v_max_i32_e32 v2, -1, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_lshlrev_b64 v[10:11], 2, v[5:6]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v5, vcc_lo, s2, v8
	v_add_co_ci_u32_e32 v6, vcc_lo, s3, v9, vcc_lo
	v_mov_b32_e32 v9, 1
	v_cmp_gt_i32_e32 vcc_lo, s8, v2
	v_add_co_u32 v7, s1, s2, v10
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v8, s1, s3, v11, s1
	s_and_b32 s1, vcc_lo, s0
	s_mul_i32 s2, s8, s8
	s_mov_b32 s3, 4
.LBB4_1:                                ; =>This Inner Loop Header: Depth=1
	s_and_saveexec_b32 s6, vcc_lo
	s_cbranch_execz .LBB4_5
; %bb.2:                                ;   in Loop: Header=BB4_1 Depth=1
	global_load_b32 v2, v[7:8], off
	s_mov_b32 s7, 0
	s_mov_b32 s8, exec_lo
	s_waitcnt vmcnt(0)
	v_cmpx_ne_u32_e32 0, v2
	s_cbranch_execz .LBB4_4
; %bb.3:                                ;   in Loop: Header=BB4_1 Depth=1
	global_load_b32 v2, v[3:4], off
	s_waitcnt vmcnt(0)
	v_cmp_ne_u32_e64 s0, 0, v2
	s_delay_alu instid0(VALU_DEP_1)
	s_and_b32 s7, s0, exec_lo
.LBB4_4:                                ;   in Loop: Header=BB4_1 Depth=1
	s_or_b32 exec_lo, exec_lo, s8
	v_ashrrev_i32_e32 v2, 31, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_lshlrev_b64 v[10:11], 2, v[1:2]
	v_cndmask_b32_e64 v2, 0, 1, s7
	v_add_co_u32 v10, s0, s4, v10
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v11, s0, s5, v11, s0
	global_store_b32 v[10:11], v2, off
.LBB4_5:                                ; %Flow60
                                        ;   in Loop: Header=BB4_1 Depth=1
	s_or_b32 exec_lo, exec_lo, s6
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	s_and_saveexec_b32 s0, s1
	s_cbranch_execz .LBB4_7
; %bb.6:                                ;   in Loop: Header=BB4_1 Depth=1
	global_store_b32 v[7:8], v0, off
.LBB4_7:                                ;   in Loop: Header=BB4_1 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
	s_waitcnt_vscnt null, 0x0
	s_barrier
	buffer_gl0_inv
	s_and_saveexec_b32 s6, vcc_lo
	s_cbranch_execz .LBB4_10
; %bb.8:                                ;   in Loop: Header=BB4_1 Depth=1
	v_ashrrev_i32_e32 v2, 31, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[10:11], 2, v[1:2]
	v_add_co_u32 v10, s0, s4, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_3) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e64 v11, s0, s5, v11, s0
	global_load_b32 v2, v[10:11], off
	s_waitcnt vmcnt(0)
	v_cmp_ne_u32_e64 s0, 0, v2
	s_and_b32 exec_lo, exec_lo, s0
	s_cbranch_execz .LBB4_10
; %bb.9:                                ;   in Loop: Header=BB4_1 Depth=1
	global_store_b32 v[5:6], v9, off
.LBB4_10:                               ;   in Loop: Header=BB4_1 Depth=1
	s_or_b32 exec_lo, exec_lo, s6
	v_add_nc_u32_e32 v1, s2, v1
	s_add_i32 s3, s3, -1
	s_waitcnt_vscnt null, 0x0
	s_cmp_eq_u32 s3, 0
	s_barrier
	buffer_gl0_inv
	s_cbranch_scc0 .LBB4_1
; %bb.11:
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z9expansionPiS_S_i
		.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 14
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end4:
	.size	_Z9expansionPiS_S_i, .Lfunc_end4-_Z9expansionPiS_S_i
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 764
; NumSgprs: 18
; NumVgprs: 14
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 14
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 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	DEV_ADJ_MATRIX_DIM      ; @DEV_ADJ_MATRIX_DIM
	.type	DEV_ADJ_MATRIX_DIM,@object
	.section	.bss,"aw",@nobits
	.globl	DEV_ADJ_MATRIX_DIM
	.p2align	2, 0x0
DEV_ADJ_MATRIX_DIM:
	.long	0                               ; 0x0
	.size	DEV_ADJ_MATRIX_DIM, 4

	.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 DEV_ADJ_MATRIX_DIM
	.addrsig_sym __hip_cuid_
	.amdgpu_metadata
---
amdhsa.kernels:
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         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:           _Z10testBufferPiS_i
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z10testBufferPiS_i.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     4
    .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
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .offset:         32
        .size:           4
        .value_kind:     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:           _Z10testMatrixPPiiS_P6Flight
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z10testMatrixPPiiS_P6Flight.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     5
    .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
      - .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:           _Z17testMatrixBooleanPiiS_
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z17testMatrixBooleanPiiS_.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     6
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .offset:         16
        .size:           4
        .value_kind:     by_value
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 20
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z14firstExpansionPiS_i
    .private_segment_fixed_size: 0
    .sgpr_count:     0
    .sgpr_spill_count: 0
    .symbol:         _Z14firstExpansionPiS_i.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     0
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .offset:         24
        .size:           4
        .value_kind:     by_value
      - .offset:         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:           _Z9expansionPiS_S_i
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z9expansionPiS_S_i.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     14
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
amdhsa.target:   amdgcn-amd-amdhsa--gfx1100
amdhsa.version:
  - 1
  - 2
...

	.end_amdgpu_metadata
