/*

bfield.c 

Computes B fields in toroidal coordinates with given coefficients 
and calculates rms deviation from data

Written by Hee Sok Chung at ANL
July 10, 2016

*/


#include <stdio.h>
#include <stdlib.h>
#include <math.h>
//#include <TTree.h>
//#include <TFile.h>
#include <iostream>
#include <cuda_runtime.h>

/* hypergeometric function 1F2 */
double h1f2(double a, double b, double c, double z);

/* LegendreQ(m-1/2,n,cosh(x)) */
double LegendreQ(double m, double n, double z);

/* derivative of LegendreQ(m-1/2,n,cosh(x)) */
double DLegendreQ(int m, int n, double z);

/* coordinate transformation r, z -> zeta */
double zetaf(double rho, double z, double r0);

/* coordinate transformation r, z -> eta */
double etaf(double rho, double z, double r0);

typedef struct B_Struct{
  double Prb[25];
}B_Struct;

using namespace std;

__global__ void thread_call(const double *cc,const double *cs,const double *sc,const double *ss,const double *zeta,const double *eta,const double *Tlegq,const double *Tdleq,const int *midx,const int *nidx,const int*ccidx,const double *dataread,double *dataoutZ,double *dataoutR,double *dataoutPhi,const double rr,const double bzero,const int dim1,int nphi);

int main () {
  double *cc, *cs, *sc, *ss, *lsigma;
  int *ccidx;
  int *midx;
  int *nidx;
  double *Tlegq;
  double *Tdleq;
  double *zeta, *eta;
  double * dataread;
  double * dataoutZ;
  double * dataoutR;
  double * dataoutPhi;
  cudaError_t err = cudaSuccess;

  zeta = (double*)malloc(30*sizeof(double));
  eta = (double*)malloc(30*sizeof(double));

    int nmax, mmax, nphi, dim1, dim2;
    FILE *input, *iname, *datafile, *datac , *output;
    int Nthread = 8;
//    input = fopen ("fitcoeffN.txt", "r");
    input = fopen ("fitc.txt", "r");
    iname = fopen ("outnames.txt", "r");
    output = fopen ("output52full.txt","w");
    fscanf (iname, "%d", &mmax); // read m Maximum
    fscanf (iname, "%d", &nmax); // read n Maximum
//    fscanf (input, "%d", &mmax); // read m Maximum
//    fscanf (input, "%d", &nmax); // read n Maximum
    printf("MMax %d, NMax %d \n",mmax, nmax);
    dim1=(nmax+1)*(mmax+1); // coefficients dimensions 
    double cterm, rr;
//    int ccidx[mmax+2][nmax+2];
    double zt, et, zt0, bzero, br, bz, bphi, bsize;
    double difrms, dzrms, ffrms, rmsd;
    double angles[30], radii[30], bfield[30][5];
    int i, j, id, idx, md, nd, mdx, ndx, prb, na, ma, qidx, vid;
    double datatmp, tp, tx, phi, wgt, iwgt, legq, dleq;
    double phidz, phidp, phide, phide1, phide2;
    B_Struct B_Measure;
    B_Struct B_Fit;
    B_Struct B_ZFit;
    B_Struct B_RFit;
    B_Struct B_PhiFit;
    cc=(double *)malloc(sizeof*cc*(dim1+2));
    cs=(double *)malloc(sizeof*cs*(dim1+2));
    sc=(double *)malloc(sizeof*sc*(dim1+2));
    ss=(double *)malloc(sizeof*ss*(dim1+2));
    lsigma=(double *)malloc(sizeof*lsigma*(nmax+2));
    int ccidx_dim = dim1+2;
    ccidx=(int *)malloc((dim1+2)*(dim1+2)*sizeof(int));
    if(ccidx==NULL){
        printf("out of memory\n");
    }
    midx=(int *)malloc((dim1+2)*sizeof(int*));
    nidx=(int *)malloc((dim1+2)*sizeof(int*));


    bzero=61.789; // average B-field 
    zt0=6.5;          // eigenfunction normalization point
//  construct probe positions 
    angles[1]=0;
    radii[1]=0;
    for (i=2;i<=9;i++) {
        angles[i]=(i-2.)*M_PI/4;
        radii[i]=22.5;
    }
    for (i=10;i<=25;i++) {
        angles[i]=(i-10.)*M_PI/8;
        radii[i]=45.;
    }
    for (i=1;i<=25;i++) {
        printf("probe %d location r=%.17g, theta=%.17g \n",i,radii[i],angles[i]);
    }

//  calculate toroidal coordinates 
    rr=7111.5; // toroid center 
    printf ("\nComputing coordinates\n");
    for (i=1;i<=25;i++) {
        zeta[i]=zetaf(radii[i]*sin(angles[i])+7112., \
                      -radii[i]*cos(angles[i]),rr);
        eta[i]=etaf(radii[i]*sin(angles[i])+7112., \
                    -radii[i]*cos(angles[i]),rr);
    }
    /* initialize arrays */
    na=0;
    ma=0;
    i=0;
    nd=0;
    md=0;
    lsigma[0]=1.;
    lsigma[nmax]=0.;
    for (nd=0;nd<=nmax;nd++) {
        for (md=0;md<=mmax;md++) {
            i+=1;
            ccidx[md*ccidx_dim+nd]=i;
            midx[i]=md;
            nidx[i]=nd;
            cc[i]=0.; cs[i]=0.; sc[i]=0.; ss[i]=0.;
        }
        if(nd>0&&nd<nmax) {
            lsigma[nd]=sin(M_PI*(nd*1.)/(nmax*1.));
            lsigma[nd]=lsigma[nd]/(M_PI*(nd*1.)/(nmax*1.));
        }

    }
    for (idx=1;idx<=dim1*4;idx++) { // read coefficients
        fscanf (iname, "%d \t %d \t %d", &id, &ma, &na); 
//        fscanf (input, "%d \t %d \t %d \t %lg", &id, &ma, &na, &tp); 
        fscanf (input, "%lg", &tp); 
//        printf("%d, %d, %lg \n", id, ccidx[ma*ccidx_dim+na], tp);
//        if (tp!=tp) printf("%d, %d, %lg \n", id, ccidx[ma][na], tp);
        if (id==1) {
//            printf("cc \n");
            cc[ccidx[ma*ccidx_dim+na]]=tp;
        }
        else if (id==2) {
//            printf("cs \n");
            cs[ccidx[ma*ccidx_dim+na]]=tp;
        }
        else if (id==3) {
//            printf("sc \n");
            sc[ccidx[ma*ccidx_dim+na]]=tp;
        }
        else if (id==4) {
//            printf("ss \n");
            ss[ccidx[ma*ccidx_dim+na]]=tp;
        }
        else {
            printf("error \n");
        }
//        printf("%.20lg \n",tp);
    }
    fclose(input); // close data 
    fclose(iname); // close data 
    printf ("\nComputing b-fields\n");
    nphi=0;
    datac=fopen("data52.txt", "r"); // open data for counting
    while(fscanf(datac, "%lg", &datatmp)>0) {
    nphi++;
    }
    nphi=nphi/26; // azimuthal angle + 25 probes 
    fclose(datac); // close data file used for counting 

    //Loading data first
    dataread = (double *)malloc(sizeof(double)*26*nphi);
    dataoutZ = (double *)malloc(sizeof(double)*26*nphi);
    dataoutR = (double *)malloc(sizeof(double)*26*nphi);
    dataoutPhi = (double *)malloc(sizeof(double)*26*nphi);
    double tmp;
    datafile = fopen ("data52.txt", "r");
    for (id=0;id<nphi;id++) { // loop over azimuthal slices 
      fscanf (datafile, "%lg", &tmp); // read azimuthal angle in degrees 
      dataread[id*26]=tmp*M_PI/180.;
      for (prb=1;prb<=25;prb++){ // loop over 25 probes 
	fscanf (datafile, "%lg", &tmp); 
	dataread[id*26+prb]=tmp*0.001+61.7400000;
      }
    }
    fclose(datafile);
    //Zero output
    for (id=0;id<nphi;id++) { // loop over azimuthal slices 
      for (prb=1;prb<=25;prb++){ // loop over 25 probes 
	dataoutZ[id*26+prb]=0.0;
	dataoutR[id*26+prb]=0.0;
	dataoutPhi[id*26+prb]=0.0;
      }
    }
    //Calculate legq and dleq table
    Tlegq=(double *)malloc((dim1+1)*26*sizeof(double));
    Tdleq=(double *)malloc((dim1+1)*26*sizeof(double));

    for (prb=0;prb<=25;prb++){ // loop over 25 probes 
      for (i=0;i<=dim1;i++){
	Tlegq[i*26+prb]=0.0;
	Tdleq[i*26+prb]=0.0;
      }
    }
    for (prb=1;prb<=25;prb++){ // loop over 25 probes 
      for (i=1;i<=dim1;i++){
	int md=midx[i]; // m index 
	int nd=nidx[i]; // n index 
	/* LegendreQ at probe */
	Tlegq[i*26+prb]=LegendreQ(md,nd,zeta[prb])/LegendreQ(md,nd,zt0);
	/* Derivative of LegendreQ at probe */
	Tdleq[i*26+prb]=DLegendreQ(md,nd,zeta[prb])/LegendreQ(md,nd,zt0);
      }
    }

    //
    difrms=0.;
    dzrms=0.;
    ffrms=0.;

    //Allocate memory in device
    //Function Talbe
    double *d_legq = NULL;
    double *d_dleq = NULL;
    int f_size = sizeof(double)*26*(dim1+1);
    err = cudaMalloc((void **)&d_legq, f_size);
    err = cudaMalloc((void **)&d_dleq, f_size);

    //Cooridinates
    double *d_zeta = NULL;
    double *d_eta = NULL;
    int c_size = sizeof(double)*30;
    err = cudaMalloc((void **)&d_zeta, c_size);
    err = cudaMalloc((void **)&d_eta, c_size);

    //data storage;
    double *d_Data = NULL;
    double *d_DataoutZ = NULL;
    double *d_DataoutR = NULL;
    double *d_DataoutPhi = NULL;
    size_t sizeData = sizeof(double)*26*nphi;
    err = cudaMalloc((void **)&d_Data, sizeData);
    err = cudaMalloc((void **)&d_DataoutZ, sizeData);
    err = cudaMalloc((void **)&d_DataoutR, sizeData);
    err = cudaMalloc((void **)&d_DataoutPhi, sizeData);

    //ccidx
    int *d_ccidx = NULL;
    int size_ccidx = (dim1+2)*(dim1+2)*sizeof(int);
    err = cudaMalloc((void **)&d_ccidx, size_ccidx);

    int *d_midx = NULL;
    int size_midx = (dim1+2)*sizeof(int);
    err = cudaMalloc((void **)&d_midx, size_midx);

    int *d_nidx = NULL;
    int size_nidx = (dim1+2)*sizeof(int);
    err = cudaMalloc((void **)&d_nidx, size_nidx);

    //Vectors
    double *d_cc = NULL;
    double *d_cs = NULL;
    double *d_sc = NULL;
    double *d_ss = NULL;
    int d_size = sizeof(double)*(dim1+2);
    err = cudaMalloc((void **)&d_cc, d_size);
    err = cudaMalloc((void **)&d_cs, d_size);
    err = cudaMalloc((void **)&d_sc, d_size);
    err = cudaMalloc((void **)&d_ss, d_size);

    if (err != cudaSuccess)
    {
      fprintf(stderr, "Failed to allocate device memory (error code %s)!\n", cudaGetErrorString(err));
      exit(EXIT_FAILURE);
    }


    //copy matrix memory to device
    err = cudaMemcpy(d_legq, Tlegq, f_size, cudaMemcpyHostToDevice);
    err = cudaMemcpy(d_dleq, Tdleq, f_size, cudaMemcpyHostToDevice);
    err = cudaMemcpy(d_zeta, zeta, c_size, cudaMemcpyHostToDevice);
    err = cudaMemcpy(d_eta, eta, c_size, cudaMemcpyHostToDevice);
    err = cudaMemcpy(d_Data, dataread, sizeData, cudaMemcpyHostToDevice);
    err = cudaMemcpy(d_DataoutZ, dataoutZ, sizeData, cudaMemcpyHostToDevice);
    err = cudaMemcpy(d_DataoutR, dataoutR, sizeData, cudaMemcpyHostToDevice);
    err = cudaMemcpy(d_DataoutPhi, dataoutPhi, sizeData, cudaMemcpyHostToDevice);
    err = cudaMemcpy(d_ccidx, ccidx, size_ccidx, cudaMemcpyHostToDevice);
    err = cudaMemcpy(d_midx, midx, size_midx, cudaMemcpyHostToDevice);
    err = cudaMemcpy(d_nidx, nidx, size_nidx, cudaMemcpyHostToDevice);
    err = cudaMemcpy(d_cc, cc, d_size, cudaMemcpyHostToDevice);
    err = cudaMemcpy(d_cs, cs, d_size, cudaMemcpyHostToDevice);
    err = cudaMemcpy(d_sc, sc, d_size, cudaMemcpyHostToDevice);
    err = cudaMemcpy(d_ss, ss, d_size, cudaMemcpyHostToDevice);



    //Start parallel computing
    dim3 DimBlock (16,16);
    dim3 DimGrid (nphi/16+1, 26/16+1);
    printf("CUDA kernel launch with %d blocks of %d threads\n", DimGrid.x * DimGrid.y, 256);

    thread_call<<<DimGrid, DimBlock>>>(d_cc,d_cs,d_sc,d_ss,d_zeta,d_eta,d_legq,d_dleq,d_midx,d_nidx,d_ccidx,d_Data,d_DataoutZ,d_DataoutR,d_DataoutPhi,rr,bzero,dim1,nphi);
    err = cudaGetLastError();

    if (err != cudaSuccess)
    {
      fprintf(stderr, "Failed to launch vectorAdd kernel (error code %s)!\n", cudaGetErrorString(err));
      exit(EXIT_FAILURE);
    }
    printf("GPU jobs done.\n");


    //End parallel computing
    err = cudaMemcpy(dataoutZ, d_DataoutZ, sizeData, cudaMemcpyDeviceToHost);
    err = cudaMemcpy(dataoutR, d_DataoutR, sizeData, cudaMemcpyDeviceToHost);
    err = cudaMemcpy(dataoutPhi, d_DataoutPhi, sizeData, cudaMemcpyDeviceToHost);
    
    //open Root tree
/*    TFile *outfile = new TFile("RootOut52.root","recreate");
    TTree *Tree_Measured = new TTree ("Tree_Measured", "Measured field");
    Tree_Measured->Branch("Phi",&phi,"Phi/D");
    Tree_Measured->Branch("BField",&B_Measure,"Prb1/D:Prb2:Prb3:Prb4:Prb5:Prb6:Prb7:Prb8:Prb9:Prb10:Prb11:Prb12:Prb13:Prb14:Prb15:Prb16:Prb17:Prb18:Prb19:Prb20:Prb21:Prb22:Prb23:Prb24:Prb25");
    TTree *Tree_Fit = new TTree ("Tree_Fit", "Fitted field");
    Tree_Fit->Branch("Phi",&phi,"Phi/D");
    Tree_Fit->Branch("BField",&B_Fit,"Prb1/D:Prb2:Prb3:Prb4:Prb5:Prb6:Prb7:Prb8:Prb9:Prb10:Prb11:Prb12:Prb13:Prb14:Prb15:Prb16:Prb17:Prb18:Prb19:Prb20:Prb21:Prb22:Prb23:Prb24:Prb25");
    Tree_Fit->Branch("BFieldZ",&B_Fit,"Prb1/D:Prb2:Prb3:Prb4:Prb5:Prb6:Prb7:Prb8:Prb9:Prb10:Prb11:Prb12:Prb13:Prb14:Prb15:Prb16:Prb17:Prb18:Prb19:Prb20:Prb21:Prb22:Prb23:Prb24:Prb25");
    Tree_Fit->Branch("BFieldR",&B_Fit,"Prb1/D:Prb2:Prb3:Prb4:Prb5:Prb6:Prb7:Prb8:Prb9:Prb10:Prb11:Prb12:Prb13:Prb14:Prb15:Prb16:Prb17:Prb18:Prb19:Prb20:Prb21:Prb22:Prb23:Prb24:Prb25");
    Tree_Fit->Branch("BFieldPhi",&B_Fit,"Prb1/D:Prb2:Prb3:Prb4:Prb5:Prb6:Prb7:Prb8:Prb9:Prb10:Prb11:Prb12:Prb13:Prb14:Prb15:Prb16:Prb17:Prb18:Prb19:Prb20:Prb21:Prb22:Prb23:Prb24:Prb25");
    */
    for (id=0;id<nphi;id++) { // loop over azimuthal slices 
      phi=dataread[id*26];
      for (prb=1;prb<=25;prb++){ // loop over 25 probes 
	bz=dataoutZ[id*26+prb];
	br=dataoutR[id*26+prb];
	bphi=dataoutPhi[id*26+prb];
	bsize=sqrt(br*br+bz*bz+bphi*bphi);
	//            printf("%Lf \n",bsize);
	bfield[prb][4]=bsize;
	bfield[prb][1]=bz;
	bfield[prb][2]=br;
	bfield[prb][3]=bphi;
	B_Fit.Prb[prb-1]=bsize;
	B_ZFit.Prb[prb-1]=bz;
	B_RFit.Prb[prb-1]=br;
	B_PhiFit.Prb[prb-1]=bphi;
	B_Measure.Prb[prb-1]=dataread[id*26+prb];
	//Output
	fprintf(output,"%.17g %d %.17g %.17g %.17g %.17g %.17g\n",phi,prb,dataread[id*26+prb],bfield[prb][1],bfield[prb][2],bfield[prb][3],bfield[prb][4]);
	rmsd=(dataread[id*26+prb]-bfield[prb][4])*(dataread[id*26+prb]-bfield[prb][4]);
	difrms+=rmsd;
	rmsd=rmsd/bzero/bzero;
	dzrms+=(dataread[id*26+prb]-bz)*(dataread[id*26+prb]-bz);
	ffrms+=(dataread[id*26+prb]-bzero)*(dataread[id*26+prb]-bzero);
      }
     // Tree_Measured->Fill();
     // Tree_Fit->Fill();
    }
    //Tree_Measured->Write();
    //Tree_Fit->Write();
    //outfile->Close();

    difrms=difrms/bzero/bzero/nphi/25;
    dzrms=dzrms/bzero/bzero/nphi/25;
    ffrms=ffrms/bzero/bzero/nphi/25;
    difrms=sqrt(difrms)*1000000.;
    dzrms=sqrt(dzrms)*1000000.;
    ffrms=sqrt(ffrms)*1000000.;
    printf("RMS fluctuation = %.17g ppm \n", ffrms);
    printf("RMS difference (lin. approx.) = %.17g ppm \n", dzrms);
    printf("RMS difference (real) = %.17g ppm \n", difrms);

    free(cc);
    free(cs);
    free(sc);
    free(ss);
    free(ccidx);
    free(midx);
    free(nidx);
    free(Tlegq);
    free(Tdleq);
    free(dataread);
    free(dataoutZ);
    free(dataoutR);
    free(dataoutPhi);

    return 0;
}

/* hypergeometric function 1F2 
   evaluated by truncating an infinite sum */
double h1f2(double a, double b, double c, double z){
	int i, imax;
	double err, tol, si, sii, f1f2;
	double errabs, errrel;
	imax=100000000; // 10^8 maximum iterations
	sii=1.; // initial term 
	err=1.; // estimated uncertainty 
	f1f2=1.; // initial contribution 
	i=0;  // iterator
	tol=pow(10.,-16.); // error tolerance 
	if (z<tol||z>1.-tol) { // z out of range or dangerously close to 0 or 1
		i=imax+1;
		f1f2=1./err; // to return inf or nan
	}
	while (err>tol&&i<=imax) {
		i++;
		si=(a+i-1.)*(b+i-1.)/(c+i-1.)*z/i*sii; // next term 
		f1f2+=si; //next term added 
		errabs=fabsl(si*z/(1.-z)); // estimated absolute uncertainty 
		errrel=fabsl(errabs/f1f2); // estimated relative uncertainty 
		if (errabs>errrel) { // choose larger one as error
			err=errabs;
		}
		else {
			err=errrel;
		}
		sii=si;
	}
	return f1f2;
}

/* Legendre function of the second kind, Q_{m+1/2}^n (cosh(z)).
   Normalized to remove gamma function.
   Regular inside the torus */
double LegendreQ(double m, double n, double z){
    double lq;
//    lq=pow(M_PI,.5)*exp(lgammal(m+n+.5))/(pow(2.,m+.5)*exp(lgammal(m+1.)));
    lq=pow(tanh(z),n)/pow(cosh(z),m+.5);
    lq=lq*h1f2(.5*(m+n+.5),.5*(m+n+1.5),m+1.,1./cosh(z)/cosh(z));
    return lq;
}

/* Derivative of Q_{m+1/2}^n (cosh(z)).
   Normalized to remove gamma function.
 */
double DLegendreQ(int m, int n, double z){
    double dlq, lq1, lq2;
    if (m==0) {
        dlq=-1/(8*pow(cosh(z),1.5))/sinh(z);
        dlq=dlq*pow(tanh(z),n);
        dlq=dlq*( (4.*pow(sinh(z),2.)-8.*n)*                        \
                   h1f2(n/2.+.25,n/2.+.75,1.,1/cosh(z)/cosh(z)) +   \
                   (4.*n*n+8.*n+3.)*tanh(z)*tanh(z)*                \
                   h1f2(n/2.+1.25,n/2.+1.75,2.,1/cosh(z)/cosh(z)));
    }
    else {
        lq1=pow(tanh(z),n)/pow(cosh(z),m+.5);
        lq1=lq1*h1f2(.5*(m+n+.5),.5*(m+n+1.5),m+1.,1./cosh(z)/cosh(z));
        lq2=pow(tanh(z),n)/pow(cosh(z),m-.5);
        lq2=lq2*h1f2(.5*(m+n-.5),.5*(m+n+.5),m*1.,1./cosh(z)/cosh(z));
        dlq=(m-.5)/tanh(z)*lq1-(2.*m)/sinh(z)*lq2;
    }
    return dlq;
}

/* coordinate transformation r, z -> zeta */
double zetaf(double rho, double z, double r0){
    double zetax;
    zetax=atanhl(2.*rho*r0/(rho*rho+r0*r0+z*z));
    return zetax;
}

/* coordinate transformation r, z -> eta */
double etaf(double rho, double z, double r0){
    double etax, xx;
    int i;
    xx=2.*r0*z/(rho*rho-r0*r0+z*z);
    if (fabsl(xx)<0.001) {
        etax=1.;
        for (i=1;i<=10;i++) {
            etax=etax+pow(xx,2.*i)/(2.*i+1.)*cos(M_PI*i);
        }
        etax=etax*xx;
    }
    else {
        etax=atanl(xx);
    }
    if (rho<sqrtl(r0*r0-z*z)) etax=etax+M_PI;
    return etax;
}


//Function for each thread call
__global__ void thread_call(const double *cc,const double *cs,const double *sc,const double *ss,const double *zeta,const double *eta,const double *Tlegq,const double *Tdleq,const int *midx,const int *nidx,const int*ccidx,const double *dataread,double *dataoutZ,double *dataoutR,double *dataoutPhi,const double rr,const double bzero,const int dim1,int nphi){
  //Get index
  int id = blockDim.x * blockIdx.x + threadIdx.x;
  int prb = blockDim.y * blockIdx.y + threadIdx.y;
  int ccidx_dim = dim1+2;
  if(id<nphi && prb<26 && prb>0){
    double phi=dataread[id*26];
    double zt=zeta[prb];  // zeta coordinate at probe 
    double et=eta[prb];  // eta coordinate at probe 
    //            printf("%Lf, %Lf \n", zt, et);
    double wgt=sqrt(cosh(zt)-cos(et)); // weight func in toroidal coordinates 
    double br=0.; 
    double bz=bzero; 
    double bphi=0.;
    for (int i=1;i<=dim1;i++){
      int md=midx[i]; // m index 
      int nd=nidx[i]; // n index 
      //                printf("%d, %d \n", md, nd);
      /* LegendreQ at probe */
      double legq=Tlegq[i*26+prb];
      /* Derivative of LegendreQ at probe */
      double dleq=Tdleq[i*26+prb];
      //                printf("(%d, %d, %Lf) : %Lf, %Lf \n", md,nd,zt,legq, dleq);
      double phidz=cc[ccidx[md*ccidx_dim+nd]]*cos(nd*phi)*cos(md*et)+  \
		   sc[ccidx[md*ccidx_dim+nd]]*cos(nd*phi)*sin(md*et)+  \
		   cs[ccidx[md*ccidx_dim+nd]]*sin(nd*phi)*cos(md*et)+  \
		   ss[ccidx[md*ccidx_dim+nd]]*sin(nd*phi)*sin(md*et);
      phidz=phidz*(sinh(zt)/2./wgt*legq + wgt*dleq);
      double phidp=-cc[ccidx[md*ccidx_dim+nd]]*sin(nd*phi)*cos(md*et)-  \
		   sc[ccidx[md*ccidx_dim+nd]]*sin(nd*phi)*sin(md*et)+  \
		   cs[ccidx[md*ccidx_dim+nd]]*cos(nd*phi)*cos(md*et)+  \
		   ss[ccidx[md*ccidx_dim+nd]]*cos(nd*phi)*sin(md*et);
      phidp=phidp*nd*wgt*legq;
      double phide1=cc[ccidx[md*ccidx_dim+nd]]*cos(nd*phi)*cos(md*et)+  \
		    sc[ccidx[md*ccidx_dim+nd]]*cos(nd*phi)*sin(md*et)+  \
		    cs[ccidx[md*ccidx_dim+nd]]*sin(nd*phi)*cos(md*et)+  \
		    ss[ccidx[md*ccidx_dim+nd]]*sin(nd*phi)*sin(md*et);
      phide1=phide1*sin(et)/2./wgt*legq;
      double phide2=-cc[ccidx[md*ccidx_dim+nd]]*cos(nd*phi)*sin(md*et)+  \
		    sc[ccidx[md*ccidx_dim+nd]]*cos(nd*phi)*cos(md*et)-  \
		    cs[ccidx[md*ccidx_dim+nd]]*sin(nd*phi)*sin(md*et)+  \
		    ss[ccidx[md*ccidx_dim+nd]]*sin(nd*phi)*cos(md*et);
      phide2=phide2*md*wgt*legq;
      double phide=phide1+phide2;
      br=br+sinh(zt)/rr*((1.-cosh(zt)*cos(et))/sinh(zt)*phidz-sin(et)*phide);
      bz=bz+sinh(zt)/rr*(-sin(et)*phidz-(1.-cosh(zt)*cos(et))/sinh(zt)*phide);
      bphi=bphi+(cosh(zt)-cos(et))/(rr*sinh(zt))*phidp;
    }
    dataoutZ[id*26+prb]=bz;
    dataoutR[id*26+prb]=br;
    dataoutPhi[id*26+prb]=bphi;
  }
}








	.file	"tmpxft_002fb3df_00000000-6_calculatebfield.cudafe1.cpp"
	.text
#APP
	.globl _ZSt21ios_base_library_initv

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB3643:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE3643:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.globl	_Z4h1f2dddd
	.type	_Z4h1f2dddd, @function
_Z4h1f2dddd:
.LFB3636:
	.cfi_startproc
	endbr64
	movaps	%xmm0, %xmm7
	movsd	.LC1(%rip), %xmm0
	movsd	.LC0(%rip), %xmm4
	comisd	%xmm3, %xmm0
	movaps	%xmm4, %xmm5
	ja	.L2
	comisd	.LC2(%rip), %xmm3
	ja	.L2
	movq	.LC3(%rip), %xmm8
	movaps	%xmm4, %xmm6
	movaps	%xmm4, %xmm0
	xorl	%eax, %eax
.L4:
	comisd	.LC1(%rip), %xmm0
	jbe	.L2
	cmpl	$100000001, %eax
	je	.L2
	incl	%eax
	cvtsi2sdl	%eax, %xmm9
	movaps	%xmm9, %xmm0
	movaps	%xmm9, %xmm10
	addsd	%xmm7, %xmm0
	addsd	%xmm1, %xmm10
	subsd	%xmm4, %xmm0
	subsd	%xmm4, %xmm10
	mulsd	%xmm10, %xmm0
	movaps	%xmm9, %xmm10
	addsd	%xmm2, %xmm10
	subsd	%xmm4, %xmm10
	divsd	%xmm10, %xmm0
	mulsd	%xmm3, %xmm0
	divsd	%xmm9, %xmm0
	movaps	%xmm4, %xmm9
	subsd	%xmm3, %xmm9
	mulsd	%xmm0, %xmm6
	movaps	%xmm3, %xmm0
	mulsd	%xmm6, %xmm0
	addsd	%xmm6, %xmm5
	divsd	%xmm9, %xmm0
	movaps	%xmm0, %xmm9
	divsd	%xmm5, %xmm0
	andps	%xmm8, %xmm9
	andps	%xmm8, %xmm0
	maxsd	%xmm0, %xmm9
	movaps	%xmm9, %xmm0
	jmp	.L4
.L2:
	movaps	%xmm5, %xmm0
	ret
	.cfi_endproc
.LFE3636:
	.size	_Z4h1f2dddd, .-_Z4h1f2dddd
	.globl	_Z9LegendreQddd
	.type	_Z9LegendreQddd, @function
_Z9LegendreQddd:
.LFB3637:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movq	%xmm1, %r14
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movq	%xmm2, %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movsd	%xmm0, 8(%rsp)
	movaps	%xmm2, %xmm0
	call	tanh@PLT
	movq	%r14, %xmm1
	call	pow@PLT
	movsd	%xmm0, 16(%rsp)
	movq	%rbx, %xmm0
	call	cosh@PLT
	movsd	.LC4(%rip), %xmm4
	movsd	8(%rsp), %xmm1
	addsd	%xmm4, %xmm1
	call	pow@PLT
	movsd	16(%rsp), %xmm2
	divsd	%xmm0, %xmm2
	movq	%rbx, %xmm0
	movsd	%xmm2, 24(%rsp)
	call	cosh@PLT
	movsd	%xmm0, 16(%rsp)
	movq	%rbx, %xmm0
	call	cosh@PLT
	movsd	.LC0(%rip), %xmm2
	movsd	.LC4(%rip), %xmm4
	movaps	%xmm0, %xmm5
	movq	%r14, %xmm0
	addsd	8(%rsp), %xmm0
	movsd	.LC5(%rip), %xmm1
	movaps	%xmm2, %xmm3
	divsd	16(%rsp), %xmm3
	addsd	8(%rsp), %xmm2
	divsd	%xmm5, %xmm3
	addsd	%xmm0, %xmm1
	addsd	%xmm4, %xmm0
	mulsd	%xmm4, %xmm1
	mulsd	%xmm4, %xmm0
	call	_Z4h1f2dddd
	mulsd	24(%rsp), %xmm0
	addq	$40, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE3637:
	.size	_Z9LegendreQddd, .-_Z9LegendreQddd
	.globl	_Z10DLegendreQiid
	.type	_Z10DLegendreQiid, @function
_Z10DLegendreQiid:
.LFB3638:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	cvtsi2sdl	%esi, %xmm7
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	movq	%xmm0, %r14
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$72, %rsp
	.cfi_def_cfa_offset 112
	testl	%edi, %edi
	movsd	%xmm7, 16(%rsp)
	jne	.L19
	call	cosh@PLT
	movsd	.LC5(%rip), %xmm1
	call	pow@PLT
	movq	%xmm0, %rbx
	movq	%r14, %xmm0
	call	sinh@PLT
	movsd	.LC7(%rip), %xmm1
	movaps	%xmm0, %xmm2
	movq	%rbx, %xmm0
	mulsd	.LC6(%rip), %xmm0
	divsd	%xmm0, %xmm1
	movq	%r14, %xmm0
	divsd	%xmm2, %xmm1
	movsd	%xmm1, 8(%rsp)
	call	tanh@PLT
	movsd	16(%rsp), %xmm1
	movsd	%xmm0, 56(%rsp)
	call	pow@PLT
	mulsd	8(%rsp), %xmm0
	movsd	%xmm0, 32(%rsp)
	movq	%r14, %xmm0
	call	sinh@PLT
	movsd	.LC6(%rip), %xmm6
	mulsd	16(%rsp), %xmm6
	mulsd	%xmm0, %xmm0
	mulsd	.LC8(%rip), %xmm0
	movsd	%xmm6, 48(%rsp)
	subsd	%xmm6, %xmm0
	movsd	%xmm0, 8(%rsp)
	movq	%r14, %xmm0
	call	cosh@PLT
	movsd	%xmm0, 24(%rsp)
	movq	%r14, %xmm0
	call	cosh@PLT
	movsd	.LC0(%rip), %xmm3
	divsd	24(%rsp), %xmm3
	movsd	.LC4(%rip), %xmm5
	movaps	%xmm0, %xmm1
	movsd	.LC10(%rip), %xmm0
	movsd	.LC0(%rip), %xmm2
	divsd	%xmm1, %xmm3
	mulsd	16(%rsp), %xmm5
	movaps	%xmm5, %xmm1
	addsd	%xmm5, %xmm0
	movsd	%xmm5, 40(%rsp)
	addsd	.LC9(%rip), %xmm1
	call	_Z4h1f2dddd
	mulsd	8(%rsp), %xmm0
	movsd	48(%rsp), %xmm6
	movsd	56(%rsp), %xmm4
	movsd	%xmm0, 8(%rsp)
	movsd	.LC8(%rip), %xmm0
	mulsd	16(%rsp), %xmm0
	mulsd	16(%rsp), %xmm0
	addsd	%xmm6, %xmm0
	addsd	.LC11(%rip), %xmm0
	mulsd	%xmm4, %xmm0
	mulsd	%xmm4, %xmm0
	movsd	%xmm0, 16(%rsp)
	movq	%r14, %xmm0
	call	cosh@PLT
	movsd	%xmm0, 24(%rsp)
	movq	%r14, %xmm0
	call	cosh@PLT
	movsd	.LC0(%rip), %xmm3
	divsd	24(%rsp), %xmm3
	movsd	40(%rsp), %xmm5
	movaps	%xmm0, %xmm1
	movsd	.LC14(%rip), %xmm0
	movsd	.LC12(%rip), %xmm2
	divsd	%xmm1, %xmm3
	addsd	%xmm5, %xmm0
	addsd	.LC13(%rip), %xmm5
	movaps	%xmm5, %xmm1
	call	_Z4h1f2dddd
	mulsd	16(%rsp), %xmm0
	addsd	8(%rsp), %xmm0
	mulsd	32(%rsp), %xmm0
	jmp	.L18
.L19:
	movl	%esi, %ebp
	movl	%edi, %ebx
	call	tanh@PLT
	cvtsi2sdl	%ebp, %xmm1
	movsd	%xmm0, 24(%rsp)
	call	pow@PLT
	cvtsi2sdl	%ebx, %xmm6
	addl	%ebp, %ebx
	movsd	%xmm0, 32(%rsp)
	movq	%r14, %xmm0
	movsd	%xmm6, 8(%rsp)
	call	cosh@PLT
	movsd	.LC4(%rip), %xmm1
	addsd	8(%rsp), %xmm1
	call	pow@PLT
	movsd	32(%rsp), %xmm2
	divsd	%xmm0, %xmm2
	movq	%r14, %xmm0
	movsd	%xmm2, 40(%rsp)
	call	cosh@PLT
	movsd	%xmm0, 32(%rsp)
	movq	%r14, %xmm0
	call	cosh@PLT
	movsd	.LC0(%rip), %xmm3
	divsd	32(%rsp), %xmm3
	cvtsi2sdl	%ebx, %xmm4
	divsd	%xmm0, %xmm3
	movsd	.LC4(%rip), %xmm1
	movsd	.LC0(%rip), %xmm2
	addsd	8(%rsp), %xmm2
	addsd	%xmm4, %xmm1
	mulsd	.LC4(%rip), %xmm1
	movsd	%xmm4, 48(%rsp)
	movq	%xmm1, %rbx
	movsd	.LC5(%rip), %xmm1
	movq	%rbx, %xmm0
	addsd	%xmm4, %xmm1
	mulsd	.LC4(%rip), %xmm1
	call	_Z4h1f2dddd
	mulsd	40(%rsp), %xmm0
	movsd	16(%rsp), %xmm1
	movsd	%xmm0, 32(%rsp)
	movsd	24(%rsp), %xmm0
	call	pow@PLT
	movsd	8(%rsp), %xmm7
	subsd	.LC4(%rip), %xmm7
	movq	%xmm0, %rbp
	movq	%r14, %xmm0
	movq	%xmm7, %r15
	call	cosh@PLT
	movq	%r15, %xmm1
	call	pow@PLT
	movq	%rbp, %xmm7
	divsd	%xmm0, %xmm7
	movq	%r14, %xmm0
	movsd	%xmm7, 40(%rsp)
	call	cosh@PLT
	movsd	%xmm0, 16(%rsp)
	movq	%r14, %xmm0
	call	cosh@PLT
	movsd	48(%rsp), %xmm4
	movsd	8(%rsp), %xmm2
	movq	%rbx, %xmm1
	movsd	.LC0(%rip), %xmm3
	divsd	16(%rsp), %xmm3
	divsd	%xmm0, %xmm3
	subsd	.LC4(%rip), %xmm4
	mulsd	.LC4(%rip), %xmm4
	movaps	%xmm4, %xmm0
	call	_Z4h1f2dddd
	movsd	%xmm0, 16(%rsp)
	movq	%r14, %xmm0
	call	sinh@PLT
	movsd	8(%rsp), %xmm1
	movaps	%xmm0, %xmm2
	movq	%r15, %xmm0
	divsd	24(%rsp), %xmm0
	addsd	%xmm1, %xmm1
	mulsd	32(%rsp), %xmm0
	divsd	%xmm2, %xmm1
	movsd	16(%rsp), %xmm2
	mulsd	40(%rsp), %xmm2
	mulsd	%xmm2, %xmm1
	subsd	%xmm1, %xmm0
.L18:
	addq	$72, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE3638:
	.size	_Z10DLegendreQiid, .-_Z10DLegendreQiid
	.globl	_Z5zetafddd
	.type	_Z5zetafddd, @function
_Z5zetafddd:
.LFB3639:
	.cfi_startproc
	endbr64
	mulsd	%xmm1, %xmm1
	movaps	%xmm0, %xmm3
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	addsd	%xmm0, %xmm3
	mulsd	%xmm0, %xmm0
	mulsd	%xmm2, %xmm3
	mulsd	%xmm2, %xmm2
	addsd	%xmm2, %xmm0
	addsd	%xmm1, %xmm0
	divsd	%xmm0, %xmm3
	movsd	%xmm3, 24(%rsp)
	fldl	24(%rsp)
	fstpt	(%rsp)
	call	atanhl@PLT
	fstpl	24(%rsp)
	movsd	24(%rsp), %xmm0
	addq	$40, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE3639:
	.size	_Z5zetafddd, .-_Z5zetafddd
	.globl	_Z4etafddd
	.type	_Z4etafddd, @function
_Z4etafddd:
.LFB3640:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movaps	%xmm2, %xmm5
	movaps	%xmm1, %xmm6
	mulsd	%xmm2, %xmm5
	addsd	%xmm2, %xmm2
	mulsd	%xmm1, %xmm6
	subq	$64, %rsp
	.cfi_def_cfa_offset 80
	movsd	%xmm0, 8(%rsp)
	mulsd	%xmm0, %xmm0
	mulsd	%xmm1, %xmm2
	movsd	.LC16(%rip), %xmm1
	movsd	%xmm5, 16(%rsp)
	movsd	%xmm6, 24(%rsp)
	subsd	%xmm5, %xmm0
	addsd	%xmm6, %xmm0
	divsd	%xmm0, %xmm2
	movaps	%xmm2, %xmm0
	andps	.LC3(%rip), %xmm0
	movsd	%xmm2, (%rsp)
	comisd	%xmm0, %xmm1
	jbe	.L34
	movsd	.LC0(%rip), %xmm4
	movl	$1, %ebx
.L27:
	cvtsi2sdl	%ebx, %xmm3
	movsd	(%rsp), %xmm0
	movsd	%xmm4, 56(%rsp)
	incl	%ebx
	movaps	%xmm3, %xmm1
	movsd	%xmm3, 48(%rsp)
	addsd	%xmm3, %xmm1
	movsd	%xmm1, 40(%rsp)
	call	pow@PLT
	movsd	48(%rsp), %xmm3
	movsd	%xmm0, 32(%rsp)
	movsd	.LC17(%rip), %xmm0
	mulsd	%xmm3, %xmm0
	call	cos@PLT
	movsd	40(%rsp), %xmm1
	addsd	.LC0(%rip), %xmm1
	movsd	32(%rsp), %xmm2
	movaps	%xmm0, %xmm3
	movsd	56(%rsp), %xmm4
	divsd	%xmm1, %xmm2
	movaps	%xmm2, %xmm0
	mulsd	%xmm3, %xmm0
	addsd	%xmm0, %xmm4
	cmpl	$11, %ebx
	jne	.L27
	movsd	(%rsp), %xmm0
	mulsd	%xmm4, %xmm0
	jmp	.L28
.L34:
	fldl	(%rsp)
	pushq	%rsi
	.cfi_def_cfa_offset 88
	pushq	%rsi
	.cfi_def_cfa_offset 96
	fstpt	(%rsp)
	call	atanl@PLT
	popq	%rdi
	.cfi_def_cfa_offset 88
	popq	%r8
	.cfi_def_cfa_offset 80
	fstpl	(%rsp)
	movsd	(%rsp), %xmm0
.L28:
	movsd	16(%rsp), %xmm7
	subsd	24(%rsp), %xmm7
	movsd	%xmm0, 32(%rsp)
	movsd	%xmm7, (%rsp)
	fldl	(%rsp)
	pushq	%rax
	.cfi_def_cfa_offset 88
	pushq	%rax
	.cfi_def_cfa_offset 96
	fstpt	(%rsp)
	call	sqrtl@PLT
	fldl	24(%rsp)
	fxch	%st(1)
	popq	%rdx
	.cfi_def_cfa_offset 88
	popq	%rcx
	.cfi_def_cfa_offset 80
	movsd	32(%rsp), %xmm0
	fcomip	%st(1), %st
	fstp	%st(0)
	jbe	.L24
	addsd	.LC17(%rip), %xmm0
.L24:
	addq	$64, %rsp
	.cfi_def_cfa_offset 16
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE3640:
	.size	_Z4etafddd, .-_Z4etafddd
	.globl	_Z77__device_stub__Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddiiPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii
	.type	_Z77__device_stub__Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddiiPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii, @function
_Z77__device_stub__Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddiiPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii:
.LFB3665:
	.cfi_startproc
	endbr64
	subq	$376, %rsp
	.cfi_def_cfa_offset 384
	movq	384(%rsp), %rax
	movq	%rdi, 136(%rsp)
	leaq	160(%rsp), %rdi
	movq	%rsi, 128(%rsp)
	leaq	172(%rsp), %rsi
	movq	%rax, 88(%rsp)
	movq	392(%rsp), %rax
	movq	%rdx, 120(%rsp)
	leaq	144(%rsp), %rdx
	movq	%rax, 80(%rsp)
	movq	400(%rsp), %rax
	movq	%rcx, 112(%rsp)
	leaq	152(%rsp), %rcx
	movq	%rax, 72(%rsp)
	movq	408(%rsp), %rax
	movq	%r8, 104(%rsp)
	movq	%rax, 64(%rsp)
	movq	416(%rsp), %rax
	movq	%r9, 96(%rsp)
	movq	%rax, 56(%rsp)
	movq	424(%rsp), %rax
	movsd	%xmm0, 16(%rsp)
	movq	%rax, 48(%rsp)
	movq	432(%rsp), %rax
	movsd	%xmm1, 8(%rsp)
	movq	%rax, 40(%rsp)
	movq	440(%rsp), %rax
	movq	%rax, 32(%rsp)
	movq	448(%rsp), %rax
	movq	%rax, 24(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 360(%rsp)
	xorl	%eax, %eax
	leaq	136(%rsp), %rax
	movq	%rax, 208(%rsp)
	leaq	128(%rsp), %rax
	movq	%rax, 216(%rsp)
	leaq	120(%rsp), %rax
	movq	%rax, 224(%rsp)
	leaq	112(%rsp), %rax
	movq	%rax, 232(%rsp)
	leaq	104(%rsp), %rax
	movq	%rax, 240(%rsp)
	leaq	96(%rsp), %rax
	movq	%rax, 248(%rsp)
	leaq	88(%rsp), %rax
	movq	%rax, 256(%rsp)
	leaq	80(%rsp), %rax
	movq	%rax, 264(%rsp)
	leaq	72(%rsp), %rax
	movq	%rax, 272(%rsp)
	leaq	64(%rsp), %rax
	movq	%rax, 280(%rsp)
	leaq	56(%rsp), %rax
	movq	%rax, 288(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 296(%rsp)
	leaq	40(%rsp), %rax
	movq	%rax, 304(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 312(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 320(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 328(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 336(%rsp)
	leaq	456(%rsp), %rax
	movq	%rax, 344(%rsp)
	leaq	464(%rsp), %rax
	movq	%rax, 352(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 160(%rsp)
	movl	$1, 168(%rsp)
	movq	%rax, 172(%rsp)
	movl	$1, 180(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L36
	pushq	152(%rsp)
	.cfi_def_cfa_offset 392
	leaq	_Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii(%rip), %rdi
	pushq	152(%rsp)
	.cfi_def_cfa_offset 400
	movq	188(%rsp), %rcx
	movl	196(%rsp), %r8d
	movq	176(%rsp), %rsi
	movl	184(%rsp), %edx
	leaq	224(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 392
	popq	%rdx
	.cfi_def_cfa_offset 384
.L36:
	movq	360(%rsp), %rax
	subq	%fs:40, %rax
	je	.L38
	call	__stack_chk_fail@PLT
.L38:
	addq	$376, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE3665:
	.size	_Z77__device_stub__Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddiiPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii, .-_Z77__device_stub__Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddiiPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii
	.globl	_Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii
	.type	_Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii, @function
_Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii:
.LFB3666:
	.cfi_startproc
	endbr64
	jmp	_Z77__device_stub__Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddiiPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii
	.cfi_endproc
.LFE3666:
	.size	_Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii, .-_Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC19:
	.string	"r"
.LC20:
	.string	"fitc.txt"
.LC21:
	.string	"outnames.txt"
.LC22:
	.string	"w"
.LC23:
	.string	"output52full.txt"
.LC24:
	.string	"%d"
.LC25:
	.string	"MMax %d, NMax %d \n"
.LC26:
	.string	"out of memory\n"
.LC31:
	.string	"probe %d location r=%.17g, theta=%.17g \n"
.LC32:
	.string	"\nComputing coordinates\n"
.LC36:
	.string	"%d \t %d \t %d"
.LC37:
	.string	"%lg"
.LC38:
	.string	"error \n"
.LC39:
	.string	"\nComputing b-fields\n"
.LC40:
	.string	"data52.txt"
.LC44:
	.string	"Failed to allocate device memory (error code %s)!\n"
.LC45:
	.string	"CUDA kernel launch with %d blocks of %d threads\n"
.LC47:
	.string	"Failed to launch vectorAdd kernel (error code %s)!\n"
.LC48:
	.string	"GPU jobs done.\n"
.LC49:
	.string	"%.17g %d %.17g %.17g %.17g %.17g %.17g\n"
.LC52:
	.string	"RMS fluctuation = %.17g ppm \n"
.LC53:
	.string	"RMS difference (lin. approx.) = %.17g ppm \n"
.LC54:
	.string	"RMS difference (real) = %.17g ppm \n"
	.section	.text.startup,"ax",@progbits
	.globl	main
	.type	main, @function
main:
.LFB3635:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$240, %edi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC19(%rip), %rbx
	subq	$920, %rsp
	.cfi_def_cfa_offset 976
	movq	%fs:40, %rax
	movq	%rax, 904(%rsp)
	xorl	%eax, %eax
	call	malloc@PLT
	movl	$240, %edi
	movq	%rax, 128(%rsp)
	call	malloc@PLT
	movq	%rbx, %rsi
	leaq	.LC20(%rip), %rdi
	movq	%rax, 160(%rsp)
	call	fopen@PLT
	movq	%rbx, %rsi
	leaq	.LC21(%rip), %rdi
	leaq	.LC24(%rip), %rbx
	movq	%rax, 32(%rsp)
	call	fopen@PLT
	leaq	.LC22(%rip), %rsi
	leaq	.LC23(%rip), %rdi
	movq	%rax, 8(%rsp)
	call	fopen@PLT
	movq	8(%rsp), %rdi
	movq	%rbx, %rsi
	leaq	240(%rsp), %rdx
	movq	%rax, 168(%rsp)
	xorl	%eax, %eax
	call	__isoc23_fscanf@PLT
	movq	8(%rsp), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	leaq	236(%rsp), %rdx
	call	__isoc23_fscanf@PLT
	movl	236(%rsp), %ecx
	movl	$2, %edi
	xorl	%eax, %eax
	movl	240(%rsp), %edx
	leaq	.LC25(%rip), %rsi
	call	__printf_chk@PLT
	movl	236(%rsp), %r13d
	movl	240(%rsp), %eax
	leal	1(%rax), %ebp
	leal	1(%r13), %eax
	imull	%eax, %ebp
	leal	2(%rbp), %ebx
	movslq	%ebx, %r14
	leaq	0(,%r14,8), %r12
	movq	%r12, %rdi
	call	malloc@PLT
	movq	%r12, %rdi
	movq	%rax, 56(%rsp)
	call	malloc@PLT
	movq	%r12, %rdi
	movq	%rax, 64(%rsp)
	call	malloc@PLT
	movq	%r12, %rdi
	movq	%rax, 72(%rsp)
	call	malloc@PLT
	leal	2(%r13), %edi
	movslq	%edi, %rdi
	movq	%rax, 80(%rsp)
	salq	$3, %rdi
	call	malloc@PLT
	movq	%rax, %r13
	movl	%ebx, %eax
	imull	%ebx, %eax
	movslq	%eax, %rdi
	movl	%eax, 136(%rsp)
	salq	$2, %rdi
	call	malloc@PLT
	movq	%rax, 16(%rsp)
	testq	%rax, %rax
	jne	.L42
	leaq	.LC26(%rip), %rsi
	movl	$2, %edi
	call	__printf_chk@PLT
.L42:
	movq	%r12, %rdi
	call	malloc@PLT
	movq	%r12, %rdi
	movq	%rax, 88(%rsp)
	call	malloc@PLT
	movsd	.LC12(%rip), %xmm3
	movq	$0x000000000, 432(%rsp)
	movsd	.LC10(%rip), %xmm2
	movsd	.LC27(%rip), %xmm1
	movq	%rax, 96(%rsp)
	movl	$2, %eax
	movq	$0x000000000, 672(%rsp)
.L43:
	movsd	%xmm1, 664(%rsp,%rax,8)
	cvtsi2sdl	%eax, %xmm0
	subsd	%xmm3, %xmm0
	mulsd	.LC17(%rip), %xmm0
	mulsd	%xmm2, %xmm0
	movsd	%xmm0, 424(%rsp,%rax,8)
	incq	%rax
	cmpq	$10, %rax
	jne	.L43
	movsd	.LC28(%rip), %xmm3
	movsd	.LC29(%rip), %xmm2
	movsd	.LC30(%rip), %xmm1
.L44:
	movsd	%xmm1, 664(%rsp,%rax,8)
	cvtsi2sdl	%eax, %xmm0
	subsd	%xmm3, %xmm0
	mulsd	.LC17(%rip), %xmm0
	mulsd	%xmm2, %xmm0
	movsd	%xmm0, 424(%rsp,%rax,8)
	incq	%rax
	cmpq	$26, %rax
	jne	.L44
	movl	$1, %r15d
	leaq	.LC31(%rip), %r12
.L45:
	movl	%r15d, %edx
	movq	%r12, %rsi
	movl	$2, %edi
	movb	$2, %al
	movsd	664(%rsp,%r15,8), %xmm0
	movsd	424(%rsp,%r15,8), %xmm1
	incq	%r15
	call	__printf_chk@PLT
	cmpq	$26, %r15
	jne	.L45
	leaq	.LC32(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	movl	$8, %r12d
	call	__printf_chk@PLT
.L46:
	leaq	216(%rsp), %rdi
	leaq	208(%rsp), %rsi
	movsd	664(%rsp,%r12), %xmm2
	movsd	424(%rsp,%r12), %xmm0
	movsd	%xmm2, 24(%rsp)
	call	sincos@PLT
	movsd	24(%rsp), %xmm2
	movaps	%xmm2, %xmm1
	xorps	.LC33(%rip), %xmm1
	mulsd	216(%rsp), %xmm2
	mulsd	208(%rsp), %xmm1
	addsd	.LC34(%rip), %xmm2
	movq	%xmm2, %r15
	movsd	.LC35(%rip), %xmm2
	movq	%r15, %xmm0
	movsd	%xmm1, 24(%rsp)
	call	_Z5zetafddd
	movq	128(%rsp), %rax
	movsd	.LC35(%rip), %xmm2
	movsd	24(%rsp), %xmm1
	movsd	%xmm0, (%rax,%r12)
	movq	%r15, %xmm0
	call	_Z4etafddd
	movq	160(%rsp), %rax
	movsd	%xmm0, (%rax,%r12)
	addq	$8, %r12
	cmpq	$208, %r12
	jne	.L46
	movq	.LC0(%rip), %rax
	xorl	%r15d, %r15d
	movl	240(%rsp), %r9d
	movl	$-1, %r12d
	movl	%r15d, 248(%rsp)
	movq	%rax, 0(%r13)
	movslq	236(%rsp), %rax
	movl	%r15d, 252(%rsp)
	xorl	%r15d, %r15d
	movq	$0x000000000, 0(%r13,%rax,8)
	movq	%rax, %rsi
	leaq	0(,%r14,4), %rax
	xorl	%r14d, %r14d
	testl	%r9d, %r9d
	movq	%rax, 40(%rsp)
	cmovns	%r9d, %r12d
	incl	%r12d
.L47:
	movl	%r15d, %r11d
	movl	%r15d, %r10d
	cmpl	%r15d, %esi
	jl	.L50
	movq	16(%rsp), %rcx
	movslq	%r14d, %rax
	leaq	(%rcx,%r15,4), %rdi
	xorl	%ecx, %ecx
.L51:
	incq	%rax
	cmpl	%ecx, %r9d
	jl	.L100
	movq	88(%rsp), %rdx
	movl	%eax, (%rdi)
	movl	%ecx, (%rdx,%rax,4)
	movq	96(%rsp), %rdx
	incl	%ecx
	movl	%r11d, (%rdx,%rax,4)
	movq	56(%rsp), %rdx
	movq	$0x000000000, (%rdx,%rax,8)
	movq	64(%rsp), %rdx
	movq	$0x000000000, (%rdx,%rax,8)
	movq	72(%rsp), %rdx
	movq	$0x000000000, (%rdx,%rax,8)
	movq	80(%rsp), %rdx
	movq	$0x000000000, (%rdx,%rax,8)
	movq	40(%rsp), %rdx
	addq	%rdx, %rdi
	jmp	.L51
.L100:
	addl	%r12d, %r14d
	cmpl	%r10d, %esi
	jle	.L49
	testl	%r10d, %r10d
	je	.L49
	cvtsi2sdl	%r11d, %xmm0
	mulsd	.LC17(%rip), %xmm0
	movl	%r9d, 104(%rsp)
	cvtsi2sdl	%esi, %xmm1
	movl	%esi, 48(%rsp)
	divsd	%xmm1, %xmm0
	movsd	%xmm0, 24(%rsp)
	call	sin@PLT
	movl	104(%rsp), %r9d
	movl	48(%rsp), %esi
	divsd	24(%rsp), %xmm0
	movsd	%xmm0, 0(%r13,%r15,8)
.L49:
	incq	%r15
	jmp	.L47
.L50:
	leal	0(,%rbp,4), %r13d
	movl	$1, %r12d
	leaq	.LC36(%rip), %r14
.L52:
	cmpl	%r12d, %r13d
	jl	.L101
	movq	8(%rsp), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	leaq	252(%rsp), %rcx
	leaq	244(%rsp), %rdx
	leaq	248(%rsp), %r8
	call	__isoc23_fscanf@PLT
	movq	32(%rsp), %rdi
	leaq	.LC37(%rip), %rsi
	xorl	%eax, %eax
	leaq	264(%rsp), %rdx
	call	__isoc23_fscanf@PLT
	movl	244(%rsp), %eax
	cmpl	$1, %eax
	jne	.L53
	movl	252(%rsp), %eax
	movq	16(%rsp), %rcx
	movsd	264(%rsp), %xmm0
	imull	%ebx, %eax
	addl	248(%rsp), %eax
	cltq
	movslq	(%rcx,%rax,4), %rax
	movq	56(%rsp), %rcx
	jmp	.L98
.L53:
	cmpl	$2, %eax
	jne	.L55
	movl	252(%rsp), %eax
	movq	16(%rsp), %rcx
	movsd	264(%rsp), %xmm0
	imull	%ebx, %eax
	addl	248(%rsp), %eax
	cltq
	movslq	(%rcx,%rax,4), %rax
	movq	64(%rsp), %rcx
.L98:
	movsd	%xmm0, (%rcx,%rax,8)
	jmp	.L54
.L55:
	cmpl	$3, %eax
	jne	.L56
	movl	252(%rsp), %eax
	movq	16(%rsp), %rcx
	movsd	264(%rsp), %xmm0
	imull	%ebx, %eax
	addl	248(%rsp), %eax
	cltq
	movslq	(%rcx,%rax,4), %rax
	movq	72(%rsp), %rcx
	jmp	.L98
.L56:
	cmpl	$4, %eax
	jne	.L57
	movl	252(%rsp), %eax
	movq	16(%rsp), %rcx
	movsd	264(%rsp), %xmm0
	imull	%ebx, %eax
	addl	248(%rsp), %eax
	cltq
	movslq	(%rcx,%rax,4), %rax
	movq	80(%rsp), %rcx
	jmp	.L98
.L57:
	leaq	.LC38(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L54:
	incl	%r12d
	jmp	.L52
.L101:
	movq	32(%rsp), %rdi
	xorl	%r12d, %r12d
	call	fclose@PLT
	movq	8(%rsp), %rdi
	call	fclose@PLT
	leaq	.LC39(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	leaq	.LC19(%rip), %rsi
	leaq	.LC40(%rip), %rdi
	call	fopen@PLT
	movl	%r12d, 120(%rsp)
	leaq	.LC37(%rip), %r12
	movq	%rax, %r14
.L59:
	xorl	%eax, %eax
	leaq	256(%rsp), %rdx
	movq	%r12, %rsi
	movq	%r14, %rdi
	call	__isoc23_fscanf@PLT
	testl	%eax, %eax
	jle	.L102
	incl	120(%rsp)
	jmp	.L59
.L102:
	movl	120(%rsp), %eax
	movl	$26, %ecx
	movq	%r14, %rdi
	leaq	.LC37(%rip), %r15
	cltd
	idivl	%ecx
	movl	%eax, %r13d
	call	fclose@PLT
	movslq	%r13d, %rax
	imulq	$208, %rax, %rax
	movq	%rax, %rdi
	movq	%rax, 8(%rsp)
	call	malloc@PLT
	movq	8(%rsp), %rdi
	movq	%rax, %r12
	call	malloc@PLT
	movq	8(%rsp), %rdi
	movq	%rax, 24(%rsp)
	call	malloc@PLT
	movq	8(%rsp), %rdi
	movq	%rax, 32(%rsp)
	call	malloc@PLT
	leaq	.LC19(%rip), %rsi
	leaq	.LC40(%rip), %rdi
	movq	%rax, 40(%rsp)
	call	fopen@PLT
	movq	%rax, 48(%rsp)
	xorl	%eax, %eax
.L61:
	movl	%eax, 244(%rsp)
	cmpl	%eax, %r13d
	jle	.L103
	movq	48(%rsp), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	movl	$1, %r14d
	leaq	272(%rsp), %rdx
	call	__isoc23_fscanf@PLT
	imull	$26, 244(%rsp), %eax
	movsd	.LC17(%rip), %xmm0
	mulsd	272(%rsp), %xmm0
	divsd	.LC41(%rip), %xmm0
	cltq
	movsd	%xmm0, (%r12,%rax,8)
.L62:
	movq	48(%rsp), %rdi
	leaq	272(%rsp), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	call	__isoc23_fscanf@PLT
	movl	244(%rsp), %eax
	movsd	.LC16(%rip), %xmm0
	mulsd	272(%rsp), %xmm0
	imull	$26, %eax, %edx
	addsd	.LC42(%rip), %xmm0
	addl	%r14d, %edx
	incl	%r14d
	movslq	%edx, %rdx
	movsd	%xmm0, (%r12,%rdx,8)
	cmpl	$26, %r14d
	jne	.L62
	incl	%eax
	jmp	.L61
.L103:
	movq	48(%rsp), %rdi
	call	fclose@PLT
	movslq	%r13d, %rsi
	xorl	%r11d, %r11d
	movl	$8, %edx
	imulq	$208, %rsi, %rsi
	movl	%r11d, 244(%rsp)
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	addq	$8, %rsi
.L64:
	cmpq	%rdx, %rsi
	je	.L104
	movq	24(%rsp), %rcx
	leaq	(%rcx,%rdx), %r8
	movl	$50, %ecx
	movq	%r8, %rdi
	rep stosl
	movq	32(%rsp), %rcx
	leaq	(%rcx,%rdx), %r8
	movl	$50, %ecx
	movq	%r8, %rdi
	rep stosl
	movq	40(%rsp), %rcx
	leaq	(%rcx,%rdx), %r8
	movl	$50, %ecx
	addq	$208, %rdx
	movq	%r8, %rdi
	rep stosl
	movb	$1, %cl
	jmp	.L64
.L104:
	testb	%cl, %cl
	je	.L66
	movl	%r13d, 244(%rsp)
.L66:
	leal	1(%rbp), %eax
	imull	$26, %eax, %r15d
	movl	%eax, 144(%rsp)
	movslq	%r15d, %r15
	salq	$3, %r15
	movq	%r15, %rdi
	call	malloc@PLT
	movq	%r15, %rdi
	movq	%rax, 104(%rsp)
	call	malloc@PLT
	xorl	%edx, %edx
	movq	%rax, 112(%rsp)
.L67:
	leaq	0(,%rdx,8), %rax
	xorl	%ecx, %ecx
.L70:
	cmpl	%ebp, %ecx
	jg	.L105
	movq	104(%rsp), %rsi
	incl	%ecx
	movq	$0x000000000, (%rsi,%rax)
	movq	112(%rsp), %rsi
	movq	$0x000000000, (%rsi,%rax)
	addq	$208, %rax
	jmp	.L70
.L105:
	incq	%rdx
	cmpq	$26, %rdx
	jne	.L67
	movl	$1, %edx
.L69:
	leaq	0(,%rdx,8), %r14
	xorl	%r15d, %r15d
.L73:
	incq	%r15
	addq	$208, %r14
	cmpl	%r15d, %ebp
	jl	.L106
	movq	88(%rsp), %rax
	movq	%rdx, 200(%rsp)
	movl	(%rax,%r15,4), %edi
	movq	96(%rsp), %rax
	movl	(%rax,%r15,4), %esi
	cvtsi2sdl	%edi, %xmm5
	movq	128(%rsp), %rax
	movl	%edi, 192(%rsp)
	cvtsi2sdl	%esi, %xmm1
	movsd	(%rax,%rdx,8), %xmm4
	movl	%esi, 196(%rsp)
	movaps	%xmm4, %xmm2
	movaps	%xmm5, %xmm0
	movsd	%xmm5, 48(%rsp)
	movsd	%xmm4, 152(%rsp)
	movsd	%xmm1, 176(%rsp)
	call	_Z9LegendreQddd
	movsd	.LC43(%rip), %xmm2
	movsd	176(%rsp), %xmm1
	movsd	%xmm0, 184(%rsp)
	movsd	48(%rsp), %xmm0
	call	_Z9LegendreQddd
	movq	104(%rsp), %rax
	movsd	184(%rsp), %xmm3
	movl	196(%rsp), %esi
	movl	192(%rsp), %edi
	divsd	%xmm0, %xmm3
	movsd	152(%rsp), %xmm0
	movsd	%xmm3, (%rax,%r14)
	call	_Z10DLegendreQiid
	movsd	.LC43(%rip), %xmm2
	movsd	176(%rsp), %xmm1
	movsd	%xmm0, 152(%rsp)
	movsd	48(%rsp), %xmm0
	call	_Z9LegendreQddd
	movq	112(%rsp), %rax
	movsd	152(%rsp), %xmm3
	movq	200(%rsp), %rdx
	divsd	%xmm0, %xmm3
	movsd	%xmm3, (%rax,%r14)
	jmp	.L73
.L106:
	incq	%rdx
	cmpq	$26, %rdx
	jne	.L69
	imull	$208, 144(%rsp), %r14d
	xorl	%edx, %edx
	leaq	280(%rsp), %rdi
	movq	%rdx, 280(%rsp)
	leal	0(,%rbx,4), %r15d
	sall	$3, %ebx
	movq	%rdx, 288(%rsp)
	movslq	%r15d, %r15
	movslq	%ebx, %rbx
	movslq	%r14d, %rax
	movq	%rax, %rsi
	movq	%rax, 48(%rsp)
	call	cudaMalloc@PLT
	movq	48(%rsp), %rsi
	leaq	288(%rsp), %rdi
	call	cudaMalloc@PLT
	xorl	%ecx, %ecx
	movl	$240, %esi
	leaq	296(%rsp), %rdi
	movq	%rcx, 296(%rsp)
	movq	%rcx, 304(%rsp)
	call	cudaMalloc@PLT
	leaq	304(%rsp), %rdi
	movl	$240, %esi
	call	cudaMalloc@PLT
	xorl	%esi, %esi
	leaq	312(%rsp), %rdi
	movq	%rsi, 312(%rsp)
	movq	%rsi, 320(%rsp)
	movq	%rsi, 328(%rsp)
	movq	%rsi, 336(%rsp)
	movq	8(%rsp), %rsi
	call	cudaMalloc@PLT
	movq	8(%rsp), %rsi
	leaq	320(%rsp), %rdi
	call	cudaMalloc@PLT
	movq	8(%rsp), %rsi
	leaq	328(%rsp), %rdi
	call	cudaMalloc@PLT
	movq	8(%rsp), %rsi
	leaq	336(%rsp), %rdi
	call	cudaMalloc@PLT
	movl	136(%rsp), %r14d
	xorl	%edi, %edi
	movq	%rdi, 344(%rsp)
	leaq	344(%rsp), %rdi
	sall	$2, %r14d
	movslq	%r14d, %r14
	movq	%r14, %rsi
	call	cudaMalloc@PLT
	xorl	%r8d, %r8d
	leaq	352(%rsp), %rdi
	movq	%r15, %rsi
	movq	%r8, 352(%rsp)
	call	cudaMalloc@PLT
	xorl	%r9d, %r9d
	leaq	360(%rsp), %rdi
	movq	%r15, %rsi
	movq	%r9, 360(%rsp)
	call	cudaMalloc@PLT
	xorl	%r10d, %r10d
	leaq	368(%rsp), %rdi
	movq	%rbx, %rsi
	movq	%r10, 368(%rsp)
	movq	%r10, 376(%rsp)
	movq	%r10, 384(%rsp)
	movq	%r10, 392(%rsp)
	call	cudaMalloc@PLT
	leaq	376(%rsp), %rdi
	movq	%rbx, %rsi
	call	cudaMalloc@PLT
	leaq	384(%rsp), %rdi
	movq	%rbx, %rsi
	call	cudaMalloc@PLT
	leaq	392(%rsp), %rdi
	movq	%rbx, %rsi
	call	cudaMalloc@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L74
	call	cudaGetErrorString@PLT
	leaq	.LC44(%rip), %rdx
	movq	%rax, %rcx
	jmp	.L99
.L74:
	movq	48(%rsp), %rdx
	movq	104(%rsp), %rsi
	movl	$1, %ecx
	movq	280(%rsp), %rdi
	call	cudaMemcpy@PLT
	movq	48(%rsp), %rdx
	movq	112(%rsp), %rsi
	movl	$1, %ecx
	movq	288(%rsp), %rdi
	call	cudaMemcpy@PLT
	movl	$1, %ecx
	movl	$240, %edx
	movq	128(%rsp), %rsi
	movq	296(%rsp), %rdi
	call	cudaMemcpy@PLT
	movl	$1, %ecx
	movl	$240, %edx
	movq	160(%rsp), %rsi
	movq	304(%rsp), %rdi
	call	cudaMemcpy@PLT
	movq	8(%rsp), %rdx
	movl	$1, %ecx
	movq	%r12, %rsi
	movq	312(%rsp), %rdi
	call	cudaMemcpy@PLT
	movq	8(%rsp), %rdx
	movq	24(%rsp), %rsi
	movl	$1, %ecx
	movq	320(%rsp), %rdi
	call	cudaMemcpy@PLT
	movq	8(%rsp), %rdx
	movq	32(%rsp), %rsi
	movl	$1, %ecx
	movq	328(%rsp), %rdi
	call	cudaMemcpy@PLT
	movq	8(%rsp), %rdx
	movq	40(%rsp), %rsi
	movl	$1, %ecx
	movq	336(%rsp), %rdi
	call	cudaMemcpy@PLT
	movq	16(%rsp), %rsi
	movl	$1, %ecx
	movq	%r14, %rdx
	movq	344(%rsp), %rdi
	call	cudaMemcpy@PLT
	movq	88(%rsp), %rsi
	movl	$1, %ecx
	movq	%r15, %rdx
	movq	352(%rsp), %rdi
	call	cudaMemcpy@PLT
	movq	96(%rsp), %rsi
	movl	$1, %ecx
	movq	%r15, %rdx
	movq	360(%rsp), %rdi
	call	cudaMemcpy@PLT
	movq	56(%rsp), %rsi
	movq	%rbx, %rdx
	movq	368(%rsp), %rdi
	movl	$1, %ecx
	call	cudaMemcpy@PLT
	movq	64(%rsp), %rsi
	movq	%rbx, %rdx
	movq	376(%rsp), %rdi
	movl	$1, %ecx
	call	cudaMemcpy@PLT
	movq	72(%rsp), %rsi
	movq	%rbx, %rdx
	movq	384(%rsp), %rdi
	movl	$1, %ecx
	call	cudaMemcpy@PLT
	movq	80(%rsp), %rsi
	movq	%rbx, %rdx
	movq	392(%rsp), %rdi
	movl	$1, %ecx
	call	cudaMemcpy@PLT
	movl	$416, %ecx
	movl	$2, %edi
	movabsq	$68719476752, %rax
	movq	%rax, 400(%rsp)
	movl	120(%rsp), %eax
	leaq	.LC45(%rip), %rsi
	movl	$1, 408(%rsp)
	cltd
	idivl	%ecx
	movl	$256, %ecx
	leal	1(%rax), %ebx
	xorl	%eax, %eax
	leal	(%rbx,%rbx), %edx
	call	__printf_chk@PLT
	movl	$2147483649, %eax
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
	addq	%rax, %rax
	movl	%ebx, 412(%rsp)
	movl	408(%rsp), %ecx
	movq	%rax, 416(%rsp)
	movq	400(%rsp), %rdx
	movq	412(%rsp), %rdi
	movl	420(%rsp), %esi
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L75
	pushq	%rax
	.cfi_def_cfa_offset 984
	pushq	%r13
	.cfi_def_cfa_offset 992
	pushq	%rbp
	.cfi_def_cfa_offset 1000
	pushq	360(%rsp)
	.cfi_def_cfa_offset 1008
	pushq	360(%rsp)
	.cfi_def_cfa_offset 1016
	pushq	360(%rsp)
	.cfi_def_cfa_offset 1024
	pushq	360(%rsp)
	.cfi_def_cfa_offset 1032
	pushq	400(%rsp)
	.cfi_def_cfa_offset 1040
	pushq	424(%rsp)
	.cfi_def_cfa_offset 1048
	pushq	424(%rsp)
	.cfi_def_cfa_offset 1056
	pushq	368(%rsp)
	.cfi_def_cfa_offset 1064
	pushq	368(%rsp)
	.cfi_def_cfa_offset 1072
	movsd	.LC46(%rip), %xmm1
	movq	400(%rsp), %r9
	movq	392(%rsp), %r8
	movq	488(%rsp), %rcx
	movq	480(%rsp), %rdx
	movq	472(%rsp), %rsi
	movq	464(%rsp), %rdi
	movsd	.LC35(%rip), %xmm0
	call	_Z77__device_stub__Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddiiPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii
	addq	$96, %rsp
	.cfi_def_cfa_offset 976
.L75:
	call	cudaGetLastError@PLT
	movl	%eax, %edi
	testl	%eax, %eax
	je	.L76
	call	cudaGetErrorString@PLT
	leaq	.LC47(%rip), %rdx
	movq	%rax, %rcx
.L99:
	movq	stderr(%rip), %rdi
	movl	$2, %esi
	xorl	%eax, %eax
	call	__fprintf_chk@PLT
	movl	$1, %edi
	call	exit@PLT
.L76:
	leaq	.LC48(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	8(%rsp), %rdx
	movq	24(%rsp), %rdi
	movl	$2, %ecx
	movq	320(%rsp), %rsi
	leaq	.LC49(%rip), %rbx
	call	cudaMemcpy@PLT
	movq	8(%rsp), %rdx
	movq	32(%rsp), %rdi
	movl	$2, %ecx
	movq	328(%rsp), %rsi
	call	cudaMemcpy@PLT
	movq	8(%rsp), %rdx
	movq	40(%rsp), %rdi
	movl	$2, %ecx
	movq	336(%rsp), %rsi
	call	cudaMemcpy@PLT
	xorps	%xmm6, %xmm6
	xorl	%eax, %eax
	movaps	%xmm6, %xmm7
	movaps	%xmm6, %xmm8
.L77:
	movl	%eax, 244(%rsp)
	cmpl	%eax, %r13d
	jle	.L107
	imull	$26, %eax, %eax
	movl	$1, %r15d
	cltq
	movq	(%r12,%rax,8), %rbp
.L78:
	imull	$26, 244(%rsp), %r14d
	movq	24(%rsp), %rax
	movsd	%xmm6, 152(%rsp)
	movsd	%xmm7, 144(%rsp)
	movsd	%xmm8, 136(%rsp)
	addl	%r15d, %r14d
	movslq	%r14d, %r14
	movsd	(%rax,%r14,8), %xmm2
	movq	32(%rsp), %rax
	movsd	(%rax,%r14,8), %xmm3
	movaps	%xmm2, %xmm1
	movq	40(%rsp), %rax
	movsd	%xmm2, 120(%rsp)
	mulsd	%xmm2, %xmm1
	movaps	%xmm3, %xmm0
	movsd	(%rax,%r14,8), %xmm4
	movsd	%xmm3, 128(%rsp)
	mulsd	%xmm3, %xmm0
	movsd	%xmm4, 8(%rsp)
	addsd	%xmm1, %xmm0
	movaps	%xmm4, %xmm1
	mulsd	%xmm4, %xmm1
	addsd	%xmm1, %xmm0
	call	sqrt@PLT
	movsd	120(%rsp), %xmm2
	movl	%r15d, %ecx
	movb	$6, %al
	movsd	8(%rsp), %xmm4
	movaps	%xmm0, %xmm5
	movsd	(%r12,%r14,8), %xmm1
	movsd	%xmm0, 48(%rsp)
	movq	168(%rsp), %rdi
	movq	%rbp, %xmm0
	movq	%rbx, %rdx
	movsd	128(%rsp), %xmm3
	movl	$2, %esi
	movsd	%xmm2, 8(%rsp)
	call	__fprintf_chk@PLT
	movl	244(%rsp), %eax
	movsd	48(%rsp), %xmm5
	movsd	136(%rsp), %xmm8
	movsd	8(%rsp), %xmm2
	movsd	144(%rsp), %xmm7
	imull	$26, %eax, %edx
	movsd	152(%rsp), %xmm6
	addl	%r15d, %edx
	incl	%r15d
	movslq	%edx, %rdx
	movsd	(%r12,%rdx,8), %xmm0
	movaps	%xmm0, %xmm1
	subsd	%xmm5, %xmm1
	mulsd	%xmm1, %xmm1
	addsd	%xmm1, %xmm8
	movaps	%xmm0, %xmm1
	subsd	.LC46(%rip), %xmm0
	subsd	%xmm2, %xmm1
	mulsd	%xmm0, %xmm0
	mulsd	%xmm1, %xmm1
	addsd	%xmm0, %xmm6
	addsd	%xmm1, %xmm7
	cmpl	$26, %r15d
	jne	.L78
	incl	%eax
	jmp	.L77
.L107:
	cvtsi2sdl	%r13d, %xmm1
	divsd	.LC46(%rip), %xmm7
	divsd	.LC46(%rip), %xmm6
	movaps	%xmm8, %xmm0
	divsd	.LC46(%rip), %xmm7
	divsd	.LC46(%rip), %xmm6
	divsd	.LC46(%rip), %xmm0
	divsd	.LC46(%rip), %xmm0
	divsd	%xmm1, %xmm7
	divsd	%xmm1, %xmm6
	movsd	%xmm7, 48(%rsp)
	divsd	%xmm1, %xmm0
	movsd	%xmm6, 8(%rsp)
	divsd	.LC50(%rip), %xmm0
	call	sqrt@PLT
	mulsd	.LC51(%rip), %xmm0
	movsd	48(%rsp), %xmm7
	divsd	.LC50(%rip), %xmm7
	movq	%xmm0, %rbp
	movaps	%xmm7, %xmm0
	call	sqrt@PLT
	mulsd	.LC51(%rip), %xmm0
	movsd	8(%rsp), %xmm6
	divsd	.LC50(%rip), %xmm6
	movq	%xmm0, %rbx
	movaps	%xmm6, %xmm0
	call	sqrt@PLT
	mulsd	.LC51(%rip), %xmm0
	leaq	.LC52(%rip), %rsi
	movb	$1, %al
	movl	$2, %edi
	call	__printf_chk@PLT
	movq	%rbx, %xmm0
	leaq	.LC53(%rip), %rsi
	movb	$1, %al
	movl	$2, %edi
	call	__printf_chk@PLT
	movq	%rbp, %xmm0
	leaq	.LC54(%rip), %rsi
	movb	$1, %al
	movl	$2, %edi
	call	__printf_chk@PLT
	movq	56(%rsp), %rdi
	call	free@PLT
	movq	64(%rsp), %rdi
	call	free@PLT
	movq	72(%rsp), %rdi
	call	free@PLT
	movq	80(%rsp), %rdi
	call	free@PLT
	movq	16(%rsp), %rdi
	call	free@PLT
	movq	88(%rsp), %rdi
	call	free@PLT
	movq	96(%rsp), %rdi
	call	free@PLT
	movq	104(%rsp), %rdi
	call	free@PLT
	movq	112(%rsp), %rdi
	call	free@PLT
	movq	%r12, %rdi
	call	free@PLT
	movq	24(%rsp), %rdi
	call	free@PLT
	movq	32(%rsp), %rdi
	call	free@PLT
	movq	40(%rsp), %rdi
	call	free@PLT
	movq	904(%rsp), %rax
	subq	%fs:40, %rax
	je	.L80
	call	__stack_chk_fail@PLT
.L80:
	addq	$920, %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
.LFE3635:
	.size	main, .-main
	.section	.rodata.str1.1
.LC55:
	.string	"_Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii"
	.section	.text.startup
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB3668:
	.cfi_startproc
	endbr64
	pushq	%rax
	.cfi_def_cfa_offset 16
	leaq	_ZL15__fatDeviceText(%rip), %rdi
	call	__cudaRegisterFatBinary@PLT
	pushq	$0
	.cfi_def_cfa_offset 24
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC55(%rip), %rdx
	movq	%rax, %rdi
	leaq	_Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 40
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 48
	movq	%rax, _ZL20__cudaFatCubinHandle(%rip)
	call	__cudaRegisterFunction@PLT
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	call	__cudaRegisterFatBinaryEnd@PLT
	leaq	_ZL26__cudaUnregisterBinaryUtilv(%rip), %rdi
	popq	%rdx
	.cfi_def_cfa_offset 8
	jmp	atexit@PLT
	.cfi_endproc
.LFE3668:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.nvFatBinSegment,"aw"
	.align 8
	.type	_ZL15__fatDeviceText, @object
	.size	_ZL15__fatDeviceText, 24
_ZL15__fatDeviceText:
	.long	1180844977
	.long	1
	.quad	fatbinData
	.quad	0
	.local	_ZL20__cudaFatCubinHandle
	.comm	_ZL20__cudaFatCubinHandle,8,8
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1072693248
	.align 8
.LC1:
	.long	-1747416644
	.long	1016910514
	.align 8
.LC2:
	.long	-1
	.long	1072693247
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC3:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.section	.rodata.cst8
	.align 8
.LC4:
	.long	0
	.long	1071644672
	.align 8
.LC5:
	.long	0
	.long	1073217536
	.align 8
.LC6:
	.long	0
	.long	1075838976
	.align 8
.LC7:
	.long	0
	.long	-1074790400
	.align 8
.LC8:
	.long	0
	.long	1074790400
	.align 8
.LC9:
	.long	0
	.long	1072168960
	.align 8
.LC10:
	.long	0
	.long	1070596096
	.align 8
.LC11:
	.long	0
	.long	1074266112
	.align 8
.LC12:
	.long	0
	.long	1073741824
	.align 8
.LC13:
	.long	0
	.long	1073479680
	.align 8
.LC14:
	.long	0
	.long	1072955392
	.align 8
.LC16:
	.long	-755914244
	.long	1062232653
	.align 8
.LC17:
	.long	1413754136
	.long	1074340347
	.align 8
.LC27:
	.long	0
	.long	1077313536
	.align 8
.LC28:
	.long	0
	.long	1076101120
	.align 8
.LC29:
	.long	0
	.long	1069547520
	.align 8
.LC30:
	.long	0
	.long	1078362112
	.section	.rodata.cst16
	.align 16
.LC33:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.section	.rodata.cst8
	.align 8
.LC34:
	.long	0
	.long	1086048256
	.align 8
.LC35:
	.long	0
	.long	1086048128
	.align 8
.LC41:
	.long	0
	.long	1080459264
	.align 8
.LC42:
	.long	1374389535
	.long	1078910648
	.align 8
.LC43:
	.long	0
	.long	1075445760
	.align 8
.LC46:
	.long	-206158430
	.long	1078912253
	.align 8
.LC50:
	.long	0
	.long	1077477376
	.align 8
.LC51:
	.long	0
	.long	1093567616
	.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:

/*

bfield.c 

Computes B fields in toroidal coordinates with given coefficients 
and calculates rms deviation from data

Written by Hee Sok Chung at ANL
July 10, 2016

*/


#include <stdio.h>
#include <stdlib.h>
#include <math.h>
//#include <TTree.h>
//#include <TFile.h>
#include <iostream>
#include <hip/hip_runtime.h>

/* hypergeometric function 1F2 */
double h1f2(double a, double b, double c, double z);

/* LegendreQ(m-1/2,n,cosh(x)) */
double LegendreQ(double m, double n, double z);

/* derivative of LegendreQ(m-1/2,n,cosh(x)) */
double DLegendreQ(int m, int n, double z);

/* coordinate transformation r, z -> zeta */
double zetaf(double rho, double z, double r0);

/* coordinate transformation r, z -> eta */
double etaf(double rho, double z, double r0);

typedef struct B_Struct{
  double Prb[25];
}B_Struct;

using namespace std;

__global__ void thread_call(const double *cc,const double *cs,const double *sc,const double *ss,const double *zeta,const double *eta,const double *Tlegq,const double *Tdleq,const int *midx,const int *nidx,const int*ccidx,const double *dataread,double *dataoutZ,double *dataoutR,double *dataoutPhi,const double rr,const double bzero,const int dim1,int nphi);

int main () {
  double *cc, *cs, *sc, *ss, *lsigma;
  int *ccidx;
  int *midx;
  int *nidx;
  double *Tlegq;
  double *Tdleq;
  double *zeta, *eta;
  double * dataread;
  double * dataoutZ;
  double * dataoutR;
  double * dataoutPhi;
  hipError_t err = hipSuccess;

  zeta = (double*)malloc(30*sizeof(double));
  eta = (double*)malloc(30*sizeof(double));

    int nmax, mmax, nphi, dim1, dim2;
    FILE *input, *iname, *datafile, *datac , *output;
    int Nthread = 8;
//    input = fopen ("fitcoeffN.txt", "r");
    input = fopen ("fitc.txt", "r");
    iname = fopen ("outnames.txt", "r");
    output = fopen ("output52full.txt","w");
    fscanf (iname, "%d", &mmax); // read m Maximum
    fscanf (iname, "%d", &nmax); // read n Maximum
//    fscanf (input, "%d", &mmax); // read m Maximum
//    fscanf (input, "%d", &nmax); // read n Maximum
    printf("MMax %d, NMax %d \n",mmax, nmax);
    dim1=(nmax+1)*(mmax+1); // coefficients dimensions 
    double cterm, rr;
//    int ccidx[mmax+2][nmax+2];
    double zt, et, zt0, bzero, br, bz, bphi, bsize;
    double difrms, dzrms, ffrms, rmsd;
    double angles[30], radii[30], bfield[30][5];
    int i, j, id, idx, md, nd, mdx, ndx, prb, na, ma, qidx, vid;
    double datatmp, tp, tx, phi, wgt, iwgt, legq, dleq;
    double phidz, phidp, phide, phide1, phide2;
    B_Struct B_Measure;
    B_Struct B_Fit;
    B_Struct B_ZFit;
    B_Struct B_RFit;
    B_Struct B_PhiFit;
    cc=(double *)malloc(sizeof*cc*(dim1+2));
    cs=(double *)malloc(sizeof*cs*(dim1+2));
    sc=(double *)malloc(sizeof*sc*(dim1+2));
    ss=(double *)malloc(sizeof*ss*(dim1+2));
    lsigma=(double *)malloc(sizeof*lsigma*(nmax+2));
    int ccidx_dim = dim1+2;
    ccidx=(int *)malloc((dim1+2)*(dim1+2)*sizeof(int));
    if(ccidx==NULL){
        printf("out of memory\n");
    }
    midx=(int *)malloc((dim1+2)*sizeof(int*));
    nidx=(int *)malloc((dim1+2)*sizeof(int*));


    bzero=61.789; // average B-field 
    zt0=6.5;          // eigenfunction normalization point
//  construct probe positions 
    angles[1]=0;
    radii[1]=0;
    for (i=2;i<=9;i++) {
        angles[i]=(i-2.)*M_PI/4;
        radii[i]=22.5;
    }
    for (i=10;i<=25;i++) {
        angles[i]=(i-10.)*M_PI/8;
        radii[i]=45.;
    }
    for (i=1;i<=25;i++) {
        printf("probe %d location r=%.17g, theta=%.17g \n",i,radii[i],angles[i]);
    }

//  calculate toroidal coordinates 
    rr=7111.5; // toroid center 
    printf ("\nComputing coordinates\n");
    for (i=1;i<=25;i++) {
        zeta[i]=zetaf(radii[i]*sin(angles[i])+7112., \
                      -radii[i]*cos(angles[i]),rr);
        eta[i]=etaf(radii[i]*sin(angles[i])+7112., \
                    -radii[i]*cos(angles[i]),rr);
    }
    /* initialize arrays */
    na=0;
    ma=0;
    i=0;
    nd=0;
    md=0;
    lsigma[0]=1.;
    lsigma[nmax]=0.;
    for (nd=0;nd<=nmax;nd++) {
        for (md=0;md<=mmax;md++) {
            i+=1;
            ccidx[md*ccidx_dim+nd]=i;
            midx[i]=md;
            nidx[i]=nd;
            cc[i]=0.; cs[i]=0.; sc[i]=0.; ss[i]=0.;
        }
        if(nd>0&&nd<nmax) {
            lsigma[nd]=sin(M_PI*(nd*1.)/(nmax*1.));
            lsigma[nd]=lsigma[nd]/(M_PI*(nd*1.)/(nmax*1.));
        }

    }
    for (idx=1;idx<=dim1*4;idx++) { // read coefficients
        fscanf (iname, "%d \t %d \t %d", &id, &ma, &na); 
//        fscanf (input, "%d \t %d \t %d \t %lg", &id, &ma, &na, &tp); 
        fscanf (input, "%lg", &tp); 
//        printf("%d, %d, %lg \n", id, ccidx[ma*ccidx_dim+na], tp);
//        if (tp!=tp) printf("%d, %d, %lg \n", id, ccidx[ma][na], tp);
        if (id==1) {
//            printf("cc \n");
            cc[ccidx[ma*ccidx_dim+na]]=tp;
        }
        else if (id==2) {
//            printf("cs \n");
            cs[ccidx[ma*ccidx_dim+na]]=tp;
        }
        else if (id==3) {
//            printf("sc \n");
            sc[ccidx[ma*ccidx_dim+na]]=tp;
        }
        else if (id==4) {
//            printf("ss \n");
            ss[ccidx[ma*ccidx_dim+na]]=tp;
        }
        else {
            printf("error \n");
        }
//        printf("%.20lg \n",tp);
    }
    fclose(input); // close data 
    fclose(iname); // close data 
    printf ("\nComputing b-fields\n");
    nphi=0;
    datac=fopen("data52.txt", "r"); // open data for counting
    while(fscanf(datac, "%lg", &datatmp)>0) {
    nphi++;
    }
    nphi=nphi/26; // azimuthal angle + 25 probes 
    fclose(datac); // close data file used for counting 

    //Loading data first
    dataread = (double *)malloc(sizeof(double)*26*nphi);
    dataoutZ = (double *)malloc(sizeof(double)*26*nphi);
    dataoutR = (double *)malloc(sizeof(double)*26*nphi);
    dataoutPhi = (double *)malloc(sizeof(double)*26*nphi);
    double tmp;
    datafile = fopen ("data52.txt", "r");
    for (id=0;id<nphi;id++) { // loop over azimuthal slices 
      fscanf (datafile, "%lg", &tmp); // read azimuthal angle in degrees 
      dataread[id*26]=tmp*M_PI/180.;
      for (prb=1;prb<=25;prb++){ // loop over 25 probes 
	fscanf (datafile, "%lg", &tmp); 
	dataread[id*26+prb]=tmp*0.001+61.7400000;
      }
    }
    fclose(datafile);
    //Zero output
    for (id=0;id<nphi;id++) { // loop over azimuthal slices 
      for (prb=1;prb<=25;prb++){ // loop over 25 probes 
	dataoutZ[id*26+prb]=0.0;
	dataoutR[id*26+prb]=0.0;
	dataoutPhi[id*26+prb]=0.0;
      }
    }
    //Calculate legq and dleq table
    Tlegq=(double *)malloc((dim1+1)*26*sizeof(double));
    Tdleq=(double *)malloc((dim1+1)*26*sizeof(double));

    for (prb=0;prb<=25;prb++){ // loop over 25 probes 
      for (i=0;i<=dim1;i++){
	Tlegq[i*26+prb]=0.0;
	Tdleq[i*26+prb]=0.0;
      }
    }
    for (prb=1;prb<=25;prb++){ // loop over 25 probes 
      for (i=1;i<=dim1;i++){
	int md=midx[i]; // m index 
	int nd=nidx[i]; // n index 
	/* LegendreQ at probe */
	Tlegq[i*26+prb]=LegendreQ(md,nd,zeta[prb])/LegendreQ(md,nd,zt0);
	/* Derivative of LegendreQ at probe */
	Tdleq[i*26+prb]=DLegendreQ(md,nd,zeta[prb])/LegendreQ(md,nd,zt0);
      }
    }

    //
    difrms=0.;
    dzrms=0.;
    ffrms=0.;

    //Allocate memory in device
    //Function Talbe
    double *d_legq = NULL;
    double *d_dleq = NULL;
    int f_size = sizeof(double)*26*(dim1+1);
    err = hipMalloc((void **)&d_legq, f_size);
    err = hipMalloc((void **)&d_dleq, f_size);

    //Cooridinates
    double *d_zeta = NULL;
    double *d_eta = NULL;
    int c_size = sizeof(double)*30;
    err = hipMalloc((void **)&d_zeta, c_size);
    err = hipMalloc((void **)&d_eta, c_size);

    //data storage;
    double *d_Data = NULL;
    double *d_DataoutZ = NULL;
    double *d_DataoutR = NULL;
    double *d_DataoutPhi = NULL;
    size_t sizeData = sizeof(double)*26*nphi;
    err = hipMalloc((void **)&d_Data, sizeData);
    err = hipMalloc((void **)&d_DataoutZ, sizeData);
    err = hipMalloc((void **)&d_DataoutR, sizeData);
    err = hipMalloc((void **)&d_DataoutPhi, sizeData);

    //ccidx
    int *d_ccidx = NULL;
    int size_ccidx = (dim1+2)*(dim1+2)*sizeof(int);
    err = hipMalloc((void **)&d_ccidx, size_ccidx);

    int *d_midx = NULL;
    int size_midx = (dim1+2)*sizeof(int);
    err = hipMalloc((void **)&d_midx, size_midx);

    int *d_nidx = NULL;
    int size_nidx = (dim1+2)*sizeof(int);
    err = hipMalloc((void **)&d_nidx, size_nidx);

    //Vectors
    double *d_cc = NULL;
    double *d_cs = NULL;
    double *d_sc = NULL;
    double *d_ss = NULL;
    int d_size = sizeof(double)*(dim1+2);
    err = hipMalloc((void **)&d_cc, d_size);
    err = hipMalloc((void **)&d_cs, d_size);
    err = hipMalloc((void **)&d_sc, d_size);
    err = hipMalloc((void **)&d_ss, d_size);

    if (err != hipSuccess)
    {
      fprintf(stderr, "Failed to allocate device memory (error code %s)!\n", hipGetErrorString(err));
      exit(EXIT_FAILURE);
    }


    //copy matrix memory to device
    err = hipMemcpy(d_legq, Tlegq, f_size, hipMemcpyHostToDevice);
    err = hipMemcpy(d_dleq, Tdleq, f_size, hipMemcpyHostToDevice);
    err = hipMemcpy(d_zeta, zeta, c_size, hipMemcpyHostToDevice);
    err = hipMemcpy(d_eta, eta, c_size, hipMemcpyHostToDevice);
    err = hipMemcpy(d_Data, dataread, sizeData, hipMemcpyHostToDevice);
    err = hipMemcpy(d_DataoutZ, dataoutZ, sizeData, hipMemcpyHostToDevice);
    err = hipMemcpy(d_DataoutR, dataoutR, sizeData, hipMemcpyHostToDevice);
    err = hipMemcpy(d_DataoutPhi, dataoutPhi, sizeData, hipMemcpyHostToDevice);
    err = hipMemcpy(d_ccidx, ccidx, size_ccidx, hipMemcpyHostToDevice);
    err = hipMemcpy(d_midx, midx, size_midx, hipMemcpyHostToDevice);
    err = hipMemcpy(d_nidx, nidx, size_nidx, hipMemcpyHostToDevice);
    err = hipMemcpy(d_cc, cc, d_size, hipMemcpyHostToDevice);
    err = hipMemcpy(d_cs, cs, d_size, hipMemcpyHostToDevice);
    err = hipMemcpy(d_sc, sc, d_size, hipMemcpyHostToDevice);
    err = hipMemcpy(d_ss, ss, d_size, hipMemcpyHostToDevice);



    //Start parallel computing
    dim3 DimBlock (16,16);
    dim3 DimGrid (nphi/16+1, 26/16+1);
    printf("CUDA kernel launch with %d blocks of %d threads\n", DimGrid.x * DimGrid.y, 256);

    thread_call<<<DimGrid, DimBlock>>>(d_cc,d_cs,d_sc,d_ss,d_zeta,d_eta,d_legq,d_dleq,d_midx,d_nidx,d_ccidx,d_Data,d_DataoutZ,d_DataoutR,d_DataoutPhi,rr,bzero,dim1,nphi);
    err = hipGetLastError();

    if (err != hipSuccess)
    {
      fprintf(stderr, "Failed to launch vectorAdd kernel (error code %s)!\n", hipGetErrorString(err));
      exit(EXIT_FAILURE);
    }
    printf("GPU jobs done.\n");


    //End parallel computing
    err = hipMemcpy(dataoutZ, d_DataoutZ, sizeData, hipMemcpyDeviceToHost);
    err = hipMemcpy(dataoutR, d_DataoutR, sizeData, hipMemcpyDeviceToHost);
    err = hipMemcpy(dataoutPhi, d_DataoutPhi, sizeData, hipMemcpyDeviceToHost);
    
    //open Root tree
/*    TFile *outfile = new TFile("RootOut52.root","recreate");
    TTree *Tree_Measured = new TTree ("Tree_Measured", "Measured field");
    Tree_Measured->Branch("Phi",&phi,"Phi/D");
    Tree_Measured->Branch("BField",&B_Measure,"Prb1/D:Prb2:Prb3:Prb4:Prb5:Prb6:Prb7:Prb8:Prb9:Prb10:Prb11:Prb12:Prb13:Prb14:Prb15:Prb16:Prb17:Prb18:Prb19:Prb20:Prb21:Prb22:Prb23:Prb24:Prb25");
    TTree *Tree_Fit = new TTree ("Tree_Fit", "Fitted field");
    Tree_Fit->Branch("Phi",&phi,"Phi/D");
    Tree_Fit->Branch("BField",&B_Fit,"Prb1/D:Prb2:Prb3:Prb4:Prb5:Prb6:Prb7:Prb8:Prb9:Prb10:Prb11:Prb12:Prb13:Prb14:Prb15:Prb16:Prb17:Prb18:Prb19:Prb20:Prb21:Prb22:Prb23:Prb24:Prb25");
    Tree_Fit->Branch("BFieldZ",&B_Fit,"Prb1/D:Prb2:Prb3:Prb4:Prb5:Prb6:Prb7:Prb8:Prb9:Prb10:Prb11:Prb12:Prb13:Prb14:Prb15:Prb16:Prb17:Prb18:Prb19:Prb20:Prb21:Prb22:Prb23:Prb24:Prb25");
    Tree_Fit->Branch("BFieldR",&B_Fit,"Prb1/D:Prb2:Prb3:Prb4:Prb5:Prb6:Prb7:Prb8:Prb9:Prb10:Prb11:Prb12:Prb13:Prb14:Prb15:Prb16:Prb17:Prb18:Prb19:Prb20:Prb21:Prb22:Prb23:Prb24:Prb25");
    Tree_Fit->Branch("BFieldPhi",&B_Fit,"Prb1/D:Prb2:Prb3:Prb4:Prb5:Prb6:Prb7:Prb8:Prb9:Prb10:Prb11:Prb12:Prb13:Prb14:Prb15:Prb16:Prb17:Prb18:Prb19:Prb20:Prb21:Prb22:Prb23:Prb24:Prb25");
    */
    for (id=0;id<nphi;id++) { // loop over azimuthal slices 
      phi=dataread[id*26];
      for (prb=1;prb<=25;prb++){ // loop over 25 probes 
	bz=dataoutZ[id*26+prb];
	br=dataoutR[id*26+prb];
	bphi=dataoutPhi[id*26+prb];
	bsize=sqrt(br*br+bz*bz+bphi*bphi);
	//            printf("%Lf \n",bsize);
	bfield[prb][4]=bsize;
	bfield[prb][1]=bz;
	bfield[prb][2]=br;
	bfield[prb][3]=bphi;
	B_Fit.Prb[prb-1]=bsize;
	B_ZFit.Prb[prb-1]=bz;
	B_RFit.Prb[prb-1]=br;
	B_PhiFit.Prb[prb-1]=bphi;
	B_Measure.Prb[prb-1]=dataread[id*26+prb];
	//Output
	fprintf(output,"%.17g %d %.17g %.17g %.17g %.17g %.17g\n",phi,prb,dataread[id*26+prb],bfield[prb][1],bfield[prb][2],bfield[prb][3],bfield[prb][4]);
	rmsd=(dataread[id*26+prb]-bfield[prb][4])*(dataread[id*26+prb]-bfield[prb][4]);
	difrms+=rmsd;
	rmsd=rmsd/bzero/bzero;
	dzrms+=(dataread[id*26+prb]-bz)*(dataread[id*26+prb]-bz);
	ffrms+=(dataread[id*26+prb]-bzero)*(dataread[id*26+prb]-bzero);
      }
     // Tree_Measured->Fill();
     // Tree_Fit->Fill();
    }
    //Tree_Measured->Write();
    //Tree_Fit->Write();
    //outfile->Close();

    difrms=difrms/bzero/bzero/nphi/25;
    dzrms=dzrms/bzero/bzero/nphi/25;
    ffrms=ffrms/bzero/bzero/nphi/25;
    difrms=sqrt(difrms)*1000000.;
    dzrms=sqrt(dzrms)*1000000.;
    ffrms=sqrt(ffrms)*1000000.;
    printf("RMS fluctuation = %.17g ppm \n", ffrms);
    printf("RMS difference (lin. approx.) = %.17g ppm \n", dzrms);
    printf("RMS difference (real) = %.17g ppm \n", difrms);

    free(cc);
    free(cs);
    free(sc);
    free(ss);
    free(ccidx);
    free(midx);
    free(nidx);
    free(Tlegq);
    free(Tdleq);
    free(dataread);
    free(dataoutZ);
    free(dataoutR);
    free(dataoutPhi);

    return 0;
}

/* hypergeometric function 1F2 
   evaluated by truncating an infinite sum */
double h1f2(double a, double b, double c, double z){
	int i, imax;
	double err, tol, si, sii, f1f2;
	double errabs, errrel;
	imax=100000000; // 10^8 maximum iterations
	sii=1.; // initial term 
	err=1.; // estimated uncertainty 
	f1f2=1.; // initial contribution 
	i=0;  // iterator
	tol=pow(10.,-16.); // error tolerance 
	if (z<tol||z>1.-tol) { // z out of range or dangerously close to 0 or 1
		i=imax+1;
		f1f2=1./err; // to return inf or nan
	}
	while (err>tol&&i<=imax) {
		i++;
		si=(a+i-1.)*(b+i-1.)/(c+i-1.)*z/i*sii; // next term 
		f1f2+=si; //next term added 
		errabs=fabsl(si*z/(1.-z)); // estimated absolute uncertainty 
		errrel=fabsl(errabs/f1f2); // estimated relative uncertainty 
		if (errabs>errrel) { // choose larger one as error
			err=errabs;
		}
		else {
			err=errrel;
		}
		sii=si;
	}
	return f1f2;
}

/* Legendre function of the second kind, Q_{m+1/2}^n (cosh(z)).
   Normalized to remove gamma function.
   Regular inside the torus */
double LegendreQ(double m, double n, double z){
    double lq;
//    lq=pow(M_PI,.5)*exp(lgammal(m+n+.5))/(pow(2.,m+.5)*exp(lgammal(m+1.)));
    lq=pow(tanh(z),n)/pow(cosh(z),m+.5);
    lq=lq*h1f2(.5*(m+n+.5),.5*(m+n+1.5),m+1.,1./cosh(z)/cosh(z));
    return lq;
}

/* Derivative of Q_{m+1/2}^n (cosh(z)).
   Normalized to remove gamma function.
 */
double DLegendreQ(int m, int n, double z){
    double dlq, lq1, lq2;
    if (m==0) {
        dlq=-1/(8*pow(cosh(z),1.5))/sinh(z);
        dlq=dlq*pow(tanh(z),n);
        dlq=dlq*( (4.*pow(sinh(z),2.)-8.*n)*                        \
                   h1f2(n/2.+.25,n/2.+.75,1.,1/cosh(z)/cosh(z)) +   \
                   (4.*n*n+8.*n+3.)*tanh(z)*tanh(z)*                \
                   h1f2(n/2.+1.25,n/2.+1.75,2.,1/cosh(z)/cosh(z)));
    }
    else {
        lq1=pow(tanh(z),n)/pow(cosh(z),m+.5);
        lq1=lq1*h1f2(.5*(m+n+.5),.5*(m+n+1.5),m+1.,1./cosh(z)/cosh(z));
        lq2=pow(tanh(z),n)/pow(cosh(z),m-.5);
        lq2=lq2*h1f2(.5*(m+n-.5),.5*(m+n+.5),m*1.,1./cosh(z)/cosh(z));
        dlq=(m-.5)/tanh(z)*lq1-(2.*m)/sinh(z)*lq2;
    }
    return dlq;
}

/* coordinate transformation r, z -> zeta */
double zetaf(double rho, double z, double r0){
    double zetax;
    zetax=atanhl(2.*rho*r0/(rho*rho+r0*r0+z*z));
    return zetax;
}

/* coordinate transformation r, z -> eta */
double etaf(double rho, double z, double r0){
    double etax, xx;
    int i;
    xx=2.*r0*z/(rho*rho-r0*r0+z*z);
    if (fabsl(xx)<0.001) {
        etax=1.;
        for (i=1;i<=10;i++) {
            etax=etax+pow(xx,2.*i)/(2.*i+1.)*cos(M_PI*i);
        }
        etax=etax*xx;
    }
    else {
        etax=atanl(xx);
    }
    if (rho<sqrtl(r0*r0-z*z)) etax=etax+M_PI;
    return etax;
}


//Function for each thread call
__global__ void thread_call(const double *cc,const double *cs,const double *sc,const double *ss,const double *zeta,const double *eta,const double *Tlegq,const double *Tdleq,const int *midx,const int *nidx,const int*ccidx,const double *dataread,double *dataoutZ,double *dataoutR,double *dataoutPhi,const double rr,const double bzero,const int dim1,int nphi){
  //Get index
  int id = blockDim.x * blockIdx.x + threadIdx.x;
  int prb = blockDim.y * blockIdx.y + threadIdx.y;
  int ccidx_dim = dim1+2;
  if(id<nphi && prb<26 && prb>0){
    double phi=dataread[id*26];
    double zt=zeta[prb];  // zeta coordinate at probe 
    double et=eta[prb];  // eta coordinate at probe 
    //            printf("%Lf, %Lf \n", zt, et);
    double wgt=sqrt(cosh(zt)-cos(et)); // weight func in toroidal coordinates 
    double br=0.; 
    double bz=bzero; 
    double bphi=0.;
    for (int i=1;i<=dim1;i++){
      int md=midx[i]; // m index 
      int nd=nidx[i]; // n index 
      //                printf("%d, %d \n", md, nd);
      /* LegendreQ at probe */
      double legq=Tlegq[i*26+prb];
      /* Derivative of LegendreQ at probe */
      double dleq=Tdleq[i*26+prb];
      //                printf("(%d, %d, %Lf) : %Lf, %Lf \n", md,nd,zt,legq, dleq);
      double phidz=cc[ccidx[md*ccidx_dim+nd]]*cos(nd*phi)*cos(md*et)+  \
		   sc[ccidx[md*ccidx_dim+nd]]*cos(nd*phi)*sin(md*et)+  \
		   cs[ccidx[md*ccidx_dim+nd]]*sin(nd*phi)*cos(md*et)+  \
		   ss[ccidx[md*ccidx_dim+nd]]*sin(nd*phi)*sin(md*et);
      phidz=phidz*(sinh(zt)/2./wgt*legq + wgt*dleq);
      double phidp=-cc[ccidx[md*ccidx_dim+nd]]*sin(nd*phi)*cos(md*et)-  \
		   sc[ccidx[md*ccidx_dim+nd]]*sin(nd*phi)*sin(md*et)+  \
		   cs[ccidx[md*ccidx_dim+nd]]*cos(nd*phi)*cos(md*et)+  \
		   ss[ccidx[md*ccidx_dim+nd]]*cos(nd*phi)*sin(md*et);
      phidp=phidp*nd*wgt*legq;
      double phide1=cc[ccidx[md*ccidx_dim+nd]]*cos(nd*phi)*cos(md*et)+  \
		    sc[ccidx[md*ccidx_dim+nd]]*cos(nd*phi)*sin(md*et)+  \
		    cs[ccidx[md*ccidx_dim+nd]]*sin(nd*phi)*cos(md*et)+  \
		    ss[ccidx[md*ccidx_dim+nd]]*sin(nd*phi)*sin(md*et);
      phide1=phide1*sin(et)/2./wgt*legq;
      double phide2=-cc[ccidx[md*ccidx_dim+nd]]*cos(nd*phi)*sin(md*et)+  \
		    sc[ccidx[md*ccidx_dim+nd]]*cos(nd*phi)*cos(md*et)-  \
		    cs[ccidx[md*ccidx_dim+nd]]*sin(nd*phi)*sin(md*et)+  \
		    ss[ccidx[md*ccidx_dim+nd]]*sin(nd*phi)*cos(md*et);
      phide2=phide2*md*wgt*legq;
      double phide=phide1+phide2;
      br=br+sinh(zt)/rr*((1.-cosh(zt)*cos(et))/sinh(zt)*phidz-sin(et)*phide);
      bz=bz+sinh(zt)/rr*(-sin(et)*phidz-(1.-cosh(zt)*cos(et))/sinh(zt)*phide);
      bphi=bphi+(cosh(zt)-cos(et))/(rr*sinh(zt))*phidp;
    }
    dataoutZ[id*26+prb]=bz;
    dataoutR[id*26+prb]=br;
    dataoutPhi[id*26+prb]=bphi;
  }
}








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

                                        # End of file scope inline assembly
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0                          # -- Begin function main
.LCPI0_0:
	.quad	0x400921fb54442d18              # double 3.1415926535897931
.LCPI0_1:
	.quad	0x3fd0000000000000              # double 0.25
.LCPI0_2:
	.quad	0x3fc0000000000000              # double 0.125
.LCPI0_3:
	.quad	0x40bbc80000000000              # double 7112
.LCPI0_5:
	.quad	0x40bbc78000000000              # double 7111.5
.LCPI0_6:
	.quad	0x41881d83c2000000              # double 50573432.25
.LCPI0_7:
	.quad	0x4066800000000000              # double 180
.LCPI0_8:
	.quad	0x3f50624dd2f1a9fc              # double 0.001
.LCPI0_9:
	.quad	0x404edeb851eb851f              # double 61.740000000000002
.LCPI0_10:
	.quad	0x401a000000000000              # double 6.5
.LCPI0_11:
	.quad	0x404ee4fdf3b645a2              # double 61.789000000000001
.LCPI0_12:
	.quad	0xc04ee4fdf3b645a2              # double -61.789000000000001
.LCPI0_13:
	.quad	0x4039000000000000              # double 25
.LCPI0_14:
	.quad	0x412e848000000000              # double 1.0E+6
.LCPI0_15:
	.quad	0x0000000000000000              # double 0
	.section	.rodata.cst16,"aM",@progbits,16
	.p2align	4, 0x0
.LCPI0_4:
	.quad	0x8000000000000000              # double -0
	.quad	0x8000000000000000              # double -0
	.text
	.globl	main
	.type	main,@function
main:                                   # @main
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$936, %rsp                      # imm = 0x3A8
	.cfi_def_cfa_offset 992
	.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	$240, %edi
	callq	malloc
	movq	%rax, %r13
	movl	$240, %edi
	callq	malloc
	movq	%rax, %r12
	movl	$.L.str, %edi
	movl	$.L.str.1, %esi
	callq	fopen
	movq	%rax, 72(%rsp)                  # 8-byte Spill
	movl	$.L.str.2, %edi
	movl	$.L.str.1, %esi
	callq	fopen
	movq	%rax, %r15
	movl	$.L.str.3, %edi
	movl	$.L.str.4, %esi
	callq	fopen
	movq	%rax, 416(%rsp)                 # 8-byte Spill
	leaq	228(%rsp), %rbx
	movl	$.L.str.5, %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	__isoc23_fscanf
	leaq	132(%rsp), %r14
	movl	$.L.str.5, %esi
	movq	%r15, 88(%rsp)                  # 8-byte Spill
	movq	%r15, %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	__isoc23_fscanf
	movl	(%rbx), %esi
	movl	(%r14), %edx
	movl	$.L.str.6, %edi
	xorl	%eax, %eax
	callq	printf
	movslq	(%r14), %rax
	incq	%rax
	movslq	(%rbx), %rcx
	incq	%rcx
	imulq	%rax, %rcx
	leaq	2(%rcx), %r14
	movq	%rcx, 64(%rsp)                  # 8-byte Spill
	leaq	16(,%rcx,8), %rbx
	movq	%rbx, %rdi
	callq	malloc
	movq	%rax, 160(%rsp)                 # 8-byte Spill
	movq	%rbx, %rdi
	callq	malloc
	movq	%rax, 152(%rsp)                 # 8-byte Spill
	movq	%rbx, %rdi
	callq	malloc
	movq	%rax, 144(%rsp)                 # 8-byte Spill
	movq	%rbx, %rdi
	callq	malloc
	movq	%rax, 136(%rsp)                 # 8-byte Spill
	movq	%r14, 240(%rsp)                 # 8-byte Spill
                                        # kill: def $r14d killed $r14d killed $r14 def $r14
	imull	%r14d, %r14d
	movq	%r14, 424(%rsp)                 # 8-byte Spill
	leaq	(,%r14,4), %rdi
	callq	malloc
	movq	%rax, 56(%rsp)                  # 8-byte Spill
	testq	%rax, %rax
	jne	.LBB0_2
# %bb.1:
	movl	$.Lstr, %edi
	callq	puts@PLT
.LBB0_2:
	movq	%rbx, %rdi
	callq	malloc
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	malloc
	movq	%rax, %r15
	xorl	%eax, %eax
	movq	%rax, 696(%rsp)
	movq	%rax, 456(%rsp)
	movsd	.LCPI0_0(%rip), %xmm2           # xmm2 = mem[0],zero
	movsd	.LCPI0_1(%rip), %xmm0           # xmm0 = mem[0],zero
	movabsq	$4627026404658118656, %rcx      # imm = 0x4036800000000000
.LBB0_3:                                # =>This Inner Loop Header: Depth=1
	xorps	%xmm1, %xmm1
	cvtsi2sd	%eax, %xmm1
	mulsd	%xmm2, %xmm1
	mulsd	%xmm0, %xmm1
	movsd	%xmm1, 704(%rsp,%rax,8)
	movq	%rcx, 464(%rsp,%rax,8)
	incq	%rax
	cmpq	$8, %rax
	jne	.LBB0_3
# %bb.4:                                # %.preheader383.preheader
	xorl	%eax, %eax
	movsd	.LCPI0_2(%rip), %xmm0           # xmm0 = mem[0],zero
	movabsq	$4631530004285489152, %rcx      # imm = 0x4046800000000000
.LBB0_5:                                # %.preheader383
                                        # =>This Inner Loop Header: Depth=1
	xorps	%xmm1, %xmm1
	cvtsi2sd	%eax, %xmm1
	mulsd	%xmm2, %xmm1
	mulsd	%xmm0, %xmm1
	movsd	%xmm1, 768(%rsp,%rax,8)
	movq	%rcx, 528(%rsp,%rax,8)
	incq	%rax
	cmpq	$16, %rax
	jne	.LBB0_5
# %bb.6:                                # %.preheader382.preheader
	movl	$1, %ebx
.LBB0_7:                                # %.preheader382
                                        # =>This Inner Loop Header: Depth=1
	movsd	448(%rsp,%rbx,8), %xmm0         # xmm0 = mem[0],zero
	movsd	688(%rsp,%rbx,8), %xmm1         # xmm1 = mem[0],zero
	movl	$.L.str.8, %edi
	movl	%ebx, %esi
	movb	$2, %al
	callq	printf
	incq	%rbx
	cmpq	$26, %rbx
	jne	.LBB0_7
# %bb.8:
	movq	%r15, 168(%rsp)                 # 8-byte Spill
	movq	%r14, 120(%rsp)                 # 8-byte Spill
	movl	$.Lstr.1, %edi
	callq	puts@PLT
	xorl	%ebx, %ebx
.LBB0_9:                                # =>This Inner Loop Header: Depth=1
	movsd	456(%rsp,%rbx), %xmm0           # xmm0 = mem[0],zero
	movaps	%xmm0, 96(%rsp)                 # 16-byte Spill
	movsd	696(%rsp,%rbx), %xmm0           # xmm0 = mem[0],zero
	movsd	%xmm0, 8(%rsp)                  # 8-byte Spill
	callq	sin
	movapd	%xmm0, %xmm2
	movapd	96(%rsp), %xmm1                 # 16-byte Reload
	mulsd	%xmm1, %xmm2
	movsd	.LCPI0_3(%rip), %xmm0           # xmm0 = mem[0],zero
	addsd	%xmm0, %xmm2
	movsd	%xmm2, 48(%rsp)                 # 8-byte Spill
	movapd	%xmm1, %xmm0
	xorpd	.LCPI0_4(%rip), %xmm0
	movapd	%xmm0, 32(%rsp)                 # 16-byte Spill
	movsd	8(%rsp), %xmm0                  # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	cos
	mulsd	32(%rsp), %xmm0                 # 16-byte Folded Reload
	movsd	48(%rsp), %xmm3                 # 8-byte Reload
                                        # xmm3 = mem[0],zero
	movapd	%xmm3, %xmm1
	addsd	%xmm3, %xmm1
	movsd	.LCPI0_5(%rip), %xmm2           # xmm2 = mem[0],zero
	mulsd	%xmm2, %xmm1
	mulsd	%xmm3, %xmm3
	addsd	.LCPI0_6(%rip), %xmm3
	mulsd	%xmm0, %xmm0
	addsd	%xmm3, %xmm0
	divsd	%xmm0, %xmm1
	movsd	%xmm1, 432(%rsp)
	fldl	432(%rsp)
	subq	$16, %rsp
	.cfi_adjust_cfa_offset 16
	fstpt	(%rsp)
	callq	atanhl
	addq	$16, %rsp
	.cfi_adjust_cfa_offset -16
	fstpl	8(%r13,%rbx)
	movsd	8(%rsp), %xmm0                  # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	sin
	mulsd	96(%rsp), %xmm0                 # 16-byte Folded Reload
	addsd	.LCPI0_3(%rip), %xmm0
	movsd	%xmm0, 96(%rsp)                 # 8-byte Spill
	movsd	8(%rsp), %xmm0                  # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	cos
	movapd	32(%rsp), %xmm1                 # 16-byte Reload
	mulsd	%xmm0, %xmm1
	movsd	96(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	movsd	.LCPI0_5(%rip), %xmm2           # xmm2 = mem[0],zero
	callq	_Z4etafddd
	movsd	%xmm0, 8(%r12,%rbx)
	addq	$8, %rbx
	cmpq	$200, %rbx
	jne	.LBB0_9
# %bb.10:
	movq	%r13, 280(%rsp)                 # 8-byte Spill
	movq	%r12, 408(%rsp)                 # 8-byte Spill
	xorl	%ebx, %ebx
	movl	%ebx, 28(%rsp)
	movl	%ebx, 24(%rsp)
	movl	132(%rsp), %edx
	testl	%edx, %edx
	movsd	.LCPI0_0(%rip), %xmm1           # xmm1 = mem[0],zero
	js	.LBB0_20
# %bb.11:                               # %.preheader381.preheader
	movslq	64(%rsp), %rax                  # 4-byte Folded Reload
	leaq	8(,%rax,4), %r12
	movq	120(%rsp), %rax                 # 8-byte Reload
	addq	$4, %rax
	movq	%rax, 96(%rsp)                  # 8-byte Spill
	movq	168(%rsp), %rax                 # 8-byte Reload
	addq	$4, %rax
	movq	%rax, 48(%rsp)                  # 8-byte Spill
	movq	56(%rsp), %r13                  # 8-byte Reload
	xorl	%r15d, %r15d
.LBB0_12:                               # %.preheader381
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB0_14 Depth 2
	movl	228(%rsp), %r14d
	testl	%r14d, %r14d
	js	.LBB0_16
# %bb.13:                               # %.lr.ph.preheader
                                        #   in Loop: Header=BB0_12 Depth=1
	movl	%edx, 32(%rsp)                  # 4-byte Spill
	leal	1(%rbx), %eax
	movslq	%eax, %rbp
	movq	160(%rsp), %rax                 # 8-byte Reload
	leaq	(%rax,%rbp,8), %rdi
	movq	%rbx, 8(%rsp)                   # 8-byte Spill
	leaq	8(,%r14,8), %rbx
	incq	%r14
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	memset@PLT
	movq	152(%rsp), %rax                 # 8-byte Reload
	leaq	(%rax,%rbp,8), %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	memset@PLT
	movq	144(%rsp), %rax                 # 8-byte Reload
	leaq	(%rax,%rbp,8), %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	memset@PLT
	movq	136(%rsp), %rax                 # 8-byte Reload
	leaq	(%rax,%rbp,8), %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	movq	8(%rsp), %rbx                   # 8-byte Reload
	callq	memset@PLT
	movslq	%ebx, %rdx
	movq	96(%rsp), %rax                  # 8-byte Reload
	leaq	(%rax,%rdx,4), %rax
	movq	48(%rsp), %rcx                  # 8-byte Reload
	leaq	(%rcx,%rdx,4), %rcx
	movl	%edx, %edx
	movq	%r13, %rdi
	xorl	%esi, %esi
.LBB0_14:                               # %.lr.ph
                                        #   Parent Loop BB0_12 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	leal	(%rdx,%rsi), %r8d
	incl	%r8d
	movl	%r8d, (%rdi)
	movl	%esi, (%rax,%rsi,4)
	movl	%r15d, (%rcx,%rsi,4)
	incq	%rsi
	addq	%r12, %rdi
	cmpq	%rsi, %r14
	jne	.LBB0_14
# %bb.15:                               # %._crit_edge.loopexit
                                        #   in Loop: Header=BB0_12 Depth=1
	addl	%esi, %ebx
	movsd	.LCPI0_0(%rip), %xmm1           # xmm1 = mem[0],zero
	movl	32(%rsp), %edx                  # 4-byte Reload
.LBB0_16:                               # %._crit_edge
                                        #   in Loop: Header=BB0_12 Depth=1
	testq	%r15, %r15
	je	.LBB0_19
# %bb.17:                               # %._crit_edge
                                        #   in Loop: Header=BB0_12 Depth=1
	movslq	%edx, %rax
	cmpq	%rax, %r15
	jge	.LBB0_19
# %bb.18:                               #   in Loop: Header=BB0_12 Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r15d, %xmm0
	mulsd	%xmm1, %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2sd	%edx, %xmm1
	divsd	%xmm1, %xmm0
	callq	sin
	movsd	.LCPI0_0(%rip), %xmm1           # xmm1 = mem[0],zero
	movl	132(%rsp), %edx
.LBB0_19:                               #   in Loop: Header=BB0_12 Depth=1
	leaq	1(%r15), %rax
	movslq	%edx, %rcx
	addq	$4, %r13
	cmpq	%rcx, %r15
	movq	%rax, %r15
	jl	.LBB0_12
.LBB0_20:                               # %.preheader380
	cmpl	$0, 64(%rsp)                    # 4-byte Folded Reload
	jle	.LBB0_31
# %bb.21:                               # %.lr.ph396.preheader
	movq	64(%rsp), %rax                  # 8-byte Reload
	leal	(,%rax,4), %eax
	cmpl	$2, %eax
	movl	$1, %ebx
	cmovgel	%eax, %ebx
	leaq	20(%rsp), %r12
	leaq	24(%rsp), %r13
	leaq	28(%rsp), %r14
	leaq	176(%rsp), %rbp
	movslq	240(%rsp), %r15                 # 4-byte Folded Reload
.LBB0_22:                               # %.lr.ph396
                                        # =>This Inner Loop Header: Depth=1
	movl	$.L.str.10, %esi
	movq	88(%rsp), %rdi                  # 8-byte Reload
	movq	%r12, %rdx
	movq	%r13, %rcx
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	__isoc23_fscanf
	movl	$.L.str.11, %esi
	movq	72(%rsp), %rdi                  # 8-byte Reload
	movq	%rbp, %rdx
	xorl	%eax, %eax
	callq	__isoc23_fscanf
	movl	20(%rsp), %eax
	decl	%eax
	cmpl	$3, %eax
	ja	.LBB0_29
# %bb.23:                               # %.lr.ph396
                                        #   in Loop: Header=BB0_22 Depth=1
	jmpq	*.LJTI0_0(,%rax,8)
.LBB0_24:                               #   in Loop: Header=BB0_22 Depth=1
	movsd	176(%rsp), %xmm0                # xmm0 = mem[0],zero
	movslq	24(%rsp), %rax
	imulq	%r15, %rax
	movslq	28(%rsp), %rcx
	addq	%rax, %rcx
	movq	56(%rsp), %rax                  # 8-byte Reload
	movslq	(%rax,%rcx,4), %rax
	movq	160(%rsp), %rcx                 # 8-byte Reload
	jmp	.LBB0_25
.LBB0_26:                               #   in Loop: Header=BB0_22 Depth=1
	movsd	176(%rsp), %xmm0                # xmm0 = mem[0],zero
	movslq	24(%rsp), %rax
	imulq	%r15, %rax
	movslq	28(%rsp), %rcx
	addq	%rax, %rcx
	movq	56(%rsp), %rax                  # 8-byte Reload
	movslq	(%rax,%rcx,4), %rax
	movq	144(%rsp), %rcx                 # 8-byte Reload
	jmp	.LBB0_25
.LBB0_27:                               #   in Loop: Header=BB0_22 Depth=1
	movsd	176(%rsp), %xmm0                # xmm0 = mem[0],zero
	movslq	24(%rsp), %rax
	imulq	%r15, %rax
	movslq	28(%rsp), %rcx
	addq	%rax, %rcx
	movq	56(%rsp), %rax                  # 8-byte Reload
	movslq	(%rax,%rcx,4), %rax
	movq	136(%rsp), %rcx                 # 8-byte Reload
	jmp	.LBB0_25
.LBB0_28:                               #   in Loop: Header=BB0_22 Depth=1
	movsd	176(%rsp), %xmm0                # xmm0 = mem[0],zero
	movslq	24(%rsp), %rax
	imulq	%r15, %rax
	movslq	28(%rsp), %rcx
	addq	%rax, %rcx
	movq	56(%rsp), %rax                  # 8-byte Reload
	movslq	(%rax,%rcx,4), %rax
	movq	152(%rsp), %rcx                 # 8-byte Reload
.LBB0_25:                               #   in Loop: Header=BB0_22 Depth=1
	movsd	%xmm0, (%rcx,%rax,8)
.LBB0_30:                               #   in Loop: Header=BB0_22 Depth=1
	decl	%ebx
	jne	.LBB0_22
	jmp	.LBB0_31
.LBB0_29:                               #   in Loop: Header=BB0_22 Depth=1
	movl	$.Lstr.4, %edi
	callq	puts@PLT
	jmp	.LBB0_30
.LBB0_31:                               # %._crit_edge397
	movq	72(%rsp), %rdi                  # 8-byte Reload
	callq	fclose
	movq	88(%rsp), %rdi                  # 8-byte Reload
	callq	fclose
	movl	$.Lstr.2, %edi
	callq	puts@PLT
	movl	$.L.str.14, %edi
	movl	$.L.str.1, %esi
	callq	fopen
	movq	%rax, %rbx
	movq	$-1, %r13
	leaq	440(%rsp), %r14
.LBB0_32:                               # =>This Inner Loop Header: Depth=1
	movl	$.L.str.11, %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	__isoc23_fscanf
	incq	%r13
	testl	%eax, %eax
	jg	.LBB0_32
# %bb.33:
	movl	%r13d, %eax
	imulq	$1321528399, %rax, %r15         # imm = 0x4EC4EC4F
	shrq	$35, %r15
	movq	%rbx, %rdi
	callq	fclose
	imulq	$208, %r15, %rbx
	movq	%rbx, %rdi
	callq	malloc
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	malloc
	movq	%rax, 232(%rsp)                 # 8-byte Spill
	movq	%rbx, %rdi
	callq	malloc
	movq	%rax, 112(%rsp)                 # 8-byte Spill
	movq	%rbx, 264(%rsp)                 # 8-byte Spill
	movq	%rbx, %rdi
	callq	malloc
	movq	%rax, 80(%rsp)                  # 8-byte Spill
	movl	$.L.str.14, %edi
	movl	$.L.str.1, %esi
	callq	fopen
	movq	%rax, %rbp
	movl	$0, 20(%rsp)
	cmpl	$26, %r13d
	movq	%r15, 272(%rsp)                 # 8-byte Spill
	movq	%r13, 184(%rsp)                 # 8-byte Spill
	jae	.LBB0_35
# %bb.34:                               # %._crit_edge401.thread
	movq	%rbp, %rdi
	callq	fclose
	xorl	%eax, %eax
	jmp	.LBB0_43
.LBB0_35:
	leaq	392(%rsp), %rbx
.LBB0_36:                               # %.lr.ph400
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB0_37 Depth 2
	movl	$.L.str.11, %esi
	movq	%rbp, %rdi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	__isoc23_fscanf
	movsd	392(%rsp), %xmm0                # xmm0 = mem[0],zero
	mulsd	.LCPI0_0(%rip), %xmm0
	divsd	.LCPI0_7(%rip), %xmm0
	movslq	20(%rsp), %rax
	imulq	$208, %rax, %rax
	movsd	%xmm0, (%r12,%rax)
	movl	$1, %r14d
.LBB0_37:                               #   Parent Loop BB0_36 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movl	$.L.str.11, %esi
	movq	%rbp, %rdi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	__isoc23_fscanf
	movsd	392(%rsp), %xmm0                # xmm0 = mem[0],zero
	mulsd	.LCPI0_8(%rip), %xmm0
	addsd	.LCPI0_9(%rip), %xmm0
	movslq	20(%rsp), %rax
	leaq	(%rax,%rax,4), %rcx
	leaq	(%rcx,%rcx,4), %rcx
	addq	%r14, %rcx
	addq	%rax, %rcx
	movsd	%xmm0, (%r12,%rcx,8)
	incq	%r14
	cmpl	$26, %r14d
	jne	.LBB0_37
# %bb.38:                               #   in Loop: Header=BB0_36 Depth=1
	incl	%eax
	movl	%eax, 20(%rsp)
	cmpl	%r15d, %eax
	jl	.LBB0_36
# %bb.39:                               # %._crit_edge401
	movq	%rbp, %rdi
	callq	fclose
	xorl	%eax, %eax
	cmpl	$26, %r13d
	jb	.LBB0_43
# %bb.40:                               # %.preheader379.preheader
	cmpl	$1, %r15d
	movl	%r15d, %eax
	adcl	$0, %eax
	movl	%eax, 32(%rsp)                  # 4-byte Spill
	movabsq	$5675921253449092805, %rcx      # imm = 0x4EC4EC4EC4EC4EC5
	movq	184(%rsp), %rax                 # 8-byte Reload
	mulq	%rcx
	movq	%rdx, %rbx
	shrq	$3, %rbx
	cmpq	$1, %rbx
	adcq	$0, %rbx
	movl	$8, %r15d
	movq	112(%rsp), %r13                 # 8-byte Reload
	movq	232(%rsp), %r14                 # 8-byte Reload
.LBB0_41:                               # %.preheader379
                                        # =>This Inner Loop Header: Depth=1
	movq	80(%rsp), %rax                  # 8-byte Reload
	addq	%r15, %rax
	movq	%rax, 8(%rsp)                   # 8-byte Spill
	leaq	(%r15,%r13), %rbp
	leaq	(%r14,%r15), %rdi
	movl	$200, %edx
	xorl	%esi, %esi
	callq	memset@PLT
	movl	$200, %edx
	movq	%rbp, %rdi
	xorl	%esi, %esi
	callq	memset@PLT
	movl	$200, %edx
	movq	8(%rsp), %rdi                   # 8-byte Reload
	xorl	%esi, %esi
	callq	memset@PLT
	addq	$208, %r15
	decq	%rbx
	jne	.LBB0_41
# %bb.42:
	movl	32(%rsp), %eax                  # 4-byte Reload
.LBB0_43:                               # %._crit_edge404
	movl	%eax, 20(%rsp)
	movq	64(%rsp), %rcx                  # 8-byte Reload
	leal	1(%rcx), %r15d
	leal	(%r15,%r15,4), %eax
	leal	(%rax,%rax,4), %eax
	addl	%ecx, %eax
	incl	%eax
	movslq	%eax, %rbx
	shlq	$3, %rbx
	movq	%rbx, %rdi
	callq	malloc
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	malloc
	xorl	%r9d, %r9d
	movq	%r14, %rcx
	movq	%rax, %rdx
	xorl	%esi, %esi
.LBB0_44:                               # %.preheader378
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB0_46 Depth 2
	cmpl	$0, 64(%rsp)                    # 4-byte Folded Reload
	js	.LBB0_47
# %bb.45:                               # %.lr.ph408.preheader
                                        #   in Loop: Header=BB0_44 Depth=1
	movq	%r15, %rdi
	xorl	%r8d, %r8d
.LBB0_46:                               # %.lr.ph408
                                        #   Parent Loop BB0_44 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movq	%r9, (%rcx,%r8)
	movq	%r9, (%rdx,%r8)
	addq	$208, %r8
	decq	%rdi
	jne	.LBB0_46
.LBB0_47:                               # %._crit_edge409
                                        #   in Loop: Header=BB0_44 Depth=1
	incq	%rsi
	addq	$8, %rdx
	addq	$8, %rcx
	cmpq	$26, %rsi
	jne	.LBB0_44
# %bb.48:                               # %.preheader377
	movq	%r15, 288(%rsp)                 # 8-byte Spill
	movq	%r12, 400(%rsp)                 # 8-byte Spill
	movl	$216, %ecx
	movq	%rax, 248(%rsp)                 # 8-byte Spill
	movq	%rax, %rdx
	addq	%rcx, %rdx
	movq	%r14, 256(%rsp)                 # 8-byte Spill
	addq	%rcx, %r14
	movl	$1, %eax
	movq	%rax, 192(%rsp)                 # 8-byte Spill
	movq	288(%rsp), %r15                 # 8-byte Reload
.LBB0_49:                               # %.preheader
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB0_51 Depth 2
	movq	%r14, 72(%rsp)                  # 8-byte Spill
	cmpl	$0, 64(%rsp)                    # 4-byte Folded Reload
	movq	120(%rsp), %rsi                 # 8-byte Reload
	movq	168(%rsp), %r14                 # 8-byte Reload
	jle	.LBB0_52
# %bb.50:                               # %.lr.ph413
                                        #   in Loop: Header=BB0_49 Depth=1
	movq	280(%rsp), %rax                 # 8-byte Reload
	movq	192(%rsp), %rcx                 # 8-byte Reload
	movsd	(%rax,%rcx,8), %xmm0            # xmm0 = mem[0],zero
	movsd	%xmm0, 96(%rsp)                 # 8-byte Spill
	movl	$1, %r13d
	xorl	%r12d, %r12d
	movq	%rdx, 88(%rsp)                  # 8-byte Spill
.LBB0_51:                               #   Parent Loop BB0_49 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movl	(%rsi,%r13,4), %ebx
	movl	(%r14,%r13,4), %ebp
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ebx, %xmm0
	movsd	%xmm0, 32(%rsp)                 # 8-byte Spill
	xorps	%xmm1, %xmm1
	cvtsi2sd	%ebp, %xmm1
	movsd	%xmm1, 8(%rsp)                  # 8-byte Spill
	movsd	96(%rsp), %xmm2                 # 8-byte Reload
                                        # xmm2 = mem[0],zero
	callq	_Z9LegendreQddd
	movsd	%xmm0, 48(%rsp)                 # 8-byte Spill
	movsd	32(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	movsd	8(%rsp), %xmm1                  # 8-byte Reload
                                        # xmm1 = mem[0],zero
	movsd	.LCPI0_10(%rip), %xmm2          # xmm2 = mem[0],zero
	callq	_Z9LegendreQddd
	movsd	48(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	movq	72(%rsp), %rax                  # 8-byte Reload
	movsd	%xmm1, (%rax,%r12)
	movl	%ebx, %edi
	movl	%ebp, %esi
	movsd	96(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	_Z10DLegendreQiid
	movsd	%xmm0, 48(%rsp)                 # 8-byte Spill
	movsd	32(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	movsd	8(%rsp), %xmm1                  # 8-byte Reload
                                        # xmm1 = mem[0],zero
	movsd	.LCPI0_10(%rip), %xmm2          # xmm2 = mem[0],zero
	callq	_Z9LegendreQddd
	movq	120(%rsp), %rsi                 # 8-byte Reload
	movq	88(%rsp), %rdx                  # 8-byte Reload
	movsd	48(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	movsd	%xmm1, (%rdx,%r12)
	incq	%r13
	addq	$208, %r12
	cmpq	%r13, %r15
	jne	.LBB0_51
.LBB0_52:                               # %._crit_edge414
                                        #   in Loop: Header=BB0_49 Depth=1
	movq	192(%rsp), %rcx                 # 8-byte Reload
	incq	%rcx
	addq	$8, %rdx
	movq	72(%rsp), %r14                  # 8-byte Reload
	addq	$8, %r14
	movq	%rcx, %rax
	movq	%rcx, 192(%rsp)                 # 8-byte Spill
	cmpq	$26, %rcx
	jne	.LBB0_49
# %bb.53:
	xorl	%ebp, %ebp
	leaq	384(%rsp), %rdi
	movq	%rbp, (%rdi)
	leaq	376(%rsp), %rbx
	movq	%rbp, (%rbx)
	imull	$208, 288(%rsp), %eax           # 4-byte Folded Reload
	movslq	%eax, %r14
	movq	%r14, %rsi
	callq	hipMalloc
	movq	%rbx, %rdi
	movq	%r14, 32(%rsp)                  # 8-byte Spill
	movq	%r14, %rsi
	callq	hipMalloc
	leaq	368(%rsp), %rdi
	movq	%rbp, (%rdi)
	leaq	360(%rsp), %rbx
	movq	%rbp, (%rbx)
	movl	$240, %esi
	callq	hipMalloc
	movl	$240, %esi
	movq	%rbx, %rdi
	callq	hipMalloc
	leaq	352(%rsp), %rdi
	movq	%rbp, (%rdi)
	leaq	216(%rsp), %rbx
	movq	%rbp, (%rbx)
	leaq	208(%rsp), %r12
	movq	%rbp, (%r12)
	leaq	200(%rsp), %r14
	movq	%rbp, (%r14)
	movq	264(%rsp), %r13                 # 8-byte Reload
	movq	%r13, %rsi
	callq	hipMalloc
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	hipMalloc
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	hipMalloc
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	hipMalloc
	leaq	344(%rsp), %rdi
	movq	%rbp, (%rdi)
	movq	424(%rsp), %r15                 # 8-byte Reload
	shlq	$34, %r15
	sarq	$32, %r15
	movq	%r15, %rsi
	callq	hipMalloc
	leaq	336(%rsp), %rdi
	movq	%rbp, (%rdi)
	movq	240(%rsp), %r14                 # 8-byte Reload
	leal	(,%r14,4), %eax
	movslq	%eax, %rbx
	movq	%rbx, %rsi
	callq	hipMalloc
	leaq	328(%rsp), %rdi
	movq	%rbp, (%rdi)
	movq	%rbx, 8(%rsp)                   # 8-byte Spill
	movq	%rbx, %rsi
	callq	hipMalloc
	leaq	320(%rsp), %rdi
	movq	%rbp, (%rdi)
	leaq	312(%rsp), %rbx
	movq	%rbp, (%rbx)
	leaq	304(%rsp), %r12
	movq	%rbp, (%r12)
	leaq	296(%rsp), %rax
	movq	%rbp, (%rax)
	movq	%rax, %rbp
	shlq	$35, %r14
	sarq	$32, %r14
	movq	%r14, %rsi
	callq	hipMalloc
	movq	%rbx, %rdi
	movq	%r14, %rbx
	movq	%r14, %rsi
	callq	hipMalloc
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	hipMalloc
	movq	%rbp, %rdi
	movq	%r14, %rsi
	callq	hipMalloc
	testl	%eax, %eax
	jne	.LBB0_72
# %bb.54:
	movq	384(%rsp), %rdi
	movq	256(%rsp), %rsi                 # 8-byte Reload
	movq	32(%rsp), %r14                  # 8-byte Reload
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
	movq	376(%rsp), %rdi
	movq	248(%rsp), %rsi                 # 8-byte Reload
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
	movq	368(%rsp), %rdi
	movl	$240, %edx
	movq	280(%rsp), %rsi                 # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
	movq	360(%rsp), %rdi
	movl	$240, %edx
	movq	408(%rsp), %rsi                 # 8-byte Reload
	movl	$1, %ecx
	callq	hipMemcpy
	movq	352(%rsp), %rdi
	movq	400(%rsp), %r12                 # 8-byte Reload
	movq	%r12, %rsi
	movq	%r13, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
	movq	216(%rsp), %rdi
	movq	%r13, %r14
	movq	232(%rsp), %r13                 # 8-byte Reload
	movq	%r13, %rsi
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
	movq	208(%rsp), %rdi
	movq	112(%rsp), %rbp                 # 8-byte Reload
	movq	%rbp, %rsi
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
	movq	200(%rsp), %rdi
	movq	80(%rsp), %rsi                  # 8-byte Reload
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
	movq	344(%rsp), %rdi
	movq	56(%rsp), %rsi                  # 8-byte Reload
	movq	%r15, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
	movq	336(%rsp), %rdi
	movq	120(%rsp), %rsi                 # 8-byte Reload
	movq	8(%rsp), %r14                   # 8-byte Reload
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
	movq	328(%rsp), %rdi
	movq	168(%rsp), %rsi                 # 8-byte Reload
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
	movq	320(%rsp), %rdi
	movq	160(%rsp), %rsi                 # 8-byte Reload
	movq	%rbx, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
	movq	312(%rsp), %rdi
	movq	152(%rsp), %rsi                 # 8-byte Reload
	movq	%rbx, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
	movq	304(%rsp), %rdi
	movq	144(%rsp), %rsi                 # 8-byte Reload
	movq	%rbx, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
	movq	296(%rsp), %rdi
	movq	136(%rsp), %rsi                 # 8-byte Reload
	movq	%rbx, %rdx
	movl	$1, %ecx
	callq	hipMemcpy
	movl	184(%rsp), %eax                 # 4-byte Reload
	imulq	$1321528399, %rax, %rax         # imm = 0x4EC4EC4F
	shrq	$39, %rax
	leal	1(%rax), %ebx
	btsq	$33, %rbx
	leal	2(,%rax,2), %esi
	movl	$.L.str.16, %edi
	movl	$256, %edx                      # imm = 0x100
	xorl	%eax, %eax
	callq	printf
	movabsq	$68719476752, %rdx              # imm = 0x1000000010
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	movq	272(%rsp), %r15                 # 8-byte Reload
	jne	.LBB0_56
# %bb.55:
	movq	320(%rsp), %rdi
	movq	312(%rsp), %rsi
	movq	304(%rsp), %rdx
	movq	296(%rsp), %rcx
	movq	368(%rsp), %r8
	movq	360(%rsp), %r9
	subq	$8, %rsp
	.cfi_adjust_cfa_offset 8
	movsd	.LCPI0_5(%rip), %xmm0           # xmm0 = mem[0],zero
	movsd	.LCPI0_11(%rip), %xmm1          # xmm1 = mem[0],zero
	pushq	%r15
	.cfi_adjust_cfa_offset 8
	pushq	80(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	224(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	240(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	256(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	400(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	400(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	392(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	408(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	456(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	472(%rsp)
	.cfi_adjust_cfa_offset 8
	callq	_Z26__device_stub__thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii
	addq	$96, %rsp
	.cfi_adjust_cfa_offset -96
.LBB0_56:
	callq	hipGetLastError
	testl	%eax, %eax
	movq	416(%rsp), %rbx                 # 8-byte Reload
	jne	.LBB0_73
# %bb.57:
	movl	$.Lstr.3, %edi
	callq	puts@PLT
	movq	216(%rsp), %rsi
	movq	%r13, %rdi
	movq	264(%rsp), %r14                 # 8-byte Reload
	movq	%r14, %rdx
	movl	$2, %ecx
	callq	hipMemcpy
	movq	208(%rsp), %rsi
	movq	%rbp, %rdi
	movq	%r14, %rdx
	movl	$2, %ecx
	callq	hipMemcpy
	movq	200(%rsp), %rsi
	movq	80(%rsp), %rdi                  # 8-byte Reload
	movq	%r14, %rdx
	movl	$2, %ecx
	callq	hipMemcpy
	movl	$0, 20(%rsp)
	xorpd	%xmm2, %xmm2
	xorpd	%xmm3, %xmm3
	xorpd	%xmm0, %xmm0
	cmpl	$26, 184(%rsp)                  # 4-byte Folded Reload
	jb	.LBB0_62
# %bb.58:                               # %.lr.ph425.preheader
	xorl	%eax, %eax
	movq	112(%rsp), %r14                 # 8-byte Reload
.LBB0_59:                               # %.lr.ph425
                                        # =>This Loop Header: Depth=1
                                        #     Child Loop BB0_60 Depth 2
	leal	(%rax,%rax,4), %ecx
	leal	(%rcx,%rcx,4), %ecx
	addl	%eax, %ecx
	movslq	%ecx, %rcx
	movsd	(%r12,%rcx,8), %xmm1            # xmm1 = mem[0],zero
	movsd	%xmm1, 88(%rsp)                 # 8-byte Spill
	movl	$1, %ebp
	movq	80(%rsp), %r15                  # 8-byte Reload
.LBB0_60:                               #   Parent Loop BB0_59 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movsd	%xmm0, 96(%rsp)                 # 8-byte Spill
	movsd	%xmm3, 32(%rsp)                 # 8-byte Spill
	movsd	%xmm2, 8(%rsp)                  # 8-byte Spill
	leal	(%rax,%rax,4), %ecx
	leal	(%rcx,%rcx,4), %ecx
	addl	%eax, %ecx
	movslq	%ecx, %rax
	addq	%rbp, %rax
	movsd	(%r13,%rax,8), %xmm2            # xmm2 = mem[0],zero
	movsd	(%r14,%rax,8), %xmm3            # xmm3 = mem[0],zero
	movsd	(%r15,%rax,8), %xmm4            # xmm4 = mem[0],zero
	movapd	%xmm3, %xmm0
	mulsd	%xmm3, %xmm0
	movapd	%xmm2, %xmm1
	movsd	%xmm2, 48(%rsp)                 # 8-byte Spill
	mulsd	%xmm2, %xmm1
	addsd	%xmm0, %xmm1
	movapd	%xmm4, %xmm0
	mulsd	%xmm4, %xmm0
	addsd	%xmm1, %xmm0
	xorps	%xmm5, %xmm5
	sqrtsd	%xmm0, %xmm5
	movsd	%xmm5, 72(%rsp)                 # 8-byte Spill
	movsd	(%r12,%rax,8), %xmm1            # xmm1 = mem[0],zero
	movl	$.L.str.19, %esi
	movq	%rbx, %rdi
	movsd	88(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	movl	%ebp, %edx
	movb	$6, %al
	callq	fprintf
	movsd	96(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	movsd	32(%rsp), %xmm3                 # 8-byte Reload
                                        # xmm3 = mem[0],zero
	movsd	8(%rsp), %xmm2                  # 8-byte Reload
                                        # xmm2 = mem[0],zero
	movslq	20(%rsp), %rax
	leaq	(%rax,%rax,4), %rcx
	leaq	(%rcx,%rcx,4), %rcx
	movq	%rax, %rdx
	addq	%rbp, %rdx
	addq	%rcx, %rdx
	movsd	(%r12,%rdx,8), %xmm4            # xmm4 = mem[0],zero
	movapd	%xmm4, %xmm1
	subsd	72(%rsp), %xmm1                 # 8-byte Folded Reload
	mulsd	%xmm1, %xmm1
	addsd	%xmm1, %xmm0
	movapd	%xmm4, %xmm1
	subsd	48(%rsp), %xmm1                 # 8-byte Folded Reload
	mulsd	%xmm1, %xmm1
	addsd	%xmm1, %xmm3
	movsd	.LCPI0_12(%rip), %xmm1          # xmm1 = mem[0],zero
	addsd	%xmm1, %xmm4
	mulsd	%xmm4, %xmm4
	addsd	%xmm4, %xmm2
	incq	%rbp
	cmpl	$26, %ebp
	jne	.LBB0_60
# %bb.61:                               #   in Loop: Header=BB0_59 Depth=1
	incl	%eax
	movl	%eax, 20(%rsp)
	movq	272(%rsp), %r15                 # 8-byte Reload
	cmpl	%r15d, %eax
	jl	.LBB0_59
.LBB0_62:                               # %._crit_edge426
	movsd	.LCPI0_11(%rip), %xmm4          # xmm4 = mem[0],zero
	divsd	%xmm4, %xmm0
	divsd	%xmm4, %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2sd	%r15d, %xmm1
	divsd	%xmm1, %xmm0
	movsd	.LCPI0_13(%rip), %xmm5          # xmm5 = mem[0],zero
	divsd	%xmm5, %xmm0
	divsd	%xmm4, %xmm3
	divsd	%xmm4, %xmm3
	divsd	%xmm1, %xmm3
	divsd	%xmm5, %xmm3
	divsd	%xmm4, %xmm2
	divsd	%xmm4, %xmm2
	divsd	%xmm1, %xmm2
	ucomisd	.LCPI0_15(%rip), %xmm0
	jb	.LBB0_64
# %bb.63:
	sqrtsd	%xmm0, %xmm0
	jmp	.LBB0_65
.LBB0_64:                               # %call.sqrt
	movsd	%xmm2, 8(%rsp)                  # 8-byte Spill
	movsd	%xmm3, 32(%rsp)                 # 8-byte Spill
	callq	sqrt
	movsd	.LCPI0_13(%rip), %xmm5          # xmm5 = mem[0],zero
	movsd	32(%rsp), %xmm3                 # 8-byte Reload
                                        # xmm3 = mem[0],zero
	movsd	8(%rsp), %xmm2                  # 8-byte Reload
                                        # xmm2 = mem[0],zero
.LBB0_65:                               # %._crit_edge426.split
	divsd	%xmm5, %xmm2
	xorpd	%xmm4, %xmm4
	ucomisd	%xmm4, %xmm3
	jb	.LBB0_67
# %bb.66:
	xorps	%xmm1, %xmm1
	sqrtsd	%xmm3, %xmm1
	jmp	.LBB0_68
.LBB0_67:                               # %call.sqrt608
	movsd	%xmm0, 32(%rsp)                 # 8-byte Spill
	movapd	%xmm3, %xmm0
	movsd	%xmm2, 8(%rsp)                  # 8-byte Spill
	callq	sqrt
	xorpd	%xmm4, %xmm4
	movsd	8(%rsp), %xmm2                  # 8-byte Reload
                                        # xmm2 = mem[0],zero
	movapd	%xmm0, %xmm1
	movsd	32(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
.LBB0_68:                               # %._crit_edge426.split.split
	movq	112(%rsp), %rbx                 # 8-byte Reload
	movq	80(%rsp), %r14                  # 8-byte Reload
	mulsd	.LCPI0_14(%rip), %xmm0
	movsd	%xmm0, 32(%rsp)                 # 8-byte Spill
	mulsd	.LCPI0_14(%rip), %xmm1
	movsd	%xmm1, 8(%rsp)                  # 8-byte Spill
	ucomisd	%xmm4, %xmm2
	jb	.LBB0_70
# %bb.69:
	xorps	%xmm0, %xmm0
	sqrtsd	%xmm2, %xmm0
	jmp	.LBB0_71
.LBB0_70:                               # %call.sqrt609
	movapd	%xmm2, %xmm0
	callq	sqrt
.LBB0_71:                               # %._crit_edge426.split.split.split
	mulsd	.LCPI0_14(%rip), %xmm0
	movl	$.L.str.20, %edi
	movb	$1, %al
	callq	printf
	movl	$.L.str.21, %edi
	movsd	8(%rsp), %xmm0                  # 8-byte Reload
                                        # xmm0 = mem[0],zero
	movb	$1, %al
	callq	printf
	movl	$.L.str.22, %edi
	movsd	32(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	movb	$1, %al
	callq	printf
	movq	160(%rsp), %rdi                 # 8-byte Reload
	callq	free
	movq	152(%rsp), %rdi                 # 8-byte Reload
	callq	free
	movq	144(%rsp), %rdi                 # 8-byte Reload
	callq	free
	movq	136(%rsp), %rdi                 # 8-byte Reload
	callq	free
	movq	56(%rsp), %rdi                  # 8-byte Reload
	callq	free
	movq	120(%rsp), %rdi                 # 8-byte Reload
	callq	free
	movq	168(%rsp), %rdi                 # 8-byte Reload
	callq	free
	movq	256(%rsp), %rdi                 # 8-byte Reload
	callq	free
	movq	248(%rsp), %rdi                 # 8-byte Reload
	callq	free
	movq	%r12, %rdi
	callq	free
	movq	%r13, %rdi
	callq	free
	movq	%rbx, %rdi
	callq	free
	movq	%r14, %rdi
	callq	free
	xorl	%eax, %eax
	addq	$936, %rsp                      # imm = 0x3A8
	.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_72:
	.cfi_def_cfa_offset 992
	movq	stderr(%rip), %rbx
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str.15, %esi
	jmp	.LBB0_74
.LBB0_73:
	movq	stderr(%rip), %rbx
	movl	%eax, %edi
	callq	hipGetErrorString
	movl	$.L.str.17, %esi
.LBB0_74:
	movq	%rbx, %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	fprintf
	movl	$1, %edi
	callq	exit
.Lfunc_end0:
	.size	main, .Lfunc_end0-main
	.cfi_endproc
	.section	.rodata,"a",@progbits
	.p2align	3, 0x0
.LJTI0_0:
	.quad	.LBB0_24
	.quad	.LBB0_28
	.quad	.LBB0_26
	.quad	.LBB0_27
                                        # -- End function
	.text
	.globl	_Z5zetafddd                     # -- Begin function _Z5zetafddd
	.type	_Z5zetafddd,@function
_Z5zetafddd:                            # @_Z5zetafddd
	.cfi_startproc
# %bb.0:
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	movapd	%xmm0, %xmm3
	addsd	%xmm0, %xmm3
	mulsd	%xmm2, %xmm3
	mulsd	%xmm0, %xmm0
	mulsd	%xmm2, %xmm2
	addsd	%xmm0, %xmm2
	mulsd	%xmm1, %xmm1
	addsd	%xmm2, %xmm1
	divsd	%xmm1, %xmm3
	movsd	%xmm3, 32(%rsp)
	fldl	32(%rsp)
	fstpt	(%rsp)
	callq	atanhl
	fstpl	24(%rsp)
	movsd	24(%rsp), %xmm0                 # xmm0 = mem[0],zero
	addq	$40, %rsp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end1:
	.size	_Z5zetafddd, .Lfunc_end1-_Z5zetafddd
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0                          # -- Begin function _Z4etafddd
.LCPI2_0:
	.quad	0x3f50624dd2f1a9fc              # double 0.001
.LCPI2_1:
	.quad	0x3ff0000000000000              # double 1
.LCPI2_2:
	.quad	0x400921fb54442d18              # double 3.1415926535897931
	.text
	.globl	_Z4etafddd
	.type	_Z4etafddd,@function
_Z4etafddd:                             # @_Z4etafddd
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	subq	$112, %rsp
	.cfi_def_cfa_offset 128
	.cfi_offset %rbx, -16
	movapd	%xmm2, %xmm3
	addsd	%xmm2, %xmm3
	mulsd	%xmm1, %xmm3
	movsd	%xmm0, 56(%rsp)                 # 8-byte Spill
	mulsd	%xmm0, %xmm0
	mulsd	%xmm2, %xmm2
	movsd	%xmm2, 72(%rsp)                 # 8-byte Spill
	subsd	%xmm2, %xmm0
	mulsd	%xmm1, %xmm1
	movsd	%xmm1, 64(%rsp)                 # 8-byte Spill
	addsd	%xmm1, %xmm0
	divsd	%xmm0, %xmm3
	movsd	%xmm3, 104(%rsp)
	fldl	104(%rsp)
	fld	%st(0)
	fabs
	fldl	.LCPI2_0(%rip)
	fucompi	%st(1), %st
	fstp	%st(0)
	jbe	.LBB2_4
# %bb.1:                                # %.preheader.preheader
	fstp	%st(0)
	movsd	.LCPI2_1(%rip), %xmm0           # xmm0 = mem[0],zero
	movl	$10, %ebx
	movapd	%xmm0, %xmm1
	movsd	%xmm3, 16(%rsp)                 # 8-byte Spill
.LBB2_2:                                # %.preheader
                                        # =>This Inner Loop Header: Depth=1
	movsd	%xmm1, 48(%rsp)                 # 8-byte Spill
	movsd	%xmm0, 24(%rsp)                 # 8-byte Spill
	addsd	%xmm1, %xmm1
	movsd	%xmm1, 40(%rsp)                 # 8-byte Spill
	movapd	%xmm3, %xmm0
	callq	pow
	movapd	%xmm0, %xmm1
	movsd	.LCPI2_1(%rip), %xmm0           # xmm0 = mem[0],zero
	movsd	40(%rsp), %xmm2                 # 8-byte Reload
                                        # xmm2 = mem[0],zero
	addsd	%xmm0, %xmm2
	divsd	%xmm2, %xmm1
	movsd	%xmm1, 40(%rsp)                 # 8-byte Spill
	movsd	48(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	mulsd	.LCPI2_2(%rip), %xmm0
	callq	cos
	movsd	16(%rsp), %xmm3                 # 8-byte Reload
                                        # xmm3 = mem[0],zero
	mulsd	40(%rsp), %xmm0                 # 8-byte Folded Reload
	movsd	24(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	addsd	%xmm0, %xmm1
	movsd	%xmm1, 24(%rsp)                 # 8-byte Spill
	movsd	48(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	movsd	24(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	addsd	.LCPI2_1(%rip), %xmm1
	decl	%ebx
	jne	.LBB2_2
# %bb.3:
	mulsd	%xmm0, %xmm3
	movsd	%xmm3, 16(%rsp)                 # 8-byte Spill
	jmp	.LBB2_5
.LBB2_4:
	fstpt	(%rsp)
	callq	atanl
	fstpl	96(%rsp)
	movsd	96(%rsp), %xmm0                 # xmm0 = mem[0],zero
	movsd	%xmm0, 16(%rsp)                 # 8-byte Spill
.LBB2_5:
	movsd	56(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	movsd	%xmm0, 88(%rsp)
	fldl	88(%rsp)
	fstpt	24(%rsp)                        # 10-byte Folded Spill
	movsd	72(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	subsd	64(%rsp), %xmm0                 # 8-byte Folded Reload
	movsd	%xmm0, 80(%rsp)
	fldl	80(%rsp)
	fstpt	(%rsp)
	callq	sqrtl
	fldt	24(%rsp)                        # 10-byte Folded Reload
	fxch	%st(1)
	fucompi	%st(1), %st
	fstp	%st(0)
	ja	.LBB2_6
# %bb.7:
	movsd	16(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	jmp	.LBB2_8
.LBB2_6:
	movsd	16(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	addsd	.LCPI2_2(%rip), %xmm0
.LBB2_8:
	addq	$112, %rsp
	.cfi_def_cfa_offset 16
	popq	%rbx
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end2:
	.size	_Z4etafddd, .Lfunc_end2-_Z4etafddd
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0                          # -- Begin function _Z9LegendreQddd
.LCPI3_0:
	.quad	0x3fe0000000000000              # double 0.5
.LCPI3_1:
	.quad	0x3ff8000000000000              # double 1.5
.LCPI3_2:
	.quad	0x3ff0000000000000              # double 1
	.text
	.globl	_Z9LegendreQddd
	.type	_Z9LegendreQddd,@function
_Z9LegendreQddd:                        # @_Z9LegendreQddd
	.cfi_startproc
# %bb.0:
	subq	$56, %rsp
	.cfi_def_cfa_offset 64
	movsd	%xmm2, 32(%rsp)                 # 8-byte Spill
	movsd	%xmm1, 16(%rsp)                 # 8-byte Spill
	movsd	%xmm0, 8(%rsp)                  # 8-byte Spill
	movaps	%xmm2, %xmm0
	callq	tanh
	movsd	16(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	callq	pow
	movsd	%xmm0, 40(%rsp)                 # 8-byte Spill
	movsd	32(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	cosh
	movsd	8(%rsp), %xmm1                  # 8-byte Reload
                                        # xmm1 = mem[0],zero
	addsd	.LCPI3_0(%rip), %xmm1
	callq	pow
	movsd	40(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	movsd	%xmm1, 40(%rsp)                 # 8-byte Spill
	movsd	16(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	movsd	8(%rsp), %xmm1                  # 8-byte Reload
                                        # xmm1 = mem[0],zero
	addsd	%xmm1, %xmm0
	movapd	%xmm0, %xmm2
	movsd	.LCPI3_0(%rip), %xmm3           # xmm3 = mem[0],zero
	addsd	%xmm3, %xmm2
	addsd	.LCPI3_1(%rip), %xmm0
	mulsd	%xmm3, %xmm2
	movsd	%xmm2, 48(%rsp)                 # 8-byte Spill
	mulsd	%xmm3, %xmm0
	movsd	%xmm0, 16(%rsp)                 # 8-byte Spill
	movsd	.LCPI3_2(%rip), %xmm0           # xmm0 = mem[0],zero
	movsd	%xmm0, 24(%rsp)                 # 8-byte Spill
	addsd	%xmm0, %xmm1
	movsd	%xmm1, 8(%rsp)                  # 8-byte Spill
	movsd	32(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	cosh
	movsd	24(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	movsd	%xmm1, 24(%rsp)                 # 8-byte Spill
	movsd	32(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	cosh
	movsd	24(%rsp), %xmm3                 # 8-byte Reload
                                        # xmm3 = mem[0],zero
	divsd	%xmm0, %xmm3
	movsd	48(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	movsd	16(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	movsd	8(%rsp), %xmm2                  # 8-byte Reload
                                        # xmm2 = mem[0],zero
	callq	_Z4h1f2dddd
	mulsd	40(%rsp), %xmm0                 # 8-byte Folded Reload
	addq	$56, %rsp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end3:
	.size	_Z9LegendreQddd, .Lfunc_end3-_Z9LegendreQddd
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0                          # -- Begin function _Z10DLegendreQiid
.LCPI4_0:
	.quad	0x3fe0000000000000              # double 0.5
.LCPI4_1:
	.quad	0x3ff8000000000000              # double 1.5
.LCPI4_2:
	.quad	0x3ff0000000000000              # double 1
.LCPI4_3:
	.quad	0xbfe0000000000000              # double -0.5
.LCPI4_4:
	.quad	0x4020000000000000              # double 8
.LCPI4_5:
	.quad	0xbff0000000000000              # double -1
.LCPI4_6:
	.quad	0x4010000000000000              # double 4
.LCPI4_7:
	.quad	0x3fd0000000000000              # double 0.25
.LCPI4_8:
	.quad	0x3fe8000000000000              # double 0.75
.LCPI4_9:
	.quad	0x4008000000000000              # double 3
.LCPI4_10:
	.quad	0x3ff4000000000000              # double 1.25
.LCPI4_11:
	.quad	0x3ffc000000000000              # double 1.75
.LCPI4_12:
	.quad	0x4000000000000000              # double 2
	.text
	.globl	_Z10DLegendreQiid
	.type	_Z10DLegendreQiid,@function
_Z10DLegendreQiid:                      # @_Z10DLegendreQiid
	.cfi_startproc
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	subq	$88, %rsp
	.cfi_def_cfa_offset 112
	.cfi_offset %rbx, -24
	.cfi_offset %rbp, -16
	movl	%esi, %ebx
	testl	%edi, %edi
	movsd	%xmm0, 8(%rsp)                  # 8-byte Spill
	je	.LBB4_1
# %bb.2:
	movl	%edi, %ebp
	callq	tanh
	cvtsi2sd	%ebx, %xmm1
	movsd	%xmm1, 32(%rsp)                 # 8-byte Spill
	callq	pow
	movsd	%xmm0, 16(%rsp)                 # 8-byte Spill
	movsd	8(%rsp), %xmm0                  # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	cosh
	xorps	%xmm1, %xmm1
	cvtsi2sd	%ebp, %xmm1
	movsd	%xmm1, 24(%rsp)                 # 8-byte Spill
	addsd	.LCPI4_0(%rip), %xmm1
	callq	pow
	movsd	16(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	movsd	%xmm1, 16(%rsp)                 # 8-byte Spill
	addl	%ebp, %ebx
	cvtsi2sd	%ebx, %xmm2
	movsd	%xmm2, 64(%rsp)                 # 8-byte Spill
	movapd	%xmm2, %xmm0
	movsd	.LCPI4_0(%rip), %xmm1           # xmm1 = mem[0],zero
	addsd	%xmm1, %xmm0
	mulsd	%xmm1, %xmm0
	movsd	%xmm0, 48(%rsp)                 # 8-byte Spill
	movsd	.LCPI4_1(%rip), %xmm0           # xmm0 = mem[0],zero
	addsd	%xmm2, %xmm0
	mulsd	%xmm1, %xmm0
	movsd	%xmm0, 56(%rsp)                 # 8-byte Spill
	movsd	.LCPI4_2(%rip), %xmm0           # xmm0 = mem[0],zero
	movsd	%xmm0, 40(%rsp)                 # 8-byte Spill
	movsd	24(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	addsd	%xmm0, %xmm1
	movsd	%xmm1, 80(%rsp)                 # 8-byte Spill
	movsd	8(%rsp), %xmm0                  # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	cosh
	movsd	.LCPI4_2(%rip), %xmm1           # xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	movsd	%xmm1, 72(%rsp)                 # 8-byte Spill
	movsd	8(%rsp), %xmm0                  # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	cosh
	movsd	72(%rsp), %xmm3                 # 8-byte Reload
                                        # xmm3 = mem[0],zero
	divsd	%xmm0, %xmm3
	movsd	48(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	movsd	56(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	movsd	80(%rsp), %xmm2                 # 8-byte Reload
                                        # xmm2 = mem[0],zero
	callq	_Z4h1f2dddd
	mulsd	16(%rsp), %xmm0                 # 8-byte Folded Reload
	movsd	%xmm0, 56(%rsp)                 # 8-byte Spill
	movsd	8(%rsp), %xmm0                  # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	tanh
	movsd	32(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	callq	pow
	movsd	%xmm0, 16(%rsp)                 # 8-byte Spill
	movsd	8(%rsp), %xmm0                  # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	cosh
	movsd	24(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	addsd	.LCPI4_3(%rip), %xmm1
	movsd	%xmm1, 32(%rsp)                 # 8-byte Spill
	callq	pow
	movsd	16(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	movsd	%xmm1, 16(%rsp)                 # 8-byte Spill
	movsd	64(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	addsd	.LCPI4_3(%rip), %xmm0
	mulsd	.LCPI4_0(%rip), %xmm0
	movsd	%xmm0, 64(%rsp)                 # 8-byte Spill
	movsd	8(%rsp), %xmm0                  # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	cosh
	movsd	40(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	movsd	%xmm1, 40(%rsp)                 # 8-byte Spill
	movsd	8(%rsp), %xmm0                  # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	cosh
	movsd	40(%rsp), %xmm3                 # 8-byte Reload
                                        # xmm3 = mem[0],zero
	divsd	%xmm0, %xmm3
	movsd	64(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	movsd	48(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	movsd	24(%rsp), %xmm2                 # 8-byte Reload
                                        # xmm2 = mem[0],zero
	callq	_Z4h1f2dddd
	mulsd	16(%rsp), %xmm0                 # 8-byte Folded Reload
	movsd	%xmm0, 40(%rsp)                 # 8-byte Spill
	movsd	8(%rsp), %xmm0                  # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	tanh
	movsd	32(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	mulsd	56(%rsp), %xmm1                 # 8-byte Folded Reload
	movsd	%xmm1, 32(%rsp)                 # 8-byte Spill
	movsd	24(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	addsd	%xmm0, %xmm0
	movsd	%xmm0, 24(%rsp)                 # 8-byte Spill
	movsd	8(%rsp), %xmm0                  # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	sinh
	movsd	24(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	movsd	32(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	mulsd	40(%rsp), %xmm1                 # 8-byte Folded Reload
	subsd	%xmm1, %xmm0
	jmp	.LBB4_3
.LBB4_1:
	callq	cosh
	movsd	.LCPI4_1(%rip), %xmm1           # xmm1 = mem[0],zero
	callq	pow
	mulsd	.LCPI4_4(%rip), %xmm0
	movsd	.LCPI4_5(%rip), %xmm1           # xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	movsd	%xmm1, 24(%rsp)                 # 8-byte Spill
	movsd	8(%rsp), %xmm0                  # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	sinh
	movsd	24(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	movsd	%xmm1, 24(%rsp)                 # 8-byte Spill
	movsd	8(%rsp), %xmm0                  # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	tanh
	xorps	%xmm1, %xmm1
	cvtsi2sd	%ebx, %xmm1
	movsd	%xmm1, 16(%rsp)                 # 8-byte Spill
	callq	pow
	mulsd	24(%rsp), %xmm0                 # 8-byte Folded Reload
	movsd	%xmm0, 64(%rsp)                 # 8-byte Spill
	movsd	8(%rsp), %xmm0                  # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	sinh
	mulsd	%xmm0, %xmm0
	mulsd	.LCPI4_6(%rip), %xmm0
	movsd	.LCPI4_4(%rip), %xmm2           # xmm2 = mem[0],zero
	movsd	16(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	mulsd	%xmm1, %xmm2
	movsd	%xmm2, 48(%rsp)                 # 8-byte Spill
	subsd	%xmm2, %xmm0
	movsd	%xmm0, 32(%rsp)                 # 8-byte Spill
	movsd	.LCPI4_0(%rip), %xmm0           # xmm0 = mem[0],zero
	mulsd	%xmm1, %xmm0
	movsd	%xmm0, 40(%rsp)                 # 8-byte Spill
	movsd	.LCPI4_7(%rip), %xmm1           # xmm1 = mem[0],zero
	addsd	%xmm0, %xmm1
	movsd	%xmm1, 56(%rsp)                 # 8-byte Spill
	movsd	.LCPI4_8(%rip), %xmm1           # xmm1 = mem[0],zero
	addsd	%xmm0, %xmm1
	movsd	%xmm1, 80(%rsp)                 # 8-byte Spill
	movsd	8(%rsp), %xmm0                  # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	cosh
	movsd	.LCPI4_2(%rip), %xmm1           # xmm1 = mem[0],zero
	movsd	%xmm1, 24(%rsp)                 # 8-byte Spill
	divsd	%xmm0, %xmm1
	movsd	%xmm1, 72(%rsp)                 # 8-byte Spill
	movsd	8(%rsp), %xmm0                  # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	cosh
	movsd	72(%rsp), %xmm3                 # 8-byte Reload
                                        # xmm3 = mem[0],zero
	divsd	%xmm0, %xmm3
	movsd	56(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	movsd	80(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	movsd	.LCPI4_2(%rip), %xmm2           # xmm2 = mem[0],zero
	callq	_Z4h1f2dddd
	mulsd	32(%rsp), %xmm0                 # 8-byte Folded Reload
	movsd	%xmm0, 32(%rsp)                 # 8-byte Spill
	movsd	.LCPI4_6(%rip), %xmm0           # xmm0 = mem[0],zero
	movsd	16(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	mulsd	%xmm1, %xmm0
	mulsd	%xmm1, %xmm0
	addsd	48(%rsp), %xmm0                 # 8-byte Folded Reload
	addsd	.LCPI4_9(%rip), %xmm0
	movsd	%xmm0, 16(%rsp)                 # 8-byte Spill
	movsd	8(%rsp), %xmm0                  # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	tanh
	mulsd	16(%rsp), %xmm0                 # 8-byte Folded Reload
	movsd	%xmm0, 16(%rsp)                 # 8-byte Spill
	movsd	8(%rsp), %xmm0                  # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	tanh
	mulsd	16(%rsp), %xmm0                 # 8-byte Folded Reload
	movsd	%xmm0, 16(%rsp)                 # 8-byte Spill
	movsd	.LCPI4_10(%rip), %xmm1          # xmm1 = mem[0],zero
	movsd	40(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	addsd	%xmm0, %xmm1
	movsd	%xmm1, 48(%rsp)                 # 8-byte Spill
	addsd	.LCPI4_11(%rip), %xmm0
	movsd	%xmm0, 40(%rsp)                 # 8-byte Spill
	movsd	8(%rsp), %xmm0                  # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	cosh
	movsd	24(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	divsd	%xmm0, %xmm1
	movsd	%xmm1, 24(%rsp)                 # 8-byte Spill
	movsd	8(%rsp), %xmm0                  # 8-byte Reload
                                        # xmm0 = mem[0],zero
	callq	cosh
	movsd	24(%rsp), %xmm3                 # 8-byte Reload
                                        # xmm3 = mem[0],zero
	divsd	%xmm0, %xmm3
	movsd	.LCPI4_12(%rip), %xmm2          # xmm2 = mem[0],zero
	movsd	48(%rsp), %xmm0                 # 8-byte Reload
                                        # xmm0 = mem[0],zero
	movsd	40(%rsp), %xmm1                 # 8-byte Reload
                                        # xmm1 = mem[0],zero
	callq	_Z4h1f2dddd
	mulsd	16(%rsp), %xmm0                 # 8-byte Folded Reload
	addsd	32(%rsp), %xmm0                 # 8-byte Folded Reload
	mulsd	64(%rsp), %xmm0                 # 8-byte Folded Reload
.LBB4_3:
	addq	$88, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end4:
	.size	_Z10DLegendreQiid, .Lfunc_end4-_Z10DLegendreQiid
	.cfi_endproc
                                        # -- End function
	.globl	_Z26__device_stub__thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii # -- Begin function _Z26__device_stub__thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii
	.type	_Z26__device_stub__thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii,@function
_Z26__device_stub__thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii: # @_Z26__device_stub__thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii
	.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	$272, %rsp                      # imm = 0x110
	.cfi_def_cfa_offset 320
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	72(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	64(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	56(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	48(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	40(%rsp), %rcx
	movq	%r8, (%rcx)
	leaq	32(%rsp), %r8
	movq	%r9, (%r8)
	leaq	24(%rsp), %r9
	movsd	%xmm0, (%r9)
	leaq	16(%rsp), %r10
	movsd	%xmm1, (%r10)
	leaq	112(%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	320(%rsp), %rax
	movq	%rax, 48(%rbx)
	leaq	328(%rsp), %rax
	movq	%rax, 56(%rbx)
	leaq	336(%rsp), %rax
	movq	%rax, 64(%rbx)
	leaq	344(%rsp), %rax
	movq	%rax, 72(%rbx)
	leaq	352(%rsp), %rax
	movq	%rax, 80(%rbx)
	leaq	360(%rsp), %rax
	movq	%rax, 88(%rbx)
	leaq	368(%rsp), %rax
	movq	%rax, 96(%rbx)
	leaq	376(%rsp), %rax
	movq	%rax, 104(%rbx)
	leaq	384(%rsp), %rax
	movq	%rax, 112(%rbx)
	movq	%r9, 120(%rbx)
	movq	%r10, 128(%rbx)
	leaq	392(%rsp), %rax
	movq	%rax, 136(%rbx)
	leaq	400(%rsp), %rax
	movq	%rax, 144(%rbx)
	leaq	96(%rsp), %r14
	leaq	80(%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	$_Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$288, %rsp                      # imm = 0x120
	.cfi_adjust_cfa_offset -288
	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	_Z26__device_stub__thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii, .Lfunc_end5-_Z26__device_stub__thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii
	.cfi_endproc
                                        # -- End function
	.section	.rodata.cst8,"aM",@progbits,8
	.p2align	3, 0x0                          # -- Begin function _Z4h1f2dddd
.LCPI6_0:
	.quad	0x3c9cd2b297d889bc              # double 9.9999999999999997E-17
.LCPI6_1:
	.quad	0x3ff0000000000000              # double 1
.LCPI6_2:
	.quad	0x3fefffffffffffff              # double 0.99999999999999988
.LCPI6_3:
	.quad	0xbff0000000000000              # double -1
	.section	.rodata.cst16,"aM",@progbits,16
	.p2align	4, 0x0
.LCPI6_4:
	.quad	0x7fffffffffffffff              # double NaN
	.quad	0x7fffffffffffffff              # double NaN
	.text
	.globl	_Z4h1f2dddd
	.type	_Z4h1f2dddd,@function
_Z4h1f2dddd:                            # @_Z4h1f2dddd
	.cfi_startproc
# %bb.0:
	movapd	%xmm0, %xmm4
	movsd	.LCPI6_0(%rip), %xmm5           # xmm5 = mem[0],zero
	ucomisd	%xmm3, %xmm5
	movsd	.LCPI6_1(%rip), %xmm0           # xmm0 = mem[0],zero
	ja	.LBB6_5
# %bb.1:
	ucomisd	.LCPI6_2(%rip), %xmm3
	ja	.LBB6_5
# %bb.2:                                # %.lr.ph
	movsd	.LCPI6_1(%rip), %xmm0           # xmm0 = mem[0],zero
	movapd	%xmm0, %xmm6
	subsd	%xmm3, %xmm6
	xorl	%eax, %eax
	movsd	.LCPI6_3(%rip), %xmm7           # xmm7 = mem[0],zero
	movapd	.LCPI6_4(%rip), %xmm8           # xmm8 = [NaN,NaN]
	movapd	%xmm0, %xmm9
.LBB6_3:                                # =>This Inner Loop Header: Depth=1
	movapd	%xmm9, %xmm10
	leal	1(%rax), %ecx
	xorps	%xmm11, %xmm11
	cvtsi2sd	%ecx, %xmm11
	movapd	%xmm11, %xmm12
	addsd	%xmm4, %xmm12
	addsd	%xmm7, %xmm12
	movapd	%xmm11, %xmm9
	addsd	%xmm1, %xmm9
	addsd	%xmm7, %xmm9
	mulsd	%xmm12, %xmm9
	movapd	%xmm11, %xmm12
	addsd	%xmm2, %xmm12
	addsd	%xmm7, %xmm12
	divsd	%xmm12, %xmm9
	mulsd	%xmm3, %xmm9
	divsd	%xmm11, %xmm9
	mulsd	%xmm10, %xmm9
	addsd	%xmm9, %xmm0
	movapd	%xmm9, %xmm10
	mulsd	%xmm3, %xmm10
	divsd	%xmm6, %xmm10
	andpd	%xmm8, %xmm10
	movapd	%xmm10, %xmm11
	divsd	%xmm0, %xmm11
	andpd	%xmm8, %xmm11
	maxsd	%xmm11, %xmm10
	ucomisd	%xmm5, %xmm10
	jbe	.LBB6_5
# %bb.4:                                #   in Loop: Header=BB6_3 Depth=1
	cmpl	$100000000, %eax                # imm = 0x5F5E100
	movl	%ecx, %eax
	jb	.LBB6_3
.LBB6_5:                                # %._crit_edge
	retq
.Lfunc_end6:
	.size	_Z4h1f2dddd, .Lfunc_end6-_Z4h1f2dddd
	.cfi_endproc
                                        # -- End function
	.p2align	4, 0x90                         # -- Begin function __hip_module_ctor
	.type	__hip_module_ctor,@function
__hip_module_ctor:                      # @__hip_module_ctor
	.cfi_startproc
# %bb.0:
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	movq	__hip_gpubin_handle(%rip), %rdi
	testq	%rdi, %rdi
	jne	.LBB7_2
# %bb.1:
	movl	$__hip_fatbin_wrapper, %edi
	callq	__hipRegisterFatBinary
	movq	%rax, %rdi
	movq	%rax, __hip_gpubin_handle(%rip)
.LBB7_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii, %esi
	movl	$.L__unnamed_1, %edx
	movl	$.L__unnamed_1, %ecx
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	movl	$__hip_module_dtor, %edi
	addq	$40, %rsp
	.cfi_def_cfa_offset 8
	jmp	atexit                          # TAILCALL
.Lfunc_end7:
	.size	__hip_module_ctor, .Lfunc_end7-__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	.LBB8_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
.LBB8_2:
	retq
.Lfunc_end8:
	.size	__hip_module_dtor, .Lfunc_end8-__hip_module_dtor
	.cfi_endproc
                                        # -- End function
	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	"fitc.txt"
	.size	.L.str, 9

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

	.type	.L.str.2,@object                # @.str.2
.L.str.2:
	.asciz	"outnames.txt"
	.size	.L.str.2, 13

	.type	.L.str.3,@object                # @.str.3
.L.str.3:
	.asciz	"output52full.txt"
	.size	.L.str.3, 17

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

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

	.type	.L.str.6,@object                # @.str.6
.L.str.6:
	.asciz	"MMax %d, NMax %d \n"
	.size	.L.str.6, 19

	.type	.L.str.8,@object                # @.str.8
.L.str.8:
	.asciz	"probe %d location r=%.17g, theta=%.17g \n"
	.size	.L.str.8, 41

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

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

	.type	.L.str.14,@object               # @.str.14
.L.str.14:
	.asciz	"data52.txt"
	.size	.L.str.14, 11

	.type	.L.str.15,@object               # @.str.15
.L.str.15:
	.asciz	"Failed to allocate device memory (error code %s)!\n"
	.size	.L.str.15, 51

	.type	.L.str.16,@object               # @.str.16
.L.str.16:
	.asciz	"CUDA kernel launch with %d blocks of %d threads\n"
	.size	.L.str.16, 49

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

	.type	.L.str.17,@object               # @.str.17
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str.17:
	.asciz	"Failed to launch vectorAdd kernel (error code %s)!\n"
	.size	.L.str.17, 52

	.type	.L.str.19,@object               # @.str.19
.L.str.19:
	.asciz	"%.17g %d %.17g %.17g %.17g %.17g %.17g\n"
	.size	.L.str.19, 40

	.type	.L.str.20,@object               # @.str.20
.L.str.20:
	.asciz	"RMS fluctuation = %.17g ppm \n"
	.size	.L.str.20, 30

	.type	.L.str.21,@object               # @.str.21
.L.str.21:
	.asciz	"RMS difference (lin. approx.) = %.17g ppm \n"
	.size	.L.str.21, 44

	.type	.L.str.22,@object               # @.str.22
.L.str.22:
	.asciz	"RMS difference (real) = %.17g ppm \n"
	.size	.L.str.22, 36

	.type	.L__unnamed_1,@object           # @0
.L__unnamed_1:
	.asciz	"_Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii"
	.size	.L__unnamed_1, 64

	.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	"out of memory"
	.size	.Lstr, 14

	.type	.Lstr.1,@object                 # @str.1
.Lstr.1:
	.asciz	"\nComputing coordinates"
	.size	.Lstr.1, 23

	.type	.Lstr.2,@object                 # @str.2
.Lstr.2:
	.asciz	"\nComputing b-fields"
	.size	.Lstr.2, 20

	.type	.Lstr.3,@object                 # @str.3
.Lstr.3:
	.asciz	"GPU jobs done."
	.size	.Lstr.3, 15

	.type	.Lstr.4,@object                 # @str.4
.Lstr.4:
	.asciz	"error "
	.size	.Lstr.4, 7

	.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 _Z26__device_stub__thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii
	.addrsig_sym __hip_module_ctor
	.addrsig_sym __hip_module_dtor
	.addrsig_sym _Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii
	.addrsig_sym __hip_fatbin
	.addrsig_sym __hip_fatbin_wrapper
	.addrsig_sym __hip_cuid_

	.text
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.protected	_Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii ; -- Begin function _Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii
	.globl	_Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii
	.p2align	8
	.type	_Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii,@function
_Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii: ; @_Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii
; %bb.0:
	s_clause 0x1
	s_load_b32 s2, s[0:1], 0x9c
	s_load_b64 s[6:7], s[0:1], 0x88
	v_bfe_u32 v1, v0, 10, 10
	v_and_b32_e32 v0, 0x3ff, v0
	s_waitcnt lgkmcnt(0)
	s_lshr_b32 s3, s2, 16
	s_and_b32 s2, s2, 0xffff
	v_mad_u64_u32 v[4:5], null, s15, s3, v[1:2]
	v_mad_u64_u32 v[2:3], null, s14, s2, v[0:1]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_nc_u32_e32 v0, -1, v4
	v_cmp_gt_i32_e32 vcc_lo, s7, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cmp_gt_u32_e64 s2, 25, v0
	s_and_b32 s2, vcc_lo, s2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_saveexec_b32 s3, s2
	s_cbranch_execz .LBB0_137
; %bb.1:
	s_load_b512 s[36:51], s[0:1], 0x0
	v_mov_b32_e32 v5, 0
	s_load_b512 s[8:23], s[0:1], 0x40
                                        ; implicit-def: $vgpr20_vgpr21
                                        ; implicit-def: $vgpr22_vgpr23
	s_mov_b32 s3, exec_lo
	s_delay_alu instid0(VALU_DEP_1)
	v_lshlrev_b64 v[0:1], 3, v[4:5]
	scratch_store_b64 off, v[4:5], off offset:112 ; 8-byte Folded Spill
	s_waitcnt lgkmcnt(0)
	v_add_co_u32 v3, vcc_lo, s46, v0
	v_add_co_ci_u32_e32 v4, vcc_lo, s47, v1, vcc_lo
	global_load_b64 v[187:188], v[3:4], off
	v_mul_lo_u32 v3, v2, 26
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_3) | instid1(VALU_DEP_1)
	v_mov_b32_e32 v2, v3
	v_ashrrev_i32_e32 v4, 31, v3
	scratch_store_b64 off, v[2:3], off offset:120 ; 8-byte Folded Spill
	v_lshlrev_b64 v[2:3], 3, v[3:4]
	v_add_co_u32 v2, vcc_lo, s14, v2
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v3, vcc_lo, s15, v3, vcc_lo
	v_add_co_u32 v0, vcc_lo, s44, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, s45, v1, vcc_lo
	global_load_b64 v[2:3], v[2:3], off
	global_load_b64 v[10:11], v[0:1], off
                                        ; implicit-def: $vgpr0
	s_waitcnt vmcnt(2)
	v_cmp_gt_f64_e64 vcc_lo, 0x41d00000, |v[187:188]|
	v_trig_preop_f64 v[24:25], |v[187:188]|, 0
	v_trig_preop_f64 v[8:9], |v[187:188]|, 1
	v_ldexp_f64 v[26:27], |v[187:188]|, 0xffffff80
	v_trig_preop_f64 v[18:19], |v[187:188]|, 2
	v_and_b32_e32 v1, 0x7fffffff, v188
	s_waitcnt vmcnt(1)
	scratch_store_b64 off, v[2:3], off offset:56 ; 8-byte Folded Spill
	v_cmpx_ngt_f64_e64 0x41d00000, |v[187:188]|
	s_xor_b32 s4, exec_lo, s3
	s_cbranch_execz .LBB0_3
; %bb.2:
	v_cmp_le_f64_e64 s2, 0x7b000000, |v[187:188]|
	scratch_load_b64 v[39:40], off, off offset:112 ; 8-byte Folded Reload
	s_mov_b32 s14, 0x33145c07
	s_mov_b32 s15, 0x3c91a626
	v_cndmask_b32_e64 v3, v1, v27, s2
	v_cndmask_b32_e64 v2, v187, v26, s2
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_mul_f64 v[4:5], v[24:25], v[2:3]
	v_mul_f64 v[6:7], v[8:9], v[2:3]
	v_mul_f64 v[28:29], v[18:19], v[2:3]
	v_fma_f64 v[12:13], v[24:25], v[2:3], -v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[30:31], v[8:9], v[2:3], -v[6:7]
	v_fma_f64 v[2:3], v[18:19], v[2:3], -v[28:29]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[14:15], v[6:7], v[12:13]
	v_add_f64 v[16:17], v[14:15], -v[6:7]
	v_add_f64 v[22:23], v[4:5], v[14:15]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[20:21], v[14:15], -v[16:17]
	v_add_f64 v[12:13], v[12:13], -v[16:17]
	v_ldexp_f64 v[16:17], v[22:23], -2
	v_add_f64 v[4:5], v[22:23], -v[4:5]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_add_f64 v[6:7], v[6:7], -v[20:21]
	v_add_f64 v[20:21], v[28:29], v[30:31]
	v_cmp_neq_f64_e64 s2, 0x7ff00000, |v[16:17]|
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[4:5], v[14:15], -v[4:5]
	v_add_f64 v[6:7], v[12:13], v[6:7]
	v_fract_f64_e32 v[12:13], v[16:17]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[14:15], v[20:21], v[6:7]
	v_cndmask_b32_e64 v13, 0, v13, s2
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v12, 0, v12, s2
	v_ldexp_f64 v[12:13], v[12:13], 2
	s_waitcnt vmcnt(0)
	v_mov_b32_e32 v32, v40
	v_add_f64 v[16:17], v[4:5], v[14:15]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[22:23], v[16:17], v[12:13]
	v_add_f64 v[4:5], v[16:17], -v[4:5]
	v_cmp_gt_f64_e64 s2, 0, v[22:23]
	v_add_f64 v[22:23], v[20:21], -v[28:29]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[4:5], v[14:15], -v[4:5]
	v_cndmask_b32_e64 v33, 0, 0x40100000, s2
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[36:37], v[20:21], -v[22:23]
	v_add_f64 v[22:23], v[30:31], -v[22:23]
	v_add_f64 v[12:13], v[12:13], v[32:33]
	v_add_f64 v[32:33], v[14:15], -v[20:21]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[30:31], v[28:29], -v[36:37]
	v_add_f64 v[34:35], v[16:17], v[12:13]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_add_f64 v[38:39], v[14:15], -v[32:33]
	v_add_f64 v[6:7], v[6:7], -v[32:33]
	v_add_f64 v[22:23], v[22:23], v[30:31]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_cvt_i32_f64_e32 v0, v[34:35]
	v_add_f64 v[20:21], v[20:21], -v[38:39]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_f64_i32_e32 v[32:33], v0
	v_add_f64 v[6:7], v[6:7], v[20:21]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[12:13], v[12:13], -v[32:33]
	v_add_f64 v[6:7], v[22:23], v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[16:17], v[12:13]
	v_add_f64 v[2:3], v[2:3], v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[20:21], -v[12:13]
	v_cmp_le_f64_e64 s2, 0.5, v[20:21]
	v_add_f64 v[2:3], v[4:5], v[2:3]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_add_f64 v[4:5], v[16:17], -v[6:7]
	v_mov_b32_e32 v6, v40
	v_cndmask_b32_e64 v7, 0, 0x3ff00000, s2
	v_add_co_ci_u32_e64 v0, s3, 0, v0, s2
	s_mov_b32 s2, 0x54442d18
	s_mov_b32 s3, 0x3ff921fb
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[2:3], v[2:3], v[4:5]
	v_add_f64 v[4:5], v[20:21], -v[6:7]
	v_add_f64 v[6:7], v[4:5], v[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[12:13], v[6:7], s[2:3]
	v_add_f64 v[4:5], v[6:7], -v[4:5]
	v_fma_f64 v[14:15], v[6:7], s[2:3], -v[12:13]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[2:3], v[2:3], -v[4:5]
	v_fma_f64 v[4:5], v[6:7], s[14:15], v[14:15]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[2:3], v[2:3], s[2:3], v[4:5]
	v_add_f64 v[20:21], v[12:13], v[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[4:5], v[20:21], -v[12:13]
	v_add_f64 v[22:23], v[2:3], -v[4:5]
.LBB0_3:                                ; %Flow561
	s_and_not1_saveexec_b32 s2, s4
	s_cbranch_execz .LBB0_5
; %bb.4:
	s_mov_b32 s4, 0x6dc9c883
	s_mov_b32 s5, 0x3fe45f30
	s_mov_b32 s15, 0xbc91a626
	v_mul_f64 v[2:3], |v[187:188]|, s[4:5]
	s_mov_b32 s4, 0x54442d18
	s_mov_b32 s5, 0xbff921fb
	s_mov_b32 s14, 0x33145c00
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[2:3], v[2:3]
	v_fma_f64 v[4:5], v[2:3], s[4:5], |v[187:188]|
	v_mul_f64 v[6:7], v[2:3], s[14:15]
	s_mov_b32 s4, 0x252049c0
	s_mov_b32 s5, 0xb97b839a
	v_cvt_i32_f64_e32 v0, v[2:3]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[14:15], v[2:3], s[14:15], v[4:5]
	v_add_f64 v[12:13], v[4:5], v[6:7]
	s_mov_b32 s15, 0x3c91a626
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[4:5], v[4:5], -v[12:13]
	v_add_f64 v[12:13], v[12:13], -v[14:15]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[4:5], v[6:7]
	v_fma_f64 v[6:7], v[2:3], s[14:15], v[6:7]
	v_add_f64 v[4:5], v[12:13], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[4:5], v[4:5], -v[6:7]
	v_fma_f64 v[4:5], v[2:3], s[4:5], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[14:15], v[4:5]
	v_add_f64 v[6:7], v[20:21], -v[14:15]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[22:23], v[4:5], -v[6:7]
.LBB0_5:                                ; %_ZL3cosd.exit
	s_or_b32 exec_lo, exec_lo, s2
	s_load_b64 s[72:73], s[0:1], 0x80
	v_mov_b32_e32 v12, 0
	v_mov_b32_e32 v13, 0
	s_cmp_lt_i32 s6, 1
	s_waitcnt lgkmcnt(0)
	v_dual_mov_b32 v14, s72 :: v_dual_mov_b32 v15, s73
	s_delay_alu instid0(VALU_DEP_2)
	v_dual_mov_b32 v17, v13 :: v_dual_mov_b32 v16, v12
	s_cbranch_scc1 .LBB0_136
; %bb.6:                                ; %.lr.ph
	s_mov_b32 s1, 0xbfe62e42
	s_mov_b32 s0, 0xfefa39ef
	s_mov_b32 s3, 0x3fe62e42
	s_waitcnt vmcnt(0)
	v_add_f64 v[2:3], |v[10:11]|, s[0:1]
	s_mov_b32 s2, s0
	s_mov_b32 s0, 0xfefa3000
	s_mov_b32 s15, 0x3f811111
	s_mov_b32 s14, 0x11122322
	s_mov_b32 s25, 0x3fa55555
	s_mov_b32 s24, 0x555502a1
	s_mov_b32 s5, 0x3ff921fb
	s_mov_b32 s26, 0x54442d18
	s_mov_b32 s27, s5
	s_mov_b32 s28, 0xb42fdfa7
	s_mov_b32 s30, 0xf9a43bb8
	s_mov_b32 s34, 0x6dc9c883
	s_mov_b32 s29, 0xbe5ae600
	s_mov_b32 s31, 0x3de5e0b2
	s_mov_b32 s35, 0x3fe45f30
	s_mov_b32 s55, 0x3c91a626
	s_mov_b32 s56, 0x33145c07
	s_mov_b32 s57, s55
	s_mov_b32 s44, 0x9037ab78
	s_mov_b32 s46, 0x46cc5e42
	s_mov_b32 s52, 0x796cde01
	s_mov_b32 s45, 0x3e21eeb6
	s_mov_b32 s47, 0xbda907db
	s_mov_b32 s53, 0x3ec71de3
	s_mov_b32 s58, 0xa17f65f6
	s_mov_b32 s60, 0x19e83e5c
	s_mov_b32 s62, 0x33145c00
	s_mov_b32 s59, 0xbe927e4f
	s_mov_b32 s61, 0xbf2a01a0
	s_mov_b32 s63, 0xbc91a626
	s_mov_b32 s64, 0x19f4ec90
	s_mov_b32 s65, 0x3efa01a0
	s_mov_b32 s66, 0x16c16967
	s_mov_b32 s67, 0xbf56c16c
	s_mov_b32 s54, s62
	s_mov_b32 s69, 0xbfc55555
	s_mov_b32 s70, 0x252049c0
	v_add_f64 v[4:5], v[2:3], -|v[10:11]|
	s_mov_b32 s71, 0xb97b839a
	s_add_i32 s7, s6, 2
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_3) | instid1(VALU_DEP_2)
	v_add_f64 v[6:7], v[4:5], -v[2:3]
	v_add_f64 v[4:5], v[4:5], s[2:3]
	s_mov_b32 s2, 0x3b39803f
	s_mov_b32 s3, 0xbc7abc9e
	v_add_f64 v[6:7], |v[10:11]|, v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[4:5], v[6:7], -v[4:5]
	v_add_f64 v[4:5], v[4:5], s[2:3]
	s_mov_b32 s2, 0x652b82fe
	s_mov_b32 s3, 0x3ff71547
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[2:3], v[4:5]
	v_mul_f64 v[12:13], v[6:7], s[2:3]
	v_add_f64 v[2:3], v[2:3], -v[6:7]
	s_mov_b32 s2, 0x6a5dcb37
	s_mov_b32 s3, 0x3e5ade15
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_rndne_f64_e32 v[12:13], v[12:13]
	v_add_f64 v[2:3], v[4:5], v[2:3]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(SALU_CYCLE_1)
	v_fma_f64 v[4:5], v[12:13], s[0:1], v[6:7]
	s_mov_b32 s0, 0xf278e000
	s_mov_b32 s1, 0xbd53de6a
	v_mul_f64 v[6:7], v[12:13], s[0:1]
	s_mov_b32 s0, 0xf97b57a0
	s_mov_b32 s1, 0xbac9cc01
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[14:15], v[2:3], v[4:5]
	v_add_f64 v[16:17], v[14:15], v[6:7]
	v_add_f64 v[4:5], v[4:5], -v[14:15]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[14:15], v[14:15], -v[16:17]
	v_add_f64 v[2:3], v[2:3], v[4:5]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[4:5], v[14:15], v[6:7]
	v_add_f64 v[2:3], v[2:3], v[4:5]
	v_mul_f64 v[4:5], v[12:13], s[0:1]
	s_mov_b32 s0, 0xfca7ab0c
	s_mov_b32 s1, 0x3e928af3
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[16:17], v[2:3]
	v_add_f64 v[14:15], v[6:7], v[4:5]
	v_add_f64 v[16:17], v[16:17], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[6:7], v[6:7], -v[14:15]
	v_add_f64 v[2:3], v[2:3], v[16:17]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[4:5], v[6:7], v[4:5]
	v_add_f64 v[2:3], v[2:3], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[4:5], v[14:15], v[2:3]
	v_fma_f64 v[6:7], v[4:5], s[2:3], s[0:1]
	s_mov_b32 s0, 0x623fde64
	s_mov_b32 s1, 0x3ec71dee
	v_add_f64 v[14:15], v[14:15], -v[4:5]
	v_mul_f64 v[16:17], v[4:5], v[4:5]
	s_mov_b32 s2, 0x8fb9f87e
	s_mov_b32 s3, 0x408633ce
	s_delay_alu instid0(SALU_CYCLE_1)
	v_cmp_ge_f64_e64 s3, |v[10:11]|, s[2:3]
	v_cmp_gt_f64_e64 s2, 0x3e400000, |v[10:11]|
	v_fma_f64 v[6:7], v[4:5], v[6:7], s[0:1]
	s_mov_b32 s0, 0x7c89e6b0
	s_mov_b32 s1, 0x3efa0199
	v_add_f64 v[2:3], v[2:3], v[14:15]
	v_fma_f64 v[14:15], v[4:5], v[4:5], -v[16:17]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fma_f64 v[6:7], v[4:5], v[6:7], s[0:1]
	s_mov_b32 s0, 0x14761f6e
	s_mov_b32 s1, 0x3f2a01a0
	v_add_f64 v[28:29], v[2:3], v[2:3]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_2)
	v_fma_f64 v[6:7], v[4:5], v[6:7], s[0:1]
	s_mov_b32 s0, 0x1852b7b0
	s_mov_b32 s1, 0x3f56c16c
	v_fma_f64 v[14:15], v[4:5], v[28:29], v[14:15]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_2)
	v_fma_f64 v[6:7], v[4:5], v[6:7], s[0:1]
	s_mov_b32 s0, 0x55555511
	s_mov_b32 s1, 0x3fc55555
	v_add_f64 v[28:29], v[16:17], v[14:15]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fma_f64 v[6:7], v[4:5], v[6:7], s[14:15]
	s_mov_b32 s14, 0x11110bb3
	v_add_f64 v[16:17], v[28:29], -v[16:17]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fma_f64 v[6:7], v[4:5], v[6:7], s[24:25]
	s_mov_b32 s24, 0x55555555
	v_add_f64 v[14:15], v[14:15], -v[16:17]
	s_mov_b32 s68, s24
	s_delay_alu instid0(VALU_DEP_2)
	v_fma_f64 v[6:7], v[4:5], v[6:7], s[0:1]
	s_mov_b32 s0, 11
	s_mov_b32 s1, 0x3fe00000
	s_delay_alu instid0(VALU_DEP_1) | instid1(SALU_CYCLE_1)
	v_fma_f64 v[6:7], v[4:5], v[6:7], s[0:1]
	v_cmp_le_f64_e64 s0, 0x7b000000, |v[187:188]|
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mul_f64 v[30:31], v[28:29], v[6:7]
	v_cndmask_b32_e64 v27, v1, v27, s0
	v_cndmask_b32_e64 v26, v187, v26, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_mul_f64 v[40:41], v[18:19], v[26:27]
	v_fma_f64 v[16:17], v[28:29], v[6:7], -v[30:31]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[18:19], v[18:19], v[26:27], -v[40:41]
	v_fma_f64 v[6:7], v[14:15], v[6:7], v[16:17]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[14:15], v[30:31], v[6:7]
	v_add_f64 v[16:17], v[4:5], v[14:15]
	v_add_f64 v[28:29], v[14:15], -v[30:31]
	v_cvt_i32_f64_e32 v30, v[12:13]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[4:5], v[16:17], -v[4:5]
	v_add_f64 v[6:7], v[6:7], -v[28:29]
	v_mul_f64 v[28:29], v[24:25], v[26:27]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[4:5], v[14:15], -v[4:5]
	v_add_f64 v[2:3], v[2:3], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[2:3], v[2:3], v[4:5]
	v_add_f64 v[4:5], v[16:17], v[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[6:7], v[4:5], 1.0
	v_add_f64 v[14:15], v[4:5], -v[16:17]
	v_add_f64 v[16:17], v[6:7], -1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[2:3], v[2:3], -v[14:15]
	v_add_f64 v[4:5], v[4:5], -v[16:17]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[2:3], v[2:3], v[4:5]
	v_add_f64 v[4:5], v[6:7], v[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_ldexp_f64 v[12:13], v[4:5], v30
	v_add_f64 v[4:5], v[4:5], -v[6:7]
	v_rcp_f64_e32 v[14:15], v[12:13]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[1:2], v[2:3], -v[4:5]
	v_ldexp_f64 v[1:2], v[1:2], v30
	s_waitcnt_depctr 0xfff
	v_fma_f64 v[16:17], -v[12:13], v[14:15], 1.0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[14:15], v[16:17], v[14:15], v[14:15]
	v_fma_f64 v[16:17], -v[12:13], v[14:15], 1.0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fma_f64 v[6:7], v[16:17], v[14:15], v[14:15]
	v_mul_f64 v[14:15], v[8:9], v[26:27]
	v_fma_f64 v[16:17], v[24:25], v[26:27], -v[28:29]
	v_mul_f64 v[3:4], v[12:13], v[6:7]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[42:43], v[8:9], v[26:27], -v[14:15]
	v_add_f64 v[24:25], v[14:15], v[16:17]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[30:31], v[6:7], v[12:13], -v[3:4]
	v_add_f64 v[32:33], v[24:25], -v[14:15]
	v_add_f64 v[38:39], v[28:29], v[24:25]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[30:31], v[6:7], v[1:2], v[30:31]
	v_add_f64 v[34:35], v[24:25], -v[32:33]
	v_add_f64 v[8:9], v[16:17], -v[32:33]
	s_delay_alu instid0(VALU_DEP_4)
	v_ldexp_f64 v[32:33], v[38:39], -2
	v_add_f64 v[28:29], v[38:39], -v[28:29]
	v_add_f64 v[36:37], v[3:4], v[30:31]
	v_add_f64 v[14:15], v[14:15], -v[34:35]
	v_add_f64 v[34:35], v[40:41], v[42:43]
	v_fract_f64_e32 v[38:39], v[32:33]
	v_cmp_neq_f64_e64 s0, 0x7ff00000, |v[32:33]|
	v_add_f64 v[24:25], v[24:25], -v[28:29]
	v_add_f64 v[16:17], -v[36:37], 1.0
	v_add_f64 v[3:4], v[36:37], -v[3:4]
	v_add_f64 v[14:15], v[8:9], v[14:15]
	v_add_f64 v[46:47], v[34:35], -v[40:41]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[8:9], -v[16:17], 1.0
	v_add_f64 v[3:4], v[3:4], -v[30:31]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_4) | instid1(VALU_DEP_3)
	v_add_f64 v[28:29], v[34:35], v[14:15]
	v_cndmask_b32_e64 v31, 0, v39, s0
	v_cndmask_b32_e64 v30, 0, v38, s0
	v_add_f64 v[54:55], v[34:35], -v[46:47]
	v_add_f64 v[42:43], v[42:43], -v[46:47]
	v_ldexp_f64 v[30:31], v[30:31], 2
	v_add_f64 v[8:9], v[8:9], -v[36:37]
	v_add_f64 v[32:33], v[24:25], v[28:29]
	v_add_f64 v[48:49], v[28:29], -v[34:35]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_add_f64 v[3:4], v[3:4], v[8:9]
	v_mov_b32_e32 v8, 0
	v_add_f64 v[36:37], v[32:33], v[30:31]
	s_delay_alu instid0(VALU_DEP_4)
	v_add_f64 v[56:57], v[28:29], -v[48:49]
	v_add_f64 v[14:15], v[14:15], -v[48:49]
	v_add_f64 v[24:25], v[32:33], -v[24:25]
	v_add_f64 v[38:39], v[16:17], v[3:4]
	v_cmp_gt_f64_e64 s0, 0, v[36:37]
	v_add_f64 v[34:35], v[34:35], -v[56:57]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[24:25], v[28:29], -v[24:25]
	v_mul_f64 v[36:37], v[6:7], v[38:39]
	v_add_f64 v[16:17], v[16:17], -v[38:39]
	v_cndmask_b32_e64 v9, 0, 0x40100000, s0
	v_add_f64 v[14:15], v[14:15], v[34:35]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_add_f64 v[30:31], v[30:31], v[8:9]
	v_mul_f64 v[44:45], v[12:13], v[36:37]
	v_add_f64 v[3:4], v[3:4], v[16:17]
	v_add_f64 v[50:51], v[32:33], v[30:31]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[52:53], v[36:37], v[12:13], -v[44:45]
	v_cvt_i32_f64_e32 v5, v[50:51]
	v_add_f64 v[50:51], v[40:41], -v[54:55]
	v_mul_f64 v[40:41], v[22:23], 0.5
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_fma_f64 v[46:47], v[36:37], v[1:2], v[52:53]
	v_cvt_f64_i32_e32 v[48:49], v5
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[42:43], v[42:43], v[50:51]
	v_add_f64 v[52:53], v[44:45], v[46:47]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[30:31], v[30:31], -v[48:49]
	v_add_f64 v[14:15], v[42:43], v[14:15]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_add_f64 v[34:35], v[38:39], -v[52:53]
	v_add_f64 v[16:17], v[52:53], -v[44:45]
	v_add_f64 v[26:27], v[32:33], v[30:31]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[14:15], v[18:19], v[14:15]
	v_add_f64 v[38:39], v[38:39], -v[34:35]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[16:17], v[16:17], -v[46:47]
	v_add_f64 v[18:19], v[26:27], -v[30:31]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_add_f64 v[14:15], v[24:25], v[14:15]
	v_cmp_le_f64_e64 s0, 0.5, v[26:27]
	v_add_f64 v[28:29], v[38:39], -v[52:53]
	v_add_f64 v[18:19], v[32:33], -v[18:19]
	s_delay_alu instid0(VALU_DEP_3)
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, s0
	v_add_co_ci_u32_e64 v48, s1, 0, v5, s0
	v_cmp_class_f64_e64 s0, v[187:188], 0x1f8
	v_add_f64 v[3:4], v[3:4], v[28:29]
	v_add_f64 v[14:15], v[14:15], v[18:19]
	v_add_f64 v[18:19], v[6:7], v[36:37]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[3:4], v[16:17], v[3:4]
	v_add_f64 v[28:29], v[18:19], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[3:4], v[34:35], v[3:4]
	v_mul_f64 v[34:35], |v[187:188]|, s[34:35]
	v_add_f64 v[28:29], v[36:37], -v[28:29]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_3) | instid1(VALU_DEP_3)
	v_mul_f64 v[3:4], v[6:7], v[3:4]
	v_and_b32_e32 v7, 1, v0
	v_add_f64 v[24:25], v[26:27], -v[8:9]
	v_mul_f64 v[26:27], v[20:21], v[20:21]
	v_cmp_eq_u32_e64 s1, 0, v7
	v_add_f64 v[3:4], v[28:29], v[3:4]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[16:17], v[24:25], v[14:15]
	v_fma_f64 v[32:33], v[26:27], s[30:31], s[28:29]
	v_mul_f64 v[36:37], v[26:27], 0.5
	v_fma_f64 v[38:39], v[26:27], s[46:47], s[44:45]
	v_mul_f64 v[42:43], v[20:21], -v[26:27]
	v_mul_f64 v[30:31], v[16:17], s[26:27]
	v_add_f64 v[5:6], v[16:17], -v[24:25]
	v_fma_f64 v[32:33], v[26:27], v[32:33], s[52:53]
	v_fma_f64 v[28:29], v[26:27], v[38:39], s[58:59]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_fma_f64 v[24:25], v[16:17], s[26:27], -v[30:31]
	v_add_f64 v[5:6], v[14:15], -v[5:6]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_fma_f64 v[32:33], v[26:27], v[32:33], s[60:61]
	v_fma_f64 v[28:29], v[26:27], v[28:29], s[64:65]
	s_delay_alu instid0(VALU_DEP_4)
	v_fma_f64 v[14:15], v[16:17], s[56:57], v[24:25]
	v_rndne_f64_e32 v[16:17], v[34:35]
	v_add_f64 v[24:25], -v[36:37], 1.0
	v_add_f64 v[34:35], v[18:19], v[3:4]
	v_fma_f64 v[32:33], v[26:27], v[32:33], s[14:15]
	v_fma_f64 v[28:29], v[26:27], v[28:29], s[66:67]
	v_fma_f64 v[5:6], v[5:6], s[26:27], v[14:15]
	s_mov_b32 s27, 0xbff921fb
	v_mul_f64 v[14:15], v[16:17], s[62:63]
	v_fma_f64 v[38:39], v[16:17], s[26:27], |v[187:188]|
	v_add_f64 v[44:45], -v[24:25], 1.0
	v_ldexp_f64 v[46:47], v[34:35], -2
	v_add_f64 v[18:19], v[34:35], -v[18:19]
	v_fma_f64 v[32:33], v[42:43], v[32:33], v[40:41]
	v_fma_f64 v[28:29], v[26:27], v[28:29], s[24:25]
	v_add_f64 v[34:35], v[38:39], v[14:15]
	v_add_f64 v[36:37], v[44:45], -v[36:37]
	v_add_f64 v[40:41], v[12:13], v[46:47]
	v_add_f64 v[3:4], v[3:4], -v[18:19]
	v_fma_f64 v[18:19], v[16:17], s[62:63], v[38:39]
	v_mul_f64 v[44:45], v[26:27], v[26:27]
	v_add_f64 v[38:39], v[38:39], -v[34:35]
	v_fma_f64 v[36:37], v[20:21], -v[22:23], v[36:37]
	v_fma_f64 v[22:23], v[26:27], v[32:33], -v[22:23]
	v_add_f64 v[26:27], v[40:41], -v[12:13]
	v_add_f64 v[32:33], v[34:35], -v[18:19]
	v_ldexp_f64 v[3:4], v[3:4], -2
	v_add_f64 v[34:35], v[38:39], v[14:15]
	v_fma_f64 v[14:15], v[16:17], s[54:55], v[14:15]
	v_fma_f64 v[22:23], v[42:43], s[68:69], v[22:23]
	v_fma_f64 v[28:29], v[44:45], v[28:29], v[36:37]
	v_add_f64 v[26:27], v[46:47], -v[26:27]
	v_add_f64 v[36:37], v[1:2], v[3:4]
	v_add_f64 v[32:33], v[32:33], v[34:35]
	v_add_f64 v[20:21], v[20:21], -v[22:23]
	v_add_f64 v[24:25], v[24:25], v[28:29]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[22:23], v[36:37], v[26:27]
	v_add_f64 v[14:15], v[32:33], -v[14:15]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_xor_b32_e32 v9, 0x80000000, v21
	v_cndmask_b32_e64 v7, v20, v24, s1
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[22:23], v[40:41], v[22:23]
	v_cndmask_b32_e64 v9, v9, v25, s1
	v_add_f64 v[24:25], v[30:31], v[5:6]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_3) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v20, 0, v7, s0
	v_fma_f64 v[14:15], v[16:17], s[70:71], v[14:15]
	v_cndmask_b32_e64 v23, v23, 0x7ff00000, s3
	v_cndmask_b32_e64 v22, v22, 0, s3
	v_add_f64 v[26:27], v[18:19], v[14:15]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_cndmask_b32 v29, v25, v27 :: v_dual_lshlrev_b32 v0, 30, v0
	v_cndmask_b32_e32 v28, v24, v26, vcc_lo
	v_add_f64 v[24:25], v[24:25], -v[30:31]
	v_add_f64 v[18:19], v[26:27], -v[18:19]
	v_add_f64 v[30:31], v[12:13], -v[46:47]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_mul_f64 v[32:33], v[28:29], v[28:29]
	v_add_f64 v[5:6], v[5:6], -v[24:25]
	s_delay_alu instid0(VALU_DEP_4)
	v_add_f64 v[14:15], v[14:15], -v[18:19]
	v_and_b32_e32 v0, 0x80000000, v0
	v_add_f64 v[12:13], v[12:13], -v[30:31]
	v_fma_f64 v[34:35], v[32:33], s[30:31], s[28:29]
	v_mul_f64 v[38:39], v[32:33], 0.5
	v_cndmask_b32_e32 v5, v5, v14, vcc_lo
	v_xor_b32_e32 v0, v9, v0
	v_add_f64 v[12:13], v[12:13], -v[46:47]
	v_fma_f64 v[26:27], v[32:33], v[34:35], s[52:53]
	v_fma_f64 v[34:35], v[32:33], s[46:47], s[44:45]
	v_cvt_i32_f64_e32 v9, v[16:17]
	v_cndmask_b32_e64 v21, 0x7ff80000, v0, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_3) | instid1(VALU_DEP_4)
	v_add_f64 v[20:21], v[22:23], -v[20:21]
	v_fma_f64 v[18:19], v[32:33], v[26:27], s[60:61]
	v_fma_f64 v[24:25], v[32:33], v[34:35], s[58:59]
	v_add_f64 v[26:27], -v[38:39], 1.0
	v_cmp_gt_f64_e64 s1, 0x10000000, v[20:21]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_fma_f64 v[18:19], v[32:33], v[18:19], s[14:15]
	v_fma_f64 v[24:25], v[32:33], v[24:25], s[64:65]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[44:45], -v[26:27], 1.0
	v_cndmask_b32_e64 v0, 0, 1, s1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b32_e32 v0, 8, v0
	v_ldexp_f64 v[20:21], v[20:21], v0
	v_cndmask_b32_e32 v6, v6, v15, vcc_lo
	v_mul_f64 v[14:15], v[28:29], -v[32:33]
	v_add_f64 v[0:1], v[1:2], v[12:13]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_3) | instid1(VALU_DEP_4)
	v_mul_f64 v[42:43], v[5:6], 0.5
	v_fma_f64 v[12:13], v[32:33], v[24:25], s[66:67]
	v_add_f64 v[24:25], v[44:45], -v[38:39]
	v_rsq_f64_e32 v[36:37], v[20:21]
	v_add_f64 v[0:1], v[0:1], -v[3:4]
	v_mul_f64 v[2:3], v[32:33], v[32:33]
	v_fma_f64 v[18:19], v[14:15], v[18:19], v[42:43]
	v_fma_f64 v[12:13], v[32:33], v[12:13], s[24:25]
	s_waitcnt_depctr 0xfff
	v_mul_f64 v[40:41], v[20:21], v[36:37]
	v_mul_f64 v[36:37], v[36:37], 0.5
	v_add_f64 v[0:1], v[30:31], v[0:1]
	v_fma_f64 v[18:19], v[32:33], v[18:19], -v[5:6]
	v_fma_f64 v[4:5], v[28:29], -v[5:6], v[24:25]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_fma_f64 v[34:35], -v[36:37], v[40:41], 0.5
	v_cndmask_b32_e64 v1, v1, 0x7ff00000, s3
	v_cndmask_b32_e64 v0, v0, 0, s3
	v_fma_f64 v[14:15], v[14:15], s[68:69], v[18:19]
	v_fma_f64 v[2:3], v[2:3], v[12:13], v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_cndmask_b32_e64 v0, v0, v10, s2
	v_fma_f64 v[40:41], v[40:41], v[34:35], v[40:41]
	v_fma_f64 v[34:35], v[36:37], v[34:35], v[36:37]
	v_add_f64 v[2:3], v[26:27], v[2:3]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[36:37], -v[40:41], v[40:41], v[20:21]
	v_fma_f64 v[6:7], v[36:37], v[34:35], v[40:41]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], -v[6:7], v[6:7], v[20:21]
	v_fma_f64 v[4:5], v[4:5], v[34:35], v[6:7]
	v_and_b32_e32 v7, 0x7fffffff, v11
	v_add_f64 v[12:13], v[28:29], -v[14:15]
	v_cndmask_b32_e32 v6, v48, v9, vcc_lo
	v_cmp_class_f64_e64 vcc_lo, v[20:21], 0x260
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v1, v1, v7, s2
	v_cndmask_b32_e64 v7, 0, 0xffffff80, s1
	v_bfi_b32 v1, 0x7fffffff, v1, v11
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_mul_f64 v[18:19], v[0:1], s[22:23]
	v_ldexp_f64 v[4:5], v[4:5], v7
	v_lshlrev_b32_e32 v9, 30, v6
	v_and_b32_e32 v6, 1, v6
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_cmp_eq_u32_e64 s3, 0, v6
	v_xor_b32_e32 v6, 0x80000000, v13
	v_cndmask_b32_e64 v10, v2, v12, s3
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_4) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v6, v6, v3, s3
	v_cndmask_b32_e64 v2, v12, v2, s3
	v_cndmask_b32_e32 v12, v5, v21, vcc_lo
	v_dual_cndmask_b32 v11, v4, v20 :: v_dual_and_b32 v14, 0x80000000, v9
	v_div_scale_f64 v[20:21], null, s[22:23], s[22:23], v[0:1]
	v_xor_b32_e32 v7, v6, v14
	v_mul_f64 v[14:15], v[0:1], 0.5
	v_cndmask_b32_e64 v6, 0, v2, s0
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v7, 0x7ff80000, v7, s0
	v_fma_f64 v[16:17], -v[22:23], v[6:7], 1.0
	v_add_f64 v[6:7], v[22:23], -v[6:7]
	v_rcp_f64_e32 v[28:29], v[20:21]
	v_div_scale_f64 v[4:5], null, v[11:12], v[11:12], v[14:15]
	v_div_scale_f64 v[42:43], vcc_lo, v[14:15], v[11:12], v[14:15]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_div_scale_f64 v[22:23], null, v[0:1], v[0:1], v[16:17]
	v_div_scale_f64 v[24:25], null, v[18:19], v[18:19], v[6:7]
	s_waitcnt_depctr 0xfff
	v_fma_f64 v[36:37], -v[20:21], v[28:29], 1.0
	v_rcp_f64_e32 v[26:27], v[4:5]
	v_rcp_f64_e32 v[30:31], v[22:23]
	v_rcp_f64_e32 v[32:33], v[24:25]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(TRANS32_DEP_3)
	v_fma_f64 v[28:29], v[28:29], v[36:37], v[28:29]
	v_fma_f64 v[34:35], -v[4:5], v[26:27], 1.0
	s_waitcnt_depctr 0xfff
	v_fma_f64 v[38:39], -v[22:23], v[30:31], 1.0
	v_fma_f64 v[40:41], -v[24:25], v[32:33], 1.0
	v_fma_f64 v[36:37], -v[20:21], v[28:29], 1.0
	v_fma_f64 v[26:27], v[26:27], v[34:35], v[26:27]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_fma_f64 v[30:31], v[30:31], v[38:39], v[30:31]
	v_fma_f64 v[32:33], v[32:33], v[40:41], v[32:33]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_4) | instid1(VALU_DEP_3)
	v_fma_f64 v[28:29], v[28:29], v[36:37], v[28:29]
	v_div_scale_f64 v[36:37], s2, v[16:17], v[0:1], v[16:17]
	v_fma_f64 v[34:35], -v[4:5], v[26:27], 1.0
	v_fma_f64 v[38:39], -v[22:23], v[30:31], 1.0
	v_fma_f64 v[40:41], -v[24:25], v[32:33], 1.0
	v_fma_f64 v[26:27], v[26:27], v[34:35], v[26:27]
	v_div_scale_f64 v[34:35], s1, v[0:1], s[22:23], v[0:1]
	s_delay_alu instid0(VALU_DEP_4)
	v_fma_f64 v[30:31], v[30:31], v[38:39], v[30:31]
	v_div_scale_f64 v[38:39], s4, v[6:7], v[18:19], v[6:7]
	v_fma_f64 v[32:33], v[32:33], v[40:41], v[32:33]
	v_mul_f64 v[40:41], v[42:43], v[26:27]
	v_mul_f64 v[44:45], v[34:35], v[28:29]
	v_mul_f64 v[46:47], v[36:37], v[30:31]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_mul_f64 v[48:49], v[38:39], v[32:33]
	v_fma_f64 v[4:5], -v[4:5], v[40:41], v[42:43]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_fma_f64 v[20:21], -v[20:21], v[44:45], v[34:35]
	v_fma_f64 v[22:23], -v[22:23], v[46:47], v[36:37]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_fma_f64 v[24:25], -v[24:25], v[48:49], v[38:39]
	v_div_fmas_f64 v[4:5], v[4:5], v[26:27], v[40:41]
	s_mov_b32 vcc_lo, s1
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_div_fmas_f64 v[20:21], v[20:21], v[28:29], v[44:45]
	s_mov_b32 vcc_lo, s2
	s_add_u32 s2, s8, 4
	v_div_fmas_f64 v[22:23], v[22:23], v[30:31], v[46:47]
	s_mov_b32 vcc_lo, s4
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_div_fmas_f64 v[24:25], v[24:25], v[32:33], v[48:49]
	v_div_fixup_f64 v[4:5], v[4:5], v[11:12], v[14:15]
	scratch_store_b64 off, v[11:12], off offset:64 ; 8-byte Folded Spill
	v_dual_mov_b32 v14, s72 :: v_dual_mov_b32 v15, s73
	scratch_store_b64 off, v[4:5], off offset:72 ; 8-byte Folded Spill
	v_div_fixup_f64 v[4:5], v[20:21], s[22:23], v[0:1]
	v_div_fixup_f64 v[0:1], v[22:23], v[0:1], v[16:17]
	s_clause 0x1
	scratch_store_b64 off, v[4:5], off offset:80
	scratch_store_b64 off, v[0:1], off offset:88
	v_div_fixup_f64 v[0:1], v[24:25], v[18:19], v[6:7]
	scratch_store_b64 off, v[0:1], off offset:96 ; 8-byte Folded Spill
	v_xor_b32_e32 v0, v9, v188
	v_cndmask_b32_e64 v1, v3, v13, s3
	v_mov_b32_e32 v12, 0
	v_mov_b32_e32 v13, 0
	s_addc_u32 s3, s9, 0
	v_and_b32_e32 v0, 0x80000000, v0
	s_add_u32 s8, s10, 4
	s_addc_u32 s9, s11, 0
	v_dual_mov_b32 v17, v13 :: v_dual_mov_b32 v16, v12
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_xor_b32_e32 v0, v1, v0
	v_cndmask_b32_e64 v1, 0, v10, s0
	v_cndmask_b32_e64 v2, 0x7ff80000, v0, s0
	scratch_store_b64 off, v[1:2], off offset:104 ; 8-byte Folded Spill
	scratch_load_b64 v[0:1], off, off offset:112 ; 8-byte Folded Reload
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v28, 26, v0
.LBB0_7:                                ; =>This Inner Loop Header: Depth=1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v29, 31, v28
                                        ; implicit-def: $vgpr39
                                        ; implicit-def: $vgpr37_vgpr38
	v_lshlrev_b64 v[0:1], 3, v[28:29]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v2, vcc_lo, s48, v0
	v_add_co_ci_u32_e32 v3, vcc_lo, s49, v1, vcc_lo
	v_add_co_u32 v0, vcc_lo, s50, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, s51, v1, vcc_lo
	global_load_b64 v[29:30], v[2:3], off
	global_load_b64 v[0:1], v[0:1], off
	s_load_b32 s0, s[8:9], 0x0
	s_load_b32 s1, s[2:3], 0x0
	s_waitcnt lgkmcnt(0)
	v_cvt_f64_i32_e32 v[2:3], s0
	s_mul_i32 s4, s1, s7
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_add_i32 s10, s4, s0
	s_ashr_i32 s11, s10, 31
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_lshl_b64 s[10:11], s[10:11], 2
	s_add_u32 s10, s12, s10
	s_addc_u32 s11, s13, s11
	s_load_b32 s10, s[10:11], 0x0
	s_waitcnt lgkmcnt(0)
	s_ashr_i32 s11, s10, 31
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_lshl_b64 s[74:75], s[10:11], 3
	s_add_u32 s10, s36, s74
	s_addc_u32 s11, s37, s75
	scratch_store_b64 off, v[2:3], off offset:32 ; 8-byte Folded Spill
	s_waitcnt vmcnt(0)
	scratch_store_b64 off, v[0:1], off offset:12 ; 8-byte Folded Spill
	scratch_load_b64 v[0:1], off, off offset:56 ; 8-byte Folded Reload
	s_waitcnt vmcnt(0)
	v_mul_f64 v[47:48], v[0:1], v[2:3]
                                        ; implicit-def: $vgpr0_vgpr1
                                        ; kill: killed $vgpr0_vgpr1
	s_delay_alu instid0(VALU_DEP_1)
	v_cmp_ngt_f64_e64 s33, 0x41d00000, |v[47:48]|
	v_trig_preop_f64 v[113:114], |v[47:48]|, 0
	v_trig_preop_f64 v[111:112], |v[47:48]|, 1
	v_ldexp_f64 v[115:116], |v[47:48]|, 0xffffff80
	v_trig_preop_f64 v[109:110], |v[47:48]|, 2
	v_and_b32_e32 v24, 0x7fffffff, v48
	s_and_saveexec_b32 s0, s33
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s22, exec_lo, s0
	s_cbranch_execz .LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[47:48]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_cndmask_b32 v1, v24, v116 :: v_dual_cndmask_b32 v0, v47, v115
	v_mul_f64 v[2:3], v[113:114], v[0:1]
	v_mul_f64 v[4:5], v[111:112], v[0:1]
	v_mul_f64 v[31:32], v[109:110], v[0:1]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[6:7], v[113:114], v[0:1], -v[2:3]
	v_fma_f64 v[35:36], v[111:112], v[0:1], -v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[0:1], v[109:110], v[0:1], -v[31:32]
	v_add_f64 v[18:19], v[4:5], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[18:19], -v[4:5]
	v_add_f64 v[25:26], v[2:3], v[18:19]
	v_add_f64 v[22:23], v[18:19], -v[20:21]
	v_add_f64 v[6:7], v[6:7], -v[20:21]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_ldexp_f64 v[20:21], v[25:26], -2
	v_add_f64 v[2:3], v[25:26], -v[2:3]
	v_add_f64 v[4:5], v[4:5], -v[22:23]
	v_add_f64 v[22:23], v[31:32], v[35:36]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[20:21]|
	v_add_f64 v[2:3], v[18:19], -v[2:3]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[6:7], v[4:5]
	v_fract_f64_e32 v[6:7], v[20:21]
	v_add_f64 v[18:19], v[22:23], v[4:5]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_cndmask_b32 v7, 0, v7 :: v_dual_cndmask_b32 v6, 0, v6
	v_ldexp_f64 v[6:7], v[6:7], 2
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[2:3], v[18:19]
	v_add_f64 v[37:38], v[18:19], -v[22:23]
	v_add_f64 v[25:26], v[20:21], v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_add_f64 v[43:44], v[18:19], -v[37:38]
	v_add_f64 v[4:5], v[4:5], -v[37:38]
	v_add_f64 v[2:3], v[20:21], -v[2:3]
	v_cmp_gt_f64_e32 vcc_lo, 0, v[25:26]
	v_add_f64 v[25:26], v[22:23], -v[31:32]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[2:3], v[18:19], -v[2:3]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	v_add_f64 v[41:42], v[22:23], -v[25:26]
	v_add_f64 v[25:26], v[35:36], -v[25:26]
	v_add_f64 v[22:23], v[22:23], -v[43:44]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[6:7], v[6:7], v[8:9]
	v_add_f64 v[35:36], v[31:32], -v[41:42]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[4:5], v[4:5], v[22:23]
	v_add_f64 v[39:40], v[20:21], v[6:7]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[25:26], v[25:26], v[35:36]
	v_cvt_i32_f64_e32 v9, v[39:40]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[25:26], v[4:5]
	v_cvt_f64_i32_e32 v[37:38], v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[0:1], v[0:1], v[4:5]
	v_add_f64 v[6:7], v[6:7], -v[37:38]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[2:3], v[2:3], v[0:1]
	v_add_f64 v[22:23], v[20:21], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[22:23], -v[6:7]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[22:23]
	v_add_f64 v[4:5], v[20:21], -v[4:5]
	v_add_co_ci_u32_e64 v39, s0, 0, v9, vcc_lo
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[2:3], v[2:3], v[4:5]
	v_add_f64 v[4:5], v[22:23], -v[8:9]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[4:5], v[2:3]
	v_mul_f64 v[18:19], v[6:7], s[4:5]
	v_add_f64 v[4:5], v[6:7], -v[4:5]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[20:21], v[6:7], s[4:5], -v[18:19]
	v_add_f64 v[2:3], v[2:3], -v[4:5]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[6:7], s[56:57], v[20:21]
	v_fma_f64 v[2:3], v[2:3], s[4:5], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[37:38], v[18:19], v[2:3]
	v_add_f64 v[4:5], v[37:38], -v[18:19]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[0:1], v[2:3], -v[4:5]
	scratch_store_b64 off, v[0:1], off offset:20 ; 8-byte Folded Spill
.LBB0_9:                                ; %Flow558
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_saveexec_b32 s0, s22
	s_load_b64 s[10:11], s[10:11], 0x0
	s_xor_b32 exec_lo, exec_lo, s0
	s_cbranch_execz .LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[0:1], |v[47:48]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[0:1], v[0:1]
	v_fma_f64 v[2:3], v[0:1], s[26:27], |v[47:48]|
	v_mul_f64 v[4:5], v[0:1], s[62:63]
	v_cvt_i32_f64_e32 v39, v[0:1]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[18:19], v[0:1], s[62:63], v[2:3]
	v_add_f64 v[6:7], v[2:3], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[2:3], v[2:3], -v[6:7]
	v_add_f64 v[6:7], v[6:7], -v[18:19]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[2:3], v[2:3], v[4:5]
	v_fma_f64 v[4:5], v[0:1], s[54:55], v[4:5]
	v_add_f64 v[2:3], v[6:7], v[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[2:3], v[2:3], -v[4:5]
	v_fma_f64 v[2:3], v[0:1], s[70:71], v[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[37:38], v[18:19], v[2:3]
	v_add_f64 v[4:5], v[37:38], -v[18:19]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[2:3], v[2:3], -v[4:5]
	scratch_store_b64 off, v[2:3], off offset:20 ; 8-byte Folded Spill
.LBB0_11:                               ; %_ZL3cosd.exit254
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
	v_cvt_f64_i32_e32 v[0:1], s1
                                        ; implicit-def: $vgpr40
                                        ; implicit-def: $vgpr41_vgpr42
                                        ; implicit-def: $vgpr43_vgpr44
	s_delay_alu instid0(VALU_DEP_1)
	v_mul_f64 v[35:36], v[187:188], v[0:1]
	scratch_store_b64 off, v[0:1], off offset:4 ; 8-byte Folded Spill
	v_cmp_ngt_f64_e64 s1, 0x41d00000, |v[35:36]|
	v_trig_preop_f64 v[105:106], |v[35:36]|, 0
	v_trig_preop_f64 v[103:104], |v[35:36]|, 1
	v_ldexp_f64 v[107:108], |v[35:36]|, 0xffffff80
	v_trig_preop_f64 v[97:98], |v[35:36]|, 2
	v_and_b32_e32 v19, 0x7fffffff, v36
	s_and_saveexec_b32 s0, s1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s22, exec_lo, s0
	s_cbranch_execz .LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[35:36]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v3, v19, v108, vcc_lo
	v_cndmask_b32_e32 v2, v35, v107, vcc_lo
	v_mul_f64 v[4:5], v[105:106], v[2:3]
	v_mul_f64 v[6:7], v[103:104], v[2:3]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[20:21], v[105:106], v[2:3], -v[4:5]
	v_fma_f64 v[45:46], v[103:104], v[2:3], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[22:23], v[6:7], v[20:21]
	v_add_f64 v[25:26], v[22:23], -v[6:7]
	v_add_f64 v[41:42], v[4:5], v[22:23]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[31:32], v[22:23], -v[25:26]
	v_add_f64 v[20:21], v[20:21], -v[25:26]
	v_ldexp_f64 v[25:26], v[41:42], -2
	v_add_f64 v[4:5], v[41:42], -v[4:5]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[6:7], -v[31:32]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[25:26]|
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[4:5], v[22:23], -v[4:5]
	v_add_f64 v[6:7], v[20:21], v[6:7]
	v_fract_f64_e32 v[20:21], v[25:26]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cndmask_b32_e32 v21, 0, v21, vcc_lo
	v_mul_f64 v[43:44], v[97:98], v[2:3]
	v_cndmask_b32_e32 v20, 0, v20, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_ldexp_f64 v[20:21], v[20:21], 2
	v_add_f64 v[31:32], v[43:44], v[45:46]
	v_fma_f64 v[2:3], v[97:98], v[2:3], -v[43:44]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[22:23], v[31:32], v[6:7]
	v_add_f64 v[25:26], v[4:5], v[22:23]
	v_add_f64 v[49:50], v[22:23], -v[31:32]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[41:42], v[25:26], v[20:21]
	v_add_f64 v[55:56], v[22:23], -v[49:50]
	v_add_f64 v[6:7], v[6:7], -v[49:50]
	v_add_f64 v[4:5], v[25:26], -v[4:5]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cmp_gt_f64_e32 vcc_lo, 0, v[41:42]
	v_add_f64 v[41:42], v[31:32], -v[43:44]
	v_add_f64 v[4:5], v[22:23], -v[4:5]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_add_f64 v[53:54], v[31:32], -v[41:42]
	v_add_f64 v[41:42], v[45:46], -v[41:42]
	v_add_f64 v[31:32], v[31:32], -v[55:56]
	v_add_f64 v[20:21], v[20:21], v[8:9]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[45:46], v[43:44], -v[53:54]
	v_add_f64 v[6:7], v[6:7], v[31:32]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[51:52], v[25:26], v[20:21]
	v_add_f64 v[41:42], v[41:42], v[45:46]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_i32_f64_e32 v0, v[51:52]
	v_add_f64 v[6:7], v[41:42], v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_f64_i32_e32 v[49:50], v0
	v_add_f64 v[2:3], v[2:3], v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[20:21], -v[49:50]
	v_add_f64 v[2:3], v[4:5], v[2:3]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[31:32], v[25:26], v[20:21]
	v_add_f64 v[6:7], v[31:32], -v[20:21]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[31:32]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_add_f64 v[4:5], v[25:26], -v[6:7]
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_co_ci_u32_e64 v40, s0, 0, v0, vcc_lo
	v_add_f64 v[2:3], v[2:3], v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[4:5], v[31:32], -v[8:9]
	v_add_f64 v[6:7], v[4:5], v[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[20:21], v[6:7], s[4:5]
	v_add_f64 v[4:5], v[6:7], -v[4:5]
	v_fma_f64 v[22:23], v[6:7], s[4:5], -v[20:21]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[2:3], v[2:3], -v[4:5]
	v_fma_f64 v[4:5], v[6:7], s[56:57], v[22:23]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[2:3], v[2:3], s[4:5], v[4:5]
	v_add_f64 v[41:42], v[20:21], v[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[4:5], v[41:42], -v[20:21]
	v_add_f64 v[43:44], v[2:3], -v[4:5]
.LBB0_13:                               ; %Flow557
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s22
	s_cbranch_execz .LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[2:3], |v[35:36]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[2:3], v[2:3]
	v_fma_f64 v[4:5], v[2:3], s[26:27], |v[35:36]|
	v_mul_f64 v[6:7], v[2:3], s[62:63]
	v_cvt_i32_f64_e32 v40, v[2:3]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[22:23], v[2:3], s[62:63], v[4:5]
	v_add_f64 v[20:21], v[4:5], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[4:5], v[4:5], -v[20:21]
	v_add_f64 v[20:21], v[20:21], -v[22:23]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[4:5], v[6:7]
	v_fma_f64 v[6:7], v[2:3], s[54:55], v[6:7]
	v_add_f64 v[4:5], v[20:21], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[4:5], v[4:5], -v[6:7]
	v_fma_f64 v[4:5], v[2:3], s[70:71], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[41:42], v[22:23], v[4:5]
	v_add_f64 v[6:7], v[41:42], -v[22:23]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[43:44], v[4:5], -v[6:7]
.LBB0_15:                               ; %_ZL3cosd.exit259
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
	s_add_u32 s22, s40, s74
	s_addc_u32 s23, s41, s75
                                        ; implicit-def: $vgpr0
                                        ; kill: killed $vgpr0
                                        ; implicit-def: $vgpr57_vgpr58
                                        ; implicit-def: $vgpr59_vgpr60
	s_load_b64 s[22:23], s[22:23], 0x0
	s_and_saveexec_b32 s0, s33
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[47:48]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_dual_cndmask_b32 v3, v24, v116 :: v_dual_cndmask_b32 v2, v47, v115
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_mul_f64 v[4:5], v[113:114], v[2:3]
	v_mul_f64 v[6:7], v[111:112], v[2:3]
	v_mul_f64 v[49:50], v[109:110], v[2:3]
	v_fma_f64 v[20:21], v[113:114], v[2:3], -v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[51:52], v[111:112], v[2:3], -v[6:7]
	v_fma_f64 v[2:3], v[109:110], v[2:3], -v[49:50]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[22:23], v[6:7], v[20:21]
	v_add_f64 v[25:26], v[22:23], -v[6:7]
	v_add_f64 v[45:46], v[4:5], v[22:23]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[31:32], v[22:23], -v[25:26]
	v_add_f64 v[20:21], v[20:21], -v[25:26]
	v_ldexp_f64 v[25:26], v[45:46], -2
	v_add_f64 v[4:5], v[45:46], -v[4:5]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_add_f64 v[6:7], v[6:7], -v[31:32]
	v_add_f64 v[31:32], v[49:50], v[51:52]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[25:26]|
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[4:5], v[22:23], -v[4:5]
	v_add_f64 v[6:7], v[20:21], v[6:7]
	v_fract_f64_e32 v[20:21], v[25:26]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[22:23], v[31:32], v[6:7]
	v_dual_cndmask_b32 v21, 0, v21 :: v_dual_cndmask_b32 v20, 0, v20
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_ldexp_f64 v[20:21], v[20:21], 2
	v_add_f64 v[25:26], v[4:5], v[22:23]
	v_add_f64 v[53:54], v[22:23], -v[31:32]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[45:46], v[25:26], v[20:21]
	v_add_f64 v[59:60], v[22:23], -v[53:54]
	v_add_f64 v[6:7], v[6:7], -v[53:54]
	v_add_f64 v[4:5], v[25:26], -v[4:5]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cmp_gt_f64_e32 vcc_lo, 0, v[45:46]
	v_add_f64 v[45:46], v[31:32], -v[49:50]
	v_add_f64 v[4:5], v[22:23], -v[4:5]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_add_f64 v[57:58], v[31:32], -v[45:46]
	v_add_f64 v[45:46], v[51:52], -v[45:46]
	v_add_f64 v[31:32], v[31:32], -v[59:60]
	v_add_f64 v[20:21], v[20:21], v[8:9]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[51:52], v[49:50], -v[57:58]
	v_add_f64 v[6:7], v[6:7], v[31:32]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[55:56], v[25:26], v[20:21]
	v_add_f64 v[45:46], v[45:46], v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_i32_f64_e32 v0, v[55:56]
	v_add_f64 v[6:7], v[45:46], v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_f64_i32_e32 v[53:54], v0
	v_add_f64 v[2:3], v[2:3], v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[20:21], -v[53:54]
	v_add_f64 v[2:3], v[4:5], v[2:3]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[31:32], v[25:26], v[20:21]
	v_add_f64 v[6:7], v[31:32], -v[20:21]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[31:32]
	s_delay_alu instid0(VALU_DEP_2)
	v_add_f64 v[4:5], v[25:26], -v[6:7]
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_co_ci_u32_e64 v0, s0, 0, v0, vcc_lo
	scratch_store_b32 off, v0, off offset:44 ; 4-byte Folded Spill
	v_add_f64 v[2:3], v[2:3], v[4:5]
	v_add_f64 v[4:5], v[31:32], -v[8:9]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[4:5], v[2:3]
	v_mul_f64 v[20:21], v[6:7], s[4:5]
	v_add_f64 v[4:5], v[6:7], -v[4:5]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[22:23], v[6:7], s[4:5], -v[20:21]
	v_add_f64 v[2:3], v[2:3], -v[4:5]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[6:7], s[56:57], v[22:23]
	v_fma_f64 v[2:3], v[2:3], s[4:5], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[57:58], v[20:21], v[2:3]
	v_add_f64 v[4:5], v[57:58], -v[20:21]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[59:60], v[2:3], -v[4:5]
.LBB0_17:                               ; %Flow556
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[2:3], |v[47:48]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[2:3], v[2:3]
	v_fma_f64 v[4:5], v[2:3], s[26:27], |v[47:48]|
	v_mul_f64 v[6:7], v[2:3], s[62:63]
	v_cvt_i32_f64_e32 v0, v[2:3]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[22:23], v[2:3], s[62:63], v[4:5]
	v_add_f64 v[20:21], v[4:5], v[6:7]
	scratch_store_b32 off, v0, off offset:44 ; 4-byte Folded Spill
	v_add_f64 v[4:5], v[4:5], -v[20:21]
	v_add_f64 v[20:21], v[20:21], -v[22:23]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[4:5], v[6:7]
	v_fma_f64 v[6:7], v[2:3], s[54:55], v[6:7]
	v_add_f64 v[4:5], v[20:21], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[4:5], v[4:5], -v[6:7]
	v_fma_f64 v[4:5], v[2:3], s[70:71], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[57:58], v[22:23], v[4:5]
	v_add_f64 v[6:7], v[57:58], -v[22:23]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[59:60], v[4:5], -v[6:7]
.LBB0_19:                               ; %_ZL3cosd.exit264
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr0
                                        ; kill: killed $vgpr0
                                        ; implicit-def: $vgpr45_vgpr46
                                        ; implicit-def: $vgpr49_vgpr50
	s_and_saveexec_b32 s0, s1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[35:36]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v3, v19, v108, vcc_lo
	v_cndmask_b32_e32 v2, v35, v107, vcc_lo
	v_mul_f64 v[4:5], v[105:106], v[2:3]
	v_mul_f64 v[6:7], v[103:104], v[2:3]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[20:21], v[105:106], v[2:3], -v[4:5]
	v_fma_f64 v[51:52], v[103:104], v[2:3], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[22:23], v[6:7], v[20:21]
	v_add_f64 v[25:26], v[22:23], -v[6:7]
	v_add_f64 v[45:46], v[4:5], v[22:23]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[31:32], v[22:23], -v[25:26]
	v_add_f64 v[20:21], v[20:21], -v[25:26]
	v_ldexp_f64 v[25:26], v[45:46], -2
	v_add_f64 v[4:5], v[45:46], -v[4:5]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[6:7], -v[31:32]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[25:26]|
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[4:5], v[22:23], -v[4:5]
	v_add_f64 v[6:7], v[20:21], v[6:7]
	v_fract_f64_e32 v[20:21], v[25:26]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cndmask_b32_e32 v21, 0, v21, vcc_lo
	v_mul_f64 v[49:50], v[97:98], v[2:3]
	v_cndmask_b32_e32 v20, 0, v20, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_ldexp_f64 v[20:21], v[20:21], 2
	v_add_f64 v[31:32], v[49:50], v[51:52]
	v_fma_f64 v[2:3], v[97:98], v[2:3], -v[49:50]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[22:23], v[31:32], v[6:7]
	v_add_f64 v[25:26], v[4:5], v[22:23]
	v_add_f64 v[53:54], v[22:23], -v[31:32]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[45:46], v[25:26], v[20:21]
	v_add_f64 v[63:64], v[22:23], -v[53:54]
	v_add_f64 v[6:7], v[6:7], -v[53:54]
	v_add_f64 v[4:5], v[25:26], -v[4:5]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cmp_gt_f64_e32 vcc_lo, 0, v[45:46]
	v_add_f64 v[45:46], v[31:32], -v[49:50]
	v_add_f64 v[4:5], v[22:23], -v[4:5]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_add_f64 v[61:62], v[31:32], -v[45:46]
	v_add_f64 v[45:46], v[51:52], -v[45:46]
	v_add_f64 v[31:32], v[31:32], -v[63:64]
	v_add_f64 v[20:21], v[20:21], v[8:9]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[51:52], v[49:50], -v[61:62]
	v_add_f64 v[6:7], v[6:7], v[31:32]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[55:56], v[25:26], v[20:21]
	v_add_f64 v[45:46], v[45:46], v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_i32_f64_e32 v0, v[55:56]
	v_add_f64 v[6:7], v[45:46], v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_f64_i32_e32 v[53:54], v0
	v_add_f64 v[2:3], v[2:3], v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[20:21], -v[53:54]
	v_add_f64 v[4:5], v[4:5], v[2:3]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[31:32], v[25:26], v[20:21]
	v_add_f64 v[6:7], v[31:32], -v[20:21]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[31:32]
	s_delay_alu instid0(VALU_DEP_2)
	v_add_f64 v[6:7], v[25:26], -v[6:7]
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_co_ci_u32_e64 v0, s0, 0, v0, vcc_lo
	scratch_store_b32 off, v0, off offset:28 ; 4-byte Folded Spill
	v_add_f64 v[4:5], v[4:5], v[6:7]
	v_add_f64 v[6:7], v[31:32], -v[8:9]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[6:7], v[4:5]
	v_mul_f64 v[22:23], v[20:21], s[4:5]
	v_add_f64 v[6:7], v[20:21], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[25:26], v[20:21], s[4:5], -v[22:23]
	v_add_f64 v[4:5], v[4:5], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[6:7], v[20:21], s[56:57], v[25:26]
	v_fma_f64 v[4:5], v[4:5], s[4:5], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[45:46], v[22:23], v[4:5]
	v_add_f64 v[6:7], v[45:46], -v[22:23]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[49:50], v[4:5], -v[6:7]
.LBB0_21:                               ; %Flow555
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[2:3], |v[35:36]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[2:3], v[2:3]
	v_fma_f64 v[4:5], v[2:3], s[26:27], |v[35:36]|
	v_mul_f64 v[6:7], v[2:3], s[62:63]
	v_cvt_i32_f64_e32 v0, v[2:3]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[22:23], v[2:3], s[62:63], v[4:5]
	v_add_f64 v[20:21], v[4:5], v[6:7]
	scratch_store_b32 off, v0, off offset:28 ; 4-byte Folded Spill
	v_add_f64 v[4:5], v[4:5], -v[20:21]
	v_add_f64 v[20:21], v[20:21], -v[22:23]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[4:5], v[6:7]
	v_fma_f64 v[6:7], v[2:3], s[54:55], v[6:7]
	v_add_f64 v[4:5], v[20:21], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[4:5], v[4:5], -v[6:7]
	v_fma_f64 v[4:5], v[2:3], s[70:71], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[45:46], v[22:23], v[4:5]
	v_add_f64 v[6:7], v[45:46], -v[22:23]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[49:50], v[4:5], -v[6:7]
.LBB0_23:                               ; %_ZL3sind.exit
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
	s_add_u32 s72, s38, s74
	s_addc_u32 s73, s39, s75
                                        ; implicit-def: $vgpr0
                                        ; kill: killed $vgpr0
                                        ; implicit-def: $vgpr65_vgpr66
                                        ; implicit-def: $vgpr67_vgpr68
	s_load_b64 s[72:73], s[72:73], 0x0
	s_and_saveexec_b32 s0, s33
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[47:48]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_dual_cndmask_b32 v5, v24, v116 :: v_dual_cndmask_b32 v4, v47, v115
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_mul_f64 v[6:7], v[113:114], v[4:5]
	v_mul_f64 v[20:21], v[111:112], v[4:5]
	v_mul_f64 v[55:56], v[109:110], v[4:5]
	v_fma_f64 v[22:23], v[113:114], v[4:5], -v[6:7]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[61:62], v[111:112], v[4:5], -v[20:21]
	v_fma_f64 v[4:5], v[109:110], v[4:5], -v[55:56]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[25:26], v[20:21], v[22:23]
	v_add_f64 v[31:32], v[25:26], -v[20:21]
	v_add_f64 v[53:54], v[6:7], v[25:26]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[51:52], v[25:26], -v[31:32]
	v_add_f64 v[22:23], v[22:23], -v[31:32]
	v_ldexp_f64 v[31:32], v[53:54], -2
	v_add_f64 v[6:7], v[53:54], -v[6:7]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_add_f64 v[20:21], v[20:21], -v[51:52]
	v_add_f64 v[51:52], v[55:56], v[61:62]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[31:32]|
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[6:7], v[25:26], -v[6:7]
	v_add_f64 v[20:21], v[22:23], v[20:21]
	v_fract_f64_e32 v[22:23], v[31:32]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[25:26], v[51:52], v[20:21]
	v_dual_cndmask_b32 v23, 0, v23 :: v_dual_cndmask_b32 v22, 0, v22
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_ldexp_f64 v[22:23], v[22:23], 2
	v_add_f64 v[31:32], v[6:7], v[25:26]
	v_add_f64 v[63:64], v[25:26], -v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[53:54], v[31:32], v[22:23]
	v_add_f64 v[69:70], v[25:26], -v[63:64]
	v_add_f64 v[20:21], v[20:21], -v[63:64]
	v_add_f64 v[6:7], v[31:32], -v[6:7]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cmp_gt_f64_e32 vcc_lo, 0, v[53:54]
	v_add_f64 v[53:54], v[51:52], -v[55:56]
	v_add_f64 v[6:7], v[25:26], -v[6:7]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_add_f64 v[67:68], v[51:52], -v[53:54]
	v_add_f64 v[53:54], v[61:62], -v[53:54]
	v_add_f64 v[51:52], v[51:52], -v[69:70]
	v_add_f64 v[22:23], v[22:23], v[8:9]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[61:62], v[55:56], -v[67:68]
	v_add_f64 v[20:21], v[20:21], v[51:52]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[65:66], v[31:32], v[22:23]
	v_add_f64 v[53:54], v[53:54], v[61:62]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_i32_f64_e32 v0, v[65:66]
	v_add_f64 v[20:21], v[53:54], v[20:21]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_f64_i32_e32 v[63:64], v0
	v_add_f64 v[4:5], v[4:5], v[20:21]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[22:23], v[22:23], -v[63:64]
	v_add_f64 v[4:5], v[6:7], v[4:5]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[31:32], v[22:23]
	v_add_f64 v[20:21], v[51:52], -v[22:23]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[51:52]
	s_delay_alu instid0(VALU_DEP_2)
	v_add_f64 v[6:7], v[31:32], -v[20:21]
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_co_ci_u32_e64 v0, s0, 0, v0, vcc_lo
	scratch_store_b32 off, v0, off offset:52 ; 4-byte Folded Spill
	v_add_f64 v[4:5], v[4:5], v[6:7]
	v_add_f64 v[6:7], v[51:52], -v[8:9]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[6:7], v[4:5]
	v_mul_f64 v[22:23], v[20:21], s[4:5]
	v_add_f64 v[6:7], v[20:21], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[25:26], v[20:21], s[4:5], -v[22:23]
	v_add_f64 v[4:5], v[4:5], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[6:7], v[20:21], s[56:57], v[25:26]
	v_fma_f64 v[4:5], v[4:5], s[4:5], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[65:66], v[22:23], v[4:5]
	v_add_f64 v[6:7], v[65:66], -v[22:23]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[67:68], v[4:5], -v[6:7]
.LBB0_25:                               ; %Flow554
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[4:5], |v[47:48]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[4:5], v[4:5]
	v_fma_f64 v[6:7], v[4:5], s[26:27], |v[47:48]|
	v_mul_f64 v[20:21], v[4:5], s[62:63]
	v_cvt_i32_f64_e32 v0, v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[25:26], v[4:5], s[62:63], v[6:7]
	v_add_f64 v[22:23], v[6:7], v[20:21]
	scratch_store_b32 off, v0, off offset:52 ; 4-byte Folded Spill
	v_add_f64 v[6:7], v[6:7], -v[22:23]
	v_add_f64 v[22:23], v[22:23], -v[25:26]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[6:7], v[6:7], v[20:21]
	v_fma_f64 v[20:21], v[4:5], s[54:55], v[20:21]
	v_add_f64 v[6:7], v[22:23], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[6:7], -v[20:21]
	v_fma_f64 v[6:7], v[4:5], s[70:71], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[65:66], v[25:26], v[6:7]
	v_add_f64 v[20:21], v[65:66], -v[25:26]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[67:68], v[6:7], -v[20:21]
.LBB0_27:                               ; %_ZL3sind.exit273
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr0
                                        ; kill: killed $vgpr0
                                        ; implicit-def: $vgpr53_vgpr54
                                        ; implicit-def: $vgpr55_vgpr56
	s_and_saveexec_b32 s0, s1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[35:36]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_cndmask_b32_e32 v5, v19, v108, vcc_lo
	v_cndmask_b32_e32 v4, v35, v107, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[6:7], v[105:106], v[4:5]
	v_mul_f64 v[20:21], v[103:104], v[4:5]
	v_fma_f64 v[22:23], v[105:106], v[4:5], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[61:62], v[103:104], v[4:5], -v[20:21]
	v_add_f64 v[25:26], v[20:21], v[22:23]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[31:32], v[25:26], -v[20:21]
	v_add_f64 v[53:54], v[6:7], v[25:26]
	v_add_f64 v[51:52], v[25:26], -v[31:32]
	v_add_f64 v[22:23], v[22:23], -v[31:32]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_ldexp_f64 v[31:32], v[53:54], -2
	v_add_f64 v[6:7], v[53:54], -v[6:7]
	v_add_f64 v[20:21], v[20:21], -v[51:52]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[31:32]|
	v_add_f64 v[6:7], v[25:26], -v[6:7]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[22:23], v[20:21]
	v_fract_f64_e32 v[22:23], v[31:32]
	v_cndmask_b32_e32 v22, 0, v22, vcc_lo
	v_mul_f64 v[55:56], v[97:98], v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v23, 0, v23, vcc_lo
	v_ldexp_f64 v[22:23], v[22:23], 2
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[51:52], v[55:56], v[61:62]
	v_fma_f64 v[4:5], v[97:98], v[4:5], -v[55:56]
	v_add_f64 v[25:26], v[51:52], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[31:32], v[6:7], v[25:26]
	v_add_f64 v[63:64], v[25:26], -v[51:52]
	v_add_f64 v[53:54], v[31:32], v[22:23]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_add_f64 v[73:74], v[25:26], -v[63:64]
	v_add_f64 v[20:21], v[20:21], -v[63:64]
	v_add_f64 v[6:7], v[31:32], -v[6:7]
	v_cmp_gt_f64_e32 vcc_lo, 0, v[53:54]
	v_add_f64 v[53:54], v[51:52], -v[55:56]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[25:26], -v[6:7]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	v_add_f64 v[71:72], v[51:52], -v[53:54]
	v_add_f64 v[53:54], v[61:62], -v[53:54]
	v_add_f64 v[51:52], v[51:52], -v[73:74]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[22:23], v[22:23], v[8:9]
	v_add_f64 v[61:62], v[55:56], -v[71:72]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[20:21], v[20:21], v[51:52]
	v_add_f64 v[69:70], v[31:32], v[22:23]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[53:54], v[53:54], v[61:62]
	v_cvt_i32_f64_e32 v0, v[69:70]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[53:54], v[20:21]
	v_cvt_f64_i32_e32 v[63:64], v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[4:5], v[20:21]
	v_add_f64 v[22:23], v[22:23], -v[63:64]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[6:7], v[4:5]
	v_add_f64 v[51:52], v[31:32], v[22:23]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[51:52], -v[22:23]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[51:52]
	v_add_f64 v[6:7], v[31:32], -v[20:21]
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_co_ci_u32_e64 v0, s0, 0, v0, vcc_lo
	scratch_store_b32 off, v0, off offset:40 ; 4-byte Folded Spill
	v_add_f64 v[4:5], v[4:5], v[6:7]
	v_add_f64 v[6:7], v[51:52], -v[8:9]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[6:7], v[4:5]
	v_mul_f64 v[22:23], v[20:21], s[4:5]
	v_add_f64 v[6:7], v[20:21], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[25:26], v[20:21], s[4:5], -v[22:23]
	v_add_f64 v[4:5], v[4:5], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[6:7], v[20:21], s[56:57], v[25:26]
	v_fma_f64 v[4:5], v[4:5], s[4:5], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[53:54], v[22:23], v[4:5]
	v_add_f64 v[6:7], v[53:54], -v[22:23]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[55:56], v[4:5], -v[6:7]
.LBB0_29:                               ; %Flow553
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[4:5], |v[35:36]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[4:5], v[4:5]
	v_fma_f64 v[6:7], v[4:5], s[26:27], |v[35:36]|
	v_mul_f64 v[20:21], v[4:5], s[62:63]
	v_cvt_i32_f64_e32 v0, v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[25:26], v[4:5], s[62:63], v[6:7]
	v_add_f64 v[22:23], v[6:7], v[20:21]
	scratch_store_b32 off, v0, off offset:40 ; 4-byte Folded Spill
	v_add_f64 v[6:7], v[6:7], -v[22:23]
	v_add_f64 v[22:23], v[22:23], -v[25:26]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[6:7], v[6:7], v[20:21]
	v_fma_f64 v[20:21], v[4:5], s[54:55], v[20:21]
	v_add_f64 v[6:7], v[22:23], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[6:7], -v[20:21]
	v_fma_f64 v[6:7], v[4:5], s[70:71], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[53:54], v[25:26], v[6:7]
	v_add_f64 v[20:21], v[53:54], -v[25:26]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[55:56], v[6:7], -v[20:21]
.LBB0_31:                               ; %_ZL3cosd.exit278
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
	s_add_u32 s74, s42, s74
	s_addc_u32 s75, s43, s75
                                        ; implicit-def: $vgpr11
                                        ; implicit-def: $vgpr69_vgpr70
                                        ; implicit-def: $vgpr71_vgpr72
	s_load_b64 s[74:75], s[74:75], 0x0
	s_and_saveexec_b32 s0, s33
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[47:48]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_dual_cndmask_b32 v5, v24, v116 :: v_dual_cndmask_b32 v4, v47, v115
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_mul_f64 v[6:7], v[113:114], v[4:5]
	v_mul_f64 v[20:21], v[111:112], v[4:5]
	v_mul_f64 v[63:64], v[109:110], v[4:5]
	v_fma_f64 v[22:23], v[113:114], v[4:5], -v[6:7]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[69:70], v[111:112], v[4:5], -v[20:21]
	v_fma_f64 v[4:5], v[109:110], v[4:5], -v[63:64]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[25:26], v[20:21], v[22:23]
	v_add_f64 v[31:32], v[25:26], -v[20:21]
	v_add_f64 v[61:62], v[6:7], v[25:26]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[51:52], v[25:26], -v[31:32]
	v_add_f64 v[22:23], v[22:23], -v[31:32]
	v_ldexp_f64 v[31:32], v[61:62], -2
	v_add_f64 v[6:7], v[61:62], -v[6:7]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_add_f64 v[20:21], v[20:21], -v[51:52]
	v_add_f64 v[51:52], v[63:64], v[69:70]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[31:32]|
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[6:7], v[25:26], -v[6:7]
	v_add_f64 v[20:21], v[22:23], v[20:21]
	v_fract_f64_e32 v[22:23], v[31:32]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[25:26], v[51:52], v[20:21]
	v_dual_cndmask_b32 v23, 0, v23 :: v_dual_cndmask_b32 v22, 0, v22
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_ldexp_f64 v[22:23], v[22:23], 2
	v_add_f64 v[31:32], v[6:7], v[25:26]
	v_add_f64 v[71:72], v[25:26], -v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[61:62], v[31:32], v[22:23]
	v_add_f64 v[77:78], v[25:26], -v[71:72]
	v_add_f64 v[20:21], v[20:21], -v[71:72]
	v_add_f64 v[6:7], v[31:32], -v[6:7]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cmp_gt_f64_e32 vcc_lo, 0, v[61:62]
	v_add_f64 v[61:62], v[51:52], -v[63:64]
	v_add_f64 v[6:7], v[25:26], -v[6:7]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_add_f64 v[75:76], v[51:52], -v[61:62]
	v_add_f64 v[61:62], v[69:70], -v[61:62]
	v_add_f64 v[51:52], v[51:52], -v[77:78]
	v_add_f64 v[22:23], v[22:23], v[8:9]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[69:70], v[63:64], -v[75:76]
	v_add_f64 v[20:21], v[20:21], v[51:52]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[73:74], v[31:32], v[22:23]
	v_add_f64 v[61:62], v[61:62], v[69:70]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_i32_f64_e32 v0, v[73:74]
	v_add_f64 v[20:21], v[61:62], v[20:21]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_f64_i32_e32 v[71:72], v0
	v_add_f64 v[4:5], v[4:5], v[20:21]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[22:23], v[22:23], -v[71:72]
	v_add_f64 v[4:5], v[6:7], v[4:5]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[31:32], v[22:23]
	v_add_f64 v[20:21], v[51:52], -v[22:23]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[31:32], -v[20:21]
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_co_ci_u32_e64 v11, s0, 0, v0, vcc_lo
	v_add_f64 v[4:5], v[4:5], v[6:7]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[51:52], -v[8:9]
	v_add_f64 v[20:21], v[6:7], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[22:23], v[20:21], s[4:5]
	v_add_f64 v[6:7], v[20:21], -v[6:7]
	v_fma_f64 v[25:26], v[20:21], s[4:5], -v[22:23]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[4:5], -v[6:7]
	v_fma_f64 v[6:7], v[20:21], s[56:57], v[25:26]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[4:5], s[4:5], v[6:7]
	v_add_f64 v[69:70], v[22:23], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[69:70], -v[22:23]
	v_add_f64 v[71:72], v[4:5], -v[6:7]
.LBB0_33:                               ; %Flow552
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[4:5], |v[47:48]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[4:5], v[4:5]
	v_fma_f64 v[6:7], v[4:5], s[26:27], |v[47:48]|
	v_mul_f64 v[20:21], v[4:5], s[62:63]
	v_cvt_i32_f64_e32 v11, v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[25:26], v[4:5], s[62:63], v[6:7]
	v_add_f64 v[22:23], v[6:7], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[6:7], -v[22:23]
	v_add_f64 v[22:23], v[22:23], -v[25:26]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[6:7], v[6:7], v[20:21]
	v_fma_f64 v[20:21], v[4:5], s[54:55], v[20:21]
	v_add_f64 v[6:7], v[22:23], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[6:7], -v[20:21]
	v_fma_f64 v[6:7], v[4:5], s[70:71], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[69:70], v[25:26], v[6:7]
	v_add_f64 v[20:21], v[69:70], -v[25:26]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[71:72], v[6:7], -v[20:21]
.LBB0_35:                               ; %_ZL3sind.exit283
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr0
                                        ; kill: killed $vgpr0
                                        ; implicit-def: $vgpr61_vgpr62
                                        ; implicit-def: $vgpr63_vgpr64
	s_and_saveexec_b32 s0, s1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[35:36]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_cndmask_b32_e32 v5, v19, v108, vcc_lo
	v_cndmask_b32_e32 v4, v35, v107, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[6:7], v[105:106], v[4:5]
	v_mul_f64 v[20:21], v[103:104], v[4:5]
	v_fma_f64 v[22:23], v[105:106], v[4:5], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[73:74], v[103:104], v[4:5], -v[20:21]
	v_add_f64 v[25:26], v[20:21], v[22:23]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[31:32], v[25:26], -v[20:21]
	v_add_f64 v[61:62], v[6:7], v[25:26]
	v_add_f64 v[51:52], v[25:26], -v[31:32]
	v_add_f64 v[22:23], v[22:23], -v[31:32]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_ldexp_f64 v[31:32], v[61:62], -2
	v_add_f64 v[6:7], v[61:62], -v[6:7]
	v_add_f64 v[20:21], v[20:21], -v[51:52]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[31:32]|
	v_add_f64 v[6:7], v[25:26], -v[6:7]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[22:23], v[20:21]
	v_fract_f64_e32 v[22:23], v[31:32]
	v_cndmask_b32_e32 v22, 0, v22, vcc_lo
	v_mul_f64 v[63:64], v[97:98], v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v23, 0, v23, vcc_lo
	v_ldexp_f64 v[22:23], v[22:23], 2
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[51:52], v[63:64], v[73:74]
	v_fma_f64 v[4:5], v[97:98], v[4:5], -v[63:64]
	v_add_f64 v[25:26], v[51:52], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[31:32], v[6:7], v[25:26]
	v_add_f64 v[75:76], v[25:26], -v[51:52]
	v_add_f64 v[61:62], v[31:32], v[22:23]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_add_f64 v[81:82], v[25:26], -v[75:76]
	v_add_f64 v[20:21], v[20:21], -v[75:76]
	v_add_f64 v[6:7], v[31:32], -v[6:7]
	v_cmp_gt_f64_e32 vcc_lo, 0, v[61:62]
	v_add_f64 v[61:62], v[51:52], -v[63:64]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[25:26], -v[6:7]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	v_add_f64 v[79:80], v[51:52], -v[61:62]
	v_add_f64 v[61:62], v[73:74], -v[61:62]
	v_add_f64 v[51:52], v[51:52], -v[81:82]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[22:23], v[22:23], v[8:9]
	v_add_f64 v[73:74], v[63:64], -v[79:80]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[20:21], v[20:21], v[51:52]
	v_add_f64 v[77:78], v[31:32], v[22:23]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[61:62], v[61:62], v[73:74]
	v_cvt_i32_f64_e32 v0, v[77:78]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[61:62], v[20:21]
	v_cvt_f64_i32_e32 v[75:76], v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[4:5], v[20:21]
	v_add_f64 v[22:23], v[22:23], -v[75:76]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[6:7], v[4:5]
	v_add_f64 v[51:52], v[31:32], v[22:23]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[51:52], -v[22:23]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[51:52]
	v_add_f64 v[6:7], v[31:32], -v[20:21]
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_co_ci_u32_e64 v0, s0, 0, v0, vcc_lo
	scratch_store_b32 off, v0, off offset:48 ; 4-byte Folded Spill
	v_add_f64 v[4:5], v[4:5], v[6:7]
	v_add_f64 v[6:7], v[51:52], -v[8:9]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[6:7], v[4:5]
	v_mul_f64 v[22:23], v[20:21], s[4:5]
	v_add_f64 v[6:7], v[20:21], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[25:26], v[20:21], s[4:5], -v[22:23]
	v_add_f64 v[4:5], v[4:5], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[6:7], v[20:21], s[56:57], v[25:26]
	v_fma_f64 v[4:5], v[4:5], s[4:5], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[61:62], v[22:23], v[4:5]
	v_add_f64 v[6:7], v[61:62], -v[22:23]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[63:64], v[4:5], -v[6:7]
.LBB0_37:                               ; %Flow551
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_39
; %bb.38:                               ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[4:5], |v[35:36]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[4:5], v[4:5]
	v_fma_f64 v[6:7], v[4:5], s[26:27], |v[35:36]|
	v_mul_f64 v[20:21], v[4:5], s[62:63]
	v_cvt_i32_f64_e32 v0, v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[25:26], v[4:5], s[62:63], v[6:7]
	v_add_f64 v[22:23], v[6:7], v[20:21]
	scratch_store_b32 off, v0, off offset:48 ; 4-byte Folded Spill
	v_add_f64 v[6:7], v[6:7], -v[22:23]
	v_add_f64 v[22:23], v[22:23], -v[25:26]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[6:7], v[6:7], v[20:21]
	v_fma_f64 v[20:21], v[4:5], s[54:55], v[20:21]
	v_add_f64 v[6:7], v[22:23], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[6:7], -v[20:21]
	v_fma_f64 v[6:7], v[4:5], s[70:71], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[61:62], v[25:26], v[6:7]
	v_add_f64 v[20:21], v[61:62], -v[25:26]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[63:64], v[6:7], -v[20:21]
.LBB0_39:                               ; %_ZL3sind.exit288
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr3
                                        ; implicit-def: $vgpr73_vgpr74
                                        ; implicit-def: $vgpr75_vgpr76
	s_and_saveexec_b32 s0, s33
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[47:48]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_dual_cndmask_b32 v5, v24, v116 :: v_dual_cndmask_b32 v4, v47, v115
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_mul_f64 v[6:7], v[113:114], v[4:5]
	v_mul_f64 v[20:21], v[111:112], v[4:5]
	v_mul_f64 v[75:76], v[109:110], v[4:5]
	v_fma_f64 v[22:23], v[113:114], v[4:5], -v[6:7]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[77:78], v[111:112], v[4:5], -v[20:21]
	v_fma_f64 v[4:5], v[109:110], v[4:5], -v[75:76]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[25:26], v[20:21], v[22:23]
	v_add_f64 v[31:32], v[25:26], -v[20:21]
	v_add_f64 v[73:74], v[6:7], v[25:26]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[51:52], v[25:26], -v[31:32]
	v_add_f64 v[22:23], v[22:23], -v[31:32]
	v_ldexp_f64 v[31:32], v[73:74], -2
	v_add_f64 v[6:7], v[73:74], -v[6:7]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_add_f64 v[20:21], v[20:21], -v[51:52]
	v_add_f64 v[51:52], v[75:76], v[77:78]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[31:32]|
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[6:7], v[25:26], -v[6:7]
	v_add_f64 v[20:21], v[22:23], v[20:21]
	v_fract_f64_e32 v[22:23], v[31:32]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[25:26], v[51:52], v[20:21]
	v_dual_cndmask_b32 v23, 0, v23 :: v_dual_cndmask_b32 v22, 0, v22
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_ldexp_f64 v[22:23], v[22:23], 2
	v_add_f64 v[31:32], v[6:7], v[25:26]
	v_add_f64 v[79:80], v[25:26], -v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[73:74], v[31:32], v[22:23]
	v_add_f64 v[85:86], v[25:26], -v[79:80]
	v_add_f64 v[20:21], v[20:21], -v[79:80]
	v_add_f64 v[6:7], v[31:32], -v[6:7]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cmp_gt_f64_e32 vcc_lo, 0, v[73:74]
	v_add_f64 v[73:74], v[51:52], -v[75:76]
	v_add_f64 v[6:7], v[25:26], -v[6:7]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_add_f64 v[83:84], v[51:52], -v[73:74]
	v_add_f64 v[73:74], v[77:78], -v[73:74]
	v_add_f64 v[51:52], v[51:52], -v[85:86]
	v_add_f64 v[22:23], v[22:23], v[8:9]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[77:78], v[75:76], -v[83:84]
	v_add_f64 v[20:21], v[20:21], v[51:52]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[81:82], v[31:32], v[22:23]
	v_add_f64 v[73:74], v[73:74], v[77:78]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_i32_f64_e32 v0, v[81:82]
	v_add_f64 v[20:21], v[73:74], v[20:21]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_f64_i32_e32 v[79:80], v0
	v_add_f64 v[4:5], v[4:5], v[20:21]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[22:23], v[22:23], -v[79:80]
	v_add_f64 v[4:5], v[6:7], v[4:5]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[31:32], v[22:23]
	v_add_f64 v[20:21], v[51:52], -v[22:23]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[31:32], -v[20:21]
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_co_ci_u32_e64 v3, s0, 0, v0, vcc_lo
	v_add_f64 v[4:5], v[4:5], v[6:7]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[51:52], -v[8:9]
	v_add_f64 v[20:21], v[6:7], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[22:23], v[20:21], s[4:5]
	v_add_f64 v[6:7], v[20:21], -v[6:7]
	v_fma_f64 v[25:26], v[20:21], s[4:5], -v[22:23]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[4:5], -v[6:7]
	v_fma_f64 v[6:7], v[20:21], s[56:57], v[25:26]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[4:5], s[4:5], v[6:7]
	v_add_f64 v[73:74], v[22:23], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[73:74], -v[22:23]
	v_add_f64 v[75:76], v[4:5], -v[6:7]
.LBB0_41:                               ; %Flow550
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[4:5], |v[47:48]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[4:5], v[4:5]
	v_fma_f64 v[6:7], v[4:5], s[26:27], |v[47:48]|
	v_mul_f64 v[20:21], v[4:5], s[62:63]
	v_cvt_i32_f64_e32 v3, v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[25:26], v[4:5], s[62:63], v[6:7]
	v_add_f64 v[22:23], v[6:7], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[6:7], -v[22:23]
	v_add_f64 v[22:23], v[22:23], -v[25:26]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[6:7], v[6:7], v[20:21]
	v_fma_f64 v[20:21], v[4:5], s[54:55], v[20:21]
	v_add_f64 v[6:7], v[22:23], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[6:7], -v[20:21]
	v_fma_f64 v[6:7], v[4:5], s[70:71], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[73:74], v[25:26], v[6:7]
	v_add_f64 v[20:21], v[73:74], -v[25:26]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[75:76], v[6:7], -v[20:21]
.LBB0_43:                               ; %_ZL3sind.exit293
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr1
                                        ; implicit-def: $vgpr77_vgpr78
                                        ; implicit-def: $vgpr79_vgpr80
	s_and_saveexec_b32 s0, s1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_45
; %bb.44:                               ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[35:36]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_cndmask_b32_e32 v5, v19, v108, vcc_lo
	v_cndmask_b32_e32 v4, v35, v107, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[6:7], v[105:106], v[4:5]
	v_mul_f64 v[20:21], v[103:104], v[4:5]
	v_fma_f64 v[22:23], v[105:106], v[4:5], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[81:82], v[103:104], v[4:5], -v[20:21]
	v_add_f64 v[25:26], v[20:21], v[22:23]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[31:32], v[25:26], -v[20:21]
	v_add_f64 v[77:78], v[6:7], v[25:26]
	v_add_f64 v[51:52], v[25:26], -v[31:32]
	v_add_f64 v[22:23], v[22:23], -v[31:32]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_ldexp_f64 v[31:32], v[77:78], -2
	v_add_f64 v[6:7], v[77:78], -v[6:7]
	v_add_f64 v[20:21], v[20:21], -v[51:52]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[31:32]|
	v_add_f64 v[6:7], v[25:26], -v[6:7]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[22:23], v[20:21]
	v_fract_f64_e32 v[22:23], v[31:32]
	v_cndmask_b32_e32 v22, 0, v22, vcc_lo
	v_mul_f64 v[79:80], v[97:98], v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v23, 0, v23, vcc_lo
	v_ldexp_f64 v[22:23], v[22:23], 2
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[51:52], v[79:80], v[81:82]
	v_fma_f64 v[4:5], v[97:98], v[4:5], -v[79:80]
	v_add_f64 v[25:26], v[51:52], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[31:32], v[6:7], v[25:26]
	v_add_f64 v[83:84], v[25:26], -v[51:52]
	v_add_f64 v[77:78], v[31:32], v[22:23]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_add_f64 v[89:90], v[25:26], -v[83:84]
	v_add_f64 v[20:21], v[20:21], -v[83:84]
	v_add_f64 v[6:7], v[31:32], -v[6:7]
	v_cmp_gt_f64_e32 vcc_lo, 0, v[77:78]
	v_add_f64 v[77:78], v[51:52], -v[79:80]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[25:26], -v[6:7]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	v_add_f64 v[87:88], v[51:52], -v[77:78]
	v_add_f64 v[77:78], v[81:82], -v[77:78]
	v_add_f64 v[51:52], v[51:52], -v[89:90]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[22:23], v[22:23], v[8:9]
	v_add_f64 v[81:82], v[79:80], -v[87:88]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[20:21], v[20:21], v[51:52]
	v_add_f64 v[85:86], v[31:32], v[22:23]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[77:78], v[77:78], v[81:82]
	v_cvt_i32_f64_e32 v0, v[85:86]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[77:78], v[20:21]
	v_cvt_f64_i32_e32 v[83:84], v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[4:5], v[20:21]
	v_add_f64 v[22:23], v[22:23], -v[83:84]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[6:7], v[4:5]
	v_add_f64 v[51:52], v[31:32], v[22:23]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[51:52], -v[22:23]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[51:52]
	v_add_f64 v[6:7], v[31:32], -v[20:21]
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_co_ci_u32_e64 v1, s0, 0, v0, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[4:5], v[4:5], v[6:7]
	v_add_f64 v[6:7], v[51:52], -v[8:9]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[6:7], v[4:5]
	v_mul_f64 v[22:23], v[20:21], s[4:5]
	v_add_f64 v[6:7], v[20:21], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[25:26], v[20:21], s[4:5], -v[22:23]
	v_add_f64 v[4:5], v[4:5], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[6:7], v[20:21], s[56:57], v[25:26]
	v_fma_f64 v[4:5], v[4:5], s[4:5], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[77:78], v[22:23], v[4:5]
	v_add_f64 v[6:7], v[77:78], -v[22:23]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[79:80], v[4:5], -v[6:7]
.LBB0_45:                               ; %Flow549
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_47
; %bb.46:                               ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[4:5], |v[35:36]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[4:5], v[4:5]
	v_fma_f64 v[6:7], v[4:5], s[26:27], |v[35:36]|
	v_mul_f64 v[20:21], v[4:5], s[62:63]
	v_cvt_i32_f64_e32 v1, v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[25:26], v[4:5], s[62:63], v[6:7]
	v_add_f64 v[22:23], v[6:7], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[6:7], -v[22:23]
	v_add_f64 v[22:23], v[22:23], -v[25:26]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[6:7], v[6:7], v[20:21]
	v_fma_f64 v[20:21], v[4:5], s[54:55], v[20:21]
	v_add_f64 v[6:7], v[22:23], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[6:7], -v[20:21]
	v_fma_f64 v[6:7], v[4:5], s[70:71], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[77:78], v[25:26], v[6:7]
	v_add_f64 v[20:21], v[77:78], -v[25:26]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[79:80], v[6:7], -v[20:21]
.LBB0_47:                               ; %_ZL3cosd.exit298
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr191
                                        ; implicit-def: $vgpr89_vgpr90
                                        ; implicit-def: $vgpr91_vgpr92
	s_and_saveexec_b32 s0, s33
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_49
; %bb.48:                               ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[47:48]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_dual_cndmask_b32 v5, v24, v116 :: v_dual_cndmask_b32 v4, v47, v115
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_mul_f64 v[6:7], v[113:114], v[4:5]
	v_mul_f64 v[20:21], v[111:112], v[4:5]
	v_mul_f64 v[83:84], v[109:110], v[4:5]
	v_fma_f64 v[22:23], v[113:114], v[4:5], -v[6:7]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[85:86], v[111:112], v[4:5], -v[20:21]
	v_fma_f64 v[4:5], v[109:110], v[4:5], -v[83:84]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[25:26], v[20:21], v[22:23]
	v_add_f64 v[31:32], v[25:26], -v[20:21]
	v_add_f64 v[81:82], v[6:7], v[25:26]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[51:52], v[25:26], -v[31:32]
	v_add_f64 v[22:23], v[22:23], -v[31:32]
	v_ldexp_f64 v[31:32], v[81:82], -2
	v_add_f64 v[6:7], v[81:82], -v[6:7]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_add_f64 v[20:21], v[20:21], -v[51:52]
	v_add_f64 v[51:52], v[83:84], v[85:86]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[31:32]|
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[6:7], v[25:26], -v[6:7]
	v_add_f64 v[20:21], v[22:23], v[20:21]
	v_fract_f64_e32 v[22:23], v[31:32]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[25:26], v[51:52], v[20:21]
	v_dual_cndmask_b32 v23, 0, v23 :: v_dual_cndmask_b32 v22, 0, v22
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_ldexp_f64 v[22:23], v[22:23], 2
	v_add_f64 v[31:32], v[6:7], v[25:26]
	v_add_f64 v[87:88], v[25:26], -v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[81:82], v[31:32], v[22:23]
	v_add_f64 v[93:94], v[25:26], -v[87:88]
	v_add_f64 v[20:21], v[20:21], -v[87:88]
	v_add_f64 v[6:7], v[31:32], -v[6:7]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cmp_gt_f64_e32 vcc_lo, 0, v[81:82]
	v_add_f64 v[81:82], v[51:52], -v[83:84]
	v_add_f64 v[6:7], v[25:26], -v[6:7]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_add_f64 v[91:92], v[51:52], -v[81:82]
	v_add_f64 v[81:82], v[85:86], -v[81:82]
	v_add_f64 v[51:52], v[51:52], -v[93:94]
	v_add_f64 v[22:23], v[22:23], v[8:9]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[85:86], v[83:84], -v[91:92]
	v_add_f64 v[20:21], v[20:21], v[51:52]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[89:90], v[31:32], v[22:23]
	v_add_f64 v[81:82], v[81:82], v[85:86]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_i32_f64_e32 v0, v[89:90]
	v_add_f64 v[20:21], v[81:82], v[20:21]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_f64_i32_e32 v[87:88], v0
	v_add_f64 v[4:5], v[4:5], v[20:21]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[22:23], v[22:23], -v[87:88]
	v_add_f64 v[4:5], v[6:7], v[4:5]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[31:32], v[22:23]
	v_add_f64 v[20:21], v[51:52], -v[22:23]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[31:32], -v[20:21]
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_co_ci_u32_e64 v191, s0, 0, v0, vcc_lo
	v_add_f64 v[4:5], v[4:5], v[6:7]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[51:52], -v[8:9]
	v_add_f64 v[20:21], v[6:7], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[22:23], v[20:21], s[4:5]
	v_add_f64 v[6:7], v[20:21], -v[6:7]
	v_fma_f64 v[25:26], v[20:21], s[4:5], -v[22:23]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[4:5], -v[6:7]
	v_fma_f64 v[6:7], v[20:21], s[56:57], v[25:26]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[4:5], s[4:5], v[6:7]
	v_add_f64 v[89:90], v[22:23], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[89:90], -v[22:23]
	v_add_f64 v[91:92], v[4:5], -v[6:7]
.LBB0_49:                               ; %Flow548
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_51
; %bb.50:                               ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[4:5], |v[47:48]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[4:5], v[4:5]
	v_fma_f64 v[6:7], v[4:5], s[26:27], |v[47:48]|
	v_mul_f64 v[20:21], v[4:5], s[62:63]
	v_cvt_i32_f64_e32 v191, v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[25:26], v[4:5], s[62:63], v[6:7]
	v_add_f64 v[22:23], v[6:7], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[6:7], -v[22:23]
	v_add_f64 v[22:23], v[22:23], -v[25:26]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[6:7], v[6:7], v[20:21]
	v_fma_f64 v[20:21], v[4:5], s[54:55], v[20:21]
	v_add_f64 v[6:7], v[22:23], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[6:7], -v[20:21]
	v_fma_f64 v[6:7], v[4:5], s[70:71], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[89:90], v[25:26], v[6:7]
	v_add_f64 v[20:21], v[89:90], -v[25:26]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[91:92], v[6:7], -v[20:21]
.LBB0_51:                               ; %_ZL3sind.exit303
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr189
                                        ; implicit-def: $vgpr81_vgpr82
                                        ; implicit-def: $vgpr83_vgpr84
	s_and_saveexec_b32 s0, s1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_53
; %bb.52:                               ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[35:36]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_cndmask_b32_e32 v5, v19, v108, vcc_lo
	v_cndmask_b32_e32 v4, v35, v107, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[6:7], v[105:106], v[4:5]
	v_mul_f64 v[20:21], v[103:104], v[4:5]
	v_fma_f64 v[22:23], v[105:106], v[4:5], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[85:86], v[103:104], v[4:5], -v[20:21]
	v_add_f64 v[25:26], v[20:21], v[22:23]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[31:32], v[25:26], -v[20:21]
	v_add_f64 v[81:82], v[6:7], v[25:26]
	v_add_f64 v[51:52], v[25:26], -v[31:32]
	v_add_f64 v[22:23], v[22:23], -v[31:32]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_ldexp_f64 v[31:32], v[81:82], -2
	v_add_f64 v[6:7], v[81:82], -v[6:7]
	v_add_f64 v[20:21], v[20:21], -v[51:52]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[31:32]|
	v_add_f64 v[6:7], v[25:26], -v[6:7]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[22:23], v[20:21]
	v_fract_f64_e32 v[22:23], v[31:32]
	v_cndmask_b32_e32 v22, 0, v22, vcc_lo
	v_mul_f64 v[83:84], v[97:98], v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v23, 0, v23, vcc_lo
	v_ldexp_f64 v[22:23], v[22:23], 2
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[51:52], v[83:84], v[85:86]
	v_fma_f64 v[4:5], v[97:98], v[4:5], -v[83:84]
	v_add_f64 v[25:26], v[51:52], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[31:32], v[6:7], v[25:26]
	v_add_f64 v[87:88], v[25:26], -v[51:52]
	v_add_f64 v[81:82], v[31:32], v[22:23]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_add_f64 v[99:100], v[25:26], -v[87:88]
	v_add_f64 v[20:21], v[20:21], -v[87:88]
	v_add_f64 v[6:7], v[31:32], -v[6:7]
	v_cmp_gt_f64_e32 vcc_lo, 0, v[81:82]
	v_add_f64 v[81:82], v[51:52], -v[83:84]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[25:26], -v[6:7]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	v_add_f64 v[95:96], v[51:52], -v[81:82]
	v_add_f64 v[81:82], v[85:86], -v[81:82]
	v_add_f64 v[51:52], v[51:52], -v[99:100]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[22:23], v[22:23], v[8:9]
	v_add_f64 v[85:86], v[83:84], -v[95:96]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[20:21], v[20:21], v[51:52]
	v_add_f64 v[93:94], v[31:32], v[22:23]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[81:82], v[81:82], v[85:86]
	v_cvt_i32_f64_e32 v0, v[93:94]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[81:82], v[20:21]
	v_cvt_f64_i32_e32 v[87:88], v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[4:5], v[20:21]
	v_add_f64 v[22:23], v[22:23], -v[87:88]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[6:7], v[4:5]
	v_add_f64 v[51:52], v[31:32], v[22:23]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[51:52], -v[22:23]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[51:52]
	v_add_f64 v[6:7], v[31:32], -v[20:21]
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_co_ci_u32_e64 v189, s0, 0, v0, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[4:5], v[4:5], v[6:7]
	v_add_f64 v[6:7], v[51:52], -v[8:9]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[6:7], v[4:5]
	v_mul_f64 v[22:23], v[20:21], s[4:5]
	v_add_f64 v[6:7], v[20:21], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[25:26], v[20:21], s[4:5], -v[22:23]
	v_add_f64 v[4:5], v[4:5], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[6:7], v[20:21], s[56:57], v[25:26]
	v_fma_f64 v[4:5], v[4:5], s[4:5], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[81:82], v[22:23], v[4:5]
	v_add_f64 v[6:7], v[81:82], -v[22:23]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[83:84], v[4:5], -v[6:7]
.LBB0_53:                               ; %Flow547
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_55
; %bb.54:                               ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[4:5], |v[35:36]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[4:5], v[4:5]
	v_fma_f64 v[6:7], v[4:5], s[26:27], |v[35:36]|
	v_mul_f64 v[20:21], v[4:5], s[62:63]
	v_cvt_i32_f64_e32 v189, v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[25:26], v[4:5], s[62:63], v[6:7]
	v_add_f64 v[22:23], v[6:7], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[6:7], -v[22:23]
	v_add_f64 v[22:23], v[22:23], -v[25:26]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[6:7], v[6:7], v[20:21]
	v_fma_f64 v[20:21], v[4:5], s[54:55], v[20:21]
	v_add_f64 v[6:7], v[22:23], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[6:7], -v[20:21]
	v_fma_f64 v[6:7], v[4:5], s[70:71], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[81:82], v[25:26], v[6:7]
	v_add_f64 v[20:21], v[81:82], -v[25:26]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[83:84], v[6:7], -v[20:21]
.LBB0_55:                               ; %_ZL3sind.exit308
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr18
                                        ; implicit-def: $vgpr99_vgpr100
                                        ; implicit-def: $vgpr101_vgpr102
	s_and_saveexec_b32 s0, s33
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_57
; %bb.56:                               ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[47:48]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_dual_cndmask_b32 v5, v24, v116 :: v_dual_cndmask_b32 v4, v47, v115
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_mul_f64 v[6:7], v[113:114], v[4:5]
	v_mul_f64 v[20:21], v[111:112], v[4:5]
	v_mul_f64 v[87:88], v[109:110], v[4:5]
	v_fma_f64 v[22:23], v[113:114], v[4:5], -v[6:7]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[93:94], v[111:112], v[4:5], -v[20:21]
	v_fma_f64 v[4:5], v[109:110], v[4:5], -v[87:88]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[25:26], v[20:21], v[22:23]
	v_add_f64 v[31:32], v[25:26], -v[20:21]
	v_add_f64 v[85:86], v[6:7], v[25:26]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[51:52], v[25:26], -v[31:32]
	v_add_f64 v[22:23], v[22:23], -v[31:32]
	v_ldexp_f64 v[31:32], v[85:86], -2
	v_add_f64 v[6:7], v[85:86], -v[6:7]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_add_f64 v[20:21], v[20:21], -v[51:52]
	v_add_f64 v[51:52], v[87:88], v[93:94]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[31:32]|
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[6:7], v[25:26], -v[6:7]
	v_add_f64 v[20:21], v[22:23], v[20:21]
	v_fract_f64_e32 v[22:23], v[31:32]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[25:26], v[51:52], v[20:21]
	v_dual_cndmask_b32 v23, 0, v23 :: v_dual_cndmask_b32 v22, 0, v22
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_ldexp_f64 v[22:23], v[22:23], 2
	v_add_f64 v[31:32], v[6:7], v[25:26]
	v_add_f64 v[95:96], v[25:26], -v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[85:86], v[31:32], v[22:23]
	v_add_f64 v[117:118], v[25:26], -v[95:96]
	v_add_f64 v[20:21], v[20:21], -v[95:96]
	v_add_f64 v[6:7], v[31:32], -v[6:7]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cmp_gt_f64_e32 vcc_lo, 0, v[85:86]
	v_add_f64 v[85:86], v[51:52], -v[87:88]
	v_add_f64 v[6:7], v[25:26], -v[6:7]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_add_f64 v[101:102], v[51:52], -v[85:86]
	v_add_f64 v[85:86], v[93:94], -v[85:86]
	v_add_f64 v[51:52], v[51:52], -v[117:118]
	v_add_f64 v[22:23], v[22:23], v[8:9]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[93:94], v[87:88], -v[101:102]
	v_add_f64 v[20:21], v[20:21], v[51:52]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[99:100], v[31:32], v[22:23]
	v_add_f64 v[85:86], v[85:86], v[93:94]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_i32_f64_e32 v0, v[99:100]
	v_add_f64 v[20:21], v[85:86], v[20:21]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_f64_i32_e32 v[95:96], v0
	v_add_f64 v[4:5], v[4:5], v[20:21]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[22:23], v[22:23], -v[95:96]
	v_add_f64 v[4:5], v[6:7], v[4:5]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[31:32], v[22:23]
	v_add_f64 v[20:21], v[51:52], -v[22:23]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[31:32], -v[20:21]
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_co_ci_u32_e64 v18, s0, 0, v0, vcc_lo
	v_add_f64 v[4:5], v[4:5], v[6:7]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[51:52], -v[8:9]
	v_add_f64 v[20:21], v[6:7], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[22:23], v[20:21], s[4:5]
	v_add_f64 v[6:7], v[20:21], -v[6:7]
	v_fma_f64 v[25:26], v[20:21], s[4:5], -v[22:23]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[4:5], -v[6:7]
	v_fma_f64 v[6:7], v[20:21], s[56:57], v[25:26]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[4:5], s[4:5], v[6:7]
	v_add_f64 v[99:100], v[22:23], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[99:100], -v[22:23]
	v_add_f64 v[101:102], v[4:5], -v[6:7]
.LBB0_57:                               ; %Flow546
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_59
; %bb.58:                               ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[4:5], |v[47:48]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[4:5], v[4:5]
	v_fma_f64 v[6:7], v[4:5], s[26:27], |v[47:48]|
	v_mul_f64 v[20:21], v[4:5], s[62:63]
	v_cvt_i32_f64_e32 v18, v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[25:26], v[4:5], s[62:63], v[6:7]
	v_add_f64 v[22:23], v[6:7], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[6:7], -v[22:23]
	v_add_f64 v[22:23], v[22:23], -v[25:26]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[6:7], v[6:7], v[20:21]
	v_fma_f64 v[20:21], v[4:5], s[54:55], v[20:21]
	v_add_f64 v[6:7], v[22:23], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[6:7], -v[20:21]
	v_fma_f64 v[6:7], v[4:5], s[70:71], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[99:100], v[25:26], v[6:7]
	v_add_f64 v[20:21], v[99:100], -v[25:26]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[101:102], v[6:7], -v[20:21]
.LBB0_59:                               ; %_ZL3cosd.exit313
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr190
                                        ; implicit-def: $vgpr85_vgpr86
                                        ; implicit-def: $vgpr87_vgpr88
	s_and_saveexec_b32 s0, s1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_61
; %bb.60:                               ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[35:36]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_cndmask_b32_e32 v5, v19, v108, vcc_lo
	v_cndmask_b32_e32 v4, v35, v107, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[6:7], v[105:106], v[4:5]
	v_mul_f64 v[20:21], v[103:104], v[4:5]
	v_fma_f64 v[22:23], v[105:106], v[4:5], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[93:94], v[103:104], v[4:5], -v[20:21]
	v_add_f64 v[25:26], v[20:21], v[22:23]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[31:32], v[25:26], -v[20:21]
	v_add_f64 v[85:86], v[6:7], v[25:26]
	v_add_f64 v[51:52], v[25:26], -v[31:32]
	v_add_f64 v[22:23], v[22:23], -v[31:32]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_ldexp_f64 v[31:32], v[85:86], -2
	v_add_f64 v[6:7], v[85:86], -v[6:7]
	v_add_f64 v[20:21], v[20:21], -v[51:52]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[31:32]|
	v_add_f64 v[6:7], v[25:26], -v[6:7]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[22:23], v[20:21]
	v_fract_f64_e32 v[22:23], v[31:32]
	v_cndmask_b32_e32 v22, 0, v22, vcc_lo
	v_mul_f64 v[87:88], v[97:98], v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v23, 0, v23, vcc_lo
	v_ldexp_f64 v[22:23], v[22:23], 2
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[51:52], v[87:88], v[93:94]
	v_fma_f64 v[4:5], v[97:98], v[4:5], -v[87:88]
	v_add_f64 v[25:26], v[51:52], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[31:32], v[6:7], v[25:26]
	v_add_f64 v[95:96], v[25:26], -v[51:52]
	v_add_f64 v[85:86], v[31:32], v[22:23]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_add_f64 v[121:122], v[25:26], -v[95:96]
	v_add_f64 v[20:21], v[20:21], -v[95:96]
	v_add_f64 v[6:7], v[31:32], -v[6:7]
	v_cmp_gt_f64_e32 vcc_lo, 0, v[85:86]
	v_add_f64 v[85:86], v[51:52], -v[87:88]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[25:26], -v[6:7]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	v_add_f64 v[119:120], v[51:52], -v[85:86]
	v_add_f64 v[85:86], v[93:94], -v[85:86]
	v_add_f64 v[51:52], v[51:52], -v[121:122]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[22:23], v[22:23], v[8:9]
	v_add_f64 v[93:94], v[87:88], -v[119:120]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[20:21], v[20:21], v[51:52]
	v_add_f64 v[117:118], v[31:32], v[22:23]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[85:86], v[85:86], v[93:94]
	v_cvt_i32_f64_e32 v0, v[117:118]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[85:86], v[20:21]
	v_cvt_f64_i32_e32 v[95:96], v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[4:5], v[20:21]
	v_add_f64 v[22:23], v[22:23], -v[95:96]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[6:7], v[4:5]
	v_add_f64 v[51:52], v[31:32], v[22:23]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[51:52], -v[22:23]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[51:52]
	v_add_f64 v[6:7], v[31:32], -v[20:21]
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_co_ci_u32_e64 v190, s0, 0, v0, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[4:5], v[4:5], v[6:7]
	v_add_f64 v[6:7], v[51:52], -v[8:9]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[6:7], v[4:5]
	v_mul_f64 v[22:23], v[20:21], s[4:5]
	v_add_f64 v[6:7], v[20:21], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[25:26], v[20:21], s[4:5], -v[22:23]
	v_add_f64 v[4:5], v[4:5], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[6:7], v[20:21], s[56:57], v[25:26]
	v_fma_f64 v[4:5], v[4:5], s[4:5], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[85:86], v[22:23], v[4:5]
	v_add_f64 v[6:7], v[85:86], -v[22:23]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[87:88], v[4:5], -v[6:7]
.LBB0_61:                               ; %Flow545
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_63
; %bb.62:                               ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[4:5], |v[35:36]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[4:5], v[4:5]
	v_fma_f64 v[6:7], v[4:5], s[26:27], |v[35:36]|
	v_mul_f64 v[20:21], v[4:5], s[62:63]
	v_cvt_i32_f64_e32 v190, v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[25:26], v[4:5], s[62:63], v[6:7]
	v_add_f64 v[22:23], v[6:7], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[6:7], -v[22:23]
	v_add_f64 v[22:23], v[22:23], -v[25:26]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[6:7], v[6:7], v[20:21]
	v_fma_f64 v[20:21], v[4:5], s[54:55], v[20:21]
	v_add_f64 v[6:7], v[22:23], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[6:7], -v[20:21]
	v_fma_f64 v[6:7], v[4:5], s[70:71], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[85:86], v[25:26], v[6:7]
	v_add_f64 v[20:21], v[85:86], -v[25:26]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[87:88], v[6:7], -v[20:21]
.LBB0_63:                               ; %_ZL3cosd.exit318
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr25
                                        ; implicit-def: $vgpr117_vgpr118
                                        ; implicit-def: $vgpr119_vgpr120
	s_and_saveexec_b32 s0, s33
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_65
; %bb.64:                               ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[47:48]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_dual_cndmask_b32 v5, v24, v116 :: v_dual_cndmask_b32 v4, v47, v115
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_mul_f64 v[6:7], v[113:114], v[4:5]
	v_mul_f64 v[20:21], v[111:112], v[4:5]
	v_mul_f64 v[95:96], v[109:110], v[4:5]
	v_fma_f64 v[22:23], v[113:114], v[4:5], -v[6:7]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[117:118], v[111:112], v[4:5], -v[20:21]
	v_fma_f64 v[4:5], v[109:110], v[4:5], -v[95:96]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[25:26], v[20:21], v[22:23]
	v_add_f64 v[31:32], v[25:26], -v[20:21]
	v_add_f64 v[93:94], v[6:7], v[25:26]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[51:52], v[25:26], -v[31:32]
	v_add_f64 v[22:23], v[22:23], -v[31:32]
	v_ldexp_f64 v[31:32], v[93:94], -2
	v_add_f64 v[6:7], v[93:94], -v[6:7]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_add_f64 v[20:21], v[20:21], -v[51:52]
	v_add_f64 v[51:52], v[95:96], v[117:118]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[31:32]|
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[6:7], v[25:26], -v[6:7]
	v_add_f64 v[20:21], v[22:23], v[20:21]
	v_fract_f64_e32 v[22:23], v[31:32]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[25:26], v[51:52], v[20:21]
	v_dual_cndmask_b32 v23, 0, v23 :: v_dual_cndmask_b32 v22, 0, v22
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_ldexp_f64 v[22:23], v[22:23], 2
	v_add_f64 v[31:32], v[6:7], v[25:26]
	v_add_f64 v[119:120], v[25:26], -v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[93:94], v[31:32], v[22:23]
	v_add_f64 v[125:126], v[25:26], -v[119:120]
	v_add_f64 v[20:21], v[20:21], -v[119:120]
	v_add_f64 v[6:7], v[31:32], -v[6:7]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cmp_gt_f64_e32 vcc_lo, 0, v[93:94]
	v_add_f64 v[93:94], v[51:52], -v[95:96]
	v_add_f64 v[6:7], v[25:26], -v[6:7]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_add_f64 v[123:124], v[51:52], -v[93:94]
	v_add_f64 v[93:94], v[117:118], -v[93:94]
	v_add_f64 v[51:52], v[51:52], -v[125:126]
	v_add_f64 v[22:23], v[22:23], v[8:9]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[117:118], v[95:96], -v[123:124]
	v_add_f64 v[20:21], v[20:21], v[51:52]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[121:122], v[31:32], v[22:23]
	v_add_f64 v[93:94], v[93:94], v[117:118]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_i32_f64_e32 v0, v[121:122]
	v_add_f64 v[20:21], v[93:94], v[20:21]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_f64_i32_e32 v[119:120], v0
	v_add_f64 v[4:5], v[4:5], v[20:21]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[22:23], v[22:23], -v[119:120]
	v_add_f64 v[4:5], v[6:7], v[4:5]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[31:32], v[22:23]
	v_add_f64 v[20:21], v[51:52], -v[22:23]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[31:32], -v[20:21]
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_co_ci_u32_e64 v25, s0, 0, v0, vcc_lo
	v_add_f64 v[4:5], v[4:5], v[6:7]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[51:52], -v[8:9]
	v_add_f64 v[20:21], v[6:7], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[22:23], v[20:21], s[4:5]
	v_add_f64 v[6:7], v[20:21], -v[6:7]
	v_fma_f64 v[26:27], v[20:21], s[4:5], -v[22:23]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[4:5], -v[6:7]
	v_fma_f64 v[6:7], v[20:21], s[56:57], v[26:27]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[4:5], s[4:5], v[6:7]
	v_add_f64 v[117:118], v[22:23], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[117:118], -v[22:23]
	v_add_f64 v[119:120], v[4:5], -v[6:7]
.LBB0_65:                               ; %Flow544
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_67
; %bb.66:                               ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[4:5], |v[47:48]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[4:5], v[4:5]
	v_fma_f64 v[6:7], v[4:5], s[26:27], |v[47:48]|
	v_mul_f64 v[20:21], v[4:5], s[62:63]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[25:26], v[4:5], s[62:63], v[6:7]
	v_add_f64 v[22:23], v[6:7], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[6:7], -v[22:23]
	v_add_f64 v[22:23], v[22:23], -v[25:26]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[6:7], v[6:7], v[20:21]
	v_fma_f64 v[20:21], v[4:5], s[54:55], v[20:21]
	v_add_f64 v[6:7], v[22:23], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[6:7], -v[20:21]
	v_fma_f64 v[6:7], v[4:5], s[70:71], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[117:118], v[25:26], v[6:7]
	v_add_f64 v[20:21], v[117:118], -v[25:26]
	v_cvt_i32_f64_e32 v25, v[4:5]
	s_delay_alu instid0(VALU_DEP_2)
	v_add_f64 v[119:120], v[6:7], -v[20:21]
.LBB0_67:                               ; %_ZL3cosd.exit323
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr2
                                        ; implicit-def: $vgpr93_vgpr94
                                        ; implicit-def: $vgpr95_vgpr96
	s_and_saveexec_b32 s0, s1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_69
; %bb.68:                               ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[35:36]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_cndmask_b32_e32 v5, v19, v108, vcc_lo
	v_cndmask_b32_e32 v4, v35, v107, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[6:7], v[105:106], v[4:5]
	v_mul_f64 v[20:21], v[103:104], v[4:5]
	v_fma_f64 v[22:23], v[105:106], v[4:5], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[121:122], v[103:104], v[4:5], -v[20:21]
	v_add_f64 v[26:27], v[20:21], v[22:23]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[31:32], v[26:27], -v[20:21]
	v_add_f64 v[93:94], v[6:7], v[26:27]
	v_add_f64 v[51:52], v[26:27], -v[31:32]
	v_add_f64 v[22:23], v[22:23], -v[31:32]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_ldexp_f64 v[31:32], v[93:94], -2
	v_add_f64 v[6:7], v[93:94], -v[6:7]
	v_add_f64 v[20:21], v[20:21], -v[51:52]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[31:32]|
	v_add_f64 v[6:7], v[26:27], -v[6:7]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[22:23], v[20:21]
	v_fract_f64_e32 v[22:23], v[31:32]
	v_cndmask_b32_e32 v22, 0, v22, vcc_lo
	v_mul_f64 v[95:96], v[97:98], v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v23, 0, v23, vcc_lo
	v_ldexp_f64 v[22:23], v[22:23], 2
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[51:52], v[95:96], v[121:122]
	v_fma_f64 v[4:5], v[97:98], v[4:5], -v[95:96]
	v_add_f64 v[26:27], v[51:52], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[31:32], v[6:7], v[26:27]
	v_add_f64 v[123:124], v[26:27], -v[51:52]
	v_add_f64 v[93:94], v[31:32], v[22:23]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_add_f64 v[129:130], v[26:27], -v[123:124]
	v_add_f64 v[20:21], v[20:21], -v[123:124]
	v_add_f64 v[6:7], v[31:32], -v[6:7]
	v_cmp_gt_f64_e32 vcc_lo, 0, v[93:94]
	v_add_f64 v[93:94], v[51:52], -v[95:96]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[26:27], -v[6:7]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	v_add_f64 v[127:128], v[51:52], -v[93:94]
	v_add_f64 v[93:94], v[121:122], -v[93:94]
	v_add_f64 v[51:52], v[51:52], -v[129:130]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[22:23], v[22:23], v[8:9]
	v_add_f64 v[121:122], v[95:96], -v[127:128]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[20:21], v[20:21], v[51:52]
	v_add_f64 v[125:126], v[31:32], v[22:23]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[93:94], v[93:94], v[121:122]
	v_cvt_i32_f64_e32 v0, v[125:126]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[93:94], v[20:21]
	v_cvt_f64_i32_e32 v[123:124], v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[4:5], v[20:21]
	v_add_f64 v[22:23], v[22:23], -v[123:124]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[6:7], v[4:5]
	v_add_f64 v[51:52], v[31:32], v[22:23]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[51:52], -v[22:23]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[51:52]
	v_add_f64 v[6:7], v[31:32], -v[20:21]
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_co_ci_u32_e64 v2, s0, 0, v0, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[4:5], v[4:5], v[6:7]
	v_add_f64 v[6:7], v[51:52], -v[8:9]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[6:7], v[4:5]
	v_mul_f64 v[22:23], v[20:21], s[4:5]
	v_add_f64 v[6:7], v[20:21], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[26:27], v[20:21], s[4:5], -v[22:23]
	v_add_f64 v[4:5], v[4:5], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[6:7], v[20:21], s[56:57], v[26:27]
	v_fma_f64 v[4:5], v[4:5], s[4:5], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[93:94], v[22:23], v[4:5]
	v_add_f64 v[6:7], v[93:94], -v[22:23]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[95:96], v[4:5], -v[6:7]
.LBB0_69:                               ; %Flow543
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_71
; %bb.70:                               ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[4:5], |v[35:36]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[4:5], v[4:5]
	v_fma_f64 v[6:7], v[4:5], s[26:27], |v[35:36]|
	v_mul_f64 v[20:21], v[4:5], s[62:63]
	v_cvt_i32_f64_e32 v2, v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[26:27], v[4:5], s[62:63], v[6:7]
	v_add_f64 v[22:23], v[6:7], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[6:7], -v[22:23]
	v_add_f64 v[22:23], v[22:23], -v[26:27]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[6:7], v[6:7], v[20:21]
	v_fma_f64 v[20:21], v[4:5], s[54:55], v[20:21]
	v_add_f64 v[6:7], v[22:23], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[6:7], -v[20:21]
	v_fma_f64 v[6:7], v[4:5], s[70:71], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[93:94], v[26:27], v[6:7]
	v_add_f64 v[20:21], v[93:94], -v[26:27]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[95:96], v[6:7], -v[20:21]
.LBB0_71:                               ; %_ZL3sind.exit328
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr0
                                        ; implicit-def: $vgpr121_vgpr122
                                        ; implicit-def: $vgpr123_vgpr124
	s_and_saveexec_b32 s0, s33
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_73
; %bb.72:                               ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[47:48]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_dual_cndmask_b32 v5, v24, v116 :: v_dual_cndmask_b32 v4, v47, v115
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_mul_f64 v[6:7], v[113:114], v[4:5]
	v_mul_f64 v[20:21], v[111:112], v[4:5]
	v_mul_f64 v[123:124], v[109:110], v[4:5]
	v_fma_f64 v[22:23], v[113:114], v[4:5], -v[6:7]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[125:126], v[111:112], v[4:5], -v[20:21]
	v_fma_f64 v[4:5], v[109:110], v[4:5], -v[123:124]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[26:27], v[20:21], v[22:23]
	v_add_f64 v[31:32], v[26:27], -v[20:21]
	v_add_f64 v[121:122], v[6:7], v[26:27]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[51:52], v[26:27], -v[31:32]
	v_add_f64 v[22:23], v[22:23], -v[31:32]
	v_ldexp_f64 v[31:32], v[121:122], -2
	v_add_f64 v[6:7], v[121:122], -v[6:7]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_add_f64 v[20:21], v[20:21], -v[51:52]
	v_add_f64 v[51:52], v[123:124], v[125:126]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[31:32]|
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[6:7], v[26:27], -v[6:7]
	v_add_f64 v[20:21], v[22:23], v[20:21]
	v_fract_f64_e32 v[22:23], v[31:32]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[26:27], v[51:52], v[20:21]
	v_dual_cndmask_b32 v23, 0, v23 :: v_dual_cndmask_b32 v22, 0, v22
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_ldexp_f64 v[22:23], v[22:23], 2
	v_add_f64 v[31:32], v[6:7], v[26:27]
	v_add_f64 v[127:128], v[26:27], -v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[121:122], v[31:32], v[22:23]
	v_add_f64 v[133:134], v[26:27], -v[127:128]
	v_add_f64 v[20:21], v[20:21], -v[127:128]
	v_add_f64 v[6:7], v[31:32], -v[6:7]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cmp_gt_f64_e32 vcc_lo, 0, v[121:122]
	v_add_f64 v[121:122], v[51:52], -v[123:124]
	v_add_f64 v[6:7], v[26:27], -v[6:7]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_add_f64 v[131:132], v[51:52], -v[121:122]
	v_add_f64 v[121:122], v[125:126], -v[121:122]
	v_add_f64 v[51:52], v[51:52], -v[133:134]
	v_add_f64 v[22:23], v[22:23], v[8:9]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[125:126], v[123:124], -v[131:132]
	v_add_f64 v[20:21], v[20:21], v[51:52]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[129:130], v[31:32], v[22:23]
	v_add_f64 v[121:122], v[121:122], v[125:126]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_i32_f64_e32 v0, v[129:130]
	v_add_f64 v[20:21], v[121:122], v[20:21]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_f64_i32_e32 v[127:128], v0
	v_add_f64 v[4:5], v[4:5], v[20:21]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[22:23], v[22:23], -v[127:128]
	v_add_f64 v[4:5], v[6:7], v[4:5]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[31:32], v[22:23]
	v_add_f64 v[20:21], v[51:52], -v[22:23]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[31:32], -v[20:21]
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_co_ci_u32_e64 v0, s0, 0, v0, vcc_lo
	v_add_f64 v[4:5], v[4:5], v[6:7]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[51:52], -v[8:9]
	v_add_f64 v[20:21], v[6:7], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[22:23], v[20:21], s[4:5]
	v_add_f64 v[6:7], v[20:21], -v[6:7]
	v_fma_f64 v[26:27], v[20:21], s[4:5], -v[22:23]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[4:5], -v[6:7]
	v_fma_f64 v[6:7], v[20:21], s[56:57], v[26:27]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[4:5], s[4:5], v[6:7]
	v_add_f64 v[121:122], v[22:23], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[121:122], -v[22:23]
	v_add_f64 v[123:124], v[4:5], -v[6:7]
.LBB0_73:                               ; %Flow542
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_75
; %bb.74:                               ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[4:5], |v[47:48]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[4:5], v[4:5]
	v_fma_f64 v[6:7], v[4:5], s[26:27], |v[47:48]|
	v_mul_f64 v[20:21], v[4:5], s[62:63]
	v_cvt_i32_f64_e32 v0, v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[26:27], v[4:5], s[62:63], v[6:7]
	v_add_f64 v[22:23], v[6:7], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[6:7], -v[22:23]
	v_add_f64 v[22:23], v[22:23], -v[26:27]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[6:7], v[6:7], v[20:21]
	v_fma_f64 v[20:21], v[4:5], s[54:55], v[20:21]
	v_add_f64 v[6:7], v[22:23], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[6:7], -v[20:21]
	v_fma_f64 v[6:7], v[4:5], s[70:71], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[121:122], v[26:27], v[6:7]
	v_add_f64 v[20:21], v[121:122], -v[26:27]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[123:124], v[6:7], -v[20:21]
.LBB0_75:                               ; %_ZL3cosd.exit333
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr6
                                        ; implicit-def: $vgpr125_vgpr126
                                        ; implicit-def: $vgpr127_vgpr128
	s_and_saveexec_b32 s0, s1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_77
; %bb.76:                               ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[35:36]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_cndmask_b32_e32 v5, v19, v108, vcc_lo
	v_cndmask_b32_e32 v4, v35, v107, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[6:7], v[105:106], v[4:5]
	v_mul_f64 v[20:21], v[103:104], v[4:5]
	v_fma_f64 v[22:23], v[105:106], v[4:5], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[129:130], v[103:104], v[4:5], -v[20:21]
	v_add_f64 v[26:27], v[20:21], v[22:23]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[31:32], v[26:27], -v[20:21]
	v_add_f64 v[125:126], v[6:7], v[26:27]
	v_add_f64 v[51:52], v[26:27], -v[31:32]
	v_add_f64 v[22:23], v[22:23], -v[31:32]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_ldexp_f64 v[31:32], v[125:126], -2
	v_add_f64 v[6:7], v[125:126], -v[6:7]
	v_add_f64 v[20:21], v[20:21], -v[51:52]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[31:32]|
	v_add_f64 v[6:7], v[26:27], -v[6:7]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[22:23], v[20:21]
	v_fract_f64_e32 v[22:23], v[31:32]
	v_cndmask_b32_e32 v22, 0, v22, vcc_lo
	v_mul_f64 v[127:128], v[97:98], v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v23, 0, v23, vcc_lo
	v_ldexp_f64 v[22:23], v[22:23], 2
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[51:52], v[127:128], v[129:130]
	v_fma_f64 v[4:5], v[97:98], v[4:5], -v[127:128]
	v_add_f64 v[26:27], v[51:52], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[31:32], v[6:7], v[26:27]
	v_add_f64 v[131:132], v[26:27], -v[51:52]
	v_add_f64 v[125:126], v[31:32], v[22:23]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_add_f64 v[137:138], v[26:27], -v[131:132]
	v_add_f64 v[20:21], v[20:21], -v[131:132]
	v_add_f64 v[6:7], v[31:32], -v[6:7]
	v_cmp_gt_f64_e32 vcc_lo, 0, v[125:126]
	v_add_f64 v[125:126], v[51:52], -v[127:128]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[26:27], -v[6:7]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	v_add_f64 v[135:136], v[51:52], -v[125:126]
	v_add_f64 v[125:126], v[129:130], -v[125:126]
	v_add_f64 v[51:52], v[51:52], -v[137:138]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[22:23], v[22:23], v[8:9]
	v_add_f64 v[129:130], v[127:128], -v[135:136]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[20:21], v[20:21], v[51:52]
	v_add_f64 v[133:134], v[31:32], v[22:23]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[125:126], v[125:126], v[129:130]
	v_cvt_i32_f64_e32 v9, v[133:134]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[125:126], v[20:21]
	v_cvt_f64_i32_e32 v[131:132], v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[4:5], v[20:21]
	v_add_f64 v[22:23], v[22:23], -v[131:132]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[6:7], v[4:5]
	v_add_f64 v[51:52], v[31:32], v[22:23]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[51:52], -v[22:23]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[51:52]
	v_add_f64 v[20:21], v[31:32], -v[20:21]
	v_add_co_ci_u32_e64 v6, s0, 0, v9, vcc_lo
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[4:5], v[20:21]
	v_add_f64 v[20:21], v[51:52], -v[8:9]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[22:23], v[20:21], v[4:5]
	v_mul_f64 v[26:27], v[22:23], s[4:5]
	v_add_f64 v[20:21], v[22:23], -v[20:21]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[31:32], v[22:23], s[4:5], -v[26:27]
	v_add_f64 v[4:5], v[4:5], -v[20:21]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[20:21], v[22:23], s[56:57], v[31:32]
	v_fma_f64 v[4:5], v[4:5], s[4:5], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[125:126], v[26:27], v[4:5]
	v_add_f64 v[20:21], v[125:126], -v[26:27]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[127:128], v[4:5], -v[20:21]
.LBB0_77:                               ; %Flow541
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_79
; %bb.78:                               ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[4:5], |v[35:36]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[4:5], v[4:5]
	v_fma_f64 v[6:7], v[4:5], s[26:27], |v[35:36]|
	v_mul_f64 v[20:21], v[4:5], s[62:63]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[26:27], v[4:5], s[62:63], v[6:7]
	v_add_f64 v[22:23], v[6:7], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[6:7], v[6:7], -v[22:23]
	v_add_f64 v[22:23], v[22:23], -v[26:27]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[6:7], v[6:7], v[20:21]
	v_fma_f64 v[20:21], v[4:5], s[54:55], v[20:21]
	v_add_f64 v[6:7], v[22:23], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[6:7], -v[20:21]
	v_fma_f64 v[6:7], v[4:5], s[70:71], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[125:126], v[26:27], v[6:7]
	v_add_f64 v[20:21], v[125:126], -v[26:27]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[127:128], v[6:7], -v[20:21]
	v_cvt_i32_f64_e32 v6, v[4:5]
.LBB0_79:                               ; %_ZL3cosd.exit338
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr20
                                        ; implicit-def: $vgpr133_vgpr134
                                        ; implicit-def: $vgpr135_vgpr136
	s_and_saveexec_b32 s0, s33
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_81
; %bb.80:                               ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[47:48]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_dual_cndmask_b32 v5, v24, v116 :: v_dual_cndmask_b32 v4, v47, v115
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_mul_f64 v[20:21], v[113:114], v[4:5]
	v_mul_f64 v[22:23], v[111:112], v[4:5]
	v_mul_f64 v[133:134], v[109:110], v[4:5]
	v_fma_f64 v[26:27], v[113:114], v[4:5], -v[20:21]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[135:136], v[111:112], v[4:5], -v[22:23]
	v_fma_f64 v[4:5], v[109:110], v[4:5], -v[133:134]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[31:32], v[22:23], v[26:27]
	v_add_f64 v[51:52], v[31:32], -v[22:23]
	v_add_f64 v[131:132], v[20:21], v[31:32]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[129:130], v[31:32], -v[51:52]
	v_add_f64 v[26:27], v[26:27], -v[51:52]
	v_ldexp_f64 v[51:52], v[131:132], -2
	v_add_f64 v[20:21], v[131:132], -v[20:21]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_add_f64 v[22:23], v[22:23], -v[129:130]
	v_add_f64 v[129:130], v[133:134], v[135:136]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[51:52]|
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[20:21], v[31:32], -v[20:21]
	v_add_f64 v[22:23], v[26:27], v[22:23]
	v_fract_f64_e32 v[26:27], v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[31:32], v[129:130], v[22:23]
	v_dual_cndmask_b32 v27, 0, v27 :: v_dual_cndmask_b32 v26, 0, v26
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_ldexp_f64 v[26:27], v[26:27], 2
	v_add_f64 v[51:52], v[20:21], v[31:32]
	v_add_f64 v[137:138], v[31:32], -v[129:130]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[131:132], v[51:52], v[26:27]
	v_add_f64 v[143:144], v[31:32], -v[137:138]
	v_add_f64 v[22:23], v[22:23], -v[137:138]
	v_add_f64 v[20:21], v[51:52], -v[20:21]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cmp_gt_f64_e32 vcc_lo, 0, v[131:132]
	v_add_f64 v[131:132], v[129:130], -v[133:134]
	v_add_f64 v[20:21], v[31:32], -v[20:21]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_add_f64 v[141:142], v[129:130], -v[131:132]
	v_add_f64 v[131:132], v[135:136], -v[131:132]
	v_add_f64 v[129:130], v[129:130], -v[143:144]
	v_add_f64 v[26:27], v[26:27], v[8:9]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[135:136], v[133:134], -v[141:142]
	v_add_f64 v[22:23], v[22:23], v[129:130]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[139:140], v[51:52], v[26:27]
	v_add_f64 v[131:132], v[131:132], v[135:136]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_i32_f64_e32 v7, v[139:140]
	v_add_f64 v[22:23], v[131:132], v[22:23]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_f64_i32_e32 v[137:138], v7
	v_add_f64 v[4:5], v[4:5], v[22:23]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[26:27], v[26:27], -v[137:138]
	v_add_f64 v[4:5], v[20:21], v[4:5]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[129:130], v[51:52], v[26:27]
	v_add_f64 v[22:23], v[129:130], -v[26:27]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[129:130]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_add_f64 v[21:22], v[51:52], -v[22:23]
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_co_ci_u32_e64 v20, s0, 0, v7, vcc_lo
	v_add_f64 v[4:5], v[4:5], v[21:22]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[21:22], v[129:130], -v[8:9]
	v_add_f64 v[26:27], v[21:22], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[31:32], v[26:27], s[4:5]
	v_add_f64 v[21:22], v[26:27], -v[21:22]
	v_fma_f64 v[51:52], v[26:27], s[4:5], -v[31:32]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[4:5], -v[21:22]
	v_fma_f64 v[21:22], v[26:27], s[56:57], v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[4:5], s[4:5], v[21:22]
	v_add_f64 v[133:134], v[31:32], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[21:22], v[133:134], -v[31:32]
	v_add_f64 v[135:136], v[4:5], -v[21:22]
.LBB0_81:                               ; %Flow540
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_83
; %bb.82:                               ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[4:5], |v[47:48]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[4:5], v[4:5]
	v_fma_f64 v[20:21], v[4:5], s[26:27], |v[47:48]|
	v_mul_f64 v[22:23], v[4:5], s[62:63]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[31:32], v[4:5], s[62:63], v[20:21]
	v_add_f64 v[26:27], v[20:21], v[22:23]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[20:21], v[20:21], -v[26:27]
	v_add_f64 v[26:27], v[26:27], -v[31:32]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[20:21], v[20:21], v[22:23]
	v_fma_f64 v[22:23], v[4:5], s[54:55], v[22:23]
	v_add_f64 v[20:21], v[26:27], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[20:21], v[20:21], -v[22:23]
	v_fma_f64 v[20:21], v[4:5], s[70:71], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[133:134], v[31:32], v[20:21]
	v_add_f64 v[22:23], v[133:134], -v[31:32]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[135:136], v[20:21], -v[22:23]
	v_cvt_i32_f64_e32 v20, v[4:5]
.LBB0_83:                               ; %_ZL3cosd.exit343
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr7
                                        ; implicit-def: $vgpr129_vgpr130
                                        ; implicit-def: $vgpr131_vgpr132
	s_and_saveexec_b32 s0, s1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_85
; %bb.84:                               ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[35:36]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_cndmask_b32_e32 v5, v19, v108, vcc_lo
	v_cndmask_b32_e32 v4, v35, v107, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_mul_f64 v[21:22], v[105:106], v[4:5]
	v_mul_f64 v[26:27], v[103:104], v[4:5]
	v_mul_f64 v[139:140], v[97:98], v[4:5]
	v_fma_f64 v[31:32], v[105:106], v[4:5], -v[21:22]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[141:142], v[103:104], v[4:5], -v[26:27]
	v_fma_f64 v[4:5], v[97:98], v[4:5], -v[139:140]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[26:27], v[31:32]
	v_add_f64 v[129:130], v[51:52], -v[26:27]
	v_add_f64 v[137:138], v[21:22], v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[131:132], v[51:52], -v[129:130]
	v_add_f64 v[31:32], v[31:32], -v[129:130]
	v_ldexp_f64 v[129:130], v[137:138], -2
	v_add_f64 v[21:22], v[137:138], -v[21:22]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_add_f64 v[26:27], v[26:27], -v[131:132]
	v_add_f64 v[131:132], v[139:140], v[141:142]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[129:130]|
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[21:22], v[51:52], -v[21:22]
	v_add_f64 v[26:27], v[31:32], v[26:27]
	v_fract_f64_e32 v[31:32], v[129:130]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[51:52], v[131:132], v[26:27]
	v_dual_cndmask_b32 v32, 0, v32 :: v_dual_cndmask_b32 v31, 0, v31
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_ldexp_f64 v[31:32], v[31:32], 2
	v_add_f64 v[129:130], v[21:22], v[51:52]
	v_add_f64 v[143:144], v[51:52], -v[131:132]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[137:138], v[129:130], v[31:32]
	v_add_f64 v[149:150], v[51:52], -v[143:144]
	v_add_f64 v[26:27], v[26:27], -v[143:144]
	v_add_f64 v[21:22], v[129:130], -v[21:22]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cmp_gt_f64_e32 vcc_lo, 0, v[137:138]
	v_add_f64 v[137:138], v[131:132], -v[139:140]
	v_add_f64 v[21:22], v[51:52], -v[21:22]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_add_f64 v[147:148], v[131:132], -v[137:138]
	v_add_f64 v[137:138], v[141:142], -v[137:138]
	v_add_f64 v[131:132], v[131:132], -v[149:150]
	v_add_f64 v[31:32], v[31:32], v[8:9]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[141:142], v[139:140], -v[147:148]
	v_add_f64 v[26:27], v[26:27], v[131:132]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[145:146], v[129:130], v[31:32]
	v_add_f64 v[137:138], v[137:138], v[141:142]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_i32_f64_e32 v7, v[145:146]
	v_add_f64 v[26:27], v[137:138], v[26:27]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_f64_i32_e32 v[143:144], v7
	v_add_f64 v[4:5], v[4:5], v[26:27]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[31:32], v[31:32], -v[143:144]
	v_add_f64 v[4:5], v[21:22], v[4:5]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[131:132], v[129:130], v[31:32]
	v_add_f64 v[26:27], v[131:132], -v[31:32]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[131:132]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_add_f64 v[21:22], v[129:130], -v[26:27]
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_co_ci_u32_e64 v7, s0, 0, v7, vcc_lo
	v_add_f64 v[4:5], v[4:5], v[21:22]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[21:22], v[131:132], -v[8:9]
	v_add_f64 v[26:27], v[21:22], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[31:32], v[26:27], s[4:5]
	v_add_f64 v[21:22], v[26:27], -v[21:22]
	v_fma_f64 v[51:52], v[26:27], s[4:5], -v[31:32]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[4:5], -v[21:22]
	v_fma_f64 v[21:22], v[26:27], s[56:57], v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[4:5], s[4:5], v[21:22]
	v_add_f64 v[129:130], v[31:32], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[21:22], v[129:130], -v[31:32]
	v_add_f64 v[131:132], v[4:5], -v[21:22]
.LBB0_85:                               ; %Flow539
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_87
; %bb.86:                               ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[4:5], |v[35:36]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[4:5], v[4:5]
	v_fma_f64 v[21:22], v[4:5], s[26:27], |v[35:36]|
	v_mul_f64 v[26:27], v[4:5], s[62:63]
	v_cvt_i32_f64_e32 v7, v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[51:52], v[4:5], s[62:63], v[21:22]
	v_add_f64 v[31:32], v[21:22], v[26:27]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[21:22], v[21:22], -v[31:32]
	v_add_f64 v[31:32], v[31:32], -v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[21:22], v[21:22], v[26:27]
	v_fma_f64 v[26:27], v[4:5], s[54:55], v[26:27]
	v_add_f64 v[21:22], v[31:32], v[21:22]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[21:22], v[21:22], -v[26:27]
	v_fma_f64 v[21:22], v[4:5], s[70:71], v[21:22]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[129:130], v[51:52], v[21:22]
	v_add_f64 v[26:27], v[129:130], -v[51:52]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[131:132], v[21:22], -v[26:27]
.LBB0_87:                               ; %_ZL3sind.exit348
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr22
                                        ; implicit-def: $vgpr141_vgpr142
                                        ; implicit-def: $vgpr143_vgpr144
	s_and_saveexec_b32 s0, s33
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_89
; %bb.88:                               ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[47:48]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_dual_cndmask_b32 v5, v24, v116 :: v_dual_cndmask_b32 v4, v47, v115
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_mul_f64 v[21:22], v[113:114], v[4:5]
	v_mul_f64 v[26:27], v[111:112], v[4:5]
	v_mul_f64 v[143:144], v[109:110], v[4:5]
	v_fma_f64 v[31:32], v[113:114], v[4:5], -v[21:22]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[145:146], v[111:112], v[4:5], -v[26:27]
	v_fma_f64 v[4:5], v[109:110], v[4:5], -v[143:144]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[26:27], v[31:32]
	v_add_f64 v[137:138], v[51:52], -v[26:27]
	v_add_f64 v[141:142], v[21:22], v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[139:140], v[51:52], -v[137:138]
	v_add_f64 v[31:32], v[31:32], -v[137:138]
	v_ldexp_f64 v[137:138], v[141:142], -2
	v_add_f64 v[21:22], v[141:142], -v[21:22]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_add_f64 v[26:27], v[26:27], -v[139:140]
	v_add_f64 v[139:140], v[143:144], v[145:146]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[137:138]|
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[21:22], v[51:52], -v[21:22]
	v_add_f64 v[26:27], v[31:32], v[26:27]
	v_fract_f64_e32 v[31:32], v[137:138]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[51:52], v[139:140], v[26:27]
	v_dual_cndmask_b32 v32, 0, v32 :: v_dual_cndmask_b32 v31, 0, v31
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_ldexp_f64 v[31:32], v[31:32], 2
	v_add_f64 v[137:138], v[21:22], v[51:52]
	v_add_f64 v[147:148], v[51:52], -v[139:140]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[141:142], v[137:138], v[31:32]
	v_add_f64 v[153:154], v[51:52], -v[147:148]
	v_add_f64 v[26:27], v[26:27], -v[147:148]
	v_add_f64 v[21:22], v[137:138], -v[21:22]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cmp_gt_f64_e32 vcc_lo, 0, v[141:142]
	v_add_f64 v[141:142], v[139:140], -v[143:144]
	v_add_f64 v[21:22], v[51:52], -v[21:22]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_add_f64 v[151:152], v[139:140], -v[141:142]
	v_add_f64 v[141:142], v[145:146], -v[141:142]
	v_add_f64 v[139:140], v[139:140], -v[153:154]
	v_add_f64 v[31:32], v[31:32], v[8:9]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[145:146], v[143:144], -v[151:152]
	v_add_f64 v[26:27], v[26:27], v[139:140]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[149:150], v[137:138], v[31:32]
	v_add_f64 v[141:142], v[141:142], v[145:146]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_i32_f64_e32 v9, v[149:150]
	v_add_f64 v[26:27], v[141:142], v[26:27]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_f64_i32_e32 v[147:148], v9
	v_add_f64 v[4:5], v[4:5], v[26:27]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[31:32], v[31:32], -v[147:148]
	v_add_f64 v[4:5], v[21:22], v[4:5]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[139:140], v[137:138], v[31:32]
	v_add_f64 v[26:27], v[139:140], -v[31:32]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[139:140]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_add_f64 v[26:27], v[137:138], -v[26:27]
	v_add_co_ci_u32_e64 v22, s0, 0, v9, vcc_lo
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_f64 v[4:5], v[4:5], v[26:27]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[26:27], v[139:140], -v[8:9]
	v_add_f64 v[31:32], v[26:27], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[51:52], v[31:32], s[4:5]
	v_add_f64 v[26:27], v[31:32], -v[26:27]
	v_fma_f64 v[137:138], v[31:32], s[4:5], -v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[4:5], -v[26:27]
	v_fma_f64 v[26:27], v[31:32], s[56:57], v[137:138]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[4:5], s[4:5], v[26:27]
	v_add_f64 v[141:142], v[51:52], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[26:27], v[141:142], -v[51:52]
	v_add_f64 v[143:144], v[4:5], -v[26:27]
.LBB0_89:                               ; %Flow538
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_91
; %bb.90:                               ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[4:5], |v[47:48]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[4:5], v[4:5]
	v_fma_f64 v[21:22], v[4:5], s[26:27], |v[47:48]|
	v_mul_f64 v[26:27], v[4:5], s[62:63]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[51:52], v[4:5], s[62:63], v[21:22]
	v_add_f64 v[31:32], v[21:22], v[26:27]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[21:22], v[21:22], -v[31:32]
	v_add_f64 v[31:32], v[31:32], -v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[21:22], v[21:22], v[26:27]
	v_fma_f64 v[26:27], v[4:5], s[54:55], v[26:27]
	v_add_f64 v[21:22], v[31:32], v[21:22]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[21:22], v[21:22], -v[26:27]
	v_fma_f64 v[21:22], v[4:5], s[70:71], v[21:22]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[141:142], v[51:52], v[21:22]
	v_add_f64 v[26:27], v[141:142], -v[51:52]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[143:144], v[21:22], -v[26:27]
	v_cvt_i32_f64_e32 v22, v[4:5]
.LBB0_91:                               ; %_ZL3sind.exit353
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr21
                                        ; implicit-def: $vgpr137_vgpr138
                                        ; implicit-def: $vgpr139_vgpr140
	s_and_saveexec_b32 s0, s1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_93
; %bb.92:                               ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[35:36]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_cndmask_b32_e32 v5, v19, v108, vcc_lo
	v_cndmask_b32_e32 v4, v35, v107, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_mul_f64 v[26:27], v[105:106], v[4:5]
	v_mul_f64 v[31:32], v[103:104], v[4:5]
	v_mul_f64 v[149:150], v[97:98], v[4:5]
	v_fma_f64 v[51:52], v[105:106], v[4:5], -v[26:27]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[151:152], v[103:104], v[4:5], -v[31:32]
	v_fma_f64 v[4:5], v[97:98], v[4:5], -v[149:150]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[137:138], v[31:32], v[51:52]
	v_add_f64 v[139:140], v[137:138], -v[31:32]
	v_add_f64 v[147:148], v[26:27], v[137:138]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[145:146], v[137:138], -v[139:140]
	v_add_f64 v[51:52], v[51:52], -v[139:140]
	v_ldexp_f64 v[139:140], v[147:148], -2
	v_add_f64 v[26:27], v[147:148], -v[26:27]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_add_f64 v[31:32], v[31:32], -v[145:146]
	v_add_f64 v[145:146], v[149:150], v[151:152]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[139:140]|
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[26:27], v[137:138], -v[26:27]
	v_add_f64 v[31:32], v[51:52], v[31:32]
	v_fract_f64_e32 v[51:52], v[139:140]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[137:138], v[145:146], v[31:32]
	v_dual_cndmask_b32 v52, 0, v52 :: v_dual_cndmask_b32 v51, 0, v51
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_ldexp_f64 v[51:52], v[51:52], 2
	v_add_f64 v[139:140], v[26:27], v[137:138]
	v_add_f64 v[153:154], v[137:138], -v[145:146]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[147:148], v[139:140], v[51:52]
	v_add_f64 v[159:160], v[137:138], -v[153:154]
	v_add_f64 v[31:32], v[31:32], -v[153:154]
	v_add_f64 v[26:27], v[139:140], -v[26:27]
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cmp_gt_f64_e32 vcc_lo, 0, v[147:148]
	v_add_f64 v[147:148], v[145:146], -v[149:150]
	v_add_f64 v[26:27], v[137:138], -v[26:27]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_add_f64 v[157:158], v[145:146], -v[147:148]
	v_add_f64 v[147:148], v[151:152], -v[147:148]
	v_add_f64 v[145:146], v[145:146], -v[159:160]
	v_add_f64 v[51:52], v[51:52], v[8:9]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[151:152], v[149:150], -v[157:158]
	v_add_f64 v[31:32], v[31:32], v[145:146]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[155:156], v[139:140], v[51:52]
	v_add_f64 v[147:148], v[147:148], v[151:152]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_i32_f64_e32 v9, v[155:156]
	v_add_f64 v[31:32], v[147:148], v[31:32]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cvt_f64_i32_e32 v[153:154], v9
	v_add_f64 v[4:5], v[4:5], v[31:32]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[51:52], v[51:52], -v[153:154]
	v_add_f64 v[4:5], v[26:27], v[4:5]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[145:146], v[139:140], v[51:52]
	v_add_f64 v[31:32], v[145:146], -v[51:52]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[145:146]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_add_f64 v[26:27], v[139:140], -v[31:32]
	v_add_co_ci_u32_e64 v21, s0, 0, v9, vcc_lo
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_f64 v[4:5], v[4:5], v[26:27]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[26:27], v[145:146], -v[8:9]
	v_add_f64 v[31:32], v[26:27], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[51:52], v[31:32], s[4:5]
	v_add_f64 v[26:27], v[31:32], -v[26:27]
	v_fma_f64 v[137:138], v[31:32], s[4:5], -v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[4:5], -v[26:27]
	v_fma_f64 v[26:27], v[31:32], s[56:57], v[137:138]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[4:5], s[4:5], v[26:27]
	v_add_f64 v[137:138], v[51:52], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[26:27], v[137:138], -v[51:52]
	v_add_f64 v[139:140], v[4:5], -v[26:27]
.LBB0_93:                               ; %Flow537
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_95
; %bb.94:                               ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[4:5], |v[35:36]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[4:5], v[4:5]
	v_fma_f64 v[26:27], v[4:5], s[26:27], |v[35:36]|
	v_mul_f64 v[31:32], v[4:5], s[62:63]
	v_cvt_i32_f64_e32 v21, v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[139:140], v[4:5], s[62:63], v[26:27]
	v_add_f64 v[51:52], v[26:27], v[31:32]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[26:27], v[26:27], -v[51:52]
	v_add_f64 v[51:52], v[51:52], -v[139:140]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[26:27], v[26:27], v[31:32]
	v_fma_f64 v[31:32], v[4:5], s[54:55], v[31:32]
	v_add_f64 v[26:27], v[51:52], v[26:27]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[26:27], v[26:27], -v[31:32]
	v_fma_f64 v[26:27], v[4:5], s[70:71], v[26:27]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[137:138], v[139:140], v[26:27]
	v_add_f64 v[31:32], v[137:138], -v[139:140]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[139:140], v[26:27], -v[31:32]
.LBB0_95:                               ; %_ZL3cosd.exit358
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr26
                                        ; implicit-def: $vgpr149_vgpr150
                                        ; implicit-def: $vgpr151_vgpr152
	s_and_saveexec_b32 s0, s33
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_97
; %bb.96:                               ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[47:48]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_dual_cndmask_b32 v5, v24, v116 :: v_dual_cndmask_b32 v4, v47, v115
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[31:32], v[113:114], v[4:5]
	v_mul_f64 v[26:27], v[111:112], v[4:5]
	v_fma_f64 v[51:52], v[113:114], v[4:5], -v[31:32]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[145:146], v[26:27], v[51:52]
	v_add_f64 v[147:148], v[31:32], v[145:146]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_ldexp_f64 v[149:150], v[147:148], -2
	v_add_f64 v[31:32], v[147:148], -v[31:32]
	v_fract_f64_e32 v[151:152], v[149:150]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[149:150]|
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[31:32], v[145:146], -v[31:32]
	v_dual_cndmask_b32 v150, 0, v152 :: v_dual_cndmask_b32 v149, 0, v151
	v_add_f64 v[151:152], v[145:146], -v[26:27]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[51:52], -v[151:152]
	v_add_f64 v[151:152], v[145:146], -v[151:152]
	v_add_f64 v[151:152], v[26:27], -v[151:152]
	v_fma_f64 v[26:27], v[111:112], v[4:5], -v[26:27]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[51:52], v[151:152]
	v_mul_f64 v[151:152], v[109:110], v[4:5]
	v_add_f64 v[153:154], v[151:152], v[26:27]
	v_fma_f64 v[4:5], v[109:110], v[4:5], -v[151:152]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[155:156], v[153:154], v[51:52]
	v_add_f64 v[147:148], v[155:156], -v[153:154]
	v_add_f64 v[145:146], v[31:32], v[155:156]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[51:52], v[51:52], -v[147:148]
	v_add_f64 v[147:148], v[155:156], -v[147:148]
	v_add_f64 v[31:32], v[145:146], -v[31:32]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[147:148], v[153:154], -v[147:148]
	v_add_f64 v[31:32], v[155:156], -v[31:32]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[51:52], v[147:148]
	v_add_f64 v[147:148], v[153:154], -v[151:152]
	v_add_f64 v[26:27], v[26:27], -v[147:148]
	v_add_f64 v[147:148], v[153:154], -v[147:148]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[147:148], v[151:152], -v[147:148]
	v_add_f64 v[26:27], v[26:27], v[147:148]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[26:27], v[26:27], v[51:52]
	v_add_f64 v[4:5], v[4:5], v[26:27]
	v_ldexp_f64 v[26:27], v[149:150], 2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[31:32], v[4:5]
	v_add_f64 v[31:32], v[145:146], v[26:27]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cmp_gt_f64_e32 vcc_lo, 0, v[31:32]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	v_add_f64 v[26:27], v[26:27], v[8:9]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[31:32], v[145:146], v[26:27]
	v_cvt_i32_f64_e32 v9, v[31:32]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cvt_f64_i32_e32 v[31:32], v9
	v_add_f64 v[26:27], v[26:27], -v[31:32]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[31:32], v[145:146], v[26:27]
	v_add_f64 v[26:27], v[31:32], -v[26:27]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[31:32]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[26:27], v[145:146], -v[26:27]
	v_add_f64 v[4:5], v[4:5], v[26:27]
	v_add_co_ci_u32_e64 v26, s0, 0, v9, vcc_lo
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[31:32], v[31:32], -v[8:9]
	v_add_f64 v[51:52], v[31:32], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[31:32], v[51:52], -v[31:32]
	v_add_f64 v[4:5], v[4:5], -v[31:32]
	v_mul_f64 v[31:32], v[51:52], s[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[145:146], v[51:52], s[4:5], -v[31:32]
	v_fma_f64 v[51:52], v[51:52], s[56:57], v[145:146]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[4:5], s[4:5], v[51:52]
	v_add_f64 v[149:150], v[31:32], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[31:32], v[149:150], -v[31:32]
	v_add_f64 v[151:152], v[4:5], -v[31:32]
.LBB0_97:                               ; %Flow536
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_99
; %bb.98:                               ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[4:5], |v[47:48]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[4:5], v[4:5]
	v_fma_f64 v[26:27], v[4:5], s[26:27], |v[47:48]|
	v_mul_f64 v[31:32], v[4:5], s[62:63]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[145:146], v[4:5], s[62:63], v[26:27]
	v_add_f64 v[51:52], v[26:27], v[31:32]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[26:27], v[26:27], -v[51:52]
	v_add_f64 v[51:52], v[51:52], -v[145:146]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[26:27], v[26:27], v[31:32]
	v_fma_f64 v[31:32], v[4:5], s[54:55], v[31:32]
	v_add_f64 v[26:27], v[51:52], v[26:27]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[26:27], v[26:27], -v[31:32]
	v_fma_f64 v[26:27], v[4:5], s[70:71], v[26:27]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[149:150], v[145:146], v[26:27]
	v_add_f64 v[31:32], v[149:150], -v[145:146]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[151:152], v[26:27], -v[31:32]
	v_cvt_i32_f64_e32 v26, v[4:5]
.LBB0_99:                               ; %_ZL3sind.exit363
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr23
                                        ; implicit-def: $vgpr145_vgpr146
                                        ; implicit-def: $vgpr147_vgpr148
	s_and_saveexec_b32 s0, s1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_101
; %bb.100:                              ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[35:36]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_cndmask_b32_e32 v5, v19, v108, vcc_lo
	v_cndmask_b32_e32 v4, v35, v107, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[51:52], v[105:106], v[4:5]
	v_mul_f64 v[31:32], v[103:104], v[4:5]
	v_fma_f64 v[145:146], v[105:106], v[4:5], -v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[147:148], v[31:32], v[145:146]
	v_add_f64 v[153:154], v[51:52], v[147:148]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_ldexp_f64 v[155:156], v[153:154], -2
	v_add_f64 v[51:52], v[153:154], -v[51:52]
	v_fract_f64_e32 v[157:158], v[155:156]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[155:156]|
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[51:52], v[147:148], -v[51:52]
	v_dual_cndmask_b32 v155, 0, v157 :: v_dual_cndmask_b32 v156, 0, v158
	v_add_f64 v[157:158], v[147:148], -v[31:32]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[145:146], v[145:146], -v[157:158]
	v_add_f64 v[157:158], v[147:148], -v[157:158]
	v_add_f64 v[157:158], v[31:32], -v[157:158]
	v_fma_f64 v[31:32], v[103:104], v[4:5], -v[31:32]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[145:146], v[145:146], v[157:158]
	v_mul_f64 v[157:158], v[97:98], v[4:5]
	v_add_f64 v[159:160], v[157:158], v[31:32]
	v_fma_f64 v[4:5], v[97:98], v[4:5], -v[157:158]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[161:162], v[159:160], v[145:146]
	v_add_f64 v[153:154], v[161:162], -v[159:160]
	v_add_f64 v[147:148], v[51:52], v[161:162]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[145:146], v[145:146], -v[153:154]
	v_add_f64 v[153:154], v[161:162], -v[153:154]
	v_add_f64 v[51:52], v[147:148], -v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[153:154], v[159:160], -v[153:154]
	v_add_f64 v[51:52], v[161:162], -v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[145:146], v[145:146], v[153:154]
	v_add_f64 v[153:154], v[159:160], -v[157:158]
	v_add_f64 v[31:32], v[31:32], -v[153:154]
	v_add_f64 v[153:154], v[159:160], -v[153:154]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[153:154], v[157:158], -v[153:154]
	v_add_f64 v[31:32], v[31:32], v[153:154]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[31:32], v[31:32], v[145:146]
	v_add_f64 v[4:5], v[4:5], v[31:32]
	v_ldexp_f64 v[31:32], v[155:156], 2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[51:52], v[4:5]
	v_add_f64 v[51:52], v[147:148], v[31:32]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cmp_gt_f64_e32 vcc_lo, 0, v[51:52]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	v_add_f64 v[31:32], v[31:32], v[8:9]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[147:148], v[31:32]
	v_cvt_i32_f64_e32 v9, v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cvt_f64_i32_e32 v[51:52], v9
	v_add_f64 v[31:32], v[31:32], -v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[147:148], v[31:32]
	v_add_f64 v[31:32], v[51:52], -v[31:32]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_add_f64 v[31:32], v[147:148], -v[31:32]
	v_add_co_ci_u32_e64 v23, s0, 0, v9, vcc_lo
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_f64 v[4:5], v[4:5], v[31:32]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[31:32], v[51:52], -v[8:9]
	v_add_f64 v[51:52], v[31:32], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[31:32], v[51:52], -v[31:32]
	v_add_f64 v[4:5], v[4:5], -v[31:32]
	v_mul_f64 v[31:32], v[51:52], s[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[145:146], v[51:52], s[4:5], -v[31:32]
	v_fma_f64 v[51:52], v[51:52], s[56:57], v[145:146]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[4:5], s[4:5], v[51:52]
	v_add_f64 v[145:146], v[31:32], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[31:32], v[145:146], -v[31:32]
	v_add_f64 v[147:148], v[4:5], -v[31:32]
.LBB0_101:                              ; %Flow535
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_103
; %bb.102:                              ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[4:5], |v[35:36]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[4:5], v[4:5]
	v_fma_f64 v[31:32], v[4:5], s[26:27], |v[35:36]|
	v_mul_f64 v[51:52], v[4:5], s[62:63]
	v_cvt_i32_f64_e32 v23, v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[147:148], v[4:5], s[62:63], v[31:32]
	v_add_f64 v[145:146], v[31:32], v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[31:32], v[31:32], -v[145:146]
	v_add_f64 v[145:146], v[145:146], -v[147:148]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[31:32], v[31:32], v[51:52]
	v_fma_f64 v[51:52], v[4:5], s[54:55], v[51:52]
	v_add_f64 v[31:32], v[145:146], v[31:32]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[31:32], v[31:32], -v[51:52]
	v_fma_f64 v[31:32], v[4:5], s[70:71], v[31:32]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[145:146], v[147:148], v[31:32]
	v_add_f64 v[51:52], v[145:146], -v[147:148]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[147:148], v[31:32], -v[51:52]
.LBB0_103:                              ; %_ZL3sind.exit368
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr27
                                        ; implicit-def: $vgpr153_vgpr154
                                        ; implicit-def: $vgpr155_vgpr156
	s_and_saveexec_b32 s0, s33
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_105
; %bb.104:                              ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[47:48]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_dual_cndmask_b32 v5, v24, v116 :: v_dual_cndmask_b32 v4, v47, v115
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[51:52], v[113:114], v[4:5]
	v_mul_f64 v[31:32], v[111:112], v[4:5]
	v_fma_f64 v[153:154], v[113:114], v[4:5], -v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[155:156], v[31:32], v[153:154]
	v_add_f64 v[157:158], v[51:52], v[155:156]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_ldexp_f64 v[159:160], v[157:158], -2
	v_add_f64 v[51:52], v[157:158], -v[51:52]
	v_fract_f64_e32 v[161:162], v[159:160]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[159:160]|
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[51:52], v[155:156], -v[51:52]
	v_dual_cndmask_b32 v160, 0, v162 :: v_dual_cndmask_b32 v159, 0, v161
	v_add_f64 v[161:162], v[155:156], -v[31:32]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[153:154], v[153:154], -v[161:162]
	v_add_f64 v[161:162], v[155:156], -v[161:162]
	v_add_f64 v[161:162], v[31:32], -v[161:162]
	v_fma_f64 v[31:32], v[111:112], v[4:5], -v[31:32]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[153:154], v[153:154], v[161:162]
	v_mul_f64 v[161:162], v[109:110], v[4:5]
	v_add_f64 v[163:164], v[161:162], v[31:32]
	v_fma_f64 v[4:5], v[109:110], v[4:5], -v[161:162]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[165:166], v[163:164], v[153:154]
	v_add_f64 v[157:158], v[165:166], -v[163:164]
	v_add_f64 v[155:156], v[51:52], v[165:166]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[153:154], v[153:154], -v[157:158]
	v_add_f64 v[157:158], v[165:166], -v[157:158]
	v_add_f64 v[51:52], v[155:156], -v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[157:158], v[163:164], -v[157:158]
	v_add_f64 v[51:52], v[165:166], -v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[153:154], v[153:154], v[157:158]
	v_add_f64 v[157:158], v[163:164], -v[161:162]
	v_add_f64 v[31:32], v[31:32], -v[157:158]
	v_add_f64 v[157:158], v[163:164], -v[157:158]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[157:158], v[161:162], -v[157:158]
	v_add_f64 v[31:32], v[31:32], v[157:158]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[31:32], v[31:32], v[153:154]
	v_add_f64 v[4:5], v[4:5], v[31:32]
	v_ldexp_f64 v[31:32], v[159:160], 2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[51:52], v[4:5]
	v_add_f64 v[51:52], v[155:156], v[31:32]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cmp_gt_f64_e32 vcc_lo, 0, v[51:52]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	v_add_f64 v[31:32], v[31:32], v[8:9]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[155:156], v[31:32]
	v_cvt_i32_f64_e32 v9, v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cvt_f64_i32_e32 v[51:52], v9
	v_add_f64 v[31:32], v[31:32], -v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[155:156], v[31:32]
	v_add_f64 v[31:32], v[51:52], -v[31:32]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_add_f64 v[31:32], v[155:156], -v[31:32]
	v_add_co_ci_u32_e64 v27, s0, 0, v9, vcc_lo
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_f64 v[4:5], v[4:5], v[31:32]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[31:32], v[51:52], -v[8:9]
	v_add_f64 v[51:52], v[31:32], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[31:32], v[51:52], -v[31:32]
	v_add_f64 v[4:5], v[4:5], -v[31:32]
	v_mul_f64 v[31:32], v[51:52], s[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[153:154], v[51:52], s[4:5], -v[31:32]
	v_fma_f64 v[51:52], v[51:52], s[56:57], v[153:154]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[4:5], s[4:5], v[51:52]
	v_add_f64 v[153:154], v[31:32], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[31:32], v[153:154], -v[31:32]
	v_add_f64 v[155:156], v[4:5], -v[31:32]
.LBB0_105:                              ; %Flow534
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_107
; %bb.106:                              ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[4:5], |v[47:48]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[4:5], v[4:5]
	v_fma_f64 v[31:32], v[4:5], s[26:27], |v[47:48]|
	v_mul_f64 v[51:52], v[4:5], s[62:63]
	v_cvt_i32_f64_e32 v27, v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[155:156], v[4:5], s[62:63], v[31:32]
	v_add_f64 v[153:154], v[31:32], v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[31:32], v[31:32], -v[153:154]
	v_add_f64 v[153:154], v[153:154], -v[155:156]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[31:32], v[31:32], v[51:52]
	v_fma_f64 v[51:52], v[4:5], s[54:55], v[51:52]
	v_add_f64 v[31:32], v[153:154], v[31:32]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[31:32], v[31:32], -v[51:52]
	v_fma_f64 v[31:32], v[4:5], s[70:71], v[31:32]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[153:154], v[155:156], v[31:32]
	v_add_f64 v[51:52], v[153:154], -v[155:156]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[155:156], v[31:32], -v[51:52]
.LBB0_107:                              ; %_ZL3cosd.exit378
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr31
                                        ; implicit-def: $vgpr157_vgpr158
                                        ; implicit-def: $vgpr159_vgpr160
	s_and_saveexec_b32 s0, s1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_109
; %bb.108:                              ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[35:36]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_cndmask_b32_e32 v5, v19, v108, vcc_lo
	v_cndmask_b32_e32 v4, v35, v107, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[51:52], v[105:106], v[4:5]
	v_mul_f64 v[31:32], v[103:104], v[4:5]
	v_fma_f64 v[157:158], v[105:106], v[4:5], -v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[159:160], v[31:32], v[157:158]
	v_add_f64 v[161:162], v[51:52], v[159:160]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_ldexp_f64 v[163:164], v[161:162], -2
	v_add_f64 v[51:52], v[161:162], -v[51:52]
	v_fract_f64_e32 v[165:166], v[163:164]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[163:164]|
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[51:52], v[159:160], -v[51:52]
	v_dual_cndmask_b32 v163, 0, v165 :: v_dual_cndmask_b32 v164, 0, v166
	v_add_f64 v[165:166], v[159:160], -v[31:32]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[157:158], v[157:158], -v[165:166]
	v_add_f64 v[165:166], v[159:160], -v[165:166]
	v_add_f64 v[165:166], v[31:32], -v[165:166]
	v_fma_f64 v[31:32], v[103:104], v[4:5], -v[31:32]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[157:158], v[157:158], v[165:166]
	v_mul_f64 v[165:166], v[97:98], v[4:5]
	v_add_f64 v[167:168], v[165:166], v[31:32]
	v_fma_f64 v[4:5], v[97:98], v[4:5], -v[165:166]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[169:170], v[167:168], v[157:158]
	v_add_f64 v[161:162], v[169:170], -v[167:168]
	v_add_f64 v[159:160], v[51:52], v[169:170]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[157:158], v[157:158], -v[161:162]
	v_add_f64 v[161:162], v[169:170], -v[161:162]
	v_add_f64 v[51:52], v[159:160], -v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[161:162], v[167:168], -v[161:162]
	v_add_f64 v[51:52], v[169:170], -v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[157:158], v[157:158], v[161:162]
	v_add_f64 v[161:162], v[167:168], -v[165:166]
	v_add_f64 v[31:32], v[31:32], -v[161:162]
	v_add_f64 v[161:162], v[167:168], -v[161:162]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[161:162], v[165:166], -v[161:162]
	v_add_f64 v[31:32], v[31:32], v[161:162]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[31:32], v[31:32], v[157:158]
	v_add_f64 v[4:5], v[4:5], v[31:32]
	v_ldexp_f64 v[31:32], v[163:164], 2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[51:52], v[4:5]
	v_add_f64 v[51:52], v[159:160], v[31:32]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cmp_gt_f64_e32 vcc_lo, 0, v[51:52]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	v_add_f64 v[31:32], v[31:32], v[8:9]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[159:160], v[31:32]
	v_cvt_i32_f64_e32 v9, v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cvt_f64_i32_e32 v[51:52], v9
	v_add_f64 v[31:32], v[31:32], -v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[159:160], v[31:32]
	v_add_f64 v[31:32], v[51:52], -v[31:32]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[31:32], v[159:160], -v[31:32]
	v_add_f64 v[4:5], v[4:5], v[31:32]
	v_add_co_ci_u32_e64 v31, s0, 0, v9, vcc_lo
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[51:52], -v[8:9]
	v_add_f64 v[157:158], v[51:52], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[157:158], -v[51:52]
	v_add_f64 v[4:5], v[4:5], -v[51:52]
	v_mul_f64 v[51:52], v[157:158], s[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[159:160], v[157:158], s[4:5], -v[51:52]
	v_fma_f64 v[157:158], v[157:158], s[56:57], v[159:160]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[4:5], s[4:5], v[157:158]
	v_add_f64 v[157:158], v[51:52], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[157:158], -v[51:52]
	v_add_f64 v[159:160], v[4:5], -v[51:52]
.LBB0_109:                              ; %Flow533
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_111
; %bb.110:                              ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[4:5], |v[35:36]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[4:5], v[4:5]
	v_fma_f64 v[31:32], v[4:5], s[26:27], |v[35:36]|
	v_mul_f64 v[51:52], v[4:5], s[62:63]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[159:160], v[4:5], s[62:63], v[31:32]
	v_add_f64 v[157:158], v[31:32], v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[31:32], v[31:32], -v[157:158]
	v_add_f64 v[157:158], v[157:158], -v[159:160]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[31:32], v[31:32], v[51:52]
	v_fma_f64 v[51:52], v[4:5], s[54:55], v[51:52]
	v_add_f64 v[31:32], v[157:158], v[31:32]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[31:32], v[31:32], -v[51:52]
	v_fma_f64 v[31:32], v[4:5], s[70:71], v[31:32]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[157:158], v[159:160], v[31:32]
	v_add_f64 v[51:52], v[157:158], -v[159:160]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[159:160], v[31:32], -v[51:52]
	v_cvt_i32_f64_e32 v31, v[4:5]
.LBB0_111:                              ; %_ZL3sind.exit383
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr32
                                        ; implicit-def: $vgpr161_vgpr162
                                        ; implicit-def: $vgpr163_vgpr164
	s_and_saveexec_b32 s0, s33
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_113
; %bb.112:                              ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[47:48]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_dual_cndmask_b32 v5, v24, v116 :: v_dual_cndmask_b32 v4, v47, v115
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[161:162], v[113:114], v[4:5]
	v_mul_f64 v[51:52], v[111:112], v[4:5]
	v_fma_f64 v[163:164], v[113:114], v[4:5], -v[161:162]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[165:166], v[51:52], v[163:164]
	v_add_f64 v[167:168], v[161:162], v[165:166]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_ldexp_f64 v[169:170], v[167:168], -2
	v_add_f64 v[161:162], v[167:168], -v[161:162]
	v_fract_f64_e32 v[171:172], v[169:170]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[169:170]|
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[161:162], v[165:166], -v[161:162]
	v_dual_cndmask_b32 v170, 0, v172 :: v_dual_cndmask_b32 v169, 0, v171
	v_add_f64 v[171:172], v[165:166], -v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[163:164], v[163:164], -v[171:172]
	v_add_f64 v[171:172], v[165:166], -v[171:172]
	v_add_f64 v[171:172], v[51:52], -v[171:172]
	v_fma_f64 v[51:52], v[111:112], v[4:5], -v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[163:164], v[163:164], v[171:172]
	v_mul_f64 v[171:172], v[109:110], v[4:5]
	v_add_f64 v[173:174], v[171:172], v[51:52]
	v_fma_f64 v[4:5], v[109:110], v[4:5], -v[171:172]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[175:176], v[173:174], v[163:164]
	v_add_f64 v[167:168], v[175:176], -v[173:174]
	v_add_f64 v[165:166], v[161:162], v[175:176]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[163:164], v[163:164], -v[167:168]
	v_add_f64 v[167:168], v[175:176], -v[167:168]
	v_add_f64 v[161:162], v[165:166], -v[161:162]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[167:168], v[173:174], -v[167:168]
	v_add_f64 v[161:162], v[175:176], -v[161:162]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[163:164], v[163:164], v[167:168]
	v_add_f64 v[167:168], v[173:174], -v[171:172]
	v_add_f64 v[51:52], v[51:52], -v[167:168]
	v_add_f64 v[167:168], v[173:174], -v[167:168]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[167:168], v[171:172], -v[167:168]
	v_add_f64 v[51:52], v[51:52], v[167:168]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[51:52], v[163:164]
	v_add_f64 v[4:5], v[4:5], v[51:52]
	v_ldexp_f64 v[51:52], v[169:170], 2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[161:162], v[4:5]
	v_add_f64 v[161:162], v[165:166], v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cmp_gt_f64_e32 vcc_lo, 0, v[161:162]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	v_add_f64 v[51:52], v[51:52], v[8:9]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[161:162], v[165:166], v[51:52]
	v_cvt_i32_f64_e32 v9, v[161:162]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cvt_f64_i32_e32 v[161:162], v9
	v_add_f64 v[51:52], v[51:52], -v[161:162]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[161:162], v[165:166], v[51:52]
	v_add_f64 v[51:52], v[161:162], -v[51:52]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[161:162]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_add_f64 v[51:52], v[165:166], -v[51:52]
	v_add_co_ci_u32_e64 v32, s0, 0, v9, vcc_lo
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_f64 v[4:5], v[4:5], v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[161:162], -v[8:9]
	v_add_f64 v[161:162], v[51:52], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[161:162], -v[51:52]
	v_add_f64 v[4:5], v[4:5], -v[51:52]
	v_mul_f64 v[51:52], v[161:162], s[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[163:164], v[161:162], s[4:5], -v[51:52]
	v_fma_f64 v[161:162], v[161:162], s[56:57], v[163:164]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[4:5], s[4:5], v[161:162]
	v_add_f64 v[161:162], v[51:52], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[161:162], -v[51:52]
	v_add_f64 v[163:164], v[4:5], -v[51:52]
.LBB0_113:                              ; %Flow532
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_115
; %bb.114:                              ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[4:5], |v[47:48]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[4:5], v[4:5]
	v_fma_f64 v[51:52], v[4:5], s[26:27], |v[47:48]|
	v_mul_f64 v[161:162], v[4:5], s[62:63]
	v_cvt_i32_f64_e32 v32, v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[165:166], v[4:5], s[62:63], v[51:52]
	v_add_f64 v[163:164], v[51:52], v[161:162]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[51:52], v[51:52], -v[163:164]
	v_add_f64 v[163:164], v[163:164], -v[165:166]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[51:52], v[51:52], v[161:162]
	v_fma_f64 v[161:162], v[4:5], s[54:55], v[161:162]
	v_add_f64 v[51:52], v[163:164], v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[51:52], -v[161:162]
	v_fma_f64 v[51:52], v[4:5], s[70:71], v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[161:162], v[165:166], v[51:52]
	v_add_f64 v[163:164], v[161:162], -v[165:166]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[163:164], v[51:52], -v[163:164]
.LBB0_115:                              ; %_ZL3cosd.exit388
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr4
                                        ; implicit-def: $vgpr165_vgpr166
                                        ; implicit-def: $vgpr167_vgpr168
	s_and_saveexec_b32 s0, s1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_117
; %bb.116:                              ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[35:36]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_cndmask_b32_e32 v5, v19, v108, vcc_lo
	v_cndmask_b32_e32 v4, v35, v107, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[165:166], v[105:106], v[4:5]
	v_mul_f64 v[51:52], v[103:104], v[4:5]
	v_fma_f64 v[167:168], v[105:106], v[4:5], -v[165:166]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[169:170], v[51:52], v[167:168]
	v_add_f64 v[171:172], v[165:166], v[169:170]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_ldexp_f64 v[173:174], v[171:172], -2
	v_add_f64 v[165:166], v[171:172], -v[165:166]
	v_fract_f64_e32 v[175:176], v[173:174]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[173:174]|
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[165:166], v[169:170], -v[165:166]
	v_dual_cndmask_b32 v174, 0, v176 :: v_dual_cndmask_b32 v173, 0, v175
	v_add_f64 v[175:176], v[169:170], -v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[167:168], v[167:168], -v[175:176]
	v_add_f64 v[175:176], v[169:170], -v[175:176]
	v_add_f64 v[175:176], v[51:52], -v[175:176]
	v_fma_f64 v[51:52], v[103:104], v[4:5], -v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[167:168], v[167:168], v[175:176]
	v_mul_f64 v[175:176], v[97:98], v[4:5]
	v_add_f64 v[177:178], v[175:176], v[51:52]
	v_fma_f64 v[4:5], v[97:98], v[4:5], -v[175:176]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[179:180], v[177:178], v[167:168]
	v_add_f64 v[171:172], v[179:180], -v[177:178]
	v_add_f64 v[169:170], v[165:166], v[179:180]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[167:168], v[167:168], -v[171:172]
	v_add_f64 v[171:172], v[179:180], -v[171:172]
	v_add_f64 v[165:166], v[169:170], -v[165:166]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[171:172], v[177:178], -v[171:172]
	v_add_f64 v[165:166], v[179:180], -v[165:166]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[167:168], v[167:168], v[171:172]
	v_add_f64 v[171:172], v[177:178], -v[175:176]
	v_add_f64 v[51:52], v[51:52], -v[171:172]
	v_add_f64 v[171:172], v[177:178], -v[171:172]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[171:172], v[175:176], -v[171:172]
	v_add_f64 v[51:52], v[51:52], v[171:172]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[51:52], v[167:168]
	v_add_f64 v[4:5], v[4:5], v[51:52]
	v_ldexp_f64 v[51:52], v[173:174], 2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[165:166], v[4:5]
	v_add_f64 v[165:166], v[169:170], v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cmp_gt_f64_e32 vcc_lo, 0, v[165:166]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	v_add_f64 v[51:52], v[51:52], v[8:9]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[165:166], v[169:170], v[51:52]
	v_cvt_i32_f64_e32 v9, v[165:166]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cvt_f64_i32_e32 v[165:166], v9
	v_add_f64 v[51:52], v[51:52], -v[165:166]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[165:166], v[169:170], v[51:52]
	v_add_f64 v[51:52], v[165:166], -v[51:52]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[165:166]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[169:170], -v[51:52]
	v_add_f64 v[51:52], v[4:5], v[51:52]
	v_add_co_ci_u32_e64 v4, s0, 0, v9, vcc_lo
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[165:166], v[165:166], -v[8:9]
	v_add_f64 v[167:168], v[165:166], v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[165:166], v[167:168], -v[165:166]
	v_mul_f64 v[169:170], v[167:168], s[4:5]
	v_add_f64 v[51:52], v[51:52], -v[165:166]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[165:166], v[167:168], s[4:5], -v[169:170]
	v_fma_f64 v[165:166], v[167:168], s[56:57], v[165:166]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[51:52], v[51:52], s[4:5], v[165:166]
	v_add_f64 v[165:166], v[169:170], v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[167:168], v[165:166], -v[169:170]
	v_add_f64 v[167:168], v[51:52], -v[167:168]
.LBB0_117:                              ; %Flow531
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_119
; %bb.118:                              ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[4:5], |v[35:36]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[4:5], v[4:5]
	v_fma_f64 v[51:52], v[4:5], s[26:27], |v[35:36]|
	v_mul_f64 v[165:166], v[4:5], s[62:63]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[169:170], v[4:5], s[62:63], v[51:52]
	v_add_f64 v[167:168], v[51:52], v[165:166]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[51:52], v[51:52], -v[167:168]
	v_add_f64 v[167:168], v[167:168], -v[169:170]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[51:52], v[51:52], v[165:166]
	v_fma_f64 v[165:166], v[4:5], s[54:55], v[165:166]
	v_add_f64 v[51:52], v[167:168], v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[51:52], v[51:52], -v[165:166]
	v_fma_f64 v[51:52], v[4:5], s[70:71], v[51:52]
	v_cvt_i32_f64_e32 v4, v[4:5]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[165:166], v[169:170], v[51:52]
	v_add_f64 v[167:168], v[165:166], -v[169:170]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[167:168], v[51:52], -v[167:168]
.LBB0_119:                              ; %_ZL3cosd.exit393
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr51
                                        ; implicit-def: $vgpr173_vgpr174
                                        ; implicit-def: $vgpr175_vgpr176
	s_and_saveexec_b32 s0, s33
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_121
; %bb.120:                              ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[47:48]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_dual_cndmask_b32 v52, v24, v116 :: v_dual_cndmask_b32 v51, v47, v115
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[171:172], v[113:114], v[51:52]
	v_mul_f64 v[169:170], v[111:112], v[51:52]
	v_fma_f64 v[173:174], v[113:114], v[51:52], -v[171:172]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[175:176], v[169:170], v[173:174]
	v_add_f64 v[177:178], v[171:172], v[175:176]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_ldexp_f64 v[179:180], v[177:178], -2
	v_add_f64 v[171:172], v[177:178], -v[171:172]
	v_fract_f64_e32 v[33:34], v[179:180]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[179:180]|
	v_add_f64 v[179:180], v[175:176], -v[169:170]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f64 v[171:172], v[175:176], -v[171:172]
	v_dual_cndmask_b32 v34, 0, v34 :: v_dual_cndmask_b32 v33, 0, v33
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[173:174], v[173:174], -v[179:180]
	v_add_f64 v[179:180], v[175:176], -v[179:180]
	v_ldexp_f64 v[33:34], v[33:34], 2
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[179:180], v[169:170], -v[179:180]
	v_fma_f64 v[169:170], v[111:112], v[51:52], -v[169:170]
	v_add_f64 v[173:174], v[173:174], v[179:180]
	v_mul_f64 v[179:180], v[109:110], v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[9:10], v[179:180], v[169:170]
	v_fma_f64 v[51:52], v[109:110], v[51:52], -v[179:180]
	v_add_f64 v[181:182], v[9:10], v[173:174]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[177:178], v[181:182], -v[9:10]
	v_add_f64 v[175:176], v[171:172], v[181:182]
	v_add_f64 v[173:174], v[173:174], -v[177:178]
	v_add_f64 v[177:178], v[181:182], -v[177:178]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[171:172], v[175:176], -v[171:172]
	v_add_f64 v[177:178], v[9:10], -v[177:178]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[171:172], v[181:182], -v[171:172]
	v_add_f64 v[173:174], v[173:174], v[177:178]
	v_add_f64 v[177:178], v[9:10], -v[179:180]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[9:10], v[9:10], -v[177:178]
	v_add_f64 v[169:170], v[169:170], -v[177:178]
	v_add_f64 v[9:10], v[179:180], -v[9:10]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[9:10], v[169:170], v[9:10]
	v_add_f64 v[9:10], v[9:10], v[173:174]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[9:10], v[51:52], v[9:10]
	v_add_f64 v[51:52], v[171:172], v[9:10]
	v_add_f64 v[9:10], v[175:176], v[33:34]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cmp_gt_f64_e32 vcc_lo, 0, v[9:10]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	v_add_f64 v[9:10], v[33:34], v[8:9]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[33:34], v[175:176], v[9:10]
	v_cvt_i32_f64_e32 v5, v[33:34]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cvt_f64_i32_e32 v[33:34], v5
	v_add_f64 v[9:10], v[9:10], -v[33:34]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[33:34], v[175:176], v[9:10]
	v_add_f64 v[9:10], v[33:34], -v[9:10]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[33:34]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[9:10], v[175:176], -v[9:10]
	v_add_f64 v[169:170], v[51:52], v[9:10]
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_co_ci_u32_e64 v51, s0, 0, v5, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[9:10], v[33:34], -v[8:9]
	v_add_f64 v[33:34], v[9:10], v[169:170]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[9:10], v[33:34], -v[9:10]
	v_add_f64 v[9:10], v[169:170], -v[9:10]
	v_mul_f64 v[169:170], v[33:34], s[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[171:172], v[33:34], s[4:5], -v[169:170]
	v_fma_f64 v[33:34], v[33:34], s[56:57], v[171:172]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[9:10], v[9:10], s[4:5], v[33:34]
	v_add_f64 v[173:174], v[169:170], v[9:10]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[33:34], v[173:174], -v[169:170]
	v_add_f64 v[175:176], v[9:10], -v[33:34]
.LBB0_121:                              ; %Flow530
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_123
; %bb.122:                              ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[51:52], |v[47:48]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[51:52], v[51:52]
	v_fma_f64 v[169:170], v[51:52], s[26:27], |v[47:48]|
	v_mul_f64 v[171:172], v[51:52], s[62:63]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[175:176], v[51:52], s[62:63], v[169:170]
	v_add_f64 v[173:174], v[169:170], v[171:172]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[169:170], v[169:170], -v[173:174]
	v_add_f64 v[173:174], v[173:174], -v[175:176]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[169:170], v[169:170], v[171:172]
	v_fma_f64 v[171:172], v[51:52], s[54:55], v[171:172]
	v_add_f64 v[169:170], v[173:174], v[169:170]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[169:170], v[169:170], -v[171:172]
	v_fma_f64 v[169:170], v[51:52], s[70:71], v[169:170]
	v_cvt_i32_f64_e32 v51, v[51:52]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[173:174], v[175:176], v[169:170]
	v_add_f64 v[171:172], v[173:174], -v[175:176]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[175:176], v[169:170], -v[171:172]
.LBB0_123:                              ; %_ZL3sind.exit398
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr5
                                        ; implicit-def: $vgpr169_vgpr170
                                        ; implicit-def: $vgpr171_vgpr172
	s_and_saveexec_b32 s0, s1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s54, exec_lo, s0
	s_cbranch_execz .LBB0_125
; %bb.124:                              ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[35:36]|
	v_dual_mov_b32 v5, v39 :: v_dual_mov_b32 v52, v40
	v_dual_mov_b32 v39, v187 :: v_dual_mov_b32 v40, v188
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_cndmask_b32_e32 v10, v19, v108, vcc_lo
	v_cndmask_b32_e32 v9, v35, v107, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[169:170], v[105:106], v[9:10]
	v_mul_f64 v[33:34], v[103:104], v[9:10]
	v_fma_f64 v[171:172], v[105:106], v[9:10], -v[169:170]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[177:178], v[33:34], v[171:172]
	v_add_f64 v[179:180], v[169:170], v[177:178]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_ldexp_f64 v[181:182], v[179:180], -2
	v_add_f64 v[169:170], v[179:180], -v[169:170]
	v_fract_f64_e32 v[183:184], v[181:182]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[181:182]|
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[169:170], v[177:178], -v[169:170]
	v_dual_cndmask_b32 v182, 0, v184 :: v_dual_cndmask_b32 v181, 0, v183
	v_add_f64 v[183:184], v[177:178], -v[33:34]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[171:172], v[171:172], -v[183:184]
	v_add_f64 v[183:184], v[177:178], -v[183:184]
	v_add_f64 v[183:184], v[33:34], -v[183:184]
	v_fma_f64 v[33:34], v[103:104], v[9:10], -v[33:34]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[171:172], v[171:172], v[183:184]
	v_mul_f64 v[183:184], v[97:98], v[9:10]
	v_add_f64 v[185:186], v[183:184], v[33:34]
	v_fma_f64 v[9:10], v[97:98], v[9:10], -v[183:184]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[187:188], v[185:186], v[171:172]
	v_add_f64 v[179:180], v[187:188], -v[185:186]
	v_add_f64 v[177:178], v[169:170], v[187:188]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[171:172], v[171:172], -v[179:180]
	v_add_f64 v[179:180], v[187:188], -v[179:180]
	v_add_f64 v[169:170], v[177:178], -v[169:170]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[179:180], v[185:186], -v[179:180]
	v_add_f64 v[169:170], v[187:188], -v[169:170]
	v_dual_mov_b32 v188, v40 :: v_dual_mov_b32 v187, v39
	v_dual_mov_b32 v40, v52 :: v_dual_mov_b32 v39, v5
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[171:172], v[171:172], v[179:180]
	v_add_f64 v[179:180], v[185:186], -v[183:184]
	v_add_f64 v[33:34], v[33:34], -v[179:180]
	v_add_f64 v[179:180], v[185:186], -v[179:180]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[179:180], v[183:184], -v[179:180]
	v_add_f64 v[33:34], v[33:34], v[179:180]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[33:34], v[33:34], v[171:172]
	v_add_f64 v[9:10], v[9:10], v[33:34]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[33:34], v[169:170], v[9:10]
	v_ldexp_f64 v[169:170], v[181:182], 2
	v_add_f64 v[9:10], v[177:178], v[169:170]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cmp_gt_f64_e32 vcc_lo, 0, v[9:10]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	v_add_f64 v[9:10], v[169:170], v[8:9]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[169:170], v[177:178], v[9:10]
	v_cvt_i32_f64_e32 v5, v[169:170]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cvt_f64_i32_e32 v[169:170], v5
	v_add_f64 v[9:10], v[9:10], -v[169:170]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[169:170], v[177:178], v[9:10]
	v_add_f64 v[9:10], v[169:170], -v[9:10]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[169:170]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[9:10], v[177:178], -v[9:10]
	v_add_co_ci_u32_e64 v5, s0, 0, v5, vcc_lo
	v_add_f64 v[33:34], v[33:34], v[9:10]
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[9:10], v[169:170], -v[8:9]
	v_add_f64 v[169:170], v[9:10], v[33:34]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[9:10], v[169:170], -v[9:10]
	v_add_f64 v[9:10], v[33:34], -v[9:10]
	v_mul_f64 v[33:34], v[169:170], s[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[171:172], v[169:170], s[4:5], -v[33:34]
	v_fma_f64 v[169:170], v[169:170], s[56:57], v[171:172]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[9:10], v[9:10], s[4:5], v[169:170]
	v_add_f64 v[169:170], v[33:34], v[9:10]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[33:34], v[169:170], -v[33:34]
	v_add_f64 v[171:172], v[9:10], -v[33:34]
.LBB0_125:                              ; %Flow529
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s54
	s_cbranch_execz .LBB0_127
; %bb.126:                              ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[9:10], |v[35:36]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[9:10], v[9:10]
	v_fma_f64 v[33:34], v[9:10], s[26:27], |v[35:36]|
	v_mul_f64 v[169:170], v[9:10], s[62:63]
	v_cvt_i32_f64_e32 v5, v[9:10]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[177:178], v[9:10], s[62:63], v[33:34]
	v_add_f64 v[171:172], v[33:34], v[169:170]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[33:34], v[33:34], -v[171:172]
	v_add_f64 v[171:172], v[171:172], -v[177:178]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[33:34], v[33:34], v[169:170]
	v_fma_f64 v[169:170], v[9:10], s[54:55], v[169:170]
	v_add_f64 v[33:34], v[171:172], v[33:34]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[33:34], v[33:34], -v[169:170]
	v_fma_f64 v[33:34], v[9:10], s[70:71], v[33:34]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[169:170], v[177:178], v[33:34]
	v_add_f64 v[171:172], v[169:170], -v[177:178]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[171:172], v[33:34], -v[171:172]
.LBB0_127:                              ; %_ZL3sind.exit403
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr52
                                        ; implicit-def: $vgpr177_vgpr178
                                        ; implicit-def: $vgpr179_vgpr180
	s_and_saveexec_b32 s0, s33
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s33, exec_lo, s0
	s_cbranch_execz .LBB0_129
; %bb.128:                              ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[47:48]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_dual_cndmask_b32 v10, v24, v116 :: v_dual_cndmask_b32 v9, v47, v115
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[115:116], v[113:114], v[9:10]
	v_mul_f64 v[33:34], v[111:112], v[9:10]
	v_fma_f64 v[113:114], v[113:114], v[9:10], -v[115:116]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[177:178], v[33:34], v[113:114]
	v_add_f64 v[179:180], v[115:116], v[177:178]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_ldexp_f64 v[181:182], v[179:180], -2
	v_add_f64 v[115:116], v[179:180], -v[115:116]
	v_fract_f64_e32 v[183:184], v[181:182]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[181:182]|
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[115:116], v[177:178], -v[115:116]
	v_dual_cndmask_b32 v182, 0, v184 :: v_dual_cndmask_b32 v181, 0, v183
	v_add_f64 v[183:184], v[177:178], -v[33:34]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[113:114], v[113:114], -v[183:184]
	v_add_f64 v[183:184], v[177:178], -v[183:184]
	v_add_f64 v[183:184], v[33:34], -v[183:184]
	v_fma_f64 v[33:34], v[111:112], v[9:10], -v[33:34]
	v_mul_f64 v[111:112], v[109:110], v[9:10]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[113:114], v[113:114], v[183:184]
	v_add_f64 v[183:184], v[111:112], v[33:34]
	v_fma_f64 v[9:10], v[109:110], v[9:10], -v[111:112]
	v_ldexp_f64 v[109:110], v[181:182], 2
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[185:186], v[183:184], v[113:114]
	v_add_f64 v[179:180], v[185:186], -v[183:184]
	v_add_f64 v[177:178], v[115:116], v[185:186]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[113:114], v[113:114], -v[179:180]
	v_add_f64 v[179:180], v[185:186], -v[179:180]
	v_add_f64 v[115:116], v[177:178], -v[115:116]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[179:180], v[183:184], -v[179:180]
	v_add_f64 v[115:116], v[185:186], -v[115:116]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[113:114], v[113:114], v[179:180]
	v_add_f64 v[179:180], v[183:184], -v[111:112]
	v_add_f64 v[33:34], v[33:34], -v[179:180]
	v_add_f64 v[179:180], v[183:184], -v[179:180]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[179:180], v[111:112], -v[179:180]
	v_add_f64 v[33:34], v[33:34], v[179:180]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[33:34], v[33:34], v[113:114]
	v_add_f64 v[9:10], v[9:10], v[33:34]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[33:34], v[115:116], v[9:10]
	v_add_f64 v[9:10], v[177:178], v[109:110]
	v_cmp_gt_f64_e32 vcc_lo, 0, v[9:10]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[9:10], v[109:110], v[8:9]
	v_add_f64 v[109:110], v[177:178], v[9:10]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cvt_i32_f64_e32 v24, v[109:110]
	v_cvt_f64_i32_e32 v[109:110], v24
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[9:10], v[9:10], -v[109:110]
	v_add_f64 v[109:110], v[177:178], v[9:10]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[9:10], v[109:110], -v[9:10]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[109:110]
	v_add_f64 v[9:10], v[177:178], -v[9:10]
	v_add_co_ci_u32_e64 v52, s0, 0, v24, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[33:34], v[33:34], v[9:10]
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_f64 v[9:10], v[109:110], -v[8:9]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[109:110], v[9:10], v[33:34]
	v_add_f64 v[9:10], v[109:110], -v[9:10]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[9:10], v[33:34], -v[9:10]
	v_mul_f64 v[33:34], v[109:110], s[4:5]
	v_fma_f64 v[111:112], v[109:110], s[4:5], -v[33:34]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[109:110], v[109:110], s[56:57], v[111:112]
	v_fma_f64 v[9:10], v[9:10], s[4:5], v[109:110]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[177:178], v[33:34], v[9:10]
	v_add_f64 v[33:34], v[177:178], -v[33:34]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[179:180], v[9:10], -v[33:34]
.LBB0_129:                              ; %Flow528
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s33
	s_cbranch_execz .LBB0_131
; %bb.130:                              ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[9:10], |v[47:48]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[9:10], v[9:10]
	v_fma_f64 v[33:34], v[9:10], s[26:27], |v[47:48]|
	v_mul_f64 v[109:110], v[9:10], s[62:63]
	v_cvt_i32_f64_e32 v52, v[9:10]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[113:114], v[9:10], s[62:63], v[33:34]
	v_add_f64 v[111:112], v[33:34], v[109:110]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[33:34], v[33:34], -v[111:112]
	v_add_f64 v[111:112], v[111:112], -v[113:114]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[33:34], v[33:34], v[109:110]
	v_fma_f64 v[109:110], v[9:10], s[54:55], v[109:110]
	v_add_f64 v[33:34], v[111:112], v[33:34]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[33:34], v[33:34], -v[109:110]
	v_fma_f64 v[33:34], v[9:10], s[70:71], v[33:34]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[177:178], v[113:114], v[33:34]
	v_add_f64 v[109:110], v[177:178], -v[113:114]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[179:180], v[33:34], -v[109:110]
.LBB0_131:                              ; %_ZL3sind.exit408
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
                                        ; implicit-def: $vgpr24
                                        ; implicit-def: $vgpr109_vgpr110
                                        ; implicit-def: $vgpr111_vgpr112
	s_and_saveexec_b32 s0, s1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_xor_b32 s1, exec_lo, s0
	s_cbranch_execz .LBB0_133
; %bb.132:                              ;   in Loop: Header=BB0_7 Depth=1
	v_cmp_le_f64_e64 vcc_lo, 0x7b000000, |v[35:36]|
	s_mov_b32 s4, s26
	s_mov_b32 s57, s55
	v_cndmask_b32_e32 v10, v19, v108, vcc_lo
	v_cndmask_b32_e32 v9, v35, v107, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[107:108], v[105:106], v[9:10]
	v_mul_f64 v[33:34], v[103:104], v[9:10]
	v_fma_f64 v[105:106], v[105:106], v[9:10], -v[107:108]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[109:110], v[33:34], v[105:106]
	v_add_f64 v[111:112], v[107:108], v[109:110]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_ldexp_f64 v[113:114], v[111:112], -2
	v_add_f64 v[107:108], v[111:112], -v[107:108]
	v_fract_f64_e32 v[115:116], v[113:114]
	v_cmp_neq_f64_e64 vcc_lo, 0x7ff00000, |v[113:114]|
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[107:108], v[109:110], -v[107:108]
	v_dual_cndmask_b32 v114, 0, v116 :: v_dual_cndmask_b32 v113, 0, v115
	v_add_f64 v[115:116], v[109:110], -v[33:34]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[105:106], v[105:106], -v[115:116]
	v_add_f64 v[115:116], v[109:110], -v[115:116]
	v_add_f64 v[115:116], v[33:34], -v[115:116]
	v_fma_f64 v[33:34], v[103:104], v[9:10], -v[33:34]
	v_mul_f64 v[103:104], v[97:98], v[9:10]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[105:106], v[105:106], v[115:116]
	v_add_f64 v[115:116], v[103:104], v[33:34]
	v_fma_f64 v[9:10], v[97:98], v[9:10], -v[103:104]
	v_ldexp_f64 v[97:98], v[113:114], 2
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[181:182], v[115:116], v[105:106]
	v_add_f64 v[111:112], v[181:182], -v[115:116]
	v_add_f64 v[109:110], v[107:108], v[181:182]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f64 v[105:106], v[105:106], -v[111:112]
	v_add_f64 v[111:112], v[181:182], -v[111:112]
	v_add_f64 v[107:108], v[109:110], -v[107:108]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[111:112], v[115:116], -v[111:112]
	v_add_f64 v[107:108], v[181:182], -v[107:108]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[105:106], v[105:106], v[111:112]
	v_add_f64 v[111:112], v[115:116], -v[103:104]
	v_add_f64 v[33:34], v[33:34], -v[111:112]
	v_add_f64 v[111:112], v[115:116], -v[111:112]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[111:112], v[103:104], -v[111:112]
	v_add_f64 v[33:34], v[33:34], v[111:112]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[33:34], v[33:34], v[105:106]
	v_add_f64 v[9:10], v[9:10], v[33:34]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[33:34], v[107:108], v[9:10]
	v_add_f64 v[9:10], v[109:110], v[97:98]
	v_cmp_gt_f64_e32 vcc_lo, 0, v[9:10]
	v_cndmask_b32_e64 v9, 0, 0x40100000, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[9:10], v[97:98], v[8:9]
	v_add_f64 v[97:98], v[109:110], v[9:10]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cvt_i32_f64_e32 v19, v[97:98]
	v_cvt_f64_i32_e32 v[97:98], v19
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[9:10], v[9:10], -v[97:98]
	v_add_f64 v[97:98], v[109:110], v[9:10]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[9:10], v[97:98], -v[9:10]
	v_cmp_le_f64_e32 vcc_lo, 0.5, v[97:98]
	v_add_f64 v[9:10], v[109:110], -v[9:10]
	v_add_co_ci_u32_e64 v24, s0, 0, v19, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[33:34], v[33:34], v[9:10]
	v_cndmask_b32_e64 v9, 0, 0x3ff00000, vcc_lo
	v_add_f64 v[9:10], v[97:98], -v[8:9]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[97:98], v[9:10], v[33:34]
	v_add_f64 v[9:10], v[97:98], -v[9:10]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[9:10], v[33:34], -v[9:10]
	v_mul_f64 v[33:34], v[97:98], s[4:5]
	v_fma_f64 v[103:104], v[97:98], s[4:5], -v[33:34]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[97:98], v[97:98], s[56:57], v[103:104]
	v_fma_f64 v[9:10], v[9:10], s[4:5], v[97:98]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[109:110], v[33:34], v[9:10]
	v_add_f64 v[33:34], v[109:110], -v[33:34]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[111:112], v[9:10], -v[33:34]
.LBB0_133:                              ; %Flow
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_and_not1_saveexec_b32 s0, s1
	s_cbranch_execz .LBB0_135
; %bb.134:                              ;   in Loop: Header=BB0_7 Depth=1
	v_mul_f64 v[9:10], |v[35:36]|, s[34:35]
	s_mov_b32 s54, s62
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_rndne_f64_e32 v[9:10], v[9:10]
	v_fma_f64 v[33:34], v[9:10], s[26:27], |v[35:36]|
	v_mul_f64 v[97:98], v[9:10], s[62:63]
	v_cvt_i32_f64_e32 v24, v[9:10]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[105:106], v[9:10], s[62:63], v[33:34]
	v_add_f64 v[103:104], v[33:34], v[97:98]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f64 v[33:34], v[33:34], -v[103:104]
	v_add_f64 v[103:104], v[103:104], -v[105:106]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[33:34], v[33:34], v[97:98]
	v_fma_f64 v[97:98], v[9:10], s[54:55], v[97:98]
	v_add_f64 v[33:34], v[103:104], v[33:34]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[33:34], v[33:34], -v[97:98]
	v_fma_f64 v[33:34], v[9:10], s[70:71], v[33:34]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[109:110], v[105:106], v[33:34]
	v_add_f64 v[97:98], v[109:110], -v[105:106]
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f64 v[111:112], v[33:34], -v[97:98]
.LBB0_135:                              ; %_ZL3cosd.exit413
                                        ;   in Loop: Header=BB0_7 Depth=1
	s_or_b32 exec_lo, exec_lo, s0
	v_mul_f64 v[9:10], v[177:178], v[177:178]
	s_mov_b32 s68, s24
	v_cmp_class_f64_e64 s1, v[47:48], 0x1f8
	v_cmp_class_f64_e64 s0, v[35:36], 0x1f8
	s_add_i32 s6, s6, -1
	s_add_u32 s2, s2, 4
	v_add_nc_u32_e32 v28, 26, v28
	s_addc_u32 s3, s3, 0
	s_add_u32 s8, s8, 4
	s_addc_u32 s9, s9, 0
	s_cmp_eq_u32 s6, 0
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[33:34], v[9:10], 0.5
	v_fma_f64 v[105:106], v[9:10], s[46:47], s[44:45]
	v_add_f64 v[97:98], -v[33:34], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[105:106], v[9:10], v[105:106], s[58:59]
	v_add_f64 v[103:104], -v[97:98], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[105:106], v[9:10], v[105:106], s[64:65]
	v_add_f64 v[33:34], v[103:104], -v[33:34]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_fma_f64 v[105:106], v[9:10], v[105:106], s[66:67]
	v_mul_f64 v[103:104], v[9:10], v[9:10]
	v_fma_f64 v[33:34], v[177:178], -v[179:180], v[33:34]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[105:106], v[9:10], v[105:106], s[24:25]
	v_fma_f64 v[33:34], v[103:104], v[105:106], v[33:34]
	v_mul_f64 v[103:104], v[177:178], -v[9:10]
	v_mul_f64 v[105:106], v[179:180], 0.5
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[33:34], v[97:98], v[33:34]
	v_fma_f64 v[97:98], v[9:10], s[30:31], s[28:29]
	v_fma_f64 v[97:98], v[9:10], v[97:98], s[52:53]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[97:98], v[9:10], v[97:98], s[60:61]
	v_fma_f64 v[97:98], v[9:10], v[97:98], s[14:15]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[97:98], v[103:104], v[97:98], v[105:106]
	v_fma_f64 v[9:10], v[9:10], v[97:98], -v[179:180]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[9:10], v[103:104], s[68:69], v[9:10]
	v_add_f64 v[9:10], v[177:178], -v[9:10]
	v_and_b32_e32 v19, 1, v52
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cmp_eq_u32_e32 vcc_lo, 0, v19
	v_lshlrev_b32_e32 v19, 30, v52
	v_xor_b32_e32 v19, v19, v48
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_dual_cndmask_b32 v10, v34, v10 :: v_dual_and_b32 v19, 0x80000000, v19
	v_cndmask_b32_e32 v9, v33, v9, vcc_lo
	v_xor_b32_e32 v10, v10, v19
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v9, 0, v9, s1
	v_and_b32_e32 v19, 1, v51
	v_cndmask_b32_e64 v10, 0x7ff80000, v10, s1
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_cmp_eq_u32_e32 vcc_lo, 0, v19
	v_lshlrev_b32_e32 v19, 30, v51
	s_waitcnt lgkmcnt(0)
	v_mul_f64 v[97:98], s[74:75], v[9:10]
	v_mul_f64 v[9:10], v[173:174], v[173:174]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_xor_b32_e32 v19, v19, v48
	v_and_b32_e32 v19, 0x80000000, v19
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[33:34], v[9:10], 0.5
	v_fma_f64 v[107:108], v[9:10], s[46:47], s[44:45]
	v_add_f64 v[103:104], -v[33:34], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[107:108], v[9:10], v[107:108], s[58:59]
	v_add_f64 v[105:106], -v[103:104], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[107:108], v[9:10], v[107:108], s[64:65]
	v_add_f64 v[33:34], v[105:106], -v[33:34]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_fma_f64 v[107:108], v[9:10], v[107:108], s[66:67]
	v_mul_f64 v[105:106], v[9:10], v[9:10]
	v_fma_f64 v[33:34], v[173:174], -v[175:176], v[33:34]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[107:108], v[9:10], v[107:108], s[24:25]
	v_fma_f64 v[33:34], v[105:106], v[107:108], v[33:34]
	v_mul_f64 v[105:106], v[173:174], -v[9:10]
	v_mul_f64 v[107:108], v[175:176], 0.5
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[33:34], v[103:104], v[33:34]
	v_fma_f64 v[103:104], v[9:10], s[30:31], s[28:29]
	v_fma_f64 v[103:104], v[9:10], v[103:104], s[52:53]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[103:104], v[9:10], v[103:104], s[60:61]
	v_fma_f64 v[103:104], v[9:10], v[103:104], s[14:15]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[103:104], v[105:106], v[103:104], v[107:108]
	v_fma_f64 v[9:10], v[9:10], v[103:104], -v[175:176]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[9:10], v[105:106], s[68:69], v[9:10]
	v_add_f64 v[9:10], v[173:174], -v[9:10]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_cndmask_b32 v10, v34, v10 :: v_dual_cndmask_b32 v9, v33, v9
	v_xor_b32_e32 v10, v10, v19
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v9, 0, v9, s1
	v_and_b32_e32 v19, 1, v32
	v_cndmask_b32_e64 v10, 0x7ff80000, v10, s1
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cmp_eq_u32_e32 vcc_lo, 0, v19
	v_lshlrev_b32_e32 v19, 30, v32
	v_mul_f64 v[103:104], s[72:73], v[9:10]
	v_mul_f64 v[9:10], v[161:162], v[161:162]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_and_b32_e32 v19, 0x80000000, v19
	v_mul_f64 v[33:34], v[9:10], 0.5
	v_fma_f64 v[107:108], v[9:10], s[46:47], s[44:45]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[51:52], -v[33:34], 1.0
	v_fma_f64 v[107:108], v[9:10], v[107:108], s[58:59]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[105:106], -v[51:52], 1.0
	v_fma_f64 v[107:108], v[9:10], v[107:108], s[64:65]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[33:34], v[105:106], -v[33:34]
	v_fma_f64 v[107:108], v[9:10], v[107:108], s[66:67]
	v_mul_f64 v[105:106], v[9:10], v[9:10]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[33:34], v[161:162], -v[163:164], v[33:34]
	v_fma_f64 v[107:108], v[9:10], v[107:108], s[24:25]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fma_f64 v[33:34], v[105:106], v[107:108], v[33:34]
	v_mul_f64 v[105:106], v[161:162], -v[9:10]
	v_mul_f64 v[107:108], v[163:164], 0.5
	v_add_f64 v[33:34], v[51:52], v[33:34]
	v_fma_f64 v[51:52], v[9:10], s[30:31], s[28:29]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[51:52], v[9:10], v[51:52], s[52:53]
	v_fma_f64 v[51:52], v[9:10], v[51:52], s[60:61]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[51:52], v[9:10], v[51:52], s[14:15]
	v_fma_f64 v[51:52], v[105:106], v[51:52], v[107:108]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[9:10], v[9:10], v[51:52], -v[163:164]
	v_fma_f64 v[9:10], v[105:106], s[68:69], v[9:10]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[9:10], v[161:162], -v[9:10]
	v_cndmask_b32_e32 v9, v9, v33, vcc_lo
	v_mul_f64 v[32:33], v[153:154], v[153:154]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_xor_b32_e32 v10, 0x80000000, v10
	v_cndmask_b32_e32 v10, v10, v34, vcc_lo
	v_mul_f64 v[34:35], v[157:158], v[157:158]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_xor_b32_e32 v10, v10, v19
	v_cndmask_b32_e64 v10, 0x7ff80000, v10, s1
	v_mul_f64 v[51:52], v[32:33], 0.5
	v_fma_f64 v[113:114], v[32:33], s[46:47], s[44:45]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[105:106], -v[51:52], 1.0
	v_fma_f64 v[113:114], v[32:33], v[113:114], s[58:59]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[107:108], -v[105:106], 1.0
	v_fma_f64 v[113:114], v[32:33], v[113:114], s[64:65]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[51:52], v[107:108], -v[51:52]
	v_fma_f64 v[113:114], v[32:33], v[113:114], s[66:67]
	v_mul_f64 v[107:108], v[32:33], v[32:33]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[51:52], v[153:154], -v[155:156], v[51:52]
	v_fma_f64 v[113:114], v[32:33], v[113:114], s[24:25]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fma_f64 v[51:52], v[107:108], v[113:114], v[51:52]
	v_mul_f64 v[107:108], v[153:154], -v[32:33]
	v_mul_f64 v[113:114], v[155:156], 0.5
	v_add_f64 v[51:52], v[105:106], v[51:52]
	v_fma_f64 v[105:106], v[32:33], s[30:31], s[28:29]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[105:106], v[32:33], v[105:106], s[52:53]
	v_fma_f64 v[105:106], v[32:33], v[105:106], s[60:61]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[105:106], v[32:33], v[105:106], s[14:15]
	v_fma_f64 v[105:106], v[107:108], v[105:106], v[113:114]
	v_fma_f64 v[113:114], v[34:35], s[46:47], s[44:45]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[32:33], v[32:33], v[105:106], -v[155:156]
	v_fma_f64 v[113:114], v[34:35], v[113:114], s[58:59]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[32:33], v[107:108], s[68:69], v[32:33]
	v_fma_f64 v[113:114], v[34:35], v[113:114], s[64:65]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[32:33], v[153:154], -v[32:33]
	v_fma_f64 v[113:114], v[34:35], v[113:114], s[66:67]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_xor_b32_e32 v19, 0x80000000, v33
	v_and_b32_e32 v33, 1, v27
	v_fma_f64 v[113:114], v[34:35], v[113:114], s[24:25]
	v_lshlrev_b32_e32 v27, 30, v27
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_eq_u32_e32 vcc_lo, 0, v33
	v_and_b32_e32 v27, 0x80000000, v27
	v_dual_cndmask_b32 v32, v32, v51 :: v_dual_cndmask_b32 v19, v19, v52
	v_mul_f64 v[51:52], v[34:35], 0.5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v32, 0, v32, s1
	v_xor_b32_e32 v19, v19, v27
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v33, 0x7ff80000, v19, s1
	v_and_b32_e32 v19, 1, v31
	v_lshlrev_b32_e32 v31, 30, v31
	v_mul_f64 v[32:33], s[10:11], v[32:33]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_eq_u32_e32 vcc_lo, 0, v19
	v_xor_b32_e32 v31, v31, v36
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_and_b32_e32 v31, 0x80000000, v31
	v_add_f64 v[105:106], -v[51:52], 1.0
	v_add_f64 v[107:108], -v[105:106], 1.0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f64 v[51:52], v[107:108], -v[51:52]
	v_mul_f64 v[107:108], v[34:35], v[34:35]
	v_fma_f64 v[51:52], v[157:158], -v[159:160], v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fma_f64 v[51:52], v[107:108], v[113:114], v[51:52]
	v_mul_f64 v[107:108], v[157:158], -v[34:35]
	v_mul_f64 v[113:114], v[159:160], 0.5
	v_add_f64 v[51:52], v[105:106], v[51:52]
	v_fma_f64 v[105:106], v[34:35], s[30:31], s[28:29]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[105:106], v[34:35], v[105:106], s[52:53]
	v_fma_f64 v[105:106], v[34:35], v[105:106], s[60:61]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[105:106], v[34:35], v[105:106], s[14:15]
	v_fma_f64 v[105:106], v[107:108], v[105:106], v[113:114]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[34:35], v[34:35], v[105:106], -v[159:160]
	v_fma_f64 v[34:35], v[107:108], s[68:69], v[34:35]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[34:35], v[157:158], -v[34:35]
	v_cndmask_b32_e32 v27, v52, v35, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_xor_b32_e32 v27, v27, v31
	v_cndmask_b32_e64 v35, 0x7ff80000, v27, s0
	v_and_b32_e32 v27, 1, v4
	v_dual_cndmask_b32 v19, v51, v34 :: v_dual_lshlrev_b32 v4, 30, v4
	v_cndmask_b32_e64 v9, 0, v9, s1
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_eq_u32_e32 vcc_lo, 0, v27
	v_and_b32_e32 v4, 0x80000000, v4
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_cndmask_b32_e64 v34, 0, v19, s0
	v_mul_f64 v[9:10], s[22:23], v[9:10]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mul_f64 v[31:32], v[32:33], v[34:35]
	v_mul_f64 v[33:34], v[165:166], v[165:166]
	v_mul_f64 v[51:52], v[33:34], 0.5
	v_fma_f64 v[113:114], v[33:34], s[46:47], s[44:45]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[105:106], -v[51:52], 1.0
	v_fma_f64 v[113:114], v[33:34], v[113:114], s[58:59]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[107:108], -v[105:106], 1.0
	v_fma_f64 v[113:114], v[33:34], v[113:114], s[64:65]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[51:52], v[107:108], -v[51:52]
	v_fma_f64 v[113:114], v[33:34], v[113:114], s[66:67]
	v_mul_f64 v[107:108], v[33:34], v[33:34]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[51:52], v[165:166], -v[167:168], v[51:52]
	v_fma_f64 v[113:114], v[33:34], v[113:114], s[24:25]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fma_f64 v[51:52], v[107:108], v[113:114], v[51:52]
	v_mul_f64 v[107:108], v[165:166], -v[33:34]
	v_mul_f64 v[113:114], v[167:168], 0.5
	v_add_f64 v[51:52], v[105:106], v[51:52]
	v_fma_f64 v[105:106], v[33:34], s[30:31], s[28:29]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[105:106], v[33:34], v[105:106], s[52:53]
	v_fma_f64 v[105:106], v[33:34], v[105:106], s[60:61]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[105:106], v[33:34], v[105:106], s[14:15]
	v_fma_f64 v[105:106], v[107:108], v[105:106], v[113:114]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[33:34], v[33:34], v[105:106], -v[167:168]
	v_fma_f64 v[33:34], v[107:108], s[68:69], v[33:34]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[33:34], v[165:166], -v[33:34]
	v_xor_b32_e32 v19, 0x80000000, v34
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e32 v27, v33, v51, vcc_lo
	v_cndmask_b32_e32 v19, v19, v52, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v33, 0, v27, s0
	v_xor_b32_e32 v4, v19, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v34, 0x7ff80000, v4, s0
	v_and_b32_e32 v4, 1, v5
	v_lshlrev_b32_e32 v5, 30, v5
	v_fma_f64 v[9:10], v[9:10], v[33:34], -v[31:32]
	v_mul_f64 v[31:32], v[169:170], v[169:170]
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_cmp_eq_u32_e32 vcc_lo, 0, v4
	v_xor_b32_e32 v5, v5, v36
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_and_b32_e32 v5, 0x80000000, v5
	v_mul_f64 v[33:34], v[31:32], 0.5
	v_fma_f64 v[107:108], v[31:32], s[46:47], s[44:45]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[51:52], -v[33:34], 1.0
	v_fma_f64 v[107:108], v[31:32], v[107:108], s[58:59]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[105:106], -v[51:52], 1.0
	v_fma_f64 v[107:108], v[31:32], v[107:108], s[64:65]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[33:34], v[105:106], -v[33:34]
	v_fma_f64 v[107:108], v[31:32], v[107:108], s[66:67]
	v_mul_f64 v[105:106], v[31:32], v[31:32]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[33:34], v[169:170], -v[171:172], v[33:34]
	v_fma_f64 v[107:108], v[31:32], v[107:108], s[24:25]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fma_f64 v[33:34], v[105:106], v[107:108], v[33:34]
	v_mul_f64 v[105:106], v[169:170], -v[31:32]
	v_mul_f64 v[107:108], v[171:172], 0.5
	v_add_f64 v[33:34], v[51:52], v[33:34]
	v_fma_f64 v[51:52], v[31:32], s[30:31], s[28:29]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[51:52], v[31:32], v[51:52], s[52:53]
	v_fma_f64 v[51:52], v[31:32], v[51:52], s[60:61]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[51:52], v[31:32], v[51:52], s[14:15]
	v_fma_f64 v[51:52], v[105:106], v[51:52], v[107:108]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[31:32], v[31:32], v[51:52], -v[171:172]
	v_fma_f64 v[31:32], v[105:106], s[68:69], v[31:32]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[31:32], v[169:170], -v[31:32]
	v_dual_cndmask_b32 v19, v34, v32 :: v_dual_cndmask_b32 v4, v33, v31
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_xor_b32_e32 v5, v19, v5
	v_cndmask_b32_e64 v4, 0, v4, s0
	v_and_b32_e32 v19, 1, v26
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v5, 0x7ff80000, v5, s0
	v_cmp_eq_u32_e32 vcc_lo, 0, v19
	v_and_b32_e32 v19, 1, v22
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_fma_f64 v[103:104], -v[103:104], v[4:5], v[9:10]
	v_mul_f64 v[4:5], v[149:150], v[149:150]
	v_mul_f64 v[9:10], v[4:5], 0.5
	v_fma_f64 v[51:52], v[4:5], s[46:47], s[44:45]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[31:32], -v[9:10], 1.0
	v_fma_f64 v[51:52], v[4:5], v[51:52], s[58:59]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[33:34], -v[31:32], 1.0
	v_fma_f64 v[51:52], v[4:5], v[51:52], s[64:65]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[9:10], v[33:34], -v[9:10]
	v_fma_f64 v[51:52], v[4:5], v[51:52], s[66:67]
	v_mul_f64 v[33:34], v[4:5], v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[9:10], v[149:150], -v[151:152], v[9:10]
	v_fma_f64 v[51:52], v[4:5], v[51:52], s[24:25]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fma_f64 v[9:10], v[33:34], v[51:52], v[9:10]
	v_mul_f64 v[33:34], v[149:150], -v[4:5]
	v_mul_f64 v[51:52], v[151:152], 0.5
	v_add_f64 v[9:10], v[31:32], v[9:10]
	v_fma_f64 v[31:32], v[4:5], s[30:31], s[28:29]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[31:32], v[4:5], v[31:32], s[52:53]
	v_fma_f64 v[31:32], v[4:5], v[31:32], s[60:61]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[31:32], v[4:5], v[31:32], s[14:15]
	v_fma_f64 v[31:32], v[33:34], v[31:32], v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[4:5], v[31:32], -v[151:152]
	v_fma_f64 v[4:5], v[33:34], s[68:69], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[4:5], v[149:150], -v[4:5]
	v_dual_cndmask_b32 v4, v9, v4 :: v_dual_lshlrev_b32 v9, 30, v26
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_cndmask_b32_e32 v5, v10, v5, vcc_lo
	v_cmp_eq_u32_e32 vcc_lo, 0, v19
	v_and_b32_e32 v19, 1, v20
	v_cndmask_b32_e64 v4, 0, v4, s1
	v_xor_b32_e32 v9, v9, v48
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_and_b32_e32 v9, 0x80000000, v9
	v_xor_b32_e32 v5, v5, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v5, 0x7ff80000, v5, s1
	v_mul_f64 v[105:106], s[74:75], v[4:5]
	v_mul_f64 v[4:5], v[141:142], v[141:142]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[9:10], v[4:5], 0.5
	v_fma_f64 v[33:34], v[4:5], s[46:47], s[44:45]
	v_add_f64 v[26:27], -v[9:10], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[33:34], v[4:5], v[33:34], s[58:59]
	v_add_f64 v[31:32], -v[26:27], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[33:34], v[4:5], v[33:34], s[64:65]
	v_add_f64 v[9:10], v[31:32], -v[9:10]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_fma_f64 v[33:34], v[4:5], v[33:34], s[66:67]
	v_mul_f64 v[31:32], v[4:5], v[4:5]
	v_fma_f64 v[9:10], v[141:142], -v[143:144], v[9:10]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[33:34], v[4:5], v[33:34], s[24:25]
	v_fma_f64 v[9:10], v[31:32], v[33:34], v[9:10]
	v_mul_f64 v[31:32], v[141:142], -v[4:5]
	v_mul_f64 v[33:34], v[143:144], 0.5
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[9:10], v[26:27], v[9:10]
	v_fma_f64 v[26:27], v[4:5], s[30:31], s[28:29]
	v_fma_f64 v[26:27], v[4:5], v[26:27], s[52:53]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[26:27], v[4:5], v[26:27], s[60:61]
	v_fma_f64 v[26:27], v[4:5], v[26:27], s[14:15]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[26:27], v[31:32], v[26:27], v[33:34]
	v_fma_f64 v[4:5], v[4:5], v[26:27], -v[143:144]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[31:32], s[68:69], v[4:5]
	v_add_f64 v[4:5], v[141:142], -v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_cndmask_b32 v4, v9, v4 :: v_dual_lshlrev_b32 v9, 30, v22
	v_cndmask_b32_e32 v5, v10, v5, vcc_lo
	v_cmp_eq_u32_e32 vcc_lo, 0, v19
	v_and_b32_e32 v22, 1, v0
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_2) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v4, 0, v4, s1
	v_xor_b32_e32 v9, v9, v48
	v_lshlrev_b32_e32 v0, 30, v0
	v_and_b32_e32 v9, 0x80000000, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_and_b32_e32 v0, 0x80000000, v0
	v_xor_b32_e32 v5, v5, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v5, 0x7ff80000, v5, s1
	v_mul_f64 v[107:108], s[72:73], v[4:5]
	v_mul_f64 v[4:5], v[133:134], v[133:134]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[9:10], v[4:5], 0.5
	v_fma_f64 v[33:34], v[4:5], s[46:47], s[44:45]
	v_add_f64 v[26:27], -v[9:10], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[33:34], v[4:5], v[33:34], s[58:59]
	v_add_f64 v[31:32], -v[26:27], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[33:34], v[4:5], v[33:34], s[64:65]
	v_add_f64 v[9:10], v[31:32], -v[9:10]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_fma_f64 v[33:34], v[4:5], v[33:34], s[66:67]
	v_mul_f64 v[31:32], v[4:5], v[4:5]
	v_fma_f64 v[9:10], v[133:134], -v[135:136], v[9:10]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[33:34], v[4:5], v[33:34], s[24:25]
	v_fma_f64 v[9:10], v[31:32], v[33:34], v[9:10]
	v_mul_f64 v[31:32], v[133:134], -v[4:5]
	v_mul_f64 v[33:34], v[135:136], 0.5
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[9:10], v[26:27], v[9:10]
	v_fma_f64 v[26:27], v[4:5], s[30:31], s[28:29]
	v_fma_f64 v[26:27], v[4:5], v[26:27], s[52:53]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[26:27], v[4:5], v[26:27], s[60:61]
	v_fma_f64 v[26:27], v[4:5], v[26:27], s[14:15]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[26:27], v[31:32], v[26:27], v[33:34]
	v_fma_f64 v[4:5], v[4:5], v[26:27], -v[135:136]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[31:32], s[68:69], v[4:5]
	v_add_f64 v[4:5], v[133:134], -v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_xor_b32_e32 v5, 0x80000000, v5
	v_dual_cndmask_b32 v4, v4, v9 :: v_dual_lshlrev_b32 v9, 30, v20
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cndmask_b32_e32 v5, v5, v10, vcc_lo
	v_cmp_eq_u32_e32 vcc_lo, 0, v22
	v_and_b32_e32 v9, 0x80000000, v9
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v4, 0, v4, s1
	v_xor_b32_e32 v5, v5, v9
	v_mul_f64 v[9:10], v[121:122], v[121:122]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v5, 0x7ff80000, v5, s1
	v_mul_f64 v[4:5], s[22:23], v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[19:20], v[9:10], 0.5
	v_fma_f64 v[33:34], v[9:10], s[46:47], s[44:45]
	v_add_f64 v[26:27], -v[19:20], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[33:34], v[9:10], v[33:34], s[58:59]
	v_add_f64 v[31:32], -v[26:27], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[33:34], v[9:10], v[33:34], s[64:65]
	v_add_f64 v[19:20], v[31:32], -v[19:20]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_fma_f64 v[33:34], v[9:10], v[33:34], s[66:67]
	v_mul_f64 v[31:32], v[9:10], v[9:10]
	v_fma_f64 v[19:20], v[121:122], -v[123:124], v[19:20]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[33:34], v[9:10], v[33:34], s[24:25]
	v_fma_f64 v[19:20], v[31:32], v[33:34], v[19:20]
	v_mul_f64 v[31:32], v[121:122], -v[9:10]
	v_mul_f64 v[33:34], v[123:124], 0.5
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[19:20], v[26:27], v[19:20]
	v_fma_f64 v[26:27], v[9:10], s[30:31], s[28:29]
	v_fma_f64 v[26:27], v[9:10], v[26:27], s[52:53]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[26:27], v[9:10], v[26:27], s[60:61]
	v_fma_f64 v[26:27], v[9:10], v[26:27], s[14:15]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[26:27], v[31:32], v[26:27], v[33:34]
	v_fma_f64 v[9:10], v[9:10], v[26:27], -v[123:124]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[9:10], v[31:32], s[68:69], v[9:10]
	v_add_f64 v[9:10], v[121:122], -v[9:10]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_xor_b32_e32 v10, 0x80000000, v10
	v_dual_cndmask_b32 v9, v9, v19 :: v_dual_cndmask_b32 v10, v10, v20
	v_mul_f64 v[19:20], v[125:126], v[125:126]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v9, 0, v9, s1
	v_xor_b32_e32 v0, v10, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v10, 0x7ff80000, v0, s1
	v_mul_f64 v[9:10], s[10:11], v[9:10]
	v_mul_f64 v[26:27], v[19:20], 0.5
	v_fma_f64 v[51:52], v[19:20], s[46:47], s[44:45]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[31:32], -v[26:27], 1.0
	v_fma_f64 v[51:52], v[19:20], v[51:52], s[58:59]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[33:34], -v[31:32], 1.0
	v_fma_f64 v[51:52], v[19:20], v[51:52], s[64:65]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[26:27], v[33:34], -v[26:27]
	v_fma_f64 v[51:52], v[19:20], v[51:52], s[66:67]
	v_mul_f64 v[33:34], v[19:20], v[19:20]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[26:27], v[125:126], -v[127:128], v[26:27]
	v_fma_f64 v[51:52], v[19:20], v[51:52], s[24:25]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fma_f64 v[26:27], v[33:34], v[51:52], v[26:27]
	v_mul_f64 v[33:34], v[125:126], -v[19:20]
	v_mul_f64 v[51:52], v[127:128], 0.5
	v_add_f64 v[26:27], v[31:32], v[26:27]
	v_fma_f64 v[31:32], v[19:20], s[30:31], s[28:29]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[31:32], v[19:20], v[31:32], s[52:53]
	v_fma_f64 v[31:32], v[19:20], v[31:32], s[60:61]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[31:32], v[19:20], v[31:32], s[14:15]
	v_fma_f64 v[31:32], v[33:34], v[31:32], v[51:52]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[19:20], v[19:20], v[31:32], -v[127:128]
	v_fma_f64 v[19:20], v[33:34], s[68:69], v[19:20]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[19:20], v[125:126], -v[19:20]
	v_xor_b32_e32 v0, 0x80000000, v20
	v_and_b32_e32 v20, 1, v6
	v_lshlrev_b32_e32 v6, 30, v6
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_eq_u32_e32 vcc_lo, 0, v20
	v_and_b32_e32 v6, 0x80000000, v6
	v_dual_cndmask_b32 v19, v19, v26 :: v_dual_cndmask_b32 v0, v0, v27
	v_mul_f64 v[26:27], v[129:130], v[129:130]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v19, 0, v19, s0
	v_xor_b32_e32 v0, v0, v6
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v20, 0x7ff80000, v0, s0
	v_and_b32_e32 v0, 1, v7
	v_lshlrev_b32_e32 v7, 30, v7
	v_cmp_eq_u32_e32 vcc_lo, 0, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_xor_b32_e32 v7, v7, v36
	v_and_b32_e32 v7, 0x80000000, v7
	v_mul_f64 v[31:32], v[26:27], 0.5
	v_fma_f64 v[113:114], v[26:27], s[46:47], s[44:45]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[33:34], -v[31:32], 1.0
	v_fma_f64 v[113:114], v[26:27], v[113:114], s[58:59]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[51:52], -v[33:34], 1.0
	v_fma_f64 v[113:114], v[26:27], v[113:114], s[64:65]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[31:32], v[51:52], -v[31:32]
	v_fma_f64 v[113:114], v[26:27], v[113:114], s[66:67]
	v_mul_f64 v[51:52], v[26:27], v[26:27]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[31:32], v[129:130], -v[131:132], v[31:32]
	v_fma_f64 v[113:114], v[26:27], v[113:114], s[24:25]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fma_f64 v[31:32], v[51:52], v[113:114], v[31:32]
	v_mul_f64 v[51:52], v[129:130], -v[26:27]
	v_mul_f64 v[113:114], v[131:132], 0.5
	v_add_f64 v[31:32], v[33:34], v[31:32]
	v_fma_f64 v[33:34], v[26:27], s[30:31], s[28:29]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[33:34], v[26:27], v[33:34], s[52:53]
	v_fma_f64 v[33:34], v[26:27], v[33:34], s[60:61]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[33:34], v[26:27], v[33:34], s[14:15]
	v_fma_f64 v[33:34], v[51:52], v[33:34], v[113:114]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[26:27], v[26:27], v[33:34], -v[131:132]
	v_fma_f64 v[26:27], v[51:52], s[68:69], v[26:27]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[26:27], v[129:130], -v[26:27]
	v_cndmask_b32_e32 v6, v32, v27, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e32 v0, v31, v26, vcc_lo
	v_xor_b32_e32 v7, v6, v7
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v6, 0, v0, s0
	v_cndmask_b32_e64 v7, 0x7ff80000, v7, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[4:5], v[4:5], v[6:7]
	v_mul_f64 v[6:7], v[137:138], v[137:138]
	v_fma_f64 v[4:5], v[9:10], v[19:20], v[4:5]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[9:10], v[6:7], 0.5
	v_fma_f64 v[31:32], v[6:7], s[46:47], s[44:45]
	v_add_f64 v[19:20], -v[9:10], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[31:32], v[6:7], v[31:32], s[58:59]
	v_add_f64 v[26:27], -v[19:20], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[31:32], v[6:7], v[31:32], s[64:65]
	v_add_f64 v[9:10], v[26:27], -v[9:10]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_fma_f64 v[31:32], v[6:7], v[31:32], s[66:67]
	v_mul_f64 v[26:27], v[6:7], v[6:7]
	v_fma_f64 v[9:10], v[137:138], -v[139:140], v[9:10]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[31:32], v[6:7], v[31:32], s[24:25]
	v_fma_f64 v[9:10], v[26:27], v[31:32], v[9:10]
	v_mul_f64 v[26:27], v[137:138], -v[6:7]
	v_mul_f64 v[31:32], v[139:140], 0.5
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[9:10], v[19:20], v[9:10]
	v_fma_f64 v[19:20], v[6:7], s[30:31], s[28:29]
	v_fma_f64 v[19:20], v[6:7], v[19:20], s[52:53]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[19:20], v[6:7], v[19:20], s[60:61]
	v_fma_f64 v[19:20], v[6:7], v[19:20], s[14:15]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_fma_f64 v[19:20], v[26:27], v[19:20], v[31:32]
	scratch_load_b64 v[31:32], off, off offset:104 ; 8-byte Folded Reload
	v_fma_f64 v[6:7], v[6:7], v[19:20], -v[139:140]
	v_fma_f64 v[6:7], v[26:27], s[68:69], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[137:138], -v[6:7]
	v_xor_b32_e32 v0, 0x80000000, v7
	v_and_b32_e32 v7, 1, v21
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_eq_u32_e32 vcc_lo, 0, v7
	v_dual_cndmask_b32 v0, v0, v10 :: v_dual_lshlrev_b32 v7, 30, v21
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_cndmask_b32 v6, v6, v9 :: v_dual_and_b32 v7, 0x80000000, v7
	v_xor_b32_e32 v0, v0, v7
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v6, 0, v6, s0
	v_cndmask_b32_e64 v7, 0x7ff80000, v0, s0
	v_and_b32_e32 v0, 1, v23
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_fma_f64 v[4:5], v[107:108], v[6:7], v[4:5]
	v_mul_f64 v[6:7], v[145:146], v[145:146]
	v_cmp_eq_u32_e32 vcc_lo, 0, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[9:10], v[6:7], 0.5
	v_fma_f64 v[26:27], v[6:7], s[46:47], s[44:45]
	v_add_f64 v[19:20], -v[9:10], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[26:27], v[6:7], v[26:27], s[58:59]
	v_add_f64 v[21:22], -v[19:20], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[26:27], v[6:7], v[26:27], s[64:65]
	v_add_f64 v[9:10], v[21:22], -v[9:10]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_fma_f64 v[26:27], v[6:7], v[26:27], s[66:67]
	v_mul_f64 v[21:22], v[6:7], v[6:7]
	v_fma_f64 v[9:10], v[145:146], -v[147:148], v[9:10]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[26:27], v[6:7], v[26:27], s[24:25]
	v_fma_f64 v[9:10], v[21:22], v[26:27], v[9:10]
	v_mul_f64 v[21:22], v[145:146], -v[6:7]
	v_mul_f64 v[26:27], v[147:148], 0.5
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[9:10], v[19:20], v[9:10]
	v_fma_f64 v[19:20], v[6:7], s[30:31], s[28:29]
	v_fma_f64 v[19:20], v[6:7], v[19:20], s[52:53]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[19:20], v[6:7], v[19:20], s[60:61]
	v_fma_f64 v[19:20], v[6:7], v[19:20], s[14:15]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_fma_f64 v[19:20], v[21:22], v[19:20], v[26:27]
	scratch_load_b64 v[26:27], off, off offset:64 ; 8-byte Folded Reload
	v_fma_f64 v[6:7], v[6:7], v[19:20], -v[147:148]
	v_fma_f64 v[6:7], v[21:22], s[68:69], v[6:7]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[145:146], -v[6:7]
	v_cndmask_b32_e32 v0, v9, v6, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v6, v10, v7, vcc_lo
	v_lshlrev_b32_e32 v7, 30, v23
	v_xor_b32_e32 v7, v7, v36
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_and_b32_e32 v7, 0x80000000, v7
	v_xor_b32_e32 v7, v6, v7
	v_cndmask_b32_e64 v6, 0, v0, s0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v7, 0x7ff80000, v7, s0
	v_fma_f64 v[4:5], v[105:106], v[6:7], v[4:5]
	s_waitcnt vmcnt(1)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f64 v[4:5], v[4:5], v[31:32]
	v_mul_f64 v[4:5], v[4:5], 0.5
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_div_scale_f64 v[6:7], null, v[26:27], v[26:27], v[4:5]
	v_rcp_f64_e32 v[9:10], v[6:7]
	s_waitcnt_depctr 0xfff
	v_fma_f64 v[19:20], -v[6:7], v[9:10], 1.0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[9:10], v[9:10], v[19:20], v[9:10]
	v_fma_f64 v[19:20], -v[6:7], v[9:10], 1.0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_fma_f64 v[9:10], v[9:10], v[19:20], v[9:10]
	v_div_scale_f64 v[19:20], vcc_lo, v[4:5], v[26:27], v[4:5]
	v_mul_f64 v[21:22], v[19:20], v[9:10]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[6:7], -v[6:7], v[21:22], v[19:20]
	v_div_fmas_f64 v[6:7], v[6:7], v[9:10], v[21:22]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_div_fixup_f64 v[105:106], v[6:7], v[26:27], v[4:5]
	v_mul_f64 v[4:5], v[117:118], v[117:118]
	v_mul_f64 v[6:7], v[4:5], 0.5
	v_fma_f64 v[21:22], v[4:5], s[46:47], s[44:45]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[9:10], -v[6:7], 1.0
	v_fma_f64 v[21:22], v[4:5], v[21:22], s[58:59]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[19:20], -v[9:10], 1.0
	v_fma_f64 v[21:22], v[4:5], v[21:22], s[64:65]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[6:7], v[19:20], -v[6:7]
	v_fma_f64 v[21:22], v[4:5], v[21:22], s[66:67]
	v_mul_f64 v[19:20], v[4:5], v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[6:7], v[117:118], -v[119:120], v[6:7]
	v_fma_f64 v[21:22], v[4:5], v[21:22], s[24:25]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fma_f64 v[6:7], v[19:20], v[21:22], v[6:7]
	v_mul_f64 v[19:20], v[117:118], -v[4:5]
	v_mul_f64 v[21:22], v[119:120], 0.5
	v_add_f64 v[6:7], v[9:10], v[6:7]
	v_fma_f64 v[9:10], v[4:5], s[30:31], s[28:29]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[9:10], v[4:5], v[9:10], s[52:53]
	v_fma_f64 v[9:10], v[4:5], v[9:10], s[60:61]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[9:10], v[4:5], v[9:10], s[14:15]
	v_fma_f64 v[9:10], v[19:20], v[9:10], v[21:22]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[4:5], v[9:10], -v[119:120]
	v_fma_f64 v[4:5], v[19:20], s[68:69], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[4:5], v[117:118], -v[4:5]
	v_xor_b32_e32 v0, 0x80000000, v5
	v_and_b32_e32 v5, 1, v25
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_eq_u32_e32 vcc_lo, 0, v5
	v_dual_cndmask_b32 v0, v0, v7 :: v_dual_lshlrev_b32 v5, 30, v25
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_cndmask_b32 v4, v4, v6 :: v_dual_and_b32 v5, 0x80000000, v5
	v_xor_b32_e32 v0, v0, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v4, 0, v4, s1
	v_cndmask_b32_e64 v5, 0x7ff80000, v0, s1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mul_f64 v[107:108], s[74:75], v[4:5]
	v_mul_f64 v[4:5], v[99:100], v[99:100]
	v_mul_f64 v[6:7], v[4:5], 0.5
	v_fma_f64 v[21:22], v[4:5], s[46:47], s[44:45]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[9:10], -v[6:7], 1.0
	v_fma_f64 v[21:22], v[4:5], v[21:22], s[58:59]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[19:20], -v[9:10], 1.0
	v_fma_f64 v[21:22], v[4:5], v[21:22], s[64:65]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[6:7], v[19:20], -v[6:7]
	v_fma_f64 v[21:22], v[4:5], v[21:22], s[66:67]
	v_mul_f64 v[19:20], v[4:5], v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[6:7], v[99:100], -v[101:102], v[6:7]
	v_fma_f64 v[21:22], v[4:5], v[21:22], s[24:25]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fma_f64 v[6:7], v[19:20], v[21:22], v[6:7]
	v_mul_f64 v[19:20], v[99:100], -v[4:5]
	v_mul_f64 v[21:22], v[101:102], 0.5
	v_add_f64 v[6:7], v[9:10], v[6:7]
	v_fma_f64 v[9:10], v[4:5], s[30:31], s[28:29]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[9:10], v[4:5], v[9:10], s[52:53]
	v_fma_f64 v[9:10], v[4:5], v[9:10], s[60:61]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[9:10], v[4:5], v[9:10], s[14:15]
	v_fma_f64 v[9:10], v[19:20], v[9:10], v[21:22]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[4:5], v[9:10], -v[101:102]
	v_fma_f64 v[4:5], v[19:20], s[68:69], v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[4:5], v[99:100], -v[4:5]
	v_xor_b32_e32 v0, 0x80000000, v5
	v_and_b32_e32 v5, 1, v18
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_eq_u32_e32 vcc_lo, 0, v5
	v_dual_cndmask_b32 v0, v0, v7 :: v_dual_lshlrev_b32 v5, 30, v18
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_cndmask_b32 v4, v4, v6 :: v_dual_and_b32 v5, 0x80000000, v5
	v_xor_b32_e32 v0, v0, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v4, 0, v4, s1
	v_cndmask_b32_e64 v5, 0x7ff80000, v0, s1
	v_and_b32_e32 v0, 1, v191
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_mul_f64 v[99:100], s[72:73], v[4:5]
	v_mul_f64 v[4:5], v[89:90], v[89:90]
	v_cmp_eq_u32_e32 vcc_lo, 0, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[6:7], v[4:5], 0.5
	v_fma_f64 v[20:21], v[4:5], s[46:47], s[44:45]
	v_add_f64 v[9:10], -v[6:7], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[20:21], v[4:5], v[20:21], s[58:59]
	v_add_f64 v[18:19], -v[9:10], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[20:21], v[4:5], v[20:21], s[64:65]
	v_add_f64 v[6:7], v[18:19], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_fma_f64 v[20:21], v[4:5], v[20:21], s[66:67]
	v_mul_f64 v[18:19], v[4:5], v[4:5]
	v_fma_f64 v[6:7], v[89:90], -v[91:92], v[6:7]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[20:21], v[4:5], v[20:21], s[24:25]
	v_fma_f64 v[6:7], v[18:19], v[20:21], v[6:7]
	v_mul_f64 v[18:19], v[89:90], -v[4:5]
	v_mul_f64 v[20:21], v[91:92], 0.5
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[9:10], v[6:7]
	v_fma_f64 v[9:10], v[4:5], s[30:31], s[28:29]
	v_fma_f64 v[9:10], v[4:5], v[9:10], s[52:53]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[9:10], v[4:5], v[9:10], s[60:61]
	v_fma_f64 v[9:10], v[4:5], v[9:10], s[14:15]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[9:10], v[18:19], v[9:10], v[20:21]
	v_fma_f64 v[4:5], v[4:5], v[9:10], -v[91:92]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[18:19], s[68:69], v[4:5]
	v_add_f64 v[4:5], v[89:90], -v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e32 v0, v6, v4, vcc_lo
	v_dual_cndmask_b32 v4, v7, v5 :: v_dual_lshlrev_b32 v5, 30, v191
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_xor_b32_e32 v5, v5, v48
	v_and_b32_e32 v5, 0x80000000, v5
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_3) | instid1(VALU_DEP_4)
	v_xor_b32_e32 v5, v4, v5
	v_cndmask_b32_e64 v4, 0, v0, s1
	v_and_b32_e32 v0, 1, v3
	v_lshlrev_b32_e32 v3, 30, v3
	v_cndmask_b32_e64 v5, 0x7ff80000, v5, s1
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_eq_u32_e32 vcc_lo, 0, v0
	v_xor_b32_e32 v3, v3, v48
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_mul_f64 v[89:90], s[22:23], v[4:5]
	v_mul_f64 v[4:5], v[73:74], v[73:74]
	v_and_b32_e32 v3, 0x80000000, v3
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[6:7], v[4:5], 0.5
	v_fma_f64 v[20:21], v[4:5], s[46:47], s[44:45]
	v_add_f64 v[9:10], -v[6:7], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[20:21], v[4:5], v[20:21], s[58:59]
	v_add_f64 v[18:19], -v[9:10], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[20:21], v[4:5], v[20:21], s[64:65]
	v_add_f64 v[6:7], v[18:19], -v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_fma_f64 v[20:21], v[4:5], v[20:21], s[66:67]
	v_mul_f64 v[18:19], v[4:5], v[4:5]
	v_fma_f64 v[6:7], v[73:74], -v[75:76], v[6:7]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[20:21], v[4:5], v[20:21], s[24:25]
	v_fma_f64 v[6:7], v[18:19], v[20:21], v[6:7]
	v_mul_f64 v[18:19], v[73:74], -v[4:5]
	v_mul_f64 v[20:21], v[75:76], 0.5
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[6:7], v[9:10], v[6:7]
	v_fma_f64 v[9:10], v[4:5], s[30:31], s[28:29]
	v_fma_f64 v[9:10], v[4:5], v[9:10], s[52:53]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[9:10], v[4:5], v[9:10], s[60:61]
	v_fma_f64 v[9:10], v[4:5], v[9:10], s[14:15]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[9:10], v[18:19], v[9:10], v[20:21]
	v_fma_f64 v[4:5], v[4:5], v[9:10], -v[75:76]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[18:19], s[68:69], v[4:5]
	v_add_f64 v[4:5], v[73:74], -v[4:5]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e32 v0, v6, v4, vcc_lo
	v_cndmask_b32_e32 v4, v7, v5, vcc_lo
	v_mul_f64 v[5:6], v[77:78], v[77:78]
	v_and_b32_e32 v7, 1, v189
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_xor_b32_e32 v4, v4, v3
	v_cndmask_b32_e64 v3, 0, v0, s1
	v_cndmask_b32_e64 v4, 0x7ff80000, v4, s1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_2)
	v_mul_f64 v[3:4], -s[10:11], v[3:4]
	v_mul_f64 v[9:10], v[5:6], 0.5
	v_fma_f64 v[22:23], v[5:6], s[46:47], s[44:45]
	v_add_f64 v[18:19], -v[9:10], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[22:23], v[5:6], v[22:23], s[58:59]
	v_add_f64 v[20:21], -v[18:19], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[22:23], v[5:6], v[22:23], s[64:65]
	v_add_f64 v[9:10], v[20:21], -v[9:10]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_fma_f64 v[22:23], v[5:6], v[22:23], s[66:67]
	v_mul_f64 v[20:21], v[5:6], v[5:6]
	v_fma_f64 v[9:10], v[77:78], -v[79:80], v[9:10]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[22:23], v[5:6], v[22:23], s[24:25]
	v_fma_f64 v[9:10], v[20:21], v[22:23], v[9:10]
	v_mul_f64 v[20:21], v[77:78], -v[5:6]
	v_mul_f64 v[22:23], v[79:80], 0.5
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[9:10], v[18:19], v[9:10]
	v_fma_f64 v[18:19], v[5:6], s[30:31], s[28:29]
	v_fma_f64 v[18:19], v[5:6], v[18:19], s[52:53]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[18:19], v[5:6], v[18:19], s[60:61]
	v_fma_f64 v[18:19], v[5:6], v[18:19], s[14:15]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[18:19], v[20:21], v[18:19], v[22:23]
	v_fma_f64 v[5:6], v[5:6], v[18:19], -v[79:80]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[5:6], v[20:21], s[68:69], v[5:6]
	v_add_f64 v[5:6], v[77:78], -v[5:6]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_2)
	v_xor_b32_e32 v0, 0x80000000, v6
	v_and_b32_e32 v6, 1, v1
	v_lshlrev_b32_e32 v1, 30, v1
	v_cmp_eq_u32_e32 vcc_lo, 0, v6
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_3) | instid1(VALU_DEP_3)
	v_and_b32_e32 v1, 0x80000000, v1
	v_dual_cndmask_b32 v5, v5, v9 :: v_dual_cndmask_b32 v0, v0, v10
	v_cmp_eq_u32_e32 vcc_lo, 0, v7
	v_lshlrev_b32_e32 v7, 30, v189
	v_xor_b32_e32 v1, v0, v1
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_cndmask_b32_e64 v0, 0, v5, s0
	v_mul_f64 v[5:6], v[81:82], v[81:82]
	v_xor_b32_e32 v7, v7, v36
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v1, 0x7ff80000, v1, s0
	v_and_b32_e32 v7, 0x80000000, v7
	s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[9:10], v[5:6], 0.5
	v_fma_f64 v[22:23], v[5:6], s[46:47], s[44:45]
	v_add_f64 v[18:19], -v[9:10], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[22:23], v[5:6], v[22:23], s[58:59]
	v_add_f64 v[20:21], -v[18:19], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[22:23], v[5:6], v[22:23], s[64:65]
	v_add_f64 v[9:10], v[20:21], -v[9:10]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_fma_f64 v[22:23], v[5:6], v[22:23], s[66:67]
	v_mul_f64 v[20:21], v[5:6], v[5:6]
	v_fma_f64 v[9:10], v[81:82], -v[83:84], v[9:10]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[22:23], v[5:6], v[22:23], s[24:25]
	v_fma_f64 v[9:10], v[20:21], v[22:23], v[9:10]
	v_mul_f64 v[20:21], v[81:82], -v[5:6]
	v_mul_f64 v[22:23], v[83:84], 0.5
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[9:10], v[18:19], v[9:10]
	v_fma_f64 v[18:19], v[5:6], s[30:31], s[28:29]
	v_fma_f64 v[18:19], v[5:6], v[18:19], s[52:53]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[18:19], v[5:6], v[18:19], s[60:61]
	v_fma_f64 v[18:19], v[5:6], v[18:19], s[14:15]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[18:19], v[20:21], v[18:19], v[22:23]
	v_fma_f64 v[5:6], v[5:6], v[18:19], -v[83:84]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[5:6], v[20:21], s[68:69], v[5:6]
	v_add_f64 v[5:6], v[81:82], -v[5:6]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_cndmask_b32 v5, v9, v5 :: v_dual_cndmask_b32 v6, v10, v6
	v_cndmask_b32_e64 v5, 0, v5, s0
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_xor_b32_e32 v6, v6, v7
	v_and_b32_e32 v7, 1, v190
	v_cndmask_b32_e64 v6, 0x7ff80000, v6, s0
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_4)
	v_cmp_eq_u32_e32 vcc_lo, 0, v7
	v_and_b32_e32 v7, 1, v2
	v_lshlrev_b32_e32 v2, 30, v2
	v_mul_f64 v[5:6], v[89:90], v[5:6]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_xor_b32_e32 v2, v2, v36
	v_and_b32_e32 v2, 0x80000000, v2
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_fma_f64 v[0:1], v[3:4], v[0:1], -v[5:6]
	v_mul_f64 v[3:4], v[85:86], v[85:86]
	v_mul_f64 v[5:6], v[3:4], 0.5
	v_fma_f64 v[20:21], v[3:4], s[46:47], s[44:45]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[9:10], -v[5:6], 1.0
	v_fma_f64 v[20:21], v[3:4], v[20:21], s[58:59]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[18:19], -v[9:10], 1.0
	v_fma_f64 v[20:21], v[3:4], v[20:21], s[64:65]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[5:6], v[18:19], -v[5:6]
	v_fma_f64 v[20:21], v[3:4], v[20:21], s[66:67]
	v_mul_f64 v[18:19], v[3:4], v[3:4]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[5:6], v[85:86], -v[87:88], v[5:6]
	v_fma_f64 v[20:21], v[3:4], v[20:21], s[24:25]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fma_f64 v[5:6], v[18:19], v[20:21], v[5:6]
	v_mul_f64 v[18:19], v[85:86], -v[3:4]
	v_mul_f64 v[20:21], v[87:88], 0.5
	v_add_f64 v[5:6], v[9:10], v[5:6]
	v_fma_f64 v[9:10], v[3:4], s[30:31], s[28:29]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[9:10], v[3:4], v[9:10], s[52:53]
	v_fma_f64 v[9:10], v[3:4], v[9:10], s[60:61]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[9:10], v[3:4], v[9:10], s[14:15]
	v_fma_f64 v[9:10], v[18:19], v[9:10], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[3:4], v[3:4], v[9:10], -v[87:88]
	v_fma_f64 v[3:4], v[18:19], s[68:69], v[3:4]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[3:4], v[85:86], -v[3:4]
	v_xor_b32_e32 v4, 0x80000000, v4
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_cndmask_b32_e32 v3, v3, v5, vcc_lo
	v_lshlrev_b32_e32 v5, 30, v190
	v_cndmask_b32_e32 v4, v4, v6, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v3, 0, v3, s0
	v_and_b32_e32 v5, 0x80000000, v5
	v_cmp_eq_u32_e32 vcc_lo, 0, v7
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_xor_b32_e32 v4, v4, v5
	v_cndmask_b32_e64 v4, 0x7ff80000, v4, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_fma_f64 v[0:1], v[99:100], v[3:4], v[0:1]
	v_mul_f64 v[3:4], v[93:94], v[93:94]
	v_mul_f64 v[5:6], v[3:4], 0.5
	v_fma_f64 v[20:21], v[3:4], s[46:47], s[44:45]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[9:10], -v[5:6], 1.0
	v_fma_f64 v[20:21], v[3:4], v[20:21], s[58:59]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[18:19], -v[9:10], 1.0
	v_fma_f64 v[20:21], v[3:4], v[20:21], s[64:65]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[5:6], v[18:19], -v[5:6]
	v_fma_f64 v[20:21], v[3:4], v[20:21], s[66:67]
	v_mul_f64 v[18:19], v[3:4], v[3:4]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[5:6], v[93:94], -v[95:96], v[5:6]
	v_fma_f64 v[20:21], v[3:4], v[20:21], s[24:25]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fma_f64 v[5:6], v[18:19], v[20:21], v[5:6]
	v_mul_f64 v[18:19], v[93:94], -v[3:4]
	v_mul_f64 v[20:21], v[95:96], 0.5
	v_add_f64 v[5:6], v[9:10], v[5:6]
	v_fma_f64 v[9:10], v[3:4], s[30:31], s[28:29]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[9:10], v[3:4], v[9:10], s[52:53]
	v_fma_f64 v[9:10], v[3:4], v[9:10], s[60:61]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[9:10], v[3:4], v[9:10], s[14:15]
	v_fma_f64 v[9:10], v[18:19], v[9:10], v[20:21]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[3:4], v[3:4], v[9:10], -v[95:96]
	v_fma_f64 v[3:4], v[18:19], s[68:69], v[3:4]
	scratch_load_b64 v[18:19], off, off offset:20 ; 8-byte Folded Reload
	v_add_f64 v[3:4], v[93:94], -v[3:4]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_cndmask_b32 v3, v5, v3 :: v_dual_cndmask_b32 v4, v6, v4
	v_xor_b32_e32 v4, v4, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v2, 0, v3, s0
	v_cndmask_b32_e64 v3, 0x7ff80000, v4, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_3) | instid1(VALU_DEP_1)
	v_fma_f64 v[0:1], v[107:108], v[2:3], v[0:1]
	scratch_load_b64 v[2:3], off, off offset:32 ; 8-byte Folded Reload
	s_waitcnt vmcnt(0)
	v_mul_f64 v[0:1], v[0:1], v[2:3]
	v_mul_f64 v[0:1], v[26:27], v[0:1]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mul_f64 v[51:52], v[29:30], v[0:1]
	v_mul_f64 v[0:1], v[69:70], v[69:70]
	v_mul_f64 v[2:3], v[0:1], 0.5
	v_fma_f64 v[9:10], v[0:1], s[46:47], s[44:45]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], -v[2:3], 1.0
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[58:59]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[6:7], -v[4:5], 1.0
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[64:65]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[2:3], v[6:7], -v[2:3]
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[66:67]
	v_mul_f64 v[6:7], v[0:1], v[0:1]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[2:3], v[69:70], -v[71:72], v[2:3]
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[24:25]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fma_f64 v[2:3], v[6:7], v[9:10], v[2:3]
	v_mul_f64 v[6:7], v[69:70], -v[0:1]
	v_mul_f64 v[9:10], v[71:72], 0.5
	v_add_f64 v[2:3], v[4:5], v[2:3]
	v_fma_f64 v[4:5], v[0:1], s[30:31], s[28:29]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[0:1], v[4:5], s[52:53]
	v_fma_f64 v[4:5], v[0:1], v[4:5], s[60:61]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[0:1], v[4:5], s[14:15]
	v_fma_f64 v[4:5], v[6:7], v[4:5], v[9:10]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[0:1], v[0:1], v[4:5], -v[71:72]
	v_fma_f64 v[0:1], v[6:7], s[68:69], v[0:1]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[0:1], v[69:70], -v[0:1]
	v_and_b32_e32 v4, 1, v11
	v_cmp_eq_u32_e32 vcc_lo, 0, v4
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_dual_cndmask_b32 v1, v3, v1 :: v_dual_cndmask_b32 v0, v2, v0
	v_lshlrev_b32_e32 v2, 30, v11
	v_cndmask_b32_e64 v0, 0, v0, s1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_xor_b32_e32 v2, v2, v48
	v_and_b32_e32 v2, 0x80000000, v2
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_xor_b32_e32 v1, v1, v2
	v_cndmask_b32_e64 v1, 0x7ff80000, v1, s1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mul_f64 v[69:70], s[74:75], v[0:1]
	v_mul_f64 v[0:1], v[65:66], v[65:66]
	v_mul_f64 v[2:3], v[0:1], 0.5
	v_fma_f64 v[9:10], v[0:1], s[46:47], s[44:45]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], -v[2:3], 1.0
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[58:59]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[6:7], -v[4:5], 1.0
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[64:65]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[2:3], v[6:7], -v[2:3]
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[66:67]
	v_mul_f64 v[6:7], v[0:1], v[0:1]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[2:3], v[65:66], -v[67:68], v[2:3]
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[24:25]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fma_f64 v[2:3], v[6:7], v[9:10], v[2:3]
	v_mul_f64 v[6:7], v[65:66], -v[0:1]
	v_mul_f64 v[9:10], v[67:68], 0.5
	v_add_f64 v[2:3], v[4:5], v[2:3]
	v_fma_f64 v[4:5], v[0:1], s[30:31], s[28:29]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[0:1], v[4:5], s[52:53]
	v_fma_f64 v[4:5], v[0:1], v[4:5], s[60:61]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[0:1], v[4:5], s[14:15]
	v_fma_f64 v[4:5], v[6:7], v[4:5], v[9:10]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_fma_f64 v[0:1], v[0:1], v[4:5], -v[67:68]
	scratch_load_b32 v5, off, off offset:52 ; 4-byte Folded Reload
	v_fma_f64 v[0:1], v[6:7], s[68:69], v[0:1]
	v_add_f64 v[0:1], v[65:66], -v[0:1]
	s_waitcnt vmcnt(0)
	v_and_b32_e32 v4, 1, v5
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_eq_u32_e32 vcc_lo, 0, v4
	v_cndmask_b32_e32 v0, v2, v0, vcc_lo
	v_lshlrev_b32_e32 v2, 30, v5
	v_cndmask_b32_e32 v1, v3, v1, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v0, 0, v0, s1
	v_xor_b32_e32 v2, v2, v48
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_and_b32_e32 v2, 0x80000000, v2
	v_xor_b32_e32 v1, v1, v2
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v1, 0x7ff80000, v1, s1
	v_mul_f64 v[47:48], s[72:73], v[0:1]
	v_mul_f64 v[0:1], v[57:58], v[57:58]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[2:3], v[0:1], 0.5
	v_fma_f64 v[9:10], v[0:1], s[46:47], s[44:45]
	v_add_f64 v[4:5], -v[2:3], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[58:59]
	v_add_f64 v[6:7], -v[4:5], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[64:65]
	v_add_f64 v[2:3], v[6:7], -v[2:3]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[66:67]
	v_mul_f64 v[6:7], v[0:1], v[0:1]
	v_fma_f64 v[2:3], v[57:58], -v[59:60], v[2:3]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[24:25]
	v_fma_f64 v[2:3], v[6:7], v[9:10], v[2:3]
	v_mul_f64 v[6:7], v[57:58], -v[0:1]
	v_mul_f64 v[9:10], v[59:60], 0.5
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[2:3], v[4:5], v[2:3]
	v_fma_f64 v[4:5], v[0:1], s[30:31], s[28:29]
	v_fma_f64 v[4:5], v[0:1], v[4:5], s[52:53]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[0:1], v[4:5], s[60:61]
	v_fma_f64 v[4:5], v[0:1], v[4:5], s[14:15]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[6:7], v[4:5], v[9:10]
	v_fma_f64 v[0:1], v[0:1], v[4:5], -v[59:60]
	scratch_load_b32 v5, off, off offset:44 ; 4-byte Folded Reload
	v_fma_f64 v[0:1], v[6:7], s[68:69], v[0:1]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[0:1], v[57:58], -v[0:1]
	v_xor_b32_e32 v1, 0x80000000, v1
	s_waitcnt vmcnt(0)
	v_and_b32_e32 v4, 1, v5
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_cmp_eq_u32_e32 vcc_lo, 0, v4
	v_cndmask_b32_e32 v0, v0, v2, vcc_lo
	v_dual_cndmask_b32 v1, v1, v3 :: v_dual_lshlrev_b32 v2, 30, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v0, 0, v0, s1
	v_and_b32_e32 v2, 0x80000000, v2
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_xor_b32_e32 v1, v1, v2
	v_cndmask_b32_e64 v1, 0x7ff80000, v1, s1
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mul_f64 v[57:58], s[22:23], v[0:1]
	v_mul_f64 v[0:1], v[37:38], v[37:38]
	v_mul_f64 v[2:3], v[0:1], 0.5
	v_fma_f64 v[9:10], v[0:1], s[46:47], s[44:45]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], -v[2:3], 1.0
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[58:59]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[6:7], -v[4:5], 1.0
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[64:65]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[2:3], v[6:7], -v[2:3]
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[66:67]
	v_mul_f64 v[6:7], v[0:1], v[0:1]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[2:3], v[37:38], -v[18:19], v[2:3]
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[24:25]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fma_f64 v[2:3], v[6:7], v[9:10], v[2:3]
	v_mul_f64 v[6:7], v[37:38], -v[0:1]
	v_mul_f64 v[9:10], v[18:19], 0.5
	v_add_f64 v[2:3], v[4:5], v[2:3]
	v_fma_f64 v[4:5], v[0:1], s[30:31], s[28:29]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[0:1], v[4:5], s[52:53]
	v_fma_f64 v[4:5], v[0:1], v[4:5], s[60:61]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[0:1], v[4:5], s[14:15]
	v_fma_f64 v[4:5], v[6:7], v[4:5], v[9:10]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_fma_f64 v[0:1], v[0:1], v[4:5], -v[18:19]
	v_and_b32_e32 v4, 1, v39
	v_cmp_eq_u32_e32 vcc_lo, 0, v4
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[0:1], v[6:7], s[68:69], v[0:1]
	v_add_f64 v[0:1], v[37:38], -v[0:1]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_xor_b32_e32 v1, 0x80000000, v1
	v_cndmask_b32_e32 v0, v0, v2, vcc_lo
	v_lshlrev_b32_e32 v2, 30, v39
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cndmask_b32_e32 v1, v1, v3, vcc_lo
	v_cndmask_b32_e64 v0, 0, v0, s1
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_and_b32_e32 v2, 0x80000000, v2
	v_xor_b32_e32 v1, v1, v2
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v1, 0x7ff80000, v1, s1
	v_mul_f64 v[37:38], s[10:11], v[0:1]
	v_mul_f64 v[0:1], v[41:42], v[41:42]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[2:3], v[0:1], 0.5
	v_fma_f64 v[9:10], v[0:1], s[46:47], s[44:45]
	v_add_f64 v[4:5], -v[2:3], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[58:59]
	v_add_f64 v[6:7], -v[4:5], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[64:65]
	v_add_f64 v[2:3], v[6:7], -v[2:3]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[66:67]
	v_mul_f64 v[6:7], v[0:1], v[0:1]
	v_fma_f64 v[2:3], v[41:42], -v[43:44], v[2:3]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[24:25]
	v_fma_f64 v[2:3], v[6:7], v[9:10], v[2:3]
	v_mul_f64 v[6:7], v[41:42], -v[0:1]
	v_mul_f64 v[9:10], v[43:44], 0.5
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[2:3], v[4:5], v[2:3]
	v_fma_f64 v[4:5], v[0:1], s[30:31], s[28:29]
	v_fma_f64 v[4:5], v[0:1], v[4:5], s[52:53]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[0:1], v[4:5], s[60:61]
	v_fma_f64 v[4:5], v[0:1], v[4:5], s[14:15]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[6:7], v[4:5], v[9:10]
	v_fma_f64 v[0:1], v[0:1], v[4:5], -v[43:44]
	v_and_b32_e32 v4, 1, v40
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_eq_u32_e32 vcc_lo, 0, v4
	v_fma_f64 v[0:1], v[6:7], s[68:69], v[0:1]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[0:1], v[41:42], -v[0:1]
	v_xor_b32_e32 v1, 0x80000000, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e32 v0, v0, v2, vcc_lo
	v_dual_cndmask_b32 v1, v1, v3 :: v_dual_lshlrev_b32 v2, 30, v40
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v39, 0, v0, s0
	v_and_b32_e32 v2, 0x80000000, v2
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_xor_b32_e32 v1, v1, v2
	v_cndmask_b32_e64 v40, 0x7ff80000, v1, s0
	v_mul_f64 v[0:1], v[45:46], v[45:46]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f64 v[2:3], v[0:1], 0.5
	v_fma_f64 v[9:10], v[0:1], s[46:47], s[44:45]
	v_add_f64 v[4:5], -v[2:3], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[58:59]
	v_add_f64 v[6:7], -v[4:5], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[64:65]
	v_add_f64 v[2:3], v[6:7], -v[2:3]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[66:67]
	v_mul_f64 v[6:7], v[0:1], v[0:1]
	v_fma_f64 v[2:3], v[45:46], -v[49:50], v[2:3]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[24:25]
	v_fma_f64 v[2:3], v[6:7], v[9:10], v[2:3]
	v_mul_f64 v[6:7], v[45:46], -v[0:1]
	v_mul_f64 v[9:10], v[49:50], 0.5
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[2:3], v[4:5], v[2:3]
	v_fma_f64 v[4:5], v[0:1], s[30:31], s[28:29]
	v_fma_f64 v[4:5], v[0:1], v[4:5], s[52:53]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[0:1], v[4:5], s[60:61]
	v_fma_f64 v[4:5], v[0:1], v[4:5], s[14:15]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[6:7], v[4:5], v[9:10]
	v_fma_f64 v[0:1], v[0:1], v[4:5], -v[49:50]
	scratch_load_b32 v5, off, off offset:28 ; 4-byte Folded Reload
	v_fma_f64 v[0:1], v[6:7], s[68:69], v[0:1]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_add_f64 v[0:1], v[45:46], -v[0:1]
	s_waitcnt vmcnt(0)
	v_and_b32_e32 v4, 1, v5
	v_cmp_eq_u32_e32 vcc_lo, 0, v4
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_cndmask_b32_e32 v0, v2, v0, vcc_lo
	v_lshlrev_b32_e32 v2, 30, v5
	v_cndmask_b32_e32 v1, v3, v1, vcc_lo
	v_cndmask_b32_e64 v0, 0, v0, s0
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_xor_b32_e32 v2, v2, v36
	v_and_b32_e32 v2, 0x80000000, v2
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_xor_b32_e32 v1, v1, v2
	v_mul_f64 v[2:3], v[53:54], v[53:54]
	v_cndmask_b32_e64 v1, 0x7ff80000, v1, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_mul_f64 v[0:1], v[57:58], v[0:1]
	v_mul_f64 v[4:5], v[2:3], 0.5
	v_fma_f64 v[18:19], v[2:3], s[46:47], s[44:45]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[0:1], v[37:38], v[39:40], v[0:1]
	v_add_f64 v[6:7], -v[4:5], 1.0
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[18:19], v[2:3], v[18:19], s[58:59]
	v_add_f64 v[9:10], -v[6:7], 1.0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[18:19], v[2:3], v[18:19], s[64:65]
	v_add_f64 v[4:5], v[9:10], -v[4:5]
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_fma_f64 v[18:19], v[2:3], v[18:19], s[66:67]
	v_mul_f64 v[9:10], v[2:3], v[2:3]
	v_fma_f64 v[4:5], v[53:54], -v[55:56], v[4:5]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[18:19], v[2:3], v[18:19], s[24:25]
	v_fma_f64 v[4:5], v[9:10], v[18:19], v[4:5]
	v_mul_f64 v[9:10], v[53:54], -v[2:3]
	v_mul_f64 v[18:19], v[55:56], 0.5
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_f64 v[4:5], v[6:7], v[4:5]
	v_fma_f64 v[6:7], v[2:3], s[30:31], s[28:29]
	v_fma_f64 v[6:7], v[2:3], v[6:7], s[52:53]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[6:7], v[2:3], v[6:7], s[60:61]
	v_fma_f64 v[6:7], v[2:3], v[6:7], s[14:15]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[6:7], v[9:10], v[6:7], v[18:19]
	v_fma_f64 v[2:3], v[2:3], v[6:7], -v[55:56]
	scratch_load_b32 v7, off, off offset:40 ; 4-byte Folded Reload
	v_fma_f64 v[2:3], v[9:10], s[68:69], v[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f64 v[2:3], v[53:54], -v[2:3]
	v_xor_b32_e32 v3, 0x80000000, v3
	s_waitcnt vmcnt(0)
	v_and_b32_e32 v6, 1, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_eq_u32_e32 vcc_lo, 0, v6
	v_dual_cndmask_b32 v3, v3, v5 :: v_dual_cndmask_b32 v2, v2, v4
	v_lshlrev_b32_e32 v4, 30, v7
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cndmask_b32_e64 v2, 0, v2, s0
	v_and_b32_e32 v4, 0x80000000, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_xor_b32_e32 v3, v3, v4
	v_cndmask_b32_e64 v3, 0x7ff80000, v3, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_fma_f64 v[0:1], v[47:48], v[2:3], v[0:1]
	v_mul_f64 v[2:3], v[61:62], v[61:62]
	v_mul_f64 v[4:5], v[2:3], 0.5
	v_fma_f64 v[18:19], v[2:3], s[46:47], s[44:45]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[6:7], -v[4:5], 1.0
	v_fma_f64 v[18:19], v[2:3], v[18:19], s[58:59]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[9:10], -v[6:7], 1.0
	v_fma_f64 v[18:19], v[2:3], v[18:19], s[64:65]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], v[9:10], -v[4:5]
	v_fma_f64 v[18:19], v[2:3], v[18:19], s[66:67]
	v_mul_f64 v[9:10], v[2:3], v[2:3]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[4:5], v[61:62], -v[63:64], v[4:5]
	v_fma_f64 v[18:19], v[2:3], v[18:19], s[24:25]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fma_f64 v[4:5], v[9:10], v[18:19], v[4:5]
	v_mul_f64 v[9:10], v[61:62], -v[2:3]
	v_mul_f64 v[18:19], v[63:64], 0.5
	v_add_f64 v[4:5], v[6:7], v[4:5]
	v_fma_f64 v[6:7], v[2:3], s[30:31], s[28:29]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[6:7], v[2:3], v[6:7], s[52:53]
	v_fma_f64 v[6:7], v[2:3], v[6:7], s[60:61]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[6:7], v[2:3], v[6:7], s[14:15]
	v_fma_f64 v[6:7], v[9:10], v[6:7], v[18:19]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_fma_f64 v[2:3], v[2:3], v[6:7], -v[63:64]
	scratch_load_b32 v7, off, off offset:48 ; 4-byte Folded Reload
	v_fma_f64 v[2:3], v[9:10], s[68:69], v[2:3]
	v_add_f64 v[2:3], v[61:62], -v[2:3]
	s_waitcnt vmcnt(0)
	v_and_b32_e32 v6, 1, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cmp_eq_u32_e32 vcc_lo, 0, v6
	v_cndmask_b32_e32 v2, v4, v2, vcc_lo
	v_lshlrev_b32_e32 v4, 30, v7
	v_cndmask_b32_e32 v3, v5, v3, vcc_lo
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_cndmask_b32_e64 v2, 0, v2, s0
	v_xor_b32_e32 v4, v4, v36
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_and_b32_e32 v4, 0x80000000, v4
	v_xor_b32_e32 v3, v3, v4
	scratch_load_b64 v[4:5], off, off offset:72 ; 8-byte Folded Reload
	v_cndmask_b32_e64 v3, 0x7ff80000, v3, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_3) | instid1(VALU_DEP_1)
	v_fma_f64 v[0:1], v[69:70], v[2:3], v[0:1]
	scratch_load_b64 v[2:3], off, off offset:12 ; 8-byte Folded Reload
	s_waitcnt vmcnt(0)
	v_mul_f64 v[2:3], v[26:27], v[2:3]
	v_fma_f64 v[2:3], v[4:5], v[29:30], v[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_mul_f64 v[33:34], v[2:3], v[0:1]
	v_mul_f64 v[0:1], v[109:110], v[109:110]
	v_mul_f64 v[2:3], v[0:1], 0.5
	v_fma_f64 v[9:10], v[0:1], s[46:47], s[44:45]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[4:5], -v[2:3], 1.0
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[58:59]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[6:7], -v[4:5], 1.0
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[64:65]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f64 v[2:3], v[6:7], -v[2:3]
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[66:67]
	v_mul_f64 v[6:7], v[0:1], v[0:1]
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_fma_f64 v[2:3], v[109:110], -v[111:112], v[2:3]
	v_fma_f64 v[9:10], v[0:1], v[9:10], s[24:25]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fma_f64 v[2:3], v[6:7], v[9:10], v[2:3]
	v_mul_f64 v[6:7], v[109:110], -v[0:1]
	v_mul_f64 v[9:10], v[111:112], 0.5
	v_add_f64 v[2:3], v[4:5], v[2:3]
	v_fma_f64 v[4:5], v[0:1], s[30:31], s[28:29]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[0:1], v[4:5], s[52:53]
	v_fma_f64 v[4:5], v[0:1], v[4:5], s[60:61]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[4:5], v[0:1], v[4:5], s[14:15]
	v_fma_f64 v[4:5], v[6:7], v[4:5], v[9:10]
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_fma_f64 v[0:1], v[0:1], v[4:5], -v[111:112]
	v_and_b32_e32 v4, 1, v24
	v_cmp_eq_u32_e32 vcc_lo, 0, v4
	scratch_load_b64 v[4:5], off, off offset:80 ; 8-byte Folded Reload
	v_fma_f64 v[0:1], v[6:7], s[68:69], v[0:1]
	scratch_load_b64 v[6:7], off, off offset:88 ; 8-byte Folded Reload
	v_add_f64 v[0:1], v[109:110], -v[0:1]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_xor_b32_e32 v1, 0x80000000, v1
	v_cndmask_b32_e32 v0, v0, v2, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_cndmask_b32 v1, v1, v3 :: v_dual_lshlrev_b32 v2, 30, v24
	v_cndmask_b32_e64 v0, 0, v0, s0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_and_b32_e32 v2, 0x80000000, v2
	v_xor_b32_e32 v1, v1, v2
	scratch_load_b64 v[2:3], off, off offset:4 ; 8-byte Folded Reload
	v_cndmask_b32_e64 v1, 0x7ff80000, v1, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_fma_f64 v[0:1], v[97:98], v[0:1], v[103:104]
	s_waitcnt vmcnt(0)
	v_mul_f64 v[0:1], v[0:1], v[2:3]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f64 v[0:1], v[26:27], v[0:1]
	v_mul_f64 v[0:1], v[29:30], v[0:1]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f64 v[0:1], v[29:30], v[105:106], v[0:1]
	v_mul_f64 v[2:3], v[0:1], v[31:32]
	v_mul_f64 v[0:1], v[0:1], v[6:7]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[2:3], v[33:34], v[6:7], -v[2:3]
	v_fma_f64 v[0:1], v[33:34], -v[31:32], -v[0:1]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f64 v[12:13], v[4:5], v[2:3], v[12:13]
	v_fma_f64 v[14:15], v[4:5], v[0:1], v[14:15]
	scratch_load_b64 v[0:1], off, off offset:96 ; 8-byte Folded Reload
	s_waitcnt vmcnt(0)
	v_fma_f64 v[16:17], v[51:52], v[0:1], v[16:17]
	s_cbranch_scc0 .LBB0_7
.LBB0_136:                              ; %Flow560
	s_clause 0x1
	scratch_load_b64 v[0:1], off, off offset:112
	scratch_load_b64 v[1:2], off, off offset:120
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v0, v1, v0
	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], 3, v[0:1]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v2, vcc_lo, s16, v0
	v_add_co_ci_u32_e32 v3, vcc_lo, s17, v1, vcc_lo
	v_add_co_u32 v4, vcc_lo, s18, v0
	v_add_co_ci_u32_e32 v5, vcc_lo, s19, v1, vcc_lo
	v_add_co_u32 v0, vcc_lo, s20, v0
	v_add_co_ci_u32_e32 v1, vcc_lo, s21, v1, vcc_lo
	global_store_b64 v[2:3], v[14:15], off
	global_store_b64 v[4:5], v[12:13], off
	global_store_b64 v[0:1], v[16:17], off
.LBB0_137:
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 128
		.amdhsa_kernarg_size 400
		.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 1
		.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 192
		.amdhsa_next_free_sgpr 76
		.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	_Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii, .Lfunc_end0-_Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 42308
; NumSgprs: 78
; NumVgprs: 192
; ScratchSize: 128
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 9
; VGPRBlocks: 23
; NumSGPRsForWavesPerEU: 78
; NumVGPRsForWavesPerEU: 192
; Occupancy: 8
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 1
; 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
	.p2alignl 7, 3214868480
	.fill 96, 4, 3214868480
	.type	__hip_cuid_,@object             ; @__hip_cuid_
	.section	.bss,"aw",@nobits
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               ; 0x0
	.size	__hip_cuid_, 1

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym __hip_cuid_
	.amdgpu_metadata
---
amdhsa.kernels:
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .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
      - .address_space:  global
        .offset:         72
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         80
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         88
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         96
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         104
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         112
        .size:           8
        .value_kind:     global_buffer
      - .offset:         120
        .size:           8
        .value_kind:     by_value
      - .offset:         128
        .size:           8
        .value_kind:     by_value
      - .offset:         136
        .size:           4
        .value_kind:     by_value
      - .offset:         140
        .size:           4
        .value_kind:     by_value
      - .offset:         144
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         148
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         152
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         156
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         158
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         160
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         162
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         164
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         166
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         184
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         192
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         200
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         208
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 400
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii
    .private_segment_fixed_size: 128
    .sgpr_count:     78
    .sgpr_spill_count: 0
    .symbol:         _Z11thread_callPKdS0_S0_S0_S0_S0_S0_S0_PKiS2_S2_S0_PdS3_S3_ddii.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     192
    .vgpr_spill_count: 38
    .wavefront_size: 32
    .workgroup_processor_mode: 1
amdhsa.target:   amdgcn-amd-amdhsa--gfx1100
amdhsa.version:
  - 1
  - 2
...

	.end_amdgpu_metadata
