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

#include <stdio.h>
#include <iostream>
#include <vector>
#include <string> 
#include <array>
#include <iomanip>
#include <chrono>
#include <fstream>

typedef std::chrono::high_resolution_clock Clock;

#define pi 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481117450284102701938521f
#define omega (2.f*pi)
#define omega0 (omega*3.f/2.f)
#define beta (omega0/4.f)

#define roll_num 16
#define wrarp_num 32
#define grid_num 4
#define time 10
#define h_exp_3 5
#define t_step_exp 8

#define batch_size ( wrarp_num * grid_num * 32)
#define t_step (1.f/(1<<t_step_exp))
#define h_level_3 (1<<h_exp_3)
#define h (1.f/(1<<(h_exp_3*3+t_step_exp)))

#define t_size (sizeof(unsigned long) * batch_size)
#define p_size (sizeof(float)*(4 + 2 * roll_num) * batch_size)


__device__ void __RK4(unsigned long t_index, float x, float v, float *outx, float *outv, float y, float dy);
__device__ void RK4(unsigned long t_index, float x, float v, float *outx, float *outv, float y, float dy);
void RK4_CPU(unsigned t_index, float y, float dy, float& x, float& v);

__global__ void kernel(unsigned long *index, float * p) {
	unsigned int id = blockIdx.x * blockDim.x + threadIdx.x;

	for (unsigned i = 0; i < roll_num; ++i) {
		__RK4(index[id] + i,
			p[batch_size*(2 * i + 2) + id], p[batch_size*(2 * i + 3) + id],
			p + batch_size * (2 * i + 4) + id, p + batch_size * (2 * i + 5) + id,
			p[id], p[batch_size + id]);
	}
}

struct workinggroup
{
	float *p_h, *p_d;
	unsigned long *t_index_h, *t_index_d;
	cudaStream_t stream;
	int gpu;
	workinggroup(int gpu_id) :gpu(gpu_id) {
		t_index_h = (unsigned long*)malloc(t_size);
		p_h = (float*)malloc(p_size);
		cudaSetDevice(gpu);
		cudaStreamCreate(&stream);
		cudaMalloc((void**)&t_index_d, t_size);
		cudaMalloc((void**)&p_d, p_size);
	}
	~workinggroup() {
		free(t_index_h);
		free(p_h);
		cudaSetDevice(gpu);
		cudaStreamDestroy(stream);
		cudaFree(t_index_d);
		cudaFree(p_d);
	}
	inline unsigned long &t_index(unsigned long index) { return t_index_h[index]; }

	inline float &gamma(unsigned long index) { return p_h[0 * batch_size + index]; }
	inline float &dgamma(unsigned long index) { return p_h[1 * batch_size + index]; }

	inline float &x(unsigned long t_index, unsigned long index) { return p_h[(2 * t_index + 2) * batch_size + index]; }
	inline float &v(unsigned long t_index, unsigned long index) { return p_h[(2 * t_index + 3) * batch_size + index]; }

	inline float &x_0(unsigned long index) { return x(0, index); }
	inline float &v_0(unsigned long index) { return v(0, index); }
	inline float &x_n(unsigned long index) { return x(roll_num, index); }
	inline float &v_n(unsigned long index) { return v(roll_num, index); }

	inline void lunch_plan() {
		cudaSetDevice(gpu);
		cudaMemcpyAsync((void*)t_index_d, (void*)t_index_h, t_size, cudaMemcpyHostToDevice, stream);
		cudaMemcpyAsync((void*)p_d, (void*)p_h, p_size, cudaMemcpyHostToDevice, stream);

		kernel <<<grid_num, wrarp_num * 32, 0, stream >>> (t_index_d, p_d);

		cudaMemcpyAsync((void*)p_h, (void*)p_d, p_size, cudaMemcpyDeviceToHost, stream);
	}

	inline void sync() { cudaSetDevice(gpu); cudaStreamSynchronize(stream); }
	inline bool check() { cudaSetDevice(gpu); return cudaStreamQuery(stream) != cudaErrorNotReady; }
};

struct info
{
	unsigned long gpu;			//gpu using
	unsigned long t_file;		//time step per file
	unsigned long t_num;		//time step per second
	unsigned long t_max;		//time range [0, t_max]
	unsigned long t_n;			//total sample number
	unsigned long t_current;	//time step finished
	unsigned long gamma_num;	//testing gamma's number
	float init_gamma;			//gamma start
	float d_gamma;				//gamma step
	float x0;					//init x
	float v0;					//init v
};

int main(int argc, char *argv[])
{
	info para;
	bool continue_working = false;
	unsigned long init_t = 0;
	unsigned long start_t = 0;
	unsigned long file_id = 0;
	float gamma_range = 0.2;

	para.t_num = (1 << t_step_exp);
	para.t_file = 128 * para.t_num;
	para.gpu = 0;
	para.x0 = 0;
	para.v0 = 0;
	para.t_max = 10;
	para.init_gamma = 1.f;

	para.d_gamma = gamma_range / (batch_size * 3);
	para.t_n = para.t_max * para.t_num;
	para.gamma_num = batch_size * 3;

	if (argc > 1) {
		for (int i = 0; i < argc; ++i) {
			std::string arg = argv[i];
			if (arg == "-h" || arg == "--help" || arg == "-?") {
				std::cout << "-g:\tset the gpu for calculate" << std::endl;
				std::cout << "-x:\tset init x0" << std::endl;
				std::cout << "-v:\tset init v0" << std::endl;
				std::cout << "-t:\tset time range" << std::endl;
				std::cout << "-y:\tset minimal gamma" << std::endl;
				std::cout << "-yr:\tset the gamma searching range (d_gamma = gamma_range / " << para.gamma_num << ")" << std::endl;
				std::cout << "-h, --help, -?: " << std::endl;
				return 0;
			}
			else if (arg == "-g")
				para.gpu = std::stoi(argv[++i]);
			else if (arg == "-x")
				para.x0 = std::stof(argv[++i]);
			else if (arg == "-v")
				para.v0 = std::stof(argv[++i]);
			else if (arg == "-t") {
				para.t_max = std::stoul(argv[++i]);
				para.t_n = para.t_max * para.t_num;
			}
			else if (arg == "-y")
				para.init_gamma = std::stof(argv[++i]);
			else if (arg == "-yr") {
				gamma_range = std::stof(argv[++i]);
				para.d_gamma = gamma_range / (batch_size * 3);
			}
		}
	}
	else {
		std::ifstream info_file("info.dat", std::ios::binary);
		if (info_file.is_open()) {
			info tmp;
			info_file.read((char*)&tmp, sizeof(info));
			if (tmp.t_current != tmp.t_n) {
				continue_working = true;
				start_t = (tmp.t_current / roll_num);
				init_t = start_t * roll_num - 1;
				file_id = init_t / tmp.t_file;
				para = tmp;
				std::cout << "Find unfinished task! Auto start continue working from t id " << start_t * roll_num << " ...\n(disable by adding any arg)\n\n\n\n" << std::endl;
			}
		}
	}
	


	std::cout << "Starting calculation:\n" << "\tx0: " << para.x0 << "   v0: " << para.v0
		<< "\n\tgamma: [ " << para.init_gamma << " , " << (para.init_gamma + para.gamma_num*para.d_gamma) << " ) -- " << para.gamma_num << " steps with step length: " << para.d_gamma
		<< "\n\tt_max: " << para.t_max << "\n\ton GPU " << para.gpu << "\n\n" << std::endl;

	float *tmp_data = new float[para.gamma_num * roll_num * 2];

	if (continue_working) {
		std::ifstream data(std::string("data") + std::to_string(file_id) + std::string(".dat"), std::ios::binary);
		data.seekg(para.gamma_num * 2 * (init_t % para.t_file) * sizeof(float));
		data.read((char*)tmp_data, para.gamma_num * 2 * sizeof(float));
	}

	workinggroup a(para.gpu), b(para.gpu), c(para.gpu);
	workinggroup *g[] = { &a, &b, &c };

	for (int i = 0; i < 3; ++i) {
		for (unsigned long j = 0; j < batch_size; ++j) {
			g[i]->t_index(j) = start_t * roll_num;
			g[i]->gamma(j) = para.init_gamma;
			g[i]->dgamma(j) = para.d_gamma * (batch_size*i + j);
			g[i]->x_0(j) = continue_working ? tmp_data[2 * (batch_size * i + j)] : para.x0;
			g[i]->v_0(j) = continue_working ? tmp_data[2 * (batch_size * i + j) + 1] : para.v0;
		}
		g[i]->lunch_plan();
	}

	auto start = Clock::now();
	for (unsigned long t = start_t; t < para.t_n / roll_num; ++t) {
		auto s = Clock::now();
		para.t_current = (t + 1) * roll_num;
		for (int i = 0; i < 3; ++i) {
			g[i]->sync();
			for (unsigned long j = 0; j < batch_size; ++j) for (unsigned long k = 0; k < roll_num; ++k) {
				tmp_data[2 * (para.gamma_num * k + i * batch_size + j)] = g[i]->x(k + 1, j);
				tmp_data[2 * (para.gamma_num * k + i * batch_size + j) + 1] = g[i]->v(k + 1, j);
			}
			if (t != (para.t_n / roll_num - 1)) {
				for (unsigned long j = 0; j < batch_size; ++j) {
					g[i]->t_index(j) = para.t_current;
					g[i]->x_0(j) = g[i]->x_n(j);
					g[i]->v_0(j) = g[i]->v_n(j);
				}
				g[i]->lunch_plan();
			}

		}
		
		std::ofstream data_file;
		data_file.open(std::string("data") + std::to_string(t * roll_num / para.t_file) + std::string(".dat"), std::ios::binary | std::ios::out | std::ios::in);
		if (data_file.is_open())
			data_file.seekp(t * roll_num % para.t_file * para.gamma_num * 2 * sizeof(float));
		else
			data_file.open(std::string("data") + std::to_string(t * roll_num / para.t_file) + std::string(".dat"), std::ios::binary | std::ios::out);
		data_file.write((char*)tmp_data, para.gamma_num * roll_num * 2 * sizeof(float));
		data_file.close();

		std::ofstream info_file("info.dat", std::ios::binary);
		info_file.write((char*)&para, sizeof(para));
		info_file.close();

		auto e = Clock::now();

		std::cout.setf(std::ios::fixed);
		std::cout << "Finish calculation: 0 - " << ((t + 1) * roll_num - 1) << "\t(current t ID: " << (t + 1) * roll_num << ") / " << para.t_n
			<< " |\tfrom " << std::setprecision(3) << t * roll_num * t_step << "s to " << std::setprecision(3) << (t + 1) * roll_num * t_step << "s |\tused "
			<< std::setprecision(2) << (static_cast<double>(std::chrono::duration_cast<std::chrono::nanoseconds>(e - s).count()) / 1000000) << "ms\t("
			<< std::setprecision(4) << ((t + 1) * roll_num * 100.f / para.t_n) << "%  used: "
			<< std::setprecision(3)
			<< (static_cast<double>(std::chrono::duration_cast<std::chrono::nanoseconds>(e - start).count()) / 3600000000000) << "hours  ETA: "
			<< std::setprecision(3)
			<< (para.t_n - (t + 1) * roll_num) *(static_cast<double>(std::chrono::duration_cast<std::chrono::nanoseconds>(e - start).count()) / ((t + 1 - start_t) * roll_num) / 3600000000000) << " hours)"
			<< std::endl;
	}
	delete[] tmp_data;
	return 0;
}

__device__ void __RK4(unsigned long t_index, float x, float v, float *outx, float *outv, float y, float dy) {
	/**********************************************************************
		(v' , x') = f((v+dv+ddv , x+dx+ddx) , t+dt): gamma = gamma + dgamma
		ot = omega * t;
		odt = omega * dt;

		bv = -2*beta* v
		y_cos_t = gamma*omega0^2* cos(ot)
		y_sin_t = gamma*omega0^2* sin(ot)
		dy_cos_t = dgamma*omega0^2* cos(ot)
		dy_sin_t = dgamma*omega0^2* sin(ot)
		cos_x = omega0^2* cos(x)
		sin_x = omega0^2* sin(x)

		tmp_1 = bv + y_cos_t * cos(odt)
		tmp_2 = - y_sin_t * sin(odt) + dy_cos_t * cos(odt)
		tmp_3 = - dy_sin_t * sin(odt)

		v'	=	(h^1)			tmp_1 - sin_x * cos(dx) * cos(ddx)
				(h^2)			tmp_2 - cos_x * sin(dx) * cos(ddx) - 2*beta * dv
				(h^3)			tmp_3 - cos_x * cos(dx) * sin(ddx) + sin_x * sin(dx) * sin(ddx) - 2*beta * ddv


		x'	=	(h^1)			+ v
				(h^2)			+ dv
				(h^2)			+ ddv
	**********************************************************************/

	const float T = fmodf(t_step * t_index, 2 * pi / omega);
	const float betav = -2.f * beta * v;
	const float beta2 = -2.f * beta;
	const float cos_x = omega0 * omega0 * cosf(x);
	const float sin_x = omega0 * omega0 * sinf(x);

	const float hv = h * (v);
	const float hhv = .5f * hv;

	float dx1 = 0, dv1 = 0;
	for (unsigned long i = 0; i < h_level_3; ++i) {
		float dx2 = 0, dv2 = 0;
		for (unsigned long j = 0; j < h_level_3; ++j) {
			float dx3 = 0, dv3 = 0;

			const float ot = omega * (T + (h * h_level_3 * h_level_3) * i + (h * h_level_3) * j);
			const float y_cos_t = y * (omega0 * omega0) * cosf(ot);
			const float y_sin_t = y * (omega0 * omega0) * sinf(ot);
			const float dy_cos_t = dy * (omega0 * omega0) * cosf(ot);
			const float dy_sin_t = dy * (omega0 * omega0) * sinf(ot);

			for (unsigned long k = 0; k < h_level_3; ++k) {
				float			dx2_ = 0, dx3_ = 0;
				float dv1_ = 0, dv2_ = 0, dv3_ = 0;
				float dx, ddx, dv, ddv, odt;
				float		   tmp_dx2, tmp_dx3;
				float tmp_dv1, tmp_dv2, tmp_dv3;
				float tmp_1, tmp_2, tmp_3;

				//K1
				odt = (omega * h) * k;
				tmp_1 = betav + y_cos_t * __cosf(odt);
				tmp_2 = dy_cos_t * __cosf(odt) - y_sin_t * __sinf(odt);
				tmp_3 = -dy_sin_t * __sinf(odt);

				dv = dv1;	ddv = dv2 + dv3;
				dx = dx1;	ddx = dx2 + dx3;
				dv1_ += h * (tmp_1 - sin_x * __cosf(dx) * __cosf(ddx));
				dv2_ += h * (tmp_2 - cos_x * __sinf(dx) * __cosf(ddx) - beta2 * dv);
				dv3_ += h * (tmp_3 - cos_x * __cosf(dx) * __sinf(ddx) + sin_x * __sinf(dx) * __sinf(ddx) - beta2 * ddv);
				dx2_ += h * dv;
				dx3_ += h * ddv;

				//t of K2 & K3
				odt = (omega * h) * (k + .5f);
				tmp_1 = betav + y_cos_t * __cosf(odt);
				tmp_2 = dy_cos_t * __cosf(odt) - y_sin_t * __sinf(odt);
				tmp_3 = -dy_sin_t * __sinf(odt);

				//K2
				dv = dv1 + .5f * dv1_;	ddv = (dv2 + .5f * dv2_) + (dv3 + .5f * dv3_);
				dx = dx1 + hhv;	ddx = (dx2 + .5f * dx2_) + (dx3 + .5f * dx3_);
				dv1_ += 2.f * (tmp_dv1 = h * (tmp_1 - sin_x * __cosf(dx) * __cosf(ddx)));
				dv2_ += 2.f * (tmp_dv2 = h * (tmp_2 - cos_x * __sinf(dx) * __cosf(ddx) - beta2 * dv));
				dv3_ += 2.f * (tmp_dv3 = h * (tmp_3 - cos_x * __cosf(dx) * __sinf(ddx) + sin_x * __sinf(dx) * __sinf(ddx) - beta2 * ddv));
				dx2_ += 2.f * (tmp_dx2 = h * dv);
				dx3_ += 2.f * (tmp_dx3 = h * ddv);

				//K3
				dv = dv1 + .5f * tmp_dv1;	ddv = (dv2 + .5f * tmp_dv2) + (dv3 + .5f * tmp_dv3);
				dx = dx1 + hhv;	ddx = (dx2 + .5f * tmp_dx2) + (dx3 + .5f * tmp_dx3);
				dv1_ += 2.f * (tmp_dv1 = h * (tmp_1 - sin_x * __cosf(dx) * __cosf(ddx)));
				dv2_ += 2.f * (tmp_dv2 = h * (tmp_2 - cos_x * __sinf(dx) * __cosf(ddx) - beta2 * dv));
				dv3_ += 2.f * (tmp_dv3 = h * (tmp_3 - cos_x * __cosf(dx) * __sinf(ddx) + sin_x * __sinf(dx) * __sinf(ddx) - beta2 * ddv));
				dx2_ += 2.f * (tmp_dx2 = h * dv);
				dx3_ += 2.f * (tmp_dx3 = h * ddv);

				//K4
				odt = (omega * h) * (k + 1);
				tmp_1 = betav + y_cos_t * __cosf(odt);
				tmp_2 = dy_cos_t * __cosf(odt) - y_sin_t * __sinf(odt);
				tmp_3 = -dy_sin_t * __sinf(odt);

				dv = dv1 + tmp_dv1;	ddv = (dv2 + tmp_dv2) + (dv3 + tmp_dv3);
				dx = dx1 + hv;	ddx = (dx2 + tmp_dx2) + (dx3 + tmp_dx3);
				dv1_ += h * (tmp_1 - sin_x * __cosf(dx) * __cosf(ddx));
				dv2_ += h * (tmp_2 - cos_x * __sinf(dx) * __cosf(ddx) - beta2 * dv);
				dv3_ += h * (tmp_3 - cos_x * __cosf(dx) * __sinf(ddx) + sin_x * __sinf(dx) * __sinf(ddx) - beta2 * ddv);
				dx2_ += h * dv;
				dx3_ += h * ddv;

				//sum
				dv1 += dv1_ / 6.f;
				dv2 += dv2_ / 6.f;
				dv3 += dv3_ / 6.f;
				dx1 += hv;
				dx2 += dx2_ / 6.f;
				dx3 += dx3_ / 6.f;
			}
			dx2 += dx3;
			dv2 += dv3;
		}
		dx1 += dx2;
		dv1 += dv2;
	}
	(*outx) = x + dx1;
	(*outv) = v + dv1;

}
__device__ void RK4(unsigned long t_index, float x, float v, float *outx, float *outv, float y, float dy) {
	/**********************************************************************
		(v' , x') = f((v+dv+ddv , x+dx+ddx) , t+dt): gamma = gamma + dgamma
		ot = omega * t;
		odt = omega * dt;

		bv = -2*beta* v
		y_cos_t = gamma*omega0^2* cos(ot)
		y_sin_t = gamma*omega0^2* sin(ot)
		dy_cos_t = dgamma*omega0^2* cos(ot)
		dy_sin_t = dgamma*omega0^2* sin(ot)
		cos_x = omega0^2* cos(x)
		sin_x = omega0^2* sin(x)

		tmp_1 = bv + y_cos_t * cos(odt)
		tmp_2 = - y_sin_t * sin(odt) + dy_cos_t * cos(odt)
		tmp_3 = - dy_sin_t * sin(odt)

		v'	=	(h^1)			tmp_1 - sin_x * cos(dx) * cos(ddx)
				(h^2)			tmp_2 - cos_x * sin(dx) * cos(ddx) - 2*beta * dv
				(h^3)			tmp_3 - cos_x * cos(dx) * sin(ddx) + sin_x * sin(dx) * sin(ddx) - 2*beta * ddv


		x'	=	(h^1)			+ v
				(h^2)			+ dv
				(h^2)			+ ddv
	**********************************************************************/

	const float T = fmodf(t_step * t_index, 2 * pi / omega);
	const float betav = -2.f * beta * v;
	const float beta2 = -2.f * beta;
	const float cos_x = omega0 * omega0 * cosf(x);
	const float sin_x = omega0 * omega0 * sinf(x);

	const float hv = h * (v);
	const float hhv = .5f * hv;

	float dx1 = 0, dv1 = 0;
	for (unsigned long i = 0; i < h_level_3; ++i) {
		float dx2 = 0, dv2 = 0;
		for (unsigned long j = 0; j < h_level_3; ++j) {
			float dx3 = 0, dv3 = 0;

			const float ot = omega * (T + (h * h_level_3 * h_level_3) * i + (h * h_level_3) * j);
			const float y_cos_t = y * (omega0 * omega0) * cosf(ot);
			const float y_sin_t = y * (omega0 * omega0) * sinf(ot);
			const float dy_cos_t = dy * (omega0 * omega0) * cosf(ot);
			const float dy_sin_t = dy * (omega0 * omega0) * sinf(ot);

			for (unsigned long k = 0; k < h_level_3; ++k) {
				float			dx2_ = 0, dx3_ = 0;
				float dv1_ = 0, dv2_ = 0, dv3_ = 0;
				float dx, ddx, dv, ddv, odt;
				float		   tmp_dx2, tmp_dx3;
				float tmp_dv1, tmp_dv2, tmp_dv3;
				float tmp_1, tmp_2, tmp_3;

				//K1
				odt = (omega * h) * k;
				tmp_1 = betav + y_cos_t * cosf(odt);
				tmp_2 = dy_cos_t * cosf(odt) - y_sin_t * sinf(odt);
				tmp_3 = -dy_sin_t * sinf(odt);

				dv = dv1;	ddv = dv2 + dv3;
				dx = dx1;	ddx = dx2 + dx3;
				dv1_ += h * (tmp_1 - sin_x * cosf(dx) * cosf(ddx));
				dv2_ += h * (tmp_2 - cos_x * sinf(dx) * cosf(ddx) - beta2 * dv);
				dv3_ += h * (tmp_3 - cos_x * cosf(dx) * sinf(ddx) + sin_x * sinf(dx) * sinf(ddx) - beta2 * ddv);
				dx2_ += h * dv;
				dx3_ += h * ddv;

				//t of K2 & K3
				odt = (omega * h) * (k + .5f);
				tmp_1 = betav + y_cos_t * cosf(odt);
				tmp_2 = dy_cos_t * cosf(odt) - y_sin_t * sinf(odt);
				tmp_3 = -dy_sin_t * sinf(odt);

				//K2
				dv = dv1 + .5f * dv1_;	ddv = (dv2 + .5f * dv2_) + (dv3 + .5f * dv3_);
				dx = dx1 + hhv;	ddx = (dx2 + .5f * dx2_) + (dx3 + .5f * dx3_);
				dv1_ += 2.f * (tmp_dv1 = h * (tmp_1 - sin_x * cosf(dx) * cosf(ddx)));
				dv2_ += 2.f * (tmp_dv2 = h * (tmp_2 - cos_x * sinf(dx) * cosf(ddx) - beta2 * dv));
				dv3_ += 2.f * (tmp_dv3 = h * (tmp_3 - cos_x * cosf(dx) * sinf(ddx) + sin_x * sinf(dx) * sinf(ddx) - beta2 * ddv));
				dx2_ += 2.f * (tmp_dx2 = h * dv);
				dx3_ += 2.f * (tmp_dx3 = h * ddv);

				//K3
				dv = dv1 + .5f * tmp_dv1;	ddv = (dv2 + .5f * tmp_dv2) + (dv3 + .5f * tmp_dv3);
				dx = dx1 + hhv;	ddx = (dx2 + .5f * tmp_dx2) + (dx3 + .5f * tmp_dx3);
				dv1_ += 2.f * (tmp_dv1 = h * (tmp_1 - sin_x * cosf(dx) * cosf(ddx)));
				dv2_ += 2.f * (tmp_dv2 = h * (tmp_2 - cos_x * sinf(dx) * cosf(ddx) - beta2 * dv));
				dv3_ += 2.f * (tmp_dv3 = h * (tmp_3 - cos_x * cosf(dx) * sinf(ddx) + sin_x * sinf(dx) * sinf(ddx) - beta2 * ddv));
				dx2_ += 2.f * (tmp_dx2 = h * dv);
				dx3_ += 2.f * (tmp_dx3 = h * ddv);

				//K4
				odt = (omega * h) * (k + 1);
				tmp_1 = betav + y_cos_t * cosf(odt);
				tmp_2 = dy_cos_t * cosf(odt) - y_sin_t * sinf(odt);
				tmp_3 = -dy_sin_t * sinf(odt);

				dv = dv1 + tmp_dv1;	ddv = (dv2 + tmp_dv2) + (dv3 + tmp_dv3);
				dx = dx1 + hv;	ddx = (dx2 + tmp_dx2) + (dx3 + tmp_dx3);
				dv1_ += h * (tmp_1 - sin_x * cosf(dx) * cosf(ddx));
				dv2_ += h * (tmp_2 - cos_x * sinf(dx) * cosf(ddx) - beta2 * dv);
				dv3_ += h * (tmp_3 - cos_x * cosf(dx) * sinf(ddx) + sin_x * sinf(dx) * sinf(ddx) - beta2 * ddv);
				dx2_ += h * dv;
				dx3_ += h * ddv;

				//sum
				dv1 += dv1_ / 6.f;
				dv2 += dv2_ / 6.f;
				dv3 += dv3_ / 6.f;
				dx1 += hv;
				dx2 += dx2_ / 6.f;
				dx3 += dx3_ / 6.f;
			}
			dx2 += dx3;
			dv2 += dv3;
		}
		dx1 += dx2;
		dv1 += dv2;
	}
	(*outx) = x + dx1;
	(*outv) = v + dv1;

}

void RK4_CPU(unsigned t_index, float y, float dy, float& x, float& v) {
	const float T = fmod(t_step * t_index, 2 * pi / omega);
	const float betav = -2.f * beta * v;
	const float beta2 = -2.f * beta;
	const float cos_x = omega0 * omega0 * cosf(x);
	const float sin_x = omega0 * omega0 * sinf(x);

	const float hv = h * v;
	const float hhv = .5f * hv;

	float dx1 = 0, dv1 = 0;
	for (unsigned long i = 0; i < h_level_3; ++i) {
		float dx2 = 0, dv2 = 0;
		for (unsigned long j = 0; j < h_level_3; ++j) {
			float dx3 = 0, dv3 = 0;

			const float ot = omega * (T + (h * h_level_3 * h_level_3) * i + (h * h_level_3) * j);
			const float y_cos_t = y * (omega0 * omega0) * cosf(ot);
			const float y_sin_t = y * (omega0 * omega0) * sinf(ot);
			const float dy_cos_t = dy * (omega0 * omega0) * cosf(ot);
			const float dy_sin_t = dy * (omega0 * omega0) * sinf(ot);

			for (unsigned long k = 0; k < h_level_3; ++k) {
				float			dx2_ = 0, dx3_ = 0;
				float dv1_ = 0, dv2_ = 0, dv3_ = 0;
				float dx, ddx, dv, ddv, odt;
				float		   tmp_dx2, tmp_dx3;
				float tmp_dv1, tmp_dv2, tmp_dv3;
				float tmp_1, tmp_2, tmp_3;

				//K1
				odt = (omega * h) * k;
				tmp_1 = betav + y_cos_t * cosf(odt);
				tmp_2 = dy_cos_t * cosf(odt) - y_sin_t * sinf(odt);
				tmp_3 = -dy_sin_t * sinf(odt);

				dv = dv1;	ddv = dv2 + dv3;
				dx = dx1;	ddx = dx2 + dx3;
				dv1_ += h * (tmp_1 - sin_x * cosf(dx) * cosf(ddx));
				dv2_ += h * (tmp_2 - cos_x * sinf(dx) * cosf(ddx) - beta2 * dv);
				dv3_ += h * (tmp_3 - cos_x * cosf(dx) * sinf(ddx) + sin_x * sinf(dx) * sinf(ddx) - beta2 * ddv);
				dx2_ += h * dv;
				dx3_ += h * ddv;

				//t of K2 & K3
				odt = (omega * h) * (k + .5f);
				tmp_1 = betav + y_cos_t * cosf(odt);
				tmp_2 = dy_cos_t * cosf(odt) - y_sin_t * sinf(odt);
				tmp_3 = -dy_sin_t * sinf(odt);

				//K2
				dv = dv1 + .5f * dv1_;	ddv = (dv2 + .5f * dv2_) + (dv3 + .5f * dv3_);
				dx = dx1 + hhv;	ddx = (dx2 + .5f * dx2_) + (dx3 + .5f * dx3_);
				dv1_ += 2.f * (tmp_dv1 = h * (tmp_1 - sin_x * cosf(dx) * cosf(ddx)));
				dv2_ += 2.f * (tmp_dv2 = h * (tmp_2 - cos_x * sinf(dx) * cosf(ddx) - beta2 * dv));
				dv3_ += 2.f * (tmp_dv3 = h * (tmp_3 - cos_x * cosf(dx) * sinf(ddx) + sin_x * sinf(dx) * sinf(ddx) - beta2 * ddv));
				dx2_ += 2.f * (tmp_dx2 = h * dv);
				dx3_ += 2.f * (tmp_dx3 = h * ddv);

				//K3
				dv = dv1 + .5f * tmp_dv1;	ddv = (dv2 + .5f * tmp_dv2) + (dv3 + .5f * tmp_dv3);
				dx = dx1 + hhv;	ddx = (dx2 + .5f * tmp_dx2) + (dx3 + .5f * tmp_dx3);
				dv1_ += 2.f * (tmp_dv1 = h * (tmp_1 - sin_x * cosf(dx) * cosf(ddx)));
				dv2_ += 2.f * (tmp_dv2 = h * (tmp_2 - cos_x * sinf(dx) * cosf(ddx) - beta2 * dv));
				dv3_ += 2.f * (tmp_dv3 = h * (tmp_3 - cos_x * cosf(dx) * sinf(ddx) + sin_x * sinf(dx) * sinf(ddx) - beta2 * ddv));
				dx2_ += 2.f * (tmp_dx2 = h * dv);
				dx3_ += 2.f * (tmp_dx3 = h * ddv);

				//K4
				odt = (omega * h) * (k + 1);
				tmp_1 = betav + y_cos_t * cosf(odt);
				tmp_2 = dy_cos_t * cosf(odt) - y_sin_t * sinf(odt);
				tmp_3 = -dy_sin_t * sinf(odt);

				dv = dv1 + tmp_dv1;	ddv = (dv2 + tmp_dv2) + (dv3 + tmp_dv3);
				dx = dx1 + hv;	ddx = (dx2 + tmp_dx2) + (dx3 + tmp_dx3);
				dv1_ += h * (tmp_1 - sin_x * cosf(dx) * cosf(ddx));
				dv2_ += h * (tmp_2 - cos_x * sinf(dx) * cosf(ddx) - beta2 * dv);
				dv3_ += h * (tmp_3 - cos_x * cosf(dx) * sinf(ddx) + sin_x * sinf(dx) * sinf(ddx) - beta2 * ddv);
				dx2_ += h * dv;
				dx3_ += h * ddv;

				//sum
				dv1 += dv1_ / 6.f;
				dv2 += dv2_ / 6.f;
				dv3 += dv3_ / 6.f;
				dx1 += hv;
				dx2 += dx2_ / 6.f;
				dx3 += dx3_ / 6.f;
			}
			dx2 += dx3;
			dv2 += dv3;
		}
		dx1 += dx2;
		dv1 += dv2;
	}
	x += dx1;
	v += dv1;
}
	.file	"tmpxft_0033960d_00000000-6_kernel.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB4533:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE4533:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.align 2
	.type	_ZNSolsEPFRSoS_E.isra.0, @function
_ZNSolsEPFRSoS_E.isra.0:
.LFB5339:
	.cfi_startproc
	jmp	*%rsi
	.cfi_endproc
.LFE5339:
	.size	_ZNSolsEPFRSoS_E.isra.0, .-_ZNSolsEPFRSoS_E.isra.0
	.align 2
	.type	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode.isra.0, @function
_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode.isra.0:
.LFB5340:
	.cfi_startproc
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	orl	$16, %edx
	movq	%rdi, %rbx
	addq	$8, %rdi
	call	_ZNSt13basic_filebufIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode@PLT
	testq	%rax, %rax
	movq	(%rbx), %rax
	jne	.L4
	addq	-24(%rax), %rbx
	movl	$4, %esi
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	_ZNSt9basic_iosIcSt11char_traitsIcEE8setstateESt12_Ios_Iostate@PLT
.L4:
	.cfi_restore_state
	addq	-24(%rax), %rbx
	xorl	%esi, %esi
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate@PLT
	.cfi_endproc
.LFE5340:
	.size	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode.isra.0, .-_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode.isra.0
	.section	.rodata._ZNSt7__cxx119to_stringEm.str1.1,"aMS",@progbits,1
.LC0:
	.string	"00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899"
	.section	.text._ZNSt7__cxx119to_stringEm,"axG",@progbits,_ZNSt7__cxx119to_stringEm,comdat
	.weak	_ZNSt7__cxx119to_stringEm
	.type	_ZNSt7__cxx119to_stringEm, @function
_ZNSt7__cxx119to_stringEm:
.LFB2829:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movl	$10000, %ecx
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rsi, %rbx
	subq	$232, %rsp
	.cfi_def_cfa_offset 256
	movq	%fs:40, %rax
	movq	%rax, 216(%rsp)
	movq	%rsi, %rax
	movl	$1, %esi
.L12:
	cmpq	$9, %rax
	jbe	.L8
	cmpq	$99, %rax
	ja	.L9
	incl	%esi
	jmp	.L8
.L9:
	cmpq	$999, %rax
	ja	.L10
	addl	$2, %esi
	jmp	.L8
.L10:
	cmpq	$9999, %rax
	ja	.L11
	addl	$3, %esi
	jmp	.L8
.L11:
	xorl	%edx, %edx
	addl	$4, %esi
	divq	%rcx
	jmp	.L12
.L8:
	leaq	16(%rbp), %rax
	movq	%rbp, %rdi
	xorl	%edx, %edx
	movq	%rax, 0(%rbp)
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructEmc@PLT
	movl	8(%rbp), %eax
	movq	0(%rbp), %r8
	leaq	15(%rsp), %rdi
	leaq	.LC0(%rip), %rsi
	movl	$201, %ecx
	rep movsb
	leal	-1(%rax), %ecx
	movl	$100, %esi
.L13:
	cmpq	$99, %rbx
	jbe	.L19
	movq	%rbx, %rax
	xorl	%edx, %edx
	divq	%rsi
	addq	%rdx, %rdx
	movq	%rax, %rbx
	movl	%ecx, %eax
	movb	16(%rsp,%rdx), %dil
	movb	15(%rsp,%rdx), %dl
	movb	%dil, (%r8,%rax)
	leal	-1(%rcx), %eax
	subl	$2, %ecx
	movb	%dl, (%r8,%rax)
	jmp	.L13
.L19:
	leal	48(%rbx), %eax
	cmpq	$9, %rbx
	jbe	.L16
	addq	%rbx, %rbx
	movb	16(%rsp,%rbx), %al
	movb	%al, 1(%r8)
	movb	15(%rsp,%rbx), %al
.L16:
	movb	%al, (%r8)
	movq	216(%rsp), %rax
	subq	%fs:40, %rax
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	addq	$232, %rsp
	.cfi_def_cfa_offset 24
	movq	%rbp, %rax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2829:
	.size	_ZNSt7__cxx119to_stringEm, .-_ZNSt7__cxx119to_stringEm
	.section	.text._ZN12workinggroupC2Ei,"axG",@progbits,_ZN12workinggroupC5Ei,comdat
	.align 2
	.weak	_ZN12workinggroupC2Ei
	.type	_ZN12workinggroupC2Ei, @function
_ZN12workinggroupC2Ei:
.LFB4508:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movl	%esi, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%rdi, %rbx
	pushq	%rax
	.cfi_def_cfa_offset 32
	movl	%esi, 40(%rdi)
	movl	$32768, %edi
	call	malloc@PLT
	movl	$589824, %edi
	movq	%rax, 16(%rbx)
	call	malloc@PLT
	movl	%ebp, %edi
	movq	%rax, (%rbx)
	call	cudaSetDevice@PLT
	leaq	32(%rbx), %rdi
	call	cudaStreamCreate@PLT
	leaq	24(%rbx), %rdi
	movl	$32768, %esi
	call	cudaMalloc@PLT
	popq	%rdx
	.cfi_def_cfa_offset 24
	leaq	8(%rbx), %rdi
	movl	$589824, %esi
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	jmp	cudaMalloc@PLT
	.cfi_endproc
.LFE4508:
	.size	_ZN12workinggroupC2Ei, .-_ZN12workinggroupC2Ei
	.weak	_ZN12workinggroupC1Ei
	.set	_ZN12workinggroupC1Ei,_ZN12workinggroupC2Ei
	.section	.text._ZN12workinggroupD2Ev,"axG",@progbits,_ZN12workinggroupD5Ev,comdat
	.align 2
	.weak	_ZN12workinggroupD2Ev
	.type	_ZN12workinggroupD2Ev, @function
_ZN12workinggroupD2Ev:
.LFB4511:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4511
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movq	%rdi, %rbx
	movq	16(%rdi), %rdi
	call	free@PLT
	movq	(%rbx), %rdi
	call	free@PLT
	movl	40(%rbx), %edi
	call	cudaSetDevice@PLT
	movq	32(%rbx), %rdi
	call	cudaStreamDestroy@PLT
	movq	24(%rbx), %rdi
	call	cudaFree@PLT
	movq	8(%rbx), %rdi
	call	cudaFree@PLT
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4511:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table._ZN12workinggroupD2Ev,"aG",@progbits,_ZN12workinggroupD5Ev,comdat
.LLSDA4511:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4511-.LLSDACSB4511
.LLSDACSB4511:
.LLSDACSE4511:
	.section	.text._ZN12workinggroupD2Ev,"axG",@progbits,_ZN12workinggroupD5Ev,comdat
	.size	_ZN12workinggroupD2Ev, .-_ZN12workinggroupD2Ev
	.weak	_ZN12workinggroupD1Ev
	.set	_ZN12workinggroupD1Ev,_ZN12workinggroupD2Ev
	.text
	.globl	_Z5__RK4mffPfS_ff
	.type	_Z5__RK4mffPfS_ff, @function
_Z5__RK4mffPfS_ff:
.LFB4528:
	.cfi_startproc
	endbr64
	pushq	%rax
	.cfi_def_cfa_offset 16
	popq	%rax
	.cfi_def_cfa_offset 8
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movl	$1, 12(%rsp)
	movl	12(%rsp), %edi
	call	exit@PLT
	.cfi_endproc
.LFE4528:
	.size	_Z5__RK4mffPfS_ff, .-_Z5__RK4mffPfS_ff
	.globl	_Z3RK4mffPfS_ff
	.type	_Z3RK4mffPfS_ff, @function
_Z3RK4mffPfS_ff:
.LFB5338:
	.cfi_startproc
	endbr64
	pushq	%rax
	.cfi_def_cfa_offset 16
	popq	%rax
	.cfi_def_cfa_offset 8
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movl	$1, 12(%rsp)
	movl	12(%rsp), %edi
	call	exit@PLT
	.cfi_endproc
.LFE5338:
	.size	_Z3RK4mffPfS_ff, .-_Z3RK4mffPfS_ff
	.globl	_Z7RK4_CPUjffRfS_
	.type	_Z7RK4_CPUjffRfS_, @function
_Z7RK4_CPUjffRfS_:
.LFB4530:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	%edi, %edi
	xorl	%r15d, %r15d
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movq	%rsi, %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%rdx, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movd	%xmm0, %ebx
	cvtsi2ssq	%rdi, %xmm0
	subq	$168, %rsp
	.cfi_def_cfa_offset 224
	mulss	.LC2(%rip), %xmm0
	movss	%xmm1, 16(%rsp)
	movss	.LC3(%rip), %xmm1
	call	fmodf@PLT
	movss	0(%rbp), %xmm2
	leaq	156(%rsp), %rax
	leaq	152(%rsp), %rsi
	movss	%xmm0, 124(%rsp)
	movq	%rax, %rdi
	movaps	%xmm2, %xmm5
	movss	%xmm2, 20(%rsp)
	movss	0(%r13), %xmm2
	mulss	.LC4(%rip), %xmm5
	movq	%rax, 8(%rsp)
	movaps	%xmm2, %xmm0
	movss	%xmm2, 68(%rsp)
	movss	%xmm5, 52(%rsp)
	call	sincosf@PLT
	movss	.LC5(%rip), %xmm1
	movss	152(%rsp), %xmm5
	movl	$0x00000000, 28(%rsp)
	movss	20(%rsp), %xmm2
	mulss	.LC6(%rip), %xmm2
	mulss	%xmm1, %xmm5
	movss	.LC7(%rip), %xmm6
	mulss	%xmm2, %xmm6
	movss	%xmm2, 80(%rsp)
	movss	%xmm5, 40(%rsp)
	movss	156(%rsp), %xmm5
	mulss	%xmm1, %xmm5
	movss	%xmm6, 120(%rsp)
	movss	%xmm5, 44(%rsp)
	movd	%ebx, %xmm5
	mulss	%xmm1, %xmm5
	mulss	16(%rsp), %xmm1
	movl	$0x00000000, 16(%rsp)
	movss	%xmm5, 72(%rsp)
	movss	%xmm1, 76(%rsp)
.L31:
	cvtsi2ssq	%r15, %xmm0
	mulss	.LC14(%rip), %xmm0
	movl	$0x00000000, 20(%rsp)
	xorl	%r14d, %r14d
	addss	124(%rsp), %xmm0
	movl	$0x00000000, 24(%rsp)
	movss	%xmm0, 116(%rsp)
.L33:
	cvtsi2ssq	%r14, %xmm0
	mulss	.LC8(%rip), %xmm0
	movq	8(%rsp), %rdi
	xorl	%r12d, %r12d
	addss	116(%rsp), %xmm0
	mulss	.LC9(%rip), %xmm0
	leaq	152(%rsp), %rsi
	call	sincosf@PLT
	movss	72(%rsp), %xmm6
	movss	152(%rsp), %xmm1
	movl	$0x00000000, 32(%rsp)
	movss	156(%rsp), %xmm0
	movss	72(%rsp), %xmm5
	movl	$0x00000000, 36(%rsp)
	mulss	%xmm1, %xmm6
	mulss	%xmm0, %xmm5
	mulss	76(%rsp), %xmm1
	mulss	76(%rsp), %xmm0
	xorps	.LC11(%rip), %xmm0
	movss	%xmm6, 56(%rsp)
	movss	%xmm5, 60(%rsp)
	movss	%xmm1, 64(%rsp)
	movss	%xmm0, 48(%rsp)
.L32:
	leaq	152(%rsp), %rbx
	movq	8(%rsp), %rdi
	movss	28(%rsp), %xmm0
	movq	%rbx, %rsi
	call	sincosf@PLT
	cvtsi2ssq	%r12, %xmm5
	movq	8(%rsp), %rdi
	movq	%rbx, %rsi
	movss	.LC10(%rip), %xmm0
	incq	%r12
	movss	152(%rsp), %xmm8
	movss	156(%rsp), %xmm7
	movss	%xmm8, 100(%rsp)
	mulss	%xmm5, %xmm0
	movss	%xmm7, 96(%rsp)
	movss	%xmm5, 104(%rsp)
	call	sincosf@PLT
	movss	20(%rsp), %xmm6
	movq	8(%rsp), %rdi
	movq	%rbx, %rsi
	addss	32(%rsp), %xmm6
	movss	24(%rsp), %xmm0
	movss	152(%rsp), %xmm3
	addss	36(%rsp), %xmm0
	movss	156(%rsp), %xmm1
	movss	%xmm3, 84(%rsp)
	movss	%xmm1, 88(%rsp)
	movss	%xmm6, 92(%rsp)
	call	sincosf@PLT
	movss	100(%rsp), %xmm8
	xorps	%xmm4, %xmm4
	movss	44(%rsp), %xmm2
	movss	84(%rsp), %xmm3
	movss	56(%rsp), %xmm0
	movq	%rbx, %rsi
	mulss	%xmm8, %xmm2
	movss	88(%rsp), %xmm1
	movss	152(%rsp), %xmm10
	mulss	%xmm3, %xmm0
	movss	96(%rsp), %xmm7
	movss	156(%rsp), %xmm9
	addss	52(%rsp), %xmm0
	mulss	64(%rsp), %xmm3
	mulss	40(%rsp), %xmm8
	movss	92(%rsp), %xmm6
	movss	104(%rsp), %xmm5
	movq	8(%rsp), %rdi
	mulss	%xmm10, %xmm2
	mulss	%xmm9, %xmm8
	subss	%xmm2, %xmm0
	movss	.LC6(%rip), %xmm2
	mulss	%xmm2, %xmm0
	addss	%xmm4, %xmm0
	movss	%xmm0, 84(%rsp)
	movss	60(%rsp), %xmm0
	mulss	%xmm1, %xmm0
	mulss	48(%rsp), %xmm1
	subss	%xmm0, %xmm3
	movss	40(%rsp), %xmm0
	subss	%xmm8, %xmm1
	mulss	%xmm7, %xmm0
	mulss	44(%rsp), %xmm7
	mulss	%xmm10, %xmm0
	movss	.LC7(%rip), %xmm10
	mulss	%xmm9, %xmm7
	addss	%xmm10, %xmm5
	subss	%xmm0, %xmm3
	movss	.LC12(%rip), %xmm0
	mulss	16(%rsp), %xmm0
	addss	%xmm7, %xmm1
	addss	%xmm0, %xmm3
	movss	.LC12(%rip), %xmm0
	mulss	%xmm6, %xmm0
	mulss	%xmm2, %xmm3
	mulss	%xmm2, %xmm6
	addss	%xmm0, %xmm1
	movss	16(%rsp), %xmm0
	addss	%xmm4, %xmm3
	mulss	%xmm2, %xmm0
	addss	%xmm4, %xmm6
	mulss	%xmm2, %xmm1
	movss	%xmm3, 88(%rsp)
	movss	%xmm6, 100(%rsp)
	addss	%xmm4, %xmm0
	addss	%xmm4, %xmm1
	movss	%xmm0, 96(%rsp)
	movss	.LC10(%rip), %xmm0
	movss	%xmm1, 92(%rsp)
	mulss	%xmm5, %xmm0
	call	sincosf@PLT
	movss	56(%rsp), %xmm3
	movq	8(%rsp), %rdi
	movq	%rbx, %rsi
	movss	152(%rsp), %xmm0
	movss	84(%rsp), %xmm11
	movss	156(%rsp), %xmm1
	movss	.LC7(%rip), %xmm10
	mulss	%xmm0, %xmm3
	addss	52(%rsp), %xmm3
	mulss	64(%rsp), %xmm0
	mulss	%xmm10, %xmm11
	addss	16(%rsp), %xmm11
	movss	%xmm3, 104(%rsp)
	movss	60(%rsp), %xmm3
	movss	%xmm11, 140(%rsp)
	mulss	%xmm1, %xmm3
	mulss	48(%rsp), %xmm1
	subss	%xmm3, %xmm0
	movss	%xmm1, 112(%rsp)
	movss	88(%rsp), %xmm1
	movss	%xmm0, 108(%rsp)
	movss	92(%rsp), %xmm0
	mulss	%xmm10, %xmm1
	addss	20(%rsp), %xmm1
	mulss	%xmm10, %xmm0
	addss	32(%rsp), %xmm0
	addss	%xmm0, %xmm1
	movss	120(%rsp), %xmm0
	addss	28(%rsp), %xmm0
	movss	%xmm1, 136(%rsp)
	call	sincosf@PLT
	movss	96(%rsp), %xmm0
	movq	8(%rsp), %rdi
	movq	%rbx, %rsi
	movss	.LC7(%rip), %xmm10
	movss	100(%rsp), %xmm3
	movss	152(%rsp), %xmm7
	movss	156(%rsp), %xmm6
	mulss	%xmm10, %xmm0
	mulss	%xmm10, %xmm3
	addss	24(%rsp), %xmm0
	movss	%xmm7, 128(%rsp)
	movss	%xmm6, 132(%rsp)
	addss	36(%rsp), %xmm3
	addss	%xmm3, %xmm0
	call	sincosf@PLT
	movss	44(%rsp), %xmm9
	movq	%rbx, %rsi
	movss	128(%rsp), %xmm7
	movss	152(%rsp), %xmm3
	movss	104(%rsp), %xmm5
	mulss	%xmm7, %xmm9
	movss	40(%rsp), %xmm8
	movss	132(%rsp), %xmm6
	movss	.LC6(%rip), %xmm2
	mulss	40(%rsp), %xmm7
	mulss	%xmm6, %xmm8
	movss	112(%rsp), %xmm4
	movss	140(%rsp), %xmm11
	movss	156(%rsp), %xmm12
	mulss	44(%rsp), %xmm6
	movss	136(%rsp), %xmm1
	movss	.LC7(%rip), %xmm10
	movss	%xmm9, 128(%rsp)
	movaps	%xmm9, %xmm0
	movss	%xmm7, 144(%rsp)
	mulss	%xmm3, %xmm0
	movss	%xmm8, 148(%rsp)
	mulss	%xmm8, %xmm3
	movss	%xmm6, 140(%rsp)
	subss	%xmm0, %xmm5
	mulss	%xmm2, %xmm5
	movaps	%xmm5, %xmm0
	addss	%xmm5, %xmm0
	addss	84(%rsp), %xmm0
	mulss	%xmm10, %xmm5
	addss	16(%rsp), %xmm5
	movss	%xmm0, 84(%rsp)
	movaps	%xmm3, %xmm0
	movss	108(%rsp), %xmm3
	subss	%xmm0, %xmm3
	movss	.LC12(%rip), %xmm0
	mulss	%xmm11, %xmm0
	addss	%xmm0, %xmm3
	mulss	%xmm2, %xmm3
	movaps	%xmm3, %xmm0
	addss	%xmm3, %xmm0
	addss	88(%rsp), %xmm0
	mulss	%xmm10, %xmm3
	movss	%xmm0, 88(%rsp)
	movaps	%xmm7, %xmm0
	mulss	%xmm12, %xmm0
	mulss	%xmm6, %xmm12
	subss	%xmm0, %xmm4
	movss	.LC12(%rip), %xmm0
	mulss	%xmm1, %xmm0
	addss	%xmm12, %xmm4
	mulss	%xmm2, %xmm1
	addss	%xmm0, %xmm4
	mulss	%xmm2, %xmm4
	movaps	%xmm4, %xmm0
	addss	%xmm4, %xmm0
	addss	92(%rsp), %xmm0
	mulss	%xmm10, %xmm4
	movss	%xmm0, 92(%rsp)
	movaps	%xmm11, %xmm0
	mulss	%xmm2, %xmm0
	movaps	%xmm0, %xmm11
	addss	%xmm0, %xmm11
	addss	96(%rsp), %xmm11
	mulss	%xmm10, %xmm0
	movss	%xmm11, 96(%rsp)
	movaps	%xmm1, %xmm11
	addss	%xmm1, %xmm11
	addss	100(%rsp), %xmm11
	mulss	%xmm10, %xmm1
	movss	%xmm11, 100(%rsp)
	movss	%xmm5, 136(%rsp)
	addss	32(%rsp), %xmm4
	addss	36(%rsp), %xmm1
	addss	20(%rsp), %xmm3
	addss	24(%rsp), %xmm0
	movq	8(%rsp), %rdi
	addss	%xmm4, %xmm3
	addss	%xmm1, %xmm0
	movss	%xmm3, 132(%rsp)
	call	sincosf@PLT
	movss	104(%rsp), %xmm4
	movq	8(%rsp), %rdi
	movq	%rbx, %rsi
	movss	152(%rsp), %xmm0
	movss	128(%rsp), %xmm9
	movss	.LC6(%rip), %xmm2
	movss	148(%rsp), %xmm8
	movss	136(%rsp), %xmm5
	mulss	%xmm0, %xmm9
	movss	156(%rsp), %xmm10
	movss	144(%rsp), %xmm7
	mulss	%xmm0, %xmm8
	movss	.LC12(%rip), %xmm0
	movss	140(%rsp), %xmm6
	movss	132(%rsp), %xmm3
	mulss	%xmm5, %xmm0
	mulss	%xmm10, %xmm7
	subss	%xmm9, %xmm4
	mulss	%xmm10, %xmm6
	mulss	%xmm2, %xmm5
	mulss	%xmm2, %xmm4
	movss	%xmm5, 144(%rsp)
	movss	%xmm4, 128(%rsp)
	movaps	%xmm4, %xmm1
	addss	%xmm4, %xmm1
	addss	84(%rsp), %xmm1
	movss	%xmm1, 84(%rsp)
	movss	108(%rsp), %xmm1
	subss	%xmm8, %xmm1
	addss	%xmm0, %xmm1
	mulss	%xmm2, %xmm1
	movaps	%xmm1, %xmm0
	movss	%xmm1, 108(%rsp)
	addss	%xmm1, %xmm0
	addss	88(%rsp), %xmm0
	movss	%xmm0, 88(%rsp)
	movaps	%xmm7, %xmm0
	movss	112(%rsp), %xmm7
	subss	%xmm0, %xmm7
	movss	.LC12(%rip), %xmm0
	mulss	%xmm3, %xmm0
	addss	%xmm6, %xmm7
	mulss	%xmm2, %xmm3
	addss	%xmm0, %xmm7
	movss	%xmm3, 140(%rsp)
	mulss	%xmm2, %xmm7
	movaps	%xmm7, %xmm0
	movss	%xmm7, 104(%rsp)
	addss	%xmm7, %xmm0
	addss	92(%rsp), %xmm0
	movss	%xmm0, 92(%rsp)
	movaps	%xmm5, %xmm0
	addss	%xmm5, %xmm0
	addss	96(%rsp), %xmm0
	movss	%xmm0, 96(%rsp)
	movaps	%xmm3, %xmm0
	addss	%xmm3, %xmm0
	addss	100(%rsp), %xmm0
	movss	%xmm0, 100(%rsp)
	cvtsi2ssq	%r12, %xmm0
	mulss	.LC10(%rip), %xmm0
	call	sincosf@PLT
	movss	108(%rsp), %xmm1
	movss	104(%rsp), %xmm7
	movq	%rbx, %rsi
	addss	32(%rsp), %xmm7
	addss	20(%rsp), %xmm1
	movss	28(%rsp), %xmm2
	addss	80(%rsp), %xmm2
	movss	128(%rsp), %xmm4
	addss	16(%rsp), %xmm4
	addss	%xmm7, %xmm1
	movq	8(%rsp), %rdi
	movss	152(%rsp), %xmm6
	movss	156(%rsp), %xmm11
	movaps	%xmm2, %xmm0
	movss	%xmm2, 28(%rsp)
	movss	%xmm6, 136(%rsp)
	movss	%xmm11, 132(%rsp)
	movss	%xmm4, 128(%rsp)
	movss	%xmm1, 112(%rsp)
	call	sincosf@PLT
	movq	8(%rsp), %rdi
	movq	%rbx, %rsi
	movss	144(%rsp), %xmm5
	movss	140(%rsp), %xmm3
	addss	24(%rsp), %xmm5
	movss	152(%rsp), %xmm8
	addss	36(%rsp), %xmm3
	movss	156(%rsp), %xmm7
	movaps	%xmm5, %xmm0
	movss	%xmm8, 108(%rsp)
	addss	%xmm3, %xmm0
	movss	%xmm7, 104(%rsp)
	call	sincosf@PLT
	movss	108(%rsp), %xmm8
	movss	44(%rsp), %xmm3
	movss	152(%rsp), %xmm10
	movss	56(%rsp), %xmm0
	mulss	%xmm8, %xmm3
	movss	104(%rsp), %xmm7
	movss	136(%rsp), %xmm6
	movss	.LC6(%rip), %xmm2
	mulss	40(%rsp), %xmm8
	mulss	%xmm6, %xmm0
	movss	112(%rsp), %xmm1
	movss	132(%rsp), %xmm11
	addss	52(%rsp), %xmm0
	mulss	64(%rsp), %xmm6
	movss	128(%rsp), %xmm4
	movss	.LC12(%rip), %xmm5
	movss	156(%rsp), %xmm9
	mulss	%xmm10, %xmm3
	mulss	%xmm1, %xmm5
	mulss	%xmm9, %xmm8
	mulss	%xmm2, %xmm1
	subss	%xmm3, %xmm0
	movss	.LC13(%rip), %xmm3
	mulss	%xmm2, %xmm0
	addss	84(%rsp), %xmm0
	divss	%xmm3, %xmm0
	addss	16(%rsp), %xmm0
	movss	%xmm0, 16(%rsp)
	movaps	%xmm6, %xmm0
	movss	60(%rsp), %xmm6
	mulss	%xmm11, %xmm6
	subss	%xmm6, %xmm0
	movss	40(%rsp), %xmm6
	mulss	%xmm7, %xmm6
	mulss	44(%rsp), %xmm7
	mulss	%xmm10, %xmm6
	mulss	%xmm9, %xmm7
	subss	%xmm6, %xmm0
	movss	.LC12(%rip), %xmm6
	mulss	%xmm4, %xmm6
	mulss	%xmm2, %xmm4
	addss	96(%rsp), %xmm4
	addss	%xmm6, %xmm0
	divss	%xmm3, %xmm4
	mulss	%xmm2, %xmm0
	addss	88(%rsp), %xmm0
	divss	%xmm3, %xmm0
	addss	24(%rsp), %xmm4
	addss	20(%rsp), %xmm0
	movss	%xmm0, 20(%rsp)
	movss	48(%rsp), %xmm0
	mulss	%xmm11, %xmm0
	subss	%xmm8, %xmm0
	addss	%xmm7, %xmm0
	addss	%xmm5, %xmm0
	mulss	%xmm2, %xmm0
	addss	92(%rsp), %xmm0
	divss	%xmm3, %xmm0
	addss	32(%rsp), %xmm0
	movss	%xmm0, 32(%rsp)
	movss	%xmm4, 24(%rsp)
	addss	100(%rsp), %xmm1
	divss	%xmm3, %xmm1
	addss	36(%rsp), %xmm1
	movss	%xmm1, 36(%rsp)
	cmpq	$32, %r12
	jne	.L32
	movaps	%xmm4, %xmm2
	incq	%r14
	addss	%xmm1, %xmm2
	movss	%xmm2, 24(%rsp)
	movss	20(%rsp), %xmm2
	addss	%xmm0, %xmm2
	movss	%xmm2, 20(%rsp)
	cmpq	$32, %r14
	jne	.L33
	movss	16(%rsp), %xmm7
	movss	28(%rsp), %xmm4
	incq	%r15
	addss	24(%rsp), %xmm4
	addss	%xmm2, %xmm7
	movss	%xmm4, 28(%rsp)
	movss	%xmm7, 16(%rsp)
	cmpq	$32, %r15
	jne	.L31
	movss	68(%rsp), %xmm0
	addss	28(%rsp), %xmm0
	movss	%xmm0, 0(%r13)
	movss	16(%rsp), %xmm0
	addss	0(%rbp), %xmm0
	movss	%xmm0, 0(%rbp)
	addq	$168, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4530:
	.size	_Z7RK4_CPUjffRfS_, .-_Z7RK4_CPUjffRfS_
	.globl	_Z27__device_stub__Z6kernelPmPfPmPf
	.type	_Z27__device_stub__Z6kernelPmPfPmPf, @function
_Z27__device_stub__Z6kernelPmPfPmPf:
.LFB4555:
	.cfi_startproc
	endbr64
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rdi, 8(%rsp)
	leaq	32(%rsp), %rcx
	leaq	24(%rsp), %rdx
	movq	%rsi, (%rsp)
	leaq	40(%rsp), %rdi
	leaq	52(%rsp), %rsi
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rax
	movl	$1, 48(%rsp)
	movq	%rax, 88(%rsp)
	movq	%rsp, %rax
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 40(%rsp)
	movq	%rax, 52(%rsp)
	movl	$1, 60(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L38
	pushq	32(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z6kernelPmPf(%rip), %rdi
	pushq	32(%rsp)
	.cfi_def_cfa_offset 144
	movq	68(%rsp), %rcx
	movl	76(%rsp), %r8d
	movq	56(%rsp), %rsi
	movl	64(%rsp), %edx
	leaq	104(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L38:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L40
	call	__stack_chk_fail@PLT
.L40:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4555:
	.size	_Z27__device_stub__Z6kernelPmPfPmPf, .-_Z27__device_stub__Z6kernelPmPfPmPf
	.globl	_Z6kernelPmPf
	.type	_Z6kernelPmPf, @function
_Z6kernelPmPf:
.LFB4556:
	.cfi_startproc
	endbr64
	jmp	_Z27__device_stub__Z6kernelPmPfPmPf
	.cfi_endproc
.LFE4556:
	.size	_Z6kernelPmPf, .-_Z6kernelPmPf
	.section	.text._ZN12workinggroup10lunch_planEv,"axG",@progbits,_ZN12workinggroup10lunch_planEv,comdat
	.align 2
	.weak	_ZN12workinggroup10lunch_planEv
	.type	_ZN12workinggroup10lunch_planEv, @function
_ZN12workinggroup10lunch_planEv:
.LFB4522:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movq	%rdi, %rbx
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	movl	40(%rdi), %edi
	call	cudaSetDevice@PLT
	movq	16(%rbx), %rsi
	movq	24(%rbx), %rdi
	movl	$1, %ecx
	movq	32(%rbx), %r8
	movl	$32768, %edx
	call	cudaMemcpyAsync@PLT
	movq	8(%rbx), %rdi
	movq	32(%rbx), %r8
	movl	$1, %ecx
	movq	(%rbx), %rsi
	movl	$589824, %edx
	call	cudaMemcpyAsync@PLT
	movl	$4194305, %edx
	movl	$1073741825, %edi
	xorl	%r8d, %r8d
	movq	32(%rbx), %r9
	salq	$10, %rdx
	salq	$2, %rdi
	movl	$1, %ecx
	movl	$1, %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L44
	movq	8(%rbx), %rsi
	movq	24(%rbx), %rdi
	call	_Z27__device_stub__Z6kernelPmPfPmPf
.L44:
	movq	8(%rbx), %rsi
	movq	32(%rbx), %r8
	movl	$2, %ecx
	movl	$589824, %edx
	movq	(%rbx), %rdi
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	cudaMemcpyAsync@PLT
	.cfi_endproc
.LFE4522:
	.size	_ZN12workinggroup10lunch_planEv, .-_ZN12workinggroup10lunch_planEv
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC15:
	.string	"_Z6kernelPmPf"
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB4558:
	.cfi_startproc
	endbr64
	pushq	%rax
	.cfi_def_cfa_offset 16
	leaq	_ZL15__fatDeviceText(%rip), %rdi
	call	__cudaRegisterFatBinary@PLT
	pushq	$0
	.cfi_def_cfa_offset 24
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC15(%rip), %rdx
	movq	%rax, %rdi
	leaq	_Z6kernelPmPf(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 40
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 48
	movq	%rax, _ZL20__cudaFatCubinHandle(%rip)
	call	__cudaRegisterFunction@PLT
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	call	__cudaRegisterFatBinaryEnd@PLT
	leaq	_ZL26__cudaUnregisterBinaryUtilv(%rip), %rdi
	popq	%rdx
	.cfi_def_cfa_offset 8
	jmp	atexit@PLT
	.cfi_endproc
.LFE4558:
	.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:
.LFB4637:
	.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	.L48
	movl	(%rbx), %edx
	movl	%edx, (%rax)
.L48:
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4637:
	.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._ZZN9__gnu_cxx6__stoaImmcJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev,"axG",@progbits,_ZZN9__gnu_cxx6__stoaImmcJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD5Ev,comdat
	.align 2
	.weak	_ZZN9__gnu_cxx6__stoaImmcJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev
	.type	_ZZN9__gnu_cxx6__stoaImmcJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev, @function
_ZZN9__gnu_cxx6__stoaImmcJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev:
.LFB4655:
	.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	.L51
	movl	(%rbx), %edx
	movl	%edx, (%rax)
.L51:
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4655:
	.size	_ZZN9__gnu_cxx6__stoaImmcJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev, .-_ZZN9__gnu_cxx6__stoaImmcJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev
	.weak	_ZZN9__gnu_cxx6__stoaImmcJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev
	.set	_ZZN9__gnu_cxx6__stoaImmcJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev,_ZZN9__gnu_cxx6__stoaImmcJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev
	.section	.text._ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev,"axG",@progbits,_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD5Ev,comdat
	.align 2
	.weak	_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev
	.type	_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev, @function
_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev:
.LFB4682:
	.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	.L54
	movl	(%rbx), %edx
	movl	%edx, (%rax)
.L54:
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4682:
	.size	_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev, .-_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev
	.weak	_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev
	.set	_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev,_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev
	.section	.rodata.str1.1
.LC16:
	.string	"stof"
	.text
	.type	_ZNSt7__cxx114stofERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPm.isra.0, @function
_ZNSt7__cxx114stofERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPm.isra.0:
.LFB5345:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA5345
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%rsi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movq	%rdi, %rbx
	subq	$56, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %r13
	call	__errno_location@PLT
	leaq	32(%rsp), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rbp
	movl	(%rax), %eax
	movl	%eax, 28(%rsp)
	xorl	%eax, %eax
	movl	%eax, 0(%rbp)
	call	strtof@PLT
	movq	32(%rsp), %rax
	cmpq	%rax, %rbx
	jne	.L58
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L70
	leaq	.LC16(%rip), %rdi
.LEHB0:
	call	_ZSt24__throw_invalid_argumentPKc@PLT
.L58:
	cmpl	$34, 0(%rbp)
	jne	.L60
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L70
	leaq	.LC16(%rip), %rdi
	call	_ZSt20__throw_out_of_rangePKc@PLT
.LEHE0:
.L60:
	testq	%r12, %r12
	je	.L62
	subq	%rbx, %rax
	movq	%rax, (%r12)
.L62:
	movq	%r13, %rdi
	movss	%xmm0, 12(%rsp)
	call	_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev
	movss	12(%rsp), %xmm0
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	je	.L65
	jmp	.L70
.L66:
	endbr64
	movq	%rax, %rbx
.L63:
	movq	%r13, %rdi
	call	_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L70
	movq	%rbx, %rdi
.LEHB1:
	call	_Unwind_Resume@PLT
.LEHE1:
.L70:
	call	__stack_chk_fail@PLT
.L65:
	addq	$56, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE5345:
	.section	.gcc_except_table,"a",@progbits
.LLSDA5345:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE5345-.LLSDACSB5345
.LLSDACSB5345:
	.uleb128 .LEHB0-.LFB5345
	.uleb128 .LEHE0-.LEHB0
	.uleb128 .L66-.LFB5345
	.uleb128 0
	.uleb128 .LEHB1-.LFB5345
	.uleb128 .LEHE1-.LEHB1
	.uleb128 0
	.uleb128 0
.LLSDACSE5345:
	.text
	.size	_ZNSt7__cxx114stofERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPm.isra.0, .-_ZNSt7__cxx114stofERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPm.isra.0
	.section	.rodata._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.str1.1,"aMS",@progbits,1
.LC17:
	.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_:
.LFB4902:
	.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	.L74
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L79
	leaq	.LC17(%rip), %rdi
	call	_ZSt19__throw_logic_errorPKc@PLT
.L74:
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	movq	%rsi, %rbp
	call	strlen@PLT
	movq	%rax, (%rsp)
	leaq	0(%rbp,%rax), %r12
	cmpq	$15, %rax
	jbe	.L76
	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)
.L76:
	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	.L77
.L79:
	call	__stack_chk_fail@PLT
.L77:
	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
.LFE4902:
	.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._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_:
.LFB4904:
	.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	.L80
	movb	$1, %al
	testq	%r12, %r12
	je	.L80
	movq	(%rbx), %rdi
	movq	%r12, %rdx
	call	memcmp@PLT
	testl	%eax, %eax
	sete	%al
.L80:
	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
.LFE4904:
	.size	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_, .-_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	.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_:
.LFB4918:
	.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	.L86
	movq	%rbp, %rdi
	call	_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv@PLT
	cmpq	%r13, %rax
	jb	.L86
	movq	%rbx, %rdx
	xorl	%esi, %esi
	movq	%rbp, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6insertEmRKS4_@PLT
	jmp	.L89
.L86:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendERKS4_@PLT
.L89:
	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
.LFE4918:
	.size	_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_, .-_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_
	.section	.rodata.str1.1
.LC18:
	.string	"-h"
.LC19:
	.string	"--help"
.LC20:
	.string	"-?"
.LC21:
	.string	"-g:\tset the gpu for calculate"
.LC22:
	.string	"-g"
.LC23:
	.string	"-x:\tset init x0"
.LC24:
	.string	"-v:\tset init v0"
.LC25:
	.string	"-t:\tset time range"
.LC26:
	.string	"-y:\tset minimal gamma"
.LC27:
	.string	"-yr:\tset the gamma searching range (d_gamma = gamma_range / "
.LC28:
	.string	")"
.LC29:
	.string	"-h, --help, -?: "
.LC30:
	.string	"stoi"
.LC31:
	.string	"-x"
.LC32:
	.string	"-v"
.LC33:
	.string	"-t"
.LC34:
	.string	"stoul"
.LC35:
	.string	"-y"
.LC36:
	.string	"-yr"
.LC38:
	.string	"info.dat"
.LC39:
	.string	"Find unfinished task! Auto start continue working from t id "
.LC40:
	.string	" ...\n(disable by adding any arg)\n\n\n\n"
.LC41:
	.string	"Starting calculation:\n"
.LC42:
	.string	"\tx0: "
.LC43:
	.string	"   v0: "
.LC44:
	.string	"\n\tgamma: [ "
.LC45:
	.string	" , "
.LC46:
	.string	" ) -- "
.LC47:
	.string	" steps with step length: "
.LC48:
	.string	"\n\tt_max: "
.LC49:
	.string	"\n\ton GPU "
.LC50:
	.string	"\n\n"
.LC51:
	.string	".dat"
.LC52:
	.string	"data"
.LC53:
	.string	"Finish calculation: 0 - "
.LC54:
	.string	"\t(current t ID: "
.LC55:
	.string	") / "
.LC56:
	.string	" |\tfrom "
.LC57:
	.string	"s to "
.LC58:
	.string	"s |\tused "
.LC60:
	.string	"ms\t("
.LC62:
	.string	"%  used: "
.LC64:
	.string	"hours  ETA: "
.LC65:
	.string	" hours)"
	.section	.text.startup
	.globl	main
	.type	main, @function
main:
.LFB4525:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4525
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	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	$1528, %rsp
	.cfi_def_cfa_offset 1584
	movq	%fs:40, %rax
	movq	%rax, 1512(%rsp)
	xorl	%eax, %eax
	cmpl	$1, %edi
	movabsq	$4001598391975936000, %rax
	movq	$256, 200(%rsp)
	movq	%rcx, 184(%rsp)
	leaq	256(%rsp), %rbx
	movq	$32768, 192(%rsp)
	movq	$10, 208(%rsp)
	movq	$2560, 216(%rsp)
	movq	$12288, 232(%rsp)
	movq	%rax, 240(%rsp)
	movq	%r8, 248(%rsp)
	jle	.L91
	movl	%edi, %r14d
	movq	%rsi, %r12
	xorl	%r13d, %r13d
.L116:
	movslq	%r13d, %rax
	movq	%rbx, %rdx
	movq	(%r12,%rax,8), %rsi
	leaq	0(,%rax,8), %r15
	leaq	480(%rsp), %rax
	movq	%rax, %rdi
	movq	%rax, 8(%rsp)
.LEHB2:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_
.LEHE2:
	movq	8(%rsp), %rdi
	leaq	.LC18(%rip), %rsi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	jne	.L92
	movq	8(%rsp), %rdi
	leaq	.LC19(%rip), %rsi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	jne	.L92
	movq	8(%rsp), %rdi
	leaq	.LC20(%rip), %rsi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	movl	%eax, %ebp
	testb	%al, %al
	je	.L93
.L92:
	leaq	_ZSt4cout(%rip), %rbx
	leaq	.LC21(%rip), %rsi
	movq	%rbx, %rdi
.LEHB3:
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	jmp	.L242
.L93:
	movq	8(%rsp), %rdi
	leaq	.LC22(%rip), %rsi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	je	.L225
	jmp	.L243
.L242:
	leaq	.LC23(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	.LC24(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	.LC25(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	.LC26(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	.LC27(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	232(%rsp), %rsi
	movq	%rax, %rdi
	call	_ZNSo9_M_insertImEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC28(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	leaq	.LC29(%rip), %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	8(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L97
.L243:
	leaq	992(%rsp), %rax
	movq	8(%r12,%r15), %rsi
	leaq	88(%rsp), %rdx
	movq	%rax, %rdi
	movq	%rax, 16(%rsp)
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_
.LEHE3:
	call	__errno_location@PLT
	xorl	%edx, %edx
	movq	992(%rsp), %r15
	movq	%rbx, %rsi
	movq	%rax, %rcx
	movl	(%rax), %eax
	movl	%edx, (%rcx)
	movq	%r15, %rdi
	movl	$10, %edx
	movq	%rcx, 24(%rsp)
	movl	%eax, 136(%rsp)
	call	__isoc23_strtol@PLT
	cmpq	256(%rsp), %r15
	movq	24(%rsp), %rcx
	leaq	136(%rsp), %r15
	jne	.L98
	movq	1512(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L226
	leaq	.LC30(%rip), %rdi
.LEHB4:
	call	_ZSt24__throw_invalid_argumentPKc@PLT
.L98:
	cmpl	$34, (%rcx)
	je	.L100
	movl	$2147483648, %edx
	movl	$4294967295, %ecx
	addq	%rax, %rdx
	cmpq	%rdx, %rcx
	jnb	.L101
.L100:
	movq	1512(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L226
	leaq	.LC30(%rip), %rdi
	call	_ZSt20__throw_out_of_rangePKc@PLT
.LEHE4:
.L101:
	movq	%r15, %rdi
	movq	%rax, 24(%rsp)
	call	_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev
	movq	24(%rsp), %rax
	movq	16(%rsp), %rdi
	movq	%rax, 184(%rsp)
.L228:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
.L107:
	incl	%r13d
	jmp	.L103
.L214:
	endbr64
	movq	%rax, %rbx
.L104:
	movq	%r15, %rdi
	call	_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev
	jmp	.L233
.L225:
	movq	8(%rsp), %rdi
	leaq	.LC31(%rip), %rsi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	je	.L106
	movq	8(%r12,%r15), %rsi
	leaq	992(%rsp), %r15
	movq	%rbx, %rdx
	movq	%r15, %rdi
.LEHB5:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_
.LEHE5:
	movq	992(%rsp), %rdi
	xorl	%esi, %esi
.LEHB6:
	call	_ZNSt7__cxx114stofERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPm.isra.0
.LEHE6:
	movss	%xmm0, 248(%rsp)
	jmp	.L231
.L106:
	movq	8(%rsp), %rdi
	leaq	.LC32(%rip), %rsi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	je	.L108
	movq	8(%r12,%r15), %rsi
	leaq	992(%rsp), %r15
	movq	%rbx, %rdx
	movq	%r15, %rdi
.LEHB7:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_
.LEHE7:
	movq	992(%rsp), %rdi
	xorl	%esi, %esi
.LEHB8:
	call	_ZNSt7__cxx114stofERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPm.isra.0
.LEHE8:
	movss	%xmm0, 252(%rsp)
	jmp	.L231
.L108:
	movq	8(%rsp), %rdi
	leaq	.LC33(%rip), %rsi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	je	.L109
	leaq	992(%rsp), %rax
	movq	8(%r12,%r15), %rsi
	leaq	88(%rsp), %rdx
	movq	%rax, %rdi
	movq	%rax, 16(%rsp)
.LEHB9:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_
.LEHE9:
	call	__errno_location@PLT
	movq	992(%rsp), %r15
	movl	$10, %edx
	movq	%rbx, %rsi
	movq	%rax, %rcx
	movl	(%rax), %eax
	movq	%r15, %rdi
	movq	%rcx, 24(%rsp)
	movl	%eax, 136(%rsp)
	xorl	%eax, %eax
	movl	%eax, (%rcx)
	call	__isoc23_strtoul@PLT
	cmpq	256(%rsp), %r15
	movq	24(%rsp), %rcx
	leaq	136(%rsp), %r15
	jne	.L110
	movq	1512(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L226
	leaq	.LC34(%rip), %rdi
.LEHB10:
	call	_ZSt24__throw_invalid_argumentPKc@PLT
.L110:
	cmpl	$34, (%rcx)
	jne	.L112
	movq	1512(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L226
	leaq	.LC34(%rip), %rdi
	call	_ZSt20__throw_out_of_rangePKc@PLT
.LEHE10:
.L112:
	movq	%r15, %rdi
	movq	%rax, 24(%rsp)
	call	_ZZN9__gnu_cxx6__stoaImmcJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev
	movq	24(%rsp), %rax
	movq	16(%rsp), %rdi
	movq	%rax, 208(%rsp)
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	208(%rsp), %rax
	imulq	200(%rsp), %rax
	movq	%rax, 216(%rsp)
	jmp	.L107
.L215:
	endbr64
	movq	%rax, %rbx
.L114:
	movq	%r15, %rdi
	call	_ZZN9__gnu_cxx6__stoaImmcJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev
.L233:
	movq	16(%rsp), %rdi
	jmp	.L229
.L109:
	movq	8(%rsp), %rdi
	leaq	.LC35(%rip), %rsi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	je	.L115
	movq	8(%r12,%r15), %rsi
	leaq	992(%rsp), %r15
	movq	%rbx, %rdx
	movq	%r15, %rdi
.LEHB11:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_
.LEHE11:
	movq	992(%rsp), %rdi
	xorl	%esi, %esi
.LEHB12:
	call	_ZNSt7__cxx114stofERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPm.isra.0
.LEHE12:
	movss	%xmm0, 240(%rsp)
.L231:
	movq	%r15, %rdi
	jmp	.L228
.L115:
	movq	8(%rsp), %rdi
	leaq	.LC36(%rip), %rsi
	call	_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_
	testb	%al, %al
	je	.L103
	movq	8(%r12,%r15), %rsi
	leaq	992(%rsp), %r15
	movq	%rbx, %rdx
	movq	%r15, %rdi
.LEHB13:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_
.LEHE13:
	movq	992(%rsp), %rdi
	xorl	%esi, %esi
.LEHB14:
	call	_ZNSt7__cxx114stofERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPm.isra.0
.LEHE14:
	movq	%r15, %rdi
	movss	%xmm0, 16(%rsp)
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movss	16(%rsp), %xmm0
	divss	.LC37(%rip), %xmm0
	movss	%xmm0, 244(%rsp)
	jmp	.L107
.L103:
	movq	8(%rsp), %rdi
	incl	%r13d
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	cmpl	%r13d, %r14d
	jg	.L116
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	jmp	.L117
.L91:
	leaq	992(%rsp), %rax
	movl	$4, %edx
	leaq	.LC38(%rip), %rsi
	movq	%rax, %rdi
	movq	%rax, 8(%rsp)
.LEHB15:
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode@PLT
.LEHE15:
	leaq	1112(%rsp), %rdi
	call	_ZNKSt12__basic_fileIcE7is_openEv@PLT
	movl	%eax, %ebp
	testb	%al, %al
	je	.L185
	movq	8(%rsp), %rdi
	movl	$72, %edx
	movq	%rbx, %rsi
.LEHB16:
	call	_ZNSi4readEPcl@PLT
	movq	296(%rsp), %r14
	cmpq	288(%rsp), %r14
	je	.L186
	movq	%r14, %r15
	andq	$-16, %r14
	xorl	%edx, %edx
	movl	$18, %ecx
	leaq	-1(%r14), %r12
	leaq	184(%rsp), %rdi
	movq	%rbx, %rsi
	shrq	$4, %r15
	rep movsl
	movq	%r12, %rax
	leaq	.LC39(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	divq	264(%rsp)
	movq	%rax, %r13
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	%r14, %rsi
	call	_ZNSo9_M_insertImEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC40(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
.LEHE16:
	jmp	.L118
.L186:
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	xorl	%ebp, %ebp
	jmp	.L118
.L185:
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
.L118:
	movq	8(%rsp), %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
.L117:
	leaq	.LC41(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
.LEHB17:
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	leaq	.LC42(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	cvtss2sd	248(%rsp), %xmm0
	movq	%rax, %rdi
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	leaq	.LC43(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	cvtss2sd	252(%rsp), %xmm0
	movq	%rax, %rdi
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	leaq	.LC44(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	cvtss2sd	240(%rsp), %xmm0
	movq	%rax, %rdi
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	leaq	.LC45(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	232(%rsp), %rdx
	movq	%rax, %rdi
	testq	%rdx, %rdx
	js	.L120
	cvtsi2ssq	%rdx, %xmm0
	jmp	.L121
.L120:
	movq	%rdx, %rax
	andl	$1, %edx
	shrq	%rax
	orq	%rdx, %rax
	cvtsi2ssq	%rax, %xmm0
	addss	%xmm0, %xmm0
.L121:
	mulss	244(%rsp), %xmm0
	addss	240(%rsp), %xmm0
	cvtss2sd	%xmm0, %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	leaq	.LC46(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	232(%rsp), %rsi
	movq	%rax, %rdi
	call	_ZNSo9_M_insertImEERSoT_@PLT
	leaq	.LC47(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	cvtss2sd	244(%rsp), %xmm0
	movq	%rax, %rdi
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	leaq	.LC48(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	208(%rsp), %rsi
	movq	%rax, %rdi
	call	_ZNSo9_M_insertImEERSoT_@PLT
	leaq	.LC49(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	184(%rsp), %rsi
	movq	%rax, %rdi
	call	_ZNSo9_M_insertImEERSoT_@PLT
	leaq	.LC50(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
	movq	232(%rsp), %rdi
	movabsq	$2305843009213693950, %rdx
	movq	%rdi, %rax
	salq	$5, %rax
	cmpq	%rax, %rdx
	jb	.L122
	salq	$7, %rdi
	leaq	136(%rsp), %r14
	call	_Znam@PLT
	testb	%bpl, %bpl
	movq	%rax, 56(%rsp)
	jne	.L123
	jmp	.L124
.L122:
	movq	1512(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L226
	call	__cxa_throw_bad_array_new_length@PLT
.L123:
	leaq	448(%rsp), %rax
	leaq	.LC51(%rip), %rsi
	movq	%rbx, %rdx
	movq	%rax, %rdi
	movq	%rax, 16(%rsp)
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_
.LEHE17:
	leaq	384(%rsp), %rax
	movq	%r13, %rsi
	movq	%rax, %rdi
	movq	%rax, 24(%rsp)
.LEHB18:
	call	_ZNSt7__cxx119to_stringEm
.LEHE18:
	leaq	352(%rsp), %rax
	movq	%r14, %rdx
	leaq	.LC52(%rip), %rsi
	movq	%rax, %rdi
	movq	%rax, 32(%rsp)
.LEHB19:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_
.LEHE19:
	leaq	416(%rsp), %r13
	movq	24(%rsp), %rdx
	movq	32(%rsp), %rsi
	movq	%r13, %rdi
.LEHB20:
	call	_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_
.LEHE20:
	leaq	480(%rsp), %rax
	movq	16(%rsp), %rdx
	movq	%r13, %rsi
	movq	%rax, %rdi
	movq	%rax, 40(%rsp)
.LEHB21:
	call	_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_
.LEHE21:
	leaq	992(%rsp), %rax
	movq	40(%rsp), %rsi
	movl	$4, %edx
	movq	%rax, %rdi
	movq	%rax, 8(%rsp)
.LEHB22:
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode@PLT
.LEHE22:
	movq	40(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	%r13, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	32(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	24(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	16(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	%r12, %rax
	xorl	%edx, %edx
	movq	8(%rsp), %rdi
	divq	192(%rsp)
	imulq	232(%rsp), %rdx
	leaq	0(,%rdx,8), %rsi
	xorl	%edx, %edx
.LEHB23:
	call	_ZNSi5seekgESt4fposI11__mbstate_tE@PLT
	movq	232(%rsp), %rax
	movq	56(%rsp), %rsi
	movq	8(%rsp), %rdi
	leaq	0(,%rax,8), %rdx
	call	_ZNSi4readEPcl@PLT
.LEHE23:
	movq	8(%rsp), %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
.L124:
	movl	184(%rsp), %esi
	leaq	88(%rsp), %r12
	movq	%r12, %rdi
.LEHB24:
	call	_ZN12workinggroupC1Ei
.LEHE24:
	movl	184(%rsp), %esi
	movq	%r14, %rdi
.LEHB25:
	call	_ZN12workinggroupC1Ei
.LEHE25:
	movl	184(%rsp), %esi
	movq	%rbx, %rdi
.LEHB26:
	call	_ZN12workinggroupC1Ei
.LEHE26:
	movq	%r14, 336(%rsp)
	leaq	328(%rsp), %r13
	movq	%rbx, 344(%rsp)
	movq	%r15, %rbx
	movq	%r12, 328(%rsp)
	salq	$4, %rbx
	xorl	%r12d, %r12d
.L126:
	movq	0(%r13), %rdi
	movq	%r12, %rdx
	xorl	%eax, %eax
	movq	16(%rdi), %rsi
	movq	(%rdi), %rcx
.L131:
	movss	240(%rsp), %xmm0
	movq	%rbx, (%rsi,%rax,8)
	movss	%xmm0, (%rcx,%rax,4)
	cvtsi2ssq	%rdx, %xmm0
	mulss	244(%rsp), %xmm0
	movss	%xmm0, 16384(%rcx,%rax,4)
	testb	%bpl, %bpl
	je	.L127
	movq	56(%rsp), %r10
	movss	(%r10,%rdx,8), %xmm0
	jmp	.L128
.L127:
	movss	248(%rsp), %xmm0
.L128:
	movss	%xmm0, 32768(%rcx,%rax,4)
	testb	%bpl, %bpl
	je	.L129
	movq	56(%rsp), %r11
	movss	4(%r11,%rdx,8), %xmm0
	jmp	.L130
.L129:
	movss	252(%rsp), %xmm0
.L130:
	movss	%xmm0, 49152(%rcx,%rax,4)
	incq	%rax
	incq	%rdx
	cmpq	$4096, %rax
	jne	.L131
.LEHB27:
	call	_ZN12workinggroup10lunch_planEv
	addq	$4096, %r12
	addq	$8, %r13
	cmpq	$12288, %r12
	jne	.L126
	call	_ZNSt6chrono3_V212system_clock3nowEv@PLT
	movl	$16, %r12d
	movq	%rax, 64(%rsp)
.L133:
	movq	216(%rsp), %rax
	shrq	$4, %rax
	cmpq	%rax, %r15
	jnb	.L244
	call	_ZNSt6chrono3_V212system_clock3nowEv@PLT
	leaq	16(%rbx), %rbp
	xorl	%r13d, %r13d
	movq	%rax, 72(%rsp)
	movq	%rbp, 224(%rsp)
.L139:
	movq	328(%rsp,%r13,8), %r14
	movl	40(%r14), %edi
	call	cudaSetDevice@PLT
	movq	32(%r14), %rdi
	call	cudaStreamSynchronize@PLT
	movq	232(%rsp), %rax
	movq	%r13, %r8
	movq	(%r14), %rdx
	xorl	%esi, %esi
	salq	$12, %r8
	leaq	0(,%rax,8), %r9
.L134:
	movq	56(%rsp), %rax
	leaq	(%rdx,%rsi,4), %rcx
	xorl	%edi, %edi
	leaq	(%rax,%r8,8), %rax
.L135:
	movss	65536(%rcx), %xmm0
	incq	%rdi
	addq	$32768, %rcx
	movss	%xmm0, (%rax)
	movss	49152(%rcx), %xmm0
	movss	%xmm0, 4(%rax)
	addq	%r9, %rax
	cmpq	$16, %rdi
	jne	.L135
	incq	%rsi
	incq	%r8
	cmpq	$4096, %rsi
	jne	.L134
	movq	216(%rsp), %rax
	shrq	$4, %rax
	decq	%rax
	cmpq	%r15, %rax
	je	.L137
	movq	16(%r14), %rcx
	xorl	%eax, %eax
.L138:
	movq	224(%rsp), %rsi
	movss	557056(%rdx,%rax,4), %xmm0
	movq	%rsi, (%rcx,%rax,8)
	movss	%xmm0, 32768(%rdx,%rax,4)
	movss	573440(%rdx,%rax,4), %xmm0
	movss	%xmm0, 49152(%rdx,%rax,4)
	incq	%rax
	cmpq	$4096, %rax
	jne	.L138
	movq	%r14, %rdi
	call	_ZN12workinggroup10lunch_planEv
.L137:
	incq	%r13
	cmpq	$3, %r13
	jne	.L139
	leaq	480(%rsp), %rax
	movq	%rax, %rdi
	movq	%rax, 48(%rsp)
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev@PLT
.LEHE27:
	leaq	448(%rsp), %rax
	leaq	87(%rsp), %r13
	movq	%r13, %rdx
	leaq	.LC51(%rip), %rsi
	movq	%rax, %rdi
	movq	%rax, 16(%rsp)
.LEHB28:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_
.LEHE28:
	leaq	384(%rsp), %rax
	xorl	%edx, %edx
	movq	%rax, 24(%rsp)
	movq	%rbx, %rax
	movq	24(%rsp), %rdi
	divq	192(%rsp)
	movq	%rax, %rsi
.LEHB29:
	call	_ZNSt7__cxx119to_stringEm
.LEHE29:
	leaq	352(%rsp), %rax
	leaq	86(%rsp), %r14
	movq	%r14, %rdx
	leaq	.LC52(%rip), %rsi
	movq	%rax, %rdi
	movq	%rax, 32(%rsp)
.LEHB30:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_
.LEHE30:
	leaq	416(%rsp), %rax
	movq	24(%rsp), %rdx
	movq	32(%rsp), %rsi
	movq	%rax, %rdi
	movq	%rax, 40(%rsp)
.LEHB31:
	call	_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_
.LEHE31:
	leaq	992(%rsp), %rax
	movq	16(%rsp), %rdx
	movq	40(%rsp), %rsi
	movq	%rax, %rdi
	movq	%rax, 8(%rsp)
.LEHB32:
	call	_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_
.LEHE32:
	movq	992(%rsp), %rsi
	movq	48(%rsp), %rdi
	movl	$28, %edx
.LEHB33:
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode.isra.0
.LEHE33:
	movq	8(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	40(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	32(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	24(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	16(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	leaq	592(%rsp), %rdi
	call	_ZNKSt12__basic_fileIcE7is_openEv@PLT
	testb	%al, %al
	je	.L140
	movq	%rbx, %rax
	xorl	%edx, %edx
	movq	48(%rsp), %rdi
	divq	192(%rsp)
	imulq	232(%rsp), %rdx
	leaq	0(,%rdx,8), %rsi
	xorl	%edx, %edx
.LEHB34:
	call	_ZNSo5seekpESt4fposI11__mbstate_tE@PLT
	jmp	.L141
.L140:
	movq	16(%rsp), %rdi
	movq	%r13, %rdx
	leaq	.LC51(%rip), %rsi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_
.LEHE34:
	movq	%rbx, %rax
	xorl	%edx, %edx
	movq	24(%rsp), %rdi
	divq	192(%rsp)
	movq	%rax, %rsi
.LEHB35:
	call	_ZNSt7__cxx119to_stringEm
.LEHE35:
	movq	32(%rsp), %rdi
	movq	%r14, %rdx
	leaq	.LC52(%rip), %rsi
.LEHB36:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_
.LEHE36:
	movq	24(%rsp), %rdx
	movq	32(%rsp), %rsi
	movq	40(%rsp), %rdi
.LEHB37:
	call	_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_
.LEHE37:
	movq	16(%rsp), %rdx
	movq	40(%rsp), %rsi
	movq	8(%rsp), %rdi
.LEHB38:
	call	_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_
.LEHE38:
	movq	992(%rsp), %rsi
	movq	48(%rsp), %rdi
	movl	$20, %edx
.LEHB39:
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode.isra.0
.LEHE39:
	movq	8(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	40(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	32(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	24(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	16(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
.L141:
	movq	232(%rsp), %rdx
	movq	56(%rsp), %rsi
	movq	48(%rsp), %rdi
	salq	$7, %rdx
.LEHB40:
	call	_ZNSo5writeEPKcl@PLT
	movq	48(%rsp), %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv@PLT
	movq	8(%rsp), %rdi
	movl	$4, %edx
	leaq	.LC38(%rip), %rsi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode@PLT
.LEHE40:
	movq	8(%rsp), %rdi
	leaq	184(%rsp), %rsi
	movl	$72, %edx
.LEHB41:
	call	_ZNSo5writeEPKcl@PLT
	movq	8(%rsp), %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv@PLT
	call	_ZNSt6chrono3_V212system_clock3nowEv@PLT
	leaq	.LC53(%rip), %rsi
	leaq	_ZSt4cout(%rip), %rdi
	orl	$4, 32+_ZSt4cout(%rip)
	movq	%rax, %r13
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	leaq	15(%rbx), %rsi
	call	_ZNSo9_M_insertImEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC54(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	%rbp, %rsi
	call	_ZNSo9_M_insertImEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC55(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	216(%rsp), %rsi
	movq	%rax, %rdi
	call	_ZNSo9_M_insertImEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC56(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	(%rax), %rax
	movq	-24(%rax), %rax
	movq	$3, 8(%rdi,%rax)
	testq	%rbx, %rbx
	js	.L142
	cvtsi2ssq	%rbx, %xmm0
	jmp	.L143
.L142:
	movq	%rbx, %rax
	andl	$1, %ebx
	shrq	%rax
	orq	%rbx, %rax
	cvtsi2ssq	%rax, %xmm0
	addss	%xmm0, %xmm0
.L143:
	mulss	.LC2(%rip), %xmm0
	cvtss2sd	%xmm0, %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC57(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	(%rax), %rax
	movq	-24(%rax), %rax
	movq	$3, 8(%rdi,%rax)
	testq	%rbp, %rbp
	js	.L144
	cvtsi2ssq	%rbp, %xmm3
	movss	%xmm3, 16(%rsp)
	jmp	.L145
.L144:
	movq	%rbp, %rax
	movq	%rbp, %rdx
	shrq	%rax
	andl	$1, %edx
	orq	%rdx, %rax
	cvtsi2ssq	%rax, %xmm0
	addss	%xmm0, %xmm0
	movss	%xmm0, 16(%rsp)
.L145:
	movss	.LC2(%rip), %xmm0
	mulss	16(%rsp), %xmm0
	cvtss2sd	%xmm0, %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC58(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	(%rax), %rax
	movq	72(%rsp), %rcx
	movq	-24(%rax), %rax
	movq	$2, 8(%rdi,%rax)
	movq	%r13, %rax
	subq	%rcx, %rax
	cvtsi2sdq	%rax, %xmm0
	divsd	.LC59(%rip), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC60(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	(%rax), %rax
	movq	216(%rsp), %rdx
	movss	16(%rsp), %xmm0
	mulss	.LC61(%rip), %xmm0
	movq	-24(%rax), %rax
	movq	$4, 8(%rdi,%rax)
	testq	%rdx, %rdx
	js	.L146
	cvtsi2ssq	%rdx, %xmm1
	jmp	.L147
.L146:
	movq	%rdx, %rax
	andl	$1, %edx
	shrq	%rax
	orq	%rdx, %rax
	cvtsi2ssq	%rax, %xmm1
	addss	%xmm1, %xmm1
.L147:
	divss	%xmm1, %xmm0
	cvtss2sd	%xmm0, %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC62(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	(%rax), %rax
	movq	-24(%rax), %rax
	movq	$3, 8(%rdi,%rax)
	movq	64(%rsp), %rax
	subq	%rax, %r13
	cvtsi2sdq	%r13, %xmm5
	movaps	%xmm5, %xmm0
	movq	%xmm5, %rbx
	divsd	.LC63(%rip), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC64(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	%rax, %rdi
	movq	(%rax), %rax
	movq	-24(%rax), %rax
	movq	$3, 8(%rdi,%rax)
	movq	216(%rsp), %rax
	subq	%rbp, %rax
	js	.L148
	cvtsi2sdq	%rax, %xmm0
	jmp	.L149
.L148:
	movq	%rax, %rdx
	andl	$1, %eax
	shrq	%rdx
	orq	%rax, %rdx
	cvtsi2sdq	%rdx, %xmm0
	addsd	%xmm0, %xmm0
.L149:
	testq	%r12, %r12
	js	.L150
	cvtsi2sdq	%r12, %xmm2
	jmp	.L151
.L150:
	movq	%r12, %rax
	movq	%r12, %rdx
	shrq	%rax
	andl	$1, %edx
	orq	%rdx, %rax
	cvtsi2sdq	%rax, %xmm2
	addsd	%xmm2, %xmm2
.L151:
	movq	%rbx, %xmm1
	divsd	%xmm2, %xmm1
	divsd	.LC63(%rip), %xmm1
	mulsd	%xmm1, %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%rax, %rdi
	leaq	.LC65(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	call	_ZNSolsEPFRSoS_E.isra.0
.LEHE41:
	leaq	992(%rsp), %rdi
	incq	%r15
	addq	$16, %r12
	movq	%rbp, %rbx
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	leaq	480(%rsp), %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	jmp	.L133
.L244:
	movq	56(%rsp), %rdi
	call	_ZdaPv@PLT
	leaq	256(%rsp), %rdi
	call	_ZN12workinggroupD1Ev
	leaq	136(%rsp), %rdi
	call	_ZN12workinggroupD1Ev
	leaq	88(%rsp), %rdi
	call	_ZN12workinggroupD1Ev
.L97:
	movq	1512(%rsp), %rax
	subq	%fs:40, %rax
	je	.L184
	jmp	.L226
.L188:
	endbr64
	jmp	.L232
.L189:
	endbr64
	jmp	.L232
.L190:
	endbr64
	jmp	.L232
.L191:
	endbr64
.L232:
	movq	%rax, %rbx
.L156:
	movq	%r15, %rdi
.L229:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L105
.L187:
	endbr64
	movq	%rax, %rbx
.L105:
	movq	8(%rsp), %rdi
	jmp	.L237
.L192:
	endbr64
	jmp	.L238
.L197:
	endbr64
	movq	%rax, %rbx
.L160:
	movq	40(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L161
.L196:
	endbr64
	movq	%rax, %rbx
.L161:
	movq	%r13, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L162
.L195:
	endbr64
	movq	%rax, %rbx
.L162:
	movq	32(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L163
.L194:
	endbr64
	movq	%rax, %rbx
.L163:
	movq	24(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L164
.L193:
	endbr64
	movq	%rax, %rbx
.L164:
	movq	16(%rsp), %rdi
.L237:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L235
.L198:
	endbr64
.L238:
	movq	%rax, %rbx
.L166:
	movq	8(%rsp), %rdi
	call	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev@PLT
	jmp	.L235
.L206:
	endbr64
	jmp	.L241
.L205:
	endbr64
	jmp	.L240
.L204:
	endbr64
	jmp	.L239
.L203:
	endbr64
	jmp	.L236
.L202:
	endbr64
	jmp	.L234
.L212:
	endbr64
.L241:
	movq	%rax, %rbx
.L174:
	movq	8(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L175
.L211:
	endbr64
.L240:
	movq	%rax, %rbx
.L175:
	movq	40(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L176
.L210:
	endbr64
.L239:
	movq	%rax, %rbx
.L176:
	movq	32(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L177
.L209:
	endbr64
.L236:
	movq	%rax, %rbx
.L177:
	movq	24(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L178
.L208:
	endbr64
.L234:
	movq	%rax, %rbx
.L178:
	movq	16(%rsp), %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	jmp	.L173
.L213:
	endbr64
	movq	%rax, %rbx
.L179:
	movq	8(%rsp), %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	jmp	.L173
.L207:
	endbr64
	movq	%rax, %rbx
.L173:
	movq	48(%rsp), %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	jmp	.L180
.L201:
	endbr64
	movq	%rax, %rbx
.L180:
	leaq	256(%rsp), %rdi
	call	_ZN12workinggroupD1Ev
	jmp	.L181
.L200:
	endbr64
	movq	%rax, %rbx
.L181:
	leaq	136(%rsp), %rdi
	call	_ZN12workinggroupD1Ev
	jmp	.L182
.L199:
	endbr64
	movq	%rax, %rbx
.L182:
	leaq	88(%rsp), %rdi
	call	_ZN12workinggroupD1Ev
.L235:
	movq	1512(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L226
	movq	%rbx, %rdi
.LEHB42:
	call	_Unwind_Resume@PLT
.LEHE42:
.L226:
	call	__stack_chk_fail@PLT
.L184:
	addq	$1528, %rsp
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4525:
	.section	.gcc_except_table
.LLSDA4525:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4525-.LLSDACSB4525
.LLSDACSB4525:
	.uleb128 .LEHB2-.LFB4525
	.uleb128 .LEHE2-.LEHB2
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB3-.LFB4525
	.uleb128 .LEHE3-.LEHB3
	.uleb128 .L187-.LFB4525
	.uleb128 0
	.uleb128 .LEHB4-.LFB4525
	.uleb128 .LEHE4-.LEHB4
	.uleb128 .L214-.LFB4525
	.uleb128 0
	.uleb128 .LEHB5-.LFB4525
	.uleb128 .LEHE5-.LEHB5
	.uleb128 .L187-.LFB4525
	.uleb128 0
	.uleb128 .LEHB6-.LFB4525
	.uleb128 .LEHE6-.LEHB6
	.uleb128 .L188-.LFB4525
	.uleb128 0
	.uleb128 .LEHB7-.LFB4525
	.uleb128 .LEHE7-.LEHB7
	.uleb128 .L187-.LFB4525
	.uleb128 0
	.uleb128 .LEHB8-.LFB4525
	.uleb128 .LEHE8-.LEHB8
	.uleb128 .L189-.LFB4525
	.uleb128 0
	.uleb128 .LEHB9-.LFB4525
	.uleb128 .LEHE9-.LEHB9
	.uleb128 .L187-.LFB4525
	.uleb128 0
	.uleb128 .LEHB10-.LFB4525
	.uleb128 .LEHE10-.LEHB10
	.uleb128 .L215-.LFB4525
	.uleb128 0
	.uleb128 .LEHB11-.LFB4525
	.uleb128 .LEHE11-.LEHB11
	.uleb128 .L187-.LFB4525
	.uleb128 0
	.uleb128 .LEHB12-.LFB4525
	.uleb128 .LEHE12-.LEHB12
	.uleb128 .L190-.LFB4525
	.uleb128 0
	.uleb128 .LEHB13-.LFB4525
	.uleb128 .LEHE13-.LEHB13
	.uleb128 .L187-.LFB4525
	.uleb128 0
	.uleb128 .LEHB14-.LFB4525
	.uleb128 .LEHE14-.LEHB14
	.uleb128 .L191-.LFB4525
	.uleb128 0
	.uleb128 .LEHB15-.LFB4525
	.uleb128 .LEHE15-.LEHB15
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB16-.LFB4525
	.uleb128 .LEHE16-.LEHB16
	.uleb128 .L192-.LFB4525
	.uleb128 0
	.uleb128 .LEHB17-.LFB4525
	.uleb128 .LEHE17-.LEHB17
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB18-.LFB4525
	.uleb128 .LEHE18-.LEHB18
	.uleb128 .L193-.LFB4525
	.uleb128 0
	.uleb128 .LEHB19-.LFB4525
	.uleb128 .LEHE19-.LEHB19
	.uleb128 .L194-.LFB4525
	.uleb128 0
	.uleb128 .LEHB20-.LFB4525
	.uleb128 .LEHE20-.LEHB20
	.uleb128 .L195-.LFB4525
	.uleb128 0
	.uleb128 .LEHB21-.LFB4525
	.uleb128 .LEHE21-.LEHB21
	.uleb128 .L196-.LFB4525
	.uleb128 0
	.uleb128 .LEHB22-.LFB4525
	.uleb128 .LEHE22-.LEHB22
	.uleb128 .L197-.LFB4525
	.uleb128 0
	.uleb128 .LEHB23-.LFB4525
	.uleb128 .LEHE23-.LEHB23
	.uleb128 .L198-.LFB4525
	.uleb128 0
	.uleb128 .LEHB24-.LFB4525
	.uleb128 .LEHE24-.LEHB24
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB25-.LFB4525
	.uleb128 .LEHE25-.LEHB25
	.uleb128 .L199-.LFB4525
	.uleb128 0
	.uleb128 .LEHB26-.LFB4525
	.uleb128 .LEHE26-.LEHB26
	.uleb128 .L200-.LFB4525
	.uleb128 0
	.uleb128 .LEHB27-.LFB4525
	.uleb128 .LEHE27-.LEHB27
	.uleb128 .L201-.LFB4525
	.uleb128 0
	.uleb128 .LEHB28-.LFB4525
	.uleb128 .LEHE28-.LEHB28
	.uleb128 .L207-.LFB4525
	.uleb128 0
	.uleb128 .LEHB29-.LFB4525
	.uleb128 .LEHE29-.LEHB29
	.uleb128 .L202-.LFB4525
	.uleb128 0
	.uleb128 .LEHB30-.LFB4525
	.uleb128 .LEHE30-.LEHB30
	.uleb128 .L203-.LFB4525
	.uleb128 0
	.uleb128 .LEHB31-.LFB4525
	.uleb128 .LEHE31-.LEHB31
	.uleb128 .L204-.LFB4525
	.uleb128 0
	.uleb128 .LEHB32-.LFB4525
	.uleb128 .LEHE32-.LEHB32
	.uleb128 .L205-.LFB4525
	.uleb128 0
	.uleb128 .LEHB33-.LFB4525
	.uleb128 .LEHE33-.LEHB33
	.uleb128 .L206-.LFB4525
	.uleb128 0
	.uleb128 .LEHB34-.LFB4525
	.uleb128 .LEHE34-.LEHB34
	.uleb128 .L207-.LFB4525
	.uleb128 0
	.uleb128 .LEHB35-.LFB4525
	.uleb128 .LEHE35-.LEHB35
	.uleb128 .L208-.LFB4525
	.uleb128 0
	.uleb128 .LEHB36-.LFB4525
	.uleb128 .LEHE36-.LEHB36
	.uleb128 .L209-.LFB4525
	.uleb128 0
	.uleb128 .LEHB37-.LFB4525
	.uleb128 .LEHE37-.LEHB37
	.uleb128 .L210-.LFB4525
	.uleb128 0
	.uleb128 .LEHB38-.LFB4525
	.uleb128 .LEHE38-.LEHB38
	.uleb128 .L211-.LFB4525
	.uleb128 0
	.uleb128 .LEHB39-.LFB4525
	.uleb128 .LEHE39-.LEHB39
	.uleb128 .L212-.LFB4525
	.uleb128 0
	.uleb128 .LEHB40-.LFB4525
	.uleb128 .LEHE40-.LEHB40
	.uleb128 .L207-.LFB4525
	.uleb128 0
	.uleb128 .LEHB41-.LFB4525
	.uleb128 .LEHE41-.LEHB41
	.uleb128 .L213-.LFB4525
	.uleb128 0
	.uleb128 .LEHB42-.LFB4525
	.uleb128 .LEHE42-.LEHB42
	.uleb128 0
	.uleb128 0
.LLSDACSE4525:
	.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
.LC2:
	.long	998244352
	.align 4
.LC3:
	.long	1065353216
	.align 4
.LC4:
	.long	-1063859228
	.align 4
.LC5:
	.long	1118938915
	.align 4
.LC6:
	.long	872415232
	.align 4
.LC7:
	.long	1056964608
	.align 4
.LC8:
	.long	914358272
	.align 4
.LC9:
	.long	1086918619
	.align 4
.LC10:
	.long	893980635
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC11:
	.long	-2147483648
	.long	0
	.long	0
	.long	0
	.section	.rodata.cst4
	.align 4
.LC12:
	.long	1083624420
	.align 4
.LC13:
	.long	1086324736
	.align 4
.LC14:
	.long	956301312
	.align 4
.LC37:
	.long	1178599424
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC59:
	.long	0
	.long	1093567616
	.section	.rodata.cst4
	.align 4
.LC61:
	.long	1120403456
	.section	.rodata.cst8
	.align 8
.LC63:
	.long	-989855744
	.long	1116352901
	.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 <stdio.h>
#include <iostream>
#include <vector>
#include <string> 
#include <array>
#include <iomanip>
#include <chrono>
#include <fstream>

typedef std::chrono::high_resolution_clock Clock;

#define pi 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481117450284102701938521f
#define omega (2.f*pi)
#define omega0 (omega*3.f/2.f)
#define beta (omega0/4.f)

#define roll_num 16
#define wrarp_num 32
#define grid_num 4
#define time 10
#define h_exp_3 5
#define t_step_exp 8

#define batch_size ( wrarp_num * grid_num * 32)
#define t_step (1.f/(1<<t_step_exp))
#define h_level_3 (1<<h_exp_3)
#define h (1.f/(1<<(h_exp_3*3+t_step_exp)))

#define t_size (sizeof(unsigned long) * batch_size)
#define p_size (sizeof(float)*(4 + 2 * roll_num) * batch_size)


__device__ void __RK4(unsigned long t_index, float x, float v, float *outx, float *outv, float y, float dy);
__device__ void RK4(unsigned long t_index, float x, float v, float *outx, float *outv, float y, float dy);
void RK4_CPU(unsigned t_index, float y, float dy, float& x, float& v);

__global__ void kernel(unsigned long *index, float * p) {
	unsigned int id = blockIdx.x * blockDim.x + threadIdx.x;

	for (unsigned i = 0; i < roll_num; ++i) {
		__RK4(index[id] + i,
			p[batch_size*(2 * i + 2) + id], p[batch_size*(2 * i + 3) + id],
			p + batch_size * (2 * i + 4) + id, p + batch_size * (2 * i + 5) + id,
			p[id], p[batch_size + id]);
	}
}

struct workinggroup
{
	float *p_h, *p_d;
	unsigned long *t_index_h, *t_index_d;
	hipStream_t stream;
	int gpu;
	workinggroup(int gpu_id) :gpu(gpu_id) {
		t_index_h = (unsigned long*)malloc(t_size);
		p_h = (float*)malloc(p_size);
		hipSetDevice(gpu);
		hipStreamCreate(&stream);
		hipMalloc((void**)&t_index_d, t_size);
		hipMalloc((void**)&p_d, p_size);
	}
	~workinggroup() {
		free(t_index_h);
		free(p_h);
		hipSetDevice(gpu);
		hipStreamDestroy(stream);
		hipFree(t_index_d);
		hipFree(p_d);
	}
	inline unsigned long &t_index(unsigned long index) { return t_index_h[index]; }

	inline float &gamma(unsigned long index) { return p_h[0 * batch_size + index]; }
	inline float &dgamma(unsigned long index) { return p_h[1 * batch_size + index]; }

	inline float &x(unsigned long t_index, unsigned long index) { return p_h[(2 * t_index + 2) * batch_size + index]; }
	inline float &v(unsigned long t_index, unsigned long index) { return p_h[(2 * t_index + 3) * batch_size + index]; }

	inline float &x_0(unsigned long index) { return x(0, index); }
	inline float &v_0(unsigned long index) { return v(0, index); }
	inline float &x_n(unsigned long index) { return x(roll_num, index); }
	inline float &v_n(unsigned long index) { return v(roll_num, index); }

	inline void lunch_plan() {
		hipSetDevice(gpu);
		hipMemcpyAsync((void*)t_index_d, (void*)t_index_h, t_size, hipMemcpyHostToDevice, stream);
		hipMemcpyAsync((void*)p_d, (void*)p_h, p_size, hipMemcpyHostToDevice, stream);

		kernel <<<grid_num, wrarp_num * 32, 0, stream >>> (t_index_d, p_d);

		hipMemcpyAsync((void*)p_h, (void*)p_d, p_size, hipMemcpyDeviceToHost, stream);
	}

	inline void sync() { hipSetDevice(gpu); hipStreamSynchronize(stream); }
	inline bool check() { hipSetDevice(gpu); return hipStreamQuery(stream) != hipErrorNotReady; }
};

struct info
{
	unsigned long gpu;			//gpu using
	unsigned long t_file;		//time step per file
	unsigned long t_num;		//time step per second
	unsigned long t_max;		//time range [0, t_max]
	unsigned long t_n;			//total sample number
	unsigned long t_current;	//time step finished
	unsigned long gamma_num;	//testing gamma's number
	float init_gamma;			//gamma start
	float d_gamma;				//gamma step
	float x0;					//init x
	float v0;					//init v
};

int main(int argc, char *argv[])
{
	info para;
	bool continue_working = false;
	unsigned long init_t = 0;
	unsigned long start_t = 0;
	unsigned long file_id = 0;
	float gamma_range = 0.2;

	para.t_num = (1 << t_step_exp);
	para.t_file = 128 * para.t_num;
	para.gpu = 0;
	para.x0 = 0;
	para.v0 = 0;
	para.t_max = 10;
	para.init_gamma = 1.f;

	para.d_gamma = gamma_range / (batch_size * 3);
	para.t_n = para.t_max * para.t_num;
	para.gamma_num = batch_size * 3;

	if (argc > 1) {
		for (int i = 0; i < argc; ++i) {
			std::string arg = argv[i];
			if (arg == "-h" || arg == "--help" || arg == "-?") {
				std::cout << "-g:\tset the gpu for calculate" << std::endl;
				std::cout << "-x:\tset init x0" << std::endl;
				std::cout << "-v:\tset init v0" << std::endl;
				std::cout << "-t:\tset time range" << std::endl;
				std::cout << "-y:\tset minimal gamma" << std::endl;
				std::cout << "-yr:\tset the gamma searching range (d_gamma = gamma_range / " << para.gamma_num << ")" << std::endl;
				std::cout << "-h, --help, -?: " << std::endl;
				return 0;
			}
			else if (arg == "-g")
				para.gpu = std::stoi(argv[++i]);
			else if (arg == "-x")
				para.x0 = std::stof(argv[++i]);
			else if (arg == "-v")
				para.v0 = std::stof(argv[++i]);
			else if (arg == "-t") {
				para.t_max = std::stoul(argv[++i]);
				para.t_n = para.t_max * para.t_num;
			}
			else if (arg == "-y")
				para.init_gamma = std::stof(argv[++i]);
			else if (arg == "-yr") {
				gamma_range = std::stof(argv[++i]);
				para.d_gamma = gamma_range / (batch_size * 3);
			}
		}
	}
	else {
		std::ifstream info_file("info.dat", std::ios::binary);
		if (info_file.is_open()) {
			info tmp;
			info_file.read((char*)&tmp, sizeof(info));
			if (tmp.t_current != tmp.t_n) {
				continue_working = true;
				start_t = (tmp.t_current / roll_num);
				init_t = start_t * roll_num - 1;
				file_id = init_t / tmp.t_file;
				para = tmp;
				std::cout << "Find unfinished task! Auto start continue working from t id " << start_t * roll_num << " ...\n(disable by adding any arg)\n\n\n\n" << std::endl;
			}
		}
	}
	


	std::cout << "Starting calculation:\n" << "\tx0: " << para.x0 << "   v0: " << para.v0
		<< "\n\tgamma: [ " << para.init_gamma << " , " << (para.init_gamma + para.gamma_num*para.d_gamma) << " ) -- " << para.gamma_num << " steps with step length: " << para.d_gamma
		<< "\n\tt_max: " << para.t_max << "\n\ton GPU " << para.gpu << "\n\n" << std::endl;

	float *tmp_data = new float[para.gamma_num * roll_num * 2];

	if (continue_working) {
		std::ifstream data(std::string("data") + std::to_string(file_id) + std::string(".dat"), std::ios::binary);
		data.seekg(para.gamma_num * 2 * (init_t % para.t_file) * sizeof(float));
		data.read((char*)tmp_data, para.gamma_num * 2 * sizeof(float));
	}

	workinggroup a(para.gpu), b(para.gpu), c(para.gpu);
	workinggroup *g[] = { &a, &b, &c };

	for (int i = 0; i < 3; ++i) {
		for (unsigned long j = 0; j < batch_size; ++j) {
			g[i]->t_index(j) = start_t * roll_num;
			g[i]->gamma(j) = para.init_gamma;
			g[i]->dgamma(j) = para.d_gamma * (batch_size*i + j);
			g[i]->x_0(j) = continue_working ? tmp_data[2 * (batch_size * i + j)] : para.x0;
			g[i]->v_0(j) = continue_working ? tmp_data[2 * (batch_size * i + j) + 1] : para.v0;
		}
		g[i]->lunch_plan();
	}

	auto start = Clock::now();
	for (unsigned long t = start_t; t < para.t_n / roll_num; ++t) {
		auto s = Clock::now();
		para.t_current = (t + 1) * roll_num;
		for (int i = 0; i < 3; ++i) {
			g[i]->sync();
			for (unsigned long j = 0; j < batch_size; ++j) for (unsigned long k = 0; k < roll_num; ++k) {
				tmp_data[2 * (para.gamma_num * k + i * batch_size + j)] = g[i]->x(k + 1, j);
				tmp_data[2 * (para.gamma_num * k + i * batch_size + j) + 1] = g[i]->v(k + 1, j);
			}
			if (t != (para.t_n / roll_num - 1)) {
				for (unsigned long j = 0; j < batch_size; ++j) {
					g[i]->t_index(j) = para.t_current;
					g[i]->x_0(j) = g[i]->x_n(j);
					g[i]->v_0(j) = g[i]->v_n(j);
				}
				g[i]->lunch_plan();
			}

		}
		
		std::ofstream data_file;
		data_file.open(std::string("data") + std::to_string(t * roll_num / para.t_file) + std::string(".dat"), std::ios::binary | std::ios::out | std::ios::in);
		if (data_file.is_open())
			data_file.seekp(t * roll_num % para.t_file * para.gamma_num * 2 * sizeof(float));
		else
			data_file.open(std::string("data") + std::to_string(t * roll_num / para.t_file) + std::string(".dat"), std::ios::binary | std::ios::out);
		data_file.write((char*)tmp_data, para.gamma_num * roll_num * 2 * sizeof(float));
		data_file.close();

		std::ofstream info_file("info.dat", std::ios::binary);
		info_file.write((char*)&para, sizeof(para));
		info_file.close();

		auto e = Clock::now();

		std::cout.setf(std::ios::fixed);
		std::cout << "Finish calculation: 0 - " << ((t + 1) * roll_num - 1) << "\t(current t ID: " << (t + 1) * roll_num << ") / " << para.t_n
			<< " |\tfrom " << std::setprecision(3) << t * roll_num * t_step << "s to " << std::setprecision(3) << (t + 1) * roll_num * t_step << "s |\tused "
			<< std::setprecision(2) << (static_cast<double>(std::chrono::duration_cast<std::chrono::nanoseconds>(e - s).count()) / 1000000) << "ms\t("
			<< std::setprecision(4) << ((t + 1) * roll_num * 100.f / para.t_n) << "%  used: "
			<< std::setprecision(3)
			<< (static_cast<double>(std::chrono::duration_cast<std::chrono::nanoseconds>(e - start).count()) / 3600000000000) << "hours  ETA: "
			<< std::setprecision(3)
			<< (para.t_n - (t + 1) * roll_num) *(static_cast<double>(std::chrono::duration_cast<std::chrono::nanoseconds>(e - start).count()) / ((t + 1 - start_t) * roll_num) / 3600000000000) << " hours)"
			<< std::endl;
	}
	delete[] tmp_data;
	return 0;
}

__device__ void __RK4(unsigned long t_index, float x, float v, float *outx, float *outv, float y, float dy) {
	/**********************************************************************
		(v' , x') = f((v+dv+ddv , x+dx+ddx) , t+dt): gamma = gamma + dgamma
		ot = omega * t;
		odt = omega * dt;

		bv = -2*beta* v
		y_cos_t = gamma*omega0^2* cos(ot)
		y_sin_t = gamma*omega0^2* sin(ot)
		dy_cos_t = dgamma*omega0^2* cos(ot)
		dy_sin_t = dgamma*omega0^2* sin(ot)
		cos_x = omega0^2* cos(x)
		sin_x = omega0^2* sin(x)

		tmp_1 = bv + y_cos_t * cos(odt)
		tmp_2 = - y_sin_t * sin(odt) + dy_cos_t * cos(odt)
		tmp_3 = - dy_sin_t * sin(odt)

		v'	=	(h^1)			tmp_1 - sin_x * cos(dx) * cos(ddx)
				(h^2)			tmp_2 - cos_x * sin(dx) * cos(ddx) - 2*beta * dv
				(h^3)			tmp_3 - cos_x * cos(dx) * sin(ddx) + sin_x * sin(dx) * sin(ddx) - 2*beta * ddv


		x'	=	(h^1)			+ v
				(h^2)			+ dv
				(h^2)			+ ddv
	**********************************************************************/

	const float T = fmodf(t_step * t_index, 2 * pi / omega);
	const float betav = -2.f * beta * v;
	const float beta2 = -2.f * beta;
	const float cos_x = omega0 * omega0 * cosf(x);
	const float sin_x = omega0 * omega0 * sinf(x);

	const float hv = h * (v);
	const float hhv = .5f * hv;

	float dx1 = 0, dv1 = 0;
	for (unsigned long i = 0; i < h_level_3; ++i) {
		float dx2 = 0, dv2 = 0;
		for (unsigned long j = 0; j < h_level_3; ++j) {
			float dx3 = 0, dv3 = 0;

			const float ot = omega * (T + (h * h_level_3 * h_level_3) * i + (h * h_level_3) * j);
			const float y_cos_t = y * (omega0 * omega0) * cosf(ot);
			const float y_sin_t = y * (omega0 * omega0) * sinf(ot);
			const float dy_cos_t = dy * (omega0 * omega0) * cosf(ot);
			const float dy_sin_t = dy * (omega0 * omega0) * sinf(ot);

			for (unsigned long k = 0; k < h_level_3; ++k) {
				float			dx2_ = 0, dx3_ = 0;
				float dv1_ = 0, dv2_ = 0, dv3_ = 0;
				float dx, ddx, dv, ddv, odt;
				float		   tmp_dx2, tmp_dx3;
				float tmp_dv1, tmp_dv2, tmp_dv3;
				float tmp_1, tmp_2, tmp_3;

				//K1
				odt = (omega * h) * k;
				tmp_1 = betav + y_cos_t * __cosf(odt);
				tmp_2 = dy_cos_t * __cosf(odt) - y_sin_t * __sinf(odt);
				tmp_3 = -dy_sin_t * __sinf(odt);

				dv = dv1;	ddv = dv2 + dv3;
				dx = dx1;	ddx = dx2 + dx3;
				dv1_ += h * (tmp_1 - sin_x * __cosf(dx) * __cosf(ddx));
				dv2_ += h * (tmp_2 - cos_x * __sinf(dx) * __cosf(ddx) - beta2 * dv);
				dv3_ += h * (tmp_3 - cos_x * __cosf(dx) * __sinf(ddx) + sin_x * __sinf(dx) * __sinf(ddx) - beta2 * ddv);
				dx2_ += h * dv;
				dx3_ += h * ddv;

				//t of K2 & K3
				odt = (omega * h) * (k + .5f);
				tmp_1 = betav + y_cos_t * __cosf(odt);
				tmp_2 = dy_cos_t * __cosf(odt) - y_sin_t * __sinf(odt);
				tmp_3 = -dy_sin_t * __sinf(odt);

				//K2
				dv = dv1 + .5f * dv1_;	ddv = (dv2 + .5f * dv2_) + (dv3 + .5f * dv3_);
				dx = dx1 + hhv;	ddx = (dx2 + .5f * dx2_) + (dx3 + .5f * dx3_);
				dv1_ += 2.f * (tmp_dv1 = h * (tmp_1 - sin_x * __cosf(dx) * __cosf(ddx)));
				dv2_ += 2.f * (tmp_dv2 = h * (tmp_2 - cos_x * __sinf(dx) * __cosf(ddx) - beta2 * dv));
				dv3_ += 2.f * (tmp_dv3 = h * (tmp_3 - cos_x * __cosf(dx) * __sinf(ddx) + sin_x * __sinf(dx) * __sinf(ddx) - beta2 * ddv));
				dx2_ += 2.f * (tmp_dx2 = h * dv);
				dx3_ += 2.f * (tmp_dx3 = h * ddv);

				//K3
				dv = dv1 + .5f * tmp_dv1;	ddv = (dv2 + .5f * tmp_dv2) + (dv3 + .5f * tmp_dv3);
				dx = dx1 + hhv;	ddx = (dx2 + .5f * tmp_dx2) + (dx3 + .5f * tmp_dx3);
				dv1_ += 2.f * (tmp_dv1 = h * (tmp_1 - sin_x * __cosf(dx) * __cosf(ddx)));
				dv2_ += 2.f * (tmp_dv2 = h * (tmp_2 - cos_x * __sinf(dx) * __cosf(ddx) - beta2 * dv));
				dv3_ += 2.f * (tmp_dv3 = h * (tmp_3 - cos_x * __cosf(dx) * __sinf(ddx) + sin_x * __sinf(dx) * __sinf(ddx) - beta2 * ddv));
				dx2_ += 2.f * (tmp_dx2 = h * dv);
				dx3_ += 2.f * (tmp_dx3 = h * ddv);

				//K4
				odt = (omega * h) * (k + 1);
				tmp_1 = betav + y_cos_t * __cosf(odt);
				tmp_2 = dy_cos_t * __cosf(odt) - y_sin_t * __sinf(odt);
				tmp_3 = -dy_sin_t * __sinf(odt);

				dv = dv1 + tmp_dv1;	ddv = (dv2 + tmp_dv2) + (dv3 + tmp_dv3);
				dx = dx1 + hv;	ddx = (dx2 + tmp_dx2) + (dx3 + tmp_dx3);
				dv1_ += h * (tmp_1 - sin_x * __cosf(dx) * __cosf(ddx));
				dv2_ += h * (tmp_2 - cos_x * __sinf(dx) * __cosf(ddx) - beta2 * dv);
				dv3_ += h * (tmp_3 - cos_x * __cosf(dx) * __sinf(ddx) + sin_x * __sinf(dx) * __sinf(ddx) - beta2 * ddv);
				dx2_ += h * dv;
				dx3_ += h * ddv;

				//sum
				dv1 += dv1_ / 6.f;
				dv2 += dv2_ / 6.f;
				dv3 += dv3_ / 6.f;
				dx1 += hv;
				dx2 += dx2_ / 6.f;
				dx3 += dx3_ / 6.f;
			}
			dx2 += dx3;
			dv2 += dv3;
		}
		dx1 += dx2;
		dv1 += dv2;
	}
	(*outx) = x + dx1;
	(*outv) = v + dv1;

}
__device__ void RK4(unsigned long t_index, float x, float v, float *outx, float *outv, float y, float dy) {
	/**********************************************************************
		(v' , x') = f((v+dv+ddv , x+dx+ddx) , t+dt): gamma = gamma + dgamma
		ot = omega * t;
		odt = omega * dt;

		bv = -2*beta* v
		y_cos_t = gamma*omega0^2* cos(ot)
		y_sin_t = gamma*omega0^2* sin(ot)
		dy_cos_t = dgamma*omega0^2* cos(ot)
		dy_sin_t = dgamma*omega0^2* sin(ot)
		cos_x = omega0^2* cos(x)
		sin_x = omega0^2* sin(x)

		tmp_1 = bv + y_cos_t * cos(odt)
		tmp_2 = - y_sin_t * sin(odt) + dy_cos_t * cos(odt)
		tmp_3 = - dy_sin_t * sin(odt)

		v'	=	(h^1)			tmp_1 - sin_x * cos(dx) * cos(ddx)
				(h^2)			tmp_2 - cos_x * sin(dx) * cos(ddx) - 2*beta * dv
				(h^3)			tmp_3 - cos_x * cos(dx) * sin(ddx) + sin_x * sin(dx) * sin(ddx) - 2*beta * ddv


		x'	=	(h^1)			+ v
				(h^2)			+ dv
				(h^2)			+ ddv
	**********************************************************************/

	const float T = fmodf(t_step * t_index, 2 * pi / omega);
	const float betav = -2.f * beta * v;
	const float beta2 = -2.f * beta;
	const float cos_x = omega0 * omega0 * cosf(x);
	const float sin_x = omega0 * omega0 * sinf(x);

	const float hv = h * (v);
	const float hhv = .5f * hv;

	float dx1 = 0, dv1 = 0;
	for (unsigned long i = 0; i < h_level_3; ++i) {
		float dx2 = 0, dv2 = 0;
		for (unsigned long j = 0; j < h_level_3; ++j) {
			float dx3 = 0, dv3 = 0;

			const float ot = omega * (T + (h * h_level_3 * h_level_3) * i + (h * h_level_3) * j);
			const float y_cos_t = y * (omega0 * omega0) * cosf(ot);
			const float y_sin_t = y * (omega0 * omega0) * sinf(ot);
			const float dy_cos_t = dy * (omega0 * omega0) * cosf(ot);
			const float dy_sin_t = dy * (omega0 * omega0) * sinf(ot);

			for (unsigned long k = 0; k < h_level_3; ++k) {
				float			dx2_ = 0, dx3_ = 0;
				float dv1_ = 0, dv2_ = 0, dv3_ = 0;
				float dx, ddx, dv, ddv, odt;
				float		   tmp_dx2, tmp_dx3;
				float tmp_dv1, tmp_dv2, tmp_dv3;
				float tmp_1, tmp_2, tmp_3;

				//K1
				odt = (omega * h) * k;
				tmp_1 = betav + y_cos_t * cosf(odt);
				tmp_2 = dy_cos_t * cosf(odt) - y_sin_t * sinf(odt);
				tmp_3 = -dy_sin_t * sinf(odt);

				dv = dv1;	ddv = dv2 + dv3;
				dx = dx1;	ddx = dx2 + dx3;
				dv1_ += h * (tmp_1 - sin_x * cosf(dx) * cosf(ddx));
				dv2_ += h * (tmp_2 - cos_x * sinf(dx) * cosf(ddx) - beta2 * dv);
				dv3_ += h * (tmp_3 - cos_x * cosf(dx) * sinf(ddx) + sin_x * sinf(dx) * sinf(ddx) - beta2 * ddv);
				dx2_ += h * dv;
				dx3_ += h * ddv;

				//t of K2 & K3
				odt = (omega * h) * (k + .5f);
				tmp_1 = betav + y_cos_t * cosf(odt);
				tmp_2 = dy_cos_t * cosf(odt) - y_sin_t * sinf(odt);
				tmp_3 = -dy_sin_t * sinf(odt);

				//K2
				dv = dv1 + .5f * dv1_;	ddv = (dv2 + .5f * dv2_) + (dv3 + .5f * dv3_);
				dx = dx1 + hhv;	ddx = (dx2 + .5f * dx2_) + (dx3 + .5f * dx3_);
				dv1_ += 2.f * (tmp_dv1 = h * (tmp_1 - sin_x * cosf(dx) * cosf(ddx)));
				dv2_ += 2.f * (tmp_dv2 = h * (tmp_2 - cos_x * sinf(dx) * cosf(ddx) - beta2 * dv));
				dv3_ += 2.f * (tmp_dv3 = h * (tmp_3 - cos_x * cosf(dx) * sinf(ddx) + sin_x * sinf(dx) * sinf(ddx) - beta2 * ddv));
				dx2_ += 2.f * (tmp_dx2 = h * dv);
				dx3_ += 2.f * (tmp_dx3 = h * ddv);

				//K3
				dv = dv1 + .5f * tmp_dv1;	ddv = (dv2 + .5f * tmp_dv2) + (dv3 + .5f * tmp_dv3);
				dx = dx1 + hhv;	ddx = (dx2 + .5f * tmp_dx2) + (dx3 + .5f * tmp_dx3);
				dv1_ += 2.f * (tmp_dv1 = h * (tmp_1 - sin_x * cosf(dx) * cosf(ddx)));
				dv2_ += 2.f * (tmp_dv2 = h * (tmp_2 - cos_x * sinf(dx) * cosf(ddx) - beta2 * dv));
				dv3_ += 2.f * (tmp_dv3 = h * (tmp_3 - cos_x * cosf(dx) * sinf(ddx) + sin_x * sinf(dx) * sinf(ddx) - beta2 * ddv));
				dx2_ += 2.f * (tmp_dx2 = h * dv);
				dx3_ += 2.f * (tmp_dx3 = h * ddv);

				//K4
				odt = (omega * h) * (k + 1);
				tmp_1 = betav + y_cos_t * cosf(odt);
				tmp_2 = dy_cos_t * cosf(odt) - y_sin_t * sinf(odt);
				tmp_3 = -dy_sin_t * sinf(odt);

				dv = dv1 + tmp_dv1;	ddv = (dv2 + tmp_dv2) + (dv3 + tmp_dv3);
				dx = dx1 + hv;	ddx = (dx2 + tmp_dx2) + (dx3 + tmp_dx3);
				dv1_ += h * (tmp_1 - sin_x * cosf(dx) * cosf(ddx));
				dv2_ += h * (tmp_2 - cos_x * sinf(dx) * cosf(ddx) - beta2 * dv);
				dv3_ += h * (tmp_3 - cos_x * cosf(dx) * sinf(ddx) + sin_x * sinf(dx) * sinf(ddx) - beta2 * ddv);
				dx2_ += h * dv;
				dx3_ += h * ddv;

				//sum
				dv1 += dv1_ / 6.f;
				dv2 += dv2_ / 6.f;
				dv3 += dv3_ / 6.f;
				dx1 += hv;
				dx2 += dx2_ / 6.f;
				dx3 += dx3_ / 6.f;
			}
			dx2 += dx3;
			dv2 += dv3;
		}
		dx1 += dx2;
		dv1 += dv2;
	}
	(*outx) = x + dx1;
	(*outv) = v + dv1;

}

void RK4_CPU(unsigned t_index, float y, float dy, float& x, float& v) {
	const float T = fmod(t_step * t_index, 2 * pi / omega);
	const float betav = -2.f * beta * v;
	const float beta2 = -2.f * beta;
	const float cos_x = omega0 * omega0 * cosf(x);
	const float sin_x = omega0 * omega0 * sinf(x);

	const float hv = h * v;
	const float hhv = .5f * hv;

	float dx1 = 0, dv1 = 0;
	for (unsigned long i = 0; i < h_level_3; ++i) {
		float dx2 = 0, dv2 = 0;
		for (unsigned long j = 0; j < h_level_3; ++j) {
			float dx3 = 0, dv3 = 0;

			const float ot = omega * (T + (h * h_level_3 * h_level_3) * i + (h * h_level_3) * j);
			const float y_cos_t = y * (omega0 * omega0) * cosf(ot);
			const float y_sin_t = y * (omega0 * omega0) * sinf(ot);
			const float dy_cos_t = dy * (omega0 * omega0) * cosf(ot);
			const float dy_sin_t = dy * (omega0 * omega0) * sinf(ot);

			for (unsigned long k = 0; k < h_level_3; ++k) {
				float			dx2_ = 0, dx3_ = 0;
				float dv1_ = 0, dv2_ = 0, dv3_ = 0;
				float dx, ddx, dv, ddv, odt;
				float		   tmp_dx2, tmp_dx3;
				float tmp_dv1, tmp_dv2, tmp_dv3;
				float tmp_1, tmp_2, tmp_3;

				//K1
				odt = (omega * h) * k;
				tmp_1 = betav + y_cos_t * cosf(odt);
				tmp_2 = dy_cos_t * cosf(odt) - y_sin_t * sinf(odt);
				tmp_3 = -dy_sin_t * sinf(odt);

				dv = dv1;	ddv = dv2 + dv3;
				dx = dx1;	ddx = dx2 + dx3;
				dv1_ += h * (tmp_1 - sin_x * cosf(dx) * cosf(ddx));
				dv2_ += h * (tmp_2 - cos_x * sinf(dx) * cosf(ddx) - beta2 * dv);
				dv3_ += h * (tmp_3 - cos_x * cosf(dx) * sinf(ddx) + sin_x * sinf(dx) * sinf(ddx) - beta2 * ddv);
				dx2_ += h * dv;
				dx3_ += h * ddv;

				//t of K2 & K3
				odt = (omega * h) * (k + .5f);
				tmp_1 = betav + y_cos_t * cosf(odt);
				tmp_2 = dy_cos_t * cosf(odt) - y_sin_t * sinf(odt);
				tmp_3 = -dy_sin_t * sinf(odt);

				//K2
				dv = dv1 + .5f * dv1_;	ddv = (dv2 + .5f * dv2_) + (dv3 + .5f * dv3_);
				dx = dx1 + hhv;	ddx = (dx2 + .5f * dx2_) + (dx3 + .5f * dx3_);
				dv1_ += 2.f * (tmp_dv1 = h * (tmp_1 - sin_x * cosf(dx) * cosf(ddx)));
				dv2_ += 2.f * (tmp_dv2 = h * (tmp_2 - cos_x * sinf(dx) * cosf(ddx) - beta2 * dv));
				dv3_ += 2.f * (tmp_dv3 = h * (tmp_3 - cos_x * cosf(dx) * sinf(ddx) + sin_x * sinf(dx) * sinf(ddx) - beta2 * ddv));
				dx2_ += 2.f * (tmp_dx2 = h * dv);
				dx3_ += 2.f * (tmp_dx3 = h * ddv);

				//K3
				dv = dv1 + .5f * tmp_dv1;	ddv = (dv2 + .5f * tmp_dv2) + (dv3 + .5f * tmp_dv3);
				dx = dx1 + hhv;	ddx = (dx2 + .5f * tmp_dx2) + (dx3 + .5f * tmp_dx3);
				dv1_ += 2.f * (tmp_dv1 = h * (tmp_1 - sin_x * cosf(dx) * cosf(ddx)));
				dv2_ += 2.f * (tmp_dv2 = h * (tmp_2 - cos_x * sinf(dx) * cosf(ddx) - beta2 * dv));
				dv3_ += 2.f * (tmp_dv3 = h * (tmp_3 - cos_x * cosf(dx) * sinf(ddx) + sin_x * sinf(dx) * sinf(ddx) - beta2 * ddv));
				dx2_ += 2.f * (tmp_dx2 = h * dv);
				dx3_ += 2.f * (tmp_dx3 = h * ddv);

				//K4
				odt = (omega * h) * (k + 1);
				tmp_1 = betav + y_cos_t * cosf(odt);
				tmp_2 = dy_cos_t * cosf(odt) - y_sin_t * sinf(odt);
				tmp_3 = -dy_sin_t * sinf(odt);

				dv = dv1 + tmp_dv1;	ddv = (dv2 + tmp_dv2) + (dv3 + tmp_dv3);
				dx = dx1 + hv;	ddx = (dx2 + tmp_dx2) + (dx3 + tmp_dx3);
				dv1_ += h * (tmp_1 - sin_x * cosf(dx) * cosf(ddx));
				dv2_ += h * (tmp_2 - cos_x * sinf(dx) * cosf(ddx) - beta2 * dv);
				dv3_ += h * (tmp_3 - cos_x * cosf(dx) * sinf(ddx) + sin_x * sinf(dx) * sinf(ddx) - beta2 * ddv);
				dx2_ += h * dv;
				dx3_ += h * ddv;

				//sum
				dv1 += dv1_ / 6.f;
				dv2 += dv2_ / 6.f;
				dv3 += dv3_ / 6.f;
				dx1 += hv;
				dx2 += dx2_ / 6.f;
				dx3 += dx3_ / 6.f;
			}
			dx2 += dx3;
			dv2 += dv3;
		}
		dx1 += dx2;
		dv1 += dv2;
	}
	x += dx1;
	v += dv1;
}
	.text
	.file	"kernel.hip"
                                        # Start of file scope inline assembly
	.globl	_ZSt21ios_base_library_initv

                                        # End of file scope inline assembly
	.globl	_Z21__device_stub__kernelPmPf   # -- Begin function _Z21__device_stub__kernelPmPf
	.type	_Z21__device_stub__kernelPmPf,@function
_Z21__device_stub__kernelPmPf:          # @_Z21__device_stub__kernelPmPf
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$80, %rsp
	.cfi_def_cfa_offset 128
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	24(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	16(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	64(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	leaq	48(%rsp), %r14
	leaq	32(%rsp), %r15
	leaq	8(%rsp), %r12
	movq	%rsp, %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z6kernelPmPf, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$96, %rsp
	.cfi_adjust_cfa_offset -96
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end0:
	.size	_Z21__device_stub__kernelPmPf, .Lfunc_end0-_Z21__device_stub__kernelPmPf
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst4,"aM",@progbits,4
	.p2align	2, 0x0                          # -- Begin function main
.LCPI1_0:
	.long	0x46400000                      # float 12288
.LCPI1_1:
	.long	0x3b800000                      # float 0.00390625
.LCPI1_3:
	.long	0x42c80000                      # float 100
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0
.LCPI1_2:
	.quad	0x412e848000000000              # double 1.0E+6
.LCPI1_4:
	.quad	0x428a3185c5000000              # double 3.6E+12
	.section	.rodata.cst16,"aM",@progbits,16
	.p2align	4, 0x0
.LCPI1_5:
	.long	1127219200                      # 0x43300000
	.long	1160773632                      # 0x45300000
	.long	0                               # 0x0
	.long	0                               # 0x0
.LCPI1_6:
	.quad	0x4330000000000000              # double 4503599627370496
	.quad	0x4530000000000000              # double 1.9342813113834067E+25
	.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	$1480, %rsp                     # imm = 0x5C8
	.cfi_def_cfa_offset 1536
	.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, 8(%rsp)                   # 8-byte Spill
	movq	$256, 112(%rsp)                 # imm = 0x100
	movq	$32768, 104(%rsp)               # imm = 0x8000
	xorl	%r14d, %r14d
	movq	%r14, 96(%rsp)
	movq	%r14, 160(%rsp)
	movq	$10, 120(%rsp)
	movabsq	$4001598391975936000, %rax      # imm = 0x378888893F800000
	movq	%rax, 152(%rsp)
	movq	$2560, 128(%rsp)                # imm = 0xA00
	movq	$12288, 144(%rsp)               # imm = 0x3000
	cmpl	$2, %edi
	jl	.LBB1_93
# %bb.1:                                # %.preheader625
	movl	%edi, %ebp
	leaq	448(%rsp), %rdx
	movl	%edi, 56(%rsp)                  # 4-byte Spill
.LBB1_2:                                # =>This Inner Loop Header: Depth=1
	movslq	%r14d, %r12
	movq	8(%rsp), %rax                   # 8-byte Reload
	movq	(%rax,%r12,8), %rsi
.Ltmp15:
	leaq	960(%rsp), %rdi
	movq	%rdx, %rbx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
.Ltmp16:
# %bb.3:                                #   in Loop: Header=BB1_2 Depth=1
	movb	$1, %r15b
	movq	968(%rsp), %rdx
	cmpq	$6, %rdx
	je	.LBB1_23
# %bb.4:                                #   in Loop: Header=BB1_2 Depth=1
	cmpq	$3, %rdx
	je	.LBB1_17
# %bb.5:                                #   in Loop: Header=BB1_2 Depth=1
	cmpq	$2, %rdx
	jne	.LBB1_88
# %bb.6:                                # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit
                                        #   in Loop: Header=BB1_2 Depth=1
	movq	960(%rsp), %r13
	movzwl	(%r13), %eax
	cmpl	$26669, %eax                    # imm = 0x682D
	je	.LBB1_24
# %bb.7:                                # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit242
                                        #   in Loop: Header=BB1_2 Depth=1
	movl	$.L.str.2, %esi
	movq	%r13, %rdi
	callq	bcmp@PLT
	testl	%eax, %eax
	je	.LBB1_24
# %bb.8:                                # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit257
                                        #   in Loop: Header=BB1_2 Depth=1
	movzwl	(%r13), %eax
	cmpl	$26413, %eax                    # imm = 0x672D
	je	.LBB1_55
# %bb.9:                                # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit262
                                        #   in Loop: Header=BB1_2 Depth=1
	movzwl	(%r13), %eax
	cmpl	$30765, %eax                    # imm = 0x782D
	je	.LBB1_62
# %bb.10:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit273
                                        #   in Loop: Header=BB1_2 Depth=1
	movzwl	(%r13), %eax
	cmpl	$30253, %eax                    # imm = 0x762D
	je	.LBB1_66
# %bb.11:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit286
                                        #   in Loop: Header=BB1_2 Depth=1
	movzwl	(%r13), %eax
	cmpl	$29741, %eax                    # imm = 0x742D
	je	.LBB1_72
# %bb.12:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit297
                                        #   in Loop: Header=BB1_2 Depth=1
	movzwl	(%r13), %eax
	cmpl	$31021, %eax                    # imm = 0x792D
	jne	.LBB1_88
# %bb.13:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit297.thread
                                        #   in Loop: Header=BB1_2 Depth=1
	movq	8(%rsp), %rax                   # 8-byte Reload
	movq	8(%rax,%r12,8), %rsi
.Ltmp24:
	movq	%rbx, %rdi
	leaq	288(%rsp), %rdx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
.Ltmp25:
# %bb.14:                               #   in Loop: Header=BB1_2 Depth=1
	movq	448(%rsp), %r12
	callq	__errno_location
	movq	%rax, %r13
	movl	(%rax), %ebp
	movl	$0, (%rax)
	movq	%r12, %rdi
	leaq	232(%rsp), %rsi
	callq	strtof
	cmpq	%r12, 232(%rsp)
	je	.LBB1_331
# %bb.15:                               #   in Loop: Header=BB1_2 Depth=1
	movl	(%r13), %eax
	testl	%eax, %eax
	je	.LBB1_82
# %bb.16:                               #   in Loop: Header=BB1_2 Depth=1
	cmpl	$34, %eax
	jne	.LBB1_83
	jmp	.LBB1_335
.LBB1_17:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit310
                                        #   in Loop: Header=BB1_2 Depth=1
	movq	960(%rsp), %rdi
	movl	$.L.str.16, %esi
	callq	bcmp@PLT
	testl	%eax, %eax
	jne	.LBB1_88
# %bb.18:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit310.thread
                                        #   in Loop: Header=BB1_2 Depth=1
	movq	8(%rsp), %rax                   # 8-byte Reload
	movq	8(%rax,%r12,8), %rsi
.Ltmp18:
	movq	%rbx, %r12
	movq	%rbx, %rdi
	leaq	232(%rsp), %rdx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
.Ltmp19:
# %bb.19:                               #   in Loop: Header=BB1_2 Depth=1
.Ltmp21:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_ZNSt7__cxx114stofERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPm
.Ltmp22:
# %bb.20:                               #   in Loop: Header=BB1_2 Depth=1
	movq	448(%rsp), %rdi
	leaq	464(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_22
# %bb.21:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i311
                                        #   in Loop: Header=BB1_2 Depth=1
	movss	%xmm0, 48(%rsp)                 # 4-byte Spill
	callq	_ZdlPv
	movss	48(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
.LBB1_22:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit313
                                        #   in Loop: Header=BB1_2 Depth=1
	incl	%r14d
	divss	.LCPI1_0(%rip), %xmm0
	movss	%xmm0, 156(%rsp)
	jmp	.LBB1_88
.LBB1_23:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit240
                                        #   in Loop: Header=BB1_2 Depth=1
	movq	960(%rsp), %rdi
	movl	$.L.str.1, %esi
	callq	bcmp@PLT
	testl	%eax, %eax
	jne	.LBB1_88
.LBB1_24:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit.thread
                                        #   in Loop: Header=BB1_2 Depth=1
.Ltmp64:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.3, %esi
	movl	$29, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp65:
	movl	$_ZSt4cout, %r15d
# %bb.25:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit
                                        #   in Loop: Header=BB1_2 Depth=1
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%r15, %rdi
.Ltmp66:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp67:
# %bb.26:                               # %.noexc559
                                        #   in Loop: Header=BB1_2 Depth=1
.Ltmp68:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp69:
# %bb.27:                               # %.noexc560
                                        #   in Loop: Header=BB1_2 Depth=1
.Ltmp70:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp71:
# %bb.28:                               # %_ZNSolsEPFRSoS_E.exit
                                        #   in Loop: Header=BB1_2 Depth=1
.Ltmp72:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.4, %esi
	movl	$15, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp73:
# %bb.29:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit243
                                        #   in Loop: Header=BB1_2 Depth=1
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%r15, %rdi
.Ltmp74:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp75:
# %bb.30:                               # %.noexc562
                                        #   in Loop: Header=BB1_2 Depth=1
.Ltmp76:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp77:
# %bb.31:                               # %.noexc563
                                        #   in Loop: Header=BB1_2 Depth=1
.Ltmp78:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp79:
# %bb.32:                               # %_ZNSolsEPFRSoS_E.exit244
                                        #   in Loop: Header=BB1_2 Depth=1
.Ltmp80:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.5, %esi
	movl	$15, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp81:
# %bb.33:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit245
                                        #   in Loop: Header=BB1_2 Depth=1
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%r15, %rdi
.Ltmp82:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp83:
# %bb.34:                               # %.noexc566
                                        #   in Loop: Header=BB1_2 Depth=1
.Ltmp84:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp85:
# %bb.35:                               # %.noexc567
                                        #   in Loop: Header=BB1_2 Depth=1
.Ltmp86:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp87:
# %bb.36:                               # %_ZNSolsEPFRSoS_E.exit246
                                        #   in Loop: Header=BB1_2 Depth=1
.Ltmp88:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.6, %esi
	movl	$18, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp89:
# %bb.37:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit247
                                        #   in Loop: Header=BB1_2 Depth=1
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%r15, %rdi
.Ltmp90:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp91:
# %bb.38:                               # %.noexc570
                                        #   in Loop: Header=BB1_2 Depth=1
.Ltmp92:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp93:
# %bb.39:                               # %.noexc571
                                        #   in Loop: Header=BB1_2 Depth=1
.Ltmp94:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp95:
# %bb.40:                               # %_ZNSolsEPFRSoS_E.exit248
                                        #   in Loop: Header=BB1_2 Depth=1
.Ltmp96:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.7, %esi
	movl	$21, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp97:
# %bb.41:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit249
                                        #   in Loop: Header=BB1_2 Depth=1
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%r15, %rdi
.Ltmp98:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp99:
# %bb.42:                               # %.noexc574
                                        #   in Loop: Header=BB1_2 Depth=1
.Ltmp100:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp101:
# %bb.43:                               # %.noexc575
                                        #   in Loop: Header=BB1_2 Depth=1
.Ltmp102:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp103:
# %bb.44:                               # %_ZNSolsEPFRSoS_E.exit250
                                        #   in Loop: Header=BB1_2 Depth=1
.Ltmp104:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.8, %esi
	movl	$60, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp105:
# %bb.45:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit251
                                        #   in Loop: Header=BB1_2 Depth=1
	movq	144(%rsp), %rsi
.Ltmp106:
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertImEERSoT_
.Ltmp107:
# %bb.46:                               # %_ZNSolsEm.exit
                                        #   in Loop: Header=BB1_2 Depth=1
.Ltmp108:
	movq	%rax, %r13
	movl	$.L.str.9, %esi
	movl	$1, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp109:
# %bb.47:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit252
                                        #   in Loop: Header=BB1_2 Depth=1
	movq	(%r13), %rax
	movq	-24(%rax), %rdi
	addq	%r13, %rdi
.Ltmp110:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp111:
# %bb.48:                               # %.noexc578
                                        #   in Loop: Header=BB1_2 Depth=1
.Ltmp112:
	movsbl	%al, %esi
	movq	%r13, %rdi
	callq	_ZNSo3putEc
.Ltmp113:
# %bb.49:                               # %.noexc579
                                        #   in Loop: Header=BB1_2 Depth=1
.Ltmp114:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp115:
# %bb.50:                               # %_ZNSolsEPFRSoS_E.exit253
                                        #   in Loop: Header=BB1_2 Depth=1
.Ltmp116:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.10, %esi
	movl	$16, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp117:
# %bb.51:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit254
                                        #   in Loop: Header=BB1_2 Depth=1
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rdi
	addq	%r15, %rdi
.Ltmp118:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp119:
# %bb.52:                               # %.noexc582
                                        #   in Loop: Header=BB1_2 Depth=1
.Ltmp120:
	movsbl	%al, %esi
	movl	$_ZSt4cout, %edi
	callq	_ZNSo3putEc
.Ltmp121:
# %bb.53:                               # %.noexc583
                                        #   in Loop: Header=BB1_2 Depth=1
.Ltmp122:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp123:
# %bb.54:                               #   in Loop: Header=BB1_2 Depth=1
	xorl	%r15d, %r15d
	jmp	.LBB1_88
.LBB1_55:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit257.thread
                                        #   in Loop: Header=BB1_2 Depth=1
	movq	8(%rsp), %rax                   # 8-byte Reload
	movq	8(%rax,%r12,8), %rsi
.Ltmp56:
	movq	%rbx, %rdi
	leaq	288(%rsp), %rdx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
.Ltmp57:
# %bb.56:                               #   in Loop: Header=BB1_2 Depth=1
	movq	448(%rsp), %r12
	callq	__errno_location
	movq	%rax, %r13
	movl	(%rax), %ebp
	movl	$0, (%rax)
	movq	%r12, %rdi
	leaq	232(%rsp), %rsi
	movl	$10, %edx
	callq	__isoc23_strtol
	cmpq	%r12, 232(%rsp)
	je	.LBB1_317
# %bb.57:                               #   in Loop: Header=BB1_2 Depth=1
	movslq	%eax, %rcx
	cmpq	%rax, %rcx
	jne	.LBB1_319
# %bb.58:                               #   in Loop: Header=BB1_2 Depth=1
	movl	(%r13), %ecx
	cmpl	$34, %ecx
	je	.LBB1_319
# %bb.59:                               #   in Loop: Header=BB1_2 Depth=1
	testl	%ecx, %ecx
	jne	.LBB1_61
# %bb.60:                               #   in Loop: Header=BB1_2 Depth=1
	movl	%ebp, (%r13)
.LBB1_61:                               #   in Loop: Header=BB1_2 Depth=1
	movq	%rax, 96(%rsp)
	jmp	.LBB1_84
.LBB1_62:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit262.thread
                                        #   in Loop: Header=BB1_2 Depth=1
	movq	8(%rsp), %rax                   # 8-byte Reload
	movq	8(%rax,%r12,8), %rsi
.Ltmp48:
	movq	%rbx, %rdi
	leaq	288(%rsp), %rdx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
.Ltmp49:
# %bb.63:                               #   in Loop: Header=BB1_2 Depth=1
	movq	448(%rsp), %r12
	callq	__errno_location
	movq	%rax, %r13
	movl	(%rax), %ebp
	movl	$0, (%rax)
	movq	%r12, %rdi
	leaq	232(%rsp), %rsi
	callq	strtof
	cmpq	%r12, 232(%rsp)
	je	.LBB1_321
# %bb.64:                               #   in Loop: Header=BB1_2 Depth=1
	movl	(%r13), %eax
	testl	%eax, %eax
	je	.LBB1_70
# %bb.65:                               #   in Loop: Header=BB1_2 Depth=1
	cmpl	$34, %eax
	jne	.LBB1_71
	jmp	.LBB1_325
.LBB1_66:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit273.thread
                                        #   in Loop: Header=BB1_2 Depth=1
	movq	8(%rsp), %rax                   # 8-byte Reload
	movq	8(%rax,%r12,8), %rsi
.Ltmp40:
	movq	%rbx, %rdi
	leaq	288(%rsp), %rdx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
.Ltmp41:
# %bb.67:                               #   in Loop: Header=BB1_2 Depth=1
	movq	448(%rsp), %r12
	callq	__errno_location
	movq	%rax, %r13
	movl	(%rax), %ebp
	movl	$0, (%rax)
	movq	%r12, %rdi
	leaq	232(%rsp), %rsi
	callq	strtof
	cmpq	%r12, 232(%rsp)
	je	.LBB1_323
# %bb.68:                               #   in Loop: Header=BB1_2 Depth=1
	movl	(%r13), %eax
	testl	%eax, %eax
	je	.LBB1_76
# %bb.69:                               #   in Loop: Header=BB1_2 Depth=1
	cmpl	$34, %eax
	jne	.LBB1_77
	jmp	.LBB1_329
.LBB1_70:                               #   in Loop: Header=BB1_2 Depth=1
	movl	%ebp, (%r13)
.LBB1_71:                               #   in Loop: Header=BB1_2 Depth=1
	movss	%xmm0, 160(%rsp)
	jmp	.LBB1_84
.LBB1_72:                               # %_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_.exit286.thread
                                        #   in Loop: Header=BB1_2 Depth=1
	movq	8(%rsp), %rax                   # 8-byte Reload
	movq	8(%rax,%r12,8), %rsi
.Ltmp32:
	movq	%rbx, %rdi
	leaq	288(%rsp), %rdx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
.Ltmp33:
# %bb.73:                               #   in Loop: Header=BB1_2 Depth=1
	movq	448(%rsp), %r12
	callq	__errno_location
	movq	%rax, %r13
	movl	(%rax), %ebp
	movl	$0, (%rax)
	movq	%r12, %rdi
	leaq	232(%rsp), %rsi
	movl	$10, %edx
	callq	__isoc23_strtoul
	cmpq	%r12, 232(%rsp)
	je	.LBB1_327
# %bb.74:                               #   in Loop: Header=BB1_2 Depth=1
	movl	(%r13), %ecx
	testl	%ecx, %ecx
	je	.LBB1_78
# %bb.75:                               #   in Loop: Header=BB1_2 Depth=1
	cmpl	$34, %ecx
	jne	.LBB1_79
	jmp	.LBB1_333
.LBB1_76:                               #   in Loop: Header=BB1_2 Depth=1
	movl	%ebp, (%r13)
.LBB1_77:                               #   in Loop: Header=BB1_2 Depth=1
	movss	%xmm0, 164(%rsp)
	jmp	.LBB1_84
.LBB1_78:                               #   in Loop: Header=BB1_2 Depth=1
	movl	%ebp, (%r13)
.LBB1_79:                               #   in Loop: Header=BB1_2 Depth=1
	movq	%rax, 120(%rsp)
	movq	448(%rsp), %rdi
	leaq	464(%rsp), %rcx
	cmpq	%rcx, %rdi
	je	.LBB1_81
# %bb.80:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i290
                                        #   in Loop: Header=BB1_2 Depth=1
	callq	_ZdlPv
	movq	120(%rsp), %rax
.LBB1_81:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit292
                                        #   in Loop: Header=BB1_2 Depth=1
	incl	%r14d
	imulq	112(%rsp), %rax
	movq	%rax, 128(%rsp)
	jmp	.LBB1_87
.LBB1_82:                               #   in Loop: Header=BB1_2 Depth=1
	movl	%ebp, (%r13)
.LBB1_83:                               #   in Loop: Header=BB1_2 Depth=1
	movss	%xmm0, 152(%rsp)
.LBB1_84:                               #   in Loop: Header=BB1_2 Depth=1
	movq	448(%rsp), %rdi
	leaq	464(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_86
# %bb.85:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i
                                        #   in Loop: Header=BB1_2 Depth=1
	callq	_ZdlPv
.LBB1_86:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit
                                        #   in Loop: Header=BB1_2 Depth=1
	incl	%r14d
.LBB1_87:                               # %_ZNSolsEPFRSoS_E.exit255
                                        #   in Loop: Header=BB1_2 Depth=1
	movl	56(%rsp), %ebp                  # 4-byte Reload
.LBB1_88:                               # %_ZNSolsEPFRSoS_E.exit255
                                        #   in Loop: Header=BB1_2 Depth=1
	movq	960(%rsp), %rdi
	leaq	976(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_90
# %bb.89:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i317
                                        #   in Loop: Header=BB1_2 Depth=1
	callq	_ZdlPv
.LBB1_90:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit319
                                        #   in Loop: Header=BB1_2 Depth=1
	testb	%r15b, %r15b
	je	.LBB1_316
# %bb.91:                               #   in Loop: Header=BB1_2 Depth=1
	incl	%r14d
	cmpl	%ebp, %r14d
	movq	%rbx, %rdx
	jl	.LBB1_2
# %bb.92:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	movq	%rax, 8(%rsp)                   # 8-byte Spill
	jmp	.LBB1_106
.LBB1_93:
	leaq	960(%rsp), %rdi
	movl	$.L.str.17, %esi
	movl	$4, %edx
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode
	leaq	1080(%rsp), %rdi
	callq	_ZNKSt12__basic_fileIcE7is_openEv
	testb	%al, %al
	je	.LBB1_103
# %bb.94:
.Ltmp0:
	leaq	960(%rsp), %rdi
	leaq	448(%rsp), %rsi
	movl	$72, %edx
	callq	_ZNSi4readEPcl
.Ltmp1:
# %bb.95:
	movq	488(%rsp), %r12
	cmpq	480(%rsp), %r12
	setne	%al
	movq	%rax, 8(%rsp)                   # 8-byte Spill
	je	.LBB1_104
# %bb.96:
	movq	%r12, %r15
	andq	$-16, %r15
	leaq	-1(%r15), %r13
	leaq	448(%rsp), %rsi
	movq	%r13, %rax
	xorl	%edx, %edx
	divq	8(%rsi)
	movq	%rax, %r14
	leaq	96(%rsp), %rdi
	movl	$9, %ecx
	rep;movsq (%rsi), %es:(%rdi)
.Ltmp2:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.18, %esi
	movl	$60, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp3:
# %bb.97:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit323
.Ltmp4:
	movl	$_ZSt4cout, %edi
	movq	%r15, %rsi
	callq	_ZNSo9_M_insertImEERSoT_
.Ltmp5:
# %bb.98:                               # %_ZNSolsEm.exit324
.Ltmp6:
	movq	%rax, %r15
	movl	$.L.str.19, %esi
	movl	$36, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp7:
# %bb.99:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit325
	movq	(%r15), %rax
	movq	-24(%rax), %rdi
	addq	%r15, %rdi
.Ltmp8:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp9:
# %bb.100:                              # %.noexc586
.Ltmp10:
	movsbl	%al, %esi
	movq	%r15, %rdi
	callq	_ZNSo3putEc
.Ltmp11:
# %bb.101:                              # %.noexc587
.Ltmp12:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp13:
# %bb.102:
	shrq	$4, %r12
	jmp	.LBB1_105
.LBB1_103:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	movq	%rax, 8(%rsp)                   # 8-byte Spill
	jmp	.LBB1_105
.LBB1_104:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
.LBB1_105:
	leaq	960(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
.LBB1_106:                              # %.critedge
	movl	$_ZSt4cout, %edi
	movl	$.L.str.20, %esi
	movl	$22, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movl	$_ZSt4cout, %edi
	movl	$.L.str.21, %esi
	movl	$5, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	xorps	%xmm0, %xmm0
	cvtss2sd	160(%rsp), %xmm0
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r15
	movl	$.L.str.22, %esi
	movl	$7, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	xorps	%xmm0, %xmm0
	cvtss2sd	164(%rsp), %xmm0
	movq	%r15, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r15
	movl	$.L.str.23, %esi
	movl	$11, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	xorps	%xmm0, %xmm0
	cvtss2sd	152(%rsp), %xmm0
	movq	%r15, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r15
	movl	$.L.str.24, %esi
	movl	$3, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	144(%rsp), %rax
	testq	%rax, %rax
	js	.LBB1_108
# %bb.107:                              # %.critedge
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	jmp	.LBB1_109
.LBB1_108:
	movq	%rax, %rcx
	shrq	%rcx
	andl	$1, %eax
	orq	%rcx, %rax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	addss	%xmm0, %xmm0
.LBB1_109:                              # %.critedge
	mulss	156(%rsp), %xmm0
	addss	152(%rsp), %xmm0
	cvtss2sd	%xmm0, %xmm0
	movq	%r15, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r15
	movl	$.L.str.25, %esi
	movl	$6, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	144(%rsp), %rsi
	movq	%r15, %rdi
	callq	_ZNSo9_M_insertImEERSoT_
	movq	%rax, %r15
	movl	$.L.str.26, %esi
	movl	$25, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	xorps	%xmm0, %xmm0
	cvtss2sd	156(%rsp), %xmm0
	movq	%r15, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
	movq	%rax, %r15
	movl	$.L.str.27, %esi
	movl	$9, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	120(%rsp), %rsi
	movq	%r15, %rdi
	callq	_ZNSo9_M_insertImEERSoT_
	movq	%rax, %r15
	movl	$.L.str.28, %esi
	movl	$9, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	96(%rsp), %rsi
	movq	%r15, %rdi
	callq	_ZNSo9_M_insertImEERSoT_
	movq	%rax, %r15
	movl	$.L.str.29, %esi
	movl	$2, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
	movq	(%r15), %rax
	movq	-24(%rax), %rdi
	addq	%r15, %rdi
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
	movsbl	%al, %esi
	movq	%r15, %rdi
	callq	_ZNSo3putEc
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
	movq	144(%rsp), %rax
	movabsq	$432345564227567616, %rcx       # imm = 0x600000000000000
	andq	%rax, %rcx
	shlq	$7, %rax
	xorl	%edi, %edi
	negq	%rcx
	sbbq	%rdi, %rdi
	orq	%rax, %rdi
	callq	_Znam
	movq	%rax, 48(%rsp)                  # 8-byte Spill
	cmpb	$0, 8(%rsp)                     # 1-byte Folded Reload
	movq	%r12, 280(%rsp)                 # 8-byte Spill
	je	.LBB1_158
# %bb.110:
	leaq	304(%rsp), %rbp
	movq	%rbp, -16(%rbp)
.Ltmp125:
	leaq	288(%rsp), %rdi
	movl	$.L.str.30, %esi
	movl	$.L.str.30+4, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
.Ltmp126:
# %bb.111:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.exit
	movl	$1, %esi
	cmpq	$10, %r14
	jb	.LBB1_120
# %bb.112:                              # %.lr.ph.i.i.preheader
	movl	$4, %esi
	movabsq	$3777893186295716171, %rdi      # imm = 0x346DC5D63886594B
	movq	%r14, %rcx
.LBB1_113:                              # %.lr.ph.i.i
                                        # =>This Inner Loop Header: Depth=1
	cmpq	$99, %rcx
	jbe	.LBB1_118
# %bb.114:                              #   in Loop: Header=BB1_113 Depth=1
	cmpq	$999, %rcx                      # imm = 0x3E7
	jbe	.LBB1_119
# %bb.115:                              #   in Loop: Header=BB1_113 Depth=1
	cmpq	$10000, %rcx                    # imm = 0x2710
	jb	.LBB1_120
# %bb.116:                              #   in Loop: Header=BB1_113 Depth=1
	movq	%rcx, %rax
	mulq	%rdi
	shrq	$11, %rdx
	addl	$4, %esi
	cmpq	$99999, %rcx                    # imm = 0x1869F
	movq	%rdx, %rcx
	ja	.LBB1_113
# %bb.117:                              # %_ZNSt8__detail14__to_chars_lenImEEjT_i.exit.i.loopexit
	addl	$-3, %esi
	jmp	.LBB1_120
.LBB1_118:
	addl	$-2, %esi
	jmp	.LBB1_120
.LBB1_119:
	decl	%esi
.LBB1_120:                              # %_ZNSt8__detail14__to_chars_lenImEEjT_i.exit.i
	movl	%esi, %esi
	leaq	352(%rsp), %rbx
	movq	%rbx, -16(%rbx)
.Ltmp128:
	leaq	336(%rsp), %rdi
	xorl	%edx, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructEmc
.Ltmp129:
# %bb.121:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit.i
	movq	336(%rsp), %rdi
	movl	344(%rsp), %esi
	movq	%r14, %rdx
	callq	_ZNSt8__detail18__to_chars_10_implImEEvPcjT_
	movq	288(%rsp), %rcx
	movq	296(%rsp), %r8
	movq	344(%rsp), %rdx
	leaq	(%rdx,%r8), %rax
	movl	$15, %edi
	cmpq	%rbp, %rcx
	je	.LBB1_123
# %bb.122:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit.i
	movq	304(%rsp), %rdi
.LBB1_123:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit.i
	movq	336(%rsp), %rsi
	cmpq	%rdi, %rax
	jbe	.LBB1_127
# %bb.124:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit12.i
	movl	$15, %edi
	cmpq	%rbx, %rsi
	je	.LBB1_126
# %bb.125:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit12.i
	movq	352(%rsp), %rdi
.LBB1_126:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit12.i
	cmpq	%rdi, %rax
	jbe	.LBB1_128
.LBB1_127:
.Ltmp133:
	leaq	288(%rsp), %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKcm
.Ltmp134:
	jmp	.LBB1_129
.LBB1_128:                              # %.critedge.i
.Ltmp131:
	leaq	336(%rsp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEmmPKcm
.Ltmp132:
.LBB1_129:                              # %.noexc
	movq	%rax, %r14
	leaq	248(%rsp), %rdi
	movq	%rdi, -16(%rdi)
	movq	(%rax), %rsi
	leaq	16(%rax), %r15
	cmpq	%r15, %rsi
	je	.LBB1_131
# %bb.130:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i13.i
	movq	%rsi, 232(%rsp)
	movq	(%r15), %rax
	movq	%rax, 248(%rsp)
	jmp	.LBB1_132
.LBB1_131:
	movq	8(%r14), %rdx
	incq	%rdx
	callq	memcpy@PLT
.LBB1_132:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_.exit14.i
	movq	%r14, %rax
	addq	$8, %rax
	movq	8(%r14), %rcx
	movq	%rcx, 240(%rsp)
	movq	%r15, (%r14)
	movq	$0, (%rax)
	movb	$0, (%r15)
	leaq	32(%rsp), %rbx
	movq	%rbx, -16(%rbx)
.Ltmp136:
	leaq	16(%rsp), %rdi
	movl	$.L.str.31, %esi
	movl	$.L.str.31+4, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
.Ltmp137:
# %bb.133:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.exit330
	leaq	248(%rsp), %r15
	movq	-16(%r15), %rcx
	movq	-8(%r15), %r8
	movq	24(%rsp), %rdx
	leaq	(%rdx,%r8), %rax
	movl	$15, %edi
	cmpq	%r15, %rcx
	je	.LBB1_135
# %bb.134:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.exit330
	movq	248(%rsp), %rdi
.LBB1_135:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.exit330
	movq	16(%rsp), %rsi
	cmpq	%rdi, %rax
	jbe	.LBB1_139
# %bb.136:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit12.i337
	movl	$15, %edi
	cmpq	%rbx, %rsi
	je	.LBB1_138
# %bb.137:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit12.i337
	movq	32(%rsp), %rdi
.LBB1_138:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit12.i337
	cmpq	%rdi, %rax
	jbe	.LBB1_140
.LBB1_139:
.Ltmp141:
	leaq	232(%rsp), %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKcm
.Ltmp142:
	jmp	.LBB1_141
.LBB1_140:                              # %.critedge.i339
.Ltmp139:
	leaq	16(%rsp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEmmPKcm
.Ltmp140:
.LBB1_141:                              # %.noexc342
	movq	%rax, %r14
	leaq	464(%rsp), %rdi
	movq	%rdi, -16(%rdi)
	movq	(%rax), %rsi
	leaq	16(%rax), %r12
	cmpq	%r12, %rsi
	je	.LBB1_143
# %bb.142:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i13.i333
	movq	%rsi, 448(%rsp)
	movq	(%r12), %rax
	movq	%rax, 464(%rsp)
	jmp	.LBB1_144
.LBB1_143:
	movq	8(%r14), %rdx
	incq	%rdx
	callq	memcpy@PLT
.LBB1_144:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_.exit14.i334
	movq	%r14, %rax
	addq	$8, %rax
	movq	8(%r14), %rcx
	movq	%rcx, 456(%rsp)
	movq	%r12, (%r14)
	movq	$0, (%rax)
	movb	$0, (%r12)
.Ltmp144:
	leaq	960(%rsp), %rdi
	leaq	448(%rsp), %rsi
	movl	$4, %edx
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode
.Ltmp145:
# %bb.145:
	leaq	464(%rsp), %rax
	movq	-16(%rax), %rdi
	cmpq	%rax, %rdi
	je	.LBB1_147
# %bb.146:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i345
	callq	_ZdlPv
.LBB1_147:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit347
	movq	16(%rsp), %rdi
	cmpq	%rbx, %rdi
	je	.LBB1_149
# %bb.148:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i348
	callq	_ZdlPv
.LBB1_149:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit350
	movq	232(%rsp), %rdi
	cmpq	%r15, %rdi
	movq	280(%rsp), %r12                 # 8-byte Reload
	je	.LBB1_151
# %bb.150:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i351
	callq	_ZdlPv
.LBB1_151:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit353
	movq	336(%rsp), %rdi
	leaq	352(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_153
# %bb.152:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i354
	callq	_ZdlPv
.LBB1_153:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit356
	movq	288(%rsp), %rdi
	cmpq	%rbp, %rdi
	je	.LBB1_155
# %bb.154:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i357
	callq	_ZdlPv
.LBB1_155:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit359
	movq	%r13, %rax
	xorl	%edx, %edx
	divq	104(%rsp)
	imulq	144(%rsp), %rdx
	leaq	(,%rdx,8), %rsi
.Ltmp147:
	leaq	960(%rsp), %rdi
	xorl	%edx, %edx
	callq	_ZNSi5seekgESt4fposI11__mbstate_tE
.Ltmp148:
# %bb.156:
	movq	144(%rsp), %rdx
	shlq	$3, %rdx
.Ltmp149:
	leaq	960(%rsp), %rdi
	movq	48(%rsp), %rsi                  # 8-byte Reload
	callq	_ZNSi4readEPcl
.Ltmp150:
# %bb.157:
	leaq	960(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
.LBB1_158:
	movl	96(%rsp), %esi
	leaq	232(%rsp), %rbx
	movq	%rbx, %rdi
	callq	_ZN12workinggroupC2Ei
	movl	96(%rsp), %esi
.Ltmp152:
	leaq	288(%rsp), %r14
	movq	%r14, %rdi
	callq	_ZN12workinggroupC2Ei
.Ltmp153:
# %bb.159:
	movl	96(%rsp), %esi
.Ltmp155:
	leaq	336(%rsp), %r15
	movq	%r15, %rdi
	callq	_ZN12workinggroupC2Ei
.Ltmp156:
# %bb.160:
	leaq	164(%rsp), %r13
	movq	%rbx, 416(%rsp)
	movq	%r14, 424(%rsp)
	movq	%r15, 432(%rsp)
	movq	%r12, %rbx
	shlq	$4, %rbx
	movq	48(%rsp), %rbp                  # 8-byte Reload
	leaq	4(%rbp), %r14
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
.LBB1_161:                              # %.preheader624
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB1_162 Depth 2
	movq	416(%rsp,%r12,8), %rdi
	movq	(%rdi), %rax
	movq	16(%rdi), %rcx
	movq	%r14, %rdx
	xorl	%esi, %esi
.LBB1_162:                              #   Parent Loop BB1_161 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movq	%rbx, (%rcx,%rsi,8)
	movss	152(%rsp), %xmm0                # xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rax,%rsi,4)
	movq	%r15, %r8
	addq	%rsi, %r8
	js	.LBB1_164
# %bb.163:                              #   in Loop: Header=BB1_162 Depth=2
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r8, %xmm0
	jmp	.LBB1_165
.LBB1_164:                              #   in Loop: Header=BB1_162 Depth=2
	movq	%r8, %r9
	shrq	%r9
	andl	$1, %r8d
	orq	%r9, %r8
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r8, %xmm0
	addss	%xmm0, %xmm0
.LBB1_165:                              #   in Loop: Header=BB1_162 Depth=2
	mulss	156(%rsp), %xmm0
	movss	%xmm0, 16384(%rax,%rsi,4)
	cmpb	$0, 8(%rsp)                     # 1-byte Folded Reload
	je	.LBB1_167
# %bb.166:                              #   in Loop: Header=BB1_162 Depth=2
	movss	(%rbp,%rsi,8), %xmm0            # xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 32768(%rax,%rsi,4)
	movq	%rdx, %r8
	jmp	.LBB1_168
.LBB1_167:                              #   in Loop: Header=BB1_162 Depth=2
	movss	160(%rsp), %xmm0                # xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 32768(%rax,%rsi,4)
	movq	%r13, %r8
.LBB1_168:                              #   in Loop: Header=BB1_162 Depth=2
	movss	(%r8), %xmm0                    # xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 49152(%rax,%rsi,4)
	incq	%rsi
	addq	$8, %rdx
	cmpq	$4096, %rsi                     # imm = 0x1000
	jne	.LBB1_162
# %bb.169:                              #   in Loop: Header=BB1_161 Depth=1
.Ltmp158:
	callq	_ZN12workinggroup10lunch_planEv
.Ltmp159:
# %bb.170:                              #   in Loop: Header=BB1_161 Depth=1
	incq	%r12
	movl	$32768, %eax                    # imm = 0x8000
	addq	%rax, %r14
	addq	%rax, %rbp
	addq	$4096, %r15                     # imm = 0x1000
	cmpq	$3, %r12
	jne	.LBB1_161
# %bb.171:
	callq	_ZNSt6chrono3_V212system_clock3nowEv
	movq	%rax, 408(%rsp)                 # 8-byte Spill
	movq	128(%rsp), %rax
	shrq	$4, %rax
	movq	280(%rsp), %r12                 # 8-byte Reload
	cmpq	%rax, %r12
	jae	.LBB1_315
# %bb.172:                              # %.lr.ph
	movl	$248, %eax
	leaq	448(%rsp), %rcx
	addq	%rax, %rcx
	movq	%rcx, 384(%rsp)                 # 8-byte Spill
	leaq	960(%rsp), %rcx
	addq	%rcx, %rax
	movq	%rax, 392(%rsp)                 # 8-byte Spill
	movq	48(%rsp), %rax                  # 8-byte Reload
	addq	$4, %rax
	movq	%rax, 400(%rsp)                 # 8-byte Spill
.LBB1_173:                              # =>This Loop Header: Depth=1
                                        #     Child Loop BB1_174 Depth 2
                                        #       Child Loop BB1_177 Depth 3
                                        #         Child Loop BB1_178 Depth 4
                                        #       Child Loop BB1_182 Depth 3
                                        #     Child Loop BB1_189 Depth 2
                                        #     Child Loop BB1_236 Depth 2
	callq	_ZNSt6chrono3_V212system_clock3nowEv
	movq	%rax, 56(%rsp)                  # 8-byte Spill
	leaq	1(%r12), %rbx
	movq	%rbx, %rbp
	shlq	$4, %rbp
	movq	%rbp, 136(%rsp)
	movq	400(%rsp), %r14                 # 8-byte Reload
	xorl	%r15d, %r15d
.LBB1_174:                              #   Parent Loop BB1_173 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB1_177 Depth 3
                                        #         Child Loop BB1_178 Depth 4
                                        #       Child Loop BB1_182 Depth 3
	movq	416(%rsp,%r15,8), %r13
	movl	40(%r13), %edi
.Ltmp161:
	callq	hipSetDevice
.Ltmp162:
# %bb.175:                              # %.noexc375
                                        #   in Loop: Header=BB1_174 Depth=2
	movq	32(%r13), %rdi
.Ltmp163:
	callq	hipStreamSynchronize
.Ltmp164:
# %bb.176:                              # %_ZN12workinggroup4syncEv.exit.preheader
                                        #   in Loop: Header=BB1_174 Depth=2
	movq	(%r13), %rax
	movq	144(%rsp), %rcx
	shlq	$3, %rcx
	leaq	81920(%rax), %rdx
	movq	%r14, %rsi
	xorl	%edi, %edi
.LBB1_177:                              # %.preheader
                                        #   Parent Loop BB1_173 Depth=1
                                        #     Parent Loop BB1_174 Depth=2
                                        # =>    This Loop Header: Depth=3
                                        #         Child Loop BB1_178 Depth 4
	xorl	%r8d, %r8d
	movq	%rsi, %r9
.LBB1_178:                              #   Parent Loop BB1_173 Depth=1
                                        #     Parent Loop BB1_174 Depth=2
                                        #       Parent Loop BB1_177 Depth=3
                                        # =>      This Inner Loop Header: Depth=4
	movss	-16384(%rdx,%r8), %xmm0         # xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -4(%r9)
	movss	(%rdx,%r8), %xmm0               # xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%r9)
	addq	%rcx, %r9
	addq	$32768, %r8                     # imm = 0x8000
	cmpq	$524288, %r8                    # imm = 0x80000
	jne	.LBB1_178
# %bb.179:                              # %_ZN12workinggroup4syncEv.exit
                                        #   in Loop: Header=BB1_177 Depth=3
	incq	%rdi
	addq	$8, %rsi
	addq	$4, %rdx
	cmpq	$4096, %rdi                     # imm = 0x1000
	jne	.LBB1_177
# %bb.180:                              #   in Loop: Header=BB1_174 Depth=2
	movq	128(%rsp), %rcx
	shrq	$4, %rcx
	decq	%rcx
	cmpq	%rcx, %r12
	je	.LBB1_184
# %bb.181:                              # %.preheader623
                                        #   in Loop: Header=BB1_174 Depth=2
	movq	16(%r13), %rcx
	movq	136(%rsp), %rdx
	xorl	%esi, %esi
.LBB1_182:                              #   Parent Loop BB1_173 Depth=1
                                        #     Parent Loop BB1_174 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movq	%rdx, (%rcx,%rsi,8)
	movss	557056(%rax,%rsi,4), %xmm0      # xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 32768(%rax,%rsi,4)
	movss	573440(%rax,%rsi,4), %xmm0      # xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, 49152(%rax,%rsi,4)
	incq	%rsi
	cmpq	$4096, %rsi                     # imm = 0x1000
	jne	.LBB1_182
# %bb.183:                              #   in Loop: Header=BB1_174 Depth=2
.Ltmp165:
	movq	%r13, %rdi
	callq	_ZN12workinggroup10lunch_planEv
.Ltmp166:
.LBB1_184:                              #   in Loop: Header=BB1_174 Depth=2
	incq	%r15
	addq	$32768, %r14                    # imm = 0x8000
	cmpq	$3, %r15
	jne	.LBB1_174
# %bb.185:                              #   in Loop: Header=BB1_173 Depth=1
.Ltmp168:
	leaq	960(%rsp), %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev
.Ltmp169:
# %bb.186:                              #   in Loop: Header=BB1_173 Depth=1
	leaq	216(%rsp), %rax
	movq	%rax, 200(%rsp)
.Ltmp171:
	movl	$.L.str.30, %esi
	movl	$.L.str.30+4, %edx
	leaq	200(%rsp), %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
.Ltmp172:
# %bb.187:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.exit378
                                        #   in Loop: Header=BB1_173 Depth=1
	shlq	$4, %r12
	movq	%r12, %rax
	xorl	%edx, %edx
	divq	104(%rsp)
	movq	%rax, %r13
	movl	$1, %esi
	cmpq	$10, %rax
	jb	.LBB1_196
# %bb.188:                              # %.lr.ph.i.i379.preheader
                                        #   in Loop: Header=BB1_173 Depth=1
	movl	$4, %esi
	movq	%r13, %rcx
	movabsq	$3777893186295716171, %rdi      # imm = 0x346DC5D63886594B
.LBB1_189:                              # %.lr.ph.i.i379
                                        #   Parent Loop BB1_173 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	cmpq	$99, %rcx
	jbe	.LBB1_194
# %bb.190:                              #   in Loop: Header=BB1_189 Depth=2
	cmpq	$999, %rcx                      # imm = 0x3E7
	jbe	.LBB1_195
# %bb.191:                              #   in Loop: Header=BB1_189 Depth=2
	cmpq	$10000, %rcx                    # imm = 0x2710
	jb	.LBB1_196
# %bb.192:                              #   in Loop: Header=BB1_189 Depth=2
	movq	%rcx, %rax
	mulq	%rdi
	shrq	$11, %rdx
	addl	$4, %esi
	cmpq	$99999, %rcx                    # imm = 0x1869F
	movq	%rdx, %rcx
	ja	.LBB1_189
# %bb.193:                              # %_ZNSt8__detail14__to_chars_lenImEEjT_i.exit.i382.loopexit
                                        #   in Loop: Header=BB1_173 Depth=1
	addl	$-3, %esi
	jmp	.LBB1_196
.LBB1_194:                              #   in Loop: Header=BB1_173 Depth=1
	addl	$-2, %esi
	jmp	.LBB1_196
.LBB1_195:                              #   in Loop: Header=BB1_173 Depth=1
	decl	%esi
.LBB1_196:                              # %_ZNSt8__detail14__to_chars_lenImEEjT_i.exit.i382
                                        #   in Loop: Header=BB1_173 Depth=1
	movl	%esi, %esi
	leaq	80(%rsp), %rax
	movq	%rax, 64(%rsp)
.Ltmp174:
	leaq	64(%rsp), %rdi
	xorl	%edx, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructEmc
.Ltmp175:
# %bb.197:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit.i386
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	64(%rsp), %rdi
	movl	72(%rsp), %esi
	movq	%r13, %rdx
	callq	_ZNSt8__detail18__to_chars_10_implImEEvPcjT_
	movq	200(%rsp), %rcx
	movl	$15, %edi
	leaq	216(%rsp), %rax
	cmpq	%rax, %rcx
	je	.LBB1_199
# %bb.198:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit.i386
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	216(%rsp), %rdi
.LBB1_199:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit.i386
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	208(%rsp), %r8
	movq	64(%rsp), %rsi
	movq	72(%rsp), %rdx
	leaq	(%rdx,%r8), %rax
	cmpq	%rdi, %rax
	leaq	32(%rsp), %r13
	jbe	.LBB1_203
# %bb.200:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit12.i392
                                        #   in Loop: Header=BB1_173 Depth=1
	movl	$15, %edi
	leaq	80(%rsp), %r9
	cmpq	%r9, %rsi
	je	.LBB1_202
# %bb.201:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit12.i392
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	80(%rsp), %rdi
.LBB1_202:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit12.i392
                                        #   in Loop: Header=BB1_173 Depth=1
	cmpq	%rdi, %rax
	jbe	.LBB1_204
.LBB1_203:                              #   in Loop: Header=BB1_173 Depth=1
.Ltmp179:
	leaq	200(%rsp), %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKcm
.Ltmp180:
	jmp	.LBB1_205
.LBB1_204:                              # %.critedge.i394
                                        #   in Loop: Header=BB1_173 Depth=1
.Ltmp177:
	leaq	64(%rsp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEmmPKcm
.Ltmp178:
.LBB1_205:                              # %.noexc397
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	%rax, %r14
	movq	%r13, 16(%rsp)
	movq	(%rax), %rsi
	leaq	16(%rax), %r15
	cmpq	%r15, %rsi
	je	.LBB1_207
# %bb.206:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i13.i388
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	%rsi, 16(%rsp)
	movq	(%r15), %rax
	movq	%rax, 32(%rsp)
	jmp	.LBB1_208
.LBB1_207:                              #   in Loop: Header=BB1_173 Depth=1
	movq	8(%r14), %rdx
	incq	%rdx
	movq	%r13, %rdi
	callq	memcpy@PLT
.LBB1_208:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_.exit14.i389
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	%r14, %rax
	addq	$8, %rax
	movq	8(%r14), %rcx
	movq	%rcx, 24(%rsp)
	movq	%r15, (%r14)
	movq	$0, (%rax)
	movb	$0, (%r15)
	leaq	184(%rsp), %rax
	movq	%rax, 168(%rsp)
.Ltmp182:
	movl	$.L.str.31, %esi
	movl	$.L.str.31+4, %edx
	leaq	168(%rsp), %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
.Ltmp183:
# %bb.209:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.exit401
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	16(%rsp), %rcx
	movl	$15, %edi
	cmpq	%r13, %rcx
	leaq	464(%rsp), %r15
	je	.LBB1_211
# %bb.210:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.exit401
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	32(%rsp), %rdi
.LBB1_211:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.exit401
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	24(%rsp), %r8
	movq	168(%rsp), %rsi
	movq	176(%rsp), %rdx
	leaq	(%rdx,%r8), %rax
	cmpq	%rdi, %rax
	jbe	.LBB1_215
# %bb.212:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit12.i408
                                        #   in Loop: Header=BB1_173 Depth=1
	movl	$15, %edi
	leaq	184(%rsp), %r9
	cmpq	%r9, %rsi
	je	.LBB1_214
# %bb.213:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit12.i408
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	184(%rsp), %rdi
.LBB1_214:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit12.i408
                                        #   in Loop: Header=BB1_173 Depth=1
	cmpq	%rdi, %rax
	jbe	.LBB1_216
.LBB1_215:                              #   in Loop: Header=BB1_173 Depth=1
.Ltmp187:
	leaq	16(%rsp), %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKcm
.Ltmp188:
	jmp	.LBB1_217
.LBB1_216:                              # %.critedge.i410
                                        #   in Loop: Header=BB1_173 Depth=1
.Ltmp185:
	leaq	168(%rsp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEmmPKcm
.Ltmp186:
.LBB1_217:                              # %.noexc413
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	%rax, %r14
	movq	%r15, 448(%rsp)
	movq	(%rax), %rsi
	movq	%r15, %rdi
	leaq	16(%rax), %r15
	cmpq	%r15, %rsi
	je	.LBB1_219
# %bb.218:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i13.i404
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	%rsi, 448(%rsp)
	movq	(%r15), %rax
	movq	%rax, 464(%rsp)
	jmp	.LBB1_220
.LBB1_219:                              #   in Loop: Header=BB1_173 Depth=1
	movq	8(%r14), %rdx
	incq	%rdx
	callq	memcpy@PLT
.LBB1_220:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_.exit14.i405
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	%r14, %rax
	addq	$8, %rax
	movq	8(%r14), %rcx
	movq	%rcx, 456(%rsp)
	movq	%r15, (%r14)
	movq	$0, (%rax)
	movb	$0, (%r15)
.Ltmp190:
	leaq	960(%rsp), %r15
	movq	%r15, %rdi
	leaq	448(%rsp), %r14
	movq	%r14, %rsi
	movl	$28, %edx
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode
.Ltmp191:
# %bb.221:                              #   in Loop: Header=BB1_173 Depth=1
	movq	448(%rsp), %rdi
	leaq	464(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_223
# %bb.222:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i416
                                        #   in Loop: Header=BB1_173 Depth=1
	callq	_ZdlPv
.LBB1_223:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit418
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	168(%rsp), %rdi
	leaq	184(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_225
# %bb.224:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i419
                                        #   in Loop: Header=BB1_173 Depth=1
	callq	_ZdlPv
.LBB1_225:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit421
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	16(%rsp), %rdi
	cmpq	%r13, %rdi
	je	.LBB1_227
# %bb.226:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i422
                                        #   in Loop: Header=BB1_173 Depth=1
	callq	_ZdlPv
.LBB1_227:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit424
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	64(%rsp), %rdi
	leaq	80(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_229
# %bb.228:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i425
                                        #   in Loop: Header=BB1_173 Depth=1
	callq	_ZdlPv
.LBB1_229:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit427
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	200(%rsp), %rdi
	leaq	216(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_231
# %bb.230:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i428
                                        #   in Loop: Header=BB1_173 Depth=1
	callq	_ZdlPv
.LBB1_231:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit430
                                        #   in Loop: Header=BB1_173 Depth=1
	leaq	1072(%rsp), %rdi
	callq	_ZNKSt12__basic_fileIcE7is_openEv
	testb	%al, %al
	je	.LBB1_233
# %bb.232:                              #   in Loop: Header=BB1_173 Depth=1
	movq	%r12, %rax
	xorl	%edx, %edx
	divq	104(%rsp)
	imulq	144(%rsp), %rdx
	leaq	(,%rdx,8), %rsi
.Ltmp215:
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_ZNSo5seekpESt4fposI11__mbstate_tE
.Ltmp216:
	jmp	.LBB1_278
.LBB1_233:                              #   in Loop: Header=BB1_173 Depth=1
	leaq	216(%rsp), %rax
	movq	%rax, 200(%rsp)
.Ltmp193:
	movl	$.L.str.30, %esi
	movl	$.L.str.30+4, %edx
	leaq	200(%rsp), %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
.Ltmp194:
# %bb.234:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.exit447
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	%r12, %rax
	xorl	%edx, %edx
	divq	104(%rsp)
	movq	%rax, %r13
	movl	$1, %esi
	cmpq	$10, %rax
	jb	.LBB1_243
# %bb.235:                              # %.lr.ph.i.i448.preheader
                                        #   in Loop: Header=BB1_173 Depth=1
	movl	$4, %esi
	movq	%r13, %rcx
	movabsq	$3777893186295716171, %rdi      # imm = 0x346DC5D63886594B
.LBB1_236:                              # %.lr.ph.i.i448
                                        #   Parent Loop BB1_173 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	cmpq	$99, %rcx
	jbe	.LBB1_241
# %bb.237:                              #   in Loop: Header=BB1_236 Depth=2
	cmpq	$999, %rcx                      # imm = 0x3E7
	jbe	.LBB1_242
# %bb.238:                              #   in Loop: Header=BB1_236 Depth=2
	cmpq	$10000, %rcx                    # imm = 0x2710
	jb	.LBB1_243
# %bb.239:                              #   in Loop: Header=BB1_236 Depth=2
	movq	%rcx, %rax
	mulq	%rdi
	shrq	$11, %rdx
	addl	$4, %esi
	cmpq	$99999, %rcx                    # imm = 0x1869F
	movq	%rdx, %rcx
	ja	.LBB1_236
# %bb.240:                              # %_ZNSt8__detail14__to_chars_lenImEEjT_i.exit.i451.loopexit
                                        #   in Loop: Header=BB1_173 Depth=1
	addl	$-3, %esi
	jmp	.LBB1_243
.LBB1_241:                              #   in Loop: Header=BB1_173 Depth=1
	addl	$-2, %esi
	jmp	.LBB1_243
.LBB1_242:                              #   in Loop: Header=BB1_173 Depth=1
	decl	%esi
.LBB1_243:                              # %_ZNSt8__detail14__to_chars_lenImEEjT_i.exit.i451
                                        #   in Loop: Header=BB1_173 Depth=1
	movl	%esi, %esi
	leaq	80(%rsp), %rax
	movq	%rax, 64(%rsp)
.Ltmp196:
	leaq	64(%rsp), %rdi
	xorl	%edx, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructEmc
.Ltmp197:
# %bb.244:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit.i455
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	64(%rsp), %rdi
	movl	72(%rsp), %esi
	movq	%r13, %rdx
	callq	_ZNSt8__detail18__to_chars_10_implImEEvPcjT_
	movq	200(%rsp), %rcx
	movl	$15, %edi
	leaq	216(%rsp), %rax
	cmpq	%rax, %rcx
	je	.LBB1_246
# %bb.245:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit.i455
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	216(%rsp), %rdi
.LBB1_246:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit.i455
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	208(%rsp), %r8
	movq	64(%rsp), %rsi
	movq	72(%rsp), %rdx
	leaq	(%rdx,%r8), %rax
	cmpq	%rdi, %rax
	leaq	32(%rsp), %r13
	jbe	.LBB1_250
# %bb.247:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit12.i461
                                        #   in Loop: Header=BB1_173 Depth=1
	movl	$15, %edi
	leaq	80(%rsp), %r9
	cmpq	%r9, %rsi
	je	.LBB1_249
# %bb.248:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit12.i461
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	80(%rsp), %rdi
.LBB1_249:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit12.i461
                                        #   in Loop: Header=BB1_173 Depth=1
	cmpq	%rdi, %rax
	jbe	.LBB1_251
.LBB1_250:                              #   in Loop: Header=BB1_173 Depth=1
.Ltmp201:
	leaq	200(%rsp), %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKcm
.Ltmp202:
	jmp	.LBB1_252
.LBB1_251:                              # %.critedge.i463
                                        #   in Loop: Header=BB1_173 Depth=1
.Ltmp199:
	leaq	64(%rsp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEmmPKcm
.Ltmp200:
.LBB1_252:                              # %.noexc466
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	%rax, %r14
	movq	%r13, 16(%rsp)
	movq	(%rax), %rsi
	leaq	16(%rax), %r15
	cmpq	%r15, %rsi
	je	.LBB1_254
# %bb.253:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i13.i457
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	%rsi, 16(%rsp)
	movq	(%r15), %rax
	movq	%rax, 32(%rsp)
	jmp	.LBB1_255
.LBB1_254:                              #   in Loop: Header=BB1_173 Depth=1
	movq	8(%r14), %rdx
	incq	%rdx
	movq	%r13, %rdi
	callq	memcpy@PLT
.LBB1_255:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_.exit14.i458
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	%r14, %rax
	addq	$8, %rax
	movq	8(%r14), %rcx
	movq	%rcx, 24(%rsp)
	movq	%r15, (%r14)
	movq	$0, (%rax)
	movb	$0, (%r15)
	leaq	184(%rsp), %rax
	movq	%rax, 168(%rsp)
.Ltmp204:
	movl	$.L.str.31, %esi
	movl	$.L.str.31+4, %edx
	leaq	168(%rsp), %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
.Ltmp205:
# %bb.256:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.exit470
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	16(%rsp), %rcx
	movl	$15, %edi
	cmpq	%r13, %rcx
	leaq	464(%rsp), %r15
	je	.LBB1_258
# %bb.257:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.exit470
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	32(%rsp), %rdi
.LBB1_258:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.exit470
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	24(%rsp), %r8
	movq	168(%rsp), %rsi
	movq	176(%rsp), %rdx
	leaq	(%rdx,%r8), %rax
	cmpq	%rdi, %rax
	jbe	.LBB1_262
# %bb.259:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit12.i477
                                        #   in Loop: Header=BB1_173 Depth=1
	movl	$15, %edi
	leaq	184(%rsp), %r9
	cmpq	%r9, %rsi
	je	.LBB1_261
# %bb.260:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit12.i477
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	184(%rsp), %rdi
.LBB1_261:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8capacityEv.exit12.i477
                                        #   in Loop: Header=BB1_173 Depth=1
	cmpq	%rdi, %rax
	jbe	.LBB1_263
.LBB1_262:                              #   in Loop: Header=BB1_173 Depth=1
.Ltmp209:
	leaq	16(%rsp), %rdi
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKcm
.Ltmp210:
	jmp	.LBB1_264
.LBB1_263:                              # %.critedge.i479
                                        #   in Loop: Header=BB1_173 Depth=1
.Ltmp207:
	leaq	168(%rsp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7replaceEmmPKcm
.Ltmp208:
.LBB1_264:                              # %.noexc482
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	%rax, %r14
	movq	%r15, 448(%rsp)
	movq	(%rax), %rsi
	movq	%r15, %rdi
	leaq	16(%rax), %r15
	cmpq	%r15, %rsi
	je	.LBB1_266
# %bb.265:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i13.i473
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	%rsi, 448(%rsp)
	movq	(%r15), %rax
	movq	%rax, 464(%rsp)
	jmp	.LBB1_267
.LBB1_266:                              #   in Loop: Header=BB1_173 Depth=1
	movq	8(%r14), %rdx
	incq	%rdx
	callq	memcpy@PLT
.LBB1_267:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_.exit14.i474
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	%r14, %rax
	addq	$8, %rax
	movq	8(%r14), %rcx
	movq	%rcx, 456(%rsp)
	movq	%r15, (%r14)
	movq	$0, (%rax)
	movb	$0, (%r15)
.Ltmp212:
	leaq	960(%rsp), %r15
	movq	%r15, %rdi
	leaq	448(%rsp), %r14
	movq	%r14, %rsi
	movl	$20, %edx
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode
.Ltmp213:
# %bb.268:                              #   in Loop: Header=BB1_173 Depth=1
	movq	448(%rsp), %rdi
	leaq	464(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_270
# %bb.269:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i485
                                        #   in Loop: Header=BB1_173 Depth=1
	callq	_ZdlPv
.LBB1_270:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit487
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	168(%rsp), %rdi
	leaq	184(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_272
# %bb.271:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i488
                                        #   in Loop: Header=BB1_173 Depth=1
	callq	_ZdlPv
.LBB1_272:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit490
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	16(%rsp), %rdi
	cmpq	%r13, %rdi
	je	.LBB1_274
# %bb.273:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i491
                                        #   in Loop: Header=BB1_173 Depth=1
	callq	_ZdlPv
.LBB1_274:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit493
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	64(%rsp), %rdi
	leaq	80(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_276
# %bb.275:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i494
                                        #   in Loop: Header=BB1_173 Depth=1
	callq	_ZdlPv
.LBB1_276:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit496
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	200(%rsp), %rdi
	leaq	216(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_278
# %bb.277:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i497
                                        #   in Loop: Header=BB1_173 Depth=1
	callq	_ZdlPv
.LBB1_278:                              #   in Loop: Header=BB1_173 Depth=1
	movq	144(%rsp), %rdx
	shlq	$7, %rdx
.Ltmp217:
	movq	%r15, %rdi
	movq	48(%rsp), %rsi                  # 8-byte Reload
	callq	_ZNSo5writeEPKcl
.Ltmp218:
# %bb.279:                              #   in Loop: Header=BB1_173 Depth=1
.Ltmp219:
	movq	%r15, %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv
.Ltmp220:
# %bb.280:                              #   in Loop: Header=BB1_173 Depth=1
.Ltmp222:
	movl	$.L.str.17, %esi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode
.Ltmp223:
# %bb.281:                              #   in Loop: Header=BB1_173 Depth=1
.Ltmp225:
	movl	$72, %edx
	movq	%r14, %rdi
	leaq	96(%rsp), %rsi
	callq	_ZNSo5writeEPKcl
.Ltmp226:
# %bb.282:                              #   in Loop: Header=BB1_173 Depth=1
.Ltmp227:
	movq	%r14, %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv
.Ltmp228:
# %bb.283:                              #   in Loop: Header=BB1_173 Depth=1
	callq	_ZNSt6chrono3_V212system_clock3nowEv
	movq	%rax, %r13
	movq	_ZSt4cout(%rip), %rax
	movq	-24(%rax), %rax
	orl	$4, _ZSt4cout+24(%rax)
.Ltmp230:
	movl	$_ZSt4cout, %edi
	movl	$.L.str.32, %esi
	movl	$24, %edx
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp231:
# %bb.284:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit516
                                        #   in Loop: Header=BB1_173 Depth=1
	leaq	-1(%rbp), %rsi
.Ltmp232:
	movl	$_ZSt4cout, %edi
	callq	_ZNSo9_M_insertImEERSoT_
.Ltmp233:
# %bb.285:                              # %_ZNSolsEm.exit518
                                        #   in Loop: Header=BB1_173 Depth=1
.Ltmp234:
	movq	%rax, %r14
	movl	$.L.str.33, %esi
	movl	$16, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp235:
# %bb.286:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit520
                                        #   in Loop: Header=BB1_173 Depth=1
.Ltmp236:
	movq	%r14, %rdi
	movq	%rbp, %rsi
	callq	_ZNSo9_M_insertImEERSoT_
.Ltmp237:
# %bb.287:                              # %_ZNSolsEm.exit522
                                        #   in Loop: Header=BB1_173 Depth=1
.Ltmp238:
	movq	%rax, %r14
	movl	$.L.str.34, %esi
	movl	$4, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp239:
# %bb.288:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit524
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	128(%rsp), %rsi
.Ltmp240:
	movq	%r14, %rdi
	callq	_ZNSo9_M_insertImEERSoT_
.Ltmp241:
# %bb.289:                              # %_ZNSolsEm.exit526
                                        #   in Loop: Header=BB1_173 Depth=1
.Ltmp242:
	movq	%rax, %r14
	movl	$.L.str.35, %esi
	movl	$8, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp243:
# %bb.290:                              #   in Loop: Header=BB1_173 Depth=1
	movq	(%r14), %rax
	movq	-24(%rax), %rax
	movq	$3, 8(%r14,%rax)
	testq	%r12, %r12
	js	.LBB1_292
# %bb.291:                              #   in Loop: Header=BB1_173 Depth=1
	cvtsi2ss	%r12, %xmm0
	jmp	.LBB1_293
.LBB1_292:                              #   in Loop: Header=BB1_173 Depth=1
	movq	%r12, %rax
	shrq	%rax
	andl	$1, %r12d
	orq	%rax, %r12
	cvtsi2ss	%r12, %xmm0
	addss	%xmm0, %xmm0
.LBB1_293:                              #   in Loop: Header=BB1_173 Depth=1
	mulss	.LCPI1_1(%rip), %xmm0
	cvtss2sd	%xmm0, %xmm0
.Ltmp244:
	movq	%r14, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp245:
# %bb.294:                              # %_ZNSolsEf.exit
                                        #   in Loop: Header=BB1_173 Depth=1
.Ltmp246:
	movq	%rax, %r14
	movl	$.L.str.36, %esi
	movl	$5, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp247:
# %bb.295:                              #   in Loop: Header=BB1_173 Depth=1
	movq	(%r14), %rax
	movq	-24(%rax), %rax
	movq	$3, 8(%r14,%rax)
	testq	%rbp, %rbp
	js	.LBB1_297
# %bb.296:                              #   in Loop: Header=BB1_173 Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rbp, %xmm0
	jmp	.LBB1_298
.LBB1_297:                              #   in Loop: Header=BB1_173 Depth=1
	movq	%rbp, %rax
	shrq	%rax
	movl	%ebp, %ecx
	andl	$1, %ecx
	orq	%rax, %rcx
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rcx, %xmm0
	addss	%xmm0, %xmm0
.LBB1_298:                              #   in Loop: Header=BB1_173 Depth=1
	movss	%xmm0, 8(%rsp)                  # 4-byte Spill
	mulss	.LCPI1_1(%rip), %xmm0
	cvtss2sd	%xmm0, %xmm0
.Ltmp248:
	movq	%r14, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp249:
# %bb.299:                              # %_ZNSolsEf.exit533
                                        #   in Loop: Header=BB1_173 Depth=1
.Ltmp250:
	movq	%rax, %r14
	movl	$.L.str.37, %esi
	movl	$9, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp251:
# %bb.300:                              #   in Loop: Header=BB1_173 Depth=1
	movq	(%r14), %rax
	movq	-24(%rax), %rax
	movq	$2, 8(%r14,%rax)
	movq	%r13, %rax
	subq	56(%rsp), %rax                  # 8-byte Folded Reload
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	divsd	.LCPI1_2(%rip), %xmm0
.Ltmp253:
	movq	%r14, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp254:
# %bb.301:                              # %_ZNSolsEd.exit
                                        #   in Loop: Header=BB1_173 Depth=1
.Ltmp255:
	movq	%rax, %r15
	movl	$.L.str.38, %esi
	movl	$4, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp256:
# %bb.302:                              #   in Loop: Header=BB1_173 Depth=1
	movq	(%r15), %rax
	movq	-24(%rax), %rax
	movq	$4, 8(%r15,%rax)
	movss	8(%rsp), %xmm0                  # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	mulss	.LCPI1_3(%rip), %xmm0
	movss	%xmm0, 8(%rsp)                  # 4-byte Spill
	movq	128(%rsp), %rax
	testq	%rax, %rax
	js	.LBB1_304
# %bb.303:                              #   in Loop: Header=BB1_173 Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	jmp	.LBB1_305
.LBB1_304:                              #   in Loop: Header=BB1_173 Depth=1
	movq	%rax, %rcx
	shrq	%rcx
	andl	$1, %eax
	orq	%rcx, %rax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	addss	%xmm0, %xmm0
.LBB1_305:                              #   in Loop: Header=BB1_173 Depth=1
	movss	8(%rsp), %xmm1                  # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	divss	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	cvtss2sd	%xmm1, %xmm0
.Ltmp257:
	movq	%r15, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp258:
# %bb.306:                              # %_ZNSolsEf.exit540
                                        #   in Loop: Header=BB1_173 Depth=1
.Ltmp259:
	movq	%rax, %r14
	movl	$.L.str.39, %esi
	movl	$9, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp260:
# %bb.307:                              #   in Loop: Header=BB1_173 Depth=1
	movq	(%r14), %rax
	movq	-24(%rax), %rax
	movq	$3, 8(%r14,%rax)
	subq	408(%rsp), %r13                 # 8-byte Folded Reload
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r13, %xmm0
	movsd	%xmm0, 8(%rsp)                  # 8-byte Spill
	divsd	.LCPI1_4(%rip), %xmm0
.Ltmp262:
	movq	%r14, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp263:
# %bb.308:                              # %_ZNSolsEd.exit547
                                        #   in Loop: Header=BB1_173 Depth=1
.Ltmp264:
	movq	%rax, %r15
	movl	$.L.str.40, %esi
	movl	$12, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp265:
# %bb.309:                              #   in Loop: Header=BB1_173 Depth=1
	movq	(%r15), %rax
	movq	-24(%rax), %rax
	movq	$3, 8(%r15,%rax)
	movq	128(%rsp), %rax
	subq	%rbp, %rax
	movq	%rax, %xmm0
	movdqa	.LCPI1_5(%rip), %xmm2           # xmm2 = [1127219200,1160773632,0,0]
	punpckldq	%xmm2, %xmm0            # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
	movapd	.LCPI1_6(%rip), %xmm3           # xmm3 = [4.503599627370496E+15,1.9342813113834067E+25]
	subpd	%xmm3, %xmm0
	movapd	%xmm0, %xmm1
	unpckhpd	%xmm0, %xmm1                    # xmm1 = xmm1[1],xmm0[1]
	addsd	%xmm0, %xmm1
	movq	%rbx, %rax
	subq	280(%rsp), %rax                 # 8-byte Folded Reload
	shlq	$4, %rax
	movq	%rax, %xmm0
	punpckldq	%xmm2, %xmm0            # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
	subpd	%xmm3, %xmm0
	movapd	%xmm0, %xmm2
	unpckhpd	%xmm0, %xmm2                    # xmm2 = xmm2[1],xmm0[1]
	addsd	%xmm0, %xmm2
	movsd	8(%rsp), %xmm0                  # 8-byte Reload
                                        # xmm0 = mem[0],zero
	divsd	%xmm2, %xmm0
	divsd	.LCPI1_4(%rip), %xmm0
	mulsd	%xmm1, %xmm0
.Ltmp267:
	movq	%r15, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp268:
# %bb.310:                              # %_ZNSolsEd.exit554
                                        #   in Loop: Header=BB1_173 Depth=1
.Ltmp269:
	movq	%rax, %r14
	movl	$.L.str.41, %esi
	movl	$7, %edx
	movq	%rax, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp270:
# %bb.311:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit556
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	(%r14), %rax
	movq	-24(%rax), %rdi
	addq	%r14, %rdi
.Ltmp271:
	movl	$10, %esi
	callq	_ZNKSt9basic_iosIcSt11char_traitsIcEE5widenEc
.Ltmp272:
# %bb.312:                              # %.noexc590
                                        #   in Loop: Header=BB1_173 Depth=1
.Ltmp273:
	movsbl	%al, %esi
	movq	%r14, %rdi
	callq	_ZNSo3putEc
.Ltmp274:
# %bb.313:                              # %.noexc591
                                        #   in Loop: Header=BB1_173 Depth=1
.Ltmp275:
	movq	%rax, %rdi
	callq	_ZNSo5flushEv
.Ltmp276:
# %bb.314:                              # %_ZNSolsEPFRSoS_E.exit558
                                        #   in Loop: Header=BB1_173 Depth=1
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE(%rip), %r14
	movq	%r14, 448(%rsp)
	movq	-24(%r14), %rax
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE+24(%rip), %r15
	movq	%r15, 448(%rsp,%rax)
	leaq	456(%rsp), %rdi
	callq	_ZNSt13basic_filebufIcSt11char_traitsIcEED2Ev
	movq	384(%rsp), %rdi                 # 8-byte Reload
	callq	_ZNSt8ios_baseD2Ev
	movq	%r14, 960(%rsp)
	movq	-24(%r14), %rax
	movq	%r15, 960(%rsp,%rax)
	leaq	968(%rsp), %rdi
	callq	_ZNSt13basic_filebufIcSt11char_traitsIcEED2Ev
	movq	392(%rsp), %rdi                 # 8-byte Reload
	callq	_ZNSt8ios_baseD2Ev
	movq	128(%rsp), %rax
	shrq	$4, %rax
	movq	%rbx, %r12
	cmpq	%rax, %rbx
	jb	.LBB1_173
.LBB1_315:                              # %._crit_edge
	movq	48(%rsp), %rdi                  # 8-byte Reload
	callq	_ZdaPv
	leaq	336(%rsp), %rdi
	callq	_ZN12workinggroupD2Ev
	leaq	288(%rsp), %rdi
	callq	_ZN12workinggroupD2Ev
	leaq	232(%rsp), %rdi
	callq	_ZN12workinggroupD2Ev
.LBB1_316:                              # %.loopexit
	xorl	%eax, %eax
	addq	$1480, %rsp                     # imm = 0x5C8
	.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
.LBB1_317:
	.cfi_def_cfa_offset 1536
.Ltmp61:
	movl	$.L.str.42, %edi
	callq	_ZSt24__throw_invalid_argumentPKc
.Ltmp62:
# %bb.318:
.LBB1_319:                              # %.critedge.i.i
.Ltmp59:
	movl	$.L.str.42, %edi
	callq	_ZSt20__throw_out_of_rangePKc
.Ltmp60:
# %bb.320:
.LBB1_321:
.Ltmp53:
	movl	$.L.str.43, %edi
	callq	_ZSt24__throw_invalid_argumentPKc
.Ltmp54:
# %bb.322:
.LBB1_323:
.Ltmp45:
	movl	$.L.str.43, %edi
	callq	_ZSt24__throw_invalid_argumentPKc
.Ltmp46:
# %bb.324:
.LBB1_325:                              # %.critedge.i.i263
.Ltmp51:
	movl	$.L.str.43, %edi
	callq	_ZSt20__throw_out_of_rangePKc
.Ltmp52:
# %bb.326:
.LBB1_327:
.Ltmp37:
	movl	$.L.str.44, %edi
	callq	_ZSt24__throw_invalid_argumentPKc
.Ltmp38:
# %bb.328:
.LBB1_329:                              # %.critedge.i.i274
.Ltmp43:
	movl	$.L.str.43, %edi
	callq	_ZSt20__throw_out_of_rangePKc
.Ltmp44:
# %bb.330:
.LBB1_331:
.Ltmp29:
	movl	$.L.str.43, %edi
	callq	_ZSt24__throw_invalid_argumentPKc
.Ltmp30:
# %bb.332:
.LBB1_333:                              # %.critedge.i.i287
.Ltmp35:
	movl	$.L.str.44, %edi
	callq	_ZSt20__throw_out_of_rangePKc
.Ltmp36:
# %bb.334:
.LBB1_335:                              # %.critedge.i.i298
.Ltmp27:
	movl	$.L.str.43, %edi
	callq	_ZSt20__throw_out_of_rangePKc
.Ltmp28:
# %bb.336:
.LBB1_337:
.Ltmp26:
	jmp	.LBB1_410
.LBB1_338:
.Ltmp31:
	jmp	.LBB1_361
.LBB1_339:
.Ltmp34:
	jmp	.LBB1_410
.LBB1_340:
.Ltmp39:
	jmp	.LBB1_361
.LBB1_341:
.Ltmp42:
	jmp	.LBB1_410
.LBB1_342:
.Ltmp47:
	jmp	.LBB1_361
.LBB1_343:
.Ltmp50:
	jmp	.LBB1_410
.LBB1_344:
.Ltmp55:
	jmp	.LBB1_361
.LBB1_345:
.Ltmp58:
	jmp	.LBB1_410
.LBB1_346:
.Ltmp146:
	movq	%rax, %r14
	leaq	464(%rsp), %rax
	movq	-16(%rax), %rdi
	cmpq	%rax, %rdi
	je	.LBB1_349
# %bb.347:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i360
	callq	_ZdlPv
	jmp	.LBB1_349
.LBB1_348:
.Ltmp143:
	movq	%rax, %r14
.LBB1_349:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit362
	movq	16(%rsp), %rdi
	cmpq	%rbx, %rdi
	je	.LBB1_352
# %bb.350:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i363
	callq	_ZdlPv
	jmp	.LBB1_352
.LBB1_351:
.Ltmp138:
	movq	%rax, %r14
.LBB1_352:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit365
	leaq	248(%rsp), %rax
	movq	-16(%rax), %rdi
	cmpq	%rax, %rdi
	je	.LBB1_355
# %bb.353:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i366
	callq	_ZdlPv
	jmp	.LBB1_355
.LBB1_354:
.Ltmp135:
	movq	%rax, %r14
.LBB1_355:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit368
	movq	336(%rsp), %rdi
	leaq	352(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_358
# %bb.356:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i369
	callq	_ZdlPv
	jmp	.LBB1_358
.LBB1_357:
.Ltmp130:
	movq	%rax, %r14
.LBB1_358:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit371
	movq	288(%rsp), %rdi
	cmpq	%rbp, %rdi
	jne	.LBB1_412
	jmp	.LBB1_421
.LBB1_359:
.Ltmp127:
	jmp	.LBB1_379
.LBB1_360:
.Ltmp63:
.LBB1_361:
	movq	%rax, %r14
	cmpl	$0, (%r13)
	jne	.LBB1_367
# %bb.362:
	movl	%ebp, (%r13)
	jmp	.LBB1_367
.LBB1_363:
.Ltmp157:
	movq	%rax, %r14
	jmp	.LBB1_419
.LBB1_364:
.Ltmp154:
	movq	%rax, %r14
	jmp	.LBB1_420
.LBB1_365:
.Ltmp151:
	jmp	.LBB1_371
.LBB1_366:
.Ltmp23:
	movq	%rax, %r14
.LBB1_367:                              # %_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev.exit.i.i
	movq	448(%rsp), %rdi
	leaq	464(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_411
# %bb.368:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i258
	callq	_ZdlPv
	jmp	.LBB1_411
.LBB1_369:
.Ltmp20:
	jmp	.LBB1_410
.LBB1_370:
.Ltmp14:
.LBB1_371:
	movq	%rax, %r14
	leaq	960(%rsp), %rdi
	callq	_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev
	jmp	.LBB1_421
.LBB1_372:
.Ltmp211:
	jmp	.LBB1_385
.LBB1_373:
.Ltmp203:
	jmp	.LBB1_393
.LBB1_374:
.Ltmp195:
	jmp	.LBB1_401
.LBB1_375:
.Ltmp214:
	jmp	.LBB1_382
.LBB1_376:
.Ltmp206:
	jmp	.LBB1_389
.LBB1_377:
.Ltmp198:
	jmp	.LBB1_397
.LBB1_378:
.Ltmp17:
.LBB1_379:
	movq	%rax, %r14
	jmp	.LBB1_421
.LBB1_380:
.Ltmp224:
	jmp	.LBB1_401
.LBB1_381:
.Ltmp192:
.LBB1_382:
	movq	%rax, %r14
	movq	448(%rsp), %rdi
	leaq	464(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_386
# %bb.383:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i431
	callq	_ZdlPv
	jmp	.LBB1_386
.LBB1_384:
.Ltmp189:
.LBB1_385:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit433
	movq	%rax, %r14
.LBB1_386:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit433
	movq	168(%rsp), %rdi
	leaq	184(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_390
# %bb.387:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i434
	callq	_ZdlPv
	jmp	.LBB1_390
.LBB1_388:
.Ltmp184:
.LBB1_389:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit436
	movq	%rax, %r14
.LBB1_390:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit436
	movq	16(%rsp), %rdi
	leaq	32(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_394
# %bb.391:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i437
	callq	_ZdlPv
	jmp	.LBB1_394
.LBB1_392:
.Ltmp181:
.LBB1_393:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit439
	movq	%rax, %r14
.LBB1_394:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit439
	movq	64(%rsp), %rdi
	leaq	80(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_398
# %bb.395:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i440
	callq	_ZdlPv
	jmp	.LBB1_398
.LBB1_396:
.Ltmp176:
.LBB1_397:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit442
	movq	%rax, %r14
.LBB1_398:                              # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit442
	movq	200(%rsp), %rdi
	leaq	216(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_415
# %bb.399:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i443
	callq	_ZdlPv
	jmp	.LBB1_415
.LBB1_400:
.Ltmp173:
	jmp	.LBB1_401
.LBB1_402:
.Ltmp170:
	jmp	.LBB1_417
.LBB1_403:
.Ltmp266:
	jmp	.LBB1_414
.LBB1_404:
.Ltmp229:
	jmp	.LBB1_414
.LBB1_405:
.Ltmp160:
	jmp	.LBB1_417
.LBB1_406:
.Ltmp221:
.LBB1_401:
	movq	%rax, %r14
	jmp	.LBB1_415
.LBB1_407:
.Ltmp261:
	jmp	.LBB1_414
.LBB1_408:
.Ltmp277:
	jmp	.LBB1_414
.LBB1_409:
.Ltmp124:
.LBB1_410:
	movq	%rax, %r14
.LBB1_411:
	movq	960(%rsp), %rdi
	leaq	976(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB1_421
.LBB1_412:                              # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i320
	callq	_ZdlPv
	jmp	.LBB1_421
.LBB1_413:
.Ltmp252:
.LBB1_414:
	movq	%rax, %r14
	leaq	448(%rsp), %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev
.LBB1_415:
	leaq	960(%rsp), %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev
	jmp	.LBB1_418
.LBB1_416:
.Ltmp167:
.LBB1_417:
	movq	%rax, %r14
.LBB1_418:
	leaq	336(%rsp), %rdi
	callq	_ZN12workinggroupD2Ev
.LBB1_419:
	leaq	288(%rsp), %rdi
	callq	_ZN12workinggroupD2Ev
.LBB1_420:
	leaq	232(%rsp), %rdi
	callq	_ZN12workinggroupD2Ev
.LBB1_421:
	movq	%r14, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end1:
	.size	main, .Lfunc_end1-main
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table1:
.Lexception0:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end0-.Lcst_begin0
.Lcst_begin0:
	.uleb128 .Ltmp15-.Lfunc_begin0          # >> Call Site 1 <<
	.uleb128 .Ltmp16-.Ltmp15                #   Call between .Ltmp15 and .Ltmp16
	.uleb128 .Ltmp17-.Lfunc_begin0          #     jumps to .Ltmp17
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp24-.Lfunc_begin0          # >> Call Site 2 <<
	.uleb128 .Ltmp25-.Ltmp24                #   Call between .Ltmp24 and .Ltmp25
	.uleb128 .Ltmp26-.Lfunc_begin0          #     jumps to .Ltmp26
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp18-.Lfunc_begin0          # >> Call Site 3 <<
	.uleb128 .Ltmp19-.Ltmp18                #   Call between .Ltmp18 and .Ltmp19
	.uleb128 .Ltmp20-.Lfunc_begin0          #     jumps to .Ltmp20
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp21-.Lfunc_begin0          # >> Call Site 4 <<
	.uleb128 .Ltmp22-.Ltmp21                #   Call between .Ltmp21 and .Ltmp22
	.uleb128 .Ltmp23-.Lfunc_begin0          #     jumps to .Ltmp23
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp64-.Lfunc_begin0          # >> Call Site 5 <<
	.uleb128 .Ltmp123-.Ltmp64               #   Call between .Ltmp64 and .Ltmp123
	.uleb128 .Ltmp124-.Lfunc_begin0         #     jumps to .Ltmp124
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp56-.Lfunc_begin0          # >> Call Site 6 <<
	.uleb128 .Ltmp57-.Ltmp56                #   Call between .Ltmp56 and .Ltmp57
	.uleb128 .Ltmp58-.Lfunc_begin0          #     jumps to .Ltmp58
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp48-.Lfunc_begin0          # >> Call Site 7 <<
	.uleb128 .Ltmp49-.Ltmp48                #   Call between .Ltmp48 and .Ltmp49
	.uleb128 .Ltmp50-.Lfunc_begin0          #     jumps to .Ltmp50
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp40-.Lfunc_begin0          # >> Call Site 8 <<
	.uleb128 .Ltmp41-.Ltmp40                #   Call between .Ltmp40 and .Ltmp41
	.uleb128 .Ltmp42-.Lfunc_begin0          #     jumps to .Ltmp42
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp32-.Lfunc_begin0          # >> Call Site 9 <<
	.uleb128 .Ltmp33-.Ltmp32                #   Call between .Ltmp32 and .Ltmp33
	.uleb128 .Ltmp34-.Lfunc_begin0          #     jumps to .Ltmp34
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp33-.Lfunc_begin0          # >> Call Site 10 <<
	.uleb128 .Ltmp0-.Ltmp33                 #   Call between .Ltmp33 and .Ltmp0
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp0-.Lfunc_begin0           # >> Call Site 11 <<
	.uleb128 .Ltmp13-.Ltmp0                 #   Call between .Ltmp0 and .Ltmp13
	.uleb128 .Ltmp14-.Lfunc_begin0          #     jumps to .Ltmp14
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp13-.Lfunc_begin0          # >> Call Site 12 <<
	.uleb128 .Ltmp125-.Ltmp13               #   Call between .Ltmp13 and .Ltmp125
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp125-.Lfunc_begin0         # >> Call Site 13 <<
	.uleb128 .Ltmp126-.Ltmp125              #   Call between .Ltmp125 and .Ltmp126
	.uleb128 .Ltmp127-.Lfunc_begin0         #     jumps to .Ltmp127
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp128-.Lfunc_begin0         # >> Call Site 14 <<
	.uleb128 .Ltmp129-.Ltmp128              #   Call between .Ltmp128 and .Ltmp129
	.uleb128 .Ltmp130-.Lfunc_begin0         #     jumps to .Ltmp130
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp133-.Lfunc_begin0         # >> Call Site 15 <<
	.uleb128 .Ltmp132-.Ltmp133              #   Call between .Ltmp133 and .Ltmp132
	.uleb128 .Ltmp135-.Lfunc_begin0         #     jumps to .Ltmp135
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp132-.Lfunc_begin0         # >> Call Site 16 <<
	.uleb128 .Ltmp136-.Ltmp132              #   Call between .Ltmp132 and .Ltmp136
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp136-.Lfunc_begin0         # >> Call Site 17 <<
	.uleb128 .Ltmp137-.Ltmp136              #   Call between .Ltmp136 and .Ltmp137
	.uleb128 .Ltmp138-.Lfunc_begin0         #     jumps to .Ltmp138
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp141-.Lfunc_begin0         # >> Call Site 18 <<
	.uleb128 .Ltmp140-.Ltmp141              #   Call between .Ltmp141 and .Ltmp140
	.uleb128 .Ltmp143-.Lfunc_begin0         #     jumps to .Ltmp143
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp140-.Lfunc_begin0         # >> Call Site 19 <<
	.uleb128 .Ltmp144-.Ltmp140              #   Call between .Ltmp140 and .Ltmp144
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp144-.Lfunc_begin0         # >> Call Site 20 <<
	.uleb128 .Ltmp145-.Ltmp144              #   Call between .Ltmp144 and .Ltmp145
	.uleb128 .Ltmp146-.Lfunc_begin0         #     jumps to .Ltmp146
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp147-.Lfunc_begin0         # >> Call Site 21 <<
	.uleb128 .Ltmp150-.Ltmp147              #   Call between .Ltmp147 and .Ltmp150
	.uleb128 .Ltmp151-.Lfunc_begin0         #     jumps to .Ltmp151
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp150-.Lfunc_begin0         # >> Call Site 22 <<
	.uleb128 .Ltmp152-.Ltmp150              #   Call between .Ltmp150 and .Ltmp152
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp152-.Lfunc_begin0         # >> Call Site 23 <<
	.uleb128 .Ltmp153-.Ltmp152              #   Call between .Ltmp152 and .Ltmp153
	.uleb128 .Ltmp154-.Lfunc_begin0         #     jumps to .Ltmp154
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp155-.Lfunc_begin0         # >> Call Site 24 <<
	.uleb128 .Ltmp156-.Ltmp155              #   Call between .Ltmp155 and .Ltmp156
	.uleb128 .Ltmp157-.Lfunc_begin0         #     jumps to .Ltmp157
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp158-.Lfunc_begin0         # >> Call Site 25 <<
	.uleb128 .Ltmp159-.Ltmp158              #   Call between .Ltmp158 and .Ltmp159
	.uleb128 .Ltmp160-.Lfunc_begin0         #     jumps to .Ltmp160
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp161-.Lfunc_begin0         # >> Call Site 26 <<
	.uleb128 .Ltmp166-.Ltmp161              #   Call between .Ltmp161 and .Ltmp166
	.uleb128 .Ltmp167-.Lfunc_begin0         #     jumps to .Ltmp167
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp168-.Lfunc_begin0         # >> Call Site 27 <<
	.uleb128 .Ltmp169-.Ltmp168              #   Call between .Ltmp168 and .Ltmp169
	.uleb128 .Ltmp170-.Lfunc_begin0         #     jumps to .Ltmp170
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp171-.Lfunc_begin0         # >> Call Site 28 <<
	.uleb128 .Ltmp172-.Ltmp171              #   Call between .Ltmp171 and .Ltmp172
	.uleb128 .Ltmp173-.Lfunc_begin0         #     jumps to .Ltmp173
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp174-.Lfunc_begin0         # >> Call Site 29 <<
	.uleb128 .Ltmp175-.Ltmp174              #   Call between .Ltmp174 and .Ltmp175
	.uleb128 .Ltmp176-.Lfunc_begin0         #     jumps to .Ltmp176
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp179-.Lfunc_begin0         # >> Call Site 30 <<
	.uleb128 .Ltmp178-.Ltmp179              #   Call between .Ltmp179 and .Ltmp178
	.uleb128 .Ltmp181-.Lfunc_begin0         #     jumps to .Ltmp181
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp178-.Lfunc_begin0         # >> Call Site 31 <<
	.uleb128 .Ltmp182-.Ltmp178              #   Call between .Ltmp178 and .Ltmp182
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp182-.Lfunc_begin0         # >> Call Site 32 <<
	.uleb128 .Ltmp183-.Ltmp182              #   Call between .Ltmp182 and .Ltmp183
	.uleb128 .Ltmp184-.Lfunc_begin0         #     jumps to .Ltmp184
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp187-.Lfunc_begin0         # >> Call Site 33 <<
	.uleb128 .Ltmp186-.Ltmp187              #   Call between .Ltmp187 and .Ltmp186
	.uleb128 .Ltmp189-.Lfunc_begin0         #     jumps to .Ltmp189
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp186-.Lfunc_begin0         # >> Call Site 34 <<
	.uleb128 .Ltmp190-.Ltmp186              #   Call between .Ltmp186 and .Ltmp190
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp190-.Lfunc_begin0         # >> Call Site 35 <<
	.uleb128 .Ltmp191-.Ltmp190              #   Call between .Ltmp190 and .Ltmp191
	.uleb128 .Ltmp192-.Lfunc_begin0         #     jumps to .Ltmp192
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp215-.Lfunc_begin0         # >> Call Site 36 <<
	.uleb128 .Ltmp216-.Ltmp215              #   Call between .Ltmp215 and .Ltmp216
	.uleb128 .Ltmp221-.Lfunc_begin0         #     jumps to .Ltmp221
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp193-.Lfunc_begin0         # >> Call Site 37 <<
	.uleb128 .Ltmp194-.Ltmp193              #   Call between .Ltmp193 and .Ltmp194
	.uleb128 .Ltmp195-.Lfunc_begin0         #     jumps to .Ltmp195
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp196-.Lfunc_begin0         # >> Call Site 38 <<
	.uleb128 .Ltmp197-.Ltmp196              #   Call between .Ltmp196 and .Ltmp197
	.uleb128 .Ltmp198-.Lfunc_begin0         #     jumps to .Ltmp198
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp201-.Lfunc_begin0         # >> Call Site 39 <<
	.uleb128 .Ltmp200-.Ltmp201              #   Call between .Ltmp201 and .Ltmp200
	.uleb128 .Ltmp203-.Lfunc_begin0         #     jumps to .Ltmp203
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp200-.Lfunc_begin0         # >> Call Site 40 <<
	.uleb128 .Ltmp204-.Ltmp200              #   Call between .Ltmp200 and .Ltmp204
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp204-.Lfunc_begin0         # >> Call Site 41 <<
	.uleb128 .Ltmp205-.Ltmp204              #   Call between .Ltmp204 and .Ltmp205
	.uleb128 .Ltmp206-.Lfunc_begin0         #     jumps to .Ltmp206
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp209-.Lfunc_begin0         # >> Call Site 42 <<
	.uleb128 .Ltmp208-.Ltmp209              #   Call between .Ltmp209 and .Ltmp208
	.uleb128 .Ltmp211-.Lfunc_begin0         #     jumps to .Ltmp211
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp208-.Lfunc_begin0         # >> Call Site 43 <<
	.uleb128 .Ltmp212-.Ltmp208              #   Call between .Ltmp208 and .Ltmp212
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp212-.Lfunc_begin0         # >> Call Site 44 <<
	.uleb128 .Ltmp213-.Ltmp212              #   Call between .Ltmp212 and .Ltmp213
	.uleb128 .Ltmp214-.Lfunc_begin0         #     jumps to .Ltmp214
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp217-.Lfunc_begin0         # >> Call Site 45 <<
	.uleb128 .Ltmp220-.Ltmp217              #   Call between .Ltmp217 and .Ltmp220
	.uleb128 .Ltmp221-.Lfunc_begin0         #     jumps to .Ltmp221
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp222-.Lfunc_begin0         # >> Call Site 46 <<
	.uleb128 .Ltmp223-.Ltmp222              #   Call between .Ltmp222 and .Ltmp223
	.uleb128 .Ltmp224-.Lfunc_begin0         #     jumps to .Ltmp224
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp225-.Lfunc_begin0         # >> Call Site 47 <<
	.uleb128 .Ltmp228-.Ltmp225              #   Call between .Ltmp225 and .Ltmp228
	.uleb128 .Ltmp229-.Lfunc_begin0         #     jumps to .Ltmp229
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp230-.Lfunc_begin0         # >> Call Site 48 <<
	.uleb128 .Ltmp251-.Ltmp230              #   Call between .Ltmp230 and .Ltmp251
	.uleb128 .Ltmp252-.Lfunc_begin0         #     jumps to .Ltmp252
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp253-.Lfunc_begin0         # >> Call Site 49 <<
	.uleb128 .Ltmp260-.Ltmp253              #   Call between .Ltmp253 and .Ltmp260
	.uleb128 .Ltmp261-.Lfunc_begin0         #     jumps to .Ltmp261
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp262-.Lfunc_begin0         # >> Call Site 50 <<
	.uleb128 .Ltmp265-.Ltmp262              #   Call between .Ltmp262 and .Ltmp265
	.uleb128 .Ltmp266-.Lfunc_begin0         #     jumps to .Ltmp266
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp267-.Lfunc_begin0         # >> Call Site 51 <<
	.uleb128 .Ltmp276-.Ltmp267              #   Call between .Ltmp267 and .Ltmp276
	.uleb128 .Ltmp277-.Lfunc_begin0         #     jumps to .Ltmp277
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp61-.Lfunc_begin0          # >> Call Site 52 <<
	.uleb128 .Ltmp60-.Ltmp61                #   Call between .Ltmp61 and .Ltmp60
	.uleb128 .Ltmp63-.Lfunc_begin0          #     jumps to .Ltmp63
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp53-.Lfunc_begin0          # >> Call Site 53 <<
	.uleb128 .Ltmp54-.Ltmp53                #   Call between .Ltmp53 and .Ltmp54
	.uleb128 .Ltmp55-.Lfunc_begin0          #     jumps to .Ltmp55
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp45-.Lfunc_begin0          # >> Call Site 54 <<
	.uleb128 .Ltmp46-.Ltmp45                #   Call between .Ltmp45 and .Ltmp46
	.uleb128 .Ltmp47-.Lfunc_begin0          #     jumps to .Ltmp47
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp51-.Lfunc_begin0          # >> Call Site 55 <<
	.uleb128 .Ltmp52-.Ltmp51                #   Call between .Ltmp51 and .Ltmp52
	.uleb128 .Ltmp55-.Lfunc_begin0          #     jumps to .Ltmp55
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp37-.Lfunc_begin0          # >> Call Site 56 <<
	.uleb128 .Ltmp38-.Ltmp37                #   Call between .Ltmp37 and .Ltmp38
	.uleb128 .Ltmp39-.Lfunc_begin0          #     jumps to .Ltmp39
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp43-.Lfunc_begin0          # >> Call Site 57 <<
	.uleb128 .Ltmp44-.Ltmp43                #   Call between .Ltmp43 and .Ltmp44
	.uleb128 .Ltmp47-.Lfunc_begin0          #     jumps to .Ltmp47
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp29-.Lfunc_begin0          # >> Call Site 58 <<
	.uleb128 .Ltmp30-.Ltmp29                #   Call between .Ltmp29 and .Ltmp30
	.uleb128 .Ltmp31-.Lfunc_begin0          #     jumps to .Ltmp31
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp35-.Lfunc_begin0          # >> Call Site 59 <<
	.uleb128 .Ltmp36-.Ltmp35                #   Call between .Ltmp35 and .Ltmp36
	.uleb128 .Ltmp39-.Lfunc_begin0          #     jumps to .Ltmp39
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp27-.Lfunc_begin0          # >> Call Site 60 <<
	.uleb128 .Ltmp28-.Ltmp27                #   Call between .Ltmp27 and .Ltmp28
	.uleb128 .Ltmp31-.Lfunc_begin0          #     jumps to .Ltmp31
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp28-.Lfunc_begin0          # >> Call Site 61 <<
	.uleb128 .Lfunc_end1-.Ltmp28            #   Call between .Ltmp28 and .Lfunc_end1
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_,"axG",@progbits,_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_,comdat
	.weak	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_ # -- Begin function _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
	.p2align	1, 0x90
	.type	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_,@function
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_: # @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
	.cfi_startproc
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	leaq	16(%rdi), %rax
	movq	%rax, (%rdi)
	testq	%rsi, %rsi
	je	.LBB2_1
# %bb.2:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	strlen
	leaq	(%rax,%rbx), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	jmp	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag # TAILCALL
.LBB2_1:
	.cfi_def_cfa_offset 32
	movl	$.L.str.45, %edi
	callq	_ZSt19__throw_logic_errorPKc
.Lfunc_end2:
	.size	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_, .Lfunc_end2-_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt7__cxx114stofERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPm,"axG",@progbits,_ZNSt7__cxx114stofERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPm,comdat
	.weak	_ZNSt7__cxx114stofERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPm # -- Begin function _ZNSt7__cxx114stofERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPm
	.type	_ZNSt7__cxx114stofERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPm,@function
_ZNSt7__cxx114stofERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPm: # @_ZNSt7__cxx114stofERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPm
.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	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$16, %rsp
	.cfi_def_cfa_offset 64
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rsi, %r14
	movq	(%rdi), %r15
	callq	__errno_location
	movq	%rax, %rbx
	movl	(%rax), %ebp
	movl	$0, (%rax)
	leaq	8(%rsp), %r12
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	strtof
	movq	(%r12), %rax
	subq	%r15, %rax
	je	.LBB3_1
# %bb.6:
	movl	(%rbx), %ecx
	cmpl	$34, %ecx
	je	.LBB3_7
# %bb.9:
	testq	%r14, %r14
	je	.LBB3_11
# %bb.10:
	movq	%rax, (%r14)
.LBB3_11:
	testl	%ecx, %ecx
	jne	.LBB3_13
# %bb.12:
	movl	%ebp, (%rbx)
.LBB3_13:                               # %_ZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_.exit
	addq	$16, %rsp
	.cfi_def_cfa_offset 48
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB3_1:
	.cfi_def_cfa_offset 64
.Ltmp280:
	movl	$.L.str.43, %edi
	callq	_ZSt24__throw_invalid_argumentPKc
.Ltmp281:
# %bb.2:
.LBB3_7:                                # %.critedge.i
.Ltmp278:
	movl	$.L.str.43, %edi
	callq	_ZSt20__throw_out_of_rangePKc
.Ltmp279:
# %bb.8:
.LBB3_3:
.Ltmp282:
	cmpl	$0, (%rbx)
	jne	.LBB3_5
# %bb.4:
	movl	%ebp, (%rbx)
.LBB3_5:                                # %_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev.exit.i
	movq	%rax, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end3:
	.size	_ZNSt7__cxx114stofERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPm, .Lfunc_end3-_ZNSt7__cxx114stofERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPm
	.cfi_endproc
	.section	.gcc_except_table._ZNSt7__cxx114stofERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPm,"aG",@progbits,_ZNSt7__cxx114stofERKNS_12basic_stringIcSt11char_traitsIcESaIcEEEPm,comdat
	.p2align	2, 0x0
GCC_except_table3:
.Lexception1:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end1-.Lcst_begin1
.Lcst_begin1:
	.uleb128 .Ltmp280-.Lfunc_begin1         # >> Call Site 1 <<
	.uleb128 .Ltmp279-.Ltmp280              #   Call between .Ltmp280 and .Ltmp279
	.uleb128 .Ltmp282-.Lfunc_begin1         #     jumps to .Ltmp282
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp279-.Lfunc_begin1         # >> Call Site 2 <<
	.uleb128 .Lfunc_end3-.Ltmp279           #   Call between .Ltmp279 and .Lfunc_end3
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end1:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZN12workinggroupC2Ei,"axG",@progbits,_ZN12workinggroupC2Ei,comdat
	.weak	_ZN12workinggroupC2Ei           # -- Begin function _ZN12workinggroupC2Ei
	.p2align	1, 0x90
	.type	_ZN12workinggroupC2Ei,@function
_ZN12workinggroupC2Ei:                  # @_ZN12workinggroupC2Ei
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %rbp, -16
	movl	%esi, %ebp
	movq	%rdi, %rbx
	movl	%esi, 40(%rdi)
	movl	$32768, %edi                    # imm = 0x8000
	callq	malloc
	movq	%rax, 16(%rbx)
	movl	$589824, %edi                   # imm = 0x90000
	callq	malloc
	movq	%rax, (%rbx)
	movl	%ebp, %edi
	callq	hipSetDevice
	leaq	32(%rbx), %rdi
	callq	hipStreamCreate
	leaq	24(%rbx), %rdi
	movl	$32768, %esi                    # imm = 0x8000
	callq	hipMalloc
	addq	$8, %rbx
	movl	$589824, %esi                   # imm = 0x90000
	movq	%rbx, %rdi
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	jmp	hipMalloc                       # TAILCALL
.Lfunc_end4:
	.size	_ZN12workinggroupC2Ei, .Lfunc_end4-_ZN12workinggroupC2Ei
	.cfi_endproc
                                        # -- End function
	.section	.text._ZN12workinggroup10lunch_planEv,"axG",@progbits,_ZN12workinggroup10lunch_planEv,comdat
	.weak	_ZN12workinggroup10lunch_planEv # -- Begin function _ZN12workinggroup10lunch_planEv
	.p2align	1, 0x90
	.type	_ZN12workinggroup10lunch_planEv,@function
_ZN12workinggroup10lunch_planEv:        # @_ZN12workinggroup10lunch_planEv
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	%rdi, %rbx
	movl	40(%rdi), %edi
	callq	hipSetDevice
	movq	16(%rbx), %rsi
	movq	24(%rbx), %rdi
	movq	32(%rbx), %r8
	movl	$32768, %edx                    # imm = 0x8000
	movl	$1, %ecx
	callq	hipMemcpyAsync
	movq	(%rbx), %rsi
	movq	8(%rbx), %rdi
	movq	32(%rbx), %r8
	movl	$589824, %edx                   # imm = 0x90000
	movl	$1, %ecx
	callq	hipMemcpyAsync
	movq	32(%rbx), %r9
	movabsq	$4294967300, %rdi               # imm = 0x100000004
	leaq	1020(%rdi), %rdx
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB5_2
# %bb.1:
	movq	8(%rbx), %rsi
	movq	24(%rbx), %rdi
	callq	_Z21__device_stub__kernelPmPf
.LBB5_2:
	movq	(%rbx), %rdi
	movq	8(%rbx), %rsi
	movq	32(%rbx), %r8
	movl	$589824, %edx                   # imm = 0x90000
	movl	$2, %ecx
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	hipMemcpyAsync                  # TAILCALL
.Lfunc_end5:
	.size	_ZN12workinggroup10lunch_planEv, .Lfunc_end5-_ZN12workinggroup10lunch_planEv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZN12workinggroupD2Ev,"axG",@progbits,_ZN12workinggroupD2Ev,comdat
	.weak	_ZN12workinggroupD2Ev           # -- Begin function _ZN12workinggroupD2Ev
	.p2align	1, 0x90
	.type	_ZN12workinggroupD2Ev,@function
_ZN12workinggroupD2Ev:                  # @_ZN12workinggroupD2Ev
.Lfunc_begin2:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception2
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	movq	%rdi, %rbx
	movq	16(%rdi), %rdi
	callq	free
	movq	(%rbx), %rdi
	callq	free
	movl	40(%rbx), %edi
.Ltmp283:
	callq	hipSetDevice
.Ltmp284:
# %bb.1:
	movq	32(%rbx), %rdi
.Ltmp285:
	callq	hipStreamDestroy
.Ltmp286:
# %bb.2:
	movq	24(%rbx), %rdi
.Ltmp287:
	callq	hipFree
.Ltmp288:
# %bb.3:
	movq	8(%rbx), %rdi
.Ltmp289:
	callq	hipFree
.Ltmp290:
# %bb.4:
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.LBB6_5:
	.cfi_def_cfa_offset 16
.Ltmp291:
	movq	%rax, %rdi
	callq	__clang_call_terminate
.Lfunc_end6:
	.size	_ZN12workinggroupD2Ev, .Lfunc_end6-_ZN12workinggroupD2Ev
	.cfi_endproc
	.section	.gcc_except_table._ZN12workinggroupD2Ev,"aG",@progbits,_ZN12workinggroupD2Ev,comdat
	.p2align	2, 0x0
GCC_except_table6:
.Lexception2:
	.byte	255                             # @LPStart Encoding = omit
	.byte	3                               # @TType Encoding = udata4
	.uleb128 .Lttbase0-.Lttbaseref0
.Lttbaseref0:
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end2-.Lcst_begin2
.Lcst_begin2:
	.uleb128 .Ltmp283-.Lfunc_begin2         # >> Call Site 1 <<
	.uleb128 .Ltmp290-.Ltmp283              #   Call between .Ltmp283 and .Ltmp290
	.uleb128 .Ltmp291-.Lfunc_begin2         #     jumps to .Ltmp291
	.byte	1                               #   On action: 1
.Lcst_end2:
	.byte	1                               # >> Action Record 1 <<
                                        #   Catch TypeInfo 1
	.byte	0                               #   No further actions
	.p2align	2, 0x0
                                        # >> Catch TypeInfos <<
	.long	0                               # TypeInfo 1
.Lttbase0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.rodata.cst4,"aM",@progbits,4
	.p2align	2, 0x0                          # -- Begin function _Z7RK4_CPUjffRfS_
.LCPI7_0:
	.long	0x3b800000                      # float 0.00390625
.LCPI7_2:
	.long	0xc096cbe4                      # float -4.71238899
.LCPI7_3:
	.long	0x42b1a723                      # float 88.8264389
.LCPI7_4:
	.long	0x34000000                      # float 1.1920929E-7
.LCPI7_5:
	.long	0x3f000000                      # float 0.5
.LCPI7_7:
	.long	0x39000000                      # float 1.22070313E-4
.LCPI7_8:
	.long	0x36800000                      # float 3.81469727E-6
.LCPI7_9:
	.long	0x40c90fdb                      # float 6.28318548
.LCPI7_10:
	.long	0x35490fdb                      # float 7.49014077E-7
.LCPI7_11:
	.long	0x4096cbe4                      # float 4.71238899
.LCPI7_12:
	.long	0x40c00000                      # float 6
.LCPI7_13:
	.long	0x00000000                      # float 0
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0
.LCPI7_1:
	.quad	0x3ff0000000000000              # double 1
	.section	.rodata.cst16,"aM",@progbits,16
	.p2align	4, 0x0
.LCPI7_6:
	.long	0x80000000                      # float -0
	.long	0x80000000                      # float -0
	.long	0x80000000                      # float -0
	.long	0x80000000                      # float -0
	.text
	.globl	_Z7RK4_CPUjffRfS_
	.type	_Z7RK4_CPUjffRfS_,@function
_Z7RK4_CPUjffRfS_:                      # @_Z7RK4_CPUjffRfS_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$176, %rsp
	.cfi_def_cfa_offset 224
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movaps	%xmm1, 144(%rsp)                # 16-byte Spill
	movl	%edi, %eax
	xorps	%xmm1, %xmm1
	cvtsi2ss	%rax, %xmm1
	movss	%xmm0, 92(%rsp)                 # 4-byte Spill
	mulss	.LCPI7_0(%rip), %xmm1
	xorps	%xmm0, %xmm0
	cvtss2sd	%xmm1, %xmm0
	movsd	.LCPI7_1(%rip), %xmm1           # xmm1 = mem[0],zero
	callq	fmod
	cvtsd2ss	%xmm0, %xmm0
	movss	%xmm0, 124(%rsp)                # 4-byte Spill
	movss	(%rbx), %xmm0                   # xmm0 = mem[0],zero,zero,zero
	mulss	.LCPI7_2(%rip), %xmm0
	movss	%xmm0, 104(%rsp)                # 4-byte Spill
	movss	(%r14), %xmm0                   # xmm0 = mem[0],zero,zero,zero
	callq	cosf
	mulss	.LCPI7_3(%rip), %xmm0
	movss	%xmm0, 64(%rsp)                 # 4-byte Spill
	movss	(%r14), %xmm0                   # xmm0 = mem[0],zero,zero,zero
	callq	sinf
	movss	.LCPI7_3(%rip), %xmm2           # xmm2 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm0
	movss	%xmm0, 60(%rsp)                 # 4-byte Spill
	movss	(%rbx), %xmm0                   # xmm0 = mem[0],zero,zero,zero
	mulss	.LCPI7_4(%rip), %xmm0
	movss	.LCPI7_5(%rip), %xmm1           # xmm1 = mem[0],zero,zero,zero
	movss	%xmm0, 136(%rsp)                # 4-byte Spill
	mulss	%xmm0, %xmm1
	movss	%xmm1, 132(%rsp)                # 4-byte Spill
	movss	92(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm0
	movss	%xmm0, 92(%rsp)                 # 4-byte Spill
	movaps	144(%rsp), %xmm1                # 16-byte Reload
	mulss	%xmm2, %xmm1
	movaps	.LCPI7_6(%rip), %xmm0           # xmm0 = [-0.0E+0,-0.0E+0,-0.0E+0,-0.0E+0]
	movaps	%xmm1, 144(%rsp)                # 16-byte Spill
	xorps	%xmm1, %xmm0
	movaps	%xmm0, 160(%rsp)                # 16-byte Spill
	xorl	%r15d, %r15d
	xorps	%xmm0, %xmm0
	movss	%xmm0, 28(%rsp)                 # 4-byte Spill
	movss	%xmm0, 40(%rsp)                 # 4-byte Spill
.LBB7_1:                                # %.preheader
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB7_5 Depth 2
                                        #       Child Loop BB7_11 Depth 3
	testq	%r15, %r15
	js	.LBB7_2
# %bb.3:                                # %.preheader
                                        #   in Loop: Header=BB7_1 Depth=1
	xorps	%xmm2, %xmm2
	cvtsi2ss	%r15, %xmm2
	jmp	.LBB7_4
.LBB7_2:                                #   in Loop: Header=BB7_1 Depth=1
	movq	%r15, %rax
	shrq	%rax
	movl	%r15d, %ecx
	andl	$1, %ecx
	orq	%rax, %rcx
	xorps	%xmm2, %xmm2
	cvtsi2ss	%rcx, %xmm2
	addss	%xmm2, %xmm2
.LBB7_4:                                # %.preheader
                                        #   in Loop: Header=BB7_1 Depth=1
	mulss	.LCPI7_7(%rip), %xmm2
	addss	124(%rsp), %xmm2                # 4-byte Folded Reload
	xorps	%xmm1, %xmm1
	movss	%xmm1, 48(%rsp)                 # 4-byte Spill
	movss	%xmm1, 44(%rsp)                 # 4-byte Spill
	xorl	%r12d, %r12d
	movss	%xmm2, 128(%rsp)                # 4-byte Spill
.LBB7_5:                                #   Parent Loop BB7_1 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB7_11 Depth 3
	testq	%r12, %r12
	js	.LBB7_6
# %bb.9:                                #   in Loop: Header=BB7_5 Depth=2
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r12, %xmm0
	jmp	.LBB7_10
.LBB7_6:                                #   in Loop: Header=BB7_5 Depth=2
	movq	%r12, %rax
	shrq	%rax
	movl	%r12d, %ecx
	andl	$1, %ecx
	orq	%rax, %rcx
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rcx, %xmm0
	addss	%xmm0, %xmm0
.LBB7_10:                               #   in Loop: Header=BB7_5 Depth=2
	mulss	.LCPI7_8(%rip), %xmm0
	addss	%xmm2, %xmm0
	mulss	.LCPI7_9(%rip), %xmm0
	movss	%xmm0, 12(%rsp)                 # 4-byte Spill
	callq	cosf
	mulss	92(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 120(%rsp)                # 4-byte Spill
	movss	12(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	sinf
	mulss	92(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 116(%rsp)                # 4-byte Spill
	movss	12(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	cosf
	mulss	144(%rsp), %xmm0                # 16-byte Folded Reload
	movss	%xmm0, 112(%rsp)                # 4-byte Spill
	movss	12(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	sinf
	mulss	160(%rsp), %xmm0                # 16-byte Folded Reload
	movss	%xmm0, 108(%rsp)                # 4-byte Spill
	xorps	%xmm0, %xmm0
	movss	%xmm0, 72(%rsp)                 # 4-byte Spill
	movss	%xmm0, 68(%rsp)                 # 4-byte Spill
	xorl	%r13d, %r13d
.LBB7_11:                               #   Parent Loop BB7_1 Depth=1
                                        #     Parent Loop BB7_5 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	testq	%r13, %r13
	js	.LBB7_12
# %bb.13:                               #   in Loop: Header=BB7_11 Depth=3
	xorps	%xmm1, %xmm1
	cvtsi2ss	%r13, %xmm1
	jmp	.LBB7_14
.LBB7_12:                               #   in Loop: Header=BB7_11 Depth=3
	movq	%r13, %rax
	shrq	%rax
	movl	%r13d, %ecx
	andl	$1, %ecx
	orq	%rax, %rcx
	xorps	%xmm1, %xmm1
	cvtsi2ss	%rcx, %xmm1
	addss	%xmm1, %xmm1
.LBB7_14:                               #   in Loop: Header=BB7_11 Depth=3
	movss	%xmm1, 12(%rsp)                 # 4-byte Spill
	movss	.LCPI7_10(%rip), %xmm0          # xmm0 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	movss	%xmm1, 24(%rsp)                 # 4-byte Spill
	movaps	%xmm1, %xmm0
	callq	cosf
	mulss	120(%rsp), %xmm0                # 4-byte Folded Reload
	addss	104(%rsp), %xmm0                # 4-byte Folded Reload
	movss	%xmm0, 32(%rsp)                 # 4-byte Spill
	movss	24(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	cosf
	mulss	112(%rsp), %xmm0                # 4-byte Folded Reload
	movss	%xmm0, 8(%rsp)                  # 4-byte Spill
	movss	24(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	sinf
	mulss	116(%rsp), %xmm0                # 4-byte Folded Reload
	movss	8(%rsp), %xmm1                  # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movss	%xmm1, 8(%rsp)                  # 4-byte Spill
	movss	24(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	sinf
	mulss	108(%rsp), %xmm0                # 4-byte Folded Reload
	movss	%xmm0, 20(%rsp)                 # 4-byte Spill
	movss	68(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	addss	44(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 36(%rsp)                 # 4-byte Spill
	movss	72(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	addss	48(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 24(%rsp)                 # 4-byte Spill
	movss	28(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	cosf
	mulss	60(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 16(%rsp)                 # 4-byte Spill
	movss	24(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	cosf
	mulss	16(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	32(%rsp), %xmm1                 # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movss	.LCPI7_4(%rip), %xmm0           # xmm0 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	addss	%xmm0, %xmm1
	movss	%xmm1, 32(%rsp)                 # 4-byte Spill
	movss	28(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	sinf
	mulss	64(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 16(%rsp)                 # 4-byte Spill
	movss	24(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	cosf
	mulss	16(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	8(%rsp), %xmm2                  # 4-byte Reload
                                        # xmm2 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm2
	movss	40(%rsp), %xmm1                 # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	movss	.LCPI7_11(%rip), %xmm0          # xmm0 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	addss	%xmm2, %xmm1
	mulss	.LCPI7_4(%rip), %xmm1
	addss	.LCPI7_13(%rip), %xmm1
	movss	%xmm1, 76(%rsp)                 # 4-byte Spill
	movss	28(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	cosf
	mulss	64(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 8(%rsp)                  # 4-byte Spill
	movss	24(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	sinf
	mulss	8(%rsp), %xmm0                  # 4-byte Folded Reload
	movss	20(%rsp), %xmm1                 # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movss	%xmm1, 20(%rsp)                 # 4-byte Spill
	movss	28(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	sinf
	mulss	60(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 8(%rsp)                  # 4-byte Spill
	movss	24(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	sinf
	mulss	8(%rsp), %xmm0                  # 4-byte Folded Reload
	addss	20(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	36(%rsp), %xmm1                 # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	movaps	%xmm1, %xmm2
	mulss	.LCPI7_11(%rip), %xmm2
	addss	%xmm0, %xmm2
	movss	.LCPI7_4(%rip), %xmm0           # xmm0 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm2
	xorps	%xmm3, %xmm3
	addss	%xmm3, %xmm2
	movss	%xmm2, 80(%rsp)                 # 4-byte Spill
	movss	40(%rsp), %xmm2                 # 4-byte Reload
                                        # xmm2 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm2
	addss	%xmm3, %xmm2
	movss	%xmm2, 84(%rsp)                 # 4-byte Spill
	mulss	%xmm0, %xmm1
	addss	%xmm3, %xmm1
	movss	%xmm1, 36(%rsp)                 # 4-byte Spill
	movss	.LCPI7_5(%rip), %xmm1           # xmm1 = mem[0],zero,zero,zero
	movss	12(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	addss	%xmm1, %xmm0
	mulss	.LCPI7_10(%rip), %xmm0
	movss	%xmm0, 12(%rsp)                 # 4-byte Spill
	callq	cosf
	mulss	120(%rsp), %xmm0                # 4-byte Folded Reload
	addss	104(%rsp), %xmm0                # 4-byte Folded Reload
	movss	%xmm0, 24(%rsp)                 # 4-byte Spill
	movss	12(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	cosf
	mulss	112(%rsp), %xmm0                # 4-byte Folded Reload
	movss	%xmm0, 52(%rsp)                 # 4-byte Spill
	movss	12(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	sinf
	mulss	116(%rsp), %xmm0                # 4-byte Folded Reload
	movss	52(%rsp), %xmm1                 # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movss	%xmm1, 52(%rsp)                 # 4-byte Spill
	movss	12(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	sinf
	mulss	108(%rsp), %xmm0                # 4-byte Folded Reload
	movss	%xmm0, 56(%rsp)                 # 4-byte Spill
	movss	32(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	movss	.LCPI7_5(%rip), %xmm2           # xmm2 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm0
	addss	40(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 96(%rsp)                 # 4-byte Spill
	movss	76(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm0
	addss	44(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	80(%rsp), %xmm1                 # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm1
	addss	68(%rsp), %xmm1                 # 4-byte Folded Reload
	addss	%xmm0, %xmm1
	movss	%xmm1, 16(%rsp)                 # 4-byte Spill
	movss	84(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm0
	addss	48(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	36(%rsp), %xmm1                 # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm1
	addss	72(%rsp), %xmm1                 # 4-byte Folded Reload
	addss	%xmm0, %xmm1
	movss	%xmm1, 12(%rsp)                 # 4-byte Spill
	movss	132(%rsp), %xmm0                # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	addss	28(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 20(%rsp)                 # 4-byte Spill
	callq	cosf
	mulss	60(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 8(%rsp)                  # 4-byte Spill
	movss	12(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	cosf
	mulss	8(%rsp), %xmm0                  # 4-byte Folded Reload
	movss	24(%rsp), %xmm1                 # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	mulss	.LCPI7_4(%rip), %xmm1
	movss	%xmm1, 8(%rsp)                  # 4-byte Spill
	movaps	%xmm1, %xmm0
	addss	%xmm1, %xmm0
	addss	32(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 32(%rsp)                 # 4-byte Spill
	movss	20(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	sinf
	mulss	64(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 88(%rsp)                 # 4-byte Spill
	movss	12(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	cosf
	mulss	88(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	52(%rsp), %xmm1                 # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movss	96(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	mulss	.LCPI7_11(%rip), %xmm0
	addss	%xmm1, %xmm0
	mulss	.LCPI7_4(%rip), %xmm0
	movss	%xmm0, 88(%rsp)                 # 4-byte Spill
	addss	%xmm0, %xmm0
	addss	76(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 76(%rsp)                 # 4-byte Spill
	movss	20(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	cosf
	mulss	64(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 100(%rsp)                # 4-byte Spill
	movss	12(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	sinf
	mulss	100(%rsp), %xmm0                # 4-byte Folded Reload
	movss	56(%rsp), %xmm1                 # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movss	%xmm1, 100(%rsp)                # 4-byte Spill
	movss	20(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	sinf
	mulss	60(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 140(%rsp)                # 4-byte Spill
	movss	12(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	sinf
	mulss	140(%rsp), %xmm0                # 4-byte Folded Reload
	addss	100(%rsp), %xmm0                # 4-byte Folded Reload
	movss	16(%rsp), %xmm1                 # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	movaps	%xmm1, %xmm2
	mulss	.LCPI7_11(%rip), %xmm2
	addss	%xmm0, %xmm2
	movss	.LCPI7_4(%rip), %xmm0           # xmm0 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm2
	movaps	%xmm2, %xmm3
	movaps	%xmm2, %xmm4
	addss	%xmm2, %xmm3
	addss	80(%rsp), %xmm3                 # 4-byte Folded Reload
	movss	%xmm3, 80(%rsp)                 # 4-byte Spill
	movss	96(%rsp), %xmm2                 # 4-byte Reload
                                        # xmm2 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm2
	movaps	%xmm2, %xmm5
	movaps	%xmm2, %xmm3
	addss	%xmm2, %xmm5
	addss	84(%rsp), %xmm5                 # 4-byte Folded Reload
	movss	%xmm5, 84(%rsp)                 # 4-byte Spill
	mulss	%xmm0, %xmm1
	movaps	%xmm1, %xmm0
	addss	%xmm1, %xmm0
	addss	36(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 96(%rsp)                 # 4-byte Spill
	movss	.LCPI7_5(%rip), %xmm0           # xmm0 = mem[0],zero,zero,zero
	movss	88(%rsp), %xmm2                 # 4-byte Reload
                                        # xmm2 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm2
	addss	44(%rsp), %xmm2                 # 4-byte Folded Reload
	mulss	%xmm0, %xmm4
	addss	68(%rsp), %xmm4                 # 4-byte Folded Reload
	addss	%xmm2, %xmm4
	movss	%xmm4, 12(%rsp)                 # 4-byte Spill
	mulss	%xmm0, %xmm3
	addss	48(%rsp), %xmm3                 # 4-byte Folded Reload
	mulss	%xmm0, %xmm1
	movaps	%xmm0, %xmm2
	addss	72(%rsp), %xmm1                 # 4-byte Folded Reload
	addss	%xmm3, %xmm1
	movss	%xmm1, 16(%rsp)                 # 4-byte Spill
	movss	8(%rsp), %xmm0                  # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm0
	addss	40(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 8(%rsp)                  # 4-byte Spill
	movss	20(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	cosf
	mulss	60(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 36(%rsp)                 # 4-byte Spill
	movss	16(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	cosf
	mulss	36(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	24(%rsp), %xmm1                 # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	mulss	.LCPI7_4(%rip), %xmm1
	movss	%xmm1, 24(%rsp)                 # 4-byte Spill
	movaps	%xmm1, %xmm0
	addss	%xmm1, %xmm0
	addss	32(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 36(%rsp)                 # 4-byte Spill
	movss	20(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	sinf
	mulss	64(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 32(%rsp)                 # 4-byte Spill
	movss	16(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	cosf
	mulss	32(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	52(%rsp), %xmm1                 # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movss	8(%rsp), %xmm0                  # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	mulss	.LCPI7_11(%rip), %xmm0
	addss	%xmm1, %xmm0
	mulss	.LCPI7_4(%rip), %xmm0
	movss	%xmm0, 88(%rsp)                 # 4-byte Spill
	addss	%xmm0, %xmm0
	addss	76(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 52(%rsp)                 # 4-byte Spill
	movss	20(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	cosf
	mulss	64(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 32(%rsp)                 # 4-byte Spill
	movss	16(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	sinf
	mulss	32(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	56(%rsp), %xmm1                 # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movss	%xmm1, 56(%rsp)                 # 4-byte Spill
	movss	20(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	sinf
	mulss	60(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 20(%rsp)                 # 4-byte Spill
	movss	16(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	sinf
	mulss	20(%rsp), %xmm0                 # 4-byte Folded Reload
	addss	56(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	12(%rsp), %xmm3                 # 4-byte Reload
                                        # xmm3 = mem[0],zero,zero,zero
	movaps	%xmm3, %xmm1
	mulss	.LCPI7_11(%rip), %xmm1
	addss	%xmm0, %xmm1
	movss	.LCPI7_4(%rip), %xmm2           # xmm2 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm1
	movss	%xmm1, 20(%rsp)                 # 4-byte Spill
	movaps	%xmm1, %xmm0
	addss	%xmm1, %xmm0
	addss	80(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 32(%rsp)                 # 4-byte Spill
	movss	8(%rsp), %xmm0                  # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm0
	movss	%xmm0, 8(%rsp)                  # 4-byte Spill
	addss	%xmm0, %xmm0
	addss	84(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 84(%rsp)                 # 4-byte Spill
	movaps	%xmm3, %xmm0
	mulss	%xmm2, %xmm0
	movss	%xmm0, 12(%rsp)                 # 4-byte Spill
	addss	%xmm0, %xmm0
	addss	96(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 80(%rsp)                 # 4-byte Spill
	incq	%r13
	js	.LBB7_15
# %bb.16:                               #   in Loop: Header=BB7_11 Depth=3
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r13, %xmm0
	jmp	.LBB7_17
.LBB7_15:                               #   in Loop: Header=BB7_11 Depth=3
	movq	%r13, %rax
	shrq	%rax
	movl	%r13d, %ecx
	andl	$1, %ecx
	orq	%rax, %rcx
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rcx, %xmm0
	addss	%xmm0, %xmm0
.LBB7_17:                               #   in Loop: Header=BB7_11 Depth=3
	mulss	.LCPI7_10(%rip), %xmm0
	movss	%xmm0, 16(%rsp)                 # 4-byte Spill
	callq	cosf
	mulss	120(%rsp), %xmm0                # 4-byte Folded Reload
	addss	104(%rsp), %xmm0                # 4-byte Folded Reload
	movss	%xmm0, 76(%rsp)                 # 4-byte Spill
	movss	16(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	cosf
	mulss	112(%rsp), %xmm0                # 4-byte Folded Reload
	movss	%xmm0, 56(%rsp)                 # 4-byte Spill
	movss	16(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	sinf
	mulss	116(%rsp), %xmm0                # 4-byte Folded Reload
	movss	56(%rsp), %xmm1                 # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movss	%xmm1, 56(%rsp)                 # 4-byte Spill
	movss	16(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	sinf
	mulss	108(%rsp), %xmm0                # 4-byte Folded Reload
	movss	%xmm0, 16(%rsp)                 # 4-byte Spill
	movss	24(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	addss	40(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 24(%rsp)                 # 4-byte Spill
	movss	88(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	addss	44(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	20(%rsp), %xmm1                 # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	addss	68(%rsp), %xmm1                 # 4-byte Folded Reload
	addss	%xmm0, %xmm1
	movss	%xmm1, 20(%rsp)                 # 4-byte Spill
	movss	28(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	addss	136(%rsp), %xmm0                # 4-byte Folded Reload
	movss	%xmm0, 28(%rsp)                 # 4-byte Spill
	movss	8(%rsp), %xmm2                  # 4-byte Reload
                                        # xmm2 = mem[0],zero,zero,zero
	addss	48(%rsp), %xmm2                 # 4-byte Folded Reload
	movss	12(%rsp), %xmm1                 # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	addss	72(%rsp), %xmm1                 # 4-byte Folded Reload
	addss	%xmm2, %xmm1
	movss	%xmm1, 12(%rsp)                 # 4-byte Spill
	callq	cosf
	mulss	60(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 8(%rsp)                  # 4-byte Spill
	movss	12(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	cosf
	mulss	8(%rsp), %xmm0                  # 4-byte Folded Reload
	movss	76(%rsp), %xmm1                 # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movss	.LCPI7_4(%rip), %xmm0           # xmm0 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	movss	36(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	addss	%xmm1, %xmm0
	movss	%xmm0, 36(%rsp)                 # 4-byte Spill
	movss	28(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	sinf
	mulss	64(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 8(%rsp)                  # 4-byte Spill
	movss	12(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	cosf
	mulss	8(%rsp), %xmm0                  # 4-byte Folded Reload
	movss	56(%rsp), %xmm2                 # 4-byte Reload
                                        # xmm2 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm2
	movss	24(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	movss	.LCPI7_11(%rip), %xmm1          # xmm1 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm0
	addss	%xmm2, %xmm0
	mulss	.LCPI7_4(%rip), %xmm0
	movss	52(%rsp), %xmm1                 # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm1
	movss	%xmm1, 52(%rsp)                 # 4-byte Spill
	movss	28(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	cosf
	mulss	64(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 8(%rsp)                  # 4-byte Spill
	movss	12(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	sinf
	mulss	8(%rsp), %xmm0                  # 4-byte Folded Reload
	movss	16(%rsp), %xmm1                 # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movss	%xmm1, 16(%rsp)                 # 4-byte Spill
	movss	28(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	sinf
	mulss	60(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 8(%rsp)                  # 4-byte Spill
	movss	12(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	callq	sinf
	mulss	8(%rsp), %xmm0                  # 4-byte Folded Reload
	addss	16(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	20(%rsp), %xmm3                 # 4-byte Reload
                                        # xmm3 = mem[0],zero,zero,zero
	movaps	%xmm3, %xmm1
	mulss	.LCPI7_11(%rip), %xmm1
	addss	%xmm0, %xmm1
	movss	.LCPI7_4(%rip), %xmm4           # xmm4 = mem[0],zero,zero,zero
	mulss	%xmm4, %xmm1
	movss	32(%rsp), %xmm2                 # 4-byte Reload
                                        # xmm2 = mem[0],zero,zero,zero
	addss	%xmm1, %xmm2
	movss	24(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	mulss	%xmm4, %xmm0
	movss	84(%rsp), %xmm1                 # 4-byte Reload
                                        # xmm1 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm1
	movaps	%xmm3, %xmm0
	mulss	%xmm4, %xmm0
	movss	80(%rsp), %xmm3                 # 4-byte Reload
                                        # xmm3 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm3
	movss	.LCPI7_12(%rip), %xmm0          # xmm0 = mem[0],zero,zero,zero
	movss	36(%rsp), %xmm5                 # 4-byte Reload
                                        # xmm5 = mem[0],zero,zero,zero
	divss	%xmm0, %xmm5
	movss	40(%rsp), %xmm4                 # 4-byte Reload
                                        # xmm4 = mem[0],zero,zero,zero
	addss	%xmm5, %xmm4
	movss	%xmm4, 40(%rsp)                 # 4-byte Spill
	movss	52(%rsp), %xmm5                 # 4-byte Reload
                                        # xmm5 = mem[0],zero,zero,zero
	divss	%xmm0, %xmm5
	movss	44(%rsp), %xmm4                 # 4-byte Reload
                                        # xmm4 = mem[0],zero,zero,zero
	addss	%xmm5, %xmm4
	movss	%xmm4, 44(%rsp)                 # 4-byte Spill
	divss	%xmm0, %xmm2
	movss	68(%rsp), %xmm4                 # 4-byte Reload
                                        # xmm4 = mem[0],zero,zero,zero
	addss	%xmm2, %xmm4
	movss	%xmm4, 68(%rsp)                 # 4-byte Spill
	divss	%xmm0, %xmm1
	movss	48(%rsp), %xmm2                 # 4-byte Reload
                                        # xmm2 = mem[0],zero,zero,zero
	addss	%xmm1, %xmm2
	movss	%xmm2, 48(%rsp)                 # 4-byte Spill
	divss	%xmm0, %xmm3
	movss	72(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	addss	%xmm3, %xmm0
	movss	%xmm0, 72(%rsp)                 # 4-byte Spill
	cmpq	$32, %r13
	jne	.LBB7_11
# %bb.18:                               #   in Loop: Header=BB7_5 Depth=2
	movss	48(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	addss	72(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 48(%rsp)                 # 4-byte Spill
	movss	44(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	addss	68(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 44(%rsp)                 # 4-byte Spill
	incq	%r12
	cmpq	$32, %r12
	movss	128(%rsp), %xmm2                # 4-byte Reload
                                        # xmm2 = mem[0],zero,zero,zero
	jne	.LBB7_5
# %bb.7:                                #   in Loop: Header=BB7_1 Depth=1
	movss	28(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	addss	48(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 28(%rsp)                 # 4-byte Spill
	movss	40(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	addss	44(%rsp), %xmm0                 # 4-byte Folded Reload
	movss	%xmm0, 40(%rsp)                 # 4-byte Spill
	incq	%r15
	cmpq	$32, %r15
	jne	.LBB7_1
# %bb.8:
	movss	28(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	addss	(%r14), %xmm0
	movss	%xmm0, (%r14)
	movss	40(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	addss	(%rbx), %xmm0
	movss	%xmm0, (%rbx)
	addq	$176, %rsp
	.cfi_def_cfa_offset 48
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end7:
	.size	_Z7RK4_CPUjffRfS_, .Lfunc_end7-_Z7RK4_CPUjffRfS_
	.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_end8:
	.size	__clang_call_terminate, .Lfunc_end8-__clang_call_terminate
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt8__detail18__to_chars_10_implImEEvPcjT_,"axG",@progbits,_ZNSt8__detail18__to_chars_10_implImEEvPcjT_,comdat
	.weak	_ZNSt8__detail18__to_chars_10_implImEEvPcjT_ # -- Begin function _ZNSt8__detail18__to_chars_10_implImEEvPcjT_
	.type	_ZNSt8__detail18__to_chars_10_implImEEvPcjT_,@function
_ZNSt8__detail18__to_chars_10_implImEEvPcjT_: # @_ZNSt8__detail18__to_chars_10_implImEEvPcjT_
	.cfi_startproc
# %bb.0:
	movq	%rdx, %rcx
                                        # kill: def $esi killed $esi def $rsi
	cmpq	$100, %rdx
	jb	.LBB9_1
# %bb.2:                                # %.lr.ph.preheader
	decl	%esi
	movabsq	$2951479051793528259, %r8       # imm = 0x28F5C28F5C28F5C3
.LBB9_3:                                # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movq	%rcx, %rax
	shrq	$2, %rax
	mulq	%r8
	shrq	$2, %rdx
	imull	$100, %edx, %eax
	movl	%ecx, %r9d
	subl	%eax, %r9d
	movb	.L__const._ZNSt8__detail18__to_chars_10_implImEEvPcjT_.__digits+1(%r9,%r9), %al
	movl	%esi, %r10d
	movb	%al, (%rdi,%r10)
	movb	.L__const._ZNSt8__detail18__to_chars_10_implImEEvPcjT_.__digits(%r9,%r9), %al
	leal	-1(%rsi), %r9d
	movb	%al, (%rdi,%r9)
	addl	$-2, %esi
	cmpq	$9999, %rcx                     # imm = 0x270F
	movq	%rdx, %rcx
	ja	.LBB9_3
	jmp	.LBB9_4
.LBB9_1:
	movq	%rcx, %rdx
.LBB9_4:                                # %._crit_edge
	cmpq	$10, %rdx
	jb	.LBB9_6
# %bb.5:
	movb	.L__const._ZNSt8__detail18__to_chars_10_implImEEvPcjT_.__digits+1(%rdx,%rdx), %al
	movb	%al, 1(%rdi)
	movb	.L__const._ZNSt8__detail18__to_chars_10_implImEEvPcjT_.__digits(%rdx,%rdx), %dl
	jmp	.LBB9_7
.LBB9_6:
	orb	$48, %dl
.LBB9_7:
	movb	%dl, (%rdi)
	retq
.Lfunc_end9:
	.size	_ZNSt8__detail18__to_chars_10_implImEEvPcjT_, .Lfunc_end9-_ZNSt8__detail18__to_chars_10_implImEEvPcjT_
	.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	.LBB10_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	.LBB10_3
.LBB10_1:                               # %._crit_edge
	movq	(%rbx), %rax
.LBB10_3:
	testq	%r14, %r14
	je	.LBB10_7
# %bb.4:
	cmpq	$1, %r14
	jne	.LBB10_6
# %bb.5:
	movb	(%r15), %cl
	movb	%cl, (%rax)
	jmp	.LBB10_7
.LBB10_6:
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	memcpy@PLT
.LBB10_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_end10:
	.size	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag, .Lfunc_end10-_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag
	.cfi_endproc
                                        # -- End function
	.text
	.p2align	4, 0x90                         # -- Begin function __hip_module_ctor
	.type	__hip_module_ctor,@function
__hip_module_ctor:                      # @__hip_module_ctor
	.cfi_startproc
# %bb.0:
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	movq	__hip_gpubin_handle(%rip), %rdi
	testq	%rdi, %rdi
	jne	.LBB11_2
# %bb.1:
	movl	$__hip_fatbin_wrapper, %edi
	callq	__hipRegisterFatBinary
	movq	%rax, %rdi
	movq	%rax, __hip_gpubin_handle(%rip)
.LBB11_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z6kernelPmPf, %esi
	movl	$.L__unnamed_1, %edx
	movl	$.L__unnamed_1, %ecx
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	movl	$__hip_module_dtor, %edi
	addq	$40, %rsp
	.cfi_def_cfa_offset 8
	jmp	atexit                          # TAILCALL
.Lfunc_end11:
	.size	__hip_module_ctor, .Lfunc_end11-__hip_module_ctor
	.cfi_endproc
                                        # -- End function
	.p2align	4, 0x90                         # -- Begin function __hip_module_dtor
	.type	__hip_module_dtor,@function
__hip_module_dtor:                      # @__hip_module_dtor
	.cfi_startproc
# %bb.0:
	movq	__hip_gpubin_handle(%rip), %rdi
	testq	%rdi, %rdi
	je	.LBB12_2
# %bb.1:
	pushq	%rax
	.cfi_def_cfa_offset 16
	callq	__hipUnregisterFatBinary
	movq	$0, __hip_gpubin_handle(%rip)
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
.LBB12_2:
	retq
.Lfunc_end12:
	.size	__hip_module_dtor, .Lfunc_end12-__hip_module_dtor
	.cfi_endproc
                                        # -- End function
	.type	_Z6kernelPmPf,@object           # @_Z6kernelPmPf
	.section	.rodata,"a",@progbits
	.globl	_Z6kernelPmPf
	.p2align	3, 0x0
_Z6kernelPmPf:
	.quad	_Z21__device_stub__kernelPmPf
	.size	_Z6kernelPmPf, 8

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

	.type	.L.str.1,@object                # @.str.1
.L.str.1:
	.asciz	"--help"
	.size	.L.str.1, 7

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

	.type	.L.str.3,@object                # @.str.3
.L.str.3:
	.asciz	"-g:\tset the gpu for calculate"
	.size	.L.str.3, 30

	.type	.L.str.4,@object                # @.str.4
.L.str.4:
	.asciz	"-x:\tset init x0"
	.size	.L.str.4, 16

	.type	.L.str.5,@object                # @.str.5
.L.str.5:
	.asciz	"-v:\tset init v0"
	.size	.L.str.5, 16

	.type	.L.str.6,@object                # @.str.6
.L.str.6:
	.asciz	"-t:\tset time range"
	.size	.L.str.6, 19

	.type	.L.str.7,@object                # @.str.7
.L.str.7:
	.asciz	"-y:\tset minimal gamma"
	.size	.L.str.7, 22

	.type	.L.str.8,@object                # @.str.8
.L.str.8:
	.asciz	"-yr:\tset the gamma searching range (d_gamma = gamma_range / "
	.size	.L.str.8, 61

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

	.type	.L.str.10,@object               # @.str.10
.L.str.10:
	.asciz	"-h, --help, -?: "
	.size	.L.str.10, 17

	.type	.L.str.11,@object               # @.str.11
.L.str.11:
	.asciz	"-g"
	.size	.L.str.11, 3

	.type	.L.str.12,@object               # @.str.12
.L.str.12:
	.asciz	"-x"
	.size	.L.str.12, 3

	.type	.L.str.13,@object               # @.str.13
.L.str.13:
	.asciz	"-v"
	.size	.L.str.13, 3

	.type	.L.str.14,@object               # @.str.14
.L.str.14:
	.asciz	"-t"
	.size	.L.str.14, 3

	.type	.L.str.15,@object               # @.str.15
.L.str.15:
	.asciz	"-y"
	.size	.L.str.15, 3

	.type	.L.str.16,@object               # @.str.16
.L.str.16:
	.asciz	"-yr"
	.size	.L.str.16, 4

	.type	.L.str.17,@object               # @.str.17
.L.str.17:
	.asciz	"info.dat"
	.size	.L.str.17, 9

	.type	.L.str.18,@object               # @.str.18
.L.str.18:
	.asciz	"Find unfinished task! Auto start continue working from t id "
	.size	.L.str.18, 61

	.type	.L.str.19,@object               # @.str.19
.L.str.19:
	.asciz	" ...\n(disable by adding any arg)\n\n\n\n"
	.size	.L.str.19, 37

	.type	.L.str.20,@object               # @.str.20
.L.str.20:
	.asciz	"Starting calculation:\n"
	.size	.L.str.20, 23

	.type	.L.str.21,@object               # @.str.21
.L.str.21:
	.asciz	"\tx0: "
	.size	.L.str.21, 6

	.type	.L.str.22,@object               # @.str.22
.L.str.22:
	.asciz	"   v0: "
	.size	.L.str.22, 8

	.type	.L.str.23,@object               # @.str.23
.L.str.23:
	.asciz	"\n\tgamma: [ "
	.size	.L.str.23, 12

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

	.type	.L.str.25,@object               # @.str.25
.L.str.25:
	.asciz	" ) -- "
	.size	.L.str.25, 7

	.type	.L.str.26,@object               # @.str.26
.L.str.26:
	.asciz	" steps with step length: "
	.size	.L.str.26, 26

	.type	.L.str.27,@object               # @.str.27
.L.str.27:
	.asciz	"\n\tt_max: "
	.size	.L.str.27, 10

	.type	.L.str.28,@object               # @.str.28
.L.str.28:
	.asciz	"\n\ton GPU "
	.size	.L.str.28, 10

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

	.type	.L.str.30,@object               # @.str.30
.L.str.30:
	.asciz	"data"
	.size	.L.str.30, 5

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

	.type	.L.str.32,@object               # @.str.32
.L.str.32:
	.asciz	"Finish calculation: 0 - "
	.size	.L.str.32, 25

	.type	.L.str.33,@object               # @.str.33
.L.str.33:
	.asciz	"\t(current t ID: "
	.size	.L.str.33, 17

	.type	.L.str.34,@object               # @.str.34
.L.str.34:
	.asciz	") / "
	.size	.L.str.34, 5

	.type	.L.str.35,@object               # @.str.35
.L.str.35:
	.asciz	" |\tfrom "
	.size	.L.str.35, 9

	.type	.L.str.36,@object               # @.str.36
.L.str.36:
	.asciz	"s to "
	.size	.L.str.36, 6

	.type	.L.str.37,@object               # @.str.37
.L.str.37:
	.asciz	"s |\tused "
	.size	.L.str.37, 10

	.type	.L.str.38,@object               # @.str.38
.L.str.38:
	.asciz	"ms\t("
	.size	.L.str.38, 5

	.type	.L.str.39,@object               # @.str.39
.L.str.39:
	.asciz	"%  used: "
	.size	.L.str.39, 10

	.type	.L.str.40,@object               # @.str.40
.L.str.40:
	.asciz	"hours  ETA: "
	.size	.L.str.40, 13

	.type	.L.str.41,@object               # @.str.41
.L.str.41:
	.asciz	" hours)"
	.size	.L.str.41, 8

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

	.type	.L.str.43,@object               # @.str.43
.L.str.43:
	.asciz	"stof"
	.size	.L.str.43, 5

	.type	.L.str.44,@object               # @.str.44
.L.str.44:
	.asciz	"stoul"
	.size	.L.str.44, 6

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

	.type	.L.str.45,@object               # @.str.45
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str.45:
	.asciz	"basic_string: construction from null is not valid"
	.size	.L.str.45, 50

	.type	.L__unnamed_1,@object           # @0
.L__unnamed_1:
	.asciz	"_Z6kernelPmPf"
	.size	.L__unnamed_1, 14

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

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

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

	.text
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.protected	_Z6kernelPmPf           ; -- Begin function _Z6kernelPmPf
	.globl	_Z6kernelPmPf
	.p2align	8
	.type	_Z6kernelPmPf,@function
_Z6kernelPmPf:                          ; @_Z6kernelPmPf
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x1c
	s_load_b128 s[4:7], s[0:1], 0x0
	s_mov_b32 s14, 0x7fffff
	s_mov_b32 s16, 0x37d75334
	s_mov_b32 s17, 0
	s_waitcnt lgkmcnt(0)
	s_and_b32 s0, s2, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_2) | instid1(VALU_DEP_2)
	v_mad_u64_u32 v[1:2], null, s15, s0, v[0:1]
	v_mov_b32_e32 v2, 0
	s_mov_b32 s15, 0xb94c1982
	v_add_nc_u32_e32 v9, 0x3000, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_3) | instid1(VALU_DEP_4)
	v_lshlrev_b64 v[3:4], 2, v[1:2]
	v_lshlrev_b64 v[7:8], 3, v[1:2]
	v_add_nc_u32_e32 v0, 0x2000, v1
	v_add_nc_u32_e32 v1, 0x1000, v1
	v_add_co_u32 v5, vcc_lo, s6, v3
	v_add_co_ci_u32_e32 v6, vcc_lo, s7, v4, vcc_lo
	global_load_b32 v10, v[5:6], off
	v_add_co_u32 v5, vcc_lo, s4, v7
	v_add_co_ci_u32_e32 v6, vcc_lo, s5, v8, vcc_lo
	v_lshlrev_b64 v[7:8], 2, v[1:2]
	s_mov_b32 s5, 0
	global_load_b64 v[5:6], v[5:6], off
	v_add_co_u32 v7, vcc_lo, s6, v7
	v_add_co_ci_u32_e32 v8, vcc_lo, s7, v8, vcc_lo
	s_waitcnt vmcnt(1)
	v_mul_f32_e32 v10, 0x42b1a723, v10
.LBB0_1:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_18 Depth 2
                                        ;       Child Loop BB0_19 Depth 3
                                        ;         Child Loop BB0_36 Depth 4
	s_lshl_b32 s4, s17, 13
	s_mov_b32 s0, exec_lo
	v_add_nc_u32_e32 v1, s4, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[11:12], 2, v[1:2]
	v_add_nc_u32_e32 v1, s4, v9
	v_lshlrev_b64 v[13:14], 2, v[1:2]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v13, vcc_lo, s6, v13
	v_add_co_ci_u32_e32 v14, vcc_lo, s7, v14, vcc_lo
	v_add_co_u32 v15, vcc_lo, s6, v11
	v_add_co_ci_u32_e32 v16, vcc_lo, s7, v12, vcc_lo
	s_clause 0x2
	global_load_b32 v11, v[13:14], off
	global_load_b32 v12, v[15:16], off
	global_load_b32 v13, v[7:8], off
	s_waitcnt vmcnt(3)
	v_add_co_u32 v14, vcc_lo, v5, s17
	v_add_co_ci_u32_e32 v15, vcc_lo, 0, v6, vcc_lo
                                        ; implicit-def: $vgpr16
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_clz_i32_u32_e32 v1, v15
	v_min_u32_e32 v1, 32, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_lshlrev_b64 v[14:15], v1, v[14:15]
	v_sub_nc_u32_e32 v1, 32, v1
	v_min_u32_e32 v14, 1, v14
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_or_b32_e32 v14, v15, v14
	v_cvt_f32_u32_e32 v14, v14
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ldexp_f32 v1, v14, v1
	v_mul_f32_e32 v15, 0x3b800000, v1
	s_delay_alu instid0(VALU_DEP_1)
	v_cmpx_nlt_f32_e32 1.0, v15
	s_xor_b32 s0, exec_lo, s0
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	v_cmp_neq_f32_e32 vcc_lo, 1.0, v15
	v_cndmask_b32_e32 v16, 0, v15, vcc_lo
; %bb.3:                                ; %Flow129
                                        ;   in Loop: Header=BB0_1 Depth=1
	s_and_not1_saveexec_b32 s0, s0
	s_cbranch_execz .LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	v_frexp_exp_i32_f32_e32 v16, v15
	v_frexp_mant_f32_e32 v1, v15
	s_mov_b32 s1, exec_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_nc_u32_e32 v14, -1, v16
	v_ldexp_f32 v1, v1, 12
	s_delay_alu instid0(VALU_DEP_2)
	v_cmpx_lt_i32_e32 12, v14
	s_cbranch_execz .LBB0_8
; %bb.5:                                ; %.preheader.i.i.i.preheader
                                        ;   in Loop: Header=BB0_1 Depth=1
	v_add_nc_u32_e32 v14, 11, v16
	s_mov_b32 s2, 0
.LBB0_6:                                ; %.preheader.i.i.i
                                        ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f32_e32 v16, v1
	v_dual_sub_f32 v1, v1, v16 :: v_dual_mov_b32 v16, v14
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cmp_gt_f32_e32 vcc_lo, 0, v1
	v_cndmask_b32_e64 v17, 0x80000000, 1.0, vcc_lo
	v_dual_add_f32 v1, v1, v17 :: v_dual_add_nc_u32 v14, -12, v16
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_gt_u32_e32 vcc_lo, 25, v14
	v_ldexp_f32 v1, v1, 12
	s_or_b32 s2, vcc_lo, s2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_not1_b32 exec_lo, exec_lo, s2
	s_cbranch_execnz .LBB0_6
; %bb.7:                                ; %Flow127
                                        ;   in Loop: Header=BB0_1 Depth=1
	s_or_b32 exec_lo, exec_lo, s2
	v_subrev_nc_u32_e32 v14, 24, v16
.LBB0_8:                                ; %Flow128
                                        ;   in Loop: Header=BB0_1 Depth=1
	s_or_b32 exec_lo, exec_lo, s1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_nc_u32_e32 v14, -11, v14
	v_ldexp_f32 v1, v1, v14
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f32_e32 v14, v1
	v_sub_f32_e32 v1, v1, v14
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cmp_gt_f32_e32 vcc_lo, 0, v1
	v_cndmask_b32_e64 v14, 0x80000000, 1.0, vcc_lo
	v_dual_add_f32 v1, v1, v14 :: v_dual_and_b32 v14, 0x80000000, v15
	s_delay_alu instid0(VALU_DEP_1)
	v_xor_b32_e32 v16, v14, v1
.LBB0_9:                                ; %Flow130
                                        ;   in Loop: Header=BB0_1 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
	s_waitcnt vmcnt(1)
	v_and_b32_e32 v14, 0x7fffffff, v12
	v_cmp_ngt_f32_e64 s2, 0x48000000, |v12|
                                        ; implicit-def: $vgpr18
                                        ; implicit-def: $vgpr17
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_lshrrev_b32_e32 v1, 23, v14
	v_and_or_b32 v19, v14, s14, 0x800000
	v_add_nc_u32_e32 v20, 0xffffff88, v1
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_saveexec_b32 s0, s2
	s_xor_b32 s3, exec_lo, s0
	s_cbranch_execz .LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_1 Depth=1
	v_mad_u64_u32 v[17:18], null, 0xfe5163ab, v19, 0
	v_cmp_lt_u32_e32 vcc_lo, 63, v20
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mov_b32_e32 v1, v18
	v_cndmask_b32_e64 v18, 0, 0xffffffc0, vcc_lo
	v_add_nc_u32_e32 v18, v18, v20
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cmp_lt_u32_e64 s0, 31, v18
	v_cndmask_b32_e64 v27, 0, 0xffffffe0, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_nc_u32_e32 v18, v27, v18
	v_mad_u64_u32 v[21:22], null, 0x3c439041, v19, v[1:2]
	v_cmp_lt_u32_e64 s1, 31, v18
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mov_b32_e32 v1, v22
	v_mad_u64_u32 v[22:23], null, 0xdb629599, v19, v[1:2]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mov_b32_e32 v1, v23
	v_cndmask_b32_e32 v17, v22, v17, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[23:24], null, 0xf534ddc0, v19, v[1:2]
	v_mov_b32_e32 v1, v24
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[24:25], null, 0xfc2757d1, v19, v[1:2]
	v_mov_b32_e32 v1, v25
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[25:26], null, 0x4e441529, v19, v[1:2]
	v_dual_mov_b32 v1, v26 :: v_dual_cndmask_b32 v28, v25, v23
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[26:27], null, 0xa2f9836e, v19, v[1:2]
	v_cndmask_b32_e64 v1, 0, 0xffffffe0, s1
	v_dual_cndmask_b32 v26, v26, v24 :: v_dual_add_nc_u32 v1, v1, v18
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_dual_cndmask_b32 v25, v27, v25 :: v_dual_cndmask_b32 v24, v24, v22
	v_cndmask_b32_e32 v18, v23, v21, vcc_lo
	v_cmp_eq_u32_e32 vcc_lo, 0, v1
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_cndmask_b32_e64 v21, v26, v28, s0
	v_cndmask_b32_e64 v23, v25, v26, s0
	v_cndmask_b32_e64 v25, v28, v24, s0
	v_sub_nc_u32_e32 v26, 32, v1
	v_cndmask_b32_e64 v24, v24, v18, s0
	v_cndmask_b32_e64 v17, v18, v17, s0
	v_cndmask_b32_e64 v23, v23, v21, s1
	v_cndmask_b32_e64 v21, v21, v25, s1
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_cndmask_b32_e64 v25, v25, v24, s1
	v_cndmask_b32_e64 v17, v24, v17, s1
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_alignbit_b32 v27, v23, v21, v26
	v_alignbit_b32 v22, v21, v25, v26
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_alignbit_b32 v24, v25, v17, v26
	v_dual_cndmask_b32 v1, v27, v23 :: v_dual_cndmask_b32 v18, v22, v21
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e32 v24, v24, v25, vcc_lo
	v_bfe_u32 v21, v1, 29, 1
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_alignbit_b32 v22, v1, v18, 30
	v_alignbit_b32 v18, v18, v24, 30
	v_alignbit_b32 v17, v24, v17, 30
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_nc_u32_e32 v23, 0, v21
	v_xor_b32_e32 v22, v22, v23
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_xor_b32_e32 v18, v18, v23
	v_xor_b32_e32 v17, v17, v23
	v_lshrrev_b32_e32 v23, 29, v1
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_clz_i32_u32_e32 v25, v22
	v_lshlrev_b32_e32 v23, 31, v23
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_min_u32_e32 v25, 32, v25
	v_or_b32_e32 v26, 0.5, v23
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_sub_nc_u32_e32 v24, 31, v25
	v_lshlrev_b32_e32 v27, 23, v25
	v_alignbit_b32 v22, v22, v18, v24
	v_alignbit_b32 v17, v18, v17, v24
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_nc_u32_e32 v26, v26, v27
	v_alignbit_b32 v18, v22, v17, 9
	v_lshrrev_b32_e32 v22, 9, v22
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_clz_i32_u32_e32 v24, v18
	v_min_u32_e32 v24, 32, v24
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_nc_u32_e32 v28, 31, v24
	v_alignbit_b32 v17, v18, v17, v28
	v_or_b32_e32 v18, v22, v26
	v_add_lshl_u32 v22, v24, v25, 23
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_lshrrev_b32_e32 v17, 9, v17
	v_mul_f32_e32 v24, 0x3fc90fda, v18
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_nc_u32_e32 v17, v17, v22
	v_fma_f32 v22, 0x3fc90fda, v18, -v24
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_nc_u32_e32 v17, 0x33000000, v17
	v_fmac_f32_e32 v22, 0x33a22168, v18
	v_lshrrev_b32_e32 v1, 30, v1
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_or_b32_e32 v17, v17, v23
	v_add_nc_u32_e32 v18, v21, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v22, 0x3fc90fda, v17
	v_add_f32_e32 v17, v24, v22
.LBB0_11:                               ; %Flow126
                                        ;   in Loop: Header=BB0_1 Depth=1
	s_or_saveexec_b32 s0, s3
	v_mul_f32_e64 v1, 0x3f22f983, |v12|
	s_delay_alu instid0(VALU_DEP_1)
	v_rndne_f32_e32 v22, v1
	s_xor_b32 exec_lo, exec_lo, s0
; %bb.12:                               ;   in Loop: Header=BB0_1 Depth=1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fma_f32 v17, 0xbfc90fda, v22, |v12|
	v_cvt_i32_f32_e32 v18, v22
	v_fmac_f32_e32 v17, 0xb3a22168, v22
	s_delay_alu instid0(VALU_DEP_1)
	v_fmac_f32_e32 v17, 0xa7c234c4, v22
; %bb.13:                               ; %_ZL4cosff.exit.i
                                        ;   in Loop: Header=BB0_1 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr21
                                        ; implicit-def: $vgpr1
	s_and_saveexec_b32 s0, s2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s2, exec_lo, s0
	s_cbranch_execz .LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_1 Depth=1
	v_mad_u64_u32 v[21:22], null, 0xfe5163ab, v19, 0
	v_cmp_lt_u32_e32 vcc_lo, 63, v20
	v_cndmask_b32_e64 v27, 0, 0xffffffc0, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_mov_b32 v1, v22 :: v_dual_add_nc_u32 v20, v27, v20
	v_mad_u64_u32 v[22:23], null, 0x3c439041, v19, v[1:2]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cmp_lt_u32_e64 s0, 31, v20
	v_cndmask_b32_e64 v28, 0, 0xffffffe0, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_mov_b32 v1, v23 :: v_dual_add_nc_u32 v20, v28, v20
	v_mad_u64_u32 v[23:24], null, 0xdb629599, v19, v[1:2]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_lt_u32_e64 s1, 31, v20
	v_mov_b32_e32 v1, v24
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e32 v21, v23, v21, vcc_lo
	v_mad_u64_u32 v[24:25], null, 0xf534ddc0, v19, v[1:2]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mov_b32_e32 v1, v25
	v_mad_u64_u32 v[25:26], null, 0xfc2757d1, v19, v[1:2]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mov_b32_e32 v1, v26
	v_mad_u64_u32 v[26:27], null, 0x4e441529, v19, v[1:2]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mov_b32_e32 v1, v27
	v_mad_u64_u32 v[27:28], null, 0xa2f9836e, v19, v[1:2]
	v_cndmask_b32_e64 v1, 0, 0xffffffe0, s1
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e32 v19, v26, v24, vcc_lo
	v_dual_cndmask_b32 v20, v24, v22 :: v_dual_add_nc_u32 v1, v1, v20
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_dual_cndmask_b32 v27, v27, v25 :: v_dual_cndmask_b32 v26, v28, v26
	v_cndmask_b32_e32 v25, v25, v23, vcc_lo
	v_cmp_eq_u32_e32 vcc_lo, 0, v1
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_cndmask_b32_e64 v22, v27, v19, s0
	v_cndmask_b32_e64 v24, v26, v27, s0
	s_delay_alu instid0(VALU_DEP_4)
	v_cndmask_b32_e64 v19, v19, v25, s0
	v_sub_nc_u32_e32 v26, 32, v1
	v_cndmask_b32_e64 v25, v25, v20, s0
	v_cndmask_b32_e64 v20, v20, v21, s0
	v_cndmask_b32_e64 v24, v24, v22, s1
	v_cndmask_b32_e64 v22, v22, v19, s1
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_cndmask_b32_e64 v19, v19, v25, s1
	v_cndmask_b32_e64 v20, v25, v20, s1
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_alignbit_b32 v27, v24, v22, v26
	v_alignbit_b32 v23, v22, v19, v26
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_alignbit_b32 v25, v19, v20, v26
	v_cndmask_b32_e32 v1, v27, v24, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cndmask_b32_e32 v21, v23, v22, vcc_lo
	v_cndmask_b32_e32 v19, v25, v19, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_bfe_u32 v22, v1, 29, 1
	v_alignbit_b32 v23, v1, v21, 30
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_alignbit_b32 v21, v21, v19, 30
	v_alignbit_b32 v19, v19, v20, 30
	v_sub_nc_u32_e32 v24, 0, v22
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_xor_b32_e32 v23, v23, v24
	v_xor_b32_e32 v20, v21, v24
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_xor_b32_e32 v19, v19, v24
	v_clz_i32_u32_e32 v25, v23
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_min_u32_e32 v25, 32, v25
	v_sub_nc_u32_e32 v21, 31, v25
	v_lshlrev_b32_e32 v27, 23, v25
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_2)
	v_alignbit_b32 v23, v23, v20, v21
	v_alignbit_b32 v19, v20, v19, v21
	v_lshrrev_b32_e32 v21, 29, v1
	v_alignbit_b32 v20, v23, v19, 9
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_lshlrev_b32_e32 v21, 31, v21
	v_lshrrev_b32_e32 v23, 9, v23
	v_clz_i32_u32_e32 v24, v20
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_or_b32_e32 v26, 0.5, v21
	v_min_u32_e32 v24, 32, v24
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_nc_u32_e32 v26, v26, v27
	v_sub_nc_u32_e32 v28, 31, v24
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_alignbit_b32 v19, v20, v19, v28
	v_or_b32_e32 v20, v23, v26
	v_add_lshl_u32 v23, v24, v25, 23
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_lshrrev_b32_e32 v19, 9, v19
	v_mul_f32_e32 v24, 0x3fc90fda, v20
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_nc_u32_e32 v19, v19, v23
	v_fma_f32 v23, 0x3fc90fda, v20, -v24
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_nc_u32_e32 v19, 0x33000000, v19
	v_fmac_f32_e32 v23, 0x33a22168, v20
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_or_b32_e32 v19, v19, v21
	v_fmac_f32_e32 v23, 0x3fc90fda, v19
	v_lshrrev_b32_e32 v19, 30, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v1, v24, v23
	v_add_nc_u32_e32 v21, v22, v19
                                        ; implicit-def: $vgpr22
.LBB0_15:                               ; %Flow125
                                        ;   in Loop: Header=BB0_1 Depth=1
	s_and_not1_saveexec_b32 s0, s2
; %bb.16:                               ;   in Loop: Header=BB0_1 Depth=1
	v_fma_f32 v1, 0xbfc90fda, v22, |v12|
	v_cvt_i32_f32_e32 v21, v22
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v1, 0xb3a22168, v22
	v_fmac_f32_e32 v1, 0xa7c234c4, v22
; %bb.17:                               ; %_ZL4sinff.exit.i
                                        ;   in Loop: Header=BB0_1 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
	v_dual_mul_f32 v19, v17, v17 :: v_dual_and_b32 v20, 1, v18
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_mul_f32_e32 v22, v1, v1
	v_xor_b32_e32 v14, v14, v12
	v_cmp_lg_f32_e64 s0, 0x7f800000, v15
	v_fmaak_f32 v23, s15, v19, 0x3c0881c4
	v_dual_fmaak_f32 v24, s16, v19, 0xbab64f3b :: v_dual_and_b32 v25, 1, v21
	v_lshlrev_b32_e32 v18, 30, v18
	v_dual_fmaak_f32 v26, s15, v22, 0x3c0881c4 :: v_dual_lshlrev_b32 v21, 30, v21
	v_fmaak_f32 v27, s16, v22, 0xbab64f3b
	v_fmaak_f32 v23, v19, v23, 0xbe2aaa9d
	v_fmaak_f32 v24, v19, v24, 0x3d2aabf7
	s_delay_alu instid0(VALU_DEP_4)
	v_fmaak_f32 v26, v22, v26, 0xbe2aaa9d
	v_cmp_eq_u32_e32 vcc_lo, 0, v20
	v_fmaak_f32 v27, v22, v27, 0x3d2aabf7
	v_mul_f32_e32 v23, v19, v23
	v_fmaak_f32 v24, v19, v24, 0xbf000004
	v_and_b32_e32 v18, 0x80000000, v18
	v_dual_mul_f32 v26, v22, v26 :: v_dual_and_b32 v21, 0x80000000, v21
	v_fmaak_f32 v27, v22, v27, 0xbf000004
	v_fmac_f32_e32 v17, v17, v23
	v_fma_f32 v19, v19, v24, 1.0
	s_delay_alu instid0(VALU_DEP_4)
	v_fmac_f32_e32 v1, v1, v26
	v_cndmask_b32_e64 v16, 0x7fc00000, v16, s0
	v_fma_f32 v22, v22, v27, 1.0
	s_mov_b64 s[8:9], 0
	v_cndmask_b32_e64 v17, -v17, v19, vcc_lo
	v_cmp_eq_u32_e32 vcc_lo, 0, v25
	v_mov_b32_e32 v15, 0
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_xor_b32_e32 v17, v18, v17
	v_cndmask_b32_e32 v1, v22, v1, vcc_lo
	v_cmp_class_f32_e64 vcc_lo, v12, 0x1f8
	v_mul_f32_e32 v19, 0x42b1a723, v17
	s_delay_alu instid0(VALU_DEP_3)
	v_xor3_b32 v1, v14, v21, v1
	v_mul_f32_e32 v14, 0x34000000, v11
	v_mul_f32_e32 v17, 0xc096cbe4, v11
	s_waitcnt vmcnt(0)
	v_mul_f32_e32 v21, 0x42b1a723, v13
	v_cndmask_b32_e32 v19, 0x7fc00000, v19, vcc_lo
	v_dual_mul_f32 v1, 0x42b1a723, v1 :: v_dual_mul_f32 v18, 0.5, v14
	s_delay_alu instid0(VALU_DEP_1)
	v_dual_mov_b32 v13, 0 :: v_dual_cndmask_b32 v20, 0x7fc00000, v1
.LBB0_18:                               ; %.preheader.i
                                        ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_19 Depth 3
                                        ;         Child Loop BB0_36 Depth 4
	s_clz_i32_u32 s0, s9
	v_dual_mov_b32 v22, 0 :: v_dual_mov_b32 v23, 0
	s_min_u32 s2, s0, 32
	s_mov_b64 s[10:11], 0
	s_lshl_b64 s[0:1], s[8:9], s2
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_min_u32 s0, s0, 1
	s_or_b32 s0, s1, s0
	s_delay_alu instid0(SALU_CYCLE_1)
	v_cvt_f32_u32_e32 v1, s0
	s_sub_i32 s0, 32, s2
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	v_ldexp_f32 v1, v1, s0
	s_delay_alu instid0(VALU_DEP_1)
	v_fmamk_f32 v24, v1, 0x39000000, v16
.LBB0_19:                               ;   Parent Loop BB0_1 Depth=1
                                        ;     Parent Loop BB0_18 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_36 Depth 4
	s_clz_i32_u32 s0, s11
                                        ; implicit-def: $vgpr28
                                        ; implicit-def: $vgpr27
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_min_u32 s2, s0, 32
	s_lshl_b64 s[0:1], s[10:11], s2
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_min_u32 s0, s0, 1
	s_or_b32 s0, s1, s0
	s_delay_alu instid0(SALU_CYCLE_1)
	v_cvt_f32_u32_e32 v1, s0
	s_sub_i32 s0, 32, s2
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	v_ldexp_f32 v1, v1, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmamk_f32 v1, v1, 0x36800000, v24
	v_mul_f32_e32 v25, 0x40c90fdb, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_and_b32_e32 v26, 0x7fffffff, v25
	v_cmp_ngt_f32_e64 s2, 0x48000000, |v25|
	v_lshrrev_b32_e32 v1, 23, v26
	v_and_or_b32 v29, v26, s14, 0x800000
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_nc_u32_e32 v30, 0xffffff88, v1
	s_and_saveexec_b32 s0, s2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s3, exec_lo, s0
	s_cbranch_execz .LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=3
	v_mad_u64_u32 v[27:28], null, 0xfe5163ab, v29, 0
	v_cmp_lt_u32_e32 vcc_lo, 63, v30
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mov_b32_e32 v1, v28
	v_cndmask_b32_e64 v28, 0, 0xffffffc0, vcc_lo
	v_add_nc_u32_e32 v28, v28, v30
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cmp_lt_u32_e64 s0, 31, v28
	v_cndmask_b32_e64 v37, 0, 0xffffffe0, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_nc_u32_e32 v28, v37, v28
	v_mad_u64_u32 v[31:32], null, 0x3c439041, v29, v[1:2]
	v_cmp_lt_u32_e64 s1, 31, v28
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mov_b32_e32 v1, v32
	v_mad_u64_u32 v[32:33], null, 0xdb629599, v29, v[1:2]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mov_b32_e32 v1, v33
	v_cndmask_b32_e32 v27, v32, v27, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[33:34], null, 0xf534ddc0, v29, v[1:2]
	v_mov_b32_e32 v1, v34
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[34:35], null, 0xfc2757d1, v29, v[1:2]
	v_mov_b32_e32 v1, v35
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[35:36], null, 0x4e441529, v29, v[1:2]
	v_dual_mov_b32 v1, v36 :: v_dual_cndmask_b32 v38, v35, v33
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[36:37], null, 0xa2f9836e, v29, v[1:2]
	v_cndmask_b32_e64 v1, 0, 0xffffffe0, s1
	v_dual_cndmask_b32 v36, v36, v34 :: v_dual_add_nc_u32 v1, v1, v28
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_dual_cndmask_b32 v35, v37, v35 :: v_dual_cndmask_b32 v34, v34, v32
	v_cndmask_b32_e32 v28, v33, v31, vcc_lo
	v_cmp_eq_u32_e32 vcc_lo, 0, v1
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_cndmask_b32_e64 v31, v36, v38, s0
	v_cndmask_b32_e64 v33, v35, v36, s0
	v_cndmask_b32_e64 v35, v38, v34, s0
	v_sub_nc_u32_e32 v36, 32, v1
	v_cndmask_b32_e64 v34, v34, v28, s0
	v_cndmask_b32_e64 v27, v28, v27, s0
	v_cndmask_b32_e64 v33, v33, v31, s1
	v_cndmask_b32_e64 v31, v31, v35, s1
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_cndmask_b32_e64 v35, v35, v34, s1
	v_cndmask_b32_e64 v27, v34, v27, s1
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_alignbit_b32 v37, v33, v31, v36
	v_alignbit_b32 v32, v31, v35, v36
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_alignbit_b32 v34, v35, v27, v36
	v_dual_cndmask_b32 v1, v37, v33 :: v_dual_cndmask_b32 v28, v32, v31
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e32 v34, v34, v35, vcc_lo
	v_bfe_u32 v31, v1, 29, 1
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_alignbit_b32 v32, v1, v28, 30
	v_alignbit_b32 v28, v28, v34, 30
	v_alignbit_b32 v27, v34, v27, 30
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_nc_u32_e32 v33, 0, v31
	v_xor_b32_e32 v32, v32, v33
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_xor_b32_e32 v28, v28, v33
	v_xor_b32_e32 v27, v27, v33
	v_lshrrev_b32_e32 v33, 29, v1
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_clz_i32_u32_e32 v35, v32
	v_lshlrev_b32_e32 v33, 31, v33
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_min_u32_e32 v35, 32, v35
	v_or_b32_e32 v36, 0.5, v33
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_sub_nc_u32_e32 v34, 31, v35
	v_lshlrev_b32_e32 v37, 23, v35
	v_alignbit_b32 v32, v32, v28, v34
	v_alignbit_b32 v27, v28, v27, v34
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_nc_u32_e32 v36, v36, v37
	v_alignbit_b32 v28, v32, v27, 9
	v_lshrrev_b32_e32 v32, 9, v32
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_clz_i32_u32_e32 v34, v28
	v_min_u32_e32 v34, 32, v34
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_nc_u32_e32 v38, 31, v34
	v_alignbit_b32 v27, v28, v27, v38
	v_or_b32_e32 v28, v32, v36
	v_add_lshl_u32 v32, v34, v35, 23
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_lshrrev_b32_e32 v27, 9, v27
	v_mul_f32_e32 v34, 0x3fc90fda, v28
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_nc_u32_e32 v27, v27, v32
	v_fma_f32 v32, 0x3fc90fda, v28, -v34
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_nc_u32_e32 v27, 0x33000000, v27
	v_fmac_f32_e32 v32, 0x33a22168, v28
	v_lshrrev_b32_e32 v1, 30, v1
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_or_b32_e32 v27, v27, v33
	v_add_nc_u32_e32 v28, v31, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v32, 0x3fc90fda, v27
	v_add_f32_e32 v27, v34, v32
.LBB0_21:                               ; %Flow124
                                        ;   in Loop: Header=BB0_19 Depth=3
	s_or_saveexec_b32 s0, s3
	v_mul_f32_e64 v1, 0x3f22f983, |v25|
	s_delay_alu instid0(VALU_DEP_1)
	v_rndne_f32_e32 v33, v1
	s_xor_b32 exec_lo, exec_lo, s0
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=3
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fma_f32 v27, 0xbfc90fda, v33, |v25|
	v_cvt_i32_f32_e32 v28, v33
	v_fmac_f32_e32 v27, 0xb3a22168, v33
	s_delay_alu instid0(VALU_DEP_1)
	v_fmac_f32_e32 v27, 0xa7c234c4, v33
; %bb.23:                               ; %_ZL4cosff.exit238.i
                                        ;   in Loop: Header=BB0_19 Depth=3
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr32
                                        ; implicit-def: $vgpr31
	s_and_saveexec_b32 s0, s2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s3, exec_lo, s0
	s_cbranch_execz .LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_19 Depth=3
	v_mad_u64_u32 v[31:32], null, 0xfe5163ab, v29, 0
	v_cmp_lt_u32_e32 vcc_lo, 63, v30
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mov_b32_e32 v1, v32
	v_cndmask_b32_e64 v32, 0, 0xffffffc0, vcc_lo
	v_mad_u64_u32 v[34:35], null, 0x3c439041, v29, v[1:2]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_nc_u32_e32 v32, v32, v30
	v_cmp_lt_u32_e64 s0, 31, v32
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mov_b32_e32 v1, v35
	v_cndmask_b32_e64 v40, 0, 0xffffffe0, s0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mad_u64_u32 v[35:36], null, 0xdb629599, v29, v[1:2]
	v_add_nc_u32_e32 v32, v40, v32
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_mov_b32_e32 v1, v36
	v_cndmask_b32_e32 v31, v35, v31, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_lt_u32_e64 s1, 31, v32
	v_mad_u64_u32 v[36:37], null, 0xf534ddc0, v29, v[1:2]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mov_b32_e32 v1, v37
	v_mad_u64_u32 v[37:38], null, 0xfc2757d1, v29, v[1:2]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mov_b32_e32 v1, v38
	v_mad_u64_u32 v[38:39], null, 0x4e441529, v29, v[1:2]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mov_b32_e32 v1, v39
	v_cndmask_b32_e32 v41, v38, v36, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[39:40], null, 0xa2f9836e, v29, v[1:2]
	v_cndmask_b32_e64 v1, 0, 0xffffffe0, s1
	v_add_nc_u32_e32 v1, v1, v32
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_dual_cndmask_b32 v39, v39, v37 :: v_dual_cndmask_b32 v38, v40, v38
	v_dual_cndmask_b32 v37, v37, v35 :: v_dual_cndmask_b32 v32, v36, v34
	v_cmp_eq_u32_e32 vcc_lo, 0, v1
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_cndmask_b32_e64 v34, v39, v41, s0
	v_cndmask_b32_e64 v36, v38, v39, s0
	s_delay_alu instid0(VALU_DEP_4)
	v_cndmask_b32_e64 v38, v41, v37, s0
	v_sub_nc_u32_e32 v39, 32, v1
	v_cndmask_b32_e64 v37, v37, v32, s0
	v_cndmask_b32_e64 v31, v32, v31, s0
	v_cndmask_b32_e64 v36, v36, v34, s1
	v_cndmask_b32_e64 v34, v34, v38, s1
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_cndmask_b32_e64 v38, v38, v37, s1
	v_cndmask_b32_e64 v31, v37, v31, s1
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_alignbit_b32 v40, v36, v34, v39
	v_alignbit_b32 v35, v34, v38, v39
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_alignbit_b32 v37, v38, v31, v39
	v_dual_cndmask_b32 v1, v40, v36 :: v_dual_cndmask_b32 v32, v35, v34
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e32 v37, v37, v38, vcc_lo
	v_bfe_u32 v34, v1, 29, 1
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_alignbit_b32 v35, v1, v32, 30
	v_alignbit_b32 v32, v32, v37, 30
	v_alignbit_b32 v31, v37, v31, 30
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_nc_u32_e32 v36, 0, v34
	v_xor_b32_e32 v35, v35, v36
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_xor_b32_e32 v32, v32, v36
	v_xor_b32_e32 v31, v31, v36
	v_lshrrev_b32_e32 v36, 29, v1
	v_lshrrev_b32_e32 v1, 30, v1
	v_clz_i32_u32_e32 v38, v35
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_lshlrev_b32_e32 v36, 31, v36
	v_min_u32_e32 v38, 32, v38
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_or_b32_e32 v39, 0.5, v36
	v_sub_nc_u32_e32 v37, 31, v38
	v_lshlrev_b32_e32 v40, 23, v38
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_alignbit_b32 v35, v35, v32, v37
	v_alignbit_b32 v31, v32, v31, v37
	v_sub_nc_u32_e32 v39, v39, v40
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_alignbit_b32 v32, v35, v31, 9
	v_lshrrev_b32_e32 v35, 9, v35
	v_clz_i32_u32_e32 v37, v32
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_min_u32_e32 v37, 32, v37
	v_sub_nc_u32_e32 v41, 31, v37
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_alignbit_b32 v31, v32, v31, v41
	v_or_b32_e32 v32, v35, v39
	v_add_lshl_u32 v35, v37, v38, 23
	v_lshrrev_b32_e32 v31, 9, v31
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mul_f32_e32 v37, 0x3fc90fda, v32
	v_sub_nc_u32_e32 v31, v31, v35
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v35, 0x3fc90fda, v32, -v37
	v_add_nc_u32_e32 v31, 0x33000000, v31
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_fmac_f32 v35, 0x33a22168, v32 :: v_dual_add_nc_u32 v32, v34, v1
	v_or_b32_e32 v31, v31, v36
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v35, 0x3fc90fda, v31
	v_add_f32_e32 v31, v37, v35
.LBB0_25:                               ; %Flow123
                                        ;   in Loop: Header=BB0_19 Depth=3
	s_and_not1_saveexec_b32 s0, s3
; %bb.26:                               ;   in Loop: Header=BB0_19 Depth=3
	v_fma_f32 v31, 0xbfc90fda, v33, |v25|
	v_cvt_i32_f32_e32 v32, v33
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v31, 0xb3a22168, v33
	v_fmac_f32_e32 v31, 0xa7c234c4, v33
; %bb.27:                               ; %_ZL4sinff.exit246.i
                                        ;   in Loop: Header=BB0_19 Depth=3
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr35
                                        ; implicit-def: $vgpr34
	s_and_saveexec_b32 s0, s2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s3, exec_lo, s0
	s_cbranch_execz .LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_19 Depth=3
	v_cmp_lt_u32_e32 vcc_lo, 63, v30
	v_mad_u64_u32 v[34:35], null, 0xfe5163ab, v29, 0
	v_cndmask_b32_e64 v40, 0, 0xffffffc0, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_nc_u32_e32 v41, v40, v30
	v_cmp_lt_u32_e64 s0, 31, v41
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v42, 0, 0xffffffe0, s0
	v_dual_mov_b32 v1, v35 :: v_dual_add_nc_u32 v42, v42, v41
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mad_u64_u32 v[35:36], null, 0x3c439041, v29, v[1:2]
	v_cmp_lt_u32_e64 s1, 31, v42
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mov_b32_e32 v1, v36
	v_mad_u64_u32 v[36:37], null, 0xdb629599, v29, v[1:2]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_mov_b32 v1, v37 :: v_dual_cndmask_b32 v34, v36, v34
	v_mad_u64_u32 v[37:38], null, 0xf534ddc0, v29, v[1:2]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mov_b32_e32 v1, v38
	v_cndmask_b32_e32 v35, v37, v35, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mad_u64_u32 v[38:39], null, 0xfc2757d1, v29, v[1:2]
	v_cndmask_b32_e64 v34, v35, v34, s0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mov_b32_e32 v1, v39
	v_mad_u64_u32 v[39:40], null, 0x4e441529, v29, v[1:2]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mov_b32_e32 v1, v40
	v_cndmask_b32_e32 v43, v39, v37, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[40:41], null, 0xa2f9836e, v29, v[1:2]
	v_cndmask_b32_e64 v1, 0, 0xffffffe0, s1
	v_add_nc_u32_e32 v1, v1, v42
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_dual_cndmask_b32 v40, v40, v38 :: v_dual_cndmask_b32 v39, v41, v39
	v_cndmask_b32_e32 v38, v38, v36, vcc_lo
	v_sub_nc_u32_e32 v41, 32, v1
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_cndmask_b32_e64 v37, v40, v43, s0
	v_cndmask_b32_e64 v39, v39, v40, s0
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_cndmask_b32_e64 v40, v43, v38, s0
	v_cndmask_b32_e64 v38, v38, v35, s0
	v_cmp_eq_u32_e32 vcc_lo, 0, v1
	v_cndmask_b32_e64 v39, v39, v37, s1
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_cndmask_b32_e64 v37, v37, v40, s1
	v_cndmask_b32_e64 v40, v40, v38, s1
	v_cndmask_b32_e64 v34, v38, v34, s1
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_alignbit_b32 v42, v39, v37, v41
	v_alignbit_b32 v36, v37, v40, v41
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e32 v1, v42, v39, vcc_lo
	v_cndmask_b32_e32 v35, v36, v37, vcc_lo
	v_alignbit_b32 v39, v40, v34, v41
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_bfe_u32 v36, v1, 29, 1
	v_alignbit_b32 v37, v1, v35, 30
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cndmask_b32_e32 v39, v39, v40, vcc_lo
	v_sub_nc_u32_e32 v38, 0, v36
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_alignbit_b32 v35, v35, v39, 30
	v_alignbit_b32 v34, v39, v34, 30
	v_xor_b32_e32 v37, v37, v38
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_xor_b32_e32 v35, v35, v38
	v_xor_b32_e32 v34, v34, v38
	v_lshrrev_b32_e32 v38, 29, v1
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_clz_i32_u32_e32 v40, v37
	v_lshrrev_b32_e32 v1, 30, v1
	v_lshlrev_b32_e32 v38, 31, v38
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_min_u32_e32 v40, 32, v40
	v_or_b32_e32 v41, 0.5, v38
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_sub_nc_u32_e32 v39, 31, v40
	v_lshlrev_b32_e32 v42, 23, v40
	v_alignbit_b32 v37, v37, v35, v39
	v_alignbit_b32 v34, v35, v34, v39
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_nc_u32_e32 v41, v41, v42
	v_alignbit_b32 v35, v37, v34, 9
	v_lshrrev_b32_e32 v37, 9, v37
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_clz_i32_u32_e32 v39, v35
	v_min_u32_e32 v39, 32, v39
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_nc_u32_e32 v43, 31, v39
	v_alignbit_b32 v34, v35, v34, v43
	v_or_b32_e32 v35, v37, v41
	v_add_lshl_u32 v37, v39, v40, 23
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_lshrrev_b32_e32 v34, 9, v34
	v_mul_f32_e32 v39, 0x3fc90fda, v35
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_nc_u32_e32 v34, v34, v37
	v_fma_f32 v37, 0x3fc90fda, v35, -v39
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_nc_u32_e32 v34, 0x33000000, v34
	v_fmac_f32_e32 v37, 0x33a22168, v35
	v_add_nc_u32_e32 v35, v36, v1
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_or_b32_e32 v34, v34, v38
	v_fmac_f32_e32 v37, 0x3fc90fda, v34
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f32_e32 v34, v39, v37
.LBB0_29:                               ; %Flow122
                                        ;   in Loop: Header=BB0_19 Depth=3
	s_and_not1_saveexec_b32 s0, s3
; %bb.30:                               ;   in Loop: Header=BB0_19 Depth=3
	v_fma_f32 v34, 0xbfc90fda, v33, |v25|
	v_cvt_i32_f32_e32 v35, v33
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v34, 0xb3a22168, v33
	v_fmac_f32_e32 v34, 0xa7c234c4, v33
; %bb.31:                               ; %_ZL4cosff.exit252.i
                                        ;   in Loop: Header=BB0_19 Depth=3
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr36
                                        ; implicit-def: $vgpr1
	s_and_saveexec_b32 s0, s2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s2, exec_lo, s0
	s_cbranch_execz .LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_19 Depth=3
	v_mad_u64_u32 v[36:37], null, 0xfe5163ab, v29, 0
	v_cmp_lt_u32_e32 vcc_lo, 63, v30
	v_cndmask_b32_e64 v33, 0, 0xffffffc0, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mov_b32_e32 v1, v37
	v_add_nc_u32_e32 v30, v33, v30
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mad_u64_u32 v[37:38], null, 0x3c439041, v29, v[1:2]
	v_cmp_lt_u32_e64 s0, 31, v30
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mov_b32_e32 v1, v38
	v_cndmask_b32_e64 v33, 0, 0xffffffe0, s0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mad_u64_u32 v[38:39], null, 0xdb629599, v29, v[1:2]
	v_add_nc_u32_e32 v30, v33, v30
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_lt_u32_e64 s1, 31, v30
	v_dual_mov_b32 v1, v39 :: v_dual_cndmask_b32 v36, v38, v36
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[39:40], null, 0xf534ddc0, v29, v[1:2]
	v_mov_b32_e32 v1, v40
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[40:41], null, 0xfc2757d1, v29, v[1:2]
	v_mov_b32_e32 v1, v41
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[41:42], null, 0x4e441529, v29, v[1:2]
	v_mov_b32_e32 v1, v42
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_mad_u64_u32 v[42:43], null, 0xa2f9836e, v29, v[1:2]
	v_cndmask_b32_e64 v1, 0, 0xffffffe0, s1
	v_cndmask_b32_e32 v29, v41, v39, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_nc_u32_e32 v1, v1, v30
	v_cndmask_b32_e32 v33, v42, v40, vcc_lo
	v_dual_cndmask_b32 v41, v43, v41 :: v_dual_cndmask_b32 v40, v40, v38
	v_cndmask_b32_e32 v30, v39, v37, vcc_lo
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_sub_nc_u32_e32 v39, 32, v1
	v_cndmask_b32_e64 v37, v33, v29, s0
	s_delay_alu instid0(VALU_DEP_4)
	v_cndmask_b32_e64 v33, v41, v33, s0
	v_cndmask_b32_e64 v29, v29, v40, s0
	v_cndmask_b32_e64 v40, v40, v30, s0
	v_cmp_eq_u32_e32 vcc_lo, 0, v1
	v_cndmask_b32_e64 v30, v30, v36, s0
	v_cndmask_b32_e64 v33, v33, v37, s1
	v_cndmask_b32_e64 v37, v37, v29, s1
	v_cndmask_b32_e64 v29, v29, v40, s1
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v30, v40, v30, s1
	v_alignbit_b32 v41, v33, v37, v39
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_alignbit_b32 v38, v37, v29, v39
	v_alignbit_b32 v39, v29, v30, v39
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cndmask_b32_e32 v1, v41, v33, vcc_lo
	v_cndmask_b32_e32 v33, v38, v37, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cndmask_b32_e32 v29, v39, v29, vcc_lo
	v_bfe_u32 v36, v1, 29, 1
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_alignbit_b32 v37, v1, v33, 30
	v_alignbit_b32 v33, v33, v29, 30
	v_alignbit_b32 v29, v29, v30, 30
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_nc_u32_e32 v38, 0, v36
	v_xor_b32_e32 v37, v37, v38
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_xor_b32_e32 v30, v33, v38
	v_xor_b32_e32 v29, v29, v38
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_clz_i32_u32_e32 v39, v37
	v_min_u32_e32 v39, 32, v39
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_sub_nc_u32_e32 v33, 31, v39
	v_lshlrev_b32_e32 v41, 23, v39
	v_alignbit_b32 v37, v37, v30, v33
	v_alignbit_b32 v29, v30, v29, v33
	v_lshrrev_b32_e32 v33, 29, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_alignbit_b32 v30, v37, v29, 9
	v_lshlrev_b32_e32 v33, 31, v33
	v_lshrrev_b32_e32 v37, 9, v37
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_clz_i32_u32_e32 v38, v30
	v_or_b32_e32 v40, 0.5, v33
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_min_u32_e32 v38, 32, v38
	v_sub_nc_u32_e32 v40, v40, v41
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_nc_u32_e32 v42, 31, v38
	v_alignbit_b32 v29, v30, v29, v42
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_or_b32_e32 v30, v37, v40
	v_add_lshl_u32 v37, v38, v39, 23
	v_lshrrev_b32_e32 v29, 9, v29
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mul_f32_e32 v38, 0x3fc90fda, v30
	v_sub_nc_u32_e32 v29, v29, v37
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v37, 0x3fc90fda, v30, -v38
	v_add_nc_u32_e32 v29, 0x33000000, v29
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fmac_f32_e32 v37, 0x33a22168, v30
	v_or_b32_e32 v29, v29, v33
                                        ; implicit-def: $vgpr33
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fmac_f32_e32 v37, 0x3fc90fda, v29
	v_lshrrev_b32_e32 v29, 30, v1
	v_add_f32_e32 v1, v38, v37
	s_delay_alu instid0(VALU_DEP_2)
	v_add_nc_u32_e32 v36, v36, v29
.LBB0_33:                               ; %Flow
                                        ;   in Loop: Header=BB0_19 Depth=3
	s_and_not1_saveexec_b32 s0, s2
; %bb.34:                               ;   in Loop: Header=BB0_19 Depth=3
	v_fma_f32 v1, 0xbfc90fda, v33, |v25|
	v_cvt_i32_f32_e32 v36, v33
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v1, 0xb3a22168, v33
	v_fmac_f32_e32 v1, 0xa7c234c4, v33
; %bb.35:                               ; %_ZL4sinff.exit260.i
                                        ;   in Loop: Header=BB0_19 Depth=3
	s_or_b32 exec_lo, exec_lo, s0
	v_dual_mul_f32 v29, v34, v34 :: v_dual_and_b32 v30, 1, v35
	v_mul_f32_e32 v33, v31, v31
	s_mov_b64 s[12:13], 0
	v_mul_f32_e32 v42, v27, v27
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fmaak_f32 v38, s16, v29, 0xbab64f3b
	v_fmaak_f32 v37, s15, v29, 0x3c0881c4
	v_dual_fmaak_f32 v40, s15, v33, 0x3c0881c4 :: v_dual_lshlrev_b32 v35, 30, v35
	v_dual_fmaak_f32 v38, v29, v38, 0x3d2aabf7 :: v_dual_and_b32 v39, 1, v32
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_dual_fmaak_f32 v37, v29, v37, 0xbe2aaa9d :: v_dual_lshlrev_b32 v32, 30, v32
	v_cmp_eq_u32_e32 vcc_lo, 0, v30
	v_dual_fmaak_f32 v30, s16, v42, 0xbab64f3b :: v_dual_mul_f32 v37, v29, v37
	v_and_b32_e32 v35, 0x80000000, v35
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_and_b32_e32 v32, 0x80000000, v32
	v_fmaak_f32 v30, v42, v30, 0x3d2aabf7
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_dual_fmac_f32 v34, v34, v37 :: v_dual_fmaak_f32 v37, s15, v42, 0x3c0881c4
	v_fmaak_f32 v40, v33, v40, 0xbe2aaa9d
	v_fmaak_f32 v41, s16, v33, 0xbab64f3b
	v_fmaak_f32 v30, v42, v30, 0xbf000004
	v_xor_b32_e32 v32, v26, v32
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_mul_f32_e32 v40, v33, v40
	v_fmaak_f32 v41, v33, v41, 0x3d2aabf7
	v_fmaak_f32 v38, v29, v38, 0xbf000004
	v_fma_f32 v30, v42, v30, 1.0
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_fmac_f32_e32 v31, v31, v40
	v_fmaak_f32 v41, v33, v41, 0xbf000004
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v29, v29, v38, 1.0
	v_fma_f32 v33, v33, v41, 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v29, -v34, v29, vcc_lo
	v_mul_f32_e32 v34, v1, v1
	v_cmp_eq_u32_e32 vcc_lo, 0, v39
	v_xor_b32_e32 v29, v35, v29
	v_cndmask_b32_e32 v31, v33, v31, vcc_lo
	v_fmaak_f32 v33, v42, v37, 0xbe2aaa9d
	v_fmaak_f32 v37, s15, v34, 0x3c0881c4
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_fmaak_f32 v38, s16, v34, 0xbab64f3b :: v_dual_mul_f32 v33, v42, v33
	v_fmaak_f32 v37, v34, v37, 0xbe2aaa9d
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_fmaak_f32 v38, v34, v38, 0x3d2aabf7 :: v_dual_fmac_f32 v27, v27, v33
	v_mul_f32_e32 v33, v34, v37
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_fmaak_f32 v37, v34, v38, 0xbf000004 :: v_dual_and_b32 v38, 1, v28
	v_dual_fmac_f32 v1, v1, v33 :: v_dual_lshlrev_b32 v28, 30, v28
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_fma_f32 v33, v34, v37, 1.0
	v_and_b32_e32 v34, 1, v36
	v_cmp_eq_u32_e32 vcc_lo, 0, v38
	v_cndmask_b32_e64 v27, -v27, v30, vcc_lo
	s_delay_alu instid0(VALU_DEP_3)
	v_cmp_eq_u32_e32 vcc_lo, 0, v34
	v_and_b32_e32 v28, 0x80000000, v28
	v_xor3_b32 v30, v32, v31, v25
	v_cndmask_b32_e32 v1, v33, v1, vcc_lo
	v_cmp_class_f32_e64 vcc_lo, v25, 0x1f8
	v_lshlrev_b32_e32 v39, 30, v36
	v_xor_b32_e32 v27, v28, v27
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_and_b32_e32 v36, 0x80000000, v39
	v_cndmask_b32_e32 v27, 0x7fc00000, v27, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_xor_b32_e32 v26, v26, v36
	v_xor3_b32 v1, v26, v1, v25
	v_cndmask_b32_e32 v26, 0x7fc00000, v30, vcc_lo
	v_cndmask_b32_e32 v25, 0x7fc00000, v29, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_mov_b32 v29, 0 :: v_dual_cndmask_b32 v28, 0x7fc00000, v1
	v_mul_f32_e32 v1, v21, v25
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_mul_f32_e32 v25, v10, v26
	v_mul_f32_e32 v26, v10, v27
	v_mul_f32_e64 v27, v28, -v21
	v_mov_b32_e32 v28, 0
.LBB0_36:                               ;   Parent Loop BB0_1 Depth=1
                                        ;     Parent Loop BB0_18 Depth=2
                                        ;       Parent Loop BB0_19 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	s_delay_alu instid0(VALU_DEP_1)
	v_dual_add_f32 v31, v23, v29 :: v_dual_add_f32 v32, v22, v28
	v_mul_f32_e32 v33, 0.15915494, v15
	s_clz_i32_u32 s0, s13
	v_fma_f32 v30, 0x34000000, v13, 0
	s_min_u32 s2, s0, 32
	v_mul_f32_e32 v32, 0.15915494, v32
	v_cos_f32_e32 v35, v33
	v_sin_f32_e32 v33, v33
	s_lshl_b64 s[0:1], s[12:13], s2
	s_sub_i32 s2, 32, s2
	s_min_u32 s0, s0, 1
	v_add_f32_e32 v34, v18, v15
	s_or_b32 s0, s1, s0
	s_add_u32 s12, s12, 1
	s_addc_u32 s13, s13, 0
	v_cvt_f32_u32_e32 v39, s0
	s_clz_i32_u32 s0, s13
	s_waitcnt_depctr 0xfff
	v_mul_f32_e32 v45, v19, v33
	v_dual_add_f32 v15, v14, v15 :: v_dual_mul_f32 v34, 0.15915494, v34
	s_min_u32 s3, s0, 32
	v_fma_f32 v36, 0x34000000, v31, 0
	s_lshl_b64 s[0:1], s[12:13], s3
	s_delay_alu instid0(VALU_DEP_2)
	v_dual_mul_f32 v38, 0.15915494, v15 :: v_dual_mul_f32 v33, v20, v33
	s_min_u32 s0, s0, 1
	v_fma_f32 v37, 0.5, v30, v22
	s_or_b32 s0, s1, s0
	v_fma_f32 v41, 0.5, v36, v28
	v_cos_f32_e32 v42, v34
	v_cos_f32_e32 v43, v38
	v_ldexp_f32 v39, v39, s2
	v_cvt_f32_u32_e32 v50, s0
	s_sub_i32 s2, 32, s3
	v_dual_mul_f32 v44, v20, v35 :: v_dual_add_f32 v37, v37, v41
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_mul_f32_e32 v41, 0x35490fdb, v39
	v_ldexp_f32 v50, v50, s2
	s_delay_alu instid0(TRANS32_DEP_2)
	v_dual_mul_f32 v35, v19, v35 :: v_dual_mul_f32 v46, v20, v42
	s_delay_alu instid0(TRANS32_DEP_1) | instid1(VALU_DEP_4)
	v_dual_mul_f32 v37, 0.15915494, v37 :: v_dual_mul_f32 v48, v20, v43
	v_mul_f32_e32 v42, v19, v42
	s_delay_alu instid0(VALU_DEP_4)
	v_dual_mul_f32 v43, v19, v43 :: v_dual_mul_f32 v50, 0x35490fdb, v50
	v_mul_f32_e32 v41, 0.15915494, v41
	v_sin_f32_e32 v34, v34
	v_cos_f32_e32 v40, v32
	v_sin_f32_e32 v38, v38
	v_mul_f32_e32 v50, 0.15915494, v50
	v_cos_f32_e32 v52, v41
	v_sin_f32_e32 v41, v41
	v_add_f32_e32 v39, 0.5, v39
	v_sin_f32_e32 v32, v32
	v_cos_f32_e32 v51, v37
	v_sin_f32_e32 v37, v37
	v_mul_f32_e32 v47, v19, v34
	v_mul_f32_e32 v34, v20, v34
	s_cmp_eq_u64 s[12:13], 32
	v_fma_f32 v55, v26, v52, v17
	s_delay_alu instid0(TRANS32_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_mul_f32 v54, v25, v41 :: v_dual_mul_f32 v35, v35, v32
	v_fma_f32 v44, -v44, v40, v55
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f32 v52, v1, v52, -v54
	v_fma_f32 v35, v27, v41, -v35
	v_cos_f32_e32 v41, v50
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f32 v44, 0x34000000, v44, 0
	v_fma_f32 v40, -v45, v40, v52
	v_mul_f32_e32 v49, v19, v38
	v_dual_mul_f32 v38, v20, v38 :: v_dual_mul_f32 v39, 0x35490fdb, v39
	v_sin_f32_e32 v50, v50
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_fmac_f32_e32 v40, 0x4096cbe4, v13
	v_fma_f32 v54, 0.5, v44, v13
	v_mul_f32_e32 v39, 0.15915494, v39
	s_delay_alu instid0(TRANS32_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_fma_f32 v52, v26, v41, v17
	v_fma_f32 v40, 0x34000000, v40, 0
	v_fmac_f32_e32 v35, v33, v32
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cos_f32_e32 v53, v39
	v_sin_f32_e32 v39, v39
	v_fmac_f32_e32 v35, 0x4096cbe4, v31
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_3) | instid1(VALU_DEP_1)
	v_fma_f32 v35, 0x34000000, v35, 0
	s_waitcnt_depctr 0xfff
	v_fma_f32 v32, v26, v53, v17
	v_mul_f32_e32 v33, v25, v39
	v_fma_f32 v31, v1, v53, -v33
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v33, -v46, v51, v32
	v_fma_f32 v51, -v47, v51, v31
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v33, 0x34000000, v33
	v_dual_fmac_f32 v51, 0x4096cbe4, v54 :: v_dual_fmac_f32 v44, 2.0, v33
	v_fma_f32 v33, 0.5, v33, v13
	v_mul_f32_e32 v39, v27, v39
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_mul_f32_e32 v51, 0x34000000, v51
	v_mul_f32_e32 v55, 0x34000000, v33
	v_mul_f32_e32 v53, v25, v50
	v_fmamk_f32 v56, v33, 0x34000000, v22
	v_fma_f32 v45, -v42, v37, v39
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_fmac_f32_e32 v45, v34, v37
	v_fma_f32 v37, v1, v41, -v53
	v_fma_f32 v41, 0.5, v35, v29
	v_mul_f32_e32 v53, 0x34000000, v54
	v_fma_f32 v54, 0.5, v40, v23
	v_fmac_f32_e32 v40, 2.0, v51
	v_fma_f32 v51, 0.5, v51, v23
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_fmac_f32_e32 v30, 2.0, v53
	v_add_f32_e32 v41, v54, v41
	v_fma_f32 v53, 0.5, v53, v22
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f32_e32 v54, 0x34000000, v41
	v_fmac_f32_e32 v45, 0x4096cbe4, v41
	v_fma_f32 v41, 0.5, v54, v28
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_mul_f32 v45, 0x34000000, v45 :: v_dual_fmac_f32 v36, 2.0, v54
	v_add_f32_e32 v41, v53, v41
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_fma_f32 v53, 0.5, v45, v29
	v_fmac_f32_e32 v35, 2.0, v45
	v_mul_f32_e32 v41, 0.15915494, v41
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v45, v51, v53
	v_cos_f32_e32 v51, v41
	v_sin_f32_e32 v41, v41
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_mul_f32 v53, 0x34000000, v45 :: v_dual_fmamk_f32 v54, v45, 0x34000000, v28
	v_fmac_f32_e32 v36, 2.0, v53
	s_waitcnt_depctr 0xfff
	v_fma_f32 v31, -v47, v51, v31
	v_fma_f32 v39, -v42, v41, v39
	v_fma_f32 v32, -v46, v51, v32
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fmac_f32_e32 v31, 0x4096cbe4, v33
	v_dual_fmac_f32 v39, v34, v41 :: v_dual_mul_f32 v46, 0x34000000, v32
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_dual_fmamk_f32 v32, v32, 0x34000000, v13 :: v_dual_mul_f32 v41, 0x34000000, v31
	v_add_f32_e32 v53, v56, v54
	v_dual_fmac_f32 v39, 0x4096cbe4, v45 :: v_dual_fmac_f32 v44, 2.0, v46
	v_fmac_f32_e32 v30, 2.0, v55
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_fmac_f32_e32 v40, 2.0, v41
	v_dual_mul_f32 v42, 0.15915494, v53 :: v_dual_fmamk_f32 v31, v31, 0x34000000, v23
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_dual_mul_f32 v41, 0x34000000, v39 :: v_dual_fmac_f32 v30, 0x34000000, v32
	v_fmamk_f32 v39, v39, 0x34000000, v29
	v_cos_f32_e32 v33, v42
	v_sin_f32_e32 v34, v42
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_div_scale_f32 v45, s0, v30, 0x40c00000, v30
	v_add_f32_e32 v31, v31, v39
	s_waitcnt_depctr 0xfff
	v_fma_f32 v42, -v48, v33, v52
	v_fma_f32 v33, -v49, v33, v37
	v_mul_f32_e32 v37, v43, v34
	v_div_scale_f32 v43, null, 0x40c00000, 0x40c00000, v30
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_fmac_f32_e32 v44, 0x34000000, v42
	v_fmac_f32_e32 v33, 0x4096cbe4, v32
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_fma_f32 v32, v27, v50, -v37
	v_rcp_f32_e32 v37, v43
	v_fmac_f32_e32 v36, 0x34000000, v31
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fmac_f32_e32 v40, 0x34000000, v33
	v_fmac_f32_e32 v32, v38, v34
	v_div_scale_f32 v33, null, 0x40c00000, 0x40c00000, v44
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_div_scale_f32 v42, null, 0x40c00000, 0x40c00000, v36
	v_dual_fmac_f32 v32, 0x4096cbe4, v31 :: v_dual_fmac_f32 v35, 2.0, v41
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(TRANS32_DEP_2)
	v_rcp_f32_e32 v31, v33
	v_div_scale_f32 v38, null, 0x40c00000, 0x40c00000, v40
	v_fma_f32 v41, -v43, v37, 1.0
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_fmac_f32_e32 v35, 0x34000000, v32
	v_div_scale_f32 v34, vcc_lo, v44, 0x40c00000, v44
	v_rcp_f32_e32 v32, v38
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fmac_f32_e32 v37, v41, v37
	v_div_scale_f32 v47, null, 0x40c00000, 0x40c00000, v35
	v_rcp_f32_e32 v41, v42
	s_delay_alu instid0(TRANS32_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f32 v48, -v33, v31, 1.0
	v_mul_f32_e32 v49, v45, v37
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_rcp_f32_e32 v51, v47
	v_div_scale_f32 v39, s1, v40, 0x40c00000, v40
	v_fmac_f32_e32 v31, v48, v31
	s_delay_alu instid0(TRANS32_DEP_3) | instskip(SKIP_2) | instid1(TRANS32_DEP_2)
	v_fma_f32 v48, -v38, v32, 1.0
	v_fma_f32 v52, -v43, v49, v45
	v_div_scale_f32 v50, s3, v35, 0x40c00000, v35
	v_fma_f32 v53, -v42, v41, 1.0
	v_mul_f32_e32 v54, v34, v31
	v_fmac_f32_e32 v32, v48, v32
	s_delay_alu instid0(TRANS32_DEP_1)
	v_fma_f32 v48, -v47, v51, 1.0
	v_fmac_f32_e32 v49, v52, v37
	v_fmac_f32_e32 v41, v53, v41
	v_fma_f32 v52, -v33, v54, v34
	v_mul_f32_e32 v53, v39, v32
	v_fmac_f32_e32 v51, v48, v51
	v_div_scale_f32 v46, s2, v36, 0x40c00000, v36
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_fmac_f32_e32 v54, v52, v31
	v_fma_f32 v48, -v38, v53, v39
	s_delay_alu instid0(VALU_DEP_4)
	v_mul_f32_e32 v55, v50, v51
	v_fma_f32 v43, -v43, v49, v45
	v_mul_f32_e32 v45, v46, v41
	v_fma_f32 v33, -v33, v54, v34
	v_fmac_f32_e32 v53, v48, v32
	v_fma_f32 v34, -v47, v55, v50
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_fma_f32 v52, -v42, v45, v46
	v_div_fmas_f32 v31, v33, v31, v54
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_fma_f32 v33, -v38, v53, v39
	v_fmac_f32_e32 v55, v34, v51
	s_mov_b32 vcc_lo, s1
	v_fmac_f32_e32 v45, v52, v41
	v_div_fixup_f32 v31, v31, 0x40c00000, v44
	v_div_fmas_f32 v32, v33, v32, v53
	v_fma_f32 v33, -v47, v55, v50
	s_mov_b32 vcc_lo, s3
	v_fma_f32 v38, -v42, v45, v46
	v_add_f32_e32 v13, v13, v31
	v_div_fixup_f32 v32, v32, 0x40c00000, v40
	v_div_fmas_f32 v33, v33, v51, v55
	s_mov_b32 vcc_lo, s0
	v_div_fmas_f32 v34, v43, v37, v49
	s_mov_b32 vcc_lo, s2
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_3) | instid1(VALU_DEP_4)
	v_div_fixup_f32 v33, v33, 0x40c00000, v35
	v_div_fmas_f32 v37, v38, v41, v45
	v_add_f32_e32 v23, v23, v32
	v_div_fixup_f32 v30, v34, 0x40c00000, v30
	v_add_f32_e32 v29, v29, v33
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_div_fixup_f32 v34, v37, 0x40c00000, v36
	v_add_f32_e32 v22, v22, v30
	s_delay_alu instid0(VALU_DEP_2)
	v_add_f32_e32 v28, v28, v34
	s_cbranch_scc0 .LBB0_36
; %bb.37:                               ;   in Loop: Header=BB0_19 Depth=3
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(SALU_CYCLE_1)
	v_dual_add_f32 v22, v22, v28 :: v_dual_add_f32 v23, v23, v29
	s_add_u32 s10, s10, 1
	s_addc_u32 s11, s11, 0
	s_cmp_eq_u64 s[10:11], 32
	s_cbranch_scc0 .LBB0_19
; %bb.38:                               ;   in Loop: Header=BB0_18 Depth=2
	v_add_f32_e32 v15, v15, v22
	v_add_f32_e32 v13, v13, v23
	s_add_u32 s8, s8, 1
	s_addc_u32 s9, s9, 0
	s_delay_alu instid0(SALU_CYCLE_1)
	s_cmp_eq_u64 s[8:9], 32
	s_cbranch_scc0 .LBB0_18
; %bb.39:                               ; %_Z5__RK4mffPfS_ff.exit
                                        ;   in Loop: Header=BB0_1 Depth=1
	s_lshl_b64 s[0:1], s[4:5], 2
	v_add_f32_e32 v17, v12, v15
	s_add_u32 s0, s6, s0
	s_addc_u32 s1, s7, s1
	v_add_co_u32 v1, vcc_lo, s0, v3
	v_add_co_ci_u32_e32 v16, vcc_lo, s1, v4, vcc_lo
	v_add_f32_e32 v13, v11, v13
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v14, vcc_lo, 0x10000, v1
	v_add_co_ci_u32_e32 v15, vcc_lo, 0, v16, vcc_lo
	v_add_co_u32 v11, vcc_lo, 0x14000, v1
	v_add_co_ci_u32_e32 v12, vcc_lo, 0, v16, vcc_lo
	s_add_i32 s17, s17, 1
	s_clause 0x1
	global_store_b32 v[14:15], v17, off
	global_store_b32 v[11:12], v13, off
	s_cmp_eq_u32 s17, 16
	s_cbranch_scc0 .LBB0_1
; %bb.40:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z6kernelPmPf
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 272
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 57
		.amdhsa_next_free_sgpr 18
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end0:
	.size	_Z6kernelPmPf, .Lfunc_end0-_Z6kernelPmPf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 7704
; NumSgprs: 20
; NumVgprs: 57
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 7
; NumSGPRsForWavesPerEU: 20
; NumVGPRsForWavesPerEU: 57
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.p2alignl 7, 3214868480
	.fill 96, 4, 3214868480
	.type	__hip_cuid_,@object             ; @__hip_cuid_
	.section	.bss,"aw",@nobits
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               ; 0x0
	.size	__hip_cuid_, 1

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

	.end_amdgpu_metadata
