// PROJECT: Ultrasonic tomographic imaging source code GPU
// Distribution is limited
// Date: December 15th, 2013
// University of Maryland Eastern Shore, Salisbury University, Florida International University
//
// AUTHORS: 
// Pedro D Bello-Maldonado, pbell005@fiu.edu, (786) 203-9025
// Yuanwei Jin, yjin@umes.edu, (410) 621-3410
//
// Copyright © 2013 All rights reserved

// Headers
#include <fstream>
#include <iostream>
#include <iomanip>
#include <math.h>
#include <limits>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>

using namespace std;

// Functions Declaration
void Ultrasonic_Tomography(int, float, int, int);

// Math functions
float norm(float*, int, int);
float norm(float*, float*, int, int);

// Utility Functions
int gridSize(int, int);
void save(const char*, int*, int);
void save(const char*, float*, int);
void save(const char*, float*, int, int);
void save(const char*, float*, int, int, int, int);

// Host Functions
void transducersPosition(int*&, int*&, int);

// Device Functions
__global__ void gridSetup(float*, float*);
__global__ void imagingField(float*, float*, float*);
__global__ void setSensorActivationVariables(float*, float*, float*, float*, float*);

__global__ void wavePropagation(float**, float*, float*, float*, float*, float, int, int*, int*, int*, int*);
__global__ void waveAtCorners(float**);
__global__ void waveAtSensors(float**, float*, float*, float*, float*, int);
__global__ void setAlpha(float*);
__global__ void differenceAtSensors(float**, float*, float*, float*, float*, float**, float**, float**, float**, int);
__global__ void setZ(float**);
__global__ void waveBackpropagation(float**, float*, float, int);
__global__ void waveBackpropagationBoundaryCorners(float**, float**, float**, float**, float**, int);
__global__ void deltau_k(float**, float**, int);
__global__ void df_k(float*, float**, float**, float*, int);
__global__ void f_k(float*, float*, float*);
__global__ void norm_f_f0_k(float*, float*, float*);
__global__ void norm_f0_k(float*, float*);

// Global Constants
#define Nx  201		//Number of sensors in  x and y
#define Ny  201
#define Nt  401		
#define Ns  640		
#define Ng  64 		// Number of sensor groups 640 / 10
#define Na  8  		// Number of groups to be allocated on the GPU for simultanous activation
#define Nm  40 		// Sensors pergroup
#define omega 16.0f

#define h   0.001f
#define hx  0.001f	//dimensions of pizel
#define hy  0.001f

#define pi 3.1415926535897932f

// CPU Consts
const float T_h = 0.2f / 1500.0f;
const float dt_h = T_h / 400.0f;
const float dt2_h = dt_h * dt_h;
const float fre_h = 125000.0f;
const float omegac_h = 2.0f * pi * fre_h;
const float tao_h = pi / omegac_h;
const float tao2_h = tao_h * tao_h;
const float tt_h = sqrt(6.0f * log(2.0f)) * tao_h;
const float h2_h = h * h;

const int Nx_Ny_h = Nx * Ny;
const int Nx_Ny_Nt_h = Nx_Ny_h * Nt;

const int Nt_Nx_h = Nt * Nx;
const int Nt_Ny_h = Nt * Ny;

const int blockDim_x = 16;
const int blockDim_y = 16;
const int nThreads = blockDim_x * blockDim_y;

/* const int t_sensors = 640; */
//const int t_iterations = 30;

// GPU Constants
__constant__ float T;
__constant__ float dt;
__constant__ float dt2;
__constant__ float fre;
__constant__ float omegac;
__constant__ float tao;
__constant__ float tao2;
__constant__ float tt;
__constant__ float h2;

__constant__ int Nx_Ny;
__constant__ int Nx_Ny_Nt;
__constant__ int Nt_Nx;
__constant__ int Nt_Ny;

int main(int argc, char** argv)
{
	
	if (argc != 4) {
		cerr << "Usage: " << argv[0] << " <sensor group size> <target epsilon> <max iterations>\n\n";
		exit(1);
	}

	int group_size = stoi(argv[1]);
	float target_epsilon = stof(argv[2]);
	int max_iterations = stoi(argv[3]);

	if (max_iterations == -1)
		max_iterations = numeric_limits<int>::max();
	
// Time measuring variables
	int t_start = 0, t_end = 0, t_total = 0;
	time_t clockTime;

	// Initial timings
	t_start = clock();
	time(&clockTime);

	// Start Imaging Process
	Ultrasonic_Tomography(group_size, target_epsilon, max_iterations, t_start);

	// Final timings
	time(&clockTime);
	t_end = clock();
	t_total = t_end - t_start;

	// Results
	printf("Clock Times:\n");
	/*printf("Initial Time: %s", ctime(&clockTime));
	printf("Final Time:   %s", ctime(&clockTime));*/

	printf("\nExecution Times:\n");
	printf("t_start = %d\n", t_start);
	printf("t_end   = %d\n", t_end);
	printf("t_total = %d\n", t_total);
	printf("Total Seconds = %f\n\n", (float)(t_total) / CLOCKS_PER_SEC);

	// End of the program
	return 0;
}

// Functions Definition
void Ultrasonic_Tomography(int group_size, float target_epsilon, int max_iterations, int t_start)
{
	// Iteration variables
	int i = 0, k = 0, p = 0;

	// Copy constant variables to GPU -- PROTOTYPE: cudaMemcpyToSymbol(Host, &Device, sizeof(datatype))
	cudaMemcpyToSymbol(T, &T_h, sizeof(float));
	cudaMemcpyToSymbol(dt, &dt_h, sizeof(float));
	cudaMemcpyToSymbol(dt2, &dt2_h, sizeof(float));
	cudaMemcpyToSymbol(fre, &fre_h, sizeof(float));
	cudaMemcpyToSymbol(omegac, &omegac_h, sizeof(float));
	cudaMemcpyToSymbol(tao, &tao_h, sizeof(float));
	cudaMemcpyToSymbol(tao2, &tao2_h, sizeof(float));
	cudaMemcpyToSymbol(tt, &tt_h, sizeof(float));
	cudaMemcpyToSymbol(h2, &h2_h, sizeof(float));
	cudaMemcpyToSymbol(Nx_Ny, &Nx_Ny_h, sizeof(int));
	cudaMemcpyToSymbol(Nx_Ny_Nt, &Nx_Ny_Nt_h, sizeof(int));
	cudaMemcpyToSymbol(Nt_Nx, &Nt_Nx_h, sizeof(int));
	cudaMemcpyToSymbol(Nt_Ny, &Nt_Ny_h, sizeof(int));
	
	/*KERNEL PREPARATION*/
	int gridDim_x = gridSize(blockDim_x, Nx);		//gridSize returns (Nx+(blockDim_x -1))/blockDim_x
	int gridDim_y = gridSize(blockDim_y, Ny);
	//dim3 is an integer vector type that can be used in CUDA code - used to pass grid and block dimensions in a kernel invocation
	dim3 Block(blockDim_x, blockDim_y);		
	dim3 Grid(gridDim_x, gridDim_y);

	// Coordinates of the grid
	float* dev_x;
	int size_x = Nx * sizeof(float);
	cudaMalloc((void**)&dev_x, size_x);

	float* dev_y;
	int size_y = Ny * sizeof(float);
	cudaMalloc((void**)&dev_y, size_y);

	//call gridSetup device function
	gridSetup<<<dim3(gridDim_x, 1), Block>>>(dev_x, dev_y);

	//Imaging Field
	float* dev_f0;
	int size_f0 = Nx_Ny_h * sizeof(float);
	cudaMalloc((void**)&dev_f0, size_f0);
	cudaMemset(dev_f0, 0.0f, size_f0);

	imagingField<<<Grid, Block>>>(dev_f0, dev_x, dev_y);

	// Position of transducers
	int *ii, *jj;
	transducersPosition(ii, jj, Ns);

	// Sensor activation variables
	float* dev_v;
	int size_v = Nx_Ny_h * sizeof(float);
	cudaMalloc((void**)&dev_v, size_v);

	float* dev_r;
	int size_r = Nx_Ny_h * sizeof(float);
	cudaMalloc((void**)&dev_r, size_r);

	float* dev_r2;
	int size_r2 = Nx_Ny_h * sizeof(float);
	cudaMalloc((void**)&dev_r2, size_r2);

	float* dev_s;
	int size_s = Nx_Ny_h * sizeof(float);
	cudaMalloc((void**)&dev_s, size_s);

	setSensorActivationVariables<<<Grid, Block>>>(dev_f0, dev_v, dev_r, dev_r2, dev_s);

	// Wave propagation first scanning
	// Wave propagaing for each sensor group and corresponding transducers
	float* dev_u_ptr[Na];
	int size_u_ptr = Nx_Ny_Nt_h * sizeof(float);

	for (i = 0; i < Na; i++)
	{
		cudaMalloc((void**)&dev_u_ptr[i], size_u_ptr);
		cudaMemset(dev_u_ptr[i], 0.0f, size_u_ptr);
	}

	float **dev_u;
	int size_u = Na * sizeof(float*);
	cudaMalloc((void**)&dev_u, size_u);
	cudaMemcpy(dev_u, dev_u_ptr, size_u, cudaMemcpyHostToDevice);

	// Sensors
	int *dev_ip1;
	int size_ip1 = Na * sizeof(int);
	cudaMalloc((void**)&dev_ip1, size_ip1);

	int *dev_ip2;
	int size_ip2 = Na * sizeof(int);
	cudaMalloc((void**)&dev_ip2, size_ip2);

	int *dev_jp1;
	int size_jp1 = Na * sizeof(int);
	cudaMalloc((void**)&dev_jp1, size_jp1);

	int *dev_jp2;
	int size_jp2 = Na * sizeof(int);
	cudaMalloc((void**)&dev_jp2, size_jp2);

	int *ip1 = (int*)malloc(size_ip1);
	int *ip2 = (int*)malloc(size_ip2);
	int *jp1 = (int*)malloc(size_jp1);
	int *jp2 = (int*)malloc(size_jp2);	

	// Sensing variables for initial stage (REUSABLE)
	float* dev_g1;
	int size_g1 = (Nt_Nx_h * Ng) * sizeof(float);
	cudaMalloc((void**)&dev_g1, size_g1);
	cudaMemset(dev_g1, 0.0f, size_g1);

	float* dev_g3;
	int size_g3 = (Nt_Nx_h * Ng) * sizeof(float);
	cudaMalloc((void**)&dev_g3, size_g3);
	cudaMemset(dev_g3, 0.0f, size_g3);

	float* dev_g2;
	int size_g2 = (Nt_Nx_h * Ng) * sizeof(float);
	cudaMalloc((void**)&dev_g2, size_g2);
	cudaMemset(dev_g2, 0.0f, size_g2);

	float* dev_g4;
	int size_g4 = (Nt_Nx_h * Ng) * sizeof(float);
	cudaMalloc((void**)&dev_g4, size_g4);
	cudaMemset(dev_g4, 0.0f, size_g4);

	for (p = 0; p < Ns / (group_size * Na); p++)
	{	
		// Select the sensors to be used
		for (i = 0; i < Na; i++)
		{
			int jp1_h = jj[p * group_size * Na + i * group_size];
			int jp2_h = jj[p * group_size * Na + i * group_size + (group_size - 1)];
			int ip1_h = ii[p * group_size * Na + i * group_size];
			int ip2_h = ii[p * group_size * Na + i * group_size + (group_size - 1)];

			if (jp2_h < jp1_h)
			{
				int jp_h = jp1_h;
				jp1_h = jp2_h;
				jp2_h = jp_h;
			}

			if (ip2_h < ip1_h)
			{
				int ip_h = ip1_h;
				ip1_h = ip2_h;
				ip2_h = ip_h;
			}

			ip1[i] = ip1_h;
			ip2[i] = ip2_h;
			jp1[i] = jp1_h;
			jp2[i] = jp2_h;
		}

		cudaMemcpy(dev_ip1, ip1, size_ip1, cudaMemcpyHostToDevice);
		cudaMemcpy(dev_ip2, ip2, size_ip2, cudaMemcpyHostToDevice);
		cudaMemcpy(dev_jp1, jp1, size_jp1, cudaMemcpyHostToDevice);
		cudaMemcpy(dev_jp2, jp2, size_jp2, cudaMemcpyHostToDevice);

		// Start scanning the imaging field
		// Boundary
		for (k = 1; k < Nt - 1; k++)
		{
			// Sensor activation
			float t = k * dt_h - tt_h;
			float wave = dt2_h * cos(omegac_h * t) * exp(-(t * t) / (2.0f * tao2_h));

			wavePropagation<<<dim3(gridSize(8, Nx), gridSize(8, Ny), gridSize(4, Na)), dim3(8, 8, 4)>>>(dev_u, dev_v, dev_r, dev_r2, dev_s, wave, k, dev_ip1, dev_ip2, dev_jp1, dev_jp2);
		}

		// Corners
		waveAtCorners<<<dim3(gridSize(nThreads, Nt), 1, gridSize(4, Na)), dim3(8, 8, 4)>>>(dev_u);

		// Sensing
		waveAtSensors<<<dim3(gridSize(8, Nt), gridSize(8, 180), gridSize(4, Na)), dim3(8, 8, 4)>>>(dev_u, dev_g1, dev_g3, dev_g2, dev_g4, p);
	}

	// Kaczmarz Method
	// Propagation
	float* dev_f;
	int size_f = Nx_Ny_h * sizeof(float);
	cudaMalloc((void**)&dev_f, size_f);
	cudaMemset(dev_f, 0.0f, size_f);
	
	// rr1
	float* dev_rr1_ptr[Na];
	int size_rr1_ptr = Nt_Nx_h * sizeof(float);

	for (i = 0; i < Na; i++)
	{
		cudaMalloc((void**)&dev_rr1_ptr[i], size_rr1_ptr);
		cudaMemset(dev_rr1_ptr[i], 0.0f, size_rr1_ptr);
	}

	float **dev_rr1;
	int size_rr1 = Na * sizeof(float*);
	cudaMalloc((void**)&dev_rr1, size_rr1);
	cudaMemcpy(dev_rr1, dev_rr1_ptr, size_rr1, cudaMemcpyHostToDevice);

	// rr3
	float* dev_rr3_ptr[Na];
	int size_rr3_ptr = Nt_Nx_h * sizeof(float);

	for (i = 0; i < Na; i++)
	{
		cudaMalloc((void**)&dev_rr3_ptr[i], size_rr3_ptr);
		cudaMemset(dev_rr3_ptr[i], 0.0f, size_rr3_ptr);
	}

	float **dev_rr3;
	int size_rr3 = Na * sizeof(float*);
	cudaMalloc((void**)&dev_rr3, size_rr3);
	cudaMemcpy(dev_rr3, dev_rr3_ptr, size_rr3, cudaMemcpyHostToDevice);

	// rr2
	float* dev_rr2_ptr[Na];
	int size_rr2_ptr = Nt_Ny_h * sizeof(float);

	for (i = 0; i < Na; i++)
	{
		cudaMalloc((void**)&dev_rr2_ptr[i], size_rr2_ptr);
		cudaMemset(dev_rr2_ptr[i], 0.0f, size_rr2_ptr);
	}

	float **dev_rr2;
	int size_rr2 = Na * sizeof(float*);
	cudaMalloc((void**)&dev_rr2, size_rr2);
	cudaMemcpy(dev_rr2, dev_rr2_ptr, size_rr2, cudaMemcpyHostToDevice);

	// rr4
	float* dev_rr4_ptr[Na];
	int size_rr4_ptr = Nt_Ny_h * sizeof(float);

	for (i = 0; i < Na; i++)
	{
		cudaMalloc((void**)&dev_rr4_ptr[i], size_rr4_ptr);
		cudaMemset(dev_rr4_ptr[i], 0.0f, size_rr4_ptr);
	}

	float **dev_rr4;
	int size_rr4 = Na * sizeof(float*);
	cudaMalloc((void**)&dev_rr4, size_rr4);
	cudaMemcpy(dev_rr4, dev_rr4_ptr, size_rr4, cudaMemcpyHostToDevice);

	// Backpropagation Variables
	float* dev_z_ptr[Na];
	int size_z_ptr = (Nx_Ny_h * (Nt + 1)) * sizeof(float);

	for (i = 0; i < Na; i++)
	{
		cudaMalloc((void**)&dev_z_ptr[i], size_z_ptr);
		cudaMemset(dev_z_ptr[i], 0.0f, size_z_ptr);
	}

	float **dev_z;
	int size_z = Na * sizeof(float*);
	cudaMalloc((void**)&dev_z, size_z);
	cudaMemcpy(dev_z, dev_z_ptr, size_z, cudaMemcpyHostToDevice);

	float* dev_Lu_ptr[Na];
	int size_Lu_ptr = Nx_Ny_Nt_h * sizeof(float);

	for (i = 0; i < Na; i++)
	{
		cudaMalloc((void**)&dev_Lu_ptr[i], size_Lu_ptr);
		cudaMemset(dev_Lu_ptr[i], 0.0f, size_Lu_ptr);
	}

	float **dev_Lu;
	int size_Lu = Na * sizeof(float*);
	cudaMalloc((void**)&dev_Lu, size_Lu);
	cudaMemcpy(dev_Lu, dev_Lu_ptr, size_Lu, cudaMemcpyHostToDevice);

	float* dev_df;
	int size_df = Nx_Ny_h * sizeof(float);
	cudaMalloc((void**)&dev_df, size_df);

	float* dev_alpha;
	int size_alpha = Nx_Ny_h * sizeof(float);
	cudaMalloc((void**)&dev_alpha, size_alpha);
	cudaMemset(dev_alpha, 0.0f, size_alpha);
	setAlpha<<<dim3(gridSize(blockDim_x, 159), gridSize(blockDim_y, 159)), Block>>>(dev_alpha);

	float* dev_norm_f0;
	int size_norm_f0 = sizeof(float);
	cudaMalloc((void**)&dev_norm_f0, size_norm_f0);
	cudaMemset(dev_norm_f0, 0.0f, size_norm_f0);

	float* dev_norm_f_f0;
	int size_norm_f_f0 = sizeof(float);
	cudaMalloc((void**)&dev_norm_f_f0, size_norm_f_f0);
	cudaMemset(dev_norm_f_f0, 0.0f, size_norm_f_f0);

	float* f = new float[Nx_Ny_h];
	float* f0 = new float[Nx_Ny_h];

	// Save convergence
	ofstream convergence_file;
	convergence_file.open("sirt_convergence.txt");
	ofstream time_file;
	time_file.open ("sirt_time.txt");

	for (int iter = 0; iter < max_iterations; iter++)
	{
		printf("iter: %d\n", iter);
		float epsilon = 0.0;

		// Initialize u for new sensor activation
		for (i = 0; i < Na; i++)
		{
			cudaMemset(dev_u_ptr[i], 0.0f, size_u_ptr);
		}

		setSensorActivationVariables<<<Grid, Block>>>(dev_f, dev_v, dev_r, dev_r2, dev_s);

		cudaMemset(dev_df, 0.0f, size_df);

		for (p = 0; p < Ns / (group_size * Na); p++)
		{
			// Select the sensors to be used
			for (i = 0; i < Na; i++)
			{
				int jp1_h = jj[p * group_size * Na + i * group_size];
				int jp2_h = jj[p * group_size * Na + i * group_size + (group_size - 1)];
				int ip1_h = ii[p * group_size * Na + i * group_size];
				int ip2_h = ii[p * group_size * Na + i * group_size + (group_size - 1)];

				if (jp2_h < jp1_h)
				{
					int jp_h = jp1_h;
					jp1_h = jp2_h;
					jp2_h = jp_h;
				}

				if (ip2_h < ip1_h)
				{
					int ip_h = ip1_h;
					ip1_h = ip2_h;
					ip2_h = ip_h;
				}

				ip1[i] = ip1_h;
				ip2[i] = ip2_h;
				jp1[i] = jp1_h;
				jp2[i] = jp2_h;
			}

			cudaMemcpy(dev_ip1, ip1, size_ip1, cudaMemcpyHostToDevice);
			cudaMemcpy(dev_ip2, ip2, size_ip2, cudaMemcpyHostToDevice);
			cudaMemcpy(dev_jp1, jp1, size_jp1, cudaMemcpyHostToDevice);
			cudaMemcpy(dev_jp2, jp2, size_jp2, cudaMemcpyHostToDevice);

			// Start scanning the imaging field
			// Boundary
			for (k = 1; k < Nt - 1; k++)
			{
				// Sensor activation
				float t = k * dt_h - tt_h;
				float wave = dt2_h * cos(omegac_h * t) * exp(-(t * t) / (2.0f * tao2_h));

				wavePropagation<<<dim3(gridSize(8, Nx), gridSize(8, Ny), gridSize(4, Na)), dim3(8, 8, 4)>>>(dev_u, dev_v, dev_r, dev_r2, dev_s, wave, k, dev_ip1, dev_ip2, dev_jp1, dev_jp2);
			}

			// Corners
			waveAtCorners<<<dim3(gridSize(nThreads, Nt), 1, gridSize(4, Na)), dim3(8, 8, 4)>>>(dev_u);

			// Sensing
			differenceAtSensors<<<dim3(gridSize(8, Nt), gridSize(8, 180), gridSize(4, Na)), dim3(8, 8, 4)>>>(dev_u, dev_g1, dev_g3, dev_g2, dev_g4, dev_rr1, dev_rr3, dev_rr2, dev_rr4, p);

			// Backpropagation
			setZ<<<dim3(gridSize(8, Nx), gridSize(8, Ny), gridSize(4, Na)), dim3(8, 8, 4)>>>(dev_z);

			float cons = 1500.0f * 1500.0f * dt2_h;

			for (k = Nt - 2; k >= 1; k--)
			{
				waveBackpropagation<<<dim3(gridSize(8, Nx), gridSize(8, Ny), gridSize(4, Na)), dim3(8, 8, 4)>>>(dev_z, dev_f, cons, k);
				waveBackpropagationBoundaryCorners<<<dim3(gridSize(8 * 8, Nx), 1, gridSize(4, Na)), dim3(8, 8, 4)>>> (dev_z, dev_rr1, dev_rr3, dev_rr2, dev_rr4, k);
			}

			// Deltau Calculation
			for (int pm = 0; pm < Na; pm++)
			{
				deltau_k<<<dim3(gridSize(8, Nx), gridSize(8, Ny), gridSize(4, Nt)), dim3(8, 8, 4)>>>(dev_Lu, dev_u, pm);

				df_k<<<dim3(gridSize(8, Nx), gridSize(8, Ny), gridSize(4, Nt)), dim3(8, 8, 4)>>>(dev_df, dev_z, dev_Lu, dev_f, pm);
			}
		}

		f_k<<<Grid, Block>>>(dev_f, dev_alpha, dev_df);

		cudaMemcpy(f, dev_f, size_f, cudaMemcpyDeviceToHost);
		cudaMemcpy(f0, dev_f0, size_f0, cudaMemcpyDeviceToHost);

		epsilon = norm(f, f0, Nx, Ny) / norm(f0, Nx, Ny) * 100.0f;
		printf("epsilon (%d): %f\n", p, epsilon);
		float current_t = (float)(clock()-t_start) / CLOCKS_PER_SEC;

		convergence_file << epsilon;
		convergence_file << " ";
		
		time_file << (current_t);
		time_file<<" ";

		if (epsilon <= target_epsilon)
		{
			break;
		}
	}

	// Save results
	//save("dev_x.txt", dev_x, Nx);
	//save("dev_y.txt", dev_y, Ny);
	save("dev_f0.txt", dev_f0, Nx, Ny);					//output files(image)
	//save("dev_fb.txt", dev_fb, Nx, Ny);
	//save("dev_ib.txt", dev_ib, Ibase[0]);
	//save("dev_jb.txt", dev_jb, Ibase[0]);
	//save("dev_v.txt", dev_v, Nx, Ny);
	//save("dev_s.txt", dev_s, Nx, Ny);
	//save("dev_u.txt", dev_u_ptr[Na - 1], Nx, Ny, Nt, Nt - 1);
	//save("dev_u.txt", dev_u_ptr[0], Nx, Ny, Nt, Nt - 1);
	//save("dev_u.txt", dev_u, Nx, Ny, Nt, Nt - 1);
	//save("dev_g1.txt", dev_g1, Nt, 180, Ng, 0);
	//save("dev_g4.txt", dev_g4, Nt, 180, Ns, 0);
	//save("dev_rr1.txt", dev_rr1_ptr[0], Nt, 180);
	//save("dev_rr4.txt", dev_rr4, Nt, 180);
	//save("dev_z.txt", dev_z_ptr[0], Nx, Ny, Nt + 1, 1);
	//save("dev_Lu.txt", dev_Lu_ptr[Na - 1], Nx, Ny, Nt, Nt - 1);
	//save("dev_df.txt", dev_df, Nx, Ny);
	//save("dev_alpha.txt", dev_alpha, Nx, Ny);
	save("dev_f.txt", dev_f, Nx, Ny);
	//save("dev_xf.txt", dev_xf, Ibase);

	// Release Memory
	cudaFree(dev_x);
	cudaFree(dev_y);
	cudaFree(dev_f0);
	delete[] ii;
	delete[] jj;
	cudaFree(dev_v);
	cudaFree(dev_r);
	cudaFree(dev_r2);
	cudaFree(dev_s);
	cudaFree(dev_u);
	cudaFree(dev_g1);
	cudaFree(dev_g3);
	cudaFree(dev_g2);
	cudaFree(dev_g4);
	cudaFree(dev_f);
	cudaFree(dev_rr1);
	cudaFree(dev_rr3);
	cudaFree(dev_rr2);
	cudaFree(dev_rr4);
	cudaFree(dev_z);
	cudaFree(dev_Lu);
	cudaFree(dev_df);
	cudaFree(dev_norm_f0);
	cudaFree(dev_norm_f_f0);
	delete[] f;
	delete[] f0;
	
	cudaFree(dev_u);
	cudaFree(dev_ip1);
	cudaFree(dev_ip2);
	cudaFree(dev_jp1);
	cudaFree(dev_jp2);
	delete[] ip1;
	delete[] ip2;
	delete[] jp1;
	delete[] jp2;
}

// Host Functions
void transducersPosition(int *&ii, int *&jj, int num)
{
	/*
	Returns the (x, y) coordinates of each of the 'num' total transducers.
	*/
	// Position of transducers
	ii = (int*)malloc(num * sizeof(int));
	jj = (int*)malloc(num * sizeof(int));

	int p = 0;

	for (p = 0; p < 160; p++)
	{
		ii[p] = 20 + (p + 1);
		jj[p] = 180;
	}

	for (p = 160; p < 320; p++)
	{
		ii[p] = 180;
		jj[p] = 180 - ((p + 1) - 160);
	}

	for (p = 320; p < 480; p++)
	{
		ii[p] = 180 - ((p + 1) - 320);
		jj[p] = 20;
	}

	for (p = 480; p < 640; p++)
	{
		ii[p] = 20;
		jj[p] = 20 + ((p + 1) - 480);
	}
}

// Device Functions
__global__ void gridSetup(float* x, float* y)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x;
	int j = threadIdx.y + blockIdx.y * blockDim.y;
	int index = i + j * blockDim.x * gridDim.x;

	if (index < Nx)
	{
		float div = -0.1f + (float)(index)* h;
		x[index] = div;
		y[index] = div;
	}
}

__global__ void imagingField(float* f0, float* x, float* y)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x;
	int j = threadIdx.y + blockIdx.y * blockDim.y;

	if ((i < Nx) && (j < Ny))
	{
		int index = i + j * Nx;

		// Ground truth image
		/*if (sqrt(powf(x[i] - 0.04f, 2) + powf(y[j] - 0.04f, 2)) <= 0.003f)
		{
		f0[index] = 0.06f;
		}
		else if (sqrt(powf(x[i], 2) + powf(y[j], 2)) <= 0.005)
		{
		f0[index] = 0.06f;
		}
		else if (sqrt(powf(x[i] + 0.04f, 2) + powf(y[j] + 0.04f, 2)) <= 0.004f)
		{
		f0[index] = 0.06f;
		}*/

		/*if(((sqrtf(powf(x[i] - 0.015f, 2.0f) + powf(y[j] + 0.000f, 2.0f))) <= 0.005f) || ((sqrtf(powf(x[i] + 0.015f, 2.0f) + powf(y[j] + 0.000f, 2.0f))) <= 0.005f))
		{
		f0[index] = 0.06f;
		}
		else
		{
		if(sqrtf(x[i] * x[i] + y[j] * y[j]) <= 0.03f)
		{
		f0[index] = 0.02f;
		}
		else
		{
		f0[index] = 0.0f;
		}
		}*/

		float rc = 0.015f;
		float rp = 0.005f;

		float sc = 0.03f;
		float sp = 0.05f;

		if (powf(x[i], 2) + powf(y[j], 2) <= powf(rc, 2))
		{
			f0[index] = sc;
		}

		if (powf(x[i] - rc * cos(-30 * (pi / 180)), 2) + powf(y[j] - rc * sin(30 * (pi / 180)), 2) <= powf(rp, 2))
		{
			f0[index] = sp;
		}

		if (powf(x[i] + rc * cos(-30 * (pi / 180)), 2) + powf(y[j] - rc * sin(30 * (pi / 180)), 2) <= powf(rp, 2))
		{
			f0[index] = sp;
		}

		if (powf(x[i], 2) + powf(y[j] + rc, 2) <= powf(rp, 2))
		{
			f0[index] = sp;
		}
	}
}

__global__ void setSensorActivationVariables(float* f0, float* v, float* r, float* r2, float* s)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x;
	int j = threadIdx.y + blockIdx.y * blockDim.y;
	int index = i + j * blockDim.x * gridDim.x;

	if (index < Nx_Ny)
	{
		//Propagation speed of acoustical wave in the medium : 	c(x)=c0*sqrt(1+f(x))
		//(c0 = ambient sound speed ; f(x) = the acoustical potential function that needs to be reconstructed)
		float v_c = 1500.0f * sqrt(1.0f + f0[index]);
		
		float r_c = v_c * dt / h;
		float r2_c = r_c * r_c;

		v[index] = v_c;
		r[index] = r_c;
		r2[index] = r2_c;
		s[index] = 2.0f - 4.0f * r2_c;
	}
}

__global__ void wavePropagation(float **u, float *v, float *r, float *r2, float *s, float wave, int k, int *ip1, int *ip2, int *jp1, int *jp2)
{
	// Thread Mapping
	int i = (threadIdx.x + blockIdx.x * blockDim.x) + 1;
	int j = (threadIdx.y + blockIdx.y * blockDim.y) + 1;
	int p = threadIdx.z + blockIdx.z * blockDim.z;

	if ((i < (Nx - 1)) && (j < (Ny - 1)) && (p < Na))
	{
		int index = i + j * Nx;

		int k_Nx_Ny = k * Nx_Ny;
		int k_p_Nx_Ny = k_Nx_Ny + Nx_Ny;
		int k_n_Nx_Ny = k_Nx_Ny - Nx_Ny;
		int index_k_Nx_Ny = index + k_Nx_Ny;

		if ((j >= jp1[p]) && (j <= jp2[p]) && (i >= ip1[p]) && (i <= ip2[p]) && (k < 24))
		{
			u[p][index + k_p_Nx_Ny] = v[index] * v[index] * wave + r2[index] * (u[p][index_k_Nx_Ny + 1] + u[p][index_k_Nx_Ny - 1] + u[p][index_k_Nx_Ny + Nx] + u[p][index_k_Nx_Ny - Nx]) + s[index] * u[p][index_k_Nx_Ny] - u[p][index + k_n_Nx_Ny];
		}
		else
		{
			u[p][index + k_p_Nx_Ny] = r2[index] * (u[p][index_k_Nx_Ny + 1] + u[p][index_k_Nx_Ny - 1] + u[p][index_k_Nx_Ny + Nx] + u[p][index_k_Nx_Ny - Nx]) + s[index] * u[p][index_k_Nx_Ny] - u[p][index + k_n_Nx_Ny];
		}

		if (j == 1)
		{
			// Right boundary
			int index_i = i * Nx;
			index_k_Nx_Ny = index_i + k_Nx_Ny;
			float two_r = 2.0f * r[index_i];
			u[p][index_i + k_p_Nx_Ny] = (2.0f - two_r - r2[index_i]) * u[p][index_k_Nx_Ny] + two_r * (1.0f + r[index_i]) * u[p][index_k_Nx_Ny + 1] - r2[index_i] * u[p][index_k_Nx_Ny + 2] + (two_r - 1.0f) * u[p][index_i + k_n_Nx_Ny] - two_r * u[p][index_i + 1 + k_n_Nx_Ny];

			// Left boundary
			index_i = (Nx - 1) + index_i;
			index_k_Nx_Ny = index_i + k_Nx_Ny;
			two_r = 2.0f * r[index_i];
			u[p][index_i + k_p_Nx_Ny] = (2.0f - two_r - r2[index_i]) * u[p][index_k_Nx_Ny] + two_r * (1.0f + r[index_i]) * u[p][index_k_Nx_Ny - 1] - r2[index_i] * u[p][index_k_Nx_Ny - 2] + (two_r - 1.0f) * u[p][index_i + k_n_Nx_Ny] - two_r * u[p][index_i - 1 + k_n_Nx_Ny];

			// Upper boundary
			index_i = i;
			index_k_Nx_Ny = index_i + k_Nx_Ny;
			two_r = 2.0f * r[index_i];
			u[p][index_i + k_p_Nx_Ny] = (2.0f - two_r - r2[index_i]) * u[p][index_k_Nx_Ny] + two_r * (1.0f + r[index_i]) * u[p][index_k_Nx_Ny + Nx] - r2[index_i] * u[p][index_k_Nx_Ny + Nx + Nx] + (two_r - 1.0f) * u[p][index_i + k_n_Nx_Ny] - two_r * u[p][index_i + Nx + k_n_Nx_Ny];

			// Lower boundary
			index_i = index_i + (Nx_Ny - Nx);
			index_k_Nx_Ny = index_i + k_Nx_Ny;
			two_r = 2.0f * r[index_i];
			u[p][index_i + k_p_Nx_Ny] = (2.0f - two_r - r2[index_i]) * u[p][index_k_Nx_Ny] + two_r * (1.0f + r[index_i]) * u[p][index_k_Nx_Ny - Nx] - r2[index_i] * u[p][index_k_Nx_Ny - Nx - Nx] + (two_r - 1.0f) * u[p][index_i + k_n_Nx_Ny] - two_r * u[p][index_i - Nx + k_n_Nx_Ny];
		}
	}
}

__global__ void waveAtCorners(float **u)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x;
	int j = threadIdx.y + blockIdx.y * blockDim.y;
	int p = threadIdx.z + blockIdx.z * blockDim.z;
	int k = i + j * blockDim.x * gridDim.x;

	if ((k < Nt) && (p < Na))
	{
		int k_Nx_Ny = k * Nx_Ny;
		int Nx_Ny_1 = Nx_Ny - Nx;

		u[p][k_Nx_Ny] = 0.5f * (u[p][1 + k_Nx_Ny] + u[p][Nx + k_Nx_Ny]);
		u[p][(Nx - 1) + k_Nx_Ny] = 0.5f * (u[p][(Nx - 2) + k_Nx_Ny] + u[p][Nx - 1 + Nx + k_Nx_Ny]);
		u[p][Nx_Ny_1 + k_Nx_Ny] = 0.5f * (u[p][Nx_Ny_1 - Nx + k_Nx_Ny] + u[p][1 + Nx_Ny_1 + k_Nx_Ny]);
		u[p][(Nx - 1) + Nx_Ny_1 + k_Nx_Ny] = 0.5f * (u[p][(Nx - 2) + Nx_Ny_1 + k_Nx_Ny] + u[p][Nx_Ny_1 - 1 + k_Nx_Ny]);
	}
}

__global__ void waveAtSensors(float **u, float *g1, float *g3, float *g2, float *g4, int pm)
{
	// Thread Mapping
	int k = threadIdx.x + blockIdx.x * blockDim.x + 2;
	int i = threadIdx.y + blockIdx.y * blockDim.y + 21;
	int p = threadIdx.z + blockIdx.z * blockDim.z;

	if ((k < Nt) && (i < 180) && (p < Na))
	{
		int p_Nt_Nx = (p + pm * Na) * Nt_Nx;

		int index = k + i * Nt + p_Nt_Nx;
		g1[index] = u[p][i + 180 * Nx + (k * Nx_Ny)];
		g3[index] = u[p][i + 20 * Nx + (k * Nx_Ny)];

		index = k + i * Nt + p_Nt_Nx;
		g2[index] = u[p][180 + (i*Nx) + (k * Nx_Ny)];
		g4[index] = u[p][20 + (i*Nx) + (k * Nx_Ny)];
	}
}

__global__ void setAlpha(float* alpha)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x + 21;
	int j = threadIdx.y + blockIdx.y * blockDim.y + 21;

	if ((i < 180) && (j < 180))
	{
		int index = i + j * Nx;

		alpha[index] = 1.0f;
	}
}

__global__ void differenceAtSensors(float **u, float *g1, float *g3, float *g2, float *g4, float **rr1, float **rr3, float **rr2, float **rr4, int pm)
{
	// Thread Mapping
	int k = threadIdx.x + blockIdx.x * blockDim.x + 2;
	int i = threadIdx.y + blockIdx.y * blockDim.y + 21;
	int p = threadIdx.z + blockIdx.z * blockDim.z;
	
	if ((k < Nt) && (i < 180) && (p < Na))
	{
		int p_Nt_Nx = (p + pm * Na) * Nt_Nx;
		int k_Nx_Ny = k * Nx_Ny;

		int index_rr = k + i * Nt;
		int index_g = index_rr + p_Nt_Nx;

		rr1[p][index_rr] = g1[index_g] - u[p][i + 180 * Nx + k_Nx_Ny];
		rr3[p][index_rr] = g3[index_g] - u[p][i + 20 * Nx + k_Nx_Ny];

		index_rr = k + i * Nt;
		index_g = index_rr + p_Nt_Nx;
		int i_Nx = i * Nx;

		rr2[p][index_rr] = g2[index_g] - u[p][180 + i_Nx + k_Nx_Ny];
		rr4[p][index_rr] = g4[index_g] - u[p][20 + i_Nx + k_Nx_Ny];
	}
}

__global__ void setZ(float **z)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x;
	int j = threadIdx.y + blockIdx.y * blockDim.y;
	int p = threadIdx.z + blockIdx.z * blockDim.z;

	if ((i < Nx) && (j < Ny) && (p < Na))
	{
		int index_Nx_Ny_Nt = i + j * Nx + Nx_Ny_Nt;

		z[p][index_Nx_Ny_Nt - Nx_Ny] = 0.0f;
		z[p][index_Nx_Ny_Nt] = 0.0f;
	}
}

__global__ void waveBackpropagation(float **z, float *f, float cons, int k)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x + 1;
	int j = threadIdx.y + blockIdx.y * blockDim.y + 1;
	int p = threadIdx.z + blockIdx.z * blockDim.z;

	//setting boundaries
	if ((i < (Nx - 1)) && (j < (Ny - 1)) && (p < Na))
	{
		int index = i + j * Nx;

		int k_Nx_Ny = k * Nx_Ny;
		int k_p_Nx_Ny = k_Nx_Ny + Nx_Ny;
		int index_k_p_Nx_Ny = index + k_p_Nx_Ny;

		z[p][index + k_Nx_Ny] = cons * ((1.0f + f[index - Nx]) * z[p][index_k_p_Nx_Ny - Nx] + (1.0f + f[index + Nx]) * z[p][index_k_p_Nx_Ny + Nx] + (1.0f + f[index - 1]) * z[p][index_k_p_Nx_Ny - 1] + (1.0f + f[index + 1]) * z[p][index_k_p_Nx_Ny + 1] - 4.0f * (1.0f + f[index]) * z[p][index_k_p_Nx_Ny]) / h2 + 2.0f * z[p][index_k_p_Nx_Ny] - z[p][index_k_p_Nx_Ny + Nx_Ny];
	}
}

__global__ void waveBackpropagationBoundaryCorners(float **z, float **rr1, float **rr3, float **rr2, float **rr4, int k)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x;
	int j = threadIdx.y;
	int index = i + j * blockDim.x * gridDim.x;
	int p = threadIdx.z + blockIdx.z * blockDim.z;
	
	//four corners need to be handled seperately--difference signals....

	if ((index < (Nx - 1)) && (p < Na))
	{
		int k_Nx_Ny = k * Nx_Ny;
		int j_Nx_k_Nx_Ny = index * Nx + k_Nx_Ny;

		z[p][index + k_Nx_Ny] = z[p][index + Nx + k_Nx_Ny];
		z[p][index + (Nx_Ny - Nx) + k_Nx_Ny] = z[p][index + (Nx_Ny - Nx - Nx) + k_Nx_Ny];

		z[p][j_Nx_k_Nx_Ny] = z[p][1 + j_Nx_k_Nx_Ny];
		z[p][(Nx - 1) + j_Nx_k_Nx_Ny] = z[p][(Nx - 2) + j_Nx_k_Nx_Ny];

		if ((index >= 21) && (index < 180))
		{
			z[p][index + 180 * Nx + k_Nx_Ny] = z[p][index + 179 * Nx + k_Nx_Ny] + rr1[p][k + index * Nt];
			z[p][index + 20 * Nx + k_Nx_Ny] = z[p][index + 21 * Nx + k_Nx_Ny] + rr3[p][k + index * Nt];

			int j_Nt = index * Nt;

			z[p][180 + j_Nx_k_Nx_Ny] = z[p][179 + j_Nx_k_Nx_Ny] + rr2[p][k + j_Nt];
			z[p][20 + j_Nx_k_Nx_Ny] = z[p][21 + j_Nx_k_Nx_Ny] + rr4[p][k + j_Nt];
		}

		z[p][k_Nx_Ny] = (z[p][1 + k_Nx_Ny] + z[p][Nx + k_Nx_Ny]) / 2.0f;
		z[p][(Nx - 1) + k_Nx_Ny] = (z[p][(Nx - 2) + k_Nx_Ny] + z[p][(Nx - 1) + Nx + k_Nx_Ny]) / 2.0f;
		z[p][(Nx_Ny - Nx) + k_Nx_Ny] = (z[p][1 + (Nx_Ny - Nx) + k_Nx_Ny] + z[p][(Nx_Ny - Nx - Nx) + k_Nx_Ny]) / 2.0f;
		z[p][(Nx - 1) + (Nx_Ny - Nx) + k_Nx_Ny] = (z[p][(Nx - 2) + (Nx_Ny - Nx) + k_Nx_Ny] + z[p][(Nx - 1) + (Nx_Ny - Nx - Nx) + k_Nx_Ny]) / 2.0f;
	}
}

__global__ void deltau_k(float **Lu, float **u, int p)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x + 1;
	int j = threadIdx.y + blockIdx.y * blockDim.y + 1;
	int k = threadIdx.z + blockIdx.z * blockDim.z + 1;

	if ((i < (Nx - 1)) && (j < (Ny - 1)) && (k < Nt))
	{
		int index = i + j * Nx;
		int k_Nx_Ny = k * Nx_Ny;
		int index_k_Nx_Ny = index + k_Nx_Ny;
		
		//Lu =delta u
		Lu[p][index_k_Nx_Ny] = (u[p][index_k_Nx_Ny - Nx] + u[p][index_k_Nx_Ny + Nx] + u[p][index_k_Nx_Ny - 1] + u[p][index_k_Nx_Ny + 1] - 4.0f * u[p][index_k_Nx_Ny]) / h2;

		if (j == 1)
		{
			index = i;
			index_k_Nx_Ny = index + k_Nx_Ny;
			int index_j_k_Nx_Ny = index_k_Nx_Ny + (Nx_Ny - Nx);

			Lu[p][index_k_Nx_Ny] = (u[p][index_k_Nx_Ny] + u[p][index_k_Nx_Ny + Nx] + u[p][index_k_Nx_Ny - 1] + u[p][index_k_Nx_Ny + 1] - 4.0f * u[p][index_k_Nx_Ny]) / h2;
			Lu[p][index_j_k_Nx_Ny] = (u[p][index_j_k_Nx_Ny] + u[p][index_j_k_Nx_Ny - Nx] + u[p][index_j_k_Nx_Ny - 1] + u[p][index_j_k_Nx_Ny + 1] - 4.0f * u[p][index_j_k_Nx_Ny]) / h2;

			index = i * Nx;
			index_k_Nx_Ny = index + k_Nx_Ny;
			int index_i_k_Nx_Ny = index_k_Nx_Ny + (Nx - 1);

			Lu[p][index_k_Nx_Ny] = (u[p][index_k_Nx_Ny] + u[p][index_k_Nx_Ny + 1] + u[p][index_k_Nx_Ny - Nx] + u[p][index_k_Nx_Ny + Nx] - 4.0f * u[p][index_k_Nx_Ny]) / h2;
			Lu[p][index_i_k_Nx_Ny] = (u[p][index_i_k_Nx_Ny] + u[p][index_i_k_Nx_Ny - 1] + u[p][index_i_k_Nx_Ny - Nx] + u[p][index_i_k_Nx_Ny + Nx] - 4.0f * u[p][index_i_k_Nx_Ny]) / h2;

			Lu[p][k_Nx_Ny] = (Lu[p][1 + k_Nx_Ny] + Lu[p][Nx + k_Nx_Ny]) / 2.0f;
			Lu[p][(Nx - 1) + k_Nx_Ny] = (Lu[p][(Nx - 2) + k_Nx_Ny] + Lu[p][(Nx - 1) + Nx + k_Nx_Ny]) / 2.0f;
			Lu[p][(Nx_Ny - Nx) + k_Nx_Ny] = (Lu[p][1 + (Nx_Ny - Nx) + k_Nx_Ny] + Lu[p][(Nx_Ny - Nx - Nx) + k_Nx_Ny]) / 2.0f;
			Lu[p][(Nx - 1) + (Nx_Ny - Nx) + k_Nx_Ny] = (Lu[p][(Nx - 2) + (Nx_Ny - Nx) + k_Nx_Ny] + Lu[p][(Nx - 1) + (Nx_Ny - Nx - Nx) + k_Nx_Ny]) / 2.0f;
		}
	}
}

__global__ void df_k(float *df, float **z, float **Lu, float *f, int p)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x;
	int j = threadIdx.y + blockIdx.y * blockDim.y;
	int k = threadIdx.z + blockIdx.z * blockDim.z + 1;

	if ((i < (Nx - 1)) && (j < (Ny - 1)) && (k < Nt))
	{
		int index = i + j * Nx;
		int k_Nx_Ny = k * Nx_Ny;
		int index_k_Nx_Ny = index + k_Nx_Ny;

		atomicAdd(&(df[index]), z[p][index_k_Nx_Ny] * Lu[p][index_k_Nx_Ny] / (1.0f + f[index]));
	}
}

__global__ void f_k(float* f, float* alpha, float* df)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x;
	int j = threadIdx.y + blockIdx.y * blockDim.y;

	if ((i < Nx) && (j < Ny))
	{
		int index = i + j * Nx;

		f[index] += 20000.0f * alpha[index] * df[index] / omega;
	}
}

__global__ void norm_f_f0_k(float* f, float* f0, float* norm_f_f0)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x;
	int j = threadIdx.y;
	int index = i + j * blockDim.x * gridDim.x;

	__shared__ float sum_c[nThreads];
	int index_c = threadIdx.x + threadIdx.y * blockDim.x;
	float sum = 0.0f;

	while (index < Nx_Ny)
	{
		float f_minus_f0 = f[index] - f0[index];
		sum += f_minus_f0 * f_minus_f0;
		index += gridDim.x * gridDim.y * nThreads;
	}

	sum_c[index_c] = sum;

	__syncthreads();

	int div = nThreads / 2;

	while (div != 0)
	{
		if (index_c < div)
		{
			sum_c[index_c] += sum_c[index_c + div];
		}

		__syncthreads();
		div /= 2;
	}

	if (index_c == 0)
	{
		atomicAdd(norm_f_f0, sum_c[0]);
	}
}

__global__ void norm_f0_k(float* f, float* norm_f)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x;
	int j = threadIdx.y;
	int index = i + j * blockDim.x * gridDim.x;

	__shared__ float sum_c[nThreads];
	int index_c = threadIdx.x + threadIdx.y * blockDim.x;
	float sum = 0.0f;

	while (index < Nx_Ny)
	{
		float f_i = f[index];
		sum += f_i * f_i;
		index += gridDim.x * gridDim.y * nThreads;
	}

	sum_c[index_c] = sum;

	__syncthreads();

	int div = nThreads / 2;

	while (div != 0)
	{
		if (index_c < div)
		{
			sum_c[index_c] += sum_c[index_c + div];
		}

		__syncthreads();
		div /= 2;
	}

	if (index_c == 0)
	{
		atomicAdd(norm_f, sum_c[0]);
	}
}

// Math functions
float norm(float* A, int n, int m)
{
	int i = 0, j = 0;
	float sum = 0.0f;

	for (j = 0; j < m; j++)
	{
		int j_n = j * n;

		for (i = 0; i < n; i++)
		{
			int index = i + j_n;

			sum += A[index] * A[index];
		}
	}

	return sqrtf(sum);
}

float norm(float* A, float* B, int n, int m)
{
	int i = 0, j = 0;
	float sum = 0.0f;

	for (j = 0; j < m; j++)
	{
		int j_n = j * n;

		for (i = 0; i < n; i++)
		{
			int index = i + j_n;

			float A_minus_B = A[index] - B[index];
			sum += A_minus_B * A_minus_B;
		}
	}

	return sqrtf(sum);
}

// Utility functions
int gridSize(int threads, int N)
{
	return (N + (threads - 1)) / threads;
}

void save(const char* name, int* arr, int n)
{
	// Create file
	ofstream file;
	file.open(name);

	// Create temporal points
	int* arr_t = new int[n];

	// Copy array from GPU to CPU
	cudaMemcpy(arr_t, arr, n * sizeof(int), cudaMemcpyDeviceToHost);

	// Copy data
	for (int i = 0; i < n; i++)
	{
		file << arr_t[i];
		file << " ";
	}

	// Close and release the file
	file.close();

	// Delete temporary pointer
	delete(arr_t);
}

void save(const char* name, float* arr, int n)
{
	// Create file
	ofstream file;
	file.open(name);

	// Create temporal points
	float* arr_t = new float[n];

	// Copy array from GPU to CPU
	cudaMemcpy(arr_t, arr, n * sizeof(float), cudaMemcpyDeviceToHost);

	// Copy data
	for (int i = 0; i < n; i++)
	{
		file << arr_t[i];
		file << " ";
	}

	// Close and release the file
	file.close();

	// Delete temporary pointer
	delete(arr_t);
}

void save(const char* name, float* arr, int n, int m)		//only need this save??
{
	// Create file
	ofstream file;
	file.open(name);

	// Create temporal points
	float* arr_t = new float[n * m];

	// Copy array from GPU to CPU
	cudaMemcpy(arr_t, arr, (n * m) * sizeof(float), cudaMemcpyDeviceToHost);

	// Copy data
	for (int j = 0; j < m; j++)
	{
		int j_n = j * n;

		for (int i = 0; i < n; i++)
		{
			file << arr_t[i + j_n];
			file << " ";
		}

		file << "\n";
	}

	// Close and release the file
	file.close();

	// Delete temporary pointer
	delete(arr_t);
}

void save(const char* name, float* arr, int n, int m, int o, int k)
{
	// Create file
	ofstream file;
	file.open(name);

	// Create temporal points
	float* arr_t = new float[n * m * o];

	// Copy array from GPU to CPU
	cudaMemcpy(arr_t, arr, (n * m * o) * sizeof(float), cudaMemcpyDeviceToHost);

	// Copy data
	int offset = k * n * m;

	for (int j = 0; j < m; j++)
	{
		int j_n = j * n;

		for (int i = 0; i < n; i++)
		{
			file << arr_t[i + j_n + offset];
			file << " ";
		}

		file << "\n";
	}

	// Close and release the file
	file.close();

	// Delete temporary pointer
	delete(arr_t);
}

	.file	"tmpxft_002b5a8d_00000000-6_sirt-mimo-original.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB4017:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE4017:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.type	_Z18cudaMemcpyToSymbolIfE9cudaErrorRKT_PKvmm14cudaMemcpyKind.constprop.0.isra.0, @function
_Z18cudaMemcpyToSymbolIfE9cudaErrorRKT_PKvmm14cudaMemcpyKind.constprop.0.isra.0:
.LFB4754:
	.cfi_startproc
	movl	$1, %r8d
	xorl	%ecx, %ecx
	movl	$4, %edx
	jmp	cudaMemcpyToSymbol@PLT
	.cfi_endproc
.LFE4754:
	.size	_Z18cudaMemcpyToSymbolIfE9cudaErrorRKT_PKvmm14cudaMemcpyKind.constprop.0.isra.0, .-_Z18cudaMemcpyToSymbolIfE9cudaErrorRKT_PKvmm14cudaMemcpyKind.constprop.0.isra.0
	.type	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0, @function
_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0:
.LFB4755:
	.cfi_startproc
	jmp	cudaLaunchKernel@PLT
	.cfi_endproc
.LFE4755:
	.size	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0, .-_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	.globl	_Z19transducersPositionRPiS0_i
	.type	_Z19transducersPositionRPiS0_i, @function
_Z19transducersPositionRPiS0_i:
.LFB4007:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movq	%rsi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movslq	%edx, %rbx
	salq	$2, %rbx
	movq	%rbx, %rdi
	call	malloc@PLT
	movq	%rbx, %rdi
	movq	%rax, 0(%rbp)
	call	malloc@PLT
	xorl	%edx, %edx
	movq	%rax, (%r12)
	movq	0(%rbp), %rcx
.L5:
	leal	21(%rdx), %esi
	movl	%esi, (%rcx,%rdx,4)
	movl	$180, (%rax,%rdx,4)
	incq	%rdx
	cmpq	$160, %rdx
	jne	.L5
	movl	$339, %edi
.L6:
	movl	%edi, %esi
	movl	$180, (%rcx,%rdx,4)
	subl	%edx, %esi
	movl	%esi, (%rax,%rdx,4)
	incq	%rdx
	cmpq	$320, %rdx
	jne	.L6
	movl	$499, %edi
.L7:
	movl	%edi, %esi
	subl	%edx, %esi
	movl	%esi, (%rcx,%rdx,4)
	movl	$20, (%rax,%rdx,4)
	incq	%rdx
	cmpq	$480, %rdx
	jne	.L7
.L8:
	leal	-459(%rdx), %esi
	movl	$20, (%rcx,%rdx,4)
	movl	%esi, (%rax,%rdx,4)
	incq	%rdx
	cmpq	$640, %rdx
	jne	.L8
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4007:
	.size	_Z19transducersPositionRPiS0_i, .-_Z19transducersPositionRPiS0_i
	.globl	_Z4normPfii
	.type	_Z4normPfii, @function
_Z4normPfii:
.LFB4008:
	.cfi_startproc
	endbr64
	movslq	%esi, %r8
	xorps	%xmm1, %xmm1
	xorl	%ecx, %ecx
	salq	$2, %r8
.L16:
	cmpl	%edx, %ecx
	jge	.L20
	xorl	%eax, %eax
.L18:
	cmpl	%eax, %esi
	jle	.L21
	movss	(%rdi,%rax,4), %xmm0
	incq	%rax
	mulss	%xmm0, %xmm0
	addss	%xmm0, %xmm1
	jmp	.L18
.L21:
	incl	%ecx
	addq	%r8, %rdi
	jmp	.L16
.L20:
	movaps	%xmm1, %xmm0
	jmp	sqrtf@PLT
	.cfi_endproc
.LFE4008:
	.size	_Z4normPfii, .-_Z4normPfii
	.globl	_Z4normPfS_ii
	.type	_Z4normPfS_ii, @function
_Z4normPfS_ii:
.LFB4009:
	.cfi_startproc
	endbr64
	movslq	%edx, %r9
	movq	%rdi, %r10
	xorl	%r8d, %r8d
	xorl	%edi, %edi
	salq	$2, %r9
	xorps	%xmm1, %xmm1
.L23:
	cmpl	%ecx, %edi
	jge	.L27
	movq	%r8, %rax
	xorl	%r11d, %r11d
.L25:
	cmpl	%edx, %r11d
	jge	.L28
	movss	(%r10,%rax), %xmm0
	subss	(%rsi,%rax), %xmm0
	incl	%r11d
	addq	$4, %rax
	mulss	%xmm0, %xmm0
	addss	%xmm0, %xmm1
	jmp	.L25
.L28:
	incl	%edi
	addq	%r9, %r8
	jmp	.L23
.L27:
	movaps	%xmm1, %xmm0
	jmp	sqrtf@PLT
	.cfi_endproc
.LFE4009:
	.size	_Z4normPfS_ii, .-_Z4normPfS_ii
	.globl	_Z8gridSizeii
	.type	_Z8gridSizeii, @function
_Z8gridSizeii:
.LFB4010:
	.cfi_startproc
	endbr64
	leal	-1(%rdi,%rsi), %eax
	cltd
	idivl	%edi
	ret
	.cfi_endproc
.LFE4010:
	.size	_Z8gridSizeii, .-_Z8gridSizeii
	.globl	_Z30__device_stub__Z9gridSetupPfS_PfS_
	.type	_Z30__device_stub__Z9gridSetupPfS_PfS_, @function
_Z30__device_stub__Z9gridSetupPfS_PfS_:
.LFB4039:
	.cfi_startproc
	endbr64
	subq	$88, %rsp
	.cfi_def_cfa_offset 96
	movq	%rdi, 8(%rsp)
	leaq	24(%rsp), %rcx
	leaq	16(%rsp), %rdx
	movq	%rsi, (%rsp)
	leaq	32(%rsp), %rdi
	leaq	44(%rsp), %rsi
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rax
	movl	$1, 40(%rsp)
	movq	%rax, 56(%rsp)
	movq	%rsp, %rax
	movq	%rax, 64(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 32(%rsp)
	movq	%rax, 44(%rsp)
	movl	$1, 52(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L30
	pushq	24(%rsp)
	.cfi_def_cfa_offset 104
	leaq	_Z9gridSetupPfS_(%rip), %rdi
	pushq	24(%rsp)
	.cfi_def_cfa_offset 112
	movq	60(%rsp), %rcx
	movl	68(%rsp), %r8d
	movq	48(%rsp), %rsi
	movl	56(%rsp), %edx
	leaq	72(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 104
	popq	%rdx
	.cfi_def_cfa_offset 96
.L30:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	addq	$88, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4039:
	.size	_Z30__device_stub__Z9gridSetupPfS_PfS_, .-_Z30__device_stub__Z9gridSetupPfS_PfS_
	.globl	_Z9gridSetupPfS_
	.type	_Z9gridSetupPfS_, @function
_Z9gridSetupPfS_:
.LFB4040:
	.cfi_startproc
	endbr64
	jmp	_Z30__device_stub__Z9gridSetupPfS_PfS_
	.cfi_endproc
.LFE4040:
	.size	_Z9gridSetupPfS_, .-_Z9gridSetupPfS_
	.globl	_Z36__device_stub__Z12imagingFieldPfS_S_PfS_S_
	.type	_Z36__device_stub__Z12imagingFieldPfS_S_PfS_S_, @function
_Z36__device_stub__Z12imagingFieldPfS_S_PfS_S_:
.LFB4041:
	.cfi_startproc
	endbr64
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rdi, 24(%rsp)
	leaq	48(%rsp), %rcx
	leaq	56(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	68(%rsp), %rsi
	movq	%rdx, 8(%rsp)
	leaq	40(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 64(%rsp)
	movq	%rax, 80(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 88(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movq	%rax, 68(%rsp)
	movl	$1, 76(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L35
	pushq	48(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z12imagingFieldPfS_S_(%rip), %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 144
	movq	84(%rsp), %rcx
	movl	92(%rsp), %r8d
	movq	72(%rsp), %rsi
	movl	80(%rsp), %edx
	leaq	96(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L35:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L37
	call	__stack_chk_fail@PLT
.L37:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4041:
	.size	_Z36__device_stub__Z12imagingFieldPfS_S_PfS_S_, .-_Z36__device_stub__Z12imagingFieldPfS_S_PfS_S_
	.globl	_Z12imagingFieldPfS_S_
	.type	_Z12imagingFieldPfS_S_, @function
_Z12imagingFieldPfS_S_:
.LFB4042:
	.cfi_startproc
	endbr64
	jmp	_Z36__device_stub__Z12imagingFieldPfS_S_PfS_S_
	.cfi_endproc
.LFE4042:
	.size	_Z12imagingFieldPfS_S_, .-_Z12imagingFieldPfS_S_
	.globl	_Z56__device_stub__Z28setSensorActivationVariablesPfS_S_S_S_PfS_S_S_S_
	.type	_Z56__device_stub__Z28setSensorActivationVariablesPfS_S_S_S_PfS_S_S_S_, @function
_Z56__device_stub__Z28setSensorActivationVariablesPfS_S_S_S_PfS_S_S_S_:
.LFB4043:
	.cfi_startproc
	endbr64
	subq	$152, %rsp
	.cfi_def_cfa_offset 160
	movq	%rdi, 40(%rsp)
	leaq	72(%rsp), %rdi
	movq	%rsi, 32(%rsp)
	leaq	84(%rsp), %rsi
	movq	%rdx, 24(%rsp)
	leaq	56(%rsp), %rdx
	movq	%rcx, 16(%rsp)
	leaq	64(%rsp), %rcx
	movq	%r8, 8(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rax
	movl	$1, 80(%rsp)
	movq	%rax, 96(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 104(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 112(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 120(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 128(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 72(%rsp)
	movq	%rax, 84(%rsp)
	movl	$1, 92(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L40
	pushq	64(%rsp)
	.cfi_def_cfa_offset 168
	leaq	_Z28setSensorActivationVariablesPfS_S_S_S_(%rip), %rdi
	pushq	64(%rsp)
	.cfi_def_cfa_offset 176
	movq	100(%rsp), %rcx
	movl	108(%rsp), %r8d
	movq	88(%rsp), %rsi
	movl	96(%rsp), %edx
	leaq	112(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 168
	popq	%rdx
	.cfi_def_cfa_offset 160
.L40:
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	addq	$152, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4043:
	.size	_Z56__device_stub__Z28setSensorActivationVariablesPfS_S_S_S_PfS_S_S_S_, .-_Z56__device_stub__Z28setSensorActivationVariablesPfS_S_S_S_PfS_S_S_S_
	.globl	_Z28setSensorActivationVariablesPfS_S_S_S_
	.type	_Z28setSensorActivationVariablesPfS_S_S_S_, @function
_Z28setSensorActivationVariablesPfS_S_S_S_:
.LFB4044:
	.cfi_startproc
	endbr64
	jmp	_Z56__device_stub__Z28setSensorActivationVariablesPfS_S_S_S_PfS_S_S_S_
	.cfi_endproc
.LFE4044:
	.size	_Z28setSensorActivationVariablesPfS_S_S_S_, .-_Z28setSensorActivationVariablesPfS_S_S_S_
	.globl	_Z57__device_stub__Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_PPfS_S_S_S_fiPiS1_S1_S1_
	.type	_Z57__device_stub__Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_PPfS_S_S_S_fiPiS1_S1_S1_, @function
_Z57__device_stub__Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_PPfS_S_S_S_fiPiS1_S1_S1_:
.LFB4045:
	.cfi_startproc
	endbr64
	subq	$232, %rsp
	.cfi_def_cfa_offset 240
	movq	240(%rsp), %rax
	movq	%rdi, 72(%rsp)
	leaq	104(%rsp), %rdi
	movq	%rsi, 64(%rsp)
	leaq	116(%rsp), %rsi
	movq	%rax, 24(%rsp)
	movq	248(%rsp), %rax
	movq	%rdx, 56(%rsp)
	leaq	88(%rsp), %rdx
	movq	%rax, 16(%rsp)
	movq	256(%rsp), %rax
	movq	%rcx, 48(%rsp)
	leaq	96(%rsp), %rcx
	movq	%rax, 8(%rsp)
	movq	264(%rsp), %rax
	movq	%r8, 40(%rsp)
	movl	%r9d, 32(%rsp)
	movq	%rax, (%rsp)
	movss	%xmm0, 36(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 216(%rsp)
	xorl	%eax, %eax
	leaq	72(%rsp), %rax
	movl	$1, 112(%rsp)
	movq	%rax, 128(%rsp)
	leaq	64(%rsp), %rax
	movq	%rax, 136(%rsp)
	leaq	56(%rsp), %rax
	movq	%rax, 144(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 152(%rsp)
	leaq	40(%rsp), %rax
	movq	%rax, 160(%rsp)
	leaq	36(%rsp), %rax
	movq	%rax, 168(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 176(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 184(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 192(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 200(%rsp)
	movq	%rsp, %rax
	movq	%rax, 208(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 104(%rsp)
	movq	%rax, 116(%rsp)
	movl	$1, 124(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L45
	pushq	96(%rsp)
	.cfi_def_cfa_offset 248
	leaq	_Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_(%rip), %rdi
	pushq	96(%rsp)
	.cfi_def_cfa_offset 256
	movq	132(%rsp), %rcx
	movl	140(%rsp), %r8d
	movq	120(%rsp), %rsi
	movl	128(%rsp), %edx
	leaq	144(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 248
	popq	%rdx
	.cfi_def_cfa_offset 240
.L45:
	movq	216(%rsp), %rax
	subq	%fs:40, %rax
	je	.L47
	call	__stack_chk_fail@PLT
.L47:
	addq	$232, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4045:
	.size	_Z57__device_stub__Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_PPfS_S_S_S_fiPiS1_S1_S1_, .-_Z57__device_stub__Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_PPfS_S_S_S_fiPiS1_S1_S1_
	.globl	_Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_
	.type	_Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_, @function
_Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_:
.LFB4046:
	.cfi_startproc
	endbr64
	jmp	_Z57__device_stub__Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_PPfS_S_S_S_fiPiS1_S1_S1_
	.cfi_endproc
.LFE4046:
	.size	_Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_, .-_Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_
	.globl	_Z34__device_stub__Z13waveAtCornersPPfPPf
	.type	_Z34__device_stub__Z13waveAtCornersPPfPPf, @function
_Z34__device_stub__Z13waveAtCornersPPfPPf:
.LFB4047:
	.cfi_startproc
	endbr64
	subq	$88, %rsp
	.cfi_def_cfa_offset 96
	movq	%rdi, 8(%rsp)
	leaq	32(%rsp), %rcx
	leaq	24(%rsp), %rdx
	leaq	52(%rsp), %rsi
	leaq	40(%rsp), %rdi
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rax
	movl	$1, 48(%rsp)
	movq	%rax, 64(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 40(%rsp)
	movq	%rax, 52(%rsp)
	movl	$1, 60(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L50
	pushq	32(%rsp)
	.cfi_def_cfa_offset 104
	leaq	_Z13waveAtCornersPPf(%rip), %rdi
	pushq	32(%rsp)
	.cfi_def_cfa_offset 112
	movq	68(%rsp), %rcx
	movl	76(%rsp), %r8d
	movq	56(%rsp), %rsi
	movl	64(%rsp), %edx
	leaq	80(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 104
	popq	%rdx
	.cfi_def_cfa_offset 96
.L50:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	je	.L52
	call	__stack_chk_fail@PLT
.L52:
	addq	$88, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4047:
	.size	_Z34__device_stub__Z13waveAtCornersPPfPPf, .-_Z34__device_stub__Z13waveAtCornersPPfPPf
	.globl	_Z13waveAtCornersPPf
	.type	_Z13waveAtCornersPPf, @function
_Z13waveAtCornersPPf:
.LFB4048:
	.cfi_startproc
	endbr64
	jmp	_Z34__device_stub__Z13waveAtCornersPPfPPf
	.cfi_endproc
.LFE4048:
	.size	_Z13waveAtCornersPPf, .-_Z13waveAtCornersPPf
	.globl	_Z43__device_stub__Z13waveAtSensorsPPfS_S_S_S_iPPfS_S_S_S_i
	.type	_Z43__device_stub__Z13waveAtSensorsPPfS_S_S_S_iPPfS_S_S_S_i, @function
_Z43__device_stub__Z13waveAtSensorsPPfS_S_S_S_iPPfS_S_S_S_i:
.LFB4049:
	.cfi_startproc
	endbr64
	subq	$152, %rsp
	.cfi_def_cfa_offset 160
	movq	%rdi, 40(%rsp)
	leaq	64(%rsp), %rdi
	movq	%rsi, 32(%rsp)
	leaq	76(%rsp), %rsi
	movq	%rdx, 24(%rsp)
	leaq	48(%rsp), %rdx
	movq	%rcx, 16(%rsp)
	leaq	56(%rsp), %rcx
	movq	%r8, 8(%rsp)
	movl	%r9d, 4(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rax
	movl	$1, 72(%rsp)
	movq	%rax, 88(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 96(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 104(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 112(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 120(%rsp)
	leaq	4(%rsp), %rax
	movq	%rax, 128(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 64(%rsp)
	movq	%rax, 76(%rsp)
	movl	$1, 84(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L55
	pushq	56(%rsp)
	.cfi_def_cfa_offset 168
	leaq	_Z13waveAtSensorsPPfS_S_S_S_i(%rip), %rdi
	pushq	56(%rsp)
	.cfi_def_cfa_offset 176
	movq	92(%rsp), %rcx
	movl	100(%rsp), %r8d
	movq	80(%rsp), %rsi
	movl	88(%rsp), %edx
	leaq	104(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 168
	popq	%rdx
	.cfi_def_cfa_offset 160
.L55:
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	je	.L57
	call	__stack_chk_fail@PLT
.L57:
	addq	$152, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4049:
	.size	_Z43__device_stub__Z13waveAtSensorsPPfS_S_S_S_iPPfS_S_S_S_i, .-_Z43__device_stub__Z13waveAtSensorsPPfS_S_S_S_iPPfS_S_S_S_i
	.globl	_Z13waveAtSensorsPPfS_S_S_S_i
	.type	_Z13waveAtSensorsPPfS_S_S_S_i, @function
_Z13waveAtSensorsPPfS_S_S_S_i:
.LFB4050:
	.cfi_startproc
	endbr64
	jmp	_Z43__device_stub__Z13waveAtSensorsPPfS_S_S_S_iPPfS_S_S_S_i
	.cfi_endproc
.LFE4050:
	.size	_Z13waveAtSensorsPPfS_S_S_S_i, .-_Z13waveAtSensorsPPfS_S_S_S_i
	.globl	_Z27__device_stub__Z8setAlphaPfPf
	.type	_Z27__device_stub__Z8setAlphaPfPf, @function
_Z27__device_stub__Z8setAlphaPfPf:
.LFB4051:
	.cfi_startproc
	endbr64
	subq	$88, %rsp
	.cfi_def_cfa_offset 96
	movq	%rdi, 8(%rsp)
	leaq	32(%rsp), %rcx
	leaq	24(%rsp), %rdx
	leaq	52(%rsp), %rsi
	leaq	40(%rsp), %rdi
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rax
	movl	$1, 48(%rsp)
	movq	%rax, 64(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 40(%rsp)
	movq	%rax, 52(%rsp)
	movl	$1, 60(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L60
	pushq	32(%rsp)
	.cfi_def_cfa_offset 104
	leaq	_Z8setAlphaPf(%rip), %rdi
	pushq	32(%rsp)
	.cfi_def_cfa_offset 112
	movq	68(%rsp), %rcx
	movl	76(%rsp), %r8d
	movq	56(%rsp), %rsi
	movl	64(%rsp), %edx
	leaq	80(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 104
	popq	%rdx
	.cfi_def_cfa_offset 96
.L60:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	je	.L62
	call	__stack_chk_fail@PLT
.L62:
	addq	$88, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4051:
	.size	_Z27__device_stub__Z8setAlphaPfPf, .-_Z27__device_stub__Z8setAlphaPfPf
	.globl	_Z8setAlphaPf
	.type	_Z8setAlphaPf, @function
_Z8setAlphaPf:
.LFB4052:
	.cfi_startproc
	endbr64
	jmp	_Z27__device_stub__Z8setAlphaPfPf
	.cfi_endproc
.LFE4052:
	.size	_Z8setAlphaPf, .-_Z8setAlphaPf
	.globl	_Z61__device_stub__Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_iPPfS_S_S_S_S0_S0_S0_S0_i
	.type	_Z61__device_stub__Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_iPPfS_S_S_S_S0_S0_S0_S0_i, @function
_Z61__device_stub__Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_iPPfS_S_S_S_S0_S0_S0_S0_i:
.LFB4053:
	.cfi_startproc
	endbr64
	subq	$216, %rsp
	.cfi_def_cfa_offset 224
	movq	224(%rsp), %rax
	movq	%rdi, 72(%rsp)
	leaq	96(%rsp), %rdi
	movq	%rsi, 64(%rsp)
	leaq	108(%rsp), %rsi
	movq	%rax, 24(%rsp)
	movq	232(%rsp), %rax
	movq	%rdx, 56(%rsp)
	leaq	80(%rsp), %rdx
	movq	%rax, 16(%rsp)
	movq	240(%rsp), %rax
	movq	%rcx, 48(%rsp)
	leaq	88(%rsp), %rcx
	movq	%r8, 40(%rsp)
	movq	%r9, 32(%rsp)
	movq	%rax, 8(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 200(%rsp)
	xorl	%eax, %eax
	leaq	72(%rsp), %rax
	movl	$1, 104(%rsp)
	movq	%rax, 120(%rsp)
	leaq	64(%rsp), %rax
	movq	%rax, 128(%rsp)
	leaq	56(%rsp), %rax
	movq	%rax, 136(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 144(%rsp)
	leaq	40(%rsp), %rax
	movq	%rax, 152(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 160(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 168(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 176(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 184(%rsp)
	leaq	248(%rsp), %rax
	movq	%rax, 192(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 96(%rsp)
	movq	%rax, 108(%rsp)
	movl	$1, 116(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L65
	pushq	88(%rsp)
	.cfi_def_cfa_offset 232
	leaq	_Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i(%rip), %rdi
	pushq	88(%rsp)
	.cfi_def_cfa_offset 240
	movq	124(%rsp), %rcx
	movl	132(%rsp), %r8d
	movq	112(%rsp), %rsi
	movl	120(%rsp), %edx
	leaq	136(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 232
	popq	%rdx
	.cfi_def_cfa_offset 224
.L65:
	movq	200(%rsp), %rax
	subq	%fs:40, %rax
	je	.L67
	call	__stack_chk_fail@PLT
.L67:
	addq	$216, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4053:
	.size	_Z61__device_stub__Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_iPPfS_S_S_S_S0_S0_S0_S0_i, .-_Z61__device_stub__Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_iPPfS_S_S_S_S0_S0_S0_S0_i
	.globl	_Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i
	.type	_Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i, @function
_Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i:
.LFB4054:
	.cfi_startproc
	endbr64
	jmp	_Z61__device_stub__Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_iPPfS_S_S_S_S0_S0_S0_S0_i
	.cfi_endproc
.LFE4054:
	.size	_Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i, .-_Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i
	.globl	_Z24__device_stub__Z4setZPPfPPf
	.type	_Z24__device_stub__Z4setZPPfPPf, @function
_Z24__device_stub__Z4setZPPfPPf:
.LFB4055:
	.cfi_startproc
	endbr64
	subq	$88, %rsp
	.cfi_def_cfa_offset 96
	movq	%rdi, 8(%rsp)
	leaq	32(%rsp), %rcx
	leaq	24(%rsp), %rdx
	leaq	52(%rsp), %rsi
	leaq	40(%rsp), %rdi
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rax
	movl	$1, 48(%rsp)
	movq	%rax, 64(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 40(%rsp)
	movq	%rax, 52(%rsp)
	movl	$1, 60(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L70
	pushq	32(%rsp)
	.cfi_def_cfa_offset 104
	leaq	_Z4setZPPf(%rip), %rdi
	pushq	32(%rsp)
	.cfi_def_cfa_offset 112
	movq	68(%rsp), %rcx
	movl	76(%rsp), %r8d
	movq	56(%rsp), %rsi
	movl	64(%rsp), %edx
	leaq	80(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 104
	popq	%rdx
	.cfi_def_cfa_offset 96
.L70:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	je	.L72
	call	__stack_chk_fail@PLT
.L72:
	addq	$88, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4055:
	.size	_Z24__device_stub__Z4setZPPfPPf, .-_Z24__device_stub__Z4setZPPfPPf
	.globl	_Z4setZPPf
	.type	_Z4setZPPf, @function
_Z4setZPPf:
.LFB4056:
	.cfi_startproc
	endbr64
	jmp	_Z24__device_stub__Z4setZPPfPPf
	.cfi_endproc
.LFE4056:
	.size	_Z4setZPPf, .-_Z4setZPPf
	.globl	_Z44__device_stub__Z19waveBackpropagationPPfS_fiPPfS_fi
	.type	_Z44__device_stub__Z19waveBackpropagationPPfS_fiPPfS_fi, @function
_Z44__device_stub__Z19waveBackpropagationPPfS_fiPPfS_fi:
.LFB4057:
	.cfi_startproc
	endbr64
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rdi, 24(%rsp)
	leaq	40(%rsp), %rcx
	leaq	48(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	60(%rsp), %rsi
	movl	%edx, 8(%rsp)
	leaq	32(%rsp), %rdx
	movss	%xmm0, 12(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 56(%rsp)
	movq	%rax, 72(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 80(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 88(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 48(%rsp)
	movq	%rax, 60(%rsp)
	movl	$1, 68(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L75
	pushq	40(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z19waveBackpropagationPPfS_fi(%rip), %rdi
	pushq	40(%rsp)
	.cfi_def_cfa_offset 144
	movq	76(%rsp), %rcx
	movl	84(%rsp), %r8d
	movq	64(%rsp), %rsi
	movl	72(%rsp), %edx
	leaq	88(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L75:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L77
	call	__stack_chk_fail@PLT
.L77:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4057:
	.size	_Z44__device_stub__Z19waveBackpropagationPPfS_fiPPfS_fi, .-_Z44__device_stub__Z19waveBackpropagationPPfS_fiPPfS_fi
	.globl	_Z19waveBackpropagationPPfS_fi
	.type	_Z19waveBackpropagationPPfS_fi, @function
_Z19waveBackpropagationPPfS_fi:
.LFB4058:
	.cfi_startproc
	endbr64
	jmp	_Z44__device_stub__Z19waveBackpropagationPPfS_fiPPfS_fi
	.cfi_endproc
.LFE4058:
	.size	_Z19waveBackpropagationPPfS_fi, .-_Z19waveBackpropagationPPfS_fi
	.globl	_Z68__device_stub__Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_iPPfS0_S0_S0_S0_i
	.type	_Z68__device_stub__Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_iPPfS0_S0_S0_S0_i, @function
_Z68__device_stub__Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_iPPfS0_S0_S0_S0_i:
.LFB4059:
	.cfi_startproc
	endbr64
	subq	$152, %rsp
	.cfi_def_cfa_offset 160
	movq	%rdi, 40(%rsp)
	leaq	64(%rsp), %rdi
	movq	%rsi, 32(%rsp)
	leaq	76(%rsp), %rsi
	movq	%rdx, 24(%rsp)
	leaq	48(%rsp), %rdx
	movq	%rcx, 16(%rsp)
	leaq	56(%rsp), %rcx
	movq	%r8, 8(%rsp)
	movl	%r9d, 4(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rax
	movl	$1, 72(%rsp)
	movq	%rax, 88(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 96(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 104(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 112(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 120(%rsp)
	leaq	4(%rsp), %rax
	movq	%rax, 128(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 64(%rsp)
	movq	%rax, 76(%rsp)
	movl	$1, 84(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L80
	pushq	56(%rsp)
	.cfi_def_cfa_offset 168
	leaq	_Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i(%rip), %rdi
	pushq	56(%rsp)
	.cfi_def_cfa_offset 176
	movq	92(%rsp), %rcx
	movl	100(%rsp), %r8d
	movq	80(%rsp), %rsi
	movl	88(%rsp), %edx
	leaq	104(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 168
	popq	%rdx
	.cfi_def_cfa_offset 160
.L80:
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	je	.L82
	call	__stack_chk_fail@PLT
.L82:
	addq	$152, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4059:
	.size	_Z68__device_stub__Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_iPPfS0_S0_S0_S0_i, .-_Z68__device_stub__Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_iPPfS0_S0_S0_S0_i
	.globl	_Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i
	.type	_Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i, @function
_Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i:
.LFB4060:
	.cfi_startproc
	endbr64
	jmp	_Z68__device_stub__Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_iPPfS0_S0_S0_S0_i
	.cfi_endproc
.LFE4060:
	.size	_Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i, .-_Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i
	.globl	_Z32__device_stub__Z8deltau_kPPfS0_iPPfS0_i
	.type	_Z32__device_stub__Z8deltau_kPPfS0_iPPfS0_i, @function
_Z32__device_stub__Z8deltau_kPPfS0_iPPfS0_i:
.LFB4061:
	.cfi_startproc
	endbr64
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rdi, 24(%rsp)
	leaq	48(%rsp), %rcx
	leaq	56(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	68(%rsp), %rsi
	movl	%edx, 12(%rsp)
	leaq	40(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 64(%rsp)
	movq	%rax, 80(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 88(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movq	%rax, 68(%rsp)
	movl	$1, 76(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L85
	pushq	48(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z8deltau_kPPfS0_i(%rip), %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 144
	movq	84(%rsp), %rcx
	movl	92(%rsp), %r8d
	movq	72(%rsp), %rsi
	movl	80(%rsp), %edx
	leaq	96(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L85:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L87
	call	__stack_chk_fail@PLT
.L87:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4061:
	.size	_Z32__device_stub__Z8deltau_kPPfS0_iPPfS0_i, .-_Z32__device_stub__Z8deltau_kPPfS0_iPPfS0_i
	.globl	_Z8deltau_kPPfS0_i
	.type	_Z8deltau_kPPfS0_i, @function
_Z8deltau_kPPfS0_i:
.LFB4062:
	.cfi_startproc
	endbr64
	jmp	_Z32__device_stub__Z8deltau_kPPfS0_iPPfS0_i
	.cfi_endproc
.LFE4062:
	.size	_Z8deltau_kPPfS0_i, .-_Z8deltau_kPPfS0_i
	.globl	_Z32__device_stub__Z4df_kPfPS_S0_S_iPfPS_S0_S_i
	.type	_Z32__device_stub__Z4df_kPfPS_S0_S_iPfPS_S0_S_i, @function
_Z32__device_stub__Z4df_kPfPS_S0_S_iPfPS_S0_S_i:
.LFB4063:
	.cfi_startproc
	endbr64
	subq	$152, %rsp
	.cfi_def_cfa_offset 160
	movq	%rdi, 40(%rsp)
	leaq	72(%rsp), %rdi
	movq	%rsi, 32(%rsp)
	leaq	84(%rsp), %rsi
	movq	%rdx, 24(%rsp)
	leaq	56(%rsp), %rdx
	movq	%rcx, 16(%rsp)
	leaq	64(%rsp), %rcx
	movl	%r8d, 12(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rax
	movl	$1, 80(%rsp)
	movq	%rax, 96(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 104(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 112(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 120(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 128(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 72(%rsp)
	movq	%rax, 84(%rsp)
	movl	$1, 92(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L90
	pushq	64(%rsp)
	.cfi_def_cfa_offset 168
	leaq	_Z4df_kPfPS_S0_S_i(%rip), %rdi
	pushq	64(%rsp)
	.cfi_def_cfa_offset 176
	movq	100(%rsp), %rcx
	movl	108(%rsp), %r8d
	movq	88(%rsp), %rsi
	movl	96(%rsp), %edx
	leaq	112(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 168
	popq	%rdx
	.cfi_def_cfa_offset 160
.L90:
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	je	.L92
	call	__stack_chk_fail@PLT
.L92:
	addq	$152, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4063:
	.size	_Z32__device_stub__Z4df_kPfPS_S0_S_iPfPS_S0_S_i, .-_Z32__device_stub__Z4df_kPfPS_S0_S_iPfPS_S0_S_i
	.globl	_Z4df_kPfPS_S0_S_i
	.type	_Z4df_kPfPS_S0_S_i, @function
_Z4df_kPfPS_S0_S_i:
.LFB4064:
	.cfi_startproc
	endbr64
	jmp	_Z32__device_stub__Z4df_kPfPS_S0_S_iPfPS_S0_S_i
	.cfi_endproc
.LFE4064:
	.size	_Z4df_kPfPS_S0_S_i, .-_Z4df_kPfPS_S0_S_i
	.globl	_Z26__device_stub__Z3f_kPfS_S_PfS_S_
	.type	_Z26__device_stub__Z3f_kPfS_S_PfS_S_, @function
_Z26__device_stub__Z3f_kPfS_S_PfS_S_:
.LFB4065:
	.cfi_startproc
	endbr64
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rdi, 24(%rsp)
	leaq	48(%rsp), %rcx
	leaq	56(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	68(%rsp), %rsi
	movq	%rdx, 8(%rsp)
	leaq	40(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 64(%rsp)
	movq	%rax, 80(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 88(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movq	%rax, 68(%rsp)
	movl	$1, 76(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L95
	pushq	48(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z3f_kPfS_S_(%rip), %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 144
	movq	84(%rsp), %rcx
	movl	92(%rsp), %r8d
	movq	72(%rsp), %rsi
	movl	80(%rsp), %edx
	leaq	96(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L95:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L97
	call	__stack_chk_fail@PLT
.L97:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4065:
	.size	_Z26__device_stub__Z3f_kPfS_S_PfS_S_, .-_Z26__device_stub__Z3f_kPfS_S_PfS_S_
	.globl	_Z3f_kPfS_S_
	.type	_Z3f_kPfS_S_, @function
_Z3f_kPfS_S_:
.LFB4066:
	.cfi_startproc
	endbr64
	jmp	_Z26__device_stub__Z3f_kPfS_S_PfS_S_
	.cfi_endproc
.LFE4066:
	.size	_Z3f_kPfS_S_, .-_Z3f_kPfS_S_
	.globl	_Z35__device_stub__Z11norm_f_f0_kPfS_S_PfS_S_
	.type	_Z35__device_stub__Z11norm_f_f0_kPfS_S_PfS_S_, @function
_Z35__device_stub__Z11norm_f_f0_kPfS_S_PfS_S_:
.LFB4067:
	.cfi_startproc
	endbr64
	subq	$120, %rsp
	.cfi_def_cfa_offset 128
	movq	%rdi, 24(%rsp)
	leaq	48(%rsp), %rcx
	leaq	56(%rsp), %rdi
	movq	%rsi, 16(%rsp)
	leaq	68(%rsp), %rsi
	movq	%rdx, 8(%rsp)
	leaq	40(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 64(%rsp)
	movq	%rax, 80(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 88(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 96(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movq	%rax, 68(%rsp)
	movl	$1, 76(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L100
	pushq	48(%rsp)
	.cfi_def_cfa_offset 136
	leaq	_Z11norm_f_f0_kPfS_S_(%rip), %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 144
	movq	84(%rsp), %rcx
	movl	92(%rsp), %r8d
	movq	72(%rsp), %rsi
	movl	80(%rsp), %edx
	leaq	96(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 136
	popq	%rdx
	.cfi_def_cfa_offset 128
.L100:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	je	.L102
	call	__stack_chk_fail@PLT
.L102:
	addq	$120, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4067:
	.size	_Z35__device_stub__Z11norm_f_f0_kPfS_S_PfS_S_, .-_Z35__device_stub__Z11norm_f_f0_kPfS_S_PfS_S_
	.globl	_Z11norm_f_f0_kPfS_S_
	.type	_Z11norm_f_f0_kPfS_S_, @function
_Z11norm_f_f0_kPfS_S_:
.LFB4068:
	.cfi_startproc
	endbr64
	jmp	_Z35__device_stub__Z11norm_f_f0_kPfS_S_PfS_S_
	.cfi_endproc
.LFE4068:
	.size	_Z11norm_f_f0_kPfS_S_, .-_Z11norm_f_f0_kPfS_S_
	.globl	_Z30__device_stub__Z9norm_f0_kPfS_PfS_
	.type	_Z30__device_stub__Z9norm_f0_kPfS_PfS_, @function
_Z30__device_stub__Z9norm_f0_kPfS_PfS_:
.LFB4069:
	.cfi_startproc
	endbr64
	subq	$88, %rsp
	.cfi_def_cfa_offset 96
	movq	%rdi, 8(%rsp)
	leaq	24(%rsp), %rcx
	leaq	16(%rsp), %rdx
	movq	%rsi, (%rsp)
	leaq	32(%rsp), %rdi
	leaq	44(%rsp), %rsi
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rax
	movl	$1, 40(%rsp)
	movq	%rax, 56(%rsp)
	movq	%rsp, %rax
	movq	%rax, 64(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 32(%rsp)
	movq	%rax, 44(%rsp)
	movl	$1, 52(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L105
	pushq	24(%rsp)
	.cfi_def_cfa_offset 104
	leaq	_Z9norm_f0_kPfS_(%rip), %rdi
	pushq	24(%rsp)
	.cfi_def_cfa_offset 112
	movq	60(%rsp), %rcx
	movl	68(%rsp), %r8d
	movq	48(%rsp), %rsi
	movl	56(%rsp), %edx
	leaq	72(%rsp), %r9
	call	_Z16cudaLaunchKernelIcE9cudaErrorPT_4dim3S3_PPvmP11CUstream_st.isra.0
	popq	%rax
	.cfi_def_cfa_offset 104
	popq	%rdx
	.cfi_def_cfa_offset 96
.L105:
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	je	.L107
	call	__stack_chk_fail@PLT
.L107:
	addq	$88, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4069:
	.size	_Z30__device_stub__Z9norm_f0_kPfS_PfS_, .-_Z30__device_stub__Z9norm_f0_kPfS_PfS_
	.globl	_Z9norm_f0_kPfS_
	.type	_Z9norm_f0_kPfS_, @function
_Z9norm_f0_kPfS_:
.LFB4070:
	.cfi_startproc
	endbr64
	jmp	_Z30__device_stub__Z9norm_f0_kPfS_PfS_
	.cfi_endproc
.LFE4070:
	.size	_Z9norm_f0_kPfS_, .-_Z9norm_f0_kPfS_
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"_Z9norm_f0_kPfS_"
.LC2:
	.string	"_Z11norm_f_f0_kPfS_S_"
.LC3:
	.string	"_Z3f_kPfS_S_"
.LC4:
	.string	"_Z4df_kPfPS_S0_S_i"
.LC5:
	.string	"_Z8deltau_kPPfS0_i"
.LC6:
	.string	"_Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i"
.LC7:
	.string	"_Z19waveBackpropagationPPfS_fi"
.LC8:
	.string	"_Z4setZPPf"
.LC9:
	.string	"_Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i"
.LC10:
	.string	"_Z8setAlphaPf"
.LC11:
	.string	"_Z13waveAtSensorsPPfS_S_S_S_i"
.LC12:
	.string	"_Z13waveAtCornersPPf"
.LC13:
	.string	"_Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_"
.LC14:
	.string	"_Z28setSensorActivationVariablesPfS_S_S_S_"
.LC15:
	.string	"_Z12imagingFieldPfS_S_"
.LC16:
	.string	"_Z9gridSetupPfS_"
.LC17:
	.string	"T"
.LC18:
	.string	"dt"
.LC19:
	.string	"dt2"
.LC20:
	.string	"fre"
.LC21:
	.string	"omegac"
.LC22:
	.string	"tao"
.LC23:
	.string	"tao2"
.LC24:
	.string	"tt"
.LC25:
	.string	"h2"
.LC26:
	.string	"Nx_Ny"
.LC27:
	.string	"Nx_Ny_Nt"
.LC28:
	.string	"Nt_Nx"
.LC29:
	.string	"Nt_Ny"
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB4072:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	_ZL15__fatDeviceText(%rip), %rdi
	call	__cudaRegisterFatBinary@PLT
	pushq	$0
	.cfi_def_cfa_offset 24
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC1(%rip), %rdx
	movq	%rax, %rdi
	movq	%rax, %rbx
	pushq	$0
	.cfi_def_cfa_offset 40
	movq	%rdx, %rcx
	leaq	_Z9norm_f0_kPfS_(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 48
	movq	%rax, _ZL20__cudaFatCubinHandle(%rip)
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC2(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z11norm_f_f0_kPfS_S_(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC3(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z3f_kPfS_S_(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC4(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z4df_kPfPS_S0_S_i(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC5(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z8deltau_kPPfS0_i(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC6(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC7(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z19waveBackpropagationPPfS_fi(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC8(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z4setZPPf(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	leaq	.LC9(%rip), %rdx
	pushq	$0
	.cfi_def_cfa_offset 24
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	_Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC10(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z8setAlphaPf(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC11(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z13waveAtSensorsPPfS_S_S_S_i(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC12(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z13waveAtCornersPPf(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC13(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC14(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z28setSensorActivationVariablesPfS_S_S_S_(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC15(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z12imagingFieldPfS_S_(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC16(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z9gridSetupPfS_(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	leaq	.LC17(%rip), %rdx
	pushq	$0
	.cfi_def_cfa_offset 24
	movq	%rdx, %rcx
	movl	$4, %r9d
	xorl	%r8d, %r8d
	pushq	$1
	.cfi_def_cfa_offset 32
	leaq	_ZL1T(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rdx
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$1
	.cfi_def_cfa_offset 32
	leaq	.LC18(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	movq	%rdx, %rcx
	movl	$4, %r9d
	leaq	_ZL2dt(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rcx
	.cfi_def_cfa_offset 24
	popq	%rsi
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$1
	.cfi_def_cfa_offset 32
	leaq	.LC19(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	movq	%rdx, %rcx
	movl	$4, %r9d
	leaq	_ZL3dt2(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rdi
	.cfi_def_cfa_offset 24
	popq	%r8
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$1
	.cfi_def_cfa_offset 32
	leaq	.LC20(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	movq	%rdx, %rcx
	movl	$4, %r9d
	leaq	_ZL3fre(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%r9
	.cfi_def_cfa_offset 24
	popq	%r10
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$1
	.cfi_def_cfa_offset 32
	leaq	.LC21(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	movq	%rdx, %rcx
	movl	$4, %r9d
	leaq	_ZL6omegac(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%r11
	.cfi_def_cfa_offset 24
	popq	%rax
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$1
	.cfi_def_cfa_offset 32
	leaq	.LC22(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	movq	%rdx, %rcx
	movl	$4, %r9d
	leaq	_ZL3tao(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rdx
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$1
	.cfi_def_cfa_offset 32
	leaq	.LC23(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	movq	%rdx, %rcx
	movl	$4, %r9d
	leaq	_ZL4tao2(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rcx
	.cfi_def_cfa_offset 24
	popq	%rsi
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$1
	.cfi_def_cfa_offset 32
	leaq	.LC24(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	movq	%rdx, %rcx
	movl	$4, %r9d
	leaq	_ZL2tt(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rdi
	.cfi_def_cfa_offset 24
	popq	%r8
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$1
	.cfi_def_cfa_offset 32
	leaq	.LC25(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	movq	%rdx, %rcx
	movl	$4, %r9d
	leaq	_ZL2h2(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%r9
	.cfi_def_cfa_offset 24
	popq	%r10
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$1
	.cfi_def_cfa_offset 32
	leaq	.LC26(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	movq	%rdx, %rcx
	movl	$4, %r9d
	leaq	_ZL5Nx_Ny(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%r11
	.cfi_def_cfa_offset 24
	popq	%rax
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$1
	.cfi_def_cfa_offset 32
	leaq	.LC27(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	movq	%rdx, %rcx
	movl	$4, %r9d
	leaq	_ZL8Nx_Ny_Nt(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rax
	.cfi_def_cfa_offset 24
	popq	%rdx
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$1
	.cfi_def_cfa_offset 32
	leaq	.LC28(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	movq	%rdx, %rcx
	movl	$4, %r9d
	leaq	_ZL5Nt_Nx(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rcx
	.cfi_def_cfa_offset 24
	popq	%rsi
	.cfi_def_cfa_offset 16
	pushq	$0
	.cfi_def_cfa_offset 24
	pushq	$1
	.cfi_def_cfa_offset 32
	leaq	.LC29(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	movl	$4, %r9d
	movq	%rdx, %rcx
	leaq	_ZL5Nt_Ny(%rip), %rsi
	call	__cudaRegisterVar@PLT
	popq	%rdi
	.cfi_def_cfa_offset 24
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	popq	%r8
	.cfi_def_cfa_offset 16
	call	__cudaRegisterFatBinaryEnd@PLT
	leaq	_ZL26__cudaUnregisterBinaryUtilv(%rip), %rdi
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	atexit@PLT
	.cfi_endproc
.LFE4072:
	.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:
.LFB4151:
	.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	.L112
	movl	(%rbx), %edx
	movl	%edx, (%rax)
.L112:
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4151:
	.size	_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev, .-_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev
	.weak	_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev
	.set	_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev,_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev
	.section	.text._ZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_,"axG",@progbits,_ZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_,comdat
	.weak	_ZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_
	.type	_ZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_, @function
_ZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_:
.LFB4146:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4146
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movq	%rdi, %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movq	%rsi, %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movq	%rcx, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rdx, %rbx
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movl	%r8d, 12(%rsp)
	leaq	28(%rsp), %r13
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	call	__errno_location@PLT
	movl	12(%rsp), %edx
	leaq	32(%rsp), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rbp
	movl	(%rax), %eax
	movl	%eax, 28(%rsp)
	xorl	%eax, %eax
	movl	%eax, 0(%rbp)
.LEHB0:
	call	*%r15
	movq	32(%rsp), %rdx
	cmpq	%rbx, %rdx
	jne	.L116
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L129
	movq	%r14, %rdi
	call	_ZSt24__throw_invalid_argumentPKc@PLT
.L116:
	cmpl	$34, 0(%rbp)
	je	.L118
	movl	$2147483648, %ecx
	movl	$4294967295, %esi
	addq	%rax, %rcx
	cmpq	%rcx, %rsi
	jnb	.L119
.L118:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L129
	movq	%r14, %rdi
	call	_ZSt20__throw_out_of_rangePKc@PLT
.LEHE0:
.L119:
	testq	%r12, %r12
	je	.L121
	subq	%rbx, %rdx
	movq	%rdx, (%r12)
.L121:
	movq	%r13, %rdi
	movl	%eax, 12(%rsp)
	call	_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev
	movl	12(%rsp), %eax
	movq	40(%rsp), %rdx
	subq	%fs:40, %rdx
	je	.L124
	jmp	.L129
.L125:
	endbr64
	movq	%rax, %rbx
.L122:
	movq	%r13, %rdi
	call	_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L129
	movq	%rbx, %rdi
.LEHB1:
	call	_Unwind_Resume@PLT
.LEHE1:
.L129:
	call	__stack_chk_fail@PLT
.L124:
	addq	$56, %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
.LFE4146:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table._ZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_,"aG",@progbits,_ZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_,comdat
.LLSDA4146:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4146-.LLSDACSB4146
.LLSDACSB4146:
	.uleb128 .LEHB0-.LFB4146
	.uleb128 .LEHE0-.LEHB0
	.uleb128 .L125-.LFB4146
	.uleb128 0
	.uleb128 .LEHB1-.LFB4146
	.uleb128 .LEHE1-.LEHB1
	.uleb128 0
	.uleb128 0
.LLSDACSE4146:
	.section	.text._ZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_,"axG",@progbits,_ZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_,comdat
	.size	_ZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_, .-_ZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_
	.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:
.LFB4196:
	.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	.L132
	movl	(%rbx), %edx
	movl	%edx, (%rax)
.L132:
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4196:
	.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._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.str1.1,"aMS",@progbits,1
.LC30:
	.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_:
.LFB4390:
	.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	.L136
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L141
	leaq	.LC30(%rip), %rdi
	call	_ZSt19__throw_logic_errorPKc@PLT
.L136:
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	movq	%rsi, %rbp
	call	strlen@PLT
	movq	%rax, (%rsp)
	leaq	0(%rbp,%rax), %r12
	cmpq	$15, %rax
	jbe	.L138
	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)
.L138:
	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	.L139
.L141:
	call	__stack_chk_fail@PLT
.L139:
	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
.LFE4390:
	.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	.rodata.str1.1
.LC31:
	.string	" "
	.text
	.globl	_Z4savePKcPii
	.type	_Z4savePKcPii, @function
_Z4savePKcPii:
.LFB4011:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4011
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movq	%rsi, %r14
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	movl	%edx, %r13d
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$528, %rsp
	.cfi_def_cfa_offset 576
	movq	%fs:40, %rax
	movq	%rax, 520(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rbx
	movq	%rbx, %rdi
.LEHB2:
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev@PLT
.LEHE2:
	movl	$16, %edx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
.LEHB3:
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode@PLT
	movabsq	$2305843009213693950, %rax
	movslq	%r13d, %r12
	cmpq	%r12, %rax
	jb	.L143
	salq	$2, %r12
	movq	%r12, %rdi
	call	_Znam@PLT
	movl	$2, %ecx
	movq	%r12, %rdx
	movq	%r14, %rsi
	movq	%rax, %rdi
	movq	%rax, %rbp
	call	cudaMemcpy@PLT
	xorl	%r12d, %r12d
	leaq	.LC31(%rip), %r14
	jmp	.L146
.L143:
	movq	520(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L154
	call	__cxa_throw_bad_array_new_length@PLT
.L147:
	movl	0(%rbp,%r12,4), %esi
	movq	%rbx, %rdi
	call	_ZNSolsEi@PLT
	movq	%r14, %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	incq	%r12
.L146:
	cmpl	%r12d, %r13d
	jg	.L147
	movq	%rbx, %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv@PLT
.LEHE3:
	movq	%rbp, %rdi
	movl	$4, %esi
	call	_ZdlPvm@PLT
	movq	%rbx, %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	520(%rsp), %rax
	subq	%fs:40, %rax
	je	.L150
	jmp	.L154
.L152:
	endbr64
	movq	%rax, %rbp
.L148:
	movq	%rbx, %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	520(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L154
	movq	%rbp, %rdi
.LEHB4:
	call	_Unwind_Resume@PLT
.LEHE4:
.L154:
	call	__stack_chk_fail@PLT
.L150:
	addq	$528, %rsp
	.cfi_def_cfa_offset 48
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4011:
	.section	.gcc_except_table,"a",@progbits
.LLSDA4011:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4011-.LLSDACSB4011
.LLSDACSB4011:
	.uleb128 .LEHB2-.LFB4011
	.uleb128 .LEHE2-.LEHB2
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB3-.LFB4011
	.uleb128 .LEHE3-.LEHB3
	.uleb128 .L152-.LFB4011
	.uleb128 0
	.uleb128 .LEHB4-.LFB4011
	.uleb128 .LEHE4-.LEHB4
	.uleb128 0
	.uleb128 0
.LLSDACSE4011:
	.text
	.size	_Z4savePKcPii, .-_Z4savePKcPii
	.globl	_Z4savePKcPfi
	.type	_Z4savePKcPfi, @function
_Z4savePKcPfi:
.LFB4012:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4012
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movq	%rsi, %r14
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	movl	%edx, %r13d
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movq	%rdi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$528, %rsp
	.cfi_def_cfa_offset 576
	movq	%fs:40, %rax
	movq	%rax, 520(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rbx
	movq	%rbx, %rdi
.LEHB5:
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev@PLT
.LEHE5:
	movl	$16, %edx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
.LEHB6:
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode@PLT
	movabsq	$2305843009213693950, %rax
	movslq	%r13d, %r12
	cmpq	%r12, %rax
	jb	.L158
	salq	$2, %r12
	movq	%r12, %rdi
	call	_Znam@PLT
	movl	$2, %ecx
	movq	%r12, %rdx
	movq	%r14, %rsi
	movq	%rax, %rdi
	movq	%rax, %rbp
	call	cudaMemcpy@PLT
	xorl	%r12d, %r12d
	leaq	.LC31(%rip), %r14
	jmp	.L161
.L158:
	movq	520(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L169
	call	__cxa_throw_bad_array_new_length@PLT
.L162:
	movq	%rbx, %rdi
	cvtss2sd	0(%rbp,%r12,4), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	%r14, %rsi
	movq	%rbx, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	incq	%r12
.L161:
	cmpl	%r12d, %r13d
	jg	.L162
	movq	%rbx, %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv@PLT
.LEHE6:
	movq	%rbp, %rdi
	movl	$4, %esi
	call	_ZdlPvm@PLT
	movq	%rbx, %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	520(%rsp), %rax
	subq	%fs:40, %rax
	je	.L165
	jmp	.L169
.L167:
	endbr64
	movq	%rax, %rbp
.L163:
	movq	%rbx, %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	520(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L169
	movq	%rbp, %rdi
.LEHB7:
	call	_Unwind_Resume@PLT
.LEHE7:
.L169:
	call	__stack_chk_fail@PLT
.L165:
	addq	$528, %rsp
	.cfi_def_cfa_offset 48
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE4012:
	.section	.gcc_except_table
.LLSDA4012:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4012-.LLSDACSB4012
.LLSDACSB4012:
	.uleb128 .LEHB5-.LFB4012
	.uleb128 .LEHE5-.LEHB5
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB6-.LFB4012
	.uleb128 .LEHE6-.LEHB6
	.uleb128 .L167-.LFB4012
	.uleb128 0
	.uleb128 .LEHB7-.LFB4012
	.uleb128 .LEHE7-.LEHB7
	.uleb128 0
	.uleb128 0
.LLSDACSE4012:
	.text
	.size	_Z4savePKcPfi, .-_Z4savePKcPfi
	.section	.rodata.str1.1
.LC32:
	.string	"\n"
	.text
	.globl	_Z4savePKcPfii
	.type	_Z4savePKcPfii, @function
_Z4savePKcPfii:
.LFB4013:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4013
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movq	%rsi, %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movq	%rdi, %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movl	%ecx, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movl	%edx, %ebx
	subq	$552, %rsp
	.cfi_def_cfa_offset 608
	movq	%fs:40, %rax
	movq	%rax, 536(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movq	%rax, %rdi
	movq	%rax, (%rsp)
.LEHB8:
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev@PLT
.LEHE8:
	movq	(%rsp), %rdi
	movl	$16, %edx
	movq	%r12, %rsi
.LEHB9:
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode@PLT
	movabsq	$2305843009213693950, %rax
	movl	%ebx, %r12d
	imull	%ebp, %r12d
	movslq	%r12d, %r12
	cmpq	%r12, %rax
	jb	.L173
	salq	$2, %r12
	movq	%r12, %rdi
	call	_Znam@PLT
	movl	$2, %ecx
	movq	%r12, %rdx
	movq	%r13, %rsi
	movq	%rax, %rdi
	movq	%rax, 8(%rsp)
	call	cudaMemcpy@PLT
	movslq	%ebx, %r15
	movq	8(%rsp), %r14
	xorl	%r13d, %r13d
	salq	$2, %r15
	jmp	.L176
.L173:
	movq	536(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L185
	call	__cxa_throw_bad_array_new_length@PLT
.L177:
	movq	(%rsp), %rdi
	cvtss2sd	(%r14,%r12,4), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	(%rsp), %rdi
	leaq	.LC31(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	incq	%r12
.L178:
	cmpl	%r12d, %ebx
	jg	.L177
	movq	(%rsp), %rdi
	leaq	.LC32(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	incl	%r13d
	addq	%r15, %r14
.L176:
	cmpl	%ebp, %r13d
	jge	.L188
	xorl	%r12d, %r12d
	jmp	.L178
.L188:
	movq	(%rsp), %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv@PLT
.LEHE9:
	movq	8(%rsp), %rdi
	movl	$4, %esi
	call	_ZdlPvm@PLT
	movq	(%rsp), %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	536(%rsp), %rax
	subq	%fs:40, %rax
	je	.L181
	jmp	.L185
.L183:
	endbr64
	movq	%rax, %rbx
.L179:
	movq	(%rsp), %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	536(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L185
	movq	%rbx, %rdi
.LEHB10:
	call	_Unwind_Resume@PLT
.LEHE10:
.L185:
	call	__stack_chk_fail@PLT
.L181:
	addq	$552, %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
.LFE4013:
	.section	.gcc_except_table
.LLSDA4013:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4013-.LLSDACSB4013
.LLSDACSB4013:
	.uleb128 .LEHB8-.LFB4013
	.uleb128 .LEHE8-.LEHB8
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB9-.LFB4013
	.uleb128 .LEHE9-.LEHB9
	.uleb128 .L183-.LFB4013
	.uleb128 0
	.uleb128 .LEHB10-.LFB4013
	.uleb128 .LEHE10-.LEHB10
	.uleb128 0
	.uleb128 0
.LLSDACSE4013:
	.text
	.size	_Z4savePKcPfii, .-_Z4savePKcPfii
	.section	.rodata.str1.1
.LC39:
	.string	"sirt_convergence.txt"
.LC40:
	.string	"sirt_time.txt"
.LC41:
	.string	"iter: %d\n"
.LC44:
	.string	"epsilon (%d): %f\n"
.LC46:
	.string	"dev_f0.txt"
.LC47:
	.string	"dev_f.txt"
	.text
	.globl	_Z21Ultrasonic_Tomographyifii
	.type	_Z21Ultrasonic_Tomographyifii, @function
_Z21Ultrasonic_Tomographyifii:
.LFB4006:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4006
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	.cfi_offset 15, -24
	movl	%edi, %r15d
	leaq	_ZL1T(%rip), %rdi
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$1864, %rsp
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movl	%edx, -1892(%rbp)
	movl	%esi, -1888(%rbp)
	leaq	_ZL3T_h(%rip), %rsi
	movss	%xmm0, -1884(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
.LEHB11:
	call	_Z18cudaMemcpyToSymbolIfE9cudaErrorRKT_PKvmm14cudaMemcpyKind.constprop.0.isra.0
	leaq	_ZL4dt_h(%rip), %rsi
	leaq	_ZL2dt(%rip), %rdi
	call	_Z18cudaMemcpyToSymbolIfE9cudaErrorRKT_PKvmm14cudaMemcpyKind.constprop.0.isra.0
	leaq	_ZL5dt2_h(%rip), %rsi
	leaq	_ZL3dt2(%rip), %rdi
	call	_Z18cudaMemcpyToSymbolIfE9cudaErrorRKT_PKvmm14cudaMemcpyKind.constprop.0.isra.0
	leaq	_ZL5fre_h(%rip), %rsi
	leaq	_ZL3fre(%rip), %rdi
	call	_Z18cudaMemcpyToSymbolIfE9cudaErrorRKT_PKvmm14cudaMemcpyKind.constprop.0.isra.0
	leaq	_ZL8omegac_h(%rip), %rsi
	leaq	_ZL6omegac(%rip), %rdi
	call	_Z18cudaMemcpyToSymbolIfE9cudaErrorRKT_PKvmm14cudaMemcpyKind.constprop.0.isra.0
	leaq	_ZL5tao_h(%rip), %rsi
	leaq	_ZL3tao(%rip), %rdi
	call	_Z18cudaMemcpyToSymbolIfE9cudaErrorRKT_PKvmm14cudaMemcpyKind.constprop.0.isra.0
	leaq	_ZL6tao2_h(%rip), %rsi
	leaq	_ZL4tao2(%rip), %rdi
	call	_Z18cudaMemcpyToSymbolIfE9cudaErrorRKT_PKvmm14cudaMemcpyKind.constprop.0.isra.0
	leaq	_ZL4tt_h(%rip), %rsi
	leaq	_ZL2tt(%rip), %rdi
	call	_Z18cudaMemcpyToSymbolIfE9cudaErrorRKT_PKvmm14cudaMemcpyKind.constprop.0.isra.0
	leaq	_ZL4h2_h(%rip), %rsi
	leaq	_ZL2h2(%rip), %rdi
	call	_Z18cudaMemcpyToSymbolIfE9cudaErrorRKT_PKvmm14cudaMemcpyKind.constprop.0.isra.0
	leaq	_ZL7Nx_Ny_h(%rip), %rsi
	leaq	_ZL5Nx_Ny(%rip), %rdi
	call	_Z18cudaMemcpyToSymbolIfE9cudaErrorRKT_PKvmm14cudaMemcpyKind.constprop.0.isra.0
	leaq	_ZL10Nx_Ny_Nt_h(%rip), %rsi
	leaq	_ZL8Nx_Ny_Nt(%rip), %rdi
	call	_Z18cudaMemcpyToSymbolIfE9cudaErrorRKT_PKvmm14cudaMemcpyKind.constprop.0.isra.0
	leaq	_ZL7Nt_Nx_h(%rip), %rsi
	leaq	_ZL5Nt_Nx(%rip), %rdi
	call	_Z18cudaMemcpyToSymbolIfE9cudaErrorRKT_PKvmm14cudaMemcpyKind.constprop.0.isra.0
	leaq	_ZL7Nt_Ny_h(%rip), %rsi
	leaq	_ZL5Nt_Ny(%rip), %rdi
	call	_Z18cudaMemcpyToSymbolIfE9cudaErrorRKT_PKvmm14cudaMemcpyKind.constprop.0.isra.0
	leaq	-1808(%rbp), %rdi
	movl	$804, %esi
	movabsq	$68719476752, %rax
	movq	%rax, -1576(%rbp)
	movabsq	$55834574861, %rax
	movl	$1, -1568(%rbp)
	movq	%rax, -1564(%rbp)
	movl	$1, -1556(%rbp)
	call	cudaMalloc@PLT
	leaq	-1800(%rbp), %rdi
	movl	$804, %esi
	call	cudaMalloc@PLT
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	$1, %esi
	movl	-1568(%rbp), %ecx
	movq	-1576(%rbp), %rdx
	movabsq	$4294967309, %rdi
	movl	$1, -1532(%rbp)
	movq	%rdi, -1540(%rbp)
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L190
	movq	-1800(%rbp), %rsi
	movq	-1808(%rbp), %rdi
	call	_Z30__device_stub__Z9gridSetupPfS_PfS_
.L190:
	leaq	-1792(%rbp), %rdi
	movl	$161604, %esi
	call	cudaMalloc@PLT
	movq	-1792(%rbp), %rdi
	xorl	%esi, %esi
	movl	$161604, %edx
	call	cudaMemset@PLT
	movl	-1568(%rbp), %ecx
	xorl	%r9d, %r9d
	movq	-1576(%rbp), %rdx
	movq	-1564(%rbp), %rdi
	movl	-1556(%rbp), %esi
	xorl	%r8d, %r8d
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L191
	movq	-1800(%rbp), %rdx
	movq	-1808(%rbp), %rsi
	movq	-1792(%rbp), %rdi
	call	_Z36__device_stub__Z12imagingFieldPfS_S_PfS_S_
.L191:
	movl	$640, %edx
	leaq	-1776(%rbp), %rsi
	leaq	-1784(%rbp), %rdi
	call	_Z19transducersPositionRPiS0_i
	leaq	-1768(%rbp), %rdi
	movl	$161604, %esi
	call	cudaMalloc@PLT
	leaq	-1760(%rbp), %rdi
	movl	$161604, %esi
	call	cudaMalloc@PLT
	leaq	-1752(%rbp), %rdi
	movl	$161604, %esi
	call	cudaMalloc@PLT
	leaq	-1744(%rbp), %rdi
	movl	$161604, %esi
	call	cudaMalloc@PLT
	movl	-1568(%rbp), %ecx
	xorl	%r9d, %r9d
	movq	-1576(%rbp), %rdx
	movq	-1564(%rbp), %rdi
	movl	-1556(%rbp), %esi
	xorl	%r8d, %r8d
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L192
	movq	-1744(%rbp), %r8
	movq	-1752(%rbp), %rcx
	movq	-1760(%rbp), %rdx
	movq	-1768(%rbp), %rsi
	movq	-1792(%rbp), %rdi
	call	_Z56__device_stub__Z28setSensorActivationVariablesPfS_S_S_S_PfS_S_S_S_
.L192:
	leaq	-1528(%rbp), %rbx
	leaq	-1464(%rbp), %r13
	movq	%rbx, %r12
.L193:
	movq	%rbx, %rdi
	movl	$64803204, %esi
	addq	$8, %rbx
	call	cudaMalloc@PLT
	movq	-8(%rbx), %rdi
	movl	$64803204, %edx
	xorl	%esi, %esi
	call	cudaMemset@PLT
	cmpq	%r13, %rbx
	jne	.L193
	leaq	-1736(%rbp), %rdi
	movl	$64, %esi
	xorl	%r13d, %r13d
	call	cudaMalloc@PLT
	movq	-1736(%rbp), %rdi
	movl	$1, %ecx
	movq	%r12, %rsi
	movl	$64, %edx
	call	cudaMemcpy@PLT
	leaq	-1728(%rbp), %rdi
	movl	$32, %esi
	call	cudaMalloc@PLT
	leaq	-1720(%rbp), %rdi
	movl	$32, %esi
	call	cudaMalloc@PLT
	leaq	-1712(%rbp), %rdi
	movl	$32, %esi
	call	cudaMalloc@PLT
	movl	$32, %esi
	leaq	-1704(%rbp), %rdi
	call	cudaMalloc@PLT
	movl	$32, %edi
	call	malloc@PLT
	movl	$32, %edi
	movq	%rax, %rbx
	call	malloc@PLT
	movl	$32, %edi
	movq	%rax, -1816(%rbp)
	call	malloc@PLT
	movl	$32, %edi
	movq	%rax, -1824(%rbp)
	call	malloc@PLT
	leaq	-1696(%rbp), %rdi
	movl	$20633856, %esi
	movq	%rax, -1832(%rbp)
	call	cudaMalloc@PLT
	movq	-1696(%rbp), %rdi
	movl	$20633856, %edx
	xorl	%esi, %esi
	call	cudaMemset@PLT
	leaq	-1688(%rbp), %rdi
	movl	$20633856, %esi
	call	cudaMalloc@PLT
	movq	-1688(%rbp), %rdi
	movl	$20633856, %edx
	xorl	%esi, %esi
	call	cudaMemset@PLT
	leaq	-1680(%rbp), %rdi
	movl	$20633856, %esi
	call	cudaMalloc@PLT
	movq	-1680(%rbp), %rdi
	movl	$20633856, %edx
	xorl	%esi, %esi
	call	cudaMemset@PLT
	leaq	-1672(%rbp), %rdi
	movl	$20633856, %esi
	call	cudaMalloc@PLT
	movq	-1672(%rbp), %rdi
	movl	$20633856, %edx
	xorl	%esi, %esi
	call	cudaMemset@PLT
	movl	$640, %eax
	leal	0(,%r15,8), %ecx
	cltd
	idivl	%ecx
	movslq	%ecx, %rcx
	movl	%eax, -1868(%rbp)
	leaq	0(,%rcx,4), %rax
	movq	%rax, -1880(%rbp)
	movslq	%r15d, %rax
	movq	%rax, -1840(%rbp)
	leaq	0(,%rax,4), %r12
	xorl	%eax, %eax
.L194:
	cmpl	%r13d, -1868(%rbp)
	jle	.L287
	leaq	(%r12,%rax), %r14
	movq	-1776(%rbp), %r10
	movq	-1784(%rbp), %r11
	xorl	%edx, %edx
	movq	%r14, %rcx
.L197:
	movl	(%r10,%rax), %esi
	movl	-4(%r10,%rcx), %edi
	movl	(%r11,%rax), %r8d
	movl	-4(%r11,%rcx), %r9d
	cmpl	%edi, %esi
	jg	.L195
	xchgl	%esi, %edi
.L195:
	cmpl	%r9d, %r8d
	jg	.L196
	xchgl	%r8d, %r9d
.L196:
	movq	-1816(%rbp), %r15
	movl	%r9d, (%rbx,%rdx)
	addq	%r12, %rax
	addq	%r12, %rcx
	movl	%r8d, (%r15,%rdx)
	movq	-1824(%rbp), %r15
	movl	%edi, (%r15,%rdx)
	movq	-1832(%rbp), %rdi
	movl	%esi, (%rdi,%rdx)
	addq	$4, %rdx
	cmpq	$32, %rdx
	jne	.L197
	movq	-1728(%rbp), %rdi
	movl	$1, %ecx
	movq	%rbx, %rsi
	movl	$1, %r15d
	call	cudaMemcpy@PLT
	movl	$1, %ecx
	movl	$32, %edx
	movq	-1816(%rbp), %rsi
	movq	-1720(%rbp), %rdi
	call	cudaMemcpy@PLT
	movl	$1, %ecx
	movl	$32, %edx
	movq	-1824(%rbp), %rsi
	movq	-1712(%rbp), %rdi
	call	cudaMemcpy@PLT
	movl	$1, %ecx
	movl	$32, %edx
	movq	-1832(%rbp), %rsi
	movq	-1704(%rbp), %rdi
	call	cudaMemcpy@PLT
.L199:
	cvtsi2ssl	%r15d, %xmm1
	mulss	.LC33(%rip), %xmm1
	subss	.LC34(%rip), %xmm1
	movaps	%xmm1, %xmm0
	movss	%xmm1, -1852(%rbp)
	mulss	%xmm1, %xmm0
	xorps	.LC35(%rip), %xmm0
	divss	.LC36(%rip), %xmm0
	call	expf@PLT
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	$4, %ecx
	movabsq	$34359738376, %rdx
	movl	$2, %esi
	movabsq	$111669149722, %rdi
	movl	$4, -1532(%rbp)
	movq	%rdx, -1540(%rbp)
	movq	%rdi, -1552(%rbp)
	movl	$2, -1544(%rbp)
	movss	%xmm0, -1848(%rbp)
	call	__cudaPushCallConfiguration@PLT
	movss	-1852(%rbp), %xmm1
	testl	%eax, %eax
	jne	.L198
	mulss	.LC37(%rip), %xmm1
	movaps	%xmm1, %xmm0
	call	cosf@PLT
	mulss	.LC38(%rip), %xmm0
	movl	%r15d, %r9d
	movq	-1744(%rbp), %r8
	mulss	-1848(%rbp), %xmm0
	pushq	-1704(%rbp)
	movq	-1752(%rbp), %rcx
	pushq	-1712(%rbp)
	movq	-1760(%rbp), %rdx
	pushq	-1720(%rbp)
	movq	-1768(%rbp), %rsi
	pushq	-1728(%rbp)
	movq	-1736(%rbp), %rdi
	call	_Z57__device_stub__Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_PPfS_S_S_S_fiPiS1_S1_S1_
	addq	$32, %rsp
.L198:
	incl	%r15d
	cmpl	$400, %r15d
	jne	.L199
	movl	$2147483649, %edi
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	$4, %ecx
	addq	%rdi, %rdi
	movl	$2, %esi
	movabsq	$34359738376, %rdx
	movl	$4, -1532(%rbp)
	movq	%rdx, -1540(%rbp)
	movq	%rdi, -1552(%rbp)
	movl	$2, -1544(%rbp)
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L200
	movq	-1736(%rbp), %rdi
	call	_Z34__device_stub__Z13waveAtCornersPPfPPf
.L200:
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	$4, %ecx
	movl	$2, %esi
	movabsq	$34359738376, %rdx
	movabsq	$98784247859, %rdi
	movl	$4, -1532(%rbp)
	movq	%rdx, -1540(%rbp)
	movq	%rdi, -1552(%rbp)
	movl	$2, -1544(%rbp)
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L201
	movq	-1672(%rbp), %r8
	movq	-1680(%rbp), %rcx
	movl	%r13d, %r9d
	movq	-1688(%rbp), %rdx
	movq	-1696(%rbp), %rsi
	movq	-1736(%rbp), %rdi
	call	_Z43__device_stub__Z13waveAtSensorsPPfS_S_S_S_iPPfS_S_S_S_i
.L201:
	imulq	$28, -1840(%rbp), %rax
	incl	%r13d
	addq	%r14, %rax
	jmp	.L194
.L287:
	leaq	-1664(%rbp), %rdi
	movl	$161604, %esi
	leaq	-1464(%rbp), %r13
	call	cudaMalloc@PLT
	movl	$161604, %edx
	xorl	%esi, %esi
	movq	%r13, %r15
	movq	-1664(%rbp), %rdi
	leaq	-1400(%rbp), %r14
	call	cudaMemset@PLT
.L203:
	movq	%r13, %rdi
	movl	$322404, %esi
	addq	$8, %r13
	call	cudaMalloc@PLT
	movq	-8(%r13), %rdi
	movl	$322404, %edx
	xorl	%esi, %esi
	call	cudaMemset@PLT
	cmpq	%r14, %r13
	jne	.L203
	leaq	-1656(%rbp), %rdi
	movl	$64, %esi
	leaq	-1400(%rbp), %r13
	call	cudaMalloc@PLT
	movq	-1656(%rbp), %rdi
	movq	%r15, %rsi
	movl	$1, %ecx
	movl	$64, %edx
	leaq	-1336(%rbp), %r14
	movq	%r13, %r15
	call	cudaMemcpy@PLT
.L204:
	movq	%r13, %rdi
	movl	$322404, %esi
	addq	$8, %r13
	call	cudaMalloc@PLT
	movq	-8(%r13), %rdi
	movl	$322404, %edx
	xorl	%esi, %esi
	call	cudaMemset@PLT
	cmpq	%r14, %r13
	jne	.L204
	leaq	-1648(%rbp), %rdi
	movl	$64, %esi
	leaq	-1336(%rbp), %r13
	call	cudaMalloc@PLT
	movq	-1648(%rbp), %rdi
	movq	%r15, %rsi
	movl	$1, %ecx
	movl	$64, %edx
	leaq	-1272(%rbp), %r14
	movq	%r13, %r15
	call	cudaMemcpy@PLT
.L205:
	movq	%r13, %rdi
	movl	$322404, %esi
	addq	$8, %r13
	call	cudaMalloc@PLT
	movq	-8(%r13), %rdi
	movl	$322404, %edx
	xorl	%esi, %esi
	call	cudaMemset@PLT
	cmpq	%r14, %r13
	jne	.L205
	leaq	-1640(%rbp), %rdi
	movl	$64, %esi
	leaq	-1272(%rbp), %r13
	call	cudaMalloc@PLT
	movq	-1640(%rbp), %rdi
	movq	%r15, %rsi
	movl	$1, %ecx
	movl	$64, %edx
	leaq	-1208(%rbp), %r14
	movq	%r13, %r15
	call	cudaMemcpy@PLT
.L206:
	movq	%r13, %rdi
	movl	$322404, %esi
	addq	$8, %r13
	call	cudaMalloc@PLT
	movq	-8(%r13), %rdi
	movl	$322404, %edx
	xorl	%esi, %esi
	call	cudaMemset@PLT
	cmpq	%r14, %r13
	jne	.L206
	leaq	-1632(%rbp), %rdi
	movl	$64, %esi
	leaq	-1208(%rbp), %r13
	call	cudaMalloc@PLT
	movq	-1632(%rbp), %rdi
	movq	%r15, %rsi
	movl	$1, %ecx
	movl	$64, %edx
	leaq	-1144(%rbp), %r14
	movq	%r13, %r15
	call	cudaMemcpy@PLT
.L207:
	movq	%r13, %rdi
	movl	$64964808, %esi
	addq	$8, %r13
	call	cudaMalloc@PLT
	movq	-8(%r13), %rdi
	movl	$64964808, %edx
	xorl	%esi, %esi
	call	cudaMemset@PLT
	cmpq	%r14, %r13
	jne	.L207
	leaq	-1624(%rbp), %rdi
	movl	$64, %esi
	leaq	-1080(%rbp), %r13
	call	cudaMalloc@PLT
	movq	-1624(%rbp), %rdi
	movl	$1, %ecx
	movq	%r15, %rsi
	movl	$64, %edx
	call	cudaMemcpy@PLT
	leaq	-1144(%rbp), %rax
	movq	%rax, %r14
.L208:
	movq	%r14, %rdi
	movl	$64803204, %esi
	call	cudaMalloc@PLT
	movq	(%r14), %rdi
	movl	$64803204, %edx
	xorl	%esi, %esi
	call	cudaMemset@PLT
	movq	%r14, %rax
	addq	$8, %rax
	movq	%rax, %r14
	cmpq	%r13, %rax
	jne	.L208
	leaq	-1616(%rbp), %rdi
	movl	$64, %esi
	call	cudaMalloc@PLT
	movl	$1, %ecx
	movq	-1616(%rbp), %rdi
	movl	$64, %edx
	leaq	-1144(%rbp), %rsi
	call	cudaMemcpy@PLT
	leaq	-1608(%rbp), %rdi
	movl	$161604, %esi
	call	cudaMalloc@PLT
	leaq	-1600(%rbp), %rdi
	movl	$161604, %esi
	call	cudaMalloc@PLT
	movq	-1600(%rbp), %rdi
	xorl	%esi, %esi
	movl	$161604, %edx
	call	cudaMemset@PLT
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	$1, %esi
	movl	-1568(%rbp), %ecx
	movq	-1576(%rbp), %rdx
	movabsq	$42949672970, %rdi
	movl	$1, -1532(%rbp)
	movq	%rdi, -1540(%rbp)
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L209
	movq	-1600(%rbp), %rdi
	call	_Z27__device_stub__Z8setAlphaPfPf
.L209:
	leaq	-1592(%rbp), %rdi
	movl	$4, %esi
	call	cudaMalloc@PLT
	movq	-1592(%rbp), %rdi
	movl	$4, %edx
	xorl	%esi, %esi
	call	cudaMemset@PLT
	leaq	-1584(%rbp), %rdi
	movl	$4, %esi
	call	cudaMalloc@PLT
	movq	-1584(%rbp), %rdi
	movl	$4, %edx
	xorl	%esi, %esi
	call	cudaMemset@PLT
	movl	$161604, %edi
	call	_Znam@PLT
	movl	$161604, %edi
	movq	%rax, -1864(%rbp)
	call	_Znam@PLT
	movq	%rax, -1848(%rbp)
	leaq	-1080(%rbp), %rax
	movq	%rax, %r15
	movq	%rax, %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev@PLT
.LEHE11:
	movl	$16, %edx
	leaq	.LC39(%rip), %rsi
	movq	%r15, %rdi
.LEHB12:
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode@PLT
	leaq	-568(%rbp), %rax
	movq	%rax, %rdi
	movq	%rax, %r14
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev@PLT
.LEHE12:
	movl	$16, %edx
	leaq	.LC40(%rip), %rsi
	movq	%r14, %rdi
.LEHB13:
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode@PLT
	xorl	%eax, %eax
	movl	%eax, -1852(%rbp)
.L210:
	movl	-1888(%rbp), %ecx
	cmpl	%ecx, -1852(%rbp)
	jge	.L234
	movl	-1852(%rbp), %edx
	leaq	.LC41(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	xorl	%r14d, %r14d
.L211:
	movq	-1528(%rbp,%r14,8), %rdi
	movl	$64803204, %edx
	xorl	%esi, %esi
	call	cudaMemset@PLT
	movq	%r14, %rax
	incq	%rax
	movq	%rax, %r14
	cmpq	$8, %rax
	jne	.L211
	movl	-1568(%rbp), %ecx
	movq	-1576(%rbp), %rdx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	-1564(%rbp), %rdi
	movl	-1556(%rbp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L212
	movq	-1744(%rbp), %r8
	movq	-1752(%rbp), %rcx
	movq	-1760(%rbp), %rdx
	movq	-1768(%rbp), %rsi
	movq	-1664(%rbp), %rdi
	call	_Z56__device_stub__Z28setSensorActivationVariablesPfS_S_S_S_PfS_S_S_S_
.L212:
	movq	-1608(%rbp), %rdi
	movl	$161604, %edx
	xorl	%esi, %esi
	call	cudaMemset@PLT
	xorl	%edx, %edx
	xorl	%r14d, %r14d
	movl	%edx, -1840(%rbp)
.L213:
	movl	-1840(%rbp), %ecx
	cmpl	%ecx, -1868(%rbp)
	jle	.L288
	movq	-1776(%rbp), %r10
	leaq	(%r14,%r12), %rdx
	movq	%r14, %rcx
	xorl	%eax, %eax
	movq	-1784(%rbp), %r11
.L216:
	movl	(%r10,%rcx), %esi
	movl	-4(%r10,%rdx), %edi
	movl	(%r11,%rcx), %r8d
	movl	-4(%r11,%rdx), %r9d
	cmpl	%edi, %esi
	jg	.L214
	xchgl	%esi, %edi
.L214:
	cmpl	%r9d, %r8d
	jg	.L215
	xchgl	%r8d, %r9d
.L215:
	movq	-1816(%rbp), %r15
	movl	%r9d, (%rbx,%rax)
	addq	%r12, %rcx
	addq	%r12, %rdx
	movl	%r8d, (%r15,%rax)
	movq	-1824(%rbp), %r15
	movl	%edi, (%r15,%rax)
	movq	-1832(%rbp), %rdi
	movl	%esi, (%rdi,%rax)
	addq	$4, %rax
	cmpq	$32, %rax
	jne	.L216
	movq	-1728(%rbp), %rdi
	movl	$1, %ecx
	movl	$32, %edx
	movq	%rbx, %rsi
	call	cudaMemcpy@PLT
	movq	-1816(%rbp), %rsi
	movl	$1, %ecx
	movl	$32, %edx
	movq	-1720(%rbp), %rdi
	call	cudaMemcpy@PLT
	movq	-1824(%rbp), %rsi
	movl	$1, %ecx
	movl	$32, %edx
	movq	-1712(%rbp), %rdi
	call	cudaMemcpy@PLT
	movq	-1832(%rbp), %rsi
	movl	$1, %ecx
	movl	$32, %edx
	movq	-1704(%rbp), %rdi
	call	cudaMemcpy@PLT
	movl	$1, %r13d
.L218:
	cvtsi2ssl	%r13d, %xmm0
	mulss	.LC33(%rip), %xmm0
	subss	.LC34(%rip), %xmm0
	movss	%xmm0, -1856(%rbp)
	mulss	%xmm0, %xmm0
	xorps	.LC35(%rip), %xmm0
	divss	.LC36(%rip), %xmm0
	call	expf@PLT
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	$4, %ecx
	movabsq	$34359738376, %rdx
	movl	$2, %esi
	movabsq	$111669149722, %rdi
	movl	$4, -1532(%rbp)
	movq	%rdx, -1540(%rbp)
	movq	%rdi, -1552(%rbp)
	movl	$2, -1544(%rbp)
	movss	%xmm0, -1872(%rbp)
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L217
	movss	-1856(%rbp), %xmm0
	mulss	.LC37(%rip), %xmm0
	call	cosf@PLT
	mulss	.LC38(%rip), %xmm0
	movl	%r13d, %r9d
	movq	-1744(%rbp), %r8
	mulss	-1872(%rbp), %xmm0
	pushq	-1704(%rbp)
	movq	-1752(%rbp), %rcx
	pushq	-1712(%rbp)
	movq	-1760(%rbp), %rdx
	pushq	-1720(%rbp)
	movq	-1768(%rbp), %rsi
	pushq	-1728(%rbp)
	movq	-1736(%rbp), %rdi
	.cfi_escape 0x2e,0x20
	call	_Z57__device_stub__Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_PPfS_S_S_S_fiPiS1_S1_S1_
	addq	$32, %rsp
.L217:
	incl	%r13d
	cmpl	$400, %r13d
	jne	.L218
	movl	$2147483649, %edi
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	$4, %ecx
	movabsq	$34359738376, %rdx
	addq	%rdi, %rdi
	movl	$2, %esi
	movl	$4, -1532(%rbp)
	movq	%rdx, -1540(%rbp)
	movq	%rdi, -1552(%rbp)
	movl	$2, -1544(%rbp)
	.cfi_escape 0x2e,0
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L219
	movq	-1736(%rbp), %rdi
	call	_Z34__device_stub__Z13waveAtCornersPPfPPf
.L219:
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	$4, %ecx
	movl	$2, %esi
	movabsq	$34359738376, %rdx
	movabsq	$98784247859, %rdi
	movl	$4, -1532(%rbp)
	movq	%rdx, -1540(%rbp)
	movq	%rdi, -1552(%rbp)
	movl	$2, -1544(%rbp)
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L220
	movl	-1840(%rbp), %eax
	movq	-1672(%rbp), %r8
	movq	-1680(%rbp), %rcx
	movq	-1688(%rbp), %rdx
	pushq	%rax
	movq	-1696(%rbp), %rsi
	pushq	-1632(%rbp)
	pushq	-1640(%rbp)
	pushq	-1648(%rbp)
	movq	-1656(%rbp), %r9
	movq	-1736(%rbp), %rdi
	.cfi_escape 0x2e,0x20
	call	_Z61__device_stub__Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_iPPfS_S_S_S_S0_S0_S0_S0_i
	addq	$32, %rsp
.L220:
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movl	$4, %ecx
	movl	$2, %esi
	movabsq	$34359738376, %rdx
	movabsq	$111669149722, %rdi
	movl	$4, -1532(%rbp)
	movq	%rdx, -1540(%rbp)
	movq	%rdi, -1552(%rbp)
	movl	$2, -1544(%rbp)
	.cfi_escape 0x2e,0
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L221
	movq	-1624(%rbp), %rdi
	call	_Z24__device_stub__Z4setZPPfPPf
.L221:
	movabsq	$34359738376, %r15
	movl	$399, %r13d
.L224:
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	%r15, %rdx
	movl	$4, %ecx
	movabsq	$111669149722, %rdi
	movl	$2, %esi
	movq	%r15, -1540(%rbp)
	movl	$4, -1532(%rbp)
	movq	%rdi, -1552(%rbp)
	movl	$2, -1544(%rbp)
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L222
	movss	.LC42(%rip), %xmm0
	movq	-1664(%rbp), %rsi
	movl	%r13d, %edx
	movq	-1624(%rbp), %rdi
	call	_Z44__device_stub__Z19waveBackpropagationPPfS_fiPPfS_fi
.L222:
	movl	$1073741825, %edi
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	%r15, %rdx
	salq	$2, %rdi
	movl	$4, %ecx
	movl	$2, %esi
	movq	%r15, -1540(%rbp)
	movl	$4, -1532(%rbp)
	movq	%rdi, -1552(%rbp)
	movl	$2, -1544(%rbp)
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L223
	movq	-1632(%rbp), %r8
	movq	-1640(%rbp), %rcx
	movl	%r13d, %r9d
	movq	-1648(%rbp), %rdx
	movq	-1656(%rbp), %rsi
	movq	-1624(%rbp), %rdi
	call	_Z68__device_stub__Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_iPPfS0_S0_S0_S0_i
.L223:
	decl	%r13d
	jne	.L224
	movabsq	$34359738376, %r15
	xorl	%r13d, %r13d
.L227:
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	%r15, %rdx
	movl	$4, %ecx
	movabsq	$111669149722, %rdi
	movl	$101, %esi
	movq	%r15, -1540(%rbp)
	movl	$4, -1532(%rbp)
	movq	%rdi, -1552(%rbp)
	movl	$101, -1544(%rbp)
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L225
	movq	-1736(%rbp), %rsi
	movq	-1616(%rbp), %rdi
	movl	%r13d, %edx
	call	_Z32__device_stub__Z8deltau_kPPfS0_iPPfS0_i
.L225:
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	%r15, %rdx
	movl	$4, %ecx
	movabsq	$111669149722, %rdi
	movl	$101, %esi
	movq	%r15, -1540(%rbp)
	movl	$4, -1532(%rbp)
	movq	%rdi, -1552(%rbp)
	movl	$101, -1544(%rbp)
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L226
	movq	-1664(%rbp), %rcx
	movq	-1616(%rbp), %rdx
	movl	%r13d, %r8d
	movq	-1624(%rbp), %rsi
	movq	-1608(%rbp), %rdi
	call	_Z32__device_stub__Z4df_kPfPS_S0_S_iPfPS_S0_S_i
.L226:
	incl	%r13d
	cmpl	$8, %r13d
	jne	.L227
	movq	-1880(%rbp), %rax
	incl	-1840(%rbp)
	addq	%rax, %r14
	jmp	.L213
.L288:
	movl	-1568(%rbp), %ecx
	movq	-1576(%rbp), %rdx
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	movq	-1564(%rbp), %rdi
	movl	-1556(%rbp), %esi
	call	__cudaPushCallConfiguration@PLT
	movq	-1664(%rbp), %rdi
	testl	%eax, %eax
	jne	.L229
	movq	-1608(%rbp), %rdx
	movq	-1600(%rbp), %rsi
	call	_Z26__device_stub__Z3f_kPfS_S_PfS_S_
.L229:
	movq	-1664(%rbp), %rsi
	movl	$2, %ecx
	movl	$161604, %edx
	movq	-1864(%rbp), %rdi
	call	cudaMemcpy@PLT
	movq	-1792(%rbp), %rsi
	movl	$2, %ecx
	movl	$161604, %edx
	movq	-1848(%rbp), %rdi
	call	cudaMemcpy@PLT
	movq	-1848(%rbp), %rsi
	movl	$201, %ecx
	movl	$201, %edx
	movq	-1864(%rbp), %rdi
	call	_Z4normPfS_ii
	movl	$201, %edx
	movl	$201, %esi
	movq	-1848(%rbp), %rdi
	movd	%xmm0, %r13d
	call	_Z4normPfii
	movl	-1840(%rbp), %edx
	leaq	.LC44(%rip), %rsi
	movb	$1, %al
	movaps	%xmm0, %xmm1
	movd	%r13d, %xmm0
	movl	$2, %edi
	divss	%xmm1, %xmm0
	mulss	.LC43(%rip), %xmm0
	cvtss2sd	%xmm0, %xmm5
	movss	%xmm0, -1856(%rbp)
	movaps	%xmm5, %xmm0
	movq	%xmm5, %r14
	call	__printf_chk@PLT
	call	clock@PLT
	movslq	-1892(%rbp), %rdx
	leaq	-1080(%rbp), %r13
	movq	%r13, %rdi
	subq	%rdx, %rax
	cvtsi2ssq	%rax, %xmm0
	divss	.LC45(%rip), %xmm0
	movd	%xmm0, %r15d
	movq	%r14, %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	leaq	.LC31(%rip), %rsi
	movq	%r13, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	leaq	-568(%rbp), %r13
	movd	%r15d, %xmm3
	movq	%r13, %rdi
	cvtss2sd	%xmm3, %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	leaq	.LC31(%rip), %rsi
	movq	%r13, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movss	-1884(%rbp), %xmm6
	comiss	-1856(%rbp), %xmm6
	jb	.L283
.L234:
	movq	-1792(%rbp), %rsi
	movl	$201, %ecx
	movl	$201, %edx
	leaq	.LC46(%rip), %rdi
	call	_Z4savePKcPfii
	jmp	.L289
.L283:
	incl	-1852(%rbp)
	jmp	.L210
.L289:
	movq	-1664(%rbp), %rsi
	movl	$201, %ecx
	movl	$201, %edx
	leaq	.LC47(%rip), %rdi
	call	_Z4savePKcPfii
	movq	-1808(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1800(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1792(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1784(%rbp), %rdi
	testq	%rdi, %rdi
	je	.L235
	call	_ZdaPv@PLT
.L235:
	movq	-1776(%rbp), %rdi
	testq	%rdi, %rdi
	je	.L236
	call	_ZdaPv@PLT
.L236:
	movq	-1768(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1760(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1752(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1744(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1736(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1696(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1688(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1680(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1672(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1664(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1656(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1648(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1640(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1632(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1624(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1616(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1608(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1592(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1584(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1864(%rbp), %rdi
	call	_ZdaPv@PLT
	movq	-1848(%rbp), %rdi
	call	_ZdaPv@PLT
	movq	-1736(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1728(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1720(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1712(%rbp), %rdi
	call	cudaFree@PLT
	movq	-1704(%rbp), %rdi
	call	cudaFree@PLT
.LEHE13:
	testq	%rbx, %rbx
	je	.L237
	movq	%rbx, %rdi
	call	_ZdaPv@PLT
.L237:
	cmpq	$0, -1816(%rbp)
	je	.L238
	movq	-1816(%rbp), %rdi
	call	_ZdaPv@PLT
.L238:
	cmpq	$0, -1824(%rbp)
	je	.L239
	movq	-1824(%rbp), %rdi
	call	_ZdaPv@PLT
.L239:
	cmpq	$0, -1832(%rbp)
	je	.L240
	movq	-1832(%rbp), %rdi
	call	_ZdaPv@PLT
.L240:
	leaq	-568(%rbp), %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	leaq	-1080(%rbp), %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	je	.L244
	jmp	.L285
.L248:
	endbr64
	movq	%rax, %rbx
.L241:
	leaq	-568(%rbp), %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	jmp	.L242
.L247:
	endbr64
	movq	%rax, %rbx
.L242:
	leaq	-1080(%rbp), %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L285
	movq	%rbx, %rdi
.LEHB14:
	call	_Unwind_Resume@PLT
.LEHE14:
.L285:
	call	__stack_chk_fail@PLT
.L244:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4006:
	.section	.gcc_except_table
.LLSDA4006:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4006-.LLSDACSB4006
.LLSDACSB4006:
	.uleb128 .LEHB11-.LFB4006
	.uleb128 .LEHE11-.LEHB11
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB12-.LFB4006
	.uleb128 .LEHE12-.LEHB12
	.uleb128 .L247-.LFB4006
	.uleb128 0
	.uleb128 .LEHB13-.LFB4006
	.uleb128 .LEHE13-.LEHB13
	.uleb128 .L248-.LFB4006
	.uleb128 0
	.uleb128 .LEHB14-.LFB4006
	.uleb128 .LEHE14-.LEHB14
	.uleb128 0
	.uleb128 0
.LLSDACSE4006:
	.text
	.size	_Z21Ultrasonic_Tomographyifii, .-_Z21Ultrasonic_Tomographyifii
	.section	.rodata.str1.1
.LC48:
	.string	"Usage: "
.LC49:
	.string	" <sensor group size> <target epsilon> <max iterations>\n\n"
.LC50:
	.string	"stoi"
.LC51:
	.string	"stof"
.LC52:
	.string	"Clock Times:\n"
.LC53:
	.string	"\nExecution Times:\n"
.LC54:
	.string	"t_start = %d\n"
.LC55:
	.string	"t_end   = %d\n"
.LC56:
	.string	"t_total = %d\n"
.LC57:
	.string	"Total Seconds = %f\n\n"
	.section	.text.startup
	.globl	main
	.type	main, @function
main:
.LFB4005:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4005
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%rsi, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$88, %rsp
	.cfi_def_cfa_offset 144
	movq	%fs:40, %rax
	movq	%rax, 72(%rsp)
	xorl	%eax, %eax
	cmpl	$4, %edi
	je	.L291
	leaq	.LC48(%rip), %rsi
	leaq	_ZSt4cerr(%rip), %rdi
.LEHB15:
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	0(%rbp), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	leaq	.LC49(%rip), %rsi
	movq	%rax, %rdi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movl	$1, %edi
	call	exit@PLT
.L291:
	movq	8(%rsi), %rsi
	leaq	32(%rsp), %r12
	leaq	40(%rsp), %rbx
	movq	%r12, %rdx
	movq	%rbx, %rdi
	leaq	.LC50(%rip), %r15
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_
.LEHE15:
	movq	40(%rsp), %rdx
	xorl	%ecx, %ecx
	movq	%r15, %rsi
	movq	__isoc23_strtol@GOTPCREL(%rip), %rdi
	movl	$10, %r8d
.LEHB16:
	call	_ZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_
.LEHE16:
	movq	%rbx, %rdi
	movl	%eax, %r13d
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	16(%rbp), %rsi
	leaq	27(%rsp), %rdx
	movq	%rbx, %rdi
.LEHB17:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_
.LEHE17:
	movq	40(%rsp), %r14
	call	__errno_location@PLT
	movq	%r12, %rsi
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rax, 8(%rsp)
	movl	%edx, 28(%rsp)
	xorl	%edx, %edx
	movl	%edx, (%rax)
	call	strtof@PLT
	cmpq	32(%rsp), %r14
	movq	8(%rsp), %rax
	leaq	28(%rsp), %r14
	movss	%xmm0, 4(%rsp)
	jne	.L292
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L309
	leaq	.LC51(%rip), %rdi
.LEHB18:
	call	_ZSt24__throw_invalid_argumentPKc@PLT
.L292:
	cmpl	$34, (%rax)
	jne	.L294
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L309
	leaq	.LC51(%rip), %rdi
	call	_ZSt20__throw_out_of_rangePKc@PLT
.LEHE18:
.L294:
	movq	%r14, %rdi
	call	_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev
	movq	%rbx, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	24(%rbp), %rsi
	movq	%r12, %rdx
	movq	%rbx, %rdi
.LEHB19:
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1IS3_EEPKcRKS3_
.LEHE19:
	movq	40(%rsp), %rdx
	xorl	%ecx, %ecx
	movq	%r15, %rsi
	movq	__isoc23_strtol@GOTPCREL(%rip), %rdi
	movl	$10, %r8d
.LEHB20:
	call	_ZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_
.LEHE20:
	movl	%eax, %ebp
	movq	%rbx, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	cmpl	$-1, %ebp
	jne	.L299
	movl	$2147483647, %ebp
	jmp	.L299
.L308:
	endbr64
	movq	%rax, %rbp
.L297:
	movq	%r14, %rdi
	call	_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD1Ev
	jmp	.L302
.L299:
	call	clock@PLT
	movq	%r12, %rdi
	movq	%rax, %r15
	call	time@PLT
	movss	4(%rsp), %xmm0
	movl	%r15d, %edx
	movl	%ebp, %esi
	movl	%r13d, %edi
.LEHB21:
	call	_Z21Ultrasonic_Tomographyifii
	movq	%r12, %rdi
	call	time@PLT
	call	clock@PLT
	leaq	.LC52(%rip), %rsi
	movl	$2, %edi
	movq	%rax, %rbx
	movl	%eax, %ebp
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$2, %edi
	xorl	%eax, %eax
	subl	%r15d, %ebx
	leaq	.LC53(%rip), %rsi
	call	__printf_chk@PLT
	movl	%r15d, %edx
	movl	$2, %edi
	xorl	%eax, %eax
	leaq	.LC54(%rip), %rsi
	call	__printf_chk@PLT
	movl	%ebp, %edx
	leaq	.LC55(%rip), %rsi
	xorl	%eax, %eax
	movl	$2, %edi
	call	__printf_chk@PLT
	leaq	.LC56(%rip), %rsi
	xorl	%eax, %eax
	movl	%ebx, %edx
	movl	$2, %edi
	call	__printf_chk@PLT
	movl	$2, %edi
	cvtsi2ssl	%ebx, %xmm0
	movb	$1, %al
	leaq	.LC57(%rip), %rsi
	divss	.LC45(%rip), %xmm0
	cvtss2sd	%xmm0, %xmm0
	call	__printf_chk@PLT
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	je	.L304
	jmp	.L309
.L306:
	endbr64
	jmp	.L312
.L307:
	endbr64
.L312:
	movq	%rax, %rbp
.L302:
	movq	%rbx, %rdi
	call	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@PLT
	movq	72(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L309
	movq	%rbp, %rdi
	call	_Unwind_Resume@PLT
.LEHE21:
.L309:
	call	__stack_chk_fail@PLT
.L304:
	addq	$88, %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
.LFE4005:
	.section	.gcc_except_table
.LLSDA4005:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4005-.LLSDACSB4005
.LLSDACSB4005:
	.uleb128 .LEHB15-.LFB4005
	.uleb128 .LEHE15-.LEHB15
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB16-.LFB4005
	.uleb128 .LEHE16-.LEHB16
	.uleb128 .L306-.LFB4005
	.uleb128 0
	.uleb128 .LEHB17-.LFB4005
	.uleb128 .LEHE17-.LEHB17
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB18-.LFB4005
	.uleb128 .LEHE18-.LEHB18
	.uleb128 .L308-.LFB4005
	.uleb128 0
	.uleb128 .LEHB19-.LFB4005
	.uleb128 .LEHE19-.LEHB19
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB20-.LFB4005
	.uleb128 .LEHE20-.LEHB20
	.uleb128 .L307-.LFB4005
	.uleb128 0
	.uleb128 .LEHB21-.LFB4005
	.uleb128 .LEHE21-.LEHB21
	.uleb128 0
	.uleb128 0
.LLSDACSE4005:
	.section	.text.startup
	.size	main, .-main
	.text
	.globl	_Z4savePKcPfiiii
	.type	_Z4savePKcPfiiii, @function
_Z4savePKcPfiiii:
.LFB4014:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA4014
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movq	%rdi, %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movq	%rsi, %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movl	%r9d, %r13d
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movl	%ecx, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movl	%r8d, %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movl	%edx, %ebx
	subq	$552, %rsp
	.cfi_def_cfa_offset 608
	movq	%fs:40, %rax
	movq	%rax, 536(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movq	%rax, %rdi
	movq	%rax, (%rsp)
.LEHB22:
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev@PLT
.LEHE22:
	movq	(%rsp), %rdi
	movl	$16, %edx
	movq	%r15, %rsi
.LEHB23:
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode@PLT
	movabsq	$2305843009213693950, %rdx
	movl	%ebx, %eax
	imull	%r12d, %eax
	imull	%ebp, %eax
	cltq
	cmpq	%rax, %rdx
	jb	.L314
	leaq	0(,%rax,4), %r15
	movq	%r15, %rdi
	call	_Znam@PLT
	movl	$2, %ecx
	movq	%r15, %rdx
	movq	%r14, %rsi
	movq	%rax, %rdi
	movq	%rax, %rbp
	call	cudaMemcpy@PLT
	imull	%ebx, %r13d
	movslq	%ebx, %rax
	xorl	%r14d, %r14d
	salq	$2, %rax
	movq	%rax, 8(%rsp)
	imull	%r12d, %r13d
	movslq	%r13d, %r13
	leaq	0(%rbp,%r13,4), %r15
	jmp	.L317
.L314:
	movq	536(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L326
	call	__cxa_throw_bad_array_new_length@PLT
.L318:
	movq	(%rsp), %rdi
	cvtss2sd	(%r15,%r13,4), %xmm0
	call	_ZNSo9_M_insertIdEERSoT_@PLT
	movq	(%rsp), %rdi
	leaq	.LC31(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	incq	%r13
.L319:
	cmpl	%r13d, %ebx
	jg	.L318
	movq	(%rsp), %rdi
	leaq	.LC32(%rip), %rsi
	call	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc@PLT
	movq	8(%rsp), %rax
	incl	%r14d
	addq	%rax, %r15
.L317:
	cmpl	%r12d, %r14d
	jge	.L329
	xorl	%r13d, %r13d
	jmp	.L319
.L329:
	movq	(%rsp), %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv@PLT
.LEHE23:
	movq	%rbp, %rdi
	movl	$4, %esi
	call	_ZdlPvm@PLT
	movq	(%rsp), %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	536(%rsp), %rax
	subq	%fs:40, %rax
	je	.L322
	jmp	.L326
.L324:
	endbr64
	movq	%rax, %rbx
.L320:
	movq	(%rsp), %rdi
	call	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev@PLT
	movq	536(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L326
	movq	%rbx, %rdi
.LEHB24:
	call	_Unwind_Resume@PLT
.LEHE24:
.L326:
	call	__stack_chk_fail@PLT
.L322:
	addq	$552, %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
.LFE4014:
	.section	.gcc_except_table
.LLSDA4014:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE4014-.LLSDACSB4014
.LLSDACSB4014:
	.uleb128 .LEHB22-.LFB4014
	.uleb128 .LEHE22-.LEHB22
	.uleb128 0
	.uleb128 0
	.uleb128 .LEHB23-.LFB4014
	.uleb128 .LEHE23-.LEHB23
	.uleb128 .L324-.LFB4014
	.uleb128 0
	.uleb128 .LEHB24-.LFB4014
	.uleb128 .LEHE24-.LEHB24
	.uleb128 0
	.uleb128 0
.LLSDACSE4014:
	.text
	.size	_Z4savePKcPfiiii, .-_Z4savePKcPfiiii
	.section	.nvFatBinSegment,"aw"
	.align 8
	.type	_ZL15__fatDeviceText, @object
	.size	_ZL15__fatDeviceText, 24
_ZL15__fatDeviceText:
	.long	1180844977
	.long	1
	.quad	fatbinData
	.quad	0
	.local	_ZL20__cudaFatCubinHandle
	.comm	_ZL20__cudaFatCubinHandle,8,8
	.local	_ZL5Nt_Ny
	.comm	_ZL5Nt_Ny,4,4
	.local	_ZL5Nt_Nx
	.comm	_ZL5Nt_Nx,4,4
	.local	_ZL8Nx_Ny_Nt
	.comm	_ZL8Nx_Ny_Nt,4,4
	.local	_ZL5Nx_Ny
	.comm	_ZL5Nx_Ny,4,4
	.local	_ZL2h2
	.comm	_ZL2h2,4,4
	.local	_ZL2tt
	.comm	_ZL2tt,4,4
	.local	_ZL4tao2
	.comm	_ZL4tao2,4,4
	.local	_ZL3tao
	.comm	_ZL3tao,4,4
	.local	_ZL6omegac
	.comm	_ZL6omegac,4,4
	.local	_ZL3fre
	.comm	_ZL3fre,4,4
	.local	_ZL3dt2
	.comm	_ZL3dt2,4,4
	.local	_ZL2dt
	.comm	_ZL2dt,4,4
	.local	_ZL1T
	.comm	_ZL1T,4,4
	.section	.rodata
	.align 4
	.type	_ZL7Nt_Ny_h, @object
	.size	_ZL7Nt_Ny_h, 4
_ZL7Nt_Ny_h:
	.long	80601
	.align 4
	.type	_ZL7Nt_Nx_h, @object
	.size	_ZL7Nt_Nx_h, 4
_ZL7Nt_Nx_h:
	.long	80601
	.align 4
	.type	_ZL10Nx_Ny_Nt_h, @object
	.size	_ZL10Nx_Ny_Nt_h, 4
_ZL10Nx_Ny_Nt_h:
	.long	16200801
	.align 4
	.type	_ZL7Nx_Ny_h, @object
	.size	_ZL7Nx_Ny_h, 4
_ZL7Nx_Ny_h:
	.long	40401
	.align 4
	.type	_ZL4h2_h, @object
	.size	_ZL4h2_h, 4
_ZL4h2_h:
	.long	897988542
	.align 4
	.type	_ZL4tt_h, @object
	.size	_ZL4tt_h, 4
_ZL4tt_h:
	.long	923327358
	.align 4
	.type	_ZL6tao2_h, @object
	.size	_ZL6tao2_h, 4
_ZL6tao2_h:
	.long	764198092
	.align 4
	.type	_ZL5tao_h, @object
	.size	_ZL5tao_h, 4
_ZL5tao_h:
	.long	914765757
	.align 4
	.type	_ZL8omegac_h, @object
	.size	_ZL8omegac_h, 4
_ZL8omegac_h:
	.long	1228914531
	.align 4
	.type	_ZL5fre_h, @object
	.size	_ZL5fre_h, 4
_ZL5fre_h:
	.long	1207182336
	.align 4
	.type	_ZL5dt2_h, @object
	.size	_ZL5dt2_h, 4
_ZL5dt2_h:
	.long	704262962
	.align 4
	.type	_ZL4dt_h, @object
	.size	_ZL4dt_h, 4
_ZL4dt_h:
	.long	884143356
	.align 4
	.type	_ZL3T_h, @object
	.size	_ZL3T_h, 4
_ZL3T_h:
	.long	957075301
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC33:
	.long	884143356
	.align 4
.LC34:
	.long	923327358
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC35:
	.long	-2147483648
	.long	0
	.long	0
	.long	0
	.section	.rodata.cst4
	.align 4
.LC36:
	.long	772586700
	.align 4
.LC37:
	.long	1228914531
	.align 4
.LC38:
	.long	704262962
	.align 4
.LC42:
	.long	881211325
	.align 4
.LC43:
	.long	1120403456
	.align 4
.LC45:
	.long	1232348160
	.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:

// PROJECT: Ultrasonic tomographic imaging source code GPU
// Distribution is limited
// Date: December 15th, 2013
// University of Maryland Eastern Shore, Salisbury University, Florida International University
//
// AUTHORS: 
// Pedro D Bello-Maldonado, pbell005@fiu.edu, (786) 203-9025
// Yuanwei Jin, yjin@umes.edu, (410) 621-3410
//
// Copyright © 2013 All rights reserved

// Headers

#include <hip/hip_runtime.h>
#include <fstream>
#include <iostream>
#include <iomanip>
#include <math.h>
#include <limits>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>

using namespace std;

// Functions Declaration
void Ultrasonic_Tomography(int, float, int, int);

// Math functions
float norm(float*, int, int);
float norm(float*, float*, int, int);

// Utility Functions
int gridSize(int, int);
void save(const char*, int*, int);
void save(const char*, float*, int);
void save(const char*, float*, int, int);
void save(const char*, float*, int, int, int, int);

// Host Functions
void transducersPosition(int*&, int*&, int);

// Device Functions
__global__ void gridSetup(float*, float*);
__global__ void imagingField(float*, float*, float*);
__global__ void setSensorActivationVariables(float*, float*, float*, float*, float*);

__global__ void wavePropagation(float**, float*, float*, float*, float*, float, int, int*, int*, int*, int*);
__global__ void waveAtCorners(float**);
__global__ void waveAtSensors(float**, float*, float*, float*, float*, int);
__global__ void setAlpha(float*);
__global__ void differenceAtSensors(float**, float*, float*, float*, float*, float**, float**, float**, float**, int);
__global__ void setZ(float**);
__global__ void waveBackpropagation(float**, float*, float, int);
__global__ void waveBackpropagationBoundaryCorners(float**, float**, float**, float**, float**, int);
__global__ void deltau_k(float**, float**, int);
__global__ void df_k(float*, float**, float**, float*, int);
__global__ void f_k(float*, float*, float*);
__global__ void norm_f_f0_k(float*, float*, float*);
__global__ void norm_f0_k(float*, float*);

// Global Constants
#define Nx  201		//Number of sensors in  x and y
#define Ny  201
#define Nt  401		
#define Ns  640		
#define Ng  64 		// Number of sensor groups 640 / 10
#define Na  8  		// Number of groups to be allocated on the GPU for simultanous activation
#define Nm  40 		// Sensors pergroup
#define omega 16.0f

#define h   0.001f
#define hx  0.001f	//dimensions of pizel
#define hy  0.001f

#define pi 3.1415926535897932f

// CPU Consts
const float T_h = 0.2f / 1500.0f;
const float dt_h = T_h / 400.0f;
const float dt2_h = dt_h * dt_h;
const float fre_h = 125000.0f;
const float omegac_h = 2.0f * pi * fre_h;
const float tao_h = pi / omegac_h;
const float tao2_h = tao_h * tao_h;
const float tt_h = sqrt(6.0f * log(2.0f)) * tao_h;
const float h2_h = h * h;

const int Nx_Ny_h = Nx * Ny;
const int Nx_Ny_Nt_h = Nx_Ny_h * Nt;

const int Nt_Nx_h = Nt * Nx;
const int Nt_Ny_h = Nt * Ny;

const int blockDim_x = 16;
const int blockDim_y = 16;
const int nThreads = blockDim_x * blockDim_y;

/* const int t_sensors = 640; */
//const int t_iterations = 30;

// GPU Constants
__constant__ float T;
__constant__ float dt;
__constant__ float dt2;
__constant__ float fre;
__constant__ float omegac;
__constant__ float tao;
__constant__ float tao2;
__constant__ float tt;
__constant__ float h2;

__constant__ int Nx_Ny;
__constant__ int Nx_Ny_Nt;
__constant__ int Nt_Nx;
__constant__ int Nt_Ny;

int main(int argc, char** argv)
{
	
	if (argc != 4) {
		cerr << "Usage: " << argv[0] << " <sensor group size> <target epsilon> <max iterations>\n\n";
		exit(1);
	}

	int group_size = stoi(argv[1]);
	float target_epsilon = stof(argv[2]);
	int max_iterations = stoi(argv[3]);

	if (max_iterations == -1)
		max_iterations = numeric_limits<int>::max();
	
// Time measuring variables
	int t_start = 0, t_end = 0, t_total = 0;
	time_t clockTime;

	// Initial timings
	t_start = clock();
	time(&clockTime);

	// Start Imaging Process
	Ultrasonic_Tomography(group_size, target_epsilon, max_iterations, t_start);

	// Final timings
	time(&clockTime);
	t_end = clock();
	t_total = t_end - t_start;

	// Results
	printf("Clock Times:\n");
	/*printf("Initial Time: %s", ctime(&clockTime));
	printf("Final Time:   %s", ctime(&clockTime));*/

	printf("\nExecution Times:\n");
	printf("t_start = %d\n", t_start);
	printf("t_end   = %d\n", t_end);
	printf("t_total = %d\n", t_total);
	printf("Total Seconds = %f\n\n", (float)(t_total) / CLOCKS_PER_SEC);

	// End of the program
	return 0;
}

// Functions Definition
void Ultrasonic_Tomography(int group_size, float target_epsilon, int max_iterations, int t_start)
{
	// Iteration variables
	int i = 0, k = 0, p = 0;

	// Copy constant variables to GPU -- PROTOTYPE: cudaMemcpyToSymbol(Host, &Device, sizeof(datatype))
	hipMemcpyToSymbol(HIP_SYMBOL(T), &T_h, sizeof(float));
	hipMemcpyToSymbol(HIP_SYMBOL(dt), &dt_h, sizeof(float));
	hipMemcpyToSymbol(HIP_SYMBOL(dt2), &dt2_h, sizeof(float));
	hipMemcpyToSymbol(HIP_SYMBOL(fre), &fre_h, sizeof(float));
	hipMemcpyToSymbol(HIP_SYMBOL(omegac), &omegac_h, sizeof(float));
	hipMemcpyToSymbol(HIP_SYMBOL(tao), &tao_h, sizeof(float));
	hipMemcpyToSymbol(HIP_SYMBOL(tao2), &tao2_h, sizeof(float));
	hipMemcpyToSymbol(HIP_SYMBOL(tt), &tt_h, sizeof(float));
	hipMemcpyToSymbol(HIP_SYMBOL(h2), &h2_h, sizeof(float));
	hipMemcpyToSymbol(HIP_SYMBOL(Nx_Ny), &Nx_Ny_h, sizeof(int));
	hipMemcpyToSymbol(HIP_SYMBOL(Nx_Ny_Nt), &Nx_Ny_Nt_h, sizeof(int));
	hipMemcpyToSymbol(HIP_SYMBOL(Nt_Nx), &Nt_Nx_h, sizeof(int));
	hipMemcpyToSymbol(HIP_SYMBOL(Nt_Ny), &Nt_Ny_h, sizeof(int));
	
	/*KERNEL PREPARATION*/
	int gridDim_x = gridSize(blockDim_x, Nx);		//gridSize returns (Nx+(blockDim_x -1))/blockDim_x
	int gridDim_y = gridSize(blockDim_y, Ny);
	//dim3 is an integer vector type that can be used in CUDA code - used to pass grid and block dimensions in a kernel invocation
	dim3 Block(blockDim_x, blockDim_y);		
	dim3 Grid(gridDim_x, gridDim_y);

	// Coordinates of the grid
	float* dev_x;
	int size_x = Nx * sizeof(float);
	hipMalloc((void**)&dev_x, size_x);

	float* dev_y;
	int size_y = Ny * sizeof(float);
	hipMalloc((void**)&dev_y, size_y);

	//call gridSetup device function
	gridSetup<<<dim3(gridDim_x, 1), Block>>>(dev_x, dev_y);

	//Imaging Field
	float* dev_f0;
	int size_f0 = Nx_Ny_h * sizeof(float);
	hipMalloc((void**)&dev_f0, size_f0);
	hipMemset(dev_f0, 0.0f, size_f0);

	imagingField<<<Grid, Block>>>(dev_f0, dev_x, dev_y);

	// Position of transducers
	int *ii, *jj;
	transducersPosition(ii, jj, Ns);

	// Sensor activation variables
	float* dev_v;
	int size_v = Nx_Ny_h * sizeof(float);
	hipMalloc((void**)&dev_v, size_v);

	float* dev_r;
	int size_r = Nx_Ny_h * sizeof(float);
	hipMalloc((void**)&dev_r, size_r);

	float* dev_r2;
	int size_r2 = Nx_Ny_h * sizeof(float);
	hipMalloc((void**)&dev_r2, size_r2);

	float* dev_s;
	int size_s = Nx_Ny_h * sizeof(float);
	hipMalloc((void**)&dev_s, size_s);

	setSensorActivationVariables<<<Grid, Block>>>(dev_f0, dev_v, dev_r, dev_r2, dev_s);

	// Wave propagation first scanning
	// Wave propagaing for each sensor group and corresponding transducers
	float* dev_u_ptr[Na];
	int size_u_ptr = Nx_Ny_Nt_h * sizeof(float);

	for (i = 0; i < Na; i++)
	{
		hipMalloc((void**)&dev_u_ptr[i], size_u_ptr);
		hipMemset(dev_u_ptr[i], 0.0f, size_u_ptr);
	}

	float **dev_u;
	int size_u = Na * sizeof(float*);
	hipMalloc((void**)&dev_u, size_u);
	hipMemcpy(dev_u, dev_u_ptr, size_u, hipMemcpyHostToDevice);

	// Sensors
	int *dev_ip1;
	int size_ip1 = Na * sizeof(int);
	hipMalloc((void**)&dev_ip1, size_ip1);

	int *dev_ip2;
	int size_ip2 = Na * sizeof(int);
	hipMalloc((void**)&dev_ip2, size_ip2);

	int *dev_jp1;
	int size_jp1 = Na * sizeof(int);
	hipMalloc((void**)&dev_jp1, size_jp1);

	int *dev_jp2;
	int size_jp2 = Na * sizeof(int);
	hipMalloc((void**)&dev_jp2, size_jp2);

	int *ip1 = (int*)malloc(size_ip1);
	int *ip2 = (int*)malloc(size_ip2);
	int *jp1 = (int*)malloc(size_jp1);
	int *jp2 = (int*)malloc(size_jp2);	

	// Sensing variables for initial stage (REUSABLE)
	float* dev_g1;
	int size_g1 = (Nt_Nx_h * Ng) * sizeof(float);
	hipMalloc((void**)&dev_g1, size_g1);
	hipMemset(dev_g1, 0.0f, size_g1);

	float* dev_g3;
	int size_g3 = (Nt_Nx_h * Ng) * sizeof(float);
	hipMalloc((void**)&dev_g3, size_g3);
	hipMemset(dev_g3, 0.0f, size_g3);

	float* dev_g2;
	int size_g2 = (Nt_Nx_h * Ng) * sizeof(float);
	hipMalloc((void**)&dev_g2, size_g2);
	hipMemset(dev_g2, 0.0f, size_g2);

	float* dev_g4;
	int size_g4 = (Nt_Nx_h * Ng) * sizeof(float);
	hipMalloc((void**)&dev_g4, size_g4);
	hipMemset(dev_g4, 0.0f, size_g4);

	for (p = 0; p < Ns / (group_size * Na); p++)
	{	
		// Select the sensors to be used
		for (i = 0; i < Na; i++)
		{
			int jp1_h = jj[p * group_size * Na + i * group_size];
			int jp2_h = jj[p * group_size * Na + i * group_size + (group_size - 1)];
			int ip1_h = ii[p * group_size * Na + i * group_size];
			int ip2_h = ii[p * group_size * Na + i * group_size + (group_size - 1)];

			if (jp2_h < jp1_h)
			{
				int jp_h = jp1_h;
				jp1_h = jp2_h;
				jp2_h = jp_h;
			}

			if (ip2_h < ip1_h)
			{
				int ip_h = ip1_h;
				ip1_h = ip2_h;
				ip2_h = ip_h;
			}

			ip1[i] = ip1_h;
			ip2[i] = ip2_h;
			jp1[i] = jp1_h;
			jp2[i] = jp2_h;
		}

		hipMemcpy(dev_ip1, ip1, size_ip1, hipMemcpyHostToDevice);
		hipMemcpy(dev_ip2, ip2, size_ip2, hipMemcpyHostToDevice);
		hipMemcpy(dev_jp1, jp1, size_jp1, hipMemcpyHostToDevice);
		hipMemcpy(dev_jp2, jp2, size_jp2, hipMemcpyHostToDevice);

		// Start scanning the imaging field
		// Boundary
		for (k = 1; k < Nt - 1; k++)
		{
			// Sensor activation
			float t = k * dt_h - tt_h;
			float wave = dt2_h * cos(omegac_h * t) * exp(-(t * t) / (2.0f * tao2_h));

			wavePropagation<<<dim3(gridSize(8, Nx), gridSize(8, Ny), gridSize(4, Na)), dim3(8, 8, 4)>>>(dev_u, dev_v, dev_r, dev_r2, dev_s, wave, k, dev_ip1, dev_ip2, dev_jp1, dev_jp2);
		}

		// Corners
		waveAtCorners<<<dim3(gridSize(nThreads, Nt), 1, gridSize(4, Na)), dim3(8, 8, 4)>>>(dev_u);

		// Sensing
		waveAtSensors<<<dim3(gridSize(8, Nt), gridSize(8, 180), gridSize(4, Na)), dim3(8, 8, 4)>>>(dev_u, dev_g1, dev_g3, dev_g2, dev_g4, p);
	}

	// Kaczmarz Method
	// Propagation
	float* dev_f;
	int size_f = Nx_Ny_h * sizeof(float);
	hipMalloc((void**)&dev_f, size_f);
	hipMemset(dev_f, 0.0f, size_f);
	
	// rr1
	float* dev_rr1_ptr[Na];
	int size_rr1_ptr = Nt_Nx_h * sizeof(float);

	for (i = 0; i < Na; i++)
	{
		hipMalloc((void**)&dev_rr1_ptr[i], size_rr1_ptr);
		hipMemset(dev_rr1_ptr[i], 0.0f, size_rr1_ptr);
	}

	float **dev_rr1;
	int size_rr1 = Na * sizeof(float*);
	hipMalloc((void**)&dev_rr1, size_rr1);
	hipMemcpy(dev_rr1, dev_rr1_ptr, size_rr1, hipMemcpyHostToDevice);

	// rr3
	float* dev_rr3_ptr[Na];
	int size_rr3_ptr = Nt_Nx_h * sizeof(float);

	for (i = 0; i < Na; i++)
	{
		hipMalloc((void**)&dev_rr3_ptr[i], size_rr3_ptr);
		hipMemset(dev_rr3_ptr[i], 0.0f, size_rr3_ptr);
	}

	float **dev_rr3;
	int size_rr3 = Na * sizeof(float*);
	hipMalloc((void**)&dev_rr3, size_rr3);
	hipMemcpy(dev_rr3, dev_rr3_ptr, size_rr3, hipMemcpyHostToDevice);

	// rr2
	float* dev_rr2_ptr[Na];
	int size_rr2_ptr = Nt_Ny_h * sizeof(float);

	for (i = 0; i < Na; i++)
	{
		hipMalloc((void**)&dev_rr2_ptr[i], size_rr2_ptr);
		hipMemset(dev_rr2_ptr[i], 0.0f, size_rr2_ptr);
	}

	float **dev_rr2;
	int size_rr2 = Na * sizeof(float*);
	hipMalloc((void**)&dev_rr2, size_rr2);
	hipMemcpy(dev_rr2, dev_rr2_ptr, size_rr2, hipMemcpyHostToDevice);

	// rr4
	float* dev_rr4_ptr[Na];
	int size_rr4_ptr = Nt_Ny_h * sizeof(float);

	for (i = 0; i < Na; i++)
	{
		hipMalloc((void**)&dev_rr4_ptr[i], size_rr4_ptr);
		hipMemset(dev_rr4_ptr[i], 0.0f, size_rr4_ptr);
	}

	float **dev_rr4;
	int size_rr4 = Na * sizeof(float*);
	hipMalloc((void**)&dev_rr4, size_rr4);
	hipMemcpy(dev_rr4, dev_rr4_ptr, size_rr4, hipMemcpyHostToDevice);

	// Backpropagation Variables
	float* dev_z_ptr[Na];
	int size_z_ptr = (Nx_Ny_h * (Nt + 1)) * sizeof(float);

	for (i = 0; i < Na; i++)
	{
		hipMalloc((void**)&dev_z_ptr[i], size_z_ptr);
		hipMemset(dev_z_ptr[i], 0.0f, size_z_ptr);
	}

	float **dev_z;
	int size_z = Na * sizeof(float*);
	hipMalloc((void**)&dev_z, size_z);
	hipMemcpy(dev_z, dev_z_ptr, size_z, hipMemcpyHostToDevice);

	float* dev_Lu_ptr[Na];
	int size_Lu_ptr = Nx_Ny_Nt_h * sizeof(float);

	for (i = 0; i < Na; i++)
	{
		hipMalloc((void**)&dev_Lu_ptr[i], size_Lu_ptr);
		hipMemset(dev_Lu_ptr[i], 0.0f, size_Lu_ptr);
	}

	float **dev_Lu;
	int size_Lu = Na * sizeof(float*);
	hipMalloc((void**)&dev_Lu, size_Lu);
	hipMemcpy(dev_Lu, dev_Lu_ptr, size_Lu, hipMemcpyHostToDevice);

	float* dev_df;
	int size_df = Nx_Ny_h * sizeof(float);
	hipMalloc((void**)&dev_df, size_df);

	float* dev_alpha;
	int size_alpha = Nx_Ny_h * sizeof(float);
	hipMalloc((void**)&dev_alpha, size_alpha);
	hipMemset(dev_alpha, 0.0f, size_alpha);
	setAlpha<<<dim3(gridSize(blockDim_x, 159), gridSize(blockDim_y, 159)), Block>>>(dev_alpha);

	float* dev_norm_f0;
	int size_norm_f0 = sizeof(float);
	hipMalloc((void**)&dev_norm_f0, size_norm_f0);
	hipMemset(dev_norm_f0, 0.0f, size_norm_f0);

	float* dev_norm_f_f0;
	int size_norm_f_f0 = sizeof(float);
	hipMalloc((void**)&dev_norm_f_f0, size_norm_f_f0);
	hipMemset(dev_norm_f_f0, 0.0f, size_norm_f_f0);

	float* f = new float[Nx_Ny_h];
	float* f0 = new float[Nx_Ny_h];

	// Save convergence
	ofstream convergence_file;
	convergence_file.open("sirt_convergence.txt");
	ofstream time_file;
	time_file.open ("sirt_time.txt");

	for (int iter = 0; iter < max_iterations; iter++)
	{
		printf("iter: %d\n", iter);
		float epsilon = 0.0;

		// Initialize u for new sensor activation
		for (i = 0; i < Na; i++)
		{
			hipMemset(dev_u_ptr[i], 0.0f, size_u_ptr);
		}

		setSensorActivationVariables<<<Grid, Block>>>(dev_f, dev_v, dev_r, dev_r2, dev_s);

		hipMemset(dev_df, 0.0f, size_df);

		for (p = 0; p < Ns / (group_size * Na); p++)
		{
			// Select the sensors to be used
			for (i = 0; i < Na; i++)
			{
				int jp1_h = jj[p * group_size * Na + i * group_size];
				int jp2_h = jj[p * group_size * Na + i * group_size + (group_size - 1)];
				int ip1_h = ii[p * group_size * Na + i * group_size];
				int ip2_h = ii[p * group_size * Na + i * group_size + (group_size - 1)];

				if (jp2_h < jp1_h)
				{
					int jp_h = jp1_h;
					jp1_h = jp2_h;
					jp2_h = jp_h;
				}

				if (ip2_h < ip1_h)
				{
					int ip_h = ip1_h;
					ip1_h = ip2_h;
					ip2_h = ip_h;
				}

				ip1[i] = ip1_h;
				ip2[i] = ip2_h;
				jp1[i] = jp1_h;
				jp2[i] = jp2_h;
			}

			hipMemcpy(dev_ip1, ip1, size_ip1, hipMemcpyHostToDevice);
			hipMemcpy(dev_ip2, ip2, size_ip2, hipMemcpyHostToDevice);
			hipMemcpy(dev_jp1, jp1, size_jp1, hipMemcpyHostToDevice);
			hipMemcpy(dev_jp2, jp2, size_jp2, hipMemcpyHostToDevice);

			// Start scanning the imaging field
			// Boundary
			for (k = 1; k < Nt - 1; k++)
			{
				// Sensor activation
				float t = k * dt_h - tt_h;
				float wave = dt2_h * cos(omegac_h * t) * exp(-(t * t) / (2.0f * tao2_h));

				wavePropagation<<<dim3(gridSize(8, Nx), gridSize(8, Ny), gridSize(4, Na)), dim3(8, 8, 4)>>>(dev_u, dev_v, dev_r, dev_r2, dev_s, wave, k, dev_ip1, dev_ip2, dev_jp1, dev_jp2);
			}

			// Corners
			waveAtCorners<<<dim3(gridSize(nThreads, Nt), 1, gridSize(4, Na)), dim3(8, 8, 4)>>>(dev_u);

			// Sensing
			differenceAtSensors<<<dim3(gridSize(8, Nt), gridSize(8, 180), gridSize(4, Na)), dim3(8, 8, 4)>>>(dev_u, dev_g1, dev_g3, dev_g2, dev_g4, dev_rr1, dev_rr3, dev_rr2, dev_rr4, p);

			// Backpropagation
			setZ<<<dim3(gridSize(8, Nx), gridSize(8, Ny), gridSize(4, Na)), dim3(8, 8, 4)>>>(dev_z);

			float cons = 1500.0f * 1500.0f * dt2_h;

			for (k = Nt - 2; k >= 1; k--)
			{
				waveBackpropagation<<<dim3(gridSize(8, Nx), gridSize(8, Ny), gridSize(4, Na)), dim3(8, 8, 4)>>>(dev_z, dev_f, cons, k);
				waveBackpropagationBoundaryCorners<<<dim3(gridSize(8 * 8, Nx), 1, gridSize(4, Na)), dim3(8, 8, 4)>>> (dev_z, dev_rr1, dev_rr3, dev_rr2, dev_rr4, k);
			}

			// Deltau Calculation
			for (int pm = 0; pm < Na; pm++)
			{
				deltau_k<<<dim3(gridSize(8, Nx), gridSize(8, Ny), gridSize(4, Nt)), dim3(8, 8, 4)>>>(dev_Lu, dev_u, pm);

				df_k<<<dim3(gridSize(8, Nx), gridSize(8, Ny), gridSize(4, Nt)), dim3(8, 8, 4)>>>(dev_df, dev_z, dev_Lu, dev_f, pm);
			}
		}

		f_k<<<Grid, Block>>>(dev_f, dev_alpha, dev_df);

		hipMemcpy(f, dev_f, size_f, hipMemcpyDeviceToHost);
		hipMemcpy(f0, dev_f0, size_f0, hipMemcpyDeviceToHost);

		epsilon = norm(f, f0, Nx, Ny) / norm(f0, Nx, Ny) * 100.0f;
		printf("epsilon (%d): %f\n", p, epsilon);
		float current_t = (float)(clock()-t_start) / CLOCKS_PER_SEC;

		convergence_file << epsilon;
		convergence_file << " ";
		
		time_file << (current_t);
		time_file<<" ";

		if (epsilon <= target_epsilon)
		{
			break;
		}
	}

	// Save results
	//save("dev_x.txt", dev_x, Nx);
	//save("dev_y.txt", dev_y, Ny);
	save("dev_f0.txt", dev_f0, Nx, Ny);					//output files(image)
	//save("dev_fb.txt", dev_fb, Nx, Ny);
	//save("dev_ib.txt", dev_ib, Ibase[0]);
	//save("dev_jb.txt", dev_jb, Ibase[0]);
	//save("dev_v.txt", dev_v, Nx, Ny);
	//save("dev_s.txt", dev_s, Nx, Ny);
	//save("dev_u.txt", dev_u_ptr[Na - 1], Nx, Ny, Nt, Nt - 1);
	//save("dev_u.txt", dev_u_ptr[0], Nx, Ny, Nt, Nt - 1);
	//save("dev_u.txt", dev_u, Nx, Ny, Nt, Nt - 1);
	//save("dev_g1.txt", dev_g1, Nt, 180, Ng, 0);
	//save("dev_g4.txt", dev_g4, Nt, 180, Ns, 0);
	//save("dev_rr1.txt", dev_rr1_ptr[0], Nt, 180);
	//save("dev_rr4.txt", dev_rr4, Nt, 180);
	//save("dev_z.txt", dev_z_ptr[0], Nx, Ny, Nt + 1, 1);
	//save("dev_Lu.txt", dev_Lu_ptr[Na - 1], Nx, Ny, Nt, Nt - 1);
	//save("dev_df.txt", dev_df, Nx, Ny);
	//save("dev_alpha.txt", dev_alpha, Nx, Ny);
	save("dev_f.txt", dev_f, Nx, Ny);
	//save("dev_xf.txt", dev_xf, Ibase);

	// Release Memory
	hipFree(dev_x);
	hipFree(dev_y);
	hipFree(dev_f0);
	delete[] ii;
	delete[] jj;
	hipFree(dev_v);
	hipFree(dev_r);
	hipFree(dev_r2);
	hipFree(dev_s);
	hipFree(dev_u);
	hipFree(dev_g1);
	hipFree(dev_g3);
	hipFree(dev_g2);
	hipFree(dev_g4);
	hipFree(dev_f);
	hipFree(dev_rr1);
	hipFree(dev_rr3);
	hipFree(dev_rr2);
	hipFree(dev_rr4);
	hipFree(dev_z);
	hipFree(dev_Lu);
	hipFree(dev_df);
	hipFree(dev_norm_f0);
	hipFree(dev_norm_f_f0);
	delete[] f;
	delete[] f0;
	
	hipFree(dev_u);
	hipFree(dev_ip1);
	hipFree(dev_ip2);
	hipFree(dev_jp1);
	hipFree(dev_jp2);
	delete[] ip1;
	delete[] ip2;
	delete[] jp1;
	delete[] jp2;
}

// Host Functions
void transducersPosition(int *&ii, int *&jj, int num)
{
	/*
	Returns the (x, y) coordinates of each of the 'num' total transducers.
	*/
	// Position of transducers
	ii = (int*)malloc(num * sizeof(int));
	jj = (int*)malloc(num * sizeof(int));

	int p = 0;

	for (p = 0; p < 160; p++)
	{
		ii[p] = 20 + (p + 1);
		jj[p] = 180;
	}

	for (p = 160; p < 320; p++)
	{
		ii[p] = 180;
		jj[p] = 180 - ((p + 1) - 160);
	}

	for (p = 320; p < 480; p++)
	{
		ii[p] = 180 - ((p + 1) - 320);
		jj[p] = 20;
	}

	for (p = 480; p < 640; p++)
	{
		ii[p] = 20;
		jj[p] = 20 + ((p + 1) - 480);
	}
}

// Device Functions
__global__ void gridSetup(float* x, float* y)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x;
	int j = threadIdx.y + blockIdx.y * blockDim.y;
	int index = i + j * blockDim.x * gridDim.x;

	if (index < Nx)
	{
		float div = -0.1f + (float)(index)* h;
		x[index] = div;
		y[index] = div;
	}
}

__global__ void imagingField(float* f0, float* x, float* y)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x;
	int j = threadIdx.y + blockIdx.y * blockDim.y;

	if ((i < Nx) && (j < Ny))
	{
		int index = i + j * Nx;

		// Ground truth image
		/*if (sqrt(powf(x[i] - 0.04f, 2) + powf(y[j] - 0.04f, 2)) <= 0.003f)
		{
		f0[index] = 0.06f;
		}
		else if (sqrt(powf(x[i], 2) + powf(y[j], 2)) <= 0.005)
		{
		f0[index] = 0.06f;
		}
		else if (sqrt(powf(x[i] + 0.04f, 2) + powf(y[j] + 0.04f, 2)) <= 0.004f)
		{
		f0[index] = 0.06f;
		}*/

		/*if(((sqrtf(powf(x[i] - 0.015f, 2.0f) + powf(y[j] + 0.000f, 2.0f))) <= 0.005f) || ((sqrtf(powf(x[i] + 0.015f, 2.0f) + powf(y[j] + 0.000f, 2.0f))) <= 0.005f))
		{
		f0[index] = 0.06f;
		}
		else
		{
		if(sqrtf(x[i] * x[i] + y[j] * y[j]) <= 0.03f)
		{
		f0[index] = 0.02f;
		}
		else
		{
		f0[index] = 0.0f;
		}
		}*/

		float rc = 0.015f;
		float rp = 0.005f;

		float sc = 0.03f;
		float sp = 0.05f;

		if (powf(x[i], 2) + powf(y[j], 2) <= powf(rc, 2))
		{
			f0[index] = sc;
		}

		if (powf(x[i] - rc * cos(-30 * (pi / 180)), 2) + powf(y[j] - rc * sin(30 * (pi / 180)), 2) <= powf(rp, 2))
		{
			f0[index] = sp;
		}

		if (powf(x[i] + rc * cos(-30 * (pi / 180)), 2) + powf(y[j] - rc * sin(30 * (pi / 180)), 2) <= powf(rp, 2))
		{
			f0[index] = sp;
		}

		if (powf(x[i], 2) + powf(y[j] + rc, 2) <= powf(rp, 2))
		{
			f0[index] = sp;
		}
	}
}

__global__ void setSensorActivationVariables(float* f0, float* v, float* r, float* r2, float* s)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x;
	int j = threadIdx.y + blockIdx.y * blockDim.y;
	int index = i + j * blockDim.x * gridDim.x;

	if (index < Nx_Ny)
	{
		//Propagation speed of acoustical wave in the medium : 	c(x)=c0*sqrt(1+f(x))
		//(c0 = ambient sound speed ; f(x) = the acoustical potential function that needs to be reconstructed)
		float v_c = 1500.0f * sqrt(1.0f + f0[index]);
		
		float r_c = v_c * dt / h;
		float r2_c = r_c * r_c;

		v[index] = v_c;
		r[index] = r_c;
		r2[index] = r2_c;
		s[index] = 2.0f - 4.0f * r2_c;
	}
}

__global__ void wavePropagation(float **u, float *v, float *r, float *r2, float *s, float wave, int k, int *ip1, int *ip2, int *jp1, int *jp2)
{
	// Thread Mapping
	int i = (threadIdx.x + blockIdx.x * blockDim.x) + 1;
	int j = (threadIdx.y + blockIdx.y * blockDim.y) + 1;
	int p = threadIdx.z + blockIdx.z * blockDim.z;

	if ((i < (Nx - 1)) && (j < (Ny - 1)) && (p < Na))
	{
		int index = i + j * Nx;

		int k_Nx_Ny = k * Nx_Ny;
		int k_p_Nx_Ny = k_Nx_Ny + Nx_Ny;
		int k_n_Nx_Ny = k_Nx_Ny - Nx_Ny;
		int index_k_Nx_Ny = index + k_Nx_Ny;

		if ((j >= jp1[p]) && (j <= jp2[p]) && (i >= ip1[p]) && (i <= ip2[p]) && (k < 24))
		{
			u[p][index + k_p_Nx_Ny] = v[index] * v[index] * wave + r2[index] * (u[p][index_k_Nx_Ny + 1] + u[p][index_k_Nx_Ny - 1] + u[p][index_k_Nx_Ny + Nx] + u[p][index_k_Nx_Ny - Nx]) + s[index] * u[p][index_k_Nx_Ny] - u[p][index + k_n_Nx_Ny];
		}
		else
		{
			u[p][index + k_p_Nx_Ny] = r2[index] * (u[p][index_k_Nx_Ny + 1] + u[p][index_k_Nx_Ny - 1] + u[p][index_k_Nx_Ny + Nx] + u[p][index_k_Nx_Ny - Nx]) + s[index] * u[p][index_k_Nx_Ny] - u[p][index + k_n_Nx_Ny];
		}

		if (j == 1)
		{
			// Right boundary
			int index_i = i * Nx;
			index_k_Nx_Ny = index_i + k_Nx_Ny;
			float two_r = 2.0f * r[index_i];
			u[p][index_i + k_p_Nx_Ny] = (2.0f - two_r - r2[index_i]) * u[p][index_k_Nx_Ny] + two_r * (1.0f + r[index_i]) * u[p][index_k_Nx_Ny + 1] - r2[index_i] * u[p][index_k_Nx_Ny + 2] + (two_r - 1.0f) * u[p][index_i + k_n_Nx_Ny] - two_r * u[p][index_i + 1 + k_n_Nx_Ny];

			// Left boundary
			index_i = (Nx - 1) + index_i;
			index_k_Nx_Ny = index_i + k_Nx_Ny;
			two_r = 2.0f * r[index_i];
			u[p][index_i + k_p_Nx_Ny] = (2.0f - two_r - r2[index_i]) * u[p][index_k_Nx_Ny] + two_r * (1.0f + r[index_i]) * u[p][index_k_Nx_Ny - 1] - r2[index_i] * u[p][index_k_Nx_Ny - 2] + (two_r - 1.0f) * u[p][index_i + k_n_Nx_Ny] - two_r * u[p][index_i - 1 + k_n_Nx_Ny];

			// Upper boundary
			index_i = i;
			index_k_Nx_Ny = index_i + k_Nx_Ny;
			two_r = 2.0f * r[index_i];
			u[p][index_i + k_p_Nx_Ny] = (2.0f - two_r - r2[index_i]) * u[p][index_k_Nx_Ny] + two_r * (1.0f + r[index_i]) * u[p][index_k_Nx_Ny + Nx] - r2[index_i] * u[p][index_k_Nx_Ny + Nx + Nx] + (two_r - 1.0f) * u[p][index_i + k_n_Nx_Ny] - two_r * u[p][index_i + Nx + k_n_Nx_Ny];

			// Lower boundary
			index_i = index_i + (Nx_Ny - Nx);
			index_k_Nx_Ny = index_i + k_Nx_Ny;
			two_r = 2.0f * r[index_i];
			u[p][index_i + k_p_Nx_Ny] = (2.0f - two_r - r2[index_i]) * u[p][index_k_Nx_Ny] + two_r * (1.0f + r[index_i]) * u[p][index_k_Nx_Ny - Nx] - r2[index_i] * u[p][index_k_Nx_Ny - Nx - Nx] + (two_r - 1.0f) * u[p][index_i + k_n_Nx_Ny] - two_r * u[p][index_i - Nx + k_n_Nx_Ny];
		}
	}
}

__global__ void waveAtCorners(float **u)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x;
	int j = threadIdx.y + blockIdx.y * blockDim.y;
	int p = threadIdx.z + blockIdx.z * blockDim.z;
	int k = i + j * blockDim.x * gridDim.x;

	if ((k < Nt) && (p < Na))
	{
		int k_Nx_Ny = k * Nx_Ny;
		int Nx_Ny_1 = Nx_Ny - Nx;

		u[p][k_Nx_Ny] = 0.5f * (u[p][1 + k_Nx_Ny] + u[p][Nx + k_Nx_Ny]);
		u[p][(Nx - 1) + k_Nx_Ny] = 0.5f * (u[p][(Nx - 2) + k_Nx_Ny] + u[p][Nx - 1 + Nx + k_Nx_Ny]);
		u[p][Nx_Ny_1 + k_Nx_Ny] = 0.5f * (u[p][Nx_Ny_1 - Nx + k_Nx_Ny] + u[p][1 + Nx_Ny_1 + k_Nx_Ny]);
		u[p][(Nx - 1) + Nx_Ny_1 + k_Nx_Ny] = 0.5f * (u[p][(Nx - 2) + Nx_Ny_1 + k_Nx_Ny] + u[p][Nx_Ny_1 - 1 + k_Nx_Ny]);
	}
}

__global__ void waveAtSensors(float **u, float *g1, float *g3, float *g2, float *g4, int pm)
{
	// Thread Mapping
	int k = threadIdx.x + blockIdx.x * blockDim.x + 2;
	int i = threadIdx.y + blockIdx.y * blockDim.y + 21;
	int p = threadIdx.z + blockIdx.z * blockDim.z;

	if ((k < Nt) && (i < 180) && (p < Na))
	{
		int p_Nt_Nx = (p + pm * Na) * Nt_Nx;

		int index = k + i * Nt + p_Nt_Nx;
		g1[index] = u[p][i + 180 * Nx + (k * Nx_Ny)];
		g3[index] = u[p][i + 20 * Nx + (k * Nx_Ny)];

		index = k + i * Nt + p_Nt_Nx;
		g2[index] = u[p][180 + (i*Nx) + (k * Nx_Ny)];
		g4[index] = u[p][20 + (i*Nx) + (k * Nx_Ny)];
	}
}

__global__ void setAlpha(float* alpha)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x + 21;
	int j = threadIdx.y + blockIdx.y * blockDim.y + 21;

	if ((i < 180) && (j < 180))
	{
		int index = i + j * Nx;

		alpha[index] = 1.0f;
	}
}

__global__ void differenceAtSensors(float **u, float *g1, float *g3, float *g2, float *g4, float **rr1, float **rr3, float **rr2, float **rr4, int pm)
{
	// Thread Mapping
	int k = threadIdx.x + blockIdx.x * blockDim.x + 2;
	int i = threadIdx.y + blockIdx.y * blockDim.y + 21;
	int p = threadIdx.z + blockIdx.z * blockDim.z;
	
	if ((k < Nt) && (i < 180) && (p < Na))
	{
		int p_Nt_Nx = (p + pm * Na) * Nt_Nx;
		int k_Nx_Ny = k * Nx_Ny;

		int index_rr = k + i * Nt;
		int index_g = index_rr + p_Nt_Nx;

		rr1[p][index_rr] = g1[index_g] - u[p][i + 180 * Nx + k_Nx_Ny];
		rr3[p][index_rr] = g3[index_g] - u[p][i + 20 * Nx + k_Nx_Ny];

		index_rr = k + i * Nt;
		index_g = index_rr + p_Nt_Nx;
		int i_Nx = i * Nx;

		rr2[p][index_rr] = g2[index_g] - u[p][180 + i_Nx + k_Nx_Ny];
		rr4[p][index_rr] = g4[index_g] - u[p][20 + i_Nx + k_Nx_Ny];
	}
}

__global__ void setZ(float **z)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x;
	int j = threadIdx.y + blockIdx.y * blockDim.y;
	int p = threadIdx.z + blockIdx.z * blockDim.z;

	if ((i < Nx) && (j < Ny) && (p < Na))
	{
		int index_Nx_Ny_Nt = i + j * Nx + Nx_Ny_Nt;

		z[p][index_Nx_Ny_Nt - Nx_Ny] = 0.0f;
		z[p][index_Nx_Ny_Nt] = 0.0f;
	}
}

__global__ void waveBackpropagation(float **z, float *f, float cons, int k)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x + 1;
	int j = threadIdx.y + blockIdx.y * blockDim.y + 1;
	int p = threadIdx.z + blockIdx.z * blockDim.z;

	//setting boundaries
	if ((i < (Nx - 1)) && (j < (Ny - 1)) && (p < Na))
	{
		int index = i + j * Nx;

		int k_Nx_Ny = k * Nx_Ny;
		int k_p_Nx_Ny = k_Nx_Ny + Nx_Ny;
		int index_k_p_Nx_Ny = index + k_p_Nx_Ny;

		z[p][index + k_Nx_Ny] = cons * ((1.0f + f[index - Nx]) * z[p][index_k_p_Nx_Ny - Nx] + (1.0f + f[index + Nx]) * z[p][index_k_p_Nx_Ny + Nx] + (1.0f + f[index - 1]) * z[p][index_k_p_Nx_Ny - 1] + (1.0f + f[index + 1]) * z[p][index_k_p_Nx_Ny + 1] - 4.0f * (1.0f + f[index]) * z[p][index_k_p_Nx_Ny]) / h2 + 2.0f * z[p][index_k_p_Nx_Ny] - z[p][index_k_p_Nx_Ny + Nx_Ny];
	}
}

__global__ void waveBackpropagationBoundaryCorners(float **z, float **rr1, float **rr3, float **rr2, float **rr4, int k)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x;
	int j = threadIdx.y;
	int index = i + j * blockDim.x * gridDim.x;
	int p = threadIdx.z + blockIdx.z * blockDim.z;
	
	//four corners need to be handled seperately--difference signals....

	if ((index < (Nx - 1)) && (p < Na))
	{
		int k_Nx_Ny = k * Nx_Ny;
		int j_Nx_k_Nx_Ny = index * Nx + k_Nx_Ny;

		z[p][index + k_Nx_Ny] = z[p][index + Nx + k_Nx_Ny];
		z[p][index + (Nx_Ny - Nx) + k_Nx_Ny] = z[p][index + (Nx_Ny - Nx - Nx) + k_Nx_Ny];

		z[p][j_Nx_k_Nx_Ny] = z[p][1 + j_Nx_k_Nx_Ny];
		z[p][(Nx - 1) + j_Nx_k_Nx_Ny] = z[p][(Nx - 2) + j_Nx_k_Nx_Ny];

		if ((index >= 21) && (index < 180))
		{
			z[p][index + 180 * Nx + k_Nx_Ny] = z[p][index + 179 * Nx + k_Nx_Ny] + rr1[p][k + index * Nt];
			z[p][index + 20 * Nx + k_Nx_Ny] = z[p][index + 21 * Nx + k_Nx_Ny] + rr3[p][k + index * Nt];

			int j_Nt = index * Nt;

			z[p][180 + j_Nx_k_Nx_Ny] = z[p][179 + j_Nx_k_Nx_Ny] + rr2[p][k + j_Nt];
			z[p][20 + j_Nx_k_Nx_Ny] = z[p][21 + j_Nx_k_Nx_Ny] + rr4[p][k + j_Nt];
		}

		z[p][k_Nx_Ny] = (z[p][1 + k_Nx_Ny] + z[p][Nx + k_Nx_Ny]) / 2.0f;
		z[p][(Nx - 1) + k_Nx_Ny] = (z[p][(Nx - 2) + k_Nx_Ny] + z[p][(Nx - 1) + Nx + k_Nx_Ny]) / 2.0f;
		z[p][(Nx_Ny - Nx) + k_Nx_Ny] = (z[p][1 + (Nx_Ny - Nx) + k_Nx_Ny] + z[p][(Nx_Ny - Nx - Nx) + k_Nx_Ny]) / 2.0f;
		z[p][(Nx - 1) + (Nx_Ny - Nx) + k_Nx_Ny] = (z[p][(Nx - 2) + (Nx_Ny - Nx) + k_Nx_Ny] + z[p][(Nx - 1) + (Nx_Ny - Nx - Nx) + k_Nx_Ny]) / 2.0f;
	}
}

__global__ void deltau_k(float **Lu, float **u, int p)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x + 1;
	int j = threadIdx.y + blockIdx.y * blockDim.y + 1;
	int k = threadIdx.z + blockIdx.z * blockDim.z + 1;

	if ((i < (Nx - 1)) && (j < (Ny - 1)) && (k < Nt))
	{
		int index = i + j * Nx;
		int k_Nx_Ny = k * Nx_Ny;
		int index_k_Nx_Ny = index + k_Nx_Ny;
		
		//Lu =delta u
		Lu[p][index_k_Nx_Ny] = (u[p][index_k_Nx_Ny - Nx] + u[p][index_k_Nx_Ny + Nx] + u[p][index_k_Nx_Ny - 1] + u[p][index_k_Nx_Ny + 1] - 4.0f * u[p][index_k_Nx_Ny]) / h2;

		if (j == 1)
		{
			index = i;
			index_k_Nx_Ny = index + k_Nx_Ny;
			int index_j_k_Nx_Ny = index_k_Nx_Ny + (Nx_Ny - Nx);

			Lu[p][index_k_Nx_Ny] = (u[p][index_k_Nx_Ny] + u[p][index_k_Nx_Ny + Nx] + u[p][index_k_Nx_Ny - 1] + u[p][index_k_Nx_Ny + 1] - 4.0f * u[p][index_k_Nx_Ny]) / h2;
			Lu[p][index_j_k_Nx_Ny] = (u[p][index_j_k_Nx_Ny] + u[p][index_j_k_Nx_Ny - Nx] + u[p][index_j_k_Nx_Ny - 1] + u[p][index_j_k_Nx_Ny + 1] - 4.0f * u[p][index_j_k_Nx_Ny]) / h2;

			index = i * Nx;
			index_k_Nx_Ny = index + k_Nx_Ny;
			int index_i_k_Nx_Ny = index_k_Nx_Ny + (Nx - 1);

			Lu[p][index_k_Nx_Ny] = (u[p][index_k_Nx_Ny] + u[p][index_k_Nx_Ny + 1] + u[p][index_k_Nx_Ny - Nx] + u[p][index_k_Nx_Ny + Nx] - 4.0f * u[p][index_k_Nx_Ny]) / h2;
			Lu[p][index_i_k_Nx_Ny] = (u[p][index_i_k_Nx_Ny] + u[p][index_i_k_Nx_Ny - 1] + u[p][index_i_k_Nx_Ny - Nx] + u[p][index_i_k_Nx_Ny + Nx] - 4.0f * u[p][index_i_k_Nx_Ny]) / h2;

			Lu[p][k_Nx_Ny] = (Lu[p][1 + k_Nx_Ny] + Lu[p][Nx + k_Nx_Ny]) / 2.0f;
			Lu[p][(Nx - 1) + k_Nx_Ny] = (Lu[p][(Nx - 2) + k_Nx_Ny] + Lu[p][(Nx - 1) + Nx + k_Nx_Ny]) / 2.0f;
			Lu[p][(Nx_Ny - Nx) + k_Nx_Ny] = (Lu[p][1 + (Nx_Ny - Nx) + k_Nx_Ny] + Lu[p][(Nx_Ny - Nx - Nx) + k_Nx_Ny]) / 2.0f;
			Lu[p][(Nx - 1) + (Nx_Ny - Nx) + k_Nx_Ny] = (Lu[p][(Nx - 2) + (Nx_Ny - Nx) + k_Nx_Ny] + Lu[p][(Nx - 1) + (Nx_Ny - Nx - Nx) + k_Nx_Ny]) / 2.0f;
		}
	}
}

__global__ void df_k(float *df, float **z, float **Lu, float *f, int p)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x;
	int j = threadIdx.y + blockIdx.y * blockDim.y;
	int k = threadIdx.z + blockIdx.z * blockDim.z + 1;

	if ((i < (Nx - 1)) && (j < (Ny - 1)) && (k < Nt))
	{
		int index = i + j * Nx;
		int k_Nx_Ny = k * Nx_Ny;
		int index_k_Nx_Ny = index + k_Nx_Ny;

		atomicAdd(&(df[index]), z[p][index_k_Nx_Ny] * Lu[p][index_k_Nx_Ny] / (1.0f + f[index]));
	}
}

__global__ void f_k(float* f, float* alpha, float* df)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x;
	int j = threadIdx.y + blockIdx.y * blockDim.y;

	if ((i < Nx) && (j < Ny))
	{
		int index = i + j * Nx;

		f[index] += 20000.0f * alpha[index] * df[index] / omega;
	}
}

__global__ void norm_f_f0_k(float* f, float* f0, float* norm_f_f0)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x;
	int j = threadIdx.y;
	int index = i + j * blockDim.x * gridDim.x;

	__shared__ float sum_c[nThreads];
	int index_c = threadIdx.x + threadIdx.y * blockDim.x;
	float sum = 0.0f;

	while (index < Nx_Ny)
	{
		float f_minus_f0 = f[index] - f0[index];
		sum += f_minus_f0 * f_minus_f0;
		index += gridDim.x * gridDim.y * nThreads;
	}

	sum_c[index_c] = sum;

	__syncthreads();

	int div = nThreads / 2;

	while (div != 0)
	{
		if (index_c < div)
		{
			sum_c[index_c] += sum_c[index_c + div];
		}

		__syncthreads();
		div /= 2;
	}

	if (index_c == 0)
	{
		atomicAdd(norm_f_f0, sum_c[0]);
	}
}

__global__ void norm_f0_k(float* f, float* norm_f)
{
	// Thread Mapping
	int i = threadIdx.x + blockIdx.x * blockDim.x;
	int j = threadIdx.y;
	int index = i + j * blockDim.x * gridDim.x;

	__shared__ float sum_c[nThreads];
	int index_c = threadIdx.x + threadIdx.y * blockDim.x;
	float sum = 0.0f;

	while (index < Nx_Ny)
	{
		float f_i = f[index];
		sum += f_i * f_i;
		index += gridDim.x * gridDim.y * nThreads;
	}

	sum_c[index_c] = sum;

	__syncthreads();

	int div = nThreads / 2;

	while (div != 0)
	{
		if (index_c < div)
		{
			sum_c[index_c] += sum_c[index_c + div];
		}

		__syncthreads();
		div /= 2;
	}

	if (index_c == 0)
	{
		atomicAdd(norm_f, sum_c[0]);
	}
}

// Math functions
float norm(float* A, int n, int m)
{
	int i = 0, j = 0;
	float sum = 0.0f;

	for (j = 0; j < m; j++)
	{
		int j_n = j * n;

		for (i = 0; i < n; i++)
		{
			int index = i + j_n;

			sum += A[index] * A[index];
		}
	}

	return sqrtf(sum);
}

float norm(float* A, float* B, int n, int m)
{
	int i = 0, j = 0;
	float sum = 0.0f;

	for (j = 0; j < m; j++)
	{
		int j_n = j * n;

		for (i = 0; i < n; i++)
		{
			int index = i + j_n;

			float A_minus_B = A[index] - B[index];
			sum += A_minus_B * A_minus_B;
		}
	}

	return sqrtf(sum);
}

// Utility functions
int gridSize(int threads, int N)
{
	return (N + (threads - 1)) / threads;
}

void save(const char* name, int* arr, int n)
{
	// Create file
	ofstream file;
	file.open(name);

	// Create temporal points
	int* arr_t = new int[n];

	// Copy array from GPU to CPU
	hipMemcpy(arr_t, arr, n * sizeof(int), hipMemcpyDeviceToHost);

	// Copy data
	for (int i = 0; i < n; i++)
	{
		file << arr_t[i];
		file << " ";
	}

	// Close and release the file
	file.close();

	// Delete temporary pointer
	delete(arr_t);
}

void save(const char* name, float* arr, int n)
{
	// Create file
	ofstream file;
	file.open(name);

	// Create temporal points
	float* arr_t = new float[n];

	// Copy array from GPU to CPU
	hipMemcpy(arr_t, arr, n * sizeof(float), hipMemcpyDeviceToHost);

	// Copy data
	for (int i = 0; i < n; i++)
	{
		file << arr_t[i];
		file << " ";
	}

	// Close and release the file
	file.close();

	// Delete temporary pointer
	delete(arr_t);
}

void save(const char* name, float* arr, int n, int m)		//only need this save??
{
	// Create file
	ofstream file;
	file.open(name);

	// Create temporal points
	float* arr_t = new float[n * m];

	// Copy array from GPU to CPU
	hipMemcpy(arr_t, arr, (n * m) * sizeof(float), hipMemcpyDeviceToHost);

	// Copy data
	for (int j = 0; j < m; j++)
	{
		int j_n = j * n;

		for (int i = 0; i < n; i++)
		{
			file << arr_t[i + j_n];
			file << " ";
		}

		file << "\n";
	}

	// Close and release the file
	file.close();

	// Delete temporary pointer
	delete(arr_t);
}

void save(const char* name, float* arr, int n, int m, int o, int k)
{
	// Create file
	ofstream file;
	file.open(name);

	// Create temporal points
	float* arr_t = new float[n * m * o];

	// Copy array from GPU to CPU
	hipMemcpy(arr_t, arr, (n * m * o) * sizeof(float), hipMemcpyDeviceToHost);

	// Copy data
	int offset = k * n * m;

	for (int j = 0; j < m; j++)
	{
		int j_n = j * n;

		for (int i = 0; i < n; i++)
		{
			file << arr_t[i + j_n + offset];
			file << " ";
		}

		file << "\n";
	}

	// Close and release the file
	file.close();

	// Delete temporary pointer
	delete(arr_t);
}

	.text
	.file	"sirt-mimo-original.hip"
                                        # Start of file scope inline assembly
	.globl	_ZSt21ios_base_library_initv

                                        # End of file scope inline assembly
	.section	.rodata.cst4,"aM",@progbits,4
	.p2align	2, 0x0                          # -- Begin function main
.LCPI0_0:
	.long	0x49742400                      # float 1.0E+6
	.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	$56, %rsp
	.cfi_def_cfa_offset 112
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rsi, %r15
	cmpl	$4, %edi
	jne	.LBB0_52
# %bb.1:
	movq	8(%r15), %rsi
.Ltmp0:
	leaq	8(%rsp), %rdi
	leaq	7(%rsp), %rdx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
.Ltmp1:
# %bb.2:
	movq	8(%rsp), %r12
	callq	__errno_location
	movq	%rax, %rbx
	movl	(%rax), %ebp
	movl	$0, (%rax)
	leaq	48(%rsp), %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	$10, %edx
	callq	__isoc23_strtol
	cmpq	%r12, (%r13)
	je	.LBB0_3
# %bb.10:
	movq	%rax, %r14
	movslq	%r14d, %rax
	cmpq	%r14, %rax
	jne	.LBB0_12
# %bb.11:
	movl	(%rbx), %eax
	cmpl	$34, %eax
	je	.LBB0_12
# %bb.14:
	testl	%eax, %eax
	jne	.LBB0_16
# %bb.15:
	movl	%ebp, (%rbx)
.LBB0_16:
	leaq	24(%rsp), %rax
	movq	-16(%rax), %rdi
	cmpq	%rax, %rdi
	je	.LBB0_18
# %bb.17:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i
	callq	_ZdlPv
.LBB0_18:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit
	movq	16(%r15), %rsi
.Ltmp3:
	leaq	8(%rsp), %rdi
	leaq	7(%rsp), %rdx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
.Ltmp4:
# %bb.19:
	movq	8(%rsp), %r12
	movl	(%rbx), %ebp
	movl	$0, (%rbx)
	leaq	48(%rsp), %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	strtof
	cmpq	%r12, (%r13)
	je	.LBB0_20
# %bb.26:
	movl	(%rbx), %eax
	testl	%eax, %eax
	movss	%xmm0, 44(%rsp)                 # 4-byte Spill
	je	.LBB0_30
# %bb.27:
	cmpl	$34, %eax
	jne	.LBB0_31
# %bb.28:                               # %.critedge.i.i32
.Ltmp6:
	movl	$.L.str.17, %edi
	callq	_ZSt20__throw_out_of_rangePKc
.Ltmp7:
# %bb.29:
.LBB0_30:
	movl	%ebp, (%rbx)
.LBB0_31:
	movq	8(%rsp), %rdi
	leaq	24(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_33
# %bb.32:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i35
	callq	_ZdlPv
.LBB0_33:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit37
	movq	24(%r15), %rsi
.Ltmp8:
	leaq	8(%rsp), %rdi
	leaq	7(%rsp), %rdx
	callq	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
.Ltmp9:
# %bb.34:
	movq	8(%rsp), %r12
	movl	(%rbx), %ebp
	movl	$0, (%rbx)
	leaq	48(%rsp), %r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	$10, %edx
	callq	__isoc23_strtol
	cmpq	%r12, (%r13)
	je	.LBB0_35
# %bb.38:
	movq	%rax, %r15
	movabsq	$-4294967296, %rax              # imm = 0xFFFFFFFF00000000
	leaq	-2147483648(%r15), %rcx
	cmpq	%rax, %rcx
	jb	.LBB0_40
# %bb.39:
	movl	(%rbx), %eax
	cmpl	$34, %eax
	je	.LBB0_40
# %bb.42:
	testl	%eax, %eax
	jne	.LBB0_44
# %bb.43:
	movl	%ebp, (%rbx)
.LBB0_44:
	movq	8(%rsp), %rdi
	leaq	24(%rsp), %rax
	cmpq	%rax, %rdi
	je	.LBB0_46
# %bb.45:                               # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i44
	callq	_ZdlPv
.LBB0_46:                               # %_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev.exit46
	cmpl	$-1, %r15d
	movl	$2147483647, %ebp               # imm = 0x7FFFFFFF
	cmovnel	%r15d, %ebp
	callq	clock
	movq	%rax, %rbx
	leaq	8(%rsp), %r15
	movq	%r15, %rdi
	callq	time
	movl	%r14d, %edi
	movss	44(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	movl	%ebp, %esi
	movl	%ebx, %edx
	callq	_Z21Ultrasonic_Tomographyifii
	movq	%r15, %rdi
	callq	time
	callq	clock
	movq	%rax, %r14
	movl	%r14d, %ebp
	subl	%ebx, %ebp
	movl	$.Lstr, %edi
	callq	puts@PLT
	movl	$.Lstr.1, %edi
	callq	puts@PLT
	movl	$.L.str.4, %edi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	printf
	movl	$.L.str.5, %edi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	printf
	movl	$.L.str.6, %edi
	movl	%ebp, %esi
	xorl	%eax, %eax
	callq	printf
	xorps	%xmm0, %xmm0
	cvtsi2ss	%ebp, %xmm0
	divss	.LCPI0_0(%rip), %xmm0
	cvtss2sd	%xmm0, %xmm0
	movl	$.L.str.7, %edi
	movb	$1, %al
	callq	printf
	xorl	%eax, %eax
	addq	$56, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB0_52:
	.cfi_def_cfa_offset 112
	movl	$_ZSt4cerr, %edi
	movl	$.L.str, %esi
	callq	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
	movq	(%r15), %rsi
	movq	%rax, %rdi
	callq	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
	movl	$.L.str.1, %esi
	movq	%rax, %rdi
	callq	_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
	movl	$1, %edi
	callq	exit
.LBB0_3:
.Ltmp21:
	movl	$.L.str.16, %edi
	callq	_ZSt24__throw_invalid_argumentPKc
.Ltmp22:
# %bb.4:
.LBB0_12:                               # %.critedge.i.i
.Ltmp19:
	movl	$.L.str.16, %edi
	callq	_ZSt20__throw_out_of_rangePKc
.Ltmp20:
# %bb.13:
.LBB0_20:
.Ltmp16:
	movl	$.L.str.17, %edi
	callq	_ZSt24__throw_invalid_argumentPKc
.Ltmp17:
# %bb.21:
.LBB0_35:
.Ltmp13:
	movl	$.L.str.16, %edi
	callq	_ZSt24__throw_invalid_argumentPKc
.Ltmp14:
# %bb.36:
.LBB0_40:                               # %.critedge.i.i39
.Ltmp11:
	movl	$.L.str.16, %edi
	callq	_ZSt20__throw_out_of_rangePKc
.Ltmp12:
# %bb.41:
.LBB0_49:
.Ltmp10:
	jmp	.LBB0_50
.LBB0_48:
.Ltmp5:
	jmp	.LBB0_50
.LBB0_47:
.Ltmp2:
.LBB0_50:
	movq	%rax, %r14
	jmp	.LBB0_51
.LBB0_22:
.Ltmp18:
	jmp	.LBB0_23
.LBB0_37:
.Ltmp15:
.LBB0_23:
	movq	%rax, %r14
	cmpl	$0, (%rbx)
	jne	.LBB0_25
# %bb.24:
	movl	%ebp, (%rbx)
.LBB0_25:                               # %_ZZN9__gnu_cxx6__stoaIffcJEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev.exit.i.i
	movq	8(%rsp), %rdi
	leaq	24(%rsp), %rax
	jmp	.LBB0_8
.LBB0_5:
.Ltmp23:
	movq	%rax, %r14
	cmpl	$0, (%rbx)
	jne	.LBB0_7
# %bb.6:
	movl	%ebp, (%rbx)
.LBB0_7:                                # %_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev.exit.i.i
	leaq	24(%rsp), %rax
	movq	-16(%rax), %rdi
.LBB0_8:                                # %_ZZN9__gnu_cxx6__stoaIlicJiEEET0_PFT_PKT1_PPS3_DpT2_EPKcS5_PmS9_EN11_Save_errnoD2Ev.exit.i.i
	cmpq	%rax, %rdi
	je	.LBB0_51
# %bb.9:                                # %_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i47
	callq	_ZdlPv
.LBB0_51:
	movq	%r14, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end0:
	.size	main, .Lfunc_end0-main
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table0:
.Lexception0:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end0-.Lcst_begin0
.Lcst_begin0:
	.uleb128 .Ltmp0-.Lfunc_begin0           # >> Call Site 1 <<
	.uleb128 .Ltmp1-.Ltmp0                  #   Call between .Ltmp0 and .Ltmp1
	.uleb128 .Ltmp2-.Lfunc_begin0           #     jumps to .Ltmp2
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp3-.Lfunc_begin0           # >> Call Site 2 <<
	.uleb128 .Ltmp4-.Ltmp3                  #   Call between .Ltmp3 and .Ltmp4
	.uleb128 .Ltmp5-.Lfunc_begin0           #     jumps to .Ltmp5
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp6-.Lfunc_begin0           # >> Call Site 3 <<
	.uleb128 .Ltmp7-.Ltmp6                  #   Call between .Ltmp6 and .Ltmp7
	.uleb128 .Ltmp18-.Lfunc_begin0          #     jumps to .Ltmp18
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp8-.Lfunc_begin0           # >> Call Site 4 <<
	.uleb128 .Ltmp9-.Ltmp8                  #   Call between .Ltmp8 and .Ltmp9
	.uleb128 .Ltmp10-.Lfunc_begin0          #     jumps to .Ltmp10
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp9-.Lfunc_begin0           # >> Call Site 5 <<
	.uleb128 .Ltmp21-.Ltmp9                 #   Call between .Ltmp9 and .Ltmp21
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp21-.Lfunc_begin0          # >> Call Site 6 <<
	.uleb128 .Ltmp20-.Ltmp21                #   Call between .Ltmp21 and .Ltmp20
	.uleb128 .Ltmp23-.Lfunc_begin0          #     jumps to .Ltmp23
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp16-.Lfunc_begin0          # >> Call Site 7 <<
	.uleb128 .Ltmp17-.Ltmp16                #   Call between .Ltmp16 and .Ltmp17
	.uleb128 .Ltmp18-.Lfunc_begin0          #     jumps to .Ltmp18
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp13-.Lfunc_begin0          # >> Call Site 8 <<
	.uleb128 .Ltmp12-.Ltmp13                #   Call between .Ltmp13 and .Ltmp12
	.uleb128 .Ltmp15-.Lfunc_begin0          #     jumps to .Ltmp15
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp12-.Lfunc_begin0          # >> Call Site 9 <<
	.uleb128 .Lfunc_end0-.Ltmp12            #   Call between .Ltmp12 and .Lfunc_end0
	.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	.LBB1_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
.LBB1_1:
	.cfi_def_cfa_offset 32
	movl	$.L.str.18, %edi
	callq	_ZSt19__throw_logic_errorPKc
.Lfunc_end1:
	.size	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_, .Lfunc_end1-_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst4,"aM",@progbits,4
	.p2align	2, 0x0                          # -- Begin function _Z21Ultrasonic_Tomographyifii
.LCPI2_0:
	.long	0x34b2f4fc                      # float 3.33333332E-7
.LCPI2_1:
	.long	0xb708db7e                      # float -8.1573362E-6
.LCPI2_2:
	.long	0x493fbf63                      # float 785398.188
.LCPI2_3:
	.long	0xae0cbccc                      # float -3.19999999E-11
.LCPI2_4:
	.long	0x29fa3332                      # float 1.11111112E-13
.LCPI2_5:
	.long	0x348637bd                      # float 2.49999999E-7
.LCPI2_6:
	.long	0x42c80000                      # float 100
.LCPI2_7:
	.long	0x49742400                      # float 1.0E+6
.LCPI2_8:
	.long	0x00000000                      # float 0
	.text
	.globl	_Z21Ultrasonic_Tomographyifii
	.type	_Z21Ultrasonic_Tomographyifii,@function
_Z21Ultrasonic_Tomographyifii:          # @_Z21Ultrasonic_Tomographyifii
.Lfunc_begin1:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception1
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$1848, %rsp                     # imm = 0x738
	.cfi_def_cfa_offset 1904
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movl	%edx, 36(%rsp)                  # 4-byte Spill
	movl	%esi, 140(%rsp)                 # 4-byte Spill
	movss	%xmm0, 324(%rsp)                # 4-byte Spill
                                        # kill: def $edi killed $edi def $rdi
	movq	%rdi, 152(%rsp)                 # 8-byte Spill
	movabsq	$68719476752, %r15              # imm = 0x1000000010
	movabsq	$4294967298, %rbx               # imm = 0x100000002
	.cfi_escape 0x2e, 0x00
	movl	$T, %edi
	movl	$_ZL3T_h, %esi
	movl	$4, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	hipMemcpyToSymbol
	.cfi_escape 0x2e, 0x00
	movl	$dt, %edi
	movl	$_ZL4dt_h, %esi
	movl	$4, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	hipMemcpyToSymbol
	.cfi_escape 0x2e, 0x00
	movl	$dt2, %edi
	movl	$_ZL5dt2_h, %esi
	movl	$4, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	hipMemcpyToSymbol
	.cfi_escape 0x2e, 0x00
	movl	$fre, %edi
	movl	$_ZL5fre_h, %esi
	movl	$4, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	hipMemcpyToSymbol
	.cfi_escape 0x2e, 0x00
	movl	$omegac, %edi
	movl	$_ZL8omegac_h, %esi
	movl	$4, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	hipMemcpyToSymbol
	.cfi_escape 0x2e, 0x00
	movl	$tao, %edi
	movl	$_ZL5tao_h, %esi
	movl	$4, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	hipMemcpyToSymbol
	.cfi_escape 0x2e, 0x00
	movl	$tao2, %edi
	movl	$_ZL6tao2_h, %esi
	movl	$4, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	hipMemcpyToSymbol
	.cfi_escape 0x2e, 0x00
	movl	$tt, %edi
	movl	$_ZL4tt_h, %esi
	movl	$4, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	hipMemcpyToSymbol
	.cfi_escape 0x2e, 0x00
	movl	$h2, %edi
	movl	$_ZL4h2_h, %esi
	movl	$4, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	hipMemcpyToSymbol
	.cfi_escape 0x2e, 0x00
	movl	$Nx_Ny, %edi
	movl	$_ZL7Nx_Ny_h, %esi
	movl	$4, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	hipMemcpyToSymbol
	.cfi_escape 0x2e, 0x00
	movl	$Nx_Ny_Nt, %edi
	movl	$_ZL10Nx_Ny_Nt_h, %esi
	movl	$4, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	hipMemcpyToSymbol
	.cfi_escape 0x2e, 0x00
	movl	$Nt_Nx, %edi
	movl	$_ZL7Nt_Nx_h, %esi
	movl	$4, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	hipMemcpyToSymbol
	.cfi_escape 0x2e, 0x00
	movl	$Nt_Ny, %edi
	movl	$_ZL7Nt_Ny_h, %esi
	movl	$4, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	hipMemcpyToSymbol
	.cfi_escape 0x2e, 0x00
	leaq	312(%rsp), %rdi
	movl	$804, %esi                      # imm = 0x324
	callq	hipMalloc
	.cfi_escape 0x2e, 0x00
	leaq	304(%rsp), %rdi
	movl	$804, %esi                      # imm = 0x324
	callq	hipMalloc
	leaq	11(%rbx), %rdi
	.cfi_escape 0x2e, 0x00
	movl	$1, %esi
	movq	%r15, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB2_2
# %bb.1:
	movq	312(%rsp), %rdi
	movq	304(%rsp), %rsi
	.cfi_escape 0x2e, 0x00
	callq	_Z24__device_stub__gridSetupPfS_
.LBB2_2:
	movabsq	$55834574861, %rbx              # imm = 0xD0000000D
	.cfi_escape 0x2e, 0x00
	leaq	128(%rsp), %r14
	movl	$161604, %esi                   # imm = 0x27744
	movq	%r14, %rdi
	callq	hipMalloc
	movq	(%r14), %rdi
	.cfi_escape 0x2e, 0x00
	movl	$161604, %edx                   # imm = 0x27744
	xorl	%esi, %esi
	callq	hipMemset
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rdi
	movl	$1, %esi
	movq	%r15, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB2_4
# %bb.3:
	movq	128(%rsp), %rdi
	movq	312(%rsp), %rsi
	movq	304(%rsp), %rdx
	.cfi_escape 0x2e, 0x00
	callq	_Z27__device_stub__imagingFieldPfS_S_
.LBB2_4:
	.cfi_escape 0x2e, 0x00
	leaq	296(%rsp), %rdi
	leaq	288(%rsp), %rsi
	movl	$640, %edx                      # imm = 0x280
	callq	_Z19transducersPositionRPiS0_i
	.cfi_escape 0x2e, 0x00
	leaq	120(%rsp), %rdi
	movl	$161604, %esi                   # imm = 0x27744
	callq	hipMalloc
	.cfi_escape 0x2e, 0x00
	leaq	112(%rsp), %rdi
	movl	$161604, %esi                   # imm = 0x27744
	callq	hipMalloc
	.cfi_escape 0x2e, 0x00
	leaq	104(%rsp), %rdi
	movl	$161604, %esi                   # imm = 0x27744
	callq	hipMalloc
	.cfi_escape 0x2e, 0x00
	leaq	96(%rsp), %rdi
	movl	$161604, %esi                   # imm = 0x27744
	callq	hipMalloc
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rdi
	movl	$1, %esi
	movq	%r15, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB2_6
# %bb.5:
	movq	128(%rsp), %rdi
	movq	120(%rsp), %rsi
	movq	112(%rsp), %rdx
	movq	104(%rsp), %rcx
	movq	96(%rsp), %r8
	.cfi_escape 0x2e, 0x00
	callq	_Z43__device_stub__setSensorActivationVariablesPfS_S_S_S_
.LBB2_6:
	xorl	%r14d, %r14d
.LBB2_7:                                # =>This Inner Loop Header: Depth=1
	leaq	(%rsp,%r14), %rbx
	addq	$368, %rbx                      # imm = 0x170
	.cfi_escape 0x2e, 0x00
	movl	$64803204, %esi                 # imm = 0x3DCD184
	movq	%rbx, %rdi
	callq	hipMalloc
	movq	(%rbx), %rdi
	.cfi_escape 0x2e, 0x00
	movl	$64803204, %edx                 # imm = 0x3DCD184
	xorl	%esi, %esi
	callq	hipMemset
	addq	$8, %r14
	cmpq	$64, %r14
	jne	.LBB2_7
# %bb.8:
	.cfi_escape 0x2e, 0x00
	leaq	8(%rsp), %rbx
	movl	$64, %esi
	movq	%rbx, %rdi
	callq	hipMalloc
	movq	(%rbx), %rdi
	.cfi_escape 0x2e, 0x00
	leaq	368(%rsp), %rsi
	movl	$64, %edx
	movl	$1, %ecx
	callq	hipMemcpy
	.cfi_escape 0x2e, 0x00
	leaq	88(%rsp), %rdi
	movl	$32, %esi
	callq	hipMalloc
	.cfi_escape 0x2e, 0x00
	leaq	80(%rsp), %rdi
	movl	$32, %esi
	callq	hipMalloc
	.cfi_escape 0x2e, 0x00
	leaq	72(%rsp), %rdi
	movl	$32, %esi
	callq	hipMalloc
	.cfi_escape 0x2e, 0x00
	leaq	64(%rsp), %rdi
	movl	$32, %esi
	callq	hipMalloc
	.cfi_escape 0x2e, 0x00
	movl	$32, %edi
	callq	malloc
	movq	%rax, 200(%rsp)                 # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	movl	$32, %edi
	callq	malloc
	movq	%rax, 176(%rsp)                 # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	movl	$32, %edi
	callq	malloc
	movq	%rax, 168(%rsp)                 # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	movl	$32, %edi
	callq	malloc
	movq	%rax, 160(%rsp)                 # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	leaq	280(%rsp), %rbx
	movl	$20633856, %esi                 # imm = 0x13AD900
	movq	%rbx, %rdi
	callq	hipMalloc
	movq	(%rbx), %rdi
	.cfi_escape 0x2e, 0x00
	xorl	%r15d, %r15d
	movl	$20633856, %edx                 # imm = 0x13AD900
	xorl	%esi, %esi
	callq	hipMemset
	.cfi_escape 0x2e, 0x00
	leaq	272(%rsp), %rbx
	movl	$20633856, %esi                 # imm = 0x13AD900
	movq	%rbx, %rdi
	callq	hipMalloc
	movq	(%rbx), %rdi
	.cfi_escape 0x2e, 0x00
	movl	$20633856, %edx                 # imm = 0x13AD900
	xorl	%esi, %esi
	callq	hipMemset
	.cfi_escape 0x2e, 0x00
	leaq	264(%rsp), %rbx
	movl	$20633856, %esi                 # imm = 0x13AD900
	movq	%rbx, %rdi
	callq	hipMalloc
	movq	(%rbx), %rdi
	.cfi_escape 0x2e, 0x00
	movl	$20633856, %edx                 # imm = 0x13AD900
	xorl	%esi, %esi
	callq	hipMemset
	.cfi_escape 0x2e, 0x00
	leaq	256(%rsp), %rbx
	movl	$20633856, %esi                 # imm = 0x13AD900
	movq	%rbx, %rdi
	callq	hipMalloc
	movq	(%rbx), %rdi
	.cfi_escape 0x2e, 0x00
	movl	$20633856, %edx                 # imm = 0x13AD900
	xorl	%esi, %esi
	callq	hipMemset
	movq	152(%rsp), %r14                 # 8-byte Reload
	leal	(,%r14,8), %ecx
	movl	$640, %eax                      # imm = 0x280
	xorl	%edx, %edx
	movl	%ecx, 148(%rsp)                 # 4-byte Spill
	idivl	%ecx
	movl	%eax, %ecx
	movq	%rcx, 328(%rsp)                 # 8-byte Spill
	movl	%eax, 144(%rsp)                 # 4-byte Spill
	testl	%eax, %eax
	jle	.LBB2_21
# %bb.9:                                # %.preheader520.lr.ph
	movq	288(%rsp), %r13
	leal	-1(%r14), %r11d
	movq	296(%rsp), %r12
	xorl	%ebx, %ebx
	movq	%r11, 40(%rsp)                  # 8-byte Spill
.LBB2_10:                               # %.preheader520
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB2_11 Depth 2
                                        #     Child Loop BB2_13 Depth 2
	movq	%rbx, 208(%rsp)                 # 8-byte Spill
	movq	%r15, 16(%rsp)                  # 8-byte Spill
	movl	%r15d, %ecx
	xorl	%eax, %eax
	movq	160(%rsp), %rbx                 # 8-byte Reload
	movq	168(%rsp), %r15                 # 8-byte Reload
	movq	176(%rsp), %rbp                 # 8-byte Reload
	movq	200(%rsp), %rsi                 # 8-byte Reload
.LBB2_11:                               #   Parent Loop BB2_10 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movslq	%ecx, %rcx
	movl	(%r13,%rcx,4), %edx
	leal	(%r11,%rcx), %edi
	movslq	%edi, %r9
	movl	(%r13,%r9,4), %edi
	movl	(%r12,%rcx,4), %r8d
	movl	(%r12,%r9,4), %r10d
	cmpl	%edx, %edi
	movl	%edx, %r9d
	cmovgl	%edi, %r9d
	cmovll	%edi, %edx
	cmpl	%r8d, %r10d
	movl	%r8d, %edi
	cmovgl	%r10d, %edi
	cmovll	%r10d, %r8d
	movl	%r8d, (%rsi,%rax,4)
	movl	%edi, (%rbp,%rax,4)
	movl	%edx, (%r15,%rax,4)
	movl	%r9d, (%rbx,%rax,4)
	incq	%rax
	addl	%r14d, %ecx
	cmpq	$8, %rax
	jne	.LBB2_11
# %bb.12:                               #   in Loop: Header=BB2_10 Depth=1
	movq	88(%rsp), %rdi
	.cfi_escape 0x2e, 0x00
	movl	$1, %r14d
	movl	$32, %edx
	movl	$1, %ecx
	callq	hipMemcpy
	movq	80(%rsp), %rdi
	.cfi_escape 0x2e, 0x00
	movl	$32, %edx
	movq	%rbp, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
	movq	72(%rsp), %rdi
	.cfi_escape 0x2e, 0x00
	movl	$32, %edx
	movq	%r15, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
	movq	64(%rsp), %rdi
	.cfi_escape 0x2e, 0x00
	movl	$32, %edx
	movq	%rbx, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
	movq	16(%rsp), %r15                  # 8-byte Reload
	movabsq	$34359738376, %rbx              # imm = 0x800000008
	movabsq	$111669149722, %rbp             # imm = 0x1A0000001A
.LBB2_13:                               #   Parent Loop BB2_10 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r14d, %xmm0
	mulss	.LCPI2_0(%rip), %xmm0
	addss	.LCPI2_1(%rip), %xmm0
	movss	%xmm0, 4(%rsp)                  # 4-byte Spill
	mulss	.LCPI2_2(%rip), %xmm0
	.cfi_escape 0x2e, 0x00
	callq	cosf
	movss	%xmm0, 48(%rsp)                 # 4-byte Spill
	movss	4(%rsp), %xmm0                  # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm0
	divss	.LCPI2_3(%rip), %xmm0
	.cfi_escape 0x2e, 0x00
	callq	expf
	movss	%xmm0, 4(%rsp)                  # 4-byte Spill
	.cfi_escape 0x2e, 0x00
	movq	%rbp, %rdi
	movl	$2, %esi
	movq	%rbx, %rdx
	movl	$4, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB2_15
# %bb.14:                               #   in Loop: Header=BB2_13 Depth=2
	movss	48(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	mulss	.LCPI2_4(%rip), %xmm0
	mulss	4(%rsp), %xmm0                  # 4-byte Folded Reload
	movq	8(%rsp), %rdi
	movq	120(%rsp), %rsi
	movq	112(%rsp), %rdx
	movq	104(%rsp), %rcx
	movq	96(%rsp), %r8
	.cfi_escape 0x2e, 0x20
	movl	%r14d, %r9d
	pushq	64(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	80(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	96(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	112(%rsp)
	.cfi_adjust_cfa_offset 8
	callq	_Z30__device_stub__wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_
	addq	$32, %rsp
	.cfi_adjust_cfa_offset -32
.LBB2_15:                               #   in Loop: Header=BB2_13 Depth=2
	incl	%r14d
	cmpl	$400, %r14d                     # imm = 0x190
	jne	.LBB2_13
# %bb.16:                               #   in Loop: Header=BB2_10 Depth=1
	.cfi_escape 0x2e, 0x00
	movabsq	$4294967298, %rdi               # imm = 0x100000002
	movl	$2, %esi
	movq	%rbx, %rdx
	movl	$4, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB2_18
# %bb.17:                               #   in Loop: Header=BB2_10 Depth=1
	movq	8(%rsp), %rdi
	.cfi_escape 0x2e, 0x00
	callq	_Z28__device_stub__waveAtCornersPPf
.LBB2_18:                               #   in Loop: Header=BB2_10 Depth=1
	.cfi_escape 0x2e, 0x00
	movabsq	$98784247859, %rdi              # imm = 0x1700000033
	movl	$2, %esi
	movq	%rbx, %rdx
	movl	$4, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	movq	152(%rsp), %r14                 # 8-byte Reload
	movq	208(%rsp), %rbx                 # 8-byte Reload
	jne	.LBB2_20
# %bb.19:                               #   in Loop: Header=BB2_10 Depth=1
	movq	8(%rsp), %rdi
	movq	280(%rsp), %rsi
	movq	272(%rsp), %rdx
	movq	264(%rsp), %rcx
	movq	256(%rsp), %r8
	.cfi_escape 0x2e, 0x00
	movl	%ebx, %r9d
	callq	_Z28__device_stub__waveAtSensorsPPfS_S_S_S_i
.LBB2_20:                               #   in Loop: Header=BB2_10 Depth=1
	incq	%rbx
	addl	148(%rsp), %r15d                # 4-byte Folded Reload
	cmpq	328(%rsp), %rbx                 # 8-byte Folded Reload
	movq	40(%rsp), %r11                  # 8-byte Reload
	jne	.LBB2_10
.LBB2_21:                               # %._crit_edge
	.cfi_escape 0x2e, 0x00
	leaq	24(%rsp), %rbx
	movl	$161604, %esi                   # imm = 0x27744
	movq	%rbx, %rdi
	callq	hipMalloc
	movq	(%rbx), %rdi
	.cfi_escape 0x2e, 0x00
	xorl	%r14d, %r14d
	movl	$161604, %edx                   # imm = 0x27744
	xorl	%esi, %esi
	callq	hipMemset
.LBB2_22:                               # =>This Inner Loop Header: Depth=1
	leaq	(%rsp,%r14), %rbx
	addq	$752, %rbx                      # imm = 0x2F0
	.cfi_escape 0x2e, 0x00
	movl	$322404, %esi                   # imm = 0x4EB64
	movq	%rbx, %rdi
	callq	hipMalloc
	movq	(%rbx), %rdi
	.cfi_escape 0x2e, 0x00
	movl	$322404, %edx                   # imm = 0x4EB64
	xorl	%esi, %esi
	callq	hipMemset
	addq	$8, %r14
	cmpq	$64, %r14
	jne	.LBB2_22
# %bb.23:
	.cfi_escape 0x2e, 0x00
	leaq	248(%rsp), %rbx
	movl	$64, %esi
	movq	%rbx, %rdi
	callq	hipMalloc
	movq	(%rbx), %rdi
	.cfi_escape 0x2e, 0x00
	leaq	752(%rsp), %rsi
	movl	$64, %edx
	movl	$1, %ecx
	callq	hipMemcpy
	xorl	%r14d, %r14d
.LBB2_24:                               # =>This Inner Loop Header: Depth=1
	leaq	(%rsp,%r14), %rbx
	addq	$688, %rbx                      # imm = 0x2B0
	.cfi_escape 0x2e, 0x00
	movl	$322404, %esi                   # imm = 0x4EB64
	movq	%rbx, %rdi
	callq	hipMalloc
	movq	(%rbx), %rdi
	.cfi_escape 0x2e, 0x00
	movl	$322404, %edx                   # imm = 0x4EB64
	xorl	%esi, %esi
	callq	hipMemset
	addq	$8, %r14
	cmpq	$64, %r14
	jne	.LBB2_24
# %bb.25:
	.cfi_escape 0x2e, 0x00
	leaq	240(%rsp), %rbx
	movl	$64, %esi
	movq	%rbx, %rdi
	callq	hipMalloc
	movq	(%rbx), %rdi
	.cfi_escape 0x2e, 0x00
	leaq	688(%rsp), %rsi
	movl	$64, %edx
	movl	$1, %ecx
	callq	hipMemcpy
	xorl	%r14d, %r14d
	movabsq	$68719476752, %r15              # imm = 0x1000000010
.LBB2_26:                               # =>This Inner Loop Header: Depth=1
	leaq	(%rsp,%r14), %rbx
	addq	$624, %rbx                      # imm = 0x270
	.cfi_escape 0x2e, 0x00
	movl	$322404, %esi                   # imm = 0x4EB64
	movq	%rbx, %rdi
	callq	hipMalloc
	movq	(%rbx), %rdi
	.cfi_escape 0x2e, 0x00
	movl	$322404, %edx                   # imm = 0x4EB64
	xorl	%esi, %esi
	callq	hipMemset
	addq	$8, %r14
	cmpq	$64, %r14
	jne	.LBB2_26
# %bb.27:
	.cfi_escape 0x2e, 0x00
	leaq	232(%rsp), %rbx
	movl	$64, %esi
	movq	%rbx, %rdi
	callq	hipMalloc
	movq	(%rbx), %rdi
	.cfi_escape 0x2e, 0x00
	leaq	624(%rsp), %rsi
	movl	$64, %edx
	movl	$1, %ecx
	callq	hipMemcpy
	xorl	%r14d, %r14d
.LBB2_28:                               # =>This Inner Loop Header: Depth=1
	leaq	(%rsp,%r14), %rbx
	addq	$560, %rbx                      # imm = 0x230
	.cfi_escape 0x2e, 0x00
	movl	$322404, %esi                   # imm = 0x4EB64
	movq	%rbx, %rdi
	callq	hipMalloc
	movq	(%rbx), %rdi
	.cfi_escape 0x2e, 0x00
	movl	$322404, %edx                   # imm = 0x4EB64
	xorl	%esi, %esi
	callq	hipMemset
	addq	$8, %r14
	cmpq	$64, %r14
	jne	.LBB2_28
# %bb.29:
	.cfi_escape 0x2e, 0x00
	leaq	224(%rsp), %rbx
	movl	$64, %esi
	movq	%rbx, %rdi
	callq	hipMalloc
	movq	(%rbx), %rdi
	.cfi_escape 0x2e, 0x00
	leaq	560(%rsp), %rsi
	movl	$64, %edx
	movl	$1, %ecx
	callq	hipMemcpy
	xorl	%r14d, %r14d
.LBB2_30:                               # =>This Inner Loop Header: Depth=1
	leaq	(%rsp,%r14), %rbx
	addq	$496, %rbx                      # imm = 0x1F0
	.cfi_escape 0x2e, 0x00
	movl	$64964808, %esi                 # imm = 0x3DF48C8
	movq	%rbx, %rdi
	callq	hipMalloc
	movq	(%rbx), %rdi
	.cfi_escape 0x2e, 0x00
	movl	$64964808, %edx                 # imm = 0x3DF48C8
	xorl	%esi, %esi
	callq	hipMemset
	addq	$8, %r14
	cmpq	$64, %r14
	jne	.LBB2_30
# %bb.31:
	.cfi_escape 0x2e, 0x00
	leaq	56(%rsp), %rbx
	movl	$64, %esi
	movq	%rbx, %rdi
	callq	hipMalloc
	movq	(%rbx), %rdi
	.cfi_escape 0x2e, 0x00
	leaq	496(%rsp), %rsi
	movl	$64, %edx
	movl	$1, %ecx
	callq	hipMemcpy
	xorl	%r14d, %r14d
.LBB2_32:                               # =>This Inner Loop Header: Depth=1
	leaq	(%rsp,%r14), %rbx
	addq	$432, %rbx                      # imm = 0x1B0
	.cfi_escape 0x2e, 0x00
	movl	$64803204, %esi                 # imm = 0x3DCD184
	movq	%rbx, %rdi
	callq	hipMalloc
	movq	(%rbx), %rdi
	.cfi_escape 0x2e, 0x00
	movl	$64803204, %edx                 # imm = 0x3DCD184
	xorl	%esi, %esi
	callq	hipMemset
	addq	$8, %r14
	cmpq	$64, %r14
	jne	.LBB2_32
# %bb.33:
	.cfi_escape 0x2e, 0x00
	leaq	216(%rsp), %rbx
	movl	$64, %esi
	movq	%rbx, %rdi
	callq	hipMalloc
	movq	(%rbx), %rdi
	.cfi_escape 0x2e, 0x00
	leaq	432(%rsp), %rsi
	movl	$64, %edx
	movl	$1, %ecx
	callq	hipMemcpy
	.cfi_escape 0x2e, 0x00
	leaq	184(%rsp), %rdi
	movl	$161604, %esi                   # imm = 0x27744
	callq	hipMalloc
	.cfi_escape 0x2e, 0x00
	leaq	336(%rsp), %rbx
	movl	$161604, %esi                   # imm = 0x27744
	movq	%rbx, %rdi
	callq	hipMalloc
	movq	(%rbx), %rdi
	.cfi_escape 0x2e, 0x00
	movl	$161604, %edx                   # imm = 0x27744
	xorl	%esi, %esi
	callq	hipMemset
	.cfi_escape 0x2e, 0x00
	movabsq	$42949672970, %rdi              # imm = 0xA0000000A
	movl	$1, %esi
	movq	%r15, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB2_35
# %bb.34:
	movq	336(%rsp), %rdi
	.cfi_escape 0x2e, 0x00
	callq	_Z23__device_stub__setAlphaPf
.LBB2_35:
	.cfi_escape 0x2e, 0x00
	leaq	360(%rsp), %rbx
	movl	$4, %esi
	movq	%rbx, %rdi
	callq	hipMalloc
	movq	(%rbx), %rdi
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	xorl	%esi, %esi
	callq	hipMemset
	.cfi_escape 0x2e, 0x00
	leaq	352(%rsp), %rbx
	movl	$4, %esi
	movq	%rbx, %rdi
	callq	hipMalloc
	movq	(%rbx), %rdi
	.cfi_escape 0x2e, 0x00
	movl	$4, %edx
	xorl	%esi, %esi
	callq	hipMemset
	.cfi_escape 0x2e, 0x00
	movl	$161604, %edi                   # imm = 0x27744
	callq	_Znam
	movq	%rax, 192(%rsp)                 # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	movl	$161604, %edi                   # imm = 0x27744
	callq	_Znam
	movq	%rax, 40(%rsp)                  # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	leaq	1336(%rsp), %rbx
	movq	%rbx, %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev
.Ltmp24:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.8, %esi
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode
.Ltmp25:
# %bb.36:
.Ltmp27:
	.cfi_escape 0x2e, 0x00
	leaq	824(%rsp), %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev
.Ltmp28:
# %bb.37:
.Ltmp30:
	.cfi_escape 0x2e, 0x00
	leaq	824(%rsp), %rdi
	movl	$.L.str.9, %esi
	movl	$16, %edx
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode
.Ltmp31:
# %bb.38:                               # %.preheader519
	cmpl	$0, 140(%rsp)                   # 4-byte Folded Reload
	jle	.LBB2_113
# %bb.39:                               # %.lr.ph
	movq	288(%rsp), %r13
	movq	152(%rsp), %rax                 # 8-byte Reload
	leal	-1(%rax), %r15d
	movq	296(%rsp), %rbx
	movslq	36(%rsp), %rax                  # 4-byte Folded Reload
	movq	%rax, 344(%rsp)                 # 8-byte Spill
	xorl	%esi, %esi
.LBB2_40:                               # =>This Loop Header: Depth=1
                                        #     Child Loop BB2_41 Depth 2
                                        #     Child Loop BB2_49 Depth 2
                                        #       Child Loop BB2_50 Depth 3
                                        #       Child Loop BB2_56 Depth 3
                                        #       Child Loop BB2_70 Depth 3
                                        #       Child Loop BB2_78 Depth 3
                                        #     Child Loop BB2_94 Depth 2
                                        #       Child Loop BB2_95 Depth 3
                                        #     Child Loop BB2_101 Depth 2
                                        #       Child Loop BB2_102 Depth 3
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.10, %edi
	movl	%esi, 36(%rsp)                  # 4-byte Spill
	xorl	%eax, %eax
	callq	printf
	xorl	%r12d, %r12d
.LBB2_41:                               #   Parent Loop BB2_40 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movq	368(%rsp,%r12,8), %rdi
.Ltmp32:
	.cfi_escape 0x2e, 0x00
	movl	$64803204, %edx                 # imm = 0x3DCD184
	xorl	%esi, %esi
	callq	hipMemset
.Ltmp33:
# %bb.42:                               #   in Loop: Header=BB2_41 Depth=2
	incq	%r12
	cmpq	$8, %r12
	jne	.LBB2_41
# %bb.43:                               #   in Loop: Header=BB2_40 Depth=1
.Ltmp35:
	.cfi_escape 0x2e, 0x00
	movabsq	$55834574861, %rdi              # imm = 0xD0000000D
	movl	$1, %esi
	movabsq	$68719476752, %rdx              # imm = 0x1000000010
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp36:
# %bb.44:                               #   in Loop: Header=BB2_40 Depth=1
	testl	%eax, %eax
	jne	.LBB2_46
# %bb.45:                               #   in Loop: Header=BB2_40 Depth=1
	movq	24(%rsp), %rdi
	movq	120(%rsp), %rsi
	movq	112(%rsp), %rdx
	movq	104(%rsp), %rcx
	movq	96(%rsp), %r8
.Ltmp37:
	.cfi_escape 0x2e, 0x00
	callq	_Z43__device_stub__setSensorActivationVariablesPfS_S_S_S_
.Ltmp38:
.LBB2_46:                               #   in Loop: Header=BB2_40 Depth=1
	movq	184(%rsp), %rdi
.Ltmp39:
	.cfi_escape 0x2e, 0x00
	movl	$161604, %edx                   # imm = 0x27744
	xorl	%esi, %esi
	callq	hipMemset
.Ltmp40:
# %bb.47:                               # %.preheader515
                                        #   in Loop: Header=BB2_40 Depth=1
	cmpl	$0, 144(%rsp)                   # 4-byte Folded Reload
	jle	.LBB2_87
# %bb.48:                               # %.preheader513.preheader
                                        #   in Loop: Header=BB2_40 Depth=1
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	movq	%rcx, 16(%rsp)                  # 8-byte Spill
.LBB2_49:                               # %.preheader513
                                        #   Parent Loop BB2_40 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB2_50 Depth 3
                                        #       Child Loop BB2_56 Depth 3
                                        #       Child Loop BB2_70 Depth 3
                                        #       Child Loop BB2_78 Depth 3
	movq	%rax, 208(%rsp)                 # 8-byte Spill
	movl	%eax, %ecx
	xorl	%eax, %eax
	movq	152(%rsp), %r10                 # 8-byte Reload
	movq	160(%rsp), %r11                 # 8-byte Reload
	movq	168(%rsp), %r12                 # 8-byte Reload
	movq	176(%rsp), %rbp                 # 8-byte Reload
	movq	%r15, %r14
	movq	200(%rsp), %r15                 # 8-byte Reload
.LBB2_50:                               #   Parent Loop BB2_40 Depth=1
                                        #     Parent Loop BB2_49 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movslq	%ecx, %rcx
	movl	(%r13,%rcx,4), %edx
	leal	(%r14,%rcx), %esi
	movslq	%esi, %rsi
	movl	(%r13,%rsi,4), %edi
	movl	(%rbx,%rcx,4), %r8d
	movl	(%rbx,%rsi,4), %esi
	cmpl	%edx, %edi
	movl	%edx, %r9d
	cmovgl	%edi, %r9d
	cmovll	%edi, %edx
	cmpl	%r8d, %esi
	movl	%r8d, %edi
	cmovgl	%esi, %edi
	cmovll	%esi, %r8d
	movl	%r8d, (%r15,%rax,4)
	movl	%edi, (%rbp,%rax,4)
	movl	%edx, (%r12,%rax,4)
	movl	%r9d, (%r11,%rax,4)
	incq	%rax
	addl	%r10d, %ecx
	cmpq	$8, %rax
	jne	.LBB2_50
# %bb.51:                               #   in Loop: Header=BB2_49 Depth=2
	movq	88(%rsp), %rdi
.Ltmp41:
	.cfi_escape 0x2e, 0x00
	movl	$32, %edx
	movq	%r15, %rsi
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp42:
	movq	%r14, %r15
	movabsq	$111669149722, %r14             # imm = 0x1A0000001A
	movabsq	$34359738376, %rbp              # imm = 0x800000008
# %bb.52:                               #   in Loop: Header=BB2_49 Depth=2
	movq	80(%rsp), %rdi
.Ltmp43:
	.cfi_escape 0x2e, 0x00
	movl	$32, %edx
	movq	176(%rsp), %rsi                 # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp44:
# %bb.53:                               #   in Loop: Header=BB2_49 Depth=2
	movq	72(%rsp), %rdi
.Ltmp45:
	.cfi_escape 0x2e, 0x00
	movl	$32, %edx
	movq	168(%rsp), %rsi                 # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp46:
# %bb.54:                               #   in Loop: Header=BB2_49 Depth=2
	movq	64(%rsp), %rdi
.Ltmp47:
	.cfi_escape 0x2e, 0x00
	movl	$32, %edx
	movq	160(%rsp), %rsi                 # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp48:
# %bb.55:                               # %.preheader512.preheader
                                        #   in Loop: Header=BB2_49 Depth=2
	movl	$1, %r12d
.LBB2_56:                               # %.preheader512
                                        #   Parent Loop BB2_40 Depth=1
                                        #     Parent Loop BB2_49 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r12d, %xmm0
	mulss	.LCPI2_0(%rip), %xmm0
	addss	.LCPI2_1(%rip), %xmm0
	movss	%xmm0, 4(%rsp)                  # 4-byte Spill
	mulss	.LCPI2_2(%rip), %xmm0
	.cfi_escape 0x2e, 0x00
	callq	cosf
	mulss	.LCPI2_4(%rip), %xmm0
	movss	%xmm0, 48(%rsp)                 # 4-byte Spill
	movss	4(%rsp), %xmm0                  # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm0
	divss	.LCPI2_3(%rip), %xmm0
	.cfi_escape 0x2e, 0x00
	callq	expf
	movss	%xmm0, 4(%rsp)                  # 4-byte Spill
.Ltmp49:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	movl	$2, %esi
	movq	%rbp, %rdx
	movl	$4, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp50:
# %bb.57:                               #   in Loop: Header=BB2_56 Depth=3
	testl	%eax, %eax
	jne	.LBB2_59
# %bb.58:                               #   in Loop: Header=BB2_56 Depth=3
	movss	48(%rsp), %xmm0                 # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	mulss	4(%rsp), %xmm0                  # 4-byte Folded Reload
	movq	8(%rsp), %rdi
	movq	120(%rsp), %rsi
	movq	112(%rsp), %rdx
	movq	104(%rsp), %rcx
	movq	96(%rsp), %r8
.Ltmp51:
	.cfi_escape 0x2e, 0x20
	movl	%r12d, %r9d
	pushq	64(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	80(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	96(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	112(%rsp)
	.cfi_adjust_cfa_offset 8
	callq	_Z30__device_stub__wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_
	addq	$32, %rsp
	.cfi_adjust_cfa_offset -32
.Ltmp52:
.LBB2_59:                               #   in Loop: Header=BB2_56 Depth=3
	incl	%r12d
	cmpl	$400, %r12d                     # imm = 0x190
	jne	.LBB2_56
# %bb.60:                               #   in Loop: Header=BB2_49 Depth=2
.Ltmp54:
	.cfi_escape 0x2e, 0x00
	movabsq	$4294967298, %rdi               # imm = 0x100000002
	movl	$2, %esi
	movq	%rbp, %rdx
	movl	$4, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp55:
# %bb.61:                               #   in Loop: Header=BB2_49 Depth=2
	testl	%eax, %eax
	jne	.LBB2_63
# %bb.62:                               #   in Loop: Header=BB2_49 Depth=2
	movq	8(%rsp), %rdi
.Ltmp56:
	.cfi_escape 0x2e, 0x00
	callq	_Z28__device_stub__waveAtCornersPPf
.Ltmp57:
.LBB2_63:                               #   in Loop: Header=BB2_49 Depth=2
.Ltmp58:
	.cfi_escape 0x2e, 0x00
	movabsq	$98784247859, %rdi              # imm = 0x1700000033
	movl	$2, %esi
	movq	%rbp, %rdx
	movl	$4, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp59:
# %bb.64:                               #   in Loop: Header=BB2_49 Depth=2
	testl	%eax, %eax
	jne	.LBB2_66
# %bb.65:                               #   in Loop: Header=BB2_49 Depth=2
	movq	8(%rsp), %rdi
	movq	280(%rsp), %rsi
	movq	272(%rsp), %rdx
	movq	264(%rsp), %rcx
	movq	256(%rsp), %r8
	movq	248(%rsp), %r9
.Ltmp60:
	.cfi_escape 0x2e, 0x20
	pushq	16(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	232(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	248(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	264(%rsp)
	.cfi_adjust_cfa_offset 8
	callq	_Z34__device_stub__differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i
	addq	$32, %rsp
	.cfi_adjust_cfa_offset -32
.Ltmp61:
.LBB2_66:                               #   in Loop: Header=BB2_49 Depth=2
.Ltmp62:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	movl	$2, %esi
	movq	%rbp, %rdx
	movl	$4, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp63:
# %bb.67:                               #   in Loop: Header=BB2_49 Depth=2
	testl	%eax, %eax
	jne	.LBB2_69
# %bb.68:                               #   in Loop: Header=BB2_49 Depth=2
	movq	56(%rsp), %rdi
.Ltmp64:
	.cfi_escape 0x2e, 0x00
	callq	_Z19__device_stub__setZPPf
.Ltmp65:
.LBB2_69:                               # %.preheader603
                                        #   in Loop: Header=BB2_49 Depth=2
	movl	$400, %r12d                     # imm = 0x190
.LBB2_70:                               #   Parent Loop BB2_40 Depth=1
                                        #     Parent Loop BB2_49 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
.Ltmp67:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	movl	$2, %esi
	movq	%rbp, %rdx
	movl	$4, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp68:
# %bb.71:                               #   in Loop: Header=BB2_70 Depth=3
	decl	%r12d
	testl	%eax, %eax
	jne	.LBB2_73
# %bb.72:                               #   in Loop: Header=BB2_70 Depth=3
	movq	56(%rsp), %rdi
	movq	24(%rsp), %rsi
.Ltmp69:
	.cfi_escape 0x2e, 0x00
	movss	.LCPI2_5(%rip), %xmm0           # xmm0 = mem[0],zero,zero,zero
	movl	%r12d, %edx
	callq	_Z34__device_stub__waveBackpropagationPPfS_fi
.Ltmp70:
.LBB2_73:                               #   in Loop: Header=BB2_70 Depth=3
.Ltmp71:
	.cfi_escape 0x2e, 0x00
	movabsq	$4294967300, %rdi               # imm = 0x100000004
	movl	$2, %esi
	movq	%rbp, %rdx
	movl	$4, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp72:
# %bb.74:                               #   in Loop: Header=BB2_70 Depth=3
	testl	%eax, %eax
	jne	.LBB2_76
# %bb.75:                               #   in Loop: Header=BB2_70 Depth=3
	movq	56(%rsp), %rdi
	movq	248(%rsp), %rsi
	movq	240(%rsp), %rdx
	movq	232(%rsp), %rcx
	movq	224(%rsp), %r8
.Ltmp73:
	.cfi_escape 0x2e, 0x00
	movl	%r12d, %r9d
	callq	_Z49__device_stub__waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i
.Ltmp74:
.LBB2_76:                               #   in Loop: Header=BB2_70 Depth=3
	cmpl	$1, %r12d
	ja	.LBB2_70
# %bb.77:                               # %.preheader.preheader
                                        #   in Loop: Header=BB2_49 Depth=2
	xorl	%r12d, %r12d
.LBB2_78:                               # %.preheader
                                        #   Parent Loop BB2_40 Depth=1
                                        #     Parent Loop BB2_49 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
.Ltmp76:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	movl	$101, %esi
	movq	%rbp, %rdx
	movl	$4, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp77:
# %bb.79:                               #   in Loop: Header=BB2_78 Depth=3
	testl	%eax, %eax
	jne	.LBB2_81
# %bb.80:                               #   in Loop: Header=BB2_78 Depth=3
	movq	216(%rsp), %rdi
	movq	8(%rsp), %rsi
.Ltmp78:
	.cfi_escape 0x2e, 0x00
	movl	%r12d, %edx
	callq	_Z23__device_stub__deltau_kPPfS0_i
.Ltmp79:
.LBB2_81:                               #   in Loop: Header=BB2_78 Depth=3
.Ltmp80:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	movl	$101, %esi
	movq	%rbp, %rdx
	movl	$4, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp81:
# %bb.82:                               #   in Loop: Header=BB2_78 Depth=3
	testl	%eax, %eax
	jne	.LBB2_84
# %bb.83:                               #   in Loop: Header=BB2_78 Depth=3
	movq	184(%rsp), %rdi
	movq	56(%rsp), %rsi
	movq	216(%rsp), %rdx
	movq	24(%rsp), %rcx
.Ltmp82:
	.cfi_escape 0x2e, 0x00
	movl	%r12d, %r8d
	callq	_Z19__device_stub__df_kPfPS_S0_S_i
.Ltmp83:
.LBB2_84:                               #   in Loop: Header=BB2_78 Depth=3
	incl	%r12d
	cmpl	$8, %r12d
	jne	.LBB2_78
# %bb.85:                               #   in Loop: Header=BB2_49 Depth=2
	movq	16(%rsp), %rdx                  # 8-byte Reload
	incq	%rdx
	movq	208(%rsp), %rax                 # 8-byte Reload
	addl	148(%rsp), %eax                 # 4-byte Folded Reload
	movq	%rdx, %rcx
	movq	%rdx, 16(%rsp)                  # 8-byte Spill
	cmpq	328(%rsp), %rdx                 # 8-byte Folded Reload
	jne	.LBB2_49
# %bb.86:                               #   in Loop: Header=BB2_40 Depth=1
	movl	144(%rsp), %ebp                 # 4-byte Reload
	jmp	.LBB2_88
.LBB2_87:                               #   in Loop: Header=BB2_40 Depth=1
	xorl	%ebp, %ebp
.LBB2_88:                               # %._crit_edge543
                                        #   in Loop: Header=BB2_40 Depth=1
.Ltmp85:
	.cfi_escape 0x2e, 0x00
	movabsq	$55834574861, %rdi              # imm = 0xD0000000D
	movl	$1, %esi
	movabsq	$68719476752, %rdx              # imm = 0x1000000010
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
.Ltmp86:
# %bb.89:                               #   in Loop: Header=BB2_40 Depth=1
	testl	%eax, %eax
	jne	.LBB2_91
# %bb.90:                               #   in Loop: Header=BB2_40 Depth=1
	movq	24(%rsp), %rdi
	movq	336(%rsp), %rsi
	movq	184(%rsp), %rdx
.Ltmp87:
	.cfi_escape 0x2e, 0x00
	callq	_Z18__device_stub__f_kPfS_S_
.Ltmp88:
.LBB2_91:                               #   in Loop: Header=BB2_40 Depth=1
	movq	24(%rsp), %rsi
.Ltmp89:
	.cfi_escape 0x2e, 0x00
	movl	$161604, %edx                   # imm = 0x27744
	movq	192(%rsp), %rdi                 # 8-byte Reload
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp90:
# %bb.92:                               #   in Loop: Header=BB2_40 Depth=1
	movq	128(%rsp), %rsi
.Ltmp91:
	.cfi_escape 0x2e, 0x00
	movl	$161604, %edx                   # imm = 0x27744
	movq	40(%rsp), %rdi                  # 8-byte Reload
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp92:
# %bb.93:                               # %.preheader514.preheader
                                        #   in Loop: Header=BB2_40 Depth=1
	xorps	%xmm0, %xmm0
	movq	192(%rsp), %rax                 # 8-byte Reload
	movq	40(%rsp), %rcx                  # 8-byte Reload
	xorl	%edx, %edx
.LBB2_94:                               # %.preheader514
                                        #   Parent Loop BB2_40 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB2_95 Depth 3
	xorl	%esi, %esi
.LBB2_95:                               # %.lr.ph.i
                                        #   Parent Loop BB2_40 Depth=1
                                        #     Parent Loop BB2_94 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movss	(%rax,%rsi,4), %xmm1            # xmm1 = mem[0],zero,zero,zero
	subss	(%rcx,%rsi,4), %xmm1
	mulss	%xmm1, %xmm1
	addss	%xmm1, %xmm0
	incq	%rsi
	cmpq	$201, %rsi
	jne	.LBB2_95
# %bb.96:                               # %._crit_edge.i
                                        #   in Loop: Header=BB2_94 Depth=2
	incq	%rdx
	movl	$804, %esi                      # imm = 0x324
	addq	%rsi, %rcx
	addq	%rsi, %rax
	cmpq	$201, %rdx
	jne	.LBB2_94
# %bb.97:                               # %_Z4normPfS_ii.exit
                                        #   in Loop: Header=BB2_40 Depth=1
	ucomiss	.LCPI2_8(%rip), %xmm0
	jb	.LBB2_99
# %bb.98:                               #   in Loop: Header=BB2_40 Depth=1
	sqrtss	%xmm0, %xmm2
	jmp	.LBB2_100
.LBB2_99:                               # %call.sqrt
                                        #   in Loop: Header=BB2_40 Depth=1
	.cfi_escape 0x2e, 0x00
	callq	sqrtf
	movaps	%xmm0, %xmm2
.LBB2_100:                              # %_Z4normPfS_ii.exit.split
                                        #   in Loop: Header=BB2_40 Depth=1
	xorps	%xmm0, %xmm0
	movq	40(%rsp), %rax                  # 8-byte Reload
	xorl	%ecx, %ecx
.LBB2_101:                              #   Parent Loop BB2_40 Depth=1
                                        # =>  This Loop Header: Depth=2
                                        #       Child Loop BB2_102 Depth 3
	xorl	%edx, %edx
.LBB2_102:                              # %.lr.ph.i416
                                        #   Parent Loop BB2_40 Depth=1
                                        #     Parent Loop BB2_101 Depth=2
                                        # =>    This Inner Loop Header: Depth=3
	movss	(%rax,%rdx,4), %xmm1            # xmm1 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm1
	addss	%xmm1, %xmm0
	incq	%rdx
	cmpq	$201, %rdx
	jne	.LBB2_102
# %bb.103:                              # %._crit_edge.i420
                                        #   in Loop: Header=BB2_101 Depth=2
	incq	%rcx
	addq	$804, %rax                      # imm = 0x324
	cmpq	$201, %rcx
	jne	.LBB2_101
# %bb.104:                              # %_Z4normPfii.exit
                                        #   in Loop: Header=BB2_40 Depth=1
	ucomiss	.LCPI2_8(%rip), %xmm0
	jb	.LBB2_106
# %bb.105:                              #   in Loop: Header=BB2_40 Depth=1
	sqrtss	%xmm0, %xmm0
	jmp	.LBB2_107
.LBB2_106:                              # %call.sqrt655
                                        #   in Loop: Header=BB2_40 Depth=1
	.cfi_escape 0x2e, 0x00
	movss	%xmm2, 4(%rsp)                  # 4-byte Spill
	callq	sqrtf
	movss	4(%rsp), %xmm2                  # 4-byte Reload
                                        # xmm2 = mem[0],zero,zero,zero
.LBB2_107:                              # %_Z4normPfii.exit.split
                                        #   in Loop: Header=BB2_40 Depth=1
	divss	%xmm0, %xmm2
	mulss	.LCPI2_6(%rip), %xmm2
	movss	%xmm2, 4(%rsp)                  # 4-byte Spill
	xorps	%xmm0, %xmm0
	cvtss2sd	%xmm2, %xmm0
	movsd	%xmm0, 48(%rsp)                 # 8-byte Spill
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.11, %edi
	movl	%ebp, %esi
	movb	$1, %al
	callq	printf
	.cfi_escape 0x2e, 0x00
	callq	clock
	subq	344(%rsp), %rax                 # 8-byte Folded Reload
	xorps	%xmm0, %xmm0
	cvtsi2ss	%rax, %xmm0
	divss	.LCPI2_7(%rip), %xmm0
	movss	%xmm0, 16(%rsp)                 # 4-byte Spill
.Ltmp94:
	.cfi_escape 0x2e, 0x00
	leaq	1336(%rsp), %rdi
	movsd	48(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp95:
# %bb.108:                              # %_ZNSolsEf.exit
                                        #   in Loop: Header=BB2_40 Depth=1
.Ltmp96:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.12, %esi
	movl	$1, %edx
	leaq	1336(%rsp), %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp97:
# %bb.109:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit
                                        #   in Loop: Header=BB2_40 Depth=1
	xorps	%xmm0, %xmm0
	cvtss2sd	16(%rsp), %xmm0                 # 4-byte Folded Reload
.Ltmp98:
	.cfi_escape 0x2e, 0x00
	leaq	824(%rsp), %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp99:
# %bb.110:                              # %_ZNSolsEf.exit421
                                        #   in Loop: Header=BB2_40 Depth=1
.Ltmp100:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.12, %esi
	movl	$1, %edx
	leaq	824(%rsp), %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp101:
# %bb.111:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit422
                                        #   in Loop: Header=BB2_40 Depth=1
	movss	324(%rsp), %xmm0                # 4-byte Reload
                                        # xmm0 = mem[0],zero,zero,zero
	ucomiss	4(%rsp), %xmm0                  # 4-byte Folded Reload
	movl	36(%rsp), %esi                  # 4-byte Reload
	jae	.LBB2_113
# %bb.112:                              # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit422
                                        #   in Loop: Header=BB2_40 Depth=1
	incl	%esi
	cmpl	140(%rsp), %esi                 # 4-byte Folded Reload
	jne	.LBB2_40
.LBB2_113:                              # %._crit_edge546
	movq	128(%rsp), %rsi
.Ltmp103:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.13, %edi
	movl	$201, %edx
	movl	$201, %ecx
	callq	_Z4savePKcPfii
.Ltmp104:
	movq	160(%rsp), %rbx                 # 8-byte Reload
	movq	168(%rsp), %r14                 # 8-byte Reload
	movq	176(%rsp), %r15                 # 8-byte Reload
	movq	200(%rsp), %r12                 # 8-byte Reload
# %bb.114:
	movq	24(%rsp), %rsi
.Ltmp105:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.14, %edi
	movl	$201, %edx
	movl	$201, %ecx
	callq	_Z4savePKcPfii
.Ltmp106:
# %bb.115:
	movq	312(%rsp), %rdi
.Ltmp107:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp108:
# %bb.116:
	movq	304(%rsp), %rdi
.Ltmp109:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp110:
# %bb.117:
	movq	128(%rsp), %rdi
.Ltmp111:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp112:
# %bb.118:
	movq	296(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB2_120
# %bb.119:
	.cfi_escape 0x2e, 0x00
	callq	_ZdaPv
.LBB2_120:
	movq	288(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB2_122
# %bb.121:
	.cfi_escape 0x2e, 0x00
	callq	_ZdaPv
.LBB2_122:
	movq	120(%rsp), %rdi
.Ltmp113:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp114:
# %bb.123:
	movq	112(%rsp), %rdi
.Ltmp115:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp116:
# %bb.124:
	movq	104(%rsp), %rdi
.Ltmp117:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp118:
# %bb.125:
	movq	96(%rsp), %rdi
.Ltmp119:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp120:
# %bb.126:
	movq	8(%rsp), %rdi
.Ltmp121:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp122:
# %bb.127:
	movq	280(%rsp), %rdi
.Ltmp123:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp124:
# %bb.128:
	movq	272(%rsp), %rdi
.Ltmp125:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp126:
# %bb.129:
	movq	264(%rsp), %rdi
.Ltmp127:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp128:
# %bb.130:
	movq	256(%rsp), %rdi
.Ltmp129:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp130:
# %bb.131:
	movq	24(%rsp), %rdi
.Ltmp131:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp132:
# %bb.132:
	movq	248(%rsp), %rdi
.Ltmp133:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp134:
# %bb.133:
	movq	240(%rsp), %rdi
.Ltmp135:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp136:
# %bb.134:
	movq	232(%rsp), %rdi
.Ltmp137:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp138:
# %bb.135:
	movq	224(%rsp), %rdi
.Ltmp139:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp140:
# %bb.136:
	movq	56(%rsp), %rdi
.Ltmp141:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp142:
# %bb.137:
	movq	216(%rsp), %rdi
.Ltmp143:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp144:
# %bb.138:
	movq	184(%rsp), %rdi
.Ltmp145:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp146:
# %bb.139:
	movq	360(%rsp), %rdi
.Ltmp147:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp148:
# %bb.140:
	movq	352(%rsp), %rdi
.Ltmp149:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp150:
# %bb.141:
	.cfi_escape 0x2e, 0x00
	movq	192(%rsp), %rdi                 # 8-byte Reload
	callq	_ZdaPv
	.cfi_escape 0x2e, 0x00
	movq	40(%rsp), %rdi                  # 8-byte Reload
	callq	_ZdaPv
	movq	8(%rsp), %rdi
.Ltmp151:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp152:
# %bb.142:
	movq	88(%rsp), %rdi
.Ltmp153:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp154:
# %bb.143:
	movq	80(%rsp), %rdi
.Ltmp155:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp156:
# %bb.144:
	movq	72(%rsp), %rdi
.Ltmp157:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp158:
# %bb.145:
	movq	64(%rsp), %rdi
.Ltmp159:
	.cfi_escape 0x2e, 0x00
	callq	hipFree
.Ltmp160:
# %bb.146:
	testq	%r12, %r12
	je	.LBB2_148
# %bb.147:
	.cfi_escape 0x2e, 0x00
	movq	%r12, %rdi
	callq	_ZdaPv
.LBB2_148:
	testq	%r15, %r15
	je	.LBB2_150
# %bb.149:
	.cfi_escape 0x2e, 0x00
	movq	%r15, %rdi
	callq	_ZdaPv
.LBB2_150:
	testq	%r14, %r14
	je	.LBB2_152
# %bb.151:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	callq	_ZdaPv
.LBB2_152:
	testq	%rbx, %rbx
	je	.LBB2_154
# %bb.153:
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rdi
	callq	_ZdaPv
.LBB2_154:
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE(%rip), %rbx
	leaq	832(%rsp), %rdi
	movq	%rbx, -8(%rdi)
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE+24(%rip), %r14
	movq	-24(%rbx), %rax
	movq	%r14, 824(%rsp,%rax)
	.cfi_escape 0x2e, 0x00
	callq	_ZNSt13basic_filebufIcSt11char_traitsIcEED2Ev
	movl	$248, %r15d
	leaq	824(%rsp), %rdi
	addq	%r15, %rdi
	.cfi_escape 0x2e, 0x00
	callq	_ZNSt8ios_baseD2Ev
	leaq	1344(%rsp), %rdi
	movq	%rbx, -8(%rdi)
	movq	-24(%rbx), %rax
	movq	%r14, 1336(%rsp,%rax)
	.cfi_escape 0x2e, 0x00
	callq	_ZNSt13basic_filebufIcSt11char_traitsIcEED2Ev
	leaq	1336(%rsp), %rdi
	addq	%r15, %rdi
	.cfi_escape 0x2e, 0x00
	callq	_ZNSt8ios_baseD2Ev
	addq	$1848, %rsp                     # imm = 0x738
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB2_155:
	.cfi_def_cfa_offset 1904
.Ltmp29:
	jmp	.LBB2_157
.LBB2_156:
.Ltmp26:
.LBB2_157:
	movq	%rax, %rbx
	jmp	.LBB2_167
.LBB2_158:
.Ltmp161:
	jmp	.LBB2_166
.LBB2_159:
.Ltmp102:
	jmp	.LBB2_166
.LBB2_160:                              # %.loopexit.split-lp.loopexit.split-lp
.Ltmp93:
	jmp	.LBB2_166
.LBB2_161:                              # %.loopexit.split-lp.loopexit
.Ltmp34:
	jmp	.LBB2_166
.LBB2_162:                              # %.loopexit
.Ltmp66:
	jmp	.LBB2_166
.LBB2_163:
.Ltmp53:
	jmp	.LBB2_166
.LBB2_164:
.Ltmp84:
	jmp	.LBB2_166
.LBB2_165:
.Ltmp75:
.LBB2_166:                              # %.loopexit.split-lp
	movq	%rax, %rbx
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE(%rip), %rax
	leaq	832(%rsp), %rdi
	movq	%rax, -8(%rdi)
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE+24(%rip), %rcx
	movq	-24(%rax), %rax
	movq	%rcx, 824(%rsp,%rax)
	.cfi_escape 0x2e, 0x00
	callq	_ZNSt13basic_filebufIcSt11char_traitsIcEED2Ev
	leaq	1072(%rsp), %rdi
	.cfi_escape 0x2e, 0x00
	callq	_ZNSt8ios_baseD2Ev
.LBB2_167:
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE(%rip), %rax
	leaq	1344(%rsp), %rdi
	movq	%rax, -8(%rdi)
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE+24(%rip), %rcx
	movq	-24(%rax), %rax
	movq	%rcx, 1336(%rsp,%rax)
	.cfi_escape 0x2e, 0x00
	callq	_ZNSt13basic_filebufIcSt11char_traitsIcEED2Ev
	leaq	1584(%rsp), %rdi
	.cfi_escape 0x2e, 0x00
	callq	_ZNSt8ios_baseD2Ev
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end2:
	.size	_Z21Ultrasonic_Tomographyifii, .Lfunc_end2-_Z21Ultrasonic_Tomographyifii
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table2:
.Lexception1:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end1-.Lcst_begin1
.Lcst_begin1:
	.uleb128 .Lfunc_begin1-.Lfunc_begin1    # >> Call Site 1 <<
	.uleb128 .Ltmp24-.Lfunc_begin1          #   Call between .Lfunc_begin1 and .Ltmp24
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp24-.Lfunc_begin1          # >> Call Site 2 <<
	.uleb128 .Ltmp25-.Ltmp24                #   Call between .Ltmp24 and .Ltmp25
	.uleb128 .Ltmp26-.Lfunc_begin1          #     jumps to .Ltmp26
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp27-.Lfunc_begin1          # >> Call Site 3 <<
	.uleb128 .Ltmp28-.Ltmp27                #   Call between .Ltmp27 and .Ltmp28
	.uleb128 .Ltmp29-.Lfunc_begin1          #     jumps to .Ltmp29
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp30-.Lfunc_begin1          # >> Call Site 4 <<
	.uleb128 .Ltmp31-.Ltmp30                #   Call between .Ltmp30 and .Ltmp31
	.uleb128 .Ltmp161-.Lfunc_begin1         #     jumps to .Ltmp161
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp32-.Lfunc_begin1          # >> Call Site 5 <<
	.uleb128 .Ltmp33-.Ltmp32                #   Call between .Ltmp32 and .Ltmp33
	.uleb128 .Ltmp34-.Lfunc_begin1          #     jumps to .Ltmp34
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp35-.Lfunc_begin1          # >> Call Site 6 <<
	.uleb128 .Ltmp40-.Ltmp35                #   Call between .Ltmp35 and .Ltmp40
	.uleb128 .Ltmp93-.Lfunc_begin1          #     jumps to .Ltmp93
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp41-.Lfunc_begin1          # >> Call Site 7 <<
	.uleb128 .Ltmp48-.Ltmp41                #   Call between .Ltmp41 and .Ltmp48
	.uleb128 .Ltmp66-.Lfunc_begin1          #     jumps to .Ltmp66
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp49-.Lfunc_begin1          # >> Call Site 8 <<
	.uleb128 .Ltmp52-.Ltmp49                #   Call between .Ltmp49 and .Ltmp52
	.uleb128 .Ltmp53-.Lfunc_begin1          #     jumps to .Ltmp53
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp54-.Lfunc_begin1          # >> Call Site 9 <<
	.uleb128 .Ltmp65-.Ltmp54                #   Call between .Ltmp54 and .Ltmp65
	.uleb128 .Ltmp66-.Lfunc_begin1          #     jumps to .Ltmp66
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp67-.Lfunc_begin1          # >> Call Site 10 <<
	.uleb128 .Ltmp74-.Ltmp67                #   Call between .Ltmp67 and .Ltmp74
	.uleb128 .Ltmp75-.Lfunc_begin1          #     jumps to .Ltmp75
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp76-.Lfunc_begin1          # >> Call Site 11 <<
	.uleb128 .Ltmp83-.Ltmp76                #   Call between .Ltmp76 and .Ltmp83
	.uleb128 .Ltmp84-.Lfunc_begin1          #     jumps to .Ltmp84
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp85-.Lfunc_begin1          # >> Call Site 12 <<
	.uleb128 .Ltmp92-.Ltmp85                #   Call between .Ltmp85 and .Ltmp92
	.uleb128 .Ltmp93-.Lfunc_begin1          #     jumps to .Ltmp93
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp94-.Lfunc_begin1          # >> Call Site 13 <<
	.uleb128 .Ltmp101-.Ltmp94               #   Call between .Ltmp94 and .Ltmp101
	.uleb128 .Ltmp102-.Lfunc_begin1         #     jumps to .Ltmp102
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp103-.Lfunc_begin1         # >> Call Site 14 <<
	.uleb128 .Ltmp160-.Ltmp103              #   Call between .Ltmp103 and .Ltmp160
	.uleb128 .Ltmp161-.Lfunc_begin1         #     jumps to .Ltmp161
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp160-.Lfunc_begin1         # >> Call Site 15 <<
	.uleb128 .Lfunc_end2-.Ltmp160           #   Call between .Ltmp160 and .Lfunc_end2
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end1:
	.p2align	2, 0x0
                                        # -- End function
	.text
	.globl	_Z8gridSizeii                   # -- Begin function _Z8gridSizeii
	.type	_Z8gridSizeii,@function
_Z8gridSizeii:                          # @_Z8gridSizeii
	.cfi_startproc
# %bb.0:
                                        # kill: def $esi killed $esi def $rsi
                                        # kill: def $edi killed $edi def $rdi
	leal	(%rdi,%rsi), %eax
	decl	%eax
	cltd
	idivl	%edi
	retq
.Lfunc_end3:
	.size	_Z8gridSizeii, .Lfunc_end3-_Z8gridSizeii
	.cfi_endproc
                                        # -- End function
	.globl	_Z24__device_stub__gridSetupPfS_ # -- Begin function _Z24__device_stub__gridSetupPfS_
	.type	_Z24__device_stub__gridSetupPfS_,@function
_Z24__device_stub__gridSetupPfS_:       # @_Z24__device_stub__gridSetupPfS_
	.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	$_Z9gridSetupPfS_, %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_end4:
	.size	_Z24__device_stub__gridSetupPfS_, .Lfunc_end4-_Z24__device_stub__gridSetupPfS_
	.cfi_endproc
                                        # -- End function
	.globl	_Z27__device_stub__imagingFieldPfS_S_ # -- Begin function _Z27__device_stub__imagingFieldPfS_S_
	.type	_Z27__device_stub__imagingFieldPfS_S_,@function
_Z27__device_stub__imagingFieldPfS_S_:  # @_Z27__device_stub__imagingFieldPfS_S_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	24(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	16(%rsp), %r12
	leaq	8(%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	$_Z12imagingFieldPfS_S_, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end5:
	.size	_Z27__device_stub__imagingFieldPfS_S_, .Lfunc_end5-_Z27__device_stub__imagingFieldPfS_S_
	.cfi_endproc
                                        # -- End function
	.globl	_Z19transducersPositionRPiS0_i  # -- Begin function _Z19transducersPositionRPiS0_i
	.type	_Z19transducersPositionRPiS0_i,@function
_Z19transducersPositionRPiS0_i:         # @_Z19transducersPositionRPiS0_i
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movslq	%edx, %r15
	shlq	$2, %r15
	movq	%r15, %rdi
	callq	malloc
	movq	%rax, (%r14)
	movq	%r15, %rdi
	callq	malloc
	movq	%rax, (%rbx)
	movq	(%r14), %rcx
	xorl	%edx, %edx
.LBB6_1:                                # =>This Inner Loop Header: Depth=1
	leal	21(%rdx), %esi
	movl	%esi, (%rcx,%rdx,4)
	movl	$180, (%rax,%rdx,4)
	leaq	1(%rdx), %rsi
	movq	%rsi, %rdx
	cmpq	$160, %rsi
	jne	.LBB6_1
# %bb.2:                                # %.preheader32.preheader
	movl	$179, %edx
	xorl	%esi, %esi
.LBB6_3:                                # %.preheader32
                                        # =>This Inner Loop Header: Depth=1
	movl	$180, 640(%rcx,%rsi,4)
	movl	%edx, 640(%rax,%rsi,4)
	decl	%edx
	incq	%rsi
	cmpq	$160, %rsi
	jne	.LBB6_3
# %bb.4:                                # %.preheader31.preheader
	movl	$179, %edx
	xorl	%esi, %esi
.LBB6_5:                                # %.preheader31
                                        # =>This Inner Loop Header: Depth=1
	movl	%edx, 1280(%rcx,%rsi,4)
	movl	$20, 1280(%rax,%rsi,4)
	decl	%edx
	incq	%rsi
	cmpq	$160, %rsi
	jne	.LBB6_5
# %bb.6:                                # %.preheader.preheader
	xorl	%edx, %edx
.LBB6_7:                                # %.preheader
                                        # =>This Inner Loop Header: Depth=1
	movl	$20, 1920(%rcx,%rdx,4)
	leal	21(%rdx), %esi
	movl	%esi, 1920(%rax,%rdx,4)
	incq	%rdx
	cmpq	$160, %rdx
	jne	.LBB6_7
# %bb.8:
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end6:
	.size	_Z19transducersPositionRPiS0_i, .Lfunc_end6-_Z19transducersPositionRPiS0_i
	.cfi_endproc
                                        # -- End function
	.globl	_Z43__device_stub__setSensorActivationVariablesPfS_S_S_S_ # -- Begin function _Z43__device_stub__setSensorActivationVariablesPfS_S_S_S_
	.type	_Z43__device_stub__setSensorActivationVariablesPfS_S_S_S_,@function
_Z43__device_stub__setSensorActivationVariablesPfS_S_S_S_: # @_Z43__device_stub__setSensorActivationVariablesPfS_S_S_S_
	.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	$144, %rsp
	.cfi_def_cfa_offset 192
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	56(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	48(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	40(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	32(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	24(%rsp), %rcx
	movq	%r8, (%rcx)
	leaq	96(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	leaq	80(%rsp), %r14
	leaq	64(%rsp), %r15
	leaq	16(%rsp), %r12
	leaq	8(%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	$_Z28setSensorActivationVariablesPfS_S_S_S_, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$160, %rsp
	.cfi_adjust_cfa_offset -160
	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	_Z43__device_stub__setSensorActivationVariablesPfS_S_S_S_, .Lfunc_end7-_Z43__device_stub__setSensorActivationVariablesPfS_S_S_S_
	.cfi_endproc
                                        # -- End function
	.globl	_Z30__device_stub__wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_ # -- Begin function _Z30__device_stub__wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_
	.type	_Z30__device_stub__wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_,@function
_Z30__device_stub__wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_: # @_Z30__device_stub__wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_
	.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	$192, %rsp
	.cfi_def_cfa_offset 240
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	56(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	48(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	40(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	32(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	24(%rsp), %rcx
	movq	%r8, (%rcx)
	leaq	4(%rsp), %r8
	movss	%xmm0, (%r8)
	movq	%rsp, %r10
	movl	%r9d, (%r10)
	leaq	96(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	movq	%r8, 40(%rbx)
	movq	%r10, 48(%rbx)
	leaq	240(%rsp), %rax
	movq	%rax, 56(%rbx)
	leaq	248(%rsp), %rax
	movq	%rax, 64(%rbx)
	leaq	256(%rsp), %rax
	movq	%rax, 72(%rbx)
	leaq	264(%rsp), %rax
	movq	%rax, 80(%rbx)
	leaq	80(%rsp), %r14
	leaq	64(%rsp), %r15
	leaq	16(%rsp), %r12
	leaq	8(%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	$_Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$208, %rsp
	.cfi_adjust_cfa_offset -208
	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_end8:
	.size	_Z30__device_stub__wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_, .Lfunc_end8-_Z30__device_stub__wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_
	.cfi_endproc
                                        # -- End function
	.globl	_Z28__device_stub__waveAtCornersPPf # -- Begin function _Z28__device_stub__waveAtCornersPPf
	.type	_Z28__device_stub__waveAtCornersPPf,@function
_Z28__device_stub__waveAtCornersPPf:    # @_Z28__device_stub__waveAtCornersPPf
	.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	$64, %rsp
	.cfi_def_cfa_offset 112
	.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)
	movq	%rsp, %rbx
	movq	%rax, (%rbx)
	leaq	48(%rsp), %r14
	leaq	32(%rsp), %r15
	leaq	16(%rsp), %r12
	leaq	8(%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	$_Z13waveAtCornersPPf, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$80, %rsp
	.cfi_adjust_cfa_offset -80
	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_end9:
	.size	_Z28__device_stub__waveAtCornersPPf, .Lfunc_end9-_Z28__device_stub__waveAtCornersPPf
	.cfi_endproc
                                        # -- End function
	.globl	_Z28__device_stub__waveAtSensorsPPfS_S_S_S_i # -- Begin function _Z28__device_stub__waveAtSensorsPPfS_S_S_S_i
	.type	_Z28__device_stub__waveAtSensorsPPfS_S_S_S_i,@function
_Z28__device_stub__waveAtSensorsPPfS_S_S_S_i: # @_Z28__device_stub__waveAtSensorsPPfS_S_S_S_i
	.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	$144, %rsp
	.cfi_def_cfa_offset 192
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	56(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	48(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	40(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	32(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	24(%rsp), %rcx
	movq	%r8, (%rcx)
	leaq	4(%rsp), %r8
	movl	%r9d, (%r8)
	leaq	96(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	movq	%r8, 40(%rbx)
	leaq	80(%rsp), %r14
	leaq	64(%rsp), %r15
	leaq	16(%rsp), %r12
	leaq	8(%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	$_Z13waveAtSensorsPPfS_S_S_S_i, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$160, %rsp
	.cfi_adjust_cfa_offset -160
	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_end10:
	.size	_Z28__device_stub__waveAtSensorsPPfS_S_S_S_i, .Lfunc_end10-_Z28__device_stub__waveAtSensorsPPfS_S_S_S_i
	.cfi_endproc
                                        # -- End function
	.globl	_Z23__device_stub__setAlphaPf   # -- Begin function _Z23__device_stub__setAlphaPf
	.type	_Z23__device_stub__setAlphaPf,@function
_Z23__device_stub__setAlphaPf:          # @_Z23__device_stub__setAlphaPf
	.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	$64, %rsp
	.cfi_def_cfa_offset 112
	.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)
	movq	%rsp, %rbx
	movq	%rax, (%rbx)
	leaq	48(%rsp), %r14
	leaq	32(%rsp), %r15
	leaq	16(%rsp), %r12
	leaq	8(%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	$_Z8setAlphaPf, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$80, %rsp
	.cfi_adjust_cfa_offset -80
	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_end11:
	.size	_Z23__device_stub__setAlphaPf, .Lfunc_end11-_Z23__device_stub__setAlphaPf
	.cfi_endproc
                                        # -- End function
	.globl	_Z34__device_stub__differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i # -- Begin function _Z34__device_stub__differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i
	.type	_Z34__device_stub__differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i,@function
_Z34__device_stub__differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i: # @_Z34__device_stub__differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i
	.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
	leaq	56(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	48(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	40(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	32(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	24(%rsp), %rcx
	movq	%r8, (%rcx)
	leaq	16(%rsp), %r8
	movq	%r9, (%r8)
	leaq	96(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	movq	%r8, 40(%rbx)
	leaq	224(%rsp), %rax
	movq	%rax, 48(%rbx)
	leaq	232(%rsp), %rax
	movq	%rax, 56(%rbx)
	leaq	240(%rsp), %rax
	movq	%rax, 64(%rbx)
	leaq	248(%rsp), %rax
	movq	%rax, 72(%rbx)
	leaq	80(%rsp), %r14
	leaq	64(%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	$_Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$192, %rsp
	.cfi_adjust_cfa_offset -192
	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_end12:
	.size	_Z34__device_stub__differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i, .Lfunc_end12-_Z34__device_stub__differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i
	.cfi_endproc
                                        # -- End function
	.globl	_Z19__device_stub__setZPPf      # -- Begin function _Z19__device_stub__setZPPf
	.type	_Z19__device_stub__setZPPf,@function
_Z19__device_stub__setZPPf:             # @_Z19__device_stub__setZPPf
	.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	$64, %rsp
	.cfi_def_cfa_offset 112
	.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)
	movq	%rsp, %rbx
	movq	%rax, (%rbx)
	leaq	48(%rsp), %r14
	leaq	32(%rsp), %r15
	leaq	16(%rsp), %r12
	leaq	8(%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	$_Z4setZPPf, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$80, %rsp
	.cfi_adjust_cfa_offset -80
	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_end13:
	.size	_Z19__device_stub__setZPPf, .Lfunc_end13-_Z19__device_stub__setZPPf
	.cfi_endproc
                                        # -- End function
	.globl	_Z34__device_stub__waveBackpropagationPPfS_fi # -- Begin function _Z34__device_stub__waveBackpropagationPPfS_fi
	.type	_Z34__device_stub__waveBackpropagationPPfS_fi,@function
_Z34__device_stub__waveBackpropagationPPfS_fi: # @_Z34__device_stub__waveBackpropagationPPfS_fi
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	12(%rsp), %rsi
	movss	%xmm0, (%rsi)
	leaq	8(%rsp), %rdi
	movl	%edx, (%rdi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdi, 24(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%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	$_Z19waveBackpropagationPPfS_fi, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end14:
	.size	_Z34__device_stub__waveBackpropagationPPfS_fi, .Lfunc_end14-_Z34__device_stub__waveBackpropagationPPfS_fi
	.cfi_endproc
                                        # -- End function
	.globl	_Z49__device_stub__waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i # -- Begin function _Z49__device_stub__waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i
	.type	_Z49__device_stub__waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i,@function
_Z49__device_stub__waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i: # @_Z49__device_stub__waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i
	.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	$144, %rsp
	.cfi_def_cfa_offset 192
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	56(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	48(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	40(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	32(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	24(%rsp), %rcx
	movq	%r8, (%rcx)
	leaq	4(%rsp), %r8
	movl	%r9d, (%r8)
	leaq	96(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	movq	%r8, 40(%rbx)
	leaq	80(%rsp), %r14
	leaq	64(%rsp), %r15
	leaq	16(%rsp), %r12
	leaq	8(%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	$_Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$160, %rsp
	.cfi_adjust_cfa_offset -160
	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_end15:
	.size	_Z49__device_stub__waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i, .Lfunc_end15-_Z49__device_stub__waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i
	.cfi_endproc
                                        # -- End function
	.globl	_Z23__device_stub__deltau_kPPfS0_i # -- Begin function _Z23__device_stub__deltau_kPPfS0_i
	.type	_Z23__device_stub__deltau_kPPfS0_i,@function
_Z23__device_stub__deltau_kPPfS0_i:     # @_Z23__device_stub__deltau_kPPfS0_i
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	12(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%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	$_Z8deltau_kPPfS0_i, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end16:
	.size	_Z23__device_stub__deltau_kPPfS0_i, .Lfunc_end16-_Z23__device_stub__deltau_kPPfS0_i
	.cfi_endproc
                                        # -- End function
	.globl	_Z19__device_stub__df_kPfPS_S0_S_i # -- Begin function _Z19__device_stub__df_kPfPS_S0_S_i
	.type	_Z19__device_stub__df_kPfPS_S0_S_i,@function
_Z19__device_stub__df_kPfPS_S0_S_i:     # @_Z19__device_stub__df_kPfPS_S0_S_i
	.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	$144, %rsp
	.cfi_def_cfa_offset 192
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	56(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	48(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	40(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	32(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	12(%rsp), %rcx
	movl	%r8d, (%rcx)
	leaq	96(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	leaq	80(%rsp), %r14
	leaq	64(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%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	$_Z4df_kPfPS_S0_S_i, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$160, %rsp
	.cfi_adjust_cfa_offset -160
	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_end17:
	.size	_Z19__device_stub__df_kPfPS_S0_S_i, .Lfunc_end17-_Z19__device_stub__df_kPfPS_S0_S_i
	.cfi_endproc
                                        # -- End function
	.globl	_Z18__device_stub__f_kPfS_S_    # -- Begin function _Z18__device_stub__f_kPfS_S_
	.type	_Z18__device_stub__f_kPfS_S_,@function
_Z18__device_stub__f_kPfS_S_:           # @_Z18__device_stub__f_kPfS_S_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	24(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	16(%rsp), %r12
	leaq	8(%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	$_Z3f_kPfS_S_, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end18:
	.size	_Z18__device_stub__f_kPfS_S_, .Lfunc_end18-_Z18__device_stub__f_kPfS_S_
	.cfi_endproc
                                        # -- End function
	.globl	_Z4normPfS_ii                   # -- Begin function _Z4normPfS_ii
	.type	_Z4normPfS_ii,@function
_Z4normPfS_ii:                          # @_Z4normPfS_ii
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset %rbx, -16
	xorps	%xmm1, %xmm1
	xorps	%xmm0, %xmm0
	testl	%ecx, %ecx
	jle	.LBB19_6
# %bb.1:                                # %.lr.ph24
	movl	%ecx, %eax
	movl	%edx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
.LBB19_2:                               # =>This Loop Header: Depth=1
                                        #     Child Loop BB19_4 Depth 2
	testl	%edx, %edx
	jle	.LBB19_5
# %bb.3:                                # %.lr.ph.preheader
                                        #   in Loop: Header=BB19_2 Depth=1
	movl	%r8d, %r11d
	leaq	(%rsi,%r11,4), %r10
	leaq	(%rdi,%r11,4), %r11
	xorl	%ebx, %ebx
.LBB19_4:                               # %.lr.ph
                                        #   Parent Loop BB19_2 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movss	(%r11,%rbx,4), %xmm2            # xmm2 = mem[0],zero,zero,zero
	subss	(%r10,%rbx,4), %xmm2
	mulss	%xmm2, %xmm2
	addss	%xmm2, %xmm0
	incq	%rbx
	cmpq	%rbx, %rcx
	jne	.LBB19_4
.LBB19_5:                               # %._crit_edge
                                        #   in Loop: Header=BB19_2 Depth=1
	incq	%r9
	addl	%edx, %r8d
	cmpq	%rax, %r9
	jne	.LBB19_2
.LBB19_6:                               # %._crit_edge25
	ucomiss	%xmm1, %xmm0
	jb	.LBB19_8
# %bb.7:                                # %._crit_edge25.split
	sqrtss	%xmm0, %xmm0
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.LBB19_8:                               # %call.sqrt
	.cfi_def_cfa_offset 16
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	sqrtf                           # TAILCALL
.Lfunc_end19:
	.size	_Z4normPfS_ii, .Lfunc_end19-_Z4normPfS_ii
	.cfi_endproc
                                        # -- End function
	.globl	_Z4normPfii                     # -- Begin function _Z4normPfii
	.type	_Z4normPfii,@function
_Z4normPfii:                            # @_Z4normPfii
	.cfi_startproc
# %bb.0:
	xorps	%xmm1, %xmm1
	xorps	%xmm0, %xmm0
	testl	%edx, %edx
	jle	.LBB20_6
# %bb.1:                                # %.lr.ph22
	movl	%edx, %eax
	movl	%esi, %ecx
	xorl	%edx, %edx
	xorl	%r8d, %r8d
.LBB20_2:                               # =>This Loop Header: Depth=1
                                        #     Child Loop BB20_4 Depth 2
	testl	%esi, %esi
	jle	.LBB20_5
# %bb.3:                                # %.lr.ph.preheader
                                        #   in Loop: Header=BB20_2 Depth=1
	movl	%edx, %r9d
	leaq	(%rdi,%r9,4), %r9
	xorl	%r10d, %r10d
.LBB20_4:                               # %.lr.ph
                                        #   Parent Loop BB20_2 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movss	(%r9,%r10,4), %xmm2             # xmm2 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm2
	addss	%xmm2, %xmm0
	incq	%r10
	cmpq	%r10, %rcx
	jne	.LBB20_4
.LBB20_5:                               # %._crit_edge
                                        #   in Loop: Header=BB20_2 Depth=1
	incq	%r8
	addl	%esi, %edx
	cmpq	%rax, %r8
	jne	.LBB20_2
.LBB20_6:                               # %._crit_edge23
	ucomiss	%xmm1, %xmm0
	jb	sqrtf                           # TAILCALL
# %bb.7:                                # %._crit_edge23.split
	sqrtss	%xmm0, %xmm0
	retq
.Lfunc_end20:
	.size	_Z4normPfii, .Lfunc_end20-_Z4normPfii
	.cfi_endproc
                                        # -- End function
	.globl	_Z4savePKcPfii                  # -- Begin function _Z4savePKcPfii
	.type	_Z4savePKcPfii,@function
_Z4savePKcPfii:                         # @_Z4savePKcPfii
.Lfunc_begin2:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception2
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$536, %rsp                      # imm = 0x218
	.cfi_def_cfa_offset 592
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movl	%ecx, %ebp
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	24(%rsp), %r12
	movq	%r12, %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev
.Ltmp162:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$16, %edx
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode
.Ltmp163:
# %bb.1:
	movl	%ebp, %eax
	imull	%ebx, %eax
	cltq
	leaq	(,%rax,4), %r12
	testl	%eax, %eax
	movq	$-1, %rdi
	cmovnsq	%r12, %rdi
.Ltmp165:
	callq	_Znam
.Ltmp166:
# %bb.2:
.Ltmp167:
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp168:
# %bb.3:                                # %.preheader
	movq	%r14, 8(%rsp)                   # 8-byte Spill
	testl	%ebp, %ebp
	jle	.LBB21_12
# %bb.4:                                # %.lr.ph31
	movl	%ebp, %eax
	movq	%rax, 16(%rsp)                  # 8-byte Spill
	movl	%ebx, %r13d
	xorl	%ebp, %ebp
	leaq	24(%rsp), %r15
	xorl	%r14d, %r14d
	movl	%ebx, 4(%rsp)                   # 4-byte Spill
.LBB21_5:                               # =>This Loop Header: Depth=1
                                        #     Child Loop BB21_7 Depth 2
	testl	%ebx, %ebx
	jle	.LBB21_10
# %bb.6:                                # %.lr.ph.preheader
                                        #   in Loop: Header=BB21_5 Depth=1
	movl	%ebp, %eax
	movq	8(%rsp), %rcx                   # 8-byte Reload
	leaq	(%rcx,%rax,4), %r12
	xorl	%ebx, %ebx
.LBB21_7:                               # %.lr.ph
                                        #   Parent Loop BB21_5 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	xorps	%xmm0, %xmm0
	cvtss2sd	(%r12,%rbx,4), %xmm0
.Ltmp169:
	movq	%r15, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp170:
# %bb.8:                                # %_ZNSolsEf.exit
                                        #   in Loop: Header=BB21_7 Depth=2
.Ltmp171:
	movl	$.L.str.12, %esi
	movl	$1, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp172:
# %bb.9:                                # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit28
                                        #   in Loop: Header=BB21_7 Depth=2
	incq	%rbx
	cmpq	%rbx, %r13
	jne	.LBB21_7
.LBB21_10:                              # %._crit_edge
                                        #   in Loop: Header=BB21_5 Depth=1
.Ltmp174:
	movl	$.L.str.15, %esi
	movl	$1, %edx
	movq	%r15, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp175:
# %bb.11:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit
                                        #   in Loop: Header=BB21_5 Depth=1
	incq	%r14
	movl	4(%rsp), %ebx                   # 4-byte Reload
	addl	%ebx, %ebp
	cmpq	16(%rsp), %r14                  # 8-byte Folded Reload
	jne	.LBB21_5
.LBB21_12:                              # %._crit_edge32
.Ltmp177:
	leaq	24(%rsp), %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv
.Ltmp178:
	movq	8(%rsp), %rdi                   # 8-byte Reload
# %bb.13:
	callq	_ZdlPv
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE(%rip), %rax
	leaq	32(%rsp), %rdi
	movq	%rax, -8(%rdi)
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE+24(%rip), %rcx
	movq	-24(%rax), %rax
	movq	%rcx, 24(%rsp,%rax)
	callq	_ZNSt13basic_filebufIcSt11char_traitsIcEED2Ev
	leaq	272(%rsp), %rdi
	callq	_ZNSt8ios_baseD2Ev
	addq	$536, %rsp                      # imm = 0x218
	.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
.LBB21_14:
	.cfi_def_cfa_offset 592
.Ltmp164:
	jmp	.LBB21_15
.LBB21_16:
.Ltmp179:
	jmp	.LBB21_15
.LBB21_18:
.Ltmp176:
	jmp	.LBB21_15
.LBB21_17:
.Ltmp173:
.LBB21_15:
	movq	%rax, %rbx
	leaq	24(%rsp), %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end21:
	.size	_Z4savePKcPfii, .Lfunc_end21-_Z4savePKcPfii
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table21:
.Lexception2:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end2-.Lcst_begin2
.Lcst_begin2:
	.uleb128 .Lfunc_begin2-.Lfunc_begin2    # >> Call Site 1 <<
	.uleb128 .Ltmp162-.Lfunc_begin2         #   Call between .Lfunc_begin2 and .Ltmp162
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp162-.Lfunc_begin2         # >> Call Site 2 <<
	.uleb128 .Ltmp163-.Ltmp162              #   Call between .Ltmp162 and .Ltmp163
	.uleb128 .Ltmp164-.Lfunc_begin2         #     jumps to .Ltmp164
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp165-.Lfunc_begin2         # >> Call Site 3 <<
	.uleb128 .Ltmp168-.Ltmp165              #   Call between .Ltmp165 and .Ltmp168
	.uleb128 .Ltmp179-.Lfunc_begin2         #     jumps to .Ltmp179
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp169-.Lfunc_begin2         # >> Call Site 4 <<
	.uleb128 .Ltmp172-.Ltmp169              #   Call between .Ltmp169 and .Ltmp172
	.uleb128 .Ltmp173-.Lfunc_begin2         #     jumps to .Ltmp173
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp174-.Lfunc_begin2         # >> Call Site 5 <<
	.uleb128 .Ltmp175-.Ltmp174              #   Call between .Ltmp174 and .Ltmp175
	.uleb128 .Ltmp176-.Lfunc_begin2         #     jumps to .Ltmp176
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp177-.Lfunc_begin2         # >> Call Site 6 <<
	.uleb128 .Ltmp178-.Ltmp177              #   Call between .Ltmp177 and .Ltmp178
	.uleb128 .Ltmp179-.Lfunc_begin2         #     jumps to .Ltmp179
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp178-.Lfunc_begin2         # >> Call Site 7 <<
	.uleb128 .Lfunc_end21-.Ltmp178          #   Call between .Ltmp178 and .Lfunc_end21
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end2:
	.p2align	2, 0x0
                                        # -- End function
	.text
	.globl	_Z26__device_stub__norm_f_f0_kPfS_S_ # -- Begin function _Z26__device_stub__norm_f_f0_kPfS_S_
	.type	_Z26__device_stub__norm_f_f0_kPfS_S_,@function
_Z26__device_stub__norm_f_f0_kPfS_S_:   # @_Z26__device_stub__norm_f_f0_kPfS_S_
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	32(%rsp), %rcx
	movq	%rsi, (%rcx)
	leaq	24(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	16(%rsp), %r12
	leaq	8(%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	$_Z11norm_f_f0_kPfS_S_, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end22:
	.size	_Z26__device_stub__norm_f_f0_kPfS_S_, .Lfunc_end22-_Z26__device_stub__norm_f_f0_kPfS_S_
	.cfi_endproc
                                        # -- End function
	.globl	_Z24__device_stub__norm_f0_kPfS_ # -- Begin function _Z24__device_stub__norm_f0_kPfS_
	.type	_Z24__device_stub__norm_f0_kPfS_,@function
_Z24__device_stub__norm_f0_kPfS_:       # @_Z24__device_stub__norm_f0_kPfS_
	.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	$_Z9norm_f0_kPfS_, %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_end23:
	.size	_Z24__device_stub__norm_f0_kPfS_, .Lfunc_end23-_Z24__device_stub__norm_f0_kPfS_
	.cfi_endproc
                                        # -- End function
	.globl	_Z4savePKcPii                   # -- Begin function _Z4savePKcPii
	.type	_Z4savePKcPii,@function
_Z4savePKcPii:                          # @_Z4savePKcPii
.Lfunc_begin3:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception3
# %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	$512, %rsp                      # imm = 0x200
	.cfi_def_cfa_offset 560
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movl	%edx, %ebp
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsp, %r15
	movq	%r15, %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev
.Ltmp180:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$16, %edx
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode
.Ltmp181:
# %bb.1:
	movslq	%ebp, %rax
	leaq	(,%rax,4), %r15
	testl	%eax, %eax
	movq	$-1, %rdi
	cmovnsq	%r15, %rdi
.Ltmp183:
	callq	_Znam
.Ltmp184:
# %bb.2:
.Ltmp185:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp186:
# %bb.3:                                # %.preheader
	testl	%ebp, %ebp
	jle	.LBB24_8
# %bb.4:                                # %.lr.ph.preheader
	movl	%ebp, %r15d
	xorl	%r12d, %r12d
	movq	%rsp, %r14
.LBB24_5:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movl	(%rbx,%r12,4), %esi
.Ltmp187:
	movq	%r14, %rdi
	callq	_ZNSolsEi
.Ltmp188:
# %bb.6:                                #   in Loop: Header=BB24_5 Depth=1
.Ltmp189:
	movl	$.L.str.12, %esi
	movl	$1, %edx
	movq	%r14, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp190:
# %bb.7:                                # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit
                                        #   in Loop: Header=BB24_5 Depth=1
	incq	%r12
	cmpq	%r12, %r15
	jne	.LBB24_5
.LBB24_8:                               # %._crit_edge
.Ltmp192:
	movq	%rsp, %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv
.Ltmp193:
# %bb.9:
	movq	%rbx, %rdi
	callq	_ZdlPv
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE(%rip), %rax
	leaq	8(%rsp), %rdi
	movq	%rax, -8(%rdi)
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE+24(%rip), %rcx
	movq	-24(%rax), %rax
	movq	%rcx, (%rsp,%rax)
	callq	_ZNSt13basic_filebufIcSt11char_traitsIcEED2Ev
	leaq	248(%rsp), %rdi
	callq	_ZNSt8ios_baseD2Ev
	addq	$512, %rsp                      # imm = 0x200
	.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
.LBB24_10:
	.cfi_def_cfa_offset 560
.Ltmp182:
	jmp	.LBB24_11
.LBB24_12:
.Ltmp194:
	jmp	.LBB24_11
.LBB24_13:
.Ltmp191:
.LBB24_11:
	movq	%rax, %rbx
	movq	%rsp, %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end24:
	.size	_Z4savePKcPii, .Lfunc_end24-_Z4savePKcPii
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table24:
.Lexception3:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end3-.Lcst_begin3
.Lcst_begin3:
	.uleb128 .Lfunc_begin3-.Lfunc_begin3    # >> Call Site 1 <<
	.uleb128 .Ltmp180-.Lfunc_begin3         #   Call between .Lfunc_begin3 and .Ltmp180
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp180-.Lfunc_begin3         # >> Call Site 2 <<
	.uleb128 .Ltmp181-.Ltmp180              #   Call between .Ltmp180 and .Ltmp181
	.uleb128 .Ltmp182-.Lfunc_begin3         #     jumps to .Ltmp182
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp183-.Lfunc_begin3         # >> Call Site 3 <<
	.uleb128 .Ltmp186-.Ltmp183              #   Call between .Ltmp183 and .Ltmp186
	.uleb128 .Ltmp194-.Lfunc_begin3         #     jumps to .Ltmp194
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp187-.Lfunc_begin3         # >> Call Site 4 <<
	.uleb128 .Ltmp190-.Ltmp187              #   Call between .Ltmp187 and .Ltmp190
	.uleb128 .Ltmp191-.Lfunc_begin3         #     jumps to .Ltmp191
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp192-.Lfunc_begin3         # >> Call Site 5 <<
	.uleb128 .Ltmp193-.Ltmp192              #   Call between .Ltmp192 and .Ltmp193
	.uleb128 .Ltmp194-.Lfunc_begin3         #     jumps to .Ltmp194
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp193-.Lfunc_begin3         # >> Call Site 6 <<
	.uleb128 .Lfunc_end24-.Ltmp193          #   Call between .Ltmp193 and .Lfunc_end24
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end3:
	.p2align	2, 0x0
                                        # -- End function
	.text
	.globl	_Z4savePKcPfi                   # -- Begin function _Z4savePKcPfi
	.type	_Z4savePKcPfi,@function
_Z4savePKcPfi:                          # @_Z4savePKcPfi
.Lfunc_begin4:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception4
# %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	$512, %rsp                      # imm = 0x200
	.cfi_def_cfa_offset 560
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movl	%edx, %ebp
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsp, %r15
	movq	%r15, %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev
.Ltmp195:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$16, %edx
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode
.Ltmp196:
# %bb.1:
	movslq	%ebp, %rax
	leaq	(,%rax,4), %r15
	testl	%eax, %eax
	movq	$-1, %rdi
	cmovnsq	%r15, %rdi
.Ltmp198:
	callq	_Znam
.Ltmp199:
# %bb.2:
.Ltmp200:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp201:
# %bb.3:                                # %.preheader
	testl	%ebp, %ebp
	jle	.LBB25_8
# %bb.4:                                # %.lr.ph.preheader
	movl	%ebp, %r15d
	xorl	%r12d, %r12d
	movq	%rsp, %r14
.LBB25_5:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	cvtss2sd	(%rbx,%r12,4), %xmm0
.Ltmp202:
	movq	%r14, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp203:
# %bb.6:                                # %_ZNSolsEf.exit
                                        #   in Loop: Header=BB25_5 Depth=1
.Ltmp204:
	movl	$.L.str.12, %esi
	movl	$1, %edx
	movq	%r14, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp205:
# %bb.7:                                # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit
                                        #   in Loop: Header=BB25_5 Depth=1
	incq	%r12
	cmpq	%r12, %r15
	jne	.LBB25_5
.LBB25_8:                               # %._crit_edge
.Ltmp207:
	movq	%rsp, %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv
.Ltmp208:
# %bb.9:
	movq	%rbx, %rdi
	callq	_ZdlPv
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE(%rip), %rax
	leaq	8(%rsp), %rdi
	movq	%rax, -8(%rdi)
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE+24(%rip), %rcx
	movq	-24(%rax), %rax
	movq	%rcx, (%rsp,%rax)
	callq	_ZNSt13basic_filebufIcSt11char_traitsIcEED2Ev
	leaq	248(%rsp), %rdi
	callq	_ZNSt8ios_baseD2Ev
	addq	$512, %rsp                      # imm = 0x200
	.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
.LBB25_10:
	.cfi_def_cfa_offset 560
.Ltmp197:
	jmp	.LBB25_11
.LBB25_12:
.Ltmp209:
	jmp	.LBB25_11
.LBB25_13:
.Ltmp206:
.LBB25_11:
	movq	%rax, %rbx
	movq	%rsp, %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end25:
	.size	_Z4savePKcPfi, .Lfunc_end25-_Z4savePKcPfi
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table25:
.Lexception4:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end4-.Lcst_begin4
.Lcst_begin4:
	.uleb128 .Lfunc_begin4-.Lfunc_begin4    # >> Call Site 1 <<
	.uleb128 .Ltmp195-.Lfunc_begin4         #   Call between .Lfunc_begin4 and .Ltmp195
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp195-.Lfunc_begin4         # >> Call Site 2 <<
	.uleb128 .Ltmp196-.Ltmp195              #   Call between .Ltmp195 and .Ltmp196
	.uleb128 .Ltmp197-.Lfunc_begin4         #     jumps to .Ltmp197
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp198-.Lfunc_begin4         # >> Call Site 3 <<
	.uleb128 .Ltmp201-.Ltmp198              #   Call between .Ltmp198 and .Ltmp201
	.uleb128 .Ltmp209-.Lfunc_begin4         #     jumps to .Ltmp209
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp202-.Lfunc_begin4         # >> Call Site 4 <<
	.uleb128 .Ltmp205-.Ltmp202              #   Call between .Ltmp202 and .Ltmp205
	.uleb128 .Ltmp206-.Lfunc_begin4         #     jumps to .Ltmp206
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp207-.Lfunc_begin4         # >> Call Site 5 <<
	.uleb128 .Ltmp208-.Ltmp207              #   Call between .Ltmp207 and .Ltmp208
	.uleb128 .Ltmp209-.Lfunc_begin4         #     jumps to .Ltmp209
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp208-.Lfunc_begin4         # >> Call Site 6 <<
	.uleb128 .Lfunc_end25-.Ltmp208          #   Call between .Ltmp208 and .Lfunc_end25
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end4:
	.p2align	2, 0x0
                                        # -- End function
	.text
	.globl	_Z4savePKcPfiiii                # -- Begin function _Z4savePKcPfiiii
	.type	_Z4savePKcPfiiii,@function
_Z4savePKcPfiiii:                       # @_Z4savePKcPfiiii
.Lfunc_begin5:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception5
# %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	$536, %rsp                      # imm = 0x218
	.cfi_def_cfa_offset 592
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movl	%r9d, %r14d
	movl	%r8d, %r15d
	movl	%ecx, %ebx
	movl	%edx, %ebp
	movq	%rsi, 8(%rsp)                   # 8-byte Spill
	movq	%rdi, %r13
	leaq	24(%rsp), %r12
	movq	%r12, %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev
.Ltmp210:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	$16, %edx
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode
.Ltmp211:
# %bb.1:
	movl	%ebx, %eax
	movl	%ebp, 4(%rsp)                   # 4-byte Spill
	imull	%ebp, %eax
	imull	%r15d, %eax
	cltq
	leaq	(,%rax,4), %r13
	testl	%eax, %eax
	movq	$-1, %rdi
	cmovnsq	%r13, %rdi
.Ltmp213:
	callq	_Znam
.Ltmp214:
# %bb.2:
.Ltmp215:
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	8(%rsp), %rsi                   # 8-byte Reload
	movq	%r13, %rdx
	movl	$2, %ecx
	callq	hipMemcpy
.Ltmp216:
# %bb.3:
	testl	%ebx, %ebx
	movl	4(%rsp), %eax                   # 4-byte Reload
	jle	.LBB26_8
# %bb.4:                                # %.lr.ph40
	movl	%eax, %ecx
	movq	%rcx, 8(%rsp)                   # 8-byte Spill
	imull	%ebx, %r14d
	imull	%eax, %r14d
	xorl	%ebp, %ebp
	leaq	24(%rsp), %r12
	movl	%ebx, 20(%rsp)                  # 4-byte Spill
.LBB26_5:                               # =>This Loop Header: Depth=1
                                        #     Child Loop BB26_12 Depth 2
	movq	8(%rsp), %r13                   # 8-byte Reload
	movl	%r14d, %ebx
	testl	%eax, %eax
	jle	.LBB26_6
.LBB26_12:                              #   Parent Loop BB26_5 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movslq	%ebx, %rax
	xorps	%xmm0, %xmm0
	cvtss2sd	(%r15,%rax,4), %xmm0
.Ltmp218:
	movq	%r12, %rdi
	callq	_ZNSo9_M_insertIdEERSoT_
.Ltmp219:
# %bb.13:                               # %_ZNSolsEf.exit
                                        #   in Loop: Header=BB26_12 Depth=2
.Ltmp220:
	movl	$.L.str.12, %esi
	movl	$1, %edx
	movq	%r12, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp221:
# %bb.14:                               # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit36
                                        #   in Loop: Header=BB26_12 Depth=2
	incl	%ebx
	decq	%r13
	jne	.LBB26_12
.LBB26_6:                               # %._crit_edge
                                        #   in Loop: Header=BB26_5 Depth=1
.Ltmp223:
	movl	$.L.str.15, %esi
	movl	$1, %edx
	movq	%r12, %rdi
	callq	_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
.Ltmp224:
# %bb.7:                                # %_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc.exit
                                        #   in Loop: Header=BB26_5 Depth=1
	incl	%ebp
	movl	4(%rsp), %eax                   # 4-byte Reload
	addl	%eax, %r14d
	movl	20(%rsp), %ebx                  # 4-byte Reload
	cmpl	%ebx, %ebp
	jne	.LBB26_5
.LBB26_8:                               # %._crit_edge41
.Ltmp226:
	leaq	24(%rsp), %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv
.Ltmp227:
# %bb.9:
	movq	%r15, %rdi
	callq	_ZdlPv
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE(%rip), %rax
	leaq	32(%rsp), %rdi
	movq	%rax, -8(%rdi)
	movq	_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE+24(%rip), %rcx
	movq	-24(%rax), %rax
	movq	%rcx, 24(%rsp,%rax)
	callq	_ZNSt13basic_filebufIcSt11char_traitsIcEED2Ev
	leaq	272(%rsp), %rdi
	callq	_ZNSt8ios_baseD2Ev
	addq	$536, %rsp                      # imm = 0x218
	.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
.LBB26_17:
	.cfi_def_cfa_offset 592
.Ltmp228:
	jmp	.LBB26_18
.LBB26_10:
.Ltmp212:
	jmp	.LBB26_18
.LBB26_11:
.Ltmp217:
	jmp	.LBB26_18
.LBB26_16:
.Ltmp225:
	jmp	.LBB26_18
.LBB26_15:
.Ltmp222:
.LBB26_18:
	movq	%rax, %rbx
	leaq	24(%rsp), %rdi
	callq	_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end26:
	.size	_Z4savePKcPfiiii, .Lfunc_end26-_Z4savePKcPfiiii
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table26:
.Lexception5:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end5-.Lcst_begin5
.Lcst_begin5:
	.uleb128 .Lfunc_begin5-.Lfunc_begin5    # >> Call Site 1 <<
	.uleb128 .Ltmp210-.Lfunc_begin5         #   Call between .Lfunc_begin5 and .Ltmp210
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp210-.Lfunc_begin5         # >> Call Site 2 <<
	.uleb128 .Ltmp211-.Ltmp210              #   Call between .Ltmp210 and .Ltmp211
	.uleb128 .Ltmp212-.Lfunc_begin5         #     jumps to .Ltmp212
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp213-.Lfunc_begin5         # >> Call Site 3 <<
	.uleb128 .Ltmp216-.Ltmp213              #   Call between .Ltmp213 and .Ltmp216
	.uleb128 .Ltmp217-.Lfunc_begin5         #     jumps to .Ltmp217
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp218-.Lfunc_begin5         # >> Call Site 4 <<
	.uleb128 .Ltmp221-.Ltmp218              #   Call between .Ltmp218 and .Ltmp221
	.uleb128 .Ltmp222-.Lfunc_begin5         #     jumps to .Ltmp222
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp223-.Lfunc_begin5         # >> Call Site 5 <<
	.uleb128 .Ltmp224-.Ltmp223              #   Call between .Ltmp223 and .Ltmp224
	.uleb128 .Ltmp225-.Lfunc_begin5         #     jumps to .Ltmp225
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp226-.Lfunc_begin5         # >> Call Site 6 <<
	.uleb128 .Ltmp227-.Ltmp226              #   Call between .Ltmp226 and .Ltmp227
	.uleb128 .Ltmp228-.Lfunc_begin5         #     jumps to .Ltmp228
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp227-.Lfunc_begin5         # >> Call Site 7 <<
	.uleb128 .Lfunc_end26-.Ltmp227          #   Call between .Ltmp227 and .Lfunc_end26
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end5:
	.p2align	2, 0x0
                                        # -- 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	.LBB27_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	.LBB27_3
.LBB27_1:                               # %._crit_edge
	movq	(%rbx), %rax
.LBB27_3:
	testq	%r14, %r14
	je	.LBB27_7
# %bb.4:
	cmpq	$1, %r14
	jne	.LBB27_6
# %bb.5:
	movb	(%r15), %cl
	movb	%cl, (%rax)
	jmp	.LBB27_7
.LBB27_6:
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	memcpy@PLT
.LBB27_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_end27:
	.size	_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag, .Lfunc_end27-_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:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -16
	movq	__hip_gpubin_handle(%rip), %rbx
	testq	%rbx, %rbx
	jne	.LBB28_2
# %bb.1:
	movl	$__hip_fatbin_wrapper, %edi
	callq	__hipRegisterFatBinary
	movq	%rax, %rbx
	movq	%rax, __hip_gpubin_handle(%rip)
.LBB28_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z9gridSetupPfS_, %esi
	movl	$.L__unnamed_1, %edx
	movl	$.L__unnamed_1, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z12imagingFieldPfS_S_, %esi
	movl	$.L__unnamed_2, %edx
	movl	$.L__unnamed_2, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z28setSensorActivationVariablesPfS_S_S_S_, %esi
	movl	$.L__unnamed_3, %edx
	movl	$.L__unnamed_3, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_, %esi
	movl	$.L__unnamed_4, %edx
	movl	$.L__unnamed_4, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z13waveAtCornersPPf, %esi
	movl	$.L__unnamed_5, %edx
	movl	$.L__unnamed_5, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z13waveAtSensorsPPfS_S_S_S_i, %esi
	movl	$.L__unnamed_6, %edx
	movl	$.L__unnamed_6, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z8setAlphaPf, %esi
	movl	$.L__unnamed_7, %edx
	movl	$.L__unnamed_7, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i, %esi
	movl	$.L__unnamed_8, %edx
	movl	$.L__unnamed_8, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z4setZPPf, %esi
	movl	$.L__unnamed_9, %edx
	movl	$.L__unnamed_9, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z19waveBackpropagationPPfS_fi, %esi
	movl	$.L__unnamed_10, %edx
	movl	$.L__unnamed_10, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i, %esi
	movl	$.L__unnamed_11, %edx
	movl	$.L__unnamed_11, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z8deltau_kPPfS0_i, %esi
	movl	$.L__unnamed_12, %edx
	movl	$.L__unnamed_12, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z4df_kPfPS_S0_S_i, %esi
	movl	$.L__unnamed_13, %edx
	movl	$.L__unnamed_13, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z3f_kPfS_S_, %esi
	movl	$.L__unnamed_14, %edx
	movl	$.L__unnamed_14, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z11norm_f_f0_kPfS_S_, %esi
	movl	$.L__unnamed_15, %edx
	movl	$.L__unnamed_15, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z9norm_f0_kPfS_, %esi
	movl	$.L__unnamed_16, %edx
	movl	$.L__unnamed_16, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	movl	$0, 8(%rsp)
	movl	$1, (%rsp)
	movl	$T, %esi
	movl	$.L__unnamed_17, %edx
	movl	$.L__unnamed_17, %ecx
	movl	$4, %r9d
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	callq	__hipRegisterVar
	movl	$0, 8(%rsp)
	movl	$1, (%rsp)
	movl	$dt, %esi
	movl	$.L__unnamed_18, %edx
	movl	$.L__unnamed_18, %ecx
	movl	$4, %r9d
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	callq	__hipRegisterVar
	movl	$0, 8(%rsp)
	movl	$1, (%rsp)
	movl	$dt2, %esi
	movl	$.L__unnamed_19, %edx
	movl	$.L__unnamed_19, %ecx
	movl	$4, %r9d
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	callq	__hipRegisterVar
	movl	$0, 8(%rsp)
	movl	$1, (%rsp)
	movl	$fre, %esi
	movl	$.L__unnamed_20, %edx
	movl	$.L__unnamed_20, %ecx
	movl	$4, %r9d
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	callq	__hipRegisterVar
	movl	$0, 8(%rsp)
	movl	$1, (%rsp)
	movl	$omegac, %esi
	movl	$.L__unnamed_21, %edx
	movl	$.L__unnamed_21, %ecx
	movl	$4, %r9d
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	callq	__hipRegisterVar
	movl	$0, 8(%rsp)
	movl	$1, (%rsp)
	movl	$tao, %esi
	movl	$.L__unnamed_22, %edx
	movl	$.L__unnamed_22, %ecx
	movl	$4, %r9d
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	callq	__hipRegisterVar
	movl	$0, 8(%rsp)
	movl	$1, (%rsp)
	movl	$tao2, %esi
	movl	$.L__unnamed_23, %edx
	movl	$.L__unnamed_23, %ecx
	movl	$4, %r9d
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	callq	__hipRegisterVar
	movl	$0, 8(%rsp)
	movl	$1, (%rsp)
	movl	$tt, %esi
	movl	$.L__unnamed_24, %edx
	movl	$.L__unnamed_24, %ecx
	movl	$4, %r9d
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	callq	__hipRegisterVar
	movl	$0, 8(%rsp)
	movl	$1, (%rsp)
	movl	$h2, %esi
	movl	$.L__unnamed_25, %edx
	movl	$.L__unnamed_25, %ecx
	movl	$4, %r9d
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	callq	__hipRegisterVar
	movl	$0, 8(%rsp)
	movl	$1, (%rsp)
	movl	$Nx_Ny, %esi
	movl	$.L__unnamed_26, %edx
	movl	$.L__unnamed_26, %ecx
	movl	$4, %r9d
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	callq	__hipRegisterVar
	movl	$0, 8(%rsp)
	movl	$1, (%rsp)
	movl	$Nx_Ny_Nt, %esi
	movl	$.L__unnamed_27, %edx
	movl	$.L__unnamed_27, %ecx
	movl	$4, %r9d
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	callq	__hipRegisterVar
	movl	$0, 8(%rsp)
	movl	$1, (%rsp)
	movl	$Nt_Nx, %esi
	movl	$.L__unnamed_28, %edx
	movl	$.L__unnamed_28, %ecx
	movl	$4, %r9d
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	callq	__hipRegisterVar
	movl	$0, 8(%rsp)
	movl	$1, (%rsp)
	movl	$Nt_Ny, %esi
	movl	$.L__unnamed_29, %edx
	movl	$.L__unnamed_29, %ecx
	movl	$4, %r9d
	movq	%rbx, %rdi
	xorl	%r8d, %r8d
	callq	__hipRegisterVar
	movl	$__hip_module_dtor, %edi
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	atexit                          # TAILCALL
.Lfunc_end28:
	.size	__hip_module_ctor, .Lfunc_end28-__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	.LBB29_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
.LBB29_2:
	retq
.Lfunc_end29:
	.size	__hip_module_dtor, .Lfunc_end29-__hip_module_dtor
	.cfi_endproc
                                        # -- End function
	.type	_ZL4tt_h,@object                # @_ZL4tt_h
	.section	.rodata,"a",@progbits
	.p2align	2, 0x0
_ZL4tt_h:
	.long	0x3708db7e                      # float 8.1573362E-6
	.size	_ZL4tt_h, 4

	.type	T,@object                       # @T
	.local	T
	.comm	T,4,4
	.type	dt,@object                      # @dt
	.local	dt
	.comm	dt,4,4
	.type	dt2,@object                     # @dt2
	.local	dt2
	.comm	dt2,4,4
	.type	fre,@object                     # @fre
	.local	fre
	.comm	fre,4,4
	.type	omegac,@object                  # @omegac
	.local	omegac
	.comm	omegac,4,4
	.type	tao,@object                     # @tao
	.local	tao
	.comm	tao,4,4
	.type	tao2,@object                    # @tao2
	.local	tao2
	.comm	tao2,4,4
	.type	tt,@object                      # @tt
	.local	tt
	.comm	tt,4,4
	.type	h2,@object                      # @h2
	.local	h2
	.comm	h2,4,4
	.type	Nx_Ny,@object                   # @Nx_Ny
	.local	Nx_Ny
	.comm	Nx_Ny,4,4
	.type	Nx_Ny_Nt,@object                # @Nx_Ny_Nt
	.local	Nx_Ny_Nt
	.comm	Nx_Ny_Nt,4,4
	.type	Nt_Nx,@object                   # @Nt_Nx
	.local	Nt_Nx
	.comm	Nt_Nx,4,4
	.type	Nt_Ny,@object                   # @Nt_Ny
	.local	Nt_Ny
	.comm	Nt_Ny,4,4
	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	"Usage: "
	.size	.L.str, 8

	.type	.L.str.1,@object                # @.str.1
.L.str.1:
	.asciz	" <sensor group size> <target epsilon> <max iterations>\n\n"
	.size	.L.str.1, 57

	.type	.L.str.4,@object                # @.str.4
.L.str.4:
	.asciz	"t_start = %d\n"
	.size	.L.str.4, 14

	.type	.L.str.5,@object                # @.str.5
.L.str.5:
	.asciz	"t_end   = %d\n"
	.size	.L.str.5, 14

	.type	.L.str.6,@object                # @.str.6
.L.str.6:
	.asciz	"t_total = %d\n"
	.size	.L.str.6, 14

	.type	.L.str.7,@object                # @.str.7
.L.str.7:
	.asciz	"Total Seconds = %f\n\n"
	.size	.L.str.7, 21

	.type	_ZL3T_h,@object                 # @_ZL3T_h
	.section	.rodata,"a",@progbits
	.p2align	2, 0x0
_ZL3T_h:
	.long	0x390bcf65                      # float 1.33333335E-4
	.size	_ZL3T_h, 4

	.type	_ZL4dt_h,@object                # @_ZL4dt_h
	.p2align	2, 0x0
_ZL4dt_h:
	.long	0x34b2f4fc                      # float 3.33333332E-7
	.size	_ZL4dt_h, 4

	.type	_ZL5dt2_h,@object               # @_ZL5dt2_h
	.p2align	2, 0x0
_ZL5dt2_h:
	.long	0x29fa3332                      # float 1.11111112E-13
	.size	_ZL5dt2_h, 4

	.type	_ZL5fre_h,@object               # @_ZL5fre_h
	.p2align	2, 0x0
_ZL5fre_h:
	.long	0x47f42400                      # float 125000
	.size	_ZL5fre_h, 4

	.type	_ZL8omegac_h,@object            # @_ZL8omegac_h
	.p2align	2, 0x0
_ZL8omegac_h:
	.long	0x493fbf63                      # float 785398.188
	.size	_ZL8omegac_h, 4

	.type	_ZL5tao_h,@object               # @_ZL5tao_h
	.p2align	2, 0x0
_ZL5tao_h:
	.long	0x368637bd                      # float 3.99999999E-6
	.size	_ZL5tao_h, 4

	.type	_ZL6tao2_h,@object              # @_ZL6tao2_h
	.p2align	2, 0x0
_ZL6tao2_h:
	.long	0x2d8cbccc                      # float 1.59999999E-11
	.size	_ZL6tao2_h, 4

	.type	_ZL4h2_h,@object                # @_ZL4h2_h
	.p2align	2, 0x0
_ZL4h2_h:
	.long	0x358637be                      # float 1.00000011E-6
	.size	_ZL4h2_h, 4

	.type	_ZL7Nx_Ny_h,@object             # @_ZL7Nx_Ny_h
	.p2align	2, 0x0
_ZL7Nx_Ny_h:
	.long	40401                           # 0x9dd1
	.size	_ZL7Nx_Ny_h, 4

	.type	_ZL10Nx_Ny_Nt_h,@object         # @_ZL10Nx_Ny_Nt_h
	.p2align	2, 0x0
_ZL10Nx_Ny_Nt_h:
	.long	16200801                        # 0xf73461
	.size	_ZL10Nx_Ny_Nt_h, 4

	.type	_ZL7Nt_Nx_h,@object             # @_ZL7Nt_Nx_h
	.p2align	2, 0x0
_ZL7Nt_Nx_h:
	.long	80601                           # 0x13ad9
	.size	_ZL7Nt_Nx_h, 4

	.type	_ZL7Nt_Ny_h,@object             # @_ZL7Nt_Ny_h
	.p2align	2, 0x0
_ZL7Nt_Ny_h:
	.long	80601                           # 0x13ad9
	.size	_ZL7Nt_Ny_h, 4

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

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

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

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

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

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

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

	.type	.L.str.8,@object                # @.str.8
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str.8:
	.asciz	"sirt_convergence.txt"
	.size	.L.str.8, 21

	.type	.L.str.9,@object                # @.str.9
.L.str.9:
	.asciz	"sirt_time.txt"
	.size	.L.str.9, 14

	.type	.L.str.10,@object               # @.str.10
.L.str.10:
	.asciz	"iter: %d\n"
	.size	.L.str.10, 10

	.type	_Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i,@object # @_Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i
	.section	.rodata,"a",@progbits
	.globl	_Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i
	.p2align	3, 0x0
_Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i:
	.quad	_Z34__device_stub__differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i
	.size	_Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i, 8

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

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

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

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

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

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

	.type	.L.str.11,@object               # @.str.11
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str.11:
	.asciz	"epsilon (%d): %f\n"
	.size	.L.str.11, 18

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

	.type	.L.str.13,@object               # @.str.13
.L.str.13:
	.asciz	"dev_f0.txt"
	.size	.L.str.13, 11

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

	.type	_Z11norm_f_f0_kPfS_S_,@object   # @_Z11norm_f_f0_kPfS_S_
	.section	.rodata,"a",@progbits
	.globl	_Z11norm_f_f0_kPfS_S_
	.p2align	3, 0x0
_Z11norm_f_f0_kPfS_S_:
	.quad	_Z26__device_stub__norm_f_f0_kPfS_S_
	.size	_Z11norm_f_f0_kPfS_S_, 8

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

	.type	.L.str.15,@object               # @.str.15
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str.15:
	.asciz	"\n"
	.size	.L.str.15, 2

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

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

	.type	.L.str.18,@object               # @.str.18
.L.str.18:
	.asciz	"basic_string: construction from null is not valid"
	.size	.L.str.18, 50

	.type	.L__unnamed_1,@object           # @0
.L__unnamed_1:
	.asciz	"_Z9gridSetupPfS_"
	.size	.L__unnamed_1, 17

	.type	.L__unnamed_2,@object           # @1
.L__unnamed_2:
	.asciz	"_Z12imagingFieldPfS_S_"
	.size	.L__unnamed_2, 23

	.type	.L__unnamed_3,@object           # @2
.L__unnamed_3:
	.asciz	"_Z28setSensorActivationVariablesPfS_S_S_S_"
	.size	.L__unnamed_3, 43

	.type	.L__unnamed_4,@object           # @3
.L__unnamed_4:
	.asciz	"_Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_"
	.size	.L__unnamed_4, 44

	.type	.L__unnamed_5,@object           # @4
.L__unnamed_5:
	.asciz	"_Z13waveAtCornersPPf"
	.size	.L__unnamed_5, 21

	.type	.L__unnamed_6,@object           # @5
.L__unnamed_6:
	.asciz	"_Z13waveAtSensorsPPfS_S_S_S_i"
	.size	.L__unnamed_6, 30

	.type	.L__unnamed_7,@object           # @6
.L__unnamed_7:
	.asciz	"_Z8setAlphaPf"
	.size	.L__unnamed_7, 14

	.type	.L__unnamed_8,@object           # @7
.L__unnamed_8:
	.asciz	"_Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i"
	.size	.L__unnamed_8, 48

	.type	.L__unnamed_9,@object           # @8
.L__unnamed_9:
	.asciz	"_Z4setZPPf"
	.size	.L__unnamed_9, 11

	.type	.L__unnamed_10,@object          # @9
.L__unnamed_10:
	.asciz	"_Z19waveBackpropagationPPfS_fi"
	.size	.L__unnamed_10, 31

	.type	.L__unnamed_11,@object          # @10
.L__unnamed_11:
	.asciz	"_Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i"
	.size	.L__unnamed_11, 55

	.type	.L__unnamed_12,@object          # @11
.L__unnamed_12:
	.asciz	"_Z8deltau_kPPfS0_i"
	.size	.L__unnamed_12, 19

	.type	.L__unnamed_13,@object          # @12
.L__unnamed_13:
	.asciz	"_Z4df_kPfPS_S0_S_i"
	.size	.L__unnamed_13, 19

	.type	.L__unnamed_14,@object          # @13
.L__unnamed_14:
	.asciz	"_Z3f_kPfS_S_"
	.size	.L__unnamed_14, 13

	.type	.L__unnamed_15,@object          # @14
.L__unnamed_15:
	.asciz	"_Z11norm_f_f0_kPfS_S_"
	.size	.L__unnamed_15, 22

	.type	.L__unnamed_16,@object          # @15
.L__unnamed_16:
	.asciz	"_Z9norm_f0_kPfS_"
	.size	.L__unnamed_16, 17

	.type	.L__unnamed_17,@object          # @16
.L__unnamed_17:
	.asciz	"T"
	.size	.L__unnamed_17, 2

	.type	.L__unnamed_18,@object          # @17
.L__unnamed_18:
	.asciz	"dt"
	.size	.L__unnamed_18, 3

	.type	.L__unnamed_19,@object          # @18
.L__unnamed_19:
	.asciz	"dt2"
	.size	.L__unnamed_19, 4

	.type	.L__unnamed_20,@object          # @19
.L__unnamed_20:
	.asciz	"fre"
	.size	.L__unnamed_20, 4

	.type	.L__unnamed_21,@object          # @20
.L__unnamed_21:
	.asciz	"omegac"
	.size	.L__unnamed_21, 7

	.type	.L__unnamed_22,@object          # @21
.L__unnamed_22:
	.asciz	"tao"
	.size	.L__unnamed_22, 4

	.type	.L__unnamed_23,@object          # @22
.L__unnamed_23:
	.asciz	"tao2"
	.size	.L__unnamed_23, 5

	.type	.L__unnamed_24,@object          # @23
.L__unnamed_24:
	.asciz	"tt"
	.size	.L__unnamed_24, 3

	.type	.L__unnamed_25,@object          # @24
.L__unnamed_25:
	.asciz	"h2"
	.size	.L__unnamed_25, 3

	.type	.L__unnamed_26,@object          # @25
.L__unnamed_26:
	.asciz	"Nx_Ny"
	.size	.L__unnamed_26, 6

	.type	.L__unnamed_27,@object          # @26
.L__unnamed_27:
	.asciz	"Nx_Ny_Nt"
	.size	.L__unnamed_27, 9

	.type	.L__unnamed_28,@object          # @27
.L__unnamed_28:
	.asciz	"Nt_Nx"
	.size	.L__unnamed_28, 6

	.type	.L__unnamed_29,@object          # @28
.L__unnamed_29:
	.asciz	"Nt_Ny"
	.size	.L__unnamed_29, 6

	.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

	.type	.Lstr,@object                   # @str
	.section	.rodata.str1.1,"aMS",@progbits,1
.Lstr:
	.asciz	"Clock Times:"
	.size	.Lstr, 13

	.type	.Lstr.1,@object                 # @str.1
.Lstr.1:
	.asciz	"\nExecution Times:"
	.size	.Lstr.1, 18

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym __gxx_personality_v0
	.addrsig_sym _Z24__device_stub__gridSetupPfS_
	.addrsig_sym _Z27__device_stub__imagingFieldPfS_S_
	.addrsig_sym _Z43__device_stub__setSensorActivationVariablesPfS_S_S_S_
	.addrsig_sym _Z30__device_stub__wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_
	.addrsig_sym _Z28__device_stub__waveAtCornersPPf
	.addrsig_sym _Z28__device_stub__waveAtSensorsPPfS_S_S_S_i
	.addrsig_sym _Z23__device_stub__setAlphaPf
	.addrsig_sym _Z34__device_stub__differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i
	.addrsig_sym _Z19__device_stub__setZPPf
	.addrsig_sym _Z34__device_stub__waveBackpropagationPPfS_fi
	.addrsig_sym _Z49__device_stub__waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i
	.addrsig_sym _Z23__device_stub__deltau_kPPfS0_i
	.addrsig_sym _Z19__device_stub__df_kPfPS_S0_S_i
	.addrsig_sym _Z18__device_stub__f_kPfS_S_
	.addrsig_sym _Z26__device_stub__norm_f_f0_kPfS_S_
	.addrsig_sym _Z24__device_stub__norm_f0_kPfS_
	.addrsig_sym __hip_module_ctor
	.addrsig_sym __hip_module_dtor
	.addrsig_sym _Unwind_Resume
	.addrsig_sym _ZL4tt_h
	.addrsig_sym T
	.addrsig_sym dt
	.addrsig_sym dt2
	.addrsig_sym fre
	.addrsig_sym omegac
	.addrsig_sym tao
	.addrsig_sym tao2
	.addrsig_sym tt
	.addrsig_sym h2
	.addrsig_sym Nx_Ny
	.addrsig_sym Nx_Ny_Nt
	.addrsig_sym Nt_Nx
	.addrsig_sym Nt_Ny
	.addrsig_sym _ZSt4cerr
	.addrsig_sym _ZL3T_h
	.addrsig_sym _ZL4dt_h
	.addrsig_sym _ZL5dt2_h
	.addrsig_sym _ZL5fre_h
	.addrsig_sym _ZL8omegac_h
	.addrsig_sym _ZL5tao_h
	.addrsig_sym _ZL6tao2_h
	.addrsig_sym _ZL4h2_h
	.addrsig_sym _ZL7Nx_Ny_h
	.addrsig_sym _ZL10Nx_Ny_Nt_h
	.addrsig_sym _ZL7Nt_Nx_h
	.addrsig_sym _ZL7Nt_Ny_h
	.addrsig_sym _Z9gridSetupPfS_
	.addrsig_sym _Z12imagingFieldPfS_S_
	.addrsig_sym _Z28setSensorActivationVariablesPfS_S_S_S_
	.addrsig_sym _Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_
	.addrsig_sym _Z13waveAtCornersPPf
	.addrsig_sym _Z13waveAtSensorsPPfS_S_S_S_i
	.addrsig_sym _Z8setAlphaPf
	.addrsig_sym _Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i
	.addrsig_sym _Z4setZPPf
	.addrsig_sym _Z19waveBackpropagationPPfS_fi
	.addrsig_sym _Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i
	.addrsig_sym _Z8deltau_kPPfS0_i
	.addrsig_sym _Z4df_kPfPS_S0_S_i
	.addrsig_sym _Z3f_kPfS_S_
	.addrsig_sym _Z11norm_f_f0_kPfS_S_
	.addrsig_sym _Z9norm_f0_kPfS_
	.addrsig_sym __hip_fatbin
	.addrsig_sym __hip_fatbin_wrapper
	.addrsig_sym __hip_cuid_

	.text
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.protected	_Z9gridSetupPfS_        ; -- Begin function _Z9gridSetupPfS_
	.globl	_Z9gridSetupPfS_
	.p2align	8
	.type	_Z9gridSetupPfS_,@function
_Z9gridSetupPfS_:                       ; @_Z9gridSetupPfS_
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x1c
	s_load_b32 s3, s[0:1], 0x10
	v_bfe_u32 v1, v0, 10, 10
	s_waitcnt lgkmcnt(0)
	s_lshr_b32 s4, s2, 16
	s_and_b32 s2, s2, 0xffff
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[2:3], null, s15, s4, v[1:2]
	v_mad_u64_u32 v[3:4], null, v2, s3, s[14:15]
	v_and_b32_e32 v2, 0x3ff, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[0:1], null, v3, s2, v[2:3]
	s_mov_b32 s2, exec_lo
	v_cmpx_gt_i32_e32 0xc9, v0
	s_cbranch_execz .LBB0_2
; %bb.1:
	s_load_b128 s[0:3], s[0:1], 0x0
	v_ashrrev_i32_e32 v1, 31, v0
	v_cvt_f32_i32_e32 v2, v0
	s_mov_b32 s4, 0x3a83126f
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_lshlrev_b64 v[0:1], 2, v[0:1]
	v_fmaak_f32 v4, s4, v2, 0xbdcccccd
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s0, v0
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v1, vcc_lo
	v_add_co_u32 v0, vcc_lo, s2, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, s3, v1, vcc_lo
	global_store_b32 v[2:3], v4, off
	global_store_b32 v[0:1], v4, off
.LBB0_2:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z9gridSetupPfS_
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 272
		.amdhsa_user_sgpr_count 14
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 1
		.amdhsa_next_free_vgpr 5
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end0:
	.size	_Z9gridSetupPfS_, .Lfunc_end0-_Z9gridSetupPfS_
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 204
; NumSgprs: 18
; NumVgprs: 5
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 5
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 14
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 1
	.text
	.protected	_Z12imagingFieldPfS_S_  ; -- Begin function _Z12imagingFieldPfS_S_
	.globl	_Z12imagingFieldPfS_S_
	.p2align	8
	.type	_Z12imagingFieldPfS_S_,@function
_Z12imagingFieldPfS_S_:                 ; @_Z12imagingFieldPfS_S_
; %bb.0:
	s_load_b32 s2, s[0:1], 0x24
	v_and_b32_e32 v1, 0x3ff, v0
	v_bfe_u32 v0, v0, 10, 10
	s_waitcnt lgkmcnt(0)
	s_lshr_b32 s3, s2, 16
	s_and_b32 s2, s2, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[4:5], null, s14, s2, v[1:2]
	v_mad_u64_u32 v[2:3], null, s15, s3, v[0:1]
	s_mov_b32 s2, exec_lo
	v_max_i32_e32 v0, v4, v2
	s_delay_alu instid0(VALU_DEP_1)
	v_cmpx_gt_i32_e32 0xc9, v0
	s_cbranch_execz .LBB1_9
; %bb.1:
	s_clause 0x1
	s_load_b128 s[8:11], s[0:1], 0x0
	s_load_b64 s[0:1], s[0:1], 0x10
	v_mad_u64_u32 v[0:1], null, 0xc9, v2, v[4:5]
	v_ashrrev_i32_e32 v5, 31, v4
	v_ashrrev_i32_e32 v3, 31, v2
	s_mov_b32 s5, 0x3e76c4e1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_lshlrev_b64 v[4:5], 2, v[4:5]
	v_lshlrev_b64 v[6:7], 2, v[2:3]
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v2, vcc_lo, s10, v4
	v_add_co_ci_u32_e32 v3, vcc_lo, s11, v5, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_co_u32 v4, vcc_lo, s0, v6
	v_add_co_ci_u32_e32 v5, vcc_lo, s1, v7, vcc_lo
	global_load_b32 v1, v[2:3], off
	global_load_b32 v6, v[4:5], off
	s_waitcnt vmcnt(1)
	v_frexp_mant_f32_e64 v7, |v1|
	s_waitcnt vmcnt(0)
	v_frexp_mant_f32_e64 v8, |v6|
	v_frexp_exp_i32_f32_e32 v22, v6
	v_cmp_class_f32_e64 s6, v1, 0x204
	v_cmp_gt_f32_e32 vcc_lo, 0x3f2aaaab, v7
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_cmp_gt_f32_e64 s0, 0x3f2aaaab, v8
	v_cndmask_b32_e64 v9, 0, 1, vcc_lo
	v_cndmask_b32_e64 v10, 0, 1, s0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_ldexp_f32 v7, v7, v9
	v_ldexp_f32 v8, v8, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_dual_add_f32 v9, 1.0, v7 :: v_dual_add_f32 v10, 1.0, v8
	v_dual_add_f32 v13, -1.0, v7 :: v_dual_add_f32 v14, -1.0, v8
	v_rcp_f32_e32 v11, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_3) | instid1(VALU_DEP_2)
	v_rcp_f32_e32 v12, v10
	s_waitcnt_depctr 0xfff
	v_dual_mul_f32 v15, v13, v11 :: v_dual_mul_f32 v16, v14, v12
	v_add_f32_e32 v17, -1.0, v9
	v_dual_add_f32 v19, -1.0, v10 :: v_dual_mul_f32 v18, v9, v15
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_mul_f32 v20, v10, v16 :: v_dual_sub_f32 v7, v7, v17
	v_sub_f32_e32 v8, v8, v19
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f32 v9, v15, v9, -v18
	v_fma_f32 v10, v16, v10, -v20
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_fmac_f32 v9, v15, v7 :: v_dual_fmac_f32 v10, v16, v8
	v_dual_add_f32 v7, v18, v9 :: v_dual_add_f32 v8, v20, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_sub_f32 v17, v13, v7 :: v_dual_sub_f32 v18, v7, v18
	v_sub_f32_e32 v20, v8, v20
	v_sub_f32_e32 v19, v14, v8
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_dual_sub_f32 v13, v13, v17 :: v_dual_sub_f32 v10, v20, v10
	v_sub_f32_e32 v9, v18, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v7, v13, v7
	v_add_f32_e32 v7, v9, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v7, v17, v7
	v_mul_f32_e32 v7, v11, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v9, v15, v7
	v_dual_sub_f32 v14, v14, v19 :: v_dual_mul_f32 v13, v9, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v8, v14, v8
	v_add_f32_e32 v8, v10, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v8, v19, v8
	v_mul_f32_e32 v8, v12, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v10, v16, v8
	v_dual_sub_f32 v12, v10, v16 :: v_dual_sub_f32 v11, v9, v15
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_dual_sub_f32 v8, v8, v12 :: v_dual_sub_f32 v7, v7, v11
	v_fma_f32 v12, v9, v9, -v13
	v_dual_add_f32 v16, v8, v8 :: v_dual_mul_f32 v11, v10, v10
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v14, v7, v7
	v_fma_f32 v15, v10, v10, -v11
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_fmac_f32 v12, v9, v14 :: v_dual_fmac_f32 v15, v10, v16
	v_add_f32_e32 v16, v11, v15
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v14, v13, v12 :: v_dual_sub_f32 v11, v16, v11
	v_dual_fmaak_f32 v17, s5, v14, 0x3e91f4c4 :: v_dual_fmaak_f32 v18, s5, v16, 0x3e91f4c4
	v_sub_f32_e32 v13, v14, v13
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v11, v15, v11
	v_dual_fmaak_f32 v17, v14, v17, 0x3ecccdef :: v_dual_fmaak_f32 v18, v16, v18, 0x3ecccdef
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v12, v12, v13
	v_dual_mul_f32 v19, v14, v17 :: v_dual_mul_f32 v20, v16, v18
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v13, v14, v17, -v19
	v_fma_f32 v15, v16, v18, -v20
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fmac_f32_e32 v13, v12, v17
	v_fmac_f32_e32 v15, v11, v18
	v_mul_f32_e32 v18, v9, v14
	v_frexp_exp_i32_f32_e32 v17, v1
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f32_e32 v21, v19, v13
	v_fma_f32 v25, v14, v9, -v18
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_add_f32_e32 v26, 0x3f2aaaaa, v21
	v_add_f32_e32 v24, v20, v15
	v_sub_f32_e32 v19, v21, v19
	v_fmac_f32_e32 v25, v14, v7
	v_ldexp_f32 v7, v7, 1
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_sub_f32_e32 v20, v24, v20
	v_dual_add_f32 v28, 0x3f2aaaaa, v24 :: v_dual_sub_f32 v13, v13, v19
	v_add_f32_e32 v19, 0xbf2aaaaa, v26
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_dual_fmac_f32 v25, v12, v9 :: v_dual_sub_f32 v14, v15, v20
	v_mul_f32_e32 v23, v10, v16
	v_add_f32_e32 v15, 0xbf2aaaaa, v28
	v_add_f32_e32 v13, 0x31739010, v13
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_dual_sub_f32 v19, v21, v19 :: v_dual_add_f32 v12, 0x31739010, v14
	v_fma_f32 v27, v16, v10, -v23
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_sub_f32_e32 v14, v24, v15
	v_subrev_co_ci_u32_e32 v15, vcc_lo, 0, v17, vcc_lo
	v_ldexp_f32 v9, v9, 1
	v_fmac_f32_e32 v27, v16, v8
	v_subrev_co_ci_u32_e64 v16, vcc_lo, 0, v22, s0
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_cvt_f32_i32_e32 v15, v15
	v_ldexp_f32 v8, v8, 1
	v_fmac_f32_e32 v27, v11, v10
	v_dual_add_f32 v11, v12, v14 :: v_dual_add_f32 v12, v18, v25
	v_ldexp_f32 v10, v10, 1
	v_cmp_eq_f32_e32 vcc_lo, 1.0, v1
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_sub_f32_e32 v18, v12, v18
	v_add_f32_e32 v17, v28, v11
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v13, v13, v19 :: v_dual_sub_f32 v22, v28, v17
	v_add_f32_e32 v14, v26, v13
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v20, v26, v14
	v_mul_f32_e32 v21, v12, v14
	v_add_f32_e32 v13, v13, v20
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v20, v12, v14, -v21
	v_dual_fmac_f32 v20, v12, v13 :: v_dual_add_f32 v19, v23, v27
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v23, v19, v23
	v_sub_f32_e32 v12, v27, v23
	v_sub_f32_e32 v18, v25, v18
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_2)
	v_fmac_f32_e32 v20, v18, v14
	v_mul_f32_e32 v24, v19, v17
	v_add_f32_e32 v11, v11, v22
	v_fma_f32 v22, v19, v17, -v24
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fmac_f32_e32 v22, v19, v11
	v_add_f32_e32 v14, v21, v20
	v_cvt_f32_i32_e32 v11, v16
	v_dual_fmac_f32 v22, v12, v17 :: v_dual_mul_f32 v13, 0x3f317218, v15
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_dual_add_f32 v18, v9, v14 :: v_dual_sub_f32 v19, v14, v21
	v_mul_f32_e32 v12, 0x3f317218, v11
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f32_e32 v16, v24, v22
	v_fma_f32 v17, 0x3f317218, v15, -v13
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v21, v10, v16
	v_dual_sub_f32 v23, v16, v24 :: v_dual_sub_f32 v10, v21, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v10, v16, v10
	v_sub_f32_e32 v19, v20, v19
	v_sub_f32_e32 v20, v22, v23
	v_sub_f32_e32 v9, v18, v9
	v_fma_f32 v22, 0x3f317218, v11, -v12
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_add_f32 v8, v8, v20 :: v_dual_fmac_f32 v17, 0xb102e308, v15
	v_dual_sub_f32 v9, v14, v9 :: v_dual_fmac_f32 v22, 0xb102e308, v11
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v8, v8, v10
	v_add_f32_e32 v10, v12, v22
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_add_f32 v14, v21, v8 :: v_dual_add_f32 v7, v7, v19
	v_sub_f32_e32 v12, v10, v12
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_dual_add_f32 v16, v10, v14 :: v_dual_add_f32 v7, v7, v9
	v_add_f32_e32 v9, v13, v17
	v_sub_f32_e32 v20, v14, v21
	v_dual_sub_f32 v12, v22, v12 :: v_dual_sub_f32 v19, v16, v10
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f32_e32 v11, v18, v7
	v_dual_sub_f32 v13, v9, v13 :: v_dual_sub_f32 v8, v8, v20
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v21, v16, v19
	v_add_f32_e32 v15, v9, v11
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v13, v17, v13
	v_dual_sub_f32 v17, v11, v18 :: v_dual_sub_f32 v10, v10, v21
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v18, v15, v9
	v_dual_sub_f32 v14, v14, v19 :: v_dual_sub_f32 v7, v7, v17
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v17, v15, v18
	v_dual_sub_f32 v11, v11, v18 :: v_dual_add_f32 v18, v12, v8
	v_dual_add_f32 v10, v14, v10 :: v_dual_sub_f32 v9, v9, v17
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_add_f32 v17, v13, v7 :: v_dual_sub_f32 v14, v18, v12
	v_dual_add_f32 v10, v18, v10 :: v_dual_add_f32 v9, v11, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_sub_f32 v11, v17, v13 :: v_dual_sub_f32 v8, v8, v14
	v_add_f32_e32 v19, v16, v10
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f32_e32 v9, v17, v9
	v_sub_f32_e32 v17, v17, v11
	v_sub_f32_e32 v7, v7, v11
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v11, v18, v14 :: v_dual_sub_f32 v14, v19, v16
	v_dual_add_f32 v18, v15, v9 :: v_dual_sub_f32 v11, v12, v11
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_sub_f32 v10, v10, v14 :: v_dual_sub_f32 v13, v13, v17
	v_sub_f32_e32 v12, v18, v15
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v8, v8, v11 :: v_dual_sub_f32 v9, v9, v12
	v_dual_add_f32 v8, v8, v10 :: v_dual_add_f32 v7, v7, v13
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_add_f32_e32 v7, v7, v9
	v_cndmask_b32_e64 v9, 2.0, 1.0, vcc_lo
	v_cmp_eq_f32_e32 vcc_lo, 1.0, v6
	v_add_f32_e32 v10, v18, v7
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_mul_f32_e32 v24, 0.5, v9
	v_cndmask_b32_e64 v12, 2.0, 1.0, vcc_lo
	v_trunc_f32_e32 v23, v9
	v_sub_f32_e32 v13, v10, v18
	v_mul_f32_e32 v14, v9, v10
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_trunc_f32_e32 v26, v12
	v_cmp_eq_f32_e64 s0, v23, v9
	v_mul_f32_e32 v29, 0.5, v12
	v_sub_f32_e32 v7, v7, v13
	v_fma_f32 v10, v9, v10, -v14
	v_add_f32_e32 v11, v19, v8
	v_cmp_class_f32_e64 vcc_lo, v14, 0x204
	v_trunc_f32_e32 v23, v24
	v_cmp_eq_f32_e64 s1, v26, v12
	v_fmac_f32_e32 v10, v9, v7
	v_sub_f32_e32 v15, v11, v19
	v_mul_f32_e32 v16, v12, v11
	v_cmp_neq_f32_e64 s2, v23, v24
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v8, v8, v15
	v_fma_f32 v11, v12, v11, -v16
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	s_and_b32 s2, s0, s2
	v_fmac_f32_e32 v11, v12, v8
	v_trunc_f32_e32 v12, v29
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v8, v16, v11 :: v_dual_add_f32 v7, v14, v10
	v_cndmask_b32_e32 v13, v7, v14, vcc_lo
	v_cmp_class_f32_e64 vcc_lo, v16, 0x204
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cndmask_b32_e32 v15, v8, v16, vcc_lo
	v_cmp_eq_f32_e32 vcc_lo, 0x42b17218, v13
	v_dual_sub_f32 v8, v8, v16 :: v_dual_sub_f32 v7, v7, v14
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_cndmask_b32_e64 v17, 0, 0x37000000, vcc_lo
	v_cmp_eq_f32_e32 vcc_lo, 0x42b17218, v15
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v7, v10, v7
	v_cndmask_b32_e64 v18, 0, 0x37000000, vcc_lo
	v_cmp_eq_f32_e32 vcc_lo, 0, v1
	v_dual_sub_f32 v20, v15, v18 :: v_dual_sub_f32 v19, v13, v17
	v_sub_f32_e32 v8, v11, v8
	v_cndmask_b32_e64 v21, 0x7f800000, 0, vcc_lo
	s_or_b32 vcc_lo, vcc_lo, s6
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_mul_f32 v25, 0x3fb8aa3b, v20 :: v_dual_mul_f32 v22, 0x3fb8aa3b, v19
	v_fma_f32 v30, 0x3fb8aa3b, v20, -v25
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fma_f32 v27, 0x3fb8aa3b, v19, -v22
	v_rndne_f32_e32 v28, v22
	v_rndne_f32_e32 v31, v25
	v_dual_fmac_f32 v30, 0x32a5705f, v20 :: v_dual_fmac_f32 v27, 0x32a5705f, v19
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_dual_sub_f32 v22, v22, v28 :: v_dual_sub_f32 v9, v25, v31
	v_cvt_i32_f32_e32 v10, v28
	v_cvt_i32_f32_e32 v11, v31
	v_dual_add_f32 v22, v22, v27 :: v_dual_add_f32 v9, v9, v30
	v_cmp_neq_f32_e64 s3, 0x7f800000, |v13|
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_exp_f32_e32 v14, v22
	v_exp_f32_e32 v9, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v7, 0, v7, s3
	v_cmp_neq_f32_e64 s3, 0x7f800000, |v15|
	v_add_f32_e32 v7, v17, v7
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(TRANS32_DEP_2)
	v_cndmask_b32_e64 v8, 0, v8, s3
	v_cmp_ngt_f32_e64 s3, 0xc2ce8ed0, v19
	v_ldexp_f32 v10, v14, v10
	s_delay_alu instid0(TRANS32_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_ldexp_f32 v9, v9, v11
	v_cndmask_b32_e64 v11, 1.0, v1, s2
	v_add_f32_e32 v8, v18, v8
	v_cndmask_b32_e64 v10, 0, v10, s3
	v_cmp_ngt_f32_e64 s3, 0xc2ce8ed0, v20
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v9, 0, v9, s3
	v_cmp_nlt_f32_e64 s3, 0x42b17218, v19
	v_cndmask_b32_e64 v10, 0x7f800000, v10, s3
	v_cmp_nlt_f32_e64 s3, 0x42b17218, v20
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v7, v10, v7, v10
	v_cndmask_b32_e64 v9, 0x7f800000, v9, s3
	v_cmp_eq_f32_e64 s4, 0x7f800000, v10
	v_cmp_neq_f32_e64 s3, v12, v29
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f32 v8, v9, v8, v9
	v_cndmask_b32_e64 v7, v7, v10, s4
	v_cmp_eq_f32_e64 s4, 0x7f800000, v9
	s_delay_alu instid0(VALU_DEP_4)
	s_and_b32 s3, s1, s3
	v_cndmask_b32_e64 v10, 0, v1, s2
	v_cndmask_b32_e64 v12, 1.0, v6, s3
	v_bfi_b32 v7, 0x7fffffff, v7, v11
	v_cndmask_b32_e64 v8, v8, v9, s4
	v_cmp_eq_f32_e64 s4, 0, v6
	v_cndmask_b32_e64 v11, 0, v6, s3
	v_cmp_class_f32_e64 s2, v6, 0x204
	v_bfi_b32 v10, 0x7fffffff, v21, v10
	v_bfi_b32 v8, 0x7fffffff, v8, v12
	v_cndmask_b32_e64 v12, 0x7fc00000, v7, s0
	v_cmp_gt_f32_e64 s0, 0, v1
	v_cndmask_b32_e64 v9, 0x7f800000, 0, s4
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v13, 0x7fc00000, v8, s1
	v_cndmask_b32_e64 v7, v7, v12, s0
	v_cmp_gt_f32_e64 s0, 0, v6
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_bfi_b32 v9, 0x7fffffff, v9, v11
	v_cndmask_b32_e32 v7, v7, v10, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v8, v8, v13, s0
	s_or_b32 vcc_lo, s4, s2
	v_cndmask_b32_e32 v8, v8, v9, vcc_lo
	v_cmp_o_f32_e32 vcc_lo, v1, v1
	v_cndmask_b32_e32 v1, 0x7fc00000, v7, vcc_lo
	v_cmp_o_f32_e32 vcc_lo, v6, v6
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v6, 0x7fc00000, v8, vcc_lo
	v_add_f32_e32 v1, v1, v6
	s_delay_alu instid0(VALU_DEP_1)
	v_cmp_ge_f32_e32 vcc_lo, 0x396bedfa, v1
	v_ashrrev_i32_e32 v1, 31, v0
	s_and_saveexec_b32 s0, vcc_lo
	s_cbranch_execz .LBB1_3
; %bb.2:
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_lshlrev_b64 v[6:7], 2, v[0:1]
	v_mov_b32_e32 v8, 0x3cf5c28f
	v_add_co_u32 v6, vcc_lo, s8, v6
	s_delay_alu instid0(VALU_DEP_3)
	v_add_co_ci_u32_e32 v7, vcc_lo, s9, v7, vcc_lo
	global_store_b32 v[6:7], v8, off
.LBB1_3:
	s_or_b32 exec_lo, exec_lo, s0
	global_load_b32 v6, v[2:3], off
	global_load_b32 v8, v[4:5], off
	s_waitcnt vmcnt(1)
	v_add_f32_e32 v7, 0xbc54d59b, v6
	s_waitcnt vmcnt(0)
	v_add_f32_e32 v6, 0xbbf5c28f, v8
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_frexp_mant_f32_e64 v8, |v7|
	v_frexp_mant_f32_e64 v9, |v6|
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_gt_f32_e32 vcc_lo, 0x3f2aaaab, v8
	v_cmp_gt_f32_e64 s0, 0x3f2aaaab, v9
	v_cndmask_b32_e64 v10, 0, 1, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v11, 0, 1, s0
	v_ldexp_f32 v8, v8, v10
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ldexp_f32 v9, v9, v11
	v_dual_add_f32 v10, 1.0, v8 :: v_dual_add_f32 v11, 1.0, v9
	v_dual_add_f32 v14, -1.0, v8 :: v_dual_add_f32 v15, -1.0, v9
	v_frexp_exp_i32_f32_e32 v23, v6
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_rcp_f32_e32 v12, v10
	v_rcp_f32_e32 v13, v11
	s_waitcnt_depctr 0xfff
	v_dual_mul_f32 v16, v14, v12 :: v_dual_mul_f32 v17, v15, v13
	v_add_f32_e32 v18, -1.0, v10
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_add_f32 v20, -1.0, v11 :: v_dual_mul_f32 v19, v10, v16
	v_dual_mul_f32 v21, v11, v17 :: v_dual_sub_f32 v8, v8, v18
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v9, v9, v20
	v_fma_f32 v10, v16, v10, -v19
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v11, v17, v11, -v21
	v_dual_fmac_f32 v10, v16, v8 :: v_dual_fmac_f32 v11, v17, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v8, v19, v10 :: v_dual_add_f32 v9, v21, v11
	v_dual_sub_f32 v18, v14, v8 :: v_dual_sub_f32 v19, v8, v19
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v21, v9, v21
	v_sub_f32_e32 v20, v15, v9
	v_dual_sub_f32 v14, v14, v18 :: v_dual_sub_f32 v11, v21, v11
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v10, v19, v10
	v_sub_f32_e32 v8, v14, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v8, v10, v8
	v_add_f32_e32 v8, v18, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v8, v12, v8
	v_add_f32_e32 v10, v16, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v15, v15, v20 :: v_dual_mul_f32 v14, v10, v10
	v_sub_f32_e32 v9, v15, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v9, v11, v9
	v_add_f32_e32 v9, v20, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v9, v13, v9
	v_add_f32_e32 v11, v17, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v13, v11, v17 :: v_dual_sub_f32 v12, v10, v16
	v_dual_sub_f32 v9, v9, v13 :: v_dual_sub_f32 v8, v8, v12
	v_fma_f32 v13, v10, v10, -v14
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_dual_add_f32 v17, v9, v9 :: v_dual_mul_f32 v12, v11, v11
	v_add_f32_e32 v15, v8, v8
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v16, v11, v11, -v12
	v_dual_fmac_f32 v13, v10, v15 :: v_dual_fmac_f32 v16, v11, v17
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v17, v12, v16
	v_dual_add_f32 v15, v14, v13 :: v_dual_sub_f32 v12, v17, v12
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_dual_fmaak_f32 v18, s5, v15, 0x3e91f4c4 :: v_dual_fmaak_f32 v19, s5, v17, 0x3e91f4c4
	v_sub_f32_e32 v14, v15, v14
	v_cmp_class_f32_e64 s5, v7, 0x204
	v_sub_f32_e32 v12, v16, v12
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_dual_fmaak_f32 v18, v15, v18, 0x3ecccdef :: v_dual_fmaak_f32 v19, v17, v19, 0x3ecccdef
	v_sub_f32_e32 v13, v13, v14
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_mul_f32 v20, v15, v18 :: v_dual_mul_f32 v21, v17, v19
	v_fma_f32 v14, v15, v18, -v20
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v16, v17, v19, -v21
	v_fmac_f32_e32 v14, v13, v18
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_fmac_f32_e32 v16, v12, v19
	v_mul_f32_e32 v19, v10, v15
	v_frexp_exp_i32_f32_e32 v18, v7
	v_add_f32_e32 v22, v20, v14
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v26, v15, v10, -v19
	v_add_f32_e32 v27, 0x3f2aaaaa, v22
	v_add_f32_e32 v25, v21, v16
	v_sub_f32_e32 v20, v22, v20
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_fmac_f32_e32 v26, v15, v8
	v_ldexp_f32 v8, v8, 1
	v_sub_f32_e32 v21, v25, v21
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_dual_add_f32 v29, 0x3f2aaaaa, v25 :: v_dual_sub_f32 v14, v14, v20
	v_add_f32_e32 v20, 0xbf2aaaaa, v27
	v_dual_fmac_f32 v26, v13, v10 :: v_dual_sub_f32 v15, v16, v21
	v_mul_f32_e32 v24, v11, v17
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_add_f32_e32 v16, 0xbf2aaaaa, v29
	v_add_f32_e32 v14, 0x31739010, v14
	v_dual_sub_f32 v20, v22, v20 :: v_dual_add_f32 v13, 0x31739010, v15
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_fma_f32 v28, v17, v11, -v24
	v_sub_f32_e32 v15, v25, v16
	v_subrev_co_ci_u32_e32 v16, vcc_lo, 0, v18, vcc_lo
	v_ldexp_f32 v10, v10, 1
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_fmac_f32_e32 v28, v17, v9
	v_subrev_co_ci_u32_e64 v17, vcc_lo, 0, v23, s0
	v_cvt_f32_i32_e32 v16, v16
	v_ldexp_f32 v9, v9, 1
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_3) | instid1(VALU_DEP_3)
	v_fmac_f32_e32 v28, v12, v11
	v_dual_add_f32 v12, v13, v15 :: v_dual_add_f32 v13, v19, v26
	v_ldexp_f32 v11, v11, 1
	v_cmp_eq_f32_e32 vcc_lo, 1.0, v7
	v_sub_f32_e32 v19, v13, v19
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v18, v29, v12
	v_dual_add_f32 v14, v14, v20 :: v_dual_sub_f32 v23, v29, v18
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v15, v27, v14
	v_sub_f32_e32 v21, v27, v15
	v_mul_f32_e32 v22, v13, v15
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v14, v14, v21
	v_fma_f32 v21, v13, v15, -v22
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_fmac_f32 v21, v13, v14 :: v_dual_add_f32 v20, v24, v28
	v_sub_f32_e32 v24, v20, v24
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v13, v28, v24
	v_sub_f32_e32 v19, v26, v19
	v_fmac_f32_e32 v21, v19, v15
	v_mul_f32_e32 v25, v20, v18
	v_add_f32_e32 v12, v12, v23
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v23, v20, v18, -v25
	v_fmac_f32_e32 v23, v20, v12
	v_add_f32_e32 v15, v22, v21
	v_cvt_f32_i32_e32 v12, v17
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_dual_fmac_f32 v23, v13, v18 :: v_dual_mul_f32 v14, 0x3f317218, v16
	v_dual_add_f32 v19, v10, v15 :: v_dual_sub_f32 v20, v15, v22
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_mul_f32_e32 v13, 0x3f317218, v12
	v_add_f32_e32 v17, v25, v23
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v18, 0x3f317218, v16, -v14
	v_add_f32_e32 v22, v11, v17
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v24, v17, v25 :: v_dual_sub_f32 v11, v22, v11
	v_sub_f32_e32 v11, v17, v11
	v_sub_f32_e32 v20, v21, v20
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v21, v23, v24
	v_sub_f32_e32 v10, v19, v10
	v_fma_f32 v23, 0x3f317218, v12, -v13
	v_dual_add_f32 v9, v9, v21 :: v_dual_fmac_f32 v18, 0xb102e308, v16
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_sub_f32 v10, v15, v10 :: v_dual_fmac_f32 v23, 0xb102e308, v12
	v_add_f32_e32 v9, v9, v11
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v11, v13, v23
	v_dual_add_f32 v15, v22, v9 :: v_dual_add_f32 v8, v8, v20
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v13, v11, v13
	v_dual_add_f32 v17, v11, v15 :: v_dual_add_f32 v8, v8, v10
	v_add_f32_e32 v10, v14, v18
	v_sub_f32_e32 v21, v15, v22
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_dual_sub_f32 v13, v23, v13 :: v_dual_sub_f32 v20, v17, v11
	v_add_f32_e32 v12, v19, v8
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_dual_sub_f32 v14, v10, v14 :: v_dual_sub_f32 v9, v9, v21
	v_sub_f32_e32 v22, v17, v20
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f32_e32 v16, v10, v12
	v_sub_f32_e32 v14, v18, v14
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_dual_sub_f32 v18, v12, v19 :: v_dual_sub_f32 v11, v11, v22
	v_sub_f32_e32 v19, v16, v10
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_sub_f32 v15, v15, v20 :: v_dual_sub_f32 v8, v8, v18
	v_sub_f32_e32 v18, v16, v19
	v_dual_sub_f32 v12, v12, v19 :: v_dual_add_f32 v19, v13, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_add_f32 v11, v15, v11 :: v_dual_sub_f32 v10, v10, v18
	v_dual_add_f32 v18, v14, v8 :: v_dual_sub_f32 v15, v19, v13
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_add_f32 v11, v19, v11 :: v_dual_add_f32 v10, v12, v10
	v_dual_sub_f32 v12, v18, v14 :: v_dual_sub_f32 v9, v9, v15
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f32_e32 v20, v17, v11
	v_add_f32_e32 v10, v18, v10
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_sub_f32_e32 v18, v18, v12
	v_sub_f32_e32 v8, v8, v12
	v_dual_sub_f32 v12, v19, v15 :: v_dual_sub_f32 v15, v20, v17
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_add_f32 v19, v16, v10 :: v_dual_sub_f32 v12, v13, v12
	v_dual_sub_f32 v11, v11, v15 :: v_dual_sub_f32 v14, v14, v18
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v13, v19, v16
	v_dual_add_f32 v9, v9, v12 :: v_dual_sub_f32 v10, v10, v13
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v9, v9, v11 :: v_dual_add_f32 v8, v8, v14
	v_add_f32_e32 v8, v8, v10
	v_cndmask_b32_e64 v10, 2.0, 1.0, vcc_lo
	v_cmp_eq_f32_e32 vcc_lo, 1.0, v6
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f32_e32 v11, v19, v8
	v_mul_f32_e32 v25, 0.5, v10
	v_cndmask_b32_e64 v13, 2.0, 1.0, vcc_lo
	v_trunc_f32_e32 v24, v10
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_sub_f32_e32 v14, v11, v19
	v_mul_f32_e32 v15, v10, v11
	v_trunc_f32_e32 v27, v13
	s_delay_alu instid0(VALU_DEP_4)
	v_cmp_eq_f32_e64 s0, v24, v10
	v_mul_f32_e32 v30, 0.5, v13
	v_sub_f32_e32 v8, v8, v14
	v_fma_f32 v11, v10, v11, -v15
	v_add_f32_e32 v12, v20, v9
	v_cmp_class_f32_e64 vcc_lo, v15, 0x204
	v_trunc_f32_e32 v24, v25
	v_cmp_eq_f32_e64 s1, v27, v13
	v_fmac_f32_e32 v11, v10, v8
	v_sub_f32_e32 v16, v12, v20
	v_mul_f32_e32 v17, v13, v12
	v_cmp_neq_f32_e64 s2, v24, v25
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v9, v9, v16
	v_fma_f32 v12, v13, v12, -v17
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	s_and_b32 s2, s0, s2
	v_fmac_f32_e32 v12, v13, v9
	v_trunc_f32_e32 v13, v30
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v9, v17, v12 :: v_dual_add_f32 v8, v15, v11
	v_cndmask_b32_e32 v14, v8, v15, vcc_lo
	v_cmp_class_f32_e64 vcc_lo, v17, 0x204
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cndmask_b32_e32 v16, v9, v17, vcc_lo
	v_cmp_eq_f32_e32 vcc_lo, 0x42b17218, v14
	v_dual_sub_f32 v9, v9, v17 :: v_dual_sub_f32 v8, v8, v15
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_cndmask_b32_e64 v18, 0, 0x37000000, vcc_lo
	v_cmp_eq_f32_e32 vcc_lo, 0x42b17218, v16
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v8, v11, v8
	v_cndmask_b32_e64 v19, 0, 0x37000000, vcc_lo
	v_cmp_eq_f32_e32 vcc_lo, 0, v7
	v_dual_sub_f32 v21, v16, v19 :: v_dual_sub_f32 v20, v14, v18
	v_sub_f32_e32 v9, v12, v9
	v_cndmask_b32_e64 v22, 0x7f800000, 0, vcc_lo
	s_or_b32 vcc_lo, vcc_lo, s5
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_mul_f32 v26, 0x3fb8aa3b, v21 :: v_dual_mul_f32 v23, 0x3fb8aa3b, v20
	v_fma_f32 v31, 0x3fb8aa3b, v21, -v26
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fma_f32 v28, 0x3fb8aa3b, v20, -v23
	v_rndne_f32_e32 v29, v23
	v_rndne_f32_e32 v32, v26
	v_dual_fmac_f32 v31, 0x32a5705f, v21 :: v_dual_fmac_f32 v28, 0x32a5705f, v20
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_dual_sub_f32 v23, v23, v29 :: v_dual_sub_f32 v10, v26, v32
	v_cvt_i32_f32_e32 v11, v29
	v_cvt_i32_f32_e32 v12, v32
	v_dual_add_f32 v23, v23, v28 :: v_dual_add_f32 v10, v10, v31
	v_cmp_neq_f32_e64 s3, 0x7f800000, |v14|
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_exp_f32_e32 v15, v23
	v_exp_f32_e32 v10, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v8, 0, v8, s3
	v_cmp_neq_f32_e64 s3, 0x7f800000, |v16|
	v_add_f32_e32 v8, v18, v8
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(TRANS32_DEP_2)
	v_cndmask_b32_e64 v9, 0, v9, s3
	v_cmp_ngt_f32_e64 s3, 0xc2ce8ed0, v20
	v_ldexp_f32 v11, v15, v11
	s_delay_alu instid0(TRANS32_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_ldexp_f32 v10, v10, v12
	v_cndmask_b32_e64 v12, 1.0, v7, s2
	v_add_f32_e32 v9, v19, v9
	v_cndmask_b32_e64 v11, 0, v11, s3
	v_cmp_ngt_f32_e64 s3, 0xc2ce8ed0, v21
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v10, 0, v10, s3
	v_cmp_nlt_f32_e64 s3, 0x42b17218, v20
	v_cndmask_b32_e64 v11, 0x7f800000, v11, s3
	v_cmp_nlt_f32_e64 s3, 0x42b17218, v21
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v8, v11, v8, v11
	v_cndmask_b32_e64 v10, 0x7f800000, v10, s3
	v_cmp_eq_f32_e64 s4, 0x7f800000, v11
	v_cmp_neq_f32_e64 s3, v13, v30
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f32 v9, v10, v9, v10
	v_cndmask_b32_e64 v8, v8, v11, s4
	v_cmp_eq_f32_e64 s4, 0x7f800000, v10
	s_delay_alu instid0(VALU_DEP_4)
	s_and_b32 s3, s1, s3
	v_cndmask_b32_e64 v11, 0, v7, s2
	v_cndmask_b32_e64 v13, 1.0, v6, s3
	v_bfi_b32 v8, 0x7fffffff, v8, v12
	v_cndmask_b32_e64 v9, v9, v10, s4
	v_cmp_eq_f32_e64 s4, 0, v6
	v_cndmask_b32_e64 v12, 0, v6, s3
	v_cmp_class_f32_e64 s2, v6, 0x204
	v_bfi_b32 v11, 0x7fffffff, v22, v11
	v_bfi_b32 v9, 0x7fffffff, v9, v13
	v_cndmask_b32_e64 v13, 0x7fc00000, v8, s0
	v_cmp_gt_f32_e64 s0, 0, v7
	v_cndmask_b32_e64 v10, 0x7f800000, 0, s4
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v14, 0x7fc00000, v9, s1
	v_cndmask_b32_e64 v8, v8, v13, s0
	v_cmp_gt_f32_e64 s0, 0, v6
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_bfi_b32 v10, 0x7fffffff, v10, v12
	v_cndmask_b32_e32 v8, v8, v11, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v9, v9, v14, s0
	s_or_b32 vcc_lo, s4, s2
	s_mov_b32 s0, exec_lo
	v_cndmask_b32_e32 v9, v9, v10, vcc_lo
	v_cmp_o_f32_e32 vcc_lo, v7, v7
	v_cndmask_b32_e32 v7, 0x7fc00000, v8, vcc_lo
	v_cmp_o_f32_e32 vcc_lo, v6, v6
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v6, 0x7fc00000, v9, vcc_lo
	v_add_f32_e32 v6, v7, v6
	s_delay_alu instid0(VALU_DEP_1)
	v_cmpx_ge_f32_e32 0x37d1b717, v6
	s_cbranch_execz .LBB1_5
; %bb.4:
	v_lshlrev_b64 v[6:7], 2, v[0:1]
	v_mov_b32_e32 v8, 0x3d4ccccd
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v6, vcc_lo, s8, v6
	v_add_co_ci_u32_e32 v7, vcc_lo, s9, v7, vcc_lo
	global_store_b32 v[6:7], v8, off
.LBB1_5:
	s_or_b32 exec_lo, exec_lo, s0
	global_load_b32 v6, v[2:3], off
	global_load_b32 v8, v[4:5], off
	s_mov_b32 s5, 0x3e76c4e1
	s_waitcnt vmcnt(1)
	v_add_f32_e32 v7, 0x3c54d59b, v6
	s_waitcnt vmcnt(0)
	v_add_f32_e32 v6, 0xbbf5c28f, v8
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_frexp_mant_f32_e64 v8, |v7|
	v_frexp_mant_f32_e64 v9, |v6|
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_gt_f32_e32 vcc_lo, 0x3f2aaaab, v8
	v_cmp_gt_f32_e64 s0, 0x3f2aaaab, v9
	v_cndmask_b32_e64 v10, 0, 1, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v11, 0, 1, s0
	v_ldexp_f32 v8, v8, v10
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ldexp_f32 v9, v9, v11
	v_dual_add_f32 v10, 1.0, v8 :: v_dual_add_f32 v11, 1.0, v9
	v_dual_add_f32 v14, -1.0, v8 :: v_dual_add_f32 v15, -1.0, v9
	v_frexp_exp_i32_f32_e32 v23, v6
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_rcp_f32_e32 v12, v10
	v_rcp_f32_e32 v13, v11
	v_cmp_class_f32_e64 s6, v7, 0x204
	s_waitcnt_depctr 0xfff
	v_dual_mul_f32 v16, v14, v12 :: v_dual_mul_f32 v17, v15, v13
	v_add_f32_e32 v18, -1.0, v10
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_add_f32 v20, -1.0, v11 :: v_dual_mul_f32 v19, v10, v16
	v_dual_mul_f32 v21, v11, v17 :: v_dual_sub_f32 v8, v8, v18
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v9, v9, v20
	v_fma_f32 v10, v16, v10, -v19
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v11, v17, v11, -v21
	v_dual_fmac_f32 v10, v16, v8 :: v_dual_fmac_f32 v11, v17, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v8, v19, v10 :: v_dual_add_f32 v9, v21, v11
	v_dual_sub_f32 v18, v14, v8 :: v_dual_sub_f32 v19, v8, v19
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v21, v9, v21
	v_sub_f32_e32 v20, v15, v9
	v_dual_sub_f32 v14, v14, v18 :: v_dual_sub_f32 v11, v21, v11
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v10, v19, v10
	v_sub_f32_e32 v8, v14, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v8, v10, v8
	v_add_f32_e32 v8, v18, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v8, v12, v8
	v_add_f32_e32 v10, v16, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v15, v15, v20 :: v_dual_mul_f32 v14, v10, v10
	v_sub_f32_e32 v9, v15, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v9, v11, v9
	v_add_f32_e32 v9, v20, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v9, v13, v9
	v_add_f32_e32 v11, v17, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v13, v11, v17 :: v_dual_sub_f32 v12, v10, v16
	v_dual_sub_f32 v9, v9, v13 :: v_dual_sub_f32 v8, v8, v12
	v_fma_f32 v13, v10, v10, -v14
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_dual_add_f32 v17, v9, v9 :: v_dual_mul_f32 v12, v11, v11
	v_add_f32_e32 v15, v8, v8
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v16, v11, v11, -v12
	v_dual_fmac_f32 v13, v10, v15 :: v_dual_fmac_f32 v16, v11, v17
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v17, v12, v16
	v_dual_add_f32 v15, v14, v13 :: v_dual_sub_f32 v12, v17, v12
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_dual_fmaak_f32 v18, s5, v15, 0x3e91f4c4 :: v_dual_fmaak_f32 v19, s5, v17, 0x3e91f4c4
	v_sub_f32_e32 v14, v15, v14
	v_sub_f32_e32 v12, v16, v12
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_dual_fmaak_f32 v18, v15, v18, 0x3ecccdef :: v_dual_fmaak_f32 v19, v17, v19, 0x3ecccdef
	v_sub_f32_e32 v13, v13, v14
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_mul_f32 v20, v15, v18 :: v_dual_mul_f32 v21, v17, v19
	v_fma_f32 v14, v15, v18, -v20
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v16, v17, v19, -v21
	v_fmac_f32_e32 v14, v13, v18
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_fmac_f32_e32 v16, v12, v19
	v_mul_f32_e32 v19, v10, v15
	v_frexp_exp_i32_f32_e32 v18, v7
	v_add_f32_e32 v22, v20, v14
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v26, v15, v10, -v19
	v_add_f32_e32 v27, 0x3f2aaaaa, v22
	v_add_f32_e32 v25, v21, v16
	v_sub_f32_e32 v20, v22, v20
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_fmac_f32_e32 v26, v15, v8
	v_ldexp_f32 v8, v8, 1
	v_sub_f32_e32 v21, v25, v21
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_dual_add_f32 v29, 0x3f2aaaaa, v25 :: v_dual_sub_f32 v14, v14, v20
	v_add_f32_e32 v20, 0xbf2aaaaa, v27
	v_dual_fmac_f32 v26, v13, v10 :: v_dual_sub_f32 v15, v16, v21
	v_mul_f32_e32 v24, v11, v17
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_add_f32_e32 v16, 0xbf2aaaaa, v29
	v_add_f32_e32 v14, 0x31739010, v14
	v_dual_sub_f32 v20, v22, v20 :: v_dual_add_f32 v13, 0x31739010, v15
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_fma_f32 v28, v17, v11, -v24
	v_sub_f32_e32 v15, v25, v16
	v_subrev_co_ci_u32_e32 v16, vcc_lo, 0, v18, vcc_lo
	v_ldexp_f32 v10, v10, 1
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_fmac_f32_e32 v28, v17, v9
	v_subrev_co_ci_u32_e64 v17, vcc_lo, 0, v23, s0
	v_cvt_f32_i32_e32 v16, v16
	v_ldexp_f32 v9, v9, 1
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_3) | instid1(VALU_DEP_3)
	v_fmac_f32_e32 v28, v12, v11
	v_dual_add_f32 v12, v13, v15 :: v_dual_add_f32 v13, v19, v26
	v_ldexp_f32 v11, v11, 1
	v_cmp_eq_f32_e32 vcc_lo, 1.0, v7
	v_sub_f32_e32 v19, v13, v19
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v18, v29, v12
	v_dual_add_f32 v14, v14, v20 :: v_dual_sub_f32 v23, v29, v18
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v15, v27, v14
	v_sub_f32_e32 v21, v27, v15
	v_mul_f32_e32 v22, v13, v15
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v14, v14, v21
	v_fma_f32 v21, v13, v15, -v22
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_fmac_f32 v21, v13, v14 :: v_dual_add_f32 v20, v24, v28
	v_sub_f32_e32 v24, v20, v24
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v13, v28, v24
	v_sub_f32_e32 v19, v26, v19
	v_fmac_f32_e32 v21, v19, v15
	v_mul_f32_e32 v25, v20, v18
	v_add_f32_e32 v12, v12, v23
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v23, v20, v18, -v25
	v_fmac_f32_e32 v23, v20, v12
	v_add_f32_e32 v15, v22, v21
	v_cvt_f32_i32_e32 v12, v17
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_dual_fmac_f32 v23, v13, v18 :: v_dual_mul_f32 v14, 0x3f317218, v16
	v_dual_add_f32 v19, v10, v15 :: v_dual_sub_f32 v20, v15, v22
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_mul_f32_e32 v13, 0x3f317218, v12
	v_add_f32_e32 v17, v25, v23
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v18, 0x3f317218, v16, -v14
	v_add_f32_e32 v22, v11, v17
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v24, v17, v25 :: v_dual_sub_f32 v11, v22, v11
	v_sub_f32_e32 v11, v17, v11
	v_sub_f32_e32 v20, v21, v20
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v21, v23, v24
	v_sub_f32_e32 v10, v19, v10
	v_fma_f32 v23, 0x3f317218, v12, -v13
	v_dual_add_f32 v9, v9, v21 :: v_dual_fmac_f32 v18, 0xb102e308, v16
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_sub_f32 v10, v15, v10 :: v_dual_fmac_f32 v23, 0xb102e308, v12
	v_add_f32_e32 v9, v9, v11
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v11, v13, v23
	v_dual_add_f32 v15, v22, v9 :: v_dual_add_f32 v8, v8, v20
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v13, v11, v13
	v_dual_add_f32 v17, v11, v15 :: v_dual_add_f32 v8, v8, v10
	v_add_f32_e32 v10, v14, v18
	v_sub_f32_e32 v21, v15, v22
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_dual_sub_f32 v13, v23, v13 :: v_dual_sub_f32 v20, v17, v11
	v_add_f32_e32 v12, v19, v8
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_dual_sub_f32 v14, v10, v14 :: v_dual_sub_f32 v9, v9, v21
	v_sub_f32_e32 v22, v17, v20
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f32_e32 v16, v10, v12
	v_sub_f32_e32 v14, v18, v14
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_dual_sub_f32 v18, v12, v19 :: v_dual_sub_f32 v11, v11, v22
	v_sub_f32_e32 v19, v16, v10
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_sub_f32 v15, v15, v20 :: v_dual_sub_f32 v8, v8, v18
	v_sub_f32_e32 v18, v16, v19
	v_dual_sub_f32 v12, v12, v19 :: v_dual_add_f32 v19, v13, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_add_f32 v11, v15, v11 :: v_dual_sub_f32 v10, v10, v18
	v_dual_add_f32 v18, v14, v8 :: v_dual_sub_f32 v15, v19, v13
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_add_f32 v11, v19, v11 :: v_dual_add_f32 v10, v12, v10
	v_dual_sub_f32 v12, v18, v14 :: v_dual_sub_f32 v9, v9, v15
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f32_e32 v20, v17, v11
	v_add_f32_e32 v10, v18, v10
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_sub_f32_e32 v18, v18, v12
	v_sub_f32_e32 v8, v8, v12
	v_dual_sub_f32 v12, v19, v15 :: v_dual_sub_f32 v15, v20, v17
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_add_f32 v19, v16, v10 :: v_dual_sub_f32 v12, v13, v12
	v_dual_sub_f32 v11, v11, v15 :: v_dual_sub_f32 v14, v14, v18
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v13, v19, v16
	v_dual_add_f32 v9, v9, v12 :: v_dual_sub_f32 v10, v10, v13
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v9, v9, v11 :: v_dual_add_f32 v8, v8, v14
	v_add_f32_e32 v8, v8, v10
	v_cndmask_b32_e64 v10, 2.0, 1.0, vcc_lo
	v_cmp_eq_f32_e32 vcc_lo, 1.0, v6
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f32_e32 v11, v19, v8
	v_mul_f32_e32 v25, 0.5, v10
	v_cndmask_b32_e64 v13, 2.0, 1.0, vcc_lo
	v_trunc_f32_e32 v24, v10
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_sub_f32_e32 v14, v11, v19
	v_mul_f32_e32 v15, v10, v11
	v_trunc_f32_e32 v27, v13
	s_delay_alu instid0(VALU_DEP_4)
	v_cmp_eq_f32_e64 s0, v24, v10
	v_mul_f32_e32 v30, 0.5, v13
	v_sub_f32_e32 v8, v8, v14
	v_fma_f32 v11, v10, v11, -v15
	v_add_f32_e32 v12, v20, v9
	v_cmp_class_f32_e64 vcc_lo, v15, 0x204
	v_trunc_f32_e32 v24, v25
	v_cmp_eq_f32_e64 s1, v27, v13
	v_fmac_f32_e32 v11, v10, v8
	v_sub_f32_e32 v16, v12, v20
	v_mul_f32_e32 v17, v13, v12
	v_cmp_neq_f32_e64 s2, v24, v25
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v9, v9, v16
	v_fma_f32 v12, v13, v12, -v17
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	s_and_b32 s2, s0, s2
	v_fmac_f32_e32 v12, v13, v9
	v_trunc_f32_e32 v13, v30
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v9, v17, v12 :: v_dual_add_f32 v8, v15, v11
	v_cndmask_b32_e32 v14, v8, v15, vcc_lo
	v_cmp_class_f32_e64 vcc_lo, v17, 0x204
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cndmask_b32_e32 v16, v9, v17, vcc_lo
	v_cmp_eq_f32_e32 vcc_lo, 0x42b17218, v14
	v_dual_sub_f32 v9, v9, v17 :: v_dual_sub_f32 v8, v8, v15
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_cndmask_b32_e64 v18, 0, 0x37000000, vcc_lo
	v_cmp_eq_f32_e32 vcc_lo, 0x42b17218, v16
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v8, v11, v8
	v_cndmask_b32_e64 v19, 0, 0x37000000, vcc_lo
	v_cmp_eq_f32_e32 vcc_lo, 0, v7
	v_dual_sub_f32 v21, v16, v19 :: v_dual_sub_f32 v20, v14, v18
	v_sub_f32_e32 v9, v12, v9
	v_cndmask_b32_e64 v22, 0x7f800000, 0, vcc_lo
	s_or_b32 vcc_lo, vcc_lo, s6
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_mul_f32 v26, 0x3fb8aa3b, v21 :: v_dual_mul_f32 v23, 0x3fb8aa3b, v20
	v_fma_f32 v31, 0x3fb8aa3b, v21, -v26
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fma_f32 v28, 0x3fb8aa3b, v20, -v23
	v_rndne_f32_e32 v29, v23
	v_rndne_f32_e32 v32, v26
	v_dual_fmac_f32 v31, 0x32a5705f, v21 :: v_dual_fmac_f32 v28, 0x32a5705f, v20
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_dual_sub_f32 v23, v23, v29 :: v_dual_sub_f32 v10, v26, v32
	v_cvt_i32_f32_e32 v11, v29
	v_cvt_i32_f32_e32 v12, v32
	v_dual_add_f32 v23, v23, v28 :: v_dual_add_f32 v10, v10, v31
	v_cmp_neq_f32_e64 s3, 0x7f800000, |v14|
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_exp_f32_e32 v15, v23
	v_exp_f32_e32 v10, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v8, 0, v8, s3
	v_cmp_neq_f32_e64 s3, 0x7f800000, |v16|
	v_add_f32_e32 v8, v18, v8
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(TRANS32_DEP_2)
	v_cndmask_b32_e64 v9, 0, v9, s3
	v_cmp_ngt_f32_e64 s3, 0xc2ce8ed0, v20
	v_ldexp_f32 v11, v15, v11
	s_delay_alu instid0(TRANS32_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_ldexp_f32 v10, v10, v12
	v_cndmask_b32_e64 v12, 1.0, v7, s2
	v_add_f32_e32 v9, v19, v9
	v_cndmask_b32_e64 v11, 0, v11, s3
	v_cmp_ngt_f32_e64 s3, 0xc2ce8ed0, v21
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v10, 0, v10, s3
	v_cmp_nlt_f32_e64 s3, 0x42b17218, v20
	v_cndmask_b32_e64 v11, 0x7f800000, v11, s3
	v_cmp_nlt_f32_e64 s3, 0x42b17218, v21
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v8, v11, v8, v11
	v_cndmask_b32_e64 v10, 0x7f800000, v10, s3
	v_cmp_eq_f32_e64 s4, 0x7f800000, v11
	v_cmp_neq_f32_e64 s3, v13, v30
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f32 v9, v10, v9, v10
	v_cndmask_b32_e64 v8, v8, v11, s4
	v_cmp_eq_f32_e64 s4, 0x7f800000, v10
	s_delay_alu instid0(VALU_DEP_4)
	s_and_b32 s3, s1, s3
	v_cndmask_b32_e64 v11, 0, v7, s2
	v_cndmask_b32_e64 v13, 1.0, v6, s3
	v_bfi_b32 v8, 0x7fffffff, v8, v12
	v_cndmask_b32_e64 v9, v9, v10, s4
	v_cmp_eq_f32_e64 s4, 0, v6
	v_cndmask_b32_e64 v12, 0, v6, s3
	v_cmp_class_f32_e64 s2, v6, 0x204
	v_bfi_b32 v11, 0x7fffffff, v22, v11
	v_bfi_b32 v9, 0x7fffffff, v9, v13
	v_cndmask_b32_e64 v13, 0x7fc00000, v8, s0
	v_cmp_gt_f32_e64 s0, 0, v7
	v_cndmask_b32_e64 v10, 0x7f800000, 0, s4
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v14, 0x7fc00000, v9, s1
	v_cndmask_b32_e64 v8, v8, v13, s0
	v_cmp_gt_f32_e64 s0, 0, v6
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_bfi_b32 v10, 0x7fffffff, v10, v12
	v_cndmask_b32_e32 v8, v8, v11, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v9, v9, v14, s0
	s_or_b32 vcc_lo, s4, s2
	s_mov_b32 s0, exec_lo
	v_cndmask_b32_e32 v9, v9, v10, vcc_lo
	v_cmp_o_f32_e32 vcc_lo, v7, v7
	v_cndmask_b32_e32 v7, 0x7fc00000, v8, vcc_lo
	v_cmp_o_f32_e32 vcc_lo, v6, v6
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v6, 0x7fc00000, v9, vcc_lo
	v_add_f32_e32 v6, v7, v6
	s_delay_alu instid0(VALU_DEP_1)
	v_cmpx_ge_f32_e32 0x37d1b717, v6
	s_cbranch_execz .LBB1_7
; %bb.6:
	v_lshlrev_b64 v[6:7], 2, v[0:1]
	v_mov_b32_e32 v8, 0x3d4ccccd
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v6, vcc_lo, s8, v6
	v_add_co_ci_u32_e32 v7, vcc_lo, s9, v7, vcc_lo
	global_store_b32 v[6:7], v8, off
.LBB1_7:
	s_or_b32 exec_lo, exec_lo, s0
	global_load_b32 v4, v[4:5], off
	global_load_b32 v3, v[2:3], off
	s_waitcnt vmcnt(1)
	v_add_f32_e32 v2, 0x3c75c28f, v4
	s_waitcnt vmcnt(0)
	v_frexp_mant_f32_e64 v4, |v3|
	v_cmp_class_f32_e64 s4, v3, 0x204
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_frexp_mant_f32_e64 v5, |v2|
	v_cmp_gt_f32_e32 vcc_lo, 0x3f2aaaab, v4
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_cmp_gt_f32_e64 s0, 0x3f2aaaab, v5
	v_cndmask_b32_e64 v6, 0, 1, vcc_lo
	v_cndmask_b32_e64 v7, 0, 1, s0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_ldexp_f32 v4, v4, v6
	v_ldexp_f32 v5, v5, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_dual_add_f32 v6, 1.0, v4 :: v_dual_add_f32 v11, -1.0, v5
	v_add_f32_e32 v7, 1.0, v5
	v_rcp_f32_e32 v8, v6
	v_frexp_exp_i32_f32_e32 v19, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_rcp_f32_e32 v9, v7
	s_waitcnt_depctr 0xfff
	v_dual_add_f32 v10, -1.0, v4 :: v_dual_mul_f32 v13, v11, v9
	v_mul_f32_e32 v12, v10, v8
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_add_f32 v16, -1.0, v7 :: v_dual_mul_f32 v17, v7, v13
	v_dual_add_f32 v14, -1.0, v6 :: v_dual_mul_f32 v15, v6, v12
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v5, v5, v16
	v_fma_f32 v7, v13, v7, -v17
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_sub_f32_e32 v4, v4, v14
	v_fma_f32 v6, v12, v6, -v15
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_fmac_f32 v7, v13, v5 :: v_dual_fmac_f32 v6, v12, v4
	v_dual_add_f32 v5, v17, v7 :: v_dual_add_f32 v4, v15, v6
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v17, v5, v17
	v_sub_f32_e32 v16, v11, v5
	v_dual_sub_f32 v14, v10, v4 :: v_dual_sub_f32 v15, v4, v15
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v7, v17, v7
	v_dual_sub_f32 v11, v11, v16 :: v_dual_sub_f32 v10, v10, v14
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v5, v11, v5 :: v_dual_sub_f32 v4, v10, v4
	v_add_f32_e32 v5, v7, v5
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v6, v15, v6 :: v_dual_add_f32 v5, v16, v5
	v_dual_add_f32 v4, v6, v4 :: v_dual_mul_f32 v5, v9, v5
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v4, v14, v4 :: v_dual_add_f32 v7, v13, v5
	v_dual_mul_f32 v4, v8, v4 :: v_dual_sub_f32 v9, v7, v13
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v6, v12, v4 :: v_dual_sub_f32 v5, v5, v9
	v_dual_sub_f32 v8, v6, v12 :: v_dual_add_f32 v13, v5, v5
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v4, v4, v8
	v_dual_mul_f32 v10, v6, v6 :: v_dual_add_f32 v11, v4, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v9, v6, v6, -v10
	v_fmac_f32_e32 v9, v6, v11
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_mul_f32 v8, v7, v7 :: v_dual_add_f32 v11, v10, v9
	v_fma_f32 v12, v7, v7, -v8
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fmaak_f32 v14, s5, v11, 0x3e91f4c4
	v_fmac_f32_e32 v12, v7, v13
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v10, v11, v10 :: v_dual_add_f32 v13, v8, v12
	v_sub_f32_e32 v9, v9, v10
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_2)
	v_fmaak_f32 v15, s5, v13, 0x3e91f4c4
	v_fmaak_f32 v14, v11, v14, 0x3ecccdef
	v_cmp_class_f32_e64 s5, v2, 0x204
	v_dual_fmaak_f32 v15, v13, v15, 0x3ecccdef :: v_dual_mul_f32 v16, v11, v14
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mul_f32_e32 v17, v13, v15
	v_fma_f32 v10, v11, v14, -v16
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v10, v9, v14
	v_add_f32_e32 v18, v16, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v8, v13, v8 :: v_dual_add_f32 v23, 0x3f2aaaaa, v18
	v_sub_f32_e32 v8, v12, v8
	v_fma_f32 v12, v13, v15, -v17
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fmac_f32_e32 v12, v8, v15
	v_mul_f32_e32 v14, v6, v11
	v_frexp_exp_i32_f32_e32 v15, v3
	v_add_f32_e32 v21, v17, v12
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v20, v11, v6, -v14
	v_dual_fmac_f32 v20, v11, v4 :: v_dual_sub_f32 v11, v21, v17
	v_mul_f32_e32 v22, v7, v13
	v_add_f32_e32 v17, 0x3f2aaaaa, v21
	v_ldexp_f32 v4, v4, 1
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_dual_fmac_f32 v20, v9, v6 :: v_dual_sub_f32 v11, v12, v11
	v_fma_f32 v24, v13, v7, -v22
	v_ldexp_f32 v6, v6, 1
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_dual_add_f32 v9, 0x31739010, v11 :: v_dual_fmac_f32 v24, v13, v5
	v_ldexp_f32 v5, v5, 1
	v_fmac_f32_e32 v24, v8, v7
	v_add_f32_e32 v12, 0xbf2aaaaa, v17
	v_ldexp_f32 v7, v7, 1
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_3) | instid1(VALU_DEP_4)
	v_sub_f32_e32 v11, v21, v12
	v_sub_f32_e32 v16, v18, v16
	v_subrev_co_ci_u32_e32 v12, vcc_lo, 0, v15, vcc_lo
	v_add_f32_e32 v15, v22, v24
	v_add_f32_e32 v9, v9, v11
	v_subrev_co_ci_u32_e64 v19, vcc_lo, 0, v19, s0
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_cvt_f32_i32_e32 v12, v12
	v_cmp_eq_f32_e32 vcc_lo, 1.0, v3
	v_dual_add_f32 v13, v17, v9 :: v_dual_sub_f32 v10, v10, v16
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_add_f32 v16, 0xbf2aaaaa, v23 :: v_dual_sub_f32 v17, v17, v13
	v_dual_add_f32 v10, 0x31739010, v10 :: v_dual_mul_f32 v21, v15, v13
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_sub_f32 v16, v18, v16 :: v_dual_add_f32 v9, v9, v17
	v_fma_f32 v17, v15, v13, -v21
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_dual_fmac_f32 v17, v15, v9 :: v_dual_add_f32 v10, v10, v16
	v_add_f32_e32 v8, v14, v20
	v_mul_f32_e32 v9, 0x3f317218, v12
	v_add_f32_e32 v11, v23, v10
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v14, v8, v14
	v_sub_f32_e32 v16, v23, v11
	v_mul_f32_e32 v18, v8, v11
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v14, v20, v14
	v_add_f32_e32 v10, v10, v16
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v16, v8, v11, -v18
	v_fmac_f32_e32 v16, v8, v10
	v_cvt_f32_i32_e32 v10, v19
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v16, v14, v11
	v_dual_add_f32 v11, v18, v16 :: v_dual_sub_f32 v22, v15, v22
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v15, v6, v11 :: v_dual_sub_f32 v8, v24, v22
	v_dual_sub_f32 v6, v15, v6 :: v_dual_fmac_f32 v17, v8, v13
	v_fma_f32 v8, 0x3f317218, v12, -v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v13, v21, v17 :: v_dual_fmac_f32 v8, 0xb102e308, v12
	v_add_f32_e32 v19, v7, v13
	v_sub_f32_e32 v20, v13, v21
	v_sub_f32_e32 v18, v11, v18
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v7, v19, v7
	v_dual_sub_f32 v17, v17, v20 :: v_dual_sub_f32 v16, v16, v18
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v7, v13, v7
	v_add_f32_e32 v5, v5, v17
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_dual_add_f32 v5, v5, v7 :: v_dual_mul_f32 v14, 0x3f317218, v10
	v_sub_f32_e32 v6, v11, v6
	v_add_f32_e32 v11, v19, v5
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v18, 0x3f317218, v10, -v14
	v_dual_add_f32 v4, v4, v16 :: v_dual_sub_f32 v17, v11, v19
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_fmac_f32 v18, 0xb102e308, v10 :: v_dual_sub_f32 v5, v5, v17
	v_add_f32_e32 v10, v14, v18
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v4, v4, v6
	v_dual_sub_f32 v14, v10, v14 :: v_dual_add_f32 v7, v15, v4
	v_add_f32_e32 v13, v10, v11
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v14, v18, v14
	v_dual_add_f32 v6, v9, v8 :: v_dual_sub_f32 v15, v7, v15
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_dual_sub_f32 v16, v13, v10 :: v_dual_sub_f32 v9, v6, v9
	v_add_f32_e32 v12, v6, v7
	v_sub_f32_e32 v8, v8, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v9, v12, v6
	v_sub_f32_e32 v18, v12, v9
	v_dual_sub_f32 v7, v7, v9 :: v_dual_sub_f32 v4, v4, v15
	v_sub_f32_e32 v15, v13, v16
	v_sub_f32_e32 v9, v11, v16
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_dual_add_f32 v11, v8, v4 :: v_dual_sub_f32 v10, v10, v15
	v_add_f32_e32 v15, v14, v5
	v_sub_f32_e32 v6, v6, v18
	v_add_f32_e32 v6, v7, v6
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v7, v9, v10
	v_add_f32_e32 v6, v11, v6
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v7, v15, v7
	v_dual_sub_f32 v9, v11, v8 :: v_dual_add_f32 v16, v13, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v11, v11, v9
	v_sub_f32_e32 v8, v8, v11
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v11, v16, v13
	v_sub_f32_e32 v7, v7, v11
	v_sub_f32_e32 v10, v15, v14
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_2)
	v_dual_sub_f32 v5, v5, v10 :: v_dual_sub_f32 v4, v4, v9
	v_sub_f32_e32 v9, v15, v10
	v_add_f32_e32 v15, v12, v6
	v_dual_add_f32 v4, v4, v8 :: v_dual_sub_f32 v9, v14, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v10, v15, v12 :: v_dual_add_f32 v5, v5, v9
	v_sub_f32_e32 v6, v6, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_dual_add_f32 v4, v4, v6 :: v_dual_add_f32 v5, v5, v7
	v_cndmask_b32_e64 v6, 2.0, 1.0, vcc_lo
	v_cmp_eq_f32_e32 vcc_lo, 1.0, v2
	v_add_f32_e32 v7, v15, v4
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_trunc_f32_e32 v18, v6
	v_cndmask_b32_e64 v9, 2.0, 1.0, vcc_lo
	v_dual_mul_f32 v21, 0.5, v6 :: v_dual_sub_f32 v10, v7, v15
	v_mul_f32_e32 v11, v6, v7
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_trunc_f32_e32 v25, v9
	v_mul_f32_e32 v26, 0.5, v9
	v_sub_f32_e32 v4, v4, v10
	s_delay_alu instid0(VALU_DEP_4)
	v_fma_f32 v7, v6, v7, -v11
	v_add_f32_e32 v8, v16, v5
	v_cmp_class_f32_e64 vcc_lo, v11, 0x204
	v_cmp_eq_f32_e64 s1, v25, v9
	v_trunc_f32_e32 v24, v21
	v_fmac_f32_e32 v7, v6, v4
	v_sub_f32_e32 v12, v8, v16
	v_mul_f32_e32 v13, v9, v8
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_neq_f32_e64 s0, v24, v21
	v_sub_f32_e32 v5, v5, v12
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v8, v9, v8, -v13
	v_fmac_f32_e32 v8, v9, v5
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v4, v11, v7 :: v_dual_add_f32 v5, v13, v8
	v_cndmask_b32_e32 v10, v4, v11, vcc_lo
	v_cmp_class_f32_e64 vcc_lo, v13, 0x204
	v_sub_f32_e32 v4, v4, v11
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_cmp_neq_f32_e64 s2, 0x7f800000, |v10|
	v_cndmask_b32_e32 v12, v5, v13, vcc_lo
	v_cmp_eq_f32_e32 vcc_lo, 0x42b17218, v10
	v_dual_sub_f32 v4, v7, v4 :: v_dual_sub_f32 v5, v5, v13
	v_cndmask_b32_e64 v14, 0, 0x37000000, vcc_lo
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_eq_f32_e32 vcc_lo, 0x42b17218, v12
	v_cndmask_b32_e64 v4, 0, v4, s2
	v_cmp_neq_f32_e64 s2, 0x7f800000, |v12|
	v_cndmask_b32_e64 v15, 0, 0x37000000, vcc_lo
	v_cmp_eq_f32_e32 vcc_lo, v18, v6
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_dual_add_f32 v4, v14, v4 :: v_dual_sub_f32 v17, v12, v15
	s_and_b32 s0, vcc_lo, s0
	v_mul_f32_e32 v20, 0x3fb8aa3b, v17
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fma_f32 v22, 0x3fb8aa3b, v17, -v20
	v_rndne_f32_e32 v23, v20
	v_fmac_f32_e32 v22, 0x32a5705f, v17
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v20, v20, v23
	v_add_f32_e32 v11, v20, v22
	v_sub_f32_e32 v5, v8, v5
	v_cndmask_b32_e64 v8, 1.0, v3, s0
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_exp_f32_e32 v7, v11
	v_cndmask_b32_e64 v5, 0, v5, s2
	v_trunc_f32_e32 v11, v26
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_dual_add_f32 v5, v15, v5 :: v_dual_sub_f32 v16, v10, v14
	v_cvt_i32_f32_e32 v10, v23
	v_mul_f32_e32 v19, 0x3fb8aa3b, v16
	v_cmp_ngt_f32_e64 s2, 0xc2ce8ed0, v16
	s_delay_alu instid0(TRANS32_DEP_1) | instid1(VALU_DEP_3)
	v_ldexp_f32 v7, v7, v10
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_fma_f32 v6, 0x3fb8aa3b, v16, -v19
	v_rndne_f32_e32 v18, v19
	v_dual_fmac_f32 v6, 0x32a5705f, v16 :: v_dual_sub_f32 v19, v19, v18
	v_cvt_i32_f32_e32 v9, v18
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v6, v19, v6
	v_exp_f32_e32 v6, v6
	s_waitcnt_depctr 0xfff
	v_ldexp_f32 v6, v6, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v6, 0, v6, s2
	v_cmp_ngt_f32_e64 s2, 0xc2ce8ed0, v17
	v_cndmask_b32_e64 v7, 0, v7, s2
	v_cmp_nlt_f32_e64 s2, 0x42b17218, v16
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v6, 0x7f800000, v6, s2
	v_cmp_nlt_f32_e64 s2, 0x42b17218, v17
	v_fma_f32 v4, v6, v4, v6
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v7, 0x7f800000, v7, s2
	v_cmp_eq_f32_e64 s3, 0x7f800000, v6
	v_cmp_neq_f32_e64 s2, v11, v26
	v_fma_f32 v5, v7, v5, v7
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_cndmask_b32_e64 v4, v4, v6, s3
	v_cmp_eq_f32_e64 s3, 0x7f800000, v7
	s_and_b32 s2, s1, s2
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v9, 1.0, v2, s2
	v_bfi_b32 v4, 0x7fffffff, v4, v8
	s_delay_alu instid0(VALU_DEP_3)
	v_cndmask_b32_e64 v5, v5, v7, s3
	v_cmp_eq_f32_e64 s3, 0, v3
	v_cndmask_b32_e64 v7, 0, v3, s0
	v_cmp_eq_f32_e64 s0, 0, v2
	v_cndmask_b32_e64 v10, 0, v2, s2
	v_bfi_b32 v5, 0x7fffffff, v5, v9
	v_cndmask_b32_e64 v6, 0x7f800000, 0, s3
	v_cndmask_b32_e32 v9, 0x7fc00000, v4, vcc_lo
	v_cmp_gt_f32_e32 vcc_lo, 0, v3
	v_cndmask_b32_e64 v8, 0x7f800000, 0, s0
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_3) | instid1(VALU_DEP_3)
	v_bfi_b32 v6, 0x7fffffff, v6, v7
	v_cndmask_b32_e64 v7, 0x7fc00000, v5, s1
	v_cndmask_b32_e32 v4, v4, v9, vcc_lo
	v_cmp_gt_f32_e32 vcc_lo, 0, v2
	v_cndmask_b32_e32 v5, v5, v7, vcc_lo
	v_bfi_b32 v7, 0x7fffffff, v8, v10
	s_or_b32 vcc_lo, s3, s4
	v_cndmask_b32_e32 v4, v4, v6, vcc_lo
	s_or_b32 vcc_lo, s0, s5
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cndmask_b32_e32 v5, v5, v7, vcc_lo
	v_cmp_o_f32_e32 vcc_lo, v3, v3
	v_cndmask_b32_e32 v3, 0x7fc00000, v4, vcc_lo
	v_cmp_o_f32_e32 vcc_lo, v2, v2
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v2, 0x7fc00000, v5, vcc_lo
	v_add_f32_e32 v2, v3, v2
	s_delay_alu instid0(VALU_DEP_1)
	v_cmp_ge_f32_e32 vcc_lo, 0x37d1b717, v2
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB1_9
; %bb.8:
	v_lshlrev_b64 v[0:1], 2, v[0:1]
	v_mov_b32_e32 v2, 0x3d4ccccd
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v0, vcc_lo, s8, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, s9, v1, vcc_lo
	global_store_b32 v[0:1], v2, off
.LBB1_9:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z12imagingFieldPfS_S_
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 14
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 1
		.amdhsa_next_free_vgpr 33
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end1:
	.size	_Z12imagingFieldPfS_S_, .Lfunc_end1-_Z12imagingFieldPfS_S_
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 8832
; NumSgprs: 18
; NumVgprs: 33
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 4
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 33
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 14
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 1
	.text
	.protected	_Z28setSensorActivationVariablesPfS_S_S_S_ ; -- Begin function _Z28setSensorActivationVariablesPfS_S_S_S_
	.globl	_Z28setSensorActivationVariablesPfS_S_S_S_
	.p2align	8
	.type	_Z28setSensorActivationVariablesPfS_S_S_S_,@function
_Z28setSensorActivationVariablesPfS_S_S_S_: ; @_Z28setSensorActivationVariablesPfS_S_S_S_
; %bb.0:
	s_clause 0x1
	s_load_b32 s4, s[0:1], 0x34
	s_load_b32 s5, s[0:1], 0x28
	v_bfe_u32 v1, v0, 10, 10
	s_waitcnt lgkmcnt(0)
	s_lshr_b32 s6, s4, 16
	s_getpc_b64 s[2:3]
	s_add_u32 s2, s2, Nx_Ny@rel32@lo+4
	s_addc_u32 s3, s3, Nx_Ny@rel32@hi+12
	v_mad_u64_u32 v[2:3], null, s15, s6, v[1:2]
	s_load_b32 s2, s[2:3], 0x0
	s_and_b32 s3, s4, 0xffff
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[3:4], null, v2, s5, s[14:15]
	v_and_b32_e32 v2, 0x3ff, v0
	v_mad_u64_u32 v[0:1], null, v3, s3, v[2:3]
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_1)
	v_cmp_gt_i32_e32 vcc_lo, s2, v0
	s_and_saveexec_b32 s2, vcc_lo
	s_cbranch_execz .LBB2_2
; %bb.1:
	s_load_b256 s[4:11], s[0:1], 0x0
	v_ashrrev_i32_e32 v1, 31, v0
	s_load_b64 s[0:1], s[0:1], 0x20
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[0:1], 2, v[0:1]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v2, vcc_lo, s4, v0
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v3, vcc_lo, s5, v1, vcc_lo
	s_getpc_b64 s[4:5]
	s_add_u32 s4, s4, dt@rel32@lo+4
	s_addc_u32 s5, s5, dt@rel32@hi+12
	global_load_b32 v2, v[2:3], off
	s_waitcnt vmcnt(0)
	v_add_f32_e32 v2, 1.0, v2
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f32_e32 v3, 0x4f800000, v2
	v_cmp_gt_f32_e32 vcc_lo, 0xf800000, v2
	v_cndmask_b32_e32 v2, v2, v3, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_3) | instid1(VALU_DEP_2)
	v_sqrt_f32_e32 v3, v2
	s_waitcnt_depctr 0xfff
	v_add_nc_u32_e32 v4, -1, v3
	v_add_nc_u32_e32 v5, 1, v3
	v_fma_f32 v6, -v4, v3, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v7, -v5, v3, v2
	v_cmp_ge_f32_e64 s2, 0, v6
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v3, v3, v4, s2
	v_cmp_lt_f32_e64 s2, 0, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v3, v3, v5, s2
	s_load_b32 s2, s[4:5], 0x0
	v_mul_f32_e32 v4, 0x37800000, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_cndmask_b32_e32 v3, v3, v4, vcc_lo
	v_cmp_class_f32_e64 vcc_lo, v2, 0x260
	v_cndmask_b32_e32 v2, v3, v2, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v8, 0x44bb8000, v2
	s_waitcnt lgkmcnt(0)
	v_mul_f32_e32 v4, s2, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_div_scale_f32 v2, null, 0x3a83126f, 0x3a83126f, v4
	v_div_scale_f32 v6, vcc_lo, v4, 0x3a83126f, v4
	v_rcp_f32_e32 v3, v2
	s_waitcnt_depctr 0xfff
	v_fma_f32 v5, -v2, v3, 1.0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v3, v5, v3
	v_mul_f32_e32 v5, v6, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v7, -v2, v5, v6
	v_fmac_f32_e32 v5, v7, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v2, -v2, v5, v6
	v_div_fmas_f32 v5, v2, v3, v5
	v_add_co_u32 v2, vcc_lo, s6, v0
	v_add_co_ci_u32_e32 v3, vcc_lo, s7, v1, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_div_fixup_f32 v9, v5, 0x3a83126f, v4
	v_add_co_u32 v4, vcc_lo, s8, v0
	v_add_co_ci_u32_e32 v5, vcc_lo, s9, v1, vcc_lo
	v_mul_f32_e32 v10, v9, v9
	v_add_co_u32 v6, vcc_lo, s10, v0
	v_add_co_ci_u32_e32 v7, vcc_lo, s11, v1, vcc_lo
	v_add_co_u32 v0, vcc_lo, s0, v0
	s_delay_alu instid0(VALU_DEP_4)
	v_fma_f32 v11, v10, -4.0, 2.0
	v_add_co_ci_u32_e32 v1, vcc_lo, s1, v1, vcc_lo
	global_store_b32 v[2:3], v8, off
	global_store_b32 v[4:5], v9, off
	global_store_b32 v[6:7], v10, off
	global_store_b32 v[0:1], v11, off
.LBB2_2:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z28setSensorActivationVariablesPfS_S_S_S_
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 296
		.amdhsa_user_sgpr_count 14
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 1
		.amdhsa_next_free_vgpr 12
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end2:
	.size	_Z28setSensorActivationVariablesPfS_S_S_S_, .Lfunc_end2-_Z28setSensorActivationVariablesPfS_S_S_S_
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 596
; NumSgprs: 18
; NumVgprs: 12
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 12
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 14
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 1
	.text
	.protected	_Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_ ; -- Begin function _Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_
	.globl	_Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_
	.p2align	8
	.type	_Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_,@function
_Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_: ; @_Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_
; %bb.0:
	s_load_b64 s[2:3], s[0:1], 0x5c
	v_and_b32_e32 v3, 0x3ff, v0
	v_bfe_u32 v4, v0, 10, 10
	s_waitcnt lgkmcnt(0)
	s_lshr_b32 s4, s2, 16
	s_and_b32 s2, s2, 0xffff
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	v_mad_u64_u32 v[1:2], null, s13, s2, v[3:4]
	v_mad_u64_u32 v[2:3], null, s14, s4, v[4:5]
	v_bfe_u32 v3, v0, 20, 10
	s_and_b32 s2, s3, 0xffff
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_nc_u32_e32 v0, 1, v1
	v_mad_u64_u32 v[7:8], null, s15, s2, v[3:4]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_nc_u32_e32 v15, 1, v2
	v_max_i32_e32 v3, v0, v15
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_gt_i32_e64 s2, 8, v7
	v_cmp_gt_i32_e32 vcc_lo, 0xc8, v3
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_b32 s2, s2, vcc_lo
	s_and_saveexec_b32 s3, s2
	s_cbranch_execz .LBB3_13
; %bb.1:
	s_load_b256 s[12:19], s[0:1], 0x30
	v_ashrrev_i32_e32 v8, 31, v7
	s_getpc_b64 s[2:3]
	s_add_u32 s2, s2, Nx_Ny@rel32@lo+4
	s_addc_u32 s3, s3, Nx_Ny@rel32@hi+12
	v_mad_u64_u32 v[5:6], null, 0xc9, v15, v[0:1]
                                        ; implicit-def: $vgpr14
                                        ; implicit-def: $vgpr10_vgpr11
	v_lshlrev_b64 v[12:13], 2, v[7:8]
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v3, vcc_lo, s16, v12
	v_add_co_ci_u32_e32 v4, vcc_lo, s17, v13, vcc_lo
	global_load_b32 v3, v[3:4], off
	s_load_b128 s[20:23], s[0:1], 0x20
	s_load_b32 s2, s[2:3], 0x0
	s_load_b256 s[4:11], s[0:1], 0x0
	s_waitcnt lgkmcnt(0)
	s_mul_i32 s1, s2, s23
	s_delay_alu instid0(SALU_CYCLE_1)
	v_add_nc_u32_e32 v9, s1, v5
	s_waitcnt vmcnt(0)
	v_cmp_lt_i32_e64 s3, v15, v3
	v_cmp_ge_i32_e32 vcc_lo, v15, v3
                                        ; implicit-def: $vgpr3_vgpr4
	s_and_saveexec_b32 s16, vcc_lo
	s_cbranch_execz .LBB3_9
; %bb.2:
	v_add_co_u32 v3, vcc_lo, s18, v12
	v_add_co_ci_u32_e32 v4, vcc_lo, s19, v13, vcc_lo
                                        ; implicit-def: $vgpr14
                                        ; implicit-def: $vgpr10_vgpr11
	global_load_b32 v3, v[3:4], off
	s_waitcnt vmcnt(0)
	v_cmp_gt_i32_e32 vcc_lo, v15, v3
	v_cmp_le_i32_e64 s0, v15, v3
                                        ; implicit-def: $vgpr3_vgpr4
	s_delay_alu instid0(VALU_DEP_1)
	s_and_saveexec_b32 s17, s0
	s_cbranch_execz .LBB3_8
; %bb.3:
	v_add_co_u32 v3, s0, s12, v12
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_4) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e64 v4, s0, s13, v13, s0
                                        ; implicit-def: $vgpr14
                                        ; implicit-def: $vgpr10_vgpr11
	global_load_b32 v3, v[3:4], off
	s_waitcnt vmcnt(0)
	v_cmp_lt_i32_e64 s12, v0, v3
	v_cmp_ge_i32_e64 s0, v0, v3
                                        ; implicit-def: $vgpr3_vgpr4
	s_and_saveexec_b32 s13, s0
	s_cbranch_execz .LBB3_7
; %bb.4:
	v_add_co_u32 v3, s0, s14, v12
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v4, s0, s15, v13, s0
	s_cmp_lt_i32 s23, 24
                                        ; implicit-def: $vgpr14
                                        ; implicit-def: $vgpr10_vgpr11
	s_cselect_b32 s14, -1, 0
	global_load_b32 v3, v[3:4], off
	s_waitcnt vmcnt(0)
	v_cmp_le_i32_e64 s0, v0, v3
                                        ; implicit-def: $vgpr3_vgpr4
	s_delay_alu instid0(VALU_DEP_1)
	s_and_b32 s15, s14, s0
	s_mov_b32 s0, -1
	s_and_saveexec_b32 s14, s15
	s_cbranch_execz .LBB3_6
; %bb.5:
	v_lshlrev_b64 v[3:4], 3, v[7:8]
	v_ashrrev_i32_e32 v10, 31, v9
	v_ashrrev_i32_e32 v6, 31, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_lshlrev_b64 v[10:11], 2, v[9:10]
	v_add_co_u32 v3, s0, s4, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_co_ci_u32_e64 v4, s0, s5, v4, s0
	v_lshlrev_b64 v[12:13], 2, v[5:6]
	global_load_b64 v[3:4], v[3:4], off
	s_waitcnt vmcnt(0)
	v_add_co_u32 v10, s0, v3, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e64 v11, s0, v4, v11, s0
	v_add_co_u32 v14, s0, s6, v12
	v_add_co_ci_u32_e64 v15, s0, s7, v13, s0
	v_add_co_u32 v12, s0, s10, v12
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v13, s0, s11, v13, s0
	s_clause 0x3
	global_load_b32 v16, v[10:11], off offset:804
	global_load_b32 v17, v[10:11], off offset:4
	global_load_b32 v18, v[10:11], off offset:-4
	global_load_b32 v19, v[10:11], off offset:-804
	global_load_b32 v14, v[14:15], off
	global_load_b32 v12, v[12:13], off
	s_xor_b32 s0, exec_lo, -1
	s_waitcnt vmcnt(1)
	v_mul_f32_e32 v15, v14, v14
	v_add_f32_e32 v13, v17, v18
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v13, v13, v16
	v_add_f32_e32 v13, v13, v19
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v14, v12, v13
	v_fmac_f32_e32 v14, s22, v15
.LBB3_6:                                ; %Flow307
	s_or_b32 exec_lo, exec_lo, s14
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_1) | instid1(SALU_CYCLE_1)
	s_and_not1_b32 s6, s12, exec_lo
	s_and_b32 s0, s0, exec_lo
	s_or_b32 s12, s6, s0
.LBB3_7:                                ; %Flow306
	s_or_b32 exec_lo, exec_lo, s13
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_1) | instid1(SALU_CYCLE_1)
	s_and_not1_b32 s0, vcc_lo, exec_lo
	s_and_b32 s6, s12, exec_lo
	s_or_b32 vcc_lo, s0, s6
.LBB3_8:                                ; %Flow305
	s_or_b32 exec_lo, exec_lo, s17
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_1) | instid1(SALU_CYCLE_1)
	s_and_not1_b32 s0, s3, exec_lo
	s_and_b32 s3, vcc_lo, exec_lo
	s_or_b32 s3, s0, s3
.LBB3_9:                                ; %Flow304
	s_or_b32 exec_lo, exec_lo, s16
	s_and_saveexec_b32 s0, s3
	s_cbranch_execz .LBB3_11
; %bb.10:
	v_lshlrev_b64 v[3:4], 3, v[7:8]
	v_ashrrev_i32_e32 v10, 31, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_lshlrev_b64 v[6:7], 2, v[9:10]
	v_add_co_u32 v3, vcc_lo, s4, v3
	s_delay_alu instid0(VALU_DEP_4)
	v_add_co_ci_u32_e32 v4, vcc_lo, s5, v4, vcc_lo
	global_load_b64 v[3:4], v[3:4], off
	s_waitcnt vmcnt(0)
	v_add_co_u32 v10, vcc_lo, v3, v6
	v_ashrrev_i32_e32 v6, 31, v5
	v_add_co_ci_u32_e32 v11, vcc_lo, v4, v7, vcc_lo
	s_clause 0x2
	global_load_b32 v9, v[10:11], off offset:804
	global_load_b32 v12, v[10:11], off offset:4
	global_load_b32 v13, v[10:11], off offset:-4
	v_lshlrev_b64 v[7:8], 2, v[5:6]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v7, vcc_lo, s10, v7
	v_add_co_ci_u32_e32 v8, vcc_lo, s11, v8, vcc_lo
	global_load_b32 v14, v[10:11], off offset:-804
	global_load_b32 v7, v[7:8], off
	s_waitcnt vmcnt(2)
	v_add_f32_e32 v8, v12, v13
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f32_e32 v8, v8, v9
	s_waitcnt vmcnt(1)
	v_add_f32_e32 v8, v8, v14
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_1)
	v_mul_f32_e32 v14, v7, v8
.LBB3_11:
	s_or_b32 exec_lo, exec_lo, s0
	s_sub_i32 s3, s1, s2
	v_lshlrev_b64 v[12:13], 2, v[5:6]
	v_add_nc_u32_e32 v7, s3, v5
	s_add_i32 s0, s1, s2
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_nc_u32_e32 v5, s0, v5
	v_add_co_u32 v12, vcc_lo, s20, v12
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_ashrrev_i32_e32 v8, 31, v7
	v_add_co_ci_u32_e32 v13, vcc_lo, s21, v13, vcc_lo
	v_lshlrev_b64 v[6:7], 2, v[7:8]
	global_load_b32 v8, v[10:11], off
	global_load_b32 v9, v[12:13], off
	v_add_co_u32 v6, vcc_lo, v3, v6
	v_add_co_ci_u32_e32 v7, vcc_lo, v4, v7, vcc_lo
	global_load_b32 v7, v[6:7], off
	v_ashrrev_i32_e32 v6, 31, v5
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[5:6], 2, v[5:6]
	v_add_co_u32 v5, vcc_lo, v3, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_4) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e32 v6, vcc_lo, v4, v6, vcc_lo
	v_cmp_eq_u32_e32 vcc_lo, 0, v2
	s_waitcnt vmcnt(1)
	v_fmac_f32_e32 v14, v9, v8
	s_waitcnt vmcnt(0)
	v_sub_f32_e32 v7, v14, v7
	global_store_b32 v[5:6], v7, off
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB3_13
; %bb.12:
	v_mul_lo_u32 v8, 0xc9, v0
	s_ashr_i32 s4, s3, 31
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v9, 31, v8
	v_lshlrev_b64 v[9:10], 2, v[8:9]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v11, vcc_lo, s8, v9
	v_add_co_ci_u32_e32 v12, vcc_lo, s9, v10, vcc_lo
	v_add_co_u32 v9, vcc_lo, s10, v9
	v_add_co_ci_u32_e32 v10, vcc_lo, s11, v10, vcc_lo
	global_load_b32 v2, v[11:12], off
	s_waitcnt vmcnt(0)
	v_dual_add_f32 v22, v2, v2 :: v_dual_add_nc_u32 v5, s1, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_ashrrev_i32_e32 v6, 31, v5
	v_fma_f32 v20, v2, -2.0, 2.0
	v_lshlrev_b64 v[5:6], 2, v[5:6]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v15, vcc_lo, v3, v5
	v_add_co_ci_u32_e32 v16, vcc_lo, v4, v6, vcc_lo
	global_load_b32 v21, v[9:10], off
	global_load_b96 v[5:7], v[15:16], off
	s_waitcnt vmcnt(1)
	v_dual_sub_f32 v20, v20, v21 :: v_dual_add_nc_u32 v13, s3, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_ashrrev_i32_e32 v14, 31, v13
	v_add_f32_e32 v19, 1.0, v2
	v_fma_f32 v2, v2, 2.0, -1.0
	v_lshlrev_b64 v[13:14], 2, v[13:14]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v19, v22, v19
	s_waitcnt vmcnt(0)
	v_dual_mul_f32 v6, v19, v6 :: v_dual_add_nc_u32 v19, s0, v8
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_co_u32 v13, vcc_lo, v3, v13
	v_add_co_ci_u32_e32 v14, vcc_lo, v4, v14, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_fmac_f32_e32 v6, v20, v5
	v_ashrrev_i32_e32 v20, 31, v19
	global_load_b64 v[17:18], v[13:14], off
	v_fma_f32 v7, -v21, v7, v6
	v_lshlrev_b64 v[5:6], 2, v[19:20]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v19, vcc_lo, v3, v5
	v_add_co_ci_u32_e32 v20, vcc_lo, v4, v6, vcc_lo
	s_waitcnt vmcnt(0)
	v_fmac_f32_e32 v7, v2, v17
	s_delay_alu instid0(VALU_DEP_1)
	v_fma_f32 v2, -v22, v18, v7
	global_store_b32 v[19:20], v2, off
	global_load_b32 v2, v[11:12], off offset:800
	global_load_b32 v10, v[9:10], off offset:800
	s_clause 0x1
	global_load_b96 v[5:7], v[15:16], off offset:792
	global_load_b64 v[8:9], v[13:14], off offset:796
	s_waitcnt vmcnt(3)
	v_fma_f32 v13, v2, -2.0, 2.0
	v_add_f32_e32 v12, 1.0, v2
	s_waitcnt vmcnt(2)
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v13, v13, v10
	v_add_f32_e32 v11, v2, v2
	v_mul_f32_e32 v12, v11, v12
	s_waitcnt vmcnt(1)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v6, v12, v6
	v_fmac_f32_e32 v6, v7, v13
	v_fma_f32 v7, v2, 2.0, -1.0
	v_ashrrev_i32_e32 v2, 31, v1
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_fma_f32 v12, -v10, v5, v6
	s_waitcnt vmcnt(0)
	v_dual_fmac_f32 v12, v7, v9 :: v_dual_add_nc_u32 v5, s1, v0
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_lshlrev_b64 v[9:10], 2, v[1:2]
	v_ashrrev_i32_e32 v6, 31, v5
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f32 v2, -v11, v8, v12
	v_add_co_u32 v7, vcc_lo, s8, v9
	s_delay_alu instid0(VALU_DEP_4)
	v_add_co_ci_u32_e32 v8, vcc_lo, s9, v10, vcc_lo
	global_store_b32 v[19:20], v2, off offset:800
	v_lshlrev_b64 v[5:6], 2, v[5:6]
	global_load_b32 v2, v[7:8], off offset:4
	v_add_co_u32 v7, vcc_lo, s10, v9
	v_add_co_ci_u32_e32 v8, vcc_lo, s11, v10, vcc_lo
	v_add_co_u32 v5, vcc_lo, v3, v5
	v_add_nc_u32_e32 v11, s3, v0
	v_add_co_ci_u32_e32 v6, vcc_lo, v4, v6, vcc_lo
	v_add3_u32 v9, v1, s3, 0xca
	global_load_b32 v15, v[7:8], off offset:4
	s_clause 0x2
	global_load_b32 v13, v[5:6], off offset:804
	global_load_b32 v16, v[5:6], off
	global_load_b32 v17, v[5:6], off offset:1608
	v_ashrrev_i32_e32 v10, 31, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_4) | instid1(VALU_DEP_2)
	v_lshlrev_b64 v[9:10], 2, v[9:10]
	s_waitcnt vmcnt(4)
	v_add_f32_e32 v20, v2, v2
	v_ashrrev_i32_e32 v12, 31, v11
	v_fma_f32 v14, v2, -2.0, 2.0
	v_lshlrev_b64 v[7:8], 2, v[11:12]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v7, vcc_lo, v3, v7
	v_add_co_ci_u32_e32 v8, vcc_lo, v4, v8, vcc_lo
	v_add_co_u32 v5, vcc_lo, v3, v9
	v_add_co_ci_u32_e32 v6, vcc_lo, v4, v10, vcc_lo
	s_clause 0x1
	global_load_b32 v18, v[7:8], off
	global_load_b32 v19, v[5:6], off
	v_add_f32_e32 v10, 1.0, v2
	v_add_nc_u32_e32 v0, s0, v0
	v_fma_f32 v2, v2, 2.0, -1.0
	s_waitcnt vmcnt(5)
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_dual_mul_f32 v21, v20, v10 :: v_dual_sub_f32 v22, v14, v15
	s_waitcnt vmcnt(4)
	v_mul_f32_e32 v21, v21, v13
	v_add_nc_u32_e32 v6, 0xffffff38, v1
	v_ashrrev_i32_e32 v1, 31, v0
	s_waitcnt vmcnt(3)
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fmac_f32_e32 v21, v16, v22
	v_add_nc_u32_e32 v5, s2, v6
	v_add_nc_u32_e32 v7, s1, v6
	v_lshlrev_b64 v[0:1], 2, v[0:1]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_ashrrev_i32_e32 v6, 31, v5
	v_add_co_u32 v13, vcc_lo, v5, s3
	v_ashrrev_i32_e32 v8, 31, v7
	v_add_nc_u32_e32 v9, s1, v5
	s_delay_alu instid0(VALU_DEP_4)
	v_lshlrev_b64 v[11:12], 2, v[5:6]
	v_add_co_ci_u32_e32 v14, vcc_lo, s4, v6, vcc_lo
	s_waitcnt vmcnt(2)
	v_fma_f32 v6, -v15, v17, v21
	v_add_co_u32 v0, vcc_lo, v3, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, v4, v1, vcc_lo
	v_add_co_u32 v15, vcc_lo, s8, v11
	v_add_co_ci_u32_e32 v16, vcc_lo, s9, v12, vcc_lo
	v_lshlrev_b64 v[7:8], 2, v[7:8]
	v_ashrrev_i32_e32 v10, 31, v9
	v_lshlrev_b64 v[13:14], 2, v[13:14]
	v_add_co_u32 v11, vcc_lo, s10, v11
	v_add_co_ci_u32_e32 v12, vcc_lo, s11, v12, vcc_lo
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_3) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[9:10], 2, v[9:10]
	s_waitcnt vmcnt(1)
	v_fmac_f32_e32 v6, v2, v18
	s_waitcnt vmcnt(0)
	v_fma_f32 v2, -v20, v19, v6
	v_add_co_u32 v6, vcc_lo, v3, v7
	v_add_co_ci_u32_e32 v7, vcc_lo, v4, v8, vcc_lo
	global_store_b32 v[0:1], v2, off
	global_load_b32 v2, v[15:16], off
	v_add_co_u32 v0, vcc_lo, v3, v13
	v_add_co_ci_u32_e32 v1, vcc_lo, v4, v14, vcc_lo
	v_add_co_u32 v8, vcc_lo, v3, v9
	v_add_co_ci_u32_e32 v9, vcc_lo, v4, v10, vcc_lo
	global_load_b32 v10, v[11:12], off
	s_clause 0x4
	global_load_b32 v6, v[6:7], off
	global_load_b32 v7, v[0:1], off offset:-804
	global_load_b32 v0, v[8:9], off offset:-804
	global_load_b32 v1, v[8:9], off
	global_load_b32 v8, v[8:9], off offset:-1608
	s_waitcnt vmcnt(6)
	v_add_f32_e32 v9, v2, v2
	v_add_f32_e32 v11, 1.0, v2
	v_fma_f32 v12, v2, -2.0, 2.0
	v_fma_f32 v2, v2, 2.0, -1.0
	s_waitcnt vmcnt(5)
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_dual_mul_f32 v11, v9, v11 :: v_dual_sub_f32 v12, v12, v10
	s_waitcnt vmcnt(2)
	v_dual_mul_f32 v11, v11, v0 :: v_dual_add_nc_u32 v0, s0, v5
	s_waitcnt vmcnt(1)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fmac_f32_e32 v11, v1, v12
	v_ashrrev_i32_e32 v1, 31, v0
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v5, -v10, v8, v11
	v_lshlrev_b64 v[0:1], 2, v[0:1]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fmac_f32_e32 v5, v2, v6
	v_add_co_u32 v0, vcc_lo, v3, v0
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_ci_u32_e32 v1, vcc_lo, v4, v1, vcc_lo
	v_fma_f32 v2, -v9, v7, v5
	global_store_b32 v[0:1], v2, off
.LBB3_13:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 336
		.amdhsa_user_sgpr_count 13
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 1
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 2
		.amdhsa_next_free_vgpr 23
		.amdhsa_next_free_sgpr 24
		.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_end3:
	.size	_Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_, .Lfunc_end3-_Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 2208
; NumSgprs: 26
; NumVgprs: 23
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 3
; VGPRBlocks: 2
; NumSGPRsForWavesPerEU: 26
; NumVGPRsForWavesPerEU: 23
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 13
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 1
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 2
	.text
	.protected	_Z13waveAtCornersPPf    ; -- Begin function _Z13waveAtCornersPPf
	.globl	_Z13waveAtCornersPPf
	.p2align	8
	.type	_Z13waveAtCornersPPf,@function
_Z13waveAtCornersPPf:                   ; @_Z13waveAtCornersPPf
; %bb.0:
	s_clause 0x1
	s_load_b64 s[4:5], s[0:1], 0x14
	s_load_b32 s3, s[0:1], 0x8
	v_bfe_u32 v1, v0, 10, 10
	s_mov_b32 s2, s13
	s_waitcnt lgkmcnt(0)
	s_lshr_b32 s6, s4, 16
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	v_mad_u64_u32 v[2:3], null, s14, s6, v[1:2]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_4) | instid1(VALU_DEP_2)
	v_mad_u64_u32 v[3:4], null, v2, s3, s[2:3]
	v_and_b32_e32 v2, 0x3ff, v0
	v_bfe_u32 v4, v0, 20, 10
	s_and_b32 s3, s4, 0xffff
	s_and_b32 s2, s5, 0xffff
	v_mad_u64_u32 v[0:1], null, v3, s3, v[2:3]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mad_u64_u32 v[1:2], null, s15, s2, v[4:5]
	v_cmp_gt_i32_e32 vcc_lo, 0x191, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cmp_gt_i32_e64 s2, 8, v1
	s_and_b32 s2, s2, vcc_lo
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_saveexec_b32 s3, s2
	s_cbranch_execz .LBB4_2
; %bb.1:
	s_load_b64 s[0:1], s[0:1], 0x0
	v_ashrrev_i32_e32 v2, 31, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[1:2], 3, v[1:2]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v1, vcc_lo, s0, v1
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v2, vcc_lo, s1, v2, vcc_lo
	s_getpc_b64 s[0:1]
	s_add_u32 s0, s0, Nx_Ny@rel32@lo+4
	s_addc_u32 s1, s1, Nx_Ny@rel32@hi+12
	s_load_b32 s0, s[0:1], 0x0
	global_load_b64 v[1:2], v[1:2], off
	s_waitcnt lgkmcnt(0)
	v_mul_lo_u32 v3, s0, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v4, 31, v3
	v_lshlrev_b64 v[4:5], 2, v[3:4]
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v4, vcc_lo, v1, v4
	v_add_co_ci_u32_e32 v5, vcc_lo, v2, v5, vcc_lo
	s_clause 0x3
	global_load_b32 v0, v[4:5], off offset:4
	global_load_b32 v14, v[4:5], off offset:1604
	global_load_b32 v15, v[4:5], off offset:804
	global_load_b32 v16, v[4:5], off offset:796
	s_waitcnt vmcnt(1)
	v_add_f32_e32 v0, v0, v15
	v_add_nc_u32_e32 v17, s0, v3
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_add_f32 v3, v16, v14 :: v_dual_mul_f32 v0, 0.5, v0
	v_add_nc_u32_e32 v6, 0xfffffe6e, v17
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_dual_mul_f32 v3, 0.5, v3 :: v_dual_add_nc_u32 v8, 0xffffff38, v17
	v_add_nc_u32_e32 v10, -2, v17
	v_add_nc_u32_e32 v12, 0xffffff36, v17
	v_ashrrev_i32_e32 v7, 31, v6
	s_delay_alu instid0(VALU_DEP_4)
	v_ashrrev_i32_e32 v9, 31, v8
	s_clause 0x1
	global_store_b32 v[4:5], v0, off
	global_store_b32 v[4:5], v3, off offset:800
	v_ashrrev_i32_e32 v11, 31, v10
	v_ashrrev_i32_e32 v13, 31, v12
	v_lshlrev_b64 v[6:7], 2, v[6:7]
	v_lshlrev_b64 v[8:9], 2, v[8:9]
	v_add_nc_u32_e32 v3, 0xffffff37, v17
	v_lshlrev_b64 v[10:11], 2, v[10:11]
	v_lshlrev_b64 v[12:13], 2, v[12:13]
	v_add_co_u32 v6, vcc_lo, v1, v6
	v_add_co_ci_u32_e32 v7, vcc_lo, v2, v7, vcc_lo
	v_add_co_u32 v8, vcc_lo, v1, v8
	v_add_co_ci_u32_e32 v9, vcc_lo, v2, v9, vcc_lo
	v_add_co_u32 v10, vcc_lo, v1, v10
	v_add_co_ci_u32_e32 v11, vcc_lo, v2, v11, vcc_lo
	v_add_co_u32 v12, vcc_lo, v1, v12
	v_add_co_ci_u32_e32 v13, vcc_lo, v2, v13, vcc_lo
	s_clause 0x3
	global_load_b32 v0, v[6:7], off
	global_load_b32 v7, v[8:9], off
	global_load_b32 v8, v[10:11], off
	global_load_b32 v9, v[12:13], off
	v_ashrrev_i32_e32 v4, 31, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[3:4], 2, v[3:4]
	v_add_co_u32 v3, vcc_lo, v1, v3
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v4, vcc_lo, v2, v4, vcc_lo
	s_waitcnt vmcnt(2)
	v_add_f32_e32 v7, v0, v7
	v_add_nc_u32_e32 v5, -1, v17
	s_waitcnt vmcnt(0)
	v_add_f32_e32 v8, v8, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v6, 31, v5
	v_lshlrev_b64 v[5:6], 2, v[5:6]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v0, vcc_lo, v1, v5
	v_add_co_ci_u32_e32 v1, vcc_lo, v2, v6, vcc_lo
	v_dual_mul_f32 v2, 0.5, v7 :: v_dual_mul_f32 v5, 0.5, v8
	s_clause 0x1
	global_store_b32 v[3:4], v2, off
	global_store_b32 v[0:1], v5, off
.LBB4_2:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z13waveAtCornersPPf
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 264
		.amdhsa_user_sgpr_count 13
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 1
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 2
		.amdhsa_next_free_vgpr 18
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end4:
	.size	_Z13waveAtCornersPPf, .Lfunc_end4-_Z13waveAtCornersPPf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 668
; NumSgprs: 18
; NumVgprs: 18
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 2
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 18
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 13
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 1
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 2
	.text
	.protected	_Z13waveAtSensorsPPfS_S_S_S_i ; -- Begin function _Z13waveAtSensorsPPfS_S_S_S_i
	.globl	_Z13waveAtSensorsPPfS_S_S_S_i
	.p2align	8
	.type	_Z13waveAtSensorsPPfS_S_S_S_i,@function
_Z13waveAtSensorsPPfS_S_S_S_i:          ; @_Z13waveAtSensorsPPfS_S_S_S_i
; %bb.0:
	s_load_b64 s[2:3], s[0:1], 0x3c
	v_bfe_u32 v1, v0, 10, 10
	v_and_b32_e32 v4, 0x3ff, v0
	s_waitcnt lgkmcnt(0)
	s_lshr_b32 s4, s2, 16
	s_and_b32 s2, s2, 0xffff
	v_mad_u64_u32 v[2:3], null, s14, s4, v[1:2]
	s_mul_i32 s13, s13, s2
	v_bfe_u32 v3, v0, 20, 10
	v_add3_u32 v4, v4, s13, 2
	s_and_b32 s2, s3, 0xffff
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	v_mad_u64_u32 v[0:1], null, s15, s2, v[3:4]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_nc_u32_e32 v3, 21, v2
	v_cmp_gt_i32_e32 vcc_lo, 0x191, v4
	v_cmp_gt_i32_e64 s2, 0xb4, v3
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_gt_i32_e64 s3, 8, v0
	s_and_b32 s2, vcc_lo, s2
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	s_and_b32 s2, s3, s2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_saveexec_b32 s3, s2
	s_cbranch_execz .LBB5_2
; %bb.1:
	s_load_b256 s[4:11], s[0:1], 0x0
	v_ashrrev_i32_e32 v1, 31, v0
	s_getpc_b64 s[2:3]
	s_add_u32 s2, s2, Nx_Ny@rel32@lo+4
	s_addc_u32 s3, s3, Nx_Ny@rel32@hi+12
	s_load_b32 s2, s[2:3], 0x0
	v_lshlrev_b64 v[5:6], 3, v[0:1]
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v5, vcc_lo, s4, v5
	v_add_co_ci_u32_e32 v6, vcc_lo, s5, v6, vcc_lo
	v_mul_lo_u32 v1, s2, v4
	s_load_b32 s4, s[0:1], 0x28
	s_getpc_b64 s[2:3]
	s_add_u32 s2, s2, Nt_Nx@rel32@lo+4
	s_addc_u32 s3, s3, Nt_Nx@rel32@hi+12
	global_load_b64 v[5:6], v[5:6], off
	s_load_b32 s2, s[2:3], 0x0
	s_load_b64 s[0:1], s[0:1], 0x20
	v_add_nc_u32_e32 v2, v2, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_nc_u32_e32 v7, 0x8d69, v2
	v_add_nc_u32_e32 v9, 0xfc9, v2
	v_ashrrev_i32_e32 v8, 31, v7
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_ashrrev_i32_e32 v10, 31, v9
	s_waitcnt lgkmcnt(0)
	v_lshl_add_u32 v0, s4, 3, v0
	v_lshlrev_b64 v[7:8], 2, v[7:8]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_lshlrev_b64 v[9:10], 2, v[9:10]
	v_mul_lo_u32 v0, s2, v0
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_co_u32 v7, vcc_lo, v5, v7
	v_add_co_ci_u32_e32 v8, vcc_lo, v6, v8, vcc_lo
	global_load_b32 v13, v[7:8], off
	v_mul_lo_u32 v7, 0x191, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add3_u32 v7, v7, v4, v0
	v_ashrrev_i32_e32 v8, 31, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[7:8], 2, v[7:8]
	v_add_co_u32 v11, vcc_lo, s6, v7
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v12, vcc_lo, s7, v8, vcc_lo
	v_add_co_u32 v9, vcc_lo, v5, v9
	v_add_co_ci_u32_e32 v10, vcc_lo, v6, v10, vcc_lo
	s_waitcnt vmcnt(0)
	global_store_b32 v[11:12], v13, off
	global_load_b32 v4, v[9:10], off
	v_mad_u64_u32 v[9:10], null, 0xc9, v3, v[1:2]
	v_add_co_u32 v2, vcc_lo, s8, v7
	v_add_co_ci_u32_e32 v3, vcc_lo, s9, v8, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v10, 31, v9
	v_lshlrev_b64 v[0:1], 2, v[9:10]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v0, vcc_lo, v5, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, v6, v1, vcc_lo
	s_waitcnt vmcnt(0)
	global_store_b32 v[2:3], v4, off
	global_load_b32 v4, v[0:1], off offset:720
	v_add_co_u32 v2, vcc_lo, s10, v7
	v_add_co_ci_u32_e32 v3, vcc_lo, s11, v8, vcc_lo
	s_waitcnt vmcnt(0)
	global_store_b32 v[2:3], v4, off
	global_load_b32 v2, v[0:1], off offset:80
	v_add_co_u32 v0, vcc_lo, s0, v7
	v_add_co_ci_u32_e32 v1, vcc_lo, s1, v8, vcc_lo
	s_waitcnt vmcnt(0)
	global_store_b32 v[0:1], v2, off
.LBB5_2:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z13waveAtSensorsPPfS_S_S_S_i
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 304
		.amdhsa_user_sgpr_count 13
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 1
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 2
		.amdhsa_next_free_vgpr 14
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end5:
	.size	_Z13waveAtSensorsPPfS_S_S_S_i, .Lfunc_end5-_Z13waveAtSensorsPPfS_S_S_S_i
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 616
; NumSgprs: 18
; NumVgprs: 14
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 14
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 13
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 1
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 2
	.text
	.protected	_Z8setAlphaPf           ; -- Begin function _Z8setAlphaPf
	.globl	_Z8setAlphaPf
	.p2align	8
	.type	_Z8setAlphaPf,@function
_Z8setAlphaPf:                          ; @_Z8setAlphaPf
; %bb.0:
	s_load_b32 s2, s[0:1], 0x14
	v_and_b32_e32 v1, 0x3ff, v0
	v_bfe_u32 v2, v0, 10, 10
	s_waitcnt lgkmcnt(0)
	s_and_b32 s3, s2, 0xffff
	s_lshr_b32 s2, s2, 16
	s_mul_i32 s14, s14, s3
	s_mul_i32 s15, s15, s2
	v_add3_u32 v0, v1, s14, 21
	v_add3_u32 v1, v2, s15, 21
	s_mov_b32 s2, exec_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_max_i32_e32 v2, v0, v1
	v_cmpx_gt_i32_e32 0xb4, v2
	s_cbranch_execz .LBB6_2
; %bb.1:
	s_load_b64 s[0:1], s[0:1], 0x0
	v_mad_u64_u32 v[2:3], null, 0xc9, v1, v[0:1]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v3, 31, v2
	v_lshlrev_b64 v[0:1], 2, v[2:3]
	v_mov_b32_e32 v2, 1.0
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v0, vcc_lo, s0, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, s1, v1, vcc_lo
	global_store_b32 v[0:1], v2, off
.LBB6_2:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z8setAlphaPf
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 264
		.amdhsa_user_sgpr_count 14
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 1
		.amdhsa_next_free_vgpr 4
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end6:
	.size	_Z8setAlphaPf, .Lfunc_end6-_Z8setAlphaPf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 168
; NumSgprs: 18
; NumVgprs: 4
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 4
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 14
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 1
	.text
	.protected	_Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i ; -- Begin function _Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i
	.globl	_Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i
	.p2align	8
	.type	_Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i,@function
_Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i: ; @_Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i
; %bb.0:
	s_load_b64 s[2:3], s[0:1], 0x5c
	v_bfe_u32 v3, v0, 10, 10
	v_and_b32_e32 v5, 0x3ff, v0
	s_waitcnt lgkmcnt(0)
	s_lshr_b32 s4, s2, 16
	s_and_b32 s2, s2, 0xffff
	v_mad_u64_u32 v[1:2], null, s14, s4, v[3:4]
	v_bfe_u32 v4, v0, 20, 10
	s_mul_i32 s13, s13, s2
	s_and_b32 s2, s3, 0xffff
	v_add3_u32 v0, v5, s13, 2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_mad_u64_u32 v[2:3], null, s15, s2, v[4:5]
	v_add_nc_u32_e32 v4, 21, v1
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_gt_i32_e32 vcc_lo, 0x191, v0
	v_cmp_gt_i32_e64 s2, 0xb4, v4
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_gt_i32_e64 s3, 8, v2
	s_and_b32 s2, vcc_lo, s2
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	s_and_b32 s2, s3, s2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_saveexec_b32 s3, s2
	s_cbranch_execz .LBB7_2
; %bb.1:
	s_load_b512 s[4:19], s[0:1], 0x0
	v_ashrrev_i32_e32 v3, 31, v2
	s_getpc_b64 s[2:3]
	s_add_u32 s2, s2, Nx_Ny@rel32@lo+4
	s_addc_u32 s3, s3, Nx_Ny@rel32@hi+12
	s_load_b32 s20, s[0:1], 0x48
	v_mad_u64_u32 v[9:10], null, 0x191, v4, v[0:1]
	v_lshlrev_b64 v[5:6], 3, v[2:3]
	s_load_b64 s[0:1], s[0:1], 0x40
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v7, vcc_lo, s4, v5
	v_add_co_ci_u32_e32 v8, vcc_lo, s5, v6, vcc_lo
	s_getpc_b64 s[4:5]
	s_add_u32 s4, s4, Nt_Nx@rel32@lo+4
	s_addc_u32 s5, s5, Nt_Nx@rel32@hi+12
	v_lshl_add_u32 v10, s20, 3, v2
	v_add_co_u32 v13, vcc_lo, s14, v5
	global_load_b64 v[7:8], v[7:8], off
	s_load_b32 s2, s[2:3], 0x0
	s_load_b32 s3, s[4:5], 0x0
	v_add_co_ci_u32_e32 v14, vcc_lo, s15, v6, vcc_lo
	s_waitcnt lgkmcnt(0)
	v_mul_lo_u32 v0, s2, v0
	v_mad_u64_u32 v[2:3], null, s3, v10, v[9:10]
	v_ashrrev_i32_e32 v10, 31, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_lshlrev_b64 v[9:10], 2, v[9:10]
	v_add_nc_u32_e32 v17, v1, v0
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_ashrrev_i32_e32 v3, 31, v2
	v_add_nc_u32_e32 v1, 0x8d69, v17
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_lshlrev_b64 v[11:12], 2, v[2:3]
	v_ashrrev_i32_e32 v2, 31, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v15, vcc_lo, s6, v11
	v_add_co_ci_u32_e32 v16, vcc_lo, s7, v12, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[1:2], 2, v[1:2]
	s_waitcnt vmcnt(0)
	v_add_co_u32 v1, vcc_lo, v7, v1
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v2, vcc_lo, v8, v2, vcc_lo
	global_load_b64 v[13:14], v[13:14], off
	global_load_b32 v3, v[15:16], off
	global_load_b32 v19, v[1:2], off
	v_add_nc_u32_e32 v1, 0xfc9, v17
	v_add_co_u32 v15, vcc_lo, s16, v5
	v_add_co_ci_u32_e32 v16, vcc_lo, s17, v6, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_ashrrev_i32_e32 v2, 31, v1
	v_add_co_u32 v17, vcc_lo, s8, v11
	v_add_co_ci_u32_e32 v18, vcc_lo, s9, v12, vcc_lo
	v_lshlrev_b64 v[1:2], 2, v[1:2]
	global_load_b64 v[15:16], v[15:16], off
	s_waitcnt vmcnt(3)
	v_add_co_u32 v13, vcc_lo, v13, v9
	v_add_co_ci_u32_e32 v14, vcc_lo, v14, v10, vcc_lo
	s_waitcnt vmcnt(1)
	v_sub_f32_e32 v3, v3, v19
	v_add_co_u32 v1, vcc_lo, v7, v1
	v_add_co_ci_u32_e32 v2, vcc_lo, v8, v2, vcc_lo
	global_store_b32 v[13:14], v3, off
	global_load_b32 v17, v[17:18], off
	global_load_b32 v18, v[1:2], off
	v_mad_u64_u32 v[1:2], null, 0xc9, v4, v[0:1]
	v_add_co_u32 v3, vcc_lo, s18, v5
	v_add_co_ci_u32_e32 v4, vcc_lo, s19, v6, vcc_lo
	v_add_co_u32 v13, vcc_lo, s10, v11
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_3) | instid1(VALU_DEP_3)
	v_ashrrev_i32_e32 v2, 31, v1
	v_add_co_ci_u32_e32 v14, vcc_lo, s11, v12, vcc_lo
	s_waitcnt vmcnt(2)
	v_add_co_u32 v15, vcc_lo, v15, v9
	v_lshlrev_b64 v[0:1], 2, v[1:2]
	v_add_co_ci_u32_e32 v16, vcc_lo, v16, v10, vcc_lo
	global_load_b64 v[2:3], v[3:4], off
	v_add_co_u32 v0, vcc_lo, v7, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, v8, v1, vcc_lo
	v_add_co_u32 v7, vcc_lo, s12, v11
	v_add_co_ci_u32_e32 v8, vcc_lo, s13, v12, vcc_lo
	s_waitcnt vmcnt(1)
	v_sub_f32_e32 v17, v17, v18
	global_store_b32 v[15:16], v17, off
	global_load_b32 v4, v[13:14], off
	global_load_b32 v13, v[0:1], off offset:720
	s_waitcnt vmcnt(2)
	v_add_co_u32 v2, vcc_lo, v2, v9
	v_add_co_ci_u32_e32 v3, vcc_lo, v3, v10, vcc_lo
	s_waitcnt vmcnt(0)
	v_sub_f32_e32 v11, v4, v13
	v_add_co_u32 v4, vcc_lo, s0, v5
	v_add_co_ci_u32_e32 v5, vcc_lo, s1, v6, vcc_lo
	global_store_b32 v[2:3], v11, off
	global_load_b32 v2, v[7:8], off
	global_load_b32 v3, v[0:1], off offset:80
	global_load_b64 v[0:1], v[4:5], off
	s_waitcnt vmcnt(1)
	v_sub_f32_e32 v2, v2, v3
	s_waitcnt vmcnt(0)
	v_add_co_u32 v0, vcc_lo, v0, v9
	v_add_co_ci_u32_e32 v1, vcc_lo, v1, v10, vcc_lo
	global_store_b32 v[0:1], v2, off
.LBB7_2:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 336
		.amdhsa_user_sgpr_count 13
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 1
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 2
		.amdhsa_next_free_vgpr 20
		.amdhsa_next_free_sgpr 21
		.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_end7:
	.size	_Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i, .Lfunc_end7-_Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 808
; NumSgprs: 23
; NumVgprs: 20
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 2
; NumSGPRsForWavesPerEU: 23
; NumVGPRsForWavesPerEU: 20
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 13
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 1
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 2
	.text
	.protected	_Z4setZPPf              ; -- Begin function _Z4setZPPf
	.globl	_Z4setZPPf
	.p2align	8
	.type	_Z4setZPPf,@function
_Z4setZPPf:                             ; @_Z4setZPPf
; %bb.0:
	s_load_b64 s[2:3], s[0:1], 0x14
	v_and_b32_e32 v3, 0x3ff, v0
	v_bfe_u32 v4, v0, 10, 10
	v_bfe_u32 v0, v0, 20, 10
	s_waitcnt lgkmcnt(0)
	s_lshr_b32 s4, s2, 16
	s_and_b32 s2, s2, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1)
	v_mad_u64_u32 v[1:2], null, s13, s2, v[3:4]
	v_mad_u64_u32 v[2:3], null, s14, s4, v[4:5]
	s_and_b32 s2, s3, 0xffff
	s_delay_alu instid0(VALU_DEP_2) | instid1(SALU_CYCLE_1)
	v_mad_u64_u32 v[3:4], null, s15, s2, v[0:1]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_max_i32_e32 v0, v1, v2
	v_cmp_gt_i32_e32 vcc_lo, 0xc9, v0
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cmp_gt_i32_e64 s2, 8, v3
	s_and_b32 s2, vcc_lo, s2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_saveexec_b32 s3, s2
	s_cbranch_execz .LBB8_2
; %bb.1:
	s_load_b64 s[0:1], s[0:1], 0x0
	v_ashrrev_i32_e32 v4, 31, v3
	v_mul_lo_u32 v0, 0xc9, v2
	v_mov_b32_e32 v2, 0
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[3:4], 3, v[3:4]
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v3, vcc_lo, s0, v3
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v4, vcc_lo, s1, v4, vcc_lo
	s_getpc_b64 s[0:1]
	s_add_u32 s0, s0, Nx_Ny_Nt@rel32@lo+4
	s_addc_u32 s1, s1, Nx_Ny_Nt@rel32@hi+12
	s_getpc_b64 s[2:3]
	s_add_u32 s2, s2, Nx_Ny@rel32@lo+4
	s_addc_u32 s3, s3, Nx_Ny@rel32@hi+12
	global_load_b64 v[3:4], v[3:4], off
	s_load_b32 s0, s[0:1], 0x0
	s_load_b32 s1, s[2:3], 0x0
	s_waitcnt lgkmcnt(0)
	v_add3_u32 v0, v0, v1, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_subrev_nc_u32_e32 v5, s1, v0
	v_ashrrev_i32_e32 v1, 31, v0
	v_ashrrev_i32_e32 v6, 31, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_lshlrev_b64 v[0:1], 2, v[0:1]
	v_lshlrev_b64 v[5:6], 2, v[5:6]
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v5, vcc_lo, v3, v5
	v_add_co_ci_u32_e32 v6, vcc_lo, v4, v6, vcc_lo
	s_delay_alu instid0(VALU_DEP_4)
	v_add_co_u32 v0, vcc_lo, v3, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, v4, v1, vcc_lo
	s_clause 0x1
	global_store_b32 v[5:6], v2, off
	global_store_b32 v[0:1], v2, off
.LBB8_2:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z4setZPPf
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 264
		.amdhsa_user_sgpr_count 13
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 1
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 2
		.amdhsa_next_free_vgpr 7
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end8:
	.size	_Z4setZPPf, .Lfunc_end8-_Z4setZPPf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 372
; NumSgprs: 18
; NumVgprs: 7
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 7
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 13
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 1
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 2
	.text
	.protected	_Z19waveBackpropagationPPfS_fi ; -- Begin function _Z19waveBackpropagationPPfS_fi
	.globl	_Z19waveBackpropagationPPfS_fi
	.p2align	8
	.type	_Z19waveBackpropagationPPfS_fi,@function
_Z19waveBackpropagationPPfS_fi:         ; @_Z19waveBackpropagationPPfS_fi
; %bb.0:
	s_load_b64 s[2:3], s[0:1], 0x24
	v_and_b32_e32 v3, 0x3ff, v0
	v_bfe_u32 v5, v0, 20, 10
	s_waitcnt lgkmcnt(0)
	s_and_b32 s4, s2, 0xffff
	s_lshr_b32 s2, s2, 16
	v_mad_u64_u32 v[1:2], null, s13, s4, v[3:4]
	v_bfe_u32 v2, v0, 10, 10
	s_mul_i32 s14, s14, s2
	s_and_b32 s2, s3, 0xffff
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add3_u32 v4, v2, s14, 1
	v_add_nc_u32_e32 v0, 1, v1
	v_mad_u64_u32 v[2:3], null, s15, s2, v[5:6]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_max_i32_e32 v3, v0, v4
	v_cmp_gt_i32_e64 s2, 8, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_gt_i32_e32 vcc_lo, 0xc8, v3
	s_and_b32 s2, vcc_lo, s2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_saveexec_b32 s3, s2
	s_cbranch_execz .LBB9_2
; %bb.1:
	s_load_b128 s[4:7], s[0:1], 0x0
	v_ashrrev_i32_e32 v3, 31, v2
	s_getpc_b64 s[2:3]
	s_add_u32 s2, s2, Nx_Ny@rel32@lo+4
	s_addc_u32 s3, s3, Nx_Ny@rel32@hi+12
	s_load_b64 s[0:1], s[0:1], 0x10
	s_load_b32 s2, s[2:3], 0x0
	v_mul_lo_u32 v4, 0xc9, v4
	v_lshlrev_b64 v[2:3], 3, v[2:3]
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v2, vcc_lo, s4, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s5, v3, vcc_lo
	s_ashr_i32 s3, s2, 31
	global_load_b64 v[5:6], v[2:3], off
	v_add_nc_u32_e32 v2, v4, v0
	v_add_nc_u32_e32 v0, v4, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_mad_u64_u32 v[7:8], null, s2, s1, v[2:3]
	v_ashrrev_i32_e32 v3, 31, v2
	v_ashrrev_i32_e32 v1, 31, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_lshlrev_b64 v[2:3], 2, v[2:3]
	v_add_nc_u32_e32 v8, s2, v7
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_lshlrev_b64 v[0:1], 2, v[0:1]
	s_lshl_b64 s[2:3], s[2:3], 2
	v_add_co_u32 v2, vcc_lo, s6, v2
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_ashrrev_i32_e32 v9, 31, v8
	v_add_co_ci_u32_e32 v3, vcc_lo, s7, v3, vcc_lo
	v_lshlrev_b64 v[8:9], 2, v[8:9]
	global_load_b32 v10, v[2:3], off offset:804
	s_waitcnt vmcnt(1)
	v_add_co_u32 v8, vcc_lo, v5, v8
	v_add_co_ci_u32_e32 v9, vcc_lo, v6, v9, vcc_lo
	v_add_co_u32 v0, vcc_lo, s6, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, s7, v1, vcc_lo
	global_load_b32 v11, v[2:3], off offset:-804
	global_load_b32 v12, v[8:9], off offset:804
	global_load_b32 v13, v[0:1], off
	global_load_b32 v14, v[8:9], off offset:-804
	global_load_b64 v[3:4], v[2:3], off
	global_load_b96 v[0:2], v[8:9], off offset:-4
	v_add_co_u32 v8, vcc_lo, v8, s2
	v_add_co_ci_u32_e32 v9, vcc_lo, s3, v9, vcc_lo
	s_getpc_b64 s[2:3]
	s_add_u32 s2, s2, h2@rel32@lo+4
	s_addc_u32 s3, s3, h2@rel32@hi+12
	s_load_b32 s1, s[2:3], 0x0
	global_load_b32 v9, v[8:9], off
	s_waitcnt vmcnt(7)
	v_add_f32_e32 v8, 1.0, v10
	s_waitcnt vmcnt(6)
	v_add_f32_e32 v10, 1.0, v11
	s_waitcnt vmcnt(4)
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_2)
	v_dual_mul_f32 v8, v8, v12 :: v_dual_add_f32 v11, 1.0, v13
	s_waitcnt vmcnt(2)
	v_dual_add_f32 v4, 1.0, v4 :: v_dual_add_f32 v3, 1.0, v3
	v_fmac_f32_e32 v8, v10, v14
	s_waitcnt vmcnt(1)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fmac_f32_e32 v8, v11, v0
	v_mul_f32_e32 v0, -4.0, v3
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v8, v4, v2
	v_fmac_f32_e32 v8, v1, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v0, s0, v8
	s_waitcnt lgkmcnt(0)
	v_div_scale_f32 v2, null, s1, s1, v0
	v_div_scale_f32 v8, vcc_lo, v0, s1, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_rcp_f32_e32 v3, v2
	s_waitcnt_depctr 0xfff
	v_fma_f32 v4, -v2, v3, 1.0
	v_fmac_f32_e32 v3, v4, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v4, v8, v3
	v_fma_f32 v10, -v2, v4, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v4, v10, v3
	v_fma_f32 v2, -v2, v4, v8
	v_ashrrev_i32_e32 v8, 31, v7
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_div_fmas_f32 v2, v2, v3, v4
	v_div_fixup_f32 v2, v2, s1, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_fmac_f32_e32 v2, 2.0, v1
	v_lshlrev_b64 v[0:1], 2, v[7:8]
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v2, v2, v9
	v_add_co_u32 v0, vcc_lo, v5, v0
	s_delay_alu instid0(VALU_DEP_3)
	v_add_co_ci_u32_e32 v1, vcc_lo, v6, v1, vcc_lo
	global_store_b32 v[0:1], v2, off
.LBB9_2:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z19waveBackpropagationPPfS_fi
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 13
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 1
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 2
		.amdhsa_next_free_vgpr 15
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end9:
	.size	_Z19waveBackpropagationPPfS_fi, .Lfunc_end9-_Z19waveBackpropagationPPfS_fi
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 704
; NumSgprs: 18
; NumVgprs: 15
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 15
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 13
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 1
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 2
	.text
	.protected	_Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i ; -- Begin function _Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i
	.globl	_Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i
	.p2align	8
	.type	_Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i,@function
_Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i: ; @_Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i
; %bb.0:
	s_clause 0x1
	s_load_b32 s4, s[0:1], 0x30
	s_load_b64 s[2:3], s[0:1], 0x3c
	v_bfe_u32 v3, v0, 10, 10
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_4) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[1:2], null, s4, v3, s[14:15]
	v_and_b32_e32 v2, 0x3ff, v0
	v_bfe_u32 v3, v0, 20, 10
	s_and_b32 s2, s2, 0xffff
	s_and_b32 s3, s3, 0xffff
	v_mad_u64_u32 v[7:8], null, v1, s2, v[2:3]
	v_mad_u64_u32 v[0:1], null, s15, s3, v[3:4]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_gt_i32_e32 vcc_lo, 0xc8, v7
	v_cmp_gt_i32_e64 s2, 8, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_b32 s2, s2, vcc_lo
	s_and_saveexec_b32 s3, s2
	s_cbranch_execz .LBB10_4
; %bb.1:
	s_load_b256 s[4:11], s[0:1], 0x0
	v_ashrrev_i32_e32 v1, 31, v0
	s_getpc_b64 s[2:3]
	s_add_u32 s2, s2, Nx_Ny@rel32@lo+4
	s_addc_u32 s3, s3, Nx_Ny@rel32@hi+12
	v_ashrrev_i32_e32 v5, 31, v7
	v_lshlrev_b64 v[2:3], 3, v[0:1]
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v0, vcc_lo, s4, v2
	v_add_co_ci_u32_e32 v1, vcc_lo, s5, v3, vcc_lo
	global_load_b64 v[0:1], v[0:1], off
	s_load_b32 s12, s[0:1], 0x28
	s_load_b32 s2, s[2:3], 0x0
	s_mov_b32 s3, exec_lo
	s_waitcnt lgkmcnt(0)
	s_mul_i32 s4, s2, s12
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_3) | instid1(VALU_DEP_1)
	v_mad_u64_u32 v[8:9], null, 0xc9, v7, s[4:5]
	s_ashr_i32 s5, s4, 31
	v_add_co_u32 v4, vcc_lo, v7, s4
	v_add_co_ci_u32_e32 v5, vcc_lo, s5, v5, vcc_lo
	v_lshlrev_b64 v[4:5], 2, v[4:5]
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v4, vcc_lo, v0, v4
	v_add_co_ci_u32_e32 v5, vcc_lo, v1, v5, vcc_lo
	global_load_b32 v11, v[4:5], off offset:804
	v_add_nc_u32_e32 v4, s4, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add3_u32 v9, 0xfffffe6e, s2, v4
	v_ashrrev_i32_e32 v5, 31, v4
	v_ashrrev_i32_e32 v10, 31, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_lshlrev_b64 v[5:6], 2, v[4:5]
	v_lshlrev_b64 v[9:10], 2, v[9:10]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v5, vcc_lo, v0, v5
	v_add_co_ci_u32_e32 v6, vcc_lo, v1, v6, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_co_u32 v9, vcc_lo, v0, v9
	v_add_co_ci_u32_e32 v10, vcc_lo, v1, v10, vcc_lo
	s_waitcnt vmcnt(0)
	global_store_b32 v[5:6], v11, off
	global_load_b32 v12, v[9:10], off
	v_add3_u32 v5, 0xffffff37, s2, v4
	v_ashrrev_i32_e32 v9, 31, v8
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_ashrrev_i32_e32 v6, 31, v5
	v_lshlrev_b64 v[8:9], 2, v[8:9]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[5:6], 2, v[5:6]
	v_add_co_u32 v10, vcc_lo, v0, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_co_ci_u32_e32 v11, vcc_lo, v1, v6, vcc_lo
	v_add_co_u32 v5, vcc_lo, v0, v8
	v_add_co_ci_u32_e32 v6, vcc_lo, v1, v9, vcc_lo
	s_waitcnt vmcnt(0)
	global_store_b32 v[10:11], v12, off
	s_clause 0x1
	global_load_b32 v8, v[5:6], off offset:4
	global_load_b32 v9, v[5:6], off offset:796
	v_subrev_nc_u32_e32 v10, 21, v7
	s_waitcnt vmcnt(1)
	global_store_b32 v[5:6], v8, off
	s_waitcnt vmcnt(0)
	global_store_b32 v[5:6], v9, off offset:800
	v_cmpx_gt_u32_e32 0x9f, v10
	s_cbranch_execz .LBB10_3
; %bb.2:
	v_add_co_u32 v8, vcc_lo, s6, v2
	v_add_co_ci_u32_e32 v9, vcc_lo, s7, v3, vcc_lo
	v_add_nc_u32_e32 v10, 0x8c8b, v4
	v_mad_u64_u32 v[12:13], null, 0x191, v7, s[12:13]
	global_load_b64 v[8:9], v[8:9], off
	s_load_b64 s[0:1], s[0:1], 0x20
	v_ashrrev_i32_e32 v11, 31, v10
	v_ashrrev_i32_e32 v13, 31, v12
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_lshlrev_b64 v[10:11], 2, v[10:11]
	v_lshlrev_b64 v[12:13], 2, v[12:13]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v10, vcc_lo, v0, v10
	v_add_co_ci_u32_e32 v11, vcc_lo, v1, v11, vcc_lo
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_co_u32 v7, vcc_lo, v8, v12
	v_add_co_ci_u32_e32 v8, vcc_lo, v9, v13, vcc_lo
	v_add_co_u32 v14, vcc_lo, s8, v2
	v_add_co_ci_u32_e32 v15, vcc_lo, s9, v3, vcc_lo
	global_load_b32 v11, v[10:11], off
	global_load_b32 v18, v[7:8], off
	global_load_b64 v[7:8], v[14:15], off
	v_add_nc_u32_e32 v9, 0x8d54, v4
	v_add_nc_u32_e32 v14, 0x107d, v4
	v_add_co_u32 v16, vcc_lo, s10, v2
	v_add_co_ci_u32_e32 v17, vcc_lo, s11, v3, vcc_lo
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_ashrrev_i32_e32 v10, 31, v9
	v_ashrrev_i32_e32 v15, 31, v14
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_lshlrev_b64 v[9:10], 2, v[9:10]
	v_lshlrev_b64 v[14:15], 2, v[14:15]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v9, vcc_lo, v0, v9
	v_add_co_ci_u32_e32 v10, vcc_lo, v1, v10, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_co_u32 v14, vcc_lo, v0, v14
	v_add_co_ci_u32_e32 v15, vcc_lo, v1, v15, vcc_lo
	global_load_b64 v[16:17], v[16:17], off
	global_load_b32 v14, v[14:15], off
	s_waitcnt vmcnt(3)
	v_add_f32_e32 v11, v11, v18
	s_waitcnt vmcnt(2)
	v_add_co_u32 v7, vcc_lo, v7, v12
	v_add_co_ci_u32_e32 v8, vcc_lo, v8, v13, vcc_lo
	global_store_b32 v[9:10], v11, off
	global_load_b32 v11, v[7:8], off
	v_add_nc_u32_e32 v7, 0xfb4, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v8, 31, v7
	v_lshlrev_b64 v[7:8], 2, v[7:8]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v7, vcc_lo, v0, v7
	v_add_co_ci_u32_e32 v8, vcc_lo, v1, v8, vcc_lo
	s_waitcnt vmcnt(2)
	v_add_co_u32 v9, vcc_lo, v16, v12
	v_add_co_ci_u32_e32 v10, vcc_lo, v17, v13, vcc_lo
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_f32_e32 v4, v14, v11
	global_store_b32 v[7:8], v4, off
	global_load_b32 v4, v[9:10], off
	global_load_b32 v7, v[5:6], off offset:716
	global_load_b64 v[2:3], v[2:3], off
	global_load_b32 v8, v[5:6], off offset:84
	s_waitcnt vmcnt(2)
	v_add_f32_e32 v4, v7, v4
	s_waitcnt vmcnt(1)
	v_add_co_u32 v2, vcc_lo, v2, v12
	v_add_co_ci_u32_e32 v3, vcc_lo, v3, v13, vcc_lo
	global_store_b32 v[5:6], v4, off offset:720
	global_load_b32 v2, v[2:3], off
	s_waitcnt vmcnt(0)
	v_add_f32_e32 v2, v8, v2
	global_store_b32 v[5:6], v2, off offset:80
.LBB10_3:
	s_or_b32 exec_lo, exec_lo, s3
	s_lshl_b64 s[0:1], s[4:5], 2
	s_add_i32 s4, s4, s2
	v_add_co_u32 v2, vcc_lo, v0, s0
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v1, vcc_lo
	s_add_i32 s0, s4, 0xffffff38
	s_ashr_i32 s3, s2, 31
	s_ashr_i32 s1, s0, 31
	s_clause 0x3
	global_load_b32 v4, v[2:3], off offset:4
	global_load_b32 v5, v[2:3], off offset:1604
	global_load_b32 v6, v[2:3], off offset:804
	global_load_b32 v7, v[2:3], off offset:796
	s_lshl_b64 s[0:1], s[0:1], 2
	s_lshl_b64 s[2:3], s[2:3], 2
	s_waitcnt vmcnt(0)
	v_dual_add_f32 v6, v4, v6 :: v_dual_add_f32 v7, v7, v5
	v_add_co_u32 v4, vcc_lo, v0, s0
	v_add_co_ci_u32_e32 v5, vcc_lo, s1, v1, vcc_lo
	s_delay_alu instid0(VALU_DEP_3)
	v_dual_mul_f32 v8, 0.5, v6 :: v_dual_mul_f32 v9, 0.5, v7
	v_add_co_u32 v6, vcc_lo, v2, s2
	v_add_co_ci_u32_e32 v7, vcc_lo, s3, v3, vcc_lo
	s_clause 0x1
	global_store_b32 v[2:3], v8, off
	global_store_b32 v[2:3], v9, off offset:800
	s_clause 0x1
	global_load_b32 v2, v[4:5], off
	global_load_b32 v3, v[6:7], off offset:-1608
	s_add_i32 s0, s4, -2
	s_add_i32 s2, s4, 0xffffff36
	s_ashr_i32 s1, s0, 31
	s_ashr_i32 s3, s2, 31
	s_lshl_b64 s[0:1], s[0:1], 2
	s_lshl_b64 s[2:3], s[2:3], 2
	s_waitcnt vmcnt(0)
	v_add_f32_e32 v4, v2, v3
	v_add_co_u32 v2, vcc_lo, v0, s0
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v1, vcc_lo
	s_delay_alu instid0(VALU_DEP_3)
	v_mul_f32_e32 v8, 0.5, v4
	v_add_co_u32 v4, vcc_lo, v0, s2
	v_add_co_ci_u32_e32 v5, vcc_lo, s3, v1, vcc_lo
	global_store_b32 v[6:7], v8, off offset:-804
	s_clause 0x1
	global_load_b32 v2, v[2:3], off
	global_load_b32 v3, v[4:5], off
	s_add_i32 s0, s4, -1
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_ashr_i32 s1, s0, 31
	s_lshl_b64 s[0:1], s[0:1], 2
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_3) | instid1(VALU_DEP_1)
	v_add_co_u32 v0, vcc_lo, v0, s0
	v_add_co_ci_u32_e32 v1, vcc_lo, s1, v1, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_f32_e32 v2, v2, v3
	v_mul_f32_e32 v2, 0.5, v2
	global_store_b32 v[0:1], v2, off
.LBB10_4:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 304
		.amdhsa_user_sgpr_count 14
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 1
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 2
		.amdhsa_next_free_vgpr 19
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end10:
	.size	_Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i, .Lfunc_end10-_Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1344
; NumSgprs: 18
; NumVgprs: 19
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 2
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 19
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 14
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 1
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 2
	.text
	.protected	_Z8deltau_kPPfS0_i      ; -- Begin function _Z8deltau_kPPfS0_i
	.globl	_Z8deltau_kPPfS0_i
	.p2align	8
	.type	_Z8deltau_kPPfS0_i,@function
_Z8deltau_kPPfS0_i:                     ; @_Z8deltau_kPPfS0_i
; %bb.0:
	s_load_b64 s[2:3], s[0:1], 0x24
	v_and_b32_e32 v1, 0x3ff, v0
	v_bfe_u32 v5, v0, 10, 10
	v_bfe_u32 v0, v0, 20, 10
	s_waitcnt lgkmcnt(0)
	s_lshr_b32 s4, s2, 16
	s_and_b32 s2, s2, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_2) | instid1(SALU_CYCLE_1)
	v_mad_u64_u32 v[2:3], null, s13, s2, v[1:2]
	v_mad_u64_u32 v[3:4], null, s14, s4, v[5:6]
	s_and_b32 s2, s3, 0xffff
	s_mul_i32 s15, s15, s2
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_nc_u32_e32 v4, 1, v2
	v_add3_u32 v0, v0, s15, 1
	v_add_nc_u32_e32 v5, 1, v3
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_gt_i32_e64 s2, 0x191, v0
	v_max_i32_e32 v1, v4, v5
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_gt_i32_e32 vcc_lo, 0xc8, v1
	s_and_b32 s2, s2, vcc_lo
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_saveexec_b32 s3, s2
	s_cbranch_execz .LBB11_3
; %bb.1:
	s_getpc_b64 s[2:3]
	s_add_u32 s2, s2, Nx_Ny@rel32@lo+4
	s_addc_u32 s3, s3, Nx_Ny@rel32@hi+12
	s_load_b32 s4, s[2:3], 0x0
	s_clause 0x1
	s_load_b32 s6, s[0:1], 0x10
	s_load_b128 s[0:3], s[0:1], 0x0
	s_waitcnt lgkmcnt(0)
	v_mul_lo_u32 v0, s4, v0
	s_ashr_i32 s7, s6, 31
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_lshl_b64 s[10:11], s[6:7], 3
	s_add_u32 s2, s2, s10
	s_addc_u32 s3, s3, s11
	s_delay_alu instid0(VALU_DEP_1)
	v_add_nc_u32_e32 v1, v0, v4
	s_load_b64 s[6:7], s[2:3], 0x0
	s_getpc_b64 s[2:3]
	s_add_u32 s2, s2, h2@rel32@lo+4
	s_addc_u32 s3, s3, h2@rel32@hi+12
	s_add_u32 s0, s0, s10
	s_load_b32 s8, s[2:3], 0x0
	v_mad_u64_u32 v[6:7], null, 0xc9, v5, v[1:2]
	s_addc_u32 s1, s1, s11
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v7, 31, v6
	v_lshlrev_b64 v[8:9], 2, v[6:7]
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v5, vcc_lo, s6, v8
	v_add_co_ci_u32_e32 v6, vcc_lo, s7, v9, vcc_lo
	s_clause 0x2
	global_load_b32 v10, v[5:6], off offset:-804
	global_load_b32 v11, v[5:6], off offset:804
	global_load_b96 v[5:7], v[5:6], off offset:-4
	s_load_b64 s[0:1], s[0:1], 0x0
	s_waitcnt vmcnt(1)
	v_add_f32_e32 v10, v10, v11
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v5, v10, v5
	v_add_f32_e32 v5, v5, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v5, -4.0, v6
	v_div_scale_f32 v6, null, s8, s8, v5
	v_div_scale_f32 v11, vcc_lo, v5, s8, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_rcp_f32_e32 v7, v6
	s_waitcnt_depctr 0xfff
	v_fma_f32 v10, -v6, v7, 1.0
	v_fmac_f32_e32 v7, v10, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v10, v11, v7
	v_fma_f32 v12, -v6, v10, v11
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v10, v12, v7
	v_fma_f32 v6, -v6, v10, v11
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_div_fmas_f32 v6, v6, v7, v10
	v_div_fixup_f32 v7, v6, s8, v5
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v5, vcc_lo, s0, v8
	v_add_co_ci_u32_e32 v6, vcc_lo, s1, v9, vcc_lo
	v_cmp_eq_u32_e32 vcc_lo, 0, v3
	global_store_b32 v[5:6], v7, off
	s_and_b32 exec_lo, exec_lo, vcc_lo
	s_cbranch_execz .LBB11_3
; %bb.2:
	v_add_nc_u32_e32 v5, v0, v2
	v_ashrrev_i32_e32 v2, 31, v1
	s_ashr_i32 s5, s4, 31
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	s_lshl_b64 s[2:3], s[4:5], 2
	v_ashrrev_i32_e32 v6, 31, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_lshlrev_b64 v[2:3], 2, v[1:2]
	v_lshlrev_b64 v[5:6], 2, v[5:6]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v7, vcc_lo, s6, v2
	v_add_co_ci_u32_e32 v8, vcc_lo, s7, v3, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_co_u32 v5, vcc_lo, s6, v5
	v_add_co_ci_u32_e32 v6, vcc_lo, s7, v6, vcc_lo
	s_clause 0x2
	global_load_b64 v[9:10], v[7:8], off
	global_load_b32 v11, v[7:8], off offset:804
	global_load_b32 v5, v[5:6], off
	s_waitcnt vmcnt(1)
	v_add_f32_e32 v6, v9, v11
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v5, v6, v5
	v_add_f32_e32 v5, v5, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v5, -4.0, v9
	v_div_scale_f32 v6, null, s8, s8, v5
	v_div_scale_f32 v11, vcc_lo, v5, s8, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_rcp_f32_e32 v9, v6
	s_waitcnt_depctr 0xfff
	v_fma_f32 v10, -v6, v9, 1.0
	v_fmac_f32_e32 v9, v10, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v10, v11, v9
	v_fma_f32 v12, -v6, v10, v11
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v10, v12, v9
	v_fma_f32 v6, -v6, v10, v11
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_3) | instid1(VALU_DEP_4)
	v_div_fmas_f32 v6, v6, v9, v10
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	v_add_co_u32 v9, vcc_lo, v7, s2
	v_div_fixup_f32 v5, v6, s8, v5
	v_add_co_ci_u32_e32 v10, vcc_lo, s3, v8, vcc_lo
	global_store_b32 v[2:3], v5, off
	s_clause 0x1
	global_load_b96 v[5:7], v[9:10], off offset:-808
	global_load_b32 v8, v[9:10], off offset:-1608
	s_waitcnt vmcnt(0)
	v_add_f32_e32 v8, v6, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v5, v8, v5
	v_add_f32_e32 v7, v5, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v7, -4.0, v6
	v_div_scale_f32 v8, null, s8, s8, v7
	v_div_scale_f32 v10, vcc_lo, v7, s8, v7
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_rcp_f32_e32 v9, v8
	s_waitcnt_depctr 0xfff
	v_fma_f32 v5, -v8, v9, 1.0
	v_fmac_f32_e32 v9, v5, v9
	v_mad_u64_u32 v[5:6], null, 0xc8, v4, v[1:2]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mul_f32_e32 v11, v10, v9
	v_ashrrev_i32_e32 v6, 31, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v1, -v8, v11, v10
	v_lshlrev_b64 v[4:5], 2, v[5:6]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v11, v1, v9
	v_fma_f32 v1, -v8, v11, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_div_fmas_f32 v6, v1, v9, v11
	v_add_co_u32 v1, vcc_lo, v2, s2
	v_add_co_ci_u32_e32 v2, vcc_lo, s3, v3, vcc_lo
	v_div_fixup_f32 v3, v6, s8, v7
	v_add_co_u32 v6, vcc_lo, s6, v4
	v_add_co_ci_u32_e32 v7, vcc_lo, s7, v5, vcc_lo
	global_store_b32 v[1:2], v3, off offset:-804
	s_clause 0x2
	global_load_b64 v[1:2], v[6:7], off
	global_load_b32 v3, v[6:7], off offset:804
	global_load_b32 v8, v[6:7], off offset:-804
	s_waitcnt vmcnt(2)
	v_add_f32_e32 v2, v1, v2
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v2, v2, v8
	v_add_f32_e32 v8, v2, v3
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v8, -4.0, v1
	v_div_scale_f32 v1, null, s8, s8, v8
	v_div_scale_f32 v9, vcc_lo, v8, s8, v8
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_rcp_f32_e32 v2, v1
	s_waitcnt_depctr 0xfff
	v_fma_f32 v3, -v1, v2, 1.0
	v_fmac_f32_e32 v2, v3, v2
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v3, v9, v2
	v_fma_f32 v10, -v1, v3, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_fmac_f32 v3, v10, v2 :: v_dual_add_nc_u32 v10, s4, v0
	v_fma_f32 v1, -v1, v3, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_div_fmas_f32 v1, v1, v2, v3
	v_add_co_u32 v2, vcc_lo, s0, v4
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v5, vcc_lo
	v_div_fixup_f32 v1, v1, s8, v8
	global_store_b32 v[2:3], v1, off
	s_clause 0x2
	global_load_b64 v[4:5], v[6:7], off offset:796
	global_load_b32 v1, v[6:7], off offset:1604
	global_load_b32 v6, v[6:7], off offset:-4
	s_waitcnt vmcnt(2)
	v_add_f32_e32 v4, v5, v4
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v4, v4, v6
	v_add_f32_e32 v6, v4, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v6, -4.0, v5
	v_div_scale_f32 v1, null, s8, s8, v6
	v_div_scale_f32 v7, vcc_lo, v6, s8, v6
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_rcp_f32_e32 v4, v1
	s_waitcnt_depctr 0xfff
	v_fma_f32 v5, -v1, v4, 1.0
	v_fmac_f32_e32 v4, v5, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v5, v7, v4
	v_fma_f32 v8, -v1, v5, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v5, v8, v4
	v_fma_f32 v7, -v1, v5, v7
	v_ashrrev_i32_e32 v1, 31, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_div_fmas_f32 v7, v7, v4, v5
	v_lshlrev_b64 v[4:5], 2, v[0:1]
	v_add_nc_u32_e32 v0, 0xffffff38, v10
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_div_fixup_f32 v1, v7, s8, v6
	v_add_co_u32 v4, vcc_lo, s0, v4
	s_delay_alu instid0(VALU_DEP_4)
	v_add_co_ci_u32_e32 v5, vcc_lo, s1, v5, vcc_lo
	global_store_b32 v[2:3], v1, off offset:800
	s_clause 0x3
	global_load_b32 v6, v[4:5], off offset:4
	global_load_b32 v7, v[4:5], off offset:1604
	global_load_b32 v8, v[4:5], off offset:804
	global_load_b32 v9, v[4:5], off offset:796
	v_add_nc_u32_e32 v2, 0xfffffe6e, v10
	v_ashrrev_i32_e32 v1, 31, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[0:1], 2, v[0:1]
	v_add_co_u32 v0, vcc_lo, s0, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_3) | instid1(VALU_DEP_2)
	v_add_co_ci_u32_e32 v1, vcc_lo, s1, v1, vcc_lo
	s_waitcnt vmcnt(0)
	v_dual_add_f32 v6, v6, v8 :: v_dual_add_f32 v7, v9, v7
	v_ashrrev_i32_e32 v3, 31, v2
	v_dual_mul_f32 v6, 0.5, v6 :: v_dual_mul_f32 v7, 0.5, v7
	s_delay_alu instid0(VALU_DEP_2)
	v_lshlrev_b64 v[2:3], 2, v[2:3]
	s_clause 0x1
	global_store_b32 v[4:5], v6, off
	global_store_b32 v[4:5], v7, off offset:800
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_clause 0x1
	global_load_b32 v6, v[0:1], off
	global_load_b32 v7, v[2:3], off
	v_add_nc_u32_e32 v0, -2, v10
	v_add_nc_u32_e32 v2, 0xffffff36, v10
	v_add_co_u32 v4, vcc_lo, v4, s2
	v_add_co_ci_u32_e32 v5, vcc_lo, s3, v5, vcc_lo
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_ashrrev_i32_e32 v1, 31, v0
	v_ashrrev_i32_e32 v3, 31, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_lshlrev_b64 v[0:1], 2, v[0:1]
	v_lshlrev_b64 v[2:3], 2, v[2:3]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v0, vcc_lo, s0, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, s1, v1, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_co_u32 v2, vcc_lo, s0, v2
	v_add_co_ci_u32_e32 v3, vcc_lo, s1, v3, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_f32_e32 v6, v6, v7
	s_delay_alu instid0(VALU_DEP_1)
	v_mul_f32_e32 v6, 0.5, v6
	global_store_b32 v[4:5], v6, off offset:-804
	s_clause 0x1
	global_load_b32 v4, v[0:1], off
	global_load_b32 v2, v[2:3], off
	v_add_nc_u32_e32 v0, -1, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v1, 31, v0
	v_lshlrev_b64 v[0:1], 2, v[0:1]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v0, vcc_lo, s0, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, s1, v1, vcc_lo
	s_waitcnt vmcnt(0)
	v_add_f32_e32 v2, v4, v2
	s_delay_alu instid0(VALU_DEP_1)
	v_mul_f32_e32 v2, 0.5, v2
	global_store_b32 v[0:1], v2, off
.LBB11_3:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z8deltau_kPPfS0_i
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 13
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 1
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 2
		.amdhsa_next_free_vgpr 13
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end11:
	.size	_Z8deltau_kPPfS0_i, .Lfunc_end11-_Z8deltau_kPPfS0_i
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1728
; NumSgprs: 18
; NumVgprs: 13
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 13
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 13
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 1
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 2
	.text
	.protected	_Z4df_kPfPS_S0_S_i      ; -- Begin function _Z4df_kPfPS_S0_S_i
	.globl	_Z4df_kPfPS_S0_S_i
	.p2align	8
	.type	_Z4df_kPfPS_S0_S_i,@function
_Z4df_kPfPS_S0_S_i:                     ; @_Z4df_kPfPS_S0_S_i
; %bb.0:
	s_load_b64 s[2:3], s[0:1], 0x34
	v_and_b32_e32 v3, 0x3ff, v0
	v_bfe_u32 v4, v0, 10, 10
	v_bfe_u32 v0, v0, 20, 10
	s_waitcnt lgkmcnt(0)
	s_lshr_b32 s4, s2, 16
	s_and_b32 s2, s2, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_2) | instid1(SALU_CYCLE_1)
	v_mad_u64_u32 v[1:2], null, s13, s2, v[3:4]
	v_mad_u64_u32 v[2:3], null, s14, s4, v[4:5]
	s_and_b32 s2, s3, 0xffff
	s_mul_i32 s15, s15, s2
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add3_u32 v0, v0, s15, 1
	v_max_i32_e32 v3, v1, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_gt_i32_e64 s2, 0x191, v0
	v_cmp_gt_i32_e32 vcc_lo, 0xc8, v3
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_and_b32 s2, vcc_lo, s2
	s_and_saveexec_b32 s3, s2
	s_cbranch_execz .LBB12_3
; %bb.1:
	s_load_b32 s8, s[0:1], 0x20
	s_getpc_b64 s[10:11]
	s_add_u32 s10, s10, Nx_Ny@rel32@lo+4
	s_addc_u32 s11, s11, Nx_Ny@rel32@hi+12
	s_load_b256 s[0:7], s[0:1], 0x0
	s_load_b32 s10, s[10:11], 0x0
	v_mad_u64_u32 v[3:4], null, 0xc9, v2, v[1:2]
	s_waitcnt lgkmcnt(0)
	s_ashr_i32 s9, s8, 31
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	s_lshl_b64 s[8:9], s[8:9], 3
	v_mad_u64_u32 v[1:2], null, s10, v0, v[3:4]
	s_add_u32 s2, s2, s8
	s_addc_u32 s3, s3, s9
	s_add_u32 s4, s4, s8
	s_load_b64 s[2:3], s[2:3], 0x0
	s_addc_u32 s5, s5, s9
	v_ashrrev_i32_e32 v4, 31, v3
	s_load_b64 s[4:5], s[4:5], 0x0
	v_ashrrev_i32_e32 v2, 31, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_lshlrev_b64 v[3:4], 2, v[3:4]
	v_lshlrev_b64 v[0:1], 2, v[1:2]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_u32 v5, vcc_lo, s6, v3
	v_add_co_ci_u32_e32 v6, vcc_lo, s7, v4, vcc_lo
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_co_u32 v7, vcc_lo, s2, v0
	v_add_co_ci_u32_e32 v8, vcc_lo, s3, v1, vcc_lo
	v_add_co_u32 v0, vcc_lo, s4, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, s5, v1, vcc_lo
	global_load_b32 v2, v[5:6], off
	global_load_b32 v5, v[7:8], off
	global_load_b32 v6, v[0:1], off
	v_add_co_u32 v0, vcc_lo, s0, v3
	v_add_co_ci_u32_e32 v1, vcc_lo, s1, v4, vcc_lo
	s_mov_b32 s0, 0
	global_load_b32 v3, v[0:1], off
	s_waitcnt vmcnt(3)
	v_add_f32_e32 v2, 1.0, v2
	s_waitcnt vmcnt(1)
	v_mul_f32_e32 v4, v5, v6
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_div_scale_f32 v5, null, v2, v2, v4
	v_rcp_f32_e32 v6, v5
	s_waitcnt_depctr 0xfff
	v_fma_f32 v7, -v5, v6, 1.0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v6, v7, v6
	v_div_scale_f32 v7, vcc_lo, v4, v2, v4
	v_mul_f32_e32 v8, v7, v6
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v9, -v5, v8, v7
	v_fmac_f32_e32 v8, v9, v6
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v5, -v5, v8, v7
	v_div_fmas_f32 v5, v5, v6, v8
	s_delay_alu instid0(VALU_DEP_1)
	v_div_fixup_f32 v4, v5, v2, v4
.LBB12_2:                               ; %atomicrmw.start
                                        ; =>This Inner Loop Header: Depth=1
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f32_e32 v2, v3, v4
	global_atomic_cmpswap_b32 v2, v[0:1], v[2:3], off glc
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e32 vcc_lo, v2, v3
	v_mov_b32_e32 v3, v2
	s_or_b32 s0, vcc_lo, s0
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_not1_b32 exec_lo, exec_lo, s0
	s_cbranch_execnz .LBB12_2
.LBB12_3:
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z4df_kPfPS_S0_S_i
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 296
		.amdhsa_user_sgpr_count 13
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 1
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 2
		.amdhsa_next_free_vgpr 10
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end12:
	.size	_Z4df_kPfPS_S0_S_i, .Lfunc_end12-_Z4df_kPfPS_S0_S_i
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 536
; NumSgprs: 18
; NumVgprs: 10
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 10
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 13
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 1
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 2
	.text
	.protected	_Z3f_kPfS_S_            ; -- Begin function _Z3f_kPfS_S_
	.globl	_Z3f_kPfS_S_
	.p2align	8
	.type	_Z3f_kPfS_S_,@function
_Z3f_kPfS_S_:                           ; @_Z3f_kPfS_S_
; %bb.0:
	s_load_b32 s2, s[0:1], 0x24
	v_and_b32_e32 v2, 0x3ff, v0
	v_bfe_u32 v3, v0, 10, 10
	s_waitcnt lgkmcnt(0)
	s_lshr_b32 s3, s2, 16
	s_and_b32 s2, s2, 0xffff
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	v_mad_u64_u32 v[0:1], null, s14, s2, v[2:3]
	v_mad_u64_u32 v[1:2], null, s15, s3, v[3:4]
	s_mov_b32 s2, exec_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_max_i32_e32 v2, v0, v1
	v_cmpx_gt_i32_e32 0xc9, v2
	s_cbranch_execz .LBB13_2
; %bb.1:
	s_load_b128 s[4:7], s[0:1], 0x0
	v_mad_u64_u32 v[2:3], null, 0xc9, v1, v[0:1]
	s_load_b64 s[0:1], s[0:1], 0x10
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v3, 31, v2
	v_lshlrev_b64 v[0:1], 2, v[2:3]
	s_waitcnt lgkmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v2, vcc_lo, s6, v0
	v_add_co_ci_u32_e32 v3, vcc_lo, s7, v1, vcc_lo
	v_add_co_u32 v4, vcc_lo, s0, v0
	v_add_co_ci_u32_e32 v5, vcc_lo, s1, v1, vcc_lo
	v_add_co_u32 v0, vcc_lo, s4, v0
	global_load_b32 v2, v[2:3], off
	global_load_b32 v3, v[4:5], off
	v_add_co_ci_u32_e32 v1, vcc_lo, s5, v1, vcc_lo
	global_load_b32 v4, v[0:1], off
	s_waitcnt vmcnt(2)
	v_mul_f32_e32 v2, 0x469c4000, v2
	s_waitcnt vmcnt(1)
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v2, v2, v3
	s_waitcnt vmcnt(0)
	v_fmamk_f32 v2, v2, 0x3d800000, v4
	global_store_b32 v[0:1], v2, off
.LBB13_2:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z3f_kPfS_S_
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 14
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 1
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 1
		.amdhsa_next_free_vgpr 6
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end13:
	.size	_Z3f_kPfS_S_, .Lfunc_end13-_Z3f_kPfS_S_
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 252
; NumSgprs: 18
; NumVgprs: 6
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 6
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 14
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 1
	.text
	.protected	_Z11norm_f_f0_kPfS_S_   ; -- Begin function _Z11norm_f_f0_kPfS_S_
	.globl	_Z11norm_f_f0_kPfS_S_
	.p2align	8
	.type	_Z11norm_f_f0_kPfS_S_,@function
_Z11norm_f_f0_kPfS_S_:                  ; @_Z11norm_f_f0_kPfS_S_
; %bb.0:
	s_clause 0x1
	s_load_b32 s6, s[0:1], 0x24
	s_load_b32 s10, s[0:1], 0x18
	s_add_u32 s2, s0, 24
	s_addc_u32 s3, s1, 0
	v_bfe_u32 v1, v0, 10, 10
	s_getpc_b64 s[4:5]
	s_add_u32 s4, s4, Nx_Ny@rel32@lo+4
	s_addc_u32 s5, s5, Nx_Ny@rel32@hi+12
	v_dual_mov_b32 v4, 0 :: v_dual_and_b32 v3, 0x3ff, v0
	s_load_b32 s8, s[4:5], 0x0
	s_waitcnt lgkmcnt(0)
	s_and_b32 s9, s6, 0xffff
	s_clause 0x1
	s_load_b128 s[4:7], s[0:1], 0x0
	s_load_b64 s[0:1], s[0:1], 0x10
	v_mul_u32_u24_e32 v2, s9, v1
	s_mul_i32 s15, s15, s9
	s_mov_b32 s9, exec_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_lo_u32 v1, v2, s10
	v_add3_u32 v0, s15, v3, v1
	s_delay_alu instid0(VALU_DEP_1)
	v_cmpx_gt_i32_e64 s8, v0
	s_cbranch_execz .LBB14_4
; %bb.1:                                ; %.lr.ph
	s_load_b32 s2, s[2:3], 0x4
	v_mov_b32_e32 v4, 0
	s_waitcnt lgkmcnt(0)
	s_mul_i32 s10, s10, s2
	s_mov_b32 s2, 0
	s_lshl_b32 s3, s10, 8
.LBB14_2:                               ; =>This Inner Loop Header: Depth=1
	v_ashrrev_i32_e32 v1, 31, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[5:6], 2, v[0:1]
	v_add_co_u32 v7, vcc_lo, s4, v5
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v8, vcc_lo, s5, v6, vcc_lo
	v_add_co_u32 v5, vcc_lo, s6, v5
	v_add_co_ci_u32_e32 v6, vcc_lo, s7, v6, vcc_lo
	global_load_b32 v1, v[7:8], off
	global_load_b32 v5, v[5:6], off
	s_waitcnt vmcnt(0)
	v_dual_sub_f32 v1, v1, v5 :: v_dual_add_nc_u32 v0, s3, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_le_i32_e32 vcc_lo, s8, v0
	v_fmac_f32_e32 v4, v1, v1
	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 .LBB14_2
; %bb.3:                                ; %Flow45
	s_or_b32 exec_lo, exec_lo, s2
.LBB14_4:                               ; %Flow46
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	s_or_b32 exec_lo, exec_lo, s9
	v_add_nc_u32_e32 v0, v2, v3
	s_movk_i32 s2, 0x80
	v_lshlrev_b32_e32 v1, 2, v0
	ds_store_b32 v1, v4
	s_waitcnt lgkmcnt(0)
	s_barrier
	buffer_gl0_inv
.LBB14_5:                               ; =>This Inner Loop Header: Depth=1
	s_mov_b32 s3, exec_lo
	v_cmpx_gt_i32_e64 s2, v0
	s_cbranch_execz .LBB14_7
; %bb.6:                                ;   in Loop: Header=BB14_5 Depth=1
	v_lshl_add_u32 v2, s2, 2, v1
	ds_load_b32 v2, v2
	ds_load_b32 v3, v1
	s_waitcnt lgkmcnt(0)
	v_add_f32_e32 v2, v2, v3
	ds_store_b32 v1, v2
.LBB14_7:                               ;   in Loop: Header=BB14_5 Depth=1
	s_or_b32 exec_lo, exec_lo, s3
	s_lshr_b32 s3, s2, 31
	s_waitcnt lgkmcnt(0)
	s_add_i32 s3, s2, s3
	s_add_i32 s2, s2, 1
	s_ashr_i32 s3, s3, 1
	s_cmp_gt_u32 s2, 2
	s_mov_b32 s2, s3
	s_barrier
	buffer_gl0_inv
	s_cbranch_scc1 .LBB14_5
; %bb.8:
	s_mov_b32 s2, exec_lo
	v_cmpx_eq_u32_e32 0, v0
	s_cbranch_execz .LBB14_12
; %bb.9:
	s_mov_b32 s2, exec_lo
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mbcnt_lo_u32_b32 v0, s2, 0
	v_cmp_eq_u32_e32 vcc_lo, 0, v0
	s_and_b32 s3, exec_lo, vcc_lo
	s_delay_alu instid0(SALU_CYCLE_1)
	s_mov_b32 exec_lo, s3
	s_cbranch_execz .LBB14_12
; %bb.10:
	s_bcnt1_i32_b32 s2, s2
	s_load_b32 s3, s[0:1], 0x0
	v_cvt_f32_ubyte0_e32 v1, s2
	v_mov_b32_e32 v2, 0
	s_mov_b32 s2, 0
	ds_load_b32 v0, v2
	s_waitcnt lgkmcnt(0)
	v_mul_f32_e32 v3, v0, v1
	v_mov_b32_e32 v1, s3
.LBB14_11:                              ; %atomicrmw.start
                                        ; =>This Inner Loop Header: Depth=1
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f32_e32 v0, v1, v3
	global_atomic_cmpswap_b32 v0, v2, v[0:1], s[0:1] glc
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e32 vcc_lo, v0, v1
	v_mov_b32_e32 v1, v0
	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 .LBB14_11
.LBB14_12:
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z11norm_f_f0_kPfS_S_
		.amdhsa_group_segment_fixed_size 1024
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.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 1
		.amdhsa_next_free_vgpr 9
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end14:
	.size	_Z11norm_f_f0_kPfS_S_, .Lfunc_end14-_Z11norm_f_f0_kPfS_S_
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 576
; NumSgprs: 18
; NumVgprs: 9
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 1024 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 1
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 9
; 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: 1
	.text
	.protected	_Z9norm_f0_kPfS_        ; -- Begin function _Z9norm_f0_kPfS_
	.globl	_Z9norm_f0_kPfS_
	.p2align	8
	.type	_Z9norm_f0_kPfS_,@function
_Z9norm_f0_kPfS_:                       ; @_Z9norm_f0_kPfS_
; %bb.0:
	s_clause 0x1
	s_load_b32 s7, s[0:1], 0x1c
	s_load_b32 s8, s[0:1], 0x10
	s_add_u32 s4, s0, 16
	s_addc_u32 s5, s1, 0
	v_bfe_u32 v1, v0, 10, 10
	s_getpc_b64 s[2:3]
	s_add_u32 s2, s2, Nx_Ny@rel32@lo+4
	s_addc_u32 s3, s3, Nx_Ny@rel32@hi+12
	v_dual_mov_b32 v4, 0 :: v_dual_and_b32 v3, 0x3ff, v0
	s_load_b32 s6, s[2:3], 0x0
	s_load_b128 s[0:3], s[0:1], 0x0
	s_waitcnt lgkmcnt(0)
	s_and_b32 s7, s7, 0xffff
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_mul_u32_u24_e32 v2, s7, v1
	s_mul_i32 s15, s15, s7
	s_mov_b32 s7, exec_lo
	v_mul_lo_u32 v1, v2, s8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add3_u32 v0, s15, v3, v1
	v_cmpx_gt_i32_e64 s6, v0
	s_cbranch_execz .LBB15_4
; %bb.1:                                ; %.lr.ph
	s_load_b32 s4, s[4:5], 0x4
	v_mov_b32_e32 v4, 0
	s_waitcnt lgkmcnt(0)
	s_mul_i32 s8, s8, s4
	s_mov_b32 s4, 0
	s_lshl_b32 s5, s8, 8
.LBB15_2:                               ; =>This Inner Loop Header: Depth=1
	v_ashrrev_i32_e32 v1, 31, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_lshlrev_b64 v[5:6], 2, v[0:1]
	v_add_nc_u32_e32 v0, s5, v0
	v_add_co_u32 v5, vcc_lo, s0, v5
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_ci_u32_e32 v6, vcc_lo, s1, v6, vcc_lo
	v_cmp_le_i32_e32 vcc_lo, s6, v0
	global_load_b32 v1, v[5:6], off
	s_or_b32 s4, vcc_lo, s4
	s_waitcnt vmcnt(0)
	v_fmac_f32_e32 v4, v1, v1
	s_and_not1_b32 exec_lo, exec_lo, s4
	s_cbranch_execnz .LBB15_2
; %bb.3:                                ; %Flow39
	s_or_b32 exec_lo, exec_lo, s4
.LBB15_4:                               ; %Flow40
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	s_or_b32 exec_lo, exec_lo, s7
	v_add_nc_u32_e32 v0, v2, v3
	s_movk_i32 s0, 0x80
	v_lshlrev_b32_e32 v1, 2, v0
	ds_store_b32 v1, v4
	s_waitcnt lgkmcnt(0)
	s_barrier
	buffer_gl0_inv
.LBB15_5:                               ; =>This Inner Loop Header: Depth=1
	s_mov_b32 s1, exec_lo
	v_cmpx_gt_i32_e64 s0, v0
	s_cbranch_execz .LBB15_7
; %bb.6:                                ;   in Loop: Header=BB15_5 Depth=1
	v_lshl_add_u32 v2, s0, 2, v1
	ds_load_b32 v2, v2
	ds_load_b32 v3, v1
	s_waitcnt lgkmcnt(0)
	v_add_f32_e32 v2, v2, v3
	ds_store_b32 v1, v2
.LBB15_7:                               ;   in Loop: Header=BB15_5 Depth=1
	s_or_b32 exec_lo, exec_lo, s1
	s_lshr_b32 s1, s0, 31
	s_waitcnt lgkmcnt(0)
	s_add_i32 s1, s0, s1
	s_add_i32 s0, s0, 1
	s_ashr_i32 s1, s1, 1
	s_cmp_gt_u32 s0, 2
	s_mov_b32 s0, s1
	s_barrier
	buffer_gl0_inv
	s_cbranch_scc1 .LBB15_5
; %bb.8:
	s_mov_b32 s0, exec_lo
	v_cmpx_eq_u32_e32 0, v0
	s_cbranch_execz .LBB15_12
; %bb.9:
	s_mov_b32 s0, exec_lo
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mbcnt_lo_u32_b32 v0, s0, 0
	v_cmp_eq_u32_e32 vcc_lo, 0, v0
	s_and_b32 s1, exec_lo, vcc_lo
	s_delay_alu instid0(SALU_CYCLE_1)
	s_mov_b32 exec_lo, s1
	s_cbranch_execz .LBB15_12
; %bb.10:
	s_bcnt1_i32_b32 s0, s0
	s_load_b32 s1, s[2:3], 0x0
	v_cvt_f32_ubyte0_e32 v1, s0
	v_mov_b32_e32 v2, 0
	s_mov_b32 s0, 0
	ds_load_b32 v0, v2
	s_waitcnt lgkmcnt(0)
	v_mul_f32_e32 v3, v0, v1
	v_mov_b32_e32 v1, s1
.LBB15_11:                              ; %atomicrmw.start
                                        ; =>This Inner Loop Header: Depth=1
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f32_e32 v0, v1, v3
	global_atomic_cmpswap_b32 v0, v2, v[0:1], s[2:3] glc
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e32 vcc_lo, v0, v1
	v_mov_b32_e32 v1, v0
	s_or_b32 s0, vcc_lo, s0
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_not1_b32 exec_lo, exec_lo, s0
	s_cbranch_execnz .LBB15_11
.LBB15_12:
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z9norm_f0_kPfS_
		.amdhsa_group_segment_fixed_size 1024
		.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 1
		.amdhsa_next_free_vgpr 7
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end15:
	.size	_Z9norm_f0_kPfS_, .Lfunc_end15-_Z9norm_f0_kPfS_
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 532
; NumSgprs: 18
; NumVgprs: 7
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 1024 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 7
; 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: 1
	.text
	.p2alignl 7, 3214868480
	.fill 96, 4, 3214868480
	.protected	T                       ; @T
	.type	T,@object
	.section	.bss,"aw",@nobits
	.globl	T
	.p2align	2, 0x0
T:
	.long	0x00000000                      ; float 0
	.size	T, 4

	.protected	dt                      ; @dt
	.type	dt,@object
	.globl	dt
	.p2align	2, 0x0
dt:
	.long	0x00000000                      ; float 0
	.size	dt, 4

	.protected	dt2                     ; @dt2
	.type	dt2,@object
	.globl	dt2
	.p2align	2, 0x0
dt2:
	.long	0x00000000                      ; float 0
	.size	dt2, 4

	.protected	fre                     ; @fre
	.type	fre,@object
	.globl	fre
	.p2align	2, 0x0
fre:
	.long	0x00000000                      ; float 0
	.size	fre, 4

	.protected	omegac                  ; @omegac
	.type	omegac,@object
	.globl	omegac
	.p2align	2, 0x0
omegac:
	.long	0x00000000                      ; float 0
	.size	omegac, 4

	.protected	tao                     ; @tao
	.type	tao,@object
	.globl	tao
	.p2align	2, 0x0
tao:
	.long	0x00000000                      ; float 0
	.size	tao, 4

	.protected	tao2                    ; @tao2
	.type	tao2,@object
	.globl	tao2
	.p2align	2, 0x0
tao2:
	.long	0x00000000                      ; float 0
	.size	tao2, 4

	.protected	tt                      ; @tt
	.type	tt,@object
	.globl	tt
	.p2align	2, 0x0
tt:
	.long	0x00000000                      ; float 0
	.size	tt, 4

	.protected	h2                      ; @h2
	.type	h2,@object
	.globl	h2
	.p2align	2, 0x0
h2:
	.long	0x00000000                      ; float 0
	.size	h2, 4

	.protected	Nx_Ny                   ; @Nx_Ny
	.type	Nx_Ny,@object
	.globl	Nx_Ny
	.p2align	2, 0x0
Nx_Ny:
	.long	0                               ; 0x0
	.size	Nx_Ny, 4

	.protected	Nx_Ny_Nt                ; @Nx_Ny_Nt
	.type	Nx_Ny_Nt,@object
	.globl	Nx_Ny_Nt
	.p2align	2, 0x0
Nx_Ny_Nt:
	.long	0                               ; 0x0
	.size	Nx_Ny_Nt, 4

	.protected	Nt_Nx                   ; @Nt_Nx
	.type	Nt_Nx,@object
	.globl	Nt_Nx
	.p2align	2, 0x0
Nt_Nx:
	.long	0                               ; 0x0
	.size	Nt_Nx, 4

	.protected	Nt_Ny                   ; @Nt_Ny
	.type	Nt_Ny,@object
	.globl	Nt_Ny
	.p2align	2, 0x0
Nt_Ny:
	.long	0                               ; 0x0
	.size	Nt_Ny, 4

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

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym T
	.addrsig_sym dt
	.addrsig_sym dt2
	.addrsig_sym fre
	.addrsig_sym omegac
	.addrsig_sym tao
	.addrsig_sym tao2
	.addrsig_sym tt
	.addrsig_sym h2
	.addrsig_sym Nx_Ny
	.addrsig_sym Nx_Ny_Nt
	.addrsig_sym Nt_Nx
	.addrsig_sym Nt_Ny
	.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:           _Z9gridSetupPfS_
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z9gridSetupPfS_.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     5
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z12imagingFieldPfS_S_
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z12imagingFieldPfS_S_.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     33
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         32
        .size:           8
        .value_kind:     global_buffer
      - .offset:         40
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         44
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         48
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         52
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         54
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         56
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         58
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         60
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         62
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         88
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         96
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         104
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 296
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z28setSensorActivationVariablesPfS_S_S_S_
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z28setSensorActivationVariablesPfS_S_S_S_.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     12
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         32
        .size:           8
        .value_kind:     global_buffer
      - .offset:         40
        .size:           4
        .value_kind:     by_value
      - .offset:         44
        .size:           4
        .value_kind:     by_value
      - .address_space:  global
        .offset:         48
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         56
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         64
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         72
        .size:           8
        .value_kind:     global_buffer
      - .offset:         80
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         84
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         88
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         92
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         94
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         96
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         98
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         100
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         102
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         120
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         128
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         136
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         144
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 336
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_
    .private_segment_fixed_size: 0
    .sgpr_count:     26
    .sgpr_spill_count: 0
    .symbol:         _Z15wavePropagationPPfS_S_S_S_fiPiS1_S1_S1_.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     23
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .offset:         8
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         12
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         16
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         20
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         22
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         24
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         26
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         28
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         30
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         48
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         56
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         72
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 264
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z13waveAtCornersPPf
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z13waveAtCornersPPf.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     18
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         32
        .size:           8
        .value_kind:     global_buffer
      - .offset:         40
        .size:           4
        .value_kind:     by_value
      - .offset:         48
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         52
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         56
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         60
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         62
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         64
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         66
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         68
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         70
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         88
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         96
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         104
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         112
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 304
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z13waveAtSensorsPPfS_S_S_S_i
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z13waveAtSensorsPPfS_S_S_S_i.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     14
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .offset:         8
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         12
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         16
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         20
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         22
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         24
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         26
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         28
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         30
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         48
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         56
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         72
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 264
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z8setAlphaPf
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z8setAlphaPf.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     4
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         32
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         40
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         48
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         56
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         64
        .size:           8
        .value_kind:     global_buffer
      - .offset:         72
        .size:           4
        .value_kind:     by_value
      - .offset:         80
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         84
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         88
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         92
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         94
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         96
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         98
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         100
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         102
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         120
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         128
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         136
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         144
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 336
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i
    .private_segment_fixed_size: 0
    .sgpr_count:     23
    .sgpr_spill_count: 0
    .symbol:         _Z19differenceAtSensorsPPfS_S_S_S_S0_S0_S0_S0_i.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     20
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .offset:         8
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         12
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         16
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         20
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         22
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         24
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         26
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         28
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         30
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         48
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         56
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         72
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 264
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z4setZPPf
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z4setZPPf.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     7
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .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:     by_value
      - .offset:         20
        .size:           4
        .value_kind:     by_value
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z19waveBackpropagationPPfS_fi
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z19waveBackpropagationPPfS_fi.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     15
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         32
        .size:           8
        .value_kind:     global_buffer
      - .offset:         40
        .size:           4
        .value_kind:     by_value
      - .offset:         48
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         52
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         56
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         60
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         62
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         64
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         66
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         68
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         70
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         88
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         96
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         104
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         112
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 304
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z34waveBackpropagationBoundaryCornersPPfS0_S0_S0_S0_i.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     19
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .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:     by_value
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z8deltau_kPPfS0_i
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z8deltau_kPPfS0_i.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     13
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .offset:         32
        .size:           4
        .value_kind:     by_value
      - .offset:         40
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         44
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         48
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         52
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         54
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         56
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         58
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         60
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         62
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         88
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         96
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         104
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 296
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z4df_kPfPS_S0_S_i
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z4df_kPfPS_S0_S_i.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     10
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z3f_kPfS_S_
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z3f_kPfS_S_.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     6
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 1024
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z11norm_f_f0_kPfS_S_
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z11norm_f_f0_kPfS_S_.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     9
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .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: 1024
    .kernarg_segment_align: 8
    .kernarg_segment_size: 272
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z9norm_f0_kPfS_
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z9norm_f0_kPfS_.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     7
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
amdhsa.target:   amdgcn-amd-amdhsa--gfx1100
amdhsa.version:
  - 1
  - 2
...

	.end_amdgpu_metadata
