//=============================================================================================
// Name        		: thread3dStl.cu
// Author      		: Jose Refojo
// Version     		:
// Creation date	:	26-02-2014
// Copyright		: Copyright belongs to Trinity Centre for High Performance Computing
// Description		: This program will initialize a number of arrays stored in stl vectors,
//			  then it will grab data from each thread (such as thread position inside the block and block),
//			  save it, send it back into the main memory, and print it
//=============================================================================================


#include <iostream>
#include <stdio.h>
#include <vector>

using namespace std;

#define BLOCK_SIZE 2

__global__ void scanTheadInformationGPU(float *threadXIdsGPU,int N,int M,int L) {
	int idx=blockIdx.x*blockDim.x+threadIdx.x;
	int idy=blockIdx.y*blockDim.y+threadIdx.y;
	int idz=blockIdx.z*blockDim.z+threadIdx.z;

	if ( idx < N ) {
	    if ( idy < M ) {
	    	if ( idz < L ) {
			threadXIdsGPU[idx+idy*N+idz*N*M]=-(idx+idy*N+idz*N*M);
			//threadXIdsGPU[idz+idy*L+idx*M*L]=-(idz+idy*L+idx*M*L);
		}
	    }
	}
}


int main() {
	// pointers to host memory matrices
	std::vector< float >	vector1d;
	std::vector< std::vector< float* > > vector3d;
	float *vector1d_gpu;

	// pointers to device memory matrices
	//float *vectorGPU;
	// N,M and L are the sizes on each dimension
	int N=2,M=3,L=4,totalSize;
	unsigned int ui,uj,uk;

	totalSize=N*M*L;

	// Allocate arrays threadIds and blockIds on host
	vector1d.resize(totalSize);
	vector3d.resize(N, std::vector< float* > (M));

	for (ui=0;ui<N;ui++) {
		for (uj=0;uj<M;uj++) {
			vector3d[ui][uj]=&(vector1d[uj*L+ui*M*L]);
		}
	}

	for (ui=0;ui<N;ui++) {
		for (uj=0;uj<M;uj++) {
			for (uk=0;uk<L;uk++) {
				//vector1d[ui+uj*N+uk*N*M]=ui+uj*N+uk*N*M;
				vector1d[uk+uj*L+ui*M*L]=uk+uj*L+ui*M*L;
			}
		}
	}

	// Allocate arrays threadIdsGPU and blockIdsGPU on device
	cudaMalloc ((void **) &vector1d_gpu, sizeof(float)*N*M*L);

	// Copy data from host memory to device memory
	cudaMemcpy(vector1d_gpu, &(vector1d[0]), sizeof(float)*N*M*L, cudaMemcpyHostToDevice);

	int block_size=BLOCK_SIZE;
	dim3 dimBlock(block_size,block_size,block_size);
	dim3 dimGrid ( (N/dimBlock.x) + (!(N%dimBlock.x)?0:1),(M/dimBlock.y) + (!(M%dimBlock.y)?0:1),(L/dimBlock.y) + (!(L%dimBlock.y)?0:1));
	// Call the kernel
	scanTheadInformationGPU <<<dimGrid,dimBlock>>> (vector1d_gpu,N,M,L);


	// Copy data from device memory to host memory
	cudaMemcpy(&(vector1d[0]), vector1d_gpu, sizeof(float)*N*M*L, cudaMemcpyDeviceToHost);

	// Print all the data about the threads
	cout << "vector1d_host: (" << N << "," << M << "," << L << ")" << endl;
	for (ui=0;ui<N;ui++) {
		cout << "vector1d_host, slice in Z " << ui << ":" << endl;
		for (uj=0;uj<M;uj++) {
			for (uk=0;uk<L;uk++) {
				cout << vector1d[uk+uj*L+ui*M*L];
				if (uk==L-1) {	cout << endl;} else { cout << "\t"; }
			}
		}
	}

	cout << "vector3d_host: (" << N << "," << M << "," << L << ")" << endl;
	for (ui=0;ui<N;ui++) {
		cout << "vector3d_host, slice in Z " << ui << ":" << endl;
		for (uj=0;uj<M;uj++) {
			for (uk=0;uk<L;uk++) {
				cout << vector3d[ui][uj][uk];
				if (uk==L-1) {	cout << endl;} else { cout << "\t"; }
			}
		}
	}

/*
		cout << "vector1d_host:" <<endl;
		for (ui=0; ui<numRows; ui++) {
			for (uj=0; uj<numColumns; uj++) {
				cout << input2d_host[ui][uj];
				if (uj==numColumns-1) {	cout << endl;} else { cout << "\t"; }
			}
		}
		cout << endl;
*/
}

	.file	"tmpxft_0020f00a_00000000-6_thread3dStl.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB4021:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE4021:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.align 2
	.type	_ZNSolsEPFRSoS_E.isra.0, @function
_ZNSolsEPFRSoS_E.isra.0:
.LFB5025:
	.cfi_startproc
	jmp	*%rsi
	.cfi_endproc
.LFE5025:
	.size	_ZNSolsEPFRSoS_E.isra.0, .-_ZNSolsEPFRSoS_E.isra.0
	.globl	_Z46__device_stub__Z23scanTheadInformationGPUPfiiiPfiii
	.type	_Z46__device_stub__Z23scanTheadInformationGPUPfiiiPfiii, @function
_Z46__device_stub__Z23scanTheadInformationGPUPfiiiPfiii:
.LFB4043:
	.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	.L3
	pushq	48(%rsp)
	.cfi_def_cfa_offset 168
	leaq	_Z23scanTheadInformationGPUPfiii(%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
.L3:
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	addq	$152, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4043:
	.size	_Z46__device_stub__Z23scanTheadInformationGPUPfiiiPfiii, .-_Z46__device_stub__Z23scanTheadInformationGPUPfiiiPfiii
	.globl	_Z23scanTheadInformationGPUPfiii
	.type	_Z23scanTheadInformationGPUPfiii, @function
_Z23scanTheadInformationGPUPfiii:
.LFB4044:
	.cfi_startproc
	endbr64
	jmp	_Z46__device_stub__Z23scanTheadInformationGPUPfiiiPfiii
	.cfi_endproc
.LFE4044:
	.size	_Z23scanTheadInformationGPUPfiii, .-_Z23scanTheadInformationGPUPfiii
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"_Z23scanTheadInformationGPUPfiii"
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB4046:
	.cfi_startproc
	endbr64
	pushq	%rax
	.cfi_def_cfa_offset 16
	leaq	_ZL15__fatDeviceText(%rip), %rdi
	call	__cudaRegisterFatBinary@PLT
	pushq	$0
	.cfi_def_cfa_offset 24
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC0(%rip), %rdx
	movq	%rax, %rdi
	leaq	_Z23scanTheadInformationGPUPfiii(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 40
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 48
	movq	%rax, _ZL20__cudaFatCubinHandle(%rip)
	call	__cudaRegisterFunction@PLT
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	call	__cudaRegisterFatBinaryEnd@PLT
	leaq	_ZL26__cudaUnregisterBinaryUtilv(%rip), %rdi
	popq	%rdx
	.cfi_def_cfa_offset 8
	jmp	atexit@PLT
	.cfi_endproc
.LFE4046:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.text._ZNSt6vectorIfSaIfEED2Ev,"axG",@progbits,_ZNSt6vectorIfSaIfEED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIfSaIfEED2Ev
	.type	_ZNSt6vectorIfSaIfEED2Ev, @function
_ZNSt6vectorIfSaIfEED2Ev:
.LFB4356:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L11
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L11:
	ret
	.cfi_endproc
.LFE4356:
	.size	_ZNSt6vectorIfSaIfEED2Ev, .-_ZNSt6vectorIfSaIfEED2Ev
	.weak	_ZNSt6vectorIfSaIfEED1Ev
	.set	_ZNSt6vectorIfSaIfEED1Ev,_ZNSt6vectorIfSaIfEED2Ev
	.section	.text._ZNSt6vectorIPfSaIS0_EED2Ev,"axG",@progbits,_ZNSt6vectorIPfSaIS0_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIPfSaIS0_EED2Ev
	.type	_ZNSt6vectorIPfSaIS0_EED2Ev, @function
_ZNSt6vectorIPfSaIS0_EED2Ev:
.LFB4381:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L13
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L13:
	ret
	.cfi_endproc
.LFE4381:
	.size	_ZNSt6vectorIPfSaIS0_EED2Ev, .-_ZNSt6vectorIPfSaIS0_EED2Ev
	.weak	_ZNSt6vectorIPfSaIS0_EED1Ev
	.set	_ZNSt6vectorIPfSaIS0_EED1Ev,_ZNSt6vectorIPfSaIS0_EED2Ev
	.section	.text._ZNSt12_Vector_baseIPfSaIS0_EE17_M_create_storageEm,"axG",@progbits,_ZNSt12_Vector_baseIPfSaIS0_EE17_M_create_storageEm,comdat
	.align 2
	.weak	_ZNSt12_Vector_baseIPfSaIS0_EE17_M_create_storageEm
	.type	_ZNSt12_Vector_baseIPfSaIS0_EE17_M_create_storageEm, @function
_ZNSt12_Vector_baseIPfSaIS0_EE17_M_create_storageEm:
.LFB4701:
	.cfi_startproc
	endbr64
	testq	%rsi, %rsi
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	0(,%rsi,8), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rdi, %rbx
	pushq	%rdx
	.cfi_def_cfa_offset 32
	je	.L19
	movabsq	$1152921504606846975, %rax
	cmpq	%rsi, %rax
	jnb	.L17
	movabsq	$2305843009213693951, %rax
	cmpq	%rsi, %rax
	jnb	.L18
	call	_ZSt28__throw_bad_array_new_lengthv@PLT
.L18:
	call	_ZSt17__throw_bad_allocv@PLT
.L17:
	movq	%rbp, %rdi
	call	_Znwm@PLT
	jmp	.L16
.L19:
	xorl	%eax, %eax
.L16:
	movq	%rax, (%rbx)
	movq	%rax, 8(%rbx)
	addq	%rbp, %rax
	movq	%rax, 16(%rbx)
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4701:
	.size	_ZNSt12_Vector_baseIPfSaIS0_EE17_M_create_storageEm, .-_ZNSt12_Vector_baseIPfSaIS0_EE17_M_create_storageEm
	.section	.text._ZNSt12_Destroy_auxILb0EE9__destroyIPSt6vectorIPfSaIS3_EEEEvT_S7_,"axG",@progbits,_ZNSt12_Destroy_auxILb0EE9__destroyIPSt6vectorIPfSaIS3_EEEEvT_S7_,comdat
	.weak	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt6vectorIPfSaIS3_EEEEvT_S7_
	.type	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt6vectorIPfSaIS3_EEEEvT_S7_, @function
_ZNSt12_Destroy_auxILb0EE9__destroyIPSt6vectorIPfSaIS3_EEEEvT_S7_:
.LFB4787:
	.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
.L22:
	cmpq	%rbp, %rbx
	je	.L25
	movq	%rbx, %rdi
	addq	$24, %rbx
	call	_ZNSt6vectorIPfSaIS0_EED1Ev
	jmp	.L22
.L25:
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4787:
	.size	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt6vectorIPfSaIS3_EEEEvT_S7_, .-_ZNSt12_Destroy_auxILb0EE9__destroyIPSt6vectorIPfSaIS3_EEEEvT_S7_
	.section	.text._ZNSt6vectorIS_IPfSaIS0_EESaIS2_EED2Ev,"axG",@progbits,_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EED2Ev
	.type	_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EED2Ev, @function
_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EED2Ev:
.LFB4368:
	.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__destroyIPSt6vectorIPfSaIS3_EEEEvT_S7_
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.L26
	movq	16(%rbx), %rsi
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	subq	%rdi, %rsi
	jmp	_ZdlPvm@PLT
.L26:
	.cfi_restore_state
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4368:
	.size	_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EED2Ev, .-_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EED2Ev
	.weak	_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EED1Ev
	.set	_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EED1Ev,_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EED2Ev
	.section	.text._ZNSt27__uninitialized_default_n_1ILb1EE18__uninit_default_nIPfmEET_S3_T0_,"axG",@progbits,_ZNSt27__uninitialized_default_n_1ILb1EE18__uninit_default_nIPfmEET_S3_T0_,comdat
	.weak	_ZNSt27__uninitialized_default_n_1ILb1EE18__uninit_default_nIPfmEET_S3_T0_
	.type	_ZNSt27__uninitialized_default_n_1ILb1EE18__uninit_default_nIPfmEET_S3_T0_, @function
_ZNSt27__uninitialized_default_n_1ILb1EE18__uninit_default_nIPfmEET_S3_T0_:
.LFB4849:
	.cfi_startproc
	endbr64
	movq	%rdi, %rax
	testq	%rsi, %rsi
	je	.L29
	movl	$0x00000000, (%rdi)
	leaq	4(%rdi), %rax
	decq	%rsi
	je	.L29
	leaq	(%rax,%rsi,4), %rdx
	movq	%rax, %rcx
.L31:
	cmpq	%rcx, %rdx
	je	.L38
	movl	$0x00000000, (%rcx)
	addq	$4, %rcx
	jmp	.L31
.L38:
	subq	%rdi, %rdx
	leaq	-4(%rax,%rdx), %rax
.L29:
	ret
	.cfi_endproc
.LFE4849:
	.size	_ZNSt27__uninitialized_default_n_1ILb1EE18__uninit_default_nIPfmEET_S3_T0_, .-_ZNSt27__uninitialized_default_n_1ILb1EE18__uninit_default_nIPfmEET_S3_T0_
	.section	.text._ZSt18uninitialized_copyISt13move_iteratorIPSt6vectorIPfSaIS2_EEES5_ET0_T_S8_S7_,"axG",@progbits,_ZSt18uninitialized_copyISt13move_iteratorIPSt6vectorIPfSaIS2_EEES5_ET0_T_S8_S7_,comdat
	.weak	_ZSt18uninitialized_copyISt13move_iteratorIPSt6vectorIPfSaIS2_EEES5_ET0_T_S8_S7_
	.type	_ZSt18uninitialized_copyISt13move_iteratorIPSt6vectorIPfSaIS2_EEES5_ET0_T_S8_S7_, @function
_ZSt18uninitialized_copyISt13move_iteratorIPSt6vectorIPfSaIS2_EEES5_ET0_T_S8_S7_:
.LFB4863:
	.cfi_startproc
	endbr64
	movq	%rdi, %rcx
	movq	%rdx, %rax
.L40:
	cmpq	%rcx, %rsi
	je	.L42
	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	.L40
.L42:
	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
.LFE4863:
	.size	_ZSt18uninitialized_copyISt13move_iteratorIPSt6vectorIPfSaIS2_EEES5_ET0_T_S8_S7_, .-_ZSt18uninitialized_copyISt13move_iteratorIPSt6vectorIPfSaIS2_EEES5_ET0_T_S8_S7_
	.section	.text._ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKPfS3_EEPT0_PT_S8_S6_,"axG",@progbits,_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKPfS3_EEPT0_PT_S8_S6_,comdat
	.weak	_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKPfS3_EEPT0_PT_S8_S6_
	.type	_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKPfS3_EEPT0_PT_S8_S6_, @function
_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKPfS3_EEPT0_PT_S8_S6_:
.LFB5009:
	.cfi_startproc
	endbr64
	subq	%rdi, %rsi
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movq	%rdx, %rcx
	movq	%rsi, %rbx
	cmpq	$8, %rsi
	jle	.L44
	movq	%rsi, %rdx
	movq	%rdi, %rsi
	movq	%rcx, %rdi
	call	memmove@PLT
	movq	%rax, %rcx
	jmp	.L45
.L44:
	jne	.L45
	movq	(%rdi), %rax
	movq	%rax, (%rdx)
.L45:
	leaq	(%rcx,%rbx), %rax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5009:
	.size	_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKPfS3_EEPT0_PT_S8_S6_, .-_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKPfS3_EEPT0_PT_S8_S6_
	.section	.text._ZNSt6vectorIPfSaIS0_EEC2ERKS2_,"axG",@progbits,_ZNSt6vectorIPfSaIS0_EEC5ERKS2_,comdat
	.align 2
	.weak	_ZNSt6vectorIPfSaIS0_EEC2ERKS2_
	.type	_ZNSt6vectorIPfSaIS0_EEC2ERKS2_, @function
_ZNSt6vectorIPfSaIS0_EEC2ERKS2_:
.LFB4897:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xorl	%edx, %edx
	movq	%rsi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rdi, %rbx
	pushq	%rax
	.cfi_def_cfa_offset 32
	movq	8(%rsi), %rsi
	subq	0(%rbp), %rsi
	movq	%rdx, (%rdi)
	movq	%rdx, 8(%rdi)
	sarq	$3, %rsi
	movq	%rdx, 16(%rdi)
	call	_ZNSt12_Vector_baseIPfSaIS0_EE17_M_create_storageEm
	movq	8(%rbp), %rsi
	movq	(%rbx), %rdx
	movq	0(%rbp), %rdi
	call	_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKPfS3_EEPT0_PT_S8_S6_
	movq	%rax, 8(%rbx)
	popq	%rcx
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4897:
	.size	_ZNSt6vectorIPfSaIS0_EEC2ERKS2_, .-_ZNSt6vectorIPfSaIS0_EEC2ERKS2_
	.weak	_ZNSt6vectorIPfSaIS0_EEC1ERKS2_
	.set	_ZNSt6vectorIPfSaIS0_EEC1ERKS2_,_ZNSt6vectorIPfSaIS0_EEC2ERKS2_
	.section	.text._ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_EEmS3_ET_S5_T0_RKT1_,"axG",@progbits,_ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_EEmS3_ET_S5_T0_RKT1_,comdat
	.weak	_ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_EEmS3_ET_S5_T0_RKT1_
	.type	_ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_EEmS3_ET_S5_T0_RKT1_, @function
_ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_EEmS3_ET_S5_T0_RKT1_:
.LFB4903:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4903
	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
.L50:
	testq	%rbp, %rbp
	je	.L58
	movq	%r13, %rsi
	movq	%rbx, %rdi
.LEHB0:
	call	_ZNSt6vectorIPfSaIS0_EEC1ERKS2_
.LEHE0:
	decq	%rbp
	addq	$24, %rbx
	jmp	.L50
.L54:
	endbr64
	movq	%rax, %rdi
.L52:
	call	__cxa_begin_catch@PLT
	movq	%rbx, %rsi
	movq	%r12, %rdi
	call	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt6vectorIPfSaIS3_EEEEvT_S7_
.LEHB1:
	call	__cxa_rethrow@PLT
.LEHE1:
.L55:
	endbr64
	movq	%rax, %rbx
.L53:
	call	__cxa_end_catch@PLT
	movq	%rbx, %rdi
.LEHB2:
	call	_Unwind_Resume@PLT
.LEHE2:
.L58:
	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
.LFE4903:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table._ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_EEmS3_ET_S5_T0_RKT1_,"aG",@progbits,_ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_EEmS3_ET_S5_T0_RKT1_,comdat
	.align 4
.LLSDA4903:
	.byte	0xff
	.byte	0x9b
	.uleb128 .LLSDATT4903-.LLSDATTD4903
.LLSDATTD4903:
	.byte	0x1
	.uleb128 .LLSDACSE4903-.LLSDACSB4903
.LLSDACSB4903:
	.uleb128 .LEHB0-.LFB4903
	.uleb128 .LEHE0-.LEHB0
	.uleb128 .L54-.LFB4903
	.uleb128 0x1
	.uleb128 .LEHB1-.LFB4903
	.uleb128 .LEHE1-.LEHB1
	.uleb128 .L55-.LFB4903
	.uleb128 0
	.uleb128 .LEHB2-.LFB4903
	.uleb128 .LEHE2-.LEHB2
	.uleb128 0
	.uleb128 0
.LLSDACSE4903:
	.byte	0x1
	.byte	0
	.align 4
	.long	0

.LLSDATT4903:
	.section	.text._ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_EEmS3_ET_S5_T0_RKT1_,"axG",@progbits,_ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_EEmS3_ET_S5_T0_RKT1_,comdat
	.size	_ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_EEmS3_ET_S5_T0_RKT1_, .-_ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_EEmS3_ET_S5_T0_RKT1_
	.section	.text._ZSt9__fill_a1IPSt6vectorIPfSaIS1_EES3_EN9__gnu_cxx11__enable_ifIXntsrSt11__is_scalarIT0_E7__valueEvE6__typeET_SC_RKS8_,"axG",@progbits,_ZSt9__fill_a1IPSt6vectorIPfSaIS1_EES3_EN9__gnu_cxx11__enable_ifIXntsrSt11__is_scalarIT0_E7__valueEvE6__typeET_SC_RKS8_,comdat
	.weak	_ZSt9__fill_a1IPSt6vectorIPfSaIS1_EES3_EN9__gnu_cxx11__enable_ifIXntsrSt11__is_scalarIT0_E7__valueEvE6__typeET_SC_RKS8_
	.type	_ZSt9__fill_a1IPSt6vectorIPfSaIS1_EES3_EN9__gnu_cxx11__enable_ifIXntsrSt11__is_scalarIT0_E7__valueEvE6__typeET_SC_RKS8_, @function
_ZSt9__fill_a1IPSt6vectorIPfSaIS1_EES3_EN9__gnu_cxx11__enable_ifIXntsrSt11__is_scalarIT0_E7__valueEvE6__typeET_SC_RKS8_:
.LFB4871:
	.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
	movq	%rdx, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rdi, %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
.L60:
	cmpq	%r14, %rbx
	je	.L76
	cmpq	%r12, %rbx
	je	.L61
	movq	8(%r12), %rsi
	movq	(%r12), %r15
	movq	(%rbx), %rdi
	movq	16(%rbx), %rax
	movq	%rsi, %rbp
	subq	%r15, %rbp
	subq	%rdi, %rax
	cmpq	%rbp, %rax
	jnb	.L62
	movabsq	$9223372036854775800, %rax
	cmpq	%rbp, %rax
	jnb	.L63
	testq	%rbp, %rbp
	jns	.L64
	call	_ZSt28__throw_bad_array_new_lengthv@PLT
.L64:
	call	_ZSt17__throw_bad_allocv@PLT
.L63:
	movq	%rbp, %rdi
	movq	%rsi, 8(%rsp)
	call	_Znwm@PLT
	movq	8(%rsp), %rsi
	movq	%r15, %rdi
	movq	%rax, %rdx
	movq	%rax, %r13
	call	_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKPfS3_EEPT0_PT_S8_S6_
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.L65
	movq	16(%rbx), %rsi
	subq	%rdi, %rsi
	call	_ZdlPvm@PLT
.L65:
	movq	%r13, (%rbx)
	addq	%rbp, %r13
	movq	%r13, 16(%rbx)
	jmp	.L66
.L62:
	movq	8(%rbx), %rdx
	subq	%rdi, %rdx
	cmpq	%rbp, %rdx
	jb	.L67
	movq	%rdi, %rdx
	movq	%r15, %rdi
	call	_ZNSt11__copy_moveILb0ELb1ESt26random_access_iterator_tagE8__copy_mIKPfS3_EEPT0_PT_S8_S6_
	jmp	.L66
.L67:
	cmpq	$8, %rdx
	jle	.L68
	movq	%r15, %rsi
	call	memmove@PLT
	jmp	.L69
.L68:
	jne	.L69
	movq	(%r15), %rax
	movq	%rax, (%rdi)
.L69:
	movq	8(%rbx), %rdi
	movq	8(%r12), %rdx
	movq	%rdi, %rsi
	subq	(%rbx), %rsi
	addq	(%r12), %rsi
	subq	%rsi, %rdx
	cmpq	$8, %rdx
	jle	.L70
	call	memmove@PLT
	jmp	.L66
.L70:
	jne	.L66
	movq	(%rsi), %rax
	movq	%rax, (%rdi)
.L66:
	addq	(%rbx), %rbp
	movq	%rbp, 8(%rbx)
.L61:
	addq	$24, %rbx
	jmp	.L60
.L76:
	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
.LFE4871:
	.size	_ZSt9__fill_a1IPSt6vectorIPfSaIS1_EES3_EN9__gnu_cxx11__enable_ifIXntsrSt11__is_scalarIT0_E7__valueEvE6__typeET_SC_RKS8_, .-_ZSt9__fill_a1IPSt6vectorIPfSaIS1_EES3_EN9__gnu_cxx11__enable_ifIXntsrSt11__is_scalarIT0_E7__valueEvE6__typeET_SC_RKS8_
	.section	.rodata._ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_.str1.1,"aMS",@progbits,1
.LC2:
	.string	"vector::_M_fill_insert"
	.section	.text._ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_,"axG",@progbits,_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_,comdat
	.align 2
	.weak	_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_
	.type	_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_, @function
_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_:
.LFB4583:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4583
	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	.L77
	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	.L79
	leaq	64(%rsp), %rbx
	movq	%rdi, 56(%rsp)
	movq	%rdx, %rsi
	movq	%rbx, %rdi
	movb	$0, 64(%rsp)
.LEHB3:
	call	_ZNSt6vectorIPfSaIS0_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	.L80
	imulq	$24, %rbp, %rbp
	movq	%r14, %r15
	movq	%r14, %rdx
	movq	%r14, %rsi
	subq	%rbp, %r15
	movq	%r15, %rdi
	call	_ZSt18uninitialized_copyISt13move_iteratorIPSt6vectorIPfSaIS2_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
.L81:
	testq	%rax, %rax
	jle	.L118
	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	_ZNSt6vectorIPfSaIS0_EED1Ev
	movq	8(%rsp), %rax
	decq	%rax
	jmp	.L81
.L118:
	leaq	0(%r13,%rbp), %rsi
	movq	%rbx, %rdx
.L114:
	movq	%r13, %rdi
.LEHB4:
	call	_ZSt9__fill_a1IPSt6vectorIPfSaIS1_EES3_EN9__gnu_cxx11__enable_ifIXntsrSt11__is_scalarIT0_E7__valueEvE6__typeET_SC_RKS8_
	movq	%rbx, %rdi
	call	_ZNSt6vectorIPfSaIS0_EED1Ev
	jmp	.L77
.L80:
	movq	%rbp, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rdi
	subq	%rax, %rsi
	call	_ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_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_iteratorIPSt6vectorIPfSaIS2_EEES5_ET0_T_S8_S7_
	movq	%rbp, 8(%r12)
	movq	%rbx, %rdx
	movq	%r14, %rsi
	jmp	.L114
.L79:
	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	.L84
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L116
	leaq	.LC2(%rip), %rdi
.LEHB5:
	call	_ZSt20__throw_length_errorPKc@PLT
.L84:
	cmpq	%rbx, %rbp
	movq	%rbx, %rcx
	cmovnb	%rbp, %rcx
	addq	%rcx, %rbx
	jnc	.L88
	movq	%rsi, %rcx
	movq	%rax, %rbx
	subq	%r15, %rcx
	movq	%rcx, 16(%rsp)
	jmp	.L89
.L88:
	movq	%rsi, %rax
	xorl	%r14d, %r14d
	subq	%r15, %rax
	movq	%rax, 16(%rsp)
	testq	%rbx, %rbx
	je	.L90
	movabsq	$384307168202282325, %rax
	cmpq	%rax, %rbx
	cmova	%rax, %rbx
.L89:
	imulq	$24, %rbx, %rdi
	movq	%rdx, 24(%rsp)
	call	_Znwm@PLT
.LEHE5:
	movq	24(%rsp), %rdx
	movq	%rax, %r14
.L90:
	movq	16(%rsp), %rax
	movq	%rbp, %rsi
	addq	%r14, %rax
	movq	%rax, %rdi
	movq	%rax, 24(%rsp)
.LEHB6:
	call	_ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_EEmS3_ET_S5_T0_RKT1_
.LEHE6:
	imulq	$24, %rbp, %rbp
	movq	%r14, %rdx
	movq	%r13, %rsi
	movq	%r15, %rdi
	call	_ZSt18uninitialized_copyISt13move_iteratorIPSt6vectorIPfSaIS2_EEES5_ET0_T_S8_S7_
	movq	8(%rsp), %rsi
	movq	%r13, %rdi
	leaq	(%rax,%rbp), %rdx
	call	_ZSt18uninitialized_copyISt13move_iteratorIPSt6vectorIPfSaIS2_EEES5_ET0_T_S8_S7_
	movq	8(%rsp), %rsi
	movq	%r15, %rdi
	movq	%rax, %rbp
	call	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt6vectorIPfSaIS3_EEEEvT_S7_
	testq	%r15, %r15
	je	.L91
	movq	16(%r12), %rsi
	movq	%r15, %rdi
	subq	%r15, %rsi
	call	_ZdlPvm@PLT
.L91:
	imulq	$24, %rbx, %rbx
	movq	%r14, (%r12)
	movq	%rbp, 8(%r12)
	addq	%r14, %rbx
	movq	%rbx, 16(%r12)
	jmp	.L77
.L102:
	endbr64
	movq	%rax, %rbp
.L92:
	movq	%rbx, %rdi
	call	_ZNSt6vectorIPfSaIS0_EED1Ev
	movq	%rbp, %rdi
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	je	.L117
	jmp	.L116
.L103:
	endbr64
	movq	%rax, %rdi
.L94:
	call	__cxa_begin_catch@PLT
	testq	%r14, %r14
	jne	.L95
	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__destroyIPSt6vectorIPfSaIS3_EEEEvT_S7_
	jmp	.L96
.L95:
	movq	%r14, %rsi
	movq	%r14, %rdi
	call	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt6vectorIPfSaIS3_EEEEvT_S7_
	imulq	$24, %rbx, %rsi
	movq	%r14, %rdi
	call	_ZdlPvm@PLT
.L96:
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L116
.LEHB7:
	call	__cxa_rethrow@PLT
.LEHE7:
.L104:
	endbr64
	movq	%rax, %rbx
.L98:
	call	__cxa_end_catch@PLT
	movq	%rbx, %rdi
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L116
.L117:
.LEHB8:
	call	_Unwind_Resume@PLT
.LEHE8:
.L77:
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	je	.L100
.L116:
	call	__stack_chk_fail@PLT
.L100:
	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
.LFE4583:
	.section	.gcc_except_table._ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_,"aG",@progbits,_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_,comdat
	.align 4
.LLSDA4583:
	.byte	0xff
	.byte	0x9b
	.uleb128 .LLSDATT4583-.LLSDATTD4583
.LLSDATTD4583:
	.byte	0x1
	.uleb128 .LLSDACSE4583-.LLSDACSB4583
.LLSDACSB4583:
	.uleb128 .LEHB3-.LFB4583
	.uleb128 .LEHE3-.LEHB3
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB4-.LFB4583
	.uleb128 .LEHE4-.LEHB4
	.uleb128 .L102-.LFB4583
	.uleb128 0
	.uleb128 .LEHB5-.LFB4583
	.uleb128 .LEHE5-.LEHB5
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB6-.LFB4583
	.uleb128 .LEHE6-.LEHB6
	.uleb128 .L103-.LFB4583
	.uleb128 0x1
	.uleb128 .LEHB7-.LFB4583
	.uleb128 .LEHE7-.LEHB7
	.uleb128 .L104-.LFB4583
	.uleb128 0
	.uleb128 .LEHB8-.LFB4583
	.uleb128 .LEHE8-.LEHB8
	.uleb128 0
	.uleb128 0
.LLSDACSE4583:
	.byte	0x1
	.byte	0
	.align 4
	.long	0

.LLSDATT4583:
	.section	.text._ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_,"axG",@progbits,_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_,comdat
	.size	_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_, .-_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_
	.section	.rodata.str1.1
.LC3:
	.string	"vector1d_host: ("
.LC4:
	.string	","
.LC5:
	.string	")"
.LC6:
	.string	"vector1d_host, slice in Z "
.LC7:
	.string	":"
.LC8:
	.string	"\t"
.LC9:
	.string	"vector3d_host: ("
.LC10:
	.string	"vector3d_host, slice in Z "
	.section	.text.startup
	.globl	main
	.type	main, @function
main:
.LFB3998:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA3998
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xorl	%esi, %esi
	movl	$96, %edi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$120, %rsp
	.cfi_def_cfa_offset 176
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	movq	%rsi, 32(%rsp)
	movq	%rsi, 40(%rsp)
	movq	%rsi, 48(%rsp)
	movq	%rsi, 56(%rsp)
	movq	%rsi, 64(%rsp)
	movq	%rsi, 72(%rsp)
.LEHB9:
	call	_Znwm@PLT
	movq	%rax, %rbx
	movl	$24, %esi
	leaq	80(%rsp), %rbp
	movq	%rax, %rdi
	call	_ZNSt27__uninitialized_default_n_1ILb1EE18__uninit_default_nIPfmEET_S3_T0_
	xorl	%ecx, %ecx
	leaq	96(%rbx), %rax
	movl	$3, %esi
	movq	%rbp, %rdi
	movq	%rbx, 32(%rsp)
	movq	%rax, 40(%rsp)
	movq	%rax, 48(%rsp)
	movq	%rcx, 80(%rsp)
	movq	%rcx, 88(%rsp)
	movq	%rcx, 96(%rsp)
	call	_ZNSt12_Vector_baseIPfSaIS0_EE17_M_create_storageEm
.LEHE9:
	movq	80(%rsp), %rax
	xorl	%edx, %edx
	movq	64(%rsp), %rsi
	movq	56(%rsp), %r12
	movq	%rdx, (%rax)
	addq	$24, %rax
	movq	%rdx, -16(%rax)
	movq	%rdx, -8(%rax)
	movq	%rax, 88(%rsp)
	movq	%rsi, %rax
	subq	%r12, %rax
	cmpq	$24, %rax
	ja	.L120
	sarq	$3, %rax
	leaq	56(%rsp), %rdi
	movq	%rbp, %rcx
	movabsq	$-6148914691236517205, %rdx
	imulq	%rdx, %rax
	movl	$2, %edx
	subq	%rax, %rdx
.LEHB10:
	call	_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_
.LEHE10:
	jmp	.L121
.L120:
	cmpq	$48, %rax
	jbe	.L121
	addq	$48, %r12
	cmpq	%r12, %rsi
	je	.L121
	movq	%r12, %rdi
	call	_ZNSt12_Destroy_auxILb0EE9__destroyIPSt6vectorIPfSaIS3_EEEEvT_S7_
	movq	%r12, 64(%rsp)
.L121:
	movq	%rbp, %rdi
	call	_ZNSt6vectorIPfSaIS0_EED1Ev
	movq	56(%rsp), %rdx
	leaq	16(%rbx), %rcx
	movq	(%rdx), %rax
	movq	24(%rdx), %rsi
	movq	%rcx, 8(%rax)
	leaq	32(%rbx), %rcx
	movq	%rcx, 16(%rax)
	leaq	48(%rbx), %rcx
	movq	%rbx, (%rax)
	movq	%rcx, %rdx
	xorl	%eax, %eax
.L123:
	movq	%rdx, (%rsi,%rax,8)
	incq	%rax
	addq	$16, %rdx
	cmpq	$3, %rax
	jne	.L123
	movq	%rbx, %rsi
	xorl	%eax, %eax
.L125:
	xorl	%edx, %edx
.L124:
	leal	(%rax,%rdx), %edi
	cvtsi2ssl	%edi, %xmm0
	movss	%xmm0, (%rsi,%rdx,4)
	incq	%rdx
	cmpq	$4, %rdx
	jne	.L124
	addl	$4, %eax
	addq	$16, %rsi
	cmpl	$12, %eax
	jne	.L125
.L126:
	xorl	%edx, %edx
.L127:
	leal	(%rax,%rdx), %esi
	cvtsi2ssl	%esi, %xmm0
	movss	%xmm0, (%rcx,%rdx,4)
	incq	%rdx
	cmpq	$4, %rdx
	jne	.L127
	addl	$4, %eax
	addq	$16, %rcx
	cmpl	$24, %eax
	jne	.L126
	leaq	8(%rsp), %rdi
	movl	$96, %esi
.LEHB11:
	call	cudaMalloc@PLT
	movq	8(%rsp), %rdi
	movl	$1, %ecx
	movl	$96, %edx
	movq	%rbx, %rsi
	call	cudaMemcpy@PLT
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	$2, %ecx
	movl	$2, %esi
	movabsq	$8589934593, %rdi
	movl	$2, 88(%rsp)
	movabsq	$8589934594, %rdx
	movq	%rdi, 80(%rsp)
	movq	%rdx, 20(%rsp)
	movl	$2, 28(%rsp)
	call	__cudaPushCallConfiguration@PLT
	movq	8(%rsp), %rdi
	testl	%eax, %eax
	jne	.L129
	movl	$4, %ecx
	movl	$3, %edx
	movl	$2, %esi
	call	_Z46__device_stub__Z23scanTheadInformationGPUPfiiiPfiii
.L129:
	movq	8(%rsp), %rsi
	movl	$2, %ecx
	movl	$96, %edx
	movq	%rbx, %rdi
	call	cudaMemcpy@PLT
	leaq	.LC3(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	$2, %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	leaq	.LC4(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	$3, %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	leaq	.LC4(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	$4, %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	leaq	.LC5(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	xorl	%ebp, %ebp
.L135:
	leaq	.LC6(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	%rbp, %rsi
	call	_ZNSo9_M_insertImEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC7(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	%rbp, %r12
	xorl	%r14d, %r14d
	negq	%r12
	andl	$48, %r12d
	addq	%rbx, %r12
.L130:
	movq	%r14, %r15
	xorl	%r13d, %r13d
	salq	$4, %r15
	addq	%r12, %r15
.L133:
	leaq	_ZSt4cout(%rip), %rdi
	cvtss2sd	(%r15,%r13,4), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	cmpq	$3, %r13
	jne	.L131
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	jmp	.L158
.L131:
	leaq	.LC8(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	incq	%r13
	jmp	.L133
.L158:
	incq	%r14
	cmpq	$3, %r14
	jne	.L130
	testq	%rbp, %rbp
	jne	.L159
	movl	$1, %ebp
	jmp	.L135
.L159:
	leaq	.LC9(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	$2, %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	leaq	.LC4(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	$3, %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	leaq	.LC4(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	$4, %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	leaq	.LC5(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	xorl	%ebx, %ebx
.L141:
	leaq	.LC10(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	%rbx, %rsi
	call	_ZNSo9_M_insertImEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC7(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	%rbx, %r14
	xorl	%r13d, %r13d
	leaq	_ZSt4cout(%rip), %r15
	negq	%r14
	andl	$24, %r14d
.L136:
	xorl	%r12d, %r12d
.L139:
	movq	56(%rsp), %rax
	movq	%r15, %rdi
	movq	(%rax,%r14), %rax
	movq	(%rax,%r13), %rax
	cvtss2sd	(%rax,%r12,4), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	cmpq	$3, %r12
	jne	.L137
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	jmp	.L160
.L137:
	leaq	.LC8(%rip), %rsi
	movq	%r15, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
.LEHE11:
	incq	%r12
	jmp	.L139
.L160:
	addq	$8, %r13
	cmpq	$24, %r13
	jne	.L136
	testq	%rbx, %rbx
	jne	.L161
	movq	%rbp, %rbx
	jmp	.L141
.L161:
	leaq	56(%rsp), %rdi
	call	_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EED1Ev
	leaq	32(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L145
	jmp	.L156
.L149:
	endbr64
	movq	%rax, %rbx
.L142:
	movq	%rbp, %rdi
	call	_ZNSt6vectorIPfSaIS0_EED1Ev
	jmp	.L143
.L148:
	endbr64
	movq	%rax, %rbx
.L143:
	leaq	56(%rsp), %rdi
	call	_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EED1Ev
	leaq	32(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L156
	movq	%rbx, %rdi
.LEHB12:
	call	_Unwind_Resume@PLT
.LEHE12:
.L156:
	call	__stack_chk_fail@PLT
.L145:
	addq	$120, %rsp
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE3998:
	.section	.gcc_except_table,"a",@progbits
.LLSDA3998:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE3998-.LLSDACSB3998
.LLSDACSB3998:
	.uleb128 .LEHB9-.LFB3998
	.uleb128 .LEHE9-.LEHB9
	.uleb128 .L148-.LFB3998
	.uleb128 0
	.uleb128 .LEHB10-.LFB3998
	.uleb128 .LEHE10-.LEHB10
	.uleb128 .L149-.LFB3998
	.uleb128 0
	.uleb128 .LEHB11-.LFB3998
	.uleb128 .LEHE11-.LEHB11
	.uleb128 .L148-.LFB3998
	.uleb128 0
	.uleb128 .LEHB12-.LFB3998
	.uleb128 .LEHE12-.LEHB12
	.uleb128 0
	.uleb128 0
.LLSDACSE3998:
	.section	.text.startup
	.size	main, .-main
	.section	.nvFatBinSegment,"aw"
	.align 8
	.type	_ZL15__fatDeviceText, @object
	.size	_ZL15__fatDeviceText, 24
_ZL15__fatDeviceText:
	.long	1180844977
	.long	1
	.quad	fatbinData
	.quad	0
	.local	_ZL20__cudaFatCubinHandle
	.comm	_ZL20__cudaFatCubinHandle,8,8
	.hidden	DW.ref.__gxx_personality_v0
	.weak	DW.ref.__gxx_personality_v0
	.section	.data.rel.local.DW.ref.__gxx_personality_v0,"awG",@progbits,DW.ref.__gxx_personality_v0,comdat
	.align 8
	.type	DW.ref.__gxx_personality_v0, @object
	.size	DW.ref.__gxx_personality_v0, 8
DW.ref.__gxx_personality_v0:
	.quad	__gxx_personality_v0
	.ident	"GCC: (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

//=============================================================================================
// Name        		: thread3dStl.cu
// Author      		: Jose Refojo
// Version     		:
// Creation date	:	26-02-2014
// Copyright		: Copyright belongs to Trinity Centre for High Performance Computing
// Description		: This program will initialize a number of arrays stored in stl vectors,
//			  then it will grab data from each thread (such as thread position inside the block and block),
//			  save it, send it back into the main memory, and print it
//=============================================================================================



#include <hip/hip_runtime.h>
#include <iostream>
#include <stdio.h>
#include <vector>

using namespace std;

#define BLOCK_SIZE 2

__global__ void scanTheadInformationGPU(float *threadXIdsGPU,int N,int M,int L) {
	int idx=blockIdx.x*blockDim.x+threadIdx.x;
	int idy=blockIdx.y*blockDim.y+threadIdx.y;
	int idz=blockIdx.z*blockDim.z+threadIdx.z;

	if ( idx < N ) {
	    if ( idy < M ) {
	    	if ( idz < L ) {
			threadXIdsGPU[idx+idy*N+idz*N*M]=-(idx+idy*N+idz*N*M);
			//threadXIdsGPU[idz+idy*L+idx*M*L]=-(idz+idy*L+idx*M*L);
		}
	    }
	}
}


int main() {
	// pointers to host memory matrices
	std::vector< float >	vector1d;
	std::vector< std::vector< float* > > vector3d;
	float *vector1d_gpu;

	// pointers to device memory matrices
	//float *vectorGPU;
	// N,M and L are the sizes on each dimension
	int N=2,M=3,L=4,totalSize;
	unsigned int ui,uj,uk;

	totalSize=N*M*L;

	// Allocate arrays threadIds and blockIds on host
	vector1d.resize(totalSize);
	vector3d.resize(N, std::vector< float* > (M));

	for (ui=0;ui<N;ui++) {
		for (uj=0;uj<M;uj++) {
			vector3d[ui][uj]=&(vector1d[uj*L+ui*M*L]);
		}
	}

	for (ui=0;ui<N;ui++) {
		for (uj=0;uj<M;uj++) {
			for (uk=0;uk<L;uk++) {
				//vector1d[ui+uj*N+uk*N*M]=ui+uj*N+uk*N*M;
				vector1d[uk+uj*L+ui*M*L]=uk+uj*L+ui*M*L;
			}
		}
	}

	// Allocate arrays threadIdsGPU and blockIdsGPU on device
	hipMalloc ((void **) &vector1d_gpu, sizeof(float)*N*M*L);

	// Copy data from host memory to device memory
	hipMemcpy(vector1d_gpu, &(vector1d[0]), sizeof(float)*N*M*L, hipMemcpyHostToDevice);

	int block_size=BLOCK_SIZE;
	dim3 dimBlock(block_size,block_size,block_size);
	dim3 dimGrid ( (N/dimBlock.x) + (!(N%dimBlock.x)?0:1),(M/dimBlock.y) + (!(M%dimBlock.y)?0:1),(L/dimBlock.y) + (!(L%dimBlock.y)?0:1));
	// Call the kernel
	scanTheadInformationGPU <<<dimGrid,dimBlock>>> (vector1d_gpu,N,M,L);


	// Copy data from device memory to host memory
	hipMemcpy(&(vector1d[0]), vector1d_gpu, sizeof(float)*N*M*L, hipMemcpyDeviceToHost);

	// Print all the data about the threads
	cout << "vector1d_host: (" << N << "," << M << "," << L << ")" << endl;
	for (ui=0;ui<N;ui++) {
		cout << "vector1d_host, slice in Z " << ui << ":" << endl;
		for (uj=0;uj<M;uj++) {
			for (uk=0;uk<L;uk++) {
				cout << vector1d[uk+uj*L+ui*M*L];
				if (uk==L-1) {	cout << endl;} else { cout << "\t"; }
			}
		}
	}

	cout << "vector3d_host: (" << N << "," << M << "," << L << ")" << endl;
	for (ui=0;ui<N;ui++) {
		cout << "vector3d_host, slice in Z " << ui << ":" << endl;
		for (uj=0;uj<M;uj++) {
			for (uk=0;uk<L;uk++) {
				cout << vector3d[ui][uj][uk];
				if (uk==L-1) {	cout << endl;} else { cout << "\t"; }
			}
		}
	}

/*
		cout << "vector1d_host:" <<endl;
		for (ui=0; ui<numRows; ui++) {
			for (uj=0; uj<numColumns; uj++) {
				cout << input2d_host[ui][uj];
				if (uj==numColumns-1) {	cout << endl;} else { cout << "\t"; }
			}
		}
		cout << endl;
*/
}

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

                                        # End of file scope inline assembly
	.globl	_Z38__device_stub__scanTheadInformationGPUPfiii # -- Begin function _Z38__device_stub__scanTheadInformationGPUPfiii
	.type	_Z38__device_stub__scanTheadInformationGPUPfiii,@function
_Z38__device_stub__scanTheadInformationGPUPfiii: # @_Z38__device_stub__scanTheadInformationGPUPfiii
	.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	$_Z23scanTheadInformationGPUPfiii, %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_end0:
	.size	_Z38__device_stub__scanTheadInformationGPUPfiii, .Lfunc_end0-_Z38__device_stub__scanTheadInformationGPUPfiii
	.cfi_endproc
                                        # -- End function
	.globl	main                            # -- Begin function 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
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$96, %rsp
	.cfi_def_cfa_offset 144
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	xorps	%xmm0, %xmm0
	leaq	16(%rsp), %rdi
	movaps	%xmm0, (%rdi)
	xorl	%eax, %eax
	movq	%rax, 16(%rdi)
	movq	%rax, 64(%rsp)
	movaps	%xmm0, 48(%rsp)
.Ltmp0:
	movl	$24, %esi
	callq	_ZNSt6vectorIfSaIfEE6resizeEm
.Ltmp1:
# %bb.1:
.Ltmp2:
	movl	$24, %edi
	callq	_Znwm
.Ltmp3:
# %bb.2:
	leaq	72(%rsp), %rdx
	movq	%rax, (%rdx)
	movq	%rax, %rcx
	addq	$24, %rcx
	movq	%rcx, 16(%rdx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	movq	$0, 16(%rax)
	movq	%rcx, 8(%rdx)
.Ltmp5:
	leaq	48(%rsp), %rdi
	movl	$2, %esi
	callq	_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE6resizeEmRKS2_
.Ltmp6:
# %bb.3:
	movq	72(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB1_5
# %bb.4:
	callq	_ZdlPv
.LBB1_5:                                # %_ZNSt6vectorIPfSaIS0_EED2Ev.exit
	movb	$1, %al
	xorl	%edx, %edx
.LBB1_6:                                # %.preheader187
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB1_7 Depth 2
	leaq	(%rdx,%rdx,2), %rcx
	shlq	$4, %rdx
	leaq	(%rdx,%rdx,2), %rdx
	xorl	%esi, %esi
.LBB1_7:                                #   Parent Loop BB1_6 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movq	16(%rsp), %rdi
	addq	%rdx, %rdi
	movq	48(%rsp), %r8
	movq	(%r8,%rcx,8), %r8
	movq	%rdi, (%r8,%rsi,8)
	incq	%rsi
	addq	$16, %rdx
	cmpq	$3, %rsi
	jne	.LBB1_7
# %bb.8:                                #   in Loop: Header=BB1_6 Depth=1
	movl	$1, %edx
	testb	$1, %al
	movl	$0, %eax
	jne	.LBB1_6
# %bb.9:                                # %.preheader186
	movb	$1, %cl
	movq	16(%rsp), %rax
	xorl	%edx, %edx
.LBB1_10:                               # %.preheader185
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB1_11 Depth 2
                                        #       Child Loop BB1_12 Depth 3
	leaq	(%rax,%rdx,4), %rsi
	xorl	%edi, %edi
.LBB1_11:                               # %.preheader184
                                        #   Parent Loop BB1_10 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB1_12 Depth 3
	xorl	%r8d, %r8d
.LBB1_12:                               #   Parent Loop BB1_10 Depth=1
                                        #     Parent Loop BB1_11 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	leal	(%rdx,%r8), %r9d
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r9, %xmm0
	movss	%xmm0, (%rsi,%r8,4)
	incq	%r8
	cmpq	$4, %r8
	jne	.LBB1_12
# %bb.13:                               #   in Loop: Header=BB1_11 Depth=2
	incq	%rdi
	addq	$16, %rsi
	addq	$4, %rdx
	cmpq	$3, %rdi
	jne	.LBB1_11
# %bb.14:                               #   in Loop: Header=BB1_10 Depth=1
	movl	$12, %edx
	testb	$1, %cl
	movl	$0, %ecx
	jne	.LBB1_10
# %bb.15:
.Ltmp8:
	leaq	8(%rsp), %rdi
	movl	$96, %esi
	callq	hipMalloc
.Ltmp9:
# %bb.16:
	movq	8(%rsp), %rdi
	movq	16(%rsp), %rsi
.Ltmp10:
	movl	$96, %edx
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp11:
# %bb.17:
.Ltmp13:
	movabsq	$8589934593, %rdi               # imm = 0x200000001
	movabsq	$8589934594, %rdx               # imm = 0x200000002
	movl	$2, %esi
	movl	$2, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp14:
# %bb.18:
	testl	%eax, %eax
	jne	.LBB1_20
# %bb.19:
	movq	8(%rsp), %rdi
.Ltmp15:
	movl	$2, %esi
	movl	$3, %edx
	movl	$4, %ecx
	callq	_Z38__device_stub__scanTheadInformationGPUPfiii
.Ltmp16:
.LBB1_20:
	movq	16(%rsp), %rdi
	movq	8(%rsp), %rsi
.Ltmp17:
	movl	$96, %edx
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp18:
# %bb.21:
.Ltmp19:
	movl	$_ZSt4cout, %edi
	movl	$.L.str, %esi
	movl	$16, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp20:
# %bb.22:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit
.Ltmp21:
	movl	$_ZSt4cout, %edi
	movl	$2, %esi
	callq	_ZNSolsEi
.Ltmp22:
# %bb.23:
.Ltmp23:
	movq	%rax, %rbx
	movl	$.L.str.1, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp24:
# %bb.24:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit127
.Ltmp25:
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_ZNSolsEi
.Ltmp26:
# %bb.25:
.Ltmp27:
	movq	%rax, %rbx
	movl	$.L.str.1, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp28:
# %bb.26:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit128
.Ltmp29:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_ZNSolsEi
.Ltmp30:
# %bb.27:
.Ltmp31:
	movq	%rax, %rbx
	movl	$.L.str.2, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp32:
# %bb.28:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit129
	movq	(%rbx), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
.Ltmp33:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp34:
# %bb.29:                               # %.noexc
.Ltmp35:
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_ZNSo3putEc
.Ltmp36:
# %bb.30:                               # %.noexc150
.Ltmp37:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp38:
# %bb.31:                               # %_ZNSolsEPFRSoS_E.exit.preheader.preheader
	movb	$1, %bpl
	xorl	%ebx, %ebx
	movl	$_ZSt4cout, %r15d
.LBB1_32:                               # %_ZNSolsEPFRSoS_E.exit.preheader
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB1_39 Depth 2
                                        #       Child Loop BB1_40 Depth 3
.Ltmp39:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.3, %esi
	movl	$26, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp40:
# %bb.33:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit130
                                        #   in Loop: Header=BB1_32 Depth=1
.Ltmp41:
	movl	$_ZSt4cout, %edi
	movq	%rbx, %rsi
	callq	_ZNSo9_M_insertImEERSoT_
.Ltmp42:
# %bb.34:                               # %_ZNSolsEj.exit
                                        #   in Loop: Header=BB1_32 Depth=1
.Ltmp43:
	movq	%rax, %r14
	movl	$.L.str.4, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp44:
# %bb.35:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit131
                                        #   in Loop: Header=BB1_32 Depth=1
	movq	(%r14), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
.Ltmp45:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp46:
# %bb.36:                               # %.noexc152
                                        #   in Loop: Header=BB1_32 Depth=1
.Ltmp47:
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
.Ltmp48:
# %bb.37:                               # %.noexc153
                                        #   in Loop: Header=BB1_32 Depth=1
.Ltmp49:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp50:
# %bb.38:                               # %_ZNSolsEPFRSoS_E.exit132.preheader
                                        #   in Loop: Header=BB1_32 Depth=1
	shlq	$4, %rbx
	leaq	(%rbx,%rbx,2), %rbx
	xorl	%r14d, %r14d
.LBB1_39:                               # %.preheader178
                                        #   Parent Loop BB1_32 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB1_40 Depth 3
	xorl	%r12d, %r12d
.LBB1_40:                               #   Parent Loop BB1_32 Depth=1
                                        #     Parent Loop BB1_39 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movq	16(%rsp), %rax
	addq	%rbx, %rax
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rax,%r12,4), %xmm0
.Ltmp52:
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp53:
# %bb.41:                               # %_ZNSolsEf.exit
                                        #   in Loop: Header=BB1_40 Depth=3
	cmpq	$3, %r12
	je	.LBB1_42
# %bb.86:                               #   in Loop: Header=BB1_40 Depth=3
.Ltmp54:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.5, %esi
	movl	$1, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp55:
# %bb.87:                               # %_ZNSolsEPFRSoS_E.exit133
                                        #   in Loop: Header=BB1_40 Depth=3
	incq	%r12
	jmp	.LBB1_40
.LBB1_42:                               #   in Loop: Header=BB1_39 Depth=2
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%r15, %rdi
.Ltmp57:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp58:
# %bb.43:                               # %.noexc156
                                        #   in Loop: Header=BB1_39 Depth=2
.Ltmp59:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp60:
# %bb.44:                               # %.noexc157
                                        #   in Loop: Header=BB1_39 Depth=2
.Ltmp61:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp62:
# %bb.45:                               # %_ZNSolsEPFRSoS_E.exit132
                                        #   in Loop: Header=BB1_39 Depth=2
	incq	%r14
	addq	$16, %rbx
	cmpq	$3, %r14
	jne	.LBB1_39
# %bb.46:                               # %_ZNSolsEPFRSoS_E.exit
                                        #   in Loop: Header=BB1_32 Depth=1
	movl	$1, %ebx
	testb	$1, %bpl
	movl	$0, %ebp
	jne	.LBB1_32
# %bb.47:
.Ltmp64:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.6, %esi
	movl	$16, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp65:
# %bb.48:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit135
.Ltmp66:
	movl	$_ZSt4cout, %edi
	movl	$2, %esi
	callq	_ZNSolsEi
.Ltmp67:
# %bb.49:
.Ltmp68:
	movq	%rax, %rbx
	movl	$.L.str.1, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp69:
# %bb.50:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit136
.Ltmp70:
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_ZNSolsEi
.Ltmp71:
# %bb.51:
.Ltmp72:
	movq	%rax, %rbx
	movl	$.L.str.1, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp73:
# %bb.52:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit137
.Ltmp74:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_ZNSolsEi
.Ltmp75:
# %bb.53:
.Ltmp76:
	movq	%rax, %rbx
	movl	$.L.str.2, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp77:
# %bb.54:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit138
	movq	(%rbx), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
.Ltmp78:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp79:
# %bb.55:                               # %.noexc160
.Ltmp80:
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_ZNSo3putEc
.Ltmp81:
# %bb.56:                               # %.noexc161
.Ltmp82:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp83:
# %bb.57:                               # %_ZNSolsEPFRSoS_E.exit139.preheader.preheader
	movb	$1, %bpl
	xorl	%ebx, %ebx
	movl	$_ZSt4cout, %r15d
.LBB1_58:                               # %_ZNSolsEPFRSoS_E.exit139.preheader
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB1_65 Depth 2
                                        #       Child Loop BB1_66 Depth 3
.Ltmp85:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.7, %esi
	movl	$26, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp86:
# %bb.59:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit140
                                        #   in Loop: Header=BB1_58 Depth=1
.Ltmp87:
	movl	$_ZSt4cout, %edi
	movq	%rbx, %rsi
	callq	_ZNSo9_M_insertImEERSoT_
.Ltmp88:
# %bb.60:                               # %_ZNSolsEj.exit141
                                        #   in Loop: Header=BB1_58 Depth=1
.Ltmp89:
	movq	%rax, %r14
	movl	$.L.str.4, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp90:
# %bb.61:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit142
                                        #   in Loop: Header=BB1_58 Depth=1
	movq	(%r14), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
.Ltmp91:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp92:
# %bb.62:                               # %.noexc164
                                        #   in Loop: Header=BB1_58 Depth=1
.Ltmp93:
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
.Ltmp94:
# %bb.63:                               # %.noexc165
                                        #   in Loop: Header=BB1_58 Depth=1
.Ltmp95:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp96:
# %bb.64:                               # %.preheader.preheader
                                        #   in Loop: Header=BB1_58 Depth=1
	leaq	(%rbx,%rbx,2), %rbx
	xorl	%r14d, %r14d
.LBB1_65:                               # %.preheader
                                        #   Parent Loop BB1_58 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB1_66 Depth 3
	xorl	%r12d, %r12d
.LBB1_66:                               #   Parent Loop BB1_58 Depth=1
                                        #     Parent Loop BB1_65 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movq	48(%rsp), %rax
	movq	(%rax,%rbx,8), %rax
	movq	(%rax,%r14,8), %rax
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rax,%r12,4), %xmm0
.Ltmp98:
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp99:
# %bb.67:                               # %_ZNSolsEf.exit144
                                        #   in Loop: Header=BB1_66 Depth=3
	cmpq	$3, %r12
	je	.LBB1_68
# %bb.88:                               #   in Loop: Header=BB1_66 Depth=3
.Ltmp100:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.5, %esi
	movl	$1, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp101:
# %bb.89:                               # %_ZNSolsEPFRSoS_E.exit145
                                        #   in Loop: Header=BB1_66 Depth=3
	incq	%r12
	jmp	.LBB1_66
.LBB1_68:                               #   in Loop: Header=BB1_65 Depth=2
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%r15, %rdi
.Ltmp103:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp104:
# %bb.69:                               # %.noexc168
                                        #   in Loop: Header=BB1_65 Depth=2
.Ltmp105:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp106:
# %bb.70:                               # %.noexc169
                                        #   in Loop: Header=BB1_65 Depth=2
.Ltmp107:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp108:
# %bb.71:                               # %_ZNSolsEPFRSoS_E.exit143
                                        #   in Loop: Header=BB1_65 Depth=2
	incq	%r14
	cmpq	$3, %r14
	jne	.LBB1_65
# %bb.72:                               # %_ZNSolsEPFRSoS_E.exit139
                                        #   in Loop: Header=BB1_58 Depth=1
	movl	$1, %ebx
	testb	$1, %bpl
	movl	$0, %ebp
	jne	.LBB1_58
# %bb.73:
	leaq	48(%rsp), %rdi
	callq	_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EED2Ev
	movq	16(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB1_75
# %bb.74:
	callq	_ZdlPv
.LBB1_75:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit
	xorl	%eax, %eax
	addq	$96, %rsp
	.cfi_def_cfa_offset 48
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB1_77:
	.cfi_def_cfa_offset 144
.Ltmp7:
	movq	%rax, %rbx
	movq	72(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB1_92
# %bb.78:
	callq	_ZdlPv
	jmp	.LBB1_92
.LBB1_76:
.Ltmp4:
	jmp	.LBB1_91
.LBB1_90:
.Ltmp12:
	jmp	.LBB1_91
.LBB1_85:                               # %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp
.Ltmp84:
	jmp	.LBB1_91
.LBB1_81:                               # %.loopexit.split-lp.loopexit
.Ltmp97:
	jmp	.LBB1_91
.LBB1_84:                               # %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit
.Ltmp51:
	jmp	.LBB1_91
.LBB1_80:                               # %.loopexit.loopexit.split-lp
.Ltmp109:
	jmp	.LBB1_91
.LBB1_83:                               # %.loopexit.split-lp.loopexit.split-lp.loopexit.loopexit.split-lp
.Ltmp63:
	jmp	.LBB1_91
.LBB1_79:                               # %.loopexit.loopexit
.Ltmp102:
	jmp	.LBB1_91
.LBB1_82:                               # %.loopexit.split-lp.loopexit.split-lp.loopexit.loopexit
.Ltmp56:
.LBB1_91:                               # %.loopexit.split-lp
	movq	%rax, %rbx
.LBB1_92:                               # %.loopexit.split-lp
	leaq	48(%rsp), %rdi
	callq	_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EED2Ev
	movq	16(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB1_94
# %bb.93:
	callq	_ZdlPv
.LBB1_94:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit149
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end1:
	.size	main, .Lfunc_end1-main
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table1:
.Lexception0:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end0-.Lcst_begin0
.Lcst_begin0:
	.uleb128 .Ltmp0-.Lfunc_begin0           # >> Call Site 1 <<
	.uleb128 .Ltmp1-.Ltmp0                  #   Call between .Ltmp0 and .Ltmp1
	.uleb128 .Ltmp12-.Lfunc_begin0          #     jumps to .Ltmp12
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp2-.Lfunc_begin0           # >> Call Site 2 <<
	.uleb128 .Ltmp3-.Ltmp2                  #   Call between .Ltmp2 and .Ltmp3
	.uleb128 .Ltmp4-.Lfunc_begin0           #     jumps to .Ltmp4
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp5-.Lfunc_begin0           # >> Call Site 3 <<
	.uleb128 .Ltmp6-.Ltmp5                  #   Call between .Ltmp5 and .Ltmp6
	.uleb128 .Ltmp7-.Lfunc_begin0           #     jumps to .Ltmp7
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp8-.Lfunc_begin0           # >> Call Site 4 <<
	.uleb128 .Ltmp11-.Ltmp8                 #   Call between .Ltmp8 and .Ltmp11
	.uleb128 .Ltmp12-.Lfunc_begin0          #     jumps to .Ltmp12
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp13-.Lfunc_begin0          # >> Call Site 5 <<
	.uleb128 .Ltmp38-.Ltmp13                #   Call between .Ltmp13 and .Ltmp38
	.uleb128 .Ltmp84-.Lfunc_begin0          #     jumps to .Ltmp84
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp39-.Lfunc_begin0          # >> Call Site 6 <<
	.uleb128 .Ltmp50-.Ltmp39                #   Call between .Ltmp39 and .Ltmp50
	.uleb128 .Ltmp51-.Lfunc_begin0          #     jumps to .Ltmp51
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp52-.Lfunc_begin0          # >> Call Site 7 <<
	.uleb128 .Ltmp55-.Ltmp52                #   Call between .Ltmp52 and .Ltmp55
	.uleb128 .Ltmp56-.Lfunc_begin0          #     jumps to .Ltmp56
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp57-.Lfunc_begin0          # >> Call Site 8 <<
	.uleb128 .Ltmp62-.Ltmp57                #   Call between .Ltmp57 and .Ltmp62
	.uleb128 .Ltmp63-.Lfunc_begin0          #     jumps to .Ltmp63
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp64-.Lfunc_begin0          # >> Call Site 9 <<
	.uleb128 .Ltmp83-.Ltmp64                #   Call between .Ltmp64 and .Ltmp83
	.uleb128 .Ltmp84-.Lfunc_begin0          #     jumps to .Ltmp84
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp85-.Lfunc_begin0          # >> Call Site 10 <<
	.uleb128 .Ltmp96-.Ltmp85                #   Call between .Ltmp85 and .Ltmp96
	.uleb128 .Ltmp97-.Lfunc_begin0          #     jumps to .Ltmp97
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp98-.Lfunc_begin0          # >> Call Site 11 <<
	.uleb128 .Ltmp101-.Ltmp98               #   Call between .Ltmp98 and .Ltmp101
	.uleb128 .Ltmp102-.Lfunc_begin0         #     jumps to .Ltmp102
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp103-.Lfunc_begin0         # >> Call Site 12 <<
	.uleb128 .Ltmp108-.Ltmp103              #   Call between .Ltmp103 and .Ltmp108
	.uleb128 .Ltmp109-.Lfunc_begin0         #     jumps to .Ltmp109
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp108-.Lfunc_begin0         # >> Call Site 13 <<
	.uleb128 .Lfunc_end1-.Ltmp108           #   Call between .Ltmp108 and .Lfunc_end1
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorIfSaIfEE6resizeEm,"axG",@progbits,_ZNSt6vectorIfSaIfEE6resizeEm,comdat
	.weak	_ZNSt6vectorIfSaIfEE6resizeEm   # -- Begin function _ZNSt6vectorIfSaIfEE6resizeEm
	.p2align	1, 0x90
	.type	_ZNSt6vectorIfSaIfEE6resizeEm,@function
_ZNSt6vectorIfSaIfEE6resizeEm:          # @_ZNSt6vectorIfSaIfEE6resizeEm
	.cfi_startproc
# %bb.0:
	movq	(%rdi), %rdx
	movq	8(%rdi), %rcx
	movq	%rcx, %r8
	subq	%rdx, %r8
	sarq	$2, %r8
	movq	%rsi, %rax
	subq	%r8, %rax
	jbe	.LBB2_1
# %bb.5:
	movq	%rax, %rsi
	jmp	_ZNSt6vectorIfSaIfEE17_M_default_appendEm # TAILCALL
.LBB2_1:
	jae	.LBB2_4
# %bb.2:
	leaq	(%rdx,%rsi,4), %rax
	cmpq	%rax, %rcx
	je	.LBB2_4
# %bb.3:
	movq	%rax, 8(%rdi)
.LBB2_4:                                # %_ZNSt6vectorIfSaIfEE15_M_erase_at_endEPf.exit
	retq
.Lfunc_end2:
	.size	_ZNSt6vectorIfSaIfEE6resizeEm, .Lfunc_end2-_ZNSt6vectorIfSaIfEE6resizeEm
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE6resizeEmRKS2_,"axG",@progbits,_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE6resizeEmRKS2_,comdat
	.weak	_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE6resizeEmRKS2_ # -- Begin function _ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE6resizeEmRKS2_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE6resizeEmRKS2_,@function
_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE6resizeEmRKS2_: # @_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE6resizeEmRKS2_
	.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	.LBB3_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_IPfSaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_ # TAILCALL
.LBB3_1:
	.cfi_def_cfa_offset 48
	jae	.LBB3_8
# %bb.2:
	leaq	(%rsi,%rsi,2), %rcx
	leaq	(%rax,%rcx,8), %r15
	cmpq	%r15, %r14
	je	.LBB3_8
# %bb.3:                                # %.lr.ph.i.i.i.i.preheader
	movq	%r15, %r12
.LBB3_4:                                # %.lr.ph.i.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	.LBB3_6
# %bb.5:                                #   in Loop: Header=BB3_4 Depth=1
	callq	_ZdlPv
.LBB3_6:                                # %_ZSt8_DestroyISt6vectorIPfSaIS1_EEEvPT_.exit.i.i.i.i
                                        #   in Loop: Header=BB3_4 Depth=1
	addq	$24, %r12
	cmpq	%r14, %r12
	jne	.LBB3_4
# %bb.7:                                # %_ZSt8_DestroyIPSt6vectorIPfSaIS1_EES3_EvT_S5_RSaIT0_E.exit.i
	movq	%r15, 8(%rbx)
.LBB3_8:                                # %_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE15_M_erase_at_endEPS2_.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_end3:
	.size	_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE6resizeEmRKS2_, .Lfunc_end3-_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE6resizeEmRKS2_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIS_IPfSaIS0_EESaIS2_EED2Ev,"axG",@progbits,_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EED2Ev,comdat
	.weak	_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EED2Ev # -- Begin function _ZNSt6vectorIS_IPfSaIS0_EESaIS2_EED2Ev
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EED2Ev,@function
_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EED2Ev: # @_ZNSt6vectorIS_IPfSaIS0_EESaIS2_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	.LBB4_6
# %bb.1:                                # %.lr.ph.i.i.i.preheader
	movq	%rdi, %r14
.LBB4_2:                                # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB4_4
# %bb.3:                                #   in Loop: Header=BB4_2 Depth=1
	callq	_ZdlPv
.LBB4_4:                                # %_ZSt8_DestroyISt6vectorIPfSaIS1_EEEvPT_.exit.i.i.i
                                        #   in Loop: Header=BB4_2 Depth=1
	addq	$24, %rbx
	cmpq	%r15, %rbx
	jne	.LBB4_2
# %bb.5:                                # %_ZSt8_DestroyIPSt6vectorIPfSaIS1_EES3_EvT_S5_RSaIT0_E.exitthread-pre-split
	movq	(%r14), %rbx
.LBB4_6:                                # %_ZSt8_DestroyIPSt6vectorIPfSaIS1_EES3_EvT_S5_RSaIT0_E.exit
	testq	%rbx, %rbx
	je	.LBB4_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
.LBB4_7:                                # %_ZNSt12_Vector_baseISt6vectorIPfSaIS1_EESaIS3_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_end4:
	.size	_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EED2Ev, .Lfunc_end4-_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EED2Ev
	.cfi_endproc
                                        # -- End function
	.section	.text.__clang_call_terminate,"axG",@progbits,__clang_call_terminate,comdat
	.hidden	__clang_call_terminate          # -- Begin function __clang_call_terminate
	.weak	__clang_call_terminate
	.type	__clang_call_terminate,@function
__clang_call_terminate:                 # @__clang_call_terminate
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	callq	__cxa_begin_catch
	callq	_ZSt9terminatev
.Lfunc_end5:
	.size	__clang_call_terminate, .Lfunc_end5-__clang_call_terminate
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIfSaIfEE17_M_default_appendEm,"axG",@progbits,_ZNSt6vectorIfSaIfEE17_M_default_appendEm,comdat
	.weak	_ZNSt6vectorIfSaIfEE17_M_default_appendEm # -- Begin function _ZNSt6vectorIfSaIfEE17_M_default_appendEm
	.p2align	1, 0x90
	.type	_ZNSt6vectorIfSaIfEE17_M_default_appendEm,@function
_ZNSt6vectorIfSaIfEE17_M_default_appendEm: # @_ZNSt6vectorIfSaIfEE17_M_default_appendEm
	.cfi_startproc
# %bb.0:
	testq	%rsi, %rsi
	je	.LBB6_16
# %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	pushq	%rax
	.cfi_def_cfa_offset 64
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	movq	16(%rdi), %rax
	subq	%r15, %rax
	sarq	$2, %rax
	cmpq	%rsi, %rax
	jae	.LBB6_2
# %bb.5:
	movq	(%rbx), %r12
	subq	%r12, %r15
	movq	%r15, %r13
	sarq	$2, %r13
	movl	$.L.str.8, %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc
	testq	%rax, %rax
	movq	%rax, (%rsp)                    # 8-byte Spill
	je	.LBB6_6
# %bb.7:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIfE8allocateEmPKv
	movq	%rax, %rbp
	jmp	.LBB6_8
.LBB6_2:
	movl	$0, (%r15)
	leaq	4(%r15), %rdi
	cmpq	$1, %r14
	je	.LBB6_4
# %bb.3:                                # %_ZSt6fill_nIPfmfET_S1_T0_RKT1_.exit.loopexit.i.i.i
	leaq	-4(,%r14,4), %rdx
	xorl	%esi, %esi
	callq	memset@PLT
	leaq	(%r15,%r14,4), %rdi
.LBB6_4:                                # %_ZSt27__uninitialized_default_n_aIPfmfET_S1_T0_RSaIT1_E.exit
	movq	%rdi, 8(%rbx)
	jmp	.LBB6_15
.LBB6_6:
	xorl	%ebp, %ebp
.LBB6_8:
	leaq	(,%r13,4), %r13
	addq	%rbp, %r13
	movl	$0, (%r13)
	cmpq	$1, %r14
	je	.LBB6_10
# %bb.9:                                # %_ZSt6fill_nIPfmfET_S1_T0_RKT1_.exit.loopexit.i.i.i30
	leaq	4(%r13), %rdi
	leaq	-4(,%r14,4), %rdx
	xorl	%esi, %esi
	callq	memset@PLT
.LBB6_10:                               # %_ZSt27__uninitialized_default_n_aIPfmfET_S1_T0_RSaIT1_E.exit32
	testq	%r15, %r15
	jle	.LBB6_12
# %bb.11:
	movq	%rbp, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	memmove@PLT
.LBB6_12:                               # %_ZNSt6vectorIfSaIfEE11_S_relocateEPfS2_S2_RS0_.exit
	testq	%r12, %r12
	je	.LBB6_14
# %bb.13:
	movq	%r12, %rdi
	callq	_ZdlPv
.LBB6_14:                               # %_ZNSt12_Vector_baseIfSaIfEE13_M_deallocateEPfm.exit35
	movq	%rbp, (%rbx)
	leaq	(,%r14,4), %rax
	addq	%r13, %rax
	movq	%rax, 8(%rbx)
	movq	(%rsp), %rax                    # 8-byte Reload
	leaq	(,%rax,4), %rax
	addq	%rbp, %rax
	movq	%rax, 16(%rbx)
.LBB6_15:
	addq	$8, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	.cfi_restore %rbx
	.cfi_restore %r12
	.cfi_restore %r13
	.cfi_restore %r14
	.cfi_restore %r15
	.cfi_restore %rbp
.LBB6_16:
	retq
.Lfunc_end6:
	.size	_ZNSt6vectorIfSaIfEE17_M_default_appendEm, .Lfunc_end6-_ZNSt6vectorIfSaIfEE17_M_default_appendEm
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc,"axG",@progbits,_ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc,comdat
	.weak	_ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc # -- Begin function _ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc
	.p2align	1, 0x90
	.type	_ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc,@function
_ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc: # @_ZNKSt6vectorIfSaIfEE12_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	.LBB7_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
.LBB7_2:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdx, %rdi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end7:
	.size	_ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc, .Lfunc_end7-_ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorIfE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorIfE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorIfE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorIfE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorIfE8allocateEmPKv,@function
_ZNSt15__new_allocatorIfE8allocateEmPKv: # @_ZNSt15__new_allocatorIfE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$61, %rax
	jne	.LBB8_1
# %bb.3:
	shlq	$2, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB8_1:
	.cfi_def_cfa_offset 16
	shrq	$62, %rsi
	je	.LBB8_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB8_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end8:
	.size	_ZNSt15__new_allocatorIfE8allocateEmPKv, .Lfunc_end8-_ZNSt15__new_allocatorIfE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorIPfE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorIPfE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorIPfE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorIPfE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorIPfE8allocateEmPKv,@function
_ZNSt15__new_allocatorIPfE8allocateEmPKv: # @_ZNSt15__new_allocatorIPfE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$60, %rax
	jne	.LBB9_1
# %bb.3:
	shlq	$3, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB9_1:
	.cfi_def_cfa_offset 16
	shrq	$61, %rsi
	je	.LBB9_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB9_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end9:
	.size	_ZNSt15__new_allocatorIPfE8allocateEmPKv, .Lfunc_end9-_ZNSt15__new_allocatorIPfE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_,"axG",@progbits,_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_,comdat
	.weak	_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_ # -- Begin function _ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_,@function
_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_: # @_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_
.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	.LBB10_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	.LBB10_2
# %bb.25:
	movq	%rcx, 16(%rsp)                  # 8-byte Spill
	movq	(%r14), %rbp
	movl	$.L.str.10, %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_ZNKSt6vectorIS_IPfSaIS0_EESaIS2_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	.LBB10_26
# %bb.27:
	movq	%r14, %rdi
	movq	(%rsp), %rsi                    # 8-byte Reload
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorISt6vectorIPfSaIS1_EEE8allocateEmPKv
	movq	%rax, %rbp
	jmp	.LBB10_28
.LBB10_2:
	leaq	32(%rsp), %r15
	movq	%r14, -8(%r15)
	movb	$0, (%r15)
	movq	%r15, %rdi
	movq	%rcx, %rsi
	callq	_ZNSt6vectorIPfSaIS0_EEC2ERKS2_
	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	.LBB10_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	.LBB10_7
# %bb.4:                                # %.lr.ph.i.i.i.i.i.preheader
	leaq	(%rax,%r13), %rcx
	xorl	%edx, %edx
	xorps	%xmm0, %xmm0
.LBB10_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	.LBB10_5
# %bb.6:                                # %.loopexit128.loopexit
	movq	8(%r14), %rcx
.LBB10_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_bIPSt6vectorIPfSaIS4_EES7_EET0_T_S9_S8_
.LBB10_8:                               # %.lr.ph.i.i.i82
                                        # =>This Inner Loop Header: Depth=1
.Ltmp116:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ZNSt6vectorIPfSaIS0_EEaSERKS2_
.Ltmp117:
# %bb.9:                                # %.noexc
                                        #   in Loop: Header=BB10_8 Depth=1
	addq	$24, %rbx
	addq	$-24, %r12
	jne	.LBB10_8
	jmp	.LBB10_23
.LBB10_16:
.Ltmp110:
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_EEmS3_ET_S5_T0_RKT1_
.Ltmp111:
# %bb.17:                               # %_ZSt24__uninitialized_fill_n_aIPSt6vectorIPfSaIS1_EEmS3_S3_ET_S5_T0_RKT1_RSaIT2_E.exit
	movq	%rax, 8(%r14)
	cmpq	%rbx, %r13
	je	.LBB10_53
# %bb.18:                               # %.lr.ph.i.i.i.i.i86.preheader
	xorl	%ecx, %ecx
	xorps	%xmm0, %xmm0
.LBB10_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	.LBB10_19
# %bb.20:                               # %.lr.ph.i.i.i93.preheader
	addq	%rbp, 8(%r14)
.LBB10_21:                              # %.lr.ph.i.i.i93
                                        # =>This Inner Loop Header: Depth=1
.Ltmp113:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ZNSt6vectorIPfSaIS0_EEaSERKS2_
.Ltmp114:
# %bb.22:                               # %.noexc96
                                        #   in Loop: Header=BB10_21 Depth=1
	addq	$24, %rbx
	cmpq	%r13, %rbx
	jne	.LBB10_21
	jmp	.LBB10_23
.LBB10_26:
	xorl	%ebp, %ebp
.LBB10_28:                              # %_ZNSt12_Vector_baseISt6vectorIPfSaIS1_EESaIS3_EE11_M_allocateEm.exit
	addq	%rbp, %r13
.Ltmp119:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	16(%rsp), %rdx                  # 8-byte Reload
	callq	_ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_EEmS3_ET_S5_T0_RKT1_
.Ltmp120:
# %bb.29:                               # %_ZSt24__uninitialized_fill_n_aIPSt6vectorIPfSaIS1_EEmS3_S3_ET_S5_T0_RKT1_RSaIT2_E.exit101
	movq	%rbp, %rax
	movq	8(%rsp), %r13                   # 8-byte Reload
	cmpq	%rbx, %r13
	je	.LBB10_32
# %bb.30:                               # %.lr.ph.i.i.i.i.i103.preheader
	xorps	%xmm0, %xmm0
	movq	%rbp, %rax
	movq	%r13, %rcx
.LBB10_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	.LBB10_31
.LBB10_32:                              # %_ZSt34__uninitialized_move_if_noexcept_aIPSt6vectorIPfSaIS1_EES4_SaIS3_EET0_T_S7_S6_RT1_.exit
	leaq	(%r12,%r12,2), %rcx
	leaq	(%rax,%rcx,8), %r12
	cmpq	%rbx, %r15
	je	.LBB10_35
# %bb.33:                               # %.lr.ph.i.i.i.i.i109.preheader
	xorps	%xmm0, %xmm0
.LBB10_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	.LBB10_34
.LBB10_35:                              # %_ZSt34__uninitialized_move_if_noexcept_aIPSt6vectorIPfSaIS1_EES4_SaIS3_EET0_T_S7_S6_RT1_.exit114
	cmpq	%r15, %r13
	je	.LBB10_40
# %bb.36:                               # %.lr.ph.i.i.i.preheader
	movq	%r13, %rbx
.LBB10_37:                              # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB10_39
# %bb.38:                               #   in Loop: Header=BB10_37 Depth=1
	callq	_ZdlPv
.LBB10_39:                              # %_ZSt8_DestroyISt6vectorIPfSaIS1_EEEvPT_.exit.i.i.i
                                        #   in Loop: Header=BB10_37 Depth=1
	addq	$24, %rbx
	cmpq	%r15, %rbx
	jne	.LBB10_37
.LBB10_40:                              # %_ZSt8_DestroyIPSt6vectorIPfSaIS1_EES3_EvT_S5_RSaIT0_E.exit
	testq	%r13, %r13
	je	.LBB10_42
# %bb.41:
	movq	%r13, %rdi
	callq	_ZdlPv
.LBB10_42:                              # %_ZNSt12_Vector_baseISt6vectorIPfSaIS1_EESaIS3_EE13_M_deallocateEPS3_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	.LBB10_43
.LBB10_53:                              # %_ZSt22__uninitialized_move_aIPSt6vectorIPfSaIS1_EES4_SaIS3_EET0_T_S7_S6_RT1_.exit91.thread
	addq	%rbp, %rax
	movq	%rax, 8(%r14)
.LBB10_23:                              # %_ZSt4fillIPSt6vectorIPfSaIS1_EES3_EvT_S5_RKT0_.exit
	movq	32(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_43
# %bb.24:
	callq	_ZdlPv
.LBB10_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
.LBB10_12:                              # %.loopexit.split-lp.loopexit.split-lp
	.cfi_def_cfa_offset 112
.Ltmp112:
	jmp	.LBB10_13
.LBB10_44:
.Ltmp121:
	movq	%rax, %rdi
	callq	__cxa_begin_catch
	testq	%rbp, %rbp
	jne	.LBB10_50
# %bb.45:
	shlq	$3, %r12
	leaq	(%r12,%r12,2), %rbx
	xorl	%r14d, %r14d
.LBB10_46:                              # %.lr.ph.i.i.i69
                                        # =>This Inner Loop Header: Depth=1
	movq	(%r13,%r14), %rdi
	testq	%rdi, %rdi
	je	.LBB10_48
# %bb.47:                               #   in Loop: Header=BB10_46 Depth=1
	callq	_ZdlPv
.LBB10_48:                              # %_ZSt8_DestroyISt6vectorIPfSaIS1_EEEvPT_.exit.i.i.i72
                                        #   in Loop: Header=BB10_46 Depth=1
	addq	$24, %r14
	cmpq	%r14, %rbx
	jne	.LBB10_46
	jmp	.LBB10_51
.LBB10_50:                              # %_ZSt8_DestroyIPSt6vectorIPfSaIS1_EES3_EvT_S5_RSaIT0_E.exit74.thread125
	movq	%rbp, %rdi
	callq	_ZdlPv
.LBB10_51:                              # %_ZNSt12_Vector_baseISt6vectorIPfSaIS1_EESaIS3_EE13_M_deallocateEPS3_m.exit117
.Ltmp122:
	callq	__cxa_rethrow
.Ltmp123:
# %bb.52:
.LBB10_49:
.Ltmp124:
	movq	%rax, %rbx
.Ltmp125:
	callq	__cxa_end_catch
.Ltmp126:
	jmp	.LBB10_15
.LBB10_54:
.Ltmp127:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.LBB10_11:                              # %.loopexit.split-lp.loopexit
.Ltmp115:
	jmp	.LBB10_13
.LBB10_10:                              # %.loopexit
.Ltmp118:
.LBB10_13:                              # %.loopexit.split-lp
	movq	%rax, %rbx
	movq	32(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB10_15
# %bb.14:
	callq	_ZdlPv
.LBB10_15:
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end10:
	.size	_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_, .Lfunc_end10-_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_,"aG",@progbits,_ZNSt6vectorIS_IPfSaIS0_EESaIS2_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS2_S4_EEmRKS2_,comdat
	.p2align	2, 0x0
GCC_except_table10:
.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 .Ltmp116-.Lfunc_begin1         #   Call between .Lfunc_begin1 and .Ltmp116
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp116-.Lfunc_begin1         # >> Call Site 2 <<
	.uleb128 .Ltmp117-.Ltmp116              #   Call between .Ltmp116 and .Ltmp117
	.uleb128 .Ltmp118-.Lfunc_begin1         #     jumps to .Ltmp118
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp110-.Lfunc_begin1         # >> Call Site 3 <<
	.uleb128 .Ltmp111-.Ltmp110              #   Call between .Ltmp110 and .Ltmp111
	.uleb128 .Ltmp112-.Lfunc_begin1         #     jumps to .Ltmp112
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp113-.Lfunc_begin1         # >> Call Site 4 <<
	.uleb128 .Ltmp114-.Ltmp113              #   Call between .Ltmp113 and .Ltmp114
	.uleb128 .Ltmp115-.Lfunc_begin1         #     jumps to .Ltmp115
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp119-.Lfunc_begin1         # >> Call Site 5 <<
	.uleb128 .Ltmp120-.Ltmp119              #   Call between .Ltmp119 and .Ltmp120
	.uleb128 .Ltmp121-.Lfunc_begin1         #     jumps to .Ltmp121
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp120-.Lfunc_begin1         # >> Call Site 6 <<
	.uleb128 .Ltmp122-.Ltmp120              #   Call between .Ltmp120 and .Ltmp122
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp122-.Lfunc_begin1         # >> Call Site 7 <<
	.uleb128 .Ltmp123-.Ltmp122              #   Call between .Ltmp122 and .Ltmp123
	.uleb128 .Ltmp124-.Lfunc_begin1         #     jumps to .Ltmp124
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp125-.Lfunc_begin1         # >> Call Site 8 <<
	.uleb128 .Ltmp126-.Ltmp125              #   Call between .Ltmp125 and .Ltmp126
	.uleb128 .Ltmp127-.Lfunc_begin1         #     jumps to .Ltmp127
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp126-.Lfunc_begin1         # >> Call Site 9 <<
	.uleb128 .Lfunc_end10-.Ltmp126          #   Call between .Ltmp126 and .Lfunc_end10
	.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_IPfSaIS0_EESaIS2_EE12_M_check_lenEmPKc,"axG",@progbits,_ZNKSt6vectorIS_IPfSaIS0_EESaIS2_EE12_M_check_lenEmPKc,comdat
	.weak	_ZNKSt6vectorIS_IPfSaIS0_EESaIS2_EE12_M_check_lenEmPKc # -- Begin function _ZNKSt6vectorIS_IPfSaIS0_EESaIS2_EE12_M_check_lenEmPKc
	.p2align	1, 0x90
	.type	_ZNKSt6vectorIS_IPfSaIS0_EESaIS2_EE12_M_check_lenEmPKc,@function
_ZNKSt6vectorIS_IPfSaIS0_EESaIS2_EE12_M_check_lenEmPKc: # @_ZNKSt6vectorIS_IPfSaIS0_EESaIS2_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	.LBB11_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
.LBB11_2:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdx, %rdi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end11:
	.size	_ZNKSt6vectorIS_IPfSaIS0_EESaIS2_EE12_M_check_lenEmPKc, .Lfunc_end11-_ZNKSt6vectorIS_IPfSaIS0_EESaIS2_EE12_M_check_lenEmPKc
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIPfSaIS0_EEC2ERKS2_,"axG",@progbits,_ZNSt6vectorIPfSaIS0_EEC2ERKS2_,comdat
	.weak	_ZNSt6vectorIPfSaIS0_EEC2ERKS2_ # -- Begin function _ZNSt6vectorIPfSaIS0_EEC2ERKS2_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIPfSaIS0_EEC2ERKS2_,@function
_ZNSt6vectorIPfSaIS0_EEC2ERKS2_:        # @_ZNSt6vectorIPfSaIS0_EEC2ERKS2_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rsi), %rax
	movq	(%rsi), %rcx
	movq	%rax, %r12
	subq	%rcx, %r12
	sarq	$3, %r12
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	cmpq	%rcx, %rax
	je	.LBB12_1
# %bb.2:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIPfE8allocateEmPKv
	movq	%rax, %r15
	jmp	.LBB12_3
.LBB12_1:
	xorl	%r15d, %r15d
.LBB12_3:
	movq	%r15, (%rbx)
	movq	%r15, 8(%rbx)
	leaq	(%r15,%r12,8), %rax
	movq	%rax, 16(%rbx)
	movq	(%r14), %rsi
	movq	8(%r14), %r14
	subq	%rsi, %r14
	cmpq	$9, %r14
	jl	.LBB12_5
# %bb.4:
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	memmove@PLT
.LBB12_7:
	addq	%r14, %r15
	movq	%r15, 8(%rbx)
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB12_5:
	.cfi_def_cfa_offset 48
	cmpq	$8, %r14
	jne	.LBB12_7
# %bb.6:
	movq	(%rsi), %rax
	movq	%rax, (%r15)
	jmp	.LBB12_7
.Lfunc_end12:
	.size	_ZNSt6vectorIPfSaIS0_EEC2ERKS2_, .Lfunc_end12-_ZNSt6vectorIPfSaIS0_EEC2ERKS2_
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst16,"aM",@progbits,16
	.p2align	4, 0x0                          # -- Begin function _ZNSt20__copy_move_backwardILb1ELb0ESt26random_access_iterator_tagE13__copy_move_bIPSt6vectorIPfSaIS4_EES7_EET0_T_S9_S8_
.LCPI13_0:
	.zero	16
	.section	.text._ZNSt20__copy_move_backwardILb1ELb0ESt26random_access_iterator_tagE13__copy_move_bIPSt6vectorIPfSaIS4_EES7_EET0_T_S9_S8_,"axG",@progbits,_ZNSt20__copy_move_backwardILb1ELb0ESt26random_access_iterator_tagE13__copy_move_bIPSt6vectorIPfSaIS4_EES7_EET0_T_S9_S8_,comdat
	.weak	_ZNSt20__copy_move_backwardILb1ELb0ESt26random_access_iterator_tagE13__copy_move_bIPSt6vectorIPfSaIS4_EES7_EET0_T_S9_S8_
	.p2align	1, 0x90
	.type	_ZNSt20__copy_move_backwardILb1ELb0ESt26random_access_iterator_tagE13__copy_move_bIPSt6vectorIPfSaIS4_EES7_EET0_T_S9_S8_,@function
_ZNSt20__copy_move_backwardILb1ELb0ESt26random_access_iterator_tagE13__copy_move_bIPSt6vectorIPfSaIS4_EES7_EET0_T_S9_S8_: # @_ZNSt20__copy_move_backwardILb1ELb0ESt26random_access_iterator_tagE13__copy_move_bIPSt6vectorIPfSaIS4_EES7_EET0_T_S9_S8_
	.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	.LBB13_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
.LBB13_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	.LBB13_4
# %bb.3:                                #   in Loop: Header=BB13_2 Depth=1
	callq	_ZdlPv
.LBB13_4:                               # %_ZNSt6vectorIPfSaIS0_EEaSEOS2_.exit
                                        #   in Loop: Header=BB13_2 Depth=1
	addq	$-24, %rbx
	decq	%r15
	addq	$-24, %r14
	cmpq	$1, %r15
	jg	.LBB13_2
.LBB13_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_end13:
	.size	_ZNSt20__copy_move_backwardILb1ELb0ESt26random_access_iterator_tagE13__copy_move_bIPSt6vectorIPfSaIS4_EES7_EET0_T_S9_S8_, .Lfunc_end13-_ZNSt20__copy_move_backwardILb1ELb0ESt26random_access_iterator_tagE13__copy_move_bIPSt6vectorIPfSaIS4_EES7_EET0_T_S9_S8_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIPfSaIS0_EEaSERKS2_,"axG",@progbits,_ZNSt6vectorIPfSaIS0_EEaSERKS2_,comdat
	.weak	_ZNSt6vectorIPfSaIS0_EEaSERKS2_ # -- Begin function _ZNSt6vectorIPfSaIS0_EEaSERKS2_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIPfSaIS0_EEaSERKS2_,@function
_ZNSt6vectorIPfSaIS0_EEaSERKS2_:        # @_ZNSt6vectorIPfSaIS0_EEaSERKS2_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdi, %rbx
	cmpq	%rdi, %rsi
	je	.LBB14_24
# %bb.1:
	movq	%rsi, %r12
	movq	(%rsi), %r15
	movq	8(%rsi), %r14
	subq	%r15, %r14
	movq	(%rbx), %rdi
	movq	16(%rbx), %rax
	subq	%rdi, %rax
	cmpq	%rax, %r14
	jbe	.LBB14_9
# %bb.2:                                # %_ZNSt12_Vector_baseIPfSaIS0_EE11_M_allocateEm.exit.i
	movq	%r14, %rsi
	sarq	$3, %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIPfE8allocateEmPKv
	movq	%rax, %r12
	cmpq	$9, %r14
	jl	.LBB14_4
# %bb.3:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	memmove@PLT
.LBB14_6:                               # %_ZNSt6vectorIPfSaIS0_EE20_M_allocate_and_copyIN9__gnu_cxx17__normal_iteratorIPKS0_S2_EEEEPS0_mT_SA_.exit
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB14_8
# %bb.7:
	callq	_ZdlPv
.LBB14_8:                               # %_ZNSt12_Vector_baseIPfSaIS0_EE13_M_deallocateEPS0_m.exit
	movq	%r12, (%rbx)
	addq	%r14, %r12
	movq	%r12, 16(%rbx)
	jmp	.LBB14_23
.LBB14_9:
	movq	8(%rbx), %rdx
	subq	%rdi, %rdx
	cmpq	%r14, %rdx
	jae	.LBB14_10
# %bb.14:
	cmpq	$9, %rdx
	jl	.LBB14_16
# %bb.15:
	movq	%r15, %rsi
	callq	memmove@PLT
.LBB14_18:                              # %_ZSt4copyIPPfS1_ET0_T_S3_S2_.exit
	movq	8(%rbx), %rdi
	movq	%rdi, %rsi
	subq	(%rbx), %rsi
	addq	(%r12), %rsi
	movq	8(%r12), %rdx
	subq	%rsi, %rdx
	cmpq	$9, %rdx
	jge	.LBB14_19
# %bb.20:
	cmpq	$8, %rdx
	jne	.LBB14_23
# %bb.21:
	movq	(%rsi), %rax
	jmp	.LBB14_22
.LBB14_10:
	cmpq	$9, %r14
	jl	.LBB14_12
# %bb.11:
	movq	%r15, %rsi
	movq	%r14, %rdx
.LBB14_19:
	callq	memmove@PLT
.LBB14_23:                              # %_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPKPfSt6vectorIS2_SaIS2_EEEENS1_IPS2_S7_EEET0_T_SC_SB_.exit
	addq	(%rbx), %r14
	movq	%r14, 8(%rbx)
.LBB14_24:
	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
.LBB14_4:
	.cfi_def_cfa_offset 48
	cmpq	$8, %r14
	jne	.LBB14_6
# %bb.5:
	movq	(%r15), %rax
	movq	%rax, (%r12)
	jmp	.LBB14_6
.LBB14_16:
	cmpq	$8, %rdx
	jne	.LBB14_18
# %bb.17:
	movq	(%r15), %rax
	movq	%rax, (%rdi)
	jmp	.LBB14_18
.LBB14_12:
	cmpq	$8, %r14
	jne	.LBB14_23
# %bb.13:
	movq	(%r15), %rax
.LBB14_22:                              # %_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPKPfSt6vectorIS2_SaIS2_EEEENS1_IPS2_S7_EEET0_T_SC_SB_.exit
	movq	%rax, (%rdi)
	jmp	.LBB14_23
.Lfunc_end14:
	.size	_ZNSt6vectorIPfSaIS0_EEaSERKS2_, .Lfunc_end14-_ZNSt6vectorIPfSaIS0_EEaSERKS2_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_EEmS3_ET_S5_T0_RKT1_,"axG",@progbits,_ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_EEmS3_ET_S5_T0_RKT1_,comdat
	.weak	_ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_EEmS3_ET_S5_T0_RKT1_ # -- Begin function _ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_EEmS3_ET_S5_T0_RKT1_
	.type	_ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_EEmS3_ET_S5_T0_RKT1_,@function
_ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_EEmS3_ET_S5_T0_RKT1_: # @_ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_EEmS3_ET_S5_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	.LBB15_5
# %bb.1:                                # %.lr.ph.preheader
	movq	%rdx, %r14
	movq	%rsi, %r15
	xorl	%r12d, %r12d
.LBB15_2:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	leaq	(%rbx,%r12), %rdi
.Ltmp128:
	movq	%r14, %rsi
	callq	_ZNSt6vectorIPfSaIS0_EEC2ERKS2_
.Ltmp129:
# %bb.3:                                # %_ZSt10_ConstructISt6vectorIPfSaIS1_EEJRKS3_EEvPT_DpOT0_.exit
                                        #   in Loop: Header=BB15_2 Depth=1
	addq	$24, %r12
	decq	%r15
	jne	.LBB15_2
# %bb.4:                                # %._crit_edge.loopexit
	addq	%r12, %rbx
.LBB15_5:                               # %._crit_edge
	movq	%rbx, %rax
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB15_6:
	.cfi_def_cfa_offset 48
.Ltmp130:
	movq	%rax, %rdi
	callq	__cxa_begin_catch
	testq	%r12, %r12
	je	.LBB15_10
.LBB15_7:                               # %.lr.ph.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB15_9
# %bb.8:                                #   in Loop: Header=BB15_7 Depth=1
	callq	_ZdlPv
.LBB15_9:                               # %_ZSt8_DestroyISt6vectorIPfSaIS1_EEEvPT_.exit.i.i
                                        #   in Loop: Header=BB15_7 Depth=1
	addq	$24, %rbx
	addq	$-24, %r12
	jne	.LBB15_7
.LBB15_10:                              # %_ZSt8_DestroyIPSt6vectorIPfSaIS1_EEEvT_S5_.exit
.Ltmp131:
	callq	__cxa_rethrow
.Ltmp132:
# %bb.14:
.LBB15_11:
.Ltmp133:
	movq	%rax, %rbx
.Ltmp134:
	callq	__cxa_end_catch
.Ltmp135:
# %bb.12:
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.LBB15_13:
.Ltmp136:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end15:
	.size	_ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_EEmS3_ET_S5_T0_RKT1_, .Lfunc_end15-_ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_EEmS3_ET_S5_T0_RKT1_
	.cfi_endproc
	.section	.gcc_except_table._ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_EEmS3_ET_S5_T0_RKT1_,"aG",@progbits,_ZSt18__do_uninit_fill_nIPSt6vectorIPfSaIS1_EEmS3_ET_S5_T0_RKT1_,comdat
	.p2align	2, 0x0
GCC_except_table15:
.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 .Ltmp128-.Lfunc_begin2         # >> Call Site 1 <<
	.uleb128 .Ltmp129-.Ltmp128              #   Call between .Ltmp128 and .Ltmp129
	.uleb128 .Ltmp130-.Lfunc_begin2         #     jumps to .Ltmp130
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp129-.Lfunc_begin2         # >> Call Site 2 <<
	.uleb128 .Ltmp131-.Ltmp129              #   Call between .Ltmp129 and .Ltmp131
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp131-.Lfunc_begin2         # >> Call Site 3 <<
	.uleb128 .Ltmp132-.Ltmp131              #   Call between .Ltmp131 and .Ltmp132
	.uleb128 .Ltmp133-.Lfunc_begin2         #     jumps to .Ltmp133
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp134-.Lfunc_begin2         # >> Call Site 4 <<
	.uleb128 .Ltmp135-.Ltmp134              #   Call between .Ltmp134 and .Ltmp135
	.uleb128 .Ltmp136-.Lfunc_begin2         #     jumps to .Ltmp136
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp135-.Lfunc_begin2         # >> Call Site 5 <<
	.uleb128 .Lfunc_end15-.Ltmp135          #   Call between .Ltmp135 and .Lfunc_end15
	.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_allocatorISt6vectorIPfSaIS1_EEE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorISt6vectorIPfSaIS1_EEE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorISt6vectorIPfSaIS1_EEE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorISt6vectorIPfSaIS1_EEE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorISt6vectorIPfSaIS1_EEE8allocateEmPKv,@function
_ZNSt15__new_allocatorISt6vectorIPfSaIS1_EEE8allocateEmPKv: # @_ZNSt15__new_allocatorISt6vectorIPfSaIS1_EEE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movabsq	$384307168202282326, %rax       # imm = 0x555555555555556
	cmpq	%rax, %rsi
	jae	.LBB16_1
# %bb.3:
	shlq	$3, %rsi
	leaq	(%rsi,%rsi,2), %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB16_1:
	.cfi_def_cfa_offset 16
	movabsq	$768614336404564651, %rax       # imm = 0xAAAAAAAAAAAAAAB
	cmpq	%rax, %rsi
	jb	.LBB16_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB16_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end16:
	.size	_ZNSt15__new_allocatorISt6vectorIPfSaIS1_EEE8allocateEmPKv, .Lfunc_end16-_ZNSt15__new_allocatorISt6vectorIPfSaIS1_EEE8allocateEmPKv
	.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:
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	movq	__hip_gpubin_handle(%rip), %rdi
	testq	%rdi, %rdi
	jne	.LBB17_2
# %bb.1:
	movl	$__hip_fatbin_wrapper, %edi
	callq	__hipRegisterFatBinary
	movq	%rax, %rdi
	movq	%rax, __hip_gpubin_handle(%rip)
.LBB17_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z23scanTheadInformationGPUPfiii, %esi
	movl	$.L__unnamed_1, %edx
	movl	$.L__unnamed_1, %ecx
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	movl	$__hip_module_dtor, %edi
	addq	$40, %rsp
	.cfi_def_cfa_offset 8
	jmp	atexit                          # TAILCALL
.Lfunc_end17:
	.size	__hip_module_ctor, .Lfunc_end17-__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	.LBB18_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
.LBB18_2:
	retq
.Lfunc_end18:
	.size	__hip_module_dtor, .Lfunc_end18-__hip_module_dtor
	.cfi_endproc
                                        # -- End function
	.type	_Z23scanTheadInformationGPUPfiii,@object # @_Z23scanTheadInformationGPUPfiii
	.section	.rodata,"a",@progbits
	.globl	_Z23scanTheadInformationGPUPfiii
	.p2align	3, 0x0
_Z23scanTheadInformationGPUPfiii:
	.quad	_Z38__device_stub__scanTheadInformationGPUPfiii
	.size	_Z23scanTheadInformationGPUPfiii, 8

	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	"vector1d_host: ("
	.size	.L.str, 17

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

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

	.type	.L.str.3,@object                # @.str.3
.L.str.3:
	.asciz	"vector1d_host, slice in Z "
	.size	.L.str.3, 27

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

	.type	.L.str.5,@object                # @.str.5
.L.str.5:
	.asciz	"\t"
	.size	.L.str.5, 2

	.type	.L.str.6,@object                # @.str.6
.L.str.6:
	.asciz	"vector3d_host: ("
	.size	.L.str.6, 17

	.type	.L.str.7,@object                # @.str.7
.L.str.7:
	.asciz	"vector3d_host, slice in Z "
	.size	.L.str.7, 27

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

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

	.type	.L__unnamed_1,@object           # @0
.L__unnamed_1:
	.asciz	"_Z23scanTheadInformationGPUPfiii"
	.size	.L__unnamed_1, 33

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

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

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

	.text
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.protected	_Z23scanTheadInformationGPUPfiii ; -- Begin function _Z23scanTheadInformationGPUPfiii
	.globl	_Z23scanTheadInformationGPUPfiii
	.p2align	8
	.type	_Z23scanTheadInformationGPUPfiii,@function
_Z23scanTheadInformationGPUPfiii:       ; @_Z23scanTheadInformationGPUPfiii
; %bb.0:
	s_clause 0x1
	s_load_b64 s[2:3], s[0:1], 0x24
	s_load_b128 s[4:7], s[0:1], 0x8
	v_and_b32_e32 v2, 0x3ff, v0
	v_bfe_u32 v3, v0, 10, 10
	v_bfe_u32 v4, v0, 20, 10
	s_waitcnt lgkmcnt(0)
	s_lshr_b32 s7, s2, 16
	s_and_b32 s2, s2, 0xffff
	s_and_b32 s3, s3, 0xffff
	v_mad_u64_u32 v[0:1], null, s13, s2, v[2:3]
	v_mad_u64_u32 v[1:2], null, s14, s7, v[3:4]
	v_mad_u64_u32 v[2:3], null, s15, s3, v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_gt_i32_e32 vcc_lo, s4, v0
	v_cmp_gt_i32_e64 s2, s5, v1
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_gt_i32_e64 s3, s6, v2
	s_and_b32 s2, vcc_lo, s2
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	s_and_b32 s2, s2, s3
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_saveexec_b32 s3, s2
	s_cbranch_execz .LBB0_2
; %bb.1:
	v_mad_u64_u32 v[3:4], null, v2, s5, v[1:2]
	s_load_b64 s[0:1], s[0:1], 0x0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, v3, s4, v[0:1]
	v_ashrrev_i32_e32 v2, 31, v1
	v_sub_nc_u32_e32 v3, 0, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_lshlrev_b64 v[0:1], 2, v[1:2]
	v_cvt_f32_i32_e32 v2, v3
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v0, vcc_lo, s0, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, s1, v1, vcc_lo
	global_store_b32 v[0:1], v2, off
.LBB0_2:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z23scanTheadInformationGPUPfiii
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 13
		.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 1
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 2
		.amdhsa_next_free_vgpr 6
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end0:
	.size	_Z23scanTheadInformationGPUPfiii, .Lfunc_end0-_Z23scanTheadInformationGPUPfiii
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 236
; NumSgprs: 18
; NumVgprs: 6
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 6
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 13
; 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: 1
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 2
	.text
	.p2alignl 7, 3214868480
	.fill 96, 4, 3214868480
	.type	__hip_cuid_,@object             ; @__hip_cuid_
	.section	.bss,"aw",@nobits
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               ; 0x0
	.size	__hip_cuid_, 1

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym __hip_cuid_
	.amdgpu_metadata
---
amdhsa.kernels:
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .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:           _Z23scanTheadInformationGPUPfiii
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z23scanTheadInformationGPUPfiii.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     6
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
amdhsa.target:   amdgcn-amd-amdhsa--gfx1100
amdhsa.version:
  - 1
  - 2
...

	.end_amdgpu_metadata
