#include <cstdio>
#include <string>
#include <cassert>
#include <iostream>
#include <cstddef>
#include <vector>


#define uint8_t  unsigned char
#define uint16_t unsigned short
#define uint32_t unsigned int
#define uint64_t unsigned long long

using namespace std;
//
// DEFAULt functions for work with cuda
//

#define CSC(call) do { \
	cudaError_t res = call;	\
	if (res != cudaSuccess) { \
		fprintf(stderr, "CUDA Error in %s:%d: %s\n", __FILE__, __LINE__, cudaGetErrorString(res)); \
		exit(0); \
	} \
} while (0)


cudaEvent_t start, stop;
float t;

void time_start() {
	CSC(cudaEventCreate(&start));
	CSC(cudaEventCreate(&stop));
	CSC(cudaEventRecord(start, 0));
}

void time_end() {
	CSC(cudaGetLastError());
	CSC(cudaEventRecord(stop, 0));
	CSC(cudaEventSynchronize(stop));
	CSC(cudaEventElapsedTime(&t, start, stop));	
	printf("time = %f\n", t);
	CSC(cudaEventDestroy(start));
	CSC(cudaEventDestroy(stop));
}

double minor3x3(double m[3][3], int i, int j) {
	double arr[4];
	int len = 0;
	for (int row = 0; row < 3; row++) {
		for (int col = 0; col < 3; col++) {
			if (col == j || row == i) continue;
			arr[len++] = m[row][col];
		}
	}
	return arr[0] * arr[3] - arr[1] * arr[2];
}

double cof3x3(double m[3][3], int i, int j) {
    double mr = minor3x3(m, i, j);
    if ((i+j) % 2 == 1)
        mr *= -1;
    return mr;
}

double det3x3(double m[3][3]) {
	double res = 0;
	for (int col = 0; col < 3; col++) {
		res += m[0][col] * cof3x3(m, 0, col);
	}
	return res;
}

class IMG {
public:
	uint32_t w;
    uint32_t h;
    uint64_t size;
	uchar4 *data;

	IMG() : w(0), h(0), size(0), data(NULL) {}

	IMG(string path) {
		FILE *fin = fopen(path.c_str(), "rb");
		if (!fin) {
            cout << "Wrong file name " << path << "!\n";
			return;
		}
		fread(&w, sizeof(uint32_t), 1, fin);
		fread(&h, sizeof(uint32_t), 1, fin);
        size = w * h;
		data = new uchar4[size];
		fread(data, sizeof(uchar4), size, fin);
		fclose(fin);
	}
	~IMG() {
		if (data != NULL) {
			delete[] data;
		}
	}

	void toFile(string path) {
		FILE *fout = fopen(path.c_str(), "wb");
		if (!fout) {
            cout << "Wrong file name " << path << "!\n";
			return;
		}
		fwrite(&w, sizeof(uint32_t), 1, fout);
		fwrite(&h, sizeof(uint32_t), 1, fout);
		fwrite(data, sizeof(uchar4), size, fout);
		fclose(fout);
	}
};

//
// main programm
//



#define pixel uchar4
#define p(x, y) data[y*w + x]

vector<vector<pixel> > cls;
__constant__ double GPU_AVG[50][3];
__constant__ double GPU_INVERT_COV[50][3][3];


__device__ double mahalanobis(const pixel p, int ci) {
	double v[3] = {p.x - GPU_AVG[ci][0], 
                   p.y - GPU_AVG[ci][1], 
                   p.z - GPU_AVG[ci][2] 
                  };
	double tmp[3] = {0, 0, 0}, res = 0;
	for (int i = 0; i < 3; ++i) {
		for (int j = 0; j < 3; ++j) {
			tmp[i] += v[j] * GPU_INVERT_COV[ci][j][i];
		}
        res -= tmp[i] * v[i];
	}
	return res;
}

__device__ void classify(pixel &p, int cnum) {
	double mx = mahalanobis(p, 0);
	p.w = 0;
	for (char ci = 1; ci < cnum; ++ci) {
		double tmp = mahalanobis(p, ci);
		if (tmp > mx) {
			mx = tmp;
			p.w = ci;
		}
	}
}

__global__ void kernel(uchar4 *data, uint32_t w, uint32_t h, int cnum) {
	int idx = blockDim.x * blockIdx.x + threadIdx.x;
	int idy = blockDim.y * blockIdx.y + threadIdx.y;
	int offsetx = blockDim.x * gridDim.x;
	int offsety = blockDim.y * gridDim.y;

	for (int x = idx; x < w; x += offsetx) {
		for (int y = idy; y < h; y += offsety) {
			classify(p(x, y), cnum);
		}
	}
}

int main() {
int cnum = 0;
	string in, out;
	cin >> in >> out >> cnum;

    cls.resize(cnum, vector<pixel>());
    double cavg[cnum][3];
    double ccov[cnum][3][3];
    memset(cavg, 0, sizeof(double) * cnum * 3);
    memset(ccov, 0, sizeof(double) * cnum * 9);
	IMG img(in);
    uint32_t w = img.w; 

    for (int i = 0; i < cnum; ++i) {
        int csize, x, y;
        cin >> csize;
        for (int j = 0; j < csize; ++j) {
            cin >> x >> y;
            pixel p = img.p(x, y);
            cls[i].push_back(p);
            cavg[i][0] += p.x;    
            cavg[i][1] += p.y;    
            cavg[i][2] += p.z;    
        }
        for (int j = 0; j < 3; ++j) cavg[i][j] /= csize;
    }

	for (int c = 0; c < cnum; ++c) {
        int csize = cls[c].size();
		for (int i = 0; i < csize; ++i) {
			pixel p = cls[c][i];
			double coeff[3] = {p.x - cavg[c][0], 
                               p.y - cavg[c][1], 
                               p.z - cavg[c][2]
                              };

			for (int r = 0; r < 3; ++r) {
				for (int s = 0; s < 3; ++s) {
					ccov[c][r][s] += coeff[r] * coeff[s];
				}
			}
		}
        for (int r = 0; r < 3; ++r) {
            for (int s = 0; s < 3; ++s) {
				ccov[c][r][s] /= csize - 1;
			}
		}
		double det = det3x3(ccov[c]);
        double icov[3][3];
        for (int r = 0; r < 3; ++r) {
            for (int s = 0; s < 3; ++s) {
				if (det == 0) {
					icov[s][r] = (r == s ? 1 : 0);
				} else {
					icov[s][r] = cof3x3(ccov[c], r, s) / det;
				}
			}
		}
        for (int r = 0; r < 3; ++r) {
            for (int s = 0; s < 3; ++s) {
				ccov[c][r][s] = icov[r][s];
			}
		}
	}
	uchar4 *result;
	CSC(cudaMemcpyToSymbol(GPU_AVG, cavg, sizeof(double) * cnum * 3));
	CSC(cudaMemcpyToSymbol(GPU_INVERT_COV, ccov, sizeof(double) * cnum * 9));
	CSC(cudaMalloc(&result, sizeof(uchar4) * img.size));
	CSC(cudaMemcpy(result, img.data, sizeof(uchar4) * img.size, cudaMemcpyHostToDevice));

	kernel<<<dim3(16, 16), dim3(16, 16)>>>(result, img.w, img.h, cnum);

	CSC(cudaMemcpy(img.data, result, sizeof(uchar4) * img.size, cudaMemcpyDeviceToHost));
	CSC(cudaFree(result));

	img.toFile(out);
}

	.file	"tmpxft_002ef285_00000000-6_lab.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB4039:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE4039:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.align 2
	.type	_ZNSt12_Vector_baseI6uchar4SaIS0_EE11_M_allocateEm.isra.0, @function
_ZNSt12_Vector_baseI6uchar4SaIS0_EE11_M_allocateEm.isra.0:
.LFB4985:
	.cfi_startproc
	testq	%rdi, %rdi
	je	.L3
	movabsq	$2305843009213693951, %rax
	cmpq	%rdi, %rax
	jnb	.L4
	pushq	%rax
	.cfi_def_cfa_offset 16
	movabsq	$4611686018427387903, %rax
	cmpq	%rdi, %rax
	jnb	.L5
	call	_ZSt28__throw_bad_array_new_lengthv@PLT
.L5:
	call	_ZSt17__throw_bad_allocv@PLT
.L4:
	.cfi_def_cfa_offset 8
	salq	$2, %rdi
	jmp	_Znwm@PLT
.L3:
	xorl	%eax, %eax
	ret
	.cfi_endproc
.LFE4985:
	.size	_ZNSt12_Vector_baseI6uchar4SaIS0_EE11_M_allocateEm.isra.0, .-_ZNSt12_Vector_baseI6uchar4SaIS0_EE11_M_allocateEm.isra.0
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"/home/ubuntu/Datasets/stackv2/train-structured/21zaber/MAI/master/MAI/PGP/lab3/lab.cu"
.LC1:
	.string	"CUDA Error in %s:%d: %s\n"
	.text
	.globl	_Z10time_startv
	.type	_Z10time_startv, @function
_Z10time_startv:
.LFB3998:
	.cfi_startproc
	endbr64
	pushq	%rdx
	.cfi_def_cfa_offset 16
	leaq	start(%rip), %rdi
	call	cudaEventCreate@PLT
	testl	%eax, %eax
	je	.L11
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	movl	$32, %r8d
	movq	%rax, %r9
	jmp	.L15
.L11:
	leaq	stop(%rip), %rdi
	call	cudaEventCreate@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L12
	call	cudaGetErrorString@PLT
	movl	$33, %r8d
	movq	%rax, %r9
.L15:
	movq	stderr(%rip), %rdi
	leaq	.LC0(%rip), %rcx
	leaq	.LC1(%rip), %rdx
	xorl	%eax, %eax
	movl	$2, %esi
	call	__fprintf_chk@PLT
	xorl	%edi, %edi
	call	exit@PLT
.L12:
	movq	start(%rip), %rdi
	xorl	%esi, %esi
	call	cudaEventRecord@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L10
	call	cudaGetErrorString@PLT
	movl	$34, %r8d
	movq	%rax, %r9
	jmp	.L15
.L10:
	popq	%rax
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE3998:
	.size	_Z10time_startv, .-_Z10time_startv
	.section	.rodata.str1.1
.LC2:
	.string	"time = %f\n"
	.text
	.globl	_Z8time_endv
	.type	_Z8time_endv, @function
_Z8time_endv:
.LFB3999:
	.cfi_startproc
	endbr64
	pushq	%rdx
	.cfi_def_cfa_offset 16
	call	cudaGetLastError@PLT
	testl	%eax, %eax
	je	.L17
	movl	%eax, %edi
	call	cudaGetErrorString@PLT
	movl	$38, %r8d
	movq	%rax, %r9
	jmp	.L24
.L17:
	movq	stop(%rip), %rdi
	xorl	%esi, %esi
	call	cudaEventRecord@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L18
	call	cudaGetErrorString@PLT
	movl	$39, %r8d
	movq	%rax, %r9
.L24:
	movq	stderr(%rip), %rdi
	leaq	.LC0(%rip), %rcx
	leaq	.LC1(%rip), %rdx
	xorl	%eax, %eax
	movl	$2, %esi
	call	__fprintf_chk@PLT
	xorl	%edi, %edi
	call	exit@PLT
.L18:
	movq	stop(%rip), %rdi
	call	cudaEventSynchronize@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L19
	call	cudaGetErrorString@PLT
	movl	$40, %r8d
	movq	%rax, %r9
	jmp	.L24
.L19:
	movq	stop(%rip), %rdx
	movq	start(%rip), %rsi
	leaq	t(%rip), %rdi
	call	cudaEventElapsedTime@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L20
	call	cudaGetErrorString@PLT
	movl	$41, %r8d
	movq	%rax, %r9
	jmp	.L24
.L20:
	leaq	.LC2(%rip), %rsi
	movl	$2, %edi
	movb	$1, %al
	cvtss2sd	t(%rip), %xmm0
	call	__printf_chk@PLT
	movq	start(%rip), %rdi
	call	cudaEventDestroy@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L21
	call	cudaGetErrorString@PLT
	movl	$43, %r8d
	movq	%rax, %r9
	jmp	.L24
.L21:
	movq	stop(%rip), %rdi
	call	cudaEventDestroy@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L16
	call	cudaGetErrorString@PLT
	movl	$44, %r8d
	movq	%rax, %r9
	jmp	.L24
.L16:
	popq	%rax
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE3999:
	.size	_Z8time_endv, .-_Z8time_endv
	.globl	_Z8minor3x3PA3_dii
	.type	_Z8minor3x3PA3_dii, @function
_Z8minor3x3PA3_dii:
.LFB4000:
	.cfi_startproc
	endbr64
	subq	$56, %rsp
	.cfi_def_cfa_offset 64
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
.L26:
	xorl	%eax, %eax
.L28:
	cmpl	%eax, %edx
	je	.L27
	cmpl	%ecx, %esi
	je	.L27
	movsd	(%rdi,%rax,8), %xmm0
	movslq	%r8d, %r9
	incl	%r8d
	movsd	%xmm0, 8(%rsp,%r9,8)
.L27:
	incq	%rax
	cmpq	$3, %rax
	jne	.L28
	incl	%ecx
	addq	$24, %rdi
	cmpl	$3, %ecx
	jne	.L26
	movsd	8(%rsp), %xmm0
	movsd	16(%rsp), %xmm1
	mulsd	32(%rsp), %xmm0
	mulsd	24(%rsp), %xmm1
	subsd	%xmm1, %xmm0
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	addq	$56, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4000:
	.size	_Z8minor3x3PA3_dii, .-_Z8minor3x3PA3_dii
	.globl	_Z6cof3x3PA3_dii
	.type	_Z6cof3x3PA3_dii, @function
_Z6cof3x3PA3_dii:
.LFB4001:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movl	%edx, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movl	%esi, %ebx
	pushq	%rcx
	.cfi_def_cfa_offset 32
	call	_Z8minor3x3PA3_dii
	leal	(%rbx,%rbp), %eax
	movl	$2, %ecx
	cltd
	idivl	%ecx
	decl	%edx
	jne	.L33
	xorps	.LC3(%rip), %xmm0
.L33:
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4001:
	.size	_Z6cof3x3PA3_dii, .-_Z6cof3x3PA3_dii
	.globl	_Z6det3x3PA3_d
	.type	_Z6det3x3PA3_d, @function
_Z6det3x3PA3_d:
.LFB4002:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xorps	%xmm1, %xmm1
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	xorl	%ebx, %ebx
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
.L37:
	movsd	0(%rbp,%rbx,8), %xmm2
	movl	%ebx, %edx
	xorl	%esi, %esi
	movq	%rbp, %rdi
	movsd	%xmm1, 8(%rsp)
	incq	%rbx
	movsd	%xmm2, (%rsp)
	call	_Z6cof3x3PA3_dii
	mulsd	(%rsp), %xmm0
	movsd	8(%rsp), %xmm1
	addsd	%xmm0, %xmm1
	cmpq	$3, %rbx
	jne	.L37
	addq	$24, %rsp
	.cfi_def_cfa_offset 24
	movaps	%xmm1, %xmm0
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4002:
	.size	_Z6det3x3PA3_d, .-_Z6det3x3PA3_d
	.section	.rodata._ZN3IMGC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE.str1.1,"aMS",@progbits,1
.LC5:
	.string	"rb"
.LC6:
	.string	"Wrong file name "
.LC7:
	.string	"!\n"
	.section	.text._ZN3IMGC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE,"axG",@progbits,_ZN3IMGC5ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE,comdat
	.align 2
	.weak	_ZN3IMGC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
	.type	_ZN3IMGC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE, @function
_ZN3IMGC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE:
.LFB4007:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movq	%rsi, %r12
	leaq	.LC5(%rip), %rsi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	%rdi, %rbx
	movq	(%r12), %rdi
	call	fopen@PLT
	testq	%rax, %rax
	jne	.L41
	leaq	.LC6(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%r12, %rsi
	movq	%rax, %rdi
	call	_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	leaq	.LC7(%rip), %rsi
	popq	%rbp
	.cfi_def_cfa_offset 16
	movq	%rax, %rdi
	popq	%r12
	.cfi_def_cfa_offset 8
	jmp	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
.L41:
	.cfi_restore_state
	movq	%rax, %rbp
	movq	%rbx, %rdi
	movq	%rax, %r8
	movl	$1, %ecx
	movl	$4, %edx
	orq	$-1, %rsi
	call	__fread_chk@PLT
	movq	%rbp, %r8
	leaq	4(%rbx), %rdi
	orq	$-1, %rsi
	movl	$1, %ecx
	movl	$4, %edx
	call	__fread_chk@PLT
	movl	(%rbx), %r12d
	imull	4(%rbx), %r12d
	movq	%r12, 8(%rbx)
	salq	$2, %r12
	movq	%r12, %rdi
	call	_Znam@PLT
	movq	8(%rbx), %rcx
	movq	%rbp, %r8
	movq	%r12, %rsi
	movq	%rax, 16(%rbx)
	movq	%rax, %rdi
	movl	$4, %edx
	call	__fread_chk@PLT
	popq	%rbx
	.cfi_def_cfa_offset 24
	movq	%rbp, %rdi
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	jmp	fclose@PLT
	.cfi_endproc
.LFE4007:
	.size	_ZN3IMGC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE, .-_ZN3IMGC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
	.weak	_ZN3IMGC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
	.set	_ZN3IMGC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE,_ZN3IMGC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
	.text
	.globl	_Z11mahalanobis6uchar4i
	.type	_Z11mahalanobis6uchar4i, @function
_Z11mahalanobis6uchar4i:
.LFB4023:
	.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
.LFE4023:
	.size	_Z11mahalanobis6uchar4i, .-_Z11mahalanobis6uchar4i
	.globl	_Z8classifyR6uchar4i
	.type	_Z8classifyR6uchar4i, @function
_Z8classifyR6uchar4i:
.LFB4024:
	.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
.LFE4024:
	.size	_Z8classifyR6uchar4i, .-_Z8classifyR6uchar4i
	.globl	_Z34__device_stub__Z6kernelP6uchar4jjiP6uchar4jji
	.type	_Z34__device_stub__Z6kernelP6uchar4jjiP6uchar4jji, @function
_Z34__device_stub__Z6kernelP6uchar4jjiP6uchar4jji:
.LFB4061:
	.cfi_startproc
	endbr64
	subq	$152, %rsp
	.cfi_def_cfa_offset 160
	movq	%rdi, 24(%rsp)
	leaq	56(%rsp), %rdi
	movl	%esi, 20(%rsp)
	leaq	68(%rsp), %rsi
	movl	%edx, 16(%rsp)
	leaq	40(%rsp), %rdx
	movl	%ecx, 12(%rsp)
	leaq	48(%rsp), %rcx
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 64(%rsp)
	movq	%rax, 104(%rsp)
	leaq	20(%rsp), %rax
	movq	%rax, 112(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 120(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 128(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movq	%rax, 68(%rsp)
	movl	$1, 76(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L47
	pushq	48(%rsp)
	.cfi_def_cfa_offset 168
	leaq	_Z6kernelP6uchar4jji(%rip), %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 176
	movq	84(%rsp), %rcx
	movl	92(%rsp), %r8d
	movq	72(%rsp), %rsi
	movl	80(%rsp), %edx
	leaq	120(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 168
	popq	%rdx
	.cfi_def_cfa_offset 160
.L47:
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	je	.L49
	call	__stack_chk_fail@PLT
.L49:
	addq	$152, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4061:
	.size	_Z34__device_stub__Z6kernelP6uchar4jjiP6uchar4jji, .-_Z34__device_stub__Z6kernelP6uchar4jjiP6uchar4jji
	.globl	_Z6kernelP6uchar4jji
	.type	_Z6kernelP6uchar4jji, @function
_Z6kernelP6uchar4jji:
.LFB4062:
	.cfi_startproc
	endbr64
	jmp	_Z34__device_stub__Z6kernelP6uchar4jjiP6uchar4jji
	.cfi_endproc
.LFE4062:
	.size	_Z6kernelP6uchar4jji, .-_Z6kernelP6uchar4jji
	.section	.rodata.str1.1
.LC8:
	.string	"_Z6kernelP6uchar4jji"
.LC9:
	.string	"GPU_AVG"
.LC10:
	.string	"GPU_INVERT_COV"
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB4064:
	.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	.LC8(%rip), %rdx
	movq	%rax, %rdi
	movq	%rax, %rbx
	pushq	$0
	.cfi_def_cfa_offset 40
	movq	%rdx, %rcx
	leaq	_Z6kernelP6uchar4jji(%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	%r8d, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC9(%rip), %rdx
	movl	$1200, %r9d
	leaq	_ZL7GPU_AVG(%rip), %rsi
	pushq	$1
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	call	__cudaRegisterVar@PLT
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rdx
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$1
	.cfi_def_cfa_offset 32
	leaq	.LC10(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	movq	%rdx, %rcx
	movl	$3600, %r9d
	leaq	_ZL14GPU_INVERT_COV(%rip), %rsi
	call	__cudaRegisterVar@PLT
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	popq	%rcx
	.cfi_def_cfa_offset 24
	popq	%rsi
	.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
.LFE4064:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.text._ZNSt6vectorI6uchar4SaIS0_EED2Ev,"axG",@progbits,_ZNSt6vectorI6uchar4SaIS0_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorI6uchar4SaIS0_EED2Ev
	.type	_ZNSt6vectorI6uchar4SaIS0_EED2Ev, @function
_ZNSt6vectorI6uchar4SaIS0_EED2Ev:
.LFB4388:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L54
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L54:
	ret
	.cfi_endproc
.LFE4388:
	.size	_ZNSt6vectorI6uchar4SaIS0_EED2Ev, .-_ZNSt6vectorI6uchar4SaIS0_EED2Ev
	.weak	_ZNSt6vectorI6uchar4SaIS0_EED1Ev
	.set	_ZNSt6vectorI6uchar4SaIS0_EED1Ev,_ZNSt6vectorI6uchar4SaIS0_EED2Ev
	.section	.rodata._ZNSt6vectorI6uchar4SaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_.str1.1,"aMS",@progbits,1
.LC11:
	.string	"vector::_M_realloc_insert"
	.section	.text._ZNSt6vectorI6uchar4SaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_,"axG",@progbits,_ZNSt6vectorI6uchar4SaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_,comdat
	.align 2
	.weak	_ZNSt6vectorI6uchar4SaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_
	.type	_ZNSt6vectorI6uchar4SaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_, @function
_ZNSt6vectorI6uchar4SaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_:
.LFB4581:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	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
	movabsq	$2305843009213693951, %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	8(%rdi), %rax
	movq	(%rdi), %r14
	movq	%rax, (%rsp)
	subq	%r14, %rax
	sarq	$2, %rax
	cmpq	%rbx, %rax
	jne	.L57
	leaq	.LC11(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L57:
	movq	%rdx, %rcx
	cmpq	%r14, (%rsp)
	movl	$1, %edx
	movq	%rdi, %r13
	cmovne	%rax, %rdx
	movq	%rsi, %rbp
	addq	%rdx, %rax
	jc	.L61
	movabsq	$2305843009213693951, %rbx
	cmpq	%rbx, %rax
	cmovbe	%rax, %rbx
.L61:
	movq	%rbx, %rdi
	movq	%rcx, 8(%rsp)
	movq	%rbp, %r15
	call	_ZNSt12_Vector_baseI6uchar4SaIS0_EE11_M_allocateEm.isra.0
	movq	8(%rsp), %rcx
	subq	%r14, %r15
	movq	%rax, %r12
	movl	(%rcx), %eax
	movl	%eax, (%r12,%r15)
	testq	%r15, %r15
	jle	.L62
	movq	%r15, %rdx
	movq	%r14, %rsi
	movq	%r12, %rdi
	call	memmove@PLT
.L62:
	movq	(%rsp), %rax
	leaq	4(%r12,%r15), %rdx
	subq	%rbp, %rax
	testq	%rax, %rax
	jle	.L63
	movq	%rdx, %rdi
	movq	%rbp, %rsi
	movq	%rax, %rcx
	rep movsb
.L63:
	leaq	(%rdx,%rax), %rbp
	testq	%r14, %r14
	je	.L64
	movq	16(%r13), %rsi
	movq	%r14, %rdi
	subq	%r14, %rsi
	call	_ZdlPvm@PLT
.L64:
	leaq	(%r12,%rbx,4), %rax
	movq	%r12, 0(%r13)
	movq	%rbp, 8(%r13)
	movq	%rax, 16(%r13)
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4581:
	.size	_ZNSt6vectorI6uchar4SaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_, .-_ZNSt6vectorI6uchar4SaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_
	.section	.text._ZSt18uninitialized_copyISt13move_iteratorIPSt6vectorI6uchar4SaIS2_EEES5_ET0_T_S8_S7_,"axG",@progbits,_ZSt18uninitialized_copyISt13move_iteratorIPSt6vectorI6uchar4SaIS2_EEES5_ET0_T_S8_S7_,comdat
	.weak	_ZSt18uninitialized_copyISt13move_iteratorIPSt6vectorI6uchar4SaIS2_EEES5_ET0_T_S8_S7_
	.type	_ZSt18uninitialized_copyISt13move_iteratorIPSt6vectorI6uchar4SaIS2_EEES5_ET0_T_S8_S7_, @function
_ZSt18uninitialized_copyISt13move_iteratorIPSt6vectorI6uchar4SaIS2_EEES5_ET0_T_S8_S7_:
.LFB4826:
	.cfi_startproc
	endbr64
	movq	%rdi, %rcx
	movq	%rdx, %rax
.L72:
	cmpq	%rcx, %rsi
	je	.L74
	movq	(%rcx), %r8
	addq	$24, %rax
	addq	$24, %rcx
	movq	%r8, -24(%rax)
	movq	-16(%rcx), %r8
	movq	%r8, -16(%rax)
	movq	-8(%rcx), %r8
	movq	%r8, -8(%rax)
	xorl	%r8d, %r8d
	movq	%r8, -8(%rcx)
	movq	%r8, -16(%rcx)
	movq	%r8, -24(%rcx)
	jmp	.L72
.L74:
	movabsq	$768614336404564651, %rax
	subq	%rdi, %rsi
	movq	%rsi, %rcx
	shrq	$3, %rcx
	imulq	%rax, %rcx
	movabsq	$2305843009213693951, %rax
	andq	%rax, %rcx
	imulq	$24, %rcx, %rcx
	leaq	(%rdx,%rcx), %rax
	ret
	.cfi_endproc
.LFE4826:
	.size	_ZSt18uninitialized_copyISt13move_iteratorIPSt6vectorI6uchar4SaIS2_EEES5_ET0_T_S8_S7_, .-_ZSt18uninitialized_copyISt13move_iteratorIPSt6vectorI6uchar4SaIS2_EEES5_ET0_T_S8_S7_
	.section	.text._ZNSt12_Destroy_auxILb0EE9__destroyIPSt6vectorI6uchar4SaIS3_EEEEvT_S7_,"axG",@progbits,_ZNSt12_Destroy_auxILb0EE9__destroyIPSt6vectorI6uchar4SaIS3_EEEEvT_S7_,comdat
	.weak	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt6vectorI6uchar4SaIS3_EEEEvT_S7_
	.type	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt6vectorI6uchar4SaIS3_EEEEvT_S7_, @function
_ZNSt12_Destroy_auxILb0EE9__destroyIPSt6vectorI6uchar4SaIS3_EEEEvT_S7_:
.LFB4840:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rdi, %rbx
	pushq	%rdx
	.cfi_def_cfa_offset 32
.L76:
	cmpq	%rbp, %rbx
	je	.L79
	movq	%rbx, %rdi
	addq	$24, %rbx
	call	_ZNSt6vectorI6uchar4SaIS0_EED1Ev
	jmp	.L76
.L79:
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4840:
	.size	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt6vectorI6uchar4SaIS3_EEEEvT_S7_, .-_ZNSt12_Destroy_auxILb0EE9__destroyIPSt6vectorI6uchar4SaIS3_EEEEvT_S7_
	.section	.text._ZNSt6vectorIS_I6uchar4SaIS0_EESaIS2_EED2Ev,"axG",@progbits,_ZNSt6vectorIS_I6uchar4SaIS0_EESaIS2_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIS_I6uchar4SaIS0_EESaIS2_EED2Ev
	.type	_ZNSt6vectorIS_I6uchar4SaIS0_EESaIS2_EED2Ev, @function
_ZNSt6vectorIS_I6uchar4SaIS0_EESaIS2_EED2Ev:
.LFB4974:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movq	%rdi, %rbx
	movq	8(%rdi), %rsi
	movq	(%rdi), %rdi
	call	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt6vectorI6uchar4SaIS3_EEEEvT_S7_
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.L80
	movq	16(%rbx), %rsi
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	subq	%rdi, %rsi
	jmp	_ZdlPvm@PLT
.L80:
	.cfi_restore_state
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4974:
	.size	_ZNSt6vectorIS_I6uchar4SaIS0_EESaIS2_EED2Ev, .-_ZNSt6vectorIS_I6uchar4SaIS0_EESaIS2_EED2Ev
	.weak	_ZNSt6vectorIS_I6uchar4SaIS0_EESaIS2_EED1Ev
	.set	_ZNSt6vectorIS_I6uchar4SaIS0_EESaIS2_EED1Ev,_ZNSt6vectorIS_I6uchar4SaIS0_EESaIS2_EED2Ev
	.section	.text._ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIK6uchar4S3_EEPT0_PT_S8_S6_,"axG",@progbits,_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIK6uchar4S3_EEPT0_PT_S8_S6_,comdat
	.weak	_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIK6uchar4S3_EEPT0_PT_S8_S6_
	.type	_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIK6uchar4S3_EEPT0_PT_S8_S6_, @function
_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIK6uchar4S3_EEPT0_PT_S8_S6_:
.LFB4968:
	.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	.L84
	movq	%rsi, %rdx
	movq	%rdi, %rsi
	movq	%rcx, %rdi
	call	memmove@PLT
	movq	%rax, %rcx
	jmp	.L85
.L84:
	jne	.L85
	movl	(%rdi), %eax
	movl	%eax, (%rdx)
.L85:
	leaq	(%rcx,%rbx), %rax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4968:
	.size	_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIK6uchar4S3_EEPT0_PT_S8_S6_, .-_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIK6uchar4S3_EEPT0_PT_S8_S6_
	.section	.text._ZNSt6vectorI6uchar4SaIS0_EEC2ERKS2_,"axG",@progbits,_ZNSt6vectorI6uchar4SaIS0_EEC5ERKS2_,comdat
	.align 2
	.weak	_ZNSt6vectorI6uchar4SaIS0_EEC2ERKS2_
	.type	_ZNSt6vectorI6uchar4SaIS0_EEC2ERKS2_, @function
_ZNSt6vectorI6uchar4SaIS0_EEC2ERKS2_:
.LFB4855:
	.cfi_startproc
	endbr64
	xorl	%eax, %eax
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	movq	%rsi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	8(%rsi), %r12
	movq	%rdi, %rbx
	subq	(%rsi), %r12
	movq	%rax, (%rdi)
	movq	%rax, 8(%rdi)
	movq	%rax, 16(%rdi)
	movq	%r12, %rdi
	sarq	$2, %rdi
	call	_ZNSt12_Vector_baseI6uchar4SaIS0_EE11_M_allocateEm.isra.0
	addq	%rax, %r12
	movq	%rax, (%rbx)
	movq	%rax, %rdx
	movq	%r12, 16(%rbx)
	movq	%rax, 8(%rbx)
	movq	8(%rbp), %rsi
	movq	0(%rbp), %rdi
	call	_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIK6uchar4S3_EEPT0_PT_S8_S6_
	movq	%rax, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4855:
	.size	_ZNSt6vectorI6uchar4SaIS0_EEC2ERKS2_, .-_ZNSt6vectorI6uchar4SaIS0_EEC2ERKS2_
	.weak	_ZNSt6vectorI6uchar4SaIS0_EEC1ERKS2_
	.set	_ZNSt6vectorI6uchar4SaIS0_EEC1ERKS2_,_ZNSt6vectorI6uchar4SaIS0_EEC2ERKS2_
	.section	.text._ZSt18__do_uninit_fill_nIPSt6vectorI6uchar4SaIS1_EEmS3_ET_S5_T0_RKT1_,"axG",@progbits,_ZSt18__do_uninit_fill_nIPSt6vectorI6uchar4SaIS1_EEmS3_ET_S5_T0_RKT1_,comdat
	.weak	_ZSt18__do_uninit_fill_nIPSt6vectorI6uchar4SaIS1_EEmS3_ET_S5_T0_RKT1_
	.type	_ZSt18__do_uninit_fill_nIPSt6vectorI6uchar4SaIS1_EEmS3_ET_S5_T0_RKT1_, @function
_ZSt18__do_uninit_fill_nIPSt6vectorI6uchar4SaIS1_EEmS3_ET_S5_T0_RKT1_:
.LFB4861:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4861
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	movq	%rdx, %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%rdi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	movq	%rsi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movq	%rdi, %rbx
	pushq	%rcx
	.cfi_def_cfa_offset 48
.L90:
	testq	%rbp, %rbp
	je	.L98
	movq	%r13, %rsi
	movq	%rbx, %rdi
.LEHB0:
	call	_ZNSt6vectorI6uchar4SaIS0_EEC1ERKS2_
.LEHE0:
	decq	%rbp
	addq	$24, %rbx
	jmp	.L90
.L94:
	endbr64
	movq	%rax, %rdi
.L92:
	call	__cxa_begin_catch@PLT
	movq	%rbx, %rsi
	movq	%r12, %rdi
	call	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt6vectorI6uchar4SaIS3_EEEEvT_S7_
.LEHB1:
	call	__cxa_rethrow@PLT
.LEHE1:
.L95:
	endbr64
	movq	%rax, %rbx
.L93:
	call	__cxa_end_catch@PLT
	movq	%rbx, %rdi
.LEHB2:
	call	_Unwind_Resume@PLT
.LEHE2:
.L98:
	popq	%rdx
	.cfi_def_cfa_offset 40
	movq	%rbx, %rax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4861:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table._ZSt18__do_uninit_fill_nIPSt6vectorI6uchar4SaIS1_EEmS3_ET_S5_T0_RKT1_,"aG",@progbits,_ZSt18__do_uninit_fill_nIPSt6vectorI6uchar4SaIS1_EEmS3_ET_S5_T0_RKT1_,comdat
	.align 4
.LLSDA4861:
	.byte	0xff
	.byte	0x9b
	.uleb128 .LLSDATT4861-.LLSDATTD4861
.LLSDATTD4861:
	.byte	0x1
	.uleb128 .LLSDACSE4861-.LLSDACSB4861
.LLSDACSB4861:
	.uleb128 .LEHB0-.LFB4861
	.uleb128 .LEHE0-.LEHB0
	.uleb128 .L94-.LFB4861
	.uleb128 0x1
	.uleb128 .LEHB1-.LFB4861
	.uleb128 .LEHE1-.LEHB1
	.uleb128 .L95-.LFB4861
	.uleb128 0
	.uleb128 .LEHB2-.LFB4861
	.uleb128 .LEHE2-.LEHB2
	.uleb128 0
	.uleb128 0
.LLSDACSE4861:
	.byte	0x1
	.byte	0
	.align 4
	.long	0

.LLSDATT4861:
	.section	.text._ZSt18__do_uninit_fill_nIPSt6vectorI6uchar4SaIS1_EEmS3_ET_S5_T0_RKT1_,"axG",@progbits,_ZSt18__do_uninit_fill_nIPSt6vectorI6uchar4SaIS1_EEmS3_ET_S5_T0_RKT1_,comdat
	.size	_ZSt18__do_uninit_fill_nIPSt6vectorI6uchar4SaIS1_EEmS3_ET_S5_T0_RKT1_, .-_ZSt18__do_uninit_fill_nIPSt6vectorI6uchar4SaIS1_EEmS3_ET_S5_T0_RKT1_
	.section	.text._ZSt9__fill_a1IPSt6vectorI6uchar4SaIS1_EES3_EN9__gnu_cxx11__enable_ifIXntsrSt11__is_scalarIT0_E7__valueEvE6__typeET_SC_RKS8_,"axG",@progbits,_ZSt9__fill_a1IPSt6vectorI6uchar4SaIS1_EES3_EN9__gnu_cxx11__enable_ifIXntsrSt11__is_scalarIT0_E7__valueEvE6__typeET_SC_RKS8_,comdat
	.weak	_ZSt9__fill_a1IPSt6vectorI6uchar4SaIS1_EES3_EN9__gnu_cxx11__enable_ifIXntsrSt11__is_scalarIT0_E7__valueEvE6__typeET_SC_RKS8_
	.type	_ZSt9__fill_a1IPSt6vectorI6uchar4SaIS1_EES3_EN9__gnu_cxx11__enable_ifIXntsrSt11__is_scalarIT0_E7__valueEvE6__typeET_SC_RKS8_, @function
_ZSt9__fill_a1IPSt6vectorI6uchar4SaIS1_EES3_EN9__gnu_cxx11__enable_ifIXntsrSt11__is_scalarIT0_E7__valueEvE6__typeET_SC_RKS8_:
.LFB4834:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movq	%rsi, %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%rdx, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rdi, %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
.L100:
	cmpq	%r14, %rbx
	je	.L114
	cmpq	%rbp, %rbx
	je	.L101
	movq	8(%rbp), %rsi
	movq	0(%rbp), %r15
	movq	(%rbx), %rdi
	movq	16(%rbx), %rax
	movq	%rsi, %r12
	subq	%r15, %r12
	subq	%rdi, %rax
	cmpq	%r12, %rax
	jnb	.L102
	movq	%r12, %rdi
	movq	%rsi, 8(%rsp)
	sarq	$2, %rdi
	call	_ZNSt12_Vector_baseI6uchar4SaIS0_EE11_M_allocateEm.isra.0
	movq	8(%rsp), %rsi
	movq	%r15, %rdi
	movq	%rax, %rdx
	movq	%rax, %r13
	call	_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIK6uchar4S3_EEPT0_PT_S8_S6_
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.L103
	movq	16(%rbx), %rsi
	subq	%rdi, %rsi
	call	_ZdlPvm@PLT
.L103:
	movq	%r13, (%rbx)
	addq	%r12, %r13
	movq	%r13, 16(%rbx)
	jmp	.L104
.L102:
	movq	8(%rbx), %rdx
	subq	%rdi, %rdx
	cmpq	%r12, %rdx
	jb	.L105
	movq	%rdi, %rdx
	movq	%r15, %rdi
	call	_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIK6uchar4S3_EEPT0_PT_S8_S6_
	jmp	.L104
.L105:
	cmpq	$4, %rdx
	jle	.L106
	movq	%r15, %rsi
	call	memmove@PLT
	jmp	.L107
.L106:
	jne	.L107
	movl	(%r15), %eax
	movl	%eax, (%rdi)
.L107:
	movq	8(%rbx), %rdi
	movq	8(%rbp), %rdx
	movq	%rdi, %rsi
	subq	(%rbx), %rsi
	addq	0(%rbp), %rsi
	subq	%rsi, %rdx
	cmpq	$4, %rdx
	jle	.L108
	call	memmove@PLT
	jmp	.L104
.L108:
	jne	.L104
	movl	(%rsi), %eax
	movl	%eax, (%rdi)
.L104:
	addq	(%rbx), %r12
	movq	%r12, 8(%rbx)
.L101:
	addq	$24, %rbx
	jmp	.L100
.L114:
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4834:
	.size	_ZSt9__fill_a1IPSt6vectorI6uchar4SaIS1_EES3_EN9__gnu_cxx11__enable_ifIXntsrSt11__is_scalarIT0_E7__valueEvE6__typeET_SC_RKS8_, .-_ZSt9__fill_a1IPSt6vectorI6uchar4SaIS1_EES3_EN9__gnu_cxx11__enable_ifIXntsrSt11__is_scalarIT0_E7__valueEvE6__typeET_SC_RKS8_
	.section	.rodata._ZNSt6vectorIS_I6uchar4SaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_.str1.1,"aMS",@progbits,1
.LC12:
	.string	"vector::_M_fill_insert"
	.section	.text._ZNSt6vectorIS_I6uchar4SaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_,"axG",@progbits,_ZNSt6vectorIS_I6uchar4SaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_,comdat
	.align 2
	.weak	_ZNSt6vectorIS_I6uchar4SaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_
	.type	_ZNSt6vectorIS_I6uchar4SaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_, @function
_ZNSt6vectorIS_I6uchar4SaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_:
.LFB4567:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4567
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%rdx, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$104, %rsp
	.cfi_def_cfa_offset 160
	movq	%fs:40, %rax
	movq	%rax, 88(%rsp)
	xorl	%eax, %eax
	testq	%rdx, %rdx
	je	.L115
	movq	8(%rdi), %rax
	movq	%rcx, %rdx
	movq	%rdi, %r12
	movq	%rsi, %r13
	movq	%rax, 8(%rsp)
	movq	16(%rdi), %rax
	movq	8(%rsp), %rcx
	subq	%rcx, %rax
	movabsq	$-6148914691236517205, %rcx
	sarq	$3, %rax
	imulq	%rcx, %rax
	cmpq	%rbp, %rax
	jb	.L117
	leaq	64(%rsp), %rbx
	movq	%rdi, 56(%rsp)
	movq	%rdx, %rsi
	movq	%rbx, %rdi
	movb	$0, 64(%rsp)
.LEHB3:
	call	_ZNSt6vectorI6uchar4SaIS0_EEC1ERKS2_
.LEHE3:
	movq	8(%r12), %r14
	movabsq	$-6148914691236517205, %rcx
	movq	%r14, %r15
	subq	%r13, %r15
	movq	%r15, %rax
	sarq	$3, %rax
	imulq	%rcx, %rax
	cmpq	%rax, %rbp
	jnb	.L118
	imulq	$24, %rbp, %rbp
	movq	%r14, %r15
	movq	%r14, %rdx
	movq	%r14, %rsi
	subq	%rbp, %r15
	movq	%r15, %rdi
	call	_ZSt18uninitialized_copyISt13move_iteratorIPSt6vectorI6uchar4SaIS2_EEES5_ET0_T_S8_S7_
	leaq	(%r14,%rbp), %rax
	movabsq	$-6148914691236517205, %rcx
	movq	%rax, 8(%r12)
	movq	%r15, %rax
	leaq	32(%rsp), %r12
	subq	%r13, %rax
	sarq	$3, %rax
	imulq	%rcx, %rax
.L119:
	testq	%rax, %rax
	jle	.L156
	movq	-24(%r15), %rdi
	movq	-24(%r14), %rsi
	subq	$24, %r15
	subq	$24, %r14
	movq	8(%r14), %rcx
	movq	16(%r14), %rdx
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	movq	%rdi, (%r14)
	movq	8(%r15), %rdi
	movq	%rsi, 32(%rsp)
	movq	%rdi, 8(%r14)
	movq	16(%r15), %rdi
	movq	%rcx, 40(%rsp)
	movq	%rdi, 16(%r14)
	movq	%r12, %rdi
	movq	%rax, (%r15)
	movq	%rax, 8(%r15)
	movq	%rax, 16(%r15)
	movq	%rdx, 48(%rsp)
	call	_ZNSt6vectorI6uchar4SaIS0_EED1Ev
	movq	8(%rsp), %rax
	decq	%rax
	jmp	.L119
.L156:
	leaq	0(%r13,%rbp), %rsi
	movq	%rbx, %rdx
.L152:
	movq	%r13, %rdi
.LEHB4:
	call	_ZSt9__fill_a1IPSt6vectorI6uchar4SaIS1_EES3_EN9__gnu_cxx11__enable_ifIXntsrSt11__is_scalarIT0_E7__valueEvE6__typeET_SC_RKS8_
	movq	%rbx, %rdi
	call	_ZNSt6vectorI6uchar4SaIS0_EED1Ev
	jmp	.L115
.L118:
	movq	%rbp, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rdi
	subq	%rax, %rsi
	call	_ZSt18__do_uninit_fill_nIPSt6vectorI6uchar4SaIS1_EEmS3_ET_S5_T0_RKT1_
.LEHE4:
	movq	%rax, 8(%r12)
	movq	%rax, %rbp
	movq	%rax, %rdx
	movq	%r14, %rsi
	movq	%r13, %rdi
	addq	%r15, %rbp
	call	_ZSt18uninitialized_copyISt13move_iteratorIPSt6vectorI6uchar4SaIS2_EEES5_ET0_T_S8_S7_
	movq	%rbp, 8(%r12)
	movq	%rbx, %rdx
	movq	%r14, %rsi
	jmp	.L152
.L117:
	movq	(%rdi), %r15
	movq	8(%rsp), %rbx
	movabsq	$384307168202282325, %rax
	subq	%r15, %rbx
	sarq	$3, %rbx
	imulq	%rcx, %rbx
	movq	%rax, %rcx
	subq	%rbx, %rcx
	cmpq	%rbp, %rcx
	jnb	.L122
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L154
	leaq	.LC12(%rip), %rdi
.LEHB5:
	call	_ZSt20__throw_length_errorPKc@PLT
.L122:
	cmpq	%rbx, %rbp
	movq	%rbx, %rcx
	cmovnb	%rbp, %rcx
	addq	%rcx, %rbx
	jnc	.L126
	movq	%rsi, %rcx
	movq	%rax, %rbx
	subq	%r15, %rcx
	movq	%rcx, 16(%rsp)
	jmp	.L127
.L126:
	movq	%rsi, %rax
	xorl	%r14d, %r14d
	subq	%r15, %rax
	movq	%rax, 16(%rsp)
	testq	%rbx, %rbx
	je	.L128
	movabsq	$384307168202282325, %rax
	cmpq	%rax, %rbx
	cmova	%rax, %rbx
.L127:
	imulq	$24, %rbx, %rdi
	movq	%rdx, 24(%rsp)
	call	_Znwm@PLT
.LEHE5:
	movq	24(%rsp), %rdx
	movq	%rax, %r14
.L128:
	movq	16(%rsp), %rax
	movq	%rbp, %rsi
	addq	%r14, %rax
	movq	%rax, %rdi
	movq	%rax, 24(%rsp)
.LEHB6:
	call	_ZSt18__do_uninit_fill_nIPSt6vectorI6uchar4SaIS1_EEmS3_ET_S5_T0_RKT1_
.LEHE6:
	imulq	$24, %rbp, %rbp
	movq	%r14, %rdx
	movq	%r13, %rsi
	movq	%r15, %rdi
	call	_ZSt18uninitialized_copyISt13move_iteratorIPSt6vectorI6uchar4SaIS2_EEES5_ET0_T_S8_S7_
	movq	8(%rsp), %rsi
	movq	%r13, %rdi
	leaq	(%rax,%rbp), %rdx
	call	_ZSt18uninitialized_copyISt13move_iteratorIPSt6vectorI6uchar4SaIS2_EEES5_ET0_T_S8_S7_
	movq	8(%rsp), %rsi
	movq	%r15, %rdi
	movq	%rax, %rbp
	call	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt6vectorI6uchar4SaIS3_EEEEvT_S7_
	testq	%r15, %r15
	je	.L129
	movq	16(%r12), %rsi
	movq	%r15, %rdi
	subq	%r15, %rsi
	call	_ZdlPvm@PLT
.L129:
	imulq	$24, %rbx, %rbx
	movq	%r14, (%r12)
	movq	%rbp, 8(%r12)
	addq	%r14, %rbx
	movq	%rbx, 16(%r12)
	jmp	.L115
.L140:
	endbr64
	movq	%rax, %rbp
.L130:
	movq	%rbx, %rdi
	call	_ZNSt6vectorI6uchar4SaIS0_EED1Ev
	movq	%rbp, %rdi
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	je	.L155
	jmp	.L154
.L141:
	endbr64
	movq	%rax, %rdi
.L132:
	call	__cxa_begin_catch@PLT
	testq	%r14, %r14
	jne	.L133
	movq	16(%rsp), %rsi
	movq	24(%rsp), %rdi
	movabsq	$-6148914691236517205, %rax
	sarq	$3, %rsi
	imulq	%rax, %rsi
	addq	%rbp, %rsi
	imulq	$24, %rsi, %rsi
	call	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt6vectorI6uchar4SaIS3_EEEEvT_S7_
	jmp	.L134
.L133:
	movq	%r14, %rsi
	movq	%r14, %rdi
	call	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt6vectorI6uchar4SaIS3_EEEEvT_S7_
	imulq	$24, %rbx, %rsi
	movq	%r14, %rdi
	call	_ZdlPvm@PLT
.L134:
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L154
.LEHB7:
	call	__cxa_rethrow@PLT
.LEHE7:
.L142:
	endbr64
	movq	%rax, %rbx
.L136:
	call	__cxa_end_catch@PLT
	movq	%rbx, %rdi
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L154
.L155:
.LEHB8:
	call	_Unwind_Resume@PLT
.LEHE8:
.L115:
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	je	.L138
.L154:
	call	__stack_chk_fail@PLT
.L138:
	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
.LFE4567:
	.section	.gcc_except_table._ZNSt6vectorIS_I6uchar4SaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_,"aG",@progbits,_ZNSt6vectorIS_I6uchar4SaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_,comdat
	.align 4
.LLSDA4567:
	.byte	0xff
	.byte	0x9b
	.uleb128 .LLSDATT4567-.LLSDATTD4567
.LLSDATTD4567:
	.byte	0x1
	.uleb128 .LLSDACSE4567-.LLSDACSB4567
.LLSDACSB4567:
	.uleb128 .LEHB3-.LFB4567
	.uleb128 .LEHE3-.LEHB3
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB4-.LFB4567
	.uleb128 .LEHE4-.LEHB4
	.uleb128 .L140-.LFB4567
	.uleb128 0
	.uleb128 .LEHB5-.LFB4567
	.uleb128 .LEHE5-.LEHB5
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB6-.LFB4567
	.uleb128 .LEHE6-.LEHB6
	.uleb128 .L141-.LFB4567
	.uleb128 0x1
	.uleb128 .LEHB7-.LFB4567
	.uleb128 .LEHE7-.LEHB7
	.uleb128 .L142-.LFB4567
	.uleb128 0
	.uleb128 .LEHB8-.LFB4567
	.uleb128 .LEHE8-.LEHB8
	.uleb128 0
	.uleb128 0
.LLSDACSE4567:
	.byte	0x1
	.byte	0
	.align 4
	.long	0

.LLSDATT4567:
	.section	.text._ZNSt6vectorIS_I6uchar4SaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_,"axG",@progbits,_ZNSt6vectorIS_I6uchar4SaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_,comdat
	.size	_ZNSt6vectorIS_I6uchar4SaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_, .-_ZNSt6vectorIS_I6uchar4SaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_
	.section	.rodata.str1.1
.LC14:
	.string	"wb"
	.section	.text.startup
	.globl	main
	.type	main, @function
main:
.LFB4025:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4025
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	leaq	_ZSt3cin(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	pushq	%r13
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	leaq	-192(%rbp), %r13
	pushq	%r12
	pushq	%rbx
	subq	$280, %rsp
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	leaq	-176(%rbp), %rax
	movq	%rsi, -152(%rbp)
	movq	%r13, %rsi
	movq	%rax, -192(%rbp)
	leaq	-144(%rbp), %rax
	movl	%edx, -256(%rbp)
	movq	%rcx, -184(%rbp)
	movb	$0, -176(%rbp)
	movq	%rax, -160(%rbp)
	movb	$0, -144(%rbp)
.LEHB9:
	call	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movq	%rax, %rdi
	leaq	-160(%rbp), %rsi
	call	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movq	%rax, %rdi
	leaq	-256(%rbp), %rsi
	call	_ZNSirsERi@PLT
.LEHE9:
	movq	8+cls(%rip), %rsi
	xorl	%eax, %eax
	movq	cls(%rip), %rbx
	movabsq	$-6148914691236517205, %rcx
	movq	%rax, -216(%rbp)
	movslq	-256(%rbp), %rdx
	leaq	cls(%rip), %r14
	leaq	-216(%rbp), %r12
	movq	%rax, -208(%rbp)
	movq	%rax, -200(%rbp)
	movq	%rsi, %rax
	subq	%rbx, %rax
	sarq	$3, %rax
	imulq	%rcx, %rax
	cmpq	%rdx, %rax
	jnb	.L158
	subq	%rax, %rdx
	movq	%r12, %rcx
	movq	%r14, %rdi
.LEHB10:
	call	_ZNSt6vectorIS_I6uchar4SaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_
.LEHE10:
	jmp	.L159
.L158:
	cmpq	%rax, %rdx
	jnb	.L159
	imulq	$24, %rdx, %rdx
	addq	%rdx, %rbx
	cmpq	%rbx, %rsi
	je	.L159
	movq	%rbx, %rdi
	call	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt6vectorI6uchar4SaIS3_EEEEvT_S7_
	movq	%rbx, 8+cls(%rip)
.L159:
	movq	%r12, %rdi
	call	_ZNSt6vectorI6uchar4SaIS0_EED1Ev
	movslq	-256(%rbp), %rbx
	movq	%rsp, %rsi
	imulq	$24, %rbx, %rcx
	leaq	15(%rcx), %rdx
	movq	%rdx, %rax
	andq	$-4096, %rdx
	andq	$-16, %rax
	subq	%rdx, %rsi
.L161:
	cmpq	%rsi, %rsp
	je	.L162
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L161
.L162:
	andl	$4095, %eax
	subq	%rax, %rsp
	testq	%rax, %rax
	je	.L163
	orq	$0, -8(%rsp,%rax)
.L163:
	imulq	$72, %rbx, %rbx
	movq	%rsp, -272(%rbp)
	movq	%rsp, %rsi
	leaq	15(%rbx), %rdx
	movq	%rdx, %rax
	andq	$-4096, %rdx
	andq	$-16, %rax
	subq	%rdx, %rsi
.L164:
	cmpq	%rsi, %rsp
	je	.L165
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L164
.L165:
	andl	$4095, %eax
	subq	%rax, %rsp
	testq	%rax, %rax
	je	.L166
	orq	$0, -8(%rsp,%rax)
.L166:
	movq	-272(%rbp), %rdi
	movq	%rcx, %rdx
	xorl	%esi, %esi
	movq	%rsp, -280(%rbp)
	call	__memset_chk@PLT
	movq	%rbx, %rcx
	movq	%rbx, %rdx
	xorl	%esi, %esi
	movq	-280(%rbp), %rdi
	leaq	-128(%rbp), %rbx
	call	__memset_chk@PLT
	movq	%r13, %rsi
	movq	%rbx, %rdi
.LEHB11:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_@PLT
.LEHE11:
	movq	%rbx, %rsi
	movq	%r12, %rdi
.LEHB12:
	call	_ZN3IMGC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
.LEHE12:
	movq	%rbx, %rdi
	xorl	%r12d, %r12d
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movl	-216(%rbp), %eax
	movl	%eax, -284(%rbp)
	movq	-272(%rbp), %rax
	movq	%rax, -264(%rbp)
	movq	%rax, %rbx
	leaq	-252(%rbp), %rax
	movq	%rax, -304(%rbp)
.L167:
	movl	-256(%rbp), %r13d
	cmpl	%r12d, %r13d
	jle	.L241
	movq	-304(%rbp), %rsi
	leaq	_ZSt3cin(%rip), %rdi
.LEHB13:
	call	_ZNSirsERi@PLT
	imulq	$24, %r12, %r15
	leaq	-248(%rbp), %rax
	xorl	%r13d, %r13d
	movq	%rax, -296(%rbp)
.L168:
	movl	-252(%rbp), %eax
	cmpl	%r13d, %eax
	jle	.L242
	movq	-296(%rbp), %rsi
	leaq	_ZSt3cin(%rip), %rdi
	call	_ZNSirsERi@PLT
	movq	%rax, %rdi
	leaq	-240(%rbp), %rsi
	call	_ZNSirsERi@PLT
	movq	-200(%rbp), %rdx
	movl	-284(%rbp), %eax
	movq	(%r14), %rdi
	imull	-240(%rbp), %eax
	addl	-248(%rbp), %eax
	movl	(%rdx,%rax,4), %eax
	addq	%r15, %rdi
	movq	8(%rdi), %rsi
	movl	%eax, -228(%rbp)
	cmpq	16(%rdi), %rsi
	je	.L169
	movl	%eax, (%rsi)
	addq	$4, %rsi
	movq	%rsi, 8(%rdi)
	jmp	.L170
.L169:
	leaq	-228(%rbp), %rdx
	call	_ZNSt6vectorI6uchar4SaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_
.L170:
	movzbl	-228(%rbp), %eax
	incl	%r13d
	cvtsi2sdl	%eax, %xmm0
	addsd	(%rbx), %xmm0
	movzbl	-227(%rbp), %eax
	movsd	%xmm0, (%rbx)
	cvtsi2sdl	%eax, %xmm0
	addsd	8(%rbx), %xmm0
	movzbl	-226(%rbp), %eax
	movsd	%xmm0, 8(%rbx)
	cvtsi2sdl	%eax, %xmm0
	addsd	16(%rbx), %xmm0
	movsd	%xmm0, 16(%rbx)
	jmp	.L168
.L242:
	cvtsi2sdl	%eax, %xmm1
	movsd	(%rbx), %xmm0
	incq	%r12
	addq	$24, %rbx
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -24(%rbx)
	movsd	-16(%rbx), %xmm0
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbx)
	movsd	-8(%rbx), %xmm0
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -8(%rbx)
	jmp	.L167
.L241:
	movq	-280(%rbp), %rbx
	movq	cls(%rip), %r14
	xorl	%r12d, %r12d
.L173:
	cmpl	%r12d, %r13d
	jle	.L243
	movq	(%r14), %rsi
	movq	8(%r14), %rax
	xorl	%edx, %edx
	subq	%rsi, %rax
	sarq	$2, %rax
.L174:
	cmpl	%edx, %eax
	jle	.L244
	movzbl	(%rsi,%rdx,4), %r9d
	movq	-264(%rbp), %rcx
	movq	%rbx, %r10
	movzbl	1(%rsi,%rdx,4), %r8d
	movzbl	2(%rsi,%rdx,4), %edi
	cvtsi2sdl	%r9d, %xmm0
	subsd	(%rcx), %xmm0
	xorl	%r9d, %r9d
	movsd	%xmm0, -128(%rbp)
	cvtsi2sdl	%r8d, %xmm0
	subsd	8(%rcx), %xmm0
	movsd	%xmm0, -120(%rbp)
	cvtsi2sdl	%edi, %xmm0
	subsd	16(%rcx), %xmm0
	movsd	%xmm0, -112(%rbp)
.L175:
	leaq	-128(%rbp), %r11
	movq	%r10, %r8
	xorl	%edi, %edi
	movsd	(%r11,%r9,8), %xmm1
.L176:
	movsd	(%r11,%rdi), %xmm0
	addq	$8, %rdi
	addq	$8, %r8
	mulsd	%xmm1, %xmm0
	addsd	-8(%r8), %xmm0
	movsd	%xmm0, -8(%r8)
	cmpq	$24, %rdi
	jne	.L176
	incq	%r9
	addq	$24, %r10
	cmpq	$3, %r9
	jne	.L175
	incq	%rdx
	jmp	.L174
.L244:
	decl	%eax
	movq	%rbx, %rsi
	movl	$3, %edi
	cvtsi2sdl	%eax, %xmm1
.L179:
	movq	%rsi, %rax
	xorl	%edx, %edx
.L180:
	movsd	(%rax), %xmm0
	incl	%edx
	addq	$8, %rax
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -8(%rax)
	cmpl	$3, %edx
	jne	.L180
	addq	$24, %rsi
	decl	%edi
	jne	.L179
	movq	%rbx, %rdi
	call	_Z6det3x3PA3_d
	xorl	%eax, %eax
	movaps	%xmm0, %xmm1
.L182:
	movl	%eax, -284(%rbp)
	leaq	-128(%rbp), %r15
	xorl	%edx, %edx
	leaq	(%r15,%rax,8), %r8
.L187:
	xorps	%xmm2, %xmm2
	ucomisd	%xmm2, %xmm1
	jp	.L183
	jne	.L183
	xorps	%xmm0, %xmm0
	cmpl	%eax, %edx
	jne	.L186
	movsd	.LC13(%rip), %xmm0
	jmp	.L186
.L183:
	movl	-284(%rbp), %esi
	movq	%rbx, %rdi
	movq	%rax, -312(%rbp)
	movq	%r8, -304(%rbp)
	movl	%edx, -296(%rbp)
	movsd	%xmm1, -320(%rbp)
	call	_Z6cof3x3PA3_dii
	movsd	-320(%rbp), %xmm1
	movq	-312(%rbp), %rax
	movq	-304(%rbp), %r8
	movl	-296(%rbp), %edx
	divsd	%xmm1, %xmm0
.L186:
	incl	%edx
	movsd	%xmm0, (%r8)
	addq	$24, %r8
	cmpl	$3, %edx
	jne	.L187
	incq	%rax
	cmpq	$3, %rax
	jne	.L182
	leaq	72(%r15), %rdx
	movq	%rbx, %rax
.L189:
	movsd	(%r15), %xmm0
	addq	$24, %r15
	addq	$24, %rax
	movsd	%xmm0, -24(%rax)
	movsd	-16(%r15), %xmm0
	movsd	%xmm0, -16(%rax)
	movsd	-8(%r15), %xmm0
	movsd	%xmm0, -8(%rax)
	cmpq	%r15, %rdx
	jne	.L189
	addq	$24, -264(%rbp)
	incq	%r12
	addq	$72, %rbx
	addq	$24, %r14
	jmp	.L173
.L243:
	movslq	%r13d, %rdx
	movq	-272(%rbp), %rsi
	movl	$1, %r8d
	xorl	%ecx, %ecx
	imulq	$24, %rdx, %rdx
	leaq	_ZL7GPU_AVG(%rip), %rdi
	call	cudaMemcpyToSymbol@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L191
	call	cudaGetErrorString@PLT
	movq	%rax, %r9
	movl	$234, %r8d
.L236:
	movq	stderr(%rip), %rdi
	leaq	.LC0(%rip), %rcx
	leaq	.LC1(%rip), %rdx
	xorl	%eax, %eax
	movl	$2, %esi
	call	__fprintf_chk@PLT
	xorl	%edi, %edi
	call	exit@PLT
.L191:
	movslq	-256(%rbp), %rdx
	movq	-280(%rbp), %rsi
	movl	$1, %r8d
	xorl	%ecx, %ecx
	leaq	_ZL14GPU_INVERT_COV(%rip), %rdi
	imulq	$72, %rdx, %rdx
	call	cudaMemcpyToSymbol@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L192
	call	cudaGetErrorString@PLT
	movq	%rax, %r9
	movl	$235, %r8d
	jmp	.L236
.L192:
	movq	-208(%rbp), %rax
	leaq	-248(%rbp), %rdi
	leaq	0(,%rax,4), %rsi
	call	cudaMalloc@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L194
	call	cudaGetErrorString@PLT
	movq	%rax, %r9
	movl	$236, %r8d
	jmp	.L236
.L194:
	movq	-208(%rbp), %rax
	movq	-200(%rbp), %rsi
	movl	$1, %ecx
	movq	-248(%rbp), %rdi
	leaq	0(,%rax,4), %rdx
	call	cudaMemcpy@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L195
	call	cudaGetErrorString@PLT
	movq	%rax, %r9
	movl	$237, %r8d
	jmp	.L236
.L195:
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	$1, %ecx
	movl	$1, %esi
	movabsq	$68719476752, %rdi
	movl	$1, -220(%rbp)
	movq	%rdi, %rdx
	movq	%rdi, -228(%rbp)
	movq	%rdi, -240(%rbp)
	movl	$1, -232(%rbp)
	call	__cudaPushCallConfiguration@PLT
	movq	-248(%rbp), %rdi
	testl	%eax, %eax
	jne	.L196
	movl	-256(%rbp), %ecx
	movl	-212(%rbp), %edx
	movl	-216(%rbp), %esi
	call	_Z34__device_stub__Z6kernelP6uchar4jjiP6uchar4jji
.L196:
	movq	-208(%rbp), %rax
	movq	-248(%rbp), %rsi
	movl	$2, %ecx
	movq	-200(%rbp), %rdi
	leaq	0(,%rax,4), %rdx
	call	cudaMemcpy@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L197
	call	cudaGetErrorString@PLT
	movq	%rax, %r9
	movl	$241, %r8d
	jmp	.L236
.L197:
	movq	-248(%rbp), %rdi
	call	cudaFree@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L198
	call	cudaGetErrorString@PLT
	movq	%rax, %r9
	movl	$242, %r8d
	jmp	.L236
.L198:
	leaq	-160(%rbp), %r13
	leaq	-128(%rbp), %r12
	movq	%r13, %rsi
	movq	%r12, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_@PLT
.LEHE13:
	movq	-128(%rbp), %rdi
	leaq	.LC14(%rip), %rsi
.LEHB14:
	call	fopen@PLT
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	.L199
	leaq	.LC6(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	%r12, %rsi
	call	_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movq	%rax, %rdi
	leaq	.LC7(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	jmp	.L200
.L199:
	leaq	-216(%rbp), %rdi
	movq	%rax, %rcx
	movl	$1, %edx
	movl	$4, %esi
	call	fwrite@PLT
	leaq	-212(%rbp), %rdi
	movq	%rbx, %rcx
	movl	$1, %edx
	movl	$4, %esi
	call	fwrite@PLT
	movq	-208(%rbp), %rdx
	movq	-200(%rbp), %rdi
	movq	%rbx, %rcx
	movl	$4, %esi
	call	fwrite@PLT
	movq	%rbx, %rdi
	call	fclose@PLT
.LEHE14:
.L200:
	movq	%r12, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	-200(%rbp), %rdi
	testq	%rdi, %rdi
	je	.L201
	call	_ZdaPv@PLT
.L201:
	movq	%r13, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	leaq	-192(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	je	.L209
	jmp	.L233
.L212:
	endbr64
	movq	%rax, %rbx
.L202:
	movq	%r12, %rdi
	call	_ZNSt6vectorI6uchar4SaIS0_EED1Ev
	jmp	.L203
.L213:
	endbr64
	movq	%rax, %r12
.L204:
	movq	%rbx, %rdi
	movq	%r12, %rbx
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L203
.L215:
	endbr64
	movq	%rax, %rbx
.L205:
	movq	%r12, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L206
.L214:
	endbr64
	movq	%rax, %rbx
.L206:
	movq	-200(%rbp), %rdi
	testq	%rdi, %rdi
	je	.L203
	call	_ZdaPv@PLT
	jmp	.L203
.L211:
	endbr64
	movq	%rax, %rbx
.L203:
	leaq	-160(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	leaq	-192(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L233
	movq	%rbx, %rdi
.LEHB15:
	call	_Unwind_Resume@PLT
.LEHE15:
.L233:
	call	__stack_chk_fail@PLT
.L209:
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4025:
	.section	.gcc_except_table,"a",@progbits
.LLSDA4025:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4025-.LLSDACSB4025
.LLSDACSB4025:
	.uleb128 .LEHB9-.LFB4025
	.uleb128 .LEHE9-.LEHB9
	.uleb128 .L211-.LFB4025
	.uleb128 0
	.uleb128 .LEHB10-.LFB4025
	.uleb128 .LEHE10-.LEHB10
	.uleb128 .L212-.LFB4025
	.uleb128 0
	.uleb128 .LEHB11-.LFB4025
	.uleb128 .LEHE11-.LEHB11
	.uleb128 .L211-.LFB4025
	.uleb128 0
	.uleb128 .LEHB12-.LFB4025
	.uleb128 .LEHE12-.LEHB12
	.uleb128 .L213-.LFB4025
	.uleb128 0
	.uleb128 .LEHB13-.LFB4025
	.uleb128 .LEHE13-.LEHB13
	.uleb128 .L214-.LFB4025
	.uleb128 0
	.uleb128 .LEHB14-.LFB4025
	.uleb128 .LEHE14-.LEHB14
	.uleb128 .L215-.LFB4025
	.uleb128 0
	.uleb128 .LEHB15-.LFB4025
	.uleb128 .LEHE15-.LEHB15
	.uleb128 0
	.uleb128 0
.LLSDACSE4025:
	.section	.text.startup
	.size	main, .-main
	.type	_GLOBAL__sub_I_start, @function
_GLOBAL__sub_I_start:
.LFB4976:
	.cfi_startproc
	endbr64
	xorl	%eax, %eax
	leaq	__dso_handle(%rip), %rdx
	leaq	cls(%rip), %rsi
	leaq	_ZNSt6vectorIS_I6uchar4SaIS0_EESaIS2_EED1Ev(%rip), %rdi
	movq	%rax, cls(%rip)
	movq	%rax, 8+cls(%rip)
	movq	%rax, 16+cls(%rip)
	jmp	__cxa_atexit@PLT
	.cfi_endproc
.LFE4976:
	.size	_GLOBAL__sub_I_start, .-_GLOBAL__sub_I_start
	.section	.init_array
	.align 8
	.quad	_GLOBAL__sub_I_start
	.section	.nvFatBinSegment,"aw"
	.align 8
	.type	_ZL15__fatDeviceText, @object
	.size	_ZL15__fatDeviceText, 24
_ZL15__fatDeviceText:
	.long	1180844977
	.long	1
	.quad	fatbinData
	.quad	0
	.local	_ZL20__cudaFatCubinHandle
	.comm	_ZL20__cudaFatCubinHandle,8,8
	.local	_ZL14GPU_INVERT_COV
	.comm	_ZL14GPU_INVERT_COV,3600,32
	.local	_ZL7GPU_AVG
	.comm	_ZL7GPU_AVG,1200,32
	.globl	cls
	.bss
	.align 16
	.type	cls, @object
	.size	cls, 24
cls:
	.zero	24
	.globl	t
	.align 4
	.type	t, @object
	.size	t, 4
t:
	.zero	4
	.globl	stop
	.align 8
	.type	stop, @object
	.size	stop, 8
stop:
	.zero	8
	.globl	start
	.align 8
	.type	start, @object
	.size	start, 8
start:
	.zero	8
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC3:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC13:
	.long	0
	.long	1072693248
	.hidden	DW.ref.__gxx_personality_v0
	.weak	DW.ref.__gxx_personality_v0
	.section	.data.rel.local.DW.ref.__gxx_personality_v0,"awG",@progbits,DW.ref.__gxx_personality_v0,comdat
	.align 8
	.type	DW.ref.__gxx_personality_v0, @object
	.size	DW.ref.__gxx_personality_v0, 8
DW.ref.__gxx_personality_v0:
	.quad	__gxx_personality_v0
	.hidden	__dso_handle
	.ident	"GCC: (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:


#include <hip/hip_runtime.h>
#include <cstdio>
#include <string>
#include <cassert>
#include <iostream>
#include <cstddef>
#include <vector>


#define uint8_t  unsigned char
#define uint16_t unsigned short
#define uint32_t unsigned int
#define uint64_t unsigned long long

using namespace std;
//
// DEFAULt functions for work with cuda
//

#define CSC(call) do { \
	hipError_t res = call;	\
	if (res != hipSuccess) { \
		fprintf(stderr, "CUDA Error in %s:%d: %s\n", __FILE__, __LINE__, hipGetErrorString(res)); \
		exit(0); \
	} \
} while (0)


hipEvent_t start, stop;
float t;

void time_start() {
	CSC(hipEventCreate(&start));
	CSC(hipEventCreate(&stop));
	CSC(hipEventRecord(start, 0));
}

void time_end() {
	CSC(hipGetLastError());
	CSC(hipEventRecord(stop, 0));
	CSC(hipEventSynchronize(stop));
	CSC(hipEventElapsedTime(&t, start, stop));	
	printf("time = %f\n", t);
	CSC(hipEventDestroy(start));
	CSC(hipEventDestroy(stop));
}

double minor3x3(double m[3][3], int i, int j) {
	double arr[4];
	int len = 0;
	for (int row = 0; row < 3; row++) {
		for (int col = 0; col < 3; col++) {
			if (col == j || row == i) continue;
			arr[len++] = m[row][col];
		}
	}
	return arr[0] * arr[3] - arr[1] * arr[2];
}

double cof3x3(double m[3][3], int i, int j) {
    double mr = minor3x3(m, i, j);
    if ((i+j) % 2 == 1)
        mr *= -1;
    return mr;
}

double det3x3(double m[3][3]) {
	double res = 0;
	for (int col = 0; col < 3; col++) {
		res += m[0][col] * cof3x3(m, 0, col);
	}
	return res;
}

class IMG {
public:
	uint32_t w;
    uint32_t h;
    uint64_t size;
	uchar4 *data;

	IMG() : w(0), h(0), size(0), data(NULL) {}

	IMG(string path) {
		FILE *fin = fopen(path.c_str(), "rb");
		if (!fin) {
            cout << "Wrong file name " << path << "!\n";
			return;
		}
		fread(&w, sizeof(uint32_t), 1, fin);
		fread(&h, sizeof(uint32_t), 1, fin);
        size = w * h;
		data = new uchar4[size];
		fread(data, sizeof(uchar4), size, fin);
		fclose(fin);
	}
	~IMG() {
		if (data != NULL) {
			delete[] data;
		}
	}

	void toFile(string path) {
		FILE *fout = fopen(path.c_str(), "wb");
		if (!fout) {
            cout << "Wrong file name " << path << "!\n";
			return;
		}
		fwrite(&w, sizeof(uint32_t), 1, fout);
		fwrite(&h, sizeof(uint32_t), 1, fout);
		fwrite(data, sizeof(uchar4), size, fout);
		fclose(fout);
	}
};

//
// main programm
//



#define pixel uchar4
#define p(x, y) data[y*w + x]

vector<vector<pixel> > cls;
__constant__ double GPU_AVG[50][3];
__constant__ double GPU_INVERT_COV[50][3][3];


__device__ double mahalanobis(const pixel p, int ci) {
	double v[3] = {p.x - GPU_AVG[ci][0], 
                   p.y - GPU_AVG[ci][1], 
                   p.z - GPU_AVG[ci][2] 
                  };
	double tmp[3] = {0, 0, 0}, res = 0;
	for (int i = 0; i < 3; ++i) {
		for (int j = 0; j < 3; ++j) {
			tmp[i] += v[j] * GPU_INVERT_COV[ci][j][i];
		}
        res -= tmp[i] * v[i];
	}
	return res;
}

__device__ void classify(pixel &p, int cnum) {
	double mx = mahalanobis(p, 0);
	p.w = 0;
	for (char ci = 1; ci < cnum; ++ci) {
		double tmp = mahalanobis(p, ci);
		if (tmp > mx) {
			mx = tmp;
			p.w = ci;
		}
	}
}

__global__ void kernel(uchar4 *data, uint32_t w, uint32_t h, int cnum) {
	int idx = blockDim.x * blockIdx.x + threadIdx.x;
	int idy = blockDim.y * blockIdx.y + threadIdx.y;
	int offsetx = blockDim.x * gridDim.x;
	int offsety = blockDim.y * gridDim.y;

	for (int x = idx; x < w; x += offsetx) {
		for (int y = idy; y < h; y += offsety) {
			classify(p(x, y), cnum);
		}
	}
}

int main() {
int cnum = 0;
	string in, out;
	cin >> in >> out >> cnum;

    cls.resize(cnum, vector<pixel>());
    double cavg[cnum][3];
    double ccov[cnum][3][3];
    memset(cavg, 0, sizeof(double) * cnum * 3);
    memset(ccov, 0, sizeof(double) * cnum * 9);
	IMG img(in);
    uint32_t w = img.w; 

    for (int i = 0; i < cnum; ++i) {
        int csize, x, y;
        cin >> csize;
        for (int j = 0; j < csize; ++j) {
            cin >> x >> y;
            pixel p = img.p(x, y);
            cls[i].push_back(p);
            cavg[i][0] += p.x;    
            cavg[i][1] += p.y;    
            cavg[i][2] += p.z;    
        }
        for (int j = 0; j < 3; ++j) cavg[i][j] /= csize;
    }

	for (int c = 0; c < cnum; ++c) {
        int csize = cls[c].size();
		for (int i = 0; i < csize; ++i) {
			pixel p = cls[c][i];
			double coeff[3] = {p.x - cavg[c][0], 
                               p.y - cavg[c][1], 
                               p.z - cavg[c][2]
                              };

			for (int r = 0; r < 3; ++r) {
				for (int s = 0; s < 3; ++s) {
					ccov[c][r][s] += coeff[r] * coeff[s];
				}
			}
		}
        for (int r = 0; r < 3; ++r) {
            for (int s = 0; s < 3; ++s) {
				ccov[c][r][s] /= csize - 1;
			}
		}
		double det = det3x3(ccov[c]);
        double icov[3][3];
        for (int r = 0; r < 3; ++r) {
            for (int s = 0; s < 3; ++s) {
				if (det == 0) {
					icov[s][r] = (r == s ? 1 : 0);
				} else {
					icov[s][r] = cof3x3(ccov[c], r, s) / det;
				}
			}
		}
        for (int r = 0; r < 3; ++r) {
            for (int s = 0; s < 3; ++s) {
				ccov[c][r][s] = icov[r][s];
			}
		}
	}
	uchar4 *result;
	CSC(hipMemcpyToSymbol(HIP_SYMBOL(GPU_AVG), cavg, sizeof(double) * cnum * 3));
	CSC(hipMemcpyToSymbol(HIP_SYMBOL(GPU_INVERT_COV), ccov, sizeof(double) * cnum * 9));
	CSC(hipMalloc(&result, sizeof(uchar4) * img.size));
	CSC(hipMemcpy(result, img.data, sizeof(uchar4) * img.size, hipMemcpyHostToDevice));

	kernel<<<dim3(16, 16), dim3(16, 16)>>>(result, img.w, img.h, cnum);

	CSC(hipMemcpy(img.data, result, sizeof(uchar4) * img.size, hipMemcpyDeviceToHost));
	CSC(hipFree(result));

	img.toFile(out);
}

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

                                        # End of file scope inline assembly
	.globl	_Z10time_startv                 # -- Begin function _Z10time_startv
	.type	_Z10time_startv,@function
_Z10time_startv:                        # @_Z10time_startv
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movl	$start, %edi
	callq	hipEventCreate
	testl	%eax, %eax
	jne	.LBB0_1
# %bb.3:
	movl	$stop, %edi
	callq	hipEventCreate
	testl	%eax, %eax
	jne	.LBB0_4
# %bb.5:
	movq	start(%rip), %rdi
	xorl	%esi, %esi
	callq	hipEventRecord
	testl	%eax, %eax
	jne	.LBB0_6
# %bb.7:
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.LBB0_1:
	.cfi_def_cfa_offset 16
	movq	stderr(%rip), %rbx
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%rbx, %rdi
	movl	$34, %ecx
	jmp	.LBB0_2
.LBB0_4:
	movq	stderr(%rip), %rbx
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%rbx, %rdi
	movl	$35, %ecx
	jmp	.LBB0_2
.LBB0_6:
	movq	stderr(%rip), %rbx
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%rbx, %rdi
	movl	$36, %ecx
.LBB0_2:
	movq	%rax, %r8
	xorl	%eax, %eax
	callq	fprintf
	xorl	%edi, %edi
	callq	exit
.Lfunc_end0:
	.size	_Z10time_startv, .Lfunc_end0-_Z10time_startv
	.cfi_endproc
                                        # -- End function
	.globl	_Z8time_endv                    # -- Begin function _Z8time_endv
	.type	_Z8time_endv,@function
_Z8time_endv:                           # @_Z8time_endv
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	callq	hipGetLastError
	testl	%eax, %eax
	jne	.LBB1_1
# %bb.3:
	movq	stop(%rip), %rdi
	xorl	%esi, %esi
	callq	hipEventRecord
	testl	%eax, %eax
	jne	.LBB1_4
# %bb.5:
	movq	stop(%rip), %rdi
	callq	hipEventSynchronize
	testl	%eax, %eax
	jne	.LBB1_6
# %bb.7:
	movq	start(%rip), %rsi
	movq	stop(%rip), %rdx
	movl	$t, %edi
	callq	hipEventElapsedTime
	testl	%eax, %eax
	jne	.LBB1_8
# %bb.9:
	cvtss2sd	t(%rip), %xmm0
	movl	$.L.str.2, %edi
	movb	$1, %al
	callq	printf
	movq	start(%rip), %rdi
	callq	hipEventDestroy
	testl	%eax, %eax
	jne	.LBB1_10
# %bb.11:
	movq	stop(%rip), %rdi
	callq	hipEventDestroy
	testl	%eax, %eax
	jne	.LBB1_12
# %bb.13:
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.LBB1_1:
	.cfi_def_cfa_offset 16
	movq	stderr(%rip), %rbx
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%rbx, %rdi
	movl	$40, %ecx
	jmp	.LBB1_2
.LBB1_4:
	movq	stderr(%rip), %rbx
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%rbx, %rdi
	movl	$41, %ecx
	jmp	.LBB1_2
.LBB1_6:
	movq	stderr(%rip), %rbx
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%rbx, %rdi
	movl	$42, %ecx
	jmp	.LBB1_2
.LBB1_8:
	movq	stderr(%rip), %rbx
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%rbx, %rdi
	movl	$43, %ecx
	jmp	.LBB1_2
.LBB1_10:
	movq	stderr(%rip), %rbx
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%rbx, %rdi
	movl	$45, %ecx
	jmp	.LBB1_2
.LBB1_12:
	movq	stderr(%rip), %rbx
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%rbx, %rdi
	movl	$46, %ecx
.LBB1_2:
	movq	%rax, %r8
	xorl	%eax, %eax
	callq	fprintf
	xorl	%edi, %edi
	callq	exit
.Lfunc_end1:
	.size	_Z8time_endv, .Lfunc_end1-_Z8time_endv
	.cfi_endproc
                                        # -- End function
	.globl	_Z8minor3x3PA3_dii              # -- Begin function _Z8minor3x3PA3_dii
	.type	_Z8minor3x3PA3_dii,@function
_Z8minor3x3PA3_dii:                     # @_Z8minor3x3PA3_dii
	.cfi_startproc
# %bb.0:
	movl	%edx, %eax
	movl	%esi, %ecx
	xorl	%edx, %edx
	xorl	%esi, %esi
.LBB2_1:                                # %.preheader
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB2_2 Depth 2
	xorl	%r8d, %r8d
.LBB2_2:                                #   Parent Loop BB2_1 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	cmpq	%rcx, %rdx
	je	.LBB2_5
# %bb.3:                                #   in Loop: Header=BB2_2 Depth=2
	cmpq	%r8, %rax
	je	.LBB2_5
# %bb.4:                                #   in Loop: Header=BB2_2 Depth=2
	movsd	(%rdi,%r8,8), %xmm0             # xmm0 = mem[0],zero
	movslq	%esi, %r9
	incl	%esi
	movsd	%xmm0, -40(%rsp,%r9,8)
.LBB2_5:                                #   in Loop: Header=BB2_2 Depth=2
	incq	%r8
	cmpq	$3, %r8
	jne	.LBB2_2
# %bb.6:                                #   in Loop: Header=BB2_1 Depth=1
	incq	%rdx
	addq	$24, %rdi
	cmpq	$3, %rdx
	jne	.LBB2_1
# %bb.7:
	movsd	-40(%rsp), %xmm0                # xmm0 = mem[0],zero
	movsd	-32(%rsp), %xmm1                # xmm1 = mem[0],zero
	mulsd	-16(%rsp), %xmm0
	mulsd	-24(%rsp), %xmm1
	subsd	%xmm1, %xmm0
	retq
.Lfunc_end2:
	.size	_Z8minor3x3PA3_dii, .Lfunc_end2-_Z8minor3x3PA3_dii
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst16,"aM",@progbits,16
	.p2align	4, 0x0                          # -- Begin function _Z6cof3x3PA3_dii
.LCPI3_0:
	.quad	0x8000000000000000              # double -0
	.quad	0x8000000000000000              # double -0
	.text
	.globl	_Z6cof3x3PA3_dii
	.type	_Z6cof3x3PA3_dii,@function
_Z6cof3x3PA3_dii:                       # @_Z6cof3x3PA3_dii
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %rbp, -16
	movl	%edx, %ebx
	movl	%esi, %ebp
	callq	_Z8minor3x3PA3_dii
	addl	%ebp, %ebx
	andl	$-2147483647, %ebx              # imm = 0x80000001
	cmpl	$1, %ebx
	jne	.LBB3_2
# %bb.1:
	xorps	.LCPI3_0(%rip), %xmm0
.LBB3_2:
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end3:
	.size	_Z6cof3x3PA3_dii, .Lfunc_end3-_Z6cof3x3PA3_dii
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst16,"aM",@progbits,16
	.p2align	4, 0x0                          # -- Begin function _Z6det3x3PA3_d
.LCPI4_0:
	.quad	0x8000000000000000              # double -0
	.quad	0x8000000000000000              # double -0
	.text
	.globl	_Z6det3x3PA3_d
	.type	_Z6det3x3PA3_d,@function
_Z6det3x3PA3_d:                         # @_Z6det3x3PA3_d
	.cfi_startproc
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	movq	%rdi, %rbx
	xorpd	%xmm0, %xmm0
	xorl	%r14d, %r14d
.LBB4_1:                                # =>This Inner Loop Header: Depth=1
	movsd	%xmm0, 16(%rsp)                 # 8-byte Spill
	movsd	(%rbx,%r14,8), %xmm0            # xmm0 = mem[0],zero
	movsd	%xmm0, 8(%rsp)                  # 8-byte Spill
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_Z8minor3x3PA3_dii
	testb	$1, %r14b
	je	.LBB4_3
# %bb.2:                                #   in Loop: Header=BB4_1 Depth=1
	xorpd	.LCPI4_0(%rip), %xmm0
.LBB4_3:                                #   in Loop: Header=BB4_1 Depth=1
	movsd	8(%rsp), %xmm1                  # 8-byte Reload
                                        # xmm1 = mem[0],zero
	mulsd	%xmm0, %xmm1
	movsd	16(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	addsd	%xmm1, %xmm0
	incq	%r14
	cmpq	$3, %r14
	jne	.LBB4_1
# %bb.4:
	addq	$24, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end4:
	.size	_Z6det3x3PA3_d, .Lfunc_end4-_Z6det3x3PA3_d
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EED2Ev,"axG",@progbits,_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EED2Ev,comdat
	.weak	_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EED2Ev # -- Begin function _ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EED2Ev
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EED2Ev,@function
_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EED2Ev: # @_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EED2Ev
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	(%rdi), %rbx
	movq	8(%rdi), %r15
	cmpq	%r15, %rbx
	je	.LBB5_6
# %bb.1:                                # %.lr.ph.i.i.i.preheader
	movq	%rdi, %r14
.LBB5_2:                                # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB5_4
# %bb.3:                                #   in Loop: Header=BB5_2 Depth=1
	callq	_ZdlPv
.LBB5_4:                                # %_ZSt8_DestroyISt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEEvPT_.exit.i.i.i
                                        #   in Loop: Header=BB5_2 Depth=1
	addq	$24, %rbx
	cmpq	%r15, %rbx
	jne	.LBB5_2
# %bb.5:                                # %_ZSt8_DestroyIPSt6vectorI15HIP_vector_typeIhLj4EESaIS2_EES4_EvT_S6_RSaIT0_E.exitthread-pre-split
	movq	(%r14), %rbx
.LBB5_6:                                # %_ZSt8_DestroyIPSt6vectorI15HIP_vector_typeIhLj4EESaIS2_EES4_EvT_S6_RSaIT0_E.exit
	testq	%rbx, %rbx
	je	.LBB5_7
# %bb.8:
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZdlPv                          # TAILCALL
.LBB5_7:                                # %_ZNSt12_Vector_baseISt6vectorI15HIP_vector_typeIhLj4EESaIS2_EESaIS4_EED2Ev.exit
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end5:
	.size	_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EED2Ev, .Lfunc_end5-_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EED2Ev
	.cfi_endproc
                                        # -- End function
	.text
	.globl	_Z21__device_stub__kernelP15HIP_vector_typeIhLj4EEjji # -- Begin function _Z21__device_stub__kernelP15HIP_vector_typeIhLj4EEjji
	.type	_Z21__device_stub__kernelP15HIP_vector_typeIhLj4EEjji,@function
_Z21__device_stub__kernelP15HIP_vector_typeIhLj4EEjji: # @_Z21__device_stub__kernelP15HIP_vector_typeIhLj4EEjji
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	20(%rsp), %rdi
	movl	%esi, (%rdi)
	leaq	16(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	12(%rsp), %rdx
	movl	%ecx, (%rdx)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	32(%rsp), %r12
	leaq	24(%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	$_Z6kernelP15HIP_vector_typeIhLj4EEjji, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end6:
	.size	_Z21__device_stub__kernelP15HIP_vector_typeIhLj4EEjji, .Lfunc_end6-_Z21__device_stub__kernelP15HIP_vector_typeIhLj4EEjji
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst16,"aM",@progbits,16
	.p2align	4, 0x0                          # -- Begin function main
.LCPI7_0:
	.quad	0x8000000000000000              # double -0
	.quad	0x8000000000000000              # double -0
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0
.LCPI7_1:
	.quad	0x3ff0000000000000              # double 1
	.text
	.globl	main
	.type	main,@function
main:                                   # @main
.Lfunc_begin0:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception0
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$312, %rsp                      # imm = 0x138
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$0, -44(%rbp)
	leaq	-272(%rbp), %rcx
	movq	%rcx, -16(%rcx)
	xorl	%eax, %eax
	movq	%rax, -8(%rcx)
	movb	%al, (%rcx)
	leaq	-240(%rbp), %rcx
	movq	%rcx, -16(%rcx)
	movq	%rax, -8(%rcx)
	movb	%al, (%rcx)
.Ltmp0:
	leaq	-288(%rbp), %rsi
	movl	$_ZSt3cin, %edi
	callq	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE
.Ltmp1:
# %bb.1:
.Ltmp2:
	leaq	-256(%rbp), %rsi
	movq	%rax, %rdi
	callq	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE
.Ltmp3:
# %bb.2:
.Ltmp4:
	leaq	-44(%rbp), %rsi
	movq	%rax, %rdi
	callq	_ZNSirsERi
.Ltmp5:
# %bb.3:
	movslq	-44(%rbp), %rsi
	xorpd	%xmm0, %xmm0
	leaq	-176(%rbp), %rdx
	movapd	%xmm0, (%rdx)
	movq	$0, 16(%rdx)
.Ltmp7:
	movl	$cls, %edi
	callq	_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE6resizeEmRKS3_
.Ltmp8:
# %bb.4:
	movq	-176(%rbp), %rdi
	testq	%rdi, %rdi
	je	.LBB7_6
# %bb.5:
	callq	_ZdlPv
.LBB7_6:                                # %_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EED2Ev.exit
	movq	%rsp, -192(%rbp)                # 8-byte Spill
	movl	-44(%rbp), %eax
	movq	%rsp, %rdi
	leaq	(%rax,%rax,2), %rax
	leaq	15(,%rax,8), %rax
	andq	$-16, %rax
	subq	%rax, %rdi
	movq	%rdi, %rsp
	movslq	-44(%rbp), %rbx
	movl	%ebx, %eax
	movq	%rsp, %r14
	leaq	(%rax,%rax,8), %rax
	leaq	15(,%rax,8), %rax
	andq	$-16, %rax
	subq	%rax, %r14
	movq	%r14, %rsp
	shlq	$3, %rbx
	leaq	(%rbx,%rbx,2), %rdx
	movq	%rdi, -64(%rbp)                 # 8-byte Spill
	xorl	%esi, %esi
	callq	memset@PLT
	leaq	(%rbx,%rbx,8), %rdx
	movq	%r14, -96(%rbp)                 # 8-byte Spill
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	memset@PLT
	leaq	-336(%rbp), %r14
	movq	%r14, -16(%r14)
	movq	-288(%rbp), %rsi
	movq	-280(%rbp), %rdx
	addq	%rsi, %rdx
.Ltmp10:
	leaq	-352(%rbp), %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag
.Ltmp11:
# %bb.7:                                # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_.exit
.Ltmp13:
	leaq	-88(%rbp), %rdi
	leaq	-352(%rbp), %rsi
	callq	_ZN3IMGC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
.Ltmp14:
# %bb.8:
	movq	-352(%rbp), %rdi
	cmpq	%r14, %rdi
	je	.LBB7_10
# %bb.9:                                # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i
	callq	_ZdlPv
.LBB7_10:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jle	.LBB7_49
# %bb.11:                               # %.lr.ph176
	movl	-88(%rbp), %r14d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 # 8-byte Spill
	movq	-64(%rbp), %rbx                 # 8-byte Reload
.LBB7_12:                               # =>This Loop Header: Depth=1
                                        #     Child Loop BB7_15 Depth 2
                                        #     Child Loop BB7_22 Depth 2
.Ltmp16:
	movl	$_ZSt3cin, %edi
	leaq	-176(%rbp), %rsi
	callq	_ZNSirsERi
.Ltmp17:
# %bb.13:                               # %.preheader166
                                        #   in Loop: Header=BB7_12 Depth=1
	movl	-176(%rbp), %eax
	testl	%eax, %eax
	jle	.LBB7_21
# %bb.14:                               # %.lr.ph
                                        #   in Loop: Header=BB7_12 Depth=1
	movq	-56(%rbp), %rax                 # 8-byte Reload
	leaq	(%rax,%rax,2), %r15
	movq	-64(%rbp), %rax                 # 8-byte Reload
	leaq	(%rax,%r15,8), %r12
	xorl	%r13d, %r13d
.LBB7_15:                               #   Parent Loop BB7_12 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
.Ltmp19:
	movl	$_ZSt3cin, %edi
	leaq	-104(%rbp), %rsi
	callq	_ZNSirsERi
.Ltmp20:
# %bb.16:                               #   in Loop: Header=BB7_15 Depth=2
.Ltmp21:
	movq	%rax, %rdi
	leaq	-100(%rbp), %rsi
	callq	_ZNSirsERi
.Ltmp22:
# %bb.17:                               #   in Loop: Header=BB7_15 Depth=2
	movl	-100(%rbp), %eax
	imull	%r14d, %eax
	addl	-104(%rbp), %eax
	movq	-72(%rbp), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, -48(%rbp)
	movq	cls(%rip), %rcx
	leaq	(%rcx,%r15,8), %rdi
	movq	8(%rdi), %rsi
	cmpq	16(%rdi), %rsi
	je	.LBB7_19
# %bb.18:                               #   in Loop: Header=BB7_15 Depth=2
	movl	%eax, (%rsi)
	addq	$4, 8(%rdi)
	jmp	.LBB7_20
.LBB7_19:                               #   in Loop: Header=BB7_15 Depth=2
.Ltmp24:
	leaq	-48(%rbp), %rdx
	callq	_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_
.Ltmp25:
.LBB7_20:                               # %_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EE9push_backERKS1_.exit
                                        #   in Loop: Header=BB7_15 Depth=2
	movzbl	-48(%rbp), %eax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	addsd	(%r12), %xmm0
	movsd	%xmm0, (%r12)
	movzbl	-47(%rbp), %eax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	addsd	8(%r12), %xmm0
	movsd	%xmm0, 8(%r12)
	movzbl	-46(%rbp), %eax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	addsd	16(%r12), %xmm0
	movsd	%xmm0, 16(%r12)
	incl	%r13d
	movl	-176(%rbp), %eax
	cmpl	%eax, %r13d
	jl	.LBB7_15
.LBB7_21:                               # %.preheader165
                                        #   in Loop: Header=BB7_12 Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	xorl	%eax, %eax
.LBB7_22:                               #   Parent Loop BB7_12 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movsd	(%rbx,%rax,8), %xmm1            # xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	movsd	%xmm1, (%rbx,%rax,8)
	incq	%rax
	cmpq	$3, %rax
	jne	.LBB7_22
# %bb.23:                               #   in Loop: Header=BB7_12 Depth=1
	movq	-56(%rbp), %rdx                 # 8-byte Reload
	incq	%rdx
	movslq	-44(%rbp), %rax
	addq	$24, %rbx
	movq	%rdx, %rcx
	movq	%rdx, -56(%rbp)                 # 8-byte Spill
	cmpq	%rax, %rdx
	jl	.LBB7_12
# %bb.24:                               # %.preheader164
	testl	%eax, %eax
	jle	.LBB7_49
# %bb.25:                               # %.lr.ph189
	movq	%rax, -184(%rbp)                # 8-byte Spill
	movl	%eax, %eax
	movq	%rax, -208(%rbp)                # 8-byte Spill
	movq	cls(%rip), %rax
	movq	%rax, -200(%rbp)                # 8-byte Spill
	xorl	%r10d, %r10d
	movq	-96(%rbp), %r11                 # 8-byte Reload
.LBB7_26:                               # =>This Loop Header: Depth=1
                                        #     Child Loop BB7_28 Depth 2
                                        #       Child Loop BB7_29 Depth 3
                                        #         Child Loop BB7_30 Depth 4
                                        #     Child Loop BB7_34 Depth 2
                                        #       Child Loop BB7_35 Depth 3
                                        #     Child Loop BB7_38 Depth 2
                                        #       Child Loop BB7_39 Depth 3
	leaq	(%r10,%r10,2), %rdx
	movq	-200(%rbp), %rax                # 8-byte Reload
	movq	(%rax,%rdx,8), %rcx
	movq	8(%rax,%rdx,8), %rax
	subq	%rcx, %rax
	shrq	$2, %rax
	testl	%eax, %eax
	jle	.LBB7_33
# %bb.27:                               # %.lr.ph181
                                        #   in Loop: Header=BB7_26 Depth=1
	movq	-64(%rbp), %rsi                 # 8-byte Reload
	movsd	(%rsi,%rdx,8), %xmm0            # xmm0 = mem[0],zero
	movsd	8(%rsi,%rdx,8), %xmm1           # xmm1 = mem[0],zero
	movsd	16(%rsi,%rdx,8), %xmm2          # xmm2 = mem[0],zero
	movl	%eax, %edx
	xorl	%esi, %esi
.LBB7_28:                               #   Parent Loop BB7_26 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB7_29 Depth 3
                                        #         Child Loop BB7_30 Depth 4
	movzbl	(%rcx,%rsi,4), %edi
	movzbl	1(%rcx,%rsi,4), %r8d
	movzbl	2(%rcx,%rsi,4), %r9d
	xorps	%xmm3, %xmm3
	cvtsi2sd	%edi, %xmm3
	subsd	%xmm0, %xmm3
	movsd	%xmm3, -176(%rbp)
	xorps	%xmm3, %xmm3
	cvtsi2sd	%r8d, %xmm3
	subsd	%xmm1, %xmm3
	movsd	%xmm3, -168(%rbp)
	xorps	%xmm3, %xmm3
	cvtsi2sd	%r9d, %xmm3
	subsd	%xmm2, %xmm3
	movsd	%xmm3, -160(%rbp)
	movq	%r11, %rdi
	xorl	%r8d, %r8d
.LBB7_29:                               # %.preheader
                                        #   Parent Loop BB7_26 Depth=1
                                        #     Parent Loop BB7_28 Depth=2
                                        # =>    This Loop Header: Depth=3
                                        #         Child Loop BB7_30 Depth 4
	movsd	-176(%rbp,%r8,8), %xmm3         # xmm3 = mem[0],zero
	xorl	%r9d, %r9d
.LBB7_30:                               #   Parent Loop BB7_26 Depth=1
                                        #     Parent Loop BB7_28 Depth=2
                                        #       Parent Loop BB7_29 Depth=3
                                        # =>      This Inner Loop Header: Depth=4
	movsd	-176(%rbp,%r9,8), %xmm4         # xmm4 = mem[0],zero
	mulsd	%xmm3, %xmm4
	addsd	(%rdi,%r9,8), %xmm4
	movsd	%xmm4, (%rdi,%r9,8)
	incq	%r9
	cmpq	$3, %r9
	jne	.LBB7_30
# %bb.31:                               #   in Loop: Header=BB7_29 Depth=3
	incq	%r8
	addq	$24, %rdi
	cmpq	$3, %r8
	jne	.LBB7_29
# %bb.32:                               #   in Loop: Header=BB7_28 Depth=2
	incq	%rsi
	cmpq	%rdx, %rsi
	jne	.LBB7_28
.LBB7_33:                               # %.preheader163
                                        #   in Loop: Header=BB7_26 Depth=1
	movq	%r10, -224(%rbp)                # 8-byte Spill
	leaq	(%r10,%r10,8), %rcx
	movq	-96(%rbp), %rdx                 # 8-byte Reload
	leaq	(%rdx,%rcx,8), %rbx
	decl	%eax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	movq	%r11, %rax
	xorl	%ecx, %ecx
.LBB7_34:                               # %.preheader161
                                        #   Parent Loop BB7_26 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB7_35 Depth 3
	xorl	%edx, %edx
.LBB7_35:                               #   Parent Loop BB7_26 Depth=1
                                        #     Parent Loop BB7_34 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movsd	(%rax,%rdx,8), %xmm1            # xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	movsd	%xmm1, (%rax,%rdx,8)
	incq	%rdx
	cmpq	$3, %rdx
	jne	.LBB7_35
# %bb.36:                               #   in Loop: Header=BB7_34 Depth=2
	incq	%rcx
	addq	$24, %rax
	cmpq	$3, %rcx
	jne	.LBB7_34
# %bb.37:                               #   in Loop: Header=BB7_26 Depth=1
	movq	%r11, -216(%rbp)                # 8-byte Spill
	movq	%rbx, %rdi
	callq	_Z6det3x3PA3_d
	movapd	%xmm0, %xmm2
	leaq	-176(%rbp), %r15
	xorl	%r12d, %r12d
	xorpd	%xmm1, %xmm1
	movsd	%xmm0, -56(%rbp)                # 8-byte Spill
.LBB7_38:                               # %.preheader160
                                        #   Parent Loop BB7_26 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB7_39 Depth 3
	movq	%r15, %r14
	xorl	%r13d, %r13d
.LBB7_39:                               #   Parent Loop BB7_26 Depth=1
                                        #     Parent Loop BB7_38 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	ucomisd	%xmm1, %xmm2
	jne	.LBB7_42
	jp	.LBB7_42
# %bb.40:                               #   in Loop: Header=BB7_39 Depth=3
	movsd	.LCPI7_1(%rip), %xmm0           # xmm0 = mem[0],zero
	cmpq	%r13, %r12
	je	.LBB7_45
# %bb.41:                               #   in Loop: Header=BB7_39 Depth=3
	xorpd	%xmm0, %xmm0
	jmp	.LBB7_45
.LBB7_42:                               #   in Loop: Header=BB7_39 Depth=3
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	callq	_Z8minor3x3PA3_dii
	leal	(%r12,%r13), %eax
	testb	$1, %al
	je	.LBB7_44
# %bb.43:                               #   in Loop: Header=BB7_39 Depth=3
	xorpd	.LCPI7_0(%rip), %xmm0
.LBB7_44:                               #   in Loop: Header=BB7_39 Depth=3
	movsd	-56(%rbp), %xmm2                # 8-byte Reload
                                        # xmm2 = mem[0],zero
	divsd	%xmm2, %xmm0
	xorpd	%xmm1, %xmm1
.LBB7_45:                               #   in Loop: Header=BB7_39 Depth=3
	movsd	%xmm0, (%r14)
	incq	%r13
	addq	$24, %r14
	cmpq	$3, %r13
	jne	.LBB7_39
# %bb.46:                               #   in Loop: Header=BB7_38 Depth=2
	incq	%r12
	addq	$8, %r15
	cmpq	$3, %r12
	jne	.LBB7_38
# %bb.47:                               # %.preheader159.preheader
                                        #   in Loop: Header=BB7_26 Depth=1
	movl	$9, %ecx
	movq	%rbx, %rdi
	leaq	-176(%rbp), %rsi
	rep;movsq (%rsi), %es:(%rdi)
	movq	-224(%rbp), %r10                # 8-byte Reload
	incq	%r10
	movq	-216(%rbp), %r11                # 8-byte Reload
	addq	$72, %r11
	cmpq	-208(%rbp), %r10                # 8-byte Folded Reload
	jne	.LBB7_26
# %bb.48:
	movq	-184(%rbp), %rax                # 8-byte Reload
.LBB7_49:                               # %._crit_edge
	cltq
	shlq	$3, %rax
	leaq	(%rax,%rax,2), %rdx
.Ltmp27:
	movl	$GPU_AVG, %edi
	movq	-64(%rbp), %rsi                 # 8-byte Reload
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	hipMemcpyToSymbol
.Ltmp28:
# %bb.50:                               # %_Z17hipMemcpyToSymbolIA50_A3_dE10hipError_tRKT_PKvmm13hipMemcpyKind.exit
	testl	%eax, %eax
	jne	.LBB7_75
# %bb.51:
	movslq	-44(%rbp), %rax
	shlq	$3, %rax
	leaq	(%rax,%rax,8), %rdx
.Ltmp32:
	movl	$GPU_INVERT_COV, %edi
	movq	-96(%rbp), %rsi                 # 8-byte Reload
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	hipMemcpyToSymbol
.Ltmp33:
# %bb.52:                               # %_Z17hipMemcpyToSymbolIA50_A3_A3_dE10hipError_tRKT_PKvmm13hipMemcpyKind.exit
	testl	%eax, %eax
	jne	.LBB7_77
# %bb.53:
	movq	-80(%rbp), %rsi
	shlq	$2, %rsi
.Ltmp37:
	leaq	-176(%rbp), %rdi
	callq	hipMalloc
.Ltmp38:
# %bb.54:                               # %_ZL9hipMallocI15HIP_vector_typeIhLj4EEE10hipError_tPPT_m.exit
	testl	%eax, %eax
	jne	.LBB7_79
# %bb.55:
	movq	-176(%rbp), %rdi
	movq	-80(%rbp), %rdx
	movq	-72(%rbp), %rsi
	shlq	$2, %rdx
.Ltmp42:
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp43:
# %bb.56:
	testl	%eax, %eax
	jne	.LBB7_81
# %bb.57:
.Ltmp47:
	movabsq	$68719476752, %rdi              # imm = 0x1000000010
	movl	$1, %esi
	movq	%rdi, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp48:
# %bb.58:
	testl	%eax, %eax
	jne	.LBB7_60
# %bb.59:
	movq	-176(%rbp), %rdi
	movl	-88(%rbp), %esi
	movl	-84(%rbp), %edx
	movl	-44(%rbp), %ecx
.Ltmp49:
	callq	_Z21__device_stub__kernelP15HIP_vector_typeIhLj4EEjji
.Ltmp50:
.LBB7_60:
	movq	-80(%rbp), %rdx
	movq	-72(%rbp), %rdi
	movq	-176(%rbp), %rsi
	shlq	$2, %rdx
.Ltmp51:
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp52:
# %bb.61:
	testl	%eax, %eax
	jne	.LBB7_83
# %bb.62:
	movq	-176(%rbp), %rdi
.Ltmp56:
	callq	hipFree
.Ltmp57:
# %bb.63:
	testl	%eax, %eax
	jne	.LBB7_85
# %bb.64:
	leaq	-304(%rbp), %r14
	movq	%r14, -16(%r14)
	movq	-256(%rbp), %rsi
	movq	-248(%rbp), %rdx
	addq	%rsi, %rdx
.Ltmp61:
	leaq	-320(%rbp), %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag
.Ltmp62:
# %bb.65:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_.exit133
.Ltmp64:
	leaq	-88(%rbp), %rdi
	leaq	-320(%rbp), %rsi
	callq	_ZN3IMG6toFileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
.Ltmp65:
# %bb.66:
	movq	-320(%rbp), %rdi
	cmpq	%r14, %rdi
	je	.LBB7_68
# %bb.67:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i134
	callq	_ZdlPv
.LBB7_68:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit136
	movq	-72(%rbp), %rdi
	testq	%rdi, %rdi
	je	.LBB7_70
# %bb.69:
	callq	_ZdaPv
.LBB7_70:                               # %_ZN3IMGD2Ev.exit
	movq	-192(%rbp), %rsp                # 8-byte Reload
	movq	-256(%rbp), %rdi
	leaq	-240(%rbp), %rax
	cmpq	%rax, %rdi
	je	.LBB7_72
# %bb.71:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i138
	callq	_ZdlPv
.LBB7_72:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit140
	movq	-288(%rbp), %rdi
	leaq	-272(%rbp), %rax
	cmpq	%rax, %rdi
	je	.LBB7_74
# %bb.73:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i141
	callq	_ZdlPv
.LBB7_74:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit143
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa %rsp, 8
	retq
.LBB7_75:
	.cfi_def_cfa %rbp, 16
	movq	stderr(%rip), %rbx
.Ltmp29:
	movl	%eax, %edi
	callq	hipGetErrorString
.Ltmp30:
# %bb.76:
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%rbx, %rdi
	movl	$236, %ecx
	jmp	.LBB7_87
.LBB7_77:
	movq	stderr(%rip), %rbx
.Ltmp34:
	movl	%eax, %edi
	callq	hipGetErrorString
.Ltmp35:
# %bb.78:
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%rbx, %rdi
	movl	$237, %ecx
	jmp	.LBB7_87
.LBB7_79:
	movq	stderr(%rip), %rbx
.Ltmp39:
	movl	%eax, %edi
	callq	hipGetErrorString
.Ltmp40:
# %bb.80:
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%rbx, %rdi
	movl	$238, %ecx
	jmp	.LBB7_87
.LBB7_81:
	movq	stderr(%rip), %rbx
.Ltmp44:
	movl	%eax, %edi
	callq	hipGetErrorString
.Ltmp45:
# %bb.82:
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%rbx, %rdi
	movl	$239, %ecx
	jmp	.LBB7_87
.LBB7_83:
	movq	stderr(%rip), %rbx
.Ltmp53:
	movl	%eax, %edi
	callq	hipGetErrorString
.Ltmp54:
# %bb.84:
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%rbx, %rdi
	movl	$243, %ecx
	jmp	.LBB7_87
.LBB7_85:
	movq	stderr(%rip), %rbx
.Ltmp58:
	movl	%eax, %edi
	callq	hipGetErrorString
.Ltmp59:
# %bb.86:
	movl	$.L.str, %esi
	movl	$.L.str.1, %edx
	movq	%rbx, %rdi
	movl	$244, %ecx
.LBB7_87:
	movq	%rax, %r8
	xorl	%eax, %eax
	callq	fprintf
	xorl	%edi, %edi
	callq	exit
.LBB7_88:
.Ltmp66:
	movq	%rax, %rbx
	movq	-320(%rbp), %rdi
	cmpq	%r14, %rdi
	je	.LBB7_107
# %bb.89:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i144
	callq	_ZdlPv
	jmp	.LBB7_107
.LBB7_90:
.Ltmp15:
	movq	%rax, %rbx
	movq	-352(%rbp), %rdi
	cmpq	%r14, %rdi
	jne	.LBB7_93
	jmp	.LBB7_109
.LBB7_91:
.Ltmp12:
	jmp	.LBB7_102
.LBB7_92:
.Ltmp9:
	movq	%rax, %rbx
	movq	-176(%rbp), %rdi
	testq	%rdi, %rdi
	je	.LBB7_109
.LBB7_93:
	callq	_ZdlPv
	jmp	.LBB7_109
.LBB7_94:
.Ltmp60:
	jmp	.LBB7_106
.LBB7_95:
.Ltmp55:
	jmp	.LBB7_106
.LBB7_96:
.Ltmp46:
	jmp	.LBB7_106
.LBB7_97:
.Ltmp41:
	jmp	.LBB7_106
.LBB7_98:
.Ltmp36:
	jmp	.LBB7_106
.LBB7_99:
.Ltmp31:
	jmp	.LBB7_106
.LBB7_100:
.Ltmp63:
	jmp	.LBB7_106
.LBB7_101:
.Ltmp6:
.LBB7_102:
	movq	%rax, %rbx
	jmp	.LBB7_109
.LBB7_103:
.Ltmp18:
	jmp	.LBB7_106
.LBB7_104:
.Ltmp26:
	jmp	.LBB7_106
.LBB7_105:
.Ltmp23:
.LBB7_106:
	movq	%rax, %rbx
.LBB7_107:
	movq	-72(%rbp), %rdi
	testq	%rdi, %rdi
	je	.LBB7_109
# %bb.108:
	callq	_ZdaPv
.LBB7_109:
	movq	-256(%rbp), %rdi
	leaq	-240(%rbp), %rax
	cmpq	%rax, %rdi
	je	.LBB7_111
# %bb.110:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i149
	callq	_ZdlPv
.LBB7_111:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit151
	movq	-288(%rbp), %rdi
	leaq	-272(%rbp), %rax
	cmpq	%rax, %rdi
	je	.LBB7_113
# %bb.112:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i152
	callq	_ZdlPv
.LBB7_113:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit154
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end7:
	.size	main, .Lfunc_end7-main
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table7:
.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 .Ltmp0-.Lfunc_begin0           # >> Call Site 1 <<
	.uleb128 .Ltmp5-.Ltmp0                  #   Call between .Ltmp0 and .Ltmp5
	.uleb128 .Ltmp6-.Lfunc_begin0           #     jumps to .Ltmp6
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp7-.Lfunc_begin0           # >> Call Site 2 <<
	.uleb128 .Ltmp8-.Ltmp7                  #   Call between .Ltmp7 and .Ltmp8
	.uleb128 .Ltmp9-.Lfunc_begin0           #     jumps to .Ltmp9
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp8-.Lfunc_begin0           # >> Call Site 3 <<
	.uleb128 .Ltmp10-.Ltmp8                 #   Call between .Ltmp8 and .Ltmp10
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp10-.Lfunc_begin0          # >> Call Site 4 <<
	.uleb128 .Ltmp11-.Ltmp10                #   Call between .Ltmp10 and .Ltmp11
	.uleb128 .Ltmp12-.Lfunc_begin0          #     jumps to .Ltmp12
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp13-.Lfunc_begin0          # >> Call Site 5 <<
	.uleb128 .Ltmp14-.Ltmp13                #   Call between .Ltmp13 and .Ltmp14
	.uleb128 .Ltmp15-.Lfunc_begin0          #     jumps to .Ltmp15
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp16-.Lfunc_begin0          # >> Call Site 6 <<
	.uleb128 .Ltmp17-.Ltmp16                #   Call between .Ltmp16 and .Ltmp17
	.uleb128 .Ltmp18-.Lfunc_begin0          #     jumps to .Ltmp18
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp19-.Lfunc_begin0          # >> Call Site 7 <<
	.uleb128 .Ltmp22-.Ltmp19                #   Call between .Ltmp19 and .Ltmp22
	.uleb128 .Ltmp23-.Lfunc_begin0          #     jumps to .Ltmp23
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp24-.Lfunc_begin0          # >> Call Site 8 <<
	.uleb128 .Ltmp25-.Ltmp24                #   Call between .Ltmp24 and .Ltmp25
	.uleb128 .Ltmp26-.Lfunc_begin0          #     jumps to .Ltmp26
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp27-.Lfunc_begin0          # >> Call Site 9 <<
	.uleb128 .Ltmp28-.Ltmp27                #   Call between .Ltmp27 and .Ltmp28
	.uleb128 .Ltmp31-.Lfunc_begin0          #     jumps to .Ltmp31
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp32-.Lfunc_begin0          # >> Call Site 10 <<
	.uleb128 .Ltmp33-.Ltmp32                #   Call between .Ltmp32 and .Ltmp33
	.uleb128 .Ltmp36-.Lfunc_begin0          #     jumps to .Ltmp36
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp37-.Lfunc_begin0          # >> Call Site 11 <<
	.uleb128 .Ltmp38-.Ltmp37                #   Call between .Ltmp37 and .Ltmp38
	.uleb128 .Ltmp41-.Lfunc_begin0          #     jumps to .Ltmp41
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp42-.Lfunc_begin0          # >> Call Site 12 <<
	.uleb128 .Ltmp43-.Ltmp42                #   Call between .Ltmp42 and .Ltmp43
	.uleb128 .Ltmp46-.Lfunc_begin0          #     jumps to .Ltmp46
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp47-.Lfunc_begin0          # >> Call Site 13 <<
	.uleb128 .Ltmp50-.Ltmp47                #   Call between .Ltmp47 and .Ltmp50
	.uleb128 .Ltmp63-.Lfunc_begin0          #     jumps to .Ltmp63
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp51-.Lfunc_begin0          # >> Call Site 14 <<
	.uleb128 .Ltmp52-.Ltmp51                #   Call between .Ltmp51 and .Ltmp52
	.uleb128 .Ltmp55-.Lfunc_begin0          #     jumps to .Ltmp55
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp56-.Lfunc_begin0          # >> Call Site 15 <<
	.uleb128 .Ltmp57-.Ltmp56                #   Call between .Ltmp56 and .Ltmp57
	.uleb128 .Ltmp60-.Lfunc_begin0          #     jumps to .Ltmp60
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp61-.Lfunc_begin0          # >> Call Site 16 <<
	.uleb128 .Ltmp62-.Ltmp61                #   Call between .Ltmp61 and .Ltmp62
	.uleb128 .Ltmp63-.Lfunc_begin0          #     jumps to .Ltmp63
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp64-.Lfunc_begin0          # >> Call Site 17 <<
	.uleb128 .Ltmp65-.Ltmp64                #   Call between .Ltmp64 and .Ltmp65
	.uleb128 .Ltmp66-.Lfunc_begin0          #     jumps to .Ltmp66
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp29-.Lfunc_begin0          # >> Call Site 18 <<
	.uleb128 .Ltmp30-.Ltmp29                #   Call between .Ltmp29 and .Ltmp30
	.uleb128 .Ltmp31-.Lfunc_begin0          #     jumps to .Ltmp31
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp34-.Lfunc_begin0          # >> Call Site 19 <<
	.uleb128 .Ltmp35-.Ltmp34                #   Call between .Ltmp34 and .Ltmp35
	.uleb128 .Ltmp36-.Lfunc_begin0          #     jumps to .Ltmp36
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp39-.Lfunc_begin0          # >> Call Site 20 <<
	.uleb128 .Ltmp40-.Ltmp39                #   Call between .Ltmp39 and .Ltmp40
	.uleb128 .Ltmp41-.Lfunc_begin0          #     jumps to .Ltmp41
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp44-.Lfunc_begin0          # >> Call Site 21 <<
	.uleb128 .Ltmp45-.Ltmp44                #   Call between .Ltmp44 and .Ltmp45
	.uleb128 .Ltmp46-.Lfunc_begin0          #     jumps to .Ltmp46
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp53-.Lfunc_begin0          # >> Call Site 22 <<
	.uleb128 .Ltmp54-.Ltmp53                #   Call between .Ltmp53 and .Ltmp54
	.uleb128 .Ltmp55-.Lfunc_begin0          #     jumps to .Ltmp55
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp58-.Lfunc_begin0          # >> Call Site 23 <<
	.uleb128 .Ltmp59-.Ltmp58                #   Call between .Ltmp58 and .Ltmp59
	.uleb128 .Ltmp60-.Lfunc_begin0          #     jumps to .Ltmp60
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp59-.Lfunc_begin0          # >> Call Site 24 <<
	.uleb128 .Lfunc_end7-.Ltmp59            #   Call between .Ltmp59 and .Lfunc_end7
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE6resizeEmRKS3_,"axG",@progbits,_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE6resizeEmRKS3_,comdat
	.weak	_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE6resizeEmRKS3_ # -- Begin function _ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE6resizeEmRKS3_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE6resizeEmRKS3_,@function
_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE6resizeEmRKS3_: # @_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE6resizeEmRKS3_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdx, %rcx
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	8(%rdi), %r14
	movq	%r14, %rdx
	subq	%rax, %rdx
	sarq	$3, %rdx
	movabsq	$-6148914691236517205, %rdi     # imm = 0xAAAAAAAAAAAAAAAB
	imulq	%rdx, %rdi
	movq	%rsi, %rdx
	subq	%rdi, %rdx
	jbe	.LBB8_1
# %bb.9:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	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
	jmp	_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS3_S5_EEmRKS3_ # TAILCALL
.LBB8_1:
	.cfi_def_cfa_offset 48
	jae	.LBB8_8
# %bb.2:
	leaq	(%rsi,%rsi,2), %rcx
	leaq	(%rax,%rcx,8), %r15
	cmpq	%r15, %r14
	je	.LBB8_8
# %bb.3:                                # %.lr.ph.i.i.i.i.preheader
	movq	%r15, %r12
.LBB8_4:                                # %.lr.ph.i.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	.LBB8_6
# %bb.5:                                #   in Loop: Header=BB8_4 Depth=1
	callq	_ZdlPv
.LBB8_6:                                # %_ZSt8_DestroyISt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEEvPT_.exit.i.i.i.i
                                        #   in Loop: Header=BB8_4 Depth=1
	addq	$24, %r12
	cmpq	%r14, %r12
	jne	.LBB8_4
# %bb.7:                                # %_ZSt8_DestroyIPSt6vectorI15HIP_vector_typeIhLj4EESaIS2_EES4_EvT_S6_RSaIT0_E.exit.i
	movq	%r15, 8(%rbx)
.LBB8_8:                                # %_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE15_M_erase_at_endEPS3_.exit
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end8:
	.size	_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE6resizeEmRKS3_, .Lfunc_end8-_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE6resizeEmRKS3_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZN3IMGC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE,"axG",@progbits,_ZN3IMGC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE,comdat
	.weak	_ZN3IMGC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # -- Begin function _ZN3IMGC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
	.p2align	1, 0x90
	.type	_ZN3IMGC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE,@function
_ZN3IMGC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE: # @_ZN3IMGC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
	.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, %r15
	movq	%rdi, %rbx
	movq	(%rsi), %rdi
	movl	$.L.str.3, %esi
	callq	fopen
	testq	%rax, %rax
	je	.LBB9_1
# %bb.2:
	movq	%rax, %r14
	movl	$4, %esi
	movl	$1, %edx
	movq	%rbx, %rdi
	movq	%rax, %rcx
	callq	fread
	leaq	4(%rbx), %rdi
	movl	$4, %esi
	movl	$1, %edx
	movq	%r14, %rcx
	callq	fread
	movl	4(%rbx), %r15d
	imull	(%rbx), %r15d
	movq	%r15, 8(%rbx)
	leaq	(,%r15,4), %rdi
	callq	_Znam
	movq	%rax, 16(%rbx)
	movl	$4, %esi
	movq	%rax, %rdi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	fread
	movq	%r14, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	fclose                          # TAILCALL
.LBB9_1:
	.cfi_def_cfa_offset 32
	movl	$_ZSt4cout, %edi
	movl	$.L.str.4, %esi
	movl	$16, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	(%r15), %rsi
	movq	8(%r15), %rdx
	movl	$_ZSt4cout, %edi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$.L.str.5, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l # TAILCALL
.Lfunc_end9:
	.size	_ZN3IMGC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE, .Lfunc_end9-_ZN3IMGC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
	.cfi_endproc
                                        # -- End function
	.section	.text._ZN3IMG6toFileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE,"axG",@progbits,_ZN3IMG6toFileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE,comdat
	.weak	_ZN3IMG6toFileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # -- Begin function _ZN3IMG6toFileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
	.p2align	1, 0x90
	.type	_ZN3IMG6toFileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE,@function
_ZN3IMG6toFileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE: # @_ZN3IMG6toFileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
	.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, %r15
	movq	%rdi, %rbx
	movq	(%rsi), %rdi
	movl	$.L.str.6, %esi
	callq	fopen
	testq	%rax, %rax
	je	.LBB10_1
# %bb.2:
	movq	%rax, %r14
	movl	$4, %esi
	movl	$1, %edx
	movq	%rbx, %rdi
	movq	%rax, %rcx
	callq	fwrite
	leaq	4(%rbx), %rdi
	movl	$4, %esi
	movl	$1, %edx
	movq	%r14, %rcx
	callq	fwrite
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rdi
	movl	$4, %esi
	movq	%r14, %rcx
	callq	fwrite
	movq	%r14, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	fclose                          # TAILCALL
.LBB10_1:
	.cfi_def_cfa_offset 32
	movl	$_ZSt4cout, %edi
	movl	$.L.str.4, %esi
	movl	$16, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	(%r15), %rsi
	movq	8(%r15), %rdx
	movl	$_ZSt4cout, %edi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$.L.str.5, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l # TAILCALL
.Lfunc_end10:
	.size	_ZN3IMG6toFileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE, .Lfunc_end10-_ZN3IMG6toFileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
	.cfi_endproc
                                        # -- End function
	.section	.text.__clang_call_terminate,"axG",@progbits,__clang_call_terminate,comdat
	.hidden	__clang_call_terminate          # -- Begin function __clang_call_terminate
	.weak	__clang_call_terminate
	.type	__clang_call_terminate,@function
__clang_call_terminate:                 # @__clang_call_terminate
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	callq	__cxa_begin_catch
	callq	_ZSt9terminatev
.Lfunc_end11:
	.size	__clang_call_terminate, .Lfunc_end11-__clang_call_terminate
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS3_S5_EEmRKS3_,"axG",@progbits,_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS3_S5_EEmRKS3_,comdat
	.weak	_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS3_S5_EEmRKS3_ # -- Begin function _ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS3_S5_EEmRKS3_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS3_S5_EEmRKS3_,@function
_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS3_S5_EEmRKS3_: # @_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS3_S5_EEmRKS3_
.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	$56, %rsp
	.cfi_def_cfa_offset 112
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	testq	%rdx, %rdx
	je	.LBB12_43
# %bb.1:
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rdi), %r15
	movq	16(%rdi), %rax
	subq	%r15, %rax
	sarq	$3, %rax
	movabsq	$-6148914691236517205, %rdx     # imm = 0xAAAAAAAAAAAAAAAB
	imulq	%rdx, %rax
	cmpq	%r12, %rax
	jae	.LBB12_2
# %bb.25:
	movq	%rcx, 16(%rsp)                  # 8-byte Spill
	movq	(%r14), %rbp
	movl	$.L.str.7, %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_ZNKSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE12_M_check_lenEmPKc
	movq	%rbx, %r13
	movq	%rbp, 8(%rsp)                   # 8-byte Spill
	subq	%rbp, %r13
	movq	%rax, %rcx
	movq	%rax, (%rsp)                    # 8-byte Spill
	testq	%rax, %rax
	je	.LBB12_26
# %bb.27:
	movq	%r14, %rdi
	movq	(%rsp), %rsi                    # 8-byte Reload
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorISt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEE8allocateEmPKv
	movq	%rax, %rbp
	jmp	.LBB12_28
.LBB12_2:
	leaq	32(%rsp), %r15
	movq	%r14, -8(%r15)
	movb	$0, (%r15)
	movq	%r15, %rdi
	movq	%rcx, %rsi
	callq	_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EEC2ERKS3_
	movq	8(%r14), %r13
	movq	%r13, %rbp
	subq	%rbx, %rbp
	movq	%rbp, %rax
	sarq	$3, %rax
	movabsq	$-6148914691236517205, %rcx     # imm = 0xAAAAAAAAAAAAAAAB
	imulq	%rcx, %rax
	movq	%r12, %rsi
	subq	%rax, %rsi
	jae	.LBB12_16
# %bb.3:
	movq	%r12, %rax
	negq	%rax
	leaq	(%rax,%rax,2), %rax
	leaq	(,%rax,8), %rsi
	addq	%r13, %rsi
	shlq	$3, %r12
	leaq	(%r12,%r12,2), %r12
	movq	%r12, %rax
	negq	%rax
	movq	%r13, %rcx
	je	.LBB12_7
# %bb.4:                                # %.lr.ph.i.i.i.i.i.preheader
	leaq	(%rax,%r13), %rcx
	xorl	%edx, %edx
	xorps	%xmm0, %xmm0
.LBB12_5:                               # %.lr.ph.i.i.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx), %rdi
	movq	%rdi, (%r13,%rdx)
	movq	8(%rcx,%rdx), %rdi
	movq	%rdi, 8(%r13,%rdx)
	movq	16(%rcx,%rdx), %rdi
	movq	%rdi, 16(%r13,%rdx)
	movups	%xmm0, (%rcx,%rdx)
	movq	$0, 16(%rcx,%rdx)
	addq	$24, %rdx
	movq	%rax, %rdi
	addq	%rdx, %rdi
	jne	.LBB12_5
# %bb.6:                                # %.loopexit128.loopexit
	movq	8(%r14), %rcx
.LBB12_7:                               # %.loopexit128
	addq	%r12, %rcx
	movq	%rcx, 8(%r14)
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	_ZNSt20__copy_move_backwardILb1ELb0ESt26random_access_iterator_tagE13__copy_move_bIPSt6vectorI15HIP_vector_typeIhLj4EESaIS5_EES8_EET0_T_SA_S9_
.LBB12_8:                               # %.lr.ph.i.i.i82
                                        # =>This Inner Loop Header: Depth=1
.Ltmp73:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EEaSERKS3_
.Ltmp74:
# %bb.9:                                # %.noexc
                                        #   in Loop: Header=BB12_8 Depth=1
	addq	$24, %rbx
	addq	$-24, %r12
	jne	.LBB12_8
	jmp	.LBB12_23
.LBB12_16:
.Ltmp67:
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_ZSt18__do_uninit_fill_nIPSt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEmS4_ET_S6_T0_RKT1_
.Ltmp68:
# %bb.17:                               # %_ZSt24__uninitialized_fill_n_aIPSt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEmS4_S4_ET_S6_T0_RKT1_RSaIT2_E.exit
	movq	%rax, 8(%r14)
	cmpq	%rbx, %r13
	je	.LBB12_53
# %bb.18:                               # %.lr.ph.i.i.i.i.i86.preheader
	xorl	%ecx, %ecx
	xorps	%xmm0, %xmm0
.LBB12_19:                              # %.lr.ph.i.i.i.i.i86
                                        # =>This Inner Loop Header: Depth=1
	leaq	(%rbx,%rcx), %rdx
	addq	$24, %rdx
	movq	-24(%rdx), %rsi
	movq	%rsi, (%rax,%rcx)
	movq	-16(%rdx), %rsi
	movq	%rsi, 8(%rax,%rcx)
	movq	-8(%rdx), %rsi
	movq	%rsi, 16(%rax,%rcx)
	movups	%xmm0, -24(%rdx)
	movq	$0, -8(%rdx)
	addq	$24, %rcx
	cmpq	%r13, %rdx
	jne	.LBB12_19
# %bb.20:                               # %.lr.ph.i.i.i93.preheader
	addq	%rbp, 8(%r14)
.LBB12_21:                              # %.lr.ph.i.i.i93
                                        # =>This Inner Loop Header: Depth=1
.Ltmp70:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EEaSERKS3_
.Ltmp71:
# %bb.22:                               # %.noexc96
                                        #   in Loop: Header=BB12_21 Depth=1
	addq	$24, %rbx
	cmpq	%r13, %rbx
	jne	.LBB12_21
	jmp	.LBB12_23
.LBB12_26:
	xorl	%ebp, %ebp
.LBB12_28:                              # %_ZNSt12_Vector_baseISt6vectorI15HIP_vector_typeIhLj4EESaIS2_EESaIS4_EE11_M_allocateEm.exit
	addq	%rbp, %r13
.Ltmp76:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	16(%rsp), %rdx                  # 8-byte Reload
	callq	_ZSt18__do_uninit_fill_nIPSt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEmS4_ET_S6_T0_RKT1_
.Ltmp77:
# %bb.29:                               # %_ZSt24__uninitialized_fill_n_aIPSt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEmS4_S4_ET_S6_T0_RKT1_RSaIT2_E.exit101
	movq	%rbp, %rax
	movq	8(%rsp), %r13                   # 8-byte Reload
	cmpq	%rbx, %r13
	je	.LBB12_32
# %bb.30:                               # %.lr.ph.i.i.i.i.i103.preheader
	xorps	%xmm0, %xmm0
	movq	%rbp, %rax
	movq	%r13, %rcx
.LBB12_31:                              # %.lr.ph.i.i.i.i.i103
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rdx
	movq	%rdx, (%rax)
	movq	8(%rcx), %rdx
	movq	%rdx, 8(%rax)
	movq	16(%rcx), %rdx
	movq	%rdx, 16(%rax)
	movups	%xmm0, (%rcx)
	movq	$0, 16(%rcx)
	addq	$24, %rax
	addq	$24, %rcx
	cmpq	%rbx, %rcx
	jne	.LBB12_31
.LBB12_32:                              # %_ZSt34__uninitialized_move_if_noexcept_aIPSt6vectorI15HIP_vector_typeIhLj4EESaIS2_EES5_SaIS4_EET0_T_S8_S7_RT1_.exit
	leaq	(%r12,%r12,2), %rcx
	leaq	(%rax,%rcx,8), %r12
	cmpq	%rbx, %r15
	je	.LBB12_35
# %bb.33:                               # %.lr.ph.i.i.i.i.i109.preheader
	xorps	%xmm0, %xmm0
.LBB12_34:                              # %.lr.ph.i.i.i.i.i109
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movq	%rax, (%r12)
	movq	8(%rbx), %rax
	movq	%rax, 8(%r12)
	movq	16(%rbx), %rax
	movq	%rax, 16(%r12)
	movups	%xmm0, (%rbx)
	movq	$0, 16(%rbx)
	addq	$24, %r12
	addq	$24, %rbx
	cmpq	%r15, %rbx
	jne	.LBB12_34
.LBB12_35:                              # %_ZSt34__uninitialized_move_if_noexcept_aIPSt6vectorI15HIP_vector_typeIhLj4EESaIS2_EES5_SaIS4_EET0_T_S8_S7_RT1_.exit114
	cmpq	%r15, %r13
	je	.LBB12_40
# %bb.36:                               # %.lr.ph.i.i.i.preheader
	movq	%r13, %rbx
.LBB12_37:                              # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB12_39
# %bb.38:                               #   in Loop: Header=BB12_37 Depth=1
	callq	_ZdlPv
.LBB12_39:                              # %_ZSt8_DestroyISt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEEvPT_.exit.i.i.i
                                        #   in Loop: Header=BB12_37 Depth=1
	addq	$24, %rbx
	cmpq	%r15, %rbx
	jne	.LBB12_37
.LBB12_40:                              # %_ZSt8_DestroyIPSt6vectorI15HIP_vector_typeIhLj4EESaIS2_EES4_EvT_S6_RSaIT0_E.exit
	testq	%r13, %r13
	je	.LBB12_42
# %bb.41:
	movq	%r13, %rdi
	callq	_ZdlPv
.LBB12_42:                              # %_ZNSt12_Vector_baseISt6vectorI15HIP_vector_typeIhLj4EESaIS2_EESaIS4_EE13_M_deallocateEPS4_m.exit
	movq	%rbp, (%r14)
	movq	%r12, 8(%r14)
	movq	(%rsp), %rax                    # 8-byte Reload
	leaq	(%rax,%rax,2), %rax
	leaq	(,%rax,8), %rax
	addq	%rbp, %rax
	movq	%rax, 16(%r14)
	jmp	.LBB12_43
.LBB12_53:                              # %_ZSt22__uninitialized_move_aIPSt6vectorI15HIP_vector_typeIhLj4EESaIS2_EES5_SaIS4_EET0_T_S8_S7_RT1_.exit91.thread
	addq	%rbp, %rax
	movq	%rax, 8(%r14)
.LBB12_23:                              # %_ZSt4fillIPSt6vectorI15HIP_vector_typeIhLj4EESaIS2_EES4_EvT_S6_RKT0_.exit
	movq	32(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB12_43
# %bb.24:
	callq	_ZdlPv
.LBB12_43:
	addq	$56, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB12_12:                              # %.loopexit.split-lp.loopexit.split-lp
	.cfi_def_cfa_offset 112
.Ltmp69:
	jmp	.LBB12_13
.LBB12_44:
.Ltmp78:
	movq	%rax, %rdi
	callq	__cxa_begin_catch
	testq	%rbp, %rbp
	jne	.LBB12_50
# %bb.45:
	shlq	$3, %r12
	leaq	(%r12,%r12,2), %rbx
	xorl	%r14d, %r14d
.LBB12_46:                              # %.lr.ph.i.i.i69
                                        # =>This Inner Loop Header: Depth=1
	movq	(%r13,%r14), %rdi
	testq	%rdi, %rdi
	je	.LBB12_48
# %bb.47:                               #   in Loop: Header=BB12_46 Depth=1
	callq	_ZdlPv
.LBB12_48:                              # %_ZSt8_DestroyISt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEEvPT_.exit.i.i.i72
                                        #   in Loop: Header=BB12_46 Depth=1
	addq	$24, %r14
	cmpq	%r14, %rbx
	jne	.LBB12_46
	jmp	.LBB12_51
.LBB12_50:                              # %_ZSt8_DestroyIPSt6vectorI15HIP_vector_typeIhLj4EESaIS2_EES4_EvT_S6_RSaIT0_E.exit74.thread125
	movq	%rbp, %rdi
	callq	_ZdlPv
.LBB12_51:                              # %_ZNSt12_Vector_baseISt6vectorI15HIP_vector_typeIhLj4EESaIS2_EESaIS4_EE13_M_deallocateEPS4_m.exit117
.Ltmp79:
	callq	__cxa_rethrow
.Ltmp80:
# %bb.52:
.LBB12_49:
.Ltmp81:
	movq	%rax, %rbx
.Ltmp82:
	callq	__cxa_end_catch
.Ltmp83:
	jmp	.LBB12_15
.LBB12_54:
.Ltmp84:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.LBB12_11:                              # %.loopexit.split-lp.loopexit
.Ltmp72:
	jmp	.LBB12_13
.LBB12_10:                              # %.loopexit
.Ltmp75:
.LBB12_13:                              # %.loopexit.split-lp
	movq	%rax, %rbx
	movq	32(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB12_15
# %bb.14:
	callq	_ZdlPv
.LBB12_15:
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end12:
	.size	_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS3_S5_EEmRKS3_, .Lfunc_end12-_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS3_S5_EEmRKS3_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS3_S5_EEmRKS3_,"aG",@progbits,_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS3_S5_EEmRKS3_,comdat
	.p2align	2, 0x0
GCC_except_table12:
.Lexception1:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase0-.Lttbaseref0
.Lttbaseref0:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end1-.Lcst_begin1
.Lcst_begin1:
	.uleb128 .Lfunc_begin1-.Lfunc_begin1    # >> Call Site 1 <<
	.uleb128 .Ltmp73-.Lfunc_begin1          #   Call between .Lfunc_begin1 and .Ltmp73
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp73-.Lfunc_begin1          # >> Call Site 2 <<
	.uleb128 .Ltmp74-.Ltmp73                #   Call between .Ltmp73 and .Ltmp74
	.uleb128 .Ltmp75-.Lfunc_begin1          #     jumps to .Ltmp75
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp67-.Lfunc_begin1          # >> Call Site 3 <<
	.uleb128 .Ltmp68-.Ltmp67                #   Call between .Ltmp67 and .Ltmp68
	.uleb128 .Ltmp69-.Lfunc_begin1          #     jumps to .Ltmp69
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp70-.Lfunc_begin1          # >> Call Site 4 <<
	.uleb128 .Ltmp71-.Ltmp70                #   Call between .Ltmp70 and .Ltmp71
	.uleb128 .Ltmp72-.Lfunc_begin1          #     jumps to .Ltmp72
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp76-.Lfunc_begin1          # >> Call Site 5 <<
	.uleb128 .Ltmp77-.Ltmp76                #   Call between .Ltmp76 and .Ltmp77
	.uleb128 .Ltmp78-.Lfunc_begin1          #     jumps to .Ltmp78
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp77-.Lfunc_begin1          # >> Call Site 6 <<
	.uleb128 .Ltmp79-.Ltmp77                #   Call between .Ltmp77 and .Ltmp79
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp79-.Lfunc_begin1          # >> Call Site 7 <<
	.uleb128 .Ltmp80-.Ltmp79                #   Call between .Ltmp79 and .Ltmp80
	.uleb128 .Ltmp81-.Lfunc_begin1          #     jumps to .Ltmp81
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp82-.Lfunc_begin1          # >> Call Site 8 <<
	.uleb128 .Ltmp83-.Ltmp82                #   Call between .Ltmp82 and .Ltmp83
	.uleb128 .Ltmp84-.Lfunc_begin1          #     jumps to .Ltmp84
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp83-.Lfunc_begin1          # >> Call Site 9 <<
	.uleb128 .Lfunc_end12-.Ltmp83           #   Call between .Ltmp83 and .Lfunc_end12
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end1:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNKSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE12_M_check_lenEmPKc,"axG",@progbits,_ZNKSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE12_M_check_lenEmPKc,comdat
	.weak	_ZNKSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE12_M_check_lenEmPKc # -- Begin function _ZNKSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE12_M_check_lenEmPKc
	.p2align	1, 0x90
	.type	_ZNKSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE12_M_check_lenEmPKc,@function
_ZNKSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE12_M_check_lenEmPKc: # @_ZNKSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE12_M_check_lenEmPKc
	.cfi_startproc
# %bb.0:
	movabsq	$384307168202282325, %rcx       # imm = 0x555555555555555
	movq	8(%rdi), %rax
	subq	(%rdi), %rax
	sarq	$3, %rax
	movabsq	$-6148914691236517205, %rdi     # imm = 0xAAAAAAAAAAAAAAAB
	imulq	%rax, %rdi
	movq	%rcx, %rax
	subq	%rdi, %rax
	cmpq	%rsi, %rax
	jb	.LBB13_2
# %bb.1:
	cmpq	%rsi, %rdi
	cmovaq	%rdi, %rsi
	leaq	(%rsi,%rdi), %rax
	cmpq	%rcx, %rax
	cmovaeq	%rcx, %rax
	addq	%rdi, %rsi
	cmovbq	%rcx, %rax
	retq
.LBB13_2:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdx, %rdi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end13:
	.size	_ZNKSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE12_M_check_lenEmPKc, .Lfunc_end13-_ZNKSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EE12_M_check_lenEmPKc
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EEC2ERKS3_,"axG",@progbits,_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EEC2ERKS3_,comdat
	.weak	_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EEC2ERKS3_ # -- Begin function _ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EEC2ERKS3_
	.p2align	1, 0x90
	.type	_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EEC2ERKS3_,@function
_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EEC2ERKS3_: # @_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EEC2ERKS3_
	.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, %r14
	movq	%rdi, %rbx
	movq	8(%rsi), %rax
	movq	(%rsi), %rcx
	movq	%rax, %r15
	subq	%rcx, %r15
	sarq	$2, %r15
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	cmpq	%rcx, %rax
	je	.LBB14_1
# %bb.2:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorI15HIP_vector_typeIhLj4EEE8allocateEmPKv
	jmp	.LBB14_3
.LBB14_1:
	xorl	%eax, %eax
.LBB14_3:
	movq	%rax, (%rbx)
	movq	%rax, 8(%rbx)
	leaq	(%rax,%r15,4), %rcx
	movq	%rcx, 16(%rbx)
	movq	(%r14), %rcx
	movq	8(%r14), %rdx
.LBB14_5:                               # %.lr.ph.i.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	cmpq	%rdx, %rcx
	je	.LBB14_6
# %bb.4:                                # %.lr.ph.i.i.i.i
                                        #   in Loop: Header=BB14_5 Depth=1
	movl	(%rcx), %esi
	movl	%esi, (%rax)
	addq	$4, %rcx
	addq	$4, %rax
	jmp	.LBB14_5
.LBB14_6:                               # %_ZSt22__uninitialized_copy_aIN9__gnu_cxx17__normal_iteratorIPK15HIP_vector_typeIhLj4EESt6vectorIS3_SaIS3_EEEEPS3_S3_ET0_T_SC_SB_RSaIT1_E.exit
	movq	%rax, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end14:
	.size	_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EEC2ERKS3_, .Lfunc_end14-_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EEC2ERKS3_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorI15HIP_vector_typeIhLj4EEE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorI15HIP_vector_typeIhLj4EEE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorI15HIP_vector_typeIhLj4EEE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorI15HIP_vector_typeIhLj4EEE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorI15HIP_vector_typeIhLj4EEE8allocateEmPKv,@function
_ZNSt15__new_allocatorI15HIP_vector_typeIhLj4EEE8allocateEmPKv: # @_ZNSt15__new_allocatorI15HIP_vector_typeIhLj4EEE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$61, %rax
	jne	.LBB15_1
# %bb.3:
	shlq	$2, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB15_1:
	.cfi_def_cfa_offset 16
	shrq	$62, %rsi
	je	.LBB15_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB15_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end15:
	.size	_ZNSt15__new_allocatorI15HIP_vector_typeIhLj4EEE8allocateEmPKv, .Lfunc_end15-_ZNSt15__new_allocatorI15HIP_vector_typeIhLj4EEE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst16,"aM",@progbits,16
	.p2align	4, 0x0                          # -- Begin function _ZNSt20__copy_move_backwardILb1ELb0ESt26random_access_iterator_tagE13__copy_move_bIPSt6vectorI15HIP_vector_typeIhLj4EESaIS5_EES8_EET0_T_SA_S9_
.LCPI16_0:
	.zero	16
	.section	.text._ZNSt20__copy_move_backwardILb1ELb0ESt26random_access_iterator_tagE13__copy_move_bIPSt6vectorI15HIP_vector_typeIhLj4EESaIS5_EES8_EET0_T_SA_S9_,"axG",@progbits,_ZNSt20__copy_move_backwardILb1ELb0ESt26random_access_iterator_tagE13__copy_move_bIPSt6vectorI15HIP_vector_typeIhLj4EESaIS5_EES8_EET0_T_SA_S9_,comdat
	.weak	_ZNSt20__copy_move_backwardILb1ELb0ESt26random_access_iterator_tagE13__copy_move_bIPSt6vectorI15HIP_vector_typeIhLj4EESaIS5_EES8_EET0_T_SA_S9_
	.p2align	1, 0x90
	.type	_ZNSt20__copy_move_backwardILb1ELb0ESt26random_access_iterator_tagE13__copy_move_bIPSt6vectorI15HIP_vector_typeIhLj4EESaIS5_EES8_EET0_T_SA_S9_,@function
_ZNSt20__copy_move_backwardILb1ELb0ESt26random_access_iterator_tagE13__copy_move_bIPSt6vectorI15HIP_vector_typeIhLj4EESaIS5_EES8_EET0_T_SA_S9_: # @_ZNSt20__copy_move_backwardILb1ELb0ESt26random_access_iterator_tagE13__copy_move_bIPSt6vectorI15HIP_vector_typeIhLj4EESaIS5_EES8_EET0_T_SA_S9_
	.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	%rdx, %rbx
	movq	%rsi, %rax
	subq	%rdi, %rax
	testq	%rax, %rax
	jle	.LBB16_5
# %bb.1:                                # %.lr.ph.preheader
	movq	%rsi, %r14
	movabsq	$-6148914691236517205, %rcx     # imm = 0xAAAAAAAAAAAAAAAB
	mulq	%rcx
	movq	%rdx, %r15
	shrq	$4, %r15
	incq	%r15
	addq	$-24, %r14
.LBB16_2:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movq	-24(%rbx), %rdi
	movq	(%r14), %rax
	movq	%rax, -24(%rbx)
	movq	8(%r14), %rax
	movq	%rax, -16(%rbx)
	movq	16(%r14), %rax
	movq	%rax, -8(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r14)
	movq	$0, 16(%r14)
	testq	%rdi, %rdi
	je	.LBB16_4
# %bb.3:                                #   in Loop: Header=BB16_2 Depth=1
	callq	_ZdlPv
.LBB16_4:                               # %_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EEaSEOS3_.exit
                                        #   in Loop: Header=BB16_2 Depth=1
	addq	$-24, %rbx
	decq	%r15
	addq	$-24, %r14
	cmpq	$1, %r15
	jg	.LBB16_2
.LBB16_5:                               # %._crit_edge
	movq	%rbx, %rax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end16:
	.size	_ZNSt20__copy_move_backwardILb1ELb0ESt26random_access_iterator_tagE13__copy_move_bIPSt6vectorI15HIP_vector_typeIhLj4EESaIS5_EES8_EET0_T_SA_S9_, .Lfunc_end16-_ZNSt20__copy_move_backwardILb1ELb0ESt26random_access_iterator_tagE13__copy_move_bIPSt6vectorI15HIP_vector_typeIhLj4EESaIS5_EES8_EET0_T_SA_S9_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EEaSERKS3_,"axG",@progbits,_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EEaSERKS3_,comdat
	.weak	_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EEaSERKS3_ # -- Begin function _ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EEaSERKS3_
	.p2align	1, 0x90
	.type	_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EEaSERKS3_,@function
_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EEaSERKS3_: # @_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EEaSERKS3_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdi, %rbx
	cmpq	%rdi, %rsi
	je	.LBB17_21
# %bb.1:
	movq	%rsi, %r12
	movq	(%rsi), %r15
	movq	8(%rsi), %r13
	movq	%r13, %r14
	subq	%r15, %r14
	movq	(%rbx), %rdi
	movq	16(%rbx), %rax
	subq	%rdi, %rax
	cmpq	%rax, %r14
	jbe	.LBB17_8
# %bb.2:                                # %_ZNSt12_Vector_baseI15HIP_vector_typeIhLj4EESaIS1_EE11_M_allocateEm.exit.i
	movq	%r14, %rsi
	sarq	$2, %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorI15HIP_vector_typeIhLj4EEE8allocateEmPKv
	movq	%rax, %r12
	cmpq	%r13, %r15
	je	.LBB17_5
# %bb.3:                                # %.lr.ph.i.i.i.i.i.preheader
	movq	%r12, %rax
.LBB17_4:                               # %.lr.ph.i.i.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movl	(%r15), %ecx
	movl	%ecx, (%rax)
	addq	$4, %r15
	addq	$4, %rax
	cmpq	%r13, %r15
	jne	.LBB17_4
.LBB17_5:                               # %_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EE20_M_allocate_and_copyIN9__gnu_cxx17__normal_iteratorIPKS1_S3_EEEEPS1_mT_SB_.exit
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB17_7
# %bb.6:
	callq	_ZdlPv
.LBB17_7:                               # %_ZNSt12_Vector_baseI15HIP_vector_typeIhLj4EESaIS1_EE13_M_deallocateEPS1_m.exit
	movq	%r12, (%rbx)
	addq	%r14, %r12
	movq	%r12, 16(%rbx)
	jmp	.LBB17_20
.LBB17_8:
	movq	8(%rbx), %rdx
	subq	%rdi, %rdx
	cmpq	%r14, %rdx
	jae	.LBB17_9
# %bb.13:
	cmpq	$5, %rdx
	jl	.LBB17_15
# %bb.14:
	movq	%r15, %rsi
	callq	memmove@PLT
.LBB17_17:                              # %_ZSt4copyIP15HIP_vector_typeIhLj4EES2_ET0_T_S4_S3_.exit
	movq	8(%rbx), %rax
	movq	%rax, %rcx
	subq	(%rbx), %rcx
	addq	(%r12), %rcx
	movq	8(%r12), %rdx
.LBB17_19:                              # %.lr.ph.i.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	cmpq	%rdx, %rcx
	je	.LBB17_20
# %bb.18:                               # %.lr.ph.i.i.i.i
                                        #   in Loop: Header=BB17_19 Depth=1
	movl	(%rcx), %esi
	movl	%esi, (%rax)
	addq	$4, %rcx
	addq	$4, %rax
	jmp	.LBB17_19
.LBB17_9:
	cmpq	$5, %r14
	jl	.LBB17_11
# %bb.10:
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	memmove@PLT
.LBB17_20:                              # %_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPK15HIP_vector_typeIhLj4EESt6vectorIS3_SaIS3_EEEENS1_IPS3_S8_EEET0_T_SD_SC_.exit
	addq	(%rbx), %r14
	movq	%r14, 8(%rbx)
.LBB17_21:
	movq	%rbx, %rax
	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
.LBB17_15:
	.cfi_def_cfa_offset 48
	cmpq	$4, %rdx
	jne	.LBB17_17
# %bb.16:
	movl	(%r15), %eax
	movl	%eax, (%rdi)
	jmp	.LBB17_17
.LBB17_11:
	cmpq	$4, %r14
	jne	.LBB17_20
# %bb.12:
	movl	(%r15), %eax
	movl	%eax, (%rdi)
	jmp	.LBB17_20
.Lfunc_end17:
	.size	_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EEaSERKS3_, .Lfunc_end17-_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EEaSERKS3_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt18__do_uninit_fill_nIPSt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEmS4_ET_S6_T0_RKT1_,"axG",@progbits,_ZSt18__do_uninit_fill_nIPSt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEmS4_ET_S6_T0_RKT1_,comdat
	.weak	_ZSt18__do_uninit_fill_nIPSt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEmS4_ET_S6_T0_RKT1_ # -- Begin function _ZSt18__do_uninit_fill_nIPSt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEmS4_ET_S6_T0_RKT1_
	.type	_ZSt18__do_uninit_fill_nIPSt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEmS4_ET_S6_T0_RKT1_,@function
_ZSt18__do_uninit_fill_nIPSt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEmS4_ET_S6_T0_RKT1_: # @_ZSt18__do_uninit_fill_nIPSt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEmS4_ET_S6_T0_RKT1_
.Lfunc_begin2:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception2
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	je	.LBB18_5
# %bb.1:                                # %.lr.ph.preheader
	movq	%rdx, %r14
	movq	%rsi, %r15
	xorl	%r12d, %r12d
.LBB18_2:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	leaq	(%rbx,%r12), %rdi
.Ltmp85:
	movq	%r14, %rsi
	callq	_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EEC2ERKS3_
.Ltmp86:
# %bb.3:                                # %_ZSt10_ConstructISt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEJRKS4_EEvPT_DpOT0_.exit
                                        #   in Loop: Header=BB18_2 Depth=1
	addq	$24, %r12
	decq	%r15
	jne	.LBB18_2
# %bb.4:                                # %._crit_edge.loopexit
	addq	%r12, %rbx
.LBB18_5:                               # %._crit_edge
	movq	%rbx, %rax
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB18_6:
	.cfi_def_cfa_offset 48
.Ltmp87:
	movq	%rax, %rdi
	callq	__cxa_begin_catch
	testq	%r12, %r12
	je	.LBB18_10
.LBB18_7:                               # %.lr.ph.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB18_9
# %bb.8:                                #   in Loop: Header=BB18_7 Depth=1
	callq	_ZdlPv
.LBB18_9:                               # %_ZSt8_DestroyISt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEEvPT_.exit.i.i
                                        #   in Loop: Header=BB18_7 Depth=1
	addq	$24, %rbx
	addq	$-24, %r12
	jne	.LBB18_7
.LBB18_10:                              # %_ZSt8_DestroyIPSt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEEvT_S6_.exit
.Ltmp88:
	callq	__cxa_rethrow
.Ltmp89:
# %bb.14:
.LBB18_11:
.Ltmp90:
	movq	%rax, %rbx
.Ltmp91:
	callq	__cxa_end_catch
.Ltmp92:
# %bb.12:
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.LBB18_13:
.Ltmp93:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end18:
	.size	_ZSt18__do_uninit_fill_nIPSt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEmS4_ET_S6_T0_RKT1_, .Lfunc_end18-_ZSt18__do_uninit_fill_nIPSt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEmS4_ET_S6_T0_RKT1_
	.cfi_endproc
	.section	.gcc_except_table._ZSt18__do_uninit_fill_nIPSt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEmS4_ET_S6_T0_RKT1_,"aG",@progbits,_ZSt18__do_uninit_fill_nIPSt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEmS4_ET_S6_T0_RKT1_,comdat
	.p2align	2, 0x0
GCC_except_table18:
.Lexception2:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase1-.Lttbaseref1
.Lttbaseref1:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end2-.Lcst_begin2
.Lcst_begin2:
	.uleb128 .Ltmp85-.Lfunc_begin2          # >> Call Site 1 <<
	.uleb128 .Ltmp86-.Ltmp85                #   Call between .Ltmp85 and .Ltmp86
	.uleb128 .Ltmp87-.Lfunc_begin2          #     jumps to .Ltmp87
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp86-.Lfunc_begin2          # >> Call Site 2 <<
	.uleb128 .Ltmp88-.Ltmp86                #   Call between .Ltmp86 and .Ltmp88
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp88-.Lfunc_begin2          # >> Call Site 3 <<
	.uleb128 .Ltmp89-.Ltmp88                #   Call between .Ltmp88 and .Ltmp89
	.uleb128 .Ltmp90-.Lfunc_begin2          #     jumps to .Ltmp90
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp91-.Lfunc_begin2          # >> Call Site 4 <<
	.uleb128 .Ltmp92-.Ltmp91                #   Call between .Ltmp91 and .Ltmp92
	.uleb128 .Ltmp93-.Lfunc_begin2          #     jumps to .Ltmp93
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp92-.Lfunc_begin2          # >> Call Site 5 <<
	.uleb128 .Lfunc_end18-.Ltmp92           #   Call between .Ltmp92 and .Lfunc_end18
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end2:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase1:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorISt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorISt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorISt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorISt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorISt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEE8allocateEmPKv,@function
_ZNSt15__new_allocatorISt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEE8allocateEmPKv: # @_ZNSt15__new_allocatorISt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movabsq	$384307168202282326, %rax       # imm = 0x555555555555556
	cmpq	%rax, %rsi
	jae	.LBB19_1
# %bb.3:
	shlq	$3, %rsi
	leaq	(%rsi,%rsi,2), %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB19_1:
	.cfi_def_cfa_offset 16
	movabsq	$768614336404564651, %rax       # imm = 0xAAAAAAAAAAAAAAB
	cmpq	%rax, %rsi
	jb	.LBB19_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB19_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end19:
	.size	_ZNSt15__new_allocatorISt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEE8allocateEmPKv, .Lfunc_end19-_ZNSt15__new_allocatorISt6vectorI15HIP_vector_typeIhLj4EESaIS2_EEE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag,"axG",@progbits,_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag,comdat
	.weak	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag # -- Begin function _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag
	.p2align	1, 0x90
	.type	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag,@function
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag: # @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	subq	%rsi, %r14
	movq	%r14, (%rsp)
	cmpq	$15, %r14
	jbe	.LBB20_1
# %bb.2:
	movq	%rsp, %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm
	movq	%rax, (%rbx)
	movq	(%r12), %rcx
	movq	%rcx, 16(%rbx)
	jmp	.LBB20_3
.LBB20_1:                               # %._crit_edge
	movq	(%rbx), %rax
.LBB20_3:
	testq	%r14, %r14
	je	.LBB20_7
# %bb.4:
	cmpq	$1, %r14
	jne	.LBB20_6
# %bb.5:
	movb	(%r15), %cl
	movb	%cl, (%rax)
	jmp	.LBB20_7
.LBB20_6:
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	memcpy@PLT
.LBB20_7:                               # %_ZZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tagEN6_GuardD2Ev.exit
	movq	(%rsp), %rax
	movq	%rax, 8(%rbx)
	movq	(%rbx), %rcx
	movb	$0, (%rcx,%rax)
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end20:
	.size	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag, .Lfunc_end20-_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_,"axG",@progbits,_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_,comdat
	.weak	_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_ # -- Begin function _ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_
	.p2align	1, 0x90
	.type	_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_,@function
_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_: # @_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rdx, 8(%rsp)                   # 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	$1, %esi
	movl	$.L.str.8, %edx
	callq	_ZNKSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EE12_M_check_lenEmPKc
	movq	(%rbx), %r12
	movq	8(%rbx), %r14
	movq	%r15, %rbp
	subq	%r12, %rbp
	sarq	$2, %rbp
	testq	%rax, %rax
	movq	%rax, 16(%rsp)                  # 8-byte Spill
	je	.LBB21_1
# %bb.2:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorI15HIP_vector_typeIhLj4EEE8allocateEmPKv
	movq	%rax, %r13
	jmp	.LBB21_3
.LBB21_1:
	xorl	%r13d, %r13d
.LBB21_3:                               # %_ZNSt12_Vector_baseI15HIP_vector_typeIhLj4EESaIS1_EE11_M_allocateEm.exit
	movq	8(%rsp), %rax                   # 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, (%r13,%rbp,4)
	movq	%r13, %rbp
	cmpq	%r15, %r12
	je	.LBB21_6
# %bb.4:                                # %.lr.ph.i.i.i.preheader
	movq	%r13, %rbp
	movq	%r12, %rax
.LBB21_5:                               # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movl	(%rax), %ecx
	movl	%ecx, (%rbp)
	addq	$4, %rax
	addq	$4, %rbp
	cmpq	%r15, %rax
	jne	.LBB21_5
.LBB21_6:                               # %_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EE11_S_relocateEPS1_S4_S4_RS2_.exit
	addq	$4, %rbp
	cmpq	%r15, %r14
	je	.LBB21_8
.LBB21_7:                               # %.lr.ph.i.i.i17
                                        # =>This Inner Loop Header: Depth=1
	movl	(%r15), %eax
	movl	%eax, (%rbp)
	addq	$4, %r15
	addq	$4, %rbp
	cmpq	%r14, %r15
	jne	.LBB21_7
.LBB21_8:                               # %_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EE11_S_relocateEPS1_S4_S4_RS2_.exit22
	testq	%r12, %r12
	je	.LBB21_10
# %bb.9:
	movq	%r12, %rdi
	callq	_ZdlPv
.LBB21_10:                              # %_ZNSt12_Vector_baseI15HIP_vector_typeIhLj4EESaIS1_EE13_M_deallocateEPS1_m.exit
	movq	%r13, (%rbx)
	movq	%rbp, 8(%rbx)
	movq	16(%rsp), %rax                  # 8-byte Reload
	leaq	(,%rax,4), %rax
	addq	%r13, %rax
	movq	%rax, 16(%rbx)
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end21:
	.size	_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_, .Lfunc_end21-_ZNSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNKSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EE12_M_check_lenEmPKc,"axG",@progbits,_ZNKSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EE12_M_check_lenEmPKc,comdat
	.weak	_ZNKSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EE12_M_check_lenEmPKc # -- Begin function _ZNKSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EE12_M_check_lenEmPKc
	.p2align	1, 0x90
	.type	_ZNKSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EE12_M_check_lenEmPKc,@function
_ZNKSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EE12_M_check_lenEmPKc: # @_ZNKSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EE12_M_check_lenEmPKc
	.cfi_startproc
# %bb.0:
	movabsq	$2305843009213693951, %rcx      # imm = 0x1FFFFFFFFFFFFFFF
	movq	8(%rdi), %r8
	subq	(%rdi), %r8
	sarq	$2, %r8
	movq	%rcx, %rax
	subq	%r8, %rax
	cmpq	%rsi, %rax
	jb	.LBB22_2
# %bb.1:
	cmpq	%rsi, %r8
	cmovaq	%r8, %rsi
	leaq	(%rsi,%r8), %rax
	cmpq	%rcx, %rax
	cmovaeq	%rcx, %rax
	addq	%r8, %rsi
	cmovbq	%rcx, %rax
	retq
.LBB22_2:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdx, %rdi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end22:
	.size	_ZNKSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EE12_M_check_lenEmPKc, .Lfunc_end22-_ZNKSt6vectorI15HIP_vector_typeIhLj4EESaIS1_EE12_M_check_lenEmPKc
	.cfi_endproc
                                        # -- End function
	.section	.text.startup,"ax",@progbits
	.type	_GLOBAL__sub_I_lab.hip,@function # -- Begin function _GLOBAL__sub_I_lab.hip
_GLOBAL__sub_I_lab.hip:                 # @_GLOBAL__sub_I_lab.hip
	.cfi_startproc
# %bb.0:
	xorps	%xmm0, %xmm0
	movups	%xmm0, cls(%rip)
	movq	$0, cls+16(%rip)
	movl	$_ZNSt6vectorIS_I15HIP_vector_typeIhLj4EESaIS1_EESaIS3_EED2Ev, %edi
	movl	$cls, %esi
	movl	$__dso_handle, %edx
	jmp	__cxa_atexit                    # TAILCALL
.Lfunc_end23:
	.size	_GLOBAL__sub_I_lab.hip, .Lfunc_end23-_GLOBAL__sub_I_lab.hip
	.cfi_endproc
                                        # -- End function
	.text
	.p2align	4, 0x90                         # -- Begin function __hip_module_ctor
	.type	__hip_module_ctor,@function
__hip_module_ctor:                      # @__hip_module_ctor
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	__hip_gpubin_handle(%rip), %rbx
	testq	%rbx, %rbx
	jne	.LBB24_2
# %bb.1:
	movl	$__hip_fatbin_wrapper, %edi
	callq	__hipRegisterFatBinary
	movq	%rax, %rbx
	movq	%rax, __hip_gpubin_handle(%rip)
.LBB24_2:
	subq	$32, %rsp
	.cfi_adjust_cfa_offset 32
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z6kernelP15HIP_vector_typeIhLj4EEjji, %esi
	movl	$.L__unnamed_1, %edx
	movl	$.L__unnamed_1, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	addq	$32, %rsp
	.cfi_adjust_cfa_offset -32
	movl	$GPU_AVG, %esi
	movl	$.L__unnamed_2, %edx
	movl	$.L__unnamed_2, %ecx
	movl	$1200, %r9d                     # imm = 0x4B0
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	pushq	$0
	.cfi_adjust_cfa_offset 8
	pushq	$1
	.cfi_adjust_cfa_offset 8
	callq	__hipRegisterVar
	addq	$16, %rsp
	.cfi_adjust_cfa_offset -16
	movl	$GPU_INVERT_COV, %esi
	movl	$.L__unnamed_3, %edx
	movl	$.L__unnamed_3, %ecx
	movl	$3600, %r9d                     # imm = 0xE10
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	pushq	$0
	.cfi_adjust_cfa_offset 8
	pushq	$1
	.cfi_adjust_cfa_offset 8
	callq	__hipRegisterVar
	addq	$16, %rsp
	.cfi_adjust_cfa_offset -16
	movl	$__hip_module_dtor, %edi
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	atexit                          # TAILCALL
.Lfunc_end24:
	.size	__hip_module_ctor, .Lfunc_end24-__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	.LBB25_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
.LBB25_2:
	retq
.Lfunc_end25:
	.size	__hip_module_dtor, .Lfunc_end25-__hip_module_dtor
	.cfi_endproc
                                        # -- End function
	.type	start,@object                   # @start
	.bss
	.globl	start
	.p2align	3, 0x0
start:
	.quad	0
	.size	start, 8

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

	.type	t,@object                       # @t
	.globl	t
	.p2align	2, 0x0
t:
	.long	0x00000000                      # float 0
	.size	t, 4

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

	.type	.L.str.1,@object                # @.str.1
.L.str.1:
	.asciz	"/home/ubuntu/Datasets/stackv2/train-structured-repos-hip-sm89/21zaber/MAI/master/MAI/PGP/lab3/lab.hip"
	.size	.L.str.1, 102

	.type	.L.str.2,@object                # @.str.2
.L.str.2:
	.asciz	"time = %f\n"
	.size	.L.str.2, 11

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

	.hidden	__dso_handle
	.type	GPU_AVG,@object                 # @GPU_AVG
	.local	GPU_AVG
	.comm	GPU_AVG,1200,16
	.type	GPU_INVERT_COV,@object          # @GPU_INVERT_COV
	.local	GPU_INVERT_COV
	.comm	GPU_INVERT_COV,3600,16
	.type	_Z6kernelP15HIP_vector_typeIhLj4EEjji,@object # @_Z6kernelP15HIP_vector_typeIhLj4EEjji
	.section	.rodata,"a",@progbits
	.globl	_Z6kernelP15HIP_vector_typeIhLj4EEjji
	.p2align	3, 0x0
_Z6kernelP15HIP_vector_typeIhLj4EEjji:
	.quad	_Z21__device_stub__kernelP15HIP_vector_typeIhLj4EEjji
	.size	_Z6kernelP15HIP_vector_typeIhLj4EEjji, 8

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

	.type	.L.str.4,@object                # @.str.4
.L.str.4:
	.asciz	"Wrong file name "
	.size	.L.str.4, 17

	.type	.L.str.5,@object                # @.str.5
.L.str.5:
	.asciz	"!\n"
	.size	.L.str.5, 3

	.type	.L.str.6,@object                # @.str.6
.L.str.6:
	.asciz	"wb"
	.size	.L.str.6, 3

	.type	.L.str.7,@object                # @.str.7
.L.str.7:
	.asciz	"vector::_M_fill_insert"
	.size	.L.str.7, 23

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

	.type	.L__unnamed_1,@object           # @0
.L__unnamed_1:
	.asciz	"_Z6kernelP15HIP_vector_typeIhLj4EEjji"
	.size	.L__unnamed_1, 38

	.type	.L__unnamed_2,@object           # @1
.L__unnamed_2:
	.asciz	"GPU_AVG"
	.size	.L__unnamed_2, 8

	.type	.L__unnamed_3,@object           # @2
.L__unnamed_3:
	.asciz	"GPU_INVERT_COV"
	.size	.L__unnamed_3, 15

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

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

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym _Z21__device_stub__kernelP15HIP_vector_typeIhLj4EEjji
	.addrsig_sym __gxx_personality_v0
	.addrsig_sym _GLOBAL__sub_I_lab.hip
	.addrsig_sym __hip_module_ctor
	.addrsig_sym __hip_module_dtor
	.addrsig_sym _Unwind_Resume
	.addrsig_sym start
	.addrsig_sym stop
	.addrsig_sym t
	.addrsig_sym cls
	.addrsig_sym __dso_handle
	.addrsig_sym GPU_AVG
	.addrsig_sym GPU_INVERT_COV
	.addrsig_sym _Z6kernelP15HIP_vector_typeIhLj4EEjji
	.addrsig_sym _ZSt3cin
	.addrsig_sym _ZSt4cout
	.addrsig_sym __hip_fatbin
	.addrsig_sym __hip_fatbin_wrapper
	.addrsig_sym __hip_cuid_

	.text
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.protected	_Z6kernelP15HIP_vector_typeIhLj4EEjji ; -- Begin function _Z6kernelP15HIP_vector_typeIhLj4EEjji
	.globl	_Z6kernelP15HIP_vector_typeIhLj4EEjji
	.p2align	8
	.type	_Z6kernelP15HIP_vector_typeIhLj4EEjji,@function
_Z6kernelP15HIP_vector_typeIhLj4EEjji:  ; @_Z6kernelP15HIP_vector_typeIhLj4EEjji
; %bb.0:
	s_clause 0x1
	s_load_b32 s5, s[0:1], 0x24
	s_load_b128 s[16:19], s[0:1], 0x8
	v_and_b32_e32 v1, 0x3ff, v0
	s_add_u32 s2, s0, 24
	s_addc_u32 s3, s1, 0
	s_mov_b32 s6, exec_lo
	s_waitcnt lgkmcnt(0)
	s_and_b32 s4, s5, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[6:7], null, s14, s4, v[1:2]
	v_cmpx_gt_u32_e64 s16, v6
	s_cbranch_execz .LBB0_19
; %bb.1:                                ; %.preheader.lr.ph
	s_load_b64 s[2:3], s[2:3], 0x0
	s_getpc_b64 s[6:7]
	s_add_u32 s6, s6, GPU_AVG@rel32@lo+4
	s_addc_u32 s7, s7, GPU_AVG@rel32@hi+12
	s_load_b64 s[24:25], s[0:1], 0x0
	s_clause 0x1
	s_load_b128 s[20:23], s[6:7], 0x0
	s_load_b64 s[26:27], s[6:7], 0x10
	v_bfe_u32 v0, v0, 10, 10
	s_lshr_b32 s1, s5, 16
	v_mov_b32_e32 v22, 0
	s_cmp_gt_i32 s18, 1
	s_mov_b32 s28, 0
	v_mad_u64_u32 v[7:8], null, s15, s1, v[0:1]
	s_cselect_b32 s15, -1, 0
	s_delay_alu instid0(VALU_DEP_1)
	v_cmp_gt_u32_e64 s0, s17, v7
	s_waitcnt lgkmcnt(0)
	s_mul_i32 s14, s2, s4
	s_mul_i32 s19, s3, s1
	s_mov_b32 s3, 0
	s_mov_b32 s4, 0
.LBB0_2:                                ; %.preheader
                                        ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
                                        ;       Child Loop BB0_5 Depth 3
                                        ;         Child Loop BB0_6 Depth 4
                                        ;       Child Loop BB0_10 Depth 3
                                        ;         Child Loop BB0_11 Depth 4
                                        ;           Child Loop BB0_12 Depth 5
	s_and_saveexec_b32 s29, s0
	s_cbranch_execz .LBB0_18
; %bb.3:                                ; %.lr.ph.preheader
                                        ;   in Loop: Header=BB0_2 Depth=1
	v_mov_b32_e32 v23, v7
	s_mov_b32 s30, 0
.LBB0_4:                                ; %.lr.ph
                                        ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_5 Depth 3
                                        ;         Child Loop BB0_6 Depth 4
                                        ;       Child Loop BB0_10 Depth 3
                                        ;         Child Loop BB0_11 Depth 4
                                        ;           Child Loop BB0_12 Depth 5
	s_delay_alu instid0(VALU_DEP_1)
	v_mad_u64_u32 v[0:1], null, v23, s16, v[6:7]
	v_dual_mov_b32 v1, v22 :: v_dual_mov_b32 v10, 0
	s_mov_b32 s5, s4
	s_mov_b32 s6, s4
	s_mov_b32 s7, s4
	s_mov_b32 s8, s4
	s_delay_alu instid0(VALU_DEP_2)
	v_lshlrev_b64 v[0:1], 2, v[0:1]
	s_mov_b32 s9, s4
	v_mov_b32_e32 v11, 0
	s_getpc_b64 s[10:11]
	s_add_u32 s10, s10, GPU_INVERT_COV@rel32@lo+4
	s_addc_u32 s11, s11, GPU_INVERT_COV@rel32@hi+12
	v_add_co_u32 v8, vcc_lo, s24, v0
	v_add_co_ci_u32_e32 v9, vcc_lo, s25, v1, vcc_lo
	global_load_b32 v0, v[8:9], off
	s_waitcnt vmcnt(0)
	v_and_b32_e32 v1, 0xff, v0
	v_bfe_u32 v2, v0, 8, 8
	v_bfe_u32 v4, v0, 16, 8
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cvt_f64_i32_e32 v[0:1], v1
	v_cvt_f64_i32_e32 v[2:3], v2
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cvt_f64_i32_e32 v[4:5], v4
	v_add_f64 v[12:13], v[0:1], -s[20:21]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[14:15], v[2:3], -s[22:23]
	v_add_f64 v[16:17], v[4:5], -s[26:27]
	v_mov_b32_e32 v0, s4
	v_dual_mov_b32 v2, s6 :: v_dual_mov_b32 v1, s5
	v_dual_mov_b32 v4, s8 :: v_dual_mov_b32 v3, s7
	v_mov_b32_e32 v5, s9
	s_mov_b32 s5, 0
.LBB0_5:                                ; %.preheader.i.i
                                        ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_4 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_6 Depth 4
	s_mov_b64 s[6:7], 0
	s_mov_b64 s[8:9], s[10:11]
.LBB0_6:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_4 Depth=2
                                        ;       Parent Loop BB0_5 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	s_load_b64 s[12:13], s[8:9], 0x0
	s_cmp_eq_u32 s6, 1
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s6, 2
	v_cndmask_b32_e32 v18, v13, v15, vcc_lo
	s_cselect_b32 s1, -1, 0
	s_cmp_eq_u32 s5, 1
	v_cndmask_b32_e32 v20, v12, v14, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s5, 2
	v_dual_cndmask_b32 v21, v1, v3 :: v_dual_cndmask_b32 v24, v0, v2
	s_cselect_b32 s2, -1, 0
	v_cndmask_b32_e64 v19, v18, v17, s1
	v_cndmask_b32_e64 v18, v20, v16, s1
	s_delay_alu instid0(VALU_DEP_3)
	v_cndmask_b32_e64 v21, v21, v5, s2
	v_cndmask_b32_e64 v20, v24, v4, s2
	s_cmp_eq_u32 s5, 0
	s_cselect_b32 s1, -1, 0
	s_add_u32 s6, s6, 1
	s_waitcnt lgkmcnt(0)
	v_fma_f64 v[18:19], v[18:19], s[12:13], v[20:21]
	s_addc_u32 s7, s7, 0
	s_add_u32 s8, s8, 24
	s_addc_u32 s9, s9, 0
	s_cmp_eq_u32 s6, 3
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cndmask_b32_e32 v3, v3, v19, vcc_lo
	v_cndmask_b32_e64 v5, v5, v19, s2
	v_cndmask_b32_e64 v4, v4, v18, s2
	v_cndmask_b32_e32 v2, v2, v18, vcc_lo
	v_cndmask_b32_e64 v1, v1, v19, s1
	v_cndmask_b32_e64 v0, v0, v18, s1
	s_cbranch_scc0 .LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=3
	s_cmp_eq_u32 s5, 1
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s5, 2
	v_cndmask_b32_e32 v20, v13, v15, vcc_lo
	v_cndmask_b32_e32 v24, v12, v14, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_add_i32 s5, s5, 1
	s_add_u32 s10, s10, 8
	v_cndmask_b32_e32 v21, v20, v17, vcc_lo
	v_cndmask_b32_e32 v20, v24, v16, vcc_lo
	s_addc_u32 s11, s11, 0
	s_cmp_eq_u32 s5, 3
	s_delay_alu instid0(VALU_DEP_1)
	v_fma_f64 v[10:11], -v[20:21], v[18:19], v[10:11]
	s_cbranch_scc0 .LBB0_5
; %bb.8:                                ; %_Z11mahalanobis15HIP_vector_typeIhLj4EEi.exit.i
                                        ;   in Loop: Header=BB0_4 Depth=2
	s_and_not1_b32 vcc_lo, exec_lo, s15
	global_store_b8 v[8:9], v22, off offset:3
	s_cbranch_vccnz .LBB0_17
; %bb.9:                                ; %.lr.ph.i.preheader
                                        ;   in Loop: Header=BB0_4 Depth=2
	v_mov_b32_e32 v24, 1
.LBB0_10:                               ; %.lr.ph.i
                                        ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_4 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_11 Depth 4
                                        ;           Child Loop BB0_12 Depth 5
	global_load_b32 v0, v[8:9], off
	v_readfirstlane_b32 s2, v24
	s_getpc_b64 s[6:7]
	s_add_u32 s6, s6, GPU_INVERT_COV@rel32@lo+4
	s_addc_u32 s7, s7, GPU_INVERT_COV@rel32@hi+12
	v_mov_b32_e32 v18, 0
	s_bfe_i64 s[8:9], s[2:3], 0x80000
	s_delay_alu instid0(SALU_CYCLE_1)
	s_mul_i32 s1, s8, 0x48
	s_mul_hi_i32 s2, s8, 0x48
	s_add_u32 s6, s1, s6
	s_addc_u32 s7, s2, s7
	s_mul_i32 s1, s8, 24
	s_getpc_b64 s[10:11]
	s_add_u32 s10, s10, GPU_AVG@rel32@lo+4
	s_addc_u32 s11, s11, GPU_AVG@rel32@hi+12
	s_mul_hi_i32 s2, s8, 24
	s_add_u32 s12, s1, s10
	s_addc_u32 s13, s2, s11
	s_clause 0x1
	s_load_b128 s[8:11], s[12:13], 0x0
	s_load_b64 s[12:13], s[12:13], 0x10
	s_waitcnt vmcnt(0)
	v_and_b32_e32 v1, 0xff, v0
	v_bfe_u32 v2, v0, 8, 8
	v_bfe_u32 v4, v0, 16, 8
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cvt_f64_i32_e32 v[0:1], v1
	v_cvt_f64_i32_e32 v[2:3], v2
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cvt_f64_i32_e32 v[4:5], v4
	s_waitcnt lgkmcnt(0)
	v_add_f64 v[12:13], v[0:1], -s[8:9]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[14:15], v[2:3], -s[10:11]
	v_add_f64 v[16:17], v[4:5], -s[12:13]
	s_mov_b32 s8, 0
	s_delay_alu instid0(SALU_CYCLE_1)
	s_mov_b32 s9, s8
	s_mov_b32 s10, s8
	s_mov_b32 s11, s8
	s_mov_b32 s12, s8
	s_mov_b32 s13, s8
	v_dual_mov_b32 v19, 0 :: v_dual_mov_b32 v0, s8
	v_dual_mov_b32 v1, s9 :: v_dual_mov_b32 v2, s10
	v_dual_mov_b32 v3, s11 :: v_dual_mov_b32 v4, s12
	v_mov_b32_e32 v5, s13
.LBB0_11:                               ; %.preheader.i17.i
                                        ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_4 Depth=2
                                        ;       Parent Loop BB0_10 Depth=3
                                        ; =>      This Loop Header: Depth=4
                                        ;           Child Loop BB0_12 Depth 5
	s_mov_b64 s[10:11], 0
	s_mov_b64 s[12:13], s[6:7]
.LBB0_12:                               ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_4 Depth=2
                                        ;       Parent Loop BB0_10 Depth=3
                                        ;         Parent Loop BB0_11 Depth=4
                                        ; =>        This Inner Loop Header: Depth=5
	s_load_b64 s[34:35], s[12:13], 0x0
	s_cmp_eq_u32 s10, 1
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s10, 2
	v_dual_cndmask_b32 v20, v13, v15 :: v_dual_cndmask_b32 v25, v12, v14
	s_cselect_b32 s1, -1, 0
	s_cmp_eq_u32 s8, 1
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s8, 2
	v_dual_cndmask_b32 v26, v1, v3 :: v_dual_cndmask_b32 v27, v0, v2
	s_cselect_b32 s2, -1, 0
	v_cndmask_b32_e64 v21, v20, v17, s1
	v_cndmask_b32_e64 v20, v25, v16, s1
	s_delay_alu instid0(VALU_DEP_3)
	v_cndmask_b32_e64 v26, v26, v5, s2
	v_cndmask_b32_e64 v25, v27, v4, s2
	s_cmp_eq_u32 s8, 0
	s_cselect_b32 s1, -1, 0
	s_add_u32 s10, s10, 1
	s_waitcnt lgkmcnt(0)
	v_fma_f64 v[20:21], v[20:21], s[34:35], v[25:26]
	s_addc_u32 s11, s11, 0
	s_add_u32 s12, s12, 24
	s_addc_u32 s13, s13, 0
	s_cmp_eq_u32 s10, 3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v5, v5, v21, s2
	v_cndmask_b32_e64 v4, v4, v20, s2
	v_dual_cndmask_b32 v3, v3, v21 :: v_dual_cndmask_b32 v2, v2, v20
	v_cndmask_b32_e64 v1, v1, v21, s1
	v_cndmask_b32_e64 v0, v0, v20, s1
	s_cbranch_scc0 .LBB0_12
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=4
	s_cmp_eq_u32 s8, 1
	s_cselect_b32 vcc_lo, -1, 0
	s_cmp_eq_u32 s8, 2
	v_cndmask_b32_e32 v25, v13, v15, vcc_lo
	v_cndmask_b32_e32 v27, v12, v14, vcc_lo
	s_cselect_b32 vcc_lo, -1, 0
	s_add_i32 s8, s8, 1
	s_add_u32 s6, s6, 8
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_dual_cndmask_b32 v26, v25, v17 :: v_dual_cndmask_b32 v25, v27, v16
	s_addc_u32 s7, s7, 0
	s_cmp_eq_u32 s8, 3
	v_fma_f64 v[18:19], -v[25:26], v[20:21], v[18:19]
	s_cbranch_scc0 .LBB0_11
; %bb.14:                               ; %_Z11mahalanobis15HIP_vector_typeIhLj4EEi.exit25.i
                                        ;   in Loop: Header=BB0_10 Depth=3
	s_mov_b32 s1, exec_lo
	s_delay_alu instid0(VALU_DEP_1)
	v_cmpx_gt_f64_e32 v[18:19], v[10:11]
	s_cbranch_execz .LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=3
	v_dual_mov_b32 v10, v18 :: v_dual_mov_b32 v11, v19
	global_store_b8 v[8:9], v24, off offset:3
.LBB0_16:                               ;   in Loop: Header=BB0_10 Depth=3
	s_or_b32 exec_lo, exec_lo, s1
	v_add_nc_u16 v24, v24, 1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_bfe_i32 v0, v24, 0, 8
	v_cmp_gt_i32_e32 vcc_lo, s18, v0
	s_cbranch_vccnz .LBB0_10
.LBB0_17:                               ; %_Z8classifyR15HIP_vector_typeIhLj4EEi.exit
                                        ;   in Loop: Header=BB0_4 Depth=2
	v_add_nc_u32_e32 v23, s19, v23
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(SALU_CYCLE_1)
	v_cmp_le_u32_e32 vcc_lo, s17, v23
	s_or_b32 s30, vcc_lo, s30
	s_and_not1_b32 exec_lo, exec_lo, s30
	s_cbranch_execnz .LBB0_4
.LBB0_18:                               ; %Flow87
                                        ;   in Loop: Header=BB0_2 Depth=1
	s_or_b32 exec_lo, exec_lo, s29
	v_add_nc_u32_e32 v6, s14, v6
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(SALU_CYCLE_1)
	v_cmp_le_u32_e32 vcc_lo, s16, v6
	s_or_b32 s28, vcc_lo, s28
	s_and_not1_b32 exec_lo, exec_lo, s28
	s_cbranch_execnz .LBB0_2
.LBB0_19:                               ; %._crit_edge29
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z6kernelP15HIP_vector_typeIhLj4EEjji
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 14
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 1
		.amdhsa_next_free_vgpr 28
		.amdhsa_next_free_sgpr 36
		.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	_Z6kernelP15HIP_vector_typeIhLj4EEjji, .Lfunc_end0-_Z6kernelP15HIP_vector_typeIhLj4EEjji
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1332
; NumSgprs: 38
; NumVgprs: 28
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 4
; VGPRBlocks: 3
; NumSGPRsForWavesPerEU: 38
; NumVGPRsForWavesPerEU: 28
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 14
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 1
	.text
	.p2alignl 7, 3214868480
	.fill 96, 4, 3214868480
	.protected	GPU_AVG                 ; @GPU_AVG
	.type	GPU_AVG,@object
	.section	.bss,"aw",@nobits
	.globl	GPU_AVG
	.p2align	4, 0x0
GPU_AVG:
	.zero	1200
	.size	GPU_AVG, 1200

	.protected	GPU_INVERT_COV          ; @GPU_INVERT_COV
	.type	GPU_INVERT_COV,@object
	.globl	GPU_INVERT_COV
	.p2align	4, 0x0
GPU_INVERT_COV:
	.zero	3600
	.size	GPU_INVERT_COV, 3600

	.type	__hip_cuid_,@object             ; @__hip_cuid_
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               ; 0x0
	.size	__hip_cuid_, 1

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym GPU_AVG
	.addrsig_sym GPU_INVERT_COV
	.addrsig_sym __hip_cuid_
	.amdgpu_metadata
---
amdhsa.kernels:
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .offset:         8
        .size:           4
        .value_kind:     by_value
      - .offset:         12
        .size:           4
        .value_kind:     by_value
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z6kernelP15HIP_vector_typeIhLj4EEjji
    .private_segment_fixed_size: 0
    .sgpr_count:     38
    .sgpr_spill_count: 0
    .symbol:         _Z6kernelP15HIP_vector_typeIhLj4EEjji.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     28
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
amdhsa.target:   amdgcn-amd-amdhsa--gfx1100
amdhsa.version:
  - 1
  - 2
...

	.end_amdgpu_metadata
