// source : https://arxiv.org/pdf/1611.02274.pdf
#include <stdio.h>
#include <vector>
#include <iostream>
#include <time.h>
#include <fstream>
#include <sstream>
using namespace std;

// NEQN - number of ODEs in a system
#define NEQN 3
// NPAR - number of parameters
#define NPAR 3
// THREADS - total number of threads
#define THREADS int(1e2)
// REPSET - number of unique threads repeated
#define REPSET int(1e2)
// constants used in the integrations
#define UROUND (2.22e-16)
#define SAFETY 0.9
#define PGROW (-0.2)
#define PSHRNK (-0.25)
#define ERRCON (1.89e-4)
#define TINY (1.0e-30)
#define P1 0.1

// change parameter file accordingly in parameter_reader function


// function dydt is where the equations are defined. 

// h*derivative -> F
__device__ void dydt(double t, double* y,
 const double* g, double* F, double h){
	F[0] = h * (g[0] * (y[1] - y[0]));
	F[1] = h * (y[0] * (g[1] - y[2]) - y[1]);
	F[2] = h * (y[0] * y[1] - g[2] * y[2]);
}

// functions rkckStep, rkckDriver and intDriver does the integration.
// change function call to appropriate rkcDriver functions in the intDriver function

__device__ void rkckStep(double t, double* y,
	const double* g, double* F, double h,
	double* yTemp, double* yErr){

	// constant values from paper RKCK
	double a[6] = {0.0, 0.2, 0.3, 0.6, 1.0, 0.875};
	double b1[1] = {0.2};
	double b2[2] = {3.0/40, 9.0/40};
	double b3[3] = {3.0/10, -9.0/10, 6.0/5};
	double b4[4] = {-11.0/54, 5.0/2, -70.0/27, 35.0/27};
	double b5[5] = {1631.0/55296, 175.0/512, 575.0/13824, 44275.0/110592, 253.0/4096};
	double c[6] = {37.0/378, 0.0, 250.0/621, 125.0/594, 0.0, 512.0/1771};
	double cs[6] = {2825.0/27648, 0.0, 18575.0/48384, 13525.0/55296, 277.0/14336, 0.25};

	double tmp[NEQN];
	
	double k1[NEQN];
	dydt(t, y, g, k1, h);
	
	double k2[NEQN];
	for(int i = 0; i < NEQN; ++i){
		tmp[i] = b1[0] * k1[i] + y[i];
	}
	dydt(t + a[1] * h, tmp, g, k2, h);
	
	double k3[NEQN];
	for(int i = 0; i < NEQN; ++i){
		tmp[i] = b2[0] * k1[i] + b2[1] * k2[i] + y[i];
	}
	dydt(t + a[2] * h, tmp, g, k3, h);

	double k4[NEQN];
	for(int i = 0; i < NEQN; ++i){
		tmp[i] = b3[0] * k1[i] + b3[1] * k2[i] + b3[2] * k3[i] + y[i];
	}
	dydt(t + a[3] * h, tmp, g, k4, h);

	double k5[NEQN];
	for(int i = 0; i < NEQN; ++i){
		tmp[i] = b4[0] * k1[i] + b4[1] * k2[i] + b4[2] * k3[i] + b4[3] * k4[i] + y[i];
	}
	dydt(t + a[4] * h, tmp, g, k5, h);

	double k6[NEQN];
	for(int i = 0; i < NEQN; ++i){
		tmp[i] = b5[0] * k1[i] + b5[1] * k2[i] + b5[2] * k3[i] + b5[3] * k4[i] + b5[4] * k5[i] + y[i];
	}
	dydt(t + a[5] * h, tmp, g, k6, h);

	for(int i = 0; i < NEQN; ++i){
		yTemp[i] = y[i] + c[0] * k1[i] + c[1] * k2[i] + c[2] * k3[i] + c[3] * k4[i] + c[4] * k5[i] + c[5] * k6[i];
		yErr[i] = yTemp[i] - (y[i] + cs[0] * k1[i] + cs[1] * k2[i] + cs[2] * k3[i] + cs[3] * k4[i] + cs[4] * k5[i] + cs[5] * k6[i]);
	}
}


__device__ void rkckDriver(double t, const double tEnd, 
	double* y, const double* g){
	// max and min step size
	const double hMax = fabs(tEnd - t);
	const double hMin = 1.0e-20;
	const double eps = 1.0e-10;


	// initial step size
	double h = 0.5 * fabs(tEnd - t);

	// integration including
	// trial integration to estimate error
	while(t < tEnd){
		// max step size = remaining time
		h = fmin(tEnd - t, h);

		double yTemp[NEQN], yErr[NEQN];

		// evaluate derivative
		double F[NEQN];
		dydt(t, y, g, F, 1.0);

		rkckStep(t, y, g, F, h, yTemp, yErr);

		// calculate error
		double err = 0.0;
		int nanFlag = 0;
		for(int i = 0; i < NEQN; ++i){
			if(isnan(yErr[i])) nanFlag = 1;

			err = fmax(err, fabs(yErr[i]/(fabs(y[i]) + fabs(h * F[i]) + TINY)));
		}
		err /= eps;

		// if error too large, step decrease, retake
		if ((err > 1.0) || isnan(err) || (nanFlag == 1)) {
			// failed step
			if (isnan(err) || (nanFlag == 1)){

				h *= P1;
			} else {
				h = fmax(SAFETY * h * pow(err, PSHRNK), P1 * h);
			}
		} else{
			// step accepted
			t += h;


			if(err > ERRCON) {
				h = SAFETY * h * pow(err, PGROW); 
			} else{
				h *= 5.0;
			}

			// ensure step size is bounded
			h = fmax(hMin, fmin(hMax, h));

			for(int i = 0; i < NEQN; ++i)
				y[i] = yTemp[i];
		}
	}
}



// general integration kernel
__global__ void
intDriver (const double t, const double tEnd, 
	const int numODE, const double* gGlobal, double* yGlobal){
	// thread ID
	int tid = threadIdx.x + (blockDim.x * blockIdx.x);

	if (tid < numODE){

		// get values from global arrays -> local arrays
		double yLocal[NEQN];
		double gLocal[NPAR];

		for(int i = 0; i < NEQN; ++i){
			yLocal[i] = yGlobal[tid + numODE * i];
		}
		for(int i = 0; i < NPAR; ++i){
			gLocal[i] = gGlobal[tid + numODE * i];
		}

		// call integrator for one timestep
		// replace integrator with rkckDriver or rkcDriver
		// rkck for low stiffness, rkc for high stiffness
		rkckDriver (t, tEnd, yLocal, gLocal);

		// local array -> global array
		for(int i = 0; i < NEQN; ++i){
			yGlobal[tid + numODE * i] = yLocal[i];
		}
	}
}



// to read parameter values from given parameter file
void parameter_reader(double* g, int numODE) { 
  
    // File pointer 
    fstream fin; 
  
    // Open parameter file 
    fin.open("parameters_3_e2.csv", ios::in); 
  
    cout << "Reading parameters" << endl;
    string line, word, temp; 
    int i = 0, j = 0;
    while (fin >> temp) { 
		if(i > numODE){
			cout << "Number of samples read > numODE" << endl;
			break;
		}   

        stringstream s(temp); 
  
        // read every column data of a row and 
        // store it in a string variable, 'word' 
        j = 0;
        while (getline(s, word, ',')) { 
  
            // add all the column data 
            // of a row to a vector 
            if ( j >= NPAR){
            	cout << "Number of parameters read > NPAR" << endl;
            	break;
            }
            g[i + numODE*j] = stof(word);
            j ++;
        }   
        i++;
    }
    fin.close();
    cout << "Done reading parameters" << endl;
} 


int main(){

	// numODE - number of systems
	int numODE = THREADS;

	// // defining y - initial conditions - 2d array with numODE rows and
	// // NEQN columns
	// double *yHost;
	// yHost = (double *) malloc (numODE * NEQN * sizeof(double));

	// for(int i = 0; i < numODE; ++i){
	// 	for(int j = 0; j < NEQN; ++j){
	// 		yHost[i + numODE * j] = y[i][j];
	// 	}
	// }
	double *yHost;
	yHost = (double *) malloc (numODE * NEQN * sizeof(double));

	for(int i = 0; i < numODE; ++i){
		for(int j = 0; j < NEQN; ++j){
			yHost[i + numODE * j] = 0.5;
		}
	}


	// // defining g - parameters - 2d array with numODE rows and
	// // NPAR columns
	// double *gHost;
	// gHost = (double *) malloc (numODE * NPAR * sizeof(double));

	// for(int i = 0; i < numODE; ++i){
	// 	for(int j = 0; j < NPAR; ++j){
	// 		gHost[i + numODE * j] = g[i][j];
	// 	}
	// }
	double *gHost;
	gHost = (double *) malloc (numODE * NPAR * sizeof(double));

	parameter_reader(gHost, numODE);
	// for(int i = 0; i < numODE; ++i){
	// 	gHost[i] = 0.5;
	// 	gHost[i + numODE*1] = 0.5;
	// 	gHost[i + numODE*2] = 1.0 + ((i%REPSET)+1)*1.0/REPSET;
	// }

	int blockSize;
	if(numODE < 4194304) {
		blockSize = 64;
	} else if (numODE < 8388608){
		blockSize = 128;
	} else if (numODE < 16777216){
		blockSize = 256;
	} else {
		blockSize = 512;
	}
	dim3 dimBlock (blockSize, 1);
	dim3 dimGrid (numODE / dimBlock.x + 1, 1);


	// set initial time, end time, initial step size

	double t0 = 0.0;
	double h = 10.0;
	double tEnd = 100.0;
	int numSteps = int((tEnd-t0)/h) + 1;
	double t = t0;
	double tNext = t + h;

	vector< vector< vector<double> > > yvals(numODE, vector< vector<double> >(numSteps, vector<double>(NEQN, 0.0)));


	// start measuring time
	clock_t start_time = clock();
	// setting up GPU global memory arrays
	double *yDevice;
	cudaMalloc ((void**) &yDevice, numODE * NEQN * sizeof(double));

	double *gDevice;
	cudaMalloc ((void**) &gDevice, numODE * NPAR * sizeof(double));

	// CPU to GPU memory transfer
	cudaMemcpy(gDevice, gHost, numODE * NPAR * sizeof(double),
		cudaMemcpyHostToDevice);
	cudaMemcpy (yDevice, yHost, numODE * NEQN * sizeof(double),
		cudaMemcpyHostToDevice);

	int k = 0;
	for(int i = 0; i < numODE; ++i){
		for(int j = 0; j < NEQN; ++j){
			yvals[i][k][j] = yHost[i + numODE*j];
		}
	}
	cout << "GPU kernel calls started" << endl; 

	double progress = 0.0;
	while(t < tEnd){
		// integrating each step till we reach end
		intDriver<<<dimGrid, dimBlock>>> (t, tNext, numODE, gDevice, yDevice);
		cudaMemcpy (yHost, yDevice, numODE * NEQN * sizeof(double),
			cudaMemcpyDeviceToHost);
		++k;
		progress = ((double)k*100.0/(double)numSteps);
		if(k%10 == 0){
			cout << "Progress:\t"<< progress << " %" << endl;
		}
		for(int i = 0; i < numODE; ++i){
			for(int j = 0; j < NEQN; ++j){
				yvals[i][k][j] = yHost[i + numODE*j];
			}
		}

		t = tNext;
		tNext += h;
	}
	clock_t end_time = clock();
	double time_taken = ((double)end_time - (double)start_time)/CLOCKS_PER_SEC;

	cout << "!\n!\n!\nDone!!!" << endl;
	cout << "GPU execution took " << time_taken << " seconds to execute." << endl;
	cudaFree(gDevice);
	cudaFree(yDevice);


	cout << "Printing files to RKCK_parallel_out.csv" << endl;
	cout << numODE << " x " << numSteps << " x " << NEQN << endl;
	clock_t write_start = clock();
	ofstream ofile;
	ofile.open("RKCK_parallel_out.csv");
	for(int i = 0; i < numODE; i++){
		for(int j = 0; j < numSteps; j++){
			for(int m = 0;m < NEQN; m++){
				ofile << yvals[i][j][m];
				if(m != NEQN - 1)
					ofile << ",";
			}
			ofile << endl;
		}
	}
	ofile.close();
	clock_t write_end = clock();
	double write_time = ((double)write_end - (double)write_start)/CLOCKS_PER_SEC;
	cout << "Writing file took " << write_time << " seconds." << endl;

	return 0;
}



























	.file	"tmpxft_0036d33d_00000000-6_RKCKpaper_parallel.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB4194:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE4194:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.align 2
	.type	_ZNSolsEPFRSoS_E.isra.0, @function
_ZNSolsEPFRSoS_E.isra.0:
.LFB5211:
	.cfi_startproc
	jmp	*%rsi
	.cfi_endproc
.LFE5211:
	.size	_ZNSolsEPFRSoS_E.isra.0, .-_ZNSolsEPFRSoS_E.isra.0
	.globl	_Z4dydtdPdPKdS_d
	.type	_Z4dydtdPdPKdS_d, @function
_Z4dydtdPdPKdS_d:
.LFB4186:
	.cfi_startproc
	endbr64
	pushq	%rax
	.cfi_def_cfa_offset 16
	popq	%rax
	.cfi_def_cfa_offset 8
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movl	$1, 12(%rsp)
	movl	12(%rsp), %edi
	call	exit@PLT
	.cfi_endproc
.LFE4186:
	.size	_Z4dydtdPdPKdS_d, .-_Z4dydtdPdPKdS_d
	.globl	_Z8rkckStepdPdPKdS_dS_S_
	.type	_Z8rkckStepdPdPKdS_dS_S_, @function
_Z8rkckStepdPdPKdS_dS_S_:
.LFB4187:
	.cfi_startproc
	endbr64
	pushq	%rax
	.cfi_def_cfa_offset 16
	popq	%rax
	.cfi_def_cfa_offset 8
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movl	$1, 12(%rsp)
	movl	12(%rsp), %edi
	call	exit@PLT
	.cfi_endproc
.LFE4187:
	.size	_Z8rkckStepdPdPKdS_dS_S_, .-_Z8rkckStepdPdPKdS_dS_S_
	.globl	_Z10rkckDriverddPdPKd
	.type	_Z10rkckDriverddPdPKd, @function
_Z10rkckDriverddPdPKd:
.LFB4188:
	.cfi_startproc
	endbr64
	pushq	%rax
	.cfi_def_cfa_offset 16
	popq	%rax
	.cfi_def_cfa_offset 8
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movl	$1, 12(%rsp)
	movl	12(%rsp), %edi
	call	exit@PLT
	.cfi_endproc
.LFE4188:
	.size	_Z10rkckDriverddPdPKd, .-_Z10rkckDriverddPdPKd
	.globl	_Z34__device_stub__Z9intDriverddiPKdPdddiPKdPd
	.type	_Z34__device_stub__Z9intDriverddiPKdPdddiPKdPd, @function
_Z34__device_stub__Z9intDriverddiPKdPdddiPKdPd:
.LFB4216:
	.cfi_startproc
	endbr64
	subq	$168, %rsp
	.cfi_def_cfa_offset 176
	movl	%edi, 28(%rsp)
	leaq	56(%rsp), %rcx
	leaq	64(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	76(%rsp), %rsi
	movq	%rdx, 8(%rsp)
	leaq	48(%rsp), %rdx
	movsd	%xmm0, 40(%rsp)
	movsd	%xmm1, 32(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 152(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rax
	movl	$1, 72(%rsp)
	movq	%rax, 112(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 120(%rsp)
	leaq	28(%rsp), %rax
	movq	%rax, 128(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 136(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 144(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 64(%rsp)
	movq	%rax, 76(%rsp)
	movl	$1, 84(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L9
	pushq	56(%rsp)
	.cfi_def_cfa_offset 184
	leaq	_Z9intDriverddiPKdPd(%rip), %rdi
	pushq	56(%rsp)
	.cfi_def_cfa_offset 192
	movq	92(%rsp), %rcx
	movl	100(%rsp), %r8d
	movq	80(%rsp), %rsi
	movl	88(%rsp), %edx
	leaq	128(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 184
	popq	%rdx
	.cfi_def_cfa_offset 176
.L9:
	movq	152(%rsp), %rax
	subq	%fs:40, %rax
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	addq	$168, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4216:
	.size	_Z34__device_stub__Z9intDriverddiPKdPdddiPKdPd, .-_Z34__device_stub__Z9intDriverddiPKdPdddiPKdPd
	.globl	_Z9intDriverddiPKdPd
	.type	_Z9intDriverddiPKdPd, @function
_Z9intDriverddiPKdPd:
.LFB4217:
	.cfi_startproc
	endbr64
	jmp	_Z34__device_stub__Z9intDriverddiPKdPdddiPKdPd
	.cfi_endproc
.LFE4217:
	.size	_Z9intDriverddiPKdPd, .-_Z9intDriverddiPKdPd
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"_Z9intDriverddiPKdPd"
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB4219:
	.cfi_startproc
	endbr64
	pushq	%rax
	.cfi_def_cfa_offset 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	.LC0(%rip), %rdx
	movq	%rax, %rdi
	leaq	_Z9intDriverddiPKdPd(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 40
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 48
	movq	%rax, _ZL20__cudaFatCubinHandle(%rip)
	call	__cudaRegisterFunction@PLT
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	call	__cudaRegisterFatBinaryEnd@PLT
	leaq	_ZL26__cudaUnregisterBinaryUtilv(%rip), %rdi
	popq	%rdx
	.cfi_def_cfa_offset 8
	jmp	atexit@PLT
	.cfi_endproc
.LFE4219:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.text._ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev,"axG",@progbits,_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD5Ev,comdat
	.align 2
	.weak	_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev
	.type	_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev, @function
_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev:
.LFB4343:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movq	%rdi, %rbx
	call	__errno_location@PLT
	cmpl	$0, (%rax)
	jne	.L17
	movl	(%rbx), %edx
	movl	%edx, (%rax)
.L17:
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4343:
	.size	_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev, .-_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev
	.weak	_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev
	.set	_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev,_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev
	.section	.rodata.str1.1
.LC1:
	.string	"parameters_3_e2.csv"
.LC2:
	.string	"Reading parameters"
.LC3:
	.string	"Number of samples read > numODE"
.LC4:
	.string	"Number of parameters read > NPAR"
.LC5:
	.string	"stof"
.LC6:
	.string	"Done reading parameters"
	.text
	.globl	_Z16parameter_readerPdi
	.type	_Z16parameter_readerPdi, @function
_Z16parameter_readerPdi:
.LFB4189:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4189
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movq	%rdi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movl	%esi, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$1096, %rsp
	.cfi_def_cfa_offset 1152
	movq	%fs:40, %rax
	movq	%rax, 1080(%rsp)
	xorl	%eax, %eax
	leaq	552(%rsp), %rax
	movq	%rax, %rdi
	movq	%rax, (%rsp)
.LEHB0:
	call	_ZNSt13basic_fstreamIcSt11char_traitsIcEEC1Ev@PLT
.LEHE0:
	movq	(%rsp), %rdi
	movl	$8, %edx
	leaq	.LC1(%rip), %rsi
.LEHB1:
	call	_ZNSt13basic_fstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode@PLT
	leaq	.LC2(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
.LEHE1:
	leaq	80(%rsp), %rax
	xorl	%ecx, %ecx
	xorl	%esi, %esi
	xorl	%edi, %edi
	movq	%rax, 64(%rsp)
	leaq	112(%rsp), %rax
	xorl	%ebx, %ebx
	movq	%rax, 96(%rsp)
	leaq	144(%rsp), %rax
	movq	%rax, 128(%rsp)
	movslq	%ebp, %rax
	salq	$3, %rax
	movq	%rcx, 72(%rsp)
	movq	%rax, 32(%rsp)
	leaq	128(%rsp), %rax
	movb	$0, 80(%rsp)
	movq	%rsi, 104(%rsp)
	movb	$0, 112(%rsp)
	movq	%rdi, 136(%rsp)
	movb	$0, 144(%rsp)
	movq	%rax, 8(%rsp)
.L21:
	movq	8(%rsp), %rsi
	movq	(%rsp), %rdi
	leaq	96(%rsp), %rax
	movq	%rax, 16(%rsp)
.LEHB2:
	call	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movq	(%rax), %rdx
	movq	-24(%rdx), %rdx
	testb	$5, 32(%rax,%rdx)
	jne	.L34
	cmpl	%ebx, %ebp
	jge	.L22
	leaq	.LC3(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	jmp	.L34
.L22:
	movq	8(%rsp), %rsi
	leaq	160(%rsp), %rdi
	movl	$24, %edx
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode@PLT
.LEHE2:
	leaq	160(%rsp), %rax
	leaq	(%r12,%rbx,8), %r14
	movl	$4, %r13d
	movq	%rax, 24(%rsp)
.L24:
	movq	16(%rsp), %rsi
	movq	24(%rsp), %rdi
	movl	$44, %edx
.LEHB3:
	call	_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EES4_@PLT
	movq	(%rax), %rdx
	movq	-24(%rdx), %rdx
	testb	$5, 32(%rax,%rdx)
	jne	.L33
	decl	%r13d
	jne	.L25
	leaq	.LC4(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
.LEHE3:
.L33:
	movq	24(%rsp), %rdi
	incq	%rbx
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev@PLT
	jmp	.L21
.L25:
	call	__errno_location@PLT
	movq	96(%rsp), %r15
	leaq	56(%rsp), %rsi
	movl	(%rax), %edx
	movq	%rax, 40(%rsp)
	movq	%r15, %rdi
	movl	%edx, 52(%rsp)
	xorl	%edx, %edx
	movl	%edx, (%rax)
	call	strtof@PLT
	cmpq	56(%rsp), %r15
	movq	40(%rsp), %rax
	leaq	52(%rsp), %r15
	jne	.L26
	movq	1080(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L44
	leaq	.LC5(%rip), %rdi
.LEHB4:
	call	_ZSt24__throw_invalid_argumentPKc@PLT
.L26:
	cmpl	$34, (%rax)
	jne	.L28
	movq	1080(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L44
	leaq	.LC5(%rip), %rdi
	call	_ZSt20__throw_out_of_rangePKc@PLT
.LEHE4:
.L28:
	movq	%r15, %rdi
	movss	%xmm0, 40(%rsp)
	call	_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev
	movss	40(%rsp), %xmm0
	movq	32(%rsp), %rax
	cvtss2sd	%xmm0, %xmm0
	movsd	%xmm0, (%r14)
	addq	%rax, %r14
	jmp	.L24
.L43:
	endbr64
	movq	%rax, %rbx
.L30:
	movq	%r15, %rdi
	call	_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev
	jmp	.L31
.L34:
	movq	(%rsp), %rdi
.LEHB5:
	call	_ZNSt13basic_fstreamIcSt11char_traitsIcEE5closeEv@PLT
	leaq	.LC6(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
.LEHE5:
	movq	8(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	16(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	leaq	64(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	(%rsp), %rdi
	call	_ZNSt13basic_fstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	1080(%rsp), %rax
	subq	%fs:40, %rax
	je	.L39
	jmp	.L44
.L41:
	endbr64
	movq	%rax, %rbx
.L31:
	leaq	160(%rsp), %rdi
	call	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev@PLT
	jmp	.L36
.L42:
	endbr64
	movq	%rax, %rbx
.L36:
	movq	8(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	16(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	leaq	64(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L37
.L40:
	endbr64
	movq	%rax, %rbx
.L37:
	movq	(%rsp), %rdi
	call	_ZNSt13basic_fstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	1080(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L44
	movq	%rbx, %rdi
.LEHB6:
	call	_Unwind_Resume@PLT
.LEHE6:
.L44:
	call	__stack_chk_fail@PLT
.L39:
	addq	$1096, %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
.LFE4189:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table,"a",@progbits
.LLSDA4189:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4189-.LLSDACSB4189
.LLSDACSB4189:
	.uleb128 .LEHB0-.LFB4189
	.uleb128 .LEHE0-.LEHB0
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB1-.LFB4189
	.uleb128 .LEHE1-.LEHB1
	.uleb128 .L40-.LFB4189
	.uleb128 0
	.uleb128 .LEHB2-.LFB4189
	.uleb128 .LEHE2-.LEHB2
	.uleb128 .L42-.LFB4189
	.uleb128 0
	.uleb128 .LEHB3-.LFB4189
	.uleb128 .LEHE3-.LEHB3
	.uleb128 .L41-.LFB4189
	.uleb128 0
	.uleb128 .LEHB4-.LFB4189
	.uleb128 .LEHE4-.LEHB4
	.uleb128 .L43-.LFB4189
	.uleb128 0
	.uleb128 .LEHB5-.LFB4189
	.uleb128 .LEHE5-.LEHB5
	.uleb128 .L42-.LFB4189
	.uleb128 0
	.uleb128 .LEHB6-.LFB4189
	.uleb128 .LEHE6-.LEHB6
	.uleb128 0
	.uleb128 0
.LLSDACSE4189:
	.text
	.size	_Z16parameter_readerPdi, .-_Z16parameter_readerPdi
	.section	.text._ZNSt6vectorIdSaIdEED2Ev,"axG",@progbits,_ZNSt6vectorIdSaIdEED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIdSaIdEED2Ev
	.type	_ZNSt6vectorIdSaIdEED2Ev, @function
_ZNSt6vectorIdSaIdEED2Ev:
.LFB4572:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L47
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L47:
	ret
	.cfi_endproc
.LFE4572:
	.size	_ZNSt6vectorIdSaIdEED2Ev, .-_ZNSt6vectorIdSaIdEED2Ev
	.weak	_ZNSt6vectorIdSaIdEED1Ev
	.set	_ZNSt6vectorIdSaIdEED1Ev,_ZNSt6vectorIdSaIdEED2Ev
	.section	.text._ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EED2Ev,"axG",@progbits,_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EED5Ev,comdat
	.align 2
	.weak	_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EED2Ev
	.type	_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EED2Ev, @function
_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EED2Ev:
.LFB4815:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L49
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L49:
	ret
	.cfi_endproc
.LFE4815:
	.size	_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EED2Ev, .-_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EED2Ev
	.weak	_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EED1Ev
	.set	_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EED1Ev,_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EED2Ev
	.section	.text._ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev,"axG",@progbits,_ZNSt6vectorIS_IdSaIdEESaIS1_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev
	.type	_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev, @function
_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev:
.LFB4584:
	.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
.L52:
	cmpq	%rbp, %r12
	je	.L55
	movq	%rbp, %rdi
	addq	$24, %rbp
	call	_ZNSt6vectorIdSaIdEED1Ev
	jmp	.L52
.L55:
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	jmp	_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EED2Ev
	.cfi_endproc
.LFE4584:
	.size	_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev, .-_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev
	.weak	_ZNSt6vectorIS_IdSaIdEESaIS1_EED1Ev
	.set	_ZNSt6vectorIS_IdSaIdEESaIS1_EED1Ev,_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev
	.section	.text._ZNSt12_Vector_baseISt6vectorIS0_IdSaIdEESaIS2_EESaIS4_EED2Ev,"axG",@progbits,_ZNSt12_Vector_baseISt6vectorIS0_IdSaIdEESaIS2_EESaIS4_EED5Ev,comdat
	.align 2
	.weak	_ZNSt12_Vector_baseISt6vectorIS0_IdSaIdEESaIS2_EESaIS4_EED2Ev
	.type	_ZNSt12_Vector_baseISt6vectorIS0_IdSaIdEESaIS2_EESaIS4_EED2Ev, @function
_ZNSt12_Vector_baseISt6vectorIS0_IdSaIdEESaIS2_EESaIS4_EED2Ev:
.LFB4834:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L56
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L56:
	ret
	.cfi_endproc
.LFE4834:
	.size	_ZNSt12_Vector_baseISt6vectorIS0_IdSaIdEESaIS2_EESaIS4_EED2Ev, .-_ZNSt12_Vector_baseISt6vectorIS0_IdSaIdEESaIS2_EESaIS4_EED2Ev
	.weak	_ZNSt12_Vector_baseISt6vectorIS0_IdSaIdEESaIS2_EESaIS4_EED1Ev
	.set	_ZNSt12_Vector_baseISt6vectorIS0_IdSaIdEESaIS2_EESaIS4_EED1Ev,_ZNSt12_Vector_baseISt6vectorIS0_IdSaIdEESaIS2_EESaIS4_EED2Ev
	.section	.text._ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EED2Ev,"axG",@progbits,_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EED2Ev
	.type	_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EED2Ev, @function
_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EED2Ev:
.LFB4596:
	.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
.L59:
	cmpq	%rbp, %r12
	je	.L62
	movq	%rbp, %rdi
	addq	$24, %rbp
	call	_ZNSt6vectorIS_IdSaIdEESaIS1_EED1Ev
	jmp	.L59
.L62:
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	jmp	_ZNSt12_Vector_baseISt6vectorIS0_IdSaIdEESaIS2_EESaIS4_EED2Ev
	.cfi_endproc
.LFE4596:
	.size	_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EED2Ev, .-_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EED2Ev
	.weak	_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EED1Ev
	.set	_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EED1Ev,_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EED2Ev
	.section	.text._ZNSt12_Vector_baseIdSaIdEE17_M_create_storageEm,"axG",@progbits,_ZNSt12_Vector_baseIdSaIdEE17_M_create_storageEm,comdat
	.align 2
	.weak	_ZNSt12_Vector_baseIdSaIdEE17_M_create_storageEm
	.type	_ZNSt12_Vector_baseIdSaIdEE17_M_create_storageEm, @function
_ZNSt12_Vector_baseIdSaIdEE17_M_create_storageEm:
.LFB4957:
	.cfi_startproc
	endbr64
	testq	%rsi, %rsi
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	0(,%rsi,8), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rdi, %rbx
	pushq	%rdx
	.cfi_def_cfa_offset 32
	je	.L67
	movabsq	$1152921504606846975, %rax
	cmpq	%rsi, %rax
	jnb	.L65
	movabsq	$2305843009213693951, %rax
	cmpq	%rsi, %rax
	jnb	.L66
	call	_ZSt28__throw_bad_array_new_lengthv@PLT
.L66:
	call	_ZSt17__throw_bad_allocv@PLT
.L65:
	movq	%rbp, %rdi
	call	_Znwm@PLT
	jmp	.L64
.L67:
	xorl	%eax, %eax
.L64:
	movq	%rax, (%rbx)
	movq	%rax, 8(%rbx)
	addq	%rbp, %rax
	movq	%rax, 16(%rbx)
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4957:
	.size	_ZNSt12_Vector_baseIdSaIdEE17_M_create_storageEm, .-_ZNSt12_Vector_baseIdSaIdEE17_M_create_storageEm
	.section	.text._ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EE17_M_create_storageEm,"axG",@progbits,_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EE17_M_create_storageEm,comdat
	.align 2
	.weak	_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EE17_M_create_storageEm
	.type	_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EE17_M_create_storageEm, @function
_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EE17_M_create_storageEm:
.LFB4969:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rsi, %rbx
	pushq	%rdx
	.cfi_def_cfa_offset 32
	testq	%rsi, %rsi
	je	.L73
	movabsq	$384307168202282325, %rax
	cmpq	%rsi, %rax
	jnb	.L71
	movabsq	$768614336404564650, %rax
	cmpq	%rsi, %rax
	jnb	.L72
	call	_ZSt28__throw_bad_array_new_lengthv@PLT
.L72:
	call	_ZSt17__throw_bad_allocv@PLT
.L71:
	imulq	$24, %rsi, %rdi
	call	_Znwm@PLT
	jmp	.L70
.L73:
	xorl	%eax, %eax
.L70:
	imulq	$24, %rbx, %rbx
	movq	%rax, 0(%rbp)
	movq	%rax, 8(%rbp)
	addq	%rbx, %rax
	movq	%rax, 16(%rbp)
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4969:
	.size	_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EE17_M_create_storageEm, .-_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EE17_M_create_storageEm
	.section	.text._ZNSt6vectorIdSaIdEEC2ERKS1_,"axG",@progbits,_ZNSt6vectorIdSaIdEEC5ERKS1_,comdat
	.align 2
	.weak	_ZNSt6vectorIdSaIdEEC2ERKS1_
	.type	_ZNSt6vectorIdSaIdEEC2ERKS1_, @function
_ZNSt6vectorIdSaIdEEC2ERKS1_:
.LFB5147:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xorl	%ecx, %ecx
	movq	%rsi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rdi, %rbx
	pushq	%rdx
	.cfi_def_cfa_offset 32
	movq	8(%rsi), %rsi
	subq	0(%rbp), %rsi
	movq	%rcx, (%rdi)
	movq	%rcx, 8(%rdi)
	sarq	$3, %rsi
	movq	%rcx, 16(%rdi)
	call	_ZNSt12_Vector_baseIdSaIdEE17_M_create_storageEm
	movq	0(%rbp), %rsi
	movq	8(%rbp), %rbp
	movq	(%rbx), %rcx
	subq	%rsi, %rbp
	cmpq	$8, %rbp
	jle	.L76
	movq	%rcx, %rdi
	movq	%rbp, %rdx
	call	memmove@PLT
	movq	%rax, %rcx
	jmp	.L77
.L76:
	jne	.L77
	movsd	(%rsi), %xmm0
	movsd	%xmm0, (%rcx)
.L77:
	addq	%rbp, %rcx
	movq	%rcx, 8(%rbx)
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5147:
	.size	_ZNSt6vectorIdSaIdEEC2ERKS1_, .-_ZNSt6vectorIdSaIdEEC2ERKS1_
	.weak	_ZNSt6vectorIdSaIdEEC1ERKS1_
	.set	_ZNSt6vectorIdSaIdEEC1ERKS1_,_ZNSt6vectorIdSaIdEEC2ERKS1_
	.section	.text._ZSt18__do_uninit_fill_nIPSt6vectorIS0_IdSaIdEESaIS2_EEmS4_ET_S6_T0_RKT1_,"axG",@progbits,_ZSt18__do_uninit_fill_nIPSt6vectorIS0_IdSaIdEESaIS2_EEmS4_ET_S6_T0_RKT1_,comdat
	.weak	_ZSt18__do_uninit_fill_nIPSt6vectorIS0_IdSaIdEESaIS2_EEmS4_ET_S6_T0_RKT1_
	.type	_ZSt18__do_uninit_fill_nIPSt6vectorIS0_IdSaIdEESaIS2_EEmS4_ET_S6_T0_RKT1_, @function
_ZSt18__do_uninit_fill_nIPSt6vectorIS0_IdSaIdEESaIS2_EEmS4_ET_S6_T0_RKT1_:
.LFB5135:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA5135
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movq	%rdx, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rdi, %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	%rsi, (%rsp)
.L80:
	cmpq	$0, (%rsp)
	je	.L98
	movq	8(%r12), %rsi
	subq	(%r12), %rsi
	movq	%rbx, %rdi
	movabsq	$-6148914691236517205, %rax
	sarq	$3, %rsi
	imulq	%rax, %rsi
	xorl	%eax, %eax
	movq	%rax, (%rbx)
	movq	%rax, 8(%rbx)
	movq	%rax, 16(%rbx)
.LEHB7:
	call	_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EE17_M_create_storageEm
.LEHE7:
	movq	8(%r12), %rax
	movq	(%rbx), %r13
	movq	(%r12), %r15
	movq	%rax, 8(%rsp)
	movq	%r13, %r14
.L81:
	cmpq	%r15, 8(%rsp)
	je	.L99
	movq	%r15, %rsi
	movq	%r14, %rdi
.LEHB8:
	call	_ZNSt6vectorIdSaIdEEC1ERKS1_
.LEHE8:
	addq	$24, %r14
	addq	$24, %r15
	jmp	.L81
.L99:
	movq	%r14, 8(%rbx)
	addq	$24, %rbx
	decq	(%rsp)
	jmp	.L80
.L95:
	endbr64
	movq	%rax, %rdi
.L83:
	call	__cxa_begin_catch@PLT
.L84:
	cmpq	%r13, %r14
	je	.L100
	movq	%r13, %rdi
	addq	$24, %r13
	call	_ZNSt6vectorIdSaIdEED1Ev
	jmp	.L84
.L100:
.LEHB9:
	call	__cxa_rethrow@PLT
.LEHE9:
.L94:
	endbr64
	movq	%rax, %r12
.L86:
	call	__cxa_end_catch@PLT
	movq	%rbx, %rdi
	call	_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EED2Ev
	movq	%r12, %rdi
	jmp	.L87
.L92:
	endbr64
	movq	%rax, %rdi
.L87:
	call	__cxa_begin_catch@PLT
.L89:
	cmpq	%rbp, %rbx
	je	.L101
	movq	%rbp, %rdi
	addq	$24, %rbp
	call	_ZNSt6vectorIS_IdSaIdEESaIS1_EED1Ev
	jmp	.L89
.L101:
.LEHB10:
	call	__cxa_rethrow@PLT
.LEHE10:
.L93:
	endbr64
	movq	%rax, %rbx
.L91:
	call	__cxa_end_catch@PLT
	movq	%rbx, %rdi
.LEHB11:
	call	_Unwind_Resume@PLT
.LEHE11:
.L98:
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	movq	%rbx, %rax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5135:
	.section	.gcc_except_table
	.align 4
.LLSDA5135:
	.byte	0xff
	.byte	0x9b
	.uleb128 .LLSDATT5135-.LLSDATTD5135
.LLSDATTD5135:
	.byte	0x1
	.uleb128 .LLSDACSE5135-.LLSDACSB5135
.LLSDACSB5135:
	.uleb128 .LEHB7-.LFB5135
	.uleb128 .LEHE7-.LEHB7
	.uleb128 .L92-.LFB5135
	.uleb128 0x1
	.uleb128 .LEHB8-.LFB5135
	.uleb128 .LEHE8-.LEHB8
	.uleb128 .L95-.LFB5135
	.uleb128 0x1
	.uleb128 .LEHB9-.LFB5135
	.uleb128 .LEHE9-.LEHB9
	.uleb128 .L94-.LFB5135
	.uleb128 0x3
	.uleb128 .LEHB10-.LFB5135
	.uleb128 .LEHE10-.LEHB10
	.uleb128 .L93-.LFB5135
	.uleb128 0
	.uleb128 .LEHB11-.LFB5135
	.uleb128 .LEHE11-.LEHB11
	.uleb128 0
	.uleb128 0
.LLSDACSE5135:
	.byte	0x1
	.byte	0
	.byte	0
	.byte	0x7d
	.align 4
	.long	0

.LLSDATT5135:
	.section	.text._ZSt18__do_uninit_fill_nIPSt6vectorIS0_IdSaIdEESaIS2_EEmS4_ET_S6_T0_RKT1_,"axG",@progbits,_ZSt18__do_uninit_fill_nIPSt6vectorIS0_IdSaIdEESaIS2_EEmS4_ET_S6_T0_RKT1_,comdat
	.size	_ZSt18__do_uninit_fill_nIPSt6vectorIS0_IdSaIdEESaIS2_EEmS4_ET_S6_T0_RKT1_, .-_ZSt18__do_uninit_fill_nIPSt6vectorIS0_IdSaIdEESaIS2_EEmS4_ET_S6_T0_RKT1_
	.section	.rodata.str1.1
.LC10:
	.string	"GPU kernel calls started"
.LC11:
	.string	"Progress:\t"
.LC14:
	.string	" %"
.LC16:
	.string	"!\n!\n!\nDone!!!"
.LC17:
	.string	"GPU execution took "
.LC18:
	.string	" seconds to execute."
.LC19:
	.string	"Printing files to RKCK_parallel_out.csv"
.LC20:
	.string	" x "
.LC21:
	.string	"RKCK_parallel_out.csv"
.LC22:
	.string	","
.LC23:
	.string	"Writing file took "
.LC24:
	.string	" seconds."
	.section	.text.startup
	.globl	main
	.type	main, @function
main:
.LFB4191:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4191
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$2400, %edi
	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	$648, %rsp
	.cfi_def_cfa_offset 704
	movq	%fs:40, %rax
	movq	%rax, 632(%rsp)
	xorl	%eax, %eax
	call	malloc@PLT
	movsd	.LC9(%rip), %xmm0
	movq	%rax, %rbp
	xorl	%eax, %eax
.L103:
	movsd	%xmm0, 0(%rbp,%rax,8)
	movsd	%xmm0, 800(%rbp,%rax,8)
	movsd	%xmm0, 1600(%rbp,%rax,8)
	incq	%rax
	cmpq	$100, %rax
	jne	.L103
	movl	$2400, %edi
	leaq	96(%rsp), %r12
	call	malloc@PLT
	movl	$100, %esi
	movq	%rax, %rdi
	movq	%rax, %r14
.LEHB12:
	call	_Z16parameter_readerPdi
	movl	$2147483649, %eax
	xorl	%edx, %edx
	movl	$3, %esi
	addq	%rax, %rax
	movl	$1, 28(%rsp)
	movq	%rax, 36(%rsp)
	leaq	72(%rsp), %rax
	movq	%rax, %rdi
	movq	%rax, (%rsp)
	movl	$1, 32(%rsp)
	movl	$1, 44(%rsp)
	movq	%rdx, 72(%rsp)
	movq	%rdx, 80(%rsp)
	movq	%rdx, 88(%rsp)
	call	_ZNSt12_Vector_baseIdSaIdEE17_M_create_storageEm
.LEHE12:
	movq	72(%rsp), %rax
	xorl	%ecx, %ecx
	movq	%r12, %rdi
	movl	$11, %esi
	movq	$0x000000000, (%rax)
	addq	$24, %rax
	movq	$0x000000000, -16(%rax)
	movq	$0x000000000, -8(%rax)
	movq	%rax, 80(%rsp)
	movq	%rcx, 96(%rsp)
	movq	%rcx, 104(%rsp)
	movq	%rcx, 112(%rsp)
.LEHB13:
	call	_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EE17_M_create_storageEm
.LEHE13:
	movq	96(%rsp), %rbx
	leaq	264(%rbx), %r15
	movq	%rbx, %r13
.L104:
	movq	(%rsp), %rsi
	movq	%r13, %rdi
.LEHB14:
	call	_ZNSt6vectorIdSaIdEEC1ERKS1_
.LEHE14:
	addq	$24, %r13
	cmpq	%r13, %r15
	jne	.L104
	xorl	%eax, %eax
	movl	$2400, %edi
	movq	%r15, 104(%rsp)
	movq	%rax, 56(%rsp)
	movq	%rax, 64(%rsp)
.LEHB15:
	call	_Znwm@PLT
.LEHE15:
	movq	%rax, %rbx
	movq	%rax, 48(%rsp)
	movq	%r12, %rdx
	movl	$100, %esi
	movq	%rax, 56(%rsp)
	movq	%rbx, %rdi
	leaq	2400(%rax), %rax
	movq	%rax, 64(%rsp)
.LEHB16:
	call	_ZSt18__do_uninit_fill_nIPSt6vectorIS0_IdSaIdEESaIS2_EEmS4_ET_S6_T0_RKT1_
.LEHE16:
	jmp	.L151
.L138:
	endbr64
	movq	%rax, %rdi
.L106:
	call	__cxa_begin_catch@PLT
.L107:
	cmpq	%r13, %rbx
	je	.L152
	movq	%rbx, %rdi
	addq	$24, %rbx
	call	_ZNSt6vectorIdSaIdEED1Ev
	jmp	.L107
.L152:
	movq	632(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L147
.LEHB17:
	call	__cxa_rethrow@PLT
.LEHE17:
.L137:
	endbr64
	movq	%rax, %rbx
.L110:
	call	__cxa_end_catch@PLT
	movq	%r12, %rdi
	call	_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EED2Ev
	jmp	.L111
.L151:
	movq	%r12, %rdi
	movq	%rax, 56(%rsp)
	call	_ZNSt6vectorIS_IdSaIdEESaIS1_EED1Ev
	movq	(%rsp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	call	clock@PLT
	movq	(%rsp), %rdi
	movl	$2400, %esi
	movq	%rax, %r13
.LEHB18:
	call	cudaMalloc@PLT
	jmp	.L153
.L139:
	endbr64
	movq	%rax, %rbx
.L113:
	leaq	48(%rsp), %rdi
	call	_ZNSt12_Vector_baseISt6vectorIS0_IdSaIdEESaIS2_EESaIS4_EED2Ev
	jmp	.L114
.L153:
	movl	$2400, %esi
	movq	%r12, %rdi
	call	cudaMalloc@PLT
	movq	96(%rsp), %rdi
	movl	$1, %ecx
	movl	$2400, %edx
	movq	%r14, %rsi
	call	cudaMemcpy@PLT
	movq	72(%rsp), %rdi
	movl	$1, %ecx
	movl	$2400, %edx
	movq	%rbp, %rsi
	call	cudaMemcpy@PLT
	xorl	%eax, %eax
.L115:
	imulq	$24, %rax, %rdx
	movsd	0(%rbp,%rax,8), %xmm0
	movq	(%rbx,%rdx), %rdx
	movq	(%rdx), %rdx
	movsd	%xmm0, (%rdx)
	movsd	800(%rbp,%rax,8), %xmm0
	movsd	%xmm0, 8(%rdx)
	movsd	1600(%rbp,%rax,8), %xmm0
	incq	%rax
	movsd	%xmm0, 16(%rdx)
	cmpq	$100, %rax
	jne	.L115
	leaq	.LC10(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movl	$24, %r14d
	movsd	.LC7(%rip), %xmm2
	xorl	%r12d, %r12d
	movq	$0x000000000, 8(%rsp)
	leaq	.LC11(%rip), %r15
	movsd	%xmm2, (%rsp)
.L119:
	movl	32(%rsp), %ecx
	movq	36(%rsp), %rdi
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	$64, 24(%rsp)
	movl	44(%rsp), %esi
	movq	24(%rsp), %rdx
	call	__cudaPushCallConfiguration@PLT
	movq	72(%rsp), %rdx
	testl	%eax, %eax
	jne	.L116
	movq	96(%rsp), %rsi
	movsd	(%rsp), %xmm1
	movl	$100, %edi
	movsd	8(%rsp), %xmm0
	call	_Z34__device_stub__Z9intDriverddiPKdPdddiPKdPd
.L116:
	movq	72(%rsp), %rsi
	movl	$2, %ecx
	movl	$2400, %edx
	movq	%rbp, %rdi
	call	cudaMemcpy@PLT
	incl	%r12d
	movl	$10, %ecx
	movl	%r12d, %eax
	cltd
	idivl	%ecx
	testl	%edx, %edx
	jne	.L117
	movq	%r15, %rsi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	cvtsi2sdl	%r12d, %xmm0
	mulsd	.LC12(%rip), %xmm0
	movq	%rax, %rdi
	divsd	.LC13(%rip), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC14(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
.L117:
	xorl	%eax, %eax
.L118:
	imulq	$24, %rax, %rdx
	movsd	0(%rbp,%rax,8), %xmm0
	movq	(%rbx,%rdx), %rdx
	movq	(%rdx,%r14), %rdx
	movsd	%xmm0, (%rdx)
	movsd	800(%rbp,%rax,8), %xmm0
	movsd	%xmm0, 8(%rdx)
	movsd	1600(%rbp,%rax,8), %xmm0
	incq	%rax
	movsd	%xmm0, 16(%rdx)
	cmpq	$100, %rax
	jne	.L118
	movsd	(%rsp), %xmm4
	movsd	.LC7(%rip), %xmm0
	addq	$24, %r14
	addsd	(%rsp), %xmm0
	movsd	%xmm4, 8(%rsp)
	cmpl	$10, %r12d
	je	.L154
	movsd	%xmm0, (%rsp)
	jmp	.L119
.L154:
	call	clock@PLT
	cvtsi2sdq	%r13, %xmm1
	leaq	.LC16(%rip), %rsi
	cvtsi2sdq	%rax, %xmm0
	leaq	_ZSt4cout(%rip), %rdi
	subsd	%xmm1, %xmm0
	divsd	.LC15(%rip), %xmm0
	movq	%xmm0, %rbp
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	.LC17(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	%rbp, %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC18(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	96(%rsp), %rdi
	call	cudaFree@PLT
	movq	72(%rsp), %rdi
	call	cudaFree@PLT
	leaq	.LC19(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movl	$100, %esi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZNSolsEi@PLT
	leaq	.LC20(%rip), %rbp
	movq	%rax, %rdi
	movq	%rbp, %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	$11, %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	movq	%rbp, %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	$3, %esi
	call	_ZNSolsEi@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	call	clock@PLT
	movq	%rax, %r13
	leaq	120(%rsp), %rax
	movq	%rax, %rdi
	movq	%rax, (%rsp)
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev@PLT
.LEHE18:
	movq	(%rsp), %rdi
	movl	$16, %edx
	leaq	.LC21(%rip), %rsi
.LEHB19:
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode@PLT
	leaq	2400(%rbx), %r14
	leaq	.LC22(%rip), %r15
.L120:
	xorl	%ebp, %ebp
.L126:
	xorl	%r12d, %r12d
.L123:
	movq	(%rbx), %rax
	movq	(%rsp), %rdi
	movq	(%rax,%rbp), %rax
	movsd	(%rax,%r12), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	cmpq	$16, %r12
	jne	.L121
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	(%rsp), %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	jmp	.L155
.L121:
	movq	(%rsp), %rdi
	movq	%r15, %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	addq	$8, %r12
	jmp	.L123
.L155:
	addq	$24, %rbp
	cmpq	$264, %rbp
	jne	.L126
	addq	$24, %rbx
	cmpq	%rbx, %r14
	jne	.L120
	movq	(%rsp), %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv@PLT
	call	clock@PLT
	cvtsi2sdq	%r13, %xmm1
	leaq	.LC23(%rip), %rsi
	cvtsi2sdq	%rax, %xmm0
	leaq	_ZSt4cout(%rip), %rdi
	subsd	%xmm1, %xmm0
	divsd	.LC15(%rip), %xmm0
	movq	%xmm0, %rbx
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	%rbx, %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@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.isra.0
.LEHE19:
	movq	(%rsp), %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	leaq	48(%rsp), %rdi
	call	_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EED1Ev
	movq	632(%rsp), %rax
	subq	%fs:40, %rax
	je	.L131
	jmp	.L147
.L134:
	endbr64
	movq	%rax, %rbx
.L114:
	movq	%r12, %rdi
	call	_ZNSt6vectorIS_IdSaIdEESaIS1_EED1Ev
	jmp	.L111
.L133:
	endbr64
	movq	%rax, %rbx
.L111:
	movq	(%rsp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	jmp	.L150
.L136:
	endbr64
	movq	%rax, %rbx
.L128:
	movq	(%rsp), %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	jmp	.L129
.L135:
	endbr64
	movq	%rax, %rbx
.L129:
	leaq	48(%rsp), %rdi
	call	_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EED1Ev
.L150:
	movq	632(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L147
	movq	%rbx, %rdi
.LEHB20:
	call	_Unwind_Resume@PLT
.LEHE20:
.L147:
	call	__stack_chk_fail@PLT
.L131:
	addq	$648, %rsp
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4191:
	.section	.gcc_except_table
	.align 4
.LLSDA4191:
	.byte	0xff
	.byte	0x9b
	.uleb128 .LLSDATT4191-.LLSDATTD4191
.LLSDATTD4191:
	.byte	0x1
	.uleb128 .LLSDACSE4191-.LLSDACSB4191
.LLSDACSB4191:
	.uleb128 .LEHB12-.LFB4191
	.uleb128 .LEHE12-.LEHB12
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB13-.LFB4191
	.uleb128 .LEHE13-.LEHB13
	.uleb128 .L133-.LFB4191
	.uleb128 0
	.uleb128 .LEHB14-.LFB4191
	.uleb128 .LEHE14-.LEHB14
	.uleb128 .L138-.LFB4191
	.uleb128 0x1
	.uleb128 .LEHB15-.LFB4191
	.uleb128 .LEHE15-.LEHB15
	.uleb128 .L134-.LFB4191
	.uleb128 0
	.uleb128 .LEHB16-.LFB4191
	.uleb128 .LEHE16-.LEHB16
	.uleb128 .L139-.LFB4191
	.uleb128 0
	.uleb128 .LEHB17-.LFB4191
	.uleb128 .LEHE17-.LEHB17
	.uleb128 .L137-.LFB4191
	.uleb128 0
	.uleb128 .LEHB18-.LFB4191
	.uleb128 .LEHE18-.LEHB18
	.uleb128 .L135-.LFB4191
	.uleb128 0
	.uleb128 .LEHB19-.LFB4191
	.uleb128 .LEHE19-.LEHB19
	.uleb128 .L136-.LFB4191
	.uleb128 0
	.uleb128 .LEHB20-.LFB4191
	.uleb128 .LEHE20-.LEHB20
	.uleb128 0
	.uleb128 0
.LLSDACSE4191:
	.byte	0x1
	.byte	0
	.align 4
	.long	0

.LLSDATT4191:
	.section	.text.startup
	.size	main, .-main
	.section	.nvFatBinSegment,"aw"
	.align 8
	.type	_ZL15__fatDeviceText, @object
	.size	_ZL15__fatDeviceText, 24
_ZL15__fatDeviceText:
	.long	1180844977
	.long	1
	.quad	fatbinData
	.quad	0
	.local	_ZL20__cudaFatCubinHandle
	.comm	_ZL20__cudaFatCubinHandle,8,8
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC7:
	.long	0
	.long	1076101120
	.align 8
.LC9:
	.long	0
	.long	1071644672
	.align 8
.LC12:
	.long	0
	.long	1079574528
	.align 8
.LC13:
	.long	0
	.long	1076232192
	.align 8
.LC15:
	.long	0
	.long	1093567616
	.hidden	DW.ref.__gxx_personality_v0
	.weak	DW.ref.__gxx_personality_v0
	.section	.data.rel.local.DW.ref.__gxx_personality_v0,"awG",@progbits,DW.ref.__gxx_personality_v0,comdat
	.align 8
	.type	DW.ref.__gxx_personality_v0, @object
	.size	DW.ref.__gxx_personality_v0, 8
DW.ref.__gxx_personality_v0:
	.quad	__gxx_personality_v0
	.ident	"GCC: (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

// source : https://arxiv.org/pdf/1611.02274.pdf

#include <hip/hip_runtime.h>
#include <stdio.h>
#include <vector>
#include <iostream>
#include <time.h>
#include <fstream>
#include <sstream>
using namespace std;

// NEQN - number of ODEs in a system
#define NEQN 3
// NPAR - number of parameters
#define NPAR 3
// THREADS - total number of threads
#define THREADS int(1e2)
// REPSET - number of unique threads repeated
#define REPSET int(1e2)
// constants used in the integrations
#define UROUND (2.22e-16)
#define SAFETY 0.9
#define PGROW (-0.2)
#define PSHRNK (-0.25)
#define ERRCON (1.89e-4)
#define TINY (1.0e-30)
#define P1 0.1

// change parameter file accordingly in parameter_reader function


// function dydt is where the equations are defined. 

// h*derivative -> F
__device__ void dydt(double t, double* y,
 const double* g, double* F, double h){
	F[0] = h * (g[0] * (y[1] - y[0]));
	F[1] = h * (y[0] * (g[1] - y[2]) - y[1]);
	F[2] = h * (y[0] * y[1] - g[2] * y[2]);
}

// functions rkckStep, rkckDriver and intDriver does the integration.
// change function call to appropriate rkcDriver functions in the intDriver function

__device__ void rkckStep(double t, double* y,
	const double* g, double* F, double h,
	double* yTemp, double* yErr){

	// constant values from paper RKCK
	double a[6] = {0.0, 0.2, 0.3, 0.6, 1.0, 0.875};
	double b1[1] = {0.2};
	double b2[2] = {3.0/40, 9.0/40};
	double b3[3] = {3.0/10, -9.0/10, 6.0/5};
	double b4[4] = {-11.0/54, 5.0/2, -70.0/27, 35.0/27};
	double b5[5] = {1631.0/55296, 175.0/512, 575.0/13824, 44275.0/110592, 253.0/4096};
	double c[6] = {37.0/378, 0.0, 250.0/621, 125.0/594, 0.0, 512.0/1771};
	double cs[6] = {2825.0/27648, 0.0, 18575.0/48384, 13525.0/55296, 277.0/14336, 0.25};

	double tmp[NEQN];
	
	double k1[NEQN];
	dydt(t, y, g, k1, h);
	
	double k2[NEQN];
	for(int i = 0; i < NEQN; ++i){
		tmp[i] = b1[0] * k1[i] + y[i];
	}
	dydt(t + a[1] * h, tmp, g, k2, h);
	
	double k3[NEQN];
	for(int i = 0; i < NEQN; ++i){
		tmp[i] = b2[0] * k1[i] + b2[1] * k2[i] + y[i];
	}
	dydt(t + a[2] * h, tmp, g, k3, h);

	double k4[NEQN];
	for(int i = 0; i < NEQN; ++i){
		tmp[i] = b3[0] * k1[i] + b3[1] * k2[i] + b3[2] * k3[i] + y[i];
	}
	dydt(t + a[3] * h, tmp, g, k4, h);

	double k5[NEQN];
	for(int i = 0; i < NEQN; ++i){
		tmp[i] = b4[0] * k1[i] + b4[1] * k2[i] + b4[2] * k3[i] + b4[3] * k4[i] + y[i];
	}
	dydt(t + a[4] * h, tmp, g, k5, h);

	double k6[NEQN];
	for(int i = 0; i < NEQN; ++i){
		tmp[i] = b5[0] * k1[i] + b5[1] * k2[i] + b5[2] * k3[i] + b5[3] * k4[i] + b5[4] * k5[i] + y[i];
	}
	dydt(t + a[5] * h, tmp, g, k6, h);

	for(int i = 0; i < NEQN; ++i){
		yTemp[i] = y[i] + c[0] * k1[i] + c[1] * k2[i] + c[2] * k3[i] + c[3] * k4[i] + c[4] * k5[i] + c[5] * k6[i];
		yErr[i] = yTemp[i] - (y[i] + cs[0] * k1[i] + cs[1] * k2[i] + cs[2] * k3[i] + cs[3] * k4[i] + cs[4] * k5[i] + cs[5] * k6[i]);
	}
}


__device__ void rkckDriver(double t, const double tEnd, 
	double* y, const double* g){
	// max and min step size
	const double hMax = fabs(tEnd - t);
	const double hMin = 1.0e-20;
	const double eps = 1.0e-10;


	// initial step size
	double h = 0.5 * fabs(tEnd - t);

	// integration including
	// trial integration to estimate error
	while(t < tEnd){
		// max step size = remaining time
		h = fmin(tEnd - t, h);

		double yTemp[NEQN], yErr[NEQN];

		// evaluate derivative
		double F[NEQN];
		dydt(t, y, g, F, 1.0);

		rkckStep(t, y, g, F, h, yTemp, yErr);

		// calculate error
		double err = 0.0;
		int nanFlag = 0;
		for(int i = 0; i < NEQN; ++i){
			if(isnan(yErr[i])) nanFlag = 1;

			err = fmax(err, fabs(yErr[i]/(fabs(y[i]) + fabs(h * F[i]) + TINY)));
		}
		err /= eps;

		// if error too large, step decrease, retake
		if ((err > 1.0) || isnan(err) || (nanFlag == 1)) {
			// failed step
			if (isnan(err) || (nanFlag == 1)){

				h *= P1;
			} else {
				h = fmax(SAFETY * h * pow(err, PSHRNK), P1 * h);
			}
		} else{
			// step accepted
			t += h;


			if(err > ERRCON) {
				h = SAFETY * h * pow(err, PGROW); 
			} else{
				h *= 5.0;
			}

			// ensure step size is bounded
			h = fmax(hMin, fmin(hMax, h));

			for(int i = 0; i < NEQN; ++i)
				y[i] = yTemp[i];
		}
	}
}



// general integration kernel
__global__ void
intDriver (const double t, const double tEnd, 
	const int numODE, const double* gGlobal, double* yGlobal){
	// thread ID
	int tid = threadIdx.x + (blockDim.x * blockIdx.x);

	if (tid < numODE){

		// get values from global arrays -> local arrays
		double yLocal[NEQN];
		double gLocal[NPAR];

		for(int i = 0; i < NEQN; ++i){
			yLocal[i] = yGlobal[tid + numODE * i];
		}
		for(int i = 0; i < NPAR; ++i){
			gLocal[i] = gGlobal[tid + numODE * i];
		}

		// call integrator for one timestep
		// replace integrator with rkckDriver or rkcDriver
		// rkck for low stiffness, rkc for high stiffness
		rkckDriver (t, tEnd, yLocal, gLocal);

		// local array -> global array
		for(int i = 0; i < NEQN; ++i){
			yGlobal[tid + numODE * i] = yLocal[i];
		}
	}
}



// to read parameter values from given parameter file
void parameter_reader(double* g, int numODE) { 
  
    // File pointer 
    fstream fin; 
  
    // Open parameter file 
    fin.open("parameters_3_e2.csv", ios::in); 
  
    cout << "Reading parameters" << endl;
    string line, word, temp; 
    int i = 0, j = 0;
    while (fin >> temp) { 
		if(i > numODE){
			cout << "Number of samples read > numODE" << endl;
			break;
		}   

        stringstream s(temp); 
  
        // read every column data of a row and 
        // store it in a string variable, 'word' 
        j = 0;
        while (getline(s, word, ',')) { 
  
            // add all the column data 
            // of a row to a vector 
            if ( j >= NPAR){
            	cout << "Number of parameters read > NPAR" << endl;
            	break;
            }
            g[i + numODE*j] = stof(word);
            j ++;
        }   
        i++;
    }
    fin.close();
    cout << "Done reading parameters" << endl;
} 


int main(){

	// numODE - number of systems
	int numODE = THREADS;

	// // defining y - initial conditions - 2d array with numODE rows and
	// // NEQN columns
	// double *yHost;
	// yHost = (double *) malloc (numODE * NEQN * sizeof(double));

	// for(int i = 0; i < numODE; ++i){
	// 	for(int j = 0; j < NEQN; ++j){
	// 		yHost[i + numODE * j] = y[i][j];
	// 	}
	// }
	double *yHost;
	yHost = (double *) malloc (numODE * NEQN * sizeof(double));

	for(int i = 0; i < numODE; ++i){
		for(int j = 0; j < NEQN; ++j){
			yHost[i + numODE * j] = 0.5;
		}
	}


	// // defining g - parameters - 2d array with numODE rows and
	// // NPAR columns
	// double *gHost;
	// gHost = (double *) malloc (numODE * NPAR * sizeof(double));

	// for(int i = 0; i < numODE; ++i){
	// 	for(int j = 0; j < NPAR; ++j){
	// 		gHost[i + numODE * j] = g[i][j];
	// 	}
	// }
	double *gHost;
	gHost = (double *) malloc (numODE * NPAR * sizeof(double));

	parameter_reader(gHost, numODE);
	// for(int i = 0; i < numODE; ++i){
	// 	gHost[i] = 0.5;
	// 	gHost[i + numODE*1] = 0.5;
	// 	gHost[i + numODE*2] = 1.0 + ((i%REPSET)+1)*1.0/REPSET;
	// }

	int blockSize;
	if(numODE < 4194304) {
		blockSize = 64;
	} else if (numODE < 8388608){
		blockSize = 128;
	} else if (numODE < 16777216){
		blockSize = 256;
	} else {
		blockSize = 512;
	}
	dim3 dimBlock (blockSize, 1);
	dim3 dimGrid (numODE / dimBlock.x + 1, 1);


	// set initial time, end time, initial step size

	double t0 = 0.0;
	double h = 10.0;
	double tEnd = 100.0;
	int numSteps = int((tEnd-t0)/h) + 1;
	double t = t0;
	double tNext = t + h;

	vector< vector< vector<double> > > yvals(numODE, vector< vector<double> >(numSteps, vector<double>(NEQN, 0.0)));


	// start measuring time
	clock_t start_time = clock();
	// setting up GPU global memory arrays
	double *yDevice;
	hipMalloc ((void**) &yDevice, numODE * NEQN * sizeof(double));

	double *gDevice;
	hipMalloc ((void**) &gDevice, numODE * NPAR * sizeof(double));

	// CPU to GPU memory transfer
	hipMemcpy(gDevice, gHost, numODE * NPAR * sizeof(double),
		hipMemcpyHostToDevice);
	hipMemcpy (yDevice, yHost, numODE * NEQN * sizeof(double),
		hipMemcpyHostToDevice);

	int k = 0;
	for(int i = 0; i < numODE; ++i){
		for(int j = 0; j < NEQN; ++j){
			yvals[i][k][j] = yHost[i + numODE*j];
		}
	}
	cout << "GPU kernel calls started" << endl; 

	double progress = 0.0;
	while(t < tEnd){
		// integrating each step till we reach end
		intDriver<<<dimGrid, dimBlock>>> (t, tNext, numODE, gDevice, yDevice);
		hipMemcpy (yHost, yDevice, numODE * NEQN * sizeof(double),
			hipMemcpyDeviceToHost);
		++k;
		progress = ((double)k*100.0/(double)numSteps);
		if(k%10 == 0){
			cout << "Progress:\t"<< progress << " %" << endl;
		}
		for(int i = 0; i < numODE; ++i){
			for(int j = 0; j < NEQN; ++j){
				yvals[i][k][j] = yHost[i + numODE*j];
			}
		}

		t = tNext;
		tNext += h;
	}
	clock_t end_time = clock();
	double time_taken = ((double)end_time - (double)start_time)/CLOCKS_PER_SEC;

	cout << "!\n!\n!\nDone!!!" << endl;
	cout << "GPU execution took " << time_taken << " seconds to execute." << endl;
	hipFree(gDevice);
	hipFree(yDevice);


	cout << "Printing files to RKCK_parallel_out.csv" << endl;
	cout << numODE << " x " << numSteps << " x " << NEQN << endl;
	clock_t write_start = clock();
	ofstream ofile;
	ofile.open("RKCK_parallel_out.csv");
	for(int i = 0; i < numODE; i++){
		for(int j = 0; j < numSteps; j++){
			for(int m = 0;m < NEQN; m++){
				ofile << yvals[i][j][m];
				if(m != NEQN - 1)
					ofile << ",";
			}
			ofile << endl;
		}
	}
	ofile.close();
	clock_t write_end = clock();
	double write_time = ((double)write_end - (double)write_start)/CLOCKS_PER_SEC;
	cout << "Writing file took " << write_time << " seconds." << endl;

	return 0;
}



























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

                                        # End of file scope inline assembly
	.globl	_Z24__device_stub__intDriverddiPKdPd # -- Begin function _Z24__device_stub__intDriverddiPKdPd
	.type	_Z24__device_stub__intDriverddiPKdPd,@function
_Z24__device_stub__intDriverddiPKdPd:   # @_Z24__device_stub__intDriverddiPKdPd
	.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	$144, %rsp
	.cfi_def_cfa_offset 192
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	56(%rsp), %rax
	movsd	%xmm0, (%rax)
	leaq	48(%rsp), %rcx
	movsd	%xmm1, (%rcx)
	leaq	12(%rsp), %r8
	movl	%edi, (%r8)
	leaq	40(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	32(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	96(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%r8, 16(%rbx)
	movq	%rdi, 24(%rbx)
	movq	%rsi, 32(%rbx)
	leaq	80(%rsp), %r14
	leaq	64(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z9intDriverddiPKdPd, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$160, %rsp
	.cfi_adjust_cfa_offset -160
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end0:
	.size	_Z24__device_stub__intDriverddiPKdPd, .Lfunc_end0-_Z24__device_stub__intDriverddiPKdPd
	.cfi_endproc
                                        # -- End function
	.globl	_Z16parameter_readerPdi         # -- Begin function _Z16parameter_readerPdi
	.type	_Z16parameter_readerPdi,@function
_Z16parameter_readerPdi:                # @_Z16parameter_readerPdi
.Lfunc_begin0:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception0
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$1048, %rsp                     # imm = 0x418
	.cfi_def_cfa_offset 1104
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movl	%esi, %ebp
	movq	%rdi, %r15
	leaq	520(%rsp), %r14
	movq	%r14, %rdi
	callq	_ZNSt13basic_fstreamIcSt11char_traitsIcEEC1Ev
.Ltmp0:
	movl	$.L.str, %esi
	movq	%r14, %rdi
	movl	$8, %edx
	callq	_ZNSt13basic_fstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode
.Ltmp1:
# %bb.1:
.Ltmp2:
	movl	$_ZSt4cout, %r14d
	movl	$_ZSt4cout, %edi
	movl	$.L.str.1, %esi
	movl	$18, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp3:
# %bb.2:                                # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit
	movq	_ZSt4cout(%rip), %rax
	addq	-24(%rax), %r14
.Ltmp4:
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp5:
# %bb.3:                                # %.noexc
.Ltmp6:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp7:
# %bb.4:                                # %.noexc42
.Ltmp8:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp9:
# %bb.5:                                # %_ZNSolsEPFRSoS_E.exit
	leaq	112(%rsp), %rax
	movq	%rax, -16(%rax)
	xorl	%r14d, %r14d
	movq	%r14, -8(%rax)
	movb	%r14b, (%rax)
	leaq	80(%rsp), %rax
	movq	%rax, -16(%rax)
	movq	%r14, -8(%rax)
	movb	%r14b, (%rax)
	leaq	48(%rsp), %rax
	movq	%rax, -16(%rax)
	movq	%r14, -8(%rax)
	movb	%r14b, (%rax)
	movslq	%ebp, %rbx
	testl	%ebx, %ebx
	movl	$-1, %eax
	cmovnsl	%ebx, %eax
	incl	%eax
	movq	%rax, (%rsp)                    # 8-byte Spill
	shlq	$3, %rbx
	movq	%r15, %rbp
.LBB1_6:                                # =>This Loop Header: Depth=1
                                        #     Child Loop BB1_29 Depth 2
.Ltmp11:
	leaq	520(%rsp), %rdi
	leaq	32(%rsp), %rsi
	callq	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE
.Ltmp12:
# %bb.7:                                #   in Loop: Header=BB1_6 Depth=1
	movq	(%rax), %rcx
	movq	-24(%rcx), %rcx
	testb	$5, 32(%rax,%rcx)
	jne	.LBB1_13
# %bb.8:                                #   in Loop: Header=BB1_6 Depth=1
	cmpq	(%rsp), %r14                    # 8-byte Folded Reload
	je	.LBB1_9
# %bb.27:                               #   in Loop: Header=BB1_6 Depth=1
.Ltmp14:
	movq	%r14, 16(%rsp)                  # 8-byte Spill
	leaq	128(%rsp), %rdi
	leaq	32(%rsp), %rsi
	movl	$24, %edx
	callq	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1ERKNS_12basic_stringIcS2_S3_EESt13_Ios_Openmode
.Ltmp15:
# %bb.28:                               # %.preheader.preheader
                                        #   in Loop: Header=BB1_6 Depth=1
	movl	$3, %r14d
	movq	%rbp, 8(%rsp)                   # 8-byte Spill
.LBB1_29:                               # %.preheader
                                        #   Parent Loop BB1_6 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
.Ltmp17:
	leaq	128(%rsp), %rdi
	leaq	64(%rsp), %rsi
	movl	$44, %edx
	callq	_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EES4_
.Ltmp18:
# %bb.30:                               #   in Loop: Header=BB1_29 Depth=2
	movq	(%rax), %rcx
	movq	-24(%rcx), %rcx
	testb	$5, 32(%rax,%rcx)
	jne	.LBB1_36
# %bb.31:                               #   in Loop: Header=BB1_29 Depth=2
	subq	$1, %r14
	jb	.LBB1_32
# %bb.42:                               #   in Loop: Header=BB1_29 Depth=2
	movq	64(%rsp), %r12
	callq	__errno_location
	movq	%rax, %r15
	movl	(%rax), %r13d
	movl	$0, (%rax)
	movq	%r12, %rdi
	leaq	24(%rsp), %rsi
	callq	strtof
	cmpq	%r12, 24(%rsp)
	je	.LBB1_43
# %bb.47:                               #   in Loop: Header=BB1_29 Depth=2
	movl	(%r15), %eax
	testl	%eax, %eax
	je	.LBB1_51
# %bb.48:                               #   in Loop: Header=BB1_29 Depth=2
	cmpl	$34, %eax
	jne	.LBB1_52
	jmp	.LBB1_49
.LBB1_51:                               #   in Loop: Header=BB1_29 Depth=2
	movl	%r13d, (%r15)
.LBB1_52:                               #   in Loop: Header=BB1_29 Depth=2
	cvtss2sd	%xmm0, %xmm0
	movsd	%xmm0, (%rbp)
	addq	%rbx, %rbp
	jmp	.LBB1_29
.LBB1_32:                               #   in Loop: Header=BB1_6 Depth=1
.Ltmp25:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.3, %esi
	movl	$32, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp26:
# %bb.33:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit23
                                        #   in Loop: Header=BB1_6 Depth=1
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	movl	$_ZSt4cout, %eax
	addq	%rax, %rdi
.Ltmp27:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp28:
# %bb.34:                               # %.noexc48
                                        #   in Loop: Header=BB1_6 Depth=1
.Ltmp29:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp30:
# %bb.35:                               # %.noexc49
                                        #   in Loop: Header=BB1_6 Depth=1
.Ltmp31:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp32:
.LBB1_36:                               # %_ZNSolsEPFRSoS_E.exit24
                                        #   in Loop: Header=BB1_6 Depth=1
	movq	16(%rsp), %r14                  # 8-byte Reload
	incq	%r14
	movl	$_ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE, %esi
	leaq	128(%rsp), %rdi
	callq	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED2Ev
	leaq	256(%rsp), %rdi
	callq	_ZNSt8ios_baseD2Ev
	movq	8(%rsp), %rbp                   # 8-byte Reload
	addq	$8, %rbp
	jmp	.LBB1_6
.LBB1_9:
.Ltmp34:
	movl	$_ZSt4cout, %ebx
	movl	$_ZSt4cout, %edi
	movl	$.L.str.2, %esi
	movl	$31, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp35:
# %bb.10:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit20
	movq	_ZSt4cout(%rip), %rax
	addq	-24(%rax), %rbx
.Ltmp36:
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp37:
# %bb.11:                               # %.noexc44
.Ltmp38:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp39:
# %bb.12:                               # %.noexc45
.Ltmp40:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp41:
.LBB1_13:                               # %_ZNSolsEPFRSoS_E.exit21
.Ltmp42:
	leaq	520(%rsp), %rdi
	callq	_ZNSt13basic_fstreamIcSt11char_traitsIcEE5closeEv
.Ltmp43:
# %bb.14:
.Ltmp44:
	movl	$_ZSt4cout, %ebx
	movl	$_ZSt4cout, %edi
	movl	$.L.str.4, %esi
	movl	$23, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp45:
# %bb.15:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit25
	movq	_ZSt4cout(%rip), %rax
	addq	-24(%rax), %rbx
.Ltmp46:
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp47:
# %bb.16:                               # %.noexc52
.Ltmp48:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp49:
# %bb.17:                               # %.noexc53
.Ltmp50:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp51:
# %bb.18:                               # %_ZNSolsEPFRSoS_E.exit26
	movq	32(%rsp), %rdi
	leaq	48(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_20
# %bb.19:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i
	callq	_ZdlPv
.LBB1_20:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit
	movq	64(%rsp), %rdi
	leaq	80(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_22
# %bb.21:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i27
	callq	_ZdlPv
.LBB1_22:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit29
	movq	96(%rsp), %rdi
	leaq	112(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_24
# %bb.23:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i30
	callq	_ZdlPv
.LBB1_24:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit32
	leaq	520(%rsp), %rdi
	callq	_ZNSt13basic_fstreamIcSt11char_traitsIcEED1Ev
	addq	$1048, %rsp                     # imm = 0x418
	.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
.LBB1_43:
	.cfi_def_cfa_offset 1104
.Ltmp22:
	movl	$.L.str.17, %edi
	callq	_ZSt24__throw_invalid_argumentPKc
.Ltmp23:
# %bb.44:
.LBB1_49:                               # %.critedge.i.i
.Ltmp20:
	movl	$.L.str.17, %edi
	callq	_ZSt20__throw_out_of_rangePKc
.Ltmp21:
# %bb.50:
.LBB1_25:
.Ltmp10:
	movq	%rax, %rbx
	jmp	.LBB1_61
.LBB1_26:                               # %.loopexit.split-lp57
.Ltmp52:
	jmp	.LBB1_54
.LBB1_37:
.Ltmp16:
	jmp	.LBB1_54
.LBB1_53:                               # %.loopexit56
.Ltmp13:
.LBB1_54:
	movq	%rax, %rbx
	jmp	.LBB1_55
.LBB1_39:                               # %.loopexit.split-lp
.Ltmp33:
	jmp	.LBB1_40
.LBB1_38:                               # %.loopexit
.Ltmp19:
.LBB1_40:                               # %.body
	movq	%rax, %rbx
	jmp	.LBB1_41
.LBB1_45:
.Ltmp24:
	movq	%rax, %rbx
	cmpl	$0, (%r15)
	jne	.LBB1_41
# %bb.46:
	movl	%r13d, (%r15)
.LBB1_41:                               # %.body
	leaq	128(%rsp), %rdi
	movl	$_ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE, %esi
	callq	_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED2Ev
	leaq	256(%rsp), %rdi
	callq	_ZNSt8ios_baseD2Ev
.LBB1_55:
	movq	32(%rsp), %rdi
	leaq	48(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_57
# %bb.56:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i33
	callq	_ZdlPv
.LBB1_57:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit35
	movq	64(%rsp), %rdi
	leaq	80(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_59
# %bb.58:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i36
	callq	_ZdlPv
.LBB1_59:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit38
	movq	96(%rsp), %rdi
	leaq	112(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_61
# %bb.60:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i39
	callq	_ZdlPv
.LBB1_61:
	leaq	520(%rsp), %rdi
	callq	_ZNSt13basic_fstreamIcSt11char_traitsIcEED1Ev
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end1:
	.size	_Z16parameter_readerPdi, .Lfunc_end1-_Z16parameter_readerPdi
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table1:
.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 .Ltmp9-.Ltmp0                  #   Call between .Ltmp0 and .Ltmp9
	.uleb128 .Ltmp10-.Lfunc_begin0          #     jumps to .Ltmp10
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp11-.Lfunc_begin0          # >> Call Site 3 <<
	.uleb128 .Ltmp12-.Ltmp11                #   Call between .Ltmp11 and .Ltmp12
	.uleb128 .Ltmp13-.Lfunc_begin0          #     jumps to .Ltmp13
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp14-.Lfunc_begin0          # >> Call Site 4 <<
	.uleb128 .Ltmp15-.Ltmp14                #   Call between .Ltmp14 and .Ltmp15
	.uleb128 .Ltmp16-.Lfunc_begin0          #     jumps to .Ltmp16
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp17-.Lfunc_begin0          # >> Call Site 5 <<
	.uleb128 .Ltmp18-.Ltmp17                #   Call between .Ltmp17 and .Ltmp18
	.uleb128 .Ltmp19-.Lfunc_begin0          #     jumps to .Ltmp19
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp25-.Lfunc_begin0          # >> Call Site 6 <<
	.uleb128 .Ltmp32-.Ltmp25                #   Call between .Ltmp25 and .Ltmp32
	.uleb128 .Ltmp33-.Lfunc_begin0          #     jumps to .Ltmp33
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp34-.Lfunc_begin0          # >> Call Site 7 <<
	.uleb128 .Ltmp51-.Ltmp34                #   Call between .Ltmp34 and .Ltmp51
	.uleb128 .Ltmp52-.Lfunc_begin0          #     jumps to .Ltmp52
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp22-.Lfunc_begin0          # >> Call Site 8 <<
	.uleb128 .Ltmp21-.Ltmp22                #   Call between .Ltmp22 and .Ltmp21
	.uleb128 .Ltmp24-.Lfunc_begin0          #     jumps to .Ltmp24
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp21-.Lfunc_begin0          # >> Call Site 9 <<
	.uleb128 .Lfunc_end1-.Ltmp21            #   Call between .Ltmp21 and .Lfunc_end1
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0                          # -- Begin function main
.LCPI2_0:
	.quad	0x4024000000000000              # double 10
.LCPI2_1:
	.quad	0x4059000000000000              # double 100
.LCPI2_2:
	.quad	0x4026000000000000              # double 11
.LCPI2_3:
	.quad	0x412e848000000000              # double 1.0E+6
	.text
	.globl	main
	.type	main,@function
main:                                   # @main
.Lfunc_begin1:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception1
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$600, %rsp                      # imm = 0x258
	.cfi_def_cfa_offset 656
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movl	$2400, %edi                     # imm = 0x960
	callq	malloc
	movq	%rax, %rbx
	xorl	%eax, %eax
	movabsq	$4602678819172646912, %rcx      # imm = 0x3FE0000000000000
.LBB2_1:                                # %.preheader224
                                        # =>This Inner Loop Header: Depth=1
	movq	%rcx, (%rbx,%rax,8)
	movq	%rcx, 800(%rbx,%rax,8)
	movq	%rcx, 1600(%rbx,%rax,8)
	incq	%rax
	cmpq	$100, %rax
	jne	.LBB2_1
# %bb.2:
	movl	$2400, %edi                     # imm = 0x960
	callq	malloc
	movq	%rax, %r15
	movq	%rax, %rdi
	movl	$100, %esi
	callq	_Z16parameter_readerPdi
.Ltmp53:
	movl	$24, %edi
	callq	_Znwm
.Ltmp54:
# %bb.3:                                # %.noexc
	leaq	40(%rsp), %rdx
	movq	%rax, (%rdx)
	movq	%rax, %rcx
	addq	$24, %rcx
	movq	%rcx, 16(%rdx)
	xorpd	%xmm0, %xmm0
	movupd	%xmm0, (%rax)
	movq	$0, 16(%rax)
	movq	%rcx, 8(%rdx)
.Ltmp56:
	leaq	88(%rsp), %rdi
	leaq	32(%rsp), %rcx
	movl	$11, %esi
	callq	_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2EmRKS1_RKS2_
.Ltmp57:
# %bb.4:
.Ltmp59:
	leaq	64(%rsp), %rdi
	leaq	88(%rsp), %rdx
	leaq	15(%rsp), %rcx
	movl	$100, %esi
	callq	_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EEC2EmRKS3_RKS4_
.Ltmp60:
# %bb.5:
	leaq	88(%rsp), %rdi
	callq	_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev
	movq	40(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB2_7
# %bb.6:
	callq	_ZdlPv
.LBB2_7:                                # %_ZNSt6vectorIdSaIdEED2Ev.exit
	callq	clock
	movq	%rax, %r14
.Ltmp62:
	leaq	40(%rsp), %rdi
	movl	$2400, %esi                     # imm = 0x960
	callq	hipMalloc
.Ltmp63:
# %bb.8:
.Ltmp65:
	leaq	32(%rsp), %rdi
	movl	$2400, %esi                     # imm = 0x960
	callq	hipMalloc
.Ltmp66:
# %bb.9:
	movq	32(%rsp), %rdi
.Ltmp67:
	movl	$2400, %edx                     # imm = 0x960
	movq	%r15, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp68:
# %bb.10:
	movq	40(%rsp), %rdi
.Ltmp69:
	movl	$2400, %edx                     # imm = 0x960
	movq	%rbx, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp70:
# %bb.11:                               # %.preheader223
	movq	64(%rsp), %rax
	xorl	%ecx, %ecx
	movq	%rbx, %rdx
.LBB2_12:                               # %.preheader222
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB2_13 Depth 2
	leaq	(%rcx,%rcx,2), %rsi
	movq	(%rax,%rsi,8), %rsi
	movq	(%rsi), %rsi
	movq	%rdx, %rdi
	xorl	%r8d, %r8d
.LBB2_13:                               #   Parent Loop BB2_12 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movsd	(%rdi), %xmm0                   # xmm0 = mem[0],zero
	movsd	%xmm0, (%rsi,%r8,8)
	incq	%r8
	addq	$800, %rdi                      # imm = 0x320
	cmpq	$3, %r8
	jne	.LBB2_13
# %bb.14:                               #   in Loop: Header=BB2_12 Depth=1
	incq	%rcx
	addq	$8, %rdx
	cmpq	$100, %rcx
	jne	.LBB2_12
# %bb.15:
.Ltmp72:
	movl	$_ZSt4cout, %r15d
	movl	$_ZSt4cout, %edi
	movl	$.L.str.5, %esi
	movl	$24, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp73:
# %bb.16:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit
	movq	_ZSt4cout(%rip), %rax
	addq	-24(%rax), %r15
.Ltmp74:
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp75:
# %bb.17:                               # %.noexc185
.Ltmp76:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp77:
# %bb.18:                               # %.noexc186
.Ltmp78:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp79:
# %bb.19:                               # %_ZNSolsEPFRSoS_E.exit.preheader.preheader
	movsd	.LCPI2_0(%rip), %xmm0           # xmm0 = mem[0],zero
	xorpd	%xmm1, %xmm1
	movsd	%xmm1, 24(%rsp)                 # 8-byte Spill
	xorl	%ebp, %ebp
	movabsq	$4294967298, %r15               # imm = 0x100000002
	movabsq	$4294967360, %r12               # imm = 0x100000040
	movsd	%xmm0, 16(%rsp)                 # 8-byte Spill
.LBB2_20:                               # %_ZNSolsEPFRSoS_E.exit.preheader
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB2_33 Depth 2
                                        #       Child Loop BB2_34 Depth 3
.Ltmp81:
	movq	%r15, %rdi
	movl	$1, %esi
	movq	%r12, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp82:
# %bb.21:                               #   in Loop: Header=BB2_20 Depth=1
	testl	%eax, %eax
	jne	.LBB2_23
# %bb.22:                               #   in Loop: Header=BB2_20 Depth=1
	movq	32(%rsp), %rsi
	movq	40(%rsp), %rdx
.Ltmp83:
	movsd	24(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	movsd	16(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	movl	$100, %edi
	callq	_Z24__device_stub__intDriverddiPKdPd
.Ltmp84:
.LBB2_23:                               #   in Loop: Header=BB2_20 Depth=1
	movq	40(%rsp), %rsi
.Ltmp85:
	movl	$2400, %edx                     # imm = 0x960
	movq	%rbx, %rdi
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp86:
# %bb.24:                               #   in Loop: Header=BB2_20 Depth=1
	incq	%rbp
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ebp, %xmm0
	mulsd	.LCPI2_1(%rip), %xmm0
	divsd	.LCPI2_2(%rip), %xmm0
	movsd	%xmm0, 24(%rsp)                 # 8-byte Spill
	cmpq	$10, %rbp
	je	.LBB2_26
# %bb.25:                               #   in Loop: Header=BB2_20 Depth=1
	testl	%ebp, %ebp
	jne	.LBB2_32
.LBB2_26:                               #   in Loop: Header=BB2_20 Depth=1
.Ltmp87:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.6, %esi
	movl	$10, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp88:
# %bb.27:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit142
                                        #   in Loop: Header=BB2_20 Depth=1
.Ltmp89:
	movl	$_ZSt4cout, %edi
	movsd	24(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp90:
# %bb.28:                               # %_ZNSolsEd.exit
                                        #   in Loop: Header=BB2_20 Depth=1
.Ltmp91:
	movq	%rax, %r13
	movl	$.L.str.7, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp92:
# %bb.29:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit145
                                        #   in Loop: Header=BB2_20 Depth=1
	movq	(%r13), %rax
	movq	-24(%rax), %rdi
	addq	%r13, %rdi
.Ltmp93:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp94:
# %bb.30:                               # %.noexc188
                                        #   in Loop: Header=BB2_20 Depth=1
.Ltmp95:
	movsbl	%al, %esi
	movq	%r13, %rdi
	callq	_ZNSo3putEc
.Ltmp96:
# %bb.31:                               # %.noexc189
                                        #   in Loop: Header=BB2_20 Depth=1
.Ltmp97:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp98:
.LBB2_32:                               # %_ZNSolsEPFRSoS_E.exit147
                                        #   in Loop: Header=BB2_20 Depth=1
	movq	64(%rsp), %rax
	leaq	(,%rbp,2), %rcx
	addq	%rbp, %rcx
	movq	%rbx, %rdx
	xorl	%esi, %esi
.LBB2_33:                               # %.preheader221
                                        #   Parent Loop BB2_20 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB2_34 Depth 3
	leaq	(%rsi,%rsi,2), %rdi
	movq	(%rax,%rdi,8), %rdi
	movq	(%rdi,%rcx,8), %rdi
	movq	%rdx, %r8
	xorl	%r9d, %r9d
.LBB2_34:                               #   Parent Loop BB2_20 Depth=1
                                        #     Parent Loop BB2_33 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movsd	(%r8), %xmm0                    # xmm0 = mem[0],zero
	movsd	%xmm0, (%rdi,%r9,8)
	incq	%r9
	addq	$800, %r8                       # imm = 0x320
	cmpq	$3, %r9
	jne	.LBB2_34
# %bb.35:                               #   in Loop: Header=BB2_33 Depth=2
	incq	%rsi
	addq	$8, %rdx
	cmpq	$100, %rsi
	jne	.LBB2_33
# %bb.36:                               # %_ZNSolsEPFRSoS_E.exit
                                        #   in Loop: Header=BB2_20 Depth=1
	movsd	16(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	movsd	%xmm0, 24(%rsp)                 # 8-byte Spill
	addsd	.LCPI2_0(%rip), %xmm0
	movsd	%xmm0, 16(%rsp)                 # 8-byte Spill
	cmpq	$10, %rbp
	jne	.LBB2_20
# %bb.37:
	callq	clock
	movq	%rax, %rbx
.Ltmp100:
	movl	$_ZSt4cout, %r15d
	movl	$_ZSt4cout, %edi
	movl	$.L.str.8, %esi
	movl	$13, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp101:
# %bb.38:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit149
	movq	_ZSt4cout(%rip), %rax
	addq	-24(%rax), %r15
.Ltmp102:
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp103:
# %bb.39:                               # %.noexc192
.Ltmp104:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp105:
# %bb.40:                               # %.noexc193
.Ltmp106:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp107:
# %bb.41:                               # %_ZNSolsEPFRSoS_E.exit151
.Ltmp108:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.9, %esi
	movl	$19, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp109:
# %bb.42:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit153
.Ltmp110:
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rbx, %xmm0
	cvtsi2sd	%r14, %xmm1
	subsd	%xmm1, %xmm0
	divsd	.LCPI2_3(%rip), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp111:
# %bb.43:                               # %_ZNSolsEd.exit155
.Ltmp112:
	movq	%rax, %rbx
	movl	$.L.str.10, %esi
	movl	$20, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp113:
# %bb.44:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit157
	movq	(%rbx), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
.Ltmp114:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp115:
# %bb.45:                               # %.noexc196
.Ltmp116:
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_ZNSo3putEc
.Ltmp117:
# %bb.46:                               # %.noexc197
.Ltmp118:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp119:
# %bb.47:                               # %_ZNSolsEPFRSoS_E.exit159
	movq	32(%rsp), %rdi
.Ltmp120:
	callq	hipFree
.Ltmp121:
# %bb.48:
	movq	40(%rsp), %rdi
.Ltmp122:
	callq	hipFree
.Ltmp123:
# %bb.49:
.Ltmp124:
	movl	$_ZSt4cout, %ebx
	movl	$_ZSt4cout, %edi
	movl	$.L.str.11, %esi
	movl	$39, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp125:
# %bb.50:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit161
	movq	_ZSt4cout(%rip), %rax
	addq	-24(%rax), %rbx
.Ltmp126:
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp127:
# %bb.51:                               # %.noexc200
.Ltmp128:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp129:
# %bb.52:                               # %.noexc201
.Ltmp130:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp131:
# %bb.53:                               # %_ZNSolsEPFRSoS_E.exit163
.Ltmp132:
	movl	$_ZSt4cout, %edi
	movl	$100, %esi
	callq	_ZNSolsEi
.Ltmp133:
# %bb.54:
.Ltmp134:
	movq	%rax, %rbx
	movl	$.L.str.12, %esi
	movl	$3, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp135:
# %bb.55:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit165
.Ltmp136:
	movq	%rbx, %rdi
	movl	$11, %esi
	callq	_ZNSolsEi
.Ltmp137:
# %bb.56:
.Ltmp138:
	movq	%rax, %rbx
	movl	$.L.str.12, %esi
	movl	$3, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp139:
# %bb.57:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit167
.Ltmp140:
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_ZNSolsEi
.Ltmp141:
# %bb.58:
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
.Ltmp142:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp143:
# %bb.59:                               # %.noexc204
.Ltmp144:
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_ZNSo3putEc
.Ltmp145:
# %bb.60:                               # %.noexc205
.Ltmp146:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp147:
# %bb.61:                               # %_ZNSolsEPFRSoS_E.exit169
	callq	clock
	movq	%rax, %rbx
.Ltmp149:
	leaq	88(%rsp), %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev
.Ltmp150:
# %bb.62:
.Ltmp152:
	movq	%rbx, 16(%rsp)                  # 8-byte Spill
	leaq	88(%rsp), %r14
	movl	$.L.str.13, %esi
	movq	%r14, %rdi
	movl	$16, %edx
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode
.Ltmp153:
# %bb.63:                               # %.preheader219.preheader
	xorl	%r15d, %r15d
.LBB2_64:                               # %.preheader219
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB2_65 Depth 2
                                        #       Child Loop BB2_66 Depth 3
	leaq	(%r15,%r15,2), %r12
	xorl	%r13d, %r13d
.LBB2_65:                               # %.preheader
                                        #   Parent Loop BB2_64 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB2_66 Depth 3
	leaq	(,%r13,2), %rbp
	addq	%r13, %rbp
	xorl	%ebx, %ebx
.LBB2_66:                               #   Parent Loop BB2_64 Depth=1
                                        #     Parent Loop BB2_65 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movq	64(%rsp), %rax
	movq	(%rax,%r12,8), %rax
	movq	(%rax,%rbp,8), %rax
	movsd	(%rax,%rbx,8), %xmm0            # xmm0 = mem[0],zero
.Ltmp154:
	movq	%r14, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp155:
# %bb.67:                               # %_ZNSolsEd.exit173
                                        #   in Loop: Header=BB2_66 Depth=3
	cmpq	$2, %rbx
	je	.LBB2_70
# %bb.68:                               #   in Loop: Header=BB2_66 Depth=3
.Ltmp156:
	movl	$.L.str.14, %esi
	movl	$1, %edx
	movq	%r14, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp157:
# %bb.69:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit175
                                        #   in Loop: Header=BB2_66 Depth=3
	incq	%rbx
	jmp	.LBB2_66
.LBB2_70:                               #   in Loop: Header=BB2_65 Depth=2
	movq	88(%rsp), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
.Ltmp159:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp160:
# %bb.71:                               # %.noexc208
                                        #   in Loop: Header=BB2_65 Depth=2
.Ltmp161:
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
.Ltmp162:
# %bb.72:                               # %.noexc209
                                        #   in Loop: Header=BB2_65 Depth=2
.Ltmp163:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp164:
# %bb.73:                               # %_ZNSolsEPFRSoS_E.exit171
                                        #   in Loop: Header=BB2_65 Depth=2
	incq	%r13
	cmpq	$11, %r13
	jne	.LBB2_65
# %bb.74:                               #   in Loop: Header=BB2_64 Depth=1
	incq	%r15
	cmpq	$100, %r15
	jne	.LBB2_64
# %bb.75:
.Ltmp166:
	leaq	88(%rsp), %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv
.Ltmp167:
# %bb.76:
	callq	clock
	movq	%rax, %r14
.Ltmp169:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.15, %esi
	movl	$18, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp170:
	movq	16(%rsp), %rax                  # 8-byte Reload
# %bb.77:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit177
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r14, %xmm0
	cvtsi2sd	%rax, %xmm1
	subsd	%xmm1, %xmm0
	divsd	.LCPI2_3(%rip), %xmm0
.Ltmp171:
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp172:
# %bb.78:                               # %_ZNSolsEd.exit179
.Ltmp173:
	movq	%rax, %rbx
	movl	$.L.str.16, %esi
	movl	$9, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp174:
# %bb.79:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit181
	movq	(%rbx), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
.Ltmp175:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp176:
# %bb.80:                               # %.noexc212
.Ltmp177:
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_ZNSo3putEc
.Ltmp178:
# %bb.81:                               # %.noexc213
.Ltmp179:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp180:
# %bb.82:                               # %_ZNSolsEPFRSoS_E.exit183
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE(%rip), %rax
	leaq	96(%rsp), %rdi
	movq	%rax, -8(%rdi)
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE+24(%rip), %rcx
	movq	-24(%rax), %rax
	movq	%rcx, 88(%rsp,%rax)
	callq	_ZNSt13basic_filebufIcSt11char_traitsIcEED2Ev
	leaq	336(%rsp), %rdi
	callq	_ZNSt8ios_baseD2Ev
	leaq	64(%rsp), %rdi
	callq	_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EED2Ev
	xorl	%eax, %eax
	addq	$600, %rsp                      # imm = 0x258
	.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
.LBB2_83:
	.cfi_def_cfa_offset 656
.Ltmp151:
	jmp	.LBB2_85
.LBB2_84:
.Ltmp64:
	jmp	.LBB2_85
.LBB2_86:
.Ltmp61:
	movq	%rax, %rbx
	leaq	88(%rsp), %rdi
	callq	_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev
	jmp	.LBB2_88
.LBB2_87:
.Ltmp58:
	movq	%rax, %rbx
.LBB2_88:
	movq	40(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB2_101
# %bb.89:
	callq	_ZdlPv
	jmp	.LBB2_101
.LBB2_90:
.Ltmp55:
	movq	%rax, %rbx
	jmp	.LBB2_101
.LBB2_91:
.Ltmp168:
	jmp	.LBB2_99
.LBB2_92:
.Ltmp71:
	jmp	.LBB2_85
.LBB2_93:
.Ltmp80:
	jmp	.LBB2_85
.LBB2_94:
.Ltmp181:
	jmp	.LBB2_99
.LBB2_95:
.Ltmp148:
	jmp	.LBB2_85
.LBB2_96:
.Ltmp99:
.LBB2_85:
	movq	%rax, %rbx
	jmp	.LBB2_100
.LBB2_97:
.Ltmp165:
	jmp	.LBB2_99
.LBB2_98:
.Ltmp158:
.LBB2_99:
	movq	%rax, %rbx
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE(%rip), %rax
	leaq	96(%rsp), %rdi
	movq	%rax, -8(%rdi)
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE+24(%rip), %rcx
	movq	-24(%rax), %rax
	movq	%rcx, 88(%rsp,%rax)
	callq	_ZNSt13basic_filebufIcSt11char_traitsIcEED2Ev
	leaq	336(%rsp), %rdi
	callq	_ZNSt8ios_baseD2Ev
.LBB2_100:
	leaq	64(%rsp), %rdi
	callq	_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EED2Ev
.LBB2_101:
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end2:
	.size	main, .Lfunc_end2-main
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table2:
.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 .Ltmp53-.Lfunc_begin1          #   Call between .Lfunc_begin1 and .Ltmp53
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp53-.Lfunc_begin1          # >> Call Site 2 <<
	.uleb128 .Ltmp54-.Ltmp53                #   Call between .Ltmp53 and .Ltmp54
	.uleb128 .Ltmp55-.Lfunc_begin1          #     jumps to .Ltmp55
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp56-.Lfunc_begin1          # >> Call Site 3 <<
	.uleb128 .Ltmp57-.Ltmp56                #   Call between .Ltmp56 and .Ltmp57
	.uleb128 .Ltmp58-.Lfunc_begin1          #     jumps to .Ltmp58
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp59-.Lfunc_begin1          # >> Call Site 4 <<
	.uleb128 .Ltmp60-.Ltmp59                #   Call between .Ltmp59 and .Ltmp60
	.uleb128 .Ltmp61-.Lfunc_begin1          #     jumps to .Ltmp61
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp62-.Lfunc_begin1          # >> Call Site 5 <<
	.uleb128 .Ltmp63-.Ltmp62                #   Call between .Ltmp62 and .Ltmp63
	.uleb128 .Ltmp64-.Lfunc_begin1          #     jumps to .Ltmp64
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp65-.Lfunc_begin1          # >> Call Site 6 <<
	.uleb128 .Ltmp70-.Ltmp65                #   Call between .Ltmp65 and .Ltmp70
	.uleb128 .Ltmp71-.Lfunc_begin1          #     jumps to .Ltmp71
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp72-.Lfunc_begin1          # >> Call Site 7 <<
	.uleb128 .Ltmp79-.Ltmp72                #   Call between .Ltmp72 and .Ltmp79
	.uleb128 .Ltmp80-.Lfunc_begin1          #     jumps to .Ltmp80
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp81-.Lfunc_begin1          # >> Call Site 8 <<
	.uleb128 .Ltmp98-.Ltmp81                #   Call between .Ltmp81 and .Ltmp98
	.uleb128 .Ltmp99-.Lfunc_begin1          #     jumps to .Ltmp99
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp100-.Lfunc_begin1         # >> Call Site 9 <<
	.uleb128 .Ltmp147-.Ltmp100              #   Call between .Ltmp100 and .Ltmp147
	.uleb128 .Ltmp148-.Lfunc_begin1         #     jumps to .Ltmp148
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp149-.Lfunc_begin1         # >> Call Site 10 <<
	.uleb128 .Ltmp150-.Ltmp149              #   Call between .Ltmp149 and .Ltmp150
	.uleb128 .Ltmp151-.Lfunc_begin1         #     jumps to .Ltmp151
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp152-.Lfunc_begin1         # >> Call Site 11 <<
	.uleb128 .Ltmp153-.Ltmp152              #   Call between .Ltmp152 and .Ltmp153
	.uleb128 .Ltmp168-.Lfunc_begin1         #     jumps to .Ltmp168
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp154-.Lfunc_begin1         # >> Call Site 12 <<
	.uleb128 .Ltmp157-.Ltmp154              #   Call between .Ltmp154 and .Ltmp157
	.uleb128 .Ltmp158-.Lfunc_begin1         #     jumps to .Ltmp158
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp159-.Lfunc_begin1         # >> Call Site 13 <<
	.uleb128 .Ltmp164-.Ltmp159              #   Call between .Ltmp159 and .Ltmp164
	.uleb128 .Ltmp165-.Lfunc_begin1         #     jumps to .Ltmp165
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp166-.Lfunc_begin1         # >> Call Site 14 <<
	.uleb128 .Ltmp167-.Ltmp166              #   Call between .Ltmp166 and .Ltmp167
	.uleb128 .Ltmp168-.Lfunc_begin1         #     jumps to .Ltmp168
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp169-.Lfunc_begin1         # >> Call Site 15 <<
	.uleb128 .Ltmp180-.Ltmp169              #   Call between .Ltmp169 and .Ltmp180
	.uleb128 .Ltmp181-.Lfunc_begin1         #     jumps to .Ltmp181
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp180-.Lfunc_begin1         # >> Call Site 16 <<
	.uleb128 .Lfunc_end2-.Ltmp180           #   Call between .Ltmp180 and .Lfunc_end2
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end1:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorIS_IdSaIdEESaIS1_EEC2EmRKS1_RKS2_,"axG",@progbits,_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2EmRKS1_RKS2_,comdat
	.weak	_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2EmRKS1_RKS2_ # -- Begin function _ZNSt6vectorIS_IdSaIdEESaIS1_EEC2EmRKS1_RKS2_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2EmRKS1_RKS2_,@function
_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2EmRKS1_RKS2_: # @_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2EmRKS1_RKS2_
.Lfunc_begin2:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception2
# %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
	movabsq	$384307168202282326, %rax       # imm = 0x555555555555556
	cmpq	%rax, %rsi
	jae	.LBB3_9
# %bb.1:                                # %_ZNSt6vectorIS_IdSaIdEESaIS1_EE17_S_check_init_lenEmRKS2_.exit
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	testq	%rsi, %rsi
	je	.LBB3_2
# %bb.3:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorISt6vectorIdSaIdEEE8allocateEmPKv
	movq	%rax, %rdi
	jmp	.LBB3_4
.LBB3_2:
	xorl	%edi, %edi
.LBB3_4:                                # %_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EEC2EmRKS3_.exit
	movq	%rdi, (%rbx)
	movq	%rdi, 8(%rbx)
	leaq	(%r15,%r15,2), %rax
	leaq	(%rdi,%rax,8), %rax
	movq	%rax, 16(%rbx)
.Ltmp182:
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_ZSt18__do_uninit_fill_nIPSt6vectorIdSaIdEEmS2_ET_S4_T0_RKT1_
.Ltmp183:
# %bb.5:
	movq	%rax, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB3_9:
	.cfi_def_cfa_offset 32
	movl	$.L.str.19, %edi
	callq	_ZSt20__throw_length_errorPKc
.LBB3_6:
.Ltmp184:
	movq	%rax, %r14
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB3_8
# %bb.7:
	callq	_ZdlPv
.LBB3_8:                                # %_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EED2Ev.exit
	movq	%r14, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end3:
	.size	_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2EmRKS1_RKS2_, .Lfunc_end3-_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2EmRKS1_RKS2_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt6vectorIS_IdSaIdEESaIS1_EEC2EmRKS1_RKS2_,"aG",@progbits,_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2EmRKS1_RKS2_,comdat
	.p2align	2, 0x0
GCC_except_table3:
.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 .Ltmp182-.Lfunc_begin2         #   Call between .Lfunc_begin2 and .Ltmp182
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp182-.Lfunc_begin2         # >> Call Site 2 <<
	.uleb128 .Ltmp183-.Ltmp182              #   Call between .Ltmp182 and .Ltmp183
	.uleb128 .Ltmp184-.Lfunc_begin2         #     jumps to .Ltmp184
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp183-.Lfunc_begin2         # >> Call Site 3 <<
	.uleb128 .Lfunc_end3-.Ltmp183           #   Call between .Ltmp183 and .Lfunc_end3
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end2:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EEC2EmRKS3_RKS4_,"axG",@progbits,_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EEC2EmRKS3_RKS4_,comdat
	.weak	_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EEC2EmRKS3_RKS4_ # -- Begin function _ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EEC2EmRKS3_RKS4_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EEC2EmRKS3_RKS4_,@function
_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EEC2EmRKS3_RKS4_: # @_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EEC2EmRKS3_RKS4_
.Lfunc_begin3:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception3
# %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
	movabsq	$384307168202282326, %rax       # imm = 0x555555555555556
	cmpq	%rax, %rsi
	jae	.LBB4_9
# %bb.1:                                # %_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EE17_S_check_init_lenEmRKS4_.exit
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	testq	%rsi, %rsi
	je	.LBB4_2
# %bb.3:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorISt6vectorIS0_IdSaIdEESaIS2_EEE8allocateEmPKv
	movq	%rax, %rdi
	jmp	.LBB4_4
.LBB4_2:
	xorl	%edi, %edi
.LBB4_4:                                # %_ZNSt12_Vector_baseISt6vectorIS0_IdSaIdEESaIS2_EESaIS4_EEC2EmRKS5_.exit
	movq	%rdi, (%rbx)
	movq	%rdi, 8(%rbx)
	leaq	(%r15,%r15,2), %rax
	leaq	(%rdi,%rax,8), %rax
	movq	%rax, 16(%rbx)
.Ltmp185:
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_ZSt18__do_uninit_fill_nIPSt6vectorIS0_IdSaIdEESaIS2_EEmS4_ET_S6_T0_RKT1_
.Ltmp186:
# %bb.5:
	movq	%rax, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB4_9:
	.cfi_def_cfa_offset 32
	movl	$.L.str.19, %edi
	callq	_ZSt20__throw_length_errorPKc
.LBB4_6:
.Ltmp187:
	movq	%rax, %r14
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB4_8
# %bb.7:
	callq	_ZdlPv
.LBB4_8:                                # %_ZNSt12_Vector_baseISt6vectorIS0_IdSaIdEESaIS2_EESaIS4_EED2Ev.exit
	movq	%r14, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end4:
	.size	_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EEC2EmRKS3_RKS4_, .Lfunc_end4-_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EEC2EmRKS3_RKS4_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EEC2EmRKS3_RKS4_,"aG",@progbits,_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EEC2EmRKS3_RKS4_,comdat
	.p2align	2, 0x0
GCC_except_table4:
.Lexception3:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end3-.Lcst_begin3
.Lcst_begin3:
	.uleb128 .Lfunc_begin3-.Lfunc_begin3    # >> Call Site 1 <<
	.uleb128 .Ltmp185-.Lfunc_begin3         #   Call between .Lfunc_begin3 and .Ltmp185
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp185-.Lfunc_begin3         # >> Call Site 2 <<
	.uleb128 .Ltmp186-.Ltmp185              #   Call between .Ltmp185 and .Ltmp186
	.uleb128 .Ltmp187-.Lfunc_begin3         #     jumps to .Ltmp187
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp186-.Lfunc_begin3         # >> Call Site 3 <<
	.uleb128 .Lfunc_end4-.Ltmp186           #   Call between .Ltmp186 and .Lfunc_end4
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end3:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev,"axG",@progbits,_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev,comdat
	.weak	_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev # -- Begin function _ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev,@function
_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev:    # @_ZNSt6vectorIS_IdSaIdEESaIS1_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	.LBB5_6
# %bb.1:                                # %.lr.ph.i.i.i.preheader
	movq	%rdi, %r14
.LBB5_2:                                # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB5_4
# %bb.3:                                #   in Loop: Header=BB5_2 Depth=1
	callq	_ZdlPv
.LBB5_4:                                # %_ZSt8_DestroyISt6vectorIdSaIdEEEvPT_.exit.i.i.i
                                        #   in Loop: Header=BB5_2 Depth=1
	addq	$24, %rbx
	cmpq	%r15, %rbx
	jne	.LBB5_2
# %bb.5:                                # %_ZSt8_DestroyIPSt6vectorIdSaIdEES2_EvT_S4_RSaIT0_E.exitthread-pre-split
	movq	(%r14), %rbx
.LBB5_6:                                # %_ZSt8_DestroyIPSt6vectorIdSaIdEES2_EvT_S4_RSaIT0_E.exit
	testq	%rbx, %rbx
	je	.LBB5_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
.LBB5_7:                                # %_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_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_end5:
	.size	_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev, .Lfunc_end5-_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EED2Ev,"axG",@progbits,_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EED2Ev,comdat
	.weak	_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EED2Ev # -- Begin function _ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EED2Ev
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EED2Ev,@function
_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EED2Ev: # @_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_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	.LBB6_4
# %bb.1:                                # %.lr.ph.i.i.i.preheader
	movq	%rdi, %r14
.LBB6_2:                                # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev
	addq	$24, %rbx
	cmpq	%r15, %rbx
	jne	.LBB6_2
# %bb.3:                                # %_ZSt8_DestroyIPSt6vectorIS0_IdSaIdEESaIS2_EES4_EvT_S6_RSaIT0_E.exitthread-pre-split
	movq	(%r14), %rbx
.LBB6_4:                                # %_ZSt8_DestroyIPSt6vectorIS0_IdSaIdEESaIS2_EES4_EvT_S6_RSaIT0_E.exit
	testq	%rbx, %rbx
	je	.LBB6_5
# %bb.6:
	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
.LBB6_5:                                # %_ZNSt12_Vector_baseISt6vectorIS0_IdSaIdEESaIS2_EESaIS4_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_end6:
	.size	_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EED2Ev, .Lfunc_end6-_ZNSt6vectorIS_IS_IdSaIdEESaIS1_EESaIS3_EED2Ev
	.cfi_endproc
                                        # -- End function
	.section	.text.__clang_call_terminate,"axG",@progbits,__clang_call_terminate,comdat
	.hidden	__clang_call_terminate          # -- Begin function __clang_call_terminate
	.weak	__clang_call_terminate
	.type	__clang_call_terminate,@function
__clang_call_terminate:                 # @__clang_call_terminate
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	callq	__cxa_begin_catch
	callq	_ZSt9terminatev
.Lfunc_end7:
	.size	__clang_call_terminate, .Lfunc_end7-__clang_call_terminate
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorIdE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorIdE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorIdE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorIdE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorIdE8allocateEmPKv,@function
_ZNSt15__new_allocatorIdE8allocateEmPKv: # @_ZNSt15__new_allocatorIdE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$60, %rax
	jne	.LBB8_1
# %bb.3:
	shlq	$3, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB8_1:
	.cfi_def_cfa_offset 16
	shrq	$61, %rsi
	je	.LBB8_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB8_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end8:
	.size	_ZNSt15__new_allocatorIdE8allocateEmPKv, .Lfunc_end8-_ZNSt15__new_allocatorIdE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorISt6vectorIdSaIdEEE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorISt6vectorIdSaIdEEE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorISt6vectorIdSaIdEEE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorISt6vectorIdSaIdEEE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorISt6vectorIdSaIdEEE8allocateEmPKv,@function
_ZNSt15__new_allocatorISt6vectorIdSaIdEEE8allocateEmPKv: # @_ZNSt15__new_allocatorISt6vectorIdSaIdEEE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movabsq	$384307168202282326, %rax       # imm = 0x555555555555556
	cmpq	%rax, %rsi
	jae	.LBB9_1
# %bb.3:
	shlq	$3, %rsi
	leaq	(%rsi,%rsi,2), %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB9_1:
	.cfi_def_cfa_offset 16
	movabsq	$768614336404564651, %rax       # imm = 0xAAAAAAAAAAAAAAB
	cmpq	%rax, %rsi
	jb	.LBB9_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB9_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end9:
	.size	_ZNSt15__new_allocatorISt6vectorIdSaIdEEE8allocateEmPKv, .Lfunc_end9-_ZNSt15__new_allocatorISt6vectorIdSaIdEEE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt18__do_uninit_fill_nIPSt6vectorIdSaIdEEmS2_ET_S4_T0_RKT1_,"axG",@progbits,_ZSt18__do_uninit_fill_nIPSt6vectorIdSaIdEEmS2_ET_S4_T0_RKT1_,comdat
	.weak	_ZSt18__do_uninit_fill_nIPSt6vectorIdSaIdEEmS2_ET_S4_T0_RKT1_ # -- Begin function _ZSt18__do_uninit_fill_nIPSt6vectorIdSaIdEEmS2_ET_S4_T0_RKT1_
	.type	_ZSt18__do_uninit_fill_nIPSt6vectorIdSaIdEEmS2_ET_S4_T0_RKT1_,@function
_ZSt18__do_uninit_fill_nIPSt6vectorIdSaIdEEmS2_ET_S4_T0_RKT1_: # @_ZSt18__do_uninit_fill_nIPSt6vectorIdSaIdEEmS2_ET_S4_T0_RKT1_
.Lfunc_begin4:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception4
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	je	.LBB10_5
# %bb.1:                                # %.lr.ph.preheader
	movq	%rdx, %r14
	movq	%rsi, %r15
	xorl	%r12d, %r12d
.LBB10_2:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	leaq	(%rbx,%r12), %rdi
.Ltmp188:
	movq	%r14, %rsi
	callq	_ZNSt6vectorIdSaIdEEC2ERKS1_
.Ltmp189:
# %bb.3:                                # %_ZSt10_ConstructISt6vectorIdSaIdEEJRKS2_EEvPT_DpOT0_.exit
                                        #   in Loop: Header=BB10_2 Depth=1
	addq	$24, %r12
	decq	%r15
	jne	.LBB10_2
# %bb.4:                                # %._crit_edge.loopexit
	addq	%r12, %rbx
.LBB10_5:                               # %._crit_edge
	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
.LBB10_6:
	.cfi_def_cfa_offset 48
.Ltmp190:
	movq	%rax, %rdi
	callq	__cxa_begin_catch
	testq	%r12, %r12
	je	.LBB10_10
.LBB10_7:                               # %.lr.ph.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB10_9
# %bb.8:                                #   in Loop: Header=BB10_7 Depth=1
	callq	_ZdlPv
.LBB10_9:                               # %_ZSt8_DestroyISt6vectorIdSaIdEEEvPT_.exit.i.i
                                        #   in Loop: Header=BB10_7 Depth=1
	addq	$24, %rbx
	addq	$-24, %r12
	jne	.LBB10_7
.LBB10_10:                              # %_ZSt8_DestroyIPSt6vectorIdSaIdEEEvT_S4_.exit
.Ltmp191:
	callq	__cxa_rethrow
.Ltmp192:
# %bb.14:
.LBB10_11:
.Ltmp193:
	movq	%rax, %rbx
.Ltmp194:
	callq	__cxa_end_catch
.Ltmp195:
# %bb.12:
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.LBB10_13:
.Ltmp196:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end10:
	.size	_ZSt18__do_uninit_fill_nIPSt6vectorIdSaIdEEmS2_ET_S4_T0_RKT1_, .Lfunc_end10-_ZSt18__do_uninit_fill_nIPSt6vectorIdSaIdEEmS2_ET_S4_T0_RKT1_
	.cfi_endproc
	.section	.gcc_except_table._ZSt18__do_uninit_fill_nIPSt6vectorIdSaIdEEmS2_ET_S4_T0_RKT1_,"aG",@progbits,_ZSt18__do_uninit_fill_nIPSt6vectorIdSaIdEEmS2_ET_S4_T0_RKT1_,comdat
	.p2align	2, 0x0
GCC_except_table10:
.Lexception4:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase0-.Lttbaseref0
.Lttbaseref0:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end4-.Lcst_begin4
.Lcst_begin4:
	.uleb128 .Ltmp188-.Lfunc_begin4         # >> Call Site 1 <<
	.uleb128 .Ltmp189-.Ltmp188              #   Call between .Ltmp188 and .Ltmp189
	.uleb128 .Ltmp190-.Lfunc_begin4         #     jumps to .Ltmp190
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp189-.Lfunc_begin4         # >> Call Site 2 <<
	.uleb128 .Ltmp191-.Ltmp189              #   Call between .Ltmp189 and .Ltmp191
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp191-.Lfunc_begin4         # >> Call Site 3 <<
	.uleb128 .Ltmp192-.Ltmp191              #   Call between .Ltmp191 and .Ltmp192
	.uleb128 .Ltmp193-.Lfunc_begin4         #     jumps to .Ltmp193
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp194-.Lfunc_begin4         # >> Call Site 4 <<
	.uleb128 .Ltmp195-.Ltmp194              #   Call between .Ltmp194 and .Ltmp195
	.uleb128 .Ltmp196-.Lfunc_begin4         #     jumps to .Ltmp196
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp195-.Lfunc_begin4         # >> Call Site 5 <<
	.uleb128 .Lfunc_end10-.Ltmp195          #   Call between .Ltmp195 and .Lfunc_end10
	.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
.Lttbase0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorIdSaIdEEC2ERKS1_,"axG",@progbits,_ZNSt6vectorIdSaIdEEC2ERKS1_,comdat
	.weak	_ZNSt6vectorIdSaIdEEC2ERKS1_    # -- Begin function _ZNSt6vectorIdSaIdEEC2ERKS1_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIdSaIdEEC2ERKS1_,@function
_ZNSt6vectorIdSaIdEEC2ERKS1_:           # @_ZNSt6vectorIdSaIdEEC2ERKS1_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rsi), %rax
	movq	(%rsi), %rcx
	movq	%rax, %r12
	subq	%rcx, %r12
	sarq	$3, %r12
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	cmpq	%rcx, %rax
	je	.LBB11_1
# %bb.2:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIdE8allocateEmPKv
	movq	%rax, %r15
	jmp	.LBB11_3
.LBB11_1:
	xorl	%r15d, %r15d
.LBB11_3:
	movq	%r15, (%rbx)
	movq	%r15, 8(%rbx)
	leaq	(%r15,%r12,8), %rax
	movq	%rax, 16(%rbx)
	movq	(%r14), %rsi
	movq	8(%r14), %r14
	subq	%rsi, %r14
	cmpq	$9, %r14
	jl	.LBB11_5
# %bb.4:
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	memmove@PLT
.LBB11_7:
	addq	%r14, %r15
	movq	%r15, 8(%rbx)
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB11_5:
	.cfi_def_cfa_offset 48
	cmpq	$8, %r14
	jne	.LBB11_7
# %bb.6:
	movsd	(%rsi), %xmm0                   # xmm0 = mem[0],zero
	movsd	%xmm0, (%r15)
	jmp	.LBB11_7
.Lfunc_end11:
	.size	_ZNSt6vectorIdSaIdEEC2ERKS1_, .Lfunc_end11-_ZNSt6vectorIdSaIdEEC2ERKS1_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorISt6vectorIS0_IdSaIdEESaIS2_EEE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorISt6vectorIS0_IdSaIdEESaIS2_EEE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorISt6vectorIS0_IdSaIdEESaIS2_EEE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorISt6vectorIS0_IdSaIdEESaIS2_EEE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorISt6vectorIS0_IdSaIdEESaIS2_EEE8allocateEmPKv,@function
_ZNSt15__new_allocatorISt6vectorIS0_IdSaIdEESaIS2_EEE8allocateEmPKv: # @_ZNSt15__new_allocatorISt6vectorIS0_IdSaIdEESaIS2_EEE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movabsq	$384307168202282326, %rax       # imm = 0x555555555555556
	cmpq	%rax, %rsi
	jae	.LBB12_1
# %bb.3:
	shlq	$3, %rsi
	leaq	(%rsi,%rsi,2), %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB12_1:
	.cfi_def_cfa_offset 16
	movabsq	$768614336404564651, %rax       # imm = 0xAAAAAAAAAAAAAAB
	cmpq	%rax, %rsi
	jb	.LBB12_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB12_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end12:
	.size	_ZNSt15__new_allocatorISt6vectorIS0_IdSaIdEESaIS2_EEE8allocateEmPKv, .Lfunc_end12-_ZNSt15__new_allocatorISt6vectorIS0_IdSaIdEESaIS2_EEE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt18__do_uninit_fill_nIPSt6vectorIS0_IdSaIdEESaIS2_EEmS4_ET_S6_T0_RKT1_,"axG",@progbits,_ZSt18__do_uninit_fill_nIPSt6vectorIS0_IdSaIdEESaIS2_EEmS4_ET_S6_T0_RKT1_,comdat
	.weak	_ZSt18__do_uninit_fill_nIPSt6vectorIS0_IdSaIdEESaIS2_EEmS4_ET_S6_T0_RKT1_ # -- Begin function _ZSt18__do_uninit_fill_nIPSt6vectorIS0_IdSaIdEESaIS2_EEmS4_ET_S6_T0_RKT1_
	.type	_ZSt18__do_uninit_fill_nIPSt6vectorIS0_IdSaIdEESaIS2_EEmS4_ET_S6_T0_RKT1_,@function
_ZSt18__do_uninit_fill_nIPSt6vectorIS0_IdSaIdEESaIS2_EEmS4_ET_S6_T0_RKT1_: # @_ZSt18__do_uninit_fill_nIPSt6vectorIS0_IdSaIdEESaIS2_EEmS4_ET_S6_T0_RKT1_
.Lfunc_begin5:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception5
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	je	.LBB13_5
# %bb.1:                                # %.lr.ph.preheader
	movq	%rdx, %r14
	movq	%rsi, %r15
	xorl	%r12d, %r12d
.LBB13_2:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	leaq	(%rbx,%r12), %rdi
.Ltmp197:
	movq	%r14, %rsi
	callq	_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2ERKS3_
.Ltmp198:
# %bb.3:                                # %_ZSt10_ConstructISt6vectorIS0_IdSaIdEESaIS2_EEJRKS4_EEvPT_DpOT0_.exit
                                        #   in Loop: Header=BB13_2 Depth=1
	addq	$24, %r12
	decq	%r15
	jne	.LBB13_2
# %bb.4:                                # %._crit_edge.loopexit
	addq	%r12, %rbx
.LBB13_5:                               # %._crit_edge
	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
.LBB13_6:
	.cfi_def_cfa_offset 48
.Ltmp199:
	movq	%rax, %rdi
	callq	__cxa_begin_catch
	testq	%r12, %r12
	je	.LBB13_8
.LBB13_7:                               # %.lr.ph.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev
	addq	$24, %rbx
	addq	$-24, %r12
	jne	.LBB13_7
.LBB13_8:                               # %_ZSt8_DestroyIPSt6vectorIS0_IdSaIdEESaIS2_EEEvT_S6_.exit
.Ltmp200:
	callq	__cxa_rethrow
.Ltmp201:
# %bb.12:
.LBB13_9:
.Ltmp202:
	movq	%rax, %rbx
.Ltmp203:
	callq	__cxa_end_catch
.Ltmp204:
# %bb.10:
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.LBB13_11:
.Ltmp205:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end13:
	.size	_ZSt18__do_uninit_fill_nIPSt6vectorIS0_IdSaIdEESaIS2_EEmS4_ET_S6_T0_RKT1_, .Lfunc_end13-_ZSt18__do_uninit_fill_nIPSt6vectorIS0_IdSaIdEESaIS2_EEmS4_ET_S6_T0_RKT1_
	.cfi_endproc
	.section	.gcc_except_table._ZSt18__do_uninit_fill_nIPSt6vectorIS0_IdSaIdEESaIS2_EEmS4_ET_S6_T0_RKT1_,"aG",@progbits,_ZSt18__do_uninit_fill_nIPSt6vectorIS0_IdSaIdEESaIS2_EEmS4_ET_S6_T0_RKT1_,comdat
	.p2align	2, 0x0
GCC_except_table13:
.Lexception5:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase1-.Lttbaseref1
.Lttbaseref1:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end5-.Lcst_begin5
.Lcst_begin5:
	.uleb128 .Ltmp197-.Lfunc_begin5         # >> Call Site 1 <<
	.uleb128 .Ltmp198-.Ltmp197              #   Call between .Ltmp197 and .Ltmp198
	.uleb128 .Ltmp199-.Lfunc_begin5         #     jumps to .Ltmp199
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp198-.Lfunc_begin5         # >> Call Site 2 <<
	.uleb128 .Ltmp200-.Ltmp198              #   Call between .Ltmp198 and .Ltmp200
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp200-.Lfunc_begin5         # >> Call Site 3 <<
	.uleb128 .Ltmp201-.Ltmp200              #   Call between .Ltmp200 and .Ltmp201
	.uleb128 .Ltmp202-.Lfunc_begin5         #     jumps to .Ltmp202
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp203-.Lfunc_begin5         # >> Call Site 4 <<
	.uleb128 .Ltmp204-.Ltmp203              #   Call between .Ltmp203 and .Ltmp204
	.uleb128 .Ltmp205-.Lfunc_begin5         #     jumps to .Ltmp205
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp204-.Lfunc_begin5         # >> Call Site 5 <<
	.uleb128 .Lfunc_end13-.Ltmp204          #   Call between .Ltmp204 and .Lfunc_end13
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end5:
	.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._ZNSt6vectorIS_IdSaIdEESaIS1_EEC2ERKS3_,"axG",@progbits,_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2ERKS3_,comdat
	.weak	_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2ERKS3_ # -- Begin function _ZNSt6vectorIS_IdSaIdEESaIS1_EEC2ERKS3_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2ERKS3_,@function
_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2ERKS3_: # @_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2ERKS3_
.Lfunc_begin6:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception6
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rsi), %rax
	movq	(%rsi), %rcx
	movq	%rax, %rdx
	subq	%rcx, %rdx
	sarq	$3, %rdx
	movabsq	$-6148914691236517205, %r15     # imm = 0xAAAAAAAAAAAAAAAB
	imulq	%rdx, %r15
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	cmpq	%rcx, %rax
	je	.LBB14_1
# %bb.2:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorISt6vectorIdSaIdEEE8allocateEmPKv
	movq	%rax, %rdx
	jmp	.LBB14_3
.LBB14_1:
	xorl	%edx, %edx
.LBB14_3:
	movq	%rdx, (%rbx)
	movq	%rdx, 8(%rbx)
	leaq	(%r15,%r15,2), %rax
	leaq	(%rdx,%rax,8), %rax
	movq	%rax, 16(%rbx)
	movq	(%r14), %rdi
	movq	8(%r14), %rsi
.Ltmp206:
	callq	_ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKSt6vectorIdSaIdEES2_IS4_SaIS4_EEEEPS4_ET0_T_SC_SB_
.Ltmp207:
# %bb.4:                                # %_ZSt22__uninitialized_copy_aIN9__gnu_cxx17__normal_iteratorIPKSt6vectorIdSaIdEES2_IS4_SaIS4_EEEEPS4_S4_ET0_T_SC_SB_RSaIT1_E.exit
	movq	%rax, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB14_5:
	.cfi_def_cfa_offset 32
.Ltmp208:
	movq	%rax, %r14
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB14_7
# %bb.6:
	callq	_ZdlPv
.LBB14_7:                               # %_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EED2Ev.exit
	movq	%r14, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end14:
	.size	_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2ERKS3_, .Lfunc_end14-_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2ERKS3_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt6vectorIS_IdSaIdEESaIS1_EEC2ERKS3_,"aG",@progbits,_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2ERKS3_,comdat
	.p2align	2, 0x0
GCC_except_table14:
.Lexception6:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end6-.Lcst_begin6
.Lcst_begin6:
	.uleb128 .Lfunc_begin6-.Lfunc_begin6    # >> Call Site 1 <<
	.uleb128 .Ltmp206-.Lfunc_begin6         #   Call between .Lfunc_begin6 and .Ltmp206
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp206-.Lfunc_begin6         # >> Call Site 2 <<
	.uleb128 .Ltmp207-.Ltmp206              #   Call between .Ltmp206 and .Ltmp207
	.uleb128 .Ltmp208-.Lfunc_begin6         #     jumps to .Ltmp208
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp207-.Lfunc_begin6         # >> Call Site 3 <<
	.uleb128 .Lfunc_end14-.Ltmp207          #   Call between .Ltmp207 and .Lfunc_end14
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end6:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKSt6vectorIdSaIdEES2_IS4_SaIS4_EEEEPS4_ET0_T_SC_SB_,"axG",@progbits,_ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKSt6vectorIdSaIdEES2_IS4_SaIS4_EEEEPS4_ET0_T_SC_SB_,comdat
	.weak	_ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKSt6vectorIdSaIdEES2_IS4_SaIS4_EEEEPS4_ET0_T_SC_SB_ # -- Begin function _ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKSt6vectorIdSaIdEES2_IS4_SaIS4_EEEEPS4_ET0_T_SC_SB_
	.type	_ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKSt6vectorIdSaIdEES2_IS4_SaIS4_EEEEPS4_ET0_T_SC_SB_,@function
_ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKSt6vectorIdSaIdEES2_IS4_SaIS4_EEEEPS4_ET0_T_SC_SB_: # @_ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKSt6vectorIdSaIdEES2_IS4_SaIS4_EEEEPS4_ET0_T_SC_SB_
.Lfunc_begin7:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception7
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	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	.LBB15_5
# %bb.1:                                # %.lr.ph.preheader
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%r12d, %r12d
.LBB15_2:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	leaq	(%rbx,%r12), %rdi
	leaq	(%r15,%r12), %rsi
.Ltmp209:
	callq	_ZNSt6vectorIdSaIdEEC2ERKS1_
.Ltmp210:
# %bb.3:                                # %_ZSt10_ConstructISt6vectorIdSaIdEEJRKS2_EEvPT_DpOT0_.exit
                                        #   in Loop: Header=BB15_2 Depth=1
	leaq	(%r15,%r12), %rax
	addq	$24, %rax
	addq	$24, %r12
	cmpq	%r14, %rax
	jne	.LBB15_2
# %bb.4:                                # %._crit_edge.loopexit
	addq	%r12, %rbx
.LBB15_5:                               # %._crit_edge
	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
.LBB15_6:
	.cfi_def_cfa_offset 48
.Ltmp211:
	movq	%rax, %rdi
	callq	__cxa_begin_catch
	testq	%r12, %r12
	je	.LBB15_10
.LBB15_7:                               # %.lr.ph.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB15_9
# %bb.8:                                #   in Loop: Header=BB15_7 Depth=1
	callq	_ZdlPv
.LBB15_9:                               # %_ZSt8_DestroyISt6vectorIdSaIdEEEvPT_.exit.i.i
                                        #   in Loop: Header=BB15_7 Depth=1
	addq	$24, %rbx
	addq	$-24, %r12
	jne	.LBB15_7
.LBB15_10:                              # %_ZSt8_DestroyIPSt6vectorIdSaIdEEEvT_S4_.exit
.Ltmp212:
	callq	__cxa_rethrow
.Ltmp213:
# %bb.14:
.LBB15_11:
.Ltmp214:
	movq	%rax, %rbx
.Ltmp215:
	callq	__cxa_end_catch
.Ltmp216:
# %bb.12:
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.LBB15_13:
.Ltmp217:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end15:
	.size	_ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKSt6vectorIdSaIdEES2_IS4_SaIS4_EEEEPS4_ET0_T_SC_SB_, .Lfunc_end15-_ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKSt6vectorIdSaIdEES2_IS4_SaIS4_EEEEPS4_ET0_T_SC_SB_
	.cfi_endproc
	.section	.gcc_except_table._ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKSt6vectorIdSaIdEES2_IS4_SaIS4_EEEEPS4_ET0_T_SC_SB_,"aG",@progbits,_ZSt16__do_uninit_copyIN9__gnu_cxx17__normal_iteratorIPKSt6vectorIdSaIdEES2_IS4_SaIS4_EEEEPS4_ET0_T_SC_SB_,comdat
	.p2align	2, 0x0
GCC_except_table15:
.Lexception7:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase2-.Lttbaseref2
.Lttbaseref2:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end7-.Lcst_begin7
.Lcst_begin7:
	.uleb128 .Ltmp209-.Lfunc_begin7         # >> Call Site 1 <<
	.uleb128 .Ltmp210-.Ltmp209              #   Call between .Ltmp209 and .Ltmp210
	.uleb128 .Ltmp211-.Lfunc_begin7         #     jumps to .Ltmp211
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp210-.Lfunc_begin7         # >> Call Site 2 <<
	.uleb128 .Ltmp212-.Ltmp210              #   Call between .Ltmp210 and .Ltmp212
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp212-.Lfunc_begin7         # >> Call Site 3 <<
	.uleb128 .Ltmp213-.Ltmp212              #   Call between .Ltmp212 and .Ltmp213
	.uleb128 .Ltmp214-.Lfunc_begin7         #     jumps to .Ltmp214
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp215-.Lfunc_begin7         # >> Call Site 4 <<
	.uleb128 .Ltmp216-.Ltmp215              #   Call between .Ltmp215 and .Ltmp216
	.uleb128 .Ltmp217-.Lfunc_begin7         #     jumps to .Ltmp217
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp216-.Lfunc_begin7         # >> Call Site 5 <<
	.uleb128 .Lfunc_end15-.Ltmp216          #   Call between .Ltmp216 and .Lfunc_end15
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end7:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase2:
	.p2align	2, 0x0
                                        # -- 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:
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	movq	__hip_gpubin_handle(%rip), %rdi
	testq	%rdi, %rdi
	jne	.LBB16_2
# %bb.1:
	movl	$__hip_fatbin_wrapper, %edi
	callq	__hipRegisterFatBinary
	movq	%rax, %rdi
	movq	%rax, __hip_gpubin_handle(%rip)
.LBB16_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z9intDriverddiPKdPd, %esi
	movl	$.L__unnamed_1, %edx
	movl	$.L__unnamed_1, %ecx
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	movl	$__hip_module_dtor, %edi
	addq	$40, %rsp
	.cfi_def_cfa_offset 8
	jmp	atexit                          # TAILCALL
.Lfunc_end16:
	.size	__hip_module_ctor, .Lfunc_end16-__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	.LBB17_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
.LBB17_2:
	retq
.Lfunc_end17:
	.size	__hip_module_dtor, .Lfunc_end17-__hip_module_dtor
	.cfi_endproc
                                        # -- End function
	.type	_Z9intDriverddiPKdPd,@object    # @_Z9intDriverddiPKdPd
	.section	.rodata,"a",@progbits
	.globl	_Z9intDriverddiPKdPd
	.p2align	3, 0x0
_Z9intDriverddiPKdPd:
	.quad	_Z24__device_stub__intDriverddiPKdPd
	.size	_Z9intDriverddiPKdPd, 8

	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	"parameters_3_e2.csv"
	.size	.L.str, 20

	.type	.L.str.1,@object                # @.str.1
.L.str.1:
	.asciz	"Reading parameters"
	.size	.L.str.1, 19

	.type	.L.str.2,@object                # @.str.2
.L.str.2:
	.asciz	"Number of samples read > numODE"
	.size	.L.str.2, 32

	.type	.L.str.3,@object                # @.str.3
.L.str.3:
	.asciz	"Number of parameters read > NPAR"
	.size	.L.str.3, 33

	.type	.L.str.4,@object                # @.str.4
.L.str.4:
	.asciz	"Done reading parameters"
	.size	.L.str.4, 24

	.type	.L.str.5,@object                # @.str.5
.L.str.5:
	.asciz	"GPU kernel calls started"
	.size	.L.str.5, 25

	.type	.L.str.6,@object                # @.str.6
.L.str.6:
	.asciz	"Progress:\t"
	.size	.L.str.6, 11

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

	.type	.L.str.8,@object                # @.str.8
.L.str.8:
	.asciz	"!\n!\n!\nDone!!!"
	.size	.L.str.8, 14

	.type	.L.str.9,@object                # @.str.9
.L.str.9:
	.asciz	"GPU execution took "
	.size	.L.str.9, 20

	.type	.L.str.10,@object               # @.str.10
.L.str.10:
	.asciz	" seconds to execute."
	.size	.L.str.10, 21

	.type	.L.str.11,@object               # @.str.11
.L.str.11:
	.asciz	"Printing files to RKCK_parallel_out.csv"
	.size	.L.str.11, 40

	.type	.L.str.12,@object               # @.str.12
.L.str.12:
	.asciz	" x "
	.size	.L.str.12, 4

	.type	.L.str.13,@object               # @.str.13
.L.str.13:
	.asciz	"RKCK_parallel_out.csv"
	.size	.L.str.13, 22

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

	.type	.L.str.15,@object               # @.str.15
.L.str.15:
	.asciz	"Writing file took "
	.size	.L.str.15, 19

	.type	.L.str.16,@object               # @.str.16
.L.str.16:
	.asciz	" seconds."
	.size	.L.str.16, 10

	.type	.L.str.17,@object               # @.str.17
.L.str.17:
	.asciz	"stof"
	.size	.L.str.17, 5

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

	.type	.L__unnamed_1,@object           # @0
.L__unnamed_1:
	.asciz	"_Z9intDriverddiPKdPd"
	.size	.L__unnamed_1, 21

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

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

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym _Z24__device_stub__intDriverddiPKdPd
	.addrsig_sym __gxx_personality_v0
	.addrsig_sym __hip_module_ctor
	.addrsig_sym __hip_module_dtor
	.addrsig_sym _Unwind_Resume
	.addrsig_sym _Z9intDriverddiPKdPd
	.addrsig_sym _ZSt4cout
	.addrsig_sym __hip_fatbin
	.addrsig_sym __hip_fatbin_wrapper
	.addrsig_sym __hip_cuid_

	.text
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.protected	_Z9intDriverddiPKdPd    ; -- Begin function _Z9intDriverddiPKdPd
	.globl	_Z9intDriverddiPKdPd
	.p2align	8
	.type	_Z9intDriverddiPKdPd,@function
_Z9intDriverddiPKdPd:                   ; @_Z9intDriverddiPKdPd
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x34
	s_load_b32 s33, 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[24:25], null, s15, s2, v[0:1]
	s_mov_b32 s2, exec_lo
	v_cmpx_gt_i32_e64 s33, v24
	s_cbranch_execz .LBB0_41
; %bb.1:                                ; %.preheader36.preheader
	s_load_b128 s[4:7], s[0:1], 0x18
	v_mov_b32_e32 v0, v24
	s_mov_b64 s[8:9], 0
                                        ; implicit-def: $vgpr18_vgpr19
.LBB0_2:                                ; %.preheader36
                                        ; =>This Inner Loop Header: Depth=1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v1, 31, v0
	s_cmp_eq_u32 s8, 2
	v_lshlrev_b64 v[1:2], 3, v[0:1]
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v1, vcc_lo, s6, v1
	v_add_co_ci_u32_e32 v2, vcc_lo, s7, v2, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s8, 1
	s_cselect_b32 s2, -1, 0
	global_load_b64 v[1:2], v[1:2], off
	s_cmp_eq_u32 s8, 0
	v_add_nc_u32_e32 v0, s33, v0
	s_cselect_b32 s3, -1, 0
	s_add_u32 s8, s8, 1
	s_addc_u32 s9, s9, 0
	s_cmp_lg_u32 s8, 3
	s_waitcnt vmcnt(0)
	v_dual_cndmask_b32 v23, v23, v2 :: v_dual_cndmask_b32 v22, v22, v1
	v_cndmask_b32_e64 v21, v21, v2, s2
	v_cndmask_b32_e64 v20, v20, v1, s2
	v_cndmask_b32_e64 v19, v19, v2, s3
	v_cndmask_b32_e64 v18, v18, v1, s3
	s_cbranch_scc1 .LBB0_2
; %bb.3:                                ; %.preheader.preheader
	v_mov_b32_e32 v0, v24
	s_mov_b64 s[8:9], 0
                                        ; implicit-def: $vgpr25_vgpr26
                                        ; implicit-def: $vgpr27_vgpr28
                                        ; implicit-def: $vgpr29_vgpr30
.LBB0_4:                                ; %.preheader
                                        ; =>This Inner Loop Header: Depth=1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v1, 31, v0
	s_cmp_eq_u32 s8, 0
	v_lshlrev_b64 v[1:2], 3, v[0:1]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v1, vcc_lo, s4, v1
	v_add_co_ci_u32_e32 v2, vcc_lo, s5, v2, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s8, 1
	s_cselect_b32 s2, -1, 0
	global_load_b64 v[1:2], v[1:2], off
	s_cmp_eq_u32 s8, 2
	v_add_nc_u32_e32 v0, s33, v0
	s_cselect_b32 s3, -1, 0
	s_add_u32 s8, s8, 1
	s_addc_u32 s9, s9, 0
	s_cmp_eq_u32 s8, 3
	s_waitcnt vmcnt(0)
	v_dual_cndmask_b32 v25, v25, v1 :: v_dual_cndmask_b32 v26, v26, v2
	v_cndmask_b32_e64 v28, v28, v2, s2
	v_cndmask_b32_e64 v27, v27, v1, s2
	v_cndmask_b32_e64 v30, v30, v2, s3
	v_cndmask_b32_e64 v29, v29, v1, s3
	s_cbranch_scc0 .LBB0_4
; %bb.5:
	s_load_b128 s[8:11], s[0:1], 0x0
	s_waitcnt lgkmcnt(0)
	v_cmp_nlt_f64_e64 s0, s[8:9], s[10:11]
	s_delay_alu instid0(VALU_DEP_1)
	s_and_b32 vcc_lo, exec_lo, s0
	s_cbranch_vccnz .LBB0_39
; %bb.6:                                ; %.lr.ph.i
	v_add_f64 v[31:32], s[10:11], -s[8:9]
	v_dual_mov_b32 v34, s9 :: v_dual_mov_b32 v33, s8
	v_mov_b32_e32 v75, 0x3ff00000
	v_mov_b32_e32 v35, 0
	s_mov_b32 s8, 0x9999999a
	s_mov_b32 s12, 0xcccccccd
	s_mov_b32 s14, 0x33333333
	s_mov_b32 s20, 0x84bda12f
	s_mov_b32 s22, 0x2f684bda
	s_mov_b32 s26, 0xed097b42
	s_mov_b32 s28, 0x12f684be
	s_mov_b32 s30, 0x5ed097b4
	s_mov_b32 s34, 0x43b990ee
	s_mov_b32 s36, 0x2e2bb280
	s_mov_b32 s38, 0x76166929
	s_mov_b32 s40, 0x85dab4b0
	s_mov_b32 s42, 0xda12f685
	s_mov_b32 s44, 0x747c9d1f
	s_mov_b32 s46, 0x97b425ed
	s_mov_b32 s48, 0x92492492
	s_mov_b32 s50, 0xfeebc2a0
	s_mov_b32 s52, 0xd9d7bdbb
	s_mov_b32 s60, 0x55555555
	s_mov_b32 s68, 0xcfa74449
	s_mov_b32 s70, 0x71bf3c30
	s_mov_b32 s72, 0x1c7792ce
	s_mov_b32 s74, 0x924920da
	s_mov_b32 s76, 0x9999999c
	s_mov_b32 s62, 0xfefa39ef
	s_mov_b32 s64, 0x3b39803f
	s_mov_b32 s82, 0xd5df274d
	s_mov_b32 s84, 0x652b82fe
	s_mov_b32 s86, 0xfca7ab0c
	s_mov_b32 s88, 0x6a5dcb37
	s_mov_b32 s90, 0x623fde64
	s_mov_b32 s92, 0x7c89e6b0
	s_mov_b32 s94, 0x14761f6e
	s_delay_alu instid0(VALU_DEP_4)
	v_mul_f64 v[41:42], |v[31:32]|, 0.5
	s_mov_b32 s96, 0x1852b7b0
	s_mov_b32 s98, 0x11122322
	s_mov_b32 s100, 0x555502a1
	s_mov_b32 s102, 0x55555511
	s_mov_b32 s54, 11
	s_mov_b32 s104, 0
	s_mov_b32 s9, 0x3fc99999
	s_mov_b32 s13, 0x3fcccccc
	s_mov_b32 s15, 0x3fb33333
	s_mov_b32 s5, 0xbfeccccc
	s_mov_b32 s17, 0x3fd33333
	s_mov_b32 s19, 0x3ff33333
	s_mov_b32 s21, 0xbfca12f6
	s_mov_b32 s23, 0xc004bda1
	s_mov_b32 s25, 0x3ff4bda1
	s_mov_b32 s27, 0x3f9e3425
	s_mov_b32 s29, 0x3fa54bda
	s_mov_b32 s31, 0x3fd99f42
	s_mov_b32 s35, 0x3fb90ee6
	s_mov_b32 s37, 0x3fd9c3d0
	s_mov_b32 s39, 0x3fcaef9f
	s_mov_b32 s41, 0x3fd280a6
	s_mov_b32 s43, 0x3fba284b
	s_mov_b32 s45, 0x3fd891f2
	s_mov_b32 s47, 0x3fcf4ed0
	s_mov_b32 s49, 0x3f93c924
	s_mov_b32 s51, 0x39b4484b
	s_mov_b32 s53, 0x3ddb7cdf
	s_mov_b32 s57, 0x3feccccc
	s_mov_b32 s61, 0x3fe55555
	s_mov_b32 s69, 0x3fc3b13b
	s_mov_b32 s71, 0x3fc745d1
	s_mov_b32 s73, 0x3fcc71c7
	s_mov_b32 s75, 0x3fd24924
	s_mov_b32 s77, 0x3fd99999
	s_mov_b32 s63, 0x3fe62e42
	s_mov_b32 s65, 0x3c7abc9e
	s_mov_b32 s83, 0x3c8543b0
	s_mov_b32 s85, 0x3ff71547
	s_mov_b32 s87, 0x3e928af3
	s_mov_b32 s89, 0x3e5ade15
	s_mov_b32 s91, 0x3ec71dee
	s_mov_b32 s93, 0x3efa0199
	s_mov_b32 s95, 0x3f2a01a0
	s_mov_b32 s97, 0x3f56c16c
	s_mov_b32 s99, 0x3f811111
	s_mov_b32 s101, 0x3fa55555
	s_mov_b32 s103, 0x3fc55555
	s_mov_b32 s55, 0x3fe00000
	s_mov_b32 s59, 0xbfe55555
	s_mov_b32 s79, 0xbfe62e42
	s_mov_b32 s81, 0xbc7abc9e
	s_mov_b32 s67, 0x3fb99999
                                        ; implicit-def: $vgpr0_vgpr1_vgpr2_vgpr3_vgpr4_vgpr5
                                        ; implicit-def: $vgpr6_vgpr7_vgpr8_vgpr9_vgpr10_vgpr11
.LBB0_7:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
                                        ;     Child Loop BB0_14 Depth 2
                                        ;     Child Loop BB0_16 Depth 2
                                        ;     Child Loop BB0_18 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
                                        ;     Child Loop BB0_28 Depth 2
	v_dual_mov_b32 v12, v18 :: v_dual_mov_b32 v13, v19
	v_dual_mov_b32 v14, v20 :: v_dual_mov_b32 v15, v21
	v_dual_mov_b32 v16, v22 :: v_dual_mov_b32 v17, v23
	v_add_f64 v[18:19], s[10:11], -v[33:34]
	v_max_f64 v[20:21], v[41:42], v[41:42]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_3) | instid1(VALU_DEP_4)
	v_add_f64 v[22:23], v[14:15], -v[12:13]
	s_mov_b64 s[2:3], 0
	v_add_f64 v[39:40], v[27:28], -v[16:17]
	v_mul_f64 v[41:42], v[29:30], v[16:17]
                                        ; implicit-def: $vgpr55_vgpr56
	v_min_f64 v[37:38], v[18:19], v[20:21]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_mul_f64 v[22:23], v[25:26], v[22:23]
                                        ; implicit-def: $vgpr16_vgpr17_vgpr18_vgpr19_vgpr20_vgpr21
                                        ; implicit-def: $vgpr16_vgpr17_vgpr18_vgpr19_vgpr20_vgpr21
	v_fma_f64 v[39:40], v[12:13], v[39:40], -v[14:15]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[41:42], v[14:15], v[12:13], -v[41:42]
	v_mul_f64 v[43:44], v[22:23], v[37:38]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_mul_f64 v[45:46], v[37:38], v[39:40]
	v_mul_f64 v[47:48], v[41:42], v[37:38]
.LBB0_8:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_cmp_eq_u32 s2, 1
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s2, 2
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_3) | instid1(VALU_DEP_2)
	v_dual_cndmask_b32 v36, v44, v46 :: v_dual_cndmask_b32 v49, v43, v45
	s_cselect_b32 s0, -1, 0
	s_cmp_eq_u32 s2, 0
	v_cndmask_b32_e32 v51, v12, v14, vcc_lo
	v_cndmask_b32_e64 v50, v36, v48, s0
	v_cndmask_b32_e32 v36, v13, v15, vcc_lo
	v_cndmask_b32_e64 v49, v49, v47, s0
	s_cselect_b32 s1, -1, 0
	s_add_u32 s2, s2, 1
	v_cndmask_b32_e64 v51, v51, v16, s0
	v_cndmask_b32_e64 v52, v36, v17, s0
	s_addc_u32 s3, s3, 0
	s_cmp_eq_u32 s2, 3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[49:50], v[49:50], s[8:9], v[51:52]
	v_cndmask_b32_e64 v21, v21, v50, s0
	s_delay_alu instid0(VALU_DEP_2)
	v_cndmask_b32_e64 v20, v20, v49, s0
	v_dual_cndmask_b32 v19, v19, v50 :: v_dual_cndmask_b32 v18, v18, v49
	v_cndmask_b32_e64 v56, v56, v50, s1
	v_cndmask_b32_e64 v55, v55, v49, s1
	s_cbranch_scc0 .LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_3) | instid1(VALU_DEP_3)
	v_add_f64 v[49:50], v[18:19], -v[55:56]
	v_add_f64 v[51:52], v[27:28], -v[20:21]
	v_mul_f64 v[53:54], v[29:30], v[20:21]
	s_mov_b64 s[2:3], 0
	v_mul_f64 v[49:50], v[25:26], v[49:50]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[51:52], v[55:56], v[51:52], -v[18:19]
	v_fma_f64 v[53:54], v[55:56], v[18:19], -v[53:54]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_mul_f64 v[49:50], v[37:38], v[49:50]
	v_mul_f64 v[51:52], v[37:38], v[51:52]
	s_delay_alu instid0(VALU_DEP_3)
	v_mul_f64 v[53:54], v[37:38], v[53:54]
.LBB0_10:                               ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_cmp_eq_u32 s2, 1
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s2, 2
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_3) | instid1(VALU_DEP_2)
	v_dual_cndmask_b32 v36, v50, v52 :: v_dual_cndmask_b32 v57, v49, v51
	s_cselect_b32 s0, -1, 0
	s_cmp_eq_u32 s2, 0
	v_cndmask_b32_e32 v59, v43, v45, vcc_lo
	v_cndmask_b32_e64 v58, v36, v54, s0
	s_delay_alu instid0(VALU_DEP_4)
	v_cndmask_b32_e64 v57, v57, v53, s0
	v_cndmask_b32_e32 v36, v44, v46, vcc_lo
	s_cselect_b32 s1, -1, 0
	s_add_u32 s2, s2, 1
	v_cndmask_b32_e64 v59, v59, v47, s0
	v_mul_f64 v[57:58], v[57:58], s[12:13]
	v_cndmask_b32_e64 v60, v36, v48, s0
	v_cndmask_b32_e32 v36, v13, v15, vcc_lo
	s_addc_u32 s3, s3, 0
	s_cmp_eq_u32 s2, 3
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_2)
	v_fma_f64 v[57:58], v[59:60], s[14:15], v[57:58]
	v_cndmask_b32_e32 v59, v12, v14, vcc_lo
	v_cndmask_b32_e64 v60, v36, v17, s0
	v_cndmask_b32_e64 v59, v59, v16, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[57:58], v[59:60], v[57:58]
	v_cndmask_b32_e64 v21, v21, v58, s0
	s_delay_alu instid0(VALU_DEP_2)
	v_cndmask_b32_e64 v20, v20, v57, s0
	v_dual_cndmask_b32 v19, v19, v58 :: v_dual_cndmask_b32 v18, v18, v57
	v_cndmask_b32_e64 v56, v56, v58, s1
	v_cndmask_b32_e64 v55, v55, v57, s1
	s_cbranch_scc0 .LBB0_10
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_3) | instid1(VALU_DEP_3)
	v_add_f64 v[57:58], v[18:19], -v[55:56]
	v_add_f64 v[59:60], v[27:28], -v[20:21]
	v_mul_f64 v[61:62], v[29:30], v[20:21]
	s_mov_b64 s[2:3], 0
	v_mul_f64 v[57:58], v[25:26], v[57:58]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[59:60], v[55:56], v[59:60], -v[18:19]
	v_fma_f64 v[61:62], v[55:56], v[18:19], -v[61:62]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_mul_f64 v[57:58], v[37:38], v[57:58]
	v_mul_f64 v[59:60], v[37:38], v[59:60]
	s_delay_alu instid0(VALU_DEP_3)
	v_mul_f64 v[61:62], v[37:38], v[61:62]
.LBB0_12:                               ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_cmp_eq_u32 s2, 1
	s_mov_b32 s4, s12
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s2, 2
	v_dual_cndmask_b32 v36, v50, v52 :: v_dual_cndmask_b32 v63, v49, v51
	s_cselect_b32 s0, -1, 0
	s_mov_b32 s16, s14
	s_mov_b32 s18, s14
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_3) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v64, v36, v54, s0
	v_cndmask_b32_e64 v63, v63, v53, s0
	v_dual_cndmask_b32 v36, v44, v46 :: v_dual_cndmask_b32 v65, v43, v45
	s_cmp_eq_u32 s2, 0
	v_mul_f64 v[63:64], v[63:64], s[4:5]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v66, v36, v48, s0
	v_cndmask_b32_e64 v65, v65, v47, s0
	v_cndmask_b32_e32 v36, v58, v60, vcc_lo
	s_cselect_b32 s1, -1, 0
	s_add_u32 s2, s2, 1
	s_addc_u32 s3, s3, 0
	s_cmp_eq_u32 s2, 3
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_3) | instid1(VALU_DEP_3)
	v_fma_f64 v[63:64], v[65:66], s[16:17], v[63:64]
	v_cndmask_b32_e32 v65, v57, v59, vcc_lo
	v_cndmask_b32_e64 v66, v36, v62, s0
	v_cndmask_b32_e32 v36, v13, v15, vcc_lo
	v_cndmask_b32_e64 v65, v65, v61, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_fma_f64 v[63:64], v[65:66], s[18:19], v[63:64]
	v_cndmask_b32_e32 v65, v12, v14, vcc_lo
	v_cndmask_b32_e64 v66, v36, v17, s0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v65, v65, v16, s0
	v_add_f64 v[63:64], v[65:66], v[63:64]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v21, v21, v64, s0
	v_cndmask_b32_e64 v20, v20, v63, s0
	v_dual_cndmask_b32 v19, v19, v64 :: v_dual_cndmask_b32 v18, v18, v63
	v_cndmask_b32_e64 v56, v56, v64, s1
	v_cndmask_b32_e64 v55, v55, v63, s1
	s_cbranch_scc0 .LBB0_12
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_3) | instid1(VALU_DEP_3)
	v_add_f64 v[63:64], v[18:19], -v[55:56]
	v_add_f64 v[65:66], v[27:28], -v[20:21]
	v_mul_f64 v[67:68], v[29:30], v[20:21]
	s_mov_b64 s[2:3], 0
	v_mul_f64 v[63:64], v[25:26], v[63:64]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[65:66], v[55:56], v[65:66], -v[18:19]
	v_fma_f64 v[67:68], v[55:56], v[18:19], -v[67:68]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_mul_f64 v[63:64], v[37:38], v[63:64]
	v_mul_f64 v[65:66], v[37:38], v[65:66]
	s_delay_alu instid0(VALU_DEP_3)
	v_mul_f64 v[67:68], v[37:38], v[67:68]
.LBB0_14:                               ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_cmp_eq_u32 s2, 1
	s_mov_b32 s24, s22
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s2, 2
	v_dual_cndmask_b32 v36, v44, v46 :: v_dual_cndmask_b32 v69, v43, v45
	s_cselect_b32 s0, -1, 0
	s_cmp_eq_u32 s2, 0
	v_cndmask_b32_e32 v71, v49, v51, vcc_lo
	s_delay_alu instid0(VALU_DEP_2)
	v_cndmask_b32_e64 v70, v36, v48, s0
	v_cndmask_b32_e64 v69, v69, v47, s0
	v_cndmask_b32_e32 v36, v50, v52, vcc_lo
	s_cselect_b32 s1, -1, 0
	s_add_u32 s2, s2, 1
	v_cndmask_b32_e64 v71, v71, v53, s0
	v_mul_f64 v[69:70], v[69:70], s[20:21]
	v_cndmask_b32_e64 v72, v36, v54, s0
	v_cndmask_b32_e32 v36, v58, v60, vcc_lo
	s_addc_u32 s3, s3, 0
	s_cmp_eq_u32 s2, 3
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_3) | instid1(VALU_DEP_3)
	v_fma_f64 v[69:70], 0x40040000, v[71:72], v[69:70]
	v_cndmask_b32_e32 v71, v57, v59, vcc_lo
	v_cndmask_b32_e64 v72, v36, v62, s0
	v_cndmask_b32_e32 v36, v64, v66, vcc_lo
	v_cndmask_b32_e64 v71, v71, v61, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_fma_f64 v[69:70], v[71:72], s[22:23], v[69:70]
	v_cndmask_b32_e32 v71, v63, v65, vcc_lo
	v_cndmask_b32_e64 v72, v36, v68, s0
	v_cndmask_b32_e32 v36, v13, v15, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v71, v71, v67, s0
	v_fma_f64 v[69:70], v[71:72], s[24:25], v[69:70]
	v_cndmask_b32_e32 v71, v12, v14, vcc_lo
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v72, v36, v17, s0
	v_cndmask_b32_e64 v71, v71, v16, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[69:70], v[71:72], v[69:70]
	v_cndmask_b32_e64 v21, v21, v70, s0
	s_delay_alu instid0(VALU_DEP_2)
	v_cndmask_b32_e64 v20, v20, v69, s0
	v_dual_cndmask_b32 v19, v19, v70 :: v_dual_cndmask_b32 v18, v18, v69
	v_cndmask_b32_e64 v56, v56, v70, s1
	v_cndmask_b32_e64 v55, v55, v69, s1
	s_cbranch_scc0 .LBB0_14
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_3) | instid1(VALU_DEP_3)
	v_add_f64 v[69:70], v[18:19], -v[55:56]
	v_add_f64 v[71:72], v[27:28], -v[20:21]
	v_mul_f64 v[73:74], v[29:30], v[20:21]
	s_mov_b64 s[2:3], 0
	v_mul_f64 v[69:70], v[25:26], v[69:70]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[71:72], v[55:56], v[71:72], -v[18:19]
	v_fma_f64 v[73:74], v[55:56], v[18:19], -v[73:74]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_mul_f64 v[69:70], v[37:38], v[69:70]
	v_mul_f64 v[71:72], v[37:38], v[71:72]
	s_delay_alu instid0(VALU_DEP_3)
	v_mul_f64 v[73:74], v[37:38], v[73:74]
.LBB0_16:                               ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_cmp_eq_u32 s2, 1
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s2, 2
	v_cndmask_b32_e32 v36, v50, v52, vcc_lo
	v_cndmask_b32_e32 v76, v49, v51, vcc_lo
	s_cselect_b32 s0, -1, 0
	v_cndmask_b32_e32 v78, v43, v45, vcc_lo
	s_cmp_eq_u32 s2, 0
	v_cndmask_b32_e64 v77, v36, v54, s0
	v_cndmask_b32_e64 v76, v76, v53, s0
	v_cndmask_b32_e32 v36, v44, v46, vcc_lo
	v_cndmask_b32_e64 v78, v78, v47, s0
	s_cselect_b32 s1, -1, 0
	s_add_u32 s2, s2, 1
	v_mul_f64 v[76:77], 0x3fd5e000, v[76:77]
	v_cndmask_b32_e64 v79, v36, v48, s0
	v_cndmask_b32_e32 v36, v58, v60, vcc_lo
	s_addc_u32 s3, s3, 0
	s_cmp_eq_u32 s2, 3
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_3) | instid1(VALU_DEP_3)
	v_fma_f64 v[76:77], v[78:79], s[26:27], v[76:77]
	v_cndmask_b32_e32 v78, v57, v59, vcc_lo
	v_cndmask_b32_e64 v79, v36, v62, s0
	v_cndmask_b32_e32 v36, v64, v66, vcc_lo
	v_cndmask_b32_e64 v78, v78, v61, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_fma_f64 v[76:77], v[78:79], s[28:29], v[76:77]
	v_cndmask_b32_e32 v78, v63, v65, vcc_lo
	v_cndmask_b32_e64 v79, v36, v68, s0
	v_cndmask_b32_e32 v36, v70, v72, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v78, v78, v67, s0
	v_fma_f64 v[76:77], v[78:79], s[30:31], v[76:77]
	v_cndmask_b32_e32 v78, v69, v71, vcc_lo
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v79, v36, v74, s0
	v_cndmask_b32_e32 v36, v13, v15, vcc_lo
	v_cndmask_b32_e64 v78, v78, v73, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_fma_f64 v[76:77], 0x3fafa000, v[78:79], v[76:77]
	v_cndmask_b32_e32 v78, v12, v14, vcc_lo
	v_cndmask_b32_e64 v79, v36, v17, s0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v78, v78, v16, s0
	v_add_f64 v[76:77], v[78:79], v[76:77]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cndmask_b32_e32 v19, v19, v77, vcc_lo
	v_cndmask_b32_e64 v21, v21, v77, s0
	v_cndmask_b32_e64 v20, v20, v76, s0
	v_cndmask_b32_e32 v18, v18, v76, vcc_lo
	v_cndmask_b32_e64 v56, v56, v77, s1
	v_cndmask_b32_e64 v55, v55, v76, s1
	s_cbranch_scc0 .LBB0_16
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_3) | instid1(VALU_DEP_3)
	v_add_f64 v[76:77], v[18:19], -v[55:56]
	v_add_f64 v[78:79], v[27:28], -v[20:21]
	v_mul_f64 v[20:21], v[29:30], v[20:21]
	s_mov_b64 s[2:3], 0
	v_mul_f64 v[76:77], v[25:26], v[76:77]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[78:79], v[55:56], v[78:79], -v[18:19]
	v_fma_f64 v[55:56], v[55:56], v[18:19], -v[20:21]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_mul_f64 v[18:19], v[37:38], v[76:77]
	v_mul_f64 v[20:21], v[37:38], v[78:79]
	s_delay_alu instid0(VALU_DEP_3)
	v_mul_f64 v[55:56], v[37:38], v[55:56]
.LBB0_18:                               ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_cmp_eq_u32 s2, 1
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s2, 2
	v_cndmask_b32_e32 v36, v13, v15, vcc_lo
	s_cselect_b32 s0, -1, 0
	v_cndmask_b32_e32 v76, v12, v14, vcc_lo
	v_cndmask_b32_e32 v78, v43, v45, vcc_lo
	s_cmp_eq_u32 s2, 0
	v_cndmask_b32_e64 v77, v36, v17, s0
	v_cndmask_b32_e32 v36, v44, v46, vcc_lo
	v_cndmask_b32_e64 v76, v76, v16, s0
	v_cndmask_b32_e64 v78, v78, v47, s0
	s_cselect_b32 s1, -1, 0
	s_add_u32 s2, s2, 1
	v_cndmask_b32_e64 v79, v36, v48, s0
	v_cndmask_b32_e32 v36, v50, v52, vcc_lo
	s_addc_u32 s3, s3, 0
	s_cmp_lg_u32 s2, 3
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_4) | instid1(VALU_DEP_3)
	v_fma_f64 v[80:81], v[78:79], s[34:35], v[76:77]
	v_fma_f64 v[76:77], v[78:79], s[42:43], v[76:77]
	v_cndmask_b32_e32 v78, v49, v51, vcc_lo
	v_cndmask_b32_e64 v79, v36, v54, s0
	v_cndmask_b32_e32 v36, v58, v60, vcc_lo
	v_cndmask_b32_e64 v78, v78, v53, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_4) | instid1(VALU_DEP_3)
	v_fma_f64 v[80:81], v[78:79], 0, v[80:81]
	v_fma_f64 v[76:77], v[78:79], 0, v[76:77]
	v_cndmask_b32_e32 v78, v57, v59, vcc_lo
	v_cndmask_b32_e64 v79, v36, v62, s0
	v_cndmask_b32_e32 v36, v64, v66, vcc_lo
	v_cndmask_b32_e64 v78, v78, v61, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_4) | instid1(VALU_DEP_3)
	v_fma_f64 v[80:81], v[78:79], s[36:37], v[80:81]
	v_fma_f64 v[76:77], v[78:79], s[44:45], v[76:77]
	v_cndmask_b32_e32 v78, v63, v65, vcc_lo
	v_cndmask_b32_e64 v79, v36, v68, s0
	v_cndmask_b32_e32 v36, v70, v72, vcc_lo
	v_cndmask_b32_e64 v78, v78, v67, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_4) | instid1(VALU_DEP_3)
	v_fma_f64 v[80:81], v[78:79], s[38:39], v[80:81]
	v_fma_f64 v[76:77], v[78:79], s[46:47], v[76:77]
	v_cndmask_b32_e32 v78, v69, v71, vcc_lo
	v_cndmask_b32_e64 v79, v36, v74, s0
	v_cndmask_b32_e32 v36, v19, v21, vcc_lo
	v_cndmask_b32_e64 v78, v78, v73, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_3) | instid1(VALU_DEP_2)
	v_fma_f64 v[80:81], v[78:79], 0, v[80:81]
	v_fma_f64 v[76:77], v[78:79], s[48:49], v[76:77]
	v_cndmask_b32_e32 v78, v18, v20, vcc_lo
	v_cndmask_b32_e64 v79, v36, v56, s0
	v_cndmask_b32_e64 v78, v78, v55, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fma_f64 v[80:81], v[78:79], s[40:41], v[80:81]
	v_fma_f64 v[76:77], 0x3fd00000, v[78:79], v[76:77]
	v_cndmask_b32_e64 v5, v5, v81, s0
	s_delay_alu instid0(VALU_DEP_2)
	v_add_f64 v[76:77], v[80:81], -v[76:77]
	v_cndmask_b32_e64 v4, v4, v80, s0
	v_dual_cndmask_b32 v3, v3, v81 :: v_dual_cndmask_b32 v2, v2, v80
	v_cndmask_b32_e64 v1, v1, v81, s1
	v_cndmask_b32_e64 v0, v0, v80, s1
	v_cndmask_b32_e32 v9, v9, v77, vcc_lo
	v_cndmask_b32_e64 v11, v11, v77, s0
	v_cndmask_b32_e64 v10, v10, v76, s0
	v_cndmask_b32_e32 v8, v8, v76, vcc_lo
	v_cndmask_b32_e64 v7, v7, v77, s1
	v_cndmask_b32_e64 v6, v6, v76, s1
	s_cbranch_scc1 .LBB0_18
; %bb.19:                               ; %_Z8rkckStepdPdPKdS_dS_S_.exit.preheader.i
                                        ;   in Loop: Header=BB0_7 Depth=1
	v_mov_b32_e32 v18, 0
	v_dual_mov_b32 v19, 0 :: v_dual_mov_b32 v36, 0
	s_mov_b64 s[2:3], 0
.LBB0_20:                               ; %_Z8rkckStepdPdPKdS_dS_S_.exit.i
                                        ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	s_cmp_eq_u32 s2, 1
	v_max_f64 v[18:19], v[18:19], v[18:19]
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s2, 2
	v_dual_cndmask_b32 v20, v23, v40 :: v_dual_cndmask_b32 v43, v22, v39
	s_cselect_b32 s0, -1, 0
	v_cndmask_b32_e32 v45, v12, v14, vcc_lo
	s_add_u32 s2, s2, 1
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_4) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v21, v20, v42, s0
	v_cndmask_b32_e64 v20, v43, v41, s0
	v_cndmask_b32_e32 v43, v13, v15, vcc_lo
	s_addc_u32 s3, s3, 0
	s_cmp_eq_u32 s2, 3
	v_mul_f64 v[20:21], v[37:38], v[20:21]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v44, v43, v17, s0
	v_cndmask_b32_e64 v43, v45, v16, s0
	v_cndmask_b32_e32 v45, v6, v8, vcc_lo
	v_add_f64 v[20:21], |v[43:44]|, |v[20:21]|
	v_cndmask_b32_e32 v43, v7, v9, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_cndmask_b32_e64 v44, v43, v11, s0
	v_cndmask_b32_e64 v43, v45, v10, s0
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[20:21], s[50:51]
	v_div_scale_f64 v[45:46], null, v[20:21], v[20:21], v[43:44]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_rcp_f64_e32 v[47:48], v[45:46]
	s_waitcnt_depctr 0xfff
	v_fma_f64 v[49:50], -v[45:46], v[47:48], 1.0
	v_fma_f64 v[47:48], v[47:48], v[49:50], v[47:48]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[49:50], -v[45:46], v[47:48], 1.0
	v_fma_f64 v[47:48], v[47:48], v[49:50], v[47:48]
	v_div_scale_f64 v[49:50], vcc_lo, v[43:44], v[20:21], v[43:44]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f64 v[51:52], v[49:50], v[47:48]
	v_fma_f64 v[45:46], -v[45:46], v[51:52], v[49:50]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_div_fmas_f64 v[45:46], v[45:46], v[47:48], v[51:52]
	v_cmp_o_f64_e32 vcc_lo, v[43:44], v[43:44]
	v_div_fixup_f64 v[20:21], v[45:46], v[20:21], v[43:44]
	v_cndmask_b32_e32 v36, 1, v36, vcc_lo
	s_delay_alu instid0(VALU_DEP_2)
	v_max_f64 v[18:19], v[18:19], |v[20:21]|
	s_cbranch_scc0 .LBB0_20
; %bb.21:                               ;   in Loop: Header=BB0_7 Depth=1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_div_scale_f64 v[20:21], null, s[52:53], s[52:53], v[18:19]
	s_mov_b32 s0, -1
	s_mov_b32 s16, exec_lo
                                        ; implicit-def: $vgpr43_vgpr44
	v_rcp_f64_e32 v[22:23], v[20:21]
	s_waitcnt_depctr 0xfff
	v_fma_f64 v[39:40], -v[20:21], v[22:23], 1.0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[22:23], v[22:23], v[39:40], v[22:23]
	v_fma_f64 v[39:40], -v[20:21], v[22:23], 1.0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_fma_f64 v[22:23], v[22:23], v[39:40], v[22:23]
	v_div_scale_f64 v[39:40], vcc_lo, v[18:19], s[52:53], v[18:19]
	v_mul_f64 v[41:42], v[39:40], v[22:23]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[20:21], -v[20:21], v[41:42], v[39:40]
	v_div_fmas_f64 v[20:21], v[20:21], v[22:23], v[41:42]
                                        ; implicit-def: $vgpr41_vgpr42
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_div_fixup_f64 v[39:40], v[20:21], s[52:53], v[18:19]
                                        ; implicit-def: $vgpr18_vgpr19_vgpr20_vgpr21_vgpr22_vgpr23
	v_cmpx_nlt_f64_e32 1.0, v[39:40]
	s_cbranch_execz .LBB0_31
; %bb.22:                               ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_u_f64_e32 vcc_lo, v[39:40], v[39:40]
	v_cmp_eq_u32_e64 s0, 1, v36
                                        ; implicit-def: $vgpr41_vgpr42
                                        ; implicit-def: $vgpr43_vgpr44
                                        ; implicit-def: $vgpr18_vgpr19_vgpr20_vgpr21_vgpr22_vgpr23
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_or_b32 s18, vcc_lo, s0
	s_xor_b32 s0, s18, -1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_saveexec_b32 s24, s0
	s_cbranch_execz .LBB0_30
; %bb.23:                               ;   in Loop: Header=BB0_7 Depth=1
	s_mov_b32 s0, 0xa34ca0c3
	s_mov_b32 s1, 0x3f28c5c9
                                        ; implicit-def: $vgpr41_vgpr42
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_1) | instid1(SALU_CYCLE_1)
	v_cmp_nlt_f64_e32 vcc_lo, s[0:1], v[39:40]
	s_and_saveexec_b32 s0, vcc_lo
	s_xor_b32 s0, exec_lo, s0
; %bb.24:                               ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[41:42], 0x40140000, v[37:38]
; %bb.25:                               ; %Flow170
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s66, s0
	s_cbranch_execz .LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_7 Depth=1
	v_frexp_mant_f64_e64 v[18:19], |v[39:40]|
	s_mov_b32 s0, 0x968915a9
	s_mov_b32 s2, 0x4222de17
	s_mov_b32 s1, 0x3fba6564
	s_mov_b32 s3, 0x3fbdee67
	s_mov_b32 s58, s60
	s_mov_b32 s78, s62
	s_mov_b32 s80, s64
	v_cmp_gt_f64_e64 s4, 0, v[39:40]
	s_mov_b32 s56, s12
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cmp_gt_f64_e32 vcc_lo, s[60:61], v[18:19]
	v_cndmask_b32_e64 v20, 0, 1, vcc_lo
	v_ldexp_f64 v[18:19], v[18:19], v20
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[18:19], 1.0
	v_rcp_f64_e32 v[22:23], v[20:21]
	s_waitcnt_depctr 0xfff
	v_fma_f64 v[41:42], -v[20:21], v[22:23], 1.0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[22:23], v[41:42], v[22:23], v[22:23]
	v_fma_f64 v[41:42], -v[20:21], v[22:23], 1.0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_fma_f64 v[22:23], v[41:42], v[22:23], v[22:23]
	v_add_f64 v[41:42], v[20:21], -1.0
	v_add_f64 v[41:42], v[18:19], -v[41:42]
	v_add_f64 v[18:19], v[18:19], -1.0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f64 v[43:44], v[18:19], v[22:23]
	v_mul_f64 v[45:46], v[20:21], v[43:44]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[20:21], v[43:44], v[20:21], -v[45:46]
	v_fma_f64 v[20:21], v[43:44], v[41:42], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[41:42], v[45:46], v[20:21]
	v_add_f64 v[45:46], v[41:42], -v[45:46]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[45:46], -v[20:21]
	v_add_f64 v[45:46], v[18:19], -v[41:42]
	v_add_f64 v[18:19], v[18:19], -v[45:46]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[18:19], v[18:19], -v[41:42]
	v_add_f64 v[18:19], v[20:21], v[18:19]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[18:19], v[45:46], v[18:19]
	v_mul_f64 v[18:19], v[22:23], v[18:19]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[43:44], v[18:19]
	v_add_f64 v[22:23], v[20:21], -v[43:44]
	v_mul_f64 v[41:42], v[20:21], v[20:21]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[18:19], v[18:19], -v[22:23]
	v_fma_f64 v[22:23], v[20:21], v[20:21], -v[41:42]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[43:44], v[18:19], v[18:19]
	v_fma_f64 v[22:23], v[20:21], v[43:44], v[22:23]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[43:44], v[41:42], v[22:23]
	v_add_f64 v[41:42], v[43:44], -v[41:42]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[22:23], v[22:23], -v[41:42]
	v_fma_f64 v[41:42], v[43:44], s[2:3], s[0:1]
	s_mov_b32 s0, 0x3abe935a
	s_mov_b32 s1, 0x3fbe25e4
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	v_fma_f64 v[41:42], v[43:44], v[41:42], s[0:1]
	s_mov_b32 s0, 0x47e6c9c2
	s_mov_b32 s1, 0x3fc110ef
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	v_fma_f64 v[41:42], v[43:44], v[41:42], s[0:1]
	v_cmp_eq_f64_e64 s0, 1.0, v[39:40]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[41:42], v[43:44], v[41:42], s[68:69]
	v_fma_f64 v[41:42], v[43:44], v[41:42], s[70:71]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[41:42], v[43:44], v[41:42], s[72:73]
	v_fma_f64 v[41:42], v[43:44], v[41:42], s[74:75]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[41:42], v[43:44], v[41:42], s[76:77]
	v_mul_f64 v[45:46], v[43:44], v[41:42]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[47:48], v[43:44], v[41:42], -v[45:46]
	v_fma_f64 v[41:42], v[22:23], v[41:42], v[47:48]
	v_mul_f64 v[47:48], v[20:21], v[43:44]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[49:50], v[43:44], v[20:21], -v[47:48]
	v_fma_f64 v[43:44], v[43:44], v[18:19], v[49:50]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[49:50], v[45:46], v[41:42]
	v_ldexp_f64 v[18:19], v[18:19], 1
	v_fma_f64 v[22:23], v[22:23], v[20:21], v[43:44]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[45:46], v[49:50], -v[45:46]
	v_ldexp_f64 v[20:21], v[20:21], 1
	v_add_f64 v[41:42], v[41:42], -v[45:46]
	v_add_f64 v[45:46], v[49:50], s[60:61]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[41:42], v[41:42], s[82:83]
	v_add_f64 v[51:52], v[45:46], s[58:59]
	v_cmp_class_f64_e64 s58, v[39:40], 0x204
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[49:50], v[49:50], -v[51:52]
	v_add_f64 v[41:42], v[41:42], v[49:50]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[43:44], v[45:46], v[41:42]
	v_add_f64 v[45:46], v[45:46], -v[43:44]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[41:42], v[41:42], v[45:46]
	v_add_f64 v[45:46], v[47:48], v[22:23]
	v_mul_f64 v[49:50], v[45:46], v[43:44]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[51:52], v[45:46], v[43:44], -v[49:50]
	v_fma_f64 v[41:42], v[45:46], v[41:42], v[51:52]
	v_add_f64 v[45:46], v[45:46], -v[47:48]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[22:23], v[22:23], -v[45:46]
	v_fma_f64 v[22:23], v[22:23], v[43:44], v[41:42]
	v_cndmask_b32_e64 v42, 0xbfc99999, v75, s0
	v_cndmask_b32_e64 v41, 0x9999999a, 0, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[43:44], v[41:42], 0.5
	v_cmp_gt_f64_e64 s3, 0, v[41:42]
	v_trunc_f64_e32 v[45:46], v[43:44]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cmp_neq_f64_e64 s0, v[45:46], v[43:44]
	v_add_f64 v[43:44], v[49:50], v[22:23]
	v_add_f64 v[45:46], v[43:44], -v[49:50]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[22:23], v[22:23], -v[45:46]
	v_add_f64 v[45:46], v[20:21], v[43:44]
	v_add_f64 v[18:19], v[18:19], v[22:23]
	v_frexp_exp_i32_f64_e32 v22, v[39:40]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[45:46], -v[20:21]
	v_subrev_co_ci_u32_e32 v22, vcc_lo, 0, v22, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[43:44], -v[20:21]
	v_cvt_f64_i32_e32 v[22:23], v22
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[18:19], v[18:19], v[20:21]
	v_mul_f64 v[43:44], v[22:23], s[62:63]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[47:48], v[22:23], s[62:63], -v[43:44]
	v_fma_f64 v[22:23], v[22:23], s[64:65], v[47:48]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[43:44], v[22:23]
	v_add_f64 v[43:44], v[20:21], -v[43:44]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[22:23], v[22:23], -v[43:44]
	v_add_f64 v[43:44], v[45:46], v[18:19]
	v_add_f64 v[47:48], v[20:21], v[43:44]
	v_add_f64 v[45:46], v[43:44], -v[45:46]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[49:50], v[47:48], -v[20:21]
	v_add_f64 v[18:19], v[18:19], -v[45:46]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[43:44], v[43:44], -v[49:50]
	v_add_f64 v[49:50], v[47:48], -v[49:50]
	v_add_f64 v[20:21], v[20:21], -v[49:50]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[43:44], v[20:21]
	v_add_f64 v[43:44], v[22:23], v[18:19]
	v_add_f64 v[45:46], v[43:44], -v[22:23]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[43:44], v[20:21]
	v_add_f64 v[18:19], v[18:19], -v[45:46]
	v_add_f64 v[45:46], v[43:44], -v[45:46]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[22:23], v[22:23], -v[45:46]
	v_add_f64 v[18:19], v[18:19], v[22:23]
	v_add_f64 v[22:23], v[47:48], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[43:44], v[22:23], -v[47:48]
	v_add_f64 v[20:21], v[20:21], -v[43:44]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[18:19], v[18:19], v[20:21]
	v_add_f64 v[20:21], v[22:23], v[18:19]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[22:23], v[20:21], -v[22:23]
	v_add_f64 v[18:19], v[18:19], -v[22:23]
	v_mul_f64 v[22:23], v[41:42], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fma_f64 v[20:21], v[41:42], v[20:21], -v[22:23]
	v_cmp_class_f64_e64 vcc_lo, v[22:23], 0x204
	v_fma_f64 v[18:19], v[41:42], v[18:19], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[22:23], v[18:19]
	v_dual_cndmask_b32 v44, v21, v23 :: v_dual_cndmask_b32 v43, v20, v22
	v_add_f64 v[20:21], v[20:21], -v[22:23]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_cmp_nlt_f64_e64 s1, 0x40900000, v[43:44]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[43:44]|
	v_cmp_ngt_f64_e64 s2, 0xc090cc00, v[43:44]
	v_add_f64 v[18:19], v[18:19], -v[20:21]
	v_mul_f64 v[20:21], v[43:44], s[84:85]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_cndmask_b32 v19, 0, v19 :: v_dual_cndmask_b32 v18, 0, v18
	v_rndne_f64_e32 v[20:21], v[20:21]
	s_and_b32 vcc_lo, s2, s1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[22:23], v[20:21], s[78:79], v[43:44]
	v_fma_f64 v[22:23], v[20:21], s[80:81], v[22:23]
	v_cvt_i32_f64_e32 v20, v[20:21]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[45:46], v[22:23], s[88:89], s[86:87]
	v_fma_f64 v[45:46], v[22:23], v[45:46], s[90:91]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[45:46], v[22:23], v[45:46], s[92:93]
	v_fma_f64 v[45:46], v[22:23], v[45:46], s[94:95]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[45:46], v[22:23], v[45:46], s[96:97]
	v_fma_f64 v[45:46], v[22:23], v[45:46], s[98:99]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[45:46], v[22:23], v[45:46], s[100:101]
	v_fma_f64 v[45:46], v[22:23], v[45:46], s[102:103]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[45:46], v[22:23], v[45:46], s[54:55]
	v_fma_f64 v[45:46], v[22:23], v[45:46], 1.0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[22:23], v[22:23], v[45:46], 1.0
	v_ldexp_f64 v[20:21], v[22:23], v20
	v_trunc_f64_e32 v[22:23], v[41:42]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v21, 0x7ff00000, v21, s1
	v_cndmask_b32_e32 v20, 0, v20, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_cmp_eq_f64_e32 vcc_lo, v[22:23], v[41:42]
	v_mul_f64 v[22:23], v[37:38], s[56:57]
	v_cndmask_b32_e64 v21, 0, v21, s2
	v_cmp_eq_f64_e64 s2, 0, v[39:40]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(SALU_CYCLE_1)
	v_fma_f64 v[18:19], v[20:21], v[18:19], v[20:21]
	v_cmp_class_f64_e64 s1, v[20:21], 0x204
	s_and_b32 s0, vcc_lo, s0
	v_cndmask_b32_e64 v41, 0x3ff00000, v40, s0
	v_cndmask_b32_e64 v42, 0, v40, s0
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(SALU_CYCLE_1)
	v_cndmask_b32_e64 v19, v19, v21, s1
	v_cndmask_b32_e64 v18, v18, v20, s1
	s_xor_b32 s1, s2, s3
	v_cndmask_b32_e64 v20, 0x7ff00000, 0, s1
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_bfi_b32 v19, 0x7fffffff, v19, v41
	v_cndmask_b32_e32 v21, 0, v18, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_bfi_b32 v20, 0x7fffffff, v20, v42
	v_cndmask_b32_e32 v41, 0x7ff80000, v19, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v18, v18, v21, s4
	s_or_b32 vcc_lo, s2, s58
	v_cndmask_b32_e64 v19, v19, v41, s4
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v18, v18, 0, vcc_lo
	v_cndmask_b32_e32 v19, v19, v20, vcc_lo
	s_delay_alu instid0(VALU_DEP_1)
	v_mul_f64 v[41:42], v[22:23], v[18:19]
.LBB0_27:                               ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s66
	v_dual_mov_b32 v23, v17 :: v_dual_mov_b32 v22, v16
	v_dual_mov_b32 v21, v15 :: v_dual_mov_b32 v20, v14
	v_dual_mov_b32 v19, v13 :: v_dual_mov_b32 v18, v12
	s_mov_b64 s[2:3], 0
.LBB0_28:                               ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_cmp_eq_u32 s2, 1
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s2, 2
	v_cndmask_b32_e32 v43, v1, v3, vcc_lo
	s_cselect_b32 s0, -1, 0
	s_cmp_eq_u32 s2, 0
	s_cselect_b32 s1, -1, 0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_3) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v43, v43, v5, s0
	s_add_u32 s2, s2, 1
	s_addc_u32 s3, s3, 0
	s_cmp_lg_u32 s2, 3
	v_cndmask_b32_e64 v23, v23, v43, s0
	v_cndmask_b32_e32 v21, v21, v43, vcc_lo
	v_cndmask_b32_e64 v19, v19, v43, s1
	v_cndmask_b32_e32 v43, v0, v2, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v43, v43, v4, s0
	v_cndmask_b32_e64 v22, v22, v43, s0
	v_cndmask_b32_e32 v20, v20, v43, vcc_lo
	v_cndmask_b32_e64 v18, v18, v43, s1
	s_cbranch_scc1 .LBB0_28
; %bb.29:                               ; %.loopexit.loopexit.i
                                        ;   in Loop: Header=BB0_7 Depth=1
	v_max_f64 v[41:42], v[41:42], v[41:42]
	v_max_f64 v[43:44], |v[31:32]|, |v[31:32]|
	s_mov_b32 s0, 0xc924223
	s_mov_b32 s1, 0x3bc79ca1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_min_f64 v[41:42], v[43:44], v[41:42]
	v_add_f64 v[43:44], v[33:34], v[37:38]
	v_max_f64 v[41:42], v[41:42], s[0:1]
.LBB0_30:                               ; %Flow174
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s24
	s_delay_alu instid0(SALU_CYCLE_1)
	s_or_not1_b32 s0, s18, exec_lo
.LBB0_31:                               ; %Flow173
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s16
	s_and_saveexec_b32 s16, s0
	s_cbranch_execz .LBB0_37
; %bb.32:                               ; %._crit_edge86.i
                                        ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_o_f64_e32 vcc_lo, v[39:40], v[39:40]
	v_cmp_ne_u32_e64 s0, 1, v36
                                        ; implicit-def: $vgpr41_vgpr42
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_b32 s0, vcc_lo, s0
	s_and_saveexec_b32 s1, s0
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s18, exec_lo, s1
	s_cbranch_execz .LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_7 Depth=1
	v_frexp_mant_f64_e64 v[18:19], |v[39:40]|
	s_mov_b32 s0, 0x968915a9
	s_mov_b32 s2, 0x4222de17
	s_mov_b32 s1, 0x3fba6564
	s_mov_b32 s3, 0x3fbdee67
	s_mov_b32 s58, s60
	s_mov_b32 s78, s62
	s_mov_b32 s80, s64
	v_cmp_gt_f64_e64 s4, 0, v[39:40]
	v_cmp_class_f64_e64 s24, v[39:40], 0x204
	s_mov_b32 s56, s12
	s_mov_b32 s66, s8
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cmp_gt_f64_e32 vcc_lo, s[60:61], v[18:19]
	v_cndmask_b32_e64 v20, 0, 1, vcc_lo
	v_ldexp_f64 v[18:19], v[18:19], v20
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[18:19], 1.0
	v_rcp_f64_e32 v[22:23], v[20:21]
	s_waitcnt_depctr 0xfff
	v_fma_f64 v[41:42], -v[20:21], v[22:23], 1.0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[22:23], v[41:42], v[22:23], v[22:23]
	v_fma_f64 v[41:42], -v[20:21], v[22:23], 1.0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_fma_f64 v[22:23], v[41:42], v[22:23], v[22:23]
	v_add_f64 v[41:42], v[20:21], -1.0
	v_add_f64 v[41:42], v[18:19], -v[41:42]
	v_add_f64 v[18:19], v[18:19], -1.0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f64 v[43:44], v[18:19], v[22:23]
	v_mul_f64 v[45:46], v[20:21], v[43:44]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[20:21], v[43:44], v[20:21], -v[45:46]
	v_fma_f64 v[20:21], v[43:44], v[41:42], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[41:42], v[45:46], v[20:21]
	v_add_f64 v[45:46], v[41:42], -v[45:46]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[45:46], -v[20:21]
	v_add_f64 v[45:46], v[18:19], -v[41:42]
	v_add_f64 v[18:19], v[18:19], -v[45:46]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[18:19], v[18:19], -v[41:42]
	v_add_f64 v[18:19], v[20:21], v[18:19]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[18:19], v[45:46], v[18:19]
	v_mul_f64 v[18:19], v[22:23], v[18:19]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[43:44], v[18:19]
	v_add_f64 v[22:23], v[20:21], -v[43:44]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[18:19], v[18:19], -v[22:23]
	v_mul_f64 v[22:23], v[20:21], v[20:21]
	v_add_f64 v[43:44], v[18:19], v[18:19]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[41:42], v[20:21], v[20:21], -v[22:23]
	v_fma_f64 v[41:42], v[20:21], v[43:44], v[41:42]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[43:44], v[22:23], v[41:42]
	v_add_f64 v[22:23], v[43:44], -v[22:23]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[22:23], v[41:42], -v[22:23]
	v_fma_f64 v[41:42], v[43:44], s[2:3], s[0:1]
	s_mov_b32 s0, 0x3abe935a
	s_mov_b32 s1, 0x3fbe25e4
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	v_fma_f64 v[41:42], v[43:44], v[41:42], s[0:1]
	s_mov_b32 s0, 0x47e6c9c2
	s_mov_b32 s1, 0x3fc110ef
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	v_fma_f64 v[41:42], v[43:44], v[41:42], s[0:1]
	v_cmp_eq_f64_e64 s0, 1.0, v[39:40]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[41:42], v[43:44], v[41:42], s[68:69]
	v_cndmask_b32_e64 v36, 0xbfd00000, v75, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_gt_f64_e64 s3, 0, v[35:36]
	v_fma_f64 v[41:42], v[43:44], v[41:42], s[70:71]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[41:42], v[43:44], v[41:42], s[72:73]
	v_fma_f64 v[41:42], v[43:44], v[41:42], s[74:75]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[41:42], v[43:44], v[41:42], s[76:77]
	v_mul_f64 v[45:46], v[43:44], v[41:42]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[47:48], v[43:44], v[41:42], -v[45:46]
	v_fma_f64 v[41:42], v[22:23], v[41:42], v[47:48]
	v_mul_f64 v[47:48], v[20:21], v[43:44]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[49:50], v[43:44], v[20:21], -v[47:48]
	v_fma_f64 v[43:44], v[43:44], v[18:19], v[49:50]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[49:50], v[45:46], v[41:42]
	v_ldexp_f64 v[18:19], v[18:19], 1
	v_fma_f64 v[22:23], v[22:23], v[20:21], v[43:44]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[45:46], v[49:50], -v[45:46]
	v_ldexp_f64 v[20:21], v[20:21], 1
	v_add_f64 v[41:42], v[41:42], -v[45:46]
	v_add_f64 v[45:46], v[49:50], s[60:61]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[41:42], v[41:42], s[82:83]
	v_add_f64 v[51:52], v[45:46], s[58:59]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[49:50], v[49:50], -v[51:52]
	v_add_f64 v[41:42], v[41:42], v[49:50]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[43:44], v[45:46], v[41:42]
	v_add_f64 v[45:46], v[45:46], -v[43:44]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[41:42], v[41:42], v[45:46]
	v_add_f64 v[45:46], v[47:48], v[22:23]
	v_mul_f64 v[49:50], v[45:46], v[43:44]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[51:52], v[45:46], v[43:44], -v[49:50]
	v_fma_f64 v[41:42], v[45:46], v[41:42], v[51:52]
	v_add_f64 v[45:46], v[45:46], -v[47:48]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[22:23], v[22:23], -v[45:46]
	v_fma_f64 v[22:23], v[22:23], v[43:44], v[41:42]
	v_mul_f64 v[41:42], v[35:36], 0.5
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_trunc_f64_e32 v[43:44], v[41:42]
	v_cmp_neq_f64_e64 s0, v[43:44], v[41:42]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[41:42], v[49:50], v[22:23]
	v_add_f64 v[43:44], v[41:42], -v[49:50]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[22:23], v[22:23], -v[43:44]
	v_add_f64 v[43:44], v[20:21], v[41:42]
	v_add_f64 v[18:19], v[18:19], v[22:23]
	v_frexp_exp_i32_f64_e32 v22, v[39:40]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[43:44], -v[20:21]
	v_subrev_co_ci_u32_e32 v22, vcc_lo, 0, v22, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[41:42], -v[20:21]
	v_cvt_f64_i32_e32 v[22:23], v22
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[18:19], v[18:19], v[20:21]
	v_mul_f64 v[41:42], v[22:23], s[62:63]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[45:46], v[22:23], s[62:63], -v[41:42]
	v_fma_f64 v[22:23], v[22:23], s[64:65], v[45:46]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[41:42], v[22:23]
	v_add_f64 v[41:42], v[20:21], -v[41:42]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[22:23], v[22:23], -v[41:42]
	v_add_f64 v[41:42], v[43:44], v[18:19]
	v_add_f64 v[45:46], v[20:21], v[41:42]
	v_add_f64 v[43:44], v[41:42], -v[43:44]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[47:48], v[45:46], -v[20:21]
	v_add_f64 v[18:19], v[18:19], -v[43:44]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[41:42], v[41:42], -v[47:48]
	v_add_f64 v[47:48], v[45:46], -v[47:48]
	v_add_f64 v[20:21], v[20:21], -v[47:48]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[41:42], v[20:21]
	v_add_f64 v[41:42], v[22:23], v[18:19]
	v_add_f64 v[43:44], v[41:42], -v[22:23]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[41:42], v[20:21]
	v_add_f64 v[18:19], v[18:19], -v[43:44]
	v_add_f64 v[43:44], v[41:42], -v[43:44]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[22:23], v[22:23], -v[43:44]
	v_add_f64 v[18:19], v[18:19], v[22:23]
	v_add_f64 v[22:23], v[45:46], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[41:42], v[22:23], -v[45:46]
	v_add_f64 v[20:21], v[20:21], -v[41:42]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[18:19], v[18:19], v[20:21]
	v_add_f64 v[20:21], v[22:23], v[18:19]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[22:23], v[20:21], -v[22:23]
	v_add_f64 v[18:19], v[18:19], -v[22:23]
	v_mul_f64 v[22:23], v[35:36], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fma_f64 v[20:21], v[35:36], v[20:21], -v[22:23]
	v_cmp_class_f64_e64 vcc_lo, v[22:23], 0x204
	v_fma_f64 v[18:19], v[35:36], v[18:19], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[22:23], v[18:19]
	v_dual_cndmask_b32 v42, v21, v23 :: v_dual_cndmask_b32 v41, v20, v22
	v_add_f64 v[20:21], v[20:21], -v[22:23]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_cmp_nlt_f64_e64 s1, 0x40900000, v[41:42]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[41:42]|
	v_cmp_ngt_f64_e64 s2, 0xc090cc00, v[41:42]
	v_add_f64 v[18:19], v[18:19], -v[20:21]
	v_mul_f64 v[20:21], v[41:42], s[84:85]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_cndmask_b32 v19, 0, v19 :: v_dual_cndmask_b32 v18, 0, v18
	v_rndne_f64_e32 v[20:21], v[20:21]
	s_and_b32 vcc_lo, s2, s1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[22:23], v[20:21], s[78:79], v[41:42]
	v_fma_f64 v[22:23], v[20:21], s[80:81], v[22:23]
	v_cvt_i32_f64_e32 v20, v[20:21]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[43:44], v[22:23], s[88:89], s[86:87]
	v_fma_f64 v[43:44], v[22:23], v[43:44], s[90:91]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[43:44], v[22:23], v[43:44], s[92:93]
	v_fma_f64 v[43:44], v[22:23], v[43:44], s[94:95]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[43:44], v[22:23], v[43:44], s[96:97]
	v_fma_f64 v[43:44], v[22:23], v[43:44], s[98:99]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[43:44], v[22:23], v[43:44], s[100:101]
	v_fma_f64 v[43:44], v[22:23], v[43:44], s[102:103]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[43:44], v[22:23], v[43:44], s[54:55]
	v_fma_f64 v[43:44], v[22:23], v[43:44], 1.0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[22:23], v[22:23], v[43:44], 1.0
	v_ldexp_f64 v[20:21], v[22:23], v20
	v_trunc_f64_e32 v[22:23], v[35:36]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v21, 0x7ff00000, v21, s1
	v_cmp_eq_f64_e64 s1, v[22:23], v[35:36]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v21, 0, v21, s2
	v_cndmask_b32_e32 v20, 0, v20, vcc_lo
	v_cmp_eq_f64_e64 s2, 0, v[39:40]
	v_fma_f64 v[18:19], v[20:21], v[18:19], v[20:21]
	v_cmp_class_f64_e64 vcc_lo, v[20:21], 0x204
	s_delay_alu instid0(VALU_DEP_2)
	v_dual_cndmask_b32 v21, v19, v21 :: v_dual_cndmask_b32 v20, v18, v20
	v_mul_f64 v[18:19], v[37:38], s[56:57]
	s_and_b32 vcc_lo, s1, s0
	s_xor_b32 s0, s2, s3
	v_cndmask_b32_e32 v22, 0x3ff00000, v40, vcc_lo
	v_cndmask_b32_e32 v23, 0, v40, vcc_lo
	s_or_b32 vcc_lo, s2, s24
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_bfi_b32 v21, 0x7fffffff, v21, v22
	v_cndmask_b32_e64 v22, 0x7ff00000, 0, s0
	v_cndmask_b32_e64 v39, 0x7ff80000, v21, s1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_bfi_b32 v22, 0x7fffffff, v22, v23
	v_cndmask_b32_e64 v21, v21, v39, s4
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v21, v21, v22, vcc_lo
	v_cndmask_b32_e64 v36, 0, v20, s1
	v_cndmask_b32_e64 v20, v20, v36, s4
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v20, v20, 0, vcc_lo
	v_mul_f64 v[18:19], v[18:19], v[20:21]
	v_mul_f64 v[20:21], v[37:38], s[66:67]
                                        ; implicit-def: $vgpr37_vgpr38
	s_delay_alu instid0(VALU_DEP_1)
	v_max_f64 v[41:42], v[18:19], v[20:21]
.LBB0_34:                               ; %Flow171
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s18
; %bb.35:                               ;   in Loop: Header=BB0_7 Depth=1
	s_mov_b32 s66, s8
	s_delay_alu instid0(SALU_CYCLE_1)
	v_mul_f64 v[41:42], v[37:38], s[66:67]
; %bb.36:                               ; %Flow172
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
	v_dual_mov_b32 v23, v17 :: v_dual_mov_b32 v22, v16
	v_dual_mov_b32 v21, v15 :: v_dual_mov_b32 v20, v14
	v_dual_mov_b32 v19, v13 :: v_dual_mov_b32 v18, v12
	v_dual_mov_b32 v44, v34 :: v_dual_mov_b32 v43, v33
.LBB0_37:                               ; %.loopexit.i
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s16
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(SALU_CYCLE_1)
	v_cmp_ngt_f64_e32 vcc_lo, s[10:11], v[43:44]
	v_dual_mov_b32 v33, v43 :: v_dual_mov_b32 v34, v44
	s_or_b32 s104, vcc_lo, s104
	s_and_not1_b32 exec_lo, exec_lo, s104
	s_cbranch_execnz .LBB0_7
; %bb.38:                               ; %Flow175
	s_or_b32 exec_lo, exec_lo, s104
.LBB0_39:                               ; %_Z10rkckDriverddPdPKd.exit
	s_mov_b64 s[0:1], 0
.LBB0_40:                               ; =>This Inner Loop Header: Depth=1
	v_ashrrev_i32_e32 v25, 31, v24
	s_cmp_eq_u32 s0, 1
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s0, 2
	s_delay_alu instid0(VALU_DEP_1)
	v_lshlrev_b64 v[0:1], 3, v[24:25]
	v_cndmask_b32_e32 v2, v19, v21, vcc_lo
	v_cndmask_b32_e32 v4, v18, v20, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	v_add_nc_u32_e32 v24, s33, v24
	s_add_u32 s0, s0, 1
	s_delay_alu instid0(VALU_DEP_2)
	v_dual_cndmask_b32 v3, v2, v23 :: v_dual_cndmask_b32 v2, v4, v22
	v_add_co_u32 v0, vcc_lo, s6, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, s7, v1, vcc_lo
	s_addc_u32 s1, s1, 0
	s_cmp_lg_u32 s0, 3
	global_store_b64 v[0:1], v[2:3], off
	s_cbranch_scc1 .LBB0_40
.LBB0_41:                               ; %.loopexit
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z9intDriverddiPKdPd
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 296
		.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 82
		.amdhsa_next_free_sgpr 105
		.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	_Z9intDriverddiPKdPd, .Lfunc_end0-_Z9intDriverddiPKdPd
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 7760
; NumSgprs: 107
; NumVgprs: 82
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 13
; VGPRBlocks: 10
; NumSGPRsForWavesPerEU: 107
; NumVGPRsForWavesPerEU: 82
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.p2alignl 7, 3214868480
	.fill 96, 4, 3214868480
	.type	__hip_cuid_,@object             ; @__hip_cuid_
	.section	.bss,"aw",@nobits
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               ; 0x0
	.size	__hip_cuid_, 1

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym __hip_cuid_
	.amdgpu_metadata
---
amdhsa.kernels:
  - .args:
      - .offset:         0
        .size:           8
        .value_kind:     by_value
      - .offset:         8
        .size:           8
        .value_kind:     by_value
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         32
        .size:           8
        .value_kind:     global_buffer
      - .offset:         40
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         44
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         48
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         52
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         54
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         56
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         58
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         60
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         62
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         88
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         96
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         104
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 296
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z9intDriverddiPKdPd
    .private_segment_fixed_size: 0
    .sgpr_count:     107
    .sgpr_spill_count: 0
    .symbol:         _Z9intDriverddiPKdPd.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     82
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
amdhsa.target:   amdgcn-amd-amdhsa--gfx1100
amdhsa.version:
  - 1
  - 2
...

	.end_amdgpu_metadata
