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

#include <time.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <algorithm>
#include <vector>
#include <iostream>

#define CUDA_CALL(x) do { cudaError_t err = x; if (( err ) != cudaSuccess ){ \
printf ("Error \"%s\" at %s :%d \n" , cudaGetErrorString(err), \
__FILE__ , __LINE__ ) ; return err;\
}} while (0);

void deBoorMakeTridiag(std::vector<float> x, std::vector<float> y, float d0, float dn, std::vector<float> &a, std::vector<float> &b, std::vector<float> &c, std::vector<float> &r)
{
	std::vector<float> dX(x.size() - 1);
	std::vector<float> dY(y.size() - 1);
	for (int i = 0; i < dX.size(); i++)
	{
		dX[i] = x[i + 1] - x[i];
		dY[i] = y[i + 1] - y[i];
	}
	for (int i = 0; i < a.size(); i++)
	{
		a[i] = dX[i + 1];
		b[i] = 2 * (dX[i] + dX[i + 1]);
		c[i] = dX[i];
		r[i] = 3 * ((dX[i] / dX[i + 1]) * dY[i + 1] + (dX[i + 1] / dX[i]) * dY[i]);
	}
	r[0] -= a[0] * d0;
	r[r.size() - 1] -= c[c.size() - 1] * dn;
}

__global__ void LU_tridiag(float* a, float* b, float* c, float* r, int from, int to)
{
	for (int i = from + 1; i < to; i++)
	{
		a[i] = a[i] / b[i - 1];
		b[i] = b[i] - (a[i] * c[i - 1]);
		r[i] = r[i] - (a[i] * r[i - 1]);
	}
	r[to - 1] = r[to - 1] / b[to - 1];
	for (int i = to - 2; i >= from; i--)
	{
		r[i] = (r[i] - (c[i] * r[i + 1])) / b[i];
	}
}

__device__ void LU_tridiag_device(float* a, float* b, float* c, float* r, int from, int to)
{
	for (int i = from + 1; i < to; i++)
	{
		a[i] = a[i] / b[i - 1];
		b[i] = b[i] - (a[i] * c[i - 1]);
		r[i] = r[i] - (a[i] * r[i - 1]);
	}
	r[to - 1] = r[to - 1] / b[to - 1];
	for (int i = to - 2; i >= from; i--)
	{
		r[i] = (r[i] - (c[i] * r[i + 1])) / b[i];
	}
}

void LU_CPU(std::vector<float> a, std::vector<float> b, std::vector<float> c, std::vector<float> &r, int from, int to)
{
	for (int i = from + 1; i < to; i++)
	{
		a[i] = a[i] / b[i - 1];
		b[i] = b[i] - (a[i] * c[i - 1]);
		r[i] = r[i] - (a[i] * r[i - 1]);
	}
	r[to - 1] = r[to - 1] / b[to - 1];
	for (int i = to - 2; i >= from; i--)
	{
		r[i] = (r[i] - (c[i] * r[i + 1])) / b[i];
	}
}

__global__ void partitioning(float* a, float* b, float* c, float* r, float* Va, float* Vb, float* Vc, float* Vr, int* Vindex, int pLength, int size, int Vsize, int remainder) {
	int idx = blockDim.x * blockIdx.x + threadIdx.x;
	int i = idx * 2 + 1;
	int myLength = pLength;
	int j = idx * myLength;
	if (i == Vsize - 1) // if this is the last processor
	{
		myLength += remainder;
	}
	if (i < Vsize)
	{
		/*float *dev_a = new float[myLength];
		float *dev_b = new float[myLength];
		float *dev_c = new float[myLength];
		float *dev_r = new float[myLength];
		for (int k = 0; k < myLength; k++)
		{
			dev_a[k] = a[j + k];
			dev_b[k] = b[j + k];
			dev_c[k] = c[j + k];
			dev_r[k] = r[j + k];
		}*/
		/*float Vai = dev_a[1];
		float Vbi = dev_b[1];
		float Vci = dev_c[1];
		float Vri = dev_r[1];*/
		float Vai = a[j + 1];
		float Vbi = b[j + 1];
		float Vci = c[j + 1];
		float Vri = r[j + 1];
		Vindex[i - 1] = j;
		Vindex[i] = j + myLength - 1;
		int jInit = j;
		for (int k = 2; k < myLength; k++) /* && j < size*/
		{
			float alpha = Vbi / a[j + k];
			Vri -= alpha * r[j + k];
			Vbi = Vci - alpha * b[j + k];
			Vci = -alpha * c[j + k];
		}
		Va[i] = Vai;
		Vb[i] = Vbi;
		Vc[i] = Vci;
		Vr[i] = Vri;
		i--;
		Vai = a[j + myLength - 2];
		Vbi = b[j + myLength - 2];
		Vci = c[j + myLength - 2];
		Vri = r[j + myLength - 2];
		for (int k = myLength - 3; k >= 0; k--)
		{
			float beta = Vbi / c[j + k];
			Vri = Vri - beta * r[j + k];
			Vbi = Vai - beta * b[j + k];
			Vai = -beta * a[j + k];
		}
		Va[i] = Vai;
		Vb[i] = Vbi;
		Vc[i] = Vci;
		Vr[i] = Vri;
		/*delete[] dev_a;
		delete[] dev_b;
		delete[] dev_c;
		delete[] dev_r;*/
	}
}

__global__ void final_computations(float* a, float* b, float* c, float* r, float* Vr, int* Vindex, int Vsize)
{
	int i = (blockDim.x * blockIdx.x + threadIdx.x) * 2;
	if (i < Vsize)
	{
		/*int Vind = Vindex[i];
		int Vind1 = Vindex[i + 1];
		float Vri = Vr[i];
		float Vri1 = Vr[i + 1];*/

		r[Vindex[i]] = Vr[i];
		r[Vindex[i + 1]] = Vr[i+1];

		int idx1 = Vindex[i] + 1;
		r[idx1] -= a[idx1] * Vr[i];

		int idx2 = Vindex[i + 1] - 1;
		r[idx2] -= c[idx2] * Vr[i+1];

		LU_tridiag_device(a, b, c, r, idx1, idx2 + 1);
	}
}

cudaError_t austin_berndt_moulton(std::vector<float> a, std::vector<float> b, std::vector<float> c, std::vector<float> &r, int nOfParts)
{
	int Vsize = nOfParts * 2;
	std::vector<float> Va(Vsize);
	std::vector<float> Vb(Vsize);
	std::vector<float> Vc(Vsize);
	std::vector<float> Vr(Vsize);
	std::vector<int> Vindex(Vsize);

	cudaEvent_t start, stop_malloc, stop_memcpy1, stop_partitioning, stop_seq, stop_final, stop_memcpy_final;
	float time1 = 0.0;
	float time2 = 0.0;
	float time3 = 0.0;
	float time4 = 0.0;
	float time5 = 0.0;
	float time6 = 0.0;
	cudaEventCreate(&start);
	cudaEventCreate(&stop_malloc);
	cudaEventCreate(&stop_memcpy1);
	cudaEventCreate(&stop_partitioning);
	cudaEventCreate(&stop_seq);
	cudaEventCreate(&stop_final);
	cudaEventCreate(&stop_memcpy_final);

	cudaEventRecord(start);
	cudaEventSynchronize(start);

	float *dev_a = 0; CUDA_CALL(cudaMalloc((void**)&dev_a, a.size() * sizeof(float)));
	float *dev_b = 0; CUDA_CALL(cudaMalloc((void**)&dev_b, b.size() * sizeof(float)));
	float *dev_c = 0; CUDA_CALL(cudaMalloc((void**)&dev_c, c.size() * sizeof(float)));
	float *dev_r = 0; CUDA_CALL(cudaMalloc((void**)&dev_r, r.size() * sizeof(float)));
	float *dev_Va = 0; CUDA_CALL(cudaMalloc((void**)&dev_Va, Vsize * sizeof(float)));
	float *dev_Vb = 0; CUDA_CALL(cudaMalloc((void**)&dev_Vb, Vsize * sizeof(float)));
	float *dev_Vc = 0; CUDA_CALL(cudaMalloc((void**)&dev_Vc, Vsize * sizeof(float)));
	float *dev_Vr = 0; CUDA_CALL(cudaMalloc((void**)&dev_Vr, Vsize * sizeof(float)));
	int *dev_Vidx = 0; CUDA_CALL(cudaMalloc((void**)&dev_Vidx, Vsize * sizeof(int)));

	cudaEventRecord(stop_malloc);
	cudaEventSynchronize(stop_malloc);
	cudaEventElapsedTime(&time1, start, stop_malloc);

	CUDA_CALL(cudaMemcpy(dev_a, &a[0], a.size() * sizeof(float), cudaMemcpyHostToDevice));
	CUDA_CALL(cudaMemcpy(dev_b, &b[0], b.size() * sizeof(float), cudaMemcpyHostToDevice));
	CUDA_CALL(cudaMemcpy(dev_c, &c[0], c.size() * sizeof(float), cudaMemcpyHostToDevice));
	CUDA_CALL(cudaMemcpy(dev_r, &r[0], r.size() * sizeof(float), cudaMemcpyHostToDevice));

	cudaEventRecord(stop_memcpy1);
	cudaEventSynchronize(stop_memcpy1);
	cudaEventElapsedTime(&time2, stop_malloc, stop_memcpy1);

	int pLength = r.size() / nOfParts;
	int remainder = r.size() - (pLength * nOfParts);
	int threadsPerBlock = 128;
	int numBlocks = (nOfParts + threadsPerBlock - 1) / threadsPerBlock;

	CUDA_CALL(cudaSetDevice(0));

	partitioning<<<numBlocks, threadsPerBlock>>>(dev_a, dev_b, dev_c, dev_r, dev_Va, dev_Vb, dev_Vc, dev_Vr, dev_Vidx, pLength, r.size(), Vr.size(), remainder);
	CUDA_CALL(cudaGetLastError());
	CUDA_CALL(cudaDeviceSynchronize());

	cudaEventRecord(stop_partitioning);
	cudaEventSynchronize(stop_partitioning);
	cudaEventElapsedTime(&time3, stop_memcpy1, stop_partitioning);

	CUDA_CALL(cudaMemcpy(&Va[0], dev_Va, Vsize * sizeof(float), cudaMemcpyDeviceToHost));
	CUDA_CALL(cudaMemcpy(&Vb[0], dev_Vb, Vsize * sizeof(float), cudaMemcpyDeviceToHost));
	CUDA_CALL(cudaMemcpy(&Vc[0], dev_Vc, Vsize * sizeof(float), cudaMemcpyDeviceToHost));
	CUDA_CALL(cudaMemcpy(&Vr[0], dev_Vr, Vsize * sizeof(float), cudaMemcpyDeviceToHost));
	LU_CPU(Va, Vb, Vc, Vr, 0, Vsize);
	CUDA_CALL(cudaMemcpy(dev_Vr, &Vr[0], Vr.size() * sizeof(float), cudaMemcpyHostToDevice));
	
	/*LU_tridiag<<<1, 1>>>(dev_Va, dev_Vb, dev_Vc, dev_Vr, 0, Vsize);
	CUDA_CALL(cudaGetLastError());
	CUDA_CALL(cudaDeviceSynchronize());*/

	cudaEventRecord(stop_seq);
	cudaEventSynchronize(stop_seq);
	cudaEventElapsedTime(&time4, stop_partitioning, stop_seq);

	final_computations<<<numBlocks, threadsPerBlock>>>(dev_a, dev_b, dev_c, dev_r, dev_Vr, dev_Vidx, Vr.size());
	CUDA_CALL(cudaGetLastError());
	cudaError_t err = cudaDeviceSynchronize();
	if ((err) != cudaSuccess) {
		printf("Error \"%s\" at %s :%d \n", cudaGetErrorString(err), __FILE__, __LINE__);
	}

	cudaEventRecord(stop_final);
	cudaEventSynchronize(stop_final);
	cudaEventElapsedTime(&time5, stop_seq, stop_final);

	CUDA_CALL(cudaMemcpy(&r[0], dev_r, r.size() * sizeof(float), cudaMemcpyDeviceToHost));

	cudaEventRecord(stop_memcpy_final);
	cudaEventSynchronize(stop_memcpy_final);
	cudaEventElapsedTime(&time6, stop_final, stop_memcpy_final);

	std::cout << "malloc time: " << time1 << " ms" << std::endl;
	std::cout << "memcpy time: " << time2 << " ms" << std::endl;
	std::cout << "partit time: " << time3 << " ms" << std::endl;
	std::cout << "sequen time: " << time4 << " ms" << std::endl;
	std::cout << "fiinal time: " << time5 << " ms" << std::endl;
	std::cout << "rescpy time: " << time6 << " ms" << std::endl;
	std::cout << "sum time: " << time1+time2+time3+time4+time5+time6 << " ms" << std::endl;
	std::cout << "============================" << std::endl;

	return err;
}

void ABM_on_CPU(std::vector<float> a, std::vector<float> b, std::vector<float> c, std::vector<float> &r, int nOfParts) {
	int Vsize = nOfParts * 2;
	std::vector<float> Va(Vsize);
	std::vector<float> Vb(Vsize);
	std::vector<float> Vc(Vsize);
	std::vector<float> Vr(Vsize);
	std::vector<int> Vindex(Vsize);
	int j = 1;
	int pLength = b.size() / nOfParts;
	int remainder = b.size() - (pLength * nOfParts);
	for (int i = 0; i < Vb.size(); i += 2)
	{
		i++;
		if (i == Vb.size() - 1)
		{
			pLength += remainder;
		}
		Va[i] = a[j];
		Vb[i] = b[j];
		Vc[i] = c[j];
		Vr[i] = r[j];
		Vindex[i - 1] = j - 1;
		int jInit = j - 1;
		j++;
		for (int k = 0; k < pLength - 2 && j < b.size(); k++, j++)
		{
			float alpha = Vb[i] / a[j];
			Vr[i] -= alpha * r[j];
			Vb[i] = Vc[i] - alpha * b[j];
			Vc[i] = -alpha * c[j];
		}
		i--;
		Va[i] = a[j - 2];
		Vb[i] = b[j - 2];
		Vc[i] = c[j - 2];
		Vr[i] = r[j - 2];
		Vindex[i + 1] = j - 1;
		for (int k = j - 3; k >= jInit; k--)
		{
			float beta = Vb[i] / c[k];
			Vr[i] = Vr[i] - beta * r[k];
			Vb[i] = Va[i] - beta * b[k];
			Va[i] = -beta * a[k];
		}
		j++;
	}
	LU_CPU(Va, Vb, Vc, Vr, 0, Vsize);
	for (int i = 0; i < Vr.size(); i++)
	{
		r[Vindex[i]] = Vr[i];
	}
	for (int i = 0; i < Vr.size(); i += 2)
	{
		int idx1 = Vindex[i] + 1;
		r[idx1] -= a[idx1] * Vr[i];
		int idx2 = Vindex[i + 1] - 1;
		r[idx2] -= c[idx2] * Vr[i + 1];
		
		LU_CPU(a, b, c, r, idx1, idx2 + 1);
	}
}

int main()
{
	const int matrixSize = 500 * 1024;
	std::vector<float> a(matrixSize);
	std::vector<float> b(matrixSize);
	std::vector<float> c(matrixSize);
	std::vector<float> r(matrixSize);
	//float d1 = 1, dr = -1;
	//float x1 = -4, xr = 4;
	//std::vector<float> X(matrixSize + 2);
	//std::vector<float> F(matrixSize + 2);
	//float h = (xr - x1) / (X.size() - 1);
	//// Data X, F:
	//X[0] = x1;
	//F[0] = 1 / (1 + 4 * X[0] * X[0]);
	//for (int i = 1; i < X.size(); i++)
	//{
	//	X[i] = X[i - 1] + h; F[i] = 1 / (1 + 4 * X[i] * X[i]);
	//}
	//deBoorMakeTridiag(X, F, d1, dr, a, b, c, r);
	srand(time(NULL));
	for (size_t i = 0; i < matrixSize; i++)
	{
		a[i] = rand() % 10 + 1;
		c[i] = rand() % 10 + 1;
		b[i] = a[i] + c[i] + 1 + rand() % 10; // musi byt diagonalne dominantna
		r[i] = rand() % 100;
	}
	std::vector<float> a2(matrixSize);
	std::vector<float> b2(matrixSize);
	std::vector<float> c2(matrixSize);
	std::vector<float> r2(matrixSize);
	a2 = a;
	b2 = b;
	c2 = c;
	r2 = r;

	cudaEvent_t start, stop_CPU, stop_GPU;
	float time1 = 0.0;
	float time2 = 0.0;
	cudaEventCreate(&start);
	cudaEventCreate(&stop_CPU);
	cudaEventCreate(&stop_GPU);

	cudaEventRecord(start);
	cudaEventSynchronize(start);

	// computing on CPU
	LU_CPU(a2, b2, c2, r2, 0, r.size());
	//ABM_on_CPU(a2, b2, c2, r2, 1024);
	
	cudaEventRecord(stop_CPU);
	cudaEventSynchronize(stop_CPU);
	cudaEventElapsedTime(&time1, start, stop_CPU);

	// computing on GPU
    cudaError_t cudaStatus = austin_berndt_moulton(a, b, c, r, 1024);
    if (cudaStatus != cudaSuccess) {
        fprintf(stderr, "GPU computing failed!\n");
        return 1;
    }

	cudaEventRecord(stop_GPU);
	cudaEventSynchronize(stop_GPU);
	cudaEventElapsedTime(&time2, stop_CPU, stop_GPU);

	std::cout << "CPU time: " << time1 <<" ms" << std::endl;
	std::cout << "my GPU time: " << time2 << " ms" << std::endl << std::endl;
	// std::cout.precision(15);
	for (int i = 0; i < r.size(); i++)
	{
		float diff = r[i] - r2[i];
		if (diff > 0.00000000000001) { // 10^-15
			std::cout << "BACHA! rozdiel v " << i << " je presne " << diff << std::endl;
		}
	}
	/*std::cout << "R1: ";
	for (int i = 0; i < r.size(); i++)
	{
		std::cout << r[i] << ", ";
	}
	std::cout << std::endl << "R2: ";
	for (int i = 0; i < r.size(); i++)
	{
		std::cout << r2[i] << ", ";
	}
	std::cout << std::endl;*/
    // cudaDeviceReset must be called before exiting in order for profiling and
    // tracing tools such as Nsight and Visual Profiler to show complete traces.
    cudaStatus = cudaDeviceReset();
    if (cudaStatus != cudaSuccess) {
        fprintf(stderr, "cudaDeviceReset failed!");
        return 1;
    }

    return 0;
}
	.file	"tmpxft_00294f29_00000000-6_kernel.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB4260:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE4260:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.align 2
	.type	_ZNSt15__new_allocatorIfE8allocateEmPKv.isra.0, @function
_ZNSt15__new_allocatorIfE8allocateEmPKv.isra.0:
.LFB5128:
	.cfi_startproc
	movabsq	$2305843009213693951, %rax
	cmpq	%rdi, %rax
	jnb	.L3
	pushq	%rax
	.cfi_def_cfa_offset 16
	movabsq	$4611686018427387903, %rax
	cmpq	%rdi, %rax
	jnb	.L4
	call	_ZSt28__throw_bad_array_new_lengthv@PLT
.L4:
	call	_ZSt17__throw_bad_allocv@PLT
.L3:
	.cfi_def_cfa_offset 8
	salq	$2, %rdi
	jmp	_Znwm@PLT
	.cfi_endproc
.LFE5128:
	.size	_ZNSt15__new_allocatorIfE8allocateEmPKv.isra.0, .-_ZNSt15__new_allocatorIfE8allocateEmPKv.isra.0
	.globl	_Z17LU_tridiag_devicePfS_S_S_ii
	.type	_Z17LU_tridiag_devicePfS_S_S_ii, @function
_Z17LU_tridiag_devicePfS_S_S_ii:
.LFB4253:
	.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
.LFE4253:
	.size	_Z17LU_tridiag_devicePfS_S_S_ii, .-_Z17LU_tridiag_devicePfS_S_S_ii
	.globl	_Z6LU_CPUSt6vectorIfSaIfEES1_S1_RS1_ii
	.type	_Z6LU_CPUSt6vectorIfSaIfEES1_S1_RS1_ii, @function
_Z6LU_CPUSt6vectorIfSaIfEES1_S1_RS1_ii:
.LFB4254:
	.cfi_startproc
	endbr64
	movq	%rsi, %r11
	movq	%rdi, %r10
	leal	1(%r8), %edi
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movq	%rdx, %rsi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movslq	%edi, %rax
	movq	(%rcx), %rdx
	movq	(%r11), %rcx
	salq	$2, %rax
.L12:
	cmpl	%r9d, %edi
	jge	.L17
	movq	(%r10), %r11
	movq	(%rsi), %r14
	leaq	(%rcx,%rax), %rbx
	incl	%edi
	addq	%rax, %r11
	movss	(%r11), %xmm0
	divss	-4(%rcx,%rax), %xmm0
	movss	%xmm0, (%r11)
	mulss	-4(%r14,%rax), %xmm0
	movss	(%rbx), %xmm1
	subss	%xmm0, %xmm1
	movss	%xmm1, (%rbx)
	movss	-4(%rdx,%rax), %xmm1
	mulss	(%r11), %xmm1
	leaq	(%rdx,%rax), %rbx
	movss	(%rbx), %xmm0
	addq	$4, %rax
	subss	%xmm1, %xmm0
	movss	%xmm0, (%rbx)
	jmp	.L12
.L17:
	leal	-1(%r9), %eax
	subl	$2, %r9d
	cltq
	movslq	%r9d, %r9
	leaq	(%rdx,%rax,4), %rdi
	movss	(%rdi), %xmm0
	divss	(%rcx,%rax,4), %xmm0
	movss	%xmm0, (%rdi)
.L14:
	cmpl	%r9d, %r8d
	jg	.L18
	movq	(%rsi), %rax
	movss	(%rdx,%r9,4), %xmm0
	movss	(%rax,%r9,4), %xmm1
	mulss	4(%rdx,%r9,4), %xmm1
	subss	%xmm1, %xmm0
	divss	(%rcx,%r9,4), %xmm0
	movss	%xmm0, (%rdx,%r9,4)
	decq	%r9
	jmp	.L14
.L18:
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4254:
	.size	_Z6LU_CPUSt6vectorIfSaIfEES1_S1_RS1_ii, .-_Z6LU_CPUSt6vectorIfSaIfEES1_S1_RS1_ii
	.globl	_Z38__device_stub__Z10LU_tridiagPfS_S_S_iiPfS_S_S_ii
	.type	_Z38__device_stub__Z10LU_tridiagPfS_S_S_iiPfS_S_S_ii, @function
_Z38__device_stub__Z10LU_tridiagPfS_S_S_iiPfS_S_S_ii:
.LFB4282:
	.cfi_startproc
	endbr64
	subq	$184, %rsp
	.cfi_def_cfa_offset 192
	movq	%rdi, 40(%rsp)
	leaq	72(%rsp), %rdi
	movq	%rsi, 32(%rsp)
	leaq	84(%rsp), %rsi
	movq	%rdx, 24(%rsp)
	leaq	56(%rsp), %rdx
	movq	%rcx, 16(%rsp)
	leaq	64(%rsp), %rcx
	movl	%r8d, 12(%rsp)
	movl	%r9d, 8(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 168(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rax
	movl	$1, 80(%rsp)
	movq	%rax, 120(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 128(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 136(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 144(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 152(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 160(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 72(%rsp)
	movq	%rax, 84(%rsp)
	movl	$1, 92(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L19
	pushq	64(%rsp)
	.cfi_def_cfa_offset 200
	leaq	_Z10LU_tridiagPfS_S_S_ii(%rip), %rdi
	pushq	64(%rsp)
	.cfi_def_cfa_offset 208
	movq	100(%rsp), %rcx
	movl	108(%rsp), %r8d
	movq	88(%rsp), %rsi
	movl	96(%rsp), %edx
	leaq	136(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 200
	popq	%rdx
	.cfi_def_cfa_offset 192
.L19:
	movq	168(%rsp), %rax
	subq	%fs:40, %rax
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	addq	$184, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4282:
	.size	_Z38__device_stub__Z10LU_tridiagPfS_S_S_iiPfS_S_S_ii, .-_Z38__device_stub__Z10LU_tridiagPfS_S_S_iiPfS_S_S_ii
	.globl	_Z10LU_tridiagPfS_S_S_ii
	.type	_Z10LU_tridiagPfS_S_S_ii, @function
_Z10LU_tridiagPfS_S_S_ii:
.LFB4283:
	.cfi_startproc
	endbr64
	jmp	_Z38__device_stub__Z10LU_tridiagPfS_S_S_iiPfS_S_S_ii
	.cfi_endproc
.LFE4283:
	.size	_Z10LU_tridiagPfS_S_S_ii, .-_Z10LU_tridiagPfS_S_S_ii
	.globl	_Z52__device_stub__Z12partitioningPfS_S_S_S_S_S_S_PiiiiiPfS_S_S_S_S_S_S_Piiiii
	.type	_Z52__device_stub__Z12partitioningPfS_S_S_S_S_S_S_PiiiiiPfS_S_S_S_S_S_S_Piiiii, @function
_Z52__device_stub__Z12partitioningPfS_S_S_S_S_S_S_PiiiiiPfS_S_S_S_S_S_S_Piiiii:
.LFB4284:
	.cfi_startproc
	endbr64
	subq	$264, %rsp
	.cfi_def_cfa_offset 272
	movq	272(%rsp), %rax
	movq	%rdi, 72(%rsp)
	leaq	96(%rsp), %rdi
	movq	%rsi, 64(%rsp)
	leaq	108(%rsp), %rsi
	movq	%rax, 24(%rsp)
	movq	280(%rsp), %rax
	movq	%rdx, 56(%rsp)
	leaq	80(%rsp), %rdx
	movq	%rax, 16(%rsp)
	movq	288(%rsp), %rax
	movq	%rcx, 48(%rsp)
	leaq	88(%rsp), %rcx
	movq	%r8, 40(%rsp)
	movq	%r9, 32(%rsp)
	movq	%rax, 8(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 248(%rsp)
	xorl	%eax, %eax
	leaq	72(%rsp), %rax
	movl	$1, 104(%rsp)
	movq	%rax, 144(%rsp)
	leaq	64(%rsp), %rax
	movq	%rax, 152(%rsp)
	leaq	56(%rsp), %rax
	movq	%rax, 160(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 168(%rsp)
	leaq	40(%rsp), %rax
	movq	%rax, 176(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 184(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 192(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 200(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 208(%rsp)
	leaq	296(%rsp), %rax
	movq	%rax, 216(%rsp)
	leaq	304(%rsp), %rax
	movq	%rax, 224(%rsp)
	leaq	312(%rsp), %rax
	movq	%rax, 232(%rsp)
	leaq	320(%rsp), %rax
	movq	%rax, 240(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 96(%rsp)
	movq	%rax, 108(%rsp)
	movl	$1, 116(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L24
	pushq	88(%rsp)
	.cfi_def_cfa_offset 280
	leaq	_Z12partitioningPfS_S_S_S_S_S_S_Piiiii(%rip), %rdi
	pushq	88(%rsp)
	.cfi_def_cfa_offset 288
	movq	124(%rsp), %rcx
	movl	132(%rsp), %r8d
	movq	112(%rsp), %rsi
	movl	120(%rsp), %edx
	leaq	160(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 280
	popq	%rdx
	.cfi_def_cfa_offset 272
.L24:
	movq	248(%rsp), %rax
	subq	%fs:40, %rax
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	addq	$264, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4284:
	.size	_Z52__device_stub__Z12partitioningPfS_S_S_S_S_S_S_PiiiiiPfS_S_S_S_S_S_S_Piiiii, .-_Z52__device_stub__Z12partitioningPfS_S_S_S_S_S_S_PiiiiiPfS_S_S_S_S_S_S_Piiiii
	.globl	_Z12partitioningPfS_S_S_S_S_S_S_Piiiii
	.type	_Z12partitioningPfS_S_S_S_S_S_S_Piiiii, @function
_Z12partitioningPfS_S_S_S_S_S_S_Piiiii:
.LFB4285:
	.cfi_startproc
	endbr64
	jmp	_Z52__device_stub__Z12partitioningPfS_S_S_S_S_S_S_PiiiiiPfS_S_S_S_S_S_S_Piiiii
	.cfi_endproc
.LFE4285:
	.size	_Z12partitioningPfS_S_S_S_S_S_S_Piiiii, .-_Z12partitioningPfS_S_S_S_S_S_S_Piiiii
	.globl	_Z49__device_stub__Z18final_computationsPfS_S_S_S_PiiPfS_S_S_S_Pii
	.type	_Z49__device_stub__Z18final_computationsPfS_S_S_S_PiiPfS_S_S_S_Pii, @function
_Z49__device_stub__Z18final_computationsPfS_S_S_S_PiiPfS_S_S_S_Pii:
.LFB4286:
	.cfi_startproc
	endbr64
	subq	$184, %rsp
	.cfi_def_cfa_offset 192
	movq	%rdi, 40(%rsp)
	leaq	64(%rsp), %rdi
	movq	%rsi, 32(%rsp)
	leaq	76(%rsp), %rsi
	movq	%rdx, 24(%rsp)
	leaq	48(%rsp), %rdx
	movq	%rcx, 16(%rsp)
	leaq	56(%rsp), %rcx
	movq	%r8, 8(%rsp)
	movq	%r9, (%rsp)
	movq	%fs:40, %rax
	movq	%rax, 168(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rax
	movl	$1, 72(%rsp)
	movq	%rax, 112(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 120(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 128(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 136(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 144(%rsp)
	movq	%rsp, %rax
	movq	%rax, 152(%rsp)
	leaq	192(%rsp), %rax
	movq	%rax, 160(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 64(%rsp)
	movq	%rax, 76(%rsp)
	movl	$1, 84(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L29
	pushq	56(%rsp)
	.cfi_def_cfa_offset 200
	leaq	_Z18final_computationsPfS_S_S_S_Pii(%rip), %rdi
	pushq	56(%rsp)
	.cfi_def_cfa_offset 208
	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 200
	popq	%rdx
	.cfi_def_cfa_offset 192
.L29:
	movq	168(%rsp), %rax
	subq	%fs:40, %rax
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	addq	$184, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4286:
	.size	_Z49__device_stub__Z18final_computationsPfS_S_S_S_PiiPfS_S_S_S_Pii, .-_Z49__device_stub__Z18final_computationsPfS_S_S_S_PiiPfS_S_S_S_Pii
	.globl	_Z18final_computationsPfS_S_S_S_Pii
	.type	_Z18final_computationsPfS_S_S_S_Pii, @function
_Z18final_computationsPfS_S_S_S_Pii:
.LFB4287:
	.cfi_startproc
	endbr64
	jmp	_Z49__device_stub__Z18final_computationsPfS_S_S_S_PiiPfS_S_S_S_Pii
	.cfi_endproc
.LFE4287:
	.size	_Z18final_computationsPfS_S_S_S_Pii, .-_Z18final_computationsPfS_S_S_S_Pii
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"_Z18final_computationsPfS_S_S_S_Pii"
.LC1:
	.string	"_Z12partitioningPfS_S_S_S_S_S_S_Piiiii"
.LC2:
	.string	"_Z10LU_tridiagPfS_S_S_ii"
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB4289:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	_ZL15__fatDeviceText(%rip), %rdi
	call	__cudaRegisterFatBinary@PLT
	pushq	$0
	.cfi_def_cfa_offset 24
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC0(%rip), %rdx
	movq	%rax, %rdi
	movq	%rax, %rbx
	pushq	$0
	.cfi_def_cfa_offset 40
	movq	%rdx, %rcx
	leaq	_Z18final_computationsPfS_S_S_S_Pii(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 48
	movq	%rax, _ZL20__cudaFatCubinHandle(%rip)
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	xorl	%r9d, %r9d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC1(%rip), %rdx
	orl	$-1, %r8d
	leaq	_Z12partitioningPfS_S_S_S_S_S_S_Piiiii(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	xorl	%r9d, %r9d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC2(%rip), %rdx
	orl	$-1, %r8d
	leaq	_Z10LU_tridiagPfS_S_S_ii(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	call	__cudaRegisterFatBinaryEnd@PLT
	leaq	_ZL26__cudaUnregisterBinaryUtilv(%rip), %rdi
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	atexit@PLT
	.cfi_endproc
.LFE4289:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.text._ZNSt6vectorIfSaIfEED2Ev,"axG",@progbits,_ZNSt6vectorIfSaIfEED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIfSaIfEED2Ev
	.type	_ZNSt6vectorIfSaIfEED2Ev, @function
_ZNSt6vectorIfSaIfEED2Ev:
.LFB4600:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L36
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L36:
	ret
	.cfi_endproc
.LFE4600:
	.size	_ZNSt6vectorIfSaIfEED2Ev, .-_ZNSt6vectorIfSaIfEED2Ev
	.weak	_ZNSt6vectorIfSaIfEED1Ev
	.set	_ZNSt6vectorIfSaIfEED1Ev,_ZNSt6vectorIfSaIfEED2Ev
	.section	.rodata._ZNSt6vectorIiSaIiEEC2EmRKS0_.str1.1,"aMS",@progbits,1
.LC3:
	.string	"cannot create std::vector larger than max_size()"
	.section	.text._ZNSt6vectorIiSaIiEEC2EmRKS0_,"axG",@progbits,_ZNSt6vectorIiSaIiEEC5EmRKS0_,comdat
	.align 2
	.weak	_ZNSt6vectorIiSaIiEEC2EmRKS0_
	.type	_ZNSt6vectorIiSaIiEEC2EmRKS0_, @function
_ZNSt6vectorIiSaIiEEC2EmRKS0_:
.LFB4610:
	.cfi_startproc
	endbr64
	movabsq	$2305843009213693951, %rax
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	pushq	%r8
	.cfi_def_cfa_offset 32
	cmpq	%rsi, %rax
	jnb	.L39
	leaq	.LC3(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L39:
	movq	%rdi, %rbx
	xorl	%edi, %edi
	movq	%rsi, %rbp
	xorl	%eax, %eax
	movq	%rdi, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rdi, 16(%rbx)
	testq	%rsi, %rsi
	je	.L40
	movq	%rsi, %rdi
	call	_ZNSt15__new_allocatorIfE8allocateEmPKv.isra.0
.L40:
	leaq	(%rax,%rbp,4), %rdx
	movq	%rax, (%rbx)
	movq	%rax, 8(%rbx)
	movq	%rdx, 16(%rbx)
	testq	%rbp, %rbp
	je	.L41
	xorl	%esi, %esi
	addq	$4, %rax
	movl	%esi, -4(%rax)
	decq	%rbp
	je	.L41
.L42:
	cmpq	%rax, %rdx
	je	.L41
	xorl	%ecx, %ecx
	addq	$4, %rax
	movl	%ecx, -4(%rax)
	jmp	.L42
.L41:
	movq	%rax, 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
.LFE4610:
	.size	_ZNSt6vectorIiSaIiEEC2EmRKS0_, .-_ZNSt6vectorIiSaIiEEC2EmRKS0_
	.weak	_ZNSt6vectorIiSaIiEEC1EmRKS0_
	.set	_ZNSt6vectorIiSaIiEEC1EmRKS0_,_ZNSt6vectorIiSaIiEEC2EmRKS0_
	.section	.text._ZNSt6vectorIiSaIiEED2Ev,"axG",@progbits,_ZNSt6vectorIiSaIiEED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIiSaIiEED2Ev
	.type	_ZNSt6vectorIiSaIiEED2Ev, @function
_ZNSt6vectorIiSaIiEED2Ev:
.LFB4613:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L53
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L53:
	ret
	.cfi_endproc
.LFE4613:
	.size	_ZNSt6vectorIiSaIiEED2Ev, .-_ZNSt6vectorIiSaIiEED2Ev
	.weak	_ZNSt6vectorIiSaIiEED1Ev
	.set	_ZNSt6vectorIiSaIiEED1Ev,_ZNSt6vectorIiSaIiEED2Ev
	.section	.text._ZNSt12_Vector_baseIfSaIfEE17_M_create_storageEm,"axG",@progbits,_ZNSt12_Vector_baseIfSaIfEE17_M_create_storageEm,comdat
	.align 2
	.weak	_ZNSt12_Vector_baseIfSaIfEE17_M_create_storageEm
	.type	_ZNSt12_Vector_baseIfSaIfEE17_M_create_storageEm, @function
_ZNSt12_Vector_baseIfSaIfEE17_M_create_storageEm:
.LFB4921:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsi, %rbp
	xorl	%eax, %eax
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rdi, %rbx
	pushq	%rdx
	.cfi_def_cfa_offset 32
	testq	%rsi, %rsi
	je	.L56
	movq	%rsi, %rdi
	call	_ZNSt15__new_allocatorIfE8allocateEmPKv.isra.0
.L56:
	movq	%rax, (%rbx)
	movq	%rax, 8(%rbx)
	leaq	(%rax,%rbp,4), %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
.LFE4921:
	.size	_ZNSt12_Vector_baseIfSaIfEE17_M_create_storageEm, .-_ZNSt12_Vector_baseIfSaIfEE17_M_create_storageEm
	.section	.text._ZNSt6vectorIfSaIfEEC2EmRKS0_,"axG",@progbits,_ZNSt6vectorIfSaIfEEC5EmRKS0_,comdat
	.align 2
	.weak	_ZNSt6vectorIfSaIfEEC2EmRKS0_
	.type	_ZNSt6vectorIfSaIfEEC2EmRKS0_, @function
_ZNSt6vectorIfSaIfEEC2EmRKS0_:
.LFB4597:
	.cfi_startproc
	endbr64
	movabsq	$2305843009213693951, %rax
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	pushq	%rcx
	.cfi_def_cfa_offset 32
	cmpq	%rsi, %rax
	jnb	.L62
	leaq	.LC3(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L62:
	xorl	%edx, %edx
	movq	%rdi, %rbp
	movq	%rsi, %rbx
	movq	%rdx, (%rdi)
	movq	%rdx, 8(%rdi)
	movq	%rdx, 16(%rdi)
	call	_ZNSt12_Vector_baseIfSaIfEE17_M_create_storageEm
	movq	0(%rbp), %rax
	testq	%rbx, %rbx
	je	.L63
	movl	$0x00000000, (%rax)
	leaq	4(%rax), %rdx
	decq	%rbx
	je	.L66
	leaq	(%rdx,%rbx,4), %rcx
	movq	%rdx, %rsi
.L64:
	cmpq	%rsi, %rcx
	je	.L71
	movl	$0x00000000, (%rsi)
	addq	$4, %rsi
	jmp	.L64
.L71:
	subq	%rax, %rcx
	leaq	-4(%rdx,%rcx), %rax
	jmp	.L63
.L66:
	movq	%rdx, %rax
.L63:
	movq	%rax, 8(%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
.LFE4597:
	.size	_ZNSt6vectorIfSaIfEEC2EmRKS0_, .-_ZNSt6vectorIfSaIfEEC2EmRKS0_
	.weak	_ZNSt6vectorIfSaIfEEC1EmRKS0_
	.set	_ZNSt6vectorIfSaIfEEC1EmRKS0_,_ZNSt6vectorIfSaIfEEC2EmRKS0_
	.text
	.globl	_Z17deBoorMakeTridiagSt6vectorIfSaIfEES1_ffRS1_S2_S2_S2_
	.type	_Z17deBoorMakeTridiagSt6vectorIfSaIfEES1_ffRS1_S2_S2_S2_, @function
_Z17deBoorMakeTridiagSt6vectorIfSaIfEES1_ffRS1_S2_S2_S2_:
.LFB4252:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4252
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movq	%rcx, %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movq	%rdx, %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movq	%r9, %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movq	%r8, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%rsi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rdi, %rbx
	subq	$104, %rsp
	.cfi_def_cfa_offset 160
	movq	8(%rdi), %rsi
	subq	(%rdi), %rsi
	movss	%xmm0, 24(%rsp)
	sarq	$2, %rsi
	movss	%xmm1, 28(%rsp)
	decq	%rsi
	movq	%fs:40, %rax
	movq	%rax, 88(%rsp)
	xorl	%eax, %eax
	leaq	64(%rsp), %rax
	movq	%rax, 8(%rsp)
	leaq	40(%rsp), %rax
	movq	8(%rsp), %rdx
	movq	%rax, %rdi
	movq	%rax, 16(%rsp)
.LEHB0:
	call	_ZNSt6vectorIfSaIfEEC1EmRKS0_
.LEHE0:
	movq	8(%rbp), %rsi
	subq	0(%rbp), %rsi
	leaq	39(%rsp), %rdx
	sarq	$2, %rsi
	movq	8(%rsp), %rdi
	decq	%rsi
.LEHB1:
	call	_ZNSt6vectorIfSaIfEEC1EmRKS0_
.LEHE1:
	movq	40(%rsp), %rdx
	movq	48(%rsp), %rcx
	xorl	%eax, %eax
	movq	64(%rsp), %r8
	subq	%rdx, %rcx
.L73:
	cmpq	%rax, %rcx
	je	.L83
	movq	(%rbx), %rsi
	movss	4(%rsi,%rax), %xmm0
	subss	(%rsi,%rax), %xmm0
	movq	0(%rbp), %rsi
	movss	%xmm0, (%rdx,%rax)
	movss	4(%rsi,%rax), %xmm0
	subss	(%rsi,%rax), %xmm0
	movss	%xmm0, (%r8,%rax)
	addq	$4, %rax
	jmp	.L73
.L83:
	movq	(%r14), %rsi
	movq	8(%r14), %rdi
	xorl	%eax, %eax
	movq	0(%r13), %rcx
	movq	(%r12), %r9
	movss	.LC5(%rip), %xmm3
	subq	%rsi, %rdi
.L75:
	cmpq	%rax, %rdi
	je	.L84
	movss	4(%rdx,%rax), %xmm0
	movq	(%r15), %r10
	movss	%xmm0, (%rsi,%rax)
	addss	(%rdx,%rax), %xmm0
	addss	%xmm0, %xmm0
	movss	%xmm0, (%r10,%rax)
	movss	(%rdx,%rax), %xmm2
	movss	%xmm2, (%r9,%rax)
	movss	4(%rdx,%rax), %xmm1
	movaps	%xmm2, %xmm0
	divss	%xmm1, %xmm0
	divss	%xmm2, %xmm1
	mulss	4(%r8,%rax), %xmm0
	mulss	(%r8,%rax), %xmm1
	addss	%xmm1, %xmm0
	mulss	%xmm3, %xmm0
	movss	%xmm0, (%rcx,%rax)
	addq	$4, %rax
	jmp	.L75
.L84:
	movss	24(%rsp), %xmm1
	mulss	(%rsi), %xmm1
	movss	(%rcx), %xmm0
	movq	8(%r12), %rdx
	movq	8(%r13), %rax
	movq	8(%rsp), %rdi
	subss	%xmm1, %xmm0
	movss	28(%rsp), %xmm1
	movss	%xmm0, (%rcx)
	mulss	-4(%rdx), %xmm1
	movss	-4(%rax), %xmm0
	subss	%xmm1, %xmm0
	movss	%xmm0, -4(%rax)
	call	_ZNSt6vectorIfSaIfEED1Ev
	leaq	40(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	je	.L79
	jmp	.L81
.L80:
	endbr64
	movq	%rax, %rbx
.L77:
	movq	16(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L81
	movq	%rbx, %rdi
.LEHB2:
	call	_Unwind_Resume@PLT
.LEHE2:
.L81:
	call	__stack_chk_fail@PLT
.L79:
	addq	$104, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4252:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table,"a",@progbits
.LLSDA4252:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4252-.LLSDACSB4252
.LLSDACSB4252:
	.uleb128 .LEHB0-.LFB4252
	.uleb128 .LEHE0-.LEHB0
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB1-.LFB4252
	.uleb128 .LEHE1-.LEHB1
	.uleb128 .L80-.LFB4252
	.uleb128 0
	.uleb128 .LEHB2-.LFB4252
	.uleb128 .LEHE2-.LEHB2
	.uleb128 0
	.uleb128 0
.LLSDACSE4252:
	.text
	.size	_Z17deBoorMakeTridiagSt6vectorIfSaIfEES1_ffRS1_S2_S2_S2_, .-_Z17deBoorMakeTridiagSt6vectorIfSaIfEES1_ffRS1_S2_S2_S2_
	.section	.text._ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKffEEPT0_PT_S7_S5_,"axG",@progbits,_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKffEEPT0_PT_S7_S5_,comdat
	.weak	_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKffEEPT0_PT_S7_S5_
	.type	_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKffEEPT0_PT_S7_S5_, @function
_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKffEEPT0_PT_S7_S5_:
.LFB5103:
	.cfi_startproc
	endbr64
	subq	%rdi, %rsi
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movq	%rdx, %rcx
	movq	%rsi, %rbx
	cmpq	$4, %rsi
	jle	.L86
	movq	%rsi, %rdx
	movq	%rdi, %rsi
	movq	%rcx, %rdi
	call	memmove@PLT
	movq	%rax, %rcx
	jmp	.L87
.L86:
	jne	.L87
	movss	(%rdi), %xmm0
	movss	%xmm0, (%rdx)
.L87:
	leaq	(%rcx,%rbx), %rax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5103:
	.size	_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKffEEPT0_PT_S7_S5_, .-_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKffEEPT0_PT_S7_S5_
	.section	.text._ZNSt6vectorIfSaIfEEC2ERKS1_,"axG",@progbits,_ZNSt6vectorIfSaIfEEC5ERKS1_,comdat
	.align 2
	.weak	_ZNSt6vectorIfSaIfEEC2ERKS1_
	.type	_ZNSt6vectorIfSaIfEEC2ERKS1_, @function
_ZNSt6vectorIfSaIfEEC2ERKS1_:
.LFB4616:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xorl	%edx, %edx
	movq	%rsi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rdi, %rbx
	pushq	%rax
	.cfi_def_cfa_offset 32
	movq	8(%rsi), %rsi
	subq	0(%rbp), %rsi
	movq	%rdx, (%rdi)
	movq	%rdx, 8(%rdi)
	sarq	$2, %rsi
	movq	%rdx, 16(%rdi)
	call	_ZNSt12_Vector_baseIfSaIfEE17_M_create_storageEm
	movq	8(%rbp), %rsi
	movq	(%rbx), %rdx
	movq	0(%rbp), %rdi
	call	_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKffEEPT0_PT_S7_S5_
	movq	%rax, 8(%rbx)
	popq	%rcx
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4616:
	.size	_ZNSt6vectorIfSaIfEEC2ERKS1_, .-_ZNSt6vectorIfSaIfEEC2ERKS1_
	.weak	_ZNSt6vectorIfSaIfEEC1ERKS1_
	.set	_ZNSt6vectorIfSaIfEEC1ERKS1_,_ZNSt6vectorIfSaIfEEC2ERKS1_
	.section	.rodata.str1.1
.LC6:
	.string	"/home/ubuntu/Datasets/stackv2/train-structured/martinj987/Tridiag_project/master/Tridiag_project/kernel.cu"
.LC7:
	.string	"Error \"%s\" at %s :%d \n"
.LC8:
	.string	"malloc time: "
.LC9:
	.string	" ms"
.LC10:
	.string	"memcpy time: "
.LC11:
	.string	"partit time: "
.LC12:
	.string	"sequen time: "
.LC13:
	.string	"fiinal time: "
.LC14:
	.string	"rescpy time: "
.LC15:
	.string	"sum time: "
.LC16:
	.string	"============================"
	.text
	.globl	_Z21austin_berndt_moultonSt6vectorIfSaIfEES1_S1_RS1_i
	.type	_Z21austin_berndt_moultonSt6vectorIfSaIfEES1_S1_RS1_i, @function
_Z21austin_berndt_moultonSt6vectorIfSaIfEES1_S1_RS1_i:
.LFB4255:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4255
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	.cfi_offset 15, -24
	movq	%rdi, %r15
	pushq	%r14
	.cfi_offset 14, -32
	movq	%rsi, %r14
	pushq	%r13
	.cfi_offset 13, -40
	movq	%rdx, %r13
	pushq	%r12
	.cfi_offset 12, -48
	movl	%r8d, %r12d
	pushq	%rbx
	.cfi_offset 3, -56
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdx
	subq	$408, %rsp
	movq	%rcx, -408(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	leal	(%r8,%r8), %eax
	movl	%eax, -436(%rbp)
	cltq
	movq	%rax, -416(%rbp)
	leaq	-248(%rbp), %rax
	movq	-416(%rbp), %rsi
	movq	%rax, %rdi
	movq	%rax, -424(%rbp)
.LEHB3:
	call	_ZNSt6vectorIfSaIfEEC1EmRKS0_
.LEHE3:
	leaq	-224(%rbp), %rax
	movq	-416(%rbp), %rsi
	movq	%rbx, %rdx
	movq	%rax, %rdi
	movq	%rax, -432(%rbp)
.LEHB4:
	call	_ZNSt6vectorIfSaIfEEC1EmRKS0_
.LEHE4:
	movq	-416(%rbp), %rsi
	leaq	-200(%rbp), %rdi
	movq	%rbx, %rdx
.LEHB5:
	call	_ZNSt6vectorIfSaIfEEC1EmRKS0_
.LEHE5:
	movq	-416(%rbp), %rsi
	leaq	-176(%rbp), %rdi
	movq	%rbx, %rdx
.LEHB6:
	call	_ZNSt6vectorIfSaIfEEC1EmRKS0_
.LEHE6:
	movq	-416(%rbp), %rsi
	leaq	-152(%rbp), %rdi
	movq	%rbx, %rdx
.LEHB7:
	call	_ZNSt6vectorIiSaIiEEC1EmRKS0_
.LEHE7:
	leaq	-376(%rbp), %rdi
	movl	$0x00000000, -400(%rbp)
	movl	$0x00000000, -396(%rbp)
	movl	$0x00000000, -392(%rbp)
	movl	$0x00000000, -388(%rbp)
	movl	$0x00000000, -384(%rbp)
	movl	$0x00000000, -380(%rbp)
.LEHB8:
	call	cudaEventCreate@PLT
	leaq	-368(%rbp), %rdi
	call	cudaEventCreate@PLT
	leaq	-360(%rbp), %rdi
	call	cudaEventCreate@PLT
	leaq	-352(%rbp), %rdi
	call	cudaEventCreate@PLT
	leaq	-344(%rbp), %rdi
	call	cudaEventCreate@PLT
	leaq	-336(%rbp), %rdi
	call	cudaEventCreate@PLT
	leaq	-328(%rbp), %rdi
	call	cudaEventCreate@PLT
	movq	-376(%rbp), %rdi
	xorl	%esi, %esi
	call	cudaEventRecord@PLT
	movq	-376(%rbp), %rdi
	call	cudaEventSynchronize@PLT
	movq	8(%r15), %rsi
	xorl	%eax, %eax
	subq	(%r15), %rsi
	leaq	-320(%rbp), %rdi
	movq	%rax, -320(%rbp)
	call	cudaMalloc@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L92
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	movq	%rax, %rdx
	movl	$200, %r8d
	jmp	.L189
.L92:
	movq	8(%r14), %rsi
	xorl	%eax, %eax
	subq	(%r14), %rsi
	leaq	-312(%rbp), %rdi
	movq	%rax, -312(%rbp)
	call	cudaMalloc@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L94
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	movq	%rax, %rdx
	movl	$201, %r8d
	jmp	.L189
.L94:
	movq	8(%r13), %rsi
	xorl	%eax, %eax
	subq	0(%r13), %rsi
	leaq	-304(%rbp), %rdi
	movq	%rax, -304(%rbp)
	call	cudaMalloc@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L95
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	movq	%rax, %rdx
	movl	$202, %r8d
	jmp	.L189
.L95:
	movq	-408(%rbp), %rax
	xorl	%ebx, %ebx
	leaq	-296(%rbp), %rdi
	movq	%rbx, -296(%rbp)
	movq	8(%rax), %rsi
	subq	(%rax), %rsi
	call	cudaMalloc@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L96
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	movq	%rax, %rdx
	movl	$203, %r8d
	jmp	.L189
.L96:
	movq	-416(%rbp), %rax
	xorl	%r11d, %r11d
	leaq	-288(%rbp), %rdi
	movq	%r11, -288(%rbp)
	salq	$2, %rax
	movq	%rax, %rsi
	movq	%rax, -416(%rbp)
	call	cudaMalloc@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L97
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	movq	%rax, %rdx
	movl	$204, %r8d
	jmp	.L189
.L97:
	movq	-416(%rbp), %rsi
	xorl	%r10d, %r10d
	leaq	-280(%rbp), %rdi
	movq	%r10, -280(%rbp)
	call	cudaMalloc@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L98
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	movq	%rax, %rdx
	movl	$205, %r8d
	jmp	.L189
.L98:
	movq	-416(%rbp), %rsi
	xorl	%r9d, %r9d
	leaq	-272(%rbp), %rdi
	movq	%r9, -272(%rbp)
	call	cudaMalloc@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L99
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	movq	%rax, %rdx
	movl	$206, %r8d
	jmp	.L189
.L99:
	movq	-416(%rbp), %rsi
	xorl	%r8d, %r8d
	leaq	-264(%rbp), %rdi
	movq	%r8, -264(%rbp)
	call	cudaMalloc@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L100
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	movq	%rax, %rdx
	movl	$207, %r8d
	jmp	.L189
.L100:
	xorl	%edi, %edi
	movq	-416(%rbp), %rsi
	movq	%rdi, -256(%rbp)
	leaq	-256(%rbp), %rdi
	call	cudaMalloc@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L101
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	movq	%rax, %rdx
	movl	$208, %r8d
	jmp	.L189
.L101:
	movq	-368(%rbp), %rdi
	xorl	%esi, %esi
	call	cudaEventRecord@PLT
	movq	-368(%rbp), %rdi
	call	cudaEventSynchronize@PLT
	movq	-368(%rbp), %rdx
	movq	-376(%rbp), %rsi
	leaq	-400(%rbp), %rdi
	call	cudaEventElapsedTime@PLT
	movq	(%r15), %rsi
	movq	8(%r15), %rdx
	movl	$1, %ecx
	movq	-320(%rbp), %rdi
	subq	%rsi, %rdx
	call	cudaMemcpy@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L102
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	movq	%rax, %rdx
	movl	$214, %r8d
	jmp	.L189
.L102:
	movq	(%r14), %rsi
	movq	8(%r14), %rdx
	movl	$1, %ecx
	movq	-312(%rbp), %rdi
	subq	%rsi, %rdx
	call	cudaMemcpy@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L103
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	movq	%rax, %rdx
	movl	$215, %r8d
	jmp	.L189
.L103:
	movq	0(%r13), %rsi
	movq	8(%r13), %rdx
	movl	$1, %ecx
	movq	-304(%rbp), %rdi
	subq	%rsi, %rdx
	call	cudaMemcpy@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L104
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	movq	%rax, %rdx
	movl	$216, %r8d
	jmp	.L189
.L104:
	movq	-408(%rbp), %rax
	movq	-296(%rbp), %rdi
	movl	$1, %ecx
	movq	(%rax), %rsi
	movq	8(%rax), %rax
	movq	%rax, %rdx
	movq	%rax, -448(%rbp)
	subq	%rsi, %rdx
	call	cudaMemcpy@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L105
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	movq	%rax, %rdx
	movl	$217, %r8d
	jmp	.L189
.L105:
	movq	-360(%rbp), %rdi
	xorl	%esi, %esi
	call	cudaEventRecord@PLT
	movq	-360(%rbp), %rdi
	call	cudaEventSynchronize@PLT
	movq	-360(%rbp), %rdx
	movq	-368(%rbp), %rsi
	leaq	-396(%rbp), %rdi
	call	cudaEventElapsedTime@PLT
	movq	-408(%rbp), %rax
	xorl	%edi, %edi
	movq	8(%rax), %r15
	movq	(%rax), %r14
	call	cudaSetDevice@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L106
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	movq	%rax, %rdx
	movl	$228, %r8d
	jmp	.L189
.L106:
	leal	127(%r12), %eax
	movl	$128, %esi
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	cltd
	movl	$33554433, %ecx
	movl	$1, -72(%rbp)
	idivl	%esi
	salq	$7, %rcx
	movq	%rcx, -80(%rbp)
	movq	%rcx, %rdx
	movl	$1, %ecx
	movl	%eax, -104(%rbp)
	movl	%eax, %r13d
	movabsq	$4294967297, %rax
	movq	%rax, -100(%rbp)
	movq	-104(%rbp), %rdi
	movl	-96(%rbp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	je	.L107
.L109:
	call	cudaGetLastError@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L110
	jmp	.L190
.L107:
	subq	%r14, %r15
	movslq	%r12d, %rcx
	xorl	%edx, %edx
	pushq	%rsi
	sarq	$2, %r15
	movq	%r15, %rax
	divq	%rcx
	movq	-408(%rbp), %rcx
	movq	-168(%rbp), %rdx
	subq	-176(%rbp), %rdx
	sarq	$2, %rdx
	imull	%eax, %r12d
	subl	%r12d, %r15d
	pushq	%r15
	pushq	%rdx
	movq	8(%rcx), %rdx
	subq	(%rcx), %rdx
	sarq	$2, %rdx
	pushq	%rdx
	pushq	%rax
	pushq	-256(%rbp)
	pushq	-264(%rbp)
	pushq	-272(%rbp)
	movq	-280(%rbp), %r9
	movq	-288(%rbp), %r8
	movq	-296(%rbp), %rcx
	movq	-304(%rbp), %rdx
	movq	-312(%rbp), %rsi
	movq	-320(%rbp), %rdi
	.cfi_escape 0x2e,0x40
	call	_Z52__device_stub__Z12partitioningPfS_S_S_S_S_S_S_PiiiiiPfS_S_S_S_S_S_S_Piiiii
	addq	$64, %rsp
	jmp	.L109
.L190:
	movl	%eax, %edi
	.cfi_escape 0x2e,0
	call	cudaGetErrorString@PLT
	movq	%rax, %rdx
	movl	$231, %r8d
	jmp	.L189
.L110:
	call	cudaDeviceSynchronize@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L111
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	movq	%rax, %rdx
	movl	$232, %r8d
	jmp	.L189
.L111:
	movq	-352(%rbp), %rdi
	xorl	%esi, %esi
	call	cudaEventRecord@PLT
	movq	-352(%rbp), %rdi
	call	cudaEventSynchronize@PLT
	movq	-352(%rbp), %rdx
	movq	-360(%rbp), %rsi
	leaq	-392(%rbp), %rdi
	call	cudaEventElapsedTime@PLT
	movq	-416(%rbp), %rdx
	movq	-288(%rbp), %rsi
	movl	$2, %ecx
	movq	-248(%rbp), %rdi
	call	cudaMemcpy@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L112
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	movq	%rax, %rdx
	movl	$238, %r8d
	jmp	.L189
.L112:
	movq	-416(%rbp), %rdx
	movq	-280(%rbp), %rsi
	movl	$2, %ecx
	movq	-224(%rbp), %rdi
	call	cudaMemcpy@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L113
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	movq	%rax, %rdx
	movl	$239, %r8d
	jmp	.L189
.L113:
	movq	-416(%rbp), %rdx
	movq	-272(%rbp), %rsi
	movl	$2, %ecx
	movq	-200(%rbp), %rdi
	call	cudaMemcpy@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L114
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	movq	%rax, %rdx
	movl	$240, %r8d
	jmp	.L189
.L114:
	movq	-176(%rbp), %r12
	movq	-416(%rbp), %rdx
	movl	$2, %ecx
	movq	-264(%rbp), %rsi
	movq	%r12, %rdi
	call	cudaMemcpy@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L115
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	movq	%rax, %rdx
	movl	$241, %r8d
	jmp	.L189
.L115:
	leaq	-80(%rbp), %r15
	leaq	-200(%rbp), %rsi
	movq	%r15, %rdi
	call	_ZNSt6vectorIfSaIfEEC1ERKS1_
.LEHE8:
	leaq	-104(%rbp), %rbx
	leaq	-224(%rbp), %rsi
	movq	%rbx, %rdi
.LEHB9:
	call	_ZNSt6vectorIfSaIfEEC1ERKS1_
.LEHE9:
	leaq	-128(%rbp), %r14
	leaq	-248(%rbp), %rsi
	movq	%r14, %rdi
.LEHB10:
	call	_ZNSt6vectorIfSaIfEEC1ERKS1_
.LEHE10:
	movl	-436(%rbp), %r9d
	movq	%r15, %rdx
	movq	%rbx, %rsi
	xorl	%r8d, %r8d
	leaq	-176(%rbp), %rcx
	movq	%r14, %rdi
	call	_Z6LU_CPUSt6vectorIfSaIfEES1_S1_RS1_ii
	movq	%r14, %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	%rbx, %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	%r15, %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	-168(%rbp), %r14
	movl	$1, %ecx
	movq	%r12, %rsi
	movq	-264(%rbp), %rdi
	subq	%r12, %r14
	movq	%r14, %rdx
.LEHB11:
	call	cudaMemcpy@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L116
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	movq	%rax, %rdx
	movl	$243, %r8d
	jmp	.L189
.L116:
	movq	-344(%rbp), %rdi
	xorl	%esi, %esi
	call	cudaEventRecord@PLT
	movq	-344(%rbp), %rdi
	call	cudaEventSynchronize@PLT
	movq	-344(%rbp), %rdx
	movq	-352(%rbp), %rsi
	leaq	-388(%rbp), %rdi
	call	cudaEventElapsedTime@PLT
	movl	%r13d, -104(%rbp)
	movl	$33554433, %edx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	salq	$7, %rdx
	movl	$1, %ecx
	movabsq	$4294967297, %rax
	movl	$1, -72(%rbp)
	movq	%rax, -100(%rbp)
	movq	-104(%rbp), %rdi
	movl	-96(%rbp), %esi
	movq	%rdx, -80(%rbp)
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	je	.L117
.L119:
	call	cudaGetLastError@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L120
	jmp	.L191
.L117:
	sarq	$2, %r14
	pushq	%rcx
	movq	-256(%rbp), %r9
	movq	-264(%rbp), %r8
	movq	-296(%rbp), %rcx
	pushq	%r14
	movq	-304(%rbp), %rdx
	movq	-312(%rbp), %rsi
	movq	-320(%rbp), %rdi
	.cfi_escape 0x2e,0x10
	call	_Z49__device_stub__Z18final_computationsPfS_S_S_S_PiiPfS_S_S_S_Pii
	popq	%rax
	popq	%rdx
	jmp	.L119
.L191:
	movl	%eax, %edi
	.cfi_escape 0x2e,0
	call	cudaGetErrorString@PLT
	movq	%rax, %rdx
	movl	$254, %r8d
	jmp	.L189
.L120:
	call	cudaDeviceSynchronize@PLT
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	.L121
.L123:
	movq	-336(%rbp), %rdi
	xorl	%esi, %esi
	call	cudaEventRecord@PLT
	jmp	.L192
.L121:
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	movq	%rax, %rdx
	movl	$257, %r8d
	xorl	%eax, %eax
	movl	$2, %edi
	leaq	.LC6(%rip), %rcx
	leaq	.LC7(%rip), %rsi
	call	__printf_chk@PLT
	jmp	.L123
.L192:
	movq	-336(%rbp), %rdi
	call	cudaEventSynchronize@PLT
	movq	-336(%rbp), %rdx
	movq	-344(%rbp), %rsi
	leaq	-384(%rbp), %rdi
	call	cudaEventElapsedTime@PLT
	movq	-408(%rbp), %rax
	movq	-296(%rbp), %rsi
	movl	$2, %ecx
	movq	(%rax), %rdi
	movq	8(%rax), %rdx
	subq	%rdi, %rdx
	call	cudaMemcpy@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L124
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	movq	%rax, %rdx
	movl	$264, %r8d
.L189:
	leaq	.LC6(%rip), %rcx
	leaq	.LC7(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L93
.L124:
	movq	-328(%rbp), %rdi
	xorl	%esi, %esi
	call	cudaEventRecord@PLT
	movq	-328(%rbp), %rdi
	call	cudaEventSynchronize@PLT
	movq	-328(%rbp), %rdx
	movq	-336(%rbp), %rsi
	leaq	-380(%rbp), %rdi
	call	cudaEventElapsedTime@PLT
	leaq	_ZSt4cout(%rip), %rbx
	leaq	.LC8(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	cvtss2sd	-400(%rbp), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC9(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	leaq	.LC10(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	cvtss2sd	-396(%rbp), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC9(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	leaq	.LC11(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	cvtss2sd	-392(%rbp), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC9(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	leaq	.LC12(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	cvtss2sd	-388(%rbp), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC9(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	leaq	.LC13(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	cvtss2sd	-384(%rbp), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC9(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	leaq	.LC14(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	cvtss2sd	-380(%rbp), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC9(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	leaq	.LC15(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movss	-400(%rbp), %xmm0
	addss	-396(%rbp), %xmm0
	movq	%rax, %rdi
	addss	-392(%rbp), %xmm0
	addss	-388(%rbp), %xmm0
	addss	-384(%rbp), %xmm0
	addss	-380(%rbp), %xmm0
	cvtss2sd	%xmm0, %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC9(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	leaq	.LC16(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
.LEHE11:
	movl	%r12d, %ebx
.L93:
	leaq	-152(%rbp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	leaq	-176(%rbp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	leaq	-200(%rbp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	-432(%rbp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	-424(%rbp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	je	.L133
	jmp	.L144
.L140:
	endbr64
	movq	%rax, %r14
.L125:
	movq	%rbx, %rdi
	movq	%r14, %rbx
	call	_ZNSt6vectorIfSaIfEED1Ev
	jmp	.L126
.L139:
	endbr64
	movq	%rax, %rbx
.L126:
	movq	%r15, %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	jmp	.L127
.L138:
	endbr64
	movq	%rax, %rbx
.L127:
	leaq	-152(%rbp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	jmp	.L128
.L137:
	endbr64
	movq	%rax, %rbx
.L128:
	leaq	-176(%rbp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	jmp	.L129
.L136:
	endbr64
	movq	%rax, %rbx
.L129:
	leaq	-200(%rbp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	jmp	.L130
.L135:
	endbr64
	movq	%rax, %rbx
.L130:
	movq	-432(%rbp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	jmp	.L131
.L134:
	endbr64
	movq	%rax, %rbx
.L131:
	movq	-424(%rbp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L144
	movq	%rbx, %rdi
.LEHB12:
	call	_Unwind_Resume@PLT
.LEHE12:
.L144:
	call	__stack_chk_fail@PLT
.L133:
	leaq	-40(%rbp), %rsp
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4255:
	.section	.gcc_except_table
.LLSDA4255:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4255-.LLSDACSB4255
.LLSDACSB4255:
	.uleb128 .LEHB3-.LFB4255
	.uleb128 .LEHE3-.LEHB3
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB4-.LFB4255
	.uleb128 .LEHE4-.LEHB4
	.uleb128 .L134-.LFB4255
	.uleb128 0
	.uleb128 .LEHB5-.LFB4255
	.uleb128 .LEHE5-.LEHB5
	.uleb128 .L135-.LFB4255
	.uleb128 0
	.uleb128 .LEHB6-.LFB4255
	.uleb128 .LEHE6-.LEHB6
	.uleb128 .L136-.LFB4255
	.uleb128 0
	.uleb128 .LEHB7-.LFB4255
	.uleb128 .LEHE7-.LEHB7
	.uleb128 .L137-.LFB4255
	.uleb128 0
	.uleb128 .LEHB8-.LFB4255
	.uleb128 .LEHE8-.LEHB8
	.uleb128 .L138-.LFB4255
	.uleb128 0
	.uleb128 .LEHB9-.LFB4255
	.uleb128 .LEHE9-.LEHB9
	.uleb128 .L139-.LFB4255
	.uleb128 0
	.uleb128 .LEHB10-.LFB4255
	.uleb128 .LEHE10-.LEHB10
	.uleb128 .L140-.LFB4255
	.uleb128 0
	.uleb128 .LEHB11-.LFB4255
	.uleb128 .LEHE11-.LEHB11
	.uleb128 .L138-.LFB4255
	.uleb128 0
	.uleb128 .LEHB12-.LFB4255
	.uleb128 .LEHE12-.LEHB12
	.uleb128 0
	.uleb128 0
.LLSDACSE4255:
	.text
	.size	_Z21austin_berndt_moultonSt6vectorIfSaIfEES1_S1_RS1_i, .-_Z21austin_berndt_moultonSt6vectorIfSaIfEES1_S1_RS1_i
	.globl	_Z10ABM_on_CPUSt6vectorIfSaIfEES1_S1_RS1_i
	.type	_Z10ABM_on_CPUSt6vectorIfSaIfEES1_S1_RS1_i, @function
_Z10ABM_on_CPUSt6vectorIfSaIfEES1_S1_RS1_i:
.LFB4256:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4256
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movq	%rcx, %r13
	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
	movl	%r8d, %ebx
	subq	$296, %rsp
	.cfi_def_cfa_offset 352
	movq	%rdi, 8(%rsp)
	leaq	256(%rsp), %r12
	leaq	88(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	movq	%rdx, 24(%rsp)
	movq	%r12, %rdx
	movq	%fs:40, %rax
	movq	%rax, 280(%rsp)
	xorl	%eax, %eax
	leal	(%r8,%r8), %eax
	movslq	%eax, %rbp
	movl	%eax, 44(%rsp)
	movq	%rbp, %rsi
.LEHB13:
	call	_ZNSt6vectorIfSaIfEEC1EmRKS0_
.LEHE13:
	leaq	112(%rsp), %rdi
	movq	%r12, %rdx
	movq	%rbp, %rsi
.LEHB14:
	call	_ZNSt6vectorIfSaIfEEC1EmRKS0_
.LEHE14:
	leaq	136(%rsp), %rdi
	movq	%r12, %rdx
	movq	%rbp, %rsi
.LEHB15:
	call	_ZNSt6vectorIfSaIfEEC1EmRKS0_
.LEHE15:
	leaq	160(%rsp), %rdi
	movq	%r12, %rdx
	movq	%rbp, %rsi
.LEHB16:
	call	_ZNSt6vectorIfSaIfEEC1EmRKS0_
.LEHE16:
	leaq	184(%rsp), %rdi
	movq	%r12, %rdx
	movq	%rbp, %rsi
.LEHB17:
	call	_ZNSt6vectorIiSaIiEEC1EmRKS0_
.LEHE17:
	movq	16(%rsp), %rax
	movslq	%ebx, %rcx
	xorl	%edx, %edx
	movq	88(%rsp), %r9
	movss	.LC17(%rip), %xmm2
	movq	136(%rsp), %r8
	movq	160(%rsp), %r14
	movl	$1, %esi
	movq	(%rax), %rdi
	movq	8(%rax), %rax
	movaps	%xmm2, %xmm3
	movq	184(%rsp), %r12
	subq	%rdi, %rax
	sarq	$2, %rax
	movq	%rax, (%rsp)
	divq	%rcx
	movq	112(%rsp), %rcx
	imull	%eax, %ebx
	movl	%eax, 32(%rsp)
	movl	(%rsp), %eax
	subl	%ebx, %eax
	movl	%eax, 68(%rsp)
	movq	120(%rsp), %rax
	subq	%rcx, %rax
	sarq	$2, %rax
	movq	%rax, 48(%rsp)
	decq	%rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
.L194:
	movq	48(%rsp), %rbx
	cmpq	%rbx, %rax
	jnb	.L227
	leaq	1(%rax), %rdx
	cmpq	%rdx, 56(%rsp)
	jne	.L195
	movl	68(%rsp), %ebx
	addl	%ebx, 32(%rsp)
.L195:
	movq	8(%rsp), %rbx
	movslq	%esi, %rdx
	movq	24(%rsp), %r10
	movq	0(%r13), %r11
	movl	32(%rsp), %r15d
	movq	(%rbx), %rbx
	movq	(%r10), %r10
	leal	-2(%r15), %ebp
	movss	(%rbx,%rdx,4), %xmm0
	movl	%ebp, 76(%rsp)
	movss	%xmm0, 4(%r9,%rax,4)
	movss	(%rdi,%rdx,4), %xmm0
	movss	%xmm0, 4(%rcx,%rax,4)
	movss	(%r10,%rdx,4), %xmm0
	movss	%xmm0, 4(%r8,%rax,4)
	movss	(%r11,%rdx,4), %xmm0
	leal	-1(%rsi), %edx
	movl	%edx, 64(%rsp)
	movss	%xmm0, 4(%r14,%rax,4)
	movl	%edx, (%r12,%rax,4)
	leal	1(%rsi), %edx
	movslq	%edx, %rdx
.L197:
	movl	%edx, %ebp
	movl	%edx, 72(%rsp)
	subl	%esi, %ebp
	decl	%ebp
	cmpl	%ebp, 76(%rsp)
	jle	.L196
	movq	(%rsp), %r15
	cmpq	%r15, %rdx
	jnb	.L196
	movss	(%r11,%rdx,4), %xmm4
	movss	4(%rcx,%rax,4), %xmm0
	divss	(%rbx,%rdx,4), %xmm0
	movss	4(%r14,%rax,4), %xmm1
	mulss	%xmm0, %xmm4
	subss	%xmm4, %xmm1
	movss	%xmm1, 4(%r14,%rax,4)
	movss	(%rdi,%rdx,4), %xmm4
	movss	4(%r8,%rax,4), %xmm1
	mulss	%xmm0, %xmm4
	xorps	%xmm2, %xmm0
	subss	%xmm4, %xmm1
	movss	%xmm1, 4(%rcx,%rax,4)
	mulss	(%r10,%rdx,4), %xmm0
	incq	%rdx
	movss	%xmm0, 4(%r8,%rax,4)
	jmp	.L197
.L196:
	leal	-2(%rdx), %esi
	movslq	%esi, %rsi
	movss	(%rbx,%rsi,4), %xmm0
	movss	%xmm0, (%r9,%rax,4)
	movss	(%rdi,%rsi,4), %xmm0
	movss	%xmm0, (%rcx,%rax,4)
	movss	(%r10,%rsi,4), %xmm0
	movss	%xmm0, (%r8,%rax,4)
	movss	(%r11,%rsi,4), %xmm0
	leal	-1(%rdx), %esi
	subl	$3, %edx
	movslq	%edx, %rdx
	movss	%xmm0, (%r14,%rax,4)
	movl	%esi, 4(%r12,%rax,4)
.L198:
	cmpl	%edx, 64(%rsp)
	jg	.L228
	movss	(%r11,%rdx,4), %xmm4
	movss	(%rcx,%rax,4), %xmm0
	divss	(%r10,%rdx,4), %xmm0
	movss	(%r14,%rax,4), %xmm1
	mulss	%xmm0, %xmm4
	subss	%xmm4, %xmm1
	movss	%xmm1, (%r14,%rax,4)
	movss	(%rdi,%rdx,4), %xmm4
	movss	(%r9,%rax,4), %xmm1
	mulss	%xmm0, %xmm4
	xorps	%xmm3, %xmm0
	subss	%xmm4, %xmm1
	movss	%xmm1, (%rcx,%rax,4)
	mulss	(%rbx,%rdx,4), %xmm0
	decq	%rdx
	movss	%xmm0, (%r9,%rax,4)
	jmp	.L198
.L228:
	movl	72(%rsp), %esi
	addq	$2, %rax
	incl	%esi
	jmp	.L194
.L227:
	leaq	256(%rsp), %rbx
	leaq	136(%rsp), %rsi
	movq	%rbx, %rdi
.LEHB18:
	call	_ZNSt6vectorIfSaIfEEC1ERKS1_
.LEHE18:
	leaq	232(%rsp), %rbp
	leaq	112(%rsp), %rsi
	movq	%rbp, %rdi
.LEHB19:
	call	_ZNSt6vectorIfSaIfEEC1ERKS1_
.LEHE19:
	leaq	208(%rsp), %rax
	leaq	88(%rsp), %rsi
	movq	%rax, %rdi
	movq	%rax, %r15
.LEHB20:
	call	_ZNSt6vectorIfSaIfEEC1ERKS1_
.LEHE20:
	movl	44(%rsp), %r9d
	movq	%rbp, %rsi
	xorl	%r8d, %r8d
	movq	%rbx, %rdx
	leaq	160(%rsp), %rax
	movq	%r15, %rdi
	movq	%rax, %rcx
	movq	%rax, 56(%rsp)
	call	_Z6LU_CPUSt6vectorIfSaIfEES1_S1_RS1_ii
	movq	%r15, %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	%rbp, %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	%rbx, %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	168(%rsp), %rbp
	xorl	%eax, %eax
	subq	%r14, %rbp
	sarq	$2, %rbp
.L201:
	cmpq	%rax, %rbp
	je	.L229
	movss	(%r14,%rax,4), %xmm0
	movslq	(%r12,%rax,4), %rcx
	incq	%rax
	movq	0(%r13), %rdx
	movss	%xmm0, (%rdx,%rcx,4)
	jmp	.L201
.L229:
	leaq	256(%rsp), %rax
	xorl	%ebx, %ebx
	movq	%rax, (%rsp)
.L203:
	cmpq	%rbp, %rbx
	jnb	.L230
	movl	(%r12,%rbx,4), %eax
	movq	8(%rsp), %rsi
	movq	0(%r13), %rdx
	movq	(%rsp), %rdi
	movq	(%rsi), %rsi
	incl	%eax
	movslq	%eax, %rcx
	movl	%eax, 48(%rsp)
	movss	(%rsi,%rcx,4), %xmm1
	mulss	(%r14,%rbx,4), %xmm1
	leaq	(%rdx,%rcx,4), %rax
	movss	(%rax), %xmm0
	movq	24(%rsp), %rcx
	movq	24(%rsp), %rsi
	movq	(%rcx), %rcx
	subss	%xmm1, %xmm0
	movss	%xmm0, (%rax)
	movl	4(%r12,%rbx,4), %eax
	movl	%eax, 44(%rsp)
	decl	%eax
	cltq
	movss	(%rcx,%rax,4), %xmm1
	mulss	4(%r14,%rbx,4), %xmm1
	leaq	(%rdx,%rax,4), %rdx
	movss	(%rdx), %xmm0
	subss	%xmm1, %xmm0
	movss	%xmm0, (%rdx)
.LEHB21:
	call	_ZNSt6vectorIfSaIfEEC1ERKS1_
.LEHE21:
	leaq	232(%rsp), %rax
	movq	16(%rsp), %rsi
	movq	%rax, %rdi
	movq	%rax, %r15
.LEHB22:
	call	_ZNSt6vectorIfSaIfEEC1ERKS1_
.LEHE22:
	leaq	208(%rsp), %rax
	movq	8(%rsp), %rsi
	movq	%rax, %rdi
	movq	%rax, 32(%rsp)
.LEHB23:
	call	_ZNSt6vectorIfSaIfEEC1ERKS1_
.LEHE23:
	movl	44(%rsp), %r9d
	movl	48(%rsp), %r8d
	movq	%r13, %rcx
	movq	%r15, %rsi
	movq	(%rsp), %rdx
	movq	32(%rsp), %rdi
	addq	$2, %rbx
	call	_Z6LU_CPUSt6vectorIfSaIfEES1_S1_RS1_ii
	movq	32(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	%r15, %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	jmp	.L203
.L230:
	leaq	184(%rsp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	movq	56(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	leaq	136(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	leaq	112(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	leaq	88(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	280(%rsp), %rax
	subq	%fs:40, %rax
	je	.L215
	jmp	.L225
.L221:
	endbr64
	movq	%rax, %r12
.L205:
	movq	%rbp, %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	jmp	.L206
.L220:
	endbr64
	movq	%rax, %r12
.L206:
	movq	%rbx, %rdi
	movq	%r12, %rbx
	call	_ZNSt6vectorIfSaIfEED1Ev
	jmp	.L207
.L224:
	endbr64
	movq	%rax, %rbx
.L208:
	movq	%r15, %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	jmp	.L209
.L223:
	endbr64
	movq	%rax, %rbx
.L209:
	movq	(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	jmp	.L207
.L222:
	endbr64
	movq	%rax, %rbx
.L207:
	leaq	184(%rsp), %rdi
	call	_ZNSt6vectorIiSaIiEED1Ev
	jmp	.L210
.L219:
	endbr64
	movq	%rax, %rbx
.L210:
	leaq	160(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	jmp	.L211
.L218:
	endbr64
	movq	%rax, %rbx
.L211:
	leaq	136(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	jmp	.L212
.L217:
	endbr64
	movq	%rax, %rbx
.L212:
	leaq	112(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	jmp	.L213
.L216:
	endbr64
	movq	%rax, %rbx
.L213:
	leaq	88(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	280(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L225
	movq	%rbx, %rdi
.LEHB24:
	call	_Unwind_Resume@PLT
.LEHE24:
.L225:
	call	__stack_chk_fail@PLT
.L215:
	addq	$296, %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
.LFE4256:
	.section	.gcc_except_table
.LLSDA4256:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4256-.LLSDACSB4256
.LLSDACSB4256:
	.uleb128 .LEHB13-.LFB4256
	.uleb128 .LEHE13-.LEHB13
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB14-.LFB4256
	.uleb128 .LEHE14-.LEHB14
	.uleb128 .L216-.LFB4256
	.uleb128 0
	.uleb128 .LEHB15-.LFB4256
	.uleb128 .LEHE15-.LEHB15
	.uleb128 .L217-.LFB4256
	.uleb128 0
	.uleb128 .LEHB16-.LFB4256
	.uleb128 .LEHE16-.LEHB16
	.uleb128 .L218-.LFB4256
	.uleb128 0
	.uleb128 .LEHB17-.LFB4256
	.uleb128 .LEHE17-.LEHB17
	.uleb128 .L219-.LFB4256
	.uleb128 0
	.uleb128 .LEHB18-.LFB4256
	.uleb128 .LEHE18-.LEHB18
	.uleb128 .L222-.LFB4256
	.uleb128 0
	.uleb128 .LEHB19-.LFB4256
	.uleb128 .LEHE19-.LEHB19
	.uleb128 .L220-.LFB4256
	.uleb128 0
	.uleb128 .LEHB20-.LFB4256
	.uleb128 .LEHE20-.LEHB20
	.uleb128 .L221-.LFB4256
	.uleb128 0
	.uleb128 .LEHB21-.LFB4256
	.uleb128 .LEHE21-.LEHB21
	.uleb128 .L222-.LFB4256
	.uleb128 0
	.uleb128 .LEHB22-.LFB4256
	.uleb128 .LEHE22-.LEHB22
	.uleb128 .L223-.LFB4256
	.uleb128 0
	.uleb128 .LEHB23-.LFB4256
	.uleb128 .LEHE23-.LEHB23
	.uleb128 .L224-.LFB4256
	.uleb128 0
	.uleb128 .LEHB24-.LFB4256
	.uleb128 .LEHE24-.LEHB24
	.uleb128 0
	.uleb128 0
.LLSDACSE4256:
	.text
	.size	_Z10ABM_on_CPUSt6vectorIfSaIfEES1_S1_RS1_i, .-_Z10ABM_on_CPUSt6vectorIfSaIfEES1_S1_RS1_i
	.align 2
	.type	_ZNSt6vectorIfSaIfEEaSERKS1_.isra.0, @function
_ZNSt6vectorIfSaIfEEaSERKS1_.isra.0:
.LFB5147:
	.cfi_startproc
	cmpq	%rdi, %rsi
	je	.L247
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%rsi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movq	%rdi, %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	movq	8(%rsi), %rsi
	movq	(%r12), %r13
	movq	(%rdi), %rdi
	movq	16(%rbx), %rax
	movq	%rsi, %rbp
	subq	%r13, %rbp
	subq	%rdi, %rax
	cmpq	%rbp, %rax
	jnb	.L233
	movq	%rbp, %rdi
	xorl	%r12d, %r12d
	sarq	$2, %rdi
	je	.L234
	movq	%rsi, 8(%rsp)
	call	_ZNSt15__new_allocatorIfE8allocateEmPKv.isra.0
	movq	8(%rsp), %rsi
	movq	%rax, %r12
.L234:
	movq	%r13, %rdi
	movq	%r12, %rdx
	call	_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKffEEPT0_PT_S7_S5_
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.L235
	movq	16(%rbx), %rsi
	subq	%rdi, %rsi
	call	_ZdlPvm@PLT
.L235:
	movq	%r12, (%rbx)
	addq	%rbp, %r12
	movq	%r12, 16(%rbx)
	jmp	.L236
.L233:
	movq	8(%rbx), %rdx
	subq	%rdi, %rdx
	cmpq	%rbp, %rdx
	jb	.L237
	movq	%rdi, %rdx
	movq	%r13, %rdi
	call	_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKffEEPT0_PT_S7_S5_
	jmp	.L236
.L237:
	cmpq	$4, %rdx
	jle	.L238
	movq	%r13, %rsi
	call	memmove@PLT
	jmp	.L239
.L238:
	jne	.L239
	movss	0(%r13), %xmm0
	movss	%xmm0, (%rdi)
.L239:
	movq	8(%rbx), %rdi
	movq	8(%r12), %rdx
	movq	%rdi, %rsi
	subq	(%rbx), %rsi
	addq	(%r12), %rsi
	subq	%rsi, %rdx
	cmpq	$4, %rdx
	jle	.L240
	call	memmove@PLT
	jmp	.L236
.L240:
	jne	.L236
	movss	(%rsi), %xmm0
	movss	%xmm0, (%rdi)
.L236:
	addq	(%rbx), %rbp
	movq	%rbp, 8(%rbx)
	addq	$24, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L247:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	ret
	.cfi_endproc
.LFE5147:
	.size	_ZNSt6vectorIfSaIfEEaSERKS1_.isra.0, .-_ZNSt6vectorIfSaIfEEaSERKS1_.isra.0
	.section	.rodata.str1.1
.LC19:
	.string	"GPU computing failed!\n"
.LC20:
	.string	"CPU time: "
.LC21:
	.string	"my GPU time: "
.LC23:
	.string	"BACHA! rozdiel v "
.LC24:
	.string	" je presne "
.LC25:
	.string	"cudaDeviceReset failed!"
	.section	.text.startup
	.globl	main
	.type	main, @function
main:
.LFB4257:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4257
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$512000, %esi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$376, %rsp
	.cfi_def_cfa_offset 432
	movq	%fs:40, %rax
	movq	%rax, 360(%rsp)
	xorl	%eax, %eax
	leaq	336(%rsp), %rax
	movq	%rax, 8(%rsp)
	leaq	96(%rsp), %rax
	movq	8(%rsp), %rdx
	movq	%rax, %rdi
	movq	%rax, 16(%rsp)
.LEHB25:
	call	_ZNSt6vectorIfSaIfEEC1EmRKS0_
.LEHE25:
	leaq	120(%rsp), %rax
	movq	8(%rsp), %rdx
	movl	$512000, %esi
	movq	%rax, %rdi
	movq	%rax, 24(%rsp)
.LEHB26:
	call	_ZNSt6vectorIfSaIfEEC1EmRKS0_
.LEHE26:
	leaq	144(%rsp), %rax
	movq	8(%rsp), %rdx
	movl	$512000, %esi
	movq	%rax, %rdi
	movq	%rax, 32(%rsp)
.LEHB27:
	call	_ZNSt6vectorIfSaIfEEC1EmRKS0_
.LEHE27:
	leaq	168(%rsp), %rbx
	movq	8(%rsp), %rdx
	movl	$512000, %esi
	movq	%rbx, %rdi
.LEHB28:
	call	_ZNSt6vectorIfSaIfEEC1EmRKS0_
.LEHE28:
	xorl	%edi, %edi
	xorl	%ebp, %ebp
	call	time@PLT
	movl	%eax, %edi
	call	srand@PLT
.L251:
	call	rand@PLT
	movl	$10, %r12d
	movq	96(%rsp), %r13
	cltd
	idivl	%r12d
	addq	%rbp, %r13
	incl	%edx
	cvtsi2ssl	%edx, %xmm0
	movss	%xmm0, 0(%r13)
	call	rand@PLT
	cltd
	idivl	%r12d
	movq	144(%rsp), %rax
	incl	%edx
	cvtsi2ssl	%edx, %xmm0
	movss	%xmm0, (%rax,%rbp)
	addss	0(%r13), %xmm0
	addss	.LC18(%rip), %xmm0
	movss	%xmm0, 40(%rsp)
	call	rand@PLT
	cltd
	idivl	%r12d
	movq	120(%rsp), %rax
	cvtsi2ssl	%edx, %xmm0
	addss	40(%rsp), %xmm0
	movss	%xmm0, (%rax,%rbp)
	call	rand@PLT
	movl	$100, %ecx
	movq	168(%rsp), %r12
	cltd
	idivl	%ecx
	cvtsi2ssl	%edx, %xmm0
	movss	%xmm0, (%r12,%rbp)
	addq	$4, %rbp
	cmpq	$2048000, %rbp
	jne	.L251
	leaq	192(%rsp), %r14
	movq	8(%rsp), %rdx
	movl	$512000, %esi
	movq	%r14, %rdi
.LEHB29:
	call	_ZNSt6vectorIfSaIfEEC1EmRKS0_
.LEHE29:
	leaq	216(%rsp), %rax
	movq	8(%rsp), %rdx
	movl	$512000, %esi
	movq	%rax, %rdi
	movq	%rax, 40(%rsp)
.LEHB30:
	call	_ZNSt6vectorIfSaIfEEC1EmRKS0_
.LEHE30:
	leaq	240(%rsp), %rax
	movq	8(%rsp), %rdx
	movl	$512000, %esi
	movq	%rax, %rdi
	movq	%rax, 48(%rsp)
.LEHB31:
	call	_ZNSt6vectorIfSaIfEEC1EmRKS0_
.LEHE31:
	leaq	264(%rsp), %r15
	movq	8(%rsp), %rdx
	movl	$512000, %esi
	movq	%r15, %rdi
.LEHB32:
	call	_ZNSt6vectorIfSaIfEEC1EmRKS0_
.LEHE32:
	movq	16(%rsp), %rsi
	movq	%r14, %rdi
.LEHB33:
	call	_ZNSt6vectorIfSaIfEEaSERKS1_.isra.0
	movq	24(%rsp), %rsi
	movq	40(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEEaSERKS1_.isra.0
	movq	32(%rsp), %rsi
	movq	48(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEEaSERKS1_.isra.0
	movq	%rbx, %rsi
	movq	%r15, %rdi
	call	_ZNSt6vectorIfSaIfEEaSERKS1_.isra.0
	leaq	72(%rsp), %rdi
	movl	$0x00000000, 64(%rsp)
	movl	$0x00000000, 68(%rsp)
	call	cudaEventCreate@PLT
	leaq	80(%rsp), %rdi
	call	cudaEventCreate@PLT
	leaq	88(%rsp), %rdi
	call	cudaEventCreate@PLT
	movq	72(%rsp), %rdi
	xorl	%esi, %esi
	call	cudaEventRecord@PLT
	movq	72(%rsp), %rdi
	call	cudaEventSynchronize@PLT
	movq	176(%rsp), %rbx
	movq	48(%rsp), %rsi
	movq	8(%rsp), %rdi
	subq	%r12, %rbx
	sarq	$2, %rbx
	call	_ZNSt6vectorIfSaIfEEC1ERKS1_
.LEHE33:
	leaq	312(%rsp), %rbp
	movq	40(%rsp), %rsi
	movq	%rbp, %rdi
.LEHB34:
	call	_ZNSt6vectorIfSaIfEEC1ERKS1_
.LEHE34:
	leaq	288(%rsp), %r13
	movq	%r14, %rsi
	movq	%r13, %rdi
.LEHB35:
	call	_ZNSt6vectorIfSaIfEEC1ERKS1_
.LEHE35:
	movq	8(%rsp), %rdx
	movq	%rbp, %rsi
	movl	%ebx, %r9d
	xorl	%r8d, %r8d
	movq	%r15, %rcx
	movq	%r13, %rdi
	call	_Z6LU_CPUSt6vectorIfSaIfEES1_S1_RS1_ii
	movq	%r13, %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	%rbp, %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	8(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	80(%rsp), %rdi
	xorl	%esi, %esi
.LEHB36:
	call	cudaEventRecord@PLT
	movq	80(%rsp), %rdi
	call	cudaEventSynchronize@PLT
	movq	80(%rsp), %rdx
	movq	72(%rsp), %rsi
	leaq	64(%rsp), %rdi
	call	cudaEventElapsedTime@PLT
	movq	32(%rsp), %rsi
	movq	8(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEEC1ERKS1_
.LEHE36:
	movq	24(%rsp), %rsi
	movq	%rbp, %rdi
.LEHB37:
	call	_ZNSt6vectorIfSaIfEEC1ERKS1_
.LEHE37:
	movq	16(%rsp), %rsi
	movq	%r13, %rdi
.LEHB38:
	call	_ZNSt6vectorIfSaIfEEC1ERKS1_
.LEHE38:
	leaq	168(%rsp), %r14
	movq	8(%rsp), %rdx
	movq	%rbp, %rsi
	movq	%r13, %rdi
	movl	$1024, %r8d
	movq	%r14, %rcx
.LEHB39:
	call	_Z21austin_berndt_moultonSt6vectorIfSaIfEES1_S1_RS1_i
.LEHE39:
	movq	%r13, %rdi
	movl	%eax, 60(%rsp)
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	%rbp, %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	8(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movl	60(%rsp), %eax
	testl	%eax, %eax
	je	.L252
	leaq	.LC19(%rip), %rdx
.L293:
	movq	stderr(%rip), %rdi
	movl	$2, %esi
	xorl	%eax, %eax
.LEHB40:
	call	__fprintf_chk@PLT
	movl	$1, %ebx
	jmp	.L253
.L252:
	movq	88(%rsp), %rdi
	xorl	%esi, %esi
	call	cudaEventRecord@PLT
	movq	88(%rsp), %rdi
	call	cudaEventSynchronize@PLT
	movq	88(%rsp), %rdx
	movq	80(%rsp), %rsi
	leaq	68(%rsp), %rdi
	call	cudaEventElapsedTime@PLT
	leaq	_ZSt4cout(%rip), %r13
	leaq	.LC20(%rip), %rsi
	movq	%r13, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	cvtss2sd	64(%rsp), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	leaq	.LC9(%rip), %rbp
	movq	%rax, %rdi
	movq	%rbp, %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	leaq	.LC21(%rip), %rsi
	movq	%r13, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	cvtss2sd	68(%rsp), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	movq	%rbp, %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	xorl	%ebp, %ebp
.L254:
	cmpq	%rbx, %rbp
	je	.L296
	movq	264(%rsp), %rax
	movss	(%r12,%rbp,4), %xmm0
	subss	(%rax,%rbp,4), %xmm0
	cvtss2sd	%xmm0, %xmm2
	comisd	.LC22(%rip), %xmm2
	movsd	%xmm2, 8(%rsp)
	ja	.L255
.L256:
	incq	%rbp
	jmp	.L254
.L255:
	leaq	.LC23(%rip), %rsi
	movq	%r13, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	%ebp, %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	leaq	.LC24(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movsd	8(%rsp), %xmm0
	movq	%rax, %rdi
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E@PLT
	jmp	.L256
.L296:
	call	cudaDeviceReset@PLT
.LEHE40:
	xorl	%ebx, %ebx
	leaq	.LC25(%rip), %rdx
	testl	%eax, %eax
	jne	.L293
.L253:
	movq	%r15, %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	48(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	40(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	leaq	192(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	%r14, %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	32(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	24(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	16(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	360(%rsp), %rax
	subq	%fs:40, %rax
	je	.L273
	jmp	.L290
.L284:
	endbr64
	jmp	.L295
.L283:
	endbr64
	jmp	.L294
.L287:
	endbr64
	movq	%rax, %rbx
.L262:
	leaq	288(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	jmp	.L263
.L286:
	endbr64
.L295:
	movq	%rax, %rbx
.L263:
	movq	%rbp, %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	jmp	.L264
.L285:
	endbr64
.L294:
	movq	%rax, %rbx
.L264:
	movq	8(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	jmp	.L261
.L282:
	endbr64
	movq	%rax, %rbx
.L261:
	leaq	264(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	jmp	.L265
.L281:
	endbr64
	movq	%rax, %rbx
.L265:
	leaq	240(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	jmp	.L266
.L280:
	endbr64
	movq	%rax, %rbx
.L266:
	leaq	216(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	jmp	.L267
.L279:
	endbr64
	movq	%rax, %rbx
.L267:
	leaq	192(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	jmp	.L268
.L278:
	endbr64
	movq	%rax, %rbx
.L268:
	leaq	168(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	jmp	.L269
.L277:
	endbr64
	movq	%rax, %rbx
.L269:
	movq	32(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	jmp	.L270
.L276:
	endbr64
	movq	%rax, %rbx
.L270:
	movq	24(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	jmp	.L271
.L275:
	endbr64
	movq	%rax, %rbx
.L271:
	movq	16(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	360(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L290
	movq	%rbx, %rdi
.LEHB41:
	call	_Unwind_Resume@PLT
.LEHE41:
.L290:
	call	__stack_chk_fail@PLT
.L273:
	addq	$376, %rsp
	.cfi_def_cfa_offset 56
	movl	%ebx, %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
.LFE4257:
	.section	.gcc_except_table
.LLSDA4257:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4257-.LLSDACSB4257
.LLSDACSB4257:
	.uleb128 .LEHB25-.LFB4257
	.uleb128 .LEHE25-.LEHB25
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB26-.LFB4257
	.uleb128 .LEHE26-.LEHB26
	.uleb128 .L275-.LFB4257
	.uleb128 0
	.uleb128 .LEHB27-.LFB4257
	.uleb128 .LEHE27-.LEHB27
	.uleb128 .L276-.LFB4257
	.uleb128 0
	.uleb128 .LEHB28-.LFB4257
	.uleb128 .LEHE28-.LEHB28
	.uleb128 .L277-.LFB4257
	.uleb128 0
	.uleb128 .LEHB29-.LFB4257
	.uleb128 .LEHE29-.LEHB29
	.uleb128 .L278-.LFB4257
	.uleb128 0
	.uleb128 .LEHB30-.LFB4257
	.uleb128 .LEHE30-.LEHB30
	.uleb128 .L279-.LFB4257
	.uleb128 0
	.uleb128 .LEHB31-.LFB4257
	.uleb128 .LEHE31-.LEHB31
	.uleb128 .L280-.LFB4257
	.uleb128 0
	.uleb128 .LEHB32-.LFB4257
	.uleb128 .LEHE32-.LEHB32
	.uleb128 .L281-.LFB4257
	.uleb128 0
	.uleb128 .LEHB33-.LFB4257
	.uleb128 .LEHE33-.LEHB33
	.uleb128 .L282-.LFB4257
	.uleb128 0
	.uleb128 .LEHB34-.LFB4257
	.uleb128 .LEHE34-.LEHB34
	.uleb128 .L283-.LFB4257
	.uleb128 0
	.uleb128 .LEHB35-.LFB4257
	.uleb128 .LEHE35-.LEHB35
	.uleb128 .L284-.LFB4257
	.uleb128 0
	.uleb128 .LEHB36-.LFB4257
	.uleb128 .LEHE36-.LEHB36
	.uleb128 .L282-.LFB4257
	.uleb128 0
	.uleb128 .LEHB37-.LFB4257
	.uleb128 .LEHE37-.LEHB37
	.uleb128 .L285-.LFB4257
	.uleb128 0
	.uleb128 .LEHB38-.LFB4257
	.uleb128 .LEHE38-.LEHB38
	.uleb128 .L286-.LFB4257
	.uleb128 0
	.uleb128 .LEHB39-.LFB4257
	.uleb128 .LEHE39-.LEHB39
	.uleb128 .L287-.LFB4257
	.uleb128 0
	.uleb128 .LEHB40-.LFB4257
	.uleb128 .LEHE40-.LEHB40
	.uleb128 .L282-.LFB4257
	.uleb128 0
	.uleb128 .LEHB41-.LFB4257
	.uleb128 .LEHE41-.LEHB41
	.uleb128 0
	.uleb128 0
.LLSDACSE4257:
	.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.cst4,"aM",@progbits,4
	.align 4
.LC5:
	.long	1077936128
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC17:
	.long	-2147483648
	.long	0
	.long	0
	.long	0
	.section	.rodata.cst4
	.align 4
.LC18:
	.long	1065353216
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC22:
	.long	-2036257893
	.long	1023837339
	.hidden	DW.ref.__gxx_personality_v0
	.weak	DW.ref.__gxx_personality_v0
	.section	.data.rel.local.DW.ref.__gxx_personality_v0,"awG",@progbits,DW.ref.__gxx_personality_v0,comdat
	.align 8
	.type	DW.ref.__gxx_personality_v0, @object
	.size	DW.ref.__gxx_personality_v0, 8
DW.ref.__gxx_personality_v0:
	.quad	__gxx_personality_v0
	.ident	"GCC: (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

#include "hip/hip_runtime.h"



#include <time.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <algorithm>
#include <vector>
#include <iostream>

#define CUDA_CALL(x) do { hipError_t err = x; if (( err ) != hipSuccess ){ \
printf ("Error \"%s\" at %s :%d \n" , hipGetErrorString(err), \
__FILE__ , __LINE__ ) ; return err;\
}} while (0);

void deBoorMakeTridiag(std::vector<float> x, std::vector<float> y, float d0, float dn, std::vector<float> &a, std::vector<float> &b, std::vector<float> &c, std::vector<float> &r)
{
	std::vector<float> dX(x.size() - 1);
	std::vector<float> dY(y.size() - 1);
	for (int i = 0; i < dX.size(); i++)
	{
		dX[i] = x[i + 1] - x[i];
		dY[i] = y[i + 1] - y[i];
	}
	for (int i = 0; i < a.size(); i++)
	{
		a[i] = dX[i + 1];
		b[i] = 2 * (dX[i] + dX[i + 1]);
		c[i] = dX[i];
		r[i] = 3 * ((dX[i] / dX[i + 1]) * dY[i + 1] + (dX[i + 1] / dX[i]) * dY[i]);
	}
	r[0] -= a[0] * d0;
	r[r.size() - 1] -= c[c.size() - 1] * dn;
}

__global__ void LU_tridiag(float* a, float* b, float* c, float* r, int from, int to)
{
	for (int i = from + 1; i < to; i++)
	{
		a[i] = a[i] / b[i - 1];
		b[i] = b[i] - (a[i] * c[i - 1]);
		r[i] = r[i] - (a[i] * r[i - 1]);
	}
	r[to - 1] = r[to - 1] / b[to - 1];
	for (int i = to - 2; i >= from; i--)
	{
		r[i] = (r[i] - (c[i] * r[i + 1])) / b[i];
	}
}

__device__ void LU_tridiag_device(float* a, float* b, float* c, float* r, int from, int to)
{
	for (int i = from + 1; i < to; i++)
	{
		a[i] = a[i] / b[i - 1];
		b[i] = b[i] - (a[i] * c[i - 1]);
		r[i] = r[i] - (a[i] * r[i - 1]);
	}
	r[to - 1] = r[to - 1] / b[to - 1];
	for (int i = to - 2; i >= from; i--)
	{
		r[i] = (r[i] - (c[i] * r[i + 1])) / b[i];
	}
}

void LU_CPU(std::vector<float> a, std::vector<float> b, std::vector<float> c, std::vector<float> &r, int from, int to)
{
	for (int i = from + 1; i < to; i++)
	{
		a[i] = a[i] / b[i - 1];
		b[i] = b[i] - (a[i] * c[i - 1]);
		r[i] = r[i] - (a[i] * r[i - 1]);
	}
	r[to - 1] = r[to - 1] / b[to - 1];
	for (int i = to - 2; i >= from; i--)
	{
		r[i] = (r[i] - (c[i] * r[i + 1])) / b[i];
	}
}

__global__ void partitioning(float* a, float* b, float* c, float* r, float* Va, float* Vb, float* Vc, float* Vr, int* Vindex, int pLength, int size, int Vsize, int remainder) {
	int idx = blockDim.x * blockIdx.x + threadIdx.x;
	int i = idx * 2 + 1;
	int myLength = pLength;
	int j = idx * myLength;
	if (i == Vsize - 1) // if this is the last processor
	{
		myLength += remainder;
	}
	if (i < Vsize)
	{
		/*float *dev_a = new float[myLength];
		float *dev_b = new float[myLength];
		float *dev_c = new float[myLength];
		float *dev_r = new float[myLength];
		for (int k = 0; k < myLength; k++)
		{
			dev_a[k] = a[j + k];
			dev_b[k] = b[j + k];
			dev_c[k] = c[j + k];
			dev_r[k] = r[j + k];
		}*/
		/*float Vai = dev_a[1];
		float Vbi = dev_b[1];
		float Vci = dev_c[1];
		float Vri = dev_r[1];*/
		float Vai = a[j + 1];
		float Vbi = b[j + 1];
		float Vci = c[j + 1];
		float Vri = r[j + 1];
		Vindex[i - 1] = j;
		Vindex[i] = j + myLength - 1;
		int jInit = j;
		for (int k = 2; k < myLength; k++) /* && j < size*/
		{
			float alpha = Vbi / a[j + k];
			Vri -= alpha * r[j + k];
			Vbi = Vci - alpha * b[j + k];
			Vci = -alpha * c[j + k];
		}
		Va[i] = Vai;
		Vb[i] = Vbi;
		Vc[i] = Vci;
		Vr[i] = Vri;
		i--;
		Vai = a[j + myLength - 2];
		Vbi = b[j + myLength - 2];
		Vci = c[j + myLength - 2];
		Vri = r[j + myLength - 2];
		for (int k = myLength - 3; k >= 0; k--)
		{
			float beta = Vbi / c[j + k];
			Vri = Vri - beta * r[j + k];
			Vbi = Vai - beta * b[j + k];
			Vai = -beta * a[j + k];
		}
		Va[i] = Vai;
		Vb[i] = Vbi;
		Vc[i] = Vci;
		Vr[i] = Vri;
		/*delete[] dev_a;
		delete[] dev_b;
		delete[] dev_c;
		delete[] dev_r;*/
	}
}

__global__ void final_computations(float* a, float* b, float* c, float* r, float* Vr, int* Vindex, int Vsize)
{
	int i = (blockDim.x * blockIdx.x + threadIdx.x) * 2;
	if (i < Vsize)
	{
		/*int Vind = Vindex[i];
		int Vind1 = Vindex[i + 1];
		float Vri = Vr[i];
		float Vri1 = Vr[i + 1];*/

		r[Vindex[i]] = Vr[i];
		r[Vindex[i + 1]] = Vr[i+1];

		int idx1 = Vindex[i] + 1;
		r[idx1] -= a[idx1] * Vr[i];

		int idx2 = Vindex[i + 1] - 1;
		r[idx2] -= c[idx2] * Vr[i+1];

		LU_tridiag_device(a, b, c, r, idx1, idx2 + 1);
	}
}

hipError_t austin_berndt_moulton(std::vector<float> a, std::vector<float> b, std::vector<float> c, std::vector<float> &r, int nOfParts)
{
	int Vsize = nOfParts * 2;
	std::vector<float> Va(Vsize);
	std::vector<float> Vb(Vsize);
	std::vector<float> Vc(Vsize);
	std::vector<float> Vr(Vsize);
	std::vector<int> Vindex(Vsize);

	hipEvent_t start, stop_malloc, stop_memcpy1, stop_partitioning, stop_seq, stop_final, stop_memcpy_final;
	float time1 = 0.0;
	float time2 = 0.0;
	float time3 = 0.0;
	float time4 = 0.0;
	float time5 = 0.0;
	float time6 = 0.0;
	hipEventCreate(&start);
	hipEventCreate(&stop_malloc);
	hipEventCreate(&stop_memcpy1);
	hipEventCreate(&stop_partitioning);
	hipEventCreate(&stop_seq);
	hipEventCreate(&stop_final);
	hipEventCreate(&stop_memcpy_final);

	hipEventRecord(start);
	hipEventSynchronize(start);

	float *dev_a = 0; CUDA_CALL(hipMalloc((void**)&dev_a, a.size() * sizeof(float)));
	float *dev_b = 0; CUDA_CALL(hipMalloc((void**)&dev_b, b.size() * sizeof(float)));
	float *dev_c = 0; CUDA_CALL(hipMalloc((void**)&dev_c, c.size() * sizeof(float)));
	float *dev_r = 0; CUDA_CALL(hipMalloc((void**)&dev_r, r.size() * sizeof(float)));
	float *dev_Va = 0; CUDA_CALL(hipMalloc((void**)&dev_Va, Vsize * sizeof(float)));
	float *dev_Vb = 0; CUDA_CALL(hipMalloc((void**)&dev_Vb, Vsize * sizeof(float)));
	float *dev_Vc = 0; CUDA_CALL(hipMalloc((void**)&dev_Vc, Vsize * sizeof(float)));
	float *dev_Vr = 0; CUDA_CALL(hipMalloc((void**)&dev_Vr, Vsize * sizeof(float)));
	int *dev_Vidx = 0; CUDA_CALL(hipMalloc((void**)&dev_Vidx, Vsize * sizeof(int)));

	hipEventRecord(stop_malloc);
	hipEventSynchronize(stop_malloc);
	hipEventElapsedTime(&time1, start, stop_malloc);

	CUDA_CALL(hipMemcpy(dev_a, &a[0], a.size() * sizeof(float), hipMemcpyHostToDevice));
	CUDA_CALL(hipMemcpy(dev_b, &b[0], b.size() * sizeof(float), hipMemcpyHostToDevice));
	CUDA_CALL(hipMemcpy(dev_c, &c[0], c.size() * sizeof(float), hipMemcpyHostToDevice));
	CUDA_CALL(hipMemcpy(dev_r, &r[0], r.size() * sizeof(float), hipMemcpyHostToDevice));

	hipEventRecord(stop_memcpy1);
	hipEventSynchronize(stop_memcpy1);
	hipEventElapsedTime(&time2, stop_malloc, stop_memcpy1);

	int pLength = r.size() / nOfParts;
	int remainder = r.size() - (pLength * nOfParts);
	int threadsPerBlock = 128;
	int numBlocks = (nOfParts + threadsPerBlock - 1) / threadsPerBlock;

	CUDA_CALL(hipSetDevice(0));

	partitioning<<<numBlocks, threadsPerBlock>>>(dev_a, dev_b, dev_c, dev_r, dev_Va, dev_Vb, dev_Vc, dev_Vr, dev_Vidx, pLength, r.size(), Vr.size(), remainder);
	CUDA_CALL(hipGetLastError());
	CUDA_CALL(hipDeviceSynchronize());

	hipEventRecord(stop_partitioning);
	hipEventSynchronize(stop_partitioning);
	hipEventElapsedTime(&time3, stop_memcpy1, stop_partitioning);

	CUDA_CALL(hipMemcpy(&Va[0], dev_Va, Vsize * sizeof(float), hipMemcpyDeviceToHost));
	CUDA_CALL(hipMemcpy(&Vb[0], dev_Vb, Vsize * sizeof(float), hipMemcpyDeviceToHost));
	CUDA_CALL(hipMemcpy(&Vc[0], dev_Vc, Vsize * sizeof(float), hipMemcpyDeviceToHost));
	CUDA_CALL(hipMemcpy(&Vr[0], dev_Vr, Vsize * sizeof(float), hipMemcpyDeviceToHost));
	LU_CPU(Va, Vb, Vc, Vr, 0, Vsize);
	CUDA_CALL(hipMemcpy(dev_Vr, &Vr[0], Vr.size() * sizeof(float), hipMemcpyHostToDevice));
	
	/*LU_tridiag<<<1, 1>>>(dev_Va, dev_Vb, dev_Vc, dev_Vr, 0, Vsize);
	CUDA_CALL(cudaGetLastError());
	CUDA_CALL(cudaDeviceSynchronize());*/

	hipEventRecord(stop_seq);
	hipEventSynchronize(stop_seq);
	hipEventElapsedTime(&time4, stop_partitioning, stop_seq);

	final_computations<<<numBlocks, threadsPerBlock>>>(dev_a, dev_b, dev_c, dev_r, dev_Vr, dev_Vidx, Vr.size());
	CUDA_CALL(hipGetLastError());
	hipError_t err = hipDeviceSynchronize();
	if ((err) != hipSuccess) {
		printf("Error \"%s\" at %s :%d \n", hipGetErrorString(err), __FILE__, __LINE__);
	}

	hipEventRecord(stop_final);
	hipEventSynchronize(stop_final);
	hipEventElapsedTime(&time5, stop_seq, stop_final);

	CUDA_CALL(hipMemcpy(&r[0], dev_r, r.size() * sizeof(float), hipMemcpyDeviceToHost));

	hipEventRecord(stop_memcpy_final);
	hipEventSynchronize(stop_memcpy_final);
	hipEventElapsedTime(&time6, stop_final, stop_memcpy_final);

	std::cout << "malloc time: " << time1 << " ms" << std::endl;
	std::cout << "memcpy time: " << time2 << " ms" << std::endl;
	std::cout << "partit time: " << time3 << " ms" << std::endl;
	std::cout << "sequen time: " << time4 << " ms" << std::endl;
	std::cout << "fiinal time: " << time5 << " ms" << std::endl;
	std::cout << "rescpy time: " << time6 << " ms" << std::endl;
	std::cout << "sum time: " << time1+time2+time3+time4+time5+time6 << " ms" << std::endl;
	std::cout << "============================" << std::endl;

	return err;
}

void ABM_on_CPU(std::vector<float> a, std::vector<float> b, std::vector<float> c, std::vector<float> &r, int nOfParts) {
	int Vsize = nOfParts * 2;
	std::vector<float> Va(Vsize);
	std::vector<float> Vb(Vsize);
	std::vector<float> Vc(Vsize);
	std::vector<float> Vr(Vsize);
	std::vector<int> Vindex(Vsize);
	int j = 1;
	int pLength = b.size() / nOfParts;
	int remainder = b.size() - (pLength * nOfParts);
	for (int i = 0; i < Vb.size(); i += 2)
	{
		i++;
		if (i == Vb.size() - 1)
		{
			pLength += remainder;
		}
		Va[i] = a[j];
		Vb[i] = b[j];
		Vc[i] = c[j];
		Vr[i] = r[j];
		Vindex[i - 1] = j - 1;
		int jInit = j - 1;
		j++;
		for (int k = 0; k < pLength - 2 && j < b.size(); k++, j++)
		{
			float alpha = Vb[i] / a[j];
			Vr[i] -= alpha * r[j];
			Vb[i] = Vc[i] - alpha * b[j];
			Vc[i] = -alpha * c[j];
		}
		i--;
		Va[i] = a[j - 2];
		Vb[i] = b[j - 2];
		Vc[i] = c[j - 2];
		Vr[i] = r[j - 2];
		Vindex[i + 1] = j - 1;
		for (int k = j - 3; k >= jInit; k--)
		{
			float beta = Vb[i] / c[k];
			Vr[i] = Vr[i] - beta * r[k];
			Vb[i] = Va[i] - beta * b[k];
			Va[i] = -beta * a[k];
		}
		j++;
	}
	LU_CPU(Va, Vb, Vc, Vr, 0, Vsize);
	for (int i = 0; i < Vr.size(); i++)
	{
		r[Vindex[i]] = Vr[i];
	}
	for (int i = 0; i < Vr.size(); i += 2)
	{
		int idx1 = Vindex[i] + 1;
		r[idx1] -= a[idx1] * Vr[i];
		int idx2 = Vindex[i + 1] - 1;
		r[idx2] -= c[idx2] * Vr[i + 1];
		
		LU_CPU(a, b, c, r, idx1, idx2 + 1);
	}
}

int main()
{
	const int matrixSize = 500 * 1024;
	std::vector<float> a(matrixSize);
	std::vector<float> b(matrixSize);
	std::vector<float> c(matrixSize);
	std::vector<float> r(matrixSize);
	//float d1 = 1, dr = -1;
	//float x1 = -4, xr = 4;
	//std::vector<float> X(matrixSize + 2);
	//std::vector<float> F(matrixSize + 2);
	//float h = (xr - x1) / (X.size() - 1);
	//// Data X, F:
	//X[0] = x1;
	//F[0] = 1 / (1 + 4 * X[0] * X[0]);
	//for (int i = 1; i < X.size(); i++)
	//{
	//	X[i] = X[i - 1] + h; F[i] = 1 / (1 + 4 * X[i] * X[i]);
	//}
	//deBoorMakeTridiag(X, F, d1, dr, a, b, c, r);
	srand(time(NULL));
	for (size_t i = 0; i < matrixSize; i++)
	{
		a[i] = rand() % 10 + 1;
		c[i] = rand() % 10 + 1;
		b[i] = a[i] + c[i] + 1 + rand() % 10; // musi byt diagonalne dominantna
		r[i] = rand() % 100;
	}
	std::vector<float> a2(matrixSize);
	std::vector<float> b2(matrixSize);
	std::vector<float> c2(matrixSize);
	std::vector<float> r2(matrixSize);
	a2 = a;
	b2 = b;
	c2 = c;
	r2 = r;

	hipEvent_t start, stop_CPU, stop_GPU;
	float time1 = 0.0;
	float time2 = 0.0;
	hipEventCreate(&start);
	hipEventCreate(&stop_CPU);
	hipEventCreate(&stop_GPU);

	hipEventRecord(start);
	hipEventSynchronize(start);

	// computing on CPU
	LU_CPU(a2, b2, c2, r2, 0, r.size());
	//ABM_on_CPU(a2, b2, c2, r2, 1024);
	
	hipEventRecord(stop_CPU);
	hipEventSynchronize(stop_CPU);
	hipEventElapsedTime(&time1, start, stop_CPU);

	// computing on GPU
    hipError_t cudaStatus = austin_berndt_moulton(a, b, c, r, 1024);
    if (cudaStatus != hipSuccess) {
        fprintf(stderr, "GPU computing failed!\n");
        return 1;
    }

	hipEventRecord(stop_GPU);
	hipEventSynchronize(stop_GPU);
	hipEventElapsedTime(&time2, stop_CPU, stop_GPU);

	std::cout << "CPU time: " << time1 <<" ms" << std::endl;
	std::cout << "my GPU time: " << time2 << " ms" << std::endl << std::endl;
	// std::cout.precision(15);
	for (int i = 0; i < r.size(); i++)
	{
		float diff = r[i] - r2[i];
		if (diff > 0.00000000000001) { // 10^-15
			std::cout << "BACHA! rozdiel v " << i << " je presne " << diff << std::endl;
		}
	}
	/*std::cout << "R1: ";
	for (int i = 0; i < r.size(); i++)
	{
		std::cout << r[i] << ", ";
	}
	std::cout << std::endl << "R2: ";
	for (int i = 0; i < r.size(); i++)
	{
		std::cout << r2[i] << ", ";
	}
	std::cout << std::endl;*/
    // cudaDeviceReset must be called before exiting in order for profiling and
    // tracing tools such as Nsight and Visual Profiler to show complete traces.
    cudaStatus = hipDeviceReset();
    if (cudaStatus != hipSuccess) {
        fprintf(stderr, "hipDeviceReset failed!");
        return 1;
    }

    return 0;
}
	.text
	.file	"kernel.hip"
                                        # Start of file scope inline assembly
	.globl	_ZSt21ios_base_library_initv

                                        # End of file scope inline assembly
	.section	.rodata.cst4,"aM",@progbits,4
	.p2align	2, 0x0                          # -- Begin function _Z17deBoorMakeTridiagSt6vectorIfSaIfEES1_ffRS1_S2_S2_S2_
.LCPI0_0:
	.long	0x40400000                      # float 3
	.text
	.globl	_Z17deBoorMakeTridiagSt6vectorIfSaIfEES1_ffRS1_S2_S2_S2_
	.type	_Z17deBoorMakeTridiagSt6vectorIfSaIfEES1_ffRS1_S2_S2_S2_,@function
_Z17deBoorMakeTridiagSt6vectorIfSaIfEES1_ffRS1_S2_S2_S2_: # @_Z17deBoorMakeTridiagSt6vectorIfSaIfEES1_ffRS1_S2_S2_S2_
.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	$72, %rsp
	.cfi_def_cfa_offset 128
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%r9, %rbx
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, %r12
	movss	%xmm1, 20(%rsp)                 # 4-byte Spill
	movss	%xmm0, 16(%rsp)                 # 4-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %rbp
	movq	8(%rdi), %rsi
	subq	(%rdi), %rsi
	sarq	$2, %rsi
	decq	%rsi
	leaq	24(%rsp), %rdi
	leaq	48(%rsp), %rdx
	callq	_ZNSt6vectorIfSaIfEEC2EmRKS0_
	movq	8(%r13), %rsi
	subq	(%r13), %rsi
	sarq	$2, %rsi
	decq	%rsi
.Ltmp0:
	leaq	48(%rsp), %rdi
	leaq	15(%rsp), %rdx
	callq	_ZNSt6vectorIfSaIfEEC2EmRKS0_
.Ltmp1:
# %bb.1:
	movq	24(%rsp), %rdi
	movq	32(%rsp), %rcx
	movq	48(%rsp), %rax
	subq	%rdi, %rcx
	je	.LBB0_4
# %bb.2:                                # %.lr.ph
	sarq	$2, %rcx
	movq	(%rbp), %rdx
	movq	(%r13), %rsi
	cmpq	$1, %rcx
	adcq	$0, %rcx
	xorl	%r8d, %r8d
.LBB0_3:                                # =>This Inner Loop Header: Depth=1
	movss	4(%rdx,%r8,4), %xmm0            # xmm0 = mem[0],zero,zero,zero
	subss	(%rdx,%r8,4), %xmm0
	movss	%xmm0, (%rdi,%r8,4)
	movss	4(%rsi,%r8,4), %xmm0            # xmm0 = mem[0],zero,zero,zero
	subss	(%rsi,%r8,4), %xmm0
	movss	%xmm0, (%rax,%r8,4)
	leaq	1(%r8), %r9
	movq	%r9, %r8
	cmpq	%r9, %rcx
	jne	.LBB0_3
.LBB0_4:                                # %.preheader
	movq	(%r12), %rcx
	movq	8(%r12), %rsi
	movq	(%rbx), %rdx
	subq	%rcx, %rsi
	je	.LBB0_7
# %bb.5:                                # %.lr.ph51
	movq	(%r14), %r8
	sarq	$2, %rsi
	movq	(%r15), %r9
	cmpq	$1, %rsi
	adcq	$0, %rsi
	xorl	%r10d, %r10d
	movss	.LCPI0_0(%rip), %xmm0           # xmm0 = mem[0],zero,zero,zero
.LBB0_6:                                # =>This Inner Loop Header: Depth=1
	movss	4(%rdi,%r10,4), %xmm1           # xmm1 = mem[0],zero,zero,zero
	movss	%xmm1, (%rcx,%r10,4)
	addss	(%rdi,%r10,4), %xmm1
	addss	%xmm1, %xmm1
	movss	%xmm1, (%r9,%r10,4)
	movss	(%rdi,%r10,4), %xmm1            # xmm1 = mem[0],zero,zero,zero
	movss	%xmm1, (%r8,%r10,4)
	movss	4(%rdi,%r10,4), %xmm2           # xmm2 = mem[0],zero,zero,zero
	movaps	%xmm1, %xmm3
	divss	%xmm2, %xmm3
	mulss	4(%rax,%r10,4), %xmm3
	divss	%xmm1, %xmm2
	mulss	(%rax,%r10,4), %xmm2
	addss	%xmm3, %xmm2
	mulss	%xmm0, %xmm2
	movss	%xmm2, (%rdx,%r10,4)
	leaq	1(%r10), %r11
	movq	%r11, %r10
	cmpq	%r11, %rsi
	jne	.LBB0_6
.LBB0_7:                                # %._crit_edge
	movss	16(%rsp), %xmm1                 # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	mulss	(%rcx), %xmm1
	movss	(%rdx), %xmm0                   # xmm0 = mem[0],zero,zero,zero
	subss	%xmm1, %xmm0
	movss	%xmm0, (%rdx)
	movq	8(%r14), %rcx
	movss	20(%rsp), %xmm1                 # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	mulss	-4(%rcx), %xmm1
	movq	8(%rbx), %rcx
	movss	-4(%rcx), %xmm0                 # xmm0 = mem[0],zero,zero,zero
	subss	%xmm1, %xmm0
	movss	%xmm0, -4(%rcx)
	testq	%rax, %rax
	je	.LBB0_9
# %bb.8:
	movq	%rax, %rdi
	callq	_ZdlPv
	movq	24(%rsp), %rdi
.LBB0_9:                                # %_ZNSt6vectorIfSaIfEED2Ev.exit45
	testq	%rdi, %rdi
	je	.LBB0_11
# %bb.10:
	callq	_ZdlPv
.LBB0_11:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit47
	addq	$72, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB0_12:
	.cfi_def_cfa_offset 128
.Ltmp2:
	movq	%rax, %rbx
	movq	24(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB0_14
# %bb.13:
	callq	_ZdlPv
.LBB0_14:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end0:
	.size	_Z17deBoorMakeTridiagSt6vectorIfSaIfEES1_ffRS1_S2_S2_S2_, .Lfunc_end0-_Z17deBoorMakeTridiagSt6vectorIfSaIfEES1_ffRS1_S2_S2_S2_
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table0:
.Lexception0:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end0-.Lcst_begin0
.Lcst_begin0:
	.uleb128 .Lfunc_begin0-.Lfunc_begin0    # >> Call Site 1 <<
	.uleb128 .Ltmp0-.Lfunc_begin0           #   Call between .Lfunc_begin0 and .Ltmp0
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp0-.Lfunc_begin0           # >> Call Site 2 <<
	.uleb128 .Ltmp1-.Ltmp0                  #   Call between .Ltmp0 and .Ltmp1
	.uleb128 .Ltmp2-.Lfunc_begin0           #     jumps to .Ltmp2
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp1-.Lfunc_begin0           # >> Call Site 3 <<
	.uleb128 .Lfunc_end0-.Ltmp1             #   Call between .Ltmp1 and .Lfunc_end0
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorIfSaIfEEC2EmRKS0_,"axG",@progbits,_ZNSt6vectorIfSaIfEEC2EmRKS0_,comdat
	.weak	_ZNSt6vectorIfSaIfEEC2EmRKS0_   # -- Begin function _ZNSt6vectorIfSaIfEEC2EmRKS0_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIfSaIfEEC2EmRKS0_,@function
_ZNSt6vectorIfSaIfEEC2EmRKS0_:          # @_ZNSt6vectorIfSaIfEEC2EmRKS0_
	.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	%rsi, %rax
	shrq	$61, %rax
	jne	.LBB1_7
# %bb.1:                                # %_ZNSt6vectorIfSaIfEE17_S_check_init_lenEmRKS0_.exit
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	testq	%rsi, %rsi
	je	.LBB1_2
# %bb.3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIfE8allocateEmPKv
	movq	%rax, (%rbx)
	leaq	(%rax,%r14,4), %r15
	movq	%r15, 16(%rbx)
	movl	$0, (%rax)
	addq	$4, %rax
	cmpq	$1, %r14
	jne	.LBB1_5
# %bb.4:
	movq	%rax, %r15
	jmp	.LBB1_6
.LBB1_2:                                # %_ZNSt12_Vector_baseIfSaIfEEC2EmRKS0_.exit.thread
	movups	%xmm0, (%rbx)
	movq	$0, 16(%rbx)
	xorl	%r15d, %r15d
	jmp	.LBB1_6
.LBB1_5:                                # %_ZSt6fill_nIPfmfET_S1_T0_RKT1_.exit.loopexit.i.i.i.i
	leaq	-4(,%r14,4), %rdx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	memset@PLT
.LBB1_6:
	movq	%r15, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB1_7:
	.cfi_def_cfa_offset 32
	movl	$.L.str.17, %edi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end1:
	.size	_ZNSt6vectorIfSaIfEEC2EmRKS0_, .Lfunc_end1-_ZNSt6vectorIfSaIfEEC2EmRKS0_
	.cfi_endproc
                                        # -- End function
	.text
	.globl	_Z25__device_stub__LU_tridiagPfS_S_S_ii # -- Begin function _Z25__device_stub__LU_tridiagPfS_S_S_ii
	.type	_Z25__device_stub__LU_tridiagPfS_S_S_ii,@function
_Z25__device_stub__LU_tridiagPfS_S_S_ii: # @_Z25__device_stub__LU_tridiagPfS_S_S_ii
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$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
	movq	%rdi, (%rax)
	leaq	48(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	40(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	32(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	12(%rsp), %rcx
	movl	%r8d, (%rcx)
	leaq	8(%rsp), %r8
	movl	%r9d, (%r8)
	leaq	96(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	movq	%r8, 40(%rbx)
	leaq	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	$_Z10LU_tridiagPfS_S_S_ii, %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_end2:
	.size	_Z25__device_stub__LU_tridiagPfS_S_S_ii, .Lfunc_end2-_Z25__device_stub__LU_tridiagPfS_S_S_ii
	.cfi_endproc
                                        # -- End function
	.globl	_Z6LU_CPUSt6vectorIfSaIfEES1_S1_RS1_ii # -- Begin function _Z6LU_CPUSt6vectorIfSaIfEES1_S1_RS1_ii
	.type	_Z6LU_CPUSt6vectorIfSaIfEES1_S1_RS1_ii,@function
_Z6LU_CPUSt6vectorIfSaIfEES1_S1_RS1_ii: # @_Z6LU_CPUSt6vectorIfSaIfEES1_S1_RS1_ii
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
                                        # kill: def $r9d killed $r9d def $r9
                                        # kill: def $r8d killed $r8d def $r8
	leal	1(%r8), %r10d
	movq	(%rcx), %rax
	movq	(%rsi), %rcx
	movslq	%r8d, %rsi
	cmpl	%r9d, %r10d
	jge	.LBB3_3
# %bb.1:                                # %.lr.ph
	movq	(%rdi), %rdi
	movq	(%rdx), %r10
	leal	-1(%r9), %r11d
	movq	%rsi, %rbx
.LBB3_2:                                # =>This Inner Loop Header: Depth=1
	movss	4(%rdi,%rbx,4), %xmm0           # xmm0 = mem[0],zero,zero,zero
	divss	(%rcx,%rbx,4), %xmm0
	movss	%xmm0, 4(%rdi,%rbx,4)
	movss	4(%rcx,%rbx,4), %xmm1           # xmm1 = mem[0],zero,zero,zero
	mulss	(%r10,%rbx,4), %xmm0
	subss	%xmm0, %xmm1
	movss	%xmm1, 4(%rcx,%rbx,4)
	movss	4(%rax,%rbx,4), %xmm0           # xmm0 = mem[0],zero,zero,zero
	movss	4(%rdi,%rbx,4), %xmm1           # xmm1 = mem[0],zero,zero,zero
	mulss	(%rax,%rbx,4), %xmm1
	subss	%xmm1, %xmm0
	movss	%xmm0, 4(%rax,%rbx,4)
	incq	%rbx
	cmpl	%ebx, %r11d
	jne	.LBB3_2
.LBB3_3:                                # %._crit_edge
	movslq	%r9d, %rdi
	movss	-4(%rax,%rdi,4), %xmm0          # xmm0 = mem[0],zero,zero,zero
	divss	-4(%rcx,%rdi,4), %xmm0
	movss	%xmm0, -4(%rax,%rdi,4)
	addl	$-2, %r9d
	cmpl	%r8d, %r9d
	jl	.LBB3_6
# %bb.4:                                # %.lr.ph42
	movq	(%rdx), %rdx
	movslq	%r9d, %rdi
	movss	4(%rax,%rdi,4), %xmm0           # xmm0 = mem[0],zero,zero,zero
	incq	%rdi
.LBB3_5:                                # =>This Inner Loop Header: Depth=1
	mulss	-4(%rdx,%rdi,4), %xmm0
	movss	-4(%rax,%rdi,4), %xmm1          # xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	divss	-4(%rcx,%rdi,4), %xmm1
	movss	%xmm1, -4(%rax,%rdi,4)
	decq	%rdi
	movaps	%xmm1, %xmm0
	cmpq	%rsi, %rdi
	jg	.LBB3_5
.LBB3_6:                                # %._crit_edge43
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end3:
	.size	_Z6LU_CPUSt6vectorIfSaIfEES1_S1_RS1_ii, .Lfunc_end3-_Z6LU_CPUSt6vectorIfSaIfEES1_S1_RS1_ii
	.cfi_endproc
                                        # -- End function
	.globl	_Z27__device_stub__partitioningPfS_S_S_S_S_S_S_Piiiii # -- Begin function _Z27__device_stub__partitioningPfS_S_S_S_S_S_S_Piiiii
	.type	_Z27__device_stub__partitioningPfS_S_S_S_S_S_S_Piiiii,@function
_Z27__device_stub__partitioningPfS_S_S_S_S_S_S_Piiiii: # @_Z27__device_stub__partitioningPfS_S_S_S_S_S_S_Piiiii
	.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	$208, %rsp
	.cfi_def_cfa_offset 256
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	56(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	48(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	40(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	32(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	24(%rsp), %rcx
	movq	%r8, (%rcx)
	leaq	16(%rsp), %r8
	movq	%r9, (%r8)
	leaq	96(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	movq	%r8, 40(%rbx)
	leaq	256(%rsp), %rax
	movq	%rax, 48(%rbx)
	leaq	264(%rsp), %rax
	movq	%rax, 56(%rbx)
	leaq	272(%rsp), %rax
	movq	%rax, 64(%rbx)
	leaq	280(%rsp), %rax
	movq	%rax, 72(%rbx)
	leaq	288(%rsp), %rax
	movq	%rax, 80(%rbx)
	leaq	296(%rsp), %rax
	movq	%rax, 88(%rbx)
	leaq	304(%rsp), %rax
	movq	%rax, 96(%rbx)
	leaq	80(%rsp), %r14
	leaq	64(%rsp), %r15
	leaq	8(%rsp), %r12
	movq	%rsp, %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z12partitioningPfS_S_S_S_S_S_S_Piiiii, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$224, %rsp
	.cfi_adjust_cfa_offset -224
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end4:
	.size	_Z27__device_stub__partitioningPfS_S_S_S_S_S_S_Piiiii, .Lfunc_end4-_Z27__device_stub__partitioningPfS_S_S_S_S_S_S_Piiiii
	.cfi_endproc
                                        # -- End function
	.globl	_Z33__device_stub__final_computationsPfS_S_S_S_Pii # -- Begin function _Z33__device_stub__final_computationsPfS_S_S_S_Pii
	.type	_Z33__device_stub__final_computationsPfS_S_S_S_Pii,@function
_Z33__device_stub__final_computationsPfS_S_S_S_Pii: # @_Z33__device_stub__final_computationsPfS_S_S_S_Pii
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$160, %rsp
	.cfi_def_cfa_offset 208
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	56(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	48(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	40(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	32(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	24(%rsp), %rcx
	movq	%r8, (%rcx)
	leaq	16(%rsp), %r8
	movq	%r9, (%r8)
	leaq	96(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	movq	%r8, 40(%rbx)
	leaq	208(%rsp), %rax
	movq	%rax, 48(%rbx)
	leaq	80(%rsp), %r14
	leaq	64(%rsp), %r15
	leaq	8(%rsp), %r12
	movq	%rsp, %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z18final_computationsPfS_S_S_S_Pii, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$176, %rsp
	.cfi_adjust_cfa_offset -176
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end5:
	.size	_Z33__device_stub__final_computationsPfS_S_S_S_Pii, .Lfunc_end5-_Z33__device_stub__final_computationsPfS_S_S_S_Pii
	.cfi_endproc
                                        # -- End function
	.globl	_Z21austin_berndt_moultonSt6vectorIfSaIfEES1_S1_RS1_i # -- Begin function _Z21austin_berndt_moultonSt6vectorIfSaIfEES1_S1_RS1_i
	.type	_Z21austin_berndt_moultonSt6vectorIfSaIfEES1_S1_RS1_i,@function
_Z21austin_berndt_moultonSt6vectorIfSaIfEES1_S1_RS1_i: # @_Z21austin_berndt_moultonSt6vectorIfSaIfEES1_S1_RS1_i
.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	$360, %rsp                      # imm = 0x168
	.cfi_def_cfa_offset 416
	.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	%r8d, %r12d
	movq	%rcx, 24(%rsp)                  # 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %rbp
	leal	(%r12,%r12), %ebx
	movslq	%ebx, %r15
	.cfi_escape 0x2e, 0x00
	leaq	240(%rsp), %rdi
	leaq	216(%rsp), %rdx
	movq	%r15, %rsi
	callq	_ZNSt6vectorIfSaIfEEC2EmRKS0_
.Ltmp3:
	.cfi_escape 0x2e, 0x00
	leaq	216(%rsp), %rdi
	leaq	192(%rsp), %rdx
	movq	%r15, %rsi
	callq	_ZNSt6vectorIfSaIfEEC2EmRKS0_
.Ltmp4:
# %bb.1:
.Ltmp6:
	.cfi_escape 0x2e, 0x00
	leaq	192(%rsp), %rdi
	leaq	128(%rsp), %rdx
	movq	%r15, %rsi
	callq	_ZNSt6vectorIfSaIfEEC2EmRKS0_
.Ltmp7:
# %bb.2:
.Ltmp9:
	.cfi_escape 0x2e, 0x00
	leaq	128(%rsp), %rdi
	leaq	312(%rsp), %rdx
	movq	%r15, %rsi
	callq	_ZNSt6vectorIfSaIfEEC2EmRKS0_
.Ltmp10:
# %bb.3:
.Ltmp12:
	.cfi_escape 0x2e, 0x00
	leaq	312(%rsp), %rdi
	leaq	88(%rsp), %rdx
	movq	%r15, %rsi
	callq	_ZNSt6vectorIiSaIiEEC2EmRKS0_
.Ltmp13:
# %bb.4:
	movl	%ebx, 156(%rsp)                 # 4-byte Spill
	xorl	%eax, %eax
	movl	%eax, 20(%rsp)
	movl	%eax, 16(%rsp)
	movl	%eax, 12(%rsp)
	movl	%eax, 8(%rsp)
	movl	%eax, 4(%rsp)
	movl	%eax, (%rsp)
.Ltmp15:
	.cfi_escape 0x2e, 0x00
	leaq	88(%rsp), %rdi
	callq	hipEventCreate
.Ltmp16:
# %bb.5:
.Ltmp17:
	.cfi_escape 0x2e, 0x00
	leaq	80(%rsp), %rdi
	callq	hipEventCreate
.Ltmp18:
# %bb.6:
.Ltmp19:
	.cfi_escape 0x2e, 0x00
	leaq	72(%rsp), %rdi
	callq	hipEventCreate
.Ltmp20:
# %bb.7:
.Ltmp21:
	.cfi_escape 0x2e, 0x00
	leaq	64(%rsp), %rdi
	callq	hipEventCreate
.Ltmp22:
# %bb.8:
.Ltmp23:
	.cfi_escape 0x2e, 0x00
	leaq	56(%rsp), %rdi
	callq	hipEventCreate
.Ltmp24:
# %bb.9:
.Ltmp25:
	.cfi_escape 0x2e, 0x00
	leaq	48(%rsp), %rdi
	callq	hipEventCreate
.Ltmp26:
# %bb.10:
.Ltmp27:
	.cfi_escape 0x2e, 0x00
	leaq	120(%rsp), %rdi
	callq	hipEventCreate
.Ltmp28:
# %bb.11:
	movq	88(%rsp), %rdi
.Ltmp29:
	.cfi_escape 0x2e, 0x00
	xorl	%esi, %esi
	callq	hipEventRecord
.Ltmp30:
# %bb.12:
	movq	88(%rsp), %rdi
.Ltmp31:
	.cfi_escape 0x2e, 0x00
	callq	hipEventSynchronize
.Ltmp32:
# %bb.13:
	leaq	112(%rsp), %rdi
	movq	$0, (%rdi)
	movq	8(%rbp), %rsi
	subq	(%rbp), %rsi
.Ltmp34:
	.cfi_escape 0x2e, 0x00
	callq	hipMalloc
.Ltmp35:
# %bb.14:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.LBB6_34
# %bb.15:
.Ltmp36:
	.cfi_escape 0x2e, 0x00
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp37:
# %bb.16:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str, %edi
	movl	$.L.str.1, %edx
	movq	%rax, %rsi
	movl	$200, %ecx
	jmp	.LBB6_17
.LBB6_34:                               # %.critedge
	leaq	104(%rsp), %rdi
	movq	$0, (%rdi)
	movq	8(%r14), %rsi
	subq	(%r14), %rsi
.Ltmp39:
	.cfi_escape 0x2e, 0x00
	callq	hipMalloc
.Ltmp40:
# %bb.35:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.LBB6_38
# %bb.36:
.Ltmp41:
	.cfi_escape 0x2e, 0x00
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp42:
# %bb.37:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str, %edi
	movl	$.L.str.1, %edx
	movq	%rax, %rsi
	movl	$201, %ecx
	jmp	.LBB6_17
.LBB6_38:
	leaq	96(%rsp), %rdi
	movq	$0, (%rdi)
	movq	8(%r13), %rsi
	subq	(%r13), %rsi
.Ltmp44:
	.cfi_escape 0x2e, 0x00
	callq	hipMalloc
.Ltmp45:
# %bb.39:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.LBB6_42
# %bb.40:
.Ltmp46:
	.cfi_escape 0x2e, 0x00
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp47:
# %bb.41:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str, %edi
	movl	$.L.str.1, %edx
	movq	%rax, %rsi
	movl	$202, %ecx
	jmp	.LBB6_17
.LBB6_42:
	leaq	40(%rsp), %rdi
	movq	$0, (%rdi)
	movq	24(%rsp), %rax                  # 8-byte Reload
	movq	8(%rax), %rsi
	subq	(%rax), %rsi
.Ltmp49:
	.cfi_escape 0x2e, 0x00
	callq	hipMalloc
.Ltmp50:
# %bb.43:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.LBB6_46
# %bb.44:
.Ltmp51:
	.cfi_escape 0x2e, 0x00
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp52:
# %bb.45:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str, %edi
	movl	$.L.str.1, %edx
	movq	%rax, %rsi
	movl	$203, %ecx
	jmp	.LBB6_17
.LBB6_46:
	leaq	184(%rsp), %rdi
	movq	$0, (%rdi)
	shlq	$2, %r15
.Ltmp54:
	.cfi_escape 0x2e, 0x00
	movq	%r15, %rsi
	callq	hipMalloc
.Ltmp55:
# %bb.47:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.LBB6_50
# %bb.48:
.Ltmp56:
	.cfi_escape 0x2e, 0x00
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp57:
# %bb.49:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str, %edi
	movl	$.L.str.1, %edx
	movq	%rax, %rsi
	movl	$204, %ecx
	jmp	.LBB6_17
.LBB6_50:
	leaq	176(%rsp), %rdi
	movq	$0, (%rdi)
.Ltmp59:
	.cfi_escape 0x2e, 0x00
	movq	%r15, %rsi
	callq	hipMalloc
.Ltmp60:
# %bb.51:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.LBB6_54
# %bb.52:
.Ltmp61:
	.cfi_escape 0x2e, 0x00
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp62:
# %bb.53:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str, %edi
	movl	$.L.str.1, %edx
	movq	%rax, %rsi
	movl	$205, %ecx
	jmp	.LBB6_17
.LBB6_54:
	leaq	168(%rsp), %rdi
	movq	$0, (%rdi)
.Ltmp64:
	.cfi_escape 0x2e, 0x00
	movq	%r15, %rsi
	callq	hipMalloc
.Ltmp65:
# %bb.55:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.LBB6_58
# %bb.56:
.Ltmp66:
	.cfi_escape 0x2e, 0x00
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp67:
# %bb.57:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str, %edi
	movl	$.L.str.1, %edx
	movq	%rax, %rsi
	movl	$206, %ecx
	jmp	.LBB6_17
.LBB6_58:
	leaq	32(%rsp), %rdi
	movq	$0, (%rdi)
.Ltmp69:
	.cfi_escape 0x2e, 0x00
	movq	%r15, %rsi
	callq	hipMalloc
.Ltmp70:
# %bb.59:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.LBB6_62
# %bb.60:
.Ltmp71:
	.cfi_escape 0x2e, 0x00
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp72:
# %bb.61:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str, %edi
	movl	$.L.str.1, %edx
	movq	%rax, %rsi
	movl	$207, %ecx
	jmp	.LBB6_17
.LBB6_62:
	leaq	160(%rsp), %rdi
	movq	$0, (%rdi)
.Ltmp74:
	.cfi_escape 0x2e, 0x00
	movq	%r15, %rsi
	callq	hipMalloc
.Ltmp75:
# %bb.63:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.LBB6_66
# %bb.64:
.Ltmp76:
	.cfi_escape 0x2e, 0x00
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp77:
# %bb.65:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str, %edi
	movl	$.L.str.1, %edx
	movq	%rax, %rsi
	movl	$208, %ecx
	jmp	.LBB6_17
.LBB6_66:
	movq	80(%rsp), %rdi
.Ltmp79:
	.cfi_escape 0x2e, 0x00
	xorl	%esi, %esi
	callq	hipEventRecord
.Ltmp80:
# %bb.67:
	movq	80(%rsp), %rdi
.Ltmp81:
	.cfi_escape 0x2e, 0x00
	callq	hipEventSynchronize
.Ltmp82:
# %bb.68:
	movq	88(%rsp), %rsi
	movq	80(%rsp), %rdx
.Ltmp83:
	.cfi_escape 0x2e, 0x00
	leaq	20(%rsp), %rdi
	callq	hipEventElapsedTime
.Ltmp84:
# %bb.69:
	movq	112(%rsp), %rdi
	movq	(%rbp), %rsi
	movq	8(%rbp), %rdx
	subq	%rsi, %rdx
.Ltmp85:
	.cfi_escape 0x2e, 0x00
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp86:
# %bb.70:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.LBB6_75
# %bb.71:
.Ltmp87:
	.cfi_escape 0x2e, 0x00
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp88:
# %bb.72:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str, %edi
	movl	$.L.str.1, %edx
	movq	%rax, %rsi
	movl	$214, %ecx
	jmp	.LBB6_17
.LBB6_75:
	movq	104(%rsp), %rdi
	movq	(%r14), %rsi
	movq	8(%r14), %rdx
	subq	%rsi, %rdx
.Ltmp90:
	.cfi_escape 0x2e, 0x00
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp91:
# %bb.76:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.LBB6_79
# %bb.77:
.Ltmp92:
	.cfi_escape 0x2e, 0x00
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp93:
# %bb.78:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str, %edi
	movl	$.L.str.1, %edx
	movq	%rax, %rsi
	movl	$215, %ecx
	jmp	.LBB6_17
.LBB6_79:
	movq	96(%rsp), %rdi
	movq	(%r13), %rsi
	movq	8(%r13), %rdx
	subq	%rsi, %rdx
.Ltmp95:
	.cfi_escape 0x2e, 0x00
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp96:
# %bb.80:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.LBB6_83
# %bb.81:
.Ltmp97:
	.cfi_escape 0x2e, 0x00
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp98:
# %bb.82:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str, %edi
	movl	$.L.str.1, %edx
	movq	%rax, %rsi
	movl	$216, %ecx
	jmp	.LBB6_17
.LBB6_83:
	movq	40(%rsp), %rdi
	movq	24(%rsp), %rax                  # 8-byte Reload
	movq	(%rax), %rsi
	movq	8(%rax), %rdx
	subq	%rsi, %rdx
.Ltmp100:
	.cfi_escape 0x2e, 0x00
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp101:
# %bb.84:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.LBB6_87
# %bb.85:
.Ltmp102:
	.cfi_escape 0x2e, 0x00
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp103:
# %bb.86:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str, %edi
	movl	$.L.str.1, %edx
	movq	%rax, %rsi
	movl	$217, %ecx
	jmp	.LBB6_17
.LBB6_87:
	movq	72(%rsp), %rdi
.Ltmp105:
	.cfi_escape 0x2e, 0x00
	xorl	%esi, %esi
	callq	hipEventRecord
.Ltmp106:
# %bb.88:
	movq	72(%rsp), %rdi
.Ltmp107:
	.cfi_escape 0x2e, 0x00
	callq	hipEventSynchronize
.Ltmp108:
# %bb.89:
	movq	80(%rsp), %rsi
	movq	72(%rsp), %rdx
.Ltmp109:
	.cfi_escape 0x2e, 0x00
	leaq	16(%rsp), %rdi
	callq	hipEventElapsedTime
.Ltmp110:
# %bb.90:
	movq	24(%rsp), %rax                  # 8-byte Reload
	movq	8(%rax), %r13
	subq	(%rax), %r13
	sarq	$2, %r13
	movslq	%r12d, %rcx
	movq	%r13, %rax
	xorl	%edx, %edx
	divq	%rcx
	movq	%rax, %rbp
	leal	127(%r12), %eax
	leal	254(%r12), %r14d
	testl	%eax, %eax
	cmovnsl	%eax, %r14d
.Ltmp112:
	.cfi_escape 0x2e, 0x00
	xorl	%edi, %edi
	callq	hipSetDevice
.Ltmp113:
# %bb.91:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.LBB6_94
# %bb.92:
.Ltmp114:
	.cfi_escape 0x2e, 0x00
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp115:
# %bb.93:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str, %edi
	movl	$.L.str.1, %edx
	movq	%rax, %rsi
	movl	$228, %ecx
	jmp	.LBB6_17
.LBB6_94:
	sarl	$7, %r14d
	movl	%r14d, %r14d
	btsq	$32, %r14
.Ltmp117:
	.cfi_escape 0x2e, 0x00
	movabsq	$4294967424, %rdx               # imm = 0x100000080
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp118:
# %bb.95:
	testl	%eax, %eax
	jne	.LBB6_97
# %bb.96:
	imull	%ebp, %r12d
	subl	%r12d, %r13d
	movq	112(%rsp), %rdi
	movq	104(%rsp), %rsi
	movq	96(%rsp), %rdx
	movq	40(%rsp), %rcx
	movq	184(%rsp), %r8
	movq	176(%rsp), %r9
	movq	24(%rsp), %r10                  # 8-byte Reload
	movq	8(%r10), %rax
	subq	(%r10), %rax
	shrq	$2, %rax
	movq	136(%rsp), %r10
	subq	128(%rsp), %r10
	shrq	$2, %r10
.Ltmp119:
	.cfi_escape 0x2e, 0x40
	subq	$8, %rsp
	.cfi_adjust_cfa_offset 8
	pushq	%r13
	.cfi_adjust_cfa_offset 8
	pushq	%r10
	.cfi_adjust_cfa_offset 8
	pushq	%rax
	.cfi_adjust_cfa_offset 8
	pushq	%rbp
	.cfi_adjust_cfa_offset 8
	pushq	200(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	80(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	224(%rsp)
	.cfi_adjust_cfa_offset 8
	callq	_Z27__device_stub__partitioningPfS_S_S_S_S_S_S_Piiiii
	addq	$64, %rsp
	.cfi_adjust_cfa_offset -64
.Ltmp120:
.LBB6_97:
.Ltmp121:
	.cfi_escape 0x2e, 0x00
	callq	hipGetLastError
.Ltmp122:
# %bb.98:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.LBB6_101
# %bb.99:
.Ltmp123:
	.cfi_escape 0x2e, 0x00
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp124:
# %bb.100:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str, %edi
	movl	$.L.str.1, %edx
	movq	%rax, %rsi
	movl	$231, %ecx
	jmp	.LBB6_17
.LBB6_101:
.Ltmp126:
	.cfi_escape 0x2e, 0x00
	callq	hipDeviceSynchronize
.Ltmp127:
# %bb.102:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.LBB6_105
# %bb.103:
.Ltmp128:
	.cfi_escape 0x2e, 0x00
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp129:
# %bb.104:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str, %edi
	movl	$.L.str.1, %edx
	movq	%rax, %rsi
	movl	$232, %ecx
	jmp	.LBB6_17
.LBB6_105:
	movq	64(%rsp), %rdi
.Ltmp131:
	.cfi_escape 0x2e, 0x00
	xorl	%esi, %esi
	callq	hipEventRecord
.Ltmp132:
# %bb.106:
	movq	64(%rsp), %rdi
.Ltmp133:
	.cfi_escape 0x2e, 0x00
	callq	hipEventSynchronize
.Ltmp134:
# %bb.107:
	movq	72(%rsp), %rsi
	movq	64(%rsp), %rdx
.Ltmp135:
	.cfi_escape 0x2e, 0x00
	leaq	12(%rsp), %rdi
	callq	hipEventElapsedTime
.Ltmp136:
# %bb.108:
	movq	240(%rsp), %rdi
	movq	184(%rsp), %rsi
.Ltmp137:
	.cfi_escape 0x2e, 0x00
	movq	%r15, %rdx
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp138:
# %bb.109:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.LBB6_112
# %bb.110:
.Ltmp139:
	.cfi_escape 0x2e, 0x00
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp140:
# %bb.111:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str, %edi
	movl	$.L.str.1, %edx
	movq	%rax, %rsi
	movl	$238, %ecx
	jmp	.LBB6_17
.LBB6_112:
	movq	216(%rsp), %rdi
	movq	176(%rsp), %rsi
.Ltmp142:
	.cfi_escape 0x2e, 0x00
	movq	%r15, %rdx
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp143:
# %bb.113:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.LBB6_116
# %bb.114:
.Ltmp144:
	.cfi_escape 0x2e, 0x00
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp145:
# %bb.115:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str, %edi
	movl	$.L.str.1, %edx
	movq	%rax, %rsi
	movl	$239, %ecx
	jmp	.LBB6_17
.LBB6_116:
	movq	192(%rsp), %rdi
	movq	168(%rsp), %rsi
.Ltmp147:
	.cfi_escape 0x2e, 0x00
	movq	%r15, %rdx
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp148:
# %bb.117:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.LBB6_120
# %bb.118:
.Ltmp149:
	.cfi_escape 0x2e, 0x00
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp150:
# %bb.119:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str, %edi
	movl	$.L.str.1, %edx
	movq	%rax, %rsi
	movl	$240, %ecx
	jmp	.LBB6_17
.LBB6_120:
	movq	128(%rsp), %rdi
	movq	32(%rsp), %rsi
.Ltmp152:
	.cfi_escape 0x2e, 0x00
	movq	%r15, %rdx
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp153:
# %bb.121:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.LBB6_124
# %bb.122:
.Ltmp154:
	.cfi_escape 0x2e, 0x00
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp155:
# %bb.123:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str, %edi
	movl	$.L.str.1, %edx
	movq	%rax, %rsi
	movl	$241, %ecx
	jmp	.LBB6_17
.LBB6_124:
.Ltmp157:
	.cfi_escape 0x2e, 0x00
	leaq	288(%rsp), %rdi
	leaq	240(%rsp), %rsi
	callq	_ZNSt6vectorIfSaIfEEC2ERKS1_
.Ltmp158:
# %bb.125:
.Ltmp159:
	.cfi_escape 0x2e, 0x00
	leaq	264(%rsp), %rdi
	leaq	216(%rsp), %rsi
	callq	_ZNSt6vectorIfSaIfEEC2ERKS1_
.Ltmp160:
# %bb.126:
.Ltmp162:
	.cfi_escape 0x2e, 0x00
	leaq	336(%rsp), %rdi
	leaq	192(%rsp), %rsi
	callq	_ZNSt6vectorIfSaIfEEC2ERKS1_
.Ltmp163:
# %bb.127:
	.cfi_escape 0x2e, 0x00
	leaq	288(%rsp), %rdi
	leaq	264(%rsp), %rsi
	leaq	336(%rsp), %rbx
	leaq	128(%rsp), %rcx
	movq	%rbx, %rdx
	xorl	%r8d, %r8d
	movl	156(%rsp), %r9d                 # 4-byte Reload
	callq	_Z6LU_CPUSt6vectorIfSaIfEES1_S1_RS1_ii
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB6_129
# %bb.128:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB6_129:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit
	movq	264(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB6_131
# %bb.130:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB6_131:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit288
	movq	288(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB6_133
# %bb.132:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB6_133:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit290
	movq	32(%rsp), %rdi
	movq	128(%rsp), %rsi
	movq	136(%rsp), %rdx
	subq	%rsi, %rdx
.Ltmp165:
	.cfi_escape 0x2e, 0x00
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp166:
# %bb.134:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.LBB6_143
# %bb.135:
.Ltmp167:
	.cfi_escape 0x2e, 0x00
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp168:
# %bb.136:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str, %edi
	movl	$.L.str.1, %edx
	movq	%rax, %rsi
	movl	$243, %ecx
	jmp	.LBB6_17
.LBB6_143:
	movq	56(%rsp), %rdi
.Ltmp170:
	.cfi_escape 0x2e, 0x00
	xorl	%esi, %esi
	callq	hipEventRecord
.Ltmp171:
# %bb.144:
	movq	56(%rsp), %rdi
.Ltmp172:
	.cfi_escape 0x2e, 0x00
	callq	hipEventSynchronize
.Ltmp173:
# %bb.145:
	movq	64(%rsp), %rsi
	movq	56(%rsp), %rdx
.Ltmp174:
	.cfi_escape 0x2e, 0x00
	leaq	8(%rsp), %rdi
	callq	hipEventElapsedTime
.Ltmp175:
# %bb.146:
.Ltmp176:
	.cfi_escape 0x2e, 0x00
	movabsq	$4294967424, %rdx               # imm = 0x100000080
	movq	%r14, %rdi
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp177:
# %bb.147:
	testl	%eax, %eax
	jne	.LBB6_149
# %bb.148:
	movq	112(%rsp), %rdi
	movq	104(%rsp), %rsi
	movq	96(%rsp), %rdx
	movq	40(%rsp), %rcx
	movq	32(%rsp), %r8
	movq	160(%rsp), %r9
	movq	136(%rsp), %rax
	subq	128(%rsp), %rax
	shrq	$2, %rax
.Ltmp178:
	.cfi_escape 0x2e, 0x10
	subq	$8, %rsp
	.cfi_adjust_cfa_offset 8
	pushq	%rax
	.cfi_adjust_cfa_offset 8
	callq	_Z33__device_stub__final_computationsPfS_S_S_S_Pii
	addq	$16, %rsp
	.cfi_adjust_cfa_offset -16
.Ltmp179:
.LBB6_149:
.Ltmp181:
	.cfi_escape 0x2e, 0x00
	callq	hipGetLastError
.Ltmp182:
# %bb.150:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.LBB6_153
# %bb.151:
.Ltmp183:
	.cfi_escape 0x2e, 0x00
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp184:
# %bb.152:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str, %edi
	movl	$.L.str.1, %edx
	movq	%rax, %rsi
	movl	$254, %ecx
.LBB6_17:
	xorl	%eax, %eax
	callq	printf
.LBB6_18:
	movq	312(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB6_20
# %bb.19:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB6_20:                               # %_ZNSt6vectorIiSaIiEED2Ev.exit
	movq	128(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB6_22
# %bb.21:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB6_22:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit324
	movq	192(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB6_24
# %bb.23:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB6_24:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit326
	movq	216(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB6_26
# %bb.25:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB6_26:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit328
	movq	240(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB6_28
# %bb.27:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB6_28:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit330
	movl	%ebx, %eax
	addq	$360, %rsp                      # imm = 0x168
	.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
.LBB6_153:
	.cfi_def_cfa_offset 416
.Ltmp186:
	.cfi_escape 0x2e, 0x00
	callq	hipDeviceSynchronize
.Ltmp187:
# %bb.154:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.LBB6_157
# %bb.155:
.Ltmp188:
	.cfi_escape 0x2e, 0x00
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp189:
# %bb.156:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str, %edi
	movl	$.L.str.1, %edx
	movq	%rax, %rsi
	movl	$257, %ecx                      # imm = 0x101
	xorl	%eax, %eax
	callq	printf
.LBB6_157:
	movq	48(%rsp), %rdi
.Ltmp190:
	.cfi_escape 0x2e, 0x00
	xorl	%esi, %esi
	callq	hipEventRecord
.Ltmp191:
# %bb.158:
	movq	48(%rsp), %rdi
.Ltmp192:
	.cfi_escape 0x2e, 0x00
	callq	hipEventSynchronize
.Ltmp193:
# %bb.159:
	movq	56(%rsp), %rsi
	movq	48(%rsp), %rdx
.Ltmp194:
	.cfi_escape 0x2e, 0x00
	leaq	4(%rsp), %rdi
	callq	hipEventElapsedTime
.Ltmp195:
# %bb.160:
	movq	40(%rsp), %rsi
	movq	24(%rsp), %rax                  # 8-byte Reload
	movq	(%rax), %rdi
	movq	8(%rax), %rdx
	subq	%rdi, %rdx
.Ltmp196:
	.cfi_escape 0x2e, 0x00
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp197:
# %bb.161:
	movl	%eax, %ebp
	testl	%eax, %eax
	je	.LBB6_164
# %bb.162:
.Ltmp198:
	.cfi_escape 0x2e, 0x00
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp199:
# %bb.163:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str, %edi
	movl	$.L.str.1, %edx
	movq	%rax, %rsi
	movl	$264, %ecx                      # imm = 0x108
	xorl	%eax, %eax
	callq	printf
	movl	%ebp, %ebx
	jmp	.LBB6_18
.LBB6_164:
	movq	120(%rsp), %rdi
.Ltmp201:
	.cfi_escape 0x2e, 0x00
	xorl	%esi, %esi
	callq	hipEventRecord
.Ltmp202:
# %bb.165:
	movq	120(%rsp), %rdi
.Ltmp203:
	.cfi_escape 0x2e, 0x00
	callq	hipEventSynchronize
.Ltmp204:
# %bb.166:
	movq	48(%rsp), %rsi
	movq	120(%rsp), %rdx
.Ltmp205:
	.cfi_escape 0x2e, 0x00
	movq	%rsp, %rdi
	callq	hipEventElapsedTime
.Ltmp206:
# %bb.167:
.Ltmp207:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %edi
	movl	$.L.str.2, %esi
	movl	$13, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp208:
# %bb.168:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit
	cvtss2sd	20(%rsp), %xmm0
.Ltmp209:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp210:
# %bb.169:                              # %_ZNSolsEf.exit
.Ltmp211:
	movq	%rax, %r14
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.3, %esi
	movl	$3, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp212:
# %bb.170:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit295
.Ltmp213:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp214:
# %bb.171:                              # %_ZNSolsEPFRSoS_E.exit
.Ltmp215:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %edi
	movl	$.L.str.4, %esi
	movl	$13, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp216:
# %bb.172:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit296
	xorps	%xmm0, %xmm0
	cvtss2sd	16(%rsp), %xmm0
.Ltmp217:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp218:
# %bb.173:                              # %_ZNSolsEf.exit297
.Ltmp219:
	movq	%rax, %r14
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.3, %esi
	movl	$3, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp220:
# %bb.174:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit298
.Ltmp221:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp222:
# %bb.175:                              # %_ZNSolsEPFRSoS_E.exit299
.Ltmp223:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %edi
	movl	$.L.str.5, %esi
	movl	$13, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp224:
# %bb.176:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit300
	xorps	%xmm0, %xmm0
	cvtss2sd	12(%rsp), %xmm0
.Ltmp225:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp226:
# %bb.177:                              # %_ZNSolsEf.exit301
.Ltmp227:
	movq	%rax, %r14
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.3, %esi
	movl	$3, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp228:
# %bb.178:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit302
.Ltmp229:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp230:
# %bb.179:                              # %_ZNSolsEPFRSoS_E.exit303
.Ltmp231:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %edi
	movl	$.L.str.6, %esi
	movl	$13, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp232:
# %bb.180:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit304
	xorps	%xmm0, %xmm0
	cvtss2sd	8(%rsp), %xmm0
.Ltmp233:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp234:
# %bb.181:                              # %_ZNSolsEf.exit305
.Ltmp235:
	movq	%rax, %r14
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.3, %esi
	movl	$3, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp236:
# %bb.182:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit306
.Ltmp237:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp238:
# %bb.183:                              # %_ZNSolsEPFRSoS_E.exit307
.Ltmp239:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %edi
	movl	$.L.str.7, %esi
	movl	$13, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp240:
# %bb.184:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit308
	xorps	%xmm0, %xmm0
	cvtss2sd	4(%rsp), %xmm0
.Ltmp241:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp242:
# %bb.185:                              # %_ZNSolsEf.exit309
.Ltmp243:
	movq	%rax, %r14
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.3, %esi
	movl	$3, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp244:
# %bb.186:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit310
.Ltmp245:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp246:
# %bb.187:                              # %_ZNSolsEPFRSoS_E.exit311
.Ltmp247:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %edi
	movl	$.L.str.8, %esi
	movl	$13, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp248:
# %bb.188:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit312
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rsp), %xmm0
.Ltmp249:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp250:
# %bb.189:                              # %_ZNSolsEf.exit313
.Ltmp251:
	movq	%rax, %r14
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.3, %esi
	movl	$3, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp252:
# %bb.190:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit314
.Ltmp253:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp254:
# %bb.191:                              # %_ZNSolsEPFRSoS_E.exit315
.Ltmp255:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %edi
	movl	$.L.str.9, %esi
	movl	$10, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp256:
# %bb.192:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit316
	movss	20(%rsp), %xmm0                 # xmm0 = mem[0],zero,zero,zero
	addss	16(%rsp), %xmm0
	addss	12(%rsp), %xmm0
	addss	8(%rsp), %xmm0
	addss	4(%rsp), %xmm0
	addss	(%rsp), %xmm0
	cvtss2sd	%xmm0, %xmm0
.Ltmp257:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp258:
# %bb.193:                              # %_ZNSolsEf.exit317
.Ltmp259:
	movq	%rax, %r14
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.3, %esi
	movl	$3, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp260:
# %bb.194:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit318
.Ltmp261:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp262:
# %bb.195:                              # %_ZNSolsEPFRSoS_E.exit319
.Ltmp263:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %edi
	movl	$.L.str.10, %esi
	movl	$28, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp264:
# %bb.196:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit320
.Ltmp265:
	.cfi_escape 0x2e, 0x00
	movl	$_ZSt4cout, %edi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp266:
	jmp	.LBB6_18
.LBB6_231:
.Ltmp200:
	jmp	.LBB6_199
.LBB6_229:
.Ltmp185:
	jmp	.LBB6_199
.LBB6_138:
.Ltmp164:
	movq	%rax, %rbx
	movq	264(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB6_140
# %bb.139:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
	jmp	.LBB6_140
.LBB6_137:
.Ltmp161:
	movq	%rax, %rbx
.LBB6_140:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit292
	movq	288(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB6_200
# %bb.141:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
	jmp	.LBB6_200
.LBB6_142:
.Ltmp169:
	jmp	.LBB6_199
.LBB6_230:
.Ltmp267:
	jmp	.LBB6_199
.LBB6_228:
.Ltmp156:
	jmp	.LBB6_199
.LBB6_227:
.Ltmp151:
	jmp	.LBB6_199
.LBB6_226:
.Ltmp146:
	jmp	.LBB6_199
.LBB6_225:
.Ltmp141:
	jmp	.LBB6_199
.LBB6_224:
.Ltmp130:
	jmp	.LBB6_199
.LBB6_223:
.Ltmp125:
	jmp	.LBB6_199
.LBB6_222:
.Ltmp180:
	jmp	.LBB6_199
.LBB6_221:
.Ltmp116:
	jmp	.LBB6_199
.LBB6_220:
.Ltmp104:
	jmp	.LBB6_199
.LBB6_219:
.Ltmp99:
	jmp	.LBB6_199
.LBB6_218:
.Ltmp94:
	jmp	.LBB6_199
.LBB6_74:
.Ltmp89:
	jmp	.LBB6_199
.LBB6_73:
.Ltmp111:
	jmp	.LBB6_199
.LBB6_197:
.Ltmp78:
	jmp	.LBB6_199
.LBB6_217:
.Ltmp73:
	jmp	.LBB6_199
.LBB6_216:
.Ltmp68:
	jmp	.LBB6_199
.LBB6_215:
.Ltmp63:
	jmp	.LBB6_199
.LBB6_214:
.Ltmp58:
	jmp	.LBB6_199
.LBB6_213:
.Ltmp53:
	jmp	.LBB6_199
.LBB6_212:
.Ltmp48:
	jmp	.LBB6_199
.LBB6_211:
.Ltmp43:
	jmp	.LBB6_199
.LBB6_32:
.Ltmp14:
	movq	%rax, %rbx
	jmp	.LBB6_202
.LBB6_31:
.Ltmp11:
	movq	%rax, %rbx
	jmp	.LBB6_204
.LBB6_30:
.Ltmp8:
	movq	%rax, %rbx
	jmp	.LBB6_206
.LBB6_29:
.Ltmp5:
	movq	%rax, %rbx
	jmp	.LBB6_208
.LBB6_198:
.Ltmp38:
	jmp	.LBB6_199
.LBB6_33:
.Ltmp33:
.LBB6_199:
	movq	%rax, %rbx
.LBB6_200:
	movq	312(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB6_202
# %bb.201:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB6_202:                              # %_ZNSt6vectorIiSaIiEED2Ev.exit332
	movq	128(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB6_204
# %bb.203:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB6_204:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit334
	movq	192(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB6_206
# %bb.205:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB6_206:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit336
	movq	216(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB6_208
# %bb.207:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB6_208:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit338
	movq	240(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB6_210
# %bb.209:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB6_210:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit340
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end6:
	.size	_Z21austin_berndt_moultonSt6vectorIfSaIfEES1_S1_RS1_i, .Lfunc_end6-_Z21austin_berndt_moultonSt6vectorIfSaIfEES1_S1_RS1_i
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table6:
.Lexception1:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end1-.Lcst_begin1
.Lcst_begin1:
	.uleb128 .Lfunc_begin1-.Lfunc_begin1    # >> Call Site 1 <<
	.uleb128 .Ltmp3-.Lfunc_begin1           #   Call between .Lfunc_begin1 and .Ltmp3
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp3-.Lfunc_begin1           # >> Call Site 2 <<
	.uleb128 .Ltmp4-.Ltmp3                  #   Call between .Ltmp3 and .Ltmp4
	.uleb128 .Ltmp5-.Lfunc_begin1           #     jumps to .Ltmp5
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp6-.Lfunc_begin1           # >> Call Site 3 <<
	.uleb128 .Ltmp7-.Ltmp6                  #   Call between .Ltmp6 and .Ltmp7
	.uleb128 .Ltmp8-.Lfunc_begin1           #     jumps to .Ltmp8
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp9-.Lfunc_begin1           # >> Call Site 4 <<
	.uleb128 .Ltmp10-.Ltmp9                 #   Call between .Ltmp9 and .Ltmp10
	.uleb128 .Ltmp11-.Lfunc_begin1          #     jumps to .Ltmp11
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp12-.Lfunc_begin1          # >> Call Site 5 <<
	.uleb128 .Ltmp13-.Ltmp12                #   Call between .Ltmp12 and .Ltmp13
	.uleb128 .Ltmp14-.Lfunc_begin1          #     jumps to .Ltmp14
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp15-.Lfunc_begin1          # >> Call Site 6 <<
	.uleb128 .Ltmp32-.Ltmp15                #   Call between .Ltmp15 and .Ltmp32
	.uleb128 .Ltmp33-.Lfunc_begin1          #     jumps to .Ltmp33
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp34-.Lfunc_begin1          # >> Call Site 7 <<
	.uleb128 .Ltmp37-.Ltmp34                #   Call between .Ltmp34 and .Ltmp37
	.uleb128 .Ltmp38-.Lfunc_begin1          #     jumps to .Ltmp38
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp39-.Lfunc_begin1          # >> Call Site 8 <<
	.uleb128 .Ltmp42-.Ltmp39                #   Call between .Ltmp39 and .Ltmp42
	.uleb128 .Ltmp43-.Lfunc_begin1          #     jumps to .Ltmp43
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp44-.Lfunc_begin1          # >> Call Site 9 <<
	.uleb128 .Ltmp47-.Ltmp44                #   Call between .Ltmp44 and .Ltmp47
	.uleb128 .Ltmp48-.Lfunc_begin1          #     jumps to .Ltmp48
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp49-.Lfunc_begin1          # >> Call Site 10 <<
	.uleb128 .Ltmp52-.Ltmp49                #   Call between .Ltmp49 and .Ltmp52
	.uleb128 .Ltmp53-.Lfunc_begin1          #     jumps to .Ltmp53
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp54-.Lfunc_begin1          # >> Call Site 11 <<
	.uleb128 .Ltmp57-.Ltmp54                #   Call between .Ltmp54 and .Ltmp57
	.uleb128 .Ltmp58-.Lfunc_begin1          #     jumps to .Ltmp58
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp59-.Lfunc_begin1          # >> Call Site 12 <<
	.uleb128 .Ltmp62-.Ltmp59                #   Call between .Ltmp59 and .Ltmp62
	.uleb128 .Ltmp63-.Lfunc_begin1          #     jumps to .Ltmp63
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp64-.Lfunc_begin1          # >> Call Site 13 <<
	.uleb128 .Ltmp67-.Ltmp64                #   Call between .Ltmp64 and .Ltmp67
	.uleb128 .Ltmp68-.Lfunc_begin1          #     jumps to .Ltmp68
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp69-.Lfunc_begin1          # >> Call Site 14 <<
	.uleb128 .Ltmp72-.Ltmp69                #   Call between .Ltmp69 and .Ltmp72
	.uleb128 .Ltmp73-.Lfunc_begin1          #     jumps to .Ltmp73
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp74-.Lfunc_begin1          # >> Call Site 15 <<
	.uleb128 .Ltmp77-.Ltmp74                #   Call between .Ltmp74 and .Ltmp77
	.uleb128 .Ltmp78-.Lfunc_begin1          #     jumps to .Ltmp78
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp79-.Lfunc_begin1          # >> Call Site 16 <<
	.uleb128 .Ltmp84-.Ltmp79                #   Call between .Ltmp79 and .Ltmp84
	.uleb128 .Ltmp111-.Lfunc_begin1         #     jumps to .Ltmp111
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp85-.Lfunc_begin1          # >> Call Site 17 <<
	.uleb128 .Ltmp88-.Ltmp85                #   Call between .Ltmp85 and .Ltmp88
	.uleb128 .Ltmp89-.Lfunc_begin1          #     jumps to .Ltmp89
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp90-.Lfunc_begin1          # >> Call Site 18 <<
	.uleb128 .Ltmp93-.Ltmp90                #   Call between .Ltmp90 and .Ltmp93
	.uleb128 .Ltmp94-.Lfunc_begin1          #     jumps to .Ltmp94
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp95-.Lfunc_begin1          # >> Call Site 19 <<
	.uleb128 .Ltmp98-.Ltmp95                #   Call between .Ltmp95 and .Ltmp98
	.uleb128 .Ltmp99-.Lfunc_begin1          #     jumps to .Ltmp99
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp100-.Lfunc_begin1         # >> Call Site 20 <<
	.uleb128 .Ltmp103-.Ltmp100              #   Call between .Ltmp100 and .Ltmp103
	.uleb128 .Ltmp104-.Lfunc_begin1         #     jumps to .Ltmp104
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp105-.Lfunc_begin1         # >> Call Site 21 <<
	.uleb128 .Ltmp110-.Ltmp105              #   Call between .Ltmp105 and .Ltmp110
	.uleb128 .Ltmp111-.Lfunc_begin1         #     jumps to .Ltmp111
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp112-.Lfunc_begin1         # >> Call Site 22 <<
	.uleb128 .Ltmp115-.Ltmp112              #   Call between .Ltmp112 and .Ltmp115
	.uleb128 .Ltmp116-.Lfunc_begin1         #     jumps to .Ltmp116
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp117-.Lfunc_begin1         # >> Call Site 23 <<
	.uleb128 .Ltmp120-.Ltmp117              #   Call between .Ltmp117 and .Ltmp120
	.uleb128 .Ltmp180-.Lfunc_begin1         #     jumps to .Ltmp180
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp121-.Lfunc_begin1         # >> Call Site 24 <<
	.uleb128 .Ltmp124-.Ltmp121              #   Call between .Ltmp121 and .Ltmp124
	.uleb128 .Ltmp125-.Lfunc_begin1         #     jumps to .Ltmp125
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp126-.Lfunc_begin1         # >> Call Site 25 <<
	.uleb128 .Ltmp129-.Ltmp126              #   Call between .Ltmp126 and .Ltmp129
	.uleb128 .Ltmp130-.Lfunc_begin1         #     jumps to .Ltmp130
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp131-.Lfunc_begin1         # >> Call Site 26 <<
	.uleb128 .Ltmp136-.Ltmp131              #   Call between .Ltmp131 and .Ltmp136
	.uleb128 .Ltmp180-.Lfunc_begin1         #     jumps to .Ltmp180
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp137-.Lfunc_begin1         # >> Call Site 27 <<
	.uleb128 .Ltmp140-.Ltmp137              #   Call between .Ltmp137 and .Ltmp140
	.uleb128 .Ltmp141-.Lfunc_begin1         #     jumps to .Ltmp141
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp142-.Lfunc_begin1         # >> Call Site 28 <<
	.uleb128 .Ltmp145-.Ltmp142              #   Call between .Ltmp142 and .Ltmp145
	.uleb128 .Ltmp146-.Lfunc_begin1         #     jumps to .Ltmp146
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp147-.Lfunc_begin1         # >> Call Site 29 <<
	.uleb128 .Ltmp150-.Ltmp147              #   Call between .Ltmp147 and .Ltmp150
	.uleb128 .Ltmp151-.Lfunc_begin1         #     jumps to .Ltmp151
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp152-.Lfunc_begin1         # >> Call Site 30 <<
	.uleb128 .Ltmp155-.Ltmp152              #   Call between .Ltmp152 and .Ltmp155
	.uleb128 .Ltmp156-.Lfunc_begin1         #     jumps to .Ltmp156
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp157-.Lfunc_begin1         # >> Call Site 31 <<
	.uleb128 .Ltmp158-.Ltmp157              #   Call between .Ltmp157 and .Ltmp158
	.uleb128 .Ltmp180-.Lfunc_begin1         #     jumps to .Ltmp180
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp159-.Lfunc_begin1         # >> Call Site 32 <<
	.uleb128 .Ltmp160-.Ltmp159              #   Call between .Ltmp159 and .Ltmp160
	.uleb128 .Ltmp161-.Lfunc_begin1         #     jumps to .Ltmp161
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp162-.Lfunc_begin1         # >> Call Site 33 <<
	.uleb128 .Ltmp163-.Ltmp162              #   Call between .Ltmp162 and .Ltmp163
	.uleb128 .Ltmp164-.Lfunc_begin1         #     jumps to .Ltmp164
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp165-.Lfunc_begin1         # >> Call Site 34 <<
	.uleb128 .Ltmp168-.Ltmp165              #   Call between .Ltmp165 and .Ltmp168
	.uleb128 .Ltmp169-.Lfunc_begin1         #     jumps to .Ltmp169
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp170-.Lfunc_begin1         # >> Call Site 35 <<
	.uleb128 .Ltmp179-.Ltmp170              #   Call between .Ltmp170 and .Ltmp179
	.uleb128 .Ltmp180-.Lfunc_begin1         #     jumps to .Ltmp180
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp181-.Lfunc_begin1         # >> Call Site 36 <<
	.uleb128 .Ltmp184-.Ltmp181              #   Call between .Ltmp181 and .Ltmp184
	.uleb128 .Ltmp185-.Lfunc_begin1         #     jumps to .Ltmp185
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp186-.Lfunc_begin1         # >> Call Site 37 <<
	.uleb128 .Ltmp195-.Ltmp186              #   Call between .Ltmp186 and .Ltmp195
	.uleb128 .Ltmp267-.Lfunc_begin1         #     jumps to .Ltmp267
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp196-.Lfunc_begin1         # >> Call Site 38 <<
	.uleb128 .Ltmp199-.Ltmp196              #   Call between .Ltmp196 and .Ltmp199
	.uleb128 .Ltmp200-.Lfunc_begin1         #     jumps to .Ltmp200
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp201-.Lfunc_begin1         # >> Call Site 39 <<
	.uleb128 .Ltmp266-.Ltmp201              #   Call between .Ltmp201 and .Ltmp266
	.uleb128 .Ltmp267-.Lfunc_begin1         #     jumps to .Ltmp267
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp266-.Lfunc_begin1         # >> Call Site 40 <<
	.uleb128 .Lfunc_end6-.Ltmp266           #   Call between .Ltmp266 and .Lfunc_end6
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end1:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorIiSaIiEEC2EmRKS0_,"axG",@progbits,_ZNSt6vectorIiSaIiEEC2EmRKS0_,comdat
	.weak	_ZNSt6vectorIiSaIiEEC2EmRKS0_   # -- Begin function _ZNSt6vectorIiSaIiEEC2EmRKS0_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIiSaIiEEC2EmRKS0_,@function
_ZNSt6vectorIiSaIiEEC2EmRKS0_:          # @_ZNSt6vectorIiSaIiEEC2EmRKS0_
	.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	%rsi, %rax
	shrq	$61, %rax
	jne	.LBB7_7
# %bb.1:                                # %_ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0_.exit
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	testq	%rsi, %rsi
	je	.LBB7_2
# %bb.3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIiE8allocateEmPKv
	movq	%rax, (%rbx)
	leaq	(%rax,%r14,4), %r15
	movq	%r15, 16(%rbx)
	movl	$0, (%rax)
	addq	$4, %rax
	cmpq	$1, %r14
	jne	.LBB7_5
# %bb.4:
	movq	%rax, %r15
	jmp	.LBB7_6
.LBB7_2:                                # %_ZNSt12_Vector_baseIiSaIiEEC2EmRKS0_.exit.thread
	movups	%xmm0, (%rbx)
	movq	$0, 16(%rbx)
	xorl	%r15d, %r15d
	jmp	.LBB7_6
.LBB7_5:                                # %_ZSt6fill_nIPimiET_S1_T0_RKT1_.exit.loopexit.i.i.i.i
	leaq	-4(,%r14,4), %rdx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	memset@PLT
.LBB7_6:
	movq	%r15, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB7_7:
	.cfi_def_cfa_offset 32
	movl	$.L.str.17, %edi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end7:
	.size	_ZNSt6vectorIiSaIiEEC2EmRKS0_, .Lfunc_end7-_ZNSt6vectorIiSaIiEEC2EmRKS0_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIfSaIfEEC2ERKS1_,"axG",@progbits,_ZNSt6vectorIfSaIfEEC2ERKS1_,comdat
	.weak	_ZNSt6vectorIfSaIfEEC2ERKS1_    # -- Begin function _ZNSt6vectorIfSaIfEEC2ERKS1_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIfSaIfEEC2ERKS1_,@function
_ZNSt6vectorIfSaIfEEC2ERKS1_:           # @_ZNSt6vectorIfSaIfEEC2ERKS1_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rsi), %rax
	movq	(%rsi), %rcx
	movq	%rax, %r12
	subq	%rcx, %r12
	sarq	$2, %r12
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	cmpq	%rcx, %rax
	je	.LBB8_1
# %bb.2:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIfE8allocateEmPKv
	movq	%rax, %r15
	jmp	.LBB8_3
.LBB8_1:
	xorl	%r15d, %r15d
.LBB8_3:
	movq	%r15, (%rbx)
	movq	%r15, 8(%rbx)
	leaq	(%r15,%r12,4), %rax
	movq	%rax, 16(%rbx)
	movq	(%r14), %rsi
	movq	8(%r14), %r14
	subq	%rsi, %r14
	cmpq	$5, %r14
	jl	.LBB8_5
# %bb.4:
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	memmove@PLT
.LBB8_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
.LBB8_5:
	.cfi_def_cfa_offset 48
	cmpq	$4, %r14
	jne	.LBB8_7
# %bb.6:
	movss	(%rsi), %xmm0                   # xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%r15)
	jmp	.LBB8_7
.Lfunc_end8:
	.size	_ZNSt6vectorIfSaIfEEC2ERKS1_, .Lfunc_end8-_ZNSt6vectorIfSaIfEEC2ERKS1_
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst16,"aM",@progbits,16
	.p2align	4, 0x0                          # -- Begin function _Z10ABM_on_CPUSt6vectorIfSaIfEES1_S1_RS1_i
.LCPI9_0:
	.long	0x80000000                      # float -0
	.long	0x80000000                      # float -0
	.long	0x80000000                      # float -0
	.long	0x80000000                      # float -0
	.text
	.globl	_Z10ABM_on_CPUSt6vectorIfSaIfEES1_S1_RS1_i
	.type	_Z10ABM_on_CPUSt6vectorIfSaIfEES1_S1_RS1_i,@function
_Z10ABM_on_CPUSt6vectorIfSaIfEES1_S1_RS1_i: # @_Z10ABM_on_CPUSt6vectorIfSaIfEES1_S1_RS1_i
.Lfunc_begin2:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception2
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$424, %rsp                      # imm = 0x1A8
	.cfi_def_cfa_offset 480
	.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	%r8d, %r15d
	movq	%rcx, 16(%rsp)                  # 8-byte Spill
	movq	%rdx, 24(%rsp)                  # 8-byte Spill
	movq	%rsi, 88(%rsp)                  # 8-byte Spill
	movq	%rdi, 80(%rsp)                  # 8-byte Spill
	leal	(%r15,%r15), %ebx
	movslq	%ebx, %r14
	leaq	256(%rsp), %rdi
	leaq	144(%rsp), %rdx
	movq	%r14, %rsi
	callq	_ZNSt6vectorIfSaIfEEC2EmRKS0_
.Ltmp268:
	leaq	144(%rsp), %rdi
	leaq	232(%rsp), %rdx
	movq	%r14, %rsi
	callq	_ZNSt6vectorIfSaIfEEC2EmRKS0_
.Ltmp269:
# %bb.1:
.Ltmp271:
	leaq	232(%rsp), %rdi
	leaq	56(%rsp), %rdx
	movq	%r14, %rsi
	callq	_ZNSt6vectorIfSaIfEEC2EmRKS0_
.Ltmp272:
# %bb.2:
.Ltmp274:
	leaq	56(%rsp), %rdi
	leaq	120(%rsp), %rdx
	movq	%r14, %rsi
	callq	_ZNSt6vectorIfSaIfEEC2EmRKS0_
.Ltmp275:
# %bb.3:
.Ltmp277:
	movl	%ebx, 44(%rsp)                  # 4-byte Spill
	leaq	120(%rsp), %rdi
	leaq	11(%rsp), %rdx
	movq	%r14, %rsi
	callq	_ZNSt6vectorIiSaIiEEC2EmRKS0_
.Ltmp278:
# %bb.4:
	movq	88(%rsp), %rax                  # 8-byte Reload
	movq	(%rax), %rsi
	movq	8(%rax), %rax
	subq	%rsi, %rax
	sarq	$2, %rax
	movslq	%r15d, %rcx
	xorl	%edi, %edi
	movq	%rax, 112(%rsp)                 # 8-byte Spill
	xorl	%edx, %edx
	divq	%rcx
	movq	144(%rsp), %rdx
	movq	152(%rsp), %r10
	subq	%rdx, %r10
	je	.LBB9_15
# %bb.5:                                # %.lr.ph181
	movq	%rax, %rcx
	imull	%ecx, %r15d
	movq	112(%rsp), %rax                 # 8-byte Reload
	movl	%eax, %ebp
	subl	%r15d, %ebp
	sarq	$2, %r10
	movq	80(%rsp), %rax                  # 8-byte Reload
	movq	(%rax), %r15
	movq	256(%rsp), %r11
	movq	24(%rsp), %rax                  # 8-byte Reload
	movq	(%rax), %r14
	movq	232(%rsp), %rax
	movq	%rax, 32(%rsp)                  # 8-byte Spill
	movq	16(%rsp), %rax                  # 8-byte Reload
	movq	(%rax), %r12
	movq	56(%rsp), %r13
	movq	120(%rsp), %rax
	movq	%rax, 104(%rsp)                 # 8-byte Spill
	leaq	4(%r15), %rax
	movq	%rax, 192(%rsp)                 # 8-byte Spill
	leaq	4(%r12), %rax
	movq	%rax, 184(%rsp)                 # 8-byte Spill
	leaq	4(%rsi), %rax
	movq	%rax, 176(%rsp)                 # 8-byte Spill
	leaq	4(%r14), %rax
	movq	%rax, 168(%rsp)                 # 8-byte Spill
	movl	$1, %r8d
	movaps	.LCPI9_0(%rip), %xmm0           # xmm0 = [-0.0E+0,-0.0E+0,-0.0E+0,-0.0E+0]
	movq	%rsi, 208(%rsp)                 # 8-byte Spill
	movq	%r10, 96(%rsp)                  # 8-byte Spill
	movl	%ebp, 12(%rsp)                  # 4-byte Spill
	movq	%r15, 200(%rsp)                 # 8-byte Spill
.LBB9_6:                                # =>This Loop Header: Depth=1
                                        #     Child Loop BB9_8 Depth 2
                                        #     Child Loop BB9_13 Depth 2
	movq	%rdi, %rbx
	orq	$1, %rbx
	leaq	2(%rdi), %rax
	movq	%rax, 224(%rsp)                 # 8-byte Spill
	cmpq	%rax, %r10
	movl	$0, %eax
	cmovel	%ebp, %eax
	movq	%rcx, 216(%rsp)                 # 8-byte Spill
	leal	(%rax,%rcx), %ebp
	movl	%r8d, %r10d
	movslq	%r8d, %r8
	movss	(%r15,%r8,4), %xmm1             # xmm1 = mem[0],zero,zero,zero
	movss	%xmm1, (%r11,%rbx,4)
	movss	(%rsi,%r8,4), %xmm1             # xmm1 = mem[0],zero,zero,zero
	movss	%xmm1, (%rdx,%rbx,4)
	movss	(%r14,%r8,4), %xmm1             # xmm1 = mem[0],zero,zero,zero
	movq	32(%rsp), %rcx                  # 8-byte Reload
	movss	%xmm1, (%rcx,%rbx,4)
	movss	(%r12,%r8,4), %xmm1             # xmm1 = mem[0],zero,zero,zero
	movss	%xmm1, (%r13,%rbx,4)
	leal	-1(%r8), %ecx
	movq	104(%rsp), %r9                  # 8-byte Reload
	movl	%ecx, (%r9,%rdi,4)
	movl	%r10d, 48(%rsp)                 # 4-byte Spill
	movl	%r10d, %r9d
	movq	96(%rsp), %r10                  # 8-byte Reload
	movl	%ebp, 52(%rsp)                  # 4-byte Spill
	cmpl	$3, %ebp
	movl	12(%rsp), %ebp                  # 4-byte Reload
	jl	.LBB9_11
# %bb.7:                                # %.lr.ph.preheader
                                        #   in Loop: Header=BB9_6 Depth=1
	movq	192(%rsp), %rcx                 # 8-byte Reload
	leaq	(%rcx,%r8,4), %rcx
	movq	184(%rsp), %rsi                 # 8-byte Reload
	leaq	(%rsi,%r8,4), %rbp
	movq	176(%rsp), %rsi                 # 8-byte Reload
	leaq	(%rsi,%r8,4), %rsi
	movq	168(%rsp), %r9                  # 8-byte Reload
	leaq	(%r9,%r8,4), %r15
	movq	216(%rsp), %r9                  # 8-byte Reload
	addl	%r9d, %eax
	addl	$-2, %eax
	xorl	%r9d, %r9d
.LBB9_8:                                # %.lr.ph
                                        #   Parent Loop BB9_6 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	leaq	(%r8,%r9), %r10
	incq	%r10
	cmpq	%r10, 112(%rsp)                 # 8-byte Folded Reload
	jbe	.LBB9_10
# %bb.9:                                #   in Loop: Header=BB9_8 Depth=2
	movss	(%rdx,%rbx,4), %xmm1            # xmm1 = mem[0],zero,zero,zero
	divss	(%rcx,%r9,4), %xmm1
	movss	(%rbp,%r9,4), %xmm2             # xmm2 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm2
	movss	(%r13,%rbx,4), %xmm3            # xmm3 = mem[0],zero,zero,zero
	subss	%xmm2, %xmm3
	movss	%xmm3, (%r13,%rbx,4)
	movq	32(%rsp), %r10                  # 8-byte Reload
	movss	(%r10,%rbx,4), %xmm2            # xmm2 = mem[0],zero,zero,zero
	movss	(%rsi,%r9,4), %xmm3             # xmm3 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm3
	subss	%xmm3, %xmm2
	movss	%xmm2, (%rdx,%rbx,4)
	xorps	%xmm0, %xmm1
	mulss	(%r15,%r9,4), %xmm1
	movss	%xmm1, (%r10,%rbx,4)
	incq	%r9
	cmpl	%r9d, %eax
	jne	.LBB9_8
.LBB9_10:                               # %.lr.ph..critedge.loopexit_crit_edge
                                        #   in Loop: Header=BB9_6 Depth=1
	addq	%r8, %r9
	leal	-1(%r9), %ecx
	movq	208(%rsp), %rsi                 # 8-byte Reload
	movq	96(%rsp), %r10                  # 8-byte Reload
	movl	12(%rsp), %ebp                  # 4-byte Reload
	movq	200(%rsp), %r15                 # 8-byte Reload
.LBB9_11:                               # %.critedge
                                        #   in Loop: Header=BB9_6 Depth=1
	movslq	%ecx, %rax
	movss	(%r15,%rax,4), %xmm1            # xmm1 = mem[0],zero,zero,zero
	movss	%xmm1, (%r11,%rdi,4)
	movss	(%rsi,%rax,4), %xmm1            # xmm1 = mem[0],zero,zero,zero
	movss	%xmm1, (%rdx,%rdi,4)
	movss	(%r14,%rax,4), %xmm1            # xmm1 = mem[0],zero,zero,zero
	movq	32(%rsp), %rcx                  # 8-byte Reload
	movss	%xmm1, (%rcx,%rdi,4)
	movss	(%r12,%rax,4), %xmm1            # xmm1 = mem[0],zero,zero,zero
	movss	%xmm1, (%r13,%rdi,4)
	movq	104(%rsp), %rax                 # 8-byte Reload
	movl	%r9d, (%rax,%rbx,4)
	cmpl	48(%rsp), %r9d                  # 4-byte Folded Reload
	jle	.LBB9_14
# %bb.12:                               # %.lr.ph176.preheader
                                        #   in Loop: Header=BB9_6 Depth=1
	movslq	%r9d, %rax
	decq	%rax
.LBB9_13:                               # %.lr.ph176
                                        #   Parent Loop BB9_6 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movss	(%rdx,%rdi,4), %xmm1            # xmm1 = mem[0],zero,zero,zero
	divss	-4(%r14,%rax,4), %xmm1
	movss	(%r13,%rdi,4), %xmm2            # xmm2 = mem[0],zero,zero,zero
	movss	-4(%r12,%rax,4), %xmm3          # xmm3 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm3
	subss	%xmm3, %xmm2
	movss	%xmm2, (%r13,%rdi,4)
	movss	(%r11,%rdi,4), %xmm2            # xmm2 = mem[0],zero,zero,zero
	movss	-4(%rsi,%rax,4), %xmm3          # xmm3 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm3
	subss	%xmm3, %xmm2
	movss	%xmm2, (%rdx,%rdi,4)
	xorps	%xmm0, %xmm1
	mulss	-4(%r15,%rax,4), %xmm1
	movss	%xmm1, (%r11,%rdi,4)
	decq	%rax
	cmpq	%r8, %rax
	jge	.LBB9_13
.LBB9_14:                               # %._crit_edge
                                        #   in Loop: Header=BB9_6 Depth=1
	addl	$2, %r9d
	movq	224(%rsp), %rax                 # 8-byte Reload
	movq	%rax, %rdi
	movl	%r9d, %r8d
	movl	52(%rsp), %ecx                  # 4-byte Reload
                                        # kill: def $ecx killed $ecx def $rcx
	cmpq	%rax, %r10
	ja	.LBB9_6
.LBB9_15:                               # %._crit_edge182
.Ltmp280:
	leaq	304(%rsp), %rdi
	leaq	256(%rsp), %rsi
	callq	_ZNSt6vectorIfSaIfEEC2ERKS1_
.Ltmp281:
# %bb.16:
.Ltmp283:
	leaq	280(%rsp), %rdi
	leaq	144(%rsp), %rsi
	callq	_ZNSt6vectorIfSaIfEEC2ERKS1_
.Ltmp284:
	movl	44(%rsp), %ebx                  # 4-byte Reload
# %bb.17:
.Ltmp286:
	leaq	400(%rsp), %rdi
	leaq	232(%rsp), %rsi
	callq	_ZNSt6vectorIfSaIfEEC2ERKS1_
.Ltmp287:
# %bb.18:
	leaq	304(%rsp), %rdi
	leaq	280(%rsp), %rsi
	leaq	400(%rsp), %r14
	leaq	56(%rsp), %rcx
	movq	%r14, %rdx
	xorl	%r8d, %r8d
	movl	%ebx, %r9d
	callq	_Z6LU_CPUSt6vectorIfSaIfEES1_S1_RS1_ii
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	.LBB9_20
# %bb.19:
	callq	_ZdlPv
.LBB9_20:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit
	movq	280(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_22
# %bb.21:
	callq	_ZdlPv
.LBB9_22:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit132
	movq	304(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_24
# %bb.23:
	callq	_ZdlPv
.LBB9_24:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit134
	movq	56(%rsp), %rax
	movq	64(%rsp), %rdi
	movq	%rdi, %rcx
	subq	%rax, %rcx
	je	.LBB9_39
# %bb.25:                               # %.lr.ph184
	sarq	$2, %rcx
	movq	120(%rsp), %rdx
	movq	16(%rsp), %rsi                  # 8-byte Reload
	movq	(%rsi), %rsi
	cmpq	$1, %rcx
	adcq	$0, %rcx
	xorl	%r8d, %r8d
.LBB9_26:                               # =>This Inner Loop Header: Depth=1
	movss	(%rax,%r8,4), %xmm0             # xmm0 = mem[0],zero,zero,zero
	movslq	(%rdx,%r8,4), %r9
	movss	%xmm0, (%rsi,%r9,4)
	incq	%r8
	cmpq	%r8, %rcx
	jne	.LBB9_26
# %bb.27:                               # %.preheader
	cmpq	%rax, %rdi
	je	.LBB9_39
# %bb.28:                               # %.lr.ph186.preheader
	xorl	%ebx, %ebx
	leaq	352(%rsp), %r13
	leaq	328(%rsp), %rbp
	leaq	376(%rsp), %r15
	movq	%rax, %rdi
.LBB9_29:                               # %.lr.ph186
                                        # =>This Inner Loop Header: Depth=1
	movq	120(%rsp), %rax
	movslq	(%rax,%rbx,4), %r14
	movq	80(%rsp), %rsi                  # 8-byte Reload
	movq	(%rsi), %rcx
	movss	4(%rcx,%r14,4), %xmm0           # xmm0 = mem[0],zero,zero,zero
	mulss	(%rdi,%rbx,4), %xmm0
	movq	16(%rsp), %rcx                  # 8-byte Reload
	movq	(%rcx), %rcx
	movss	4(%rcx,%r14,4), %xmm1           # xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movss	%xmm1, 4(%rcx,%r14,4)
	movslq	4(%rax,%rbx,4), %r12
	movq	24(%rsp), %rax                  # 8-byte Reload
	movq	(%rax), %rax
	movss	-4(%rax,%r12,4), %xmm0          # xmm0 = mem[0],zero,zero,zero
	mulss	4(%rdi,%rbx,4), %xmm0
	movss	-4(%rcx,%r12,4), %xmm1          # xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movss	%xmm1, -4(%rcx,%r12,4)
.Ltmp289:
	movq	%r13, %rdi
	callq	_ZNSt6vectorIfSaIfEEC2ERKS1_
.Ltmp290:
# %bb.30:                               #   in Loop: Header=BB9_29 Depth=1
.Ltmp292:
	movq	%rbp, %rdi
	movq	88(%rsp), %rsi                  # 8-byte Reload
	callq	_ZNSt6vectorIfSaIfEEC2ERKS1_
.Ltmp293:
# %bb.31:                               #   in Loop: Header=BB9_29 Depth=1
.Ltmp295:
	movq	%r15, %rdi
	movq	24(%rsp), %rsi                  # 8-byte Reload
	callq	_ZNSt6vectorIfSaIfEEC2ERKS1_
.Ltmp296:
# %bb.32:                               #   in Loop: Header=BB9_29 Depth=1
	incq	%r14
	movq	%r13, %rdi
	movq	%rbp, %rsi
	movq	%r15, %rdx
	movq	16(%rsp), %rcx                  # 8-byte Reload
	movl	%r14d, %r8d
	movl	%r12d, %r9d
	callq	_Z6LU_CPUSt6vectorIfSaIfEES1_S1_RS1_ii
	movq	376(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_34
# %bb.33:                               #   in Loop: Header=BB9_29 Depth=1
	callq	_ZdlPv
.LBB9_34:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit149
                                        #   in Loop: Header=BB9_29 Depth=1
	movq	328(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_36
# %bb.35:                               #   in Loop: Header=BB9_29 Depth=1
	callq	_ZdlPv
.LBB9_36:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit151
                                        #   in Loop: Header=BB9_29 Depth=1
	movq	352(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_38
# %bb.37:                               #   in Loop: Header=BB9_29 Depth=1
	callq	_ZdlPv
.LBB9_38:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit153
                                        #   in Loop: Header=BB9_29 Depth=1
	addq	$2, %rbx
	movq	56(%rsp), %rdi
	movq	64(%rsp), %rax
	subq	%rdi, %rax
	sarq	$2, %rax
	cmpq	%rbx, %rax
	ja	.LBB9_29
.LBB9_39:                               # %._crit_edge187
	movq	120(%rsp), %rax
	testq	%rax, %rax
	je	.LBB9_41
# %bb.40:
	movq	%rax, %rdi
	callq	_ZdlPv
	movq	56(%rsp), %rdi
.LBB9_41:                               # %_ZNSt6vectorIiSaIiEED2Ev.exit
	testq	%rdi, %rdi
	je	.LBB9_43
# %bb.42:
	callq	_ZdlPv
.LBB9_43:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit141
	movq	232(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_45
# %bb.44:
	callq	_ZdlPv
.LBB9_45:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit143
	movq	144(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_47
# %bb.46:
	callq	_ZdlPv
.LBB9_47:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit145
	movq	256(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_49
# %bb.48:
	callq	_ZdlPv
.LBB9_49:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit147
	addq	$424, %rsp                      # imm = 0x1A8
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB9_50:
	.cfi_def_cfa_offset 480
.Ltmp288:
	movq	%rax, %rbx
	movq	280(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_53
# %bb.51:
	callq	_ZdlPv
	jmp	.LBB9_53
.LBB9_52:
.Ltmp285:
	movq	%rax, %rbx
.LBB9_53:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit136
	movq	304(%rsp), %rdi
	jmp	.LBB9_65
.LBB9_54:
.Ltmp282:
	jmp	.LBB9_55
.LBB9_56:
.Ltmp279:
	movq	%rax, %rbx
	jmp	.LBB9_69
.LBB9_57:
.Ltmp276:
	movq	%rax, %rbx
	jmp	.LBB9_71
.LBB9_58:
.Ltmp273:
	movq	%rax, %rbx
	jmp	.LBB9_73
.LBB9_59:
.Ltmp270:
	movq	%rax, %rbx
	jmp	.LBB9_75
.LBB9_60:
.Ltmp291:
.LBB9_55:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit138
	movq	%rax, %rbx
	jmp	.LBB9_67
.LBB9_61:
.Ltmp294:
	movq	%rax, %rbx
	jmp	.LBB9_64
.LBB9_62:
.Ltmp297:
	movq	%rax, %rbx
	movq	328(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_64
# %bb.63:
	callq	_ZdlPv
.LBB9_64:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit155
	movq	352(%rsp), %rdi
.LBB9_65:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit155
	testq	%rdi, %rdi
	je	.LBB9_67
# %bb.66:
	callq	_ZdlPv
.LBB9_67:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit138
	movq	120(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_69
# %bb.68:
	callq	_ZdlPv
.LBB9_69:                               # %_ZNSt6vectorIiSaIiEED2Ev.exit159
	movq	56(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_71
# %bb.70:
	callq	_ZdlPv
.LBB9_71:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit161
	movq	232(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_73
# %bb.72:
	callq	_ZdlPv
.LBB9_73:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit163
	movq	144(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_75
# %bb.74:
	callq	_ZdlPv
.LBB9_75:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit165
	movq	256(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_77
# %bb.76:
	callq	_ZdlPv
.LBB9_77:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit167
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end9:
	.size	_Z10ABM_on_CPUSt6vectorIfSaIfEES1_S1_RS1_i, .Lfunc_end9-_Z10ABM_on_CPUSt6vectorIfSaIfEES1_S1_RS1_i
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table9:
.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 .Ltmp268-.Lfunc_begin2         #   Call between .Lfunc_begin2 and .Ltmp268
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp268-.Lfunc_begin2         # >> Call Site 2 <<
	.uleb128 .Ltmp269-.Ltmp268              #   Call between .Ltmp268 and .Ltmp269
	.uleb128 .Ltmp270-.Lfunc_begin2         #     jumps to .Ltmp270
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp271-.Lfunc_begin2         # >> Call Site 3 <<
	.uleb128 .Ltmp272-.Ltmp271              #   Call between .Ltmp271 and .Ltmp272
	.uleb128 .Ltmp273-.Lfunc_begin2         #     jumps to .Ltmp273
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp274-.Lfunc_begin2         # >> Call Site 4 <<
	.uleb128 .Ltmp275-.Ltmp274              #   Call between .Ltmp274 and .Ltmp275
	.uleb128 .Ltmp276-.Lfunc_begin2         #     jumps to .Ltmp276
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp277-.Lfunc_begin2         # >> Call Site 5 <<
	.uleb128 .Ltmp278-.Ltmp277              #   Call between .Ltmp277 and .Ltmp278
	.uleb128 .Ltmp279-.Lfunc_begin2         #     jumps to .Ltmp279
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp280-.Lfunc_begin2         # >> Call Site 6 <<
	.uleb128 .Ltmp281-.Ltmp280              #   Call between .Ltmp280 and .Ltmp281
	.uleb128 .Ltmp282-.Lfunc_begin2         #     jumps to .Ltmp282
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp283-.Lfunc_begin2         # >> Call Site 7 <<
	.uleb128 .Ltmp284-.Ltmp283              #   Call between .Ltmp283 and .Ltmp284
	.uleb128 .Ltmp285-.Lfunc_begin2         #     jumps to .Ltmp285
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp286-.Lfunc_begin2         # >> Call Site 8 <<
	.uleb128 .Ltmp287-.Ltmp286              #   Call between .Ltmp286 and .Ltmp287
	.uleb128 .Ltmp288-.Lfunc_begin2         #     jumps to .Ltmp288
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp289-.Lfunc_begin2         # >> Call Site 9 <<
	.uleb128 .Ltmp290-.Ltmp289              #   Call between .Ltmp289 and .Ltmp290
	.uleb128 .Ltmp291-.Lfunc_begin2         #     jumps to .Ltmp291
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp292-.Lfunc_begin2         # >> Call Site 10 <<
	.uleb128 .Ltmp293-.Ltmp292              #   Call between .Ltmp292 and .Ltmp293
	.uleb128 .Ltmp294-.Lfunc_begin2         #     jumps to .Ltmp294
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp295-.Lfunc_begin2         # >> Call Site 11 <<
	.uleb128 .Ltmp296-.Ltmp295              #   Call between .Ltmp295 and .Ltmp296
	.uleb128 .Ltmp297-.Lfunc_begin2         #     jumps to .Ltmp297
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp296-.Lfunc_begin2         # >> Call Site 12 <<
	.uleb128 .Lfunc_end9-.Ltmp296           #   Call between .Ltmp296 and .Lfunc_end9
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end2:
	.p2align	2, 0x0
                                        # -- End function
	.section	.rodata.cst4,"aM",@progbits,4
	.p2align	2, 0x0                          # -- Begin function main
.LCPI10_0:
	.long	0x3f800000                      # float 1
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0
.LCPI10_1:
	.quad	0x3d06849b86a12b9b              # double 9.9999999999999999E-15
	.text
	.globl	main
	.type	main,@function
main:                                   # @main
.Lfunc_begin3:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception3
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%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	$376, %rsp                      # imm = 0x178
	.cfi_def_cfa_offset 432
	.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	$2048000, %edi                  # imm = 0x1F4000
	callq	_Znwm
	movq	%rax, %rbx
	movq	%rax, 208(%rsp)
	leaq	2048000(%rax), %r14
	movq	%r14, 224(%rsp)
	movl	$2048000, %edx                  # imm = 0x1F4000
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	memset@PLT
	movq	%r14, 216(%rsp)
.Ltmp298:
	movl	$2048000, %edi                  # imm = 0x1F4000
	callq	_Znwm
.Ltmp299:
# %bb.1:
	movq	%rax, %r14
	movq	%rax, 184(%rsp)
	movq	%rax, %r15
	addq	$2048000, %r15                  # imm = 0x1F4000
	movq	%r15, 200(%rsp)
	movl	$2048000, %edx                  # imm = 0x1F4000
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	memset@PLT
	movq	%r15, 192(%rsp)
.Ltmp301:
	movl	$2048000, %edi                  # imm = 0x1F4000
	callq	_Znwm
.Ltmp302:
# %bb.2:
	movq	%rax, %r15
	movq	%rax, 160(%rsp)
	movq	%rax, %r12
	addq	$2048000, %r12                  # imm = 0x1F4000
	movq	%r12, 176(%rsp)
	movl	$2048000, %edx                  # imm = 0x1F4000
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	memset@PLT
	movq	%r12, 168(%rsp)
.Ltmp304:
	movl	$2048000, %edi                  # imm = 0x1F4000
	callq	_Znwm
.Ltmp305:
# %bb.3:
	movq	%rax, %r12
	movq	%rax, 16(%rsp)
	movq	%rax, %rbp
	addq	$2048000, %rbp                  # imm = 0x1F4000
	movq	%rbp, 32(%rsp)
	xorl	%r13d, %r13d
	movl	$2048000, %edx                  # imm = 0x1F4000
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	memset@PLT
	movq	%rbp, 24(%rsp)
	xorl	%edi, %edi
	callq	time
	movl	%eax, %edi
	callq	srand
.LBB10_4:                               # =>This Inner Loop Header: Depth=1
	callq	rand
	cltq
	imulq	$1717986919, %rax, %rcx         # imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$34, %rcx
	addl	%edx, %ecx
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	negl	%ecx
	addl	%ecx, %eax
	incl	%eax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	movss	%xmm0, (%rbx,%r13,4)
	callq	rand
	cltq
	imulq	$1717986919, %rax, %rcx         # imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$34, %rcx
	addl	%edx, %ecx
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	negl	%ecx
	addl	%ecx, %eax
	incl	%eax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	movss	%xmm0, (%r15,%r13,4)
	addss	(%rbx,%r13,4), %xmm0
	addss	.LCPI10_0(%rip), %xmm0
	movss	%xmm0, 40(%rsp)                 # 4-byte Spill
	callq	rand
	cltq
	imulq	$1717986919, %rax, %rcx         # imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$34, %rcx
	addl	%edx, %ecx
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	subl	%ecx, %eax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	addss	40(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, (%r14,%r13,4)
	callq	rand
	cltq
	imulq	$1374389535, %rax, %rcx         # imm = 0x51EB851F
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$37, %rcx
	addl	%edx, %ecx
	imull	$100, %ecx, %ecx
	subl	%ecx, %eax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	movss	%xmm0, (%r12,%r13,4)
	incq	%r13
	cmpq	$512000, %r13                   # imm = 0x7D000
	jne	.LBB10_4
# %bb.5:
.Ltmp307:
	movl	$2048000, %edi                  # imm = 0x1F4000
	callq	_Znwm
.Ltmp308:
# %bb.6:
	movq	%rax, 136(%rsp)
	movq	%rax, %rbx
	addq	$2048000, %rbx                  # imm = 0x1F4000
	movq	%rbx, 152(%rsp)
	movl	$2048000, %edx                  # imm = 0x1F4000
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	memset@PLT
	movq	%rbx, 144(%rsp)
.Ltmp310:
	movl	$2048000, %edi                  # imm = 0x1F4000
	callq	_Znwm
.Ltmp311:
# %bb.7:
	movq	%rax, 112(%rsp)
	movq	%rax, %rbx
	addq	$2048000, %rbx                  # imm = 0x1F4000
	movq	%rbx, 128(%rsp)
	movl	$2048000, %edx                  # imm = 0x1F4000
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	memset@PLT
	movq	%rbx, 120(%rsp)
.Ltmp313:
	movl	$2048000, %edi                  # imm = 0x1F4000
	callq	_Znwm
.Ltmp314:
# %bb.8:
	movq	%rax, 88(%rsp)
	movq	%rax, %rbx
	addq	$2048000, %rbx                  # imm = 0x1F4000
	movq	%rbx, 104(%rsp)
	movl	$2048000, %edx                  # imm = 0x1F4000
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	memset@PLT
	movq	%rbx, 96(%rsp)
.Ltmp316:
	movl	$2048000, %edi                  # imm = 0x1F4000
	callq	_Znwm
.Ltmp317:
# %bb.9:
	movq	%rax, 64(%rsp)
	movq	%rax, %rbx
	addq	$2048000, %rbx                  # imm = 0x1F4000
	movq	%rbx, 80(%rsp)
	movl	$2048000, %edx                  # imm = 0x1F4000
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	memset@PLT
	movq	%rbx, 72(%rsp)
.Ltmp319:
	leaq	136(%rsp), %rdi
	leaq	208(%rsp), %rsi
	callq	_ZNSt6vectorIfSaIfEEaSERKS1_
.Ltmp320:
# %bb.10:
.Ltmp321:
	leaq	112(%rsp), %rdi
	leaq	184(%rsp), %rsi
	callq	_ZNSt6vectorIfSaIfEEaSERKS1_
.Ltmp322:
# %bb.11:
.Ltmp323:
	leaq	88(%rsp), %rdi
	leaq	160(%rsp), %rsi
	callq	_ZNSt6vectorIfSaIfEEaSERKS1_
.Ltmp324:
# %bb.12:
.Ltmp325:
	leaq	64(%rsp), %rdi
	leaq	16(%rsp), %rsi
	callq	_ZNSt6vectorIfSaIfEEaSERKS1_
.Ltmp326:
# %bb.13:
	xorl	%eax, %eax
	movl	%eax, 4(%rsp)
	movl	%eax, (%rsp)
.Ltmp328:
	leaq	56(%rsp), %rdi
	callq	hipEventCreate
.Ltmp329:
# %bb.14:
.Ltmp330:
	leaq	8(%rsp), %rdi
	callq	hipEventCreate
.Ltmp331:
# %bb.15:
.Ltmp332:
	leaq	48(%rsp), %rdi
	callq	hipEventCreate
.Ltmp333:
# %bb.16:
	movq	56(%rsp), %rdi
.Ltmp334:
	xorl	%esi, %esi
	callq	hipEventRecord
.Ltmp335:
# %bb.17:
	movq	56(%rsp), %rdi
.Ltmp336:
	callq	hipEventSynchronize
.Ltmp337:
# %bb.18:
.Ltmp338:
	leaq	328(%rsp), %rdi
	leaq	136(%rsp), %rsi
	callq	_ZNSt6vectorIfSaIfEEC2ERKS1_
.Ltmp339:
# %bb.19:
.Ltmp340:
	leaq	304(%rsp), %rdi
	leaq	112(%rsp), %rsi
	callq	_ZNSt6vectorIfSaIfEEC2ERKS1_
.Ltmp341:
# %bb.20:
.Ltmp343:
	leaq	352(%rsp), %rdi
	leaq	88(%rsp), %rsi
	callq	_ZNSt6vectorIfSaIfEEC2ERKS1_
.Ltmp344:
# %bb.21:
	movq	24(%rsp), %r9
	subq	16(%rsp), %r9
	shrq	$2, %r9
	leaq	328(%rsp), %rdi
	leaq	304(%rsp), %rsi
	leaq	352(%rsp), %rbx
	leaq	64(%rsp), %rcx
	movq	%rbx, %rdx
	xorl	%r8d, %r8d
                                        # kill: def $r9d killed $r9d killed $r9
	callq	_Z6LU_CPUSt6vectorIfSaIfEES1_S1_RS1_ii
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB10_23
# %bb.22:
	callq	_ZdlPv
.LBB10_23:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit
	movq	304(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_25
# %bb.24:
	callq	_ZdlPv
.LBB10_25:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit62
	movq	328(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_27
# %bb.26:
	callq	_ZdlPv
.LBB10_27:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit64
	movq	8(%rsp), %rdi
.Ltmp346:
	xorl	%esi, %esi
	callq	hipEventRecord
.Ltmp347:
# %bb.28:
	movq	8(%rsp), %rdi
.Ltmp348:
	callq	hipEventSynchronize
.Ltmp349:
# %bb.29:
	movq	56(%rsp), %rsi
	movq	8(%rsp), %rdx
.Ltmp350:
	leaq	4(%rsp), %rdi
	callq	hipEventElapsedTime
.Ltmp351:
# %bb.30:
.Ltmp353:
	leaq	280(%rsp), %rdi
	leaq	208(%rsp), %rsi
	callq	_ZNSt6vectorIfSaIfEEC2ERKS1_
.Ltmp354:
# %bb.31:
.Ltmp355:
	leaq	256(%rsp), %rdi
	leaq	184(%rsp), %rsi
	callq	_ZNSt6vectorIfSaIfEEC2ERKS1_
.Ltmp356:
# %bb.32:
.Ltmp358:
	leaq	232(%rsp), %rdi
	leaq	160(%rsp), %rsi
	callq	_ZNSt6vectorIfSaIfEEC2ERKS1_
.Ltmp359:
# %bb.33:
.Ltmp361:
	leaq	280(%rsp), %rdi
	leaq	256(%rsp), %rsi
	leaq	232(%rsp), %rdx
	leaq	16(%rsp), %rcx
	movl	$1024, %r8d                     # imm = 0x400
	callq	_Z21austin_berndt_moultonSt6vectorIfSaIfEES1_S1_RS1_i
.Ltmp362:
# %bb.34:
	movl	%eax, %ebx
	movq	232(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_36
# %bb.35:
	callq	_ZdlPv
.LBB10_36:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit66
	movq	256(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_38
# %bb.37:
	callq	_ZdlPv
.LBB10_38:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit68
	movq	280(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_40
# %bb.39:
	callq	_ZdlPv
.LBB10_40:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit70
	testl	%ebx, %ebx
	jne	.LBB10_41
# %bb.64:
	movq	48(%rsp), %rdi
.Ltmp364:
	xorl	%esi, %esi
	callq	hipEventRecord
.Ltmp365:
# %bb.65:
	movq	48(%rsp), %rdi
.Ltmp366:
	callq	hipEventSynchronize
.Ltmp367:
# %bb.66:
	movq	8(%rsp), %rsi
	movq	48(%rsp), %rdx
.Ltmp368:
	movq	%rsp, %rdi
	callq	hipEventElapsedTime
.Ltmp369:
# %bb.67:
.Ltmp370:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.12, %esi
	movl	$10, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp371:
# %bb.68:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit
	cvtss2sd	4(%rsp), %xmm0
.Ltmp372:
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp373:
# %bb.69:                               # %_ZNSolsEf.exit
.Ltmp374:
	movq	%rax, %rbx
	movl	$.L.str.3, %esi
	movl	$3, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp375:
# %bb.70:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit81
	movq	(%rbx), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
.Ltmp376:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp377:
# %bb.71:                               # %.noexc
.Ltmp378:
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_ZNSo3putEc
.Ltmp379:
# %bb.72:                               # %.noexc130
.Ltmp380:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp381:
# %bb.73:                               # %_ZNSolsEPFRSoS_E.exit
.Ltmp382:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.13, %esi
	movl	$13, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp383:
# %bb.74:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit82
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rsp), %xmm0
.Ltmp384:
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp385:
# %bb.75:                               # %_ZNSolsEf.exit83
.Ltmp386:
	movq	%rax, %rbx
	movl	$.L.str.3, %esi
	movl	$3, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp387:
# %bb.76:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit84
	movq	(%rbx), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
.Ltmp388:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp389:
# %bb.77:                               # %.noexc132
.Ltmp390:
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_ZNSo3putEc
.Ltmp391:
# %bb.78:                               # %.noexc133
.Ltmp392:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp393:
# %bb.79:                               # %_ZNSolsEPFRSoS_E.exit85
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
.Ltmp394:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp395:
# %bb.80:                               # %.noexc136
.Ltmp396:
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_ZNSo3putEc
.Ltmp397:
# %bb.81:                               # %.noexc137
.Ltmp398:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp399:
# %bb.82:                               # %_ZNSolsEPFRSoS_E.exit86.preheader
	movq	16(%rsp), %rax
	movq	24(%rsp), %rcx
	cmpq	%rax, %rcx
	je	.LBB10_94
# %bb.83:                               # %.lr.ph.preheader
	xorl	%ebx, %ebx
.LBB10_84:                              # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movss	(%rax,%rbx,4), %xmm0            # xmm0 = mem[0],zero,zero,zero
	movq	64(%rsp), %rdx
	subss	(%rdx,%rbx,4), %xmm0
	cvtss2sd	%xmm0, %xmm0
	movsd	%xmm0, 40(%rsp)                 # 8-byte Spill
	ucomisd	.LCPI10_1(%rip), %xmm0
	jbe	.LBB10_93
# %bb.85:                               #   in Loop: Header=BB10_84 Depth=1
.Ltmp400:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.14, %esi
	movl	$17, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp401:
# %bb.86:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit87
                                        #   in Loop: Header=BB10_84 Depth=1
.Ltmp402:
	movl	$_ZSt4cout, %edi
	movl	%ebx, %esi
	callq	_ZNSolsEi
.Ltmp403:
# %bb.87:                               #   in Loop: Header=BB10_84 Depth=1
.Ltmp404:
	movq	%rax, %r14
	movl	$.L.str.15, %esi
	movl	$11, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp405:
# %bb.88:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit88
                                        #   in Loop: Header=BB10_84 Depth=1
.Ltmp406:
	movq	%r14, %rdi
	movsd	40(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp407:
# %bb.89:                               # %_ZNSolsEf.exit89
                                        #   in Loop: Header=BB10_84 Depth=1
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
.Ltmp408:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp409:
# %bb.90:                               # %.noexc140
                                        #   in Loop: Header=BB10_84 Depth=1
.Ltmp410:
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
.Ltmp411:
# %bb.91:                               # %.noexc141
                                        #   in Loop: Header=BB10_84 Depth=1
.Ltmp412:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp413:
# %bb.92:                               # %.noexc141._ZNSolsEPFRSoS_E.exit90_crit_edge
                                        #   in Loop: Header=BB10_84 Depth=1
	movq	16(%rsp), %rax
	movq	24(%rsp), %rcx
.LBB10_93:                              # %_ZNSolsEPFRSoS_E.exit90
                                        #   in Loop: Header=BB10_84 Depth=1
	incq	%rbx
	movq	%rcx, %rdx
	subq	%rax, %rdx
	sarq	$2, %rdx
	cmpq	%rbx, %rdx
	ja	.LBB10_84
.LBB10_94:                              # %_ZNSolsEPFRSoS_E.exit86._crit_edge
.Ltmp415:
	callq	hipDeviceReset
.Ltmp416:
# %bb.95:
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	.LBB10_96
.LBB10_98:
	movq	64(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_100
# %bb.99:
	callq	_ZdlPv
.LBB10_100:                             # %_ZNSt6vectorIfSaIfEED2Ev.exit92
	movq	88(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_102
# %bb.101:
	callq	_ZdlPv
.LBB10_102:                             # %_ZNSt6vectorIfSaIfEED2Ev.exit94
	movq	112(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_104
# %bb.103:
	callq	_ZdlPv
.LBB10_104:                             # %_ZNSt6vectorIfSaIfEED2Ev.exit96
	movq	136(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_106
# %bb.105:
	callq	_ZdlPv
.LBB10_106:                             # %_ZNSt6vectorIfSaIfEED2Ev.exit98
	movq	16(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_108
# %bb.107:
	callq	_ZdlPv
.LBB10_108:                             # %_ZNSt6vectorIfSaIfEED2Ev.exit100
	movq	160(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_110
# %bb.109:
	callq	_ZdlPv
.LBB10_110:                             # %_ZNSt6vectorIfSaIfEED2Ev.exit102
	movq	184(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_112
# %bb.111:
	callq	_ZdlPv
.LBB10_112:                             # %_ZNSt6vectorIfSaIfEED2Ev.exit104
	movq	208(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_114
# %bb.113:
	callq	_ZdlPv
.LBB10_114:                             # %_ZNSt6vectorIfSaIfEED2Ev.exit106
	movl	%ebx, %eax
	addq	$376, %rsp                      # imm = 0x178
	.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
.LBB10_41:
	.cfi_def_cfa_offset 432
	movl	$.L.str.11, %edi
	jmp	.LBB10_97
.LBB10_96:
	movl	$.L.str.16, %edi
.LBB10_97:                              # %.sink.split
	movq	stderr(%rip), %rcx
	movl	$22, %esi
	movl	$1, %edx
	callq	fwrite@PLT
	movl	$1, %ebx
	jmp	.LBB10_98
.LBB10_59:
.Ltmp363:
	movq	%rax, %rbx
	movq	232(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_61
# %bb.60:
	callq	_ZdlPv
	jmp	.LBB10_61
.LBB10_58:
.Ltmp360:
	movq	%rax, %rbx
.LBB10_61:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit76
	movq	256(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_63
# %bb.62:
	callq	_ZdlPv
	jmp	.LBB10_63
.LBB10_57:
.Ltmp357:
	movq	%rax, %rbx
.LBB10_63:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit78
	movq	280(%rsp), %rdi
	jmp	.LBB10_54
.LBB10_51:
.Ltmp345:
	movq	%rax, %rbx
	movq	304(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_53
# %bb.52:
	callq	_ZdlPv
	jmp	.LBB10_53
.LBB10_50:
.Ltmp342:
	movq	%rax, %rbx
.LBB10_53:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit72
	movq	328(%rsp), %rdi
.LBB10_54:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit72
	testq	%rdi, %rdi
	je	.LBB10_117
# %bb.55:
	callq	_ZdlPv
	jmp	.LBB10_117
.LBB10_48:
.Ltmp318:
	movq	%rax, %rbx
	jmp	.LBB10_119
.LBB10_47:
.Ltmp315:
	movq	%rax, %rbx
	jmp	.LBB10_121
.LBB10_46:
.Ltmp312:
	movq	%rax, %rbx
	jmp	.LBB10_123
.LBB10_45:
.Ltmp309:
	movq	%rax, %rbx
	jmp	.LBB10_125
.LBB10_44:
.Ltmp306:
	movq	%rax, %rbx
	jmp	.LBB10_127
.LBB10_43:
.Ltmp303:
	movq	%rax, %rbx
	jmp	.LBB10_129
.LBB10_42:
.Ltmp300:
	movq	%rax, %rbx
	jmp	.LBB10_131
.LBB10_49:
.Ltmp327:
	jmp	.LBB10_116
.LBB10_115:
.Ltmp352:
	jmp	.LBB10_116
.LBB10_56:
.Ltmp417:
	jmp	.LBB10_116
.LBB10_134:
.Ltmp414:
.LBB10_116:
	movq	%rax, %rbx
.LBB10_117:
	movq	64(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_119
# %bb.118:
	callq	_ZdlPv
.LBB10_119:                             # %_ZNSt6vectorIfSaIfEED2Ev.exit108
	movq	88(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_121
# %bb.120:
	callq	_ZdlPv
.LBB10_121:                             # %_ZNSt6vectorIfSaIfEED2Ev.exit110
	movq	112(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_123
# %bb.122:
	callq	_ZdlPv
.LBB10_123:                             # %_ZNSt6vectorIfSaIfEED2Ev.exit112
	movq	136(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_125
# %bb.124:
	callq	_ZdlPv
.LBB10_125:                             # %_ZNSt6vectorIfSaIfEED2Ev.exit114
	movq	16(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_127
# %bb.126:
	callq	_ZdlPv
.LBB10_127:                             # %_ZNSt6vectorIfSaIfEED2Ev.exit116
	movq	160(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_129
# %bb.128:
	callq	_ZdlPv
.LBB10_129:                             # %_ZNSt6vectorIfSaIfEED2Ev.exit118
	movq	184(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_131
# %bb.130:
	callq	_ZdlPv
.LBB10_131:                             # %_ZNSt6vectorIfSaIfEED2Ev.exit120
	movq	208(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_133
# %bb.132:
	callq	_ZdlPv
.LBB10_133:                             # %_ZNSt6vectorIfSaIfEED2Ev.exit122
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end10:
	.size	main, .Lfunc_end10-main
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table10:
.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 .Ltmp298-.Lfunc_begin3         #   Call between .Lfunc_begin3 and .Ltmp298
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp298-.Lfunc_begin3         # >> Call Site 2 <<
	.uleb128 .Ltmp299-.Ltmp298              #   Call between .Ltmp298 and .Ltmp299
	.uleb128 .Ltmp300-.Lfunc_begin3         #     jumps to .Ltmp300
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp299-.Lfunc_begin3         # >> Call Site 3 <<
	.uleb128 .Ltmp301-.Ltmp299              #   Call between .Ltmp299 and .Ltmp301
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp301-.Lfunc_begin3         # >> Call Site 4 <<
	.uleb128 .Ltmp302-.Ltmp301              #   Call between .Ltmp301 and .Ltmp302
	.uleb128 .Ltmp303-.Lfunc_begin3         #     jumps to .Ltmp303
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp302-.Lfunc_begin3         # >> Call Site 5 <<
	.uleb128 .Ltmp304-.Ltmp302              #   Call between .Ltmp302 and .Ltmp304
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp304-.Lfunc_begin3         # >> Call Site 6 <<
	.uleb128 .Ltmp305-.Ltmp304              #   Call between .Ltmp304 and .Ltmp305
	.uleb128 .Ltmp306-.Lfunc_begin3         #     jumps to .Ltmp306
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp305-.Lfunc_begin3         # >> Call Site 7 <<
	.uleb128 .Ltmp307-.Ltmp305              #   Call between .Ltmp305 and .Ltmp307
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp307-.Lfunc_begin3         # >> Call Site 8 <<
	.uleb128 .Ltmp308-.Ltmp307              #   Call between .Ltmp307 and .Ltmp308
	.uleb128 .Ltmp309-.Lfunc_begin3         #     jumps to .Ltmp309
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp308-.Lfunc_begin3         # >> Call Site 9 <<
	.uleb128 .Ltmp310-.Ltmp308              #   Call between .Ltmp308 and .Ltmp310
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp310-.Lfunc_begin3         # >> Call Site 10 <<
	.uleb128 .Ltmp311-.Ltmp310              #   Call between .Ltmp310 and .Ltmp311
	.uleb128 .Ltmp312-.Lfunc_begin3         #     jumps to .Ltmp312
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp311-.Lfunc_begin3         # >> Call Site 11 <<
	.uleb128 .Ltmp313-.Ltmp311              #   Call between .Ltmp311 and .Ltmp313
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp313-.Lfunc_begin3         # >> Call Site 12 <<
	.uleb128 .Ltmp314-.Ltmp313              #   Call between .Ltmp313 and .Ltmp314
	.uleb128 .Ltmp315-.Lfunc_begin3         #     jumps to .Ltmp315
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp314-.Lfunc_begin3         # >> Call Site 13 <<
	.uleb128 .Ltmp316-.Ltmp314              #   Call between .Ltmp314 and .Ltmp316
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp316-.Lfunc_begin3         # >> Call Site 14 <<
	.uleb128 .Ltmp317-.Ltmp316              #   Call between .Ltmp316 and .Ltmp317
	.uleb128 .Ltmp318-.Lfunc_begin3         #     jumps to .Ltmp318
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp317-.Lfunc_begin3         # >> Call Site 15 <<
	.uleb128 .Ltmp319-.Ltmp317              #   Call between .Ltmp317 and .Ltmp319
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp319-.Lfunc_begin3         # >> Call Site 16 <<
	.uleb128 .Ltmp326-.Ltmp319              #   Call between .Ltmp319 and .Ltmp326
	.uleb128 .Ltmp327-.Lfunc_begin3         #     jumps to .Ltmp327
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp328-.Lfunc_begin3         # >> Call Site 17 <<
	.uleb128 .Ltmp339-.Ltmp328              #   Call between .Ltmp328 and .Ltmp339
	.uleb128 .Ltmp352-.Lfunc_begin3         #     jumps to .Ltmp352
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp340-.Lfunc_begin3         # >> Call Site 18 <<
	.uleb128 .Ltmp341-.Ltmp340              #   Call between .Ltmp340 and .Ltmp341
	.uleb128 .Ltmp342-.Lfunc_begin3         #     jumps to .Ltmp342
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp343-.Lfunc_begin3         # >> Call Site 19 <<
	.uleb128 .Ltmp344-.Ltmp343              #   Call between .Ltmp343 and .Ltmp344
	.uleb128 .Ltmp345-.Lfunc_begin3         #     jumps to .Ltmp345
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp346-.Lfunc_begin3         # >> Call Site 20 <<
	.uleb128 .Ltmp351-.Ltmp346              #   Call between .Ltmp346 and .Ltmp351
	.uleb128 .Ltmp352-.Lfunc_begin3         #     jumps to .Ltmp352
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp353-.Lfunc_begin3         # >> Call Site 21 <<
	.uleb128 .Ltmp354-.Ltmp353              #   Call between .Ltmp353 and .Ltmp354
	.uleb128 .Ltmp417-.Lfunc_begin3         #     jumps to .Ltmp417
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp355-.Lfunc_begin3         # >> Call Site 22 <<
	.uleb128 .Ltmp356-.Ltmp355              #   Call between .Ltmp355 and .Ltmp356
	.uleb128 .Ltmp357-.Lfunc_begin3         #     jumps to .Ltmp357
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp358-.Lfunc_begin3         # >> Call Site 23 <<
	.uleb128 .Ltmp359-.Ltmp358              #   Call between .Ltmp358 and .Ltmp359
	.uleb128 .Ltmp360-.Lfunc_begin3         #     jumps to .Ltmp360
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp361-.Lfunc_begin3         # >> Call Site 24 <<
	.uleb128 .Ltmp362-.Ltmp361              #   Call between .Ltmp361 and .Ltmp362
	.uleb128 .Ltmp363-.Lfunc_begin3         #     jumps to .Ltmp363
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp364-.Lfunc_begin3         # >> Call Site 25 <<
	.uleb128 .Ltmp399-.Ltmp364              #   Call between .Ltmp364 and .Ltmp399
	.uleb128 .Ltmp417-.Lfunc_begin3         #     jumps to .Ltmp417
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp400-.Lfunc_begin3         # >> Call Site 26 <<
	.uleb128 .Ltmp413-.Ltmp400              #   Call between .Ltmp400 and .Ltmp413
	.uleb128 .Ltmp414-.Lfunc_begin3         #     jumps to .Ltmp414
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp415-.Lfunc_begin3         # >> Call Site 27 <<
	.uleb128 .Ltmp416-.Ltmp415              #   Call between .Ltmp415 and .Ltmp416
	.uleb128 .Ltmp417-.Lfunc_begin3         #     jumps to .Ltmp417
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp416-.Lfunc_begin3         # >> Call Site 28 <<
	.uleb128 .Lfunc_end10-.Ltmp416          #   Call between .Ltmp416 and .Lfunc_end10
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end3:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorIfSaIfEEaSERKS1_,"axG",@progbits,_ZNSt6vectorIfSaIfEEaSERKS1_,comdat
	.weak	_ZNSt6vectorIfSaIfEEaSERKS1_    # -- Begin function _ZNSt6vectorIfSaIfEEaSERKS1_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIfSaIfEEaSERKS1_,@function
_ZNSt6vectorIfSaIfEEaSERKS1_:           # @_ZNSt6vectorIfSaIfEEaSERKS1_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdi, %rbx
	cmpq	%rdi, %rsi
	je	.LBB11_23
# %bb.1:
	movq	%rsi, %r12
	movq	(%rsi), %r15
	movq	8(%rsi), %r14
	subq	%r15, %r14
	movq	(%rbx), %rax
	movq	16(%rbx), %rcx
	subq	%rax, %rcx
	cmpq	%rcx, %r14
	jbe	.LBB11_9
# %bb.2:                                # %_ZNSt12_Vector_baseIfSaIfEE11_M_allocateEm.exit.i
	movq	%r14, %rsi
	sarq	$2, %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIfE8allocateEmPKv
	movq	%rax, %r12
	cmpq	$5, %r14
	jl	.LBB11_4
# %bb.3:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	memmove@PLT
.LBB11_6:                               # %_ZNSt6vectorIfSaIfEE20_M_allocate_and_copyIN9__gnu_cxx17__normal_iteratorIPKfS1_EEEEPfmT_S9_.exit
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB11_8
# %bb.7:
	callq	_ZdlPv
.LBB11_8:                               # %_ZNSt12_Vector_baseIfSaIfEE13_M_deallocateEPfm.exit
	movq	%r12, (%rbx)
	addq	%r14, %r12
	movq	%r12, 16(%rbx)
	jmp	.LBB11_22
.LBB11_9:
	movq	8(%rbx), %rdi
	movq	%rdi, %rdx
	subq	%rax, %rdx
	cmpq	%r14, %rdx
	jae	.LBB11_10
# %bb.14:
	cmpq	$5, %rdx
	jl	.LBB11_16
# %bb.15:
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	memmove@PLT
	movq	8(%rbx), %rdi
.LBB11_18:                              # %_ZSt4copyIPfS0_ET0_T_S2_S1_.exit
	movq	%rdi, %rsi
	subq	(%rbx), %rsi
	addq	(%r12), %rsi
	movq	8(%r12), %rdx
	subq	%rsi, %rdx
	cmpq	$5, %rdx
	jge	.LBB11_19
# %bb.20:
	cmpq	$4, %rdx
	jne	.LBB11_22
# %bb.21:
	movss	(%rsi), %xmm0                   # xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rdi)
	jmp	.LBB11_22
.LBB11_10:
	cmpq	$5, %r14
	jl	.LBB11_12
# %bb.11:
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
.LBB11_19:
	callq	memmove@PLT
.LBB11_22:                              # %_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPKfSt6vectorIfSaIfEEEENS1_IPfS6_EEET0_T_SB_SA_.exit
	addq	(%rbx), %r14
	movq	%r14, 8(%rbx)
.LBB11_23:
	movq	%rbx, %rax
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB11_4:
	.cfi_def_cfa_offset 48
	cmpq	$4, %r14
	jne	.LBB11_6
# %bb.5:
	movss	(%r15), %xmm0                   # xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%r12)
	jmp	.LBB11_6
.LBB11_16:
	cmpq	$4, %rdx
	jne	.LBB11_18
# %bb.17:
	movss	(%r15), %xmm0                   # xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rax)
	jmp	.LBB11_18
.LBB11_12:
	cmpq	$4, %r14
	jne	.LBB11_22
# %bb.13:
	movss	(%r15), %xmm0                   # xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rax)
	jmp	.LBB11_22
.Lfunc_end11:
	.size	_ZNSt6vectorIfSaIfEEaSERKS1_, .Lfunc_end11-_ZNSt6vectorIfSaIfEEaSERKS1_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorIfE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorIfE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorIfE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorIfE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorIfE8allocateEmPKv,@function
_ZNSt15__new_allocatorIfE8allocateEmPKv: # @_ZNSt15__new_allocatorIfE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$61, %rax
	jne	.LBB12_1
# %bb.3:
	shlq	$2, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB12_1:
	.cfi_def_cfa_offset 16
	shrq	$62, %rsi
	je	.LBB12_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB12_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end12:
	.size	_ZNSt15__new_allocatorIfE8allocateEmPKv, .Lfunc_end12-_ZNSt15__new_allocatorIfE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorIiE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorIiE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorIiE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorIiE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorIiE8allocateEmPKv,@function
_ZNSt15__new_allocatorIiE8allocateEmPKv: # @_ZNSt15__new_allocatorIiE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$61, %rax
	jne	.LBB13_1
# %bb.3:
	shlq	$2, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB13_1:
	.cfi_def_cfa_offset 16
	shrq	$62, %rsi
	je	.LBB13_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB13_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end13:
	.size	_ZNSt15__new_allocatorIiE8allocateEmPKv, .Lfunc_end13-_ZNSt15__new_allocatorIiE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.text
	.p2align	4, 0x90                         # -- Begin function __hip_module_ctor
	.type	__hip_module_ctor,@function
__hip_module_ctor:                      # @__hip_module_ctor
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -16
	movq	__hip_gpubin_handle(%rip), %rbx
	testq	%rbx, %rbx
	jne	.LBB14_2
# %bb.1:
	movl	$__hip_fatbin_wrapper, %edi
	callq	__hipRegisterFatBinary
	movq	%rax, %rbx
	movq	%rax, __hip_gpubin_handle(%rip)
.LBB14_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z10LU_tridiagPfS_S_S_ii, %esi
	movl	$.L__unnamed_1, %edx
	movl	$.L__unnamed_1, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z12partitioningPfS_S_S_S_S_S_S_Piiiii, %esi
	movl	$.L__unnamed_2, %edx
	movl	$.L__unnamed_2, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z18final_computationsPfS_S_S_S_Pii, %esi
	movl	$.L__unnamed_3, %edx
	movl	$.L__unnamed_3, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	movl	$__hip_module_dtor, %edi
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	atexit                          # TAILCALL
.Lfunc_end14:
	.size	__hip_module_ctor, .Lfunc_end14-__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	.LBB15_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
.LBB15_2:
	retq
.Lfunc_end15:
	.size	__hip_module_dtor, .Lfunc_end15-__hip_module_dtor
	.cfi_endproc
                                        # -- End function
	.type	_Z10LU_tridiagPfS_S_S_ii,@object # @_Z10LU_tridiagPfS_S_S_ii
	.section	.rodata,"a",@progbits
	.globl	_Z10LU_tridiagPfS_S_S_ii
	.p2align	3, 0x0
_Z10LU_tridiagPfS_S_S_ii:
	.quad	_Z25__device_stub__LU_tridiagPfS_S_S_ii
	.size	_Z10LU_tridiagPfS_S_S_ii, 8

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

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

	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	"Error \"%s\" at %s :%d \n"
	.size	.L.str, 23

	.type	.L.str.1,@object                # @.str.1
.L.str.1:
	.asciz	"/home/ubuntu/Datasets/stackv2/train-structured-repos-hip-sm89/martinj987/Tridiag_project/master/Tridiag_project/kernel.hip"
	.size	.L.str.1, 123

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

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

	.type	.L.str.4,@object                # @.str.4
.L.str.4:
	.asciz	"memcpy time: "
	.size	.L.str.4, 14

	.type	.L.str.5,@object                # @.str.5
.L.str.5:
	.asciz	"partit time: "
	.size	.L.str.5, 14

	.type	.L.str.6,@object                # @.str.6
.L.str.6:
	.asciz	"sequen time: "
	.size	.L.str.6, 14

	.type	.L.str.7,@object                # @.str.7
.L.str.7:
	.asciz	"fiinal time: "
	.size	.L.str.7, 14

	.type	.L.str.8,@object                # @.str.8
.L.str.8:
	.asciz	"rescpy time: "
	.size	.L.str.8, 14

	.type	.L.str.9,@object                # @.str.9
.L.str.9:
	.asciz	"sum time: "
	.size	.L.str.9, 11

	.type	.L.str.10,@object               # @.str.10
.L.str.10:
	.asciz	"============================"
	.size	.L.str.10, 29

	.type	.L.str.11,@object               # @.str.11
.L.str.11:
	.asciz	"GPU computing failed!\n"
	.size	.L.str.11, 23

	.type	.L.str.12,@object               # @.str.12
.L.str.12:
	.asciz	"CPU time: "
	.size	.L.str.12, 11

	.type	.L.str.13,@object               # @.str.13
.L.str.13:
	.asciz	"my GPU time: "
	.size	.L.str.13, 14

	.type	.L.str.14,@object               # @.str.14
.L.str.14:
	.asciz	"BACHA! rozdiel v "
	.size	.L.str.14, 18

	.type	.L.str.15,@object               # @.str.15
.L.str.15:
	.asciz	" je presne "
	.size	.L.str.15, 12

	.type	.L.str.16,@object               # @.str.16
.L.str.16:
	.asciz	"hipDeviceReset failed!"
	.size	.L.str.16, 23

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

	.type	.L__unnamed_1,@object           # @0
.L__unnamed_1:
	.asciz	"_Z10LU_tridiagPfS_S_S_ii"
	.size	.L__unnamed_1, 25

	.type	.L__unnamed_2,@object           # @1
.L__unnamed_2:
	.asciz	"_Z12partitioningPfS_S_S_S_S_S_S_Piiiii"
	.size	.L__unnamed_2, 39

	.type	.L__unnamed_3,@object           # @2
.L__unnamed_3:
	.asciz	"_Z18final_computationsPfS_S_S_S_Pii"
	.size	.L__unnamed_3, 36

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

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

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

	.text
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.protected	_Z10LU_tridiagPfS_S_S_ii ; -- Begin function _Z10LU_tridiagPfS_S_S_ii
	.globl	_Z10LU_tridiagPfS_S_S_ii
	.p2align	8
	.type	_Z10LU_tridiagPfS_S_S_ii,@function
_Z10LU_tridiagPfS_S_S_ii:               ; @_Z10LU_tridiagPfS_S_S_ii
; %bb.0:
	s_clause 0x1
	s_load_b64 s[8:9], s[0:1], 0x20
	s_load_b256 s[0:7], s[0:1], 0x0
	s_waitcnt lgkmcnt(0)
	s_add_i32 s16, s8, 1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_cmp_ge_i32 s16, s9
	s_cbranch_scc1 .LBB0_3
; %bb.1:                                ; %.lr.ph.preheader
	s_ashr_i32 s11, s8, 31
	s_mov_b32 s10, s8
	v_mov_b32_e32 v0, 0
	s_lshl_b64 s[12:13], s[10:11], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_add_u32 s17, s12, 4
	s_addc_u32 s18, s13, 0
	s_add_u32 s10, s6, s17
	s_addc_u32 s11, s7, s18
	s_add_u32 s12, s4, s12
	s_addc_u32 s13, s5, s13
	s_add_u32 s14, s2, s17
	s_addc_u32 s15, s3, s18
	s_add_u32 s0, s0, s17
	s_addc_u32 s1, s1, s18
.LBB0_2:                                ; %.lr.ph
                                        ; =>This Inner Loop Header: Depth=1
	s_clause 0x1
	global_load_b32 v1, v0, s[0:1]
	global_load_b32 v2, v0, s[14:15] offset:-4
	s_add_i32 s16, s16, 1
	s_waitcnt vmcnt(0)
	v_div_scale_f32 v3, null, v2, v2, v1
	v_div_scale_f32 v6, vcc_lo, v1, v2, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_rcp_f32_e32 v4, v3
	s_waitcnt_depctr 0xfff
	v_fma_f32 v5, -v3, v4, 1.0
	v_fmac_f32_e32 v4, v5, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v5, v6, v4
	v_fma_f32 v7, -v3, v5, v6
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v5, v7, v4
	v_fma_f32 v3, -v3, v5, v6
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_div_fmas_f32 v3, v3, v4, v5
	v_div_fixup_f32 v1, v3, v2, v1
	global_store_b32 v0, v1, s[0:1]
	s_clause 0x1
	global_load_b32 v2, v0, s[14:15]
	global_load_b32 v3, v0, s[12:13]
	s_waitcnt vmcnt(0)
	v_fma_f32 v1, -v1, v3, v2
	global_store_b32 v0, v1, s[14:15]
	s_clause 0x1
	global_load_b64 v[1:2], v0, s[10:11] offset:-4
	global_load_b32 v3, v0, s[0:1]
	s_waitcnt vmcnt(0)
	v_fma_f32 v1, -v3, v1, v2
	global_store_b32 v0, v1, s[10:11]
	s_add_u32 s10, s10, 4
	s_addc_u32 s11, s11, 0
	s_add_u32 s12, s12, 4
	s_addc_u32 s13, s13, 0
	s_add_u32 s14, s14, 4
	s_addc_u32 s15, s15, 0
	s_add_u32 s0, s0, 4
	s_addc_u32 s1, s1, 0
	s_cmp_ge_i32 s16, s9
	s_cbranch_scc0 .LBB0_2
.LBB0_3:                                ; %._crit_edge
	s_ashr_i32 s1, s9, 31
	s_mov_b32 s0, s9
	v_mov_b32_e32 v0, 0
	s_lshl_b64 s[0:1], s[0:1], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_add_u32 s10, s6, s0
	s_addc_u32 s11, s7, s1
	s_add_u32 s0, s2, s0
	s_addc_u32 s1, s3, s1
	s_clause 0x1
	global_load_b32 v1, v0, s[10:11] offset:-4
	global_load_b32 v2, v0, s[0:1] offset:-4
	s_add_i32 s0, s9, -2
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	s_cmp_lt_i32 s0, s8
	s_waitcnt vmcnt(0)
	v_div_scale_f32 v3, null, v2, v2, v1
	v_rcp_f32_e32 v4, v3
	s_waitcnt_depctr 0xfff
	v_fma_f32 v5, -v3, v4, 1.0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v4, v5, v4
	v_div_scale_f32 v5, vcc_lo, v1, v2, v1
	v_mul_f32_e32 v6, v5, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v7, -v3, v6, v5
	v_fmac_f32_e32 v6, v7, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v3, -v3, v6, v5
	v_div_fmas_f32 v3, v3, v4, v6
	s_delay_alu instid0(VALU_DEP_1)
	v_div_fixup_f32 v1, v3, v2, v1
	global_store_b32 v0, v1, s[10:11] offset:-4
	s_cbranch_scc1 .LBB0_6
; %bb.4:                                ; %.lr.ph57.preheader
	s_ashr_i32 s1, s0, 31
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_lshl_b64 s[10:11], s[0:1], 2
	s_add_u32 s0, s6, s10
	s_addc_u32 s1, s7, s11
	s_add_i32 s6, s9, -1
	global_load_b32 v1, v0, s[0:1] offset:4
	s_add_u32 s4, s4, s10
	s_addc_u32 s5, s5, s11
	s_add_u32 s2, s2, s10
	s_addc_u32 s3, s3, s11
.LBB0_5:                                ; %.lr.ph57
                                        ; =>This Inner Loop Header: Depth=1
	s_clause 0x2
	global_load_b32 v2, v0, s[0:1]
	global_load_b32 v3, v0, s[4:5]
	global_load_b32 v4, v0, s[2:3]
	s_add_i32 s6, s6, -1
	s_waitcnt vmcnt(1)
	v_fma_f32 v1, -v3, v1, v2
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_div_scale_f32 v2, null, v4, v4, v1
	v_div_scale_f32 v6, vcc_lo, v1, v4, v1
	v_rcp_f32_e32 v3, v2
	s_waitcnt_depctr 0xfff
	v_fma_f32 v5, -v2, v3, 1.0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v3, v5, v3
	v_mul_f32_e32 v5, v6, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v7, -v2, v5, v6
	v_fmac_f32_e32 v5, v7, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v2, -v2, v5, v6
	v_div_fmas_f32 v2, v2, v3, v5
	s_delay_alu instid0(VALU_DEP_1)
	v_div_fixup_f32 v1, v2, v4, v1
	global_store_b32 v0, v1, s[0:1]
	s_add_u32 s0, s0, -4
	s_addc_u32 s1, s1, -1
	s_add_u32 s4, s4, -4
	s_addc_u32 s5, s5, -1
	s_add_u32 s2, s2, -4
	s_addc_u32 s3, s3, -1
	s_cmp_le_i32 s6, s8
	s_cbranch_scc0 .LBB0_5
.LBB0_6:                                ; %._crit_edge58
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z10LU_tridiagPfS_S_S_ii
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 40
		.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 8
		.amdhsa_next_free_sgpr 19
		.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	_Z10LU_tridiagPfS_S_S_ii, .Lfunc_end0-_Z10LU_tridiagPfS_S_S_ii
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 768
; NumSgprs: 21
; NumVgprs: 8
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 21
; NumVGPRsForWavesPerEU: 8
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z12partitioningPfS_S_S_S_S_S_S_Piiiii ; -- Begin function _Z12partitioningPfS_S_S_S_S_S_S_Piiiii
	.globl	_Z12partitioningPfS_S_S_S_S_S_S_Piiiii
	.p2align	8
	.type	_Z12partitioningPfS_S_S_S_S_S_S_Piiiii,@function
_Z12partitioningPfS_S_S_S_S_S_S_Piiiii: ; @_Z12partitioningPfS_S_S_S_S_S_S_Piiiii
; %bb.0:
	s_clause 0x1
	s_load_b32 s4, s[0:1], 0x64
	s_load_b64 s[2:3], s[0:1], 0x50
	s_waitcnt lgkmcnt(0)
	s_and_b32 s4, s4, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s15, s4, v[0:1]
	s_mov_b32 s4, exec_lo
	v_lshlrev_b32_e32 v10, 1, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_or_b32_e32 v0, 1, v10
	v_cmpx_gt_i32_e64 s2, v0
	s_cbranch_execz .LBB1_10
; %bb.1:
	s_clause 0x2
	s_load_b32 s20, s[0:1], 0x48
	s_load_b512 s[4:19], s[0:1], 0x0
	s_load_b64 s[0:1], s[0:1], 0x40
	s_add_i32 s2, s2, -2
	v_ashrrev_i32_e32 v11, 31, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[16:17], 2, v[10:11]
	s_waitcnt lgkmcnt(0)
	v_mul_lo_u32 v12, v1, s20
	v_ashrrev_i32_e32 v13, 31, v12
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[0:1], 2, v[12:13]
	v_add_co_u32 v2, vcc_lo, s4, v0
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v3, vcc_lo, s5, v1, vcc_lo
	v_add_co_u32 v4, vcc_lo, s6, v0
	v_add_co_ci_u32_e32 v5, vcc_lo, s7, v1, vcc_lo
	v_add_co_u32 v6, vcc_lo, s8, v0
	v_add_co_ci_u32_e32 v7, vcc_lo, s9, v1, vcc_lo
	v_add_co_u32 v8, vcc_lo, s10, v0
	v_add_co_ci_u32_e32 v9, vcc_lo, s11, v1, vcc_lo
	global_load_b32 v23, v[2:3], off offset:4
	global_load_b32 v25, v[4:5], off offset:4
	global_load_b32 v24, v[6:7], off offset:4
	global_load_b32 v22, v[8:9], off offset:4
	v_cmp_eq_u32_e32 vcc_lo, s2, v10
	v_cndmask_b32_e64 v13, 0, s3, vcc_lo
	v_add_co_u32 v10, vcc_lo, s0, v16
	v_add_co_ci_u32_e32 v11, vcc_lo, s1, v17, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_nc_u32_e32 v18, s20, v13
	s_mov_b32 s3, 0
	v_add3_u32 v13, v18, v12, -1
	v_cmp_lt_i32_e64 s0, 2, v18
	v_add_nc_u32_e32 v21, -2, v18
	global_store_b64 v[10:11], v[12:13], off
	s_and_saveexec_b32 s2, s0
	s_cbranch_execz .LBB1_5
; %bb.2:                                ; %.lr.ph.preheader
	v_add_co_u32 v19, vcc_lo, v0, 8
	v_add_co_ci_u32_e32 v20, vcc_lo, 0, v1, vcc_lo
	v_add_nc_u32_e32 v26, -2, v18
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v10, vcc_lo, s8, v19
	v_add_co_ci_u32_e32 v11, vcc_lo, s9, v20, vcc_lo
	v_add_co_u32 v12, vcc_lo, s6, v19
	v_add_co_ci_u32_e32 v13, vcc_lo, s7, v20, vcc_lo
	v_add_co_u32 v14, vcc_lo, s10, v19
	v_add_co_ci_u32_e32 v15, vcc_lo, s11, v20, vcc_lo
	v_add_co_u32 v19, vcc_lo, s4, v19
	v_add_co_ci_u32_e32 v20, vcc_lo, s5, v20, vcc_lo
.LBB1_3:                                ; %.lr.ph
                                        ; =>This Inner Loop Header: Depth=1
	global_load_b32 v27, v[19:20], off
	global_load_b32 v28, v[14:15], off
	global_load_b32 v29, v[12:13], off
	global_load_b32 v30, v[10:11], off
	v_add_co_u32 v10, vcc_lo, v10, 4
	v_add_co_ci_u32_e32 v11, vcc_lo, 0, v11, vcc_lo
	v_add_co_u32 v12, s1, v12, 4
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e64 v13, s1, 0, v13, s1
	v_add_co_u32 v14, s1, v14, 4
	v_add_co_ci_u32_e64 v15, s1, 0, v15, s1
	v_add_nc_u32_e32 v26, -1, v26
	s_waitcnt vmcnt(3)
	v_div_scale_f32 v31, null, v27, v27, v25
	v_div_scale_f32 v34, vcc_lo, v25, v27, v25
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_rcp_f32_e32 v32, v31
	s_waitcnt_depctr 0xfff
	v_fma_f32 v33, -v31, v32, 1.0
	v_fmac_f32_e32 v32, v33, v32
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v33, v34, v32
	v_fma_f32 v35, -v31, v33, v34
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v33, v35, v32
	v_fma_f32 v31, -v31, v33, v34
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_div_fmas_f32 v31, v31, v32, v33
	v_add_co_u32 v19, vcc_lo, v19, 4
	v_add_co_ci_u32_e32 v20, vcc_lo, 0, v20, vcc_lo
	v_div_fixup_f32 v27, v31, v27, v25
	v_cmp_eq_u32_e32 vcc_lo, 0, v26
	s_waitcnt vmcnt(2)
	s_delay_alu instid0(VALU_DEP_2)
	v_fma_f32 v22, -v27, v28, v22
	s_waitcnt vmcnt(1)
	v_fma_f32 v25, -v27, v29, v24
	s_waitcnt vmcnt(0)
	v_mul_f32_e64 v24, v30, -v27
	s_or_b32 s3, vcc_lo, s3
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_not1_b32 exec_lo, exec_lo, s3
	s_cbranch_execnz .LBB1_3
; %bb.4:                                ; %Flow226
	s_or_b32 exec_lo, exec_lo, s3
.LBB1_5:                                ; %Flow227
	s_delay_alu instid0(SALU_CYCLE_1)
	s_or_b32 exec_lo, exec_lo, s2
	v_add_co_u32 v10, vcc_lo, s12, v16
	v_ashrrev_i32_e32 v19, 31, v18
	v_add_co_ci_u32_e32 v11, vcc_lo, s13, v17, vcc_lo
	v_add_co_u32 v12, vcc_lo, s14, v16
	v_add_co_ci_u32_e32 v13, vcc_lo, s15, v17, vcc_lo
	v_add_co_u32 v14, vcc_lo, s16, v16
	v_lshlrev_b64 v[18:19], 2, v[18:19]
	v_add_co_ci_u32_e32 v15, vcc_lo, s17, v17, vcc_lo
	v_add_co_u32 v16, vcc_lo, s18, v16
	v_add_co_ci_u32_e32 v17, vcc_lo, s19, v17, vcc_lo
	s_delay_alu instid0(VALU_DEP_4)
	v_add_co_u32 v2, vcc_lo, v2, v18
	v_add_co_ci_u32_e32 v3, vcc_lo, v3, v19, vcc_lo
	v_add_co_u32 v4, vcc_lo, v4, v18
	v_add_co_ci_u32_e32 v5, vcc_lo, v5, v19, vcc_lo
	v_add_co_u32 v6, vcc_lo, v6, v18
	v_add_co_ci_u32_e32 v7, vcc_lo, v7, v19, vcc_lo
	s_waitcnt vmcnt(3)
	global_store_b32 v[10:11], v23, off offset:4
	s_waitcnt vmcnt(2)
	global_store_b32 v[12:13], v25, off offset:4
	s_waitcnt vmcnt(1)
	global_store_b32 v[14:15], v24, off offset:4
	v_add_co_u32 v23, vcc_lo, v8, v18
	v_add_co_ci_u32_e32 v24, vcc_lo, v9, v19, vcc_lo
	s_waitcnt vmcnt(0)
	global_store_b32 v[16:17], v22, off offset:4
	global_load_b32 v9, v[2:3], off offset:-8
	global_load_b32 v22, v[4:5], off offset:-8
	global_load_b32 v8, v[6:7], off offset:-8
	global_load_b32 v20, v[23:24], off offset:-8
	s_and_saveexec_b32 s1, s0
	s_cbranch_execz .LBB1_9
; %bb.6:                                ; %.lr.ph132.preheader
	v_add_co_u32 v0, vcc_lo, v18, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, v19, v1, vcc_lo
	s_mov_b32 s2, 0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v6, vcc_lo, v0, -12
	v_add_co_ci_u32_e32 v7, vcc_lo, -1, v1, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v0, vcc_lo, s4, v6
	v_add_co_ci_u32_e32 v1, vcc_lo, s5, v7, vcc_lo
	v_add_co_u32 v2, vcc_lo, s6, v6
	v_add_co_ci_u32_e32 v3, vcc_lo, s7, v7, vcc_lo
	v_add_co_u32 v4, vcc_lo, s10, v6
	v_add_co_ci_u32_e32 v5, vcc_lo, s11, v7, vcc_lo
	v_add_co_u32 v6, vcc_lo, s8, v6
	v_add_co_ci_u32_e32 v7, vcc_lo, s9, v7, vcc_lo
.LBB1_7:                                ; %.lr.ph132
                                        ; =>This Inner Loop Header: Depth=1
	global_load_b32 v18, v[6:7], off
	global_load_b32 v19, v[4:5], off
	global_load_b32 v23, v[2:3], off
	global_load_b32 v24, v[0:1], off
	v_add_co_u32 v0, vcc_lo, v0, -4
	v_add_co_ci_u32_e32 v1, vcc_lo, -1, v1, vcc_lo
	v_add_co_u32 v2, s0, v2, -4
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e64 v3, s0, -1, v3, s0
	v_add_co_u32 v4, s0, v4, -4
	v_add_co_ci_u32_e64 v5, s0, -1, v5, s0
	v_add_nc_u32_e32 v21, -1, v21
	s_waitcnt vmcnt(3)
	v_div_scale_f32 v25, null, v18, v18, v22
	v_div_scale_f32 v28, vcc_lo, v22, v18, v22
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_rcp_f32_e32 v26, v25
	s_waitcnt_depctr 0xfff
	v_fma_f32 v27, -v25, v26, 1.0
	v_fmac_f32_e32 v26, v27, v26
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v27, v28, v26
	v_fma_f32 v29, -v25, v27, v28
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v27, v29, v26
	v_fma_f32 v25, -v25, v27, v28
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_div_fmas_f32 v25, v25, v26, v27
	v_add_co_u32 v6, vcc_lo, v6, -4
	v_add_co_ci_u32_e32 v7, vcc_lo, -1, v7, vcc_lo
	v_div_fixup_f32 v18, v25, v18, v22
	v_cmp_eq_u32_e32 vcc_lo, 0, v21
	s_waitcnt vmcnt(2)
	s_delay_alu instid0(VALU_DEP_2)
	v_fma_f32 v20, -v18, v19, v20
	s_waitcnt vmcnt(1)
	v_fma_f32 v22, -v18, v23, v9
	s_waitcnt vmcnt(0)
	v_mul_f32_e64 v9, v24, -v18
	s_or_b32 s2, vcc_lo, s2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_not1_b32 exec_lo, exec_lo, s2
	s_cbranch_execnz .LBB1_7
; %bb.8:                                ; %Flow
	s_or_b32 exec_lo, exec_lo, s2
.LBB1_9:                                ; %Flow225
	s_delay_alu instid0(SALU_CYCLE_1)
	s_or_b32 exec_lo, exec_lo, s1
	s_waitcnt vmcnt(3)
	global_store_b32 v[10:11], v9, off
	s_waitcnt vmcnt(2)
	global_store_b32 v[12:13], v22, off
	s_waitcnt vmcnt(1)
	global_store_b32 v[14:15], v8, off
	s_waitcnt vmcnt(0)
	global_store_b32 v[16:17], v20, off
.LBB1_10:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z12partitioningPfS_S_S_S_S_S_S_Piiiii
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 344
		.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 36
		.amdhsa_next_free_sgpr 21
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end1:
	.size	_Z12partitioningPfS_S_S_S_S_S_S_Piiiii, .Lfunc_end1-_Z12partitioningPfS_S_S_S_S_S_S_Piiiii
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1244
; NumSgprs: 23
; NumVgprs: 36
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 4
; NumSGPRsForWavesPerEU: 23
; NumVGPRsForWavesPerEU: 36
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z18final_computationsPfS_S_S_S_Pii ; -- Begin function _Z18final_computationsPfS_S_S_S_Pii
	.globl	_Z18final_computationsPfS_S_S_S_Pii
	.p2align	8
	.type	_Z18final_computationsPfS_S_S_S_Pii,@function
_Z18final_computationsPfS_S_S_S_Pii:    ; @_Z18final_computationsPfS_S_S_S_Pii
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x44
	s_load_b32 s3, s[0:1], 0x30
	s_waitcnt lgkmcnt(0)
	s_and_b32 s2, s2, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	s_mul_i32 s15, s15, s2
	s_mov_b32 s2, exec_lo
	v_add_lshl_u32 v0, s15, v0, 1
	v_cmpx_gt_i32_e64 s3, v0
	s_cbranch_execz .LBB2_8
; %bb.1:
	s_load_b128 s[4:7], s[0:1], 0x20
	v_ashrrev_i32_e32 v1, 31, v0
	s_mov_b32 s8, exec_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[2:3], 2, v[0:1]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v0, vcc_lo, s6, v2
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v1, vcc_lo, s7, v3, vcc_lo
	v_add_co_u32 v11, vcc_lo, s4, v2
	v_add_co_ci_u32_e32 v12, vcc_lo, s5, v3, vcc_lo
	global_load_b64 v[0:1], v[0:1], off
	s_load_b256 s[0:7], s[0:1], 0x0
	global_load_b32 v2, v[11:12], off
	s_waitcnt vmcnt(1)
	v_ashrrev_i32_e32 v5, 31, v0
	v_mov_b32_e32 v4, v0
	v_ashrrev_i32_e32 v3, 31, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[9:10], 2, v[4:5]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v13, vcc_lo, s6, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_4) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e32 v14, vcc_lo, s7, v10, vcc_lo
	s_waitcnt vmcnt(0)
	global_store_b32 v[13:14], v2, off
	global_load_b32 v17, v[11:12], off offset:4
	v_mov_b32_e32 v2, v1
	v_lshlrev_b64 v[7:8], 2, v[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v5, vcc_lo, s6, v7
	v_add_co_ci_u32_e32 v6, vcc_lo, s7, v8, vcc_lo
	v_add_co_u32 v15, vcc_lo, s0, v9
	v_add_co_ci_u32_e32 v16, vcc_lo, s1, v10, vcc_lo
	s_waitcnt vmcnt(0)
	global_store_b32 v[5:6], v17, off
	global_load_b32 v3, v[15:16], off offset:4
	global_load_b32 v15, v[11:12], off
	global_load_b32 v16, v[13:14], off offset:4
	s_waitcnt vmcnt(0)
	v_fma_f32 v3, -v3, v15, v16
	v_add_co_u32 v15, vcc_lo, s4, v7
	v_add_co_ci_u32_e32 v16, vcc_lo, s5, v8, vcc_lo
	global_store_b32 v[13:14], v3, off offset:4
	v_add_nc_u32_e32 v3, 2, v0
	global_load_b32 v13, v[15:16], off offset:-4
	global_load_b32 v11, v[11:12], off offset:4
	global_load_b32 v12, v[5:6], off offset:-4
	s_waitcnt vmcnt(0)
	v_fma_f32 v11, -v13, v11, v12
	global_store_b32 v[5:6], v11, off offset:-4
	v_cmpx_lt_i32_e64 v3, v1
	s_cbranch_execz .LBB2_5
; %bb.2:                                ; %.lr.ph.i.preheader
	s_add_u32 s11, s4, 4
	s_addc_u32 s12, s5, 0
	s_add_u32 s13, s0, 8
	s_mov_b32 s9, s2
	s_mov_b32 s10, s3
	s_addc_u32 s14, s1, 0
	s_mov_b32 s15, 0
	s_mov_b64 s[0:1], s[6:7]
.LBB2_3:                                ; %.lr.ph.i
                                        ; =>This Inner Loop Header: Depth=1
	v_add_co_u32 v11, vcc_lo, s13, v9
	v_add_co_ci_u32_e32 v12, vcc_lo, s14, v10, vcc_lo
	v_add_co_u32 v13, vcc_lo, s9, v9
	v_add_co_ci_u32_e32 v14, vcc_lo, s10, v10, vcc_lo
	s_add_u32 s9, s9, 4
	global_load_b32 v1, v[11:12], off
	global_load_b32 v16, v[13:14], off offset:4
	s_addc_u32 s10, s10, 0
	v_add_nc_u32_e32 v3, 1, v3
	s_waitcnt vmcnt(0)
	v_div_scale_f32 v15, null, v16, v16, v1
	v_div_scale_f32 v19, vcc_lo, v1, v16, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_rcp_f32_e32 v17, v15
	s_waitcnt_depctr 0xfff
	v_fma_f32 v18, -v15, v17, 1.0
	v_fmac_f32_e32 v17, v18, v17
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v18, v19, v17
	v_fma_f32 v20, -v15, v18, v19
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v18, v20, v17
	v_fma_f32 v15, -v15, v18, v19
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_2)
	v_div_fmas_f32 v17, v15, v17, v18
	v_add_co_u32 v15, vcc_lo, s11, v9
	s_add_u32 s11, s11, 4
	v_div_fixup_f32 v1, v17, v16, v1
	v_add_co_ci_u32_e32 v16, vcc_lo, s12, v10, vcc_lo
	s_addc_u32 s12, s12, 0
	global_store_b32 v[11:12], v1, off
	global_load_b32 v17, v[13:14], off offset:8
	global_load_b32 v16, v[15:16], off
	v_add_co_u32 v15, vcc_lo, s0, v9
	s_add_u32 s0, s0, 4
	s_waitcnt vmcnt(0)
	v_fma_f32 v1, -v1, v16, v17
	v_add_co_ci_u32_e32 v16, vcc_lo, s1, v10, vcc_lo
	v_cmp_ge_i32_e32 vcc_lo, v3, v2
	s_addc_u32 s1, s1, 0
	global_store_b32 v[13:14], v1, off offset:8
	global_load_b64 v[13:14], v[15:16], off offset:4
	global_load_b32 v1, v[11:12], off
	s_add_u32 s13, s13, 4
	s_addc_u32 s14, s14, 0
	s_or_b32 s15, vcc_lo, s15
	s_waitcnt vmcnt(0)
	v_fma_f32 v1, -v1, v13, v14
	global_store_b32 v[15:16], v1, off offset:8
	s_and_not1_b32 exec_lo, exec_lo, s15
	s_cbranch_execnz .LBB2_3
; %bb.4:                                ; %._crit_edge.i.loopexit
	s_or_b32 exec_lo, exec_lo, s15
	global_load_b32 v11, v[5:6], off offset:-4
.LBB2_5:                                ; %Flow88
	s_or_b32 exec_lo, exec_lo, s8
	v_add_co_u32 v7, vcc_lo, s2, v7
	v_add_co_ci_u32_e32 v8, vcc_lo, s3, v8, vcc_lo
	global_load_b32 v1, v[7:8], off offset:-4
	s_waitcnt vmcnt(0)
	v_div_scale_f32 v3, null, v1, v1, v11
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_rcp_f32_e32 v7, v3
	s_waitcnt_depctr 0xfff
	v_fma_f32 v8, -v3, v7, 1.0
	v_fmac_f32_e32 v7, v8, v7
	v_div_scale_f32 v8, vcc_lo, v11, v1, v11
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v9, v8, v7
	v_fma_f32 v10, -v3, v9, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v9, v10, v7
	v_fma_f32 v3, -v3, v9, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_div_fmas_f32 v7, v3, v7, v9
	v_add_nc_u32_e32 v3, -2, v2
	v_div_fixup_f32 v1, v7, v1, v11
	s_delay_alu instid0(VALU_DEP_2)
	v_cmp_gt_i32_e32 vcc_lo, v3, v4
	global_store_b32 v[5:6], v1, off offset:-4
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB2_8
; %bb.6:                                ; %.lr.ph53.i.preheader
	v_ashrrev_i32_e32 v4, 31, v3
	v_add_nc_u32_e32 v7, 1, v0
	v_add_nc_u32_e32 v2, -1, v2
	s_mov_b32 s1, 0
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[5:6], 2, v[3:4]
	v_add_co_u32 v3, vcc_lo, s6, v5
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v4, vcc_lo, s7, v6, vcc_lo
	v_add_co_u32 v0, vcc_lo, s4, v5
	v_add_co_ci_u32_e32 v1, vcc_lo, s5, v6, vcc_lo
	global_load_b32 v8, v[3:4], off offset:4
	v_add_co_u32 v5, vcc_lo, s2, v5
	v_add_co_ci_u32_e32 v6, vcc_lo, s3, v6, vcc_lo
.LBB2_7:                                ; %.lr.ph53.i
                                        ; =>This Inner Loop Header: Depth=1
	global_load_b32 v9, v[3:4], off
	global_load_b32 v10, v[0:1], off
	global_load_b32 v11, v[5:6], off
	v_add_nc_u32_e32 v2, -1, v2
	s_waitcnt vmcnt(1)
	v_fma_f32 v8, -v10, v8, v9
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_div_scale_f32 v9, null, v11, v11, v8
	v_div_scale_f32 v13, vcc_lo, v8, v11, v8
	v_rcp_f32_e32 v10, v9
	s_waitcnt_depctr 0xfff
	v_fma_f32 v12, -v9, v10, 1.0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v10, v12, v10
	v_mul_f32_e32 v12, v13, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v14, -v9, v12, v13
	v_fmac_f32_e32 v12, v14, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v9, -v9, v12, v13
	v_div_fmas_f32 v9, v9, v10, v12
	v_add_co_u32 v0, vcc_lo, v0, -4
	v_add_co_ci_u32_e32 v1, vcc_lo, -1, v1, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_3) | instid1(VALU_DEP_1)
	v_div_fixup_f32 v8, v9, v11, v8
	v_cmp_le_i32_e32 vcc_lo, v2, v7
	global_store_b32 v[3:4], v8, off
	v_add_co_u32 v3, s0, v3, -4
	v_add_co_ci_u32_e64 v4, s0, -1, v4, s0
	v_add_co_u32 v5, s0, v5, -4
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(SALU_CYCLE_1)
	v_add_co_ci_u32_e64 v6, s0, -1, v6, s0
	s_or_b32 s1, vcc_lo, s1
	s_and_not1_b32 exec_lo, exec_lo, s1
	s_cbranch_execnz .LBB2_7
.LBB2_8:                                ; %_Z17LU_tridiag_devicePfS_S_S_ii.exit
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z18final_computationsPfS_S_S_S_Pii
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 312
		.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 21
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end2:
	.size	_Z18final_computationsPfS_S_S_S_Pii, .Lfunc_end2-_Z18final_computationsPfS_S_S_S_Pii
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1168
; NumSgprs: 18
; NumVgprs: 21
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 2
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 21
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.p2alignl 7, 3214868480
	.fill 96, 4, 3214868480
	.type	__hip_cuid_,@object             ; @__hip_cuid_
	.section	.bss,"aw",@nobits
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               ; 0x0
	.size	__hip_cuid_, 1

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym __hip_cuid_
	.amdgpu_metadata
---
amdhsa.kernels:
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .offset:         32
        .size:           4
        .value_kind:     by_value
      - .offset:         36
        .size:           4
        .value_kind:     by_value
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 40
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z10LU_tridiagPfS_S_S_ii
    .private_segment_fixed_size: 0
    .sgpr_count:     21
    .sgpr_spill_count: 0
    .symbol:         _Z10LU_tridiagPfS_S_S_ii.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     8
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         32
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         40
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         48
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         56
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         64
        .size:           8
        .value_kind:     global_buffer
      - .offset:         72
        .size:           4
        .value_kind:     by_value
      - .offset:         76
        .size:           4
        .value_kind:     by_value
      - .offset:         80
        .size:           4
        .value_kind:     by_value
      - .offset:         84
        .size:           4
        .value_kind:     by_value
      - .offset:         88
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         92
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         96
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         100
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         102
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         104
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         106
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         108
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         110
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         128
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         136
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         144
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         152
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 344
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z12partitioningPfS_S_S_S_S_S_S_Piiiii
    .private_segment_fixed_size: 0
    .sgpr_count:     23
    .sgpr_spill_count: 0
    .symbol:         _Z12partitioningPfS_S_S_S_S_S_S_Piiiii.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     36
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         32
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         40
        .size:           8
        .value_kind:     global_buffer
      - .offset:         48
        .size:           4
        .value_kind:     by_value
      - .offset:         56
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         60
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         64
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         68
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         70
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         72
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         74
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         76
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         78
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         96
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         104
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         112
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         120
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 312
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z18final_computationsPfS_S_S_S_Pii
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z18final_computationsPfS_S_S_S_Pii.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     21
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
amdhsa.target:   amdgcn-amd-amdhsa--gfx1100
amdhsa.version:
  - 1
  - 2
...

	.end_amdgpu_metadata
