#include <fstream>
#include <iterator>
#include <vector>
#include <iostream>
#include <cstdlib>
#include <string>
#include <sstream>
#include <iomanip>
#include <math.h>
#include <stdio.h>

void getSourceFile(std::vector<double>& eNomVec, std::vector<double>& rangeVec, 
			std::vector<double>& sigmaXVec,std::vector<double>& sigmaYVec, 
			std::vector<double>& eMeanVec, std::vector<double>& sigmaEVec, 
			std::vector<double>& xVec, std::vector<double>& yVec, 
			std::vector<double>& nxVec,std::vector<double>& nyVec,
			std::vector<double>& weightVec, int& numGroups) 
{
	int dateOfMeasurement;
	long int numberOfGroups;
	double  eNom, range, sigmaX, sigmaY, eMean, sigmaE, xcoord, ycoord, weight, nx, ny;
	
	std::string line;
	//declare and open file
	std::ifstream ifile("IMPT_source.dat", std::ios::in);
	if(!ifile){
		std::cout << "Error, IMPT_source not found" << std::endl;
	}else{
		//read in date of measurement
		ifile >> dateOfMeasurement;
	
		//read in number of groups
		ifile >> numberOfGroups;
		numGroups = numberOfGroups;
		
		//skip over header line
		std::string e, r, x, y, m, s, nx1, ny1, x1, y1, w;
		ifile >> e;
		ifile >> r;
		ifile >> x;
		ifile >> y;
		ifile >> m;
		ifile >> s;
		ifile >> x1;
		ifile >> y1;
		ifile >> nx1;
		ifile >> ny1;
		ifile >> w;

		eNomVec.reserve(numberOfGroups);
		
		//read in data to vectors
		for(int i = 0; i < numberOfGroups; i++){
			ifile >> eNom;
			ifile >> range;
			ifile >> sigmaX;
			ifile >> sigmaY;
			ifile >> eMean;
			ifile >> sigmaE;
			ifile >> xcoord;
			ifile >> ycoord;
			ifile >> nx;
			ifile >> ny;
			ifile >> weight;

			eNomVec.push_back(eNom);
//			rangeVec.push_back(range);
//			sigmaXVec.push_back(sigmaX);
//			sigmaYVec.push_back(sigmaY);
//			eMeanVec.push_back(eMean);
			xVec.push_back(xcoord);
			yVec.push_back(ycoord);
			nxVec.push_back(nx);
			nyVec.push_back(ny);
//			weightVec.push_back(weight);
		}
	}
}
int main(){
	int numberOfGroups;
	std::vector<double> eNom, range, sigmaX, sigmaY, eMean, sigmaE, xCoord, yCoord, nx, ny, weight;
	getSourceFile(eNom, range, sigmaX, sigmaY, eMean, sigmaE, xCoord, yCoord, nx, ny, weight, numberOfGroups);
	
	std::vector< std::vector<double> > zRange;
	
	for(int master = 0; master < 94; master++){
		
		std::vector<double> temp;
		
		//declare stream size variables and open file/check for errors
		std::streampos bufferSize;
		
		double fieldSize = -1*(xCoord[master]+yCoord[master])/(nx[master]-1);

		//create fileName to read in data
		std::ostringstream fName;
		if(master < 9){
			fName << std::fixed << "GyPerMU3D_0" << master+1 << "_" << std::setprecision(1) << eNom[master] << "MeV_field_" << std::setprecision(0) << nx[master] << "by" 
			      << ny[master] << "spots_" << std::setprecision(2) << fieldSize << "by" << std::setprecision(2) << fieldSize << "cm2spacing.bin";
		}else{
			fName << std::fixed << "GyPerMU3D_" << master+1 << "_" << std::setprecision(1) << eNom[master] << "MeV_field_" << std::setprecision(0) << nx[master] << "by" 
			      << ny[master] << "spots_" << std::setprecision(2) << fieldSize << "by" << std::setprecision(2) << fieldSize << "cm2spacing.bin";
		}
		std::string fileName = fName.str();
		std::cout << fileName << std::endl;
		std::ifstream ifile(fileName.c_str(), std::ios::in | std::ios::binary);
		if(!ifile){
			std::cout << "Error, no file found" << std::endl;
			exit(1);
		}
		
		//get file size
		ifile.seekg(0, std::ios::end);
		bufferSize = ifile.tellg();
		ifile.seekg(0, std::ios::beg);

		//declare buffer
		std::vector<double> buffer(bufferSize/sizeof(double));
		
		//read in data
		ifile.read(reinterpret_cast<char*>(buffer.data()), bufferSize); 

		int size = bufferSize/(sizeof(double)*400);
		
		//copy memory from buffer to energy
		double *energy;
		energy = (double*)malloc(64000000*sizeof(double));
		std::copy(buffer.begin(), buffer.end(), energy);

		//so the equation for location is 200y*x, thus for four points (100,100), (100, 101), (101, 100), (101,101)
		//we just start at 20100 and add in the needed 20101, 20300, 20301 respectively and then iterate to next layer
		//by adding 40000 as the grid size is 200x200. 
		for(int i = 80200; i < 64000000; i+= 160000){
			temp.push_back((energy[i] + energy[i+1] + energy[i+400] + energy[i+401])/4);
		}	 
		zRange.push_back(temp);		
	}
	
	std::cout << zRange.size() << std::endl;
	std::ofstream zfile("depthDose.txt", std::ios::out);
	zfile << "Z(mm)";
	for(int i = 0; i < 94; i++){
		zfile << std::fixed << std::setprecision(1) << std::setw(10) << eNom[i] << "(MeV)";
	}	
	zfile << std::endl;
	for(int i = 0; i < 400; i++){
		zfile << i << "        ";
		for(int j = 0; j < 94; j++){
			zfile << std::scientific << std::setprecision(3) << std::setw(10) << zRange[j][i] << "        ";
		}
		zfile << std::endl;
	}
	zfile << std::endl;
}

	.file	"tmpxft_003b4339_00000000-6_writeDepthDose.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.section	.text._ZSt5fixedRSt8ios_base,"axG",@progbits,_ZSt5fixedRSt8ios_base,comdat
	.weak	_ZSt5fixedRSt8ios_base
	.type	_ZSt5fixedRSt8ios_base, @function
_ZSt5fixedRSt8ios_base:
.LFB3285:
	.cfi_startproc
	endbr64
	movl	24(%rdi), %edx
	movq	%rdi, %rax
	andl	$-261, %edx
	orl	$4, %edx
	movl	%edx, 24(%rdi)
	ret
	.cfi_endproc
.LFE3285:
	.size	_ZSt5fixedRSt8ios_base, .-_ZSt5fixedRSt8ios_base
	.section	.text._ZSt10scientificRSt8ios_base,"axG",@progbits,_ZSt10scientificRSt8ios_base,comdat
	.weak	_ZSt10scientificRSt8ios_base
	.type	_ZSt10scientificRSt8ios_base, @function
_ZSt10scientificRSt8ios_base:
.LFB3286:
	.cfi_startproc
	endbr64
	movl	24(%rdi), %edx
	movq	%rdi, %rax
	andl	$-261, %edx
	orb	$1, %dh
	movl	%edx, 24(%rdi)
	ret
	.cfi_endproc
.LFE3286:
	.size	_ZSt10scientificRSt8ios_base, .-_ZSt10scientificRSt8ios_base
	.text
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB4411:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE4411:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.align 2
	.type	_ZNSt12_Vector_baseIdSaIdEE11_M_allocateEm.isra.0, @function
_ZNSt12_Vector_baseIdSaIdEE11_M_allocateEm.isra.0:
.LFB5431:
	.cfi_startproc
	testq	%rdi, %rdi
	je	.L5
	movabsq	$1152921504606846975, %rax
	cmpq	%rdi, %rax
	jnb	.L6
	pushq	%rax
	.cfi_def_cfa_offset 16
	movabsq	$2305843009213693951, %rax
	cmpq	%rdi, %rax
	jnb	.L7
	call	_ZSt28__throw_bad_array_new_lengthv@PLT
.L7:
	call	_ZSt17__throw_bad_allocv@PLT
.L6:
	.cfi_def_cfa_offset 8
	salq	$3, %rdi
	jmp	_Znwm@PLT
.L5:
	xorl	%eax, %eax
	ret
	.cfi_endproc
.LFE5431:
	.size	_ZNSt12_Vector_baseIdSaIdEE11_M_allocateEm.isra.0, .-_ZNSt12_Vector_baseIdSaIdEE11_M_allocateEm.isra.0
	.align 2
	.type	_ZNSirsERd.isra.0, @function
_ZNSirsERd.isra.0:
.LFB5434:
	.cfi_startproc
	jmp	_ZNSi10_M_extractIdEERSiRT_@PLT
	.cfi_endproc
.LFE5434:
	.size	_ZNSirsERd.isra.0, .-_ZNSirsERd.isra.0
	.align 2
	.type	_ZNSolsEPFRSoS_E.isra.0, @function
_ZNSolsEPFRSoS_E.isra.0:
.LFB5435:
	.cfi_startproc
	jmp	*%rsi
	.cfi_endproc
.LFE5435:
	.size	_ZNSolsEPFRSoS_E.isra.0, .-_ZNSolsEPFRSoS_E.isra.0
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB4434:
	.cfi_startproc
	endbr64
	pushq	%rax
	.cfi_def_cfa_offset 16
	leaq	_ZL15__fatDeviceText(%rip), %rdi
	call	__cudaRegisterFatBinary@PLT
	movq	%rax, %rdi
	movq	%rax, _ZL20__cudaFatCubinHandle(%rip)
	call	__cudaRegisterFatBinaryEnd@PLT
	leaq	_ZL26__cudaUnregisterBinaryUtilv(%rip), %rdi
	popq	%rdx
	.cfi_def_cfa_offset 8
	jmp	atexit@PLT
	.cfi_endproc
.LFE4434:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.text._ZNSt6vectorIdSaIdEED2Ev,"axG",@progbits,_ZNSt6vectorIdSaIdEED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIdSaIdEED2Ev
	.type	_ZNSt6vectorIdSaIdEED2Ev, @function
_ZNSt6vectorIdSaIdEED2Ev:
.LFB4782:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L16
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L16:
	ret
	.cfi_endproc
.LFE4782:
	.size	_ZNSt6vectorIdSaIdEED2Ev, .-_ZNSt6vectorIdSaIdEED2Ev
	.weak	_ZNSt6vectorIdSaIdEED1Ev
	.set	_ZNSt6vectorIdSaIdEED1Ev,_ZNSt6vectorIdSaIdEED2Ev
	.section	.text._ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev,"axG",@progbits,_ZNSt6vectorIS_IdSaIdEESaIS1_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev
	.type	_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev, @function
_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev:
.LFB4794:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	8(%rdi), %r12
	movq	%rdi, %rbx
	movq	(%rdi), %rbp
.L19:
	cmpq	%rbp, %r12
	je	.L23
	movq	%rbp, %rdi
	addq	$24, %rbp
	call	_ZNSt6vectorIdSaIdEED1Ev
	jmp	.L19
.L23:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.L18
	movq	16(%rbx), %rsi
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	subq	%rdi, %rsi
	jmp	_ZdlPvm@PLT
.L18:
	.cfi_restore_state
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4794:
	.size	_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev, .-_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev
	.weak	_ZNSt6vectorIS_IdSaIdEESaIS1_EED1Ev
	.set	_ZNSt6vectorIS_IdSaIdEESaIS1_EED1Ev,_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev
	.section	.text._ZNKSt6vectorIdSaIdEE12_M_check_lenEmPKc,"axG",@progbits,_ZNKSt6vectorIdSaIdEE12_M_check_lenEmPKc,comdat
	.align 2
	.weak	_ZNKSt6vectorIdSaIdEE12_M_check_lenEmPKc
	.type	_ZNKSt6vectorIdSaIdEE12_M_check_lenEmPKc, @function
_ZNKSt6vectorIdSaIdEE12_M_check_lenEmPKc:
.LFB5170:
	.cfi_startproc
	endbr64
	movq	%rdi, %rax
	movq	%rdx, %rdi
	movq	8(%rax), %rcx
	subq	(%rax), %rcx
	movabsq	$1152921504606846975, %rax
	sarq	$3, %rcx
	movq	%rax, %rdx
	subq	%rcx, %rdx
	cmpq	%rsi, %rdx
	jnb	.L25
	pushq	%rax
	.cfi_def_cfa_offset 16
	call	_ZSt20__throw_length_errorPKc@PLT
.L25:
	.cfi_def_cfa_offset 8
	cmpq	%rcx, %rsi
	cmovb	%rcx, %rsi
	addq	%rsi, %rcx
	jc	.L24
	movabsq	$1152921504606846975, %rax
	cmpq	%rax, %rcx
	cmovbe	%rcx, %rax
.L24:
	ret
	.cfi_endproc
.LFE5170:
	.size	_ZNKSt6vectorIdSaIdEE12_M_check_lenEmPKc, .-_ZNKSt6vectorIdSaIdEE12_M_check_lenEmPKc
	.section	.rodata._ZNSt6vectorIdSaIdEE9push_backERKd.str1.1,"aMS",@progbits,1
.LC0:
	.string	"vector::_M_realloc_insert"
	.section	.text._ZNSt6vectorIdSaIdEE9push_backERKd,"axG",@progbits,_ZNSt6vectorIdSaIdEE9push_backERKd,comdat
	.align 2
	.weak	_ZNSt6vectorIdSaIdEE9push_backERKd
	.type	_ZNSt6vectorIdSaIdEE9push_backERKd, @function
_ZNSt6vectorIdSaIdEE9push_backERKd:
.LFB4771:
	.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	%rdi, %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	8(%rdi), %rbx
	cmpq	16(%rdi), %rbx
	je	.L34
	movsd	(%rsi), %xmm0
	addq	$8, %rbx
	movsd	%xmm0, -8(%rbx)
	movq	%rbx, 8(%rdi)
	jmp	.L33
.L34:
	movq	%rsi, 8(%rsp)
	leaq	.LC0(%rip), %rdx
	movl	$1, %esi
	movq	%rbx, %r15
	call	_ZNKSt6vectorIdSaIdEE12_M_check_lenEmPKc
	movq	(%r14), %r12
	movq	8(%r14), %r13
	movq	%rax, %rdi
	movq	%rax, (%rsp)
	call	_ZNSt12_Vector_baseIdSaIdEE11_M_allocateEm.isra.0
	movq	8(%rsp), %r8
	subq	%r12, %r15
	movq	%rax, %rbp
	movsd	(%r8), %xmm0
	movsd	%xmm0, (%rax,%r15)
	testq	%r15, %r15
	jle	.L36
	movq	%r15, %rdx
	movq	%r12, %rsi
	movq	%rax, %rdi
	call	memmove@PLT
.L36:
	subq	%rbx, %r13
	leaq	8(%rbp,%r15), %rdi
	testq	%r13, %r13
	jle	.L37
	movq	%r13, %rdx
	movq	%rbx, %rsi
	call	memmove@PLT
	movq	%rax, %rdi
.L37:
	addq	%rdi, %r13
	testq	%r12, %r12
	je	.L38
	movq	16(%r14), %rsi
	movq	%r12, %rdi
	subq	%r12, %rsi
	call	_ZdlPvm@PLT
.L38:
	movq	(%rsp), %rax
	movq	%rbp, (%r14)
	movq	%r13, 8(%r14)
	leaq	0(%rbp,%rax,8), %rax
	movq	%rax, 16(%r14)
.L33:
	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
.LFE4771:
	.size	_ZNSt6vectorIdSaIdEE9push_backERKd, .-_ZNSt6vectorIdSaIdEE9push_backERKd
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"IMPT_source.dat"
.LC2:
	.string	"Error, IMPT_source not found"
.LC3:
	.string	"vector::reserve"
	.text
	.globl	_Z13getSourceFileRSt6vectorIdSaIdEES2_S2_S2_S2_S2_S2_S2_S2_S2_S2_Ri
	.type	_Z13getSourceFileRSt6vectorIdSaIdEES2_S2_S2_S2_S2_S2_S2_S2_S2_S2_Ri, @function
_Z13getSourceFileRSt6vectorIdSaIdEES2_S2_S2_S2_S2_S2_S2_S2_S2_S2_Ri:
.LFB4386:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4386
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$8, %edx
	leaq	.LC1(%rip), %rsi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	xorl	%r13d, %r13d
	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
	movq	%rdi, %rbx
	subq	$1112, %rsp
	.cfi_def_cfa_offset 1168
	movq	1168(%rsp), %rax
	movq	1192(%rsp), %r15
	movq	1208(%rsp), %rbp
	movq	%rax, 56(%rsp)
	movq	1176(%rsp), %rax
	movq	%rax, 64(%rsp)
	movq	1184(%rsp), %rax
	movq	%rax, 72(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 1096(%rsp)
	xorl	%eax, %eax
	leaq	208(%rsp), %rax
	movq	%r13, 200(%rsp)
	movq	%rax, 192(%rsp)
	leaq	576(%rsp), %rax
	movq	%rax, %rdi
	movb	$0, 208(%rsp)
	movq	%rax, (%rsp)
.LEHB0:
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode@PLT
.LEHE0:
	testb	$5, 864(%rsp)
	je	.L44
	leaq	.LC2(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
.LEHB1:
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	jmp	.L45
.L44:
	movq	(%rsp), %rdi
	leaq	92(%rsp), %rsi
	call	_ZNSirsERi@PLT
	movq	(%rsp), %rdi
	leaq	96(%rsp), %rsi
	call	_ZNSi10_M_extractIlEERSiRT_@PLT
.LEHE1:
	movq	96(%rsp), %rax
	xorl	%esi, %esi
	xorl	%edi, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	xorl	%r10d, %r10d
	movl	%eax, 0(%rbp)
	xorl	%r11d, %r11d
	xorl	%ebp, %ebp
	xorl	%r12d, %r12d
	leaq	224(%rsp), %rax
	movq	%rsi, 328(%rsp)
	movq	%rax, 8(%rsp)
	leaq	240(%rsp), %rax
	movq	%rax, 224(%rsp)
	xorl	%eax, %eax
	movq	%rax, 232(%rsp)
	leaq	272(%rsp), %rax
	movq	%rax, 256(%rsp)
	leaq	304(%rsp), %rax
	movq	%rax, 288(%rsp)
	leaq	336(%rsp), %rax
	movq	%rax, 320(%rsp)
	leaq	368(%rsp), %rax
	movq	%rax, 352(%rsp)
	leaq	400(%rsp), %rax
	movq	%rax, 384(%rsp)
	leaq	432(%rsp), %rax
	movq	%rax, 416(%rsp)
	leaq	464(%rsp), %rax
	movq	%rax, 448(%rsp)
	leaq	496(%rsp), %rax
	movq	%rax, 480(%rsp)
	leaq	528(%rsp), %rax
	movq	%rax, 512(%rsp)
	leaq	560(%rsp), %rax
	movq	%rdi, 360(%rsp)
	movb	$0, 240(%rsp)
	movq	%rdx, 264(%rsp)
	movb	$0, 272(%rsp)
	movq	%rcx, 296(%rsp)
	movb	$0, 304(%rsp)
	movb	$0, 336(%rsp)
	movb	$0, 368(%rsp)
	movq	%r8, 392(%rsp)
	movb	$0, 400(%rsp)
	movq	%r9, 424(%rsp)
	movb	$0, 432(%rsp)
	movq	%r10, 456(%rsp)
	movb	$0, 464(%rsp)
	movq	%r11, 488(%rsp)
	movb	$0, 496(%rsp)
	movq	%rbp, 520(%rsp)
	movb	$0, 528(%rsp)
	movq	8(%rsp), %rsi
	movq	%rax, 544(%rsp)
	leaq	256(%rsp), %rax
	movq	(%rsp), %rdi
	movq	%rax, 16(%rsp)
	leaq	288(%rsp), %rax
	movq	%rax, 24(%rsp)
	leaq	320(%rsp), %rax
	movq	%rax, 32(%rsp)
	leaq	352(%rsp), %rax
	movq	%rax, 40(%rsp)
	leaq	384(%rsp), %rax
	movq	%r12, 552(%rsp)
	movb	$0, 560(%rsp)
	movq	%rax, 48(%rsp)
.LEHB2:
	call	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movq	16(%rsp), %rsi
	movq	(%rsp), %rdi
	call	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movq	24(%rsp), %rsi
	movq	(%rsp), %rdi
	call	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movq	32(%rsp), %rsi
	movq	(%rsp), %rdi
	call	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movq	40(%rsp), %rsi
	movq	(%rsp), %rdi
	call	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movq	48(%rsp), %rsi
	movq	(%rsp), %rdi
	call	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movq	(%rsp), %rdi
	leaq	480(%rsp), %rsi
	call	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movq	(%rsp), %rdi
	leaq	512(%rsp), %rsi
	call	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movq	(%rsp), %rdi
	leaq	416(%rsp), %rsi
	call	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movq	(%rsp), %rdi
	leaq	448(%rsp), %rsi
	call	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movq	(%rsp), %rdi
	leaq	544(%rsp), %rsi
	call	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movabsq	$1152921504606846975, %rax
	movq	96(%rsp), %r12
	cmpq	%r12, %rax
	jnb	.L46
	movq	1096(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L65
	leaq	.LC3(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L46:
	movq	(%rbx), %rdx
	movq	16(%rbx), %rax
	subq	%rdx, %rax
	sarq	$3, %rax
	cmpq	%r12, %rax
	jnb	.L48
	movq	8(%rbx), %rbp
	movq	%r12, %rdi
	subq	%rdx, %rbp
	call	_ZNSt12_Vector_baseIdSaIdEE11_M_allocateEm.isra.0
	movq	(%rbx), %r14
	movq	8(%rbx), %rdx
	movq	%rax, %r13
	subq	%r14, %rdx
	testq	%rdx, %rdx
	jle	.L49
	movq	%r14, %rsi
	movq	%rax, %rdi
	call	memmove@PLT
	jmp	.L50
.L49:
	testq	%r14, %r14
	je	.L51
.L50:
	movq	16(%rbx), %rsi
	movq	%r14, %rdi
	subq	%r14, %rsi
	call	_ZdlPvm@PLT
.L51:
	addq	%r13, %rbp
	leaq	0(%r13,%r12,8), %rax
	movq	%r13, (%rbx)
	movq	%rbp, 8(%rbx)
	movq	%rax, 16(%rbx)
.L48:
	xorl	%ebp, %ebp
	leaq	104(%rsp), %r12
.L52:
	cmpq	%rbp, 96(%rsp)
	jle	.L68
	movq	(%rsp), %rdi
	movq	%r12, %rsi
	call	_ZNSirsERd.isra.0
	movq	(%rsp), %rdi
	leaq	112(%rsp), %rsi
	call	_ZNSirsERd.isra.0
	movq	(%rsp), %rdi
	leaq	120(%rsp), %rsi
	call	_ZNSirsERd.isra.0
	movq	(%rsp), %rdi
	leaq	128(%rsp), %rsi
	call	_ZNSirsERd.isra.0
	movq	(%rsp), %rdi
	leaq	136(%rsp), %rsi
	call	_ZNSirsERd.isra.0
	movq	(%rsp), %rdi
	leaq	144(%rsp), %rsi
	call	_ZNSirsERd.isra.0
	movq	(%rsp), %rdi
	leaq	152(%rsp), %rsi
	call	_ZNSirsERd.isra.0
	movq	(%rsp), %rdi
	leaq	160(%rsp), %rsi
	call	_ZNSirsERd.isra.0
	movq	(%rsp), %rdi
	leaq	176(%rsp), %rsi
	call	_ZNSirsERd.isra.0
	movq	(%rsp), %rdi
	leaq	184(%rsp), %rsi
	call	_ZNSirsERd.isra.0
	movq	(%rsp), %rdi
	leaq	168(%rsp), %rsi
	call	_ZNSirsERd.isra.0
	movq	%r12, %rsi
	movq	%rbx, %rdi
	call	_ZNSt6vectorIdSaIdEE9push_backERKd
	movq	56(%rsp), %rdi
	leaq	152(%rsp), %rsi
	call	_ZNSt6vectorIdSaIdEE9push_backERKd
	movq	64(%rsp), %rdi
	leaq	160(%rsp), %rsi
	call	_ZNSt6vectorIdSaIdEE9push_backERKd
	movq	72(%rsp), %rdi
	leaq	176(%rsp), %rsi
	call	_ZNSt6vectorIdSaIdEE9push_backERKd
	leaq	184(%rsp), %rsi
	movq	%r15, %rdi
	call	_ZNSt6vectorIdSaIdEE9push_backERKd
.LEHE2:
	incq	%rbp
	jmp	.L52
.L68:
	leaq	544(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	leaq	512(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	leaq	480(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	leaq	448(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	leaq	416(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	48(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	40(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	32(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	24(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	16(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	8(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
.L45:
	movq	(%rsp), %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
	leaq	192(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	1096(%rsp), %rax
	subq	%fs:40, %rax
	je	.L58
	jmp	.L65
.L61:
	endbr64
	movq	%rax, %rbx
.L54:
	leaq	544(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	leaq	512(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	leaq	480(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	leaq	448(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	leaq	416(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	48(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	40(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	32(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	24(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	16(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	8(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L55
.L60:
	endbr64
	movq	%rax, %rbx
.L55:
	movq	(%rsp), %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
	jmp	.L56
.L59:
	endbr64
	movq	%rax, %rbx
.L56:
	leaq	192(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	1096(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L65
	movq	%rbx, %rdi
.LEHB3:
	call	_Unwind_Resume@PLT
.LEHE3:
.L65:
	call	__stack_chk_fail@PLT
.L58:
	addq	$1112, %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
.LFE4386:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table,"a",@progbits
.LLSDA4386:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4386-.LLSDACSB4386
.LLSDACSB4386:
	.uleb128 .LEHB0-.LFB4386
	.uleb128 .LEHE0-.LEHB0
	.uleb128 .L59-.LFB4386
	.uleb128 0
	.uleb128 .LEHB1-.LFB4386
	.uleb128 .LEHE1-.LEHB1
	.uleb128 .L60-.LFB4386
	.uleb128 0
	.uleb128 .LEHB2-.LFB4386
	.uleb128 .LEHE2-.LEHB2
	.uleb128 .L61-.LFB4386
	.uleb128 0
	.uleb128 .LEHB3-.LFB4386
	.uleb128 .LEHE3-.LEHB3
	.uleb128 0
	.uleb128 0
.LLSDACSE4386:
	.text
	.size	_Z13getSourceFileRSt6vectorIdSaIdEES2_S2_S2_S2_S2_S2_S2_S2_S2_S2_Ri, .-_Z13getSourceFileRSt6vectorIdSaIdEES2_S2_S2_S2_S2_S2_S2_S2_S2_S2_Ri
	.section	.text._ZNSt6vectorIdSaIdEEC2ERKS1_,"axG",@progbits,_ZNSt6vectorIdSaIdEEC5ERKS1_,comdat
	.align 2
	.weak	_ZNSt6vectorIdSaIdEEC2ERKS1_
	.type	_ZNSt6vectorIdSaIdEEC2ERKS1_, @function
_ZNSt6vectorIdSaIdEEC2ERKS1_:
.LFB5307:
	.cfi_startproc
	endbr64
	xorl	%eax, %eax
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	movq	%rsi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	8(%rsi), %r12
	movq	%rdi, %rbx
	subq	(%rsi), %r12
	movq	%rax, (%rdi)
	movq	%rax, 8(%rdi)
	movq	%rax, 16(%rdi)
	movq	%r12, %rdi
	sarq	$3, %rdi
	call	_ZNSt12_Vector_baseIdSaIdEE11_M_allocateEm.isra.0
	addq	%rax, %r12
	movq	%rax, (%rbx)
	movq	%rax, %rcx
	movq	%rax, 8(%rbx)
	movq	%r12, 16(%rbx)
	movq	0(%rbp), %rsi
	movq	8(%rbp), %rbp
	subq	%rsi, %rbp
	cmpq	$8, %rbp
	jle	.L70
	movq	%rbp, %rdx
	movq	%rax, %rdi
	call	memmove@PLT
	movq	%rax, %rcx
	jmp	.L71
.L70:
	jne	.L71
	movsd	(%rsi), %xmm0
	movsd	%xmm0, (%rax)
.L71:
	addq	%rbp, %rcx
	movq	%rcx, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5307:
	.size	_ZNSt6vectorIdSaIdEEC2ERKS1_, .-_ZNSt6vectorIdSaIdEEC2ERKS1_
	.weak	_ZNSt6vectorIdSaIdEEC1ERKS1_
	.set	_ZNSt6vectorIdSaIdEEC1ERKS1_,_ZNSt6vectorIdSaIdEEC2ERKS1_
	.section	.text._ZNSt6vectorIS_IdSaIdEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_,"axG",@progbits,_ZNSt6vectorIS_IdSaIdEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_,comdat
	.align 2
	.weak	_ZNSt6vectorIS_IdSaIdEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_
	.type	_ZNSt6vectorIS_IdSaIdEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_, @function
_ZNSt6vectorIS_IdSaIdEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_:
.LFB5067:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA5067
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movq	%rdx, %r14
	movabsq	$384307168202282325, %rdx
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	8(%rdi), %rax
	movq	(%rdi), %r13
	movq	%rsi, 8(%rsp)
	movq	%rax, %rbx
	movq	%rax, (%rsp)
	movabsq	$-6148914691236517205, %rax
	subq	%r13, %rbx
	sarq	$3, %rbx
	imulq	%rax, %rbx
	cmpq	%rdx, %rbx
	jne	.L74
	leaq	.LC0(%rip), %rdi
.LEHB4:
	call	_ZSt20__throw_length_errorPKc@PLT
.L74:
	cmpq	%r13, (%rsp)
	movl	$1, %eax
	movq	8(%rsp), %r15
	movq	%rdi, %r12
	cmovne	%rbx, %rax
	addq	%rax, %rbx
	setc	%al
	subq	%r13, %r15
	movzbl	%al, %eax
	testq	%rax, %rax
	jne	.L90
	xorl	%ebp, %ebp
	testq	%rbx, %rbx
	je	.L79
	movabsq	$384307168202282325, %rax
	cmpq	%rax, %rbx
	cmova	%rax, %rbx
	jmp	.L78
.L90:
	movq	%rdx, %rbx
.L78:
	imulq	$24, %rbx, %rdi
	call	_Znwm@PLT
.LEHE4:
	movq	%rax, %rbp
.L79:
	leaq	0(%rbp,%r15), %rax
	movq	%r14, %rsi
	movq	%rax, %rdi
	movq	%rax, %r15
.LEHB5:
	call	_ZNSt6vectorIdSaIdEEC1ERKS1_
.LEHE5:
	movq	%rbp, %r14
	movq	%r13, %r15
.L80:
	addq	$24, %r14
	cmpq	%r15, 8(%rsp)
	je	.L82
	movq	(%r15), %rcx
	xorl	%edx, %edx
	movq	%r15, %rdi
	addq	$24, %r15
	movq	%rdx, -24(%r15)
	movq	%rcx, -24(%r14)
	movq	-16(%r15), %rcx
	movq	%rdx, -16(%r15)
	movq	%rcx, -16(%r14)
	movq	-8(%r15), %rcx
	movq	%rdx, -8(%r15)
	movq	%rcx, -8(%r14)
	call	_ZNSt6vectorIdSaIdEED1Ev
	jmp	.L80
.L82:
	cmpq	%r15, (%rsp)
	je	.L102
	movq	(%r15), %rcx
	xorl	%eax, %eax
	movq	%r15, %rdi
	addq	$24, %r14
	movq	%rax, (%r15)
	addq	$24, %r15
	movq	%rcx, -24(%r14)
	movq	-16(%r15), %rcx
	movq	%rax, -16(%r15)
	movq	%rcx, -16(%r14)
	movq	-8(%r15), %rcx
	movq	%rax, -8(%r15)
	movq	%rcx, -8(%r14)
	call	_ZNSt6vectorIdSaIdEED1Ev
	jmp	.L82
.L102:
	testq	%r13, %r13
	je	.L84
	movq	16(%r12), %rsi
	movq	%r13, %rdi
	subq	%r13, %rsi
	call	_ZdlPvm@PLT
.L84:
	imulq	$24, %rbx, %rbx
	movq	%rbp, (%r12)
	movq	%r14, 8(%r12)
	addq	%rbp, %rbx
	movq	%rbx, 16(%r12)
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L93:
	.cfi_restore_state
	endbr64
	movq	%rax, %rdi
.L85:
	call	__cxa_begin_catch@PLT
	testq	%rbp, %rbp
	jne	.L86
	movq	%r15, %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
.L88:
.LEHB6:
	call	__cxa_rethrow@PLT
.LEHE6:
.L94:
	endbr64
	movq	%rax, %rbx
.L87:
	call	__cxa_end_catch@PLT
	movq	%rbx, %rdi
.LEHB7:
	call	_Unwind_Resume@PLT
.LEHE7:
.L86:
	imulq	$24, %rbx, %rsi
	movq	%rbp, %rdi
	call	_ZdlPvm@PLT
	jmp	.L88
	.cfi_endproc
.LFE5067:
	.section	.gcc_except_table
	.align 4
.LLSDA5067:
	.byte	0xff
	.byte	0x9b
	.uleb128 .LLSDATT5067-.LLSDATTD5067
.LLSDATTD5067:
	.byte	0x1
	.uleb128 .LLSDACSE5067-.LLSDACSB5067
.LLSDACSB5067:
	.uleb128 .LEHB4-.LFB5067
	.uleb128 .LEHE4-.LEHB4
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB5-.LFB5067
	.uleb128 .LEHE5-.LEHB5
	.uleb128 .L93-.LFB5067
	.uleb128 0x1
	.uleb128 .LEHB6-.LFB5067
	.uleb128 .LEHE6-.LEHB6
	.uleb128 .L94-.LFB5067
	.uleb128 0
	.uleb128 .LEHB7-.LFB5067
	.uleb128 .LEHE7-.LEHB7
	.uleb128 0
	.uleb128 0
.LLSDACSE5067:
	.byte	0x1
	.byte	0
	.align 4
	.long	0

.LLSDATT5067:
	.section	.text._ZNSt6vectorIS_IdSaIdEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_,"axG",@progbits,_ZNSt6vectorIS_IdSaIdEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_,comdat
	.size	_ZNSt6vectorIS_IdSaIdEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_, .-_ZNSt6vectorIS_IdSaIdEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_
	.section	.rodata.str1.1
.LC6:
	.string	"GyPerMU3D_0"
.LC7:
	.string	"_"
.LC8:
	.string	"MeV_field_"
.LC9:
	.string	"by"
.LC10:
	.string	"spots_"
.LC11:
	.string	"cm2spacing.bin"
.LC12:
	.string	"GyPerMU3D_"
.LC13:
	.string	"Error, no file found"
.LC14:
	.string	"cannot create std::vector larger than max_size()"
.LC17:
	.string	"depthDose.txt"
.LC18:
	.string	"Z(mm)"
.LC19:
	.string	"(MeV)"
.LC20:
	.string	"        "
	.section	.text.startup
	.globl	main
	.type	main, @function
main:
.LFB4388:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4388
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xorl	%edi, %edi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$1400, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	leaq	-1200(%rbp), %rax
	movq	%rdi, -1320(%rbp)
	movq	%rdi, -1312(%rbp)
	movq	%rdi, -1304(%rbp)
	movq	%rdi, -1296(%rbp)
	movq	%rdi, -1288(%rbp)
	movq	%rdi, -1280(%rbp)
	movq	%rdi, -1272(%rbp)
	movq	%rdi, -1264(%rbp)
	movq	%rdi, -1256(%rbp)
	movq	%rdi, -1248(%rbp)
	movq	%rdi, -1240(%rbp)
	movq	%rdi, -1232(%rbp)
	movq	%rdi, -1224(%rbp)
	movq	%rdi, -1216(%rbp)
	movq	%rdi, -1208(%rbp)
	movq	%rdi, -1200(%rbp)
	movq	%rdi, -1192(%rbp)
	movq	%rax, -1360(%rbp)
	leaq	-1224(%rbp), %rax
	movq	%rax, -1368(%rbp)
	leaq	-1248(%rbp), %rax
	movq	%rax, -1376(%rbp)
	leaq	-1272(%rbp), %rax
	movq	%rax, -1384(%rbp)
	leaq	-1296(%rbp), %rax
	movq	%rax, -1392(%rbp)
	leaq	-1320(%rbp), %rax
	movq	%rax, -1400(%rbp)
	leaq	-1324(%rbp), %rax
	movq	%rdi, -1184(%rbp)
	movq	%rdi, -1176(%rbp)
	movq	%rdi, -1168(%rbp)
	movq	%rdi, -1160(%rbp)
	movq	%rdi, -1152(%rbp)
	movq	%rdi, -1144(%rbp)
	movq	%rdi, -1136(%rbp)
	movq	%rdi, -1128(%rbp)
	movq	%rdi, -1120(%rbp)
	movq	%rdi, -1112(%rbp)
	movq	%rdi, -1104(%rbp)
	movq	%rdi, -1096(%rbp)
	movq	%rdi, -1088(%rbp)
	movq	%rdi, -1080(%rbp)
	movq	%rdi, -1072(%rbp)
	movq	%rdi, -1064(%rbp)
	pushq	%rax
	leaq	-1080(%rbp), %rax
	movq	%rax, -1408(%rbp)
	pushq	%rax
	leaq	-1104(%rbp), %rax
	movq	%rax, -1416(%rbp)
	pushq	%rax
	leaq	-1128(%rbp), %rax
	movq	%rax, -1424(%rbp)
	pushq	%rax
	leaq	-1152(%rbp), %rax
	movq	-1360(%rbp), %r9
	movq	-1368(%rbp), %r8
	movq	-1376(%rbp), %rcx
	pushq	%rax
	leaq	-1176(%rbp), %rax
	movq	-1384(%rbp), %rdx
	movq	-1392(%rbp), %rsi
	pushq	%rax
	movq	-1400(%rbp), %rdi
.LEHB8:
	.cfi_escape 0x2e,0x30
	call	_Z13getSourceFileRSt6vectorIdSaIdEES2_S2_S2_S2_S2_S2_S2_S2_S2_S2_Ri
.LEHE8:
	xorl	%esi, %esi
	addq	$48, %rsp
	movq	%rsi, -1056(%rbp)
	movq	%rsi, -1048(%rbp)
	movq	%rsi, -1040(%rbp)
	movq	%rsi, -1336(%rbp)
.L122:
	movq	-1336(%rbp), %rax
	xorl	%ecx, %ecx
	movq	-1128(%rbp), %r12
	leaq	-952(%rbp), %r13
	movq	%rcx, -1032(%rbp)
	movq	%r13, %rdi
	leaq	0(,%rax,8), %rbx
	movq	%rcx, -1024(%rbp)
	movq	-1176(%rbp), %rax
	movq	%rcx, -1016(%rbp)
	movq	-1336(%rbp), %rcx
	addq	%rbx, %r12
	movsd	(%r12), %xmm1
	subsd	.LC5(%rip), %xmm1
	movsd	(%rax,%rcx,8), %xmm0
	movq	-1152(%rbp), %rax
	addsd	(%rax,%rcx,8), %xmm0
	xorps	.LC4(%rip), %xmm0
	divsd	%xmm1, %xmm0
	movq	%xmm0, %r14
.LEHB9:
	.cfi_escape 0x2e,0
	call	_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev@PLT
.LEHE9:
	cmpq	$8, -1336(%rbp)
	leaq	_ZSt5fixedRSt8ios_base(%rip), %rsi
	movq	%r13, %rdi
	ja	.L104
.LEHB10:
	call	_ZNSolsEPFRSt8ios_baseS0_E@PLT
	movq	%rax, %rdi
	leaq	.LC6(%rip), %rsi
.L186:
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movl	-1336(%rbp), %eax
	leal	1(%rax), %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	leaq	.LC7(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	(%rax), %rax
	movq	-24(%rax), %rax
	movq	$1, 8(%rdi,%rax)
	movq	-1320(%rbp), %rax
	movsd	(%rax,%rbx), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC8(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	(%rax), %rax
	xorl	%edx, %edx
	movsd	(%r12), %xmm0
	movq	-24(%rax), %rax
	movq	%rdx, 8(%rdi,%rax)
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	leaq	.LC9(%rip), %r12
	movq	%rax, %rdi
	movq	%r12, %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	-1104(%rbp), %rax
	movsd	(%rax,%rbx), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC10(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	(%rax), %rax
	movq	%r14, %xmm0
	movq	-24(%rax), %rax
	movq	$2, 8(%rdi,%rax)
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	movq	%r12, %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	(%rax), %rax
	movq	%r14, %xmm0
	movq	-24(%rax), %rax
	movq	$2, 8(%rdi,%rax)
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC11(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	leaq	-984(%rbp), %rbx
	leaq	-944(%rbp), %rsi
	movq	%rbx, %rdi
	call	_ZNKSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEE3strEv@PLT
	jmp	.L187
.L104:
	call	_ZNSolsEPFRSt8ios_baseS0_E@PLT
.LEHE10:
	movq	%rax, %rdi
	leaq	.LC12(%rip), %rsi
	jmp	.L186
.L187:
	leaq	_ZSt4cout(%rip), %r12
	movq	%rbx, %rsi
	movq	%r12, %rdi
.LEHB11:
	call	_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	-576(%rbp), %rbx
	movq	-984(%rbp), %rsi
	movl	$12, %edx
	movq	%rbx, %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode@PLT
.LEHE11:
	testb	$5, -288(%rbp)
	je	.L107
	leaq	.LC13(%rip), %rsi
	movq	%r12, %rdi
.LEHB12:
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movl	$1, %edi
	call	exit@PLT
.L107:
	movl	$2, %edx
	xorl	%esi, %esi
	movq	%rbx, %rdi
	call	_ZNSi5seekgElSt12_Ios_Seekdir@PLT
	movq	%rbx, %rdi
	call	_ZNSi5tellgEv@PLT
	xorl	%edx, %edx
	xorl	%esi, %esi
	movq	%rbx, %rdi
	movq	%rax, %r13
	call	_ZNSi5seekgElSt12_Ios_Seekdir@PLT
	movq	%r13, %r14
	shrq	$3, %r14
	testq	%r13, %r13
	jns	.L108
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L158
	leaq	.LC14(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L108:
	xorl	%eax, %eax
	movq	%r14, %rdi
	movq	%rax, -1000(%rbp)
	movq	%rax, -992(%rbp)
	call	_ZNSt12_Vector_baseIdSaIdEE11_M_allocateEm.isra.0
.LEHE12:
	movq	%rax, %rbx
	movq	%rax, -1008(%rbp)
	leaq	(%rax,%r14,8), %rax
	movq	%rax, -992(%rbp)
	movq	%rbx, %r12
	testq	%r14, %r14
	je	.L110
	decq	%r14
	movq	$0x000000000, (%rbx)
	leaq	8(%rbx), %r12
	je	.L110
.L111:
	cmpq	%r12, %rax
	je	.L110
	movq	$0x000000000, (%r12)
	addq	$8, %r12
	jmp	.L111
.L110:
	leaq	-576(%rbp), %rdi
	movq	%r13, %rdx
	movq	%rbx, %rsi
	movq	%r12, -1000(%rbp)
.LEHB13:
	call	_ZNSi4readEPcl@PLT
	movl	$512000000, %edi
	call	malloc@PLT
	movq	%r12, %rcx
	subq	%rbx, %rcx
	cmpq	$8, %rcx
	jle	.L113
	movq	%rax, %rdi
	movq	%rbx, %rsi
	rep movsb
	jmp	.L114
.L113:
	jne	.L114
	movsd	(%rbx), %xmm0
	movsd	%xmm0, (%rax)
.L114:
	leaq	641600(%rax), %r12
	addq	$512641600, %rax
	movq	%rax, -1432(%rbp)
.L119:
	movsd	(%r12), %xmm0
	addsd	8(%r12), %xmm0
	movq	-1024(%rbp), %rbx
	movq	-1016(%rbp), %r14
	addsd	3200(%r12), %xmm0
	addsd	3208(%r12), %xmm0
	mulsd	.LC16(%rip), %xmm0
	movsd	%xmm0, -1344(%rbp)
	cmpq	%r14, %rbx
	je	.L115
	movsd	%xmm0, (%rbx)
	addq	$8, %rbx
	movq	%rbx, -1024(%rbp)
	jmp	.L116
.L115:
	leaq	-1032(%rbp), %rdi
	leaq	.LC0(%rip), %rdx
	movl	$1, %esi
	call	_ZNKSt6vectorIdSaIdEE12_M_check_lenEmPKc
	movq	-1032(%rbp), %r13
	movq	%rax, %rdi
	movq	%rax, -1352(%rbp)
	subq	%r13, %rbx
	call	_ZNSt12_Vector_baseIdSaIdEE11_M_allocateEm.isra.0
	movsd	-1344(%rbp), %xmm3
	movq	%rax, %r15
	movsd	%xmm3, (%rax,%rbx)
	testq	%rbx, %rbx
	jle	.L117
	movq	%rbx, %rdx
	movq	%r13, %rsi
	movq	%rax, %rdi
	call	memmove@PLT
.L117:
	leaq	8(%r15,%rbx), %rbx
	testq	%r13, %r13
	je	.L118
	movq	%r14, %rsi
	movq	%r13, %rdi
	subq	%r13, %rsi
	call	_ZdlPvm@PLT
.L118:
	movq	-1352(%rbp), %rax
	movq	%r15, -1032(%rbp)
	movq	%rbx, -1024(%rbp)
	leaq	(%r15,%rax,8), %rax
	movq	%rax, -1016(%rbp)
.L116:
	movq	-1432(%rbp), %rax
	addq	$1280000, %r12
	cmpq	%rax, %r12
	jne	.L119
	movq	-1048(%rbp), %r12
	cmpq	-1040(%rbp), %r12
	leaq	-1032(%rbp), %rbx
	je	.L120
	movq	%rbx, %rsi
	movq	%r12, %rdi
	call	_ZNSt6vectorIdSaIdEEC1ERKS1_
	addq	$24, %r12
	movq	%r12, -1048(%rbp)
	jmp	.L121
.L120:
	leaq	-1056(%rbp), %rdi
	movq	%rbx, %rdx
	movq	%r12, %rsi
	call	_ZNSt6vectorIS_IdSaIdEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_
.LEHE13:
.L121:
	leaq	-1008(%rbp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	leaq	-576(%rbp), %rax
	movq	%rax, %rdi
	movq	%rax, -1344(%rbp)
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
	leaq	-984(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	leaq	-952(%rbp), %rdi
	call	_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev@PLT
	movq	%rbx, %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	incq	-1336(%rbp)
	cmpq	$94, -1336(%rbp)
	jne	.L122
	movq	-1056(%rbp), %r12
	movq	-1048(%rbp), %rsi
	movabsq	$-6148914691236517205, %rax
	leaq	_ZSt4cout(%rip), %rdi
	subq	%r12, %rsi
	sarq	$3, %rsi
	imulq	%rax, %rsi
.LEHB14:
	call	_ZNSo9_M_insertImEERSoT_@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	-1344(%rbp), %rdi
	movl	$16, %edx
	leaq	.LC17(%rip), %rsi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode@PLT
.LEHE14:
	movq	-1344(%rbp), %rdi
	leaq	.LC18(%rip), %rsi
.LEHB15:
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	xorl	%ebx, %ebx
.L123:
	movq	-1344(%rbp), %rdi
	leaq	_ZSt5fixedRSt8ios_base(%rip), %rsi
	call	_ZNSolsEPFRSt8ios_baseS0_E@PLT
	movq	%rax, %rdi
	movq	(%rax), %rax
	movq	-24(%rax), %rdx
	movq	$1, 8(%rdi,%rdx)
	movq	-24(%rax), %rax
	movq	$10, 16(%rdi,%rax)
	movq	-1320(%rbp), %rax
	movsd	(%rax,%rbx), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC19(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	addq	$8, %rbx
	cmpq	$752, %rbx
	jne	.L123
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	-1344(%rbp), %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	xorl	%ebx, %ebx
.L125:
	leaq	-576(%rbp), %rdi
	movl	%ebx, %esi
	call	_ZNSolsEi@PLT
	movq	%rax, %rdi
	leaq	.LC20(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%r12, -1336(%rbp)
	leaq	0(,%rbx,8), %r14
	leaq	2256(%r12), %r13
	leaq	_ZSt10scientificRSt8ios_base(%rip), %r15
.L124:
	leaq	-576(%rbp), %rdi
	movq	%r15, %rsi
	call	_ZNSolsEPFRSt8ios_baseS0_E@PLT
	movq	%rax, %rdi
	movq	(%rax), %rax
	movq	-24(%rax), %rdx
	movq	$3, 8(%rdi,%rdx)
	movq	-24(%rax), %rax
	movq	$10, 16(%rdi,%rax)
	movq	-1336(%rbp), %rax
	movq	(%rax), %rax
	movsd	(%rax,%r14), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC20(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	addq	$24, -1336(%rbp)
	movq	-1336(%rbp), %rax
	cmpq	%rax, %r13
	jne	.L124
	leaq	-576(%rbp), %rax
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	movq	%rax, %r15
	call	_ZNSolsEPFRSoS_E.isra.0
	incq	%rbx
	cmpq	$400, %rbx
	jne	.L125
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
.LEHE15:
	movq	-1344(%rbp), %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	leaq	-1056(%rbp), %rdi
	call	_ZNSt6vectorIS_IdSaIdEESaIS1_EED1Ev
	leaq	-1080(%rbp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	leaq	-1104(%rbp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	leaq	-1128(%rbp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	leaq	-1152(%rbp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	leaq	-1176(%rbp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	leaq	-1200(%rbp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	leaq	-1224(%rbp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	leaq	-1248(%rbp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	leaq	-1272(%rbp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	leaq	-1296(%rbp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	leaq	-1320(%rbp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	je	.L135
	jmp	.L158
.L142:
	endbr64
	movq	%rax, %rbx
.L126:
	leaq	-1008(%rbp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	jmp	.L127
.L141:
	endbr64
	movq	%rax, %rbx
.L127:
	leaq	-576(%rbp), %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
	jmp	.L128
.L140:
	endbr64
	movq	%rax, %rbx
.L128:
	leaq	-984(%rbp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L129
.L139:
	endbr64
	movq	%rax, %rbx
.L129:
	leaq	-952(%rbp), %rdi
	call	_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev@PLT
	jmp	.L130
.L138:
	endbr64
	movq	%rax, %rbx
.L130:
	leaq	-1032(%rbp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	jmp	.L131
.L144:
	endbr64
	movq	%rax, %rbx
.L132:
	leaq	-576(%rbp), %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	jmp	.L131
.L143:
	endbr64
	movq	%rax, %rbx
.L131:
	leaq	-1056(%rbp), %rdi
	call	_ZNSt6vectorIS_IdSaIdEESaIS1_EED1Ev
	jmp	.L133
.L137:
	endbr64
	movq	%rax, %rbx
.L133:
	movq	-1408(%rbp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	movq	-1416(%rbp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	movq	-1424(%rbp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	leaq	-1152(%rbp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	leaq	-1176(%rbp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	movq	-1360(%rbp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	movq	-1368(%rbp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	movq	-1376(%rbp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	movq	-1384(%rbp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	movq	-1392(%rbp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	movq	-1400(%rbp), %rdi
	call	_ZNSt6vectorIdSaIdEED1Ev
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L158
	movq	%rbx, %rdi
.LEHB16:
	call	_Unwind_Resume@PLT
.LEHE16:
.L158:
	call	__stack_chk_fail@PLT
.L135:
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4388:
	.section	.gcc_except_table
.LLSDA4388:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4388-.LLSDACSB4388
.LLSDACSB4388:
	.uleb128 .LEHB8-.LFB4388
	.uleb128 .LEHE8-.LEHB8
	.uleb128 .L137-.LFB4388
	.uleb128 0
	.uleb128 .LEHB9-.LFB4388
	.uleb128 .LEHE9-.LEHB9
	.uleb128 .L138-.LFB4388
	.uleb128 0
	.uleb128 .LEHB10-.LFB4388
	.uleb128 .LEHE10-.LEHB10
	.uleb128 .L139-.LFB4388
	.uleb128 0
	.uleb128 .LEHB11-.LFB4388
	.uleb128 .LEHE11-.LEHB11
	.uleb128 .L140-.LFB4388
	.uleb128 0
	.uleb128 .LEHB12-.LFB4388
	.uleb128 .LEHE12-.LEHB12
	.uleb128 .L141-.LFB4388
	.uleb128 0
	.uleb128 .LEHB13-.LFB4388
	.uleb128 .LEHE13-.LEHB13
	.uleb128 .L142-.LFB4388
	.uleb128 0
	.uleb128 .LEHB14-.LFB4388
	.uleb128 .LEHE14-.LEHB14
	.uleb128 .L143-.LFB4388
	.uleb128 0
	.uleb128 .LEHB15-.LFB4388
	.uleb128 .LEHE15-.LEHB15
	.uleb128 .L144-.LFB4388
	.uleb128 0
	.uleb128 .LEHB16-.LFB4388
	.uleb128 .LEHE16-.LEHB16
	.uleb128 0
	.uleb128 0
.LLSDACSE4388:
	.section	.text.startup
	.size	main, .-main
	.section	.nvFatBinSegment,"aw"
	.align 8
	.type	_ZL15__fatDeviceText, @object
	.size	_ZL15__fatDeviceText, 24
_ZL15__fatDeviceText:
	.long	1180844977
	.long	1
	.quad	fatbinData
	.quad	0
	.local	_ZL20__cudaFatCubinHandle
	.comm	_ZL20__cudaFatCubinHandle,8,8
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC4:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC5:
	.long	0
	.long	1072693248
	.align 8
.LC16:
	.long	0
	.long	1070596096
	.hidden	DW.ref.__gxx_personality_v0
	.weak	DW.ref.__gxx_personality_v0
	.section	.data.rel.local.DW.ref.__gxx_personality_v0,"awG",@progbits,DW.ref.__gxx_personality_v0,comdat
	.align 8
	.type	DW.ref.__gxx_personality_v0, @object
	.size	DW.ref.__gxx_personality_v0, 8
DW.ref.__gxx_personality_v0:
	.quad	__gxx_personality_v0
	.ident	"GCC: (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:


#include <hip/hip_runtime.h>
#include <fstream>
#include <iterator>
#include <vector>
#include <iostream>
#include <cstdlib>
#include <string>
#include <sstream>
#include <iomanip>
#include <math.h>
#include <stdio.h>

void getSourceFile(std::vector<double>& eNomVec, std::vector<double>& rangeVec, 
			std::vector<double>& sigmaXVec,std::vector<double>& sigmaYVec, 
			std::vector<double>& eMeanVec, std::vector<double>& sigmaEVec, 
			std::vector<double>& xVec, std::vector<double>& yVec, 
			std::vector<double>& nxVec,std::vector<double>& nyVec,
			std::vector<double>& weightVec, int& numGroups) 
{
	int dateOfMeasurement;
	long int numberOfGroups;
	double  eNom, range, sigmaX, sigmaY, eMean, sigmaE, xcoord, ycoord, weight, nx, ny;
	
	std::string line;
	//declare and open file
	std::ifstream ifile("IMPT_source.dat", std::ios::in);
	if(!ifile){
		std::cout << "Error, IMPT_source not found" << std::endl;
	}else{
		//read in date of measurement
		ifile >> dateOfMeasurement;
	
		//read in number of groups
		ifile >> numberOfGroups;
		numGroups = numberOfGroups;
		
		//skip over header line
		std::string e, r, x, y, m, s, nx1, ny1, x1, y1, w;
		ifile >> e;
		ifile >> r;
		ifile >> x;
		ifile >> y;
		ifile >> m;
		ifile >> s;
		ifile >> x1;
		ifile >> y1;
		ifile >> nx1;
		ifile >> ny1;
		ifile >> w;

		eNomVec.reserve(numberOfGroups);
		
		//read in data to vectors
		for(int i = 0; i < numberOfGroups; i++){
			ifile >> eNom;
			ifile >> range;
			ifile >> sigmaX;
			ifile >> sigmaY;
			ifile >> eMean;
			ifile >> sigmaE;
			ifile >> xcoord;
			ifile >> ycoord;
			ifile >> nx;
			ifile >> ny;
			ifile >> weight;

			eNomVec.push_back(eNom);
//			rangeVec.push_back(range);
//			sigmaXVec.push_back(sigmaX);
//			sigmaYVec.push_back(sigmaY);
//			eMeanVec.push_back(eMean);
			xVec.push_back(xcoord);
			yVec.push_back(ycoord);
			nxVec.push_back(nx);
			nyVec.push_back(ny);
//			weightVec.push_back(weight);
		}
	}
}
int main(){
	int numberOfGroups;
	std::vector<double> eNom, range, sigmaX, sigmaY, eMean, sigmaE, xCoord, yCoord, nx, ny, weight;
	getSourceFile(eNom, range, sigmaX, sigmaY, eMean, sigmaE, xCoord, yCoord, nx, ny, weight, numberOfGroups);
	
	std::vector< std::vector<double> > zRange;
	
	for(int master = 0; master < 94; master++){
		
		std::vector<double> temp;
		
		//declare stream size variables and open file/check for errors
		std::streampos bufferSize;
		
		double fieldSize = -1*(xCoord[master]+yCoord[master])/(nx[master]-1);

		//create fileName to read in data
		std::ostringstream fName;
		if(master < 9){
			fName << std::fixed << "GyPerMU3D_0" << master+1 << "_" << std::setprecision(1) << eNom[master] << "MeV_field_" << std::setprecision(0) << nx[master] << "by" 
			      << ny[master] << "spots_" << std::setprecision(2) << fieldSize << "by" << std::setprecision(2) << fieldSize << "cm2spacing.bin";
		}else{
			fName << std::fixed << "GyPerMU3D_" << master+1 << "_" << std::setprecision(1) << eNom[master] << "MeV_field_" << std::setprecision(0) << nx[master] << "by" 
			      << ny[master] << "spots_" << std::setprecision(2) << fieldSize << "by" << std::setprecision(2) << fieldSize << "cm2spacing.bin";
		}
		std::string fileName = fName.str();
		std::cout << fileName << std::endl;
		std::ifstream ifile(fileName.c_str(), std::ios::in | std::ios::binary);
		if(!ifile){
			std::cout << "Error, no file found" << std::endl;
			exit(1);
		}
		
		//get file size
		ifile.seekg(0, std::ios::end);
		bufferSize = ifile.tellg();
		ifile.seekg(0, std::ios::beg);

		//declare buffer
		std::vector<double> buffer(bufferSize/sizeof(double));
		
		//read in data
		ifile.read(reinterpret_cast<char*>(buffer.data()), bufferSize); 

		int size = bufferSize/(sizeof(double)*400);
		
		//copy memory from buffer to energy
		double *energy;
		energy = (double*)malloc(64000000*sizeof(double));
		std::copy(buffer.begin(), buffer.end(), energy);

		//so the equation for location is 200y*x, thus for four points (100,100), (100, 101), (101, 100), (101,101)
		//we just start at 20100 and add in the needed 20101, 20300, 20301 respectively and then iterate to next layer
		//by adding 40000 as the grid size is 200x200. 
		for(int i = 80200; i < 64000000; i+= 160000){
			temp.push_back((energy[i] + energy[i+1] + energy[i+400] + energy[i+401])/4);
		}	 
		zRange.push_back(temp);		
	}
	
	std::cout << zRange.size() << std::endl;
	std::ofstream zfile("depthDose.txt", std::ios::out);
	zfile << "Z(mm)";
	for(int i = 0; i < 94; i++){
		zfile << std::fixed << std::setprecision(1) << std::setw(10) << eNom[i] << "(MeV)";
	}	
	zfile << std::endl;
	for(int i = 0; i < 400; i++){
		zfile << i << "        ";
		for(int j = 0; j < 94; j++){
			zfile << std::scientific << std::setprecision(3) << std::setw(10) << zRange[j][i] << "        ";
		}
		zfile << std::endl;
	}
	zfile << std::endl;
}

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

                                        # End of file scope inline assembly
	.globl	_Z13getSourceFileRSt6vectorIdSaIdEES2_S2_S2_S2_S2_S2_S2_S2_S2_S2_Ri # -- Begin function _Z13getSourceFileRSt6vectorIdSaIdEES2_S2_S2_S2_S2_S2_S2_S2_S2_S2_Ri
	.type	_Z13getSourceFileRSt6vectorIdSaIdEES2_S2_S2_S2_S2_S2_S2_S2_S2_S2_Ri,@function
_Z13getSourceFileRSt6vectorIdSaIdEES2_S2_S2_S2_S2_S2_S2_S2_S2_S2_Ri: # @_Z13getSourceFileRSt6vectorIdSaIdEES2_S2_S2_S2_S2_S2_S2_S2_S2_S2_Ri
.Lfunc_begin0:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception0
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$1016, %rsp                     # imm = 0x3F8
	.cfi_def_cfa_offset 1072
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rdi, %rbx
	leaq	432(%rsp), %rax
	movq	%rax, -16(%rax)
	movq	$0, -8(%rax)
	movb	$0, (%rax)
.Ltmp0:
	leaq	496(%rsp), %rdi
	movl	$.L.str, %esi
	movl	$8, %edx
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode
.Ltmp1:
# %bb.1:
	movq	496(%rsp), %rax
	movq	-24(%rax), %rax
	testb	$5, 528(%rsp,%rax)
	je	.LBB0_10
# %bb.2:
.Ltmp3:
	movl	$_ZSt4cout, %ebx
	movl	$_ZSt4cout, %edi
	movl	$.L.str.1, %esi
	movl	$28, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp4:
# %bb.3:                                # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit
	movq	_ZSt4cout(%rip), %rax
	addq	-24(%rax), %rbx
.Ltmp5:
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp6:
# %bb.4:                                # %.noexc109
.Ltmp7:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp8:
# %bb.5:                                # %.noexc110
.Ltmp9:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp10:
	jmp	.LBB0_6
.LBB0_10:
.Ltmp11:
	leaq	496(%rsp), %rdi
	leaq	60(%rsp), %rsi
	callq	_ZNSirsERi
.Ltmp12:
# %bb.11:
.Ltmp13:
	leaq	496(%rsp), %rdi
	leaq	8(%rsp), %rsi
	callq	_ZNSi10_M_extractIlEERSiRT_
.Ltmp14:
# %bb.12:                               # %_ZNSirsERl.exit
	movq	1112(%rsp), %rax
	movl	8(%rsp), %ecx
	movl	%ecx, (%rax)
	leaq	400(%rsp), %rcx
	movq	%rcx, -16(%rcx)
	xorl	%eax, %eax
	movq	%rax, -8(%rcx)
	movb	%al, (%rcx)
	leaq	368(%rsp), %rcx
	movq	%rcx, -16(%rcx)
	movq	%rax, -8(%rcx)
	movb	%al, (%rcx)
	leaq	336(%rsp), %rcx
	movq	%rcx, -16(%rcx)
	movq	%rax, -8(%rcx)
	movb	%al, (%rcx)
	leaq	304(%rsp), %rcx
	movq	%rcx, -16(%rcx)
	movq	%rax, -8(%rcx)
	movb	%al, (%rcx)
	leaq	272(%rsp), %rcx
	movq	%rcx, -16(%rcx)
	movq	%rax, -8(%rcx)
	movb	%al, (%rcx)
	leaq	240(%rsp), %rcx
	movq	%rcx, -16(%rcx)
	movq	%rax, -8(%rcx)
	movb	%al, (%rcx)
	leaq	208(%rsp), %rcx
	movq	%rcx, -16(%rcx)
	movq	%rax, -8(%rcx)
	movb	%al, (%rcx)
	leaq	176(%rsp), %rcx
	movq	%rcx, -16(%rcx)
	movq	%rax, -8(%rcx)
	movb	%al, (%rcx)
	leaq	144(%rsp), %rcx
	movq	%rcx, -16(%rcx)
	movq	%rax, -8(%rcx)
	movb	%al, (%rcx)
	leaq	112(%rsp), %rcx
	movq	%rcx, -16(%rcx)
	movq	%rax, -8(%rcx)
	movb	%al, (%rcx)
	leaq	80(%rsp), %rcx
	movq	%rcx, -16(%rcx)
	movq	%rax, -8(%rcx)
	movb	%al, (%rcx)
.Ltmp16:
	leaq	496(%rsp), %rdi
	leaq	384(%rsp), %rsi
	callq	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE
.Ltmp17:
# %bb.13:
.Ltmp18:
	leaq	496(%rsp), %rdi
	leaq	352(%rsp), %rsi
	callq	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE
.Ltmp19:
# %bb.14:
.Ltmp20:
	leaq	496(%rsp), %rdi
	leaq	320(%rsp), %rsi
	callq	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE
.Ltmp21:
# %bb.15:
.Ltmp22:
	leaq	496(%rsp), %rdi
	leaq	288(%rsp), %rsi
	callq	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE
.Ltmp23:
# %bb.16:
.Ltmp24:
	leaq	496(%rsp), %rdi
	leaq	256(%rsp), %rsi
	callq	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE
.Ltmp25:
# %bb.17:
.Ltmp26:
	leaq	496(%rsp), %rdi
	leaq	224(%rsp), %rsi
	callq	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE
.Ltmp27:
# %bb.18:
.Ltmp28:
	leaq	496(%rsp), %rdi
	leaq	128(%rsp), %rsi
	callq	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE
.Ltmp29:
# %bb.19:
.Ltmp30:
	leaq	496(%rsp), %rdi
	leaq	96(%rsp), %rsi
	callq	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE
.Ltmp31:
# %bb.20:
.Ltmp32:
	leaq	496(%rsp), %rdi
	leaq	192(%rsp), %rsi
	callq	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE
.Ltmp33:
# %bb.21:
.Ltmp34:
	leaq	496(%rsp), %rdi
	leaq	160(%rsp), %rsi
	callq	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE
.Ltmp35:
# %bb.22:
.Ltmp36:
	leaq	496(%rsp), %rdi
	leaq	64(%rsp), %rsi
	callq	_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE
.Ltmp37:
# %bb.23:
	movq	8(%rsp), %rsi
.Ltmp38:
	movq	%rbx, %rdi
	callq	_ZNSt6vectorIdSaIdEE7reserveEm
.Ltmp39:
# %bb.24:                               # %.preheader
	cmpq	$0, 8(%rsp)
	jle	.LBB0_39
# %bb.25:                               # %.lr.ph
	movq	1088(%rsp), %r15
	movq	1080(%rsp), %r12
	movq	1072(%rsp), %r13
	xorl	%r14d, %r14d
	leaq	496(%rsp), %rbp
.LBB0_26:                               # =>This Inner Loop Header: Depth=1
.Ltmp41:
	movq	%rbp, %rdi
	leaq	48(%rsp), %rsi
	callq	_ZNSi10_M_extractIdEERSiRT_
.Ltmp42:
# %bb.27:                               # %_ZNSirsERd.exit
                                        #   in Loop: Header=BB0_26 Depth=1
.Ltmp43:
	movq	%rbp, %rdi
	leaq	488(%rsp), %rsi
	callq	_ZNSi10_M_extractIdEERSiRT_
.Ltmp44:
# %bb.28:                               # %_ZNSirsERd.exit48
                                        #   in Loop: Header=BB0_26 Depth=1
.Ltmp45:
	movq	%rbp, %rdi
	leaq	480(%rsp), %rsi
	callq	_ZNSi10_M_extractIdEERSiRT_
.Ltmp46:
# %bb.29:                               # %_ZNSirsERd.exit49
                                        #   in Loop: Header=BB0_26 Depth=1
.Ltmp47:
	movq	%rbp, %rdi
	leaq	472(%rsp), %rsi
	callq	_ZNSi10_M_extractIdEERSiRT_
.Ltmp48:
# %bb.30:                               # %_ZNSirsERd.exit50
                                        #   in Loop: Header=BB0_26 Depth=1
.Ltmp49:
	movq	%rbp, %rdi
	leaq	464(%rsp), %rsi
	callq	_ZNSi10_M_extractIdEERSiRT_
.Ltmp50:
# %bb.31:                               # %_ZNSirsERd.exit51
                                        #   in Loop: Header=BB0_26 Depth=1
.Ltmp51:
	movq	%rbp, %rdi
	leaq	456(%rsp), %rsi
	callq	_ZNSi10_M_extractIdEERSiRT_
.Ltmp52:
# %bb.32:                               # %_ZNSirsERd.exit52
                                        #   in Loop: Header=BB0_26 Depth=1
.Ltmp53:
	movq	%rbp, %rdi
	leaq	40(%rsp), %rsi
	callq	_ZNSi10_M_extractIdEERSiRT_
.Ltmp54:
# %bb.33:                               # %_ZNSirsERd.exit53
                                        #   in Loop: Header=BB0_26 Depth=1
.Ltmp55:
	movq	%rbp, %rdi
	leaq	32(%rsp), %rsi
	callq	_ZNSi10_M_extractIdEERSiRT_
.Ltmp56:
# %bb.34:                               # %_ZNSirsERd.exit54
                                        #   in Loop: Header=BB0_26 Depth=1
.Ltmp57:
	movq	%rbp, %rdi
	leaq	24(%rsp), %rsi
	callq	_ZNSi10_M_extractIdEERSiRT_
.Ltmp58:
# %bb.35:                               # %_ZNSirsERd.exit55
                                        #   in Loop: Header=BB0_26 Depth=1
.Ltmp59:
	movq	%rbp, %rdi
	leaq	16(%rsp), %rsi
	callq	_ZNSi10_M_extractIdEERSiRT_
.Ltmp60:
# %bb.36:                               # %_ZNSirsERd.exit56
                                        #   in Loop: Header=BB0_26 Depth=1
.Ltmp61:
	movq	%rbp, %rdi
	leaq	448(%rsp), %rsi
	callq	_ZNSi10_M_extractIdEERSiRT_
.Ltmp62:
# %bb.37:                               # %_ZNSirsERd.exit57
                                        #   in Loop: Header=BB0_26 Depth=1
	movq	8(%rbx), %rsi
	cmpq	16(%rbx), %rsi
	je	.LBB0_62
# %bb.38:                               #   in Loop: Header=BB0_26 Depth=1
	movsd	48(%rsp), %xmm0                 # xmm0 = mem[0],zero
	movsd	%xmm0, (%rsi)
	addq	$8, %rsi
	movq	%rsi, 8(%rbx)
	jmp	.LBB0_63
.LBB0_62:                               #   in Loop: Header=BB0_26 Depth=1
.Ltmp63:
	movq	%rbx, %rdi
	leaq	48(%rsp), %rdx
	callq	_ZNSt6vectorIdSaIdEE17_M_realloc_insertIJRKdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_
.Ltmp64:
.LBB0_63:                               # %_ZNSt6vectorIdSaIdEE9push_backERKd.exit
                                        #   in Loop: Header=BB0_26 Depth=1
	movq	8(%r13), %rsi
	cmpq	16(%r13), %rsi
	je	.LBB0_65
# %bb.64:                               #   in Loop: Header=BB0_26 Depth=1
	movsd	40(%rsp), %xmm0                 # xmm0 = mem[0],zero
	movsd	%xmm0, (%rsi)
	addq	$8, %rsi
	movq	%rsi, 8(%r13)
	jmp	.LBB0_66
.LBB0_65:                               #   in Loop: Header=BB0_26 Depth=1
.Ltmp65:
	movq	%r13, %rdi
	leaq	40(%rsp), %rdx
	callq	_ZNSt6vectorIdSaIdEE17_M_realloc_insertIJRKdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_
.Ltmp66:
.LBB0_66:                               # %_ZNSt6vectorIdSaIdEE9push_backERKd.exit60
                                        #   in Loop: Header=BB0_26 Depth=1
	movq	8(%r12), %rsi
	cmpq	16(%r12), %rsi
	je	.LBB0_68
# %bb.67:                               #   in Loop: Header=BB0_26 Depth=1
	movsd	32(%rsp), %xmm0                 # xmm0 = mem[0],zero
	movsd	%xmm0, (%rsi)
	addq	$8, %rsi
	movq	%rsi, 8(%r12)
	jmp	.LBB0_69
.LBB0_68:                               #   in Loop: Header=BB0_26 Depth=1
.Ltmp67:
	movq	%r12, %rdi
	leaq	32(%rsp), %rdx
	callq	_ZNSt6vectorIdSaIdEE17_M_realloc_insertIJRKdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_
.Ltmp68:
.LBB0_69:                               # %_ZNSt6vectorIdSaIdEE9push_backERKd.exit63
                                        #   in Loop: Header=BB0_26 Depth=1
	movq	8(%r15), %rsi
	cmpq	16(%r15), %rsi
	je	.LBB0_71
# %bb.70:                               #   in Loop: Header=BB0_26 Depth=1
	movsd	24(%rsp), %xmm0                 # xmm0 = mem[0],zero
	movsd	%xmm0, (%rsi)
	addq	$8, %rsi
	movq	%rsi, 8(%r15)
	jmp	.LBB0_72
.LBB0_71:                               #   in Loop: Header=BB0_26 Depth=1
.Ltmp69:
	movq	%r15, %rdi
	leaq	24(%rsp), %rdx
	callq	_ZNSt6vectorIdSaIdEE17_M_realloc_insertIJRKdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_
.Ltmp70:
.LBB0_72:                               # %_ZNSt6vectorIdSaIdEE9push_backERKd.exit66
                                        #   in Loop: Header=BB0_26 Depth=1
	movq	1096(%rsp), %rdi
	movq	8(%rdi), %rsi
	cmpq	16(%rdi), %rsi
	je	.LBB0_74
# %bb.73:                               #   in Loop: Header=BB0_26 Depth=1
	movsd	16(%rsp), %xmm0                 # xmm0 = mem[0],zero
	movsd	%xmm0, (%rsi)
	addq	$8, %rsi
	movq	%rsi, 8(%rdi)
	jmp	.LBB0_75
.LBB0_74:                               #   in Loop: Header=BB0_26 Depth=1
.Ltmp71:
	leaq	16(%rsp), %rdx
	callq	_ZNSt6vectorIdSaIdEE17_M_realloc_insertIJRKdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_
.Ltmp72:
.LBB0_75:                               # %_ZNSt6vectorIdSaIdEE9push_backERKd.exit69
                                        #   in Loop: Header=BB0_26 Depth=1
	incq	%r14
	cmpq	%r14, 8(%rsp)
	jg	.LBB0_26
.LBB0_39:                               # %._crit_edge
	movq	64(%rsp), %rdi
	leaq	80(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_41
# %bb.40:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i
	callq	_ZdlPv
.LBB0_41:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit
	movq	96(%rsp), %rdi
	leaq	112(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_43
# %bb.42:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i18
	callq	_ZdlPv
.LBB0_43:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit20
	movq	128(%rsp), %rdi
	leaq	144(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_45
# %bb.44:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i21
	callq	_ZdlPv
.LBB0_45:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit23
	movq	160(%rsp), %rdi
	leaq	176(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_47
# %bb.46:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i24
	callq	_ZdlPv
.LBB0_47:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit26
	movq	192(%rsp), %rdi
	leaq	208(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_49
# %bb.48:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i27
	callq	_ZdlPv
.LBB0_49:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit29
	movq	224(%rsp), %rdi
	leaq	240(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_51
# %bb.50:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i30
	callq	_ZdlPv
.LBB0_51:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit32
	movq	256(%rsp), %rdi
	leaq	272(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_53
# %bb.52:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i33
	callq	_ZdlPv
.LBB0_53:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit35
	movq	288(%rsp), %rdi
	leaq	304(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_55
# %bb.54:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i36
	callq	_ZdlPv
.LBB0_55:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit38
	movq	320(%rsp), %rdi
	leaq	336(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_57
# %bb.56:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i39
	callq	_ZdlPv
.LBB0_57:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit41
	movq	352(%rsp), %rdi
	leaq	368(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_59
# %bb.58:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i42
	callq	_ZdlPv
.LBB0_59:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit44
	movq	384(%rsp), %rdi
	leaq	400(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_6
# %bb.60:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i45
	callq	_ZdlPv
.LBB0_6:                                # %_ZNSolsEPFRSoS_E.exit
	leaq	496(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
	movq	416(%rsp), %rdi
	leaq	432(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_8
# %bb.7:                                # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i103
	callq	_ZdlPv
.LBB0_8:                                # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit105
	addq	$1016, %rsp                     # imm = 0x3F8
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB0_9:
	.cfi_def_cfa_offset 1072
.Ltmp2:
	movq	%rax, %rbx
	jmp	.LBB0_101
.LBB0_99:
.Ltmp15:
	movq	%rax, %rbx
	jmp	.LBB0_100
.LBB0_61:
.Ltmp40:
	jmp	.LBB0_77
.LBB0_76:
.Ltmp73:
.LBB0_77:
	movq	%rax, %rbx
	movq	64(%rsp), %rdi
	leaq	80(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_79
# %bb.78:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i70
	callq	_ZdlPv
.LBB0_79:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit72
	movq	96(%rsp), %rdi
	leaq	112(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_81
# %bb.80:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i73
	callq	_ZdlPv
.LBB0_81:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit75
	movq	128(%rsp), %rdi
	leaq	144(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_83
# %bb.82:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i76
	callq	_ZdlPv
.LBB0_83:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit78
	movq	160(%rsp), %rdi
	leaq	176(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_85
# %bb.84:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i79
	callq	_ZdlPv
.LBB0_85:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit81
	movq	192(%rsp), %rdi
	leaq	208(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_87
# %bb.86:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i82
	callq	_ZdlPv
.LBB0_87:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit84
	movq	224(%rsp), %rdi
	leaq	240(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_89
# %bb.88:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i85
	callq	_ZdlPv
.LBB0_89:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit87
	movq	256(%rsp), %rdi
	leaq	272(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_91
# %bb.90:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i88
	callq	_ZdlPv
.LBB0_91:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit90
	movq	288(%rsp), %rdi
	leaq	304(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_93
# %bb.92:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i91
	callq	_ZdlPv
.LBB0_93:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit93
	movq	320(%rsp), %rdi
	leaq	336(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_95
# %bb.94:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i94
	callq	_ZdlPv
.LBB0_95:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit96
	movq	352(%rsp), %rdi
	leaq	368(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_97
# %bb.96:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i97
	callq	_ZdlPv
.LBB0_97:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit99
	movq	384(%rsp), %rdi
	leaq	400(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_100
# %bb.98:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i100
	callq	_ZdlPv
.LBB0_100:
	leaq	496(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
.LBB0_101:
	movq	416(%rsp), %rdi
	leaq	432(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_103
# %bb.102:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i106
	callq	_ZdlPv
.LBB0_103:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit108
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end0:
	.size	_Z13getSourceFileRSt6vectorIdSaIdEES2_S2_S2_S2_S2_S2_S2_S2_S2_S2_Ri, .Lfunc_end0-_Z13getSourceFileRSt6vectorIdSaIdEES2_S2_S2_S2_S2_S2_S2_S2_S2_S2_Ri
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table0:
.Lexception0:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end0-.Lcst_begin0
.Lcst_begin0:
	.uleb128 .Ltmp0-.Lfunc_begin0           # >> Call Site 1 <<
	.uleb128 .Ltmp1-.Ltmp0                  #   Call between .Ltmp0 and .Ltmp1
	.uleb128 .Ltmp2-.Lfunc_begin0           #     jumps to .Ltmp2
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp3-.Lfunc_begin0           # >> Call Site 2 <<
	.uleb128 .Ltmp14-.Ltmp3                 #   Call between .Ltmp3 and .Ltmp14
	.uleb128 .Ltmp15-.Lfunc_begin0          #     jumps to .Ltmp15
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp16-.Lfunc_begin0          # >> Call Site 3 <<
	.uleb128 .Ltmp39-.Ltmp16                #   Call between .Ltmp16 and .Ltmp39
	.uleb128 .Ltmp40-.Lfunc_begin0          #     jumps to .Ltmp40
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp41-.Lfunc_begin0          # >> Call Site 4 <<
	.uleb128 .Ltmp72-.Ltmp41                #   Call between .Ltmp41 and .Ltmp72
	.uleb128 .Ltmp73-.Lfunc_begin0          #     jumps to .Ltmp73
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp72-.Lfunc_begin0          # >> Call Site 5 <<
	.uleb128 .Lfunc_end0-.Ltmp72            #   Call between .Ltmp72 and .Lfunc_end0
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorIdSaIdEE7reserveEm,"axG",@progbits,_ZNSt6vectorIdSaIdEE7reserveEm,comdat
	.weak	_ZNSt6vectorIdSaIdEE7reserveEm  # -- Begin function _ZNSt6vectorIdSaIdEE7reserveEm
	.p2align	1, 0x90
	.type	_ZNSt6vectorIdSaIdEE7reserveEm,@function
_ZNSt6vectorIdSaIdEE7reserveEm:         # @_ZNSt6vectorIdSaIdEE7reserveEm
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %rax
	shrq	$60, %rax
	jne	.LBB1_8
# %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %r13
	movq	16(%rdi), %rax
	subq	%r13, %rax
	sarq	$3, %rax
	cmpq	%rsi, %rax
	jae	.LBB1_7
# %bb.2:                                # %_ZNSt12_Vector_baseIdSaIdEE11_M_allocateEm.exit
	movq	8(%rbx), %r12
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIdE8allocateEmPKv
	movq	%rax, %r15
	movq	(%rbx), %rsi
	movq	8(%rbx), %rdx
	subq	%rsi, %rdx
	testq	%rdx, %rdx
	jle	.LBB1_4
# %bb.3:
	movq	%r15, %rdi
	callq	memmove@PLT
	movq	(%rbx), %rsi
.LBB1_4:                                # %_ZNSt6vectorIdSaIdEE11_S_relocateEPdS2_S2_RS0_.exit
	subq	%r13, %r12
	testq	%rsi, %rsi
	je	.LBB1_6
# %bb.5:
	movq	%rsi, %rdi
	callq	_ZdlPv
.LBB1_6:                                # %_ZNSt12_Vector_baseIdSaIdEE13_M_deallocateEPdm.exit
	movq	%r15, (%rbx)
	addq	%r15, %r12
	movq	%r12, 8(%rbx)
	leaq	(%r15,%r14,8), %rax
	movq	%rax, 16(%rbx)
.LBB1_7:
	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
.LBB1_8:
	.cfi_def_cfa_offset 48
	movl	$.L.str.14, %edi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end1:
	.size	_ZNSt6vectorIdSaIdEE7reserveEm, .Lfunc_end1-_ZNSt6vectorIdSaIdEE7reserveEm
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst16,"aM",@progbits,16
	.p2align	4, 0x0                          # -- Begin function main
.LCPI2_0:
	.quad	0x8000000000000000              # double -0
	.quad	0x8000000000000000              # double -0
.LCPI2_3:
	.zero	16
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0
.LCPI2_1:
	.quad	0xbff0000000000000              # double -1
.LCPI2_2:
	.quad	0x3fd0000000000000              # double 0.25
	.text
	.globl	main
	.type	main,@function
main:                                   # @main
.Lfunc_begin1:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception1
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$1256, %rsp                     # imm = 0x4E8
	.cfi_def_cfa_offset 1312
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	xorl	%eax, %eax
	leaq	176(%rsp), %rdi
	movq	%rax, 16(%rdi)
	xorpd	%xmm0, %xmm0
	movapd	%xmm0, (%rdi)
	leaq	336(%rsp), %rcx
	movq	%rax, 16(%rcx)
	movapd	%xmm0, (%rcx)
	leaq	304(%rsp), %rdx
	movq	%rax, 16(%rdx)
	movapd	%xmm0, (%rdx)
	leaq	144(%rsp), %rsi
	movq	%rax, 16(%rsi)
	movapd	%xmm0, (%rsi)
	leaq	272(%rsp), %r8
	movq	%rax, 16(%r8)
	movapd	%xmm0, (%r8)
.Ltmp74:
	leaq	268(%rsp), %rax
	movq	%rax, 40(%rsp)
	movq	%r8, 24(%rsp)
	movq	%rsi, 16(%rsp)
	movq	%rdx, 8(%rsp)
	movq	%rcx, (%rsp)
	callq	_Z13getSourceFileRSt6vectorIdSaIdEES2_S2_S2_S2_S2_S2_S2_S2_S2_S2_Ri
.Ltmp75:
# %bb.1:
	leaq	112(%rsp), %rax
	xorpd	%xmm0, %xmm0
	movapd	%xmm0, (%rax)
	movq	$0, 16(%rax)
	xorl	%r14d, %r14d
	leaq	880(%rsp), %r12
	leaq	360(%rsp), %r15
	leaq	80(%rsp), %r13
.LBB2_2:                                # =>This Loop Header: Depth=1
                                        #     Child Loop BB2_43 Depth 2
	movapd	%xmm0, 80(%rsp)
	movq	$0, 96(%rsp)
	movq	336(%rsp), %rax
	movsd	(%rax,%r14,8), %xmm0            # xmm0 = mem[0],zero
	movq	304(%rsp), %rax
	addsd	(%rax,%r14,8), %xmm0
	movapd	%xmm0, 48(%rsp)                 # 16-byte Spill
	movq	144(%rsp), %rax
	movsd	(%rax,%r14,8), %xmm0            # xmm0 = mem[0],zero
	addsd	.LCPI2_1(%rip), %xmm0
	movsd	%xmm0, 200(%rsp)                # 8-byte Spill
.Ltmp77:
	movq	%r12, %rdi
	callq	_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev
.Ltmp78:
# %bb.3:                                #   in Loop: Header=BB2_2 Depth=1
	movapd	48(%rsp), %xmm0                 # 16-byte Reload
	xorpd	.LCPI2_0(%rip), %xmm0
	divsd	200(%rsp), %xmm0                # 8-byte Folded Reload
	movapd	%xmm0, 48(%rsp)                 # 16-byte Spill
	movq	880(%rsp), %rax
	movq	-24(%rax), %rax
	movl	904(%rsp,%rax), %ecx
	movl	$-261, %edx                     # imm = 0xFEFB
	andl	%edx, %ecx
	orl	$4, %ecx
	movl	%ecx, 904(%rsp,%rax)
	cmpq	$8, %r14
	ja	.LBB2_15
# %bb.4:                                #   in Loop: Header=BB2_2 Depth=1
.Ltmp102:
	movl	$.L.str.2, %esi
	movl	$11, %edx
	movq	%r12, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp103:
# %bb.5:                                # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit
                                        #   in Loop: Header=BB2_2 Depth=1
	leal	1(%r14), %esi
.Ltmp104:
	movq	%r12, %rdi
	callq	_ZNSolsEi
.Ltmp105:
# %bb.6:                                #   in Loop: Header=BB2_2 Depth=1
.Ltmp106:
	movq	%rax, %rbx
	movl	$.L.str.3, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp107:
# %bb.7:                                #   in Loop: Header=BB2_2 Depth=1
	movq	(%rbx), %rax
	movq	-24(%rax), %rax
	movq	$1, 8(%rbx,%rax)
	movq	176(%rsp), %rax
	movsd	(%rax,%r14,8), %xmm0            # xmm0 = mem[0],zero
.Ltmp108:
	movq	%rbx, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp109:
# %bb.8:                                # %_ZNSolsEd.exit
                                        #   in Loop: Header=BB2_2 Depth=1
.Ltmp110:
	movq	%rax, %rbx
	movl	$.L.str.4, %esi
	movl	$10, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp111:
# %bb.9:                                #   in Loop: Header=BB2_2 Depth=1
	movq	(%rbx), %rax
	movq	-24(%rax), %rax
	movq	$0, 8(%rbx,%rax)
	movq	144(%rsp), %rax
	movsd	(%rax,%r14,8), %xmm0            # xmm0 = mem[0],zero
.Ltmp112:
	movq	%rbx, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp113:
# %bb.10:                               # %_ZNSolsEd.exit93
                                        #   in Loop: Header=BB2_2 Depth=1
.Ltmp114:
	movq	%rax, %rbx
	movl	$.L.str.5, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp115:
# %bb.11:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit94
                                        #   in Loop: Header=BB2_2 Depth=1
	movq	272(%rsp), %rax
	movsd	(%rax,%r14,8), %xmm0            # xmm0 = mem[0],zero
.Ltmp116:
	movq	%rbx, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp117:
# %bb.12:                               # %_ZNSolsEd.exit95
                                        #   in Loop: Header=BB2_2 Depth=1
.Ltmp118:
	movq	%rax, %rbx
	movl	$.L.str.6, %esi
	movl	$6, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp119:
# %bb.13:                               #   in Loop: Header=BB2_2 Depth=1
	movq	(%rbx), %rax
	movq	-24(%rax), %rax
	movq	$2, 8(%rbx,%rax)
.Ltmp120:
	movq	%rbx, %rdi
	movapd	48(%rsp), %xmm0                 # 16-byte Reload
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp121:
# %bb.14:                               # %_ZNSolsEd.exit97
                                        #   in Loop: Header=BB2_2 Depth=1
.Ltmp122:
	movq	%rax, %rbx
	movl	$.L.str.5, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp123:
	jmp	.LBB2_26
.LBB2_15:                               #   in Loop: Header=BB2_2 Depth=1
.Ltmp80:
	movl	$.L.str.8, %esi
	movl	$10, %edx
	movq	%r12, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp81:
# %bb.16:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit102
                                        #   in Loop: Header=BB2_2 Depth=1
	leal	1(%r14), %esi
.Ltmp82:
	movq	%r12, %rdi
	callq	_ZNSolsEi
.Ltmp83:
# %bb.17:                               #   in Loop: Header=BB2_2 Depth=1
.Ltmp84:
	movq	%rax, %rbx
	movl	$.L.str.3, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp85:
# %bb.18:                               #   in Loop: Header=BB2_2 Depth=1
	movq	(%rbx), %rax
	movq	-24(%rax), %rax
	movq	$1, 8(%rbx,%rax)
	movq	176(%rsp), %rax
	movsd	(%rax,%r14,8), %xmm0            # xmm0 = mem[0],zero
.Ltmp86:
	movq	%rbx, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp87:
# %bb.19:                               # %_ZNSolsEd.exit104
                                        #   in Loop: Header=BB2_2 Depth=1
.Ltmp88:
	movq	%rax, %rbx
	movl	$.L.str.4, %esi
	movl	$10, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp89:
# %bb.20:                               #   in Loop: Header=BB2_2 Depth=1
	movq	(%rbx), %rax
	movq	-24(%rax), %rax
	movq	$0, 8(%rbx,%rax)
	movq	144(%rsp), %rax
	movsd	(%rax,%r14,8), %xmm0            # xmm0 = mem[0],zero
.Ltmp90:
	movq	%rbx, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp91:
# %bb.21:                               # %_ZNSolsEd.exit106
                                        #   in Loop: Header=BB2_2 Depth=1
.Ltmp92:
	movq	%rax, %rbx
	movl	$.L.str.5, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp93:
# %bb.22:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit107
                                        #   in Loop: Header=BB2_2 Depth=1
	movq	272(%rsp), %rax
	movsd	(%rax,%r14,8), %xmm0            # xmm0 = mem[0],zero
.Ltmp94:
	movq	%rbx, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp95:
# %bb.23:                               # %_ZNSolsEd.exit108
                                        #   in Loop: Header=BB2_2 Depth=1
.Ltmp96:
	movq	%rax, %rbx
	movl	$.L.str.6, %esi
	movl	$6, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp97:
# %bb.24:                               #   in Loop: Header=BB2_2 Depth=1
	movq	(%rbx), %rax
	movq	-24(%rax), %rax
	movq	$2, 8(%rbx,%rax)
.Ltmp98:
	movq	%rbx, %rdi
	movapd	48(%rsp), %xmm0                 # 16-byte Reload
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp99:
# %bb.25:                               # %_ZNSolsEd.exit110
                                        #   in Loop: Header=BB2_2 Depth=1
.Ltmp100:
	movq	%rax, %rbx
	movl	$.L.str.5, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp101:
.LBB2_26:                               # %.invoke
                                        #   in Loop: Header=BB2_2 Depth=1
	movq	(%rbx), %rax
	movq	-24(%rax), %rax
	movq	$2, 8(%rbx,%rax)
.Ltmp124:
	movq	%rbx, %rdi
	movapd	48(%rsp), %xmm0                 # 16-byte Reload
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp125:
# %bb.27:                               # %_ZNSolsEd.exit112.invoke
                                        #   in Loop: Header=BB2_2 Depth=1
.Ltmp126:
	movl	$.L.str.7, %esi
	movl	$14, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp127:
# %bb.28:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit100
                                        #   in Loop: Header=BB2_2 Depth=1
.Ltmp129:
	leaq	232(%rsp), %rdi
	leaq	888(%rsp), %rsi
	callq	_ZNKSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEE3strEv
.Ltmp130:
# %bb.29:                               # %_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv.exit
                                        #   in Loop: Header=BB2_2 Depth=1
	movq	232(%rsp), %rsi
	movq	240(%rsp), %rdx
.Ltmp132:
	movl	$_ZSt4cout, %edi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp133:
# %bb.30:                               # %_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE.exit
                                        #   in Loop: Header=BB2_2 Depth=1
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
.Ltmp134:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp135:
# %bb.31:                               # %.noexc193
                                        #   in Loop: Header=BB2_2 Depth=1
.Ltmp136:
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_ZNSo3putEc
.Ltmp137:
# %bb.32:                               # %.noexc194
                                        #   in Loop: Header=BB2_2 Depth=1
.Ltmp138:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp139:
# %bb.33:                               # %_ZNSolsEPFRSoS_E.exit
                                        #   in Loop: Header=BB2_2 Depth=1
	movq	232(%rsp), %rsi
.Ltmp141:
	movq	%r15, %rdi
	movl	$12, %edx
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode
.Ltmp142:
# %bb.34:                               #   in Loop: Header=BB2_2 Depth=1
	movq	360(%rsp), %rax
	movq	-24(%rax), %rax
	testb	$5, 392(%rsp,%rax)
	jne	.LBB2_95
# %bb.35:                               #   in Loop: Header=BB2_2 Depth=1
.Ltmp149:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$2, %edx
	callq	_ZNSi5seekgElSt12_Ios_Seekdir
.Ltmp150:
# %bb.36:                               #   in Loop: Header=BB2_2 Depth=1
.Ltmp151:
	movq	%r15, %rdi
	callq	_ZNSi5tellgEv
.Ltmp152:
# %bb.37:                               #   in Loop: Header=BB2_2 Depth=1
.Ltmp154:
	movq	%rax, %rbx
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ZNSi5seekgElSt12_Ios_Seekdir
.Ltmp155:
# %bb.38:                               #   in Loop: Header=BB2_2 Depth=1
	movq	%rbx, %rsi
	shrq	$3, %rsi
.Ltmp157:
	leaq	208(%rsp), %rdi
	leaq	72(%rsp), %rdx
	callq	_ZNSt6vectorIdSaIdEEC2EmRKS0_
.Ltmp158:
# %bb.39:                               #   in Loop: Header=BB2_2 Depth=1
	movq	208(%rsp), %rsi
.Ltmp160:
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_ZNSi4readEPcl
.Ltmp161:
# %bb.40:                               #   in Loop: Header=BB2_2 Depth=1
	movl	$512000000, %edi                # imm = 0x1E848000
	callq	malloc
	movq	%rax, %rbx
	movq	208(%rsp), %rsi
	movq	216(%rsp), %rdx
	subq	%rsi, %rdx
	movq	%r12, %rbp
	cmpq	$9, %rdx
	jl	.LBB2_55
# %bb.41:                               #   in Loop: Header=BB2_2 Depth=1
	movq	%rbx, %rdi
	callq	memcpy@PLT
.LBB2_42:                               # %_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES2_ET0_T_S8_S7_.exit.preheader
                                        #   in Loop: Header=BB2_2 Depth=1
	movq	$-79800, %r12                   # imm = 0xFFFEC848
.LBB2_43:                               # %_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES2_ET0_T_S8_S7_.exit
                                        #   Parent Loop BB2_2 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movsd	1280000(%rbx,%r12,8), %xmm0     # xmm0 = mem[0],zero
	addsd	1280008(%rbx,%r12,8), %xmm0
	addsd	1283200(%rbx,%r12,8), %xmm0
	addsd	1283208(%rbx,%r12,8), %xmm0
	mulsd	.LCPI2_2(%rip), %xmm0
	movsd	%xmm0, 72(%rsp)
	movq	88(%rsp), %rsi
	cmpq	96(%rsp), %rsi
	je	.LBB2_45
# %bb.44:                               #   in Loop: Header=BB2_43 Depth=2
	movsd	%xmm0, (%rsi)
	addq	$8, %rsi
	movq	%rsi, 88(%rsp)
	jmp	.LBB2_46
.LBB2_45:                               #   in Loop: Header=BB2_43 Depth=2
.Ltmp163:
	movq	%r13, %rdi
	leaq	72(%rsp), %rdx
	callq	_ZNSt6vectorIdSaIdEE17_M_realloc_insertIJdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_
.Ltmp164:
.LBB2_46:                               # %_ZNSt6vectorIdSaIdEE9push_backEOd.exit
                                        #   in Loop: Header=BB2_43 Depth=2
	addq	$160000, %r12                   # imm = 0x27100
	cmpq	$63840000, %r12                 # imm = 0x3CE1F00
	jb	.LBB2_43
# %bb.47:                               #   in Loop: Header=BB2_2 Depth=1
.Ltmp166:
	leaq	112(%rsp), %rdi
	movq	%r13, %rsi
	callq	_ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backERKS1_
.Ltmp167:
# %bb.48:                               #   in Loop: Header=BB2_2 Depth=1
	movq	208(%rsp), %rdi
	testq	%rdi, %rdi
	movq	%rbp, %r12
	je	.LBB2_50
# %bb.49:                               #   in Loop: Header=BB2_2 Depth=1
	callq	_ZdlPv
.LBB2_50:                               # %_ZNSt6vectorIdSaIdEED2Ev.exit
                                        #   in Loop: Header=BB2_2 Depth=1
	movq	%r15, %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
	movq	232(%rsp), %rdi
	leaq	248(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB2_52
# %bb.51:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i
                                        #   in Loop: Header=BB2_2 Depth=1
	callq	_ZdlPv
.LBB2_52:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit
                                        #   in Loop: Header=BB2_2 Depth=1
	movl	$_ZTTNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE, %esi
	movq	%r12, %rdi
	callq	_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED2Ev
	leaq	992(%rsp), %rdi
	callq	_ZNSt8ios_baseD2Ev
	movq	80(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB2_54
# %bb.53:                               #   in Loop: Header=BB2_2 Depth=1
	callq	_ZdlPv
.LBB2_54:                               # %_ZNSt6vectorIdSaIdEED2Ev.exit117
                                        #   in Loop: Header=BB2_2 Depth=1
	incq	%r14
	cmpq	$94, %r14
	xorpd	%xmm0, %xmm0
	jne	.LBB2_2
	jmp	.LBB2_57
.LBB2_55:                               #   in Loop: Header=BB2_2 Depth=1
	cmpq	$8, %rdx
	jne	.LBB2_42
# %bb.56:                               #   in Loop: Header=BB2_2 Depth=1
	movsd	(%rsi), %xmm0                   # xmm0 = mem[0],zero
	movsd	%xmm0, (%rbx)
	jmp	.LBB2_42
.LBB2_57:
	movq	120(%rsp), %rax
	subq	112(%rsp), %rax
	sarq	$3, %rax
	movabsq	$-6148914691236517205, %rsi     # imm = 0xAAAAAAAAAAAAAAAB
	imulq	%rax, %rsi
.Ltmp169:
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertImEERSoT_
.Ltmp170:
# %bb.58:                               # %_ZNSolsEm.exit
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	-24(%rax), %rdi
	addq	%rbx, %rdi
.Ltmp171:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp172:
# %bb.59:                               # %.noexc196
.Ltmp173:
	movsbl	%al, %esi
	movq	%rbx, %rdi
	callq	_ZNSo3putEc
.Ltmp174:
# %bb.60:                               # %.noexc197
.Ltmp175:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp176:
# %bb.61:                               # %_ZNSolsEPFRSoS_E.exit126
.Ltmp178:
	leaq	360(%rsp), %rdi
	movl	$.L.str.10, %esi
	movl	$16, %edx
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode
.Ltmp179:
# %bb.62:
.Ltmp181:
	leaq	360(%rsp), %rdi
	movl	$.L.str.11, %esi
	movl	$5, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp182:
# %bb.63:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit128.preheader
	leaq	368(%rsp), %rbx
	xorl	%r15d, %r15d
	movl	$-261, %ebp                     # imm = 0xFEFB
	leaq	360(%rsp), %r14
.LBB2_64:                               # =>This Inner Loop Header: Depth=1
	movq	360(%rsp), %rax
	movq	-24(%rax), %rcx
	movl	384(%rsp,%rcx), %edx
	andl	%ebp, %edx
	orl	$4, %edx
	movl	%edx, 384(%rsp,%rcx)
	movq	-24(%rax), %rcx
	movq	$1, 368(%rsp,%rcx)
	movq	-24(%rax), %rax
	movq	$10, 376(%rsp,%rax)
	movq	176(%rsp), %rax
	movsd	(%rax,%r15,8), %xmm0            # xmm0 = mem[0],zero
.Ltmp183:
	movq	%r14, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp184:
# %bb.65:                               # %_ZNSolsEd.exit134
                                        #   in Loop: Header=BB2_64 Depth=1
.Ltmp185:
	movl	$.L.str.12, %esi
	movl	$5, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp186:
# %bb.66:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit136
                                        #   in Loop: Header=BB2_64 Depth=1
	incq	%r15
	cmpq	$94, %r15
	jne	.LBB2_64
# %bb.67:
	movq	360(%rsp), %rax
	addq	-24(%rax), %r14
.Ltmp188:
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp189:
# %bb.68:                               # %.noexc200
.Ltmp190:
	movsbl	%al, %esi
	leaq	360(%rsp), %r14
	movq	%r14, %rdi
	callq	_ZNSo3putEc
.Ltmp191:
# %bb.69:                               # %.noexc201
.Ltmp192:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp193:
# %bb.70:                               # %_ZNSolsEPFRSoS_E.exit130.preheader.preheader
	xorl	%r15d, %r15d
	movl	$-261, %ebp                     # imm = 0xFEFB
.LBB2_71:                               # %_ZNSolsEPFRSoS_E.exit130.preheader
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB2_74 Depth 2
.Ltmp194:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_ZNSolsEi
.Ltmp195:
# %bb.72:                               #   in Loop: Header=BB2_71 Depth=1
.Ltmp196:
	movl	$.L.str.13, %esi
	movl	$8, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp197:
# %bb.73:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit140.preheader.preheader
                                        #   in Loop: Header=BB2_71 Depth=1
	xorl	%r12d, %r12d
.LBB2_74:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit140.preheader
                                        #   Parent Loop BB2_71 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movq	360(%rsp), %rax
	movq	-24(%rax), %rcx
	movl	384(%rsp,%rcx), %edx
	andl	%ebp, %edx
	orl	$256, %edx                      # imm = 0x100
	movl	%edx, 384(%rsp,%rcx)
	movq	-24(%rax), %rcx
	movq	$3, 368(%rsp,%rcx)
	movq	-24(%rax), %rax
	movq	$10, 376(%rsp,%rax)
	movq	112(%rsp), %rax
	movq	(%rax,%r12), %rax
	movsd	(%rax,%r15,8), %xmm0            # xmm0 = mem[0],zero
.Ltmp198:
	movq	%r14, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp199:
# %bb.75:                               # %_ZNSolsEd.exit146
                                        #   in Loop: Header=BB2_74 Depth=2
.Ltmp200:
	movl	$.L.str.13, %esi
	movl	$8, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp201:
# %bb.76:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit148
                                        #   in Loop: Header=BB2_74 Depth=2
	addq	$24, %r12
	cmpq	$2256, %r12                     # imm = 0x8D0
	jne	.LBB2_74
# %bb.77:                               #   in Loop: Header=BB2_71 Depth=1
	movq	360(%rsp), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
.Ltmp203:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp204:
# %bb.78:                               # %.noexc208
                                        #   in Loop: Header=BB2_71 Depth=1
.Ltmp205:
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
.Ltmp206:
# %bb.79:                               # %.noexc209
                                        #   in Loop: Header=BB2_71 Depth=1
.Ltmp207:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp208:
# %bb.80:                               # %_ZNSolsEPFRSoS_E.exit142
                                        #   in Loop: Header=BB2_71 Depth=1
	incq	%r15
	cmpq	$400, %r15                      # imm = 0x190
	jne	.LBB2_71
# %bb.81:
	movq	360(%rsp), %rax
	addq	-24(%rax), %r14
.Ltmp210:
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp211:
# %bb.82:                               # %.noexc204
.Ltmp212:
	movsbl	%al, %esi
	leaq	360(%rsp), %rdi
	callq	_ZNSo3putEc
.Ltmp213:
# %bb.83:                               # %.noexc205
.Ltmp214:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp215:
# %bb.84:                               # %_ZNSt6vectorIdSaIdEED2Ev.exit150
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE(%rip), %rax
	leaq	608(%rsp), %r14
	movq	%rax, -248(%r14)
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE+24(%rip), %rcx
	movq	-24(%rax), %rax
	movq	%rcx, 360(%rsp,%rax)
	movq	%rbx, %rdi
	callq	_ZNSt13basic_filebufIcSt11char_traitsIcEED2Ev
	movq	%r14, %rdi
	callq	_ZNSt8ios_baseD2Ev
	leaq	112(%rsp), %rdi
	callq	_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev
	movq	272(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB2_86
# %bb.85:
	callq	_ZdlPv
.LBB2_86:                               # %_ZNSt6vectorIdSaIdEED2Ev.exit152
	movq	144(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB2_88
# %bb.87:
	callq	_ZdlPv
.LBB2_88:                               # %_ZNSt6vectorIdSaIdEED2Ev.exit154
	movq	304(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB2_90
# %bb.89:
	callq	_ZdlPv
.LBB2_90:                               # %_ZNSt6vectorIdSaIdEED2Ev.exit156
	movq	336(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB2_92
# %bb.91:
	callq	_ZdlPv
.LBB2_92:                               # %_ZNSt6vectorIdSaIdEED2Ev.exit168
	movq	176(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB2_94
# %bb.93:
	callq	_ZdlPv
.LBB2_94:                               # %_ZNSt6vectorIdSaIdEED2Ev.exit170
	xorl	%eax, %eax
	addq	$1256, %rsp                     # imm = 0x4E8
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB2_95:
	.cfi_def_cfa_offset 1312
.Ltmp144:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.9, %esi
	movl	$20, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp145:
# %bb.96:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit114
.Ltmp146:
	movl	$_ZSt4cout, %edi
	callq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
.Ltmp147:
# %bb.97:                               # %_ZNSolsEPFRSoS_E.exit115
	movl	$1, %edi
	callq	exit
.LBB2_98:
.Ltmp180:
	jmp	.LBB2_101
.LBB2_99:
.Ltmp76:
	movq	%rax, %rbx
	jmp	.LBB2_131
.LBB2_100:
.Ltmp177:
.LBB2_101:
	movq	%rax, %rbx
	jmp	.LBB2_130
.LBB2_102:
.Ltmp216:
	jmp	.LBB2_129
.LBB2_103:                              # %.loopexit.split-lp
.Ltmp148:
	jmp	.LBB2_113
.LBB2_104:
.Ltmp143:
	jmp	.LBB2_115
.LBB2_105:
.Ltmp153:
	jmp	.LBB2_113
.LBB2_106:
.Ltmp159:
	jmp	.LBB2_113
.LBB2_107:
.Ltmp162:
	jmp	.LBB2_118
.LBB2_108:
.Ltmp168:
	jmp	.LBB2_118
.LBB2_109:
.Ltmp131:
	jmp	.LBB2_124
.LBB2_110:
.Ltmp79:
	movq	%rax, %rbx
	jmp	.LBB2_126
.LBB2_111:
.Ltmp187:
	jmp	.LBB2_129
.LBB2_112:                              # %.loopexit
.Ltmp156:
.LBB2_113:
	movq	%rax, %rbx
	jmp	.LBB2_120
.LBB2_114:
.Ltmp140:
.LBB2_115:
	movq	%rax, %rbx
	jmp	.LBB2_121
.LBB2_116:
.Ltmp209:
	jmp	.LBB2_129
.LBB2_117:
.Ltmp165:
.LBB2_118:
	movq	%rax, %rbx
	movq	208(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB2_120
# %bb.119:
	callq	_ZdlPv
.LBB2_120:
	leaq	360(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
.LBB2_121:
	movq	232(%rsp), %rdi
	leaq	248(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB2_125
# %bb.122:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i120
	callq	_ZdlPv
	jmp	.LBB2_125
.LBB2_123:
.Ltmp128:
.LBB2_124:
	movq	%rax, %rbx
.LBB2_125:
	leaq	880(%rsp), %rdi
	movl	$_ZTTNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE, %esi
	callq	_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED2Ev
	leaq	992(%rsp), %rdi
	callq	_ZNSt8ios_baseD2Ev
.LBB2_126:
	movq	80(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB2_130
# %bb.127:
	callq	_ZdlPv
	jmp	.LBB2_130
.LBB2_128:
.Ltmp202:
.LBB2_129:
	movq	%rax, %rbx
	leaq	360(%rsp), %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev
.LBB2_130:
	leaq	112(%rsp), %rdi
	callq	_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev
.LBB2_131:                              # %_ZNSt6vectorIdSaIdEED2Ev.exit172
	movq	272(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB2_133
# %bb.132:
	callq	_ZdlPv
.LBB2_133:                              # %_ZNSt6vectorIdSaIdEED2Ev.exit174
	movq	144(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB2_135
# %bb.134:
	callq	_ZdlPv
.LBB2_135:                              # %_ZNSt6vectorIdSaIdEED2Ev.exit176
	movq	304(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB2_137
# %bb.136:
	callq	_ZdlPv
.LBB2_137:                              # %_ZNSt6vectorIdSaIdEED2Ev.exit178
	movq	336(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB2_139
# %bb.138:
	callq	_ZdlPv
.LBB2_139:                              # %_ZNSt6vectorIdSaIdEED2Ev.exit190
	movq	176(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB2_141
# %bb.140:
	callq	_ZdlPv
.LBB2_141:                              # %_ZNSt6vectorIdSaIdEED2Ev.exit192
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end2:
	.size	main, .Lfunc_end2-main
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table2:
.Lexception1:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end1-.Lcst_begin1
.Lcst_begin1:
	.uleb128 .Ltmp74-.Lfunc_begin1          # >> Call Site 1 <<
	.uleb128 .Ltmp75-.Ltmp74                #   Call between .Ltmp74 and .Ltmp75
	.uleb128 .Ltmp76-.Lfunc_begin1          #     jumps to .Ltmp76
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp77-.Lfunc_begin1          # >> Call Site 2 <<
	.uleb128 .Ltmp78-.Ltmp77                #   Call between .Ltmp77 and .Ltmp78
	.uleb128 .Ltmp79-.Lfunc_begin1          #     jumps to .Ltmp79
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp102-.Lfunc_begin1         # >> Call Site 3 <<
	.uleb128 .Ltmp127-.Ltmp102              #   Call between .Ltmp102 and .Ltmp127
	.uleb128 .Ltmp128-.Lfunc_begin1         #     jumps to .Ltmp128
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp129-.Lfunc_begin1         # >> Call Site 4 <<
	.uleb128 .Ltmp130-.Ltmp129              #   Call between .Ltmp129 and .Ltmp130
	.uleb128 .Ltmp131-.Lfunc_begin1         #     jumps to .Ltmp131
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp132-.Lfunc_begin1         # >> Call Site 5 <<
	.uleb128 .Ltmp139-.Ltmp132              #   Call between .Ltmp132 and .Ltmp139
	.uleb128 .Ltmp140-.Lfunc_begin1         #     jumps to .Ltmp140
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp141-.Lfunc_begin1         # >> Call Site 6 <<
	.uleb128 .Ltmp142-.Ltmp141              #   Call between .Ltmp141 and .Ltmp142
	.uleb128 .Ltmp143-.Lfunc_begin1         #     jumps to .Ltmp143
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp149-.Lfunc_begin1         # >> Call Site 7 <<
	.uleb128 .Ltmp150-.Ltmp149              #   Call between .Ltmp149 and .Ltmp150
	.uleb128 .Ltmp156-.Lfunc_begin1         #     jumps to .Ltmp156
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp151-.Lfunc_begin1         # >> Call Site 8 <<
	.uleb128 .Ltmp152-.Ltmp151              #   Call between .Ltmp151 and .Ltmp152
	.uleb128 .Ltmp153-.Lfunc_begin1         #     jumps to .Ltmp153
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp154-.Lfunc_begin1         # >> Call Site 9 <<
	.uleb128 .Ltmp155-.Ltmp154              #   Call between .Ltmp154 and .Ltmp155
	.uleb128 .Ltmp156-.Lfunc_begin1         #     jumps to .Ltmp156
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp157-.Lfunc_begin1         # >> Call Site 10 <<
	.uleb128 .Ltmp158-.Ltmp157              #   Call between .Ltmp157 and .Ltmp158
	.uleb128 .Ltmp159-.Lfunc_begin1         #     jumps to .Ltmp159
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp160-.Lfunc_begin1         # >> Call Site 11 <<
	.uleb128 .Ltmp161-.Ltmp160              #   Call between .Ltmp160 and .Ltmp161
	.uleb128 .Ltmp162-.Lfunc_begin1         #     jumps to .Ltmp162
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp161-.Lfunc_begin1         # >> Call Site 12 <<
	.uleb128 .Ltmp163-.Ltmp161              #   Call between .Ltmp161 and .Ltmp163
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp163-.Lfunc_begin1         # >> Call Site 13 <<
	.uleb128 .Ltmp164-.Ltmp163              #   Call between .Ltmp163 and .Ltmp164
	.uleb128 .Ltmp165-.Lfunc_begin1         #     jumps to .Ltmp165
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp166-.Lfunc_begin1         # >> Call Site 14 <<
	.uleb128 .Ltmp167-.Ltmp166              #   Call between .Ltmp166 and .Ltmp167
	.uleb128 .Ltmp168-.Lfunc_begin1         #     jumps to .Ltmp168
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp169-.Lfunc_begin1         # >> Call Site 15 <<
	.uleb128 .Ltmp176-.Ltmp169              #   Call between .Ltmp169 and .Ltmp176
	.uleb128 .Ltmp177-.Lfunc_begin1         #     jumps to .Ltmp177
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp178-.Lfunc_begin1         # >> Call Site 16 <<
	.uleb128 .Ltmp179-.Ltmp178              #   Call between .Ltmp178 and .Ltmp179
	.uleb128 .Ltmp180-.Lfunc_begin1         #     jumps to .Ltmp180
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp181-.Lfunc_begin1         # >> Call Site 17 <<
	.uleb128 .Ltmp182-.Ltmp181              #   Call between .Ltmp181 and .Ltmp182
	.uleb128 .Ltmp216-.Lfunc_begin1         #     jumps to .Ltmp216
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp183-.Lfunc_begin1         # >> Call Site 18 <<
	.uleb128 .Ltmp186-.Ltmp183              #   Call between .Ltmp183 and .Ltmp186
	.uleb128 .Ltmp187-.Lfunc_begin1         #     jumps to .Ltmp187
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp188-.Lfunc_begin1         # >> Call Site 19 <<
	.uleb128 .Ltmp193-.Ltmp188              #   Call between .Ltmp188 and .Ltmp193
	.uleb128 .Ltmp216-.Lfunc_begin1         #     jumps to .Ltmp216
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp194-.Lfunc_begin1         # >> Call Site 20 <<
	.uleb128 .Ltmp197-.Ltmp194              #   Call between .Ltmp194 and .Ltmp197
	.uleb128 .Ltmp209-.Lfunc_begin1         #     jumps to .Ltmp209
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp198-.Lfunc_begin1         # >> Call Site 21 <<
	.uleb128 .Ltmp201-.Ltmp198              #   Call between .Ltmp198 and .Ltmp201
	.uleb128 .Ltmp202-.Lfunc_begin1         #     jumps to .Ltmp202
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp203-.Lfunc_begin1         # >> Call Site 22 <<
	.uleb128 .Ltmp208-.Ltmp203              #   Call between .Ltmp203 and .Ltmp208
	.uleb128 .Ltmp209-.Lfunc_begin1         #     jumps to .Ltmp209
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp210-.Lfunc_begin1         # >> Call Site 23 <<
	.uleb128 .Ltmp215-.Ltmp210              #   Call between .Ltmp210 and .Ltmp215
	.uleb128 .Ltmp216-.Lfunc_begin1         #     jumps to .Ltmp216
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp144-.Lfunc_begin1         # >> Call Site 24 <<
	.uleb128 .Ltmp147-.Ltmp144              #   Call between .Ltmp144 and .Ltmp147
	.uleb128 .Ltmp148-.Lfunc_begin1         #     jumps to .Ltmp148
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp147-.Lfunc_begin1         # >> Call Site 25 <<
	.uleb128 .Lfunc_end2-.Ltmp147           #   Call between .Ltmp147 and .Lfunc_end2
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end1:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorIdSaIdEEC2EmRKS0_,"axG",@progbits,_ZNSt6vectorIdSaIdEEC2EmRKS0_,comdat
	.weak	_ZNSt6vectorIdSaIdEEC2EmRKS0_   # -- Begin function _ZNSt6vectorIdSaIdEEC2EmRKS0_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIdSaIdEEC2EmRKS0_,@function
_ZNSt6vectorIdSaIdEEC2EmRKS0_:          # @_ZNSt6vectorIdSaIdEEC2EmRKS0_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %rax
	shrq	$60, %rax
	jne	.LBB3_7
# %bb.1:                                # %_ZNSt6vectorIdSaIdEE17_S_check_init_lenEmRKS0_.exit
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	testq	%rsi, %rsi
	je	.LBB3_2
# %bb.3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIdE8allocateEmPKv
	movq	%rax, (%rbx)
	leaq	(%rax,%r14,8), %r15
	movq	%r15, 16(%rbx)
	movq	$0, (%rax)
	addq	$8, %rax
	cmpq	$1, %r14
	jne	.LBB3_5
# %bb.4:
	movq	%rax, %r15
	jmp	.LBB3_6
.LBB3_2:                                # %_ZNSt12_Vector_baseIdSaIdEEC2EmRKS0_.exit.thread
	movups	%xmm0, (%rbx)
	movq	$0, 16(%rbx)
	xorl	%r15d, %r15d
	jmp	.LBB3_6
.LBB3_5:                                # %_ZSt6fill_nIPdmdET_S1_T0_RKT1_.exit.loopexit.i.i.i.i
	leaq	-8(,%r14,8), %rdx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	memset@PLT
.LBB3_6:
	movq	%r15, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.LBB3_7:
	.cfi_def_cfa_offset 32
	movl	$.L.str.18, %edi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end3:
	.size	_ZNSt6vectorIdSaIdEEC2EmRKS0_, .Lfunc_end3-_ZNSt6vectorIdSaIdEEC2EmRKS0_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backERKS1_,"axG",@progbits,_ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backERKS1_,comdat
	.weak	_ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backERKS1_ # -- Begin function _ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backERKS1_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backERKS1_,@function
_ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backERKS1_: # @_ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backERKS1_
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	%rsi, %rdx
	movq	%rdi, %rbx
	movq	8(%rdi), %rsi
	cmpq	16(%rdi), %rsi
	je	.LBB4_2
# %bb.1:
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	callq	_ZNSt6vectorIdSaIdEEC2ERKS1_
	addq	$24, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.LBB4_2:
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	_ZNSt6vectorIS_IdSaIdEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_ # TAILCALL
.Lfunc_end4:
	.size	_ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backERKS1_, .Lfunc_end4-_ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backERKS1_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev,"axG",@progbits,_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev,comdat
	.weak	_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev # -- Begin function _ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev,@function
_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev:    # @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	(%rdi), %rbx
	movq	8(%rdi), %r15
	cmpq	%r15, %rbx
	je	.LBB5_6
# %bb.1:                                # %.lr.ph.i.i.i.preheader
	movq	%rdi, %r14
.LBB5_2:                                # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB5_4
# %bb.3:                                #   in Loop: Header=BB5_2 Depth=1
	callq	_ZdlPv
.LBB5_4:                                # %_ZSt8_DestroyISt6vectorIdSaIdEEEvPT_.exit.i.i.i
                                        #   in Loop: Header=BB5_2 Depth=1
	addq	$24, %rbx
	cmpq	%r15, %rbx
	jne	.LBB5_2
# %bb.5:                                # %_ZSt8_DestroyIPSt6vectorIdSaIdEES2_EvT_S4_RSaIT0_E.exitthread-pre-split
	movq	(%r14), %rbx
.LBB5_6:                                # %_ZSt8_DestroyIPSt6vectorIdSaIdEES2_EvT_S4_RSaIT0_E.exit
	testq	%rbx, %rbx
	je	.LBB5_7
# %bb.8:
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZdlPv                          # TAILCALL
.LBB5_7:                                # %_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EED2Ev.exit
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end5:
	.size	_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev, .Lfunc_end5-_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev
	.cfi_endproc
                                        # -- End function
	.section	.text.__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_end6:
	.size	__clang_call_terminate, .Lfunc_end6-__clang_call_terminate
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorIdE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorIdE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorIdE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorIdE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorIdE8allocateEmPKv,@function
_ZNSt15__new_allocatorIdE8allocateEmPKv: # @_ZNSt15__new_allocatorIdE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$60, %rax
	jne	.LBB7_1
# %bb.3:
	shlq	$3, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB7_1:
	.cfi_def_cfa_offset 16
	shrq	$61, %rsi
	je	.LBB7_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB7_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end7:
	.size	_ZNSt15__new_allocatorIdE8allocateEmPKv, .Lfunc_end7-_ZNSt15__new_allocatorIdE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIdSaIdEE17_M_realloc_insertIJRKdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_,"axG",@progbits,_ZNSt6vectorIdSaIdEE17_M_realloc_insertIJRKdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_,comdat
	.weak	_ZNSt6vectorIdSaIdEE17_M_realloc_insertIJRKdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_ # -- Begin function _ZNSt6vectorIdSaIdEE17_M_realloc_insertIJRKdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIdSaIdEE17_M_realloc_insertIJRKdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_,@function
_ZNSt6vectorIdSaIdEE17_M_realloc_insertIJRKdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_: # @_ZNSt6vectorIdSaIdEE17_M_realloc_insertIJRKdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rdx, (%rsp)                    # 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	$1, %esi
	movl	$.L.str.15, %edx
	callq	_ZNKSt6vectorIdSaIdEE12_M_check_lenEmPKc
	movq	(%rbx), %r13
	movq	8(%rbx), %r15
	movq	%r12, 8(%rsp)                   # 8-byte Spill
	subq	%r13, %r12
	movq	%r12, %r14
	sarq	$3, %r14
	testq	%rax, %rax
	movq	%rax, 16(%rsp)                  # 8-byte Spill
	je	.LBB8_1
# %bb.2:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIdE8allocateEmPKv
	movq	%rax, %rbp
	jmp	.LBB8_3
.LBB8_1:
	xorl	%ebp, %ebp
.LBB8_3:                                # %_ZNSt12_Vector_baseIdSaIdEE11_M_allocateEm.exit
	movq	(%rsp), %rax                    # 8-byte Reload
	movsd	(%rax), %xmm0                   # xmm0 = mem[0],zero
	movsd	%xmm0, (%rbp,%r14,8)
	testq	%r12, %r12
	jle	.LBB8_5
# %bb.4:
	movq	%rbp, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	memmove@PLT
.LBB8_5:                                # %_ZNSt6vectorIdSaIdEE11_S_relocateEPdS2_S2_RS0_.exit
	addq	%rbp, %r12
	addq	$8, %r12
	movq	8(%rsp), %rsi                   # 8-byte Reload
	subq	%rsi, %r15
	testq	%r15, %r15
	jle	.LBB8_7
# %bb.6:
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	memmove@PLT
.LBB8_7:                                # %_ZNSt6vectorIdSaIdEE11_S_relocateEPdS2_S2_RS0_.exit16
	testq	%r13, %r13
	je	.LBB8_9
# %bb.8:
	movq	%r13, %rdi
	callq	_ZdlPv
.LBB8_9:                                # %_ZNSt12_Vector_baseIdSaIdEE13_M_deallocateEPdm.exit
	addq	%r15, %r12
	movq	%rbp, (%rbx)
	movq	%r12, 8(%rbx)
	movq	16(%rsp), %rax                  # 8-byte Reload
	leaq	(,%rax,8), %rax
	addq	%rbp, %rax
	movq	%rax, 16(%rbx)
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end8:
	.size	_ZNSt6vectorIdSaIdEE17_M_realloc_insertIJRKdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_, .Lfunc_end8-_ZNSt6vectorIdSaIdEE17_M_realloc_insertIJRKdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNKSt6vectorIdSaIdEE12_M_check_lenEmPKc,"axG",@progbits,_ZNKSt6vectorIdSaIdEE12_M_check_lenEmPKc,comdat
	.weak	_ZNKSt6vectorIdSaIdEE12_M_check_lenEmPKc # -- Begin function _ZNKSt6vectorIdSaIdEE12_M_check_lenEmPKc
	.p2align	1, 0x90
	.type	_ZNKSt6vectorIdSaIdEE12_M_check_lenEmPKc,@function
_ZNKSt6vectorIdSaIdEE12_M_check_lenEmPKc: # @_ZNKSt6vectorIdSaIdEE12_M_check_lenEmPKc
	.cfi_startproc
# %bb.0:
	movabsq	$1152921504606846975, %rcx      # imm = 0xFFFFFFFFFFFFFFF
	movq	8(%rdi), %r8
	subq	(%rdi), %r8
	sarq	$3, %r8
	movq	%rcx, %rax
	subq	%r8, %rax
	cmpq	%rsi, %rax
	jb	.LBB9_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
.LBB9_2:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdx, %rdi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end9:
	.size	_ZNKSt6vectorIdSaIdEE12_M_check_lenEmPKc, .Lfunc_end9-_ZNKSt6vectorIdSaIdEE12_M_check_lenEmPKc
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIdSaIdEE17_M_realloc_insertIJdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_,"axG",@progbits,_ZNSt6vectorIdSaIdEE17_M_realloc_insertIJdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_,comdat
	.weak	_ZNSt6vectorIdSaIdEE17_M_realloc_insertIJdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_ # -- Begin function _ZNSt6vectorIdSaIdEE17_M_realloc_insertIJdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIdSaIdEE17_M_realloc_insertIJdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_,@function
_ZNSt6vectorIdSaIdEE17_M_realloc_insertIJdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_: # @_ZNSt6vectorIdSaIdEE17_M_realloc_insertIJdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rdx, (%rsp)                    # 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	$1, %esi
	movl	$.L.str.15, %edx
	callq	_ZNKSt6vectorIdSaIdEE12_M_check_lenEmPKc
	movq	(%rbx), %r13
	movq	8(%rbx), %r15
	movq	%r12, 8(%rsp)                   # 8-byte Spill
	subq	%r13, %r12
	movq	%r12, %r14
	sarq	$3, %r14
	testq	%rax, %rax
	movq	%rax, 16(%rsp)                  # 8-byte Spill
	je	.LBB10_1
# %bb.2:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIdE8allocateEmPKv
	movq	%rax, %rbp
	jmp	.LBB10_3
.LBB10_1:
	xorl	%ebp, %ebp
.LBB10_3:                               # %_ZNSt12_Vector_baseIdSaIdEE11_M_allocateEm.exit
	movq	(%rsp), %rax                    # 8-byte Reload
	movsd	(%rax), %xmm0                   # xmm0 = mem[0],zero
	movsd	%xmm0, (%rbp,%r14,8)
	testq	%r12, %r12
	jle	.LBB10_5
# %bb.4:
	movq	%rbp, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	memmove@PLT
.LBB10_5:                               # %_ZNSt6vectorIdSaIdEE11_S_relocateEPdS2_S2_RS0_.exit
	addq	%rbp, %r12
	addq	$8, %r12
	movq	8(%rsp), %rsi                   # 8-byte Reload
	subq	%rsi, %r15
	testq	%r15, %r15
	jle	.LBB10_7
# %bb.6:
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	memmove@PLT
.LBB10_7:                               # %_ZNSt6vectorIdSaIdEE11_S_relocateEPdS2_S2_RS0_.exit16
	testq	%r13, %r13
	je	.LBB10_9
# %bb.8:
	movq	%r13, %rdi
	callq	_ZdlPv
.LBB10_9:                               # %_ZNSt12_Vector_baseIdSaIdEE13_M_deallocateEPdm.exit
	addq	%r15, %r12
	movq	%rbp, (%rbx)
	movq	%r12, 8(%rbx)
	movq	16(%rsp), %rax                  # 8-byte Reload
	leaq	(,%rax,8), %rax
	addq	%rbp, %rax
	movq	%rax, 16(%rbx)
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end10:
	.size	_ZNSt6vectorIdSaIdEE17_M_realloc_insertIJdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_, .Lfunc_end10-_ZNSt6vectorIdSaIdEE17_M_realloc_insertIJdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIS_IdSaIdEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_,"axG",@progbits,_ZNSt6vectorIS_IdSaIdEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_,comdat
	.weak	_ZNSt6vectorIS_IdSaIdEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_ # -- Begin function _ZNSt6vectorIS_IdSaIdEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_IdSaIdEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_,@function
_ZNSt6vectorIS_IdSaIdEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_: # @_ZNSt6vectorIS_IdSaIdEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_
.Lfunc_begin2:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception2
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rdx, 16(%rsp)                  # 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movl	$1, %esi
	movl	$.L.str.15, %edx
	callq	_ZNKSt6vectorIS_IdSaIdEESaIS1_EE12_M_check_lenEmPKc
	movq	%rax, %rsi
	movq	(%rbx), %r12
	movq	8(%rbx), %rbp
	movq	%r13, %rax
	subq	%r12, %rax
	sarq	$3, %rax
	movabsq	$-6148914691236517205, %r14     # imm = 0xAAAAAAAAAAAAAAAB
	imulq	%rax, %r14
	testq	%rsi, %rsi
	movq	%rsi, 8(%rsp)                   # 8-byte Spill
	je	.LBB11_1
# %bb.2:
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorISt6vectorIdSaIdEEE8allocateEmPKv
	movq	%rax, %r15
	jmp	.LBB11_3
.LBB11_1:
	xorl	%r15d, %r15d
.LBB11_3:                               # %_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EE11_M_allocateEm.exit
	leaq	(%r14,%r14,2), %rax
	leaq	(%r15,%rax,8), %r14
.Ltmp217:
	movq	%r14, %rdi
	movq	16(%rsp), %rsi                  # 8-byte Reload
	callq	_ZNSt6vectorIdSaIdEEC2ERKS1_
.Ltmp218:
# %bb.4:                                # %_ZNSt16allocator_traitsISaISt6vectorIdSaIdEEEE9constructIS2_JRKS2_EEEvRS3_PT_DpOT0_.exit
	movq	%r15, %r14
	cmpq	%r13, %r12
	je	.LBB11_7
# %bb.5:                                # %.lr.ph.i.i.i.preheader
	xorps	%xmm0, %xmm0
	movq	%r15, %r14
	movq	%r12, %rax
.LBB11_6:                               # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rax), %rcx
	movq	%rcx, (%r14)
	movq	8(%rax), %rcx
	movq	%rcx, 8(%r14)
	movq	16(%rax), %rcx
	movq	%rcx, 16(%r14)
	movups	%xmm0, (%rax)
	movq	$0, 16(%rax)
	addq	$24, %r14
	addq	$24, %rax
	cmpq	%r13, %rax
	jne	.LBB11_6
.LBB11_7:                               # %_ZNSt6vectorIS_IdSaIdEESaIS1_EE11_S_relocateEPS1_S4_S4_RS2_.exit
	addq	$24, %r14
	cmpq	%r13, %rbp
	je	.LBB11_10
# %bb.8:                                # %.lr.ph.i.i.i27.preheader
	xorps	%xmm0, %xmm0
.LBB11_9:                               # %.lr.ph.i.i.i27
                                        # =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	%rax, (%r14)
	movq	8(%r13), %rax
	movq	%rax, 8(%r14)
	movq	16(%r13), %rax
	movq	%rax, 16(%r14)
	movups	%xmm0, (%r13)
	movq	$0, 16(%r13)
	addq	$24, %r14
	addq	$24, %r13
	cmpq	%rbp, %r13
	jne	.LBB11_9
.LBB11_10:                              # %_ZNSt6vectorIS_IdSaIdEESaIS1_EE11_S_relocateEPS1_S4_S4_RS2_.exit32
	testq	%r12, %r12
	je	.LBB11_12
# %bb.11:
	movq	%r12, %rdi
	callq	_ZdlPv
.LBB11_12:                              # %_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EE13_M_deallocateEPS2_m.exit
	movq	%r15, (%rbx)
	movq	%r14, 8(%rbx)
	movq	8(%rsp), %rax                   # 8-byte Reload
	leaq	(%rax,%rax,2), %rax
	leaq	(%r15,%rax,8), %rax
	movq	%rax, 16(%rbx)
	addq	$24, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB11_13:
	.cfi_def_cfa_offset 80
.Ltmp219:
	movq	%rax, %rdi
	callq	__cxa_begin_catch
	testq	%r15, %r15
	jne	.LBB11_15
# %bb.14:
	movq	(%r14), %r15
	testq	%r15, %r15
	je	.LBB11_16
.LBB11_15:                              # %_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EE13_M_deallocateEPS2_m.exit35.sink.split
	movq	%r15, %rdi
	callq	_ZdlPv
.LBB11_16:                              # %_ZNSt12_Vector_baseISt6vectorIdSaIdEESaIS2_EE13_M_deallocateEPS2_m.exit35
.Ltmp220:
	callq	__cxa_rethrow
.Ltmp221:
# %bb.20:
.LBB11_17:
.Ltmp222:
	movq	%rax, %rbx
.Ltmp223:
	callq	__cxa_end_catch
.Ltmp224:
# %bb.18:
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.LBB11_19:
.Ltmp225:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end11:
	.size	_ZNSt6vectorIS_IdSaIdEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_, .Lfunc_end11-_ZNSt6vectorIS_IdSaIdEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt6vectorIS_IdSaIdEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_,"aG",@progbits,_ZNSt6vectorIS_IdSaIdEESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_,comdat
	.p2align	2, 0x0
GCC_except_table11:
.Lexception2:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase0-.Lttbaseref0
.Lttbaseref0:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end2-.Lcst_begin2
.Lcst_begin2:
	.uleb128 .Lfunc_begin2-.Lfunc_begin2    # >> Call Site 1 <<
	.uleb128 .Ltmp217-.Lfunc_begin2         #   Call between .Lfunc_begin2 and .Ltmp217
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp217-.Lfunc_begin2         # >> Call Site 2 <<
	.uleb128 .Ltmp218-.Ltmp217              #   Call between .Ltmp217 and .Ltmp218
	.uleb128 .Ltmp219-.Lfunc_begin2         #     jumps to .Ltmp219
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp218-.Lfunc_begin2         # >> Call Site 3 <<
	.uleb128 .Ltmp220-.Ltmp218              #   Call between .Ltmp218 and .Ltmp220
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp220-.Lfunc_begin2         # >> Call Site 4 <<
	.uleb128 .Ltmp221-.Ltmp220              #   Call between .Ltmp220 and .Ltmp221
	.uleb128 .Ltmp222-.Lfunc_begin2         #     jumps to .Ltmp222
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp223-.Lfunc_begin2         # >> Call Site 5 <<
	.uleb128 .Ltmp224-.Ltmp223              #   Call between .Ltmp223 and .Ltmp224
	.uleb128 .Ltmp225-.Lfunc_begin2         #     jumps to .Ltmp225
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp224-.Lfunc_begin2         # >> Call Site 6 <<
	.uleb128 .Lfunc_end11-.Ltmp224          #   Call between .Ltmp224 and .Lfunc_end11
	.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
.Lttbase0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorIdSaIdEEC2ERKS1_,"axG",@progbits,_ZNSt6vectorIdSaIdEEC2ERKS1_,comdat
	.weak	_ZNSt6vectorIdSaIdEEC2ERKS1_    # -- Begin function _ZNSt6vectorIdSaIdEEC2ERKS1_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIdSaIdEEC2ERKS1_,@function
_ZNSt6vectorIdSaIdEEC2ERKS1_:           # @_ZNSt6vectorIdSaIdEEC2ERKS1_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rsi), %rax
	movq	(%rsi), %rcx
	movq	%rax, %r12
	subq	%rcx, %r12
	sarq	$3, %r12
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	cmpq	%rcx, %rax
	je	.LBB12_1
# %bb.2:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIdE8allocateEmPKv
	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:
	movsd	(%rsi), %xmm0                   # xmm0 = mem[0],zero
	movsd	%xmm0, (%r15)
	jmp	.LBB12_7
.Lfunc_end12:
	.size	_ZNSt6vectorIdSaIdEEC2ERKS1_, .Lfunc_end12-_ZNSt6vectorIdSaIdEEC2ERKS1_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNKSt6vectorIS_IdSaIdEESaIS1_EE12_M_check_lenEmPKc,"axG",@progbits,_ZNKSt6vectorIS_IdSaIdEESaIS1_EE12_M_check_lenEmPKc,comdat
	.weak	_ZNKSt6vectorIS_IdSaIdEESaIS1_EE12_M_check_lenEmPKc # -- Begin function _ZNKSt6vectorIS_IdSaIdEESaIS1_EE12_M_check_lenEmPKc
	.p2align	1, 0x90
	.type	_ZNKSt6vectorIS_IdSaIdEESaIS1_EE12_M_check_lenEmPKc,@function
_ZNKSt6vectorIS_IdSaIdEESaIS1_EE12_M_check_lenEmPKc: # @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE12_M_check_lenEmPKc
	.cfi_startproc
# %bb.0:
	movabsq	$384307168202282325, %rcx       # imm = 0x555555555555555
	movq	8(%rdi), %rax
	subq	(%rdi), %rax
	sarq	$3, %rax
	movabsq	$-6148914691236517205, %rdi     # imm = 0xAAAAAAAAAAAAAAAB
	imulq	%rax, %rdi
	movq	%rcx, %rax
	subq	%rdi, %rax
	cmpq	%rsi, %rax
	jb	.LBB13_2
# %bb.1:
	cmpq	%rsi, %rdi
	cmovaq	%rdi, %rsi
	leaq	(%rsi,%rdi), %rax
	cmpq	%rcx, %rax
	cmovaeq	%rcx, %rax
	addq	%rdi, %rsi
	cmovbq	%rcx, %rax
	retq
.LBB13_2:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdx, %rdi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end13:
	.size	_ZNKSt6vectorIS_IdSaIdEESaIS1_EE12_M_check_lenEmPKc, .Lfunc_end13-_ZNKSt6vectorIS_IdSaIdEESaIS1_EE12_M_check_lenEmPKc
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorISt6vectorIdSaIdEEE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorISt6vectorIdSaIdEEE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorISt6vectorIdSaIdEEE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorISt6vectorIdSaIdEEE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorISt6vectorIdSaIdEEE8allocateEmPKv,@function
_ZNSt15__new_allocatorISt6vectorIdSaIdEEE8allocateEmPKv: # @_ZNSt15__new_allocatorISt6vectorIdSaIdEEE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movabsq	$384307168202282326, %rax       # imm = 0x555555555555556
	cmpq	%rax, %rsi
	jae	.LBB14_1
# %bb.3:
	shlq	$3, %rsi
	leaq	(%rsi,%rsi,2), %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB14_1:
	.cfi_def_cfa_offset 16
	movabsq	$768614336404564651, %rax       # imm = 0xAAAAAAAAAAAAAAB
	cmpq	%rax, %rsi
	jb	.LBB14_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB14_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end14:
	.size	_ZNSt15__new_allocatorISt6vectorIdSaIdEEE8allocateEmPKv, .Lfunc_end14-_ZNSt15__new_allocatorISt6vectorIdSaIdEEE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	"IMPT_source.dat"
	.size	.L.str, 16

	.type	.L.str.1,@object                # @.str.1
.L.str.1:
	.asciz	"Error, IMPT_source not found"
	.size	.L.str.1, 29

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

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

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

	.type	.L.str.5,@object                # @.str.5
.L.str.5:
	.asciz	"by"
	.size	.L.str.5, 3

	.type	.L.str.6,@object                # @.str.6
.L.str.6:
	.asciz	"spots_"
	.size	.L.str.6, 7

	.type	.L.str.7,@object                # @.str.7
.L.str.7:
	.asciz	"cm2spacing.bin"
	.size	.L.str.7, 15

	.type	.L.str.8,@object                # @.str.8
.L.str.8:
	.asciz	"GyPerMU3D_"
	.size	.L.str.8, 11

	.type	.L.str.9,@object                # @.str.9
.L.str.9:
	.asciz	"Error, no file found"
	.size	.L.str.9, 21

	.type	.L.str.10,@object               # @.str.10
.L.str.10:
	.asciz	"depthDose.txt"
	.size	.L.str.10, 14

	.type	.L.str.11,@object               # @.str.11
.L.str.11:
	.asciz	"Z(mm)"
	.size	.L.str.11, 6

	.type	.L.str.12,@object               # @.str.12
.L.str.12:
	.asciz	"(MeV)"
	.size	.L.str.12, 6

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

	.type	.L.str.14,@object               # @.str.14
.L.str.14:
	.asciz	"vector::reserve"
	.size	.L.str.14, 16

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

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

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

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

	.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_
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.amdgpu_metadata
---
amdhsa.kernels:  []
amdhsa.target:   amdgcn-amd-amdhsa--gfx1100
amdhsa.version:
  - 1
  - 2
...

	.end_amdgpu_metadata
