#include <malloc.h>
#include <string.h>
#include <stdio.h>
#include <vector>
#include <fstream>
#include <iostream>
using namespace std;
#include <cufft.h>

#define BATCH 1 //размер данных для обработки

#define CUDA_CHECK_RETURN(value) {\
	cudaError_t _m_cudaStat = value;\
	if (_m_cudaStat != cudaSuccess) {\
		fprintf(stderr, "Error \"%s\" at line %d in file %s\n",\
			cudaGetErrorString(_m_cudaStat), __LINE__, __FILE__);\
		exit(1);\
	}\
} //макрос для обработки ошибок 

#define CUFFT_CHECK_RETURN(value) {\
	cufftResult stat = value;\
	if (stat != CUFFT_SUCCESS) {\
		fprintf(stderr, "Error at line %d in file %s\n",\
			__LINE__, __FILE__);\
		exit(1);\
	}\
} //макрос для обработки ошибок 

int main(void) {
	string line, buffer;
	cufftHandle plan; //дескриптор плана конфигурации (нужен для оптимизации под выбранную аппаратуру)
	cufftComplex *hos_data, *dev_data; //массивы для комплексных чисел
	vector<string> file_string; //одна строка в файле = массив из 4 чисел в виде string 
	vector<float> Wolf_nums; //числа Вольфа (весь диск)
	vector<float> freq; //массив частот после преобразования Фурье (на каждый день одно число)
	vector<float> power; //массив значений ^ 2 из преобразования Фурье
	ifstream in;
	
	for (int i = 1938; i <= 1991; i++) { //цикл по годам
		//открыть файл i-го года
		string path = string("data/w") + to_string(i) + string(".dat"); 
		in.open(path);
		if (!in.is_open()) {
			fprintf(stderr, "can't open a file data/w%d.dat\n", i);
			return -1;
		}
		
		while(getline(in, line)) { //считать строку из файла
			buffer = ""; 
			line += " "; //добавить пробел для обработки последнего числа
			for (int k = 0; k < line.size(); k++) {
				if (line[k] != ' ') {
					buffer += line[k]; //записать число посимвольно в buffer 
				}
				else { //если пробел, то есть получено число в виде строки
					if (buffer != "")
						file_string.push_back(buffer);
						buffer = "";
				}
			}
			
			if (file_string.size() != 0) {
				if (file_string[2] == "999") { //если число Вульфа неизвестно,
					file_string[2] = to_string(Wolf_nums.back()); //то взять предыдущее значение
				}
				Wolf_nums.push_back(stoi(file_string[2])); //преобразовать строку в число, добавить в массив чисел
				file_string.clear(); //очистить строку
			}
		} //end of while(getline(in, line))

		in.close();
	} //end of for(int i = 1938; i <= 1991; i++)
	
	int N = Wolf_nums.size();
	
	cudaMalloc((void**)&dev_data, sizeof(cufftComplex) * N * BATCH);
	hos_data = new cufftComplex[N * BATCH];
	for (int i = 0; i < N * BATCH; i++) {
		hos_data[i].x = Wolf_nums[i]; //действительная часть
		hos_data[i].y = 0.0f; //мнимая часть
	}
	cudaMemcpy(dev_data, hos_data, sizeof(cufftComplex) * N * BATCH, cudaMemcpyHostToDevice);
	
	//создание плана, преобразование Фурье происходит из комплексных чисел в комплексные:
	CUFFT_CHECK_RETURN(cufftPlan1d(&plan, N * BATCH, CUFFT_C2C, BATCH));
	//совершить быстрое преобразование Фурье (FFT):
	CUFFT_CHECK_RETURN(cufftExecC2C(plan, dev_data, dev_data, CUFFT_FORWARD));
	//синхронизация:
	CUDA_CHECK_RETURN(cudaDeviceSynchronize());
	//копируем обратно на хост то, что получено после FFT:
	CUDA_CHECK_RETURN(cudaMemcpy(hos_data, dev_data, N * sizeof(cufftComplex), cudaMemcpyDeviceToHost));
	
	power.resize(N / 2 + 1);
	for (int i = 1; i <= N / 2; i++) {
		//преобразовать значения, т.к. комплексные числа тяжело интерпретировать:
		power[i] = sqrt(hos_data[i].x * hos_data[i].x + hos_data[i].y * hos_data[i].y);
	}
	
	float max_freq = 0.5; //максимальная частота
	freq.resize(N / 2 + 1);
	for (int i = 1; i <= N / 2; i++) {
		//получаем равномерно распределенную сетку частот:
		freq[i] = 1 / (float(i) / float(N/2) * max_freq); 
	}
	
	int maxind = 1; //найти максимальное значение 
	for (int i = 1 ; i <= N / 2; i++) {
		if (power[i] > power[maxind])
			maxind = i;
	}
	
	//freq[maxind] - это количество дней при максимальной частоте?
	printf("calculated periodicity = %f years\n", freq[maxind] / 365);
	
	cufftDestroy(plan);
	cudaFree(dev_data);
	free(hos_data);
	return 0;
}

	.file	"tmpxft_003b6b36_00000000-6_task2.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB4179:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE4179:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.align 2
	.type	_ZNSt12_Vector_baseIfSaIfEE11_M_allocateEm.isra.0, @function
_ZNSt12_Vector_baseIfSaIfEE11_M_allocateEm.isra.0:
.LFB5088:
	.cfi_startproc
	testq	%rdi, %rdi
	je	.L3
	movabsq	$2305843009213693951, %rax
	cmpq	%rdi, %rax
	jnb	.L4
	pushq	%rax
	.cfi_def_cfa_offset 16
	movabsq	$4611686018427387903, %rax
	cmpq	%rdi, %rax
	jnb	.L5
	call	_ZSt28__throw_bad_array_new_lengthv@PLT
.L5:
	call	_ZSt17__throw_bad_allocv@PLT
.L4:
	.cfi_def_cfa_offset 8
	salq	$2, %rdi
	jmp	_Znwm@PLT
.L3:
	xorl	%eax, %eax
	ret
	.cfi_endproc
.LFE5088:
	.size	_ZNSt12_Vector_baseIfSaIfEE11_M_allocateEm.isra.0, .-_ZNSt12_Vector_baseIfSaIfEE11_M_allocateEm.isra.0
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB4202:
	.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
.LFE4202:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.text._ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev,"axG",@progbits,_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD5Ev,comdat
	.align 2
	.weak	_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev
	.type	_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev, @function
_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev:
.LFB4281:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movq	%rdi, %rbx
	call	__errno_location@PLT
	cmpl	$0, (%rax)
	jne	.L12
	movl	(%rbx), %edx
	movl	%edx, (%rax)
.L12:
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4281:
	.size	_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev, .-_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev
	.weak	_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev
	.set	_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev,_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev
	.section	.text._ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z,"axG",@progbits,_ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z,comdat
	.weak	_ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z
	.type	_ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z, @function
_ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z:
.LFB4374:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsi, %r10
	movq	%rdx, %rsi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	movq	%rdi, %rbx
	movq	%rcx, %rdi
	subq	$232, %rsp
	movq	%r8, -176(%rbp)
	movq	%r9, -168(%rbp)
	testb	%al, %al
	je	.L16
	movaps	%xmm0, -160(%rbp)
	movaps	%xmm1, -144(%rbp)
	movaps	%xmm2, -128(%rbp)
	movaps	%xmm3, -112(%rbp)
	movaps	%xmm4, -96(%rbp)
	movaps	%xmm5, -80(%rbp)
	movaps	%xmm6, -64(%rbp)
	movaps	%xmm7, -48(%rbp)
.L16:
	movq	%fs:40, %rax
	movq	%rax, -216(%rbp)
	xorl	%eax, %eax
	leaq	23(%rsi), %rdx
	movq	%rsp, %rcx
	movq	%rdx, %rax
	andq	$-4096, %rdx
	andq	$-16, %rax
	subq	%rdx, %rcx
.L17:
	cmpq	%rcx, %rsp
	je	.L18
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L17
.L18:
	andl	$4095, %eax
	subq	%rax, %rsp
	testq	%rax, %rax
	je	.L19
	orq	$0, -8(%rsp,%rax)
.L19:
	leaq	16(%rbp), %rax
	leaq	15(%rsp), %r12
	movq	%rdi, %rdx
	movl	$32, -240(%rbp)
	movq	%rax, -232(%rbp)
	andq	$-16, %r12
	leaq	-208(%rbp), %rax
	leaq	-240(%rbp), %rcx
	movl	$48, -236(%rbp)
	movq	%r12, %rdi
	movq	%rax, -224(%rbp)
	call	*%r10
	leaq	16(%rbx), %rdx
	cltq
	movq	%rdx, (%rbx)
	xorl	%edx, %edx
	movq	%rdx, 8(%rbx)
	leaq	(%r12,%rax), %r13
	movq	%rax, -248(%rbp)
	cmpq	$15, %rax
	jbe	.L20
	leaq	-248(%rbp), %rsi
	xorl	%edx, %edx
	movq	%rbx, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm@PLT
	movq	%rax, (%rbx)
	movq	-248(%rbp), %rax
	movq	%rax, 16(%rbx)
.L20:
	movq	(%rbx), %rdi
	movq	%r13, %rdx
	movq	%r12, %rsi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_S_copy_charsEPcS5_S5_@PLT
	movq	-248(%rbp), %rax
	movq	(%rbx), %rdx
	movq	%rax, 8(%rbx)
	movb	$0, (%rdx,%rax)
	movq	-216(%rbp), %rax
	subq	%fs:40, %rax
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leaq	-24(%rbp), %rsp
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4374:
	.size	_ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z, .-_ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z
	.section	.text._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev,"axG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev
	.type	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev, @function
_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev:
.LFB4531:
	.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
.L27:
	cmpq	%rbp, %r12
	je	.L31
	movq	%rbp, %rdi
	addq	$32, %rbp
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L27
.L31:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.L26
	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
.L26:
	.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
.LFE4531:
	.size	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev, .-_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev
	.weak	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED1Ev
	.set	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED1Ev,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev
	.section	.text._ZNSt6vectorIfSaIfEED2Ev,"axG",@progbits,_ZNSt6vectorIfSaIfEED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIfSaIfEED2Ev
	.type	_ZNSt6vectorIfSaIfEED2Ev, @function
_ZNSt6vectorIfSaIfEED2Ev:
.LFB4543:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L32
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L32:
	ret
	.cfi_endproc
.LFE4543:
	.size	_ZNSt6vectorIfSaIfEED2Ev, .-_ZNSt6vectorIfSaIfEED2Ev
	.weak	_ZNSt6vectorIfSaIfEED1Ev
	.set	_ZNSt6vectorIfSaIfEED1Ev,_ZNSt6vectorIfSaIfEED2Ev
	.section	.rodata._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.str1.1,"aMS",@progbits,1
.LC0:
	.string	"basic_string: construction from null is not valid"
	.section	.text._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_,"axG",@progbits,_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC5IS3_EEPKcRKS3_,comdat
	.align 2
	.weak	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
	.type	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_, @function
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_:
.LFB4553:
	.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
	subq	$16, %rsp
	.cfi_def_cfa_offset 48
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	16(%rdi), %rax
	movq	%rax, (%rdi)
	testq	%rsi, %rsi
	jne	.L35
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L40
	leaq	.LC0(%rip), %rdi
	call	_ZSt19__throw_logic_errorPKc@PLT
.L35:
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	movq	%rsi, %rbp
	call	strlen@PLT
	movq	%rax, (%rsp)
	leaq	0(%rbp,%rax), %r12
	cmpq	$15, %rax
	jbe	.L37
	movq	%rsp, %rsi
	xorl	%edx, %edx
	movq	%rbx, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm@PLT
	movq	%rax, (%rbx)
	movq	(%rsp), %rax
	movq	%rax, 16(%rbx)
.L37:
	movq	(%rbx), %rdi
	movq	%r12, %rdx
	movq	%rbp, %rsi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_S_copy_charsEPcPKcS7_@PLT
	movq	(%rsp), %rax
	movq	(%rbx), %rdx
	movq	%rax, 8(%rbx)
	movb	$0, (%rdx,%rax)
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	je	.L38
.L40:
	call	__stack_chk_fail@PLT
.L38:
	addq	$16, %rsp
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4553:
	.size	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_, .-_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
	.weak	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_
	.set	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_,_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
	.section	.text._ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_,"axG",@progbits,_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_,comdat
	.weak	_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_
	.type	_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_, @function
_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_:
.LFB4555:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%rdi, %r12
	movq	%rsi, %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	movq	%rdx, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movq	%rsi, %rbx
	pushq	%rcx
	.cfi_def_cfa_offset 48
	movq	8(%rdx), %r13
	addq	8(%rsi), %r13
	call	_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv@PLT
	cmpq	%r13, %rax
	jnb	.L42
	movq	%rbp, %rdi
	call	_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv@PLT
	cmpq	%r13, %rax
	jb	.L42
	movq	%rbx, %rdx
	xorl	%esi, %esi
	movq	%rbp, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6insertEmRKS4_@PLT
	jmp	.L45
.L42:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendERKS4_@PLT
.L45:
	movq	%rax, %rsi
	movq	%r12, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EOS4_@PLT
	popq	%rdx
	.cfi_def_cfa_offset 40
	movq	%r12, %rax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4555:
	.size	_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_, .-_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_
	.section	.text._ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_,"axG",@progbits,_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_,comdat
	.weak	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	.type	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_, @function
_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_:
.LFB4568:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rdi, %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 48
	movq	8(%rdi), %r12
	movq	%rsi, %rdi
	movq	%rsi, 8(%rsp)
	call	strlen@PLT
	movq	8(%rsp), %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	cmpq	%rdx, %r12
	jne	.L46
	movb	$1, %al
	testq	%r12, %r12
	je	.L46
	movq	(%rbx), %rdi
	movq	%r12, %rdx
	call	memcmp@PLT
	testl	%eax, %eax
	sete	%al
.L46:
	addq	$24, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4568:
	.size	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_, .-_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	.section	.rodata._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_.str1.1,"aMS",@progbits,1
.LC1:
	.string	"vector::_M_realloc_insert"
	.section	.text._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,"axG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,comdat
	.align 2
	.weak	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_
	.type	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_, @function
_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_:
.LFB4772:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4772
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movq	%rdx, %r15
	movabsq	$288230376151711743, %rdx
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
	movq	8(%rdi), %rax
	movq	(%rdi), %r14
	movq	%rsi, 8(%rsp)
	movq	%rax, %rbx
	movq	%rax, (%rsp)
	subq	%r14, %rbx
	sarq	$5, %rbx
	cmpq	%rdx, %rbx
	jne	.L52
	leaq	.LC1(%rip), %rdi
.LEHB0:
	call	_ZSt20__throw_length_errorPKc@PLT
.L52:
	cmpq	%r14, (%rsp)
	movl	$1, %eax
	movq	8(%rsp), %rbp
	movq	%rdi, %r13
	cmovne	%rbx, %rax
	addq	%rax, %rbx
	setc	%al
	subq	%r14, %rbp
	movzbl	%al, %eax
	testq	%rax, %rax
	jne	.L68
	xorl	%r12d, %r12d
	testq	%rbx, %rbx
	je	.L57
	movabsq	$288230376151711743, %rax
	cmpq	%rax, %rbx
	cmova	%rax, %rbx
	jmp	.L56
.L68:
	movq	%rdx, %rbx
.L56:
	movq	%rbx, %rdi
	salq	$5, %rdi
	call	_Znwm@PLT
.LEHE0:
	movq	%rax, %r12
.L57:
	addq	%r12, %rbp
	movq	%r15, %rsi
	movq	%rbp, %rdi
.LEHB1:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_@PLT
.LEHE1:
	movq	%r12, %rdi
	movq	%r14, %rbp
.L58:
	leaq	32(%rdi), %r15
	cmpq	%rbp, 8(%rsp)
	je	.L60
	movq	%rbp, %rsi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EOS4_@PLT
	movq	%rbp, %rdi
	addq	$32, %rbp
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	%r15, %rdi
	jmp	.L58
.L60:
	cmpq	%rbp, (%rsp)
	je	.L80
	movq	%rbp, %rsi
	movq	%r15, %rdi
	addq	$32, %r15
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EOS4_@PLT
	movq	%rbp, %rdi
	addq	$32, %rbp
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L60
.L80:
	testq	%r14, %r14
	je	.L62
	movq	16(%r13), %rsi
	movq	%r14, %rdi
	subq	%r14, %rsi
	call	_ZdlPvm@PLT
.L62:
	salq	$5, %rbx
	movq	%r12, 0(%r13)
	addq	%r12, %rbx
	movq	%r15, 8(%r13)
	movq	%rbx, 16(%r13)
	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
.L71:
	.cfi_restore_state
	endbr64
	movq	%rax, %rdi
.L63:
	call	__cxa_begin_catch@PLT
	testq	%r12, %r12
	jne	.L64
	movq	%rbp, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
.L66:
.LEHB2:
	call	__cxa_rethrow@PLT
.LEHE2:
.L72:
	endbr64
	movq	%rax, %rbx
.L65:
	call	__cxa_end_catch@PLT
	movq	%rbx, %rdi
.LEHB3:
	call	_Unwind_Resume@PLT
.LEHE3:
.L64:
	movq	%rbx, %rsi
	movq	%r12, %rdi
	salq	$5, %rsi
	call	_ZdlPvm@PLT
	jmp	.L66
	.cfi_endproc
.LFE4772:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,"aG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,comdat
	.align 4
.LLSDA4772:
	.byte	0xff
	.byte	0x9b
	.uleb128 .LLSDATT4772-.LLSDATTD4772
.LLSDATTD4772:
	.byte	0x1
	.uleb128 .LLSDACSE4772-.LLSDACSB4772
.LLSDACSB4772:
	.uleb128 .LEHB0-.LFB4772
	.uleb128 .LEHE0-.LEHB0
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB1-.LFB4772
	.uleb128 .LEHE1-.LEHB1
	.uleb128 .L71-.LFB4772
	.uleb128 0x1
	.uleb128 .LEHB2-.LFB4772
	.uleb128 .LEHE2-.LEHB2
	.uleb128 .L72-.LFB4772
	.uleb128 0
	.uleb128 .LEHB3-.LFB4772
	.uleb128 .LEHE3-.LEHB3
	.uleb128 0
	.uleb128 0
.LLSDACSE4772:
	.byte	0x1
	.byte	0
	.align 4
	.long	0

.LLSDATT4772:
	.section	.text._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,"axG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,comdat
	.size	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_, .-_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_
	.section	.text._ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc,"axG",@progbits,_ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc,comdat
	.align 2
	.weak	_ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc
	.type	_ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc, @function
_ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc:
.LFB4927:
	.cfi_startproc
	endbr64
	movq	%rdi, %rax
	movq	%rdx, %rdi
	movq	8(%rax), %rcx
	subq	(%rax), %rcx
	movabsq	$2305843009213693951, %rax
	sarq	$2, %rcx
	movq	%rax, %rdx
	subq	%rcx, %rdx
	cmpq	%rsi, %rdx
	jnb	.L82
	pushq	%rax
	.cfi_def_cfa_offset 16
	call	_ZSt20__throw_length_errorPKc@PLT
.L82:
	.cfi_def_cfa_offset 8
	cmpq	%rcx, %rsi
	cmovb	%rcx, %rsi
	addq	%rsi, %rcx
	jc	.L81
	movabsq	$2305843009213693951, %rax
	cmpq	%rax, %rcx
	cmovbe	%rcx, %rax
.L81:
	ret
	.cfi_endproc
.LFE4927:
	.size	_ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc, .-_ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc
	.section	.text._ZNSt27__uninitialized_default_n_1ILb1EE18__uninit_default_nIPfmEET_S3_T0_,"axG",@progbits,_ZNSt27__uninitialized_default_n_1ILb1EE18__uninit_default_nIPfmEET_S3_T0_,comdat
	.weak	_ZNSt27__uninitialized_default_n_1ILb1EE18__uninit_default_nIPfmEET_S3_T0_
	.type	_ZNSt27__uninitialized_default_n_1ILb1EE18__uninit_default_nIPfmEET_S3_T0_, @function
_ZNSt27__uninitialized_default_n_1ILb1EE18__uninit_default_nIPfmEET_S3_T0_:
.LFB5042:
	.cfi_startproc
	endbr64
	movq	%rdi, %rax
	testq	%rsi, %rsi
	je	.L90
	movl	$0x00000000, (%rdi)
	leaq	4(%rdi), %rax
	decq	%rsi
	je	.L90
	leaq	(%rax,%rsi,4), %rdx
	movq	%rax, %rcx
.L92:
	cmpq	%rcx, %rdx
	je	.L99
	movl	$0x00000000, (%rcx)
	addq	$4, %rcx
	jmp	.L92
.L99:
	subq	%rdi, %rdx
	leaq	-4(%rax,%rdx), %rax
.L90:
	ret
	.cfi_endproc
.LFE5042:
	.size	_ZNSt27__uninitialized_default_n_1ILb1EE18__uninit_default_nIPfmEET_S3_T0_, .-_ZNSt27__uninitialized_default_n_1ILb1EE18__uninit_default_nIPfmEET_S3_T0_
	.section	.rodata._ZNSt6vectorIfSaIfEE17_M_default_appendEm.str1.1,"aMS",@progbits,1
.LC3:
	.string	"vector::_M_default_append"
	.section	.text._ZNSt6vectorIfSaIfEE17_M_default_appendEm,"axG",@progbits,_ZNSt6vectorIfSaIfEE17_M_default_appendEm,comdat
	.align 2
	.weak	_ZNSt6vectorIfSaIfEE17_M_default_appendEm
	.type	_ZNSt6vectorIfSaIfEE17_M_default_appendEm, @function
_ZNSt6vectorIfSaIfEE17_M_default_appendEm:
.LFB4792:
	.cfi_startproc
	endbr64
	testq	%rsi, %rsi
	je	.L113
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movq	%rsi, %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	pushq	%rdx
	.cfi_def_cfa_offset 64
	movq	8(%rdi), %rdi
	movq	16(%rbp), %rax
	movq	0(%rbp), %r15
	subq	%rdi, %rax
	sarq	$2, %rax
	cmpq	%rsi, %rax
	jb	.L102
	call	_ZNSt27__uninitialized_default_n_1ILb1EE18__uninit_default_nIPfmEET_S3_T0_
	movq	%rax, 8(%rbp)
	jmp	.L100
.L102:
	movq	%rdi, %rbx
	leaq	.LC3(%rip), %rdx
	movq	%rbp, %rdi
	call	_ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc
	subq	%r15, %rbx
	movq	%rax, %rdi
	movq	%rax, %r13
	call	_ZNSt12_Vector_baseIfSaIfEE11_M_allocateEm.isra.0
	movq	%r14, %rsi
	leaq	(%rax,%rbx), %rdi
	movq	%rax, %r12
	call	_ZNSt27__uninitialized_default_n_1ILb1EE18__uninit_default_nIPfmEET_S3_T0_
	testq	%rbx, %rbx
	je	.L103
	movq	%rbx, %rdx
	movq	%r15, %rsi
	movq	%r12, %rdi
	call	memmove@PLT
	jmp	.L104
.L103:
	testq	%r15, %r15
	je	.L105
.L104:
	movq	16(%rbp), %rsi
	movq	%r15, %rdi
	subq	%r15, %rsi
	call	_ZdlPvm@PLT
.L105:
	sarq	$2, %rbx
	movq	%r12, 0(%rbp)
	addq	%r14, %rbx
	leaq	(%r12,%rbx,4), %rax
	movq	%rax, 8(%rbp)
	leaq	(%r12,%r13,4), %rax
	movq	%rax, 16(%rbp)
.L100:
	popq	%rax
	.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
.L113:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	.cfi_restore 15
	ret
	.cfi_endproc
.LFE4792:
	.size	_ZNSt6vectorIfSaIfEE17_M_default_appendEm, .-_ZNSt6vectorIfSaIfEE17_M_default_appendEm
	.section	.text._ZNSt6vectorIfSaIfEE6resizeEm,"axG",@progbits,_ZNSt6vectorIfSaIfEE6resizeEm,comdat
	.align 2
	.weak	_ZNSt6vectorIfSaIfEE6resizeEm
	.type	_ZNSt6vectorIfSaIfEE6resizeEm, @function
_ZNSt6vectorIfSaIfEE6resizeEm:
.LFB4576:
	.cfi_startproc
	endbr64
	movq	8(%rdi), %rdx
	movq	(%rdi), %rcx
	movq	%rdx, %rax
	subq	%rcx, %rax
	sarq	$2, %rax
	cmpq	%rsi, %rax
	jnb	.L117
	subq	%rax, %rsi
	jmp	_ZNSt6vectorIfSaIfEE17_M_default_appendEm
.L117:
	cmpq	%rax, %rsi
	jnb	.L116
	leaq	(%rcx,%rsi,4), %rax
	cmpq	%rdx, %rax
	je	.L116
	movq	%rax, 8(%rdi)
.L116:
	ret
	.cfi_endproc
.LFE4576:
	.size	_ZNSt6vectorIfSaIfEE6resizeEm, .-_ZNSt6vectorIfSaIfEE6resizeEm
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC4:
	.string	".dat"
.LC6:
	.string	"data/w"
.LC7:
	.string	"can't open a file data/w%d.dat\n"
.LC8:
	.string	""
.LC9:
	.string	"basic_string::append"
.LC10:
	.string	" "
.LC11:
	.string	"999"
.LC12:
	.string	"%f"
.LC13:
	.string	"stoi"
.LC14:
	.string	"/home/ubuntu/Datasets/stackv2/train-structured/gedenteen/CUDA/main/lab8/task2.cu"
.LC15:
	.string	"Error at line %d in file %s\n"
.LC16:
	.string	"Error \"%s\" at line %d in file %s\n"
.LC20:
	.string	"calculated periodicity = %f years\n"
.LC5:
	.string	"00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899"
	.section	.text.startup
	.globl	main
	.type	main, @function
main:
.LFB4152:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4152
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	xorl	%esi, %esi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$1144, %rsp
	.cfi_def_cfa_offset 1200
	movq	%fs:40, %rax
	movq	%rax, 1128(%rsp)
	xorl	%eax, %eax
	leaq	192(%rsp), %rax
	movq	%rdi, 80(%rsp)
	movq	%rax, 176(%rsp)
	leaq	224(%rsp), %rax
	movq	%rax, 208(%rsp)
	leaq	400(%rsp), %rax
	movq	%rdi, 88(%rsp)
	movq	%rdi, 96(%rsp)
	movq	%rdi, 104(%rsp)
	movq	%rdi, 112(%rsp)
	movq	%rdi, 120(%rsp)
	movq	%rdi, 128(%rsp)
	movq	%rdi, 136(%rsp)
	movq	%rdi, 144(%rsp)
	movq	%rdi, 152(%rsp)
	movq	%rcx, 184(%rsp)
	movb	$0, 192(%rsp)
	movq	%rsi, 216(%rsp)
	movb	$0, 224(%rsp)
	movq	%rdi, 160(%rsp)
	movq	%rax, 8(%rsp)
	leaq	176(%rsp), %rax
	movq	%rdi, 168(%rsp)
	movq	8(%rsp), %rdi
	movq	%rax, 24(%rsp)
.LEHB4:
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev@PLT
.LEHE4:
	leaq	368(%rsp), %rax
	movl	$1938, 40(%rsp)
	movq	%rax, (%rsp)
.L154:
	leaq	72(%rsp), %rax
	movq	(%rsp), %rdi
	leaq	.LC4(%rip), %rsi
	movq	%rax, %rdx
	movq	%rax, 32(%rsp)
.LEHB5:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_
.LEHE5:
	leaq	304(%rsp), %rbx
	movl	$45, %edx
	leaq	320(%rsp), %rax
	movl	$4, %esi
	movq	%rbx, %rdi
	movq	%rax, 304(%rsp)
	leaq	272(%rsp), %rbp
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructEmc@PLT
	movl	40(%rsp), %eax
	movl	$201, %ecx
	xorl	%edx, %edx
	leaq	927(%rsp), %rdi
	leaq	.LC5(%rip), %rsi
	movq	304(%rsp), %r8
	rep movsb
	movl	$100, %ecx
	leaq	.LC6(%rip), %rsi
	movq	%rbp, %rdi
	divl	%ecx
	addl	%edx, %edx
	leal	1(%rdx), %eax
	movb	927(%rsp,%rax), %al
	movb	%al, 3(%r8)
	movb	927(%rsp,%rdx), %al
	movb	%al, 2(%r8)
	movw	965(%rsp), %ax
	movw	%ax, (%r8)
	leaq	68(%rsp), %rax
	movq	%rax, %rdx
	movq	%rax, 16(%rsp)
.LEHB6:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_
.LEHE6:
	leaq	336(%rsp), %r12
	movq	%rbx, %rdx
	movq	%rbp, %rsi
	movq	%r12, %rdi
.LEHB7:
	call	_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_
.LEHE7:
	leaq	240(%rsp), %r13
	movq	(%rsp), %rdx
	movq	%r12, %rsi
	movq	%r13, %rdi
.LEHB8:
	call	_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_
.LEHE8:
	movq	%r12, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	%rbp, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	%rbx, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	240(%rsp), %rsi
	movl	$8, %edx
	leaq	416(%rsp), %rdi
.LEHB9:
	call	_ZNSt13basic_filebufIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode@PLT
	movq	400(%rsp), %rdx
	movq	8(%rsp), %rdi
	addq	-24(%rdx), %rdi
	testq	%rax, %rax
	jne	.L120
	movl	$4, %esi
	call	_ZNSt9basic_iosIcSt11char_traitsIcEE8setstateESt12_Ios_Iostate@PLT
	jmp	.L121
.L120:
	xorl	%esi, %esi
	call	_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate@PLT
.L121:
	leaq	520(%rsp), %rdi
	call	_ZNKSt12__basic_fileIcE7is_openEv@PLT
	testb	%al, %al
	jne	.L133
	movl	40(%rsp), %ecx
	movq	stderr(%rip), %rdi
	movl	$2, %esi
	leaq	.LC7(%rip), %rdx
	call	__fprintf_chk@PLT
	movq	%r13, %rdi
	orl	$-1, %ebx
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L123
.L132:
	movq	176(%rsp), %rax
	movsbl	(%rax,%r12), %esi
	cmpb	$32, %sil
	je	.L127
	movq	%rbx, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc@PLT
.L128:
	incq	%r12
.L126:
	cmpq	184(%rsp), %r12
	jb	.L132
	movq	88(%rsp), %r15
	movq	80(%rsp), %rbx
	cmpq	%r15, %rbx
	jne	.L216
.L133:
	movq	24(%rsp), %rsi
	movq	8(%rsp), %rdi
	call	_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE@PLT
	movq	(%rax), %rdx
	movq	-24(%rdx), %rdx
	testb	$5, 32(%rax,%rdx)
	jne	.L217
	leaq	208(%rsp), %rbx
	xorl	%r8d, %r8d
	leaq	.LC8(%rip), %rcx
	xorl	%esi, %esi
	movq	216(%rsp), %rdx
	movq	%rbx, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm@PLT
	movabsq	$-4611686018427387903, %rax
	addq	184(%rsp), %rax
	jne	.L124
	movq	1128(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L208
	leaq	.LC9(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L124:
	movq	24(%rsp), %rdi
	movl	$1, %edx
	leaq	.LC10(%rip), %rsi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm@PLT
	xorl	%r12d, %r12d
	jmp	.L126
.L127:
	leaq	.LC8(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	jne	.L131
	movq	88(%rsp), %rbp
	cmpq	96(%rsp), %rbp
	je	.L130
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_@PLT
	addq	$32, %rbp
	movq	%rbp, 88(%rsp)
	jmp	.L131
.L130:
	leaq	80(%rsp), %rdi
	movq	%rbx, %rdx
	movq	%rbp, %rsi
	call	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_
.L131:
	movq	216(%rsp), %rdx
	xorl	%r8d, %r8d
	xorl	%esi, %esi
	movq	%rbx, %rdi
	leaq	.LC8(%rip), %rcx
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm@PLT
	jmp	.L128
.L216:
	leaq	64(%rbx), %rbp
	leaq	.LC11(%rip), %rsi
	movq	%rbp, %rdi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	je	.L134
	movq	112(%rsp), %rax
	movq	(%rsp), %rdi
	leaq	.LC12(%rip), %rcx
	movl	$58, %edx
	movq	vsnprintf@GOTPCREL(%rip), %rsi
	cvtss2sd	-4(%rax), %xmm0
	movb	$1, %al
	call	_ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z
.LEHE9:
	movq	(%rsp), %rdi
	call	_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv@PLT
	testb	%al, %al
	je	.L135
	movq	(%rsp), %rax
	cmpq	%rax, %rbp
	je	.L136
	movq	376(%rsp), %rdx
	testq	%rdx, %rdx
	je	.L137
	movq	64(%rbx), %rdi
	movq	368(%rsp), %rsi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7_S_copyEPcPKcm@PLT
.L137:
	movq	376(%rsp), %rax
	movq	64(%rbx), %rdx
	movq	%rax, 72(%rbx)
	movb	$0, (%rdx,%rax)
	jmp	.L136
.L135:
	movq	%rbp, %rdi
	call	_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv@PLT
	movl	%eax, %edx
	xorl	%eax, %eax
	testb	%dl, %dl
	jne	.L138
	movq	80(%rbx), %rcx
	movq	64(%rbx), %rax
	movq	%rcx, 56(%rsp)
.L138:
	movq	368(%rsp), %rdx
	movq	%rdx, 64(%rbx)
	movq	376(%rsp), %rdx
	movq	%rdx, 72(%rbx)
	movq	384(%rsp), %rdx
	movq	%rdx, 80(%rbx)
	testq	%rax, %rax
	je	.L139
	movq	%rax, 368(%rsp)
	movq	56(%rsp), %rax
	movq	%rax, 384(%rsp)
	jmp	.L136
.L139:
	leaq	384(%rsp), %rax
	movq	%rax, 368(%rsp)
.L136:
	movq	368(%rsp), %rax
	xorl	%edx, %edx
	movq	(%rsp), %rdi
	movq	%rdx, 376(%rsp)
	movb	$0, (%rax)
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
.L134:
	call	__errno_location@PLT
	movq	64(%rbx), %rbp
	movq	32(%rsp), %rsi
	movl	$10, %edx
	movq	%rax, %r12
	movl	(%rax), %eax
	movq	%rbp, %rdi
	movl	%eax, 68(%rsp)
	xorl	%eax, %eax
	movl	%eax, (%r12)
	call	__isoc23_strtol@PLT
	movq	%rax, %r13
	cmpq	72(%rsp), %rbp
	jne	.L140
	movq	1128(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L208
	leaq	.LC13(%rip), %rdi
.LEHB10:
	call	_ZSt24__throw_invalid_argumentPKc@PLT
.L140:
	cmpl	$34, (%r12)
	je	.L142
	movl	$2147483648, %eax
	movl	$4294967295, %edx
	addq	%r13, %rax
	cmpq	%rax, %rdx
	jnb	.L143
.L142:
	movq	1128(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L208
	leaq	.LC13(%rip), %rdi
	call	_ZSt20__throw_out_of_rangePKc@PLT
.LEHE10:
.L143:
	movq	16(%rsp), %rdi
	call	_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev
	cvtsi2ssl	%r13d, %xmm4
	movq	112(%rsp), %rbp
	movq	120(%rsp), %r14
	movss	%xmm4, 44(%rsp)
	cmpq	%r14, %rbp
	je	.L218
	movss	44(%rsp), %xmm5
	addq	$4, %rbp
	movss	%xmm5, -4(%rbp)
	movq	%rbp, 112(%rsp)
	jmp	.L152
.L189:
	endbr64
	movq	%rax, %r13
.L147:
	movq	16(%rsp), %rdi
	call	_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev
	jmp	.L148
.L218:
	leaq	104(%rsp), %rdi
	leaq	.LC1(%rip), %rdx
	movl	$1, %esi
.LEHB11:
	call	_ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc
	movq	104(%rsp), %r12
	movq	%rax, %rdi
	movq	%rax, 48(%rsp)
	subq	%r12, %rbp
	call	_ZNSt12_Vector_baseIfSaIfEE11_M_allocateEm.isra.0
	movss	44(%rsp), %xmm6
	movq	%rax, %r13
	movss	%xmm6, (%rax,%rbp)
	testq	%rbp, %rbp
	jle	.L150
	movq	%rbp, %rdx
	movq	%r12, %rsi
	movq	%rax, %rdi
	call	memmove@PLT
.L150:
	leaq	4(%r13,%rbp), %rbp
	testq	%r12, %r12
	je	.L151
	movq	%r14, %rsi
	movq	%r12, %rdi
	subq	%r12, %rsi
	call	_ZdlPvm@PLT
.L151:
	movq	48(%rsp), %rax
	movq	%r13, 104(%rsp)
	movq	%rbp, 112(%rsp)
	leaq	0(%r13,%rax,4), %rax
	movq	%rax, 120(%rsp)
.L152:
	movq	%rbx, %rbp
.L149:
	movq	%rbp, %rdi
	addq	$32, %rbp
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	cmpq	%rbp, %r15
	jne	.L149
	movq	%rbx, 88(%rsp)
	jmp	.L133
.L217:
	movq	8(%rsp), %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv@PLT
.LEHE11:
	leaq	240(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	incl	40(%rsp)
	cmpl	$1992, 40(%rsp)
	jne	.L154
	movq	104(%rsp), %r13
	movq	112(%rsp), %rbx
	movq	32(%rsp), %rdi
	subq	%r13, %rbx
	sarq	$2, %rbx
	movslq	%ebx, %r14
	movl	%ebx, %r12d
	leaq	0(,%r14,8), %rbp
	movq	%rbp, %rsi
.LEHB12:
	call	cudaMalloc@PLT
	movabsq	$1152921504606846975, %rax
	cmpq	%r14, %rax
	jb	.L155
	movq	%rbp, %rdi
	call	_Znam@PLT
	movq	%rax, %r14
	xorl	%eax, %eax
	jmp	.L156
.L155:
	movq	1128(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L208
	call	__cxa_throw_bad_array_new_length@PLT
.L156:
	cmpl	%eax, %r12d
	jle	.L219
	movl	$0x00000000, 4(%r14,%rax,8)
	movss	0(%r13,%rax,4), %xmm0
	movss	%xmm0, (%r14,%rax,8)
	incq	%rax
	jmp	.L156
.L219:
	movq	72(%rsp), %rdi
	movl	$1, %ecx
	movq	%rbp, %rdx
	movq	%r14, %rsi
	call	cudaMemcpy@PLT
	movq	16(%rsp), %rdi
	movl	$1, %ecx
	movl	$41, %edx
	movl	%r12d, %esi
	call	cufftPlan1d@PLT
	testl	%eax, %eax
	je	.L159
	leaq	.LC14(%rip), %r8
	movl	$86, %ecx
.L213:
	movq	stderr(%rip), %rdi
	leaq	.LC15(%rip), %rdx
	movl	$2, %esi
	xorl	%eax, %eax
	call	__fprintf_chk@PLT
.L161:
	movl	$1, %edi
	call	exit@PLT
.L159:
	movq	72(%rsp), %rsi
	movl	68(%rsp), %edi
	orl	$-1, %ecx
	movq	%rsi, %rdx
	call	cufftExecC2C@PLT
	leaq	.LC14(%rip), %r8
	movl	$88, %ecx
	testl	%eax, %eax
	jne	.L213
	call	cudaDeviceSynchronize@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L162
	call	cudaGetErrorString@PLT
	movq	%rax, %rcx
	leaq	.LC14(%rip), %r9
	movl	$90, %r8d
	jmp	.L211
.L162:
	movq	72(%rsp), %rsi
	movl	$2, %ecx
	movq	%rbp, %rdx
	movq	%r14, %rdi
	call	cudaMemcpy@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L163
	call	cudaGetErrorString@PLT
	movq	%rax, %rcx
	leaq	.LC14(%rip), %r9
	movl	$92, %r8d
.L211:
	movq	stderr(%rip), %rdi
	leaq	.LC16(%rip), %rdx
	movl	$2, %esi
	xorl	%eax, %eax
	call	__fprintf_chk@PLT
	jmp	.L161
.L163:
	sarl	%ebx
	leaq	152(%rsp), %rdi
	leal	1(%rbx), %r12d
	movslq	%r12d, %r12
	movq	%r12, %rsi
	call	_ZNSt6vectorIfSaIfEE6resizeEm
	xorl	%ebp, %ebp
.L164:
	incq	%rbp
	cmpl	%ebp, %ebx
	jl	.L220
	movss	(%r14,%rbp,8), %xmm0
	movss	4(%r14,%rbp,8), %xmm1
	mulss	%xmm0, %xmm0
	mulss	%xmm1, %xmm1
	addss	%xmm1, %xmm0
	call	sqrtf@PLT
	movq	152(%rsp), %rax
	movss	%xmm0, (%rax,%rbp,4)
	jmp	.L164
.L220:
	leaq	128(%rsp), %rdi
	movq	%r12, %rsi
	call	_ZNSt6vectorIfSaIfEE6resizeEm
	movq	128(%rsp), %rcx
	movss	.LC17(%rip), %xmm1
	movl	$1, %eax
	movss	.LC18(%rip), %xmm2
.L166:
	cmpl	%eax, %ebx
	jl	.L221
	cvtsi2ssl	%eax, %xmm0
	cvtsi2ssl	%ebx, %xmm3
	divss	%xmm3, %xmm0
	movaps	%xmm2, %xmm3
	mulss	%xmm1, %xmm0
	divss	%xmm0, %xmm3
	movss	%xmm3, (%rcx,%rax,4)
	incq	%rax
	jmp	.L166
.L221:
	movq	152(%rsp), %rdi
	movl	$1, %eax
	movl	$1, %edx
.L168:
	movslq	%edx, %rsi
	cmpl	%eax, %ebx
	jl	.L222
	movss	(%rdi,%rax,4), %xmm0
	ucomiss	(%rdi,%rsi,4), %xmm0
	cmova	%eax, %edx
	incq	%rax
	jmp	.L168
.L222:
	movss	(%rcx,%rsi,4), %xmm0
	movl	$2, %edi
	movb	$1, %al
	leaq	.LC20(%rip), %rsi
	divss	.LC19(%rip), %xmm0
	cvtss2sd	%xmm0, %xmm0
	call	__printf_chk@PLT
	movl	68(%rsp), %edi
	call	cufftDestroy@PLT
	movq	72(%rsp), %rdi
	call	cudaFree@PLT
.LEHE12:
	movq	%r14, %rdi
	xorl	%ebx, %ebx
	call	free@PLT
.L123:
	movq	8(%rsp), %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
	leaq	152(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	leaq	128(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	leaq	104(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	leaq	80(%rsp), %rdi
	call	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED1Ev
	leaq	208(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	24(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	1128(%rsp), %rax
	subq	%fs:40, %rax
	je	.L178
	jmp	.L208
.L186:
	endbr64
	movq	%rax, %r13
.L172:
	movq	%r12, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L173
.L185:
	endbr64
	movq	%rax, %r13
.L173:
	movq	%rbp, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L174
.L184:
	endbr64
	movq	%rax, %r13
.L174:
	movq	%rbx, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	(%rsp), %rdi
	jmp	.L214
.L187:
	endbr64
	movq	%rax, %r13
.L148:
	leaq	240(%rsp), %rdi
.L214:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L175
.L188:
	endbr64
	movq	%rax, %r13
.L175:
	movq	8(%rsp), %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
	jmp	.L176
.L183:
	endbr64
	movq	%rax, %r13
.L176:
	leaq	152(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	leaq	128(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	leaq	104(%rsp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	leaq	80(%rsp), %rdi
	call	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED1Ev
	leaq	208(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	24(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	1128(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L208
	movq	%r13, %rdi
.LEHB13:
	call	_Unwind_Resume@PLT
.LEHE13:
.L208:
	call	__stack_chk_fail@PLT
.L178:
	addq	$1144, %rsp
	.cfi_def_cfa_offset 56
	movl	%ebx, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4152:
	.section	.gcc_except_table,"a",@progbits
.LLSDA4152:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4152-.LLSDACSB4152
.LLSDACSB4152:
	.uleb128 .LEHB4-.LFB4152
	.uleb128 .LEHE4-.LEHB4
	.uleb128 .L183-.LFB4152
	.uleb128 0
	.uleb128 .LEHB5-.LFB4152
	.uleb128 .LEHE5-.LEHB5
	.uleb128 .L188-.LFB4152
	.uleb128 0
	.uleb128 .LEHB6-.LFB4152
	.uleb128 .LEHE6-.LEHB6
	.uleb128 .L184-.LFB4152
	.uleb128 0
	.uleb128 .LEHB7-.LFB4152
	.uleb128 .LEHE7-.LEHB7
	.uleb128 .L185-.LFB4152
	.uleb128 0
	.uleb128 .LEHB8-.LFB4152
	.uleb128 .LEHE8-.LEHB8
	.uleb128 .L186-.LFB4152
	.uleb128 0
	.uleb128 .LEHB9-.LFB4152
	.uleb128 .LEHE9-.LEHB9
	.uleb128 .L187-.LFB4152
	.uleb128 0
	.uleb128 .LEHB10-.LFB4152
	.uleb128 .LEHE10-.LEHB10
	.uleb128 .L189-.LFB4152
	.uleb128 0
	.uleb128 .LEHB11-.LFB4152
	.uleb128 .LEHE11-.LEHB11
	.uleb128 .L187-.LFB4152
	.uleb128 0
	.uleb128 .LEHB12-.LFB4152
	.uleb128 .LEHE12-.LEHB12
	.uleb128 .L188-.LFB4152
	.uleb128 0
	.uleb128 .LEHB13-.LFB4152
	.uleb128 .LEHE13-.LEHB13
	.uleb128 0
	.uleb128 0
.LLSDACSE4152:
	.section	.text.startup
	.size	main, .-main
	.section	.nvFatBinSegment,"aw"
	.align 8
	.type	_ZL15__fatDeviceText, @object
	.size	_ZL15__fatDeviceText, 24
_ZL15__fatDeviceText:
	.long	1180844977
	.long	1
	.quad	fatbinData
	.quad	0
	.local	_ZL20__cudaFatCubinHandle
	.comm	_ZL20__cudaFatCubinHandle,8,8
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC17:
	.long	1056964608
	.align 4
.LC18:
	.long	1065353216
	.align 4
.LC19:
	.long	1136033792
	.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 <malloc.h>
#include <string.h>
#include <stdio.h>
#include <vector>
#include <fstream>
#include <iostream>
using namespace std;
#include <hipfft/hipfft.h>

#define BATCH 1 //размер данных для обработки

#define CUDA_CHECK_RETURN(value) {\
	hipError_t _m_cudaStat = value;\
	if (_m_cudaStat != hipSuccess) {\
		fprintf(stderr, "Error \"%s\" at line %d in file %s\n",\
			hipGetErrorString(_m_cudaStat), __LINE__, __FILE__);\
		exit(1);\
	}\
} //макрос для обработки ошибок 

#define CUFFT_CHECK_RETURN(value) {\
	hipfftResult stat = value;\
	if (stat != HIPFFT_SUCCESS) {\
		fprintf(stderr, "Error at line %d in file %s\n",\
			__LINE__, __FILE__);\
		exit(1);\
	}\
} //макрос для обработки ошибок 

int main(void) {
	string line, buffer;
	hipfftHandle plan; //дескриптор плана конфигурации (нужен для оптимизации под выбранную аппаратуру)
	hipfftComplex *hos_data, *dev_data; //массивы для комплексных чисел
	vector<string> file_string; //одна строка в файле = массив из 4 чисел в виде string 
	vector<float> Wolf_nums; //числа Вольфа (весь диск)
	vector<float> freq; //массив частот после преобразования Фурье (на каждый день одно число)
	vector<float> power; //массив значений ^ 2 из преобразования Фурье
	ifstream in;
	
	for (int i = 1938; i <= 1991; i++) { //цикл по годам
		//открыть файл i-го года
		string path = string("data/w") + to_string(i) + string(".dat"); 
		in.open(path);
		if (!in.is_open()) {
			fprintf(stderr, "can't open a file data/w%d.dat\n", i);
			return -1;
		}
		
		while(getline(in, line)) { //считать строку из файла
			buffer = ""; 
			line += " "; //добавить пробел для обработки последнего числа
			for (int k = 0; k < line.size(); k++) {
				if (line[k] != ' ') {
					buffer += line[k]; //записать число посимвольно в buffer 
				}
				else { //если пробел, то есть получено число в виде строки
					if (buffer != "")
						file_string.push_back(buffer);
						buffer = "";
				}
			}
			
			if (file_string.size() != 0) {
				if (file_string[2] == "999") { //если число Вульфа неизвестно,
					file_string[2] = to_string(Wolf_nums.back()); //то взять предыдущее значение
				}
				Wolf_nums.push_back(stoi(file_string[2])); //преобразовать строку в число, добавить в массив чисел
				file_string.clear(); //очистить строку
			}
		} //end of while(getline(in, line))

		in.close();
	} //end of for(int i = 1938; i <= 1991; i++)
	
	int N = Wolf_nums.size();
	
	hipMalloc((void**)&dev_data, sizeof(hipfftComplex) * N * BATCH);
	hos_data = new hipfftComplex[N * BATCH];
	for (int i = 0; i < N * BATCH; i++) {
		hos_data[i].x = Wolf_nums[i]; //действительная часть
		hos_data[i].y = 0.0f; //мнимая часть
	}
	hipMemcpy(dev_data, hos_data, sizeof(hipfftComplex) * N * BATCH, hipMemcpyHostToDevice);
	
	//создание плана, преобразование Фурье происходит из комплексных чисел в комплексные:
	CUFFT_CHECK_RETURN(hipfftPlan1d(&plan, N * BATCH, HIPFFT_C2C, BATCH));
	//совершить быстрое преобразование Фурье (FFT):
	CUFFT_CHECK_RETURN(hipfftExecC2C(plan, dev_data, dev_data, HIPFFT_FORWARD));
	//синхронизация:
	CUDA_CHECK_RETURN(hipDeviceSynchronize());
	//копируем обратно на хост то, что получено после FFT:
	CUDA_CHECK_RETURN(hipMemcpy(hos_data, dev_data, N * sizeof(hipfftComplex), hipMemcpyDeviceToHost));
	
	power.resize(N / 2 + 1);
	for (int i = 1; i <= N / 2; i++) {
		//преобразовать значения, т.к. комплексные числа тяжело интерпретировать:
		power[i] = sqrt(hos_data[i].x * hos_data[i].x + hos_data[i].y * hos_data[i].y);
	}
	
	float max_freq = 0.5; //максимальная частота
	freq.resize(N / 2 + 1);
	for (int i = 1; i <= N / 2; i++) {
		//получаем равномерно распределенную сетку частот:
		freq[i] = 1 / (float(i) / float(N/2) * max_freq); 
	}
	
	int maxind = 1; //найти максимальное значение 
	for (int i = 1 ; i <= N / 2; i++) {
		if (power[i] > power[maxind])
			maxind = i;
	}
	
	//freq[maxind] - это количество дней при максимальной частоте?
	printf("calculated periodicity = %f years\n", freq[maxind] / 365);
	
	hipfftDestroy(plan);
	hipFree(dev_data);
	free(hos_data);
	return 0;
}

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

                                        # End of file scope inline assembly
	.section	.rodata.cst4,"aM",@progbits,4
	.p2align	2, 0x0                          # -- Begin function main
.LCPI0_0:
	.long	0x3f000000                      # float 0.5
.LCPI0_1:
	.long	0x3f800000                      # float 1
.LCPI0_2:
	.long	0x43b68000                      # float 365
	.text
	.globl	main
	.type	main,@function
main:                                   # @main
.Lfunc_begin0:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception0
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	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	$904, %rsp                      # imm = 0x388
	.cfi_def_cfa_offset 960
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	leaq	272(%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)
	movq	%rax, 112(%rsp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, 96(%rsp)
	movq	%rax, 80(%rsp)
	movaps	%xmm0, 64(%rsp)
	movq	%rax, 336(%rsp)
	movaps	%xmm0, 320(%rsp)
	movq	%rax, 304(%rsp)
	movaps	%xmm0, 288(%rsp)
.Ltmp0:
	leaq	384(%rsp), %r15
	movq	%r15, %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev
.Ltmp1:
# %bb.1:                                # %.preheader200
	leaq	40(%rsp), %rbx
	movl	$1938, 16(%rsp)                 # 4-byte Folded Spill
                                        # imm = 0x792
	leaq	352(%rsp), %r14
	leaq	96(%rsp), %rbp
	movl	$0, 20(%rsp)                    # 4-byte Folded Spill
.LBB0_2:                                # =>This Loop Header: Depth=1
                                        #     Child Loop BB0_37 Depth 2
                                        #       Child Loop BB0_44 Depth 3
                                        #       Child Loop BB0_69 Depth 3
	leaq	168(%rsp), %rax
	movq	%rax, 152(%rsp)
.Ltmp3:
	movl	$.L.str, %esi
	movl	$.L.str+6, %edx
	leaq	152(%rsp), %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
.Ltmp4:
# %bb.3:                                # %_ZNSt8__detail14__to_chars_lenIjEEjT_i.exit.i
                                        #   in Loop: Header=BB0_2 Depth=1
	leaq	200(%rsp), %rax
	movq	%rax, 184(%rsp)
.Ltmp6:
	movl	$4, %esi
	leaq	184(%rsp), %rdi
	movl	$45, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructEmc
.Ltmp7:
# %bb.4:                                # %_ZNSt7__cxx119to_stringEi.exit
                                        #   in Loop: Header=BB0_2 Depth=1
	movq	184(%rsp), %rdi
	movl	$4, %esi
	movl	16(%rsp), %edx                  # 4-byte Reload
	callq	_ZNSt8__detail18__to_chars_10_implIjEEvPcjT_
	movq	152(%rsp), %rcx
	movl	$15, %edi
	leaq	168(%rsp), %rax
	cmpq	%rax, %rcx
	je	.LBB0_6
# %bb.5:                                # %_ZNSt7__cxx119to_stringEi.exit
                                        #   in Loop: Header=BB0_2 Depth=1
	movq	168(%rsp), %rdi
.LBB0_6:                                # %_ZNSt7__cxx119to_stringEi.exit
                                        #   in Loop: Header=BB0_2 Depth=1
	movq	160(%rsp), %r8
	movq	184(%rsp), %rsi
	movq	192(%rsp), %rdx
	leaq	(%rdx,%r8), %rax
	cmpq	%rdi, %rax
	jbe	.LBB0_10
# %bb.7:                                # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit12.i
                                        #   in Loop: Header=BB0_2 Depth=1
	movl	$15, %edi
	leaq	200(%rsp), %r9
	cmpq	%r9, %rsi
	je	.LBB0_9
# %bb.8:                                # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit12.i
                                        #   in Loop: Header=BB0_2 Depth=1
	movq	200(%rsp), %rdi
.LBB0_9:                                # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit12.i
                                        #   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdi, %rax
	jbe	.LBB0_11
.LBB0_10:                               #   in Loop: Header=BB0_2 Depth=1
.Ltmp11:
	leaq	152(%rsp), %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKcm
.Ltmp12:
	jmp	.LBB0_12
.LBB0_11:                               # %.critedge.i
                                        #   in Loop: Header=BB0_2 Depth=1
.Ltmp9:
	leaq	184(%rsp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEmmPKcm
.Ltmp10:
.LBB0_12:                               # %.noexc
                                        #   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r13
	movq	%rbx, 24(%rsp)
	movq	(%rax), %rsi
	leaq	16(%rax), %r12
	cmpq	%r12, %rsi
	je	.LBB0_14
# %bb.13:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i13.i
                                        #   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, 24(%rsp)
	movq	(%r12), %rax
	movq	%rax, 40(%rsp)
	jmp	.LBB0_15
.LBB0_14:                               #   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %rdx
	incq	%rdx
	movq	%rbx, %rdi
	callq	memcpy@PLT
.LBB0_15:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_.exit14.i
                                        #   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rax
	addq	$8, %rax
	movq	8(%r13), %rcx
	movq	%rcx, 32(%rsp)
	movq	%r12, (%r13)
	movq	$0, (%rax)
	movb	$0, (%r12)
	leaq	232(%rsp), %rax
	movq	%rax, 216(%rsp)
.Ltmp14:
	movl	$.L.str.1, %esi
	movl	$.L.str.1+4, %edx
	leaq	216(%rsp), %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
.Ltmp15:
# %bb.16:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.exit113
                                        #   in Loop: Header=BB0_2 Depth=1
	movq	24(%rsp), %rcx
	movl	$15, %edi
	cmpq	%rbx, %rcx
	je	.LBB0_18
# %bb.17:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.exit113
                                        #   in Loop: Header=BB0_2 Depth=1
	movq	40(%rsp), %rdi
.LBB0_18:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.exit113
                                        #   in Loop: Header=BB0_2 Depth=1
	movq	32(%rsp), %r8
	movq	216(%rsp), %rsi
	movq	224(%rsp), %rdx
	leaq	(%rdx,%r8), %rax
	cmpq	%rdi, %rax
	jbe	.LBB0_22
# %bb.19:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit12.i120
                                        #   in Loop: Header=BB0_2 Depth=1
	movl	$15, %edi
	leaq	232(%rsp), %r9
	cmpq	%r9, %rsi
	je	.LBB0_21
# %bb.20:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit12.i120
                                        #   in Loop: Header=BB0_2 Depth=1
	movq	232(%rsp), %rdi
.LBB0_21:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit12.i120
                                        #   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdi, %rax
	jbe	.LBB0_23
.LBB0_22:                               #   in Loop: Header=BB0_2 Depth=1
.Ltmp19:
	leaq	24(%rsp), %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKcm
.Ltmp20:
	jmp	.LBB0_24
.LBB0_23:                               # %.critedge.i122
                                        #   in Loop: Header=BB0_2 Depth=1
.Ltmp17:
	leaq	216(%rsp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEmmPKcm
.Ltmp18:
.LBB0_24:                               # %.noexc125
                                        #   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r13
	leaq	136(%rsp), %rdi
	movq	%rdi, 120(%rsp)
	movq	(%rax), %rsi
	leaq	16(%rax), %r12
	cmpq	%r12, %rsi
	je	.LBB0_26
# %bb.25:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i13.i116
                                        #   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, 120(%rsp)
	movq	(%r12), %rax
	movq	%rax, 136(%rsp)
	jmp	.LBB0_27
.LBB0_26:                               #   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %rdx
	incq	%rdx
	callq	memcpy@PLT
.LBB0_27:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_.exit14.i117
                                        #   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rax
	addq	$8, %rax
	movq	8(%r13), %rcx
	movq	%rcx, 128(%rsp)
	movq	%r12, (%r13)
	movq	$0, (%rax)
	movb	$0, (%r12)
	movq	216(%rsp), %rdi
	leaq	232(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_29
# %bb.28:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i128
                                        #   in Loop: Header=BB0_2 Depth=1
	callq	_ZdlPv
.LBB0_29:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit
                                        #   in Loop: Header=BB0_2 Depth=1
	movq	24(%rsp), %rdi
	cmpq	%rbx, %rdi
	je	.LBB0_31
# %bb.30:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i129
                                        #   in Loop: Header=BB0_2 Depth=1
	callq	_ZdlPv
.LBB0_31:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit131
                                        #   in Loop: Header=BB0_2 Depth=1
	movq	184(%rsp), %rdi
	leaq	200(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_33
# %bb.32:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i132
                                        #   in Loop: Header=BB0_2 Depth=1
	callq	_ZdlPv
.LBB0_33:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit134
                                        #   in Loop: Header=BB0_2 Depth=1
	movq	152(%rsp), %rdi
	leaq	168(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_35
# %bb.34:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i135
                                        #   in Loop: Header=BB0_2 Depth=1
	callq	_ZdlPv
.LBB0_35:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit137
                                        #   in Loop: Header=BB0_2 Depth=1
.Ltmp22:
	movq	%r15, %rdi
	leaq	120(%rsp), %rsi
	movl	$8, %edx
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode
.Ltmp23:
# %bb.36:                               #   in Loop: Header=BB0_2 Depth=1
	leaq	504(%rsp), %rdi
	callq	_ZNKSt12__basic_fileIcE7is_openEv
	movb	%al, 15(%rsp)                   # 1-byte Spill
	testb	%al, %al
	je	.LBB0_78
.LBB0_37:                               # %.preheader199
                                        #   Parent Loop BB0_2 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB0_44 Depth 3
                                        #       Child Loop BB0_69 Depth 3
	movq	384(%rsp), %rax
	movq	-24(%rax), %rdi
	addq	%r15, %rdi
.Ltmp24:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp25:
# %bb.38:                               # %.noexc150
                                        #   in Loop: Header=BB0_37 Depth=2
.Ltmp26:
	movsbl	%al, %edx
	movq	%r15, %rdi
	leaq	256(%rsp), %rsi
	callq	_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EES4_
.Ltmp27:
# %bb.39:                               #   in Loop: Header=BB0_37 Depth=2
	movq	(%rax), %rcx
	movq	-24(%rcx), %rcx
	testb	$5, 32(%rax,%rcx)
	leaq	40(%rsp), %rbx
	jne	.LBB0_73
# %bb.40:                               #   in Loop: Header=BB0_37 Depth=2
	movq	360(%rsp), %rdx
.Ltmp64:
	movl	$.L.str.3, %ecx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm
.Ltmp65:
# %bb.41:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc.exit
                                        #   in Loop: Header=BB0_37 Depth=2
.Ltmp66:
	movl	$.L.str.4, %esi
	leaq	256(%rsp), %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKc
.Ltmp67:
# %bb.42:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc.exit.preheader
                                        #   in Loop: Header=BB0_37 Depth=2
	cmpq	$0, 264(%rsp)
	je	.LBB0_52
# %bb.43:                               # %.lr.ph.preheader
                                        #   in Loop: Header=BB0_37 Depth=2
	xorl	%r12d, %r12d
.LBB0_44:                               # %.lr.ph
                                        #   Parent Loop BB0_2 Depth=1
                                        #     Parent Loop BB0_37 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movq	256(%rsp), %rax
	movb	(%rax,%r12), %al
	cmpb	$32, %al
	jne	.LBB0_48
# %bb.45:                               #   in Loop: Header=BB0_44 Depth=3
	cmpq	$0, 360(%rsp)
	je	.LBB0_49
# %bb.46:                               # %_ZStneIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit.thread
                                        #   in Loop: Header=BB0_44 Depth=3
.Ltmp71:
	movq	%rbp, %rdi
	movq	%r14, %rsi
	callq	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_
.Ltmp72:
# %bb.47:                               # %_ZStneIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit.thread._ZStneIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit.thread193_crit_edge
                                        #   in Loop: Header=BB0_44 Depth=3
	movq	360(%rsp), %rdx
	jmp	.LBB0_50
.LBB0_48:                               #   in Loop: Header=BB0_44 Depth=3
.Ltmp69:
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9push_backEc
.Ltmp70:
	jmp	.LBB0_51
.LBB0_49:                               #   in Loop: Header=BB0_44 Depth=3
	xorl	%edx, %edx
.LBB0_50:                               # %_ZStneIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit.thread193
                                        #   in Loop: Header=BB0_44 Depth=3
.Ltmp73:
	movl	$.L.str.3, %ecx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm
.Ltmp74:
.LBB0_51:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc.exit
                                        #   in Loop: Header=BB0_44 Depth=3
	incq	%r12
	cmpq	%r12, 264(%rsp)
	ja	.LBB0_44
.LBB0_52:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc.exit._crit_edge
                                        #   in Loop: Header=BB0_37 Depth=2
	movq	96(%rsp), %rax
	cmpq	%rax, 104(%rsp)
	je	.LBB0_37
# %bb.53:                               #   in Loop: Header=BB0_37 Depth=2
	cmpq	$3, 72(%rax)
	jne	.LBB0_59
# %bb.54:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit
                                        #   in Loop: Header=BB0_37 Depth=2
	movq	64(%rax), %rcx
	movzwl	(%rcx), %edx
	xorl	$14649, %edx                    # imm = 0x3939
	movzbl	2(%rcx), %ecx
	xorl	$57, %ecx
	orw	%dx, %cx
	jne	.LBB0_59
# %bb.55:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit.thread
                                        #   in Loop: Header=BB0_37 Depth=2
	movq	72(%rsp), %rax
	xorps	%xmm0, %xmm0
	cvtss2sd	-4(%rax), %xmm0
.Ltmp76:
	movl	$vsnprintf, %esi
	movl	$58, %edx
	movl	$.L.str.10, %ecx
	leaq	24(%rsp), %rbx
	movq	%rbx, %rdi
	movb	$1, %al
	callq	_ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z
.Ltmp77:
# %bb.56:                               # %_ZNSt7__cxx119to_stringEf.exit
                                        #   in Loop: Header=BB0_37 Depth=2
	movq	96(%rsp), %rdi
	addq	$64, %rdi
	movq	%rbx, %rsi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_
	movq	24(%rsp), %rdi
	leaq	40(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_58
# %bb.57:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i159
                                        #   in Loop: Header=BB0_37 Depth=2
	callq	_ZdlPv
.LBB0_58:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit161
                                        #   in Loop: Header=BB0_37 Depth=2
	movq	96(%rsp), %rax
.LBB0_59:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit.thread194
                                        #   in Loop: Header=BB0_37 Depth=2
	movq	64(%rax), %r12
	callq	__errno_location
	movq	%rax, %r13
	movl	(%rax), %ebx
	movl	$0, (%rax)
	movq	%r12, %rdi
	leaq	24(%rsp), %rsi
	movl	$10, %edx
	callq	__isoc23_strtol
	cmpq	%r12, 24(%rsp)
	je	.LBB0_122
# %bb.60:                               #   in Loop: Header=BB0_37 Depth=2
	movslq	%eax, %rcx
	cmpq	%rax, %rcx
	jne	.LBB0_124
# %bb.61:                               #   in Loop: Header=BB0_37 Depth=2
	movl	(%r13), %ecx
	cmpl	$34, %ecx
	je	.LBB0_124
# %bb.62:                               #   in Loop: Header=BB0_37 Depth=2
	testl	%ecx, %ecx
	jne	.LBB0_64
# %bb.63:                               #   in Loop: Header=BB0_37 Depth=2
	movl	%ebx, (%r13)
.LBB0_64:                               #   in Loop: Header=BB0_37 Depth=2
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	movss	%xmm0, 152(%rsp)
	movq	72(%rsp), %rsi
	cmpq	80(%rsp), %rsi
	je	.LBB0_66
# %bb.65:                               #   in Loop: Header=BB0_37 Depth=2
	movss	%xmm0, (%rsi)
	addq	$4, %rsi
	movq	%rsi, 72(%rsp)
	jmp	.LBB0_67
.LBB0_66:                               #   in Loop: Header=BB0_37 Depth=2
.Ltmp79:
	leaq	64(%rsp), %rdi
	leaq	152(%rsp), %rdx
	callq	_ZNSt6vectorIfSaIfEE17_M_realloc_insertIJfEEEvN9__gnu_cxx17__normal_iteratorIPfS1_EEDpOT_
.Ltmp80:
.LBB0_67:                               # %_ZNSt6vectorIfSaIfEE9push_backEOf.exit
                                        #   in Loop: Header=BB0_37 Depth=2
	movq	96(%rsp), %rbx
	movq	104(%rsp), %r12
	cmpq	%rbx, %r12
	je	.LBB0_37
# %bb.68:                               # %.lr.ph.i.i.i.i.i.preheader
                                        #   in Loop: Header=BB0_37 Depth=2
	movq	%rbx, %r13
.LBB0_69:                               # %.lr.ph.i.i.i.i.i
                                        #   Parent Loop BB0_2 Depth=1
                                        #     Parent Loop BB0_37 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movq	(%r13), %rdi
	addq	$16, %r13
	cmpq	%r13, %rdi
	je	.LBB0_71
# %bb.70:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i.i.i.i.i.i.i
                                        #   in Loop: Header=BB0_69 Depth=3
	callq	_ZdlPv
.LBB0_71:                               # %_ZSt8_DestroyINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEvPT_.exit.i.i.i.i.i
                                        #   in Loop: Header=BB0_69 Depth=3
	addq	$16, %r13
	cmpq	%r12, %r13
	jne	.LBB0_69
# %bb.72:                               # %_ZSt8_DestroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EvT_S7_RSaIT0_E.exit.i.i
                                        #   in Loop: Header=BB0_37 Depth=2
	movq	%rbx, 104(%rsp)
	jmp	.LBB0_37
.LBB0_73:                               #   in Loop: Header=BB0_2 Depth=1
.Ltmp28:
	movq	%r15, %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv
.Ltmp29:
.LBB0_74:                               #   in Loop: Header=BB0_2 Depth=1
	movq	120(%rsp), %rdi
	leaq	136(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_76
# %bb.75:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i164
                                        #   in Loop: Header=BB0_2 Depth=1
	callq	_ZdlPv
.LBB0_76:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit166
                                        #   in Loop: Header=BB0_2 Depth=1
	cmpb	$0, 15(%rsp)                    # 1-byte Folded Reload
	je	.LBB0_79
# %bb.77:                               #   in Loop: Header=BB0_2 Depth=1
	movl	16(%rsp), %eax                  # 4-byte Reload
	incl	%eax
	movl	%eax, 16(%rsp)                  # 4-byte Spill
	cmpl	$1992, %eax                     # imm = 0x7C8
	jne	.LBB0_2
	jmp	.LBB0_80
.LBB0_78:                               #   in Loop: Header=BB0_2 Depth=1
	movq	stderr(%rip), %rdi
	movl	$.L.str.2, %esi
	movl	16(%rsp), %edx                  # 4-byte Reload
	xorl	%eax, %eax
	callq	fprintf
	movl	$-1, 20(%rsp)                   # 4-byte Folded Spill
	leaq	40(%rsp), %rbx
	jmp	.LBB0_74
.LBB0_79:
	movl	20(%rsp), %ebx                  # 4-byte Reload
	jmp	.LBB0_111
.LBB0_80:                               # %.thread
	movq	72(%rsp), %r14
	subq	64(%rsp), %r14
	movq	%r14, %rbx
	shlq	$30, %rbx
	movq	%rbx, %r15
	sarq	$29, %r15
.Ltmp31:
	leaq	56(%rsp), %rdi
	movq	%r15, %rsi
	callq	hipMalloc
.Ltmp32:
# %bb.81:
	testq	%rbx, %rbx
	movq	$-1, %rdi
	cmovnsq	%r15, %rdi
.Ltmp33:
	callq	_Znam
.Ltmp34:
# %bb.82:                               # %.preheader198
	movq	%rax, %rbx
	shrq	$2, %r14
	testl	%r14d, %r14d
	jle	.LBB0_85
# %bb.83:                               # %.lr.ph280
	movq	64(%rsp), %rax
	movl	%r14d, %ecx
	xorl	%edx, %edx
.LBB0_84:                               # =>This Inner Loop Header: Depth=1
	movss	(%rax,%rdx,4), %xmm0            # xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rbx,%rdx,8)
	movl	$0, 4(%rbx,%rdx,8)
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	.LBB0_84
.LBB0_85:                               # %._crit_edge
	movq	56(%rsp), %rdi
.Ltmp35:
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp36:
# %bb.86:
.Ltmp37:
	leaq	248(%rsp), %rdi
	movl	%r14d, %esi
	movl	$41, %edx
	movl	$1, %ecx
	callq	hipfftPlan1d
.Ltmp38:
# %bb.87:
	testl	%eax, %eax
	jne	.LBB0_126
# %bb.88:
	movq	248(%rsp), %rdi
	movq	56(%rsp), %rdx
.Ltmp40:
	movq	%rdx, %rsi
	movl	$-1, %ecx
	callq	hipfftExecC2C
.Ltmp41:
# %bb.89:
	testl	%eax, %eax
	jne	.LBB0_127
# %bb.90:
.Ltmp43:
	callq	hipDeviceSynchronize
.Ltmp44:
# %bb.91:
	testl	%eax, %eax
	jne	.LBB0_130
# %bb.92:
	movq	56(%rsp), %rsi
.Ltmp48:
	movq	%rbx, %rdi
	movq	%r15, %rdx
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp49:
# %bb.93:
	testl	%eax, %eax
	jne	.LBB0_132
# %bb.94:
	movl	%r14d, %r12d
	shrl	$31, %r12d
	addl	%r14d, %r12d
	sarl	%r12d
	leal	1(%r12), %ebp
	movslq	%ebp, %r15
.Ltmp53:
	leaq	288(%rsp), %rdi
	movq	%r15, %rsi
	callq	_ZNSt6vectorIfSaIfEE6resizeEm
.Ltmp54:
# %bb.95:                               # %.preheader197
	cmpl	$2, %r14d
	jl	.LBB0_98
# %bb.96:                               # %.lr.ph283
	movq	288(%rsp), %rax
	movl	%ebp, %ecx
	decq	%rcx
	xorl	%edx, %edx
.LBB0_97:                               # =>This Inner Loop Header: Depth=1
	movss	8(%rbx,%rdx,8), %xmm0           # xmm0 = mem[0],zero,zero,zero
	movss	12(%rbx,%rdx,8), %xmm1          # xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm0
	mulss	%xmm1, %xmm1
	addss	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	sqrtss	%xmm1, %xmm0
	movss	%xmm0, 4(%rax,%rdx,4)
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	.LBB0_97
.LBB0_98:                               # %._crit_edge284
.Ltmp56:
	leaq	320(%rsp), %rdi
	movq	%r15, %rsi
	callq	_ZNSt6vectorIfSaIfEE6resizeEm
.Ltmp57:
# %bb.99:                               # %.preheader196
	movl	$1, %ecx
	cmpl	$2, %r14d
	jl	.LBB0_108
# %bb.100:                              # %.lr.ph287
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r12d, %xmm0
	movq	320(%rsp), %rcx
	movl	%ebp, %eax
	movl	$1, %edx
	movss	.LCPI0_0(%rip), %xmm1           # xmm1 = mem[0],zero,zero,zero
	movss	.LCPI0_1(%rip), %xmm2           # xmm2 = mem[0],zero,zero,zero
.LBB0_101:                              # =>This Inner Loop Header: Depth=1
	xorps	%xmm3, %xmm3
	cvtsi2ss	%edx, %xmm3
	divss	%xmm0, %xmm3
	mulss	%xmm1, %xmm3
	movaps	%xmm2, %xmm4
	divss	%xmm3, %xmm4
	movss	%xmm4, (%rcx,%rdx,4)
	incq	%rdx
	cmpq	%rdx, %rax
	jne	.LBB0_101
# %bb.102:                              # %.preheader
	movl	$1, %ecx
	cmpl	$2, %r14d
	jl	.LBB0_108
# %bb.103:                              # %.lr.ph291
	movq	288(%rsp), %rcx
	movl	$1, %esi
	movl	$1, %edx
.LBB0_104:                              # =>This Inner Loop Header: Depth=1
	movss	(%rcx,%rdx,4), %xmm0            # xmm0 = mem[0],zero,zero,zero
	movslq	%esi, %rdi
	ucomiss	(%rcx,%rdi,4), %xmm0
	movl	%edx, %edi
	ja	.LBB0_106
# %bb.105:                              #   in Loop: Header=BB0_104 Depth=1
	movl	%esi, %edi
.LBB0_106:                              #   in Loop: Header=BB0_104 Depth=1
	incq	%rdx
	movl	%edi, %esi
	cmpq	%rdx, %rax
	jne	.LBB0_104
# %bb.107:                              # %._crit_edge292.loopexit
	movslq	%edi, %rcx
.LBB0_108:                              # %._crit_edge292
	movq	320(%rsp), %rax
	movss	(%rax,%rcx,4), %xmm0            # xmm0 = mem[0],zero,zero,zero
	divss	.LCPI0_2(%rip), %xmm0
	cvtss2sd	%xmm0, %xmm0
	movl	$.L.str.9, %edi
	movb	$1, %al
	callq	printf
	movq	248(%rsp), %rdi
.Ltmp59:
	callq	hipfftDestroy
.Ltmp60:
# %bb.109:
	movq	56(%rsp), %rdi
.Ltmp61:
	callq	hipFree
.Ltmp62:
# %bb.110:
	movq	%rbx, %rdi
	callq	free
	xorl	%ebx, %ebx
.LBB0_111:                              # %.loopexit294
	leaq	384(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
	movq	288(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB0_113
# %bb.112:
	callq	_ZdlPv
.LBB0_113:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit
	movq	320(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB0_115
# %bb.114:
	callq	_ZdlPv
.LBB0_115:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit171
	movq	64(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB0_117
# %bb.116:
	callq	_ZdlPv
.LBB0_117:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit173
	leaq	96(%rsp), %rdi
	callq	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev
	movq	352(%rsp), %rdi
	leaq	368(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_119
# %bb.118:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i174
	callq	_ZdlPv
.LBB0_119:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit176
	movq	256(%rsp), %rdi
	leaq	272(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_121
# %bb.120:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i177
	callq	_ZdlPv
.LBB0_121:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit179
	movl	%ebx, %eax
	addq	$904, %rsp                      # imm = 0x388
	.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_122:
	.cfi_def_cfa_offset 960
.Ltmp84:
	movl	$.L.str.11, %edi
	callq	_ZSt24__throw_invalid_argumentPKc
.Ltmp85:
# %bb.123:
.LBB0_124:                              # %.critedge.i.i
.Ltmp82:
	movl	$.L.str.11, %edi
	callq	_ZSt20__throw_out_of_rangePKc
.Ltmp83:
# %bb.125:
.LBB0_126:
	movq	stderr(%rip), %rdi
	movl	$.L.str.6, %esi
	movl	$.L.str.7, %ecx
	movl	$88, %edx
	jmp	.LBB0_128
.LBB0_127:
	movq	stderr(%rip), %rdi
	movl	$.L.str.6, %esi
	movl	$.L.str.7, %ecx
	movl	$90, %edx
.LBB0_128:
	xorl	%eax, %eax
	callq	fprintf
	jmp	.LBB0_129
.LBB0_130:
	movq	stderr(%rip), %rbx
.Ltmp45:
	movl	%eax, %edi
	callq	hipGetErrorString
.Ltmp46:
# %bb.131:
	movl	$.L.str.8, %esi
	movl	$.L.str.7, %r8d
	movq	%rbx, %rdi
	movq	%rax, %rdx
	movl	$92, %ecx
	jmp	.LBB0_134
.LBB0_132:
	movq	stderr(%rip), %rbx
.Ltmp50:
	movl	%eax, %edi
	callq	hipGetErrorString
.Ltmp51:
# %bb.133:
	movl	$.L.str.8, %esi
	movl	$.L.str.7, %r8d
	movq	%rbx, %rdi
	movq	%rax, %rdx
	movl	$94, %ecx
.LBB0_134:
	xorl	%eax, %eax
	callq	fprintf
.LBB0_129:
	movl	$1, %edi
	callq	exit
.LBB0_135:
.Ltmp58:
	jmp	.LBB0_147
.LBB0_136:
.Ltmp42:
	jmp	.LBB0_147
.LBB0_137:
.Ltmp39:
	jmp	.LBB0_147
.LBB0_138:
.Ltmp52:
	jmp	.LBB0_147
.LBB0_139:
.Ltmp47:
	jmp	.LBB0_147
.LBB0_140:
.Ltmp63:
	jmp	.LBB0_147
.LBB0_141:                              # %.thread327
.Ltmp2:
	movq	%rax, %r14
	jmp	.LBB0_168
.LBB0_142:
.Ltmp55:
	jmp	.LBB0_147
.LBB0_143:
.Ltmp21:
	movq	%rax, %r14
	movq	216(%rsp), %rdi
	leaq	232(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_149
# %bb.144:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i138
	callq	_ZdlPv
	jmp	.LBB0_149
.LBB0_145:
.Ltmp13:
	movq	%rax, %r14
	jmp	.LBB0_151
.LBB0_146:
.Ltmp5:
.LBB0_147:
	movq	%rax, %r14
	jmp	.LBB0_166
.LBB0_148:
.Ltmp16:
	movq	%rax, %r14
.LBB0_149:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit140
	movq	24(%rsp), %rdi
	leaq	40(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_151
# %bb.150:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i141
	callq	_ZdlPv
.LBB0_151:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit143
	movq	184(%rsp), %rdi
	leaq	200(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_153
# %bb.152:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i144
	callq	_ZdlPv
.LBB0_153:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit146
	movq	152(%rsp), %rdi
	leaq	168(%rsp), %rax
	jmp	.LBB0_164
.LBB0_154:
.Ltmp8:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.LBB0_155:                              # %.loopexit.split-lp
.Ltmp30:
	jmp	.LBB0_162
.LBB0_156:
.Ltmp78:
	jmp	.LBB0_162
.LBB0_157:
.Ltmp81:
	jmp	.LBB0_162
.LBB0_158:
.Ltmp86:
	movq	%rax, %r14
	cmpl	$0, (%r13)
	jne	.LBB0_163
# %bb.159:
	movl	%ebx, (%r13)
	jmp	.LBB0_163
.LBB0_160:                              # %.loopexit
.Ltmp68:
	jmp	.LBB0_162
.LBB0_161:
.Ltmp75:
.LBB0_162:
	movq	%rax, %r14
.LBB0_163:
	movq	120(%rsp), %rdi
	leaq	136(%rsp), %rax
.LBB0_164:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit146
	cmpq	%rax, %rdi
	je	.LBB0_166
# %bb.165:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i147
	callq	_ZdlPv
.LBB0_166:
	leaq	384(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
	movq	288(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB0_168
# %bb.167:
	callq	_ZdlPv
.LBB0_168:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit181
	movq	320(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB0_170
# %bb.169:
	callq	_ZdlPv
.LBB0_170:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit183
	movq	64(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB0_172
# %bb.171:
	callq	_ZdlPv
.LBB0_172:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit185
	leaq	96(%rsp), %rdi
	callq	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev
	movq	352(%rsp), %rdi
	leaq	368(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_174
# %bb.173:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i186
	callq	_ZdlPv
.LBB0_174:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit188
	movq	256(%rsp), %rdi
	leaq	272(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_176
# %bb.175:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i189
	callq	_ZdlPv
.LBB0_176:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit191
	movq	%r14, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end0:
	.size	main, .Lfunc_end0-main
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table0:
.Lexception0:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase0-.Lttbaseref0
.Lttbaseref0:
	.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 .Ltmp4-.Ltmp3                  #   Call between .Ltmp3 and .Ltmp4
	.uleb128 .Ltmp5-.Lfunc_begin0           #     jumps to .Ltmp5
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp6-.Lfunc_begin0           # >> Call Site 3 <<
	.uleb128 .Ltmp7-.Ltmp6                  #   Call between .Ltmp6 and .Ltmp7
	.uleb128 .Ltmp8-.Lfunc_begin0           #     jumps to .Ltmp8
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp11-.Lfunc_begin0          # >> Call Site 4 <<
	.uleb128 .Ltmp10-.Ltmp11                #   Call between .Ltmp11 and .Ltmp10
	.uleb128 .Ltmp13-.Lfunc_begin0          #     jumps to .Ltmp13
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp10-.Lfunc_begin0          # >> Call Site 5 <<
	.uleb128 .Ltmp14-.Ltmp10                #   Call between .Ltmp10 and .Ltmp14
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp14-.Lfunc_begin0          # >> Call Site 6 <<
	.uleb128 .Ltmp15-.Ltmp14                #   Call between .Ltmp14 and .Ltmp15
	.uleb128 .Ltmp16-.Lfunc_begin0          #     jumps to .Ltmp16
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp19-.Lfunc_begin0          # >> Call Site 7 <<
	.uleb128 .Ltmp18-.Ltmp19                #   Call between .Ltmp19 and .Ltmp18
	.uleb128 .Ltmp21-.Lfunc_begin0          #     jumps to .Ltmp21
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp18-.Lfunc_begin0          # >> Call Site 8 <<
	.uleb128 .Ltmp22-.Ltmp18                #   Call between .Ltmp18 and .Ltmp22
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp22-.Lfunc_begin0          # >> Call Site 9 <<
	.uleb128 .Ltmp23-.Ltmp22                #   Call between .Ltmp22 and .Ltmp23
	.uleb128 .Ltmp30-.Lfunc_begin0          #     jumps to .Ltmp30
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp24-.Lfunc_begin0          # >> Call Site 10 <<
	.uleb128 .Ltmp67-.Ltmp24                #   Call between .Ltmp24 and .Ltmp67
	.uleb128 .Ltmp68-.Lfunc_begin0          #     jumps to .Ltmp68
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp71-.Lfunc_begin0          # >> Call Site 11 <<
	.uleb128 .Ltmp74-.Ltmp71                #   Call between .Ltmp71 and .Ltmp74
	.uleb128 .Ltmp75-.Lfunc_begin0          #     jumps to .Ltmp75
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp76-.Lfunc_begin0          # >> Call Site 12 <<
	.uleb128 .Ltmp77-.Ltmp76                #   Call between .Ltmp76 and .Ltmp77
	.uleb128 .Ltmp78-.Lfunc_begin0          #     jumps to .Ltmp78
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp79-.Lfunc_begin0          # >> Call Site 13 <<
	.uleb128 .Ltmp80-.Ltmp79                #   Call between .Ltmp79 and .Ltmp80
	.uleb128 .Ltmp81-.Lfunc_begin0          #     jumps to .Ltmp81
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp28-.Lfunc_begin0          # >> Call Site 14 <<
	.uleb128 .Ltmp29-.Ltmp28                #   Call between .Ltmp28 and .Ltmp29
	.uleb128 .Ltmp30-.Lfunc_begin0          #     jumps to .Ltmp30
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp31-.Lfunc_begin0          # >> Call Site 15 <<
	.uleb128 .Ltmp36-.Ltmp31                #   Call between .Ltmp31 and .Ltmp36
	.uleb128 .Ltmp55-.Lfunc_begin0          #     jumps to .Ltmp55
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp37-.Lfunc_begin0          # >> Call Site 16 <<
	.uleb128 .Ltmp38-.Ltmp37                #   Call between .Ltmp37 and .Ltmp38
	.uleb128 .Ltmp39-.Lfunc_begin0          #     jumps to .Ltmp39
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp40-.Lfunc_begin0          # >> Call Site 17 <<
	.uleb128 .Ltmp41-.Ltmp40                #   Call between .Ltmp40 and .Ltmp41
	.uleb128 .Ltmp42-.Lfunc_begin0          #     jumps to .Ltmp42
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp43-.Lfunc_begin0          # >> Call Site 18 <<
	.uleb128 .Ltmp44-.Ltmp43                #   Call between .Ltmp43 and .Ltmp44
	.uleb128 .Ltmp47-.Lfunc_begin0          #     jumps to .Ltmp47
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp48-.Lfunc_begin0          # >> Call Site 19 <<
	.uleb128 .Ltmp49-.Ltmp48                #   Call between .Ltmp48 and .Ltmp49
	.uleb128 .Ltmp52-.Lfunc_begin0          #     jumps to .Ltmp52
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp53-.Lfunc_begin0          # >> Call Site 20 <<
	.uleb128 .Ltmp54-.Ltmp53                #   Call between .Ltmp53 and .Ltmp54
	.uleb128 .Ltmp55-.Lfunc_begin0          #     jumps to .Ltmp55
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp56-.Lfunc_begin0          # >> Call Site 21 <<
	.uleb128 .Ltmp57-.Ltmp56                #   Call between .Ltmp56 and .Ltmp57
	.uleb128 .Ltmp58-.Lfunc_begin0          #     jumps to .Ltmp58
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp59-.Lfunc_begin0          # >> Call Site 22 <<
	.uleb128 .Ltmp62-.Ltmp59                #   Call between .Ltmp59 and .Ltmp62
	.uleb128 .Ltmp63-.Lfunc_begin0          #     jumps to .Ltmp63
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp84-.Lfunc_begin0          # >> Call Site 23 <<
	.uleb128 .Ltmp83-.Ltmp84                #   Call between .Ltmp84 and .Ltmp83
	.uleb128 .Ltmp86-.Lfunc_begin0          #     jumps to .Ltmp86
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp45-.Lfunc_begin0          # >> Call Site 24 <<
	.uleb128 .Ltmp46-.Ltmp45                #   Call between .Ltmp45 and .Ltmp46
	.uleb128 .Ltmp47-.Lfunc_begin0          #     jumps to .Ltmp47
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp50-.Lfunc_begin0          # >> Call Site 25 <<
	.uleb128 .Ltmp51-.Ltmp50                #   Call between .Ltmp50 and .Ltmp51
	.uleb128 .Ltmp52-.Lfunc_begin0          #     jumps to .Ltmp52
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp51-.Lfunc_begin0          # >> Call Site 26 <<
	.uleb128 .Lfunc_end0-.Ltmp51            #   Call between .Ltmp51 and .Lfunc_end0
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.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._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_,"axG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_,comdat
	.weak	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_ # -- Begin function _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_
	.p2align	1, 0x90
	.type	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_,@function
_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_: # @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	%rsi, %rdx
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	cmpq	16(%rdi), %rax
	je	.LBB1_2
# %bb.1:
	leaq	16(%rax), %rcx
	movq	%rcx, (%rax)
	movq	(%rdx), %rsi
	movq	8(%rdx), %rdx
	addq	%rsi, %rdx
	movq	%rax, %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag
	addq	$32, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.LBB1_2:
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	movq	%rax, %rsi
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_ # TAILCALL
.Lfunc_end1:
	.size	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_, .Lfunc_end1-_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIfSaIfEE6resizeEm,"axG",@progbits,_ZNSt6vectorIfSaIfEE6resizeEm,comdat
	.weak	_ZNSt6vectorIfSaIfEE6resizeEm   # -- Begin function _ZNSt6vectorIfSaIfEE6resizeEm
	.p2align	1, 0x90
	.type	_ZNSt6vectorIfSaIfEE6resizeEm,@function
_ZNSt6vectorIfSaIfEE6resizeEm:          # @_ZNSt6vectorIfSaIfEE6resizeEm
	.cfi_startproc
# %bb.0:
	movq	(%rdi), %rdx
	movq	8(%rdi), %rcx
	movq	%rcx, %r8
	subq	%rdx, %r8
	sarq	$2, %r8
	movq	%rsi, %rax
	subq	%r8, %rax
	jbe	.LBB2_1
# %bb.5:
	movq	%rax, %rsi
	jmp	_ZNSt6vectorIfSaIfEE17_M_default_appendEm # TAILCALL
.LBB2_1:
	jae	.LBB2_4
# %bb.2:
	leaq	(%rdx,%rsi,4), %rax
	cmpq	%rax, %rcx
	je	.LBB2_4
# %bb.3:
	movq	%rax, 8(%rdi)
.LBB2_4:                                # %_ZNSt6vectorIfSaIfEE15_M_erase_at_endEPf.exit
	retq
.Lfunc_end2:
	.size	_ZNSt6vectorIfSaIfEE6resizeEm, .Lfunc_end2-_ZNSt6vectorIfSaIfEE6resizeEm
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev,"axG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev,comdat
	.weak	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev # -- Begin function _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev
	.p2align	1, 0x90
	.type	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev,@function
_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev: # @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_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	.LBB3_6
# %bb.1:                                # %.lr.ph.i.i.i.preheader
	movq	%rdi, %r14
.LBB3_2:                                # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	addq	$16, %rbx
	cmpq	%rbx, %rdi
	je	.LBB3_4
# %bb.3:                                # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i.i.i.i.i
                                        #   in Loop: Header=BB3_2 Depth=1
	callq	_ZdlPv
.LBB3_4:                                # %_ZSt8_DestroyINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEvPT_.exit.i.i.i
                                        #   in Loop: Header=BB3_2 Depth=1
	addq	$16, %rbx
	cmpq	%r15, %rbx
	jne	.LBB3_2
# %bb.5:                                # %_ZSt8_DestroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EvT_S7_RSaIT0_E.exitthread-pre-split
	movq	(%r14), %rbx
.LBB3_6:                                # %_ZSt8_DestroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EvT_S7_RSaIT0_E.exit
	testq	%rbx, %rbx
	je	.LBB3_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
.LBB3_7:                                # %_ZNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_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_end3:
	.size	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev, .Lfunc_end3-_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_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_end4:
	.size	__clang_call_terminate, .Lfunc_end4-__clang_call_terminate
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8__detail18__to_chars_10_implIjEEvPcjT_,"axG",@progbits,_ZNSt8__detail18__to_chars_10_implIjEEvPcjT_,comdat
	.weak	_ZNSt8__detail18__to_chars_10_implIjEEvPcjT_ # -- Begin function _ZNSt8__detail18__to_chars_10_implIjEEvPcjT_
	.type	_ZNSt8__detail18__to_chars_10_implIjEEvPcjT_,@function
_ZNSt8__detail18__to_chars_10_implIjEEvPcjT_: # @_ZNSt8__detail18__to_chars_10_implIjEEvPcjT_
	.cfi_startproc
# %bb.0:
                                        # kill: def $esi killed $esi def $rsi
	cmpl	$100, %edx
	jb	.LBB5_1
# %bb.2:                                # %.lr.ph.preheader
	decl	%esi
.LBB5_3:                                # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movl	%edx, %eax
	imulq	$1374389535, %rax, %rax         # imm = 0x51EB851F
	shrq	$37, %rax
	imull	$100, %eax, %ecx
	movl	%edx, %r8d
	subl	%ecx, %r8d
	movb	.L__const._ZNSt8__detail18__to_chars_10_implIjEEvPcjT_.__digits+1(%r8,%r8), %cl
	movl	%esi, %r9d
	movb	%cl, (%rdi,%r9)
	movb	.L__const._ZNSt8__detail18__to_chars_10_implIjEEvPcjT_.__digits(%r8,%r8), %cl
	leal	-1(%rsi), %r8d
	movb	%cl, (%rdi,%r8)
	addl	$-2, %esi
	cmpl	$9999, %edx                     # imm = 0x270F
	movl	%eax, %edx
	ja	.LBB5_3
	jmp	.LBB5_4
.LBB5_1:
	movl	%edx, %eax
.LBB5_4:                                # %._crit_edge
	cmpl	$10, %eax
	jb	.LBB5_6
# %bb.5:
	movl	%eax, %eax
	leaq	(%rax,%rax), %rcx
	movl	%ecx, %ecx
	movb	.L__const._ZNSt8__detail18__to_chars_10_implIjEEvPcjT_.__digits+1(%rcx), %cl
	movb	%cl, 1(%rdi)
	movb	.L__const._ZNSt8__detail18__to_chars_10_implIjEEvPcjT_.__digits(%rax,%rax), %al
	jmp	.LBB5_7
.LBB5_6:
	orb	$48, %al
.LBB5_7:
	movb	%al, (%rdi)
	retq
.Lfunc_end5:
	.size	_ZNSt8__detail18__to_chars_10_implIjEEvPcjT_, .Lfunc_end5-_ZNSt8__detail18__to_chars_10_implIjEEvPcjT_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z,"axG",@progbits,_ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z,comdat
	.weak	_ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z # -- Begin function _ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z
	.type	_ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z,@function
_ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z: # @_ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z
	.cfi_startproc
# %bb.0:                                # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IPcvEET_S7_RKS3_.exit
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$208, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r10
	movq	%rdi, %rbx
	leaq	-224(%rbp), %rsi
	movq	%r8, 32(%rsi)
	movq	%r9, 40(%rsi)
	testb	%al, %al
	je	.LBB6_2
# %bb.1:                                # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IPcvEET_S7_RKS3_.exit
	movaps	%xmm0, -176(%rbp)
	movaps	%xmm1, -160(%rbp)
	movaps	%xmm2, -144(%rbp)
	movaps	%xmm3, -128(%rbp)
	movaps	%xmm4, -112(%rbp)
	movaps	%xmm5, -96(%rbp)
	movaps	%xmm6, -80(%rbp)
	movaps	%xmm7, -64(%rbp)
.LBB6_2:                                # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IPcvEET_S7_RKS3_.exit
	movq	%rsp, %r14
	leaq	15(%rdx), %rax
	andq	$-16, %rax
	subq	%rax, %r14
	movq	%r14, %rsp
	leaq	-48(%rbp), %rax
	movq	%rsi, 16(%rax)
	leaq	16(%rbp), %rsi
	movq	%rsi, 8(%rax)
	movabsq	$206158430240, %rsi             # imm = 0x3000000020
	movq	%rsi, (%rax)
	movq	%r14, %rdi
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	movq	%rax, %rcx
	callq	*%r10
	movslq	%eax, %rdx
	addq	%r14, %rdx
	leaq	16(%rbx), %rax
	movq	%rax, (%rbx)
	movq	$0, 8(%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag
	movq	%rbx, %rax
	leaq	-16(%rbp), %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	.cfi_def_cfa %rsp, 8
	retq
.Lfunc_end6:
	.size	_ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z, .Lfunc_end6-_ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_mPKS8_P13__va_list_tagEmSB_z
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag,"axG",@progbits,_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag,comdat
	.weak	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag # -- Begin function _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag
	.p2align	1, 0x90
	.type	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag,@function
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag: # @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	subq	%rsi, %r14
	movq	%r14, (%rsp)
	cmpq	$15, %r14
	jbe	.LBB7_1
# %bb.2:
	movq	%rsp, %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm
	movq	%rax, (%rbx)
	movq	(%r12), %rcx
	movq	%rcx, 16(%rbx)
	jmp	.LBB7_3
.LBB7_1:                                # %._crit_edge
	movq	(%rbx), %rax
.LBB7_3:
	testq	%r14, %r14
	je	.LBB7_7
# %bb.4:
	cmpq	$1, %r14
	jne	.LBB7_6
# %bb.5:
	movb	(%r15), %cl
	movb	%cl, (%rax)
	jmp	.LBB7_7
.LBB7_6:
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	memcpy@PLT
.LBB7_7:                                # %_ZZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tagEN6_GuardD2Ev.exit
	movq	(%rsp), %rax
	movq	%rax, 8(%rbx)
	movq	(%rbx), %rcx
	movb	$0, (%rcx,%rax)
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end7:
	.size	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag, .Lfunc_end7-_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag,"axG",@progbits,_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag,comdat
	.weak	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag # -- Begin function _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
	.p2align	1, 0x90
	.type	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag,@function
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag: # @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r12
	.cfi_def_cfa_offset 32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r12, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	subq	%rsi, %r14
	movq	%r14, (%rsp)
	cmpq	$15, %r14
	jbe	.LBB8_1
# %bb.2:
	movq	%rsp, %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm
	movq	%rax, (%rbx)
	movq	(%r12), %rcx
	movq	%rcx, 16(%rbx)
	jmp	.LBB8_3
.LBB8_1:                                # %._crit_edge
	movq	(%rbx), %rax
.LBB8_3:
	testq	%r14, %r14
	je	.LBB8_7
# %bb.4:
	cmpq	$1, %r14
	jne	.LBB8_6
# %bb.5:
	movb	(%r15), %cl
	movb	%cl, (%rax)
	jmp	.LBB8_7
.LBB8_6:
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	memcpy@PLT
.LBB8_7:                                # %_ZZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tagEN6_GuardD2Ev.exit
	movq	(%rsp), %rax
	movq	%rax, 8(%rbx)
	movq	(%rbx), %rcx
	movb	$0, (%rcx,%rax)
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end8:
	.size	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag, .Lfunc_end8-_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,"axG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,comdat
	.weak	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_ # -- Begin function _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_
	.p2align	1, 0x90
	.type	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,@function
_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_: # @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_
.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	$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, %rbp
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movl	$1, %esi
	movl	$.L.str.16, %edx
	callq	_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc
	movq	%rax, %r14
	movq	(%rbx), %rax
	movq	8(%rbx), %r15
	movq	%r13, %r12
	movq	%rax, (%rsp)                    # 8-byte Spill
	subq	%rax, %r12
	sarq	$5, %r12
	testq	%r14, %r14
	je	.LBB9_1
# %bb.2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv
	jmp	.LBB9_3
.LBB9_1:
	xorl	%eax, %eax
.LBB9_3:                                # %_ZNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE11_M_allocateEm.exit
	shlq	$5, %r12
	leaq	(%rax,%r12), %rdi
	leaq	(%rax,%r12), %rcx
	addq	$16, %rcx
	movq	%rcx, -16(%rcx)
	movq	(%rbp), %rsi
	movq	8(%rbp), %rdx
	addq	%rsi, %rdx
.Ltmp87:
	movq	%rax, %r12
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag
.Ltmp88:
# %bb.4:                                # %_ZNSt16allocator_traitsISaINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE9constructIS5_JRKS5_EEEvRS6_PT_DpOT0_.exit
	movq	%r12, %rbp
	movq	(%rsp), %rdi                    # 8-byte Reload
	cmpq	%r13, %rdi
	movq	%r12, 8(%rsp)                   # 8-byte Spill
	je	.LBB9_11
# %bb.5:                                # %.lr.ph.i.i.i.preheader
	movq	%rbx, 16(%rsp)                  # 8-byte Spill
	leaq	16(%r12), %rbp
	leaq	16(%rdi), %r12
.LBB9_6:                                # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	%rbp, -16(%rbp)
	movq	-16(%r12), %rsi
	cmpq	%rsi, %r12
	je	.LBB9_7
# %bb.8:                                # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i.i.i.i.i.i
                                        #   in Loop: Header=BB9_6 Depth=1
	movq	%rsi, -16(%rbp)
	movq	(%r12), %rax
	movq	%rax, (%rbp)
	movq	-8(%r12), %rbx
	jmp	.LBB9_9
.LBB9_7:                                #   in Loop: Header=BB9_6 Depth=1
	movq	-8(%r12), %rbx
	leaq	1(%rbx), %rdx
	movq	%rbp, %rdi
	callq	memcpy@PLT
.LBB9_9:                                # %_ZSt19__relocate_object_aINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_SaIS5_EEvPT_PT0_RT1_.exit.i.i.i
                                        #   in Loop: Header=BB9_6 Depth=1
	movq	%rbx, -8(%rbp)
	movq	%r12, -16(%r12)
	movq	$0, -8(%r12)
	movb	$0, (%r12)
	addq	$32, %rbp
	leaq	32(%r12), %rax
	addq	$16, %r12
	cmpq	%r13, %r12
	movq	%rax, %r12
	jne	.LBB9_6
# %bb.10:                               # %_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE11_S_relocateEPS5_S8_S8_RS6_.exit.loopexit
	addq	$-16, %rbp
	movq	16(%rsp), %rbx                  # 8-byte Reload
	movq	(%rsp), %rdi                    # 8-byte Reload
	movq	8(%rsp), %r12                   # 8-byte Reload
.LBB9_11:                               # %_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE11_S_relocateEPS5_S8_S8_RS6_.exit
	cmpq	%r13, %r15
	je	.LBB9_12
# %bb.13:                               # %.lr.ph.i.i.i27.preheader
	movq	%rbx, %r12
	addq	$48, %rbp
	addq	$16, %r13
.LBB9_14:                               # %.lr.ph.i.i.i27
                                        # =>This Inner Loop Header: Depth=1
	movq	%rbp, -16(%rbp)
	movq	-16(%r13), %rsi
	cmpq	%rsi, %r13
	je	.LBB9_15
# %bb.16:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i.i.i.i.i.i30
                                        #   in Loop: Header=BB9_14 Depth=1
	movq	%rsi, -16(%rbp)
	movq	(%r13), %rax
	movq	%rax, (%rbp)
	movq	-8(%r13), %rbx
	jmp	.LBB9_17
.LBB9_15:                               #   in Loop: Header=BB9_14 Depth=1
	movq	-8(%r13), %rbx
	leaq	1(%rbx), %rdx
	movq	%rbp, %rdi
	callq	memcpy@PLT
.LBB9_17:                               # %_ZSt19__relocate_object_aINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_SaIS5_EEvPT_PT0_RT1_.exit.i.i.i33
                                        #   in Loop: Header=BB9_14 Depth=1
	movq	%rbx, -8(%rbp)
	movq	%r13, -16(%r13)
	movq	$0, -8(%r13)
	movb	$0, (%r13)
	addq	$32, %rbp
	leaq	32(%r13), %rax
	addq	$16, %r13
	cmpq	%r15, %r13
	movq	%rax, %r13
	jne	.LBB9_14
# %bb.18:                               # %_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE11_S_relocateEPS5_S8_S8_RS6_.exit36.loopexit
	addq	$-16, %rbp
	movq	%r12, %rbx
	movq	(%rsp), %rdi                    # 8-byte Reload
	movq	8(%rsp), %r12                   # 8-byte Reload
	jmp	.LBB9_19
.LBB9_12:
	addq	$32, %rbp
.LBB9_19:                               # %_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE11_S_relocateEPS5_S8_S8_RS6_.exit36
	testq	%rdi, %rdi
	je	.LBB9_21
# %bb.20:
	callq	_ZdlPv
.LBB9_21:                               # %_ZNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE13_M_deallocateEPS5_m.exit
	movq	%r12, (%rbx)
	movq	%rbp, 8(%rbx)
	shlq	$5, %r14
	addq	%r12, %r14
	movq	%r14, 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
.LBB9_25:
	.cfi_def_cfa_offset 80
.Ltmp89:
	movq	%rax, %rdi
	callq	__cxa_begin_catch
	movq	%r12, %rdi
	callq	_ZdlPv
.Ltmp90:
	callq	__cxa_rethrow
.Ltmp91:
# %bb.26:
.LBB9_22:
.Ltmp92:
	movq	%rax, %rbx
.Ltmp93:
	callq	__cxa_end_catch
.Ltmp94:
# %bb.23:
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.LBB9_24:
.Ltmp95:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end9:
	.size	_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_, .Lfunc_end9-_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_
	.cfi_endproc
	.section	.gcc_except_table._ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,"aG",@progbits,_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_,comdat
	.p2align	2, 0x0
GCC_except_table9:
.Lexception1:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase1-.Lttbaseref1
.Lttbaseref1:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end1-.Lcst_begin1
.Lcst_begin1:
	.uleb128 .Lfunc_begin1-.Lfunc_begin1    # >> Call Site 1 <<
	.uleb128 .Ltmp87-.Lfunc_begin1          #   Call between .Lfunc_begin1 and .Ltmp87
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp87-.Lfunc_begin1          # >> Call Site 2 <<
	.uleb128 .Ltmp88-.Ltmp87                #   Call between .Ltmp87 and .Ltmp88
	.uleb128 .Ltmp89-.Lfunc_begin1          #     jumps to .Ltmp89
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp88-.Lfunc_begin1          # >> Call Site 3 <<
	.uleb128 .Ltmp90-.Ltmp88                #   Call between .Ltmp88 and .Ltmp90
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp90-.Lfunc_begin1          # >> Call Site 4 <<
	.uleb128 .Ltmp91-.Ltmp90                #   Call between .Ltmp90 and .Ltmp91
	.uleb128 .Ltmp92-.Lfunc_begin1          #     jumps to .Ltmp92
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp93-.Lfunc_begin1          # >> Call Site 5 <<
	.uleb128 .Ltmp94-.Ltmp93                #   Call between .Ltmp93 and .Ltmp94
	.uleb128 .Ltmp95-.Lfunc_begin1          #     jumps to .Ltmp95
	.byte	1                               #   On action: 1
	.uleb128 .Ltmp94-.Lfunc_begin1          # >> Call Site 6 <<
	.uleb128 .Lfunc_end9-.Ltmp94            #   Call between .Ltmp94 and .Lfunc_end9
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end1:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase1:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc,"axG",@progbits,_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc,comdat
	.weak	_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc # -- Begin function _ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc
	.p2align	1, 0x90
	.type	_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc,@function
_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc: # @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc
	.cfi_startproc
# %bb.0:
	movabsq	$288230376151711743, %rcx       # imm = 0x3FFFFFFFFFFFFFF
	movq	8(%rdi), %r8
	subq	(%rdi), %r8
	sarq	$5, %r8
	movq	%rcx, %rax
	subq	%r8, %rax
	cmpq	%rsi, %rax
	jb	.LBB10_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
.LBB10_2:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdx, %rdi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end10:
	.size	_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc, .Lfunc_end10-_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_M_check_lenEmPKc
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv,@function
_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv: # @_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$58, %rax
	jne	.LBB11_1
# %bb.3:
	shlq	$5, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB11_1:
	.cfi_def_cfa_offset 16
	shrq	$59, %rsi
	je	.LBB11_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB11_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end11:
	.size	_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv, .Lfunc_end11-_ZNSt15__new_allocatorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIfSaIfEE17_M_realloc_insertIJfEEEvN9__gnu_cxx17__normal_iteratorIPfS1_EEDpOT_,"axG",@progbits,_ZNSt6vectorIfSaIfEE17_M_realloc_insertIJfEEEvN9__gnu_cxx17__normal_iteratorIPfS1_EEDpOT_,comdat
	.weak	_ZNSt6vectorIfSaIfEE17_M_realloc_insertIJfEEEvN9__gnu_cxx17__normal_iteratorIPfS1_EEDpOT_ # -- Begin function _ZNSt6vectorIfSaIfEE17_M_realloc_insertIJfEEEvN9__gnu_cxx17__normal_iteratorIPfS1_EEDpOT_
	.p2align	1, 0x90
	.type	_ZNSt6vectorIfSaIfEE17_M_realloc_insertIJfEEEvN9__gnu_cxx17__normal_iteratorIPfS1_EEDpOT_,@function
_ZNSt6vectorIfSaIfEE17_M_realloc_insertIJfEEEvN9__gnu_cxx17__normal_iteratorIPfS1_EEDpOT_: # @_ZNSt6vectorIfSaIfEE17_M_realloc_insertIJfEEEvN9__gnu_cxx17__normal_iteratorIPfS1_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.16, %edx
	callq	_ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc
	movq	(%rbx), %r13
	movq	8(%rbx), %r15
	movq	%r12, 8(%rsp)                   # 8-byte Spill
	subq	%r13, %r12
	movq	%r12, %r14
	sarq	$2, %r14
	testq	%rax, %rax
	movq	%rax, 16(%rsp)                  # 8-byte Spill
	je	.LBB12_1
# %bb.2:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIfE8allocateEmPKv
	movq	%rax, %rbp
	jmp	.LBB12_3
.LBB12_1:
	xorl	%ebp, %ebp
.LBB12_3:                               # %_ZNSt12_Vector_baseIfSaIfEE11_M_allocateEm.exit
	movq	(%rsp), %rax                    # 8-byte Reload
	movss	(%rax), %xmm0                   # xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rbp,%r14,4)
	testq	%r12, %r12
	jle	.LBB12_5
# %bb.4:
	movq	%rbp, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	memmove@PLT
.LBB12_5:                               # %_ZNSt6vectorIfSaIfEE11_S_relocateEPfS2_S2_RS0_.exit
	addq	%rbp, %r12
	addq	$4, %r12
	movq	8(%rsp), %rsi                   # 8-byte Reload
	subq	%rsi, %r15
	testq	%r15, %r15
	jle	.LBB12_7
# %bb.6:
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	memmove@PLT
.LBB12_7:                               # %_ZNSt6vectorIfSaIfEE11_S_relocateEPfS2_S2_RS0_.exit16
	testq	%r13, %r13
	je	.LBB12_9
# %bb.8:
	movq	%r13, %rdi
	callq	_ZdlPv
.LBB12_9:                               # %_ZNSt12_Vector_baseIfSaIfEE13_M_deallocateEPfm.exit
	addq	%r15, %r12
	movq	%rbp, (%rbx)
	movq	%r12, 8(%rbx)
	movq	16(%rsp), %rax                  # 8-byte Reload
	leaq	(,%rax,4), %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_end12:
	.size	_ZNSt6vectorIfSaIfEE17_M_realloc_insertIJfEEEvN9__gnu_cxx17__normal_iteratorIPfS1_EEDpOT_, .Lfunc_end12-_ZNSt6vectorIfSaIfEE17_M_realloc_insertIJfEEEvN9__gnu_cxx17__normal_iteratorIPfS1_EEDpOT_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc,"axG",@progbits,_ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc,comdat
	.weak	_ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc # -- Begin function _ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc
	.p2align	1, 0x90
	.type	_ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc,@function
_ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc: # @_ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc
	.cfi_startproc
# %bb.0:
	movabsq	$2305843009213693951, %rcx      # imm = 0x1FFFFFFFFFFFFFFF
	movq	8(%rdi), %r8
	subq	(%rdi), %r8
	sarq	$2, %r8
	movq	%rcx, %rax
	subq	%r8, %rax
	cmpq	%rsi, %rax
	jb	.LBB13_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
.LBB13_2:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rdx, %rdi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end13:
	.size	_ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc, .Lfunc_end13-_ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorIfE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorIfE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorIfE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorIfE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorIfE8allocateEmPKv,@function
_ZNSt15__new_allocatorIfE8allocateEmPKv: # @_ZNSt15__new_allocatorIfE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$61, %rax
	jne	.LBB14_1
# %bb.3:
	shlq	$2, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB14_1:
	.cfi_def_cfa_offset 16
	shrq	$62, %rsi
	je	.LBB14_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB14_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end14:
	.size	_ZNSt15__new_allocatorIfE8allocateEmPKv, .Lfunc_end14-_ZNSt15__new_allocatorIfE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIfSaIfEE17_M_default_appendEm,"axG",@progbits,_ZNSt6vectorIfSaIfEE17_M_default_appendEm,comdat
	.weak	_ZNSt6vectorIfSaIfEE17_M_default_appendEm # -- Begin function _ZNSt6vectorIfSaIfEE17_M_default_appendEm
	.p2align	1, 0x90
	.type	_ZNSt6vectorIfSaIfEE17_M_default_appendEm,@function
_ZNSt6vectorIfSaIfEE17_M_default_appendEm: # @_ZNSt6vectorIfSaIfEE17_M_default_appendEm
	.cfi_startproc
# %bb.0:
	testq	%rsi, %rsi
	je	.LBB15_16
# %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	pushq	%rax
	.cfi_def_cfa_offset 64
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	movq	16(%rdi), %rax
	subq	%r15, %rax
	sarq	$2, %rax
	cmpq	%rsi, %rax
	jae	.LBB15_2
# %bb.5:
	movq	(%rbx), %r12
	subq	%r12, %r15
	movq	%r15, %r13
	sarq	$2, %r13
	movl	$.L.str.17, %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ZNKSt6vectorIfSaIfEE12_M_check_lenEmPKc
	testq	%rax, %rax
	movq	%rax, (%rsp)                    # 8-byte Spill
	je	.LBB15_6
# %bb.7:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorIfE8allocateEmPKv
	movq	%rax, %rbp
	jmp	.LBB15_8
.LBB15_2:
	movl	$0, (%r15)
	leaq	4(%r15), %rdi
	cmpq	$1, %r14
	je	.LBB15_4
# %bb.3:                                # %_ZSt6fill_nIPfmfET_S1_T0_RKT1_.exit.loopexit.i.i.i
	leaq	-4(,%r14,4), %rdx
	xorl	%esi, %esi
	callq	memset@PLT
	leaq	(%r15,%r14,4), %rdi
.LBB15_4:                               # %_ZSt27__uninitialized_default_n_aIPfmfET_S1_T0_RSaIT1_E.exit
	movq	%rdi, 8(%rbx)
	jmp	.LBB15_15
.LBB15_6:
	xorl	%ebp, %ebp
.LBB15_8:
	leaq	(,%r13,4), %r13
	addq	%rbp, %r13
	movl	$0, (%r13)
	cmpq	$1, %r14
	je	.LBB15_10
# %bb.9:                                # %_ZSt6fill_nIPfmfET_S1_T0_RKT1_.exit.loopexit.i.i.i30
	leaq	4(%r13), %rdi
	leaq	-4(,%r14,4), %rdx
	xorl	%esi, %esi
	callq	memset@PLT
.LBB15_10:                              # %_ZSt27__uninitialized_default_n_aIPfmfET_S1_T0_RSaIT1_E.exit32
	testq	%r15, %r15
	jle	.LBB15_12
# %bb.11:
	movq	%rbp, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	memmove@PLT
.LBB15_12:                              # %_ZNSt6vectorIfSaIfEE11_S_relocateEPfS2_S2_RS0_.exit
	testq	%r12, %r12
	je	.LBB15_14
# %bb.13:
	movq	%r12, %rdi
	callq	_ZdlPv
.LBB15_14:                              # %_ZNSt12_Vector_baseIfSaIfEE13_M_deallocateEPfm.exit35
	movq	%rbp, (%rbx)
	leaq	(,%r14,4), %rax
	addq	%r13, %rax
	movq	%rax, 8(%rbx)
	movq	(%rsp), %rax                    # 8-byte Reload
	leaq	(,%rax,4), %rax
	addq	%rbp, %rax
	movq	%rax, 16(%rbx)
.LBB15_15:
	addq	$8, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	.cfi_restore %rbx
	.cfi_restore %r12
	.cfi_restore %r13
	.cfi_restore %r14
	.cfi_restore %r15
	.cfi_restore %rbp
.LBB15_16:
	retq
.Lfunc_end15:
	.size	_ZNSt6vectorIfSaIfEE17_M_default_appendEm, .Lfunc_end15-_ZNSt6vectorIfSaIfEE17_M_default_appendEm
	.cfi_endproc
                                        # -- End function
	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	"data/w"
	.size	.L.str, 7

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

	.type	.L.str.2,@object                # @.str.2
.L.str.2:
	.asciz	"can't open a file data/w%d.dat\n"
	.size	.L.str.2, 32

	.type	.L.str.3,@object                # @.str.3
.L.str.3:
	.zero	1
	.size	.L.str.3, 1

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

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

	.type	.L.str.6,@object                # @.str.6
.L.str.6:
	.asciz	"Error at line %d in file %s\n"
	.size	.L.str.6, 29

	.type	.L.str.7,@object                # @.str.7
.L.str.7:
	.asciz	"/home/ubuntu/Datasets/stackv2/train-structured-repos-hip-sm89/gedenteen/CUDA/main/lab8/task2.hip"
	.size	.L.str.7, 97

	.type	.L.str.8,@object                # @.str.8
.L.str.8:
	.asciz	"Error \"%s\" at line %d in file %s\n"
	.size	.L.str.8, 34

	.type	.L.str.9,@object                # @.str.9
.L.str.9:
	.asciz	"calculated periodicity = %f years\n"
	.size	.L.str.9, 35

	.type	.L__const._ZNSt8__detail18__to_chars_10_implIjEEvPcjT_.__digits,@object # @__const._ZNSt8__detail18__to_chars_10_implIjEEvPcjT_.__digits
	.section	.rodata.str1.16,"aMS",@progbits,1
	.p2align	4, 0x0
.L__const._ZNSt8__detail18__to_chars_10_implIjEEvPcjT_.__digits:
	.asciz	"00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899"
	.size	.L__const._ZNSt8__detail18__to_chars_10_implIjEEvPcjT_.__digits, 201

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

	.type	.L.str.11,@object               # @.str.11
.L.str.11:
	.asciz	"stoi"
	.size	.L.str.11, 5

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

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

	.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 vsnprintf
	.addrsig_sym _Unwind_Resume
	.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
