// Copyright 2018-2019 Tsinghua University, Author: Hongyu Xiang
// Apache 2.0.
// This file contains functions for calculating the denominator gradients in log domain.

#include <cstdio>
#include <cstdlib>
#include <vector>
// for each state
// start_weight
// end_weight

// Transition: float weight, int input_label, int state
// alpha_transition_index 
// beta_transition_index

#define CHECK_CUDA(call) \
{  \
    const cudaError_t error = call; \
    if (error != cudaSuccess) \
    { \
        printf("Error: %s:%d, ", __FILE__, __LINE__); \
        printf("code: %d, reason: %s\n", error, cudaGetErrorString(error)); \
        exit(1); \
    } \
}
#define ATOMIC_CONST 32
#define CU_BLOCK_DIM 1024

__host__ __device__
inline float log_plus(float a, float b) {
    if (a == -float(INFINITY)) return b;
    if (b == -float(INFINITY)) return a;
    float m = a > b ? a : b;
    return log1pf(expf(-fabs(a - b))) + m;
}

__device__ float atomic_log_plus(float *addr_f, float value) {
    int *addr = (int*)addr_f;
    float expected = *addr_f;
    float sum = log_plus(expected, value);
    int old_value = atomicCAS(addr, __float_as_int(expected), __float_as_int(sum));

    while (old_value != __float_as_int(expected)) {
        expected = __int_as_float(old_value);
        sum = log_plus(expected, value);
        old_value = atomicCAS(addr, __float_as_int(expected), __float_as_int(sum));
    }
    return __int_as_float(old_value);
}

struct Transition {
    float weight = -float(INFINITY);
    int label = 0;
    int state = 0;
};

struct IntPair {
    int first = 1;
    int second = 0;
};

// <<<batch_size, CU_BLOCK_CONST>>>
__global__ void alpha_first_kernel(float *alpha,
                                   const int alpha_size,
                                   const int batch_size,
                                   const int T,
                                   const float * const start_weight) {
    int mini_batch_idx = blockIdx.x;
    int tid = threadIdx.x;
    for (int idx = tid; idx < alpha_size; idx += blockDim.x) {
        alpha[mini_batch_idx * alpha_size * (T+1) + idx] = start_weight[idx];
    }
}

__global__ void alpha_kernel(float *alpha,
                             const float* const logits,
                             const int batch_size,
                             const int T,
                             const int t,
                             const int * const input_lengths,
                             const int alpha_size,
                             const int logits_size,
                             const IntPair * const alpha_transition_index,
                             const Transition * const alpha_transition) {
    int mini_batch_idx = blockIdx.x;
    int tid = threadIdx.x;
    if (t > input_lengths[mini_batch_idx]) return;

    int idx1 = mini_batch_idx * alpha_size * (T+1) + alpha_size * t;
    int idx2 = mini_batch_idx * alpha_size * (T+1) + alpha_size * (t-1);
    int idx3 = mini_batch_idx * logits_size * T + logits_size * (t-1);

    for (int idx = tid; idx < alpha_size; idx += blockDim.x) {
        int start = alpha_transition_index[idx].first;
        int end = alpha_transition_index[idx].second;
        float result = -float(INFINITY);
        for (int k = start; k <= end; k++) {
            result = log_plus(alpha[idx2+alpha_transition[k].state] + 
                alpha_transition[k].weight + logits[idx3+alpha_transition[k].label], result);
        }
        alpha[idx1+idx] = result;
    }
}

__global__ void alpha_last_kernel(float *alpha,
                                  const int alpha_size,
                                  const int batch_size,
                                  const int T,
                                  const int * const input_lengths,
                                  const float * const end_weight) {
    int mini_batch_idx = blockIdx.x;
    int tid = threadIdx.x;
    int alpha_start = mini_batch_idx * alpha_size * (T+1);
    int cT = input_lengths[mini_batch_idx];

    for (int idx = tid; idx < alpha_size; idx += blockDim.x) {
        alpha[alpha_start+cT*alpha_size+idx] += end_weight[idx];
    }
}

// <<< minibatch, N = 32,64,128...>>>
__global__ void alpha_lld_kernal(const float * const alpha,
                                 const int alpha_size,
                                 const int T,
                                 const int * const input_lengths,
                                 float * loglikelihood) {
    int mini_batch_idx = blockIdx.x;
    int idx = threadIdx.x;
    int block_dim = blockDim.x;
    int cT = input_lengths[mini_batch_idx];
    int last_idx = alpha_size * (T+1) * mini_batch_idx + cT*alpha_size;
    // printf("enter alpha_lld_kernal, block.x: %d, thread.x: %d\n", blockIdx.x, threadIdx.x);

    extern __shared__ float sdata[];
    float temp = -float(INFINITY);

    for (int i = idx; i < alpha_size; i += block_dim) {
        temp = log_plus(temp, alpha[last_idx+i]);
    }
    sdata[idx] = temp;
    __syncthreads();

    for (int shift = block_dim / 2; shift > warpSize; shift >>= 1) {
        if (idx < shift) {
            sdata[idx] = log_plus(sdata[idx], sdata[idx+shift]);
        }
        __syncthreads();
    }

    if (idx < warpSize) {
        for (int shift = warpSize; shift > 0; shift >>= 1) {
            sdata[idx] = log_plus(sdata[idx], sdata[idx+shift]);
        }
    }
    __syncthreads();

    if (idx == 0) {
        loglikelihood[mini_batch_idx] = sdata[0];
        // printf("alpha loglikelihod: %f mini_batch %d\n", loglikelihood[mini_batch_idx], mini_batch_idx);
    }
}

__global__ void beta_last_kernel(float *beta,
                                 const int beta_size,
                                 const int batch_size,
                                 const int * const input_lengths,
                                 const float * const end_weight) {
    int mini_batch_idx = blockIdx.x;
    int tid = threadIdx.x;
    int cT = input_lengths[mini_batch_idx];

    for (int idx = tid; idx < beta_size; idx += blockDim.x) {
        beta[mini_batch_idx * 2 * beta_size + (cT % 2) * beta_size + idx] = end_weight[idx];
    }
}

__global__ void beta_first_kernel(float *beta, 
                                  const int beta_size,
                                  const int batch_size,
                                  const float * const start_weight) {
    int mini_batch_idx = blockIdx.x;
    int tid = threadIdx.x;

    for (int idx = tid; idx < beta_size; idx += blockDim.x) {
        beta[mini_batch_idx * 2 * beta_size + idx] += start_weight[idx];
    }
}

__global__ void beta_kernel(float *beta,
                            const float* const alpha,
                            const float* const logits, 
                            float *grad_storage,
                            const int batch_size,
                            const int T,
                            const int t,
                            const int *input_lengths,
                            const int beta_size,
                            const int logits_size,
                            const IntPair * const beta_transition_index,
                            const Transition * const beta_transition) {
    int mini_batch_idx = blockIdx.x;
    int tid = threadIdx.x;
    if (t >= input_lengths[mini_batch_idx]) return;
    int idx1 = mini_batch_idx * beta_size * (T+1) + beta_size * t;
    int idx2 = mini_batch_idx * beta_size * 2 + beta_size * ((t+1) % 2);
    int idx3 = mini_batch_idx * beta_size * 2 + beta_size * (t % 2);
    int idx4 = mini_batch_idx * logits_size * T + logits_size * t;
    int idx5 = mini_batch_idx * logits_size * ATOMIC_CONST;

    for (int idx = tid; idx < beta_size; idx += blockDim.x) {
        int start = beta_transition_index[idx].first;
        int end = beta_transition_index[idx].second;

        float beta_result = -float(INFINITY);
        float temp_value = -float(INFINITY);

        for (int k = start; k <= end; k++) {
            temp_value = beta[idx2+beta_transition[k].state] + beta_transition[k].weight +
                logits[idx4+beta_transition[k].label];
            beta_result = log_plus(temp_value, beta_result);
            float partial_grad = alpha[idx1+idx] + temp_value; 
            float *grad_position = grad_storage + idx5 + beta_transition[k].label * ATOMIC_CONST + threadIdx.x % ATOMIC_CONST;
            atomic_log_plus(grad_position, partial_grad);
        }
        beta[idx3+idx] = beta_result;
    }
}

__global__ void copy_grad(float *grad_storage,
                          float *grad_net,
                          const float * const alpha_lld,
                          const int * const input_lengths,
                          const int batch_size,
                          const int logits_size,
                          const int T,
                          const int t) {
    int mini_batch_idx = blockIdx.x;
    int tid = threadIdx.x;
    if (t >= input_lengths[mini_batch_idx]) return;

    float lld = alpha_lld[mini_batch_idx];
    for (int idx = tid; idx < logits_size; idx += blockDim.x) {
        float *grad_position = grad_net + mini_batch_idx*logits_size*T + t*logits_size + idx;
        int idx_storage = mini_batch_idx*logits_size*ATOMIC_CONST+idx*ATOMIC_CONST;

        float grad = -float(INFINITY);
        for (int i = 0; i < ATOMIC_CONST; i++) {
            grad = log_plus(grad_storage[idx_storage+i], grad);
            grad_storage[idx_storage+i] = -float(INFINITY);
        }
        *grad_position = expf(grad - lld);
    }
}

__global__ void beta_lld_kernal(const float * const beta,
                                const int beta_size,
                                float * loglikelihood) {
    int idx = threadIdx.x;
    int first_idx = beta_size * 2 * idx;
    loglikelihood[idx] = beta[first_idx];
}

Transition ** TRANSITION_ALPHA = NULL;
Transition ** TRANSITION_BETA = NULL;
IntPair ** TRANSITION_INDEX_ALPHA = NULL;
IntPair ** TRANSITION_INDEX_BETA = NULL;
float ** START_WEIGHT = NULL;
float ** END_WEIGHT = NULL;

int DEN_NUM_ARCS = 0;
int DEN_NUM_STATES = 0;

int *DEVICE_HASH = NULL;

void ReadFst(const char * fst_name,
             std::vector<std::vector<int> > &alpha_next,
             std::vector<std::vector<int> > &beta_next,
             std::vector<std::vector<int> > &alpha_ilabel,
             std::vector<std::vector<int> > &beta_ilabel,
             std::vector<std::vector<float> > &alpha_weight,
             std::vector<std::vector<float> > &beta_weight,
             std::vector<float> &start_weight,
             std::vector<float> &end_weight,
             int &num_states,
             int &num_arcs);

extern "C" {
void Init(const char * fst_name, int n_gpus, int * gpus) {
    std::vector<std::vector<int> > alpha_next;
    std::vector<std::vector<int> > beta_next;
    std::vector<std::vector<int> > alpha_ilabel;
    std::vector<std::vector<int> > beta_ilabel;
    std::vector<std::vector<float> > alpha_weight;
    std::vector<std::vector<float> > beta_weight;
    std::vector<float> start_weight;
    std::vector<float> end_weight;

    // const char * fst_name = "test_lm.fst";
    int num_states = 0;
    int num_arcs = 0;

    ReadFst(fst_name, alpha_next, beta_next, alpha_ilabel, beta_ilabel, 
        alpha_weight, beta_weight, start_weight, end_weight, num_states, num_arcs);
    
    DEN_NUM_ARCS = num_arcs;
    DEN_NUM_STATES = num_states;


    std::vector<Transition> transition_alpha(num_arcs);
    std::vector<Transition> transition_beta(num_arcs);
    std::vector<IntPair> transition_index_alpha(num_states);
    std::vector<IntPair> transition_index_beta(num_states);


    int count = 0;
    for (int i = 0; i < num_states; i++) {
        if (alpha_next[i].empty()) {
            transition_index_alpha[i].first = 1;
            transition_index_alpha[i].second = 0;
        } else {
            transition_index_alpha[i].first = count;
            for (int j = 0; j < alpha_next[i].size(); j++) {
                transition_alpha[count].state = alpha_next[i][j];
                transition_alpha[count].label = alpha_ilabel[i][j];
                transition_alpha[count].weight = alpha_weight[i][j];
                count++;
            }
            transition_index_alpha[i].second = count-1;
        }
    }
    if (count != num_arcs) {
        fprintf(stderr, "count does not equal to num_arcs\n");
        exit(-1);
    }

    count = 0;
    for (int i = 0; i < num_states; i++) {
        if (beta_next[i].empty()) {
            transition_index_beta[i].first = 1;
            transition_index_beta[i].second = 0;
        } else {
            transition_index_beta[i].first = count;
            for (int j = 0; j < beta_next[i].size(); j++) {
                transition_beta[count].state = beta_next[i][j];
                transition_beta[count].label = beta_ilabel[i][j];
                transition_beta[count].weight = beta_weight[i][j];
                count++;
            }
            transition_index_beta[i].second = count-1;
        }
    }
    if (count != num_arcs) {
        fprintf(stderr, "count does not equal to num_arcs\n");
        exit(-1);
    }

    int max_gpu = 0;
    for (int i = 0; i < n_gpus; i++) {
        if (gpus[i] > max_gpu) max_gpu = gpus[i];
    }
    DEVICE_HASH = new int[max_gpu+1];
    memset(DEVICE_HASH, 0, sizeof(int)*(max_gpu+1));
    for (int i = 0; i < n_gpus; i++) DEVICE_HASH[gpus[i]] = i;

    TRANSITION_ALPHA = new Transition*[n_gpus];
    TRANSITION_BETA= new Transition*[n_gpus];
    TRANSITION_INDEX_ALPHA = new IntPair*[n_gpus];
    TRANSITION_INDEX_BETA= new IntPair*[n_gpus];
    START_WEIGHT = new float*[n_gpus];
    END_WEIGHT = new float*[n_gpus];

    int prev_device = 0;
    CHECK_CUDA(cudaGetDevice(&prev_device));

    for (int i = 0; i < n_gpus; i++) {
        CHECK_CUDA(cudaSetDevice(gpus[i]));
        CHECK_CUDA(cudaMalloc((void**)&TRANSITION_ALPHA[i], sizeof(Transition)*num_arcs));
        CHECK_CUDA(cudaMalloc((void**)&TRANSITION_BETA[i], sizeof(Transition)*num_arcs));
        CHECK_CUDA(cudaMalloc((void**)&TRANSITION_INDEX_ALPHA[i], sizeof(IntPair)*num_states));
        CHECK_CUDA(cudaMalloc((void**)&TRANSITION_INDEX_BETA[i], sizeof(IntPair)*num_states));
        CHECK_CUDA(cudaMalloc((void**)&START_WEIGHT[i], sizeof(float)*num_states));
        CHECK_CUDA(cudaMalloc((void**)&END_WEIGHT[i], sizeof(float)*num_states));

        CHECK_CUDA(cudaMemcpy(TRANSITION_ALPHA[i], transition_alpha.data(), sizeof(Transition)*num_arcs, cudaMemcpyHostToDevice));
        CHECK_CUDA(cudaMemcpy(TRANSITION_BETA[i], transition_beta.data(), sizeof(Transition)*num_arcs, cudaMemcpyHostToDevice));
        CHECK_CUDA(cudaMemcpy(TRANSITION_INDEX_ALPHA[i], transition_index_alpha.data(), sizeof(IntPair)*num_states, cudaMemcpyHostToDevice));
        CHECK_CUDA(cudaMemcpy(TRANSITION_INDEX_BETA[i], transition_index_beta.data(), sizeof(IntPair)*num_states, cudaMemcpyHostToDevice));
        CHECK_CUDA(cudaMemcpy(START_WEIGHT[i], start_weight.data(), sizeof(float)*num_states, cudaMemcpyHostToDevice));
        CHECK_CUDA(cudaMemcpy(END_WEIGHT[i], end_weight.data(), sizeof(float)*num_states, cudaMemcpyHostToDevice));
    }
    CHECK_CUDA(cudaSetDevice(prev_device));
}

void Release(int n_gpus, int *gpus) {
    int prev_device = 0;
    CHECK_CUDA(cudaGetDevice(&prev_device));

    for (int i = 0; i < n_gpus; i++) {
        CHECK_CUDA(cudaSetDevice(gpus[i]));

        CHECK_CUDA(cudaFree(TRANSITION_ALPHA[i]));
        CHECK_CUDA(cudaFree(TRANSITION_BETA[i]));
        CHECK_CUDA(cudaFree(TRANSITION_INDEX_ALPHA[i]));
        CHECK_CUDA(cudaFree(TRANSITION_INDEX_BETA[i]));
        CHECK_CUDA(cudaFree(START_WEIGHT[i]));
        CHECK_CUDA(cudaFree(END_WEIGHT[i]));
    }
    CHECK_CUDA(cudaSetDevice(prev_device));
    delete[] TRANSITION_ALPHA;
    delete[] TRANSITION_BETA;
    delete[] TRANSITION_INDEX_ALPHA;
    delete[] TRANSITION_INDEX_BETA;
    delete[] START_WEIGHT;
    delete[] END_WEIGHT;

    TRANSITION_ALPHA = NULL;
    TRANSITION_BETA = NULL;
    TRANSITION_INDEX_ALPHA = NULL;
    TRANSITION_INDEX_BETA = NULL;
    START_WEIGHT = NULL;
    END_WEIGHT = NULL;

    delete[] DEVICE_HASH;
    DEVICE_HASH = NULL;
}

void compute_alpha(float *alpha,
                   float *logits,
                   const int batch_size,
                   int T,
                   const int alpha_size,
                   int logits_size,
                   int *input_lengths,
                   float * loglikelihood,
                   cudaStream_t stream) {
    int device = 0;
    CHECK_CUDA(cudaGetDevice(&device));
    int gid = DEVICE_HASH[device];

    int alpha_lld_dim = 128;
    alpha_first_kernel<<<batch_size, CU_BLOCK_DIM, 0, stream>>>(alpha, alpha_size, batch_size, T, START_WEIGHT[gid]);

    for (int t = 1; t <= T; t++) {
        alpha_kernel<<<batch_size, CU_BLOCK_DIM, 0, stream>>>(alpha, logits, batch_size, T, t, input_lengths, 
            alpha_size, logits_size, TRANSITION_INDEX_ALPHA[gid], TRANSITION_ALPHA[gid]);
    }

    alpha_last_kernel<<<batch_size, CU_BLOCK_DIM, 0, stream>>>(alpha, alpha_size, batch_size, T, input_lengths, END_WEIGHT[gid]);
    alpha_lld_kernal<<<batch_size, alpha_lld_dim, sizeof(float)*alpha_lld_dim, stream>>>(alpha, alpha_size, T, input_lengths, loglikelihood);
    // cudaDeviceSynchronize();
}

void compute_beta_and_grad(float *beta,
                           const float * const alpha,
                           const float * const logits,
                           const float * const alpha_lld,
                           float *grad_storage,
                           float *grad_net,
                           const int batch_size,
                           const int T,
                           const int beta_size,
                           const int logits_size,
                           const int * const input_lengths,
                           float * loglikelihood,
                           cudaStream_t stream) {
    int device = 0;
    CHECK_CUDA(cudaGetDevice(&device));
    int gid= DEVICE_HASH[device];
    // set grad_storage
    copy_grad<<<batch_size, CU_BLOCK_DIM, 0, stream>>>(grad_storage, grad_net, alpha_lld, input_lengths, batch_size, logits_size, T, 0);

    beta_last_kernel<<<batch_size, CU_BLOCK_DIM, 0, stream>>>(beta, beta_size, batch_size, input_lengths, END_WEIGHT[gid]);
    for (int t = T-1; t >= 0; t--) {
        beta_kernel<<<batch_size, CU_BLOCK_DIM, 0, stream>>>(beta, alpha, logits, grad_storage, batch_size, T, t, input_lengths, beta_size, logits_size,
            TRANSITION_INDEX_BETA[gid], TRANSITION_BETA[gid]);
        copy_grad<<<batch_size, CU_BLOCK_DIM, 0, stream>>>(grad_storage, grad_net, alpha_lld, input_lengths, batch_size, logits_size, T, t);
    }

    beta_first_kernel<<<batch_size, CU_BLOCK_DIM, 0, stream>>>(beta, beta_size, batch_size, START_WEIGHT[gid]);
    beta_lld_kernal<<<1, batch_size, 0, stream>>>(beta, beta_size, loglikelihood);
}
}

	.file	"tmpxft_00206e17_00000000-6_den_calculate.cudafe1.cpp"
	.text
#APP

#NO_APP
	.type	_ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB2935:
	.cfi_startproc
	endbr64
	movq	_ZL20__cudaFatCubinHandle(%rip), %rdi
	jmp	__cudaUnregisterFatBinary@PLT
	.cfi_endproc
.LFE2935:
	.size	_ZL26__cudaUnregisterBinaryUtilv, .-_ZL26__cudaUnregisterBinaryUtilv
	.globl	_Z15atomic_log_plusPff
	.type	_Z15atomic_log_plusPff, @function
_Z15atomic_log_plusPff:
.LFB2897:
	.cfi_startproc
	endbr64
	pushq	%rax
	.cfi_def_cfa_offset 16
	popq	%rax
	.cfi_def_cfa_offset 8
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	movl	$1, 12(%rsp)
	movl	12(%rsp), %edi
	call	exit@PLT
	.cfi_endproc
.LFE2897:
	.size	_Z15atomic_log_plusPff, .-_Z15atomic_log_plusPff
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"/home/ubuntu/Datasets/stackv2/train-structured/thu-spmi/CAT/master/src/ctc_crf/gpu_den/den_calculate.cu"
.LC1:
	.string	"Error: %s:%d, "
.LC2:
	.string	"code: %d, reason: %s\n"
	.text
	.globl	Release
	.type	Release, @function
Release:
.LFB2930:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xorl	%r9d, %r9d
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	movq	%rsi, %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	movl	%edi, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	xorl	%ebx, %ebx
	subq	$16, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdi
	movl	%r9d, 4(%rsp)
	call	cudaGetDevice@PLT
	testl	%eax, %eax
	je	.L5
	movl	%eax, %ebp
	movl	$396, %ecx
	jmp	.L50
.L5:
	cmpl	%ebx, %r12d
	jle	.L53
	movl	0(%r13,%rbx,4), %edi
	call	cudaSetDevice@PLT
	movl	%eax, %ebp
	testl	%eax, %eax
	je	.L6
	movl	$399, %ecx
.L50:
	leaq	.LC0(%rip), %rdx
	leaq	.LC1(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	%ebp, %edi
	call	cudaGetErrorString@PLT
	movl	%ebp, %edx
	movq	%rax, %rcx
.L51:
	movl	$2, %edi
	leaq	.LC2(%rip), %rsi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$1, %edi
	call	exit@PLT
.L6:
	movq	TRANSITION_ALPHA(%rip), %rax
	leaq	0(,%rbx,8), %r14
	movq	(%rax,%rbx,8), %rdi
	call	cudaFree@PLT
	movl	%eax, %ebp
	testl	%eax, %eax
	je	.L7
	movl	$401, %ecx
	jmp	.L50
.L7:
	movq	TRANSITION_BETA(%rip), %rax
	movq	(%rax,%rbx,8), %rdi
	call	cudaFree@PLT
	movl	%eax, %ebp
	testl	%eax, %eax
	je	.L8
	movl	$402, %ecx
	jmp	.L50
.L8:
	movq	TRANSITION_INDEX_ALPHA(%rip), %rax
	movq	(%rax,%r14), %rdi
	call	cudaFree@PLT
	movl	%eax, %ebp
	testl	%eax, %eax
	je	.L9
	movl	$403, %ecx
	jmp	.L50
.L9:
	movq	TRANSITION_INDEX_BETA(%rip), %rax
	movq	(%rax,%r14), %rdi
	call	cudaFree@PLT
	movl	%eax, %ebp
	testl	%eax, %eax
	je	.L10
	movl	$404, %ecx
	jmp	.L50
.L10:
	movq	START_WEIGHT(%rip), %rax
	movq	(%rax,%r14), %rdi
	call	cudaFree@PLT
	movl	%eax, %ebp
	testl	%eax, %eax
	je	.L11
	movl	$405, %ecx
	jmp	.L50
.L11:
	movq	END_WEIGHT(%rip), %rax
	incq	%rbx
	movq	(%rax,%r14), %rdi
	call	cudaFree@PLT
	movl	%eax, %ebp
	testl	%eax, %eax
	je	.L5
	movl	$406, %ecx
	jmp	.L50
.L53:
	movl	4(%rsp), %edi
	call	cudaSetDevice@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L13
	movl	$408, %ecx
	leaq	.LC0(%rip), %rdx
	leaq	.LC1(%rip), %rsi
	xorl	%eax, %eax
	movl	$2, %edi
	call	__printf_chk@PLT
	movl	%ebx, %edi
	call	cudaGetErrorString@PLT
	movl	%ebx, %edx
	movq	%rax, %rcx
	jmp	.L51
.L13:
	movq	TRANSITION_ALPHA(%rip), %rdi
	testq	%rdi, %rdi
	je	.L14
	call	_ZdaPv@PLT
.L14:
	movq	TRANSITION_BETA(%rip), %rdi
	testq	%rdi, %rdi
	je	.L15
	call	_ZdaPv@PLT
.L15:
	movq	TRANSITION_INDEX_ALPHA(%rip), %rdi
	testq	%rdi, %rdi
	je	.L16
	call	_ZdaPv@PLT
.L16:
	movq	TRANSITION_INDEX_BETA(%rip), %rdi
	testq	%rdi, %rdi
	je	.L17
	call	_ZdaPv@PLT
.L17:
	movq	START_WEIGHT(%rip), %rdi
	testq	%rdi, %rdi
	je	.L18
	call	_ZdaPv@PLT
.L18:
	movq	END_WEIGHT(%rip), %rdi
	testq	%rdi, %rdi
	je	.L19
	call	_ZdaPv@PLT
.L19:
	movq	DEVICE_HASH(%rip), %rdi
	xorl	%esi, %esi
	movq	%rsi, TRANSITION_ALPHA(%rip)
	movq	%rsi, TRANSITION_BETA(%rip)
	movq	%rsi, TRANSITION_INDEX_ALPHA(%rip)
	movq	%rsi, TRANSITION_INDEX_BETA(%rip)
	movq	%rsi, START_WEIGHT(%rip)
	movq	%rsi, END_WEIGHT(%rip)
	testq	%rdi, %rdi
	je	.L20
	call	_ZdaPv@PLT
.L20:
	xorl	%ecx, %ecx
	movq	%rcx, DEVICE_HASH(%rip)
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	addq	$16, %rsp
	.cfi_def_cfa_offset 48
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2930:
	.size	Release, .-Release
	.globl	_Z44__device_stub__Z18alpha_first_kernelPfiiiPKfPfiiiPKf
	.type	_Z44__device_stub__Z18alpha_first_kernelPfiiiPKfPfiiiPKf, @function
_Z44__device_stub__Z18alpha_first_kernelPfiiiPKfPfiiiPKf:
.LFB2957:
	.cfi_startproc
	endbr64
	subq	$152, %rsp
	.cfi_def_cfa_offset 160
	movq	%rdi, 24(%rsp)
	leaq	48(%rsp), %rdi
	movl	%esi, 20(%rsp)
	leaq	60(%rsp), %rsi
	movl	%edx, 16(%rsp)
	leaq	32(%rsp), %rdx
	movl	%ecx, 12(%rsp)
	leaq	40(%rsp), %rcx
	movq	%r8, (%rsp)
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 56(%rsp)
	movq	%rax, 96(%rsp)
	leaq	20(%rsp), %rax
	movq	%rax, 104(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 112(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 120(%rsp)
	movq	%rsp, %rax
	movq	%rax, 128(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 48(%rsp)
	movq	%rax, 60(%rsp)
	movl	$1, 68(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L54
	pushq	40(%rsp)
	.cfi_def_cfa_offset 168
	leaq	_Z18alpha_first_kernelPfiiiPKf(%rip), %rdi
	pushq	40(%rsp)
	.cfi_def_cfa_offset 176
	movq	76(%rsp), %rcx
	movl	84(%rsp), %r8d
	movq	64(%rsp), %rsi
	movl	72(%rsp), %edx
	leaq	112(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 168
	popq	%rdx
	.cfi_def_cfa_offset 160
.L54:
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	je	.L56
	call	__stack_chk_fail@PLT
.L56:
	addq	$152, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2957:
	.size	_Z44__device_stub__Z18alpha_first_kernelPfiiiPKfPfiiiPKf, .-_Z44__device_stub__Z18alpha_first_kernelPfiiiPKfPfiiiPKf
	.globl	_Z18alpha_first_kernelPfiiiPKf
	.type	_Z18alpha_first_kernelPfiiiPKf, @function
_Z18alpha_first_kernelPfiiiPKf:
.LFB2958:
	.cfi_startproc
	endbr64
	jmp	_Z44__device_stub__Z18alpha_first_kernelPfiiiPKfPfiiiPKf
	.cfi_endproc
.LFE2958:
	.size	_Z18alpha_first_kernelPfiiiPKf, .-_Z18alpha_first_kernelPfiiiPKf
	.globl	_Z67__device_stub__Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10TransitionPfPKfiiiPKiiiPK7IntPairPK10Transition
	.type	_Z67__device_stub__Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10TransitionPfPKfiiiPKiiiPK7IntPairPK10Transition, @function
_Z67__device_stub__Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10TransitionPfPKfiiiPKiiiPK7IntPairPK10Transition:
.LFB2959:
	.cfi_startproc
	endbr64
	subq	$232, %rsp
	.cfi_def_cfa_offset 240
	movq	256(%rsp), %rax
	movq	%rdi, 56(%rsp)
	leaq	88(%rsp), %rdi
	movq	%rsi, 48(%rsp)
	leaq	100(%rsp), %rsi
	movq	%rax, 16(%rsp)
	movq	264(%rsp), %rax
	movl	%edx, 44(%rsp)
	leaq	72(%rsp), %rdx
	movl	%ecx, 40(%rsp)
	leaq	80(%rsp), %rcx
	movl	%r8d, 36(%rsp)
	movq	%r9, 24(%rsp)
	movq	%rax, 8(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 216(%rsp)
	xorl	%eax, %eax
	leaq	56(%rsp), %rax
	movl	$1, 96(%rsp)
	movq	%rax, 136(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 144(%rsp)
	leaq	44(%rsp), %rax
	movq	%rax, 152(%rsp)
	leaq	40(%rsp), %rax
	movq	%rax, 160(%rsp)
	leaq	36(%rsp), %rax
	movq	%rax, 168(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 176(%rsp)
	leaq	240(%rsp), %rax
	movq	%rax, 184(%rsp)
	leaq	248(%rsp), %rax
	movq	%rax, 192(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 200(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 208(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 88(%rsp)
	movq	%rax, 100(%rsp)
	movl	$1, 108(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L59
	pushq	80(%rsp)
	.cfi_def_cfa_offset 248
	leaq	_Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition(%rip), %rdi
	pushq	80(%rsp)
	.cfi_def_cfa_offset 256
	movq	116(%rsp), %rcx
	movl	124(%rsp), %r8d
	movq	104(%rsp), %rsi
	movl	112(%rsp), %edx
	leaq	152(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 248
	popq	%rdx
	.cfi_def_cfa_offset 240
.L59:
	movq	216(%rsp), %rax
	subq	%fs:40, %rax
	je	.L61
	call	__stack_chk_fail@PLT
.L61:
	addq	$232, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2959:
	.size	_Z67__device_stub__Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10TransitionPfPKfiiiPKiiiPK7IntPairPK10Transition, .-_Z67__device_stub__Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10TransitionPfPKfiiiPKiiiPK7IntPairPK10Transition
	.globl	_Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition
	.type	_Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition, @function
_Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition:
.LFB2960:
	.cfi_startproc
	endbr64
	jmp	_Z67__device_stub__Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10TransitionPfPKfiiiPKiiiPK7IntPairPK10Transition
	.cfi_endproc
.LFE2960:
	.size	_Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition, .-_Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition
	.globl	_Z46__device_stub__Z17alpha_last_kernelPfiiiPKiPKfPfiiiPKiPKf
	.type	_Z46__device_stub__Z17alpha_last_kernelPfiiiPKiPKfPfiiiPKiPKf, @function
_Z46__device_stub__Z17alpha_last_kernelPfiiiPKiPKfPfiiiPKiPKf:
.LFB2961:
	.cfi_startproc
	endbr64
	subq	$184, %rsp
	.cfi_def_cfa_offset 192
	movq	%rdi, 40(%rsp)
	leaq	72(%rsp), %rdi
	movl	%esi, 36(%rsp)
	leaq	84(%rsp), %rsi
	movl	%edx, 32(%rsp)
	leaq	56(%rsp), %rdx
	movl	%ecx, 28(%rsp)
	leaq	64(%rsp), %rcx
	movq	%r8, 16(%rsp)
	movq	%r9, 8(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 168(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rax
	movl	$1, 80(%rsp)
	movq	%rax, 120(%rsp)
	leaq	36(%rsp), %rax
	movq	%rax, 128(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 136(%rsp)
	leaq	28(%rsp), %rax
	movq	%rax, 144(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 152(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 160(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 72(%rsp)
	movq	%rax, 84(%rsp)
	movl	$1, 92(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L64
	pushq	64(%rsp)
	.cfi_def_cfa_offset 200
	leaq	_Z17alpha_last_kernelPfiiiPKiPKf(%rip), %rdi
	pushq	64(%rsp)
	.cfi_def_cfa_offset 208
	movq	100(%rsp), %rcx
	movl	108(%rsp), %r8d
	movq	88(%rsp), %rsi
	movl	96(%rsp), %edx
	leaq	136(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 200
	popq	%rdx
	.cfi_def_cfa_offset 192
.L64:
	movq	168(%rsp), %rax
	subq	%fs:40, %rax
	je	.L66
	call	__stack_chk_fail@PLT
.L66:
	addq	$184, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2961:
	.size	_Z46__device_stub__Z17alpha_last_kernelPfiiiPKiPKfPfiiiPKiPKf, .-_Z46__device_stub__Z17alpha_last_kernelPfiiiPKiPKfPfiiiPKiPKf
	.globl	_Z17alpha_last_kernelPfiiiPKiPKf
	.type	_Z17alpha_last_kernelPfiiiPKiPKf, @function
_Z17alpha_last_kernelPfiiiPKiPKf:
.LFB2962:
	.cfi_startproc
	endbr64
	jmp	_Z46__device_stub__Z17alpha_last_kernelPfiiiPKiPKfPfiiiPKiPKf
	.cfi_endproc
.LFE2962:
	.size	_Z17alpha_last_kernelPfiiiPKiPKf, .-_Z17alpha_last_kernelPfiiiPKiPKf
	.globl	_Z44__device_stub__Z16alpha_lld_kernalPKfiiPKiPfPKfiiPKiPf
	.type	_Z44__device_stub__Z16alpha_lld_kernalPKfiiPKiPfPKfiiPKiPf, @function
_Z44__device_stub__Z16alpha_lld_kernalPKfiiPKiPfPKfiiPKiPf:
.LFB2963:
	.cfi_startproc
	endbr64
	subq	$152, %rsp
	.cfi_def_cfa_offset 160
	movq	%rdi, 24(%rsp)
	leaq	48(%rsp), %rdi
	movl	%esi, 20(%rsp)
	leaq	60(%rsp), %rsi
	movl	%edx, 16(%rsp)
	leaq	32(%rsp), %rdx
	movq	%rcx, 8(%rsp)
	leaq	40(%rsp), %rcx
	movq	%r8, (%rsp)
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 56(%rsp)
	movq	%rax, 96(%rsp)
	leaq	20(%rsp), %rax
	movq	%rax, 104(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 112(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 120(%rsp)
	movq	%rsp, %rax
	movq	%rax, 128(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 48(%rsp)
	movq	%rax, 60(%rsp)
	movl	$1, 68(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L69
	pushq	40(%rsp)
	.cfi_def_cfa_offset 168
	leaq	_Z16alpha_lld_kernalPKfiiPKiPf(%rip), %rdi
	pushq	40(%rsp)
	.cfi_def_cfa_offset 176
	movq	76(%rsp), %rcx
	movl	84(%rsp), %r8d
	movq	64(%rsp), %rsi
	movl	72(%rsp), %edx
	leaq	112(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 168
	popq	%rdx
	.cfi_def_cfa_offset 160
.L69:
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	je	.L71
	call	__stack_chk_fail@PLT
.L71:
	addq	$152, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2963:
	.size	_Z44__device_stub__Z16alpha_lld_kernalPKfiiPKiPfPKfiiPKiPf, .-_Z44__device_stub__Z16alpha_lld_kernalPKfiiPKiPfPKfiiPKiPf
	.globl	_Z16alpha_lld_kernalPKfiiPKiPf
	.type	_Z16alpha_lld_kernalPKfiiPKiPf, @function
_Z16alpha_lld_kernalPKfiiPKiPf:
.LFB2964:
	.cfi_startproc
	endbr64
	jmp	_Z44__device_stub__Z16alpha_lld_kernalPKfiiPKiPfPKfiiPKiPf
	.cfi_endproc
.LFE2964:
	.size	_Z16alpha_lld_kernalPKfiiPKiPf, .-_Z16alpha_lld_kernalPKfiiPKiPf
	.globl	compute_alpha
	.type	compute_alpha, @function
compute_alpha:
.LFB2931:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movl	%r8d, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movl	%edx, %ebx
	subq	$104, %rsp
	.cfi_def_cfa_offset 160
	movq	160(%rsp), %rax
	movq	%rdi, (%rsp)
	leaq	60(%rsp), %rdi
	movq	%rsi, 24(%rsp)
	movq	%rax, 16(%rsp)
	movq	168(%rsp), %rax
	movl	%ecx, 32(%rsp)
	movq	%rax, 40(%rsp)
	movq	176(%rsp), %rax
	movl	%r9d, 36(%rsp)
	movq	%rax, 8(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 88(%rsp)
	xorl	%eax, %eax
	xorl	%eax, %eax
	movl	%eax, 60(%rsp)
	call	cudaGetDevice@PLT
	testl	%eax, %eax
	je	.L75
	movl	%eax, %ebp
	movl	$437, %ecx
	xorl	%eax, %eax
	movl	$2, %edi
	leaq	.LC0(%rip), %rdx
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movl	%ebp, %edi
	call	cudaGetErrorString@PLT
	movl	$2, %edi
	movl	%ebp, %edx
	leaq	.LC2(%rip), %rsi
	movq	%rax, %rcx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$1, %edi
	call	exit@PLT
.L75:
	movslq	60(%rsp), %rdx
	movq	DEVICE_HASH(%rip), %rax
	movl	%ebx, 64(%rsp)
	xorl	%r8d, %r8d
	movq	8(%rsp), %r9
	movl	$1, %ecx
	movl	$1, 84(%rsp)
	movslq	(%rax,%rdx,4), %rbp
	movl	$4194305, %edx
	movabsq	$4294967297, %rax
	movq	%rax, 68(%rsp)
	movq	64(%rsp), %rdi
	salq	$10, %rdx
	movl	72(%rsp), %esi
	movq	%rdx, 76(%rsp)
	leaq	0(,%rbp,8), %r15
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L76
	movq	START_WEIGHT(%rip), %rax
	movl	32(%rsp), %ecx
	movl	%ebx, %edx
	movl	%r12d, %esi
	movq	(%rsp), %rdi
	movq	(%rax,%rbp,8), %r8
	call	_Z44__device_stub__Z18alpha_first_kernelPfiiiPKfPfiiiPKf
.L76:
	movabsq	$4294968320, %r13
	movl	$1, %r14d
.L77:
	movl	32(%rsp), %eax
	movl	%ebx, 64(%rsp)
	movq	%r13, %rdx
	movl	$1, %ecx
	movq	%r13, 76(%rsp)
	movq	8(%rsp), %r9
	movl	$0, %r8d
	cmpl	%eax, %r14d
	movl	$1, 84(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 68(%rsp)
	movq	64(%rsp), %rdi
	movl	72(%rsp), %esi
	jg	.L84
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L78
	movq	TRANSITION_ALPHA(%rip), %rax
	movl	%r14d, %r8d
	movl	%ebx, %edx
	pushq	(%rax,%r15)
	.cfi_def_cfa_offset 168
	movq	TRANSITION_INDEX_ALPHA(%rip), %rax
	pushq	(%rax,%r15)
	.cfi_def_cfa_offset 176
	movl	52(%rsp), %eax
	pushq	%rax
	.cfi_def_cfa_offset 184
	pushq	%r12
	.cfi_def_cfa_offset 192
	movq	48(%rsp), %r9
	movl	64(%rsp), %ecx
	movq	56(%rsp), %rsi
	movq	32(%rsp), %rdi
	call	_Z67__device_stub__Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10TransitionPfPKfiiiPKiiiPK7IntPairPK10Transition
	addq	$32, %rsp
	.cfi_def_cfa_offset 160
.L78:
	incl	%r14d
	jmp	.L77
.L84:
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L80
	movq	END_WEIGHT(%rip), %rax
	movl	32(%rsp), %ecx
	movl	%ebx, %edx
	movl	%r12d, %esi
	movq	16(%rsp), %r8
	movq	(%rsp), %rdi
	movq	(%rax,%rbp,8), %r9
	call	_Z46__device_stub__Z17alpha_last_kernelPfiiiPKiPKfPfiiiPKiPKf
.L80:
	movl	%ebx, 64(%rsp)
	movl	$33554433, %edx
	movq	8(%rsp), %r9
	movabsq	$4294967297, %rax
	movq	%rax, 68(%rsp)
	movq	64(%rsp), %rdi
	salq	$7, %rdx
	movl	$512, %r8d
	movl	72(%rsp), %esi
	movl	$1, %ecx
	movq	%rdx, 76(%rsp)
	movl	$1, 84(%rsp)
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L74
	movq	40(%rsp), %r8
	movq	16(%rsp), %rcx
	movl	%r12d, %esi
	movl	32(%rsp), %edx
	movq	(%rsp), %rdi
	call	_Z44__device_stub__Z16alpha_lld_kernalPKfiiPKiPfPKfiiPKiPf
.L74:
	movq	88(%rsp), %rax
	subq	%fs:40, %rax
	je	.L82
	call	__stack_chk_fail@PLT
.L82:
	addq	$104, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2931:
	.size	compute_alpha, .-compute_alpha
	.globl	_Z44__device_stub__Z16beta_last_kernelPfiiPKiPKfPfiiPKiPKf
	.type	_Z44__device_stub__Z16beta_last_kernelPfiiPKiPKfPfiiPKiPKf, @function
_Z44__device_stub__Z16beta_last_kernelPfiiPKiPKfPfiiPKiPKf:
.LFB2965:
	.cfi_startproc
	endbr64
	subq	$152, %rsp
	.cfi_def_cfa_offset 160
	movq	%rdi, 24(%rsp)
	leaq	48(%rsp), %rdi
	movl	%esi, 20(%rsp)
	leaq	60(%rsp), %rsi
	movl	%edx, 16(%rsp)
	leaq	32(%rsp), %rdx
	movq	%rcx, 8(%rsp)
	leaq	40(%rsp), %rcx
	movq	%r8, (%rsp)
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 56(%rsp)
	movq	%rax, 96(%rsp)
	leaq	20(%rsp), %rax
	movq	%rax, 104(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 112(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 120(%rsp)
	movq	%rsp, %rax
	movq	%rax, 128(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 48(%rsp)
	movq	%rax, 60(%rsp)
	movl	$1, 68(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L85
	pushq	40(%rsp)
	.cfi_def_cfa_offset 168
	leaq	_Z16beta_last_kernelPfiiPKiPKf(%rip), %rdi
	pushq	40(%rsp)
	.cfi_def_cfa_offset 176
	movq	76(%rsp), %rcx
	movl	84(%rsp), %r8d
	movq	64(%rsp), %rsi
	movl	72(%rsp), %edx
	leaq	112(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 168
	popq	%rdx
	.cfi_def_cfa_offset 160
.L85:
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	je	.L87
	call	__stack_chk_fail@PLT
.L87:
	addq	$152, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2965:
	.size	_Z44__device_stub__Z16beta_last_kernelPfiiPKiPKfPfiiPKiPKf, .-_Z44__device_stub__Z16beta_last_kernelPfiiPKiPKfPfiiPKiPKf
	.globl	_Z16beta_last_kernelPfiiPKiPKf
	.type	_Z16beta_last_kernelPfiiPKiPKf, @function
_Z16beta_last_kernelPfiiPKiPKf:
.LFB2966:
	.cfi_startproc
	endbr64
	jmp	_Z44__device_stub__Z16beta_last_kernelPfiiPKiPKfPfiiPKiPKf
	.cfi_endproc
.LFE2966:
	.size	_Z16beta_last_kernelPfiiPKiPKf, .-_Z16beta_last_kernelPfiiPKiPKf
	.globl	_Z42__device_stub__Z17beta_first_kernelPfiiPKfPfiiPKf
	.type	_Z42__device_stub__Z17beta_first_kernelPfiiPKfPfiiPKf, @function
_Z42__device_stub__Z17beta_first_kernelPfiiPKfPfiiPKf:
.LFB2967:
	.cfi_startproc
	endbr64
	subq	$152, %rsp
	.cfi_def_cfa_offset 160
	movq	%rdi, 24(%rsp)
	leaq	56(%rsp), %rdi
	movl	%esi, 20(%rsp)
	leaq	68(%rsp), %rsi
	movl	%edx, 16(%rsp)
	leaq	40(%rsp), %rdx
	movq	%rcx, 8(%rsp)
	leaq	48(%rsp), %rcx
	movq	%fs:40, %rax
	movq	%rax, 136(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 64(%rsp)
	movq	%rax, 104(%rsp)
	leaq	20(%rsp), %rax
	movq	%rax, 112(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 120(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 128(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 56(%rsp)
	movq	%rax, 68(%rsp)
	movl	$1, 76(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L90
	pushq	48(%rsp)
	.cfi_def_cfa_offset 168
	leaq	_Z17beta_first_kernelPfiiPKf(%rip), %rdi
	pushq	48(%rsp)
	.cfi_def_cfa_offset 176
	movq	84(%rsp), %rcx
	movl	92(%rsp), %r8d
	movq	72(%rsp), %rsi
	movl	80(%rsp), %edx
	leaq	120(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 168
	popq	%rdx
	.cfi_def_cfa_offset 160
.L90:
	movq	136(%rsp), %rax
	subq	%fs:40, %rax
	je	.L92
	call	__stack_chk_fail@PLT
.L92:
	addq	$152, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2967:
	.size	_Z42__device_stub__Z17beta_first_kernelPfiiPKfPfiiPKf, .-_Z42__device_stub__Z17beta_first_kernelPfiiPKfPfiiPKf
	.globl	_Z17beta_first_kernelPfiiPKf
	.type	_Z17beta_first_kernelPfiiPKf, @function
_Z17beta_first_kernelPfiiPKf:
.LFB2968:
	.cfi_startproc
	endbr64
	jmp	_Z42__device_stub__Z17beta_first_kernelPfiiPKfPfiiPKf
	.cfi_endproc
.LFE2968:
	.size	_Z17beta_first_kernelPfiiPKf, .-_Z17beta_first_kernelPfiiPKf
	.globl	_Z71__device_stub__Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10TransitionPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition
	.type	_Z71__device_stub__Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10TransitionPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition, @function
_Z71__device_stub__Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10TransitionPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition:
.LFB2969:
	.cfi_startproc
	endbr64
	subq	$248, %rsp
	.cfi_def_cfa_offset 256
	movq	264(%rsp), %rax
	movq	%rdi, 56(%rsp)
	leaq	88(%rsp), %rdi
	movq	%rsi, 48(%rsp)
	leaq	100(%rsp), %rsi
	movq	%rax, 16(%rsp)
	movq	288(%rsp), %rax
	movq	%rdx, 40(%rsp)
	leaq	72(%rsp), %rdx
	movq	%rax, 8(%rsp)
	movq	296(%rsp), %rax
	movq	%rcx, 32(%rsp)
	leaq	80(%rsp), %rcx
	movl	%r8d, 28(%rsp)
	movl	%r9d, 24(%rsp)
	movq	%rax, (%rsp)
	movq	%fs:40, %rax
	movq	%rax, 232(%rsp)
	xorl	%eax, %eax
	leaq	56(%rsp), %rax
	movl	$1, 96(%rsp)
	movq	%rax, 136(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 144(%rsp)
	leaq	40(%rsp), %rax
	movq	%rax, 152(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 160(%rsp)
	leaq	28(%rsp), %rax
	movq	%rax, 168(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 176(%rsp)
	leaq	256(%rsp), %rax
	movq	%rax, 184(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 192(%rsp)
	leaq	272(%rsp), %rax
	movq	%rax, 200(%rsp)
	leaq	280(%rsp), %rax
	movq	%rax, 208(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 216(%rsp)
	movq	%rsp, %rax
	movq	%rax, 224(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 88(%rsp)
	movq	%rax, 100(%rsp)
	movl	$1, 108(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L95
	pushq	80(%rsp)
	.cfi_def_cfa_offset 264
	leaq	_Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition(%rip), %rdi
	pushq	80(%rsp)
	.cfi_def_cfa_offset 272
	movq	116(%rsp), %rcx
	movl	124(%rsp), %r8d
	movq	104(%rsp), %rsi
	movl	112(%rsp), %edx
	leaq	152(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 264
	popq	%rdx
	.cfi_def_cfa_offset 256
.L95:
	movq	232(%rsp), %rax
	subq	%fs:40, %rax
	je	.L97
	call	__stack_chk_fail@PLT
.L97:
	addq	$248, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2969:
	.size	_Z71__device_stub__Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10TransitionPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition, .-_Z71__device_stub__Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10TransitionPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition
	.globl	_Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition
	.type	_Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition, @function
_Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition:
.LFB2970:
	.cfi_startproc
	endbr64
	jmp	_Z71__device_stub__Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10TransitionPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition
	.cfi_endproc
.LFE2970:
	.size	_Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition, .-_Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition
	.globl	_Z40__device_stub__Z9copy_gradPfS_PKfPKiiiiiPfS_PKfPKiiiii
	.type	_Z40__device_stub__Z9copy_gradPfS_PKfPKiiiiiPfS_PKfPKiiiii, @function
_Z40__device_stub__Z9copy_gradPfS_PKfPKiiiiiPfS_PKfPKiiiii:
.LFB2971:
	.cfi_startproc
	endbr64
	subq	$200, %rsp
	.cfi_def_cfa_offset 208
	movq	%rdi, 40(%rsp)
	leaq	72(%rsp), %rdi
	movq	%rsi, 32(%rsp)
	leaq	84(%rsp), %rsi
	movq	%rdx, 24(%rsp)
	leaq	56(%rsp), %rdx
	movq	%rcx, 16(%rsp)
	leaq	64(%rsp), %rcx
	movl	%r8d, 12(%rsp)
	movl	%r9d, 8(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 184(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rax
	movl	$1, 80(%rsp)
	movq	%rax, 120(%rsp)
	leaq	32(%rsp), %rax
	movq	%rax, 128(%rsp)
	leaq	24(%rsp), %rax
	movq	%rax, 136(%rsp)
	leaq	16(%rsp), %rax
	movq	%rax, 144(%rsp)
	leaq	12(%rsp), %rax
	movq	%rax, 152(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 160(%rsp)
	leaq	208(%rsp), %rax
	movq	%rax, 168(%rsp)
	leaq	216(%rsp), %rax
	movq	%rax, 176(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 72(%rsp)
	movq	%rax, 84(%rsp)
	movl	$1, 92(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L100
	pushq	64(%rsp)
	.cfi_def_cfa_offset 216
	leaq	_Z9copy_gradPfS_PKfPKiiiii(%rip), %rdi
	pushq	64(%rsp)
	.cfi_def_cfa_offset 224
	movq	100(%rsp), %rcx
	movl	108(%rsp), %r8d
	movq	88(%rsp), %rsi
	movl	96(%rsp), %edx
	leaq	136(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 216
	popq	%rdx
	.cfi_def_cfa_offset 208
.L100:
	movq	184(%rsp), %rax
	subq	%fs:40, %rax
	je	.L102
	call	__stack_chk_fail@PLT
.L102:
	addq	$200, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2971:
	.size	_Z40__device_stub__Z9copy_gradPfS_PKfPKiiiiiPfS_PKfPKiiiii, .-_Z40__device_stub__Z9copy_gradPfS_PKfPKiiiiiPfS_PKfPKiiiii
	.globl	_Z9copy_gradPfS_PKfPKiiiii
	.type	_Z9copy_gradPfS_PKfPKiiiii, @function
_Z9copy_gradPfS_PKfPKiiiii:
.LFB2972:
	.cfi_startproc
	endbr64
	jmp	_Z40__device_stub__Z9copy_gradPfS_PKfPKiiiiiPfS_PKfPKiiiii
	.cfi_endproc
.LFE2972:
	.size	_Z9copy_gradPfS_PKfPKiiiii, .-_Z9copy_gradPfS_PKfPKiiiii
	.globl	_Z39__device_stub__Z15beta_lld_kernalPKfiPfPKfiPf
	.type	_Z39__device_stub__Z15beta_lld_kernalPKfiPfPKfiPf, @function
_Z39__device_stub__Z15beta_lld_kernalPKfiPfPKfiPf:
.LFB2973:
	.cfi_startproc
	endbr64
	subq	$136, %rsp
	.cfi_def_cfa_offset 144
	movq	%rdi, 24(%rsp)
	leaq	40(%rsp), %rcx
	leaq	48(%rsp), %rdi
	movl	%esi, 20(%rsp)
	leaq	60(%rsp), %rsi
	movq	%rdx, 8(%rsp)
	leaq	32(%rsp), %rdx
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	leaq	24(%rsp), %rax
	movl	$1, 56(%rsp)
	movq	%rax, 96(%rsp)
	leaq	20(%rsp), %rax
	movq	%rax, 104(%rsp)
	leaq	8(%rsp), %rax
	movq	%rax, 112(%rsp)
	movabsq	$4294967297, %rax
	movq	%rax, 48(%rsp)
	movq	%rax, 60(%rsp)
	movl	$1, 68(%rsp)
	call	__cudaPopCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L105
	pushq	40(%rsp)
	.cfi_def_cfa_offset 152
	leaq	_Z15beta_lld_kernalPKfiPf(%rip), %rdi
	pushq	40(%rsp)
	.cfi_def_cfa_offset 160
	movq	76(%rsp), %rcx
	movl	84(%rsp), %r8d
	movq	64(%rsp), %rsi
	movl	72(%rsp), %edx
	leaq	112(%rsp), %r9
	call	cudaLaunchKernel@PLT
	popq	%rax
	.cfi_def_cfa_offset 152
	popq	%rdx
	.cfi_def_cfa_offset 144
.L105:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	je	.L107
	call	__stack_chk_fail@PLT
.L107:
	addq	$136, %rsp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2973:
	.size	_Z39__device_stub__Z15beta_lld_kernalPKfiPfPKfiPf, .-_Z39__device_stub__Z15beta_lld_kernalPKfiPfPKfiPf
	.globl	_Z15beta_lld_kernalPKfiPf
	.type	_Z15beta_lld_kernalPKfiPf, @function
_Z15beta_lld_kernalPKfiPf:
.LFB2974:
	.cfi_startproc
	endbr64
	jmp	_Z39__device_stub__Z15beta_lld_kernalPKfiPfPKfiPf
	.cfi_endproc
.LFE2974:
	.size	_Z15beta_lld_kernalPKfiPf, .-_Z15beta_lld_kernalPKfiPf
	.globl	compute_beta_and_grad
	.type	compute_beta_and_grad, @function
compute_beta_and_grad:
.LFB2932:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$136, %rsp
	.cfi_def_cfa_offset 192
	movq	224(%rsp), %rax
	movq	%rdi, 16(%rsp)
	xorl	%edi, %edi
	movq	%rsi, 56(%rsp)
	movl	192(%rsp), %ebx
	movq	%rax, 24(%rsp)
	movq	232(%rsp), %rax
	movq	%rdx, 64(%rsp)
	movl	200(%rsp), %ebp
	movq	%rax, 72(%rsp)
	movq	240(%rsp), %rax
	movq	%rcx, 40(%rsp)
	movq	%r8, 32(%rsp)
	movq	%r9, 48(%rsp)
	movq	%rax, 8(%rsp)
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	movl	%edi, 92(%rsp)
	leaq	92(%rsp), %rdi
	call	cudaGetDevice@PLT
	testl	%eax, %eax
	je	.L111
	movl	%eax, %r12d
	movl	$467, %ecx
	xorl	%eax, %eax
	movl	$2, %edi
	leaq	.LC0(%rip), %rdx
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movl	%r12d, %edi
	call	cudaGetErrorString@PLT
	movl	$2, %edi
	movl	%r12d, %edx
	leaq	.LC2(%rip), %rsi
	movq	%rax, %rcx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$1, %edi
	call	exit@PLT
.L111:
	movslq	92(%rsp), %rdx
	movq	DEVICE_HASH(%rip), %rax
	movl	%ebx, 96(%rsp)
	xorl	%r8d, %r8d
	movq	8(%rsp), %r9
	movl	$1, %ecx
	movl	$1, 116(%rsp)
	movslq	(%rax,%rdx,4), %r13
	movl	$4194305, %edx
	movabsq	$4294967297, %rax
	movq	%rax, 100(%rsp)
	movq	96(%rsp), %rdi
	salq	$10, %rdx
	movl	104(%rsp), %esi
	movq	%rdx, 108(%rsp)
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L112
	pushq	$0
	.cfi_def_cfa_offset 200
	movl	%ebx, %r8d
	pushq	%rbp
	.cfi_def_cfa_offset 208
	movl	232(%rsp), %r9d
	movq	40(%rsp), %rcx
	movq	56(%rsp), %rdx
	movq	64(%rsp), %rsi
	movq	48(%rsp), %rdi
	call	_Z40__device_stub__Z9copy_gradPfS_PKfPKiiiiiPfS_PKfPKiiiii
	popq	%rcx
	.cfi_def_cfa_offset 200
	popq	%rsi
	.cfi_def_cfa_offset 192
.L112:
	movl	%ebx, 96(%rsp)
	movq	8(%rsp), %r9
	movl	$4194305, %edx
	movabsq	$4294967297, %rax
	movq	%rax, 100(%rsp)
	movl	104(%rsp), %esi
	salq	$10, %rdx
	xorl	%r8d, %r8d
	movq	96(%rsp), %rdi
	movl	$1, %ecx
	movq	%rdx, 108(%rsp)
	leaq	0(,%r13,8), %r15
	movl	$1, 116(%rsp)
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L113
	movq	END_WEIGHT(%rip), %rax
	movq	24(%rsp), %rcx
	movl	%ebx, %edx
	movl	208(%rsp), %esi
	movq	16(%rsp), %rdi
	movq	(%rax,%r13,8), %r8
	call	_Z44__device_stub__Z16beta_last_kernelPfiiPKiPKfPfiiPKiPKf
.L113:
	movabsq	$4294968320, %r12
	leal	-1(%rbp), %r14d
.L114:
	movl	%ebx, 96(%rsp)
	movq	8(%rsp), %r9
	xorl	%r8d, %r8d
	movq	%r12, %rdx
	movabsq	$4294967297, %rax
	movq	%r12, 108(%rsp)
	movl	$1, %ecx
	movq	%rax, 100(%rsp)
	movq	96(%rsp), %rdi
	movl	$1, 116(%rsp)
	movl	104(%rsp), %esi
	testl	%r14d, %r14d
	js	.L122
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L115
	movq	TRANSITION_BETA(%rip), %rax
	movl	%ebp, %r9d
	movl	%ebx, %r8d
	pushq	(%rax,%r15)
	.cfi_def_cfa_offset 200
	movq	TRANSITION_INDEX_BETA(%rip), %rax
	pushq	(%rax,%r15)
	.cfi_def_cfa_offset 208
	movl	232(%rsp), %eax
	pushq	%rax
	.cfi_def_cfa_offset 216
	movl	232(%rsp), %eax
	pushq	%rax
	.cfi_def_cfa_offset 224
	pushq	56(%rsp)
	.cfi_def_cfa_offset 232
	pushq	%r14
	.cfi_def_cfa_offset 240
	movq	80(%rsp), %rcx
	movq	112(%rsp), %rdx
	movq	104(%rsp), %rsi
	movq	64(%rsp), %rdi
	call	_Z71__device_stub__Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10TransitionPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition
	addq	$48, %rsp
	.cfi_def_cfa_offset 192
.L115:
	movl	%ebx, 96(%rsp)
	movq	8(%rsp), %r9
	xorl	%r8d, %r8d
	movq	%r12, %rdx
	movabsq	$4294967297, %rax
	movl	$1, %ecx
	movq	%r12, 108(%rsp)
	movq	%rax, 100(%rsp)
	movq	96(%rsp), %rdi
	movl	104(%rsp), %esi
	movl	$1, 116(%rsp)
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L116
	pushq	%r14
	.cfi_def_cfa_offset 200
	movl	%ebx, %r8d
	pushq	%rbp
	.cfi_def_cfa_offset 208
	movl	232(%rsp), %r9d
	movq	40(%rsp), %rcx
	movq	56(%rsp), %rdx
	movq	64(%rsp), %rsi
	movq	48(%rsp), %rdi
	call	_Z40__device_stub__Z9copy_gradPfS_PKfPKiiiiiPfS_PKfPKiiiii
	popq	%rax
	.cfi_def_cfa_offset 200
	popq	%rdx
	.cfi_def_cfa_offset 192
.L116:
	decl	%r14d
	jmp	.L114
.L122:
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L118
	movq	START_WEIGHT(%rip), %rax
	movl	208(%rsp), %esi
	movl	%ebx, %edx
	movq	16(%rsp), %rdi
	movq	(%rax,%r13,8), %rcx
	call	_Z42__device_stub__Z17beta_first_kernelPfiiPKfPfiiPKf
.L118:
	movl	%ebx, 108(%rsp)
	movq	8(%rsp), %r9
	xorl	%r8d, %r8d
	movl	$1, %esi
	movabsq	$4294967297, %rdi
	movl	$1, 104(%rsp)
	movq	%rdi, 112(%rsp)
	movl	116(%rsp), %ecx
	movq	108(%rsp), %rdx
	movq	%rdi, 96(%rsp)
	call	__cudaPushCallConfiguration@PLT
	testl	%eax, %eax
	jne	.L110
	movq	72(%rsp), %rdx
	movl	208(%rsp), %esi
	movq	16(%rsp), %rdi
	call	_Z39__device_stub__Z15beta_lld_kernalPKfiPfPKfiPf
.L110:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	je	.L120
	call	__stack_chk_fail@PLT
.L120:
	addq	$136, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE2932:
	.size	compute_beta_and_grad, .-compute_beta_and_grad
	.section	.rodata.str1.1
.LC3:
	.string	"_Z15beta_lld_kernalPKfiPf"
.LC4:
	.string	"_Z9copy_gradPfS_PKfPKiiiii"
.LC5:
	.string	"_Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition"
.LC6:
	.string	"_Z17beta_first_kernelPfiiPKf"
.LC7:
	.string	"_Z16beta_last_kernelPfiiPKiPKf"
.LC8:
	.string	"_Z16alpha_lld_kernalPKfiiPKiPf"
.LC9:
	.string	"_Z17alpha_last_kernelPfiiiPKiPKf"
.LC10:
	.string	"_Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition"
.LC11:
	.string	"_Z18alpha_first_kernelPfiiiPKf"
	.section	.text.startup,"ax",@progbits
	.type	_ZL24__sti____cudaRegisterAllv, @function
_ZL24__sti____cudaRegisterAllv:
.LFB2976:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	_ZL15__fatDeviceText(%rip), %rdi
	call	__cudaRegisterFatBinary@PLT
	pushq	$0
	.cfi_def_cfa_offset 24
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	.LC3(%rip), %rdx
	movq	%rax, %rdi
	movq	%rax, %rbx
	pushq	$0
	.cfi_def_cfa_offset 40
	movq	%rdx, %rcx
	leaq	_Z15beta_lld_kernalPKfiPf(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 48
	movq	%rax, _ZL20__cudaFatCubinHandle(%rip)
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC4(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z9copy_gradPfS_PKfPKiiiii(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC5(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC6(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z17beta_first_kernelPfiiPKf(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC7(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z16beta_last_kernelPfiiPKiPKf(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC8(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z16alpha_lld_kernalPKfiiPKiPf(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC9(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z17alpha_last_kernelPfiiiPKiPKf(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	pushq	$0
	.cfi_def_cfa_offset 24
	leaq	.LC10(%rip), %rdx
	movq	%rbx, %rdi
	leaq	_Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 32
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	call	__cudaRegisterFunction@PLT
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	movq	%rbx, %rdi
	leaq	.LC11(%rip), %rdx
	pushq	$0
	.cfi_def_cfa_offset 24
	xorl	%r9d, %r9d
	orl	$-1, %r8d
	movq	%rdx, %rcx
	pushq	$0
	.cfi_def_cfa_offset 32
	leaq	_Z18alpha_first_kernelPfiiiPKf(%rip), %rsi
	pushq	$0
	.cfi_def_cfa_offset 40
	pushq	$0
	.cfi_def_cfa_offset 48
	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	%rbx
	.cfi_def_cfa_offset 8
	jmp	atexit@PLT
	.cfi_endproc
.LFE2976:
	.size	_ZL24__sti____cudaRegisterAllv, .-_ZL24__sti____cudaRegisterAllv
	.section	.init_array,"aw"
	.align 8
	.quad	_ZL24__sti____cudaRegisterAllv
	.section	.text._ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev,"axG",@progbits,_ZNSt6vectorIS_IiSaIiEESaIS1_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.type	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev, @function
_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev:
.LFB3034:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	8(%rdi), %r12
	movq	%rdi, %rbx
	movq	(%rdi), %rbp
.L126:
	cmpq	%rbp, %r12
	je	.L134
	movq	0(%rbp), %rdi
	testq	%rdi, %rdi
	je	.L127
	movq	16(%rbp), %rsi
	subq	%rdi, %rsi
	call	_ZdlPvm@PLT
.L127:
	addq	$24, %rbp
	jmp	.L126
.L134:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.L125
	movq	16(%rbx), %rsi
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	subq	%rdi, %rsi
	jmp	_ZdlPvm@PLT
.L125:
	.cfi_restore_state
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE3034:
	.size	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev, .-_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.weak	_ZNSt6vectorIS_IiSaIiEESaIS1_EED1Ev
	.set	_ZNSt6vectorIS_IiSaIiEESaIS1_EED1Ev,_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.section	.text._ZNSt6vectorIfSaIfEED2Ev,"axG",@progbits,_ZNSt6vectorIfSaIfEED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIfSaIfEED2Ev
	.type	_ZNSt6vectorIfSaIfEED2Ev, @function
_ZNSt6vectorIfSaIfEED2Ev:
.LFB3058:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L135
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L135:
	ret
	.cfi_endproc
.LFE3058:
	.size	_ZNSt6vectorIfSaIfEED2Ev, .-_ZNSt6vectorIfSaIfEED2Ev
	.weak	_ZNSt6vectorIfSaIfEED1Ev
	.set	_ZNSt6vectorIfSaIfEED1Ev,_ZNSt6vectorIfSaIfEED2Ev
	.section	.text._ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev,"axG",@progbits,_ZNSt6vectorIS_IfSaIfEESaIS1_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev
	.type	_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev, @function
_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev:
.LFB3046:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movq	8(%rdi), %r12
	movq	%rdi, %rbx
	movq	(%rdi), %rbp
.L138:
	cmpq	%rbp, %r12
	je	.L142
	movq	%rbp, %rdi
	addq	$24, %rbp
	call	_ZNSt6vectorIfSaIfEED1Ev
	jmp	.L138
.L142:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.L137
	movq	16(%rbx), %rsi
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	subq	%rdi, %rsi
	jmp	_ZdlPvm@PLT
.L137:
	.cfi_restore_state
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE3046:
	.size	_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev, .-_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev
	.weak	_ZNSt6vectorIS_IfSaIfEESaIS1_EED1Ev
	.set	_ZNSt6vectorIS_IfSaIfEESaIS1_EED1Ev,_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev
	.section	.rodata._ZNSt6vectorI10TransitionSaIS0_EEC2EmRKS1_.str1.1,"aMS",@progbits,1
.LC12:
	.string	"cannot create std::vector larger than max_size()"
	.section	.text._ZNSt6vectorI10TransitionSaIS0_EEC2EmRKS1_,"axG",@progbits,_ZNSt6vectorI10TransitionSaIS0_EEC5EmRKS1_,comdat
	.align 2
	.weak	_ZNSt6vectorI10TransitionSaIS0_EEC2EmRKS1_
	.type	_ZNSt6vectorI10TransitionSaIS0_EEC2EmRKS1_, @function
_ZNSt6vectorI10TransitionSaIS0_EEC2EmRKS1_:
.LFB3067:
	.cfi_startproc
	endbr64
	movabsq	$768614336404564650, %rax
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	cmpq	%rsi, %rax
	jnb	.L144
	leaq	.LC12(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L144:
	xorl	%ecx, %ecx
	imulq	$12, %rsi, %r12
	movq	%rdi, %rbx
	movq	%rsi, %rbp
	movq	%rcx, (%rdi)
	xorl	%eax, %eax
	movq	%rcx, 8(%rdi)
	movq	%rcx, 16(%rdi)
	testq	%rsi, %rsi
	je	.L145
	movq	%r12, %rdi
	call	_Znwm@PLT
.L145:
	addq	%rax, %r12
	movq	%rax, (%rbx)
	movss	.LC13(%rip), %xmm0
	movq	%r12, 16(%rbx)
.L146:
	testq	%rbp, %rbp
	je	.L151
	xorl	%edx, %edx
	movss	%xmm0, (%rax)
	decq	%rbp
	addq	$12, %rax
	movl	%edx, -8(%rax)
	movl	%edx, -4(%rax)
	jmp	.L146
.L151:
	movq	%r12, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE3067:
	.size	_ZNSt6vectorI10TransitionSaIS0_EEC2EmRKS1_, .-_ZNSt6vectorI10TransitionSaIS0_EEC2EmRKS1_
	.weak	_ZNSt6vectorI10TransitionSaIS0_EEC1EmRKS1_
	.set	_ZNSt6vectorI10TransitionSaIS0_EEC1EmRKS1_,_ZNSt6vectorI10TransitionSaIS0_EEC2EmRKS1_
	.section	.text._ZNSt6vectorI10TransitionSaIS0_EED2Ev,"axG",@progbits,_ZNSt6vectorI10TransitionSaIS0_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorI10TransitionSaIS0_EED2Ev
	.type	_ZNSt6vectorI10TransitionSaIS0_EED2Ev, @function
_ZNSt6vectorI10TransitionSaIS0_EED2Ev:
.LFB3070:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L152
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L152:
	ret
	.cfi_endproc
.LFE3070:
	.size	_ZNSt6vectorI10TransitionSaIS0_EED2Ev, .-_ZNSt6vectorI10TransitionSaIS0_EED2Ev
	.weak	_ZNSt6vectorI10TransitionSaIS0_EED1Ev
	.set	_ZNSt6vectorI10TransitionSaIS0_EED1Ev,_ZNSt6vectorI10TransitionSaIS0_EED2Ev
	.section	.text._ZNSt6vectorI7IntPairSaIS0_EEC2EmRKS1_,"axG",@progbits,_ZNSt6vectorI7IntPairSaIS0_EEC5EmRKS1_,comdat
	.align 2
	.weak	_ZNSt6vectorI7IntPairSaIS0_EEC2EmRKS1_
	.type	_ZNSt6vectorI7IntPairSaIS0_EEC2EmRKS1_, @function
_ZNSt6vectorI7IntPairSaIS0_EEC2EmRKS1_:
.LFB3079:
	.cfi_startproc
	endbr64
	movabsq	$1152921504606846975, %rax
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	cmpq	%rsi, %rax
	jnb	.L155
	leaq	.LC12(%rip), %rdi
	call	_ZSt20__throw_length_errorPKc@PLT
.L155:
	movq	%rsi, %rbp
	xorl	%esi, %esi
	movq	%rdi, %rbx
	xorl	%eax, %eax
	movq	%rsi, (%rdi)
	leaq	0(,%rbp,8), %r12
	movq	%rsi, 8(%rdi)
	movq	%rsi, 16(%rdi)
	testq	%rbp, %rbp
	je	.L156
	movq	%r12, %rdi
	call	_Znwm@PLT
.L156:
	addq	%rax, %r12
	movq	%rax, (%rbx)
	xorl	%edx, %edx
	movq	%r12, 16(%rbx)
.L157:
	cmpq	%rbp, %rdx
	je	.L162
	xorl	%ecx, %ecx
	movl	$1, (%rax,%rdx,8)
	movl	%ecx, 4(%rax,%rdx,8)
	incq	%rdx
	jmp	.L157
.L162:
	movq	%r12, 8(%rbx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE3079:
	.size	_ZNSt6vectorI7IntPairSaIS0_EEC2EmRKS1_, .-_ZNSt6vectorI7IntPairSaIS0_EEC2EmRKS1_
	.weak	_ZNSt6vectorI7IntPairSaIS0_EEC1EmRKS1_
	.set	_ZNSt6vectorI7IntPairSaIS0_EEC1EmRKS1_,_ZNSt6vectorI7IntPairSaIS0_EEC2EmRKS1_
	.section	.text._ZNSt6vectorI7IntPairSaIS0_EED2Ev,"axG",@progbits,_ZNSt6vectorI7IntPairSaIS0_EED5Ev,comdat
	.align 2
	.weak	_ZNSt6vectorI7IntPairSaIS0_EED2Ev
	.type	_ZNSt6vectorI7IntPairSaIS0_EED2Ev, @function
_ZNSt6vectorI7IntPairSaIS0_EED2Ev:
.LFB3082:
	.cfi_startproc
	endbr64
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	.L163
	movq	16(%rdi), %rsi
	movq	%rax, %rdi
	subq	%rax, %rsi
	jmp	_ZdlPvm@PLT
.L163:
	ret
	.cfi_endproc
.LFE3082:
	.size	_ZNSt6vectorI7IntPairSaIS0_EED2Ev, .-_ZNSt6vectorI7IntPairSaIS0_EED2Ev
	.weak	_ZNSt6vectorI7IntPairSaIS0_EED1Ev
	.set	_ZNSt6vectorI7IntPairSaIS0_EED1Ev,_ZNSt6vectorI7IntPairSaIS0_EED2Ev
	.section	.rodata.str1.1
.LC14:
	.string	"count does not equal to num_arcs\n"
	.text
	.globl	Init
	.type	Init, @function
Init:
.LFB2898:
	.cfi_startproc
	.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
	.cfi_lsda 0x1b,.LLSDA2898
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	xorl	%ecx, %ecx
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-272(%rbp), %r8
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%rdx, %rbx
	xorl	%edx, %edx
	subq	$400, %rsp
	movl	%esi, -380(%rbp)
	leaq	-344(%rbp), %rsi
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	leaq	-248(%rbp), %rax
	movq	%rdx, -344(%rbp)
	movq	%rdx, -336(%rbp)
	movq	%rdx, -328(%rbp)
	movq	%rdx, -320(%rbp)
	movq	%rdx, -312(%rbp)
	movq	%rdx, -304(%rbp)
	movq	%rdx, -296(%rbp)
	movq	%rdx, -288(%rbp)
	movq	%rdx, -280(%rbp)
	movq	%rdx, -272(%rbp)
	movq	%rdx, -264(%rbp)
	movq	%rdx, -256(%rbp)
	movq	%rdx, -248(%rbp)
	movq	%rdx, -240(%rbp)
	movq	%rdx, -232(%rbp)
	movq	%rdx, -224(%rbp)
	movq	%rax, -392(%rbp)
	leaq	-352(%rbp), %rax
	movq	-392(%rbp), %r9
	movq	%rdx, -216(%rbp)
	movq	%rdx, -208(%rbp)
	movq	%rdx, -200(%rbp)
	movq	%rdx, -192(%rbp)
	movq	%rdx, -184(%rbp)
	movq	%rdx, -176(%rbp)
	movq	%rdx, -168(%rbp)
	movq	%rdx, -160(%rbp)
	leaq	-320(%rbp), %rdx
	movl	%ecx, -356(%rbp)
	movl	%ecx, -352(%rbp)
	leaq	-296(%rbp), %rcx
	pushq	%rax
	leaq	-356(%rbp), %rax
	pushq	%rax
	leaq	-176(%rbp), %rax
	movq	%rax, -400(%rbp)
	pushq	%rax
	leaq	-200(%rbp), %rax
	movq	%rax, -408(%rbp)
	pushq	%rax
	leaq	-224(%rbp), %rax
	pushq	%rax
.LEHB0:
	.cfi_escape 0x2e,0x30
	call	_Z7ReadFstPKcRSt6vectorIS1_IiSaIiEESaIS3_EES6_S6_S6_RS1_IS1_IfSaIfEESaIS8_EESB_RS8_SC_RiSD_@PLT
	movl	-356(%rbp), %eax
	addq	$48, %rsp
	movslq	-352(%rbp), %rsi
	leaq	-152(%rbp), %rdi
	movl	%eax, DEN_NUM_STATES(%rip)
	leaq	-80(%rbp), %rax
	movq	%rax, %rdx
	movl	%esi, DEN_NUM_ARCS(%rip)
	movq	%rax, %r14
	.cfi_escape 0x2e,0
	call	_ZNSt6vectorI10TransitionSaIS0_EEC1EmRKS1_
.LEHE0:
	movslq	-352(%rbp), %rsi
	leaq	-128(%rbp), %rdi
	movq	%r14, %rdx
.LEHB1:
	call	_ZNSt6vectorI10TransitionSaIS0_EEC1EmRKS1_
.LEHE1:
	movslq	-356(%rbp), %rsi
	leaq	-104(%rbp), %rdi
	movq	%r14, %rdx
.LEHB2:
	call	_ZNSt6vectorI7IntPairSaIS0_EEC1EmRKS1_
.LEHE2:
	movslq	-356(%rbp), %rsi
	leaq	-348(%rbp), %rdx
	movq	%r14, %rdi
.LEHB3:
	call	_ZNSt6vectorI7IntPairSaIS0_EEC1EmRKS1_
.LEHE3:
	movl	-356(%rbp), %eax
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	movq	-344(%rbp), %r10
	movq	-296(%rbp), %r12
	movl	%eax, -384(%rbp)
	movq	-104(%rbp), %rax
	movq	-248(%rbp), %r11
	movq	%rax, -376(%rbp)
	movq	-152(%rbp), %rax
	movq	%rax, -416(%rbp)
.L166:
	cmpl	%ecx, -384(%rbp)
	jle	.L278
	movq	8(%r10,%rsi), %r8
	movq	(%r10,%rsi), %r9
	movq	-376(%rbp), %rax
	cmpq	%r8, %r9
	jne	.L167
	movl	$1, (%rax,%rcx,8)
	xorl	%eax, %eax
	jmp	.L168
.L167:
	movl	%edx, (%rax,%rcx,8)
	movslq	%edx, %rax
	movq	-416(%rbp), %rdi
	subq	%r9, %r8
	imulq	$12, %rax, %rax
	movq	%r8, %r13
	sarq	$2, %r13
	addq	%rdi, %rax
	xorl	%edi, %edi
.L169:
	cmpq	%r8, %rdi
	je	.L279
	movl	(%r9,%rdi), %r14d
	addq	$12, %rax
	movl	%r14d, -4(%rax)
	movq	(%r12,%rsi), %r14
	movl	(%r14,%rdi), %r14d
	movl	%r14d, -8(%rax)
	movq	(%r11,%rsi), %r14
	movss	(%r14,%rdi), %xmm0
	addq	$4, %rdi
	movss	%xmm0, -12(%rax)
	jmp	.L169
.L279:
	addl	%r13d, %edx
	leal	-1(%rdx), %eax
.L168:
	movq	-376(%rbp), %rdi
	addq	$24, %rsi
	movl	%eax, 4(%rdi,%rcx,8)
	incq	%rcx
	jmp	.L166
.L278:
	cmpl	%edx, -352(%rbp)
	jne	.L172
	movq	-128(%rbp), %rax
	movq	-320(%rbp), %r11
	xorl	%edi, %edi
	xorl	%esi, %esi
	movq	-80(%rbp), %r12
	movq	-272(%rbp), %r14
	xorl	%ecx, %ecx
	movq	%rax, -424(%rbp)
	movq	-224(%rbp), %r13
	jmp	.L173
.L172:
	movq	stderr(%rip), %rdi
	leaq	.LC14(%rip), %rdx
	movl	$2, %esi
	xorl	%eax, %eax
.L229:
.LEHB4:
	call	__fprintf_chk@PLT
	orl	$-1, %edi
	jmp	.L246
.L178:
	movq	8(%r11,%rdi), %r9
	movq	(%r11,%rdi), %r10
	cmpq	%r10, %r9
	jne	.L174
	movl	$1, (%r12,%rsi,8)
	xorl	%eax, %eax
.L175:
	movl	%eax, 4(%r12,%rsi,8)
	addq	$24, %rdi
	incq	%rsi
.L173:
	cmpl	%esi, -384(%rbp)
	jg	.L178
	jmp	.L280
.L174:
	subq	%r10, %r9
	movq	-424(%rbp), %r8
	movl	%ecx, (%r12,%rsi,8)
	movq	%r9, %rax
	sarq	$2, %rax
	movq	%rax, -432(%rbp)
	movslq	%ecx, %rax
	imulq	$12, %rax, %rax
	addq	%r8, %rax
	xorl	%r8d, %r8d
.L176:
	cmpq	%r9, %r8
	je	.L281
	movl	(%r10,%r8), %r15d
	addq	$12, %rax
	movl	%r15d, -4(%rax)
	movq	(%r14,%rdi), %r15
	movl	(%r15,%r8), %r15d
	movl	%r15d, -8(%rax)
	movq	0(%r13,%rdi), %r15
	movss	(%r15,%r8), %xmm0
	addq	$4, %r8
	movss	%xmm0, -12(%rax)
	jmp	.L176
.L281:
	movl	-432(%rbp), %eax
	addl	%eax, %ecx
	leal	-1(%rcx), %eax
	jmp	.L175
.L280:
	xorl	%eax, %eax
	xorl	%r13d, %r13d
	cmpl	%ecx, %edx
	je	.L179
	movq	stderr(%rip), %rdi
	leaq	.LC14(%rip), %rdx
	movl	$2, %esi
	jmp	.L229
.L179:
	cmpl	%eax, -380(%rbp)
	jle	.L282
	movl	(%rbx,%rax,4), %edx
	cmpl	%edx, %r13d
	cmovl	%edx, %r13d
	incq	%rax
	jmp	.L179
.L282:
	movabsq	$2305843009213693950, %rax
	incl	%r13d
	movslq	%r13d, %r13
	cmpq	%r13, %rax
	jb	.L182
	salq	$2, %r13
	movq	%r13, %rdi
	call	_Znam@PLT
	movq	%rax, %rdi
	movq	%r13, %rdx
	movq	%r13, %rcx
	xorl	%esi, %esi
	movq	%rax, DEVICE_HASH(%rip)
	call	__memset_chk@PLT
	xorl	%edx, %edx
	movq	%rax, %rdi
	jmp	.L185
.L182:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L226
	call	__cxa_throw_bad_array_new_length@PLT
.L185:
	cmpl	%edx, -380(%rbp)
	jle	.L283
	movslq	(%rbx,%rdx,4), %rax
	movl	%edx, (%rdi,%rax,4)
	incq	%rdx
	jmp	.L185
.L283:
	movslq	-380(%rbp), %r13
	movabsq	$1152921504606846975, %rax
	cmpq	%r13, %rax
	jb	.L187
	salq	$3, %r13
	movq	%r13, %rdi
	call	_Znam@PLT
	movq	%r13, %rdi
	movq	%rax, TRANSITION_ALPHA(%rip)
	call	_Znam@PLT
	jmp	.L284
.L187:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L226
	call	__cxa_throw_bad_array_new_length@PLT
.L284:
	movq	%r13, %rdi
	movq	%rax, TRANSITION_BETA(%rip)
	call	_Znam@PLT
	movq	%r13, %rdi
	movq	%rax, TRANSITION_INDEX_ALPHA(%rip)
	call	_Znam@PLT
	movq	%r13, %rdi
	movq	%rax, TRANSITION_INDEX_BETA(%rip)
	call	_Znam@PLT
	movq	%r13, %rdi
	movq	%rax, START_WEIGHT(%rip)
	call	_Znam@PLT
	movq	%rax, END_WEIGHT(%rip)
	leaq	-348(%rbp), %rdi
	xorl	%eax, %eax
	movl	%eax, -348(%rbp)
	call	cudaGetDevice@PLT
	movl	%eax, %r13d
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	.L190
	movl	$373, %ecx
.L265:
	leaq	.LC0(%rip), %rdx
	leaq	.LC1(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	%r13d, %edi
	call	cudaGetErrorString@PLT
	movq	%rax, %rcx
	movl	%r13d, %edx
.L234:
	leaq	.LC2(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$1, %edi
.L246:
	call	exit@PLT
.L190:
	cmpl	%r14d, -380(%rbp)
	jle	.L285
	movl	(%rbx,%r14,4), %edi
	call	cudaSetDevice@PLT
	movl	%eax, %r13d
	testl	%eax, %eax
	je	.L191
	movl	$376, %ecx
	jmp	.L265
.L191:
	movslq	-352(%rbp), %rsi
	movq	TRANSITION_ALPHA(%rip), %rdi
	leaq	0(,%r14,8), %r13
	imulq	$12, %rsi, %rsi
	addq	%r13, %rdi
	call	cudaMalloc@PLT
	movl	%eax, %r15d
	testl	%eax, %eax
	je	.L193
	movl	$377, %ecx
	jmp	.L268
.L193:
	movslq	-352(%rbp), %rsi
	movq	TRANSITION_BETA(%rip), %rdi
	imulq	$12, %rsi, %rsi
	addq	%r13, %rdi
	call	cudaMalloc@PLT
	movl	%eax, %r15d
	testl	%eax, %eax
	je	.L194
	movl	$378, %ecx
	jmp	.L268
.L194:
	movslq	-356(%rbp), %rsi
	movq	TRANSITION_INDEX_ALPHA(%rip), %rdi
	salq	$3, %rsi
	addq	%r13, %rdi
	call	cudaMalloc@PLT
	movl	%eax, %r15d
	testl	%eax, %eax
	je	.L195
	movl	$379, %ecx
	jmp	.L268
.L195:
	movslq	-356(%rbp), %rsi
	movq	TRANSITION_INDEX_BETA(%rip), %rdi
	salq	$3, %rsi
	addq	%r13, %rdi
	call	cudaMalloc@PLT
	movl	%eax, %r15d
	testl	%eax, %eax
	je	.L196
	movl	$380, %ecx
	jmp	.L268
.L196:
	movslq	-356(%rbp), %rsi
	movq	START_WEIGHT(%rip), %rdi
	salq	$2, %rsi
	addq	%r13, %rdi
	call	cudaMalloc@PLT
	movl	%eax, %r15d
	testl	%eax, %eax
	je	.L197
	movl	$381, %ecx
	jmp	.L268
.L197:
	movslq	-356(%rbp), %rsi
	movq	END_WEIGHT(%rip), %rdi
	salq	$2, %rsi
	addq	%r13, %rdi
	call	cudaMalloc@PLT
	movl	%eax, %r15d
	testl	%eax, %eax
	je	.L198
	movl	$382, %ecx
	jmp	.L268
.L198:
	movslq	-352(%rbp), %rdx
	movq	TRANSITION_ALPHA(%rip), %rax
	movl	$1, %ecx
	movq	-416(%rbp), %rsi
	imulq	$12, %rdx, %rdx
	movq	(%rax,%r13), %rdi
	call	cudaMemcpy@PLT
	movl	%eax, %r15d
	testl	%eax, %eax
	je	.L199
	movl	$384, %ecx
	jmp	.L268
.L199:
	movslq	-352(%rbp), %rdx
	movq	TRANSITION_BETA(%rip), %rax
	movl	$1, %ecx
	movq	-424(%rbp), %rsi
	imulq	$12, %rdx, %rdx
	movq	(%rax,%r13), %rdi
	call	cudaMemcpy@PLT
	movl	%eax, %r15d
	testl	%eax, %eax
	je	.L200
	movl	$385, %ecx
	jmp	.L268
.L200:
	movq	TRANSITION_INDEX_ALPHA(%rip), %rax
	movslq	-356(%rbp), %rdx
	movl	$1, %ecx
	movq	-376(%rbp), %rsi
	movq	(%rax,%r13), %rdi
	salq	$3, %rdx
	call	cudaMemcpy@PLT
	movl	%eax, %r15d
	testl	%eax, %eax
	je	.L201
	movl	$386, %ecx
	jmp	.L268
.L201:
	movq	TRANSITION_INDEX_BETA(%rip), %rax
	movslq	-356(%rbp), %rdx
	movl	$1, %ecx
	movq	%r12, %rsi
	movq	(%rax,%r13), %rdi
	salq	$3, %rdx
	call	cudaMemcpy@PLT
	movl	%eax, %r15d
	testl	%eax, %eax
	je	.L202
	movl	$387, %ecx
	jmp	.L268
.L202:
	movq	START_WEIGHT(%rip), %rax
	movslq	-356(%rbp), %rdx
	movl	$1, %ecx
	movq	-200(%rbp), %rsi
	movq	(%rax,%r13), %rdi
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	movl	%eax, %r15d
	testl	%eax, %eax
	je	.L203
	movl	$388, %ecx
.L268:
	leaq	.LC0(%rip), %rdx
	leaq	.LC1(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	%r15d, %edi
	call	cudaGetErrorString@PLT
	movq	%rax, %rcx
	movl	%r15d, %edx
	jmp	.L234
.L203:
	movq	END_WEIGHT(%rip), %rax
	movslq	-356(%rbp), %rdx
	movl	$1, %ecx
	movq	-176(%rbp), %rsi
	movq	(%rax,%r13), %rdi
	salq	$2, %rdx
	call	cudaMemcpy@PLT
	movl	%eax, %r13d
	incq	%r14
	testl	%eax, %eax
	je	.L190
	movl	$389, %ecx
	jmp	.L265
.L285:
	movl	-348(%rbp), %edi
	call	cudaSetDevice@PLT
	movl	%eax, %ebx
	testl	%eax, %eax
	je	.L205
	movl	$391, %ecx
	leaq	.LC0(%rip), %rdx
	leaq	.LC1(%rip), %rsi
	xorl	%eax, %eax
	movl	$2, %edi
	call	__printf_chk@PLT
	movl	%ebx, %edi
	call	cudaGetErrorString@PLT
.LEHE4:
	movq	%rax, %rcx
	movl	%ebx, %edx
	jmp	.L234
.L205:
	leaq	-80(%rbp), %rdi
	call	_ZNSt6vectorI7IntPairSaIS0_EED1Ev
	leaq	-104(%rbp), %rdi
	call	_ZNSt6vectorI7IntPairSaIS0_EED1Ev
	leaq	-128(%rbp), %rdi
	call	_ZNSt6vectorI10TransitionSaIS0_EED1Ev
	leaq	-152(%rbp), %rdi
	call	_ZNSt6vectorI10TransitionSaIS0_EED1Ev
	movq	-400(%rbp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	-408(%rbp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	leaq	-224(%rbp), %rdi
	call	_ZNSt6vectorIS_IfSaIfEESaIS1_EED1Ev
	movq	-392(%rbp), %rdi
	call	_ZNSt6vectorIS_IfSaIfEESaIS1_EED1Ev
	leaq	-272(%rbp), %rdi
	call	_ZNSt6vectorIS_IiSaIiEESaIS1_EED1Ev
	leaq	-296(%rbp), %rdi
	call	_ZNSt6vectorIS_IiSaIiEESaIS1_EED1Ev
	leaq	-320(%rbp), %rdi
	call	_ZNSt6vectorIS_IiSaIiEESaIS1_EED1Ev
	leaq	-344(%rbp), %rdi
	call	_ZNSt6vectorIS_IiSaIiEESaIS1_EED1Ev
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	je	.L212
	jmp	.L226
.L219:
	endbr64
	movq	%rax, %rbx
.L206:
	leaq	-80(%rbp), %rdi
	call	_ZNSt6vectorI7IntPairSaIS0_EED1Ev
	jmp	.L207
.L218:
	endbr64
	movq	%rax, %rbx
.L207:
	leaq	-104(%rbp), %rdi
	call	_ZNSt6vectorI7IntPairSaIS0_EED1Ev
	jmp	.L208
.L217:
	endbr64
	movq	%rax, %rbx
.L208:
	leaq	-128(%rbp), %rdi
	call	_ZNSt6vectorI10TransitionSaIS0_EED1Ev
	jmp	.L209
.L216:
	endbr64
	movq	%rax, %rbx
.L209:
	leaq	-152(%rbp), %rdi
	call	_ZNSt6vectorI10TransitionSaIS0_EED1Ev
	jmp	.L210
.L215:
	endbr64
	movq	%rax, %rbx
.L210:
	movq	-400(%rbp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	movq	-408(%rbp), %rdi
	call	_ZNSt6vectorIfSaIfEED1Ev
	leaq	-224(%rbp), %rdi
	call	_ZNSt6vectorIS_IfSaIfEESaIS1_EED1Ev
	movq	-392(%rbp), %rdi
	call	_ZNSt6vectorIS_IfSaIfEESaIS1_EED1Ev
	leaq	-272(%rbp), %rdi
	call	_ZNSt6vectorIS_IiSaIiEESaIS1_EED1Ev
	leaq	-296(%rbp), %rdi
	call	_ZNSt6vectorIS_IiSaIiEESaIS1_EED1Ev
	leaq	-320(%rbp), %rdi
	call	_ZNSt6vectorIS_IiSaIiEESaIS1_EED1Ev
	leaq	-344(%rbp), %rdi
	call	_ZNSt6vectorIS_IiSaIiEESaIS1_EED1Ev
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L226
	movq	%rbx, %rdi
.LEHB5:
	call	_Unwind_Resume@PLT
.LEHE5:
.L226:
	call	__stack_chk_fail@PLT
.L212:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2898:
	.globl	__gxx_personality_v0
	.section	.gcc_except_table,"a",@progbits
.LLSDA2898:
	.byte	0xff
	.byte	0xff
	.byte	0x1
	.uleb128 .LLSDACSE2898-.LLSDACSB2898
.LLSDACSB2898:
	.uleb128 .LEHB0-.LFB2898
	.uleb128 .LEHE0-.LEHB0
	.uleb128 .L215-.LFB2898
	.uleb128 0
	.uleb128 .LEHB1-.LFB2898
	.uleb128 .LEHE1-.LEHB1
	.uleb128 .L216-.LFB2898
	.uleb128 0
	.uleb128 .LEHB2-.LFB2898
	.uleb128 .LEHE2-.LEHB2
	.uleb128 .L217-.LFB2898
	.uleb128 0
	.uleb128 .LEHB3-.LFB2898
	.uleb128 .LEHE3-.LEHB3
	.uleb128 .L218-.LFB2898
	.uleb128 0
	.uleb128 .LEHB4-.LFB2898
	.uleb128 .LEHE4-.LEHB4
	.uleb128 .L219-.LFB2898
	.uleb128 0
	.uleb128 .LEHB5-.LFB2898
	.uleb128 .LEHE5-.LEHB5
	.uleb128 0
	.uleb128 0
.LLSDACSE2898:
	.text
	.size	Init, .-Init
	.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
	.globl	DEVICE_HASH
	.bss
	.align 8
	.type	DEVICE_HASH, @object
	.size	DEVICE_HASH, 8
DEVICE_HASH:
	.zero	8
	.globl	DEN_NUM_STATES
	.align 4
	.type	DEN_NUM_STATES, @object
	.size	DEN_NUM_STATES, 4
DEN_NUM_STATES:
	.zero	4
	.globl	DEN_NUM_ARCS
	.align 4
	.type	DEN_NUM_ARCS, @object
	.size	DEN_NUM_ARCS, 4
DEN_NUM_ARCS:
	.zero	4
	.globl	END_WEIGHT
	.align 8
	.type	END_WEIGHT, @object
	.size	END_WEIGHT, 8
END_WEIGHT:
	.zero	8
	.globl	START_WEIGHT
	.align 8
	.type	START_WEIGHT, @object
	.size	START_WEIGHT, 8
START_WEIGHT:
	.zero	8
	.globl	TRANSITION_INDEX_BETA
	.align 8
	.type	TRANSITION_INDEX_BETA, @object
	.size	TRANSITION_INDEX_BETA, 8
TRANSITION_INDEX_BETA:
	.zero	8
	.globl	TRANSITION_INDEX_ALPHA
	.align 8
	.type	TRANSITION_INDEX_ALPHA, @object
	.size	TRANSITION_INDEX_ALPHA, 8
TRANSITION_INDEX_ALPHA:
	.zero	8
	.globl	TRANSITION_BETA
	.align 8
	.type	TRANSITION_BETA, @object
	.size	TRANSITION_BETA, 8
TRANSITION_BETA:
	.zero	8
	.globl	TRANSITION_ALPHA
	.align 8
	.type	TRANSITION_ALPHA, @object
	.size	TRANSITION_ALPHA, 8
TRANSITION_ALPHA:
	.zero	8
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC13:
	.long	-8388608
	.hidden	DW.ref.__gxx_personality_v0
	.weak	DW.ref.__gxx_personality_v0
	.section	.data.rel.local.DW.ref.__gxx_personality_v0,"awG",@progbits,DW.ref.__gxx_personality_v0,comdat
	.align 8
	.type	DW.ref.__gxx_personality_v0, @object
	.size	DW.ref.__gxx_personality_v0, 8
DW.ref.__gxx_personality_v0:
	.quad	__gxx_personality_v0
	.ident	"GCC: (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

// Copyright 2018-2019 Tsinghua University, Author: Hongyu Xiang
// Apache 2.0.
// This file contains functions for calculating the denominator gradients in log domain.


#include <hip/hip_runtime.h>
#include <cstdio>
#include <cstdlib>
#include <vector>
// for each state
// start_weight
// end_weight

// Transition: float weight, int input_label, int state
// alpha_transition_index 
// beta_transition_index

#define CHECK_CUDA(call) \
{  \
    const hipError_t error = call; \
    if (error != hipSuccess) \
    { \
        printf("Error: %s:%d, ", __FILE__, __LINE__); \
        printf("code: %d, reason: %s\n", error, hipGetErrorString(error)); \
        exit(1); \
    } \
}
#define ATOMIC_CONST 32
#define CU_BLOCK_DIM 1024

__host__ __device__
inline float log_plus(float a, float b) {
    if (a == -float(INFINITY)) return b;
    if (b == -float(INFINITY)) return a;
    float m = a > b ? a : b;
    return log1pf(expf(-fabs(a - b))) + m;
}

__device__ float atomic_log_plus(float *addr_f, float value) {
    int *addr = (int*)addr_f;
    float expected = *addr_f;
    float sum = log_plus(expected, value);
    int old_value = atomicCAS(addr, __float_as_int(expected), __float_as_int(sum));

    while (old_value != __float_as_int(expected)) {
        expected = __int_as_float(old_value);
        sum = log_plus(expected, value);
        old_value = atomicCAS(addr, __float_as_int(expected), __float_as_int(sum));
    }
    return __int_as_float(old_value);
}

struct Transition {
    float weight = -float(INFINITY);
    int label = 0;
    int state = 0;
};

struct IntPair {
    int first = 1;
    int second = 0;
};

// <<<batch_size, CU_BLOCK_CONST>>>
__global__ void alpha_first_kernel(float *alpha,
                                   const int alpha_size,
                                   const int batch_size,
                                   const int T,
                                   const float * const start_weight) {
    int mini_batch_idx = blockIdx.x;
    int tid = threadIdx.x;
    for (int idx = tid; idx < alpha_size; idx += blockDim.x) {
        alpha[mini_batch_idx * alpha_size * (T+1) + idx] = start_weight[idx];
    }
}

__global__ void alpha_kernel(float *alpha,
                             const float* const logits,
                             const int batch_size,
                             const int T,
                             const int t,
                             const int * const input_lengths,
                             const int alpha_size,
                             const int logits_size,
                             const IntPair * const alpha_transition_index,
                             const Transition * const alpha_transition) {
    int mini_batch_idx = blockIdx.x;
    int tid = threadIdx.x;
    if (t > input_lengths[mini_batch_idx]) return;

    int idx1 = mini_batch_idx * alpha_size * (T+1) + alpha_size * t;
    int idx2 = mini_batch_idx * alpha_size * (T+1) + alpha_size * (t-1);
    int idx3 = mini_batch_idx * logits_size * T + logits_size * (t-1);

    for (int idx = tid; idx < alpha_size; idx += blockDim.x) {
        int start = alpha_transition_index[idx].first;
        int end = alpha_transition_index[idx].second;
        float result = -float(INFINITY);
        for (int k = start; k <= end; k++) {
            result = log_plus(alpha[idx2+alpha_transition[k].state] + 
                alpha_transition[k].weight + logits[idx3+alpha_transition[k].label], result);
        }
        alpha[idx1+idx] = result;
    }
}

__global__ void alpha_last_kernel(float *alpha,
                                  const int alpha_size,
                                  const int batch_size,
                                  const int T,
                                  const int * const input_lengths,
                                  const float * const end_weight) {
    int mini_batch_idx = blockIdx.x;
    int tid = threadIdx.x;
    int alpha_start = mini_batch_idx * alpha_size * (T+1);
    int cT = input_lengths[mini_batch_idx];

    for (int idx = tid; idx < alpha_size; idx += blockDim.x) {
        alpha[alpha_start+cT*alpha_size+idx] += end_weight[idx];
    }
}

// <<< minibatch, N = 32,64,128...>>>
__global__ void alpha_lld_kernal(const float * const alpha,
                                 const int alpha_size,
                                 const int T,
                                 const int * const input_lengths,
                                 float * loglikelihood) {
    int mini_batch_idx = blockIdx.x;
    int idx = threadIdx.x;
    int block_dim = blockDim.x;
    int cT = input_lengths[mini_batch_idx];
    int last_idx = alpha_size * (T+1) * mini_batch_idx + cT*alpha_size;
    // printf("enter alpha_lld_kernal, block.x: %d, thread.x: %d\n", blockIdx.x, threadIdx.x);

    extern __shared__ float sdata[];
    float temp = -float(INFINITY);

    for (int i = idx; i < alpha_size; i += block_dim) {
        temp = log_plus(temp, alpha[last_idx+i]);
    }
    sdata[idx] = temp;
    __syncthreads();

    for (int shift = block_dim / 2; shift > warpSize; shift >>= 1) {
        if (idx < shift) {
            sdata[idx] = log_plus(sdata[idx], sdata[idx+shift]);
        }
        __syncthreads();
    }

    if (idx < warpSize) {
        for (int shift = warpSize; shift > 0; shift >>= 1) {
            sdata[idx] = log_plus(sdata[idx], sdata[idx+shift]);
        }
    }
    __syncthreads();

    if (idx == 0) {
        loglikelihood[mini_batch_idx] = sdata[0];
        // printf("alpha loglikelihod: %f mini_batch %d\n", loglikelihood[mini_batch_idx], mini_batch_idx);
    }
}

__global__ void beta_last_kernel(float *beta,
                                 const int beta_size,
                                 const int batch_size,
                                 const int * const input_lengths,
                                 const float * const end_weight) {
    int mini_batch_idx = blockIdx.x;
    int tid = threadIdx.x;
    int cT = input_lengths[mini_batch_idx];

    for (int idx = tid; idx < beta_size; idx += blockDim.x) {
        beta[mini_batch_idx * 2 * beta_size + (cT % 2) * beta_size + idx] = end_weight[idx];
    }
}

__global__ void beta_first_kernel(float *beta, 
                                  const int beta_size,
                                  const int batch_size,
                                  const float * const start_weight) {
    int mini_batch_idx = blockIdx.x;
    int tid = threadIdx.x;

    for (int idx = tid; idx < beta_size; idx += blockDim.x) {
        beta[mini_batch_idx * 2 * beta_size + idx] += start_weight[idx];
    }
}

__global__ void beta_kernel(float *beta,
                            const float* const alpha,
                            const float* const logits, 
                            float *grad_storage,
                            const int batch_size,
                            const int T,
                            const int t,
                            const int *input_lengths,
                            const int beta_size,
                            const int logits_size,
                            const IntPair * const beta_transition_index,
                            const Transition * const beta_transition) {
    int mini_batch_idx = blockIdx.x;
    int tid = threadIdx.x;
    if (t >= input_lengths[mini_batch_idx]) return;
    int idx1 = mini_batch_idx * beta_size * (T+1) + beta_size * t;
    int idx2 = mini_batch_idx * beta_size * 2 + beta_size * ((t+1) % 2);
    int idx3 = mini_batch_idx * beta_size * 2 + beta_size * (t % 2);
    int idx4 = mini_batch_idx * logits_size * T + logits_size * t;
    int idx5 = mini_batch_idx * logits_size * ATOMIC_CONST;

    for (int idx = tid; idx < beta_size; idx += blockDim.x) {
        int start = beta_transition_index[idx].first;
        int end = beta_transition_index[idx].second;

        float beta_result = -float(INFINITY);
        float temp_value = -float(INFINITY);

        for (int k = start; k <= end; k++) {
            temp_value = beta[idx2+beta_transition[k].state] + beta_transition[k].weight +
                logits[idx4+beta_transition[k].label];
            beta_result = log_plus(temp_value, beta_result);
            float partial_grad = alpha[idx1+idx] + temp_value; 
            float *grad_position = grad_storage + idx5 + beta_transition[k].label * ATOMIC_CONST + threadIdx.x % ATOMIC_CONST;
            atomic_log_plus(grad_position, partial_grad);
        }
        beta[idx3+idx] = beta_result;
    }
}

__global__ void copy_grad(float *grad_storage,
                          float *grad_net,
                          const float * const alpha_lld,
                          const int * const input_lengths,
                          const int batch_size,
                          const int logits_size,
                          const int T,
                          const int t) {
    int mini_batch_idx = blockIdx.x;
    int tid = threadIdx.x;
    if (t >= input_lengths[mini_batch_idx]) return;

    float lld = alpha_lld[mini_batch_idx];
    for (int idx = tid; idx < logits_size; idx += blockDim.x) {
        float *grad_position = grad_net + mini_batch_idx*logits_size*T + t*logits_size + idx;
        int idx_storage = mini_batch_idx*logits_size*ATOMIC_CONST+idx*ATOMIC_CONST;

        float grad = -float(INFINITY);
        for (int i = 0; i < ATOMIC_CONST; i++) {
            grad = log_plus(grad_storage[idx_storage+i], grad);
            grad_storage[idx_storage+i] = -float(INFINITY);
        }
        *grad_position = expf(grad - lld);
    }
}

__global__ void beta_lld_kernal(const float * const beta,
                                const int beta_size,
                                float * loglikelihood) {
    int idx = threadIdx.x;
    int first_idx = beta_size * 2 * idx;
    loglikelihood[idx] = beta[first_idx];
}

Transition ** TRANSITION_ALPHA = NULL;
Transition ** TRANSITION_BETA = NULL;
IntPair ** TRANSITION_INDEX_ALPHA = NULL;
IntPair ** TRANSITION_INDEX_BETA = NULL;
float ** START_WEIGHT = NULL;
float ** END_WEIGHT = NULL;

int DEN_NUM_ARCS = 0;
int DEN_NUM_STATES = 0;

int *DEVICE_HASH = NULL;

void ReadFst(const char * fst_name,
             std::vector<std::vector<int> > &alpha_next,
             std::vector<std::vector<int> > &beta_next,
             std::vector<std::vector<int> > &alpha_ilabel,
             std::vector<std::vector<int> > &beta_ilabel,
             std::vector<std::vector<float> > &alpha_weight,
             std::vector<std::vector<float> > &beta_weight,
             std::vector<float> &start_weight,
             std::vector<float> &end_weight,
             int &num_states,
             int &num_arcs);

extern "C" {
void Init(const char * fst_name, int n_gpus, int * gpus) {
    std::vector<std::vector<int> > alpha_next;
    std::vector<std::vector<int> > beta_next;
    std::vector<std::vector<int> > alpha_ilabel;
    std::vector<std::vector<int> > beta_ilabel;
    std::vector<std::vector<float> > alpha_weight;
    std::vector<std::vector<float> > beta_weight;
    std::vector<float> start_weight;
    std::vector<float> end_weight;

    // const char * fst_name = "test_lm.fst";
    int num_states = 0;
    int num_arcs = 0;

    ReadFst(fst_name, alpha_next, beta_next, alpha_ilabel, beta_ilabel, 
        alpha_weight, beta_weight, start_weight, end_weight, num_states, num_arcs);
    
    DEN_NUM_ARCS = num_arcs;
    DEN_NUM_STATES = num_states;


    std::vector<Transition> transition_alpha(num_arcs);
    std::vector<Transition> transition_beta(num_arcs);
    std::vector<IntPair> transition_index_alpha(num_states);
    std::vector<IntPair> transition_index_beta(num_states);


    int count = 0;
    for (int i = 0; i < num_states; i++) {
        if (alpha_next[i].empty()) {
            transition_index_alpha[i].first = 1;
            transition_index_alpha[i].second = 0;
        } else {
            transition_index_alpha[i].first = count;
            for (int j = 0; j < alpha_next[i].size(); j++) {
                transition_alpha[count].state = alpha_next[i][j];
                transition_alpha[count].label = alpha_ilabel[i][j];
                transition_alpha[count].weight = alpha_weight[i][j];
                count++;
            }
            transition_index_alpha[i].second = count-1;
        }
    }
    if (count != num_arcs) {
        fprintf(stderr, "count does not equal to num_arcs\n");
        exit(-1);
    }

    count = 0;
    for (int i = 0; i < num_states; i++) {
        if (beta_next[i].empty()) {
            transition_index_beta[i].first = 1;
            transition_index_beta[i].second = 0;
        } else {
            transition_index_beta[i].first = count;
            for (int j = 0; j < beta_next[i].size(); j++) {
                transition_beta[count].state = beta_next[i][j];
                transition_beta[count].label = beta_ilabel[i][j];
                transition_beta[count].weight = beta_weight[i][j];
                count++;
            }
            transition_index_beta[i].second = count-1;
        }
    }
    if (count != num_arcs) {
        fprintf(stderr, "count does not equal to num_arcs\n");
        exit(-1);
    }

    int max_gpu = 0;
    for (int i = 0; i < n_gpus; i++) {
        if (gpus[i] > max_gpu) max_gpu = gpus[i];
    }
    DEVICE_HASH = new int[max_gpu+1];
    memset(DEVICE_HASH, 0, sizeof(int)*(max_gpu+1));
    for (int i = 0; i < n_gpus; i++) DEVICE_HASH[gpus[i]] = i;

    TRANSITION_ALPHA = new Transition*[n_gpus];
    TRANSITION_BETA= new Transition*[n_gpus];
    TRANSITION_INDEX_ALPHA = new IntPair*[n_gpus];
    TRANSITION_INDEX_BETA= new IntPair*[n_gpus];
    START_WEIGHT = new float*[n_gpus];
    END_WEIGHT = new float*[n_gpus];

    int prev_device = 0;
    CHECK_CUDA(hipGetDevice(&prev_device));

    for (int i = 0; i < n_gpus; i++) {
        CHECK_CUDA(hipSetDevice(gpus[i]));
        CHECK_CUDA(hipMalloc((void**)&TRANSITION_ALPHA[i], sizeof(Transition)*num_arcs));
        CHECK_CUDA(hipMalloc((void**)&TRANSITION_BETA[i], sizeof(Transition)*num_arcs));
        CHECK_CUDA(hipMalloc((void**)&TRANSITION_INDEX_ALPHA[i], sizeof(IntPair)*num_states));
        CHECK_CUDA(hipMalloc((void**)&TRANSITION_INDEX_BETA[i], sizeof(IntPair)*num_states));
        CHECK_CUDA(hipMalloc((void**)&START_WEIGHT[i], sizeof(float)*num_states));
        CHECK_CUDA(hipMalloc((void**)&END_WEIGHT[i], sizeof(float)*num_states));

        CHECK_CUDA(hipMemcpy(TRANSITION_ALPHA[i], transition_alpha.data(), sizeof(Transition)*num_arcs, hipMemcpyHostToDevice));
        CHECK_CUDA(hipMemcpy(TRANSITION_BETA[i], transition_beta.data(), sizeof(Transition)*num_arcs, hipMemcpyHostToDevice));
        CHECK_CUDA(hipMemcpy(TRANSITION_INDEX_ALPHA[i], transition_index_alpha.data(), sizeof(IntPair)*num_states, hipMemcpyHostToDevice));
        CHECK_CUDA(hipMemcpy(TRANSITION_INDEX_BETA[i], transition_index_beta.data(), sizeof(IntPair)*num_states, hipMemcpyHostToDevice));
        CHECK_CUDA(hipMemcpy(START_WEIGHT[i], start_weight.data(), sizeof(float)*num_states, hipMemcpyHostToDevice));
        CHECK_CUDA(hipMemcpy(END_WEIGHT[i], end_weight.data(), sizeof(float)*num_states, hipMemcpyHostToDevice));
    }
    CHECK_CUDA(hipSetDevice(prev_device));
}

void Release(int n_gpus, int *gpus) {
    int prev_device = 0;
    CHECK_CUDA(hipGetDevice(&prev_device));

    for (int i = 0; i < n_gpus; i++) {
        CHECK_CUDA(hipSetDevice(gpus[i]));

        CHECK_CUDA(hipFree(TRANSITION_ALPHA[i]));
        CHECK_CUDA(hipFree(TRANSITION_BETA[i]));
        CHECK_CUDA(hipFree(TRANSITION_INDEX_ALPHA[i]));
        CHECK_CUDA(hipFree(TRANSITION_INDEX_BETA[i]));
        CHECK_CUDA(hipFree(START_WEIGHT[i]));
        CHECK_CUDA(hipFree(END_WEIGHT[i]));
    }
    CHECK_CUDA(hipSetDevice(prev_device));
    delete[] TRANSITION_ALPHA;
    delete[] TRANSITION_BETA;
    delete[] TRANSITION_INDEX_ALPHA;
    delete[] TRANSITION_INDEX_BETA;
    delete[] START_WEIGHT;
    delete[] END_WEIGHT;

    TRANSITION_ALPHA = NULL;
    TRANSITION_BETA = NULL;
    TRANSITION_INDEX_ALPHA = NULL;
    TRANSITION_INDEX_BETA = NULL;
    START_WEIGHT = NULL;
    END_WEIGHT = NULL;

    delete[] DEVICE_HASH;
    DEVICE_HASH = NULL;
}

void compute_alpha(float *alpha,
                   float *logits,
                   const int batch_size,
                   int T,
                   const int alpha_size,
                   int logits_size,
                   int *input_lengths,
                   float * loglikelihood,
                   hipStream_t stream) {
    int device = 0;
    CHECK_CUDA(hipGetDevice(&device));
    int gid = DEVICE_HASH[device];

    int alpha_lld_dim = 128;
    alpha_first_kernel<<<batch_size, CU_BLOCK_DIM, 0, stream>>>(alpha, alpha_size, batch_size, T, START_WEIGHT[gid]);

    for (int t = 1; t <= T; t++) {
        alpha_kernel<<<batch_size, CU_BLOCK_DIM, 0, stream>>>(alpha, logits, batch_size, T, t, input_lengths, 
            alpha_size, logits_size, TRANSITION_INDEX_ALPHA[gid], TRANSITION_ALPHA[gid]);
    }

    alpha_last_kernel<<<batch_size, CU_BLOCK_DIM, 0, stream>>>(alpha, alpha_size, batch_size, T, input_lengths, END_WEIGHT[gid]);
    alpha_lld_kernal<<<batch_size, alpha_lld_dim, sizeof(float)*alpha_lld_dim, stream>>>(alpha, alpha_size, T, input_lengths, loglikelihood);
    // cudaDeviceSynchronize();
}

void compute_beta_and_grad(float *beta,
                           const float * const alpha,
                           const float * const logits,
                           const float * const alpha_lld,
                           float *grad_storage,
                           float *grad_net,
                           const int batch_size,
                           const int T,
                           const int beta_size,
                           const int logits_size,
                           const int * const input_lengths,
                           float * loglikelihood,
                           hipStream_t stream) {
    int device = 0;
    CHECK_CUDA(hipGetDevice(&device));
    int gid= DEVICE_HASH[device];
    // set grad_storage
    copy_grad<<<batch_size, CU_BLOCK_DIM, 0, stream>>>(grad_storage, grad_net, alpha_lld, input_lengths, batch_size, logits_size, T, 0);

    beta_last_kernel<<<batch_size, CU_BLOCK_DIM, 0, stream>>>(beta, beta_size, batch_size, input_lengths, END_WEIGHT[gid]);
    for (int t = T-1; t >= 0; t--) {
        beta_kernel<<<batch_size, CU_BLOCK_DIM, 0, stream>>>(beta, alpha, logits, grad_storage, batch_size, T, t, input_lengths, beta_size, logits_size,
            TRANSITION_INDEX_BETA[gid], TRANSITION_BETA[gid]);
        copy_grad<<<batch_size, CU_BLOCK_DIM, 0, stream>>>(grad_storage, grad_net, alpha_lld, input_lengths, batch_size, logits_size, T, t);
    }

    beta_first_kernel<<<batch_size, CU_BLOCK_DIM, 0, stream>>>(beta, beta_size, batch_size, START_WEIGHT[gid]);
    beta_lld_kernal<<<1, batch_size, 0, stream>>>(beta, beta_size, loglikelihood);
}
}

	.text
	.file	"den_calculate.hip"
	.globl	_Z33__device_stub__alpha_first_kernelPfiiiPKf # -- Begin function _Z33__device_stub__alpha_first_kernelPfiiiPKf
	.type	_Z33__device_stub__alpha_first_kernelPfiiiPKf,@function
_Z33__device_stub__alpha_first_kernelPfiiiPKf: # @_Z33__device_stub__alpha_first_kernelPfiiiPKf
	.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	$128, %rsp
	.cfi_def_cfa_offset 176
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	12(%rsp), %rdi
	movl	%esi, (%rdi)
	leaq	8(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	4(%rsp), %rdx
	movl	%ecx, (%rdx)
	leaq	32(%rsp), %rcx
	movq	%r8, (%rcx)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z18alpha_first_kernelPfiiiPKf, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$144, %rsp
	.cfi_adjust_cfa_offset -144
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end0:
	.size	_Z33__device_stub__alpha_first_kernelPfiiiPKf, .Lfunc_end0-_Z33__device_stub__alpha_first_kernelPfiiiPKf
	.cfi_endproc
                                        # -- End function
	.globl	_Z27__device_stub__alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition # -- Begin function _Z27__device_stub__alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition
	.type	_Z27__device_stub__alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition,@function
_Z27__device_stub__alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition: # @_Z27__device_stub__alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$176, %rsp
	.cfi_def_cfa_offset 224
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	56(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	48(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	20(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	16(%rsp), %rdx
	movl	%ecx, (%rdx)
	leaq	12(%rsp), %rcx
	movl	%r8d, (%rcx)
	leaq	40(%rsp), %r8
	movq	%r9, (%r8)
	leaq	96(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	movq	%r8, 40(%rbx)
	leaq	224(%rsp), %rax
	movq	%rax, 48(%rbx)
	leaq	232(%rsp), %rax
	movq	%rax, 56(%rbx)
	leaq	240(%rsp), %rax
	movq	%rax, 64(%rbx)
	leaq	248(%rsp), %rax
	movq	%rax, 72(%rbx)
	leaq	80(%rsp), %r14
	leaq	64(%rsp), %r15
	leaq	32(%rsp), %r12
	leaq	24(%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	$_Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$192, %rsp
	.cfi_adjust_cfa_offset -192
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end1:
	.size	_Z27__device_stub__alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition, .Lfunc_end1-_Z27__device_stub__alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition
	.cfi_endproc
                                        # -- End function
	.globl	_Z32__device_stub__alpha_last_kernelPfiiiPKiPKf # -- Begin function _Z32__device_stub__alpha_last_kernelPfiiiPKiPKf
	.type	_Z32__device_stub__alpha_last_kernelPfiiiPKiPKf,@function
_Z32__device_stub__alpha_last_kernelPfiiiPKiPKf: # @_Z32__device_stub__alpha_last_kernelPfiiiPKiPKf
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$144, %rsp
	.cfi_def_cfa_offset 192
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	56(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	20(%rsp), %rdi
	movl	%esi, (%rdi)
	leaq	16(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	12(%rsp), %rdx
	movl	%ecx, (%rdx)
	leaq	48(%rsp), %rcx
	movq	%r8, (%rcx)
	leaq	40(%rsp), %r8
	movq	%r9, (%r8)
	leaq	96(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	movq	%r8, 40(%rbx)
	leaq	80(%rsp), %r14
	leaq	64(%rsp), %r15
	leaq	32(%rsp), %r12
	leaq	24(%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	$_Z17alpha_last_kernelPfiiiPKiPKf, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$160, %rsp
	.cfi_adjust_cfa_offset -160
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end2:
	.size	_Z32__device_stub__alpha_last_kernelPfiiiPKiPKf, .Lfunc_end2-_Z32__device_stub__alpha_last_kernelPfiiiPKiPKf
	.cfi_endproc
                                        # -- End function
	.globl	_Z31__device_stub__alpha_lld_kernalPKfiiPKiPf # -- Begin function _Z31__device_stub__alpha_lld_kernalPKfiiPKiPf
	.type	_Z31__device_stub__alpha_lld_kernalPKfiiPKiPf,@function
_Z31__device_stub__alpha_lld_kernalPKfiiPKiPf: # @_Z31__device_stub__alpha_lld_kernalPKfiiPKiPf
	.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	$128, %rsp
	.cfi_def_cfa_offset 176
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	4(%rsp), %rdi
	movl	%esi, (%rdi)
	movq	%rsp, %rsi
	movl	%edx, (%rsi)
	leaq	32(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	24(%rsp), %rcx
	movq	%r8, (%rcx)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	16(%rsp), %r12
	leaq	8(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z16alpha_lld_kernalPKfiiPKiPf, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$144, %rsp
	.cfi_adjust_cfa_offset -144
	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_end3:
	.size	_Z31__device_stub__alpha_lld_kernalPKfiiPKiPf, .Lfunc_end3-_Z31__device_stub__alpha_lld_kernalPKfiiPKiPf
	.cfi_endproc
                                        # -- End function
	.globl	_Z31__device_stub__beta_last_kernelPfiiPKiPKf # -- Begin function _Z31__device_stub__beta_last_kernelPfiiPKiPKf
	.type	_Z31__device_stub__beta_last_kernelPfiiPKiPKf,@function
_Z31__device_stub__beta_last_kernelPfiiPKiPKf: # @_Z31__device_stub__beta_last_kernelPfiiPKiPKf
	.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	$128, %rsp
	.cfi_def_cfa_offset 176
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	4(%rsp), %rdi
	movl	%esi, (%rdi)
	movq	%rsp, %rsi
	movl	%edx, (%rsi)
	leaq	32(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	24(%rsp), %rcx
	movq	%r8, (%rcx)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	16(%rsp), %r12
	leaq	8(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z16beta_last_kernelPfiiPKiPKf, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$144, %rsp
	.cfi_adjust_cfa_offset -144
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end4:
	.size	_Z31__device_stub__beta_last_kernelPfiiPKiPKf, .Lfunc_end4-_Z31__device_stub__beta_last_kernelPfiiPKiPKf
	.cfi_endproc
                                        # -- End function
	.globl	_Z32__device_stub__beta_first_kernelPfiiPKf # -- Begin function _Z32__device_stub__beta_first_kernelPfiiPKf
	.type	_Z32__device_stub__beta_first_kernelPfiiPKf,@function
_Z32__device_stub__beta_first_kernelPfiiPKf: # @_Z32__device_stub__beta_first_kernelPfiiPKf
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	12(%rsp), %rdi
	movl	%esi, (%rdi)
	leaq	8(%rsp), %rsi
	movl	%edx, (%rsi)
	leaq	32(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z17beta_first_kernelPfiiPKf, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end5:
	.size	_Z32__device_stub__beta_first_kernelPfiiPKf, .Lfunc_end5-_Z32__device_stub__beta_first_kernelPfiiPKf
	.cfi_endproc
                                        # -- End function
	.globl	_Z26__device_stub__beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition # -- Begin function _Z26__device_stub__beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition
	.type	_Z26__device_stub__beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition,@function
_Z26__device_stub__beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition: # @_Z26__device_stub__beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$192, %rsp
	.cfi_def_cfa_offset 240
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	56(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	48(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	40(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	32(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	12(%rsp), %rcx
	movl	%r8d, (%rcx)
	leaq	8(%rsp), %r8
	movl	%r9d, (%r8)
	leaq	96(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	movq	%r8, 40(%rbx)
	leaq	240(%rsp), %rax
	movq	%rax, 48(%rbx)
	leaq	248(%rsp), %rax
	movq	%rax, 56(%rbx)
	leaq	256(%rsp), %rax
	movq	%rax, 64(%rbx)
	leaq	264(%rsp), %rax
	movq	%rax, 72(%rbx)
	leaq	272(%rsp), %rax
	movq	%rax, 80(%rbx)
	leaq	280(%rsp), %rax
	movq	%rax, 88(%rbx)
	leaq	80(%rsp), %r14
	leaq	64(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$208, %rsp
	.cfi_adjust_cfa_offset -208
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end6:
	.size	_Z26__device_stub__beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition, .Lfunc_end6-_Z26__device_stub__beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition
	.cfi_endproc
                                        # -- End function
	.globl	_Z24__device_stub__copy_gradPfS_PKfPKiiiii # -- Begin function _Z24__device_stub__copy_gradPfS_PKfPKiiiii
	.type	_Z24__device_stub__copy_gradPfS_PKfPKiiiii,@function
_Z24__device_stub__copy_gradPfS_PKfPKiiiii: # @_Z24__device_stub__copy_gradPfS_PKfPKiiiii
	.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	$160, %rsp
	.cfi_def_cfa_offset 208
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	56(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	48(%rsp), %rdi
	movq	%rsi, (%rdi)
	leaq	40(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	32(%rsp), %rdx
	movq	%rcx, (%rdx)
	leaq	12(%rsp), %rcx
	movl	%r8d, (%rcx)
	leaq	8(%rsp), %r8
	movl	%r9d, (%r8)
	leaq	96(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rdi, 8(%rbx)
	movq	%rsi, 16(%rbx)
	movq	%rdx, 24(%rbx)
	movq	%rcx, 32(%rbx)
	movq	%r8, 40(%rbx)
	leaq	208(%rsp), %rax
	movq	%rax, 48(%rbx)
	leaq	216(%rsp), %rax
	movq	%rax, 56(%rbx)
	leaq	80(%rsp), %r14
	leaq	64(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z9copy_gradPfS_PKfPKiiiii, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$176, %rsp
	.cfi_adjust_cfa_offset -176
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end7:
	.size	_Z24__device_stub__copy_gradPfS_PKfPKiiiii, .Lfunc_end7-_Z24__device_stub__copy_gradPfS_PKfPKiiiii
	.cfi_endproc
                                        # -- End function
	.globl	_Z30__device_stub__beta_lld_kernalPKfiPf # -- Begin function _Z30__device_stub__beta_lld_kernalPKfiPf
	.type	_Z30__device_stub__beta_lld_kernalPKfiPf,@function
_Z30__device_stub__beta_lld_kernalPKfiPf: # @_Z30__device_stub__beta_lld_kernalPKfiPf
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%r13
	.cfi_def_cfa_offset 32
	pushq	%r12
	.cfi_def_cfa_offset 40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r13, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	leaq	40(%rsp), %rax
	movq	%rdi, (%rax)
	leaq	12(%rsp), %rcx
	movl	%esi, (%rcx)
	leaq	32(%rsp), %rsi
	movq	%rdx, (%rsi)
	leaq	80(%rsp), %rbx
	movq	%rax, (%rbx)
	movq	%rcx, 8(%rbx)
	movq	%rsi, 16(%rbx)
	leaq	64(%rsp), %r14
	leaq	48(%rsp), %r15
	leaq	24(%rsp), %r12
	leaq	16(%rsp), %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	__hipPopCallConfiguration
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	movq	(%r15), %rcx
	movl	8(%r15), %r8d
	movl	$_Z15beta_lld_kernalPKfiPf, %edi
	movq	%rbx, %r9
	pushq	(%r13)
	.cfi_adjust_cfa_offset 8
	pushq	(%r12)
	.cfi_adjust_cfa_offset 8
	callq	hipLaunchKernel
	addq	$128, %rsp
	.cfi_adjust_cfa_offset -128
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end8:
	.size	_Z30__device_stub__beta_lld_kernalPKfiPf, .Lfunc_end8-_Z30__device_stub__beta_lld_kernalPKfiPf
	.cfi_endproc
                                        # -- End function
	.globl	Init                            # -- Begin function Init
	.type	Init,@function
Init:                                   # @Init
.Lfunc_begin0:
	.cfi_startproc
	.cfi_personality 3, __gxx_personality_v0
	.cfi_lsda 3, .Lexception0
# %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	pushq	%r15
	.cfi_def_cfa_offset 24
	pushq	%r14
	.cfi_def_cfa_offset 32
	pushq	%r13
	.cfi_def_cfa_offset 40
	pushq	%r12
	.cfi_def_cfa_offset 48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	subq	$376, %rsp                      # imm = 0x178
	.cfi_def_cfa_offset 432
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rdx, %rbx
	movl	%esi, 16(%rsp)                  # 4-byte Spill
	xorps	%xmm0, %xmm0
	leaq	352(%rsp), %rsi
	movaps	%xmm0, (%rsi)
	xorl	%eax, %eax
	movq	%rax, 16(%rsi)
	leaq	320(%rsp), %rdx
	movq	%rax, 16(%rdx)
	movaps	%xmm0, (%rdx)
	leaq	288(%rsp), %rcx
	movq	%rax, 16(%rcx)
	movaps	%xmm0, (%rcx)
	leaq	256(%rsp), %r8
	movq	%rax, 16(%r8)
	movaps	%xmm0, (%r8)
	leaq	224(%rsp), %r9
	movq	%rax, 16(%r9)
	movaps	%xmm0, (%r9)
	leaq	192(%rsp), %r10
	movq	%rax, 16(%r10)
	movaps	%xmm0, (%r10)
	leaq	160(%rsp), %r11
	movq	%rax, 16(%r11)
	movaps	%xmm0, (%r11)
	leaq	128(%rsp), %r14
	movq	%rax, 16(%r14)
	movaps	%xmm0, (%r14)
	leaq	8(%rsp), %r15
	movl	%eax, (%r15)
	leaq	12(%rsp), %r12
	movl	%eax, (%r12)
.Ltmp0:
	.cfi_escape 0x2e, 0x30
	subq	$8, %rsp
	.cfi_adjust_cfa_offset 8
	pushq	%r12
	.cfi_adjust_cfa_offset 8
	pushq	%r15
	.cfi_adjust_cfa_offset 8
	pushq	%r14
	.cfi_adjust_cfa_offset 8
	pushq	%r11
	.cfi_adjust_cfa_offset 8
	pushq	%r10
	.cfi_adjust_cfa_offset 8
	callq	_Z7ReadFstPKcRSt6vectorIS1_IiSaIiEESaIS3_EES6_S6_S6_RS1_IS1_IfSaIfEESaIS8_EESB_RS8_SC_RiSD_
	addq	$48, %rsp
	.cfi_adjust_cfa_offset -48
.Ltmp1:
# %bb.1:
	movslq	12(%rsp), %rsi
	movl	%esi, DEN_NUM_ARCS(%rip)
	movl	8(%rsp), %eax
	movl	%eax, DEN_NUM_STATES(%rip)
.Ltmp3:
	.cfi_escape 0x2e, 0x00
	leaq	104(%rsp), %rdi
	leaq	80(%rsp), %rdx
	callq	_ZNSt6vectorI10TransitionSaIS0_EEC2EmRKS1_
.Ltmp4:
# %bb.2:
	movslq	12(%rsp), %rsi
.Ltmp6:
	.cfi_escape 0x2e, 0x00
	leaq	80(%rsp), %rdi
	leaq	56(%rsp), %rdx
	callq	_ZNSt6vectorI10TransitionSaIS0_EEC2EmRKS1_
.Ltmp7:
# %bb.3:
	movslq	8(%rsp), %rsi
.Ltmp9:
	.cfi_escape 0x2e, 0x00
	leaq	56(%rsp), %rdi
	leaq	32(%rsp), %rdx
	callq	_ZNSt6vectorI7IntPairSaIS0_EEC2EmRKS1_
.Ltmp10:
# %bb.4:
	movslq	8(%rsp), %rsi
.Ltmp12:
	.cfi_escape 0x2e, 0x00
	leaq	32(%rsp), %rdi
	leaq	20(%rsp), %rdx
	callq	_ZNSt6vectorI7IntPairSaIS0_EEC2EmRKS1_
.Ltmp13:
# %bb.5:
	movl	8(%rsp), %r10d
	testl	%r10d, %r10d
	jle	.LBB9_13
# %bb.6:                                # %.lr.ph454
	movq	352(%rsp), %rcx
	movq	56(%rsp), %rdx
	movq	104(%rsp), %rsi
	movq	288(%rsp), %rax
	movq	%rax, 24(%rsp)                  # 8-byte Spill
	movq	224(%rsp), %r8
	addq	$8, %rsi
	xorl	%r9d, %r9d
	xorl	%eax, %eax
.LBB9_7:                                # =>This Loop Header: Depth=1
                                        #     Child Loop BB9_9 Depth 2
	leaq	(%r9,%r9,2), %r11
	movq	(%rcx,%r11,8), %r10
	movq	8(%rcx,%r11,8), %r12
	cmpq	%r12, %r10
	je	.LBB9_11
# %bb.8:                                # %.lr.ph
                                        #   in Loop: Header=BB9_7 Depth=1
	leaq	(,%r9,8), %r11
	movl	%eax, (%rdx,%r9,8)
	subq	%r10, %r12
	sarq	$2, %r12
	leaq	(%r11,%r11,2), %r14
	movq	24(%rsp), %rdi                  # 8-byte Reload
	movq	(%rdi,%r14), %r11
	movq	(%r8,%r14), %r14
	movslq	%eax, %r13
	cmpq	$1, %r12
	movl	$0, %r15d
	sbbq	%r12, %r15
	leaq	(,%r13,2), %r12
	addq	%r13, %r12
	leaq	(%rsi,%r12,4), %r13
	xorl	%r12d, %r12d
	xorl	%ebp, %ebp
.LBB9_9:                                #   Parent Loop BB9_7 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movl	(%r10,%rbp), %edi
	movl	%edi, (%r13)
	movl	(%r11,%rbp), %edi
	movl	%edi, -4(%r13)
	movss	(%r14,%rbp), %xmm0              # xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -8(%r13)
	addq	$4, %rbp
	decq	%r12
	addq	$12, %r13
	cmpq	%r12, %r15
	jne	.LBB9_9
# %bb.10:                               # %._crit_edge
                                        #   in Loop: Header=BB9_7 Depth=1
	subl	%r12d, %eax
	leal	-1(%rax), %r10d
	jmp	.LBB9_12
.LBB9_11:                               #   in Loop: Header=BB9_7 Depth=1
	movl	$1, (%rdx,%r9,8)
	xorl	%r10d, %r10d
.LBB9_12:                               #   in Loop: Header=BB9_7 Depth=1
	movl	%r10d, 4(%rdx,%r9,8)
	incq	%r9
	movslq	8(%rsp), %r10
	cmpq	%r10, %r9
	jl	.LBB9_7
	jmp	.LBB9_14
.LBB9_13:
	xorl	%eax, %eax
.LBB9_14:                               # %._crit_edge455
	cmpl	12(%rsp), %eax
	jne	.LBB9_114
# %bb.15:                               # %.preheader280
	testl	%r10d, %r10d
	jle	.LBB9_24
# %bb.16:                               # %.lr.ph465
	movq	320(%rsp), %rax
	movq	32(%rsp), %rdx
	movq	80(%rsp), %rsi
	movq	256(%rsp), %rcx
	movq	%rcx, 24(%rsp)                  # 8-byte Spill
	movq	192(%rsp), %r8
	addq	$8, %rsi
	xorl	%r9d, %r9d
	xorl	%ecx, %ecx
.LBB9_17:                               # =>This Loop Header: Depth=1
                                        #     Child Loop BB9_19 Depth 2
	leaq	(%r9,%r9,2), %r11
	movq	(%rax,%r11,8), %r10
	movq	8(%rax,%r11,8), %r12
	cmpq	%r12, %r10
	je	.LBB9_21
# %bb.18:                               # %.lr.ph460
                                        #   in Loop: Header=BB9_17 Depth=1
	leaq	(,%r9,8), %r11
	movl	%ecx, (%rdx,%r9,8)
	subq	%r10, %r12
	sarq	$2, %r12
	leaq	(%r11,%r11,2), %r14
	movq	24(%rsp), %rdi                  # 8-byte Reload
	movq	(%rdi,%r14), %r11
	movq	(%r8,%r14), %r14
	movslq	%ecx, %r13
	cmpq	$1, %r12
	movl	$0, %r15d
	sbbq	%r12, %r15
	leaq	(,%r13,2), %r12
	addq	%r13, %r12
	leaq	(%rsi,%r12,4), %r13
	xorl	%r12d, %r12d
	xorl	%ebp, %ebp
.LBB9_19:                               #   Parent Loop BB9_17 Depth=1
                                        # =>  This Inner Loop Header: Depth=2
	movl	(%r10,%rbp), %edi
	movl	%edi, (%r13)
	movl	(%r11,%rbp), %edi
	movl	%edi, -4(%r13)
	movss	(%r14,%rbp), %xmm0              # xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -8(%r13)
	addq	$4, %rbp
	decq	%r12
	addq	$12, %r13
	cmpq	%r12, %r15
	jne	.LBB9_19
# %bb.20:                               # %._crit_edge461
                                        #   in Loop: Header=BB9_17 Depth=1
	subl	%r12d, %ecx
	leal	-1(%rcx), %r10d
	jmp	.LBB9_22
.LBB9_21:                               #   in Loop: Header=BB9_17 Depth=1
	movl	$1, (%rdx,%r9,8)
	xorl	%r10d, %r10d
.LBB9_22:                               #   in Loop: Header=BB9_17 Depth=1
	movl	%r10d, 4(%rdx,%r9,8)
	incq	%r9
	movslq	8(%rsp), %rdi
	cmpq	%rdi, %r9
	jl	.LBB9_17
# %bb.23:                               # %._crit_edge466.loopexit
	movl	12(%rsp), %eax
	jmp	.LBB9_25
.LBB9_24:
	xorl	%ecx, %ecx
.LBB9_25:                               # %._crit_edge466
	cmpl	%eax, %ecx
	jne	.LBB9_114
# %bb.26:                               # %.preheader279
	movl	16(%rsp), %eax                  # 4-byte Reload
	movl	%eax, %r12d
	testl	%eax, %eax
	jle	.LBB9_29
# %bb.27:                               # %.lr.ph470.preheader
	xorl	%ecx, %ecx
	xorl	%eax, %eax
.LBB9_28:                               # %.lr.ph470
                                        # =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rcx,4), %edx
	cmpl	%eax, %edx
	cmovgl	%edx, %eax
	incq	%rcx
	cmpq	%rcx, %r12
	jne	.LBB9_28
	jmp	.LBB9_30
.LBB9_29:
	xorl	%eax, %eax
.LBB9_30:                               # %._crit_edge471
	cltq
	leaq	4(,%rax,4), %r15
.Ltmp15:
	.cfi_escape 0x2e, 0x00
	movq	%r15, %rdi
	callq	_Znam
.Ltmp16:
# %bb.31:
	movq	%rax, %r14
	movq	%rax, DEVICE_HASH(%rip)
	.cfi_escape 0x2e, 0x00
	movq	%rax, %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	memset@PLT
	cmpl	$0, 16(%rsp)                    # 4-byte Folded Reload
	jle	.LBB9_34
# %bb.32:                               # %.lr.ph475.preheader
	xorl	%eax, %eax
.LBB9_33:                               # %.lr.ph475
                                        # =>This Inner Loop Header: Depth=1
	movslq	(%rbx,%rax,4), %rcx
	movl	%eax, (%r14,%rcx,4)
	incq	%rax
	cmpq	%rax, %r12
	jne	.LBB9_33
.LBB9_34:                               # %._crit_edge476
	shlq	$3, %r12
	cmpl	$0, 16(%rsp)                    # 4-byte Folded Reload
	movq	$-1, %r14
	cmovnsq	%r12, %r14
.Ltmp17:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	callq	_Znam
.Ltmp18:
# %bb.35:
	movq	%rax, TRANSITION_ALPHA(%rip)
.Ltmp19:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	callq	_Znam
.Ltmp20:
# %bb.36:
	movq	%rax, TRANSITION_BETA(%rip)
.Ltmp21:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	callq	_Znam
.Ltmp22:
# %bb.37:
	movq	%rax, TRANSITION_INDEX_ALPHA(%rip)
.Ltmp23:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	callq	_Znam
.Ltmp24:
# %bb.38:
	movq	%rax, TRANSITION_INDEX_BETA(%rip)
.Ltmp25:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	callq	_Znam
.Ltmp26:
# %bb.39:
	movq	%rax, START_WEIGHT(%rip)
.Ltmp27:
	.cfi_escape 0x2e, 0x00
	movq	%r14, %rdi
	callq	_Znam
.Ltmp28:
# %bb.40:
	movq	%rax, END_WEIGHT(%rip)
	leaq	20(%rsp), %rdi
	movl	$0, (%rdi)
.Ltmp30:
	.cfi_escape 0x2e, 0x00
	callq	hipGetDevice
.Ltmp31:
# %bb.41:
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	.LBB9_115
# %bb.42:                               # %.preheader
	cmpl	$0, 16(%rsp)                    # 4-byte Folded Reload
	jle	.LBB9_71
# %bb.43:                               # %.lr.ph478.preheader
	xorl	%r14d, %r14d
.LBB9_44:                               # %.lr.ph478
                                        # =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
.Ltmp35:
	.cfi_escape 0x2e, 0x00
	callq	hipSetDevice
.Ltmp36:
# %bb.45:                               #   in Loop: Header=BB9_44 Depth=1
	movl	%eax, %ebp
	testl	%eax, %eax
	jne	.LBB9_100
# %bb.46:                               #   in Loop: Header=BB9_44 Depth=1
	movq	TRANSITION_ALPHA(%rip), %rdi
	addq	%r14, %rdi
	movslq	12(%rsp), %rax
	shlq	$2, %rax
	leaq	(%rax,%rax,2), %rsi
.Ltmp41:
	.cfi_escape 0x2e, 0x00
	callq	hipMalloc
.Ltmp42:
# %bb.47:                               #   in Loop: Header=BB9_44 Depth=1
	movl	%eax, %ebp
	testl	%eax, %eax
	jne	.LBB9_98
# %bb.48:                               #   in Loop: Header=BB9_44 Depth=1
	movq	TRANSITION_BETA(%rip), %rdi
	addq	%r14, %rdi
	movslq	12(%rsp), %rax
	shlq	$2, %rax
	leaq	(%rax,%rax,2), %rsi
.Ltmp47:
	.cfi_escape 0x2e, 0x00
	callq	hipMalloc
.Ltmp48:
# %bb.49:                               #   in Loop: Header=BB9_44 Depth=1
	movl	%eax, %ebp
	testl	%eax, %eax
	jne	.LBB9_96
# %bb.50:                               #   in Loop: Header=BB9_44 Depth=1
	movq	TRANSITION_INDEX_ALPHA(%rip), %rdi
	addq	%r14, %rdi
	movslq	8(%rsp), %rsi
	shlq	$3, %rsi
.Ltmp53:
	.cfi_escape 0x2e, 0x00
	callq	hipMalloc
.Ltmp54:
# %bb.51:                               #   in Loop: Header=BB9_44 Depth=1
	movl	%eax, %ebp
	testl	%eax, %eax
	jne	.LBB9_94
# %bb.52:                               #   in Loop: Header=BB9_44 Depth=1
	movq	TRANSITION_INDEX_BETA(%rip), %rdi
	addq	%r14, %rdi
	movslq	8(%rsp), %rsi
	shlq	$3, %rsi
.Ltmp59:
	.cfi_escape 0x2e, 0x00
	callq	hipMalloc
.Ltmp60:
# %bb.53:                               #   in Loop: Header=BB9_44 Depth=1
	movl	%eax, %ebp
	testl	%eax, %eax
	jne	.LBB9_92
# %bb.54:                               #   in Loop: Header=BB9_44 Depth=1
	movq	START_WEIGHT(%rip), %rdi
	addq	%r14, %rdi
	movslq	8(%rsp), %rsi
	shlq	$2, %rsi
.Ltmp65:
	.cfi_escape 0x2e, 0x00
	callq	hipMalloc
.Ltmp66:
# %bb.55:                               #   in Loop: Header=BB9_44 Depth=1
	movl	%eax, %ebp
	testl	%eax, %eax
	jne	.LBB9_90
# %bb.56:                               #   in Loop: Header=BB9_44 Depth=1
	movq	END_WEIGHT(%rip), %rdi
	addq	%r14, %rdi
	movslq	8(%rsp), %rsi
	shlq	$2, %rsi
.Ltmp71:
	.cfi_escape 0x2e, 0x00
	callq	hipMalloc
.Ltmp72:
# %bb.57:                               #   in Loop: Header=BB9_44 Depth=1
	movl	%eax, %ebp
	testl	%eax, %eax
	jne	.LBB9_88
# %bb.58:                               #   in Loop: Header=BB9_44 Depth=1
	movq	TRANSITION_ALPHA(%rip), %rax
	movq	(%rax,%r14), %rdi
	movq	104(%rsp), %rsi
	movslq	12(%rsp), %rax
	shlq	$2, %rax
	leaq	(%rax,%rax,2), %rdx
.Ltmp77:
	.cfi_escape 0x2e, 0x00
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp78:
# %bb.59:                               #   in Loop: Header=BB9_44 Depth=1
	movl	%eax, %ebp
	testl	%eax, %eax
	jne	.LBB9_86
# %bb.60:                               #   in Loop: Header=BB9_44 Depth=1
	movq	TRANSITION_BETA(%rip), %rax
	movq	(%rax,%r14), %rdi
	movq	80(%rsp), %rsi
	movslq	12(%rsp), %rax
	shlq	$2, %rax
	leaq	(%rax,%rax,2), %rdx
.Ltmp83:
	.cfi_escape 0x2e, 0x00
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp84:
# %bb.61:                               #   in Loop: Header=BB9_44 Depth=1
	movl	%eax, %ebp
	testl	%eax, %eax
	jne	.LBB9_110
# %bb.62:                               #   in Loop: Header=BB9_44 Depth=1
	movq	TRANSITION_INDEX_ALPHA(%rip), %rax
	movq	(%rax,%r14), %rdi
	movq	56(%rsp), %rsi
	movslq	8(%rsp), %rdx
	shlq	$3, %rdx
.Ltmp89:
	.cfi_escape 0x2e, 0x00
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp90:
# %bb.63:                               #   in Loop: Header=BB9_44 Depth=1
	movl	%eax, %ebp
	testl	%eax, %eax
	jne	.LBB9_108
# %bb.64:                               #   in Loop: Header=BB9_44 Depth=1
	movq	TRANSITION_INDEX_BETA(%rip), %rax
	movq	(%rax,%r14), %rdi
	movq	32(%rsp), %rsi
	movslq	8(%rsp), %rdx
	shlq	$3, %rdx
.Ltmp95:
	.cfi_escape 0x2e, 0x00
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp96:
# %bb.65:                               #   in Loop: Header=BB9_44 Depth=1
	movl	%eax, %ebp
	testl	%eax, %eax
	jne	.LBB9_106
# %bb.66:                               #   in Loop: Header=BB9_44 Depth=1
	movq	START_WEIGHT(%rip), %rax
	movq	(%rax,%r14), %rdi
	movq	160(%rsp), %rsi
	movslq	8(%rsp), %rdx
	shlq	$2, %rdx
.Ltmp101:
	.cfi_escape 0x2e, 0x00
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp102:
# %bb.67:                               #   in Loop: Header=BB9_44 Depth=1
	movl	%eax, %ebp
	testl	%eax, %eax
	jne	.LBB9_104
# %bb.68:                               #   in Loop: Header=BB9_44 Depth=1
	movq	END_WEIGHT(%rip), %rax
	movq	(%rax,%r14), %rdi
	movq	128(%rsp), %rsi
	movslq	8(%rsp), %rdx
	shlq	$2, %rdx
.Ltmp107:
	.cfi_escape 0x2e, 0x00
	movl	$1, %ecx
	callq	hipMemcpy
.Ltmp108:
# %bb.69:                               #   in Loop: Header=BB9_44 Depth=1
	movl	%eax, %ebp
	testl	%eax, %eax
	jne	.LBB9_102
# %bb.70:                               #   in Loop: Header=BB9_44 Depth=1
	addq	$8, %r14
	addq	$4, %rbx
	cmpq	%r14, %r12
	jne	.LBB9_44
.LBB9_71:                               # %._crit_edge479
	movl	20(%rsp), %edi
.Ltmp113:
	.cfi_escape 0x2e, 0x00
	callq	hipSetDevice
.Ltmp114:
# %bb.72:
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	.LBB9_117
# %bb.73:
	movq	32(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_75
# %bb.74:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB9_75:                               # %_ZNSt6vectorI7IntPairSaIS0_EED2Ev.exit
	movq	56(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_77
# %bb.76:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB9_77:                               # %_ZNSt6vectorI7IntPairSaIS0_EED2Ev.exit200
	movq	80(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_79
# %bb.78:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB9_79:                               # %_ZNSt6vectorI10TransitionSaIS0_EED2Ev.exit
	movq	104(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_81
# %bb.80:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB9_81:                               # %_ZNSt6vectorI10TransitionSaIS0_EED2Ev.exit203
	movq	128(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_83
# %bb.82:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB9_83:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit
	movq	160(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_85
# %bb.84:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB9_85:                               # %_ZNSt6vectorIfSaIfEED2Ev.exit206
	.cfi_escape 0x2e, 0x00
	leaq	192(%rsp), %rdi
	callq	_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev
	.cfi_escape 0x2e, 0x00
	leaq	224(%rsp), %rdi
	callq	_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev
	.cfi_escape 0x2e, 0x00
	leaq	256(%rsp), %rdi
	callq	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.cfi_escape 0x2e, 0x00
	leaq	288(%rsp), %rdi
	callq	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.cfi_escape 0x2e, 0x00
	leaq	320(%rsp), %rdi
	callq	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.cfi_escape 0x2e, 0x00
	leaq	352(%rsp), %rdi
	callq	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	addq	$376, %rsp                      # imm = 0x178
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB9_86:
	.cfi_def_cfa_offset 432
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$386, %edx                      # imm = 0x182
	xorl	%eax, %eax
	callq	printf
.Ltmp80:
	.cfi_escape 0x2e, 0x00
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp81:
# %bb.87:
	.cfi_escape 0x2e, 0x00
	jmp	.LBB9_112
.LBB9_88:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$384, %edx                      # imm = 0x180
	xorl	%eax, %eax
	callq	printf
.Ltmp74:
	.cfi_escape 0x2e, 0x00
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp75:
# %bb.89:
	.cfi_escape 0x2e, 0x00
	jmp	.LBB9_112
.LBB9_90:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$383, %edx                      # imm = 0x17F
	xorl	%eax, %eax
	callq	printf
.Ltmp68:
	.cfi_escape 0x2e, 0x00
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp69:
# %bb.91:
	.cfi_escape 0x2e, 0x00
	jmp	.LBB9_112
.LBB9_92:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$382, %edx                      # imm = 0x17E
	xorl	%eax, %eax
	callq	printf
.Ltmp62:
	.cfi_escape 0x2e, 0x00
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp63:
# %bb.93:
	.cfi_escape 0x2e, 0x00
	jmp	.LBB9_112
.LBB9_94:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$381, %edx                      # imm = 0x17D
	xorl	%eax, %eax
	callq	printf
.Ltmp56:
	.cfi_escape 0x2e, 0x00
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp57:
# %bb.95:
	.cfi_escape 0x2e, 0x00
	jmp	.LBB9_112
.LBB9_96:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$380, %edx                      # imm = 0x17C
	xorl	%eax, %eax
	callq	printf
.Ltmp50:
	.cfi_escape 0x2e, 0x00
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp51:
# %bb.97:
	.cfi_escape 0x2e, 0x00
	jmp	.LBB9_112
.LBB9_98:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$379, %edx                      # imm = 0x17B
	xorl	%eax, %eax
	callq	printf
.Ltmp44:
	.cfi_escape 0x2e, 0x00
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp45:
# %bb.99:
	.cfi_escape 0x2e, 0x00
	jmp	.LBB9_112
.LBB9_100:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$378, %edx                      # imm = 0x17A
	xorl	%eax, %eax
	callq	printf
.Ltmp38:
	.cfi_escape 0x2e, 0x00
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp39:
# %bb.101:
	.cfi_escape 0x2e, 0x00
	jmp	.LBB9_112
.LBB9_102:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$391, %edx                      # imm = 0x187
	xorl	%eax, %eax
	callq	printf
.Ltmp110:
	.cfi_escape 0x2e, 0x00
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp111:
# %bb.103:
	.cfi_escape 0x2e, 0x00
	jmp	.LBB9_112
.LBB9_104:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$390, %edx                      # imm = 0x186
	xorl	%eax, %eax
	callq	printf
.Ltmp104:
	.cfi_escape 0x2e, 0x00
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp105:
# %bb.105:
	.cfi_escape 0x2e, 0x00
	jmp	.LBB9_112
.LBB9_106:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$389, %edx                      # imm = 0x185
	xorl	%eax, %eax
	callq	printf
.Ltmp98:
	.cfi_escape 0x2e, 0x00
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp99:
# %bb.107:
	.cfi_escape 0x2e, 0x00
	jmp	.LBB9_112
.LBB9_108:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$388, %edx                      # imm = 0x184
	xorl	%eax, %eax
	callq	printf
.Ltmp92:
	.cfi_escape 0x2e, 0x00
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp93:
# %bb.109:
	.cfi_escape 0x2e, 0x00
	jmp	.LBB9_112
.LBB9_110:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$387, %edx                      # imm = 0x183
	xorl	%eax, %eax
	callq	printf
.Ltmp86:
	.cfi_escape 0x2e, 0x00
	movl	%ebp, %edi
	callq	hipGetErrorString
.Ltmp87:
# %bb.111:
	.cfi_escape 0x2e, 0x00
.LBB9_112:
	movl	$.L.str.3, %edi
	movl	%ebp, %esi
.LBB9_113:
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	printf
	.cfi_escape 0x2e, 0x00
	movl	$1, %edi
	callq	exit
.LBB9_114:
	movq	stderr(%rip), %rcx
	.cfi_escape 0x2e, 0x00
	movl	$.L.str, %edi
	movl	$33, %esi
	movl	$1, %edx
	callq	fwrite@PLT
	.cfi_escape 0x2e, 0x00
	movl	$-1, %edi
	callq	exit
.LBB9_115:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$375, %edx                      # imm = 0x177
	xorl	%eax, %eax
	callq	printf
.Ltmp32:
	.cfi_escape 0x2e, 0x00
	movl	%r14d, %edi
	callq	hipGetErrorString
.Ltmp33:
# %bb.116:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.3, %edi
	movl	%r14d, %esi
	jmp	.LBB9_113
.LBB9_117:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$393, %edx                      # imm = 0x189
	xorl	%eax, %eax
	callq	printf
.Ltmp115:
	.cfi_escape 0x2e, 0x00
	movl	%ebx, %edi
	callq	hipGetErrorString
.Ltmp116:
# %bb.118:
	.cfi_escape 0x2e, 0x00
	movl	$.L.str.3, %edi
	movl	%ebx, %esi
	jmp	.LBB9_113
.LBB9_119:
.Ltmp14:
	movq	%rax, %rbx
	jmp	.LBB9_156
.LBB9_120:
.Ltmp11:
	movq	%rax, %rbx
	jmp	.LBB9_158
.LBB9_121:
.Ltmp8:
	movq	%rax, %rbx
	jmp	.LBB9_160
.LBB9_122:
.Ltmp5:
	jmp	.LBB9_124
.LBB9_123:
.Ltmp2:
.LBB9_124:
	movq	%rax, %rbx
	jmp	.LBB9_162
.LBB9_125:
.Ltmp117:
	jmp	.LBB9_154
.LBB9_126:
.Ltmp34:
	jmp	.LBB9_154
.LBB9_127:
.Ltmp29:
	jmp	.LBB9_154
.LBB9_128:                              # %.loopexit.split-lp255
.Ltmp88:
	jmp	.LBB9_154
.LBB9_129:                              # %.loopexit.split-lp260
.Ltmp94:
	jmp	.LBB9_154
.LBB9_130:                              # %.loopexit.split-lp265
.Ltmp100:
	jmp	.LBB9_154
.LBB9_131:                              # %.loopexit.split-lp270
.Ltmp106:
	jmp	.LBB9_154
.LBB9_132:                              # %.loopexit.split-lp275
.Ltmp112:
	jmp	.LBB9_154
.LBB9_133:                              # %.loopexit.split-lp
.Ltmp40:
	jmp	.LBB9_154
.LBB9_134:                              # %.loopexit.split-lp220
.Ltmp46:
	jmp	.LBB9_154
.LBB9_135:                              # %.loopexit.split-lp225
.Ltmp52:
	jmp	.LBB9_154
.LBB9_136:                              # %.loopexit.split-lp230
.Ltmp58:
	jmp	.LBB9_154
.LBB9_137:                              # %.loopexit.split-lp235
.Ltmp64:
	jmp	.LBB9_154
.LBB9_138:                              # %.loopexit.split-lp240
.Ltmp70:
	jmp	.LBB9_154
.LBB9_139:                              # %.loopexit.split-lp245
.Ltmp76:
	jmp	.LBB9_154
.LBB9_140:                              # %.loopexit.split-lp250
.Ltmp82:
	jmp	.LBB9_154
.LBB9_141:                              # %.loopexit259
.Ltmp91:
	jmp	.LBB9_154
.LBB9_142:                              # %.loopexit264
.Ltmp97:
	jmp	.LBB9_154
.LBB9_143:                              # %.loopexit269
.Ltmp103:
	jmp	.LBB9_154
.LBB9_144:                              # %.loopexit274
.Ltmp109:
	jmp	.LBB9_154
.LBB9_145:                              # %.loopexit
.Ltmp37:
	jmp	.LBB9_154
.LBB9_146:                              # %.loopexit219
.Ltmp43:
	jmp	.LBB9_154
.LBB9_147:                              # %.loopexit224
.Ltmp49:
	jmp	.LBB9_154
.LBB9_148:                              # %.loopexit229
.Ltmp55:
	jmp	.LBB9_154
.LBB9_149:                              # %.loopexit234
.Ltmp61:
	jmp	.LBB9_154
.LBB9_150:                              # %.loopexit239
.Ltmp67:
	jmp	.LBB9_154
.LBB9_151:                              # %.loopexit244
.Ltmp73:
	jmp	.LBB9_154
.LBB9_152:                              # %.loopexit249
.Ltmp79:
	jmp	.LBB9_154
.LBB9_153:                              # %.loopexit254
.Ltmp85:
.LBB9_154:
	movq	%rax, %rbx
	movq	32(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_156
# %bb.155:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB9_156:                              # %_ZNSt6vectorI7IntPairSaIS0_EED2Ev.exit208
	movq	56(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_158
# %bb.157:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB9_158:                              # %_ZNSt6vectorI7IntPairSaIS0_EED2Ev.exit210
	movq	80(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_160
# %bb.159:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB9_160:                              # %_ZNSt6vectorI10TransitionSaIS0_EED2Ev.exit212
	movq	104(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_162
# %bb.161:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB9_162:
	movq	128(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_164
# %bb.163:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB9_164:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit216
	movq	160(%rsp), %rdi
	testq	%rdi, %rdi
	je	.LBB9_166
# %bb.165:
	.cfi_escape 0x2e, 0x00
	callq	_ZdlPv
.LBB9_166:                              # %_ZNSt6vectorIfSaIfEED2Ev.exit218
	.cfi_escape 0x2e, 0x00
	leaq	192(%rsp), %rdi
	callq	_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev
	.cfi_escape 0x2e, 0x00
	leaq	224(%rsp), %rdi
	callq	_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev
	.cfi_escape 0x2e, 0x00
	leaq	256(%rsp), %rdi
	callq	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.cfi_escape 0x2e, 0x00
	leaq	288(%rsp), %rdi
	callq	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.cfi_escape 0x2e, 0x00
	leaq	320(%rsp), %rdi
	callq	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.cfi_escape 0x2e, 0x00
	leaq	352(%rsp), %rdi
	callq	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.cfi_escape 0x2e, 0x00
	movq	%rbx, %rdi
	callq	_Unwind_Resume@PLT
.Lfunc_end9:
	.size	Init, .Lfunc_end9-Init
	.cfi_endproc
	.section	.gcc_except_table,"a",@progbits
	.p2align	2, 0x0
GCC_except_table9:
.Lexception0:
	.byte	255                             # @LPStart Encoding = omit
	.byte	255                             # @TType Encoding = omit
	.byte	1                               # Call site Encoding = uleb128
	.uleb128 .Lcst_end0-.Lcst_begin0
.Lcst_begin0:
	.uleb128 .Ltmp0-.Lfunc_begin0           # >> Call Site 1 <<
	.uleb128 .Ltmp1-.Ltmp0                  #   Call between .Ltmp0 and .Ltmp1
	.uleb128 .Ltmp2-.Lfunc_begin0           #     jumps to .Ltmp2
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp3-.Lfunc_begin0           # >> Call Site 2 <<
	.uleb128 .Ltmp4-.Ltmp3                  #   Call between .Ltmp3 and .Ltmp4
	.uleb128 .Ltmp5-.Lfunc_begin0           #     jumps to .Ltmp5
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp6-.Lfunc_begin0           # >> Call Site 3 <<
	.uleb128 .Ltmp7-.Ltmp6                  #   Call between .Ltmp6 and .Ltmp7
	.uleb128 .Ltmp8-.Lfunc_begin0           #     jumps to .Ltmp8
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp9-.Lfunc_begin0           # >> Call Site 4 <<
	.uleb128 .Ltmp10-.Ltmp9                 #   Call between .Ltmp9 and .Ltmp10
	.uleb128 .Ltmp11-.Lfunc_begin0          #     jumps to .Ltmp11
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp12-.Lfunc_begin0          # >> Call Site 5 <<
	.uleb128 .Ltmp13-.Ltmp12                #   Call between .Ltmp12 and .Ltmp13
	.uleb128 .Ltmp14-.Lfunc_begin0          #     jumps to .Ltmp14
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp15-.Lfunc_begin0          # >> Call Site 6 <<
	.uleb128 .Ltmp16-.Ltmp15                #   Call between .Ltmp15 and .Ltmp16
	.uleb128 .Ltmp29-.Lfunc_begin0          #     jumps to .Ltmp29
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp16-.Lfunc_begin0          # >> Call Site 7 <<
	.uleb128 .Ltmp17-.Ltmp16                #   Call between .Ltmp16 and .Ltmp17
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp17-.Lfunc_begin0          # >> Call Site 8 <<
	.uleb128 .Ltmp28-.Ltmp17                #   Call between .Ltmp17 and .Ltmp28
	.uleb128 .Ltmp29-.Lfunc_begin0          #     jumps to .Ltmp29
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp30-.Lfunc_begin0          # >> Call Site 9 <<
	.uleb128 .Ltmp31-.Ltmp30                #   Call between .Ltmp30 and .Ltmp31
	.uleb128 .Ltmp34-.Lfunc_begin0          #     jumps to .Ltmp34
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp35-.Lfunc_begin0          # >> Call Site 10 <<
	.uleb128 .Ltmp36-.Ltmp35                #   Call between .Ltmp35 and .Ltmp36
	.uleb128 .Ltmp37-.Lfunc_begin0          #     jumps to .Ltmp37
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp41-.Lfunc_begin0          # >> Call Site 11 <<
	.uleb128 .Ltmp42-.Ltmp41                #   Call between .Ltmp41 and .Ltmp42
	.uleb128 .Ltmp43-.Lfunc_begin0          #     jumps to .Ltmp43
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp47-.Lfunc_begin0          # >> Call Site 12 <<
	.uleb128 .Ltmp48-.Ltmp47                #   Call between .Ltmp47 and .Ltmp48
	.uleb128 .Ltmp49-.Lfunc_begin0          #     jumps to .Ltmp49
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp53-.Lfunc_begin0          # >> Call Site 13 <<
	.uleb128 .Ltmp54-.Ltmp53                #   Call between .Ltmp53 and .Ltmp54
	.uleb128 .Ltmp55-.Lfunc_begin0          #     jumps to .Ltmp55
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp59-.Lfunc_begin0          # >> Call Site 14 <<
	.uleb128 .Ltmp60-.Ltmp59                #   Call between .Ltmp59 and .Ltmp60
	.uleb128 .Ltmp61-.Lfunc_begin0          #     jumps to .Ltmp61
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp65-.Lfunc_begin0          # >> Call Site 15 <<
	.uleb128 .Ltmp66-.Ltmp65                #   Call between .Ltmp65 and .Ltmp66
	.uleb128 .Ltmp67-.Lfunc_begin0          #     jumps to .Ltmp67
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp71-.Lfunc_begin0          # >> Call Site 16 <<
	.uleb128 .Ltmp72-.Ltmp71                #   Call between .Ltmp71 and .Ltmp72
	.uleb128 .Ltmp73-.Lfunc_begin0          #     jumps to .Ltmp73
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp77-.Lfunc_begin0          # >> Call Site 17 <<
	.uleb128 .Ltmp78-.Ltmp77                #   Call between .Ltmp77 and .Ltmp78
	.uleb128 .Ltmp79-.Lfunc_begin0          #     jumps to .Ltmp79
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp83-.Lfunc_begin0          # >> Call Site 18 <<
	.uleb128 .Ltmp84-.Ltmp83                #   Call between .Ltmp83 and .Ltmp84
	.uleb128 .Ltmp85-.Lfunc_begin0          #     jumps to .Ltmp85
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp89-.Lfunc_begin0          # >> Call Site 19 <<
	.uleb128 .Ltmp90-.Ltmp89                #   Call between .Ltmp89 and .Ltmp90
	.uleb128 .Ltmp91-.Lfunc_begin0          #     jumps to .Ltmp91
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp95-.Lfunc_begin0          # >> Call Site 20 <<
	.uleb128 .Ltmp96-.Ltmp95                #   Call between .Ltmp95 and .Ltmp96
	.uleb128 .Ltmp97-.Lfunc_begin0          #     jumps to .Ltmp97
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp101-.Lfunc_begin0         # >> Call Site 21 <<
	.uleb128 .Ltmp102-.Ltmp101              #   Call between .Ltmp101 and .Ltmp102
	.uleb128 .Ltmp103-.Lfunc_begin0         #     jumps to .Ltmp103
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp107-.Lfunc_begin0         # >> Call Site 22 <<
	.uleb128 .Ltmp108-.Ltmp107              #   Call between .Ltmp107 and .Ltmp108
	.uleb128 .Ltmp109-.Lfunc_begin0         #     jumps to .Ltmp109
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp113-.Lfunc_begin0         # >> Call Site 23 <<
	.uleb128 .Ltmp114-.Ltmp113              #   Call between .Ltmp113 and .Ltmp114
	.uleb128 .Ltmp117-.Lfunc_begin0         #     jumps to .Ltmp117
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp80-.Lfunc_begin0          # >> Call Site 24 <<
	.uleb128 .Ltmp81-.Ltmp80                #   Call between .Ltmp80 and .Ltmp81
	.uleb128 .Ltmp82-.Lfunc_begin0          #     jumps to .Ltmp82
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp74-.Lfunc_begin0          # >> Call Site 25 <<
	.uleb128 .Ltmp75-.Ltmp74                #   Call between .Ltmp74 and .Ltmp75
	.uleb128 .Ltmp76-.Lfunc_begin0          #     jumps to .Ltmp76
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp68-.Lfunc_begin0          # >> Call Site 26 <<
	.uleb128 .Ltmp69-.Ltmp68                #   Call between .Ltmp68 and .Ltmp69
	.uleb128 .Ltmp70-.Lfunc_begin0          #     jumps to .Ltmp70
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp62-.Lfunc_begin0          # >> Call Site 27 <<
	.uleb128 .Ltmp63-.Ltmp62                #   Call between .Ltmp62 and .Ltmp63
	.uleb128 .Ltmp64-.Lfunc_begin0          #     jumps to .Ltmp64
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp56-.Lfunc_begin0          # >> Call Site 28 <<
	.uleb128 .Ltmp57-.Ltmp56                #   Call between .Ltmp56 and .Ltmp57
	.uleb128 .Ltmp58-.Lfunc_begin0          #     jumps to .Ltmp58
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp50-.Lfunc_begin0          # >> Call Site 29 <<
	.uleb128 .Ltmp51-.Ltmp50                #   Call between .Ltmp50 and .Ltmp51
	.uleb128 .Ltmp52-.Lfunc_begin0          #     jumps to .Ltmp52
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp44-.Lfunc_begin0          # >> Call Site 30 <<
	.uleb128 .Ltmp45-.Ltmp44                #   Call between .Ltmp44 and .Ltmp45
	.uleb128 .Ltmp46-.Lfunc_begin0          #     jumps to .Ltmp46
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp38-.Lfunc_begin0          # >> Call Site 31 <<
	.uleb128 .Ltmp39-.Ltmp38                #   Call between .Ltmp38 and .Ltmp39
	.uleb128 .Ltmp40-.Lfunc_begin0          #     jumps to .Ltmp40
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp110-.Lfunc_begin0         # >> Call Site 32 <<
	.uleb128 .Ltmp111-.Ltmp110              #   Call between .Ltmp110 and .Ltmp111
	.uleb128 .Ltmp112-.Lfunc_begin0         #     jumps to .Ltmp112
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp104-.Lfunc_begin0         # >> Call Site 33 <<
	.uleb128 .Ltmp105-.Ltmp104              #   Call between .Ltmp104 and .Ltmp105
	.uleb128 .Ltmp106-.Lfunc_begin0         #     jumps to .Ltmp106
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp98-.Lfunc_begin0          # >> Call Site 34 <<
	.uleb128 .Ltmp99-.Ltmp98                #   Call between .Ltmp98 and .Ltmp99
	.uleb128 .Ltmp100-.Lfunc_begin0         #     jumps to .Ltmp100
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp92-.Lfunc_begin0          # >> Call Site 35 <<
	.uleb128 .Ltmp93-.Ltmp92                #   Call between .Ltmp92 and .Ltmp93
	.uleb128 .Ltmp94-.Lfunc_begin0          #     jumps to .Ltmp94
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp86-.Lfunc_begin0          # >> Call Site 36 <<
	.uleb128 .Ltmp87-.Ltmp86                #   Call between .Ltmp86 and .Ltmp87
	.uleb128 .Ltmp88-.Lfunc_begin0          #     jumps to .Ltmp88
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp32-.Lfunc_begin0          # >> Call Site 37 <<
	.uleb128 .Ltmp33-.Ltmp32                #   Call between .Ltmp32 and .Ltmp33
	.uleb128 .Ltmp34-.Lfunc_begin0          #     jumps to .Ltmp34
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp115-.Lfunc_begin0         # >> Call Site 38 <<
	.uleb128 .Ltmp116-.Ltmp115              #   Call between .Ltmp115 and .Ltmp116
	.uleb128 .Ltmp117-.Lfunc_begin0         #     jumps to .Ltmp117
	.byte	0                               #   On action: cleanup
	.uleb128 .Ltmp116-.Lfunc_begin0         # >> Call Site 39 <<
	.uleb128 .Lfunc_end9-.Ltmp116           #   Call between .Ltmp116 and .Lfunc_end9
	.byte	0                               #     has no landing pad
	.byte	0                               #   On action: cleanup
.Lcst_end0:
	.p2align	2, 0x0
                                        # -- End function
	.section	.text._ZNSt6vectorI10TransitionSaIS0_EEC2EmRKS1_,"axG",@progbits,_ZNSt6vectorI10TransitionSaIS0_EEC2EmRKS1_,comdat
	.weak	_ZNSt6vectorI10TransitionSaIS0_EEC2EmRKS1_ # -- Begin function _ZNSt6vectorI10TransitionSaIS0_EEC2EmRKS1_
	.p2align	1, 0x90
	.type	_ZNSt6vectorI10TransitionSaIS0_EEC2EmRKS1_,@function
_ZNSt6vectorI10TransitionSaIS0_EEC2EmRKS1_: # @_ZNSt6vectorI10TransitionSaIS0_EEC2EmRKS1_
	.cfi_startproc
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	movabsq	$768614336404564651, %rax       # imm = 0xAAAAAAAAAAAAAAB
	cmpq	%rax, %rsi
	jae	.LBB10_6
# %bb.1:                                # %_ZNSt6vectorI10TransitionSaIS0_EE17_S_check_init_lenEmRKS1_.exit
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	testq	%rsi, %rsi
	je	.LBB10_2
# %bb.3:                                # %_ZNSt12_Vector_baseI10TransitionSaIS0_EEC2EmRKS1_.exit
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorI10TransitionE8allocateEmPKv
	movq	%rax, (%rbx)
	leaq	(%r14,%r14,2), %rcx
	leaq	(%rax,%rcx,4), %rcx
	movq	%rcx, 16(%rbx)
	movl	$4286578688, %ecx               # imm = 0xFF800000
.LBB10_4:                               # %.lr.ph.i.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	%rcx, (%rax)
	movl	$0, 8(%rax)
	addq	$12, %rax
	decq	%r14
	jne	.LBB10_4
	jmp	.LBB10_5
.LBB10_2:                               # %_ZNSt12_Vector_baseI10TransitionSaIS0_EEC2EmRKS1_.exit.thread
	movups	%xmm0, (%rbx)
	movq	$0, 16(%rbx)
	xorl	%eax, %eax
.LBB10_5:                               # %.loopexit
	movq	%rax, 8(%rbx)
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.LBB10_6:
	.cfi_def_cfa_offset 32
	movl	$.L.str.4, %edi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end10:
	.size	_ZNSt6vectorI10TransitionSaIS0_EEC2EmRKS1_, .Lfunc_end10-_ZNSt6vectorI10TransitionSaIS0_EEC2EmRKS1_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorI7IntPairSaIS0_EEC2EmRKS1_,"axG",@progbits,_ZNSt6vectorI7IntPairSaIS0_EEC2EmRKS1_,comdat
	.weak	_ZNSt6vectorI7IntPairSaIS0_EEC2EmRKS1_ # -- Begin function _ZNSt6vectorI7IntPairSaIS0_EEC2EmRKS1_
	.p2align	1, 0x90
	.type	_ZNSt6vectorI7IntPairSaIS0_EEC2EmRKS1_,@function
_ZNSt6vectorI7IntPairSaIS0_EEC2EmRKS1_: # @_ZNSt6vectorI7IntPairSaIS0_EEC2EmRKS1_
	.cfi_startproc
# %bb.0:
	pushq	%r14
	.cfi_def_cfa_offset 16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	pushq	%rax
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -24
	.cfi_offset %r14, -16
	movq	%rsi, %rax
	shrq	$60, %rax
	jne	.LBB11_6
# %bb.1:                                # %_ZNSt6vectorI7IntPairSaIS0_EE17_S_check_init_lenEmRKS1_.exit
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	$0, 16(%rdi)
	testq	%rsi, %rsi
	je	.LBB11_2
# %bb.3:                                # %_ZNSt12_Vector_baseI7IntPairSaIS0_EEC2EmRKS1_.exit
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ZNSt15__new_allocatorI7IntPairE8allocateEmPKv
	movq	%rax, (%rbx)
	leaq	(%rax,%r14,8), %rcx
	movq	%rcx, 16(%rbx)
.LBB11_4:                               # %.lr.ph.i.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	$1, (%rax)
	addq	$8, %rax
	decq	%r14
	jne	.LBB11_4
	jmp	.LBB11_5
.LBB11_2:                               # %_ZNSt12_Vector_baseI7IntPairSaIS0_EEC2EmRKS1_.exit.thread
	movups	%xmm0, (%rbx)
	movq	$0, 16(%rbx)
	xorl	%eax, %eax
.LBB11_5:                               # %.loopexit
	movq	%rax, 8(%rbx)
	addq	$8, %rsp
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	retq
.LBB11_6:
	.cfi_def_cfa_offset 32
	movl	$.L.str.4, %edi
	callq	_ZSt20__throw_length_errorPKc
.Lfunc_end11:
	.size	_ZNSt6vectorI7IntPairSaIS0_EEC2EmRKS1_, .Lfunc_end11-_ZNSt6vectorI7IntPairSaIS0_EEC2EmRKS1_
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev,"axG",@progbits,_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev,comdat
	.weak	_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev # -- Begin function _ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev,@function
_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev:    # @_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	(%rdi), %rbx
	movq	8(%rdi), %r15
	cmpq	%r15, %rbx
	je	.LBB12_6
# %bb.1:                                # %.lr.ph.i.i.i.preheader
	movq	%rdi, %r14
.LBB12_2:                               # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB12_4
# %bb.3:                                #   in Loop: Header=BB12_2 Depth=1
	callq	_ZdlPv
.LBB12_4:                               # %_ZSt8_DestroyISt6vectorIfSaIfEEEvPT_.exit.i.i.i
                                        #   in Loop: Header=BB12_2 Depth=1
	addq	$24, %rbx
	cmpq	%r15, %rbx
	jne	.LBB12_2
# %bb.5:                                # %_ZSt8_DestroyIPSt6vectorIfSaIfEES2_EvT_S4_RSaIT0_E.exitthread-pre-split
	movq	(%r14), %rbx
.LBB12_6:                               # %_ZSt8_DestroyIPSt6vectorIfSaIfEES2_EvT_S4_RSaIT0_E.exit
	testq	%rbx, %rbx
	je	.LBB12_7
# %bb.8:
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZdlPv                          # TAILCALL
.LBB12_7:                               # %_ZNSt12_Vector_baseISt6vectorIfSaIfEESaIS2_EED2Ev.exit
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end12:
	.size	_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev, .Lfunc_end12-_ZNSt6vectorIS_IfSaIfEESaIS1_EED2Ev
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev,"axG",@progbits,_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev,comdat
	.weak	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev # -- Begin function _ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.p2align	1, 0x90
	.type	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev,@function
_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev:    # @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.cfi_startproc
# %bb.0:
	pushq	%r15
	.cfi_def_cfa_offset 16
	pushq	%r14
	.cfi_def_cfa_offset 24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	.cfi_offset %r15, -16
	movq	(%rdi), %rbx
	movq	8(%rdi), %r15
	cmpq	%r15, %rbx
	je	.LBB13_6
# %bb.1:                                # %.lr.ph.i.i.i.preheader
	movq	%rdi, %r14
.LBB13_2:                               # %.lr.ph.i.i.i
                                        # =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	.LBB13_4
# %bb.3:                                #   in Loop: Header=BB13_2 Depth=1
	callq	_ZdlPv
.LBB13_4:                               # %_ZSt8_DestroyISt6vectorIiSaIiEEEvPT_.exit.i.i.i
                                        #   in Loop: Header=BB13_2 Depth=1
	addq	$24, %rbx
	cmpq	%r15, %rbx
	jne	.LBB13_2
# %bb.5:                                # %_ZSt8_DestroyIPSt6vectorIiSaIiEES2_EvT_S4_RSaIT0_E.exitthread-pre-split
	movq	(%r14), %rbx
.LBB13_6:                               # %_ZSt8_DestroyIPSt6vectorIiSaIiEES2_EvT_S4_RSaIT0_E.exit
	testq	%rbx, %rbx
	je	.LBB13_7
# %bb.8:
	movq	%rbx, %rdi
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	jmp	_ZdlPv                          # TAILCALL
.LBB13_7:                               # %_ZNSt12_Vector_baseISt6vectorIiSaIiEESaIS2_EED2Ev.exit
	.cfi_def_cfa_offset 32
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	retq
.Lfunc_end13:
	.size	_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev, .Lfunc_end13-_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev
	.cfi_endproc
                                        # -- End function
	.text
	.globl	Release                         # -- Begin function Release
	.type	Release,@function
Release:                                # @Release
	.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	%rbx
	.cfi_def_cfa_offset 40
	pushq	%rax
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%rsi, %rbx
	movl	%edi, %r14d
	leaq	4(%rsp), %rdi
	movl	$0, (%rdi)
	callq	hipGetDevice
	testl	%eax, %eax
	jne	.LBB14_5
# %bb.1:                                # %.preheader
	testl	%r14d, %r14d
	jle	.LBB14_9
# %bb.2:                                # %.lr.ph.preheader
	movl	%r14d, %r14d
	shlq	$2, %r14
	xorl	%r15d, %r15d
.LBB14_3:                               # %.lr.ph
                                        # =>This Inner Loop Header: Depth=1
	movl	(%rbx,%r15), %edi
	callq	hipSetDevice
	testl	%eax, %eax
	jne	.LBB14_4
# %bb.11:                               #   in Loop: Header=BB14_3 Depth=1
	movq	TRANSITION_ALPHA(%rip), %rax
	movq	(%rax,%r15,2), %rdi
	callq	hipFree
	testl	%eax, %eax
	jne	.LBB14_12
# %bb.13:                               #   in Loop: Header=BB14_3 Depth=1
	movq	TRANSITION_BETA(%rip), %rax
	movq	(%rax,%r15,2), %rdi
	callq	hipFree
	testl	%eax, %eax
	jne	.LBB14_14
# %bb.15:                               #   in Loop: Header=BB14_3 Depth=1
	movq	TRANSITION_INDEX_ALPHA(%rip), %rax
	movq	(%rax,%r15,2), %rdi
	callq	hipFree
	testl	%eax, %eax
	jne	.LBB14_16
# %bb.17:                               #   in Loop: Header=BB14_3 Depth=1
	movq	TRANSITION_INDEX_BETA(%rip), %rax
	movq	(%rax,%r15,2), %rdi
	callq	hipFree
	testl	%eax, %eax
	jne	.LBB14_18
# %bb.19:                               #   in Loop: Header=BB14_3 Depth=1
	movq	START_WEIGHT(%rip), %rax
	movq	(%rax,%r15,2), %rdi
	callq	hipFree
	testl	%eax, %eax
	jne	.LBB14_20
# %bb.21:                               #   in Loop: Header=BB14_3 Depth=1
	movq	END_WEIGHT(%rip), %rax
	movq	(%rax,%r15,2), %rdi
	callq	hipFree
	testl	%eax, %eax
	jne	.LBB14_22
# %bb.8:                                #   in Loop: Header=BB14_3 Depth=1
	addq	$4, %r15
	cmpq	%r15, %r14
	jne	.LBB14_3
.LBB14_9:                               # %._crit_edge
	movl	4(%rsp), %edi
	callq	hipSetDevice
	testl	%eax, %eax
	jne	.LBB14_10
# %bb.23:
	movq	TRANSITION_ALPHA(%rip), %rdi
	testq	%rdi, %rdi
	je	.LBB14_25
# %bb.24:
	callq	_ZdaPv
.LBB14_25:
	movq	TRANSITION_BETA(%rip), %rdi
	testq	%rdi, %rdi
	je	.LBB14_27
# %bb.26:
	callq	_ZdaPv
.LBB14_27:
	movq	TRANSITION_INDEX_ALPHA(%rip), %rdi
	testq	%rdi, %rdi
	je	.LBB14_29
# %bb.28:
	callq	_ZdaPv
.LBB14_29:
	movq	TRANSITION_INDEX_BETA(%rip), %rdi
	testq	%rdi, %rdi
	je	.LBB14_31
# %bb.30:
	callq	_ZdaPv
.LBB14_31:
	movq	START_WEIGHT(%rip), %rdi
	testq	%rdi, %rdi
	je	.LBB14_33
# %bb.32:
	callq	_ZdaPv
.LBB14_33:
	movq	END_WEIGHT(%rip), %rdi
	testq	%rdi, %rdi
	je	.LBB14_35
# %bb.34:
	callq	_ZdaPv
.LBB14_35:
	xorl	%eax, %eax
	movq	%rax, TRANSITION_ALPHA(%rip)
	movq	%rax, TRANSITION_BETA(%rip)
	movq	%rax, TRANSITION_INDEX_ALPHA(%rip)
	movq	%rax, TRANSITION_INDEX_BETA(%rip)
	movq	%rax, START_WEIGHT(%rip)
	movq	%rax, END_WEIGHT(%rip)
	movq	DEVICE_HASH(%rip), %rdi
	testq	%rdi, %rdi
	je	.LBB14_37
# %bb.36:
	callq	_ZdaPv
.LBB14_37:
	movq	$0, DEVICE_HASH(%rip)
	addq	$8, %rsp
	.cfi_def_cfa_offset 40
	popq	%rbx
	.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
.LBB14_22:
	.cfi_def_cfa_offset 48
	movl	%eax, %ebp
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$408, %edx                      # imm = 0x198
	jmp	.LBB14_6
.LBB14_20:
	movl	%eax, %ebp
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$407, %edx                      # imm = 0x197
	jmp	.LBB14_6
.LBB14_18:
	movl	%eax, %ebp
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$406, %edx                      # imm = 0x196
	jmp	.LBB14_6
.LBB14_16:
	movl	%eax, %ebp
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$405, %edx                      # imm = 0x195
	jmp	.LBB14_6
.LBB14_14:
	movl	%eax, %ebp
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$404, %edx                      # imm = 0x194
	jmp	.LBB14_6
.LBB14_12:
	movl	%eax, %ebp
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$403, %edx                      # imm = 0x193
	jmp	.LBB14_6
.LBB14_4:
	movl	%eax, %ebp
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$401, %edx                      # imm = 0x191
.LBB14_6:
	xorl	%eax, %eax
	callq	printf
	movl	%ebp, %edi
	callq	hipGetErrorString
	movl	$.L.str.3, %edi
	movl	%ebp, %esi
.LBB14_7:
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	printf
	movl	$1, %edi
	callq	exit
.LBB14_5:
	movl	%eax, %ebp
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$398, %edx                      # imm = 0x18E
	jmp	.LBB14_6
.LBB14_10:
	movl	%eax, %ebx
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$410, %edx                      # imm = 0x19A
	xorl	%eax, %eax
	callq	printf
	movl	%ebx, %edi
	callq	hipGetErrorString
	movl	$.L.str.3, %edi
	movl	%ebx, %esi
	jmp	.LBB14_7
.Lfunc_end14:
	.size	Release, .Lfunc_end14-Release
	.cfi_endproc
                                        # -- End function
	.globl	compute_alpha                   # -- Begin function compute_alpha
	.type	compute_alpha,@function
compute_alpha:                          # @compute_alpha
	.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	$56, %rsp
	.cfi_def_cfa_offset 112
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
                                        # kill: def $r9d killed $r9d def $r9
	movq	%r9, 48(%rsp)                   # 8-byte Spill
                                        # kill: def $r8d killed $r8d def $r8
	movq	%r8, 24(%rsp)                   # 8-byte Spill
	movl	%ecx, 8(%rsp)                   # 4-byte Spill
	movl	%edx, %ebp
	movq	%rsi, 40(%rsp)                  # 8-byte Spill
	movq	%rdi, 16(%rsp)                  # 8-byte Spill
	leaq	36(%rsp), %rdi
	movl	$0, (%rdi)
	callq	hipGetDevice
	testl	%eax, %eax
	jne	.LBB15_13
# %bb.1:
	movq	128(%rsp), %r9
	movabsq	$4294968320, %r13               # imm = 0x100000400
	movq	DEVICE_HASH(%rip), %rax
	movslq	36(%rsp), %rcx
	movslq	(%rax,%rcx,4), %rbx
	movl	%ebp, %eax
	leaq	-1024(%rax,%r13), %r14
	movq	%r14, %rdi
	movl	$1, %esi
	movq	%r13, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movq	%r9, %r12
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB15_3
# %bb.2:
	movq	START_WEIGHT(%rip), %rax
	movq	(%rax,%rbx,8), %r8
	movq	16(%rsp), %rdi                  # 8-byte Reload
	movq	24(%rsp), %rsi                  # 8-byte Reload
                                        # kill: def $esi killed $esi killed $rsi
	movl	%ebp, %edx
	movl	8(%rsp), %ecx                   # 4-byte Reload
	callq	_Z33__device_stub__alpha_first_kernelPfiiiPKf
.LBB15_3:
	movl	%ebp, 12(%rsp)                  # 4-byte Spill
	cmpl	$0, 8(%rsp)                     # 4-byte Folded Reload
	jle	.LBB15_8
# %bb.4:                                # %.lr.ph
	movl	8(%rsp), %eax                   # 4-byte Reload
	movl	%eax, %ebp
	negl	%ebp
	movl	$1, %r15d
.LBB15_5:                               # =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	$1, %esi
	movq	%r13, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movq	%r12, %r9
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB15_7
# %bb.6:                                #   in Loop: Header=BB15_5 Depth=1
	movq	TRANSITION_INDEX_ALPHA(%rip), %rax
	movq	TRANSITION_ALPHA(%rip), %r10
	movq	16(%rsp), %rdi                  # 8-byte Reload
	movq	40(%rsp), %rsi                  # 8-byte Reload
	movl	12(%rsp), %edx                  # 4-byte Reload
	movl	8(%rsp), %ecx                   # 4-byte Reload
	movl	%r15d, %r8d
	movq	112(%rsp), %r9
	pushq	(%r10,%rbx,8)
	.cfi_adjust_cfa_offset 8
	pushq	(%rax,%rbx,8)
	.cfi_adjust_cfa_offset 8
	pushq	64(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	pushq	48(%rsp)                        # 8-byte Folded Reload
	.cfi_adjust_cfa_offset 8
	callq	_Z27__device_stub__alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition
	addq	$32, %rsp
	.cfi_adjust_cfa_offset -32
.LBB15_7:                               #   in Loop: Header=BB15_5 Depth=1
	leal	(%r15,%rbp), %eax
	incl	%eax
	movl	%r15d, %ecx
	incl	%ecx
	movl	%ecx, %r15d
	cmpl	$1, %eax
	jne	.LBB15_5
.LBB15_8:                               # %._crit_edge
	movq	%r14, %rdi
	movl	$1, %esi
	movq	%r13, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movq	%r12, %r9
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB15_10
# %bb.9:
	movq	END_WEIGHT(%rip), %rax
	movq	(%rax,%rbx,8), %r9
	movq	16(%rsp), %rdi                  # 8-byte Reload
	movq	24(%rsp), %rsi                  # 8-byte Reload
                                        # kill: def $esi killed $esi killed $rsi
	movl	12(%rsp), %edx                  # 4-byte Reload
	movl	8(%rsp), %ecx                   # 4-byte Reload
	movq	112(%rsp), %r8
	callq	_Z32__device_stub__alpha_last_kernelPfiiiPKiPKf
.LBB15_10:
	addq	$-896, %r13                     # imm = 0xFC80
	movl	$512, %r8d                      # imm = 0x200
	movq	%r14, %rdi
	movl	$1, %esi
	movq	%r13, %rdx
	movl	$1, %ecx
	movq	%r12, %r9
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB15_12
# %bb.11:
	movq	120(%rsp), %r8
	movq	16(%rsp), %rdi                  # 8-byte Reload
	movq	24(%rsp), %rsi                  # 8-byte Reload
                                        # kill: def $esi killed $esi killed $rsi
	movl	8(%rsp), %edx                   # 4-byte Reload
	movq	112(%rsp), %rcx
	callq	_Z31__device_stub__alpha_lld_kernalPKfiiPKiPf
.LBB15_12:
	addq	$56, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB15_13:
	.cfi_def_cfa_offset 112
	movl	%eax, %r14d
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$439, %edx                      # imm = 0x1B7
	xorl	%eax, %eax
	callq	printf
	movl	%r14d, %edi
	callq	hipGetErrorString
	movl	$.L.str.3, %edi
	movl	%r14d, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	printf
	movl	$1, %edi
	callq	exit
.Lfunc_end15:
	.size	compute_alpha, .Lfunc_end15-compute_alpha
	.cfi_endproc
                                        # -- End function
	.globl	compute_beta_and_grad           # -- Begin function compute_beta_and_grad
	.type	compute_beta_and_grad,@function
compute_beta_and_grad:                  # @compute_beta_and_grad
	.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	$56, %rsp
	.cfi_def_cfa_offset 112
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	.cfi_offset %rbp, -16
	movq	%r9, 32(%rsp)                   # 8-byte Spill
	movq	%r8, 8(%rsp)                    # 8-byte Spill
	movq	%rcx, 24(%rsp)                  # 8-byte Spill
	movq	%rdx, 48(%rsp)                  # 8-byte Spill
	movq	%rsi, 40(%rsp)                  # 8-byte Spill
	movq	%rdi, (%rsp)                    # 8-byte Spill
	leaq	20(%rsp), %rdi
	movl	$0, (%rdi)
	callq	hipGetDevice
	testl	%eax, %eax
	jne	.LBB16_17
# %bb.1:
	movq	160(%rsp), %r14
	movabsq	$4294968320, %r15               # imm = 0x100000400
	movq	DEVICE_HASH(%rip), %rax
	movslq	20(%rsp), %rcx
	movslq	(%rax,%rcx,4), %r13
	movl	112(%rsp), %eax
	leaq	-1024(%rax,%r15), %r12
	movq	%r12, %rdi
	movl	$1, %esi
	movq	%r15, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movq	%r14, %r9
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB16_3
# %bb.2:
	movq	8(%rsp), %rdi                   # 8-byte Reload
	movq	32(%rsp), %rsi                  # 8-byte Reload
	movq	24(%rsp), %rdx                  # 8-byte Reload
	movq	144(%rsp), %rcx
	movl	112(%rsp), %r8d
	movl	136(%rsp), %r9d
                                        # kill: def $r9d killed $r9d killed $r9
	pushq	$0
	.cfi_adjust_cfa_offset 8
	movl	128(%rsp), %eax
	pushq	%rax
	.cfi_adjust_cfa_offset 8
	callq	_Z24__device_stub__copy_gradPfS_PKfPKiiiii
	addq	$16, %rsp
	.cfi_adjust_cfa_offset -16
.LBB16_3:
	movq	%r12, %rdi
	movl	$1, %esi
	movq	%r15, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movq	%r14, %r9
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB16_5
# %bb.4:
	movq	END_WEIGHT(%rip), %rax
	movq	(%rax,%r13,8), %r8
	movq	(%rsp), %rdi                    # 8-byte Reload
	movl	128(%rsp), %esi
                                        # kill: def $esi killed $esi killed $rsi
	movl	112(%rsp), %edx
	movq	144(%rsp), %rcx
	callq	_Z31__device_stub__beta_last_kernelPfiiPKiPKf
.LBB16_5:
	movl	120(%rsp), %eax
	testl	%eax, %eax
	jle	.LBB16_12
# %bb.6:                                # %.lr.ph
	movl	120(%rsp), %eax
	leal	1(%rax), %ebp
.LBB16_7:                               # =>This Inner Loop Header: Depth=1
	leal	-2(%rbp), %ebx
	movq	%r12, %rdi
	movl	$1, %esi
	movq	%r15, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movq	%r14, %r9
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB16_9
# %bb.8:                                #   in Loop: Header=BB16_7 Depth=1
	movq	TRANSITION_INDEX_BETA(%rip), %rax
	movq	TRANSITION_BETA(%rip), %r10
	movq	(%rsp), %rdi                    # 8-byte Reload
	movq	40(%rsp), %rsi                  # 8-byte Reload
	movq	48(%rsp), %rdx                  # 8-byte Reload
	movq	8(%rsp), %rcx                   # 8-byte Reload
	movl	112(%rsp), %r8d
	movl	120(%rsp), %r9d
                                        # kill: def $r9d killed $r9d killed $r9
	pushq	(%r10,%r13,8)
	.cfi_adjust_cfa_offset 8
	pushq	(%rax,%r13,8)
	.cfi_adjust_cfa_offset 8
	movl	152(%rsp), %eax
	pushq	%rax
	.cfi_adjust_cfa_offset 8
	movl	152(%rsp), %eax
	pushq	%rax
	.cfi_adjust_cfa_offset 8
	pushq	176(%rsp)
	.cfi_adjust_cfa_offset 8
	pushq	%rbx
	.cfi_adjust_cfa_offset 8
	callq	_Z26__device_stub__beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition
	addq	$48, %rsp
	.cfi_adjust_cfa_offset -48
.LBB16_9:                               #   in Loop: Header=BB16_7 Depth=1
	movq	%r12, %rdi
	movl	$1, %esi
	movq	%r15, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movq	%r14, %r9
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB16_11
# %bb.10:                               #   in Loop: Header=BB16_7 Depth=1
	movq	8(%rsp), %rdi                   # 8-byte Reload
	movq	32(%rsp), %rsi                  # 8-byte Reload
	movq	24(%rsp), %rdx                  # 8-byte Reload
	movq	144(%rsp), %rcx
	movl	112(%rsp), %r8d
	movl	136(%rsp), %r9d
                                        # kill: def $r9d killed $r9d killed $r9
	pushq	%rbx
	.cfi_adjust_cfa_offset 8
	movl	128(%rsp), %eax
	pushq	%rax
	.cfi_adjust_cfa_offset 8
	callq	_Z24__device_stub__copy_gradPfS_PKfPKiiiii
	addq	$16, %rsp
	.cfi_adjust_cfa_offset -16
.LBB16_11:                              #   in Loop: Header=BB16_7 Depth=1
	decl	%ebp
	cmpl	$1, %ebp
	ja	.LBB16_7
.LBB16_12:                              # %._crit_edge
	movq	%r12, %rdi
	movl	$1, %esi
	movq	%r15, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movq	%r14, %r9
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB16_14
# %bb.13:
	movq	START_WEIGHT(%rip), %rax
	movq	(%rax,%r13,8), %rcx
	movq	(%rsp), %rdi                    # 8-byte Reload
	movl	128(%rsp), %esi
                                        # kill: def $esi killed $esi killed $rsi
	movl	112(%rsp), %edx
	callq	_Z32__device_stub__beta_first_kernelPfiiPKf
.LBB16_14:
	addq	$-1023, %r15                    # imm = 0xFC01
	movq	%r15, %rdi
	movl	$1, %esi
	movq	%r12, %rdx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movq	%r14, %r9
	callq	__hipPushCallConfiguration
	testl	%eax, %eax
	jne	.LBB16_16
# %bb.15:
	movq	152(%rsp), %rdx
	movq	(%rsp), %rdi                    # 8-byte Reload
	movl	128(%rsp), %esi
                                        # kill: def $esi killed $esi killed $rsi
	callq	_Z30__device_stub__beta_lld_kernalPKfiPf
.LBB16_16:
	addq	$56, %rsp
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%r12
	.cfi_def_cfa_offset 40
	popq	%r13
	.cfi_def_cfa_offset 32
	popq	%r14
	.cfi_def_cfa_offset 24
	popq	%r15
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	retq
.LBB16_17:
	.cfi_def_cfa_offset 112
	movl	%eax, %ebp
	movl	$.L.str.1, %edi
	movl	$.L.str.2, %esi
	movl	$469, %edx                      # imm = 0x1D5
	xorl	%eax, %eax
	callq	printf
	movl	%ebp, %edi
	callq	hipGetErrorString
	movl	$.L.str.3, %edi
	movl	%ebp, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	printf
	movl	$1, %edi
	callq	exit
.Lfunc_end16:
	.size	compute_beta_and_grad, .Lfunc_end16-compute_beta_and_grad
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorI10TransitionE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorI10TransitionE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorI10TransitionE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorI10TransitionE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorI10TransitionE8allocateEmPKv,@function
_ZNSt15__new_allocatorI10TransitionE8allocateEmPKv: # @_ZNSt15__new_allocatorI10TransitionE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movabsq	$768614336404564651, %rax       # imm = 0xAAAAAAAAAAAAAAB
	cmpq	%rax, %rsi
	jae	.LBB17_1
# %bb.3:
	shlq	$2, %rsi
	leaq	(%rsi,%rsi,2), %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB17_1:
	.cfi_def_cfa_offset 16
	movabsq	$1537228672809129302, %rax      # imm = 0x1555555555555556
	cmpq	%rax, %rsi
	jb	.LBB17_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB17_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end17:
	.size	_ZNSt15__new_allocatorI10TransitionE8allocateEmPKv, .Lfunc_end17-_ZNSt15__new_allocatorI10TransitionE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.section	.text._ZNSt15__new_allocatorI7IntPairE8allocateEmPKv,"axG",@progbits,_ZNSt15__new_allocatorI7IntPairE8allocateEmPKv,comdat
	.weak	_ZNSt15__new_allocatorI7IntPairE8allocateEmPKv # -- Begin function _ZNSt15__new_allocatorI7IntPairE8allocateEmPKv
	.p2align	1, 0x90
	.type	_ZNSt15__new_allocatorI7IntPairE8allocateEmPKv,@function
_ZNSt15__new_allocatorI7IntPairE8allocateEmPKv: # @_ZNSt15__new_allocatorI7IntPairE8allocateEmPKv
	.cfi_startproc
# %bb.0:
	pushq	%rax
	.cfi_def_cfa_offset 16
	movq	%rsi, %rax
	shrq	$60, %rax
	jne	.LBB18_1
# %bb.3:
	shlq	$3, %rsi
	movq	%rsi, %rdi
	popq	%rax
	.cfi_def_cfa_offset 8
	jmp	_Znwm                           # TAILCALL
.LBB18_1:
	.cfi_def_cfa_offset 16
	shrq	$61, %rsi
	je	.LBB18_2
# %bb.4:
	callq	_ZSt28__throw_bad_array_new_lengthv
.LBB18_2:
	callq	_ZSt17__throw_bad_allocv
.Lfunc_end18:
	.size	_ZNSt15__new_allocatorI7IntPairE8allocateEmPKv, .Lfunc_end18-_ZNSt15__new_allocatorI7IntPairE8allocateEmPKv
	.cfi_endproc
                                        # -- End function
	.text
	.p2align	4, 0x90                         # -- Begin function __hip_module_ctor
	.type	__hip_module_ctor,@function
__hip_module_ctor:                      # @__hip_module_ctor
	.cfi_startproc
# %bb.0:
	pushq	%rbx
	.cfi_def_cfa_offset 16
	subq	$32, %rsp
	.cfi_def_cfa_offset 48
	.cfi_offset %rbx, -16
	movq	__hip_gpubin_handle(%rip), %rbx
	testq	%rbx, %rbx
	jne	.LBB19_2
# %bb.1:
	movl	$__hip_fatbin_wrapper, %edi
	callq	__hipRegisterFatBinary
	movq	%rax, %rbx
	movq	%rax, __hip_gpubin_handle(%rip)
.LBB19_2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z18alpha_first_kernelPfiiiPKf, %esi
	movl	$.L__unnamed_1, %edx
	movl	$.L__unnamed_1, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition, %esi
	movl	$.L__unnamed_2, %edx
	movl	$.L__unnamed_2, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z17alpha_last_kernelPfiiiPKiPKf, %esi
	movl	$.L__unnamed_3, %edx
	movl	$.L__unnamed_3, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z16alpha_lld_kernalPKfiiPKiPf, %esi
	movl	$.L__unnamed_4, %edx
	movl	$.L__unnamed_4, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z16beta_last_kernelPfiiPKiPKf, %esi
	movl	$.L__unnamed_5, %edx
	movl	$.L__unnamed_5, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z17beta_first_kernelPfiiPKf, %esi
	movl	$.L__unnamed_6, %edx
	movl	$.L__unnamed_6, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition, %esi
	movl	$.L__unnamed_7, %edx
	movl	$.L__unnamed_7, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z9copy_gradPfS_PKfPKiiiii, %esi
	movl	$.L__unnamed_8, %edx
	movl	$.L__unnamed_8, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rsp)
	movups	%xmm0, (%rsp)
	movl	$_Z15beta_lld_kernalPKfiPf, %esi
	movl	$.L__unnamed_9, %edx
	movl	$.L__unnamed_9, %ecx
	movq	%rbx, %rdi
	movl	$-1, %r8d
	xorl	%r9d, %r9d
	callq	__hipRegisterFunction
	movl	$__hip_module_dtor, %edi
	addq	$32, %rsp
	.cfi_def_cfa_offset 16
	popq	%rbx
	.cfi_def_cfa_offset 8
	jmp	atexit                          # TAILCALL
.Lfunc_end19:
	.size	__hip_module_ctor, .Lfunc_end19-__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	.LBB20_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
.LBB20_2:
	retq
.Lfunc_end20:
	.size	__hip_module_dtor, .Lfunc_end20-__hip_module_dtor
	.cfi_endproc
                                        # -- End function
	.type	_Z18alpha_first_kernelPfiiiPKf,@object # @_Z18alpha_first_kernelPfiiiPKf
	.section	.rodata,"a",@progbits
	.globl	_Z18alpha_first_kernelPfiiiPKf
	.p2align	3, 0x0
_Z18alpha_first_kernelPfiiiPKf:
	.quad	_Z33__device_stub__alpha_first_kernelPfiiiPKf
	.size	_Z18alpha_first_kernelPfiiiPKf, 8

	.type	_Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition,@object # @_Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition
	.globl	_Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition
	.p2align	3, 0x0
_Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition:
	.quad	_Z27__device_stub__alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition
	.size	_Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition, 8

	.type	_Z17alpha_last_kernelPfiiiPKiPKf,@object # @_Z17alpha_last_kernelPfiiiPKiPKf
	.globl	_Z17alpha_last_kernelPfiiiPKiPKf
	.p2align	3, 0x0
_Z17alpha_last_kernelPfiiiPKiPKf:
	.quad	_Z32__device_stub__alpha_last_kernelPfiiiPKiPKf
	.size	_Z17alpha_last_kernelPfiiiPKiPKf, 8

	.type	_Z16alpha_lld_kernalPKfiiPKiPf,@object # @_Z16alpha_lld_kernalPKfiiPKiPf
	.globl	_Z16alpha_lld_kernalPKfiiPKiPf
	.p2align	3, 0x0
_Z16alpha_lld_kernalPKfiiPKiPf:
	.quad	_Z31__device_stub__alpha_lld_kernalPKfiiPKiPf
	.size	_Z16alpha_lld_kernalPKfiiPKiPf, 8

	.type	_Z16beta_last_kernelPfiiPKiPKf,@object # @_Z16beta_last_kernelPfiiPKiPKf
	.globl	_Z16beta_last_kernelPfiiPKiPKf
	.p2align	3, 0x0
_Z16beta_last_kernelPfiiPKiPKf:
	.quad	_Z31__device_stub__beta_last_kernelPfiiPKiPKf
	.size	_Z16beta_last_kernelPfiiPKiPKf, 8

	.type	_Z17beta_first_kernelPfiiPKf,@object # @_Z17beta_first_kernelPfiiPKf
	.globl	_Z17beta_first_kernelPfiiPKf
	.p2align	3, 0x0
_Z17beta_first_kernelPfiiPKf:
	.quad	_Z32__device_stub__beta_first_kernelPfiiPKf
	.size	_Z17beta_first_kernelPfiiPKf, 8

	.type	_Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition,@object # @_Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition
	.globl	_Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition
	.p2align	3, 0x0
_Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition:
	.quad	_Z26__device_stub__beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition
	.size	_Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition, 8

	.type	_Z9copy_gradPfS_PKfPKiiiii,@object # @_Z9copy_gradPfS_PKfPKiiiii
	.globl	_Z9copy_gradPfS_PKfPKiiiii
	.p2align	3, 0x0
_Z9copy_gradPfS_PKfPKiiiii:
	.quad	_Z24__device_stub__copy_gradPfS_PKfPKiiiii
	.size	_Z9copy_gradPfS_PKfPKiiiii, 8

	.type	_Z15beta_lld_kernalPKfiPf,@object # @_Z15beta_lld_kernalPKfiPf
	.globl	_Z15beta_lld_kernalPKfiPf
	.p2align	3, 0x0
_Z15beta_lld_kernalPKfiPf:
	.quad	_Z30__device_stub__beta_lld_kernalPKfiPf
	.size	_Z15beta_lld_kernalPKfiPf, 8

	.type	TRANSITION_ALPHA,@object        # @TRANSITION_ALPHA
	.bss
	.globl	TRANSITION_ALPHA
	.p2align	3, 0x0
TRANSITION_ALPHA:
	.quad	0
	.size	TRANSITION_ALPHA, 8

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

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

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

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

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

	.type	DEN_NUM_ARCS,@object            # @DEN_NUM_ARCS
	.globl	DEN_NUM_ARCS
	.p2align	2, 0x0
DEN_NUM_ARCS:
	.long	0                               # 0x0
	.size	DEN_NUM_ARCS, 4

	.type	DEN_NUM_STATES,@object          # @DEN_NUM_STATES
	.globl	DEN_NUM_STATES
	.p2align	2, 0x0
DEN_NUM_STATES:
	.long	0                               # 0x0
	.size	DEN_NUM_STATES, 4

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

	.type	.L.str,@object                  # @.str
	.section	.rodata.str1.1,"aMS",@progbits,1
.L.str:
	.asciz	"count does not equal to num_arcs\n"
	.size	.L.str, 34

	.type	.L.str.1,@object                # @.str.1
.L.str.1:
	.asciz	"Error: %s:%d, "
	.size	.L.str.1, 15

	.type	.L.str.2,@object                # @.str.2
.L.str.2:
	.asciz	"/home/ubuntu/Datasets/stackv2/train-structured-repos-hip-sm89/thu-spmi/CAT/master/src/ctc_crf/gpu_den/den_calculate.hip"
	.size	.L.str.2, 120

	.type	.L.str.3,@object                # @.str.3
.L.str.3:
	.asciz	"code: %d, reason: %s\n"
	.size	.L.str.3, 22

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

	.type	.L__unnamed_1,@object           # @0
.L__unnamed_1:
	.asciz	"_Z18alpha_first_kernelPfiiiPKf"
	.size	.L__unnamed_1, 31

	.type	.L__unnamed_2,@object           # @1
.L__unnamed_2:
	.asciz	"_Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition"
	.size	.L__unnamed_2, 54

	.type	.L__unnamed_3,@object           # @2
.L__unnamed_3:
	.asciz	"_Z17alpha_last_kernelPfiiiPKiPKf"
	.size	.L__unnamed_3, 33

	.type	.L__unnamed_4,@object           # @3
.L__unnamed_4:
	.asciz	"_Z16alpha_lld_kernalPKfiiPKiPf"
	.size	.L__unnamed_4, 31

	.type	.L__unnamed_5,@object           # @4
.L__unnamed_5:
	.asciz	"_Z16beta_last_kernelPfiiPKiPKf"
	.size	.L__unnamed_5, 31

	.type	.L__unnamed_6,@object           # @5
.L__unnamed_6:
	.asciz	"_Z17beta_first_kernelPfiiPKf"
	.size	.L__unnamed_6, 29

	.type	.L__unnamed_7,@object           # @6
.L__unnamed_7:
	.asciz	"_Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition"
	.size	.L__unnamed_7, 58

	.type	.L__unnamed_8,@object           # @7
.L__unnamed_8:
	.asciz	"_Z9copy_gradPfS_PKfPKiiiii"
	.size	.L__unnamed_8, 27

	.type	.L__unnamed_9,@object           # @8
.L__unnamed_9:
	.asciz	"_Z15beta_lld_kernalPKfiPf"
	.size	.L__unnamed_9, 26

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

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

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym _Z33__device_stub__alpha_first_kernelPfiiiPKf
	.addrsig_sym _Z27__device_stub__alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition
	.addrsig_sym _Z32__device_stub__alpha_last_kernelPfiiiPKiPKf
	.addrsig_sym _Z31__device_stub__alpha_lld_kernalPKfiiPKiPf
	.addrsig_sym _Z31__device_stub__beta_last_kernelPfiiPKiPKf
	.addrsig_sym _Z32__device_stub__beta_first_kernelPfiiPKf
	.addrsig_sym _Z26__device_stub__beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition
	.addrsig_sym _Z24__device_stub__copy_gradPfS_PKfPKiiiii
	.addrsig_sym _Z30__device_stub__beta_lld_kernalPKfiPf
	.addrsig_sym __gxx_personality_v0
	.addrsig_sym __hip_module_ctor
	.addrsig_sym __hip_module_dtor
	.addrsig_sym _Unwind_Resume
	.addrsig_sym _Z18alpha_first_kernelPfiiiPKf
	.addrsig_sym _Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition
	.addrsig_sym _Z17alpha_last_kernelPfiiiPKiPKf
	.addrsig_sym _Z16alpha_lld_kernalPKfiiPKiPf
	.addrsig_sym _Z16beta_last_kernelPfiiPKiPKf
	.addrsig_sym _Z17beta_first_kernelPfiiPKf
	.addrsig_sym _Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition
	.addrsig_sym _Z9copy_gradPfS_PKfPKiiiii
	.addrsig_sym _Z15beta_lld_kernalPKfiPf
	.addrsig_sym __hip_fatbin
	.addrsig_sym __hip_fatbin_wrapper
	.addrsig_sym __hip_cuid_

	.text
	.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
	.protected	_Z18alpha_first_kernelPfiiiPKf ; -- Begin function _Z18alpha_first_kernelPfiiiPKf
	.globl	_Z18alpha_first_kernelPfiiiPKf
	.p2align	8
	.type	_Z18alpha_first_kernelPfiiiPKf,@function
_Z18alpha_first_kernelPfiiiPKf:         ; @_Z18alpha_first_kernelPfiiiPKf
; %bb.0:
	s_load_b32 s6, s[0:1], 0x8
	s_mov_b32 s2, exec_lo
	s_waitcnt lgkmcnt(0)
	v_cmpx_gt_i32_e64 s6, v0
	s_cbranch_execz .LBB0_3
; %bb.1:                                ; %.lr.ph
	s_clause 0x3
	s_load_b32 s7, s[0:1], 0x10
	s_load_b32 s8, s[0:1], 0x2c
	s_load_b64 s[2:3], s[0:1], 0x0
	s_load_b64 s[4:5], s[0:1], 0x18
	s_mul_i32 s0, s15, s6
	s_waitcnt lgkmcnt(0)
	s_add_i32 s7, s7, 1
	s_and_b32 s1, s8, 0xffff
	s_mul_i32 s7, s0, s7
	s_mov_b32 s8, 0
.LBB0_2:                                ; =>This Inner Loop Header: Depth=1
	v_ashrrev_i32_e32 v1, 31, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[1:2], 2, v[0:1]
	v_add_co_u32 v1, vcc_lo, s4, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_3) | instid1(VALU_DEP_2)
	v_add_co_ci_u32_e32 v2, vcc_lo, s5, v2, vcc_lo
	global_load_b32 v3, v[1:2], off
	v_add_nc_u32_e32 v1, s7, v0
	v_add_nc_u32_e32 v0, s1, v0
	v_ashrrev_i32_e32 v2, 31, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_le_i32_e32 vcc_lo, s6, v0
	v_lshlrev_b64 v[1:2], 2, v[1:2]
	s_or_b32 s8, vcc_lo, s8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v1, s0, s2, v1
	v_add_co_ci_u32_e64 v2, s0, s3, v2, s0
	s_waitcnt vmcnt(0)
	global_store_b32 v[1:2], v3, off
	s_and_not1_b32 exec_lo, exec_lo, s8
	s_cbranch_execnz .LBB0_2
.LBB0_3:                                ; %Flow21
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z18alpha_first_kernelPfiiiPKf
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 288
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 4
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end0:
	.size	_Z18alpha_first_kernelPfiiiPKf, .Lfunc_end0-_Z18alpha_first_kernelPfiiiPKf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 216
; NumSgprs: 18
; NumVgprs: 4
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 4
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition ; -- Begin function _Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition
	.globl	_Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition
	.p2align	8
	.type	_Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition,@function
_Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition: ; @_Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition
; %bb.0:
	s_load_b64 s[2:3], s[0:1], 0x20
	s_mov_b32 s12, s15
	s_ashr_i32 s13, s15, 31
	s_delay_alu instid0(SALU_CYCLE_1)
	s_lshl_b64 s[4:5], s[12:13], 2
	s_waitcnt lgkmcnt(0)
	s_add_u32 s2, s2, s4
	s_addc_u32 s3, s3, s5
	s_load_b64 s[14:15], s[0:1], 0x14
	s_load_b32 s2, s[2:3], 0x0
	s_waitcnt lgkmcnt(0)
	s_cmp_lt_i32 s2, s15
	s_cbranch_scc1 .LBB1_12
; %bb.1:
	s_load_b64 s[2:3], s[0:1], 0x28
	s_mov_b32 s4, exec_lo
	s_waitcnt lgkmcnt(0)
	v_cmpx_gt_i32_e64 s2, v0
	s_cbranch_execz .LBB1_12
; %bb.2:                                ; %.lr.ph57
	s_clause 0x2
	s_load_b32 s16, s[0:1], 0x4c
	s_load_b128 s[4:7], s[0:1], 0x30
	s_load_b128 s[8:11], s[0:1], 0x0
	s_add_i32 s0, s14, 1
	s_add_i32 s1, s15, -1
	s_mul_i32 s14, s12, s14
	s_mul_i32 s0, s0, s12
	s_add_i32 s12, s14, s1
	s_add_i32 s14, s0, s15
	s_add_i32 s0, s0, s1
	s_mov_b32 s13, 0
	s_mul_i32 s3, s12, s3
	s_mul_i32 s12, s14, s2
	s_mul_i32 s14, s0, s2
	s_waitcnt lgkmcnt(0)
	s_and_b32 s15, s16, 0xffff
	s_add_u32 s6, s6, 4
	s_addc_u32 s7, s7, 0
	s_mov_b32 s16, 0x3e9b6dac
.LBB1_3:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB1_5 Depth 2
	v_ashrrev_i32_e32 v1, 31, v0
	v_mov_b32_e32 v5, 0xff800000
	s_mov_b32 s17, exec_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[1:2], 3, v[0:1]
	v_add_co_u32 v1, vcc_lo, s4, v1
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v2, vcc_lo, s5, v2, vcc_lo
	global_load_b64 v[1:2], v[1:2], off
	s_waitcnt vmcnt(0)
	v_cmpx_le_i32_e64 v1, v2
	s_cbranch_execz .LBB1_11
; %bb.4:                                ; %.lr.ph.preheader
                                        ;   in Loop: Header=BB1_3 Depth=1
	v_mad_i64_i32 v[3:4], null, v1, 12, s[6:7]
	v_add_nc_u32_e32 v1, -1, v1
	v_mov_b32_e32 v5, 0xff800000
	s_mov_b32 s18, 0
.LBB1_5:                                ; %.lr.ph
                                        ;   Parent Loop BB1_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	global_load_b96 v[6:8], v[3:4], off offset:-4
	s_mov_b32 s19, exec_lo
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v8, s14, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v9, 31, v8
	v_lshlrev_b64 v[9:10], 2, v[8:9]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v9, vcc_lo, s8, v9
	v_add_co_ci_u32_e32 v10, vcc_lo, s9, v10, vcc_lo
	global_load_b32 v9, v[9:10], off
	s_waitcnt vmcnt(0)
	v_dual_add_f32 v6, v9, v6 :: v_dual_add_nc_u32 v7, s3, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v8, 31, v7
	v_lshlrev_b64 v[7:8], 2, v[7:8]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v7, vcc_lo, s10, v7
	v_add_co_ci_u32_e32 v8, vcc_lo, s11, v8, vcc_lo
	global_load_b32 v7, v[7:8], off
	s_waitcnt vmcnt(0)
	v_add_f32_e32 v6, v6, v7
	s_delay_alu instid0(VALU_DEP_1)
	v_cmpx_neq_f32_e32 0xff800000, v6
	s_cbranch_execz .LBB1_9
; %bb.6:                                ;   in Loop: Header=BB1_5 Depth=2
	s_mov_b32 s20, exec_lo
	v_cmpx_neq_f32_e32 0xff800000, v5
	s_cbranch_execz .LBB1_8
; %bb.7:                                ;   in Loop: Header=BB1_5 Depth=2
	v_sub_f32_e32 v7, v6, v5
	v_cmp_gt_f32_e64 s1, v6, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mul_f32_e64 v8, 0xbfb8aa3b, |v7|
	v_cndmask_b32_e64 v5, v5, v6, s1
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_fma_f32 v9, 0xbfb8aa3b, |v7|, -v8
	v_rndne_f32_e32 v10, v8
	v_sub_f32_e32 v8, v8, v10
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fma_f32 v9, 0xb2a5705f, |v7|, v9
	v_cmp_nlt_f32_e64 vcc_lo, 0x42ce8ed0, |v7|
	v_add_f32_e32 v8, v8, v9
	v_cvt_i32_f32_e32 v9, v10
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_exp_f32_e32 v8, v8
	s_waitcnt_depctr 0xfff
	v_ldexp_f32 v8, v8, v9
	v_cndmask_b32_e32 v8, 0, v8, vcc_lo
	v_cmp_ngt_f32_e64 vcc_lo, 0xc2b17218, |v7|
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v7, 0x7f800000, v8, vcc_lo
	v_add_f32_e32 v8, 1.0, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_frexp_mant_f32_e32 v9, v8
	v_frexp_exp_i32_f32_e32 v10, v8
	v_cmp_gt_f32_e32 vcc_lo, 0x3f2aaaab, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_subrev_co_ci_u32_e32 v9, vcc_lo, 0, v10, vcc_lo
	v_add_f32_e32 v10, -1.0, v8
	v_sub_nc_u32_e32 v11, 0, v9
	v_cvt_f32_i32_e32 v9, v9
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v12, v10, v8
	v_ldexp_f32 v8, v8, v11
	v_sub_f32_e32 v10, v7, v10
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f32_e32 v12, 1.0, v12
	v_add_f32_e32 v13, 1.0, v8
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v10, v10, v12
	v_add_f32_e32 v12, -1.0, v13
	v_cmp_eq_f32_e32 vcc_lo, 0x7f800000, v7
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_3) | instid1(VALU_DEP_3)
	v_ldexp_f32 v10, v10, v11
	v_add_f32_e32 v11, -1.0, v8
	v_cmp_gt_f32_e64 s0, 0x33800000, v7
	v_sub_f32_e32 v12, v8, v12
	v_add_f32_e32 v14, 1.0, v11
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	s_or_b32 vcc_lo, s0, vcc_lo
	v_add_f32_e32 v12, v10, v12
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v8, v8, v14
	v_add_f32_e32 v14, v13, v12
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v8, v10, v8
	v_rcp_f32_e32 v10, v14
	v_sub_f32_e32 v13, v13, v14
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v15, v11, v8 :: v_dual_add_f32 v12, v12, v13
	v_sub_f32_e32 v11, v11, v15
	s_waitcnt_depctr 0xfff
	v_mul_f32_e32 v16, v15, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v8, v8, v11 :: v_dual_mul_f32 v17, v14, v16
	v_fma_f32 v13, v16, v14, -v17
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v13, v16, v12
	v_add_f32_e32 v18, v17, v13
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v19, v15, v18
	v_sub_f32_e32 v11, v18, v17
	v_sub_f32_e32 v15, v15, v19
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v11, v11, v13
	v_sub_f32_e32 v15, v15, v18
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v8, v8, v15
	v_add_f32_e32 v8, v11, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v11, v19, v8
	v_mul_f32_e32 v13, v10, v11
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v18, v19, v11 :: v_dual_mul_f32 v15, v14, v13
	v_add_f32_e32 v8, v8, v18
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v14, v13, v14, -v15
	v_fmac_f32_e32 v14, v13, v12
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v12, v15, v14
	v_sub_f32_e32 v17, v11, v12
	v_sub_f32_e32 v15, v12, v15
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v11, v11, v17
	v_sub_f32_e32 v11, v11, v12
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v12, v15, v14
	v_add_f32_e32 v8, v8, v11
	v_add_f32_e32 v11, v16, v13
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v8, v12, v8
	v_sub_f32_e32 v12, v11, v16
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v8, v17, v8
	v_sub_f32_e32 v12, v13, v12
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v8, v10, v8
	v_add_f32_e32 v8, v12, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v10, v11, v8
	v_mul_f32_e32 v12, v10, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fmaak_f32 v13, s16, v12, 0x3ecc95a3
	v_mul_f32_e32 v14, v10, v12
	v_fmaak_f32 v12, v12, v13, 0x3f2aaada
	v_ldexp_f32 v13, v10, 1
	v_sub_f32_e32 v10, v10, v11
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f32_e32 v12, v14, v12
	v_mul_f32_e32 v14, 0x3f317218, v9
	v_dual_sub_f32 v8, v8, v10 :: v_dual_add_f32 v11, v13, v12
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_ldexp_f32 v8, v8, 1
	v_sub_f32_e32 v10, v11, v13
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v13, 0x3f317218, v9, -v14
	v_dual_sub_f32 v10, v12, v10 :: v_dual_fmac_f32 v13, 0xb102e308, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v8, v8, v10 :: v_dual_add_f32 v9, v14, v13
	v_add_f32_e32 v10, v11, v8
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v14, v9, v14
	v_dual_add_f32 v12, v9, v10 :: v_dual_sub_f32 v11, v10, v11
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v13, v13, v14
	v_sub_f32_e32 v15, v12, v9
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v8, v8, v11
	v_dual_sub_f32 v16, v12, v15 :: v_dual_add_f32 v11, v13, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v10, v10, v15 :: v_dual_sub_f32 v9, v9, v16
	v_add_f32_e32 v9, v10, v9
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v10, v11, v13
	v_add_f32_e32 v9, v11, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v11, v11, v10
	v_sub_f32_e32 v8, v8, v10
	v_dual_add_f32 v14, v12, v9 :: v_dual_sub_f32 v11, v13, v11
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v10, v14, v12
	v_dual_add_f32 v8, v8, v11 :: v_dual_sub_f32 v9, v9, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v8, v8, v9
	v_add_f32_e32 v8, v14, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v6, v8, v7, vcc_lo
	v_add_f32_e32 v6, v5, v6
.LBB1_8:                                ; %Flow
                                        ;   in Loop: Header=BB1_5 Depth=2
	s_or_b32 exec_lo, exec_lo, s20
	s_delay_alu instid0(VALU_DEP_1)
	v_mov_b32_e32 v5, v6
.LBB1_9:                                ; %_Z8log_plusff.exit
                                        ;   in Loop: Header=BB1_5 Depth=2
	s_or_b32 exec_lo, exec_lo, s19
	v_add_nc_u32_e32 v1, 1, v1
	v_add_co_u32 v3, s0, v3, 12
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_ci_u32_e64 v4, s0, 0, v4, s0
	v_cmp_ge_i32_e32 vcc_lo, v1, v2
	s_or_b32 s18, vcc_lo, s18
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_not1_b32 exec_lo, exec_lo, s18
	s_cbranch_execnz .LBB1_5
; %bb.10:                               ; %Flow88
                                        ;   in Loop: Header=BB1_3 Depth=1
	s_or_b32 exec_lo, exec_lo, s18
.LBB1_11:                               ; %Flow89
                                        ;   in Loop: Header=BB1_3 Depth=1
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_2) | instid1(VALU_DEP_2)
	s_or_b32 exec_lo, exec_lo, s17
	v_add_nc_u32_e32 v1, s12, v0
	v_add_nc_u32_e32 v0, s15, v0
	v_ashrrev_i32_e32 v2, 31, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_le_i32_e32 vcc_lo, s2, v0
	v_lshlrev_b64 v[1:2], 2, v[1:2]
	s_or_b32 s13, vcc_lo, s13
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v1, s0, s8, v1
	v_add_co_ci_u32_e64 v2, s0, s9, v2, s0
	global_store_b32 v[1:2], v5, off
	s_and_not1_b32 exec_lo, exec_lo, s13
	s_cbranch_execnz .LBB1_3
.LBB1_12:                               ; %.loopexit
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 320
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 20
		.amdhsa_next_free_sgpr 21
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end1:
	.size	_Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition, .Lfunc_end1-_Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1388
; NumSgprs: 23
; NumVgprs: 20
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 2
; NumSGPRsForWavesPerEU: 23
; NumVGPRsForWavesPerEU: 20
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z17alpha_last_kernelPfiiiPKiPKf ; -- Begin function _Z17alpha_last_kernelPfiiiPKiPKf
	.globl	_Z17alpha_last_kernelPfiiiPKiPKf
	.p2align	8
	.type	_Z17alpha_last_kernelPfiiiPKiPKf,@function
_Z17alpha_last_kernelPfiiiPKiPKf:       ; @_Z17alpha_last_kernelPfiiiPKiPKf
; %bb.0:
	s_load_b32 s8, s[0:1], 0x8
	s_mov_b32 s3, exec_lo
	s_waitcnt lgkmcnt(0)
	v_cmpx_gt_i32_e64 s8, v0
	s_cbranch_execz .LBB2_3
; %bb.1:                                ; %.lr.ph
	s_load_b128 s[4:7], s[0:1], 0x18
	s_mov_b32 s2, s15
	s_ashr_i32 s3, s15, 31
	s_delay_alu instid0(SALU_CYCLE_1)
	s_lshl_b64 s[10:11], s[2:3], 2
	s_clause 0x1
	s_load_b32 s3, s[0:1], 0x34
	s_load_b32 s9, s[0:1], 0x10
	s_waitcnt lgkmcnt(0)
	s_add_u32 s4, s4, s10
	s_addc_u32 s5, s5, s11
	s_load_b32 s4, s[4:5], 0x0
	s_load_b64 s[0:1], s[0:1], 0x0
	s_and_b32 s2, s3, 0xffff
	s_add_i32 s5, s9, 1
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_2) | instid1(SALU_CYCLE_1)
	s_mul_i32 s5, s5, s15
	s_waitcnt lgkmcnt(0)
	s_add_i32 s4, s4, s5
	s_mul_i32 s3, s4, s8
	s_mov_b32 s4, 0
.LBB2_2:                                ; =>This Inner Loop Header: Depth=1
	v_add_nc_u32_e32 v2, s3, v0
	v_ashrrev_i32_e32 v1, 31, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_ashrrev_i32_e32 v3, 31, v2
	v_lshlrev_b64 v[4:5], 2, v[0:1]
	v_add_nc_u32_e32 v0, s2, v0
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_lshlrev_b64 v[1:2], 2, v[2:3]
	v_add_co_u32 v3, vcc_lo, s6, v4
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_ci_u32_e32 v4, vcc_lo, s7, v5, vcc_lo
	v_add_co_u32 v1, vcc_lo, s0, v1
	s_delay_alu instid0(VALU_DEP_4)
	v_add_co_ci_u32_e32 v2, vcc_lo, s1, v2, vcc_lo
	v_cmp_le_i32_e32 vcc_lo, s8, v0
	global_load_b32 v3, v[3:4], off
	global_load_b32 v4, v[1:2], off
	s_or_b32 s4, vcc_lo, s4
	s_waitcnt vmcnt(0)
	v_add_f32_e32 v3, v3, v4
	global_store_b32 v[1:2], v3, off
	s_and_not1_b32 exec_lo, exec_lo, s4
	s_cbranch_execnz .LBB2_2
.LBB2_3:                                ; %Flow31
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z17alpha_last_kernelPfiiiPKiPKf
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 296
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 6
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end2:
	.size	_Z17alpha_last_kernelPfiiiPKiPKf, .Lfunc_end2-_Z17alpha_last_kernelPfiiiPKiPKf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 268
; NumSgprs: 18
; NumVgprs: 6
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 6
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z16alpha_lld_kernalPKfiiPKiPf ; -- Begin function _Z16alpha_lld_kernalPKfiiPKiPf
	.globl	_Z16alpha_lld_kernalPKfiiPKiPf
	.p2align	8
	.type	_Z16alpha_lld_kernalPKfiiPKiPf,@function
_Z16alpha_lld_kernalPKfiiPKiPf:         ; @_Z16alpha_lld_kernalPKfiiPKiPf
; %bb.0:
	s_clause 0x2
	s_load_b64 s[8:9], s[0:1], 0x8
	s_load_b32 s3, s[0:1], 0x2c
	s_load_b128 s[4:7], s[0:1], 0x10
	v_mov_b32_e32 v2, 0xff800000
	s_mov_b32 s2, s15
	s_mov_b32 s11, exec_lo
	s_waitcnt lgkmcnt(0)
	s_and_b32 s10, s3, 0xffff
	s_ashr_i32 s3, s15, 31
	v_cmpx_gt_i32_e64 s8, v0
	s_cbranch_execz .LBB3_8
; %bb.1:                                ; %.lr.ph
	s_lshl_b64 s[12:13], s[2:3], 2
	s_add_i32 s9, s9, 1
	s_add_u32 s4, s4, s12
	s_addc_u32 s5, s5, s13
	s_mul_i32 s9, s9, s2
	s_load_b32 s12, s[4:5], 0x0
	s_load_b64 s[4:5], s[0:1], 0x0
	v_mov_b32_e32 v3, 0xff800000
	v_mov_b32_e32 v1, v0
	s_mov_b32 s13, 0x3e9b6dac
	s_waitcnt lgkmcnt(0)
	s_add_i32 s12, s12, s9
	s_mov_b32 s9, 0
	s_mul_i32 s12, s12, s8
.LBB3_2:                                ; =>This Inner Loop Header: Depth=1
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_add_nc_u32_e32 v4, s12, v1
	s_mov_b32 s14, exec_lo
	v_ashrrev_i32_e32 v5, 31, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[4:5], 2, v[4:5]
	v_add_co_u32 v4, vcc_lo, s4, v4
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v5, vcc_lo, s5, v5, vcc_lo
	global_load_b32 v2, v[4:5], off
	v_cmpx_neq_f32_e32 0xff800000, v3
	s_cbranch_execz .LBB3_6
; %bb.3:                                ;   in Loop: Header=BB3_2 Depth=1
	s_mov_b32 s15, exec_lo
	s_waitcnt vmcnt(0)
	v_cmpx_neq_f32_e32 0xff800000, v2
	s_cbranch_execz .LBB3_5
; %bb.4:                                ;   in Loop: Header=BB3_2 Depth=1
	v_sub_f32_e32 v4, v3, v2
	v_cmp_gt_f32_e64 s1, v3, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mul_f32_e64 v5, 0xbfb8aa3b, |v4|
	v_cndmask_b32_e64 v2, v2, v3, s1
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_fma_f32 v6, 0xbfb8aa3b, |v4|, -v5
	v_rndne_f32_e32 v7, v5
	v_sub_f32_e32 v5, v5, v7
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fma_f32 v6, 0xb2a5705f, |v4|, v6
	v_cmp_nlt_f32_e64 vcc_lo, 0x42ce8ed0, |v4|
	v_add_f32_e32 v5, v5, v6
	v_cvt_i32_f32_e32 v6, v7
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_exp_f32_e32 v5, v5
	s_waitcnt_depctr 0xfff
	v_ldexp_f32 v5, v5, v6
	v_cndmask_b32_e32 v5, 0, v5, vcc_lo
	v_cmp_ngt_f32_e64 vcc_lo, 0xc2b17218, |v4|
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v4, 0x7f800000, v5, vcc_lo
	v_add_f32_e32 v5, 1.0, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_frexp_mant_f32_e32 v6, v5
	v_frexp_exp_i32_f32_e32 v7, v5
	v_cmp_gt_f32_e32 vcc_lo, 0x3f2aaaab, v6
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_subrev_co_ci_u32_e32 v6, vcc_lo, 0, v7, vcc_lo
	v_add_f32_e32 v7, -1.0, v5
	v_sub_nc_u32_e32 v8, 0, v6
	v_cvt_f32_i32_e32 v6, v6
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v9, v7, v5
	v_ldexp_f32 v5, v5, v8
	v_sub_f32_e32 v7, v4, v7
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f32_e32 v9, 1.0, v9
	v_add_f32_e32 v10, 1.0, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v7, v7, v9
	v_add_f32_e32 v9, -1.0, v10
	v_cmp_eq_f32_e32 vcc_lo, 0x7f800000, v4
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_3) | instid1(VALU_DEP_3)
	v_ldexp_f32 v7, v7, v8
	v_add_f32_e32 v8, -1.0, v5
	v_cmp_gt_f32_e64 s0, 0x33800000, v4
	v_sub_f32_e32 v9, v5, v9
	v_add_f32_e32 v11, 1.0, v8
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	s_or_b32 vcc_lo, s0, vcc_lo
	v_add_f32_e32 v9, v7, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v5, v5, v11
	v_add_f32_e32 v11, v10, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v5, v7, v5
	v_rcp_f32_e32 v7, v11
	v_sub_f32_e32 v10, v10, v11
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v12, v8, v5 :: v_dual_add_f32 v9, v9, v10
	v_sub_f32_e32 v8, v8, v12
	s_waitcnt_depctr 0xfff
	v_mul_f32_e32 v13, v12, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v5, v5, v8 :: v_dual_mul_f32 v14, v11, v13
	v_fma_f32 v10, v13, v11, -v14
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v10, v13, v9
	v_add_f32_e32 v15, v14, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v16, v12, v15
	v_sub_f32_e32 v8, v15, v14
	v_sub_f32_e32 v12, v12, v16
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v8, v8, v10
	v_sub_f32_e32 v12, v12, v15
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v5, v5, v12
	v_add_f32_e32 v5, v8, v5
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v8, v16, v5
	v_mul_f32_e32 v10, v7, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v15, v16, v8 :: v_dual_mul_f32 v12, v11, v10
	v_add_f32_e32 v5, v5, v15
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v11, v10, v11, -v12
	v_fmac_f32_e32 v11, v10, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v9, v12, v11
	v_sub_f32_e32 v14, v8, v9
	v_sub_f32_e32 v12, v9, v12
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v8, v8, v14
	v_sub_f32_e32 v8, v8, v9
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v9, v12, v11
	v_add_f32_e32 v5, v5, v8
	v_add_f32_e32 v8, v13, v10
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v5, v9, v5
	v_sub_f32_e32 v9, v8, v13
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v5, v14, v5
	v_sub_f32_e32 v9, v10, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v5, v7, v5
	v_add_f32_e32 v5, v9, v5
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v7, v8, v5
	v_mul_f32_e32 v9, v7, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fmaak_f32 v10, s13, v9, 0x3ecc95a3
	v_mul_f32_e32 v11, v7, v9
	v_fmaak_f32 v9, v9, v10, 0x3f2aaada
	v_ldexp_f32 v10, v7, 1
	v_sub_f32_e32 v7, v7, v8
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f32_e32 v9, v11, v9
	v_mul_f32_e32 v11, 0x3f317218, v6
	v_dual_sub_f32 v5, v5, v7 :: v_dual_add_f32 v8, v10, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_ldexp_f32 v5, v5, 1
	v_sub_f32_e32 v7, v8, v10
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v10, 0x3f317218, v6, -v11
	v_dual_sub_f32 v7, v9, v7 :: v_dual_fmac_f32 v10, 0xb102e308, v6
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v5, v5, v7 :: v_dual_add_f32 v6, v11, v10
	v_add_f32_e32 v7, v8, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v11, v6, v11
	v_dual_add_f32 v9, v6, v7 :: v_dual_sub_f32 v8, v7, v8
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v10, v10, v11
	v_sub_f32_e32 v12, v9, v6
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v5, v5, v8
	v_dual_sub_f32 v13, v9, v12 :: v_dual_add_f32 v8, v10, v5
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v7, v7, v12 :: v_dual_sub_f32 v6, v6, v13
	v_add_f32_e32 v6, v7, v6
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v7, v8, v10
	v_add_f32_e32 v6, v8, v6
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v8, v8, v7
	v_sub_f32_e32 v5, v5, v7
	v_dual_add_f32 v11, v9, v6 :: v_dual_sub_f32 v8, v10, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v7, v11, v9
	v_dual_add_f32 v5, v5, v8 :: v_dual_sub_f32 v6, v6, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v5, v5, v6
	v_add_f32_e32 v5, v11, v5
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v3, v5, v4, vcc_lo
	v_add_f32_e32 v3, v2, v3
.LBB3_5:                                ; %Flow73
                                        ;   in Loop: Header=BB3_2 Depth=1
	s_or_b32 exec_lo, exec_lo, s15
	s_delay_alu instid0(VALU_DEP_1)
	v_mov_b32_e32 v2, v3
.LBB3_6:                                ; %_Z8log_plusff.exit
                                        ;   in Loop: Header=BB3_2 Depth=1
	s_or_b32 exec_lo, exec_lo, s14
	v_add_nc_u32_e32 v1, s10, v1
	s_waitcnt vmcnt(0)
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mov_b32_e32 v3, v2
	v_cmp_le_i32_e32 vcc_lo, s8, v1
	s_or_b32 s9, vcc_lo, s9
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_not1_b32 exec_lo, exec_lo, s9
	s_cbranch_execnz .LBB3_2
; %bb.7:                                ; %Flow74
	s_or_b32 exec_lo, exec_lo, s9
.LBB3_8:                                ; %Flow75
	s_delay_alu instid0(SALU_CYCLE_1)
	s_or_b32 exec_lo, exec_lo, s11
	v_lshl_add_u32 v1, v0, 2, 0
	s_cmpk_lt_u32 s10, 0x42
	ds_store_b32 v1, v2
	s_waitcnt lgkmcnt(0)
	s_barrier
	buffer_gl0_inv
	s_cbranch_scc1 .LBB3_17
; %bb.9:
	s_mov_b32 s4, 0x3e9b6dac
.LBB3_10:                               ; %.lr.ph52
                                        ; =>This Inner Loop Header: Depth=1
	s_lshr_b32 s5, s10, 1
	s_mov_b32 s8, exec_lo
	v_cmpx_gt_u32_e64 s5, v0
	s_cbranch_execz .LBB3_16
; %bb.11:                               ;   in Loop: Header=BB3_10 Depth=1
	v_lshl_add_u32 v3, s5, 2, v1
	s_mov_b32 s9, exec_lo
	ds_load_b32 v2, v1
	ds_load_b32 v3, v3
	s_waitcnt lgkmcnt(1)
	v_cmpx_neq_f32_e32 0xff800000, v2
	s_cbranch_execz .LBB3_15
; %bb.12:                               ;   in Loop: Header=BB3_10 Depth=1
	s_mov_b32 s11, exec_lo
	s_waitcnt lgkmcnt(0)
	v_cmpx_neq_f32_e32 0xff800000, v3
	s_cbranch_execz .LBB3_14
; %bb.13:                               ;   in Loop: Header=BB3_10 Depth=1
	v_sub_f32_e32 v4, v2, v3
	v_cmp_gt_f32_e64 s1, v2, v3
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mul_f32_e64 v5, 0xbfb8aa3b, |v4|
	v_cndmask_b32_e64 v2, v3, v2, s1
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fma_f32 v6, 0xbfb8aa3b, |v4|, -v5
	v_rndne_f32_e32 v7, v5
	v_fma_f32 v6, 0xb2a5705f, |v4|, v6
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v5, v5, v7
	v_add_f32_e32 v5, v5, v6
	v_cvt_i32_f32_e32 v6, v7
	v_cmp_nlt_f32_e64 vcc_lo, 0x42ce8ed0, |v4|
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_exp_f32_e32 v5, v5
	s_waitcnt_depctr 0xfff
	v_ldexp_f32 v5, v5, v6
	v_cndmask_b32_e32 v5, 0, v5, vcc_lo
	v_cmp_ngt_f32_e64 vcc_lo, 0xc2b17218, |v4|
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v4, 0x7f800000, v5, vcc_lo
	v_add_f32_e32 v5, 1.0, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_frexp_mant_f32_e32 v6, v5
	v_frexp_exp_i32_f32_e32 v7, v5
	v_cmp_gt_f32_e32 vcc_lo, 0x3f2aaaab, v6
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_subrev_co_ci_u32_e32 v6, vcc_lo, 0, v7, vcc_lo
	v_add_f32_e32 v7, -1.0, v5
	v_sub_nc_u32_e32 v8, 0, v6
	v_cvt_f32_i32_e32 v6, v6
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v9, v7, v5
	v_ldexp_f32 v5, v5, v8
	v_sub_f32_e32 v7, v4, v7
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f32_e32 v9, 1.0, v9
	v_add_f32_e32 v10, 1.0, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v7, v7, v9
	v_add_f32_e32 v9, -1.0, v10
	v_cmp_eq_f32_e32 vcc_lo, 0x7f800000, v4
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_3) | instid1(VALU_DEP_3)
	v_ldexp_f32 v7, v7, v8
	v_add_f32_e32 v8, -1.0, v5
	v_cmp_gt_f32_e64 s0, 0x33800000, v4
	v_sub_f32_e32 v9, v5, v9
	v_add_f32_e32 v11, 1.0, v8
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	s_or_b32 vcc_lo, s0, vcc_lo
	v_add_f32_e32 v9, v7, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v5, v5, v11
	v_add_f32_e32 v11, v10, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v5, v7, v5
	v_rcp_f32_e32 v7, v11
	v_sub_f32_e32 v10, v10, v11
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v12, v8, v5 :: v_dual_add_f32 v9, v9, v10
	v_sub_f32_e32 v8, v8, v12
	s_waitcnt_depctr 0xfff
	v_mul_f32_e32 v13, v12, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v5, v5, v8 :: v_dual_mul_f32 v14, v11, v13
	v_fma_f32 v10, v13, v11, -v14
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v10, v13, v9
	v_add_f32_e32 v15, v14, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v16, v12, v15
	v_sub_f32_e32 v8, v15, v14
	v_sub_f32_e32 v12, v12, v16
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v8, v8, v10
	v_sub_f32_e32 v12, v12, v15
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v5, v5, v12
	v_add_f32_e32 v5, v8, v5
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v8, v16, v5
	v_mul_f32_e32 v10, v7, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v15, v16, v8 :: v_dual_mul_f32 v12, v11, v10
	v_fma_f32 v11, v10, v11, -v12
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v11, v10, v9
	v_add_f32_e32 v9, v12, v11
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v14, v8, v9
	v_sub_f32_e32 v12, v9, v12
	v_dual_add_f32 v5, v5, v15 :: v_dual_sub_f32 v8, v8, v14
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v8, v8, v9
	v_add_f32_e32 v5, v5, v8
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v8, v13, v10 :: v_dual_sub_f32 v9, v12, v11
	v_add_f32_e32 v5, v9, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v9, v8, v13
	v_add_f32_e32 v5, v14, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v9, v10, v9
	v_mul_f32_e32 v5, v7, v5
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v5, v9, v5
	v_add_f32_e32 v7, v8, v5
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v9, v7, v7
	v_fmaak_f32 v10, s4, v9, 0x3ecc95a3
	v_mul_f32_e32 v11, v7, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fmaak_f32 v9, v9, v10, 0x3f2aaada
	v_ldexp_f32 v10, v7, 1
	v_sub_f32_e32 v7, v7, v8
	v_mul_f32_e32 v9, v11, v9
	v_mul_f32_e32 v11, 0x3f317218, v6
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v5, v5, v7 :: v_dual_add_f32 v8, v10, v9
	v_ldexp_f32 v5, v5, 1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_sub_f32_e32 v7, v8, v10
	v_fma_f32 v10, 0x3f317218, v6, -v11
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v7, v9, v7 :: v_dual_fmac_f32 v10, 0xb102e308, v6
	v_dual_add_f32 v5, v5, v7 :: v_dual_add_f32 v6, v11, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v7, v8, v5
	v_sub_f32_e32 v11, v6, v11
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_add_f32 v9, v6, v7 :: v_dual_sub_f32 v8, v7, v8
	v_sub_f32_e32 v10, v10, v11
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v12, v9, v6
	v_sub_f32_e32 v5, v5, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v13, v9, v12 :: v_dual_add_f32 v8, v10, v5
	v_dual_sub_f32 v7, v7, v12 :: v_dual_sub_f32 v6, v6, v13
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f32_e32 v6, v7, v6
	v_sub_f32_e32 v7, v8, v10
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v6, v8, v6
	v_sub_f32_e32 v8, v8, v7
	v_sub_f32_e32 v5, v5, v7
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v11, v9, v6 :: v_dual_sub_f32 v8, v10, v8
	v_sub_f32_e32 v7, v11, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v5, v5, v8 :: v_dual_sub_f32 v6, v6, v7
	v_add_f32_e32 v5, v5, v6
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v5, v11, v5
	v_cndmask_b32_e32 v3, v5, v4, vcc_lo
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f32_e32 v2, v2, v3
.LBB3_14:                               ; %Flow69
                                        ;   in Loop: Header=BB3_10 Depth=1
	s_or_b32 exec_lo, exec_lo, s11
	s_delay_alu instid0(VALU_DEP_1)
	v_mov_b32_e32 v3, v2
.LBB3_15:                               ; %_Z8log_plusff.exit44
                                        ;   in Loop: Header=BB3_10 Depth=1
	s_or_b32 exec_lo, exec_lo, s9
	s_waitcnt lgkmcnt(0)
	ds_store_b32 v1, v3
.LBB3_16:                               ; %Flow70
                                        ;   in Loop: Header=BB3_10 Depth=1
	s_or_b32 exec_lo, exec_lo, s8
	s_cmpk_lt_u32 s10, 0x84
	s_mov_b32 s10, s5
	s_waitcnt lgkmcnt(0)
	s_barrier
	buffer_gl0_inv
	s_cbranch_scc0 .LBB3_10
.LBB3_17:                               ; %._crit_edge53
	s_mov_b32 s5, 32
	s_mov_b32 s4, exec_lo
	v_cmpx_gt_u32_e32 32, v0
	s_cbranch_execz .LBB3_26
; %bb.18:                               ; %.preheader
	ds_load_b32 v2, v1
	s_mov_b32 s8, 0x3e9b6dac
.LBB3_19:                               ; =>This Inner Loop Header: Depth=1
	v_lshl_add_u32 v3, s5, 2, v1
	s_mov_b32 s9, exec_lo
	ds_load_b32 v3, v3
	s_waitcnt lgkmcnt(1)
	v_cmpx_neq_f32_e32 0xff800000, v2
	s_cbranch_execz .LBB3_23
; %bb.20:                               ;   in Loop: Header=BB3_19 Depth=1
	s_mov_b32 s10, exec_lo
	s_waitcnt lgkmcnt(0)
	v_cmpx_neq_f32_e32 0xff800000, v3
	s_cbranch_execz .LBB3_22
; %bb.21:                               ;   in Loop: Header=BB3_19 Depth=1
	v_sub_f32_e32 v4, v2, v3
	v_cmp_gt_f32_e64 s1, v2, v3
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mul_f32_e64 v5, 0xbfb8aa3b, |v4|
	v_cndmask_b32_e64 v2, v3, v2, s1
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fma_f32 v6, 0xbfb8aa3b, |v4|, -v5
	v_rndne_f32_e32 v7, v5
	v_fma_f32 v6, 0xb2a5705f, |v4|, v6
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v5, v5, v7
	v_add_f32_e32 v5, v5, v6
	v_cvt_i32_f32_e32 v6, v7
	v_cmp_nlt_f32_e64 vcc_lo, 0x42ce8ed0, |v4|
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_exp_f32_e32 v5, v5
	s_waitcnt_depctr 0xfff
	v_ldexp_f32 v5, v5, v6
	v_cndmask_b32_e32 v5, 0, v5, vcc_lo
	v_cmp_ngt_f32_e64 vcc_lo, 0xc2b17218, |v4|
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v4, 0x7f800000, v5, vcc_lo
	v_add_f32_e32 v5, 1.0, v4
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_frexp_mant_f32_e32 v6, v5
	v_frexp_exp_i32_f32_e32 v7, v5
	v_cmp_gt_f32_e32 vcc_lo, 0x3f2aaaab, v6
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_subrev_co_ci_u32_e32 v6, vcc_lo, 0, v7, vcc_lo
	v_add_f32_e32 v7, -1.0, v5
	v_sub_nc_u32_e32 v8, 0, v6
	v_cvt_f32_i32_e32 v6, v6
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v9, v7, v5
	v_ldexp_f32 v5, v5, v8
	v_sub_f32_e32 v7, v4, v7
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f32_e32 v9, 1.0, v9
	v_add_f32_e32 v10, 1.0, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v7, v7, v9
	v_add_f32_e32 v9, -1.0, v10
	v_cmp_eq_f32_e32 vcc_lo, 0x7f800000, v4
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_3) | instid1(VALU_DEP_3)
	v_ldexp_f32 v7, v7, v8
	v_add_f32_e32 v8, -1.0, v5
	v_cmp_gt_f32_e64 s0, 0x33800000, v4
	v_sub_f32_e32 v9, v5, v9
	v_add_f32_e32 v11, 1.0, v8
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	s_or_b32 vcc_lo, s0, vcc_lo
	v_add_f32_e32 v9, v7, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v5, v5, v11
	v_add_f32_e32 v11, v10, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v5, v7, v5
	v_rcp_f32_e32 v7, v11
	v_sub_f32_e32 v10, v10, v11
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v12, v8, v5 :: v_dual_add_f32 v9, v9, v10
	v_sub_f32_e32 v8, v8, v12
	s_waitcnt_depctr 0xfff
	v_mul_f32_e32 v13, v12, v7
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v5, v5, v8 :: v_dual_mul_f32 v14, v11, v13
	v_fma_f32 v10, v13, v11, -v14
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v10, v13, v9
	v_add_f32_e32 v15, v14, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v16, v12, v15
	v_sub_f32_e32 v8, v15, v14
	v_sub_f32_e32 v12, v12, v16
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v8, v8, v10
	v_sub_f32_e32 v12, v12, v15
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v5, v5, v12
	v_add_f32_e32 v5, v8, v5
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v8, v16, v5
	v_mul_f32_e32 v10, v7, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v15, v16, v8 :: v_dual_mul_f32 v12, v11, v10
	v_fma_f32 v11, v10, v11, -v12
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v11, v10, v9
	v_add_f32_e32 v9, v12, v11
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v14, v8, v9
	v_sub_f32_e32 v12, v9, v12
	v_dual_add_f32 v5, v5, v15 :: v_dual_sub_f32 v8, v8, v14
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v8, v8, v9
	v_add_f32_e32 v5, v5, v8
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v8, v13, v10 :: v_dual_sub_f32 v9, v12, v11
	v_add_f32_e32 v5, v9, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v9, v8, v13
	v_add_f32_e32 v5, v14, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v9, v10, v9
	v_mul_f32_e32 v5, v7, v5
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v5, v9, v5
	v_add_f32_e32 v7, v8, v5
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v9, v7, v7
	v_fmaak_f32 v10, s8, v9, 0x3ecc95a3
	v_mul_f32_e32 v11, v7, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_fmaak_f32 v9, v9, v10, 0x3f2aaada
	v_ldexp_f32 v10, v7, 1
	v_sub_f32_e32 v7, v7, v8
	v_mul_f32_e32 v9, v11, v9
	v_mul_f32_e32 v11, 0x3f317218, v6
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v5, v5, v7 :: v_dual_add_f32 v8, v10, v9
	v_ldexp_f32 v5, v5, 1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_sub_f32_e32 v7, v8, v10
	v_fma_f32 v10, 0x3f317218, v6, -v11
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v7, v9, v7 :: v_dual_fmac_f32 v10, 0xb102e308, v6
	v_dual_add_f32 v5, v5, v7 :: v_dual_add_f32 v6, v11, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v7, v8, v5
	v_sub_f32_e32 v11, v6, v11
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_add_f32 v9, v6, v7 :: v_dual_sub_f32 v8, v7, v8
	v_sub_f32_e32 v10, v10, v11
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v12, v9, v6
	v_sub_f32_e32 v5, v5, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v13, v9, v12 :: v_dual_add_f32 v8, v10, v5
	v_dual_sub_f32 v7, v7, v12 :: v_dual_sub_f32 v6, v6, v13
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f32_e32 v6, v7, v6
	v_sub_f32_e32 v7, v8, v10
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v6, v8, v6
	v_sub_f32_e32 v8, v8, v7
	v_sub_f32_e32 v5, v5, v7
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v11, v9, v6 :: v_dual_sub_f32 v8, v10, v8
	v_sub_f32_e32 v7, v11, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v5, v5, v8 :: v_dual_sub_f32 v6, v6, v7
	v_add_f32_e32 v5, v5, v6
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v5, v11, v5
	v_cndmask_b32_e32 v3, v5, v4, vcc_lo
	s_delay_alu instid0(VALU_DEP_1)
	v_add_f32_e32 v2, v2, v3
.LBB3_22:                               ; %Flow
                                        ;   in Loop: Header=BB3_19 Depth=1
	s_or_b32 exec_lo, exec_lo, s10
	s_delay_alu instid0(VALU_DEP_1)
	v_mov_b32_e32 v3, v2
.LBB3_23:                               ; %_Z8log_plusff.exit46
                                        ;   in Loop: Header=BB3_19 Depth=1
	s_or_b32 exec_lo, exec_lo, s9
	s_lshr_b32 s0, s5, 1
	s_cmp_gt_u32 s5, 1
	s_cbranch_scc0 .LBB3_25
; %bb.24:                               ;   in Loop: Header=BB3_19 Depth=1
	s_waitcnt lgkmcnt(0)
	v_mov_b32_e32 v2, v3
	s_mov_b32 s5, s0
	s_branch .LBB3_19
.LBB3_25:                               ; %.loopexit
	s_waitcnt lgkmcnt(0)
	ds_store_b32 v1, v3
.LBB3_26:                               ; %Flow68
	s_or_b32 exec_lo, exec_lo, s4
	s_waitcnt lgkmcnt(0)
	s_barrier
	buffer_gl0_inv
	s_mov_b32 s0, exec_lo
	v_cmpx_eq_u32_e32 0, v0
	s_cbranch_execz .LBB3_28
; %bb.27:
	v_mov_b32_e32 v0, 0
	s_lshl_b64 s[0:1], s[2:3], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_add_u32 s0, s6, s0
	s_addc_u32 s1, s7, s1
	ds_load_b32 v1, v0
	s_waitcnt lgkmcnt(0)
	global_store_b32 v0, v1, s[0:1]
.LBB3_28:
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z16alpha_lld_kernalPKfiiPKiPf
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 288
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 17
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end3:
	.size	_Z16alpha_lld_kernalPKfiiPKiPf, .Lfunc_end3-_Z16alpha_lld_kernalPKfiiPKiPf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 3112
; NumSgprs: 18
; NumVgprs: 17
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 2
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 17
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z16beta_last_kernelPfiiPKiPKf ; -- Begin function _Z16beta_last_kernelPfiiPKiPKf
	.globl	_Z16beta_last_kernelPfiiPKiPKf
	.p2align	8
	.type	_Z16beta_last_kernelPfiiPKiPKf,@function
_Z16beta_last_kernelPfiiPKiPKf:         ; @_Z16beta_last_kernelPfiiPKiPKf
; %bb.0:
	s_load_b32 s10, s[0:1], 0x8
	s_mov_b32 s2, exec_lo
	s_waitcnt lgkmcnt(0)
	v_cmpx_gt_i32_e64 s10, v0
	s_cbranch_execz .LBB4_3
; %bb.1:                                ; %.lr.ph
	s_load_b128 s[4:7], s[0:1], 0x10
	s_mov_b32 s8, s15
	s_ashr_i32 s9, s15, 31
	s_delay_alu instid0(SALU_CYCLE_1)
	s_lshl_b64 s[2:3], s[8:9], 2
	s_waitcnt lgkmcnt(0)
	s_add_u32 s2, s4, s2
	s_addc_u32 s3, s5, s3
	s_load_b32 s4, s[2:3], 0x0
	s_clause 0x1
	s_load_b32 s5, s[0:1], 0x2c
	s_load_b64 s[2:3], s[0:1], 0x0
	s_lshl_b32 s1, s15, 1
	s_waitcnt lgkmcnt(0)
	s_lshr_b32 s0, s4, 31
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_add_i32 s0, s4, s0
	s_and_b32 s0, s0, -2
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(NEXT) | instid1(SALU_CYCLE_1)
	s_sub_i32 s0, s4, s0
	s_add_i32 s4, s0, s1
	s_and_b32 s1, s5, 0xffff
	s_mul_i32 s4, s4, s10
	s_mov_b32 s5, 0
.LBB4_2:                                ; =>This Inner Loop Header: Depth=1
	v_ashrrev_i32_e32 v1, 31, v0
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[1:2], 2, v[0:1]
	v_add_co_u32 v1, vcc_lo, s6, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_3) | instid1(VALU_DEP_2)
	v_add_co_ci_u32_e32 v2, vcc_lo, s7, v2, vcc_lo
	global_load_b32 v3, v[1:2], off
	v_add_nc_u32_e32 v1, s4, v0
	v_add_nc_u32_e32 v0, s1, v0
	v_ashrrev_i32_e32 v2, 31, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_le_i32_e32 vcc_lo, s10, v0
	v_lshlrev_b64 v[1:2], 2, v[1:2]
	s_or_b32 s5, vcc_lo, s5
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v1, s0, s2, v1
	v_add_co_ci_u32_e64 v2, s0, s3, v2, s0
	s_waitcnt vmcnt(0)
	global_store_b32 v[1:2], v3, off
	s_and_not1_b32 exec_lo, exec_lo, s5
	s_cbranch_execnz .LBB4_2
.LBB4_3:                                ; %Flow27
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z16beta_last_kernelPfiiPKiPKf
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 288
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 4
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end4:
	.size	_Z16beta_last_kernelPfiiPKiPKf, .Lfunc_end4-_Z16beta_last_kernelPfiiPKiPKf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 268
; NumSgprs: 18
; NumVgprs: 4
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 4
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z17beta_first_kernelPfiiPKf ; -- Begin function _Z17beta_first_kernelPfiiPKf
	.globl	_Z17beta_first_kernelPfiiPKf
	.p2align	8
	.type	_Z17beta_first_kernelPfiiPKf,@function
_Z17beta_first_kernelPfiiPKf:           ; @_Z17beta_first_kernelPfiiPKf
; %bb.0:
	s_load_b32 s4, s[0:1], 0x8
	s_mov_b32 s2, exec_lo
	s_waitcnt lgkmcnt(0)
	v_cmpx_gt_i32_e64 s4, v0
	s_cbranch_execz .LBB5_3
; %bb.1:                                ; %.lr.ph
	s_clause 0x2
	s_load_b32 s6, s[0:1], 0x24
	s_load_b64 s[2:3], s[0:1], 0x0
	s_load_b64 s[0:1], s[0:1], 0x10
	s_mul_i32 s15, s15, s4
	s_mov_b32 s7, 0
	s_lshl_b32 s5, s15, 1
	s_waitcnt lgkmcnt(0)
	s_and_b32 s6, s6, 0xffff
.LBB5_2:                                ; =>This Inner Loop Header: Depth=1
	v_add_nc_u32_e32 v2, s5, v0
	v_ashrrev_i32_e32 v1, 31, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_ashrrev_i32_e32 v3, 31, v2
	v_lshlrev_b64 v[4:5], 2, v[0:1]
	v_add_nc_u32_e32 v0, s6, v0
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_lshlrev_b64 v[1:2], 2, v[2:3]
	v_add_co_u32 v3, vcc_lo, s0, v4
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_ci_u32_e32 v4, vcc_lo, s1, v5, vcc_lo
	v_add_co_u32 v1, vcc_lo, s2, v1
	s_delay_alu instid0(VALU_DEP_4)
	v_add_co_ci_u32_e32 v2, vcc_lo, s3, v2, vcc_lo
	v_cmp_le_i32_e32 vcc_lo, s4, v0
	global_load_b32 v3, v[3:4], off
	global_load_b32 v4, v[1:2], off
	s_or_b32 s7, vcc_lo, s7
	s_waitcnt vmcnt(0)
	v_add_f32_e32 v3, v3, v4
	global_store_b32 v[1:2], v3, off
	s_and_not1_b32 exec_lo, exec_lo, s7
	s_cbranch_execnz .LBB5_2
.LBB5_3:                                ; %Flow18
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z17beta_first_kernelPfiiPKf
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 280
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 6
		.amdhsa_next_free_sgpr 16
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end5:
	.size	_Z17beta_first_kernelPfiiPKf, .Lfunc_end5-_Z17beta_first_kernelPfiiPKf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 212
; NumSgprs: 18
; NumVgprs: 6
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 18
; NumVGPRsForWavesPerEU: 6
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition ; -- Begin function _Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition
	.globl	_Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition
	.p2align	8
	.type	_Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition,@function
_Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition: ; @_Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition
; %bb.0:
	s_load_b64 s[4:5], s[0:1], 0x30
	s_mov_b32 s2, s15
	s_ashr_i32 s3, s15, 31
	s_delay_alu instid0(SALU_CYCLE_1)
	s_lshl_b64 s[6:7], s[2:3], 2
	s_waitcnt lgkmcnt(0)
	s_add_u32 s4, s4, s6
	s_addc_u32 s5, s5, s7
	s_load_b64 s[18:19], s[0:1], 0x24
	s_load_b32 s3, s[4:5], 0x0
	s_waitcnt lgkmcnt(0)
	s_cmp_le_i32 s3, s19
	s_cbranch_scc1 .LBB6_21
; %bb.1:
	s_load_b64 s[16:17], s[0:1], 0x38
	s_mov_b32 s3, exec_lo
	s_waitcnt lgkmcnt(0)
	v_cmpx_gt_i32_e64 s16, v0
	s_cbranch_execz .LBB6_21
; %bb.2:                                ; %.lr.ph77
	s_mul_i32 s4, s2, s16
	s_add_i32 s3, s18, 1
	s_add_i32 s12, s19, 1
	s_mul_i32 s3, s4, s3
	s_mul_i32 s5, s16, s19
	s_lshr_b32 s6, s12, 31
	s_add_i32 s3, s3, s5
	s_add_i32 s5, s12, s6
	s_lshl_b32 s21, s4, 1
	s_and_b32 s13, s5, -2
	s_load_b256 s[4:11], s[0:1], 0x0
	s_lshr_b32 s14, s19, 31
	s_sub_i32 s12, s12, s13
	s_add_i32 s13, s19, s14
	s_mul_i32 s20, s12, s16
	s_and_b32 s22, s13, -2
	s_clause 0x1
	s_load_b128 s[12:15], s[0:1], 0x40
	s_load_b32 s23, s[0:1], 0x5c
	s_sub_i32 s0, s19, s22
	s_mul_i32 s1, s2, s17
	s_mul_i32 s0, s0, s16
	v_and_b32_e32 v1, 31, v0
	s_add_i32 s20, s21, s20
	s_add_i32 s21, s21, s0
	s_lshl_b32 s0, s1, 5
	s_mul_i32 s2, s1, s18
	s_ashr_i32 s1, s0, 31
	s_mul_i32 s17, s17, s19
	v_lshlrev_b32_e32 v1, 2, v1
	s_lshl_b64 s[0:1], s[0:1], 2
	s_add_i32 s17, s2, s17
	s_waitcnt lgkmcnt(0)
	s_add_u32 s0, s10, s0
	s_addc_u32 s1, s11, s1
	v_add_co_u32 v11, s0, s0, v1
	s_delay_alu instid0(VALU_DEP_1)
	v_add_co_ci_u32_e64 v12, null, s1, 0, s0
	s_and_b32 s10, s23, 0xffff
	s_mov_b32 s11, 0
	s_mov_b32 s18, 0x3e9b6dac
.LBB6_3:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB6_5 Depth 2
                                        ;       Child Loop BB6_15 Depth 3
	v_ashrrev_i32_e32 v1, 31, v0
	v_mov_b32_e32 v13, 0xff800000
	s_mov_b32 s19, exec_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[1:2], 3, v[0:1]
	v_add_co_u32 v1, vcc_lo, s12, v1
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v2, vcc_lo, s13, v2, vcc_lo
	global_load_b64 v[4:5], v[1:2], off
	s_waitcnt vmcnt(0)
	v_cmpx_le_i32_e64 v4, v5
	s_cbranch_execz .LBB6_20
; %bb.4:                                ; %.lr.ph
                                        ;   in Loop: Header=BB6_3 Depth=1
	v_add_nc_u32_e32 v1, s3, v0
	v_mov_b32_e32 v13, 0xff800000
	s_mov_b32 s22, 0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v2, 31, v1
	v_lshlrev_b64 v[1:2], 2, v[1:2]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v6, vcc_lo, s6, v1
	v_add_co_ci_u32_e32 v7, vcc_lo, s7, v2, vcc_lo
.LBB6_5:                                ;   Parent Loop BB6_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB6_15 Depth 3
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_4) | instid1(VALU_DEP_1)
	v_mad_i64_i32 v[1:2], null, v4, 12, s[14:15]
	s_mov_b32 s2, exec_lo
	global_load_b96 v[1:3], v[1:2], off
	s_waitcnt vmcnt(0)
	v_add_nc_u32_e32 v8, s20, v3
	v_ashrrev_i32_e32 v9, 31, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[8:9], 2, v[8:9]
	v_add_co_u32 v8, vcc_lo, s4, v8
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_3) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e32 v9, vcc_lo, s5, v9, vcc_lo
	global_load_b32 v3, v[8:9], off
	s_waitcnt vmcnt(0)
	v_dual_add_f32 v1, v3, v1 :: v_dual_add_nc_u32 v14, s17, v2
	v_ashrrev_i32_e32 v15, 31, v14
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[14:15], 2, v[14:15]
	v_add_co_u32 v8, vcc_lo, s8, v14
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_3) | instid1(VALU_DEP_1)
	v_add_co_ci_u32_e32 v9, vcc_lo, s9, v15, vcc_lo
	global_load_b32 v8, v[8:9], off
	s_waitcnt vmcnt(0)
	v_add_f32_e32 v3, v1, v8
	v_cmpx_neq_f32_e32 0xff800000, v3
	s_cbranch_execz .LBB6_9
; %bb.6:                                ;   in Loop: Header=BB6_5 Depth=2
	v_mov_b32_e32 v1, v3
	s_mov_b32 s23, exec_lo
	v_cmpx_neq_f32_e32 0xff800000, v13
	s_cbranch_execz .LBB6_8
; %bb.7:                                ;   in Loop: Header=BB6_5 Depth=2
	v_sub_f32_e32 v1, v3, v13
	v_cmp_gt_f32_e64 s1, v3, v13
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e64 v8, 0xbfb8aa3b, |v1|
	v_fma_f32 v9, 0xbfb8aa3b, |v1|, -v8
	v_rndne_f32_e32 v10, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v8, v8, v10
	v_fma_f32 v9, 0xb2a5705f, |v1|, v9
	v_cmp_nlt_f32_e64 vcc_lo, 0x42ce8ed0, |v1|
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f32_e32 v8, v8, v9
	v_cvt_i32_f32_e32 v9, v10
	v_exp_f32_e32 v8, v8
	s_waitcnt_depctr 0xfff
	v_ldexp_f32 v8, v8, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_cndmask_b32_e32 v8, 0, v8, vcc_lo
	v_cmp_ngt_f32_e64 vcc_lo, 0xc2b17218, |v1|
	v_cndmask_b32_e32 v1, 0x7f800000, v8, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v8, 1.0, v1
	v_frexp_mant_f32_e32 v9, v8
	v_frexp_exp_i32_f32_e32 v10, v8
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_gt_f32_e32 vcc_lo, 0x3f2aaaab, v9
	v_subrev_co_ci_u32_e32 v9, vcc_lo, 0, v10, vcc_lo
	v_add_f32_e32 v10, -1.0, v8
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_sub_nc_u32_e32 v14, 0, v9
	v_cvt_f32_i32_e32 v9, v9
	v_dual_sub_f32 v15, v10, v8 :: v_dual_sub_f32 v10, v1, v10
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_ldexp_f32 v8, v8, v14
	v_add_f32_e32 v15, 1.0, v15
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_add_f32_e32 v10, v10, v15
	v_cmp_eq_f32_e32 vcc_lo, 0x7f800000, v1
	v_cmp_gt_f32_e64 s0, 0x33800000, v1
	v_ldexp_f32 v10, v10, v14
	v_add_f32_e32 v16, 1.0, v8
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	s_or_b32 vcc_lo, s0, vcc_lo
	v_add_f32_e32 v15, -1.0, v16
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v15, v8, v15
	v_dual_add_f32 v15, v10, v15 :: v_dual_add_f32 v14, -1.0, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v17, 1.0, v14
	v_sub_f32_e32 v8, v8, v17
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v17, v16, v15
	v_sub_f32_e32 v16, v16, v17
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f32_e32 v15, v15, v16
	v_add_f32_e32 v8, v10, v8
	v_rcp_f32_e32 v10, v17
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v18, v14, v8
	v_sub_f32_e32 v14, v14, v18
	s_waitcnt_depctr 0xfff
	v_mul_f32_e32 v19, v18, v10
	v_add_f32_e32 v8, v8, v14
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v20, v17, v19
	v_fma_f32 v16, v19, v17, -v20
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v16, v19, v15
	v_add_f32_e32 v21, v20, v16
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v22, v18, v21
	v_sub_f32_e32 v14, v21, v20
	v_sub_f32_e32 v18, v18, v22
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v14, v14, v16
	v_sub_f32_e32 v18, v18, v21
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v8, v8, v18
	v_add_f32_e32 v8, v14, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v14, v22, v8
	v_mul_f32_e32 v16, v10, v14
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v21, v22, v14 :: v_dual_mul_f32 v18, v17, v16
	v_add_f32_e32 v8, v8, v21
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v17, v16, v17, -v18
	v_fmac_f32_e32 v17, v16, v15
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v15, v18, v17
	v_sub_f32_e32 v20, v14, v15
	v_sub_f32_e32 v18, v15, v18
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v14, v14, v20
	v_sub_f32_e32 v14, v14, v15
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v15, v18, v17 :: v_dual_add_f32 v8, v8, v14
	v_add_f32_e32 v14, v19, v16
	v_dual_add_f32 v8, v15, v8 :: v_dual_sub_f32 v15, v14, v19
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v8, v20, v8
	v_dual_sub_f32 v15, v16, v15 :: v_dual_mul_f32 v8, v10, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v8, v15, v8
	v_add_f32_e32 v10, v14, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v15, v10, v10
	v_fmaak_f32 v16, s18, v15, 0x3ecc95a3
	v_mul_f32_e32 v17, v10, v15
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fmaak_f32 v15, v15, v16, 0x3f2aaada
	v_ldexp_f32 v16, v10, 1
	v_dual_sub_f32 v10, v10, v14 :: v_dual_mul_f32 v15, v17, v15
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_mul_f32 v17, 0x3f317218, v9 :: v_dual_sub_f32 v8, v8, v10
	v_add_f32_e32 v14, v16, v15
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_ldexp_f32 v8, v8, 1
	v_sub_f32_e32 v10, v14, v16
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v16, 0x3f317218, v9, -v17
	v_sub_f32_e32 v10, v15, v10
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v16, 0xb102e308, v9
	v_dual_add_f32 v8, v8, v10 :: v_dual_add_f32 v9, v17, v16
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v10, v14, v8 :: v_dual_sub_f32 v17, v9, v17
	v_add_f32_e32 v15, v9, v10
	v_sub_f32_e32 v14, v10, v14
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v16, v16, v17
	v_sub_f32_e32 v18, v15, v9
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v8, v8, v14
	v_sub_f32_e32 v19, v15, v18
	v_sub_f32_e32 v10, v10, v18
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v14, v16, v8 :: v_dual_sub_f32 v9, v9, v19
	v_add_f32_e32 v9, v10, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v10, v14, v16
	v_add_f32_e32 v9, v14, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v14, v14, v10
	v_dual_sub_f32 v8, v8, v10 :: v_dual_add_f32 v17, v15, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v14, v16, v14
	v_sub_f32_e32 v10, v17, v15
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v8, v8, v14
	v_sub_f32_e32 v9, v9, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f32_e32 v8, v8, v9
	v_cndmask_b32_e64 v9, v13, v3, s1
	v_add_f32_e32 v8, v17, v8
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v1, v8, v1, vcc_lo
	v_add_f32_e32 v1, v9, v1
.LBB6_8:                                ; %Flow111
                                        ;   in Loop: Header=BB6_5 Depth=2
	s_or_b32 exec_lo, exec_lo, s23
	s_delay_alu instid0(VALU_DEP_1)
	v_mov_b32_e32 v13, v1
.LBB6_9:                                ; %_Z8log_plusff.exit
                                        ;   in Loop: Header=BB6_5 Depth=2
	s_or_b32 exec_lo, exec_lo, s2
	v_lshlrev_b32_e32 v1, 5, v2
	s_mov_b32 s2, exec_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_ashrrev_i32_e32 v2, 31, v1
	v_lshlrev_b64 v[1:2], 2, v[1:2]
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v1, vcc_lo, v11, v1
	v_add_co_ci_u32_e32 v2, vcc_lo, v12, v2, vcc_lo
	global_load_b32 v8, v[6:7], off
	global_load_b32 v10, v[1:2], off
	s_waitcnt vmcnt(1)
	v_add_f32_e32 v3, v3, v8
	s_delay_alu instid0(VALU_DEP_1)
	v_mov_b32_e32 v9, v3
	s_waitcnt vmcnt(0)
	v_cmpx_neq_f32_e32 0xff800000, v10
	s_cbranch_execz .LBB6_13
; %bb.10:                               ;   in Loop: Header=BB6_5 Depth=2
	v_mov_b32_e32 v9, v10
	s_mov_b32 s23, exec_lo
	v_cmpx_neq_f32_e32 0xff800000, v3
	s_cbranch_execz .LBB6_12
; %bb.11:                               ;   in Loop: Header=BB6_5 Depth=2
	v_sub_f32_e32 v8, v10, v3
	v_cmp_gt_f32_e64 s1, v10, v3
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e64 v9, 0xbfb8aa3b, |v8|
	v_fma_f32 v14, 0xbfb8aa3b, |v8|, -v9
	v_rndne_f32_e32 v15, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v14, 0xb2a5705f, |v8|, v14
	v_sub_f32_e32 v9, v9, v15
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_3)
	v_add_f32_e32 v9, v9, v14
	v_cvt_i32_f32_e32 v14, v15
	v_cmp_nlt_f32_e64 vcc_lo, 0x42ce8ed0, |v8|
	v_exp_f32_e32 v9, v9
	s_waitcnt_depctr 0xfff
	v_ldexp_f32 v9, v9, v14
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_cndmask_b32_e32 v9, 0, v9, vcc_lo
	v_cmp_ngt_f32_e64 vcc_lo, 0xc2b17218, |v8|
	v_cndmask_b32_e32 v8, 0x7f800000, v9, vcc_lo
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v9, 1.0, v8
	v_frexp_mant_f32_e32 v14, v9
	v_frexp_exp_i32_f32_e32 v15, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_gt_f32_e32 vcc_lo, 0x3f2aaaab, v14
	v_subrev_co_ci_u32_e32 v14, vcc_lo, 0, v15, vcc_lo
	v_add_f32_e32 v15, -1.0, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_sub_nc_u32_e32 v16, 0, v14
	v_cvt_f32_i32_e32 v14, v14
	v_sub_f32_e32 v17, v15, v9
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_ldexp_f32 v9, v9, v16
	v_sub_f32_e32 v15, v8, v15
	v_add_f32_e32 v17, 1.0, v17
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v18, 1.0, v9
	v_add_f32_e32 v15, v15, v17
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_3)
	v_add_f32_e32 v17, -1.0, v18
	v_cmp_eq_f32_e32 vcc_lo, 0x7f800000, v8
	v_ldexp_f32 v15, v15, v16
	v_add_f32_e32 v16, -1.0, v9
	v_cmp_gt_f32_e64 s0, 0x33800000, v8
	v_sub_f32_e32 v17, v9, v17
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f32_e32 v19, 1.0, v16
	s_or_b32 vcc_lo, s0, vcc_lo
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v17, v15, v17
	v_sub_f32_e32 v9, v9, v19
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v19, v18, v17
	v_add_f32_e32 v9, v15, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_rcp_f32_e32 v15, v19
	v_sub_f32_e32 v18, v18, v19
	v_dual_add_f32 v20, v16, v9 :: v_dual_add_f32 v17, v17, v18
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v16, v16, v20
	s_waitcnt_depctr 0xfff
	v_mul_f32_e32 v21, v20, v15
	v_dual_add_f32 v9, v9, v16 :: v_dual_mul_f32 v22, v19, v21
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v18, v21, v19, -v22
	v_fmac_f32_e32 v18, v21, v17
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v23, v22, v18
	v_sub_f32_e32 v24, v20, v23
	v_sub_f32_e32 v16, v23, v22
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v20, v20, v24
	v_sub_f32_e32 v16, v16, v18
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v20, v20, v23
	v_add_f32_e32 v9, v9, v20
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v9, v16, v9
	v_add_f32_e32 v16, v24, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v18, v15, v16
	v_dual_sub_f32 v23, v24, v16 :: v_dual_mul_f32 v20, v19, v18
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v19, v18, v19, -v20
	v_fmac_f32_e32 v19, v18, v17
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v17, v20, v19
	v_sub_f32_e32 v22, v16, v17
	v_sub_f32_e32 v20, v17, v20
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v9, v9, v23 :: v_dual_sub_f32 v16, v16, v22
	v_sub_f32_e32 v16, v16, v17
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_add_f32_e32 v9, v9, v16
	v_dual_add_f32 v16, v21, v18 :: v_dual_sub_f32 v17, v20, v19
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v9, v17, v9
	v_sub_f32_e32 v17, v16, v21
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v9, v22, v9
	v_sub_f32_e32 v17, v18, v17
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v9, v15, v9
	v_add_f32_e32 v9, v17, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v15, v16, v9
	v_mul_f32_e32 v17, v15, v15
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fmaak_f32 v18, s18, v17, 0x3ecc95a3
	v_mul_f32_e32 v19, v15, v17
	v_fmaak_f32 v17, v17, v18, 0x3f2aaada
	v_ldexp_f32 v18, v15, 1
	v_sub_f32_e32 v15, v15, v16
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f32_e32 v17, v19, v17
	v_mul_f32_e32 v19, 0x3f317218, v14
	v_dual_sub_f32 v9, v9, v15 :: v_dual_add_f32 v16, v18, v17
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_ldexp_f32 v9, v9, 1
	v_sub_f32_e32 v15, v16, v18
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v18, 0x3f317218, v14, -v19
	v_dual_sub_f32 v15, v17, v15 :: v_dual_fmac_f32 v18, 0xb102e308, v14
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v9, v9, v15 :: v_dual_add_f32 v14, v19, v18
	v_add_f32_e32 v15, v16, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v19, v14, v19
	v_dual_add_f32 v17, v14, v15 :: v_dual_sub_f32 v16, v15, v16
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v18, v18, v19
	v_sub_f32_e32 v20, v17, v14
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v9, v9, v16
	v_dual_sub_f32 v21, v17, v20 :: v_dual_add_f32 v16, v18, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v15, v15, v20 :: v_dual_sub_f32 v14, v14, v21
	v_add_f32_e32 v14, v15, v14
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v15, v16, v18
	v_add_f32_e32 v14, v16, v14
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v16, v16, v15
	v_sub_f32_e32 v9, v9, v15
	v_dual_add_f32 v19, v17, v14 :: v_dual_sub_f32 v16, v18, v16
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v15, v19, v17
	v_dual_add_f32 v9, v9, v16 :: v_dual_sub_f32 v14, v14, v15
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f32_e32 v9, v9, v14
	v_cndmask_b32_e64 v14, v3, v10, s1
	v_add_f32_e32 v9, v19, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v8, v9, v8, vcc_lo
	v_add_f32_e32 v9, v14, v8
.LBB6_12:                               ; %Flow110
                                        ;   in Loop: Header=BB6_5 Depth=2
	s_or_b32 exec_lo, exec_lo, s23
.LBB6_13:                               ; %_Z8log_plusff.exit.i
                                        ;   in Loop: Header=BB6_5 Depth=2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_or_b32 exec_lo, exec_lo, s2
	global_atomic_cmpswap_b32 v9, v[1:2], v[9:10], off glc
	s_mov_b32 s23, exec_lo
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e64 s1, v9, v10
	v_cmpx_ne_u32_e64 v9, v10
	s_cbranch_execz .LBB6_18
; %bb.14:                               ; %.lr.ph.i
                                        ;   in Loop: Header=BB6_5 Depth=2
	v_cmp_eq_f32_e32 vcc_lo, 0xff800000, v3
	s_mov_b32 s24, 0
.LBB6_15:                               ;   Parent Loop BB6_3 Depth=1
                                        ;     Parent Loop BB6_5 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	v_cmp_eq_f32_e64 s0, 0xff800000, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(SALU_CYCLE_1)
	v_cndmask_b32_e64 v8, v9, v3, s0
	s_or_b32 s0, vcc_lo, s0
	s_xor_b32 s0, s0, -1
	s_delay_alu instid0(SALU_CYCLE_1)
	s_and_saveexec_b32 s25, s0
	s_cbranch_execz .LBB6_17
; %bb.16:                               ;   in Loop: Header=BB6_15 Depth=3
	v_sub_f32_e32 v8, v9, v3
	v_cmp_lt_f32_e64 s2, v3, v9
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f32_e64 v10, 0xbfb8aa3b, |v8|
	v_cmp_nlt_f32_e64 s0, 0x42ce8ed0, |v8|
	v_fma_f32 v14, 0xbfb8aa3b, |v8|, -v10
	v_rndne_f32_e32 v15, v10
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_fma_f32 v14, 0xb2a5705f, |v8|, v14
	v_sub_f32_e32 v10, v10, v15
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f32_e32 v10, v10, v14
	v_cvt_i32_f32_e32 v14, v15
	v_exp_f32_e32 v10, v10
	s_waitcnt_depctr 0xfff
	v_ldexp_f32 v10, v10, v14
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v10, 0, v10, s0
	v_cmp_ngt_f32_e64 s0, 0xc2b17218, |v8|
	v_cndmask_b32_e64 v8, 0x7f800000, v10, s0
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f32_e32 v10, 1.0, v8
	v_cmp_gt_f32_e64 s1, 0x33800000, v8
	v_frexp_mant_f32_e32 v14, v10
	v_frexp_exp_i32_f32_e32 v15, v10
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cmp_gt_f32_e64 s0, 0x3f2aaaab, v14
	v_subrev_co_ci_u32_e64 v14, s0, 0, v15, s0
	v_add_f32_e32 v15, -1.0, v10
	v_cmp_eq_f32_e64 s0, 0x7f800000, v8
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_4)
	v_sub_nc_u32_e32 v16, 0, v14
	v_cvt_f32_i32_e32 v14, v14
	v_sub_f32_e32 v17, v15, v10
	v_sub_f32_e32 v15, v8, v15
	s_or_b32 s0, s1, s0
                                        ; implicit-def: $sgpr1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v17, 1.0, v17
	v_add_f32_e32 v15, v15, v17
	v_ldexp_f32 v10, v10, v16
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_ldexp_f32 v15, v15, v16
	v_add_f32_e32 v18, 1.0, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v17, -1.0, v18
	v_dual_sub_f32 v17, v10, v17 :: v_dual_add_f32 v16, -1.0, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v17, v15, v17
	v_add_f32_e32 v19, 1.0, v16
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v10, v10, v19
	v_dual_add_f32 v10, v15, v10 :: v_dual_add_f32 v19, v18, v17
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v20, v16, v10
	v_rcp_f32_e32 v15, v19
	v_sub_f32_e32 v18, v18, v19
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v16, v16, v20 :: v_dual_add_f32 v17, v17, v18
	s_waitcnt_depctr 0xfff
	v_dual_add_f32 v10, v10, v16 :: v_dual_mul_f32 v21, v20, v15
	v_mul_f32_e32 v22, v19, v21
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v18, v21, v19, -v22
	v_fmac_f32_e32 v18, v21, v17
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v23, v22, v18
	v_sub_f32_e32 v24, v20, v23
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v20, v20, v24
	v_sub_f32_e32 v16, v23, v22
	v_sub_f32_e32 v20, v20, v23
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v16, v16, v18
	v_add_f32_e32 v10, v10, v20
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v10, v16, v10
	v_add_f32_e32 v16, v24, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v18, v15, v16
	v_mul_f32_e32 v20, v19, v18
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v19, v18, v19, -v20
	v_fmac_f32_e32 v19, v18, v17
	v_sub_f32_e32 v23, v24, v16
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v17, v20, v19
	v_add_f32_e32 v10, v10, v23
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v22, v16, v17
	v_sub_f32_e32 v20, v17, v20
	v_sub_f32_e32 v16, v16, v22
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v16, v16, v17
	v_dual_sub_f32 v17, v20, v19 :: v_dual_add_f32 v10, v10, v16
	v_add_f32_e32 v16, v21, v18
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v10, v17, v10 :: v_dual_sub_f32 v17, v16, v21
	v_add_f32_e32 v10, v22, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v17, v18, v17 :: v_dual_mul_f32 v10, v15, v10
	v_add_f32_e32 v10, v17, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v15, v16, v10
	v_mul_f32_e32 v17, v15, v15
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fmaak_f32 v18, s18, v17, 0x3ecc95a3
	v_mul_f32_e32 v19, v15, v17
	v_fmaak_f32 v17, v17, v18, 0x3f2aaada
	v_ldexp_f32 v18, v15, 1
	v_sub_f32_e32 v15, v15, v16
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mul_f32_e32 v17, v19, v17
	v_dual_mul_f32 v19, 0x3f317218, v14 :: v_dual_sub_f32 v10, v10, v15
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v16, v18, v17
	v_ldexp_f32 v10, v10, 1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_4)
	v_sub_f32_e32 v15, v16, v18
	v_fma_f32 v18, 0x3f317218, v14, -v19
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v15, v17, v15 :: v_dual_fmac_f32 v18, 0xb102e308, v14
	v_add_f32_e32 v10, v10, v15
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v14, v19, v18
	v_add_f32_e32 v15, v16, v10
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v19, v14, v19
	v_dual_add_f32 v17, v14, v15 :: v_dual_sub_f32 v16, v15, v16
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v18, v18, v19
	v_sub_f32_e32 v20, v17, v14
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v10, v10, v16
	v_sub_f32_e32 v21, v17, v20
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_sub_f32 v15, v15, v20 :: v_dual_add_f32 v16, v18, v10
	v_sub_f32_e32 v14, v14, v21
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f32_e32 v14, v15, v14
	v_sub_f32_e32 v15, v16, v18
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v14, v16, v14
	v_sub_f32_e32 v16, v16, v15
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v10, v10, v15 :: v_dual_add_f32 v19, v17, v14
	v_dual_sub_f32 v16, v18, v16 :: v_dual_sub_f32 v15, v19, v17
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v10, v10, v16
	v_sub_f32_e32 v14, v14, v15
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_add_f32_e32 v10, v10, v14
	v_cndmask_b32_e64 v14, v3, v9, s2
	v_add_f32_e32 v10, v19, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e64 v8, v10, v8, s0
	v_add_f32_e32 v8, v14, v8
.LBB6_17:                               ; %_Z8log_plusff.exit17.i
                                        ;   in Loop: Header=BB6_15 Depth=3
	s_or_b32 exec_lo, exec_lo, s25
	global_atomic_cmpswap_b32 v8, v[1:2], v[8:9], off glc
	s_waitcnt vmcnt(0)
	v_cmp_eq_u32_e64 s0, v8, v9
	v_mov_b32_e32 v9, v8
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(SALU_CYCLE_1)
	s_or_b32 s24, s0, s24
	s_and_not1_b32 s1, s1, exec_lo
	s_and_b32 s0, s0, exec_lo
	s_or_b32 s1, s1, s0
	s_and_not1_b32 exec_lo, exec_lo, s24
	s_cbranch_execnz .LBB6_15
.LBB6_18:                               ; %Flow109
                                        ;   in Loop: Header=BB6_5 Depth=2
	s_or_b32 exec_lo, exec_lo, s23
	v_add_nc_u32_e32 v1, 1, v4
	v_cmp_ge_i32_e32 vcc_lo, v4, v5
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(SALU_CYCLE_1)
	v_mov_b32_e32 v4, v1
	s_or_b32 s22, vcc_lo, s22
	s_and_not1_b32 exec_lo, exec_lo, s22
	s_cbranch_execnz .LBB6_5
; %bb.19:                               ; %Flow112
                                        ;   in Loop: Header=BB6_3 Depth=1
	s_or_b32 exec_lo, exec_lo, s22
.LBB6_20:                               ; %Flow113
                                        ;   in Loop: Header=BB6_3 Depth=1
	s_delay_alu instid0(SALU_CYCLE_1) | instskip(SKIP_2) | instid1(VALU_DEP_2)
	s_or_b32 exec_lo, exec_lo, s19
	v_add_nc_u32_e32 v1, s21, v0
	v_add_nc_u32_e32 v0, s10, v0
	v_ashrrev_i32_e32 v2, 31, v1
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_cmp_le_i32_e32 vcc_lo, s16, v0
	v_lshlrev_b64 v[1:2], 2, v[1:2]
	s_or_b32 s11, vcc_lo, s11
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_co_u32 v1, s0, s4, v1
	v_add_co_ci_u32_e64 v2, s0, s5, v2, s0
	global_store_b32 v[1:2], v13, off
	s_and_not1_b32 exec_lo, exec_lo, s11
	s_cbranch_execnz .LBB6_3
.LBB6_21:                               ; %.loopexit
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 336
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 25
		.amdhsa_next_free_sgpr 26
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end6:
	.size	_Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition, .Lfunc_end6-_Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 3388
; NumSgprs: 28
; NumVgprs: 25
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 3
; VGPRBlocks: 3
; NumSGPRsForWavesPerEU: 28
; NumVGPRsForWavesPerEU: 25
; Occupancy: 16
; WaveLimiterHint : 1
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z9copy_gradPfS_PKfPKiiiii ; -- Begin function _Z9copy_gradPfS_PKfPKiiiii
	.globl	_Z9copy_gradPfS_PKfPKiiiii
	.p2align	8
	.type	_Z9copy_gradPfS_PKfPKiiiii,@function
_Z9copy_gradPfS_PKfPKiiiii:             ; @_Z9copy_gradPfS_PKfPKiiiii
; %bb.0:
	s_load_b256 s[4:11], s[0:1], 0x0
	s_mov_b32 s2, s15
	s_ashr_i32 s3, s15, 31
	s_delay_alu instid0(SALU_CYCLE_1)
	s_lshl_b64 s[16:17], s[2:3], 2
	s_waitcnt lgkmcnt(0)
	s_add_u32 s10, s10, s16
	s_addc_u32 s11, s11, s17
	s_load_b128 s[12:15], s[0:1], 0x24
	s_load_b32 s3, s[10:11], 0x0
	s_waitcnt lgkmcnt(0)
	s_cmp_le_i32 s3, s14
	s_cbranch_scc1 .LBB7_10
; %bb.1:
	s_mov_b32 s3, exec_lo
	v_cmpx_gt_i32_e64 s12, v0
	s_cbranch_execz .LBB7_10
; %bb.2:                                ; %.lr.ph
	s_load_b32 s10, s[0:1], 0x3c
	s_add_u32 s0, s8, s16
	s_addc_u32 s1, s9, s17
	s_mul_i32 s9, s2, s12
	s_load_b32 s8, s[0:1], 0x0
	s_mul_i32 s0, s9, s13
	s_mul_i32 s2, s14, s12
	s_ashr_i32 s1, s0, 31
	v_mov_b32_e32 v5, 0xff800000
	s_lshl_b64 s[0:1], s[0:1], 2
	v_add_lshl_u32 v2, v0, s9, 5
	s_add_u32 s6, s6, s0
	s_addc_u32 s7, s7, s1
	s_ashr_i32 s3, s2, 31
	s_mov_b32 s13, 0x3e9b6dac
	s_lshl_b64 s[0:1], s[2:3], 2
	s_delay_alu instid0(SALU_CYCLE_1)
	s_add_u32 s6, s6, s0
	s_addc_u32 s7, s7, s1
	s_waitcnt lgkmcnt(0)
	s_and_b32 s9, s10, 0xffff
	s_mov_b32 s10, 0
	s_lshl_b32 s11, s9, 5
.LBB7_3:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB7_4 Depth 2
	v_ashrrev_i32_e32 v3, 31, v2
	v_mov_b32_e32 v7, 0xff800000
	s_mov_b64 s[2:3], 0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[3:4], 2, v[2:3]
	v_add_co_u32 v1, vcc_lo, s4, v3
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v6, vcc_lo, s5, v4, vcc_lo
.LBB7_4:                                ;   Parent Loop BB7_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_co_u32 v3, vcc_lo, v1, s2
	v_add_co_ci_u32_e32 v4, vcc_lo, s3, v6, vcc_lo
	s_mov_b32 s14, exec_lo
	global_load_b32 v8, v[3:4], off
	s_waitcnt vmcnt(0)
	v_cmpx_neq_f32_e32 0xff800000, v8
	s_cbranch_execz .LBB7_8
; %bb.5:                                ;   in Loop: Header=BB7_4 Depth=2
	s_mov_b32 s15, exec_lo
	v_cmpx_neq_f32_e32 0xff800000, v7
	s_cbranch_execz .LBB7_7
; %bb.6:                                ;   in Loop: Header=BB7_4 Depth=2
	v_sub_f32_e32 v9, v8, v7
	v_cmp_gt_f32_e64 s1, v8, v7
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_mul_f32_e64 v10, 0xbfb8aa3b, |v9|
	v_cndmask_b32_e64 v7, v7, v8, s1
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_1)
	v_fma_f32 v11, 0xbfb8aa3b, |v9|, -v10
	v_rndne_f32_e32 v12, v10
	v_sub_f32_e32 v10, v10, v12
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fma_f32 v11, 0xb2a5705f, |v9|, v11
	v_cmp_nlt_f32_e64 vcc_lo, 0x42ce8ed0, |v9|
	v_add_f32_e32 v10, v10, v11
	v_cvt_i32_f32_e32 v11, v12
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_1)
	v_exp_f32_e32 v10, v10
	s_waitcnt_depctr 0xfff
	v_ldexp_f32 v10, v10, v11
	v_cndmask_b32_e32 v10, 0, v10, vcc_lo
	v_cmp_ngt_f32_e64 vcc_lo, 0xc2b17218, |v9|
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v9, 0x7f800000, v10, vcc_lo
	v_add_f32_e32 v10, 1.0, v9
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_frexp_mant_f32_e32 v11, v10
	v_frexp_exp_i32_f32_e32 v12, v10
	v_cmp_gt_f32_e32 vcc_lo, 0x3f2aaaab, v11
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_subrev_co_ci_u32_e32 v11, vcc_lo, 0, v12, vcc_lo
	v_add_f32_e32 v12, -1.0, v10
	v_sub_nc_u32_e32 v13, 0, v11
	v_cvt_f32_i32_e32 v11, v11
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v14, v12, v10
	v_ldexp_f32 v10, v10, v13
	v_sub_f32_e32 v12, v9, v12
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_f32_e32 v14, 1.0, v14
	v_add_f32_e32 v15, 1.0, v10
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v12, v12, v14
	v_add_f32_e32 v14, -1.0, v15
	v_cmp_eq_f32_e32 vcc_lo, 0x7f800000, v9
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_3) | instid1(VALU_DEP_3)
	v_ldexp_f32 v12, v12, v13
	v_add_f32_e32 v13, -1.0, v10
	v_cmp_gt_f32_e64 s0, 0x33800000, v9
	v_sub_f32_e32 v14, v10, v14
	v_add_f32_e32 v16, 1.0, v13
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	s_or_b32 vcc_lo, s0, vcc_lo
	v_add_f32_e32 v14, v12, v14
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v10, v10, v16
	v_add_f32_e32 v16, v15, v14
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v10, v12, v10
	v_rcp_f32_e32 v12, v16
	v_sub_f32_e32 v15, v15, v16
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v17, v13, v10 :: v_dual_add_f32 v14, v14, v15
	v_sub_f32_e32 v13, v13, v17
	s_waitcnt_depctr 0xfff
	v_mul_f32_e32 v18, v17, v12
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v10, v10, v13 :: v_dual_mul_f32 v19, v16, v18
	v_fma_f32 v15, v18, v16, -v19
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fmac_f32_e32 v15, v18, v14
	v_add_f32_e32 v20, v19, v15
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v21, v17, v20
	v_sub_f32_e32 v13, v20, v19
	v_sub_f32_e32 v17, v17, v21
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v13, v13, v15
	v_sub_f32_e32 v17, v17, v20
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v10, v10, v17
	v_add_f32_e32 v10, v13, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v13, v21, v10
	v_mul_f32_e32 v15, v12, v13
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v20, v21, v13 :: v_dual_mul_f32 v17, v16, v15
	v_add_f32_e32 v10, v10, v20
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v16, v15, v16, -v17
	v_fmac_f32_e32 v16, v15, v14
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v14, v17, v16
	v_sub_f32_e32 v19, v13, v14
	v_sub_f32_e32 v17, v14, v17
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v13, v13, v19
	v_sub_f32_e32 v13, v13, v14
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v14, v17, v16
	v_add_f32_e32 v10, v10, v13
	v_add_f32_e32 v13, v18, v15
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v10, v14, v10
	v_sub_f32_e32 v14, v13, v18
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_add_f32_e32 v10, v19, v10
	v_sub_f32_e32 v14, v15, v14
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v10, v12, v10
	v_add_f32_e32 v10, v14, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v12, v13, v10
	v_mul_f32_e32 v14, v12, v12
	s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_fmaak_f32 v15, s13, v14, 0x3ecc95a3
	v_mul_f32_e32 v16, v12, v14
	v_fmaak_f32 v14, v14, v15, 0x3f2aaada
	v_ldexp_f32 v15, v12, 1
	v_sub_f32_e32 v12, v12, v13
	s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_mul_f32_e32 v14, v16, v14
	v_mul_f32_e32 v16, 0x3f317218, v11
	v_dual_sub_f32 v10, v10, v12 :: v_dual_add_f32 v13, v15, v14
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_ldexp_f32 v10, v10, 1
	v_sub_f32_e32 v12, v13, v15
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_fma_f32 v15, 0x3f317218, v11, -v16
	v_dual_sub_f32 v12, v14, v12 :: v_dual_fmac_f32 v15, 0xb102e308, v11
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_add_f32 v10, v10, v12 :: v_dual_add_f32 v11, v16, v15
	v_add_f32_e32 v12, v13, v10
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v16, v11, v16
	v_dual_add_f32 v14, v11, v12 :: v_dual_sub_f32 v13, v12, v13
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v15, v15, v16
	v_sub_f32_e32 v17, v14, v11
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v10, v10, v13
	v_dual_sub_f32 v18, v14, v17 :: v_dual_add_f32 v13, v15, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_dual_sub_f32 v12, v12, v17 :: v_dual_sub_f32 v11, v11, v18
	v_add_f32_e32 v11, v12, v11
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v12, v13, v15
	v_add_f32_e32 v11, v13, v11
	s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_1) | instid1(VALU_DEP_2)
	v_sub_f32_e32 v13, v13, v12
	v_sub_f32_e32 v10, v10, v12
	v_dual_add_f32 v16, v14, v11 :: v_dual_sub_f32 v13, v15, v13
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_sub_f32_e32 v12, v16, v14
	v_dual_add_f32 v10, v10, v13 :: v_dual_sub_f32 v11, v11, v12
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v10, v10, v11
	v_add_f32_e32 v10, v16, v10
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_cndmask_b32_e32 v8, v10, v9, vcc_lo
	v_add_f32_e32 v8, v7, v8
.LBB7_7:                                ; %Flow
                                        ;   in Loop: Header=BB7_4 Depth=2
	s_or_b32 exec_lo, exec_lo, s15
	s_delay_alu instid0(VALU_DEP_1)
	v_mov_b32_e32 v7, v8
.LBB7_8:                                ; %_Z8log_plusff.exit
                                        ;   in Loop: Header=BB7_4 Depth=2
	s_or_b32 exec_lo, exec_lo, s14
	s_add_u32 s2, s2, 4
	s_addc_u32 s3, s3, 0
	s_cmpk_eq_i32 s2, 0x80
	global_store_b32 v[3:4], v5, off
	s_cbranch_scc0 .LBB7_4
; %bb.9:                                ;   in Loop: Header=BB7_3 Depth=1
	v_subrev_f32_e32 v6, s8, v7
	v_add_nc_u32_e32 v2, s11, v2
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_mul_f32_e32 v1, 0x3fb8aa3b, v6
	v_fma_f32 v3, 0x3fb8aa3b, v6, -v1
	v_rndne_f32_e32 v4, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_sub_f32_e32 v1, v1, v4
	v_fmac_f32_e32 v3, 0x32a5705f, v6
	v_cvt_i32_f32_e32 v4, v4
	v_cmp_ngt_f32_e32 vcc_lo, 0xc2ce8ed0, v6
	v_cmp_nlt_f32_e64 s0, 0x42b17218, v6
	s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_add_f32_e32 v1, v1, v3
	v_exp_f32_e32 v3, v1
	v_ashrrev_i32_e32 v1, 31, v0
	s_waitcnt_depctr 0xfff
	v_ldexp_f32 v7, v3, v4
	v_lshlrev_b64 v[3:4], 2, v[0:1]
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_2)
	v_dual_cndmask_b32 v1, 0, v7 :: v_dual_add_nc_u32 v0, s9, v0
	v_add_co_u32 v3, vcc_lo, s6, v3
	s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_3)
	v_add_co_ci_u32_e32 v4, vcc_lo, s7, v4, vcc_lo
	v_cmp_le_i32_e32 vcc_lo, s12, v0
	s_delay_alu instid0(VALU_DEP_4)
	v_cndmask_b32_e64 v1, 0x7f800000, v1, s0
	s_or_b32 s10, vcc_lo, s10
	global_store_b32 v[3:4], v1, off
	s_and_not1_b32 exec_lo, exec_lo, s10
	s_cbranch_execnz .LBB7_3
.LBB7_10:                               ; %.loopexit
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z9copy_gradPfS_PKfPKiiiii
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 304
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 22
		.amdhsa_next_free_sgpr 18
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end7:
	.size	_Z9copy_gradPfS_PKfPKiiiii, .Lfunc_end7-_Z9copy_gradPfS_PKfPKiiiii
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 1332
; NumSgprs: 20
; NumVgprs: 22
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 2
; VGPRBlocks: 2
; NumSGPRsForWavesPerEU: 20
; NumVGPRsForWavesPerEU: 22
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.protected	_Z15beta_lld_kernalPKfiPf ; -- Begin function _Z15beta_lld_kernalPKfiPf
	.globl	_Z15beta_lld_kernalPKfiPf
	.p2align	8
	.type	_Z15beta_lld_kernalPKfiPf,@function
_Z15beta_lld_kernalPKfiPf:              ; @_Z15beta_lld_kernalPKfiPf
; %bb.0:
	s_clause 0x2
	s_load_b32 s4, s[0:1], 0x8
	s_load_b64 s[2:3], s[0:1], 0x10
	s_load_b64 s[0:1], s[0:1], 0x0
	s_waitcnt lgkmcnt(0)
	v_mul_lo_u32 v1, v0, s4
	v_lshlrev_b32_e32 v0, 2, v0
	s_delay_alu instid0(VALU_DEP_2) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b32_e32 v1, 1, v1
	v_ashrrev_i32_e32 v2, 31, v1
	s_delay_alu instid0(VALU_DEP_1) | instskip(NEXT) | instid1(VALU_DEP_1)
	v_lshlrev_b64 v[1:2], 2, v[1:2]
	v_add_co_u32 v1, vcc_lo, s0, v1
	s_delay_alu instid0(VALU_DEP_2)
	v_add_co_ci_u32_e32 v2, vcc_lo, s1, v2, vcc_lo
	global_load_b32 v1, v[1:2], off
	s_waitcnt vmcnt(0)
	global_store_b32 v0, v1, s[2:3]
	s_nop 0
	s_sendmsg sendmsg(MSG_DEALLOC_VGPRS)
	s_endpgm
	.section	.rodata,"a",@progbits
	.p2align	6, 0x0
	.amdhsa_kernel _Z15beta_lld_kernalPKfiPf
		.amdhsa_group_segment_fixed_size 0
		.amdhsa_private_segment_fixed_size 0
		.amdhsa_kernarg_size 24
		.amdhsa_user_sgpr_count 15
		.amdhsa_user_sgpr_dispatch_ptr 0
		.amdhsa_user_sgpr_queue_ptr 0
		.amdhsa_user_sgpr_kernarg_segment_ptr 1
		.amdhsa_user_sgpr_dispatch_id 0
		.amdhsa_user_sgpr_private_segment_size 0
		.amdhsa_wavefront_size32 1
		.amdhsa_uses_dynamic_stack 0
		.amdhsa_enable_private_segment 0
		.amdhsa_system_sgpr_workgroup_id_x 1
		.amdhsa_system_sgpr_workgroup_id_y 0
		.amdhsa_system_sgpr_workgroup_id_z 0
		.amdhsa_system_sgpr_workgroup_info 0
		.amdhsa_system_vgpr_workitem_id 0
		.amdhsa_next_free_vgpr 3
		.amdhsa_next_free_sgpr 5
		.amdhsa_float_round_mode_32 0
		.amdhsa_float_round_mode_16_64 0
		.amdhsa_float_denorm_mode_32 3
		.amdhsa_float_denorm_mode_16_64 3
		.amdhsa_dx10_clamp 1
		.amdhsa_ieee_mode 1
		.amdhsa_fp16_overflow 0
		.amdhsa_workgroup_processor_mode 1
		.amdhsa_memory_ordered 1
		.amdhsa_forward_progress 0
		.amdhsa_shared_vgpr_count 0
		.amdhsa_exception_fp_ieee_invalid_op 0
		.amdhsa_exception_fp_denorm_src 0
		.amdhsa_exception_fp_ieee_div_zero 0
		.amdhsa_exception_fp_ieee_overflow 0
		.amdhsa_exception_fp_ieee_underflow 0
		.amdhsa_exception_fp_ieee_inexact 0
		.amdhsa_exception_int_div_zero 0
	.end_amdhsa_kernel
	.text
.Lfunc_end8:
	.size	_Z15beta_lld_kernalPKfiPf, .Lfunc_end8-_Z15beta_lld_kernalPKfiPf
                                        ; -- End function
	.section	.AMDGPU.csdata,"",@progbits
; Kernel info:
; codeLenInByte = 116
; NumSgprs: 7
; NumVgprs: 3
; ScratchSize: 0
; MemoryBound: 0
; FloatMode: 240
; IeeeMode: 1
; LDSByteSize: 0 bytes/workgroup (compile time only)
; SGPRBlocks: 0
; VGPRBlocks: 0
; NumSGPRsForWavesPerEU: 7
; NumVGPRsForWavesPerEU: 3
; Occupancy: 16
; WaveLimiterHint : 0
; COMPUTE_PGM_RSRC2:SCRATCH_EN: 0
; COMPUTE_PGM_RSRC2:USER_SGPR: 15
; COMPUTE_PGM_RSRC2:TRAP_HANDLER: 0
; COMPUTE_PGM_RSRC2:TGID_X_EN: 1
; COMPUTE_PGM_RSRC2:TGID_Y_EN: 0
; COMPUTE_PGM_RSRC2:TGID_Z_EN: 0
; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 0
	.text
	.p2alignl 7, 3214868480
	.fill 96, 4, 3214868480
	.type	__hip_cuid_,@object             ; @__hip_cuid_
	.section	.bss,"aw",@nobits
	.globl	__hip_cuid_
__hip_cuid_:
	.byte	0                               ; 0x0
	.size	__hip_cuid_, 1

	.ident	"AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa7983d864936c4)"
	.section	".note.GNU-stack","",@progbits
	.addrsig
	.addrsig_sym __hip_cuid_
	.amdgpu_metadata
---
amdhsa.kernels:
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .offset:         8
        .size:           4
        .value_kind:     by_value
      - .offset:         12
        .size:           4
        .value_kind:     by_value
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         36
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         40
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         44
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         46
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         48
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         50
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         52
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         54
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         88
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         96
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 288
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z18alpha_first_kernelPfiiiPKf
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z18alpha_first_kernelPfiiiPKf.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     4
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .offset:         20
        .size:           4
        .value_kind:     by_value
      - .offset:         24
        .size:           4
        .value_kind:     by_value
      - .address_space:  global
        .offset:         32
        .size:           8
        .value_kind:     global_buffer
      - .offset:         40
        .size:           4
        .value_kind:     by_value
      - .offset:         44
        .size:           4
        .value_kind:     by_value
      - .address_space:  global
        .offset:         48
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         56
        .size:           8
        .value_kind:     global_buffer
      - .offset:         64
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         68
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         72
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         76
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         78
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         80
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         82
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         84
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         86
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         104
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         112
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         120
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         128
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 320
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition
    .private_segment_fixed_size: 0
    .sgpr_count:     23
    .sgpr_spill_count: 0
    .symbol:         _Z12alpha_kernelPfPKfiiiPKiiiPK7IntPairPK10Transition.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     20
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .offset:         8
        .size:           4
        .value_kind:     by_value
      - .offset:         12
        .size:           4
        .value_kind:     by_value
      - .offset:         16
        .size:           4
        .value_kind:     by_value
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         32
        .size:           8
        .value_kind:     global_buffer
      - .offset:         40
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         44
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         48
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         52
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         54
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         56
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         58
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         60
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         62
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         88
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         96
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         104
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 296
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z17alpha_last_kernelPfiiiPKiPKf
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z17alpha_last_kernelPfiiiPKiPKf.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     6
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .offset:         8
        .size:           4
        .value_kind:     by_value
      - .offset:         12
        .size:           4
        .value_kind:     by_value
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         36
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         40
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         44
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         46
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         48
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         50
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         52
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         54
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         88
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         96
        .size:           2
        .value_kind:     hidden_grid_dims
      - .offset:         152
        .size:           4
        .value_kind:     hidden_dynamic_lds_size
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 288
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z16alpha_lld_kernalPKfiiPKiPf
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z16alpha_lld_kernalPKfiiPKiPf.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     17
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .offset:         8
        .size:           4
        .value_kind:     by_value
      - .offset:         12
        .size:           4
        .value_kind:     by_value
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         36
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         40
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         44
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         46
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         48
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         50
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         52
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         54
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         88
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         96
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 288
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z16beta_last_kernelPfiiPKiPKf
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z16beta_last_kernelPfiiPKiPKf.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     4
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .offset:         8
        .size:           4
        .value_kind:     by_value
      - .offset:         12
        .size:           4
        .value_kind:     by_value
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .offset:         24
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         28
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         32
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         36
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         38
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         40
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         42
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         44
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         46
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         64
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         72
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         80
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         88
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 280
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z17beta_first_kernelPfiiPKf
    .private_segment_fixed_size: 0
    .sgpr_count:     18
    .sgpr_spill_count: 0
    .symbol:         _Z17beta_first_kernelPfiiPKf.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     6
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .offset:         32
        .size:           4
        .value_kind:     by_value
      - .offset:         36
        .size:           4
        .value_kind:     by_value
      - .offset:         40
        .size:           4
        .value_kind:     by_value
      - .address_space:  global
        .offset:         48
        .size:           8
        .value_kind:     global_buffer
      - .offset:         56
        .size:           4
        .value_kind:     by_value
      - .offset:         60
        .size:           4
        .value_kind:     by_value
      - .address_space:  global
        .offset:         64
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         72
        .size:           8
        .value_kind:     global_buffer
      - .offset:         80
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         84
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         88
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         92
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         94
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         96
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         98
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         100
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         102
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         120
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         128
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         136
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         144
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 336
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition
    .private_segment_fixed_size: 0
    .sgpr_count:     28
    .sgpr_spill_count: 0
    .symbol:         _Z11beta_kernelPfPKfS1_S_iiiPKiiiPK7IntPairPK10Transition.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     25
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         8
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
      - .address_space:  global
        .offset:         24
        .size:           8
        .value_kind:     global_buffer
      - .offset:         32
        .size:           4
        .value_kind:     by_value
      - .offset:         36
        .size:           4
        .value_kind:     by_value
      - .offset:         40
        .size:           4
        .value_kind:     by_value
      - .offset:         44
        .size:           4
        .value_kind:     by_value
      - .offset:         48
        .size:           4
        .value_kind:     hidden_block_count_x
      - .offset:         52
        .size:           4
        .value_kind:     hidden_block_count_y
      - .offset:         56
        .size:           4
        .value_kind:     hidden_block_count_z
      - .offset:         60
        .size:           2
        .value_kind:     hidden_group_size_x
      - .offset:         62
        .size:           2
        .value_kind:     hidden_group_size_y
      - .offset:         64
        .size:           2
        .value_kind:     hidden_group_size_z
      - .offset:         66
        .size:           2
        .value_kind:     hidden_remainder_x
      - .offset:         68
        .size:           2
        .value_kind:     hidden_remainder_y
      - .offset:         70
        .size:           2
        .value_kind:     hidden_remainder_z
      - .offset:         88
        .size:           8
        .value_kind:     hidden_global_offset_x
      - .offset:         96
        .size:           8
        .value_kind:     hidden_global_offset_y
      - .offset:         104
        .size:           8
        .value_kind:     hidden_global_offset_z
      - .offset:         112
        .size:           2
        .value_kind:     hidden_grid_dims
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 304
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z9copy_gradPfS_PKfPKiiiii
    .private_segment_fixed_size: 0
    .sgpr_count:     20
    .sgpr_spill_count: 0
    .symbol:         _Z9copy_gradPfS_PKfPKiiiii.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     22
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
  - .args:
      - .address_space:  global
        .offset:         0
        .size:           8
        .value_kind:     global_buffer
      - .offset:         8
        .size:           4
        .value_kind:     by_value
      - .address_space:  global
        .offset:         16
        .size:           8
        .value_kind:     global_buffer
    .group_segment_fixed_size: 0
    .kernarg_segment_align: 8
    .kernarg_segment_size: 24
    .language:       OpenCL C
    .language_version:
      - 2
      - 0
    .max_flat_workgroup_size: 1024
    .name:           _Z15beta_lld_kernalPKfiPf
    .private_segment_fixed_size: 0
    .sgpr_count:     7
    .sgpr_spill_count: 0
    .symbol:         _Z15beta_lld_kernalPKfiPf.kd
    .uniform_work_group_size: 1
    .uses_dynamic_stack: false
    .vgpr_count:     3
    .vgpr_spill_count: 0
    .wavefront_size: 32
    .workgroup_processor_mode: 1
amdhsa.target:   amdgcn-amd-amdhsa--gfx1100
amdhsa.version:
  - 1
  - 2
...

	.end_amdgpu_metadata
